setup-cpp/dist/legacy/setup-cpp.js.map

1 line
2.2 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","a","s","l","u","d","Promise","TypeError","r7","code","ignoreErrors","f","options","env","process","cwd","chdir","disabled","r8","sync","command","path","ne","pathExt","iw","delimiter","resolve","h","Object","assign","Error","errno","syscall","spawnargs","args","m","oc","file","original","g","r5","rS","spawn","na","hookChildProcess","v","charCodeAt","length","slice","E","platform","keys","reverse","find","toUpperCase","w","p","rA","execPath","URL","rO","fileURLToPath","rN","push","join","y","pipe","b","writable","_write","_writableState","x","maxBuffer","nf","getBufferedLength","np","MAX_LENGTH","bufferedData","getBufferedValue","o7","on","ae","S","aI","ag","av","aR","o4","rI","ChildProcess","ad","reject","oC","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","af","o2","o5","c","kill","oW","bind","cancel","o1","ns","exitCode","signal","au","aA","aborted","failed","ao","aa","o9","D","an","spawnSync","input","status","T","getuid","call","CI","rQ","nothrow","R","a_","aE","I","A","N","map","O","SUDO_USER","iy","statSync","isDirectory","C","iE","homedir","replace","aL","_","next","throw","done","value","then","apply","L","return","label","ops","pop","trys","sent","Symbol","iterator","$","nv","pkg","nP","rX","warning","message","stack","P","Array","isArray","k","sh","sn","si","sd","az","a7","aP","se","aX","aY","aM","aH","a6","sm","a3","a2","aQ","U","stdio","F","sb","nU","nF","shouldEscapeSpace","rV","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","nk","info","exportVariable","j","setFailed","M","sx","some","test","PATH","split","includes","addPath","q","B","appendFileSync","sS","sD","nM","pathExists","readFileSync","G","Set","writeFileSync","H","z","name","version","DEBIAN_FRONTEND","sR","Y","sN","K","flatMap","repositories","X","sI","binDir","V","nj","default","trim","Q","W","J","Z","toString","sT","ee","startsWith","et","nB","dirname","tmpdir","nG","mkdirP","NONINTERACTIVE","er","en","sA","arch","ei","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","eo","sO","TMP","TEMP","Path","extendEnv","ea","es","el","eu","ec","ep","ed","sC","s_","ef","matchAll","sL","eh","sF","sM","ey","sk","existsSync","readdirSync","eE","em","eb","sH","sP","eg","sq","clean","s$","debug","rmRF","ev","valid","ew","sort","gt","satisfies","RUNNER_TOOL_CACHE","ry","ok","RUNNER_TEMP","ex","rj","eS","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","sK","current","catch","RegExp","Math","pow","eD","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nH","installDir","n5","downloadTool","sW","cacheDir","eT","eR","eN","eI","eA","eO","eC","n4","n2","addExeExt","extractTar","e_","eL","n8","e$","eP","ek","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","n6","n9","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","eU","iS","request","method","statusCode","end","eF","from","filter","it","localeCompare","eM","ie","has","JSON","stringify","ej","sQ","nQ","getExecOutput","console","eq","eB","eG","eX","bin","eW","eH","eV","e7","e9","upgrade","usePipx","to","isLibrary","eY","setupActionsPython","rG","ez","eK","sZ","python","eQ","eZ","eJ","pip","e0","e1","e3","e2","s0","parseInt","sJ","e4","execFile","encoding","shell","e5","e6","ii","getUbuntuVersion","e8","lc","user","tn","PIPX_HOME","ll","PIPX_BIN_DIR","lu","s1","ti","te","ls","tt","tr","s3","findIndex","ta","ts","tl","tu","tc","io","locator","errorHandler","fatalError","parseFromString","childNodes","documentElement","declaration","doctype","tp","nodeValue","tagName","td","tf","th","lh","lf","tm","Number","isInteger","tg","tv","tE","rF","pipeline","rU","Writable","write","Buffer","concat","tw","lO","iP","lI","lA","chmod","close","ty","iX","tb","lC","utimes","tx","iF","tS","iG","tD","iR","tT","ik","tR","i_","tN","tI","ignoreUnreadableDirectories","tA","lF","read","extract","tO","tC","t_","ld","notice","tL","t$","lM","releaseName","fileSuffix","tP","tU","tF","tk","il","tM","iu","tj","tq","tB","tG","tH","tV","ic","tX","tz","lH","tY","execSync","entries","lG","lq","lB","lj","tK","ih","tW","lW","startGroup","milliseconds","fallback","customTimers","sign","lK","addEventListener","POSITIVE_INFINITY","lX","finally","clear","tQ","endGroup","ue","rd","tJ","tZ","lZ","lQ","NODE_DEBUG","t0","lJ","rM","t1","t3","t2","l1","t4","l3","l2","get","l0","l4","l5","t5","t6","l6","rt","t8","t9","l9","rr","im","All","ir","l8","t7","re","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","ig","rn","ri","ip","id","ro","iv","ra","rs","rl","ru","rc","rp","l7","addShExt","addShRelativePrefix","rf","compiler","rh","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","splice","substring","indexOf","repeat","shift","ur","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","rK","create","autoloadLocales","addLocale","rW","rz","rY","forEach","cppcheck","gcovr","ut","isCI","now","parseFloat","format","success","rm","rg","rv","r0","r1","r3","r2","nt","nr","nu","nd","nh","ng","nw","ny","nb","nx","nS","nD","nT","nR","nN","nI","nA","nO","nC","n_","nL","n$","n7","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","ib","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","ix","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","rE","connect","localAddress","defaultPort","rb","inherits","rw","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","COERCE","COERCEFULL","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTLFULL","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","rx","configurable","basename","extname","normalize","relative","IS_WINDOWS","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","rD","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","rT","HandleTimeout","rH","cdata","lineNumber","columnNumber","systemId","java","currentElement","appendChild","doc","NAMESPACE","ParseError","XMLReader","domBuilder","xmlns","HTML_ENTITIES","XML_ENTITIES","setDocumentLocator","Function","HTML","xml","XML","normalizeLineEndings","startDocument","createDocument","documentURI","startElement","createElementNS","getURI","getValue","getQName","createAttributeNS","getLocator","setAttributeNode","endElement","parentNode","startPrefixMapping","endPrefixMapping","processingInstruction","createProcessingInstruction","ignorableWhitespace","characters","createCDATASection","createTextNode","skippedEntity","endDocument","comment","createComment","startCDATA","endCDATA","startDTD","implementation","createDocumentType","warn","isHTML","XML_APPLICATION","XML_TEXT","XML_XHTML_APPLICATION","XML_SVG_IMAGE","SVG","XMLNS","captureStackTrace","_node","_refresh","_inc","ownerDocument","$$length","ownerElement","namespaceURI","_nsMap","prefix","localName","firstChild","nextSibling","previousSibling","lastChild","nodeType","DOCUMENT_TYPE_NODE","ELEMENT_NODE","TEXT_NODE","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","COMMENT_NODE","PROCESSING_INSTRUCTION_NODE","removeChild","lookupPrefix","namespace","attributes","item","nodeName","publicId","internalSubset","target","ATTRIBUTE_NODE","CDATA_SECTION_NODE","ENTITY_REFERENCE_NODE","ENTITY_NODE","NOTATION_NODE","INDEX_SIZE_ERR","DOMSTRING_SIZE_ERR","HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR","NO_DATA_ALLOWED_ERR","NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR","getNamedItem","setNamedItem","_ownerElement","setNamedItemNS","getNamedItemNS","removeNamedItem","removeNamedItemNS","hasFeature","insertBefore","replaceChild","hasChildNodes","cloneNode","appendData","isSupported","hasAttributes","lookupNamespaceURI","isDefaultNamespace","importNode","getElementById","getAttribute","getElementsByClassName","createElement","createDocumentFragment","createAttribute","specified","createEntityReference","hasAttribute","getAttributeNode","setAttribute","removeAttribute","removeAttributeNode","setAttributeNodeNS","removeAttributeNS","getAttributeNodeNS","hasAttributeNS","getAttributeNS","setAttributeNS","getElementsByTagName","getElementsByTagNameNS","substringData","insertData","replaceData","deleteData","splitText","serializeToString","apos","quot","Aacute","aacute","Abreve","abreve","ac","acd","acE","Acirc","acirc","acute","Acy","acy","AElig","aelig","Afr","afr","Agrave","agrave","alefsym","aleph","Alpha","alpha","Amacr","amacr","amalg","AMP","amp","And","and","andand","andd","andslope","andv","ang","ange","angle","angmsd","angmsdaa","angmsdab","angmsdac","angmsdad","angmsdae","angmsdaf","angmsdag","angmsdah","angrt","angrtvb","angrtvbd","angsph","angst","angzarr","Aogon","aogon","Aopf","aopf","ap","apacir","apE","ape","apid","ApplyFunction","approx","approxeq","Aring","aring","Ascr","ascr","Assign","ast","asymp","asympeq","Atilde","atilde","Auml","auml","awconint","awint","backcong","backepsilon","backprime","backsim","backsimeq","Backslash","Barv","barvee","Barwed","barwed","barwedge","bbrk","bbrktbrk","bcong","Bcy","bcy","bdquo","becaus","Because","because","bemptyv","bepsi","bernou","Bernoullis","Beta","beta","beth","between","Bfr","bfr","bigcap","bigcirc","bigcup","bigodot","bigoplus","bigotimes","bigsqcup","bigstar","bigtriangledown","bigtriangleup","biguplus","bigvee","bigwedge","bkarow","blacklozenge","blacksquare","blacktriangle","blacktriangledown","blacktriangleleft","blacktriangleright","blank","blk12","blk14","blk34","block","bne","bnequiv","bNot","bnot","Bopf","bopf","bot","bottom","bowtie","boxbox","boxDL","boxDl","boxdL","boxdl","boxDR","boxDr","boxdR","boxdr","boxH","boxh","boxHD","boxHd","boxhD","boxhd","boxHU","boxHu","boxhU","boxhu","boxminus","boxplus","boxtimes","boxUL","boxUl","boxuL","boxul","boxUR","boxUr","boxuR","boxur","boxV","boxv","boxVH","boxVh","boxvH","boxvh","boxVL","boxVl","boxvL","boxvl","boxVR","boxVr","boxvR","boxvr","bprime","Breve","breve","brvbar","Bscr","bscr","bsemi","bsim","bsime","bsol","bsolb","bsolhsub","bull","bullet","bump","bumpE","bumpe","Bumpeq","bumpeq","Cacute","cacute","Cap","cap","capand","capbrcup","capcap","capcup","capdot","CapitalDifferentialD","caps","caret","caron","Cayleys","ccaps","Ccaron","ccaron","Ccedil","ccedil","Ccirc","ccirc","Cconint","ccups","ccupssm","Cdot","cdot","cedil","Cedilla","cemptyv","cent","CenterDot","centerdot","Cfr","cfr","CHcy","chcy","check","checkmark","Chi","chi","cir","circ","circeq","circlearrowleft","circlearrowright","circledast","circledcirc","circleddash","CircleDot","circledR","circledS","CircleMinus","CirclePlus","CircleTimes","cirE","cire","cirfnint","cirmid","cirscir","ClockwiseContourIntegral","CloseCurlyDoubleQuote","CloseCurlyQuote","clubs","clubsuit","Colon","colon","Colone","colone","coloneq","comma","commat","comp","compfn","complement","complexes","cong","congdot","Congruent","Conint","conint","ContourIntegral","Copf","copf","coprod","Coproduct","COPY","copy","copysr","CounterClockwiseContourIntegral","crarr","Cross","cross","Cscr","cscr","csub","csube","csup","csupe","ctdot","cudarrl","cudarrr","cuepr","cuesc","cularr","cularrp","Cup","cup","cupbrcap","CupCap","cupcap","cupcup","cupdot","cupor","cups","curarr","curarrm","curlyeqprec","curlyeqsucc","curlyvee","curlywedge","curren","curvearrowleft","curvearrowright","cuvee","cuwed","cwconint","cwint","cylcty","Dagger","dagger","daleth","Darr","dArr","darr","dash","Dashv","dashv","dbkarow","dblac","Dcaron","dcaron","Dcy","dcy","DD","dd","ddagger","ddarr","DDotrahd","ddotseq","deg","Del","Delta","delta","demptyv","dfisht","Dfr","dfr","dHar","dharl","dharr","DiacriticalAcute","DiacriticalDot","DiacriticalDoubleAcute","DiacriticalGrave","DiacriticalTilde","diam","Diamond","diamond","diamondsuit","diams","die","DifferentialD","digamma","disin","div","divide","divideontimes","divonx","DJcy","djcy","dlcorn","dlcrop","dollar","Dopf","dopf","Dot","dot","DotDot","doteq","doteqdot","DotEqual","dotminus","dotplus","dotsquare","doublebarwedge","DoubleContourIntegral","DoubleDot","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DownArrow","Downarrow","downarrow","DownArrowBar","DownArrowUpArrow","DownBreve","downdownarrows","downharpoonleft","downharpoonright","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","DownTee","DownTeeArrow","drbkarow","drcorn","drcrop","Dscr","dscr","DScy","dscy","dsol","Dstrok","dstrok","dtdot","dtri","dtrif","duarr","duhar","dwangle","DZcy","dzcy","dzigrarr","Eacute","eacute","easter","Ecaron","ecaron","ecir","Ecirc","ecirc","ecolon","Ecy","ecy","eDDot","Edot","eDot","edot","efDot","Efr","efr","Egrave","egrave","egs","egsdot","Element","elinters","ell","els","elsdot","Emacr","emacr","empty","emptyset","EmptySmallSquare","emptyv","EmptyVerySmallSquare","emsp","emsp13","emsp14","ENG","eng","ensp","Eogon","eogon","Eopf","eopf","epar","eparsl","eplus","epsi","Epsilon","epsilon","epsiv","eqcirc","eqcolon","eqsim","eqslantgtr","eqslantless","Equal","equals","EqualTilde","equest","Equilibrium","equiv","equivDD","eqvparsl","erarr","erDot","Escr","escr","esdot","Esim","esim","Eta","eta","ETH","eth","Euml","euml","euro","excl","exist","Exists","expectation","ExponentialE","exponentiale","fallingdotseq","Fcy","fcy","female","ffilig","fflig","ffllig","Ffr","ffr","filig","FilledSmallSquare","FilledVerySmallSquare","fjlig","flat","fllig","fltns","fnof","Fopf","fopf","ForAll","forall","fork","forkv","Fouriertrf","fpartint","frac12","frac13","frac14","frac15","frac16","frac18","frac23","frac25","frac34","frac35","frac38","frac45","frac56","frac58","frac78","frasl","frown","Fscr","fscr","gacute","Gamma","gamma","Gammad","gammad","gap","Gbreve","gbreve","Gcedil","Gcirc","gcirc","Gcy","gcy","Gdot","gdot","gE","ge","gEl","gel","geq","geqq","geqslant","ges","gescc","gesdot","gesdoto","gesdotol","gesl","gesles","Gfr","gfr","Gg","gg","ggg","gimel","GJcy","gjcy","gl","gla","glE","glj","gnap","gnapprox","gnE","gne","gneq","gneqq","gnsim","Gopf","gopf","grave","GreaterEqual","GreaterEqualLess","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterTilde","Gscr","gscr","gsim","gsime","gsiml","Gt","GT","gtcc","gtcir","gtdot","gtlPar","gtquest","gtrapprox","gtrarr","gtrdot","gtreqless","gtreqqless","gtrless","gtrsim","gvertneqq","gvnE","Hacek","hairsp","half","hamilt","HARDcy","hardcy","hArr","harr","harrcir","harrw","Hat","hbar","Hcirc","hcirc","hearts","heartsuit","hellip","hercon","Hfr","hfr","HilbertSpace","hksearow","hkswarow","hoarr","homtht","hookleftarrow","hookrightarrow","Hopf","hopf","horbar","HorizontalLine","Hscr","hscr","hslash","Hstrok","hstrok","HumpDownHump","HumpEqual","hybull","hyphen","Iacute","iacute","Icirc","icirc","Icy","icy","Idot","IEcy","iecy","iexcl","iff","Ifr","ifr","Igrave","igrave","iiiint","iiint","iinfin","iiota","IJlig","ijlig","Im","Imacr","imacr","image","ImaginaryI","imagline","imagpart","imath","imof","imped","Implies","in","incare","infin","infintie","inodot","Int","int","intcal","integers","Integral","intercal","Intersection","intlarhk","intprod","InvisibleComma","InvisibleTimes","IOcy","iocy","Iogon","iogon","Iopf","iopf","Iota","iota","iprod","iquest","Iscr","iscr","isin","isindot","isinE","isins","isinsv","isinv","Itilde","itilde","Iukcy","iukcy","Iuml","iuml","Jcirc","jcirc","Jcy","jcy","Jfr","jfr","jmath","Jopf","jopf","Jscr","jscr","Jsercy","jsercy","Jukcy","jukcy","Kappa","kappa","kappav","Kcedil","kcedil","Kcy","kcy","Kfr","kfr","kgreen","KHcy","khcy","KJcy","kjcy","Kopf","kopf","Kscr","kscr","lAarr","Lacute","lacute","laemptyv","lagran","Lambda","lambda","Lang","langd","langle","lap","Laplacetrf","laquo","Larr","lArr","larr","larrb","larrbfs","larrfs","larrhk","larrlp","larrpl","larrsim","larrtl","lat","lAtail","latail","late","lates","lBarr","lbarr","lbbrk","lbrace","lbrack","lbrke","lbrksld","lbrkslu","Lcaron","lcaron","Lcedil","lcedil","lceil","lcub","Lcy","lcy","ldca","ldquo","ldquor","ldrdhar","ldrushar","ldsh","lE","le","LeftAngleBracket","LeftArrow","Leftarrow","leftarrow","LeftArrowBar","LeftArrowRightArrow","leftarrowtail","LeftCeiling","LeftDoubleBracket","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftFloor","leftharpoondown","leftharpoonup","leftleftarrows","LeftRightArrow","Leftrightarrow","leftrightarrow","leftrightarrows","leftrightharpoons","leftrightsquigarrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","leftthreetimes","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","lEg","leg","leq","leqq","leqslant","les","lescc","lesdot","lesdoto","lesdotor","lesg","lesges","lessapprox","lessdot","lesseqgtr","lesseqqgtr","LessEqualGreater","LessFullEqual","LessGreater","lessgtr","LessLess","lesssim","LessSlantEqual","LessTilde","lfisht","lfloor","Lfr","lfr","lg","lgE","lHar","lhard","lharu","lharul","lhblk","LJcy","ljcy","Ll","llarr","llcorner","Lleftarrow","llhard","lltri","Lmidot","lmidot","lmoust","lmoustache","lnap","lnapprox","lnE","lne","lneq","lneqq","lnsim","loang","loarr","lobrk","LongLeftArrow","Longleftarrow","longleftarrow","LongLeftRightArrow","Longleftrightarrow","longleftrightarrow","longmapsto","LongRightArrow","Longrightarrow","longrightarrow","looparrowleft","looparrowright","lopar","Lopf","lopf","loplus","lotimes","lowast","lowbar","LowerLeftArrow","LowerRightArrow","loz","lozenge","lozf","lpar","lparlt","lrarr","lrcorner","lrhar","lrhard","lrm","lrtri","lsaquo","Lscr","lscr","Lsh","lsh","lsim","lsime","lsimg","lsqb","lsquo","lsquor","Lstrok","lstrok","Lt","LT","ltcc","ltcir","ltdot","lthree","ltimes","ltlarr","ltquest","ltri","ltrie","ltrif","ltrPar","lurdshar","luruhar","lvertneqq","lvnE","macr","male","malt","maltese","mapsto","mapstodown","mapstoleft","mapstoup","marker","mcomma","Mcy","mcy","mdash","mDDot","measuredangle","MediumSpace","Mellintrf","Mfr","mfr","mho","micro","mid","midast","midcir","middot","minus","minusb","minusd","minusdu","MinusPlus","mlcp","mldr","mnplus","models","Mopf","mopf","mp","Mscr","mscr","mstpos","Mu","mu","multimap","mumap","nabla","Nacute","nacute","nang","nap","napE","napid","napos","napprox","natur","natural","naturals","nbsp","nbump","nbumpe","ncap","Ncaron","ncaron","Ncedil","ncedil","ncong","ncongdot","ncup","Ncy","ncy","ndash","nearhk","neArr","nearr","nearrow","nedot","NegativeMediumSpace","NegativeThickSpace","NegativeThinSpace","NegativeVeryThinSpace","nequiv","nesear","nesim","NestedGreaterGreater","NestedLessLess","NewLine","nexist","nexists","Nfr","nfr","ngE","nge","ngeq","ngeqq","ngeqslant","nges","nGg","ngsim","nGt","ngt","ngtr","nGtv","nhArr","nharr","nhpar","ni","nis","nisd","niv","NJcy","njcy","nlArr","nlarr","nldr","nlE","nle","nLeftarrow","nleftarrow","nLeftrightarrow","nleftrightarrow","nleq","nleqq","nleqslant","nles","nless","nLl","nlsim","nLt","nlt","nltri","nltrie","nLtv","nmid","NoBreak","NonBreakingSpace","Nopf","nopf","Not","not","NotCongruent","NotCupCap","NotDoubleVerticalBar","NotElement","NotEqual","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","NotHumpDownHump","NotHumpEqual","notin","notindot","notinE","notinva","notinvb","notinvc","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","notni","notniva","notnivb","notnivc","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","npar","nparallel","nparsl","npart","npolint","npr","nprcue","npre","nprec","npreceq","nrArr","nrarr","nrarrc","nrarrw","nRightarrow","nrightarrow","nrtri","nrtrie","nsc","nsccue","nsce","Nscr","nscr","nshortmid","nshortparallel","nsim","nsime","nsimeq","nsmid","nspar","nsqsube","nsqsupe","nsub","nsubE","nsube","nsubset","nsubseteq","nsubseteqq","nsucc","nsucceq","nsup","nsupE","nsupe","nsupset","nsupseteq","nsupseteqq","ntgl","Ntilde","ntilde","ntlg","ntriangleleft","ntrianglelefteq","ntriangleright","ntrianglerighteq","Nu","num","numero","numsp","nvap","nVDash","nVdash","nvDash","nvdash","nvge","nvgt","nvHarr","nvinfin","nvlArr","nvle","nvlt","nvltrie","nvrArr","nvrtrie","nvsim","nwarhk","nwArr","nwarr","nwarrow","nwnear","Oacute","oacute","oast","ocir","Ocirc","ocirc","Ocy","ocy","odash","Odblac","odblac","odiv","odot","odsold","OElig","oelig","ofcir","Ofr","ofr","ogon","Ograve","ograve","ogt","ohbar","ohm","oint","olarr","olcir","olcross","oline","olt","Omacr","omacr","Omega","omega","Omicron","omicron","omid","ominus","Oopf","oopf","opar","OpenCurlyDoubleQuote","OpenCurlyQuote","operp","oplus","Or","or","orarr","ord","order","orderof","ordf","ordm","origof","oror","orslope","orv","oS","Oscr","oscr","Oslash","oslash","osol","Otilde","otilde","Otimes","otimes","otimesas","Ouml","ouml","ovbar","OverBar","OverBrace","OverBracket","OverParenthesis","par","para","parallel","parsim","parsl","part","PartialD","Pcy","pcy","percnt","period","permil","perp","pertenk","Pfr","pfr","Phi","phi","phiv","phmmat","phone","Pi","pi","pitchfork","piv","planck","planckh","plankv","plus","plusacir","plusb","pluscir","plusdo","plusdu","pluse","PlusMinus","plusmn","plussim","plustwo","pm","Poincareplane","pointint","Popf","popf","pound","Pr","prap","prcue","prE","pre","prec","precapprox","preccurlyeq","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","preceq","precnapprox","precneqq","precnsim","precsim","Prime","prime","primes","prnap","prnE","prnsim","prod","Product","profalar","profline","profsurf","prop","Proportion","Proportional","propto","prsim","prurel","Pscr","pscr","Psi","psi","puncsp","Qfr","qfr","qint","Qopf","qopf","qprime","Qscr","qscr","quaternions","quatint","quest","questeq","QUOT","rAarr","race","Racute","racute","radic","raemptyv","Rang","rang","rangd","rangle","raquo","Rarr","rArr","rarr","rarrap","rarrb","rarrbfs","rarrc","rarrfs","rarrhk","rarrlp","rarrpl","rarrsim","Rarrtl","rarrtl","rarrw","rAtail","ratail","ratio","rationals","RBarr","rBarr","rbarr","rbbrk","rbrace","rbrack","rbrke","rbrksld","rbrkslu","Rcaron","rcaron","Rcedil","rcedil","rceil","rcub","Rcy","rcy","rdca","rdldhar","rdquo","rdquor","rdsh","Re","real","realine","realpart","reals","rect","REG","reg","ReverseElement","ReverseEquilibrium","ReverseUpEquilibrium","rfisht","rfloor","Rfr","rfr","rHar","rhard","rharu","rharul","Rho","rho","rhov","RightAngleBracket","RightArrow","Rightarrow","rightarrow","RightArrowBar","RightArrowLeftArrow","rightarrowtail","RightCeiling","RightDoubleBracket","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightFloor","rightharpoondown","rightharpoonup","rightleftarrows","rightleftharpoons","rightrightarrows","rightsquigarrow","RightTee","RightTeeArrow","RightTeeVector","rightthreetimes","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","ring","risingdotseq","rlarr","rlhar","rlm","rmoust","rmoustache","rnmid","roang","roarr","robrk","ropar","Ropf","ropf","roplus","rotimes","RoundImplies","rpar","rpargt","rppolint","rrarr","Rrightarrow","rsaquo","Rscr","rscr","Rsh","rsh","rsqb","rsquo","rsquor","rthree","rtimes","rtri","rtrie","rtrif","rtriltri","RuleDelayed","ruluhar","Sacute","sacute","sbquo","Sc","sc","scap","Scaron","scaron","sccue","scE","sce","Scedil","scedil","Scirc","scirc","scnap","scnE","scnsim","scpolint","scsim","Scy","scy","sdot","sdotb","sdote","searhk","seArr","searr","searrow","sect","semi","seswar","setminus","setmn","sext","Sfr","sfr","sfrown","sharp","SHCHcy","shchcy","SHcy","shcy","ShortDownArrow","ShortLeftArrow","shortmid","shortparallel","ShortRightArrow","ShortUpArrow","shy","Sigma","sigma","sigmaf","sigmav","sim","simdot","sime","simeq","simg","simgE","siml","simlE","simne","simplus","simrarr","slarr","SmallCircle","smallsetminus","smashp","smeparsl","smid","smile","smt","smte","smtes","SOFTcy","softcy","sol","solb","solbar","Sopf","sopf","spades","spadesuit","spar","sqcap","sqcaps","sqcup","sqcups","Sqrt","sqsub","sqsube","sqsubset","sqsubseteq","sqsup","sqsupe","sqsupset","sqsupseteq","squ","Square","square","SquareIntersection","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","squarf","squf","srarr","Sscr","sscr","ssetmn","ssmile","sstarf","Star","star","starf","straightepsilon","straightphi","strns","Sub","sub","subdot","subE","sube","subedot","submult","subnE","subne","subplus","subrarr","Subset","subseteq","subseteqq","SubsetEqual","subsetneq","subsetneqq","subsim","subsub","subsup","succ","succapprox","succcurlyeq","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","succeq","succnapprox","succneqq","succnsim","succsim","SuchThat","Sum","sum","sung","Sup","sup","sup1","sup2","sup3","supdot","supdsub","supE","supe","supedot","Superset","SupersetEqual","suphsol","suphsub","suplarr","supmult","supnE","supne","supplus","Supset","supset","supseteq","supseteqq","supsetneq","supsetneqq","supsim","supsub","supsup","swarhk","swArr","swarr","swarrow","swnwar","szlig","Tab","Tau","tau","tbrk","Tcaron","tcaron","Tcedil","tcedil","Tcy","tcy","tdot","telrec","Tfr","tfr","there4","Therefore","therefore","Theta","theta","thetasym","thetav","thickapprox","thicksim","ThickSpace","thinsp","ThinSpace","thkap","thksim","THORN","thorn","Tilde","tilde","TildeEqual","TildeFullEqual","TildeTilde","times","timesb","timesbar","timesd","tint","toea","top","topbot","topcir","Topf","topf","topfork","tosa","tprime","TRADE","trade","triangle","triangledown","triangleleft","trianglelefteq","triangleq","triangleright","trianglerighteq","tridot","trie","triminus","TripleDot","triplus","trisb","tritime","trpezium","Tscr","tscr","TScy","tscy","TSHcy","tshcy","Tstrok","tstrok","twixt","twoheadleftarrow","twoheadrightarrow","Uacute","uacute","Uarr","uArr","uarr","Uarrocir","Ubrcy","ubrcy","Ubreve","ubreve","Ucirc","ucirc","Ucy","ucy","udarr","Udblac","udblac","udhar","ufisht","Ufr","ufr","Ugrave","ugrave","uHar","uharl","uharr","uhblk","ulcorn","ulcorner","ulcrop","ultri","Umacr","umacr","uml","UnderBar","UnderBrace","UnderBracket","UnderParenthesis","Union","UnionPlus","Uogon","uogon","Uopf","uopf","UpArrow","Uparrow","uparrow","UpArrowBar","UpArrowDownArrow","UpDownArrow","Updownarrow","updownarrow","UpEquilibrium","upharpoonleft","upharpoonright","uplus","UpperLeftArrow","UpperRightArrow","Upsi","upsi","upsih","Upsilon","upsilon","UpTee","UpTeeArrow","upuparrows","urcorn","urcorner","urcrop","Uring","uring","urtri","Uscr","uscr","utdot","Utilde","utilde","utri","utrif","uuarr","Uuml","uuml","uwangle","vangrt","varepsilon","varkappa","varnothing","varphi","varpi","varpropto","vArr","varr","varrho","varsigma","varsubsetneq","varsubsetneqq","varsupsetneq","varsupsetneqq","vartheta","vartriangleleft","vartriangleright","Vbar","vBar","vBarv","Vcy","vcy","VDash","Vdash","vDash","vdash","Vdashl","Vee","vee","veebar","veeeq","vellip","Verbar","verbar","Vert","vert","VerticalBar","VerticalLine","VerticalSeparator","VerticalTilde","VeryThinSpace","Vfr","vfr","vltri","vnsub","vnsup","Vopf","vopf","vprop","vrtri","Vscr","vscr","vsubnE","vsubne","vsupnE","vsupne","Vvdash","vzigzag","Wcirc","wcirc","wedbar","Wedge","wedge","wedgeq","weierp","Wfr","wfr","Wopf","wopf","wp","wr","wreath","Wscr","wscr","xcap","xcirc","xcup","xdtri","Xfr","xfr","xhArr","xharr","Xi","xi","xlArr","xlarr","xmap","xnis","xodot","Xopf","xopf","xoplus","xotime","xrArr","xrarr","Xscr","xscr","xsqcup","xuplus","xutri","xvee","xwedge","Yacute","yacute","YAcy","yacy","Ycirc","ycirc","Ycy","ycy","yen","Yfr","yfr","YIcy","yicy","Yopf","yopf","Yscr","yscr","YUcy","yucy","Yuml","yuml","Zacute","zacute","Zcaron","zcaron","Zcy","zcy","Zdot","zdot","zeetrf","ZeroWidthSpace","Zeta","zeta","Zfr","zfr","ZHcy","zhcy","zigrarr","Zopf","zopf","Zscr","zscr","zwj","zwnj","qName","uri","closed","currentNSMap","localNSMap","attributeNames","source","fromCharCode","endDTD","addValue","setTagName","lastIndexOf","offset","getLocalName","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rJ","iD","iT","chown","iN","iI","lchmod","iA","lchown","iO","link","iC","iL","mkdtemp","i$","readFile","iU","realpath","iM","ij","iq","iB","truncate","iH","iV","iz","iY","iK","iQ","iW","iJ","groups","getgroups","rZ","i3","i0","i1","i2","_ISEXE_TEST_PLATFORM_","i4","isexe","i5","posix","i6","i8","i9","i7","oe","pathEnv","pathExtExe","ot","r4","r6","OSTYPE","oi","r9","TESTING_WINDOWS","oo","oa","os","ol","nn","no","openSync","readSync","closeSync","ou","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","op","getOwnPropertyDescriptor","od","of","getPrototypeOf","oh","om","og","ov","oE","WeakMap","ow","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","oy","ox","ob","number","action","description","standard","oD","forced","oT","oR","signals","rC","supported","oN","oI","oA","oO","errorCode","signalDescription","Boolean","originalMessage","shortMessage","o_","oL","o$","oP","reallyExit","pid","oU","oF","oM","oj","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oq","oH","oG","oY","oX","nl","equal","oV","alwaysLast","unload","oB","oK","oz","oQ","oJ","o0","unref","forceKillAfterTimeout","oZ","SIGTERM","isFinite","o3","killSignal","cleanup","detached","o6","o8","createWriteStream","pipeStdout","pipeStderr","pipeAll","r_","promisify","rL","PassThrough","array","objectMode","setEncoding","nc","buffer","MaxBufferError","nm","readable","isEmpty","at","ar","inputFile","ai","createReadStream","as","al","ah","am","aw","rR","isBuffer","ay","ab","templates","expressions","template","ax","aS","r$","debuglog","enabled","aD","padStart","aT","getHours","getMinutes","getSeconds","getMilliseconds","verbose","aN","preferLocal","localDir","stripFinalNewline","windowsHide","aO","aC","rP","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nE","padEnd","isTTY","shouldNotifyInNpmScript","a$","ak","aU","aF","aj","aq","aG","aB","aV","aK","aW","aJ","aZ","a0","a1","a4","a5","a8","a9","st","sr","so","sa","ss","sl","su","sp","sf","sg","sv","sE","sw","release","sy","nq","nY","sU","sj","sB","sG","nW","sV","n1","nJ","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","sX","httpStatusCode","new","HTTPError","sz","sY","nK","authorization","statusMessage","extract7z","nV","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rk","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","s2","fs","mkdirAsync","statAsync","s4","s5","s6","s8","s9","s7","__TESTING_MKDIRP_PLATFORM__","root","lr","__TESTING_MKDIRP_NODE_VERSION__","ln","li","lo","la","mkdirpSync","mkdirpNative","mkdirpNativeSync","mkdirpManual","mkdirpManualSync","native","nativeSync","manual","manualSync","useNative","useNativeSync","lp","DOMImplementation","ia","XMLSerializer","DOMParser","lm","type","TYPE","castTo","castAs","fromXml","fromXmlElement","lv","TAG_NAMES","toXml","indentString","newlineString","dataColumns","lw","asBigInt","BigInt","asNumber","ly","lb","replaceAll","lx","CHILD_TAG_NAMES","lS","popValue","shiftValue","childFromXmlElement","lD","lT","lR","XML_DECLARATION","XML_DOCTYPE","xmlDeclaration","xmlDoctype","valueCastTo","valueCastAs","indentRoot","lN","hdiutil","attach","_runAttach","_argsAttach","eject","ejectSync","_createEjects","devices","attachSync","_runAttachSync","_runEject","_argsEject","_runEjectSync","readonly","nobrowse","_fileArg","_parseDevices","devEntry","potentiallyMountable","contentHint","unmappedContentHint","volumeKind","mountPoint","_findRootDevice","off","is","O_WRONLY","O_SYMLINK","l_","lL","_triggering","_triggered","_extracted","archive","pathRaw","sizeComp","uname","gname","atime","mtime","_readData","readData","_readRsrc","readRsrc","_readSymlink","readSymlink","hasNamedVolume","hasNamedVolumes","volumeName","volumePath","stream","_beginExtract","_stream","_extract","trigger","setAttributes","ignorePermissions","ignoreTimes","FILE","RESOURCE_FORK","DIRECTORY","SYMLINK","_errorExtractPathExists","_errorNoResourceFork","afterReadSetAttributesRemove","_extractFile","_extractResourceFork","_extractDirectory","_extractSymlink","_extractStreamToFile","resourceForkAsFile","afterReadSetAttributes","symlinkAsFile","_streamFile","_streamResourceFork","_streamDirectory","_streamSymlink","Readable","l$","FILE_EXTENSIONS","HAS_NAMED_VOLUMES","Entry","_reading","_afterReadSetAttributes","fileExtensions","entry","_read","_afterReadSetAttributesTrigger","lP","lk","lU","rsrcPathRaw","rsrcPath","mounterMac","ProgramFiles","lV","win32","win64","x86_64","lz","lY","globalThis","DOMException","reason","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../<anon>","../../node_modules/ci-info/index.js","../../node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/@actions/core/lib/core.js","../../node_modules/@actions/core/src/core.ts","../../node_modules/@actions/core/lib/command.js","../../node_modules/@actions/core/src/command.ts","../../node_modules/@actions/core/lib/utils.js","../../node_modules/@actions/core/src/utils.ts","../../node_modules/@actions/core/lib/file-command.js","../../node_modules/@actions/core/src/file-command.ts","../../node_modules/uuid/dist/esm-node/v4.js","../../node_modules/uuid/dist/esm-node/rng.js","../../node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/uuid/dist/esm-node/validate.js","../../node_modules/uuid/dist/esm-node/regex.js","../../node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/@actions/http-client/lib/index.js","../../node_modules/@actions/http-client/src/index.ts","../../node_modules/@actions/http-client/lib/proxy.js","../../node_modules/@actions/http-client/src/proxy.ts","../../node_modules/tunnel/index.js","../../node_modules/tunnel/lib/tunnel.js","../../node_modules/@actions/http-client/lib/auth.js","../../node_modules/@actions/http-client/src/auth.ts","../../node_modules/@actions/core/lib/summary.js","../../node_modules/@actions/core/src/summary.ts","../../node_modules/@actions/core/lib/path-utils.js","../../node_modules/@actions/core/src/path-utils.ts","../../node_modules/numerous/lib/numerous.js","../../node_modules/time-delta/lib/time-delta.js","../../node_modules/numerous/index.js","../../node_modules/is-node/index.js","../../node_modules/isexe/windows.js","../../node_modules/isexe/mode.js","../../node_modules/signal-exit/signals.js","../../node_modules/semver/index.js","../../node_modules/semver/internal/re.js","../../node_modules/semver/internal/constants.js","../../node_modules/semver/internal/debug.js","../../node_modules/semver/classes/semver.js","../../node_modules/semver/internal/parse-options.js","../../node_modules/semver/internal/identifiers.js","../../node_modules/semver/functions/parse.js","../../node_modules/semver/functions/valid.js","../../node_modules/semver/functions/clean.js","../../node_modules/semver/functions/inc.js","../../node_modules/semver/functions/diff.js","../../node_modules/semver/functions/major.js","../../node_modules/semver/functions/minor.js","../../node_modules/semver/functions/patch.js","../../node_modules/semver/functions/prerelease.js","../../node_modules/semver/functions/compare.js","../../node_modules/semver/functions/rcompare.js","../../node_modules/semver/functions/compare-loose.js","../../node_modules/semver/functions/compare-build.js","../../node_modules/semver/functions/sort.js","../../node_modules/semver/functions/rsort.js","../../node_modules/semver/functions/gt.js","../../node_modules/semver/functions/lt.js","../../node_modules/semver/functions/eq.js","../../node_modules/semver/functions/neq.js","../../node_modules/semver/functions/gte.js","../../node_modules/semver/functions/lte.js","../../node_modules/semver/functions/cmp.js","../../node_modules/semver/functions/coerce.js","../../node_modules/semver/classes/comparator.js","../../node_modules/semver/classes/range.js","../../node_modules/semver/node_modules/lru-cache/index.js","../../node_modules/yallist/yallist.js","../../node_modules/yallist/iterator.js","../../node_modules/semver/functions/satisfies.js","../../node_modules/semver/ranges/to-comparators.js","../../node_modules/semver/ranges/max-satisfying.js","../../node_modules/semver/ranges/min-satisfying.js","../../node_modules/semver/ranges/min-version.js","../../node_modules/semver/ranges/valid.js","../../node_modules/semver/ranges/outside.js","../../node_modules/semver/ranges/gtr.js","../../node_modules/semver/ranges/ltr.js","../../node_modules/semver/ranges/intersects.js","../../node_modules/semver/ranges/simplify.js","../../node_modules/semver/ranges/subset.js","../../node_modules/escape-quotes/node_modules/escape-string-regexp/index.js","../../node_modules/path-exists/index.js","../../node_modules/patha/dist/index.node.mjs","../../node_modules/patha/src/name.ts","../../node_modules/patha/src/normalize-trim.ts","../../node_modules/patha/src/add-exe-ext.ts","../../node_modules/patha/src/add-name-prefix.ts","../../node_modules/patha/src/add-name-suffix.ts","../../node_modules/patha/src/add-sh-ext.ts","../../node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/patha/src/remove-ext.ts","../../node_modules/patha/src/replace-ext.ts","../../node_modules/patha/src/is-path-inside.ts","../../node_modules/escape-string-regexp/index.js","../../node_modules/replace-ext/index.js","../../node_modules/@actions/io/lib/io.js","../../node_modules/@actions/io/src/io.ts","../../node_modules/@actions/io/lib/io-util.js","../../node_modules/@actions/io/src/io-util.ts","../../node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/@actions/tool-cache/node_modules/uuid/v4.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/@actions/exec/lib/exec.js","../../node_modules/@actions/exec/src/exec.ts","../../node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/@parcel/runtime-js/lib/runtime-3dfbc2a3f5a258f9.js","../../node_modules/@xmldom/xmldom/lib/dom-parser.js","../../node_modules/@xmldom/xmldom/lib/conventions.js","../../node_modules/@xmldom/xmldom/lib/dom.js","../../node_modules/@xmldom/xmldom/lib/entities.js","../../node_modules/@xmldom/xmldom/lib/sax.js","../../src/main.ts","../../node_modules/numerous/locales/en.js","../../node_modules/time-delta/index.js","../../node_modules/time-delta/locales/en.js","../../packages/untildify-user/src/index.ts","../../node_modules/admina/src/index.mts","../../node_modules/admina/dist/root.mjs","../../node_modules/admina/src/root.mts","../../node_modules/which/lib/index.js","../../node_modules/which/node_modules/isexe/dist/mjs/index.js","../../node_modules/which/node_modules/isexe/src/index.ts","../../node_modules/which/node_modules/isexe/dist/mjs/posix.js","../../node_modules/which/node_modules/isexe/src/posix.ts","../../src/utils/compat/fs/promises.ts","../../node_modules/which/node_modules/isexe/dist/mjs/win32.js","../../node_modules/which/node_modules/isexe/src/win32.ts","../../node_modules/which/node_modules/isexe/src/options.ts","../../node_modules/execa/index.js","../../node_modules/cross-spawn/index.js","../../node_modules/cross-spawn/lib/parse.js","../../node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/cross-spawn/node_modules/which/which.js","../../node_modules/isexe/index.js","../../node_modules/path-key/index.js","../../node_modules/cross-spawn/lib/util/escape.js","../../node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/shebang-command/index.js","../../node_modules/shebang-regex/index.js","../../node_modules/cross-spawn/lib/enoent.js","../../node_modules/strip-final-newline/index.js","../../node_modules/npm-run-path/index.js","../../node_modules/npm-run-path/node_modules/path-key/index.js","../../node_modules/onetime/index.js","../../node_modules/mimic-fn/index.js","../../node_modules/execa/lib/error.js","../../node_modules/human-signals/build/src/main.js","../../node_modules/human-signals/build/src/realtime.js","../../node_modules/human-signals/build/src/signals.js","../../node_modules/human-signals/build/src/core.js","../../node_modules/execa/lib/stdio.js","../../node_modules/execa/lib/kill.js","../../node_modules/signal-exit/index.js","../../node_modules/execa/lib/pipe.js","../../node_modules/is-stream/index.js","../../node_modules/execa/lib/stream.js","../../node_modules/get-stream/index.js","../../node_modules/get-stream/buffer-stream.js","../../node_modules/merge-stream/index.js","../../node_modules/execa/lib/promise.js","../../node_modules/execa/lib/command.js","../../node_modules/execa/lib/verbose.js","../../node_modules/admina/dist/admin.mjs","../../node_modules/admina/src/admin.mts","../../node_modules/admina/dist/is-admin.mjs","../../node_modules/admina/src/is-admin.mts","../../node_modules/admina/dist/user-access.mjs","../../node_modules/admina/src/user-access.mts","../../src/check-updates.ts","../../node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../packages/exec-powershell/node_modules/execa/index.js","../../packages/exec-powershell/node_modules/execa/lib/error.js","../../packages/exec-powershell/node_modules/execa/lib/stdio.js","../../packages/exec-powershell/node_modules/execa/lib/kill.js","../../packages/exec-powershell/node_modules/execa/lib/pipe.js","../../packages/exec-powershell/node_modules/execa/lib/stream.js","../../packages/exec-powershell/node_modules/execa/lib/promise.js","../../packages/exec-powershell/node_modules/execa/lib/command.js","../../packages/exec-powershell/node_modules/execa/lib/verbose.js","../../node_modules/escape-path-with-spaces/index.js","../../node_modules/escape-quotes/lib/escape-quotes.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/micro-memoize/src/utils.ts","../../node_modules/micro-memoize/src/Cache.ts","../../node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/ubuntu-version/index.js","../../node_modules/mkdirp/dist/mjs/index.js","../../node_modules/mkdirp/src/index.ts","../../node_modules/mkdirp/dist/mjs/mkdirp-manual.js","../../node_modules/mkdirp/src/mkdirp-manual.ts","../../node_modules/mkdirp/dist/mjs/opts-arg.js","../../node_modules/mkdirp/src/opts-arg.ts","../../node_modules/mkdirp/dist/mjs/mkdirp-native.js","../../node_modules/mkdirp/src/mkdirp-native.ts","../../node_modules/mkdirp/dist/mjs/find-made.js","../../node_modules/mkdirp/src/find-made.ts","../../node_modules/mkdirp/dist/mjs/path-arg.js","../../node_modules/mkdirp/src/path-arg.ts","../../node_modules/mkdirp/dist/mjs/use-native.js","../../node_modules/mkdirp/src/use-native.ts","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/utils/env/macos_version.ts","../../node_modules/macos-release/index.js","../../src/utils/setup/setupDmg.ts","../../node_modules/@shockpkg/archive-files/src/archive/hdi.ts","../../node_modules/@shockpkg/hdi-mac/esm/mounter.mjs","../../node_modules/@shockpkg/hdi-mac/src/mounter.ts","../../node_modules/@shockpkg/plist-dom/esm/plist.mjs","../../node_modules/@shockpkg/plist-dom/src/plist.ts","../../node_modules/@shockpkg/plist-dom/esm/options.mjs","../../node_modules/@shockpkg/plist-dom/src/options.ts","../../node_modules/@shockpkg/plist-dom/esm/util.mjs","../../node_modules/@shockpkg/plist-dom/src/util.ts","../../node_modules/@xmldom/xmldom/lib/index.js","../../node_modules/@shockpkg/plist-dom/esm/value/dict.mjs","../../node_modules/@shockpkg/plist-dom/src/value/dict.ts","../../node_modules/@shockpkg/plist-dom/esm/value.mjs","../../node_modules/@shockpkg/plist-dom/src/value.ts","../../node_modules/@shockpkg/plist-dom/esm/value/array.mjs","../../node_modules/@shockpkg/plist-dom/src/value/array.ts","../../node_modules/@shockpkg/plist-dom/esm/value/boolean.mjs","../../node_modules/@shockpkg/plist-dom/src/value/boolean.ts","../../node_modules/@shockpkg/plist-dom/esm/value/data.mjs","../../node_modules/@shockpkg/plist-dom/src/value/data.ts","../../node_modules/@shockpkg/plist-dom/esm/value/integer.mjs","../../node_modules/@shockpkg/plist-dom/src/value/integer.ts","../../node_modules/@shockpkg/plist-dom/esm/value/real.mjs","../../node_modules/@shockpkg/plist-dom/src/value/real.ts","../../node_modules/@shockpkg/plist-dom/esm/value/string.mjs","../../node_modules/@shockpkg/plist-dom/src/value/string.ts","../../node_modules/@shockpkg/archive-files/src/archive.ts","../../node_modules/@shockpkg/archive-files/src/types.ts","../../node_modules/@shockpkg/archive-files/src/util.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/msvc-dev-cmd/lib.js","../../node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $4umf8$os = require(\"os\");\nvar $4umf8$path = require(\"path\");\nvar $4umf8$fs = require(\"fs\");\nvar $4umf8$crypto = require(\"crypto\");\nvar $4umf8$http = require(\"http\");\nvar $4umf8$https = require(\"https\");\nrequire(\"net\");\nvar $4umf8$tls = require(\"tls\");\nvar $4umf8$events = require(\"events\");\nvar $4umf8$assert = require(\"assert\");\nvar $4umf8$util = require(\"util\");\nvar $4umf8$nodefs = require(\"node:fs\");\nvar $4umf8$child_process = require(\"child_process\");\nvar $4umf8$string_decoder = require(\"string_decoder\");\nvar $4umf8$timers = require(\"timers\");\nvar $4umf8$nodebuffer = require(\"node:buffer\");\nvar $4umf8$nodepath = require(\"node:path\");\nvar $4umf8$nodechild_process = require(\"node:child_process\");\nvar $4umf8$nodeprocess = require(\"node:process\");\nvar $4umf8$nodeurl = require(\"node:url\");\nvar $4umf8$nodeos = require(\"node:os\");\nvar $4umf8$buffer = require(\"buffer\");\nvar $4umf8$stream = require(\"stream\");\nvar $4umf8$nodeutil = require(\"node:util\");\nvar $4umf8$process = require(\"process\");\nvar $4umf8$url = require(\"url\");\nvar $4umf8$nodestream = require(\"node:stream\");\nvar $4umf8$nodestreampromises = require(\"node:stream/promises\");\nvar $4umf8$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"dAuy6\", function(module, exports) {\n\"use strict\";\n\nvar $5vZJI = parcelRequire(\"5vZJI\");\nconst $9e46558a3f40ee97$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $5vZJI.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$5vZJI.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $9e46558a3f40ee97$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$9e46558a3f40ee97$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $9e46558a3f40ee97$var$env && $9e46558a3f40ee97$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$9e46558a3f40ee97$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $9e46558a3f40ee97$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($9e46558a3f40ee97$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($9e46558a3f40ee97$var$env.BUILD_ID || // Jenkins, Cloudbees\n$9e46558a3f40ee97$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$9e46558a3f40ee97$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$9e46558a3f40ee97$var$env.CI_APP_ID || // Appflow\n$9e46558a3f40ee97$var$env.CI_BUILD_ID || // Appflow\n$9e46558a3f40ee97$var$env.CI_BUILD_NUMBER || // Appflow\n$9e46558a3f40ee97$var$env.CI_NAME || // Codeship and others\n$9e46558a3f40ee97$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$9e46558a3f40ee97$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $9e46558a3f40ee97$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$9e46558a3f40ee97$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $9e46558a3f40ee97$var$env[obj.env] && $9e46558a3f40ee97$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$9e46558a3f40ee97$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $9e46558a3f40ee97$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"5vZJI\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"hHq4F\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $0c53d1c71c9db41f$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $0c53d1c71c9db41f$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $0c53d1c71c9db41f$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $0c53d1c71c9db41f$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $0c53d1c71c9db41f$export$a80b3bd66acc52ff);\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\nfunction $0c53d1c71c9db41f$export$a3bc9b8ed74fc(err) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$491112666e282270(msg) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$b31f6ae88848cf15(msg) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$a80b3bd66acc52ff(msg) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"1o3Gj\", function(module, exports) {\n\"use strict\";\nvar $102ae369f312a547$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $102ae369f312a547$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $102ae369f312a547$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $102ae369f312a547$var$__createBinding(result, mod, k);\n }\n $102ae369f312a547$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $102ae369f312a547$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $1g3mY = parcelRequire(\"1g3mY\");\n\nvar $8prV6 = parcelRequire(\"8prV6\");\n\nvar $5nnws = parcelRequire(\"5nnws\");\n\nconst $102ae369f312a547$var$os = $102ae369f312a547$var$__importStar($4umf8$os);\n\nconst $102ae369f312a547$var$path = $102ae369f312a547$var$__importStar($4umf8$path);\n\nvar $dU1e3 = parcelRequire(\"dU1e3\");\n/**\n * The code to exit an action\n */ var $102ae369f312a547$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($102ae369f312a547$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $102ae369f312a547$var$exportVariable(name, val) {\n const convertedVal = $5nnws.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $8prV6.issueFileCommand(\"ENV\", $8prV6.prepareKeyValueMessage(name, val));\n $1g3mY.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $102ae369f312a547$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $102ae369f312a547$var$setSecret(secret) {\n $1g3mY.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $102ae369f312a547$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $102ae369f312a547$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $8prV6.issueFileCommand(\"PATH\", inputPath);\n else $1g3mY.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$102ae369f312a547$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $102ae369f312a547$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $102ae369f312a547$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $102ae369f312a547$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $102ae369f312a547$var$getMultilineInput(name, options) {\n const inputs = $102ae369f312a547$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $102ae369f312a547$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $102ae369f312a547$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $102ae369f312a547$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $102ae369f312a547$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $102ae369f312a547$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $8prV6.issueFileCommand(\"OUTPUT\", $8prV6.prepareKeyValueMessage(name, value));\n process.stdout.write($102ae369f312a547$var$os.EOL);\n $1g3mY.issueCommand(\"set-output\", {\n name: name\n }, $5nnws.toCommandValue(value));\n}\nmodule.exports.setOutput = $102ae369f312a547$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $102ae369f312a547$var$setCommandEcho(enabled) {\n $1g3mY.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $102ae369f312a547$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $102ae369f312a547$var$setFailed(message) {\n process.exitCode = $102ae369f312a547$var$ExitCode.Failure;\n $102ae369f312a547$var$error(message);\n}\nmodule.exports.setFailed = $102ae369f312a547$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $102ae369f312a547$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $102ae369f312a547$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $102ae369f312a547$var$debug(message) {\n $1g3mY.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $102ae369f312a547$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $102ae369f312a547$var$error(message, properties = {}) {\n $1g3mY.issueCommand(\"error\", $5nnws.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $102ae369f312a547$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $102ae369f312a547$var$warning(message, properties = {}) {\n $1g3mY.issueCommand(\"warning\", $5nnws.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $102ae369f312a547$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $102ae369f312a547$var$notice(message, properties = {}) {\n $1g3mY.issueCommand(\"notice\", $5nnws.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $102ae369f312a547$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $102ae369f312a547$var$info(message) {\n process.stdout.write(message + $102ae369f312a547$var$os.EOL);\n}\nmodule.exports.info = $102ae369f312a547$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $102ae369f312a547$var$startGroup(name) {\n $1g3mY.issue(\"group\", name);\n}\nmodule.exports.startGroup = $102ae369f312a547$var$startGroup;\n/**\n * End an output group.\n */ function $102ae369f312a547$var$endGroup() {\n $1g3mY.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $102ae369f312a547$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $102ae369f312a547$var$group(name, fn) {\n return $102ae369f312a547$var$__awaiter(this, void 0, void 0, function*() {\n $102ae369f312a547$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $102ae369f312a547$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $102ae369f312a547$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $102ae369f312a547$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $8prV6.issueFileCommand(\"STATE\", $8prV6.prepareKeyValueMessage(name, value));\n $1g3mY.issueCommand(\"save-state\", {\n name: name\n }, $5nnws.toCommandValue(value));\n}\nmodule.exports.saveState = $102ae369f312a547$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $102ae369f312a547$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $102ae369f312a547$var$getState;\nfunction $102ae369f312a547$var$getIDToken(aud) {\n return $102ae369f312a547$var$__awaiter(this, void 0, void 0, function*() {\n return yield $dU1e3.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $102ae369f312a547$var$getIDToken;\n\nvar $dV9Cu = parcelRequire(\"dV9Cu\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $dV9Cu.summary;\n }\n});\n\nvar $dV9Cu = parcelRequire(\"dV9Cu\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $dV9Cu.markdownSummary;\n }\n});\n\nvar $9i0tI = parcelRequire(\"9i0tI\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $9i0tI.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $9i0tI.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $9i0tI.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"1g3mY\", function(module, exports) {\n\"use strict\";\nvar $0ea9e630a7cef9e6$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0ea9e630a7cef9e6$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0ea9e630a7cef9e6$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0ea9e630a7cef9e6$var$__createBinding(result, mod, k);\n }\n $0ea9e630a7cef9e6$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $0ea9e630a7cef9e6$var$os = $0ea9e630a7cef9e6$var$__importStar($4umf8$os);\n\nvar $5nnws = parcelRequire(\"5nnws\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $0ea9e630a7cef9e6$var$issueCommand(command, properties, message) {\n const cmd = new $0ea9e630a7cef9e6$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $0ea9e630a7cef9e6$var$os.EOL);\n}\nmodule.exports.issueCommand = $0ea9e630a7cef9e6$var$issueCommand;\nfunction $0ea9e630a7cef9e6$var$issue(name, message = \"\") {\n $0ea9e630a7cef9e6$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $0ea9e630a7cef9e6$var$issue;\nconst $0ea9e630a7cef9e6$var$CMD_STRING = \"::\";\nclass $0ea9e630a7cef9e6$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $0ea9e630a7cef9e6$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$0ea9e630a7cef9e6$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$0ea9e630a7cef9e6$var$CMD_STRING}${$0ea9e630a7cef9e6$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $0ea9e630a7cef9e6$var$escapeData(s) {\n return $5nnws.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $0ea9e630a7cef9e6$var$escapeProperty(s) {\n return $5nnws.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"5nnws\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $3ea158d1b71ecb6c$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $3ea158d1b71ecb6c$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $3ea158d1b71ecb6c$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $3ea158d1b71ecb6c$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"8prV6\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $61f650dde32acca8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $61f650dde32acca8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $61f650dde32acca8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $61f650dde32acca8$var$__createBinding(result, mod, k);\n }\n $61f650dde32acca8$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $61f650dde32acca8$var$fs = $61f650dde32acca8$var$__importStar($4umf8$fs);\n\nconst $61f650dde32acca8$var$os = $61f650dde32acca8$var$__importStar($4umf8$os);\n\nvar $1Un9O = parcelRequire(\"1Un9O\");\n\nvar $5nnws = parcelRequire(\"5nnws\");\nfunction $61f650dde32acca8$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$61f650dde32acca8$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $61f650dde32acca8$var$fs.appendFileSync(filePath, `${$5nnws.toCommandValue(message)}${$61f650dde32acca8$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $61f650dde32acca8$var$issueFileCommand;\nfunction $61f650dde32acca8$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$1Un9O.default()}`;\n const convertedValue = $5nnws.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$61f650dde32acca8$var$os.EOL}${convertedValue}${$61f650dde32acca8$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $61f650dde32acca8$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"1Un9O\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $163cfbef58865d16$export$2e2bcd8739ae039);\n\nvar $jyKkd = parcelRequire(\"jyKkd\");\n\nvar $4DdbA = parcelRequire(\"4DdbA\");\nfunction $163cfbef58865d16$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $jyKkd.default))(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $4DdbA.default)(rnds);\n}\nvar $163cfbef58865d16$export$2e2bcd8739ae039 = $163cfbef58865d16$var$v4;\n\n});\nparcelRegister(\"jyKkd\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $e3d520772be72ad6$export$2e2bcd8739ae039);\n\nconst $e3d520772be72ad6$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $e3d520772be72ad6$var$poolPtr = $e3d520772be72ad6$var$rnds8Pool.length;\nfunction $e3d520772be72ad6$export$2e2bcd8739ae039() {\n if ($e3d520772be72ad6$var$poolPtr > $e3d520772be72ad6$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($4umf8$crypto))).randomFillSync($e3d520772be72ad6$var$rnds8Pool);\n $e3d520772be72ad6$var$poolPtr = 0;\n }\n return $e3d520772be72ad6$var$rnds8Pool.slice($e3d520772be72ad6$var$poolPtr, $e3d520772be72ad6$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"4DdbA\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $35f5085d44821234$export$2e2bcd8739ae039);\n\nvar $4XBHo = parcelRequire(\"4XBHo\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $35f5085d44821234$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$35f5085d44821234$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $35f5085d44821234$var$stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = ($35f5085d44821234$var$byteToHex[arr[offset + 0]] + $35f5085d44821234$var$byteToHex[arr[offset + 1]] + $35f5085d44821234$var$byteToHex[arr[offset + 2]] + $35f5085d44821234$var$byteToHex[arr[offset + 3]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 4]] + $35f5085d44821234$var$byteToHex[arr[offset + 5]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 6]] + $35f5085d44821234$var$byteToHex[arr[offset + 7]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 8]] + $35f5085d44821234$var$byteToHex[arr[offset + 9]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 10]] + $35f5085d44821234$var$byteToHex[arr[offset + 11]] + $35f5085d44821234$var$byteToHex[arr[offset + 12]] + $35f5085d44821234$var$byteToHex[arr[offset + 13]] + $35f5085d44821234$var$byteToHex[arr[offset + 14]] + $35f5085d44821234$var$byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!(0, $4XBHo.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $35f5085d44821234$export$2e2bcd8739ae039 = $35f5085d44821234$var$stringify;\n\n});\nparcelRegister(\"4XBHo\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $39c9ea59ce04fda7$export$2e2bcd8739ae039);\n\nvar $dcWu5 = parcelRequire(\"dcWu5\");\nfunction $39c9ea59ce04fda7$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $dcWu5.default).test(uuid);\n}\nvar $39c9ea59ce04fda7$export$2e2bcd8739ae039 = $39c9ea59ce04fda7$var$validate;\n\n});\nparcelRegister(\"dcWu5\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $99d9c315b99dd3a1$export$2e2bcd8739ae039);\nvar $99d9c315b99dd3a1$export$2e2bcd8739ae039 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\n\n});\n\n\n\n\n\nparcelRegister(\"dU1e3\", function(module, exports) {\n\"use strict\";\nvar $a1f174b1cdd8a4a7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $eamjo = parcelRequire(\"eamjo\");\n\nvar $h6tQO = parcelRequire(\"h6tQO\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\nclass $a1f174b1cdd8a4a7$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $eamjo.HttpClient(\"actions/oidc-client\", [\n new $h6tQO.BearerCredentialHandler($a1f174b1cdd8a4a7$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $a1f174b1cdd8a4a7$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $a1f174b1cdd8a4a7$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $a1f174b1cdd8a4a7$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $a1f174b1cdd8a4a7$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $1o3Gj.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $a1f174b1cdd8a4a7$var$OidcClient.getCall(id_token_url);\n $1o3Gj.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $a1f174b1cdd8a4a7$var$OidcClient;\n\n});\nparcelRegister(\"eamjo\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $02a957f9cba5526c$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $02a957f9cba5526c$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $02a957f9cba5526c$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $02a957f9cba5526c$var$__createBinding(result, mod, k);\n }\n $02a957f9cba5526c$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $02a957f9cba5526c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $02a957f9cba5526c$var$http = $02a957f9cba5526c$var$__importStar($4umf8$http);\n\nconst $02a957f9cba5526c$var$https = $02a957f9cba5526c$var$__importStar($4umf8$https);\n\nconst $02a957f9cba5526c$var$pm = $02a957f9cba5526c$var$__importStar((parcelRequire(\"jnrYh\")));\n\nconst $02a957f9cba5526c$var$tunnel = $02a957f9cba5526c$var$__importStar((parcelRequire(\"3RDK7\")));\nvar $02a957f9cba5526c$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($02a957f9cba5526c$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $02a957f9cba5526c$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($02a957f9cba5526c$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $02a957f9cba5526c$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($02a957f9cba5526c$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $02a957f9cba5526c$var$getProxyUrl(serverUrl) {\n const proxyUrl = $02a957f9cba5526c$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $02a957f9cba5526c$var$getProxyUrl;\nconst $02a957f9cba5526c$var$HttpRedirectCodes = [\n $02a957f9cba5526c$var$HttpCodes.MovedPermanently,\n $02a957f9cba5526c$var$HttpCodes.ResourceMoved,\n $02a957f9cba5526c$var$HttpCodes.SeeOther,\n $02a957f9cba5526c$var$HttpCodes.TemporaryRedirect,\n $02a957f9cba5526c$var$HttpCodes.PermanentRedirect\n];\nconst $02a957f9cba5526c$var$HttpResponseRetryCodes = [\n $02a957f9cba5526c$var$HttpCodes.BadGateway,\n $02a957f9cba5526c$var$HttpCodes.ServiceUnavailable,\n $02a957f9cba5526c$var$HttpCodes.GatewayTimeout\n];\nconst $02a957f9cba5526c$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $02a957f9cba5526c$var$ExponentialBackoffCeiling = 10;\nconst $02a957f9cba5526c$var$ExponentialBackoffTimeSlice = 5;\nclass $02a957f9cba5526c$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $02a957f9cba5526c$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $02a957f9cba5526c$var$HttpClientError;\nclass $02a957f9cba5526c$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $02a957f9cba5526c$var$HttpClientResponse;\nfunction $02a957f9cba5526c$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $02a957f9cba5526c$var$isHttps;\nclass $02a957f9cba5526c$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n additionalHeaders[$02a957f9cba5526c$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.ContentType, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n additionalHeaders[$02a957f9cba5526c$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.ContentType, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n additionalHeaders[$02a957f9cba5526c$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.ContentType, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $02a957f9cba5526c$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $02a957f9cba5526c$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $02a957f9cba5526c$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new Error(\"Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$02a957f9cba5526c$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $02a957f9cba5526c$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $02a957f9cba5526c$var$https : $02a957f9cba5526c$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $02a957f9cba5526c$var$lowercaseKeys(this.requestOptions.headers), $02a957f9cba5526c$var$lowercaseKeys(headers || {}));\n return $02a957f9cba5526c$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $02a957f9cba5526c$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $02a957f9cba5526c$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $02a957f9cba5526c$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $02a957f9cba5526c$var$tunnel.httpsOverHttps : $02a957f9cba5526c$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $02a957f9cba5526c$var$tunnel.httpOverHttps : $02a957f9cba5526c$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $02a957f9cba5526c$var$https.Agent(options) : new $02a957f9cba5526c$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $02a957f9cba5526c$var$https.globalAgent : $02a957f9cba5526c$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($02a957f9cba5526c$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $02a957f9cba5526c$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $02a957f9cba5526c$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $02a957f9cba5526c$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $02a957f9cba5526c$var$HttpClient;\nconst $02a957f9cba5526c$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"jnrYh\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $e1b5dcd4d3bc6d63$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($e1b5dcd4d3bc6d63$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $e1b5dcd4d3bc6d63$var$getProxyUrl;\nfunction $e1b5dcd4d3bc6d63$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($e1b5dcd4d3bc6d63$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $e1b5dcd4d3bc6d63$var$checkBypass;\nfunction $e1b5dcd4d3bc6d63$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRegister(\"3RDK7\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"jZQ4B\"));\n\n});\nparcelRegister(\"jZQ4B\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $e8ec1b78916bb724$export$25cbd437c61a3835, (v) => $e8ec1b78916bb724$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $e8ec1b78916bb724$export$c06e3df7111bae43, (v) => $e8ec1b78916bb724$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $e8ec1b78916bb724$export$5d50e36ef656139f, (v) => $e8ec1b78916bb724$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $e8ec1b78916bb724$export$212d6605025321cc, (v) => $e8ec1b78916bb724$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $e8ec1b78916bb724$export$1c9f709888824e05, (v) => $e8ec1b78916bb724$export$1c9f709888824e05 = v);\nvar $e8ec1b78916bb724$export$25cbd437c61a3835;\nvar $e8ec1b78916bb724$export$c06e3df7111bae43;\nvar $e8ec1b78916bb724$export$5d50e36ef656139f;\nvar $e8ec1b78916bb724$export$212d6605025321cc;\nvar $e8ec1b78916bb724$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$e8ec1b78916bb724$export$25cbd437c61a3835 = $e8ec1b78916bb724$var$httpOverHttp;\n$e8ec1b78916bb724$export$c06e3df7111bae43 = $e8ec1b78916bb724$var$httpsOverHttp;\n$e8ec1b78916bb724$export$5d50e36ef656139f = $e8ec1b78916bb724$var$httpOverHttps;\n$e8ec1b78916bb724$export$212d6605025321cc = $e8ec1b78916bb724$var$httpsOverHttps;\nfunction $e8ec1b78916bb724$var$httpOverHttp(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$http.request;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$httpsOverHttp(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$http.request;\n agent.createSocket = $e8ec1b78916bb724$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$httpOverHttps(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$https.request;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$httpsOverHttps(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$https.request;\n agent.createSocket = $e8ec1b78916bb724$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $4umf8$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $e8ec1b78916bb724$var$toOptions(host, port, localAddress);\n for(var i = 0, len = self.requests.length; i < len; ++i){\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\n$4umf8$util.inherits($e8ec1b78916bb724$var$TunnelingAgent, $4umf8$events.EventEmitter);\n$e8ec1b78916bb724$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $e8ec1b78916bb724$var$mergeOptions({\n request: req\n }, self.options, $e8ec1b78916bb724$var$toOptions(host, port, localAddress));\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on(\"free\", onFree);\n socket.on(\"close\", onCloseOrRemove);\n socket.on(\"agentRemove\", onCloseOrRemove);\n req.onSocket(socket);\n function onFree() {\n self.emit(\"free\", socket, options);\n }\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener(\"free\", onFree);\n socket.removeListener(\"close\", onCloseOrRemove);\n socket.removeListener(\"agentRemove\", onCloseOrRemove);\n }\n });\n};\n$e8ec1b78916bb724$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $e8ec1b78916bb724$var$mergeOptions({}, self.proxyOptions, {\n method: \"CONNECT\",\n path: options.host + \":\" + options.port,\n agent: false,\n headers: {\n host: options.host + \":\" + options.port\n }\n });\n if (options.localAddress) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $e8ec1b78916bb724$var$debug(\"making CONNECT request\");\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once(\"response\", onResponse); // for v0.6\n connectReq.once(\"upgrade\", onUpgrade); // for v0.6\n connectReq.once(\"connect\", onConnect); // for v0.7 or later\n connectReq.once(\"error\", onError);\n connectReq.end();\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $e8ec1b78916bb724$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, statusCode=\" + res.statusCode);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n $e8ec1b78916bb724$var$debug(\"got illegal response body from proxy\");\n socket.destroy();\n var error = new Error(\"got illegal response body from proxy\");\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n return;\n }\n $e8ec1b78916bb724$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $e8ec1b78916bb724$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$e8ec1b78916bb724$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n};\nfunction $e8ec1b78916bb724$var$createSecureSocket(options, cb) {\n var self = this;\n $e8ec1b78916bb724$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $e8ec1b78916bb724$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $4umf8$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $e8ec1b78916bb724$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $e8ec1b78916bb724$var$mergeOptions(target) {\n for(var i = 1, len = arguments.length; i < len; ++i){\n var overrides = arguments[i];\n if (typeof overrides === \"object\") {\n var keys = Object.keys(overrides);\n for(var j = 0, keyLen = keys.length; j < keyLen; ++j){\n var k = keys[j];\n if (overrides[k] !== undefined) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $e8ec1b78916bb724$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $e8ec1b78916bb724$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $e8ec1b78916bb724$var$debug = function() {};\n$e8ec1b78916bb724$export$1c9f709888824e05 = $e8ec1b78916bb724$var$debug; // for test\n\n});\n\n\n\nparcelRegister(\"h6tQO\", function(module, exports) {\n\"use strict\";\nvar $c73a26f8594778ef$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $c73a26f8594778ef$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c73a26f8594778ef$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $c73a26f8594778ef$var$BasicCredentialHandler;\nclass $c73a26f8594778ef$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c73a26f8594778ef$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $c73a26f8594778ef$var$BearerCredentialHandler;\nclass $c73a26f8594778ef$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c73a26f8594778ef$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $c73a26f8594778ef$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"dV9Cu\", function(module, exports) {\n\"use strict\";\nvar $a2280f869d17820a$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $a2280f869d17820a$var$access, appendFile: $a2280f869d17820a$var$appendFile, writeFile: $a2280f869d17820a$var$writeFile } = $4umf8$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $a2280f869d17820a$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $a2280f869d17820a$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $a2280f869d17820a$var$access(pathFromEnv, $4umf8$fs.constants.R_OK | $4umf8$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}</${tag}>`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise<Summary>} summary instance\n */ write(options) {\n return $a2280f869d17820a$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $a2280f869d17820a$var$writeFile : $a2280f869d17820a$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $a2280f869d17820a$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($4umf8$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (<hr>) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (<br>) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $a2280f869d17820a$var$_summary = new $a2280f869d17820a$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $a2280f869d17820a$var$_summary;\nmodule.exports.summary = $a2280f869d17820a$var$_summary;\n\n});\n\nparcelRegister(\"9i0tI\", function(module, exports) {\n\"use strict\";\nvar $6c362a75924285b0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6c362a75924285b0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6c362a75924285b0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6c362a75924285b0$var$__createBinding(result, mod, k);\n }\n $6c362a75924285b0$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $6c362a75924285b0$var$path = $6c362a75924285b0$var$__importStar($4umf8$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $6c362a75924285b0$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $6c362a75924285b0$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $6c362a75924285b0$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $6c362a75924285b0$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $6c362a75924285b0$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $6c362a75924285b0$var$path.sep);\n}\nmodule.exports.toPlatformPath = $6c362a75924285b0$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"kswPT\", function(module, exports) {\n\nvar $ee4fe4bbd8d821d9$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */ function addLocale(locale, callable) {\n locales[locale] = callable;\n }\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($ee4fe4bbd8d821d9$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"foOBZ\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $6OFKY = parcelRequire(\"6OFKY\");\n\nvar $5GOZM = parcelRequire(\"5GOZM\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $b3605b587cf7d4a3$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $b3605b587cf7d4a3$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $b3605b587cf7d4a3$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $b3605b587cf7d4a3$var$timeDeltaFactory,\n addLocale: $b3605b587cf7d4a3$var$addLocale,\n defaultConfig: $b3605b587cf7d4a3$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $b3605b587cf7d4a3$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $b3605b587cf7d4a3$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $b3605b587cf7d4a3$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $b3605b587cf7d4a3$var$defaultConfig, config || {});\n return {\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $b3605b587cf7d4a3$var$format(firstDate, secondDate, options);\n }\n };\n}\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */ function $b3605b587cf7d4a3$var$format(firstDate, secondDate, config) {\n $b3605b587cf7d4a3$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $b3605b587cf7d4a3$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($b3605b587cf7d4a3$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\n}\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */ function $b3605b587cf7d4a3$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($b3605b587cf7d4a3$var$hasLocale(locale)) return;\n if ($5GOZM && autoload) $b3605b587cf7d4a3$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $b3605b587cf7d4a3$var$hasLocale(localeId) {\n return Boolean($b3605b587cf7d4a3$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $b3605b587cf7d4a3$var$requireLocale(localeId) {\n try {\n $b3605b587cf7d4a3$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`);\n }\n}\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $b3605b587cf7d4a3$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $b3605b587cf7d4a3$var$timeUnits.some(function(unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\n}\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */ function $b3605b587cf7d4a3$var$pluralize(unit, value, config) {\n const unitTypeData = $b3605b587cf7d4a3$var$getLocaleDataForUnitType(config);\n const unitString = $6OFKY.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $b3605b587cf7d4a3$var$getLocaleDataForUnitType(config) {\n const localeData = $b3605b587cf7d4a3$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $b3605b587cf7d4a3$var$arrayUnique(lookupOrder);\n let unitTypeData = null;\n lookupOrder.some(function(unitType) {\n if (\"undefined\" !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $b3605b587cf7d4a3$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"6OFKY\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"kswPT\"));\n\n});\n\nparcelRegister(\"5GOZM\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"8nJMC\", function(module, exports) {\nmodule.exports = $61a3fc466617a20f$var$isexe;\n$61a3fc466617a20f$var$isexe.sync = $61a3fc466617a20f$var$sync;\n\nfunction $61a3fc466617a20f$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $61a3fc466617a20f$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $61a3fc466617a20f$var$checkPathExt(path, options);\n}\nfunction $61a3fc466617a20f$var$isexe(path, options, cb) {\n $4umf8$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $61a3fc466617a20f$var$checkStat(stat, path, options));\n });\n}\nfunction $61a3fc466617a20f$var$sync(path, options) {\n return $61a3fc466617a20f$var$checkStat($4umf8$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"lo7XV\", function(module, exports) {\nmodule.exports = $f92204a92aa246f8$var$isexe;\n$f92204a92aa246f8$var$isexe.sync = $f92204a92aa246f8$var$sync;\n\nfunction $f92204a92aa246f8$var$isexe(path, options, cb) {\n $4umf8$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $f92204a92aa246f8$var$checkStat(stat, options));\n });\n}\nfunction $f92204a92aa246f8$var$sync(path, options) {\n return $f92204a92aa246f8$var$checkStat($4umf8$fs.statSync(path), options);\n}\nfunction $f92204a92aa246f8$var$checkStat(stat, options) {\n return stat.isFile() && $f92204a92aa246f8$var$checkMode(stat, options);\n}\nfunction $f92204a92aa246f8$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"dVIKq\", function(module, exports) {\n// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n \"SIGABRT\",\n \"SIGALRM\",\n \"SIGHUP\",\n \"SIGINT\",\n \"SIGTERM\"\n];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"coVwk\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $dAM2Q = parcelRequire(\"dAM2Q\");\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\nvar $3Ixw1 = parcelRequire(\"3Ixw1\");\n\nvar $5r5vN = parcelRequire(\"5r5vN\");\n\nvar $bDrwm = parcelRequire(\"bDrwm\");\n\nvar $lORAA = parcelRequire(\"lORAA\");\n\nvar $2Lh6z = parcelRequire(\"2Lh6z\");\n\nvar $73KaH = parcelRequire(\"73KaH\");\n\nvar $j5Xr5 = parcelRequire(\"j5Xr5\");\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\n\nvar $2QKGl = parcelRequire(\"2QKGl\");\n\nvar $3puHo = parcelRequire(\"3puHo\");\n\nvar $7qrQi = parcelRequire(\"7qrQi\");\n\nvar $hZ1Xd = parcelRequire(\"hZ1Xd\");\n\nvar $3YOIj = parcelRequire(\"3YOIj\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\n\nvar $58P10 = parcelRequire(\"58P10\");\n\nvar $lTmeS = parcelRequire(\"lTmeS\");\n\nvar $jzqBf = parcelRequire(\"jzqBf\");\n\nvar $3XWvL = parcelRequire(\"3XWvL\");\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\nvar $84iFB = parcelRequire(\"84iFB\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $4zfp3 = parcelRequire(\"4zfp3\");\n\nvar $ga5uZ = parcelRequire(\"ga5uZ\");\n\nvar $lPGVL = parcelRequire(\"lPGVL\");\n\nvar $1I8AA = parcelRequire(\"1I8AA\");\n\nvar $dBtft = parcelRequire(\"dBtft\");\n\nvar $83Sp2 = parcelRequire(\"83Sp2\");\n\nvar $eK4my = parcelRequire(\"eK4my\");\n\nvar $eNXBI = parcelRequire(\"eNXBI\");\n\nvar $kHzUo = parcelRequire(\"kHzUo\");\n\nvar $1x2XZ = parcelRequire(\"1x2XZ\");\n\nvar $hTYir = parcelRequire(\"hTYir\");\nmodule.exports = {\n parse: $cHnHr,\n valid: $2kZmC,\n clean: $3Ixw1,\n inc: $5r5vN,\n diff: $bDrwm,\n major: $lORAA,\n minor: $2Lh6z,\n patch: $73KaH,\n prerelease: $j5Xr5,\n compare: $jDqfd,\n rcompare: $2QKGl,\n compareLoose: $3puHo,\n compareBuild: $7qrQi,\n sort: $hZ1Xd,\n rsort: $3YOIj,\n gt: $cOpcP,\n lt: $58P10,\n eq: $lTmeS,\n neq: $jzqBf,\n gte: $3XWvL,\n lte: $hlfY9,\n cmp: $84iFB,\n coerce: $6v1Be,\n Comparator: $1bxhC,\n Range: $bswWF,\n satisfies: $42oIR,\n toComparators: $4zfp3,\n maxSatisfying: $ga5uZ,\n minSatisfying: $lPGVL,\n minVersion: $1I8AA,\n validRange: $dBtft,\n outside: $83Sp2,\n gtr: $eK4my,\n ltr: $eNXBI,\n intersects: $kHzUo,\n simplifyRange: $1x2XZ,\n subset: $hTYir,\n SemVer: $8cXe9,\n re: $hhSwF.re,\n src: $hhSwF.src,\n tokens: $hhSwF.t,\n SEMVER_SPEC_VERSION: $iXsaM.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $iXsaM.RELEASE_TYPES,\n compareIdentifiers: $dAM2Q.compareIdentifiers,\n rcompareIdentifiers: $dAM2Q.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"hhSwF\", function(module, exports) {\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\nvar $c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH = $iXsaM.MAX_SAFE_COMPONENT_LENGTH;\nvar $c95e51e8df9eefc0$require$MAX_SAFE_BUILD_LENGTH = $iXsaM.MAX_SAFE_BUILD_LENGTH;\nvar $c95e51e8df9eefc0$require$MAX_LENGTH = $iXsaM.MAX_LENGTH;\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $c95e51e8df9eefc0$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $c95e51e8df9eefc0$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $jl9Uf(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken(\"LOOSEPLAIN\", `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken(\"XRANGEIDENTIFIERLOOSE\", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`);\ncreateToken(\"XRANGEIDENTIFIER\", `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCEPLAIN\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH}}))?`);\ncreateToken(\"COERCE\", `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`);\ncreateToken(\"COERCEFULL\", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\ncreateToken(\"COERCERTLFULL\", src[t.COERCEFULL], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken(\"COMPARATORLOOSE\", `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`);\ncreateToken(\"COMPARATOR\", `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`);\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken(\"COMPARATORTRIM\", `(\\\\s*)${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken(\"HYPHENRANGE\", `^\\\\s*(${src[t.XRANGEPLAIN]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\n// Star ranges basically just allow anything at all.\ncreateToken(\"STAR\", \"(<|>)?=?\\\\s*\\\\*\");\n// >=0.0.0 is like a star\ncreateToken(\"GTE0\", \"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\");\ncreateToken(\"GTE0PRE\", \"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\");\n\n});\nparcelRegister(\"iXsaM\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $dcd3973635072855$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $dcd3973635072855$var$MAX_LENGTH = 256;\nconst $dcd3973635072855$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $dcd3973635072855$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $dcd3973635072855$var$MAX_SAFE_BUILD_LENGTH = $dcd3973635072855$var$MAX_LENGTH - 6;\nconst $dcd3973635072855$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $dcd3973635072855$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $dcd3973635072855$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $dcd3973635072855$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $dcd3973635072855$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $dcd3973635072855$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $dcd3973635072855$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"jl9Uf\", function(module, exports) {\nconst $e147a9a67455c3ba$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $e147a9a67455c3ba$var$debug;\n\n});\n\n\nparcelRegister(\"8cXe9\", function(module, exports) {\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\nvar $5f9d6307b0a50114$require$MAX_LENGTH = $iXsaM.MAX_LENGTH;\nvar $5f9d6307b0a50114$require$MAX_SAFE_INTEGER = $iXsaM.MAX_SAFE_INTEGER;\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $5f9d6307b0a50114$require$re = $hhSwF.safeRe;\nvar $5f9d6307b0a50114$require$t = $hhSwF.t;\n\nvar $5v8m5 = parcelRequire(\"5v8m5\");\n\nvar $dAM2Q = parcelRequire(\"dAM2Q\");\nvar $5f9d6307b0a50114$require$compareIdentifiers = $dAM2Q.compareIdentifiers;\nclass $5f9d6307b0a50114$var$SemVer {\n constructor(version, options){\n options = $5v8m5(options);\n if (version instanceof $5f9d6307b0a50114$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $5f9d6307b0a50114$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$5f9d6307b0a50114$require$MAX_LENGTH} characters`);\n $jl9Uf(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease;\n const m = version.trim().match(options.loose ? $5f9d6307b0a50114$require$re[$5f9d6307b0a50114$require$t.LOOSE] : $5f9d6307b0a50114$require$re[$5f9d6307b0a50114$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $5f9d6307b0a50114$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $5f9d6307b0a50114$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $5f9d6307b0a50114$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $5f9d6307b0a50114$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $jl9Uf(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n return $5f9d6307b0a50114$require$compareIdentifiers(this.major, other.major) || $5f9d6307b0a50114$require$compareIdentifiers(this.minor, other.minor) || $5f9d6307b0a50114$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $jl9Uf(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $5f9d6307b0a50114$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $jl9Uf(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $5f9d6307b0a50114$require$compareIdentifiers(a, b);\n }while (++i);\n }\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc(release, identifier, identifierBase) {\n switch(release){\n case \"premajor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor = 0;\n this.major++;\n this.inc(\"pre\", identifier, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\n break;\n case \"prepatch\":\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0;\n this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case \"prerelease\":\n if (this.prerelease.length === 0) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\n case \"major\":\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\n this.minor = 0;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"minor\":\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) this.minor++;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"patch\":\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) this.patch++;\n this.prerelease = [];\n break;\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case \"pre\":\n {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($5f9d6307b0a50114$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $5f9d6307b0a50114$var$SemVer;\n\n});\nparcelRegister(\"5v8m5\", function(module, exports) {\n// parse out just the options we care about\nconst $4016542f96e2ba13$var$looseOption = Object.freeze({\n loose: true\n});\nconst $4016542f96e2ba13$var$emptyOpts = Object.freeze({});\nconst $4016542f96e2ba13$var$parseOptions = (options)=>{\n if (!options) return $4016542f96e2ba13$var$emptyOpts;\n if (typeof options !== \"object\") return $4016542f96e2ba13$var$looseOption;\n return options;\n};\nmodule.exports = $4016542f96e2ba13$var$parseOptions;\n\n});\n\nparcelRegister(\"dAM2Q\", function(module, exports) {\nconst $9e53e7e486c62584$var$numeric = /^[0-9]+$/;\nconst $9e53e7e486c62584$var$compareIdentifiers = (a, b)=>{\n const anum = $9e53e7e486c62584$var$numeric.test(a);\n const bnum = $9e53e7e486c62584$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $9e53e7e486c62584$var$rcompareIdentifiers = (a, b)=>$9e53e7e486c62584$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $9e53e7e486c62584$var$compareIdentifiers,\n rcompareIdentifiers: $9e53e7e486c62584$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"cHnHr\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $93ebe26cfabaa188$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $8cXe9) return version;\n try {\n return new $8cXe9(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $93ebe26cfabaa188$var$parse;\n\n});\n\nparcelRegister(\"2kZmC\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $1b3d0c95842a233f$var$valid = (version, options)=>{\n const v = $cHnHr(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $1b3d0c95842a233f$var$valid;\n\n});\n\nparcelRegister(\"3Ixw1\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $2b4f7aa592c5a64a$var$clean = (version, options)=>{\n const s = $cHnHr(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $2b4f7aa592c5a64a$var$clean;\n\n});\n\nparcelRegister(\"5r5vN\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $3f53bfe76a8eb8ff$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $8cXe9(version instanceof $8cXe9 ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $3f53bfe76a8eb8ff$var$inc;\n\n});\n\nparcelRegister(\"bDrwm\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $8788af559a97c313$var$diff = (version1, version2)=>{\n const v1 = $cHnHr(version1, null, true);\n const v2 = $cHnHr(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $8788af559a97c313$var$diff;\n\n});\n\nparcelRegister(\"lORAA\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $fe27d62e7e33fa19$var$major = (a, loose)=>new $8cXe9(a, loose).major;\nmodule.exports = $fe27d62e7e33fa19$var$major;\n\n});\n\nparcelRegister(\"2Lh6z\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $202d3d42e88f3c28$var$minor = (a, loose)=>new $8cXe9(a, loose).minor;\nmodule.exports = $202d3d42e88f3c28$var$minor;\n\n});\n\nparcelRegister(\"73KaH\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $523ca0e80014f7d8$var$patch = (a, loose)=>new $8cXe9(a, loose).patch;\nmodule.exports = $523ca0e80014f7d8$var$patch;\n\n});\n\nparcelRegister(\"j5Xr5\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $de6c96b3ae4bd129$var$prerelease = (version, options)=>{\n const parsed = $cHnHr(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $de6c96b3ae4bd129$var$prerelease;\n\n});\n\nparcelRegister(\"jDqfd\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $e4b6046aca61f3e2$var$compare = (a, b, loose)=>new $8cXe9(a, loose).compare(new $8cXe9(b, loose));\nmodule.exports = $e4b6046aca61f3e2$var$compare;\n\n});\n\nparcelRegister(\"2QKGl\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $2134a6255f13ad9b$var$rcompare = (a, b, loose)=>$jDqfd(b, a, loose);\nmodule.exports = $2134a6255f13ad9b$var$rcompare;\n\n});\n\nparcelRegister(\"3puHo\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $27bb850ff97b303d$var$compareLoose = (a, b)=>$jDqfd(a, b, true);\nmodule.exports = $27bb850ff97b303d$var$compareLoose;\n\n});\n\nparcelRegister(\"7qrQi\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $56808f0c5eb5cb5f$var$compareBuild = (a, b, loose)=>{\n const versionA = new $8cXe9(a, loose);\n const versionB = new $8cXe9(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $56808f0c5eb5cb5f$var$compareBuild;\n\n});\n\nparcelRegister(\"hZ1Xd\", function(module, exports) {\n\nvar $7qrQi = parcelRequire(\"7qrQi\");\nconst $d179a636da11b2a4$var$sort = (list, loose)=>list.sort((a, b)=>$7qrQi(a, b, loose));\nmodule.exports = $d179a636da11b2a4$var$sort;\n\n});\n\nparcelRegister(\"3YOIj\", function(module, exports) {\n\nvar $7qrQi = parcelRequire(\"7qrQi\");\nconst $2e5e506179661275$var$rsort = (list, loose)=>list.sort((a, b)=>$7qrQi(b, a, loose));\nmodule.exports = $2e5e506179661275$var$rsort;\n\n});\n\nparcelRegister(\"cOpcP\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $953db4ebd516041a$var$gt = (a, b, loose)=>$jDqfd(a, b, loose) > 0;\nmodule.exports = $953db4ebd516041a$var$gt;\n\n});\n\nparcelRegister(\"58P10\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $3be545aa6e792823$var$lt = (a, b, loose)=>$jDqfd(a, b, loose) < 0;\nmodule.exports = $3be545aa6e792823$var$lt;\n\n});\n\nparcelRegister(\"lTmeS\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $fefffc38ac57fde3$var$eq = (a, b, loose)=>$jDqfd(a, b, loose) === 0;\nmodule.exports = $fefffc38ac57fde3$var$eq;\n\n});\n\nparcelRegister(\"jzqBf\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $e3f5eb5780814ac5$var$neq = (a, b, loose)=>$jDqfd(a, b, loose) !== 0;\nmodule.exports = $e3f5eb5780814ac5$var$neq;\n\n});\n\nparcelRegister(\"3XWvL\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $2e3444e9310d8b16$var$gte = (a, b, loose)=>$jDqfd(a, b, loose) >= 0;\nmodule.exports = $2e3444e9310d8b16$var$gte;\n\n});\n\nparcelRegister(\"hlfY9\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $ca00c8fc5d60d2c3$var$lte = (a, b, loose)=>$jDqfd(a, b, loose) <= 0;\nmodule.exports = $ca00c8fc5d60d2c3$var$lte;\n\n});\n\nparcelRegister(\"84iFB\", function(module, exports) {\n\nvar $lTmeS = parcelRequire(\"lTmeS\");\n\nvar $jzqBf = parcelRequire(\"jzqBf\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\n\nvar $3XWvL = parcelRequire(\"3XWvL\");\n\nvar $58P10 = parcelRequire(\"58P10\");\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\nconst $5dfd2de80d18eb59$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $lTmeS(a, b, loose);\n case \"!=\":\n return $jzqBf(a, b, loose);\n case \">\":\n return $cOpcP(a, b, loose);\n case \">=\":\n return $3XWvL(a, b, loose);\n case \"<\":\n return $58P10(a, b, loose);\n case \"<=\":\n return $hlfY9(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $5dfd2de80d18eb59$var$cmp;\n\n});\n\nparcelRegister(\"6v1Be\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $4bb6e0f4a4724cfe$require$re = $hhSwF.safeRe;\nvar $4bb6e0f4a4724cfe$require$t = $hhSwF.t;\nconst $4bb6e0f4a4724cfe$var$coerce = (version, options)=>{\n if (version instanceof $8cXe9) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match(options.includePrerelease ? $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCEFULL] : $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCE]);\n else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n const coerceRtlRegex = options.includePrerelease ? $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCERTLFULL] : $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCERTL];\n let next;\n while((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1;\n }\n if (match === null) return null;\n const major = match[2];\n const minor = match[3] || \"0\";\n const patch = match[4] || \"0\";\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : \"\";\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : \"\";\n return $cHnHr(`${major}.${minor}.${patch}${prerelease}${build}`, options);\n};\nmodule.exports = $4bb6e0f4a4724cfe$var$coerce;\n\n});\n\nparcelRegister(\"1bxhC\", function(module, exports) {\nconst $0dd0a2e3ba1f64c7$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $0dd0a2e3ba1f64c7$var$Comparator {\n static get ANY() {\n return $0dd0a2e3ba1f64c7$var$ANY;\n }\n constructor(comp, options){\n options = $5v8m5(options);\n if (comp instanceof $0dd0a2e3ba1f64c7$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $jl9Uf(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $0dd0a2e3ba1f64c7$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $jl9Uf(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $0dd0a2e3ba1f64c7$require$re[$0dd0a2e3ba1f64c7$require$t.COMPARATORLOOSE] : $0dd0a2e3ba1f64c7$require$re[$0dd0a2e3ba1f64c7$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $0dd0a2e3ba1f64c7$var$ANY;\n else this.semver = new $8cXe9(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $jl9Uf(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $0dd0a2e3ba1f64c7$var$ANY || version === $0dd0a2e3ba1f64c7$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $8cXe9(version, this.options);\n } catch (er) {\n return false;\n }\n return $84iFB(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $0dd0a2e3ba1f64c7$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $bswWF(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $bswWF(this.value, options).test(comp.semver);\n }\n options = $5v8m5(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($84iFB(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($84iFB(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $0dd0a2e3ba1f64c7$var$Comparator;\n\nvar $5v8m5 = parcelRequire(\"5v8m5\");\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $0dd0a2e3ba1f64c7$require$re = $hhSwF.safeRe;\nvar $0dd0a2e3ba1f64c7$require$t = $hhSwF.t;\n\nvar $84iFB = parcelRequire(\"84iFB\");\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\n});\nparcelRegister(\"bswWF\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $857bdd786d7ea570$var$Range {\n constructor(range, options){\n options = $5v8m5(options);\n if (range instanceof $857bdd786d7ea570$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $857bdd786d7ea570$var$Range(range.raw, options);\n }\n if (range instanceof $1bxhC) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter((c)=>c.length);\n if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0];\n this.set = this.set.filter((c)=>!$857bdd786d7ea570$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set)if (c.length === 1 && $857bdd786d7ea570$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $857bdd786d7ea570$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $857bdd786d7ea570$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $857bdd786d7ea570$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.HYPHENRANGELOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.HYPHENRANGE];\n range = range.replace(hr, $857bdd786d7ea570$var$hyphenReplace(this.options.includePrerelease));\n $jl9Uf(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.COMPARATORTRIM], $857bdd786d7ea570$require$comparatorTrimReplace);\n $jl9Uf(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.TILDETRIM], $857bdd786d7ea570$require$tildeTrimReplace);\n $jl9Uf(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.CARETTRIM], $857bdd786d7ea570$require$caretTrimReplace);\n $jl9Uf(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$857bdd786d7ea570$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$857bdd786d7ea570$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $jl9Uf(\"loose invalid filter\", comp, this.options);\n return !!comp.match($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.COMPARATORLOOSE]);\n });\n $jl9Uf(\"range list\", rangeList);\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map();\n const comparators = rangeList.map((comp)=>new $1bxhC(comp, this.options));\n for (const comp of comparators){\n if ($857bdd786d7ea570$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $857bdd786d7ea570$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $857bdd786d7ea570$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $857bdd786d7ea570$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $857bdd786d7ea570$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $8cXe9(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($857bdd786d7ea570$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $857bdd786d7ea570$var$Range;\n\nvar $31A6g = parcelRequire(\"31A6g\");\nconst $857bdd786d7ea570$var$cache = new $31A6g({\n max: 1000\n});\n\nvar $5v8m5 = parcelRequire(\"5v8m5\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $857bdd786d7ea570$require$re = $hhSwF.safeRe;\nvar $857bdd786d7ea570$require$t = $hhSwF.t;\nvar $857bdd786d7ea570$require$comparatorTrimReplace = $hhSwF.comparatorTrimReplace;\nvar $857bdd786d7ea570$require$tildeTrimReplace = $hhSwF.tildeTrimReplace;\nvar $857bdd786d7ea570$require$caretTrimReplace = $hhSwF.caretTrimReplace;\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\nvar $857bdd786d7ea570$require$FLAG_INCLUDE_PRERELEASE = $iXsaM.FLAG_INCLUDE_PRERELEASE;\nvar $857bdd786d7ea570$require$FLAG_LOOSE = $iXsaM.FLAG_LOOSE;\nconst $857bdd786d7ea570$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $857bdd786d7ea570$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $857bdd786d7ea570$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n};\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst $857bdd786d7ea570$var$parseComparator = (comp, options)=>{\n $jl9Uf(\"comp\", comp, options);\n comp = $857bdd786d7ea570$var$replaceCarets(comp, options);\n $jl9Uf(\"caret\", comp);\n comp = $857bdd786d7ea570$var$replaceTildes(comp, options);\n $jl9Uf(\"tildes\", comp);\n comp = $857bdd786d7ea570$var$replaceXRanges(comp, options);\n $jl9Uf(\"xrange\", comp);\n comp = $857bdd786d7ea570$var$replaceStars(comp, options);\n $jl9Uf(\"stars\", comp);\n return comp;\n};\nconst $857bdd786d7ea570$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $857bdd786d7ea570$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$857bdd786d7ea570$var$replaceTilde(c, options)).join(\" \");\n};\nconst $857bdd786d7ea570$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.TILDELOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $jl9Uf(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($857bdd786d7ea570$var$isX(M)) ret = \"\";\n else if ($857bdd786d7ea570$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($857bdd786d7ea570$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $jl9Uf(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $jl9Uf(\"tilde return\", ret);\n return ret;\n });\n};\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $857bdd786d7ea570$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$857bdd786d7ea570$var$replaceCaret(c, options)).join(\" \");\n};\nconst $857bdd786d7ea570$var$replaceCaret = (comp, options)=>{\n $jl9Uf(\"caret\", comp, options);\n const r = options.loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.CARETLOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $jl9Uf(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($857bdd786d7ea570$var$isX(M)) ret = \"\";\n else if ($857bdd786d7ea570$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($857bdd786d7ea570$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $jl9Uf(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $jl9Uf(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $jl9Uf(\"caret return\", ret);\n return ret;\n });\n};\nconst $857bdd786d7ea570$var$replaceXRanges = (comp, options)=>{\n $jl9Uf(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$857bdd786d7ea570$var$replaceXRange(c, options)).join(\" \");\n};\nconst $857bdd786d7ea570$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.XRANGELOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $jl9Uf(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $857bdd786d7ea570$var$isX(M);\n const xm = xM || $857bdd786d7ea570$var$isX(m);\n const xp = xm || $857bdd786d7ea570$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? \"-0\" : \"\";\n if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = \">=\";\n if (xm) {\n M = +M + 1;\n m = 0;\n p = 0;\n } else {\n m = +m + 1;\n p = 0;\n }\n } else if (gtlt === \"<=\") {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = \"<\";\n if (xm) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $jl9Uf(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $857bdd786d7ea570$var$replaceStars = (comp, options)=>{\n $jl9Uf(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.STAR], \"\");\n};\nconst $857bdd786d7ea570$var$replaceGTE0 = (comp, options)=>{\n $jl9Uf(\"replaceGTE0\", comp, options);\n return comp.trim().replace($857bdd786d7ea570$require$re[options.includePrerelease ? $857bdd786d7ea570$require$t.GTE0PRE : $857bdd786d7ea570$require$t.GTE0], \"\");\n};\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst $857bdd786d7ea570$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($857bdd786d7ea570$var$isX(fM)) from = \"\";\n else if ($857bdd786d7ea570$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($857bdd786d7ea570$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($857bdd786d7ea570$var$isX(tM)) to = \"\";\n else if ($857bdd786d7ea570$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($857bdd786d7ea570$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $857bdd786d7ea570$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\n }\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for(let i = 0; i < set.length; i++){\n $jl9Uf(set[i].semver);\n if (set[i].semver === $1bxhC.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"31A6g\", function(module, exports) {\n\"use strict\";\n\nvar $i08Cw = parcelRequire(\"i08Cw\");\nconst $233d77d4742ed838$var$MAX = Symbol(\"max\");\nconst $233d77d4742ed838$var$LENGTH = Symbol(\"length\");\nconst $233d77d4742ed838$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $233d77d4742ed838$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $233d77d4742ed838$var$MAX_AGE = Symbol(\"maxAge\");\nconst $233d77d4742ed838$var$DISPOSE = Symbol(\"dispose\");\nconst $233d77d4742ed838$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $233d77d4742ed838$var$LRU_LIST = Symbol(\"lruList\");\nconst $233d77d4742ed838$var$CACHE = Symbol(\"cache\");\nconst $233d77d4742ed838$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $233d77d4742ed838$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $233d77d4742ed838$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$233d77d4742ed838$var$MAX] = options.max || Infinity;\n const lc = options.length || $233d77d4742ed838$var$naiveLength;\n this[$233d77d4742ed838$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $233d77d4742ed838$var$naiveLength : lc;\n this[$233d77d4742ed838$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$233d77d4742ed838$var$MAX_AGE] = options.maxAge || 0;\n this[$233d77d4742ed838$var$DISPOSE] = options.dispose;\n this[$233d77d4742ed838$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$233d77d4742ed838$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$233d77d4742ed838$var$MAX] = mL || Infinity;\n $233d77d4742ed838$var$trim(this);\n }\n get max() {\n return this[$233d77d4742ed838$var$MAX];\n }\n set allowStale(allowStale) {\n this[$233d77d4742ed838$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$233d77d4742ed838$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$233d77d4742ed838$var$MAX_AGE] = mA;\n $233d77d4742ed838$var$trim(this);\n }\n get maxAge() {\n return this[$233d77d4742ed838$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $233d77d4742ed838$var$naiveLength;\n if (lC !== this[$233d77d4742ed838$var$LENGTH_CALCULATOR]) {\n this[$233d77d4742ed838$var$LENGTH_CALCULATOR] = lC;\n this[$233d77d4742ed838$var$LENGTH] = 0;\n this[$233d77d4742ed838$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$233d77d4742ed838$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$233d77d4742ed838$var$LENGTH] += hit.length;\n });\n }\n $233d77d4742ed838$var$trim(this);\n }\n get lengthCalculator() {\n return this[$233d77d4742ed838$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$233d77d4742ed838$var$LENGTH];\n }\n get itemCount() {\n return this[$233d77d4742ed838$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$233d77d4742ed838$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $233d77d4742ed838$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$233d77d4742ed838$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $233d77d4742ed838$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$233d77d4742ed838$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$233d77d4742ed838$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$233d77d4742ed838$var$DISPOSE] && this[$233d77d4742ed838$var$LRU_LIST] && this[$233d77d4742ed838$var$LRU_LIST].length) this[$233d77d4742ed838$var$LRU_LIST].forEach((hit)=>this[$233d77d4742ed838$var$DISPOSE](hit.key, hit.value));\n this[$233d77d4742ed838$var$CACHE] = new Map() // hash of items by key\n ;\n this[$233d77d4742ed838$var$LRU_LIST] = new $i08Cw() // list of items in order of use recency\n ;\n this[$233d77d4742ed838$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$233d77d4742ed838$var$LRU_LIST].map((hit)=>$233d77d4742ed838$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$233d77d4742ed838$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$233d77d4742ed838$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$233d77d4742ed838$var$LENGTH_CALCULATOR](value, key);\n if (this[$233d77d4742ed838$var$CACHE].has(key)) {\n if (len > this[$233d77d4742ed838$var$MAX]) {\n $233d77d4742ed838$var$del(this, this[$233d77d4742ed838$var$CACHE].get(key));\n return false;\n }\n const node = this[$233d77d4742ed838$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$233d77d4742ed838$var$DISPOSE]) {\n if (!this[$233d77d4742ed838$var$NO_DISPOSE_ON_SET]) this[$233d77d4742ed838$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$233d77d4742ed838$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $233d77d4742ed838$var$trim(this);\n return true;\n }\n const hit = new $233d77d4742ed838$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$233d77d4742ed838$var$MAX]) {\n if (this[$233d77d4742ed838$var$DISPOSE]) this[$233d77d4742ed838$var$DISPOSE](key, value);\n return false;\n }\n this[$233d77d4742ed838$var$LENGTH] += hit.length;\n this[$233d77d4742ed838$var$LRU_LIST].unshift(hit);\n this[$233d77d4742ed838$var$CACHE].set(key, this[$233d77d4742ed838$var$LRU_LIST].head);\n $233d77d4742ed838$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$233d77d4742ed838$var$CACHE].has(key)) return false;\n const hit = this[$233d77d4742ed838$var$CACHE].get(key).value;\n return !$233d77d4742ed838$var$isStale(this, hit);\n }\n get(key) {\n return $233d77d4742ed838$var$get(this, key, true);\n }\n peek(key) {\n return $233d77d4742ed838$var$get(this, key, false);\n }\n pop() {\n const node = this[$233d77d4742ed838$var$LRU_LIST].tail;\n if (!node) return null;\n $233d77d4742ed838$var$del(this, node);\n return node.value;\n }\n del(key) {\n $233d77d4742ed838$var$del(this, this[$233d77d4742ed838$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$233d77d4742ed838$var$CACHE].forEach((value, key)=>$233d77d4742ed838$var$get(this, key, false));\n }\n}\nconst $233d77d4742ed838$var$get = (self, key, doUse)=>{\n const node = self[$233d77d4742ed838$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($233d77d4742ed838$var$isStale(self, hit)) {\n $233d77d4742ed838$var$del(self, node);\n if (!self[$233d77d4742ed838$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$233d77d4742ed838$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$233d77d4742ed838$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $233d77d4742ed838$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$233d77d4742ed838$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$233d77d4742ed838$var$MAX_AGE] && diff > self[$233d77d4742ed838$var$MAX_AGE];\n};\nconst $233d77d4742ed838$var$trim = (self)=>{\n if (self[$233d77d4742ed838$var$LENGTH] > self[$233d77d4742ed838$var$MAX]) for(let walker = self[$233d77d4742ed838$var$LRU_LIST].tail; self[$233d77d4742ed838$var$LENGTH] > self[$233d77d4742ed838$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $233d77d4742ed838$var$del(self, walker);\n walker = prev;\n }\n};\nconst $233d77d4742ed838$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$233d77d4742ed838$var$DISPOSE]) self[$233d77d4742ed838$var$DISPOSE](hit.key, hit.value);\n self[$233d77d4742ed838$var$LENGTH] -= hit.length;\n self[$233d77d4742ed838$var$CACHE].delete(hit.key);\n self[$233d77d4742ed838$var$LRU_LIST].removeNode(node);\n }\n};\nclass $233d77d4742ed838$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $233d77d4742ed838$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($233d77d4742ed838$var$isStale(self, hit)) {\n $233d77d4742ed838$var$del(self, node);\n if (!self[$233d77d4742ed838$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $233d77d4742ed838$var$LRUCache;\n\n});\nparcelRegister(\"i08Cw\", function(module, exports) {\n\"use strict\";\nmodule.exports = $d1aee9e840285ba3$var$Yallist;\n$d1aee9e840285ba3$var$Yallist.Node = $d1aee9e840285ba3$var$Node;\n$d1aee9e840285ba3$var$Yallist.create = $d1aee9e840285ba3$var$Yallist;\nfunction $d1aee9e840285ba3$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $d1aee9e840285ba3$var$Yallist)) self = new $d1aee9e840285ba3$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$d1aee9e840285ba3$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$d1aee9e840285ba3$var$push(this, arguments[i]);\n return this.length;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$d1aee9e840285ba3$var$unshift(this, arguments[i]);\n return this.length;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$d1aee9e840285ba3$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$d1aee9e840285ba3$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $d1aee9e840285ba3$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $d1aee9e840285ba3$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $d1aee9e840285ba3$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $d1aee9e840285ba3$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $d1aee9e840285ba3$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $d1aee9e840285ba3$var$insert(self, node, value) {\n var inserted = node === self.head ? new $d1aee9e840285ba3$var$Node(value, null, node, self) : new $d1aee9e840285ba3$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $d1aee9e840285ba3$var$push(self, item) {\n self.tail = new $d1aee9e840285ba3$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $d1aee9e840285ba3$var$unshift(self, item) {\n self.head = new $d1aee9e840285ba3$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $d1aee9e840285ba3$var$Node(value, prev, next, list) {\n if (!(this instanceof $d1aee9e840285ba3$var$Node)) return new $d1aee9e840285ba3$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"5MZUR\"))($d1aee9e840285ba3$var$Yallist);\n} catch (er) {}\n\n});\nparcelRegister(\"5MZUR\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRegister(\"42oIR\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $2f0a86b5a65258ab$var$satisfies = (version, range, options)=>{\n try {\n range = new $bswWF(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $2f0a86b5a65258ab$var$satisfies;\n\n});\n\nparcelRegister(\"4zfp3\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\n// Mostly just for testing and legacy API reasons\nconst $3536610e76dfa838$var$toComparators = (range, options)=>new $bswWF(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $3536610e76dfa838$var$toComparators;\n\n});\n\nparcelRegister(\"ga5uZ\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $bc41d878d052b110$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $bswWF(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $8cXe9(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $bc41d878d052b110$var$maxSatisfying;\n\n});\n\nparcelRegister(\"lPGVL\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $fe4fa984faf344fb$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $bswWF(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $8cXe9(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $fe4fa984faf344fb$var$minSatisfying;\n\n});\n\nparcelRegister(\"1I8AA\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\nconst $13f0901f38b9c38e$var$minVersion = (range, loose)=>{\n range = new $bswWF(range, loose);\n let minver = new $8cXe9(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $8cXe9(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $8cXe9(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $cOpcP(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $cOpcP(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $13f0901f38b9c38e$var$minVersion;\n\n});\n\nparcelRegister(\"dBtft\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $028e47ec34506e56$var$validRange = (range, options)=>{\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new $bswWF(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $028e47ec34506e56$var$validRange;\n\n});\n\nparcelRegister(\"83Sp2\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\nconst { ANY: $5de8cdd25b195029$var$ANY } = $1bxhC;\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\n\nvar $58P10 = parcelRequire(\"58P10\");\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\nvar $3XWvL = parcelRequire(\"3XWvL\");\nconst $5de8cdd25b195029$var$outside = (version, range, hilo, options)=>{\n version = new $8cXe9(version, options);\n range = new $bswWF(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $cOpcP;\n ltefn = $hlfY9;\n ltfn = $58P10;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $58P10;\n ltefn = $3XWvL;\n ltfn = $cOpcP;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($42oIR(version, range, options)) return false;\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $5de8cdd25b195029$var$ANY) comparator = new $1bxhC(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\n });\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) return false;\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $5de8cdd25b195029$var$outside;\n\n});\n\nparcelRegister(\"eK4my\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $83Sp2 = parcelRequire(\"83Sp2\");\nconst $abb8bee76fa63cbc$var$gtr = (version, range, options)=>$83Sp2(version, range, \">\", options);\nmodule.exports = $abb8bee76fa63cbc$var$gtr;\n\n});\n\nparcelRegister(\"eNXBI\", function(module, exports) {\n\nvar $83Sp2 = parcelRequire(\"83Sp2\");\n// Determine if version is less than all the versions possible in the range\nconst $ac73e10f90b51c3e$var$ltr = (version, range, options)=>$83Sp2(version, range, \"<\", options);\nmodule.exports = $ac73e10f90b51c3e$var$ltr;\n\n});\n\nparcelRegister(\"kHzUo\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $f123ad78b38d1607$var$intersects = (r1, r2, options)=>{\n r1 = new $bswWF(r1, options);\n r2 = new $bswWF(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $f123ad78b38d1607$var$intersects;\n\n});\n\nparcelRegister(\"1x2XZ\", function(module, exports) {\n// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$jDqfd(a, b, options));\n for (const version of v){\n const included = $42oIR(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\n }\n const simplified = ranges.join(\" || \");\n const original = typeof range.raw === \"string\" ? range.raw : String(range);\n return simplified.length < original.length ? simplified : range;\n};\n\n});\n\nparcelRegister(\"hTYir\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\nconst { ANY: $d086585c4d9c3926$var$ANY } = $1bxhC;\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\nconst $d086585c4d9c3926$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $bswWF(sub, options);\n dom = new $bswWF(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $d086585c4d9c3926$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) return false;\n }\n return true;\n};\nconst $d086585c4d9c3926$var$minimumVersionWithPreRelease = [\n new $1bxhC(\">=0.0.0-0\")\n];\nconst $d086585c4d9c3926$var$minimumVersion = [\n new $1bxhC(\">=0.0.0\")\n];\nconst $d086585c4d9c3926$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $d086585c4d9c3926$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $d086585c4d9c3926$var$ANY) return true;\n else if (options.includePrerelease) sub = $d086585c4d9c3926$var$minimumVersionWithPreRelease;\n else sub = $d086585c4d9c3926$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $d086585c4d9c3926$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $d086585c4d9c3926$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $d086585c4d9c3926$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $d086585c4d9c3926$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $jDqfd(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$42oIR(eq, String(gt), options)) return null;\n if (lt && !$42oIR(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$42oIR(eq, String(c), options)) return false;\n }\n return true;\n }\n let higher, lower;\n let hasDomLT, hasDomGT;\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\n for (const c of dom){\n hasDomGT = hasDomGT || c.operator === \">\" || c.operator === \">=\";\n hasDomLT = hasDomLT || c.operator === \"<\" || c.operator === \"<=\";\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $d086585c4d9c3926$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$42oIR(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $d086585c4d9c3926$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$42oIR(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\n }\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $d086585c4d9c3926$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $jDqfd(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $d086585c4d9c3926$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $jDqfd(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $d086585c4d9c3926$var$subset;\n\n});\n\n\nparcelRegister(\"8CJZb\", function(module, exports) {\n\"use strict\";\nvar $64758b2fa15e88f6$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($64758b2fa15e88f6$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"6t4SD\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $4b593c9b16f6bd98$export$f8b9fb4db095815b);\n\nasync function $4b593c9b16f6bd98$export$f8b9fb4db095815b(path) {\n try {\n await (0, $4umf8$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $4b593c9b16f6bd98$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($4umf8$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"eAXk4\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $3d8ba83a43ccecc4$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $3d8ba83a43ccecc4$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $3d8ba83a43ccecc4$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $4umf8$path.dirname);\n$parcel$export(module.exports, \"join\", () => $4umf8$path.join);\n\n\nvar $f44Uw = parcelRequire(\"f44Uw\");\n\nvar $fBJE3 = parcelRequire(\"fBJE3\");\nfunction $3d8ba83a43ccecc4$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $3d8ba83a43ccecc4$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $3d8ba83a43ccecc4$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $4umf8$path.basename)(e) : (0, $4umf8$path.basename)(e, (0, $4umf8$path.extname)(e));\n}\nfunction $3d8ba83a43ccecc4$export$873fead74fe2f1ff(e) {\n return (0, $4umf8$path.normalize)(e).replace(RegExp((0, $f44Uw.default)((0, $4umf8$path.sep)) + \"$\"), \"\");\n}\nfunction $3d8ba83a43ccecc4$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3d8ba83a43ccecc4$export$3e333f8cb13439c(e, a) {\n const r = (0, $4umf8$path.extname)(e), s = `${a}${(0, $4umf8$path.basename)(e, r)}${r}`;\n return (0, $4umf8$path.join)((0, $4umf8$path.dirname)(e), s);\n}\nfunction $3d8ba83a43ccecc4$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $4umf8$path.extname)(e), s = `${(0, $4umf8$path.basename)(e, r)}${a}${r}`;\n return (0, $4umf8$path.join)((0, $4umf8$path.dirname)(e), s);\n}\nfunction $3d8ba83a43ccecc4$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3d8ba83a43ccecc4$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $3d8ba83a43ccecc4$export$19c5468f88f6e968(e) {\n const a = (0, $4umf8$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $3d8ba83a43ccecc4$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($fBJE3)))(e, a);\n}\nfunction $3d8ba83a43ccecc4$export$7d0573375890d05c(e, a) {\n const r = (0, $4umf8$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $4umf8$path.sep)) || r === (0, $4umf8$path.resolve)(e));\n}\nvar $3d8ba83a43ccecc4$var$O = {}, $3d8ba83a43ccecc4$var$R = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$R, \"name\", ()=>$3d8ba83a43ccecc4$export$a8ff84c12d48cfa6);\nvar $3d8ba83a43ccecc4$var$A = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$A, \"normalizeTrim\", ()=>$3d8ba83a43ccecc4$export$873fead74fe2f1ff);\nvar $3d8ba83a43ccecc4$var$I = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$I, \"addExeExt\", ()=>$3d8ba83a43ccecc4$export$2d20c564cade3c93);\nvar $3d8ba83a43ccecc4$var$T = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$T, \"addNamePrefix\", ()=>$3d8ba83a43ccecc4$export$3e333f8cb13439c);\nvar $3d8ba83a43ccecc4$var$_ = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$_, \"addNameSuffix\", ()=>$3d8ba83a43ccecc4$export$3b60a3e9bd1aef9d);\nvar $3d8ba83a43ccecc4$var$k = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$k, \"addShExt\", ()=>$3d8ba83a43ccecc4$export$609be29b80b555e1);\nvar $3d8ba83a43ccecc4$var$M = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$M, \"addShRelativePrefix\", ()=>$3d8ba83a43ccecc4$export$e1f23f8d3e53fe6);\nvar $3d8ba83a43ccecc4$var$W = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$W, \"removeExt\", ()=>$3d8ba83a43ccecc4$export$19c5468f88f6e968);\nvar $3d8ba83a43ccecc4$var$q = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$q, \"replaceExt\", ()=>$3d8ba83a43ccecc4$export$e9c34737ac8e53d2);\nvar $3d8ba83a43ccecc4$var$B = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$B, \"isPathInside\", ()=>$3d8ba83a43ccecc4$export$7d0573375890d05c), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$R), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$A), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$I), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$T), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$_), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$k), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$M), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$W), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$q), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$B);\n\n});\nparcelRegister(\"f44Uw\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $af7b09e757bea83c$export$2e2bcd8739ae039);\nfunction $af7b09e757bea83c$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // Use a simple backslash escape when its always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns stricter grammar.\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"fBJE3\", function(module, exports) {\n\"use strict\";\n\nfunction $b5cdb7e29045d953$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $4umf8$path.basename(npath, $4umf8$path.extname(npath)) + ext;\n var nFilepath = $4umf8$path.join($4umf8$path.dirname(npath), nFileName);\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if ($b5cdb7e29045d953$var$startsWithSingleDot(npath)) return \".\" + $4umf8$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $b5cdb7e29045d953$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $4umf8$path.sep || first2chars === \"./\";\n}\nmodule.exports = $b5cdb7e29045d953$var$replaceExt;\n\n});\n\n\nparcelRegister(\"zdagz\", function(module, exports) {\n\"use strict\";\nvar $069d7b36246212b5$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $069d7b36246212b5$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $069d7b36246212b5$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $069d7b36246212b5$var$__createBinding(result, mod, k);\n }\n $069d7b36246212b5$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $069d7b36246212b5$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $069d7b36246212b5$var$path = $069d7b36246212b5$var$__importStar($4umf8$path);\n\nconst $069d7b36246212b5$var$ioUtil = $069d7b36246212b5$var$__importStar((parcelRequire(\"fwMQK\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $069d7b36246212b5$var$cp(source, dest, options = {}) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $069d7b36246212b5$var$readCopyOptions(options);\n const destStat = (yield $069d7b36246212b5$var$ioUtil.exists(dest)) ? yield $069d7b36246212b5$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $069d7b36246212b5$var$path.join(dest, $069d7b36246212b5$var$path.basename(source)) : dest;\n if (!(yield $069d7b36246212b5$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $069d7b36246212b5$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $069d7b36246212b5$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($069d7b36246212b5$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $069d7b36246212b5$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $069d7b36246212b5$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $069d7b36246212b5$var$mv(source, dest, options = {}) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $069d7b36246212b5$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $069d7b36246212b5$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $069d7b36246212b5$var$path.join(dest, $069d7b36246212b5$var$path.basename(source));\n destExists = yield $069d7b36246212b5$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $069d7b36246212b5$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $069d7b36246212b5$var$mkdirP($069d7b36246212b5$var$path.dirname(dest));\n yield $069d7b36246212b5$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $069d7b36246212b5$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $069d7b36246212b5$var$rmRF(inputPath) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if ($069d7b36246212b5$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $069d7b36246212b5$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $069d7b36246212b5$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise<void>\n */ function $069d7b36246212b5$var$mkdirP(fsPath) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok(fsPath, \"a path argument must be provided\");\n yield $069d7b36246212b5$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $069d7b36246212b5$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise<string> path to tool\n */ function $069d7b36246212b5$var$which(tool, check) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $069d7b36246212b5$var$which(tool, false);\n if (!result) {\n if ($069d7b36246212b5$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`);\n else throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);\n }\n return result;\n }\n const matches = yield $069d7b36246212b5$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $069d7b36246212b5$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise<string[]> the paths of the tool\n */ function $069d7b36246212b5$var$findInPath(tool) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($069d7b36246212b5$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($069d7b36246212b5$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($069d7b36246212b5$var$ioUtil.isRooted(tool)) {\n const filePath = yield $069d7b36246212b5$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($069d7b36246212b5$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($069d7b36246212b5$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $069d7b36246212b5$var$ioUtil.tryGetExecutablePath($069d7b36246212b5$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $069d7b36246212b5$var$findInPath;\nfunction $069d7b36246212b5$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $069d7b36246212b5$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $069d7b36246212b5$var$mkdirP(destDir);\n const files = yield $069d7b36246212b5$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $069d7b36246212b5$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $069d7b36246212b5$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $069d7b36246212b5$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $069d7b36246212b5$var$ioUtil.chmod(destDir, (yield $069d7b36246212b5$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $069d7b36246212b5$var$copyFile(srcFile, destFile, force) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $069d7b36246212b5$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $069d7b36246212b5$var$ioUtil.lstat(destFile);\n yield $069d7b36246212b5$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $069d7b36246212b5$var$ioUtil.chmod(destFile, \"0666\");\n yield $069d7b36246212b5$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $069d7b36246212b5$var$ioUtil.readlink(srcFile);\n yield $069d7b36246212b5$var$ioUtil.symlink(symlinkFull, destFile, $069d7b36246212b5$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $069d7b36246212b5$var$ioUtil.exists(destFile)) || force) yield $069d7b36246212b5$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"fwMQK\", function(module, exports) {\n\"use strict\";\nvar $b4dfbcbe65695fe8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b4dfbcbe65695fe8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b4dfbcbe65695fe8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b4dfbcbe65695fe8$var$__createBinding(result, mod, k);\n }\n $b4dfbcbe65695fe8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b4dfbcbe65695fe8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $b4dfbcbe65695fe8$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $b4dfbcbe65695fe8$var$fs = $b4dfbcbe65695fe8$var$__importStar($4umf8$fs);\n\nconst $b4dfbcbe65695fe8$var$path = $b4dfbcbe65695fe8$var$__importStar($4umf8$path);\n$b4dfbcbe65695fe8$var$_a = $b4dfbcbe65695fe8$var$fs.promises, module.exports.chmod = $b4dfbcbe65695fe8$var$_a.chmod, module.exports.copyFile = $b4dfbcbe65695fe8$var$_a.copyFile, module.exports.lstat = $b4dfbcbe65695fe8$var$_a.lstat, module.exports.mkdir = $b4dfbcbe65695fe8$var$_a.mkdir, module.exports.open = $b4dfbcbe65695fe8$var$_a.open, module.exports.readdir = $b4dfbcbe65695fe8$var$_a.readdir, module.exports.readlink = $b4dfbcbe65695fe8$var$_a.readlink, module.exports.rename = $b4dfbcbe65695fe8$var$_a.rename, module.exports.rm = $b4dfbcbe65695fe8$var$_a.rm, module.exports.rmdir = $b4dfbcbe65695fe8$var$_a.rmdir, module.exports.stat = $b4dfbcbe65695fe8$var$_a.stat, module.exports.symlink = $b4dfbcbe65695fe8$var$_a.symlink, module.exports.unlink = $b4dfbcbe65695fe8$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $b4dfbcbe65695fe8$var$fs.constants.O_RDONLY;\nfunction $b4dfbcbe65695fe8$var$exists(fsPath) {\n return $b4dfbcbe65695fe8$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $b4dfbcbe65695fe8$var$exists;\nfunction $b4dfbcbe65695fe8$var$isDirectory(fsPath, useStat = false) {\n return $b4dfbcbe65695fe8$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $b4dfbcbe65695fe8$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $b4dfbcbe65695fe8$var$isRooted(p) {\n p = $b4dfbcbe65695fe8$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $b4dfbcbe65695fe8$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $b4dfbcbe65695fe8$var$tryGetExecutablePath(filePath, extensions) {\n return $b4dfbcbe65695fe8$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $b4dfbcbe65695fe8$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($b4dfbcbe65695fe8$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $b4dfbcbe65695fe8$var$path.dirname(filePath);\n const upperName = $b4dfbcbe65695fe8$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $b4dfbcbe65695fe8$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($b4dfbcbe65695fe8$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $b4dfbcbe65695fe8$var$tryGetExecutablePath;\nfunction $b4dfbcbe65695fe8$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $b4dfbcbe65695fe8$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $b4dfbcbe65695fe8$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $b4dfbcbe65695fe8$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"gn8Si\", function(module, exports) {\n\"use strict\";\nvar $beb5ada45dfdd93d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $beb5ada45dfdd93d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $beb5ada45dfdd93d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $beb5ada45dfdd93d$var$__createBinding(result, mod, k);\n }\n $beb5ada45dfdd93d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $beb5ada45dfdd93d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $beb5ada45dfdd93d$var$semver = $beb5ada45dfdd93d$var$__importStar((parcelRequire(\"0306Y\")));\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\n\nfunction $beb5ada45dfdd93d$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $beb5ada45dfdd93d$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $4umf8$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $1o3Gj.debug(`check ${version} satisfies ${versionSpec}`);\n if ($beb5ada45dfdd93d$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $1o3Gj.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $beb5ada45dfdd93d$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $1o3Gj.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $beb5ada45dfdd93d$var$_findMatch;\nfunction $beb5ada45dfdd93d$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $4umf8$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $4umf8$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $beb5ada45dfdd93d$var$_getOsVersion;\nfunction $beb5ada45dfdd93d$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($4umf8$fs.existsSync(lsbReleaseFile)) contents = $4umf8$fs.readFileSync(lsbReleaseFile).toString();\n else if ($4umf8$fs.existsSync(osReleaseFile)) contents = $4umf8$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $beb5ada45dfdd93d$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"0306Y\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function(release, identifier) {\n switch(release){\n case \"premajor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor = 0;\n this.major++;\n this.inc(\"pre\", identifier);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier);\n break;\n case \"prepatch\":\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0;\n this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case \"prerelease\":\n if (this.prerelease.length === 0) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\n case \"major\":\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\n this.minor = 0;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"minor\":\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) this.minor++;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"patch\":\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) this.patch++;\n this.prerelease = [];\n break;\n // This probably shouldn't be used publicly.\n // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n case \"pre\":\n if (this.prerelease.length === 0) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\n });\n}\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator(comp, options) {\n debug(\"comp\", comp, options);\n comp = replaceCarets(comp, options);\n debug(\"caret\", comp);\n comp = replaceTildes(comp, options);\n debug(\"tildes\", comp);\n comp = replaceXRanges(comp, options);\n debug(\"xrange\", comp);\n comp = replaceStars(comp, options);\n debug(\"stars\", comp);\n return comp;\n}\nfunction isX(id) {\n return !id || id.toLowerCase() === \"x\" || id === \"*\";\n}\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? \"-0\" : \"\";\n if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\n gtlt = \">=\";\n if (xm) {\n M = +M + 1;\n m = 0;\n p = 0;\n } else {\n m = +m + 1;\n p = 0;\n }\n } else if (gtlt === \"<=\") {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = \"<\";\n if (xm) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars(comp, options) {\n debug(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(safeRe[t.STAR], \"\");\n}\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\n }\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction satisfies(version, range, options) {\n try {\n range = new Range(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new SemVer(max, options);\n }\n }\n });\n return max;\n}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new SemVer(min, options);\n }\n }\n });\n return min;\n}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction validRange(range, options) {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = gt;\n ltefn = lte;\n ltfn = lt;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = lt;\n ltefn = gte;\n ltfn = gt;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\n });\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) return false;\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[t.COERCE]);\n else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"GX8zo\", function(module, exports) {\n\nvar $7qQbq = parcelRequire(\"7qQbq\");\n\nvar $c22IK = parcelRequire(\"c22IK\");\nfunction $0811cbc79176afae$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $7qQbq)();\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $c22IK(rnds);\n}\nmodule.exports = $0811cbc79176afae$var$v4;\n\n});\nparcelRegister(\"7qQbq\", function(module, exports) {\n// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nmodule.exports = function nodeRNG() {\n return $4umf8$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"c22IK\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $8c27c83ef5b4f27e$var$byteToHex = [];\nfor(var $8c27c83ef5b4f27e$var$i = 0; $8c27c83ef5b4f27e$var$i < 256; ++$8c27c83ef5b4f27e$var$i)$8c27c83ef5b4f27e$var$byteToHex[$8c27c83ef5b4f27e$var$i] = ($8c27c83ef5b4f27e$var$i + 0x100).toString(16).substr(1);\nfunction $8c27c83ef5b4f27e$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $8c27c83ef5b4f27e$var$byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return [\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $8c27c83ef5b4f27e$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"bHzmH\", function(module, exports) {\n\"use strict\";\nvar $884f249efde1efb4$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $884f249efde1efb4$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $884f249efde1efb4$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $884f249efde1efb4$var$__createBinding(result, mod, k);\n }\n $884f249efde1efb4$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $884f249efde1efb4$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $884f249efde1efb4$var$tr = $884f249efde1efb4$var$__importStar((parcelRequire(\"iYbsa\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise<number> exit code\n */ function $884f249efde1efb4$var$exec(commandLine, args, options) {\n return $884f249efde1efb4$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $884f249efde1efb4$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $884f249efde1efb4$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $884f249efde1efb4$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise<ExecOutput> exit code, stdout, and stderr\n */ function $884f249efde1efb4$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $884f249efde1efb4$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $4umf8$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $4umf8$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $884f249efde1efb4$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $884f249efde1efb4$var$getExecOutput;\n\n});\nparcelRegister(\"iYbsa\", function(module, exports) {\n\"use strict\";\nvar $dcf6b6fa3b8725c1$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $dcf6b6fa3b8725c1$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $dcf6b6fa3b8725c1$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $dcf6b6fa3b8725c1$var$__createBinding(result, mod, k);\n }\n $dcf6b6fa3b8725c1$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $dcf6b6fa3b8725c1$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $dcf6b6fa3b8725c1$var$os = $dcf6b6fa3b8725c1$var$__importStar($4umf8$os);\n\nconst $dcf6b6fa3b8725c1$var$events = $dcf6b6fa3b8725c1$var$__importStar($4umf8$events);\n\nconst $dcf6b6fa3b8725c1$var$child = $dcf6b6fa3b8725c1$var$__importStar($4umf8$child_process);\n\nconst $dcf6b6fa3b8725c1$var$path = $dcf6b6fa3b8725c1$var$__importStar($4umf8$path);\n\nconst $dcf6b6fa3b8725c1$var$io = $dcf6b6fa3b8725c1$var$__importStar((parcelRequire(\"zdagz\")));\n\nconst $dcf6b6fa3b8725c1$var$ioUtil = $dcf6b6fa3b8725c1$var$__importStar((parcelRequire(\"fwMQK\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $dcf6b6fa3b8725c1$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $dcf6b6fa3b8725c1$var$ToolRunner extends $dcf6b6fa3b8725c1$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($dcf6b6fa3b8725c1$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($dcf6b6fa3b8725c1$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $dcf6b6fa3b8725c1$var$os.EOL.length);\n n = s.indexOf($dcf6b6fa3b8725c1$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($dcf6b6fa3b8725c1$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($dcf6b6fa3b8725c1$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $dcf6b6fa3b8725c1$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$dcf6b6fa3b8725c1$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $dcf6b6fa3b8725c1$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $dcf6b6fa3b8725c1$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $dcf6b6fa3b8725c1$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$dcf6b6fa3b8725c1$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $dcf6b6fa3b8725c1$var$os.EOL);\n const state = new $dcf6b6fa3b8725c1$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $dcf6b6fa3b8725c1$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $dcf6b6fa3b8725c1$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $dcf6b6fa3b8725c1$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $dcf6b6fa3b8725c1$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $dcf6b6fa3b8725c1$var$argStringToArray;\nclass $dcf6b6fa3b8725c1$var$ExecState extends $dcf6b6fa3b8725c1$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $4umf8$timers.setTimeout($dcf6b6fa3b8725c1$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"fEioR\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.7877377d.js\")).then(()=>parcelRequire(\"8L9T2\"));\n\n});\n\nparcelRegister(\"7fBnG\", function(module, exports) {\n\n$parcel$export(module.exports, \"DOMParser\", () => $5476ee37c692e534$export$1059c6e7d2ce5669, (v) => $5476ee37c692e534$export$1059c6e7d2ce5669 = v);\nvar $5476ee37c692e534$export$181392475aa39887;\nvar $5476ee37c692e534$export$ba13e0e2f19e61a1;\nvar $5476ee37c692e534$export$1059c6e7d2ce5669;\n\nvar $e95yL = parcelRequire(\"e95yL\");\n\nvar $7KjWO = parcelRequire(\"7KjWO\");\n\nvar $aeYiS = parcelRequire(\"aeYiS\");\n\nvar $aKT05 = parcelRequire(\"aKT05\");\nvar $5476ee37c692e534$var$DOMImplementation = $7KjWO.DOMImplementation;\nvar $5476ee37c692e534$var$NAMESPACE = $e95yL.NAMESPACE;\nvar $5476ee37c692e534$var$ParseError = $aKT05.ParseError;\nvar $5476ee37c692e534$var$XMLReader = $aKT05.XMLReader;\n/**\n * Normalizes line ending according to https://www.w3.org/TR/xml11/#sec-line-ends:\n *\n * > XML parsed entities are often stored in computer files which,\n * > for editing convenience, are organized into lines.\n * > These lines are typically separated by some combination\n * > of the characters CARRIAGE RETURN (#xD) and LINE FEED (#xA).\n * >\n * > To simplify the tasks of applications, the XML processor must behave\n * > as if it normalized all line breaks in external parsed entities (including the document entity)\n * > on input, before parsing, by translating all of the following to a single #xA character:\n * >\n * > 1. the two-character sequence #xD #xA\n * > 2. the two-character sequence #xD #x85\n * > 3. the single character #x85\n * > 4. the single character #x2028\n * > 5. any #xD character that is not immediately followed by #xA or #x85.\n *\n * @param {string} input\n * @returns {string}\n */ function $5476ee37c692e534$var$normalizeLineEndings(input) {\n return input.replace(/\\r[\\n\\u0085]/g, \"\\n\").replace(/[\\r\\u0085\\u2028]/g, \"\\n\");\n}\n/**\n * @typedef Locator\n * @property {number} [columnNumber]\n * @property {number} [lineNumber]\n */ /**\n * @typedef DOMParserOptions\n * @property {DOMHandler} [domBuilder]\n * @property {Function} [errorHandler]\n * @property {(string) => string} [normalizeLineEndings] used to replace line endings before parsing\n * \t\t\t\t\t\tdefaults to `normalizeLineEndings`\n * @property {Locator} [locator]\n * @property {Record<string, string>} [xmlns]\n *\n * @see normalizeLineEndings\n */ /**\n * The DOMParser interface provides the ability to parse XML or HTML source code\n * from a string into a DOM `Document`.\n *\n * _xmldom is different from the spec in that it allows an `options` parameter,\n * to override the default behavior._\n *\n * @param {DOMParserOptions} [options]\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization\n */ function $5476ee37c692e534$var$DOMParser(options) {\n this.options = options || {\n locator: {}\n };\n}\n$5476ee37c692e534$var$DOMParser.prototype.parseFromString = function(source, mimeType) {\n var options = this.options;\n var sax = new $5476ee37c692e534$var$XMLReader();\n var domBuilder = options.domBuilder || new $5476ee37c692e534$var$DOMHandler(); //contentHandler and LexicalHandler\n var errorHandler = options.errorHandler;\n var locator = options.locator;\n var defaultNSMap = options.xmlns || {};\n var isHTML = /\\/x?html?$/.test(mimeType); //mimeType.toLowerCase().indexOf('html') > -1;\n var entityMap = isHTML ? $aeYiS.HTML_ENTITIES : $aeYiS.XML_ENTITIES;\n if (locator) domBuilder.setDocumentLocator(locator);\n sax.errorHandler = $5476ee37c692e534$var$buildErrorHandler(errorHandler, domBuilder, locator);\n sax.domBuilder = options.domBuilder || domBuilder;\n if (isHTML) defaultNSMap[\"\"] = $5476ee37c692e534$var$NAMESPACE.HTML;\n defaultNSMap.xml = defaultNSMap.xml || $5476ee37c692e534$var$NAMESPACE.XML;\n var normalize = options.normalizeLineEndings || $5476ee37c692e534$var$normalizeLineEndings;\n if (source && typeof source === \"string\") sax.parse(normalize(source), defaultNSMap, entityMap);\n else sax.errorHandler.error(\"invalid doc source\");\n return domBuilder.doc;\n};\nfunction $5476ee37c692e534$var$buildErrorHandler(errorImpl, domBuilder, locator) {\n if (!errorImpl) {\n if (domBuilder instanceof $5476ee37c692e534$var$DOMHandler) return domBuilder;\n errorImpl = domBuilder;\n }\n var errorHandler = {};\n var isCallback = errorImpl instanceof Function;\n locator = locator || {};\n function build(key) {\n var fn = errorImpl[key];\n if (!fn && isCallback) fn = errorImpl.length == 2 ? function(msg) {\n errorImpl(key, msg);\n } : errorImpl;\n errorHandler[key] = fn && function(msg) {\n fn(\"[xmldom \" + key + \"]\t\" + msg + $5476ee37c692e534$var$_locator(locator));\n } || function() {};\n }\n build(\"warning\");\n build(\"error\");\n build(\"fatalError\");\n return errorHandler;\n}\n//console.log('#\\n\\n\\n\\n\\n\\n\\n####')\n/**\n * +ContentHandler+ErrorHandler\n * +LexicalHandler+EntityResolver2\n * -DeclHandler-DTDHandler\n *\n * DefaultHandler:EntityResolver, DTDHandler, ContentHandler, ErrorHandler\n * DefaultHandler2:DefaultHandler,LexicalHandler, DeclHandler, EntityResolver2\n * @link http://www.saxproject.org/apidoc/org/xml/sax/helpers/DefaultHandler.html\n */ function $5476ee37c692e534$var$DOMHandler() {\n this.cdata = false;\n}\nfunction $5476ee37c692e534$var$position(locator, node) {\n node.lineNumber = locator.lineNumber;\n node.columnNumber = locator.columnNumber;\n}\n/**\n * @see org.xml.sax.ContentHandler#startDocument\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html\n */ $5476ee37c692e534$var$DOMHandler.prototype = {\n startDocument: function() {\n this.doc = new $5476ee37c692e534$var$DOMImplementation().createDocument(null, null, null);\n if (this.locator) this.doc.documentURI = this.locator.systemId;\n },\n startElement: function(namespaceURI, localName, qName, attrs) {\n var doc = this.doc;\n var el = doc.createElementNS(namespaceURI, qName || localName);\n var len = attrs.length;\n $5476ee37c692e534$var$appendElement(this, el);\n this.currentElement = el;\n this.locator && $5476ee37c692e534$var$position(this.locator, el);\n for(var i = 0; i < len; i++){\n var namespaceURI = attrs.getURI(i);\n var value = attrs.getValue(i);\n var qName = attrs.getQName(i);\n var attr = doc.createAttributeNS(namespaceURI, qName);\n this.locator && $5476ee37c692e534$var$position(attrs.getLocator(i), attr);\n attr.value = attr.nodeValue = value;\n el.setAttributeNode(attr);\n }\n },\n endElement: function(namespaceURI, localName, qName) {\n var current = this.currentElement;\n var tagName = current.tagName;\n this.currentElement = current.parentNode;\n },\n startPrefixMapping: function(prefix, uri) {},\n endPrefixMapping: function(prefix) {},\n processingInstruction: function(target, data) {\n var ins = this.doc.createProcessingInstruction(target, data);\n this.locator && $5476ee37c692e534$var$position(this.locator, ins);\n $5476ee37c692e534$var$appendElement(this, ins);\n },\n ignorableWhitespace: function(ch, start, length) {},\n characters: function(chars, start, length) {\n chars = $5476ee37c692e534$var$_toString.apply(this, arguments);\n //console.log(chars)\n if (chars) {\n if (this.cdata) var charNode = this.doc.createCDATASection(chars);\n else var charNode = this.doc.createTextNode(chars);\n if (this.currentElement) this.currentElement.appendChild(charNode);\n else if (/^\\s*$/.test(chars)) this.doc.appendChild(charNode);\n this.locator && $5476ee37c692e534$var$position(this.locator, charNode);\n }\n },\n skippedEntity: function(name) {},\n endDocument: function() {\n this.doc.normalize();\n },\n setDocumentLocator: function(locator) {\n if (this.locator = locator) locator.lineNumber = 0;\n },\n //LexicalHandler\n comment: function(chars, start, length) {\n chars = $5476ee37c692e534$var$_toString.apply(this, arguments);\n var comm = this.doc.createComment(chars);\n this.locator && $5476ee37c692e534$var$position(this.locator, comm);\n $5476ee37c692e534$var$appendElement(this, comm);\n },\n startCDATA: function() {\n //used in characters() methods\n this.cdata = true;\n },\n endCDATA: function() {\n this.cdata = false;\n },\n startDTD: function(name, publicId, systemId) {\n var impl = this.doc.implementation;\n if (impl && impl.createDocumentType) {\n var dt = impl.createDocumentType(name, publicId, systemId);\n this.locator && $5476ee37c692e534$var$position(this.locator, dt);\n $5476ee37c692e534$var$appendElement(this, dt);\n this.doc.doctype = dt;\n }\n },\n /**\n\t * @see org.xml.sax.ErrorHandler\n\t * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html\n\t */ warning: function(error) {\n console.warn(\"[xmldom warning]\t\" + error, $5476ee37c692e534$var$_locator(this.locator));\n },\n error: function(error) {\n console.error(\"[xmldom error]\t\" + error, $5476ee37c692e534$var$_locator(this.locator));\n },\n fatalError: function(error) {\n throw new $5476ee37c692e534$var$ParseError(error, this.locator);\n }\n};\nfunction $5476ee37c692e534$var$_locator(l) {\n if (l) return \"\\n@\" + (l.systemId || \"\") + \"#[line:\" + l.lineNumber + \",col:\" + l.columnNumber + \"]\";\n}\nfunction $5476ee37c692e534$var$_toString(chars, start, length) {\n if (typeof chars == \"string\") return chars.substr(start, length);\n else {\n if (chars.length >= start + length || start) return new java.lang.String(chars, start, length) + \"\";\n return chars;\n }\n}\n/*\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html\n * used method of org.xml.sax.ext.LexicalHandler:\n * #comment(chars, start, length)\n * #startCDATA()\n * #endCDATA()\n * #startDTD(name, publicId, systemId)\n *\n *\n * IGNORED method of org.xml.sax.ext.LexicalHandler:\n * #endDTD()\n * #startEntity(name)\n * #endEntity(name)\n *\n *\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/DeclHandler.html\n * IGNORED method of org.xml.sax.ext.DeclHandler\n * \t#attributeDecl(eName, aName, type, mode, value)\n * #elementDecl(name, model)\n * #externalEntityDecl(name, publicId, systemId)\n * #internalEntityDecl(name, value)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html\n * IGNORED method of org.xml.sax.EntityResolver2\n * #resolveEntity(String name,String publicId,String baseURI,String systemId)\n * #resolveEntity(publicId, systemId)\n * #getExternalSubset(name, baseURI)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/DTDHandler.html\n * IGNORED method of org.xml.sax.DTDHandler\n * #notationDecl(name, publicId, systemId) {};\n * #unparsedEntityDecl(name, publicId, systemId, notationName) {};\n */ \"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl\".replace(/\\w+/g, function(key) {\n $5476ee37c692e534$var$DOMHandler.prototype[key] = function() {\n return null;\n };\n});\n/* Private static helpers treated below as private instance methods, so don't need to add these to the public API; we might use a Relator to also get rid of non-standard public properties */ function $5476ee37c692e534$var$appendElement(hander, node) {\n if (!hander.currentElement) hander.doc.appendChild(node);\n else hander.currentElement.appendChild(node);\n} //appendChild and setAttributeNS are preformance key\n$5476ee37c692e534$export$181392475aa39887 = $5476ee37c692e534$var$DOMHandler;\n$5476ee37c692e534$export$ba13e0e2f19e61a1 = $5476ee37c692e534$var$normalizeLineEndings;\n$5476ee37c692e534$export$1059c6e7d2ce5669 = $5476ee37c692e534$var$DOMParser;\n\n});\nparcelRegister(\"e95yL\", function(module, exports) {\n\n$parcel$export(module.exports, \"find\", () => $a4c637fd9eb8068b$export$71aa6c912b956294, (v) => $a4c637fd9eb8068b$export$71aa6c912b956294 = v);\n$parcel$export(module.exports, \"freeze\", () => $a4c637fd9eb8068b$export$792f3d81ea979f55, (v) => $a4c637fd9eb8068b$export$792f3d81ea979f55 = v);\n$parcel$export(module.exports, \"NAMESPACE\", () => $a4c637fd9eb8068b$export$6aad947bda0f3f46, (v) => $a4c637fd9eb8068b$export$6aad947bda0f3f46 = v);\nvar $a4c637fd9eb8068b$export$e6e34fd1f2686227;\nvar $a4c637fd9eb8068b$export$71aa6c912b956294;\nvar $a4c637fd9eb8068b$export$792f3d81ea979f55;\nvar $a4c637fd9eb8068b$export$c6cb9dd1e3ada1aa;\nvar $a4c637fd9eb8068b$export$6aad947bda0f3f46;\n\"use strict\";\n/**\n * Ponyfill for `Array.prototype.find` which is only available in ES6 runtimes.\n *\n * Works with anything that has a `length` property and index access properties, including NodeList.\n *\n * @template {unknown} T\n * @param {Array<T> | ({length:number, [number]: T})} list\n * @param {function (item: T, index: number, list:Array<T> | ({length:number, [number]: T})):boolean} predicate\n * @param {Partial<Pick<ArrayConstructor['prototype'], 'find'>>?} ac `Array.prototype` by default,\n * \t\t\t\tallows injecting a custom implementation in tests\n * @returns {T | undefined}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * @see https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.find\n */ function $a4c637fd9eb8068b$var$find(list, predicate, ac) {\n if (ac === undefined) ac = Array.prototype;\n if (list && typeof ac.find === \"function\") return ac.find.call(list, predicate);\n for(var i = 0; i < list.length; i++)if (Object.prototype.hasOwnProperty.call(list, i)) {\n var item = list[i];\n if (predicate.call(undefined, item, i, list)) return item;\n }\n}\n/**\n * \"Shallow freezes\" an object to render it immutable.\n * Uses `Object.freeze` if available,\n * otherwise the immutability is only in the type.\n *\n * Is used to create \"enum like\" objects.\n *\n * @template T\n * @param {T} object the object to freeze\n * @param {Pick<ObjectConstructor, 'freeze'> = Object} oc `Object` by default,\n * \t\t\t\tallows to inject custom object constructor for tests\n * @returns {Readonly<T>}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n */ function $a4c637fd9eb8068b$var$freeze(object, oc) {\n if (oc === undefined) oc = Object;\n return oc && typeof oc.freeze === \"function\" ? oc.freeze(object) : object;\n}\n/**\n * Since we can not rely on `Object.assign` we provide a simplified version\n * that is sufficient for our needs.\n *\n * @param {Object} target\n * @param {Object | null | undefined} source\n *\n * @returns {Object} target\n * @throws TypeError if target is not an object\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @see https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.assign\n */ function $a4c637fd9eb8068b$var$assign(target, source) {\n if (target === null || typeof target !== \"object\") throw new TypeError(\"target is not an object\");\n for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];\n return target;\n}\n/**\n * All mime types that are allowed as input to `DOMParser.parseFromString`\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02 MDN\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparsersupportedtype WHATWG HTML Spec\n * @see DOMParser.prototype.parseFromString\n */ var $a4c637fd9eb8068b$var$MIME_TYPE = $a4c637fd9eb8068b$var$freeze({\n /**\n\t * `text/html`, the only mime type that triggers treating an XML document as HTML.\n\t *\n\t * @see DOMParser.SupportedType.isHTML\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec\n\t */ HTML: \"text/html\",\n /**\n\t * Helper method to check a mime type if it indicates an HTML document\n\t *\n\t * @param {string} [value]\n\t * @returns {boolean}\n\t *\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring \t */ isHTML: function(value) {\n return value === $a4c637fd9eb8068b$var$MIME_TYPE.HTML;\n },\n /**\n\t * `application/xml`, the standard mime type for XML documents.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */ XML_APPLICATION: \"application/xml\",\n /**\n\t * `text/html`, an alias for `application/xml`.\n\t *\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303\n\t * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */ XML_TEXT: \"text/xml\",\n /**\n\t * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,\n\t * but is parsed as an XML document.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec\n\t * @see https://en.wikipedia.org/wiki/XHTML Wikipedia\n\t */ XML_XHTML_APPLICATION: \"application/xhtml+xml\",\n /**\n\t * `image/svg+xml`,\n\t *\n\t * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration\n\t * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1\n\t * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia\n\t */ XML_SVG_IMAGE: \"image/svg+xml\"\n});\n/**\n * Namespaces that are used in this code base.\n *\n * @see http://www.w3.org/TR/REC-xml-names\n */ var $a4c637fd9eb8068b$var$NAMESPACE = $a4c637fd9eb8068b$var$freeze({\n /**\n\t * The XHTML namespace.\n\t *\n\t * @see http://www.w3.org/1999/xhtml\n\t */ HTML: \"http://www.w3.org/1999/xhtml\",\n /**\n\t * Checks if `uri` equals `NAMESPACE.HTML`.\n\t *\n\t * @param {string} [uri]\n\t *\n\t * @see NAMESPACE.HTML\n\t */ isHTML: function(uri) {\n return uri === $a4c637fd9eb8068b$var$NAMESPACE.HTML;\n },\n /**\n\t * The SVG namespace.\n\t *\n\t * @see http://www.w3.org/2000/svg\n\t */ SVG: \"http://www.w3.org/2000/svg\",\n /**\n\t * The `xml:` namespace.\n\t *\n\t * @see http://www.w3.org/XML/1998/namespace\n\t */ XML: \"http://www.w3.org/XML/1998/namespace\",\n /**\n\t * The `xmlns:` namespace\n\t *\n\t * @see https://www.w3.org/2000/xmlns/\n\t */ XMLNS: \"http://www.w3.org/2000/xmlns/\"\n});\n$a4c637fd9eb8068b$export$e6e34fd1f2686227 = $a4c637fd9eb8068b$var$assign;\n$a4c637fd9eb8068b$export$71aa6c912b956294 = $a4c637fd9eb8068b$var$find;\n$a4c637fd9eb8068b$export$792f3d81ea979f55 = $a4c637fd9eb8068b$var$freeze;\n$a4c637fd9eb8068b$export$c6cb9dd1e3ada1aa = $a4c637fd9eb8068b$var$MIME_TYPE;\n$a4c637fd9eb8068b$export$6aad947bda0f3f46 = $a4c637fd9eb8068b$var$NAMESPACE;\n\n});\n\nparcelRegister(\"7KjWO\", function(module, exports) {\n\n$parcel$export(module.exports, \"DOMImplementation\", () => $5a3c4d7844d4e662$export$455426655eab1d48, (v) => $5a3c4d7844d4e662$export$455426655eab1d48 = v);\n$parcel$export(module.exports, \"XMLSerializer\", () => $5a3c4d7844d4e662$export$64f0bed4ae6f0f24, (v) => $5a3c4d7844d4e662$export$64f0bed4ae6f0f24 = v);\n//if(typeof require == 'function'){\nvar $5a3c4d7844d4e662$export$d1d99cf900472499;\nvar $5a3c4d7844d4e662$export$fe58bcf938607f6a;\nvar $5a3c4d7844d4e662$export$455426655eab1d48;\nvar $5a3c4d7844d4e662$export$db77ccec0bb4ccac;\nvar $5a3c4d7844d4e662$export$85c928794f8d04d4;\nvar $5a3c4d7844d4e662$export$79b41aa5d56abdff;\nvar $5a3c4d7844d4e662$export$64f0bed4ae6f0f24;\n\nvar $e95yL = parcelRequire(\"e95yL\");\nvar $5a3c4d7844d4e662$var$find = $e95yL.find;\nvar $5a3c4d7844d4e662$var$NAMESPACE = $e95yL.NAMESPACE;\n/**\n * A prerequisite for `[].filter`, to drop elements that are empty\n * @param {string} input\n * @returns {boolean}\n */ function $5a3c4d7844d4e662$var$notEmptyString(input) {\n return input !== \"\";\n}\n/**\n * @see https://infra.spec.whatwg.org/#split-on-ascii-whitespace\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * @param {string} input\n * @returns {string[]} (can be empty)\n */ function $5a3c4d7844d4e662$var$splitOnASCIIWhitespace(input) {\n // U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, U+0020 SPACE\n return input ? input.split(/[\\t\\n\\f\\r ]+/).filter($5a3c4d7844d4e662$var$notEmptyString) : [];\n}\n/**\n * Adds element as a key to current if it is not already present.\n *\n * @param {Record<string, boolean | undefined>} current\n * @param {string} element\n * @returns {Record<string, boolean | undefined>}\n */ function $5a3c4d7844d4e662$var$orderedSetReducer(current, element) {\n if (!current.hasOwnProperty(element)) current[element] = true;\n return current;\n}\n/**\n * @see https://infra.spec.whatwg.org/#ordered-set\n * @param {string} input\n * @returns {string[]}\n */ function $5a3c4d7844d4e662$var$toOrderedSet(input) {\n if (!input) return [];\n var list = $5a3c4d7844d4e662$var$splitOnASCIIWhitespace(input);\n return Object.keys(list.reduce($5a3c4d7844d4e662$var$orderedSetReducer, {}));\n}\n/**\n * Uses `list.indexOf` to implement something like `Array.prototype.includes`,\n * which we can not rely on being available.\n *\n * @param {any[]} list\n * @returns {function(any): boolean}\n */ function $5a3c4d7844d4e662$var$arrayIncludes(list) {\n return function(element) {\n return list && list.indexOf(element) !== -1;\n };\n}\nfunction $5a3c4d7844d4e662$var$copy(src, dest) {\n for(var p in src)if (Object.prototype.hasOwnProperty.call(src, p)) dest[p] = src[p];\n}\n/**\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*((?:.*\\{\\s*?[\\r\\n][\\s\\S]*?^})|\\S.*?(?=[;\\r\\n]));?\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*(\\S.*?(?=[;\\r\\n]));?\n */ function $5a3c4d7844d4e662$var$_extends(Class, Super) {\n var pt = Class.prototype;\n if (!(pt instanceof Super)) {\n function t() {}\n t.prototype = Super.prototype;\n t = new t();\n $5a3c4d7844d4e662$var$copy(pt, t);\n Class.prototype = pt = t;\n }\n if (pt.constructor != Class) {\n if (typeof Class != \"function\") console.error(\"unknown Class:\" + Class);\n pt.constructor = Class;\n }\n}\n// Node Types\nvar $5a3c4d7844d4e662$var$NodeType = {};\nvar $5a3c4d7844d4e662$var$ELEMENT_NODE = $5a3c4d7844d4e662$var$NodeType.ELEMENT_NODE = 1;\nvar $5a3c4d7844d4e662$var$ATTRIBUTE_NODE = $5a3c4d7844d4e662$var$NodeType.ATTRIBUTE_NODE = 2;\nvar $5a3c4d7844d4e662$var$TEXT_NODE = $5a3c4d7844d4e662$var$NodeType.TEXT_NODE = 3;\nvar $5a3c4d7844d4e662$var$CDATA_SECTION_NODE = $5a3c4d7844d4e662$var$NodeType.CDATA_SECTION_NODE = 4;\nvar $5a3c4d7844d4e662$var$ENTITY_REFERENCE_NODE = $5a3c4d7844d4e662$var$NodeType.ENTITY_REFERENCE_NODE = 5;\nvar $5a3c4d7844d4e662$var$ENTITY_NODE = $5a3c4d7844d4e662$var$NodeType.ENTITY_NODE = 6;\nvar $5a3c4d7844d4e662$var$PROCESSING_INSTRUCTION_NODE = $5a3c4d7844d4e662$var$NodeType.PROCESSING_INSTRUCTION_NODE = 7;\nvar $5a3c4d7844d4e662$var$COMMENT_NODE = $5a3c4d7844d4e662$var$NodeType.COMMENT_NODE = 8;\nvar $5a3c4d7844d4e662$var$DOCUMENT_NODE = $5a3c4d7844d4e662$var$NodeType.DOCUMENT_NODE = 9;\nvar $5a3c4d7844d4e662$var$DOCUMENT_TYPE_NODE = $5a3c4d7844d4e662$var$NodeType.DOCUMENT_TYPE_NODE = 10;\nvar $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE = $5a3c4d7844d4e662$var$NodeType.DOCUMENT_FRAGMENT_NODE = 11;\nvar $5a3c4d7844d4e662$var$NOTATION_NODE = $5a3c4d7844d4e662$var$NodeType.NOTATION_NODE = 12;\n// ExceptionCode\nvar $5a3c4d7844d4e662$var$ExceptionCode = {};\nvar $5a3c4d7844d4e662$var$ExceptionMessage = {};\nvar $5a3c4d7844d4e662$var$INDEX_SIZE_ERR = $5a3c4d7844d4e662$var$ExceptionCode.INDEX_SIZE_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[1] = \"Index size error\", 1);\nvar $5a3c4d7844d4e662$var$DOMSTRING_SIZE_ERR = $5a3c4d7844d4e662$var$ExceptionCode.DOMSTRING_SIZE_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[2] = \"DOMString size error\", 2);\nvar $5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR = $5a3c4d7844d4e662$var$ExceptionCode.HIERARCHY_REQUEST_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[3] = \"Hierarchy request error\", 3);\nvar $5a3c4d7844d4e662$var$WRONG_DOCUMENT_ERR = $5a3c4d7844d4e662$var$ExceptionCode.WRONG_DOCUMENT_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[4] = \"Wrong document\", 4);\nvar $5a3c4d7844d4e662$var$INVALID_CHARACTER_ERR = $5a3c4d7844d4e662$var$ExceptionCode.INVALID_CHARACTER_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[5] = \"Invalid character\", 5);\nvar $5a3c4d7844d4e662$var$NO_DATA_ALLOWED_ERR = $5a3c4d7844d4e662$var$ExceptionCode.NO_DATA_ALLOWED_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[6] = \"No data allowed\", 6);\nvar $5a3c4d7844d4e662$var$NO_MODIFICATION_ALLOWED_ERR = $5a3c4d7844d4e662$var$ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[7] = \"No modification allowed\", 7);\nvar $5a3c4d7844d4e662$var$NOT_FOUND_ERR = $5a3c4d7844d4e662$var$ExceptionCode.NOT_FOUND_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[8] = \"Not found\", 8);\nvar $5a3c4d7844d4e662$var$NOT_SUPPORTED_ERR = $5a3c4d7844d4e662$var$ExceptionCode.NOT_SUPPORTED_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[9] = \"Not supported\", 9);\nvar $5a3c4d7844d4e662$var$INUSE_ATTRIBUTE_ERR = $5a3c4d7844d4e662$var$ExceptionCode.INUSE_ATTRIBUTE_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[10] = \"Attribute in use\", 10);\n//level2\nvar $5a3c4d7844d4e662$var$INVALID_STATE_ERR = $5a3c4d7844d4e662$var$ExceptionCode.INVALID_STATE_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[11] = \"Invalid state\", 11);\nvar $5a3c4d7844d4e662$var$SYNTAX_ERR = $5a3c4d7844d4e662$var$ExceptionCode.SYNTAX_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[12] = \"Syntax error\", 12);\nvar $5a3c4d7844d4e662$var$INVALID_MODIFICATION_ERR = $5a3c4d7844d4e662$var$ExceptionCode.INVALID_MODIFICATION_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[13] = \"Invalid modification\", 13);\nvar $5a3c4d7844d4e662$var$NAMESPACE_ERR = $5a3c4d7844d4e662$var$ExceptionCode.NAMESPACE_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[14] = \"Invalid namespace\", 14);\nvar $5a3c4d7844d4e662$var$INVALID_ACCESS_ERR = $5a3c4d7844d4e662$var$ExceptionCode.INVALID_ACCESS_ERR = ($5a3c4d7844d4e662$var$ExceptionMessage[15] = \"Invalid access\", 15);\n/**\n * DOM Level 2\n * Object DOMException\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html\n * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html\n */ function $5a3c4d7844d4e662$var$DOMException(code, message) {\n if (message instanceof Error) var error = message;\n else {\n error = this;\n Error.call(this, $5a3c4d7844d4e662$var$ExceptionMessage[code]);\n this.message = $5a3c4d7844d4e662$var$ExceptionMessage[code];\n if (Error.captureStackTrace) Error.captureStackTrace(this, $5a3c4d7844d4e662$var$DOMException);\n }\n error.code = code;\n if (message) this.message = this.message + \": \" + message;\n return error;\n}\n$5a3c4d7844d4e662$var$DOMException.prototype = Error.prototype;\n$5a3c4d7844d4e662$var$copy($5a3c4d7844d4e662$var$ExceptionCode, $5a3c4d7844d4e662$var$DOMException);\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177\n * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.\n * The items in the NodeList are accessible via an integral index, starting from 0.\n */ function $5a3c4d7844d4e662$var$NodeList() {}\n$5a3c4d7844d4e662$var$NodeList.prototype = {\n /**\n\t * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.\n\t * @standard level1\n\t */ length: 0,\n /**\n\t * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.\n\t * @standard level1\n\t * @param index unsigned long\n\t * Index into the collection.\n\t * @return Node\n\t * \tThe node at the indexth position in the NodeList, or null if that is not a valid index.\n\t */ item: function(index) {\n return index >= 0 && index < this.length ? this[index] : null;\n },\n toString: function(isHTML, nodeFilter) {\n for(var buf = [], i = 0; i < this.length; i++)$5a3c4d7844d4e662$var$serializeToString(this[i], buf, isHTML, nodeFilter);\n return buf.join(\"\");\n },\n /**\n\t * @private\n\t * @param {function (Node):boolean} predicate\n\t * @returns {Node[]}\n\t */ filter: function(predicate) {\n return Array.prototype.filter.call(this, predicate);\n },\n /**\n\t * @private\n\t * @param {Node} item\n\t * @returns {number}\n\t */ indexOf: function(item) {\n return Array.prototype.indexOf.call(this, item);\n }\n};\nfunction $5a3c4d7844d4e662$var$LiveNodeList(node, refresh) {\n this._node = node;\n this._refresh = refresh;\n $5a3c4d7844d4e662$var$_updateLiveList(this);\n}\nfunction $5a3c4d7844d4e662$var$_updateLiveList(list) {\n var inc = list._node._inc || list._node.ownerDocument._inc;\n if (list._inc !== inc) {\n var ls = list._refresh(list._node);\n $5a3c4d7844d4e662$var$__set__(list, \"length\", ls.length);\n if (!list.$$length || ls.length < list.$$length) {\n for(var i = ls.length; (i in list); i++)if (Object.prototype.hasOwnProperty.call(list, i)) delete list[i];\n }\n $5a3c4d7844d4e662$var$copy(ls, list);\n list._inc = inc;\n }\n}\n$5a3c4d7844d4e662$var$LiveNodeList.prototype.item = function(i) {\n $5a3c4d7844d4e662$var$_updateLiveList(this);\n return this[i] || null;\n};\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$LiveNodeList, $5a3c4d7844d4e662$var$NodeList);\n/**\n * Objects implementing the NamedNodeMap interface are used\n * to represent collections of nodes that can be accessed by name.\n * Note that NamedNodeMap does not inherit from NodeList;\n * NamedNodeMaps are not maintained in any particular order.\n * Objects contained in an object implementing NamedNodeMap may also be accessed by an ordinal index,\n * but this is simply to allow convenient enumeration of the contents of a NamedNodeMap,\n * and does not imply that the DOM specifies an order to these Nodes.\n * NamedNodeMap objects in the DOM are live.\n * used for attributes or DocumentType entities\n */ function $5a3c4d7844d4e662$var$NamedNodeMap() {}\nfunction $5a3c4d7844d4e662$var$_findNodeIndex(list, node) {\n var i = list.length;\n while(i--){\n if (list[i] === node) return i;\n }\n}\nfunction $5a3c4d7844d4e662$var$_addNamedNode(el, list, newAttr, oldAttr) {\n if (oldAttr) list[$5a3c4d7844d4e662$var$_findNodeIndex(list, oldAttr)] = newAttr;\n else list[list.length++] = newAttr;\n if (el) {\n newAttr.ownerElement = el;\n var doc = el.ownerDocument;\n if (doc) {\n oldAttr && $5a3c4d7844d4e662$var$_onRemoveAttribute(doc, el, oldAttr);\n $5a3c4d7844d4e662$var$_onAddAttribute(doc, el, newAttr);\n }\n }\n}\nfunction $5a3c4d7844d4e662$var$_removeNamedNode(el, list, attr) {\n //console.log('remove attr:'+attr)\n var i = $5a3c4d7844d4e662$var$_findNodeIndex(list, attr);\n if (i >= 0) {\n var lastIndex = list.length - 1;\n while(i < lastIndex)list[i] = list[++i];\n list.length = lastIndex;\n if (el) {\n var doc = el.ownerDocument;\n if (doc) {\n $5a3c4d7844d4e662$var$_onRemoveAttribute(doc, el, attr);\n attr.ownerElement = null;\n }\n }\n } else throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$NOT_FOUND_ERR, new Error(el.tagName + \"@\" + attr));\n}\n$5a3c4d7844d4e662$var$NamedNodeMap.prototype = {\n length: 0,\n item: $5a3c4d7844d4e662$var$NodeList.prototype.item,\n getNamedItem: function(key) {\n //\t\tif(key.indexOf(':')>0 || key == 'xmlns'){\n //\t\t\treturn null;\n //\t\t}\n //console.log()\n var i = this.length;\n while(i--){\n var attr = this[i];\n //console.log(attr.nodeName,key)\n if (attr.nodeName == key) return attr;\n }\n },\n setNamedItem: function(attr) {\n var el = attr.ownerElement;\n if (el && el != this._ownerElement) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$INUSE_ATTRIBUTE_ERR);\n var oldAttr = this.getNamedItem(attr.nodeName);\n $5a3c4d7844d4e662$var$_addNamedNode(this._ownerElement, this, attr, oldAttr);\n return oldAttr;\n },\n /* returns Node */ setNamedItemNS: function(attr) {\n var el = attr.ownerElement, oldAttr;\n if (el && el != this._ownerElement) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$INUSE_ATTRIBUTE_ERR);\n oldAttr = this.getNamedItemNS(attr.namespaceURI, attr.localName);\n $5a3c4d7844d4e662$var$_addNamedNode(this._ownerElement, this, attr, oldAttr);\n return oldAttr;\n },\n /* returns Node */ removeNamedItem: function(key) {\n var attr = this.getNamedItem(key);\n $5a3c4d7844d4e662$var$_removeNamedNode(this._ownerElement, this, attr);\n return attr;\n },\n //for level2\n removeNamedItemNS: function(namespaceURI, localName) {\n var attr = this.getNamedItemNS(namespaceURI, localName);\n $5a3c4d7844d4e662$var$_removeNamedNode(this._ownerElement, this, attr);\n return attr;\n },\n getNamedItemNS: function(namespaceURI, localName) {\n var i = this.length;\n while(i--){\n var node = this[i];\n if (node.localName == localName && node.namespaceURI == namespaceURI) return node;\n }\n return null;\n }\n};\n/**\n * The DOMImplementation interface represents an object providing methods\n * which are not dependent on any particular document.\n * Such an object is returned by the `Document.implementation` property.\n *\n * __The individual methods describe the differences compared to the specs.__\n *\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation MDN\n * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490 DOM Level 1 Core (Initial)\n * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-102161490 DOM Level 2 Core\n * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-102161490 DOM Level 3 Core\n * @see https://dom.spec.whatwg.org/#domimplementation DOM Living Standard\n */ function $5a3c4d7844d4e662$var$DOMImplementation() {}\n$5a3c4d7844d4e662$var$DOMImplementation.prototype = {\n /**\n\t * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.\n\t * The different implementations fairly diverged in what kind of features were reported.\n\t * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.\n\t *\n\t * @deprecated It is deprecated and modern browsers return true in all cases.\n\t *\n\t * @param {string} feature\n\t * @param {string} [version]\n\t * @returns {boolean} always true\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN\n\t * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard\n\t */ hasFeature: function(feature, version) {\n return true;\n },\n /**\n\t * Creates an XML Document object of the specified type with its document element.\n\t *\n\t * __It behaves slightly different from the description in the living standard__:\n\t * - There is no interface/class `XMLDocument`, it returns a `Document` instance.\n\t * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string|null} namespaceURI\n\t * @param {string} qualifiedName\n\t * @param {DocumentType=null} doctype\n\t * @returns {Document}\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */ createDocument: function(namespaceURI, qualifiedName, doctype) {\n var doc = new $5a3c4d7844d4e662$var$Document();\n doc.implementation = this;\n doc.childNodes = new $5a3c4d7844d4e662$var$NodeList();\n doc.doctype = doctype || null;\n if (doctype) doc.appendChild(doctype);\n if (qualifiedName) {\n var root = doc.createElementNS(namespaceURI, qualifiedName);\n doc.appendChild(root);\n }\n return doc;\n },\n /**\n\t * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.\n\t *\n\t * __This behavior is slightly different from the in the specs__:\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string} qualifiedName\n\t * @param {string} [publicId]\n\t * @param {string} [systemId]\n\t * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation\n\t * \t\t\t\t or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */ createDocumentType: function(qualifiedName, publicId, systemId) {\n var node = new $5a3c4d7844d4e662$var$DocumentType();\n node.name = qualifiedName;\n node.nodeName = qualifiedName;\n node.publicId = publicId || \"\";\n node.systemId = systemId || \"\";\n return node;\n }\n};\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247\n */ function $5a3c4d7844d4e662$var$Node() {}\n$5a3c4d7844d4e662$var$Node.prototype = {\n firstChild: null,\n lastChild: null,\n previousSibling: null,\n nextSibling: null,\n attributes: null,\n parentNode: null,\n childNodes: null,\n ownerDocument: null,\n nodeValue: null,\n namespaceURI: null,\n prefix: null,\n localName: null,\n // Modified in DOM Level 2:\n insertBefore: function(newChild, refChild) {\n return $5a3c4d7844d4e662$var$_insertBefore(this, newChild, refChild);\n },\n replaceChild: function(newChild, oldChild) {\n $5a3c4d7844d4e662$var$_insertBefore(this, newChild, oldChild, $5a3c4d7844d4e662$var$assertPreReplacementValidityInDocument);\n if (oldChild) this.removeChild(oldChild);\n },\n removeChild: function(oldChild) {\n return $5a3c4d7844d4e662$var$_removeChild(this, oldChild);\n },\n appendChild: function(newChild) {\n return this.insertBefore(newChild, null);\n },\n hasChildNodes: function() {\n return this.firstChild != null;\n },\n cloneNode: function(deep) {\n return $5a3c4d7844d4e662$var$cloneNode(this.ownerDocument || this, this, deep);\n },\n // Modified in DOM Level 2:\n normalize: function() {\n var child = this.firstChild;\n while(child){\n var next = child.nextSibling;\n if (next && next.nodeType == $5a3c4d7844d4e662$var$TEXT_NODE && child.nodeType == $5a3c4d7844d4e662$var$TEXT_NODE) {\n this.removeChild(next);\n child.appendData(next.data);\n } else {\n child.normalize();\n child = next;\n }\n }\n },\n // Introduced in DOM Level 2:\n isSupported: function(feature, version) {\n return this.ownerDocument.implementation.hasFeature(feature, version);\n },\n // Introduced in DOM Level 2:\n hasAttributes: function() {\n return this.attributes.length > 0;\n },\n /**\n\t * Look up the prefix associated to the given namespace URI, starting from this node.\n\t * **The default namespace declarations are ignored by this method.**\n\t * See Namespace Prefix Lookup for details on the algorithm used by this method.\n\t *\n\t * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._\n\t *\n\t * @param {string | null} namespaceURI\n\t * @returns {string | null}\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo\n\t * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix\n\t * @see https://github.com/xmldom/xmldom/issues/322\n\t */ lookupPrefix: function(namespaceURI) {\n var el = this;\n while(el){\n var map = el._nsMap;\n //console.dir(map)\n if (map) for(var n in map){\n if (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) return n;\n }\n el = el.nodeType == $5a3c4d7844d4e662$var$ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;\n }\n return null;\n },\n // Introduced in DOM Level 3:\n lookupNamespaceURI: function(prefix) {\n var el = this;\n while(el){\n var map = el._nsMap;\n //console.dir(map)\n if (map) {\n if (Object.prototype.hasOwnProperty.call(map, prefix)) return map[prefix];\n }\n el = el.nodeType == $5a3c4d7844d4e662$var$ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;\n }\n return null;\n },\n // Introduced in DOM Level 3:\n isDefaultNamespace: function(namespaceURI) {\n var prefix = this.lookupPrefix(namespaceURI);\n return prefix == null;\n }\n};\nfunction $5a3c4d7844d4e662$var$_xmlEncoder(c) {\n return c == \"<\" && \"&lt;\" || c == \">\" && \"&gt;\" || c == \"&\" && \"&amp;\" || c == '\"' && \"&quot;\" || \"&#\" + c.charCodeAt() + \";\";\n}\n$5a3c4d7844d4e662$var$copy($5a3c4d7844d4e662$var$NodeType, $5a3c4d7844d4e662$var$Node);\n$5a3c4d7844d4e662$var$copy($5a3c4d7844d4e662$var$NodeType, $5a3c4d7844d4e662$var$Node.prototype);\n/**\n * @param callback return true for continue,false for break\n * @return boolean true: break visit;\n */ function $5a3c4d7844d4e662$var$_visitNode(node, callback) {\n if (callback(node)) return true;\n if (node = node.firstChild) do {\n if ($5a3c4d7844d4e662$var$_visitNode(node, callback)) return true;\n }while (node = node.nextSibling);\n}\nfunction $5a3c4d7844d4e662$var$Document() {\n this.ownerDocument = this;\n}\nfunction $5a3c4d7844d4e662$var$_onAddAttribute(doc, el, newAttr) {\n doc && doc._inc++;\n var ns = newAttr.namespaceURI;\n if (ns === $5a3c4d7844d4e662$var$NAMESPACE.XMLNS) //update namespace\n el._nsMap[newAttr.prefix ? newAttr.localName : \"\"] = newAttr.value;\n}\nfunction $5a3c4d7844d4e662$var$_onRemoveAttribute(doc, el, newAttr, remove) {\n doc && doc._inc++;\n var ns = newAttr.namespaceURI;\n if (ns === $5a3c4d7844d4e662$var$NAMESPACE.XMLNS) //update namespace\n delete el._nsMap[newAttr.prefix ? newAttr.localName : \"\"];\n}\n/**\n * Updates `el.childNodes`, updating the indexed items and it's `length`.\n * Passing `newChild` means it will be appended.\n * Otherwise it's assumed that an item has been removed,\n * and `el.firstNode` and it's `.nextSibling` are used\n * to walk the current list of child nodes.\n *\n * @param {Document} doc\n * @param {Node} el\n * @param {Node} [newChild]\n * @private\n */ function $5a3c4d7844d4e662$var$_onUpdateChild(doc, el, newChild) {\n if (doc && doc._inc) {\n doc._inc++;\n //update childNodes\n var cs = el.childNodes;\n if (newChild) cs[cs.length++] = newChild;\n else {\n var child = el.firstChild;\n var i = 0;\n while(child){\n cs[i++] = child;\n child = child.nextSibling;\n }\n cs.length = i;\n delete cs[cs.length];\n }\n }\n}\n/**\n * Removes the connections between `parentNode` and `child`\n * and any existing `child.previousSibling` or `child.nextSibling`.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n *\n * @param {Node} parentNode\n * @param {Node} child\n * @returns {Node} the child that was removed.\n * @private\n */ function $5a3c4d7844d4e662$var$_removeChild(parentNode, child) {\n var previous = child.previousSibling;\n var next = child.nextSibling;\n if (previous) previous.nextSibling = next;\n else parentNode.firstChild = next;\n if (next) next.previousSibling = previous;\n else parentNode.lastChild = previous;\n child.parentNode = null;\n child.previousSibling = null;\n child.nextSibling = null;\n $5a3c4d7844d4e662$var$_onUpdateChild(parentNode.ownerDocument, parentNode);\n return child;\n}\n/**\n * Returns `true` if `node` can be a parent for insertion.\n * @param {Node} node\n * @returns {boolean}\n */ function $5a3c4d7844d4e662$var$hasValidParentNodeType(node) {\n return node && (node.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_NODE || node.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === $5a3c4d7844d4e662$var$Node.ELEMENT_NODE);\n}\n/**\n * Returns `true` if `node` can be inserted according to it's `nodeType`.\n * @param {Node} node\n * @returns {boolean}\n */ function $5a3c4d7844d4e662$var$hasInsertableNodeType(node) {\n return node && ($5a3c4d7844d4e662$var$isElementNode(node) || $5a3c4d7844d4e662$var$isTextNode(node) || $5a3c4d7844d4e662$var$isDocTypeNode(node) || node.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === $5a3c4d7844d4e662$var$Node.COMMENT_NODE || node.nodeType === $5a3c4d7844d4e662$var$Node.PROCESSING_INSTRUCTION_NODE);\n}\n/**\n * Returns true if `node` is a DOCTYPE node\n * @param {Node} node\n * @returns {boolean}\n */ function $5a3c4d7844d4e662$var$isDocTypeNode(node) {\n return node && node.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_TYPE_NODE;\n}\n/**\n * Returns true if the node is an element\n * @param {Node} node\n * @returns {boolean}\n */ function $5a3c4d7844d4e662$var$isElementNode(node) {\n return node && node.nodeType === $5a3c4d7844d4e662$var$Node.ELEMENT_NODE;\n}\n/**\n * Returns true if `node` is a text node\n * @param {Node} node\n * @returns {boolean}\n */ function $5a3c4d7844d4e662$var$isTextNode(node) {\n return node && node.nodeType === $5a3c4d7844d4e662$var$Node.TEXT_NODE;\n}\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Document} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */ function $5a3c4d7844d4e662$var$isElementInsertionPossible(doc, child) {\n var parentChildNodes = doc.childNodes || [];\n if ($5a3c4d7844d4e662$var$find(parentChildNodes, $5a3c4d7844d4e662$var$isElementNode) || $5a3c4d7844d4e662$var$isDocTypeNode(child)) return false;\n var docTypeNode = $5a3c4d7844d4e662$var$find(parentChildNodes, $5a3c4d7844d4e662$var$isDocTypeNode);\n return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Node} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */ function $5a3c4d7844d4e662$var$isElementReplacementPossible(doc, child) {\n var parentChildNodes = doc.childNodes || [];\n function hasElementChildThatIsNotChild(node) {\n return $5a3c4d7844d4e662$var$isElementNode(node) && node !== child;\n }\n if ($5a3c4d7844d4e662$var$find(parentChildNodes, hasElementChildThatIsNotChild)) return false;\n var docTypeNode = $5a3c4d7844d4e662$var$find(parentChildNodes, $5a3c4d7844d4e662$var$isDocTypeNode);\n return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n/**\n * @private\n * Steps 1-5 of the checks before inserting and before replacing a child are the same.\n *\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */ function $5a3c4d7844d4e662$var$assertPreInsertionValidity1to5(parent, node, child) {\n // 1. If `parent` is not a Document, DocumentFragment, or Element node, then throw a \"HierarchyRequestError\" DOMException.\n if (!$5a3c4d7844d4e662$var$hasValidParentNodeType(parent)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Unexpected parent node type \" + parent.nodeType);\n // 2. If `node` is a host-including inclusive ancestor of `parent`, then throw a \"HierarchyRequestError\" DOMException.\n // not implemented!\n // 3. If `child` is non-null and its parent is not `parent`, then throw a \"NotFoundError\" DOMException.\n if (child && child.parentNode !== parent) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$NOT_FOUND_ERR, \"child not in parent\");\n if (// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a \"HierarchyRequestError\" DOMException.\n !$5a3c4d7844d4e662$var$hasInsertableNodeType(node) || // 5. If either `node` is a Text node and `parent` is a document,\n // the sax parser currently adds top level text nodes, this will be fixed in 0.9.0\n // || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)\n // or `node` is a doctype and `parent` is not a document, then throw a \"HierarchyRequestError\" DOMException.\n $5a3c4d7844d4e662$var$isDocTypeNode(node) && parent.nodeType !== $5a3c4d7844d4e662$var$Node.DOCUMENT_NODE) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Unexpected node type \" + node.nodeType + \" for parent node type \" + parent.nodeType);\n}\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */ function $5a3c4d7844d4e662$var$assertPreInsertionValidityInDocument(parent, node, child) {\n var parentChildNodes = parent.childNodes || [];\n var nodeChildNodes = node.childNodes || [];\n // DocumentFragment\n if (node.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_FRAGMENT_NODE) {\n var nodeChildElements = nodeChildNodes.filter($5a3c4d7844d4e662$var$isElementNode);\n // If node has more than one element child or has a Text node child.\n if (nodeChildElements.length > 1 || $5a3c4d7844d4e662$var$find(nodeChildNodes, $5a3c4d7844d4e662$var$isTextNode)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"More than one element or text in fragment\");\n // Otherwise, if `node` has one element child and either `parent` has an element child,\n // `child` is a doctype, or `child` is non-null and a doctype is following `child`.\n if (nodeChildElements.length === 1 && !$5a3c4d7844d4e662$var$isElementInsertionPossible(parent, child)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Element in fragment can not be inserted before doctype\");\n }\n // Element\n if ($5a3c4d7844d4e662$var$isElementNode(node)) {\n // `parent` has an element child, `child` is a doctype,\n // or `child` is non-null and a doctype is following `child`.\n if (!$5a3c4d7844d4e662$var$isElementInsertionPossible(parent, child)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Only one element can be added and only after doctype\");\n }\n // DocumentType\n if ($5a3c4d7844d4e662$var$isDocTypeNode(node)) {\n // `parent` has a doctype child,\n if ($5a3c4d7844d4e662$var$find(parentChildNodes, $5a3c4d7844d4e662$var$isDocTypeNode)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Only one doctype is allowed\");\n var parentElementChild = $5a3c4d7844d4e662$var$find(parentChildNodes, $5a3c4d7844d4e662$var$isElementNode);\n // `child` is non-null and an element is preceding `child`,\n if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Doctype can only be inserted before an element\");\n // or `child` is null and `parent` has an element child.\n if (!child && parentElementChild) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Doctype can not be appended since element is present\");\n }\n}\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */ function $5a3c4d7844d4e662$var$assertPreReplacementValidityInDocument(parent, node, child) {\n var parentChildNodes = parent.childNodes || [];\n var nodeChildNodes = node.childNodes || [];\n // DocumentFragment\n if (node.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_FRAGMENT_NODE) {\n var nodeChildElements = nodeChildNodes.filter($5a3c4d7844d4e662$var$isElementNode);\n // If `node` has more than one element child or has a Text node child.\n if (nodeChildElements.length > 1 || $5a3c4d7844d4e662$var$find(nodeChildNodes, $5a3c4d7844d4e662$var$isTextNode)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"More than one element or text in fragment\");\n // Otherwise, if `node` has one element child and either `parent` has an element child that is not `child` or a doctype is following `child`.\n if (nodeChildElements.length === 1 && !$5a3c4d7844d4e662$var$isElementReplacementPossible(parent, child)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Element in fragment can not be inserted before doctype\");\n }\n // Element\n if ($5a3c4d7844d4e662$var$isElementNode(node)) {\n // `parent` has an element child that is not `child` or a doctype is following `child`.\n if (!$5a3c4d7844d4e662$var$isElementReplacementPossible(parent, child)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Only one element can be added and only after doctype\");\n }\n // DocumentType\n if ($5a3c4d7844d4e662$var$isDocTypeNode(node)) {\n function hasDoctypeChildThatIsNotChild(node) {\n return $5a3c4d7844d4e662$var$isDocTypeNode(node) && node !== child;\n }\n // `parent` has a doctype child that is not `child`,\n if ($5a3c4d7844d4e662$var$find(parentChildNodes, hasDoctypeChildThatIsNotChild)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Only one doctype is allowed\");\n var parentElementChild = $5a3c4d7844d4e662$var$find(parentChildNodes, $5a3c4d7844d4e662$var$isElementNode);\n // or an element is preceding `child`.\n if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) throw new $5a3c4d7844d4e662$var$DOMException($5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR, \"Doctype can only be inserted before an element\");\n }\n}\n/**\n * @private\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */ function $5a3c4d7844d4e662$var$_insertBefore(parent, node, child, _inDocumentAssertion) {\n // To ensure pre-insertion validity of a node into a parent before a child, run these steps:\n $5a3c4d7844d4e662$var$assertPreInsertionValidity1to5(parent, node, child);\n // If parent is a document, and any of the statements below, switched on the interface node implements,\n // are true, then throw a \"HierarchyRequestError\" DOMException.\n if (parent.nodeType === $5a3c4d7844d4e662$var$Node.DOCUMENT_NODE) (_inDocumentAssertion || $5a3c4d7844d4e662$var$assertPreInsertionValidityInDocument)(parent, node, child);\n var cp = node.parentNode;\n if (cp) cp.removeChild(node); //remove and update\n if (node.nodeType === $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE) {\n var newFirst = node.firstChild;\n if (newFirst == null) return node;\n var newLast = node.lastChild;\n } else newFirst = newLast = node;\n var pre = child ? child.previousSibling : parent.lastChild;\n newFirst.previousSibling = pre;\n newLast.nextSibling = child;\n if (pre) pre.nextSibling = newFirst;\n else parent.firstChild = newFirst;\n if (child == null) parent.lastChild = newLast;\n else child.previousSibling = newLast;\n do newFirst.parentNode = parent;\n while (newFirst !== newLast && (newFirst = newFirst.nextSibling));\n $5a3c4d7844d4e662$var$_onUpdateChild(parent.ownerDocument || parent, parent);\n //console.log(parent.lastChild.nextSibling == null)\n if (node.nodeType == $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE) node.firstChild = node.lastChild = null;\n return node;\n}\n/**\n * Appends `newChild` to `parentNode`.\n * If `newChild` is already connected to a `parentNode` it is first removed from it.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n * @param {Node} parentNode\n * @param {Node} newChild\n * @returns {Node}\n * @private\n */ function $5a3c4d7844d4e662$var$_appendSingleChild(parentNode, newChild) {\n if (newChild.parentNode) newChild.parentNode.removeChild(newChild);\n newChild.parentNode = parentNode;\n newChild.previousSibling = parentNode.lastChild;\n newChild.nextSibling = null;\n if (newChild.previousSibling) newChild.previousSibling.nextSibling = newChild;\n else parentNode.firstChild = newChild;\n parentNode.lastChild = newChild;\n $5a3c4d7844d4e662$var$_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);\n return newChild;\n}\n$5a3c4d7844d4e662$var$Document.prototype = {\n //implementation : null,\n nodeName: \"#document\",\n nodeType: $5a3c4d7844d4e662$var$DOCUMENT_NODE,\n /**\n\t * The DocumentType node of the document.\n\t *\n\t * @readonly\n\t * @type DocumentType\n\t */ doctype: null,\n documentElement: null,\n _inc: 1,\n insertBefore: function(newChild, refChild) {\n if (newChild.nodeType == $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE) {\n var child = newChild.firstChild;\n while(child){\n var next = child.nextSibling;\n this.insertBefore(child, refChild);\n child = next;\n }\n return newChild;\n }\n $5a3c4d7844d4e662$var$_insertBefore(this, newChild, refChild);\n newChild.ownerDocument = this;\n if (this.documentElement === null && newChild.nodeType === $5a3c4d7844d4e662$var$ELEMENT_NODE) this.documentElement = newChild;\n return newChild;\n },\n removeChild: function(oldChild) {\n if (this.documentElement == oldChild) this.documentElement = null;\n return $5a3c4d7844d4e662$var$_removeChild(this, oldChild);\n },\n replaceChild: function(newChild, oldChild) {\n //raises\n $5a3c4d7844d4e662$var$_insertBefore(this, newChild, oldChild, $5a3c4d7844d4e662$var$assertPreReplacementValidityInDocument);\n newChild.ownerDocument = this;\n if (oldChild) this.removeChild(oldChild);\n if ($5a3c4d7844d4e662$var$isElementNode(newChild)) this.documentElement = newChild;\n },\n // Introduced in DOM Level 2:\n importNode: function(importedNode, deep) {\n return $5a3c4d7844d4e662$var$importNode(this, importedNode, deep);\n },\n // Introduced in DOM Level 2:\n getElementById: function(id) {\n var rtv = null;\n $5a3c4d7844d4e662$var$_visitNode(this.documentElement, function(node) {\n if (node.nodeType == $5a3c4d7844d4e662$var$ELEMENT_NODE) {\n if (node.getAttribute(\"id\") == id) {\n rtv = node;\n return true;\n }\n }\n });\n return rtv;\n },\n /**\n\t * The `getElementsByClassName` method of `Document` interface returns an array-like object\n\t * of all child elements which have **all** of the given class name(s).\n\t *\n\t * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.\n\t *\n\t *\n\t * Warning: This is a live LiveNodeList.\n\t * Changes in the DOM will reflect in the array as the changes occur.\n\t * If an element selected by this array no longer qualifies for the selector,\n\t * it will automatically be removed. Be aware of this for iteration purposes.\n\t *\n\t * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName\n\t * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname\n\t */ getElementsByClassName: function(classNames) {\n var classNamesSet = $5a3c4d7844d4e662$var$toOrderedSet(classNames);\n return new $5a3c4d7844d4e662$var$LiveNodeList(this, function(base) {\n var ls = [];\n if (classNamesSet.length > 0) $5a3c4d7844d4e662$var$_visitNode(base.documentElement, function(node) {\n if (node !== base && node.nodeType === $5a3c4d7844d4e662$var$ELEMENT_NODE) {\n var nodeClassNames = node.getAttribute(\"class\");\n // can be null if the attribute does not exist\n if (nodeClassNames) {\n // before splitting and iterating just compare them for the most common case\n var matches = classNames === nodeClassNames;\n if (!matches) {\n var nodeClassNamesSet = $5a3c4d7844d4e662$var$toOrderedSet(nodeClassNames);\n matches = classNamesSet.every($5a3c4d7844d4e662$var$arrayIncludes(nodeClassNamesSet));\n }\n if (matches) ls.push(node);\n }\n }\n });\n return ls;\n });\n },\n //document factory method:\n createElement: function(tagName) {\n var node = new $5a3c4d7844d4e662$var$Element();\n node.ownerDocument = this;\n node.nodeName = tagName;\n node.tagName = tagName;\n node.localName = tagName;\n node.childNodes = new $5a3c4d7844d4e662$var$NodeList();\n var attrs = node.attributes = new $5a3c4d7844d4e662$var$NamedNodeMap();\n attrs._ownerElement = node;\n return node;\n },\n createDocumentFragment: function() {\n var node = new $5a3c4d7844d4e662$var$DocumentFragment();\n node.ownerDocument = this;\n node.childNodes = new $5a3c4d7844d4e662$var$NodeList();\n return node;\n },\n createTextNode: function(data) {\n var node = new $5a3c4d7844d4e662$var$Text();\n node.ownerDocument = this;\n node.appendData(data);\n return node;\n },\n createComment: function(data) {\n var node = new $5a3c4d7844d4e662$var$Comment();\n node.ownerDocument = this;\n node.appendData(data);\n return node;\n },\n createCDATASection: function(data) {\n var node = new $5a3c4d7844d4e662$var$CDATASection();\n node.ownerDocument = this;\n node.appendData(data);\n return node;\n },\n createProcessingInstruction: function(target, data) {\n var node = new $5a3c4d7844d4e662$var$ProcessingInstruction();\n node.ownerDocument = this;\n node.tagName = node.nodeName = node.target = target;\n node.nodeValue = node.data = data;\n return node;\n },\n createAttribute: function(name) {\n var node = new $5a3c4d7844d4e662$var$Attr();\n node.ownerDocument = this;\n node.name = name;\n node.nodeName = name;\n node.localName = name;\n node.specified = true;\n return node;\n },\n createEntityReference: function(name) {\n var node = new $5a3c4d7844d4e662$var$EntityReference();\n node.ownerDocument = this;\n node.nodeName = name;\n return node;\n },\n // Introduced in DOM Level 2:\n createElementNS: function(namespaceURI, qualifiedName) {\n var node = new $5a3c4d7844d4e662$var$Element();\n var pl = qualifiedName.split(\":\");\n var attrs = node.attributes = new $5a3c4d7844d4e662$var$NamedNodeMap();\n node.childNodes = new $5a3c4d7844d4e662$var$NodeList();\n node.ownerDocument = this;\n node.nodeName = qualifiedName;\n node.tagName = qualifiedName;\n node.namespaceURI = namespaceURI;\n if (pl.length == 2) {\n node.prefix = pl[0];\n node.localName = pl[1];\n } else //el.prefix = null;\n node.localName = qualifiedName;\n attrs._ownerElement = node;\n return node;\n },\n // Introduced in DOM Level 2:\n createAttributeNS: function(namespaceURI, qualifiedName) {\n var node = new $5a3c4d7844d4e662$var$Attr();\n var pl = qualifiedName.split(\":\");\n node.ownerDocument = this;\n node.nodeName = qualifiedName;\n node.name = qualifiedName;\n node.namespaceURI = namespaceURI;\n node.specified = true;\n if (pl.length == 2) {\n node.prefix = pl[0];\n node.localName = pl[1];\n } else //el.prefix = null;\n node.localName = qualifiedName;\n return node;\n }\n};\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Document, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$Element() {\n this._nsMap = {};\n}\n$5a3c4d7844d4e662$var$Element.prototype = {\n nodeType: $5a3c4d7844d4e662$var$ELEMENT_NODE,\n hasAttribute: function(name) {\n return this.getAttributeNode(name) != null;\n },\n getAttribute: function(name) {\n var attr = this.getAttributeNode(name);\n return attr && attr.value || \"\";\n },\n getAttributeNode: function(name) {\n return this.attributes.getNamedItem(name);\n },\n setAttribute: function(name, value) {\n var attr = this.ownerDocument.createAttribute(name);\n attr.value = attr.nodeValue = \"\" + value;\n this.setAttributeNode(attr);\n },\n removeAttribute: function(name) {\n var attr = this.getAttributeNode(name);\n attr && this.removeAttributeNode(attr);\n },\n //four real opeartion method\n appendChild: function(newChild) {\n if (newChild.nodeType === $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE) return this.insertBefore(newChild, null);\n else return $5a3c4d7844d4e662$var$_appendSingleChild(this, newChild);\n },\n setAttributeNode: function(newAttr) {\n return this.attributes.setNamedItem(newAttr);\n },\n setAttributeNodeNS: function(newAttr) {\n return this.attributes.setNamedItemNS(newAttr);\n },\n removeAttributeNode: function(oldAttr) {\n //console.log(this == oldAttr.ownerElement)\n return this.attributes.removeNamedItem(oldAttr.nodeName);\n },\n //get real attribute name,and remove it by removeAttributeNode\n removeAttributeNS: function(namespaceURI, localName) {\n var old = this.getAttributeNodeNS(namespaceURI, localName);\n old && this.removeAttributeNode(old);\n },\n hasAttributeNS: function(namespaceURI, localName) {\n return this.getAttributeNodeNS(namespaceURI, localName) != null;\n },\n getAttributeNS: function(namespaceURI, localName) {\n var attr = this.getAttributeNodeNS(namespaceURI, localName);\n return attr && attr.value || \"\";\n },\n setAttributeNS: function(namespaceURI, qualifiedName, value) {\n var attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);\n attr.value = attr.nodeValue = \"\" + value;\n this.setAttributeNode(attr);\n },\n getAttributeNodeNS: function(namespaceURI, localName) {\n return this.attributes.getNamedItemNS(namespaceURI, localName);\n },\n getElementsByTagName: function(tagName) {\n return new $5a3c4d7844d4e662$var$LiveNodeList(this, function(base) {\n var ls = [];\n $5a3c4d7844d4e662$var$_visitNode(base, function(node) {\n if (node !== base && node.nodeType == $5a3c4d7844d4e662$var$ELEMENT_NODE && (tagName === \"*\" || node.tagName == tagName)) ls.push(node);\n });\n return ls;\n });\n },\n getElementsByTagNameNS: function(namespaceURI, localName) {\n return new $5a3c4d7844d4e662$var$LiveNodeList(this, function(base) {\n var ls = [];\n $5a3c4d7844d4e662$var$_visitNode(base, function(node) {\n if (node !== base && node.nodeType === $5a3c4d7844d4e662$var$ELEMENT_NODE && (namespaceURI === \"*\" || node.namespaceURI === namespaceURI) && (localName === \"*\" || node.localName == localName)) ls.push(node);\n });\n return ls;\n });\n }\n};\n$5a3c4d7844d4e662$var$Document.prototype.getElementsByTagName = $5a3c4d7844d4e662$var$Element.prototype.getElementsByTagName;\n$5a3c4d7844d4e662$var$Document.prototype.getElementsByTagNameNS = $5a3c4d7844d4e662$var$Element.prototype.getElementsByTagNameNS;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Element, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$Attr() {}\n$5a3c4d7844d4e662$var$Attr.prototype.nodeType = $5a3c4d7844d4e662$var$ATTRIBUTE_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Attr, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$CharacterData() {}\n$5a3c4d7844d4e662$var$CharacterData.prototype = {\n data: \"\",\n substringData: function(offset, count) {\n return this.data.substring(offset, offset + count);\n },\n appendData: function(text) {\n text = this.data + text;\n this.nodeValue = this.data = text;\n this.length = text.length;\n },\n insertData: function(offset, text) {\n this.replaceData(offset, 0, text);\n },\n appendChild: function(newChild) {\n throw new Error($5a3c4d7844d4e662$var$ExceptionMessage[$5a3c4d7844d4e662$var$HIERARCHY_REQUEST_ERR]);\n },\n deleteData: function(offset, count) {\n this.replaceData(offset, count, \"\");\n },\n replaceData: function(offset, count, text) {\n var start = this.data.substring(0, offset);\n var end = this.data.substring(offset + count);\n text = start + text + end;\n this.nodeValue = this.data = text;\n this.length = text.length;\n }\n};\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$CharacterData, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$Text() {}\n$5a3c4d7844d4e662$var$Text.prototype = {\n nodeName: \"#text\",\n nodeType: $5a3c4d7844d4e662$var$TEXT_NODE,\n splitText: function(offset) {\n var text = this.data;\n var newText = text.substring(offset);\n text = text.substring(0, offset);\n this.data = this.nodeValue = text;\n this.length = text.length;\n var newNode = this.ownerDocument.createTextNode(newText);\n if (this.parentNode) this.parentNode.insertBefore(newNode, this.nextSibling);\n return newNode;\n }\n};\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Text, $5a3c4d7844d4e662$var$CharacterData);\nfunction $5a3c4d7844d4e662$var$Comment() {}\n$5a3c4d7844d4e662$var$Comment.prototype = {\n nodeName: \"#comment\",\n nodeType: $5a3c4d7844d4e662$var$COMMENT_NODE\n};\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Comment, $5a3c4d7844d4e662$var$CharacterData);\nfunction $5a3c4d7844d4e662$var$CDATASection() {}\n$5a3c4d7844d4e662$var$CDATASection.prototype = {\n nodeName: \"#cdata-section\",\n nodeType: $5a3c4d7844d4e662$var$CDATA_SECTION_NODE\n};\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$CDATASection, $5a3c4d7844d4e662$var$CharacterData);\nfunction $5a3c4d7844d4e662$var$DocumentType() {}\n$5a3c4d7844d4e662$var$DocumentType.prototype.nodeType = $5a3c4d7844d4e662$var$DOCUMENT_TYPE_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$DocumentType, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$Notation() {}\n$5a3c4d7844d4e662$var$Notation.prototype.nodeType = $5a3c4d7844d4e662$var$NOTATION_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Notation, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$Entity() {}\n$5a3c4d7844d4e662$var$Entity.prototype.nodeType = $5a3c4d7844d4e662$var$ENTITY_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$Entity, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$EntityReference() {}\n$5a3c4d7844d4e662$var$EntityReference.prototype.nodeType = $5a3c4d7844d4e662$var$ENTITY_REFERENCE_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$EntityReference, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$DocumentFragment() {}\n$5a3c4d7844d4e662$var$DocumentFragment.prototype.nodeName = \"#document-fragment\";\n$5a3c4d7844d4e662$var$DocumentFragment.prototype.nodeType = $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$DocumentFragment, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$ProcessingInstruction() {}\n$5a3c4d7844d4e662$var$ProcessingInstruction.prototype.nodeType = $5a3c4d7844d4e662$var$PROCESSING_INSTRUCTION_NODE;\n$5a3c4d7844d4e662$var$_extends($5a3c4d7844d4e662$var$ProcessingInstruction, $5a3c4d7844d4e662$var$Node);\nfunction $5a3c4d7844d4e662$var$XMLSerializer() {}\n$5a3c4d7844d4e662$var$XMLSerializer.prototype.serializeToString = function(node, isHtml, nodeFilter) {\n return $5a3c4d7844d4e662$var$nodeSerializeToString.call(node, isHtml, nodeFilter);\n};\n$5a3c4d7844d4e662$var$Node.prototype.toString = $5a3c4d7844d4e662$var$nodeSerializeToString;\nfunction $5a3c4d7844d4e662$var$nodeSerializeToString(isHtml, nodeFilter) {\n var buf = [];\n var refNode = this.nodeType == 9 && this.documentElement || this;\n var prefix = refNode.prefix;\n var uri = refNode.namespaceURI;\n if (uri && prefix == null) {\n //console.log(prefix)\n var prefix = refNode.lookupPrefix(uri);\n if (prefix == null) //isHTML = true;\n var visibleNamespaces = [\n {\n namespace: uri,\n prefix: null\n }\n ];\n }\n $5a3c4d7844d4e662$var$serializeToString(this, buf, isHtml, nodeFilter, visibleNamespaces);\n //console.log('###',this.nodeType,uri,prefix,buf.join(''))\n return buf.join(\"\");\n}\nfunction $5a3c4d7844d4e662$var$needNamespaceDefine(node, isHTML, visibleNamespaces) {\n var prefix = node.prefix || \"\";\n var uri = node.namespaceURI;\n // According to [Namespaces in XML 1.0](https://www.w3.org/TR/REC-xml-names/#ns-using) ,\n // and more specifically https://www.w3.org/TR/REC-xml-names/#nsc-NoPrefixUndecl :\n // > In a namespace declaration for a prefix [...], the attribute value MUST NOT be empty.\n // in a similar manner [Namespaces in XML 1.1](https://www.w3.org/TR/xml-names11/#ns-using)\n // and more specifically https://www.w3.org/TR/xml-names11/#nsc-NSDeclared :\n // > [...] Furthermore, the attribute value [...] must not be an empty string.\n // so serializing empty namespace value like xmlns:ds=\"\" would produce an invalid XML document.\n if (!uri) return false;\n if (prefix === \"xml\" && uri === $5a3c4d7844d4e662$var$NAMESPACE.XML || uri === $5a3c4d7844d4e662$var$NAMESPACE.XMLNS) return false;\n var i = visibleNamespaces.length;\n while(i--){\n var ns = visibleNamespaces[i];\n // get namespace prefix\n if (ns.prefix === prefix) return ns.namespace !== uri;\n }\n return true;\n}\n/**\n * Well-formed constraint: No < in Attribute Values\n * > The replacement text of any entity referred to directly or indirectly\n * > in an attribute value must not contain a <.\n * @see https://www.w3.org/TR/xml11/#CleanAttrVals\n * @see https://www.w3.org/TR/xml11/#NT-AttValue\n *\n * Literal whitespace other than space that appear in attribute values\n * are serialized as their entity references, so they will be preserved.\n * (In contrast to whitespace literals in the input which are normalized to spaces)\n * @see https://www.w3.org/TR/xml11/#AVNormalize\n * @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes\n */ function $5a3c4d7844d4e662$var$addSerializedAttribute(buf, qualifiedName, value) {\n buf.push(\" \", qualifiedName, '=\"', value.replace(/[<>&\"\\t\\n\\r]/g, $5a3c4d7844d4e662$var$_xmlEncoder), '\"');\n}\nfunction $5a3c4d7844d4e662$var$serializeToString(node, buf, isHTML, nodeFilter, visibleNamespaces) {\n if (!visibleNamespaces) visibleNamespaces = [];\n if (nodeFilter) {\n node = nodeFilter(node);\n if (node) {\n if (typeof node == \"string\") {\n buf.push(node);\n return;\n }\n } else return;\n //buf.sort.apply(attrs, attributeSorter);\n }\n switch(node.nodeType){\n case $5a3c4d7844d4e662$var$ELEMENT_NODE:\n var attrs = node.attributes;\n var len = attrs.length;\n var child = node.firstChild;\n var nodeName = node.tagName;\n isHTML = $5a3c4d7844d4e662$var$NAMESPACE.isHTML(node.namespaceURI) || isHTML;\n var prefixedNodeName = nodeName;\n if (!isHTML && !node.prefix && node.namespaceURI) {\n var defaultNS;\n // lookup current default ns from `xmlns` attribute\n for(var ai = 0; ai < attrs.length; ai++)if (attrs.item(ai).name === \"xmlns\") {\n defaultNS = attrs.item(ai).value;\n break;\n }\n if (!defaultNS) // lookup current default ns in visibleNamespaces\n for(var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--){\n var namespace = visibleNamespaces[nsi];\n if (namespace.prefix === \"\" && namespace.namespace === node.namespaceURI) {\n defaultNS = namespace.namespace;\n break;\n }\n }\n if (defaultNS !== node.namespaceURI) for(var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--){\n var namespace = visibleNamespaces[nsi];\n if (namespace.namespace === node.namespaceURI) {\n if (namespace.prefix) prefixedNodeName = namespace.prefix + \":\" + nodeName;\n break;\n }\n }\n }\n buf.push(\"<\", prefixedNodeName);\n for(var i = 0; i < len; i++){\n // add namespaces for attributes\n var attr = attrs.item(i);\n if (attr.prefix == \"xmlns\") visibleNamespaces.push({\n prefix: attr.localName,\n namespace: attr.value\n });\n else if (attr.nodeName == \"xmlns\") visibleNamespaces.push({\n prefix: \"\",\n namespace: attr.value\n });\n }\n for(var i = 0; i < len; i++){\n var attr = attrs.item(i);\n if ($5a3c4d7844d4e662$var$needNamespaceDefine(attr, isHTML, visibleNamespaces)) {\n var prefix = attr.prefix || \"\";\n var uri = attr.namespaceURI;\n $5a3c4d7844d4e662$var$addSerializedAttribute(buf, prefix ? \"xmlns:\" + prefix : \"xmlns\", uri);\n visibleNamespaces.push({\n prefix: prefix,\n namespace: uri\n });\n }\n $5a3c4d7844d4e662$var$serializeToString(attr, buf, isHTML, nodeFilter, visibleNamespaces);\n }\n // add namespace for current node\n if (nodeName === prefixedNodeName && $5a3c4d7844d4e662$var$needNamespaceDefine(node, isHTML, visibleNamespaces)) {\n var prefix = node.prefix || \"\";\n var uri = node.namespaceURI;\n $5a3c4d7844d4e662$var$addSerializedAttribute(buf, prefix ? \"xmlns:\" + prefix : \"xmlns\", uri);\n visibleNamespaces.push({\n prefix: prefix,\n namespace: uri\n });\n }\n if (child || isHTML && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)) {\n buf.push(\">\");\n //if is cdata child node\n if (isHTML && /^script$/i.test(nodeName)) while(child){\n if (child.data) buf.push(child.data);\n else $5a3c4d7844d4e662$var$serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n child = child.nextSibling;\n }\n else while(child){\n $5a3c4d7844d4e662$var$serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n child = child.nextSibling;\n }\n buf.push(\"</\", prefixedNodeName, \">\");\n } else buf.push(\"/>\");\n // remove added visible namespaces\n //visibleNamespaces.length = startVisibleNamespaces;\n return;\n case $5a3c4d7844d4e662$var$DOCUMENT_NODE:\n case $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE:\n var child = node.firstChild;\n while(child){\n $5a3c4d7844d4e662$var$serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n child = child.nextSibling;\n }\n return;\n case $5a3c4d7844d4e662$var$ATTRIBUTE_NODE:\n return $5a3c4d7844d4e662$var$addSerializedAttribute(buf, node.name, node.value);\n case $5a3c4d7844d4e662$var$TEXT_NODE:\n /**\n\t\t * The ampersand character (&) and the left angle bracket (<) must not appear in their literal form,\n\t\t * except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.\n\t\t * If they are needed elsewhere, they must be escaped using either numeric character references or the strings\n\t\t * `&amp;` and `&lt;` respectively.\n\t\t * The right angle bracket (>) may be represented using the string \" &gt; \", and must, for compatibility,\n\t\t * be escaped using either `&gt;` or a character reference when it appears in the string `]]>` in content,\n\t\t * when that string is not marking the end of a CDATA section.\n\t\t *\n\t\t * In the content of elements, character data is any string of characters\n\t\t * which does not contain the start-delimiter of any markup\n\t\t * and does not include the CDATA-section-close delimiter, `]]>`.\n\t\t *\n\t\t * @see https://www.w3.org/TR/xml/#NT-CharData\n\t\t * @see https://w3c.github.io/DOM-Parsing/#xml-serializing-a-text-node\n\t\t */ return buf.push(node.data.replace(/[<&>]/g, $5a3c4d7844d4e662$var$_xmlEncoder));\n case $5a3c4d7844d4e662$var$CDATA_SECTION_NODE:\n return buf.push(\"<![CDATA[\", node.data, \"]]>\");\n case $5a3c4d7844d4e662$var$COMMENT_NODE:\n return buf.push(\"<!--\", node.data, \"-->\");\n case $5a3c4d7844d4e662$var$DOCUMENT_TYPE_NODE:\n var pubid = node.publicId;\n var sysid = node.systemId;\n buf.push(\"<!DOCTYPE \", node.name);\n if (pubid) {\n buf.push(\" PUBLIC \", pubid);\n if (sysid && sysid != \".\") buf.push(\" \", sysid);\n buf.push(\">\");\n } else if (sysid && sysid != \".\") buf.push(\" SYSTEM \", sysid, \">\");\n else {\n var sub = node.internalSubset;\n if (sub) buf.push(\" [\", sub, \"]\");\n buf.push(\">\");\n }\n return;\n case $5a3c4d7844d4e662$var$PROCESSING_INSTRUCTION_NODE:\n return buf.push(\"<?\", node.target, \" \", node.data, \"?>\");\n case $5a3c4d7844d4e662$var$ENTITY_REFERENCE_NODE:\n return buf.push(\"&\", node.nodeName, \";\");\n //case ENTITY_NODE:\n //case NOTATION_NODE:\n default:\n buf.push(\"??\", node.nodeName);\n }\n}\nfunction $5a3c4d7844d4e662$var$importNode(doc, node, deep) {\n var node2;\n switch(node.nodeType){\n case $5a3c4d7844d4e662$var$ELEMENT_NODE:\n node2 = node.cloneNode(false);\n node2.ownerDocument = doc;\n //var attrs = node2.attributes;\n //var len = attrs.length;\n //for(var i=0;i<len;i++){\n //node2.setAttributeNodeNS(importNode(doc,attrs.item(i),deep));\n //}\n case $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE:\n break;\n case $5a3c4d7844d4e662$var$ATTRIBUTE_NODE:\n deep = true;\n break;\n }\n if (!node2) node2 = node.cloneNode(false); //false\n node2.ownerDocument = doc;\n node2.parentNode = null;\n if (deep) {\n var child = node.firstChild;\n while(child){\n node2.appendChild($5a3c4d7844d4e662$var$importNode(doc, child, deep));\n child = child.nextSibling;\n }\n }\n return node2;\n}\n//\n//var _relationMap = {firstChild:1,lastChild:1,previousSibling:1,nextSibling:1,\n//\t\t\t\t\tattributes:1,childNodes:1,parentNode:1,documentElement:1,doctype,};\nfunction $5a3c4d7844d4e662$var$cloneNode(doc, node, deep) {\n var node2 = new node.constructor();\n for(var n in node)if (Object.prototype.hasOwnProperty.call(node, n)) {\n var v = node[n];\n if (typeof v != \"object\") {\n if (v != node2[n]) node2[n] = v;\n }\n }\n if (node.childNodes) node2.childNodes = new $5a3c4d7844d4e662$var$NodeList();\n node2.ownerDocument = doc;\n switch(node2.nodeType){\n case $5a3c4d7844d4e662$var$ELEMENT_NODE:\n var attrs = node.attributes;\n var attrs2 = node2.attributes = new $5a3c4d7844d4e662$var$NamedNodeMap();\n var len = attrs.length;\n attrs2._ownerElement = node2;\n for(var i = 0; i < len; i++)node2.setAttributeNode($5a3c4d7844d4e662$var$cloneNode(doc, attrs.item(i), true));\n break;\n case $5a3c4d7844d4e662$var$ATTRIBUTE_NODE:\n deep = true;\n }\n if (deep) {\n var child = node.firstChild;\n while(child){\n node2.appendChild($5a3c4d7844d4e662$var$cloneNode(doc, child, deep));\n child = child.nextSibling;\n }\n }\n return node2;\n}\nfunction $5a3c4d7844d4e662$var$__set__(object, key, value) {\n object[key] = value;\n}\n//do dynamic\ntry {\n if (Object.defineProperty) {\n Object.defineProperty($5a3c4d7844d4e662$var$LiveNodeList.prototype, \"length\", {\n get: function() {\n $5a3c4d7844d4e662$var$_updateLiveList(this);\n return this.$$length;\n }\n });\n Object.defineProperty($5a3c4d7844d4e662$var$Node.prototype, \"textContent\", {\n get: function() {\n return getTextContent(this);\n },\n set: function(data) {\n switch(this.nodeType){\n case $5a3c4d7844d4e662$var$ELEMENT_NODE:\n case $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE:\n while(this.firstChild)this.removeChild(this.firstChild);\n if (data || String(data)) this.appendChild(this.ownerDocument.createTextNode(data));\n break;\n default:\n this.data = data;\n this.value = data;\n this.nodeValue = data;\n }\n }\n });\n function getTextContent(node) {\n switch(node.nodeType){\n case $5a3c4d7844d4e662$var$ELEMENT_NODE:\n case $5a3c4d7844d4e662$var$DOCUMENT_FRAGMENT_NODE:\n var buf = [];\n node = node.firstChild;\n while(node){\n if (node.nodeType !== 7 && node.nodeType !== 8) buf.push(getTextContent(node));\n node = node.nextSibling;\n }\n return buf.join(\"\");\n default:\n return node.nodeValue;\n }\n }\n $5a3c4d7844d4e662$var$__set__ = function(object, key, value) {\n //console.log(value)\n object[\"$$\" + key] = value;\n };\n }\n} catch (e) {}\n$5a3c4d7844d4e662$export$d1d99cf900472499 = $5a3c4d7844d4e662$var$DocumentType;\n$5a3c4d7844d4e662$export$fe58bcf938607f6a = $5a3c4d7844d4e662$var$DOMException;\n$5a3c4d7844d4e662$export$455426655eab1d48 = $5a3c4d7844d4e662$var$DOMImplementation;\n$5a3c4d7844d4e662$export$db77ccec0bb4ccac = $5a3c4d7844d4e662$var$Element;\n$5a3c4d7844d4e662$export$85c928794f8d04d4 = $5a3c4d7844d4e662$var$Node;\n$5a3c4d7844d4e662$export$79b41aa5d56abdff = $5a3c4d7844d4e662$var$NodeList;\n$5a3c4d7844d4e662$export$64f0bed4ae6f0f24 = $5a3c4d7844d4e662$var$XMLSerializer; //}\n\n});\n\nparcelRegister(\"aeYiS\", function(module, exports) {\n\n$parcel$export(module.exports, \"XML_ENTITIES\", () => $7749fd2f6249d805$export$91f0e5ff03dc84f, (v) => $7749fd2f6249d805$export$91f0e5ff03dc84f = v);\n$parcel$export(module.exports, \"HTML_ENTITIES\", () => $7749fd2f6249d805$export$b7e4d4631df36afa, (v) => $7749fd2f6249d805$export$b7e4d4631df36afa = v);\n/**\n * The entities that are predefined in every XML document.\n *\n * @see https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-predefined-ent W3C XML 1.1\n * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia\n */ var $7749fd2f6249d805$export$91f0e5ff03dc84f;\n/**\n * A map of all entities that are detected in an HTML document.\n * They contain all entries from `XML_ENTITIES`.\n *\n * @see XML_ENTITIES\n * @see DOMParser.parseFromString\n * @see DOMImplementation.prototype.createHTMLDocument\n * @see https://html.spec.whatwg.org/#named-character-references WHATWG HTML(5) Spec\n * @see https://html.spec.whatwg.org/entities.json JSON\n * @see https://www.w3.org/TR/xml-entity-names/ W3C XML Entity Names\n * @see https://www.w3.org/TR/html4/sgml/entities.html W3C HTML4/SGML\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)\n */ var $7749fd2f6249d805$export$b7e4d4631df36afa;\n/**\n * @deprecated use `HTML_ENTITIES` instead\n * @see HTML_ENTITIES\n */ var $7749fd2f6249d805$export$79451380caed3f98;\n\"use strict\";\n\nvar $e95yL = parcelRequire(\"e95yL\");\nvar $7749fd2f6249d805$require$freeze = $e95yL.freeze;\n$7749fd2f6249d805$export$91f0e5ff03dc84f = $7749fd2f6249d805$require$freeze({\n amp: \"&\",\n apos: \"'\",\n gt: \">\",\n lt: \"<\",\n quot: '\"'\n});\n$7749fd2f6249d805$export$b7e4d4631df36afa = $7749fd2f6249d805$require$freeze({\n Aacute: \"\\xc1\",\n aacute: \"\\xe1\",\n Abreve: \"\\u0102\",\n abreve: \"\\u0103\",\n ac: \"\\u223E\",\n acd: \"\\u223F\",\n acE: \"\\u223E\\u0333\",\n Acirc: \"\\xc2\",\n acirc: \"\\xe2\",\n acute: \"\\xb4\",\n Acy: \"\\u0410\",\n acy: \"\\u0430\",\n AElig: \"\\xc6\",\n aelig: \"\\xe6\",\n af: \"\\u2061\",\n Afr: \"\\uD835\\uDD04\",\n afr: \"\\uD835\\uDD1E\",\n Agrave: \"\\xc0\",\n agrave: \"\\xe0\",\n alefsym: \"\\u2135\",\n aleph: \"\\u2135\",\n Alpha: \"\\u0391\",\n alpha: \"\\u03B1\",\n Amacr: \"\\u0100\",\n amacr: \"\\u0101\",\n amalg: \"\\u2A3F\",\n AMP: \"&\",\n amp: \"&\",\n And: \"\\u2A53\",\n and: \"\\u2227\",\n andand: \"\\u2A55\",\n andd: \"\\u2A5C\",\n andslope: \"\\u2A58\",\n andv: \"\\u2A5A\",\n ang: \"\\u2220\",\n ange: \"\\u29A4\",\n angle: \"\\u2220\",\n angmsd: \"\\u2221\",\n angmsdaa: \"\\u29A8\",\n angmsdab: \"\\u29A9\",\n angmsdac: \"\\u29AA\",\n angmsdad: \"\\u29AB\",\n angmsdae: \"\\u29AC\",\n angmsdaf: \"\\u29AD\",\n angmsdag: \"\\u29AE\",\n angmsdah: \"\\u29AF\",\n angrt: \"\\u221F\",\n angrtvb: \"\\u22BE\",\n angrtvbd: \"\\u299D\",\n angsph: \"\\u2222\",\n angst: \"\\xc5\",\n angzarr: \"\\u237C\",\n Aogon: \"\\u0104\",\n aogon: \"\\u0105\",\n Aopf: \"\\uD835\\uDD38\",\n aopf: \"\\uD835\\uDD52\",\n ap: \"\\u2248\",\n apacir: \"\\u2A6F\",\n apE: \"\\u2A70\",\n ape: \"\\u224A\",\n apid: \"\\u224B\",\n apos: \"'\",\n ApplyFunction: \"\\u2061\",\n approx: \"\\u2248\",\n approxeq: \"\\u224A\",\n Aring: \"\\xc5\",\n aring: \"\\xe5\",\n Ascr: \"\\uD835\\uDC9C\",\n ascr: \"\\uD835\\uDCB6\",\n Assign: \"\\u2254\",\n ast: \"*\",\n asymp: \"\\u2248\",\n asympeq: \"\\u224D\",\n Atilde: \"\\xc3\",\n atilde: \"\\xe3\",\n Auml: \"\\xc4\",\n auml: \"\\xe4\",\n awconint: \"\\u2233\",\n awint: \"\\u2A11\",\n backcong: \"\\u224C\",\n backepsilon: \"\\u03F6\",\n backprime: \"\\u2035\",\n backsim: \"\\u223D\",\n backsimeq: \"\\u22CD\",\n Backslash: \"\\u2216\",\n Barv: \"\\u2AE7\",\n barvee: \"\\u22BD\",\n Barwed: \"\\u2306\",\n barwed: \"\\u2305\",\n barwedge: \"\\u2305\",\n bbrk: \"\\u23B5\",\n bbrktbrk: \"\\u23B6\",\n bcong: \"\\u224C\",\n Bcy: \"\\u0411\",\n bcy: \"\\u0431\",\n bdquo: \"\\u201E\",\n becaus: \"\\u2235\",\n Because: \"\\u2235\",\n because: \"\\u2235\",\n bemptyv: \"\\u29B0\",\n bepsi: \"\\u03F6\",\n bernou: \"\\u212C\",\n Bernoullis: \"\\u212C\",\n Beta: \"\\u0392\",\n beta: \"\\u03B2\",\n beth: \"\\u2136\",\n between: \"\\u226C\",\n Bfr: \"\\uD835\\uDD05\",\n bfr: \"\\uD835\\uDD1F\",\n bigcap: \"\\u22C2\",\n bigcirc: \"\\u25EF\",\n bigcup: \"\\u22C3\",\n bigodot: \"\\u2A00\",\n bigoplus: \"\\u2A01\",\n bigotimes: \"\\u2A02\",\n bigsqcup: \"\\u2A06\",\n bigstar: \"\\u2605\",\n bigtriangledown: \"\\u25BD\",\n bigtriangleup: \"\\u25B3\",\n biguplus: \"\\u2A04\",\n bigvee: \"\\u22C1\",\n bigwedge: \"\\u22C0\",\n bkarow: \"\\u290D\",\n blacklozenge: \"\\u29EB\",\n blacksquare: \"\\u25AA\",\n blacktriangle: \"\\u25B4\",\n blacktriangledown: \"\\u25BE\",\n blacktriangleleft: \"\\u25C2\",\n blacktriangleright: \"\\u25B8\",\n blank: \"\\u2423\",\n blk12: \"\\u2592\",\n blk14: \"\\u2591\",\n blk34: \"\\u2593\",\n block: \"\\u2588\",\n bne: \"=\\u20E5\",\n bnequiv: \"\\u2261\\u20E5\",\n bNot: \"\\u2AED\",\n bnot: \"\\u2310\",\n Bopf: \"\\uD835\\uDD39\",\n bopf: \"\\uD835\\uDD53\",\n bot: \"\\u22A5\",\n bottom: \"\\u22A5\",\n bowtie: \"\\u22C8\",\n boxbox: \"\\u29C9\",\n boxDL: \"\\u2557\",\n boxDl: \"\\u2556\",\n boxdL: \"\\u2555\",\n boxdl: \"\\u2510\",\n boxDR: \"\\u2554\",\n boxDr: \"\\u2553\",\n boxdR: \"\\u2552\",\n boxdr: \"\\u250C\",\n boxH: \"\\u2550\",\n boxh: \"\\u2500\",\n boxHD: \"\\u2566\",\n boxHd: \"\\u2564\",\n boxhD: \"\\u2565\",\n boxhd: \"\\u252C\",\n boxHU: \"\\u2569\",\n boxHu: \"\\u2567\",\n boxhU: \"\\u2568\",\n boxhu: \"\\u2534\",\n boxminus: \"\\u229F\",\n boxplus: \"\\u229E\",\n boxtimes: \"\\u22A0\",\n boxUL: \"\\u255D\",\n boxUl: \"\\u255C\",\n boxuL: \"\\u255B\",\n boxul: \"\\u2518\",\n boxUR: \"\\u255A\",\n boxUr: \"\\u2559\",\n boxuR: \"\\u2558\",\n boxur: \"\\u2514\",\n boxV: \"\\u2551\",\n boxv: \"\\u2502\",\n boxVH: \"\\u256C\",\n boxVh: \"\\u256B\",\n boxvH: \"\\u256A\",\n boxvh: \"\\u253C\",\n boxVL: \"\\u2563\",\n boxVl: \"\\u2562\",\n boxvL: \"\\u2561\",\n boxvl: \"\\u2524\",\n boxVR: \"\\u2560\",\n boxVr: \"\\u255F\",\n boxvR: \"\\u255E\",\n boxvr: \"\\u251C\",\n bprime: \"\\u2035\",\n Breve: \"\\u02D8\",\n breve: \"\\u02D8\",\n brvbar: \"\\xa6\",\n Bscr: \"\\u212C\",\n bscr: \"\\uD835\\uDCB7\",\n bsemi: \"\\u204F\",\n bsim: \"\\u223D\",\n bsime: \"\\u22CD\",\n bsol: \"\\\\\",\n bsolb: \"\\u29C5\",\n bsolhsub: \"\\u27C8\",\n bull: \"\\u2022\",\n bullet: \"\\u2022\",\n bump: \"\\u224E\",\n bumpE: \"\\u2AAE\",\n bumpe: \"\\u224F\",\n Bumpeq: \"\\u224E\",\n bumpeq: \"\\u224F\",\n Cacute: \"\\u0106\",\n cacute: \"\\u0107\",\n Cap: \"\\u22D2\",\n cap: \"\\u2229\",\n capand: \"\\u2A44\",\n capbrcup: \"\\u2A49\",\n capcap: \"\\u2A4B\",\n capcup: \"\\u2A47\",\n capdot: \"\\u2A40\",\n CapitalDifferentialD: \"\\u2145\",\n caps: \"\\u2229\\uFE00\",\n caret: \"\\u2041\",\n caron: \"\\u02C7\",\n Cayleys: \"\\u212D\",\n ccaps: \"\\u2A4D\",\n Ccaron: \"\\u010C\",\n ccaron: \"\\u010D\",\n Ccedil: \"\\xc7\",\n ccedil: \"\\xe7\",\n Ccirc: \"\\u0108\",\n ccirc: \"\\u0109\",\n Cconint: \"\\u2230\",\n ccups: \"\\u2A4C\",\n ccupssm: \"\\u2A50\",\n Cdot: \"\\u010A\",\n cdot: \"\\u010B\",\n cedil: \"\\xb8\",\n Cedilla: \"\\xb8\",\n cemptyv: \"\\u29B2\",\n cent: \"\\xa2\",\n CenterDot: \"\\xb7\",\n centerdot: \"\\xb7\",\n Cfr: \"\\u212D\",\n cfr: \"\\uD835\\uDD20\",\n CHcy: \"\\u0427\",\n chcy: \"\\u0447\",\n check: \"\\u2713\",\n checkmark: \"\\u2713\",\n Chi: \"\\u03A7\",\n chi: \"\\u03C7\",\n cir: \"\\u25CB\",\n circ: \"\\u02C6\",\n circeq: \"\\u2257\",\n circlearrowleft: \"\\u21BA\",\n circlearrowright: \"\\u21BB\",\n circledast: \"\\u229B\",\n circledcirc: \"\\u229A\",\n circleddash: \"\\u229D\",\n CircleDot: \"\\u2299\",\n circledR: \"\\xae\",\n circledS: \"\\u24C8\",\n CircleMinus: \"\\u2296\",\n CirclePlus: \"\\u2295\",\n CircleTimes: \"\\u2297\",\n cirE: \"\\u29C3\",\n cire: \"\\u2257\",\n cirfnint: \"\\u2A10\",\n cirmid: \"\\u2AEF\",\n cirscir: \"\\u29C2\",\n ClockwiseContourIntegral: \"\\u2232\",\n CloseCurlyDoubleQuote: \"\\u201D\",\n CloseCurlyQuote: \"\\u2019\",\n clubs: \"\\u2663\",\n clubsuit: \"\\u2663\",\n Colon: \"\\u2237\",\n colon: \":\",\n Colone: \"\\u2A74\",\n colone: \"\\u2254\",\n coloneq: \"\\u2254\",\n comma: \",\",\n commat: \"@\",\n comp: \"\\u2201\",\n compfn: \"\\u2218\",\n complement: \"\\u2201\",\n complexes: \"\\u2102\",\n cong: \"\\u2245\",\n congdot: \"\\u2A6D\",\n Congruent: \"\\u2261\",\n Conint: \"\\u222F\",\n conint: \"\\u222E\",\n ContourIntegral: \"\\u222E\",\n Copf: \"\\u2102\",\n copf: \"\\uD835\\uDD54\",\n coprod: \"\\u2210\",\n Coproduct: \"\\u2210\",\n COPY: \"\\xa9\",\n copy: \"\\xa9\",\n copysr: \"\\u2117\",\n CounterClockwiseContourIntegral: \"\\u2233\",\n crarr: \"\\u21B5\",\n Cross: \"\\u2A2F\",\n cross: \"\\u2717\",\n Cscr: \"\\uD835\\uDC9E\",\n cscr: \"\\uD835\\uDCB8\",\n csub: \"\\u2ACF\",\n csube: \"\\u2AD1\",\n csup: \"\\u2AD0\",\n csupe: \"\\u2AD2\",\n ctdot: \"\\u22EF\",\n cudarrl: \"\\u2938\",\n cudarrr: \"\\u2935\",\n cuepr: \"\\u22DE\",\n cuesc: \"\\u22DF\",\n cularr: \"\\u21B6\",\n cularrp: \"\\u293D\",\n Cup: \"\\u22D3\",\n cup: \"\\u222A\",\n cupbrcap: \"\\u2A48\",\n CupCap: \"\\u224D\",\n cupcap: \"\\u2A46\",\n cupcup: \"\\u2A4A\",\n cupdot: \"\\u228D\",\n cupor: \"\\u2A45\",\n cups: \"\\u222A\\uFE00\",\n curarr: \"\\u21B7\",\n curarrm: \"\\u293C\",\n curlyeqprec: \"\\u22DE\",\n curlyeqsucc: \"\\u22DF\",\n curlyvee: \"\\u22CE\",\n curlywedge: \"\\u22CF\",\n curren: \"\\xa4\",\n curvearrowleft: \"\\u21B6\",\n curvearrowright: \"\\u21B7\",\n cuvee: \"\\u22CE\",\n cuwed: \"\\u22CF\",\n cwconint: \"\\u2232\",\n cwint: \"\\u2231\",\n cylcty: \"\\u232D\",\n Dagger: \"\\u2021\",\n dagger: \"\\u2020\",\n daleth: \"\\u2138\",\n Darr: \"\\u21A1\",\n dArr: \"\\u21D3\",\n darr: \"\\u2193\",\n dash: \"\\u2010\",\n Dashv: \"\\u2AE4\",\n dashv: \"\\u22A3\",\n dbkarow: \"\\u290F\",\n dblac: \"\\u02DD\",\n Dcaron: \"\\u010E\",\n dcaron: \"\\u010F\",\n Dcy: \"\\u0414\",\n dcy: \"\\u0434\",\n DD: \"\\u2145\",\n dd: \"\\u2146\",\n ddagger: \"\\u2021\",\n ddarr: \"\\u21CA\",\n DDotrahd: \"\\u2911\",\n ddotseq: \"\\u2A77\",\n deg: \"\\xb0\",\n Del: \"\\u2207\",\n Delta: \"\\u0394\",\n delta: \"\\u03B4\",\n demptyv: \"\\u29B1\",\n dfisht: \"\\u297F\",\n Dfr: \"\\uD835\\uDD07\",\n dfr: \"\\uD835\\uDD21\",\n dHar: \"\\u2965\",\n dharl: \"\\u21C3\",\n dharr: \"\\u21C2\",\n DiacriticalAcute: \"\\xb4\",\n DiacriticalDot: \"\\u02D9\",\n DiacriticalDoubleAcute: \"\\u02DD\",\n DiacriticalGrave: \"`\",\n DiacriticalTilde: \"\\u02DC\",\n diam: \"\\u22C4\",\n Diamond: \"\\u22C4\",\n diamond: \"\\u22C4\",\n diamondsuit: \"\\u2666\",\n diams: \"\\u2666\",\n die: \"\\xa8\",\n DifferentialD: \"\\u2146\",\n digamma: \"\\u03DD\",\n disin: \"\\u22F2\",\n div: \"\\xf7\",\n divide: \"\\xf7\",\n divideontimes: \"\\u22C7\",\n divonx: \"\\u22C7\",\n DJcy: \"\\u0402\",\n djcy: \"\\u0452\",\n dlcorn: \"\\u231E\",\n dlcrop: \"\\u230D\",\n dollar: \"$\",\n Dopf: \"\\uD835\\uDD3B\",\n dopf: \"\\uD835\\uDD55\",\n Dot: \"\\xa8\",\n dot: \"\\u02D9\",\n DotDot: \"\\u20DC\",\n doteq: \"\\u2250\",\n doteqdot: \"\\u2251\",\n DotEqual: \"\\u2250\",\n dotminus: \"\\u2238\",\n dotplus: \"\\u2214\",\n dotsquare: \"\\u22A1\",\n doublebarwedge: \"\\u2306\",\n DoubleContourIntegral: \"\\u222F\",\n DoubleDot: \"\\xa8\",\n DoubleDownArrow: \"\\u21D3\",\n DoubleLeftArrow: \"\\u21D0\",\n DoubleLeftRightArrow: \"\\u21D4\",\n DoubleLeftTee: \"\\u2AE4\",\n DoubleLongLeftArrow: \"\\u27F8\",\n DoubleLongLeftRightArrow: \"\\u27FA\",\n DoubleLongRightArrow: \"\\u27F9\",\n DoubleRightArrow: \"\\u21D2\",\n DoubleRightTee: \"\\u22A8\",\n DoubleUpArrow: \"\\u21D1\",\n DoubleUpDownArrow: \"\\u21D5\",\n DoubleVerticalBar: \"\\u2225\",\n DownArrow: \"\\u2193\",\n Downarrow: \"\\u21D3\",\n downarrow: \"\\u2193\",\n DownArrowBar: \"\\u2913\",\n DownArrowUpArrow: \"\\u21F5\",\n DownBreve: \"\\u0311\",\n downdownarrows: \"\\u21CA\",\n downharpoonleft: \"\\u21C3\",\n downharpoonright: \"\\u21C2\",\n DownLeftRightVector: \"\\u2950\",\n DownLeftTeeVector: \"\\u295E\",\n DownLeftVector: \"\\u21BD\",\n DownLeftVectorBar: \"\\u2956\",\n DownRightTeeVector: \"\\u295F\",\n DownRightVector: \"\\u21C1\",\n DownRightVectorBar: \"\\u2957\",\n DownTee: \"\\u22A4\",\n DownTeeArrow: \"\\u21A7\",\n drbkarow: \"\\u2910\",\n drcorn: \"\\u231F\",\n drcrop: \"\\u230C\",\n Dscr: \"\\uD835\\uDC9F\",\n dscr: \"\\uD835\\uDCB9\",\n DScy: \"\\u0405\",\n dscy: \"\\u0455\",\n dsol: \"\\u29F6\",\n Dstrok: \"\\u0110\",\n dstrok: \"\\u0111\",\n dtdot: \"\\u22F1\",\n dtri: \"\\u25BF\",\n dtrif: \"\\u25BE\",\n duarr: \"\\u21F5\",\n duhar: \"\\u296F\",\n dwangle: \"\\u29A6\",\n DZcy: \"\\u040F\",\n dzcy: \"\\u045F\",\n dzigrarr: \"\\u27FF\",\n Eacute: \"\\xc9\",\n eacute: \"\\xe9\",\n easter: \"\\u2A6E\",\n Ecaron: \"\\u011A\",\n ecaron: \"\\u011B\",\n ecir: \"\\u2256\",\n Ecirc: \"\\xca\",\n ecirc: \"\\xea\",\n ecolon: \"\\u2255\",\n Ecy: \"\\u042D\",\n ecy: \"\\u044D\",\n eDDot: \"\\u2A77\",\n Edot: \"\\u0116\",\n eDot: \"\\u2251\",\n edot: \"\\u0117\",\n ee: \"\\u2147\",\n efDot: \"\\u2252\",\n Efr: \"\\uD835\\uDD08\",\n efr: \"\\uD835\\uDD22\",\n eg: \"\\u2A9A\",\n Egrave: \"\\xc8\",\n egrave: \"\\xe8\",\n egs: \"\\u2A96\",\n egsdot: \"\\u2A98\",\n el: \"\\u2A99\",\n Element: \"\\u2208\",\n elinters: \"\\u23E7\",\n ell: \"\\u2113\",\n els: \"\\u2A95\",\n elsdot: \"\\u2A97\",\n Emacr: \"\\u0112\",\n emacr: \"\\u0113\",\n empty: \"\\u2205\",\n emptyset: \"\\u2205\",\n EmptySmallSquare: \"\\u25FB\",\n emptyv: \"\\u2205\",\n EmptyVerySmallSquare: \"\\u25AB\",\n emsp: \"\\u2003\",\n emsp13: \"\\u2004\",\n emsp14: \"\\u2005\",\n ENG: \"\\u014A\",\n eng: \"\\u014B\",\n ensp: \"\\u2002\",\n Eogon: \"\\u0118\",\n eogon: \"\\u0119\",\n Eopf: \"\\uD835\\uDD3C\",\n eopf: \"\\uD835\\uDD56\",\n epar: \"\\u22D5\",\n eparsl: \"\\u29E3\",\n eplus: \"\\u2A71\",\n epsi: \"\\u03B5\",\n Epsilon: \"\\u0395\",\n epsilon: \"\\u03B5\",\n epsiv: \"\\u03F5\",\n eqcirc: \"\\u2256\",\n eqcolon: \"\\u2255\",\n eqsim: \"\\u2242\",\n eqslantgtr: \"\\u2A96\",\n eqslantless: \"\\u2A95\",\n Equal: \"\\u2A75\",\n equals: \"=\",\n EqualTilde: \"\\u2242\",\n equest: \"\\u225F\",\n Equilibrium: \"\\u21CC\",\n equiv: \"\\u2261\",\n equivDD: \"\\u2A78\",\n eqvparsl: \"\\u29E5\",\n erarr: \"\\u2971\",\n erDot: \"\\u2253\",\n Escr: \"\\u2130\",\n escr: \"\\u212F\",\n esdot: \"\\u2250\",\n Esim: \"\\u2A73\",\n esim: \"\\u2242\",\n Eta: \"\\u0397\",\n eta: \"\\u03B7\",\n ETH: \"\\xd0\",\n eth: \"\\xf0\",\n Euml: \"\\xcb\",\n euml: \"\\xeb\",\n euro: \"\\u20AC\",\n excl: \"!\",\n exist: \"\\u2203\",\n Exists: \"\\u2203\",\n expectation: \"\\u2130\",\n ExponentialE: \"\\u2147\",\n exponentiale: \"\\u2147\",\n fallingdotseq: \"\\u2252\",\n Fcy: \"\\u0424\",\n fcy: \"\\u0444\",\n female: \"\\u2640\",\n ffilig: \"\\uFB03\",\n fflig: \"\\uFB00\",\n ffllig: \"\\uFB04\",\n Ffr: \"\\uD835\\uDD09\",\n ffr: \"\\uD835\\uDD23\",\n filig: \"\\uFB01\",\n FilledSmallSquare: \"\\u25FC\",\n FilledVerySmallSquare: \"\\u25AA\",\n fjlig: \"fj\",\n flat: \"\\u266D\",\n fllig: \"\\uFB02\",\n fltns: \"\\u25B1\",\n fnof: \"\\u0192\",\n Fopf: \"\\uD835\\uDD3D\",\n fopf: \"\\uD835\\uDD57\",\n ForAll: \"\\u2200\",\n forall: \"\\u2200\",\n fork: \"\\u22D4\",\n forkv: \"\\u2AD9\",\n Fouriertrf: \"\\u2131\",\n fpartint: \"\\u2A0D\",\n frac12: \"\\xbd\",\n frac13: \"\\u2153\",\n frac14: \"\\xbc\",\n frac15: \"\\u2155\",\n frac16: \"\\u2159\",\n frac18: \"\\u215B\",\n frac23: \"\\u2154\",\n frac25: \"\\u2156\",\n frac34: \"\\xbe\",\n frac35: \"\\u2157\",\n frac38: \"\\u215C\",\n frac45: \"\\u2158\",\n frac56: \"\\u215A\",\n frac58: \"\\u215D\",\n frac78: \"\\u215E\",\n frasl: \"\\u2044\",\n frown: \"\\u2322\",\n Fscr: \"\\u2131\",\n fscr: \"\\uD835\\uDCBB\",\n gacute: \"\\u01F5\",\n Gamma: \"\\u0393\",\n gamma: \"\\u03B3\",\n Gammad: \"\\u03DC\",\n gammad: \"\\u03DD\",\n gap: \"\\u2A86\",\n Gbreve: \"\\u011E\",\n gbreve: \"\\u011F\",\n Gcedil: \"\\u0122\",\n Gcirc: \"\\u011C\",\n gcirc: \"\\u011D\",\n Gcy: \"\\u0413\",\n gcy: \"\\u0433\",\n Gdot: \"\\u0120\",\n gdot: \"\\u0121\",\n gE: \"\\u2267\",\n ge: \"\\u2265\",\n gEl: \"\\u2A8C\",\n gel: \"\\u22DB\",\n geq: \"\\u2265\",\n geqq: \"\\u2267\",\n geqslant: \"\\u2A7E\",\n ges: \"\\u2A7E\",\n gescc: \"\\u2AA9\",\n gesdot: \"\\u2A80\",\n gesdoto: \"\\u2A82\",\n gesdotol: \"\\u2A84\",\n gesl: \"\\u22DB\\uFE00\",\n gesles: \"\\u2A94\",\n Gfr: \"\\uD835\\uDD0A\",\n gfr: \"\\uD835\\uDD24\",\n Gg: \"\\u22D9\",\n gg: \"\\u226B\",\n ggg: \"\\u22D9\",\n gimel: \"\\u2137\",\n GJcy: \"\\u0403\",\n gjcy: \"\\u0453\",\n gl: \"\\u2277\",\n gla: \"\\u2AA5\",\n glE: \"\\u2A92\",\n glj: \"\\u2AA4\",\n gnap: \"\\u2A8A\",\n gnapprox: \"\\u2A8A\",\n gnE: \"\\u2269\",\n gne: \"\\u2A88\",\n gneq: \"\\u2A88\",\n gneqq: \"\\u2269\",\n gnsim: \"\\u22E7\",\n Gopf: \"\\uD835\\uDD3E\",\n gopf: \"\\uD835\\uDD58\",\n grave: \"`\",\n GreaterEqual: \"\\u2265\",\n GreaterEqualLess: \"\\u22DB\",\n GreaterFullEqual: \"\\u2267\",\n GreaterGreater: \"\\u2AA2\",\n GreaterLess: \"\\u2277\",\n GreaterSlantEqual: \"\\u2A7E\",\n GreaterTilde: \"\\u2273\",\n Gscr: \"\\uD835\\uDCA2\",\n gscr: \"\\u210A\",\n gsim: \"\\u2273\",\n gsime: \"\\u2A8E\",\n gsiml: \"\\u2A90\",\n Gt: \"\\u226B\",\n GT: \">\",\n gt: \">\",\n gtcc: \"\\u2AA7\",\n gtcir: \"\\u2A7A\",\n gtdot: \"\\u22D7\",\n gtlPar: \"\\u2995\",\n gtquest: \"\\u2A7C\",\n gtrapprox: \"\\u2A86\",\n gtrarr: \"\\u2978\",\n gtrdot: \"\\u22D7\",\n gtreqless: \"\\u22DB\",\n gtreqqless: \"\\u2A8C\",\n gtrless: \"\\u2277\",\n gtrsim: \"\\u2273\",\n gvertneqq: \"\\u2269\\uFE00\",\n gvnE: \"\\u2269\\uFE00\",\n Hacek: \"\\u02C7\",\n hairsp: \"\\u200A\",\n half: \"\\xbd\",\n hamilt: \"\\u210B\",\n HARDcy: \"\\u042A\",\n hardcy: \"\\u044A\",\n hArr: \"\\u21D4\",\n harr: \"\\u2194\",\n harrcir: \"\\u2948\",\n harrw: \"\\u21AD\",\n Hat: \"^\",\n hbar: \"\\u210F\",\n Hcirc: \"\\u0124\",\n hcirc: \"\\u0125\",\n hearts: \"\\u2665\",\n heartsuit: \"\\u2665\",\n hellip: \"\\u2026\",\n hercon: \"\\u22B9\",\n Hfr: \"\\u210C\",\n hfr: \"\\uD835\\uDD25\",\n HilbertSpace: \"\\u210B\",\n hksearow: \"\\u2925\",\n hkswarow: \"\\u2926\",\n hoarr: \"\\u21FF\",\n homtht: \"\\u223B\",\n hookleftarrow: \"\\u21A9\",\n hookrightarrow: \"\\u21AA\",\n Hopf: \"\\u210D\",\n hopf: \"\\uD835\\uDD59\",\n horbar: \"\\u2015\",\n HorizontalLine: \"\\u2500\",\n Hscr: \"\\u210B\",\n hscr: \"\\uD835\\uDCBD\",\n hslash: \"\\u210F\",\n Hstrok: \"\\u0126\",\n hstrok: \"\\u0127\",\n HumpDownHump: \"\\u224E\",\n HumpEqual: \"\\u224F\",\n hybull: \"\\u2043\",\n hyphen: \"\\u2010\",\n Iacute: \"\\xcd\",\n iacute: \"\\xed\",\n ic: \"\\u2063\",\n Icirc: \"\\xce\",\n icirc: \"\\xee\",\n Icy: \"\\u0418\",\n icy: \"\\u0438\",\n Idot: \"\\u0130\",\n IEcy: \"\\u0415\",\n iecy: \"\\u0435\",\n iexcl: \"\\xa1\",\n iff: \"\\u21D4\",\n Ifr: \"\\u2111\",\n ifr: \"\\uD835\\uDD26\",\n Igrave: \"\\xcc\",\n igrave: \"\\xec\",\n ii: \"\\u2148\",\n iiiint: \"\\u2A0C\",\n iiint: \"\\u222D\",\n iinfin: \"\\u29DC\",\n iiota: \"\\u2129\",\n IJlig: \"\\u0132\",\n ijlig: \"\\u0133\",\n Im: \"\\u2111\",\n Imacr: \"\\u012A\",\n imacr: \"\\u012B\",\n image: \"\\u2111\",\n ImaginaryI: \"\\u2148\",\n imagline: \"\\u2110\",\n imagpart: \"\\u2111\",\n imath: \"\\u0131\",\n imof: \"\\u22B7\",\n imped: \"\\u01B5\",\n Implies: \"\\u21D2\",\n in: \"\\u2208\",\n incare: \"\\u2105\",\n infin: \"\\u221E\",\n infintie: \"\\u29DD\",\n inodot: \"\\u0131\",\n Int: \"\\u222C\",\n int: \"\\u222B\",\n intcal: \"\\u22BA\",\n integers: \"\\u2124\",\n Integral: \"\\u222B\",\n intercal: \"\\u22BA\",\n Intersection: \"\\u22C2\",\n intlarhk: \"\\u2A17\",\n intprod: \"\\u2A3C\",\n InvisibleComma: \"\\u2063\",\n InvisibleTimes: \"\\u2062\",\n IOcy: \"\\u0401\",\n iocy: \"\\u0451\",\n Iogon: \"\\u012E\",\n iogon: \"\\u012F\",\n Iopf: \"\\uD835\\uDD40\",\n iopf: \"\\uD835\\uDD5A\",\n Iota: \"\\u0399\",\n iota: \"\\u03B9\",\n iprod: \"\\u2A3C\",\n iquest: \"\\xbf\",\n Iscr: \"\\u2110\",\n iscr: \"\\uD835\\uDCBE\",\n isin: \"\\u2208\",\n isindot: \"\\u22F5\",\n isinE: \"\\u22F9\",\n isins: \"\\u22F4\",\n isinsv: \"\\u22F3\",\n isinv: \"\\u2208\",\n it: \"\\u2062\",\n Itilde: \"\\u0128\",\n itilde: \"\\u0129\",\n Iukcy: \"\\u0406\",\n iukcy: \"\\u0456\",\n Iuml: \"\\xcf\",\n iuml: \"\\xef\",\n Jcirc: \"\\u0134\",\n jcirc: \"\\u0135\",\n Jcy: \"\\u0419\",\n jcy: \"\\u0439\",\n Jfr: \"\\uD835\\uDD0D\",\n jfr: \"\\uD835\\uDD27\",\n jmath: \"\\u0237\",\n Jopf: \"\\uD835\\uDD41\",\n jopf: \"\\uD835\\uDD5B\",\n Jscr: \"\\uD835\\uDCA5\",\n jscr: \"\\uD835\\uDCBF\",\n Jsercy: \"\\u0408\",\n jsercy: \"\\u0458\",\n Jukcy: \"\\u0404\",\n jukcy: \"\\u0454\",\n Kappa: \"\\u039A\",\n kappa: \"\\u03BA\",\n kappav: \"\\u03F0\",\n Kcedil: \"\\u0136\",\n kcedil: \"\\u0137\",\n Kcy: \"\\u041A\",\n kcy: \"\\u043A\",\n Kfr: \"\\uD835\\uDD0E\",\n kfr: \"\\uD835\\uDD28\",\n kgreen: \"\\u0138\",\n KHcy: \"\\u0425\",\n khcy: \"\\u0445\",\n KJcy: \"\\u040C\",\n kjcy: \"\\u045C\",\n Kopf: \"\\uD835\\uDD42\",\n kopf: \"\\uD835\\uDD5C\",\n Kscr: \"\\uD835\\uDCA6\",\n kscr: \"\\uD835\\uDCC0\",\n lAarr: \"\\u21DA\",\n Lacute: \"\\u0139\",\n lacute: \"\\u013A\",\n laemptyv: \"\\u29B4\",\n lagran: \"\\u2112\",\n Lambda: \"\\u039B\",\n lambda: \"\\u03BB\",\n Lang: \"\\u27EA\",\n lang: \"\\u27E8\",\n langd: \"\\u2991\",\n langle: \"\\u27E8\",\n lap: \"\\u2A85\",\n Laplacetrf: \"\\u2112\",\n laquo: \"\\xab\",\n Larr: \"\\u219E\",\n lArr: \"\\u21D0\",\n larr: \"\\u2190\",\n larrb: \"\\u21E4\",\n larrbfs: \"\\u291F\",\n larrfs: \"\\u291D\",\n larrhk: \"\\u21A9\",\n larrlp: \"\\u21AB\",\n larrpl: \"\\u2939\",\n larrsim: \"\\u2973\",\n larrtl: \"\\u21A2\",\n lat: \"\\u2AAB\",\n lAtail: \"\\u291B\",\n latail: \"\\u2919\",\n late: \"\\u2AAD\",\n lates: \"\\u2AAD\\uFE00\",\n lBarr: \"\\u290E\",\n lbarr: \"\\u290C\",\n lbbrk: \"\\u2772\",\n lbrace: \"{\",\n lbrack: \"[\",\n lbrke: \"\\u298B\",\n lbrksld: \"\\u298F\",\n lbrkslu: \"\\u298D\",\n Lcaron: \"\\u013D\",\n lcaron: \"\\u013E\",\n Lcedil: \"\\u013B\",\n lcedil: \"\\u013C\",\n lceil: \"\\u2308\",\n lcub: \"{\",\n Lcy: \"\\u041B\",\n lcy: \"\\u043B\",\n ldca: \"\\u2936\",\n ldquo: \"\\u201C\",\n ldquor: \"\\u201E\",\n ldrdhar: \"\\u2967\",\n ldrushar: \"\\u294B\",\n ldsh: \"\\u21B2\",\n lE: \"\\u2266\",\n le: \"\\u2264\",\n LeftAngleBracket: \"\\u27E8\",\n LeftArrow: \"\\u2190\",\n Leftarrow: \"\\u21D0\",\n leftarrow: \"\\u2190\",\n LeftArrowBar: \"\\u21E4\",\n LeftArrowRightArrow: \"\\u21C6\",\n leftarrowtail: \"\\u21A2\",\n LeftCeiling: \"\\u2308\",\n LeftDoubleBracket: \"\\u27E6\",\n LeftDownTeeVector: \"\\u2961\",\n LeftDownVector: \"\\u21C3\",\n LeftDownVectorBar: \"\\u2959\",\n LeftFloor: \"\\u230A\",\n leftharpoondown: \"\\u21BD\",\n leftharpoonup: \"\\u21BC\",\n leftleftarrows: \"\\u21C7\",\n LeftRightArrow: \"\\u2194\",\n Leftrightarrow: \"\\u21D4\",\n leftrightarrow: \"\\u2194\",\n leftrightarrows: \"\\u21C6\",\n leftrightharpoons: \"\\u21CB\",\n leftrightsquigarrow: \"\\u21AD\",\n LeftRightVector: \"\\u294E\",\n LeftTee: \"\\u22A3\",\n LeftTeeArrow: \"\\u21A4\",\n LeftTeeVector: \"\\u295A\",\n leftthreetimes: \"\\u22CB\",\n LeftTriangle: \"\\u22B2\",\n LeftTriangleBar: \"\\u29CF\",\n LeftTriangleEqual: \"\\u22B4\",\n LeftUpDownVector: \"\\u2951\",\n LeftUpTeeVector: \"\\u2960\",\n LeftUpVector: \"\\u21BF\",\n LeftUpVectorBar: \"\\u2958\",\n LeftVector: \"\\u21BC\",\n LeftVectorBar: \"\\u2952\",\n lEg: \"\\u2A8B\",\n leg: \"\\u22DA\",\n leq: \"\\u2264\",\n leqq: \"\\u2266\",\n leqslant: \"\\u2A7D\",\n les: \"\\u2A7D\",\n lescc: \"\\u2AA8\",\n lesdot: \"\\u2A7F\",\n lesdoto: \"\\u2A81\",\n lesdotor: \"\\u2A83\",\n lesg: \"\\u22DA\\uFE00\",\n lesges: \"\\u2A93\",\n lessapprox: \"\\u2A85\",\n lessdot: \"\\u22D6\",\n lesseqgtr: \"\\u22DA\",\n lesseqqgtr: \"\\u2A8B\",\n LessEqualGreater: \"\\u22DA\",\n LessFullEqual: \"\\u2266\",\n LessGreater: \"\\u2276\",\n lessgtr: \"\\u2276\",\n LessLess: \"\\u2AA1\",\n lesssim: \"\\u2272\",\n LessSlantEqual: \"\\u2A7D\",\n LessTilde: \"\\u2272\",\n lfisht: \"\\u297C\",\n lfloor: \"\\u230A\",\n Lfr: \"\\uD835\\uDD0F\",\n lfr: \"\\uD835\\uDD29\",\n lg: \"\\u2276\",\n lgE: \"\\u2A91\",\n lHar: \"\\u2962\",\n lhard: \"\\u21BD\",\n lharu: \"\\u21BC\",\n lharul: \"\\u296A\",\n lhblk: \"\\u2584\",\n LJcy: \"\\u0409\",\n ljcy: \"\\u0459\",\n Ll: \"\\u22D8\",\n ll: \"\\u226A\",\n llarr: \"\\u21C7\",\n llcorner: \"\\u231E\",\n Lleftarrow: \"\\u21DA\",\n llhard: \"\\u296B\",\n lltri: \"\\u25FA\",\n Lmidot: \"\\u013F\",\n lmidot: \"\\u0140\",\n lmoust: \"\\u23B0\",\n lmoustache: \"\\u23B0\",\n lnap: \"\\u2A89\",\n lnapprox: \"\\u2A89\",\n lnE: \"\\u2268\",\n lne: \"\\u2A87\",\n lneq: \"\\u2A87\",\n lneqq: \"\\u2268\",\n lnsim: \"\\u22E6\",\n loang: \"\\u27EC\",\n loarr: \"\\u21FD\",\n lobrk: \"\\u27E6\",\n LongLeftArrow: \"\\u27F5\",\n Longleftarrow: \"\\u27F8\",\n longleftarrow: \"\\u27F5\",\n LongLeftRightArrow: \"\\u27F7\",\n Longleftrightarrow: \"\\u27FA\",\n longleftrightarrow: \"\\u27F7\",\n longmapsto: \"\\u27FC\",\n LongRightArrow: \"\\u27F6\",\n Longrightarrow: \"\\u27F9\",\n longrightarrow: \"\\u27F6\",\n looparrowleft: \"\\u21AB\",\n looparrowright: \"\\u21AC\",\n lopar: \"\\u2985\",\n Lopf: \"\\uD835\\uDD43\",\n lopf: \"\\uD835\\uDD5D\",\n loplus: \"\\u2A2D\",\n lotimes: \"\\u2A34\",\n lowast: \"\\u2217\",\n lowbar: \"_\",\n LowerLeftArrow: \"\\u2199\",\n LowerRightArrow: \"\\u2198\",\n loz: \"\\u25CA\",\n lozenge: \"\\u25CA\",\n lozf: \"\\u29EB\",\n lpar: \"(\",\n lparlt: \"\\u2993\",\n lrarr: \"\\u21C6\",\n lrcorner: \"\\u231F\",\n lrhar: \"\\u21CB\",\n lrhard: \"\\u296D\",\n lrm: \"\\u200E\",\n lrtri: \"\\u22BF\",\n lsaquo: \"\\u2039\",\n Lscr: \"\\u2112\",\n lscr: \"\\uD835\\uDCC1\",\n Lsh: \"\\u21B0\",\n lsh: \"\\u21B0\",\n lsim: \"\\u2272\",\n lsime: \"\\u2A8D\",\n lsimg: \"\\u2A8F\",\n lsqb: \"[\",\n lsquo: \"\\u2018\",\n lsquor: \"\\u201A\",\n Lstrok: \"\\u0141\",\n lstrok: \"\\u0142\",\n Lt: \"\\u226A\",\n LT: \"<\",\n lt: \"<\",\n ltcc: \"\\u2AA6\",\n ltcir: \"\\u2A79\",\n ltdot: \"\\u22D6\",\n lthree: \"\\u22CB\",\n ltimes: \"\\u22C9\",\n ltlarr: \"\\u2976\",\n ltquest: \"\\u2A7B\",\n ltri: \"\\u25C3\",\n ltrie: \"\\u22B4\",\n ltrif: \"\\u25C2\",\n ltrPar: \"\\u2996\",\n lurdshar: \"\\u294A\",\n luruhar: \"\\u2966\",\n lvertneqq: \"\\u2268\\uFE00\",\n lvnE: \"\\u2268\\uFE00\",\n macr: \"\\xaf\",\n male: \"\\u2642\",\n malt: \"\\u2720\",\n maltese: \"\\u2720\",\n Map: \"\\u2905\",\n map: \"\\u21A6\",\n mapsto: \"\\u21A6\",\n mapstodown: \"\\u21A7\",\n mapstoleft: \"\\u21A4\",\n mapstoup: \"\\u21A5\",\n marker: \"\\u25AE\",\n mcomma: \"\\u2A29\",\n Mcy: \"\\u041C\",\n mcy: \"\\u043C\",\n mdash: \"\\u2014\",\n mDDot: \"\\u223A\",\n measuredangle: \"\\u2221\",\n MediumSpace: \"\\u205F\",\n Mellintrf: \"\\u2133\",\n Mfr: \"\\uD835\\uDD10\",\n mfr: \"\\uD835\\uDD2A\",\n mho: \"\\u2127\",\n micro: \"\\xb5\",\n mid: \"\\u2223\",\n midast: \"*\",\n midcir: \"\\u2AF0\",\n middot: \"\\xb7\",\n minus: \"\\u2212\",\n minusb: \"\\u229F\",\n minusd: \"\\u2238\",\n minusdu: \"\\u2A2A\",\n MinusPlus: \"\\u2213\",\n mlcp: \"\\u2ADB\",\n mldr: \"\\u2026\",\n mnplus: \"\\u2213\",\n models: \"\\u22A7\",\n Mopf: \"\\uD835\\uDD44\",\n mopf: \"\\uD835\\uDD5E\",\n mp: \"\\u2213\",\n Mscr: \"\\u2133\",\n mscr: \"\\uD835\\uDCC2\",\n mstpos: \"\\u223E\",\n Mu: \"\\u039C\",\n mu: \"\\u03BC\",\n multimap: \"\\u22B8\",\n mumap: \"\\u22B8\",\n nabla: \"\\u2207\",\n Nacute: \"\\u0143\",\n nacute: \"\\u0144\",\n nang: \"\\u2220\\u20D2\",\n nap: \"\\u2249\",\n napE: \"\\u2A70\\u0338\",\n napid: \"\\u224B\\u0338\",\n napos: \"\\u0149\",\n napprox: \"\\u2249\",\n natur: \"\\u266E\",\n natural: \"\\u266E\",\n naturals: \"\\u2115\",\n nbsp: \"\\xa0\",\n nbump: \"\\u224E\\u0338\",\n nbumpe: \"\\u224F\\u0338\",\n ncap: \"\\u2A43\",\n Ncaron: \"\\u0147\",\n ncaron: \"\\u0148\",\n Ncedil: \"\\u0145\",\n ncedil: \"\\u0146\",\n ncong: \"\\u2247\",\n ncongdot: \"\\u2A6D\\u0338\",\n ncup: \"\\u2A42\",\n Ncy: \"\\u041D\",\n ncy: \"\\u043D\",\n ndash: \"\\u2013\",\n ne: \"\\u2260\",\n nearhk: \"\\u2924\",\n neArr: \"\\u21D7\",\n nearr: \"\\u2197\",\n nearrow: \"\\u2197\",\n nedot: \"\\u2250\\u0338\",\n NegativeMediumSpace: \"\\u200B\",\n NegativeThickSpace: \"\\u200B\",\n NegativeThinSpace: \"\\u200B\",\n NegativeVeryThinSpace: \"\\u200B\",\n nequiv: \"\\u2262\",\n nesear: \"\\u2928\",\n nesim: \"\\u2242\\u0338\",\n NestedGreaterGreater: \"\\u226B\",\n NestedLessLess: \"\\u226A\",\n NewLine: \"\\n\",\n nexist: \"\\u2204\",\n nexists: \"\\u2204\",\n Nfr: \"\\uD835\\uDD11\",\n nfr: \"\\uD835\\uDD2B\",\n ngE: \"\\u2267\\u0338\",\n nge: \"\\u2271\",\n ngeq: \"\\u2271\",\n ngeqq: \"\\u2267\\u0338\",\n ngeqslant: \"\\u2A7E\\u0338\",\n nges: \"\\u2A7E\\u0338\",\n nGg: \"\\u22D9\\u0338\",\n ngsim: \"\\u2275\",\n nGt: \"\\u226B\\u20D2\",\n ngt: \"\\u226F\",\n ngtr: \"\\u226F\",\n nGtv: \"\\u226B\\u0338\",\n nhArr: \"\\u21CE\",\n nharr: \"\\u21AE\",\n nhpar: \"\\u2AF2\",\n ni: \"\\u220B\",\n nis: \"\\u22FC\",\n nisd: \"\\u22FA\",\n niv: \"\\u220B\",\n NJcy: \"\\u040A\",\n njcy: \"\\u045A\",\n nlArr: \"\\u21CD\",\n nlarr: \"\\u219A\",\n nldr: \"\\u2025\",\n nlE: \"\\u2266\\u0338\",\n nle: \"\\u2270\",\n nLeftarrow: \"\\u21CD\",\n nleftarrow: \"\\u219A\",\n nLeftrightarrow: \"\\u21CE\",\n nleftrightarrow: \"\\u21AE\",\n nleq: \"\\u2270\",\n nleqq: \"\\u2266\\u0338\",\n nleqslant: \"\\u2A7D\\u0338\",\n nles: \"\\u2A7D\\u0338\",\n nless: \"\\u226E\",\n nLl: \"\\u22D8\\u0338\",\n nlsim: \"\\u2274\",\n nLt: \"\\u226A\\u20D2\",\n nlt: \"\\u226E\",\n nltri: \"\\u22EA\",\n nltrie: \"\\u22EC\",\n nLtv: \"\\u226A\\u0338\",\n nmid: \"\\u2224\",\n NoBreak: \"\\u2060\",\n NonBreakingSpace: \"\\xa0\",\n Nopf: \"\\u2115\",\n nopf: \"\\uD835\\uDD5F\",\n Not: \"\\u2AEC\",\n not: \"\\xac\",\n NotCongruent: \"\\u2262\",\n NotCupCap: \"\\u226D\",\n NotDoubleVerticalBar: \"\\u2226\",\n NotElement: \"\\u2209\",\n NotEqual: \"\\u2260\",\n NotEqualTilde: \"\\u2242\\u0338\",\n NotExists: \"\\u2204\",\n NotGreater: \"\\u226F\",\n NotGreaterEqual: \"\\u2271\",\n NotGreaterFullEqual: \"\\u2267\\u0338\",\n NotGreaterGreater: \"\\u226B\\u0338\",\n NotGreaterLess: \"\\u2279\",\n NotGreaterSlantEqual: \"\\u2A7E\\u0338\",\n NotGreaterTilde: \"\\u2275\",\n NotHumpDownHump: \"\\u224E\\u0338\",\n NotHumpEqual: \"\\u224F\\u0338\",\n notin: \"\\u2209\",\n notindot: \"\\u22F5\\u0338\",\n notinE: \"\\u22F9\\u0338\",\n notinva: \"\\u2209\",\n notinvb: \"\\u22F7\",\n notinvc: \"\\u22F6\",\n NotLeftTriangle: \"\\u22EA\",\n NotLeftTriangleBar: \"\\u29CF\\u0338\",\n NotLeftTriangleEqual: \"\\u22EC\",\n NotLess: \"\\u226E\",\n NotLessEqual: \"\\u2270\",\n NotLessGreater: \"\\u2278\",\n NotLessLess: \"\\u226A\\u0338\",\n NotLessSlantEqual: \"\\u2A7D\\u0338\",\n NotLessTilde: \"\\u2274\",\n NotNestedGreaterGreater: \"\\u2AA2\\u0338\",\n NotNestedLessLess: \"\\u2AA1\\u0338\",\n notni: \"\\u220C\",\n notniva: \"\\u220C\",\n notnivb: \"\\u22FE\",\n notnivc: \"\\u22FD\",\n NotPrecedes: \"\\u2280\",\n NotPrecedesEqual: \"\\u2AAF\\u0338\",\n NotPrecedesSlantEqual: \"\\u22E0\",\n NotReverseElement: \"\\u220C\",\n NotRightTriangle: \"\\u22EB\",\n NotRightTriangleBar: \"\\u29D0\\u0338\",\n NotRightTriangleEqual: \"\\u22ED\",\n NotSquareSubset: \"\\u228F\\u0338\",\n NotSquareSubsetEqual: \"\\u22E2\",\n NotSquareSuperset: \"\\u2290\\u0338\",\n NotSquareSupersetEqual: \"\\u22E3\",\n NotSubset: \"\\u2282\\u20D2\",\n NotSubsetEqual: \"\\u2288\",\n NotSucceeds: \"\\u2281\",\n NotSucceedsEqual: \"\\u2AB0\\u0338\",\n NotSucceedsSlantEqual: \"\\u22E1\",\n NotSucceedsTilde: \"\\u227F\\u0338\",\n NotSuperset: \"\\u2283\\u20D2\",\n NotSupersetEqual: \"\\u2289\",\n NotTilde: \"\\u2241\",\n NotTildeEqual: \"\\u2244\",\n NotTildeFullEqual: \"\\u2247\",\n NotTildeTilde: \"\\u2249\",\n NotVerticalBar: \"\\u2224\",\n npar: \"\\u2226\",\n nparallel: \"\\u2226\",\n nparsl: \"\\u2AFD\\u20E5\",\n npart: \"\\u2202\\u0338\",\n npolint: \"\\u2A14\",\n npr: \"\\u2280\",\n nprcue: \"\\u22E0\",\n npre: \"\\u2AAF\\u0338\",\n nprec: \"\\u2280\",\n npreceq: \"\\u2AAF\\u0338\",\n nrArr: \"\\u21CF\",\n nrarr: \"\\u219B\",\n nrarrc: \"\\u2933\\u0338\",\n nrarrw: \"\\u219D\\u0338\",\n nRightarrow: \"\\u21CF\",\n nrightarrow: \"\\u219B\",\n nrtri: \"\\u22EB\",\n nrtrie: \"\\u22ED\",\n nsc: \"\\u2281\",\n nsccue: \"\\u22E1\",\n nsce: \"\\u2AB0\\u0338\",\n Nscr: \"\\uD835\\uDCA9\",\n nscr: \"\\uD835\\uDCC3\",\n nshortmid: \"\\u2224\",\n nshortparallel: \"\\u2226\",\n nsim: \"\\u2241\",\n nsime: \"\\u2244\",\n nsimeq: \"\\u2244\",\n nsmid: \"\\u2224\",\n nspar: \"\\u2226\",\n nsqsube: \"\\u22E2\",\n nsqsupe: \"\\u22E3\",\n nsub: \"\\u2284\",\n nsubE: \"\\u2AC5\\u0338\",\n nsube: \"\\u2288\",\n nsubset: \"\\u2282\\u20D2\",\n nsubseteq: \"\\u2288\",\n nsubseteqq: \"\\u2AC5\\u0338\",\n nsucc: \"\\u2281\",\n nsucceq: \"\\u2AB0\\u0338\",\n nsup: \"\\u2285\",\n nsupE: \"\\u2AC6\\u0338\",\n nsupe: \"\\u2289\",\n nsupset: \"\\u2283\\u20D2\",\n nsupseteq: \"\\u2289\",\n nsupseteqq: \"\\u2AC6\\u0338\",\n ntgl: \"\\u2279\",\n Ntilde: \"\\xd1\",\n ntilde: \"\\xf1\",\n ntlg: \"\\u2278\",\n ntriangleleft: \"\\u22EA\",\n ntrianglelefteq: \"\\u22EC\",\n ntriangleright: \"\\u22EB\",\n ntrianglerighteq: \"\\u22ED\",\n Nu: \"\\u039D\",\n nu: \"\\u03BD\",\n num: \"#\",\n numero: \"\\u2116\",\n numsp: \"\\u2007\",\n nvap: \"\\u224D\\u20D2\",\n nVDash: \"\\u22AF\",\n nVdash: \"\\u22AE\",\n nvDash: \"\\u22AD\",\n nvdash: \"\\u22AC\",\n nvge: \"\\u2265\\u20D2\",\n nvgt: \">\\u20D2\",\n nvHarr: \"\\u2904\",\n nvinfin: \"\\u29DE\",\n nvlArr: \"\\u2902\",\n nvle: \"\\u2264\\u20D2\",\n nvlt: \"<\\u20D2\",\n nvltrie: \"\\u22B4\\u20D2\",\n nvrArr: \"\\u2903\",\n nvrtrie: \"\\u22B5\\u20D2\",\n nvsim: \"\\u223C\\u20D2\",\n nwarhk: \"\\u2923\",\n nwArr: \"\\u21D6\",\n nwarr: \"\\u2196\",\n nwarrow: \"\\u2196\",\n nwnear: \"\\u2927\",\n Oacute: \"\\xd3\",\n oacute: \"\\xf3\",\n oast: \"\\u229B\",\n ocir: \"\\u229A\",\n Ocirc: \"\\xd4\",\n ocirc: \"\\xf4\",\n Ocy: \"\\u041E\",\n ocy: \"\\u043E\",\n odash: \"\\u229D\",\n Odblac: \"\\u0150\",\n odblac: \"\\u0151\",\n odiv: \"\\u2A38\",\n odot: \"\\u2299\",\n odsold: \"\\u29BC\",\n OElig: \"\\u0152\",\n oelig: \"\\u0153\",\n ofcir: \"\\u29BF\",\n Ofr: \"\\uD835\\uDD12\",\n ofr: \"\\uD835\\uDD2C\",\n ogon: \"\\u02DB\",\n Ograve: \"\\xd2\",\n ograve: \"\\xf2\",\n ogt: \"\\u29C1\",\n ohbar: \"\\u29B5\",\n ohm: \"\\u03A9\",\n oint: \"\\u222E\",\n olarr: \"\\u21BA\",\n olcir: \"\\u29BE\",\n olcross: \"\\u29BB\",\n oline: \"\\u203E\",\n olt: \"\\u29C0\",\n Omacr: \"\\u014C\",\n omacr: \"\\u014D\",\n Omega: \"\\u03A9\",\n omega: \"\\u03C9\",\n Omicron: \"\\u039F\",\n omicron: \"\\u03BF\",\n omid: \"\\u29B6\",\n ominus: \"\\u2296\",\n Oopf: \"\\uD835\\uDD46\",\n oopf: \"\\uD835\\uDD60\",\n opar: \"\\u29B7\",\n OpenCurlyDoubleQuote: \"\\u201C\",\n OpenCurlyQuote: \"\\u2018\",\n operp: \"\\u29B9\",\n oplus: \"\\u2295\",\n Or: \"\\u2A54\",\n or: \"\\u2228\",\n orarr: \"\\u21BB\",\n ord: \"\\u2A5D\",\n order: \"\\u2134\",\n orderof: \"\\u2134\",\n ordf: \"\\xaa\",\n ordm: \"\\xba\",\n origof: \"\\u22B6\",\n oror: \"\\u2A56\",\n orslope: \"\\u2A57\",\n orv: \"\\u2A5B\",\n oS: \"\\u24C8\",\n Oscr: \"\\uD835\\uDCAA\",\n oscr: \"\\u2134\",\n Oslash: \"\\xd8\",\n oslash: \"\\xf8\",\n osol: \"\\u2298\",\n Otilde: \"\\xd5\",\n otilde: \"\\xf5\",\n Otimes: \"\\u2A37\",\n otimes: \"\\u2297\",\n otimesas: \"\\u2A36\",\n Ouml: \"\\xd6\",\n ouml: \"\\xf6\",\n ovbar: \"\\u233D\",\n OverBar: \"\\u203E\",\n OverBrace: \"\\u23DE\",\n OverBracket: \"\\u23B4\",\n OverParenthesis: \"\\u23DC\",\n par: \"\\u2225\",\n para: \"\\xb6\",\n parallel: \"\\u2225\",\n parsim: \"\\u2AF3\",\n parsl: \"\\u2AFD\",\n part: \"\\u2202\",\n PartialD: \"\\u2202\",\n Pcy: \"\\u041F\",\n pcy: \"\\u043F\",\n percnt: \"%\",\n period: \".\",\n permil: \"\\u2030\",\n perp: \"\\u22A5\",\n pertenk: \"\\u2031\",\n Pfr: \"\\uD835\\uDD13\",\n pfr: \"\\uD835\\uDD2D\",\n Phi: \"\\u03A6\",\n phi: \"\\u03C6\",\n phiv: \"\\u03D5\",\n phmmat: \"\\u2133\",\n phone: \"\\u260E\",\n Pi: \"\\u03A0\",\n pi: \"\\u03C0\",\n pitchfork: \"\\u22D4\",\n piv: \"\\u03D6\",\n planck: \"\\u210F\",\n planckh: \"\\u210E\",\n plankv: \"\\u210F\",\n plus: \"+\",\n plusacir: \"\\u2A23\",\n plusb: \"\\u229E\",\n pluscir: \"\\u2A22\",\n plusdo: \"\\u2214\",\n plusdu: \"\\u2A25\",\n pluse: \"\\u2A72\",\n PlusMinus: \"\\xb1\",\n plusmn: \"\\xb1\",\n plussim: \"\\u2A26\",\n plustwo: \"\\u2A27\",\n pm: \"\\xb1\",\n Poincareplane: \"\\u210C\",\n pointint: \"\\u2A15\",\n Popf: \"\\u2119\",\n popf: \"\\uD835\\uDD61\",\n pound: \"\\xa3\",\n Pr: \"\\u2ABB\",\n pr: \"\\u227A\",\n prap: \"\\u2AB7\",\n prcue: \"\\u227C\",\n prE: \"\\u2AB3\",\n pre: \"\\u2AAF\",\n prec: \"\\u227A\",\n precapprox: \"\\u2AB7\",\n preccurlyeq: \"\\u227C\",\n Precedes: \"\\u227A\",\n PrecedesEqual: \"\\u2AAF\",\n PrecedesSlantEqual: \"\\u227C\",\n PrecedesTilde: \"\\u227E\",\n preceq: \"\\u2AAF\",\n precnapprox: \"\\u2AB9\",\n precneqq: \"\\u2AB5\",\n precnsim: \"\\u22E8\",\n precsim: \"\\u227E\",\n Prime: \"\\u2033\",\n prime: \"\\u2032\",\n primes: \"\\u2119\",\n prnap: \"\\u2AB9\",\n prnE: \"\\u2AB5\",\n prnsim: \"\\u22E8\",\n prod: \"\\u220F\",\n Product: \"\\u220F\",\n profalar: \"\\u232E\",\n profline: \"\\u2312\",\n profsurf: \"\\u2313\",\n prop: \"\\u221D\",\n Proportion: \"\\u2237\",\n Proportional: \"\\u221D\",\n propto: \"\\u221D\",\n prsim: \"\\u227E\",\n prurel: \"\\u22B0\",\n Pscr: \"\\uD835\\uDCAB\",\n pscr: \"\\uD835\\uDCC5\",\n Psi: \"\\u03A8\",\n psi: \"\\u03C8\",\n puncsp: \"\\u2008\",\n Qfr: \"\\uD835\\uDD14\",\n qfr: \"\\uD835\\uDD2E\",\n qint: \"\\u2A0C\",\n Qopf: \"\\u211A\",\n qopf: \"\\uD835\\uDD62\",\n qprime: \"\\u2057\",\n Qscr: \"\\uD835\\uDCAC\",\n qscr: \"\\uD835\\uDCC6\",\n quaternions: \"\\u210D\",\n quatint: \"\\u2A16\",\n quest: \"?\",\n questeq: \"\\u225F\",\n QUOT: '\"',\n quot: '\"',\n rAarr: \"\\u21DB\",\n race: \"\\u223D\\u0331\",\n Racute: \"\\u0154\",\n racute: \"\\u0155\",\n radic: \"\\u221A\",\n raemptyv: \"\\u29B3\",\n Rang: \"\\u27EB\",\n rang: \"\\u27E9\",\n rangd: \"\\u2992\",\n range: \"\\u29A5\",\n rangle: \"\\u27E9\",\n raquo: \"\\xbb\",\n Rarr: \"\\u21A0\",\n rArr: \"\\u21D2\",\n rarr: \"\\u2192\",\n rarrap: \"\\u2975\",\n rarrb: \"\\u21E5\",\n rarrbfs: \"\\u2920\",\n rarrc: \"\\u2933\",\n rarrfs: \"\\u291E\",\n rarrhk: \"\\u21AA\",\n rarrlp: \"\\u21AC\",\n rarrpl: \"\\u2945\",\n rarrsim: \"\\u2974\",\n Rarrtl: \"\\u2916\",\n rarrtl: \"\\u21A3\",\n rarrw: \"\\u219D\",\n rAtail: \"\\u291C\",\n ratail: \"\\u291A\",\n ratio: \"\\u2236\",\n rationals: \"\\u211A\",\n RBarr: \"\\u2910\",\n rBarr: \"\\u290F\",\n rbarr: \"\\u290D\",\n rbbrk: \"\\u2773\",\n rbrace: \"}\",\n rbrack: \"]\",\n rbrke: \"\\u298C\",\n rbrksld: \"\\u298E\",\n rbrkslu: \"\\u2990\",\n Rcaron: \"\\u0158\",\n rcaron: \"\\u0159\",\n Rcedil: \"\\u0156\",\n rcedil: \"\\u0157\",\n rceil: \"\\u2309\",\n rcub: \"}\",\n Rcy: \"\\u0420\",\n rcy: \"\\u0440\",\n rdca: \"\\u2937\",\n rdldhar: \"\\u2969\",\n rdquo: \"\\u201D\",\n rdquor: \"\\u201D\",\n rdsh: \"\\u21B3\",\n Re: \"\\u211C\",\n real: \"\\u211C\",\n realine: \"\\u211B\",\n realpart: \"\\u211C\",\n reals: \"\\u211D\",\n rect: \"\\u25AD\",\n REG: \"\\xae\",\n reg: \"\\xae\",\n ReverseElement: \"\\u220B\",\n ReverseEquilibrium: \"\\u21CB\",\n ReverseUpEquilibrium: \"\\u296F\",\n rfisht: \"\\u297D\",\n rfloor: \"\\u230B\",\n Rfr: \"\\u211C\",\n rfr: \"\\uD835\\uDD2F\",\n rHar: \"\\u2964\",\n rhard: \"\\u21C1\",\n rharu: \"\\u21C0\",\n rharul: \"\\u296C\",\n Rho: \"\\u03A1\",\n rho: \"\\u03C1\",\n rhov: \"\\u03F1\",\n RightAngleBracket: \"\\u27E9\",\n RightArrow: \"\\u2192\",\n Rightarrow: \"\\u21D2\",\n rightarrow: \"\\u2192\",\n RightArrowBar: \"\\u21E5\",\n RightArrowLeftArrow: \"\\u21C4\",\n rightarrowtail: \"\\u21A3\",\n RightCeiling: \"\\u2309\",\n RightDoubleBracket: \"\\u27E7\",\n RightDownTeeVector: \"\\u295D\",\n RightDownVector: \"\\u21C2\",\n RightDownVectorBar: \"\\u2955\",\n RightFloor: \"\\u230B\",\n rightharpoondown: \"\\u21C1\",\n rightharpoonup: \"\\u21C0\",\n rightleftarrows: \"\\u21C4\",\n rightleftharpoons: \"\\u21CC\",\n rightrightarrows: \"\\u21C9\",\n rightsquigarrow: \"\\u219D\",\n RightTee: \"\\u22A2\",\n RightTeeArrow: \"\\u21A6\",\n RightTeeVector: \"\\u295B\",\n rightthreetimes: \"\\u22CC\",\n RightTriangle: \"\\u22B3\",\n RightTriangleBar: \"\\u29D0\",\n RightTriangleEqual: \"\\u22B5\",\n RightUpDownVector: \"\\u294F\",\n RightUpTeeVector: \"\\u295C\",\n RightUpVector: \"\\u21BE\",\n RightUpVectorBar: \"\\u2954\",\n RightVector: \"\\u21C0\",\n RightVectorBar: \"\\u2953\",\n ring: \"\\u02DA\",\n risingdotseq: \"\\u2253\",\n rlarr: \"\\u21C4\",\n rlhar: \"\\u21CC\",\n rlm: \"\\u200F\",\n rmoust: \"\\u23B1\",\n rmoustache: \"\\u23B1\",\n rnmid: \"\\u2AEE\",\n roang: \"\\u27ED\",\n roarr: \"\\u21FE\",\n robrk: \"\\u27E7\",\n ropar: \"\\u2986\",\n Ropf: \"\\u211D\",\n ropf: \"\\uD835\\uDD63\",\n roplus: \"\\u2A2E\",\n rotimes: \"\\u2A35\",\n RoundImplies: \"\\u2970\",\n rpar: \")\",\n rpargt: \"\\u2994\",\n rppolint: \"\\u2A12\",\n rrarr: \"\\u21C9\",\n Rrightarrow: \"\\u21DB\",\n rsaquo: \"\\u203A\",\n Rscr: \"\\u211B\",\n rscr: \"\\uD835\\uDCC7\",\n Rsh: \"\\u21B1\",\n rsh: \"\\u21B1\",\n rsqb: \"]\",\n rsquo: \"\\u2019\",\n rsquor: \"\\u2019\",\n rthree: \"\\u22CC\",\n rtimes: \"\\u22CA\",\n rtri: \"\\u25B9\",\n rtrie: \"\\u22B5\",\n rtrif: \"\\u25B8\",\n rtriltri: \"\\u29CE\",\n RuleDelayed: \"\\u29F4\",\n ruluhar: \"\\u2968\",\n rx: \"\\u211E\",\n Sacute: \"\\u015A\",\n sacute: \"\\u015B\",\n sbquo: \"\\u201A\",\n Sc: \"\\u2ABC\",\n sc: \"\\u227B\",\n scap: \"\\u2AB8\",\n Scaron: \"\\u0160\",\n scaron: \"\\u0161\",\n sccue: \"\\u227D\",\n scE: \"\\u2AB4\",\n sce: \"\\u2AB0\",\n Scedil: \"\\u015E\",\n scedil: \"\\u015F\",\n Scirc: \"\\u015C\",\n scirc: \"\\u015D\",\n scnap: \"\\u2ABA\",\n scnE: \"\\u2AB6\",\n scnsim: \"\\u22E9\",\n scpolint: \"\\u2A13\",\n scsim: \"\\u227F\",\n Scy: \"\\u0421\",\n scy: \"\\u0441\",\n sdot: \"\\u22C5\",\n sdotb: \"\\u22A1\",\n sdote: \"\\u2A66\",\n searhk: \"\\u2925\",\n seArr: \"\\u21D8\",\n searr: \"\\u2198\",\n searrow: \"\\u2198\",\n sect: \"\\xa7\",\n semi: \";\",\n seswar: \"\\u2929\",\n setminus: \"\\u2216\",\n setmn: \"\\u2216\",\n sext: \"\\u2736\",\n Sfr: \"\\uD835\\uDD16\",\n sfr: \"\\uD835\\uDD30\",\n sfrown: \"\\u2322\",\n sharp: \"\\u266F\",\n SHCHcy: \"\\u0429\",\n shchcy: \"\\u0449\",\n SHcy: \"\\u0428\",\n shcy: \"\\u0448\",\n ShortDownArrow: \"\\u2193\",\n ShortLeftArrow: \"\\u2190\",\n shortmid: \"\\u2223\",\n shortparallel: \"\\u2225\",\n ShortRightArrow: \"\\u2192\",\n ShortUpArrow: \"\\u2191\",\n shy: \"\\xad\",\n Sigma: \"\\u03A3\",\n sigma: \"\\u03C3\",\n sigmaf: \"\\u03C2\",\n sigmav: \"\\u03C2\",\n sim: \"\\u223C\",\n simdot: \"\\u2A6A\",\n sime: \"\\u2243\",\n simeq: \"\\u2243\",\n simg: \"\\u2A9E\",\n simgE: \"\\u2AA0\",\n siml: \"\\u2A9D\",\n simlE: \"\\u2A9F\",\n simne: \"\\u2246\",\n simplus: \"\\u2A24\",\n simrarr: \"\\u2972\",\n slarr: \"\\u2190\",\n SmallCircle: \"\\u2218\",\n smallsetminus: \"\\u2216\",\n smashp: \"\\u2A33\",\n smeparsl: \"\\u29E4\",\n smid: \"\\u2223\",\n smile: \"\\u2323\",\n smt: \"\\u2AAA\",\n smte: \"\\u2AAC\",\n smtes: \"\\u2AAC\\uFE00\",\n SOFTcy: \"\\u042C\",\n softcy: \"\\u044C\",\n sol: \"/\",\n solb: \"\\u29C4\",\n solbar: \"\\u233F\",\n Sopf: \"\\uD835\\uDD4A\",\n sopf: \"\\uD835\\uDD64\",\n spades: \"\\u2660\",\n spadesuit: \"\\u2660\",\n spar: \"\\u2225\",\n sqcap: \"\\u2293\",\n sqcaps: \"\\u2293\\uFE00\",\n sqcup: \"\\u2294\",\n sqcups: \"\\u2294\\uFE00\",\n Sqrt: \"\\u221A\",\n sqsub: \"\\u228F\",\n sqsube: \"\\u2291\",\n sqsubset: \"\\u228F\",\n sqsubseteq: \"\\u2291\",\n sqsup: \"\\u2290\",\n sqsupe: \"\\u2292\",\n sqsupset: \"\\u2290\",\n sqsupseteq: \"\\u2292\",\n squ: \"\\u25A1\",\n Square: \"\\u25A1\",\n square: \"\\u25A1\",\n SquareIntersection: \"\\u2293\",\n SquareSubset: \"\\u228F\",\n SquareSubsetEqual: \"\\u2291\",\n SquareSuperset: \"\\u2290\",\n SquareSupersetEqual: \"\\u2292\",\n SquareUnion: \"\\u2294\",\n squarf: \"\\u25AA\",\n squf: \"\\u25AA\",\n srarr: \"\\u2192\",\n Sscr: \"\\uD835\\uDCAE\",\n sscr: \"\\uD835\\uDCC8\",\n ssetmn: \"\\u2216\",\n ssmile: \"\\u2323\",\n sstarf: \"\\u22C6\",\n Star: \"\\u22C6\",\n star: \"\\u2606\",\n starf: \"\\u2605\",\n straightepsilon: \"\\u03F5\",\n straightphi: \"\\u03D5\",\n strns: \"\\xaf\",\n Sub: \"\\u22D0\",\n sub: \"\\u2282\",\n subdot: \"\\u2ABD\",\n subE: \"\\u2AC5\",\n sube: \"\\u2286\",\n subedot: \"\\u2AC3\",\n submult: \"\\u2AC1\",\n subnE: \"\\u2ACB\",\n subne: \"\\u228A\",\n subplus: \"\\u2ABF\",\n subrarr: \"\\u2979\",\n Subset: \"\\u22D0\",\n subset: \"\\u2282\",\n subseteq: \"\\u2286\",\n subseteqq: \"\\u2AC5\",\n SubsetEqual: \"\\u2286\",\n subsetneq: \"\\u228A\",\n subsetneqq: \"\\u2ACB\",\n subsim: \"\\u2AC7\",\n subsub: \"\\u2AD5\",\n subsup: \"\\u2AD3\",\n succ: \"\\u227B\",\n succapprox: \"\\u2AB8\",\n succcurlyeq: \"\\u227D\",\n Succeeds: \"\\u227B\",\n SucceedsEqual: \"\\u2AB0\",\n SucceedsSlantEqual: \"\\u227D\",\n SucceedsTilde: \"\\u227F\",\n succeq: \"\\u2AB0\",\n succnapprox: \"\\u2ABA\",\n succneqq: \"\\u2AB6\",\n succnsim: \"\\u22E9\",\n succsim: \"\\u227F\",\n SuchThat: \"\\u220B\",\n Sum: \"\\u2211\",\n sum: \"\\u2211\",\n sung: \"\\u266A\",\n Sup: \"\\u22D1\",\n sup: \"\\u2283\",\n sup1: \"\\xb9\",\n sup2: \"\\xb2\",\n sup3: \"\\xb3\",\n supdot: \"\\u2ABE\",\n supdsub: \"\\u2AD8\",\n supE: \"\\u2AC6\",\n supe: \"\\u2287\",\n supedot: \"\\u2AC4\",\n Superset: \"\\u2283\",\n SupersetEqual: \"\\u2287\",\n suphsol: \"\\u27C9\",\n suphsub: \"\\u2AD7\",\n suplarr: \"\\u297B\",\n supmult: \"\\u2AC2\",\n supnE: \"\\u2ACC\",\n supne: \"\\u228B\",\n supplus: \"\\u2AC0\",\n Supset: \"\\u22D1\",\n supset: \"\\u2283\",\n supseteq: \"\\u2287\",\n supseteqq: \"\\u2AC6\",\n supsetneq: \"\\u228B\",\n supsetneqq: \"\\u2ACC\",\n supsim: \"\\u2AC8\",\n supsub: \"\\u2AD4\",\n supsup: \"\\u2AD6\",\n swarhk: \"\\u2926\",\n swArr: \"\\u21D9\",\n swarr: \"\\u2199\",\n swarrow: \"\\u2199\",\n swnwar: \"\\u292A\",\n szlig: \"\\xdf\",\n Tab: \"\t\",\n target: \"\\u2316\",\n Tau: \"\\u03A4\",\n tau: \"\\u03C4\",\n tbrk: \"\\u23B4\",\n Tcaron: \"\\u0164\",\n tcaron: \"\\u0165\",\n Tcedil: \"\\u0162\",\n tcedil: \"\\u0163\",\n Tcy: \"\\u0422\",\n tcy: \"\\u0442\",\n tdot: \"\\u20DB\",\n telrec: \"\\u2315\",\n Tfr: \"\\uD835\\uDD17\",\n tfr: \"\\uD835\\uDD31\",\n there4: \"\\u2234\",\n Therefore: \"\\u2234\",\n therefore: \"\\u2234\",\n Theta: \"\\u0398\",\n theta: \"\\u03B8\",\n thetasym: \"\\u03D1\",\n thetav: \"\\u03D1\",\n thickapprox: \"\\u2248\",\n thicksim: \"\\u223C\",\n ThickSpace: \"\\u205F\\u200A\",\n thinsp: \"\\u2009\",\n ThinSpace: \"\\u2009\",\n thkap: \"\\u2248\",\n thksim: \"\\u223C\",\n THORN: \"\\xde\",\n thorn: \"\\xfe\",\n Tilde: \"\\u223C\",\n tilde: \"\\u02DC\",\n TildeEqual: \"\\u2243\",\n TildeFullEqual: \"\\u2245\",\n TildeTilde: \"\\u2248\",\n times: \"\\xd7\",\n timesb: \"\\u22A0\",\n timesbar: \"\\u2A31\",\n timesd: \"\\u2A30\",\n tint: \"\\u222D\",\n toea: \"\\u2928\",\n top: \"\\u22A4\",\n topbot: \"\\u2336\",\n topcir: \"\\u2AF1\",\n Topf: \"\\uD835\\uDD4B\",\n topf: \"\\uD835\\uDD65\",\n topfork: \"\\u2ADA\",\n tosa: \"\\u2929\",\n tprime: \"\\u2034\",\n TRADE: \"\\u2122\",\n trade: \"\\u2122\",\n triangle: \"\\u25B5\",\n triangledown: \"\\u25BF\",\n triangleleft: \"\\u25C3\",\n trianglelefteq: \"\\u22B4\",\n triangleq: \"\\u225C\",\n triangleright: \"\\u25B9\",\n trianglerighteq: \"\\u22B5\",\n tridot: \"\\u25EC\",\n trie: \"\\u225C\",\n triminus: \"\\u2A3A\",\n TripleDot: \"\\u20DB\",\n triplus: \"\\u2A39\",\n trisb: \"\\u29CD\",\n tritime: \"\\u2A3B\",\n trpezium: \"\\u23E2\",\n Tscr: \"\\uD835\\uDCAF\",\n tscr: \"\\uD835\\uDCC9\",\n TScy: \"\\u0426\",\n tscy: \"\\u0446\",\n TSHcy: \"\\u040B\",\n tshcy: \"\\u045B\",\n Tstrok: \"\\u0166\",\n tstrok: \"\\u0167\",\n twixt: \"\\u226C\",\n twoheadleftarrow: \"\\u219E\",\n twoheadrightarrow: \"\\u21A0\",\n Uacute: \"\\xda\",\n uacute: \"\\xfa\",\n Uarr: \"\\u219F\",\n uArr: \"\\u21D1\",\n uarr: \"\\u2191\",\n Uarrocir: \"\\u2949\",\n Ubrcy: \"\\u040E\",\n ubrcy: \"\\u045E\",\n Ubreve: \"\\u016C\",\n ubreve: \"\\u016D\",\n Ucirc: \"\\xdb\",\n ucirc: \"\\xfb\",\n Ucy: \"\\u0423\",\n ucy: \"\\u0443\",\n udarr: \"\\u21C5\",\n Udblac: \"\\u0170\",\n udblac: \"\\u0171\",\n udhar: \"\\u296E\",\n ufisht: \"\\u297E\",\n Ufr: \"\\uD835\\uDD18\",\n ufr: \"\\uD835\\uDD32\",\n Ugrave: \"\\xd9\",\n ugrave: \"\\xf9\",\n uHar: \"\\u2963\",\n uharl: \"\\u21BF\",\n uharr: \"\\u21BE\",\n uhblk: \"\\u2580\",\n ulcorn: \"\\u231C\",\n ulcorner: \"\\u231C\",\n ulcrop: \"\\u230F\",\n ultri: \"\\u25F8\",\n Umacr: \"\\u016A\",\n umacr: \"\\u016B\",\n uml: \"\\xa8\",\n UnderBar: \"_\",\n UnderBrace: \"\\u23DF\",\n UnderBracket: \"\\u23B5\",\n UnderParenthesis: \"\\u23DD\",\n Union: \"\\u22C3\",\n UnionPlus: \"\\u228E\",\n Uogon: \"\\u0172\",\n uogon: \"\\u0173\",\n Uopf: \"\\uD835\\uDD4C\",\n uopf: \"\\uD835\\uDD66\",\n UpArrow: \"\\u2191\",\n Uparrow: \"\\u21D1\",\n uparrow: \"\\u2191\",\n UpArrowBar: \"\\u2912\",\n UpArrowDownArrow: \"\\u21C5\",\n UpDownArrow: \"\\u2195\",\n Updownarrow: \"\\u21D5\",\n updownarrow: \"\\u2195\",\n UpEquilibrium: \"\\u296E\",\n upharpoonleft: \"\\u21BF\",\n upharpoonright: \"\\u21BE\",\n uplus: \"\\u228E\",\n UpperLeftArrow: \"\\u2196\",\n UpperRightArrow: \"\\u2197\",\n Upsi: \"\\u03D2\",\n upsi: \"\\u03C5\",\n upsih: \"\\u03D2\",\n Upsilon: \"\\u03A5\",\n upsilon: \"\\u03C5\",\n UpTee: \"\\u22A5\",\n UpTeeArrow: \"\\u21A5\",\n upuparrows: \"\\u21C8\",\n urcorn: \"\\u231D\",\n urcorner: \"\\u231D\",\n urcrop: \"\\u230E\",\n Uring: \"\\u016E\",\n uring: \"\\u016F\",\n urtri: \"\\u25F9\",\n Uscr: \"\\uD835\\uDCB0\",\n uscr: \"\\uD835\\uDCCA\",\n utdot: \"\\u22F0\",\n Utilde: \"\\u0168\",\n utilde: \"\\u0169\",\n utri: \"\\u25B5\",\n utrif: \"\\u25B4\",\n uuarr: \"\\u21C8\",\n Uuml: \"\\xdc\",\n uuml: \"\\xfc\",\n uwangle: \"\\u29A7\",\n vangrt: \"\\u299C\",\n varepsilon: \"\\u03F5\",\n varkappa: \"\\u03F0\",\n varnothing: \"\\u2205\",\n varphi: \"\\u03D5\",\n varpi: \"\\u03D6\",\n varpropto: \"\\u221D\",\n vArr: \"\\u21D5\",\n varr: \"\\u2195\",\n varrho: \"\\u03F1\",\n varsigma: \"\\u03C2\",\n varsubsetneq: \"\\u228A\\uFE00\",\n varsubsetneqq: \"\\u2ACB\\uFE00\",\n varsupsetneq: \"\\u228B\\uFE00\",\n varsupsetneqq: \"\\u2ACC\\uFE00\",\n vartheta: \"\\u03D1\",\n vartriangleleft: \"\\u22B2\",\n vartriangleright: \"\\u22B3\",\n Vbar: \"\\u2AEB\",\n vBar: \"\\u2AE8\",\n vBarv: \"\\u2AE9\",\n Vcy: \"\\u0412\",\n vcy: \"\\u0432\",\n VDash: \"\\u22AB\",\n Vdash: \"\\u22A9\",\n vDash: \"\\u22A8\",\n vdash: \"\\u22A2\",\n Vdashl: \"\\u2AE6\",\n Vee: \"\\u22C1\",\n vee: \"\\u2228\",\n veebar: \"\\u22BB\",\n veeeq: \"\\u225A\",\n vellip: \"\\u22EE\",\n Verbar: \"\\u2016\",\n verbar: \"|\",\n Vert: \"\\u2016\",\n vert: \"|\",\n VerticalBar: \"\\u2223\",\n VerticalLine: \"|\",\n VerticalSeparator: \"\\u2758\",\n VerticalTilde: \"\\u2240\",\n VeryThinSpace: \"\\u200A\",\n Vfr: \"\\uD835\\uDD19\",\n vfr: \"\\uD835\\uDD33\",\n vltri: \"\\u22B2\",\n vnsub: \"\\u2282\\u20D2\",\n vnsup: \"\\u2283\\u20D2\",\n Vopf: \"\\uD835\\uDD4D\",\n vopf: \"\\uD835\\uDD67\",\n vprop: \"\\u221D\",\n vrtri: \"\\u22B3\",\n Vscr: \"\\uD835\\uDCB1\",\n vscr: \"\\uD835\\uDCCB\",\n vsubnE: \"\\u2ACB\\uFE00\",\n vsubne: \"\\u228A\\uFE00\",\n vsupnE: \"\\u2ACC\\uFE00\",\n vsupne: \"\\u228B\\uFE00\",\n Vvdash: \"\\u22AA\",\n vzigzag: \"\\u299A\",\n Wcirc: \"\\u0174\",\n wcirc: \"\\u0175\",\n wedbar: \"\\u2A5F\",\n Wedge: \"\\u22C0\",\n wedge: \"\\u2227\",\n wedgeq: \"\\u2259\",\n weierp: \"\\u2118\",\n Wfr: \"\\uD835\\uDD1A\",\n wfr: \"\\uD835\\uDD34\",\n Wopf: \"\\uD835\\uDD4E\",\n wopf: \"\\uD835\\uDD68\",\n wp: \"\\u2118\",\n wr: \"\\u2240\",\n wreath: \"\\u2240\",\n Wscr: \"\\uD835\\uDCB2\",\n wscr: \"\\uD835\\uDCCC\",\n xcap: \"\\u22C2\",\n xcirc: \"\\u25EF\",\n xcup: \"\\u22C3\",\n xdtri: \"\\u25BD\",\n Xfr: \"\\uD835\\uDD1B\",\n xfr: \"\\uD835\\uDD35\",\n xhArr: \"\\u27FA\",\n xharr: \"\\u27F7\",\n Xi: \"\\u039E\",\n xi: \"\\u03BE\",\n xlArr: \"\\u27F8\",\n xlarr: \"\\u27F5\",\n xmap: \"\\u27FC\",\n xnis: \"\\u22FB\",\n xodot: \"\\u2A00\",\n Xopf: \"\\uD835\\uDD4F\",\n xopf: \"\\uD835\\uDD69\",\n xoplus: \"\\u2A01\",\n xotime: \"\\u2A02\",\n xrArr: \"\\u27F9\",\n xrarr: \"\\u27F6\",\n Xscr: \"\\uD835\\uDCB3\",\n xscr: \"\\uD835\\uDCCD\",\n xsqcup: \"\\u2A06\",\n xuplus: \"\\u2A04\",\n xutri: \"\\u25B3\",\n xvee: \"\\u22C1\",\n xwedge: \"\\u22C0\",\n Yacute: \"\\xdd\",\n yacute: \"\\xfd\",\n YAcy: \"\\u042F\",\n yacy: \"\\u044F\",\n Ycirc: \"\\u0176\",\n ycirc: \"\\u0177\",\n Ycy: \"\\u042B\",\n ycy: \"\\u044B\",\n yen: \"\\xa5\",\n Yfr: \"\\uD835\\uDD1C\",\n yfr: \"\\uD835\\uDD36\",\n YIcy: \"\\u0407\",\n yicy: \"\\u0457\",\n Yopf: \"\\uD835\\uDD50\",\n yopf: \"\\uD835\\uDD6A\",\n Yscr: \"\\uD835\\uDCB4\",\n yscr: \"\\uD835\\uDCCE\",\n YUcy: \"\\u042E\",\n yucy: \"\\u044E\",\n Yuml: \"\\u0178\",\n yuml: \"\\xff\",\n Zacute: \"\\u0179\",\n zacute: \"\\u017A\",\n Zcaron: \"\\u017D\",\n zcaron: \"\\u017E\",\n Zcy: \"\\u0417\",\n zcy: \"\\u0437\",\n Zdot: \"\\u017B\",\n zdot: \"\\u017C\",\n zeetrf: \"\\u2128\",\n ZeroWidthSpace: \"\\u200B\",\n Zeta: \"\\u0396\",\n zeta: \"\\u03B6\",\n Zfr: \"\\u2128\",\n zfr: \"\\uD835\\uDD37\",\n ZHcy: \"\\u0416\",\n zhcy: \"\\u0436\",\n zigrarr: \"\\u21DD\",\n Zopf: \"\\u2124\",\n zopf: \"\\uD835\\uDD6B\",\n Zscr: \"\\uD835\\uDCB5\",\n zscr: \"\\uD835\\uDCCF\",\n zwj: \"\\u200D\",\n zwnj: \"\\u200C\"\n});\n$7749fd2f6249d805$export$79451380caed3f98 = $7749fd2f6249d805$export$b7e4d4631df36afa;\n\n});\n\nparcelRegister(\"aKT05\", function(module, exports) {\n\n$parcel$export(module.exports, \"XMLReader\", () => $7d48dd32ae42de33$export$ccbc9f9f018333e9, (v) => $7d48dd32ae42de33$export$ccbc9f9f018333e9 = v);\n$parcel$export(module.exports, \"ParseError\", () => $7d48dd32ae42de33$export$f9c837a54db411d, (v) => $7d48dd32ae42de33$export$f9c837a54db411d = v);\nvar $7d48dd32ae42de33$export$ccbc9f9f018333e9;\nvar $7d48dd32ae42de33$export$f9c837a54db411d;\n\nvar $e95yL = parcelRequire(\"e95yL\");\nvar $7d48dd32ae42de33$require$NAMESPACE = $e95yL.NAMESPACE;\n//[4] \tNameStartChar\t ::= \t\":\" | [A-Z] | \"_\" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]\n//[4a] \tNameChar\t ::= \tNameStartChar | \"-\" | \".\" | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]\n//[5] \tName\t ::= \tNameStartChar (NameChar)*\nvar $7d48dd32ae42de33$var$nameStartChar = /[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/ //\\u10000-\\uEFFFF\n;\nvar $7d48dd32ae42de33$var$nameChar = new RegExp(\"[\\\\-\\\\.0-9\" + $7d48dd32ae42de33$var$nameStartChar.source.slice(1, -1) + \"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]\");\nvar $7d48dd32ae42de33$var$tagNamePattern = new RegExp(\"^\" + $7d48dd32ae42de33$var$nameStartChar.source + $7d48dd32ae42de33$var$nameChar.source + \"*(?::\" + $7d48dd32ae42de33$var$nameStartChar.source + $7d48dd32ae42de33$var$nameChar.source + \"*)?$\");\n//var tagNamePattern = /^[a-zA-Z_][\\w\\-\\.]*(?:\\:[a-zA-Z_][\\w\\-\\.]*)?$/\n//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\nvar $7d48dd32ae42de33$var$S_TAG = 0; //tag name offerring\nvar $7d48dd32ae42de33$var$S_ATTR = 1; //attr name offerring\nvar $7d48dd32ae42de33$var$S_ATTR_SPACE = 2; //attr name end and space offer\nvar $7d48dd32ae42de33$var$S_EQ = 3; //=space?\nvar $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE = 4; //attr value(no quot value only)\nvar $7d48dd32ae42de33$var$S_ATTR_END = 5; //attr value end and no space(quot end)\nvar $7d48dd32ae42de33$var$S_TAG_SPACE = 6; //(attr value end || tag end ) && (space offer)\nvar $7d48dd32ae42de33$var$S_TAG_CLOSE = 7; //closed el<el />\n/**\n * Creates an error that will not be caught by XMLReader aka the SAX parser.\n *\n * @param {string} message\n * @param {any?} locator Optional, can provide details about the location in the source\n * @constructor\n */ function $7d48dd32ae42de33$var$ParseError(message, locator) {\n this.message = message;\n this.locator = locator;\n if (Error.captureStackTrace) Error.captureStackTrace(this, $7d48dd32ae42de33$var$ParseError);\n}\n$7d48dd32ae42de33$var$ParseError.prototype = new Error();\n$7d48dd32ae42de33$var$ParseError.prototype.name = $7d48dd32ae42de33$var$ParseError.name;\nfunction $7d48dd32ae42de33$var$XMLReader() {}\n$7d48dd32ae42de33$var$XMLReader.prototype = {\n parse: function(source, defaultNSMap, entityMap) {\n var domBuilder = this.domBuilder;\n domBuilder.startDocument();\n $7d48dd32ae42de33$var$_copy(defaultNSMap, defaultNSMap = {});\n $7d48dd32ae42de33$var$parse(source, defaultNSMap, entityMap, domBuilder, this.errorHandler);\n domBuilder.endDocument();\n }\n};\nfunction $7d48dd32ae42de33$var$parse(source, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {\n function fixedFromCharCode(code) {\n // String.prototype.fromCharCode does not supports\n // > 2 bytes unicode chars directly\n if (code > 0xffff) {\n code -= 0x10000;\n var surrogate1 = 0xd800 + (code >> 10), surrogate2 = 0xdc00 + (code & 0x3ff);\n return String.fromCharCode(surrogate1, surrogate2);\n } else return String.fromCharCode(code);\n }\n function entityReplacer(a) {\n var k = a.slice(1, -1);\n if (Object.hasOwnProperty.call(entityMap, k)) return entityMap[k];\n else if (k.charAt(0) === \"#\") return fixedFromCharCode(parseInt(k.substr(1).replace(\"x\", \"0x\")));\n else {\n errorHandler.error(\"entity not found:\" + a);\n return a;\n }\n }\n function appendText(end) {\n if (end > start) {\n var xt = source.substring(start, end).replace(/&#?\\w+;/g, entityReplacer);\n locator && position(start);\n domBuilder.characters(xt, 0, end - start);\n start = end;\n }\n }\n function position(p, m) {\n while(p >= lineEnd && (m = linePattern.exec(source))){\n lineStart = m.index;\n lineEnd = lineStart + m[0].length;\n locator.lineNumber++;\n //console.log('line++:',locator,startPos,endPos)\n }\n locator.columnNumber = p - lineStart + 1;\n }\n var lineStart = 0;\n var lineEnd = 0;\n var linePattern = /.*(?:\\r\\n?|\\n)|.*$/g;\n var locator = domBuilder.locator;\n var parseStack = [\n {\n currentNSMap: defaultNSMapCopy\n }\n ];\n var closeMap = {};\n var start = 0;\n while(true){\n try {\n var tagStart = source.indexOf(\"<\", start);\n if (tagStart < 0) {\n if (!source.substr(start).match(/^\\s*$/)) {\n var doc = domBuilder.doc;\n var text = doc.createTextNode(source.substr(start));\n doc.appendChild(text);\n domBuilder.currentElement = text;\n }\n return;\n }\n if (tagStart > start) appendText(tagStart);\n switch(source.charAt(tagStart + 1)){\n case \"/\":\n var end = source.indexOf(\">\", tagStart + 3);\n var tagName = source.substring(tagStart + 2, end).replace(/[ \\t\\n\\r]+$/g, \"\");\n var config = parseStack.pop();\n if (end < 0) {\n tagName = source.substring(tagStart + 2).replace(/[\\s<].*/, \"\");\n errorHandler.error(\"end tag name: \" + tagName + \" is not complete:\" + config.tagName);\n end = tagStart + 1 + tagName.length;\n } else if (tagName.match(/\\s</)) {\n tagName = tagName.replace(/[\\s<].*/, \"\");\n errorHandler.error(\"end tag name: \" + tagName + \" maybe not complete\");\n end = tagStart + 1 + tagName.length;\n }\n var localNSMap = config.localNSMap;\n var endMatch = config.tagName == tagName;\n var endIgnoreCaseMach = endMatch || config.tagName && config.tagName.toLowerCase() == tagName.toLowerCase();\n if (endIgnoreCaseMach) {\n domBuilder.endElement(config.uri, config.localName, tagName);\n if (localNSMap) {\n for(var prefix in localNSMap)if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) domBuilder.endPrefixMapping(prefix);\n }\n if (!endMatch) errorHandler.fatalError(\"end tag name: \" + tagName + \" is not match the current start tagName:\" + config.tagName); // No known test case\n } else parseStack.push(config);\n end++;\n break;\n // end elment\n case \"?\":\n locator && position(tagStart);\n end = $7d48dd32ae42de33$var$parseInstruction(source, tagStart, domBuilder);\n break;\n case \"!\":\n locator && position(tagStart);\n end = $7d48dd32ae42de33$var$parseDCC(source, tagStart, domBuilder, errorHandler);\n break;\n default:\n locator && position(tagStart);\n var el = new $7d48dd32ae42de33$var$ElementAttributes();\n var currentNSMap = parseStack[parseStack.length - 1].currentNSMap;\n //elStartEnd\n var end = $7d48dd32ae42de33$var$parseElementStartPart(source, tagStart, el, currentNSMap, entityReplacer, errorHandler);\n var len = el.length;\n if (!el.closed && $7d48dd32ae42de33$var$fixSelfClosed(source, end, el.tagName, closeMap)) {\n el.closed = true;\n if (!entityMap.nbsp) errorHandler.warning(\"unclosed xml attribute\");\n }\n if (locator && len) {\n var locator2 = $7d48dd32ae42de33$var$copyLocator(locator, {});\n //try{//attribute position fixed\n for(var i = 0; i < len; i++){\n var a = el[i];\n position(a.offset);\n a.locator = $7d48dd32ae42de33$var$copyLocator(locator, {});\n }\n domBuilder.locator = locator2;\n if ($7d48dd32ae42de33$var$appendElement(el, domBuilder, currentNSMap)) parseStack.push(el);\n domBuilder.locator = locator;\n } else if ($7d48dd32ae42de33$var$appendElement(el, domBuilder, currentNSMap)) parseStack.push(el);\n if ($7d48dd32ae42de33$require$NAMESPACE.isHTML(el.uri) && !el.closed) end = $7d48dd32ae42de33$var$parseHtmlSpecialContent(source, end, el.tagName, entityReplacer, domBuilder);\n else end++;\n }\n } catch (e) {\n if (e instanceof $7d48dd32ae42de33$var$ParseError) throw e;\n errorHandler.error(\"element parse error: \" + e);\n end = -1;\n }\n if (end > start) start = end;\n else //TODO: 这里有可能sax回退有位置错误风险\n appendText(Math.max(tagStart, start) + 1);\n }\n}\nfunction $7d48dd32ae42de33$var$copyLocator(f, t) {\n t.lineNumber = f.lineNumber;\n t.columnNumber = f.columnNumber;\n return t;\n}\n/**\n * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);\n * @return end of the elementStartPart(end of elementEndPart for selfClosed el)\n */ function $7d48dd32ae42de33$var$parseElementStartPart(source, start, el, currentNSMap, entityReplacer, errorHandler) {\n /**\n\t * @param {string} qname\n\t * @param {string} value\n\t * @param {number} startIndex\n\t */ function addAttribute(qname, value, startIndex) {\n if (el.attributeNames.hasOwnProperty(qname)) errorHandler.fatalError(\"Attribute \" + qname + \" redefined\");\n el.addValue(qname, // @see https://www.w3.org/TR/xml/#AVNormalize\n // since the xmldom sax parser does not \"interpret\" DTD the following is not implemented:\n // - recursive replacement of (DTD) entity references\n // - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA\n value.replace(/[\\t\\n\\r]/g, \" \").replace(/&#?\\w+;/g, entityReplacer), startIndex);\n }\n var attrName;\n var value;\n var p = ++start;\n var s = $7d48dd32ae42de33$var$S_TAG; //status\n while(true){\n var c = source.charAt(p);\n switch(c){\n case \"=\":\n if (s === $7d48dd32ae42de33$var$S_ATTR) {\n attrName = source.slice(start, p);\n s = $7d48dd32ae42de33$var$S_EQ;\n } else if (s === $7d48dd32ae42de33$var$S_ATTR_SPACE) s = $7d48dd32ae42de33$var$S_EQ;\n else //fatalError: equal must after attrName or space after attrName\n throw new Error(\"attribute equal must after attrName\"); // No known test case\n break;\n case \"'\":\n case '\"':\n if (s === $7d48dd32ae42de33$var$S_EQ || s === $7d48dd32ae42de33$var$S_ATTR //|| s == S_ATTR_SPACE\n ) {\n if (s === $7d48dd32ae42de33$var$S_ATTR) {\n errorHandler.warning('attribute value must after \"=\"');\n attrName = source.slice(start, p);\n }\n start = p + 1;\n p = source.indexOf(c, start);\n if (p > 0) {\n value = source.slice(start, p);\n addAttribute(attrName, value, start - 1);\n s = $7d48dd32ae42de33$var$S_ATTR_END;\n } else //fatalError: no end quot match\n throw new Error(\"attribute value no end '\" + c + \"' match\");\n } else if (s == $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE) {\n value = source.slice(start, p);\n addAttribute(attrName, value, start);\n errorHandler.warning('attribute \"' + attrName + '\" missed start quot(' + c + \")!!\");\n start = p + 1;\n s = $7d48dd32ae42de33$var$S_ATTR_END;\n } else //fatalError: no equal before\n throw new Error('attribute value must after \"=\"'); // No known test case\n break;\n case \"/\":\n switch(s){\n case $7d48dd32ae42de33$var$S_TAG:\n el.setTagName(source.slice(start, p));\n case $7d48dd32ae42de33$var$S_ATTR_END:\n case $7d48dd32ae42de33$var$S_TAG_SPACE:\n case $7d48dd32ae42de33$var$S_TAG_CLOSE:\n s = $7d48dd32ae42de33$var$S_TAG_CLOSE;\n el.closed = true;\n case $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE:\n case $7d48dd32ae42de33$var$S_ATTR:\n break;\n case $7d48dd32ae42de33$var$S_ATTR_SPACE:\n el.closed = true;\n break;\n //case S_EQ:\n default:\n throw new Error(\"attribute invalid close char('/')\") // No known test case\n ;\n }\n break;\n case \"\":\n errorHandler.error(\"unexpected end of input\");\n if (s == $7d48dd32ae42de33$var$S_TAG) el.setTagName(source.slice(start, p));\n return p;\n case \">\":\n switch(s){\n case $7d48dd32ae42de33$var$S_TAG:\n el.setTagName(source.slice(start, p));\n case $7d48dd32ae42de33$var$S_ATTR_END:\n case $7d48dd32ae42de33$var$S_TAG_SPACE:\n case $7d48dd32ae42de33$var$S_TAG_CLOSE:\n break; //normal\n case $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE:\n case $7d48dd32ae42de33$var$S_ATTR:\n value = source.slice(start, p);\n if (value.slice(-1) === \"/\") {\n el.closed = true;\n value = value.slice(0, -1);\n }\n case $7d48dd32ae42de33$var$S_ATTR_SPACE:\n if (s === $7d48dd32ae42de33$var$S_ATTR_SPACE) value = attrName;\n if (s == $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE) {\n errorHandler.warning('attribute \"' + value + '\" missed quot(\")!');\n addAttribute(attrName, value, start);\n } else {\n if (!$7d48dd32ae42de33$require$NAMESPACE.isHTML(currentNSMap[\"\"]) || !value.match(/^(?:disabled|checked|selected)$/i)) errorHandler.warning('attribute \"' + value + '\" missed value!! \"' + value + '\" instead!!');\n addAttribute(value, value, start);\n }\n break;\n case $7d48dd32ae42de33$var$S_EQ:\n throw new Error(\"attribute value missed!!\");\n }\n //\t\t\tconsole.log(tagName,tagNamePattern,tagNamePattern.test(tagName))\n return p;\n /*xml space '\\x20' | #x9 | #xD | #xA; */ case \"\\x80\":\n c = \" \";\n default:\n if (c <= \" \") switch(s){\n case $7d48dd32ae42de33$var$S_TAG:\n el.setTagName(source.slice(start, p)); //tagName\n s = $7d48dd32ae42de33$var$S_TAG_SPACE;\n break;\n case $7d48dd32ae42de33$var$S_ATTR:\n attrName = source.slice(start, p);\n s = $7d48dd32ae42de33$var$S_ATTR_SPACE;\n break;\n case $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE:\n var value = source.slice(start, p);\n errorHandler.warning('attribute \"' + value + '\" missed quot(\")!!');\n addAttribute(attrName, value, start);\n case $7d48dd32ae42de33$var$S_ATTR_END:\n s = $7d48dd32ae42de33$var$S_TAG_SPACE;\n break;\n }\n else //S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n //S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\n switch(s){\n //case S_TAG:void();break;\n //case S_ATTR:void();break;\n //case S_ATTR_NOQUOT_VALUE:void();break;\n case $7d48dd32ae42de33$var$S_ATTR_SPACE:\n var tagName = el.tagName;\n if (!$7d48dd32ae42de33$require$NAMESPACE.isHTML(currentNSMap[\"\"]) || !attrName.match(/^(?:disabled|checked|selected)$/i)) errorHandler.warning('attribute \"' + attrName + '\" missed value!! \"' + attrName + '\" instead2!!');\n addAttribute(attrName, attrName, start);\n start = p;\n s = $7d48dd32ae42de33$var$S_ATTR;\n break;\n case $7d48dd32ae42de33$var$S_ATTR_END:\n errorHandler.warning('attribute space is required\"' + attrName + '\"!!');\n case $7d48dd32ae42de33$var$S_TAG_SPACE:\n s = $7d48dd32ae42de33$var$S_ATTR;\n start = p;\n break;\n case $7d48dd32ae42de33$var$S_EQ:\n s = $7d48dd32ae42de33$var$S_ATTR_NOQUOT_VALUE;\n start = p;\n break;\n case $7d48dd32ae42de33$var$S_TAG_CLOSE:\n throw new Error(\"elements closed character '/' and '>' must be connected to\");\n }\n } //end outer switch\n //console.log('p++',p)\n p++;\n }\n}\n/**\n * @return true if has new namespace define\n */ function $7d48dd32ae42de33$var$appendElement(el, domBuilder, currentNSMap) {\n var tagName = el.tagName;\n var localNSMap = null;\n //var currentNSMap = parseStack[parseStack.length-1].currentNSMap;\n var i = el.length;\n while(i--){\n var a = el[i];\n var qName = a.qName;\n var value = a.value;\n var nsp = qName.indexOf(\":\");\n if (nsp > 0) {\n var prefix = a.prefix = qName.slice(0, nsp);\n var localName = qName.slice(nsp + 1);\n var nsPrefix = prefix === \"xmlns\" && localName;\n } else {\n localName = qName;\n prefix = null;\n nsPrefix = qName === \"xmlns\" && \"\";\n }\n //can not set prefix,because prefix !== ''\n a.localName = localName;\n //prefix == null for no ns prefix attribute\n if (nsPrefix !== false) {\n if (localNSMap == null) {\n localNSMap = {};\n //console.log(currentNSMap,0)\n $7d48dd32ae42de33$var$_copy(currentNSMap, currentNSMap = {});\n //console.log(currentNSMap,1)\n }\n currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;\n a.uri = $7d48dd32ae42de33$require$NAMESPACE.XMLNS;\n domBuilder.startPrefixMapping(nsPrefix, value);\n }\n }\n var i = el.length;\n while(i--){\n a = el[i];\n var prefix = a.prefix;\n if (prefix) {\n if (prefix === \"xml\") a.uri = $7d48dd32ae42de33$require$NAMESPACE.XML;\n if (prefix !== \"xmlns\") a.uri = currentNSMap[prefix || \"\"];\n }\n }\n var nsp = tagName.indexOf(\":\");\n if (nsp > 0) {\n prefix = el.prefix = tagName.slice(0, nsp);\n localName = el.localName = tagName.slice(nsp + 1);\n } else {\n prefix = null; //important!!\n localName = el.localName = tagName;\n }\n //no prefix element has default namespace\n var ns = el.uri = currentNSMap[prefix || \"\"];\n domBuilder.startElement(ns, localName, tagName, el);\n //endPrefixMapping and startPrefixMapping have not any help for dom builder\n //localNSMap = null\n if (el.closed) {\n domBuilder.endElement(ns, localName, tagName);\n if (localNSMap) {\n for(prefix in localNSMap)if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) domBuilder.endPrefixMapping(prefix);\n }\n } else {\n el.currentNSMap = currentNSMap;\n el.localNSMap = localNSMap;\n //parseStack.push(el);\n return true;\n }\n}\nfunction $7d48dd32ae42de33$var$parseHtmlSpecialContent(source, elStartEnd, tagName, entityReplacer, domBuilder) {\n if (/^(?:script|textarea)$/i.test(tagName)) {\n var elEndStart = source.indexOf(\"</\" + tagName + \">\", elStartEnd);\n var text = source.substring(elStartEnd + 1, elEndStart);\n if (/[&<]/.test(text)) {\n if (/^script$/i.test(tagName)) {\n //if(!/\\]\\]>/.test(text)){\n //lexHandler.startCDATA();\n domBuilder.characters(text, 0, text.length);\n //lexHandler.endCDATA();\n return elEndStart;\n //}\n } //}else{//text area\n text = text.replace(/&#?\\w+;/g, entityReplacer);\n domBuilder.characters(text, 0, text.length);\n return elEndStart;\n //}\n }\n }\n return elStartEnd + 1;\n}\nfunction $7d48dd32ae42de33$var$fixSelfClosed(source, elStartEnd, tagName, closeMap) {\n //if(tagName in closeMap){\n var pos = closeMap[tagName];\n if (pos == null) {\n //console.log(tagName)\n pos = source.lastIndexOf(\"</\" + tagName + \">\");\n if (pos < elStartEnd) pos = source.lastIndexOf(\"</\" + tagName);\n closeMap[tagName] = pos;\n }\n return pos < elStartEnd;\n//}\n}\nfunction $7d48dd32ae42de33$var$_copy(source, target) {\n for(var n in source)if (Object.prototype.hasOwnProperty.call(source, n)) target[n] = source[n];\n}\nfunction $7d48dd32ae42de33$var$parseDCC(source, start, domBuilder, errorHandler) {\n var next = source.charAt(start + 2);\n switch(next){\n case \"-\":\n if (source.charAt(start + 3) === \"-\") {\n var end = source.indexOf(\"-->\", start + 4);\n //append comment source.substring(4,end)//<!--\n if (end > start) {\n domBuilder.comment(source, start + 4, end - start - 4);\n return end + 3;\n } else {\n errorHandler.error(\"Unclosed comment\");\n return -1;\n }\n } else //error\n return -1;\n default:\n if (source.substr(start + 3, 6) == \"CDATA[\") {\n var end = source.indexOf(\"]]>\", start + 9);\n domBuilder.startCDATA();\n domBuilder.characters(source, start + 9, end - start - 9);\n domBuilder.endCDATA();\n return end + 3;\n }\n //<!DOCTYPE\n //startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)\n var matchs = $7d48dd32ae42de33$var$split(source, start);\n var len = matchs.length;\n if (len > 1 && /!doctype/i.test(matchs[0][0])) {\n var name = matchs[1][0];\n var pubid = false;\n var sysid = false;\n if (len > 3) {\n if (/^public$/i.test(matchs[2][0])) {\n pubid = matchs[3][0];\n sysid = len > 4 && matchs[4][0];\n } else if (/^system$/i.test(matchs[2][0])) sysid = matchs[3][0];\n }\n var lastMatch = matchs[len - 1];\n domBuilder.startDTD(name, pubid, sysid);\n domBuilder.endDTD();\n return lastMatch.index + lastMatch[0].length;\n }\n }\n return -1;\n}\nfunction $7d48dd32ae42de33$var$parseInstruction(source, start, domBuilder) {\n var end = source.indexOf(\"?>\", start);\n if (end) {\n var match = source.substring(start, end).match(/^<\\?(\\S*)\\s*([\\s\\S]*?)\\s*$/);\n if (match) {\n var len = match[0].length;\n domBuilder.processingInstruction(match[1], match[2]);\n return end + 2;\n } else return -1;\n }\n return -1;\n}\nfunction $7d48dd32ae42de33$var$ElementAttributes() {\n this.attributeNames = {};\n}\n$7d48dd32ae42de33$var$ElementAttributes.prototype = {\n setTagName: function(tagName) {\n if (!$7d48dd32ae42de33$var$tagNamePattern.test(tagName)) throw new Error(\"invalid tagName:\" + tagName);\n this.tagName = tagName;\n },\n addValue: function(qName, value, offset) {\n if (!$7d48dd32ae42de33$var$tagNamePattern.test(qName)) throw new Error(\"invalid attribute:\" + qName);\n this.attributeNames[qName] = this.length;\n this[this.length++] = {\n qName: qName,\n value: value,\n offset: offset\n };\n },\n length: 0,\n getLocalName: function(i) {\n return this[i].localName;\n },\n getLocator: function(i) {\n return this[i].locator;\n },\n getQName: function(i) {\n return this[i].qName;\n },\n getURI: function(i) {\n return this[i].uri;\n },\n getValue: function(i) {\n return this[i].value;\n }\n};\nfunction $7d48dd32ae42de33$var$split(source, start) {\n var match;\n var buf = [];\n var reg = /'[^']+'|\"[^\"]+\"|[^\\s<>\\/=]+=?|(\\/?\\s*>|<)/g;\n reg.lastIndex = start;\n reg.exec(source); //skip <\n while(match = reg.exec(source)){\n buf.push(match);\n if (match[1]) return buf;\n }\n}\n$7d48dd32ae42de33$export$ccbc9f9f018333e9 = $7d48dd32ae42de33$var$XMLReader;\n$7d48dd32ae42de33$export$f9c837a54db411d = $7d48dd32ae42de33$var$ParseError;\n\n});\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6OFKY = parcelRequire(\"6OFKY\");\nvar $4af6780aae15e7aa$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"kswPT\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\";\n });\n}).call($4af6780aae15e7aa$exports);\n\n\nvar $d8d049814738d806$exports = {};\n\n$d8d049814738d806$exports = (parcelRequire(\"foOBZ\"));\n\n\nvar $320f558e5d3a9246$exports = {};\n$320f558e5d3a9246$exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n\n\n\nvar $71cfef4812d1fa23$exports = {};\nvar $8af98396df2af8bc$exports = {};\n\n$parcel$export($8af98396df2af8bc$exports, \"isexe\", () => $8af98396df2af8bc$export$35888d6059c232d4);\n$parcel$export($8af98396df2af8bc$exports, \"sync\", () => $8af98396df2af8bc$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $9b99f2c333371baa$export$2e2bcd8739ae039 = (0, $4umf8$fs.promises);\nconst { access: $9b99f2c333371baa$export$9bb0e144ba4929ca, appendFile: $9b99f2c333371baa$export$31f54b44f813a103, chmod: $9b99f2c333371baa$export$fe07cae62e774a05, chown: $9b99f2c333371baa$export$86560bc0b866a003, copyFile: $9b99f2c333371baa$export$c763efb2c06e223f, lchmod: $9b99f2c333371baa$export$4d4374c7ea08c49f, lchown: $9b99f2c333371baa$export$b34a65c440b523a2, link: $9b99f2c333371baa$export$9c30223ca0a664fb, lstat: $9b99f2c333371baa$export$c29f07eab13966a4, mkdir: $9b99f2c333371baa$export$d9fa9670717a639d, mkdtemp: $9b99f2c333371baa$export$bb440dc863a3b46a, open: $9b99f2c333371baa$export$3ce6949f20cea765, readdir: $9b99f2c333371baa$export$b1e07c405f785337, readFile: $9b99f2c333371baa$export$72c04af63de9061a, readlink: $9b99f2c333371baa$export$3d3ca76659ee9f39, realpath: $9b99f2c333371baa$export$9f2c45015a422c45, rename: $9b99f2c333371baa$export$7ac989ec0c9c279, rmdir: $9b99f2c333371baa$export$3f660f6332b9a01d, stat: $9b99f2c333371baa$export$f82f04a91eb6144a, symlink: $9b99f2c333371baa$export$ed42c6f39f07f97, truncate: $9b99f2c333371baa$export$6a506b36fdea397d, unlink: $9b99f2c333371baa$export$5e0808041271ce04, utimes: $9b99f2c333371baa$export$d85d919a687a608f, writeFile: $9b99f2c333371baa$export$552bfb764b5cd2b4, rm: $9b99f2c333371baa$export$a1f77f18af3aebd5 } = (0, $4umf8$fs.promises);\n\n\nconst $8af98396df2af8bc$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $8af98396df2af8bc$var$checkStat(await (0, $9b99f2c333371baa$export$f82f04a91eb6144a)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $8af98396df2af8bc$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $8af98396df2af8bc$var$checkStat((0, $4umf8$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $8af98396df2af8bc$var$checkStat = (stat, options)=>stat.isFile() && $8af98396df2af8bc$var$checkMode(stat, options);\nconst $8af98396df2af8bc$var$checkMode = (stat, options)=>{\n var _process_getuid, _process, _process_getgroups, _process1, _process_getgid, _process2;\n var _options_uid;\n const myUid = (_options_uid = options.uid) !== null && _options_uid !== void 0 ? _options_uid : (_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process);\n var _options_groups, _ref;\n const myGroups = (_ref = (_options_groups = options.groups) !== null && _options_groups !== void 0 ? _options_groups : (_process_getgroups = (_process1 = process).getgroups) === null || _process_getgroups === void 0 ? void 0 : _process_getgroups.call(_process1)) !== null && _ref !== void 0 ? _ref : [];\n var _options_gid, _ref1;\n const myGid = (_ref1 = (_options_gid = options.gid) !== null && _options_gid !== void 0 ? _options_gid : (_process_getgid = (_process2 = process).getgid) === null || _process_getgid === void 0 ? void 0 : _process_getgid.call(_process2)) !== null && _ref1 !== void 0 ? _ref1 : myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $846949ba2799f237$exports = {};\n\n$parcel$export($846949ba2799f237$exports, \"isexe\", () => $846949ba2799f237$export$35888d6059c232d4);\n$parcel$export($846949ba2799f237$exports, \"sync\", () => $846949ba2799f237$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nconst $846949ba2799f237$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $846949ba2799f237$var$checkStat(await (0, $9b99f2c333371baa$export$f82f04a91eb6144a)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $846949ba2799f237$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $846949ba2799f237$var$checkStat((0, $4umf8$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $846949ba2799f237$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $846949ba2799f237$var$checkStat = (stat, path, options)=>stat.isFile() && $846949ba2799f237$var$checkPathExt(path, options);\n\n\n\n\nconst $946052d434158cfa$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $946052d434158cfa$var$impl = $946052d434158cfa$var$platform === \"win32\" ? $846949ba2799f237$exports : $8af98396df2af8bc$exports;\nconst $946052d434158cfa$export$35888d6059c232d4 = $946052d434158cfa$var$impl.isexe;\nconst $946052d434158cfa$export$92d6409d68f0739a = $946052d434158cfa$var$impl.sync;\n\n\nvar $71cfef4812d1fa23$require$isexe = $946052d434158cfa$export$35888d6059c232d4;\nvar $71cfef4812d1fa23$require$isexeSync = $946052d434158cfa$export$92d6409d68f0739a;\n\nvar $71cfef4812d1fa23$require$join = $4umf8$path.join;\nvar $71cfef4812d1fa23$require$delimiter = $4umf8$path.delimiter;\nvar $71cfef4812d1fa23$require$sep = $4umf8$path.sep;\nvar $71cfef4812d1fa23$require$posix = $4umf8$path.posix;\nconst $71cfef4812d1fa23$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $71cfef4812d1fa23$var$rSlash = new RegExp(`[${$71cfef4812d1fa23$require$posix.sep}${$71cfef4812d1fa23$require$sep === $71cfef4812d1fa23$require$posix.sep ? \"\" : $71cfef4812d1fa23$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $71cfef4812d1fa23$var$rRel = new RegExp(`^\\\\.${$71cfef4812d1fa23$var$rSlash.source}`);\nconst $71cfef4812d1fa23$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $71cfef4812d1fa23$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $71cfef4812d1fa23$require$delimiter })=>{\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match($71cfef4812d1fa23$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$71cfef4812d1fa23$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($71cfef4812d1fa23$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $71cfef4812d1fa23$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $71cfef4812d1fa23$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $71cfef4812d1fa23$require$join(pathPart, cmd);\n};\nconst $71cfef4812d1fa23$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $71cfef4812d1fa23$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $71cfef4812d1fa23$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $71cfef4812d1fa23$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $71cfef4812d1fa23$var$getNotFoundError(cmd);\n};\nconst $71cfef4812d1fa23$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $71cfef4812d1fa23$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $71cfef4812d1fa23$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $71cfef4812d1fa23$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $71cfef4812d1fa23$var$getNotFoundError(cmd);\n};\n$71cfef4812d1fa23$exports = $71cfef4812d1fa23$var$which;\n$71cfef4812d1fa23$var$which.sync = $71cfef4812d1fa23$var$whichSync;\n\n\n\n\n\n\nvar $f22b5c1f790abcb5$exports = {};\n\"use strict\";\n\nvar $8c1978633592301d$exports = {};\n\"use strict\";\n\nvar $b2fe26769d516fdd$exports = {};\n\"use strict\";\n\nvar $677fb043cca6421d$exports = {};\nconst $677fb043cca6421d$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $677fb043cca6421d$var$COLON = $677fb043cca6421d$var$isWindows ? \";\" : \":\";\nvar $e24c7282838da7f2$exports = {};\n\nvar $e24c7282838da7f2$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $e24c7282838da7f2$var$core = (parcelRequire(\"8nJMC\"));\nelse $e24c7282838da7f2$var$core = (parcelRequire(\"lo7XV\"));\n$e24c7282838da7f2$exports = $e24c7282838da7f2$var$isexe;\n$e24c7282838da7f2$var$isexe.sync = $e24c7282838da7f2$var$sync;\nfunction $e24c7282838da7f2$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $e24c7282838da7f2$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $e24c7282838da7f2$var$core(path, options || {}, function(er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === \"EACCES\" || options && options.ignoreErrors) {\n er = null;\n is = false;\n }\n }\n cb(er, is);\n });\n}\nfunction $e24c7282838da7f2$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $e24c7282838da7f2$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $677fb043cca6421d$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $677fb043cca6421d$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $677fb043cca6421d$var$COLON;\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || $677fb043cca6421d$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$677fb043cca6421d$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $677fb043cca6421d$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $677fb043cca6421d$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($677fb043cca6421d$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $677fb043cca6421d$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $677fb043cca6421d$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($677fb043cca6421d$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $4umf8$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $e24c7282838da7f2$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $677fb043cca6421d$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $677fb043cca6421d$var$getPathInfo(cmd, opt);\n const found = [];\n for(let i = 0; i < pathEnv.length; i++){\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $4umf8$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $e24c7282838da7f2$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $677fb043cca6421d$var$getNotFoundError(cmd);\n};\n$677fb043cca6421d$exports = $677fb043cca6421d$var$which;\n$677fb043cca6421d$var$which.sync = $677fb043cca6421d$var$whichSync;\n\n\nvar $f1390e37bcd58ff2$exports = {};\n\"use strict\";\nconst $f1390e37bcd58ff2$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$f1390e37bcd58ff2$exports = $f1390e37bcd58ff2$var$pathKey;\n// TODO: Remove this for the next major release\n$f1390e37bcd58ff2$exports.default = $f1390e37bcd58ff2$var$pathKey;\n\n\nfunction $b2fe26769d516fdd$var$resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $677fb043cca6421d$exports.sync(parsed.command, {\n path: env[$f1390e37bcd58ff2$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $4umf8$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\n }\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) resolved = $4umf8$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $b2fe26769d516fdd$var$resolveCommand(parsed) {\n return $b2fe26769d516fdd$var$resolveCommandAttempt(parsed) || $b2fe26769d516fdd$var$resolveCommandAttempt(parsed, true);\n}\n$b2fe26769d516fdd$exports = $b2fe26769d516fdd$var$resolveCommand;\n\n\nvar $93aa50921a1257d7$export$ae50443ffc990749;\nvar $93aa50921a1257d7$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $93aa50921a1257d7$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $93aa50921a1257d7$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($93aa50921a1257d7$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $93aa50921a1257d7$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, \"$1$1\");\n // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($93aa50921a1257d7$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($93aa50921a1257d7$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$93aa50921a1257d7$export$ae50443ffc990749 = $93aa50921a1257d7$var$escapeCommand;\n$93aa50921a1257d7$export$6ea29ee575e3f5ff = $93aa50921a1257d7$var$escapeArgument;\n\n\nvar $3056528198dd0fdd$exports = {};\n\"use strict\";\n\nvar $2bb2d8045bb7ac8d$exports = {};\n\"use strict\";\nvar $5fd1064c977602bc$exports = {};\n\"use strict\";\n$5fd1064c977602bc$exports = /^#!(.*)/;\n\n\n$2bb2d8045bb7ac8d$exports = (string = \"\")=>{\n const match = string.match($5fd1064c977602bc$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $3056528198dd0fdd$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $4umf8$fs.openSync(command, \"r\");\n $4umf8$fs.readSync(fd, buffer, 0, size, 0);\n $4umf8$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $2bb2d8045bb7ac8d$exports(buffer.toString());\n}\n$3056528198dd0fdd$exports = $3056528198dd0fdd$var$readShebang;\n\n\nconst $8c1978633592301d$var$isWin = process.platform === \"win32\";\nconst $8c1978633592301d$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $8c1978633592301d$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $8c1978633592301d$var$detectShebang(parsed) {\n parsed.file = $b2fe26769d516fdd$exports(parsed);\n const shebang = parsed.file && $3056528198dd0fdd$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $b2fe26769d516fdd$exports(parsed);\n }\n return parsed.file;\n}\nfunction $8c1978633592301d$var$parseNonShell(parsed) {\n if (!$8c1978633592301d$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $8c1978633592301d$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$8c1978633592301d$var$isExecutableRegExp.test(commandFile);\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = $8c1978633592301d$var$isCmdShimRegExp.test(commandFile);\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = $4umf8$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $93aa50921a1257d7$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$93aa50921a1257d7$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\n parsed.command = process.env.comspec || \"cmd.exe\";\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n return parsed;\n}\nfunction $8c1978633592301d$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $8c1978633592301d$var$parseNonShell(parsed);\n}\n$8c1978633592301d$exports = $8c1978633592301d$var$parse;\n\n\nvar $f5cfbc89fd9aa1f8$exports = {};\n\"use strict\";\nconst $f5cfbc89fd9aa1f8$var$isWin = process.platform === \"win32\";\nfunction $f5cfbc89fd9aa1f8$var$notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: \"ENOENT\",\n errno: \"ENOENT\",\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args\n });\n}\nfunction $f5cfbc89fd9aa1f8$var$hookChildProcess(cp, parsed) {\n if (!$f5cfbc89fd9aa1f8$var$isWin) return;\n const originalEmit = cp.emit;\n cp.emit = function(name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === \"exit\") {\n const err = $f5cfbc89fd9aa1f8$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $f5cfbc89fd9aa1f8$var$verifyENOENT(status, parsed) {\n if ($f5cfbc89fd9aa1f8$var$isWin && status === 1 && !parsed.file) return $f5cfbc89fd9aa1f8$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $f5cfbc89fd9aa1f8$var$verifyENOENTSync(status, parsed) {\n if ($f5cfbc89fd9aa1f8$var$isWin && status === 1 && !parsed.file) return $f5cfbc89fd9aa1f8$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$f5cfbc89fd9aa1f8$exports = {\n hookChildProcess: $f5cfbc89fd9aa1f8$var$hookChildProcess,\n verifyENOENT: $f5cfbc89fd9aa1f8$var$verifyENOENT,\n verifyENOENTSync: $f5cfbc89fd9aa1f8$var$verifyENOENTSync,\n notFoundError: $f5cfbc89fd9aa1f8$var$notFoundError\n};\n\n\nfunction $f22b5c1f790abcb5$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $8c1978633592301d$exports(command, args, options);\n // Spawn the child process\n const spawned = $4umf8$child_process.spawn(parsed.command, parsed.args, parsed.options);\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n $f5cfbc89fd9aa1f8$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $f22b5c1f790abcb5$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $8c1978633592301d$exports(command, args, options);\n // Spawn the child process\n const result = $4umf8$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $f5cfbc89fd9aa1f8$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$f22b5c1f790abcb5$exports = $f22b5c1f790abcb5$var$spawn;\n$f22b5c1f790abcb5$exports.spawn = $f22b5c1f790abcb5$var$spawn;\n$f22b5c1f790abcb5$exports.sync = $f22b5c1f790abcb5$var$spawnSync;\n$f22b5c1f790abcb5$exports._parse = $8c1978633592301d$exports;\n$f22b5c1f790abcb5$exports._enoent = $f5cfbc89fd9aa1f8$exports;\n\n\nfunction $e53d23f0d89b737e$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $30c4ee1231df0618$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $e525b4839dd67f68$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($4umf8$nodeprocess))).env[(0, $30c4ee1231df0618$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath } = options;\n let previous;\n const execPathString = execPath instanceof URL ? (0, ($parcel$interopDefault($4umf8$nodeurl))).fileURLToPath(execPath) : execPath;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($4umf8$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($4umf8$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdString, execPathString, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($4umf8$nodepath))).delimiter);\n}\nfunction $e525b4839dd67f68$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($4umf8$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $30c4ee1231df0618$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $e525b4839dd67f68$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $864c61f3265971fc$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$864c61f3265971fc$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $864c61f3265971fc$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $864c61f3265971fc$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $864c61f3265971fc$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $864c61f3265971fc$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $864c61f3265971fc$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $864c61f3265971fc$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $864c61f3265971fc$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $864c61f3265971fc$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$864c61f3265971fc$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $864c61f3265971fc$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$864c61f3265971fc$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $864c61f3265971fc$var$changePrototype(to, from);\n $864c61f3265971fc$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $b5bce385de6ade9f$var$calledFunctions = new WeakMap();\nconst $b5bce385de6ade9f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"<anonymous>\";\n const onetime = function(...arguments_) {\n $b5bce385de6ade9f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $864c61f3265971fc$export$2e2bcd8739ae039)(onetime, function_);\n $b5bce385de6ade9f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$b5bce385de6ade9f$var$onetime.callCount = (function_)=>{\n if (!$b5bce385de6ade9f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $b5bce385de6ade9f$var$calledFunctions.get(function_);\n};\nvar $b5bce385de6ade9f$export$2e2bcd8739ae039 = $b5bce385de6ade9f$var$onetime;\n\n\n\n\nconst $be1c1e49c510b419$export$e221a98f4fd84d36 = ()=>{\n const length = $be1c1e49c510b419$export$dc8812f2f8882ff4 - $be1c1e49c510b419$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $be1c1e49c510b419$var$getRealtimeSignal);\n};\nconst $be1c1e49c510b419$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $be1c1e49c510b419$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $be1c1e49c510b419$var$SIGRTMIN = 34;\nconst $be1c1e49c510b419$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $849cd5404bf0c241$export$a43bf6822cc694af = [\n {\n name: \"SIGHUP\",\n number: 1,\n action: \"terminate\",\n description: \"Terminal closed\",\n standard: \"posix\"\n },\n {\n name: \"SIGINT\",\n number: 2,\n action: \"terminate\",\n description: \"User interruption with CTRL-C\",\n standard: \"ansi\"\n },\n {\n name: \"SIGQUIT\",\n number: 3,\n action: \"core\",\n description: \"User interruption with CTRL-\\\\\",\n standard: \"posix\"\n },\n {\n name: \"SIGILL\",\n number: 4,\n action: \"core\",\n description: \"Invalid machine instruction\",\n standard: \"ansi\"\n },\n {\n name: \"SIGTRAP\",\n number: 5,\n action: \"core\",\n description: \"Debugger breakpoint\",\n standard: \"posix\"\n },\n {\n name: \"SIGABRT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"ansi\"\n },\n {\n name: \"SIGIOT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"bsd\"\n },\n {\n name: \"SIGBUS\",\n number: 7,\n action: \"core\",\n description: \"Bus error due to misaligned, non-existing address or paging error\",\n standard: \"bsd\"\n },\n {\n name: \"SIGEMT\",\n number: 7,\n action: \"terminate\",\n description: \"Command should be emulated but is not implemented\",\n standard: \"other\"\n },\n {\n name: \"SIGFPE\",\n number: 8,\n action: \"core\",\n description: \"Floating point arithmetic error\",\n standard: \"ansi\"\n },\n {\n name: \"SIGKILL\",\n number: 9,\n action: \"terminate\",\n description: \"Forced termination\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGUSR1\",\n number: 10,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGSEGV\",\n number: 11,\n action: \"core\",\n description: \"Segmentation fault\",\n standard: \"ansi\"\n },\n {\n name: \"SIGUSR2\",\n number: 12,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGPIPE\",\n number: 13,\n action: \"terminate\",\n description: \"Broken pipe or socket\",\n standard: \"posix\"\n },\n {\n name: \"SIGALRM\",\n number: 14,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"posix\"\n },\n {\n name: \"SIGTERM\",\n number: 15,\n action: \"terminate\",\n description: \"Termination\",\n standard: \"ansi\"\n },\n {\n name: \"SIGSTKFLT\",\n number: 16,\n action: \"terminate\",\n description: \"Stack is empty or overflowed\",\n standard: \"other\"\n },\n {\n name: \"SIGCHLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"posix\"\n },\n {\n name: \"SIGCLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"other\"\n },\n {\n name: \"SIGCONT\",\n number: 18,\n action: \"unpause\",\n description: \"Unpaused\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGSTOP\",\n number: 19,\n action: \"pause\",\n description: \"Paused\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGTSTP\",\n number: 20,\n action: \"pause\",\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: \"posix\"\n },\n {\n name: \"SIGTTIN\",\n number: 21,\n action: \"pause\",\n description: \"Background process cannot read terminal input\",\n standard: \"posix\"\n },\n {\n name: \"SIGBREAK\",\n number: 21,\n action: \"terminate\",\n description: \"User interruption with CTRL-BREAK\",\n standard: \"other\"\n },\n {\n name: \"SIGTTOU\",\n number: 22,\n action: \"pause\",\n description: \"Background process cannot write to terminal output\",\n standard: \"posix\"\n },\n {\n name: \"SIGURG\",\n number: 23,\n action: \"ignore\",\n description: \"Socket received out-of-band data\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXCPU\",\n number: 24,\n action: \"core\",\n description: \"Process timed out\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXFSZ\",\n number: 25,\n action: \"core\",\n description: \"File too big\",\n standard: \"bsd\"\n },\n {\n name: \"SIGVTALRM\",\n number: 26,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGPROF\",\n number: 27,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGWINCH\",\n number: 28,\n action: \"ignore\",\n description: \"Terminal window size changed\",\n standard: \"bsd\"\n },\n {\n name: \"SIGIO\",\n number: 29,\n action: \"terminate\",\n description: \"I/O is available\",\n standard: \"other\"\n },\n {\n name: \"SIGPOLL\",\n number: 29,\n action: \"terminate\",\n description: \"Watched event\",\n standard: \"other\"\n },\n {\n name: \"SIGINFO\",\n number: 29,\n action: \"ignore\",\n description: \"Request for process information\",\n standard: \"other\"\n },\n {\n name: \"SIGPWR\",\n number: 30,\n action: \"terminate\",\n description: \"Device running out of power\",\n standard: \"systemv\"\n },\n {\n name: \"SIGSYS\",\n number: 31,\n action: \"core\",\n description: \"Invalid system call\",\n standard: \"other\"\n },\n {\n name: \"SIGUNUSED\",\n number: 31,\n action: \"terminate\",\n description: \"Invalid system call\",\n standard: \"other\"\n }\n];\n\n\n\nconst $ee1bf5b9ef1a9de6$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $be1c1e49c510b419$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $849cd5404bf0c241$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($ee1bf5b9ef1a9de6$var$normalizeSignal);\n return signals;\n};\nconst $ee1bf5b9ef1a9de6$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $4umf8$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $694b1b79847eac4d$var$getSignalsByName = ()=>{\n const signals = (0, $ee1bf5b9ef1a9de6$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($694b1b79847eac4d$var$getSignalByName));\n};\nconst $694b1b79847eac4d$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $694b1b79847eac4d$export$c3fcb39d6848c78d = $694b1b79847eac4d$var$getSignalsByName();\nconst $694b1b79847eac4d$var$getSignalsByNumber = ()=>{\n const signals = (0, $ee1bf5b9ef1a9de6$export$c50078d4faa171f0)();\n const length = (0, $be1c1e49c510b419$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$694b1b79847eac4d$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $694b1b79847eac4d$var$getSignalByNumber = (number, signals)=>{\n const signal = $694b1b79847eac4d$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $694b1b79847eac4d$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $4umf8$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $694b1b79847eac4d$export$12f57f97a08d2468 = $694b1b79847eac4d$var$getSignalsByNumber();\n\n\nconst $9224ad52d9f78dbc$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $694b1b79847eac4d$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $9224ad52d9f78dbc$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $fd3489326ee71e7b$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $fd3489326ee71e7b$var$hasAlias = (options)=>$fd3489326ee71e7b$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $fd3489326ee71e7b$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $fd3489326ee71e7b$var$aliases.map((alias)=>options[alias]);\n if ($fd3489326ee71e7b$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$fd3489326ee71e7b$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $fd3489326ee71e7b$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $fd3489326ee71e7b$export$889423b478ae2ba = (options)=>{\n const stdio = $fd3489326ee71e7b$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $fe4c43f2e8a7f558$exports = {};\n// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar $fe4c43f2e8a7f558$var$process = $parcel$global.process;\nconst $fe4c43f2e8a7f558$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($fe4c43f2e8a7f558$var$process)) $fe4c43f2e8a7f558$exports = function() {\n return function() {};\n};\nelse {\n var $fe4c43f2e8a7f558$var$assert = $4umf8$assert;\n var $fe4c43f2e8a7f558$var$signals = (parcelRequire(\"dVIKq\"));\n var $fe4c43f2e8a7f558$var$isWin = /^win/i.test($fe4c43f2e8a7f558$var$process.platform);\n var $fe4c43f2e8a7f558$var$EE = $4umf8$events;\n /* istanbul ignore if */ if (typeof $fe4c43f2e8a7f558$var$EE !== \"function\") $fe4c43f2e8a7f558$var$EE = $fe4c43f2e8a7f558$var$EE.EventEmitter;\n var $fe4c43f2e8a7f558$var$emitter;\n if ($fe4c43f2e8a7f558$var$process.__signal_exit_emitter__) $fe4c43f2e8a7f558$var$emitter = $fe4c43f2e8a7f558$var$process.__signal_exit_emitter__;\n else {\n $fe4c43f2e8a7f558$var$emitter = $fe4c43f2e8a7f558$var$process.__signal_exit_emitter__ = new $fe4c43f2e8a7f558$var$EE();\n $fe4c43f2e8a7f558$var$emitter.count = 0;\n $fe4c43f2e8a7f558$var$emitter.emitted = {};\n }\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!$fe4c43f2e8a7f558$var$emitter.infinite) {\n $fe4c43f2e8a7f558$var$emitter.setMaxListeners(Infinity);\n $fe4c43f2e8a7f558$var$emitter.infinite = true;\n }\n $fe4c43f2e8a7f558$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return function() {};\n $fe4c43f2e8a7f558$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($fe4c43f2e8a7f558$var$loaded === false) $fe4c43f2e8a7f558$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $fe4c43f2e8a7f558$var$emitter.removeListener(ev, cb);\n if ($fe4c43f2e8a7f558$var$emitter.listeners(\"exit\").length === 0 && $fe4c43f2e8a7f558$var$emitter.listeners(\"afterexit\").length === 0) $fe4c43f2e8a7f558$var$unload();\n };\n $fe4c43f2e8a7f558$var$emitter.on(ev, cb);\n return remove;\n };\n var $fe4c43f2e8a7f558$var$unload = function unload() {\n if (!$fe4c43f2e8a7f558$var$loaded || !$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n $fe4c43f2e8a7f558$var$loaded = false;\n $fe4c43f2e8a7f558$var$signals.forEach(function(sig) {\n try {\n $fe4c43f2e8a7f558$var$process.removeListener(sig, $fe4c43f2e8a7f558$var$sigListeners[sig]);\n } catch (er) {}\n });\n $fe4c43f2e8a7f558$var$process.emit = $fe4c43f2e8a7f558$var$originalProcessEmit;\n $fe4c43f2e8a7f558$var$process.reallyExit = $fe4c43f2e8a7f558$var$originalProcessReallyExit;\n $fe4c43f2e8a7f558$var$emitter.count -= 1;\n };\n $fe4c43f2e8a7f558$exports.unload = $fe4c43f2e8a7f558$var$unload;\n var $fe4c43f2e8a7f558$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($fe4c43f2e8a7f558$var$emitter.emitted[event]) return;\n $fe4c43f2e8a7f558$var$emitter.emitted[event] = true;\n $fe4c43f2e8a7f558$var$emitter.emit(event, code, signal);\n };\n // { <signal>: <listener fn>, ... }\n var $fe4c43f2e8a7f558$var$sigListeners = {};\n $fe4c43f2e8a7f558$var$signals.forEach(function(sig) {\n $fe4c43f2e8a7f558$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = $fe4c43f2e8a7f558$var$process.listeners(sig);\n if (listeners.length === $fe4c43f2e8a7f558$var$emitter.count) {\n $fe4c43f2e8a7f558$var$unload();\n $fe4c43f2e8a7f558$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($fe4c43f2e8a7f558$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$process.kill($fe4c43f2e8a7f558$var$process.pid, sig);\n }\n };\n });\n $fe4c43f2e8a7f558$exports.signals = function() {\n return $fe4c43f2e8a7f558$var$signals;\n };\n var $fe4c43f2e8a7f558$var$loaded = false;\n var $fe4c43f2e8a7f558$var$load = function load() {\n if ($fe4c43f2e8a7f558$var$loaded || !$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n $fe4c43f2e8a7f558$var$loaded = true;\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n $fe4c43f2e8a7f558$var$emitter.count += 1;\n $fe4c43f2e8a7f558$var$signals = $fe4c43f2e8a7f558$var$signals.filter(function(sig) {\n try {\n $fe4c43f2e8a7f558$var$process.on(sig, $fe4c43f2e8a7f558$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $fe4c43f2e8a7f558$var$process.emit = $fe4c43f2e8a7f558$var$processEmit;\n $fe4c43f2e8a7f558$var$process.reallyExit = $fe4c43f2e8a7f558$var$processReallyExit;\n };\n $fe4c43f2e8a7f558$exports.load = $fe4c43f2e8a7f558$var$load;\n var $fe4c43f2e8a7f558$var$originalProcessReallyExit = $fe4c43f2e8a7f558$var$process.reallyExit;\n var $fe4c43f2e8a7f558$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n $fe4c43f2e8a7f558$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $fe4c43f2e8a7f558$var$emit(\"exit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"afterexit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$originalProcessReallyExit.call($fe4c43f2e8a7f558$var$process, $fe4c43f2e8a7f558$var$process.exitCode);\n };\n var $fe4c43f2e8a7f558$var$originalProcessEmit = $fe4c43f2e8a7f558$var$process.emit;\n var $fe4c43f2e8a7f558$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $fe4c43f2e8a7f558$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $fe4c43f2e8a7f558$var$process.exitCode = arg;\n var ret = $fe4c43f2e8a7f558$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"exit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"afterexit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $fe4c43f2e8a7f558$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $8bad387d33525ec8$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $8bad387d33525ec8$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $8bad387d33525ec8$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $8bad387d33525ec8$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$8bad387d33525ec8$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $8bad387d33525ec8$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $8bad387d33525ec8$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$8bad387d33525ec8$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $8bad387d33525ec8$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($4umf8$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $8bad387d33525ec8$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $8bad387d33525ec8$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $8bad387d33525ec8$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $8bad387d33525ec8$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $8bad387d33525ec8$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $8bad387d33525ec8$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $8bad387d33525ec8$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $8bad387d33525ec8$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($fe4c43f2e8a7f558$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $dc0eb0b18e5448c3$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $dc0eb0b18e5448c3$export$b58a61c52edb4f66(stream) {\n return $dc0eb0b18e5448c3$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $dc0eb0b18e5448c3$export$ac613ff475b69d05(stream) {\n return $dc0eb0b18e5448c3$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $dc0eb0b18e5448c3$export$f92d8ccfaec172d4(stream) {\n return $dc0eb0b18e5448c3$export$b58a61c52edb4f66(stream) && $dc0eb0b18e5448c3$export$ac613ff475b69d05(stream);\n}\nfunction $dc0eb0b18e5448c3$export$3053cdc6f2e088fd(stream) {\n return $dc0eb0b18e5448c3$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $828f40abedd408ac$var$isExecaChildProcess = (target)=>target instanceof (0, $4umf8$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $828f40abedd408ac$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $4umf8$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$828f40abedd408ac$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $828f40abedd408ac$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $828f40abedd408ac$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $828f40abedd408ac$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $828f40abedd408ac$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $d2fd9e7353012e26$exports = {};\n\"use strict\";\n\nvar $d2fd9e7353012e26$require$BufferConstants = $4umf8$buffer.constants;\n\n\nvar $d2fd9e7353012e26$require$promisify = $4umf8$util.promisify;\nvar $f7957a506754edbb$exports = {};\n\"use strict\";\n\nvar $f7957a506754edbb$require$PassThroughStream = $4umf8$stream.PassThrough;\n$f7957a506754edbb$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $f7957a506754edbb$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $d2fd9e7353012e26$var$streamPipelinePromisified = $d2fd9e7353012e26$require$promisify($4umf8$stream.pipeline);\nclass $d2fd9e7353012e26$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $d2fd9e7353012e26$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $f7957a506754edbb$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $d2fd9e7353012e26$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $d2fd9e7353012e26$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $d2fd9e7353012e26$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$d2fd9e7353012e26$exports = $d2fd9e7353012e26$var$getStream;\n$d2fd9e7353012e26$exports.buffer = (stream, options)=>$d2fd9e7353012e26$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$d2fd9e7353012e26$exports.array = (stream, options)=>$d2fd9e7353012e26$var$getStream(stream, {\n ...options,\n array: true\n });\n$d2fd9e7353012e26$exports.MaxBufferError = $d2fd9e7353012e26$var$MaxBufferError;\n\n\nvar $f867eb3c20f83984$exports = {};\n\"use strict\";\n\nvar $f867eb3c20f83984$require$PassThrough = $4umf8$stream.PassThrough;\n$f867eb3c20f83984$exports = function() {\n var sources = [];\n var output = new $f867eb3c20f83984$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\n }\n sources.push(source);\n source.once(\"end\", remove.bind(null, source));\n source.once(\"error\", output.emit.bind(output, \"error\"));\n source.pipe(output, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $7e0549772c2821d0$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $7e0549772c2821d0$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $7e0549772c2821d0$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.readFileSync)(inputFile);\n};\nconst $7e0549772c2821d0$export$7f2f9b6457412b41 = (options)=>{\n const input = $7e0549772c2821d0$var$getInputSync(options);\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $7e0549772c2821d0$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $7e0549772c2821d0$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.createReadStream)(inputFile);\n};\nconst $7e0549772c2821d0$export$412508d679148d5c = (spawned, options)=>{\n const input = $7e0549772c2821d0$var$getInput(options);\n if (input === undefined) return;\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $7e0549772c2821d0$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($f867eb3c20f83984$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $7e0549772c2821d0$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $7e0549772c2821d0$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $7e0549772c2821d0$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $7e0549772c2821d0$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $7e0549772c2821d0$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $7e0549772c2821d0$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $7e0549772c2821d0$var$getBufferedData(stdout, stdoutPromise),\n $7e0549772c2821d0$var$getBufferedData(stderr, stderrPromise),\n $7e0549772c2821d0$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $90858c67e8fd2846$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $90858c67e8fd2846$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($90858c67e8fd2846$var$nativePromisePrototype, property)\n ]);\nconst $90858c67e8fd2846$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $90858c67e8fd2846$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $90858c67e8fd2846$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $a6c91bcff0258dec$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $a6c91bcff0258dec$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $a6c91bcff0258dec$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $a6c91bcff0258dec$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $a6c91bcff0258dec$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($a6c91bcff0258dec$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $a6c91bcff0258dec$export$ab3db8fe5ebf3a1 = (file, args)=>$a6c91bcff0258dec$var$normalizeArgs(file, args).join(\" \");\nconst $a6c91bcff0258dec$export$9d3099014bd914f8 = (file, args)=>$a6c91bcff0258dec$var$normalizeArgs(file, args).map((arg)=>$a6c91bcff0258dec$var$escapeArg(arg)).join(\" \");\nconst $a6c91bcff0258dec$var$SPACES_REGEXP = / +/g;\nconst $a6c91bcff0258dec$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($a6c91bcff0258dec$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $a6c91bcff0258dec$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $4umf8$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $4umf8$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $a6c91bcff0258dec$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $a6c91bcff0258dec$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($a6c91bcff0258dec$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $a6c91bcff0258dec$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$a6c91bcff0258dec$var$parseExpression(expression)) : [\n $a6c91bcff0258dec$var$parseExpression(expression)\n ];\n return $a6c91bcff0258dec$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $a6c91bcff0258dec$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $a6c91bcff0258dec$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $8e8fd7c300c466ad$export$38bb3c1fbaa0bdcf = (0, $4umf8$nodeutil.debuglog)(\"execa\").enabled;\nconst $8e8fd7c300c466ad$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $8e8fd7c300c466ad$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$8e8fd7c300c466ad$var$padField(date.getHours(), 2)}:${$8e8fd7c300c466ad$var$padField(date.getMinutes(), 2)}:${$8e8fd7c300c466ad$var$padField(date.getSeconds(), 2)}.${$8e8fd7c300c466ad$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $8e8fd7c300c466ad$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($4umf8$nodeprocess))).stderr.write(`[${$8e8fd7c300c466ad$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $24f062d29362ada6$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $24f062d29362ada6$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($4umf8$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $e525b4839dd67f68$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $24f062d29362ada6$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($f22b5c1f790abcb5$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $24f062d29362ada6$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $8e8fd7c300c466ad$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $24f062d29362ada6$var$getEnv(options);\n options.stdio = (0, $fd3489326ee71e7b$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($4umf8$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($4umf8$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $24f062d29362ada6$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $4umf8$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $e53d23f0d89b737e$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $24f062d29362ada6$export$db6b1668e3758717(file, args, options) {\n const parsed = $24f062d29362ada6$var$handleArguments(file, args, options);\n const command = (0, $a6c91bcff0258dec$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a6c91bcff0258dec$export$9d3099014bd914f8)(file, args);\n (0, $8e8fd7c300c466ad$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $8bad387d33525ec8$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($4umf8$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $90858c67e8fd2846$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $90858c67e8fd2846$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $8bad387d33525ec8$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $8bad387d33525ec8$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $8bad387d33525ec8$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $8bad387d33525ec8$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $7e0549772c2821d0$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $24f062d29362ada6$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $24f062d29362ada6$var$handleOutput(parsed.options, stderrResult);\n const all = $24f062d29362ada6$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $b5bce385de6ade9f$export$2e2bcd8739ae039)(handlePromise);\n (0, $7e0549772c2821d0$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $7e0549772c2821d0$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $828f40abedd408ac$export$14becf8d91886424)(spawned);\n (0, $90858c67e8fd2846$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $24f062d29362ada6$export$28823a701bb5a12d(file, args, options) {\n const parsed = $24f062d29362ada6$var$handleArguments(file, args, options);\n const command = (0, $a6c91bcff0258dec$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a6c91bcff0258dec$export$9d3099014bd914f8)(file, args);\n (0, $8e8fd7c300c466ad$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $7e0549772c2821d0$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $24f062d29362ada6$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $24f062d29362ada6$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $24f062d29362ada6$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $24f062d29362ada6$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$24f062d29362ada6$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $24f062d29362ada6$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $24f062d29362ada6$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $a6c91bcff0258dec$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $24f062d29362ada6$export$db6b1668e3758717(file, args, $24f062d29362ada6$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $a6c91bcff0258dec$export$4a6ee54de9b0f25d)(templates, expressions);\n return $24f062d29362ada6$export$28823a701bb5a12d(file, args, $24f062d29362ada6$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $24f062d29362ada6$export$3d8c2f653ac9d0b9 = $24f062d29362ada6$var$create$();\nfunction $24f062d29362ada6$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $a6c91bcff0258dec$export$78bcee23e0849f6a)(command);\n return $24f062d29362ada6$export$db6b1668e3758717(file, args, options);\n}\nfunction $24f062d29362ada6$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $a6c91bcff0258dec$export$78bcee23e0849f6a)(command);\n return $24f062d29362ada6$export$28823a701bb5a12d(file, args, options);\n}\nfunction $24f062d29362ada6$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $fd3489326ee71e7b$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $24f062d29362ada6$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nfunction $c93e0191c47e5f34$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $c93e0191c47e5f34$export$e3140dc7d0c35e48() {\n var _process_getuid, _process;\n // TODO not all CI systems are root\n return ((_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process)) === 0 || Boolean(process.env.CI);\n}\nfunction $c93e0191c47e5f34$export$316200228f28b8ce() {\n return $c93e0191c47e5f34$export$e3140dc7d0c35e48() && $c93e0191c47e5f34$export$7683bf1311d8252();\n}\nfunction $c93e0191c47e5f34$export$d976d47922ae9667(command) {\n if ($c93e0191c47e5f34$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $c93e0191c47e5f34$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $c93e0191c47e5f34$export$58f152936f209932(program, args = [], execOptions = $c93e0191c47e5f34$export$151aeb0ade3989e1) {\n if ($c93e0191c47e5f34$export$316200228f28b8ce()) {\n const command = $c93e0191c47e5f34$var$getSudoCommand(program, args);\n return (0, $24f062d29362ada6$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $24f062d29362ada6$export$28823a701bb5a12d)(program, $c93e0191c47e5f34$var$quote(args), execOptions);\n}\nfunction $c93e0191c47e5f34$export$351270479e2eef26(program, args = [], execOptions = $c93e0191c47e5f34$export$151aeb0ade3989e1) {\n if ($c93e0191c47e5f34$export$316200228f28b8ce()) {\n const command = $c93e0191c47e5f34$var$getSudoCommand(program, args);\n return (0, $24f062d29362ada6$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $24f062d29362ada6$export$db6b1668e3758717)(program, $c93e0191c47e5f34$var$quote(args), execOptions);\n}\nfunction $c93e0191c47e5f34$var$getSudoCommand(program, args) {\n return `sudo ${$c93e0191c47e5f34$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $c93e0191c47e5f34$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $d429520e97233297$var$testFltmc() {\n try {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $d429520e97233297$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n var _process_env_systemdrive;\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n (_process_env_systemdrive = process.env.systemdrive) !== null && _process_env_systemdrive !== void 0 ? _process_env_systemdrive : \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $d429520e97233297$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $fbd369c644c7f581$export$36ad181701cee597 = (0, $d429520e97233297$export$2e2bcd8739ae039);\nconst $fbd369c644c7f581$export$2ebf12717e6b5bb8 = (0, $c93e0191c47e5f34$export$e3140dc7d0c35e48);\nfunction $fbd369c644c7f581$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $fbd369c644c7f581$export$36ad181701cee597();\n else return (0, $c93e0191c47e5f34$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $bf272871df54e58d$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $c93e0191c47e5f34$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($4umf8$fs))).statSync(path).isDirectory();\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $c93e0191c47e5f34$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\n\nfunction $f19d14aa12f0fb90$export$3ce714bda98f65f0() {\n if ((0, $c93e0191c47e5f34$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $4umf8$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $4umf8$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $4umf8$os.homedir)();\n if (maybeHomeDir === \"\") return undefined;\n return maybeHomeDir;\n }\n}\nconst $f19d14aa12f0fb90$var$tildeRegex = /^~(?=$|\\/|\\\\)/;\nfunction $f19d14aa12f0fb90$export$8312d9eeba321950(path) {\n const maybeHomeDir = $f19d14aa12f0fb90$export$3ce714bda98f65f0();\n if (maybeHomeDir === undefined) return path;\n return path.replace($f19d14aa12f0fb90$var$tildeRegex, maybeHomeDir);\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $ead794660f22ce98$exports = {};\n\"use strict\";\n\n\nvar $coVwk = parcelRequire(\"coVwk\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $ead794660f22ce98$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $ead794660f22ce98$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $ead794660f22ce98$var$packageJson = $4umf8$process.env.npm_package_json;\nvar $ead794660f22ce98$var$userAgent = $4umf8$process.env.npm_config_user_agent;\nvar $ead794660f22ce98$var$isNpm6 = Boolean($ead794660f22ce98$var$userAgent && $ead794660f22ce98$var$userAgent.startsWith(\"npm\"));\nvar $ead794660f22ce98$var$isNpm7 = Boolean($ead794660f22ce98$var$packageJson && $ead794660f22ce98$var$packageJson.endsWith(\"package.json\"));\nvar $ead794660f22ce98$var$isNpm = $ead794660f22ce98$var$isNpm6 || $ead794660f22ce98$var$isNpm7;\nvar $ead794660f22ce98$var$isYarn = Boolean($ead794660f22ce98$var$userAgent && $ead794660f22ce98$var$userAgent.startsWith(\"yarn\"));\nvar $ead794660f22ce98$var$isNpmOrYarn = $ead794660f22ce98$var$isNpm || $ead794660f22ce98$var$isYarn;\nvar $ead794660f22ce98$var$homeDirectory = $4umf8$os.homedir();\nvar $ead794660f22ce98$var$configDir = process.env.XDG_CONFIG_HOME || $4umf8$path.join($ead794660f22ce98$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $ead794660f22ce98$var$getConfigFile = function(packageName) {\n return $4umf8$path.join($ead794660f22ce98$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $ead794660f22ce98$var$createConfigDir = function() {\n if (!$4umf8$fs.existsSync($ead794660f22ce98$var$configDir)) $4umf8$fs.mkdirSync($ead794660f22ce98$var$configDir, {\n recursive: true\n });\n};\nvar $ead794660f22ce98$var$getLastUpdate = function(packageName) {\n var configFile = $ead794660f22ce98$var$getConfigFile(packageName);\n try {\n if (!$4umf8$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($4umf8$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $ead794660f22ce98$var$saveLastUpdate = function(packageName) {\n var configFile = $ead794660f22ce98$var$getConfigFile(packageName);\n $4umf8$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $ead794660f22ce98$var$getDistVersion = function(packageName, distTag) {\n return $ead794660f22ce98$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $ead794660f22ce98$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $4umf8$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $ead794660f22ce98$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $ead794660f22ce98$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $ead794660f22ce98$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $ead794660f22ce98$var$createConfigDir();\n lastUpdateCheck = $ead794660f22ce98$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $ead794660f22ce98$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $ead794660f22ce98$var$saveLastUpdate(pkg.name);\n if ($coVwk.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $ead794660f22ce98$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $ead794660f22ce98$var$simpleUpdateNotifier = function(args) {\n return $ead794660f22ce98$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $ead794660f22ce98$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $ead794660f22ce98$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $ead794660f22ce98$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($ead794660f22ce98$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$ead794660f22ce98$exports = $ead794660f22ce98$var$simpleUpdateNotifier;\n\n\nvar $8de64c03a4b9ab60$exports = {};\n$8de64c03a4b9ab60$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.2\"}');\n\n\nasync function $c67d54237e946289$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($ead794660f22ce98$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($8de64c03a4b9ab60$exports)))\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nfunction $6973f06ebfc9a33d$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $6973f06ebfc9a33d$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $6973f06ebfc9a33d$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $6973f06ebfc9a33d$var$toArr(opts.string);\n opts.boolean = $6973f06ebfc9a33d$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $6973f06ebfc9a33d$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $6973f06ebfc9a33d$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\n\n\n\n\n\n\nconst $f10e3e407525ada5$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $f10e3e407525ada5$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $694b1b79847eac4d$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $f10e3e407525ada5$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $7e79f889e2c85db5$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $7e79f889e2c85db5$var$hasAlias = (options)=>$7e79f889e2c85db5$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $7e79f889e2c85db5$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $7e79f889e2c85db5$var$aliases.map((alias)=>options[alias]);\n if ($7e79f889e2c85db5$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$7e79f889e2c85db5$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $7e79f889e2c85db5$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $7e79f889e2c85db5$export$889423b478ae2ba = (options)=>{\n const stdio = $7e79f889e2c85db5$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $9d60a7612741533b$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $9d60a7612741533b$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $9d60a7612741533b$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $9d60a7612741533b$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$9d60a7612741533b$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $9d60a7612741533b$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $9d60a7612741533b$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$9d60a7612741533b$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $9d60a7612741533b$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($4umf8$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $9d60a7612741533b$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $9d60a7612741533b$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $9d60a7612741533b$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $9d60a7612741533b$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $9d60a7612741533b$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $9d60a7612741533b$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $9d60a7612741533b$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $9d60a7612741533b$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($fe4c43f2e8a7f558$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $fea7e768cb964fee$var$isExecaChildProcess = (target)=>target instanceof (0, $4umf8$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $fea7e768cb964fee$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $4umf8$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$fea7e768cb964fee$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $fea7e768cb964fee$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $fea7e768cb964fee$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $fea7e768cb964fee$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $fea7e768cb964fee$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $9a001a5edd77b6d2$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $9a001a5edd77b6d2$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $9a001a5edd77b6d2$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.readFileSync)(inputFile);\n};\nconst $9a001a5edd77b6d2$export$7f2f9b6457412b41 = (options)=>{\n const input = $9a001a5edd77b6d2$var$getInputSync(options);\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $9a001a5edd77b6d2$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $9a001a5edd77b6d2$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.createReadStream)(inputFile);\n};\nconst $9a001a5edd77b6d2$export$412508d679148d5c = (spawned, options)=>{\n const input = $9a001a5edd77b6d2$var$getInput(options);\n if (input === undefined) return;\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $9a001a5edd77b6d2$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($f867eb3c20f83984$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $9a001a5edd77b6d2$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $9a001a5edd77b6d2$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $9a001a5edd77b6d2$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $9a001a5edd77b6d2$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $9a001a5edd77b6d2$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $9a001a5edd77b6d2$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $9a001a5edd77b6d2$var$getBufferedData(stdout, stdoutPromise),\n $9a001a5edd77b6d2$var$getBufferedData(stderr, stderrPromise),\n $9a001a5edd77b6d2$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $abc85486cf0fa6ab$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $abc85486cf0fa6ab$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($abc85486cf0fa6ab$var$nativePromisePrototype, property)\n ]);\nconst $abc85486cf0fa6ab$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $abc85486cf0fa6ab$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $abc85486cf0fa6ab$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $8919cf03e80b14de$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $8919cf03e80b14de$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $8919cf03e80b14de$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $8919cf03e80b14de$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $8919cf03e80b14de$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($8919cf03e80b14de$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $8919cf03e80b14de$export$ab3db8fe5ebf3a1 = (file, args)=>$8919cf03e80b14de$var$normalizeArgs(file, args).join(\" \");\nconst $8919cf03e80b14de$export$9d3099014bd914f8 = (file, args)=>$8919cf03e80b14de$var$normalizeArgs(file, args).map((arg)=>$8919cf03e80b14de$var$escapeArg(arg)).join(\" \");\nconst $8919cf03e80b14de$var$SPACES_REGEXP = / +/g;\nconst $8919cf03e80b14de$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($8919cf03e80b14de$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $8919cf03e80b14de$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $4umf8$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $4umf8$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $8919cf03e80b14de$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $8919cf03e80b14de$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($8919cf03e80b14de$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $8919cf03e80b14de$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$8919cf03e80b14de$var$parseExpression(expression)) : [\n $8919cf03e80b14de$var$parseExpression(expression)\n ];\n return $8919cf03e80b14de$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $8919cf03e80b14de$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $8919cf03e80b14de$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $87acfe4b15b2f9d0$export$38bb3c1fbaa0bdcf = (0, $4umf8$nodeutil.debuglog)(\"execa\").enabled;\nconst $87acfe4b15b2f9d0$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $87acfe4b15b2f9d0$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$87acfe4b15b2f9d0$var$padField(date.getHours(), 2)}:${$87acfe4b15b2f9d0$var$padField(date.getMinutes(), 2)}:${$87acfe4b15b2f9d0$var$padField(date.getSeconds(), 2)}.${$87acfe4b15b2f9d0$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $87acfe4b15b2f9d0$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($4umf8$nodeprocess))).stderr.write(`[${$87acfe4b15b2f9d0$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $c87194a583e4cc8b$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $c87194a583e4cc8b$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($4umf8$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $e525b4839dd67f68$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $c87194a583e4cc8b$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($f22b5c1f790abcb5$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $c87194a583e4cc8b$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $87acfe4b15b2f9d0$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $c87194a583e4cc8b$var$getEnv(options);\n options.stdio = (0, $7e79f889e2c85db5$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($4umf8$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($4umf8$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $c87194a583e4cc8b$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $4umf8$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $e53d23f0d89b737e$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $c87194a583e4cc8b$export$db6b1668e3758717(file, args, options) {\n const parsed = $c87194a583e4cc8b$var$handleArguments(file, args, options);\n const command = (0, $8919cf03e80b14de$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8919cf03e80b14de$export$9d3099014bd914f8)(file, args);\n (0, $87acfe4b15b2f9d0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $9d60a7612741533b$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($4umf8$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $abc85486cf0fa6ab$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $abc85486cf0fa6ab$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $9d60a7612741533b$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $9d60a7612741533b$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $9d60a7612741533b$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $9d60a7612741533b$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $9a001a5edd77b6d2$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $c87194a583e4cc8b$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $c87194a583e4cc8b$var$handleOutput(parsed.options, stderrResult);\n const all = $c87194a583e4cc8b$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $b5bce385de6ade9f$export$2e2bcd8739ae039)(handlePromise);\n (0, $9a001a5edd77b6d2$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $9a001a5edd77b6d2$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $fea7e768cb964fee$export$14becf8d91886424)(spawned);\n (0, $abc85486cf0fa6ab$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $c87194a583e4cc8b$export$28823a701bb5a12d(file, args, options) {\n const parsed = $c87194a583e4cc8b$var$handleArguments(file, args, options);\n const command = (0, $8919cf03e80b14de$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8919cf03e80b14de$export$9d3099014bd914f8)(file, args);\n (0, $87acfe4b15b2f9d0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $9a001a5edd77b6d2$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $c87194a583e4cc8b$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $c87194a583e4cc8b$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $c87194a583e4cc8b$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $c87194a583e4cc8b$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$c87194a583e4cc8b$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $c87194a583e4cc8b$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $c87194a583e4cc8b$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $8919cf03e80b14de$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $c87194a583e4cc8b$export$db6b1668e3758717(file, args, $c87194a583e4cc8b$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $8919cf03e80b14de$export$4a6ee54de9b0f25d)(templates, expressions);\n return $c87194a583e4cc8b$export$28823a701bb5a12d(file, args, $c87194a583e4cc8b$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $c87194a583e4cc8b$export$3d8c2f653ac9d0b9 = $c87194a583e4cc8b$var$create$();\nfunction $c87194a583e4cc8b$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $8919cf03e80b14de$export$78bcee23e0849f6a)(command);\n return $c87194a583e4cc8b$export$db6b1668e3758717(file, args, options);\n}\nfunction $c87194a583e4cc8b$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $8919cf03e80b14de$export$78bcee23e0849f6a)(command);\n return $c87194a583e4cc8b$export$28823a701bb5a12d(file, args, options);\n}\nfunction $c87194a583e4cc8b$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $7e79f889e2c85db5$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $c87194a583e4cc8b$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $7826d3c45b949ee1$var$powershell;\nfunction $7826d3c45b949ee1$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $c87194a583e4cc8b$export$db6b1668e3758717($7826d3c45b949ee1$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $7826d3c45b949ee1$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $c87194a583e4cc8b$export$28823a701bb5a12d($7826d3c45b949ee1$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $7826d3c45b949ee1$export$4dfdd3964d242d20() {\n if ($7826d3c45b949ee1$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $7826d3c45b949ee1$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $7826d3c45b949ee1$var$powershell = maybePowerShell;\n }\n if ($7826d3c45b949ee1$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $7826d3c45b949ee1$var$powershell;\n}\n\n\n\nvar $ab523b404c27a0fe$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $ab523b404c27a0fe$var$is_posix_os = $4umf8$os.platform() !== \"win32\";\nconst $ab523b404c27a0fe$var$version = $4umf8$os.release();\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst $ab523b404c27a0fe$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $ab523b404c27a0fe$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$ab523b404c27a0fe$exports = function(given_path) {\n return $ab523b404c27a0fe$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $ab523b404c27a0fe$var$should_not_escape(...$ab523b404c27a0fe$var$windows_version_regex.exec($ab523b404c27a0fe$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $ebf0a72c98c686ec$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"8CJZb\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $ebf0a72c98c686ec$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($ebf0a72c98c686ec$exports);\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\nconst $fcca2ee3cb52e97b$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $fcca2ee3cb52e97b$export$f63d3080ce25e0fd(name, valGiven, options = $fcca2ee3cb52e97b$var$defaultAddEnvOptions) {\n const val = $fcca2ee3cb52e97b$var$escapeString(valGiven !== null && valGiven !== void 0 ? valGiven : \"\", options.shouldEscapeSpace);\n try {\n if (0, $dAuy6.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $1o3Gj.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $1o3Gj.exportVariable)(name, val);\n } catch (err) {\n (0, $hHq4F.error)(err);\n await $fcca2ee3cb52e97b$var$addEnvSystem(name, val, options);\n }\n else await $fcca2ee3cb52e97b$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $hHq4F.error)(err);\n (0, $1o3Gj.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $fcca2ee3cb52e97b$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($ab523b404c27a0fe$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($ebf0a72c98c686ec$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $fcca2ee3cb52e97b$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $fcca2ee3cb52e97b$var$isIgnoredPath(path) {\n if ($fcca2ee3cb52e97b$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n var _process_env_PATH;\n var _process_env_PATH_split;\n const paths = (_process_env_PATH_split = (_process_env_PATH = process.env.PATH) === null || _process_env_PATH === void 0 ? void 0 : _process_env_PATH.split((0, $4umf8$path.delimiter))) !== null && _process_env_PATH_split !== void 0 ? _process_env_PATH_split : [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $fcca2ee3cb52e97b$export$4c25481b843feb0b(path) {\n if ($fcca2ee3cb52e97b$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $4umf8$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $dAuy6.GITHUB_ACTIONS) try {\n (0, $1o3Gj.addPath)(path);\n } catch (err) {\n (0, $hHq4F.error)(err);\n await $fcca2ee3cb52e97b$var$addPathSystem(path);\n }\n else await $fcca2ee3cb52e97b$var$addPathSystem(path);\n } catch (err) {\n (0, $hHq4F.error)(err);\n (0, $1o3Gj.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $fcca2ee3cb52e97b$export$1bbbc3a810c5799d = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/.cpprc\");\nasync function $fcca2ee3cb52e97b$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven !== null && valGiven !== void 0 ? valGiven : \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $1o3Gj.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $7826d3c45b949ee1$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $1o3Gj.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $fcca2ee3cb52e97b$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $1o3Gj.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n } else {\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $1o3Gj.info)(`${name}=\"${val}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $fcca2ee3cb52e97b$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $7826d3c45b949ee1$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $1o3Gj.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $fcca2ee3cb52e97b$export$bd1dffd792f43c41();\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $1o3Gj.info)(`\"${path}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $fcca2ee3cb52e97b$var$setupCppInProfile_called = false;\nasync function $fcca2ee3cb52e97b$export$bd1dffd792f43c41() {\n if ($fcca2ee3cb52e97b$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $6t4SD.pathExists)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $4umf8$fs.readFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $1o3Gj.info)(`Added ${source_cpprc_str} to ${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\" ]]; then source \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/.profile\");\n (0, $4umf8$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $1o3Gj.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/.bashrc\");\n (0, $4umf8$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $1o3Gj.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $fcca2ee3cb52e97b$var$setupCppInProfile_called = true;\n}\nasync function $fcca2ee3cb52e97b$export$ca46151966bee7ba() {\n if (await (0, $6t4SD.pathExists)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d)) {\n const entries = (0, $4umf8$fs.readFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $4umf8$fs.writeFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $bf272871df54e58d$export$4718e061a205eab)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\n\n\nvar $f44Uw = parcelRequire(\"f44Uw\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nconst { appendFile: $4574e4c050df58da$var$appendFile } = (0, $4umf8$fs.promises);\n/* eslint-disable require-atomic-updates */ let $4574e4c050df58da$var$didUpdate = false;\nlet $4574e4c050df58da$var$didInit = false;\nconst $4574e4c050df58da$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $4574e4c050df58da$export$d73dc343f5abf26(packages, update = false) {\n const apt = $4574e4c050df58da$var$getApt();\n for (const { name: name, version: version } of packages)(0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$4574e4c050df58da$var$didUpdate || update) {\n $4574e4c050df58da$var$updateRepos(apt);\n $4574e4c050df58da$var$didUpdate = true;\n }\n if (!$4574e4c050df58da$var$didInit) {\n await $4574e4c050df58da$var$initApt(apt);\n $4574e4c050df58da$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>{\n var _pack_repositories;\n return (_pack_repositories = pack.repositories) !== null && _pack_repositories !== void 0 ? _pack_repositories : [];\n }))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $4574e4c050df58da$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$4574e4c050df58da$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($4574e4c050df58da$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $hHq4F.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $4574e4c050df58da$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($4574e4c050df58da$export$e6e2160a140a491e || ($4574e4c050df58da$export$e6e2160a140a491e = {}));\nasync function $4574e4c050df58da$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $f44Uw.default)(name)}-${(0, $f44Uw.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n return 3;\n}\nasync function $4574e4c050df58da$var$getAptArg(name, version) {\n const package_type = await $4574e4c050df58da$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n return name;\n case 3:\n default:\n throw new Error(`Could not find package ${name} ${version !== null && version !== void 0 ? version : \"\"}`);\n }\n}\nfunction $4574e4c050df58da$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $4574e4c050df58da$var$getApt() {\n let apt;\n if ($4574e4c050df58da$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $4574e4c050df58da$var$updateRepos(apt) {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $4574e4c050df58da$var$initApt(apt) {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $4574e4c050df58da$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $4574e4c050df58da$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $4574e4c050df58da$var$initGpg() {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $4574e4c050df58da$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $6t4SD.pathExists)(fileName)) {\n $4574e4c050df58da$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $4574e4c050df58da$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $6t4SD.pathExists)(fileName)) {\n $4574e4c050df58da$var$initGpg();\n await $4574e4c050df58da$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $4574e4c050df58da$export$6fe6436bd9f53d02(name, path, priority = 40) {\n if (0, $dAuy6.GITHUB_ACTIONS) return (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n else {\n await (0, $fcca2ee3cb52e97b$export$bd1dffd792f43c41)();\n return $4574e4c050df58da$var$appendFile((0, $fcca2ee3cb52e97b$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\nasync function $4574e4c050df58da$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\nvar $zdagz = parcelRequire(\"zdagz\");\n\n\n/* eslint-disable require-atomic-updates */ let $86d7dd00a0f99d9c$var$binDir;\nasync function $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $86d7dd00a0f99d9c$var$binDir === \"string\") return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $86d7dd00a0f99d9c$var$binDir = (0, $eAXk4.dirname)(maybeBinDir);\n return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($4umf8$path))).join((0, $4umf8$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $zdagz.mkdirP)(brewTempDirectory);\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $4umf8$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $4umf8$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $86d7dd00a0f99d9c$var$binDir = $86d7dd00a0f99d9c$export$cba19b0564b654bf();\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)($86d7dd00a0f99d9c$var$binDir);\n return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n}\nfunction $86d7dd00a0f99d9c$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $7ad09143f110687f$var$hasBrew = false;\nasync function $7ad09143f110687f$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $1o3Gj.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via brew`);\n if (!$7ad09143f110687f$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $7ad09143f110687f$var$hasBrew = true;\n }\n const binDir = (0, $86d7dd00a0f99d9c$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $24f062d29362ada6$export$28823a701bb5a12d)((0, $eAXk4.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\nlet $fd45706685edd4a7$var$binDir;\nasync function $fd45706685edd4a7$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $fd45706685edd4a7$var$binDir === \"string\") return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $fd45706685edd4a7$var$binDir = (0, $eAXk4.dirname)(maybeBinDir);\n return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(powershell, [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\"\n ], {\n stdio: \"inherit\"\n });\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"choco\", {\n nothrow: true\n });\n var _process_env_ChocolateyInstall;\n if (maybeChoco !== null) $fd45706685edd4a7$var$binDir = (0, $eAXk4.dirname)(maybeChoco);\n else $fd45706685edd4a7$var$binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $6t4SD.pathExists)($fd45706685edd4a7$var$binDir)) return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nlet $9fccd3400da2cfd8$var$hasChoco = false;\nasync function $9fccd3400da2cfd8$export$9f6912bc890040b2(name, version, args = []) {\n (0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via chocolatey`);\n if (!$9fccd3400da2cfd8$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $fd45706685edd4a7$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $9fccd3400da2cfd8$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $hHq4F.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n var _process_env_ChocolateyInstall;\n const binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $64f7d4d3c6118037$var$isArchCache = undefined;\nfunction $64f7d4d3c6118037$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($64f7d4d3c6118037$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $64f7d4d3c6118037$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $64f7d4d3c6118037$var$isArchCache;\n}\n\n\n\nlet $07c9db864ea9c735$var$hasDnfCache = undefined;\nfunction $07c9db864ea9c735$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($07c9db864ea9c735$var$hasDnfCache === undefined) $07c9db864ea9c735$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $07c9db864ea9c735$var$hasDnfCache;\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nasync function $5e892f3aba3794f6$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$5e892f3aba3794f6$var$getDnfArg(pack.name, pack.version)));\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $5e892f3aba3794f6$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $hHq4F.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $c304217cbb6a03a7$var$isUbuntuCache = undefined;\nfunction $c304217cbb6a03a7$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($c304217cbb6a03a7$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $c304217cbb6a03a7$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $c304217cbb6a03a7$var$isUbuntuCache;\n}\n\n\n\nasync function $671d2451576f7242$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $4574e4c050df58da$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`\n ]);\n return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n/* eslint-disable require-atomic-updates */ let $48b5fe4903818be0$var$didUpdate = false;\nlet $48b5fe4903818be0$var$didInit = false;\nasync function $48b5fe4903818be0$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$48b5fe4903818be0$var$didUpdate && aur !== \"yay\") {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $48b5fe4903818be0$var$didUpdate = true;\n }\n // install base-devel\n if (!$48b5fe4903818be0$var$didInit && aur !== \"yay\") {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $48b5fe4903818be0$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $24f062d29362ada6$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $c93e0191c47e5f34$export$58f152936f209932)(aur !== null && aur !== void 0 ? aur : pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $48b5fe4903818be0$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $hHq4F.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $48b5fe4903818be0$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $48b5fe4903818be0$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($48b5fe4903818be0$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $e2bfdac6c7112ded$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $ea5d4ae7756c835c$exports = {};\n\nvar $ea5d4ae7756c835c$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $ea5d4ae7756c835c$var$__createBinding = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ea5d4ae7756c835c$var$__setModuleDefault = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ea5d4ae7756c835c$var$__importStar = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ea5d4ae7756c835c$var$__createBinding(result, mod, k);\n }\n $ea5d4ae7756c835c$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ea5d4ae7756c835c$var$__awaiter = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $ea5d4ae7756c835c$var$__importDefault = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($ea5d4ae7756c835c$exports, \"__esModule\", {\n value: true\n});\n$ea5d4ae7756c835c$exports.evaluateVersions = $ea5d4ae7756c835c$exports.isExplicitVersion = $ea5d4ae7756c835c$exports.findFromManifest = $ea5d4ae7756c835c$exports.getManifestFromRepo = $ea5d4ae7756c835c$exports.findAllVersions = $ea5d4ae7756c835c$exports.find = $ea5d4ae7756c835c$exports.cacheFile = $ea5d4ae7756c835c$exports.cacheDir = $ea5d4ae7756c835c$exports.extractZip = $ea5d4ae7756c835c$exports.extractXar = $ea5d4ae7756c835c$exports.extractTar = $ea5d4ae7756c835c$exports.extract7z = $ea5d4ae7756c835c$exports.downloadTool = $ea5d4ae7756c835c$exports.HTTPError = void 0;\n\nconst $ea5d4ae7756c835c$var$core = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"1o3Gj\")));\n\nconst $ea5d4ae7756c835c$var$io = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"zdagz\")));\n\nconst $ea5d4ae7756c835c$var$fs = $ea5d4ae7756c835c$var$__importStar($4umf8$fs);\n\nconst $ea5d4ae7756c835c$var$mm = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"gn8Si\")));\n\nconst $ea5d4ae7756c835c$var$os = $ea5d4ae7756c835c$var$__importStar($4umf8$os);\n\nconst $ea5d4ae7756c835c$var$path = $ea5d4ae7756c835c$var$__importStar($4umf8$path);\n\nconst $ea5d4ae7756c835c$var$httpm = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"eamjo\")));\n\nconst $ea5d4ae7756c835c$var$semver = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"0306Y\")));\n\nconst $ea5d4ae7756c835c$var$stream = $ea5d4ae7756c835c$var$__importStar($4umf8$stream);\n\nconst $ea5d4ae7756c835c$var$util = $ea5d4ae7756c835c$var$__importStar($4umf8$util);\n\n\nconst $ea5d4ae7756c835c$var$v4_1 = $ea5d4ae7756c835c$var$__importDefault((parcelRequire(\"GX8zo\")));\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\nvar $fe17038d658b1003$exports = {};\n\"use strict\";\nvar $fe17038d658b1003$var$__createBinding = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $fe17038d658b1003$var$__setModuleDefault = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $fe17038d658b1003$var$__importStar = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $fe17038d658b1003$var$__createBinding(result, mod, k);\n }\n $fe17038d658b1003$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $fe17038d658b1003$var$__awaiter = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($fe17038d658b1003$exports, \"__esModule\", {\n value: true\n});\n$fe17038d658b1003$exports.RetryHelper = void 0;\n\nconst $fe17038d658b1003$var$core = $fe17038d658b1003$var$__importStar((parcelRequire(\"1o3Gj\")));\n/**\n * Internal class for retries\n */ class $fe17038d658b1003$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $fe17038d658b1003$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $fe17038d658b1003$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $fe17038d658b1003$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $fe17038d658b1003$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$fe17038d658b1003$exports.RetryHelper = $fe17038d658b1003$var$RetryHelper;\n\n\nclass $ea5d4ae7756c835c$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$ea5d4ae7756c835c$exports.HTTPError = $ea5d4ae7756c835c$var$HTTPError;\nconst $ea5d4ae7756c835c$var$IS_WINDOWS = process.platform === \"win32\";\nconst $ea5d4ae7756c835c$var$IS_MAC = process.platform === \"darwin\";\nconst $ea5d4ae7756c835c$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $ea5d4ae7756c835c$var$downloadTool(url, dest, auth, headers) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getTempDirectory(), $ea5d4ae7756c835c$var$v4_1.default());\n yield $ea5d4ae7756c835c$var$io.mkdirP($ea5d4ae7756c835c$var$path.dirname(dest));\n $ea5d4ae7756c835c$var$core.debug(`Downloading ${url}`);\n $ea5d4ae7756c835c$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $ea5d4ae7756c835c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $ea5d4ae7756c835c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $fe17038d658b1003$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n return yield $ea5d4ae7756c835c$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $ea5d4ae7756c835c$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$ea5d4ae7756c835c$exports.downloadTool = $ea5d4ae7756c835c$var$downloadTool;\nfunction $ea5d4ae7756c835c$var$downloadToolAttempt(url, dest, auth, headers) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if ($ea5d4ae7756c835c$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $ea5d4ae7756c835c$var$httpm.HttpClient($ea5d4ae7756c835c$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $ea5d4ae7756c835c$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $ea5d4ae7756c835c$var$HTTPError(response.message.statusCode);\n $ea5d4ae7756c835c$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $ea5d4ae7756c835c$var$util.promisify($ea5d4ae7756c835c$var$stream.pipeline);\n const responseMessageFactory = $ea5d4ae7756c835c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $ea5d4ae7756c835c$var$fs.createWriteStream(dest));\n $ea5d4ae7756c835c$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $ea5d4ae7756c835c$var$core.debug(\"download failed\");\n try {\n yield $ea5d4ae7756c835c$var$io.rmRF(dest);\n } catch (err) {\n $ea5d4ae7756c835c$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extract7z(file, dest, _7zPath) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok($ea5d4ae7756c835c$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $4umf8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $ea5d4ae7756c835c$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $bHzmH.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $ea5d4ae7756c835c$var$io.which(\"powershell\", true);\n yield $bHzmH.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extract7z = $ea5d4ae7756c835c$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extractTar(file, dest, flags = \"xz\") {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $ea5d4ae7756c835c$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $bHzmH.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $ea5d4ae7756c835c$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($ea5d4ae7756c835c$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($ea5d4ae7756c835c$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $bHzmH.exec(`tar`, args);\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extractTar = $ea5d4ae7756c835c$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extractXar(file, dest, flags = []) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok($ea5d4ae7756c835c$var$IS_MAC, \"extractXar() not supported on current OS\");\n $4umf8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($ea5d4ae7756c835c$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $ea5d4ae7756c835c$var$io.which(\"xar\", true);\n yield $bHzmH.exec(`\"${xarPath}\"`, $ea5d4ae7756c835c$var$_unique(args));\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extractXar = $ea5d4ae7756c835c$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extractZip(file, dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n if ($ea5d4ae7756c835c$var$IS_WINDOWS) yield $ea5d4ae7756c835c$var$extractZipWin(file, dest);\n else yield $ea5d4ae7756c835c$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extractZip = $ea5d4ae7756c835c$var$extractZip;\nfunction $ea5d4ae7756c835c$var$extractZipWin(file, dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $ea5d4ae7756c835c$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $ea5d4ae7756c835c$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $bHzmH.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $ea5d4ae7756c835c$var$io.which(\"powershell\", true);\n $ea5d4ae7756c835c$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $bHzmH.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $ea5d4ae7756c835c$var$extractZipNix(file, dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $ea5d4ae7756c835c$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$ea5d4ae7756c835c$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $bHzmH.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $ea5d4ae7756c835c$var$cacheDir(sourceDir, tool, version, arch) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n version = $ea5d4ae7756c835c$var$semver.clean(version) || version;\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n $ea5d4ae7756c835c$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $ea5d4ae7756c835c$var$core.debug(`source dir: ${sourceDir}`);\n if (!$ea5d4ae7756c835c$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $ea5d4ae7756c835c$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $ea5d4ae7756c835c$var$fs.readdirSync(sourceDir)){\n const s = $ea5d4ae7756c835c$var$path.join(sourceDir, itemName);\n yield $ea5d4ae7756c835c$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $ea5d4ae7756c835c$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$ea5d4ae7756c835c$exports.cacheDir = $ea5d4ae7756c835c$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $ea5d4ae7756c835c$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n version = $ea5d4ae7756c835c$var$semver.clean(version) || version;\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n $ea5d4ae7756c835c$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $ea5d4ae7756c835c$var$core.debug(`source file: ${sourceFile}`);\n if (!$ea5d4ae7756c835c$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $ea5d4ae7756c835c$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $ea5d4ae7756c835c$var$path.join(destFolder, targetFile);\n $ea5d4ae7756c835c$var$core.debug(`destination file ${destPath}`);\n yield $ea5d4ae7756c835c$var$io.cp(sourceFile, destPath);\n // write .complete\n $ea5d4ae7756c835c$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$ea5d4ae7756c835c$exports.cacheFile = $ea5d4ae7756c835c$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $ea5d4ae7756c835c$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n // attempt to resolve an explicit version\n if (!$ea5d4ae7756c835c$var$isExplicitVersion(versionSpec)) {\n const localVersions = $ea5d4ae7756c835c$var$findAllVersions(toolName, arch);\n const match = $ea5d4ae7756c835c$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $ea5d4ae7756c835c$var$semver.clean(versionSpec) || \"\";\n const cachePath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $ea5d4ae7756c835c$var$core.debug(`checking cache: ${cachePath}`);\n if ($ea5d4ae7756c835c$var$fs.existsSync(cachePath) && $ea5d4ae7756c835c$var$fs.existsSync(`${cachePath}.complete`)) {\n $ea5d4ae7756c835c$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $ea5d4ae7756c835c$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$ea5d4ae7756c835c$exports.find = $ea5d4ae7756c835c$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $ea5d4ae7756c835c$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n const toolPath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), toolName);\n if ($ea5d4ae7756c835c$var$fs.existsSync(toolPath)) {\n const children = $ea5d4ae7756c835c$var$fs.readdirSync(toolPath);\n for (const child of children)if ($ea5d4ae7756c835c$var$isExplicitVersion(child)) {\n const fullPath = $ea5d4ae7756c835c$var$path.join(toolPath, child, arch || \"\");\n if ($ea5d4ae7756c835c$var$fs.existsSync(fullPath) && $ea5d4ae7756c835c$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$ea5d4ae7756c835c$exports.findAllVersions = $ea5d4ae7756c835c$var$findAllVersions;\nfunction $ea5d4ae7756c835c$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $ea5d4ae7756c835c$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $ea5d4ae7756c835c$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $ea5d4ae7756c835c$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$ea5d4ae7756c835c$exports.getManifestFromRepo = $ea5d4ae7756c835c$var$getManifestFromRepo;\nfunction $ea5d4ae7756c835c$var$findFromManifest(versionSpec, stable, manifest, archFilter = $ea5d4ae7756c835c$var$os.arch()) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $ea5d4ae7756c835c$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$ea5d4ae7756c835c$exports.findFromManifest = $ea5d4ae7756c835c$var$findFromManifest;\nfunction $ea5d4ae7756c835c$var$_createExtractFolder(dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getTempDirectory(), $ea5d4ae7756c835c$var$v4_1.default());\n yield $ea5d4ae7756c835c$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $ea5d4ae7756c835c$var$_createToolPath(tool, version, arch) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), tool, $ea5d4ae7756c835c$var$semver.clean(version) || version, arch || \"\");\n $ea5d4ae7756c835c$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $ea5d4ae7756c835c$var$io.rmRF(folderPath);\n yield $ea5d4ae7756c835c$var$io.rmRF(markerPath);\n yield $ea5d4ae7756c835c$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $ea5d4ae7756c835c$var$_completeToolPath(tool, version, arch) {\n const folderPath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), tool, $ea5d4ae7756c835c$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $ea5d4ae7756c835c$var$fs.writeFileSync(markerPath, \"\");\n $ea5d4ae7756c835c$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $ea5d4ae7756c835c$var$isExplicitVersion(versionSpec) {\n const c = $ea5d4ae7756c835c$var$semver.clean(versionSpec) || \"\";\n $ea5d4ae7756c835c$var$core.debug(`isExplicit: ${c}`);\n const valid = $ea5d4ae7756c835c$var$semver.valid(c) != null;\n $ea5d4ae7756c835c$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$ea5d4ae7756c835c$exports.isExplicitVersion = $ea5d4ae7756c835c$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $ea5d4ae7756c835c$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $ea5d4ae7756c835c$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($ea5d4ae7756c835c$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $ea5d4ae7756c835c$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $ea5d4ae7756c835c$var$core.debug(`matched: ${version}`);\n else $ea5d4ae7756c835c$var$core.debug(\"match not found\");\n return version;\n}\n$ea5d4ae7756c835c$exports.evaluateVersions = $ea5d4ae7756c835c$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $ea5d4ae7756c835c$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $4umf8$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $ea5d4ae7756c835c$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $4umf8$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $ea5d4ae7756c835c$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $ea5d4ae7756c835c$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\n\n\n\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\nvar $9f7bb4006737291a$exports = {};\n\"use strict\";\nObject.defineProperty($9f7bb4006737291a$exports, \"__esModule\", {\n value: true\n});\n$9f7bb4006737291a$exports.retryAsPromised = $9f7bb4006737291a$exports.TimeoutError = void 0;\nclass $9f7bb4006737291a$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$9f7bb4006737291a$exports.TimeoutError = $9f7bb4006737291a$var$TimeoutError;\nfunction $9f7bb4006737291a$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $9f7bb4006737291a$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $9f7bb4006737291a$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $9f7bb4006737291a$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $9f7bb4006737291a$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $9f7bb4006737291a$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$9f7bb4006737291a$exports.retryAsPromised = $9f7bb4006737291a$var$retryAsPromised;\n$9f7bb4006737291a$exports.default = $9f7bb4006737291a$var$retryAsPromised;\n\n\nlet $d14c914d00b0f583$var$didInit = false;\nasync function $d14c914d00b0f583$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $hHq4F.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n var _process_env_RUNNER_TEMP;\n process.env.RUNNER_TEMP = (_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $4umf8$os.tmpdir)();\n var _process_env_RUNNER_TOOL_CACHE;\n process.env.RUNNER_TOOL_CACHE = (_process_env_RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE) !== null && _process_env_RUNNER_TOOL_CACHE !== void 0 ? _process_env_RUNNER_TOOL_CACHE : (0, $eAXk4.join)((0, $4umf8$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $dAuy6.GITHUB_ACTIONS) try {\n const dir = (0, $ea5d4ae7756c835c$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $eAXk4.join)(dir, extractedFolderName);\n const binDir = (0, $eAXk4.join)(installDir, binRelativeDir);\n if (await (0, $6t4SD.pathExists)((0, $eAXk4.join)(binDir, binFileName))) {\n (0, $hHq4F.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $eAXk4.join)(setupDir, extractedFolderName);\n const binDir = (0, $eAXk4.join)(installDir, binRelativeDir);\n const binFile = (0, $eAXk4.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $6t4SD.pathExists)(binDir),\n (0, $6t4SD.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $hHq4F.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($9f7bb4006737291a$exports)))(()=>{\n return (0, $ea5d4ae7756c835c$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $hHq4F.info)(err)\n });\n if (!$d14c914d00b0f583$var$didInit) {\n (0, $hHq4F.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $d14c914d00b0f583$var$didInit = true;\n }\n (0, $hHq4F.info)(`Extracting ${downloaded} to ${setupDir}`);\n await (extractFunction === null || extractFunction === void 0 ? void 0 : extractFunction(downloaded, setupDir));\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`);\n }\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $hHq4F.info)(`Add ${binDir} to PATH`);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $dAuy6.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $ea5d4ae7756c835c$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\nvar $zdagz = parcelRequire(\"zdagz\");\n\n\n\n\n\n\n\n\n\nfunction $9a4a93f779a8f772$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nlet $1533841bc1073d6a$var$sevenZip;\nasync function $1533841bc1073d6a$export$eecfe186811d4a20(file, dest) {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(await $1533841bc1073d6a$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $bf272871df54e58d$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $1533841bc1073d6a$var$getSevenZip() {\n if ($1533841bc1073d6a$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $9a4a93f779a8f772$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $1533841bc1073d6a$var$sevenZip = \"7z\";\n }\n return $1533841bc1073d6a$var$sevenZip;\n}\nfunction $1533841bc1073d6a$export$7949938b2681a4f0(file, dest) {\n return $1533841bc1073d6a$export$eecfe186811d4a20(file, dest);\n}\nfunction $1533841bc1073d6a$export$6411c5cbab21135b(file, dest) {\n return $1533841bc1073d6a$export$eecfe186811d4a20(file, dest);\n}\nasync function $1533841bc1073d6a$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $zdagz.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $hHq4F.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $bf272871df54e58d$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $6ca1cdfc8544c646$var$getCmakePackageInfo(version, platform, arch) {\n var _semverCoerce;\n const semVersion = (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(semVersion, \"v3.19.1\");\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $ea5d4ae7756c835c$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $ea5d4ae7756c835c$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nfunction $6ca1cdfc8544c646$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"cmake\", version, $6ca1cdfc8544c646$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n/* eslint-disable require-atomic-updates */ \nvar $bHzmH = parcelRequire(\"bHzmH\");\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $4d02233aed1c3ded$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $4d02233aed1c3ded$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $4d02233aed1c3ded$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $4d02233aed1c3ded$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $4d02233aed1c3ded$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$4d02233aed1c3ded$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $4d02233aed1c3ded$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $4d02233aed1c3ded$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $4d02233aed1c3ded$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $4d02233aed1c3ded$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $4d02233aed1c3ded$var$cloneArray(this.keys),\n size: this.size,\n values: $4d02233aed1c3ded$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $4d02233aed1c3ded$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($4d02233aed1c3ded$var$isMemoized(fn)) return $4d02233aed1c3ded$export$2e2bcd8739ae039(fn.fn, $4d02233aed1c3ded$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $4d02233aed1c3ded$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $4d02233aed1c3ded$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $4d02233aed1c3ded$var$getCustomOptions(options));\n var cache = new $4d02233aed1c3ded$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $4d02233aed1c3ded$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $4d02233aed1c3ded$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $930bb3ec7bf38c88$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $930bb3ec7bf38c88$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $4umf8$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($930bb3ec7bf38c88$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $930bb3ec7bf38c88$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $4umf8$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $930bb3ec7bf38c88$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $930bb3ec7bf38c88$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $930bb3ec7bf38c88$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $930bb3ec7bf38c88$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $930bb3ec7bf38c88$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nfunction $d9c16e431e014540$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($jDqfd)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $d9c16e431e014540$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $d9c16e431e014540$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version);\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && await (0, $930bb3ec7bf38c88$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $d9c16e431e014540$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $930bb3ec7bf38c88$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $d9c16e431e014540$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $d9c16e431e014540$export$5b54ecc7386538f(file, versionRegex = $d9c16e431e014540$export$d7ab5e2d33b06cd5) {\n try {\n var _version_output_trim_match;\n const execout = await (0, $bHzmH.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = (_version_output_trim_match = version_output.trim().match(versionRegex)) === null || _version_output_trim_match === void 0 ? void 0 : _version_output_trim_match[1];\n var _semverCoerce;\n return (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $d9c16e431e014540$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $d9c16e431e014540$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $d9c16e431e014540$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($jDqfd)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $d9c16e431e014540$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2kZmC)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version);\n if (coercedVersion !== null) {\n (0, $hHq4F.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $d9c16e431e014540$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $d9c16e431e014540$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $2e2fe846dc92ab85$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\nfunction $a1e1d3689a86c9cd$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.6\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.6-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.6\";\n }\n}\nconst $a1e1d3689a86c9cd$export$5fb1985a02d8f66f = {\n llvm: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n clangtidy: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n clangformat: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.28.1\",\n gcovr: \"5.2\",\n conan: \"1.62.0\",\n meson: \"1.3.1\",\n kcov: \"42\",\n task: \"3.33.1\",\n doxygen: (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() ? \"1.10.0-1\" : \"1.10.0\",\n gcc: (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $a1e1d3689a86c9cd$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $a1e1d3689a86c9cd$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.0\",\n 18: \"0.61.4\"\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\"\n },\n kcov: {\n 22: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nasync function $8e03016ecb3dd99e$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $8e03016ecb3dd99e$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($4umf8$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $8e03016ecb3dd99e$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $8e03016ecb3dd99e$var$setupPipx(foundPython);\n await $8e03016ecb3dd99e$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$setupPipx(foundPython) {\n try {\n if (!await (0, $13d538bb32b1caca$export$ffe24b8e86dbc863)(foundPython)) try {\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n } catch (err) {\n if ((0, $13d538bb32b1caca$export$6de3fef38027e326)(\"pipx\", false) === null) throw new Error(`pipx was not installed correctly ${err}`);\n }\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $8e03016ecb3dd99e$var$setupWheel(foundPython) {\n try {\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $8e03016ecb3dd99e$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $eAXk4.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $dAuy6.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $hHq4F.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"fEioR\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n const binDir = (0, $eAXk4.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $hHq4F.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $8e03016ecb3dd99e$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $8e03016ecb3dd99e$var$findPython(setupDir);\n const binDir = (0, $eAXk4.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $eAXk4.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $8e03016ecb3dd99e$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $eAXk4.join)(binDir, (0, $eAXk4.addExeExt)(candidate));\n if (await (0, $6t4SD.pathExists)(pythonBinPath)) {\n if (await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pythonBinPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n var _ref;\n const pythonBinPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports)))(candidate, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pythonBinPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$findOrSetupPip(foundPython) {\n const maybePip = await $8e03016ecb3dd99e$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $hHq4F.info)(\"pip was not found. Installing pip\");\n await $8e03016ecb3dd99e$var$setupPip(foundPython);\n return $8e03016ecb3dd99e$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $8e03016ecb3dd99e$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $8e03016ecb3dd99e$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$isPipUptoDate(pip) {\n try {\n var _ref;\n const pipPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports)))(pip, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pipPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$setupPip(foundPython) {\n const upgraded = await $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $13d538bb32b1caca$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $hHq4F.info)(err1.toString());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $hHq4F.info)(err2.toString());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $8e03016ecb3dd99e$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $bHzmH.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $eAXk4.join)(base_exec_prefix, \"Scripts\"), (0, $eAXk4.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $eAXk4.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $2e2fe846dc92ab85$export$7a5d5c156e7dc406)(dirs);\n}\nconst $8e03016ecb3dd99e$export$4bf645347c3b7001 = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($8e03016ecb3dd99e$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $8555a825dc64b9bc$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($8555a825dc64b9bc$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $a1e1d3689a86c9cd$export$1bb63c984aa6e760)) return $8555a825dc64b9bc$var$getDefaultLinuxVersion(osVersion, (0, $a1e1d3689a86c9cd$export$1bb63c984aa6e760)[name]);\n else if ($8555a825dc64b9bc$var$isVersionDefault(version) && name in (0, $a1e1d3689a86c9cd$export$5fb1985a02d8f66f)) return (0, $a1e1d3689a86c9cd$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version !== null && version !== void 0 ? version : \"\";\n}\nfunction $8555a825dc64b9bc$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $8555a825dc64b9bc$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $8555a825dc64b9bc$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$8555a825dc64b9bc$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $4bcf814693711658$exports = {};\n\"use strict\";\nObject.defineProperty($4bcf814693711658$exports, \"__esModule\", {\n value: true\n});\n$4bcf814693711658$exports.getUbuntuVersion = void 0;\n\nfunction $4bcf814693711658$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $4bcf814693711658$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $4umf8$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($4bcf814693711658$var$isSystemError(error) && error.code === \"ENOENT\") {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(\" \")}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function $4bcf814693711658$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $4bcf814693711658$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split(\"\\n\")){\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== \"Ubuntu\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$4bcf814693711658$exports.getUbuntuVersion = $4bcf814693711658$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $1c6f48b06ad43808$var$ubuntuVersion_raw() {\n try {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $1c6f48b06ad43808$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $4bcf814693711658$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $1c6f48b06ad43808$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $hHq4F.warning)(err.toString());\n return null;\n }\n}\nconst $1c6f48b06ad43808$export$49c9cf1111dfa0ee = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($1c6f48b06ad43808$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $1c6f48b06ad43808$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($4umf8$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\n\n\n\nconst $e0476fe98dd1f841$export$edfda2f049ea6cd1 = (opts)=>{\n if (!opts) opts = {\n mode: 511\n };\n else if (typeof opts === \"object\") opts = {\n mode: 511,\n ...opts\n };\n else if (typeof opts === \"number\") opts = {\n mode: opts\n };\n else if (typeof opts === \"string\") opts = {\n mode: parseInt(opts, 8)\n };\n else throw new TypeError(\"invalid options argument\");\n const resolved = opts;\n const optsFs = opts.fs || {};\n opts.mkdir = opts.mkdir || optsFs.mkdir || (0, $4umf8$fs.mkdir);\n opts.mkdirAsync = opts.mkdirAsync ? opts.mkdirAsync : async (path, options)=>{\n return new Promise((res, rej)=>resolved.mkdir(path, options, (er, made)=>er ? rej(er) : res(made)));\n };\n opts.stat = opts.stat || optsFs.stat || (0, $4umf8$fs.stat);\n opts.statAsync = opts.statAsync ? opts.statAsync : async (path)=>new Promise((res, rej)=>resolved.stat(path, (err, stats)=>err ? rej(err) : res(stats)));\n opts.statSync = opts.statSync || optsFs.statSync || (0, $4umf8$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $4umf8$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $3ceeb88c547a6051$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $4umf8$path.dirname)(path);\n const opts = {\n ...(0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(options),\n recursive: false\n };\n if (parent === path) try {\n return opts.mkdirSync(path, opts);\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n return;\n }\n try {\n opts.mkdirSync(path, opts);\n return made || path;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $3ceeb88c547a6051$export$fa6f1b792dc805a5(path, opts, $3ceeb88c547a6051$export$fa6f1b792dc805a5(parent, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer && fer.code !== \"EROFS\") throw er;\n try {\n if (!opts.statSync(path).isDirectory()) throw er;\n } catch (_) {\n throw er;\n }\n }\n};\nconst $3ceeb88c547a6051$export$96a3a6083628c9d8 = Object.assign(async (path, options, made)=>{\n const opts = (0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(options);\n opts.recursive = false;\n const parent = (0, $4umf8$path.dirname)(path);\n if (parent === path) return opts.mkdirAsync(path, opts).catch((er)=>{\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n });\n return opts.mkdirAsync(path, opts).then(()=>made || path, async (er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $3ceeb88c547a6051$export$96a3a6083628c9d8(parent, opts).then((made)=>$3ceeb88c547a6051$export$96a3a6083628c9d8(path, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer.code !== \"EROFS\") throw er;\n return opts.statAsync(path).then((st)=>{\n if (st.isDirectory()) return made;\n else throw er;\n }, ()=>{\n throw er;\n });\n });\n}, {\n sync: $3ceeb88c547a6051$export$fa6f1b792dc805a5\n});\n\n\n\n\nconst $43e5a3ee8e5c5324$export$f0fc1d32fc1d7461 = async (opts, parent, path)=>{\n // we never want the 'made' return value to be a root directory\n if (path === parent) return;\n return opts.statAsync(parent).then((st)=>st.isDirectory() ? path : undefined, // will fail later\n (er)=>{\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $43e5a3ee8e5c5324$export$f0fc1d32fc1d7461(opts, (0, $4umf8$path.dirname)(parent), parent) : undefined;\n });\n};\nconst $43e5a3ee8e5c5324$export$5bbea51519185a10 = (opts, parent, path)=>{\n if (path === parent) return undefined;\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined;\n } catch (er) {\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $43e5a3ee8e5c5324$export$5bbea51519185a10(opts, (0, $4umf8$path.dirname)(parent), parent) : undefined;\n }\n};\n\n\n\n\nconst $ec3e5ed46dd66a1a$export$abcdbcf229aec40d = (path, options)=>{\n const opts = (0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(options);\n opts.recursive = true;\n const parent = (0, $4umf8$path.dirname)(path);\n if (parent === path) return opts.mkdirSync(path, opts);\n const made = (0, $43e5a3ee8e5c5324$export$5bbea51519185a10)(opts, path);\n try {\n opts.mkdirSync(path, opts);\n return made;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $3ceeb88c547a6051$export$fa6f1b792dc805a5)(path, opts);\n else throw er;\n }\n};\nconst $ec3e5ed46dd66a1a$export$efd8fb7a8c453d34 = Object.assign(async (path, options)=>{\n const opts = {\n ...(0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(options),\n recursive: true\n };\n const parent = (0, $4umf8$path.dirname)(path);\n if (parent === path) return await opts.mkdirAsync(path, opts);\n return (0, $43e5a3ee8e5c5324$export$f0fc1d32fc1d7461)(opts, path).then((made)=>opts.mkdirAsync(path, opts).then((m)=>made || m).catch((er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $3ceeb88c547a6051$export$96a3a6083628c9d8)(path, opts);\n else throw er;\n }));\n}, {\n sync: $ec3e5ed46dd66a1a$export$abcdbcf229aec40d\n});\n\n\n\n\nconst $a172c31fe55ce100$var$platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;\nconst $a172c31fe55ce100$export$84f52eb1a6059876 = (path)=>{\n if (/\\0/.test(path)) // simulate same failure that node raises\n throw Object.assign(new TypeError(\"path must be a string without null bytes\"), {\n path: path,\n code: \"ERR_INVALID_ARG_VALUE\"\n });\n path = (0, $4umf8$path.resolve)(path);\n if ($a172c31fe55ce100$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $4umf8$path.parse)(path);\n if (badWinChars.test(path.substring(root.length))) throw Object.assign(new Error(\"Illegal characters in path.\"), {\n path: path,\n code: \"EINVAL\"\n });\n }\n return path;\n};\n\n\n\n\nconst $80435a4f5171e068$var$version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;\nconst $80435a4f5171e068$var$versArr = $80435a4f5171e068$var$version.replace(/^v/, \"\").split(\".\");\nconst $80435a4f5171e068$var$hasNative = +$80435a4f5171e068$var$versArr[0] > 10 || +$80435a4f5171e068$var$versArr[0] === 10 && +$80435a4f5171e068$var$versArr[1] >= 12;\nconst $80435a4f5171e068$export$f32201cb36e5654a = !$80435a4f5171e068$var$hasNative ? ()=>false : (opts)=>(0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(opts).mkdirSync === (0, $4umf8$fs.mkdirSync);\nconst $80435a4f5171e068$export$875f149e5ea533c1 = Object.assign(!$80435a4f5171e068$var$hasNative ? ()=>false : (opts)=>(0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(opts).mkdir === (0, $4umf8$fs.mkdir), {\n sync: $80435a4f5171e068$export$f32201cb36e5654a\n});\n\n\nconst $554b85e4d1826b8d$export$f5e50515bfceb13b = (path, opts)=>{\n path = (0, $a172c31fe55ce100$export$84f52eb1a6059876)(path);\n const resolved = (0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(opts);\n return (0, $80435a4f5171e068$export$f32201cb36e5654a)(resolved) ? (0, $ec3e5ed46dd66a1a$export$abcdbcf229aec40d)(path, resolved) : (0, $3ceeb88c547a6051$export$fa6f1b792dc805a5)(path, resolved);\n};\nconst $554b85e4d1826b8d$export$92d6409d68f0739a = $554b85e4d1826b8d$export$f5e50515bfceb13b;\nconst $554b85e4d1826b8d$export$d5db38ffe1f43b01 = (0, $3ceeb88c547a6051$export$96a3a6083628c9d8);\nconst $554b85e4d1826b8d$export$36e1c11973ff5d6a = (0, $3ceeb88c547a6051$export$fa6f1b792dc805a5);\nconst $554b85e4d1826b8d$export$e199e4a0c0335c4f = (0, $ec3e5ed46dd66a1a$export$efd8fb7a8c453d34);\nconst $554b85e4d1826b8d$export$dd70f1af61563969 = (0, $ec3e5ed46dd66a1a$export$abcdbcf229aec40d);\nconst $554b85e4d1826b8d$export$fd6858aa0f578dc7 = Object.assign(async (path, opts)=>{\n path = (0, $a172c31fe55ce100$export$84f52eb1a6059876)(path);\n const resolved = (0, $e0476fe98dd1f841$export$edfda2f049ea6cd1)(opts);\n return (0, $80435a4f5171e068$export$875f149e5ea533c1)(resolved) ? (0, $ec3e5ed46dd66a1a$export$efd8fb7a8c453d34)(path, resolved) : (0, $3ceeb88c547a6051$export$96a3a6083628c9d8)(path, resolved);\n}, {\n mkdirpSync: $554b85e4d1826b8d$export$f5e50515bfceb13b,\n mkdirpNative: $ec3e5ed46dd66a1a$export$efd8fb7a8c453d34,\n mkdirpNativeSync: $ec3e5ed46dd66a1a$export$abcdbcf229aec40d,\n mkdirpManual: $3ceeb88c547a6051$export$96a3a6083628c9d8,\n mkdirpManualSync: $3ceeb88c547a6051$export$fa6f1b792dc805a5,\n sync: $554b85e4d1826b8d$export$f5e50515bfceb13b,\n native: (0, $ec3e5ed46dd66a1a$export$efd8fb7a8c453d34),\n nativeSync: (0, $ec3e5ed46dd66a1a$export$abcdbcf229aec40d),\n manual: (0, $3ceeb88c547a6051$export$96a3a6083628c9d8),\n manualSync: (0, $3ceeb88c547a6051$export$fa6f1b792dc805a5),\n useNative: $80435a4f5171e068$export$875f149e5ea533c1,\n useNativeSync: $80435a4f5171e068$export$f32201cb36e5654a\n});\n\n\nasync function $13d538bb32b1caca$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $13d538bb32b1caca$export$7c60aea099ad1c1d(await $13d538bb32b1caca$var$getPython(), name, version, options);\n}\nasync function $13d538bb32b1caca$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $13d538bb32b1caca$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $13d538bb32b1caca$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $1o3Gj.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n const env = process.env;\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await $13d538bb32b1caca$var$getPipxHome();\n env.PIPX_BIN_DIR = await $13d538bb32b1caca$var$getPipxBinDir();\n }\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\",\n env: env\n });\n } catch (err) {\n (0, $1o3Gj.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $13d538bb32b1caca$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $13d538bb32b1caca$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $8e03016ecb3dd99e$export$4bf645347c3b7001)(givenPython);\n const binDir = await $13d538bb32b1caca$var$findBinDir(execPaths, name);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $13d538bb32b1caca$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $24f062d29362ada6$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $13d538bb32b1caca$var$getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME;\n if (pipxHome !== undefined) return pipxHome;\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/.local/pipx\");\n if (await (0, $6t4SD.pathExists)(compatHome)) return compatHome;\n switch(process.platform){\n case \"win32\":\n pipxHome = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/AppData/Local/pipx\");\n break;\n case \"darwin\":\n pipxHome = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/Library/Application Support/pipx\");\n break;\n default:\n pipxHome = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/.local/share/pipx\");\n break;\n }\n await (0, $554b85e4d1826b8d$export$fd6858aa0f578dc7)(pipxHome);\n await (0, $554b85e4d1826b8d$export$fd6858aa0f578dc7)((0, $eAXk4.join)(pipxHome, \"trash\"));\n await (0, $554b85e4d1826b8d$export$fd6858aa0f578dc7)((0, $eAXk4.join)(pipxHome, \"shared\"));\n await (0, $554b85e4d1826b8d$export$fd6858aa0f578dc7)((0, $eAXk4.join)(pipxHome, \"venv\"));\n return pipxHome;\n}\nconst $13d538bb32b1caca$var$getPipxHome = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($13d538bb32b1caca$var$getPipxHome_raw, {\n isPromise: true\n});\nasync function $13d538bb32b1caca$var$getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) return process.env.PIPX_BIN_DIR;\n const pipxBinDir = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~/.local/bin\");\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(pipxBinDir);\n await (0, $554b85e4d1826b8d$export$fd6858aa0f578dc7)(pipxBinDir);\n return pipxBinDir;\n}\nconst $13d538bb32b1caca$var$getPipxBinDir = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($13d538bb32b1caca$var$getPipxBinDir_raw, {\n isPromise: true\n});\nasync function $13d538bb32b1caca$var$getPython_raw() {\n const pythonBin = (await (0, $8e03016ecb3dd99e$export$2b0b68e9df3d4a02)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $13d538bb32b1caca$var$getPython = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($13d538bb32b1caca$var$getPython_raw, {\n isPromise: true\n});\nasync function $13d538bb32b1caca$var$pipHasPackage(python, name) {\n const result = await (0, $24f062d29362ada6$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $13d538bb32b1caca$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $6t4SD.pathExists)((0, $eAXk4.join)(dir, (0, $eAXk4.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync((0, $eAXk4.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $eAXk4.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $13d538bb32b1caca$export$6de3fef38027e326(name, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n (0, $1o3Gj.info)(`Installing ${name} via the system package manager`);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(addPythonPrefix ? `python-${name}` : name);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n }\n return null;\n}\n\n\nfunction $7fad98b8fc122c7f$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $287d43a812660c62$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $287d43a812660c62$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $287d43a812660c62$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\n\n\n\n\n\n\nasync function $84a50e6b88ef38c7$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"graphviz\", version);\n return $84a50e6b88ef38c7$var$activateGraphviz();\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $84a50e6b88ef38c7$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\n\n\nconst $c57761d5955de886$var$nameMap = new Map([\n [\n 23,\n [\n \"Sonoma\",\n \"14\"\n ]\n ],\n [\n 22,\n [\n \"Ventura\",\n \"13\"\n ]\n ],\n [\n 21,\n [\n \"Monterey\",\n \"12\"\n ]\n ],\n [\n 20,\n [\n \"Big Sur\",\n \"11\"\n ]\n ],\n [\n 19,\n [\n \"Catalina\",\n \"10.15\"\n ]\n ],\n [\n 18,\n [\n \"Mojave\",\n \"10.14\"\n ]\n ],\n [\n 17,\n [\n \"High Sierra\",\n \"10.13\"\n ]\n ],\n [\n 16,\n [\n \"Sierra\",\n \"10.12\"\n ]\n ],\n [\n 15,\n [\n \"El Capitan\",\n \"10.11\"\n ]\n ],\n [\n 14,\n [\n \"Yosemite\",\n \"10.10\"\n ]\n ],\n [\n 13,\n [\n \"Mavericks\",\n \"10.9\"\n ]\n ],\n [\n 12,\n [\n \"Mountain Lion\",\n \"10.8\"\n ]\n ],\n [\n 11,\n [\n \"Lion\",\n \"10.7\"\n ]\n ],\n [\n 10,\n [\n \"Snow Leopard\",\n \"10.6\"\n ]\n ],\n [\n 9,\n [\n \"Leopard\",\n \"10.5\"\n ]\n ],\n [\n 8,\n [\n \"Tiger\",\n \"10.4\"\n ]\n ],\n [\n 7,\n [\n \"Panther\",\n \"10.3\"\n ]\n ],\n [\n 6,\n [\n \"Jaguar\",\n \"10.2\"\n ]\n ],\n [\n 5,\n [\n \"Puma\",\n \"10.1\"\n ]\n ]\n]);\nfunction $c57761d5955de886$export$2e2bcd8739ae039(release) {\n release = Number((release || (0, ($parcel$interopDefault($4umf8$nodeos))).release()).split(\".\")[0]);\n const [name, version] = $c57761d5955de886$var$nameMap.get(release) || [\n \"Unknown\",\n \"\"\n ];\n return {\n name: name,\n version: version\n };\n}\n\n\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */ function $982d84fff580fbb5$var$macosVersion_raw() {\n const { version: version } = (0, $c57761d5955de886$export$2e2bcd8739ae039)();\n return version.split(\".\").map((v)=>parseInt(v, 10));\n}\nconst $982d84fff580fbb5$export$b16fc932ee62ae86 = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($982d84fff580fbb5$var$macosVersion_raw);\n\n\n/* eslint-disable max-classes-per-file */ \n\n\nconst $a4f5230847f550b0$export$1e80556a1db28146 = \"\t\";\nconst $a4f5230847f550b0$export$ed174037a9bdff2c = \"\\n\";\nconst $a4f5230847f550b0$export$5c824d2ec83ff619 = 68;\nconst $a4f5230847f550b0$export$6d03a526e379b09b = false;\n\n\nvar $d6cbf987d2e8e287$export$455426655eab1d48;\nvar $d6cbf987d2e8e287$export$64f0bed4ae6f0f24;\nvar $d6cbf987d2e8e287$export$1059c6e7d2ce5669;\n\nvar $7KjWO = parcelRequire(\"7KjWO\");\n$d6cbf987d2e8e287$export$455426655eab1d48 = $7KjWO.DOMImplementation;\n$d6cbf987d2e8e287$export$64f0bed4ae6f0f24 = $7KjWO.XMLSerializer;\n\n$d6cbf987d2e8e287$export$1059c6e7d2ce5669 = (parcelRequire(\"7fBnG\")).DOMParser;\n\n\nconst $b9831925ac80836b$var$B6 = 0x3f;\nconst $b9831925ac80836b$var$B8 = 0xff;\nconst $b9831925ac80836b$var$C64 = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\nconst $b9831925ac80836b$var$C64M = [\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 62,\n -1,\n -1,\n -1,\n 63,\n 52,\n 53,\n 54,\n 55,\n 56,\n 57,\n 58,\n 59,\n 60,\n 61,\n -1,\n -1,\n -1,\n 64,\n -1,\n -1,\n -1,\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 20,\n 21,\n 22,\n 23,\n 24,\n 25,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 26,\n 27,\n 28,\n 29,\n 30,\n 31,\n 32,\n 33,\n 34,\n 35,\n 36,\n 37,\n 38,\n 39,\n 40,\n 41,\n 42,\n 43,\n 44,\n 45,\n 46,\n 47,\n 48,\n 49,\n 50,\n 51\n];\nfunction $b9831925ac80836b$export$18944fc6e74f8282(xml) {\n let declaration = null;\n let doctype = null;\n const errors = [];\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const parser = new (0, $d6cbf987d2e8e287$export$1059c6e7d2ce5669)({\n locator: {},\n errorHandler: {\n /**\n * Warning callback.\n *\n * @param e Error string.\n */ warning: (e)=>{\n // Ignore warnings.\n },\n /**\n * Error callback.\n *\n * @param e Error string.\n */ error: (e)=>{\n errors.push(e);\n },\n /**\n * Fatal error callback.\n *\n * @param e Error string.\n */ fatalError: (e)=>{\n errors.push(e);\n }\n }\n });\n const doc = parser.parseFromString(xml, \"text/xml\");\n if (errors.length) throw new Error(`XML decode error: ${errors[0]}`);\n const { childNodes: childNodes } = doc;\n const documentElement = doc.documentElement || null;\n for(let i = 0, l = childNodes.length; i < l; i++){\n const childNode = childNodes[i];\n if (childNode === documentElement) break;\n const str = childNode.toString();\n if (/^<\\?xml[^>]*\\?>$/.test(str)) declaration = str;\n if (/^<!DOCTYPE[^>]*>$/.test(str)) doctype = str;\n }\n if (!documentElement) throw new Error(\"XML decode error: No document element\");\n return {\n declaration: declaration,\n doctype: doctype,\n documentElement: documentElement\n };\n}\nfunction $b9831925ac80836b$export$ed00f817df6be0c9(element) {\n const { childNodes: childNodes } = element;\n const r = [];\n for(let i = 0, l = childNodes.length; i < l; i++){\n const childNode = childNodes[i];\n if (\"tagName\" in childNode) {\n r.push(childNode);\n continue;\n }\n const { nodeValue: nodeValue } = childNode;\n if (nodeValue && !/^\\s*$/.test(nodeValue)) throw new Error(`Found text children of: ${element.tagName}`);\n }\n return r;\n}\nfunction $b9831925ac80836b$export$17118775901adc6b(element) {\n const { childNodes: childNodes } = element;\n let r = null;\n for(let i = 0, l = childNodes.length; i < l; i++){\n if (i) throw new Error(`Multiple child elements in: ${element.tagName}`);\n const childNode = childNodes[i];\n if (!(\"tagName\" in childNode) && \"data\" in childNode && \"nodeValue\" in childNode) r = childNode;\n else throw new Error(`Unexpected child element in: ${element.tagName}`);\n }\n return r;\n}\nfunction $b9831925ac80836b$export$1aae4f5e3a8a9756(element, tagName) {\n const tn = element.tagName;\n if (tn !== tagName) throw new Error(`Unexpected tagName: ${tagName}`);\n}\nfunction $b9831925ac80836b$export$6f0da40b035c9e7a(element) {\n const { childNodes: childNodes } = element;\n if (childNodes.length) throw new Error(`Unexpected child nodes: ${element.tagName}`);\n}\nfunction $b9831925ac80836b$export$e510a73ee562749(data) {\n const l = data.length;\n let r = \"\";\n for(let i = 0; i < l;){\n const a = data[i++];\n const b = i < l ? data[i++] : null;\n const c = i < l ? data[i++] : null;\n // eslint-disable-next-line no-bitwise\n const o = a << 16 | (b || 0) << 8 | (c || 0);\n r += // eslint-disable-next-line no-bitwise\n $b9831925ac80836b$var$C64[o >> 18] + // eslint-disable-next-line no-bitwise\n $b9831925ac80836b$var$C64[o >> 12 & $b9831925ac80836b$var$B6] + // eslint-disable-next-line no-bitwise\n $b9831925ac80836b$var$C64[b === null ? 64 : o >> 6 & $b9831925ac80836b$var$B6] + // eslint-disable-next-line no-bitwise\n $b9831925ac80836b$var$C64[c === null ? 64 : o & $b9831925ac80836b$var$B6];\n }\n return r;\n}\nfunction $b9831925ac80836b$export$c62426fdd000a97e(base64) {\n const l = base64.length;\n const r = [];\n OUTER: for(let a, b, c, d, m, z, i = 0; i < l;){\n for(;;){\n if ((m = $b9831925ac80836b$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n a = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n for(;;){\n if ((m = $b9831925ac80836b$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n b = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n for(;;){\n if ((m = $b9831925ac80836b$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n c = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n for(;;){\n if ((m = $b9831925ac80836b$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n d = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n // eslint-disable-next-line no-bitwise\n z = (a & $b9831925ac80836b$var$B6) << 18 | (b & $b9831925ac80836b$var$B6) << 12 | (c & $b9831925ac80836b$var$B6) << 6 | d & $b9831925ac80836b$var$B6;\n // eslint-disable-next-line default-case, no-nested-ternary\n switch(c > $b9831925ac80836b$var$B6 ? d > $b9831925ac80836b$var$B6 ? 2 : 0 : d > $b9831925ac80836b$var$B6 ? 1 : 0){\n case 0:\n // eslint-disable-next-line no-bitwise\n r.push(z >> 16 & $b9831925ac80836b$var$B8, z >> 8 & $b9831925ac80836b$var$B8, z & $b9831925ac80836b$var$B8);\n break;\n case 1:\n // eslint-disable-next-line no-bitwise\n r.push(z >> 16 & $b9831925ac80836b$var$B8, z >> 8 & $b9831925ac80836b$var$B8);\n break;\n case 2:\n // eslint-disable-next-line no-bitwise\n r.push(z >> 16 & $b9831925ac80836b$var$B8);\n break;\n }\n }\n return new Uint8Array(r);\n}\n\n\n\n\n\nclass $e01fcdf35f012185$export$4c8d1a57a761ef94 {\n /**\n * Value type.\n */ /**\n * Tag names.\n */ /**\n * Value constructor.\n */ constructor(){}\n /**\n * Value type.\n *\n * @returns Type string.\n */ get type() {\n return this.constructor.TYPE;\n }\n /**\n * Cast to specific type or null.\n *\n * @param Type Type constructor.\n * @returns This object or null.\n */ castTo(Type) {\n return this.type === Type.TYPE ? this : null;\n }\n /**\n * Cast to specific type or throw.\n *\n * @param Type Type constructor.\n * @returns This object.\n */ castAs(Type) {\n const casted = this.castTo(Type);\n if (!casted) throw new Error(`Cannot cast type '${this.type}' to '${Type.TYPE}'`);\n return casted;\n }\n /**\n * Decode document from string.\n *\n * @param xml XML string.\n */ fromXml(xml) {\n const { documentElement: documentElement } = (0, $b9831925ac80836b$export$18944fc6e74f8282)(xml);\n this.fromXmlElement(documentElement);\n }\n}\n\n\n\n\n\n\n\n\nclass $bc1dc0032ad5dcb8$export$70ba2e51e03d3dca extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"boolean\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"true\",\n \"false\"\n ];\n /**\n * Value value.\n */ value = false;\n /**\n * ValueBoolean constructor.\n *\n * @param value The value.\n */ constructor(value = false){\n super();\n this.value = value;\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n (0, $b9831925ac80836b$export$6f0da40b035c9e7a)(element);\n switch(element.tagName){\n case \"true\":\n this.value = true;\n return;\n case \"false\":\n this.value = false;\n return;\n default:\n throw (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"\");\n }\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_indentString;\n const p = ((_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146)).repeat(depth);\n return this.value ? `${p}<true/>` : `${p}<false/>`;\n }\n}\n\n\n\n\n\nclass $a9a1c39a53b24c7b$export$b52eba92ad5c7245 extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"data\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"data\"\n ];\n /**\n * Value value.\n */ /**\n * ValueData constructor.\n *\n * @param value The value.\n */ constructor(value = new Uint8Array(0)){\n super();\n this.value = value;\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n var _xmlElementText;\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"data\");\n const text = ((_xmlElementText = (0, $b9831925ac80836b$export$17118775901adc6b)(element)) === null || _xmlElementText === void 0 ? void 0 : _xmlElementText.nodeValue) || \"\";\n this.value = (0, $b9831925ac80836b$export$c62426fdd000a97e)(text);\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_newlineString;\n const n = (_options_newlineString = options === null || options === void 0 ? void 0 : options.newlineString) !== null && _options_newlineString !== void 0 ? _options_newlineString : (0, $a4f5230847f550b0$export$ed174037a9bdff2c);\n var _options_dataColumns;\n const c = (_options_dataColumns = options === null || options === void 0 ? void 0 : options.dataColumns) !== null && _options_dataColumns !== void 0 ? _options_dataColumns : (0, $a4f5230847f550b0$export$5c824d2ec83ff619);\n var _options_indentString;\n const p = ((_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146)).repeat(depth);\n let r = `${p}<data>`;\n if (c > 0) for(let s = (0, $b9831925ac80836b$export$e510a73ee562749)(this.value); s; s = s.substring(c))r += `${n}${p}${s.substring(0, c)}`;\n else r += `${n}${p}${(0, $b9831925ac80836b$export$e510a73ee562749)(this.value)}`;\n r += `${n}${p}</data>`;\n return r;\n }\n}\n\n\n\n\n\n\nconst $4eb8b536a11e9ccd$var$MAX_NUM = 0x1fffffffffffff;\n/**\n * Assert number is integer.\n *\n * @param value Number value.\n */ function $4eb8b536a11e9ccd$var$assertInteger(value) {\n if (typeof value === \"number\" && !Number.isInteger(value)) throw new Error(`Value not an integer: ${value}`);\n}\nclass $4eb8b536a11e9ccd$export$28790b87716bcc55 extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"integer\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"integer\"\n ];\n /**\n * Value value.\n */ value = 0;\n /**\n * ValueInteger constructor.\n *\n * @param value The value.\n */ constructor(value = 0){\n super();\n $4eb8b536a11e9ccd$var$assertInteger(value);\n this.value = value;\n }\n /**\n * Get value as BigInt.\n *\n * @returns Value as a BigInt.\n */ asBigInt() {\n return BigInt(this.value);\n }\n /**\n * Get value as Number, possibly losing some precision.\n *\n * @returns Value as a Number.\n */ asNumber() {\n return Number(this.value);\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n var _xmlElementText;\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"integer\");\n const text = ((_xmlElementText = (0, $b9831925ac80836b$export$17118775901adc6b)(element)) === null || _xmlElementText === void 0 ? void 0 : _xmlElementText.nodeValue) || \"\";\n if (!/^[-+]?[0-9]+$/.test(text)) throw new Error(`Invalid integer data: ${text}`);\n const num = +text;\n this.value = num > $4eb8b536a11e9ccd$var$MAX_NUM || num < -$4eb8b536a11e9ccd$var$MAX_NUM ? BigInt(text) : num;\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_indentString;\n const p = ((_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146)).repeat(depth);\n const v = this.value;\n $4eb8b536a11e9ccd$var$assertInteger(v);\n return `${p}<integer>${v}</integer>`;\n }\n}\n\n\n\n\n\nclass $613bbf9d4cd33680$export$7870216e9baa6b53 extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"real\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"real\"\n ];\n /**\n * Value value.\n */ value = 0;\n /**\n * ValueReal constructor.\n *\n * @param value The value.\n */ constructor(value = 0){\n super();\n this.value = value;\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n var _xmlElementText;\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"real\");\n const text = ((_xmlElementText = (0, $b9831925ac80836b$export$17118775901adc6b)(element)) === null || _xmlElementText === void 0 ? void 0 : _xmlElementText.nodeValue) || \"\";\n if (!/^[-+]?([0-9]+|[0-9]*\\.[0-9]+)$/.test(text)) throw new Error(`Invalid real data: ${text}`);\n this.value = +text;\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_indentString;\n const p = ((_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146)).repeat(depth);\n const v = this.value;\n return `${p}<real>${v}</real>`;\n }\n}\n\n\n\n\n\nclass $3247769fced640e6$export$a5a3bdd166fb5151 extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"string\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"string\"\n ];\n /**\n * Value value.\n */ value = \"\";\n /**\n * ValueString constructor.\n *\n * @param value The value.\n */ constructor(value = \"\"){\n super();\n this.value = value;\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n var _xmlElementText;\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"string\");\n this.value = ((_xmlElementText = (0, $b9831925ac80836b$export$17118775901adc6b)(element)) === null || _xmlElementText === void 0 ? void 0 : _xmlElementText.nodeValue) || \"\";\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_indentString;\n const p = ((_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146)).repeat(depth);\n const e = this.value.replaceAll(\"&\", \"&amp;\").replaceAll(\"<\", \"&lt;\").replaceAll(\">\", \"&gt;\");\n return `${p}<string>${e}</string>`;\n }\n}\n\n\nlet $0b25a7b87266a8ae$var$childTagNames;\nclass $0b25a7b87266a8ae$export$efd6342825622772 extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"array\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"array\"\n ];\n /**\n * Child tag names.\n *\n * @returns Child tag names map.\n */ static get CHILD_TAG_NAMES() {\n if (!$0b25a7b87266a8ae$var$childTagNames) {\n $0b25a7b87266a8ae$var$childTagNames = new Map();\n for (const ValueType of [\n $0b25a7b87266a8ae$export$efd6342825622772,\n (0, $bc1dc0032ad5dcb8$export$70ba2e51e03d3dca),\n (0, $a9a1c39a53b24c7b$export$b52eba92ad5c7245),\n (0, $32f00aeee7e16ee0$export$eb6d03473e8f6fd),\n (0, $4eb8b536a11e9ccd$export$28790b87716bcc55),\n (0, $613bbf9d4cd33680$export$7870216e9baa6b53),\n (0, $3247769fced640e6$export$a5a3bdd166fb5151)\n ])for (const t of ValueType.TAG_NAMES)$0b25a7b87266a8ae$var$childTagNames.set(t, ValueType);\n }\n return $0b25a7b87266a8ae$var$childTagNames;\n }\n /**\n * Value value.\n */ value = [];\n /**\n * ValueArray constructor.\n *\n * @param value The value.\n */ constructor(value = []){\n super();\n this.value = value;\n }\n /**\n * Array length.\n *\n * @returns The length.\n */ get length() {\n return this.value.length;\n }\n /**\n * Get value at index or null if out of bounds.\n *\n * @param index Array index.\n * @returns The value or null.\n */ get(index) {\n const { value: value } = this;\n return index < this.length ? value[index] : null;\n }\n /**\n * Get value at index or throw.\n *\n * @param index Array index.\n * @returns The value.\n */ getValue(index) {\n const r = this.get(index);\n if (!r) throw new Error(`Index out of bounds: ${index}`);\n return r;\n }\n /**\n * Set value at index.\n *\n * @param index Array index.\n * @param value Value object.\n */ set(index, value) {\n this.value[index] = value;\n }\n /**\n * Push values onto array.\n *\n * @param values Value objects.\n */ push(...values) {\n this.value.push(...values);\n }\n /**\n * Pop value off array or null.\n *\n * @returns Value object or null.\n */ pop() {\n return this.value.pop() || null;\n }\n /**\n * Pop value off array or throw.\n *\n * @returns Value object or null.\n */ popValue() {\n const r = this.pop();\n if (!r) throw new Error(\"Cannot pop empty array\");\n return r;\n }\n /**\n * Shift value off array or null.\n *\n * @returns Value object or null.\n */ shift() {\n return this.value.shift() || null;\n }\n /**\n * Pop value off array or throw.\n *\n * @returns Value object or null.\n */ shiftValue() {\n const r = this.shift();\n if (!r) throw new Error(\"Cannot shift empty array\");\n return r;\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"array\");\n const children = (0, $b9831925ac80836b$export$ed00f817df6be0c9)(element);\n this.value = children.map((el)=>this.childFromXmlElement(el));\n }\n /**\n * Decode child element from XML element.\n *\n * @param element XML element.\n * @returns Value element.\n */ childFromXmlElement(element) {\n const { tagName: tagName } = element;\n const { CHILD_TAG_NAMES: CHILD_TAG_NAMES } = this.constructor;\n const Value = CHILD_TAG_NAMES.get(tagName) || null;\n if (!Value) throw new Error(`Unknown element type: ${tagName}`);\n const r = new Value();\n r.fromXmlElement(element);\n return r;\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_newlineString;\n const n = (_options_newlineString = options === null || options === void 0 ? void 0 : options.newlineString) !== null && _options_newlineString !== void 0 ? _options_newlineString : (0, $a4f5230847f550b0$export$ed174037a9bdff2c);\n var _options_indentString;\n const p = ((_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146)).repeat(depth);\n const v = this.value;\n if (!v.length) return `${p}<array/>`;\n let r = `${p}<array>`;\n for (const el of v)r += `${n}${el.toXml(options, depth + 1)}`;\n r += `${n}${p}</array>`;\n return r;\n }\n}\n\n\n\n\n\n\n\nlet $32f00aeee7e16ee0$var$childTagNames;\nclass $32f00aeee7e16ee0$export$eb6d03473e8f6fd extends (0, $e01fcdf35f012185$export$4c8d1a57a761ef94) {\n /**\n * Value type.\n */ static TYPE = \"dict\";\n /**\n * Tag names.\n */ static TAG_NAMES = [\n \"dict\"\n ];\n /**\n * Child tag names.\n *\n * @returns Child tag names map.\n */ static get CHILD_TAG_NAMES() {\n if (!$32f00aeee7e16ee0$var$childTagNames) {\n $32f00aeee7e16ee0$var$childTagNames = new Map();\n for (const ValueType of [\n (0, $0b25a7b87266a8ae$export$efd6342825622772),\n (0, $bc1dc0032ad5dcb8$export$70ba2e51e03d3dca),\n (0, $a9a1c39a53b24c7b$export$b52eba92ad5c7245),\n $32f00aeee7e16ee0$export$eb6d03473e8f6fd,\n (0, $4eb8b536a11e9ccd$export$28790b87716bcc55),\n (0, $613bbf9d4cd33680$export$7870216e9baa6b53),\n (0, $3247769fced640e6$export$a5a3bdd166fb5151)\n ])for (const t of ValueType.TAG_NAMES)$32f00aeee7e16ee0$var$childTagNames.set(t, ValueType);\n }\n return $32f00aeee7e16ee0$var$childTagNames;\n }\n /**\n * Value value.\n */ value = new Map();\n /**\n * ValueDict constructor.\n *\n * @param value The value.\n */ constructor(value = new Map()){\n super();\n this.value = value;\n }\n /**\n * Dictionary size.\n *\n * @returns The size.\n */ get size() {\n return this.value.size;\n }\n /**\n * Check if key exists.\n *\n * @param key Dictionary key.\n * @returns The value or null.\n */ has(key) {\n return this.value.has(key);\n }\n /**\n * Get value for key or null if does not exist.\n *\n * @param key Dictionary key.\n * @returns The value or null.\n */ get(key) {\n return this.value.get(key) || null;\n }\n /**\n * Get value for key or throw.\n *\n * @param key Dictionary key.\n * @returns The value.\n */ getValue(key) {\n const r = this.get(key);\n if (!r) throw new Error(`Key is null: ${key}`);\n return r;\n }\n /**\n * Set value for key.\n *\n * @param key Dictionary key.\n * @param value Value object.\n */ set(key, value) {\n this.value.set(key, value);\n }\n /**\n * Delete value for key.\n *\n * @param key Dictionary key.\n */ delete(key) {\n this.value.delete(key);\n }\n /**\n * Clear dictionary.\n */ clear() {\n this.value.clear();\n }\n /**\n * @inheritdoc\n */ fromXmlElement(element) {\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(element, \"dict\");\n const children = (0, $b9831925ac80836b$export$ed00f817df6be0c9)(element);\n const l = children.length;\n if (l % 2) throw new Error(`Uneven number of child elements: ${l}`);\n const v = new Map();\n for(let i = 0; i < l; i += 2){\n var _xmlElementText;\n const eK = children[i];\n const eV = children[i + 1];\n (0, $b9831925ac80836b$export$1aae4f5e3a8a9756)(eK, \"key\");\n const key = ((_xmlElementText = (0, $b9831925ac80836b$export$17118775901adc6b)(eK)) === null || _xmlElementText === void 0 ? void 0 : _xmlElementText.nodeValue) || \"\";\n const value = this.childFromXmlElement(eV);\n v.set(key, value);\n }\n this.value = v;\n }\n /**\n * Decode child element from XML element.\n *\n * @param element XML element.\n * @returns Value element.\n */ childFromXmlElement(element) {\n const { tagName: tagName } = element;\n const { CHILD_TAG_NAMES: CHILD_TAG_NAMES } = this.constructor;\n const Value = CHILD_TAG_NAMES.get(tagName) || null;\n if (!Value) throw new Error(`Unknown element type: ${tagName}`);\n const r = new Value();\n r.fromXmlElement(element);\n return r;\n }\n /**\n * @inheritdoc\n */ toXml(options = null, depth = 0) {\n var _options_indentString;\n const i = (_options_indentString = options === null || options === void 0 ? void 0 : options.indentString) !== null && _options_indentString !== void 0 ? _options_indentString : (0, $a4f5230847f550b0$export$1e80556a1db28146);\n var _options_newlineString;\n const n = (_options_newlineString = options === null || options === void 0 ? void 0 : options.newlineString) !== null && _options_newlineString !== void 0 ? _options_newlineString : (0, $a4f5230847f550b0$export$ed174037a9bdff2c);\n const p = i.repeat(depth);\n const v = this.value;\n if (!v.size) return `${p}<dict/>`;\n const p2 = i.repeat(depth + 1);\n let r = `${p}<dict>`;\n for (const [key, val] of v){\n const e = key.replaceAll(\"&\", \"&amp;\").replaceAll(\"<\", \"&lt;\").replaceAll(\">\", \"&gt;\");\n r += `${n}${p2}<key>${e}</key>${n}${val.toXml(options, depth + 1)}`;\n }\n r += `${n}${p}</dict>`;\n return r;\n }\n}\n\n\nconst $1c04d13a2bf18264$var$xmlDeclaration = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\nconst $1c04d13a2bf18264$var$xmlDoctype = '<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">';\nclass $1c04d13a2bf18264$export$2a65c73fe54050b8 {\n /**\n * Default XML declaration.\n */ static XML_DECLARATION = $1c04d13a2bf18264$var$xmlDeclaration;\n /**\n * Default XML doctype.\n */ static XML_DOCTYPE = $1c04d13a2bf18264$var$xmlDoctype;\n /**\n * XML declaration.\n */ xmlDeclaration = $1c04d13a2bf18264$var$xmlDeclaration;\n /**\n * XML doctype.\n */ xmlDoctype = $1c04d13a2bf18264$var$xmlDoctype;\n /**\n * Value element.\n */ value = null;\n /**\n * Plist constructor.\n *\n * @param value The value.\n */ constructor(value = null){\n this.value = value;\n }\n /**\n * Get value or throw if null.\n *\n * @returns The value.\n */ getValue() {\n const { value: value } = this;\n if (!value) throw new Error(\"Value is null\");\n return value;\n }\n /**\n * Cast to specific type or null.\n *\n * @param Type Type constructor.\n * @returns The object or null.\n */ valueCastTo(Type) {\n const { value: value } = this;\n return value ? value.castTo(Type) : null;\n }\n /**\n * Cast to specific type or throw.\n *\n * @param Type Type constructor.\n * @returns The object.\n */ valueCastAs(Type) {\n const casted = this.valueCastTo(Type);\n if (!casted) throw new Error(`Cannot cast value to type '${Type.TYPE}'`);\n return casted;\n }\n /**\n * Decode document from string.\n *\n * @param xml XML string.\n */ fromXml(xml) {\n const { declaration: declaration, doctype: doctype, documentElement: documentElement } = (0, $b9831925ac80836b$export$18944fc6e74f8282)(xml);\n this.fromXmlElement(documentElement, declaration, doctype);\n }\n /**\n * Decode document from element.\n *\n * @param element XML element.\n * @param declaration XML declaration.\n * @param doctype XML doctype.\n */ fromXmlElement(element, declaration = null, doctype = null) {\n const { tagName: tagName } = element;\n if (tagName !== \"plist\") throw new Error(`Unexpected root plist tag name: ${tagName}`);\n const childElements = (0, $b9831925ac80836b$export$ed00f817df6be0c9)(element);\n const childElementsL = childElements.length;\n if (childElementsL > 1) throw new Error(`Multiple root plist child tag: ${childElementsL}`);\n this.value = childElementsL ? this.childFromXmlElement(childElements[0]) : null;\n this.xmlDeclaration = declaration || \"\";\n this.xmlDoctype = doctype || \"\";\n }\n /**\n * Decode child element from XML element.\n *\n * @param element XML element.\n * @returns Value element.\n */ childFromXmlElement(element) {\n const a = new (0, $32f00aeee7e16ee0$export$eb6d03473e8f6fd)();\n return a.childFromXmlElement(element);\n }\n /**\n * Encode documents to string.\n *\n * @param options Options object.\n * @returns XML string.\n */ toXml(options = null) {\n var _options_indentRoot;\n const ir = (_options_indentRoot = options === null || options === void 0 ? void 0 : options.indentRoot) !== null && _options_indentRoot !== void 0 ? _options_indentRoot : (0, $a4f5230847f550b0$export$6d03a526e379b09b);\n var _options_newlineString;\n const n = (_options_newlineString = options === null || options === void 0 ? void 0 : options.newlineString) !== null && _options_newlineString !== void 0 ? _options_newlineString : (0, $a4f5230847f550b0$export$ed174037a9bdff2c);\n const v = this.value;\n return [\n ...[\n this.xmlDeclaration,\n this.xmlDoctype\n ].filter((s)=>s),\n '<plist version=\"1.0\">',\n ...v ? [\n v.toXml(options, ir ? 1 : 0)\n ] : [],\n \"</plist>\",\n \"\"\n ].join(n);\n }\n}\n\n\nclass $d2285207b76736b5$export$2109cd350bcf6eda {\n /**\n * The path to hdiutil.\n */ /**\n * Mounter constructor.\n *\n * @param options Options object.\n */ constructor(options = null){\n this.hdiutil = (options ? options.hdiutil : null) || \"hdiutil\";\n }\n /**\n * Attach a disk image.\n *\n * @param file Path to disk image.\n * @param options Options object.\n * @param ejectOnExit Eject on exit options, or null.\n * @returns Info object.\n */ async attach(file, options = null, ejectOnExit = null) {\n const devices = await this._runAttach(this._argsAttach(file, options));\n const { eject: eject, ejectSync: ejectSync } = this._createEjects(devices);\n return {\n devices: devices,\n eject: eject,\n ejectSync: ejectSync\n };\n }\n /**\n * Attach a disk image.\n *\n * @param file Path to disk image.\n * @param options Options object.\n * @param ejectOnExit Eject on exit options, or null.\n * @returns Info object.\n */ attachSync(file, options = null, ejectOnExit = null) {\n // eslint-disable-next-line no-sync\n const devices = this._runAttachSync(this._argsAttach(file, options));\n const { eject: eject, ejectSync: ejectSync } = this._createEjects(devices);\n return {\n devices: devices,\n eject: eject,\n ejectSync: ejectSync\n };\n }\n /**\n * Eject a disk image.\n *\n * @param file Path to device file or volume mount point.\n * @param options Options object.\n */ async eject(file, options = null) {\n await this._runEject(this._argsEject(file, options));\n }\n /**\n * Eject a disk image.\n *\n * @param file Path to device file or volume mount point.\n * @param options Options object.\n */ ejectSync(file, options = null) {\n // eslint-disable-next-line no-sync\n this._runEjectSync(this._argsEject(file, options));\n }\n /**\n * Create args for attach.\n *\n * @param file Path to disk image.\n * @param options Options object.\n * @returns Argument list.\n */ _argsAttach(file, options = null) {\n const args = [\n \"attach\",\n \"-plist\"\n ];\n if (options) {\n if (options.readonly) args.push(\"-readonly\");\n if (options.nobrowse) args.push(\"-nobrowse\");\n }\n args.push(this._fileArg(file));\n return args;\n }\n /**\n * Create args for eject.\n *\n * @param file Path to device file or volume mount point.\n * @param options Options object.\n * @returns Argument list.\n */ _argsEject(file, options = null) {\n const args = [\n \"eject\"\n ];\n if (options && options.force) args.push(\"-force\");\n args.push(this._fileArg(file));\n return args;\n }\n /**\n * Run hdiutil attach command, returning the devices list on success.\n *\n * @param args CLI args.\n * @returns Devices list.\n */ async _runAttach(args) {\n const stdouts = [];\n const proc = (0, $4umf8$nodechild_process.spawn)(this.hdiutil, args);\n proc.stdout.on(\"data\", (data)=>{\n stdouts.push(data);\n });\n const code = await new Promise((resolve, reject)=>{\n proc.once(\"exit\", resolve);\n proc.once(\"error\", reject);\n });\n if (code) throw new Error(`Attach failed: hdiutil exit code: ${code}`);\n return this._parseDevices(Buffer.concat(stdouts).toString());\n }\n /**\n * Run hdiutil attach command, returning the devices list on success.\n *\n * @param args CLI args.\n * @returns Devices list.\n */ _runAttachSync(args) {\n const { status: status, error: error, stdout: stdout } = (0, $4umf8$nodechild_process.spawnSync)(this.hdiutil, args);\n if (error) throw error;\n if (status) throw new Error(`Attach failed: hdiutil exit code: ${status}`);\n return this._parseDevices(stdout.toString());\n }\n /**\n * Run hdiutil eject command.\n *\n * @param args CLI args.\n */ async _runEject(args) {\n const proc = (0, $4umf8$nodechild_process.spawn)(this.hdiutil, args);\n const status = await new Promise((resolve, reject)=>{\n proc.once(\"exit\", resolve);\n proc.once(\"error\", reject);\n });\n if (status) throw new Error(`Eject failed: hdiutil exit code: ${status}`);\n }\n /**\n * Run hdiutil eject command.\n *\n * @param args CLI args.\n */ _runEjectSync(args) {\n const { status: status, error: error } = (0, $4umf8$nodechild_process.spawnSync)(this.hdiutil, args);\n if (error) throw error;\n if (status) throw new Error(`Eject failed: hdiutil exit code: ${status}`);\n }\n /**\n * Create file argument from file path.\n *\n * @param file File path.\n * @returns A path for use as argument.\n */ _fileArg(file) {\n // Make sure it will not be recognized as option argument.\n return file.startsWith(\"-\") ? `./${file}` : file;\n }\n /**\n * Parse devices plist into devices list.\n *\n * @param xml XML plist.\n * @returns Devices list.\n */ _parseDevices(xml) {\n const plist = new (0, $1c04d13a2bf18264$export$2a65c73fe54050b8)();\n plist.fromXml(xml);\n const systemEntities = plist.valueCastAs((0, $32f00aeee7e16ee0$export$eb6d03473e8f6fd)).getValue(\"system-entities\").castAs((0, $0b25a7b87266a8ae$export$efd6342825622772));\n const r = [];\n for (const value of systemEntities.value){\n const dict = value.castAs((0, $32f00aeee7e16ee0$export$eb6d03473e8f6fd));\n const devEntry = dict.getValue(\"dev-entry\").castAs((0, $3247769fced640e6$export$a5a3bdd166fb5151)).value;\n const potentiallyMountable = dict.getValue(\"potentially-mountable\").castAs((0, $bc1dc0032ad5dcb8$export$70ba2e51e03d3dca)).value;\n const contentHint = dict.get(\"content-hint\");\n const unmappedContentHint = dict.get(\"unmapped-content-hint\");\n const volumeKind = dict.get(\"volume-kind\");\n const mountPoint = dict.get(\"mount-point\");\n const device = {\n devEntry: devEntry,\n potentiallyMountable: potentiallyMountable\n };\n if (contentHint) device.contentHint = contentHint.castAs((0, $3247769fced640e6$export$a5a3bdd166fb5151)).value;\n if (unmappedContentHint) device.unmappedContentHint = unmappedContentHint.castAs((0, $3247769fced640e6$export$a5a3bdd166fb5151)).value;\n if (volumeKind) device.volumeKind = volumeKind.castAs((0, $3247769fced640e6$export$a5a3bdd166fb5151)).value;\n if (mountPoint) device.mountPoint = mountPoint.castAs((0, $3247769fced640e6$export$a5a3bdd166fb5151)).value;\n r.push(device);\n }\n return r;\n }\n /**\n * Find the root device, null on empty list.\n *\n * @param devices Device list.\n * @returns Root device or null if an empty list.\n */ _findRootDevice(devices) {\n let r = null;\n for (const device of devices)if (r === null || r.devEntry.length > device.devEntry.length) r = device;\n return r;\n }\n /**\n * Create ejects callback from a list of devices.\n *\n * @param devices Device list.\n * @param ejectOnExit Eject on exit options, or null.\n * @returns Callback function.\n */ _createEjects(devices, ejectOnExit = null) {\n var _this__findRootDevice;\n // Find the root device, to use to eject (none possible in theory).\n let devEntry = (_this__findRootDevice = this._findRootDevice(devices)) === null || _this__findRootDevice === void 0 ? void 0 : _this__findRootDevice.devEntry;\n let shutdown = null;\n const info = {\n /**\n * The eject callback function.\n *\n * @param options Eject options.\n */ eject: async (options = null)=>{\n if (devEntry) {\n await this.eject(devEntry, options);\n devEntry = \"\";\n if (shutdown) process.off(\"exit\", shutdown);\n }\n },\n /**\n * The eject callback function.\n *\n * @param options Eject options.\n */ ejectSync: (options = null)=>{\n if (devEntry) {\n // eslint-disable-next-line no-sync\n this.ejectSync(devEntry, options);\n devEntry = \"\";\n if (shutdown) process.off(\"exit\", shutdown);\n }\n }\n };\n if (ejectOnExit) {\n /**\n * Attempt to auto-eject on normal shutdown.\n * Does not catch signals (no clean way in a library).\n * Users can explicitly call process.exit() on signals to use this.\n */ shutdown = ()=>{\n // eslint-disable-next-line no-sync\n info.ejectSync(ejectOnExit);\n };\n process.once(\"exit\", shutdown);\n }\n return info;\n }\n}\n\n\n/* eslint-disable max-classes-per-file */ \n\n\n\n\nvar $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19;\n(function(PathType) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n PathType[\"DIRECTORY\"] = \"directory\";\n // eslint-disable-next-line @typescript-eslint/naming-convention\n PathType[\"FILE\"] = \"file\";\n // eslint-disable-next-line @typescript-eslint/naming-convention\n PathType[\"SYMLINK\"] = \"symlink\";\n // eslint-disable-next-line @typescript-eslint/naming-convention\n PathType[\"RESOURCE_FORK\"] = \"resource-fork\";\n})($f6ddf09e6f54bd42$export$1ede5f4f7cadbc19 || ($f6ddf09e6f54bd42$export$1ede5f4f7cadbc19 = {}));\n\n\n\n\n\n\n\n\nconst { O_WRONLY: $66d49f8fb0d710b8$var$O_WRONLY, O_SYMLINK: $66d49f8fb0d710b8$var$O_SYMLINK } = (0, $4umf8$nodefs.constants);\nconst $66d49f8fb0d710b8$export$5249736f3cc47f82 = !!$66d49f8fb0d710b8$var$O_SYMLINK;\nconst $66d49f8fb0d710b8$export$356fc6a6fe321aa3 = !!$66d49f8fb0d710b8$var$O_SYMLINK;\nfunction $66d49f8fb0d710b8$export$68cdc037c5be95b7(path) {\n return path.replace(/\\\\/g, \"/\").replace(/([^/])\\/+$/, \"$1\");\n}\nfunction $66d49f8fb0d710b8$export$213610777f3cbb95(path) {\n return (0, $4umf8$nodepath.join)(path, \"..namedfork\", \"rsrc\");\n}\nfunction $66d49f8fb0d710b8$export$2e57a8497aead096(stat) {\n if (stat.isSymbolicLink()) return (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).SYMLINK;\n if (stat.isDirectory()) return (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).DIRECTORY;\n if (stat.isFile()) return (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE;\n return null;\n}\nfunction $66d49f8fb0d710b8$export$984bbd77f303e817(mode) {\n if ($66d49f8fb0d710b8$export$5ce23a1192b35f8f(mode, 40960)) return (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).SYMLINK;\n if ($66d49f8fb0d710b8$export$5ce23a1192b35f8f(mode, 16384)) return (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).DIRECTORY;\n if ($66d49f8fb0d710b8$export$5ce23a1192b35f8f(mode, 32768)) return (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE;\n return null;\n}\nfunction $66d49f8fb0d710b8$export$ca46d8333b51aa81(mode) {\n // eslint-disable-next-line no-bitwise\n return mode & 511;\n}\nfunction $66d49f8fb0d710b8$export$5ce23a1192b35f8f(value, mask) {\n // eslint-disable-next-line no-bitwise\n return (value & mask) === mask;\n}\nasync function $66d49f8fb0d710b8$export$f207b56f03ffaaa2(stream) {\n const datas = [];\n let size = 0;\n await (0, $4umf8$nodestreampromises.pipeline)(stream, new (0, $4umf8$nodestream.Writable)({\n // eslint-disable-next-line jsdoc/require-jsdoc\n write: (data, _encoding, cb)=>{\n datas.push(data);\n size += data.length;\n cb();\n }\n }));\n return Buffer.concat(datas, size);\n}\nasync function $66d49f8fb0d710b8$export$723e24d2d3d59491(path, mode) {\n // Skip if not supported.\n if (!$66d49f8fb0d710b8$export$5249736f3cc47f82) return;\n // eslint-disable-next-line no-bitwise\n const fd = await (0, $9b99f2c333371baa$export$3ce6949f20cea765)(path, $66d49f8fb0d710b8$var$O_WRONLY | $66d49f8fb0d710b8$var$O_SYMLINK);\n try {\n await fd.chmod(mode);\n } finally{\n await fd.close();\n }\n}\nasync function $66d49f8fb0d710b8$export$e60cbb801cdc66af(path, atime, mtime) {\n await (0, $9b99f2c333371baa$export$d85d919a687a608f)(path, atime, mtime);\n}\nasync function $66d49f8fb0d710b8$export$64e420d57313a055(path, atime, mtime) {\n // Skip if not supported.\n if (!$66d49f8fb0d710b8$export$356fc6a6fe321aa3) return;\n // eslint-disable-next-line no-bitwise\n const fd = await (0, $9b99f2c333371baa$export$3ce6949f20cea765)(path, $66d49f8fb0d710b8$var$O_WRONLY | $66d49f8fb0d710b8$var$O_SYMLINK);\n try {\n await fd.utimes(atime, mtime);\n } finally{\n await fd.close();\n }\n}\nasync function $66d49f8fb0d710b8$export$b8fdb3c5f4cc1051(path) {\n return (0, $9b99f2c333371baa$export$3d3ca76659ee9f39)(path, \"buffer\");\n}\nasync function $66d49f8fb0d710b8$export$59d9fa9158086022(path, target) {\n await (0, $9b99f2c333371baa$export$ed42c6f39f07f97)(target, path);\n}\nasync function $66d49f8fb0d710b8$export$af454a5fce713aea(path, mode) {\n await (0, $9b99f2c333371baa$export$fe07cae62e774a05)(path, mode);\n}\nasync function $66d49f8fb0d710b8$export$d0e0ec41151e4b6a(path) {\n return (await (0, $9b99f2c333371baa$export$b1e07c405f785337)(path)).sort();\n}\nasync function $66d49f8fb0d710b8$export$8b5a7be0b507a2b7(path) {\n return (0, $9b99f2c333371baa$export$c29f07eab13966a4)(path);\n}\nasync function $66d49f8fb0d710b8$export$aed0caf4b29264f6(path) {\n try {\n return await $66d49f8fb0d710b8$export$8b5a7be0b507a2b7(path);\n } catch (err) {\n const { code: code } = err;\n if (code === \"ENOENT\" || code === \"ENOTDIR\") return null;\n throw err;\n }\n}\nasync function $66d49f8fb0d710b8$export$ae01bfa74017ee13(base, itter, options = {}) {\n const { ignoreUnreadableDirectories: ignoreUnreadableDirectories } = options;\n const stack = (await $66d49f8fb0d710b8$export$d0e0ec41151e4b6a(base)).reverse();\n while(stack.length){\n const entry = stack.pop();\n const fullPath = (0, $4umf8$nodepath.join)(base, entry);\n // eslint-disable-next-line no-await-in-loop\n const stat = await $66d49f8fb0d710b8$export$8b5a7be0b507a2b7(fullPath);\n // Callback, possibly stop recursion on directory.\n // eslint-disable-next-line no-await-in-loop\n const recurse = await itter(entry, stat);\n if (recurse === null) break;\n if (recurse === false || !stat.isDirectory()) continue;\n // Recurse down.\n let subs = [];\n try {\n // eslint-disable-next-line no-await-in-loop\n subs = await $66d49f8fb0d710b8$export$d0e0ec41151e4b6a(fullPath);\n } catch (err) {\n if (!(err && ignoreUnreadableDirectories && err.code === \"EACCES\")) throw err;\n }\n for(let i = subs.length; i--;)stack.push((0, $4umf8$nodepath.join)(entry, subs[i]));\n }\n}\n\n\nconst $9b2efb7fbd0ee781$var$pipe = (0, $4umf8$nodeutil.promisify)((0, $4umf8$nodestream.pipeline));\nclass $9b2efb7fbd0ee781$export$3bb977b3ba9d3b59 {\n /**\n\t * Entry constructor.\n\t *\n\t * @param info Info object.\n\t */ constructor(info){\n /**\n\t * Entry triggering.\n\t */ this._triggering = false;\n /**\n\t * Entry triggered.\n\t */ this._triggered = false;\n /**\n\t * Entry extracted.\n\t */ this._extracted = false;\n this.archive = info.archive;\n this.type = info.type;\n this.pathRaw = info.pathRaw;\n this.path = (0, $66d49f8fb0d710b8$export$68cdc037c5be95b7)(info.pathRaw);\n var _info_size;\n this.size = (_info_size = info.size) !== null && _info_size !== void 0 ? _info_size : null;\n var _info_sizeComp;\n this.sizeComp = (_info_sizeComp = info.sizeComp) !== null && _info_sizeComp !== void 0 ? _info_sizeComp : null;\n var _info_mode;\n this.mode = (_info_mode = info.mode) !== null && _info_mode !== void 0 ? _info_mode : null;\n var _info_uid;\n this.uid = (_info_uid = info.uid) !== null && _info_uid !== void 0 ? _info_uid : null;\n var _info_gid;\n this.gid = (_info_gid = info.gid) !== null && _info_gid !== void 0 ? _info_gid : null;\n var _info_uname;\n this.uname = (_info_uname = info.uname) !== null && _info_uname !== void 0 ? _info_uname : null;\n var _info_gname;\n this.gname = (_info_gname = info.gname) !== null && _info_gname !== void 0 ? _info_gname : null;\n var _info_atime;\n this.atime = (_info_atime = info.atime) !== null && _info_atime !== void 0 ? _info_atime : null;\n var _info_mtime;\n this.mtime = (_info_mtime = info.mtime) !== null && _info_mtime !== void 0 ? _info_mtime : null;\n var _info_readData;\n this._readData = (_info_readData = info.readData) !== null && _info_readData !== void 0 ? _info_readData : null;\n var _info_readRsrc;\n this._readRsrc = (_info_readRsrc = info.readRsrc) !== null && _info_readRsrc !== void 0 ? _info_readRsrc : null;\n var _info_readSymlink;\n this._readSymlink = (_info_readSymlink = info.readSymlink) !== null && _info_readSymlink !== void 0 ? _info_readSymlink : null;\n }\n /**\n\t * This entry path includes named volume.\n\t *\n\t * @returns Entry has volume name in path.\n\t */ get hasNamedVolume() {\n return this.archive.hasNamedVolumes;\n }\n /**\n\t * This entry volume name, or null.\n\t *\n\t * @returns Entry path volume name.\n\t */ get volumeName() {\n if (this.hasNamedVolume) {\n const { path: path } = this;\n return path.substring(0, path.indexOf(\"/\"));\n }\n return null;\n }\n /**\n\t * This entry path without any possible volume name.\n\t *\n\t * @returns Entry path without the volume name.\n\t */ get volumePath() {\n const { path: path } = this;\n if (this.hasNamedVolume) return path.substring(path.indexOf(\"/\") + 1);\n return path;\n }\n /**\n\t * Read entry as stream, or null if nothing to read.\n\t * Consuming function will need to wait for stream to close.\n\t *\n\t * @returns Readable stream or null if nothing to read.\n\t */ async stream() {\n this._beginExtract();\n return this._stream();\n }\n /**\n\t * Read entire entry into a Buffer.\n\t *\n\t * @returns Buffer or null if nothing to be read.\n\t */ async read() {\n this._beginExtract();\n const stream = await this._stream();\n return stream ? (0, $66d49f8fb0d710b8$export$f207b56f03ffaaa2)(stream) : null;\n }\n /**\n\t * Extract entry.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */ async extract(path, options = {}) {\n this._beginExtract();\n await this._extract(path, options);\n }\n /**\n\t * Trigger on itterator function.\n\t *\n\t * @param itter Itterator function.\n\t * @returns Return value.\n\t */ async trigger(itter) {\n let r;\n if (this._triggered) throw new Error(\"Archive entry already triggered\");\n this._triggered = this._triggering = true;\n try {\n r = await itter(this);\n } finally{\n this._triggering = false;\n }\n return r;\n }\n /**\n\t * Run again after reading.\n\t *\n\t * @param path Extract path, relative.\n\t * @param pathFull An optional full path to be used.\n\t * @param options Extract options.\n\t */ async setAttributes(path, pathFull = null, options = {}) {\n const pathSet = pathFull === null ? path : pathFull;\n const { ignorePermissions: ignorePermissions, ignoreTimes: ignoreTimes } = options;\n const { type: type, mode: mode, atime: atime, mtime: mtime } = this;\n let link = false;\n switch(type){\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE:\n break;\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).RESOURCE_FORK:\n break;\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).DIRECTORY:\n break;\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).SYMLINK:\n link = true;\n break;\n default:\n throw new Error(`Unsupported path type: ${type}`);\n }\n const atimeSet = atime || mtime || null;\n const mtimeSet = mtime || atime || null;\n if (!ignorePermissions && mode !== null) {\n const chmod = link ? (0, $66d49f8fb0d710b8$export$723e24d2d3d59491) : (0, $66d49f8fb0d710b8$export$af454a5fce713aea);\n const modeSet = (0, $66d49f8fb0d710b8$export$ca46d8333b51aa81)(mode);\n await chmod(pathSet, modeSet);\n }\n if (!ignoreTimes && atimeSet && mtimeSet) {\n const utimes = link ? (0, $66d49f8fb0d710b8$export$64e420d57313a055) : (0, $66d49f8fb0d710b8$export$e60cbb801cdc66af);\n await utimes(pathSet, atimeSet, mtimeSet);\n }\n }\n /**\n\t * Method to call before begining extraction.\n\t * Throws error if extraction already started or entry not active.\n\t */ _beginExtract() {\n if (!this._triggering) throw new Error(\"Archive entry is not active\");\n if (this._extracted) throw new Error(\"Archive entry can only be extracted once\");\n this._extracted = true;\n }\n /**\n\t * Create an extract error for path that exists.\n\t *\n\t * @param path Extract path.\n\t * @returns Error object.\n\t */ _errorExtractPathExists(path) {\n return new Error(`Extract path already exists: ${path}`);\n }\n /**\n\t * Create an extract error for a resource fork not going to a file.\n\t *\n\t * @param path Extract path.\n\t * @returns Error object.\n\t */ _errorNoResourceFork(path) {\n return new Error(`Extract path for resource fork not a file: ${path}`);\n }\n /**\n\t * Extract entry.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */ async _extract(path, options) {\n this.archive.afterReadSetAttributesRemove(path);\n const { type: type } = this;\n switch(type){\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE:\n await this._extractFile(path, options);\n break;\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).RESOURCE_FORK:\n await this._extractResourceFork(path, options);\n break;\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).DIRECTORY:\n await this._extractDirectory(path, options);\n break;\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).SYMLINK:\n await this._extractSymlink(path, options);\n break;\n default:\n throw new Error(`Unsupported path type: ${type}`);\n }\n }\n /**\n\t * Base function for extracting stream to a file.\n\t *\n\t * @param path Extract path.\n\t * @param reader Reader function.\n\t * @param options Extract options.\n\t */ async _extractStreamToFile(path, reader, options) {\n const { replace: replace } = options;\n // Check if something exists at path, optionally removing.\n const stat = await (0, $66d49f8fb0d710b8$export$aed0caf4b29264f6)(path);\n if (stat) {\n // If replacing, then remove, else throw.\n if (replace) await (0, $9b99f2c333371baa$export$a1f77f18af3aebd5)(path, {\n recursive: true,\n force: true\n });\n else throw this._errorExtractPathExists(path);\n } else await (0, $9b99f2c333371baa$export$d9fa9670717a639d)((0, $4umf8$nodepath.dirname)(path), {\n recursive: true\n });\n // Write file.\n await (0, $9b99f2c333371baa$export$552bfb764b5cd2b4)(path, Buffer.alloc(0));\n const stream = await reader();\n if (stream) await $9b2efb7fbd0ee781$var$pipe(stream, (0, $4umf8$nodefs.createWriteStream)(path));\n // Set attributes.\n await this.setAttributes(path, null, options);\n }\n /**\n\t * Extract as a file.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */ async _extractFile(path, options) {\n const readData = this._readData;\n if (!readData) throw new Error(\"Internal error\");\n await this._extractStreamToFile(path, readData, options);\n }\n /**\n\t * Extract as resource fork to an existing file.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */ async _extractResourceFork(path, options) {\n const readRsrc = this._readRsrc;\n if (!readRsrc) throw new Error(\"Internal error\");\n // Optionally extract as a data file.\n if (options.resourceForkAsFile) {\n await this._extractStreamToFile(path, readRsrc, options);\n return;\n }\n // Check if file exists at path, else throw.\n const stat = await (0, $66d49f8fb0d710b8$export$aed0caf4b29264f6)(path);\n if (!stat || !stat.isFile()) throw this._errorNoResourceFork(path);\n // Create resource fork path.\n const pathRsrc = (0, $66d49f8fb0d710b8$export$213610777f3cbb95)(path);\n // Write the resource fork.\n const stream = await readRsrc();\n if (stream) await $9b2efb7fbd0ee781$var$pipe(stream, (0, $4umf8$nodefs.createWriteStream)(pathRsrc));\n else await (0, $9b99f2c333371baa$export$552bfb764b5cd2b4)(pathRsrc, Buffer.alloc(0));\n // Set attributes.\n await this.setAttributes(path, null, options);\n }\n /**\n\t * Extract as a directory.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */ async _extractDirectory(path, options) {\n const { replace: replace } = options;\n // Check if something exists at path, else create.\n const stat = await (0, $66d49f8fb0d710b8$export$aed0caf4b29264f6)(path);\n if (stat) // If not directory, then remove and replace it, else throw.\n {\n if (!stat.isDirectory()) {\n if (replace) {\n await (0, $9b99f2c333371baa$export$a1f77f18af3aebd5)(path, {\n recursive: true,\n force: true\n });\n await (0, $9b99f2c333371baa$export$d9fa9670717a639d)(path, {\n recursive: true\n });\n } else throw this._errorExtractPathExists(path);\n }\n } else await (0, $9b99f2c333371baa$export$d9fa9670717a639d)(path, {\n recursive: true\n });\n // Set directory attributes after any children are added.\n this.archive.afterReadSetAttributes(path, this, {\n ...options\n });\n }\n /**\n\t * Extract as a symlink.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */ async _extractSymlink(path, options) {\n const readSymlink = this._readSymlink;\n if (!readSymlink) throw new Error(\"Internal error\");\n const { replace: replace, symlinkAsFile: symlinkAsFile } = options;\n // Check if something exists at path, optionally removing.\n const stat = await (0, $66d49f8fb0d710b8$export$aed0caf4b29264f6)(path);\n if (stat) {\n // If replacing, then remove, else throw.\n if (replace) await (0, $9b99f2c333371baa$export$a1f77f18af3aebd5)(path, {\n recursive: true,\n force: true\n });\n else throw this._errorExtractPathExists(path);\n } else // Ensure base directory exists.\n await (0, $9b99f2c333371baa$export$d9fa9670717a639d)((0, $4umf8$nodepath.dirname)(path), {\n recursive: true\n });\n // Read target.\n const target = await readSymlink();\n // Create link, optionally as a file.\n if (symlinkAsFile) await (0, $9b99f2c333371baa$export$552bfb764b5cd2b4)(path, target);\n else await (0, $66d49f8fb0d710b8$export$59d9fa9158086022)(path, target);\n // Set attributes.\n await this.setAttributes(path, null, options);\n }\n /**\n\t * Read as stream.\n\t *\n\t * @returns Readable stream.\n\t */ async _stream() {\n const { type: type } = this;\n switch(type){\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE:\n return this._streamFile();\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).RESOURCE_FORK:\n return this._streamResourceFork();\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).DIRECTORY:\n return this._streamDirectory();\n case (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).SYMLINK:\n return this._streamSymlink();\n default:\n throw new Error(`Unsupported path type: ${type}`);\n }\n }\n /**\n\t * Read file as stream.\n\t *\n\t * @returns Readable stream.\n\t */ async _streamFile() {\n const readData = this._readData;\n if (!readData) throw new Error(\"Internal error\");\n return readData();\n }\n /**\n\t * Read resource fork as stream.\n\t *\n\t * @returns Readable stream.\n\t */ async _streamResourceFork() {\n const readRsrc = this._readRsrc;\n if (!readRsrc) throw new Error(\"Internal error\");\n return readRsrc();\n }\n /**\n\t * Read directory null stream.\n\t *\n\t * @returns Null stream.\n\t */ // eslint-disable-next-line @typescript-eslint/require-await\n async _streamDirectory() {\n return null;\n }\n /**\n\t * Read symlink as stream.\n\t *\n\t * @returns Readable stream.\n\t */ // eslint-disable-next-line @typescript-eslint/require-await\n async _streamSymlink() {\n const readSymlink = this._readSymlink;\n if (!readSymlink) throw new Error(\"Internal error\");\n const r = new (0, $4umf8$nodestream.Readable)({\n // eslint-disable-next-line jsdoc/require-jsdoc\n read: ()=>{\n readSymlink().then((d)=>{\n r.push(d);\n r.push(null);\n }, (err)=>{\n r.emit(\"error\", err);\n });\n }\n });\n return r;\n }\n}\nclass $9b2efb7fbd0ee781$export$767c3cfd836ab901 {\n static #_ = /**\n\t * List of file extensions, or null.\n\t */ this.FILE_EXTENSIONS = null;\n static #_2 = /**\n\t * Archive has named volumes that each entry will be under.\n\t */ this.HAS_NAMED_VOLUMES = false;\n /**\n\t * Archive constructor.\n\t *\n\t * @param path File path.\n\t */ constructor(path){\n /**\n\t * Entry constructor.\n\t */ this.Entry = $9b2efb7fbd0ee781$export$3bb977b3ba9d3b59;\n /**\n\t * Flag for currently reading.\n\t */ this._reading = false;\n /**\n\t * Map of entries to set attributes on after reading.\n\t */ this._afterReadSetAttributes = null;\n this.path = path;\n }\n /**\n\t * List of file extensions used by this format.\n\t *\n\t * @returns List of file extensions.\n\t */ get fileExtensions() {\n return this.constructor.FILE_EXTENSIONS || null;\n }\n /**\n\t * Archive has named volumes that each entry will be under.\n\t *\n\t * @returns Archive has named volumns.\n\t */ get hasNamedVolumes() {\n return this.constructor.HAS_NAMED_VOLUMES;\n }\n /**\n\t * Add an instance to set attributes after the read finishes.\n\t *\n\t * @param path Path string.\n\t * @param entry Entry instance.\n\t * @param options Extract options.\n\t */ afterReadSetAttributes(path, entry, options = {}) {\n const afters = this._afterReadSetAttributes;\n if (!afters) throw new Error(\"Archive after read callbacks can only be added while reading\");\n afters.set((0, $4umf8$nodepath.resolve)(path), {\n path: path,\n entry: entry,\n options: options\n });\n }\n /**\n\t * Remove an instance to set attributes after the read finishes.\n\t *\n\t * @param path Path string.\n\t */ afterReadSetAttributesRemove(path) {\n const afters = this._afterReadSetAttributes;\n if (!afters) throw new Error(\"Archive after read callbacks can only be removed while reading\");\n afters.delete((0, $4umf8$nodepath.resolve)(path));\n }\n /**\n\t * Read archive.\n\t * If the itter callback returns false, reading ends.\n\t * If the itter callback returns null, skip descent where available.\n\t *\n\t * @param itter Async callback for each archive entry.\n\t */ async read(itter) {\n if (this._reading) throw new Error(\"Archive already being read\");\n this._reading = true;\n // Reset the after entries.\n this._afterReadSetAttributes = new Map();\n // Read and handle all the afters, reset after.\n try {\n await this._read(itter);\n await this._afterReadSetAttributesTrigger();\n } finally{\n this._afterReadSetAttributes = null;\n this._reading = false;\n }\n }\n /**\n\t * Run all after read set attributes.\n\t */ async _afterReadSetAttributesTrigger() {\n const afters = this._afterReadSetAttributes;\n if (!afters) return;\n // Prioritize by path length.\n const resolves = [];\n for (const [resolved] of afters)resolves.push(resolved);\n resolves.sort((a, b)=>b.length - a.length);\n for (const resolved of resolves){\n const ent = afters.get(resolved);\n if (!ent) throw new Error(\"Internal error\");\n const { entry: entry, path: path, options: options } = ent;\n // eslint-disable-next-line no-await-in-loop\n await entry.setAttributes(path, resolved, options);\n }\n }\n}\n\n\n\n\nconst $e2d35f5fe8a09571$var$walkOpts = {\n ignoreUnreadableDirectories: true\n};\nconst $e2d35f5fe8a09571$var$ejectOptions = {\n force: true\n};\nclass $e2d35f5fe8a09571$export$6bde309da83df86d extends (0, $9b2efb7fbd0ee781$export$3bb977b3ba9d3b59) {\n /**\n\t * EntryHdi constructor.\n\t *\n\t * @param info Info object.\n\t */ constructor(info){\n super(info);\n /**\n\t * @inheritdoc\n\t */ this.sizeComp = null;\n /**\n\t * @inheritdoc\n\t */ this.uname = null;\n /**\n\t * @inheritdoc\n\t */ this.gname = null;\n this.archive = info.archive;\n this.size = info.size;\n this.mode = info.mode;\n this.uid = info.uid;\n this.gid = info.gid;\n this.atime = info.atime;\n this.mtime = info.mtime;\n }\n /**\n\t * Get the path of resource psuedo-file, raw.\n\t *\n\t * @returns Path string.\n\t */ get rsrcPathRaw() {\n return (0, $66d49f8fb0d710b8$export$213610777f3cbb95)(this.pathRaw);\n }\n /**\n\t * Get the path of resource psuedo-file, normalized.\n\t *\n\t * @returns Path string.\n\t */ get rsrcPath() {\n return (0, $66d49f8fb0d710b8$export$68cdc037c5be95b7)((0, $66d49f8fb0d710b8$export$213610777f3cbb95)(this.path));\n }\n}\nclass $e2d35f5fe8a09571$export$c1aa0fd1ad465eab extends (0, $9b2efb7fbd0ee781$export$767c3cfd836ab901) {\n static #_ = /**\n\t * @inheritdoc\n\t */ this.FILE_EXTENSIONS = [\n \".dmg\",\n \".iso\",\n \".cdr\"\n ];\n static #_2 = /**\n\t * @inheritdoc\n\t */ this.HAS_NAMED_VOLUMES = true;\n /**\n\t * ArchiveHdi constructor.\n\t *\n\t * @param path File path.\n\t */ constructor(path){\n super(path);\n /**\n\t * @inheritdoc\n\t */ this.Entry = $e2d35f5fe8a09571$export$6bde309da83df86d;\n /**\n\t * Mounter, Mac.\n\t */ this.mounterMac = new (0, $d2285207b76736b5$export$2109cd350bcf6eda)();\n /**\n\t * Hide mounted disk image from the file explorers.\n\t */ this.nobrowse = false;\n }\n /**\n\t * @inheritdoc\n\t */ async read(itter) {\n await super.read(itter);\n }\n /**\n\t * @inheritdoc\n\t */ async _read(itter) {\n const { mounterMac: mounterMac, nobrowse: nobrowse } = this;\n /**\n\t\t * Each itterator.\n\t\t *\n\t\t * @param pathFull Full path.\n\t\t * @param pathRaw Raw path.\n\t\t * @param stat Stat object.\n\t\t * @returns Recursion hint.\n\t\t */ const each = async (pathFull, pathRaw, stat)=>{\n const type = (0, $66d49f8fb0d710b8$export$2e57a8497aead096)(stat);\n if (type === null) return true;\n const { size: size, mode: mode, uid: uid, gid: gid, atime: atime, mtime: mtime } = stat;\n const readData = type === (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE ? // eslint-disable-next-line @typescript-eslint/require-await\n async ()=>(0, $4umf8$nodefs.createReadStream)(pathFull) : null;\n const readSymlink = type === (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).SYMLINK ? async ()=>(0, $66d49f8fb0d710b8$export$b8fdb3c5f4cc1051)(pathFull) : null;\n const entry = new this.Entry({\n archive: this,\n type: type,\n pathRaw: pathRaw,\n size: size,\n mode: mode,\n uid: uid,\n gid: gid,\n atime: atime,\n mtime: mtime,\n readData: readData,\n readSymlink: readSymlink\n });\n const ret = await entry.trigger(itter);\n if (ret === false) return null;\n if (ret === null) return false;\n if (type === (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).FILE) {\n const rsrcPathFull = (0, $66d49f8fb0d710b8$export$213610777f3cbb95)(pathFull);\n const rsrcStat = await (0, $66d49f8fb0d710b8$export$aed0caf4b29264f6)(rsrcPathFull);\n if (rsrcStat) {\n const sizeRsrc = rsrcStat.size;\n /**\n\t\t\t\t\t * Read RSRC.\n\t\t\t\t\t *\n\t\t\t\t\t * @returns Read stream.\n\t\t\t\t\t */ // eslint-disable-next-line @typescript-eslint/require-await\n const readRsrc = async ()=>(0, $4umf8$nodefs.createReadStream)(rsrcPathFull);\n const entryRsrc = new this.Entry({\n archive: this,\n type: (0, $f6ddf09e6f54bd42$export$1ede5f4f7cadbc19).RESOURCE_FORK,\n pathRaw: pathRaw,\n size: sizeRsrc,\n mode: mode,\n uid: uid,\n gid: gid,\n atime: atime,\n mtime: mtime,\n readRsrc: readRsrc\n });\n const ret = await entryRsrc.trigger(itter);\n if (ret === false) return null;\n if (ret === null) return false;\n }\n }\n return true;\n };\n // Using auto-eject on normal exit option.\n const info = await mounterMac.attach(this.path, {\n nobrowse: nobrowse,\n readonly: true\n }, $e2d35f5fe8a09571$var$ejectOptions);\n // Eject device when done.\n try {\n for (const device of info.devices){\n const { mountPoint: mountPoint } = device;\n if (!mountPoint) continue;\n const volumeName = (0, $4umf8$nodepath.basename)(mountPoint);\n // eslint-disable-next-line no-await-in-loop\n await (0, $66d49f8fb0d710b8$export$ae01bfa74017ee13)(mountPoint, async (pathRel, stat)=>{\n const pathFull = (0, $4umf8$nodepath.join)(mountPoint, pathRel);\n const pathRaw = (0, $4umf8$nodepath.join)(volumeName, pathRel);\n return each(pathFull, pathRaw, stat);\n }, $e2d35f5fe8a09571$var$walkOpts);\n }\n } finally{\n await info.eject($e2d35f5fe8a09571$var$ejectOptions);\n }\n }\n}\n\n\n\nasync function $b529bcde81561b30$export$9beb52a1d6d0b068(path, destDir) {\n const dmg = new (0, $e2d35f5fe8a09571$export$c1aa0fd1ad465eab)(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $4umf8$path.join)(destDir, entry.path));\n });\n}\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $befd38d449a1dd77$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $ea5d4ae7756c835c$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eAXk4.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`\n };\n }\n case \"darwin\":\n {\n const folderName = `Doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b529bcde81561b30$export$9beb52a1d6d0b068),\n url: `https://doxygen.nl/files/${folderName}.dmg`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $befd38d449a1dd77$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($9f7bb4006737291a$exports)))(()=>{\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $hHq4F.info)(err)\n });\n const binDir = await $befd38d449a1dd77$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n let installationInfo;\n try {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"doxygen\", version, $befd38d449a1dd77$var$getDoxygenPackageInfo, setupDir, arch);\n } catch {\n installationInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n }\n // only install graphviz if the macOS version is greater than 11\n if ((0, $982d84fff580fbb5$export$b16fc932ee62ae86)()[0] > 11) await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() || (0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"doxygen\", version, $befd38d449a1dd77$var$getDoxygenPackageInfo, setupDir, arch);\n try {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`);\n }\n } catch (err) {\n (0, $hHq4F.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $befd38d449a1dd77$var$activateWinDoxygen() {\n switch(process.platform){\n case \"win32\":\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\"\n ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $6t4SD.pathExists)((0, $eAXk4.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $lORAA = parcelRequire(\"lORAA\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nasync function $b1bd4a63b941b63a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $bHzmH.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $hHq4F.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $hHq4F.error)(e);\n }\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\n\n\n\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $3f19caa876428bf4$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $3f19caa876428bf4$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $3f19caa876428bf4$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $3f19caa876428bf4$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $1533841bc1073d6a$export$eecfe186811d4a20),\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $3f19caa876428bf4$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"g++\", version, $3f19caa876428bf4$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $3f19caa876428bf4$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $hHq4F.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) {\n await $3f19caa876428bf4$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $3f19caa876428bf4$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $3f19caa876428bf4$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $3f19caa876428bf4$var$setupChocoMingw(version, arch) {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n var _process_env_ChocolateyInstall, _process_env_ChocolateyInstall1;\n if (arch === \"x64\" && await (0, $6t4SD.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $6t4SD.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $6t4SD.pathExists)(`${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${(_process_env_ChocolateyInstall1 = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall1 !== void 0 ? _process_env_ChocolateyInstall1 : \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $3f19caa876428bf4$var$activateGcc(version, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n if (process.platform === \"win32\") promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", (0, $eAXk4.addExeExt)(`${binDir}/gcc`)), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", (0, $eAXk4.addExeExt)(`${binDir}/g++`)));\n else {\n var _semverCoerce;\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($lORAA)))((_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version);\n if (majorVersion >= 5) {\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) promises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`, priority));\n } else {\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) promises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`, priority));\n }\n }\n promises.push((0, $b1bd4a63b941b63a$export$28f5fd35e3005b7a)());\n if (0, $dAuy6.GITHUB_ACTIONS) await $3f19caa876428bf4$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $3f19caa876428bf4$var$addGccLoggingMatcher() {\n const matcherPath = (0, $eAXk4.join)($3f19caa876428bf4$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\nvar $lORAA = parcelRequire(\"lORAA\");\nfunction $88e2c066ab70c051$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $88e2c066ab70c051$export$2a0488baf2a20c0f() {\n return (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $88e2c066ab70c051$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($2kZmC)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($lORAA)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $33611b5480e1148e$var$getNinjaPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"win\";\n case \"darwin\":\n return \"mac\";\n case \"linux\":\n return \"linux\";\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\n/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $33611b5480e1148e$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $33611b5480e1148e$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eAXk4.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $33611b5480e1148e$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"ninja\", version, $33611b5480e1148e$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $b57152bab0b5e0d6$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/kcov\");\nfunction $b57152bab0b5e0d6$var$getDownloadKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: (0, $eAXk4.addExeExt)(\"kcov\"),\n extractFunction: (0, $1533841bc1073d6a$export$2ab07ac150064014)\n };\n}\nfunction $b57152bab0b5e0d6$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $eAXk4.addExeExt)(\"kcov\"),\n extractFunction: $b57152bab0b5e0d6$var$buildKcov\n };\n}\nasync function $b57152bab0b5e0d6$var$buildKcov(file, dest) {\n const out = await (0, $1533841bc1073d6a$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $b57152bab0b5e0d6$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $eAXk4.join)($b57152bab0b5e0d6$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $hHq4F.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $eAXk4.join)(out, \"build\");\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $b57152bab0b5e0d6$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $6ca1cdfc8544c646$export$c28663a621f418ce)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), (0, $eAXk4.join)((0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~\"), \"cmake\"), \"\");\n cmake = (0, $eAXk4.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $33611b5480e1148e$export$e6190f4bfe2ef71)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), (0, $eAXk4.join)((0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $b57152bab0b5e0d6$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $hHq4F.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $d9c16e431e014540$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $d9c16e431e014540$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"kcov\", version, $b57152bab0b5e0d6$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"kcov\", version, $b57152bab0b5e0d6$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $f4af675fd1cc6e59$export$3c7cae5a162b1458;\nvar $f4af675fd1cc6e59$export$704f0be24425353b;\nvar $f4af675fd1cc6e59$export$f49c12d2898d28cb;\nvar $f4af675fd1cc6e59$export$a6a3bfb882356813;\nvar $f4af675fd1cc6e59$export$443b8bb890f5027e;\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\n\n\nconst $f4af675fd1cc6e59$var$PROGRAM_FILES_X86 = $4umf8$process.env[\"ProgramFiles(x86)\"];\nconst $f4af675fd1cc6e59$var$PROGRAM_FILES = [\n $4umf8$process.env[\"ProgramFiles(x86)\"],\n $4umf8$process.env[\"ProgramFiles\"]\n];\nconst $f4af675fd1cc6e59$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $f4af675fd1cc6e59$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $f4af675fd1cc6e59$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $f4af675fd1cc6e59$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($f4af675fd1cc6e59$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $f4af675fd1cc6e59$var$VsYearVersion) return $f4af675fd1cc6e59$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$f4af675fd1cc6e59$export$3c7cae5a162b1458 = $f4af675fd1cc6e59$var$vsversion_to_versionnumber;\nfunction $f4af675fd1cc6e59$var$vsversion_to_year(vsversion) {\n if (Object.keys($f4af675fd1cc6e59$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($f4af675fd1cc6e59$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$f4af675fd1cc6e59$export$704f0be24425353b = $f4af675fd1cc6e59$var$vsversion_to_year;\nconst $f4af675fd1cc6e59$var$VSWHERE_PATH = `${$f4af675fd1cc6e59$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $f4af675fd1cc6e59$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $4umf8$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $1o3Gj.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$f4af675fd1cc6e59$export$f49c12d2898d28cb = $f4af675fd1cc6e59$var$findWithVswhere;\nfunction $f4af675fd1cc6e59$var$findVcvarsall(vsversion) {\n const vsversion_number = $f4af675fd1cc6e59$var$vsversion_to_versionnumber(vsversion);\n let version_pattern;\n if (vsversion_number) {\n const upper_bound = vsversion_number.split(\".\")[0] + \".9\";\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`;\n } else version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $f4af675fd1cc6e59$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $4umf8$fs.existsSync(path)) {\n $1o3Gj.info(`Found with vswhere: ${path}`);\n return path;\n }\n $1o3Gj.info(\"Not found with vswhere\");\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [\n $f4af675fd1cc6e59$var$vsversion_to_year(vsversion)\n ] : $f4af675fd1cc6e59$var$YEARS;\n for (const prog_files of $f4af675fd1cc6e59$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $f4af675fd1cc6e59$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $1o3Gj.info(`Trying standard location: ${path}`);\n if ($4umf8$fs.existsSync(path)) {\n $1o3Gj.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $1o3Gj.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$f4af675fd1cc6e59$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($4umf8$fs.existsSync(path)) {\n $1o3Gj.info(`Found VS 2015: ${path}`);\n return path;\n }\n $1o3Gj.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$f4af675fd1cc6e59$export$a6a3bfb882356813 = $f4af675fd1cc6e59$var$findVcvarsall;\nfunction $f4af675fd1cc6e59$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $f4af675fd1cc6e59$var$filterPathValue(path) {\n let paths = path.split(\";\");\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return paths.filter(unique).join(\";\");\n}\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $f4af675fd1cc6e59$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($4umf8$process.platform != \"win32\") {\n $1o3Gj.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $4umf8$process.env.PATH += $4umf8$path.delimiter + $f4af675fd1cc6e59$var$VSWHERE_PATH;\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\"\n };\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) arch = arch_aliases[arch.toLowerCase()];\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$f4af675fd1cc6e59$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $1o3Gj.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $4umf8$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\n const old_environment = cmd_output_parts[0].split(\"\\r\\n\");\n const vcvars_output = cmd_output_parts[1].split(\"\\r\\n\");\n const new_environment = cmd_output_parts[2].split(\"\\r\\n\");\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line)=>{\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\n\"));\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {};\n for (let string of old_environment){\n const [name, value] = string.split(\"=\");\n old_env_vars[name] = value;\n }\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n $1o3Gj.startGroup(\"Environment variables\");\n for (let string of new_environment){\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes(\"=\")) continue;\n let [name, new_value] = string.split(\"=\");\n let old_value = old_env_vars[name];\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n $1o3Gj.info(`Setting ${name}`);\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if ($f4af675fd1cc6e59$var$isPathVariable(name)) new_value = $f4af675fd1cc6e59$var$filterPathValue(new_value);\n $1o3Gj.exportVariable(name, new_value);\n }\n }\n $1o3Gj.endGroup();\n $1o3Gj.info(`Configured Developer Command Prompt`);\n}\n$f4af675fd1cc6e59$export$443b8bb890f5027e = $f4af675fd1cc6e59$var$setupMSVCDevCmd;\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\nfunction $95f7608dc9d76dc5$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $95f7608dc9d76dc5$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $6t4SD.pathExists)(VCTargetsPath)) {\n (0, $hHq4F.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $f4af675fd1cc6e59$export$443b8bb890f5027e)($95f7608dc9d76dc5$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $a133e2b2f2bba81b$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $a133e2b2f2bba81b$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $a133e2b2f2bba81b$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $a133e2b2f2bba81b$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $a133e2b2f2bba81b$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $a133e2b2f2bba81b$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $a133e2b2f2bba81b$var$getDOMException(reason);\n};\nfunction $a133e2b2f2bba81b$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($a133e2b2f2bba81b$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($a133e2b2f2bba81b$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $a133e2b2f2bba81b$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message !== null && message !== void 0 ? message : `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $f6eafce5b5cfae6d$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb) {\n (0, $1o3Gj.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $a133e2b2f2bba81b$export$2e2bcd8739ae039)($f6eafce5b5cfae6d$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $hHq4F.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $1o3Gj.endGroup)();\n return hasLLVM;\n}\nasync function $f6eafce5b5cfae6d$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $5991c91eacfada05$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $eAXk4.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $a7d52bc5591bf6e8$var$readFile, writeFile: $a7d52bc5591bf6e8$var$writeFile, chmod: $a7d52bc5591bf6e8$var$chmod } = (0, $4umf8$fs.promises);\nvar $a7d52bc5591bf6e8$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($a7d52bc5591bf6e8$export$35fa309210df3df6 || ($a7d52bc5591bf6e8$export$35fa309210df3df6 = {}));\nasync function $a7d52bc5591bf6e8$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $a7d52bc5591bf6e8$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)(neededPackages);\n await $a7d52bc5591bf6e8$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb)\n });\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $a7d52bc5591bf6e8$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $a7d52bc5591bf6e8$var$readFile(path, \"utf-8\");\n script = $a7d52bc5591bf6e8$var$debugScript(script);\n script = $a7d52bc5591bf6e8$var$nonInteractiveScript(script);\n script = $a7d52bc5591bf6e8$var$choosePackages(packages, script, majorVersion);\n script = await $a7d52bc5591bf6e8$var$removeConflictingPackages(script);\n script = $a7d52bc5591bf6e8$var$useNalaScript(script);\n await $a7d52bc5591bf6e8$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $a7d52bc5591bf6e8$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $a7d52bc5591bf6e8$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $4574e4c050df58da$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $4umf8$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $4574e4c050df58da$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nconst $f8b442c18c88c2f2$export$aa5307f1aca77413 = (0, $d9c16e431e014540$export$cbd9528a83fbffa1)([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $f8b442c18c88c2f2$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $f8b442c18c88c2f2$var$DARWIN_MISSING = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\"\n]);\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */ const $f8b442c18c88c2f2$var$UBUNTU_RC = new Map();\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */ // TODO change based on ubuntu version\nconst $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $f8b442c18c88c2f2$var$MAX_UBUNTU = \"17.0.6\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $f8b442c18c88c2f2$var$getDarwinUrl(version) {\n if ($f8b442c18c88c2f2$var$DARWIN_MISSING.has(version)) return null;\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\";\n const prefix = \"clang+llvm-\";\n const suffix = `-x86_64${darwin}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"9.0.1\")) return $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n else return $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $f8b442c18c88c2f2$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $f8b442c18c88c2f2$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$f8b442c18c88c2f2$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $d9c16e431e014540$export$deb1064c8260c54c)($f8b442c18c88c2f2$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP) linuxVersion = $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP[$f8b442c18c88c2f2$var$MAX_UBUNTU];\n (0, $hHq4F.warning)(`Falling back to LLVM version ${$f8b442c18c88c2f2$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"9.0.1\")) return $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n else return $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $f8b442c18c88c2f2$var$getWin32Url(version) {\n if ($f8b442c18c88c2f2$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $930bb3ec7bf38c88$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $f8b442c18c88c2f2$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $f8b442c18c88c2f2$var$getDarwinUrl(version);\n case \"linux\":\n return $f8b442c18c88c2f2$export$ae24f9682a44836b(version);\n case \"win32\":\n return $f8b442c18c88c2f2$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $f8b442c18c88c2f2$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $d9c16e431e014540$export$4e4d3581f69a6d71)($f8b442c18c88c2f2$export$aa5307f1aca77413, platform, version, $f8b442c18c88c2f2$export$94df0e59ebebf4a7);\n (0, $hHq4F.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $eAXk4.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $1533841bc1073d6a$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $1533841bc1073d6a$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $6953eb5c011ad8ed$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/llvm\");\nasync function $6953eb5c011ad8ed$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $6953eb5c011ad8ed$var$setupLLVMWithoutActivation(version, setupDir, arch);\n var _installationInfo_installDir;\n await $6953eb5c011ad8ed$export$6238b5ebfd6640e7((_installationInfo_installDir = installationInfo.installDir) !== null && _installationInfo_installDir !== void 0 ? _installationInfo_installDir : setupDir);\n return installationInfo;\n}\nasync function $6953eb5c011ad8ed$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch),\n $6953eb5c011ad8ed$var$setupLLVMDeps(arch),\n $6953eb5c011ad8ed$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $6953eb5c011ad8ed$var$setupLLVMWithoutActivation = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $6953eb5c011ad8ed$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch, (0, $a7d52bc5591bf6e8$export$35fa309210df3df6).ClangFormat);\n}\nfunction $6953eb5c011ad8ed$export$814ccfc953503728(version, setupDir, arch) {\n return $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $a7d52bc5591bf6e8$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $d9c16e431e014540$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return await (0, $a7d52bc5591bf6e8$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"llvm\", version, (0, $f8b442c18c88c2f2$export$f203993d12226a27), setupDir, arch);\n await $6953eb5c011ad8ed$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $6953eb5c011ad8ed$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $6953eb5c011ad8ed$var$llvmBinaryDeps = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $6953eb5c011ad8ed$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $3f19caa876428bf4$export$405fab3de79b77b)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $6953eb5c011ad8ed$var$setupLLVMDeps = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $6953eb5c011ad8ed$export$6238b5ebfd6640e7(directory) {\n var _process_env_LD_LIBRARY_PATH;\n const ld = (_process_env_LD_LIBRARY_PATH = process.env.LD_LIBRARY_PATH) !== null && _process_env_LD_LIBRARY_PATH !== void 0 ? _process_env_LD_LIBRARY_PATH : \"\";\n var _process_env_DYLD_LIBRARY_PATH;\n const dyld = (_process_env_DYLD_LIBRARY_PATH = process.env.DYLD_LIBRARY_PATH) !== null && _process_env_DYLD_LIBRARY_PATH !== void 0 ? _process_env_DYLD_LIBRARY_PATH : \"\";\n const actPromises = [\n // the output of this action\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $4umf8$path.delimiter)}${ld}`),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $4umf8$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", (0, $eAXk4.addExeExt)(`${directory}/bin/clang`)),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", (0, $eAXk4.addExeExt)(`${directory}/bin/clang++`)),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $b1bd4a63b941b63a$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n }\n await Promise.all(actPromises);\n}\nasync function $6953eb5c011ad8ed$var$addLLVMLoggingMatcher() {\n if (0, $dAuy6.GITHUB_ACTIONS) {\n const matcherPath = (0, $eAXk4.join)($6953eb5c011ad8ed$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $90d27b925e8078c3$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $66785be328e24e8f$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $ca61f3433f42990a$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/msvc\");\nasync function $ca61f3433f42990a$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $f4af675fd1cc6e59$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $hHq4F.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $f4af675fd1cc6e59$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $hHq4F.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualstudio2017buildtools\", \"15.9.41.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualstudio2019buildtools\", \"16.11.7.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\";\n } else if (version === \"17.0\") {\n toolset = undefined;\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $hHq4F.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $hHq4F.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $dAuy6.GITHUB_ACTIONS) await $ca61f3433f42990a$var$addMSVCLoggingMatcher();\n}\nasync function $ca61f3433f42990a$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $eAXk4.join)($ca61f3433f42990a$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\nlet $8ef6bee7cd8d9504$var$binDir;\nasync function $8ef6bee7cd8d9504$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $8ef6bee7cd8d9504$var$binDir === \"string\") return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $8ef6bee7cd8d9504$var$binDir = (0, $eAXk4.dirname)(maybeBinDir);\n return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $4574e4c050df58da$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`\n ]);\n try {\n if (version !== \"legacy\") await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $8ef6bee7cd8d9504$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n}\nfunction $8ef6bee7cd8d9504$export$2747aa8ef20f818d(script) {\n if ((0, $4574e4c050df58da$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $e30a94480cbacda6$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e30a94480cbacda6$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e30a94480cbacda6$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $2c142710d07a1d78$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo`\n ]);\n return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"packages-microsoft-prod.deb\"\n ]);\n // TODO Debian\n // const keyFileName = await addAptKeyViaDownload(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $87794de984c43d77$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n/** Get the platform name task uses in their download links */ function $3633ba871f8ac84b$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $3633ba871f8ac84b$var$getTaskArch(arch) {\n switch(arch){\n case \"x64\":\n return \"amd64\";\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\";\n default:\n return arch;\n }\n}\n/** Get the platform data for task */ function $3633ba871f8ac84b$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $3633ba871f8ac84b$var$getTaskPlatform(platform);\n const taskArch = $3633ba871f8ac84b$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eAXk4.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $1533841bc1073d6a$export$6411c5cbab21135b) : (0, $1533841bc1073d6a$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $3633ba871f8ac84b$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"task\", version, $3633ba871f8ac84b$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\nlet $937e45ed2ed39257$var$hasVCPKG = false;\nasync function $937e45ed2ed39257$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$937e45ed2ed39257$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $6t4SD.pathExists)((0, $eAXk4.join)(setupDir, (0, $eAXk4.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $eAXk4.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $hHq4F.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $24f062d29362ada6$export$28823a701bb5a12d)((0, $eAXk4.addShExt)((0, $eAXk4.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $bf272871df54e58d$export$4718e061a205eab)(setupDir);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $937e45ed2ed39257$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $eAXk4.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $5991c91eacfada05$export$18a3521ac7306af4 = {\n nala: (0, $8ef6bee7cd8d9504$export$d73cbe8caeff03c5),\n cmake: (0, $6ca1cdfc8544c646$export$c28663a621f418ce),\n ninja: (0, $33611b5480e1148e$export$e6190f4bfe2ef71),\n python: (0, $8e03016ecb3dd99e$export$2b0b68e9df3d4a02),\n vcpkg: (0, $937e45ed2ed39257$export$490bdba4ef3e3f82),\n bazel: (0, $671d2451576f7242$export$a66bc93580b0a849),\n conan: (0, $7fad98b8fc122c7f$export$249d0c7d779d362f),\n meson: (0, $66785be328e24e8f$export$f73905553f087748),\n gcovr: (0, $88e2c066ab70c051$export$b98d69f362caf61f),\n opencppcoverage: (0, $e30a94480cbacda6$export$6aa28a97600a8ae3),\n llvm: (0, $6953eb5c011ad8ed$export$3016de7ae9d14988),\n gcc: (0, $3f19caa876428bf4$export$405fab3de79b77b),\n choco: (0, $fd45706685edd4a7$export$b804d731cdad7ef9),\n brew: (0, $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e),\n powershell: (0, $2c142710d07a1d78$export$1ff6ad96ee130aba),\n ccache: (0, $e2bfdac6c7112ded$export$111263621bbb0768),\n sccache: (0, $87794de984c43d77$export$b963b67cda80fdc),\n doxygen: (0, $befd38d449a1dd77$export$b6e6613a954051ee),\n graphviz: (0, $84a50e6b88ef38c7$export$b885bd977caaafb9),\n cppcheck: (0, $287d43a812660c62$export$13d77464c548b5d3),\n clangtidy: (0, $6953eb5c011ad8ed$export$814ccfc953503728),\n clangformat: (0, $6953eb5c011ad8ed$export$1cf2d186cecf1f54),\n msvc: (0, $ca61f3433f42990a$export$a91ef0362c1a7298),\n vcvarsall: (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369),\n kcov: (0, $b57152bab0b5e0d6$export$abb7c2ff987b1f6b),\n make: (0, $90d27b925e8078c3$export$b0a9411329e2916),\n task: (0, $3633ba871f8ac84b$export$4456b3a3d3540077),\n sevenzip: (0, $9a4a93f779a8f772$export$5fc39629e14c8173)\n};\nconst $5991c91eacfada05$export$904054328df186b = Object.keys($5991c91eacfada05$export$18a3521ac7306af4);\nconst $5991c91eacfada05$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$5991c91eacfada05$export$904054328df186b\n];\n\n\nfunction $5e34b9b876d96316$export$7300a92932ee17a3(args) {\n return (0, $6973f06ebfc9a33d$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $5991c91eacfada05$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $5991c91eacfada05$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $5e34b9b876d96316$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $5e34b9b876d96316$export$f57ebcae4da846e4() {\n (0, $hHq4F.info)(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the <compiler> to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $5e34b9b876d96316$export$fc4ce4d885cb1082(key) {\n const value = (0, $1o3Gj.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $5e34b9b876d96316$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\n\n\n\n\n\n\nfunction $378d5e7e39d04cd9$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2kZmC)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $hHq4F.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $378d5e7e39d04cd9$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $378d5e7e39d04cd9$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $1o3Gj.startGroup)(`Installing ${compiler} ${version !== null && version !== void 0 ? version : \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $6953eb5c011ad8ed$export$3016de7ae9d14988)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $4umf8$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $88e2c066ab70c051$export$2a0488baf2a20c0f)();\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $3f19caa876428bf4$export$f115c01d224b9e9a)(gccVersion, (0, $4umf8$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $3f19caa876428bf4$export$405fab3de79b77b)(gccVersion, (0, $4umf8$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $88e2c066ab70c051$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"gcc\", installationInfo));\n break;\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\":\n {\n const installationInfo = await (0, $ca61f3433f42990a$export$a91ef0362c1a7298)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $4umf8$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $1o3Gj.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $hHq4F.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $1o3Gj.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $1ae0f1c1ace0f6af$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $dAuy6.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $c67d54237e946289$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $5e34b9b876d96316$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $5e34b9b876d96316$export$f57ebcae4da846e4)();\n var _opts_architecture;\n // cpu architecture\n const arch = (_opts_architecture = opts.architecture) !== null && _opts_architecture !== void 0 ? _opts_architecture : process.arch;\n var _process_env_SETUP_CPP_DIR;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = (_process_env_SETUP_CPP_DIR = process.env.SETUP_CPP_DIR) !== null && _process_env_SETUP_CPP_DIR !== void 0 ? _process_env_SETUP_CPP_DIR : (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"~\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $d8d049814738d806$exports.create({\n autoloadLocales: true\n });\n $d8d049814738d806$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($320f558e5d3a9246$exports))));\n $6OFKY.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($4af6780aae15e7aa$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $8555a825dc64b9bc$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $hHq4F.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $hHq4F.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $5991c91eacfada05$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $dAuy6.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n var _opts_timeout;\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $f6eafce5b5cfae6d$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat((_opts_timeout = opts.timeout) !== null && _opts_timeout !== void 0 ? _opts_timeout : \"20\") * 60000);\n time2 = Date.now();\n (0, $hHq4F.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $378d5e7e39d04cd9$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $hHq4F.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $fcca2ee3cb52e97b$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $hHq4F.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $hHq4F.success)(tool));\n errorMessages.forEach((tool)=>(0, $hHq4F.error)(tool));\n (0, $hHq4F.info)(\"setup-cpp finished\");\n if (!(0, $dAuy6.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $hHq4F.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $hHq4F.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$1ae0f1c1ace0f6af$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $hHq4F.error)(\"main() panicked!\");\n (0, $hHq4F.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return GITHUB_ACTIONS ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n",null,null,null,null,null,null,"(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return `${from} ${to}`.trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",null,"import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when its always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')'\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.BUILD] = '(?:\\\\+(' + src[t.BUILDIDENTIFIER] +\n '(?:\\\\.' + src[t.BUILDIDENTIFIER] + ')*))'\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.FULL] = '^' + src[t.FULLPLAIN] + '$'\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.GTLT] = '((?:<|>)?=?)'\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.COERCE] = '(^|[^\\\\d])' +\n '(\\\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' +\n '(?:\\\\.(\\\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +\n '(?:\\\\.(\\\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +\n '(?:$|[^\\\\d])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.COMPARATOR] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.FULLPLAIN] + ')$|^$'\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError('Invalid Version: ' + version)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL])\n\n if (!m) {\n throw new TypeError('Invalid Version: ' + version)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n}\n\nSemVer.prototype.format = function () {\n this.version = this.major + '.' + this.minor + '.' + this.patch\n if (this.prerelease.length) {\n this.version += '-' + this.prerelease.join('.')\n }\n return this.version\n}\n\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n var i = 0\n do {\n var a = this.prerelease[i]\n var b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n}\n\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n}\n\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n var i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error('invalid increment argument: ' + release)\n }\n this.format()\n this.raw = this.version\n return this\n}\n\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError('Invalid operator: ' + op)\n }\n}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n}\n\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var m = comp.match(r)\n\n if (!m) {\n throw new TypeError('Invalid comparator: ' + comp)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n}\n\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n}\n\nComparator.prototype.intersects = function (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator (comp, options) {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0'\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars (comp, options) {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(safeRe[t.STAR], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = '>=' + fM + '.0.0'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (var i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n}\n\nfunction testSet (set, version, options) {\n for (var i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n\nexports.satisfies = satisfies\nfunction satisfies (version, range, options) {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!minver || gt(minver, compver)) {\n minver = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error('Unexpected operation: ' + comparator.operator)\n }\n })\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction validRange (range, options) {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (comparator) {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction coerce (version, options) {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n var match = null\n if (!options.rtl) {\n match = version.match(safeRe[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n var next\n while ((next = safeRe[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.7877377d.js\"))).then(() => parcelRequire('8L9T2'));","var conventions = require(\"./conventions\");\nvar dom = require('./dom')\nvar entities = require('./entities');\nvar sax = require('./sax');\n\nvar DOMImplementation = dom.DOMImplementation;\n\nvar NAMESPACE = conventions.NAMESPACE;\n\nvar ParseError = sax.ParseError;\nvar XMLReader = sax.XMLReader;\n\n/**\n * Normalizes line ending according to https://www.w3.org/TR/xml11/#sec-line-ends:\n *\n * > XML parsed entities are often stored in computer files which,\n * > for editing convenience, are organized into lines.\n * > These lines are typically separated by some combination\n * > of the characters CARRIAGE RETURN (#xD) and LINE FEED (#xA).\n * >\n * > To simplify the tasks of applications, the XML processor must behave\n * > as if it normalized all line breaks in external parsed entities (including the document entity)\n * > on input, before parsing, by translating all of the following to a single #xA character:\n * >\n * > 1. the two-character sequence #xD #xA\n * > 2. the two-character sequence #xD #x85\n * > 3. the single character #x85\n * > 4. the single character #x2028\n * > 5. any #xD character that is not immediately followed by #xA or #x85.\n *\n * @param {string} input\n * @returns {string}\n */\nfunction normalizeLineEndings(input) {\n\treturn input\n\t\t.replace(/\\r[\\n\\u0085]/g, '\\n')\n\t\t.replace(/[\\r\\u0085\\u2028]/g, '\\n')\n}\n\n/**\n * @typedef Locator\n * @property {number} [columnNumber]\n * @property {number} [lineNumber]\n */\n\n/**\n * @typedef DOMParserOptions\n * @property {DOMHandler} [domBuilder]\n * @property {Function} [errorHandler]\n * @property {(string) => string} [normalizeLineEndings] used to replace line endings before parsing\n * \t\t\t\t\t\tdefaults to `normalizeLineEndings`\n * @property {Locator} [locator]\n * @property {Record<string, string>} [xmlns]\n *\n * @see normalizeLineEndings\n */\n\n/**\n * The DOMParser interface provides the ability to parse XML or HTML source code\n * from a string into a DOM `Document`.\n *\n * _xmldom is different from the spec in that it allows an `options` parameter,\n * to override the default behavior._\n *\n * @param {DOMParserOptions} [options]\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization\n */\nfunction DOMParser(options){\n\tthis.options = options ||{locator:{}};\n}\n\nDOMParser.prototype.parseFromString = function(source,mimeType){\n\tvar options = this.options;\n\tvar sax = new XMLReader();\n\tvar domBuilder = options.domBuilder || new DOMHandler();//contentHandler and LexicalHandler\n\tvar errorHandler = options.errorHandler;\n\tvar locator = options.locator;\n\tvar defaultNSMap = options.xmlns||{};\n\tvar isHTML = /\\/x?html?$/.test(mimeType);//mimeType.toLowerCase().indexOf('html') > -1;\n \tvar entityMap = isHTML ? entities.HTML_ENTITIES : entities.XML_ENTITIES;\n\tif(locator){\n\t\tdomBuilder.setDocumentLocator(locator)\n\t}\n\n\tsax.errorHandler = buildErrorHandler(errorHandler,domBuilder,locator);\n\tsax.domBuilder = options.domBuilder || domBuilder;\n\tif(isHTML){\n\t\tdefaultNSMap[''] = NAMESPACE.HTML;\n\t}\n\tdefaultNSMap.xml = defaultNSMap.xml || NAMESPACE.XML;\n\tvar normalize = options.normalizeLineEndings || normalizeLineEndings;\n\tif (source && typeof source === 'string') {\n\t\tsax.parse(\n\t\t\tnormalize(source),\n\t\t\tdefaultNSMap,\n\t\t\tentityMap\n\t\t)\n\t} else {\n\t\tsax.errorHandler.error('invalid doc source')\n\t}\n\treturn domBuilder.doc;\n}\nfunction buildErrorHandler(errorImpl,domBuilder,locator){\n\tif(!errorImpl){\n\t\tif(domBuilder instanceof DOMHandler){\n\t\t\treturn domBuilder;\n\t\t}\n\t\terrorImpl = domBuilder ;\n\t}\n\tvar errorHandler = {}\n\tvar isCallback = errorImpl instanceof Function;\n\tlocator = locator||{}\n\tfunction build(key){\n\t\tvar fn = errorImpl[key];\n\t\tif(!fn && isCallback){\n\t\t\tfn = errorImpl.length == 2?function(msg){errorImpl(key,msg)}:errorImpl;\n\t\t}\n\t\terrorHandler[key] = fn && function(msg){\n\t\t\tfn('[xmldom '+key+']\\t'+msg+_locator(locator));\n\t\t}||function(){};\n\t}\n\tbuild('warning');\n\tbuild('error');\n\tbuild('fatalError');\n\treturn errorHandler;\n}\n\n//console.log('#\\n\\n\\n\\n\\n\\n\\n####')\n/**\n * +ContentHandler+ErrorHandler\n * +LexicalHandler+EntityResolver2\n * -DeclHandler-DTDHandler\n *\n * DefaultHandler:EntityResolver, DTDHandler, ContentHandler, ErrorHandler\n * DefaultHandler2:DefaultHandler,LexicalHandler, DeclHandler, EntityResolver2\n * @link http://www.saxproject.org/apidoc/org/xml/sax/helpers/DefaultHandler.html\n */\nfunction DOMHandler() {\n this.cdata = false;\n}\nfunction position(locator,node){\n\tnode.lineNumber = locator.lineNumber;\n\tnode.columnNumber = locator.columnNumber;\n}\n/**\n * @see org.xml.sax.ContentHandler#startDocument\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html\n */\nDOMHandler.prototype = {\n\tstartDocument : function() {\n \tthis.doc = new DOMImplementation().createDocument(null, null, null);\n \tif (this.locator) {\n \tthis.doc.documentURI = this.locator.systemId;\n \t}\n\t},\n\tstartElement:function(namespaceURI, localName, qName, attrs) {\n\t\tvar doc = this.doc;\n\t var el = doc.createElementNS(namespaceURI, qName||localName);\n\t var len = attrs.length;\n\t appendElement(this, el);\n\t this.currentElement = el;\n\n\t\tthis.locator && position(this.locator,el)\n\t for (var i = 0 ; i < len; i++) {\n\t var namespaceURI = attrs.getURI(i);\n\t var value = attrs.getValue(i);\n\t var qName = attrs.getQName(i);\n\t\t\tvar attr = doc.createAttributeNS(namespaceURI, qName);\n\t\t\tthis.locator &&position(attrs.getLocator(i),attr);\n\t\t\tattr.value = attr.nodeValue = value;\n\t\t\tel.setAttributeNode(attr)\n\t }\n\t},\n\tendElement:function(namespaceURI, localName, qName) {\n\t\tvar current = this.currentElement\n\t\tvar tagName = current.tagName;\n\t\tthis.currentElement = current.parentNode;\n\t},\n\tstartPrefixMapping:function(prefix, uri) {\n\t},\n\tendPrefixMapping:function(prefix) {\n\t},\n\tprocessingInstruction:function(target, data) {\n\t var ins = this.doc.createProcessingInstruction(target, data);\n\t this.locator && position(this.locator,ins)\n\t appendElement(this, ins);\n\t},\n\tignorableWhitespace:function(ch, start, length) {\n\t},\n\tcharacters:function(chars, start, length) {\n\t\tchars = _toString.apply(this,arguments)\n\t\t//console.log(chars)\n\t\tif(chars){\n\t\t\tif (this.cdata) {\n\t\t\t\tvar charNode = this.doc.createCDATASection(chars);\n\t\t\t} else {\n\t\t\t\tvar charNode = this.doc.createTextNode(chars);\n\t\t\t}\n\t\t\tif(this.currentElement){\n\t\t\t\tthis.currentElement.appendChild(charNode);\n\t\t\t}else if(/^\\s*$/.test(chars)){\n\t\t\t\tthis.doc.appendChild(charNode);\n\t\t\t\t//process xml\n\t\t\t}\n\t\t\tthis.locator && position(this.locator,charNode)\n\t\t}\n\t},\n\tskippedEntity:function(name) {\n\t},\n\tendDocument:function() {\n\t\tthis.doc.normalize();\n\t},\n\tsetDocumentLocator:function (locator) {\n\t if(this.locator = locator){// && !('lineNumber' in locator)){\n\t \tlocator.lineNumber = 0;\n\t }\n\t},\n\t//LexicalHandler\n\tcomment:function(chars, start, length) {\n\t\tchars = _toString.apply(this,arguments)\n\t var comm = this.doc.createComment(chars);\n\t this.locator && position(this.locator,comm)\n\t appendElement(this, comm);\n\t},\n\n\tstartCDATA:function() {\n\t //used in characters() methods\n\t this.cdata = true;\n\t},\n\tendCDATA:function() {\n\t this.cdata = false;\n\t},\n\n\tstartDTD:function(name, publicId, systemId) {\n\t\tvar impl = this.doc.implementation;\n\t if (impl && impl.createDocumentType) {\n\t var dt = impl.createDocumentType(name, publicId, systemId);\n\t this.locator && position(this.locator,dt)\n\t appendElement(this, dt);\n\t\t\t\t\tthis.doc.doctype = dt;\n\t }\n\t},\n\t/**\n\t * @see org.xml.sax.ErrorHandler\n\t * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html\n\t */\n\twarning:function(error) {\n\t\tconsole.warn('[xmldom warning]\\t'+error,_locator(this.locator));\n\t},\n\terror:function(error) {\n\t\tconsole.error('[xmldom error]\\t'+error,_locator(this.locator));\n\t},\n\tfatalError:function(error) {\n\t\tthrow new ParseError(error, this.locator);\n\t}\n}\nfunction _locator(l){\n\tif(l){\n\t\treturn '\\n@'+(l.systemId ||'')+'#[line:'+l.lineNumber+',col:'+l.columnNumber+']'\n\t}\n}\nfunction _toString(chars,start,length){\n\tif(typeof chars == 'string'){\n\t\treturn chars.substr(start,length)\n\t}else{//java sax connect width xmldom on rhino(what about: \"? && !(chars instanceof String)\")\n\t\tif(chars.length >= start+length || start){\n\t\t\treturn new java.lang.String(chars,start,length)+'';\n\t\t}\n\t\treturn chars;\n\t}\n}\n\n/*\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html\n * used method of org.xml.sax.ext.LexicalHandler:\n * #comment(chars, start, length)\n * #startCDATA()\n * #endCDATA()\n * #startDTD(name, publicId, systemId)\n *\n *\n * IGNORED method of org.xml.sax.ext.LexicalHandler:\n * #endDTD()\n * #startEntity(name)\n * #endEntity(name)\n *\n *\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/DeclHandler.html\n * IGNORED method of org.xml.sax.ext.DeclHandler\n * \t#attributeDecl(eName, aName, type, mode, value)\n * #elementDecl(name, model)\n * #externalEntityDecl(name, publicId, systemId)\n * #internalEntityDecl(name, value)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html\n * IGNORED method of org.xml.sax.EntityResolver2\n * #resolveEntity(String name,String publicId,String baseURI,String systemId)\n * #resolveEntity(publicId, systemId)\n * #getExternalSubset(name, baseURI)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/DTDHandler.html\n * IGNORED method of org.xml.sax.DTDHandler\n * #notationDecl(name, publicId, systemId) {};\n * #unparsedEntityDecl(name, publicId, systemId, notationName) {};\n */\n\"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl\".replace(/\\w+/g,function(key){\n\tDOMHandler.prototype[key] = function(){return null}\n})\n\n/* Private static helpers treated below as private instance methods, so don't need to add these to the public API; we might use a Relator to also get rid of non-standard public properties */\nfunction appendElement (hander,node) {\n if (!hander.currentElement) {\n hander.doc.appendChild(node);\n } else {\n hander.currentElement.appendChild(node);\n }\n}//appendChild and setAttributeNS are preformance key\n\nexports.__DOMHandler = DOMHandler;\nexports.normalizeLineEndings = normalizeLineEndings;\nexports.DOMParser = DOMParser;\n","'use strict'\n\n/**\n * Ponyfill for `Array.prototype.find` which is only available in ES6 runtimes.\n *\n * Works with anything that has a `length` property and index access properties, including NodeList.\n *\n * @template {unknown} T\n * @param {Array<T> | ({length:number, [number]: T})} list\n * @param {function (item: T, index: number, list:Array<T> | ({length:number, [number]: T})):boolean} predicate\n * @param {Partial<Pick<ArrayConstructor['prototype'], 'find'>>?} ac `Array.prototype` by default,\n * \t\t\t\tallows injecting a custom implementation in tests\n * @returns {T | undefined}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * @see https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.find\n */\nfunction find(list, predicate, ac) {\n\tif (ac === undefined) {\n\t\tac = Array.prototype;\n\t}\n\tif (list && typeof ac.find === 'function') {\n\t\treturn ac.find.call(list, predicate);\n\t}\n\tfor (var i = 0; i < list.length; i++) {\n\t\tif (Object.prototype.hasOwnProperty.call(list, i)) {\n\t\t\tvar item = list[i];\n\t\t\tif (predicate.call(undefined, item, i, list)) {\n\t\t\t\treturn item;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * \"Shallow freezes\" an object to render it immutable.\n * Uses `Object.freeze` if available,\n * otherwise the immutability is only in the type.\n *\n * Is used to create \"enum like\" objects.\n *\n * @template T\n * @param {T} object the object to freeze\n * @param {Pick<ObjectConstructor, 'freeze'> = Object} oc `Object` by default,\n * \t\t\t\tallows to inject custom object constructor for tests\n * @returns {Readonly<T>}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n */\nfunction freeze(object, oc) {\n\tif (oc === undefined) {\n\t\toc = Object\n\t}\n\treturn oc && typeof oc.freeze === 'function' ? oc.freeze(object) : object\n}\n\n/**\n * Since we can not rely on `Object.assign` we provide a simplified version\n * that is sufficient for our needs.\n *\n * @param {Object} target\n * @param {Object | null | undefined} source\n *\n * @returns {Object} target\n * @throws TypeError if target is not an object\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @see https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.assign\n */\nfunction assign(target, source) {\n\tif (target === null || typeof target !== 'object') {\n\t\tthrow new TypeError('target is not an object')\n\t}\n\tfor (var key in source) {\n\t\tif (Object.prototype.hasOwnProperty.call(source, key)) {\n\t\t\ttarget[key] = source[key]\n\t\t}\n\t}\n\treturn target\n}\n\n/**\n * All mime types that are allowed as input to `DOMParser.parseFromString`\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02 MDN\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparsersupportedtype WHATWG HTML Spec\n * @see DOMParser.prototype.parseFromString\n */\nvar MIME_TYPE = freeze({\n\t/**\n\t * `text/html`, the only mime type that triggers treating an XML document as HTML.\n\t *\n\t * @see DOMParser.SupportedType.isHTML\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec\n\t */\n\tHTML: 'text/html',\n\n\t/**\n\t * Helper method to check a mime type if it indicates an HTML document\n\t *\n\t * @param {string} [value]\n\t * @returns {boolean}\n\t *\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring \t */\n\tisHTML: function (value) {\n\t\treturn value === MIME_TYPE.HTML\n\t},\n\n\t/**\n\t * `application/xml`, the standard mime type for XML documents.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */\n\tXML_APPLICATION: 'application/xml',\n\n\t/**\n\t * `text/html`, an alias for `application/xml`.\n\t *\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303\n\t * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */\n\tXML_TEXT: 'text/xml',\n\n\t/**\n\t * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,\n\t * but is parsed as an XML document.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec\n\t * @see https://en.wikipedia.org/wiki/XHTML Wikipedia\n\t */\n\tXML_XHTML_APPLICATION: 'application/xhtml+xml',\n\n\t/**\n\t * `image/svg+xml`,\n\t *\n\t * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration\n\t * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1\n\t * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia\n\t */\n\tXML_SVG_IMAGE: 'image/svg+xml',\n})\n\n/**\n * Namespaces that are used in this code base.\n *\n * @see http://www.w3.org/TR/REC-xml-names\n */\nvar NAMESPACE = freeze({\n\t/**\n\t * The XHTML namespace.\n\t *\n\t * @see http://www.w3.org/1999/xhtml\n\t */\n\tHTML: 'http://www.w3.org/1999/xhtml',\n\n\t/**\n\t * Checks if `uri` equals `NAMESPACE.HTML`.\n\t *\n\t * @param {string} [uri]\n\t *\n\t * @see NAMESPACE.HTML\n\t */\n\tisHTML: function (uri) {\n\t\treturn uri === NAMESPACE.HTML\n\t},\n\n\t/**\n\t * The SVG namespace.\n\t *\n\t * @see http://www.w3.org/2000/svg\n\t */\n\tSVG: 'http://www.w3.org/2000/svg',\n\n\t/**\n\t * The `xml:` namespace.\n\t *\n\t * @see http://www.w3.org/XML/1998/namespace\n\t */\n\tXML: 'http://www.w3.org/XML/1998/namespace',\n\n\t/**\n\t * The `xmlns:` namespace\n\t *\n\t * @see https://www.w3.org/2000/xmlns/\n\t */\n\tXMLNS: 'http://www.w3.org/2000/xmlns/',\n})\n\nexports.assign = assign;\nexports.find = find;\nexports.freeze = freeze;\nexports.MIME_TYPE = MIME_TYPE;\nexports.NAMESPACE = NAMESPACE;\n","var conventions = require(\"./conventions\");\n\nvar find = conventions.find;\nvar NAMESPACE = conventions.NAMESPACE;\n\n/**\n * A prerequisite for `[].filter`, to drop elements that are empty\n * @param {string} input\n * @returns {boolean}\n */\nfunction notEmptyString (input) {\n\treturn input !== ''\n}\n/**\n * @see https://infra.spec.whatwg.org/#split-on-ascii-whitespace\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * @param {string} input\n * @returns {string[]} (can be empty)\n */\nfunction splitOnASCIIWhitespace(input) {\n\t// U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, U+0020 SPACE\n\treturn input ? input.split(/[\\t\\n\\f\\r ]+/).filter(notEmptyString) : []\n}\n\n/**\n * Adds element as a key to current if it is not already present.\n *\n * @param {Record<string, boolean | undefined>} current\n * @param {string} element\n * @returns {Record<string, boolean | undefined>}\n */\nfunction orderedSetReducer (current, element) {\n\tif (!current.hasOwnProperty(element)) {\n\t\tcurrent[element] = true;\n\t}\n\treturn current;\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ordered-set\n * @param {string} input\n * @returns {string[]}\n */\nfunction toOrderedSet(input) {\n\tif (!input) return [];\n\tvar list = splitOnASCIIWhitespace(input);\n\treturn Object.keys(list.reduce(orderedSetReducer, {}))\n}\n\n/**\n * Uses `list.indexOf` to implement something like `Array.prototype.includes`,\n * which we can not rely on being available.\n *\n * @param {any[]} list\n * @returns {function(any): boolean}\n */\nfunction arrayIncludes (list) {\n\treturn function(element) {\n\t\treturn list && list.indexOf(element) !== -1;\n\t}\n}\n\nfunction copy(src,dest){\n\tfor(var p in src){\n\t\tif (Object.prototype.hasOwnProperty.call(src, p)) {\n\t\t\tdest[p] = src[p];\n\t\t}\n\t}\n}\n\n/**\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*((?:.*\\{\\s*?[\\r\\n][\\s\\S]*?^})|\\S.*?(?=[;\\r\\n]));?\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*(\\S.*?(?=[;\\r\\n]));?\n */\nfunction _extends(Class,Super){\n\tvar pt = Class.prototype;\n\tif(!(pt instanceof Super)){\n\t\tfunction t(){};\n\t\tt.prototype = Super.prototype;\n\t\tt = new t();\n\t\tcopy(pt,t);\n\t\tClass.prototype = pt = t;\n\t}\n\tif(pt.constructor != Class){\n\t\tif(typeof Class != 'function'){\n\t\t\tconsole.error(\"unknown Class:\"+Class)\n\t\t}\n\t\tpt.constructor = Class\n\t}\n}\n\n// Node Types\nvar NodeType = {}\nvar ELEMENT_NODE = NodeType.ELEMENT_NODE = 1;\nvar ATTRIBUTE_NODE = NodeType.ATTRIBUTE_NODE = 2;\nvar TEXT_NODE = NodeType.TEXT_NODE = 3;\nvar CDATA_SECTION_NODE = NodeType.CDATA_SECTION_NODE = 4;\nvar ENTITY_REFERENCE_NODE = NodeType.ENTITY_REFERENCE_NODE = 5;\nvar ENTITY_NODE = NodeType.ENTITY_NODE = 6;\nvar PROCESSING_INSTRUCTION_NODE = NodeType.PROCESSING_INSTRUCTION_NODE = 7;\nvar COMMENT_NODE = NodeType.COMMENT_NODE = 8;\nvar DOCUMENT_NODE = NodeType.DOCUMENT_NODE = 9;\nvar DOCUMENT_TYPE_NODE = NodeType.DOCUMENT_TYPE_NODE = 10;\nvar DOCUMENT_FRAGMENT_NODE = NodeType.DOCUMENT_FRAGMENT_NODE = 11;\nvar NOTATION_NODE = NodeType.NOTATION_NODE = 12;\n\n// ExceptionCode\nvar ExceptionCode = {}\nvar ExceptionMessage = {};\nvar INDEX_SIZE_ERR = ExceptionCode.INDEX_SIZE_ERR = ((ExceptionMessage[1]=\"Index size error\"),1);\nvar DOMSTRING_SIZE_ERR = ExceptionCode.DOMSTRING_SIZE_ERR = ((ExceptionMessage[2]=\"DOMString size error\"),2);\nvar HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = ((ExceptionMessage[3]=\"Hierarchy request error\"),3);\nvar WRONG_DOCUMENT_ERR = ExceptionCode.WRONG_DOCUMENT_ERR = ((ExceptionMessage[4]=\"Wrong document\"),4);\nvar INVALID_CHARACTER_ERR = ExceptionCode.INVALID_CHARACTER_ERR = ((ExceptionMessage[5]=\"Invalid character\"),5);\nvar NO_DATA_ALLOWED_ERR = ExceptionCode.NO_DATA_ALLOWED_ERR = ((ExceptionMessage[6]=\"No data allowed\"),6);\nvar NO_MODIFICATION_ALLOWED_ERR = ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ((ExceptionMessage[7]=\"No modification allowed\"),7);\nvar NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = ((ExceptionMessage[8]=\"Not found\"),8);\nvar NOT_SUPPORTED_ERR = ExceptionCode.NOT_SUPPORTED_ERR = ((ExceptionMessage[9]=\"Not supported\"),9);\nvar INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = ((ExceptionMessage[10]=\"Attribute in use\"),10);\n//level2\nvar INVALID_STATE_ERR \t= ExceptionCode.INVALID_STATE_ERR \t= ((ExceptionMessage[11]=\"Invalid state\"),11);\nvar SYNTAX_ERR \t= ExceptionCode.SYNTAX_ERR \t= ((ExceptionMessage[12]=\"Syntax error\"),12);\nvar INVALID_MODIFICATION_ERR \t= ExceptionCode.INVALID_MODIFICATION_ERR \t= ((ExceptionMessage[13]=\"Invalid modification\"),13);\nvar NAMESPACE_ERR \t= ExceptionCode.NAMESPACE_ERR \t= ((ExceptionMessage[14]=\"Invalid namespace\"),14);\nvar INVALID_ACCESS_ERR \t= ExceptionCode.INVALID_ACCESS_ERR \t= ((ExceptionMessage[15]=\"Invalid access\"),15);\n\n/**\n * DOM Level 2\n * Object DOMException\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html\n * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html\n */\nfunction DOMException(code, message) {\n\tif(message instanceof Error){\n\t\tvar error = message;\n\t}else{\n\t\terror = this;\n\t\tError.call(this, ExceptionMessage[code]);\n\t\tthis.message = ExceptionMessage[code];\n\t\tif(Error.captureStackTrace) Error.captureStackTrace(this, DOMException);\n\t}\n\terror.code = code;\n\tif(message) this.message = this.message + \": \" + message;\n\treturn error;\n};\nDOMException.prototype = Error.prototype;\ncopy(ExceptionCode,DOMException)\n\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177\n * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.\n * The items in the NodeList are accessible via an integral index, starting from 0.\n */\nfunction NodeList() {\n};\nNodeList.prototype = {\n\t/**\n\t * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.\n\t * @standard level1\n\t */\n\tlength:0,\n\t/**\n\t * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.\n\t * @standard level1\n\t * @param index unsigned long\n\t * Index into the collection.\n\t * @return Node\n\t * \tThe node at the indexth position in the NodeList, or null if that is not a valid index.\n\t */\n\titem: function(index) {\n\t\treturn index >= 0 && index < this.length ? this[index] : null;\n\t},\n\ttoString:function(isHTML,nodeFilter){\n\t\tfor(var buf = [], i = 0;i<this.length;i++){\n\t\t\tserializeToString(this[i],buf,isHTML,nodeFilter);\n\t\t}\n\t\treturn buf.join('');\n\t},\n\t/**\n\t * @private\n\t * @param {function (Node):boolean} predicate\n\t * @returns {Node[]}\n\t */\n\tfilter: function (predicate) {\n\t\treturn Array.prototype.filter.call(this, predicate);\n\t},\n\t/**\n\t * @private\n\t * @param {Node} item\n\t * @returns {number}\n\t */\n\tindexOf: function (item) {\n\t\treturn Array.prototype.indexOf.call(this, item);\n\t},\n};\n\nfunction LiveNodeList(node,refresh){\n\tthis._node = node;\n\tthis._refresh = refresh\n\t_updateLiveList(this);\n}\nfunction _updateLiveList(list){\n\tvar inc = list._node._inc || list._node.ownerDocument._inc;\n\tif (list._inc !== inc) {\n\t\tvar ls = list._refresh(list._node);\n\t\t__set__(list,'length',ls.length);\n\t\tif (!list.$$length || ls.length < list.$$length) {\n\t\t\tfor (var i = ls.length; i in list; i++) {\n\t\t\t\tif (Object.prototype.hasOwnProperty.call(list, i)) {\n\t\t\t\t\tdelete list[i];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcopy(ls,list);\n\t\tlist._inc = inc;\n\t}\n}\nLiveNodeList.prototype.item = function(i){\n\t_updateLiveList(this);\n\treturn this[i] || null;\n}\n\n_extends(LiveNodeList,NodeList);\n\n/**\n * Objects implementing the NamedNodeMap interface are used\n * to represent collections of nodes that can be accessed by name.\n * Note that NamedNodeMap does not inherit from NodeList;\n * NamedNodeMaps are not maintained in any particular order.\n * Objects contained in an object implementing NamedNodeMap may also be accessed by an ordinal index,\n * but this is simply to allow convenient enumeration of the contents of a NamedNodeMap,\n * and does not imply that the DOM specifies an order to these Nodes.\n * NamedNodeMap objects in the DOM are live.\n * used for attributes or DocumentType entities\n */\nfunction NamedNodeMap() {\n};\n\nfunction _findNodeIndex(list,node){\n\tvar i = list.length;\n\twhile(i--){\n\t\tif(list[i] === node){return i}\n\t}\n}\n\nfunction _addNamedNode(el,list,newAttr,oldAttr){\n\tif(oldAttr){\n\t\tlist[_findNodeIndex(list,oldAttr)] = newAttr;\n\t}else{\n\t\tlist[list.length++] = newAttr;\n\t}\n\tif(el){\n\t\tnewAttr.ownerElement = el;\n\t\tvar doc = el.ownerDocument;\n\t\tif(doc){\n\t\t\toldAttr && _onRemoveAttribute(doc,el,oldAttr);\n\t\t\t_onAddAttribute(doc,el,newAttr);\n\t\t}\n\t}\n}\nfunction _removeNamedNode(el,list,attr){\n\t//console.log('remove attr:'+attr)\n\tvar i = _findNodeIndex(list,attr);\n\tif(i>=0){\n\t\tvar lastIndex = list.length-1\n\t\twhile(i<lastIndex){\n\t\t\tlist[i] = list[++i]\n\t\t}\n\t\tlist.length = lastIndex;\n\t\tif(el){\n\t\t\tvar doc = el.ownerDocument;\n\t\t\tif(doc){\n\t\t\t\t_onRemoveAttribute(doc,el,attr);\n\t\t\t\tattr.ownerElement = null;\n\t\t\t}\n\t\t}\n\t}else{\n\t\tthrow new DOMException(NOT_FOUND_ERR,new Error(el.tagName+'@'+attr))\n\t}\n}\nNamedNodeMap.prototype = {\n\tlength:0,\n\titem:NodeList.prototype.item,\n\tgetNamedItem: function(key) {\n//\t\tif(key.indexOf(':')>0 || key == 'xmlns'){\n//\t\t\treturn null;\n//\t\t}\n\t\t//console.log()\n\t\tvar i = this.length;\n\t\twhile(i--){\n\t\t\tvar attr = this[i];\n\t\t\t//console.log(attr.nodeName,key)\n\t\t\tif(attr.nodeName == key){\n\t\t\t\treturn attr;\n\t\t\t}\n\t\t}\n\t},\n\tsetNamedItem: function(attr) {\n\t\tvar el = attr.ownerElement;\n\t\tif(el && el!=this._ownerElement){\n\t\t\tthrow new DOMException(INUSE_ATTRIBUTE_ERR);\n\t\t}\n\t\tvar oldAttr = this.getNamedItem(attr.nodeName);\n\t\t_addNamedNode(this._ownerElement,this,attr,oldAttr);\n\t\treturn oldAttr;\n\t},\n\t/* returns Node */\n\tsetNamedItemNS: function(attr) {// raises: WRONG_DOCUMENT_ERR,NO_MODIFICATION_ALLOWED_ERR,INUSE_ATTRIBUTE_ERR\n\t\tvar el = attr.ownerElement, oldAttr;\n\t\tif(el && el!=this._ownerElement){\n\t\t\tthrow new DOMException(INUSE_ATTRIBUTE_ERR);\n\t\t}\n\t\toldAttr = this.getNamedItemNS(attr.namespaceURI,attr.localName);\n\t\t_addNamedNode(this._ownerElement,this,attr,oldAttr);\n\t\treturn oldAttr;\n\t},\n\n\t/* returns Node */\n\tremoveNamedItem: function(key) {\n\t\tvar attr = this.getNamedItem(key);\n\t\t_removeNamedNode(this._ownerElement,this,attr);\n\t\treturn attr;\n\n\n\t},// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR\n\n\t//for level2\n\tremoveNamedItemNS:function(namespaceURI,localName){\n\t\tvar attr = this.getNamedItemNS(namespaceURI,localName);\n\t\t_removeNamedNode(this._ownerElement,this,attr);\n\t\treturn attr;\n\t},\n\tgetNamedItemNS: function(namespaceURI, localName) {\n\t\tvar i = this.length;\n\t\twhile(i--){\n\t\t\tvar node = this[i];\n\t\t\tif(node.localName == localName && node.namespaceURI == namespaceURI){\n\t\t\t\treturn node;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n};\n\n/**\n * The DOMImplementation interface represents an object providing methods\n * which are not dependent on any particular document.\n * Such an object is returned by the `Document.implementation` property.\n *\n * __The individual methods describe the differences compared to the specs.__\n *\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation MDN\n * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490 DOM Level 1 Core (Initial)\n * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-102161490 DOM Level 2 Core\n * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-102161490 DOM Level 3 Core\n * @see https://dom.spec.whatwg.org/#domimplementation DOM Living Standard\n */\nfunction DOMImplementation() {\n}\n\nDOMImplementation.prototype = {\n\t/**\n\t * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.\n\t * The different implementations fairly diverged in what kind of features were reported.\n\t * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.\n\t *\n\t * @deprecated It is deprecated and modern browsers return true in all cases.\n\t *\n\t * @param {string} feature\n\t * @param {string} [version]\n\t * @returns {boolean} always true\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN\n\t * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard\n\t */\n\thasFeature: function(feature, version) {\n\t\t\treturn true;\n\t},\n\t/**\n\t * Creates an XML Document object of the specified type with its document element.\n\t *\n\t * __It behaves slightly different from the description in the living standard__:\n\t * - There is no interface/class `XMLDocument`, it returns a `Document` instance.\n\t * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string|null} namespaceURI\n\t * @param {string} qualifiedName\n\t * @param {DocumentType=null} doctype\n\t * @returns {Document}\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */\n\tcreateDocument: function(namespaceURI, qualifiedName, doctype){\n\t\tvar doc = new Document();\n\t\tdoc.implementation = this;\n\t\tdoc.childNodes = new NodeList();\n\t\tdoc.doctype = doctype || null;\n\t\tif (doctype){\n\t\t\tdoc.appendChild(doctype);\n\t\t}\n\t\tif (qualifiedName){\n\t\t\tvar root = doc.createElementNS(namespaceURI, qualifiedName);\n\t\t\tdoc.appendChild(root);\n\t\t}\n\t\treturn doc;\n\t},\n\t/**\n\t * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.\n\t *\n\t * __This behavior is slightly different from the in the specs__:\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string} qualifiedName\n\t * @param {string} [publicId]\n\t * @param {string} [systemId]\n\t * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation\n\t * \t\t\t\t or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */\n\tcreateDocumentType: function(qualifiedName, publicId, systemId){\n\t\tvar node = new DocumentType();\n\t\tnode.name = qualifiedName;\n\t\tnode.nodeName = qualifiedName;\n\t\tnode.publicId = publicId || '';\n\t\tnode.systemId = systemId || '';\n\n\t\treturn node;\n\t}\n};\n\n\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247\n */\n\nfunction Node() {\n};\n\nNode.prototype = {\n\tfirstChild : null,\n\tlastChild : null,\n\tpreviousSibling : null,\n\tnextSibling : null,\n\tattributes : null,\n\tparentNode : null,\n\tchildNodes : null,\n\townerDocument : null,\n\tnodeValue : null,\n\tnamespaceURI : null,\n\tprefix : null,\n\tlocalName : null,\n\t// Modified in DOM Level 2:\n\tinsertBefore:function(newChild, refChild){//raises\n\t\treturn _insertBefore(this,newChild,refChild);\n\t},\n\treplaceChild:function(newChild, oldChild){//raises\n\t\t_insertBefore(this, newChild,oldChild, assertPreReplacementValidityInDocument);\n\t\tif(oldChild){\n\t\t\tthis.removeChild(oldChild);\n\t\t}\n\t},\n\tremoveChild:function(oldChild){\n\t\treturn _removeChild(this,oldChild);\n\t},\n\tappendChild:function(newChild){\n\t\treturn this.insertBefore(newChild,null);\n\t},\n\thasChildNodes:function(){\n\t\treturn this.firstChild != null;\n\t},\n\tcloneNode:function(deep){\n\t\treturn cloneNode(this.ownerDocument||this,this,deep);\n\t},\n\t// Modified in DOM Level 2:\n\tnormalize:function(){\n\t\tvar child = this.firstChild;\n\t\twhile(child){\n\t\t\tvar next = child.nextSibling;\n\t\t\tif(next && next.nodeType == TEXT_NODE && child.nodeType == TEXT_NODE){\n\t\t\t\tthis.removeChild(next);\n\t\t\t\tchild.appendData(next.data);\n\t\t\t}else{\n\t\t\t\tchild.normalize();\n\t\t\t\tchild = next;\n\t\t\t}\n\t\t}\n\t},\n \t// Introduced in DOM Level 2:\n\tisSupported:function(feature, version){\n\t\treturn this.ownerDocument.implementation.hasFeature(feature,version);\n\t},\n // Introduced in DOM Level 2:\n hasAttributes:function(){\n \treturn this.attributes.length>0;\n },\n\t/**\n\t * Look up the prefix associated to the given namespace URI, starting from this node.\n\t * **The default namespace declarations are ignored by this method.**\n\t * See Namespace Prefix Lookup for details on the algorithm used by this method.\n\t *\n\t * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._\n\t *\n\t * @param {string | null} namespaceURI\n\t * @returns {string | null}\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo\n\t * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix\n\t * @see https://github.com/xmldom/xmldom/issues/322\n\t */\n lookupPrefix:function(namespaceURI){\n \tvar el = this;\n \twhile(el){\n \t\tvar map = el._nsMap;\n \t\t//console.dir(map)\n \t\tif(map){\n \t\t\tfor(var n in map){\n\t\t\t\t\t\tif (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) {\n\t\t\t\t\t\t\treturn n;\n\t\t\t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tel = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;\n \t}\n \treturn null;\n },\n // Introduced in DOM Level 3:\n lookupNamespaceURI:function(prefix){\n \tvar el = this;\n \twhile(el){\n \t\tvar map = el._nsMap;\n \t\t//console.dir(map)\n \t\tif(map){\n \t\t\tif(Object.prototype.hasOwnProperty.call(map, prefix)){\n \t\t\t\treturn map[prefix] ;\n \t\t\t}\n \t\t}\n \t\tel = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;\n \t}\n \treturn null;\n },\n // Introduced in DOM Level 3:\n isDefaultNamespace:function(namespaceURI){\n \tvar prefix = this.lookupPrefix(namespaceURI);\n \treturn prefix == null;\n }\n};\n\n\nfunction _xmlEncoder(c){\n\treturn c == '<' && '&lt;' ||\n c == '>' && '&gt;' ||\n c == '&' && '&amp;' ||\n c == '\"' && '&quot;' ||\n '&#'+c.charCodeAt()+';'\n}\n\n\ncopy(NodeType,Node);\ncopy(NodeType,Node.prototype);\n\n/**\n * @param callback return true for continue,false for break\n * @return boolean true: break visit;\n */\nfunction _visitNode(node,callback){\n\tif(callback(node)){\n\t\treturn true;\n\t}\n\tif(node = node.firstChild){\n\t\tdo{\n\t\t\tif(_visitNode(node,callback)){return true}\n }while(node=node.nextSibling)\n }\n}\n\n\n\nfunction Document(){\n\tthis.ownerDocument = this;\n}\n\nfunction _onAddAttribute(doc,el,newAttr){\n\tdoc && doc._inc++;\n\tvar ns = newAttr.namespaceURI ;\n\tif(ns === NAMESPACE.XMLNS){\n\t\t//update namespace\n\t\tel._nsMap[newAttr.prefix?newAttr.localName:''] = newAttr.value\n\t}\n}\n\nfunction _onRemoveAttribute(doc,el,newAttr,remove){\n\tdoc && doc._inc++;\n\tvar ns = newAttr.namespaceURI ;\n\tif(ns === NAMESPACE.XMLNS){\n\t\t//update namespace\n\t\tdelete el._nsMap[newAttr.prefix?newAttr.localName:'']\n\t}\n}\n\n/**\n * Updates `el.childNodes`, updating the indexed items and it's `length`.\n * Passing `newChild` means it will be appended.\n * Otherwise it's assumed that an item has been removed,\n * and `el.firstNode` and it's `.nextSibling` are used\n * to walk the current list of child nodes.\n *\n * @param {Document} doc\n * @param {Node} el\n * @param {Node} [newChild]\n * @private\n */\nfunction _onUpdateChild (doc, el, newChild) {\n\tif(doc && doc._inc){\n\t\tdoc._inc++;\n\t\t//update childNodes\n\t\tvar cs = el.childNodes;\n\t\tif (newChild) {\n\t\t\tcs[cs.length++] = newChild;\n\t\t} else {\n\t\t\tvar child = el.firstChild;\n\t\t\tvar i = 0;\n\t\t\twhile (child) {\n\t\t\t\tcs[i++] = child;\n\t\t\t\tchild = child.nextSibling;\n\t\t\t}\n\t\t\tcs.length = i;\n\t\t\tdelete cs[cs.length];\n\t\t}\n\t}\n}\n\n/**\n * Removes the connections between `parentNode` and `child`\n * and any existing `child.previousSibling` or `child.nextSibling`.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n *\n * @param {Node} parentNode\n * @param {Node} child\n * @returns {Node} the child that was removed.\n * @private\n */\nfunction _removeChild (parentNode, child) {\n\tvar previous = child.previousSibling;\n\tvar next = child.nextSibling;\n\tif (previous) {\n\t\tprevious.nextSibling = next;\n\t} else {\n\t\tparentNode.firstChild = next;\n\t}\n\tif (next) {\n\t\tnext.previousSibling = previous;\n\t} else {\n\t\tparentNode.lastChild = previous;\n\t}\n\tchild.parentNode = null;\n\tchild.previousSibling = null;\n\tchild.nextSibling = null;\n\t_onUpdateChild(parentNode.ownerDocument, parentNode);\n\treturn child;\n}\n\n/**\n * Returns `true` if `node` can be a parent for insertion.\n * @param {Node} node\n * @returns {boolean}\n */\nfunction hasValidParentNodeType(node) {\n\treturn (\n\t\tnode &&\n\t\t(node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === Node.ELEMENT_NODE)\n\t);\n}\n\n/**\n * Returns `true` if `node` can be inserted according to it's `nodeType`.\n * @param {Node} node\n * @returns {boolean}\n */\nfunction hasInsertableNodeType(node) {\n\treturn (\n\t\tnode &&\n\t\t(isElementNode(node) ||\n\t\t\tisTextNode(node) ||\n\t\t\tisDocTypeNode(node) ||\n\t\t\tnode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ||\n\t\t\tnode.nodeType === Node.COMMENT_NODE ||\n\t\t\tnode.nodeType === Node.PROCESSING_INSTRUCTION_NODE)\n\t);\n}\n\n/**\n * Returns true if `node` is a DOCTYPE node\n * @param {Node} node\n * @returns {boolean}\n */\nfunction isDocTypeNode(node) {\n\treturn node && node.nodeType === Node.DOCUMENT_TYPE_NODE;\n}\n\n/**\n * Returns true if the node is an element\n * @param {Node} node\n * @returns {boolean}\n */\nfunction isElementNode(node) {\n\treturn node && node.nodeType === Node.ELEMENT_NODE;\n}\n/**\n * Returns true if `node` is a text node\n * @param {Node} node\n * @returns {boolean}\n */\nfunction isTextNode(node) {\n\treturn node && node.nodeType === Node.TEXT_NODE;\n}\n\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Document} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */\nfunction isElementInsertionPossible(doc, child) {\n\tvar parentChildNodes = doc.childNodes || [];\n\tif (find(parentChildNodes, isElementNode) || isDocTypeNode(child)) {\n\t\treturn false;\n\t}\n\tvar docTypeNode = find(parentChildNodes, isDocTypeNode);\n\treturn !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Node} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */\nfunction isElementReplacementPossible(doc, child) {\n\tvar parentChildNodes = doc.childNodes || [];\n\n\tfunction hasElementChildThatIsNotChild(node) {\n\t\treturn isElementNode(node) && node !== child;\n\t}\n\n\tif (find(parentChildNodes, hasElementChildThatIsNotChild)) {\n\t\treturn false;\n\t}\n\tvar docTypeNode = find(parentChildNodes, isDocTypeNode);\n\treturn !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n\n/**\n * @private\n * Steps 1-5 of the checks before inserting and before replacing a child are the same.\n *\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */\nfunction assertPreInsertionValidity1to5(parent, node, child) {\n\t// 1. If `parent` is not a Document, DocumentFragment, or Element node, then throw a \"HierarchyRequestError\" DOMException.\n\tif (!hasValidParentNodeType(parent)) {\n\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Unexpected parent node type ' + parent.nodeType);\n\t}\n\t// 2. If `node` is a host-including inclusive ancestor of `parent`, then throw a \"HierarchyRequestError\" DOMException.\n\t// not implemented!\n\t// 3. If `child` is non-null and its parent is not `parent`, then throw a \"NotFoundError\" DOMException.\n\tif (child && child.parentNode !== parent) {\n\t\tthrow new DOMException(NOT_FOUND_ERR, 'child not in parent');\n\t}\n\tif (\n\t\t// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a \"HierarchyRequestError\" DOMException.\n\t\t!hasInsertableNodeType(node) ||\n\t\t// 5. If either `node` is a Text node and `parent` is a document,\n\t\t// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0\n\t\t// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)\n\t\t// or `node` is a doctype and `parent` is not a document, then throw a \"HierarchyRequestError\" DOMException.\n\t\t(isDocTypeNode(node) && parent.nodeType !== Node.DOCUMENT_NODE)\n\t) {\n\t\tthrow new DOMException(\n\t\t\tHIERARCHY_REQUEST_ERR,\n\t\t\t'Unexpected node type ' + node.nodeType + ' for parent node type ' + parent.nodeType\n\t\t);\n\t}\n}\n\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */\nfunction assertPreInsertionValidityInDocument(parent, node, child) {\n\tvar parentChildNodes = parent.childNodes || [];\n\tvar nodeChildNodes = node.childNodes || [];\n\n\t// DocumentFragment\n\tif (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n\t\tvar nodeChildElements = nodeChildNodes.filter(isElementNode);\n\t\t// If node has more than one element child or has a Text node child.\n\t\tif (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');\n\t\t}\n\t\t// Otherwise, if `node` has one element child and either `parent` has an element child,\n\t\t// `child` is a doctype, or `child` is non-null and a doctype is following `child`.\n\t\tif (nodeChildElements.length === 1 && !isElementInsertionPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');\n\t\t}\n\t}\n\t// Element\n\tif (isElementNode(node)) {\n\t\t// `parent` has an element child, `child` is a doctype,\n\t\t// or `child` is non-null and a doctype is following `child`.\n\t\tif (!isElementInsertionPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');\n\t\t}\n\t}\n\t// DocumentType\n\tif (isDocTypeNode(node)) {\n\t\t// `parent` has a doctype child,\n\t\tif (find(parentChildNodes, isDocTypeNode)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');\n\t\t}\n\t\tvar parentElementChild = find(parentChildNodes, isElementNode);\n\t\t// `child` is non-null and an element is preceding `child`,\n\t\tif (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');\n\t\t}\n\t\t// or `child` is null and `parent` has an element child.\n\t\tif (!child && parentElementChild) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can not be appended since element is present');\n\t\t}\n\t}\n}\n\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */\nfunction assertPreReplacementValidityInDocument(parent, node, child) {\n\tvar parentChildNodes = parent.childNodes || [];\n\tvar nodeChildNodes = node.childNodes || [];\n\n\t// DocumentFragment\n\tif (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n\t\tvar nodeChildElements = nodeChildNodes.filter(isElementNode);\n\t\t// If `node` has more than one element child or has a Text node child.\n\t\tif (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');\n\t\t}\n\t\t// Otherwise, if `node` has one element child and either `parent` has an element child that is not `child` or a doctype is following `child`.\n\t\tif (nodeChildElements.length === 1 && !isElementReplacementPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');\n\t\t}\n\t}\n\t// Element\n\tif (isElementNode(node)) {\n\t\t// `parent` has an element child that is not `child` or a doctype is following `child`.\n\t\tif (!isElementReplacementPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');\n\t\t}\n\t}\n\t// DocumentType\n\tif (isDocTypeNode(node)) {\n\t\tfunction hasDoctypeChildThatIsNotChild(node) {\n\t\t\treturn isDocTypeNode(node) && node !== child;\n\t\t}\n\n\t\t// `parent` has a doctype child that is not `child`,\n\t\tif (find(parentChildNodes, hasDoctypeChildThatIsNotChild)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');\n\t\t}\n\t\tvar parentElementChild = find(parentChildNodes, isElementNode);\n\t\t// or an element is preceding `child`.\n\t\tif (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');\n\t\t}\n\t}\n}\n\n/**\n * @private\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */\nfunction _insertBefore(parent, node, child, _inDocumentAssertion) {\n\t// To ensure pre-insertion validity of a node into a parent before a child, run these steps:\n\tassertPreInsertionValidity1to5(parent, node, child);\n\n\t// If parent is a document, and any of the statements below, switched on the interface node implements,\n\t// are true, then throw a \"HierarchyRequestError\" DOMException.\n\tif (parent.nodeType === Node.DOCUMENT_NODE) {\n\t\t(_inDocumentAssertion || assertPreInsertionValidityInDocument)(parent, node, child);\n\t}\n\n\tvar cp = node.parentNode;\n\tif(cp){\n\t\tcp.removeChild(node);//remove and update\n\t}\n\tif(node.nodeType === DOCUMENT_FRAGMENT_NODE){\n\t\tvar newFirst = node.firstChild;\n\t\tif (newFirst == null) {\n\t\t\treturn node;\n\t\t}\n\t\tvar newLast = node.lastChild;\n\t}else{\n\t\tnewFirst = newLast = node;\n\t}\n\tvar pre = child ? child.previousSibling : parent.lastChild;\n\n\tnewFirst.previousSibling = pre;\n\tnewLast.nextSibling = child;\n\n\n\tif(pre){\n\t\tpre.nextSibling = newFirst;\n\t}else{\n\t\tparent.firstChild = newFirst;\n\t}\n\tif(child == null){\n\t\tparent.lastChild = newLast;\n\t}else{\n\t\tchild.previousSibling = newLast;\n\t}\n\tdo{\n\t\tnewFirst.parentNode = parent;\n\t}while(newFirst !== newLast && (newFirst= newFirst.nextSibling))\n\t_onUpdateChild(parent.ownerDocument||parent, parent);\n\t//console.log(parent.lastChild.nextSibling == null)\n\tif (node.nodeType == DOCUMENT_FRAGMENT_NODE) {\n\t\tnode.firstChild = node.lastChild = null;\n\t}\n\treturn node;\n}\n\n/**\n * Appends `newChild` to `parentNode`.\n * If `newChild` is already connected to a `parentNode` it is first removed from it.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n * @param {Node} parentNode\n * @param {Node} newChild\n * @returns {Node}\n * @private\n */\nfunction _appendSingleChild (parentNode, newChild) {\n\tif (newChild.parentNode) {\n\t\tnewChild.parentNode.removeChild(newChild);\n\t}\n\tnewChild.parentNode = parentNode;\n\tnewChild.previousSibling = parentNode.lastChild;\n\tnewChild.nextSibling = null;\n\tif (newChild.previousSibling) {\n\t\tnewChild.previousSibling.nextSibling = newChild;\n\t} else {\n\t\tparentNode.firstChild = newChild;\n\t}\n\tparentNode.lastChild = newChild;\n\t_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);\n\treturn newChild;\n}\n\nDocument.prototype = {\n\t//implementation : null,\n\tnodeName : '#document',\n\tnodeType : DOCUMENT_NODE,\n\t/**\n\t * The DocumentType node of the document.\n\t *\n\t * @readonly\n\t * @type DocumentType\n\t */\n\tdoctype : null,\n\tdocumentElement : null,\n\t_inc : 1,\n\n\tinsertBefore : function(newChild, refChild){//raises\n\t\tif(newChild.nodeType == DOCUMENT_FRAGMENT_NODE){\n\t\t\tvar child = newChild.firstChild;\n\t\t\twhile(child){\n\t\t\t\tvar next = child.nextSibling;\n\t\t\t\tthis.insertBefore(child,refChild);\n\t\t\t\tchild = next;\n\t\t\t}\n\t\t\treturn newChild;\n\t\t}\n\t\t_insertBefore(this, newChild, refChild);\n\t\tnewChild.ownerDocument = this;\n\t\tif (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {\n\t\t\tthis.documentElement = newChild;\n\t\t}\n\n\t\treturn newChild;\n\t},\n\tremoveChild : function(oldChild){\n\t\tif(this.documentElement == oldChild){\n\t\t\tthis.documentElement = null;\n\t\t}\n\t\treturn _removeChild(this,oldChild);\n\t},\n\treplaceChild: function (newChild, oldChild) {\n\t\t//raises\n\t\t_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);\n\t\tnewChild.ownerDocument = this;\n\t\tif (oldChild) {\n\t\t\tthis.removeChild(oldChild);\n\t\t}\n\t\tif (isElementNode(newChild)) {\n\t\t\tthis.documentElement = newChild;\n\t\t}\n\t},\n\t// Introduced in DOM Level 2:\n\timportNode : function(importedNode,deep){\n\t\treturn importNode(this,importedNode,deep);\n\t},\n\t// Introduced in DOM Level 2:\n\tgetElementById :\tfunction(id){\n\t\tvar rtv = null;\n\t\t_visitNode(this.documentElement,function(node){\n\t\t\tif(node.nodeType == ELEMENT_NODE){\n\t\t\t\tif(node.getAttribute('id') == id){\n\t\t\t\t\trtv = node;\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\treturn rtv;\n\t},\n\n\t/**\n\t * The `getElementsByClassName` method of `Document` interface returns an array-like object\n\t * of all child elements which have **all** of the given class name(s).\n\t *\n\t * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.\n\t *\n\t *\n\t * Warning: This is a live LiveNodeList.\n\t * Changes in the DOM will reflect in the array as the changes occur.\n\t * If an element selected by this array no longer qualifies for the selector,\n\t * it will automatically be removed. Be aware of this for iteration purposes.\n\t *\n\t * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName\n\t * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname\n\t */\n\tgetElementsByClassName: function(classNames) {\n\t\tvar classNamesSet = toOrderedSet(classNames)\n\t\treturn new LiveNodeList(this, function(base) {\n\t\t\tvar ls = [];\n\t\t\tif (classNamesSet.length > 0) {\n\t\t\t\t_visitNode(base.documentElement, function(node) {\n\t\t\t\t\tif(node !== base && node.nodeType === ELEMENT_NODE) {\n\t\t\t\t\t\tvar nodeClassNames = node.getAttribute('class')\n\t\t\t\t\t\t// can be null if the attribute does not exist\n\t\t\t\t\t\tif (nodeClassNames) {\n\t\t\t\t\t\t\t// before splitting and iterating just compare them for the most common case\n\t\t\t\t\t\t\tvar matches = classNames === nodeClassNames;\n\t\t\t\t\t\t\tif (!matches) {\n\t\t\t\t\t\t\t\tvar nodeClassNamesSet = toOrderedSet(nodeClassNames)\n\t\t\t\t\t\t\t\tmatches = classNamesSet.every(arrayIncludes(nodeClassNamesSet))\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(matches) {\n\t\t\t\t\t\t\t\tls.push(node);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn ls;\n\t\t});\n\t},\n\n\t//document factory method:\n\tcreateElement :\tfunction(tagName){\n\t\tvar node = new Element();\n\t\tnode.ownerDocument = this;\n\t\tnode.nodeName = tagName;\n\t\tnode.tagName = tagName;\n\t\tnode.localName = tagName;\n\t\tnode.childNodes = new NodeList();\n\t\tvar attrs\t= node.attributes = new NamedNodeMap();\n\t\tattrs._ownerElement = node;\n\t\treturn node;\n\t},\n\tcreateDocumentFragment :\tfunction(){\n\t\tvar node = new DocumentFragment();\n\t\tnode.ownerDocument = this;\n\t\tnode.childNodes = new NodeList();\n\t\treturn node;\n\t},\n\tcreateTextNode :\tfunction(data){\n\t\tvar node = new Text();\n\t\tnode.ownerDocument = this;\n\t\tnode.appendData(data)\n\t\treturn node;\n\t},\n\tcreateComment :\tfunction(data){\n\t\tvar node = new Comment();\n\t\tnode.ownerDocument = this;\n\t\tnode.appendData(data)\n\t\treturn node;\n\t},\n\tcreateCDATASection :\tfunction(data){\n\t\tvar node = new CDATASection();\n\t\tnode.ownerDocument = this;\n\t\tnode.appendData(data)\n\t\treturn node;\n\t},\n\tcreateProcessingInstruction :\tfunction(target,data){\n\t\tvar node = new ProcessingInstruction();\n\t\tnode.ownerDocument = this;\n\t\tnode.tagName = node.nodeName = node.target = target;\n\t\tnode.nodeValue = node.data = data;\n\t\treturn node;\n\t},\n\tcreateAttribute :\tfunction(name){\n\t\tvar node = new Attr();\n\t\tnode.ownerDocument\t= this;\n\t\tnode.name = name;\n\t\tnode.nodeName\t= name;\n\t\tnode.localName = name;\n\t\tnode.specified = true;\n\t\treturn node;\n\t},\n\tcreateEntityReference :\tfunction(name){\n\t\tvar node = new EntityReference();\n\t\tnode.ownerDocument\t= this;\n\t\tnode.nodeName\t= name;\n\t\treturn node;\n\t},\n\t// Introduced in DOM Level 2:\n\tcreateElementNS :\tfunction(namespaceURI,qualifiedName){\n\t\tvar node = new Element();\n\t\tvar pl = qualifiedName.split(':');\n\t\tvar attrs\t= node.attributes = new NamedNodeMap();\n\t\tnode.childNodes = new NodeList();\n\t\tnode.ownerDocument = this;\n\t\tnode.nodeName = qualifiedName;\n\t\tnode.tagName = qualifiedName;\n\t\tnode.namespaceURI = namespaceURI;\n\t\tif(pl.length == 2){\n\t\t\tnode.prefix = pl[0];\n\t\t\tnode.localName = pl[1];\n\t\t}else{\n\t\t\t//el.prefix = null;\n\t\t\tnode.localName = qualifiedName;\n\t\t}\n\t\tattrs._ownerElement = node;\n\t\treturn node;\n\t},\n\t// Introduced in DOM Level 2:\n\tcreateAttributeNS :\tfunction(namespaceURI,qualifiedName){\n\t\tvar node = new Attr();\n\t\tvar pl = qualifiedName.split(':');\n\t\tnode.ownerDocument = this;\n\t\tnode.nodeName = qualifiedName;\n\t\tnode.name = qualifiedName;\n\t\tnode.namespaceURI = namespaceURI;\n\t\tnode.specified = true;\n\t\tif(pl.length == 2){\n\t\t\tnode.prefix = pl[0];\n\t\t\tnode.localName = pl[1];\n\t\t}else{\n\t\t\t//el.prefix = null;\n\t\t\tnode.localName = qualifiedName;\n\t\t}\n\t\treturn node;\n\t}\n};\n_extends(Document,Node);\n\n\nfunction Element() {\n\tthis._nsMap = {};\n};\nElement.prototype = {\n\tnodeType : ELEMENT_NODE,\n\thasAttribute : function(name){\n\t\treturn this.getAttributeNode(name)!=null;\n\t},\n\tgetAttribute : function(name){\n\t\tvar attr = this.getAttributeNode(name);\n\t\treturn attr && attr.value || '';\n\t},\n\tgetAttributeNode : function(name){\n\t\treturn this.attributes.getNamedItem(name);\n\t},\n\tsetAttribute : function(name, value){\n\t\tvar attr = this.ownerDocument.createAttribute(name);\n\t\tattr.value = attr.nodeValue = \"\" + value;\n\t\tthis.setAttributeNode(attr)\n\t},\n\tremoveAttribute : function(name){\n\t\tvar attr = this.getAttributeNode(name)\n\t\tattr && this.removeAttributeNode(attr);\n\t},\n\n\t//four real opeartion method\n\tappendChild:function(newChild){\n\t\tif(newChild.nodeType === DOCUMENT_FRAGMENT_NODE){\n\t\t\treturn this.insertBefore(newChild,null);\n\t\t}else{\n\t\t\treturn _appendSingleChild(this,newChild);\n\t\t}\n\t},\n\tsetAttributeNode : function(newAttr){\n\t\treturn this.attributes.setNamedItem(newAttr);\n\t},\n\tsetAttributeNodeNS : function(newAttr){\n\t\treturn this.attributes.setNamedItemNS(newAttr);\n\t},\n\tremoveAttributeNode : function(oldAttr){\n\t\t//console.log(this == oldAttr.ownerElement)\n\t\treturn this.attributes.removeNamedItem(oldAttr.nodeName);\n\t},\n\t//get real attribute name,and remove it by removeAttributeNode\n\tremoveAttributeNS : function(namespaceURI, localName){\n\t\tvar old = this.getAttributeNodeNS(namespaceURI, localName);\n\t\told && this.removeAttributeNode(old);\n\t},\n\n\thasAttributeNS : function(namespaceURI, localName){\n\t\treturn this.getAttributeNodeNS(namespaceURI, localName)!=null;\n\t},\n\tgetAttributeNS : function(namespaceURI, localName){\n\t\tvar attr = this.getAttributeNodeNS(namespaceURI, localName);\n\t\treturn attr && attr.value || '';\n\t},\n\tsetAttributeNS : function(namespaceURI, qualifiedName, value){\n\t\tvar attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);\n\t\tattr.value = attr.nodeValue = \"\" + value;\n\t\tthis.setAttributeNode(attr)\n\t},\n\tgetAttributeNodeNS : function(namespaceURI, localName){\n\t\treturn this.attributes.getNamedItemNS(namespaceURI, localName);\n\t},\n\n\tgetElementsByTagName : function(tagName){\n\t\treturn new LiveNodeList(this,function(base){\n\t\t\tvar ls = [];\n\t\t\t_visitNode(base,function(node){\n\t\t\t\tif(node !== base && node.nodeType == ELEMENT_NODE && (tagName === '*' || node.tagName == tagName)){\n\t\t\t\t\tls.push(node);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn ls;\n\t\t});\n\t},\n\tgetElementsByTagNameNS : function(namespaceURI, localName){\n\t\treturn new LiveNodeList(this,function(base){\n\t\t\tvar ls = [];\n\t\t\t_visitNode(base,function(node){\n\t\t\t\tif(node !== base && node.nodeType === ELEMENT_NODE && (namespaceURI === '*' || node.namespaceURI === namespaceURI) && (localName === '*' || node.localName == localName)){\n\t\t\t\t\tls.push(node);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn ls;\n\n\t\t});\n\t}\n};\nDocument.prototype.getElementsByTagName = Element.prototype.getElementsByTagName;\nDocument.prototype.getElementsByTagNameNS = Element.prototype.getElementsByTagNameNS;\n\n\n_extends(Element,Node);\nfunction Attr() {\n};\nAttr.prototype.nodeType = ATTRIBUTE_NODE;\n_extends(Attr,Node);\n\n\nfunction CharacterData() {\n};\nCharacterData.prototype = {\n\tdata : '',\n\tsubstringData : function(offset, count) {\n\t\treturn this.data.substring(offset, offset+count);\n\t},\n\tappendData: function(text) {\n\t\ttext = this.data+text;\n\t\tthis.nodeValue = this.data = text;\n\t\tthis.length = text.length;\n\t},\n\tinsertData: function(offset,text) {\n\t\tthis.replaceData(offset,0,text);\n\n\t},\n\tappendChild:function(newChild){\n\t\tthrow new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])\n\t},\n\tdeleteData: function(offset, count) {\n\t\tthis.replaceData(offset,count,\"\");\n\t},\n\treplaceData: function(offset, count, text) {\n\t\tvar start = this.data.substring(0,offset);\n\t\tvar end = this.data.substring(offset+count);\n\t\ttext = start + text + end;\n\t\tthis.nodeValue = this.data = text;\n\t\tthis.length = text.length;\n\t}\n}\n_extends(CharacterData,Node);\nfunction Text() {\n};\nText.prototype = {\n\tnodeName : \"#text\",\n\tnodeType : TEXT_NODE,\n\tsplitText : function(offset) {\n\t\tvar text = this.data;\n\t\tvar newText = text.substring(offset);\n\t\ttext = text.substring(0, offset);\n\t\tthis.data = this.nodeValue = text;\n\t\tthis.length = text.length;\n\t\tvar newNode = this.ownerDocument.createTextNode(newText);\n\t\tif(this.parentNode){\n\t\t\tthis.parentNode.insertBefore(newNode, this.nextSibling);\n\t\t}\n\t\treturn newNode;\n\t}\n}\n_extends(Text,CharacterData);\nfunction Comment() {\n};\nComment.prototype = {\n\tnodeName : \"#comment\",\n\tnodeType : COMMENT_NODE\n}\n_extends(Comment,CharacterData);\n\nfunction CDATASection() {\n};\nCDATASection.prototype = {\n\tnodeName : \"#cdata-section\",\n\tnodeType : CDATA_SECTION_NODE\n}\n_extends(CDATASection,CharacterData);\n\n\nfunction DocumentType() {\n};\nDocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;\n_extends(DocumentType,Node);\n\nfunction Notation() {\n};\nNotation.prototype.nodeType = NOTATION_NODE;\n_extends(Notation,Node);\n\nfunction Entity() {\n};\nEntity.prototype.nodeType = ENTITY_NODE;\n_extends(Entity,Node);\n\nfunction EntityReference() {\n};\nEntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;\n_extends(EntityReference,Node);\n\nfunction DocumentFragment() {\n};\nDocumentFragment.prototype.nodeName =\t\"#document-fragment\";\nDocumentFragment.prototype.nodeType =\tDOCUMENT_FRAGMENT_NODE;\n_extends(DocumentFragment,Node);\n\n\nfunction ProcessingInstruction() {\n}\nProcessingInstruction.prototype.nodeType = PROCESSING_INSTRUCTION_NODE;\n_extends(ProcessingInstruction,Node);\nfunction XMLSerializer(){}\nXMLSerializer.prototype.serializeToString = function(node,isHtml,nodeFilter){\n\treturn nodeSerializeToString.call(node,isHtml,nodeFilter);\n}\nNode.prototype.toString = nodeSerializeToString;\nfunction nodeSerializeToString(isHtml,nodeFilter){\n\tvar buf = [];\n\tvar refNode = this.nodeType == 9 && this.documentElement || this;\n\tvar prefix = refNode.prefix;\n\tvar uri = refNode.namespaceURI;\n\n\tif(uri && prefix == null){\n\t\t//console.log(prefix)\n\t\tvar prefix = refNode.lookupPrefix(uri);\n\t\tif(prefix == null){\n\t\t\t//isHTML = true;\n\t\t\tvar visibleNamespaces=[\n\t\t\t{namespace:uri,prefix:null}\n\t\t\t//{namespace:uri,prefix:''}\n\t\t\t]\n\t\t}\n\t}\n\tserializeToString(this,buf,isHtml,nodeFilter,visibleNamespaces);\n\t//console.log('###',this.nodeType,uri,prefix,buf.join(''))\n\treturn buf.join('');\n}\n\nfunction needNamespaceDefine(node, isHTML, visibleNamespaces) {\n\tvar prefix = node.prefix || '';\n\tvar uri = node.namespaceURI;\n\t// According to [Namespaces in XML 1.0](https://www.w3.org/TR/REC-xml-names/#ns-using) ,\n\t// and more specifically https://www.w3.org/TR/REC-xml-names/#nsc-NoPrefixUndecl :\n\t// > In a namespace declaration for a prefix [...], the attribute value MUST NOT be empty.\n\t// in a similar manner [Namespaces in XML 1.1](https://www.w3.org/TR/xml-names11/#ns-using)\n\t// and more specifically https://www.w3.org/TR/xml-names11/#nsc-NSDeclared :\n\t// > [...] Furthermore, the attribute value [...] must not be an empty string.\n\t// so serializing empty namespace value like xmlns:ds=\"\" would produce an invalid XML document.\n\tif (!uri) {\n\t\treturn false;\n\t}\n\tif (prefix === \"xml\" && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) {\n\t\treturn false;\n\t}\n\n\tvar i = visibleNamespaces.length\n\twhile (i--) {\n\t\tvar ns = visibleNamespaces[i];\n\t\t// get namespace prefix\n\t\tif (ns.prefix === prefix) {\n\t\t\treturn ns.namespace !== uri;\n\t\t}\n\t}\n\treturn true;\n}\n/**\n * Well-formed constraint: No < in Attribute Values\n * > The replacement text of any entity referred to directly or indirectly\n * > in an attribute value must not contain a <.\n * @see https://www.w3.org/TR/xml11/#CleanAttrVals\n * @see https://www.w3.org/TR/xml11/#NT-AttValue\n *\n * Literal whitespace other than space that appear in attribute values\n * are serialized as their entity references, so they will be preserved.\n * (In contrast to whitespace literals in the input which are normalized to spaces)\n * @see https://www.w3.org/TR/xml11/#AVNormalize\n * @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes\n */\nfunction addSerializedAttribute(buf, qualifiedName, value) {\n\tbuf.push(' ', qualifiedName, '=\"', value.replace(/[<>&\"\\t\\n\\r]/g, _xmlEncoder), '\"')\n}\n\nfunction serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){\n\tif (!visibleNamespaces) {\n\t\tvisibleNamespaces = [];\n\t}\n\n\tif(nodeFilter){\n\t\tnode = nodeFilter(node);\n\t\tif(node){\n\t\t\tif(typeof node == 'string'){\n\t\t\t\tbuf.push(node);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else{\n\t\t\treturn;\n\t\t}\n\t\t//buf.sort.apply(attrs, attributeSorter);\n\t}\n\n\tswitch(node.nodeType){\n\tcase ELEMENT_NODE:\n\t\tvar attrs = node.attributes;\n\t\tvar len = attrs.length;\n\t\tvar child = node.firstChild;\n\t\tvar nodeName = node.tagName;\n\n\t\tisHTML = NAMESPACE.isHTML(node.namespaceURI) || isHTML\n\n\t\tvar prefixedNodeName = nodeName\n\t\tif (!isHTML && !node.prefix && node.namespaceURI) {\n\t\t\tvar defaultNS\n\t\t\t// lookup current default ns from `xmlns` attribute\n\t\t\tfor (var ai = 0; ai < attrs.length; ai++) {\n\t\t\t\tif (attrs.item(ai).name === 'xmlns') {\n\t\t\t\t\tdefaultNS = attrs.item(ai).value\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!defaultNS) {\n\t\t\t\t// lookup current default ns in visibleNamespaces\n\t\t\t\tfor (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {\n\t\t\t\t\tvar namespace = visibleNamespaces[nsi]\n\t\t\t\t\tif (namespace.prefix === '' && namespace.namespace === node.namespaceURI) {\n\t\t\t\t\t\tdefaultNS = namespace.namespace\n\t\t\t\t\t\tbreak\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (defaultNS !== node.namespaceURI) {\n\t\t\t\tfor (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {\n\t\t\t\t\tvar namespace = visibleNamespaces[nsi]\n\t\t\t\t\tif (namespace.namespace === node.namespaceURI) {\n\t\t\t\t\t\tif (namespace.prefix) {\n\t\t\t\t\t\t\tprefixedNodeName = namespace.prefix + ':' + nodeName\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuf.push('<', prefixedNodeName);\n\n\t\tfor(var i=0;i<len;i++){\n\t\t\t// add namespaces for attributes\n\t\t\tvar attr = attrs.item(i);\n\t\t\tif (attr.prefix == 'xmlns') {\n\t\t\t\tvisibleNamespaces.push({ prefix: attr.localName, namespace: attr.value });\n\t\t\t}else if(attr.nodeName == 'xmlns'){\n\t\t\t\tvisibleNamespaces.push({ prefix: '', namespace: attr.value });\n\t\t\t}\n\t\t}\n\n\t\tfor(var i=0;i<len;i++){\n\t\t\tvar attr = attrs.item(i);\n\t\t\tif (needNamespaceDefine(attr,isHTML, visibleNamespaces)) {\n\t\t\t\tvar prefix = attr.prefix||'';\n\t\t\t\tvar uri = attr.namespaceURI;\n\t\t\t\taddSerializedAttribute(buf, prefix ? 'xmlns:' + prefix : \"xmlns\", uri);\n\t\t\t\tvisibleNamespaces.push({ prefix: prefix, namespace:uri });\n\t\t\t}\n\t\t\tserializeToString(attr,buf,isHTML,nodeFilter,visibleNamespaces);\n\t\t}\n\n\t\t// add namespace for current node\n\t\tif (nodeName === prefixedNodeName && needNamespaceDefine(node, isHTML, visibleNamespaces)) {\n\t\t\tvar prefix = node.prefix||'';\n\t\t\tvar uri = node.namespaceURI;\n\t\t\taddSerializedAttribute(buf, prefix ? 'xmlns:' + prefix : \"xmlns\", uri);\n\t\t\tvisibleNamespaces.push({ prefix: prefix, namespace:uri });\n\t\t}\n\n\t\tif(child || isHTML && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)){\n\t\t\tbuf.push('>');\n\t\t\t//if is cdata child node\n\t\t\tif(isHTML && /^script$/i.test(nodeName)){\n\t\t\t\twhile(child){\n\t\t\t\t\tif(child.data){\n\t\t\t\t\t\tbuf.push(child.data);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tserializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n\t\t\t\t\t}\n\t\t\t\t\tchild = child.nextSibling;\n\t\t\t\t}\n\t\t\t}else\n\t\t\t{\n\t\t\t\twhile(child){\n\t\t\t\t\tserializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n\t\t\t\t\tchild = child.nextSibling;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbuf.push('</',prefixedNodeName,'>');\n\t\t}else{\n\t\t\tbuf.push('/>');\n\t\t}\n\t\t// remove added visible namespaces\n\t\t//visibleNamespaces.length = startVisibleNamespaces;\n\t\treturn;\n\tcase DOCUMENT_NODE:\n\tcase DOCUMENT_FRAGMENT_NODE:\n\t\tvar child = node.firstChild;\n\t\twhile(child){\n\t\t\tserializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n\t\t\tchild = child.nextSibling;\n\t\t}\n\t\treturn;\n\tcase ATTRIBUTE_NODE:\n\t\treturn addSerializedAttribute(buf, node.name, node.value);\n\tcase TEXT_NODE:\n\t\t/**\n\t\t * The ampersand character (&) and the left angle bracket (<) must not appear in their literal form,\n\t\t * except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.\n\t\t * If they are needed elsewhere, they must be escaped using either numeric character references or the strings\n\t\t * `&amp;` and `&lt;` respectively.\n\t\t * The right angle bracket (>) may be represented using the string \" &gt; \", and must, for compatibility,\n\t\t * be escaped using either `&gt;` or a character reference when it appears in the string `]]>` in content,\n\t\t * when that string is not marking the end of a CDATA section.\n\t\t *\n\t\t * In the content of elements, character data is any string of characters\n\t\t * which does not contain the start-delimiter of any markup\n\t\t * and does not include the CDATA-section-close delimiter, `]]>`.\n\t\t *\n\t\t * @see https://www.w3.org/TR/xml/#NT-CharData\n\t\t * @see https://w3c.github.io/DOM-Parsing/#xml-serializing-a-text-node\n\t\t */\n\t\treturn buf.push(node.data\n\t\t\t.replace(/[<&>]/g,_xmlEncoder)\n\t\t);\n\tcase CDATA_SECTION_NODE:\n\t\treturn buf.push( '<![CDATA[',node.data,']]>');\n\tcase COMMENT_NODE:\n\t\treturn buf.push( \"<!--\",node.data,\"-->\");\n\tcase DOCUMENT_TYPE_NODE:\n\t\tvar pubid = node.publicId;\n\t\tvar sysid = node.systemId;\n\t\tbuf.push('<!DOCTYPE ',node.name);\n\t\tif(pubid){\n\t\t\tbuf.push(' PUBLIC ', pubid);\n\t\t\tif (sysid && sysid!='.') {\n\t\t\t\tbuf.push(' ', sysid);\n\t\t\t}\n\t\t\tbuf.push('>');\n\t\t}else if(sysid && sysid!='.'){\n\t\t\tbuf.push(' SYSTEM ', sysid, '>');\n\t\t}else{\n\t\t\tvar sub = node.internalSubset;\n\t\t\tif(sub){\n\t\t\t\tbuf.push(\" [\",sub,\"]\");\n\t\t\t}\n\t\t\tbuf.push(\">\");\n\t\t}\n\t\treturn;\n\tcase PROCESSING_INSTRUCTION_NODE:\n\t\treturn buf.push( \"<?\",node.target,\" \",node.data,\"?>\");\n\tcase ENTITY_REFERENCE_NODE:\n\t\treturn buf.push( '&',node.nodeName,';');\n\t//case ENTITY_NODE:\n\t//case NOTATION_NODE:\n\tdefault:\n\t\tbuf.push('??',node.nodeName);\n\t}\n}\nfunction importNode(doc,node,deep){\n\tvar node2;\n\tswitch (node.nodeType) {\n\tcase ELEMENT_NODE:\n\t\tnode2 = node.cloneNode(false);\n\t\tnode2.ownerDocument = doc;\n\t\t//var attrs = node2.attributes;\n\t\t//var len = attrs.length;\n\t\t//for(var i=0;i<len;i++){\n\t\t\t//node2.setAttributeNodeNS(importNode(doc,attrs.item(i),deep));\n\t\t//}\n\tcase DOCUMENT_FRAGMENT_NODE:\n\t\tbreak;\n\tcase ATTRIBUTE_NODE:\n\t\tdeep = true;\n\t\tbreak;\n\t//case ENTITY_REFERENCE_NODE:\n\t//case PROCESSING_INSTRUCTION_NODE:\n\t////case TEXT_NODE:\n\t//case CDATA_SECTION_NODE:\n\t//case COMMENT_NODE:\n\t//\tdeep = false;\n\t//\tbreak;\n\t//case DOCUMENT_NODE:\n\t//case DOCUMENT_TYPE_NODE:\n\t//cannot be imported.\n\t//case ENTITY_NODE:\n\t//case NOTATION_NODE\n\t//can not hit in level3\n\t//default:throw e;\n\t}\n\tif(!node2){\n\t\tnode2 = node.cloneNode(false);//false\n\t}\n\tnode2.ownerDocument = doc;\n\tnode2.parentNode = null;\n\tif(deep){\n\t\tvar child = node.firstChild;\n\t\twhile(child){\n\t\t\tnode2.appendChild(importNode(doc,child,deep));\n\t\t\tchild = child.nextSibling;\n\t\t}\n\t}\n\treturn node2;\n}\n//\n//var _relationMap = {firstChild:1,lastChild:1,previousSibling:1,nextSibling:1,\n//\t\t\t\t\tattributes:1,childNodes:1,parentNode:1,documentElement:1,doctype,};\nfunction cloneNode(doc,node,deep){\n\tvar node2 = new node.constructor();\n\tfor (var n in node) {\n\t\tif (Object.prototype.hasOwnProperty.call(node, n)) {\n\t\t\tvar v = node[n];\n\t\t\tif (typeof v != \"object\") {\n\t\t\t\tif (v != node2[n]) {\n\t\t\t\t\tnode2[n] = v;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif(node.childNodes){\n\t\tnode2.childNodes = new NodeList();\n\t}\n\tnode2.ownerDocument = doc;\n\tswitch (node2.nodeType) {\n\tcase ELEMENT_NODE:\n\t\tvar attrs\t= node.attributes;\n\t\tvar attrs2\t= node2.attributes = new NamedNodeMap();\n\t\tvar len = attrs.length\n\t\tattrs2._ownerElement = node2;\n\t\tfor(var i=0;i<len;i++){\n\t\t\tnode2.setAttributeNode(cloneNode(doc,attrs.item(i),true));\n\t\t}\n\t\tbreak;;\n\tcase ATTRIBUTE_NODE:\n\t\tdeep = true;\n\t}\n\tif(deep){\n\t\tvar child = node.firstChild;\n\t\twhile(child){\n\t\t\tnode2.appendChild(cloneNode(doc,child,deep));\n\t\t\tchild = child.nextSibling;\n\t\t}\n\t}\n\treturn node2;\n}\n\nfunction __set__(object,key,value){\n\tobject[key] = value\n}\n//do dynamic\ntry{\n\tif(Object.defineProperty){\n\t\tObject.defineProperty(LiveNodeList.prototype,'length',{\n\t\t\tget:function(){\n\t\t\t\t_updateLiveList(this);\n\t\t\t\treturn this.$$length;\n\t\t\t}\n\t\t});\n\n\t\tObject.defineProperty(Node.prototype,'textContent',{\n\t\t\tget:function(){\n\t\t\t\treturn getTextContent(this);\n\t\t\t},\n\n\t\t\tset:function(data){\n\t\t\t\tswitch(this.nodeType){\n\t\t\t\tcase ELEMENT_NODE:\n\t\t\t\tcase DOCUMENT_FRAGMENT_NODE:\n\t\t\t\t\twhile(this.firstChild){\n\t\t\t\t\t\tthis.removeChild(this.firstChild);\n\t\t\t\t\t}\n\t\t\t\t\tif(data || String(data)){\n\t\t\t\t\t\tthis.appendChild(this.ownerDocument.createTextNode(data));\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthis.data = data;\n\t\t\t\t\tthis.value = data;\n\t\t\t\t\tthis.nodeValue = data;\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\n\t\tfunction getTextContent(node){\n\t\t\tswitch(node.nodeType){\n\t\t\tcase ELEMENT_NODE:\n\t\t\tcase DOCUMENT_FRAGMENT_NODE:\n\t\t\t\tvar buf = [];\n\t\t\t\tnode = node.firstChild;\n\t\t\t\twhile(node){\n\t\t\t\t\tif(node.nodeType!==7 && node.nodeType !==8){\n\t\t\t\t\t\tbuf.push(getTextContent(node));\n\t\t\t\t\t}\n\t\t\t\t\tnode = node.nextSibling;\n\t\t\t\t}\n\t\t\t\treturn buf.join('');\n\t\t\tdefault:\n\t\t\t\treturn node.nodeValue;\n\t\t\t}\n\t\t}\n\n\t\t__set__ = function(object,key,value){\n\t\t\t//console.log(value)\n\t\t\tobject['$$'+key] = value\n\t\t}\n\t}\n}catch(e){//ie8\n}\n\n//if(typeof require == 'function'){\n\texports.DocumentType = DocumentType;\n\texports.DOMException = DOMException;\n\texports.DOMImplementation = DOMImplementation;\n\texports.Element = Element;\n\texports.Node = Node;\n\texports.NodeList = NodeList;\n\texports.XMLSerializer = XMLSerializer;\n//}\n","'use strict';\n\nvar freeze = require('./conventions').freeze;\n\n/**\n * The entities that are predefined in every XML document.\n *\n * @see https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-predefined-ent W3C XML 1.1\n * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia\n */\nexports.XML_ENTITIES = freeze({\n\tamp: '&',\n\tapos: \"'\",\n\tgt: '>',\n\tlt: '<',\n\tquot: '\"',\n});\n\n/**\n * A map of all entities that are detected in an HTML document.\n * They contain all entries from `XML_ENTITIES`.\n *\n * @see XML_ENTITIES\n * @see DOMParser.parseFromString\n * @see DOMImplementation.prototype.createHTMLDocument\n * @see https://html.spec.whatwg.org/#named-character-references WHATWG HTML(5) Spec\n * @see https://html.spec.whatwg.org/entities.json JSON\n * @see https://www.w3.org/TR/xml-entity-names/ W3C XML Entity Names\n * @see https://www.w3.org/TR/html4/sgml/entities.html W3C HTML4/SGML\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)\n */\nexports.HTML_ENTITIES = freeze({\n\tAacute: '\\u00C1',\n\taacute: '\\u00E1',\n\tAbreve: '\\u0102',\n\tabreve: '\\u0103',\n\tac: '\\u223E',\n\tacd: '\\u223F',\n\tacE: '\\u223E\\u0333',\n\tAcirc: '\\u00C2',\n\tacirc: '\\u00E2',\n\tacute: '\\u00B4',\n\tAcy: '\\u0410',\n\tacy: '\\u0430',\n\tAElig: '\\u00C6',\n\taelig: '\\u00E6',\n\taf: '\\u2061',\n\tAfr: '\\uD835\\uDD04',\n\tafr: '\\uD835\\uDD1E',\n\tAgrave: '\\u00C0',\n\tagrave: '\\u00E0',\n\talefsym: '\\u2135',\n\taleph: '\\u2135',\n\tAlpha: '\\u0391',\n\talpha: '\\u03B1',\n\tAmacr: '\\u0100',\n\tamacr: '\\u0101',\n\tamalg: '\\u2A3F',\n\tAMP: '\\u0026',\n\tamp: '\\u0026',\n\tAnd: '\\u2A53',\n\tand: '\\u2227',\n\tandand: '\\u2A55',\n\tandd: '\\u2A5C',\n\tandslope: '\\u2A58',\n\tandv: '\\u2A5A',\n\tang: '\\u2220',\n\tange: '\\u29A4',\n\tangle: '\\u2220',\n\tangmsd: '\\u2221',\n\tangmsdaa: '\\u29A8',\n\tangmsdab: '\\u29A9',\n\tangmsdac: '\\u29AA',\n\tangmsdad: '\\u29AB',\n\tangmsdae: '\\u29AC',\n\tangmsdaf: '\\u29AD',\n\tangmsdag: '\\u29AE',\n\tangmsdah: '\\u29AF',\n\tangrt: '\\u221F',\n\tangrtvb: '\\u22BE',\n\tangrtvbd: '\\u299D',\n\tangsph: '\\u2222',\n\tangst: '\\u00C5',\n\tangzarr: '\\u237C',\n\tAogon: '\\u0104',\n\taogon: '\\u0105',\n\tAopf: '\\uD835\\uDD38',\n\taopf: '\\uD835\\uDD52',\n\tap: '\\u2248',\n\tapacir: '\\u2A6F',\n\tapE: '\\u2A70',\n\tape: '\\u224A',\n\tapid: '\\u224B',\n\tapos: '\\u0027',\n\tApplyFunction: '\\u2061',\n\tapprox: '\\u2248',\n\tapproxeq: '\\u224A',\n\tAring: '\\u00C5',\n\taring: '\\u00E5',\n\tAscr: '\\uD835\\uDC9C',\n\tascr: '\\uD835\\uDCB6',\n\tAssign: '\\u2254',\n\tast: '\\u002A',\n\tasymp: '\\u2248',\n\tasympeq: '\\u224D',\n\tAtilde: '\\u00C3',\n\tatilde: '\\u00E3',\n\tAuml: '\\u00C4',\n\tauml: '\\u00E4',\n\tawconint: '\\u2233',\n\tawint: '\\u2A11',\n\tbackcong: '\\u224C',\n\tbackepsilon: '\\u03F6',\n\tbackprime: '\\u2035',\n\tbacksim: '\\u223D',\n\tbacksimeq: '\\u22CD',\n\tBackslash: '\\u2216',\n\tBarv: '\\u2AE7',\n\tbarvee: '\\u22BD',\n\tBarwed: '\\u2306',\n\tbarwed: '\\u2305',\n\tbarwedge: '\\u2305',\n\tbbrk: '\\u23B5',\n\tbbrktbrk: '\\u23B6',\n\tbcong: '\\u224C',\n\tBcy: '\\u0411',\n\tbcy: '\\u0431',\n\tbdquo: '\\u201E',\n\tbecaus: '\\u2235',\n\tBecause: '\\u2235',\n\tbecause: '\\u2235',\n\tbemptyv: '\\u29B0',\n\tbepsi: '\\u03F6',\n\tbernou: '\\u212C',\n\tBernoullis: '\\u212C',\n\tBeta: '\\u0392',\n\tbeta: '\\u03B2',\n\tbeth: '\\u2136',\n\tbetween: '\\u226C',\n\tBfr: '\\uD835\\uDD05',\n\tbfr: '\\uD835\\uDD1F',\n\tbigcap: '\\u22C2',\n\tbigcirc: '\\u25EF',\n\tbigcup: '\\u22C3',\n\tbigodot: '\\u2A00',\n\tbigoplus: '\\u2A01',\n\tbigotimes: '\\u2A02',\n\tbigsqcup: '\\u2A06',\n\tbigstar: '\\u2605',\n\tbigtriangledown: '\\u25BD',\n\tbigtriangleup: '\\u25B3',\n\tbiguplus: '\\u2A04',\n\tbigvee: '\\u22C1',\n\tbigwedge: '\\u22C0',\n\tbkarow: '\\u290D',\n\tblacklozenge: '\\u29EB',\n\tblacksquare: '\\u25AA',\n\tblacktriangle: '\\u25B4',\n\tblacktriangledown: '\\u25BE',\n\tblacktriangleleft: '\\u25C2',\n\tblacktriangleright: '\\u25B8',\n\tblank: '\\u2423',\n\tblk12: '\\u2592',\n\tblk14: '\\u2591',\n\tblk34: '\\u2593',\n\tblock: '\\u2588',\n\tbne: '\\u003D\\u20E5',\n\tbnequiv: '\\u2261\\u20E5',\n\tbNot: '\\u2AED',\n\tbnot: '\\u2310',\n\tBopf: '\\uD835\\uDD39',\n\tbopf: '\\uD835\\uDD53',\n\tbot: '\\u22A5',\n\tbottom: '\\u22A5',\n\tbowtie: '\\u22C8',\n\tboxbox: '\\u29C9',\n\tboxDL: '\\u2557',\n\tboxDl: '\\u2556',\n\tboxdL: '\\u2555',\n\tboxdl: '\\u2510',\n\tboxDR: '\\u2554',\n\tboxDr: '\\u2553',\n\tboxdR: '\\u2552',\n\tboxdr: '\\u250C',\n\tboxH: '\\u2550',\n\tboxh: '\\u2500',\n\tboxHD: '\\u2566',\n\tboxHd: '\\u2564',\n\tboxhD: '\\u2565',\n\tboxhd: '\\u252C',\n\tboxHU: '\\u2569',\n\tboxHu: '\\u2567',\n\tboxhU: '\\u2568',\n\tboxhu: '\\u2534',\n\tboxminus: '\\u229F',\n\tboxplus: '\\u229E',\n\tboxtimes: '\\u22A0',\n\tboxUL: '\\u255D',\n\tboxUl: '\\u255C',\n\tboxuL: '\\u255B',\n\tboxul: '\\u2518',\n\tboxUR: '\\u255A',\n\tboxUr: '\\u2559',\n\tboxuR: '\\u2558',\n\tboxur: '\\u2514',\n\tboxV: '\\u2551',\n\tboxv: '\\u2502',\n\tboxVH: '\\u256C',\n\tboxVh: '\\u256B',\n\tboxvH: '\\u256A',\n\tboxvh: '\\u253C',\n\tboxVL: '\\u2563',\n\tboxVl: '\\u2562',\n\tboxvL: '\\u2561',\n\tboxvl: '\\u2524',\n\tboxVR: '\\u2560',\n\tboxVr: '\\u255F',\n\tboxvR: '\\u255E',\n\tboxvr: '\\u251C',\n\tbprime: '\\u2035',\n\tBreve: '\\u02D8',\n\tbreve: '\\u02D8',\n\tbrvbar: '\\u00A6',\n\tBscr: '\\u212C',\n\tbscr: '\\uD835\\uDCB7',\n\tbsemi: '\\u204F',\n\tbsim: '\\u223D',\n\tbsime: '\\u22CD',\n\tbsol: '\\u005C',\n\tbsolb: '\\u29C5',\n\tbsolhsub: '\\u27C8',\n\tbull: '\\u2022',\n\tbullet: '\\u2022',\n\tbump: '\\u224E',\n\tbumpE: '\\u2AAE',\n\tbumpe: '\\u224F',\n\tBumpeq: '\\u224E',\n\tbumpeq: '\\u224F',\n\tCacute: '\\u0106',\n\tcacute: '\\u0107',\n\tCap: '\\u22D2',\n\tcap: '\\u2229',\n\tcapand: '\\u2A44',\n\tcapbrcup: '\\u2A49',\n\tcapcap: '\\u2A4B',\n\tcapcup: '\\u2A47',\n\tcapdot: '\\u2A40',\n\tCapitalDifferentialD: '\\u2145',\n\tcaps: '\\u2229\\uFE00',\n\tcaret: '\\u2041',\n\tcaron: '\\u02C7',\n\tCayleys: '\\u212D',\n\tccaps: '\\u2A4D',\n\tCcaron: '\\u010C',\n\tccaron: '\\u010D',\n\tCcedil: '\\u00C7',\n\tccedil: '\\u00E7',\n\tCcirc: '\\u0108',\n\tccirc: '\\u0109',\n\tCconint: '\\u2230',\n\tccups: '\\u2A4C',\n\tccupssm: '\\u2A50',\n\tCdot: '\\u010A',\n\tcdot: '\\u010B',\n\tcedil: '\\u00B8',\n\tCedilla: '\\u00B8',\n\tcemptyv: '\\u29B2',\n\tcent: '\\u00A2',\n\tCenterDot: '\\u00B7',\n\tcenterdot: '\\u00B7',\n\tCfr: '\\u212D',\n\tcfr: '\\uD835\\uDD20',\n\tCHcy: '\\u0427',\n\tchcy: '\\u0447',\n\tcheck: '\\u2713',\n\tcheckmark: '\\u2713',\n\tChi: '\\u03A7',\n\tchi: '\\u03C7',\n\tcir: '\\u25CB',\n\tcirc: '\\u02C6',\n\tcirceq: '\\u2257',\n\tcirclearrowleft: '\\u21BA',\n\tcirclearrowright: '\\u21BB',\n\tcircledast: '\\u229B',\n\tcircledcirc: '\\u229A',\n\tcircleddash: '\\u229D',\n\tCircleDot: '\\u2299',\n\tcircledR: '\\u00AE',\n\tcircledS: '\\u24C8',\n\tCircleMinus: '\\u2296',\n\tCirclePlus: '\\u2295',\n\tCircleTimes: '\\u2297',\n\tcirE: '\\u29C3',\n\tcire: '\\u2257',\n\tcirfnint: '\\u2A10',\n\tcirmid: '\\u2AEF',\n\tcirscir: '\\u29C2',\n\tClockwiseContourIntegral: '\\u2232',\n\tCloseCurlyDoubleQuote: '\\u201D',\n\tCloseCurlyQuote: '\\u2019',\n\tclubs: '\\u2663',\n\tclubsuit: '\\u2663',\n\tColon: '\\u2237',\n\tcolon: '\\u003A',\n\tColone: '\\u2A74',\n\tcolone: '\\u2254',\n\tcoloneq: '\\u2254',\n\tcomma: '\\u002C',\n\tcommat: '\\u0040',\n\tcomp: '\\u2201',\n\tcompfn: '\\u2218',\n\tcomplement: '\\u2201',\n\tcomplexes: '\\u2102',\n\tcong: '\\u2245',\n\tcongdot: '\\u2A6D',\n\tCongruent: '\\u2261',\n\tConint: '\\u222F',\n\tconint: '\\u222E',\n\tContourIntegral: '\\u222E',\n\tCopf: '\\u2102',\n\tcopf: '\\uD835\\uDD54',\n\tcoprod: '\\u2210',\n\tCoproduct: '\\u2210',\n\tCOPY: '\\u00A9',\n\tcopy: '\\u00A9',\n\tcopysr: '\\u2117',\n\tCounterClockwiseContourIntegral: '\\u2233',\n\tcrarr: '\\u21B5',\n\tCross: '\\u2A2F',\n\tcross: '\\u2717',\n\tCscr: '\\uD835\\uDC9E',\n\tcscr: '\\uD835\\uDCB8',\n\tcsub: '\\u2ACF',\n\tcsube: '\\u2AD1',\n\tcsup: '\\u2AD0',\n\tcsupe: '\\u2AD2',\n\tctdot: '\\u22EF',\n\tcudarrl: '\\u2938',\n\tcudarrr: '\\u2935',\n\tcuepr: '\\u22DE',\n\tcuesc: '\\u22DF',\n\tcularr: '\\u21B6',\n\tcularrp: '\\u293D',\n\tCup: '\\u22D3',\n\tcup: '\\u222A',\n\tcupbrcap: '\\u2A48',\n\tCupCap: '\\u224D',\n\tcupcap: '\\u2A46',\n\tcupcup: '\\u2A4A',\n\tcupdot: '\\u228D',\n\tcupor: '\\u2A45',\n\tcups: '\\u222A\\uFE00',\n\tcurarr: '\\u21B7',\n\tcurarrm: '\\u293C',\n\tcurlyeqprec: '\\u22DE',\n\tcurlyeqsucc: '\\u22DF',\n\tcurlyvee: '\\u22CE',\n\tcurlywedge: '\\u22CF',\n\tcurren: '\\u00A4',\n\tcurvearrowleft: '\\u21B6',\n\tcurvearrowright: '\\u21B7',\n\tcuvee: '\\u22CE',\n\tcuwed: '\\u22CF',\n\tcwconint: '\\u2232',\n\tcwint: '\\u2231',\n\tcylcty: '\\u232D',\n\tDagger: '\\u2021',\n\tdagger: '\\u2020',\n\tdaleth: '\\u2138',\n\tDarr: '\\u21A1',\n\tdArr: '\\u21D3',\n\tdarr: '\\u2193',\n\tdash: '\\u2010',\n\tDashv: '\\u2AE4',\n\tdashv: '\\u22A3',\n\tdbkarow: '\\u290F',\n\tdblac: '\\u02DD',\n\tDcaron: '\\u010E',\n\tdcaron: '\\u010F',\n\tDcy: '\\u0414',\n\tdcy: '\\u0434',\n\tDD: '\\u2145',\n\tdd: '\\u2146',\n\tddagger: '\\u2021',\n\tddarr: '\\u21CA',\n\tDDotrahd: '\\u2911',\n\tddotseq: '\\u2A77',\n\tdeg: '\\u00B0',\n\tDel: '\\u2207',\n\tDelta: '\\u0394',\n\tdelta: '\\u03B4',\n\tdemptyv: '\\u29B1',\n\tdfisht: '\\u297F',\n\tDfr: '\\uD835\\uDD07',\n\tdfr: '\\uD835\\uDD21',\n\tdHar: '\\u2965',\n\tdharl: '\\u21C3',\n\tdharr: '\\u21C2',\n\tDiacriticalAcute: '\\u00B4',\n\tDiacriticalDot: '\\u02D9',\n\tDiacriticalDoubleAcute: '\\u02DD',\n\tDiacriticalGrave: '\\u0060',\n\tDiacriticalTilde: '\\u02DC',\n\tdiam: '\\u22C4',\n\tDiamond: '\\u22C4',\n\tdiamond: '\\u22C4',\n\tdiamondsuit: '\\u2666',\n\tdiams: '\\u2666',\n\tdie: '\\u00A8',\n\tDifferentialD: '\\u2146',\n\tdigamma: '\\u03DD',\n\tdisin: '\\u22F2',\n\tdiv: '\\u00F7',\n\tdivide: '\\u00F7',\n\tdivideontimes: '\\u22C7',\n\tdivonx: '\\u22C7',\n\tDJcy: '\\u0402',\n\tdjcy: '\\u0452',\n\tdlcorn: '\\u231E',\n\tdlcrop: '\\u230D',\n\tdollar: '\\u0024',\n\tDopf: '\\uD835\\uDD3B',\n\tdopf: '\\uD835\\uDD55',\n\tDot: '\\u00A8',\n\tdot: '\\u02D9',\n\tDotDot: '\\u20DC',\n\tdoteq: '\\u2250',\n\tdoteqdot: '\\u2251',\n\tDotEqual: '\\u2250',\n\tdotminus: '\\u2238',\n\tdotplus: '\\u2214',\n\tdotsquare: '\\u22A1',\n\tdoublebarwedge: '\\u2306',\n\tDoubleContourIntegral: '\\u222F',\n\tDoubleDot: '\\u00A8',\n\tDoubleDownArrow: '\\u21D3',\n\tDoubleLeftArrow: '\\u21D0',\n\tDoubleLeftRightArrow: '\\u21D4',\n\tDoubleLeftTee: '\\u2AE4',\n\tDoubleLongLeftArrow: '\\u27F8',\n\tDoubleLongLeftRightArrow: '\\u27FA',\n\tDoubleLongRightArrow: '\\u27F9',\n\tDoubleRightArrow: '\\u21D2',\n\tDoubleRightTee: '\\u22A8',\n\tDoubleUpArrow: '\\u21D1',\n\tDoubleUpDownArrow: '\\u21D5',\n\tDoubleVerticalBar: '\\u2225',\n\tDownArrow: '\\u2193',\n\tDownarrow: '\\u21D3',\n\tdownarrow: '\\u2193',\n\tDownArrowBar: '\\u2913',\n\tDownArrowUpArrow: '\\u21F5',\n\tDownBreve: '\\u0311',\n\tdowndownarrows: '\\u21CA',\n\tdownharpoonleft: '\\u21C3',\n\tdownharpoonright: '\\u21C2',\n\tDownLeftRightVector: '\\u2950',\n\tDownLeftTeeVector: '\\u295E',\n\tDownLeftVector: '\\u21BD',\n\tDownLeftVectorBar: '\\u2956',\n\tDownRightTeeVector: '\\u295F',\n\tDownRightVector: '\\u21C1',\n\tDownRightVectorBar: '\\u2957',\n\tDownTee: '\\u22A4',\n\tDownTeeArrow: '\\u21A7',\n\tdrbkarow: '\\u2910',\n\tdrcorn: '\\u231F',\n\tdrcrop: '\\u230C',\n\tDscr: '\\uD835\\uDC9F',\n\tdscr: '\\uD835\\uDCB9',\n\tDScy: '\\u0405',\n\tdscy: '\\u0455',\n\tdsol: '\\u29F6',\n\tDstrok: '\\u0110',\n\tdstrok: '\\u0111',\n\tdtdot: '\\u22F1',\n\tdtri: '\\u25BF',\n\tdtrif: '\\u25BE',\n\tduarr: '\\u21F5',\n\tduhar: '\\u296F',\n\tdwangle: '\\u29A6',\n\tDZcy: '\\u040F',\n\tdzcy: '\\u045F',\n\tdzigrarr: '\\u27FF',\n\tEacute: '\\u00C9',\n\teacute: '\\u00E9',\n\teaster: '\\u2A6E',\n\tEcaron: '\\u011A',\n\tecaron: '\\u011B',\n\tecir: '\\u2256',\n\tEcirc: '\\u00CA',\n\tecirc: '\\u00EA',\n\tecolon: '\\u2255',\n\tEcy: '\\u042D',\n\tecy: '\\u044D',\n\teDDot: '\\u2A77',\n\tEdot: '\\u0116',\n\teDot: '\\u2251',\n\tedot: '\\u0117',\n\tee: '\\u2147',\n\tefDot: '\\u2252',\n\tEfr: '\\uD835\\uDD08',\n\tefr: '\\uD835\\uDD22',\n\teg: '\\u2A9A',\n\tEgrave: '\\u00C8',\n\tegrave: '\\u00E8',\n\tegs: '\\u2A96',\n\tegsdot: '\\u2A98',\n\tel: '\\u2A99',\n\tElement: '\\u2208',\n\telinters: '\\u23E7',\n\tell: '\\u2113',\n\tels: '\\u2A95',\n\telsdot: '\\u2A97',\n\tEmacr: '\\u0112',\n\temacr: '\\u0113',\n\tempty: '\\u2205',\n\temptyset: '\\u2205',\n\tEmptySmallSquare: '\\u25FB',\n\temptyv: '\\u2205',\n\tEmptyVerySmallSquare: '\\u25AB',\n\temsp: '\\u2003',\n\temsp13: '\\u2004',\n\temsp14: '\\u2005',\n\tENG: '\\u014A',\n\teng: '\\u014B',\n\tensp: '\\u2002',\n\tEogon: '\\u0118',\n\teogon: '\\u0119',\n\tEopf: '\\uD835\\uDD3C',\n\teopf: '\\uD835\\uDD56',\n\tepar: '\\u22D5',\n\teparsl: '\\u29E3',\n\teplus: '\\u2A71',\n\tepsi: '\\u03B5',\n\tEpsilon: '\\u0395',\n\tepsilon: '\\u03B5',\n\tepsiv: '\\u03F5',\n\teqcirc: '\\u2256',\n\teqcolon: '\\u2255',\n\teqsim: '\\u2242',\n\teqslantgtr: '\\u2A96',\n\teqslantless: '\\u2A95',\n\tEqual: '\\u2A75',\n\tequals: '\\u003D',\n\tEqualTilde: '\\u2242',\n\tequest: '\\u225F',\n\tEquilibrium: '\\u21CC',\n\tequiv: '\\u2261',\n\tequivDD: '\\u2A78',\n\teqvparsl: '\\u29E5',\n\terarr: '\\u2971',\n\terDot: '\\u2253',\n\tEscr: '\\u2130',\n\tescr: '\\u212F',\n\tesdot: '\\u2250',\n\tEsim: '\\u2A73',\n\tesim: '\\u2242',\n\tEta: '\\u0397',\n\teta: '\\u03B7',\n\tETH: '\\u00D0',\n\teth: '\\u00F0',\n\tEuml: '\\u00CB',\n\teuml: '\\u00EB',\n\teuro: '\\u20AC',\n\texcl: '\\u0021',\n\texist: '\\u2203',\n\tExists: '\\u2203',\n\texpectation: '\\u2130',\n\tExponentialE: '\\u2147',\n\texponentiale: '\\u2147',\n\tfallingdotseq: '\\u2252',\n\tFcy: '\\u0424',\n\tfcy: '\\u0444',\n\tfemale: '\\u2640',\n\tffilig: '\\uFB03',\n\tfflig: '\\uFB00',\n\tffllig: '\\uFB04',\n\tFfr: '\\uD835\\uDD09',\n\tffr: '\\uD835\\uDD23',\n\tfilig: '\\uFB01',\n\tFilledSmallSquare: '\\u25FC',\n\tFilledVerySmallSquare: '\\u25AA',\n\tfjlig: '\\u0066\\u006A',\n\tflat: '\\u266D',\n\tfllig: '\\uFB02',\n\tfltns: '\\u25B1',\n\tfnof: '\\u0192',\n\tFopf: '\\uD835\\uDD3D',\n\tfopf: '\\uD835\\uDD57',\n\tForAll: '\\u2200',\n\tforall: '\\u2200',\n\tfork: '\\u22D4',\n\tforkv: '\\u2AD9',\n\tFouriertrf: '\\u2131',\n\tfpartint: '\\u2A0D',\n\tfrac12: '\\u00BD',\n\tfrac13: '\\u2153',\n\tfrac14: '\\u00BC',\n\tfrac15: '\\u2155',\n\tfrac16: '\\u2159',\n\tfrac18: '\\u215B',\n\tfrac23: '\\u2154',\n\tfrac25: '\\u2156',\n\tfrac34: '\\u00BE',\n\tfrac35: '\\u2157',\n\tfrac38: '\\u215C',\n\tfrac45: '\\u2158',\n\tfrac56: '\\u215A',\n\tfrac58: '\\u215D',\n\tfrac78: '\\u215E',\n\tfrasl: '\\u2044',\n\tfrown: '\\u2322',\n\tFscr: '\\u2131',\n\tfscr: '\\uD835\\uDCBB',\n\tgacute: '\\u01F5',\n\tGamma: '\\u0393',\n\tgamma: '\\u03B3',\n\tGammad: '\\u03DC',\n\tgammad: '\\u03DD',\n\tgap: '\\u2A86',\n\tGbreve: '\\u011E',\n\tgbreve: '\\u011F',\n\tGcedil: '\\u0122',\n\tGcirc: '\\u011C',\n\tgcirc: '\\u011D',\n\tGcy: '\\u0413',\n\tgcy: '\\u0433',\n\tGdot: '\\u0120',\n\tgdot: '\\u0121',\n\tgE: '\\u2267',\n\tge: '\\u2265',\n\tgEl: '\\u2A8C',\n\tgel: '\\u22DB',\n\tgeq: '\\u2265',\n\tgeqq: '\\u2267',\n\tgeqslant: '\\u2A7E',\n\tges: '\\u2A7E',\n\tgescc: '\\u2AA9',\n\tgesdot: '\\u2A80',\n\tgesdoto: '\\u2A82',\n\tgesdotol: '\\u2A84',\n\tgesl: '\\u22DB\\uFE00',\n\tgesles: '\\u2A94',\n\tGfr: '\\uD835\\uDD0A',\n\tgfr: '\\uD835\\uDD24',\n\tGg: '\\u22D9',\n\tgg: '\\u226B',\n\tggg: '\\u22D9',\n\tgimel: '\\u2137',\n\tGJcy: '\\u0403',\n\tgjcy: '\\u0453',\n\tgl: '\\u2277',\n\tgla: '\\u2AA5',\n\tglE: '\\u2A92',\n\tglj: '\\u2AA4',\n\tgnap: '\\u2A8A',\n\tgnapprox: '\\u2A8A',\n\tgnE: '\\u2269',\n\tgne: '\\u2A88',\n\tgneq: '\\u2A88',\n\tgneqq: '\\u2269',\n\tgnsim: '\\u22E7',\n\tGopf: '\\uD835\\uDD3E',\n\tgopf: '\\uD835\\uDD58',\n\tgrave: '\\u0060',\n\tGreaterEqual: '\\u2265',\n\tGreaterEqualLess: '\\u22DB',\n\tGreaterFullEqual: '\\u2267',\n\tGreaterGreater: '\\u2AA2',\n\tGreaterLess: '\\u2277',\n\tGreaterSlantEqual: '\\u2A7E',\n\tGreaterTilde: '\\u2273',\n\tGscr: '\\uD835\\uDCA2',\n\tgscr: '\\u210A',\n\tgsim: '\\u2273',\n\tgsime: '\\u2A8E',\n\tgsiml: '\\u2A90',\n\tGt: '\\u226B',\n\tGT: '\\u003E',\n\tgt: '\\u003E',\n\tgtcc: '\\u2AA7',\n\tgtcir: '\\u2A7A',\n\tgtdot: '\\u22D7',\n\tgtlPar: '\\u2995',\n\tgtquest: '\\u2A7C',\n\tgtrapprox: '\\u2A86',\n\tgtrarr: '\\u2978',\n\tgtrdot: '\\u22D7',\n\tgtreqless: '\\u22DB',\n\tgtreqqless: '\\u2A8C',\n\tgtrless: '\\u2277',\n\tgtrsim: '\\u2273',\n\tgvertneqq: '\\u2269\\uFE00',\n\tgvnE: '\\u2269\\uFE00',\n\tHacek: '\\u02C7',\n\thairsp: '\\u200A',\n\thalf: '\\u00BD',\n\thamilt: '\\u210B',\n\tHARDcy: '\\u042A',\n\thardcy: '\\u044A',\n\thArr: '\\u21D4',\n\tharr: '\\u2194',\n\tharrcir: '\\u2948',\n\tharrw: '\\u21AD',\n\tHat: '\\u005E',\n\thbar: '\\u210F',\n\tHcirc: '\\u0124',\n\thcirc: '\\u0125',\n\thearts: '\\u2665',\n\theartsuit: '\\u2665',\n\thellip: '\\u2026',\n\thercon: '\\u22B9',\n\tHfr: '\\u210C',\n\thfr: '\\uD835\\uDD25',\n\tHilbertSpace: '\\u210B',\n\thksearow: '\\u2925',\n\thkswarow: '\\u2926',\n\thoarr: '\\u21FF',\n\thomtht: '\\u223B',\n\thookleftarrow: '\\u21A9',\n\thookrightarrow: '\\u21AA',\n\tHopf: '\\u210D',\n\thopf: '\\uD835\\uDD59',\n\thorbar: '\\u2015',\n\tHorizontalLine: '\\u2500',\n\tHscr: '\\u210B',\n\thscr: '\\uD835\\uDCBD',\n\thslash: '\\u210F',\n\tHstrok: '\\u0126',\n\thstrok: '\\u0127',\n\tHumpDownHump: '\\u224E',\n\tHumpEqual: '\\u224F',\n\thybull: '\\u2043',\n\thyphen: '\\u2010',\n\tIacute: '\\u00CD',\n\tiacute: '\\u00ED',\n\tic: '\\u2063',\n\tIcirc: '\\u00CE',\n\ticirc: '\\u00EE',\n\tIcy: '\\u0418',\n\ticy: '\\u0438',\n\tIdot: '\\u0130',\n\tIEcy: '\\u0415',\n\tiecy: '\\u0435',\n\tiexcl: '\\u00A1',\n\tiff: '\\u21D4',\n\tIfr: '\\u2111',\n\tifr: '\\uD835\\uDD26',\n\tIgrave: '\\u00CC',\n\tigrave: '\\u00EC',\n\tii: '\\u2148',\n\tiiiint: '\\u2A0C',\n\tiiint: '\\u222D',\n\tiinfin: '\\u29DC',\n\tiiota: '\\u2129',\n\tIJlig: '\\u0132',\n\tijlig: '\\u0133',\n\tIm: '\\u2111',\n\tImacr: '\\u012A',\n\timacr: '\\u012B',\n\timage: '\\u2111',\n\tImaginaryI: '\\u2148',\n\timagline: '\\u2110',\n\timagpart: '\\u2111',\n\timath: '\\u0131',\n\timof: '\\u22B7',\n\timped: '\\u01B5',\n\tImplies: '\\u21D2',\n\tin: '\\u2208',\n\tincare: '\\u2105',\n\tinfin: '\\u221E',\n\tinfintie: '\\u29DD',\n\tinodot: '\\u0131',\n\tInt: '\\u222C',\n\tint: '\\u222B',\n\tintcal: '\\u22BA',\n\tintegers: '\\u2124',\n\tIntegral: '\\u222B',\n\tintercal: '\\u22BA',\n\tIntersection: '\\u22C2',\n\tintlarhk: '\\u2A17',\n\tintprod: '\\u2A3C',\n\tInvisibleComma: '\\u2063',\n\tInvisibleTimes: '\\u2062',\n\tIOcy: '\\u0401',\n\tiocy: '\\u0451',\n\tIogon: '\\u012E',\n\tiogon: '\\u012F',\n\tIopf: '\\uD835\\uDD40',\n\tiopf: '\\uD835\\uDD5A',\n\tIota: '\\u0399',\n\tiota: '\\u03B9',\n\tiprod: '\\u2A3C',\n\tiquest: '\\u00BF',\n\tIscr: '\\u2110',\n\tiscr: '\\uD835\\uDCBE',\n\tisin: '\\u2208',\n\tisindot: '\\u22F5',\n\tisinE: '\\u22F9',\n\tisins: '\\u22F4',\n\tisinsv: '\\u22F3',\n\tisinv: '\\u2208',\n\tit: '\\u2062',\n\tItilde: '\\u0128',\n\titilde: '\\u0129',\n\tIukcy: '\\u0406',\n\tiukcy: '\\u0456',\n\tIuml: '\\u00CF',\n\tiuml: '\\u00EF',\n\tJcirc: '\\u0134',\n\tjcirc: '\\u0135',\n\tJcy: '\\u0419',\n\tjcy: '\\u0439',\n\tJfr: '\\uD835\\uDD0D',\n\tjfr: '\\uD835\\uDD27',\n\tjmath: '\\u0237',\n\tJopf: '\\uD835\\uDD41',\n\tjopf: '\\uD835\\uDD5B',\n\tJscr: '\\uD835\\uDCA5',\n\tjscr: '\\uD835\\uDCBF',\n\tJsercy: '\\u0408',\n\tjsercy: '\\u0458',\n\tJukcy: '\\u0404',\n\tjukcy: '\\u0454',\n\tKappa: '\\u039A',\n\tkappa: '\\u03BA',\n\tkappav: '\\u03F0',\n\tKcedil: '\\u0136',\n\tkcedil: '\\u0137',\n\tKcy: '\\u041A',\n\tkcy: '\\u043A',\n\tKfr: '\\uD835\\uDD0E',\n\tkfr: '\\uD835\\uDD28',\n\tkgreen: '\\u0138',\n\tKHcy: '\\u0425',\n\tkhcy: '\\u0445',\n\tKJcy: '\\u040C',\n\tkjcy: '\\u045C',\n\tKopf: '\\uD835\\uDD42',\n\tkopf: '\\uD835\\uDD5C',\n\tKscr: '\\uD835\\uDCA6',\n\tkscr: '\\uD835\\uDCC0',\n\tlAarr: '\\u21DA',\n\tLacute: '\\u0139',\n\tlacute: '\\u013A',\n\tlaemptyv: '\\u29B4',\n\tlagran: '\\u2112',\n\tLambda: '\\u039B',\n\tlambda: '\\u03BB',\n\tLang: '\\u27EA',\n\tlang: '\\u27E8',\n\tlangd: '\\u2991',\n\tlangle: '\\u27E8',\n\tlap: '\\u2A85',\n\tLaplacetrf: '\\u2112',\n\tlaquo: '\\u00AB',\n\tLarr: '\\u219E',\n\tlArr: '\\u21D0',\n\tlarr: '\\u2190',\n\tlarrb: '\\u21E4',\n\tlarrbfs: '\\u291F',\n\tlarrfs: '\\u291D',\n\tlarrhk: '\\u21A9',\n\tlarrlp: '\\u21AB',\n\tlarrpl: '\\u2939',\n\tlarrsim: '\\u2973',\n\tlarrtl: '\\u21A2',\n\tlat: '\\u2AAB',\n\tlAtail: '\\u291B',\n\tlatail: '\\u2919',\n\tlate: '\\u2AAD',\n\tlates: '\\u2AAD\\uFE00',\n\tlBarr: '\\u290E',\n\tlbarr: '\\u290C',\n\tlbbrk: '\\u2772',\n\tlbrace: '\\u007B',\n\tlbrack: '\\u005B',\n\tlbrke: '\\u298B',\n\tlbrksld: '\\u298F',\n\tlbrkslu: '\\u298D',\n\tLcaron: '\\u013D',\n\tlcaron: '\\u013E',\n\tLcedil: '\\u013B',\n\tlcedil: '\\u013C',\n\tlceil: '\\u2308',\n\tlcub: '\\u007B',\n\tLcy: '\\u041B',\n\tlcy: '\\u043B',\n\tldca: '\\u2936',\n\tldquo: '\\u201C',\n\tldquor: '\\u201E',\n\tldrdhar: '\\u2967',\n\tldrushar: '\\u294B',\n\tldsh: '\\u21B2',\n\tlE: '\\u2266',\n\tle: '\\u2264',\n\tLeftAngleBracket: '\\u27E8',\n\tLeftArrow: '\\u2190',\n\tLeftarrow: '\\u21D0',\n\tleftarrow: '\\u2190',\n\tLeftArrowBar: '\\u21E4',\n\tLeftArrowRightArrow: '\\u21C6',\n\tleftarrowtail: '\\u21A2',\n\tLeftCeiling: '\\u2308',\n\tLeftDoubleBracket: '\\u27E6',\n\tLeftDownTeeVector: '\\u2961',\n\tLeftDownVector: '\\u21C3',\n\tLeftDownVectorBar: '\\u2959',\n\tLeftFloor: '\\u230A',\n\tleftharpoondown: '\\u21BD',\n\tleftharpoonup: '\\u21BC',\n\tleftleftarrows: '\\u21C7',\n\tLeftRightArrow: '\\u2194',\n\tLeftrightarrow: '\\u21D4',\n\tleftrightarrow: '\\u2194',\n\tleftrightarrows: '\\u21C6',\n\tleftrightharpoons: '\\u21CB',\n\tleftrightsquigarrow: '\\u21AD',\n\tLeftRightVector: '\\u294E',\n\tLeftTee: '\\u22A3',\n\tLeftTeeArrow: '\\u21A4',\n\tLeftTeeVector: '\\u295A',\n\tleftthreetimes: '\\u22CB',\n\tLeftTriangle: '\\u22B2',\n\tLeftTriangleBar: '\\u29CF',\n\tLeftTriangleEqual: '\\u22B4',\n\tLeftUpDownVector: '\\u2951',\n\tLeftUpTeeVector: '\\u2960',\n\tLeftUpVector: '\\u21BF',\n\tLeftUpVectorBar: '\\u2958',\n\tLeftVector: '\\u21BC',\n\tLeftVectorBar: '\\u2952',\n\tlEg: '\\u2A8B',\n\tleg: '\\u22DA',\n\tleq: '\\u2264',\n\tleqq: '\\u2266',\n\tleqslant: '\\u2A7D',\n\tles: '\\u2A7D',\n\tlescc: '\\u2AA8',\n\tlesdot: '\\u2A7F',\n\tlesdoto: '\\u2A81',\n\tlesdotor: '\\u2A83',\n\tlesg: '\\u22DA\\uFE00',\n\tlesges: '\\u2A93',\n\tlessapprox: '\\u2A85',\n\tlessdot: '\\u22D6',\n\tlesseqgtr: '\\u22DA',\n\tlesseqqgtr: '\\u2A8B',\n\tLessEqualGreater: '\\u22DA',\n\tLessFullEqual: '\\u2266',\n\tLessGreater: '\\u2276',\n\tlessgtr: '\\u2276',\n\tLessLess: '\\u2AA1',\n\tlesssim: '\\u2272',\n\tLessSlantEqual: '\\u2A7D',\n\tLessTilde: '\\u2272',\n\tlfisht: '\\u297C',\n\tlfloor: '\\u230A',\n\tLfr: '\\uD835\\uDD0F',\n\tlfr: '\\uD835\\uDD29',\n\tlg: '\\u2276',\n\tlgE: '\\u2A91',\n\tlHar: '\\u2962',\n\tlhard: '\\u21BD',\n\tlharu: '\\u21BC',\n\tlharul: '\\u296A',\n\tlhblk: '\\u2584',\n\tLJcy: '\\u0409',\n\tljcy: '\\u0459',\n\tLl: '\\u22D8',\n\tll: '\\u226A',\n\tllarr: '\\u21C7',\n\tllcorner: '\\u231E',\n\tLleftarrow: '\\u21DA',\n\tllhard: '\\u296B',\n\tlltri: '\\u25FA',\n\tLmidot: '\\u013F',\n\tlmidot: '\\u0140',\n\tlmoust: '\\u23B0',\n\tlmoustache: '\\u23B0',\n\tlnap: '\\u2A89',\n\tlnapprox: '\\u2A89',\n\tlnE: '\\u2268',\n\tlne: '\\u2A87',\n\tlneq: '\\u2A87',\n\tlneqq: '\\u2268',\n\tlnsim: '\\u22E6',\n\tloang: '\\u27EC',\n\tloarr: '\\u21FD',\n\tlobrk: '\\u27E6',\n\tLongLeftArrow: '\\u27F5',\n\tLongleftarrow: '\\u27F8',\n\tlongleftarrow: '\\u27F5',\n\tLongLeftRightArrow: '\\u27F7',\n\tLongleftrightarrow: '\\u27FA',\n\tlongleftrightarrow: '\\u27F7',\n\tlongmapsto: '\\u27FC',\n\tLongRightArrow: '\\u27F6',\n\tLongrightarrow: '\\u27F9',\n\tlongrightarrow: '\\u27F6',\n\tlooparrowleft: '\\u21AB',\n\tlooparrowright: '\\u21AC',\n\tlopar: '\\u2985',\n\tLopf: '\\uD835\\uDD43',\n\tlopf: '\\uD835\\uDD5D',\n\tloplus: '\\u2A2D',\n\tlotimes: '\\u2A34',\n\tlowast: '\\u2217',\n\tlowbar: '\\u005F',\n\tLowerLeftArrow: '\\u2199',\n\tLowerRightArrow: '\\u2198',\n\tloz: '\\u25CA',\n\tlozenge: '\\u25CA',\n\tlozf: '\\u29EB',\n\tlpar: '\\u0028',\n\tlparlt: '\\u2993',\n\tlrarr: '\\u21C6',\n\tlrcorner: '\\u231F',\n\tlrhar: '\\u21CB',\n\tlrhard: '\\u296D',\n\tlrm: '\\u200E',\n\tlrtri: '\\u22BF',\n\tlsaquo: '\\u2039',\n\tLscr: '\\u2112',\n\tlscr: '\\uD835\\uDCC1',\n\tLsh: '\\u21B0',\n\tlsh: '\\u21B0',\n\tlsim: '\\u2272',\n\tlsime: '\\u2A8D',\n\tlsimg: '\\u2A8F',\n\tlsqb: '\\u005B',\n\tlsquo: '\\u2018',\n\tlsquor: '\\u201A',\n\tLstrok: '\\u0141',\n\tlstrok: '\\u0142',\n\tLt: '\\u226A',\n\tLT: '\\u003C',\n\tlt: '\\u003C',\n\tltcc: '\\u2AA6',\n\tltcir: '\\u2A79',\n\tltdot: '\\u22D6',\n\tlthree: '\\u22CB',\n\tltimes: '\\u22C9',\n\tltlarr: '\\u2976',\n\tltquest: '\\u2A7B',\n\tltri: '\\u25C3',\n\tltrie: '\\u22B4',\n\tltrif: '\\u25C2',\n\tltrPar: '\\u2996',\n\tlurdshar: '\\u294A',\n\tluruhar: '\\u2966',\n\tlvertneqq: '\\u2268\\uFE00',\n\tlvnE: '\\u2268\\uFE00',\n\tmacr: '\\u00AF',\n\tmale: '\\u2642',\n\tmalt: '\\u2720',\n\tmaltese: '\\u2720',\n\tMap: '\\u2905',\n\tmap: '\\u21A6',\n\tmapsto: '\\u21A6',\n\tmapstodown: '\\u21A7',\n\tmapstoleft: '\\u21A4',\n\tmapstoup: '\\u21A5',\n\tmarker: '\\u25AE',\n\tmcomma: '\\u2A29',\n\tMcy: '\\u041C',\n\tmcy: '\\u043C',\n\tmdash: '\\u2014',\n\tmDDot: '\\u223A',\n\tmeasuredangle: '\\u2221',\n\tMediumSpace: '\\u205F',\n\tMellintrf: '\\u2133',\n\tMfr: '\\uD835\\uDD10',\n\tmfr: '\\uD835\\uDD2A',\n\tmho: '\\u2127',\n\tmicro: '\\u00B5',\n\tmid: '\\u2223',\n\tmidast: '\\u002A',\n\tmidcir: '\\u2AF0',\n\tmiddot: '\\u00B7',\n\tminus: '\\u2212',\n\tminusb: '\\u229F',\n\tminusd: '\\u2238',\n\tminusdu: '\\u2A2A',\n\tMinusPlus: '\\u2213',\n\tmlcp: '\\u2ADB',\n\tmldr: '\\u2026',\n\tmnplus: '\\u2213',\n\tmodels: '\\u22A7',\n\tMopf: '\\uD835\\uDD44',\n\tmopf: '\\uD835\\uDD5E',\n\tmp: '\\u2213',\n\tMscr: '\\u2133',\n\tmscr: '\\uD835\\uDCC2',\n\tmstpos: '\\u223E',\n\tMu: '\\u039C',\n\tmu: '\\u03BC',\n\tmultimap: '\\u22B8',\n\tmumap: '\\u22B8',\n\tnabla: '\\u2207',\n\tNacute: '\\u0143',\n\tnacute: '\\u0144',\n\tnang: '\\u2220\\u20D2',\n\tnap: '\\u2249',\n\tnapE: '\\u2A70\\u0338',\n\tnapid: '\\u224B\\u0338',\n\tnapos: '\\u0149',\n\tnapprox: '\\u2249',\n\tnatur: '\\u266E',\n\tnatural: '\\u266E',\n\tnaturals: '\\u2115',\n\tnbsp: '\\u00A0',\n\tnbump: '\\u224E\\u0338',\n\tnbumpe: '\\u224F\\u0338',\n\tncap: '\\u2A43',\n\tNcaron: '\\u0147',\n\tncaron: '\\u0148',\n\tNcedil: '\\u0145',\n\tncedil: '\\u0146',\n\tncong: '\\u2247',\n\tncongdot: '\\u2A6D\\u0338',\n\tncup: '\\u2A42',\n\tNcy: '\\u041D',\n\tncy: '\\u043D',\n\tndash: '\\u2013',\n\tne: '\\u2260',\n\tnearhk: '\\u2924',\n\tneArr: '\\u21D7',\n\tnearr: '\\u2197',\n\tnearrow: '\\u2197',\n\tnedot: '\\u2250\\u0338',\n\tNegativeMediumSpace: '\\u200B',\n\tNegativeThickSpace: '\\u200B',\n\tNegativeThinSpace: '\\u200B',\n\tNegativeVeryThinSpace: '\\u200B',\n\tnequiv: '\\u2262',\n\tnesear: '\\u2928',\n\tnesim: '\\u2242\\u0338',\n\tNestedGreaterGreater: '\\u226B',\n\tNestedLessLess: '\\u226A',\n\tNewLine: '\\u000A',\n\tnexist: '\\u2204',\n\tnexists: '\\u2204',\n\tNfr: '\\uD835\\uDD11',\n\tnfr: '\\uD835\\uDD2B',\n\tngE: '\\u2267\\u0338',\n\tnge: '\\u2271',\n\tngeq: '\\u2271',\n\tngeqq: '\\u2267\\u0338',\n\tngeqslant: '\\u2A7E\\u0338',\n\tnges: '\\u2A7E\\u0338',\n\tnGg: '\\u22D9\\u0338',\n\tngsim: '\\u2275',\n\tnGt: '\\u226B\\u20D2',\n\tngt: '\\u226F',\n\tngtr: '\\u226F',\n\tnGtv: '\\u226B\\u0338',\n\tnhArr: '\\u21CE',\n\tnharr: '\\u21AE',\n\tnhpar: '\\u2AF2',\n\tni: '\\u220B',\n\tnis: '\\u22FC',\n\tnisd: '\\u22FA',\n\tniv: '\\u220B',\n\tNJcy: '\\u040A',\n\tnjcy: '\\u045A',\n\tnlArr: '\\u21CD',\n\tnlarr: '\\u219A',\n\tnldr: '\\u2025',\n\tnlE: '\\u2266\\u0338',\n\tnle: '\\u2270',\n\tnLeftarrow: '\\u21CD',\n\tnleftarrow: '\\u219A',\n\tnLeftrightarrow: '\\u21CE',\n\tnleftrightarrow: '\\u21AE',\n\tnleq: '\\u2270',\n\tnleqq: '\\u2266\\u0338',\n\tnleqslant: '\\u2A7D\\u0338',\n\tnles: '\\u2A7D\\u0338',\n\tnless: '\\u226E',\n\tnLl: '\\u22D8\\u0338',\n\tnlsim: '\\u2274',\n\tnLt: '\\u226A\\u20D2',\n\tnlt: '\\u226E',\n\tnltri: '\\u22EA',\n\tnltrie: '\\u22EC',\n\tnLtv: '\\u226A\\u0338',\n\tnmid: '\\u2224',\n\tNoBreak: '\\u2060',\n\tNonBreakingSpace: '\\u00A0',\n\tNopf: '\\u2115',\n\tnopf: '\\uD835\\uDD5F',\n\tNot: '\\u2AEC',\n\tnot: '\\u00AC',\n\tNotCongruent: '\\u2262',\n\tNotCupCap: '\\u226D',\n\tNotDoubleVerticalBar: '\\u2226',\n\tNotElement: '\\u2209',\n\tNotEqual: '\\u2260',\n\tNotEqualTilde: '\\u2242\\u0338',\n\tNotExists: '\\u2204',\n\tNotGreater: '\\u226F',\n\tNotGreaterEqual: '\\u2271',\n\tNotGreaterFullEqual: '\\u2267\\u0338',\n\tNotGreaterGreater: '\\u226B\\u0338',\n\tNotGreaterLess: '\\u2279',\n\tNotGreaterSlantEqual: '\\u2A7E\\u0338',\n\tNotGreaterTilde: '\\u2275',\n\tNotHumpDownHump: '\\u224E\\u0338',\n\tNotHumpEqual: '\\u224F\\u0338',\n\tnotin: '\\u2209',\n\tnotindot: '\\u22F5\\u0338',\n\tnotinE: '\\u22F9\\u0338',\n\tnotinva: '\\u2209',\n\tnotinvb: '\\u22F7',\n\tnotinvc: '\\u22F6',\n\tNotLeftTriangle: '\\u22EA',\n\tNotLeftTriangleBar: '\\u29CF\\u0338',\n\tNotLeftTriangleEqual: '\\u22EC',\n\tNotLess: '\\u226E',\n\tNotLessEqual: '\\u2270',\n\tNotLessGreater: '\\u2278',\n\tNotLessLess: '\\u226A\\u0338',\n\tNotLessSlantEqual: '\\u2A7D\\u0338',\n\tNotLessTilde: '\\u2274',\n\tNotNestedGreaterGreater: '\\u2AA2\\u0338',\n\tNotNestedLessLess: '\\u2AA1\\u0338',\n\tnotni: '\\u220C',\n\tnotniva: '\\u220C',\n\tnotnivb: '\\u22FE',\n\tnotnivc: '\\u22FD',\n\tNotPrecedes: '\\u2280',\n\tNotPrecedesEqual: '\\u2AAF\\u0338',\n\tNotPrecedesSlantEqual: '\\u22E0',\n\tNotReverseElement: '\\u220C',\n\tNotRightTriangle: '\\u22EB',\n\tNotRightTriangleBar: '\\u29D0\\u0338',\n\tNotRightTriangleEqual: '\\u22ED',\n\tNotSquareSubset: '\\u228F\\u0338',\n\tNotSquareSubsetEqual: '\\u22E2',\n\tNotSquareSuperset: '\\u2290\\u0338',\n\tNotSquareSupersetEqual: '\\u22E3',\n\tNotSubset: '\\u2282\\u20D2',\n\tNotSubsetEqual: '\\u2288',\n\tNotSucceeds: '\\u2281',\n\tNotSucceedsEqual: '\\u2AB0\\u0338',\n\tNotSucceedsSlantEqual: '\\u22E1',\n\tNotSucceedsTilde: '\\u227F\\u0338',\n\tNotSuperset: '\\u2283\\u20D2',\n\tNotSupersetEqual: '\\u2289',\n\tNotTilde: '\\u2241',\n\tNotTildeEqual: '\\u2244',\n\tNotTildeFullEqual: '\\u2247',\n\tNotTildeTilde: '\\u2249',\n\tNotVerticalBar: '\\u2224',\n\tnpar: '\\u2226',\n\tnparallel: '\\u2226',\n\tnparsl: '\\u2AFD\\u20E5',\n\tnpart: '\\u2202\\u0338',\n\tnpolint: '\\u2A14',\n\tnpr: '\\u2280',\n\tnprcue: '\\u22E0',\n\tnpre: '\\u2AAF\\u0338',\n\tnprec: '\\u2280',\n\tnpreceq: '\\u2AAF\\u0338',\n\tnrArr: '\\u21CF',\n\tnrarr: '\\u219B',\n\tnrarrc: '\\u2933\\u0338',\n\tnrarrw: '\\u219D\\u0338',\n\tnRightarrow: '\\u21CF',\n\tnrightarrow: '\\u219B',\n\tnrtri: '\\u22EB',\n\tnrtrie: '\\u22ED',\n\tnsc: '\\u2281',\n\tnsccue: '\\u22E1',\n\tnsce: '\\u2AB0\\u0338',\n\tNscr: '\\uD835\\uDCA9',\n\tnscr: '\\uD835\\uDCC3',\n\tnshortmid: '\\u2224',\n\tnshortparallel: '\\u2226',\n\tnsim: '\\u2241',\n\tnsime: '\\u2244',\n\tnsimeq: '\\u2244',\n\tnsmid: '\\u2224',\n\tnspar: '\\u2226',\n\tnsqsube: '\\u22E2',\n\tnsqsupe: '\\u22E3',\n\tnsub: '\\u2284',\n\tnsubE: '\\u2AC5\\u0338',\n\tnsube: '\\u2288',\n\tnsubset: '\\u2282\\u20D2',\n\tnsubseteq: '\\u2288',\n\tnsubseteqq: '\\u2AC5\\u0338',\n\tnsucc: '\\u2281',\n\tnsucceq: '\\u2AB0\\u0338',\n\tnsup: '\\u2285',\n\tnsupE: '\\u2AC6\\u0338',\n\tnsupe: '\\u2289',\n\tnsupset: '\\u2283\\u20D2',\n\tnsupseteq: '\\u2289',\n\tnsupseteqq: '\\u2AC6\\u0338',\n\tntgl: '\\u2279',\n\tNtilde: '\\u00D1',\n\tntilde: '\\u00F1',\n\tntlg: '\\u2278',\n\tntriangleleft: '\\u22EA',\n\tntrianglelefteq: '\\u22EC',\n\tntriangleright: '\\u22EB',\n\tntrianglerighteq: '\\u22ED',\n\tNu: '\\u039D',\n\tnu: '\\u03BD',\n\tnum: '\\u0023',\n\tnumero: '\\u2116',\n\tnumsp: '\\u2007',\n\tnvap: '\\u224D\\u20D2',\n\tnVDash: '\\u22AF',\n\tnVdash: '\\u22AE',\n\tnvDash: '\\u22AD',\n\tnvdash: '\\u22AC',\n\tnvge: '\\u2265\\u20D2',\n\tnvgt: '\\u003E\\u20D2',\n\tnvHarr: '\\u2904',\n\tnvinfin: '\\u29DE',\n\tnvlArr: '\\u2902',\n\tnvle: '\\u2264\\u20D2',\n\tnvlt: '\\u003C\\u20D2',\n\tnvltrie: '\\u22B4\\u20D2',\n\tnvrArr: '\\u2903',\n\tnvrtrie: '\\u22B5\\u20D2',\n\tnvsim: '\\u223C\\u20D2',\n\tnwarhk: '\\u2923',\n\tnwArr: '\\u21D6',\n\tnwarr: '\\u2196',\n\tnwarrow: '\\u2196',\n\tnwnear: '\\u2927',\n\tOacute: '\\u00D3',\n\toacute: '\\u00F3',\n\toast: '\\u229B',\n\tocir: '\\u229A',\n\tOcirc: '\\u00D4',\n\tocirc: '\\u00F4',\n\tOcy: '\\u041E',\n\tocy: '\\u043E',\n\todash: '\\u229D',\n\tOdblac: '\\u0150',\n\todblac: '\\u0151',\n\todiv: '\\u2A38',\n\todot: '\\u2299',\n\todsold: '\\u29BC',\n\tOElig: '\\u0152',\n\toelig: '\\u0153',\n\tofcir: '\\u29BF',\n\tOfr: '\\uD835\\uDD12',\n\tofr: '\\uD835\\uDD2C',\n\togon: '\\u02DB',\n\tOgrave: '\\u00D2',\n\tograve: '\\u00F2',\n\togt: '\\u29C1',\n\tohbar: '\\u29B5',\n\tohm: '\\u03A9',\n\toint: '\\u222E',\n\tolarr: '\\u21BA',\n\tolcir: '\\u29BE',\n\tolcross: '\\u29BB',\n\toline: '\\u203E',\n\tolt: '\\u29C0',\n\tOmacr: '\\u014C',\n\tomacr: '\\u014D',\n\tOmega: '\\u03A9',\n\tomega: '\\u03C9',\n\tOmicron: '\\u039F',\n\tomicron: '\\u03BF',\n\tomid: '\\u29B6',\n\tominus: '\\u2296',\n\tOopf: '\\uD835\\uDD46',\n\toopf: '\\uD835\\uDD60',\n\topar: '\\u29B7',\n\tOpenCurlyDoubleQuote: '\\u201C',\n\tOpenCurlyQuote: '\\u2018',\n\toperp: '\\u29B9',\n\toplus: '\\u2295',\n\tOr: '\\u2A54',\n\tor: '\\u2228',\n\torarr: '\\u21BB',\n\tord: '\\u2A5D',\n\torder: '\\u2134',\n\torderof: '\\u2134',\n\tordf: '\\u00AA',\n\tordm: '\\u00BA',\n\torigof: '\\u22B6',\n\toror: '\\u2A56',\n\torslope: '\\u2A57',\n\torv: '\\u2A5B',\n\toS: '\\u24C8',\n\tOscr: '\\uD835\\uDCAA',\n\toscr: '\\u2134',\n\tOslash: '\\u00D8',\n\toslash: '\\u00F8',\n\tosol: '\\u2298',\n\tOtilde: '\\u00D5',\n\totilde: '\\u00F5',\n\tOtimes: '\\u2A37',\n\totimes: '\\u2297',\n\totimesas: '\\u2A36',\n\tOuml: '\\u00D6',\n\touml: '\\u00F6',\n\tovbar: '\\u233D',\n\tOverBar: '\\u203E',\n\tOverBrace: '\\u23DE',\n\tOverBracket: '\\u23B4',\n\tOverParenthesis: '\\u23DC',\n\tpar: '\\u2225',\n\tpara: '\\u00B6',\n\tparallel: '\\u2225',\n\tparsim: '\\u2AF3',\n\tparsl: '\\u2AFD',\n\tpart: '\\u2202',\n\tPartialD: '\\u2202',\n\tPcy: '\\u041F',\n\tpcy: '\\u043F',\n\tpercnt: '\\u0025',\n\tperiod: '\\u002E',\n\tpermil: '\\u2030',\n\tperp: '\\u22A5',\n\tpertenk: '\\u2031',\n\tPfr: '\\uD835\\uDD13',\n\tpfr: '\\uD835\\uDD2D',\n\tPhi: '\\u03A6',\n\tphi: '\\u03C6',\n\tphiv: '\\u03D5',\n\tphmmat: '\\u2133',\n\tphone: '\\u260E',\n\tPi: '\\u03A0',\n\tpi: '\\u03C0',\n\tpitchfork: '\\u22D4',\n\tpiv: '\\u03D6',\n\tplanck: '\\u210F',\n\tplanckh: '\\u210E',\n\tplankv: '\\u210F',\n\tplus: '\\u002B',\n\tplusacir: '\\u2A23',\n\tplusb: '\\u229E',\n\tpluscir: '\\u2A22',\n\tplusdo: '\\u2214',\n\tplusdu: '\\u2A25',\n\tpluse: '\\u2A72',\n\tPlusMinus: '\\u00B1',\n\tplusmn: '\\u00B1',\n\tplussim: '\\u2A26',\n\tplustwo: '\\u2A27',\n\tpm: '\\u00B1',\n\tPoincareplane: '\\u210C',\n\tpointint: '\\u2A15',\n\tPopf: '\\u2119',\n\tpopf: '\\uD835\\uDD61',\n\tpound: '\\u00A3',\n\tPr: '\\u2ABB',\n\tpr: '\\u227A',\n\tprap: '\\u2AB7',\n\tprcue: '\\u227C',\n\tprE: '\\u2AB3',\n\tpre: '\\u2AAF',\n\tprec: '\\u227A',\n\tprecapprox: '\\u2AB7',\n\tpreccurlyeq: '\\u227C',\n\tPrecedes: '\\u227A',\n\tPrecedesEqual: '\\u2AAF',\n\tPrecedesSlantEqual: '\\u227C',\n\tPrecedesTilde: '\\u227E',\n\tpreceq: '\\u2AAF',\n\tprecnapprox: '\\u2AB9',\n\tprecneqq: '\\u2AB5',\n\tprecnsim: '\\u22E8',\n\tprecsim: '\\u227E',\n\tPrime: '\\u2033',\n\tprime: '\\u2032',\n\tprimes: '\\u2119',\n\tprnap: '\\u2AB9',\n\tprnE: '\\u2AB5',\n\tprnsim: '\\u22E8',\n\tprod: '\\u220F',\n\tProduct: '\\u220F',\n\tprofalar: '\\u232E',\n\tprofline: '\\u2312',\n\tprofsurf: '\\u2313',\n\tprop: '\\u221D',\n\tProportion: '\\u2237',\n\tProportional: '\\u221D',\n\tpropto: '\\u221D',\n\tprsim: '\\u227E',\n\tprurel: '\\u22B0',\n\tPscr: '\\uD835\\uDCAB',\n\tpscr: '\\uD835\\uDCC5',\n\tPsi: '\\u03A8',\n\tpsi: '\\u03C8',\n\tpuncsp: '\\u2008',\n\tQfr: '\\uD835\\uDD14',\n\tqfr: '\\uD835\\uDD2E',\n\tqint: '\\u2A0C',\n\tQopf: '\\u211A',\n\tqopf: '\\uD835\\uDD62',\n\tqprime: '\\u2057',\n\tQscr: '\\uD835\\uDCAC',\n\tqscr: '\\uD835\\uDCC6',\n\tquaternions: '\\u210D',\n\tquatint: '\\u2A16',\n\tquest: '\\u003F',\n\tquesteq: '\\u225F',\n\tQUOT: '\\u0022',\n\tquot: '\\u0022',\n\trAarr: '\\u21DB',\n\trace: '\\u223D\\u0331',\n\tRacute: '\\u0154',\n\tracute: '\\u0155',\n\tradic: '\\u221A',\n\traemptyv: '\\u29B3',\n\tRang: '\\u27EB',\n\trang: '\\u27E9',\n\trangd: '\\u2992',\n\trange: '\\u29A5',\n\trangle: '\\u27E9',\n\traquo: '\\u00BB',\n\tRarr: '\\u21A0',\n\trArr: '\\u21D2',\n\trarr: '\\u2192',\n\trarrap: '\\u2975',\n\trarrb: '\\u21E5',\n\trarrbfs: '\\u2920',\n\trarrc: '\\u2933',\n\trarrfs: '\\u291E',\n\trarrhk: '\\u21AA',\n\trarrlp: '\\u21AC',\n\trarrpl: '\\u2945',\n\trarrsim: '\\u2974',\n\tRarrtl: '\\u2916',\n\trarrtl: '\\u21A3',\n\trarrw: '\\u219D',\n\trAtail: '\\u291C',\n\tratail: '\\u291A',\n\tratio: '\\u2236',\n\trationals: '\\u211A',\n\tRBarr: '\\u2910',\n\trBarr: '\\u290F',\n\trbarr: '\\u290D',\n\trbbrk: '\\u2773',\n\trbrace: '\\u007D',\n\trbrack: '\\u005D',\n\trbrke: '\\u298C',\n\trbrksld: '\\u298E',\n\trbrkslu: '\\u2990',\n\tRcaron: '\\u0158',\n\trcaron: '\\u0159',\n\tRcedil: '\\u0156',\n\trcedil: '\\u0157',\n\trceil: '\\u2309',\n\trcub: '\\u007D',\n\tRcy: '\\u0420',\n\trcy: '\\u0440',\n\trdca: '\\u2937',\n\trdldhar: '\\u2969',\n\trdquo: '\\u201D',\n\trdquor: '\\u201D',\n\trdsh: '\\u21B3',\n\tRe: '\\u211C',\n\treal: '\\u211C',\n\trealine: '\\u211B',\n\trealpart: '\\u211C',\n\treals: '\\u211D',\n\trect: '\\u25AD',\n\tREG: '\\u00AE',\n\treg: '\\u00AE',\n\tReverseElement: '\\u220B',\n\tReverseEquilibrium: '\\u21CB',\n\tReverseUpEquilibrium: '\\u296F',\n\trfisht: '\\u297D',\n\trfloor: '\\u230B',\n\tRfr: '\\u211C',\n\trfr: '\\uD835\\uDD2F',\n\trHar: '\\u2964',\n\trhard: '\\u21C1',\n\trharu: '\\u21C0',\n\trharul: '\\u296C',\n\tRho: '\\u03A1',\n\trho: '\\u03C1',\n\trhov: '\\u03F1',\n\tRightAngleBracket: '\\u27E9',\n\tRightArrow: '\\u2192',\n\tRightarrow: '\\u21D2',\n\trightarrow: '\\u2192',\n\tRightArrowBar: '\\u21E5',\n\tRightArrowLeftArrow: '\\u21C4',\n\trightarrowtail: '\\u21A3',\n\tRightCeiling: '\\u2309',\n\tRightDoubleBracket: '\\u27E7',\n\tRightDownTeeVector: '\\u295D',\n\tRightDownVector: '\\u21C2',\n\tRightDownVectorBar: '\\u2955',\n\tRightFloor: '\\u230B',\n\trightharpoondown: '\\u21C1',\n\trightharpoonup: '\\u21C0',\n\trightleftarrows: '\\u21C4',\n\trightleftharpoons: '\\u21CC',\n\trightrightarrows: '\\u21C9',\n\trightsquigarrow: '\\u219D',\n\tRightTee: '\\u22A2',\n\tRightTeeArrow: '\\u21A6',\n\tRightTeeVector: '\\u295B',\n\trightthreetimes: '\\u22CC',\n\tRightTriangle: '\\u22B3',\n\tRightTriangleBar: '\\u29D0',\n\tRightTriangleEqual: '\\u22B5',\n\tRightUpDownVector: '\\u294F',\n\tRightUpTeeVector: '\\u295C',\n\tRightUpVector: '\\u21BE',\n\tRightUpVectorBar: '\\u2954',\n\tRightVector: '\\u21C0',\n\tRightVectorBar: '\\u2953',\n\tring: '\\u02DA',\n\trisingdotseq: '\\u2253',\n\trlarr: '\\u21C4',\n\trlhar: '\\u21CC',\n\trlm: '\\u200F',\n\trmoust: '\\u23B1',\n\trmoustache: '\\u23B1',\n\trnmid: '\\u2AEE',\n\troang: '\\u27ED',\n\troarr: '\\u21FE',\n\trobrk: '\\u27E7',\n\tropar: '\\u2986',\n\tRopf: '\\u211D',\n\tropf: '\\uD835\\uDD63',\n\troplus: '\\u2A2E',\n\trotimes: '\\u2A35',\n\tRoundImplies: '\\u2970',\n\trpar: '\\u0029',\n\trpargt: '\\u2994',\n\trppolint: '\\u2A12',\n\trrarr: '\\u21C9',\n\tRrightarrow: '\\u21DB',\n\trsaquo: '\\u203A',\n\tRscr: '\\u211B',\n\trscr: '\\uD835\\uDCC7',\n\tRsh: '\\u21B1',\n\trsh: '\\u21B1',\n\trsqb: '\\u005D',\n\trsquo: '\\u2019',\n\trsquor: '\\u2019',\n\trthree: '\\u22CC',\n\trtimes: '\\u22CA',\n\trtri: '\\u25B9',\n\trtrie: '\\u22B5',\n\trtrif: '\\u25B8',\n\trtriltri: '\\u29CE',\n\tRuleDelayed: '\\u29F4',\n\truluhar: '\\u2968',\n\trx: '\\u211E',\n\tSacute: '\\u015A',\n\tsacute: '\\u015B',\n\tsbquo: '\\u201A',\n\tSc: '\\u2ABC',\n\tsc: '\\u227B',\n\tscap: '\\u2AB8',\n\tScaron: '\\u0160',\n\tscaron: '\\u0161',\n\tsccue: '\\u227D',\n\tscE: '\\u2AB4',\n\tsce: '\\u2AB0',\n\tScedil: '\\u015E',\n\tscedil: '\\u015F',\n\tScirc: '\\u015C',\n\tscirc: '\\u015D',\n\tscnap: '\\u2ABA',\n\tscnE: '\\u2AB6',\n\tscnsim: '\\u22E9',\n\tscpolint: '\\u2A13',\n\tscsim: '\\u227F',\n\tScy: '\\u0421',\n\tscy: '\\u0441',\n\tsdot: '\\u22C5',\n\tsdotb: '\\u22A1',\n\tsdote: '\\u2A66',\n\tsearhk: '\\u2925',\n\tseArr: '\\u21D8',\n\tsearr: '\\u2198',\n\tsearrow: '\\u2198',\n\tsect: '\\u00A7',\n\tsemi: '\\u003B',\n\tseswar: '\\u2929',\n\tsetminus: '\\u2216',\n\tsetmn: '\\u2216',\n\tsext: '\\u2736',\n\tSfr: '\\uD835\\uDD16',\n\tsfr: '\\uD835\\uDD30',\n\tsfrown: '\\u2322',\n\tsharp: '\\u266F',\n\tSHCHcy: '\\u0429',\n\tshchcy: '\\u0449',\n\tSHcy: '\\u0428',\n\tshcy: '\\u0448',\n\tShortDownArrow: '\\u2193',\n\tShortLeftArrow: '\\u2190',\n\tshortmid: '\\u2223',\n\tshortparallel: '\\u2225',\n\tShortRightArrow: '\\u2192',\n\tShortUpArrow: '\\u2191',\n\tshy: '\\u00AD',\n\tSigma: '\\u03A3',\n\tsigma: '\\u03C3',\n\tsigmaf: '\\u03C2',\n\tsigmav: '\\u03C2',\n\tsim: '\\u223C',\n\tsimdot: '\\u2A6A',\n\tsime: '\\u2243',\n\tsimeq: '\\u2243',\n\tsimg: '\\u2A9E',\n\tsimgE: '\\u2AA0',\n\tsiml: '\\u2A9D',\n\tsimlE: '\\u2A9F',\n\tsimne: '\\u2246',\n\tsimplus: '\\u2A24',\n\tsimrarr: '\\u2972',\n\tslarr: '\\u2190',\n\tSmallCircle: '\\u2218',\n\tsmallsetminus: '\\u2216',\n\tsmashp: '\\u2A33',\n\tsmeparsl: '\\u29E4',\n\tsmid: '\\u2223',\n\tsmile: '\\u2323',\n\tsmt: '\\u2AAA',\n\tsmte: '\\u2AAC',\n\tsmtes: '\\u2AAC\\uFE00',\n\tSOFTcy: '\\u042C',\n\tsoftcy: '\\u044C',\n\tsol: '\\u002F',\n\tsolb: '\\u29C4',\n\tsolbar: '\\u233F',\n\tSopf: '\\uD835\\uDD4A',\n\tsopf: '\\uD835\\uDD64',\n\tspades: '\\u2660',\n\tspadesuit: '\\u2660',\n\tspar: '\\u2225',\n\tsqcap: '\\u2293',\n\tsqcaps: '\\u2293\\uFE00',\n\tsqcup: '\\u2294',\n\tsqcups: '\\u2294\\uFE00',\n\tSqrt: '\\u221A',\n\tsqsub: '\\u228F',\n\tsqsube: '\\u2291',\n\tsqsubset: '\\u228F',\n\tsqsubseteq: '\\u2291',\n\tsqsup: '\\u2290',\n\tsqsupe: '\\u2292',\n\tsqsupset: '\\u2290',\n\tsqsupseteq: '\\u2292',\n\tsqu: '\\u25A1',\n\tSquare: '\\u25A1',\n\tsquare: '\\u25A1',\n\tSquareIntersection: '\\u2293',\n\tSquareSubset: '\\u228F',\n\tSquareSubsetEqual: '\\u2291',\n\tSquareSuperset: '\\u2290',\n\tSquareSupersetEqual: '\\u2292',\n\tSquareUnion: '\\u2294',\n\tsquarf: '\\u25AA',\n\tsquf: '\\u25AA',\n\tsrarr: '\\u2192',\n\tSscr: '\\uD835\\uDCAE',\n\tsscr: '\\uD835\\uDCC8',\n\tssetmn: '\\u2216',\n\tssmile: '\\u2323',\n\tsstarf: '\\u22C6',\n\tStar: '\\u22C6',\n\tstar: '\\u2606',\n\tstarf: '\\u2605',\n\tstraightepsilon: '\\u03F5',\n\tstraightphi: '\\u03D5',\n\tstrns: '\\u00AF',\n\tSub: '\\u22D0',\n\tsub: '\\u2282',\n\tsubdot: '\\u2ABD',\n\tsubE: '\\u2AC5',\n\tsube: '\\u2286',\n\tsubedot: '\\u2AC3',\n\tsubmult: '\\u2AC1',\n\tsubnE: '\\u2ACB',\n\tsubne: '\\u228A',\n\tsubplus: '\\u2ABF',\n\tsubrarr: '\\u2979',\n\tSubset: '\\u22D0',\n\tsubset: '\\u2282',\n\tsubseteq: '\\u2286',\n\tsubseteqq: '\\u2AC5',\n\tSubsetEqual: '\\u2286',\n\tsubsetneq: '\\u228A',\n\tsubsetneqq: '\\u2ACB',\n\tsubsim: '\\u2AC7',\n\tsubsub: '\\u2AD5',\n\tsubsup: '\\u2AD3',\n\tsucc: '\\u227B',\n\tsuccapprox: '\\u2AB8',\n\tsucccurlyeq: '\\u227D',\n\tSucceeds: '\\u227B',\n\tSucceedsEqual: '\\u2AB0',\n\tSucceedsSlantEqual: '\\u227D',\n\tSucceedsTilde: '\\u227F',\n\tsucceq: '\\u2AB0',\n\tsuccnapprox: '\\u2ABA',\n\tsuccneqq: '\\u2AB6',\n\tsuccnsim: '\\u22E9',\n\tsuccsim: '\\u227F',\n\tSuchThat: '\\u220B',\n\tSum: '\\u2211',\n\tsum: '\\u2211',\n\tsung: '\\u266A',\n\tSup: '\\u22D1',\n\tsup: '\\u2283',\n\tsup1: '\\u00B9',\n\tsup2: '\\u00B2',\n\tsup3: '\\u00B3',\n\tsupdot: '\\u2ABE',\n\tsupdsub: '\\u2AD8',\n\tsupE: '\\u2AC6',\n\tsupe: '\\u2287',\n\tsupedot: '\\u2AC4',\n\tSuperset: '\\u2283',\n\tSupersetEqual: '\\u2287',\n\tsuphsol: '\\u27C9',\n\tsuphsub: '\\u2AD7',\n\tsuplarr: '\\u297B',\n\tsupmult: '\\u2AC2',\n\tsupnE: '\\u2ACC',\n\tsupne: '\\u228B',\n\tsupplus: '\\u2AC0',\n\tSupset: '\\u22D1',\n\tsupset: '\\u2283',\n\tsupseteq: '\\u2287',\n\tsupseteqq: '\\u2AC6',\n\tsupsetneq: '\\u228B',\n\tsupsetneqq: '\\u2ACC',\n\tsupsim: '\\u2AC8',\n\tsupsub: '\\u2AD4',\n\tsupsup: '\\u2AD6',\n\tswarhk: '\\u2926',\n\tswArr: '\\u21D9',\n\tswarr: '\\u2199',\n\tswarrow: '\\u2199',\n\tswnwar: '\\u292A',\n\tszlig: '\\u00DF',\n\tTab: '\\u0009',\n\ttarget: '\\u2316',\n\tTau: '\\u03A4',\n\ttau: '\\u03C4',\n\ttbrk: '\\u23B4',\n\tTcaron: '\\u0164',\n\ttcaron: '\\u0165',\n\tTcedil: '\\u0162',\n\ttcedil: '\\u0163',\n\tTcy: '\\u0422',\n\ttcy: '\\u0442',\n\ttdot: '\\u20DB',\n\ttelrec: '\\u2315',\n\tTfr: '\\uD835\\uDD17',\n\ttfr: '\\uD835\\uDD31',\n\tthere4: '\\u2234',\n\tTherefore: '\\u2234',\n\ttherefore: '\\u2234',\n\tTheta: '\\u0398',\n\ttheta: '\\u03B8',\n\tthetasym: '\\u03D1',\n\tthetav: '\\u03D1',\n\tthickapprox: '\\u2248',\n\tthicksim: '\\u223C',\n\tThickSpace: '\\u205F\\u200A',\n\tthinsp: '\\u2009',\n\tThinSpace: '\\u2009',\n\tthkap: '\\u2248',\n\tthksim: '\\u223C',\n\tTHORN: '\\u00DE',\n\tthorn: '\\u00FE',\n\tTilde: '\\u223C',\n\ttilde: '\\u02DC',\n\tTildeEqual: '\\u2243',\n\tTildeFullEqual: '\\u2245',\n\tTildeTilde: '\\u2248',\n\ttimes: '\\u00D7',\n\ttimesb: '\\u22A0',\n\ttimesbar: '\\u2A31',\n\ttimesd: '\\u2A30',\n\ttint: '\\u222D',\n\ttoea: '\\u2928',\n\ttop: '\\u22A4',\n\ttopbot: '\\u2336',\n\ttopcir: '\\u2AF1',\n\tTopf: '\\uD835\\uDD4B',\n\ttopf: '\\uD835\\uDD65',\n\ttopfork: '\\u2ADA',\n\ttosa: '\\u2929',\n\ttprime: '\\u2034',\n\tTRADE: '\\u2122',\n\ttrade: '\\u2122',\n\ttriangle: '\\u25B5',\n\ttriangledown: '\\u25BF',\n\ttriangleleft: '\\u25C3',\n\ttrianglelefteq: '\\u22B4',\n\ttriangleq: '\\u225C',\n\ttriangleright: '\\u25B9',\n\ttrianglerighteq: '\\u22B5',\n\ttridot: '\\u25EC',\n\ttrie: '\\u225C',\n\ttriminus: '\\u2A3A',\n\tTripleDot: '\\u20DB',\n\ttriplus: '\\u2A39',\n\ttrisb: '\\u29CD',\n\ttritime: '\\u2A3B',\n\ttrpezium: '\\u23E2',\n\tTscr: '\\uD835\\uDCAF',\n\ttscr: '\\uD835\\uDCC9',\n\tTScy: '\\u0426',\n\ttscy: '\\u0446',\n\tTSHcy: '\\u040B',\n\ttshcy: '\\u045B',\n\tTstrok: '\\u0166',\n\ttstrok: '\\u0167',\n\ttwixt: '\\u226C',\n\ttwoheadleftarrow: '\\u219E',\n\ttwoheadrightarrow: '\\u21A0',\n\tUacute: '\\u00DA',\n\tuacute: '\\u00FA',\n\tUarr: '\\u219F',\n\tuArr: '\\u21D1',\n\tuarr: '\\u2191',\n\tUarrocir: '\\u2949',\n\tUbrcy: '\\u040E',\n\tubrcy: '\\u045E',\n\tUbreve: '\\u016C',\n\tubreve: '\\u016D',\n\tUcirc: '\\u00DB',\n\tucirc: '\\u00FB',\n\tUcy: '\\u0423',\n\tucy: '\\u0443',\n\tudarr: '\\u21C5',\n\tUdblac: '\\u0170',\n\tudblac: '\\u0171',\n\tudhar: '\\u296E',\n\tufisht: '\\u297E',\n\tUfr: '\\uD835\\uDD18',\n\tufr: '\\uD835\\uDD32',\n\tUgrave: '\\u00D9',\n\tugrave: '\\u00F9',\n\tuHar: '\\u2963',\n\tuharl: '\\u21BF',\n\tuharr: '\\u21BE',\n\tuhblk: '\\u2580',\n\tulcorn: '\\u231C',\n\tulcorner: '\\u231C',\n\tulcrop: '\\u230F',\n\tultri: '\\u25F8',\n\tUmacr: '\\u016A',\n\tumacr: '\\u016B',\n\tuml: '\\u00A8',\n\tUnderBar: '\\u005F',\n\tUnderBrace: '\\u23DF',\n\tUnderBracket: '\\u23B5',\n\tUnderParenthesis: '\\u23DD',\n\tUnion: '\\u22C3',\n\tUnionPlus: '\\u228E',\n\tUogon: '\\u0172',\n\tuogon: '\\u0173',\n\tUopf: '\\uD835\\uDD4C',\n\tuopf: '\\uD835\\uDD66',\n\tUpArrow: '\\u2191',\n\tUparrow: '\\u21D1',\n\tuparrow: '\\u2191',\n\tUpArrowBar: '\\u2912',\n\tUpArrowDownArrow: '\\u21C5',\n\tUpDownArrow: '\\u2195',\n\tUpdownarrow: '\\u21D5',\n\tupdownarrow: '\\u2195',\n\tUpEquilibrium: '\\u296E',\n\tupharpoonleft: '\\u21BF',\n\tupharpoonright: '\\u21BE',\n\tuplus: '\\u228E',\n\tUpperLeftArrow: '\\u2196',\n\tUpperRightArrow: '\\u2197',\n\tUpsi: '\\u03D2',\n\tupsi: '\\u03C5',\n\tupsih: '\\u03D2',\n\tUpsilon: '\\u03A5',\n\tupsilon: '\\u03C5',\n\tUpTee: '\\u22A5',\n\tUpTeeArrow: '\\u21A5',\n\tupuparrows: '\\u21C8',\n\turcorn: '\\u231D',\n\turcorner: '\\u231D',\n\turcrop: '\\u230E',\n\tUring: '\\u016E',\n\turing: '\\u016F',\n\turtri: '\\u25F9',\n\tUscr: '\\uD835\\uDCB0',\n\tuscr: '\\uD835\\uDCCA',\n\tutdot: '\\u22F0',\n\tUtilde: '\\u0168',\n\tutilde: '\\u0169',\n\tutri: '\\u25B5',\n\tutrif: '\\u25B4',\n\tuuarr: '\\u21C8',\n\tUuml: '\\u00DC',\n\tuuml: '\\u00FC',\n\tuwangle: '\\u29A7',\n\tvangrt: '\\u299C',\n\tvarepsilon: '\\u03F5',\n\tvarkappa: '\\u03F0',\n\tvarnothing: '\\u2205',\n\tvarphi: '\\u03D5',\n\tvarpi: '\\u03D6',\n\tvarpropto: '\\u221D',\n\tvArr: '\\u21D5',\n\tvarr: '\\u2195',\n\tvarrho: '\\u03F1',\n\tvarsigma: '\\u03C2',\n\tvarsubsetneq: '\\u228A\\uFE00',\n\tvarsubsetneqq: '\\u2ACB\\uFE00',\n\tvarsupsetneq: '\\u228B\\uFE00',\n\tvarsupsetneqq: '\\u2ACC\\uFE00',\n\tvartheta: '\\u03D1',\n\tvartriangleleft: '\\u22B2',\n\tvartriangleright: '\\u22B3',\n\tVbar: '\\u2AEB',\n\tvBar: '\\u2AE8',\n\tvBarv: '\\u2AE9',\n\tVcy: '\\u0412',\n\tvcy: '\\u0432',\n\tVDash: '\\u22AB',\n\tVdash: '\\u22A9',\n\tvDash: '\\u22A8',\n\tvdash: '\\u22A2',\n\tVdashl: '\\u2AE6',\n\tVee: '\\u22C1',\n\tvee: '\\u2228',\n\tveebar: '\\u22BB',\n\tveeeq: '\\u225A',\n\tvellip: '\\u22EE',\n\tVerbar: '\\u2016',\n\tverbar: '\\u007C',\n\tVert: '\\u2016',\n\tvert: '\\u007C',\n\tVerticalBar: '\\u2223',\n\tVerticalLine: '\\u007C',\n\tVerticalSeparator: '\\u2758',\n\tVerticalTilde: '\\u2240',\n\tVeryThinSpace: '\\u200A',\n\tVfr: '\\uD835\\uDD19',\n\tvfr: '\\uD835\\uDD33',\n\tvltri: '\\u22B2',\n\tvnsub: '\\u2282\\u20D2',\n\tvnsup: '\\u2283\\u20D2',\n\tVopf: '\\uD835\\uDD4D',\n\tvopf: '\\uD835\\uDD67',\n\tvprop: '\\u221D',\n\tvrtri: '\\u22B3',\n\tVscr: '\\uD835\\uDCB1',\n\tvscr: '\\uD835\\uDCCB',\n\tvsubnE: '\\u2ACB\\uFE00',\n\tvsubne: '\\u228A\\uFE00',\n\tvsupnE: '\\u2ACC\\uFE00',\n\tvsupne: '\\u228B\\uFE00',\n\tVvdash: '\\u22AA',\n\tvzigzag: '\\u299A',\n\tWcirc: '\\u0174',\n\twcirc: '\\u0175',\n\twedbar: '\\u2A5F',\n\tWedge: '\\u22C0',\n\twedge: '\\u2227',\n\twedgeq: '\\u2259',\n\tweierp: '\\u2118',\n\tWfr: '\\uD835\\uDD1A',\n\twfr: '\\uD835\\uDD34',\n\tWopf: '\\uD835\\uDD4E',\n\twopf: '\\uD835\\uDD68',\n\twp: '\\u2118',\n\twr: '\\u2240',\n\twreath: '\\u2240',\n\tWscr: '\\uD835\\uDCB2',\n\twscr: '\\uD835\\uDCCC',\n\txcap: '\\u22C2',\n\txcirc: '\\u25EF',\n\txcup: '\\u22C3',\n\txdtri: '\\u25BD',\n\tXfr: '\\uD835\\uDD1B',\n\txfr: '\\uD835\\uDD35',\n\txhArr: '\\u27FA',\n\txharr: '\\u27F7',\n\tXi: '\\u039E',\n\txi: '\\u03BE',\n\txlArr: '\\u27F8',\n\txlarr: '\\u27F5',\n\txmap: '\\u27FC',\n\txnis: '\\u22FB',\n\txodot: '\\u2A00',\n\tXopf: '\\uD835\\uDD4F',\n\txopf: '\\uD835\\uDD69',\n\txoplus: '\\u2A01',\n\txotime: '\\u2A02',\n\txrArr: '\\u27F9',\n\txrarr: '\\u27F6',\n\tXscr: '\\uD835\\uDCB3',\n\txscr: '\\uD835\\uDCCD',\n\txsqcup: '\\u2A06',\n\txuplus: '\\u2A04',\n\txutri: '\\u25B3',\n\txvee: '\\u22C1',\n\txwedge: '\\u22C0',\n\tYacute: '\\u00DD',\n\tyacute: '\\u00FD',\n\tYAcy: '\\u042F',\n\tyacy: '\\u044F',\n\tYcirc: '\\u0176',\n\tycirc: '\\u0177',\n\tYcy: '\\u042B',\n\tycy: '\\u044B',\n\tyen: '\\u00A5',\n\tYfr: '\\uD835\\uDD1C',\n\tyfr: '\\uD835\\uDD36',\n\tYIcy: '\\u0407',\n\tyicy: '\\u0457',\n\tYopf: '\\uD835\\uDD50',\n\tyopf: '\\uD835\\uDD6A',\n\tYscr: '\\uD835\\uDCB4',\n\tyscr: '\\uD835\\uDCCE',\n\tYUcy: '\\u042E',\n\tyucy: '\\u044E',\n\tYuml: '\\u0178',\n\tyuml: '\\u00FF',\n\tZacute: '\\u0179',\n\tzacute: '\\u017A',\n\tZcaron: '\\u017D',\n\tzcaron: '\\u017E',\n\tZcy: '\\u0417',\n\tzcy: '\\u0437',\n\tZdot: '\\u017B',\n\tzdot: '\\u017C',\n\tzeetrf: '\\u2128',\n\tZeroWidthSpace: '\\u200B',\n\tZeta: '\\u0396',\n\tzeta: '\\u03B6',\n\tZfr: '\\u2128',\n\tzfr: '\\uD835\\uDD37',\n\tZHcy: '\\u0416',\n\tzhcy: '\\u0436',\n\tzigrarr: '\\u21DD',\n\tZopf: '\\u2124',\n\tzopf: '\\uD835\\uDD6B',\n\tZscr: '\\uD835\\uDCB5',\n\tzscr: '\\uD835\\uDCCF',\n\tzwj: '\\u200D',\n\tzwnj: '\\u200C',\n});\n\n/**\n * @deprecated use `HTML_ENTITIES` instead\n * @see HTML_ENTITIES\n */\nexports.entityMap = exports.HTML_ENTITIES;\n","var NAMESPACE = require(\"./conventions\").NAMESPACE;\n\n//[4] \tNameStartChar\t ::= \t\":\" | [A-Z] | \"_\" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]\n//[4a] \tNameChar\t ::= \tNameStartChar | \"-\" | \".\" | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]\n//[5] \tName\t ::= \tNameStartChar (NameChar)*\nvar nameStartChar = /[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]///\\u10000-\\uEFFFF\nvar nameChar = new RegExp(\"[\\\\-\\\\.0-9\"+nameStartChar.source.slice(1,-1)+\"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]\");\nvar tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\\:'+nameStartChar.source+nameChar.source+'*)?$');\n//var tagNamePattern = /^[a-zA-Z_][\\w\\-\\.]*(?:\\:[a-zA-Z_][\\w\\-\\.]*)?$/\n//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')\n\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\nvar S_TAG = 0;//tag name offerring\nvar S_ATTR = 1;//attr name offerring\nvar S_ATTR_SPACE=2;//attr name end and space offer\nvar S_EQ = 3;//=space?\nvar S_ATTR_NOQUOT_VALUE = 4;//attr value(no quot value only)\nvar S_ATTR_END = 5;//attr value end and no space(quot end)\nvar S_TAG_SPACE = 6;//(attr value end || tag end ) && (space offer)\nvar S_TAG_CLOSE = 7;//closed el<el />\n\n/**\n * Creates an error that will not be caught by XMLReader aka the SAX parser.\n *\n * @param {string} message\n * @param {any?} locator Optional, can provide details about the location in the source\n * @constructor\n */\nfunction ParseError(message, locator) {\n\tthis.message = message\n\tthis.locator = locator\n\tif(Error.captureStackTrace) Error.captureStackTrace(this, ParseError);\n}\nParseError.prototype = new Error();\nParseError.prototype.name = ParseError.name\n\nfunction XMLReader(){\n\n}\n\nXMLReader.prototype = {\n\tparse:function(source,defaultNSMap,entityMap){\n\t\tvar domBuilder = this.domBuilder;\n\t\tdomBuilder.startDocument();\n\t\t_copy(defaultNSMap ,defaultNSMap = {})\n\t\tparse(source,defaultNSMap,entityMap,\n\t\t\t\tdomBuilder,this.errorHandler);\n\t\tdomBuilder.endDocument();\n\t}\n}\nfunction parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){\n\tfunction fixedFromCharCode(code) {\n\t\t// String.prototype.fromCharCode does not supports\n\t\t// > 2 bytes unicode chars directly\n\t\tif (code > 0xffff) {\n\t\t\tcode -= 0x10000;\n\t\t\tvar surrogate1 = 0xd800 + (code >> 10)\n\t\t\t\t, surrogate2 = 0xdc00 + (code & 0x3ff);\n\n\t\t\treturn String.fromCharCode(surrogate1, surrogate2);\n\t\t} else {\n\t\t\treturn String.fromCharCode(code);\n\t\t}\n\t}\n\tfunction entityReplacer(a){\n\t\tvar k = a.slice(1,-1);\n\t\tif (Object.hasOwnProperty.call(entityMap, k)) {\n\t\t\treturn entityMap[k];\n\t\t}else if(k.charAt(0) === '#'){\n\t\t\treturn fixedFromCharCode(parseInt(k.substr(1).replace('x','0x')))\n\t\t}else{\n\t\t\terrorHandler.error('entity not found:'+a);\n\t\t\treturn a;\n\t\t}\n\t}\n\tfunction appendText(end){//has some bugs\n\t\tif(end>start){\n\t\t\tvar xt = source.substring(start,end).replace(/&#?\\w+;/g,entityReplacer);\n\t\t\tlocator&&position(start);\n\t\t\tdomBuilder.characters(xt,0,end-start);\n\t\t\tstart = end\n\t\t}\n\t}\n\tfunction position(p,m){\n\t\twhile(p>=lineEnd && (m = linePattern.exec(source))){\n\t\t\tlineStart = m.index;\n\t\t\tlineEnd = lineStart + m[0].length;\n\t\t\tlocator.lineNumber++;\n\t\t\t//console.log('line++:',locator,startPos,endPos)\n\t\t}\n\t\tlocator.columnNumber = p-lineStart+1;\n\t}\n\tvar lineStart = 0;\n\tvar lineEnd = 0;\n\tvar linePattern = /.*(?:\\r\\n?|\\n)|.*$/g\n\tvar locator = domBuilder.locator;\n\n\tvar parseStack = [{currentNSMap:defaultNSMapCopy}]\n\tvar closeMap = {};\n\tvar start = 0;\n\twhile(true){\n\t\ttry{\n\t\t\tvar tagStart = source.indexOf('<',start);\n\t\t\tif(tagStart<0){\n\t\t\t\tif(!source.substr(start).match(/^\\s*$/)){\n\t\t\t\t\tvar doc = domBuilder.doc;\n\t \t\t\tvar text = doc.createTextNode(source.substr(start));\n\t \t\t\tdoc.appendChild(text);\n\t \t\t\tdomBuilder.currentElement = text;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(tagStart>start){\n\t\t\t\tappendText(tagStart);\n\t\t\t}\n\t\t\tswitch(source.charAt(tagStart+1)){\n\t\t\tcase '/':\n\t\t\t\tvar end = source.indexOf('>',tagStart+3);\n\t\t\t\tvar tagName = source.substring(tagStart + 2, end).replace(/[ \\t\\n\\r]+$/g, '');\n\t\t\t\tvar config = parseStack.pop();\n\t\t\t\tif(end<0){\n\n\t \t\ttagName = source.substring(tagStart+2).replace(/[\\s<].*/,'');\n\t \t\terrorHandler.error(\"end tag name: \"+tagName+' is not complete:'+config.tagName);\n\t \t\tend = tagStart+1+tagName.length;\n\t \t}else if(tagName.match(/\\s</)){\n\t \t\ttagName = tagName.replace(/[\\s<].*/,'');\n\t \t\terrorHandler.error(\"end tag name: \"+tagName+' maybe not complete');\n\t \t\tend = tagStart+1+tagName.length;\n\t\t\t\t}\n\t\t\t\tvar localNSMap = config.localNSMap;\n\t\t\t\tvar endMatch = config.tagName == tagName;\n\t\t\t\tvar endIgnoreCaseMach = endMatch || config.tagName&&config.tagName.toLowerCase() == tagName.toLowerCase()\n\t\t if(endIgnoreCaseMach){\n\t\t \tdomBuilder.endElement(config.uri,config.localName,tagName);\n\t\t\t\t\tif(localNSMap){\n\t\t\t\t\t\tfor (var prefix in localNSMap) {\n\t\t\t\t\t\t\tif (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {\n\t\t\t\t\t\t\t\tdomBuilder.endPrefixMapping(prefix);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(!endMatch){\n\t\t \terrorHandler.fatalError(\"end tag name: \"+tagName+' is not match the current start tagName:'+config.tagName ); // No known test case\n\t\t\t\t\t}\n\t\t }else{\n\t\t \tparseStack.push(config)\n\t\t }\n\n\t\t\t\tend++;\n\t\t\t\tbreak;\n\t\t\t\t// end elment\n\t\t\tcase '?':// <?...?>\n\t\t\t\tlocator&&position(tagStart);\n\t\t\t\tend = parseInstruction(source,tagStart,domBuilder);\n\t\t\t\tbreak;\n\t\t\tcase '!':// <!doctype,<![CDATA,<!--\n\t\t\t\tlocator&&position(tagStart);\n\t\t\t\tend = parseDCC(source,tagStart,domBuilder,errorHandler);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tlocator&&position(tagStart);\n\t\t\t\tvar el = new ElementAttributes();\n\t\t\t\tvar currentNSMap = parseStack[parseStack.length-1].currentNSMap;\n\t\t\t\t//elStartEnd\n\t\t\t\tvar end = parseElementStartPart(source,tagStart,el,currentNSMap,entityReplacer,errorHandler);\n\t\t\t\tvar len = el.length;\n\n\n\t\t\t\tif(!el.closed && fixSelfClosed(source,end,el.tagName,closeMap)){\n\t\t\t\t\tel.closed = true;\n\t\t\t\t\tif(!entityMap.nbsp){\n\t\t\t\t\t\terrorHandler.warning('unclosed xml attribute');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(locator && len){\n\t\t\t\t\tvar locator2 = copyLocator(locator,{});\n\t\t\t\t\t//try{//attribute position fixed\n\t\t\t\t\tfor(var i = 0;i<len;i++){\n\t\t\t\t\t\tvar a = el[i];\n\t\t\t\t\t\tposition(a.offset);\n\t\t\t\t\t\ta.locator = copyLocator(locator,{});\n\t\t\t\t\t}\n\t\t\t\t\tdomBuilder.locator = locator2\n\t\t\t\t\tif(appendElement(el,domBuilder,currentNSMap)){\n\t\t\t\t\t\tparseStack.push(el)\n\t\t\t\t\t}\n\t\t\t\t\tdomBuilder.locator = locator;\n\t\t\t\t}else{\n\t\t\t\t\tif(appendElement(el,domBuilder,currentNSMap)){\n\t\t\t\t\t\tparseStack.push(el)\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (NAMESPACE.isHTML(el.uri) && !el.closed) {\n\t\t\t\t\tend = parseHtmlSpecialContent(source,end,el.tagName,entityReplacer,domBuilder)\n\t\t\t\t} else {\n\t\t\t\t\tend++;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(e){\n\t\t\tif (e instanceof ParseError) {\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\terrorHandler.error('element parse error: '+e)\n\t\t\tend = -1;\n\t\t}\n\t\tif(end>start){\n\t\t\tstart = end;\n\t\t}else{\n\t\t\t//TODO: 这里有可能sax回退有位置错误风险\n\t\t\tappendText(Math.max(tagStart,start)+1);\n\t\t}\n\t}\n}\nfunction copyLocator(f,t){\n\tt.lineNumber = f.lineNumber;\n\tt.columnNumber = f.columnNumber;\n\treturn t;\n}\n\n/**\n * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);\n * @return end of the elementStartPart(end of elementEndPart for selfClosed el)\n */\nfunction parseElementStartPart(source,start,el,currentNSMap,entityReplacer,errorHandler){\n\n\t/**\n\t * @param {string} qname\n\t * @param {string} value\n\t * @param {number} startIndex\n\t */\n\tfunction addAttribute(qname, value, startIndex) {\n\t\tif (el.attributeNames.hasOwnProperty(qname)) {\n\t\t\terrorHandler.fatalError('Attribute ' + qname + ' redefined')\n\t\t}\n\t\tel.addValue(\n\t\t\tqname,\n\t\t\t// @see https://www.w3.org/TR/xml/#AVNormalize\n\t\t\t// since the xmldom sax parser does not \"interpret\" DTD the following is not implemented:\n\t\t\t// - recursive replacement of (DTD) entity references\n\t\t\t// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA\n\t\t\tvalue.replace(/[\\t\\n\\r]/g, ' ').replace(/&#?\\w+;/g, entityReplacer),\n\t\t\tstartIndex\n\t\t)\n\t}\n\tvar attrName;\n\tvar value;\n\tvar p = ++start;\n\tvar s = S_TAG;//status\n\twhile(true){\n\t\tvar c = source.charAt(p);\n\t\tswitch(c){\n\t\tcase '=':\n\t\t\tif(s === S_ATTR){//attrName\n\t\t\t\tattrName = source.slice(start,p);\n\t\t\t\ts = S_EQ;\n\t\t\t}else if(s === S_ATTR_SPACE){\n\t\t\t\ts = S_EQ;\n\t\t\t}else{\n\t\t\t\t//fatalError: equal must after attrName or space after attrName\n\t\t\t\tthrow new Error('attribute equal must after attrName'); // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase '\\'':\n\t\tcase '\"':\n\t\t\tif(s === S_EQ || s === S_ATTR //|| s == S_ATTR_SPACE\n\t\t\t\t){//equal\n\t\t\t\tif(s === S_ATTR){\n\t\t\t\t\terrorHandler.warning('attribute value must after \"=\"')\n\t\t\t\t\tattrName = source.slice(start,p)\n\t\t\t\t}\n\t\t\t\tstart = p+1;\n\t\t\t\tp = source.indexOf(c,start)\n\t\t\t\tif(p>0){\n\t\t\t\t\tvalue = source.slice(start, p);\n\t\t\t\t\taddAttribute(attrName, value, start-1);\n\t\t\t\t\ts = S_ATTR_END;\n\t\t\t\t}else{\n\t\t\t\t\t//fatalError: no end quot match\n\t\t\t\t\tthrow new Error('attribute value no end \\''+c+'\\' match');\n\t\t\t\t}\n\t\t\t}else if(s == S_ATTR_NOQUOT_VALUE){\n\t\t\t\tvalue = source.slice(start, p);\n\t\t\t\taddAttribute(attrName, value, start);\n\t\t\t\terrorHandler.warning('attribute \"'+attrName+'\" missed start quot('+c+')!!');\n\t\t\t\tstart = p+1;\n\t\t\t\ts = S_ATTR_END\n\t\t\t}else{\n\t\t\t\t//fatalError: no equal before\n\t\t\t\tthrow new Error('attribute value must after \"=\"'); // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase '/':\n\t\t\tswitch(s){\n\t\t\tcase S_TAG:\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\tcase S_ATTR_END:\n\t\t\tcase S_TAG_SPACE:\n\t\t\tcase S_TAG_CLOSE:\n\t\t\t\ts =S_TAG_CLOSE;\n\t\t\t\tel.closed = true;\n\t\t\tcase S_ATTR_NOQUOT_VALUE:\n\t\t\tcase S_ATTR:\n\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_SPACE:\n\t\t\t\t\tel.closed = true;\n\t\t\t\tbreak;\n\t\t\t//case S_EQ:\n\t\t\tdefault:\n\t\t\t\tthrow new Error(\"attribute invalid close char('/')\") // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase ''://end document\n\t\t\terrorHandler.error('unexpected end of input');\n\t\t\tif(s == S_TAG){\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\t}\n\t\t\treturn p;\n\t\tcase '>':\n\t\t\tswitch(s){\n\t\t\tcase S_TAG:\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\tcase S_ATTR_END:\n\t\t\tcase S_TAG_SPACE:\n\t\t\tcase S_TAG_CLOSE:\n\t\t\t\tbreak;//normal\n\t\t\tcase S_ATTR_NOQUOT_VALUE://Compatible state\n\t\t\tcase S_ATTR:\n\t\t\t\tvalue = source.slice(start,p);\n\t\t\t\tif(value.slice(-1) === '/'){\n\t\t\t\t\tel.closed = true;\n\t\t\t\t\tvalue = value.slice(0,-1)\n\t\t\t\t}\n\t\t\tcase S_ATTR_SPACE:\n\t\t\t\tif(s === S_ATTR_SPACE){\n\t\t\t\t\tvalue = attrName;\n\t\t\t\t}\n\t\t\t\tif(s == S_ATTR_NOQUOT_VALUE){\n\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed quot(\")!');\n\t\t\t\t\taddAttribute(attrName, value, start)\n\t\t\t\t}else{\n\t\t\t\t\tif(!NAMESPACE.isHTML(currentNSMap['']) || !value.match(/^(?:disabled|checked|selected)$/i)){\n\t\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed value!! \"'+value+'\" instead!!')\n\t\t\t\t\t}\n\t\t\t\t\taddAttribute(value, value, start)\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase S_EQ:\n\t\t\t\tthrow new Error('attribute value missed!!');\n\t\t\t}\n//\t\t\tconsole.log(tagName,tagNamePattern,tagNamePattern.test(tagName))\n\t\t\treturn p;\n\t\t/*xml space '\\x20' | #x9 | #xD | #xA; */\n\t\tcase '\\u0080':\n\t\t\tc = ' ';\n\t\tdefault:\n\t\t\tif(c<= ' '){//space\n\t\t\t\tswitch(s){\n\t\t\t\tcase S_TAG:\n\t\t\t\t\tel.setTagName(source.slice(start,p));//tagName\n\t\t\t\t\ts = S_TAG_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR:\n\t\t\t\t\tattrName = source.slice(start,p)\n\t\t\t\t\ts = S_ATTR_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_NOQUOT_VALUE:\n\t\t\t\t\tvar value = source.slice(start, p);\n\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed quot(\")!!');\n\t\t\t\t\taddAttribute(attrName, value, start)\n\t\t\t\tcase S_ATTR_END:\n\t\t\t\t\ts = S_TAG_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\t//case S_TAG_SPACE:\n\t\t\t\t//case S_EQ:\n\t\t\t\t//case S_ATTR_SPACE:\n\t\t\t\t//\tvoid();break;\n\t\t\t\t//case S_TAG_CLOSE:\n\t\t\t\t\t//ignore warning\n\t\t\t\t}\n\t\t\t}else{//not space\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\n\t\t\t\tswitch(s){\n\t\t\t\t//case S_TAG:void();break;\n\t\t\t\t//case S_ATTR:void();break;\n\t\t\t\t//case S_ATTR_NOQUOT_VALUE:void();break;\n\t\t\t\tcase S_ATTR_SPACE:\n\t\t\t\t\tvar tagName = el.tagName;\n\t\t\t\t\tif (!NAMESPACE.isHTML(currentNSMap['']) || !attrName.match(/^(?:disabled|checked|selected)$/i)) {\n\t\t\t\t\t\terrorHandler.warning('attribute \"'+attrName+'\" missed value!! \"'+attrName+'\" instead2!!')\n\t\t\t\t\t}\n\t\t\t\t\taddAttribute(attrName, attrName, start);\n\t\t\t\t\tstart = p;\n\t\t\t\t\ts = S_ATTR;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_END:\n\t\t\t\t\terrorHandler.warning('attribute space is required\"'+attrName+'\"!!')\n\t\t\t\tcase S_TAG_SPACE:\n\t\t\t\t\ts = S_ATTR;\n\t\t\t\t\tstart = p;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_EQ:\n\t\t\t\t\ts = S_ATTR_NOQUOT_VALUE;\n\t\t\t\t\tstart = p;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_TAG_CLOSE:\n\t\t\t\t\tthrow new Error(\"elements closed character '/' and '>' must be connected to\");\n\t\t\t\t}\n\t\t\t}\n\t\t}//end outer switch\n\t\t//console.log('p++',p)\n\t\tp++;\n\t}\n}\n/**\n * @return true if has new namespace define\n */\nfunction appendElement(el,domBuilder,currentNSMap){\n\tvar tagName = el.tagName;\n\tvar localNSMap = null;\n\t//var currentNSMap = parseStack[parseStack.length-1].currentNSMap;\n\tvar i = el.length;\n\twhile(i--){\n\t\tvar a = el[i];\n\t\tvar qName = a.qName;\n\t\tvar value = a.value;\n\t\tvar nsp = qName.indexOf(':');\n\t\tif(nsp>0){\n\t\t\tvar prefix = a.prefix = qName.slice(0,nsp);\n\t\t\tvar localName = qName.slice(nsp+1);\n\t\t\tvar nsPrefix = prefix === 'xmlns' && localName\n\t\t}else{\n\t\t\tlocalName = qName;\n\t\t\tprefix = null\n\t\t\tnsPrefix = qName === 'xmlns' && ''\n\t\t}\n\t\t//can not set prefix,because prefix !== ''\n\t\ta.localName = localName ;\n\t\t//prefix == null for no ns prefix attribute\n\t\tif(nsPrefix !== false){//hack!!\n\t\t\tif(localNSMap == null){\n\t\t\t\tlocalNSMap = {}\n\t\t\t\t//console.log(currentNSMap,0)\n\t\t\t\t_copy(currentNSMap,currentNSMap={})\n\t\t\t\t//console.log(currentNSMap,1)\n\t\t\t}\n\t\t\tcurrentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;\n\t\t\ta.uri = NAMESPACE.XMLNS\n\t\t\tdomBuilder.startPrefixMapping(nsPrefix, value)\n\t\t}\n\t}\n\tvar i = el.length;\n\twhile(i--){\n\t\ta = el[i];\n\t\tvar prefix = a.prefix;\n\t\tif(prefix){//no prefix attribute has no namespace\n\t\t\tif(prefix === 'xml'){\n\t\t\t\ta.uri = NAMESPACE.XML;\n\t\t\t}if(prefix !== 'xmlns'){\n\t\t\t\ta.uri = currentNSMap[prefix || '']\n\n\t\t\t\t//{console.log('###'+a.qName,domBuilder.locator.systemId+'',currentNSMap,a.uri)}\n\t\t\t}\n\t\t}\n\t}\n\tvar nsp = tagName.indexOf(':');\n\tif(nsp>0){\n\t\tprefix = el.prefix = tagName.slice(0,nsp);\n\t\tlocalName = el.localName = tagName.slice(nsp+1);\n\t}else{\n\t\tprefix = null;//important!!\n\t\tlocalName = el.localName = tagName;\n\t}\n\t//no prefix element has default namespace\n\tvar ns = el.uri = currentNSMap[prefix || ''];\n\tdomBuilder.startElement(ns,localName,tagName,el);\n\t//endPrefixMapping and startPrefixMapping have not any help for dom builder\n\t//localNSMap = null\n\tif(el.closed){\n\t\tdomBuilder.endElement(ns,localName,tagName);\n\t\tif(localNSMap){\n\t\t\tfor (prefix in localNSMap) {\n\t\t\t\tif (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {\n\t\t\t\t\tdomBuilder.endPrefixMapping(prefix);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}else{\n\t\tel.currentNSMap = currentNSMap;\n\t\tel.localNSMap = localNSMap;\n\t\t//parseStack.push(el);\n\t\treturn true;\n\t}\n}\nfunction parseHtmlSpecialContent(source,elStartEnd,tagName,entityReplacer,domBuilder){\n\tif(/^(?:script|textarea)$/i.test(tagName)){\n\t\tvar elEndStart = source.indexOf('</'+tagName+'>',elStartEnd);\n\t\tvar text = source.substring(elStartEnd+1,elEndStart);\n\t\tif(/[&<]/.test(text)){\n\t\t\tif(/^script$/i.test(tagName)){\n\t\t\t\t//if(!/\\]\\]>/.test(text)){\n\t\t\t\t\t//lexHandler.startCDATA();\n\t\t\t\t\tdomBuilder.characters(text,0,text.length);\n\t\t\t\t\t//lexHandler.endCDATA();\n\t\t\t\t\treturn elEndStart;\n\t\t\t\t//}\n\t\t\t}//}else{//text area\n\t\t\t\ttext = text.replace(/&#?\\w+;/g,entityReplacer);\n\t\t\t\tdomBuilder.characters(text,0,text.length);\n\t\t\t\treturn elEndStart;\n\t\t\t//}\n\n\t\t}\n\t}\n\treturn elStartEnd+1;\n}\nfunction fixSelfClosed(source,elStartEnd,tagName,closeMap){\n\t//if(tagName in closeMap){\n\tvar pos = closeMap[tagName];\n\tif(pos == null){\n\t\t//console.log(tagName)\n\t\tpos = source.lastIndexOf('</'+tagName+'>')\n\t\tif(pos<elStartEnd){//忘记闭合\n\t\t\tpos = source.lastIndexOf('</'+tagName)\n\t\t}\n\t\tcloseMap[tagName] =pos\n\t}\n\treturn pos<elStartEnd;\n\t//}\n}\n\nfunction _copy (source, target) {\n\tfor (var n in source) {\n\t\tif (Object.prototype.hasOwnProperty.call(source, n)) {\n\t\t\ttarget[n] = source[n];\n\t\t}\n\t}\n}\n\nfunction parseDCC(source,start,domBuilder,errorHandler){//sure start with '<!'\n\tvar next= source.charAt(start+2)\n\tswitch(next){\n\tcase '-':\n\t\tif(source.charAt(start + 3) === '-'){\n\t\t\tvar end = source.indexOf('-->',start+4);\n\t\t\t//append comment source.substring(4,end)//<!--\n\t\t\tif(end>start){\n\t\t\t\tdomBuilder.comment(source,start+4,end-start-4);\n\t\t\t\treturn end+3;\n\t\t\t}else{\n\t\t\t\terrorHandler.error(\"Unclosed comment\");\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}else{\n\t\t\t//error\n\t\t\treturn -1;\n\t\t}\n\tdefault:\n\t\tif(source.substr(start+3,6) == 'CDATA['){\n\t\t\tvar end = source.indexOf(']]>',start+9);\n\t\t\tdomBuilder.startCDATA();\n\t\t\tdomBuilder.characters(source,start+9,end-start-9);\n\t\t\tdomBuilder.endCDATA()\n\t\t\treturn end+3;\n\t\t}\n\t\t//<!DOCTYPE\n\t\t//startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)\n\t\tvar matchs = split(source,start);\n\t\tvar len = matchs.length;\n\t\tif(len>1 && /!doctype/i.test(matchs[0][0])){\n\t\t\tvar name = matchs[1][0];\n\t\t\tvar pubid = false;\n\t\t\tvar sysid = false;\n\t\t\tif(len>3){\n\t\t\t\tif(/^public$/i.test(matchs[2][0])){\n\t\t\t\t\tpubid = matchs[3][0];\n\t\t\t\t\tsysid = len>4 && matchs[4][0];\n\t\t\t\t}else if(/^system$/i.test(matchs[2][0])){\n\t\t\t\t\tsysid = matchs[3][0];\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar lastMatch = matchs[len-1]\n\t\t\tdomBuilder.startDTD(name, pubid, sysid);\n\t\t\tdomBuilder.endDTD();\n\n\t\t\treturn lastMatch.index+lastMatch[0].length\n\t\t}\n\t}\n\treturn -1;\n}\n\n\n\nfunction parseInstruction(source,start,domBuilder){\n\tvar end = source.indexOf('?>',start);\n\tif(end){\n\t\tvar match = source.substring(start,end).match(/^<\\?(\\S*)\\s*([\\s\\S]*?)\\s*$/);\n\t\tif(match){\n\t\t\tvar len = match[0].length;\n\t\t\tdomBuilder.processingInstruction(match[1], match[2]) ;\n\t\t\treturn end+2;\n\t\t}else{//error\n\t\t\treturn -1;\n\t\t}\n\t}\n\treturn -1;\n}\n\nfunction ElementAttributes(){\n\tthis.attributeNames = {}\n}\nElementAttributes.prototype = {\n\tsetTagName:function(tagName){\n\t\tif(!tagNamePattern.test(tagName)){\n\t\t\tthrow new Error('invalid tagName:'+tagName)\n\t\t}\n\t\tthis.tagName = tagName\n\t},\n\taddValue:function(qName, value, offset) {\n\t\tif(!tagNamePattern.test(qName)){\n\t\t\tthrow new Error('invalid attribute:'+qName)\n\t\t}\n\t\tthis.attributeNames[qName] = this.length;\n\t\tthis[this.length++] = {qName:qName,value:value,offset:offset}\n\t},\n\tlength:0,\n\tgetLocalName:function(i){return this[i].localName},\n\tgetLocator:function(i){return this[i].locator},\n\tgetQName:function(i){return this[i].qName},\n\tgetURI:function(i){return this[i].uri},\n\tgetValue:function(i){return this[i].value}\n//\t,getIndex:function(uri, localName)){\n//\t\tif(localName){\n//\n//\t\t}else{\n//\t\t\tvar qName = uri\n//\t\t}\n//\t},\n//\tgetValue:function(){return this.getValue(this.getIndex.apply(this,arguments))},\n//\tgetType:function(uri,localName){}\n//\tgetType:function(i){},\n}\n\n\n\nfunction split(source,start){\n\tvar match;\n\tvar buf = [];\n\tvar reg = /'[^']+'|\"[^\"]+\"|[^\\s<>\\/=]+=?|(\\/?\\s*>|<)/g;\n\treg.lastIndex = start;\n\treg.exec(source);//skip <\n\twhile(match = reg.exec(source)){\n\t\tbuf.push(match);\n\t\tif(match[1])return buf;\n\t}\n}\n\nexports.XMLReader = XMLReader;\nexports.ParseError = ParseError;\n","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise<number> {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"~\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup-cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup-cpp finished\")\n\n if (!GITHUB_ACTIONS) {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","import { join } from \"path\"\nimport { isSudo } from \"admina\"\nimport { homedir } from \"os\"\n\nexport function userHomeDir() {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER)\n } else {\n return join(\"/home/\", process.env.SUDO_USER)\n }\n } else {\n const maybeHomeDir = homedir()\n if (maybeHomeDir === \"\") {\n return undefined\n }\n return maybeHomeDir\n }\n}\n\nconst tildeRegex = /^~(?=$|\\/|\\\\)/\n\n/**\n * Replaces a tilde with the user's home directory\n *\n * @example UntildifyUser(\"~/foo\") // /home/user/foo\n *\n * @param path The path to untildify\n * @returns The untildified path\n */\nexport function untildifyUser(path: string) {\n const maybeHomeDir = userHomeDir()\n if (maybeHomeDir === undefined) {\n return path\n }\n\n return path.replace(tildeRegex, maybeHomeDir)\n}\n","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue<string> {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(args), execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess<string> {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\n}) => {\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise<boolean> => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n","import { promises } from \"fs\"\nexport default promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n rm,\n} = promises\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise<boolean> => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","export default function stripFinalNewline(input) {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst execPathString = execPath instanceof URL ? url.fileURLToPath(execPath) : execPath;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used.\n\tresult.push(path.resolve(cwdString, execPathString, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from 'mimic-fn';\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '<anonymous>';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from 'human-signals';\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nexport const makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout, cwd = process.cwd()}},\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\terror.cwd = cwd;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nexport const spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nexport const setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nexport const validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nexport const setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { <signal>: <listener fn>, ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nexport const makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nexport const getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise),\n\t\t]);\n\t}\n};\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","'use strict';\nconst {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property),\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nexport const mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function'\n\t\t\t? (...args) => Reflect.apply(descriptor.value, promise(), args)\n\t\t\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.2\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri<Record<Inputs, string | undefined> & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function printHelp() {\n info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the <compiler> to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record<Inputs, string | undefined> & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array<ToolName>\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** an array of possible inputs */\nexport const inputs: Array<Inputs> = [\"compiler\", \"architecture\", \"timeout\", ...tools]\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\",\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack([{ name: \"bazel\", version }], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise<InstallationInfo> {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise<AptPackageType> {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n const promises: Promise<string | void>[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string, priority: number = 40) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, priority.toString()])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (GITHUB_ACTIONS) {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\"~/.cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n // source cpprc in bashrc/profile\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\"~/.profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\"~/.bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" },\n): execa.ExecaChildProcess<string> {\n return execa.execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" },\n): execa.ExecaSyncReturnValue<string> {\n return execa.execaSync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n","import {signalsByName} from 'human-signals';\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nexport const makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}},\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nexport const spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nexport const setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nexport const validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nexport const setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nexport const makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nexport const getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise),\n\t\t]);\n\t}\n};\n","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property),\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nexport const mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function'\n\t\t\t? (...args) => Reflect.apply(descriptor.value, promise(), args)\n\t\t\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBrew(_version: string, _setupDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { execaSync } from \"execa\"\nimport { info } from \"ci-log\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n info(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise<InstallationInfo | undefined> {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execaSync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" },\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise<InstallationInfo> {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise<unknown>\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n bin?: string\n}\n\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise<PackageInfo>,\n setupDir: string,\n arch: string,\n): Promise<InstallationInfo> {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch,\n )\n\n // Restore from cache (if found).\n if (GITHUB_ACTIONS) {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (await pathExists(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n grantUserWriteAccess(dest)\n return dest\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"p7zip-full\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { untildifyUser } from \"untildify-user\"\nimport { mkdirp } from \"mkdirp\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise<InstallationInfo> {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise<InstallationInfo> {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n const env = process.env\n\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await getPipxHome()\n env.PIPX_BIN_DIR = await getPipxBinDir()\n }\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n env,\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME\n if (pipxHome !== undefined) {\n return pipxHome\n }\n\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = untildifyUser(\"~/.local/pipx\")\n if (await pathExists(compatHome)) {\n return compatHome\n }\n\n switch (process.platform) {\n case \"win32\": {\n pipxHome = untildifyUser(\"~/AppData/Local/pipx\")\n break\n }\n case \"darwin\": {\n pipxHome = untildifyUser(\"~/Library/Application Support/pipx\")\n break\n }\n default: {\n pipxHome = untildifyUser(\"~/.local/share/pipx\")\n break\n }\n }\n\n await mkdirp(pipxHome)\n await mkdirp(join(pipxHome, \"trash\"))\n await mkdirp(join(pipxHome, \"shared\"))\n await mkdirp(join(pipxHome, \"venv\"))\n return pipxHome\n}\nconst getPipxHome = memoize(getPipxHome_raw, { isPromise: true })\n\nasync function getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) {\n return process.env.PIPX_BIN_DIR\n }\n\n const pipxBinDir = untildifyUser(\"~/.local/bin\")\n await addPath(pipxBinDir)\n await mkdirp(pipxBinDir)\n return pipxBinDir\n}\nconst getPipxBinDir = memoize(getPipxBinDir_raw, { isPromise: true })\n\nasync function getPython_raw(): Promise<string> {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(addPythonPrefix ? `python-${name}` : name)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n try {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n } catch (err) {\n if (setupPipPackSystem(\"pipx\", false) === null) {\n throw new Error(`pipx was not installed correctly ${err}`)\n }\n }\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error).toString())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error).toString())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"import { isUrlOnline } from \"is-url-online\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set<string>, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set<string> {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set<string>,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise<string | null>,\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return semverCoerce(version) ?? undefined\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex,\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (givenVersion !== undefined && targetVersion !== \"\") {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { isArch } from \"../utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.6\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.6-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.6\"\n }\n}\n\nexport const DefaultVersions: Record<string, string | undefined> = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.28.1\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.2\", // \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // 2.0.17 // https://github.com/conan-io/conan/releases\n meson: \"1.3.1\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.33.1\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.10.0-1\" : \"1.10.0\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record<string, string | undefined> = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nexport const DefaultLinuxVersion: Record<string, Record<number, string> | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record<number, string>) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise<number[] | null> {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map",null,"import { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\nimport { pathArg } from './path-arg.js'\nimport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore start */\nexport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nexport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nexport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore stop */\n\nexport const mkdirpSync = (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNativeSync(resolved)\n ? mkdirpNativeSync(path, resolved)\n : mkdirpManualSync(path, resolved)\n}\n\nexport const sync = mkdirpSync\nexport const manual = mkdirpManual\nexport const manualSync = mkdirpManualSync\nexport const native = mkdirpNative\nexport const nativeSync = mkdirpNativeSync\nexport const mkdirp = Object.assign(\n async (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNative(resolved)\n ? mkdirpNative(path, resolved)\n : mkdirpManual(path, resolved)\n },\n {\n mkdirpSync,\n mkdirpNative,\n mkdirpNativeSync,\n mkdirpManual,\n mkdirpManualSync,\n\n sync: mkdirpSync,\n native: mkdirpNative,\n nativeSync: mkdirpNativeSync,\n manual: mkdirpManual,\n manualSync: mkdirpManualSync,\n useNative,\n useNativeSync,\n }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpManualSync = (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n): string | undefined | void => {\n const parent = dirname(path)\n const opts = { ...optsArg(options), recursive: false }\n\n if (parent === path) {\n try {\n return opts.mkdirSync(path, opts)\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n return\n }\n }\n\n try {\n opts.mkdirSync(path, opts)\n return made || path\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts, mkdirpManualSync(parent, opts, made))\n }\n if (fer && fer.code !== 'EEXIST' && fer && fer.code !== 'EROFS') {\n throw er\n }\n try {\n if (!opts.statSync(path).isDirectory()) throw er\n } catch (_) {\n throw er\n }\n }\n}\n\nexport const mkdirpManual = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n ): Promise<string | undefined | void> => {\n const opts = optsArg(options)\n opts.recursive = false\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirAsync(path, opts).catch(er => {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n })\n }\n\n return opts.mkdirAsync(path, opts).then(\n () => made || path,\n async er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(parent, opts).then(\n (made?: string | undefined | void) => mkdirpManual(path, opts, made)\n )\n }\n if (fer && fer.code !== 'EEXIST' && fer.code !== 'EROFS') {\n throw er\n }\n return opts.statAsync(path).then(\n st => {\n if (st.isDirectory()) {\n return made\n } else {\n throw er\n }\n },\n () => {\n throw er\n }\n )\n }\n )\n },\n { sync: mkdirpManualSync }\n)\n",null,"import {\n MakeDirectoryOptions,\n mkdir,\n mkdirSync,\n stat,\n Stats,\n statSync,\n} from 'fs'\n\nexport interface FsProvider {\n stat?: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync?: (path: string) => Stats\n mkdirSync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n}\n\ninterface Options extends FsProvider {\n mode?: number | string\n fs?: FsProvider\n mkdirAsync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise<string | undefined>\n statAsync?: (path: string) => Promise<Stats>\n}\n\nexport type MkdirpOptions = Options | number | string\n\nexport interface MkdirpOptionsResolved {\n mode: number\n fs: FsProvider\n mkdirAsync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise<string | undefined>\n statAsync: (path: string) => Promise<Stats>\n stat: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync: (path: string) => Stats\n mkdirSync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n recursive?: boolean\n}\n\nexport const optsArg = (opts?: MkdirpOptions): MkdirpOptionsResolved => {\n if (!opts) {\n opts = { mode: 0o777 }\n } else if (typeof opts === 'object') {\n opts = { mode: 0o777, ...opts }\n } else if (typeof opts === 'number') {\n opts = { mode: opts }\n } else if (typeof opts === 'string') {\n opts = { mode: parseInt(opts, 8) }\n } else {\n throw new TypeError('invalid options argument')\n }\n\n const resolved = opts as MkdirpOptionsResolved\n const optsFs = opts.fs || {}\n\n opts.mkdir = opts.mkdir || optsFs.mkdir || mkdir\n\n opts.mkdirAsync = opts.mkdirAsync\n ? opts.mkdirAsync\n : async (\n path: string,\n options: MakeDirectoryOptions & { recursive?: boolean }\n ): Promise<string | undefined> => {\n return new Promise<string | undefined>((res, rej) =>\n resolved.mkdir(path, options, (er, made) =>\n er ? rej(er) : res(made)\n )\n )\n }\n\n opts.stat = opts.stat || optsFs.stat || stat\n opts.statAsync = opts.statAsync\n ? opts.statAsync\n : async (path: string) =>\n new Promise((res, rej) =>\n resolved.stat(path, (err, stats) => (err ? rej(err) : res(stats)))\n )\n\n opts.statSync = opts.statSync || optsFs.statSync || statSync\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || mkdirSync\n\n return resolved\n}\n",null,"import { dirname } from 'path'\nimport { findMade, findMadeSync } from './find-made.js'\nimport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpNativeSync = (\n path: string,\n options?: MkdirpOptions\n): string | void | undefined => {\n const opts = optsArg(options)\n opts.recursive = true\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirSync(path, opts)\n }\n\n const made = findMadeSync(opts, path)\n try {\n opts.mkdirSync(path, opts)\n return made\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts)\n } else {\n throw er\n }\n }\n}\n\nexport const mkdirpNative = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions\n ): Promise<string | void | undefined> => {\n const opts = { ...optsArg(options), recursive: true }\n const parent = dirname(path)\n if (parent === path) {\n return await opts.mkdirAsync(path, opts)\n }\n\n return findMade(opts, path).then((made?: string | undefined) =>\n opts\n .mkdirAsync(path, opts)\n .then(m => made || m)\n .catch(er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(path, opts)\n } else {\n throw er\n }\n })\n )\n },\n { sync: mkdirpNativeSync }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptionsResolved } from './opts-arg.js'\n\nexport const findMade = async (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): Promise<undefined | string> => {\n // we never want the 'made' return value to be a root directory\n if (path === parent) {\n return\n }\n\n return opts.statAsync(parent).then(\n st => (st.isDirectory() ? path : undefined), // will fail later\n er => {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMade(opts, dirname(parent), parent)\n : undefined\n }\n )\n}\n\nexport const findMadeSync = (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): undefined | string => {\n if (path === parent) {\n return undefined\n }\n\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMadeSync(opts, dirname(parent), parent)\n : undefined\n }\n}\n",null,"const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform\nimport { parse, resolve } from 'path'\nexport const pathArg = (path: string) => {\n if (/\\0/.test(path)) {\n // simulate same failure that node raises\n throw Object.assign(\n new TypeError('path must be a string without null bytes'),\n {\n path,\n code: 'ERR_INVALID_ARG_VALUE',\n }\n )\n }\n\n path = resolve(path)\n if (platform === 'win32') {\n const badWinChars = /[*|\"<>?:]/\n const { root } = parse(path)\n if (badWinChars.test(path.substring(root.length))) {\n throw Object.assign(new Error('Illegal characters in path.'), {\n path,\n code: 'EINVAL',\n })\n }\n }\n\n return path\n}\n",null,"import { mkdir, mkdirSync } from 'fs'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nconst version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version\nconst versArr = version.replace(/^v/, '').split('.')\nconst hasNative = +versArr[0] > 10 || (+versArr[0] === 10 && +versArr[1] >= 12)\n\nexport const useNativeSync = !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdirSync === mkdirSync\n\nexport const useNative = Object.assign(\n !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdir === mkdir,\n {\n sync: useNativeSync,\n }\n)\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"cppcheck\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addExeExt, join } from \"patha\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { macosVersion } from \"../utils/env/macos_version\"\nimport { setupDmg } from \"../utils/setup/setupDmg\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n case \"darwin\": {\n const folderName = `Doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: setupDmg,\n url: `https://doxygen.nl/files/${folderName}.dmg`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n let installationInfo: InstallationInfo\n try {\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n } catch {\n installationInfo = await setupBrewPack(\"doxygen\", undefined)\n }\n // only install graphviz if the macOS version is greater than 11\n if (macosVersion()[0] > 11) {\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n }\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"doxygen\", version }])\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n try {\n await setupAptPack([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n info(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`)\n }\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n // eslint-disable-next-line no-await-in-loop\n if (await pathExists(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"graphviz\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise<InstallationInfo> {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import macosRelease from \"macos-release\"\nimport memoize from \"micro-memoize\"\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */\nfunction macosVersion_raw() {\n const { version } = macosRelease()\n return version.split(\".\").map((v) => parseInt(v, 10))\n}\nexport const macosVersion = memoize(macosVersion_raw)\n","import os from 'node:os';\n\nconst nameMap = new Map([\n\t[23, ['Sonoma', '14']],\n\t[22, ['Ventura', '13']],\n\t[21, ['Monterey', '12']],\n\t[20, ['Big Sur', '11']],\n\t[19, ['Catalina', '10.15']],\n\t[18, ['Mojave', '10.14']],\n\t[17, ['High Sierra', '10.13']],\n\t[16, ['Sierra', '10.12']],\n\t[15, ['El Capitan', '10.11']],\n\t[14, ['Yosemite', '10.10']],\n\t[13, ['Mavericks', '10.9']],\n\t[12, ['Mountain Lion', '10.8']],\n\t[11, ['Lion', '10.7']],\n\t[10, ['Snow Leopard', '10.6']],\n\t[9, ['Leopard', '10.5']],\n\t[8, ['Tiger', '10.4']],\n\t[7, ['Panther', '10.3']],\n\t[6, ['Jaguar', '10.2']],\n\t[5, ['Puma', '10.1']],\n]);\n\nexport default function macosRelease(release) {\n\trelease = Number((release || os.release()).split('.')[0]);\n\n\tconst [name, version] = nameMap.get(release) || ['Unknown', ''];\n\n\treturn {\n\t\tname,\n\t\tversion,\n\t};\n}\n","import { ArchiveHdi } from \"@shockpkg/archive-files/src/archive/hdi\"\nimport { join } from \"path\"\n\nexport async function setupDmg(path: string, destDir: string) {\n const dmg = new ArchiveHdi(path)\n await dmg.read(async (entry) => {\n await entry.extract(join(destDir, entry.path))\n })\n}\n","/* eslint-disable max-classes-per-file */\n\nimport {Stats, createReadStream} from 'node:fs';\nimport {basename, join as pathJoin} from 'node:path';\n\nimport {Mounter} from '@shockpkg/hdi-mac';\n\nimport {Archive, Entry, IEntryInfo} from '../archive';\nimport {PathType} from '../types';\nimport {\n\tfsLstatExists,\n\tfsReadlinkRaw,\n\tfsWalk,\n\tpathNormalize,\n\tpathResourceFork,\n\tstatToPathType\n} from '../util';\n\nconst walkOpts = {\n\tignoreUnreadableDirectories: true\n};\n\nconst ejectOptions = {\n\tforce: true\n};\n\nexport interface IEntryInfoHdi extends IEntryInfo {\n\t/**\n\t * @inheritdoc\n\t */\n\tarchive: ArchiveHdi;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tsize: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tsizeComp?: null;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tmode: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tuid: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tgid: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tuname?: null;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tgname?: null;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tatime: Date;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tmtime: Date;\n}\n\n/**\n * EntryHdi object.\n */\nexport class EntryHdi extends Entry {\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly archive: ArchiveHdi;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly size: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly sizeComp: null = null;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly mode: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly uid: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly gid: number;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly uname: null = null;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly gname: null = null;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly atime: Date;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly mtime: Date;\n\n\t/**\n\t * EntryHdi constructor.\n\t *\n\t * @param info Info object.\n\t */\n\tconstructor(info: Readonly<IEntryInfoHdi>) {\n\t\tsuper(info);\n\n\t\tthis.archive = info.archive;\n\t\tthis.size = info.size;\n\t\tthis.mode = info.mode;\n\t\tthis.uid = info.uid;\n\t\tthis.gid = info.gid;\n\t\tthis.atime = info.atime;\n\t\tthis.mtime = info.mtime;\n\t}\n\n\t/**\n\t * Get the path of resource psuedo-file, raw.\n\t *\n\t * @returns Path string.\n\t */\n\tpublic get rsrcPathRaw() {\n\t\treturn pathResourceFork(this.pathRaw);\n\t}\n\n\t/**\n\t * Get the path of resource psuedo-file, normalized.\n\t *\n\t * @returns Path string.\n\t */\n\tpublic get rsrcPath() {\n\t\treturn pathNormalize(pathResourceFork(this.path));\n\t}\n}\n\n/**\n * ArchiveHdi object.\n */\nexport class ArchiveHdi extends Archive {\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic static readonly FILE_EXTENSIONS: Readonly<string[]> | null = [\n\t\t'.dmg',\n\t\t'.iso',\n\t\t'.cdr'\n\t];\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic static readonly HAS_NAMED_VOLUMES: boolean = true;\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic readonly Entry = EntryHdi;\n\n\t/**\n\t * Mounter, Mac.\n\t */\n\tpublic mounterMac = new Mounter();\n\n\t/**\n\t * Hide mounted disk image from the file explorers.\n\t */\n\tpublic nobrowse = false;\n\n\t/**\n\t * ArchiveHdi constructor.\n\t *\n\t * @param path File path.\n\t */\n\tconstructor(path: string) {\n\t\tsuper(path);\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic async read(itter: (entry: EntryHdi) => Promise<unknown>) {\n\t\tawait super.read(itter as (entry: Entry) => Promise<unknown>);\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tprotected async _read(itter: (entry: EntryHdi) => Promise<unknown>) {\n\t\tconst {mounterMac, nobrowse} = this;\n\n\t\t/**\n\t\t * Each itterator.\n\t\t *\n\t\t * @param pathFull Full path.\n\t\t * @param pathRaw Raw path.\n\t\t * @param stat Stat object.\n\t\t * @returns Recursion hint.\n\t\t */\n\t\tconst each = async (pathFull: string, pathRaw: string, stat: Stats) => {\n\t\t\tconst type = statToPathType(stat);\n\t\t\tif (type === null) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tconst {size, mode, uid, gid, atime, mtime} = stat;\n\n\t\t\tconst readData =\n\t\t\t\ttype === PathType.FILE\n\t\t\t\t\t? // eslint-disable-next-line max-len\n\t\t\t\t\t // eslint-disable-next-line @typescript-eslint/require-await\n\t\t\t\t\t async () => createReadStream(pathFull)\n\t\t\t\t\t: null;\n\n\t\t\tconst readSymlink =\n\t\t\t\ttype === PathType.SYMLINK\n\t\t\t\t\t? async () => fsReadlinkRaw(pathFull)\n\t\t\t\t\t: null;\n\n\t\t\tconst entry = new this.Entry({\n\t\t\t\tarchive: this,\n\t\t\t\ttype,\n\t\t\t\tpathRaw,\n\t\t\t\tsize,\n\t\t\t\tmode,\n\t\t\t\tuid,\n\t\t\t\tgid,\n\t\t\t\tatime,\n\t\t\t\tmtime,\n\t\t\t\treadData,\n\t\t\t\treadSymlink\n\t\t\t});\n\n\t\t\tconst ret = await entry.trigger(itter);\n\t\t\tif (ret === false) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tif (ret === null) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (type === PathType.FILE) {\n\t\t\t\tconst rsrcPathFull = pathResourceFork(pathFull);\n\t\t\t\tconst rsrcStat = await fsLstatExists(rsrcPathFull);\n\n\t\t\t\tif (rsrcStat) {\n\t\t\t\t\tconst sizeRsrc = rsrcStat.size;\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Read RSRC.\n\t\t\t\t\t *\n\t\t\t\t\t * @returns Read stream.\n\t\t\t\t\t */\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/require-await\n\t\t\t\t\tconst readRsrc = async () => createReadStream(rsrcPathFull);\n\n\t\t\t\t\tconst entryRsrc = new this.Entry({\n\t\t\t\t\t\tarchive: this,\n\t\t\t\t\t\ttype: PathType.RESOURCE_FORK,\n\t\t\t\t\t\tpathRaw,\n\t\t\t\t\t\tsize: sizeRsrc,\n\t\t\t\t\t\tmode,\n\t\t\t\t\t\tuid,\n\t\t\t\t\t\tgid,\n\t\t\t\t\t\tatime,\n\t\t\t\t\t\tmtime,\n\t\t\t\t\t\treadRsrc\n\t\t\t\t\t});\n\n\t\t\t\t\tconst ret = await entryRsrc.trigger(itter);\n\t\t\t\t\tif (ret === false) {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tif (ret === null) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t};\n\n\t\t// Using auto-eject on normal exit option.\n\t\tconst info = await mounterMac.attach(\n\t\t\tthis.path,\n\t\t\t{\n\t\t\t\tnobrowse,\n\t\t\t\treadonly: true\n\t\t\t},\n\t\t\tejectOptions\n\t\t);\n\n\t\t// Eject device when done.\n\t\ttry {\n\t\t\tfor (const device of info.devices) {\n\t\t\t\tconst {mountPoint} = device;\n\t\t\t\tif (!mountPoint) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst volumeName = basename(mountPoint);\n\t\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\t\tawait fsWalk(\n\t\t\t\t\tmountPoint,\n\t\t\t\t\tasync (pathRel, stat) => {\n\t\t\t\t\t\tconst pathFull = pathJoin(mountPoint, pathRel);\n\t\t\t\t\t\tconst pathRaw = pathJoin(volumeName, pathRel);\n\t\t\t\t\t\treturn each(pathFull, pathRaw, stat);\n\t\t\t\t\t},\n\t\t\t\t\twalkOpts\n\t\t\t\t);\n\t\t\t}\n\t\t} finally {\n\t\t\tawait info.eject(ejectOptions);\n\t\t}\n\t}\n}\n",null,"import {spawn, spawnSync} from 'node:child_process';\n\nimport {\n\tPlist,\n\tValueDict,\n\tValueArray,\n\tValueString,\n\tValueBoolean\n} from '@shockpkg/plist-dom';\n\nexport interface IMounterOptions {\n\t/**\n\t * The path for hdiutil.\n\t *\n\t * @default 'hdiutil'\n\t */\n\thdiutil?: string | null;\n}\n\nexport interface IMounterAttachOptions {\n\t/**\n\t * Force the devices to be read-only.\n\t */\n\treadonly?: boolean;\n\n\t/**\n\t * Hide any mounted volumes from applications like Finder.\n\t */\n\tnobrowse?: boolean;\n}\n\nexport interface IMounterEjectOptions {\n\t/**\n\t * Forcibly detach.\n\t */\n\tforce?: boolean;\n}\n\nexport interface IMounterDevice {\n\t/**\n\t * The dev-entry hdiutil info.\n\t */\n\tdevEntry: string;\n\n\t/**\n\t * The potentially-mountable hdiutil info.\n\t */\n\tpotentiallyMountable: boolean;\n\n\t/**\n\t * The content-hint hdiutil info.\n\t */\n\tcontentHint?: string;\n\n\t/**\n\t * The unmapped-content-hint hdiutil info.\n\t */\n\tunmappedContentHint?: string;\n\n\t/**\n\t * The volume-kind hdiutil info, if present.\n\t */\n\tvolumeKind?: string;\n\n\t/**\n\t * The mount-point hdiutil info, if present.\n\t */\n\tmountPoint?: string;\n}\n\nexport interface IMounterAttachInfo {\n\t/**\n\t * Device list.\n\t */\n\tdevices: IMounterDevice[];\n\n\t/**\n\t * Eject disk.\n\t */\n\teject(options?: Readonly<IMounterEjectOptions> | null): Promise<void>;\n\n\t/**\n\t * Eject disk.\n\t */\n\tejectSync(options?: Readonly<IMounterEjectOptions> | null): void;\n}\n\n/**\n * Mounter object.\n */\nexport class Mounter {\n\t/**\n\t * The path to hdiutil.\n\t */\n\tpublic hdiutil: string;\n\n\t/**\n\t * Mounter constructor.\n\t *\n\t * @param options Options object.\n\t */\n\tconstructor(options: Readonly<IMounterOptions> | null = null) {\n\t\tthis.hdiutil = (options ? options.hdiutil : null) || 'hdiutil';\n\t}\n\n\t/**\n\t * Attach a disk image.\n\t *\n\t * @param file Path to disk image.\n\t * @param options Options object.\n\t * @param ejectOnExit Eject on exit options, or null.\n\t * @returns Info object.\n\t */\n\tpublic async attach(\n\t\tfile: string,\n\t\toptions: Readonly<IMounterAttachOptions> | null = null,\n\t\tejectOnExit: Readonly<IMounterEjectOptions> | null = null\n\t): Promise<IMounterAttachInfo> {\n\t\tconst devices = await this._runAttach(this._argsAttach(file, options));\n\t\tconst {eject, ejectSync} = this._createEjects(devices);\n\t\treturn {\n\t\t\tdevices,\n\t\t\teject,\n\t\t\tejectSync\n\t\t};\n\t}\n\n\t/**\n\t * Attach a disk image.\n\t *\n\t * @param file Path to disk image.\n\t * @param options Options object.\n\t * @param ejectOnExit Eject on exit options, or null.\n\t * @returns Info object.\n\t */\n\tpublic attachSync(\n\t\tfile: string,\n\t\toptions: Readonly<IMounterAttachOptions> | null = null,\n\t\tejectOnExit: Readonly<IMounterEjectOptions> | null = null\n\t): IMounterAttachInfo {\n\t\t// eslint-disable-next-line no-sync\n\t\tconst devices = this._runAttachSync(this._argsAttach(file, options));\n\t\tconst {eject, ejectSync} = this._createEjects(devices);\n\t\treturn {\n\t\t\tdevices,\n\t\t\teject,\n\t\t\tejectSync\n\t\t};\n\t}\n\n\t/**\n\t * Eject a disk image.\n\t *\n\t * @param file Path to device file or volume mount point.\n\t * @param options Options object.\n\t */\n\tpublic async eject(\n\t\tfile: string,\n\t\toptions: Readonly<IMounterEjectOptions> | null = null\n\t) {\n\t\tawait this._runEject(this._argsEject(file, options));\n\t}\n\n\t/**\n\t * Eject a disk image.\n\t *\n\t * @param file Path to device file or volume mount point.\n\t * @param options Options object.\n\t */\n\tpublic ejectSync(\n\t\tfile: string,\n\t\toptions: Readonly<IMounterEjectOptions> | null = null\n\t) {\n\t\t// eslint-disable-next-line no-sync\n\t\tthis._runEjectSync(this._argsEject(file, options));\n\t}\n\n\t/**\n\t * Create args for attach.\n\t *\n\t * @param file Path to disk image.\n\t * @param options Options object.\n\t * @returns Argument list.\n\t */\n\tprotected _argsAttach(\n\t\tfile: string,\n\t\toptions: Readonly<IMounterAttachOptions> | null = null\n\t) {\n\t\tconst args = ['attach', '-plist'];\n\t\tif (options) {\n\t\t\tif (options.readonly) {\n\t\t\t\targs.push('-readonly');\n\t\t\t}\n\t\t\tif (options.nobrowse) {\n\t\t\t\targs.push('-nobrowse');\n\t\t\t}\n\t\t}\n\t\targs.push(this._fileArg(file));\n\t\treturn args;\n\t}\n\n\t/**\n\t * Create args for eject.\n\t *\n\t * @param file Path to device file or volume mount point.\n\t * @param options Options object.\n\t * @returns Argument list.\n\t */\n\tprotected _argsEject(\n\t\tfile: string,\n\t\toptions: Readonly<IMounterEjectOptions> | null = null\n\t) {\n\t\tconst args = ['eject'];\n\t\tif (options && options.force) {\n\t\t\targs.push('-force');\n\t\t}\n\t\targs.push(this._fileArg(file));\n\t\treturn args;\n\t}\n\n\t/**\n\t * Run hdiutil attach command, returning the devices list on success.\n\t *\n\t * @param args CLI args.\n\t * @returns Devices list.\n\t */\n\tprotected async _runAttach(args: Readonly<string[]>) {\n\t\tconst stdouts: Buffer[] = [];\n\t\tconst proc = spawn(this.hdiutil, args);\n\t\tproc.stdout.on('data', (data: Buffer) => {\n\t\t\tstdouts.push(data);\n\t\t});\n\t\tconst code = await new Promise<number | null>((resolve, reject) => {\n\t\t\tproc.once('exit', resolve);\n\t\t\tproc.once('error', reject);\n\t\t});\n\t\tif (code) {\n\t\t\tthrow new Error(`Attach failed: hdiutil exit code: ${code}`);\n\t\t}\n\t\treturn this._parseDevices(Buffer.concat(stdouts).toString());\n\t}\n\n\t/**\n\t * Run hdiutil attach command, returning the devices list on success.\n\t *\n\t * @param args CLI args.\n\t * @returns Devices list.\n\t */\n\tprotected _runAttachSync(args: Readonly<string[]>) {\n\t\tconst {status, error, stdout} = spawnSync(this.hdiutil, args);\n\t\tif (error) {\n\t\t\tthrow error;\n\t\t}\n\t\tif (status) {\n\t\t\tthrow new Error(`Attach failed: hdiutil exit code: ${status}`);\n\t\t}\n\t\treturn this._parseDevices(stdout.toString());\n\t}\n\n\t/**\n\t * Run hdiutil eject command.\n\t *\n\t * @param args CLI args.\n\t */\n\tprotected async _runEject(args: Readonly<string[]>) {\n\t\tconst proc = spawn(this.hdiutil, args);\n\t\tconst status = await new Promise<number | null>((resolve, reject) => {\n\t\t\tproc.once('exit', resolve);\n\t\t\tproc.once('error', reject);\n\t\t});\n\t\tif (status) {\n\t\t\tthrow new Error(`Eject failed: hdiutil exit code: ${status}`);\n\t\t}\n\t}\n\n\t/**\n\t * Run hdiutil eject command.\n\t *\n\t * @param args CLI args.\n\t */\n\tprotected _runEjectSync(args: Readonly<string[]>) {\n\t\tconst {status, error} = spawnSync(this.hdiutil, args);\n\t\tif (error) {\n\t\t\tthrow error;\n\t\t}\n\t\tif (status) {\n\t\t\tthrow new Error(`Eject failed: hdiutil exit code: ${status}`);\n\t\t}\n\t}\n\n\t/**\n\t * Create file argument from file path.\n\t *\n\t * @param file File path.\n\t * @returns A path for use as argument.\n\t */\n\tprotected _fileArg(file: string) {\n\t\t// Make sure it will not be recognized as option argument.\n\t\treturn file.startsWith('-') ? `./${file}` : file;\n\t}\n\n\t/**\n\t * Parse devices plist into devices list.\n\t *\n\t * @param xml XML plist.\n\t * @returns Devices list.\n\t */\n\tprotected _parseDevices(xml: string) {\n\t\tconst plist = new Plist();\n\t\tplist.fromXml(xml);\n\t\tconst systemEntities = plist\n\t\t\t.valueCastAs(ValueDict)\n\t\t\t.getValue('system-entities')\n\t\t\t.castAs(ValueArray);\n\n\t\tconst r: IMounterDevice[] = [];\n\t\tfor (const value of systemEntities.value) {\n\t\t\tconst dict = value.castAs(ValueDict);\n\t\t\tconst devEntry = dict\n\t\t\t\t.getValue('dev-entry')\n\t\t\t\t.castAs(ValueString).value;\n\t\t\tconst potentiallyMountable = dict\n\t\t\t\t.getValue('potentially-mountable')\n\t\t\t\t.castAs(ValueBoolean).value;\n\t\t\tconst contentHint = dict.get('content-hint');\n\t\t\tconst unmappedContentHint = dict.get('unmapped-content-hint');\n\t\t\tconst volumeKind = dict.get('volume-kind');\n\t\t\tconst mountPoint = dict.get('mount-point');\n\n\t\t\tconst device: IMounterDevice = {\n\t\t\t\tdevEntry,\n\t\t\t\tpotentiallyMountable\n\t\t\t};\n\t\t\tif (contentHint) {\n\t\t\t\tdevice.contentHint = contentHint.castAs(ValueString).value;\n\t\t\t}\n\t\t\tif (unmappedContentHint) {\n\t\t\t\tdevice.unmappedContentHint =\n\t\t\t\t\tunmappedContentHint.castAs(ValueString).value;\n\t\t\t}\n\t\t\tif (volumeKind) {\n\t\t\t\tdevice.volumeKind = volumeKind.castAs(ValueString).value;\n\t\t\t}\n\t\t\tif (mountPoint) {\n\t\t\t\tdevice.mountPoint = mountPoint.castAs(ValueString).value;\n\t\t\t}\n\t\t\tr.push(device);\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * Find the root device, null on empty list.\n\t *\n\t * @param devices Device list.\n\t * @returns Root device or null if an empty list.\n\t */\n\tprotected _findRootDevice(devices: Readonly<Readonly<IMounterDevice>[]>) {\n\t\tlet r: IMounterDevice | null = null;\n\t\tfor (const device of devices) {\n\t\t\tif (r === null || r.devEntry.length > device.devEntry.length) {\n\t\t\t\tr = device;\n\t\t\t}\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * Create ejects callback from a list of devices.\n\t *\n\t * @param devices Device list.\n\t * @param ejectOnExit Eject on exit options, or null.\n\t * @returns Callback function.\n\t */\n\tprotected _createEjects(\n\t\tdevices: Readonly<Readonly<IMounterDevice>[]>,\n\t\tejectOnExit = null\n\t) {\n\t\t// Find the root device, to use to eject (none possible in theory).\n\t\tlet devEntry = this._findRootDevice(devices)?.devEntry;\n\n\t\tlet shutdown: (() => void) | null = null;\n\t\tconst info = {\n\t\t\t/**\n\t\t\t * The eject callback function.\n\t\t\t *\n\t\t\t * @param options Eject options.\n\t\t\t */\n\t\t\teject: async (options: IMounterEjectOptions | null = null) => {\n\t\t\t\tif (devEntry) {\n\t\t\t\t\tawait this.eject(devEntry, options);\n\t\t\t\t\tdevEntry = '';\n\t\t\t\t\tif (shutdown) {\n\t\t\t\t\t\tprocess.off('exit', shutdown);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * The eject callback function.\n\t\t\t *\n\t\t\t * @param options Eject options.\n\t\t\t */\n\t\t\tejectSync: (options: IMounterEjectOptions | null = null) => {\n\t\t\t\tif (devEntry) {\n\t\t\t\t\t// eslint-disable-next-line no-sync\n\t\t\t\t\tthis.ejectSync(devEntry, options);\n\t\t\t\t\tdevEntry = '';\n\t\t\t\t\tif (shutdown) {\n\t\t\t\t\t\tprocess.off('exit', shutdown);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tif (ejectOnExit) {\n\t\t\t/**\n\t\t\t * Attempt to auto-eject on normal shutdown.\n\t\t\t * Does not catch signals (no clean way in a library).\n\t\t\t * Users can explicitly call process.exit() on signals to use this.\n\t\t\t */\n\t\t\tshutdown = () => {\n\t\t\t\t// eslint-disable-next-line no-sync\n\t\t\t\tinfo.ejectSync(ejectOnExit);\n\t\t\t};\n\t\t\tprocess.once('exit', shutdown);\n\t\t}\n\n\t\treturn info;\n\t}\n}\n",null,"import {INDENT_ROOT, IToXmlOptions, NEWLINE_STRING} from './options';\nimport {IElement, xmlDecode, xmlElementChildElements} from './util';\nimport {Value} from './value';\nimport {ValueDict} from './value/dict';\n\nconst xmlDeclaration = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\nconst xmlDoctype =\n\t'<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">';\n\n/**\n * Plist object.\n */\nexport class Plist {\n\t/**\n\t * Default XML declaration.\n\t */\n\tpublic static readonly XML_DECLARATION = xmlDeclaration;\n\n\t/**\n\t * Default XML doctype.\n\t */\n\tpublic static readonly XML_DOCTYPE = xmlDoctype;\n\n\t/**\n\t * XML declaration.\n\t */\n\tpublic xmlDeclaration = xmlDeclaration;\n\n\t/**\n\t * XML doctype.\n\t */\n\tpublic xmlDoctype = xmlDoctype;\n\n\t/**\n\t * Value element.\n\t */\n\tpublic value: Value | null = null;\n\n\t/**\n\t * Plist constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value: Value | null = null) {\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * Get value or throw if null.\n\t *\n\t * @returns The value.\n\t */\n\tpublic getValue() {\n\t\tconst {value} = this;\n\t\tif (!value) {\n\t\t\tthrow new Error('Value is null');\n\t\t}\n\t\treturn value;\n\t}\n\n\t/**\n\t * Cast to specific type or null.\n\t *\n\t * @param Type Type constructor.\n\t * @returns The object or null.\n\t */\n\tpublic valueCastTo<T extends typeof Value>(Type: T): T['prototype'] | null {\n\t\tconst {value} = this;\n\t\treturn value ? value.castTo(Type) : null;\n\t}\n\n\t/**\n\t * Cast to specific type or throw.\n\t *\n\t * @param Type Type constructor.\n\t * @returns The object.\n\t */\n\tpublic valueCastAs<T extends typeof Value>(Type: T): T['prototype'] {\n\t\tconst casted = this.valueCastTo(Type);\n\t\tif (!casted) {\n\t\t\tthrow new Error(`Cannot cast value to type '${Type.TYPE}'`);\n\t\t}\n\t\treturn casted;\n\t}\n\n\t/**\n\t * Decode document from string.\n\t *\n\t * @param xml XML string.\n\t */\n\tpublic fromXml(xml: string) {\n\t\tconst {declaration, doctype, documentElement} = xmlDecode(xml);\n\t\tthis.fromXmlElement(documentElement, declaration, doctype);\n\t}\n\n\t/**\n\t * Decode document from element.\n\t *\n\t * @param element XML element.\n\t * @param declaration XML declaration.\n\t * @param doctype XML doctype.\n\t */\n\tpublic fromXmlElement(\n\t\telement: Readonly<IElement>,\n\t\tdeclaration: string | null = null,\n\t\tdoctype: string | null = null\n\t) {\n\t\tconst {tagName} = element;\n\t\tif (tagName !== 'plist') {\n\t\t\tthrow new Error(`Unexpected root plist tag name: ${tagName}`);\n\t\t}\n\n\t\tconst childElements = xmlElementChildElements(element);\n\t\tconst childElementsL = childElements.length;\n\t\tif (childElementsL > 1) {\n\t\t\tthrow new Error(`Multiple root plist child tag: ${childElementsL}`);\n\t\t}\n\n\t\tthis.value = childElementsL\n\t\t\t? this.childFromXmlElement(childElements[0])\n\t\t\t: null;\n\t\tthis.xmlDeclaration = declaration || '';\n\t\tthis.xmlDoctype = doctype || '';\n\t}\n\n\t/**\n\t * Decode child element from XML element.\n\t *\n\t * @param element XML element.\n\t * @returns Value element.\n\t */\n\tpublic childFromXmlElement(element: IElement) {\n\t\tconst a = new ValueDict();\n\t\treturn a.childFromXmlElement(element);\n\t}\n\n\t/**\n\t * Encode documents to string.\n\t *\n\t * @param options Options object.\n\t * @returns XML string.\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null) {\n\t\tconst ir = options?.indentRoot ?? INDENT_ROOT;\n\t\tconst n = options?.newlineString ?? NEWLINE_STRING;\n\n\t\tconst v = this.value;\n\t\treturn [\n\t\t\t...[this.xmlDeclaration, this.xmlDoctype].filter(s => s),\n\t\t\t'<plist version=\"1.0\">',\n\t\t\t...(v ? [v.toXml(options, ir ? 1 : 0)] : []),\n\t\t\t'</plist>',\n\t\t\t''\n\t\t].join(n);\n\t}\n}\n",null,"export const INDENT_STRING = '\\t';\nexport const NEWLINE_STRING = '\\n';\nexport const DATA_COLUMNS = 68;\nexport const INDENT_ROOT = false;\n\nexport interface IToXmlOptions {\n\t/**\n\t * Indent string.\n\t *\n\t * @default '\\t'\n\t */\n\tindentString?: string | null;\n\n\t/**\n\t * Newline string.\n\t *\n\t * @default '\\n'\n\t */\n\tnewlineString?: string | null;\n\n\t/**\n\t * Data columns, zero of negative for one row.\n\t *\n\t * @default 68\n\t */\n\tdataColumns?: number | null;\n\n\t/**\n\t * Indent root element content.\n\t *\n\t * @default false\n\t */\n\tindentRoot?: boolean | null;\n}\n",null,"import {DOMParser} from '@xmldom/xmldom';\n\nconst B6 = 0x3f;\nconst B8 = 0xff;\nconst C64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nconst C64M = [\n\t-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n\t-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n\t-1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60,\n\t61, -1, -1, -1, 64, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,\n\t13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1,\n\t26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,\n\t45, 46, 47, 48, 49, 50, 51\n];\n\nexport interface IText {\n\tnodeValue: string | null;\n}\n\nexport interface IElement {\n\treadonly tagName: string;\n\tchildNodes: {\n\t\tlength: number;\n\t\t[index: number]: IElement | IText;\n\t};\n\ttoString: () => string;\n}\n\n/**\n * Decode an XML string.\n *\n * @param xml XML string.\n * @returns Decoded declaration, doctype, and document element.\n */\nexport function xmlDecode(xml: string) {\n\tlet declaration: string | null = null;\n\tlet doctype: string | null = null;\n\n\tconst errors: string[] = [];\n\t// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n\tconst parser = new DOMParser({\n\t\tlocator: {},\n\t\terrorHandler: {\n\t\t\t/**\n\t\t\t * Warning callback.\n\t\t\t *\n\t\t\t * @param e Error string.\n\t\t\t */\n\t\t\twarning: (e: string) => {\n\t\t\t\t// Ignore warnings.\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Error callback.\n\t\t\t *\n\t\t\t * @param e Error string.\n\t\t\t */\n\t\t\terror: (e: string) => {\n\t\t\t\terrors.push(e);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Fatal error callback.\n\t\t\t *\n\t\t\t * @param e Error string.\n\t\t\t */\n\t\t\tfatalError: (e: string) => {\n\t\t\t\terrors.push(e);\n\t\t\t}\n\t\t}\n\t});\n\tconst doc = parser.parseFromString(xml, 'text/xml') as unknown as {\n\t\tdocumentElement: Readonly<IElement>;\n\t\tchildNodes: {toString: () => string}[];\n\t};\n\tif (errors.length) {\n\t\tthrow new Error(`XML decode error: ${errors[0]}`);\n\t}\n\n\tconst {childNodes} = doc;\n\tconst documentElement = doc.documentElement || null;\n\n\tfor (let i = 0, l = childNodes.length; i < l; i++) {\n\t\tconst childNode = childNodes[i];\n\t\tif (childNode === documentElement) {\n\t\t\tbreak;\n\t\t}\n\t\tconst str = childNode.toString();\n\t\tif (/^<\\?xml[^>]*\\?>$/.test(str)) {\n\t\t\tdeclaration = str;\n\t\t}\n\t\tif (/^<!DOCTYPE[^>]*>$/.test(str)) {\n\t\t\tdoctype = str;\n\t\t}\n\t}\n\n\tif (!documentElement) {\n\t\tthrow new Error('XML decode error: No document element');\n\t}\n\n\treturn {\n\t\tdeclaration,\n\t\tdoctype,\n\t\tdocumentElement\n\t};\n}\n\n/**\n * List XML element child elements.\n * Throws if non-whitespace nodes are found.\n *\n * @param element XML element.\n * @returns XML element list.\n */\nexport function xmlElementChildElements<T extends Readonly<IElement>>(\n\telement: T\n): T[] {\n\tconst {childNodes} = element;\n\tconst r = [];\n\tfor (let i = 0, l = childNodes.length; i < l; i++) {\n\t\tconst childNode = childNodes[i];\n\t\tif ('tagName' in childNode) {\n\t\t\tr.push(childNode as T);\n\t\t\tcontinue;\n\t\t}\n\t\tconst {nodeValue} = childNode;\n\t\tif (nodeValue && !/^\\s*$/.test(nodeValue)) {\n\t\t\tthrow new Error(`Found text children of: ${element.tagName}`);\n\t\t}\n\t}\n\treturn r;\n}\n\n/**\n * Get the XML element text node.\n * Returns null if none, throws if multiple elements.\n *\n * @param element XML element.\n * @returns XML text node list.\n */\nexport function xmlElementText(element: Readonly<IElement>) {\n\tconst {childNodes} = element;\n\tlet r: IText | null = null;\n\tfor (let i = 0, l = childNodes.length; i < l; i++) {\n\t\tif (i) {\n\t\t\tthrow new Error(`Multiple child elements in: ${element.tagName}`);\n\t\t}\n\n\t\tconst childNode = childNodes[i];\n\t\tif (\n\t\t\t!('tagName' in childNode) &&\n\t\t\t'data' in childNode &&\n\t\t\t'nodeValue' in childNode\n\t\t) {\n\t\t\tr = childNode as IText;\n\t\t} else {\n\t\t\tthrow new Error(`Unexpected child element in: ${element.tagName}`);\n\t\t}\n\t}\n\treturn r;\n}\n\n/**\n * Assert XML element has no children.\n *\n * @param element XML element.\n * @param tagName XML element tag name.\n */\nexport function assertXmlTagName(element: Readonly<IElement>, tagName: string) {\n\tconst tn = element.tagName;\n\tif (tn !== tagName) {\n\t\tthrow new Error(`Unexpected tagName: ${tagName}`);\n\t}\n}\n\n/**\n * Assert XML element has no children.\n *\n * @param element XML element.\n */\nexport function assertNoXmlElementChildNodes(element: Readonly<IElement>) {\n\tconst {childNodes} = element;\n\tif (childNodes.length) {\n\t\tthrow new Error(`Unexpected child nodes: ${element.tagName}`);\n\t}\n}\n\n/**\n * Base64 encode function mirroring decode function.\n *\n * @param data Byte array.\n * @returns Base64 string.\n */\nexport function base64Encode(data: Uint8Array) {\n\tconst l = data.length;\n\tlet r = '';\n\tfor (let i = 0; i < l; ) {\n\t\tconst a = data[i++];\n\t\tconst b = i < l ? data[i++] : null;\n\t\tconst c = i < l ? data[i++] : null;\n\t\t// eslint-disable-next-line no-bitwise\n\t\tconst o = (a << 16) | ((b || 0) << 8) | (c || 0);\n\t\tr +=\n\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\tC64[o >> 18] +\n\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\tC64[(o >> 12) & B6] +\n\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\tC64[b === null ? 64 : (o >> 6) & B6] +\n\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\tC64[c === null ? 64 : o & B6];\n\t}\n\treturn r;\n}\n\n/**\n * Base64 decode function that matches plist parsing behavior.\n *\n * @param base64 Base64 string.\n * @returns Byte array.\n */\nexport function base64Decode(base64: string) {\n\tconst l = base64.length;\n\tconst r = [];\n\tOUTER: for (let a, b, c, d, m, z, i = 0; i < l; ) {\n\t\tfor (;;) {\n\t\t\tif ((m = C64M[base64.charCodeAt(i++)]) >= 0) {\n\t\t\t\ta = m;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i >= l) {\n\t\t\t\tbreak OUTER;\n\t\t\t}\n\t\t}\n\t\tfor (;;) {\n\t\t\tif ((m = C64M[base64.charCodeAt(i++)]) >= 0) {\n\t\t\t\tb = m;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i >= l) {\n\t\t\t\tbreak OUTER;\n\t\t\t}\n\t\t}\n\t\tfor (;;) {\n\t\t\tif ((m = C64M[base64.charCodeAt(i++)]) >= 0) {\n\t\t\t\tc = m;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i >= l) {\n\t\t\t\tbreak OUTER;\n\t\t\t}\n\t\t}\n\t\tfor (;;) {\n\t\t\tif ((m = C64M[base64.charCodeAt(i++)]) >= 0) {\n\t\t\t\td = m;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i >= l) {\n\t\t\t\tbreak OUTER;\n\t\t\t}\n\t\t}\n\t\t// eslint-disable-next-line no-bitwise\n\t\tz = ((a & B6) << 18) | ((b & B6) << 12) | ((c & B6) << 6) | (d & B6);\n\t\t// eslint-disable-next-line default-case, no-nested-ternary\n\t\tswitch (c > B6 ? (d > B6 ? 2 : 0) : d > B6 ? 1 : 0) {\n\t\t\tcase 0: {\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tr.push((z >> 16) & B8, (z >> 8) & B8, z & B8);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 1: {\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tr.push((z >> 16) & B8, (z >> 8) & B8);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 2: {\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tr.push((z >> 16) & B8);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn new Uint8Array(r);\n}\n","var dom = require('./dom')\nexports.DOMImplementation = dom.DOMImplementation\nexports.XMLSerializer = dom.XMLSerializer\nexports.DOMParser = require('./dom-parser').DOMParser\n",null,"import {INDENT_STRING, NEWLINE_STRING, IToXmlOptions} from '../options';\nimport {\n\tIElement,\n\tassertXmlTagName,\n\txmlElementChildElements,\n\txmlElementText\n} from '../util';\nimport {Value} from '../value';\n\nimport {ValueArray} from './array';\nimport {ValueBoolean} from './boolean';\nimport {ValueData} from './data';\nimport {ValueInteger} from './integer';\nimport {ValueReal} from './real';\nimport {ValueString} from './string';\n\nlet childTagNames: Readonly<Map<string, new () => Value>>;\n\n/**\n * ValueDict object.\n */\nexport class ValueDict extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'dict';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['dict'];\n\n\t/**\n\t * Child tag names.\n\t *\n\t * @returns Child tag names map.\n\t */\n\tpublic static get CHILD_TAG_NAMES() {\n\t\tif (!childTagNames) {\n\t\t\tchildTagNames = new Map();\n\t\t\tfor (const ValueType of [\n\t\t\t\tValueArray,\n\t\t\t\tValueBoolean,\n\t\t\t\tValueData,\n\t\t\t\tValueDict,\n\t\t\t\tValueInteger,\n\t\t\t\tValueReal,\n\t\t\t\tValueString\n\t\t\t]) {\n\t\t\t\tfor (const t of ValueType.TAG_NAMES) {\n\t\t\t\t\tchildTagNames.set(t, ValueType);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn childTagNames;\n\t}\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value = new Map<string, Value>();\n\n\t/**\n\t * ValueDict constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value = new Map<string, Value>()) {\n\t\tsuper();\n\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * Dictionary size.\n\t *\n\t * @returns The size.\n\t */\n\tpublic get size() {\n\t\treturn this.value.size;\n\t}\n\n\t/**\n\t * Check if key exists.\n\t *\n\t * @param key Dictionary key.\n\t * @returns The value or null.\n\t */\n\tpublic has(key: string) {\n\t\treturn this.value.has(key);\n\t}\n\n\t/**\n\t * Get value for key or null if does not exist.\n\t *\n\t * @param key Dictionary key.\n\t * @returns The value or null.\n\t */\n\tpublic get(key: string) {\n\t\treturn this.value.get(key) || null;\n\t}\n\n\t/**\n\t * Get value for key or throw.\n\t *\n\t * @param key Dictionary key.\n\t * @returns The value.\n\t */\n\tpublic getValue(key: string) {\n\t\tconst r = this.get(key);\n\t\tif (!r) {\n\t\t\tthrow new Error(`Key is null: ${key}`);\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * Set value for key.\n\t *\n\t * @param key Dictionary key.\n\t * @param value Value object.\n\t */\n\tpublic set(key: string, value: Value) {\n\t\tthis.value.set(key, value);\n\t}\n\n\t/**\n\t * Delete value for key.\n\t *\n\t * @param key Dictionary key.\n\t */\n\tpublic delete(key: string) {\n\t\tthis.value.delete(key);\n\t}\n\n\t/**\n\t * Clear dictionary.\n\t */\n\tpublic clear() {\n\t\tthis.value.clear();\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertXmlTagName(element, 'dict');\n\t\tconst children = xmlElementChildElements(element);\n\t\tconst l = children.length;\n\t\tif (l % 2) {\n\t\t\tthrow new Error(`Uneven number of child elements: ${l}`);\n\t\t}\n\t\tconst v: Map<string, Value> = new Map();\n\t\tfor (let i = 0; i < l; i += 2) {\n\t\t\tconst eK = children[i];\n\t\t\tconst eV = children[i + 1];\n\t\t\tassertXmlTagName(eK, 'key');\n\t\t\tconst key = xmlElementText(eK)?.nodeValue || '';\n\t\t\tconst value = this.childFromXmlElement(eV);\n\t\t\tv.set(key, value);\n\t\t}\n\t\tthis.value = v;\n\t}\n\n\t/**\n\t * Decode child element from XML element.\n\t *\n\t * @param element XML element.\n\t * @returns Value element.\n\t */\n\tpublic childFromXmlElement(element: Readonly<IElement>) {\n\t\tconst {tagName} = element;\n\t\tconst {CHILD_TAG_NAMES} = this.constructor as typeof ValueDict;\n\t\tconst Value = CHILD_TAG_NAMES.get(tagName) || null;\n\t\tif (!Value) {\n\t\t\tthrow new Error(`Unknown element type: ${tagName}`);\n\t\t}\n\t\tconst r = new Value();\n\t\tr.fromXmlElement(element);\n\t\treturn r;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst i = options?.indentString ?? INDENT_STRING;\n\t\tconst n = options?.newlineString ?? NEWLINE_STRING;\n\t\tconst p = i.repeat(depth);\n\t\tconst v = this.value;\n\t\tif (!v.size) {\n\t\t\treturn `${p}<dict/>`;\n\t\t}\n\t\tconst p2 = i.repeat(depth + 1);\n\t\tlet r = `${p}<dict>`;\n\t\tfor (const [key, val] of v) {\n\t\t\tconst e = key\n\t\t\t\t.replaceAll('&', '&amp;')\n\t\t\t\t.replaceAll('<', '&lt;')\n\t\t\t\t.replaceAll('>', '&gt;');\n\t\t\tr += `${n}${p2}<key>${e}</key>${n}${val.toXml(options, depth + 1)}`;\n\t\t}\n\t\tr += `${n}${p}</dict>`;\n\t\treturn r;\n\t}\n}\n",null,"import {IToXmlOptions} from './options';\nimport {IElement, xmlDecode} from './util';\n\n/**\n * Value object.\n */\nexport abstract class Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE: string;\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES: string[];\n\n\t/**\n\t * Value constructor.\n\t */\n\tconstructor() {}\n\n\t/**\n\t * Value type.\n\t *\n\t * @returns Type string.\n\t */\n\tpublic get type() {\n\t\treturn (this.constructor as typeof Value).TYPE;\n\t}\n\n\t/**\n\t * Cast to specific type or null.\n\t *\n\t * @param Type Type constructor.\n\t * @returns This object or null.\n\t */\n\tpublic castTo<T extends typeof Value>(Type: T): T['prototype'] | null {\n\t\treturn this.type === Type.TYPE ? this : null;\n\t}\n\n\t/**\n\t * Cast to specific type or throw.\n\t *\n\t * @param Type Type constructor.\n\t * @returns This object.\n\t */\n\tpublic castAs<T extends typeof Value>(Type: T): T['prototype'] {\n\t\tconst casted = this.castTo(Type);\n\t\tif (!casted) {\n\t\t\tthrow new Error(\n\t\t\t\t`Cannot cast type '${this.type}' to '${Type.TYPE}'`\n\t\t\t);\n\t\t}\n\t\treturn casted;\n\t}\n\n\t/**\n\t * Decode document from string.\n\t *\n\t * @param xml XML string.\n\t */\n\tpublic fromXml(xml: string) {\n\t\tconst {documentElement} = xmlDecode(xml);\n\t\tthis.fromXmlElement(documentElement);\n\t}\n\n\t/**\n\t * Decode value from element.\n\t *\n\t * @param element XML element.\n\t */\n\tpublic abstract fromXmlElement(element: Readonly<IElement>): void;\n\n\t/**\n\t * Encode Value to string.\n\t *\n\t * @param options Options object.\n\t * @param depth Indent depth.\n\t * @returns Xml string.\n\t */\n\tpublic abstract toXml(\n\t\toptions?: Readonly<IToXmlOptions> | null,\n\t\tdepth?: number\n\t): string;\n}\n",null,"import {INDENT_STRING, NEWLINE_STRING, IToXmlOptions} from '../options';\nimport {IElement, assertXmlTagName, xmlElementChildElements} from '../util';\nimport {Value} from '../value';\n\nimport {ValueBoolean} from './boolean';\nimport {ValueData} from './data';\nimport {ValueDict} from './dict';\nimport {ValueInteger} from './integer';\nimport {ValueReal} from './real';\nimport {ValueString} from './string';\n\nlet childTagNames: Readonly<Map<string, new () => Value>>;\n\n/**\n * ValueArray object.\n */\nexport class ValueArray extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'array';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['array'];\n\n\t/**\n\t * Child tag names.\n\t *\n\t * @returns Child tag names map.\n\t */\n\tpublic static get CHILD_TAG_NAMES() {\n\t\tif (!childTagNames) {\n\t\t\tchildTagNames = new Map();\n\t\t\tfor (const ValueType of [\n\t\t\t\tValueArray,\n\t\t\t\tValueBoolean,\n\t\t\t\tValueData,\n\t\t\t\tValueDict,\n\t\t\t\tValueInteger,\n\t\t\t\tValueReal,\n\t\t\t\tValueString\n\t\t\t]) {\n\t\t\t\tfor (const t of ValueType.TAG_NAMES) {\n\t\t\t\t\tchildTagNames.set(t, ValueType);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn childTagNames;\n\t}\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value: Value[] = [];\n\n\t/**\n\t * ValueArray constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value: Value[] = []) {\n\t\tsuper();\n\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * Array length.\n\t *\n\t * @returns The length.\n\t */\n\tpublic get length() {\n\t\treturn this.value.length;\n\t}\n\n\t/**\n\t * Get value at index or null if out of bounds.\n\t *\n\t * @param index Array index.\n\t * @returns The value or null.\n\t */\n\tpublic get(index: number) {\n\t\tconst {value} = this;\n\t\treturn index < this.length ? value[index] : null;\n\t}\n\n\t/**\n\t * Get value at index or throw.\n\t *\n\t * @param index Array index.\n\t * @returns The value.\n\t */\n\tpublic getValue(index: number) {\n\t\tconst r = this.get(index);\n\t\tif (!r) {\n\t\t\tthrow new Error(`Index out of bounds: ${index}`);\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * Set value at index.\n\t *\n\t * @param index Array index.\n\t * @param value Value object.\n\t */\n\tpublic set(index: number, value: Value) {\n\t\tthis.value[index] = value;\n\t}\n\n\t/**\n\t * Push values onto array.\n\t *\n\t * @param values Value objects.\n\t */\n\tpublic push(...values: Value[]) {\n\t\tthis.value.push(...values);\n\t}\n\n\t/**\n\t * Pop value off array or null.\n\t *\n\t * @returns Value object or null.\n\t */\n\tpublic pop() {\n\t\treturn this.value.pop() || null;\n\t}\n\n\t/**\n\t * Pop value off array or throw.\n\t *\n\t * @returns Value object or null.\n\t */\n\tpublic popValue() {\n\t\tconst r = this.pop();\n\t\tif (!r) {\n\t\t\tthrow new Error('Cannot pop empty array');\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * Shift value off array or null.\n\t *\n\t * @returns Value object or null.\n\t */\n\tpublic shift() {\n\t\treturn this.value.shift() || null;\n\t}\n\n\t/**\n\t * Pop value off array or throw.\n\t *\n\t * @returns Value object or null.\n\t */\n\tpublic shiftValue() {\n\t\tconst r = this.shift();\n\t\tif (!r) {\n\t\t\tthrow new Error('Cannot shift empty array');\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertXmlTagName(element, 'array');\n\t\tconst children = xmlElementChildElements(element);\n\t\tthis.value = children.map(el => this.childFromXmlElement(el));\n\t}\n\n\t/**\n\t * Decode child element from XML element.\n\t *\n\t * @param element XML element.\n\t * @returns Value element.\n\t */\n\tpublic childFromXmlElement(element: Readonly<IElement>) {\n\t\tconst {tagName} = element;\n\t\tconst {CHILD_TAG_NAMES} = this.constructor as typeof ValueArray;\n\t\tconst Value = CHILD_TAG_NAMES.get(tagName) || null;\n\t\tif (!Value) {\n\t\t\tthrow new Error(`Unknown element type: ${tagName}`);\n\t\t}\n\t\tconst r = new Value();\n\t\tr.fromXmlElement(element);\n\t\treturn r;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst n = options?.newlineString ?? NEWLINE_STRING;\n\t\tconst p = (options?.indentString ?? INDENT_STRING).repeat(depth);\n\t\tconst v = this.value;\n\t\tif (!v.length) {\n\t\t\treturn `${p}<array/>`;\n\t\t}\n\t\tlet r = `${p}<array>`;\n\t\tfor (const el of v) {\n\t\t\tr += `${n}${el.toXml(options, depth + 1)}`;\n\t\t}\n\t\tr += `${n}${p}</array>`;\n\t\treturn r;\n\t}\n}\n",null,"import {INDENT_STRING, IToXmlOptions} from '../options';\nimport {\n\tIElement,\n\tassertNoXmlElementChildNodes,\n\tassertXmlTagName\n} from '../util';\nimport {Value} from '../value';\n\n/**\n * ValueBoolean object.\n */\nexport class ValueBoolean extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'boolean';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['true', 'false'];\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value = false;\n\n\t/**\n\t * ValueBoolean constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value = false) {\n\t\tsuper();\n\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertNoXmlElementChildNodes(element);\n\t\tswitch (element.tagName) {\n\t\t\tcase 'true': {\n\t\t\t\tthis.value = true;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcase 'false': {\n\t\t\t\tthis.value = false;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow assertXmlTagName(element, '');\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst p = (options?.indentString ?? INDENT_STRING).repeat(depth);\n\t\treturn this.value ? `${p}<true/>` : `${p}<false/>`;\n\t}\n}\n",null,"import {\n\tDATA_COLUMNS,\n\tINDENT_STRING,\n\tIToXmlOptions,\n\tNEWLINE_STRING\n} from '../options';\nimport {\n\tIElement,\n\tassertXmlTagName,\n\tbase64Decode,\n\tbase64Encode,\n\txmlElementText\n} from '../util';\nimport {Value} from '../value';\n\n/**\n * ValueData object.\n */\nexport class ValueData extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'data';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['data'];\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value: Uint8Array;\n\n\t/**\n\t * ValueData constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value = new Uint8Array(0)) {\n\t\tsuper();\n\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertXmlTagName(element, 'data');\n\t\tconst text = xmlElementText(element)?.nodeValue || '';\n\t\tthis.value = base64Decode(text);\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst n = options?.newlineString ?? NEWLINE_STRING;\n\t\tconst c = options?.dataColumns ?? DATA_COLUMNS;\n\t\tconst p = (options?.indentString ?? INDENT_STRING).repeat(depth);\n\t\tlet r = `${p}<data>`;\n\t\tif (c > 0) {\n\t\t\tfor (let s = base64Encode(this.value); s; s = s.substring(c)) {\n\t\t\t\tr += `${n}${p}${s.substring(0, c)}`;\n\t\t\t}\n\t\t} else {\n\t\t\tr += `${n}${p}${base64Encode(this.value)}`;\n\t\t}\n\t\tr += `${n}${p}</data>`;\n\t\treturn r;\n\t}\n}\n",null,"import {INDENT_STRING, IToXmlOptions} from '../options';\nimport {IElement, assertXmlTagName, xmlElementText} from '../util';\nimport {Value} from '../value';\n\nconst MAX_NUM = 0x1fffffffffffff;\n\n/**\n * Assert number is integer.\n *\n * @param value Number value.\n */\nfunction assertInteger(value: number | bigint) {\n\tif (typeof value === 'number' && !Number.isInteger(value)) {\n\t\tthrow new Error(`Value not an integer: ${value}`);\n\t}\n}\n\n/**\n * ValueInteger object.\n */\nexport class ValueInteger extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'integer';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['integer'];\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value: number | bigint = 0;\n\n\t/**\n\t * ValueInteger constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value: number | bigint = 0) {\n\t\tsuper();\n\n\t\tassertInteger(value);\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * Get value as BigInt.\n\t *\n\t * @returns Value as a BigInt.\n\t */\n\tpublic asBigInt() {\n\t\treturn BigInt(this.value);\n\t}\n\n\t/**\n\t * Get value as Number, possibly losing some precision.\n\t *\n\t * @returns Value as a Number.\n\t */\n\tpublic asNumber() {\n\t\treturn Number(this.value);\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertXmlTagName(element, 'integer');\n\t\tconst text = xmlElementText(element)?.nodeValue || '';\n\t\tif (!/^[-+]?[0-9]+$/.test(text)) {\n\t\t\tthrow new Error(`Invalid integer data: ${text}`);\n\t\t}\n\t\tconst num = +text;\n\t\tthis.value = num > MAX_NUM || num < -MAX_NUM ? BigInt(text) : num;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst p = (options?.indentString ?? INDENT_STRING).repeat(depth);\n\t\tconst v = this.value;\n\t\tassertInteger(v);\n\t\treturn `${p}<integer>${v}</integer>`;\n\t}\n}\n",null,"import {INDENT_STRING, IToXmlOptions} from '../options';\nimport {IElement, assertXmlTagName, xmlElementText} from '../util';\nimport {Value} from '../value';\n\n/**\n * ValueReal object.\n */\nexport class ValueReal extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'real';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['real'];\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value = 0;\n\n\t/**\n\t * ValueReal constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value = 0) {\n\t\tsuper();\n\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertXmlTagName(element, 'real');\n\t\tconst text = xmlElementText(element)?.nodeValue || '';\n\t\tif (!/^[-+]?([0-9]+|[0-9]*\\.[0-9]+)$/.test(text)) {\n\t\t\tthrow new Error(`Invalid real data: ${text}`);\n\t\t}\n\t\tthis.value = +text;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst p = (options?.indentString ?? INDENT_STRING).repeat(depth);\n\t\tconst v = this.value;\n\t\treturn `${p}<real>${v}</real>`;\n\t}\n}\n",null,"import {INDENT_STRING, IToXmlOptions} from '../options';\nimport {IElement, assertXmlTagName, xmlElementText} from '../util';\nimport {Value} from '../value';\n\n/**\n * ValueString object.\n */\nexport class ValueString extends Value {\n\t/**\n\t * Value type.\n\t */\n\tpublic static readonly TYPE = 'string';\n\n\t/**\n\t * Tag names.\n\t */\n\tpublic static readonly TAG_NAMES = ['string'];\n\n\t/**\n\t * Value value.\n\t */\n\tpublic value = '';\n\n\t/**\n\t * ValueString constructor.\n\t *\n\t * @param value The value.\n\t */\n\tconstructor(value = '') {\n\t\tsuper();\n\n\t\tthis.value = value;\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic fromXmlElement(element: Readonly<IElement>) {\n\t\tassertXmlTagName(element, 'string');\n\t\tthis.value = xmlElementText(element)?.nodeValue || '';\n\t}\n\n\t/**\n\t * @inheritdoc\n\t */\n\tpublic toXml(options: Readonly<IToXmlOptions> | null = null, depth = 0) {\n\t\tconst p = (options?.indentString ?? INDENT_STRING).repeat(depth);\n\t\tconst e = this.value\n\t\t\t.replaceAll('&', '&amp;')\n\t\t\t.replaceAll('<', '&lt;')\n\t\t\t.replaceAll('>', '&gt;');\n\t\treturn `${p}<string>${e}</string>`;\n\t}\n}\n","/* eslint-disable max-classes-per-file */\n\nimport {createWriteStream} from 'node:fs';\nimport {mkdir, rm, writeFile} from 'node:fs/promises';\nimport {dirname, resolve} from 'node:path';\nimport {Readable, pipeline} from 'node:stream';\nimport {promisify} from 'node:util';\n\nconst pipe = promisify(pipeline);\n\nimport {PathType} from './types';\nimport {\n\tfsChmod,\n\tfsLchmod,\n\tfsLstatExists,\n\tfsLutimes,\n\tfsSymlink,\n\tfsUtimes,\n\tmodePermissionBits,\n\tpathNormalize,\n\tpathResourceFork,\n\tstreamToBuffer\n} from './util';\n\nexport interface IArchiveAfterReadSetAttributesEntry {\n\t/**\n\t * Extract path, relative.\n\t */\n\tpath: string;\n\n\t/**\n\t * Entry.\n\t */\n\tentry: Entry;\n\n\t/**\n\t * Extract options.\n\t */\n\toptions: IExtractOptions;\n}\n\nexport interface IExtractOptions {\n\t/**\n\t * Replace whatever may be at the path.\n\t * A directory will not replace another directory.\n\t *\n\t * @default false\n\t */\n\treplace?: boolean;\n\n\t/**\n\t * Ignore permissions when extracting.\n\t *\n\t * @default false\n\t */\n\tignorePermissions?: boolean;\n\n\t/**\n\t * Ignore file modification and access times when extracting.\n\t *\n\t * @default false\n\t */\n\tignoreTimes?: boolean;\n\n\t/**\n\t * Extract resource fork as a file.\n\t *\n\t * @default false\n\t */\n\tresourceForkAsFile?: boolean;\n\n\t/**\n\t * Extract symlink as a file.\n\t *\n\t * @default false\n\t */\n\tsymlinkAsFile?: boolean;\n}\n\nexport interface IEntryInfo {\n\t/**\n\t * Entry archive.\n\t */\n\tarchive: Archive;\n\n\t/**\n\t * Entry type.\n\t */\n\ttype: PathType;\n\n\t/**\n\t * Entry path, raw.\n\t */\n\tpathRaw: string;\n\n\t/**\n\t * Entry size.\n\t */\n\tsize?: number | null;\n\n\t/**\n\t * Entry size, compressed.\n\t */\n\tsizeComp?: number | null;\n\n\t/**\n\t * Entry mode.\n\t */\n\tmode?: number | null;\n\n\t/**\n\t * Entry uid.\n\t */\n\tuid?: number | null;\n\n\t/**\n\t * Entry gid.\n\t */\n\tgid?: number | null;\n\n\t/**\n\t * Entry uname.\n\t */\n\tuname?: string | null;\n\n\t/**\n\t * Entry gname.\n\t */\n\tgname?: string | null;\n\n\t/**\n\t * Entry atime.\n\t */\n\tatime?: Date | null;\n\n\t/**\n\t * Entry mtime.\n\t */\n\tmtime?: Date | null;\n\n\t/**\n\t * Read data.\n\t */\n\treadData?: (() => Promise<Readable | null>) | null;\n\n\t/**\n\t * Read rsrc.\n\t */\n\treadRsrc?: (() => Promise<Readable | null>) | null;\n\n\t/**\n\t * Read symlink.\n\t */\n\treadSymlink?: (() => Promise<Buffer>) | null;\n}\n\n/**\n * Entry object.\n */\nexport abstract class Entry {\n\t/**\n\t * Entry archive.\n\t */\n\tpublic readonly archive: Archive;\n\n\t/**\n\t * Entry type.\n\t */\n\tpublic readonly type: PathType;\n\n\t/**\n\t * Entry path.\n\t */\n\tpublic readonly path: string;\n\n\t/**\n\t * Entry path, raw.\n\t */\n\tpublic readonly pathRaw: string;\n\n\t/**\n\t * Entry size.\n\t */\n\tpublic readonly size: number | null;\n\n\t/**\n\t * Entry size, compressed.\n\t */\n\tpublic readonly sizeComp: number | null;\n\n\t/**\n\t * Entry mode.\n\t */\n\tpublic readonly mode: number | null;\n\n\t/**\n\t * Entry uid.\n\t */\n\tpublic readonly uid: number | null;\n\n\t/**\n\t * Entry gid.\n\t */\n\tpublic readonly gid: number | null;\n\n\t/**\n\t * Entry uname.\n\t */\n\tpublic readonly uname: string | null;\n\n\t/**\n\t * Entry gname.\n\t */\n\tpublic readonly gname: string | null;\n\n\t/**\n\t * Entry atime.\n\t */\n\tpublic readonly atime: Date | null;\n\n\t/**\n\t * Entry mtime.\n\t */\n\tpublic readonly mtime: Date | null;\n\n\t/**\n\t * Read data.\n\t */\n\tprotected readonly _readData: (() => Promise<Readable | null>) | null;\n\n\t/**\n\t * Read rsrc.\n\t */\n\tprotected readonly _readRsrc: (() => Promise<Readable | null>) | null;\n\n\t/**\n\t * Read symlink.\n\t */\n\tprotected readonly _readSymlink: (() => Promise<Buffer>) | null;\n\n\t/**\n\t * Entry triggering.\n\t */\n\tprotected _triggering = false;\n\n\t/**\n\t * Entry triggered.\n\t */\n\tprotected _triggered = false;\n\n\t/**\n\t * Entry extracted.\n\t */\n\tprotected _extracted = false;\n\n\t/**\n\t * Entry constructor.\n\t *\n\t * @param info Info object.\n\t */\n\tconstructor(info: Readonly<IEntryInfo>) {\n\t\tthis.archive = info.archive;\n\t\tthis.type = info.type;\n\t\tthis.pathRaw = info.pathRaw;\n\t\tthis.path = pathNormalize(info.pathRaw);\n\t\tthis.size = info.size ?? null;\n\t\tthis.sizeComp = info.sizeComp ?? null;\n\t\tthis.mode = info.mode ?? null;\n\t\tthis.uid = info.uid ?? null;\n\t\tthis.gid = info.gid ?? null;\n\t\tthis.uname = info.uname ?? null;\n\t\tthis.gname = info.gname ?? null;\n\t\tthis.atime = info.atime ?? null;\n\t\tthis.mtime = info.mtime ?? null;\n\t\tthis._readData = info.readData ?? null;\n\t\tthis._readRsrc = info.readRsrc ?? null;\n\t\tthis._readSymlink = info.readSymlink ?? null;\n\t}\n\n\t/**\n\t * This entry path includes named volume.\n\t *\n\t * @returns Entry has volume name in path.\n\t */\n\tpublic get hasNamedVolume() {\n\t\treturn this.archive.hasNamedVolumes;\n\t}\n\n\t/**\n\t * This entry volume name, or null.\n\t *\n\t * @returns Entry path volume name.\n\t */\n\tpublic get volumeName() {\n\t\tif (this.hasNamedVolume) {\n\t\t\tconst {path} = this;\n\t\t\treturn path.substring(0, path.indexOf('/'));\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * This entry path without any possible volume name.\n\t *\n\t * @returns Entry path without the volume name.\n\t */\n\tpublic get volumePath() {\n\t\tconst {path} = this;\n\t\tif (this.hasNamedVolume) {\n\t\t\treturn path.substring(path.indexOf('/') + 1);\n\t\t}\n\t\treturn path;\n\t}\n\n\t/**\n\t * Read entry as stream, or null if nothing to read.\n\t * Consuming function will need to wait for stream to close.\n\t *\n\t * @returns Readable stream or null if nothing to read.\n\t */\n\tpublic async stream() {\n\t\tthis._beginExtract();\n\t\treturn this._stream();\n\t}\n\n\t/**\n\t * Read entire entry into a Buffer.\n\t *\n\t * @returns Buffer or null if nothing to be read.\n\t */\n\tpublic async read() {\n\t\tthis._beginExtract();\n\t\tconst stream = await this._stream();\n\t\treturn stream ? streamToBuffer(stream) : null;\n\t}\n\n\t/**\n\t * Extract entry.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */\n\tpublic async extract(\n\t\tpath: string,\n\t\toptions: Readonly<IExtractOptions> = {}\n\t) {\n\t\tthis._beginExtract();\n\t\tawait this._extract(path, options);\n\t}\n\n\t/**\n\t * Trigger on itterator function.\n\t *\n\t * @param itter Itterator function.\n\t * @returns Return value.\n\t */\n\tpublic async trigger<T, U extends (entry: this) => Promise<T>>(itter: U) {\n\t\tlet r: T;\n\t\tif (this._triggered) {\n\t\t\tthrow new Error('Archive entry already triggered');\n\t\t}\n\t\tthis._triggered = this._triggering = true;\n\t\ttry {\n\t\t\tr = await itter(this);\n\t\t} finally {\n\t\t\tthis._triggering = false;\n\t\t}\n\t\treturn r;\n\t}\n\n\t/**\n\t * Run again after reading.\n\t *\n\t * @param path Extract path, relative.\n\t * @param pathFull An optional full path to be used.\n\t * @param options Extract options.\n\t */\n\tpublic async setAttributes(\n\t\tpath: string,\n\t\tpathFull: string | null = null,\n\t\toptions: Readonly<IExtractOptions> = {}\n\t) {\n\t\tconst pathSet = pathFull === null ? path : pathFull;\n\n\t\tconst {ignorePermissions, ignoreTimes} = options;\n\n\t\tconst {type, mode, atime, mtime} = this;\n\n\t\tlet link = false;\n\t\tswitch (type) {\n\t\t\tcase PathType.FILE: {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase PathType.RESOURCE_FORK: {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase PathType.DIRECTORY: {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase PathType.SYMLINK: {\n\t\t\t\tlink = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported path type: ${type as string}`);\n\t\t\t}\n\t\t}\n\n\t\tconst atimeSet = atime || mtime || null;\n\t\tconst mtimeSet = mtime || atime || null;\n\n\t\tif (!ignorePermissions && mode !== null) {\n\t\t\tconst chmod = link ? fsLchmod : fsChmod;\n\t\t\tconst modeSet = modePermissionBits(mode);\n\t\t\tawait chmod(pathSet, modeSet);\n\t\t}\n\n\t\tif (!ignoreTimes && atimeSet && mtimeSet) {\n\t\t\tconst utimes = link ? fsLutimes : fsUtimes;\n\t\t\tawait utimes(pathSet, atimeSet, mtimeSet);\n\t\t}\n\t}\n\n\t/**\n\t * Method to call before begining extraction.\n\t * Throws error if extraction already started or entry not active.\n\t */\n\tprotected _beginExtract() {\n\t\tif (!this._triggering) {\n\t\t\tthrow new Error('Archive entry is not active');\n\t\t}\n\t\tif (this._extracted) {\n\t\t\tthrow new Error('Archive entry can only be extracted once');\n\t\t}\n\t\tthis._extracted = true;\n\t}\n\n\t/**\n\t * Create an extract error for path that exists.\n\t *\n\t * @param path Extract path.\n\t * @returns Error object.\n\t */\n\tprotected _errorExtractPathExists(path: string) {\n\t\treturn new Error(`Extract path already exists: ${path}`);\n\t}\n\n\t/**\n\t * Create an extract error for a resource fork not going to a file.\n\t *\n\t * @param path Extract path.\n\t * @returns Error object.\n\t */\n\tprotected _errorNoResourceFork(path: string) {\n\t\treturn new Error(`Extract path for resource fork not a file: ${path}`);\n\t}\n\n\t/**\n\t * Extract entry.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */\n\tprotected async _extract(path: string, options: Readonly<IExtractOptions>) {\n\t\tthis.archive.afterReadSetAttributesRemove(path);\n\n\t\tconst {type} = this;\n\t\tswitch (type) {\n\t\t\tcase PathType.FILE: {\n\t\t\t\tawait this._extractFile(path, options);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase PathType.RESOURCE_FORK: {\n\t\t\t\tawait this._extractResourceFork(path, options);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase PathType.DIRECTORY: {\n\t\t\t\tawait this._extractDirectory(path, options);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase PathType.SYMLINK: {\n\t\t\t\tawait this._extractSymlink(path, options);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported path type: ${type as string}`);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Base function for extracting stream to a file.\n\t *\n\t * @param path Extract path.\n\t * @param reader Reader function.\n\t * @param options Extract options.\n\t */\n\tprotected async _extractStreamToFile(\n\t\tpath: string,\n\t\treader: () => Promise<Readable | null>,\n\t\toptions: Readonly<IExtractOptions>\n\t) {\n\t\tconst {replace} = options;\n\n\t\t// Check if something exists at path, optionally removing.\n\t\tconst stat = await fsLstatExists(path);\n\t\tif (stat) {\n\t\t\t// If replacing, then remove, else throw.\n\t\t\tif (replace) {\n\t\t\t\tawait rm(path, {recursive: true, force: true});\n\t\t\t} else {\n\t\t\t\tthrow this._errorExtractPathExists(path);\n\t\t\t}\n\t\t} else {\n\t\t\tawait mkdir(dirname(path), {recursive: true});\n\t\t}\n\n\t\t// Write file.\n\t\tawait writeFile(path, Buffer.alloc(0));\n\t\tconst stream = await reader();\n\t\tif (stream) {\n\t\t\tawait pipe(stream, createWriteStream(path));\n\t\t}\n\n\t\t// Set attributes.\n\t\tawait this.setAttributes(path, null, options);\n\t}\n\n\t/**\n\t * Extract as a file.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */\n\tprotected async _extractFile(\n\t\tpath: string,\n\t\toptions: Readonly<IExtractOptions>\n\t) {\n\t\tconst readData = this._readData;\n\t\tif (!readData) {\n\t\t\tthrow new Error('Internal error');\n\t\t}\n\n\t\tawait this._extractStreamToFile(path, readData, options);\n\t}\n\n\t/**\n\t * Extract as resource fork to an existing file.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */\n\tprotected async _extractResourceFork(\n\t\tpath: string,\n\t\toptions: Readonly<IExtractOptions>\n\t) {\n\t\tconst readRsrc = this._readRsrc;\n\t\tif (!readRsrc) {\n\t\t\tthrow new Error('Internal error');\n\t\t}\n\n\t\t// Optionally extract as a data file.\n\t\tif (options.resourceForkAsFile) {\n\t\t\tawait this._extractStreamToFile(path, readRsrc, options);\n\t\t\treturn;\n\t\t}\n\n\t\t// Check if file exists at path, else throw.\n\t\tconst stat = await fsLstatExists(path);\n\t\tif (!stat || !stat.isFile()) {\n\t\t\tthrow this._errorNoResourceFork(path);\n\t\t}\n\n\t\t// Create resource fork path.\n\t\tconst pathRsrc = pathResourceFork(path);\n\n\t\t// Write the resource fork.\n\t\tconst stream = await readRsrc();\n\t\tif (stream) {\n\t\t\tawait pipe(stream, createWriteStream(pathRsrc));\n\t\t} else {\n\t\t\tawait writeFile(pathRsrc, Buffer.alloc(0));\n\t\t}\n\n\t\t// Set attributes.\n\t\tawait this.setAttributes(path, null, options);\n\t}\n\n\t/**\n\t * Extract as a directory.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */\n\tprotected async _extractDirectory(\n\t\tpath: string,\n\t\toptions: Readonly<IExtractOptions>\n\t) {\n\t\tconst {replace} = options;\n\n\t\t// Check if something exists at path, else create.\n\t\tconst stat = await fsLstatExists(path);\n\t\tif (stat) {\n\t\t\t// If not directory, then remove and replace it, else throw.\n\t\t\tif (!stat.isDirectory()) {\n\t\t\t\tif (replace) {\n\t\t\t\t\tawait rm(path, {recursive: true, force: true});\n\t\t\t\t\tawait mkdir(path, {recursive: true});\n\t\t\t\t} else {\n\t\t\t\t\tthrow this._errorExtractPathExists(path);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tawait mkdir(path, {recursive: true});\n\t\t}\n\n\t\t// Set directory attributes after any children are added.\n\t\tthis.archive.afterReadSetAttributes(path, this, {...options});\n\t}\n\n\t/**\n\t * Extract as a symlink.\n\t *\n\t * @param path Extract path.\n\t * @param options Extract options.\n\t */\n\tprotected async _extractSymlink(\n\t\tpath: string,\n\t\toptions: Readonly<IExtractOptions>\n\t) {\n\t\tconst readSymlink = this._readSymlink;\n\t\tif (!readSymlink) {\n\t\t\tthrow new Error('Internal error');\n\t\t}\n\n\t\tconst {replace, symlinkAsFile} = options;\n\n\t\t// Check if something exists at path, optionally removing.\n\t\tconst stat = await fsLstatExists(path);\n\t\tif (stat) {\n\t\t\t// If replacing, then remove, else throw.\n\t\t\tif (replace) {\n\t\t\t\tawait rm(path, {recursive: true, force: true});\n\t\t\t} else {\n\t\t\t\tthrow this._errorExtractPathExists(path);\n\t\t\t}\n\t\t} else {\n\t\t\t// Ensure base directory exists.\n\t\t\tawait mkdir(dirname(path), {recursive: true});\n\t\t}\n\n\t\t// Read target.\n\t\tconst target = await readSymlink();\n\n\t\t// Create link, optionally as a file.\n\t\tif (symlinkAsFile) {\n\t\t\tawait writeFile(path, target);\n\t\t} else {\n\t\t\tawait fsSymlink(path, target);\n\t\t}\n\n\t\t// Set attributes.\n\t\tawait this.setAttributes(path, null, options);\n\t}\n\n\t/**\n\t * Read as stream.\n\t *\n\t * @returns Readable stream.\n\t */\n\tprotected async _stream() {\n\t\tconst {type} = this;\n\t\tswitch (type) {\n\t\t\tcase PathType.FILE: {\n\t\t\t\treturn this._streamFile();\n\t\t\t}\n\t\t\tcase PathType.RESOURCE_FORK: {\n\t\t\t\treturn this._streamResourceFork();\n\t\t\t}\n\t\t\tcase PathType.DIRECTORY: {\n\t\t\t\treturn this._streamDirectory();\n\t\t\t}\n\t\t\tcase PathType.SYMLINK: {\n\t\t\t\treturn this._streamSymlink();\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported path type: ${type as string}`);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Read file as stream.\n\t *\n\t * @returns Readable stream.\n\t */\n\tprotected async _streamFile() {\n\t\tconst readData = this._readData;\n\t\tif (!readData) {\n\t\t\tthrow new Error('Internal error');\n\t\t}\n\t\treturn readData();\n\t}\n\n\t/**\n\t * Read resource fork as stream.\n\t *\n\t * @returns Readable stream.\n\t */\n\tprotected async _streamResourceFork() {\n\t\tconst readRsrc = this._readRsrc;\n\t\tif (!readRsrc) {\n\t\t\tthrow new Error('Internal error');\n\t\t}\n\t\treturn readRsrc();\n\t}\n\n\t/**\n\t * Read directory null stream.\n\t *\n\t * @returns Null stream.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tprotected async _streamDirectory() {\n\t\treturn null;\n\t}\n\n\t/**\n\t * Read symlink as stream.\n\t *\n\t * @returns Readable stream.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tprotected async _streamSymlink() {\n\t\tconst readSymlink = this._readSymlink;\n\t\tif (!readSymlink) {\n\t\t\tthrow new Error('Internal error');\n\t\t}\n\t\tconst r = new Readable({\n\t\t\t// eslint-disable-next-line jsdoc/require-jsdoc\n\t\t\tread: () => {\n\t\t\t\treadSymlink().then(\n\t\t\t\t\td => {\n\t\t\t\t\t\tr.push(d);\n\t\t\t\t\t\tr.push(null);\n\t\t\t\t\t},\n\t\t\t\t\terr => {\n\t\t\t\t\t\tr.emit('error', err);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t\treturn r;\n\t}\n}\n\n/**\n * Archive object.\n */\nexport abstract class Archive {\n\t/**\n\t * List of file extensions, or null.\n\t */\n\tpublic static readonly FILE_EXTENSIONS: Readonly<string[]> | null = null;\n\n\t/**\n\t * Archive has named volumes that each entry will be under.\n\t */\n\tpublic static readonly HAS_NAMED_VOLUMES: boolean = false;\n\n\t/**\n\t * Entry constructor.\n\t */\n\tpublic readonly Entry = Entry;\n\n\t/**\n\t * File path.\n\t */\n\tpublic readonly path: string;\n\n\t/**\n\t * Flag for currently reading.\n\t */\n\tprotected _reading = false;\n\n\t/**\n\t * Map of entries to set attributes on after reading.\n\t */\n\tprotected _afterReadSetAttributes: Map<\n\t\tstring,\n\t\tReadonly<IArchiveAfterReadSetAttributesEntry>\n\t> | null = null;\n\n\t/**\n\t * Archive constructor.\n\t *\n\t * @param path File path.\n\t */\n\tconstructor(path: string) {\n\t\tthis.path = path;\n\t}\n\n\t/**\n\t * List of file extensions used by this format.\n\t *\n\t * @returns List of file extensions.\n\t */\n\tpublic get fileExtensions() {\n\t\treturn (this.constructor as typeof Archive).FILE_EXTENSIONS || null;\n\t}\n\n\t/**\n\t * Archive has named volumes that each entry will be under.\n\t *\n\t * @returns Archive has named volumns.\n\t */\n\tpublic get hasNamedVolumes() {\n\t\treturn (this.constructor as typeof Archive).HAS_NAMED_VOLUMES;\n\t}\n\n\t/**\n\t * Add an instance to set attributes after the read finishes.\n\t *\n\t * @param path Path string.\n\t * @param entry Entry instance.\n\t * @param options Extract options.\n\t */\n\tpublic afterReadSetAttributes(\n\t\tpath: string,\n\t\tentry: Entry,\n\t\toptions: Readonly<IExtractOptions> = {}\n\t) {\n\t\tconst afters = this._afterReadSetAttributes;\n\t\tif (!afters) {\n\t\t\tthrow new Error(\n\t\t\t\t'Archive after read callbacks can only be added while reading'\n\t\t\t);\n\t\t}\n\t\tafters.set(resolve(path), {\n\t\t\tpath,\n\t\t\tentry,\n\t\t\toptions\n\t\t});\n\t}\n\n\t/**\n\t * Remove an instance to set attributes after the read finishes.\n\t *\n\t * @param path Path string.\n\t */\n\tpublic afterReadSetAttributesRemove(path: string) {\n\t\tconst afters = this._afterReadSetAttributes;\n\t\tif (!afters) {\n\t\t\tthrow new Error(\n\t\t\t\t'Archive after read callbacks can only be removed while reading'\n\t\t\t);\n\t\t}\n\t\tafters.delete(resolve(path));\n\t}\n\n\t/**\n\t * Read archive.\n\t * If the itter callback returns false, reading ends.\n\t * If the itter callback returns null, skip descent where available.\n\t *\n\t * @param itter Async callback for each archive entry.\n\t */\n\tpublic async read(itter: (entry: Entry) => Promise<unknown>) {\n\t\tif (this._reading) {\n\t\t\tthrow new Error('Archive already being read');\n\t\t}\n\t\tthis._reading = true;\n\n\t\t// Reset the after entries.\n\t\tthis._afterReadSetAttributes = new Map();\n\n\t\t// Read and handle all the afters, reset after.\n\t\ttry {\n\t\t\tawait this._read(itter);\n\t\t\tawait this._afterReadSetAttributesTrigger();\n\t\t} finally {\n\t\t\tthis._afterReadSetAttributes = null;\n\t\t\tthis._reading = false;\n\t\t}\n\t}\n\n\t/**\n\t * Run all after read set attributes.\n\t */\n\tprotected async _afterReadSetAttributesTrigger() {\n\t\tconst afters = this._afterReadSetAttributes;\n\t\tif (!afters) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Prioritize by path length.\n\t\tconst resolves: string[] = [];\n\t\tfor (const [resolved] of afters) {\n\t\t\tresolves.push(resolved);\n\t\t}\n\t\tresolves.sort((a, b) => b.length - a.length);\n\n\t\tfor (const resolved of resolves) {\n\t\t\tconst ent = afters.get(resolved);\n\t\t\tif (!ent) {\n\t\t\t\tthrow new Error('Internal error');\n\t\t\t}\n\t\t\tconst {entry, path, options} = ent;\n\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\tawait entry.setAttributes(path, resolved, options);\n\t\t}\n\t}\n\n\t/**\n\t * Read archive, class implementation.\n\t * If the itter callback returns false, reading ends.\n\t * If the itter callback returns null, skip descent where available.\n\t *\n\t * @param itter Async callback for each archive entry.\n\t */\n\tprotected abstract _read(\n\t\titter: (entry: Entry) => Promise<unknown>\n\t): Promise<void>;\n}\n","export enum PathType {\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tDIRECTORY = 'directory',\n\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tFILE = 'file',\n\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tSYMLINK = 'symlink',\n\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tRESOURCE_FORK = 'resource-fork'\n}\n","import {Stats, constants as fsConstants} from 'node:fs';\nimport {\n\tchmod,\n\tlstat,\n\topen,\n\treaddir,\n\treadlink,\n\tsymlink,\n\tutimes\n} from 'node:fs/promises';\nimport {join as pathJoin} from 'node:path';\nimport {Readable, Writable} from 'node:stream';\nimport {pipeline} from 'node:stream/promises';\n\nimport {PathType} from './types';\n\nexport interface IFsWalkOptions {\n\t/**\n\t * Ignore unreadable directores when walking directory.\n\t *\n\t * @default false\n\t */\n\tignoreUnreadableDirectories?: boolean;\n}\n\nconst {O_WRONLY, O_SYMLINK} = fsConstants;\nexport const fsLchmodSupported = !!O_SYMLINK;\nexport const fsLutimesSupported = !!O_SYMLINK;\n\n/**\n * Normalize an entry path.\n *\n * @param path Path string.\n * @returns Normalized path.\n */\nexport function pathNormalize(path: string) {\n\treturn path.replace(/\\\\/g, '/').replace(/([^/])\\/+$/, '$1');\n}\n\n/**\n * Get path to the resource fork pseudo-file.\n *\n * @param path Path string.\n * @returns Resource fork pseudo-file path.\n */\nexport function pathResourceFork(path: string) {\n\treturn pathJoin(path, '..namedfork', 'rsrc');\n}\n\n/**\n * Get path type from stat object, or null if unsupported.\n *\n * @param stat Stats object.\n * @returns Path type.\n */\nexport function statToPathType(stat: Readonly<Stats>) {\n\tif (stat.isSymbolicLink()) {\n\t\treturn PathType.SYMLINK;\n\t}\n\tif (stat.isDirectory()) {\n\t\treturn PathType.DIRECTORY;\n\t}\n\tif (stat.isFile()) {\n\t\treturn PathType.FILE;\n\t}\n\treturn null;\n}\n\n/**\n * Get path type from stat mode, or null if unsupported.\n *\n * @param mode Stat mode.\n * @returns Path type.\n */\nexport function modeToPathType(mode: number) {\n\tif (bitwiseAndEqual(mode, 0o0120000)) {\n\t\treturn PathType.SYMLINK;\n\t}\n\tif (bitwiseAndEqual(mode, 0o0040000)) {\n\t\treturn PathType.DIRECTORY;\n\t}\n\tif (bitwiseAndEqual(mode, 0o0100000)) {\n\t\treturn PathType.FILE;\n\t}\n\treturn null;\n}\n\n/**\n * Get permission bits from mode value.\n *\n * @param mode Stat mode.\n * @returns Permission bits.\n */\nexport function modePermissionBits(mode: number) {\n\t// eslint-disable-next-line no-bitwise\n\treturn mode & 0b111111111;\n}\n\n/**\n * Check if all the bits set.\n *\n * @param value Bits value.\n * @param mask Mask value.\n * @returns True of all the bits set.\n */\nexport function bitwiseAndEqual(value: number, mask: number) {\n\t// eslint-disable-next-line no-bitwise\n\treturn (value & mask) === mask;\n}\n\n/**\n * Read a stream into a buffer.\n * Reading a stream into a buffer should be avoided where possible.\n * This is however useful for some small streams.\n *\n * @param stream Readable stream.\n * @returns Full buffer.\n */\nexport async function streamToBuffer(stream: Readable) {\n\tconst datas: Buffer[] = [];\n\tlet size = 0;\n\tawait pipeline(\n\t\tstream,\n\t\tnew Writable({\n\t\t\t// eslint-disable-next-line jsdoc/require-jsdoc\n\t\t\twrite: (data: Buffer, _encoding: unknown, cb) => {\n\t\t\t\tdatas.push(data);\n\t\t\t\tsize += data.length;\n\t\t\t\tcb();\n\t\t\t}\n\t\t})\n\t);\n\treturn Buffer.concat(datas, size);\n}\n\n/**\n * Wrapper for lchmod, does nothing on unsupported platforms.\n *\n * @param path File path.\n * @param mode File mode.\n */\nexport async function fsLchmod(path: string, mode: number) {\n\t// Skip if not supported.\n\tif (!fsLchmodSupported) {\n\t\treturn;\n\t}\n\n\t// eslint-disable-next-line no-bitwise\n\tconst fd = await open(path, O_WRONLY | O_SYMLINK);\n\ttry {\n\t\tawait fd.chmod(mode);\n\t} finally {\n\t\tawait fd.close();\n\t}\n}\n\n/**\n * Wrapper for utimes.\n *\n * @param path File path.\n * @param atime Access time.\n * @param mtime Modification time.\n */\nexport async function fsUtimes(\n\tpath: string,\n\tatime: Readonly<Date>,\n\tmtime: Readonly<Date>\n) {\n\tawait utimes(path, atime, mtime);\n}\n\n/**\n * Implementation of lutimes, does nothing on unsupported platforms.\n *\n * @param path File path.\n * @param atime Access time.\n * @param mtime Modification time.\n */\nexport async function fsLutimes(\n\tpath: string,\n\tatime: Readonly<Date>,\n\tmtime: Readonly<Date>\n) {\n\t// Skip if not supported.\n\tif (!fsLutimesSupported) {\n\t\treturn;\n\t}\n\n\t// eslint-disable-next-line no-bitwise\n\tconst fd = await open(path, O_WRONLY | O_SYMLINK);\n\ttry {\n\t\tawait fd.utimes(atime, mtime);\n\t} finally {\n\t\tawait fd.close();\n\t}\n}\n\n/**\n * A readlink wrapper that returns raw link buffer.\n *\n * @param path Link path.\n * @returns Raw link.\n */\nexport async function fsReadlinkRaw(path: string) {\n\treturn readlink(path, 'buffer');\n}\n\n/**\n * Wrapper for symlink.\n *\n * @param path Path of symbolic link.\n * @param target Target of symbolic link.\n */\nexport async function fsSymlink(\n\tpath: string | Readonly<Buffer>,\n\ttarget: string | Readonly<Buffer>\n) {\n\tawait symlink(target, path);\n}\n\n/**\n * Wrapper for chmod.\n *\n * @param path File path.\n * @param mode File mode.\n */\nexport async function fsChmod(path: string, mode: number) {\n\tawait chmod(path, mode);\n}\n\n/**\n * A readdir wrapper with consistent output.\n *\n * @param path Directory path.\n * @returns Directory listing.\n */\nexport async function fsReaddir(path: string) {\n\treturn (await readdir(path)).sort();\n}\n\n/**\n * An lstat wrapper.\n *\n * @param path Path string.\n * @returns Stat object.\n */\nexport async function fsLstat(path: string) {\n\treturn lstat(path);\n}\n\n/**\n * An lstat wrapper returning null if not exist.\n *\n * @param path Path string.\n * @returns Stat object.\n */\nexport async function fsLstatExists(path: string) {\n\ttry {\n\t\treturn await fsLstat(path);\n\t} catch (err) {\n\t\tconst {code} = err as {code: string};\n\t\tif (code === 'ENOENT' || code === 'ENOTDIR') {\n\t\t\treturn null;\n\t\t}\n\t\tthrow err;\n\t}\n}\n\n/**\n * Walk file system path.\n * If callback returns false skips recursing a directory.\n * If callback returns null aborts walking.\n *\n * @param base Directory path.\n * @param itter Callback for each entry.\n * @param options Walk options.\n */\nexport async function fsWalk(\n\tbase: string,\n\titter: (path: string, stat: Stats) => Promise<boolean | null | void>,\n\toptions: Readonly<IFsWalkOptions> = {}\n) {\n\tconst {ignoreUnreadableDirectories} = options;\n\tconst stack = (await fsReaddir(base)).reverse();\n\twhile (stack.length) {\n\t\tconst entry = stack.pop() as string;\n\t\tconst fullPath = pathJoin(base, entry);\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst stat = await fsLstat(fullPath);\n\n\t\t// Callback, possibly stop recursion on directory.\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst recurse = await itter(entry, stat);\n\t\tif (recurse === null) {\n\t\t\tbreak;\n\t\t}\n\t\tif (recurse === false || !stat.isDirectory()) {\n\t\t\tcontinue;\n\t\t}\n\n\t\t// Recurse down.\n\t\tlet subs: string[] = [];\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\tsubs = await fsReaddir(fullPath);\n\t\t} catch (err) {\n\t\t\tif (\n\t\t\t\t!(\n\t\t\t\t\terr &&\n\t\t\t\t\tignoreUnreadableDirectories &&\n\t\t\t\t\t(err as {code: string}).code === 'EACCES'\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tthrow err;\n\t\t\t}\n\t\t}\n\t\tfor (let i = subs.length; i--; ) {\n\t\t\tstack.push(pathJoin(entry, subs[i]));\n\t\t}\n\t}\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\n\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { join, addExeExt } from \"patha\"\nimport { warning, info } from \"ci-log\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record<string, MingwInfo | undefined>\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, priority: number = 40) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] }])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise<InstallationInfo | undefined> {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string, priority: number = 40) {\n const promises: Promise<void | ExecaReturnValue<string>>[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addExeExt(`${binDir}/gcc`)), addEnv(\"CXX\", addExeExt(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`, priority),\n )\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"ci-log\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/versions\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"ci-log\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\n }\n\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"~\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), join(untildifyUser(\"~\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise<any>[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/lib${delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`, priority),\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`, priority),\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`),\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`),\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`),\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`),\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`),\n )\n }\n\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n }\n}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise<InstallationInfo> {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n return hasLLVM\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (VCTargetsPath !== undefined && (await pathExists(VCTargetsPath))) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community', 'BuildTools']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set<string> = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set<string> = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n])\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map<string, string> = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.6\"\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let linuxVersion: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise<string | null> {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise<string | null> {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise<PackageInfo> {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm version: ${specificVersion}`)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n await setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\",\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"powershell\", version, [\"--cask\"])\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n setupDnfPack([{ name: \"curl\" }])\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo`,\n ])\n return setupDnfPack([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"curl\" }])\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaDownload(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return setupAptPack([{ name: \"powershell\", version }], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise<InstallationInfo> {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch,\n )\n\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch,\n )\n\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";G0LII,CAAAA,CAAA,CaMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CmDGAC,CAAA,CJKAC,CAAA,CiCVAC,CAAA,C7FJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,8I/DSJ,QAAS,CAAAC,EAAOV,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAS,OAAA,CACT,KAAM,CAAAC,S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