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