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