expo-env-info 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{createRequire as _}from"module";var E={152:(_,E,I)=>{_.exports=function(_){var E={};function n(I){if(E[I])return E[I].exports;var k=E[I]={i:I,l:!1,exports:{}};return _[I].call(k.exports,k,k.exports,n),k.l=!0,k.exports}return n.m=_,n.c=E,n.d=function(_,E,I){n.o(_,E)||Object.defineProperty(_,E,{enumerable:!0,get:I})},n.r=function(_){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})},n.t=function(_,E){if(1&E&&(_=n(_)),8&E)return _;if(4&E&&"object"==typeof _&&_&&_.__esModule)return _;var I=Object.create(null);if(n.r(I),Object.defineProperty(I,"default",{enumerable:!0,value:_}),2&E&&"string"!=typeof _)for(var k in _)n.d(I,k,function(E){return _[E]}.bind(null,k));return I},n.n=function(_){var E=_&&_.__esModule?function(){return _.default}:function(){return _};return n.d(E,"a",E),E},n.o=function(_,E){return Object.prototype.hasOwnProperty.call(_,E)},n.p="",n(n.s=78)}([function(_,E){_.exports=I(17)},function(_,E,I){"use strict";I(22),I(101),I(21),I(103),I(114),I(16),I(27),I(74),I(116),I(2);var k=I(0),N=I(5),L=I(17),$=I(49),R=I(76),G=I(45),W=I(121),l=function(_){var E=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).unify,I=void 0!==E&&E;return new Promise((function(E){$.exec(_,{stdio:[0,"pipe","ignore"]},(function(_,k,N){var L="";L=I?k.toString()+N.toString():k.toString(),E((_?"":L).trim())}))}))},f=function(_){var E=Object.values(Array.prototype.slice.call(arguments).slice(1));(process.env.ENVINFO_DEBUG||"").toLowerCase()===_&&console.log(_,JSON.stringify(E))},p=function(_){return new Promise((function(E){N.readFile(_,"utf8",(function(_,I){return E(I||null)}))}))},h=function(_){return p(_).then((function(_){return _?JSON.parse(_):null}))},q=/\d+\.[\d+|.]+/g,m=function(_){f("trace","findDarwinApplication",_);var E=`mdfind "kMDItemCFBundleIdentifier=='${_}'"`;return f("trace",E),l(E).then((function(_){return _.replace(/(\s)/g,"\\ ")}))},g=function(_,E){var I=(E||["CFBundleShortVersionString"]).map((function(_){return"-c Print:"+_}));return["/usr/libexec/PlistBuddy"].concat(I).concat([_]).join(" ")},v=function(_,E){for(var I=[],k=null;null!==(k=_.exec(E));)I.push(k);return I};_.exports={run:l,log:f,fileExists:function(_){return new Promise((function(E){N.stat(_,(function(I){return E(I?null:_)}))}))},readFile:p,requireJson:h,versionRegex:q,findDarwinApplication:m,generatePlistBuddyCommand:g,matchAll:v,parseSDKManagerOutput:function(_){var E=_.split("Available")[0];return{apiLevels:v(W.androidAPILevels,E).map((function(_){return _[1]})),buildTools:v(W.androidBuildTools,E).map((function(_){return _[1]})),systemImages:v(W.androidSystemImages,E).map((function(_){return _[1].split("|").map((function(_){return _.trim()}))})).map((function(_){return _[0].split(";")[0]+" | "+_[2].split(" System Image")[0]}))}},isLinux:"linux"===process.platform,isMacOS:"darwin"===process.platform,NA:"N/A",NotFound:"Not Found",isWindows:process.platform.startsWith("win"),isObject:function(_){return"object"==typeof _&&!Array.isArray(_)},noop:function(_){return _},pipe:function(_){return function(E){return _.reduce((function(_,E){return E(_)}),E)}},browserBundleIdentifiers:{"Brave Browser":"com.brave.Browser",Chrome:"com.google.Chrome","Chrome Canary":"com.google.Chrome.canary",Firefox:"org.mozilla.firefox","Firefox Developer Edition":"org.mozilla.firefoxdeveloperedition","Firefox Nightly":"org.mozilla.nightly","Microsoft Edge":"com.microsoft.edgemac",Safari:"com.apple.Safari","Safari Technology Preview":"com.apple.SafariTechnologyPreview"},ideBundleIdentifiers:{Atom:"com.github.atom",IntelliJ:"com.jetbrains.intellij",PhpStorm:"com.jetbrains.PhpStorm","Sublime Text":"com.sublimetext.3",WebStorm:"com.jetbrains.WebStorm"},runSync:function(_){return($.execSync(_,{stdio:[0,"pipe","ignore"]}).toString()||"").trim()},which:function(_){return new Promise((function(E){return R(_,(function(_,I){return E(I)}))}))},getDarwinApplicationVersion:function(_){var E;return f("trace","getDarwinApplicationVersion",_),E="darwin"!==process.platform?"N/A":m(_).then((function(_){return l(g(k.join(_,"Contents","Info.plist"),["CFBundleShortVersionString"]))})),Promise.resolve(E)},uniq:function(_){return Array.from(new Set(_))},toReadableBytes:function(_){var E=Math.floor(Math.log(_)/Math.log(1024));return _?(_/Math.pow(1024,E)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB"][E]:"0 Bytes"},omit:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)<0})).reduce((function(E,I){return Object.assign(E,{[I]:_[I]})}),{})},pick:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)>=0})).reduce((function(E,I){return Object.assign(E,{[I]:_[I]})}),{})},getPackageJsonByName:function(_){return h(k.join(process.cwd(),"node_modules",_,"package.json"))},getPackageJsonByPath:function(_){return h(k.join(process.cwd(),_))},getPackageJsonByFullPath:function(_){return f("trace","getPackageJsonByFullPath",_),h(_)},getAllPackageJsonPaths:function(_){return f("trace","getAllPackageJsonPaths",_),new Promise((function(E){var n=function(_,I){return E(I.map(k.normalize)||[])};return G(_?k.join("node_modules",_,"package.json"):k.join("node_modules","**","package.json"),n)}))},sortObject:function(_){return Object.keys(_).sort().reduce((function(E,I){return E[I]=_[I],E}),{})},findVersion:function(_,E,I){f("trace","findVersion",_,E,I);var k=I||0,N=E||q,L=_.match(N);return L?L[k]:_},condensePath:function(_){return(_||"").replace(L.homedir(),"~")},determineFound:function(_,E,I){return f("trace","determineFound",_,E,I),"N/A"===E?Promise.resolve([_,"N/A"]):E&&0!==Object.keys(E).length?I?Promise.resolve([_,E,I]):Promise.resolve([_,E]):Promise.resolve([_,"Not Found"])}}},function(_,E,I){"use strict";var k,N,L,$,R=I(36),G=I(4),W=I(12),q=I(56),U=I(8),H=I(6),ie=I(19),pe=I(37),he=I(38),de=I(81),me=I(60).set,ge=I(83)(),ve=I(62),ye=I(84),be=I(85),we=I(86),xe=G.TypeError,Se=G.process,_e=Se&&Se.versions,Pe=_e&&_e.v8||"",Oe=G.Promise,je="process"==q(Se),A=function(){},Ee=N=ve.f,Ie=!!function(){try{var _=Oe.resolve(1),E=(_.constructor={})[I(3)("species")]=function(_){_(A,A)};return(je||"function"==typeof PromiseRejectionEvent)&&_.then(A)instanceof E&&0!==Pe.indexOf("6.6")&&-1===be.indexOf("Chrome/66")}catch(_){}}(),F=function(_){var E;return!(!H(_)||"function"!=typeof(E=_.then))&&E},C=function(_,E){if(!_._n){_._n=!0;var I=_._c;ge((function(){for(var k=_._v,N=1==_._s,L=0,s=function(E){var I,L,$,R=N?E.ok:E.fail,G=E.resolve,W=E.reject,q=E.domain;try{R?(N||(2==_._h&&V(_),_._h=1),!0===R?I=k:(q&&q.enter(),I=R(k),q&&(q.exit(),$=!0)),I===E.promise?W(xe("Promise-chain cycle")):(L=F(I))?L.call(I,G,W):G(I)):W(k)}catch(_){q&&!$&&q.exit(),W(_)}};I.length>L;)s(I[L++]);_._c=[],_._n=!1,E&&!_._h&&M(_)}))}},M=function(_){me.call(G,(function(){var E,I,k,N=_._v,L=T(_);if(L&&(E=ye((function(){je?Se.emit("unhandledRejection",N,_):(I=G.onunhandledrejection)?I({promise:_,reason:N}):(k=G.console)&&k.error&&k.error("Unhandled promise rejection",N)})),_._h=je||T(_)?2:1),_._a=void 0,L&&E.e)throw E.v}))},T=function(_){return 1!==_._h&&0===(_._a||_._c).length},V=function(_){me.call(G,(function(){var E;je?Se.emit("rejectionHandled",_):(E=G.onrejectionhandled)&&E({promise:_,reason:_._v})}))},D=function(_){var E=this;E._d||(E._d=!0,(E=E._w||E)._v=_,E._s=2,E._a||(E._a=E._c.slice()),C(E,!0))},B=function(_){var E,I=this;if(!I._d){I._d=!0,I=I._w||I;try{if(I===_)throw xe("Promise can't be resolved itself");(E=F(_))?ge((function(){var k={_w:I,_d:!1};try{E.call(_,W(B,k,1),W(D,k,1))}catch(_){D.call(k,_)}})):(I._v=_,I._s=1,C(I,!1))}catch(_){D.call({_w:I,_d:!1},_)}}};Ie||(Oe=function(_){pe(this,Oe,"Promise","_h"),ie(_),k.call(this);try{_(W(B,this,1),W(D,this,1))}catch(_){D.call(this,_)}},(k=function(_){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=I(40)(Oe.prototype,{then:function(_,E){var I=Ee(de(this,Oe));return I.ok="function"!=typeof _||_,I.fail="function"==typeof E&&E,I.domain=je?Se.domain:void 0,this._c.push(I),this._a&&this._a.push(I),this._s&&C(this,!1),I.promise},catch:function(_){return this.then(void 0,_)}}),L=function(){var _=new k;this.promise=_,this.resolve=W(B,_,1),this.reject=W(D,_,1)},ve.f=Ee=function(_){return _===Oe||_===$?new L(_):N(_)}),U(U.G+U.W+U.F*!Ie,{Promise:Oe}),I(26)(Oe,"Promise"),I(63)("Promise"),$=I(18).Promise,U(U.S+U.F*!Ie,"Promise",{reject:function(_){var E=Ee(this);return(0,E.reject)(_),E.promise}}),U(U.S+U.F*(R||!Ie),"Promise",{resolve:function(_){return we(R&&this===$?Oe:this,_)}}),U(U.S+U.F*!(Ie&&I(41)((function(_){Oe.all(_).catch(A)}))),"Promise",{all:function(_){var E=this,I=Ee(E),k=I.resolve,N=I.reject,L=ye((function(){var I=[],L=0,$=1;he(_,!1,(function(_){var R=L++,G=!1;I.push(void 0),$++,E.resolve(_).then((function(_){G||(G=!0,I[R]=_,--$||k(I))}),N)})),--$||k(I)}));return L.e&&N(L.v),I.promise},race:function(_){var E=this,I=Ee(E),k=I.reject,N=ye((function(){he(_,!1,(function(_){E.resolve(_).then(I.resolve,k)}))}));return N.e&&k(N.v),I.promise}})},function(_,E,I){var k=I(55)("wks"),N=I(24),L=I(4).Symbol,$="function"==typeof L;(_.exports=function(_){return k[_]||(k[_]=$&&L[_]||($?L:N)("Symbol."+_))}).store=k},function(_,E){var I=_.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=I)},function(_,E){_.exports=I(147)},function(_,E){_.exports=function(_){return"object"==typeof _?null!==_:"function"==typeof _}},function(_,E,I){var k=I(6);_.exports=function(_){if(!k(_))throw TypeError(_+" is not an object!");return _}},function(_,E,I){var k=I(4),N=I(18),L=I(13),$=I(14),R=I(12),c=function(_,E,I){var G,W,q,U,H=_&c.F,ie=_&c.G,pe=_&c.S,he=_&c.P,de=_&c.B,me=ie?k:pe?k[E]||(k[E]={}):(k[E]||{}).prototype,ge=ie?N:N[E]||(N[E]={}),ve=ge.prototype||(ge.prototype={});for(G in ie&&(I=E),I)q=((W=!H&&me&&void 0!==me[G])?me:I)[G],U=de&&W?R(q,k):he&&"function"==typeof q?R(Function.call,q):q,me&&$(me,G,q,_&c.U),ge[G]!=q&&L(ge,G,U),he&&ve[G]!=q&&(ve[G]=q)};k.core=N,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,_.exports=c},function(_,E,I){_.exports=!I(10)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(_,E){_.exports=function(_){try{return!!_()}catch(_){return!0}}},function(_,E,I){var k=I(7),N=I(50),L=I(51),$=Object.defineProperty;E.f=I(9)?Object.defineProperty:function(_,E,I){if(k(_),E=L(E,!0),k(I),N)try{return $(_,E,I)}catch(_){}if("get"in I||"set"in I)throw TypeError("Accessors not supported!");return"value"in I&&(_[E]=I.value),_}},function(_,E,I){var k=I(19);_.exports=function(_,E,I){if(k(_),void 0===E)return _;switch(I){case 1:return function(I){return _.call(E,I)};case 2:return function(I,k){return _.call(E,I,k)};case 3:return function(I,k,N){return _.call(E,I,k,N)}}return function(){return _.apply(E,arguments)}}},function(_,E,I){var k=I(11),N=I(23);_.exports=I(9)?function(_,E,I){return k.f(_,E,N(1,I))}:function(_,E,I){return _[E]=I,_}},function(_,E,I){var k=I(4),N=I(13),L=I(15),$=I(24)("src"),R=Function.toString,G=(""+R).split("toString");I(18).inspectSource=function(_){return R.call(_)},(_.exports=function(_,E,I,R){var W="function"==typeof I;W&&(L(I,"name")||N(I,"name",E)),_[E]!==I&&(W&&(L(I,$)||N(I,$,_[E]?""+_[E]:G.join(String(E)))),_===k?_[E]=I:R?_[E]?_[E]=I:N(_,E,I):(delete _[E],N(_,E,I)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[$]||R.call(this)}))},function(_,E){var I={}.hasOwnProperty;_.exports=function(_,E){return I.call(_,E)}},function(_,E,I){I(28)("split",2,(function(_,E,k){"use strict";var N=I(92),L=k,$=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var R=void 0===/()??/.exec("")[1];k=function(_,E){var I=String(this);if(void 0===_&&0===E)return[];if(!N(_))return L.call(I,_,E);var k,G,W,q,U,H=[],ie=(_.ignoreCase?"i":"")+(_.multiline?"m":"")+(_.unicode?"u":"")+(_.sticky?"y":""),pe=0,he=void 0===E?4294967295:E>>>0,de=new RegExp(_.source,ie+"g");for(R||(k=new RegExp("^"+de.source+"$(?!\\s)",ie));(G=de.exec(I))&&!((W=G.index+G[0].length)>pe&&(H.push(I.slice(pe,G.index)),!R&&G.length>1&&G[0].replace(k,(function(){for(U=1;U<arguments.length-2;U++)void 0===arguments[U]&&(G[U]=void 0)})),G.length>1&&G.index<I.length&&$.apply(H,G.slice(1)),q=G[0].length,pe=W,H.length>=he));)de.lastIndex===G.index&&de.lastIndex++;return pe===I.length?!q&&de.test("")||H.push(""):H.push(I.slice(pe)),H.length>he?H.slice(0,he):H}}else"0".split(void 0,0).length&&(k=function(_,E){return void 0===_&&0===E?[]:L.call(this,_,E)});return[function(I,N){var L=_(this),$=null==I?void 0:I[E];return void 0!==$?$.call(I,L,N):k.call(String(L),I,N)},k]}))},function(_,E){_.exports=I(37)},function(_,E){var I=_.exports={version:"2.5.7"};"number"==typeof __e&&(__e=I)},function(_,E){_.exports=function(_){if("function"!=typeof _)throw TypeError(_+" is not a function!");return _}},function(_,E){var I={}.toString;_.exports=function(_){return I.call(_).slice(8,-1)}},function(_,E,I){var k=I(8);k(k.S+k.F,"Object",{assign:I(88)})},function(_,E,I){I(28)("match",1,(function(_,E,I){return[function(I){"use strict";var k=_(this),N=null==I?void 0:I[E];return void 0!==N?N.call(I,k):new RegExp(I)[E](String(k))},I]}))},function(_,E){_.exports=function(_,E){return{enumerable:!(1&_),configurable:!(2&_),writable:!(4&_),value:E}}},function(_,E){var I=0,k=Math.random();_.exports=function(_){return"Symbol(".concat(void 0===_?"":_,")_",(++I+k).toString(36))}},function(_,E,I){var k=I(53),N=I(34);_.exports=function(_){return k(N(_))}},function(_,E,I){var k=I(11).f,N=I(15),L=I(3)("toStringTag");_.exports=function(_,E,I){_&&!N(_=I?_:_.prototype,L)&&k(_,L,{configurable:!0,value:E})}},function(_,E,I){I(28)("replace",2,(function(_,E,I){return[function(k,N){"use strict";var L=_(this),$=null==k?void 0:k[E];return void 0!==$?$.call(k,L,N):I.call(String(L),k,N)},I]}))},function(_,E,I){"use strict";var k=I(13),N=I(14),L=I(10),$=I(34),R=I(3);_.exports=function(_,E,I){var G=R(_),W=I($,G,""[_]),q=W[0],U=W[1];L((function(){var E={};return E[G]=function(){return 7},7!=""[_](E)}))&&(N(String.prototype,_,q),k(RegExp.prototype,G,2==E?function(_,E){return U.call(_,this,E)}:function(_){return U.call(_,this)}))}},function(_,E,I){var k=I(34);_.exports=function(_){return Object(k(_))}},function(_,E){_.exports=I(837)},function(_,E,I){var k=I(70);function o(_){var t=function(){return t.called?t.value:(t.called=!0,t.value=_.apply(this,arguments))};return t.called=!1,t}function i(_){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=_.apply(this,arguments)},E=_.name||"Function wrapped with `once`";return t.onceError=E+" shouldn't be called more than once",t.called=!1,t}_.exports=k(o),_.exports.strict=k(i),o.proto=o((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return o(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})}))},function(_,E,I){"use strict";var k=I(8),N=I(52)(!0);k(k.P,"Array",{includes:function(_){return N(this,_,arguments.length>1?arguments[1]:void 0)}}),I(80)("includes")},function(_,E,I){var k=I(6),N=I(4).document,L=k(N)&&k(N.createElement);_.exports=function(_){return L?N.createElement(_):{}}},function(_,E){_.exports=function(_){if(null==_)throw TypeError("Can't call method on "+_);return _}},function(_,E,I){var k=I(54),N=Math.min;_.exports=function(_){return _>0?N(k(_),9007199254740991):0}},function(_,E){_.exports=!1},function(_,E){_.exports=function(_,E,I,k){if(!(_ instanceof E)||void 0!==k&&k in _)throw TypeError(I+": incorrect invocation!");return _}},function(_,E,I){var k=I(12),N=I(57),L=I(58),$=I(7),R=I(35),G=I(59),W={},q={};(E=_.exports=function(_,E,I,U,H){var ie,pe,he,de,me=H?function(){return _}:G(_),ge=k(I,U,E?2:1),ve=0;if("function"!=typeof me)throw TypeError(_+" is not iterable!");if(L(me)){for(ie=R(_.length);ie>ve;ve++)if((de=E?ge($(pe=_[ve])[0],pe[1]):ge(_[ve]))===W||de===q)return de}else for(he=me.call(_);!(pe=he.next()).done;)if((de=N(he,ge,pe.value,E))===W||de===q)return de}).BREAK=W,E.RETURN=q},function(_,E){_.exports={}},function(_,E,I){var k=I(14);_.exports=function(_,E,I){for(var N in E)k(_,N,E[N],I);return _}},function(_,E,I){var k=I(3)("iterator"),N=!1;try{var L=[7][k]();L.return=function(){N=!0},Array.from(L,(function(){throw 2}))}catch(_){}_.exports=function(_,E){if(!E&&!N)return!1;var I=!1;try{var L=[7],$=L[k]();$.next=function(){return{done:I=!0}},L[k]=function(){return $},_(L)}catch(_){}return I}},function(_,E,I){var k=I(87),N=I(66);_.exports=Object.keys||function(_){return k(_,N)}},function(_,E,I){var k=I(55)("keys"),N=I(24);_.exports=function(_){return k[_]||(k[_]=N(_))}},function(_,E){E.f={}.propertyIsEnumerable},function(_,E,I){_.exports=b;var k=I(5),N=I(67),L=I(46),$=(L.Minimatch,I(97)),R=I(68).EventEmitter,G=I(0),W=I(47),q=I(48),U=I(99),H=I(69),ie=(H.alphasort,H.alphasorti,H.setopts),pe=H.ownProp,he=I(100),de=(I(30),H.childrenIgnored),me=H.isIgnored,ge=I(31);function b(_,E,I){if("function"==typeof E&&(I=E,E={}),E||(E={}),E.sync){if(I)throw new TypeError("callback provided to sync glob");return U(_,E)}return new x(_,E,I)}b.sync=U;var ve=b.GlobSync=U.GlobSync;function x(_,E,I){if("function"==typeof E&&(I=E,E=null),E&&E.sync){if(I)throw new TypeError("callback provided to sync glob");return new ve(_,E)}if(!(this instanceof x))return new x(_,E,I);ie(this,_,E),this._didRealPath=!1;var k=this.minimatch.set.length;this.matches=new Array(k),"function"==typeof I&&(I=ge(I),this.on("error",I),this.on("end",(function(_){I(null,_)})));var N=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===k)return a();for(var L=!0,$=0;$<k;$++)this._process(this.minimatch.set[$],$,!1,a);function a(){--N._processing,N._processing<=0&&(L?process.nextTick((function(){N._finish()})):N._finish())}L=!1}b.glob=b,b.hasMagic=function(_,E){var I=function(_,E){if(null===E||"object"!=typeof E)return _;for(var I=Object.keys(E),k=I.length;k--;)_[I[k]]=E[I[k]];return _}({},E);I.noprocess=!0;var k=new x(_,I).minimatch.set;if(!_)return!1;if(k.length>1)return!0;for(var N=0;N<k[0].length;N++)if("string"!=typeof k[0][N])return!0;return!1},b.Glob=x,$(x,R),x.prototype._finish=function(){if(W(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();H.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var _=this.matches.length;if(0===_)return this._finish();for(var E=this,I=0;I<this.matches.length;I++)this._realpathSet(I,r)}function r(){0==--_&&E._finish()}},x.prototype._realpathSet=function(_,E){var I=this.matches[_];if(!I)return E();var k=Object.keys(I),L=this,$=k.length;if(0===$)return E();var R=this.matches[_]=Object.create(null);k.forEach((function(I,k){I=L._makeAbs(I),N.realpath(I,L.realpathCache,(function(k,N){k?"stat"===k.syscall?R[I]=!0:L.emit("error",k):R[N]=!0,0==--$&&(L.matches[_]=R,E())}))}))},x.prototype._mark=function(_){return H.mark(this,_)},x.prototype._makeAbs=function(_){return H.makeAbs(this,_)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var _=this._emitQueue.slice(0);this._emitQueue.length=0;for(var E=0;E<_.length;E++){var I=_[E];this._emitMatch(I[0],I[1])}}if(this._processQueue.length){var k=this._processQueue.slice(0);this._processQueue.length=0;for(E=0;E<k.length;E++){var N=k[E];this._processing--,this._process(N[0],N[1],N[2],N[3])}}}},x.prototype._process=function(_,E,I,k){if(W(this instanceof x),W("function"==typeof k),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([_,E,I,k]);else{for(var N,$=0;"string"==typeof _[$];)$++;switch($){case _.length:return void this._processSimple(_.join("/"),E,k);case 0:N=null;break;default:N=_.slice(0,$).join("/")}var R,G=_.slice($);null===N?R=".":q(N)||q(_.join("/"))?(N&&q(N)||(N="/"+N),R=N):R=N;var U=this._makeAbs(R);if(de(this,R))return k();G[0]===L.GLOBSTAR?this._processGlobStar(N,R,U,G,E,I,k):this._processReaddir(N,R,U,G,E,I,k)}},x.prototype._processReaddir=function(_,E,I,k,N,L,$){var R=this;this._readdir(I,L,(function(G,W){return R._processReaddir2(_,E,I,k,N,L,W,$)}))},x.prototype._processReaddir2=function(_,E,I,k,N,L,$,R){if(!$)return R();for(var W=k[0],q=!!this.minimatch.negate,U=W._glob,H=this.dot||"."===U.charAt(0),ie=[],pe=0;pe<$.length;pe++){if("."!==(de=$[pe]).charAt(0)||H)(q&&!_?!de.match(W):de.match(W))&&ie.push(de)}var he=ie.length;if(0===he)return R();if(1===k.length&&!this.mark&&!this.stat){this.matches[N]||(this.matches[N]=Object.create(null));for(pe=0;pe<he;pe++){var de=ie[pe];_&&(de="/"!==_?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=G.join(this.root,de)),this._emitMatch(N,de)}return R()}k.shift();for(pe=0;pe<he;pe++){de=ie[pe];_&&(de="/"!==_?_+"/"+de:_+de),this._process([de].concat(k),N,L,R)}R()},x.prototype._emitMatch=function(_,E){if(!this.aborted&&!me(this,E))if(this.paused)this._emitQueue.push([_,E]);else{var I=q(E)?E:this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=I),!this.matches[_][E]){if(this.nodir){var k=this.cache[I];if("DIR"===k||Array.isArray(k))return}this.matches[_][E]=!0;var N=this.statCache[I];N&&this.emit("stat",E,N),this.emit("match",E)}}},x.prototype._readdirInGlobStar=function(_,E){if(!this.aborted){if(this.follow)return this._readdir(_,!1,E);var I=this,N=he("lstat\0"+_,(function(k,N){if(k&&"ENOENT"===k.code)return E();var L=N&&N.isSymbolicLink();I.symlinks[_]=L,L||!N||N.isDirectory()?I._readdir(_,!1,E):(I.cache[_]="FILE",E())}));N&&k.lstat(_,N)}},x.prototype._readdir=function(_,E,I){if(!this.aborted&&(I=he("readdir\0"+_+"\0"+E,I))){if(E&&!pe(this.symlinks,_))return this._readdirInGlobStar(_,I);if(pe(this.cache,_)){var N=this.cache[_];if(!N||"FILE"===N)return I();if(Array.isArray(N))return I(null,N)}k.readdir(_,function(_,E,I){return function(k,N){k?_._readdirError(E,k,I):_._readdirEntries(E,N,I)}}(this,_,I))}},x.prototype._readdirEntries=function(_,E,I){if(!this.aborted){if(!this.mark&&!this.stat)for(var k=0;k<E.length;k++){var N=E[k];N="/"===_?_+N:_+"/"+N,this.cache[N]=!0}return this.cache[_]=E,I(null,E)}},x.prototype._readdirError=function(_,E,I){if(!this.aborted){switch(E.code){case"ENOTSUP":case"ENOTDIR":var k=this._makeAbs(_);if(this.cache[k]="FILE",k===this.cwdAbs){var N=new Error(E.code+" invalid cwd "+this.cwd);N.path=this.cwd,N.code=E.code,this.emit("error",N),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:this.cache[this._makeAbs(_)]=!1,this.strict&&(this.emit("error",E),this.abort()),this.silent||console.error("glob error",E)}return I()}},x.prototype._processGlobStar=function(_,E,I,k,N,L,$){var R=this;this._readdir(I,L,(function(G,W){R._processGlobStar2(_,E,I,k,N,L,W,$)}))},x.prototype._processGlobStar2=function(_,E,I,k,N,L,$,R){if(!$)return R();var G=k.slice(1),W=_?[_]:[],q=W.concat(G);this._process(q,N,!1,R);var U=this.symlinks[I],H=$.length;if(U&&L)return R();for(var ie=0;ie<H;ie++){if("."!==$[ie].charAt(0)||this.dot){var pe=W.concat($[ie],G);this._process(pe,N,!0,R);var he=W.concat($[ie],k);this._process(he,N,!0,R)}}R()},x.prototype._processSimple=function(_,E,I){var k=this;this._stat(_,(function(N,L){k._processSimple2(_,E,N,L,I)}))},x.prototype._processSimple2=function(_,E,I,k,N){if(this.matches[E]||(this.matches[E]=Object.create(null)),!k)return N();if(_&&q(_)&&!this.nomount){var L=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=G.join(this.root,_):(_=G.resolve(this.root,_),L&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_),N()},x.prototype._stat=function(_,E){var I=this._makeAbs(_),N="/"===_.slice(-1);if(_.length>this.maxLength)return E();if(!this.stat&&pe(this.cache,I)){var L=this.cache[I];if(Array.isArray(L)&&(L="DIR"),!N||"DIR"===L)return E(null,L);if(N&&"FILE"===L)return E()}var $=this.statCache[I];if(void 0!==$){if(!1===$)return E(null,$);var R=$.isDirectory()?"DIR":"FILE";return N&&"FILE"===R?E():E(null,R,$)}var G=this,W=he("stat\0"+I,(function(N,L){if(L&&L.isSymbolicLink())return k.stat(I,(function(k,N){k?G._stat2(_,I,null,L,E):G._stat2(_,I,k,N,E)}));G._stat2(_,I,N,L,E)}));W&&k.lstat(I,W)},x.prototype._stat2=function(_,E,I,k,N){if(I&&("ENOENT"===I.code||"ENOTDIR"===I.code))return this.statCache[E]=!1,N();var L="/"===_.slice(-1);if(this.statCache[E]=k,"/"===E.slice(-1)&&k&&!k.isDirectory())return N(null,!1,k);var $=!0;return k&&($=k.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||$,L&&"FILE"===$?N():N(null,$,k)}},function(_,E,I){_.exports=d,d.Minimatch=m;var k={sep:"/"};try{k=I(0)}catch(_){}var N=d.GLOBSTAR=m.GLOBSTAR={},L=I(94),$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},R="[^/]",G=R+"*?",W="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",q="(?:(?!(?:\\/|^)\\.).)*?",U="().*{}+?[]^$\\!".split("").reduce((function(_,E){return _[E]=!0,_}),{});var H=/\/+/;function h(_,E){_=_||{},E=E||{};var I={};return Object.keys(E).forEach((function(_){I[_]=E[_]})),Object.keys(_).forEach((function(E){I[E]=_[E]})),I}function d(_,E,I){if("string"!=typeof E)throw new TypeError("glob pattern string required");return I||(I={}),!(!I.nocomment&&"#"===E.charAt(0))&&(""===E.trim()?""===_:new m(E,I).match(_))}function m(_,E){if(!(this instanceof m))return new m(_,E);if("string"!=typeof _)throw new TypeError("glob pattern string required");E||(E={}),_=_.trim(),"/"!==k.sep&&(_=_.split(k.sep).join("/")),this.options=E,this.set=[],this.pattern=_,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function g(_,E){if(E||(E=this instanceof m?this.options:{}),void 0===(_=void 0===_?this.pattern:_))throw new TypeError("undefined pattern");return E.nobrace||!_.match(/\{.*\}/)?[_]:L(_)}d.filter=function(_,E){return E=E||{},function(I,k,N){return d(I,_,E)}},d.defaults=function(_){if(!_||!Object.keys(_).length)return d;var E=d,n=function(I,k,N){return E.minimatch(I,k,h(_,N))};return n.Minimatch=function(I,k){return new E.Minimatch(I,h(_,k))},n},m.defaults=function(_){return _&&Object.keys(_).length?d.defaults(_).Minimatch:m},m.prototype.debug=function(){},m.prototype.make=function(){if(this._made)return;var _=this.pattern,E=this.options;if(!E.nocomment&&"#"===_.charAt(0))return void(this.comment=!0);if(!_)return void(this.empty=!0);this.parseNegate();var I=this.globSet=this.braceExpand();E.debug&&(this.debug=console.error);this.debug(this.pattern,I),I=this.globParts=I.map((function(_){return _.split(H)})),this.debug(this.pattern,I),I=I.map((function(_,E,I){return _.map(this.parse,this)}),this),this.debug(this.pattern,I),I=I.filter((function(_){return-1===_.indexOf(!1)})),this.debug(this.pattern,I),this.set=I},m.prototype.parseNegate=function(){var _=this.pattern,E=!1,I=this.options,k=0;if(I.nonegate)return;for(var N=0,L=_.length;N<L&&"!"===_.charAt(N);N++)E=!E,k++;k&&(this.pattern=_.substr(k));this.negate=E},d.braceExpand=function(_,E){return g(_,E)},m.prototype.braceExpand=g,m.prototype.parse=function(_,E){if(_.length>65536)throw new TypeError("pattern is too long");var I=this.options;if(!I.noglobstar&&"**"===_)return N;if(""===_)return"";var k,L="",W=!!I.nocase,q=!1,H=[],pe=[],he=!1,de=-1,me=-1,ge="."===_.charAt(0)?"":I.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",ve=this;function w(){if(k){switch(k){case"*":L+=G,W=!0;break;case"?":L+=R,W=!0;break;default:L+="\\"+k}ve.debug("clearStateChar %j %j",k,L),k=!1}}for(var ye,be=0,we=_.length;be<we&&(ye=_.charAt(be));be++)if(this.debug("%s\t%s %s %j",_,be,L,ye),q&&U[ye])L+="\\"+ye,q=!1;else switch(ye){case"/":return!1;case"\\":w(),q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",_,be,L,ye),he){this.debug(" in class"),"!"===ye&&be===me+1&&(ye="^"),L+=ye;continue}ve.debug("call clearStateChar %j",k),w(),k=ye,I.noext&&w();continue;case"(":if(he){L+="(";continue}if(!k){L+="\\(";continue}H.push({type:k,start:be-1,reStart:L.length,open:$[k].open,close:$[k].close}),L+="!"===k?"(?:(?!(?:":"(?:",this.debug("plType %j %j",k,L),k=!1;continue;case")":if(he||!H.length){L+="\\)";continue}w(),W=!0;var xe=H.pop();L+=xe.close,"!"===xe.type&&pe.push(xe),xe.reEnd=L.length;continue;case"|":if(he||!H.length||q){L+="\\|",q=!1;continue}w(),L+="|";continue;case"[":if(w(),he){L+="\\"+ye;continue}he=!0,me=be,de=L.length,L+=ye;continue;case"]":if(be===me+1||!he){L+="\\"+ye,q=!1;continue}if(he){var Se=_.substring(me+1,be);try{RegExp("["+Se+"]")}catch(_){var _e=this.parse(Se,ie);L=L.substr(0,de)+"\\["+_e[0]+"\\]",W=W||_e[1],he=!1;continue}}W=!0,he=!1,L+=ye;continue;default:w(),q?q=!1:!U[ye]||"^"===ye&&he||(L+="\\"),L+=ye}he&&(Se=_.substr(me+1),_e=this.parse(Se,ie),L=L.substr(0,de)+"\\["+_e[0],W=W||_e[1]);for(xe=H.pop();xe;xe=H.pop()){var Pe=L.slice(xe.reStart+xe.open.length);this.debug("setting tail",L,xe),Pe=Pe.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(_,E,I){return I||(I="\\"),E+E+I+"|"})),this.debug("tail=%j\n %s",Pe,Pe,xe,L);var Oe="*"===xe.type?G:"?"===xe.type?R:"\\"+xe.type;W=!0,L=L.slice(0,xe.reStart)+Oe+"\\("+Pe}w(),q&&(L+="\\\\");var je=!1;switch(L.charAt(0)){case".":case"[":case"(":je=!0}for(var Ee=pe.length-1;Ee>-1;Ee--){var Ie=pe[Ee],Ae=L.slice(0,Ie.reStart),ke=L.slice(Ie.reStart,Ie.reEnd-8),Ne=L.slice(Ie.reEnd-8,Ie.reEnd),Fe=L.slice(Ie.reEnd);Ne+=Fe;var Ce=Ae.split("(").length-1,Me=Fe;for(be=0;be<Ce;be++)Me=Me.replace(/\)[+*?]?/,"");var Te="";""===(Fe=Me)&&E!==ie&&(Te="$");var Ve=Ae+ke+Fe+Te+Ne;L=Ve}""!==L&&W&&(L="(?=.)"+L);je&&(L=ge+L);if(E===ie)return[L,W];if(!W)return _.replace(/\\(.)/g,"$1");var De=I.nocase?"i":"";try{var Be=new RegExp("^"+L+"$",De)}catch(_){return new RegExp("$.")}return Be._glob=_,Be._src=L,Be};var ie={};d.makeRe=function(_,E){return new m(_,E||{}).makeRe()},m.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var _=this.set;if(!_.length)return this.regexp=!1,this.regexp;var E=this.options,I=E.noglobstar?G:E.dot?W:q,k=E.nocase?"i":"",L=_.map((function(_){return _.map((function(_){return _===N?I:"string"==typeof _?_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):_._src})).join("\\/")})).join("|");L="^(?:"+L+")$",this.negate&&(L="^(?!"+L+").*$");try{this.regexp=new RegExp(L,k)}catch(_){this.regexp=!1}return this.regexp},d.match=function(_,E,I){var k=new m(E,I=I||{});return _=_.filter((function(_){return k.match(_)})),k.options.nonull&&!_.length&&_.push(E),_},m.prototype.match=function(_,E){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return""===_;if("/"===_&&E)return!0;var I=this.options;"/"!==k.sep&&(_=_.split(k.sep).join("/"));_=_.split(H),this.debug(this.pattern,"split",_);var N,L,$=this.set;for(this.debug(this.pattern,"set",$),L=_.length-1;L>=0&&!(N=_[L]);L--);for(L=0;L<$.length;L++){var R=$[L],G=_;I.matchBase&&1===R.length&&(G=[N]);var W=this.matchOne(G,R,E);if(W)return!!I.flipNegate||!this.negate}return!I.flipNegate&&this.negate},m.prototype.matchOne=function(_,E,I){var k=this.options;this.debug("matchOne",{this:this,file:_,pattern:E}),this.debug("matchOne",_.length,E.length);for(var L=0,$=0,R=_.length,G=E.length;L<R&&$<G;L++,$++){this.debug("matchOne loop");var W,q=E[$],U=_[L];if(this.debug(E,q,U),!1===q)return!1;if(q===N){this.debug("GLOBSTAR",[E,q,U]);var H=L,ie=$+1;if(ie===G){for(this.debug("** at the end");L<R;L++)if("."===_[L]||".."===_[L]||!k.dot&&"."===_[L].charAt(0))return!1;return!0}for(;H<R;){var pe=_[H];if(this.debug("\nglobstar while",_,H,E,ie,pe),this.matchOne(_.slice(H),E.slice(ie),I))return this.debug("globstar found match!",H,R,pe),!0;if("."===pe||".."===pe||!k.dot&&"."===pe.charAt(0)){this.debug("dot detected!",_,H,E,ie);break}this.debug("globstar swallow a segment, and continue"),H++}return!(!I||(this.debug("\n>>> no match, partial?",_,H,E,ie),H!==R))}if("string"==typeof q?(W=k.nocase?U.toLowerCase()===q.toLowerCase():U===q,this.debug("string match",q,U,W)):(W=U.match(q),this.debug("pattern match",q,U,W)),!W)return!1}if(L===R&&$===G)return!0;if(L===R)return I;if($===G)return L===R-1&&""===_[L];throw new Error("wtf?")}},function(_,E){_.exports=I(491)},function(_,E,I){"use strict";function r(_){return"/"===_.charAt(0)}function o(_){var E=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(_),I=E[1]||"",k=Boolean(I&&":"!==I.charAt(1));return Boolean(E[2]||k)}_.exports="win32"===process.platform?o:r,_.exports.posix=r,_.exports.win32=o},function(_,E){_.exports=I(81)},function(_,E,I){_.exports=!I(9)&&!I(10)((function(){return 7!=Object.defineProperty(I(33)("div"),"a",{get:function(){return 7}}).a}))},function(_,E,I){var k=I(6);_.exports=function(_,E){if(!k(_))return _;var I,N;if(E&&"function"==typeof(I=_.toString)&&!k(N=I.call(_)))return N;if("function"==typeof(I=_.valueOf)&&!k(N=I.call(_)))return N;if(!E&&"function"==typeof(I=_.toString)&&!k(N=I.call(_)))return N;throw TypeError("Can't convert object to primitive value")}},function(_,E,I){var k=I(25),N=I(35),L=I(79);_.exports=function(_){return function(E,I,$){var R,G=k(E),W=N(G.length),q=L($,W);if(_&&I!=I){for(;W>q;)if((R=G[q++])!=R)return!0}else for(;W>q;q++)if((_||q in G)&&G[q]===I)return _||q||0;return!_&&-1}}},function(_,E,I){var k=I(20);_.exports=Object("z").propertyIsEnumerable(0)?Object:function(_){return"String"==k(_)?_.split(""):Object(_)}},function(_,E){var I=Math.ceil,k=Math.floor;_.exports=function(_){return isNaN(_=+_)?0:(_>0?k:I)(_)}},function(_,E,I){var k=I(18),N=I(4),L=N["__core-js_shared__"]||(N["__core-js_shared__"]={});(_.exports=function(_,E){return L[_]||(L[_]=void 0!==E?E:{})})("versions",[]).push({version:k.version,mode:I(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(_,E,I){var k=I(20),N=I(3)("toStringTag"),L="Arguments"==k(function(){return arguments}());_.exports=function(_){var E,I,$;return void 0===_?"Undefined":null===_?"Null":"string"==typeof(I=function(_,E){try{return _[E]}catch(_){}}(E=Object(_),N))?I:L?k(E):"Object"==($=k(E))&&"function"==typeof E.callee?"Arguments":$}},function(_,E,I){var k=I(7);_.exports=function(_,E,I,N){try{return N?E(k(I)[0],I[1]):E(I)}catch(E){var L=_.return;throw void 0!==L&&k(L.call(_)),E}}},function(_,E,I){var k=I(39),N=I(3)("iterator"),L=Array.prototype;_.exports=function(_){return void 0!==_&&(k.Array===_||L[N]===_)}},function(_,E,I){var k=I(56),N=I(3)("iterator"),L=I(39);_.exports=I(18).getIteratorMethod=function(_){if(null!=_)return _[N]||_["@@iterator"]||L[k(_)]}},function(_,E,I){var k,N,L,$=I(12),R=I(82),G=I(61),W=I(33),q=I(4),U=q.process,H=q.setImmediate,ie=q.clearImmediate,pe=q.MessageChannel,he=q.Dispatch,de=0,me={},y=function(){var _=+this;if(me.hasOwnProperty(_)){var E=me[_];delete me[_],E()}},b=function(_){y.call(_.data)};H&&ie||(H=function(_){for(var E=[],I=1;arguments.length>I;)E.push(arguments[I++]);return me[++de]=function(){R("function"==typeof _?_:Function(_),E)},k(de),de},ie=function(_){delete me[_]},"process"==I(20)(U)?k=function(_){U.nextTick($(y,_,1))}:he&&he.now?k=function(_){he.now($(y,_,1))}:pe?(L=(N=new pe).port2,N.port1.onmessage=b,k=$(L.postMessage,L,1)):q.addEventListener&&"function"==typeof postMessage&&!q.importScripts?(k=function(_){q.postMessage(_+"","*")},q.addEventListener("message",b,!1)):k="onreadystatechange"in W("script")?function(_){G.appendChild(W("script")).onreadystatechange=function(){G.removeChild(this),y.call(_)}}:function(_){setTimeout($(y,_,1),0)}),_.exports={set:H,clear:ie}},function(_,E,I){var k=I(4).document;_.exports=k&&k.documentElement},function(_,E,I){"use strict";var k=I(19);function o(_){var E,I;this.promise=new _((function(_,k){if(void 0!==E||void 0!==I)throw TypeError("Bad Promise constructor");E=_,I=k})),this.resolve=k(E),this.reject=k(I)}_.exports.f=function(_){return new o(_)}},function(_,E,I){"use strict";var k=I(4),N=I(11),L=I(9),$=I(3)("species");_.exports=function(_){var E=k[_];L&&E&&!E[$]&&N.f(E,$,{configurable:!0,get:function(){return this}})}},function(_,E,I){var k=I(8),N=I(65)(!0);k(k.S,"Object",{entries:function(_){return N(_)}})},function(_,E,I){var k=I(42),N=I(25),L=I(44).f;_.exports=function(_){return function(E){for(var I,$=N(E),R=k($),G=R.length,W=0,q=[];G>W;)L.call($,I=R[W++])&&q.push(_?[I,$[I]]:$[I]);return q}}},function(_,E){_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(_,E,I){_.exports=l,l.realpath=l,l.sync=f,l.realpathSync=f,l.monkeypatch=function(){k.realpath=l,k.realpathSync=f},l.unmonkeypatch=function(){k.realpath=N,k.realpathSync=L};var k=I(5),N=k.realpath,L=k.realpathSync,$=process.version,R=/^v[0-5]\./.test($),G=I(93);function u(_){return _&&"realpath"===_.syscall&&("ELOOP"===_.code||"ENOMEM"===_.code||"ENAMETOOLONG"===_.code)}function l(_,E,I){if(R)return N(_,E,I);"function"==typeof E&&(I=E,E=null),N(_,E,(function(k,N){u(k)?G.realpath(_,E,I):I(k,N)}))}function f(_,E){if(R)return L(_,E);try{return L(_,E)}catch(I){if(u(I))return G.realpathSync(_,E);throw I}}},function(_,E){_.exports=I(361)},function(_,E,I){function r(_,E){return Object.prototype.hasOwnProperty.call(_,E)}E.alphasort=u,E.alphasorti=c,E.setopts=function(_,E,I){I||(I={});if(I.matchBase&&-1===E.indexOf("/")){if(I.noglobstar)throw new Error("base matching requires globstar");E="**/"+E}_.silent=!!I.silent,_.pattern=E,_.strict=!1!==I.strict,_.realpath=!!I.realpath,_.realpathCache=I.realpathCache||Object.create(null),_.follow=!!I.follow,_.dot=!!I.dot,_.mark=!!I.mark,_.nodir=!!I.nodir,_.nodir&&(_.mark=!0);_.sync=!!I.sync,_.nounique=!!I.nounique,_.nonull=!!I.nonull,_.nosort=!!I.nosort,_.nocase=!!I.nocase,_.stat=!!I.stat,_.noprocess=!!I.noprocess,_.absolute=!!I.absolute,_.maxLength=I.maxLength||1/0,_.cache=I.cache||Object.create(null),_.statCache=I.statCache||Object.create(null),_.symlinks=I.symlinks||Object.create(null),function(_,E){_.ignore=E.ignore||[],Array.isArray(_.ignore)||(_.ignore=[_.ignore]);_.ignore.length&&(_.ignore=_.ignore.map(l))}(_,I),_.changedCwd=!1;var N=process.cwd();r(I,"cwd")?(_.cwd=k.resolve(I.cwd),_.changedCwd=_.cwd!==N):_.cwd=N;_.root=I.root||k.resolve(_.cwd,"/"),_.root=k.resolve(_.root),"win32"===process.platform&&(_.root=_.root.replace(/\\/g,"/"));_.cwdAbs=L(_.cwd)?_.cwd:f(_,_.cwd),"win32"===process.platform&&(_.cwdAbs=_.cwdAbs.replace(/\\/g,"/"));_.nomount=!!I.nomount,I.nonegate=!0,I.nocomment=!0,_.minimatch=new $(E,I),_.options=_.minimatch.options},E.ownProp=r,E.makeAbs=f,E.finish=function(_){for(var E=_.nounique,I=E?[]:Object.create(null),k=0,N=_.matches.length;k<N;k++){var L=_.matches[k];if(L&&0!==Object.keys(L).length){var $=Object.keys(L);E?I.push.apply(I,$):$.forEach((function(_){I[_]=!0}))}else if(_.nonull){var R=_.minimatch.globSet[k];E?I.push(R):I[R]=!0}}E||(I=Object.keys(I));_.nosort||(I=I.sort(_.nocase?c:u));if(_.mark){for(var k=0;k<I.length;k++)I[k]=_._mark(I[k]);_.nodir&&(I=I.filter((function(E){var I=!/\/$/.test(E),k=_.cache[E]||_.cache[f(_,E)];return I&&k&&(I="DIR"!==k&&!Array.isArray(k)),I})))}_.ignore.length&&(I=I.filter((function(E){return!p(_,E)})));_.found=I},E.mark=function(_,E){var I=f(_,E),k=_.cache[I],N=E;if(k){var L="DIR"===k||Array.isArray(k),$="/"===E.slice(-1);if(L&&!$?N+="/":!L&&$&&(N=N.slice(0,-1)),N!==E){var R=f(_,N);_.statCache[R]=_.statCache[I],_.cache[R]=_.cache[I]}}return N},E.isIgnored=p,E.childrenIgnored=function(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return!(!_.gmatcher||!_.gmatcher.match(E))}))};var k=I(0),N=I(46),L=I(48),$=N.Minimatch;function c(_,E){return _.toLowerCase().localeCompare(E.toLowerCase())}function u(_,E){return _.localeCompare(E)}function l(_){var E=null;if("/**"===_.slice(-3)){var I=_.replace(/(\/\*\*)+$/,"");E=new $(I,{dot:!0})}return{matcher:new $(_,{dot:!0}),gmatcher:E}}function f(_,E){var I=E;return I="/"===E.charAt(0)?k.join(_.root,E):L(E)||""===E?E:_.changedCwd?k.resolve(_.cwd,E):k.resolve(E),"win32"===process.platform&&(I=I.replace(/\\/g,"/")),I}function p(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return _.matcher.match(E)||!(!_.gmatcher||!_.gmatcher.match(E))}))}},function(_,E){_.exports=function e(_,E){if(_&&E)return e(_)(E);if("function"!=typeof _)throw new TypeError("need wrapper function");Object.keys(_).forEach((function(E){r[E]=_[E]}));return r;function r(){for(var E=new Array(arguments.length),I=0;I<E.length;I++)E[I]=arguments[I];var k=_.apply(this,E),N=E[E.length-1];return"function"==typeof k&&k!==N&&Object.keys(N).forEach((function(_){k[_]=N[_]})),k}}},function(_,E,I){var k=I(7),N=I(105),L=I(66),$=I(43)("IE_PROTO"),a=function(){},c=function(){var _,E=I(33)("iframe"),k=L.length;for(E.style.display="none",I(61).appendChild(E),E.src="javascript:",(_=E.contentWindow.document).open(),_.write("<script>document.F=Object<\/script>"),_.close(),c=_.F;k--;)delete c.prototype[L[k]];return c()};_.exports=Object.create||function(_,E){var I;return null!==_?(a.prototype=k(_),I=new a,a.prototype=null,I[$]=_):I=c(),void 0===E?I:N(I,E)}},function(_,E,I){var k=I(24)("meta"),N=I(6),L=I(15),$=I(11).f,R=0,G=Object.isExtensible||function(){return!0},W=!I(10)((function(){return G(Object.preventExtensions({}))})),l=function(_){$(_,k,{value:{i:"O"+ ++R,w:{}}})},q=_.exports={KEY:k,NEED:!1,fastKey:function(_,E){if(!N(_))return"symbol"==typeof _?_:("string"==typeof _?"S":"P")+_;if(!L(_,k)){if(!G(_))return"F";if(!E)return"E";l(_)}return _[k].i},getWeak:function(_,E){if(!L(_,k)){if(!G(_))return!0;if(!E)return!1;l(_)}return _[k].w},onFreeze:function(_){return W&&q.NEED&&G(_)&&!L(_,k)&&l(_),_}}},function(_,E,I){var k=I(6);_.exports=function(_,E){if(!k(_)||_._t!==E)throw TypeError("Incompatible receiver, "+E+" required!");return _}},function(_,E,I){var k=I(8),N=I(65)(!1);k(k.S,"Object",{values:function(_){return N(_)}})},function(_,E,I){"use strict";var k=I(7);_.exports=function(){var _=k(this),E="";return _.global&&(E+="g"),_.ignoreCase&&(E+="i"),_.multiline&&(E+="m"),_.unicode&&(E+="u"),_.sticky&&(E+="y"),E}},function(_,E,I){_.exports=u,u.sync=function(_,E){for(var I=c(_,E=E||{}),k=I.env,L=I.ext,R=I.extExe,G=[],W=0,q=k.length;W<q;W++){var U=k[W];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var H=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(H=_.slice(0,2)+H);for(var ie=0,pe=L.length;ie<pe;ie++){var he=H+L[ie];try{if($.sync(he,{pathExt:R})){if(!E.all)return he;G.push(he)}}catch(_){}}}if(E.all&&G.length)return G;if(E.nothrow)return null;throw a(_)};var k="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,N=I(0),L=k?";":":",$=I(118);function a(_){var E=new Error("not found: "+_);return E.code="ENOENT",E}function c(_,E){var I=E.colon||L,N=E.path||process.env.PATH||"",$=[""];N=N.split(I);var R="";return k&&(N.unshift(process.cwd()),$=(R=E.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(I),-1!==_.indexOf(".")&&""!==$[0]&&$.unshift("")),(_.match(/\//)||k&&_.match(/\\/))&&(N=[""]),{env:N,ext:$,extExe:R}}function u(_,E,I){"function"==typeof E&&(I=E,E={});var k=c(_,E),L=k.env,R=k.ext,G=k.extExe,W=[];!function r(k,q){if(k===q)return E.all&&W.length?I(null,W):I(a(_));var U=L[k];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var H=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(H=_.slice(0,2)+H),function e(_,N){if(_===N)return r(k+1,q);var L=R[_];$(H+L,{pathExt:G},(function(k,$){if(!k&&$){if(!E.all)return I(null,H+L);W.push(H+L)}return e(_+1,N)}))}(0,R.length)}(0,L.length)}},function(_,E,I){"use strict";_.exports=_=>{const E=(_=_||{}).env||process.env;return"win32"!==(_.platform||process.platform)?"PATH":Object.keys(E).find((_=>"PATH"===_.toUpperCase()))||"Path"}},function(_,E,I){"use strict";I(32),I(2),I(27),I(64),I(21);var k=I(90),N=I(161),L=I(170),$=I(1);function a(_,E){(E=E||{}).clipboard&&console.log("\n*** Clipboard option removed - use clipboardy or clipboard-cli directly ***\n");var I=Object.keys(_).length>0?_:L.defaults,$=Object.entries(I).reduce((function(_,I){var N=I[0],L=I[1],$=k[`get${N}`];return $?(L&&_.push($(L,E)),_):_=_.concat((L||[]).map((function(_){var E=k[`get${_.replace(/\s/g,"")}Info`];return E?E():Promise.resolve(["Unknown"])})))}),[]);return Promise.all($).then((function(_){var I=_.reduce((function(_,E){return E&&E[0]&&Object.assign(_,{[E[0]]:E}),_}),{});return function(_,E){var I=E.json?N.json:E.markdown?N.markdown:N.yaml;if(E.console){var k=!1;process.stdout.isTTY&&(k=!0),console.log(I(_,Object.assign({},E,{console:k})))}return I(_,Object.assign({},E,{console:!1}))}(Object.entries(L.defaults).reduce((function(_,E){var k=E[0],N=E[1];return I[k]?Object.assign(_,{[k]:I[k][1]}):Object.assign(_,{[k]:(N||[]).reduce((function(_,E){return I[E]?(I[E].shift(),1===I[E].length?Object.assign(_,{[E]:I[E][0]}):Object.assign(_,{[E]:{version:I[E][0],path:I[E][1]}})):_}),{})})}),{}),E)}))}_.exports={cli:function(_){if(_.all)return a(Object.assign({},L.defaults,{npmPackages:!0,npmGlobalPackages:!0}),_);if(_.raw)return a(JSON.parse(_.raw),_);if(_.helper){var E=k[`get${_.helper}`]||k[`get${_.helper}Info`]||k[_.helper];return E?E().then(console.log):console.error("Not Found")}var n=function(_,E){return _.toLowerCase().includes(E.toLowerCase())},I=Object.keys(_).filter((function(_){return Object.keys(L.defaults).some((function(E){return n(E,_)}))})),N=Object.entries(L.defaults).reduce((function(E,k){return I.some((function(_){return n(_,k[0])}))?Object.assign(E,{[k[0]]:k[1]||_[k[0]]}):E}),{});return _.preset?L[_.preset]?a(Object.assign({},$.omit(L[_.preset],["options"]),N),Object.assign({},L[_.preset].options,$.pick(_,["duplicates","fullTree","json","markdown","console"]))):console.error(`\nNo "${_.preset}" preset found.`):a(N,_)},helpers:k,main:a,run:function(_,E){return"string"==typeof _.preset?a(L[_.preset],E):a(_,E)}}},function(_,E,I){var k=I(54),N=Math.max,L=Math.min;_.exports=function(_,E){return(_=k(_))<0?N(_+E,0):L(_,E)}},function(_,E,I){var k=I(3)("unscopables"),N=Array.prototype;null==N[k]&&I(13)(N,k,{}),_.exports=function(_){N[k][_]=!0}},function(_,E,I){var k=I(7),N=I(19),L=I(3)("species");_.exports=function(_,E){var I,$=k(_).constructor;return void 0===$||null==(I=k($)[L])?E:N(I)}},function(_,E){_.exports=function(_,E,I){var k=void 0===I;switch(E.length){case 0:return k?_():_.call(I);case 1:return k?_(E[0]):_.call(I,E[0]);case 2:return k?_(E[0],E[1]):_.call(I,E[0],E[1]);case 3:return k?_(E[0],E[1],E[2]):_.call(I,E[0],E[1],E[2]);case 4:return k?_(E[0],E[1],E[2],E[3]):_.call(I,E[0],E[1],E[2],E[3])}return _.apply(I,E)}},function(_,E,I){var k=I(4),N=I(60).set,L=k.MutationObserver||k.WebKitMutationObserver,$=k.process,R=k.Promise,G="process"==I(20)($);_.exports=function(){var _,E,I,u=function(){var k,N;for(G&&(k=$.domain)&&k.exit();_;){N=_.fn,_=_.next;try{N()}catch(k){throw _?I():E=void 0,k}}E=void 0,k&&k.enter()};if(G)I=function(){$.nextTick(u)};else if(!L||k.navigator&&k.navigator.standalone)if(R&&R.resolve){var W=R.resolve(void 0);I=function(){W.then(u)}}else I=function(){N.call(k,u)};else{var q=!0,U=document.createTextNode("");new L(u).observe(U,{characterData:!0}),I=function(){U.data=q=!q}}return function(k){var N={fn:k,next:void 0};E&&(E.next=N),_||(_=N,I()),E=N}}},function(_,E){_.exports=function(_){try{return{e:!1,v:_()}}catch(_){return{e:!0,v:_}}}},function(_,E,I){var k=I(4).navigator;_.exports=k&&k.userAgent||""},function(_,E,I){var k=I(7),N=I(6),L=I(62);_.exports=function(_,E){if(k(_),N(E)&&E.constructor===_)return E;var I=L.f(_);return(0,I.resolve)(E),I.promise}},function(_,E,I){var k=I(15),N=I(25),L=I(52)(!1),$=I(43)("IE_PROTO");_.exports=function(_,E){var I,R=N(_),G=0,W=[];for(I in R)I!=$&&k(R,I)&&W.push(I);for(;E.length>G;)k(R,I=E[G++])&&(~L(W,I)||W.push(I));return W}},function(_,E,I){"use strict";var k=I(42),N=I(89),L=I(44),$=I(29),R=I(53),G=Object.assign;_.exports=!G||I(10)((function(){var _={},E={},I=Symbol(),k="abcdefghijklmnopqrst";return _[I]=7,k.split("").forEach((function(_){E[_]=_})),7!=G({},_)[I]||Object.keys(G({},E)).join("")!=k}))?function(_,E){for(var I=$(_),G=arguments.length,W=1,q=N.f,U=L.f;G>W;)for(var H,ie=R(arguments[W++]),pe=q?k(ie).concat(q(ie)):k(ie),he=pe.length,de=0;he>de;)U.call(ie,H=pe[de++])&&(I[H]=ie[H]);return I}:G},function(_,E){E.f=Object.getOwnPropertySymbols},function(_,E,I){"use strict";function r(_,E,I){return E in _?Object.defineProperty(_,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):_[E]=I,_}I(21);var k=I(91),N=I(1),L=I(122),$=I(123),R=I(124),G=I(125),W=I(126),q=I(127),U=I(128),H=I(129),ie=I(130),pe=I(131),he=I(159),de=I(160);_.exports=Object.assign({},N,k,function(_){for(var E=1;E<arguments.length;E++){var I=null!=arguments[E]?arguments[E]:{},k=Object.keys(I);"function"==typeof Object.getOwnPropertySymbols&&(k=k.concat(Object.getOwnPropertySymbols(I).filter((function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})))),k.forEach((function(E){r(_,E,I[E])}))}return _}({},L,$,R,G,W,q,U,H,ie,pe,he,de))},function(_,E,I){"use strict";I(22),I(21),I(2),I(32),I(16);var k=I(45),N=I(0),L=I(1),s=function(_){var E=_.split("node_modules"+N.sep),I=E[E.length-1];return"@"===I.charAt(0)?[I.split(N.sep)[0],I.split(N.sep)[1]].join("/"):I.split(N.sep)[0]};_.exports={getnpmPackages:function(_,E){L.log("trace","getnpmPackages"),E||(E={});var I=null,k=null;return"string"==typeof _&&(_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?I=_:_=_.split(",")),Promise.all(["npmPackages",L.getPackageJsonByPath("package.json").then((function(_){return Object.assign({},(_||{}).devDependencies||{},(_||{}).dependencies||{})})).then((function(_){return k=_,E.fullTree||E.duplicates||I?L.getAllPackageJsonPaths(I):Promise.resolve(Object.keys(_||[]).map((function(_){return N.join("node_modules",_,"package.json")})))})).then((function(N){return!I&&"boolean"!=typeof _||E.fullTree?Array.isArray(_)?Promise.resolve((N||[]).filter((function(E){return _.includes(s(E))}))):Promise.resolve(N):Promise.resolve((N||[]).filter((function(_){return Object.keys(k||[]).includes(s(_))})))})).then((function(_){return Promise.all([_,Promise.all(_.map((function(_){return L.getPackageJsonByPath(_)})))])})).then((function(_){var I=_[0],N=_[1].reduce((function(_,k,N){return k&&k.name?(_[k.name]||(_[k.name]={}),E.duplicates&&(_[k.name].duplicates=L.uniq((_[k.name].duplicates||[]).concat(k.version))),1===(I[N].match(/node_modules/g)||[]).length&&(_[k.name].installed=k.version),_):_}),{});return Object.keys(N).forEach((function(_){N[_].duplicates&&N[_].installed&&(N[_].duplicates=N[_].duplicates.filter((function(E){return E!==N[_].installed}))),k[_]&&(N[_].wanted=k[_])})),N})).then((function(I){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){I[_]||(I[_]="Not Found")})),I})).then((function(_){return L.sortObject(_)}))])},getnpmGlobalPackages:function(_,E){L.log("trace","getnpmGlobalPackages",_);var I=null;return"string"==typeof _?_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?I=_:_=_.split(","):Array.isArray(_)||(_=!0),Promise.all(["npmGlobalPackages",L.run("npm get prefix --global").then((function(_){return new Promise((function(E,$){return k(N.join(_,L.isWindows?"":"lib","node_modules",I||"{*,@*/*}","package.json"),(function(_,I){_||E(I),$(_)}))}))})).then((function(E){return Promise.all(E.filter((function(E){return"boolean"==typeof _||null!==I||_.includes(s(E))})).map((function(_){return L.getPackageJsonByFullPath(_)})))})).then((function(_){return _.reduce((function(_,E){return E?Object.assign(_,{[E.name]:E.version}):_}),{})})).then((function(I){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){I[_]||(I[_]="Not Found")})),I}))])}}},function(_,E,I){var k=I(6),N=I(20),L=I(3)("match");_.exports=function(_){var E;return k(_)&&(void 0!==(E=_[L])?!!E:"RegExp"==N(_))}},function(_,E,I){var k=I(0),N="win32"===process.platform,L=I(5),$=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(_){return"function"==typeof _?_:function(){var _;if($){var E=new Error;_=function(_){_&&(E.message=_.message,n(_=E))}}else _=n;return _;function n(_){if(_){if(process.throwDeprecation)throw _;if(!process.noDeprecation){var E="fs: missing callback "+(_.stack||_.message);process.traceDeprecation?console.trace(E):console.error(E)}}}}()}k.normalize;if(N)var R=/(.*?)(?:[\/\\]+|$)/g;else R=/(.*?)(?:[\/]+|$)/g;if(N)var G=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else G=/^[\/]*/;E.realpathSync=function(_,E){if(_=k.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return E[_];var I,$,W,q,U=_,H={},ie={};function d(){var E=G.exec(_);I=E[0].length,$=E[0],W=E[0],q="",N&&!ie[W]&&(L.lstatSync(W),ie[W]=!0)}for(d();I<_.length;){R.lastIndex=I;var pe=R.exec(_);if(q=$,$+=pe[0],W=q+pe[1],I=R.lastIndex,!(ie[W]||E&&E[W]===W)){var he;if(E&&Object.prototype.hasOwnProperty.call(E,W))he=E[W];else{var de=L.lstatSync(W);if(!de.isSymbolicLink()){ie[W]=!0,E&&(E[W]=W);continue}var me=null;if(!N){var ge=de.dev.toString(32)+":"+de.ino.toString(32);H.hasOwnProperty(ge)&&(me=H[ge])}null===me&&(L.statSync(W),me=L.readlinkSync(W)),he=k.resolve(q,me),E&&(E[W]=he),N||(H[ge]=me)}_=k.resolve(he,_.slice(I)),d()}}return E&&(E[U]=_),_},E.realpath=function(_,E,I){if("function"!=typeof I&&(I=a(E),E=null),_=k.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return process.nextTick(I.bind(null,null,E[_]));var $,W,q,U,H=_,ie={},pe={};function g(){var E=G.exec(_);$=E[0].length,W=E[0],q=E[0],U="",N&&!pe[q]?L.lstat(q,(function(_){if(_)return I(_);pe[q]=!0,v()})):process.nextTick(v)}function v(){if($>=_.length)return E&&(E[H]=_),I(null,_);R.lastIndex=$;var k=R.exec(_);return U=W,W+=k[0],q=U+k[1],$=R.lastIndex,pe[q]||E&&E[q]===q?process.nextTick(v):E&&Object.prototype.hasOwnProperty.call(E,q)?w(E[q]):L.lstat(q,y)}function y(_,k){if(_)return I(_);if(!k.isSymbolicLink())return pe[q]=!0,E&&(E[q]=q),process.nextTick(v);if(!N){var $=k.dev.toString(32)+":"+k.ino.toString(32);if(ie.hasOwnProperty($))return b(null,ie[$],q)}L.stat(q,(function(_){if(_)return I(_);L.readlink(q,(function(_,E){N||(ie[$]=E),b(_,E)}))}))}function b(_,N,L){if(_)return I(_);var $=k.resolve(U,N);E&&(E[L]=$),w($)}function w(E){_=k.resolve(E,_.slice($)),g()}g()}},function(_,E,I){var k=I(95),N=I(96);_.exports=function(_){if(!_)return[];"{}"===_.substr(0,2)&&(_="\\{\\}"+_.substr(2));return function e(_,E){var I=[];var L=N("{","}",_);if(!L||/\$$/.test(L.pre))return[_];var $=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(L.body);var G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(L.body);var W=$||G;var q=L.body.indexOf(",")>=0;if(!W&&!q)return L.post.match(/,.*\}/)?(_=L.pre+"{"+L.body+R+L.post,e(_)):[_];var U;if(W)U=L.body.split(/\.\./);else if(1===(U=function e(_){if(!_)return[""];var E=[];var I=N("{","}",_);if(!I)return _.split(",");var k=I.pre;var L=I.body;var $=I.post;var R=k.split(",");R[R.length-1]+="{"+L+"}";var G=e($);$.length&&(R[R.length-1]+=G.shift(),R.push.apply(R,G));E.push.apply(E,R);return E}(L.body)).length&&1===(U=e(U[0],!1).map(p)).length){var H=L.post.length?e(L.post,!1):[""];return H.map((function(_){return L.pre+U[0]+_}))}var ie=L.pre;var H=L.post.length?e(L.post,!1):[""];var pe;if(W){var he=l(U[0]),de=l(U[1]),me=Math.max(U[0].length,U[1].length),ge=3==U.length?Math.abs(l(U[2])):1,ve=d,ye=de<he;ye&&(ge*=-1,ve=m);var be=U.some(h);pe=[];for(var we=he;ve(we,de);we+=ge){var xe;if(G)"\\"===(xe=String.fromCharCode(we))&&(xe="");else if(xe=String(we),be){var Se=me-xe.length;if(Se>0){var _e=new Array(Se+1).join("0");xe=we<0?"-"+_e+xe.slice(1):_e+xe}}pe.push(xe)}}else pe=k(U,(function(_){return e(_,!1)}));for(var Pe=0;Pe<pe.length;Pe++)for(var Oe=0;Oe<H.length;Oe++){var je=ie+pe[Pe]+H[Oe];(!E||W||je)&&I.push(je)}return I}(function(_){return _.split("\\\\").join(L).split("\\{").join($).split("\\}").join(R).split("\\,").join(G).split("\\.").join(W)}(_),!0).map(f)};var L="\0SLASH"+Math.random()+"\0",$="\0OPEN"+Math.random()+"\0",R="\0CLOSE"+Math.random()+"\0",G="\0COMMA"+Math.random()+"\0",W="\0PERIOD"+Math.random()+"\0";function l(_){return parseInt(_,10)==_?parseInt(_,10):_.charCodeAt(0)}function f(_){return _.split(L).join("\\").split($).join("{").split(R).join("}").split(G).join(",").split(W).join(".")}function p(_){return"{"+_+"}"}function h(_){return/^-?0\d/.test(_)}function d(_,E){return _<=E}function m(_,E){return _>=E}},function(_,E){_.exports=function(_,E){for(var k=[],N=0;N<_.length;N++){var L=E(_[N],N);I(L)?k.push.apply(k,L):k.push(L)}return k};var I=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)}},function(_,E,I){"use strict";function r(_,E,I){_ instanceof RegExp&&(_=o(_,I)),E instanceof RegExp&&(E=o(E,I));var k=i(_,E,I);return k&&{start:k[0],end:k[1],pre:I.slice(0,k[0]),body:I.slice(k[0]+_.length,k[1]),post:I.slice(k[1]+E.length)}}function o(_,E){var I=E.match(_);return I?I[0]:null}function i(_,E,I){var k,N,L,$,R,G=I.indexOf(_),W=I.indexOf(E,G+1),q=G;if(G>=0&&W>0){for(k=[],L=I.length;q>=0&&!R;)q==G?(k.push(q),G=I.indexOf(_,q+1)):1==k.length?R=[k.pop(),W]:((N=k.pop())<L&&(L=N,$=W),W=I.indexOf(E,q+1)),q=G<W&&G>=0?G:W;k.length&&(R=[L,$])}return R}_.exports=r,r.range=i},function(_,E,I){try{var k=I(30);if("function"!=typeof k.inherits)throw"";_.exports=k.inherits}catch(E){_.exports=I(98)}},function(_,E){"function"==typeof Object.create?_.exports=function(_,E){_.super_=E,_.prototype=Object.create(E.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}})}:_.exports=function(_,E){_.super_=E;var n=function(){};n.prototype=E.prototype,_.prototype=new n,_.prototype.constructor=_}},function(_,E,I){_.exports=d,d.GlobSync=m;var k=I(5),N=I(67),L=I(46),$=(L.Minimatch,I(45).Glob,I(30),I(0)),R=I(47),G=I(48),W=I(69),q=(W.alphasort,W.alphasorti,W.setopts),U=W.ownProp,H=W.childrenIgnored,ie=W.isIgnored;function d(_,E){if("function"==typeof E||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(_,E).found}function m(_,E){if(!_)throw new Error("must provide pattern");if("function"==typeof E||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(_,E);if(q(this,_,E),this.noprocess)return this;var I=this.minimatch.set.length;this.matches=new Array(I);for(var k=0;k<I;k++)this._process(this.minimatch.set[k],k,!1);this._finish()}m.prototype._finish=function(){if(R(this instanceof m),this.realpath){var _=this;this.matches.forEach((function(E,I){var k=_.matches[I]=Object.create(null);for(var L in E)try{L=_._makeAbs(L),k[N.realpathSync(L,_.realpathCache)]=!0}catch(E){if("stat"!==E.syscall)throw E;k[_._makeAbs(L)]=!0}}))}W.finish(this)},m.prototype._process=function(_,E,I){R(this instanceof m);for(var k,N=0;"string"==typeof _[N];)N++;switch(N){case _.length:return void this._processSimple(_.join("/"),E);case 0:k=null;break;default:k=_.slice(0,N).join("/")}var $,W=_.slice(N);null===k?$=".":G(k)||G(_.join("/"))?(k&&G(k)||(k="/"+k),$=k):$=k;var q=this._makeAbs($);H(this,$)||(W[0]===L.GLOBSTAR?this._processGlobStar(k,$,q,W,E,I):this._processReaddir(k,$,q,W,E,I))},m.prototype._processReaddir=function(_,E,I,k,N,L){var R=this._readdir(I,L);if(R){for(var G=k[0],W=!!this.minimatch.negate,q=G._glob,U=this.dot||"."===q.charAt(0),H=[],ie=0;ie<R.length;ie++){if("."!==(de=R[ie]).charAt(0)||U)(W&&!_?!de.match(G):de.match(G))&&H.push(de)}var pe=H.length;if(0!==pe)if(1!==k.length||this.mark||this.stat){k.shift();for(ie=0;ie<pe;ie++){var he;de=H[ie];he=_?[_,de]:[de],this._process(he.concat(k),N,L)}}else{this.matches[N]||(this.matches[N]=Object.create(null));for(var ie=0;ie<pe;ie++){var de=H[ie];_&&(de="/"!==_.slice(-1)?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=$.join(this.root,de)),this._emitMatch(N,de)}}}},m.prototype._emitMatch=function(_,E){if(!ie(this,E)){var I=this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=I),!this.matches[_][E]){if(this.nodir){var k=this.cache[I];if("DIR"===k||Array.isArray(k))return}this.matches[_][E]=!0,this.stat&&this._stat(E)}}},m.prototype._readdirInGlobStar=function(_){if(this.follow)return this._readdir(_,!1);var E,I;try{I=k.lstatSync(_)}catch(_){if("ENOENT"===_.code)return null}var N=I&&I.isSymbolicLink();return this.symlinks[_]=N,N||!I||I.isDirectory()?E=this._readdir(_,!1):this.cache[_]="FILE",E},m.prototype._readdir=function(_,E){if(E&&!U(this.symlinks,_))return this._readdirInGlobStar(_);if(U(this.cache,_)){var I=this.cache[_];if(!I||"FILE"===I)return null;if(Array.isArray(I))return I}try{return this._readdirEntries(_,k.readdirSync(_))}catch(E){return this._readdirError(_,E),null}},m.prototype._readdirEntries=function(_,E){if(!this.mark&&!this.stat)for(var I=0;I<E.length;I++){var k=E[I];k="/"===_?_+k:_+"/"+k,this.cache[k]=!0}return this.cache[_]=E,E},m.prototype._readdirError=function(_,E){switch(E.code){case"ENOTSUP":case"ENOTDIR":var I=this._makeAbs(_);if(this.cache[I]="FILE",I===this.cwdAbs){var k=new Error(E.code+" invalid cwd "+this.cwd);throw k.path=this.cwd,k.code=E.code,k}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:if(this.cache[this._makeAbs(_)]=!1,this.strict)throw E;this.silent||console.error("glob error",E)}},m.prototype._processGlobStar=function(_,E,I,k,N,L){var $=this._readdir(I,L);if($){var R=k.slice(1),G=_?[_]:[],W=G.concat(R);this._process(W,N,!1);var q=$.length;if(!this.symlinks[I]||!L)for(var U=0;U<q;U++){if("."!==$[U].charAt(0)||this.dot){var H=G.concat($[U],R);this._process(H,N,!0);var ie=G.concat($[U],k);this._process(ie,N,!0)}}}},m.prototype._processSimple=function(_,E){var I=this._stat(_);if(this.matches[E]||(this.matches[E]=Object.create(null)),I){if(_&&G(_)&&!this.nomount){var k=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=$.join(this.root,_):(_=$.resolve(this.root,_),k&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_)}},m.prototype._stat=function(_){var E=this._makeAbs(_),I="/"===_.slice(-1);if(_.length>this.maxLength)return!1;if(!this.stat&&U(this.cache,E)){var N=this.cache[E];if(Array.isArray(N)&&(N="DIR"),!I||"DIR"===N)return N;if(I&&"FILE"===N)return!1}var L=this.statCache[E];if(!L){var $;try{$=k.lstatSync(E)}catch(_){if(_&&("ENOENT"===_.code||"ENOTDIR"===_.code))return this.statCache[E]=!1,!1}if($&&$.isSymbolicLink())try{L=k.statSync(E)}catch(_){L=$}else L=$}this.statCache[E]=L;N=!0;return L&&(N=L.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||N,(!I||"FILE"!==N)&&N},m.prototype._mark=function(_){return W.mark(this,_)},m.prototype._makeAbs=function(_){return W.makeAbs(this,_)}},function(_,E,I){var k=I(70),N=Object.create(null),L=I(31);_.exports=k((function(_,E){return N[_]?(N[_].push(E),null):(N[_]=[E],function(_){return L((function t(){var E=N[_],I=E.length,k=function(_){for(var E=_.length,I=[],k=0;k<E;k++)I[k]=_[k];return I}(arguments);try{for(var L=0;L<I;L++)E[L].apply(null,k)}finally{E.length>I?(E.splice(0,I),process.nextTick((function(){t.apply(null,k)}))):delete N[_]}}))}(_))}))},function(_,E,I){"use strict";var k=I(8),N=I(19),L=I(29),$=I(10),R=[].sort,G=[1,2,3];k(k.P+k.F*($((function(){G.sort(void 0)}))||!$((function(){G.sort(null)}))||!I(102)(R)),"Array",{sort:function(_){return void 0===_?R.call(L(this)):R.call(L(this),N(_))}})},function(_,E,I){"use strict";var k=I(10);_.exports=function(_,E){return!!_&&k((function(){E?_.call(null,(function(){}),1):_.call(null)}))}},function(_,E,I){"use strict";var k=I(104),N=I(73);_.exports=I(110)("Set",(function(_){return function(){return _(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(_){return k.def(N(this,"Set"),_=0===_?0:_,_)}},k)},function(_,E,I){"use strict";var k=I(11).f,N=I(71),L=I(40),$=I(12),R=I(37),G=I(38),W=I(106),q=I(109),U=I(63),H=I(9),ie=I(72).fastKey,pe=I(73),he=H?"_s":"size",g=function(_,E){var I,k=ie(E);if("F"!==k)return _._i[k];for(I=_._f;I;I=I.n)if(I.k==E)return I};_.exports={getConstructor:function(_,E,I,W){var q=_((function(_,k){R(_,q,E,"_i"),_._t=E,_._i=N(null),_._f=void 0,_._l=void 0,_[he]=0,null!=k&&G(k,I,_[W],_)}));return L(q.prototype,{clear:function(){for(var _=pe(this,E),I=_._i,k=_._f;k;k=k.n)k.r=!0,k.p&&(k.p=k.p.n=void 0),delete I[k.i];_._f=_._l=void 0,_[he]=0},delete:function(_){var I=pe(this,E),k=g(I,_);if(k){var N=k.n,L=k.p;delete I._i[k.i],k.r=!0,L&&(L.n=N),N&&(N.p=L),I._f==k&&(I._f=N),I._l==k&&(I._l=L),I[he]--}return!!k},forEach:function(_){pe(this,E);for(var I,k=$(_,arguments.length>1?arguments[1]:void 0,3);I=I?I.n:this._f;)for(k(I.v,I.k,this);I&&I.r;)I=I.p},has:function(_){return!!g(pe(this,E),_)}}),H&&k(q.prototype,"size",{get:function(){return pe(this,E)[he]}}),q},def:function(_,E,I){var k,N,L=g(_,E);return L?L.v=I:(_._l=L={i:N=ie(E,!0),k:E,v:I,p:k=_._l,n:void 0,r:!1},_._f||(_._f=L),k&&(k.n=L),_[he]++,"F"!==N&&(_._i[N]=L)),_},getEntry:g,setStrong:function(_,E,I){W(_,E,(function(_,I){this._t=pe(_,E),this._k=I,this._l=void 0}),(function(){for(var _=this._k,E=this._l;E&&E.r;)E=E.p;return this._t&&(this._l=E=E?E.n:this._t._f)?q(0,"keys"==_?E.k:"values"==_?E.v:[E.k,E.v]):(this._t=void 0,q(1))}),I?"entries":"values",!I,!0),U(E)}}},function(_,E,I){var k=I(11),N=I(7),L=I(42);_.exports=I(9)?Object.defineProperties:function(_,E){N(_);for(var I,$=L(E),R=$.length,G=0;R>G;)k.f(_,I=$[G++],E[I]);return _}},function(_,E,I){"use strict";var k=I(36),N=I(8),L=I(14),$=I(13),R=I(39),G=I(107),W=I(26),q=I(108),U=I(3)("iterator"),H=!([].keys&&"next"in[].keys()),h=function(){return this};_.exports=function(_,E,I,ie,pe,he,de){G(I,E,ie);var me,ge,ve,x=function(_){if(!H&&_ in xe)return xe[_];switch(_){case"keys":case"values":return function(){return new I(this,_)}}return function(){return new I(this,_)}},ye=E+" Iterator",be="values"==pe,we=!1,xe=_.prototype,Se=xe[U]||xe["@@iterator"]||pe&&xe[pe],_e=Se||x(pe),Pe=pe?be?x("entries"):_e:void 0,Oe="Array"==E&&xe.entries||Se;if(Oe&&(ve=q(Oe.call(new _)))!==Object.prototype&&ve.next&&(W(ve,ye,!0),k||"function"==typeof ve[U]||$(ve,U,h)),be&&Se&&"values"!==Se.name&&(we=!0,_e=function(){return Se.call(this)}),k&&!de||!H&&!we&&xe[U]||$(xe,U,_e),R[E]=_e,R[ye]=h,pe)if(me={values:be?_e:x("values"),keys:he?_e:x("keys"),entries:Pe},de)for(ge in me)ge in xe||L(xe,ge,me[ge]);else N(N.P+N.F*(H||we),E,me);return me}},function(_,E,I){"use strict";var k=I(71),N=I(23),L=I(26),$={};I(13)($,I(3)("iterator"),(function(){return this})),_.exports=function(_,E,I){_.prototype=k($,{next:N(1,I)}),L(_,E+" Iterator")}},function(_,E,I){var k=I(15),N=I(29),L=I(43)("IE_PROTO"),$=Object.prototype;_.exports=Object.getPrototypeOf||function(_){return _=N(_),k(_,L)?_[L]:"function"==typeof _.constructor&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?$:null}},function(_,E){_.exports=function(_,E){return{value:E,done:!!_}}},function(_,E,I){"use strict";var k=I(4),N=I(8),L=I(14),$=I(40),R=I(72),G=I(38),W=I(37),q=I(6),U=I(10),H=I(41),ie=I(26),pe=I(111);_.exports=function(_,E,I,he,de,me){var ge=k[_],ve=ge,ye=de?"set":"add",be=ve&&ve.prototype,we={},P=function(_){var E=be[_];L(be,_,"delete"==_?function(_){return!(me&&!q(_))&&E.call(this,0===_?0:_)}:"has"==_?function(_){return!(me&&!q(_))&&E.call(this,0===_?0:_)}:"get"==_?function(_){return me&&!q(_)?void 0:E.call(this,0===_?0:_)}:"add"==_?function(_){return E.call(this,0===_?0:_),this}:function(_,I){return E.call(this,0===_?0:_,I),this})};if("function"==typeof ve&&(me||be.forEach&&!U((function(){(new ve).entries().next()})))){var xe=new ve,Se=xe[ye](me?{}:-0,1)!=xe,_e=U((function(){xe.has(1)})),Pe=H((function(_){new ve(_)})),Oe=!me&&U((function(){for(var _=new ve,E=5;E--;)_[ye](E,E);return!_.has(-0)}));Pe||((ve=E((function(E,I){W(E,ve,_);var k=pe(new ge,E,ve);return null!=I&&G(I,de,k[ye],k),k}))).prototype=be,be.constructor=ve),(_e||Oe)&&(P("delete"),P("has"),de&&P("get")),(Oe||Se)&&P(ye),me&&be.clear&&delete be.clear}else ve=he.getConstructor(E,_,de,ye),$(ve.prototype,I),R.NEED=!0;return ie(ve,_),we[_]=ve,N(N.G+N.W+N.F*(ve!=ge),we),me||he.setStrong(ve,_,de),ve}},function(_,E,I){var k=I(6),N=I(112).set;_.exports=function(_,E,I){var L,$=E.constructor;return $!==I&&"function"==typeof $&&(L=$.prototype)!==I.prototype&&k(L)&&N&&N(_,L),_}},function(_,E,I){var k=I(6),N=I(7),i=function(_,E){if(N(_),!k(E)&&null!==E)throw TypeError(E+": can't set as prototype!")};_.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(_,E,k){try{(k=I(12)(Function.call,I(113).f(Object.prototype,"__proto__").set,2))(_,[]),E=!(_ instanceof Array)}catch(_){E=!0}return function(_,I){return i(_,I),E?_.__proto__=I:k(_,I),_}}({},!1):void 0),check:i}},function(_,E,I){var k=I(44),N=I(23),L=I(25),$=I(51),R=I(15),G=I(50),W=Object.getOwnPropertyDescriptor;E.f=I(9)?W:function(_,E){if(_=L(_),E=$(E,!0),G)try{return W(_,E)}catch(_){}if(R(_,E))return N(!k.f.call(_,E),_[E])}},function(_,E,I){"use strict";var k=I(12),N=I(8),L=I(29),$=I(57),R=I(58),G=I(35),W=I(115),q=I(59);N(N.S+N.F*!I(41)((function(_){Array.from(_)})),"Array",{from:function(_){var E,I,N,U,H=L(_),ie="function"==typeof this?this:Array,pe=arguments.length,he=pe>1?arguments[1]:void 0,de=void 0!==he,me=0,ge=q(H);if(de&&(he=k(he,pe>2?arguments[2]:void 0,2)),null==ge||ie==Array&&R(ge))for(I=new ie(E=G(H.length));E>me;me++)W(I,me,de?he(H[me],me):H[me]);else for(U=ge.call(H),I=new ie;!(N=U.next()).done;me++)W(I,me,de?$(U,he,[N.value,me],!0):N.value);return I.length=me,I}})},function(_,E,I){"use strict";var k=I(11),N=I(23);_.exports=function(_,E,I){E in _?k.f(_,E,N(0,I)):_[E]=I}},function(_,E,I){"use strict";I(117);var k=I(7),N=I(75),L=I(9),$=/./.toString,a=function(_){I(14)(RegExp.prototype,"toString",_,!0)};I(10)((function(){return"/a/b"!=$.call({source:"a",flags:"b"})}))?a((function(){var _=k(this);return"/".concat(_.source,"/","flags"in _?_.flags:!L&&_ instanceof RegExp?N.call(_):void 0)})):"toString"!=$.name&&a((function(){return $.call(this)}))},function(_,E,I){I(9)&&"g"!=/./g.flags&&I(11).f(RegExp.prototype,"flags",{configurable:!0,get:I(75)})},function(_,E,I){var k;I(5);function o(_,E,I){if("function"==typeof E&&(I=E,E={}),!I){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(I,k){o(_,E||{},(function(_,E){_?k(_):I(E)}))}))}k(_,E||{},(function(_,k){_&&("EACCES"===_.code||E&&E.ignoreErrors)&&(_=null,k=!1),I(_,k)}))}k="win32"===process.platform||global.TESTING_WINDOWS?I(119):I(120),_.exports=o,o.sync=function(_,E){try{return k.sync(_,E||{})}catch(_){if(E&&E.ignoreErrors||"EACCES"===_.code)return!1;throw _}}},function(_,E,I){_.exports=i,i.sync=function(_,E){return o(k.statSync(_),_,E)};var k=I(5);function o(_,E,I){return!(!_.isSymbolicLink()&&!_.isFile())&&function(_,E){var I=void 0!==E.pathExt?E.pathExt:process.env.PATHEXT;if(!I)return!0;if(-1!==(I=I.split(";")).indexOf(""))return!0;for(var k=0;k<I.length;k++){var N=I[k].toLowerCase();if(N&&_.substr(-N.length).toLowerCase()===N)return!0}return!1}(E,I)}function i(_,E,I){k.stat(_,(function(k,N){I(k,!k&&o(N,_,E))}))}},function(_,E,I){_.exports=o,o.sync=function(_,E){return i(k.statSync(_),E)};var k=I(5);function o(_,E,I){k.stat(_,(function(_,k){I(_,!_&&i(k,E))}))}function i(_,E){return _.isFile()&&function(_,E){var I=_.mode,k=_.uid,N=_.gid,L=void 0!==E.uid?E.uid:process.getuid&&process.getuid(),$=void 0!==E.gid?E.gid:process.getgid&&process.getgid(),R=parseInt("100",8),G=parseInt("010",8),W=parseInt("001",8),q=R|G;return I&W||I&G&&N===$||I&R&&k===L||I&q&&0===L}(_,E)}},function(_,E,I){"use strict";_.exports={androidSystemImages:/system-images;([\S \t]+)/g,androidAPILevels:/platforms;android-(\d+)[\S\s]/g,androidBuildTools:/build-tools;([\d|.]+)[\S\s]/g}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getNodeInfo:function(){return k.log("trace","getNodeInfo"),Promise.all([k.isWindows?k.run("node -v").then(k.findVersion):k.which("node").then((function(_){return _?k.run(_+" -v"):Promise.resolve("")})).then(k.findVersion),k.which("node").then(k.condensePath)]).then((function(_){return k.determineFound("Node",_[0],_[1])}))},getnpmInfo:function(){return k.log("trace","getnpmInfo"),Promise.all([k.run("npm -v"),k.which("npm").then(k.condensePath)]).then((function(_){return k.determineFound("npm",_[0],_[1])}))},getWatchmanInfo:function(){return k.log("trace","getWatchmanInfo"),Promise.all([k.which("watchman").then((function(_){return _?k.run(_+" -v"):void 0})),k.which("watchman")]).then((function(_){return k.determineFound("Watchman",_[0],_[1])}))},getYarnInfo:function(){return k.log("trace","getYarnInfo"),Promise.all([k.run("yarn -v"),k.which("yarn").then(k.condensePath)]).then((function(_){return k.determineFound("Yarn",_[0],_[1])}))}}},function(_,E,I){"use strict";I(16),I(2),I(27);var k=I(5),N=I(17),L=I(1),$=I(0);_.exports={getBraveBrowserInfo:function(){return L.log("trace","getBraveBrowser"),(L.isLinux?L.run("brave --version || brave-browser --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Brave Browser"]).then(L.findVersion):Promise.resolve("N/A")).then((function(_){return L.determineFound("Brave Browser",_,"N/A")}))},getChromeInfo:function(){var _;if(L.log("trace","getChromeInfo"),L.isLinux)_=L.run("google-chrome --version").then((function(_){return _.replace(" dev","").replace(/^.* ([^ ]*)/g,"$1")}));else if(L.isMacOS)_=L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Chrome).then(L.findVersion);else if(L.isWindows){var E;try{E=L.findVersion(k.readdirSync($.join(process.env["ProgramFiles(x86)"],"Google/Chrome/Application")).join("\n"))}catch(_){E=L.NotFound}_=Promise.resolve(E)}else _=Promise.resolve("N/A");return _.then((function(_){return L.determineFound("Chrome",_,"N/A")}))},getChromeCanaryInfo:function(){return L.log("trace","getChromeCanaryInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Chrome Canary"]).then((function(_){return L.determineFound("Chrome Canary",_,"N/A")}))},getChromiumInfo:function(){return L.log("trace","getChromiumInfo"),(L.isLinux?L.run("chromium --version").then(L.findVersion):Promise.resolve("N/A")).then((function(_){return L.determineFound("Chromium",_,"N/A")}))},getEdgeInfo:function(){var _;if(L.log("trace","getEdgeInfo"),L.isWindows&&"10"===N.release().split(".")[0]){var E={Spartan:"Microsoft.MicrosoftEdge",Chromium:"Microsoft.MicrosoftEdge.Stable",ChromiumDev:"Microsoft.MicrosoftEdge.Dev"};_=Promise.all(Object.keys(E).map((function(_){return function(_,E){return L.run(`powershell get-appxpackage ${_}`).then((function(_){if(""!==L.findVersion(_))return`${E} (${L.findVersion(_)})`}))}(E[_],_)})).filter((function(_){return void 0!==_})))}else{if(!L.isMacOS)return Promise.resolve("N/A");_=L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Microsoft Edge"])}return _.then((function(_){return L.determineFound("Edge",Array.isArray(_)?_.filter((function(_){return void 0!==_})):_,L.NA)}))},getFirefoxInfo:function(){return L.log("trace","getFirefoxInfo"),(L.isLinux?L.run("firefox --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Firefox):Promise.resolve("N/A")).then((function(_){return L.determineFound("Firefox",_,"N/A")}))},getFirefoxDeveloperEditionInfo:function(){return L.log("trace","getFirefoxDeveloperEditionInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Firefox Developer Edition"]).then((function(_){return L.determineFound("Firefox Developer Edition",_,"N/A")}))},getFirefoxNightlyInfo:function(){return L.log("trace","getFirefoxNightlyInfo"),(L.isLinux?L.run("firefox-trunk --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Firefox Nightly"]):Promise.resolve("N/A")).then((function(_){return L.determineFound("Firefox Nightly",_,"N/A")}))},getInternetExplorerInfo:function(){var _;if(L.log("trace","getInternetExplorerInfo"),L.isWindows){var E=[process.env.SYSTEMDRIVE||"C:","Program Files","Internet Explorer","iexplore.exe"].join("\\\\");_=L.run(`wmic datafile where "name='${E}'" get Version`).then(L.findVersion)}else _=Promise.resolve("N/A");return _.then((function(_){return L.determineFound("Internet Explorer",_,"N/A")}))},getSafariTechnologyPreviewInfo:function(){return L.log("trace","getSafariTechnologyPreviewInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Safari Technology Preview"]).then((function(_){return L.determineFound("Safari Technology Preview",_,"N/A")}))},getSafariInfo:function(){return L.log("trace","getSafariInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Safari).then((function(_){return L.determineFound("Safari",_,"N/A")}))}}},function(_,E,I){"use strict";I(32),I(2);var k=I(1);_.exports={getMongoDBInfo:function(){return k.log("trace","getMongoDBInfo"),Promise.all([k.run("mongo --version").then(k.findVersion),k.which("mongo")]).then((function(_){return k.determineFound("MongoDB",_[0],_[1])}))},getMySQLInfo:function(){return k.log("trace","getMySQLInfo"),Promise.all([k.run("mysql --version").then((function(_){return`${k.findVersion(_,null,1)}${_.includes("MariaDB")?" (MariaDB)":""}`})),k.which("mysql")]).then((function(_){return k.determineFound("MySQL",_[0],_[1])}))},getPostgreSQLInfo:function(){return k.log("trace","getPostgreSQLInfo"),Promise.all([k.run("postgres --version").then(k.findVersion),k.which("postgres")]).then((function(_){return k.determineFound("PostgreSQL",_[0],_[1])}))},getSQLiteInfo:function(){return k.log("trace","getSQLiteInfo"),Promise.all([k.run("sqlite3 --version").then(k.findVersion),k.which("sqlite3")]).then((function(_){return k.determineFound("SQLite",_[0],_[1])}))}}},function(_,E,I){"use strict";I(27),I(16),I(2);var k=I(0),N=I(1);_.exports={getAndroidStudioInfo:function(){var _=Promise.resolve("N/A");return N.isMacOS?_=N.run(N.generatePlistBuddyCommand(k.join("/","Applications","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"])).then((function(_){return _||N.run(N.generatePlistBuddyCommand(k.join("~","Applications","JetBrains\\ Toolbox","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"]))})).then((function(_){return _.split("\n").join(" ")})):N.isLinux?_=Promise.all([N.run('cat /opt/android-studio/bin/studio.sh | grep "$Home/.AndroidStudio" | head -1').then(N.findVersion),N.run("cat /opt/android-studio/build.txt")]).then((function(_){return`${_[0]} ${_[1]}`.trim()||N.NotFound})):N.isWindows&&(_=Promise.all([N.run('wmic datafile where name="C:\\\\Program Files\\\\Android\\\\Android Studio\\\\bin\\\\studio.exe" get Version').then((function(_){return _.replace(/(\r\n|\n|\r)/gm,"")})),N.run('type "C:\\\\Program Files\\\\Android\\\\Android Studio\\\\build.txt"').then((function(_){return _.replace(/(\r\n|\n|\r)/gm,"")}))]).then((function(_){return`${_[0]} ${_[1]}`.trim()||N.NotFound}))),_.then((function(_){return N.determineFound("Android Studio",_)}))},getAtomInfo:function(){return N.log("trace","getAtomInfo"),Promise.all([N.getDarwinApplicationVersion(N.ideBundleIdentifiers.Atom),"N/A"]).then((function(_){return N.determineFound("Atom",_[0],_[1])}))},getEmacsInfo:function(){return N.log("trace","getEmacsInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("emacs --version").then(N.findVersion),N.run("which emacs")]).then((function(_){return N.determineFound("Emacs",_[0],_[1])})):Promise.resolve(["Emacs","N/A"])},getIntelliJInfo:function(){return N.log("trace","getIntelliJInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.IntelliJ).then((function(_){return N.determineFound("IntelliJ",_)}))},getNanoInfo:function(){return N.log("trace","getNanoInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("nano --version").then(N.findVersion),N.run("which nano")]).then((function(_){return N.determineFound("Nano",_[0],_[1])})):Promise.resolve(["Nano","N/A"])},getNvimInfo:function(){return N.log("trace","getNvimInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("nvim --version").then(N.findVersion),N.run("which nvim")]).then((function(_){return N.determineFound("Nvim",_[0],_[1])})):Promise.resolve(["Vim","N/A"])},getPhpStormInfo:function(){return N.log("trace","getPhpStormInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.PhpStorm).then((function(_){return N.determineFound("PhpStorm",_)}))},getSublimeTextInfo:function(){return N.log("trace","getSublimeTextInfo"),Promise.all([N.run("subl --version").then((function(_){return N.findVersion(_,/\d+/)})),N.which("subl")]).then((function(_){return""===_[0]&&N.isMacOS?(N.log("trace","getSublimeTextInfo using plist"),Promise.all([N.getDarwinApplicationVersion(N.ideBundleIdentifiers["Sublime Text"]),"N/A"])):_})).then((function(_){return N.determineFound("Sublime Text",_[0],_[1])}))},getVimInfo:function(){return N.log("trace","getVimInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("vim --version").then(N.findVersion),N.run("which vim")]).then((function(_){return N.determineFound("Vim",_[0],_[1])})):Promise.resolve(["Vim","N/A"])},getVSCodeInfo:function(){return N.log("trace","getVSCodeInfo"),Promise.all([N.run("code --version").then(N.findVersion),N.which("code")]).then((function(_){return N.determineFound("VSCode",_[0],_[1])}))},getVisualStudioInfo:function(){return N.log("trace","getVisualStudioInfo"),N.isWindows?N.run(`"${process.env["ProgramFiles(x86)"]}/Microsoft Visual Studio/Installer/vswhere.exe" -format json -prerelease`).then((function(_){var E=JSON.parse(_).map((function(_){return{Version:_.installationVersion,DisplayName:_.displayName}}));return N.determineFound("Visual Studio",E.map((function(_){return`${_.Version} (${_.DisplayName})`})))})).catch((function(){return Promise.resolve(["Visual Studio",N.NotFound])})):Promise.resolve(["Visual Studio",N.NA])},getWebStormInfo:function(){return N.log("trace","getWebStormInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.WebStorm).then((function(_){return N.determineFound("WebStorm",_)}))},getXcodeInfo:function(){return N.log("trace","getXcodeInfo"),N.isMacOS?Promise.all([N.which("xcodebuild").then((function(_){return N.run(_+" -version")})).then((function(_){return`${N.findVersion(_)}/${_.split("Build version ")[1]}`})),N.which("xcodebuild")]).then((function(_){return N.determineFound("Xcode",_[0],_[1])})):Promise.resolve(["Xcode","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getBashInfo:function(){return k.log("trace","getBashInfo"),Promise.all([k.run("bash --version").then(k.findVersion),k.which("bash")]).then((function(_){return k.determineFound("Bash",_[0],_[1])}))},getElixirInfo:function(){return k.log("trace","getElixirInfo"),Promise.all([k.run("elixir --version").then((function(_){return k.findVersion(_,/[Elixir]+\s([\d+.[\d+|.]+)/,1)})),k.which("elixir")]).then((function(_){return Promise.resolve(k.determineFound("Elixir",_[0],_[1]))}))},getErlangInfo:function(){return k.log("trace","getErlangInfo"),Promise.all([k.run("erl -eval \"{ok, Version} = file:read_file(filename:join([code:root_dir(), 'releases', erlang:system_info(otp_release), 'OTP_VERSION'])), io:fwrite(Version), halt().\" -noshell").then(k.findVersion),k.which("erl")]).then((function(_){return Promise.resolve(k.determineFound("Erlang",_[0],_[1]))}))},getGoInfo:function(){return k.log("trace","getGoInfo"),Promise.all([k.run("go version").then(k.findVersion),k.which("go")]).then((function(_){return k.determineFound("Go",_[0],_[1])}))},getJavaInfo:function(){return k.log("trace","getJavaInfo"),Promise.all([k.run("javac -version",{unify:!0}).then((function(_){return k.findVersion(_,/\d+\.[\w+|.|_|-]+/)})),k.run("which javac")]).then((function(_){return k.determineFound("Java",_[0],_[1])}))},getPerlInfo:function(){return k.log("trace","getPerlInfo"),Promise.all([k.run("perl -v").then(k.findVersion),k.which("perl")]).then((function(_){return k.determineFound("Perl",_[0],_[1])}))},getPHPInfo:function(){return k.log("trace","getPHPInfo"),Promise.all([k.run("php -v").then(k.findVersion),k.which("php")]).then((function(_){return k.determineFound("PHP",_[0],_[1])}))},getProtocInfo:function(){return k.log("trace","getProtocInfo"),Promise.all([k.run("protoc --version").then(k.findVersion),k.run("which protoc")]).then((function(_){return k.determineFound("Protoc",_[0],_[1])}))},getPythonInfo:function(){return k.log("trace","getPythonInfo"),Promise.all([k.run("python -V 2>&1").then(k.findVersion),k.run("which python")]).then((function(_){return k.determineFound("Python",_[0],_[1])}))},getPython3Info:function(){return k.log("trace","getPython3Info"),Promise.all([k.run("python3 -V 2>&1").then(k.findVersion),k.run("which python3")]).then((function(_){return k.determineFound("Python3",_[0],_[1])}))},getRInfo:function(){return k.log("trace","getRInfo"),Promise.all([k.run("R --version",{unify:!0}).then(k.findVersion),k.which("R")]).then((function(_){return k.determineFound("R",_[0],_[1])}))},getRubyInfo:function(){return k.log("trace","getRubyInfo"),Promise.all([k.run("ruby -v").then(k.findVersion),k.which("ruby")]).then((function(_){return k.determineFound("Ruby",_[0],_[1])}))},getRustInfo:function(){return k.log("trace","getRustInfo"),Promise.all([k.run("rustc --version").then(k.findVersion),k.run("which rustc")]).then((function(_){return k.determineFound("Rust",_[0],_[1])}))},getScalaInfo:function(){return k.log("trace","getScalaInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("scalac -version").then(k.findVersion),k.run("which scalac")]).then((function(_){return k.determineFound("Scala",_[0],_[1])})):Promise.resolve(["Scala","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getAptInfo:function(){return k.log("trace","getAptInfo"),k.isLinux?Promise.all([k.run("apt --version").then(k.findVersion),k.which("apt")]).then((function(_){return k.determineFound("Apt",_[0],_[1])})):Promise.all(["Apt","N/A"])},getCargoInfo:function(){return k.log("trace","getCargoInfo"),Promise.all([k.run("cargo --version").then(k.findVersion),k.which("cargo").then(k.condensePath)]).then((function(_){return k.determineFound("Cargo",_[0],_[1])}))},getCocoaPodsInfo:function(){return k.log("trace","getCocoaPodsInfo"),k.isMacOS?Promise.all([k.run("pod --version").then(k.findVersion),k.which("pod")]).then((function(_){return k.determineFound("CocoaPods",_[0],_[1])})):Promise.all(["CocoaPods","N/A"])},getComposerInfo:function(){return k.log("trace","getComposerInfo"),Promise.all([k.run("composer --version").then(k.findVersion),k.which("composer").then(k.condensePath)]).then((function(_){return k.determineFound("Composer",_[0],_[1])}))},getGradleInfo:function(){return k.log("trace","getGradleInfo"),Promise.all([k.run("gradle --version").then(k.findVersion),k.which("gradle").then(k.condensePath)]).then((function(_){return k.determineFound("Gradle",_[0],_[1])}))},getHomebrewInfo:function(){return k.log("trace","getHomebrewInfo"),k.isMacOS?Promise.all([k.run("brew --version").then(k.findVersion),k.which("brew")]).then((function(_){return k.determineFound("Homebrew",_[0],_[1])})):Promise.all(["Homebrew","N/A"])},getMavenInfo:function(){return k.log("trace","getMavenInfo"),Promise.all([k.run("mvn --version").then(k.findVersion),k.which("mvn").then(k.condensePath)]).then((function(_){return k.determineFound("Maven",_[0],_[1])}))},getpip2Info:function(){return k.log("trace","getpip2Info"),Promise.all([k.run("pip2 --version").then(k.findVersion),k.which("pip2").then(k.condensePath)]).then((function(_){return k.determineFound("pip2",_[0],_[1])}))},getpip3Info:function(){return k.log("trace","getpip3Info"),Promise.all([k.run("pip3 --version").then(k.findVersion),k.which("pip3").then(k.condensePath)]).then((function(_){return k.determineFound("pip3",_[0],_[1])}))},getRubyGemsInfo:function(){return k.log("trace","getRubyGemsInfo"),Promise.all([k.run("gem --version").then(k.findVersion),k.which("gem")]).then((function(_){return k.determineFound("RubyGems",_[0],_[1])}))},getYumInfo:function(){return k.log("trace","getYumInfo"),k.isLinux?Promise.all([k.run("yum --version").then(k.findVersion),k.which("yum")]).then((function(_){return k.determineFound("Yum",_[0],_[1])})):Promise.all(["Yum","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1),N=I(0);_.exports={getYarnWorkspacesInfo:function(){return k.log("trace","getYarnWorkspacesInfo"),Promise.all([k.run("yarn -v"),k.getPackageJsonByPath("package.json").then((function(_){return _&&"workspaces"in _}))]).then((function(_){var E="Yarn Workspaces";return _[0]&&_[1]?Promise.resolve([E,_[0]]):Promise.resolve([E,"Not Found"])}))},getLernaInfo:function(){return k.log("trace","getLernaInfo"),Promise.all([k.getPackageJsonByName("lerna").then((function(_){return _&&_.version})),k.fileExists(N.join(process.cwd(),"lerna.json"))]).then((function(_){return _[0]&&_[1]?Promise.resolve(["Lerna",_[0]]):Promise.resolve(["Lerna","Not Found"])}))}}},function(_,E,I){"use strict";I(22),I(2),I(16);var k=I(5),N=I(0),L=I(1);_.exports={getAndroidSDKInfo:function(){return L.run("sdkmanager --list").then((function(_){return!_&&process.env.ANDROID_HOME?L.run(`${process.env.ANDROID_HOME}/tools/bin/sdkmanager --list`):_})).then((function(_){return!_&&process.env.ANDROID_HOME?L.run(`${process.env.ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --list`):_})).then((function(_){return!_&&L.isMacOS?L.run("~/Library/Android/sdk/tools/bin/sdkmanager --list"):_})).then((function(_){var E=L.parseSDKManagerOutput(_),n=function(_){var E,I=N.join(_,"source.properties");try{E=k.readFileSync(I,"utf8")}catch(_){if("ENOENT"===_.code)return;throw _}for(var L=E.split("\n"),$=0;$<L.length;$+=1){var R=L[$].split("=");if(2===R.length&&"Pkg.Revision"===R[0].trim())return R[1].trim()}},I=process.env.ANDROID_NDK?n(process.env.ANDROID_NDK):process.env.ANDROID_NDK_HOME?n(process.env.ANDROID_NDK_HOME):process.env.ANDROID_HOME?n(N.join(process.env.ANDROID_HOME,"ndk-bundle")):void 0;return E.buildTools.length||E.apiLevels.length||E.systemImages.length||I?Promise.resolve(["Android SDK",{"API Levels":E.apiLevels||L.NotFound,"Build Tools":E.buildTools||L.NotFound,"System Images":E.systemImages||L.NotFound,"Android NDK":I||L.NotFound}]):Promise.resolve(["Android SDK",L.NotFound])}))},getiOSSDKInfo:function(){return L.isMacOS?L.run("xcodebuild -showsdks").then((function(_){return _.match(/[\w]+\s[\d|.]+/g)})).then(L.uniq).then((function(_){return _.length?["iOS SDK",{Platforms:_}]:["iOS SDK",L.NotFound]})):Promise.resolve(["iOS SDK","N/A"])},getWindowsSDKInfo:function(){if(L.log("trace","getWindowsSDKInfo"),L.isWindows){var _=L.NotFound;return L.run("reg query HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock").then((function(E){_=E.split(/[\r\n]/g).slice(1).filter((function(_){return""!==_})).reduce((function(_,E){var I=E.match(/[^\s]+/g);return"0x0"!==I[2]&&"0x1"!==I[2]||(I[2]="0x1"===I[2]?"Enabled":"Disabled"),_[I[0]]=I[2],_}),{}),0===Object.keys(_).length&&(_=L.NotFound);try{var I=k.readdirSync(`${process.env["ProgramFiles(x86)"]}/Windows Kits/10/Platforms/UAP`);_.Versions=I}catch(_){}return Promise.resolve(["Windows SDK",_])}))}return Promise.resolve(["Windows SDK",L.NA])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getApacheInfo:function(){return k.log("trace","getApacheInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("apachectl -v").then(k.findVersion),k.run("which apachectl")]).then((function(_){return k.determineFound("Apache",_[0],_[1])})):Promise.resolve(["Apache","N/A"])},getNginxInfo:function(){return k.log("trace","getNginxInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("nginx -v 2>&1").then(k.findVersion),k.run("which nginx")]).then((function(_){return k.determineFound("Nginx",_[0],_[1])})):Promise.resolve(["Nginx","N/A"])}}},function(_,E,I){"use strict";I(22),I(2);var k=I(132),N=I(1),L=I(17);_.exports={getContainerInfo:function(){return N.log("trace","getContainerInfo"),N.isLinux?Promise.all([N.fileExists("/.dockerenv"),N.readFile("/proc/self/cgroup")]).then((function(_){return N.log("trace","getContainerInfoThen",_),Promise.resolve(["Container",_[0]||_[1]?"Yes":"N/A"])})).catch((function(_){return N.log("trace","getContainerInfoCatch",_)})):Promise.resolve(["Container","N/A"])},getCPUInfo:function(){var _;N.log("trace","getCPUInfo");try{var E=L.cpus();_="("+E.length+") "+L.arch()+" "+E[0].model}catch(E){_="Unknown"}return Promise.all(["CPU",_])},getMemoryInfo:function(){return N.log("trace","getMemoryInfo"),Promise.all(["Memory",`${N.toReadableBytes(L.freemem())} / ${N.toReadableBytes(L.totalmem())}`])},getOSInfo:function(){return N.log("trace","getOSInfo"),(N.isMacOS?N.run("sw_vers -productVersion "):N.isLinux?N.run("cat /etc/os-release").then((function(_){var E=(_||"").match(/NAME="(.+)"/)||"",I=(_||"").match(/VERSION="(.+)"/)||["",""],k=null!==I?I[1]:"";return`${E[1]} ${k}`.trim()||""})):N.isWindows?Promise.resolve(L.release()):Promise.resolve()).then((function(_){var E=k(L.platform(),L.release());return _&&(E+=` ${_}`),["OS",E]}))},getShellInfo:function(){if(N.log("trace","getShellInfo",process.env),N.isMacOS||N.isLinux){var _=process.env.SHELL||N.runSync("getent passwd $LOGNAME | cut -d: -f7 | head -1"),E=`${_} --version 2>&1`;return _.match("/bin/ash")&&(E=`${_} --help 2>&1`),Promise.all([N.run(E).then(N.findVersion),N.which(_)]).then((function(_){return N.determineFound("Shell",_[0]||"Unknown",_[1])}))}return Promise.resolve(["Shell","N/A"])},getGLibcInfo:function(){return N.log("trace","getGLibc"),N.isLinux?Promise.all([N.run("ldd --version").then(N.findVersion)]).then((function(_){return N.determineFound("GLibc",_[0]||"Unknown")})):Promise.resolve(["GLibc","N/A"])}}},function(_,E,I){"use strict";const k=I(17),N=I(133),L=I(134);_.exports=(_,E)=>{if(!_&&E)throw new Error("You can't specify a `release` without specifying `platform`");let I;if("darwin"===(_=_||k.platform()))return E||"darwin"!==k.platform()||(E=k.release()),(E?Number(E.split(".")[0])>15?"macOS":"OS X":"macOS")+((I=E?N(E).name:"")?" "+I:"");return"linux"===_?(E||"linux"!==k.platform()||(E=k.release()),"Linux"+((I=E?E.replace(/^(\d+\.\d+).*/,"$1"):"")?" "+I:"")):"win32"===_?(E||"win32"!==k.platform()||(E=k.release()),"Windows"+((I=E?L(E):"")?" "+I:"")):_}},function(_,E,I){"use strict";const k=I(17),N=new Map([[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]),i=_=>(_=Number((_||k.release()).split(".")[0]),{name:N.get(_),version:"10."+(_-4)});_.exports=i,_.exports.default=i},function(_,E,I){"use strict";const k=I(17),N=I(135),L=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);_.exports=_=>{const E=/\d+\.\d/.exec(_||k.release());if(_&&!E)throw new Error("`release` argument doesn't match `n.n`");const I=(E||[])[0];if((!_||_===k.release())&&["6.1","6.2","6.3","10.0"].includes(I)){const _=((N.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(_)return`Server ${_}`}return L.get(I)}},function(_,E,I){"use strict";const k=I(0),N=I(49),L=I(136),$=I(146),R=I(147),G=I(148),W=I(149),q=I(154),U=I(155),H=I(157),ie=I(158),pe=1e7;function m(_,E,I){let N;return(I=Object.assign({extendEnv:!0,env:{}},I)).extendEnv&&(I.env=Object.assign({},process.env,I.env)),!0===I.__winShell?(delete I.__winShell,N={command:_,args:E,options:I,file:_,original:{cmd:_,args:E}}):N=L._parse(_,E,I),(I=Object.assign({maxBuffer:pe,buffer:!0,stripEof:!0,preferLocal:!0,localDir:N.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},N.options)).stdio=ie(I),I.preferLocal&&(I.env=R.env(Object.assign({},I,{cwd:I.localDir}))),I.detached&&(I.cleanup=!1),"win32"===process.platform&&"cmd.exe"===k.basename(N.command)&&N.args.unshift("/q"),{cmd:N.command,args:N.args,opts:I,parsed:N}}function g(_,E){return E&&_.stripEof&&(E=$(E)),E}function v(_,E,I){let k="/bin/sh",N=["-c",E];return I=Object.assign({},I),"win32"===process.platform&&(I.__winShell=!0,k=process.env.comspec||"cmd.exe",N=["/s","/c",`"${E}"`],I.windowsVerbatimArguments=!0),I.shell&&(k=I.shell,delete I.shell),_(k,N,I)}function y(_,E,{encoding:I,buffer:k,maxBuffer:N}){if(!_[E])return null;let L;return(L=k?I?W(_[E],{encoding:I,maxBuffer:N}):W.buffer(_[E],{maxBuffer:N}):new Promise(((I,k)=>{_[E].once("end",I).once("error",k)}))).catch((_=>{throw _.stream=E,_.message=`${E} ${_.message}`,_}))}function b(_,E){const{stdout:I,stderr:k}=_;let N=_.error;const{code:L,signal:$}=_,{parsed:R,joinedCmd:G}=E,W=E.timedOut||!1;if(!N){let _="";Array.isArray(R.opts.stdio)?("inherit"!==R.opts.stdio[2]&&(_+=_.length>0?k:`\n${k}`),"inherit"!==R.opts.stdio[1]&&(_+=`\n${I}`)):"inherit"!==R.opts.stdio&&(_=`\n${k}${I}`),(N=new Error(`Command failed: ${G}${_}`)).code=L<0?H(L):L}return N.stdout=I,N.stderr=k,N.failed=!0,N.signal=$||null,N.cmd=G,N.timedOut=W,N}function w(_,E){let I=_;return Array.isArray(E)&&E.length>0&&(I+=" "+E.join(" ")),I}_.exports=(_,E,I)=>{const k=m(_,E,I),{encoding:$,buffer:R,maxBuffer:W}=k.opts,H=w(_,E);let ie,pe;try{ie=N.spawn(k.cmd,k.args,k.opts)}catch(_){return Promise.reject(_)}k.opts.cleanup&&(pe=U((()=>{ie.kill()})));let he=null,de=!1;const S=()=>{he&&(clearTimeout(he),he=null),pe&&pe()};k.opts.timeout>0&&(he=setTimeout((()=>{he=null,de=!0,ie.kill(k.opts.killSignal)}),k.opts.timeout));const me=new Promise((_=>{ie.on("exit",((E,I)=>{S(),_({code:E,signal:I})})),ie.on("error",(E=>{S(),_({error:E})})),ie.stdin&&ie.stdin.on("error",(E=>{S(),_({error:E})}))}));function O(){ie.stdout&&ie.stdout.destroy(),ie.stderr&&ie.stderr.destroy()}const j=()=>q(Promise.all([me,y(ie,"stdout",{encoding:$,buffer:R,maxBuffer:W}),y(ie,"stderr",{encoding:$,buffer:R,maxBuffer:W})]).then((_=>{const E=_[0];if(E.stdout=_[1],E.stderr=_[2],E.error||0!==E.code||null!==E.signal){const _=b(E,{joinedCmd:H,parsed:k,timedOut:de});if(_.killed=_.killed||ie.killed,!k.opts.reject)return _;throw _}return{stdout:g(k.opts,E.stdout),stderr:g(k.opts,E.stderr),code:0,failed:!1,killed:!1,signal:null,cmd:H,timedOut:!1}})),O);return L._enoent.hookChildProcess(ie,k.parsed),function(_,E){null!=E&&(G(E)?E.pipe(_.stdin):_.stdin.end(E))}(ie,k.opts.input),ie.then=(_,E)=>j().then(_,E),ie.catch=_=>j().catch(_),ie},_.exports.stdout=(...E)=>_.exports(...E).then((_=>_.stdout)),_.exports.stderr=(...E)=>_.exports(...E).then((_=>_.stderr)),_.exports.shell=(E,I)=>v(_.exports,E,I),_.exports.sync=(_,E,I)=>{const k=m(_,E,I),L=w(_,E);if(G(k.opts.input))throw new TypeError("The `input` option cannot be a stream in sync mode");const $=N.spawnSync(k.cmd,k.args,k.opts);if($.code=$.status,$.error||0!==$.status||null!==$.signal){const _=b($,{joinedCmd:L,parsed:k});if(!k.opts.reject)return _;throw _}return{stdout:g(k.opts,$.stdout),stderr:g(k.opts,$.stderr),code:0,failed:!1,signal:null,cmd:L,timedOut:!1}},_.exports.shellSync=(E,I)=>v(_.exports.sync,E,I)},function(_,E,I){"use strict";const k=I(49),N=I(137),L=I(145);function s(_,E,I){const $=N(_,E,I),R=k.spawn($.command,$.args,$.options);return L.hookChildProcess(R,$),R}_.exports=s,_.exports.spawn=s,_.exports.sync=function(_,E,I){const $=N(_,E,I),R=k.spawnSync($.command,$.args,$.options);return R.error=R.error||L.verifyENOENTSync(R.status,$),R},_.exports._parse=N,_.exports._enoent=L},function(_,E,I){"use strict";const k=I(0),N=I(138),L=I(139),$=I(140),R=I(141),G=I(144),W="win32"===process.platform,q=/\.(?:com|exe)$/i,U=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,H=N((()=>G.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0)))||!1;function h(_){if(!W)return _;const E=function(_){_.file=L(_);const E=_.file&&R(_.file);return E?(_.args.unshift(_.file),_.command=E,L(_)):_.file}(_),I=!q.test(E);if(_.options.forceShell||I){const I=U.test(E);_.command=k.normalize(_.command),_.command=$.command(_.command),_.args=_.args.map((_=>$.argument(_,I)));const N=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${N}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}_.exports=function(_,E,I){E&&!Array.isArray(E)&&(I=E,E=null);const k={command:_,args:E=E?E.slice(0):[],options:I=Object.assign({},I),file:void 0,original:{command:_,args:E}};return I.shell?function(_){if(H)return _;const E=[_.command].concat(_.args).join(" ");return W?(_.command="string"==typeof _.options.shell?_.options.shell:process.env.comspec||"cmd.exe",_.args=["/d","/s","/c",`"${E}"`],_.options.windowsVerbatimArguments=!0):("string"==typeof _.options.shell?_.command=_.options.shell:"android"===process.platform?_.command="/system/bin/sh":_.command="/bin/sh",_.args=["-c",E]),_}(k):h(k)}},function(_,E,I){"use strict";_.exports=function(_){try{return _()}catch(_){}}},function(_,E,I){"use strict";const k=I(0),N=I(76),L=I(77)();function s(_,E){const I=process.cwd(),$=null!=_.options.cwd;if($)try{process.chdir(_.options.cwd)}catch(_){}let R;try{R=N.sync(_.command,{path:(_.options.env||process.env)[L],pathExt:E?k.delimiter:void 0})}catch(_){}finally{process.chdir(I)}return R&&(R=k.resolve($?_.options.cwd:"",R)),R}_.exports=function(_){return s(_)||s(_,!0)}},function(_,E,I){"use strict";const k=/([()\][%!^"`<>&|;, *?])/g;_.exports.command=function(_){return _=_.replace(k,"^$1")},_.exports.argument=function(_,E){return _=(_=`"${_=(_=(_=`${_}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(k,"^$1"),E&&(_=_.replace(k,"^$1")),_}},function(_,E,I){"use strict";const k=I(5),N=I(142);_.exports=function(_){let E,I;Buffer.alloc?E=Buffer.alloc(150):(E=new Buffer(150)).fill(0);try{I=k.openSync(_,"r"),k.readSync(I,E,0,150,0),k.closeSync(I)}catch(_){}return N(E.toString())}},function(_,E,I){"use strict";var k=I(143);_.exports=function(_){var E=_.match(k);if(!E)return null;var I=E[0].replace(/#! ?/,"").split(" "),N=I[0].split("/").pop(),L=I[1];return"env"===N?L:N+(L?" "+L:"")}},function(_,E,I){"use strict";_.exports=/^#!.*/},function(_,E){var I;E=_.exports=Y,I="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var _=Array.prototype.slice.call(arguments,0);_.unshift("SEMVER"),console.log.apply(console,_)}:function(){},E.SEMVER_SPEC_VERSION="2.0.0";var k=256,N=Number.MAX_SAFE_INTEGER||9007199254740991,L=E.re=[],$=E.src=[],R=0,G=R++;$[G]="0|[1-9]\\d*";var W=R++;$[W]="[0-9]+";var q=R++;$[q]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var U=R++;$[U]="("+$[G]+")\\.("+$[G]+")\\.("+$[G]+")";var H=R++;$[H]="("+$[W]+")\\.("+$[W]+")\\.("+$[W]+")";var ie=R++;$[ie]="(?:"+$[G]+"|"+$[q]+")";var pe=R++;$[pe]="(?:"+$[W]+"|"+$[q]+")";var he=R++;$[he]="(?:-("+$[ie]+"(?:\\."+$[ie]+")*))";var de=R++;$[de]="(?:-?("+$[pe]+"(?:\\."+$[pe]+")*))";var me=R++;$[me]="[0-9A-Za-z-]+";var ge=R++;$[ge]="(?:\\+("+$[me]+"(?:\\."+$[me]+")*))";var ve=R++,ye="v?"+$[U]+$[he]+"?"+$[ge]+"?";$[ve]="^"+ye+"$";var be="[v=\\s]*"+$[H]+$[de]+"?"+$[ge]+"?",we=R++;$[we]="^"+be+"$";var xe=R++;$[xe]="((?:<|>)?=?)";var Se=R++;$[Se]=$[W]+"|x|X|\\*";var _e=R++;$[_e]=$[G]+"|x|X|\\*";var Pe=R++;$[Pe]="[v=\\s]*("+$[_e]+")(?:\\.("+$[_e]+")(?:\\.("+$[_e]+")(?:"+$[he]+")?"+$[ge]+"?)?)?";var Oe=R++;$[Oe]="[v=\\s]*("+$[Se]+")(?:\\.("+$[Se]+")(?:\\.("+$[Se]+")(?:"+$[de]+")?"+$[ge]+"?)?)?";var je=R++;$[je]="^"+$[xe]+"\\s*"+$[Pe]+"$";var Ee=R++;$[Ee]="^"+$[xe]+"\\s*"+$[Oe]+"$";var Ie=R++;$[Ie]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var Ae=R++;$[Ae]="(?:~>?)";var ke=R++;$[ke]="(\\s*)"+$[Ae]+"\\s+",L[ke]=new RegExp($[ke],"g");var Ne=R++;$[Ne]="^"+$[Ae]+$[Pe]+"$";var Fe=R++;$[Fe]="^"+$[Ae]+$[Oe]+"$";var Ce=R++;$[Ce]="(?:\\^)";var Me=R++;$[Me]="(\\s*)"+$[Ce]+"\\s+",L[Me]=new RegExp($[Me],"g");var Te=R++;$[Te]="^"+$[Ce]+$[Pe]+"$";var Ve=R++;$[Ve]="^"+$[Ce]+$[Oe]+"$";var De=R++;$[De]="^"+$[xe]+"\\s*("+be+")$|^$";var Be=R++;$[Be]="^"+$[xe]+"\\s*("+ye+")$|^$";var Le=R++;$[Le]="(\\s*)"+$[xe]+"\\s*("+be+"|"+$[Pe]+")",L[Le]=new RegExp($[Le],"g");var $e=R++;$[$e]="^\\s*("+$[Pe]+")\\s+-\\s+("+$[Pe]+")\\s*$";var Re=R++;$[Re]="^\\s*("+$[Oe]+")\\s+-\\s+("+$[Oe]+")\\s*$";var Ge=R++;$[Ge]="(<|>)?=?\\s*\\*";for(var Ye=0;Ye<35;Ye++)I(Ye,$[Ye]),L[Ye]||(L[Ye]=new RegExp($[Ye]));function K(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof Y)return _;if("string"!=typeof _)return null;if(_.length>k)return null;if(!(E.loose?L[we]:L[ve]).test(_))return null;try{return new Y(_,E)}catch(_){return null}}function Y(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof Y){if(_.loose===E.loose)return _;_=_.version}else if("string"!=typeof _)throw new TypeError("Invalid Version: "+_);if(_.length>k)throw new TypeError("version is longer than "+k+" characters");if(!(this instanceof Y))return new Y(_,E);I("SemVer",_,E),this.options=E,this.loose=!!E.loose;var $=_.trim().match(E.loose?L[we]:L[ve]);if(!$)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>N||this.major<0)throw new TypeError("Invalid major version");if(this.minor>N||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>N||this.patch<0)throw new TypeError("Invalid patch version");$[4]?this.prerelease=$[4].split(".").map((function(_){if(/^[0-9]+$/.test(_)){var E=+_;if(E>=0&&E<N)return E}return _})):this.prerelease=[],this.build=$[5]?$[5].split("."):[],this.format()}E.parse=K,E.valid=function(_,E){var I=K(_,E);return I?I.version:null},E.clean=function(_,E){var I=K(_.trim().replace(/^[=v]+/,""),E);return I?I.version:null},E.SemVer=Y,Y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Y.prototype.toString=function(){return this.version},Y.prototype.compare=function(_){return I("SemVer.compare",this.version,this.options,_),_ instanceof Y||(_=new Y(_,this.options)),this.compareMain(_)||this.comparePre(_)},Y.prototype.compareMain=function(_){return _ instanceof Y||(_=new Y(_,this.options)),J(this.major,_.major)||J(this.minor,_.minor)||J(this.patch,_.patch)},Y.prototype.comparePre=function(_){if(_ instanceof Y||(_=new Y(_,this.options)),this.prerelease.length&&!_.prerelease.length)return-1;if(!this.prerelease.length&&_.prerelease.length)return 1;if(!this.prerelease.length&&!_.prerelease.length)return 0;var E=0;do{var k=this.prerelease[E],N=_.prerelease[E];if(I("prerelease compare",E,k,N),void 0===k&&void 0===N)return 0;if(void 0===N)return 1;if(void 0===k)return-1;if(k!==N)return J(k,N)}while(++E)},Y.prototype.inc=function(_,E){switch(_){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",E),this.inc("pre",E);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",E),this.inc("pre",E);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var I=this.prerelease.length;--I>=0;)"number"==typeof this.prerelease[I]&&(this.prerelease[I]++,I=-2);-1===I&&this.prerelease.push(0)}E&&(this.prerelease[0]===E?isNaN(this.prerelease[1])&&(this.prerelease=[E,0]):this.prerelease=[E,0]);break;default:throw new Error("invalid increment argument: "+_)}return this.format(),this.raw=this.version,this},E.inc=function(_,E,I,k){"string"==typeof I&&(k=I,I=void 0);try{return new Y(_,I).inc(E,k).version}catch(_){return null}},E.diff=function(_,E){if(Z(_,E))return null;var I=K(_),k=K(E);if(I.prerelease.length||k.prerelease.length){for(var N in I)if(("major"===N||"minor"===N||"patch"===N)&&I[N]!==k[N])return"pre"+N;return"prerelease"}for(var N in I)if(("major"===N||"minor"===N||"patch"===N)&&I[N]!==k[N])return N},E.compareIdentifiers=J;var We=/^[0-9]+$/;function J(_,E){var I=We.test(_),k=We.test(E);return I&&k&&(_=+_,E=+E),I&&!k?-1:k&&!I?1:_<E?-1:_>E?1:0}function z(_,E,I){return new Y(_,I).compare(new Y(E,I))}function Q(_,E,I){return z(_,E,I)>0}function X(_,E,I){return z(_,E,I)<0}function Z(_,E,I){return 0===z(_,E,I)}function ee(_,E,I){return 0!==z(_,E,I)}function te(_,E,I){return z(_,E,I)>=0}function ne(_,E,I){return z(_,E,I)<=0}function re(_,E,I,k){var N;switch(E){case"===":"object"==typeof _&&(_=_.version),"object"==typeof I&&(I=I.version),N=_===I;break;case"!==":"object"==typeof _&&(_=_.version),"object"==typeof I&&(I=I.version),N=_!==I;break;case"":case"=":case"==":N=Z(_,I,k);break;case"!=":N=ee(_,I,k);break;case">":N=Q(_,I,k);break;case">=":N=te(_,I,k);break;case"<":N=X(_,I,k);break;case"<=":N=ne(_,I,k);break;default:throw new TypeError("Invalid operator: "+E)}return N}function oe(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof oe){if(_.loose===!!E.loose)return _;_=_.value}if(!(this instanceof oe))return new oe(_,E);I("comparator",_,E),this.options=E,this.loose=!!E.loose,this.parse(_),this.semver===Ke?this.value="":this.value=this.operator+this.semver.version,I("comp",this)}E.rcompareIdentifiers=function(_,E){return J(E,_)},E.major=function(_,E){return new Y(_,E).major},E.minor=function(_,E){return new Y(_,E).minor},E.patch=function(_,E){return new Y(_,E).patch},E.compare=z,E.compareLoose=function(_,E){return z(_,E,!0)},E.rcompare=function(_,E,I){return z(E,_,I)},E.sort=function(_,I){return _.sort((function(_,k){return E.compare(_,k,I)}))},E.rsort=function(_,I){return _.sort((function(_,k){return E.rcompare(_,k,I)}))},E.gt=Q,E.lt=X,E.eq=Z,E.neq=ee,E.gte=te,E.lte=ne,E.cmp=re,E.Comparator=oe;var Ke={};function se(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof se)return _.loose===!!E.loose&&_.includePrerelease===!!E.includePrerelease?_:new se(_.raw,E);if(_ instanceof oe)return new se(_.value,E);if(!(this instanceof se))return new se(_,E);if(this.options=E,this.loose=!!E.loose,this.includePrerelease=!!E.includePrerelease,this.raw=_,this.set=_.split(/\s*\|\|\s*/).map((function(_){return this.parseRange(_.trim())}),this).filter((function(_){return _.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+_);this.format()}function ae(_){return!_||"x"===_.toLowerCase()||"*"===_}function ce(_,E,I,k,N,L,$,R,G,W,q,U,H){return((E=ae(I)?"":ae(k)?">="+I+".0.0":ae(N)?">="+I+"."+k+".0":">="+E)+" "+(R=ae(G)?"":ae(W)?"<"+(+G+1)+".0.0":ae(q)?"<"+G+"."+(+W+1)+".0":U?"<="+G+"."+W+"."+q+"-"+U:"<="+R)).trim()}function ue(_,E,k){for(var N=0;N<_.length;N++)if(!_[N].test(E))return!1;if(k||(k={}),E.prerelease.length&&!k.includePrerelease){for(N=0;N<_.length;N++)if(I(_[N].semver),_[N].semver!==Ke&&_[N].semver.prerelease.length>0){var L=_[N].semver;if(L.major===E.major&&L.minor===E.minor&&L.patch===E.patch)return!0}return!1}return!0}function le(_,E,I){try{E=new se(E,I)}catch(_){return!1}return E.test(_)}function fe(_,E,I,k){var N,L,$,R,G;switch(_=new Y(_,k),E=new se(E,k),I){case">":N=Q,L=ne,$=X,R=">",G=">=";break;case"<":N=X,L=te,$=Q,R="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(_,E,k))return!1;for(var W=0;W<E.set.length;++W){var q=E.set[W],U=null,H=null;if(q.forEach((function(_){_.semver===Ke&&(_=new oe(">=0.0.0")),U=U||_,H=H||_,N(_.semver,U.semver,k)?U=_:$(_.semver,H.semver,k)&&(H=_)})),U.operator===R||U.operator===G)return!1;if((!H.operator||H.operator===R)&&L(_,H.semver))return!1;if(H.operator===G&&$(_,H.semver))return!1}return!0}oe.prototype.parse=function(_){var E=this.options.loose?L[De]:L[Be],I=_.match(E);if(!I)throw new TypeError("Invalid comparator: "+_);this.operator=I[1],"="===this.operator&&(this.operator=""),I[2]?this.semver=new Y(I[2],this.options.loose):this.semver=Ke},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(_){return I("Comparator.test",_,this.options.loose),this.semver===Ke||("string"==typeof _&&(_=new Y(_,this.options)),re(_,this.operator,this.semver,this.options))},oe.prototype.intersects=function(_,E){if(!(_ instanceof oe))throw new TypeError("a Comparator is required");var I;if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),""===this.operator)return I=new se(_.value,E),le(this.value,I,E);if(""===_.operator)return I=new se(this.value,E),le(_.semver,I,E);var k=!(">="!==this.operator&&">"!==this.operator||">="!==_.operator&&">"!==_.operator),N=!("<="!==this.operator&&"<"!==this.operator||"<="!==_.operator&&"<"!==_.operator),L=this.semver.version===_.semver.version,$=!(">="!==this.operator&&"<="!==this.operator||">="!==_.operator&&"<="!==_.operator),R=re(this.semver,"<",_.semver,E)&&(">="===this.operator||">"===this.operator)&&("<="===_.operator||"<"===_.operator),G=re(this.semver,">",_.semver,E)&&("<="===this.operator||"<"===this.operator)&&(">="===_.operator||">"===_.operator);return k||N||L&&$||R||G},E.Range=se,se.prototype.format=function(){return this.range=this.set.map((function(_){return _.join(" ").trim()})).join("||").trim(),this.range},se.prototype.toString=function(){return this.range},se.prototype.parseRange=function(_){var E=this.options.loose;_=_.trim();var k=E?L[Re]:L[$e];_=_.replace(k,ce),I("hyphen replace",_),_=_.replace(L[Le],"$1$2$3"),I("comparator trim",_,L[Le]),_=(_=(_=_.replace(L[ke],"$1~")).replace(L[Me],"$1^")).split(/\s+/).join(" ");var N=E?L[De]:L[Be],$=_.split(" ").map((function(_){return function(_,E){return I("comp",_,E),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){I("caret",_,E),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Ve]:L[Te];return _.replace(k,(function(E,k,N,L,$){var R;return I("caret",_,E,k,N,L,$),ae(k)?R="":ae(N)?R=">="+k+".0.0 <"+(+k+1)+".0.0":ae(L)?R="0"===k?">="+k+"."+N+".0 <"+k+"."+(+N+1)+".0":">="+k+"."+N+".0 <"+(+k+1)+".0.0":$?(I("replaceCaret pr",$),"-"!==$.charAt(0)&&($="-"+$),R="0"===k?"0"===N?">="+k+"."+N+"."+L+$+" <"+k+"."+N+"."+(+L+1):">="+k+"."+N+"."+L+$+" <"+k+"."+(+N+1)+".0":">="+k+"."+N+"."+L+$+" <"+(+k+1)+".0.0"):(I("no pr"),R="0"===k?"0"===N?">="+k+"."+N+"."+L+" <"+k+"."+N+"."+(+L+1):">="+k+"."+N+"."+L+" <"+k+"."+(+N+1)+".0":">="+k+"."+N+"."+L+" <"+(+k+1)+".0.0"),I("caret return",R),R}))}(_,E)})).join(" ")}(_,E),I("caret",_),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Fe]:L[Ne];return _.replace(k,(function(E,k,N,L,$){var R;return I("tilde",_,E,k,N,L,$),ae(k)?R="":ae(N)?R=">="+k+".0.0 <"+(+k+1)+".0.0":ae(L)?R=">="+k+"."+N+".0 <"+k+"."+(+N+1)+".0":$?(I("replaceTilde pr",$),"-"!==$.charAt(0)&&($="-"+$),R=">="+k+"."+N+"."+L+$+" <"+k+"."+(+N+1)+".0"):R=">="+k+"."+N+"."+L+" <"+k+"."+(+N+1)+".0",I("tilde return",R),R}))}(_,E)})).join(" ")}(_,E),I("tildes",_),_=function(_,E){return I("replaceXRanges",_,E),_.split(/\s+/).map((function(_){return function(_,E){_=_.trim(),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Ee]:L[je];return _.replace(k,(function(E,k,N,L,$,R){I("xRange",_,E,k,N,L,$,R);var G=ae(N),W=G||ae(L),q=W||ae($),U=q;return"="===k&&U&&(k=""),G?E=">"===k||"<"===k?"<0.0.0":"*":k&&U?(W&&(L=0),q&&($=0),">"===k?(k=">=",W?(N=+N+1,L=0,$=0):q&&(L=+L+1,$=0)):"<="===k&&(k="<",W?N=+N+1:L=+L+1),E=k+N+"."+L+"."+$):W?E=">="+N+".0.0 <"+(+N+1)+".0.0":q&&(E=">="+N+"."+L+".0 <"+N+"."+(+L+1)+".0"),I("xRange return",E),E}))}(_,E)})).join(" ")}(_,E),I("xrange",_),_=function(_,E){return I("replaceStars",_,E),_.trim().replace(L[Ge],"")}(_,E),I("stars",_),_}(_,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&($=$.filter((function(_){return!!_.match(N)}))),$=$.map((function(_){return new oe(_,this.options)}),this)},se.prototype.intersects=function(_,E){if(!(_ instanceof se))throw new TypeError("a Range is required");return this.set.some((function(I){return I.every((function(I){return _.set.some((function(_){return _.every((function(_){return I.intersects(_,E)}))}))}))}))},E.toComparators=function(_,E){return new se(_,E).set.map((function(_){return _.map((function(_){return _.value})).join(" ").trim().split(" ")}))},se.prototype.test=function(_){if(!_)return!1;"string"==typeof _&&(_=new Y(_,this.options));for(var E=0;E<this.set.length;E++)if(ue(this.set[E],_,this.options))return!0;return!1},E.satisfies=le,E.maxSatisfying=function(_,E,I){var k=null,N=null;try{var L=new se(E,I)}catch(_){return null}return _.forEach((function(_){L.test(_)&&(k&&-1!==N.compare(_)||(N=new Y(k=_,I)))})),k},E.minSatisfying=function(_,E,I){var k=null,N=null;try{var L=new se(E,I)}catch(_){return null}return _.forEach((function(_){L.test(_)&&(k&&1!==N.compare(_)||(N=new Y(k=_,I)))})),k},E.validRange=function(_,E){try{return new se(_,E).range||"*"}catch(_){return null}},E.ltr=function(_,E,I){return fe(_,E,"<",I)},E.gtr=function(_,E,I){return fe(_,E,">",I)},E.outside=fe,E.prerelease=function(_,E){var I=K(_,E);return I&&I.prerelease.length?I.prerelease:null},E.intersects=function(_,E,I){return _=new se(_,I),E=new se(E,I),_.intersects(E)},E.coerce=function(_){if(_ instanceof Y)return _;if("string"!=typeof _)return null;var E=_.match(L[Ie]);return null==E?null:K((E[1]||"0")+"."+(E[2]||"0")+"."+(E[3]||"0"))}},function(_,E,I){"use strict";const k="win32"===process.platform;function o(_,E){return Object.assign(new Error(`${E} ${_.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${E} ${_.command}`,path:_.command,spawnargs:_.args})}function i(_,E){return k&&1===_&&!E.file?o(E.original,"spawn"):null}_.exports={hookChildProcess:function(_,E){if(!k)return;const I=_.emit;_.emit=function(k,N){if("exit"===k){const k=i(N,E);if(k)return I.call(_,"error",k)}return I.apply(_,arguments)}},verifyENOENT:i,verifyENOENTSync:function(_,E){return k&&1===_&&!E.file?o(E.original,"spawnSync"):null},notFoundError:o}},function(_,E,I){"use strict";_.exports=function(_){var E="string"==typeof _?"\n":"\n".charCodeAt(),I="string"==typeof _?"\r":"\r".charCodeAt();return _[_.length-1]===E&&(_=_.slice(0,_.length-1)),_[_.length-1]===I&&(_=_.slice(0,_.length-1)),_}},function(_,E,I){"use strict";const k=I(0),N=I(77);_.exports=_=>{let E;_=Object.assign({cwd:process.cwd(),path:process.env[N()]},_);let I=k.resolve(_.cwd);const L=[];for(;E!==I;)L.push(k.join(I,"node_modules/.bin")),E=I,I=k.resolve(I,"..");return L.push(k.dirname(process.execPath)),L.concat(_.path).join(k.delimiter)},_.exports.env=E=>{E=Object.assign({env:process.env},E);const I=Object.assign({},E.env),k=N({env:I});return E.path=I[k],I[k]=_.exports(E),I}},function(_,E,I){"use strict";var k=_.exports=function(_){return null!==_&&"object"==typeof _&&"function"==typeof _.pipe};k.writable=function(_){return k(_)&&!1!==_.writable&&"function"==typeof _._write&&"object"==typeof _._writableState},k.readable=function(_){return k(_)&&!1!==_.readable&&"function"==typeof _._read&&"object"==typeof _._readableState},k.duplex=function(_){return k.writable(_)&&k.readable(_)},k.transform=function(_){return k.duplex(_)&&"function"==typeof _._transform&&"object"==typeof _._transformState}},function(_,E,I){"use strict";const k=I(150),N=I(152);class i extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}function s(_,E){if(!_)return Promise.reject(new Error("Expected a stream"));E=Object.assign({maxBuffer:1/0},E);const{maxBuffer:I}=E;let L;return new Promise((($,R)=>{const u=_=>{_&&(_.bufferedData=L.getBufferedValue()),R(_)};(L=k(_,N(E),(_=>{_?u(_):$()}))).on("data",(()=>{L.getBufferedLength()>I&&u(new i)}))})).then((()=>L.getBufferedValue()))}_.exports=s,_.exports.buffer=(_,E)=>s(_,Object.assign({},E,{encoding:"buffer"})),_.exports.array=(_,E)=>s(_,Object.assign({},E,{array:!0})),_.exports.MaxBufferError=i},function(_,E,I){var k=I(31),N=I(151),L=I(5),s=function(){},$=/^v?\.0/.test(process.version),c=function(_){return"function"==typeof _},u=function(_,E,I,R){R=k(R);var G=!1;_.on("close",(function(){G=!0})),N(_,{readable:E,writable:I},(function(_){if(_)return R(_);G=!0,R()}));var W=!1;return function(E){if(!G&&!W)return W=!0,function(_){return!!$&&!!L&&(_ instanceof(L.ReadStream||s)||_ instanceof(L.WriteStream||s))&&c(_.close)}(_)?_.close(s):function(_){return _.setHeader&&c(_.abort)}(_)?_.abort():c(_.destroy)?_.destroy():void R(E||new Error("stream was destroyed"))}},l=function(_){_()},f=function(_,E){return _.pipe(E)};_.exports=function(){var _,E=Array.prototype.slice.call(arguments),I=c(E[E.length-1]||s)&&E.pop()||s;if(Array.isArray(E[0])&&(E=E[0]),E.length<2)throw new Error("pump requires two streams per minimum");var k=E.map((function(N,L){var $=L<E.length-1;return u(N,$,L>0,(function(E){_||(_=E),E&&k.forEach(l),$||(k.forEach(l),I(_))}))}));return E.reduce(f)}},function(_,E,I){var k=I(31),o=function(){},i=function(_,E,I){if("function"==typeof E)return i(_,null,E);E||(E={}),I=k(I||o);var N=_._writableState,L=_._readableState,$=E.readable||!1!==E.readable&&_.readable,R=E.writable||!1!==E.writable&&_.writable,l=function(){_.writable||f()},f=function(){R=!1,$||I.call(_)},p=function(){$=!1,R||I.call(_)},h=function(E){I.call(_,E?new Error("exited with error code: "+E):null)},d=function(E){I.call(_,E)},m=function(){return(!$||L&&L.ended)&&(!R||N&&N.ended)?void 0:I.call(_,new Error("premature close"))},g=function(){_.req.on("finish",f)};return!function(_){return _.setHeader&&"function"==typeof _.abort}(_)?R&&!N&&(_.on("end",l),_.on("close",l)):(_.on("complete",f),_.on("abort",m),_.req?g():_.on("request",g)),function(_){return _.stdio&&Array.isArray(_.stdio)&&3===_.stdio.length}(_)&&_.on("exit",h),_.on("end",p),_.on("finish",f),!1!==E.error&&_.on("error",d),_.on("close",m),function(){_.removeListener("complete",f),_.removeListener("abort",m),_.removeListener("request",g),_.req&&_.req.removeListener("finish",f),_.removeListener("end",l),_.removeListener("close",l),_.removeListener("finish",f),_.removeListener("exit",h),_.removeListener("end",p),_.removeListener("error",d),_.removeListener("close",m)}};_.exports=i},function(_,E,I){"use strict";const{PassThrough:k}=I(153);_.exports=_=>{_=Object.assign({},_);const{array:E}=_;let{encoding:I}=_;const N="buffer"===I;let L=!1;E?L=!(I||N):I=I||"utf8",N&&(I=null);let $=0;const R=[],G=new k({objectMode:L});return I&&G.setEncoding(I),G.on("data",(_=>{R.push(_),L?$=R.length:$+=_.length})),G.getBufferedValue=()=>E?R:N?Buffer.concat(R,$):R.join(""),G.getBufferedLength=()=>$,G}},function(_,E){_.exports=I(781)},function(_,E,I){"use strict";_.exports=(_,E)=>(E=E||(()=>{}),_.then((_=>new Promise((_=>{_(E())})).then((()=>_))),(_=>new Promise((_=>{_(E())})).then((()=>{throw _})))))},function(_,E,I){var k,N=I(47),L=I(156),$=I(68);function a(){G&&(G=!1,L.forEach((function(_){try{process.removeListener(_,R[_])}catch(_){}})),process.emit=q,process.reallyExit=W,k.count-=1)}function c(_,E,I){k.emitted[_]||(k.emitted[_]=!0,k.emit(_,E,I))}"function"!=typeof $&&($=$.EventEmitter),process.__signal_exit_emitter__?k=process.__signal_exit_emitter__:((k=process.__signal_exit_emitter__=new $).count=0,k.emitted={}),k.infinite||(k.setMaxListeners(1/0),k.infinite=!0),_.exports=function(_,E){N.equal(typeof _,"function","a callback must be provided for exit handler"),!1===G&&f();var I="exit";E&&E.alwaysLast&&(I="afterexit");return k.on(I,_),function(){k.removeListener(I,_),0===k.listeners("exit").length&&0===k.listeners("afterexit").length&&a()}},_.exports.unload=a;var R={};L.forEach((function(_){R[_]=function(){process.listeners(_).length===k.count&&(a(),c("exit",null,_),c("afterexit",null,_),process.kill(process.pid,_))}})),_.exports.signals=function(){return L},_.exports.load=f;var G=!1;function f(){G||(G=!0,k.count+=1,L=L.filter((function(_){try{return process.on(_,R[_]),!0}catch(_){return!1}})),process.emit=m,process.reallyExit=h)}var W=process.reallyExit;function h(_){process.exitCode=_||0,c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),W.call(process,process.exitCode)}var q=process.emit;function m(_,E){if("exit"===_){void 0!==E&&(process.exitCode=E);var I=q.apply(this,arguments);return c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),I}return q.apply(this,arguments)}},function(_,E){_.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&_.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&_.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},function(_,E,I){"use strict";const k=I(30);let N;if("function"==typeof k.getSystemErrorName)_.exports=k.getSystemErrorName;else{try{if("function"!=typeof(N=process.binding("uv")).errname)throw new TypeError("uv.errname is not a function")}catch(_){console.error("execa/lib/errname: unable to establish process.binding('uv')",_),N=null}_.exports=_=>i(N,_)}function i(_,E){if(_)return _.errname(E);if(!(E<0))throw new Error("err >= 0");return`Unknown system error ${E}`}_.exports.__test__=i},function(_,E,I){"use strict";const k=["stdin","stdout","stderr"];_.exports=_=>{if(!_)return null;if(_.stdio&&(_=>k.some((E=>Boolean(_[E]))))(_))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${k.map((_=>`\`${_}\``)).join(", ")}`);if("string"==typeof _.stdio)return _.stdio;const E=_.stdio||[];if(!Array.isArray(E))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof E}\``);const I=[],N=Math.max(E.length,k.length);for(let L=0;L<N;L++){let N=null;void 0!==E[L]?N=E[L]:void 0!==_[k[L]]&&(N=_[k[L]]),I[L]=N}return I}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getBazelInfo:function(){return k.log("trace","getBazelInfo"),Promise.all([k.run("bazel --version").then(k.findVersion),k.run("which bazel")]).then((function(_){return k.determineFound("Bazel",_[0],_[1])}))},getCMakeInfo:function(){return k.log("trace","getCMakeInfo"),Promise.all([k.run("cmake --version").then(k.findVersion),k.run("which cmake")]).then((function(_){return k.determineFound("CMake",_[0],_[1])}))},getGCCInfo:function(){return k.log("trace","getGCCInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("gcc -v 2>&1").then(k.findVersion),k.run("which gcc")]).then((function(_){return k.determineFound("GCC",_[0],_[1])})):Promise.resolve(["GCC","N/A"])},getClangInfo:function(){return k.log("trace","getClangInfo"),Promise.all([k.run("clang --version").then(k.findVersion),k.which("clang")]).then((function(_){return k.determineFound("Clang",_[0],_[1])}))},getGitInfo:function(){return k.log("trace","getGitInfo"),Promise.all([k.run("git --version").then(k.findVersion),k.run("which git")]).then((function(_){return k.determineFound("Git",_[0],_[1])}))},getMakeInfo:function(){return k.log("trace","getMakeInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("make --version").then(k.findVersion),k.run("which make")]).then((function(_){return k.determineFound("Make",_[0],_[1])})):Promise.resolve(["Make","N/A"])},getNinjaInfo:function(){return k.log("trace","getNinjaInfo"),Promise.all([k.run("ninja --version").then(k.findVersion),k.run("which ninja")]).then((function(_){return k.determineFound("Ninja",_[0],_[1])}))},getMercurialInfo:function(){return k.log("trace","getMercurialInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("hg --version").then(k.findVersion),k.run("which hg")]).then((function(_){return k.determineFound("Mercurial",_[0],_[1])})):Promise.resolve(["Mercurial","N/A"])},getSubversionInfo:function(){return k.log("trace","getSubversionInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("svn --version").then(k.findVersion),k.run("which svn")]).then((function(_){return k.determineFound("Subversion",_[0],_[1])})):Promise.resolve(["Subversion","N/A"])},getFFmpegInfo:function(){return k.log("trace","getFFmpegInfo"),Promise.all([k.run("ffmpeg -version").then(k.findVersion),k.which("ffmpeg")]).then((function(_){return k.determineFound("FFmpeg",_[0],_[1])}))}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getDockerInfo:function(){return k.log("trace","getDockerInfo"),Promise.all([k.run("docker --version").then(k.findVersion),k.which("docker")]).then((function(_){return k.determineFound("Docker",_[0],_[1])}))},getParallelsInfo:function(){return k.log("trace","getParallelsInfo"),Promise.all([k.run("prlctl --version").then(k.findVersion),k.which("prlctl")]).then((function(_){return k.determineFound("Parallels",_[0],_[1])}))},getVirtualBoxInfo:function(){return k.log("trace","getVirtualBoxInfo"),Promise.all([k.run("vboxmanage --version").then(k.findVersion),k.which("vboxmanage")]).then((function(_){return k.determineFound("VirtualBox",_[0],_[1])}))},getVMwareFusionInfo:function(){return k.log("trace","getVMwareFusionInfo"),k.getDarwinApplicationVersion("com.vmware.fusion").then((function(_){return k.determineFound("VMWare Fusion",_,"N/A")}))}}},function(_,E,I){"use strict";I(162),I(64),I(22),I(16),I(21),I(74);var k=I(163),N=I(1);function i(_,E){return N.log("trace","clean",_),Object.keys(_).reduce((function(I,k){return!E.showNotFound&&"Not Found"===_[k]||"N/A"===_[k]||void 0===_[k]||0===Object.keys(_[k]).length?I:N.isObject(_[k])?Object.values(_[k]).every((function(_){return"N/A"===_||!E.showNotFound&&"Not Found"===_}))?I:Object.assign(I,{[k]:i(_[k],E)}):Object.assign(I,{[k]:_[k]})}),{})}function s(_,E){N.log("trace","formatHeaders"),E||(E={type:"underline"});var I={underline:["",""]};return _.slice().split("\n").map((function(_){if(":"===_.slice("-1")){var k=_.match(/^[\s]*/g)[0];return`${k}${I[E.type][0]}${_.slice(k.length)}${I[E.type][1]}`}return _})).join("\n")}function a(_){return N.log("trace","formatPackages"),_.npmPackages?Object.assign(_,{npmPackages:Object.entries(_.npmPackages||{}).reduce((function(_,E){var I=E[0],k=E[1];if("Not Found"===k)return Object.assign(_,{[I]:k});var N=k.wanted?`${k.wanted} =>`:"",L=Array.isArray(k.installed)?k.installed.join(", "):k.installed,$=k.duplicates?`(${k.duplicates.join(", ")})`:"";return Object.assign(_,{[I]:`${N} ${L} ${$}`})}),{})}):_}function c(_,E,I){return I||(I={emptyMessage:"None"}),Array.isArray(E)&&(E=E.length>0?E.join(", "):I.emptyMessage),{[_]:E}}function u(_){return N.log("trace","serializeArrays"),function e(_,E){return Object.entries(_).reduce((function(_,I){var k=I[0],L=I[1];return N.isObject(L)?Object.assign(_,{[k]:e(L,E)}):Object.assign(_,E(k,L))}),{})}(_,c)}function l(_){return N.log("trace","serializeVersionsAndPaths"),Object.entries(_).reduce((function(_,E){return Object.assign(_,{[E[0]]:Object.entries(E[1]).reduce((function(_,E){var I=E[0],k=E[1];return k.version?Object.assign(_,{[I]:[k.version,k.path].filter(Boolean).join(" - ")}):Object.assign(_,{[I]:[k][0]})}),{})},{})}),{})}function f(_){return k(_,{indent:" ",prefix:"\n",postfix:"\n"})}function p(_){return _.slice().split("\n").map((function(_){if(""!==_){var E=":"===_.slice("-1"),I=_.search(/\S|$/);return E?`${"#".repeat(I/2+1)} `+_.slice(I):" - "+_.slice(I)}return""})).join("\n")}function h(_,E){return E||(E={indent:" "}),JSON.stringify(_,null,E.indent)}_.exports={json:function(_,E){return N.log("trace","formatToJson"),E||(E={}),_=N.pipe([function(){return i(_,E)},E.title?function(_){return{[E.title]:_}}:N.noop,h])(_),_=E.console?`\n${_}\n`:_},markdown:function(_,E){return N.log("trace","formatToMarkdown"),N.pipe([function(){return i(_,E)},a,u,l,f,p,E.title?function(_){return`\n# ${E.title}${_}`}:N.noop])(_,E)},yaml:function(_,E){return N.log("trace","formatToYaml",E),N.pipe([function(){return i(_,E)},a,u,l,E.title?function(_){return{[E.title]:_}}:N.noop,f,E.console?s:N.noop])(_,E)}}},function(_,E,I){I(28)("search",1,(function(_,E,I){return[function(I){"use strict";var k=_(this),N=null==I?void 0:I[E];return void 0!==N?N.call(I,k):new RegExp(I)[E](String(k))},I]}))},function(_,E,I){"use strict";var k=I(164),N=I(165),L=I(169),$=["object","array"];_.exports=function(_,E){var I=N(E),R=I.colors,G=I.prefix,W=I.postfix,q=I.dateToString,U=I.errorToString,H=I.indent,ie=new Map;function d(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===Object.keys(_).length)return" {}";var N="\n",R=L(E,H);return Object.keys(_).forEach((function(G){var W=_[G],q=k(W),U=L(I," "),H=-1!==$.indexOf(q)?"":" ",ie=v(W)?" [Circular]":g(q,W,E+1,I);N+=`${U}${R}${G}:${H}${ie}\n`})),N.substring(0,N.length-1)}function m(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===_.length)return" []";var N="\n",$=L(E,H);return _.forEach((function(_){var R=k(_),G=L(I," "),W=v(_)?"[Circular]":g(R,_,E,I+1).toString().trimLeft();N+=`${G}${$}- ${W}\n`})),N.substring(0,N.length-1)}function g(_,E,I,k){switch(_){case"array":return m(E,I,k);case"object":return d(E,I,k);case"string":return R.string(E);case"symbol":return R.symbol(E.toString());case"number":return R.number(E);case"boolean":return R.boolean(E);case"null":return R.null("null");case"undefined":return R.undefined("undefined");case"date":return R.date(q(E));case"error":return R.error(U(E));default:return E&&E.toString?E.toString():Object.prototype.toString.call(E)}}function v(_){return-1!==["object","array"].indexOf(k(_))&&(!!ie.has(_)||(ie.set(_),!1))}var pe="";return ie.set(_),"object"===k(_)&&Object.keys(_).length>0?pe=d(_):"array"===k(_)&&_.length>0&&(pe=m(_)),0===pe.length?"":`${G}${pe.slice(1)}${W}`}},function(_,E,I){"use strict";_.exports=function(_){return Array.isArray(_)?"array":_ instanceof Date?"date":_ instanceof Error?"error":null===_?"null":"object"==typeof _&&"[object Object]"===Object.prototype.toString.call(_)?"object":typeof _}},function(_,E,I){"use strict";var k=I(166),N=I(167),L=I(168),$=" ",R="\n",G="";function u(_,E){return void 0===_?E:_}_.exports=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{indent:u(_.indent,$),prefix:u(_.prefix,R),postfix:u(_.postfix,G),errorToString:_.errorToString||k,dateToString:_.dateToString||N,colors:Object.assign({},L,_.colors)}}},function(_,E,I){"use strict";_.exports=function(_){return Error.prototype.toString.call(_)}},function(_,E,I){"use strict";_.exports=function(_){return`new Date(${Date.prototype.toISOString.call(_)})`}},function(_,E,I){"use strict";function r(_){return _}_.exports={date:r,error:r,symbol:r,string:r,number:r,boolean:r,null:r,undefined:r}},function(_,E,I){"use strict";_.exports=function(){for(var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",I="",k=0;k<_;k+=1)I+=E;return I}},function(_,E,I){"use strict";_.exports={defaults:{System:["OS","CPU","Memory","Container","Shell"],Binaries:["Node","Yarn","npm","Watchman"],Managers:["Apt","Cargo","CocoaPods","Composer","Gradle","Homebrew","Maven","pip2","pip3","RubyGems","Yum"],Utilities:["Bazel","CMake","Make","GCC","Git","Clang","Ninja","Mercurial","Subversion","FFmpeg"],Servers:["Apache","Nginx"],Virtualization:["Docker","Parallels","VirtualBox","VMware Fusion"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Atom","Emacs","IntelliJ","NVim","Nano","PhpStorm","Sublime Text","VSCode","Visual Studio","Vim","WebStorm","Xcode"],Languages:["Bash","Go","Elixir","Erlang","Java","Perl","PHP","Protoc","Python","Python3","R","Ruby","Rust","Scala"],Databases:["MongoDB","MySQL","PostgreSQL","SQLite"],Browsers:["Brave Browser","Chrome","Chrome Canary","Chromium","Edge","Firefox","Firefox Developer Edition","Firefox Nightly","Internet Explorer","Safari","Safari Technology Preview"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:null,npmGlobalPackages:null},jest:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:["jest"]},"react-native":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","Watchman"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Xcode","Visual Studio"],npmPackages:["react","react-native"],npmGlobalPackages:["react-native-cli"]},nyc:{System:["OS","CPU","Memory"],Binaries:["Node","Yarn","npm"],npmPackages:"/**/{*babel*,@babel/*/,*istanbul*,nyc,source-map-support,typescript,ts-node}"},webpack:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:"*webpack*",npmGlobalPackages:["webpack","webpack-cli"]},"styled-components":{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],Browsers:["Chrome","Firefox","Safari"],npmPackages:"*styled-components*"},"create-react-app":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-dom","react-scripts"],npmGlobalPackages:["create-react-app"],options:{duplicates:!0,showNotFound:!0}},apollo:{System:["OS"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Firefox","Safari"],npmPackages:"{*apollo*,@apollo/*}",npmGlobalPackages:"{*apollo*,@apollo/*}"},"react-native-web":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-native-web"],options:{showNotFound:!0}},babel:{System:["OS"],Binaries:["Node","npm","Yarn"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:"{*babel*,@babel/*,eslint,webpack,create-react-app,react-native,lerna,jest}"},playwright:{System:["OS","Memory","Container"],Binaries:["Node","Yarn","npm"],Languages:["Bash"],npmPackages:"playwright*"}}}])},491:E=>{E.exports=_(import.meta.url)("assert")},81:E=>{E.exports=_(import.meta.url)("child_process")},361:E=>{E.exports=_(import.meta.url)("events")},147:E=>{E.exports=_(import.meta.url)("fs")},37:E=>{E.exports=_(import.meta.url)("os")},17:E=>{E.exports=_(import.meta.url)("path")},781:E=>{E.exports=_(import.meta.url)("stream")},837:E=>{E.exports=_(import.meta.url)("util")},598:_=>{_.exports=JSON.parse('{"name":"expo-env-info","version":"1.0.4","preferGlobal":true,"type":"module","keywords":["expo","ios","expo-env-info","android"],"description":"Fetch Expo project information for GitHub issue diagnostics","repository":{"type":"git","url":"https://github.com/expo/expo-cli.git","directory":"packages/expo-env-info"},"author":"Expo <support@expo.dev>","license":"MIT","bin":{"expo-env-info":"./build/index.js"},"files":["build"],"scripts":{"prepare":"yarn run clean && yarn run build:prod","lint":"eslint .","watch":"yarn run build -w","test":"jest","build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"rimraf ./build/"},"devDependencies":{"@types/envinfo":"^7.8.1"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"dependencies":{"envinfo":"^7.8.1"}}')}};var I={};function __nccwpck_require__(_){var k=I[_];if(k!==undefined){return k.exports}var N=I[_]={exports:{}};var L=true;try{E[_](N,N.exports,__nccwpck_require__);L=false}finally{if(L)delete I[_]}return N.exports}(()=>{__nccwpck_require__.n=_=>{var E=_&&_.__esModule?()=>_["default"]:()=>_;__nccwpck_require__.d(E,{a:E});return E}})();(()=>{__nccwpck_require__.d=(_,E)=>{for(var I in E){if(__nccwpck_require__.o(E,I)&&!__nccwpck_require__.o(_,I)){Object.defineProperty(_,I,{enumerable:true,get:E[I]})}}}})();(()=>{__nccwpck_require__.o=(_,E)=>Object.prototype.hasOwnProperty.call(_,E)})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var k={};(()=>{var _=__nccwpck_require__(147);var E=__nccwpck_require__(17);var I=__nccwpck_require__.n(E);var k=__nccwpck_require__(152);var N=__nccwpck_require__.n(k);async function*walk(E){for await(const k of await _.promises.readdir(E,{withFileTypes:true})){const _=I().join(E,k.name);if(k.isDirectory()||k.isSymbolicLink()){yield _;yield*walk(_)}else if(k.isFile()){yield _}}}async function findFile(E,k){return _.promises.access(E,_.constants.F_OK).then((async()=>{for await(const _ of walk(E)){if(I().extname(_)===k)return true}return false})).catch((()=>false))}const L=__nccwpck_require__(598);function getEnvironmentInfoAsync(){return N().run({System:["OS","Shell"],Binaries:["Node","Yarn","npm","Watchman"],IDEs:["Xcode","Android Studio"],Managers:["CocoaPods"],SDKs:["iOS SDK","Android SDK"],npmPackages:["expo","react","react-dom","react-native","react-native-web","react-navigation","@expo/webpack-config","@expo/metro-config","babel-preset-expo","metro"],npmGlobalPackages:["expo-cli","eas-cli"]},{title:`expo-env-info ${L.version} environment info`})}async function isInsideProjectAsync(E){try{await _.promises.access(I().join(E||process.cwd(),"./package.json"),_.constants.F_OK);return true}catch(_){return false}}async function isBareWorkflowProject(_){const E=await findFile(I().join(_,"ios"),".xcodeproj");const k=await findFile(I().join(_,"android"),".gradle");return E||k}async function actionAsync(_){process.chdir(_!==null&&_!==void 0?_:process.cwd());const E=await getEnvironmentInfoAsync();const I=E.split("\n");if(await isInsideProjectAsync(_)){const E=await isBareWorkflowProject(_)?"bare":"managed";I.pop();I.push(` Expo Workflow: ${E}`)}console.log(I.join("\n")+"\n")}const packageJson=()=>__nccwpck_require__(598);async function run(){var E;const k=process.argv.slice(2);if(k.some((_=>["-V","-v","--version"].includes(_)))){logVersionAndExit()}if(k.some((_=>["-h","--help"].includes(_)))){logHelpAndExit()}const N=I().resolve(process.cwd(),(E=k[0])!==null&&E!==void 0?E:process.cwd());await _.promises.access(N,_.constants.F_OK).catch((_=>{if(_){console.error(`Project directory ${N} does not exist`);process.exit(1)}}));await actionAsync(N)}function logVersionAndExit(){console.log(packageJson().version);process.exit(0)}function logHelpAndExit(){console.log(`\n Usage: npx expo-env-info [path] [options]\n\n Log environment info to the console\n\n Options:\n\n -h, --help output usage information\n -v, --version output the version number`);process.exit(0)}run()})();
2
+ import{createRequire as _}from"module";var E={152:(_,E,I)=>{_.exports=function(_){var E={};function n(I){if(E[I])return E[I].exports;var k=E[I]={i:I,l:!1,exports:{}};return _[I].call(k.exports,k,k.exports,n),k.l=!0,k.exports}return n.m=_,n.c=E,n.d=function(_,E,I){n.o(_,E)||Object.defineProperty(_,E,{enumerable:!0,get:I})},n.r=function(_){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})},n.t=function(_,E){if(1&E&&(_=n(_)),8&E)return _;if(4&E&&"object"==typeof _&&_&&_.__esModule)return _;var I=Object.create(null);if(n.r(I),Object.defineProperty(I,"default",{enumerable:!0,value:_}),2&E&&"string"!=typeof _)for(var k in _)n.d(I,k,function(E){return _[E]}.bind(null,k));return I},n.n=function(_){var E=_&&_.__esModule?function(){return _.default}:function(){return _};return n.d(E,"a",E),E},n.o=function(_,E){return Object.prototype.hasOwnProperty.call(_,E)},n.p="",n(n.s=78)}([function(_,E){_.exports=I(17)},function(_,E,I){"use strict";I(22),I(101),I(21),I(103),I(114),I(16),I(27),I(74),I(116),I(2);var k=I(0),N=I(5),L=I(17),$=I(49),R=I(76),G=I(45),W=I(121),l=function(_){var E=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).unify,I=void 0!==E&&E;return new Promise((function(E){$.exec(_,{stdio:[0,"pipe","ignore"]},(function(_,k,N){var L="";L=I?k.toString()+N.toString():k.toString(),E((_?"":L).trim())}))}))},f=function(_){var E=Object.values(Array.prototype.slice.call(arguments).slice(1));(process.env.ENVINFO_DEBUG||"").toLowerCase()===_&&console.log(_,JSON.stringify(E))},p=function(_){return new Promise((function(E){N.readFile(_,"utf8",(function(_,I){return E(I||null)}))}))},h=function(_){return p(_).then((function(_){return _?JSON.parse(_):null}))},q=/\d+\.[\d+|.]+/g,m=function(_){f("trace","findDarwinApplication",_);var E=`mdfind "kMDItemCFBundleIdentifier=='${_}'"`;return f("trace",E),l(E).then((function(_){return _.replace(/(\s)/g,"\\ ")}))},g=function(_,E){var I=(E||["CFBundleShortVersionString"]).map((function(_){return"-c Print:"+_}));return["/usr/libexec/PlistBuddy"].concat(I).concat([_]).join(" ")},v=function(_,E){for(var I=[],k=null;null!==(k=_.exec(E));)I.push(k);return I};_.exports={run:l,log:f,fileExists:function(_){return new Promise((function(E){N.stat(_,(function(I){return E(I?null:_)}))}))},readFile:p,requireJson:h,versionRegex:q,findDarwinApplication:m,generatePlistBuddyCommand:g,matchAll:v,parseSDKManagerOutput:function(_){var E=_.split("Available")[0];return{apiLevels:v(W.androidAPILevels,E).map((function(_){return _[1]})),buildTools:v(W.androidBuildTools,E).map((function(_){return _[1]})),systemImages:v(W.androidSystemImages,E).map((function(_){return _[1].split("|").map((function(_){return _.trim()}))})).map((function(_){return _[0].split(";")[0]+" | "+_[2].split(" System Image")[0]}))}},isLinux:"linux"===process.platform,isMacOS:"darwin"===process.platform,NA:"N/A",NotFound:"Not Found",isWindows:process.platform.startsWith("win"),isObject:function(_){return"object"==typeof _&&!Array.isArray(_)},noop:function(_){return _},pipe:function(_){return function(E){return _.reduce((function(_,E){return E(_)}),E)}},browserBundleIdentifiers:{"Brave Browser":"com.brave.Browser",Chrome:"com.google.Chrome","Chrome Canary":"com.google.Chrome.canary",Firefox:"org.mozilla.firefox","Firefox Developer Edition":"org.mozilla.firefoxdeveloperedition","Firefox Nightly":"org.mozilla.nightly","Microsoft Edge":"com.microsoft.edgemac",Safari:"com.apple.Safari","Safari Technology Preview":"com.apple.SafariTechnologyPreview"},ideBundleIdentifiers:{Atom:"com.github.atom",IntelliJ:"com.jetbrains.intellij",PhpStorm:"com.jetbrains.PhpStorm","Sublime Text":"com.sublimetext.3",WebStorm:"com.jetbrains.WebStorm"},runSync:function(_){return($.execSync(_,{stdio:[0,"pipe","ignore"]}).toString()||"").trim()},which:function(_){return new Promise((function(E){return R(_,(function(_,I){return E(I)}))}))},getDarwinApplicationVersion:function(_){var E;return f("trace","getDarwinApplicationVersion",_),E="darwin"!==process.platform?"N/A":m(_).then((function(_){return l(g(k.join(_,"Contents","Info.plist"),["CFBundleShortVersionString"]))})),Promise.resolve(E)},uniq:function(_){return Array.from(new Set(_))},toReadableBytes:function(_){var E=Math.floor(Math.log(_)/Math.log(1024));return _?(_/Math.pow(1024,E)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB"][E]:"0 Bytes"},omit:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)<0})).reduce((function(E,I){return Object.assign(E,{[I]:_[I]})}),{})},pick:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)>=0})).reduce((function(E,I){return Object.assign(E,{[I]:_[I]})}),{})},getPackageJsonByName:function(_){return h(k.join(process.cwd(),"node_modules",_,"package.json"))},getPackageJsonByPath:function(_){return h(k.join(process.cwd(),_))},getPackageJsonByFullPath:function(_){return f("trace","getPackageJsonByFullPath",_),h(_)},getAllPackageJsonPaths:function(_){return f("trace","getAllPackageJsonPaths",_),new Promise((function(E){var n=function(_,I){return E(I.map(k.normalize)||[])};return G(_?k.join("node_modules",_,"package.json"):k.join("node_modules","**","package.json"),n)}))},sortObject:function(_){return Object.keys(_).sort().reduce((function(E,I){return E[I]=_[I],E}),{})},findVersion:function(_,E,I){f("trace","findVersion",_,E,I);var k=I||0,N=E||q,L=_.match(N);return L?L[k]:_},condensePath:function(_){return(_||"").replace(L.homedir(),"~")},determineFound:function(_,E,I){return f("trace","determineFound",_,E,I),"N/A"===E?Promise.resolve([_,"N/A"]):E&&0!==Object.keys(E).length?I?Promise.resolve([_,E,I]):Promise.resolve([_,E]):Promise.resolve([_,"Not Found"])}}},function(_,E,I){"use strict";var k,N,L,$,R=I(36),G=I(4),W=I(12),q=I(56),U=I(8),H=I(6),ie=I(19),pe=I(37),he=I(38),de=I(81),me=I(60).set,ge=I(83)(),ve=I(62),ye=I(84),be=I(85),we=I(86),xe=G.TypeError,Se=G.process,_e=Se&&Se.versions,Pe=_e&&_e.v8||"",Oe=G.Promise,je="process"==q(Se),A=function(){},Ee=N=ve.f,Ie=!!function(){try{var _=Oe.resolve(1),E=(_.constructor={})[I(3)("species")]=function(_){_(A,A)};return(je||"function"==typeof PromiseRejectionEvent)&&_.then(A)instanceof E&&0!==Pe.indexOf("6.6")&&-1===be.indexOf("Chrome/66")}catch(_){}}(),F=function(_){var E;return!(!H(_)||"function"!=typeof(E=_.then))&&E},C=function(_,E){if(!_._n){_._n=!0;var I=_._c;ge((function(){for(var k=_._v,N=1==_._s,L=0,s=function(E){var I,L,$,R=N?E.ok:E.fail,G=E.resolve,W=E.reject,q=E.domain;try{R?(N||(2==_._h&&V(_),_._h=1),!0===R?I=k:(q&&q.enter(),I=R(k),q&&(q.exit(),$=!0)),I===E.promise?W(xe("Promise-chain cycle")):(L=F(I))?L.call(I,G,W):G(I)):W(k)}catch(_){q&&!$&&q.exit(),W(_)}};I.length>L;)s(I[L++]);_._c=[],_._n=!1,E&&!_._h&&M(_)}))}},M=function(_){me.call(G,(function(){var E,I,k,N=_._v,L=T(_);if(L&&(E=ye((function(){je?Se.emit("unhandledRejection",N,_):(I=G.onunhandledrejection)?I({promise:_,reason:N}):(k=G.console)&&k.error&&k.error("Unhandled promise rejection",N)})),_._h=je||T(_)?2:1),_._a=void 0,L&&E.e)throw E.v}))},T=function(_){return 1!==_._h&&0===(_._a||_._c).length},V=function(_){me.call(G,(function(){var E;je?Se.emit("rejectionHandled",_):(E=G.onrejectionhandled)&&E({promise:_,reason:_._v})}))},D=function(_){var E=this;E._d||(E._d=!0,(E=E._w||E)._v=_,E._s=2,E._a||(E._a=E._c.slice()),C(E,!0))},B=function(_){var E,I=this;if(!I._d){I._d=!0,I=I._w||I;try{if(I===_)throw xe("Promise can't be resolved itself");(E=F(_))?ge((function(){var k={_w:I,_d:!1};try{E.call(_,W(B,k,1),W(D,k,1))}catch(_){D.call(k,_)}})):(I._v=_,I._s=1,C(I,!1))}catch(_){D.call({_w:I,_d:!1},_)}}};Ie||(Oe=function(_){pe(this,Oe,"Promise","_h"),ie(_),k.call(this);try{_(W(B,this,1),W(D,this,1))}catch(_){D.call(this,_)}},(k=function(_){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=I(40)(Oe.prototype,{then:function(_,E){var I=Ee(de(this,Oe));return I.ok="function"!=typeof _||_,I.fail="function"==typeof E&&E,I.domain=je?Se.domain:void 0,this._c.push(I),this._a&&this._a.push(I),this._s&&C(this,!1),I.promise},catch:function(_){return this.then(void 0,_)}}),L=function(){var _=new k;this.promise=_,this.resolve=W(B,_,1),this.reject=W(D,_,1)},ve.f=Ee=function(_){return _===Oe||_===$?new L(_):N(_)}),U(U.G+U.W+U.F*!Ie,{Promise:Oe}),I(26)(Oe,"Promise"),I(63)("Promise"),$=I(18).Promise,U(U.S+U.F*!Ie,"Promise",{reject:function(_){var E=Ee(this);return(0,E.reject)(_),E.promise}}),U(U.S+U.F*(R||!Ie),"Promise",{resolve:function(_){return we(R&&this===$?Oe:this,_)}}),U(U.S+U.F*!(Ie&&I(41)((function(_){Oe.all(_).catch(A)}))),"Promise",{all:function(_){var E=this,I=Ee(E),k=I.resolve,N=I.reject,L=ye((function(){var I=[],L=0,$=1;he(_,!1,(function(_){var R=L++,G=!1;I.push(void 0),$++,E.resolve(_).then((function(_){G||(G=!0,I[R]=_,--$||k(I))}),N)})),--$||k(I)}));return L.e&&N(L.v),I.promise},race:function(_){var E=this,I=Ee(E),k=I.reject,N=ye((function(){he(_,!1,(function(_){E.resolve(_).then(I.resolve,k)}))}));return N.e&&k(N.v),I.promise}})},function(_,E,I){var k=I(55)("wks"),N=I(24),L=I(4).Symbol,$="function"==typeof L;(_.exports=function(_){return k[_]||(k[_]=$&&L[_]||($?L:N)("Symbol."+_))}).store=k},function(_,E){var I=_.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=I)},function(_,E){_.exports=I(147)},function(_,E){_.exports=function(_){return"object"==typeof _?null!==_:"function"==typeof _}},function(_,E,I){var k=I(6);_.exports=function(_){if(!k(_))throw TypeError(_+" is not an object!");return _}},function(_,E,I){var k=I(4),N=I(18),L=I(13),$=I(14),R=I(12),c=function(_,E,I){var G,W,q,U,H=_&c.F,ie=_&c.G,pe=_&c.S,he=_&c.P,de=_&c.B,me=ie?k:pe?k[E]||(k[E]={}):(k[E]||{}).prototype,ge=ie?N:N[E]||(N[E]={}),ve=ge.prototype||(ge.prototype={});for(G in ie&&(I=E),I)q=((W=!H&&me&&void 0!==me[G])?me:I)[G],U=de&&W?R(q,k):he&&"function"==typeof q?R(Function.call,q):q,me&&$(me,G,q,_&c.U),ge[G]!=q&&L(ge,G,U),he&&ve[G]!=q&&(ve[G]=q)};k.core=N,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,_.exports=c},function(_,E,I){_.exports=!I(10)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(_,E){_.exports=function(_){try{return!!_()}catch(_){return!0}}},function(_,E,I){var k=I(7),N=I(50),L=I(51),$=Object.defineProperty;E.f=I(9)?Object.defineProperty:function(_,E,I){if(k(_),E=L(E,!0),k(I),N)try{return $(_,E,I)}catch(_){}if("get"in I||"set"in I)throw TypeError("Accessors not supported!");return"value"in I&&(_[E]=I.value),_}},function(_,E,I){var k=I(19);_.exports=function(_,E,I){if(k(_),void 0===E)return _;switch(I){case 1:return function(I){return _.call(E,I)};case 2:return function(I,k){return _.call(E,I,k)};case 3:return function(I,k,N){return _.call(E,I,k,N)}}return function(){return _.apply(E,arguments)}}},function(_,E,I){var k=I(11),N=I(23);_.exports=I(9)?function(_,E,I){return k.f(_,E,N(1,I))}:function(_,E,I){return _[E]=I,_}},function(_,E,I){var k=I(4),N=I(13),L=I(15),$=I(24)("src"),R=Function.toString,G=(""+R).split("toString");I(18).inspectSource=function(_){return R.call(_)},(_.exports=function(_,E,I,R){var W="function"==typeof I;W&&(L(I,"name")||N(I,"name",E)),_[E]!==I&&(W&&(L(I,$)||N(I,$,_[E]?""+_[E]:G.join(String(E)))),_===k?_[E]=I:R?_[E]?_[E]=I:N(_,E,I):(delete _[E],N(_,E,I)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[$]||R.call(this)}))},function(_,E){var I={}.hasOwnProperty;_.exports=function(_,E){return I.call(_,E)}},function(_,E,I){I(28)("split",2,(function(_,E,k){"use strict";var N=I(92),L=k,$=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var R=void 0===/()??/.exec("")[1];k=function(_,E){var I=String(this);if(void 0===_&&0===E)return[];if(!N(_))return L.call(I,_,E);var k,G,W,q,U,H=[],ie=(_.ignoreCase?"i":"")+(_.multiline?"m":"")+(_.unicode?"u":"")+(_.sticky?"y":""),pe=0,he=void 0===E?4294967295:E>>>0,de=new RegExp(_.source,ie+"g");for(R||(k=new RegExp("^"+de.source+"$(?!\\s)",ie));(G=de.exec(I))&&!((W=G.index+G[0].length)>pe&&(H.push(I.slice(pe,G.index)),!R&&G.length>1&&G[0].replace(k,(function(){for(U=1;U<arguments.length-2;U++)void 0===arguments[U]&&(G[U]=void 0)})),G.length>1&&G.index<I.length&&$.apply(H,G.slice(1)),q=G[0].length,pe=W,H.length>=he));)de.lastIndex===G.index&&de.lastIndex++;return pe===I.length?!q&&de.test("")||H.push(""):H.push(I.slice(pe)),H.length>he?H.slice(0,he):H}}else"0".split(void 0,0).length&&(k=function(_,E){return void 0===_&&0===E?[]:L.call(this,_,E)});return[function(I,N){var L=_(this),$=null==I?void 0:I[E];return void 0!==$?$.call(I,L,N):k.call(String(L),I,N)},k]}))},function(_,E){_.exports=I(37)},function(_,E){var I=_.exports={version:"2.5.7"};"number"==typeof __e&&(__e=I)},function(_,E){_.exports=function(_){if("function"!=typeof _)throw TypeError(_+" is not a function!");return _}},function(_,E){var I={}.toString;_.exports=function(_){return I.call(_).slice(8,-1)}},function(_,E,I){var k=I(8);k(k.S+k.F,"Object",{assign:I(88)})},function(_,E,I){I(28)("match",1,(function(_,E,I){return[function(I){"use strict";var k=_(this),N=null==I?void 0:I[E];return void 0!==N?N.call(I,k):new RegExp(I)[E](String(k))},I]}))},function(_,E){_.exports=function(_,E){return{enumerable:!(1&_),configurable:!(2&_),writable:!(4&_),value:E}}},function(_,E){var I=0,k=Math.random();_.exports=function(_){return"Symbol(".concat(void 0===_?"":_,")_",(++I+k).toString(36))}},function(_,E,I){var k=I(53),N=I(34);_.exports=function(_){return k(N(_))}},function(_,E,I){var k=I(11).f,N=I(15),L=I(3)("toStringTag");_.exports=function(_,E,I){_&&!N(_=I?_:_.prototype,L)&&k(_,L,{configurable:!0,value:E})}},function(_,E,I){I(28)("replace",2,(function(_,E,I){return[function(k,N){"use strict";var L=_(this),$=null==k?void 0:k[E];return void 0!==$?$.call(k,L,N):I.call(String(L),k,N)},I]}))},function(_,E,I){"use strict";var k=I(13),N=I(14),L=I(10),$=I(34),R=I(3);_.exports=function(_,E,I){var G=R(_),W=I($,G,""[_]),q=W[0],U=W[1];L((function(){var E={};return E[G]=function(){return 7},7!=""[_](E)}))&&(N(String.prototype,_,q),k(RegExp.prototype,G,2==E?function(_,E){return U.call(_,this,E)}:function(_){return U.call(_,this)}))}},function(_,E,I){var k=I(34);_.exports=function(_){return Object(k(_))}},function(_,E){_.exports=I(837)},function(_,E,I){var k=I(70);function o(_){var t=function(){return t.called?t.value:(t.called=!0,t.value=_.apply(this,arguments))};return t.called=!1,t}function i(_){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=_.apply(this,arguments)},E=_.name||"Function wrapped with `once`";return t.onceError=E+" shouldn't be called more than once",t.called=!1,t}_.exports=k(o),_.exports.strict=k(i),o.proto=o((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return o(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})}))},function(_,E,I){"use strict";var k=I(8),N=I(52)(!0);k(k.P,"Array",{includes:function(_){return N(this,_,arguments.length>1?arguments[1]:void 0)}}),I(80)("includes")},function(_,E,I){var k=I(6),N=I(4).document,L=k(N)&&k(N.createElement);_.exports=function(_){return L?N.createElement(_):{}}},function(_,E){_.exports=function(_){if(null==_)throw TypeError("Can't call method on "+_);return _}},function(_,E,I){var k=I(54),N=Math.min;_.exports=function(_){return _>0?N(k(_),9007199254740991):0}},function(_,E){_.exports=!1},function(_,E){_.exports=function(_,E,I,k){if(!(_ instanceof E)||void 0!==k&&k in _)throw TypeError(I+": incorrect invocation!");return _}},function(_,E,I){var k=I(12),N=I(57),L=I(58),$=I(7),R=I(35),G=I(59),W={},q={};(E=_.exports=function(_,E,I,U,H){var ie,pe,he,de,me=H?function(){return _}:G(_),ge=k(I,U,E?2:1),ve=0;if("function"!=typeof me)throw TypeError(_+" is not iterable!");if(L(me)){for(ie=R(_.length);ie>ve;ve++)if((de=E?ge($(pe=_[ve])[0],pe[1]):ge(_[ve]))===W||de===q)return de}else for(he=me.call(_);!(pe=he.next()).done;)if((de=N(he,ge,pe.value,E))===W||de===q)return de}).BREAK=W,E.RETURN=q},function(_,E){_.exports={}},function(_,E,I){var k=I(14);_.exports=function(_,E,I){for(var N in E)k(_,N,E[N],I);return _}},function(_,E,I){var k=I(3)("iterator"),N=!1;try{var L=[7][k]();L.return=function(){N=!0},Array.from(L,(function(){throw 2}))}catch(_){}_.exports=function(_,E){if(!E&&!N)return!1;var I=!1;try{var L=[7],$=L[k]();$.next=function(){return{done:I=!0}},L[k]=function(){return $},_(L)}catch(_){}return I}},function(_,E,I){var k=I(87),N=I(66);_.exports=Object.keys||function(_){return k(_,N)}},function(_,E,I){var k=I(55)("keys"),N=I(24);_.exports=function(_){return k[_]||(k[_]=N(_))}},function(_,E){E.f={}.propertyIsEnumerable},function(_,E,I){_.exports=b;var k=I(5),N=I(67),L=I(46),$=(L.Minimatch,I(97)),R=I(68).EventEmitter,G=I(0),W=I(47),q=I(48),U=I(99),H=I(69),ie=(H.alphasort,H.alphasorti,H.setopts),pe=H.ownProp,he=I(100),de=(I(30),H.childrenIgnored),me=H.isIgnored,ge=I(31);function b(_,E,I){if("function"==typeof E&&(I=E,E={}),E||(E={}),E.sync){if(I)throw new TypeError("callback provided to sync glob");return U(_,E)}return new x(_,E,I)}b.sync=U;var ve=b.GlobSync=U.GlobSync;function x(_,E,I){if("function"==typeof E&&(I=E,E=null),E&&E.sync){if(I)throw new TypeError("callback provided to sync glob");return new ve(_,E)}if(!(this instanceof x))return new x(_,E,I);ie(this,_,E),this._didRealPath=!1;var k=this.minimatch.set.length;this.matches=new Array(k),"function"==typeof I&&(I=ge(I),this.on("error",I),this.on("end",(function(_){I(null,_)})));var N=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===k)return a();for(var L=!0,$=0;$<k;$++)this._process(this.minimatch.set[$],$,!1,a);function a(){--N._processing,N._processing<=0&&(L?process.nextTick((function(){N._finish()})):N._finish())}L=!1}b.glob=b,b.hasMagic=function(_,E){var I=function(_,E){if(null===E||"object"!=typeof E)return _;for(var I=Object.keys(E),k=I.length;k--;)_[I[k]]=E[I[k]];return _}({},E);I.noprocess=!0;var k=new x(_,I).minimatch.set;if(!_)return!1;if(k.length>1)return!0;for(var N=0;N<k[0].length;N++)if("string"!=typeof k[0][N])return!0;return!1},b.Glob=x,$(x,R),x.prototype._finish=function(){if(W(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();H.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var _=this.matches.length;if(0===_)return this._finish();for(var E=this,I=0;I<this.matches.length;I++)this._realpathSet(I,r)}function r(){0==--_&&E._finish()}},x.prototype._realpathSet=function(_,E){var I=this.matches[_];if(!I)return E();var k=Object.keys(I),L=this,$=k.length;if(0===$)return E();var R=this.matches[_]=Object.create(null);k.forEach((function(I,k){I=L._makeAbs(I),N.realpath(I,L.realpathCache,(function(k,N){k?"stat"===k.syscall?R[I]=!0:L.emit("error",k):R[N]=!0,0==--$&&(L.matches[_]=R,E())}))}))},x.prototype._mark=function(_){return H.mark(this,_)},x.prototype._makeAbs=function(_){return H.makeAbs(this,_)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var _=this._emitQueue.slice(0);this._emitQueue.length=0;for(var E=0;E<_.length;E++){var I=_[E];this._emitMatch(I[0],I[1])}}if(this._processQueue.length){var k=this._processQueue.slice(0);this._processQueue.length=0;for(E=0;E<k.length;E++){var N=k[E];this._processing--,this._process(N[0],N[1],N[2],N[3])}}}},x.prototype._process=function(_,E,I,k){if(W(this instanceof x),W("function"==typeof k),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([_,E,I,k]);else{for(var N,$=0;"string"==typeof _[$];)$++;switch($){case _.length:return void this._processSimple(_.join("/"),E,k);case 0:N=null;break;default:N=_.slice(0,$).join("/")}var R,G=_.slice($);null===N?R=".":q(N)||q(_.join("/"))?(N&&q(N)||(N="/"+N),R=N):R=N;var U=this._makeAbs(R);if(de(this,R))return k();G[0]===L.GLOBSTAR?this._processGlobStar(N,R,U,G,E,I,k):this._processReaddir(N,R,U,G,E,I,k)}},x.prototype._processReaddir=function(_,E,I,k,N,L,$){var R=this;this._readdir(I,L,(function(G,W){return R._processReaddir2(_,E,I,k,N,L,W,$)}))},x.prototype._processReaddir2=function(_,E,I,k,N,L,$,R){if(!$)return R();for(var W=k[0],q=!!this.minimatch.negate,U=W._glob,H=this.dot||"."===U.charAt(0),ie=[],pe=0;pe<$.length;pe++){if("."!==(de=$[pe]).charAt(0)||H)(q&&!_?!de.match(W):de.match(W))&&ie.push(de)}var he=ie.length;if(0===he)return R();if(1===k.length&&!this.mark&&!this.stat){this.matches[N]||(this.matches[N]=Object.create(null));for(pe=0;pe<he;pe++){var de=ie[pe];_&&(de="/"!==_?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=G.join(this.root,de)),this._emitMatch(N,de)}return R()}k.shift();for(pe=0;pe<he;pe++){de=ie[pe];_&&(de="/"!==_?_+"/"+de:_+de),this._process([de].concat(k),N,L,R)}R()},x.prototype._emitMatch=function(_,E){if(!this.aborted&&!me(this,E))if(this.paused)this._emitQueue.push([_,E]);else{var I=q(E)?E:this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=I),!this.matches[_][E]){if(this.nodir){var k=this.cache[I];if("DIR"===k||Array.isArray(k))return}this.matches[_][E]=!0;var N=this.statCache[I];N&&this.emit("stat",E,N),this.emit("match",E)}}},x.prototype._readdirInGlobStar=function(_,E){if(!this.aborted){if(this.follow)return this._readdir(_,!1,E);var I=this,N=he("lstat\0"+_,(function(k,N){if(k&&"ENOENT"===k.code)return E();var L=N&&N.isSymbolicLink();I.symlinks[_]=L,L||!N||N.isDirectory()?I._readdir(_,!1,E):(I.cache[_]="FILE",E())}));N&&k.lstat(_,N)}},x.prototype._readdir=function(_,E,I){if(!this.aborted&&(I=he("readdir\0"+_+"\0"+E,I))){if(E&&!pe(this.symlinks,_))return this._readdirInGlobStar(_,I);if(pe(this.cache,_)){var N=this.cache[_];if(!N||"FILE"===N)return I();if(Array.isArray(N))return I(null,N)}k.readdir(_,function(_,E,I){return function(k,N){k?_._readdirError(E,k,I):_._readdirEntries(E,N,I)}}(this,_,I))}},x.prototype._readdirEntries=function(_,E,I){if(!this.aborted){if(!this.mark&&!this.stat)for(var k=0;k<E.length;k++){var N=E[k];N="/"===_?_+N:_+"/"+N,this.cache[N]=!0}return this.cache[_]=E,I(null,E)}},x.prototype._readdirError=function(_,E,I){if(!this.aborted){switch(E.code){case"ENOTSUP":case"ENOTDIR":var k=this._makeAbs(_);if(this.cache[k]="FILE",k===this.cwdAbs){var N=new Error(E.code+" invalid cwd "+this.cwd);N.path=this.cwd,N.code=E.code,this.emit("error",N),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:this.cache[this._makeAbs(_)]=!1,this.strict&&(this.emit("error",E),this.abort()),this.silent||console.error("glob error",E)}return I()}},x.prototype._processGlobStar=function(_,E,I,k,N,L,$){var R=this;this._readdir(I,L,(function(G,W){R._processGlobStar2(_,E,I,k,N,L,W,$)}))},x.prototype._processGlobStar2=function(_,E,I,k,N,L,$,R){if(!$)return R();var G=k.slice(1),W=_?[_]:[],q=W.concat(G);this._process(q,N,!1,R);var U=this.symlinks[I],H=$.length;if(U&&L)return R();for(var ie=0;ie<H;ie++){if("."!==$[ie].charAt(0)||this.dot){var pe=W.concat($[ie],G);this._process(pe,N,!0,R);var he=W.concat($[ie],k);this._process(he,N,!0,R)}}R()},x.prototype._processSimple=function(_,E,I){var k=this;this._stat(_,(function(N,L){k._processSimple2(_,E,N,L,I)}))},x.prototype._processSimple2=function(_,E,I,k,N){if(this.matches[E]||(this.matches[E]=Object.create(null)),!k)return N();if(_&&q(_)&&!this.nomount){var L=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=G.join(this.root,_):(_=G.resolve(this.root,_),L&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_),N()},x.prototype._stat=function(_,E){var I=this._makeAbs(_),N="/"===_.slice(-1);if(_.length>this.maxLength)return E();if(!this.stat&&pe(this.cache,I)){var L=this.cache[I];if(Array.isArray(L)&&(L="DIR"),!N||"DIR"===L)return E(null,L);if(N&&"FILE"===L)return E()}var $=this.statCache[I];if(void 0!==$){if(!1===$)return E(null,$);var R=$.isDirectory()?"DIR":"FILE";return N&&"FILE"===R?E():E(null,R,$)}var G=this,W=he("stat\0"+I,(function(N,L){if(L&&L.isSymbolicLink())return k.stat(I,(function(k,N){k?G._stat2(_,I,null,L,E):G._stat2(_,I,k,N,E)}));G._stat2(_,I,N,L,E)}));W&&k.lstat(I,W)},x.prototype._stat2=function(_,E,I,k,N){if(I&&("ENOENT"===I.code||"ENOTDIR"===I.code))return this.statCache[E]=!1,N();var L="/"===_.slice(-1);if(this.statCache[E]=k,"/"===E.slice(-1)&&k&&!k.isDirectory())return N(null,!1,k);var $=!0;return k&&($=k.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||$,L&&"FILE"===$?N():N(null,$,k)}},function(_,E,I){_.exports=d,d.Minimatch=m;var k={sep:"/"};try{k=I(0)}catch(_){}var N=d.GLOBSTAR=m.GLOBSTAR={},L=I(94),$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},R="[^/]",G=R+"*?",W="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",q="(?:(?!(?:\\/|^)\\.).)*?",U="().*{}+?[]^$\\!".split("").reduce((function(_,E){return _[E]=!0,_}),{});var H=/\/+/;function h(_,E){_=_||{},E=E||{};var I={};return Object.keys(E).forEach((function(_){I[_]=E[_]})),Object.keys(_).forEach((function(E){I[E]=_[E]})),I}function d(_,E,I){if("string"!=typeof E)throw new TypeError("glob pattern string required");return I||(I={}),!(!I.nocomment&&"#"===E.charAt(0))&&(""===E.trim()?""===_:new m(E,I).match(_))}function m(_,E){if(!(this instanceof m))return new m(_,E);if("string"!=typeof _)throw new TypeError("glob pattern string required");E||(E={}),_=_.trim(),"/"!==k.sep&&(_=_.split(k.sep).join("/")),this.options=E,this.set=[],this.pattern=_,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function g(_,E){if(E||(E=this instanceof m?this.options:{}),void 0===(_=void 0===_?this.pattern:_))throw new TypeError("undefined pattern");return E.nobrace||!_.match(/\{.*\}/)?[_]:L(_)}d.filter=function(_,E){return E=E||{},function(I,k,N){return d(I,_,E)}},d.defaults=function(_){if(!_||!Object.keys(_).length)return d;var E=d,n=function(I,k,N){return E.minimatch(I,k,h(_,N))};return n.Minimatch=function(I,k){return new E.Minimatch(I,h(_,k))},n},m.defaults=function(_){return _&&Object.keys(_).length?d.defaults(_).Minimatch:m},m.prototype.debug=function(){},m.prototype.make=function(){if(this._made)return;var _=this.pattern,E=this.options;if(!E.nocomment&&"#"===_.charAt(0))return void(this.comment=!0);if(!_)return void(this.empty=!0);this.parseNegate();var I=this.globSet=this.braceExpand();E.debug&&(this.debug=console.error);this.debug(this.pattern,I),I=this.globParts=I.map((function(_){return _.split(H)})),this.debug(this.pattern,I),I=I.map((function(_,E,I){return _.map(this.parse,this)}),this),this.debug(this.pattern,I),I=I.filter((function(_){return-1===_.indexOf(!1)})),this.debug(this.pattern,I),this.set=I},m.prototype.parseNegate=function(){var _=this.pattern,E=!1,I=this.options,k=0;if(I.nonegate)return;for(var N=0,L=_.length;N<L&&"!"===_.charAt(N);N++)E=!E,k++;k&&(this.pattern=_.substr(k));this.negate=E},d.braceExpand=function(_,E){return g(_,E)},m.prototype.braceExpand=g,m.prototype.parse=function(_,E){if(_.length>65536)throw new TypeError("pattern is too long");var I=this.options;if(!I.noglobstar&&"**"===_)return N;if(""===_)return"";var k,L="",W=!!I.nocase,q=!1,H=[],pe=[],he=!1,de=-1,me=-1,ge="."===_.charAt(0)?"":I.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",ve=this;function w(){if(k){switch(k){case"*":L+=G,W=!0;break;case"?":L+=R,W=!0;break;default:L+="\\"+k}ve.debug("clearStateChar %j %j",k,L),k=!1}}for(var ye,be=0,we=_.length;be<we&&(ye=_.charAt(be));be++)if(this.debug("%s\t%s %s %j",_,be,L,ye),q&&U[ye])L+="\\"+ye,q=!1;else switch(ye){case"/":return!1;case"\\":w(),q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",_,be,L,ye),he){this.debug(" in class"),"!"===ye&&be===me+1&&(ye="^"),L+=ye;continue}ve.debug("call clearStateChar %j",k),w(),k=ye,I.noext&&w();continue;case"(":if(he){L+="(";continue}if(!k){L+="\\(";continue}H.push({type:k,start:be-1,reStart:L.length,open:$[k].open,close:$[k].close}),L+="!"===k?"(?:(?!(?:":"(?:",this.debug("plType %j %j",k,L),k=!1;continue;case")":if(he||!H.length){L+="\\)";continue}w(),W=!0;var xe=H.pop();L+=xe.close,"!"===xe.type&&pe.push(xe),xe.reEnd=L.length;continue;case"|":if(he||!H.length||q){L+="\\|",q=!1;continue}w(),L+="|";continue;case"[":if(w(),he){L+="\\"+ye;continue}he=!0,me=be,de=L.length,L+=ye;continue;case"]":if(be===me+1||!he){L+="\\"+ye,q=!1;continue}if(he){var Se=_.substring(me+1,be);try{RegExp("["+Se+"]")}catch(_){var _e=this.parse(Se,ie);L=L.substr(0,de)+"\\["+_e[0]+"\\]",W=W||_e[1],he=!1;continue}}W=!0,he=!1,L+=ye;continue;default:w(),q?q=!1:!U[ye]||"^"===ye&&he||(L+="\\"),L+=ye}he&&(Se=_.substr(me+1),_e=this.parse(Se,ie),L=L.substr(0,de)+"\\["+_e[0],W=W||_e[1]);for(xe=H.pop();xe;xe=H.pop()){var Pe=L.slice(xe.reStart+xe.open.length);this.debug("setting tail",L,xe),Pe=Pe.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(_,E,I){return I||(I="\\"),E+E+I+"|"})),this.debug("tail=%j\n %s",Pe,Pe,xe,L);var Oe="*"===xe.type?G:"?"===xe.type?R:"\\"+xe.type;W=!0,L=L.slice(0,xe.reStart)+Oe+"\\("+Pe}w(),q&&(L+="\\\\");var je=!1;switch(L.charAt(0)){case".":case"[":case"(":je=!0}for(var Ee=pe.length-1;Ee>-1;Ee--){var Ie=pe[Ee],Ae=L.slice(0,Ie.reStart),ke=L.slice(Ie.reStart,Ie.reEnd-8),Ne=L.slice(Ie.reEnd-8,Ie.reEnd),Fe=L.slice(Ie.reEnd);Ne+=Fe;var Ce=Ae.split("(").length-1,Me=Fe;for(be=0;be<Ce;be++)Me=Me.replace(/\)[+*?]?/,"");var Te="";""===(Fe=Me)&&E!==ie&&(Te="$");var Ve=Ae+ke+Fe+Te+Ne;L=Ve}""!==L&&W&&(L="(?=.)"+L);je&&(L=ge+L);if(E===ie)return[L,W];if(!W)return _.replace(/\\(.)/g,"$1");var De=I.nocase?"i":"";try{var Be=new RegExp("^"+L+"$",De)}catch(_){return new RegExp("$.")}return Be._glob=_,Be._src=L,Be};var ie={};d.makeRe=function(_,E){return new m(_,E||{}).makeRe()},m.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var _=this.set;if(!_.length)return this.regexp=!1,this.regexp;var E=this.options,I=E.noglobstar?G:E.dot?W:q,k=E.nocase?"i":"",L=_.map((function(_){return _.map((function(_){return _===N?I:"string"==typeof _?_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):_._src})).join("\\/")})).join("|");L="^(?:"+L+")$",this.negate&&(L="^(?!"+L+").*$");try{this.regexp=new RegExp(L,k)}catch(_){this.regexp=!1}return this.regexp},d.match=function(_,E,I){var k=new m(E,I=I||{});return _=_.filter((function(_){return k.match(_)})),k.options.nonull&&!_.length&&_.push(E),_},m.prototype.match=function(_,E){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return""===_;if("/"===_&&E)return!0;var I=this.options;"/"!==k.sep&&(_=_.split(k.sep).join("/"));_=_.split(H),this.debug(this.pattern,"split",_);var N,L,$=this.set;for(this.debug(this.pattern,"set",$),L=_.length-1;L>=0&&!(N=_[L]);L--);for(L=0;L<$.length;L++){var R=$[L],G=_;I.matchBase&&1===R.length&&(G=[N]);var W=this.matchOne(G,R,E);if(W)return!!I.flipNegate||!this.negate}return!I.flipNegate&&this.negate},m.prototype.matchOne=function(_,E,I){var k=this.options;this.debug("matchOne",{this:this,file:_,pattern:E}),this.debug("matchOne",_.length,E.length);for(var L=0,$=0,R=_.length,G=E.length;L<R&&$<G;L++,$++){this.debug("matchOne loop");var W,q=E[$],U=_[L];if(this.debug(E,q,U),!1===q)return!1;if(q===N){this.debug("GLOBSTAR",[E,q,U]);var H=L,ie=$+1;if(ie===G){for(this.debug("** at the end");L<R;L++)if("."===_[L]||".."===_[L]||!k.dot&&"."===_[L].charAt(0))return!1;return!0}for(;H<R;){var pe=_[H];if(this.debug("\nglobstar while",_,H,E,ie,pe),this.matchOne(_.slice(H),E.slice(ie),I))return this.debug("globstar found match!",H,R,pe),!0;if("."===pe||".."===pe||!k.dot&&"."===pe.charAt(0)){this.debug("dot detected!",_,H,E,ie);break}this.debug("globstar swallow a segment, and continue"),H++}return!(!I||(this.debug("\n>>> no match, partial?",_,H,E,ie),H!==R))}if("string"==typeof q?(W=k.nocase?U.toLowerCase()===q.toLowerCase():U===q,this.debug("string match",q,U,W)):(W=U.match(q),this.debug("pattern match",q,U,W)),!W)return!1}if(L===R&&$===G)return!0;if(L===R)return I;if($===G)return L===R-1&&""===_[L];throw new Error("wtf?")}},function(_,E){_.exports=I(491)},function(_,E,I){"use strict";function r(_){return"/"===_.charAt(0)}function o(_){var E=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(_),I=E[1]||"",k=Boolean(I&&":"!==I.charAt(1));return Boolean(E[2]||k)}_.exports="win32"===process.platform?o:r,_.exports.posix=r,_.exports.win32=o},function(_,E){_.exports=I(81)},function(_,E,I){_.exports=!I(9)&&!I(10)((function(){return 7!=Object.defineProperty(I(33)("div"),"a",{get:function(){return 7}}).a}))},function(_,E,I){var k=I(6);_.exports=function(_,E){if(!k(_))return _;var I,N;if(E&&"function"==typeof(I=_.toString)&&!k(N=I.call(_)))return N;if("function"==typeof(I=_.valueOf)&&!k(N=I.call(_)))return N;if(!E&&"function"==typeof(I=_.toString)&&!k(N=I.call(_)))return N;throw TypeError("Can't convert object to primitive value")}},function(_,E,I){var k=I(25),N=I(35),L=I(79);_.exports=function(_){return function(E,I,$){var R,G=k(E),W=N(G.length),q=L($,W);if(_&&I!=I){for(;W>q;)if((R=G[q++])!=R)return!0}else for(;W>q;q++)if((_||q in G)&&G[q]===I)return _||q||0;return!_&&-1}}},function(_,E,I){var k=I(20);_.exports=Object("z").propertyIsEnumerable(0)?Object:function(_){return"String"==k(_)?_.split(""):Object(_)}},function(_,E){var I=Math.ceil,k=Math.floor;_.exports=function(_){return isNaN(_=+_)?0:(_>0?k:I)(_)}},function(_,E,I){var k=I(18),N=I(4),L=N["__core-js_shared__"]||(N["__core-js_shared__"]={});(_.exports=function(_,E){return L[_]||(L[_]=void 0!==E?E:{})})("versions",[]).push({version:k.version,mode:I(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(_,E,I){var k=I(20),N=I(3)("toStringTag"),L="Arguments"==k(function(){return arguments}());_.exports=function(_){var E,I,$;return void 0===_?"Undefined":null===_?"Null":"string"==typeof(I=function(_,E){try{return _[E]}catch(_){}}(E=Object(_),N))?I:L?k(E):"Object"==($=k(E))&&"function"==typeof E.callee?"Arguments":$}},function(_,E,I){var k=I(7);_.exports=function(_,E,I,N){try{return N?E(k(I)[0],I[1]):E(I)}catch(E){var L=_.return;throw void 0!==L&&k(L.call(_)),E}}},function(_,E,I){var k=I(39),N=I(3)("iterator"),L=Array.prototype;_.exports=function(_){return void 0!==_&&(k.Array===_||L[N]===_)}},function(_,E,I){var k=I(56),N=I(3)("iterator"),L=I(39);_.exports=I(18).getIteratorMethod=function(_){if(null!=_)return _[N]||_["@@iterator"]||L[k(_)]}},function(_,E,I){var k,N,L,$=I(12),R=I(82),G=I(61),W=I(33),q=I(4),U=q.process,H=q.setImmediate,ie=q.clearImmediate,pe=q.MessageChannel,he=q.Dispatch,de=0,me={},y=function(){var _=+this;if(me.hasOwnProperty(_)){var E=me[_];delete me[_],E()}},b=function(_){y.call(_.data)};H&&ie||(H=function(_){for(var E=[],I=1;arguments.length>I;)E.push(arguments[I++]);return me[++de]=function(){R("function"==typeof _?_:Function(_),E)},k(de),de},ie=function(_){delete me[_]},"process"==I(20)(U)?k=function(_){U.nextTick($(y,_,1))}:he&&he.now?k=function(_){he.now($(y,_,1))}:pe?(L=(N=new pe).port2,N.port1.onmessage=b,k=$(L.postMessage,L,1)):q.addEventListener&&"function"==typeof postMessage&&!q.importScripts?(k=function(_){q.postMessage(_+"","*")},q.addEventListener("message",b,!1)):k="onreadystatechange"in W("script")?function(_){G.appendChild(W("script")).onreadystatechange=function(){G.removeChild(this),y.call(_)}}:function(_){setTimeout($(y,_,1),0)}),_.exports={set:H,clear:ie}},function(_,E,I){var k=I(4).document;_.exports=k&&k.documentElement},function(_,E,I){"use strict";var k=I(19);function o(_){var E,I;this.promise=new _((function(_,k){if(void 0!==E||void 0!==I)throw TypeError("Bad Promise constructor");E=_,I=k})),this.resolve=k(E),this.reject=k(I)}_.exports.f=function(_){return new o(_)}},function(_,E,I){"use strict";var k=I(4),N=I(11),L=I(9),$=I(3)("species");_.exports=function(_){var E=k[_];L&&E&&!E[$]&&N.f(E,$,{configurable:!0,get:function(){return this}})}},function(_,E,I){var k=I(8),N=I(65)(!0);k(k.S,"Object",{entries:function(_){return N(_)}})},function(_,E,I){var k=I(42),N=I(25),L=I(44).f;_.exports=function(_){return function(E){for(var I,$=N(E),R=k($),G=R.length,W=0,q=[];G>W;)L.call($,I=R[W++])&&q.push(_?[I,$[I]]:$[I]);return q}}},function(_,E){_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(_,E,I){_.exports=l,l.realpath=l,l.sync=f,l.realpathSync=f,l.monkeypatch=function(){k.realpath=l,k.realpathSync=f},l.unmonkeypatch=function(){k.realpath=N,k.realpathSync=L};var k=I(5),N=k.realpath,L=k.realpathSync,$=process.version,R=/^v[0-5]\./.test($),G=I(93);function u(_){return _&&"realpath"===_.syscall&&("ELOOP"===_.code||"ENOMEM"===_.code||"ENAMETOOLONG"===_.code)}function l(_,E,I){if(R)return N(_,E,I);"function"==typeof E&&(I=E,E=null),N(_,E,(function(k,N){u(k)?G.realpath(_,E,I):I(k,N)}))}function f(_,E){if(R)return L(_,E);try{return L(_,E)}catch(I){if(u(I))return G.realpathSync(_,E);throw I}}},function(_,E){_.exports=I(361)},function(_,E,I){function r(_,E){return Object.prototype.hasOwnProperty.call(_,E)}E.alphasort=u,E.alphasorti=c,E.setopts=function(_,E,I){I||(I={});if(I.matchBase&&-1===E.indexOf("/")){if(I.noglobstar)throw new Error("base matching requires globstar");E="**/"+E}_.silent=!!I.silent,_.pattern=E,_.strict=!1!==I.strict,_.realpath=!!I.realpath,_.realpathCache=I.realpathCache||Object.create(null),_.follow=!!I.follow,_.dot=!!I.dot,_.mark=!!I.mark,_.nodir=!!I.nodir,_.nodir&&(_.mark=!0);_.sync=!!I.sync,_.nounique=!!I.nounique,_.nonull=!!I.nonull,_.nosort=!!I.nosort,_.nocase=!!I.nocase,_.stat=!!I.stat,_.noprocess=!!I.noprocess,_.absolute=!!I.absolute,_.maxLength=I.maxLength||1/0,_.cache=I.cache||Object.create(null),_.statCache=I.statCache||Object.create(null),_.symlinks=I.symlinks||Object.create(null),function(_,E){_.ignore=E.ignore||[],Array.isArray(_.ignore)||(_.ignore=[_.ignore]);_.ignore.length&&(_.ignore=_.ignore.map(l))}(_,I),_.changedCwd=!1;var N=process.cwd();r(I,"cwd")?(_.cwd=k.resolve(I.cwd),_.changedCwd=_.cwd!==N):_.cwd=N;_.root=I.root||k.resolve(_.cwd,"/"),_.root=k.resolve(_.root),"win32"===process.platform&&(_.root=_.root.replace(/\\/g,"/"));_.cwdAbs=L(_.cwd)?_.cwd:f(_,_.cwd),"win32"===process.platform&&(_.cwdAbs=_.cwdAbs.replace(/\\/g,"/"));_.nomount=!!I.nomount,I.nonegate=!0,I.nocomment=!0,_.minimatch=new $(E,I),_.options=_.minimatch.options},E.ownProp=r,E.makeAbs=f,E.finish=function(_){for(var E=_.nounique,I=E?[]:Object.create(null),k=0,N=_.matches.length;k<N;k++){var L=_.matches[k];if(L&&0!==Object.keys(L).length){var $=Object.keys(L);E?I.push.apply(I,$):$.forEach((function(_){I[_]=!0}))}else if(_.nonull){var R=_.minimatch.globSet[k];E?I.push(R):I[R]=!0}}E||(I=Object.keys(I));_.nosort||(I=I.sort(_.nocase?c:u));if(_.mark){for(var k=0;k<I.length;k++)I[k]=_._mark(I[k]);_.nodir&&(I=I.filter((function(E){var I=!/\/$/.test(E),k=_.cache[E]||_.cache[f(_,E)];return I&&k&&(I="DIR"!==k&&!Array.isArray(k)),I})))}_.ignore.length&&(I=I.filter((function(E){return!p(_,E)})));_.found=I},E.mark=function(_,E){var I=f(_,E),k=_.cache[I],N=E;if(k){var L="DIR"===k||Array.isArray(k),$="/"===E.slice(-1);if(L&&!$?N+="/":!L&&$&&(N=N.slice(0,-1)),N!==E){var R=f(_,N);_.statCache[R]=_.statCache[I],_.cache[R]=_.cache[I]}}return N},E.isIgnored=p,E.childrenIgnored=function(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return!(!_.gmatcher||!_.gmatcher.match(E))}))};var k=I(0),N=I(46),L=I(48),$=N.Minimatch;function c(_,E){return _.toLowerCase().localeCompare(E.toLowerCase())}function u(_,E){return _.localeCompare(E)}function l(_){var E=null;if("/**"===_.slice(-3)){var I=_.replace(/(\/\*\*)+$/,"");E=new $(I,{dot:!0})}return{matcher:new $(_,{dot:!0}),gmatcher:E}}function f(_,E){var I=E;return I="/"===E.charAt(0)?k.join(_.root,E):L(E)||""===E?E:_.changedCwd?k.resolve(_.cwd,E):k.resolve(E),"win32"===process.platform&&(I=I.replace(/\\/g,"/")),I}function p(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return _.matcher.match(E)||!(!_.gmatcher||!_.gmatcher.match(E))}))}},function(_,E){_.exports=function e(_,E){if(_&&E)return e(_)(E);if("function"!=typeof _)throw new TypeError("need wrapper function");Object.keys(_).forEach((function(E){r[E]=_[E]}));return r;function r(){for(var E=new Array(arguments.length),I=0;I<E.length;I++)E[I]=arguments[I];var k=_.apply(this,E),N=E[E.length-1];return"function"==typeof k&&k!==N&&Object.keys(N).forEach((function(_){k[_]=N[_]})),k}}},function(_,E,I){var k=I(7),N=I(105),L=I(66),$=I(43)("IE_PROTO"),a=function(){},c=function(){var _,E=I(33)("iframe"),k=L.length;for(E.style.display="none",I(61).appendChild(E),E.src="javascript:",(_=E.contentWindow.document).open(),_.write("<script>document.F=Object<\/script>"),_.close(),c=_.F;k--;)delete c.prototype[L[k]];return c()};_.exports=Object.create||function(_,E){var I;return null!==_?(a.prototype=k(_),I=new a,a.prototype=null,I[$]=_):I=c(),void 0===E?I:N(I,E)}},function(_,E,I){var k=I(24)("meta"),N=I(6),L=I(15),$=I(11).f,R=0,G=Object.isExtensible||function(){return!0},W=!I(10)((function(){return G(Object.preventExtensions({}))})),l=function(_){$(_,k,{value:{i:"O"+ ++R,w:{}}})},q=_.exports={KEY:k,NEED:!1,fastKey:function(_,E){if(!N(_))return"symbol"==typeof _?_:("string"==typeof _?"S":"P")+_;if(!L(_,k)){if(!G(_))return"F";if(!E)return"E";l(_)}return _[k].i},getWeak:function(_,E){if(!L(_,k)){if(!G(_))return!0;if(!E)return!1;l(_)}return _[k].w},onFreeze:function(_){return W&&q.NEED&&G(_)&&!L(_,k)&&l(_),_}}},function(_,E,I){var k=I(6);_.exports=function(_,E){if(!k(_)||_._t!==E)throw TypeError("Incompatible receiver, "+E+" required!");return _}},function(_,E,I){var k=I(8),N=I(65)(!1);k(k.S,"Object",{values:function(_){return N(_)}})},function(_,E,I){"use strict";var k=I(7);_.exports=function(){var _=k(this),E="";return _.global&&(E+="g"),_.ignoreCase&&(E+="i"),_.multiline&&(E+="m"),_.unicode&&(E+="u"),_.sticky&&(E+="y"),E}},function(_,E,I){_.exports=u,u.sync=function(_,E){for(var I=c(_,E=E||{}),k=I.env,L=I.ext,R=I.extExe,G=[],W=0,q=k.length;W<q;W++){var U=k[W];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var H=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(H=_.slice(0,2)+H);for(var ie=0,pe=L.length;ie<pe;ie++){var he=H+L[ie];try{if($.sync(he,{pathExt:R})){if(!E.all)return he;G.push(he)}}catch(_){}}}if(E.all&&G.length)return G;if(E.nothrow)return null;throw a(_)};var k="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,N=I(0),L=k?";":":",$=I(118);function a(_){var E=new Error("not found: "+_);return E.code="ENOENT",E}function c(_,E){var I=E.colon||L,N=E.path||process.env.PATH||"",$=[""];N=N.split(I);var R="";return k&&(N.unshift(process.cwd()),$=(R=E.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(I),-1!==_.indexOf(".")&&""!==$[0]&&$.unshift("")),(_.match(/\//)||k&&_.match(/\\/))&&(N=[""]),{env:N,ext:$,extExe:R}}function u(_,E,I){"function"==typeof E&&(I=E,E={});var k=c(_,E),L=k.env,R=k.ext,G=k.extExe,W=[];!function r(k,q){if(k===q)return E.all&&W.length?I(null,W):I(a(_));var U=L[k];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var H=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(H=_.slice(0,2)+H),function e(_,N){if(_===N)return r(k+1,q);var L=R[_];$(H+L,{pathExt:G},(function(k,$){if(!k&&$){if(!E.all)return I(null,H+L);W.push(H+L)}return e(_+1,N)}))}(0,R.length)}(0,L.length)}},function(_,E,I){"use strict";_.exports=_=>{const E=(_=_||{}).env||process.env;return"win32"!==(_.platform||process.platform)?"PATH":Object.keys(E).find((_=>"PATH"===_.toUpperCase()))||"Path"}},function(_,E,I){"use strict";I(32),I(2),I(27),I(64),I(21);var k=I(90),N=I(161),L=I(170),$=I(1);function a(_,E){(E=E||{}).clipboard&&console.log("\n*** Clipboard option removed - use clipboardy or clipboard-cli directly ***\n");var I=Object.keys(_).length>0?_:L.defaults,$=Object.entries(I).reduce((function(_,I){var N=I[0],L=I[1],$=k[`get${N}`];return $?(L&&_.push($(L,E)),_):_=_.concat((L||[]).map((function(_){var E=k[`get${_.replace(/\s/g,"")}Info`];return E?E():Promise.resolve(["Unknown"])})))}),[]);return Promise.all($).then((function(_){var I=_.reduce((function(_,E){return E&&E[0]&&Object.assign(_,{[E[0]]:E}),_}),{});return function(_,E){var I=E.json?N.json:E.markdown?N.markdown:N.yaml;if(E.console){var k=!1;process.stdout.isTTY&&(k=!0),console.log(I(_,Object.assign({},E,{console:k})))}return I(_,Object.assign({},E,{console:!1}))}(Object.entries(L.defaults).reduce((function(_,E){var k=E[0],N=E[1];return I[k]?Object.assign(_,{[k]:I[k][1]}):Object.assign(_,{[k]:(N||[]).reduce((function(_,E){return I[E]?(I[E].shift(),1===I[E].length?Object.assign(_,{[E]:I[E][0]}):Object.assign(_,{[E]:{version:I[E][0],path:I[E][1]}})):_}),{})})}),{}),E)}))}_.exports={cli:function(_){if(_.all)return a(Object.assign({},L.defaults,{npmPackages:!0,npmGlobalPackages:!0}),_);if(_.raw)return a(JSON.parse(_.raw),_);if(_.helper){var E=k[`get${_.helper}`]||k[`get${_.helper}Info`]||k[_.helper];return E?E().then(console.log):console.error("Not Found")}var n=function(_,E){return _.toLowerCase().includes(E.toLowerCase())},I=Object.keys(_).filter((function(_){return Object.keys(L.defaults).some((function(E){return n(E,_)}))})),N=Object.entries(L.defaults).reduce((function(E,k){return I.some((function(_){return n(_,k[0])}))?Object.assign(E,{[k[0]]:k[1]||_[k[0]]}):E}),{});return _.preset?L[_.preset]?a(Object.assign({},$.omit(L[_.preset],["options"]),N),Object.assign({},L[_.preset].options,$.pick(_,["duplicates","fullTree","json","markdown","console"]))):console.error(`\nNo "${_.preset}" preset found.`):a(N,_)},helpers:k,main:a,run:function(_,E){return"string"==typeof _.preset?a(L[_.preset],E):a(_,E)}}},function(_,E,I){var k=I(54),N=Math.max,L=Math.min;_.exports=function(_,E){return(_=k(_))<0?N(_+E,0):L(_,E)}},function(_,E,I){var k=I(3)("unscopables"),N=Array.prototype;null==N[k]&&I(13)(N,k,{}),_.exports=function(_){N[k][_]=!0}},function(_,E,I){var k=I(7),N=I(19),L=I(3)("species");_.exports=function(_,E){var I,$=k(_).constructor;return void 0===$||null==(I=k($)[L])?E:N(I)}},function(_,E){_.exports=function(_,E,I){var k=void 0===I;switch(E.length){case 0:return k?_():_.call(I);case 1:return k?_(E[0]):_.call(I,E[0]);case 2:return k?_(E[0],E[1]):_.call(I,E[0],E[1]);case 3:return k?_(E[0],E[1],E[2]):_.call(I,E[0],E[1],E[2]);case 4:return k?_(E[0],E[1],E[2],E[3]):_.call(I,E[0],E[1],E[2],E[3])}return _.apply(I,E)}},function(_,E,I){var k=I(4),N=I(60).set,L=k.MutationObserver||k.WebKitMutationObserver,$=k.process,R=k.Promise,G="process"==I(20)($);_.exports=function(){var _,E,I,u=function(){var k,N;for(G&&(k=$.domain)&&k.exit();_;){N=_.fn,_=_.next;try{N()}catch(k){throw _?I():E=void 0,k}}E=void 0,k&&k.enter()};if(G)I=function(){$.nextTick(u)};else if(!L||k.navigator&&k.navigator.standalone)if(R&&R.resolve){var W=R.resolve(void 0);I=function(){W.then(u)}}else I=function(){N.call(k,u)};else{var q=!0,U=document.createTextNode("");new L(u).observe(U,{characterData:!0}),I=function(){U.data=q=!q}}return function(k){var N={fn:k,next:void 0};E&&(E.next=N),_||(_=N,I()),E=N}}},function(_,E){_.exports=function(_){try{return{e:!1,v:_()}}catch(_){return{e:!0,v:_}}}},function(_,E,I){var k=I(4).navigator;_.exports=k&&k.userAgent||""},function(_,E,I){var k=I(7),N=I(6),L=I(62);_.exports=function(_,E){if(k(_),N(E)&&E.constructor===_)return E;var I=L.f(_);return(0,I.resolve)(E),I.promise}},function(_,E,I){var k=I(15),N=I(25),L=I(52)(!1),$=I(43)("IE_PROTO");_.exports=function(_,E){var I,R=N(_),G=0,W=[];for(I in R)I!=$&&k(R,I)&&W.push(I);for(;E.length>G;)k(R,I=E[G++])&&(~L(W,I)||W.push(I));return W}},function(_,E,I){"use strict";var k=I(42),N=I(89),L=I(44),$=I(29),R=I(53),G=Object.assign;_.exports=!G||I(10)((function(){var _={},E={},I=Symbol(),k="abcdefghijklmnopqrst";return _[I]=7,k.split("").forEach((function(_){E[_]=_})),7!=G({},_)[I]||Object.keys(G({},E)).join("")!=k}))?function(_,E){for(var I=$(_),G=arguments.length,W=1,q=N.f,U=L.f;G>W;)for(var H,ie=R(arguments[W++]),pe=q?k(ie).concat(q(ie)):k(ie),he=pe.length,de=0;he>de;)U.call(ie,H=pe[de++])&&(I[H]=ie[H]);return I}:G},function(_,E){E.f=Object.getOwnPropertySymbols},function(_,E,I){"use strict";function r(_,E,I){return E in _?Object.defineProperty(_,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):_[E]=I,_}I(21);var k=I(91),N=I(1),L=I(122),$=I(123),R=I(124),G=I(125),W=I(126),q=I(127),U=I(128),H=I(129),ie=I(130),pe=I(131),he=I(159),de=I(160);_.exports=Object.assign({},N,k,function(_){for(var E=1;E<arguments.length;E++){var I=null!=arguments[E]?arguments[E]:{},k=Object.keys(I);"function"==typeof Object.getOwnPropertySymbols&&(k=k.concat(Object.getOwnPropertySymbols(I).filter((function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})))),k.forEach((function(E){r(_,E,I[E])}))}return _}({},L,$,R,G,W,q,U,H,ie,pe,he,de))},function(_,E,I){"use strict";I(22),I(21),I(2),I(32),I(16);var k=I(45),N=I(0),L=I(1),s=function(_){var E=_.split("node_modules"+N.sep),I=E[E.length-1];return"@"===I.charAt(0)?[I.split(N.sep)[0],I.split(N.sep)[1]].join("/"):I.split(N.sep)[0]};_.exports={getnpmPackages:function(_,E){L.log("trace","getnpmPackages"),E||(E={});var I=null,k=null;return"string"==typeof _&&(_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?I=_:_=_.split(",")),Promise.all(["npmPackages",L.getPackageJsonByPath("package.json").then((function(_){return Object.assign({},(_||{}).devDependencies||{},(_||{}).dependencies||{})})).then((function(_){return k=_,E.fullTree||E.duplicates||I?L.getAllPackageJsonPaths(I):Promise.resolve(Object.keys(_||[]).map((function(_){return N.join("node_modules",_,"package.json")})))})).then((function(N){return!I&&"boolean"!=typeof _||E.fullTree?Array.isArray(_)?Promise.resolve((N||[]).filter((function(E){return _.includes(s(E))}))):Promise.resolve(N):Promise.resolve((N||[]).filter((function(_){return Object.keys(k||[]).includes(s(_))})))})).then((function(_){return Promise.all([_,Promise.all(_.map((function(_){return L.getPackageJsonByPath(_)})))])})).then((function(_){var I=_[0],N=_[1].reduce((function(_,k,N){return k&&k.name?(_[k.name]||(_[k.name]={}),E.duplicates&&(_[k.name].duplicates=L.uniq((_[k.name].duplicates||[]).concat(k.version))),1===(I[N].match(/node_modules/g)||[]).length&&(_[k.name].installed=k.version),_):_}),{});return Object.keys(N).forEach((function(_){N[_].duplicates&&N[_].installed&&(N[_].duplicates=N[_].duplicates.filter((function(E){return E!==N[_].installed}))),k[_]&&(N[_].wanted=k[_])})),N})).then((function(I){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){I[_]||(I[_]="Not Found")})),I})).then((function(_){return L.sortObject(_)}))])},getnpmGlobalPackages:function(_,E){L.log("trace","getnpmGlobalPackages",_);var I=null;return"string"==typeof _?_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?I=_:_=_.split(","):Array.isArray(_)||(_=!0),Promise.all(["npmGlobalPackages",L.run("npm get prefix --global").then((function(_){return new Promise((function(E,$){return k(N.join(_,L.isWindows?"":"lib","node_modules",I||"{*,@*/*}","package.json"),(function(_,I){_||E(I),$(_)}))}))})).then((function(E){return Promise.all(E.filter((function(E){return"boolean"==typeof _||null!==I||_.includes(s(E))})).map((function(_){return L.getPackageJsonByFullPath(_)})))})).then((function(_){return _.reduce((function(_,E){return E?Object.assign(_,{[E.name]:E.version}):_}),{})})).then((function(I){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){I[_]||(I[_]="Not Found")})),I}))])}}},function(_,E,I){var k=I(6),N=I(20),L=I(3)("match");_.exports=function(_){var E;return k(_)&&(void 0!==(E=_[L])?!!E:"RegExp"==N(_))}},function(_,E,I){var k=I(0),N="win32"===process.platform,L=I(5),$=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(_){return"function"==typeof _?_:function(){var _;if($){var E=new Error;_=function(_){_&&(E.message=_.message,n(_=E))}}else _=n;return _;function n(_){if(_){if(process.throwDeprecation)throw _;if(!process.noDeprecation){var E="fs: missing callback "+(_.stack||_.message);process.traceDeprecation?console.trace(E):console.error(E)}}}}()}k.normalize;if(N)var R=/(.*?)(?:[\/\\]+|$)/g;else R=/(.*?)(?:[\/]+|$)/g;if(N)var G=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else G=/^[\/]*/;E.realpathSync=function(_,E){if(_=k.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return E[_];var I,$,W,q,U=_,H={},ie={};function d(){var E=G.exec(_);I=E[0].length,$=E[0],W=E[0],q="",N&&!ie[W]&&(L.lstatSync(W),ie[W]=!0)}for(d();I<_.length;){R.lastIndex=I;var pe=R.exec(_);if(q=$,$+=pe[0],W=q+pe[1],I=R.lastIndex,!(ie[W]||E&&E[W]===W)){var he;if(E&&Object.prototype.hasOwnProperty.call(E,W))he=E[W];else{var de=L.lstatSync(W);if(!de.isSymbolicLink()){ie[W]=!0,E&&(E[W]=W);continue}var me=null;if(!N){var ge=de.dev.toString(32)+":"+de.ino.toString(32);H.hasOwnProperty(ge)&&(me=H[ge])}null===me&&(L.statSync(W),me=L.readlinkSync(W)),he=k.resolve(q,me),E&&(E[W]=he),N||(H[ge]=me)}_=k.resolve(he,_.slice(I)),d()}}return E&&(E[U]=_),_},E.realpath=function(_,E,I){if("function"!=typeof I&&(I=a(E),E=null),_=k.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return process.nextTick(I.bind(null,null,E[_]));var $,W,q,U,H=_,ie={},pe={};function g(){var E=G.exec(_);$=E[0].length,W=E[0],q=E[0],U="",N&&!pe[q]?L.lstat(q,(function(_){if(_)return I(_);pe[q]=!0,v()})):process.nextTick(v)}function v(){if($>=_.length)return E&&(E[H]=_),I(null,_);R.lastIndex=$;var k=R.exec(_);return U=W,W+=k[0],q=U+k[1],$=R.lastIndex,pe[q]||E&&E[q]===q?process.nextTick(v):E&&Object.prototype.hasOwnProperty.call(E,q)?w(E[q]):L.lstat(q,y)}function y(_,k){if(_)return I(_);if(!k.isSymbolicLink())return pe[q]=!0,E&&(E[q]=q),process.nextTick(v);if(!N){var $=k.dev.toString(32)+":"+k.ino.toString(32);if(ie.hasOwnProperty($))return b(null,ie[$],q)}L.stat(q,(function(_){if(_)return I(_);L.readlink(q,(function(_,E){N||(ie[$]=E),b(_,E)}))}))}function b(_,N,L){if(_)return I(_);var $=k.resolve(U,N);E&&(E[L]=$),w($)}function w(E){_=k.resolve(E,_.slice($)),g()}g()}},function(_,E,I){var k=I(95),N=I(96);_.exports=function(_){if(!_)return[];"{}"===_.substr(0,2)&&(_="\\{\\}"+_.substr(2));return function e(_,E){var I=[];var L=N("{","}",_);if(!L||/\$$/.test(L.pre))return[_];var $=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(L.body);var G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(L.body);var W=$||G;var q=L.body.indexOf(",")>=0;if(!W&&!q)return L.post.match(/,.*\}/)?(_=L.pre+"{"+L.body+R+L.post,e(_)):[_];var U;if(W)U=L.body.split(/\.\./);else if(1===(U=function e(_){if(!_)return[""];var E=[];var I=N("{","}",_);if(!I)return _.split(",");var k=I.pre;var L=I.body;var $=I.post;var R=k.split(",");R[R.length-1]+="{"+L+"}";var G=e($);$.length&&(R[R.length-1]+=G.shift(),R.push.apply(R,G));E.push.apply(E,R);return E}(L.body)).length&&1===(U=e(U[0],!1).map(p)).length){var H=L.post.length?e(L.post,!1):[""];return H.map((function(_){return L.pre+U[0]+_}))}var ie=L.pre;var H=L.post.length?e(L.post,!1):[""];var pe;if(W){var he=l(U[0]),de=l(U[1]),me=Math.max(U[0].length,U[1].length),ge=3==U.length?Math.abs(l(U[2])):1,ve=d,ye=de<he;ye&&(ge*=-1,ve=m);var be=U.some(h);pe=[];for(var we=he;ve(we,de);we+=ge){var xe;if(G)"\\"===(xe=String.fromCharCode(we))&&(xe="");else if(xe=String(we),be){var Se=me-xe.length;if(Se>0){var _e=new Array(Se+1).join("0");xe=we<0?"-"+_e+xe.slice(1):_e+xe}}pe.push(xe)}}else pe=k(U,(function(_){return e(_,!1)}));for(var Pe=0;Pe<pe.length;Pe++)for(var Oe=0;Oe<H.length;Oe++){var je=ie+pe[Pe]+H[Oe];(!E||W||je)&&I.push(je)}return I}(function(_){return _.split("\\\\").join(L).split("\\{").join($).split("\\}").join(R).split("\\,").join(G).split("\\.").join(W)}(_),!0).map(f)};var L="\0SLASH"+Math.random()+"\0",$="\0OPEN"+Math.random()+"\0",R="\0CLOSE"+Math.random()+"\0",G="\0COMMA"+Math.random()+"\0",W="\0PERIOD"+Math.random()+"\0";function l(_){return parseInt(_,10)==_?parseInt(_,10):_.charCodeAt(0)}function f(_){return _.split(L).join("\\").split($).join("{").split(R).join("}").split(G).join(",").split(W).join(".")}function p(_){return"{"+_+"}"}function h(_){return/^-?0\d/.test(_)}function d(_,E){return _<=E}function m(_,E){return _>=E}},function(_,E){_.exports=function(_,E){for(var k=[],N=0;N<_.length;N++){var L=E(_[N],N);I(L)?k.push.apply(k,L):k.push(L)}return k};var I=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)}},function(_,E,I){"use strict";function r(_,E,I){_ instanceof RegExp&&(_=o(_,I)),E instanceof RegExp&&(E=o(E,I));var k=i(_,E,I);return k&&{start:k[0],end:k[1],pre:I.slice(0,k[0]),body:I.slice(k[0]+_.length,k[1]),post:I.slice(k[1]+E.length)}}function o(_,E){var I=E.match(_);return I?I[0]:null}function i(_,E,I){var k,N,L,$,R,G=I.indexOf(_),W=I.indexOf(E,G+1),q=G;if(G>=0&&W>0){for(k=[],L=I.length;q>=0&&!R;)q==G?(k.push(q),G=I.indexOf(_,q+1)):1==k.length?R=[k.pop(),W]:((N=k.pop())<L&&(L=N,$=W),W=I.indexOf(E,q+1)),q=G<W&&G>=0?G:W;k.length&&(R=[L,$])}return R}_.exports=r,r.range=i},function(_,E,I){try{var k=I(30);if("function"!=typeof k.inherits)throw"";_.exports=k.inherits}catch(E){_.exports=I(98)}},function(_,E){"function"==typeof Object.create?_.exports=function(_,E){_.super_=E,_.prototype=Object.create(E.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}})}:_.exports=function(_,E){_.super_=E;var n=function(){};n.prototype=E.prototype,_.prototype=new n,_.prototype.constructor=_}},function(_,E,I){_.exports=d,d.GlobSync=m;var k=I(5),N=I(67),L=I(46),$=(L.Minimatch,I(45).Glob,I(30),I(0)),R=I(47),G=I(48),W=I(69),q=(W.alphasort,W.alphasorti,W.setopts),U=W.ownProp,H=W.childrenIgnored,ie=W.isIgnored;function d(_,E){if("function"==typeof E||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(_,E).found}function m(_,E){if(!_)throw new Error("must provide pattern");if("function"==typeof E||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(_,E);if(q(this,_,E),this.noprocess)return this;var I=this.minimatch.set.length;this.matches=new Array(I);for(var k=0;k<I;k++)this._process(this.minimatch.set[k],k,!1);this._finish()}m.prototype._finish=function(){if(R(this instanceof m),this.realpath){var _=this;this.matches.forEach((function(E,I){var k=_.matches[I]=Object.create(null);for(var L in E)try{L=_._makeAbs(L),k[N.realpathSync(L,_.realpathCache)]=!0}catch(E){if("stat"!==E.syscall)throw E;k[_._makeAbs(L)]=!0}}))}W.finish(this)},m.prototype._process=function(_,E,I){R(this instanceof m);for(var k,N=0;"string"==typeof _[N];)N++;switch(N){case _.length:return void this._processSimple(_.join("/"),E);case 0:k=null;break;default:k=_.slice(0,N).join("/")}var $,W=_.slice(N);null===k?$=".":G(k)||G(_.join("/"))?(k&&G(k)||(k="/"+k),$=k):$=k;var q=this._makeAbs($);H(this,$)||(W[0]===L.GLOBSTAR?this._processGlobStar(k,$,q,W,E,I):this._processReaddir(k,$,q,W,E,I))},m.prototype._processReaddir=function(_,E,I,k,N,L){var R=this._readdir(I,L);if(R){for(var G=k[0],W=!!this.minimatch.negate,q=G._glob,U=this.dot||"."===q.charAt(0),H=[],ie=0;ie<R.length;ie++){if("."!==(de=R[ie]).charAt(0)||U)(W&&!_?!de.match(G):de.match(G))&&H.push(de)}var pe=H.length;if(0!==pe)if(1!==k.length||this.mark||this.stat){k.shift();for(ie=0;ie<pe;ie++){var he;de=H[ie];he=_?[_,de]:[de],this._process(he.concat(k),N,L)}}else{this.matches[N]||(this.matches[N]=Object.create(null));for(var ie=0;ie<pe;ie++){var de=H[ie];_&&(de="/"!==_.slice(-1)?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=$.join(this.root,de)),this._emitMatch(N,de)}}}},m.prototype._emitMatch=function(_,E){if(!ie(this,E)){var I=this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=I),!this.matches[_][E]){if(this.nodir){var k=this.cache[I];if("DIR"===k||Array.isArray(k))return}this.matches[_][E]=!0,this.stat&&this._stat(E)}}},m.prototype._readdirInGlobStar=function(_){if(this.follow)return this._readdir(_,!1);var E,I;try{I=k.lstatSync(_)}catch(_){if("ENOENT"===_.code)return null}var N=I&&I.isSymbolicLink();return this.symlinks[_]=N,N||!I||I.isDirectory()?E=this._readdir(_,!1):this.cache[_]="FILE",E},m.prototype._readdir=function(_,E){if(E&&!U(this.symlinks,_))return this._readdirInGlobStar(_);if(U(this.cache,_)){var I=this.cache[_];if(!I||"FILE"===I)return null;if(Array.isArray(I))return I}try{return this._readdirEntries(_,k.readdirSync(_))}catch(E){return this._readdirError(_,E),null}},m.prototype._readdirEntries=function(_,E){if(!this.mark&&!this.stat)for(var I=0;I<E.length;I++){var k=E[I];k="/"===_?_+k:_+"/"+k,this.cache[k]=!0}return this.cache[_]=E,E},m.prototype._readdirError=function(_,E){switch(E.code){case"ENOTSUP":case"ENOTDIR":var I=this._makeAbs(_);if(this.cache[I]="FILE",I===this.cwdAbs){var k=new Error(E.code+" invalid cwd "+this.cwd);throw k.path=this.cwd,k.code=E.code,k}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:if(this.cache[this._makeAbs(_)]=!1,this.strict)throw E;this.silent||console.error("glob error",E)}},m.prototype._processGlobStar=function(_,E,I,k,N,L){var $=this._readdir(I,L);if($){var R=k.slice(1),G=_?[_]:[],W=G.concat(R);this._process(W,N,!1);var q=$.length;if(!this.symlinks[I]||!L)for(var U=0;U<q;U++){if("."!==$[U].charAt(0)||this.dot){var H=G.concat($[U],R);this._process(H,N,!0);var ie=G.concat($[U],k);this._process(ie,N,!0)}}}},m.prototype._processSimple=function(_,E){var I=this._stat(_);if(this.matches[E]||(this.matches[E]=Object.create(null)),I){if(_&&G(_)&&!this.nomount){var k=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=$.join(this.root,_):(_=$.resolve(this.root,_),k&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_)}},m.prototype._stat=function(_){var E=this._makeAbs(_),I="/"===_.slice(-1);if(_.length>this.maxLength)return!1;if(!this.stat&&U(this.cache,E)){var N=this.cache[E];if(Array.isArray(N)&&(N="DIR"),!I||"DIR"===N)return N;if(I&&"FILE"===N)return!1}var L=this.statCache[E];if(!L){var $;try{$=k.lstatSync(E)}catch(_){if(_&&("ENOENT"===_.code||"ENOTDIR"===_.code))return this.statCache[E]=!1,!1}if($&&$.isSymbolicLink())try{L=k.statSync(E)}catch(_){L=$}else L=$}this.statCache[E]=L;N=!0;return L&&(N=L.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||N,(!I||"FILE"!==N)&&N},m.prototype._mark=function(_){return W.mark(this,_)},m.prototype._makeAbs=function(_){return W.makeAbs(this,_)}},function(_,E,I){var k=I(70),N=Object.create(null),L=I(31);_.exports=k((function(_,E){return N[_]?(N[_].push(E),null):(N[_]=[E],function(_){return L((function t(){var E=N[_],I=E.length,k=function(_){for(var E=_.length,I=[],k=0;k<E;k++)I[k]=_[k];return I}(arguments);try{for(var L=0;L<I;L++)E[L].apply(null,k)}finally{E.length>I?(E.splice(0,I),process.nextTick((function(){t.apply(null,k)}))):delete N[_]}}))}(_))}))},function(_,E,I){"use strict";var k=I(8),N=I(19),L=I(29),$=I(10),R=[].sort,G=[1,2,3];k(k.P+k.F*($((function(){G.sort(void 0)}))||!$((function(){G.sort(null)}))||!I(102)(R)),"Array",{sort:function(_){return void 0===_?R.call(L(this)):R.call(L(this),N(_))}})},function(_,E,I){"use strict";var k=I(10);_.exports=function(_,E){return!!_&&k((function(){E?_.call(null,(function(){}),1):_.call(null)}))}},function(_,E,I){"use strict";var k=I(104),N=I(73);_.exports=I(110)("Set",(function(_){return function(){return _(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(_){return k.def(N(this,"Set"),_=0===_?0:_,_)}},k)},function(_,E,I){"use strict";var k=I(11).f,N=I(71),L=I(40),$=I(12),R=I(37),G=I(38),W=I(106),q=I(109),U=I(63),H=I(9),ie=I(72).fastKey,pe=I(73),he=H?"_s":"size",g=function(_,E){var I,k=ie(E);if("F"!==k)return _._i[k];for(I=_._f;I;I=I.n)if(I.k==E)return I};_.exports={getConstructor:function(_,E,I,W){var q=_((function(_,k){R(_,q,E,"_i"),_._t=E,_._i=N(null),_._f=void 0,_._l=void 0,_[he]=0,null!=k&&G(k,I,_[W],_)}));return L(q.prototype,{clear:function(){for(var _=pe(this,E),I=_._i,k=_._f;k;k=k.n)k.r=!0,k.p&&(k.p=k.p.n=void 0),delete I[k.i];_._f=_._l=void 0,_[he]=0},delete:function(_){var I=pe(this,E),k=g(I,_);if(k){var N=k.n,L=k.p;delete I._i[k.i],k.r=!0,L&&(L.n=N),N&&(N.p=L),I._f==k&&(I._f=N),I._l==k&&(I._l=L),I[he]--}return!!k},forEach:function(_){pe(this,E);for(var I,k=$(_,arguments.length>1?arguments[1]:void 0,3);I=I?I.n:this._f;)for(k(I.v,I.k,this);I&&I.r;)I=I.p},has:function(_){return!!g(pe(this,E),_)}}),H&&k(q.prototype,"size",{get:function(){return pe(this,E)[he]}}),q},def:function(_,E,I){var k,N,L=g(_,E);return L?L.v=I:(_._l=L={i:N=ie(E,!0),k:E,v:I,p:k=_._l,n:void 0,r:!1},_._f||(_._f=L),k&&(k.n=L),_[he]++,"F"!==N&&(_._i[N]=L)),_},getEntry:g,setStrong:function(_,E,I){W(_,E,(function(_,I){this._t=pe(_,E),this._k=I,this._l=void 0}),(function(){for(var _=this._k,E=this._l;E&&E.r;)E=E.p;return this._t&&(this._l=E=E?E.n:this._t._f)?q(0,"keys"==_?E.k:"values"==_?E.v:[E.k,E.v]):(this._t=void 0,q(1))}),I?"entries":"values",!I,!0),U(E)}}},function(_,E,I){var k=I(11),N=I(7),L=I(42);_.exports=I(9)?Object.defineProperties:function(_,E){N(_);for(var I,$=L(E),R=$.length,G=0;R>G;)k.f(_,I=$[G++],E[I]);return _}},function(_,E,I){"use strict";var k=I(36),N=I(8),L=I(14),$=I(13),R=I(39),G=I(107),W=I(26),q=I(108),U=I(3)("iterator"),H=!([].keys&&"next"in[].keys()),h=function(){return this};_.exports=function(_,E,I,ie,pe,he,de){G(I,E,ie);var me,ge,ve,x=function(_){if(!H&&_ in xe)return xe[_];switch(_){case"keys":case"values":return function(){return new I(this,_)}}return function(){return new I(this,_)}},ye=E+" Iterator",be="values"==pe,we=!1,xe=_.prototype,Se=xe[U]||xe["@@iterator"]||pe&&xe[pe],_e=Se||x(pe),Pe=pe?be?x("entries"):_e:void 0,Oe="Array"==E&&xe.entries||Se;if(Oe&&(ve=q(Oe.call(new _)))!==Object.prototype&&ve.next&&(W(ve,ye,!0),k||"function"==typeof ve[U]||$(ve,U,h)),be&&Se&&"values"!==Se.name&&(we=!0,_e=function(){return Se.call(this)}),k&&!de||!H&&!we&&xe[U]||$(xe,U,_e),R[E]=_e,R[ye]=h,pe)if(me={values:be?_e:x("values"),keys:he?_e:x("keys"),entries:Pe},de)for(ge in me)ge in xe||L(xe,ge,me[ge]);else N(N.P+N.F*(H||we),E,me);return me}},function(_,E,I){"use strict";var k=I(71),N=I(23),L=I(26),$={};I(13)($,I(3)("iterator"),(function(){return this})),_.exports=function(_,E,I){_.prototype=k($,{next:N(1,I)}),L(_,E+" Iterator")}},function(_,E,I){var k=I(15),N=I(29),L=I(43)("IE_PROTO"),$=Object.prototype;_.exports=Object.getPrototypeOf||function(_){return _=N(_),k(_,L)?_[L]:"function"==typeof _.constructor&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?$:null}},function(_,E){_.exports=function(_,E){return{value:E,done:!!_}}},function(_,E,I){"use strict";var k=I(4),N=I(8),L=I(14),$=I(40),R=I(72),G=I(38),W=I(37),q=I(6),U=I(10),H=I(41),ie=I(26),pe=I(111);_.exports=function(_,E,I,he,de,me){var ge=k[_],ve=ge,ye=de?"set":"add",be=ve&&ve.prototype,we={},P=function(_){var E=be[_];L(be,_,"delete"==_?function(_){return!(me&&!q(_))&&E.call(this,0===_?0:_)}:"has"==_?function(_){return!(me&&!q(_))&&E.call(this,0===_?0:_)}:"get"==_?function(_){return me&&!q(_)?void 0:E.call(this,0===_?0:_)}:"add"==_?function(_){return E.call(this,0===_?0:_),this}:function(_,I){return E.call(this,0===_?0:_,I),this})};if("function"==typeof ve&&(me||be.forEach&&!U((function(){(new ve).entries().next()})))){var xe=new ve,Se=xe[ye](me?{}:-0,1)!=xe,_e=U((function(){xe.has(1)})),Pe=H((function(_){new ve(_)})),Oe=!me&&U((function(){for(var _=new ve,E=5;E--;)_[ye](E,E);return!_.has(-0)}));Pe||((ve=E((function(E,I){W(E,ve,_);var k=pe(new ge,E,ve);return null!=I&&G(I,de,k[ye],k),k}))).prototype=be,be.constructor=ve),(_e||Oe)&&(P("delete"),P("has"),de&&P("get")),(Oe||Se)&&P(ye),me&&be.clear&&delete be.clear}else ve=he.getConstructor(E,_,de,ye),$(ve.prototype,I),R.NEED=!0;return ie(ve,_),we[_]=ve,N(N.G+N.W+N.F*(ve!=ge),we),me||he.setStrong(ve,_,de),ve}},function(_,E,I){var k=I(6),N=I(112).set;_.exports=function(_,E,I){var L,$=E.constructor;return $!==I&&"function"==typeof $&&(L=$.prototype)!==I.prototype&&k(L)&&N&&N(_,L),_}},function(_,E,I){var k=I(6),N=I(7),i=function(_,E){if(N(_),!k(E)&&null!==E)throw TypeError(E+": can't set as prototype!")};_.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(_,E,k){try{(k=I(12)(Function.call,I(113).f(Object.prototype,"__proto__").set,2))(_,[]),E=!(_ instanceof Array)}catch(_){E=!0}return function(_,I){return i(_,I),E?_.__proto__=I:k(_,I),_}}({},!1):void 0),check:i}},function(_,E,I){var k=I(44),N=I(23),L=I(25),$=I(51),R=I(15),G=I(50),W=Object.getOwnPropertyDescriptor;E.f=I(9)?W:function(_,E){if(_=L(_),E=$(E,!0),G)try{return W(_,E)}catch(_){}if(R(_,E))return N(!k.f.call(_,E),_[E])}},function(_,E,I){"use strict";var k=I(12),N=I(8),L=I(29),$=I(57),R=I(58),G=I(35),W=I(115),q=I(59);N(N.S+N.F*!I(41)((function(_){Array.from(_)})),"Array",{from:function(_){var E,I,N,U,H=L(_),ie="function"==typeof this?this:Array,pe=arguments.length,he=pe>1?arguments[1]:void 0,de=void 0!==he,me=0,ge=q(H);if(de&&(he=k(he,pe>2?arguments[2]:void 0,2)),null==ge||ie==Array&&R(ge))for(I=new ie(E=G(H.length));E>me;me++)W(I,me,de?he(H[me],me):H[me]);else for(U=ge.call(H),I=new ie;!(N=U.next()).done;me++)W(I,me,de?$(U,he,[N.value,me],!0):N.value);return I.length=me,I}})},function(_,E,I){"use strict";var k=I(11),N=I(23);_.exports=function(_,E,I){E in _?k.f(_,E,N(0,I)):_[E]=I}},function(_,E,I){"use strict";I(117);var k=I(7),N=I(75),L=I(9),$=/./.toString,a=function(_){I(14)(RegExp.prototype,"toString",_,!0)};I(10)((function(){return"/a/b"!=$.call({source:"a",flags:"b"})}))?a((function(){var _=k(this);return"/".concat(_.source,"/","flags"in _?_.flags:!L&&_ instanceof RegExp?N.call(_):void 0)})):"toString"!=$.name&&a((function(){return $.call(this)}))},function(_,E,I){I(9)&&"g"!=/./g.flags&&I(11).f(RegExp.prototype,"flags",{configurable:!0,get:I(75)})},function(_,E,I){var k;I(5);function o(_,E,I){if("function"==typeof E&&(I=E,E={}),!I){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(I,k){o(_,E||{},(function(_,E){_?k(_):I(E)}))}))}k(_,E||{},(function(_,k){_&&("EACCES"===_.code||E&&E.ignoreErrors)&&(_=null,k=!1),I(_,k)}))}k="win32"===process.platform||global.TESTING_WINDOWS?I(119):I(120),_.exports=o,o.sync=function(_,E){try{return k.sync(_,E||{})}catch(_){if(E&&E.ignoreErrors||"EACCES"===_.code)return!1;throw _}}},function(_,E,I){_.exports=i,i.sync=function(_,E){return o(k.statSync(_),_,E)};var k=I(5);function o(_,E,I){return!(!_.isSymbolicLink()&&!_.isFile())&&function(_,E){var I=void 0!==E.pathExt?E.pathExt:process.env.PATHEXT;if(!I)return!0;if(-1!==(I=I.split(";")).indexOf(""))return!0;for(var k=0;k<I.length;k++){var N=I[k].toLowerCase();if(N&&_.substr(-N.length).toLowerCase()===N)return!0}return!1}(E,I)}function i(_,E,I){k.stat(_,(function(k,N){I(k,!k&&o(N,_,E))}))}},function(_,E,I){_.exports=o,o.sync=function(_,E){return i(k.statSync(_),E)};var k=I(5);function o(_,E,I){k.stat(_,(function(_,k){I(_,!_&&i(k,E))}))}function i(_,E){return _.isFile()&&function(_,E){var I=_.mode,k=_.uid,N=_.gid,L=void 0!==E.uid?E.uid:process.getuid&&process.getuid(),$=void 0!==E.gid?E.gid:process.getgid&&process.getgid(),R=parseInt("100",8),G=parseInt("010",8),W=parseInt("001",8),q=R|G;return I&W||I&G&&N===$||I&R&&k===L||I&q&&0===L}(_,E)}},function(_,E,I){"use strict";_.exports={androidSystemImages:/system-images;([\S \t]+)/g,androidAPILevels:/platforms;android-(\d+)[\S\s]/g,androidBuildTools:/build-tools;([\d|.]+)[\S\s]/g}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getNodeInfo:function(){return k.log("trace","getNodeInfo"),Promise.all([k.isWindows?k.run("node -v").then(k.findVersion):k.which("node").then((function(_){return _?k.run(_+" -v"):Promise.resolve("")})).then(k.findVersion),k.which("node").then(k.condensePath)]).then((function(_){return k.determineFound("Node",_[0],_[1])}))},getnpmInfo:function(){return k.log("trace","getnpmInfo"),Promise.all([k.run("npm -v"),k.which("npm").then(k.condensePath)]).then((function(_){return k.determineFound("npm",_[0],_[1])}))},getWatchmanInfo:function(){return k.log("trace","getWatchmanInfo"),Promise.all([k.which("watchman").then((function(_){return _?k.run(_+" -v"):void 0})),k.which("watchman")]).then((function(_){return k.determineFound("Watchman",_[0],_[1])}))},getYarnInfo:function(){return k.log("trace","getYarnInfo"),Promise.all([k.run("yarn -v"),k.which("yarn").then(k.condensePath)]).then((function(_){return k.determineFound("Yarn",_[0],_[1])}))}}},function(_,E,I){"use strict";I(16),I(2),I(27);var k=I(5),N=I(17),L=I(1),$=I(0);_.exports={getBraveBrowserInfo:function(){return L.log("trace","getBraveBrowser"),(L.isLinux?L.run("brave --version || brave-browser --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Brave Browser"]).then(L.findVersion):Promise.resolve("N/A")).then((function(_){return L.determineFound("Brave Browser",_,"N/A")}))},getChromeInfo:function(){var _;if(L.log("trace","getChromeInfo"),L.isLinux)_=L.run("google-chrome --version").then((function(_){return _.replace(" dev","").replace(/^.* ([^ ]*)/g,"$1")}));else if(L.isMacOS)_=L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Chrome).then(L.findVersion);else if(L.isWindows){var E;try{E=L.findVersion(k.readdirSync($.join(process.env["ProgramFiles(x86)"],"Google/Chrome/Application")).join("\n"))}catch(_){E=L.NotFound}_=Promise.resolve(E)}else _=Promise.resolve("N/A");return _.then((function(_){return L.determineFound("Chrome",_,"N/A")}))},getChromeCanaryInfo:function(){return L.log("trace","getChromeCanaryInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Chrome Canary"]).then((function(_){return L.determineFound("Chrome Canary",_,"N/A")}))},getChromiumInfo:function(){return L.log("trace","getChromiumInfo"),(L.isLinux?L.run("chromium --version").then(L.findVersion):Promise.resolve("N/A")).then((function(_){return L.determineFound("Chromium",_,"N/A")}))},getEdgeInfo:function(){var _;if(L.log("trace","getEdgeInfo"),L.isWindows&&"10"===N.release().split(".")[0]){var E={Spartan:"Microsoft.MicrosoftEdge",Chromium:"Microsoft.MicrosoftEdge.Stable",ChromiumDev:"Microsoft.MicrosoftEdge.Dev"};_=Promise.all(Object.keys(E).map((function(_){return function(_,E){return L.run(`powershell get-appxpackage ${_}`).then((function(_){if(""!==L.findVersion(_))return`${E} (${L.findVersion(_)})`}))}(E[_],_)})).filter((function(_){return void 0!==_})))}else{if(!L.isMacOS)return Promise.resolve("N/A");_=L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Microsoft Edge"])}return _.then((function(_){return L.determineFound("Edge",Array.isArray(_)?_.filter((function(_){return void 0!==_})):_,L.NA)}))},getFirefoxInfo:function(){return L.log("trace","getFirefoxInfo"),(L.isLinux?L.run("firefox --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Firefox):Promise.resolve("N/A")).then((function(_){return L.determineFound("Firefox",_,"N/A")}))},getFirefoxDeveloperEditionInfo:function(){return L.log("trace","getFirefoxDeveloperEditionInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Firefox Developer Edition"]).then((function(_){return L.determineFound("Firefox Developer Edition",_,"N/A")}))},getFirefoxNightlyInfo:function(){return L.log("trace","getFirefoxNightlyInfo"),(L.isLinux?L.run("firefox-trunk --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Firefox Nightly"]):Promise.resolve("N/A")).then((function(_){return L.determineFound("Firefox Nightly",_,"N/A")}))},getInternetExplorerInfo:function(){var _;if(L.log("trace","getInternetExplorerInfo"),L.isWindows){var E=[process.env.SYSTEMDRIVE||"C:","Program Files","Internet Explorer","iexplore.exe"].join("\\\\");_=L.run(`wmic datafile where "name='${E}'" get Version`).then(L.findVersion)}else _=Promise.resolve("N/A");return _.then((function(_){return L.determineFound("Internet Explorer",_,"N/A")}))},getSafariTechnologyPreviewInfo:function(){return L.log("trace","getSafariTechnologyPreviewInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Safari Technology Preview"]).then((function(_){return L.determineFound("Safari Technology Preview",_,"N/A")}))},getSafariInfo:function(){return L.log("trace","getSafariInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Safari).then((function(_){return L.determineFound("Safari",_,"N/A")}))}}},function(_,E,I){"use strict";I(32),I(2);var k=I(1);_.exports={getMongoDBInfo:function(){return k.log("trace","getMongoDBInfo"),Promise.all([k.run("mongo --version").then(k.findVersion),k.which("mongo")]).then((function(_){return k.determineFound("MongoDB",_[0],_[1])}))},getMySQLInfo:function(){return k.log("trace","getMySQLInfo"),Promise.all([k.run("mysql --version").then((function(_){return`${k.findVersion(_,null,1)}${_.includes("MariaDB")?" (MariaDB)":""}`})),k.which("mysql")]).then((function(_){return k.determineFound("MySQL",_[0],_[1])}))},getPostgreSQLInfo:function(){return k.log("trace","getPostgreSQLInfo"),Promise.all([k.run("postgres --version").then(k.findVersion),k.which("postgres")]).then((function(_){return k.determineFound("PostgreSQL",_[0],_[1])}))},getSQLiteInfo:function(){return k.log("trace","getSQLiteInfo"),Promise.all([k.run("sqlite3 --version").then(k.findVersion),k.which("sqlite3")]).then((function(_){return k.determineFound("SQLite",_[0],_[1])}))}}},function(_,E,I){"use strict";I(27),I(16),I(2);var k=I(0),N=I(1);_.exports={getAndroidStudioInfo:function(){var _=Promise.resolve("N/A");return N.isMacOS?_=N.run(N.generatePlistBuddyCommand(k.join("/","Applications","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"])).then((function(_){return _||N.run(N.generatePlistBuddyCommand(k.join("~","Applications","JetBrains\\ Toolbox","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"]))})).then((function(_){return _.split("\n").join(" ")})):N.isLinux?_=Promise.all([N.run('cat /opt/android-studio/bin/studio.sh | grep "$Home/.AndroidStudio" | head -1').then(N.findVersion),N.run("cat /opt/android-studio/build.txt")]).then((function(_){return`${_[0]} ${_[1]}`.trim()||N.NotFound})):N.isWindows&&(_=Promise.all([N.run('wmic datafile where name="C:\\\\Program Files\\\\Android\\\\Android Studio\\\\bin\\\\studio.exe" get Version').then((function(_){return _.replace(/(\r\n|\n|\r)/gm,"")})),N.run('type "C:\\\\Program Files\\\\Android\\\\Android Studio\\\\build.txt"').then((function(_){return _.replace(/(\r\n|\n|\r)/gm,"")}))]).then((function(_){return`${_[0]} ${_[1]}`.trim()||N.NotFound}))),_.then((function(_){return N.determineFound("Android Studio",_)}))},getAtomInfo:function(){return N.log("trace","getAtomInfo"),Promise.all([N.getDarwinApplicationVersion(N.ideBundleIdentifiers.Atom),"N/A"]).then((function(_){return N.determineFound("Atom",_[0],_[1])}))},getEmacsInfo:function(){return N.log("trace","getEmacsInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("emacs --version").then(N.findVersion),N.run("which emacs")]).then((function(_){return N.determineFound("Emacs",_[0],_[1])})):Promise.resolve(["Emacs","N/A"])},getIntelliJInfo:function(){return N.log("trace","getIntelliJInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.IntelliJ).then((function(_){return N.determineFound("IntelliJ",_)}))},getNanoInfo:function(){return N.log("trace","getNanoInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("nano --version").then(N.findVersion),N.run("which nano")]).then((function(_){return N.determineFound("Nano",_[0],_[1])})):Promise.resolve(["Nano","N/A"])},getNvimInfo:function(){return N.log("trace","getNvimInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("nvim --version").then(N.findVersion),N.run("which nvim")]).then((function(_){return N.determineFound("Nvim",_[0],_[1])})):Promise.resolve(["Vim","N/A"])},getPhpStormInfo:function(){return N.log("trace","getPhpStormInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.PhpStorm).then((function(_){return N.determineFound("PhpStorm",_)}))},getSublimeTextInfo:function(){return N.log("trace","getSublimeTextInfo"),Promise.all([N.run("subl --version").then((function(_){return N.findVersion(_,/\d+/)})),N.which("subl")]).then((function(_){return""===_[0]&&N.isMacOS?(N.log("trace","getSublimeTextInfo using plist"),Promise.all([N.getDarwinApplicationVersion(N.ideBundleIdentifiers["Sublime Text"]),"N/A"])):_})).then((function(_){return N.determineFound("Sublime Text",_[0],_[1])}))},getVimInfo:function(){return N.log("trace","getVimInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("vim --version").then(N.findVersion),N.run("which vim")]).then((function(_){return N.determineFound("Vim",_[0],_[1])})):Promise.resolve(["Vim","N/A"])},getVSCodeInfo:function(){return N.log("trace","getVSCodeInfo"),Promise.all([N.run("code --version").then(N.findVersion),N.which("code")]).then((function(_){return N.determineFound("VSCode",_[0],_[1])}))},getVisualStudioInfo:function(){return N.log("trace","getVisualStudioInfo"),N.isWindows?N.run(`"${process.env["ProgramFiles(x86)"]}/Microsoft Visual Studio/Installer/vswhere.exe" -format json -prerelease`).then((function(_){var E=JSON.parse(_).map((function(_){return{Version:_.installationVersion,DisplayName:_.displayName}}));return N.determineFound("Visual Studio",E.map((function(_){return`${_.Version} (${_.DisplayName})`})))})).catch((function(){return Promise.resolve(["Visual Studio",N.NotFound])})):Promise.resolve(["Visual Studio",N.NA])},getWebStormInfo:function(){return N.log("trace","getWebStormInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.WebStorm).then((function(_){return N.determineFound("WebStorm",_)}))},getXcodeInfo:function(){return N.log("trace","getXcodeInfo"),N.isMacOS?Promise.all([N.which("xcodebuild").then((function(_){return N.run(_+" -version")})).then((function(_){return`${N.findVersion(_)}/${_.split("Build version ")[1]}`})),N.which("xcodebuild")]).then((function(_){return N.determineFound("Xcode",_[0],_[1])})):Promise.resolve(["Xcode","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getBashInfo:function(){return k.log("trace","getBashInfo"),Promise.all([k.run("bash --version").then(k.findVersion),k.which("bash")]).then((function(_){return k.determineFound("Bash",_[0],_[1])}))},getElixirInfo:function(){return k.log("trace","getElixirInfo"),Promise.all([k.run("elixir --version").then((function(_){return k.findVersion(_,/[Elixir]+\s([\d+.[\d+|.]+)/,1)})),k.which("elixir")]).then((function(_){return Promise.resolve(k.determineFound("Elixir",_[0],_[1]))}))},getErlangInfo:function(){return k.log("trace","getErlangInfo"),Promise.all([k.run("erl -eval \"{ok, Version} = file:read_file(filename:join([code:root_dir(), 'releases', erlang:system_info(otp_release), 'OTP_VERSION'])), io:fwrite(Version), halt().\" -noshell").then(k.findVersion),k.which("erl")]).then((function(_){return Promise.resolve(k.determineFound("Erlang",_[0],_[1]))}))},getGoInfo:function(){return k.log("trace","getGoInfo"),Promise.all([k.run("go version").then(k.findVersion),k.which("go")]).then((function(_){return k.determineFound("Go",_[0],_[1])}))},getJavaInfo:function(){return k.log("trace","getJavaInfo"),Promise.all([k.run("javac -version",{unify:!0}).then((function(_){return k.findVersion(_,/\d+\.[\w+|.|_|-]+/)})),k.run("which javac")]).then((function(_){return k.determineFound("Java",_[0],_[1])}))},getPerlInfo:function(){return k.log("trace","getPerlInfo"),Promise.all([k.run("perl -v").then(k.findVersion),k.which("perl")]).then((function(_){return k.determineFound("Perl",_[0],_[1])}))},getPHPInfo:function(){return k.log("trace","getPHPInfo"),Promise.all([k.run("php -v").then(k.findVersion),k.which("php")]).then((function(_){return k.determineFound("PHP",_[0],_[1])}))},getProtocInfo:function(){return k.log("trace","getProtocInfo"),Promise.all([k.run("protoc --version").then(k.findVersion),k.run("which protoc")]).then((function(_){return k.determineFound("Protoc",_[0],_[1])}))},getPythonInfo:function(){return k.log("trace","getPythonInfo"),Promise.all([k.run("python -V 2>&1").then(k.findVersion),k.run("which python")]).then((function(_){return k.determineFound("Python",_[0],_[1])}))},getPython3Info:function(){return k.log("trace","getPython3Info"),Promise.all([k.run("python3 -V 2>&1").then(k.findVersion),k.run("which python3")]).then((function(_){return k.determineFound("Python3",_[0],_[1])}))},getRInfo:function(){return k.log("trace","getRInfo"),Promise.all([k.run("R --version",{unify:!0}).then(k.findVersion),k.which("R")]).then((function(_){return k.determineFound("R",_[0],_[1])}))},getRubyInfo:function(){return k.log("trace","getRubyInfo"),Promise.all([k.run("ruby -v").then(k.findVersion),k.which("ruby")]).then((function(_){return k.determineFound("Ruby",_[0],_[1])}))},getRustInfo:function(){return k.log("trace","getRustInfo"),Promise.all([k.run("rustc --version").then(k.findVersion),k.run("which rustc")]).then((function(_){return k.determineFound("Rust",_[0],_[1])}))},getScalaInfo:function(){return k.log("trace","getScalaInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("scalac -version").then(k.findVersion),k.run("which scalac")]).then((function(_){return k.determineFound("Scala",_[0],_[1])})):Promise.resolve(["Scala","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getAptInfo:function(){return k.log("trace","getAptInfo"),k.isLinux?Promise.all([k.run("apt --version").then(k.findVersion),k.which("apt")]).then((function(_){return k.determineFound("Apt",_[0],_[1])})):Promise.all(["Apt","N/A"])},getCargoInfo:function(){return k.log("trace","getCargoInfo"),Promise.all([k.run("cargo --version").then(k.findVersion),k.which("cargo").then(k.condensePath)]).then((function(_){return k.determineFound("Cargo",_[0],_[1])}))},getCocoaPodsInfo:function(){return k.log("trace","getCocoaPodsInfo"),k.isMacOS?Promise.all([k.run("pod --version").then(k.findVersion),k.which("pod")]).then((function(_){return k.determineFound("CocoaPods",_[0],_[1])})):Promise.all(["CocoaPods","N/A"])},getComposerInfo:function(){return k.log("trace","getComposerInfo"),Promise.all([k.run("composer --version").then(k.findVersion),k.which("composer").then(k.condensePath)]).then((function(_){return k.determineFound("Composer",_[0],_[1])}))},getGradleInfo:function(){return k.log("trace","getGradleInfo"),Promise.all([k.run("gradle --version").then(k.findVersion),k.which("gradle").then(k.condensePath)]).then((function(_){return k.determineFound("Gradle",_[0],_[1])}))},getHomebrewInfo:function(){return k.log("trace","getHomebrewInfo"),k.isMacOS?Promise.all([k.run("brew --version").then(k.findVersion),k.which("brew")]).then((function(_){return k.determineFound("Homebrew",_[0],_[1])})):Promise.all(["Homebrew","N/A"])},getMavenInfo:function(){return k.log("trace","getMavenInfo"),Promise.all([k.run("mvn --version").then(k.findVersion),k.which("mvn").then(k.condensePath)]).then((function(_){return k.determineFound("Maven",_[0],_[1])}))},getpip2Info:function(){return k.log("trace","getpip2Info"),Promise.all([k.run("pip2 --version").then(k.findVersion),k.which("pip2").then(k.condensePath)]).then((function(_){return k.determineFound("pip2",_[0],_[1])}))},getpip3Info:function(){return k.log("trace","getpip3Info"),Promise.all([k.run("pip3 --version").then(k.findVersion),k.which("pip3").then(k.condensePath)]).then((function(_){return k.determineFound("pip3",_[0],_[1])}))},getRubyGemsInfo:function(){return k.log("trace","getRubyGemsInfo"),Promise.all([k.run("gem --version").then(k.findVersion),k.which("gem")]).then((function(_){return k.determineFound("RubyGems",_[0],_[1])}))},getYumInfo:function(){return k.log("trace","getYumInfo"),k.isLinux?Promise.all([k.run("yum --version").then(k.findVersion),k.which("yum")]).then((function(_){return k.determineFound("Yum",_[0],_[1])})):Promise.all(["Yum","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1),N=I(0);_.exports={getYarnWorkspacesInfo:function(){return k.log("trace","getYarnWorkspacesInfo"),Promise.all([k.run("yarn -v"),k.getPackageJsonByPath("package.json").then((function(_){return _&&"workspaces"in _}))]).then((function(_){var E="Yarn Workspaces";return _[0]&&_[1]?Promise.resolve([E,_[0]]):Promise.resolve([E,"Not Found"])}))},getLernaInfo:function(){return k.log("trace","getLernaInfo"),Promise.all([k.getPackageJsonByName("lerna").then((function(_){return _&&_.version})),k.fileExists(N.join(process.cwd(),"lerna.json"))]).then((function(_){return _[0]&&_[1]?Promise.resolve(["Lerna",_[0]]):Promise.resolve(["Lerna","Not Found"])}))}}},function(_,E,I){"use strict";I(22),I(2),I(16);var k=I(5),N=I(0),L=I(1);_.exports={getAndroidSDKInfo:function(){return L.run("sdkmanager --list").then((function(_){return!_&&process.env.ANDROID_HOME?L.run(`${process.env.ANDROID_HOME}/tools/bin/sdkmanager --list`):_})).then((function(_){return!_&&process.env.ANDROID_HOME?L.run(`${process.env.ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --list`):_})).then((function(_){return!_&&L.isMacOS?L.run("~/Library/Android/sdk/tools/bin/sdkmanager --list"):_})).then((function(_){var E=L.parseSDKManagerOutput(_),n=function(_){var E,I=N.join(_,"source.properties");try{E=k.readFileSync(I,"utf8")}catch(_){if("ENOENT"===_.code)return;throw _}for(var L=E.split("\n"),$=0;$<L.length;$+=1){var R=L[$].split("=");if(2===R.length&&"Pkg.Revision"===R[0].trim())return R[1].trim()}},I=process.env.ANDROID_NDK?n(process.env.ANDROID_NDK):process.env.ANDROID_NDK_HOME?n(process.env.ANDROID_NDK_HOME):process.env.ANDROID_HOME?n(N.join(process.env.ANDROID_HOME,"ndk-bundle")):void 0;return E.buildTools.length||E.apiLevels.length||E.systemImages.length||I?Promise.resolve(["Android SDK",{"API Levels":E.apiLevels||L.NotFound,"Build Tools":E.buildTools||L.NotFound,"System Images":E.systemImages||L.NotFound,"Android NDK":I||L.NotFound}]):Promise.resolve(["Android SDK",L.NotFound])}))},getiOSSDKInfo:function(){return L.isMacOS?L.run("xcodebuild -showsdks").then((function(_){return _.match(/[\w]+\s[\d|.]+/g)})).then(L.uniq).then((function(_){return _.length?["iOS SDK",{Platforms:_}]:["iOS SDK",L.NotFound]})):Promise.resolve(["iOS SDK","N/A"])},getWindowsSDKInfo:function(){if(L.log("trace","getWindowsSDKInfo"),L.isWindows){var _=L.NotFound;return L.run("reg query HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock").then((function(E){_=E.split(/[\r\n]/g).slice(1).filter((function(_){return""!==_})).reduce((function(_,E){var I=E.match(/[^\s]+/g);return"0x0"!==I[2]&&"0x1"!==I[2]||(I[2]="0x1"===I[2]?"Enabled":"Disabled"),_[I[0]]=I[2],_}),{}),0===Object.keys(_).length&&(_=L.NotFound);try{var I=k.readdirSync(`${process.env["ProgramFiles(x86)"]}/Windows Kits/10/Platforms/UAP`);_.Versions=I}catch(_){}return Promise.resolve(["Windows SDK",_])}))}return Promise.resolve(["Windows SDK",L.NA])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getApacheInfo:function(){return k.log("trace","getApacheInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("apachectl -v").then(k.findVersion),k.run("which apachectl")]).then((function(_){return k.determineFound("Apache",_[0],_[1])})):Promise.resolve(["Apache","N/A"])},getNginxInfo:function(){return k.log("trace","getNginxInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("nginx -v 2>&1").then(k.findVersion),k.run("which nginx")]).then((function(_){return k.determineFound("Nginx",_[0],_[1])})):Promise.resolve(["Nginx","N/A"])}}},function(_,E,I){"use strict";I(22),I(2);var k=I(132),N=I(1),L=I(17);_.exports={getContainerInfo:function(){return N.log("trace","getContainerInfo"),N.isLinux?Promise.all([N.fileExists("/.dockerenv"),N.readFile("/proc/self/cgroup")]).then((function(_){return N.log("trace","getContainerInfoThen",_),Promise.resolve(["Container",_[0]||_[1]?"Yes":"N/A"])})).catch((function(_){return N.log("trace","getContainerInfoCatch",_)})):Promise.resolve(["Container","N/A"])},getCPUInfo:function(){var _;N.log("trace","getCPUInfo");try{var E=L.cpus();_="("+E.length+") "+L.arch()+" "+E[0].model}catch(E){_="Unknown"}return Promise.all(["CPU",_])},getMemoryInfo:function(){return N.log("trace","getMemoryInfo"),Promise.all(["Memory",`${N.toReadableBytes(L.freemem())} / ${N.toReadableBytes(L.totalmem())}`])},getOSInfo:function(){return N.log("trace","getOSInfo"),(N.isMacOS?N.run("sw_vers -productVersion "):N.isLinux?N.run("cat /etc/os-release").then((function(_){var E=(_||"").match(/NAME="(.+)"/)||"",I=(_||"").match(/VERSION="(.+)"/)||["",""],k=null!==I?I[1]:"";return`${E[1]} ${k}`.trim()||""})):N.isWindows?Promise.resolve(L.release()):Promise.resolve()).then((function(_){var E=k(L.platform(),L.release());return _&&(E+=` ${_}`),["OS",E]}))},getShellInfo:function(){if(N.log("trace","getShellInfo",process.env),N.isMacOS||N.isLinux){var _=process.env.SHELL||N.runSync("getent passwd $LOGNAME | cut -d: -f7 | head -1"),E=`${_} --version 2>&1`;return _.match("/bin/ash")&&(E=`${_} --help 2>&1`),Promise.all([N.run(E).then(N.findVersion),N.which(_)]).then((function(_){return N.determineFound("Shell",_[0]||"Unknown",_[1])}))}return Promise.resolve(["Shell","N/A"])},getGLibcInfo:function(){return N.log("trace","getGLibc"),N.isLinux?Promise.all([N.run("ldd --version").then(N.findVersion)]).then((function(_){return N.determineFound("GLibc",_[0]||"Unknown")})):Promise.resolve(["GLibc","N/A"])}}},function(_,E,I){"use strict";const k=I(17),N=I(133),L=I(134);_.exports=(_,E)=>{if(!_&&E)throw new Error("You can't specify a `release` without specifying `platform`");let I;if("darwin"===(_=_||k.platform()))return E||"darwin"!==k.platform()||(E=k.release()),(E?Number(E.split(".")[0])>15?"macOS":"OS X":"macOS")+((I=E?N(E).name:"")?" "+I:"");return"linux"===_?(E||"linux"!==k.platform()||(E=k.release()),"Linux"+((I=E?E.replace(/^(\d+\.\d+).*/,"$1"):"")?" "+I:"")):"win32"===_?(E||"win32"!==k.platform()||(E=k.release()),"Windows"+((I=E?L(E):"")?" "+I:"")):_}},function(_,E,I){"use strict";const k=I(17),N=new Map([[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]),i=_=>(_=Number((_||k.release()).split(".")[0]),{name:N.get(_),version:"10."+(_-4)});_.exports=i,_.exports.default=i},function(_,E,I){"use strict";const k=I(17),N=I(135),L=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);_.exports=_=>{const E=/\d+\.\d/.exec(_||k.release());if(_&&!E)throw new Error("`release` argument doesn't match `n.n`");const I=(E||[])[0];if((!_||_===k.release())&&["6.1","6.2","6.3","10.0"].includes(I)){const _=((N.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(_)return`Server ${_}`}return L.get(I)}},function(_,E,I){"use strict";const k=I(0),N=I(49),L=I(136),$=I(146),R=I(147),G=I(148),W=I(149),q=I(154),U=I(155),H=I(157),ie=I(158),pe=1e7;function m(_,E,I){let N;return(I=Object.assign({extendEnv:!0,env:{}},I)).extendEnv&&(I.env=Object.assign({},process.env,I.env)),!0===I.__winShell?(delete I.__winShell,N={command:_,args:E,options:I,file:_,original:{cmd:_,args:E}}):N=L._parse(_,E,I),(I=Object.assign({maxBuffer:pe,buffer:!0,stripEof:!0,preferLocal:!0,localDir:N.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},N.options)).stdio=ie(I),I.preferLocal&&(I.env=R.env(Object.assign({},I,{cwd:I.localDir}))),I.detached&&(I.cleanup=!1),"win32"===process.platform&&"cmd.exe"===k.basename(N.command)&&N.args.unshift("/q"),{cmd:N.command,args:N.args,opts:I,parsed:N}}function g(_,E){return E&&_.stripEof&&(E=$(E)),E}function v(_,E,I){let k="/bin/sh",N=["-c",E];return I=Object.assign({},I),"win32"===process.platform&&(I.__winShell=!0,k=process.env.comspec||"cmd.exe",N=["/s","/c",`"${E}"`],I.windowsVerbatimArguments=!0),I.shell&&(k=I.shell,delete I.shell),_(k,N,I)}function y(_,E,{encoding:I,buffer:k,maxBuffer:N}){if(!_[E])return null;let L;return(L=k?I?W(_[E],{encoding:I,maxBuffer:N}):W.buffer(_[E],{maxBuffer:N}):new Promise(((I,k)=>{_[E].once("end",I).once("error",k)}))).catch((_=>{throw _.stream=E,_.message=`${E} ${_.message}`,_}))}function b(_,E){const{stdout:I,stderr:k}=_;let N=_.error;const{code:L,signal:$}=_,{parsed:R,joinedCmd:G}=E,W=E.timedOut||!1;if(!N){let _="";Array.isArray(R.opts.stdio)?("inherit"!==R.opts.stdio[2]&&(_+=_.length>0?k:`\n${k}`),"inherit"!==R.opts.stdio[1]&&(_+=`\n${I}`)):"inherit"!==R.opts.stdio&&(_=`\n${k}${I}`),(N=new Error(`Command failed: ${G}${_}`)).code=L<0?H(L):L}return N.stdout=I,N.stderr=k,N.failed=!0,N.signal=$||null,N.cmd=G,N.timedOut=W,N}function w(_,E){let I=_;return Array.isArray(E)&&E.length>0&&(I+=" "+E.join(" ")),I}_.exports=(_,E,I)=>{const k=m(_,E,I),{encoding:$,buffer:R,maxBuffer:W}=k.opts,H=w(_,E);let ie,pe;try{ie=N.spawn(k.cmd,k.args,k.opts)}catch(_){return Promise.reject(_)}k.opts.cleanup&&(pe=U((()=>{ie.kill()})));let he=null,de=!1;const S=()=>{he&&(clearTimeout(he),he=null),pe&&pe()};k.opts.timeout>0&&(he=setTimeout((()=>{he=null,de=!0,ie.kill(k.opts.killSignal)}),k.opts.timeout));const me=new Promise((_=>{ie.on("exit",((E,I)=>{S(),_({code:E,signal:I})})),ie.on("error",(E=>{S(),_({error:E})})),ie.stdin&&ie.stdin.on("error",(E=>{S(),_({error:E})}))}));function O(){ie.stdout&&ie.stdout.destroy(),ie.stderr&&ie.stderr.destroy()}const j=()=>q(Promise.all([me,y(ie,"stdout",{encoding:$,buffer:R,maxBuffer:W}),y(ie,"stderr",{encoding:$,buffer:R,maxBuffer:W})]).then((_=>{const E=_[0];if(E.stdout=_[1],E.stderr=_[2],E.error||0!==E.code||null!==E.signal){const _=b(E,{joinedCmd:H,parsed:k,timedOut:de});if(_.killed=_.killed||ie.killed,!k.opts.reject)return _;throw _}return{stdout:g(k.opts,E.stdout),stderr:g(k.opts,E.stderr),code:0,failed:!1,killed:!1,signal:null,cmd:H,timedOut:!1}})),O);return L._enoent.hookChildProcess(ie,k.parsed),function(_,E){null!=E&&(G(E)?E.pipe(_.stdin):_.stdin.end(E))}(ie,k.opts.input),ie.then=(_,E)=>j().then(_,E),ie.catch=_=>j().catch(_),ie},_.exports.stdout=(...E)=>_.exports(...E).then((_=>_.stdout)),_.exports.stderr=(...E)=>_.exports(...E).then((_=>_.stderr)),_.exports.shell=(E,I)=>v(_.exports,E,I),_.exports.sync=(_,E,I)=>{const k=m(_,E,I),L=w(_,E);if(G(k.opts.input))throw new TypeError("The `input` option cannot be a stream in sync mode");const $=N.spawnSync(k.cmd,k.args,k.opts);if($.code=$.status,$.error||0!==$.status||null!==$.signal){const _=b($,{joinedCmd:L,parsed:k});if(!k.opts.reject)return _;throw _}return{stdout:g(k.opts,$.stdout),stderr:g(k.opts,$.stderr),code:0,failed:!1,signal:null,cmd:L,timedOut:!1}},_.exports.shellSync=(E,I)=>v(_.exports.sync,E,I)},function(_,E,I){"use strict";const k=I(49),N=I(137),L=I(145);function s(_,E,I){const $=N(_,E,I),R=k.spawn($.command,$.args,$.options);return L.hookChildProcess(R,$),R}_.exports=s,_.exports.spawn=s,_.exports.sync=function(_,E,I){const $=N(_,E,I),R=k.spawnSync($.command,$.args,$.options);return R.error=R.error||L.verifyENOENTSync(R.status,$),R},_.exports._parse=N,_.exports._enoent=L},function(_,E,I){"use strict";const k=I(0),N=I(138),L=I(139),$=I(140),R=I(141),G=I(144),W="win32"===process.platform,q=/\.(?:com|exe)$/i,U=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,H=N((()=>G.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0)))||!1;function h(_){if(!W)return _;const E=function(_){_.file=L(_);const E=_.file&&R(_.file);return E?(_.args.unshift(_.file),_.command=E,L(_)):_.file}(_),I=!q.test(E);if(_.options.forceShell||I){const I=U.test(E);_.command=k.normalize(_.command),_.command=$.command(_.command),_.args=_.args.map((_=>$.argument(_,I)));const N=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${N}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}_.exports=function(_,E,I){E&&!Array.isArray(E)&&(I=E,E=null);const k={command:_,args:E=E?E.slice(0):[],options:I=Object.assign({},I),file:void 0,original:{command:_,args:E}};return I.shell?function(_){if(H)return _;const E=[_.command].concat(_.args).join(" ");return W?(_.command="string"==typeof _.options.shell?_.options.shell:process.env.comspec||"cmd.exe",_.args=["/d","/s","/c",`"${E}"`],_.options.windowsVerbatimArguments=!0):("string"==typeof _.options.shell?_.command=_.options.shell:"android"===process.platform?_.command="/system/bin/sh":_.command="/bin/sh",_.args=["-c",E]),_}(k):h(k)}},function(_,E,I){"use strict";_.exports=function(_){try{return _()}catch(_){}}},function(_,E,I){"use strict";const k=I(0),N=I(76),L=I(77)();function s(_,E){const I=process.cwd(),$=null!=_.options.cwd;if($)try{process.chdir(_.options.cwd)}catch(_){}let R;try{R=N.sync(_.command,{path:(_.options.env||process.env)[L],pathExt:E?k.delimiter:void 0})}catch(_){}finally{process.chdir(I)}return R&&(R=k.resolve($?_.options.cwd:"",R)),R}_.exports=function(_){return s(_)||s(_,!0)}},function(_,E,I){"use strict";const k=/([()\][%!^"`<>&|;, *?])/g;_.exports.command=function(_){return _=_.replace(k,"^$1")},_.exports.argument=function(_,E){return _=(_=`"${_=(_=(_=`${_}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(k,"^$1"),E&&(_=_.replace(k,"^$1")),_}},function(_,E,I){"use strict";const k=I(5),N=I(142);_.exports=function(_){let E,I;Buffer.alloc?E=Buffer.alloc(150):(E=new Buffer(150)).fill(0);try{I=k.openSync(_,"r"),k.readSync(I,E,0,150,0),k.closeSync(I)}catch(_){}return N(E.toString())}},function(_,E,I){"use strict";var k=I(143);_.exports=function(_){var E=_.match(k);if(!E)return null;var I=E[0].replace(/#! ?/,"").split(" "),N=I[0].split("/").pop(),L=I[1];return"env"===N?L:N+(L?" "+L:"")}},function(_,E,I){"use strict";_.exports=/^#!.*/},function(_,E){var I;E=_.exports=Y,I="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var _=Array.prototype.slice.call(arguments,0);_.unshift("SEMVER"),console.log.apply(console,_)}:function(){},E.SEMVER_SPEC_VERSION="2.0.0";var k=256,N=Number.MAX_SAFE_INTEGER||9007199254740991,L=E.re=[],$=E.src=[],R=0,G=R++;$[G]="0|[1-9]\\d*";var W=R++;$[W]="[0-9]+";var q=R++;$[q]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var U=R++;$[U]="("+$[G]+")\\.("+$[G]+")\\.("+$[G]+")";var H=R++;$[H]="("+$[W]+")\\.("+$[W]+")\\.("+$[W]+")";var ie=R++;$[ie]="(?:"+$[G]+"|"+$[q]+")";var pe=R++;$[pe]="(?:"+$[W]+"|"+$[q]+")";var he=R++;$[he]="(?:-("+$[ie]+"(?:\\."+$[ie]+")*))";var de=R++;$[de]="(?:-?("+$[pe]+"(?:\\."+$[pe]+")*))";var me=R++;$[me]="[0-9A-Za-z-]+";var ge=R++;$[ge]="(?:\\+("+$[me]+"(?:\\."+$[me]+")*))";var ve=R++,ye="v?"+$[U]+$[he]+"?"+$[ge]+"?";$[ve]="^"+ye+"$";var be="[v=\\s]*"+$[H]+$[de]+"?"+$[ge]+"?",we=R++;$[we]="^"+be+"$";var xe=R++;$[xe]="((?:<|>)?=?)";var Se=R++;$[Se]=$[W]+"|x|X|\\*";var _e=R++;$[_e]=$[G]+"|x|X|\\*";var Pe=R++;$[Pe]="[v=\\s]*("+$[_e]+")(?:\\.("+$[_e]+")(?:\\.("+$[_e]+")(?:"+$[he]+")?"+$[ge]+"?)?)?";var Oe=R++;$[Oe]="[v=\\s]*("+$[Se]+")(?:\\.("+$[Se]+")(?:\\.("+$[Se]+")(?:"+$[de]+")?"+$[ge]+"?)?)?";var je=R++;$[je]="^"+$[xe]+"\\s*"+$[Pe]+"$";var Ee=R++;$[Ee]="^"+$[xe]+"\\s*"+$[Oe]+"$";var Ie=R++;$[Ie]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var Ae=R++;$[Ae]="(?:~>?)";var ke=R++;$[ke]="(\\s*)"+$[Ae]+"\\s+",L[ke]=new RegExp($[ke],"g");var Ne=R++;$[Ne]="^"+$[Ae]+$[Pe]+"$";var Fe=R++;$[Fe]="^"+$[Ae]+$[Oe]+"$";var Ce=R++;$[Ce]="(?:\\^)";var Me=R++;$[Me]="(\\s*)"+$[Ce]+"\\s+",L[Me]=new RegExp($[Me],"g");var Te=R++;$[Te]="^"+$[Ce]+$[Pe]+"$";var Ve=R++;$[Ve]="^"+$[Ce]+$[Oe]+"$";var De=R++;$[De]="^"+$[xe]+"\\s*("+be+")$|^$";var Be=R++;$[Be]="^"+$[xe]+"\\s*("+ye+")$|^$";var Le=R++;$[Le]="(\\s*)"+$[xe]+"\\s*("+be+"|"+$[Pe]+")",L[Le]=new RegExp($[Le],"g");var $e=R++;$[$e]="^\\s*("+$[Pe]+")\\s+-\\s+("+$[Pe]+")\\s*$";var Re=R++;$[Re]="^\\s*("+$[Oe]+")\\s+-\\s+("+$[Oe]+")\\s*$";var Ge=R++;$[Ge]="(<|>)?=?\\s*\\*";for(var Ye=0;Ye<35;Ye++)I(Ye,$[Ye]),L[Ye]||(L[Ye]=new RegExp($[Ye]));function K(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof Y)return _;if("string"!=typeof _)return null;if(_.length>k)return null;if(!(E.loose?L[we]:L[ve]).test(_))return null;try{return new Y(_,E)}catch(_){return null}}function Y(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof Y){if(_.loose===E.loose)return _;_=_.version}else if("string"!=typeof _)throw new TypeError("Invalid Version: "+_);if(_.length>k)throw new TypeError("version is longer than "+k+" characters");if(!(this instanceof Y))return new Y(_,E);I("SemVer",_,E),this.options=E,this.loose=!!E.loose;var $=_.trim().match(E.loose?L[we]:L[ve]);if(!$)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>N||this.major<0)throw new TypeError("Invalid major version");if(this.minor>N||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>N||this.patch<0)throw new TypeError("Invalid patch version");$[4]?this.prerelease=$[4].split(".").map((function(_){if(/^[0-9]+$/.test(_)){var E=+_;if(E>=0&&E<N)return E}return _})):this.prerelease=[],this.build=$[5]?$[5].split("."):[],this.format()}E.parse=K,E.valid=function(_,E){var I=K(_,E);return I?I.version:null},E.clean=function(_,E){var I=K(_.trim().replace(/^[=v]+/,""),E);return I?I.version:null},E.SemVer=Y,Y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Y.prototype.toString=function(){return this.version},Y.prototype.compare=function(_){return I("SemVer.compare",this.version,this.options,_),_ instanceof Y||(_=new Y(_,this.options)),this.compareMain(_)||this.comparePre(_)},Y.prototype.compareMain=function(_){return _ instanceof Y||(_=new Y(_,this.options)),J(this.major,_.major)||J(this.minor,_.minor)||J(this.patch,_.patch)},Y.prototype.comparePre=function(_){if(_ instanceof Y||(_=new Y(_,this.options)),this.prerelease.length&&!_.prerelease.length)return-1;if(!this.prerelease.length&&_.prerelease.length)return 1;if(!this.prerelease.length&&!_.prerelease.length)return 0;var E=0;do{var k=this.prerelease[E],N=_.prerelease[E];if(I("prerelease compare",E,k,N),void 0===k&&void 0===N)return 0;if(void 0===N)return 1;if(void 0===k)return-1;if(k!==N)return J(k,N)}while(++E)},Y.prototype.inc=function(_,E){switch(_){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",E),this.inc("pre",E);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",E),this.inc("pre",E);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var I=this.prerelease.length;--I>=0;)"number"==typeof this.prerelease[I]&&(this.prerelease[I]++,I=-2);-1===I&&this.prerelease.push(0)}E&&(this.prerelease[0]===E?isNaN(this.prerelease[1])&&(this.prerelease=[E,0]):this.prerelease=[E,0]);break;default:throw new Error("invalid increment argument: "+_)}return this.format(),this.raw=this.version,this},E.inc=function(_,E,I,k){"string"==typeof I&&(k=I,I=void 0);try{return new Y(_,I).inc(E,k).version}catch(_){return null}},E.diff=function(_,E){if(Z(_,E))return null;var I=K(_),k=K(E);if(I.prerelease.length||k.prerelease.length){for(var N in I)if(("major"===N||"minor"===N||"patch"===N)&&I[N]!==k[N])return"pre"+N;return"prerelease"}for(var N in I)if(("major"===N||"minor"===N||"patch"===N)&&I[N]!==k[N])return N},E.compareIdentifiers=J;var We=/^[0-9]+$/;function J(_,E){var I=We.test(_),k=We.test(E);return I&&k&&(_=+_,E=+E),I&&!k?-1:k&&!I?1:_<E?-1:_>E?1:0}function z(_,E,I){return new Y(_,I).compare(new Y(E,I))}function Q(_,E,I){return z(_,E,I)>0}function X(_,E,I){return z(_,E,I)<0}function Z(_,E,I){return 0===z(_,E,I)}function ee(_,E,I){return 0!==z(_,E,I)}function te(_,E,I){return z(_,E,I)>=0}function ne(_,E,I){return z(_,E,I)<=0}function re(_,E,I,k){var N;switch(E){case"===":"object"==typeof _&&(_=_.version),"object"==typeof I&&(I=I.version),N=_===I;break;case"!==":"object"==typeof _&&(_=_.version),"object"==typeof I&&(I=I.version),N=_!==I;break;case"":case"=":case"==":N=Z(_,I,k);break;case"!=":N=ee(_,I,k);break;case">":N=Q(_,I,k);break;case">=":N=te(_,I,k);break;case"<":N=X(_,I,k);break;case"<=":N=ne(_,I,k);break;default:throw new TypeError("Invalid operator: "+E)}return N}function oe(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof oe){if(_.loose===!!E.loose)return _;_=_.value}if(!(this instanceof oe))return new oe(_,E);I("comparator",_,E),this.options=E,this.loose=!!E.loose,this.parse(_),this.semver===Ke?this.value="":this.value=this.operator+this.semver.version,I("comp",this)}E.rcompareIdentifiers=function(_,E){return J(E,_)},E.major=function(_,E){return new Y(_,E).major},E.minor=function(_,E){return new Y(_,E).minor},E.patch=function(_,E){return new Y(_,E).patch},E.compare=z,E.compareLoose=function(_,E){return z(_,E,!0)},E.rcompare=function(_,E,I){return z(E,_,I)},E.sort=function(_,I){return _.sort((function(_,k){return E.compare(_,k,I)}))},E.rsort=function(_,I){return _.sort((function(_,k){return E.rcompare(_,k,I)}))},E.gt=Q,E.lt=X,E.eq=Z,E.neq=ee,E.gte=te,E.lte=ne,E.cmp=re,E.Comparator=oe;var Ke={};function se(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof se)return _.loose===!!E.loose&&_.includePrerelease===!!E.includePrerelease?_:new se(_.raw,E);if(_ instanceof oe)return new se(_.value,E);if(!(this instanceof se))return new se(_,E);if(this.options=E,this.loose=!!E.loose,this.includePrerelease=!!E.includePrerelease,this.raw=_,this.set=_.split(/\s*\|\|\s*/).map((function(_){return this.parseRange(_.trim())}),this).filter((function(_){return _.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+_);this.format()}function ae(_){return!_||"x"===_.toLowerCase()||"*"===_}function ce(_,E,I,k,N,L,$,R,G,W,q,U,H){return((E=ae(I)?"":ae(k)?">="+I+".0.0":ae(N)?">="+I+"."+k+".0":">="+E)+" "+(R=ae(G)?"":ae(W)?"<"+(+G+1)+".0.0":ae(q)?"<"+G+"."+(+W+1)+".0":U?"<="+G+"."+W+"."+q+"-"+U:"<="+R)).trim()}function ue(_,E,k){for(var N=0;N<_.length;N++)if(!_[N].test(E))return!1;if(k||(k={}),E.prerelease.length&&!k.includePrerelease){for(N=0;N<_.length;N++)if(I(_[N].semver),_[N].semver!==Ke&&_[N].semver.prerelease.length>0){var L=_[N].semver;if(L.major===E.major&&L.minor===E.minor&&L.patch===E.patch)return!0}return!1}return!0}function le(_,E,I){try{E=new se(E,I)}catch(_){return!1}return E.test(_)}function fe(_,E,I,k){var N,L,$,R,G;switch(_=new Y(_,k),E=new se(E,k),I){case">":N=Q,L=ne,$=X,R=">",G=">=";break;case"<":N=X,L=te,$=Q,R="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(_,E,k))return!1;for(var W=0;W<E.set.length;++W){var q=E.set[W],U=null,H=null;if(q.forEach((function(_){_.semver===Ke&&(_=new oe(">=0.0.0")),U=U||_,H=H||_,N(_.semver,U.semver,k)?U=_:$(_.semver,H.semver,k)&&(H=_)})),U.operator===R||U.operator===G)return!1;if((!H.operator||H.operator===R)&&L(_,H.semver))return!1;if(H.operator===G&&$(_,H.semver))return!1}return!0}oe.prototype.parse=function(_){var E=this.options.loose?L[De]:L[Be],I=_.match(E);if(!I)throw new TypeError("Invalid comparator: "+_);this.operator=I[1],"="===this.operator&&(this.operator=""),I[2]?this.semver=new Y(I[2],this.options.loose):this.semver=Ke},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(_){return I("Comparator.test",_,this.options.loose),this.semver===Ke||("string"==typeof _&&(_=new Y(_,this.options)),re(_,this.operator,this.semver,this.options))},oe.prototype.intersects=function(_,E){if(!(_ instanceof oe))throw new TypeError("a Comparator is required");var I;if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),""===this.operator)return I=new se(_.value,E),le(this.value,I,E);if(""===_.operator)return I=new se(this.value,E),le(_.semver,I,E);var k=!(">="!==this.operator&&">"!==this.operator||">="!==_.operator&&">"!==_.operator),N=!("<="!==this.operator&&"<"!==this.operator||"<="!==_.operator&&"<"!==_.operator),L=this.semver.version===_.semver.version,$=!(">="!==this.operator&&"<="!==this.operator||">="!==_.operator&&"<="!==_.operator),R=re(this.semver,"<",_.semver,E)&&(">="===this.operator||">"===this.operator)&&("<="===_.operator||"<"===_.operator),G=re(this.semver,">",_.semver,E)&&("<="===this.operator||"<"===this.operator)&&(">="===_.operator||">"===_.operator);return k||N||L&&$||R||G},E.Range=se,se.prototype.format=function(){return this.range=this.set.map((function(_){return _.join(" ").trim()})).join("||").trim(),this.range},se.prototype.toString=function(){return this.range},se.prototype.parseRange=function(_){var E=this.options.loose;_=_.trim();var k=E?L[Re]:L[$e];_=_.replace(k,ce),I("hyphen replace",_),_=_.replace(L[Le],"$1$2$3"),I("comparator trim",_,L[Le]),_=(_=(_=_.replace(L[ke],"$1~")).replace(L[Me],"$1^")).split(/\s+/).join(" ");var N=E?L[De]:L[Be],$=_.split(" ").map((function(_){return function(_,E){return I("comp",_,E),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){I("caret",_,E),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Ve]:L[Te];return _.replace(k,(function(E,k,N,L,$){var R;return I("caret",_,E,k,N,L,$),ae(k)?R="":ae(N)?R=">="+k+".0.0 <"+(+k+1)+".0.0":ae(L)?R="0"===k?">="+k+"."+N+".0 <"+k+"."+(+N+1)+".0":">="+k+"."+N+".0 <"+(+k+1)+".0.0":$?(I("replaceCaret pr",$),"-"!==$.charAt(0)&&($="-"+$),R="0"===k?"0"===N?">="+k+"."+N+"."+L+$+" <"+k+"."+N+"."+(+L+1):">="+k+"."+N+"."+L+$+" <"+k+"."+(+N+1)+".0":">="+k+"."+N+"."+L+$+" <"+(+k+1)+".0.0"):(I("no pr"),R="0"===k?"0"===N?">="+k+"."+N+"."+L+" <"+k+"."+N+"."+(+L+1):">="+k+"."+N+"."+L+" <"+k+"."+(+N+1)+".0":">="+k+"."+N+"."+L+" <"+(+k+1)+".0.0"),I("caret return",R),R}))}(_,E)})).join(" ")}(_,E),I("caret",_),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Fe]:L[Ne];return _.replace(k,(function(E,k,N,L,$){var R;return I("tilde",_,E,k,N,L,$),ae(k)?R="":ae(N)?R=">="+k+".0.0 <"+(+k+1)+".0.0":ae(L)?R=">="+k+"."+N+".0 <"+k+"."+(+N+1)+".0":$?(I("replaceTilde pr",$),"-"!==$.charAt(0)&&($="-"+$),R=">="+k+"."+N+"."+L+$+" <"+k+"."+(+N+1)+".0"):R=">="+k+"."+N+"."+L+" <"+k+"."+(+N+1)+".0",I("tilde return",R),R}))}(_,E)})).join(" ")}(_,E),I("tildes",_),_=function(_,E){return I("replaceXRanges",_,E),_.split(/\s+/).map((function(_){return function(_,E){_=_.trim(),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Ee]:L[je];return _.replace(k,(function(E,k,N,L,$,R){I("xRange",_,E,k,N,L,$,R);var G=ae(N),W=G||ae(L),q=W||ae($),U=q;return"="===k&&U&&(k=""),G?E=">"===k||"<"===k?"<0.0.0":"*":k&&U?(W&&(L=0),q&&($=0),">"===k?(k=">=",W?(N=+N+1,L=0,$=0):q&&(L=+L+1,$=0)):"<="===k&&(k="<",W?N=+N+1:L=+L+1),E=k+N+"."+L+"."+$):W?E=">="+N+".0.0 <"+(+N+1)+".0.0":q&&(E=">="+N+"."+L+".0 <"+N+"."+(+L+1)+".0"),I("xRange return",E),E}))}(_,E)})).join(" ")}(_,E),I("xrange",_),_=function(_,E){return I("replaceStars",_,E),_.trim().replace(L[Ge],"")}(_,E),I("stars",_),_}(_,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&($=$.filter((function(_){return!!_.match(N)}))),$=$.map((function(_){return new oe(_,this.options)}),this)},se.prototype.intersects=function(_,E){if(!(_ instanceof se))throw new TypeError("a Range is required");return this.set.some((function(I){return I.every((function(I){return _.set.some((function(_){return _.every((function(_){return I.intersects(_,E)}))}))}))}))},E.toComparators=function(_,E){return new se(_,E).set.map((function(_){return _.map((function(_){return _.value})).join(" ").trim().split(" ")}))},se.prototype.test=function(_){if(!_)return!1;"string"==typeof _&&(_=new Y(_,this.options));for(var E=0;E<this.set.length;E++)if(ue(this.set[E],_,this.options))return!0;return!1},E.satisfies=le,E.maxSatisfying=function(_,E,I){var k=null,N=null;try{var L=new se(E,I)}catch(_){return null}return _.forEach((function(_){L.test(_)&&(k&&-1!==N.compare(_)||(N=new Y(k=_,I)))})),k},E.minSatisfying=function(_,E,I){var k=null,N=null;try{var L=new se(E,I)}catch(_){return null}return _.forEach((function(_){L.test(_)&&(k&&1!==N.compare(_)||(N=new Y(k=_,I)))})),k},E.validRange=function(_,E){try{return new se(_,E).range||"*"}catch(_){return null}},E.ltr=function(_,E,I){return fe(_,E,"<",I)},E.gtr=function(_,E,I){return fe(_,E,">",I)},E.outside=fe,E.prerelease=function(_,E){var I=K(_,E);return I&&I.prerelease.length?I.prerelease:null},E.intersects=function(_,E,I){return _=new se(_,I),E=new se(E,I),_.intersects(E)},E.coerce=function(_){if(_ instanceof Y)return _;if("string"!=typeof _)return null;var E=_.match(L[Ie]);return null==E?null:K((E[1]||"0")+"."+(E[2]||"0")+"."+(E[3]||"0"))}},function(_,E,I){"use strict";const k="win32"===process.platform;function o(_,E){return Object.assign(new Error(`${E} ${_.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${E} ${_.command}`,path:_.command,spawnargs:_.args})}function i(_,E){return k&&1===_&&!E.file?o(E.original,"spawn"):null}_.exports={hookChildProcess:function(_,E){if(!k)return;const I=_.emit;_.emit=function(k,N){if("exit"===k){const k=i(N,E);if(k)return I.call(_,"error",k)}return I.apply(_,arguments)}},verifyENOENT:i,verifyENOENTSync:function(_,E){return k&&1===_&&!E.file?o(E.original,"spawnSync"):null},notFoundError:o}},function(_,E,I){"use strict";_.exports=function(_){var E="string"==typeof _?"\n":"\n".charCodeAt(),I="string"==typeof _?"\r":"\r".charCodeAt();return _[_.length-1]===E&&(_=_.slice(0,_.length-1)),_[_.length-1]===I&&(_=_.slice(0,_.length-1)),_}},function(_,E,I){"use strict";const k=I(0),N=I(77);_.exports=_=>{let E;_=Object.assign({cwd:process.cwd(),path:process.env[N()]},_);let I=k.resolve(_.cwd);const L=[];for(;E!==I;)L.push(k.join(I,"node_modules/.bin")),E=I,I=k.resolve(I,"..");return L.push(k.dirname(process.execPath)),L.concat(_.path).join(k.delimiter)},_.exports.env=E=>{E=Object.assign({env:process.env},E);const I=Object.assign({},E.env),k=N({env:I});return E.path=I[k],I[k]=_.exports(E),I}},function(_,E,I){"use strict";var k=_.exports=function(_){return null!==_&&"object"==typeof _&&"function"==typeof _.pipe};k.writable=function(_){return k(_)&&!1!==_.writable&&"function"==typeof _._write&&"object"==typeof _._writableState},k.readable=function(_){return k(_)&&!1!==_.readable&&"function"==typeof _._read&&"object"==typeof _._readableState},k.duplex=function(_){return k.writable(_)&&k.readable(_)},k.transform=function(_){return k.duplex(_)&&"function"==typeof _._transform&&"object"==typeof _._transformState}},function(_,E,I){"use strict";const k=I(150),N=I(152);class i extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}function s(_,E){if(!_)return Promise.reject(new Error("Expected a stream"));E=Object.assign({maxBuffer:1/0},E);const{maxBuffer:I}=E;let L;return new Promise((($,R)=>{const u=_=>{_&&(_.bufferedData=L.getBufferedValue()),R(_)};(L=k(_,N(E),(_=>{_?u(_):$()}))).on("data",(()=>{L.getBufferedLength()>I&&u(new i)}))})).then((()=>L.getBufferedValue()))}_.exports=s,_.exports.buffer=(_,E)=>s(_,Object.assign({},E,{encoding:"buffer"})),_.exports.array=(_,E)=>s(_,Object.assign({},E,{array:!0})),_.exports.MaxBufferError=i},function(_,E,I){var k=I(31),N=I(151),L=I(5),s=function(){},$=/^v?\.0/.test(process.version),c=function(_){return"function"==typeof _},u=function(_,E,I,R){R=k(R);var G=!1;_.on("close",(function(){G=!0})),N(_,{readable:E,writable:I},(function(_){if(_)return R(_);G=!0,R()}));var W=!1;return function(E){if(!G&&!W)return W=!0,function(_){return!!$&&!!L&&(_ instanceof(L.ReadStream||s)||_ instanceof(L.WriteStream||s))&&c(_.close)}(_)?_.close(s):function(_){return _.setHeader&&c(_.abort)}(_)?_.abort():c(_.destroy)?_.destroy():void R(E||new Error("stream was destroyed"))}},l=function(_){_()},f=function(_,E){return _.pipe(E)};_.exports=function(){var _,E=Array.prototype.slice.call(arguments),I=c(E[E.length-1]||s)&&E.pop()||s;if(Array.isArray(E[0])&&(E=E[0]),E.length<2)throw new Error("pump requires two streams per minimum");var k=E.map((function(N,L){var $=L<E.length-1;return u(N,$,L>0,(function(E){_||(_=E),E&&k.forEach(l),$||(k.forEach(l),I(_))}))}));return E.reduce(f)}},function(_,E,I){var k=I(31),o=function(){},i=function(_,E,I){if("function"==typeof E)return i(_,null,E);E||(E={}),I=k(I||o);var N=_._writableState,L=_._readableState,$=E.readable||!1!==E.readable&&_.readable,R=E.writable||!1!==E.writable&&_.writable,l=function(){_.writable||f()},f=function(){R=!1,$||I.call(_)},p=function(){$=!1,R||I.call(_)},h=function(E){I.call(_,E?new Error("exited with error code: "+E):null)},d=function(E){I.call(_,E)},m=function(){return(!$||L&&L.ended)&&(!R||N&&N.ended)?void 0:I.call(_,new Error("premature close"))},g=function(){_.req.on("finish",f)};return!function(_){return _.setHeader&&"function"==typeof _.abort}(_)?R&&!N&&(_.on("end",l),_.on("close",l)):(_.on("complete",f),_.on("abort",m),_.req?g():_.on("request",g)),function(_){return _.stdio&&Array.isArray(_.stdio)&&3===_.stdio.length}(_)&&_.on("exit",h),_.on("end",p),_.on("finish",f),!1!==E.error&&_.on("error",d),_.on("close",m),function(){_.removeListener("complete",f),_.removeListener("abort",m),_.removeListener("request",g),_.req&&_.req.removeListener("finish",f),_.removeListener("end",l),_.removeListener("close",l),_.removeListener("finish",f),_.removeListener("exit",h),_.removeListener("end",p),_.removeListener("error",d),_.removeListener("close",m)}};_.exports=i},function(_,E,I){"use strict";const{PassThrough:k}=I(153);_.exports=_=>{_=Object.assign({},_);const{array:E}=_;let{encoding:I}=_;const N="buffer"===I;let L=!1;E?L=!(I||N):I=I||"utf8",N&&(I=null);let $=0;const R=[],G=new k({objectMode:L});return I&&G.setEncoding(I),G.on("data",(_=>{R.push(_),L?$=R.length:$+=_.length})),G.getBufferedValue=()=>E?R:N?Buffer.concat(R,$):R.join(""),G.getBufferedLength=()=>$,G}},function(_,E){_.exports=I(781)},function(_,E,I){"use strict";_.exports=(_,E)=>(E=E||(()=>{}),_.then((_=>new Promise((_=>{_(E())})).then((()=>_))),(_=>new Promise((_=>{_(E())})).then((()=>{throw _})))))},function(_,E,I){var k,N=I(47),L=I(156),$=I(68);function a(){G&&(G=!1,L.forEach((function(_){try{process.removeListener(_,R[_])}catch(_){}})),process.emit=q,process.reallyExit=W,k.count-=1)}function c(_,E,I){k.emitted[_]||(k.emitted[_]=!0,k.emit(_,E,I))}"function"!=typeof $&&($=$.EventEmitter),process.__signal_exit_emitter__?k=process.__signal_exit_emitter__:((k=process.__signal_exit_emitter__=new $).count=0,k.emitted={}),k.infinite||(k.setMaxListeners(1/0),k.infinite=!0),_.exports=function(_,E){N.equal(typeof _,"function","a callback must be provided for exit handler"),!1===G&&f();var I="exit";E&&E.alwaysLast&&(I="afterexit");return k.on(I,_),function(){k.removeListener(I,_),0===k.listeners("exit").length&&0===k.listeners("afterexit").length&&a()}},_.exports.unload=a;var R={};L.forEach((function(_){R[_]=function(){process.listeners(_).length===k.count&&(a(),c("exit",null,_),c("afterexit",null,_),process.kill(process.pid,_))}})),_.exports.signals=function(){return L},_.exports.load=f;var G=!1;function f(){G||(G=!0,k.count+=1,L=L.filter((function(_){try{return process.on(_,R[_]),!0}catch(_){return!1}})),process.emit=m,process.reallyExit=h)}var W=process.reallyExit;function h(_){process.exitCode=_||0,c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),W.call(process,process.exitCode)}var q=process.emit;function m(_,E){if("exit"===_){void 0!==E&&(process.exitCode=E);var I=q.apply(this,arguments);return c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),I}return q.apply(this,arguments)}},function(_,E){_.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&_.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&_.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},function(_,E,I){"use strict";const k=I(30);let N;if("function"==typeof k.getSystemErrorName)_.exports=k.getSystemErrorName;else{try{if("function"!=typeof(N=process.binding("uv")).errname)throw new TypeError("uv.errname is not a function")}catch(_){console.error("execa/lib/errname: unable to establish process.binding('uv')",_),N=null}_.exports=_=>i(N,_)}function i(_,E){if(_)return _.errname(E);if(!(E<0))throw new Error("err >= 0");return`Unknown system error ${E}`}_.exports.__test__=i},function(_,E,I){"use strict";const k=["stdin","stdout","stderr"];_.exports=_=>{if(!_)return null;if(_.stdio&&(_=>k.some((E=>Boolean(_[E]))))(_))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${k.map((_=>`\`${_}\``)).join(", ")}`);if("string"==typeof _.stdio)return _.stdio;const E=_.stdio||[];if(!Array.isArray(E))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof E}\``);const I=[],N=Math.max(E.length,k.length);for(let L=0;L<N;L++){let N=null;void 0!==E[L]?N=E[L]:void 0!==_[k[L]]&&(N=_[k[L]]),I[L]=N}return I}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getBazelInfo:function(){return k.log("trace","getBazelInfo"),Promise.all([k.run("bazel --version").then(k.findVersion),k.run("which bazel")]).then((function(_){return k.determineFound("Bazel",_[0],_[1])}))},getCMakeInfo:function(){return k.log("trace","getCMakeInfo"),Promise.all([k.run("cmake --version").then(k.findVersion),k.run("which cmake")]).then((function(_){return k.determineFound("CMake",_[0],_[1])}))},getGCCInfo:function(){return k.log("trace","getGCCInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("gcc -v 2>&1").then(k.findVersion),k.run("which gcc")]).then((function(_){return k.determineFound("GCC",_[0],_[1])})):Promise.resolve(["GCC","N/A"])},getClangInfo:function(){return k.log("trace","getClangInfo"),Promise.all([k.run("clang --version").then(k.findVersion),k.which("clang")]).then((function(_){return k.determineFound("Clang",_[0],_[1])}))},getGitInfo:function(){return k.log("trace","getGitInfo"),Promise.all([k.run("git --version").then(k.findVersion),k.run("which git")]).then((function(_){return k.determineFound("Git",_[0],_[1])}))},getMakeInfo:function(){return k.log("trace","getMakeInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("make --version").then(k.findVersion),k.run("which make")]).then((function(_){return k.determineFound("Make",_[0],_[1])})):Promise.resolve(["Make","N/A"])},getNinjaInfo:function(){return k.log("trace","getNinjaInfo"),Promise.all([k.run("ninja --version").then(k.findVersion),k.run("which ninja")]).then((function(_){return k.determineFound("Ninja",_[0],_[1])}))},getMercurialInfo:function(){return k.log("trace","getMercurialInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("hg --version").then(k.findVersion),k.run("which hg")]).then((function(_){return k.determineFound("Mercurial",_[0],_[1])})):Promise.resolve(["Mercurial","N/A"])},getSubversionInfo:function(){return k.log("trace","getSubversionInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("svn --version").then(k.findVersion),k.run("which svn")]).then((function(_){return k.determineFound("Subversion",_[0],_[1])})):Promise.resolve(["Subversion","N/A"])},getFFmpegInfo:function(){return k.log("trace","getFFmpegInfo"),Promise.all([k.run("ffmpeg -version").then(k.findVersion),k.which("ffmpeg")]).then((function(_){return k.determineFound("FFmpeg",_[0],_[1])}))}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getDockerInfo:function(){return k.log("trace","getDockerInfo"),Promise.all([k.run("docker --version").then(k.findVersion),k.which("docker")]).then((function(_){return k.determineFound("Docker",_[0],_[1])}))},getParallelsInfo:function(){return k.log("trace","getParallelsInfo"),Promise.all([k.run("prlctl --version").then(k.findVersion),k.which("prlctl")]).then((function(_){return k.determineFound("Parallels",_[0],_[1])}))},getVirtualBoxInfo:function(){return k.log("trace","getVirtualBoxInfo"),Promise.all([k.run("vboxmanage --version").then(k.findVersion),k.which("vboxmanage")]).then((function(_){return k.determineFound("VirtualBox",_[0],_[1])}))},getVMwareFusionInfo:function(){return k.log("trace","getVMwareFusionInfo"),k.getDarwinApplicationVersion("com.vmware.fusion").then((function(_){return k.determineFound("VMWare Fusion",_,"N/A")}))}}},function(_,E,I){"use strict";I(162),I(64),I(22),I(16),I(21),I(74);var k=I(163),N=I(1);function i(_,E){return N.log("trace","clean",_),Object.keys(_).reduce((function(I,k){return!E.showNotFound&&"Not Found"===_[k]||"N/A"===_[k]||void 0===_[k]||0===Object.keys(_[k]).length?I:N.isObject(_[k])?Object.values(_[k]).every((function(_){return"N/A"===_||!E.showNotFound&&"Not Found"===_}))?I:Object.assign(I,{[k]:i(_[k],E)}):Object.assign(I,{[k]:_[k]})}),{})}function s(_,E){N.log("trace","formatHeaders"),E||(E={type:"underline"});var I={underline:["",""]};return _.slice().split("\n").map((function(_){if(":"===_.slice("-1")){var k=_.match(/^[\s]*/g)[0];return`${k}${I[E.type][0]}${_.slice(k.length)}${I[E.type][1]}`}return _})).join("\n")}function a(_){return N.log("trace","formatPackages"),_.npmPackages?Object.assign(_,{npmPackages:Object.entries(_.npmPackages||{}).reduce((function(_,E){var I=E[0],k=E[1];if("Not Found"===k)return Object.assign(_,{[I]:k});var N=k.wanted?`${k.wanted} =>`:"",L=Array.isArray(k.installed)?k.installed.join(", "):k.installed,$=k.duplicates?`(${k.duplicates.join(", ")})`:"";return Object.assign(_,{[I]:`${N} ${L} ${$}`})}),{})}):_}function c(_,E,I){return I||(I={emptyMessage:"None"}),Array.isArray(E)&&(E=E.length>0?E.join(", "):I.emptyMessage),{[_]:E}}function u(_){return N.log("trace","serializeArrays"),function e(_,E){return Object.entries(_).reduce((function(_,I){var k=I[0],L=I[1];return N.isObject(L)?Object.assign(_,{[k]:e(L,E)}):Object.assign(_,E(k,L))}),{})}(_,c)}function l(_){return N.log("trace","serializeVersionsAndPaths"),Object.entries(_).reduce((function(_,E){return Object.assign(_,{[E[0]]:Object.entries(E[1]).reduce((function(_,E){var I=E[0],k=E[1];return k.version?Object.assign(_,{[I]:[k.version,k.path].filter(Boolean).join(" - ")}):Object.assign(_,{[I]:[k][0]})}),{})},{})}),{})}function f(_){return k(_,{indent:" ",prefix:"\n",postfix:"\n"})}function p(_){return _.slice().split("\n").map((function(_){if(""!==_){var E=":"===_.slice("-1"),I=_.search(/\S|$/);return E?`${"#".repeat(I/2+1)} `+_.slice(I):" - "+_.slice(I)}return""})).join("\n")}function h(_,E){return E||(E={indent:" "}),JSON.stringify(_,null,E.indent)}_.exports={json:function(_,E){return N.log("trace","formatToJson"),E||(E={}),_=N.pipe([function(){return i(_,E)},E.title?function(_){return{[E.title]:_}}:N.noop,h])(_),_=E.console?`\n${_}\n`:_},markdown:function(_,E){return N.log("trace","formatToMarkdown"),N.pipe([function(){return i(_,E)},a,u,l,f,p,E.title?function(_){return`\n# ${E.title}${_}`}:N.noop])(_,E)},yaml:function(_,E){return N.log("trace","formatToYaml",E),N.pipe([function(){return i(_,E)},a,u,l,E.title?function(_){return{[E.title]:_}}:N.noop,f,E.console?s:N.noop])(_,E)}}},function(_,E,I){I(28)("search",1,(function(_,E,I){return[function(I){"use strict";var k=_(this),N=null==I?void 0:I[E];return void 0!==N?N.call(I,k):new RegExp(I)[E](String(k))},I]}))},function(_,E,I){"use strict";var k=I(164),N=I(165),L=I(169),$=["object","array"];_.exports=function(_,E){var I=N(E),R=I.colors,G=I.prefix,W=I.postfix,q=I.dateToString,U=I.errorToString,H=I.indent,ie=new Map;function d(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===Object.keys(_).length)return" {}";var N="\n",R=L(E,H);return Object.keys(_).forEach((function(G){var W=_[G],q=k(W),U=L(I," "),H=-1!==$.indexOf(q)?"":" ",ie=v(W)?" [Circular]":g(q,W,E+1,I);N+=`${U}${R}${G}:${H}${ie}\n`})),N.substring(0,N.length-1)}function m(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===_.length)return" []";var N="\n",$=L(E,H);return _.forEach((function(_){var R=k(_),G=L(I," "),W=v(_)?"[Circular]":g(R,_,E,I+1).toString().trimLeft();N+=`${G}${$}- ${W}\n`})),N.substring(0,N.length-1)}function g(_,E,I,k){switch(_){case"array":return m(E,I,k);case"object":return d(E,I,k);case"string":return R.string(E);case"symbol":return R.symbol(E.toString());case"number":return R.number(E);case"boolean":return R.boolean(E);case"null":return R.null("null");case"undefined":return R.undefined("undefined");case"date":return R.date(q(E));case"error":return R.error(U(E));default:return E&&E.toString?E.toString():Object.prototype.toString.call(E)}}function v(_){return-1!==["object","array"].indexOf(k(_))&&(!!ie.has(_)||(ie.set(_),!1))}var pe="";return ie.set(_),"object"===k(_)&&Object.keys(_).length>0?pe=d(_):"array"===k(_)&&_.length>0&&(pe=m(_)),0===pe.length?"":`${G}${pe.slice(1)}${W}`}},function(_,E,I){"use strict";_.exports=function(_){return Array.isArray(_)?"array":_ instanceof Date?"date":_ instanceof Error?"error":null===_?"null":"object"==typeof _&&"[object Object]"===Object.prototype.toString.call(_)?"object":typeof _}},function(_,E,I){"use strict";var k=I(166),N=I(167),L=I(168),$=" ",R="\n",G="";function u(_,E){return void 0===_?E:_}_.exports=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{indent:u(_.indent,$),prefix:u(_.prefix,R),postfix:u(_.postfix,G),errorToString:_.errorToString||k,dateToString:_.dateToString||N,colors:Object.assign({},L,_.colors)}}},function(_,E,I){"use strict";_.exports=function(_){return Error.prototype.toString.call(_)}},function(_,E,I){"use strict";_.exports=function(_){return`new Date(${Date.prototype.toISOString.call(_)})`}},function(_,E,I){"use strict";function r(_){return _}_.exports={date:r,error:r,symbol:r,string:r,number:r,boolean:r,null:r,undefined:r}},function(_,E,I){"use strict";_.exports=function(){for(var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",I="",k=0;k<_;k+=1)I+=E;return I}},function(_,E,I){"use strict";_.exports={defaults:{System:["OS","CPU","Memory","Container","Shell"],Binaries:["Node","Yarn","npm","Watchman"],Managers:["Apt","Cargo","CocoaPods","Composer","Gradle","Homebrew","Maven","pip2","pip3","RubyGems","Yum"],Utilities:["Bazel","CMake","Make","GCC","Git","Clang","Ninja","Mercurial","Subversion","FFmpeg"],Servers:["Apache","Nginx"],Virtualization:["Docker","Parallels","VirtualBox","VMware Fusion"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Atom","Emacs","IntelliJ","NVim","Nano","PhpStorm","Sublime Text","VSCode","Visual Studio","Vim","WebStorm","Xcode"],Languages:["Bash","Go","Elixir","Erlang","Java","Perl","PHP","Protoc","Python","Python3","R","Ruby","Rust","Scala"],Databases:["MongoDB","MySQL","PostgreSQL","SQLite"],Browsers:["Brave Browser","Chrome","Chrome Canary","Chromium","Edge","Firefox","Firefox Developer Edition","Firefox Nightly","Internet Explorer","Safari","Safari Technology Preview"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:null,npmGlobalPackages:null},jest:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:["jest"]},"react-native":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","Watchman"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Xcode","Visual Studio"],npmPackages:["react","react-native"],npmGlobalPackages:["react-native-cli"]},nyc:{System:["OS","CPU","Memory"],Binaries:["Node","Yarn","npm"],npmPackages:"/**/{*babel*,@babel/*/,*istanbul*,nyc,source-map-support,typescript,ts-node}"},webpack:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:"*webpack*",npmGlobalPackages:["webpack","webpack-cli"]},"styled-components":{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],Browsers:["Chrome","Firefox","Safari"],npmPackages:"*styled-components*"},"create-react-app":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-dom","react-scripts"],npmGlobalPackages:["create-react-app"],options:{duplicates:!0,showNotFound:!0}},apollo:{System:["OS"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Firefox","Safari"],npmPackages:"{*apollo*,@apollo/*}",npmGlobalPackages:"{*apollo*,@apollo/*}"},"react-native-web":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-native-web"],options:{showNotFound:!0}},babel:{System:["OS"],Binaries:["Node","npm","Yarn"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:"{*babel*,@babel/*,eslint,webpack,create-react-app,react-native,lerna,jest}"},playwright:{System:["OS","Memory","Container"],Binaries:["Node","Yarn","npm"],Languages:["Bash"],npmPackages:"playwright*"}}}])},491:E=>{E.exports=_(import.meta.url)("assert")},81:E=>{E.exports=_(import.meta.url)("child_process")},361:E=>{E.exports=_(import.meta.url)("events")},147:E=>{E.exports=_(import.meta.url)("fs")},37:E=>{E.exports=_(import.meta.url)("os")},17:E=>{E.exports=_(import.meta.url)("path")},781:E=>{E.exports=_(import.meta.url)("stream")},837:E=>{E.exports=_(import.meta.url)("util")},598:_=>{_.exports=JSON.parse('{"name":"expo-env-info","version":"1.0.5","preferGlobal":true,"type":"module","keywords":["expo","ios","expo-env-info","android"],"description":"Fetch Expo project information for GitHub issue diagnostics","repository":{"type":"git","url":"https://github.com/expo/expo-cli.git","directory":"packages/expo-env-info"},"author":"Expo <support@expo.dev>","license":"MIT","bin":{"expo-env-info":"./build/index.js"},"files":["build"],"scripts":{"prepare":"yarn run clean && yarn run build:prod","lint":"eslint .","watch":"yarn run build -w","test":"jest","build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"rimraf ./build/"},"devDependencies":{"@types/envinfo":"^7.8.1"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"dependencies":{"envinfo":"^7.8.1"}}')}};var I={};function __nccwpck_require__(_){var k=I[_];if(k!==undefined){return k.exports}var N=I[_]={exports:{}};var L=true;try{E[_](N,N.exports,__nccwpck_require__);L=false}finally{if(L)delete I[_]}return N.exports}(()=>{__nccwpck_require__.n=_=>{var E=_&&_.__esModule?()=>_["default"]:()=>_;__nccwpck_require__.d(E,{a:E});return E}})();(()=>{__nccwpck_require__.d=(_,E)=>{for(var I in E){if(__nccwpck_require__.o(E,I)&&!__nccwpck_require__.o(_,I)){Object.defineProperty(_,I,{enumerable:true,get:E[I]})}}}})();(()=>{__nccwpck_require__.o=(_,E)=>Object.prototype.hasOwnProperty.call(_,E)})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var k={};(()=>{var _=__nccwpck_require__(147);var E=__nccwpck_require__(17);var I=__nccwpck_require__.n(E);var k=__nccwpck_require__(152);var N=__nccwpck_require__.n(k);async function*walk(E){for await(const k of await _.promises.readdir(E,{withFileTypes:true})){const _=I().join(E,k.name);if(k.isDirectory()||k.isSymbolicLink()){yield _;yield*walk(_)}else if(k.isFile()){yield _}}}async function findFile(E,k){return _.promises.access(E,_.constants.F_OK).then((async()=>{for await(const _ of walk(E)){if(I().extname(_)===k)return true}return false})).catch((()=>false))}const L=__nccwpck_require__(598);function getEnvironmentInfoAsync(){return N().run({System:["OS","Shell"],Binaries:["Node","Yarn","npm","Watchman"],IDEs:["Xcode","Android Studio"],Managers:["CocoaPods"],SDKs:["iOS SDK","Android SDK"],npmPackages:["expo","react","react-dom","react-native","react-native-web","react-navigation","@expo/webpack-config","@expo/metro-config","babel-preset-expo","metro"],npmGlobalPackages:["expo-cli","eas-cli"]},{title:`expo-env-info ${L.version} environment info`})}async function isInsideProjectAsync(E){try{await _.promises.access(I().join(E||process.cwd(),"./package.json"),_.constants.F_OK);return true}catch(_){return false}}async function isBareWorkflowProject(_){const E=await findFile(I().join(_,"ios"),".xcodeproj");const k=await findFile(I().join(_,"android"),".gradle");return E||k}async function actionAsync(_){process.chdir(_!==null&&_!==void 0?_:process.cwd());const E=await getEnvironmentInfoAsync();const I=E.split("\n");if(await isInsideProjectAsync(_)){const E=await isBareWorkflowProject(_)?"bare":"managed";I.pop();I.push(` Expo Workflow: ${E}`)}console.log(I.join("\n")+"\n")}const packageJson=()=>__nccwpck_require__(598);async function run(){var E;const k=process.argv.slice(2);if(k.some((_=>["-V","-v","--version"].includes(_)))){logVersionAndExit()}if(k.some((_=>["-h","--help"].includes(_)))){logHelpAndExit()}const N=I().resolve(process.cwd(),(E=k[0])!==null&&E!==void 0?E:process.cwd());await _.promises.access(N,_.constants.F_OK).catch((_=>{if(_){console.error(`Project directory ${N} does not exist`);process.exit(1)}}));await actionAsync(N)}function logVersionAndExit(){console.log(packageJson().version);process.exit(0)}function logHelpAndExit(){console.log(`\n Usage: npx expo-env-info [path] [options]\n\n Log environment info to the console\n\n Options:\n\n -h, --help output usage information\n -v, --version output the version number`);process.exit(0)}run()})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-env-info",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "preferGlobal": true,
5
5
  "type": "module",
6
6
  "keywords": [