forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.js
3 lines (3 loc) · 109 KB
/
Makefile.js
1
2
3
/* eslint-disable */
// prettier-ignore
"use strict";var t=require("os"),e=require("fs"),r=require("path"),n=require("events"),i=require("assert"),o=require("util"),s=require("child_process");function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=c(t),u=c(e),l=c(r),f=c(n),p=c(i),h=c(o),d=c(s),v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=function(t){return t&&t.Math==Math&&t},g=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof v&&v)||function(){return this}()||Function("return this")(),m={},b=function(t){try{return!!t()}catch(t){return!0}},w=!b((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),E=!b((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),S=E,x=Function.prototype.call,O=S?x.bind(x):function(){return x.apply(x,arguments)},k={},j={}.propertyIsEnumerable,_=Object.getOwnPropertyDescriptor,A=_&&!j.call({1:2},1);k.f=A?function(t){var e=_(this,t);return!!e&&e.enumerable}:j;var R,I,F=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},L=E,T=Function.prototype,P=T.call,D=L&&T.bind.bind(P,P),C=L?D:function(t){return function(){return P.apply(t,arguments)}},N=C,M=N({}.toString),G=N("".slice),$=function(t){return G(M(t),8,-1)},B=$,U=C,W=function(t){if("Function"===B(t))return U(t)},q=b,z=$,X=Object,H=W("".split),V=q((function(){return!X("z").propertyIsEnumerable(0)}))?function(t){return"String"==z(t)?H(t,""):X(t)}:X,Y=function(t){return null==t},K=Y,Q=TypeError,J=function(t){if(K(t))throw Q("Can't call method on "+t);return t},Z=V,tt=J,et=function(t){return Z(tt(t))},rt="object"==typeof document&&document.all,nt={all:rt,IS_HTMLDDA:void 0===rt&&void 0!==rt},it=nt.all,ot=nt.IS_HTMLDDA?function(t){return"function"==typeof t||t===it}:function(t){return"function"==typeof t},st=ot,ct=nt.all,at=nt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:st(t)||t===ct}:function(t){return"object"==typeof t?null!==t:st(t)},ut=g,lt=ot,ft=function(t){return lt(t)?t:void 0},pt=function(t,e){return arguments.length<2?ft(ut[t]):ut[t]&&ut[t][e]},ht=W({}.isPrototypeOf),dt=pt("navigator","userAgent")||"",vt=g,yt=dt,gt=vt.process,mt=vt.Deno,bt=gt&>.versions||mt&&mt.version,wt=bt&&bt.v8;wt&&(I=(R=wt.split("."))[0]>0&&R[0]<4?1:+(R[0]+R[1])),!I&&yt&&(!(R=yt.match(/Edge\/(\d+)/))||R[1]>=74)&&(R=yt.match(/Chrome\/(\d+)/))&&(I=+R[1]);var Et=I,St=Et,xt=b,Ot=!!Object.getOwnPropertySymbols&&!xt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&St&&St<41})),kt=Ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,jt=pt,_t=ot,At=ht,Rt=Object,It=kt?function(t){return"symbol"==typeof t}:function(t){var e=jt("Symbol");return _t(e)&&At(e.prototype,Rt(t))},Ft=String,Lt=function(t){try{return Ft(t)}catch(t){return"Object"}},Tt=ot,Pt=Lt,Dt=TypeError,Ct=function(t){if(Tt(t))return t;throw Dt(Pt(t)+" is not a function")},Nt=Ct,Mt=Y,Gt=function(t,e){var r=t[e];return Mt(r)?void 0:Nt(r)},$t=O,Bt=ot,Ut=at,Wt=TypeError,qt={exports:{}},zt=g,Xt=Object.defineProperty,Ht=function(t,e){try{Xt(zt,t,{value:e,configurable:!0,writable:!0})}catch(r){zt[t]=e}return e},Vt=Ht,Yt=g["__core-js_shared__"]||Vt("__core-js_shared__",{}),Kt=Yt;(qt.exports=function(t,e){return Kt[t]||(Kt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Qt=J,Jt=Object,Zt=function(t){return Jt(Qt(t))},te=Zt,ee=W({}.hasOwnProperty),re=Object.hasOwn||function(t,e){return ee(te(t),e)},ne=W,ie=0,oe=Math.random(),se=ne(1..toString),ce=function(t){return"Symbol("+(void 0===t?"":t)+")_"+se(++ie+oe,36)},ae=g,ue=qt.exports,le=re,fe=ce,pe=Ot,he=kt,de=ue("wks"),ve=ae.Symbol,ye=ve&&ve.for,ge=he?ve:ve&&ve.withoutSetter||fe,me=function(t){if(!le(de,t)||!pe&&"string"!=typeof de[t]){var e="Symbol."+t;pe&&le(ve,t)?de[t]=ve[t]:de[t]=he&&ye?ye(e):ge(e)}return de[t]},be=O,we=at,Ee=It,Se=Gt,xe=function(t,e){var r,n;if("string"===e&&Bt(r=t.toString)&&!Ut(n=$t(r,t)))return n;if(Bt(r=t.valueOf)&&!Ut(n=$t(r,t)))return n;if("string"!==e&&Bt(r=t.toString)&&!Ut(n=$t(r,t)))return n;throw Wt("Can't convert object to primitive value")},Oe=TypeError,ke=me("toPrimitive"),je=function(t,e){if(!we(t)||Ee(t))return t;var r,n=Se(t,ke);if(n){if(void 0===e&&(e="default"),r=be(n,t,e),!we(r)||Ee(r))return r;throw Oe("Can't convert object to primitive value")}return void 0===e&&(e="number"),xe(t,e)},_e=It,Ae=function(t){var e=je(t,"string");return _e(e)?e:e+""},Re=at,Ie=g.document,Fe=Re(Ie)&&Re(Ie.createElement),Le=function(t){return Fe?Ie.createElement(t):{}},Te=Le,Pe=!w&&!b((function(){return 7!=Object.defineProperty(Te("div"),"a",{get:function(){return 7}}).a})),De=w,Ce=O,Ne=k,Me=F,Ge=et,$e=Ae,Be=re,Ue=Pe,We=Object.getOwnPropertyDescriptor;m.f=De?We:function(t,e){if(t=Ge(t),e=$e(e),Ue)try{return We(t,e)}catch(t){}if(Be(t,e))return Me(!Ce(Ne.f,t,e),t[e])};var qe={},ze=w&&b((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Xe=at,He=String,Ve=TypeError,Ye=function(t){if(Xe(t))return t;throw Ve(He(t)+" is not an object")},Ke=w,Qe=Pe,Je=ze,Ze=Ye,tr=Ae,er=TypeError,rr=Object.defineProperty,nr=Object.getOwnPropertyDescriptor;qe.f=Ke?Je?function(t,e,r){if(Ze(t),e=tr(e),Ze(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=nr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return rr(t,e,r)}:rr:function(t,e,r){if(Ze(t),e=tr(e),Ze(r),Qe)try{return rr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw er("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var ir=qe,or=F,sr=w?function(t,e,r){return ir.f(t,e,or(1,r))}:function(t,e,r){return t[e]=r,t},cr={exports:{}},ar=w,ur=re,lr=Function.prototype,fr=ar&&Object.getOwnPropertyDescriptor,pr=ur(lr,"name"),hr={EXISTS:pr,PROPER:pr&&"something"===function(){}.name,CONFIGURABLE:pr&&(!ar||ar&&fr(lr,"name").configurable)},dr=ot,vr=Yt,yr=W(Function.toString);dr(vr.inspectSource)||(vr.inspectSource=function(t){return yr(t)});var gr,mr,br,wr=vr.inspectSource,Er=ot,Sr=g.WeakMap,xr=Er(Sr)&&/native code/.test(String(Sr)),Or=qt.exports,kr=ce,jr=Or("keys"),_r=function(t){return jr[t]||(jr[t]=kr(t))},Ar={},Rr=xr,Ir=g,Fr=at,Lr=sr,Tr=re,Pr=Yt,Dr=_r,Cr=Ar,Nr=Ir.TypeError,Mr=Ir.WeakMap;if(Rr||Pr.state){var Gr=Pr.state||(Pr.state=new Mr);Gr.get=Gr.get,Gr.has=Gr.has,Gr.set=Gr.set,gr=function(t,e){if(Gr.has(t))throw Nr("Object already initialized");return e.facade=t,Gr.set(t,e),e},mr=function(t){return Gr.get(t)||{}},br=function(t){return Gr.has(t)}}else{var $r=Dr("state");Cr[$r]=!0,gr=function(t,e){if(Tr(t,$r))throw Nr("Object already initialized");return e.facade=t,Lr(t,$r,e),e},mr=function(t){return Tr(t,$r)?t[$r]:{}},br=function(t){return Tr(t,$r)}}var Br={set:gr,get:mr,has:br,enforce:function(t){return br(t)?mr(t):gr(t,{})},getterFor:function(t){return function(e){var r;if(!Fr(e)||(r=mr(e)).type!==t)throw Nr("Incompatible receiver, "+t+" required");return r}}},Ur=b,Wr=ot,qr=re,zr=w,Xr=hr.CONFIGURABLE,Hr=wr,Vr=Br.enforce,Yr=Br.get,Kr=Object.defineProperty,Qr=zr&&!Ur((function(){return 8!==Kr((function(){}),"length",{value:8}).length})),Jr=String(String).split("String"),Zr=cr.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!qr(t,"name")||Xr&&t.name!==e)&&(zr?Kr(t,"name",{value:e,configurable:!0}):t.name=e),Qr&&r&&qr(r,"arity")&&t.length!==r.arity&&Kr(t,"length",{value:r.arity});try{r&&qr(r,"constructor")&&r.constructor?zr&&Kr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Vr(t);return qr(n,"source")||(n.source=Jr.join("string"==typeof e?e:"")),t};Function.prototype.toString=Zr((function(){return Wr(this)&&Yr(this).source||Hr(this)}),"toString");var tn=ot,en=qe,rn=cr.exports,nn=Ht,on=function(t,e,r,n){n||(n={});var i=n.enumerable,o=void 0!==n.name?n.name:e;if(tn(r)&&rn(r,o,n),n.global)i?t[e]=r:nn(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch(t){}i?t[e]=r:en.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},sn={},cn=Math.ceil,an=Math.floor,un=Math.trunc||function(t){var e=+t;return(e>0?an:cn)(e)},ln=function(t){var e=+t;return e!=e||0===e?0:un(e)},fn=ln,pn=Math.max,hn=Math.min,dn=function(t,e){var r=fn(t);return r<0?pn(r+e,0):hn(r,e)},vn=ln,yn=Math.min,gn=function(t){return t>0?yn(vn(t),9007199254740991):0},mn=gn,bn=function(t){return mn(t.length)},wn=et,En=dn,Sn=bn,xn=function(t){return function(e,r,n){var i,o=wn(e),s=Sn(o),c=En(n,s);if(t&&r!=r){for(;s>c;)if((i=o[c++])!=i)return!0}else for(;s>c;c++)if((t||c in o)&&o[c]===r)return t||c||0;return!t&&-1}},On={includes:xn(!0),indexOf:xn(!1)},kn=re,jn=et,_n=On.indexOf,An=Ar,Rn=W([].push),In=function(t,e){var r,n=jn(t),i=0,o=[];for(r in n)!kn(An,r)&&kn(n,r)&&Rn(o,r);for(;e.length>i;)kn(n,r=e[i++])&&(~_n(o,r)||Rn(o,r));return o},Fn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ln=In,Tn=Fn.concat("length","prototype");sn.f=Object.getOwnPropertyNames||function(t){return Ln(t,Tn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var Dn=pt,Cn=sn,Nn=Pn,Mn=Ye,Gn=W([].concat),$n=Dn("Reflect","ownKeys")||function(t){var e=Cn.f(Mn(t)),r=Nn.f;return r?Gn(e,r(t)):e},Bn=re,Un=$n,Wn=m,qn=qe,zn=function(t,e,r){for(var n=Un(e),i=qn.f,o=Wn.f,s=0;s<n.length;s++){var c=n[s];Bn(t,c)||r&&Bn(r,c)||i(t,c,o(e,c))}},Xn=b,Hn=ot,Vn=/#|\.prototype\./,Yn=function(t,e){var r=Qn[Kn(t)];return r==Zn||r!=Jn&&(Hn(e)?Xn(e):!!e)},Kn=Yn.normalize=function(t){return String(t).replace(Vn,".").toLowerCase()},Qn=Yn.data={},Jn=Yn.NATIVE="N",Zn=Yn.POLYFILL="P",ti=Yn,ei=g,ri=m.f,ni=sr,ii=on,oi=Ht,si=zn,ci=ti,ai=function(t,e){var r,n,i,o,s,c=t.target,a=t.global,u=t.stat;if(r=a?ei:u?ei[c]||oi(c,{}):(ei[c]||{}).prototype)for(n in e){if(o=e[n],i=t.dontCallGetSet?(s=ri(r,n))&&s.value:r[n],!ci(a?n:c+(u?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;si(o,i)}(t.sham||i&&i.sham)&&ni(o,"sham",!0),ii(r,n,o,t)}},ui=qe.f,li=re,fi=me("toStringTag"),pi=function(t,e,r){t&&!r&&(t=t.prototype),t&&!li(t,fi)&&ui(t,fi,{configurable:!0,value:e})},hi=g,di=pi;ai({global:!0},{Reflect:{}}),di(hi.Reflect,"Reflect",!0);var vi={},yi=In,gi=Fn,mi=Object.keys||function(t){return yi(t,gi)},bi=w,wi=ze,Ei=qe,Si=Ye,xi=et,Oi=mi;vi.f=bi&&!wi?Object.defineProperties:function(t,e){Si(t);for(var r,n=xi(e),i=Oi(e),o=i.length,s=0;o>s;)Ei.f(t,r=i[s++],n[r]);return t};var ki,ji=pt("document","documentElement"),_i=Ye,Ai=vi,Ri=Fn,Ii=Ar,Fi=ji,Li=Le,Ti=_r("IE_PROTO"),Pi=function(){},Di=function(t){return"<script>"+t+"<\/script>"},Ci=function(t){t.write(Di("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ni=function(){try{ki=new ActiveXObject("htmlfile")}catch(t){}var t,e;Ni="undefined"!=typeof document?document.domain&&ki?Ci(ki):((e=Li("iframe")).style.display="none",Fi.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Di("document.F=Object")),t.close(),t.F):Ci(ki);for(var r=Ri.length;r--;)delete Ni.prototype[Ri[r]];return Ni()};Ii[Ti]=!0;var Mi=Object.create||function(t,e){var r;return null!==t?(Pi.prototype=_i(t),r=new Pi,Pi.prototype=null,r[Ti]=t):r=Ni(),void 0===e?r:Ai.f(r,e)},Gi=me,$i=Mi,Bi=qe.f,Ui=Gi("unscopables"),Wi=Array.prototype;null==Wi[Ui]&&Bi(Wi,Ui,{configurable:!0,value:$i(null)});var qi,zi,Xi,Hi={},Vi=!b((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Yi=re,Ki=ot,Qi=Zt,Ji=Vi,Zi=_r("IE_PROTO"),to=Object,eo=to.prototype,ro=Ji?to.getPrototypeOf:function(t){var e=Qi(t);if(Yi(e,Zi))return e[Zi];var r=e.constructor;return Ki(r)&&e instanceof r?r.prototype:e instanceof to?eo:null},no=b,io=ot,oo=at,so=ro,co=on,ao=me("iterator"),uo=!1;[].keys&&("next"in(Xi=[].keys())?(zi=so(so(Xi)))!==Object.prototype&&(qi=zi):uo=!0);var lo=!oo(qi)||no((function(){var t={};return qi[ao].call(t)!==t}));lo&&(qi={}),io(qi[ao])||co(qi,ao,(function(){return this}));var fo={IteratorPrototype:qi,BUGGY_SAFARI_ITERATORS:uo},po=fo.IteratorPrototype,ho=Mi,vo=F,yo=pi,go=Hi,mo=function(){return this},bo=ot,wo=String,Eo=TypeError,So=W,xo=Ye,Oo=function(t){if("object"==typeof t||bo(t))return t;throw Eo("Can't set "+wo(t)+" as a prototype")},ko=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=So(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return xo(r),Oo(n),e?t(r,n):r.__proto__=n,r}}():void 0),jo=ai,_o=O,Ao=ot,Ro=function(t,e,r,n){var i=e+" Iterator";return t.prototype=ho(po,{next:vo(+!n,r)}),yo(t,i,!1),go[i]=mo,t},Io=ro,Fo=ko,Lo=pi,To=sr,Po=on,Do=Hi,Co=hr.PROPER,No=hr.CONFIGURABLE,Mo=fo.IteratorPrototype,Go=fo.BUGGY_SAFARI_ITERATORS,$o=me("iterator"),Bo=function(){return this},Uo=et,Wo=function(t){Wi[Ui][t]=!0},qo=Hi,zo=Br,Xo=qe.f,Ho=function(t,e,r,n,i,o,s){Ro(r,e,n);var c,a,u,l=function(t){if(t===i&&v)return v;if(!Go&&t in h)return h[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",p=!1,h=t.prototype,d=h[$o]||h["@@iterator"]||i&&h[i],v=!Go&&d||l(i),y="Array"==e&&h.entries||d;if(y&&(c=Io(y.call(new t)))!==Object.prototype&&c.next&&(Io(c)!==Mo&&(Fo?Fo(c,Mo):Ao(c[$o])||Po(c,$o,Bo)),Lo(c,f,!0)),Co&&"values"==i&&d&&"values"!==d.name&&(No?To(h,"name","values"):(p=!0,v=function(){return _o(d,this)})),i)if(a={values:l("values"),keys:o?v:l("keys"),entries:l("entries")},s)for(u in a)(Go||p||!(u in h))&&Po(h,u,a[u]);else jo({target:e,proto:!0,forced:Go||p},a);return h[$o]!==v&&Po(h,$o,v,{name:i}),Do[e]=v,a},Vo=function(t,e){return{value:t,done:e}},Yo=w,Ko=zo.set,Qo=zo.getterFor("Array Iterator");Ho(Array,"Array",(function(t,e){Ko(this,{type:"Array Iterator",target:Uo(t),index:0,kind:e})}),(function(){var t=Qo(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Vo(void 0,!0)):Vo("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var Jo=qo.Arguments=qo.Array;if(Wo("keys"),Wo("values"),Wo("entries"),Yo&&"values"!==Jo.name)try{Xo(Jo,"name",{value:"values"})}catch(t){}var Zo={};Zo[me("toStringTag")]="z";var ts="[object z]"===String(Zo),es=ot,rs=$,ns=me("toStringTag"),is=Object,os="Arguments"==rs(function(){return arguments}()),ss=ts?rs:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=is(t),ns))?r:os?rs(e):"Object"==(n=rs(e))&&es(e.callee)?"Arguments":n},cs=ss,as=String,us=function(t){if("Symbol"===cs(t))throw TypeError("Cannot convert a Symbol value to a string");return as(t)},ls=Ye,fs=function(){var t=ls(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},ps=b,hs=g.RegExp,ds=ps((function(){var t=hs("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),vs=ds||ps((function(){return!hs("a","y").sticky})),ys=ds||ps((function(){var t=hs("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),gs={BROKEN_CARET:ys,MISSED_STICKY:vs,UNSUPPORTED_Y:ds},ms=b,bs=g.RegExp,ws=ms((function(){var t=bs(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Es=b,Ss=g.RegExp,xs=Es((function(){var t=Ss("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Os=O,ks=W,js=us,_s=fs,As=gs,Rs=qt.exports,Is=Mi,Fs=Br.get,Ls=ws,Ts=xs,Ps=Rs("native-string-replace",String.prototype.replace),Ds=RegExp.prototype.exec,Cs=Ds,Ns=ks("".charAt),Ms=ks("".indexOf),Gs=ks("".replace),$s=ks("".slice),Bs=function(){var t=/a/,e=/b*/g;return Os(Ds,t,"a"),Os(Ds,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Us=As.BROKEN_CARET,Ws=void 0!==/()??/.exec("")[1];(Bs||Ws||Us||Ls||Ts)&&(Cs=function(t){var e,r,n,i,o,s,c,a=this,u=Fs(a),l=js(t),f=u.raw;if(f)return f.lastIndex=a.lastIndex,e=Os(Cs,f,l),a.lastIndex=f.lastIndex,e;var p=u.groups,h=Us&&a.sticky,d=Os(_s,a),v=a.source,y=0,g=l;if(h&&(d=Gs(d,"y",""),-1===Ms(d,"g")&&(d+="g"),g=$s(l,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==Ns(l,a.lastIndex-1))&&(v="(?: "+v+")",g=" "+g,y++),r=new RegExp("^(?:"+v+")",d)),Ws&&(r=new RegExp("^"+v+"$(?!\\s)",d)),Bs&&(n=a.lastIndex),i=Os(Ds,h?r:a,g),h?i?(i.input=$s(i.input,y),i[0]=$s(i[0],y),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:Bs&&i&&(a.lastIndex=a.global?i.index+i[0].length:n),Ws&&i&&i.length>1&&Os(Ps,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&p)for(i.groups=s=Is(null),o=0;o<p.length;o++)s[(c=p[o])[0]]=i[c[1]];return i});var qs=Cs;ai({target:"RegExp",proto:!0,forced:/./.exec!==qs},{exec:qs});var zs=E,Xs=Function.prototype,Hs=Xs.apply,Vs=Xs.call,Ys="object"==typeof Reflect&&Reflect.apply||(zs?Vs.bind(Hs):function(){return Vs.apply(Hs,arguments)}),Ks=W,Qs=on,Js=qs,Zs=b,tc=me,ec=sr,rc=tc("species"),nc=RegExp.prototype,ic=function(t,e,r,n){var i=tc(t),o=!Zs((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),s=o&&!Zs((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[rc]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return e=!0,null},r[i](""),!e}));if(!o||!s||r){var c=Ks(/./[i]),a=e(i,""[t],(function(t,e,r,n,i){var s=Ks(t),a=e.exec;return a===Js||a===nc.exec?o&&!i?{done:!0,value:c(e,r,n)}:{done:!0,value:s(r,e,n)}:{done:!1}}));Qs(String.prototype,t,a[0]),Qs(nc,i,a[1])}n&&ec(nc[i],"sham",!0)},oc=W,sc=ln,cc=us,ac=J,uc=oc("".charAt),lc=oc("".charCodeAt),fc=oc("".slice),pc=function(t){return function(e,r){var n,i,o=cc(ac(e)),s=sc(r),c=o.length;return s<0||s>=c?t?"":void 0:(n=lc(o,s))<55296||n>56319||s+1===c||(i=lc(o,s+1))<56320||i>57343?t?uc(o,s):n:t?fc(o,s,s+2):i-56320+(n-55296<<10)+65536}},hc={codeAt:pc(!1),charAt:pc(!0)}.charAt,dc=function(t,e,r){return e+(r?hc(t,e).length:1)},vc=W,yc=Zt,gc=Math.floor,mc=vc("".charAt),bc=vc("".replace),wc=vc("".slice),Ec=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Sc=/\$([$&'`]|\d{1,2})/g,xc=function(t,e,r,n,i,o){var s=r+t.length,c=n.length,a=Sc;return void 0!==i&&(i=yc(i),a=Ec),bc(o,a,(function(o,a){var u;switch(mc(a,0)){case"$":return"$";case"&":return t;case"`":return wc(e,0,r);case"'":return wc(e,s);case"<":u=i[wc(a,1,-1)];break;default:var l=+a;if(0===l)return o;if(l>c){var f=gc(l/10);return 0===f?o:f<=c?void 0===n[f-1]?mc(a,1):n[f-1]+mc(a,1):o}u=n[l-1]}return void 0===u?"":u}))},Oc=O,kc=Ye,jc=ot,_c=$,Ac=qs,Rc=TypeError,Ic=function(t,e){var r=t.exec;if(jc(r)){var n=Oc(r,t,e);return null!==n&&kc(n),n}if("RegExp"===_c(t))return Oc(Ac,t,e);throw Rc("RegExp#exec called on incompatible receiver")},Fc=Ys,Lc=O,Tc=W,Pc=ic,Dc=b,Cc=Ye,Nc=ot,Mc=Y,Gc=ln,$c=gn,Bc=us,Uc=J,Wc=dc,qc=Gt,zc=xc,Xc=Ic,Hc=me("replace"),Vc=Math.max,Yc=Math.min,Kc=Tc([].concat),Qc=Tc([].push),Jc=Tc("".indexOf),Zc=Tc("".slice),ta="$0"==="a".replace(/./,"$0"),ea=!!/./[Hc]&&""===/./[Hc]("a","$0"),ra=!Dc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));Pc("replace",(function(t,e,r){var n=ea?"$":"$0";return[function(t,r){var n=Uc(this),i=Mc(t)?void 0:qc(t,Hc);return i?Lc(i,t,n,r):Lc(e,Bc(n),t,r)},function(t,i){var o=Cc(this),s=Bc(t);if("string"==typeof i&&-1===Jc(i,n)&&-1===Jc(i,"$<")){var c=r(e,o,s,i);if(c.done)return c.value}var a=Nc(i);a||(i=Bc(i));var u=o.global;if(u){var l=o.unicode;o.lastIndex=0}for(var f=[];;){var p=Xc(o,s);if(null===p)break;if(Qc(f,p),!u)break;""===Bc(p[0])&&(o.lastIndex=Wc(s,$c(o.lastIndex),l))}for(var h,d="",v=0,y=0;y<f.length;y++){for(var g=Bc((p=f[y])[0]),m=Vc(Yc(Gc(p.index),s.length),0),b=[],w=1;w<p.length;w++)Qc(b,void 0===(h=p[w])?h:String(h));var E=p.groups;if(a){var S=Kc([g],b,m,s);void 0!==E&&Qc(S,E);var x=Bc(Fc(i,void 0,S))}else x=zc(g,s,m,b,E,i);m>=v&&(d+=Zc(s,v,m)+x,v=m+g.length)}return d+Zc(s,v)}]}),!ra||!ta||ea);var na=at,ia=$,oa=me("match"),sa=function(t){var e;return na(t)&&(void 0!==(e=t[oa])?!!e:"RegExp"==ia(t))},ca=O,aa=re,ua=ht,la=fs,fa=RegExp.prototype,pa=function(t){var e=t.flags;return void 0!==e||"flags"in fa||aa(t,"flags")||!ua(fa,t)?e:ca(la,t)},ha=ai,da=O,va=W,ya=J,ga=ot,ma=Y,ba=sa,wa=us,Ea=Gt,Sa=pa,xa=xc,Oa=me("replace"),ka=TypeError,ja=va("".indexOf);va("".replace);var _a=va("".slice),Aa=Math.max,Ra=function(t,e,r){return r>t.length?-1:""===e?r:ja(t,e,r)};ha({target:"String",proto:!0},{replaceAll:function(t,e){var r,n,i,o,s,c,a,u,l=ya(this),f=0,p=0,h="";if(!ma(t)){if(ba(t)&&(r=wa(ya(Sa(t))),!~ja(r,"g")))throw ka("`.replaceAll` does not allow non-global regexes");if(n=Ea(t,Oa))return da(n,t,l,e)}for(i=wa(l),o=wa(t),(s=ga(e))||(e=wa(e)),c=o.length,a=Aa(1,c),f=Ra(i,o,0);-1!==f;)u=s?wa(e(o,f,i)):xa(o,i,f,[],void 0,e),h+=_a(i,p,f)+u,p=f+c,f=Ra(i,o,f+a);return p<i.length&&(h+=_a(i,p)),h}});var Ia=qe.f,Fa=function(t,e,r){r in t||Ia(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})},La=ot,Ta=at,Pa=ko,Da=function(t,e,r){var n,i;return Pa&&La(n=e.constructor)&&n!==r&&Ta(i=n.prototype)&&i!==r.prototype&&Pa(t,i),t},Ca=us,Na=at,Ma=sr,Ga=Error,$a=W("".replace),Ba=String(Ga("zxcasd").stack),Ua=/\n\s*at [^:]*:[^\n]*/,Wa=Ua.test(Ba),qa=F,za=!b((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",qa(1,7)),7!==t.stack)})),Xa=pt,Ha=re,Va=sr,Ya=ht,Ka=ko,Qa=zn,Ja=Fa,Za=Da,tu=function(t,e){return void 0===t?arguments.length<2?"":e:Ca(t)},eu=function(t,e){Na(e)&&"cause"in e&&Ma(t,"cause",e.cause)},ru=function(t,e){if(Wa&&"string"==typeof t&&!Ga.prepareStackTrace)for(;e--;)t=$a(t,Ua,"");return t},nu=za,iu=w,ou=ai,su=Ys,cu=function(t,e,r,n){var i="stackTraceLimit",o=n?2:1,s=t.split("."),c=s[s.length-1],a=Xa.apply(null,s);if(a){var u=a.prototype;if(Ha(u,"cause")&&delete u.cause,!r)return a;var l=Xa("Error"),f=e((function(t,e){var r=tu(n?e:t,void 0),i=n?new a(t):new a;return void 0!==r&&Va(i,"message",r),nu&&Va(i,"stack",ru(i.stack,2)),this&&Ya(u,this)&&Za(i,this,f),arguments.length>o&&eu(i,arguments[o]),i}));f.prototype=u,"Error"!==c?Ka?Ka(f,l):Qa(f,l,{name:!0}):iu&&i in a&&(Ja(f,a,i),Ja(f,a,"prepareStackTrace")),Qa(f,a);try{u.name!==c&&Va(u,"name",c),u.constructor=f}catch(t){}return f}},au=g.WebAssembly,uu=7!==Error("e",{cause:7}).cause,lu=function(t,e){var r={};r[t]=cu(t,e,uu),ou({global:!0,constructor:!0,arity:1,forced:uu},r)},fu=function(t,e){if(au&&au[t]){var r={};r[t]=cu("WebAssembly."+t,e,uu),ou({target:"WebAssembly",stat:!0,constructor:!0,arity:1,forced:uu},r)}};lu("Error",(function(t){return function(e){return su(t,this,arguments)}})),lu("EvalError",(function(t){return function(e){return su(t,this,arguments)}})),lu("RangeError",(function(t){return function(e){return su(t,this,arguments)}})),lu("ReferenceError",(function(t){return function(e){return su(t,this,arguments)}})),lu("SyntaxError",(function(t){return function(e){return su(t,this,arguments)}})),lu("TypeError",(function(t){return function(e){return su(t,this,arguments)}})),lu("URIError",(function(t){return function(e){return su(t,this,arguments)}})),fu("CompileError",(function(t){return function(e){return su(t,this,arguments)}})),fu("LinkError",(function(t){return function(e){return su(t,this,arguments)}})),fu("RuntimeError",(function(t){return function(e){return su(t,this,arguments)}}));var pu=Ct,hu=E,du=W(W.bind),vu=$,yu=Array.isArray||function(t){return"Array"==vu(t)},gu=W,mu=b,bu=ot,wu=ss,Eu=wr,Su=function(){},xu=[],Ou=pt("Reflect","construct"),ku=/^\s*(?:class|function)\b/,ju=gu(ku.exec),_u=!ku.exec(Su),Au=function(t){if(!bu(t))return!1;try{return Ou(Su,xu,t),!0}catch(t){return!1}},Ru=function(t){if(!bu(t))return!1;switch(wu(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _u||!!ju(ku,Eu(t))}catch(t){return!0}};Ru.sham=!0;var Iu=!Ou||mu((function(){var t;return Au(Au.call)||!Au(Object)||!Au((function(){t=!0}))||t}))?Ru:Au,Fu=yu,Lu=Iu,Tu=at,Pu=me("species"),Du=Array,Cu=function(t){var e;return Fu(t)&&(e=t.constructor,(Lu(e)&&(e===Du||Fu(e.prototype))||Tu(e)&&null===(e=e[Pu]))&&(e=void 0)),void 0===e?Du:e},Nu=function(t,e){return new(Cu(t))(0===e?0:e)},Mu=function(t,e){return pu(t),void 0===e?t:hu?du(t,e):function(){return t.apply(e,arguments)}},Gu=V,$u=Zt,Bu=bn,Uu=Nu,Wu=W([].push),qu=function(t){var e=1==t,r=2==t,n=3==t,i=4==t,o=6==t,s=7==t,c=5==t||o;return function(a,u,l,f){for(var p,h,d=$u(a),v=Gu(d),y=Mu(u,l),g=Bu(v),m=0,b=f||Uu,w=e?b(a,g):r||s?b(a,0):void 0;g>m;m++)if((c||m in v)&&(h=y(p=v[m],m,d),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Wu(w,p)}else switch(t){case 4:return!1;case 7:Wu(w,p)}return o?-1:n||i?i:w}},zu={forEach:qu(0),map:qu(1),filter:qu(2),some:qu(3),every:qu(4),find:qu(5),findIndex:qu(6),filterReject:qu(7)},Xu=b,Hu=Et,Vu=me("species"),Yu=function(t){return Hu>=51||!Xu((function(){var e=[];return(e.constructor={})[Vu]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ku=zu.map;ai({target:"Array",proto:!0,forced:!Yu("map")},{map:function(t){return Ku(this,t,arguments.length>1?arguments[1]:void 0)}});var Qu,Ju,Zu=ai,tl=O,el=ot,rl=Ye,nl=us,il=(Qu=!1,(Ju=/[ac]/).exec=function(){return Qu=!0,/./.exec.apply(this,arguments)},!0===Ju.test("abc")&&Qu),ol=/./.test;Zu({target:"RegExp",proto:!0,forced:!il},{test:function(t){var e=rl(this),r=nl(t),n=e.exec;if(!el(n))return tl(ol,e,r);var i=tl(n,e,r);return null!==i&&(rl(i),!0)}});var sl=O,cl=Ye,al=Y,ul=gn,ll=us,fl=J,pl=Gt,hl=dc,dl=Ic;ic("match",(function(t,e,r){return[function(e){var r=fl(this),n=al(e)?void 0:pl(e,t);return n?sl(n,e,r):new RegExp(e)[t](ll(r))},function(t){var n=cl(this),i=ll(t),o=r(e,n,i);if(o.done)return o.value;if(!n.global)return dl(n,i);var s=n.unicode;n.lastIndex=0;for(var c,a=[],u=0;null!==(c=dl(n,i));){var l=ll(c[0]);a[u]=l,""===l&&(n.lastIndex=hl(i,ul(n.lastIndex),s)),u++}return 0===u?null:a}]}));var vl=pt,yl=qe,gl=w,ml=me("species"),bl=w,wl=g,El=W,Sl=ti,xl=Da,Ol=sr,kl=sn.f,jl=ht,_l=sa,Al=us,Rl=pa,Il=gs,Fl=Fa,Ll=on,Tl=b,Pl=re,Dl=Br.enforce,Cl=function(t){var e=vl(t),r=yl.f;gl&&e&&!e[ml]&&r(e,ml,{configurable:!0,get:function(){return this}})},Nl=ws,Ml=xs,Gl=me("match"),$l=wl.RegExp,Bl=$l.prototype,Ul=wl.SyntaxError,Wl=El(Bl.exec),ql=El("".charAt),zl=El("".replace),Xl=El("".indexOf),Hl=El("".slice),Vl=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Yl=/a/g,Kl=/a/g,Ql=new $l(Yl)!==Yl,Jl=Il.MISSED_STICKY,Zl=Il.UNSUPPORTED_Y,tf=bl&&(!Ql||Jl||Nl||Ml||Tl((function(){return Kl[Gl]=!1,$l(Yl)!=Yl||$l(Kl)==Kl||"/a/i"!=$l(Yl,"i")})));if(Sl("RegExp",tf)){for(var ef=function(t,e){var r,n,i,o,s,c,a=jl(Bl,this),u=_l(t),l=void 0===e,f=[],p=t;if(!a&&u&&l&&t.constructor===ef)return t;if((u||jl(Bl,t))&&(t=t.source,l&&(e=Rl(p))),t=void 0===t?"":Al(t),e=void 0===e?"":Al(e),p=t,Nl&&"dotAll"in Yl&&(n=!!e&&Xl(e,"s")>-1)&&(e=zl(e,/s/g,"")),r=e,Jl&&"sticky"in Yl&&(i=!!e&&Xl(e,"y")>-1)&&Zl&&(e=zl(e,/y/g,"")),Ml&&(o=function(t){for(var e,r=t.length,n=0,i="",o=[],s={},c=!1,a=!1,u=0,l="";n<=r;n++){if("\\"===(e=ql(t,n)))e+=ql(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:Wl(Vl,Hl(t,n+1))&&(n+=2,a=!0),i+=e,u++;continue;case">"===e&&a:if(""===l||Pl(s,l))throw new Ul("Invalid capture group name");s[l]=!0,o[o.length]=[l,u],a=!1,l="";continue}a?l+=e:i+=e}return[i,o]}(t),t=o[0],f=o[1]),s=xl($l(t,e),a?this:Bl,ef),(n||i||f.length)&&(c=Dl(s),n&&(c.dotAll=!0,c.raw=ef(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=ql(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+ql(t,++n);return i}(t),r)),i&&(c.sticky=!0),f.length&&(c.groups=f)),t!==p)try{Ol(s,"source",""===p?"(?:)":p)}catch(t){}return s},rf=kl($l),nf=0;rf.length>nf;)Fl(ef,$l,rf[nf++]);Bl.constructor=ef,ef.prototype=Bl,Ll(wl,"RegExp",ef,{constructor:!0})}Cl("RegExp");var of=cr.exports,sf=qe,cf=w,af=ws,uf=$,lf=function(t,e,r){return r.get&&of(r.get,e,{getter:!0}),r.set&&of(r.set,e,{setter:!0}),sf.f(t,e,r)},ff=Br.get,pf=RegExp.prototype,hf=TypeError;cf&&af&&lf(pf,"dotAll",{configurable:!0,get:function(){if(this!==pf){if("RegExp"===uf(this))return!!ff(this).dotAll;throw hf("Incompatible receiver, RegExp required")}}});var df=J,vf=us,yf=W("".replace),gf="[\t\n\v\f\r \u2028\u2029\ufeff]",mf=RegExp("^"+gf+gf+"*"),bf=RegExp(gf+gf+"*$"),wf=function(t){return function(e){var r=vf(df(e));return 1&t&&(r=yf(r,mf,"")),2&t&&(r=yf(r,bf,"")),r}},Ef={start:wf(1),end:wf(2),trim:wf(3)},Sf=hr.PROPER,xf=b,Of="\t\n\v\f\r \u2028\u2029\ufeff",kf=function(t){return xf((function(){return!!Of[t]()||"
"!=="
"[t]()||Sf&&Of[t].name!==t}))},jf=Ef.trim;ai({target:"String",proto:!0,forced:kf("trim")},{trim:function(){return jf(this)}});var _f=Ae,Af=qe,Rf=F,If=function(t,e,r){var n=_f(e);n in t?Af.f(t,n,Rf(0,r)):t[n]=r},Ff=W([].slice),Lf=ai,Tf=yu,Pf=Iu,Df=at,Cf=dn,Nf=bn,Mf=et,Gf=If,$f=me,Bf=Ff,Uf=Yu("slice"),Wf=$f("species"),qf=Array,zf=Math.max;Lf({target:"Array",proto:!0,forced:!Uf},{slice:function(t,e){var r,n,i,o=Mf(this),s=Nf(o),c=Cf(t,s),a=Cf(void 0===e?s:e,s);if(Tf(o)&&(r=o.constructor,(Pf(r)&&(r===qf||Tf(r.prototype))||Df(r)&&null===(r=r[Wf]))&&(r=void 0),r===qf||void 0===r))return Bf(o,c,a);for(n=new(void 0===r?qf:r)(zf(a-c,0)),i=0;c<a;c++,i++)c in o&&Gf(n,i,o[c]);return n.length=i,n}});var Xf=b,Hf=function(t,e){var r=[][t];return!!r&&Xf((function(){r.call(null,e||function(){return 1},1)}))},Vf=ai,Yf=On.indexOf,Kf=Hf,Qf=W([].indexOf),Jf=!!Qf&&1/Qf([1],1,-0)<0,Zf=Kf("indexOf");Vf({target:"Array",proto:!0,forced:Jf||!Zf},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Jf?Qf(this,t,e)||0:Yf(this,t,e)}});var tp=w,ep=yu,rp=TypeError,np=Object.getOwnPropertyDescriptor,ip=tp&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(ep(t)&&!np(t,"length").writable)throw rp("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},op=TypeError,sp=function(t){if(t>9007199254740991)throw op("Maximum allowed index exceeded");return t},cp=ai,ap=Zt,up=bn,lp=ip,fp=sp,pp=b((function(){return 4294967297!==[].push.call({length:4294967296},1)})),hp=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();cp({target:"Array",proto:!0,arity:1,forced:pp||hp},{push:function(t){var e=ap(this),r=up(e),n=arguments.length;fp(r+n);for(var i=0;i<n;i++)e[r]=arguments[i],r++;return lp(e,r),r}});var dp=ai,vp=b,yp=yu,gp=at,mp=Zt,bp=bn,wp=sp,Ep=If,Sp=Nu,xp=Yu,Op=Et,kp=me("isConcatSpreadable"),jp=Op>=51||!vp((function(){var t=[];return t[kp]=!1,t.concat()[0]!==t})),_p=xp("concat"),Ap=function(t){if(!gp(t))return!1;var e=t[kp];return void 0!==e?!!e:yp(t)};dp({target:"Array",proto:!0,arity:1,forced:!jp||!_p},{concat:function(t){var e,r,n,i,o,s=mp(this),c=Sp(s,0),a=0;for(e=-1,n=arguments.length;e<n;e++)if(Ap(o=-1===e?s:arguments[e]))for(i=bp(o),wp(a+i),r=0;r<i;r++,a++)r in o&&Ep(c,a,o[r]);else wp(a+1),Ep(c,a++,o);return c.length=a,c}});var Rp=Lt,Ip=TypeError,Fp=function(t,e){if(!delete t[e])throw Ip("Cannot delete property "+Rp(e)+" of "+Rp(t))},Lp=ai,Tp=Zt,Pp=bn,Dp=ip,Cp=Fp,Np=sp,Mp=1!==[].unshift(0),Gp=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}();Lp({target:"Array",proto:!0,arity:1,forced:Mp||Gp},{unshift:function(t){var e=Tp(this),r=Pp(e),n=arguments.length;if(n){Np(r+n);for(var i=r;i--;){var o=i+n;i in e?e[o]=e[i]:Cp(e,o)}for(var s=0;s<n;s++)e[s]=arguments[s]}return Dp(e,r+n)}});var $p,Bp,Up,Wp={},qp={};function zp(){if($p)return qp;$p=1;var t=l.default,e="win32"===process.platform,r=u.default,n=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function i(t){return"function"==typeof t?t:function(){var t;if(n){var e=new Error;t=function(t){t&&(e.message=t.message,r(t=e))}}else t=r;return t;function r(t){if(t){if(process.throwDeprecation)throw t;if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);process.traceDeprecation?console.trace(e):console.error(e)}}}}()}if(t.normalize,e)var o=/(.*?)(?:[\/\\]+|$)/g;else o=/(.*?)(?:[\/]+|$)/g;if(e)var s=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else s=/^[\/]*/;return qp.realpathSync=function(n,i){if(n=t.resolve(n),i&&Object.prototype.hasOwnProperty.call(i,n))return i[n];var c,a,u,l,f=n,p={},h={};function d(){var t=s.exec(n);c=t[0].length,a=t[0],u=t[0],l="",e&&!h[u]&&(r.lstatSync(u),h[u]=!0)}for(d();c<n.length;){o.lastIndex=c;var v=o.exec(n);if(l=a,a+=v[0],u=l+v[1],c=o.lastIndex,!(h[u]||i&&i[u]===u)){var y;if(i&&Object.prototype.hasOwnProperty.call(i,u))y=i[u];else{var g=r.lstatSync(u);if(!g.isSymbolicLink()){h[u]=!0,i&&(i[u]=u);continue}var m=null;if(!e){var b=g.dev.toString(32)+":"+g.ino.toString(32);p.hasOwnProperty(b)&&(m=p[b])}null===m&&(r.statSync(u),m=r.readlinkSync(u)),y=t.resolve(l,m),i&&(i[u]=y),e||(p[b]=m)}n=t.resolve(y,n.slice(c)),d()}}return i&&(i[f]=n),n},qp.realpath=function(n,c,a){if("function"!=typeof a&&(a=i(c),c=null),n=t.resolve(n),c&&Object.prototype.hasOwnProperty.call(c,n))return process.nextTick(a.bind(null,null,c[n]));var u,l,f,p,h=n,d={},v={};function y(){var t=s.exec(n);u=t[0].length,l=t[0],f=t[0],p="",e&&!v[f]?r.lstat(f,(function(t){if(t)return a(t);v[f]=!0,g()})):process.nextTick(g)}function g(){if(u>=n.length)return c&&(c[h]=n),a(null,n);o.lastIndex=u;var t=o.exec(n);return p=l,l+=t[0],f=p+t[1],u=o.lastIndex,v[f]||c&&c[f]===f?process.nextTick(g):c&&Object.prototype.hasOwnProperty.call(c,f)?w(c[f]):r.lstat(f,m)}function m(t,n){if(t)return a(t);if(!n.isSymbolicLink())return v[f]=!0,c&&(c[f]=f),process.nextTick(g);if(!e){var i=n.dev.toString(32)+":"+n.ino.toString(32);if(d.hasOwnProperty(i))return b(null,d[i],f)}r.stat(f,(function(t){if(t)return a(t);r.readlink(f,(function(t,r){e||(d[i]=r),b(t,r)}))}))}function b(e,r,n){if(e)return a(e);var i=t.resolve(p,r);c&&(c[n]=i),w(i)}function w(e){n=t.resolve(e,n.slice(u)),y()}y()},qp}function Xp(){if(Up)return Bp;Up=1,Bp=c,c.realpath=c,c.sync=a,c.realpathSync=a,c.monkeypatch=function(){t.realpath=c,t.realpathSync=a},c.unmonkeypatch=function(){t.realpath=e,t.realpathSync=r};var t=u.default,e=t.realpath,r=t.realpathSync,n=process.version,i=/^v[0-5]\./.test(n),o=zp();function s(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function c(t,r,n){if(i)return e(t,r,n);"function"==typeof r&&(n=r,r=null),e(t,r,(function(e,i){s(e)?o.realpath(t,r,n):n(e,i)}))}function a(t,e){if(i)return r(t,e);try{return r(t,e)}catch(r){if(s(r))return o.realpathSync(t,e);throw r}}return Bp}var Hp=zu.filter;ai({target:"Array",proto:!0,forced:!Yu("filter")},{filter:function(t){return Hp(this,t,arguments.length>1?arguments[1]:void 0)}});var Vp,Yp,Kp,Qp,Jp,Zp,th,eh,rh=Iu,nh=Lt,ih=TypeError,oh=Ye,sh=function(t){if(rh(t))return t;throw ih(nh(t)+" is not a constructor")},ch=Y,ah=me("species"),uh=dn,lh=bn,fh=If,ph=Array,hh=Math.max,dh=function(t,e,r){for(var n=lh(t),i=uh(e,n),o=uh(void 0===r?n:r,n),s=ph(hh(o-i,0)),c=0;i<o;i++,c++)fh(s,c,t[i]);return s.length=c,s},vh=Ys,yh=O,gh=W,mh=ic,bh=Ye,wh=Y,Eh=sa,Sh=J,xh=function(t,e){var r,n=oh(t).constructor;return void 0===n||ch(r=oh(n)[ah])?e:sh(r)},Oh=dc,kh=gn,jh=us,_h=Gt,Ah=dh,Rh=Ic,Ih=qs,Fh=b,Lh=gs.UNSUPPORTED_Y,Th=Math.min,Ph=[].push,Dh=gh(/./.exec),Ch=gh(Ph),Nh=gh("".slice),Mh=!Fh((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));function Gh(){if(Yp)return Vp;Yp=1,Vp=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=r(e[i],i);t(o)?n.push.apply(n,o):n.push(o)}return n};var t=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};return Vp}function $h(){if(Zp)return Jp;Zp=1;var t=Gh(),e=function(){if(Qp)return Kp;function t(t,n,i){t instanceof RegExp&&(t=e(t,i)),n instanceof RegExp&&(n=e(n,i));var o=r(t,n,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+t.length,o[1]),post:i.slice(o[1]+n.length)}}function e(t,e){var r=e.match(t);return r?r[0]:null}function r(t,e,r){var n,i,o,s,c,a=r.indexOf(t),u=r.indexOf(e,a+1),l=a;if(a>=0&&u>0){for(n=[],o=r.length;l>=0&&!c;)l==a?(n.push(l),a=r.indexOf(t,l+1)):1==n.length?c=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(e,l+1)),l=a<u&&a>=0?a:u;n.length&&(c=[o,s])}return c}return Qp=1,Kp=t,t.range=r,Kp}();Jp=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return d(function(t){return t.split("\\\\").join(r).split("\\{").join(n).split("\\}").join(i).split("\\,").join(o).split("\\.").join(s)}(t),!0).map(a)};var r="\0SLASH"+Math.random()+"\0",n="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",s="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function a(t){return t.split(r).join("\\").split(n).join("{").split(i).join("}").split(o).join(",").split(s).join(".")}function u(t){if(!t)return[""];var r=[],n=e("{","}",t);if(!n)return t.split(",");var i=n.pre,o=n.body,s=n.post,c=i.split(",");c[c.length-1]+="{"+o+"}";var a=u(s);return s.length&&(c[c.length-1]+=a.shift(),c.push.apply(c,a)),r.push.apply(r,c),r}function l(t){return"{"+t+"}"}function f(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function h(t,e){return t>=e}function d(r,n){var o=[],s=e("{","}",r);if(!s||/\$$/.test(s.pre))return[r];var a,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),y=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),g=v||y,m=s.body.indexOf(",")>=0;if(!g&&!m)return s.post.match(/,.*\}/)?d(r=s.pre+"{"+s.body+i+s.post):[r];if(g)a=s.body.split(/\.\./);else if(1===(a=u(s.body)).length&&1===(a=d(a[0],!1).map(l)).length)return(E=s.post.length?d(s.post,!1):[""]).map((function(t){return s.pre+a[0]+t}));var b,w=s.pre,E=s.post.length?d(s.post,!1):[""];if(g){var S=c(a[0]),x=c(a[1]),O=Math.max(a[0].length,a[1].length),k=3==a.length?Math.abs(c(a[2])):1,j=p;x<S&&(k*=-1,j=h);var _=a.some(f);b=[];for(var A=S;j(A,x);A+=k){var R;if(y)"\\"===(R=String.fromCharCode(A))&&(R="");else if(R=String(A),_){var I=O-R.length;if(I>0){var F=new Array(I+1).join("0");R=A<0?"-"+F+R.slice(1):F+R}}b.push(R)}}else b=t(a,(function(t){return d(t,!1)}));for(var L=0;L<b.length;L++)for(var T=0;T<E.length;T++){var P=w+b[L]+E[T];(!n||g||P)&&o.push(P)}return o}return Jp}function Bh(){if(eh)return th;eh=1,th=u,u.Minimatch=l;var t=function(){try{return require("path")}catch(t){}}()||{sep:"/"};u.sep=t.sep;var e=u.GLOBSTAR=l.GLOBSTAR={},r=$h(),n={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},i="[^/]",o="[^/]*?",s="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{});var c=/\/+/;function a(t,e){e=e||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function u(t,e,r){return p(e),r||(r={}),!(!r.nocomment&&"#"===e.charAt(0))&&new l(e,r).match(t)}function l(e,r){if(!(this instanceof l))return new l(e,r);p(e),r||(r={}),e=e.trim(),r.allowWindowsEscape||"/"===t.sep||(e=e.split(t.sep).join("/")),this.options=r,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}function f(t,e){return e||(e=this instanceof l?this.options:{}),t=void 0===t?this.pattern:t,p(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:r(t)}u.filter=function(t,e){return e=e||{},function(r,n,i){return u(r,t,e)}},u.defaults=function(t){if(!t||"object"!=typeof t||!Object.keys(t).length)return u;var e=u,r=function(r,n,i){return e(r,n,a(t,i))};return(r.Minimatch=function(r,n){return new e.Minimatch(r,a(t,n))}).defaults=function(r){return e.defaults(a(t,r)).Minimatch},r.filter=function(r,n){return e.filter(r,a(t,n))},r.defaults=function(r){return e.defaults(a(t,r))},r.makeRe=function(r,n){return e.makeRe(r,a(t,n))},r.braceExpand=function(r,n){return e.braceExpand(r,a(t,n))},r.match=function(r,n,i){return e.match(r,n,a(t,i))},r},l.defaults=function(t){return u.defaults(t).Minimatch},l.prototype.debug=function(){},l.prototype.make=function(){var t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(t){return t.split(c)})),this.debug(this.pattern,r),r=r.map((function(t,e,r){return t.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},l.prototype.parseNegate=function(){var t=this.pattern,e=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=t.length;i<o&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.substr(n));this.negate=e},u.braceExpand=function(t,e){return f(t,e)},l.prototype.braceExpand=f;var p=function(t){if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};l.prototype.parse=function(t,r){p(t);var c=this.options;if("**"===t){if(!c.noglobstar)return e;t="*"}if(""===t)return"";var a,u="",l=!!c.nocase,f=!1,d=[],v=[],y=!1,g=-1,m=-1,b="."===t.charAt(0)?"":c.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",w=this;function E(){if(a){switch(a){case"*":u+=o,l=!0;break;case"?":u+=i,l=!0;break;default:u+="\\"+a}w.debug("clearStateChar %j %j",a,u),a=!1}}for(var S,x=0,O=t.length;x<O&&(S=t.charAt(x));x++)if(this.debug("%s\t%s %s %j",t,x,u,S),f&&s[S])u+="\\"+S,f=!1;else switch(S){case"/":return!1;case"\\":E(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,x,u,S),y){this.debug(" in class"),"!"===S&&x===m+1&&(S="^"),u+=S;continue}w.debug("call clearStateChar %j",a),E(),a=S,c.noext&&E();continue;case"(":if(y){u+="(";continue}if(!a){u+="\\(";continue}d.push({type:a,start:x-1,reStart:u.length,open:n[a].open,close:n[a].close}),u+="!"===a?"(?:(?!(?:":"(?:",this.debug("plType %j %j",a,u),a=!1;continue;case")":if(y||!d.length){u+="\\)";continue}E(),l=!0;var k=d.pop();u+=k.close,"!"===k.type&&v.push(k),k.reEnd=u.length;continue;case"|":if(y||!d.length||f){u+="\\|",f=!1;continue}E(),u+="|";continue;case"[":if(E(),y){u+="\\"+S;continue}y=!0,m=x,g=u.length,u+=S;continue;case"]":if(x===m+1||!y){u+="\\"+S,f=!1;continue}var j=t.substring(m+1,x);try{RegExp("["+j+"]")}catch(t){var _=this.parse(j,h);u=u.substr(0,g)+"\\["+_[0]+"\\]",l=l||_[1],y=!1;continue}l=!0,y=!1,u+=S;continue;default:E(),f?f=!1:!s[S]||"^"===S&&y||(u+="\\"),u+=S}y&&(j=t.substr(m+1),_=this.parse(j,h),u=u.substr(0,g)+"\\["+_[0],l=l||_[1]);for(k=d.pop();k;k=d.pop()){var A=u.slice(k.reStart+k.open.length);this.debug("setting tail",u,k),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){return r||(r="\\"),e+e+r+"|"})),this.debug("tail=%j\n %s",A,A,k,u);var R="*"===k.type?o:"?"===k.type?i:"\\"+k.type;l=!0,u=u.slice(0,k.reStart)+R+"\\("+A}E(),f&&(u+="\\\\");var I=!1;switch(u.charAt(0)){case"[":case".":case"(":I=!0}for(var F=v.length-1;F>-1;F--){var L=v[F],T=u.slice(0,L.reStart),P=u.slice(L.reStart,L.reEnd-8),D=u.slice(L.reEnd-8,L.reEnd),C=u.slice(L.reEnd);D+=C;var N=T.split("(").length-1,M=C;for(x=0;x<N;x++)M=M.replace(/\)[+*?]?/,"");var G="";""===(C=M)&&r!==h&&(G="$"),u=T+P+C+G+D}""!==u&&l&&(u="(?=.)"+u);I&&(u=b+u);if(r===h)return[u,l];if(!l)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var $=c.nocase?"i":"";try{var B=new RegExp("^"+u+"$",$)}catch(t){return new RegExp("$.")}return B._glob=t,B._src=u,B};var h={};return u.makeRe=function(t,e){return new l(t,e||{}).makeRe()},l.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var r=this.options,n=r.noglobstar?o:r.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=r.nocase?"i":"",s=t.map((function(t){return t.map((function(t){return t===e?n:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch(t){this.regexp=!1}return this.regexp},u.match=function(t,e,r){var n=new l(e,r=r||{});return t=t.filter((function(t){return n.match(t)})),n.options.nonull&&!t.length&&t.push(e),t},l.prototype.match=function(e,r){if(void 0===r&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&r)return!0;var n=this.options;"/"!==t.sep&&(e=e.split(t.sep).join("/")),e=e.split(c),this.debug(this.pattern,"split",e);var i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;o<s.length;o++){var a=s[o],u=e;if(n.matchBase&&1===a.length&&(u=[i]),this.matchOne(u,a,r))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},l.prototype.matchOne=function(t,r,n){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:r}),this.debug("matchOne",t.length,r.length);for(var o=0,s=0,c=t.length,a=r.length;o<c&&s<a;o++,s++){this.debug("matchOne loop");var u,l=r[s],f=t[o];if(this.debug(r,l,f),!1===l)return!1;if(l===e){this.debug("GLOBSTAR",[r,l,f]);var p=o,h=s+1;if(h===a){for(this.debug("** at the end");o<c;o++)if("."===t[o]||".."===t[o]||!i.dot&&"."===t[o].charAt(0))return!1;return!0}for(;p<c;){var d=t[p];if(this.debug("\nglobstar while",t,p,r,h,d),this.matchOne(t.slice(p),r.slice(h),n))return this.debug("globstar found match!",p,c,d),!0;if("."===d||".."===d||!i.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,p,r,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!n||(this.debug("\n>>> no match, partial?",t,p,r,h),p!==c))}if("string"==typeof l?(u=f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(o===c&&s===a)return!0;if(o===c)return n;if(s===a)return o===c-1&&""===t[o];throw new Error("wtf?")},th}mh("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=jh(Sh(this)),i=void 0===r?4294967295:r>>>0;if(0===i)return[];if(void 0===t)return[n];if(!Eh(t))return yh(e,n,t,i);for(var o,s,c,a=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,f=new RegExp(t.source,u+"g");(o=yh(Ih,f,n))&&!((s=f.lastIndex)>l&&(Ch(a,Nh(n,l,o.index)),o.length>1&&o.index<n.length&&vh(Ph,a,Ah(o,1)),c=o[0].length,l=s,a.length>=i));)f.lastIndex===o.index&&f.lastIndex++;return l===n.length?!c&&Dh(f,"")||Ch(a,""):Ch(a,Nh(n,l)),a.length>i?Ah(a,0,i):a}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:yh(e,this,t,r)}:e,[function(e,r){var i=Sh(this),o=wh(e)?void 0:_h(e,t);return o?yh(o,e,i,r):yh(n,jh(i),e,r)},function(t,i){var o=bh(this),s=jh(t),c=r(n,o,s,i,n!==e);if(c.done)return c.value;var a=xh(o,RegExp),u=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Lh?"g":"y"),f=new a(Lh?"^(?:"+o.source+")":o,l),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===s.length)return null===Rh(f,s)?[s]:[];for(var h=0,d=0,v=[];d<s.length;){f.lastIndex=Lh?0:d;var y,g=Rh(f,Lh?Nh(s,d):s);if(null===g||(y=Th(kh(f.lastIndex+(Lh?d:0)),s.length))===h)d=Oh(s,d,u);else{if(Ch(v,Nh(s,h,d)),v.length===p)return v;for(var m=1;m<=g.length-1;m++)if(Ch(v,g[m]),v.length===p)return v;d=h=y}}return Ch(v,Nh(s,h)),v}]}),!Mh,Lh);var Uh,Wh,qh={exports:{}},zh={exports:{}};function Xh(){return Wh||(Wh=1,function(t){try{var e=require("util");if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=(Uh||(Uh=1,"function"==typeof Object.create?zh.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:zh.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}),zh.exports)}}(qh)),qh.exports}var Hh,Vh={exports:{}};function Yh(){if(Hh)return Vh.exports;function t(t){return"/"===t.charAt(0)}function e(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),r=e[1]||"",n=Boolean(r&&":"!==r.charAt(1));return Boolean(e[2]||n)}return Hh=1,Vh.exports="win32"===process.platform?e:t,Vh.exports.posix=t,Vh.exports.win32=e,Vh.exports}var Kh=dh,Qh=Math.floor,Jh=function(t,e){var r=t.length,n=Qh(r/2);return r<8?Zh(t,e):td(t,Jh(Kh(t,0,n),e),Jh(Kh(t,n),e),e)},Zh=function(t,e){for(var r,n,i=t.length,o=1;o<i;){for(n=o,r=t[o];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==o++&&(t[n]=r)}return t},td=function(t,e,r,n){for(var i=e.length,o=r.length,s=0,c=0;s<i||c<o;)t[s+c]=s<i&&c<o?n(e[s],r[c])<=0?e[s++]:r[c++]:s<i?e[s++]:r[c++];return t},ed=Jh,rd=dt.match(/firefox\/(\d+)/i),nd=!!rd&&+rd[1],id=/MSIE|Trident/.test(dt),od=dt.match(/AppleWebKit\/(\d+)\./),sd=!!od&&+od[1],cd=ai,ad=W,ud=Ct,ld=Zt,fd=bn,pd=Fp,hd=us,dd=b,vd=ed,yd=Hf,gd=nd,md=id,bd=Et,wd=sd,Ed=[],Sd=ad(Ed.sort),xd=ad(Ed.push),Od=dd((function(){Ed.sort(void 0)})),kd=dd((function(){Ed.sort(null)})),jd=yd("sort"),_d=!dd((function(){if(bd)return bd<70;if(!(gd&&gd>3)){if(md)return!0;if(wd)return wd<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)Ed.push({k:e+n,v:r})}for(Ed.sort((function(t,e){return e.v-t.v})),n=0;n<Ed.length;n++)e=Ed[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));cd({target:"Array",proto:!0,forced:Od||!kd||!jd||!_d},{sort:function(t){void 0!==t&&ud(t);var e=ld(this);if(_d)return void 0===t?Sd(e):Sd(e,t);var r,n,i=[],o=fd(e);for(n=0;n<o;n++)n in e&&xd(i,e[n]);for(vd(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:hd(e)>hd(r)?1:-1}}(t)),r=fd(i),n=0;n<r;)e[n]=i[n++];for(;n<o;)pd(e,n++);return e}});var Ad,Rd,Id,Fd={};function Ld(){if(Ad)return Fd;function t(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Ad=1,Fd.setopts=function(n,s,u){u||(u={});if(u.matchBase&&-1===s.indexOf("/")){if(u.noglobstar)throw new Error("base matching requires globstar");s="**/"+s}n.silent=!!u.silent,n.pattern=s,n.strict=!1!==u.strict,n.realpath=!!u.realpath,n.realpathCache=u.realpathCache||Object.create(null),n.follow=!!u.follow,n.dot=!!u.dot,n.mark=!!u.mark,n.nodir=!!u.nodir,n.nodir&&(n.mark=!0);n.sync=!!u.sync,n.nounique=!!u.nounique,n.nonull=!!u.nonull,n.nosort=!!u.nosort,n.nocase=!!u.nocase,n.stat=!!u.stat,n.noprocess=!!u.noprocess,n.absolute=!!u.absolute,n.fs=u.fs||e,n.maxLength=u.maxLength||1/0,n.cache=u.cache||Object.create(null),n.statCache=u.statCache||Object.create(null),n.symlinks=u.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]);t.ignore.length&&(t.ignore=t.ignore.map(c))}(n,u),n.changedCwd=!1;var l=process.cwd();t(u,"cwd")?(n.cwd=r.resolve(u.cwd),n.changedCwd=n.cwd!==l):n.cwd=l;n.root=u.root||r.resolve(n.cwd,"/"),n.root=r.resolve(n.root),"win32"===process.platform&&(n.root=n.root.replace(/\\/g,"/"));n.cwdAbs=i(n.cwd)?n.cwd:a(n,n.cwd),"win32"===process.platform&&(n.cwdAbs=n.cwdAbs.replace(/\\/g,"/"));n.nomount=!!u.nomount,u.nonegate=!0,u.nocomment=!0,u.allowWindowsEscape=!1,n.minimatch=new o(s,u),n.options=n.minimatch.options},Fd.ownProp=t,Fd.makeAbs=a,Fd.finish=function(t){for(var e=t.nounique,r=e?[]:Object.create(null),n=0,i=t.matches.length;n<i;n++){var o=t.matches[n];if(o&&0!==Object.keys(o).length){var c=Object.keys(o);e?r.push.apply(r,c):c.forEach((function(t){r[t]=!0}))}else if(t.nonull){var u=t.minimatch.globSet[n];e?r.push(u):r[u]=!0}}e||(r=Object.keys(r));t.nosort||(r=r.sort(s));if(t.mark){for(n=0;n<r.length;n++)r[n]=t._mark(r[n]);t.nodir&&(r=r.filter((function(e){var r=!/\/$/.test(e),n=t.cache[e]||t.cache[a(t,e)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}t.ignore.length&&(r=r.filter((function(e){return!f(t,e)})));t.found=r},Fd.mark=function(t,e){var r=a(t,e),n=t.cache[r],i=e;if(n){var o="DIR"===n||Array.isArray(n),s="/"===e.slice(-1);if(o&&!s?i+="/":!o&&s&&(i=i.slice(0,-1)),i!==e){var c=a(t,i);t.statCache[c]=t.statCache[r],t.cache[c]=t.cache[r]}}return i},Fd.isIgnored=f,Fd.childrenIgnored=function(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return!(!t.gmatcher||!t.gmatcher.match(e))}))};var e=u.default,r=l.default,n=Bh(),i=Yh(),o=n.Minimatch;function s(t,e){return t.localeCompare(e,"en")}function c(t){var e=null;if("/**"===t.slice(-3)){var r=t.replace(/(\/\*\*)+$/,"");e=new o(r,{dot:!0})}return{matcher:new o(t,{dot:!0}),gmatcher:e}}function a(t,e){var n=e;return n="/"===e.charAt(0)?r.join(t.root,e):i(e)||""===e?e:t.changedCwd?r.resolve(t.cwd,e):r.resolve(e),"win32"===process.platform&&(n=n.replace(/\\/g,"/")),n}function f(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return t.matcher.match(e)||!(!t.gmatcher||!t.gmatcher.match(e))}))}return Fd}var Td,Pd,Dd=ai,Cd=Zt,Nd=dn,Md=ln,Gd=bn,$d=ip,Bd=sp,Ud=Nu,Wd=If,qd=Fp,zd=Yu("splice"),Xd=Math.max,Hd=Math.min;function Vd(){if(Pd)return Td;return Pd=1,Td=function t(e,r){if(e&&r)return t(e)(r);if("function"!=typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach((function(t){n[t]=e[t]})),n;function n(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];var n=e.apply(this,t),i=t[t.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach((function(t){n[t]=i[t]})),n}},Td}Dd({target:"Array",proto:!0,forced:!zd},{splice:function(t,e){var r,n,i,o,s,c,a=Cd(this),u=Gd(a),l=Nd(t,u),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=u-l):(r=f-2,n=Hd(Xd(Md(e),0),u-l)),Bd(u+r-n),i=Ud(a,n),o=0;o<n;o++)(s=l+o)in a&&Wd(i,o,a[s]);if(i.length=n,r<n){for(o=l;o<u-n;o++)c=o+r,(s=o+n)in a?a[c]=a[s]:qd(a,c);for(o=u;o>u-n+r;o--)qd(a,o-1)}else if(r>n)for(o=u-n;o>l;o--)c=o+r-1,(s=o+n-1)in a?a[c]=a[s]:qd(a,c);for(o=0;o<r;o++)a[o+l]=arguments[o+2];return $d(a,u-n+r),i}});var Yd,Kd,Qd,Jd,Zd,tv,ev,rv,nv,iv,ov,sv,cv,av,uv={exports:{}};function lv(){if(Yd)return uv.exports;Yd=1;var t=Vd();function e(t){var e=function e(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function r(t){var e=function e(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}return uv.exports=t(e),uv.exports.strict=t(r),e.proto=e((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return e(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return r(this)},configurable:!0})})),uv.exports}function fv(){if(Qd)return Kd;Qd=1;var t=Vd(),e=Object.create(null),r=lv();function n(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n]=t[n];return r}return Kd=t((function(t,i){return e[t]?(e[t].push(i),null):(e[t]=[i],function(t){return r((function r(){var i=e[t],o=i.length,s=n(arguments);try{for(var c=0;c<o;c++)i[c].apply(null,s)}finally{i.length>o?(i.splice(0,o),process.nextTick((function(){r.apply(null,s)}))):delete e[t]}}))}(t))})),Kd}function pv(){if(Zd)return Jd;Zd=1,Jd=m;var t=Xp(),e=Bh();e.Minimatch;var r=Xh(),n=f.default.EventEmitter,i=l.default,o=p.default,s=Yh(),c=function(){if(Id)return Rd;Id=1,Rd=f,f.GlobSync=h;var t=Xp(),e=Bh();e.Minimatch,pv().Glob;var r=l.default,n=p.default,i=Yh(),o=Ld(),s=o.setopts,c=o.ownProp,a=o.childrenIgnored,u=o.isIgnored;function f(t,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 h(t,e).found}function h(t,e){if(!t)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 h))return new h(t,e);if(s(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}return h.prototype._finish=function(){if(n.ok(this instanceof h),this.realpath){var e=this;this.matches.forEach((function(r,n){var i=e.matches[n]=Object.create(null);for(var o in r)try{o=e._makeAbs(o),i[t.realpathSync(o,e.realpathCache)]=!0}catch(t){if("stat"!==t.syscall)throw t;i[e._makeAbs(o)]=!0}}))}o.finish(this)},h.prototype._process=function(t,r,o){n.ok(this instanceof h);for(var s,c=0;"string"==typeof t[c];)c++;switch(c){case t.length:return void this._processSimple(t.join("/"),r);case 0:s=null;break;default:s=t.slice(0,c).join("/")}var u,l=t.slice(c);null===s?u=".":i(s)||i(t.map((function(t){return"string"==typeof t?t:"[*]"})).join("/"))?(s&&i(s)||(s="/"+s),u=s):u=s;var f=this._makeAbs(u);a(this,u)||(l[0]===e.GLOBSTAR?this._processGlobStar(s,u,f,l,r,o):this._processReaddir(s,u,f,l,r,o))},h.prototype._processReaddir=function(t,e,n,i,o,s){var c=this._readdir(n,s);if(c){for(var a=i[0],u=!!this.minimatch.negate,l=a._glob,f=this.dot||"."===l.charAt(0),p=[],h=0;h<c.length;h++)("."!==(y=c[h]).charAt(0)||f)&&(u&&!t?!y.match(a):y.match(a))&&p.push(y);var d=p.length;if(0!==d)if(1!==i.length||this.mark||this.stat)for(i.shift(),h=0;h<d;h++){var v;y=p[h],v=t?[t,y]:[y],this._process(v.concat(i),o,s)}else{this.matches[o]||(this.matches[o]=Object.create(null));for(h=0;h<d;h++){var y=p[h];t&&(y="/"!==t.slice(-1)?t+"/"+y:t+y),"/"!==y.charAt(0)||this.nomount||(y=r.join(this.root,y)),this._emitMatch(o,y)}}}},h.prototype._emitMatch=function(t,e){if(!u(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}},h.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r;try{r=this.fs.lstatSync(t)}catch(t){if("ENOENT"===t.code)return null}var n=r&&r.isSymbolicLink();return this.symlinks[t]=n,n||!r||r.isDirectory()?e=this._readdir(t,!1):this.cache[t]="FILE",e},h.prototype._readdir=function(t,e){if(e&&!c(this.symlinks,t))return this._readdirInGlobStar(t);if(c(this.cache,t)){var r=this.cache[t];if(!r||"FILE"===r)return null;if(Array.isArray(r))return r}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(e){return this._readdirError(t,e),null}},h.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var n=e[r];n="/"===t?t+n:t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,e},h.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=e.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e)}},h.prototype._processGlobStar=function(t,e,r,n,i,o){var s=this._readdir(r,o);if(s){var c=n.slice(1),a=t?[t]:[],u=a.concat(c);this._process(u,i,!1);var l=s.length;if(!this.symlinks[r]||!o)for(var f=0;f<l;f++)if("."!==s[f].charAt(0)||this.dot){var p=a.concat(s[f],c);this._process(p,i,!0);var h=a.concat(s[f],n);this._process(h,i,!0)}}},h.prototype._processSimple=function(t,e){var n=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),n){if(t&&i(t)&&!this.nomount){var o=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=r.join(this.root,t):(t=r.resolve(this.root,t),o&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}},h.prototype._stat=function(t){var e=this._makeAbs(t),r="/"===t.slice(-1);if(t.length>this.maxLength)return!1;if(!this.stat&&c(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!r||"DIR"===n)return n;if(r&&"FILE"===n)return!1}var i=this.statCache[e];if(!i){var o;try{o=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(o&&o.isSymbolicLink())try{i=this.fs.statSync(e)}catch(t){i=o}else i=o}return this.statCache[e]=i,n=!0,i&&(n=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!r||"FILE"!==n)&&n},h.prototype._mark=function(t){return o.mark(this,t)},h.prototype._makeAbs=function(t){return o.makeAbs(this,t)},Rd}(),a=Ld(),u=a.setopts,h=a.ownProp,d=fv(),v=a.childrenIgnored,y=a.isIgnored,g=lv();function m(t,e,r){if("function"==typeof e&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return c(t,e)}return new w(t,e,r)}m.sync=c;var b=m.GlobSync=c.GlobSync;function w(t,e,r){if("function"==typeof e&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new b(t,e)}if(!(this instanceof w))return new w(t,e,r);u(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=g(r),this.on("error",r),this.on("end",(function(t){r(null,t)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return s();for(var o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,s);function s(){--i._processing,i._processing<=0&&i._finish()}}return m.glob=m,m.hasMagic=function(t,e){var r=function(t,e){if(null===e||"object"!=typeof e)return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}({},e);r.noprocess=!0;var n=new w(t,r).minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},m.Glob=w,r(w,n),w.prototype._finish=function(){if(o(this instanceof w),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();a.finish(this),this.emit("end",this.found)}},w.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--t&&e._finish()}},w.prototype._realpathSet=function(e,r){var n=this.matches[e];if(!n)return r();var i=Object.keys(n),o=this,s=i.length;if(0===s)return r();var c=this.matches[e]=Object.create(null);i.forEach((function(n,i){n=o._makeAbs(n),t.realpath(n,o.realpathCache,(function(t,i){t?"stat"===t.syscall?c[n]=!0:o.emit("error",t):c[i]=!0,0==--s&&(o.matches[e]=c,r())}))}))},w.prototype._mark=function(t){return a.mark(this,t)},w.prototype._makeAbs=function(t){return a.makeAbs(this,t)},w.prototype.abort=function(){this.aborted=!0,this.emit("abort")},w.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},w.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},w.prototype._process=function(t,r,n,i){if(o(this instanceof w),o("function"==typeof i),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,r,n,i]);else{for(var c,a=0;"string"==typeof t[a];)a++;switch(a){case t.length:return void this._processSimple(t.join("/"),r,i);case 0:c=null;break;default:c=t.slice(0,a).join("/")}var u,l=t.slice(a);null===c?u=".":s(c)||s(t.map((function(t){return"string"==typeof t?t:"[*]"})).join("/"))?(c&&s(c)||(c="/"+c),u=c):u=c;var f=this._makeAbs(u);if(v(this,u))return i();l[0]===e.GLOBSTAR?this._processGlobStar(c,u,f,l,r,n,i):this._processReaddir(c,u,f,l,r,n,i)}},w.prototype._processReaddir=function(t,e,r,n,i,o,s){var c=this;this._readdir(r,o,(function(a,u){return c._processReaddir2(t,e,r,n,i,o,u,s)}))},w.prototype._processReaddir2=function(t,e,r,n,o,s,c,a){if(!c)return a();for(var u=n[0],l=!!this.minimatch.negate,f=u._glob,p=this.dot||"."===f.charAt(0),h=[],d=0;d<c.length;d++){if("."!==(y=c[d]).charAt(0)||p)(l&&!t?!y.match(u):y.match(u))&&h.push(y)}var v=h.length;if(0===v)return a();if(1===n.length&&!this.mark&&!this.stat){this.matches[o]||(this.matches[o]=Object.create(null));for(d=0;d<v;d++){var y=h[d];t&&(y="/"!==t?t+"/"+y:t+y),"/"!==y.charAt(0)||this.nomount||(y=i.join(this.root,y)),this._emitMatch(o,y)}return a()}n.shift();for(d=0;d<v;d++){y=h[d];t&&(y="/"!==t?t+"/"+y:t+y),this._process([y].concat(n),o,s,a)}a()},w.prototype._emitMatch=function(t,e){if(!this.aborted&&!y(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var r=s(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}},w.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var r=this,n=d("lstat\0"+t,(function(n,i){if(n&&"ENOENT"===n.code)return e();var o=i&&i.isSymbolicLink();r.symlinks[t]=o,o||!i||i.isDirectory()?r._readdir(t,!1,e):(r.cache[t]="FILE",e())}));n&&r.fs.lstat(t,n)}},w.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=d("readdir\0"+t+"\0"+e,r))){if(e&&!h(this.symlinks,t))return this._readdirInGlobStar(t,r);if(h(this.cache,t)){var n=this.cache[t];if(!n||"FILE"===n)return r();if(Array.isArray(n))return r(null,n)}this.fs.readdir(t,function(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}(this,t,r))}},w.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}},w.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e)}return r()}},w.prototype._processGlobStar=function(t,e,r,n,i,o,s){var c=this;this._readdir(r,o,(function(a,u){c._processGlobStar2(t,e,r,n,i,o,u,s)}))},w.prototype._processGlobStar2=function(t,e,r,n,i,o,s,c){if(!s)return c();var a=n.slice(1),u=t?[t]:[],l=u.concat(a);this._process(l,i,!1,c);var f=this.symlinks[r],p=s.length;if(f&&o)return c();for(var h=0;h<p;h++){if("."!==s[h].charAt(0)||this.dot){var d=u.concat(s[h],a);this._process(d,i,!0,c);var v=u.concat(s[h],n);this._process(v,i,!0,c)}}c()},w.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,(function(i,o){n._processSimple2(t,e,i,o,r)}))},w.prototype._processSimple2=function(t,e,r,n,o){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return o();if(t&&s(t)&&!this.nomount){var c=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=i.join(this.root,t):(t=i.resolve(this.root,t),c&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),o()},w.prototype._stat=function(t,e){var r=this._makeAbs(t),n="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&h(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||"DIR"===i)return e(null,i);if(n&&"FILE"===i)return e()}var o=this.statCache[r];if(void 0!==o){if(!1===o)return e(null,o);var s=o.isDirectory()?"DIR":"FILE";return n&&"FILE"===s?e():e(null,s,o)}var c=this,a=d("stat\0"+r,(function(n,i){if(i&&i.isSymbolicLink())return c.fs.stat(r,(function(n,o){n?c._stat2(t,r,null,i,e):c._stat2(t,r,n,o,e)}));c._stat2(t,r,n,i,e)}));a&&c.fs.lstat(r,a)},w.prototype._stat2=function(t,e,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[e]=!1,i();var o="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var s=!0;return n&&(s=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||s,o&&"FILE"===s?i():i(null,s,n)},Jd}function hv(){if(tv)return Wp;tv=1;var t=a.default,e=u.default,r=pv(),n=kg(),i=Object.create(n);Wp.extend=Object.assign;var o=Boolean(process.versions.electron),s={fatal:!1,globOptions:{},maxdepth:255,noglob:!1,silent:!1,verbose:!1,execPath:null,bufLength:65536},c={reset:function(){Object.assign(this,s),o||(this.execPath=process.execPath)},resetForTesting:function(){this.reset(),this.silent=!0}};c.reset(),Wp.config=c;var l={error:null,errorCode:0,currentCmd:"shell.js"};function f(t){return"object"==typeof t&&null!==t}function p(){c.silent||console.error.apply(console,arguments)}function h(t){if("string"!=typeof t)throw new TypeError("input must be a string");return t.replace(/\\/g,"/")}function d(t,e,r){if("string"!=typeof t)throw new Error("msg must be a string");var n={continue:!1,code:1,prefix:l.currentCmd+": ",silent:!1};"number"==typeof e&&f(r)?r.code=e:f(e)?r=e:"number"==typeof e?r={code:e}:"number"!=typeof e&&(r={}),r=Object.assign({},n,r),l.errorCode||(l.errorCode=r.code);var i=h(r.prefix+t);if(l.error=l.error?l.error+"\n":"",l.error+=i,c.fatal)throw new Error(i);if(t.length>0&&!r.silent&&p(i),!r.continue)throw{msg:"earlyExit",retValue:new v("",l.error,l.errorCode)}}function v(t,e,r){var n;return t instanceof Array?((n=t).stdout=t.join("\n"),t.length>0&&(n.stdout+="\n")):(n=new String(t)).stdout=t,n.stderr=e,n.code=r,E.forEach((function(t){n[t]=i[t].bind(n)})),n}function y(t,e,r){if("string"!=typeof t&&!f(t))throw new Error("options must be strings or key-value pairs");if(!f(e))throw new Error("parseOptions() internal error: map must be an object");if(r&&!f(r))throw new Error("parseOptions() internal error: errorOptions must be object");if("--"===t)return{};var n={};if(Object.keys(e).forEach((function(t){var r=e[t];"!"!==r[0]&&(n[r]=!1)})),""===t)return n;if("string"==typeof t){if("-"!==t[0])throw new Error("Options string must start with a '-'");t.slice(1).split("").forEach((function(t){if(t in e){var i=e[t];"!"===i[0]?n[i.slice(1)]=!1:n[i]=!0}else d("option not recognized: "+t,r||{})}))}else Object.keys(t).forEach((function(i){var o=i[1];if(o in e){var s=e[o];n[s]=t[i]}else d("option not recognized: "+o,r||{})}));return n}function g(t){if(!Array.isArray(t))throw new TypeError("must be an array");var e=[];return t.forEach((function(t){if("string"!=typeof t)e.push(t);else{var n;try{n=(n=r.sync(t,c.globOptions)).length>0?n:[t]}catch(e){n=[t]}e=e.concat(n)}})),e}Wp.state=l,delete process.env.OLDPWD,Wp.isObject=f,Wp.log=p,Wp.convertErrorOutput=h,Wp.error=d,Wp.ShellString=v,Wp.parseOptions=y,Wp.expand=g;var m="function"==typeof Buffer.alloc?function(t){return Buffer.alloc(t||c.bufLength)}:function(t){return new Buffer(t||c.bufLength)};function b(e,r,n){return n=n||{},function(){var i=null;l.currentCmd=e,l.error=null,l.errorCode=0;try{var o=[].slice.call(arguments,0);if(c.verbose&&console.error.apply(console,[e].concat(o)),l.pipedValue=this&&"string"==typeof this.stdout?this.stdout:"",!1===n.unix)i=r.apply(this,o);else{f(o[0])&&"Object"===o[0].constructor.name||(0===o.length||"string"!=typeof o[0]||o[0].length<=1||"-"!==o[0][0])&&o.unshift(""),o=(o=o.reduce((function(t,e){return Array.isArray(e)?t.concat(e):(t.push(e),t)}),[])).map((function(t){return f(t)&&"String"===t.constructor.name?t.toString():t}));var s=t.homedir();o=o.map((function(t){return"string"==typeof t&&"~/"===t.slice(0,2)||"~"===t?t.replace(/^~/,s):t})),c.noglob||!0!==n.allowGlobbing||(o=o.slice(0,n.globStart).concat(g(o.slice(n.globStart))));try{f(n.cmdOptions)&&(o[0]=y(o[0],n.cmdOptions)),i=r.apply(this,o)}catch(t){if("earlyExit"!==t.msg)throw t;i=t.retValue}}}catch(t){if(!l.error)throw t.name="ShellJSInternalError",t;if(c.fatal)throw t}return n.wrapOutput&&("string"==typeof i||Array.isArray(i))&&(i=new v(i,l.error,l.errorCode)),l.currentCmd="shell.js",i}}Wp.buffer=m,Wp.unlinkSync=function(t){try{e.unlinkSync(t)}catch(r){if("EPERM"!==r.code)throw r;e.chmodSync(t,"0666"),e.unlinkSync(t)}},Wp.statFollowLinks=function(){return e.statSync.apply(e,arguments)},Wp.statNoFollowLinks=function(){return e.lstatSync.apply(e,arguments)},Wp.randomFileName=function(){return"shelljs_"+function t(e){if(1===e)return parseInt(16*Math.random(),10).toString(16);for(var r="",n=0;n<e;n++)r+=t(1);return r}(20)},Wp.wrap=b,Wp.readFromPipe=function(){return l.pipedValue};var w={allowGlobbing:!0,canReceivePipe:!1,cmdOptions:null,globStart:1,pipeOnly:!1,wrapOutput:!0,unix:!0},E=[];return Wp.register=function(t,e,r){if(r=r||{},Object.keys(r).forEach((function(t){if(!w.hasOwnProperty(t))throw new Error("Unknown option '"+t+"'");if(typeof r[t]!=typeof w[t])throw new TypeError("Unsupported type '"+typeof r[t]+"' for option '"+t+"'")})),r=Object.assign({},w,r),n.hasOwnProperty(t))throw new Error("Command `"+t+"` already exists");r.pipeOnly?(r.canReceivePipe=!0,i[t]=b(t,e,r)):n[t]=b(t,e,r),r.canReceivePipe&&E.push(t)},Wp}function dv(){if(rv)return ev;rv=1;var t=hv(),e=u.default;function r(r,i){var o=t.readFromPipe();return i||o||t.error("no paths given"),(i=[].slice.call(arguments,1)).forEach((function(r){e.existsSync(r)?t.statFollowLinks(r).isDirectory()&&t.error(r+": Is a directory"):t.error("no such file or directory: "+r),o+=e.readFileSync(r,"utf8")})),r.number&&(o=n(o)),o}function n(t){var e=t.split("\n"),r=e.pop();return e=e.map((function(t,e){return i(e+1,t)})),r.length&&(r=i(e.length+1,r)),e.push(r),e.join("\n")}function i(t,e){return(" "+t).slice(-6)+"\t"+e}return t.register("cat",r,{canReceivePipe:!0,cmdOptions:{n:"number"}}),ev=r}function vv(){if(iv)return nv;iv=1;var t=a.default,e=hv();function r(r,n){n||(n=t.homedir()),"-"===n&&(process.env.OLDPWD?n=process.env.OLDPWD:e.error("could not find previous directory"));try{var i=process.cwd();process.chdir(n),process.env.OLDPWD=i}catch(t){var o;try{e.statFollowLinks(n),o="not a directory: "+n}catch(t){o="no such file or directory: "+n}o&&e.error(o)}return""}return e.register("cd",r,{}),nv=r}function yv(){if(sv)return ov;sv=1;var t,e=hv(),r=u.default,n=l.default,i={OTHER_EXEC:(t={EXEC:1,WRITE:2,READ:4}).EXEC,OTHER_WRITE:t.WRITE,OTHER_READ:t.READ,GROUP_EXEC:t.EXEC<<3,GROUP_WRITE:t.WRITE<<3,GROUP_READ:t.READ<<3,OWNER_EXEC:t.EXEC<<6,OWNER_WRITE:t.WRITE<<6,OWNER_READ:t.READ<<6,STICKY:parseInt("01000",8),SETGID:parseInt("02000",8),SETUID:parseInt("04000",8),TYPE_MASK:parseInt("0770000",8)};function o(t,o,s){var c;return s||(t.length>0&&"-"===t.charAt(0)?[].unshift.call(arguments,""):e.error("You must specify a file.")),t=e.parseOptions(t,{R:"recursive",c:"changes",v:"verbose"}),s=[].slice.call(arguments,2),t.recursive?(c=[],s.forEach((function t(n){var i=e.statNoFollowLinks(n);i.isSymbolicLink()||(c.push(n),i.isDirectory()&&r.readdirSync(n).forEach((function(e){t(n+"/"+e)})))}))):c=s,c.forEach((function(s){if(s=n.resolve(s),r.existsSync(s)||e.error("File not found: "+s),!t.recursive||!e.statNoFollowLinks(s).isSymbolicLink()){var c=e.statFollowLinks(s),a=c.isDirectory(),u=c.mode,l=u&i.TYPE_MASK,f=u;isNaN(parseInt(o,8))?o.split(",").forEach((function(n){var o=/([ugoa]*)([=\+-])([rwxXst]*)/i.exec(n);if(o){var c=o[1],p=o[2],h=o[3],d=-1!==c.indexOf("u")||"a"===c||""===c,v=-1!==c.indexOf("g")||"a"===c||""===c,y=-1!==c.indexOf("o")||"a"===c||""===c,g=-1!==h.indexOf("r"),m=-1!==h.indexOf("w"),b=-1!==h.indexOf("x"),w=-1!==h.indexOf("X"),E=-1!==h.indexOf("t"),S=-1!==h.indexOf("s");w&&a&&(b=!0);var x=0;switch(d&&(x|=(g?i.OWNER_READ:0)+(m?i.OWNER_WRITE:0)+(b?i.OWNER_EXEC:0)+(S?i.SETUID:0)),v&&(x|=(g?i.GROUP_READ:0)+(m?i.GROUP_WRITE:0)+(b?i.GROUP_EXEC:0)+(S?i.SETGID:0)),y&&(x|=(g?i.OTHER_READ:0)+(m?i.OTHER_WRITE:0)+(b?i.OTHER_EXEC:0)),E&&(x|=i.STICKY),p){case"+":f|=x;break;case"-":f&=~x;break;case"=":f=l+x,e.statFollowLinks(s).isDirectory()&&(f|=i.SETUID+i.SETGID&u);break;default:e.error("Could not recognize operator: `"+p+"`")}t.verbose&&console.log(s+" -> "+f.toString(8)),u!==f&&(!t.verbose&&t.changes&&console.log(s+" -> "+f.toString(8)),r.chmodSync(s,f),u=f)}else e.error("Invalid symbolic mode change: "+n)})):(f=l+parseInt(o,8),e.statFollowLinks(s).isDirectory()&&(f|=i.SETUID+i.SETGID&u),r.chmodSync(s,f))}})),""}return e.register("chmod",o,{}),ov=o}function gv(){if(av)return cv;av=1;var t=u.default,e=l.default,r=hv();function n(e,n,i){t.existsSync(e)||r.error("copyFileSync: no such file or directory: "+e);var o="win32"===process.platform;try{if(i.update&&r.statFollowLinks(e).mtime<t.statSync(n).mtime)return}catch(t){}if(r.statNoFollowLinks(e).isSymbolicLink()&&!i.followsymlink){try{r.statNoFollowLinks(n),r.unlinkSync(n)}catch(t){}var s=t.readlinkSync(e);t.symlinkSync(s,n,o?"junction":null)}else{var c=r.buffer(),a=c.length,u=a,l=0,f=null,p=null;try{f=t.openSync(e,"r")}catch(t){r.error("copyFileSync: could not read src file ("+e+")")}try{p=t.openSync(n,"w")}catch(t){r.error("copyFileSync: could not write to dest file (code="+t.code+"):"+n)}for(;u===a;)u=t.readSync(f,c,0,a,l),t.writeSync(p,c,0,u),l+=u;t.closeSync(f),t.closeSync(p),t.chmodSync(n,r.statFollowLinks(e).mode)}}function i(e,o,c,a){if(a||(a={}),!(c>=r.config.maxdepth)){c++;var u="win32"===process.platform;try{t.mkdirSync(o)}catch(t){if("EEXIST"!==t.code)throw t}for(var l=t.readdirSync(e),f=0;f<l.length;f++){var p,h=e+"/"+l[f],d=o+"/"+l[f],v=r.statNoFollowLinks(h);if(a.followsymlink&&s(e,h))console.error("Cycle link found."),p=t.readlinkSync(h),t.symlinkSync(p,d,u?"junction":null);else if(v.isDirectory())i(h,d,c,a);else if(v.isSymbolicLink()&&!a.followsymlink){p=t.readlinkSync(h);try{r.statNoFollowLinks(d),r.unlinkSync(d)}catch(t){}t.symlinkSync(p,d,u?"junction":null)}else v.isSymbolicLink()&&a.followsymlink?(v=r.statFollowLinks(h)).isDirectory()?i(h,d,c,a):n(h,d,a):t.existsSync(d)&&a.no_force?r.log("skipping existing file: "+l[f]):n(h,d,a)}var y=r.statFollowLinks(e);t.chmodSync(o,y.mode)}}function o(t,r){var n=t[r];return t.slice(0,r).some((function(t){return e.basename(t)===e.basename(n)}))}function s(e,n){if(r.statNoFollowLinks(n).isSymbolicLink()&&r.statFollowLinks(n).isDirectory()){var i=t.realpathSync(e),o=t.realpathSync(n);if(new RegExp(o).test(i))return!0}return!1}function c(s,c,a){s.followsymlink&&(s.noFollowsymlink=!1),s.recursive||s.noFollowsymlink||(s.followsymlink=!0),arguments.length<3?r.error("missing <source> and/or <dest>"):(c=[].slice.call(arguments,1,arguments.length-1),a=arguments[arguments.length-1]);var u=t.existsSync(a),l=u&&r.statFollowLinks(a);return u&&l.isDirectory()||!(c.length>1)||r.error("dest is not a directory (too many sources)"),u&&l.isFile()&&s.no_force?new r.ShellString("","",0):(c.forEach((function(u,f){if(!t.existsSync(u))return""===u&&(u="''"),void r.error("no such file or directory: "+u,{continue:!0});var p=r.statFollowLinks(u);if(!s.noFollowsymlink&&p.isDirectory())if(s.recursive){var h=l&&l.isDirectory()?e.join(a,e.basename(u)):a;try{r.statFollowLinks(e.dirname(a)),i(u,h,0,{no_force:s.no_force,followsymlink:s.followsymlink})}catch(t){r.error("cannot create directory '"+a+"': No such file or directory")}}else r.error("omitting directory '"+u+"'",{continue:!0});else{var d=a;l&&l.isDirectory()&&(d=e.normalize(a+"/"+e.basename(u)));var v=t.existsSync(d);if(v&&o(c,f))return void(s.no_force||r.error("will not overwrite just-created '"+d+"' with '"+u+"'",{continue:!0}));if(v&&s.no_force)return;if(""===e.relative(u,d))return void r.error("'"+d+"' and '"+u+"' are the same file",{continue:!0});n(u,d,s)}})),new r.ShellString("",r.state.error,r.state.errorCode))}return r.register("cp",c,{cmdOptions:{f:"!no_force",n:"no_force",u:"update",R:"recursive",r:"recursive",L:"followsymlink",P:"noFollowsymlink"},wrapOutput:!1}),cv=c}var mv,bv,wv,Ev,Sv,xv={};function Ov(){if(mv)return xv;mv=1;var t=hv(),e=vv(),r=l.default;t.register("dirs",u,{wrapOutput:!1}),t.register("pushd",c,{wrapOutput:!1}),t.register("popd",a,{wrapOutput:!1});var n=[];function i(t){return/^[\-+]\d+$/.test(t)}function o(e){if(i(e)){if(Math.abs(e)<n.length+1)return/^-/.test(e)?Number(e)-1:Number(e);t.error(e+": directory stack index out of range")}else t.error(e+": invalid number")}function s(){return[process.cwd()].concat(n)}function c(c,a){i(c)&&(a=c,c=""),c=t.parseOptions(c,{n:"no-cd",q:"quiet"});var l=s();if("+0"===a)return l;if(a)if(i(a)){var f=o(a);l=l.slice(f).concat(l.slice(0,f))}else c["no-cd"]?l.splice(1,0,a):l.unshift(a);else{if(!(l.length>1))return t.error("no other directory");l=l.splice(1,1).concat(l)}return c["no-cd"]?l=l.slice(1):(a=r.resolve(l.shift()),e("",a)),n=l,u(c.quiet?"-q":"")}function a(s,c){if(i(s)&&(c=s,s=""),s=t.parseOptions(s,{n:"no-cd",q:"quiet"}),!n.length)return t.error("directory stack empty");if(c=o(c||"+0"),s["no-cd"]||c>0||n.length+c===0)c=c>0?c-1:c,n.splice(c,1);else{var a=r.resolve(n.shift());e("",a)}return u(s.quiet?"-q":"")}function u(e,r){if(i(e)&&(r=e,e=""),(e=t.parseOptions(e,{c:"clear",q:"quiet"})).clear)return n=[];var c=s();return r?((r=o(r))<0&&(r=c.length+r),e.quiet||t.log(c[r]),c[r]):(e.quiet||t.log(c.join(" ")),c)}return xv.pushd=c,xv.popd=a,xv.dirs=u,xv}function kv(){if(wv)return bv;wv=1;var t=h.default.format,e=hv();function r(r){var n=[].slice.call(arguments,r?0:1),i={};try{i=e.parseOptions(n[0],{e:"escapes",n:"no_newline"},{silent:!0}),n[0]&&n.shift()}catch(t){e.state.error=null}var o=t.apply(null,n);return i.no_newline||(o+="\n"),process.stdout.write(o),o}return e.register("echo",r,{allowGlobbing:!1}),bv=r}function jv(){if(Sv)return Ev;Sv=1;var t=hv();return Ev=function(){return t.state.error}}var _v,Av={exports:{}};function Rv(){return _v||(_v=1,function(t){if(require.main!==t)throw new Error("This file should not be required");var e=d.default,r=u.default,n=process.argv[2],i=r.readFileSync(n,"utf8"),o=JSON.parse(i),s=o.command,c=o.execOptions,a=o.pipe,l=o.stdoutFile,f=o.stderrFile,p=e.exec(s,c,(function(t){t?void 0===t.code?process.exitCode=1:process.exitCode=t.code:process.exitCode=0})),h=r.createWriteStream(l),v=r.createWriteStream(f);p.stdout.pipe(h),p.stderr.pipe(v),p.stdout.pipe(process.stdout),p.stderr.pipe(process.stderr),a&&p.stdin.end(a)}(Av)),Av.exports}var Iv=ai,Fv=pt,Lv=Ys,Tv=O,Pv=W,Dv=b,Cv=yu,Nv=ot,Mv=at,Gv=It,$v=Ff,Bv=Ot,Uv=Fv("JSON","stringify"),Wv=Pv(/./.exec),qv=Pv("".charAt),zv=Pv("".charCodeAt),Xv=Pv("".replace),Hv=Pv(1..toString),Vv=/[\uD800-\uDFFF]/g,Yv=/^[\uD800-\uDBFF]$/,Kv=/^[\uDC00-\uDFFF]$/,Qv=!Bv||Dv((function(){var t=Fv("Symbol")();return"[null]"!=Uv([t])||"{}"!=Uv({a:t})||"{}"!=Uv(Object(t))})),Jv=Dv((function(){return'"\\udf06\\ud834"'!==Uv("\udf06\ud834")||'"\\udead"'!==Uv("\udead")})),Zv=function(t,e){var r=$v(arguments),n=e;if((Mv(e)||void 0!==t)&&!Gv(t))return Cv(e)||(e=function(t,e){if(Nv(n)&&(e=Tv(n,this,t,e)),!Gv(e))return e}),r[1]=e,Lv(Uv,null,r)},ty=function(t,e,r){var n=qv(r,e-1),i=qv(r,e+1);return Wv(Yv,t)&&!Wv(Kv,i)||Wv(Kv,t)&&!Wv(Yv,n)?"\\u"+Hv(zv(t,0),16):t};Uv&&Iv({target:"JSON",stat:!0,arity:3,forced:Qv||Jv},{stringify:function(t,e,r){var n=$v(arguments),i=Lv(Qv?Zv:Uv,null,n);return Jv&&"string"==typeof i?Xv(i,Vv,ty):i}});var ey,ry,ny,iy,oy,sy,cy,ay,uy,ly,fy,py,hy,dy,vy,yy,gy,my,by,wy,Ey,Sy={};function xy(){if(ey)return Sy;ey=1;var t,e=hv(),r=a.default,n=u.default;function i(t){if(!t||!n.existsSync(t))return!1;if(!e.statFollowLinks(t).isDirectory())return!1;var r=t+"/"+e.randomFileName();try{return n.writeFileSync(r," "),e.unlinkSync(r),t}catch(t){return!1}}function o(){return t||(t=i(r.tmpdir())||i(process.env.TMPDIR)||i(process.env.TEMP)||i(process.env.TMP)||i(process.env.Wimp$ScrapDir)||i("C:\\TEMP")||i("C:\\TMP")||i("\\TEMP")||i("\\TMP")||i("/tmp")||i("/var/tmp")||i("/usr/tmp")||i("."))}return e.register("tempdir",o,{allowGlobbing:!1,wrapOutput:!1}),Sy.tempDir=o,Sy.isCached=function(){return t},Sy.clearCache=function(){t=void 0},Sy}function Oy(){if(ny)return ry;ny=1;var t=l.default;function e(){return t.resolve(process.cwd())}return hv().register("pwd",e,{allowGlobbing:!1}),ry=e}function ky(){if(oy)return iy;oy=1;var t=hv(),e=xy().tempDir,r=Oy(),n=l.default,i=u.default,o=d.default,s=20971520;function c(c,a,u){a=a||{},c||t.error("must specify command");var l=t.readFromPipe();return"function"==typeof a&&(u=a,a={async:!0}),"object"==typeof a&&"function"==typeof u&&(a.async=!0),(a=t.extend({silent:t.config.silent,async:!1},a)).async?function(e,n,i,c){n=t.extend({silent:t.config.silent,cwd:r().toString(),env:process.env,maxBuffer:s,encoding:"utf8"},n);var a=o.exec(e,n,(function(t,e,r){c&&(t?void 0===t.code?c(1,e,r):c(t.code,e,r):c(0,e,r))}));return i&&a.stdin.end(i),n.silent||(a.stdout.pipe(process.stdout),a.stderr.pipe(process.stderr)),a}(c,a,l,u):function(c,a,u){t.config.execPath||t.error("Unable to find a path to the node binary. Please manually set config.execPath");var l=e(),f=n.resolve(l+"/"+t.randomFileName()),p=n.resolve(l+"/"+t.randomFileName()),h=n.resolve(l+"/"+t.randomFileName());a=t.extend({silent:t.config.silent,cwd:r().toString(),env:process.env,maxBuffer:s,encoding:"utf8"},a),i.existsSync(f)&&t.unlinkSync(f),i.existsSync(p)&&t.unlinkSync(p),i.existsSync(h)&&t.unlinkSync(h),a.cwd=n.resolve(a.cwd);var d={command:c,execOptions:a,pipe:u,stdoutFile:h,stderrFile:p};function v(t,e){i.writeFileSync(t,e,{encoding:"utf8",mode:parseInt("600",8)})}v(h,""),v(p,""),v(f,JSON.stringify(d));var y=[n.join(__dirname,"exec-child.js"),f];a.silent?a.stdio="ignore":a.stdio=[0,1,2];var g=0;try{delete a.shell,o.execFileSync(t.config.execPath,y,a)}catch(t){g=t.status||1}var m="",b="";"buffer"===a.encoding?(m=i.readFileSync(h),b=i.readFileSync(p)):(m=i.readFileSync(h,a.encoding),b=i.readFileSync(p,a.encoding));try{t.unlinkSync(f)}catch(t){}try{t.unlinkSync(p)}catch(t){}try{t.unlinkSync(h)}catch(t){}return 0!==g&&t.error(b,g,{continue:!0,silent:!0}),t.ShellString(m,b,g)}(c,a,l)}return t.register("exec",c,{unix:!1,canReceivePipe:!0,wrapOutput:!1}),iy=c}function jy(){if(cy)return sy;cy=1;var t=l.default,e=u.default,r=hv(),n=pv(),i=t.sep+"**";function o(o,c){o.all_deprecated&&(r.log("ls: Option -a is deprecated. Use -A instead"),o.all=!0),c=c?[].slice.call(arguments,1):["."];var a=[];function u(t,e,n){"win32"===process.platform&&(e=e.replace(/\\/g,"/")),o.long?(n=n||(o.link?r.statFollowLinks(t):r.statNoFollowLinks(t)),a.push(s(e,n))):a.push(e)}return c.forEach((function(s){var c;try{if((c=o.link?r.statFollowLinks(s):r.statNoFollowLinks(s)).isSymbolicLink())try{var a=r.statFollowLinks(s);a.isDirectory()&&(c=a)}catch(t){}}catch(t){return void r.error("no such file or directory: "+s,2,{continue:!0})}c.isDirectory()&&!o.directory?o.recursive?n.sync(s+i,{dot:o.all,follow:o.link}).forEach((function(e){t.relative(s,e)&&u(e,t.relative(s,e))})):o.all?e.readdirSync(s).forEach((function(e){u(t.join(s,e),e)})):e.readdirSync(s).forEach((function(e){"."!==e[0]&&u(t.join(s,e),e)})):u(s,s,c)})),a}function s(t,e){return e.name=t,e.toString=function(){return[this.mode,this.nlink,this.uid,this.gid,this.size,this.mtime,this.name].join(" ")},e}return r.register("ls",o,{cmdOptions:{R:"recursive",A:"all",L:"link",a:"all_deprecated",d:"directory",l:"long"}}),sy=o}function _y(){if(uy)return ay;uy=1;var t=l.default,e=hv(),r=jy();function n(n,i){i?"string"==typeof i&&(i=[].slice.call(arguments,1)):e.error("no path specified");var o=[];function s(t){"win32"===process.platform&&(t=t.replace(/\\/g,"/")),o.push(t)}return i.forEach((function(n){var i;try{i=e.statFollowLinks(n)}catch(t){e.error("no such file or directory: "+n)}s(n),i.isDirectory()&&r({recursive:!0,all:!0},n).forEach((function(e){s(t.join(n,e))}))})),o}return e.register("find",n,{}),ay=n}function Ay(){if(fy)return ly;fy=1;var t=hv(),e=u.default;function r(r,n,i){var o=t.readFromPipe();i||o||t.error("no paths given",2),i=[].slice.call(arguments,2),o&&i.unshift("-");var s=[];return r.ignoreCase&&(n=new RegExp(n,"i")),i.forEach((function(i){if(e.existsSync(i)||"-"===i){var c="-"===i?o:e.readFileSync(i,"utf8");if(r.nameOnly)c.match(n)&&s.push(i);else c.split("\n").forEach((function(t){var e=t.match(n);(r.inverse&&!e||!r.inverse&&e)&&s.push(t)}))}else t.error("no such file or directory: "+i,2,{continue:!0})})),s.join("\n")+"\n"}return t.register("grep",r,{globStart:2,canReceivePipe:!0,cmdOptions:{v:"inverse",l:"nameOnly",i:"ignoreCase"}}),ly=r}function Ry(){if(hy)return py;hy=1;var t=hv(),e=u.default;function r(r,n){for(var i=t.buffer(),o=i.length,s=o,c=0,a=e.openSync(r,"r"),u=0,l="";s===o&&u<n;){s=e.readSync(a,i,0,o,c);var f=i.toString("utf8",0,s);u+=f.split("\n").length-1,l+=f,c+=s}return e.closeSync(a),l}function n(n,i){var o=[],s=t.readFromPipe();i||s||t.error("no paths given");var c=1;!0===n.numLines?(c=2,n.numLines=Number(arguments[1])):!1===n.numLines&&(n.numLines=10),i=[].slice.call(arguments,c),s&&i.unshift("-");var a=!1;return i.forEach((function(i){if("-"!==i){if(!e.existsSync(i))return void t.error("no such file or directory: "+i,{continue:!0});if(t.statFollowLinks(i).isDirectory())return void t.error("error reading '"+i+"': Is a directory",{continue:!0})}var c=("-"===i?s:n.numLines<0?e.readFileSync(i,"utf8"):r(i,n.numLines)).split("\n"),u=""===c[c.length-1];u&&c.pop(),a=u||n.numLines<c.length,o=o.concat(c.slice(0,n.numLines))})),a&&o.push(""),o.join("\n")}return t.register("head",n,{canReceivePipe:!0,cmdOptions:{n:"numLines"}}),py=n}function Iy(){if(vy)return dy;vy=1;var t=u.default,e=l.default,r=hv();function n(n,i,o){i&&o||r.error("Missing <source> and/or <dest>"),i=String(i);var s=e.normalize(i).replace(RegExp(e.sep+"$"),""),c=e.resolve(i)===s;if(o=e.resolve(process.cwd(),String(o)),t.existsSync(o)&&(n.force||r.error("Destination file exists",{continue:!0}),t.unlinkSync(o)),n.symlink){var a="win32"===process.platform,u=a?"file":null,l=c?s:e.resolve(process.cwd(),e.dirname(o),i);t.existsSync(l)?a&&r.statFollowLinks(l).isDirectory()&&(u="junction"):r.error("Source file does not exist",{continue:!0});try{t.symlinkSync("junction"===u?l:i,o,u)}catch(t){r.error(t.message)}}else{t.existsSync(i)||r.error("Source file does not exist",{continue:!0});try{t.linkSync(i,o)}catch(t){r.error(t.message)}}return""}return r.register("ln",n,{cmdOptions:{s:"symlink",f:"force"}}),dy=n}function Fy(){if(gy)return yy;gy=1;var t=hv(),e=u.default,r=l.default;function n(i){var o=r.dirname(i);o===i&&t.error("dirname() failed: ["+i+"]"),e.existsSync(o)||n(o),e.mkdirSync(i,parseInt("0777",8))}function i(i,o){return o||t.error("no paths given"),"string"==typeof o&&(o=[].slice.call(arguments,1)),o.forEach((function(o){try{var s=t.statNoFollowLinks(o);return void(i.fullpath?s.isFile()&&t.error("cannot create directory "+o+": File exists",{continue:!0}):t.error("path already exists: "+o,{continue:!0}))}catch(t){}var c=r.dirname(o);if(e.existsSync(c)||i.fullpath)try{i.fullpath?n(r.resolve(o)):e.mkdirSync(o,parseInt("0777",8))}catch(e){var a;if("EACCES"===e.code)a="Permission denied";else{if("ENOTDIR"!==e.code&&"ENOENT"!==e.code)throw e;a="Not a directory"}t.error("cannot create directory "+o+": "+a,{continue:!0})}else t.error("no such file or directory: "+c,{continue:!0})})),""}return t.register("mkdir",i,{cmdOptions:{p:"fullpath"}}),yy=i}function Ly(){if(by)return my;by=1;var t=hv(),e=u.default;function r(i,o,s){var c;c=e.readdirSync(i);for(var a=0;a<c.length;a++){var u=i+"/"+c[a];if(t.statNoFollowLinks(u).isDirectory())r(u,o);else if(o||n(u))try{t.unlinkSync(u)}catch(e){t.error("could not remove file (code "+e.code+"): "+u,{continue:!0})}}if(!s){var l;try{for(var f=Date.now();;)try{if(l=e.rmdirSync(i),e.existsSync(i))throw{code:"EAGAIN"};break}catch(t){if("win32"!==process.platform||"ENOTEMPTY"!==t.code&&"EBUSY"!==t.code&&"EPERM"!==t.code&&"EAGAIN"!==t.code){if("ENOENT"===t.code)break;throw t}if(Date.now()-f>1e3)throw t}}catch(e){t.error("could not remove directory (code "+e.code+"): "+i,{continue:!0})}return l}}function n(t){var r=!0;try{var n=e.openSync(t,"a");e.closeSync(n)}catch(t){r=!1}return r}function i(e,r){r.force||n(e)?t.unlinkSync(e):t.error("permission denied: "+e,{continue:!0})}function o(e,n){n.recursive?r(e,n.force):t.error("path is a directory",{continue:!0})}function s(e,n){var i;try{i=t.statFollowLinks(e)}catch(r){return void t.unlinkSync(e)}if(i.isFile())t.unlinkSync(e);else if(i.isDirectory())if("/"===e[e.length-1])if(n.recursive){r(e,n.force,!0)}else t.error("path is a directory",{continue:!0});else t.unlinkSync(e)}function c(e){t.unlinkSync(e)}function a(e,r){return r||t.error("no paths given"),(r=[].slice.call(arguments,1)).forEach((function(r){var n;try{var a="/"===r[r.length-1]?r.slice(0,-1):r;n=t.statNoFollowLinks(a)}catch(n){return void(e.force||t.error("no such file or directory: "+r,{continue:!0}))}n.isFile()?i(r,e):n.isDirectory()?o(r,e):n.isSymbolicLink()?s(r,e):n.isFIFO()&&c(r)})),""}return t.register("rm",a,{cmdOptions:{f:"force",r:"recursive",R:"recursive"}}),my=a}function Ty(){if(Ey)return wy;Ey=1;var t=u.default,e=l.default,r=hv(),n=gv(),i=Ly();function o(t,r){var n=t[r];return t.slice(0,r).some((function(t){return e.basename(t)===e.basename(n)}))}function s(s,c,a){arguments.length<3?r.error("missing <source> and/or <dest>"):arguments.length>3?(c=[].slice.call(arguments,1,arguments.length-1),a=arguments[arguments.length-1]):"string"==typeof c?c=[c]:r.error("invalid arguments");var u=t.existsSync(a),l=u&&r.statFollowLinks(a);return u&&l.isDirectory()||!(c.length>1)||r.error("dest is not a directory (too many sources)"),u&&l.isFile()&&s.no_force&&r.error("dest file already exists: "+a),c.forEach((function(u,l){if(t.existsSync(u)){var f=a;if(t.existsSync(a)&&r.statFollowLinks(a).isDirectory()&&(f=e.normalize(a+"/"+e.basename(u))),t.existsSync(f)&&o(c,l))s.no_force||r.error("will not overwrite just-created '"+f+"' with '"+u+"'",{continue:!0});else if(t.existsSync(f)&&s.no_force)r.error("dest file already exists: "+f,{continue:!0});else if(e.resolve(u)!==e.dirname(e.resolve(f)))try{t.renameSync(u,f)}catch(t){"EXDEV"===t.code&&(n("-r",u,f),i("-rf",u))}else r.error("cannot move to self: "+u,{continue:!0})}else r.error("no such file or directory: "+u,{continue:!0})})),""}return r.register("mv",s,{cmdOptions:{f:"!no_force",n:"no_force"}}),wy=s}var Py,Dy={};function Cy(){return Py||(Py=1),Dy}var Ny,My,Gy,$y,By,Uy={};function Wy(){return Ny||(Ny=1),Uy}function qy(){if(Gy)return My;Gy=1;var t=hv(),e=u.default;function r(r,n,i,o){var s=t.readFromPipe();"string"!=typeof i&&"function"!=typeof i&&("number"==typeof i?i=i.toString():t.error("invalid replacement string")),"string"==typeof n&&(n=RegExp(n)),o||s||t.error("no files given"),o=[].slice.call(arguments,3),s&&o.unshift("-");var c=[];return o.forEach((function(o){if(e.existsSync(o)||"-"===o){var a=("-"===o?s:e.readFileSync(o,"utf8")).split("\n").map((function(t){return t.replace(n,i)})).join("\n");c.push(a),r.inplace&&e.writeFileSync(o,a,"utf8")}else t.error("no such file or directory: "+o,2,{continue:!0})})),c.join("\n")}return t.register("sed",r,{globStart:3,canReceivePipe:!0,cmdOptions:{i:"inplace"}}),My=r}function zy(){if(By)return $y;By=1;var t=hv();function e(e){if(!e){var r=[].slice.call(arguments,0);r.length<2&&t.error("must provide an argument"),e=r[1]}var n="+"===e[0];n&&(e="-"+e.slice(1)),e=t.parseOptions(e,{e:"fatal",v:"verbose",f:"noglob"}),n&&Object.keys(e).forEach((function(t){e[t]=!e[t]})),Object.keys(e).forEach((function(r){n!==e[r]&&(t.config[r]=e[r])}))}return t.register("set",e,{allowGlobbing:!1,wrapOutput:!1}),$y=e}var Xy=Ef.end,Hy=kf("trimEnd")?function(){return Xy(this)}:"".trimEnd;ai({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==Hy},{trimRight:Hy});var Vy,Yy,Ky,Qy,Jy,Zy,tg,eg,rg,ng,ig,og,sg,cg,ag,ug,lg;function fg(){if(Yy)return Vy;Yy=1;var t=hv(),e=u.default;function r(t){var e=t.match(/^\s*(\d*)\s*(.*)$/);return{num:Number(e[1]),value:e[2]}}function n(t,e){var r=t.toLowerCase(),n=e.toLowerCase();return r===n?-1*t.localeCompare(e):r.localeCompare(n)}function i(t,e){var i=r(t),o=r(e);return i.hasOwnProperty("num")&&o.hasOwnProperty("num")&&i.num!==o.num?i.num-o.num:n(i.value,o.value)}function o(r,o){var s=t.readFromPipe();o||s||t.error("no files given"),o=[].slice.call(arguments,1),s&&o.unshift("-");var c=o.reduce((function(r,n){if("-"!==n){if(!e.existsSync(n))return t.error("no such file or directory: "+n,{continue:!0}),r;if(t.statFollowLinks(n).isDirectory())return t.error("read failed: "+n+": Is a directory",{continue:!0}),r}var i="-"===n?s:e.readFileSync(n,"utf8");return r.concat(i.trimRight().split("\n"))}),[]),a=c.sort(r.numerical?i:n);return r.reverse&&(a=a.reverse()),a.join("\n")+"\n"}return t.register("sort",o,{canReceivePipe:!0,cmdOptions:{r:"reverse",n:"numerical"}}),Vy=o}function pg(){if(Qy)return Ky;Qy=1;var t=hv(),e=u.default;function r(r,n){var i=[],o=t.readFromPipe();n||o||t.error("no paths given");var s=1;!0===r.numLines?(s=2,r.numLines=Number(arguments[1])):!1===r.numLines&&(r.numLines=10),r.numLines=-1*Math.abs(r.numLines),n=[].slice.call(arguments,s),o&&n.unshift("-");var c=!1;return n.forEach((function(n){if("-"!==n){if(!e.existsSync(n))return void t.error("no such file or directory: "+n,{continue:!0});if(t.statFollowLinks(n).isDirectory())return void t.error("error reading '"+n+"': Is a directory",{continue:!0})}var s=("-"===n?o:e.readFileSync(n,"utf8")).split("\n");""===s[s.length-1]?(s.pop(),c=!0):c=!1,i=i.concat(s.slice(r.numLines))})),c&&i.push(""),i.join("\n")}return t.register("tail",r,{canReceivePipe:!0,cmdOptions:{n:"numLines"}}),Ky=r}function hg(){if(Zy)return Jy;Zy=1;var t=hv(),e=u.default;function r(r,n){n||t.error("no path given");var i=!1;if(Object.keys(r).forEach((function(t){!0===r[t]&&(i=!0)})),i||t.error("could not interpret expression"),r.link)try{return t.statNoFollowLinks(n).isSymbolicLink()}catch(t){return!1}if(!e.existsSync(n))return!1;if(r.exists)return!0;var o=t.statFollowLinks(n);return r.block?o.isBlockDevice():r.character?o.isCharacterDevice():r.directory?o.isDirectory():r.file?o.isFile():r.pipe?o.isFIFO():!!r.socket&&o.isSocket()}return t.register("test",r,{cmdOptions:{b:"block",c:"character",d:"directory",e:"exists",f:"file",L:"link",p:"pipe",S:"socket"},wrapOutput:!1,allowGlobbing:!1}),Jy=r}function dg(){if(eg)return tg;eg=1;var t=hv(),e=u.default,r=l.default;function n(n,i){i||t.error("wrong arguments"),e.existsSync(r.dirname(i))||t.error("no such file or directory: "+r.dirname(i));try{return e.writeFileSync(i,this.stdout||this.toString(),"utf8"),this}catch(e){t.error("could not write to file (code "+e.code+"): "+i,{continue:!0})}}return t.register("to",n,{pipeOnly:!0,wrapOutput:!1}),tg=n}function vg(){if(ng)return rg;ng=1;var t=hv(),e=u.default,r=l.default;function n(n,i){i||t.error("wrong arguments"),e.existsSync(r.dirname(i))||t.error("no such file or directory: "+r.dirname(i));try{return e.appendFileSync(i,this.stdout||this.toString(),"utf8"),this}catch(e){t.error("could not append to file (code "+e.code+"): "+i,{continue:!0})}}return t.register("toEnd",n,{pipeOnly:!0,wrapOutput:!1}),rg=n}function yg(){if(og)return ig;og=1;var t=hv(),e=u.default;function r(e,r){return r?"string"==typeof r?r=[].slice.call(arguments,1):t.error("file arg should be a string file path or an Array of string file paths"):t.error("no files given"),r.forEach((function(t){n(e,t)})),""}function n(r,n){var o=i(n);if((!o||!o.isDirectory())&&(o||!r.no_create)){e.closeSync(e.openSync(n,"a"));var s=new Date,c=r.date||s,a=r.date||s;if(r.reference){var u=i(r.reference);u||t.error("failed to get attributess of "+r.reference),c=u.mtime,a=u.atime}else r.date&&(c=r.date,a=r.date);r.atime_only&&r.mtime_only||(r.atime_only?c=o.mtime:r.mtime_only&&(a=o.atime)),e.utimesSync(n,a,c)}}function i(e){try{return t.statFollowLinks(e)}catch(t){return null}}return t.register("touch",r,{cmdOptions:{a:"atime_only",c:"no_create",d:"date",m:"mtime_only",r:"reference"}}),ig=r}function gg(){if(cg)return sg;cg=1;var t=hv(),e=u.default;function r(r,n,i){var o=t.readFromPipe();o||(n||t.error("no input given"),e.existsSync(n)?t.statFollowLinks(n).isDirectory()&&t.error("error reading '"+n+"'"):t.error(n+": No such file or directory")),i&&e.existsSync(i)&&t.statFollowLinks(i).isDirectory()&&t.error(i+": Is a directory");var s=(n?e.readFileSync(n,"utf8"):o).trimRight().split("\n"),c=s.reduceRight((function(t,e){return 0===t.length?[{count:1,ln:e}]:0===(n=t[0].ln,i=e,r.ignoreCase?n.toLocaleLowerCase().localeCompare(i.toLocaleLowerCase()):n.localeCompare(i))?[{count:t[0].count+1,ln:e}].concat(t.slice(1)):[{count:1,ln:e}].concat(t);var n,i}),[]).filter((function(t){return!r.duplicates||t.count>1})).map((function(t){return(r.count?(e=7,n=t.count,(i=""+n).length<e&&(i=Array(e-i.length+1).join(" ")+i),i+" "):"")+t.ln;var e,n,i})).join("\n")+"\n";return i?(new t.ShellString(c).to(i),""):c}return t.register("uniq",r,{canReceivePipe:!0,cmdOptions:{i:"ignoreCase",c:"count",d:"duplicates"}}),sg=r}function mg(){if(ug)return ag;ug=1;var t=hv(),e=u.default,r=l.default;t.register("which",s,{allowGlobbing:!1,cmdOptions:{a:"all"}});function n(){return"win32"===process.platform}function i(t){return t?t.split(r.delimiter):[]}function o(r){return e.existsSync(r)&&!t.statFollowLinks(r).isDirectory()&&(n()||function(t){try{e.accessSync(t,1)}catch(t){return!1}return!0}(r))}function s(e,s){s||t.error("must specify command");var c=n(),a=i(process.env.PATH),u=[];if(-1===s.indexOf("/")){var l=[""];if(c)l=i((process.env.PATHEXT||".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh").toUpperCase());for(var f=0;f<a.length&&(!(u.length>0)||e.all);f++){var p=r.resolve(a[f],s);c&&(p=p.toUpperCase());var h=p.match(/\.[^<>:"/\|?*.]+$/);if(h&&l.indexOf(h[0])>=0){if(o(p)){u.push(p);break}}else for(var d=0;d<l.length;d++){var v=p+l[d];if(o(v)){u.push(v);break}}}}else o(s)&&u.push(r.resolve(s));return u.length>0?e.all?u:u[0]:e.all?[]:null}return ag=s}function bg(){return lg||(lg={"/node_modules/shelljs/src/cat.js":dv,"/node_modules/shelljs/src/cd.js":vv,"/node_modules/shelljs/src/chmod.js":yv,"/node_modules/shelljs/src/common.js":hv,"/node_modules/shelljs/src/cp.js":gv,"/node_modules/shelljs/src/dirs.js":Ov,"/node_modules/shelljs/src/echo.js":kv,"/node_modules/shelljs/src/error.js":jv,"/node_modules/shelljs/src/exec-child.js":Rv,"/node_modules/shelljs/src/exec.js":ky,"/node_modules/shelljs/src/find.js":_y,"/node_modules/shelljs/src/grep.js":Ay,"/node_modules/shelljs/src/head.js":Ry,"/node_modules/shelljs/src/ln.js":Iy,"/node_modules/shelljs/src/ls.js":jy,"/node_modules/shelljs/src/mkdir.js":Fy,"/node_modules/shelljs/src/mv.js":Ty,"/node_modules/shelljs/src/popd.js":Cy,"/node_modules/shelljs/src/pushd.js":Wy,"/node_modules/shelljs/src/pwd.js":Oy,"/node_modules/shelljs/src/rm.js":Ly,"/node_modules/shelljs/src/sed.js":qy,"/node_modules/shelljs/src/set.js":zy,"/node_modules/shelljs/src/sort.js":fg,"/node_modules/shelljs/src/tail.js":pg,"/node_modules/shelljs/src/tempdir.js":xy,"/node_modules/shelljs/src/test.js":hg,"/node_modules/shelljs/src/to.js":dg,"/node_modules/shelljs/src/toEnd.js":vg,"/node_modules/shelljs/src/touch.js":yg,"/node_modules/shelljs/src/uniq.js":gg,"/node_modules/shelljs/src/which.js":mg})}function wg(t,e){var r,n=function(t){var e=t[0];if("/"===e||"\\"===e)return!1;var r=t[1],n=t[2];return!(!("."!==e||r&&"/"!==r&&"\\"!==r)||!("."!==e||"."!==r||n&&"/"!==n&&"\\"!==n))&&(":"!==r||"/"!==n&&"\\"!==n)}(t);"/"===(t=Eg(t))[0]&&(e="");for(var i=bg(),o=["",".js",".json"];!(r=Eg(n?e+"/node_modules/"+t:e+"/"+t)).endsWith("/..");){for(var s=0;s<o.length;s++){var c=r+o[s];if(i[c])return c}if(!n)break;var a=Eg(e+"/..");if(a===e)break;e=a}return null}function Eg(t){for(var e=(t=t.replace(/\\/g,"/")).split("/"),r=""===e[0],n=1;n<e.length;n++)"."!==e[n]&&""!==e[n]||e.splice(n--,1);for(n=1;n<e.length;n++)".."===e[n]&&n>0&&".."!==e[n-1]&&"."!==e[n-1]&&(e.splice(--n,2),n--);return t=e.join("/"),r&&"/"!==t[0]?t="/"+t:0===t.length&&(t="."),t}ai({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==Hy},{trimEnd:Hy});var Sg,xg={},Og=["cat","cd","chmod","cp","dirs","echo","exec","find","grep","head","ln","ls","mkdir","mv","pwd","rm","sed","set","sort","tail","tempdir","test","to","toEnd","touch","uniq","which"];function kg(){if(Sg)return xg;Sg=1;var t=hv();return Og.forEach((function(t){!function(t){function e(e){var r=wg(e,t);if(null!==r)return bg()[r]();throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}return e.resolve=function(e){var r=wg(e,t);return null!==r?r:require.resolve(e)},e}("/node_modules/shelljs")("./src/"+t)})),xg.exit=process.exit,xg.error=jv(),xg.ShellString=t.ShellString,xg.env=process.env,xg.config=t.config,xg}var jg=kg(),_g=hv();Object.keys(jg).forEach((function(t){v[t]=jg[t]}));var Ag=dg();String.prototype.to=_g.wrap("to",Ag);var Rg=vg();String.prototype.toEnd=_g.wrap("toEnd",Rg),v.config.fatal=!0,v.target={};var Ig,Fg=process.argv.slice(2),Lg=Fg.indexOf("--");Lg>-1&&(Ig=Fg.slice(Lg+1,Fg.length),Fg=Fg.slice(0,Lg)),setTimeout((function(){var t;if(1!==Fg.length||"--help"!==Fg[0]){for(t in v.target)!function(t,e){v.target[t]=function(){return e.done||(e.done=!0,e.result=e.apply(e,arguments)),e.result}}(t,v.target[t]);Fg.length>0?Fg.forEach((function(t){t in v.target?v.target[t](Ig):console.log("no such target: "+t)})):"all"in v.target&&v.target.all(Ig)}else for(t in console.log("Available targets:"),v.target)console.log(" "+t)}),0);const Tg=global,Pg=new Proxy(global.target,{set:function(t,e,r){return Reflect.set(...arguments)},get:function(t,e,r){return Gg(`make ${e}`),Reflect.get(...arguments)}}),Dg=["packages","codemods","eslint"],Cg=["eslint","scripts","benchmark",...Dg,"*.{js,cjs,mjs,ts}","--format","codeframe","--ext",".js,.cjs,.mjs,.ts"],Ng=Tg.which("yarn").stdout,Mg=process.execPath;function Gg(...t){console.log.apply(console,t)}function $g(t,e,r,n=!0){Gg(`${t.replaceAll(Ng,"yarn").replaceAll(Mg,"node")} ${e.join(" ")}`);try{return s.execFileSync(t,e,{stdio:n?"inherit":void 0,cwd:r&&l.default.resolve(r),env:process.env})}catch(r){throw n&&0!=r.status&&(console.error(new Error(`\ncommand: ${t} ${e.join(" ")}\ncode: ${r.status}`)),process.exit(r.status)),r}}function Bg(t,e,r){return $g(Ng,t,e,r)}function Ug(t,e,r){return $g(Mg,t,e,r)}function Wg(t,e){const r=process.env;process.env=Object.assign(Object.assign({},r),e),t(),process.env=r}function qg(t,r,n){const i="./build/"+t.toLowerCase();Tg.rm("-rf",i),Tg.mkdir("-p","build"),$g("git",["clone","--filter=blob:none","--sparse","--single-branch","--shallow-since='2 years ago'",r,i]),$g("git",["sparse-checkout","set",...n],i),$g("git",["checkout","-q",function(t){const r=e.readFileSync("./Makefile","utf8").match(new RegExp(`${t}_COMMIT = (\\w{40})`))[1];if(!r)throw new Error(`Could not find ${t}_COMMIT in Makefile`);return r}(t)],i)}Tg.config.verbose=!0,Pg["clean-all"]=function(){Tg.rm("-rf",["node_modules","package-lock.json",".changelog"]),Dg.forEach((t=>{Tg.rm("-rf",`${t}/*/test/tmp`),Tg.rm("-rf",`${t}/*/package-lock.json`)})),Pg.clean(),Pg["clean-lib"]()},Pg.clean=function(){Pg["test-clean"](),Tg.rm("-rf",[".npmrc","coverage","packages/*/npm-debug*","node_modules/.cache"])},Pg["test-clean"]=function(){Dg.forEach((t=>{Tg.rm("-rf",`${t}/*/test/tmp`),Tg.rm("-rf",`${t}/*/test-fixtures.json`)}))},Pg["clean-lib"]=function(){Tg.rm("-rf",Dg.map((t=>`${t}/*/lib`)))},Pg["clean-runtime-helpers"]=function(){Tg.rm("-rf",["packages/babel-runtime/helpers/**/*.js","packages/babel-runtime-corejs2/helpers/**/*.js","packages/babel-runtime-corejs3/helpers/**/*.js","packages/babel-runtime/helpers/**/*.mjs","packages/babel-runtime-corejs2/helpers/**/*.mjs","packages/babel-runtime-corejs3/helpers/**/*.mjs","packages/babel-runtime-corejs2/core-js"])},Pg["use-cjs"]=function(){Ug(["scripts/set-module-type.js","script"]),Pg.bootstrap()},Pg["use-esm"]=function(){Ug(["scripts/set-module-type.js","module"]),Pg.bootstrap()},Pg["bootstrap-only"]=function(){Pg["clean-all"](),Bg(["install"])},Pg.bootstrap=function(){Pg["bootstrap-only"](),Pg["generate-tsconfig"](),Pg.build()},Pg.build=function(){Pg["build-no-bundle"](),"true"!=process.env.BABEL_COVERAGE&&Pg["build-standalone"]()},Pg["build-standalone"]=function(){Bg(["gulp","build-babel-standalone"])},Pg["build-bundle"]=function(){Pg.clean(),Pg["clean-lib"](),Ug(["scripts/set-module-type.js"]),Bg(["gulp","build"]),Pg["build-flow-typings"](),Pg["build-dist"]()},Pg["build-no-bundle"]=function(){Pg.clean(),Pg["clean-lib"](),Ug(["scripts/set-module-type.js"]),Wg((()=>{Bg(["gulp","build-dev"])}),{BABEL_ENV:"development"}),Pg["build-flow-typings"](),Pg["build-dist"]()},Pg["build-flow-typings"]=function(){e.writeFileSync("packages/babel-types/lib/index.js.flow",Ug(["packages/babel-types/scripts/generators/flow.js"],void 0,!1))},Pg["build-dist"]=function(){Pg["build-plugin-transform-runtime-dist"]()},Pg["build-plugin-transform-runtime-dist"]=function(){Ug(["scripts/build-dist.js"],"packages/babel-plugin-transform-runtime")},Pg.prepublish=function(){Pg["bootstrap-only"](),Wg((()=>{Pg["prepublish-build"](),Pg.test()}),{IS_PUBLISH:"true"}),Ug(["scripts/set-module-type.js","clean"])},Pg["prepublish-build"]=function(){Pg["clean-lib"](),Pg["clean-runtime-helpers"](),Wg((()=>{Pg["build-bundle"]()}),{NODE_ENV:"production",BABEL_ENV:"production",STRIP_BABEL_8_FLAG:"true"}),Wg((()=>{Pg["prepublish-build-standalone"](),Pg["clone-license"](),Pg["prepublish-prepare-dts"]()}),{NODE_ENV:"production",STRIP_BABEL_8_FLAG:"true"})},Pg["prepublish-build-standalone"]=function(){Wg((()=>{Pg["build-standalone"]()}),{BABEL_ENV:"production",IS_PUBLISH:"true"})},Pg["prepublish-prepare-dts"]=function(){Pg.tscheck(),Bg(["gulp","bundle-dts"]),Pg["build-typescript-legacy-typings"]()},Pg.tscheck=function(){Pg["generate-tsconfig"](),Tg.rm("-rf","tsconfig.tsbuildinfo"),Tg.rm("-rf","dts"),Bg(["tsc","-b","."])},Pg["generate-tsconfig"]=function(){Ug(["scripts/generators/tsconfig.js"]),Ug(["scripts/generators/archived-libs-typings.js"])},Pg["generate-type-helpers"]=function(){Bg(["gulp","generate-type-helpers"])},Pg["build-typescript-legacy-typings"]=function(){e.writeFileSync("packages/babel-types/lib/index-legacy.d.ts",Ug(["packages/babel-types/scripts/generators/typescript-legacy.js"],void 0,!1))},Pg["clone-license"]=function(){Ug(["scripts/clone-license.js"])},Pg.lint=function(){Wg((()=>{Bg(Cg)}),{BABEL_ENV:"test"})},Pg.fix=function(){Pg["fix-json"](),Pg["fix-js"]()},Pg["fix-js"]=function(){Bg([...Cg,"--fix"])},Pg["fix-json"]=function(){Bg(["prettier",`{${Dg.join(",")}}/*/test/fixtures/**/options.json`,"--write","--loglevel","warn"])},Pg.watch=function(){Pg["build-no-bundle"](),Wg((()=>{Bg(["gulp","watch"])}),{BABEL_ENV:"development",WATCH_SKIP_BUILD:"true"})},Pg.test=function(){Pg.lint(),Pg["test-only"]()},Pg["test-only"]=function(t=[]){Bg(["jest",...t])},Pg["test-cov"]=function(){Pg.build(),Wg((()=>{Bg(["c8","jest"])}),{BABEL_ENV:"test",BABEL_COVERAGE:"true"})},Pg["bootstrap-test262"]=function(){qg("TEST262","https://github.com/tc39/test262.git",["test","harness"])},Pg["bootstrap-typescript"]=function(){qg("TYPESCRIPT","https://github.com/microsoft/TypeScript.git",["tests"])},Pg["bootstrap-flow"]=function(){qg("FLOW","https://github.com/facebook/flow.git",["src/parser/test/flow"])},Pg["new-version-checklist"]=function(){},Pg["new-version"]=function(){Pg["new-version-checklist"](),$g("git",["pull","--rebase"]),Bg(["release-tool","version","-f","@babel/standalone"])},Pg["new-version"]=function(){Pg["new-version-checklist"](),$g("git",["pull","--rebase"]),Bg(["release-tool","version","-f","@babel/standalone"])};