cd-messenger
Version:
console log logger gulp notification browser node message
1 lines • 53.3 kB
JavaScript
var _Mathround=Math.round,_MathPI=Math.PI,_Mathfloor=Math.floor,_Mathpow=Math.pow,_Mathmax=Math.max,_Mathmin=Math.min;(function(C,E){'object'==typeof exports&&'object'==typeof module?module.exports=E():'function'==typeof define&&define.amd?define('messenger',[],E):'object'==typeof exports?exports.messenger=E():C.messenger=E()})(this,function(){return function(u){function C(O){if(E[O])return E[O].exports;var M=E[O]={i:O,l:!1,exports:{}};return u[O].call(M.exports,M,M.exports,C),M.l=!0,M.exports}var E={};return C.m=u,C.c=E,C.i=function(O){return O},C.d=function(O,M,B){C.o(O,M)||Object.defineProperty(O,M,{configurable:!1,enumerable:!0,get:B})},C.n=function(O){var M=O&&O.__esModule?function(){return O['default']}:function(){return O};return C.d(M,'a',M),M},C.o=function(O,M){return Object.prototype.hasOwnProperty.call(O,M)},C.p='',C(C.s=39)}([function(u){function E(){throw new Error('setTimeout has not been defined')}function O(){throw new Error('clearTimeout has not been defined')}function M(U){if(S===setTimeout)return setTimeout(U,0);if((S===E||!S)&&setTimeout)return S=setTimeout,setTimeout(U,0);try{return S(U,0)}catch(W){try{return S.call(null,U,0)}catch(Y){return S.call(this,U,0)}}}function B(U){if(G===clearTimeout)return clearTimeout(U);if((G===O||!G)&&clearTimeout)return G=clearTimeout,clearTimeout(U);try{return G(U)}catch(W){try{return G.call(null,U)}catch(Y){return G.call(this,U)}}}function R(){D&&A&&(D=!1,A.length?I=A.concat(I):L=-1,I.length&&P())}function P(){if(!D){var U=M(R);D=!0;for(var W=I.length;W;){for(A=I,I=[];++L<W;)A&&A[L].run();L=-1,W=I.length}A=null,D=!1,B(U)}}function F(U,W){this.fun=U,this.array=W}function N(){}var T=u.exports={},S,G;(function(){try{S='function'==typeof setTimeout?setTimeout:E}catch(U){S=E}try{G='function'==typeof clearTimeout?clearTimeout:O}catch(U){G=O}})();var I=[],D=!1,A,L=-1;T.nextTick=function(U){var W=Array(arguments.length-1);if(1<arguments.length)for(var Y=1;Y<arguments.length;Y++)W[Y-1]=arguments[Y];I.push(new F(U,W)),1!==I.length||D||M(P)},F.prototype.run=function(){this.fun.apply(null,this.array)},T.title='browser',T.browser=!0,T.env={},T.argv=[],T.version='',T.versions={},T.on=N,T.addListener=N,T.once=N,T.off=N,T.removeListener=N,T.removeAllListeners=N,T.emit=N,T.binding=function(){throw new Error('process.binding is not supported')},T.cwd=function(){return'/'},T.chdir=function(){throw new Error('process.chdir is not supported')},T.umask=function(){return 0}},function(u,C,E){function O(U){var W=function Y(){return M.apply(Y,arguments)};return W._styles=U,W.__proto__=D,W}function M(){var U=arguments,W=U.length,Y=0!==W&&arguments[0]+'';if(1<W)for(var H=1;H<W;H++)Y+=' '+U[H];if(!P.enabled||!Y)return Y;for(var V,J=this._styles,$=J.length;$--;)V=F[J[$]],Y=V.open+Y.replace(V.closeRe,V.open)+V.close;return Y}function B(U){for(var W in U)(function(Y){P[Y]=function(H){return P[U[Y]](H)}})(W)}var P={};u.exports=P,P.themes={};var F=P.styles=E(28),N=Object.defineProperties;P.supportsColor=E(29),'undefined'==typeof P.enabled&&(P.enabled=P.supportsColor),P.stripColors=P.strip=function(U){return(''+U).replace(/\x1B\[\d+m/g,'')};var T=P.stylize=function(W,Y){return F[Y].open+W+F[Y].close},S=/[|\\{}()[\]^$+*?.]/g,G=function(U){if('string'!=typeof U)throw new TypeError('Expected a string');return U.replace(S,'\\$&')},I=function(){var U={};return F.grey=F.gray,Object.keys(F).forEach(function(W){F[W].closeRe=new RegExp(G(F[W].close),'g'),U[W]={get:function(){return O(this._styles.concat(W))}}}),U}(),D=N(function(){},I);P.setTheme=function(U){if('string'==typeof U)try{return P.themes[U]=!function(){var Y=new Error('Cannot find module "."');throw Y.code='MODULE_NOT_FOUND',Y}(),B(P.themes[U]),P.themes[U]}catch(W){return console.log(W),W}else B(U)};var A=function(W,Y){var H=Y.split('');return H=H.map(W),H.join('')};for(var L in P.trap=E(22),P.zalgo=E(23),P.maps={},P.maps.america=E(24),P.maps.zebra=E(27),P.maps.rainbow=E(25),P.maps.random=E(26),P.maps)(function(U){P[U]=function(W){return A(P.maps[U],W)}})(L);N(P,function(){var U={};return Object.keys(I).forEach(function(W){U[W]={get:function(){return O([W])}}}),U}())},function(u){'use strict';var O=/[|\\{}()[\]^$+*?.]/g;u.exports=function(M){if('string'!=typeof M)throw new TypeError('Expected a string');return M.replace(O,'\\$&')}},function(u){u.exports={name:'cd-messenger',version:'2.7.25',description:'console log logger gulp notification browser node message',main:'index.js',reveal:!0,scripts:{build:'npm run clean && npm run test && npm run eslint && npm run build:dev && npm run build:prod && node ./scripts/post-build-all','build:dev':'node -r babel-register node_modules/.bin/webpack --hide-modules --config=webpack.config.dev.js && bash ./scripts/copy.sh','build:prod':'cross-env NODE_ENV=production node -r babel-register node_modules/.bin/webpack --hide-modules --config=webpack.config.prod.js','build:watch':'node -r babel-register node_modules/.bin/webpack --hide-modules --config=webpack.config.dev.js --watch && bash ./scripts/copy.sh',clean:'./node_modules/.bin/rimraf dist && ./node_modules/.bin/rimraf examples/lib',eslint:'eslint "./**/*.js"',lint:'npm run eslint --silent',postversion:'','test:node':'node examples/node-test','test:watch':'mocha --compilers js:babel-core/register -w',test:'node ./scripts/pre-test && mocha --compilers js:babel-core/register','test:coverage':'nyc --report-dir ./test/coverage -r html mocha --require babel-register && open ./test/coverage/index.html'},repository:{type:'git',url:'git+https://github.com/mikeerickson/cd-messenger.git'},keywords:['console','log','logger','gulp','notification','debug','error','info','warning','dump','browser'],author:'Mike Erickson <codedungeon@gmail.com>',license:'MIT',bugs:{url:'https://github.com/mikeerickson/cd-messenger/issues'},homepage:'https://github.com/mikeerickson/cd-messenger#readme',devDependencies:{'@slightlytyler/webpack-shell-plugin':'0.4.5','babel-core':'6.23.1','babel-loader':'6.4.0','babel-plugin-add-header-comment':'1.0.3','babel-preset-babili':'0.0.12','babel-preset-es2015-native-modules':'6.9.4','babel-preset-es2015-without-strict':'0.0.4','babili-webpack-plugin':'0.0.11','bump-version':'0.5.0',chai:'3.5.0',chalk:'^2.4.1','cross-env':'3.2.3',eslint:'3.17.1','eslint-loader':'1.6.3','html-webpack-plugin':'2.28.0',isobject:'^3.0.1','json-loader':'0.5.4',mocha:'3.2.0','mocha-sinon':'1.1.6',moment:'2.17.1',npm:'4.4.1','progress-bar-webpack-plugin':'1.9.3',rimraf:'2.6.1',sinon:'1.17.7','watch-ignore-webpack-plugin':'1.0.0',webpack:'2.2.1','webpack-build-notifier':'0.1.13','webpack-merge':'4.0.0'},dependencies:{chalkline:'0.0.5','cli-table':'0.3.1',dateformat:'2.0.0','pretty-web-logger':'1.0.7'}}},function(u){'use strict';u.exports=function(){return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},function(u,C,E){'use strict';(function(O){Object.defineProperty(O,'exports',{enumerable:!0,get:function(){var B={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};return B.colors.grey=B.colors.gray,Object.keys(B).forEach(function(R){var P=B[R];Object.keys(P).forEach(function(F){var N=P[F];B[F]=P[F]={open:'\x1B['+N[0]+'m',close:'\x1B['+N[1]+'m'}}),Object.defineProperty(B,R,{value:P,enumerable:!1})}),B}})}).call(C,E(7)(u))},function(u,C,E){function O(S,G){return _Mathpow(S[0]-G[0],2)+_Mathpow(S[1]-G[1],2)+_Mathpow(S[2]-G[2],2)}var M=E(20),B={};for(var R in M)M.hasOwnProperty(R)&&(B[M[R]]=R);var P=u.exports={rgb:{channels:3,labels:'rgb'},hsl:{channels:3,labels:'hsl'},hsv:{channels:3,labels:'hsv'},hwb:{channels:3,labels:'hwb'},cmyk:{channels:4,labels:'cmyk'},xyz:{channels:3,labels:'xyz'},lab:{channels:3,labels:'lab'},lch:{channels:3,labels:'lch'},hex:{channels:1,labels:['hex']},keyword:{channels:1,labels:['keyword']},ansi16:{channels:1,labels:['ansi16']},ansi256:{channels:1,labels:['ansi256']},hcg:{channels:3,labels:['h','c','g']},apple:{channels:3,labels:['r16','g16','b16']},gray:{channels:1,labels:['gray']}};for(var F in P)if(P.hasOwnProperty(F)){if(!('channels'in P[F]))throw new Error('missing channels property: '+F);if(!('labels'in P[F]))throw new Error('missing channel labels property: '+F);if(P[F].labels.length!==P[F].channels)throw new Error('channel and label counts mismatch: '+F);var N=P[F].channels,T=P[F].labels;delete P[F].channels,delete P[F].labels,Object.defineProperty(P[F],'channels',{value:N}),Object.defineProperty(P[F],'labels',{value:T})}P.rgb.hsl=function(S){var W,Y,H,G=S[0]/255,I=S[1]/255,D=S[2]/255,A=_Mathmin(G,I,D),L=_Mathmax(G,I,D),U=L-A;return L===A?W=0:G===L?W=(I-D)/U:I===L?W=2+(D-G)/U:D===L&&(W=4+(G-I)/U),W=_Mathmin(60*W,360),0>W&&(W+=360),H=(A+L)/2,Y=L===A?0:0.5>=H?U/(L+A):U/(2-L-A),[W,100*Y,100*H]},P.rgb.hsv=function(S){var W,Y,H,G=S[0],I=S[1],D=S[2],A=_Mathmin(G,I,D),L=_Mathmax(G,I,D),U=L-A;return Y=0===L?0:1e3*(U/L)/10,L===A?W=0:G===L?W=(I-D)/U:I===L?W=2+(D-G)/U:D===L&&(W=4+(G-I)/U),W=_Mathmin(60*W,360),0>W&&(W+=360),H=1e3*(L/255)/10,[W,Y,H]},P.rgb.hwb=function(S){var G=S[0],I=S[1],D=S[2],A=P.rgb.hsl(S)[0],L=1/255*_Mathmin(G,_Mathmin(I,D));return D=1-1/255*_Mathmax(G,_Mathmax(I,D)),[A,100*L,100*D]},P.rgb.cmyk=function(S){var A,L,U,W,G=S[0]/255,I=S[1]/255,D=S[2]/255;return W=_Mathmin(1-G,1-I,1-D),A=(1-G-W)/(1-W)||0,L=(1-I-W)/(1-W)||0,U=(1-D-W)/(1-W)||0,[100*A,100*L,100*U,100*W]},P.rgb.keyword=function(S){var G=B[S];if(G)return G;var I=Infinity,D;for(var A in M)if(M.hasOwnProperty(A)){var L=M[A],U=O(S,L);U<I&&(I=U,D=A)}return D},P.keyword.rgb=function(S){return M[S]},P.rgb.xyz=function(S){var G=S[0]/255,I=S[1]/255,D=S[2]/255;G=0.04045<G?_Mathpow((G+0.055)/1.055,2.4):G/12.92,I=0.04045<I?_Mathpow((I+0.055)/1.055,2.4):I/12.92,D=0.04045<D?_Mathpow((D+0.055)/1.055,2.4):D/12.92;var A=0.4124*G+0.3576*I+0.1805*D,L=0.2126*G+0.7152*I+0.0722*D,U=0.0193*G+0.1192*I+0.9505*D;return[100*A,100*L,100*U]},P.rgb.lab=function(S){var L,U,W,G=P.rgb.xyz(S),I=G[0],D=G[1],A=G[2];return I/=95.047,D/=100,A/=108.883,I=0.008856<I?_Mathpow(I,1/3):7.787*I+16/116,D=0.008856<D?_Mathpow(D,1/3):7.787*D+16/116,A=0.008856<A?_Mathpow(A,1/3):7.787*A+16/116,L=116*D-16,U=500*(I-D),W=200*(D-A),[L,U,W]},P.hsl.rgb=function(S){var G=S[0]/360,I=S[1]/100,D=S[2]/100,A,L,U,W,Y;if(0==I)return Y=255*D,[Y,Y,Y];L=0.5>D?D*(1+I):D+I-D*I,A=2*D-L,W=[0,0,0];for(var H=0;3>H;H++)U=G+1/3*-(H-1),0>U&&U++,1<U&&U--,Y=1>6*U?A+6*(L-A)*U:1>2*U?L:2>3*U?A+6*((L-A)*(2/3-U)):A,W[H]=255*Y;return W},P.hsl.hsv=function(S){var U,W,G=S[0],I=S[1]/100,D=S[2]/100,A=I,L=_Mathmax(D,0.01);return D*=2,I*=1>=D?D:2-D,A*=1>=L?L:2-L,W=(D+I)/2,U=0==D?2*A/(L+A):2*I/(D+I),[G,100*U,100*W]},P.hsv.rgb=function(S){var G=S[0]/60,I=S[1]/100,D=S[2]/100,A=_Mathfloor(G)%6,L=G-_Mathfloor(G),U=255*D*(1-I),W=255*D*(1-I*L),Y=255*D*(1-I*(1-L));return D*=255,0==A?[D,Y,U]:1==A?[W,D,U]:2==A?[U,D,Y]:3==A?[U,W,D]:4==A?[Y,U,D]:5==A?[D,U,W]:void 0},P.hsv.hsl=function(S){var L,U,W,G=S[0],I=S[1]/100,D=S[2]/100,A=_Mathmax(D,0.01);return W=(2-I)*D,L=(2-I)*A,U=I*A,U/=1>=L?L:2-L,U=U||0,W/=2,[G,100*U,100*W]},P.hwb.rgb=function(S){var G=S[0]/360,I=S[1]/100,D=S[2]/100,A=I+D,L,U,W,Y;1<A&&(I/=A,D/=A),L=_Mathfloor(6*G),U=1-D,W=6*G-L,0!=(1&L)&&(W=1-W),Y=I+W*(U-I);var H,J,$;switch(L){default:case 6:case 0:H=U,J=Y,$=I;break;case 1:H=Y,J=U,$=I;break;case 2:H=I,J=U,$=Y;break;case 3:H=I,J=Y,$=U;break;case 4:H=Y,J=I,$=U;break;case 5:H=U,J=I,$=Y;}return[255*H,255*J,255*$]},P.cmyk.rgb=function(S){var L,U,W,G=S[0]/100,I=S[1]/100,D=S[2]/100,A=S[3]/100;return L=1-_Mathmin(1,G*(1-A)+A),U=1-_Mathmin(1,I*(1-A)+A),W=1-_Mathmin(1,D*(1-A)+A),[255*L,255*U,255*W]},P.xyz.rgb=function(S){var A,L,U,G=S[0]/100,I=S[1]/100,D=S[2]/100;return A=3.2406*G+-1.5372*I+-0.4986*D,L=-0.9689*G+1.8758*I+0.0415*D,U=0.0557*G+-0.204*I+1.057*D,A=0.0031308<A?1.055*_Mathpow(A,1/2.4)-0.055:12.92*A,L=0.0031308<L?1.055*_Mathpow(L,1/2.4)-0.055:12.92*L,U=0.0031308<U?1.055*_Mathpow(U,1/2.4)-0.055:12.92*U,A=_Mathmin(_Mathmax(0,A),1),L=_Mathmin(_Mathmax(0,L),1),U=_Mathmin(_Mathmax(0,U),1),[255*A,255*L,255*U]},P.xyz.lab=function(S){var A,L,U,G=S[0],I=S[1],D=S[2];return G/=95.047,I/=100,D/=108.883,G=0.008856<G?_Mathpow(G,1/3):7.787*G+16/116,I=0.008856<I?_Mathpow(I,1/3):7.787*I+16/116,D=0.008856<D?_Mathpow(D,1/3):7.787*D+16/116,A=116*I-16,L=500*(G-I),U=200*(I-D),[A,L,U]},P.lab.xyz=function(S){var A,L,U,G=S[0],I=S[1],D=S[2];L=(G+16)/116,A=I/500+L,U=L-D/200;var W=_Mathpow(L,3),Y=_Mathpow(A,3),H=_Mathpow(U,3);return L=0.008856<W?W:(L-16/116)/7.787,A=0.008856<Y?Y:(A-16/116)/7.787,U=0.008856<H?H:(U-16/116)/7.787,A*=95.047,L*=100,U*=108.883,[A,L,U]},P.lab.lch=function(S){var A,L,U,G=S[0],I=S[1],D=S[2];return A=Math.atan2(D,I),L=360*A/2/_MathPI,0>L&&(L+=360),U=Math.sqrt(I*I+D*D),[G,U,L]},P.lch.lab=function(S){var A,L,U,G=S[0],I=S[1],D=S[2];return U=2*(D/360)*_MathPI,A=I*Math.cos(U),L=I*Math.sin(U),[G,A,L]},P.rgb.ansi16=function(S){var G=S[0],I=S[1],D=S[2],A=1 in arguments?arguments[1]:P.rgb.hsv(S)[2];if(A=_Mathround(A/50),0===A)return 30;var L=30+(_Mathround(D/255)<<2|_Mathround(I/255)<<1|_Mathround(G/255));return 2===A&&(L+=60),L},P.hsv.ansi16=function(S){return P.rgb.ansi16(P.hsv.rgb(S),S[2])},P.rgb.ansi256=function(S){var G=S[0],I=S[1],D=S[2];if(G===I&&I===D)return 8>G?16:248<G?231:_Mathround(24*((G-8)/247))+232;var A=16+36*_Mathround(5*(G/255))+6*_Mathround(5*(I/255))+_Mathround(5*(D/255));return A},P.ansi16.rgb=function(S){var G=S%10;if(0==G||7==G)return 50<S&&(G+=3.5),G=255*(G/10.5),[G,G,G];var I=0.5*(~~(50<S)+1),D=255*((1&G)*I),A=255*((1&G>>1)*I),L=255*((1&G>>2)*I);return[D,A,L]},P.ansi256.rgb=function(S){if(232<=S){var G=10*(S-232)+8;return[G,G,G]}S-=16;var I,D=255*(_Mathfloor(S/36)/5),A=255*(_Mathfloor((I=S%36)/6)/5),L=255*(I%6/5);return[D,A,L]},P.rgb.hex=function(S){var G=((255&_Mathround(S[0]))<<16)+((255&_Mathround(S[1]))<<8)+(255&_Mathround(S[2])),I=G.toString(16).toUpperCase();return'000000'.substring(I.length)+I},P.hex.rgb=function(S){var G=S.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!G)return[0,0,0];var I=G[0];3===G[0].length&&(I=I.split('').map(function(W){return W+W}).join(''));var D=parseInt(I,16);return[255&D>>16,255&D>>8,255&D]},P.rgb.hcg=function(S){var W,Y,G=S[0]/255,I=S[1]/255,D=S[2]/255,A=_Mathmax(_Mathmax(G,I),D),L=_Mathmin(_Mathmin(G,I),D),U=A-L;return W=1>U?L/(1-U):0,Y=0>=U?0:A===G?(I-D)/U%6:A===I?2+(D-G)/U:4+(G-I)/U+4,Y/=6,Y%=1,[360*Y,100*U,100*W]},P.hsl.hcg=function(S){var G=S[1]/100,I=S[2]/100,D=1,A=0;return D=0.5>I?2*G*I:2*G*(1-I),1>D&&(A=(I-0.5*D)/(1-D)),[S[0],100*D,100*A]},P.hsv.hcg=function(S){var G=S[1]/100,I=S[2]/100,D=G*I,A=0;return 1>D&&(A=(I-D)/(1-D)),[S[0],100*D,100*A]},P.hcg.rgb=function(S){var G=S[0]/360,I=S[1]/100,D=S[2]/100;if(0==I)return[255*D,255*D,255*D];var A=[0,0,0],L=6*(G%1),U=L%1,W=1-U,Y=0;switch(_Mathfloor(L)){case 0:A[0]=1,A[1]=U,A[2]=0;break;case 1:A[0]=W,A[1]=1,A[2]=0;break;case 2:A[0]=0,A[1]=1,A[2]=U;break;case 3:A[0]=0,A[1]=W,A[2]=1;break;case 4:A[0]=U,A[1]=0,A[2]=1;break;default:A[0]=1,A[1]=0,A[2]=W;}return Y=(1-I)*D,[255*(I*A[0]+Y),255*(I*A[1]+Y),255*(I*A[2]+Y)]},P.hcg.hsv=function(S){var G=S[1]/100,I=S[2]/100,D=G+I*(1-G),A=0;return 0<D&&(A=G/D),[S[0],100*A,100*D]},P.hcg.hsl=function(S){var G=S[1]/100,I=S[2]/100,D=I*(1-G)+0.5*G,A=0;return 0<D&&0.5>D?A=G/(2*D):0.5<=D&&1>D&&(A=G/(2*(1-D))),[S[0],100*A,100*D]},P.hcg.hwb=function(S){var G=S[1]/100,I=S[2]/100,D=G+I*(1-G);return[S[0],100*(D-G),100*(1-D)]},P.hwb.hcg=function(S){var G=S[1]/100,I=S[2]/100,D=1-I,A=D-G,L=0;return 1>A&&(L=(D-A)/(1-A)),[S[0],100*A,100*L]},P.apple.rgb=function(S){return[255*(S[0]/65535),255*(S[1]/65535),255*(S[2]/65535)]},P.rgb.apple=function(S){return[65535*(S[0]/255),65535*(S[1]/255),65535*(S[2]/255)]},P.gray.rgb=function(S){return[255*(S[0]/100),255*(S[0]/100),255*(S[0]/100)]},P.gray.hsl=P.gray.hsv=function(S){return[0,0,S[0]]},P.gray.hwb=function(S){return[0,100,S[0]]},P.gray.cmyk=function(S){return[0,0,0,S[0]]},P.gray.lab=function(S){return[S[0],0,0]},P.gray.hex=function(S){var G=255&_Mathround(255*(S[0]/100)),D=((G<<16)+(G<<8)+G).toString(16).toUpperCase();return'000000'.substring(D.length)+D},P.rgb.gray=function(S){var G=(S[0]+S[1]+S[2])/3;return[100*(G/255)]}},function(u){u.exports=function(E){return E.webpackPolyfill||(E.deprecate=function(){},E.paths=[],!E.children&&(E.children=[]),Object.defineProperty(E,'loaded',{enumerable:!0,get:function(){return E.l}}),Object.defineProperty(E,'id',{enumerable:!0,get:function(){return E.i}}),E.webpackPolyfill=1),E}},function(u,C,E){function O(F,N){if(!(F instanceof N))throw new TypeError('Cannot call a class as a function')}function M(F){var N=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'white',T='background: '+N+'; color: white; display: block;';'yellow'===N&&(T='background: '+N+'; color: black; display: block;');for(var S=arguments.length,G=Array(2<S?S-2:0),I=2;I<S;I++)G[I-2]=arguments[I];0<G.length?console.log('%c%s',T,F,G):console.log('%c%s',T,F)}var B=function(){function F(N,T){for(var S,G=0;G<T.length;G++)S=T[G],S.enumerable=S.enumerable||!1,S.configurable=!0,'value'in S&&(S.writable=!0),Object.defineProperty(N,S.key,S)}return function(N,T,S){return T&&F(N.prototype,T),S&&F(N,S),N}}(),R=E(32),P=function(){function F(){var N=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};O(this,F),this.options={logger:!1},this.pkgInfo=N}return B(F,[{key:'setOptions',value:function(){var T=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options=Object.assign(this.options,T)}},{key:'version',value:function(){return this.pkgInfo.version}},{key:'name',value:function(){return this.pkgInfo.name}},{key:'log',value:function(T){for(var S,G,I=arguments.length,D=Array(1<I?I-1:0),A=1;A<I;A++)D[A-1]=arguments[A];this.options.logger?R.log.apply(R,[T].concat(D)):(S=console).log.apply(S,[T].concat(D)),(G=console).log.apply(G,[T].concat(D))}},{key:'info',value:function(T){for(var S=arguments.length,G=Array(1<S?S-1:0),I=1;I<S;I++)G[I-1]=arguments[I];this.options.logger?R.info.apply(R,[T].concat(G)):M.apply(void 0,[T,'blue'].concat(G))}},{key:'note',value:function(T){for(var S=arguments.length,G=Array(1<S?S-1:0),I=1;I<S;I++)G[I-1]=arguments[I];this.options.logger?R.info.apply(R,[T].concat(G)):M.apply(void 0,[T,'orange'].concat(G))}},{key:'success',value:function(T){for(var S=arguments.length,G=Array(1<S?S-1:0),I=1;I<S;I++)G[I-1]=arguments[I];this.options.logger?R.info.apply(R,[T].concat(G)):M.apply(void 0,[T,'green'].concat(G))}},{key:'error',value:function(T){for(var S=arguments.length,G=Array(1<S?S-1:0),I=1;I<S;I++)G[I-1]=arguments[I];this.options.logger?R.error.apply(R,[T].concat(G)):M.apply(void 0,[T,'red'].concat(G))}},{key:'warning',value:function(T){for(var S=arguments.length,G=Array(1<S?S-1:0),I=1;I<S;I++)G[I-1]=arguments[I];this.options.logger?R.warning.apply(R,[T].concat(G)):M.apply(void 0,[T,'yellow'].concat(G))}},{key:'table',value:function(T){console.table(T)}},{key:'dir',value:function(){var T;(T=console).dir.apply(T,arguments)}},{key:'line',value:function(){var T=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'',S=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'white',G=2<arguments.length&&void 0!==arguments[2]?arguments[2]:80;T=0<T.length?T.substring(0,1):'\u2584',console.log('%c%s','color: '+S+'; display: block',T.repeat(G))}}]),F}();u.exports=P},function(module,exports,__webpack_require__){var chalk=__webpack_require__(10),cl=__webpack_require__(13),Table=__webpack_require__(16),pkgInfo=__webpack_require__(3),CLI_ICON_FAIL='\u2718',CLI_ICON_PASS='\u2713',CLI_ICON_WARN='\u267A',CLI_ICON_NOTE='\u270F\uFE0E',messenger={version:function(){return pkgInfo.version},name:function(){return pkgInfo.name},log:function(){for(var C,E=arguments.length,O=Array(E),M=0;M<E;M++)O[M]=arguments[M];return(C=console).log.apply(C,O),O},info:function(){for(var C,E=arguments.length,O=Array(E),M=0;M<E;M++)O[M]=arguments[M];return console.log((C=chalk.cyan).bold.apply(C,[CLI_ICON_NOTE].concat(O))),O},note:function(C){for(var E,O=arguments.length,M=Array(1<O?O-1:0),B=1;B<O;B++)M[B-1]=arguments[B];return(E=console).log.apply(E,[C].concat(M)),M},success:function(){for(var C,E=arguments.length,O=Array(E),M=0;M<E;M++)O[M]=arguments[M];return console.log((C=chalk.green).bold.apply(C,[CLI_ICON_PASS].concat(O))),O},warning:function(){for(var C,E=arguments.length,O=Array(E),M=0;M<E;M++)O[M]=arguments[M];return console.log((C=chalk.yellow).bold.apply(C,[CLI_ICON_WARN].concat(O))),O},error:function(){for(var C,E=arguments.length,O=Array(E),M=0;M<E;M++)O[M]=arguments[M];return console.log((C=chalk.red).bold.apply(C,[CLI_ICON_FAIL].concat(O))),O},table:function(C){var E;0<C.length&&(Array.isArray(C[0])?(header=C[0],C.splice(0,1)):header=Object.keys(C[0]),header=header.map(function(O){return chalk.cyan.bold(O)}),E=new Table({head:header}),C.map(function(O){var M=Object.keys(O).map(function(B){return O[B]});E.push(M)}),console.log(E.toString()))},line:function(color){if(0<color.length)try{eval('cl.'+color+'()')}catch(u){console.error(chalk.bgRed.bold('Invalid Color: '+color))}},dir:function(C){return console.dir(C),C}};module.exports=messenger},function(u,C,E){'use strict';(function(O){function M(W,Y){Y=Y||{};const H=S?S.level:0;W.level=Y.level===void 0?H:Y.level,W.enabled='enabled'in Y?Y.enabled:0<W.level}function B(W){if(!this||!(this instanceof B)||this.template){const Y={};return M(Y,W),Y.template=function(){const H=[].slice.call(arguments);return F.apply(null,[Y.template].concat(H))},Object.setPrototypeOf(Y,B.prototype),Object.setPrototypeOf(Y.template,Y),Y.template.constructor=B,Y.template}M(this,W)}function R(W,Y,H){const J=function(){return P.apply(J,arguments)};J._styles=W,J._empty=Y;const $=this;return Object.defineProperty(J,'level',{enumerable:!0,get(){return $.level},set(V){$.level=V}}),Object.defineProperty(J,'enabled',{enumerable:!0,get(){return $.enabled},set(V){$.enabled=V}}),J.hasGrey=this.hasGrey||'gray'===H||'grey'===H,J.__proto__=U,J}function P(){const W=arguments,Y=W.length;let H=arguments[0]+'';if(0===Y)return'';if(1<Y)for(let $=1;$<Y;$++)H+=' '+W[$];if(!this.enabled||0>=this.level||!H)return this._empty?'':H;const J=T.dim.open;I&&this.hasGrey&&(T.dim.open='');for(const $ of this._styles.slice().reverse())H=$.open+H.replace($.closeRe,$.open)+$.close,H=H.replace(/\r?\n/g,`${$.close}$&${$.open}`);return T.dim.open=J,H}function F(W,Y){if(!Array.isArray(Y))return[].slice.call(arguments,1).join(' ');const H=[].slice.call(arguments,2),J=[Y.raw[0]];for(let $=1;$<Y.length;$++)J.push((H[$-1]+'').replace(/[{}\\]/g,'\\$&')),J.push(Y.raw[$]+'');return G(W,J.join(''))}const N=E(2),T=E(11),S=E(34).stdout,G=E(12),I='win32'===O.platform&&!(O.env.TERM||'').toLowerCase().startsWith('xterm'),D=['ansi','ansi','ansi256','ansi16m'],A=new Set(['gray']),L=Object.create(null);I&&(T.blue.open='\x1B[94m');for(const W of Object.keys(T))T[W].closeRe=new RegExp(N(T[W].close),'g'),L[W]={get(){const Y=T[W];return R.call(this,this._styles?this._styles.concat(Y):[Y],this._empty,W)}};L.visible={get(){return R.call(this,this._styles||[],!0,'visible')}},T.color.closeRe=new RegExp(N(T.color.close),'g');for(const W of Object.keys(T.color.ansi))A.has(W)||(L[W]={get(){const Y=this.level;return function(){const H=T.color[D[Y]][W].apply(null,arguments),J={open:H,close:T.color.close,closeRe:T.color.closeRe};return R.call(this,this._styles?this._styles.concat(J):[J],this._empty,W)}}});T.bgColor.closeRe=new RegExp(N(T.bgColor.close),'g');for(const W of Object.keys(T.bgColor.ansi)){if(A.has(W))continue;const Y='bg'+W[0].toUpperCase()+W.slice(1);L[Y]={get(){const H=this.level;return function(){const J=T.bgColor[D[H]][W].apply(null,arguments),$={open:J,close:T.bgColor.close,closeRe:T.bgColor.closeRe};return R.call(this,this._styles?this._styles.concat($):[$],this._empty,W)}}}}const U=Object.defineProperties(()=>{},L);Object.defineProperties(B.prototype,L),u.exports=B(),u.exports.supportsColor=S,u.exports.default=u.exports}).call(C,E(0))},function(u,C,E){'use strict';(function(O){const B=E(18),R=(N,T)=>function(){const S=N.apply(B,arguments);return`\u001B[${S+T}m`},P=(N,T)=>function(){const S=N.apply(B,arguments);return`\u001B[${38+T};5;${S}m`},F=(N,T)=>function(){const S=N.apply(B,arguments);return`\u001B[${38+T};2;${S[0]};${S[1]};${S[2]}m`};Object.defineProperty(O,'exports',{enumerable:!0,get:function(){const N=new Map,T={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};T.color.grey=T.color.gray;for(const I of Object.keys(T)){const D=T[I];for(const A of Object.keys(D)){const L=D[A];T[A]={open:`\u001B[${L[0]}m`,close:`\u001B[${L[1]}m`},D[A]=T[A],N.set(L[0],L[1])}Object.defineProperty(T,I,{value:D,enumerable:!1}),Object.defineProperty(T,'codes',{value:N,enumerable:!1})}const S=(I)=>I,G=(I,D,A)=>[I,D,A];T.color.close='\x1B[39m',T.bgColor.close='\x1B[49m',T.color.ansi={ansi:R(S,0)},T.color.ansi256={ansi256:P(S,0)},T.color.ansi16m={rgb:F(G,0)},T.bgColor.ansi={ansi:R(S,10)},T.bgColor.ansi256={ansi256:P(S,10)},T.bgColor.ansi16m={rgb:F(G,10)};for(let I of Object.keys(B)){if('object'!=typeof B[I])continue;const D=B[I];'ansi16'===I&&(I='ansi'),'ansi16'in D&&(T.color.ansi[I]=R(D.ansi16,0),T.bgColor.ansi[I]=R(D.ansi16,10)),'ansi256'in D&&(T.color.ansi256[I]=P(D.ansi256,0),T.bgColor.ansi256[I]=P(D.ansi256,10)),'rgb'in D&&(T.color.ansi16m[I]=F(D.rgb,0),T.bgColor.ansi16m[I]=F(D.rgb,10))}return T}})}).call(C,E(7)(u))},function(u){'use strict';function O(G){return'u'===G[0]&&5===G.length||'x'===G[0]&&3===G.length?String.fromCharCode(parseInt(G.slice(1),16)):S.get(G)||G}function M(G,I){const D=[],A=I.trim().split(/\s*,\s*/g);let L;for(const U of A)if(!isNaN(U))D.push(+U);else if(L=U.match(N))D.push(L[2].replace(T,(W,Y,H)=>Y?O(Y):H));else throw new Error(`Invalid Chalk template style argument: ${U} (in style '${G}')`);return D}function B(G){F.lastIndex=0;const I=[];for(let D;null!==(D=F.exec(G));){const A=D[1];if(D[2]){const L=M(A,D[2]);I.push([A].concat(L))}else I.push([A])}return I}function R(G,I){const D={};for(const L of I)for(const U of L.styles)D[U[0]]=L.inverse?null:U.slice(1);let A=G;for(const L of Object.keys(D))if(Array.isArray(D[L])){if(!(L in A))throw new Error(`Unknown Chalk style: ${L}`);A=0<D[L].length?A[L].apply(A,D[L]):A[L]}return A}const P=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,F=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,N=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,T=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,S=new Map([['n','\n'],['r','\r'],['t','\t'],['b','\b'],['f','\f'],['v','\x0B'],['0','\0'],['\\','\\'],['e','\x1B'],['a','\x07']]);u.exports=(G,I)=>{const D=[],A=[];let L=[];if(I.replace(P,(U,W,Y,H,J,$)=>{if(W)L.push(O(W));else if(H){const V=L.join('');L=[],A.push(0===D.length?V:R(G,D)(V)),D.push({inverse:Y,styles:B(H)})}else if(J){if(0===D.length)throw new Error('Found extraneous } in Chalk template literal');A.push(R(G,D)(L.join(''))),L=[],D.pop()}else L.push($)}),A.push(L.join('')),0<D.length){const U=`Chalk template literal is missing ${D.length} closing bracket${1===D.length?'':'s'} (\`}\`)`;throw new Error(U)}return A.join('')}},function(u,C,E){(function(O){function M(Y){this.enabled=Y&&Y.enabled!==void 0?Y.enabled:I.supportsColor}function R(){var Y=arguments,H=Y.length,J=0!==H&&arguments[0]+'';if(1<H)for(var $=1;$<H;$++)J+=' '+Y[$];if(!this.enabled||!J)return J;var V=this._styles,X=V.length,Q=S.dim.open;for(T&&(-1!==V.indexOf('gray')||-1!==V.indexOf('grey'))&&(S.dim.open='');X--;){var Z=S[V[X]];J=Z.open+J.replace(Z.closeRe,Z.open)+Z.close}return S.dim.open=Q,J}function P(Y){var H=function(){return console.log(R.call(H,L))};return H._styles=Y,H.enabled=this.enabled,H.__proto__=W,H}var F=E(2),N=Object.defineProperties,T='win32'===O.platform&&!/^xterm/i.test(O.env.TERM),S=E(5),G=E(37),I=E(14),A=80;O.stdout.isTTY&&O.stdout.columns&&(A=O.stdout.columns);var L=Array(A+1).join('\u2588'),U=function(){var Y={};return Object.keys(S).forEach(function(H){S[H].closeRe=new RegExp(F(S[H].close),'g'),Y[H]={get:function(){return P.call(this,this._styles.concat(H))}}}),Y}(),W=N(function(){},U);N(M.prototype,function(){var Y={};return Object.keys(I.styles).forEach(function(H){Y[H]={get:function(){return P.call(this,[H])}}}),Y}()),u.exports=new M}).call(C,E(0))},function(u,C,E){'use strict';(function(O){function M(U){this.enabled=U&&U.enabled!==void 0?U.enabled:G}function B(U){var W=function(){return R.apply(W,arguments)};return W._styles=U,W.enabled=this.enabled,W.__proto__=L,W}function R(){var U=arguments,W=U.length,Y=0!==W&&arguments[0]+'';if(1<W)for(var H=1;H<W;H++)Y+=' '+U[H];if(!this.enabled||!Y)return Y;var J=this._styles,$=J.length,V=N.dim.open;for(D&&(-1!==J.indexOf('gray')||-1!==J.indexOf('grey'))&&(N.dim.open='');$--;){var X=N[J[$]];Y=X.open+Y.replace(X.closeRe,X.open)+X.close}return N.dim.open=V,Y}var F=E(2),N=E(5),T=E(33),S=E(31),G=E(15),I=Object.defineProperties,D='win32'===O.platform&&!/^xterm/i.test(O.env.TERM);D&&(N.blue.open='\x1B[94m');var A=function(){var U={};return Object.keys(N).forEach(function(W){N[W].closeRe=new RegExp(F(N[W].close),'g'),U[W]={get:function(){return B.call(this,this._styles.concat(W))}}}),U}(),L=I(function(){},A);I(M.prototype,function(){var U={};return Object.keys(A).forEach(function(W){U[W]={get:function(){return B.call(this,[W])}}}),U}()),u.exports=new M,u.exports.styles=N,u.exports.hasColor=S,u.exports.stripColor=T,u.exports.supportsColor=G}).call(C,E(0))},function(u,C,E){'use strict';(function(O){var M=O.argv,B=M.indexOf('--'),R=function(P){P='--'+P;var F=M.indexOf(P);return-1!==F&&(!(-1!==B)||F<B)};u.exports=function(){return!!('FORCE_COLOR'in O.env)||(R('no-color')||R('no-colors')||R('color=false')?!1:R('color')||R('colors')||R('color=true')||R('color=always')||(O.stdout&&!O.stdout.isTTY?!1:!('win32'!==O.platform)||!!('COLORTERM'in O.env)||'dumb'!==O.env.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(O.env.TERM)))}()}).call(C,E(0))},function(u,C,E){function O(N){this.options=B.options({chars:{top:'\u2500','top-mid':'\u252C','top-left':'\u250C','top-right':'\u2510',bottom:'\u2500','bottom-mid':'\u2534','bottom-left':'\u2514','bottom-right':'\u2518',left:'\u2502','left-mid':'\u251C',mid:'\u2500','mid-mid':'\u253C',right:'\u2502','right-mid':'\u2524',middle:'\u2502'},truncate:'\u2026',colWidths:[],colAligns:[],style:{'padding-left':1,'padding-right':1,head:['red'],border:['grey'],compact:!1},head:[]},N)}var M=E(30),B=E(17),R=B.repeat,P=B.truncate,F=B.pad;O.prototype.__proto__=Array.prototype,O.prototype.__defineGetter__('width',function(){var N=this.toString().split('\n');return N.length?N[0].length:0}),O.prototype.render,O.prototype.toString=function(){function N(Z,K){var K=K||0;Z.forEach(function(ee,le){$[le+K]=_Mathmax($[le+K]||0,T(ee)||0)})}function T(Z){return'object'==typeof Z&&void 0!=Z.width?Z.width:('object'==typeof Z?B.strlen(Z.text):B.strlen(Z))+(W['padding-left']||0)+(W['padding-right']||0)}function S(Z,K,ee,le){var oe=0,Z=K+R(Z,V-2)+ee;return $.forEach(function(ne,te){te==$.length-1||(oe+=ne+1,Z=Z.substr(0,oe)+le+Z.substr(oe+1))}),D(U.style.border,Z)}function G(){var Z=S(H.top,H['top-left']||H.top,H['top-right']||H.top,H['top-mid']);Z&&(L+=Z+'\n')}function I(Z,K){var ee=[],le=0;if(!Array.isArray(Z)&&'object'==typeof Z){var oe=Object.keys(Z)[0],ne=Z[oe];Array.isArray(ne)?(Z=ne,Z.unshift(oe)):Z=[oe,ne]}Z.forEach(function(ie,de){var pe=ie.toString().split('\n').reduce(function(ge,he){return ge.push(A(he,de)),ge},[]),ce=pe.length;ce>le&&(le=ce),ee.push({contents:pe,height:ce})});var se=Array(le);ee.forEach(function(ie,de){ie.contents.forEach(function(ge,he){se[he]||(se[he]=[]),(K||0===de&&U.style.head)&&(ge=D(U.style.head,ge)),se[he].push(ge)});for(var pe=ie.height,ce=le;pe<ce;pe++)se[pe]||(se[pe]=[]),se[pe].push(A('',de))});var ae='';return se.forEach(function(ie){0<ae.length&&(ae+='\n'+D(U.style.border,H.left)),ae+=ie.join(D(U.style.border,H.middle))+D(U.style.border,H.right)}),D(U.style.border,H.left)+ae}function D(Z,K){return K?(Z.forEach(function(ee){K=M[ee](K)}),K):''}function A(Z,K){var Z=('object'==typeof Z&&Z.text?Z.text:Z)+'',ee=B.strlen(Z),le=$[K]-(W['padding-left']||0)-(W['padding-right']||0),oe=U.colAligns[K]||'left';return R(' ',W['padding-left']||0)+(ee==le?Z:ee<le?F(Z,le+(Z.length-ee),' ','left'==oe?'right':'middle'==oe?'both':'left'):J?P(Z,le,J):Z)+R(' ',W['padding-right']||0)}var L='',U=this.options,W=U.style,Y=U.head,H=U.chars,J=U.truncate,$=U.colWidths||Array(this.head.length),V=0;if(!Y.length&&!this.length)return'';if(!$.length){var X=this.slice(0);Y.length&&(X=X.concat([Y])),X.forEach(function(Z){if('object'==typeof Z&&Z.length)N(Z);else{var K=Object.keys(Z)[0],ee=Z[K];$[0]=_Mathmax($[0]||0,T(K)||0),'object'==typeof ee&&ee.length?N(ee,1):$[1]=_Mathmax($[1]||0,T(ee)||0)}})}V=(1==$.length?$[0]:$.reduce(function(Z,K){return Z+K}))+$.length+1,Y.length&&(G(),L+=I(Y,W.head)+'\n'),this.length&&this.forEach(function(Z,K){if(!Y.length&&0==K)G();else if(!W.compact||K<!!Y.length?1:0==Z.length){var ee=S(H.mid,H['left-mid'],H['right-mid'],H['mid-mid']);ee&&(L+=ee+'\n')}(!Z.hasOwnProperty('length')||Z.length)&&(L+=I(Z)+'\n')});var Q=S(H.bottom,H['bottom-left']||H.bottom,H['bottom-right']||H.bottom,H['bottom-mid']);return Q?L+=Q:L=L.slice(0,-1),L},u.exports=O,u.exports.version='0.0.1'},function(u,C){function E(O,M){for(var B in M)M[B]&&M[B].constructor&&M[B].constructor===Object?(O[B]=O[B]||{},E(O[B],M[B])):O[B]=M[B];return O}C.repeat=function(O,M){return Array(M+1).join(O)},C.pad=function(O,M,B,R){if(M+1>=O.length)switch(R){case'left':O=Array(M+1-O.length).join(B)+O;break;case'both':var P=Math.ceil((padlen=M-O.length)/2),F=padlen-P;O=Array(F+1).join(B)+O+Array(P+1).join(B);break;default:O+=Array(M+1-O.length).join(B);}return O},C.truncate=function(O,M,B){return B=B||'\u2026',O.length>=M?O.substr(0,M-B.length)+B:O};C.options=E,C.strlen=function(O){var M=/\u001b\[(?:\d*;){0,5}\d*m/g,B=(''+O).replace(M,''),R=B.split('\n');return R.reduce(function(P,F){return F.length>P?F.length:P},0)}},function(u,C,E){function O(N){var T=function(S){return void 0===S||null===S?S:(1<arguments.length&&(S=Array.prototype.slice.call(arguments)),N(S))};return'conversion'in N&&(T.conversion=N.conversion),T}function M(N){var T=function(S){if(void 0===S||null===S)return S;1<arguments.length&&(S=Array.prototype.slice.call(arguments));var G=N(S);if('object'==typeof G)for(var I=G.length,D=0;D<I;D++)G[D]=_Mathround(G[D]);return G};return'conversion'in N&&(T.conversion=N.conversion),T}var B=E(6),R=E(19),P={},F=Object.keys(B);F.forEach(function(N){P[N]={},Object.defineProperty(P[N],'channels',{value:B[N].channels}),Object.defineProperty(P[N],'labels',{value:B[N].labels});var T=R(N),S=Object.keys(T);S.forEach(function(G){var I=T[G];P[N][G]=M(I),P[N][G].raw=O(I)})}),u.exports=P},function(u,C,E){function O(){for(var F={},N=Object.keys(P),T=N.length,S=0;S<T;S++)F[N[S]]={distance:-1,parent:null};return F}function M(F){var N=O(),T=[F];for(N[F].distance=0;T.length;)for(var S=T.pop(),G=Object.keys(P[S]),I=G.length,D=0;D<I;D++){var A=G[D],L=N[A];-1===L.distance&&(L.distance=N[S].distance+1,L.parent=S,T.unshift(A))}return N}function B(F,N){return function(T){return N(F(T))}}function R(F,N){for(var T=[N[F].parent,F],S=P[N[F].parent][F],G=N[F].parent;N[G].parent;)T.unshift(N[G].parent),S=B(P[N[G].parent][G],S),G=N[G].parent;return S.conversion=T,S}var P=E(6);u.exports=function(F){for(var N=M(F),T={},S=Object.keys(N),G=S.length,I=0;I<G;I++){var D=S[I],A=N[D];null!==A.parent&&(T[D]=R(D,N))}return T}},function(u){'use strict';u.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(u){function E(O){throw new Error('Cannot find module \''+O+'\'.')}E.keys=function(){return[]},E.resolve=E,u.exports=E,E.id=21},function(u){u.exports=function(O){var B='';O=O||'Run the trap, drop the bass',O=O.split('');var R={a:['@','\u0104','\u023A','\u0245','\u0394','\u039B','\u0414'],b:['\xDF','\u0181','\u0243','\u026E','\u03B2','\u0E3F'],c:['\xA9','\u023B','\u03FE'],d:['\xD0','\u018A','\u0500','\u0501','\u0502','\u0503'],e:['\xCB','\u0115','\u018E','\u0258','\u03A3','\u03BE','\u04BC','\u0A6C'],f:['\u04FA'],g:['\u0262'],h:['\u0126','\u0195','\u04A2','\u04BA','\u04C7','\u050A'],i:['\u0F0F'],j:['\u0134'],k:['\u0138','\u04A0','\u04C3','\u051E'],l:['\u0139'],m:['\u028D','\u04CD','\u04CE','\u0520','\u0521','\u0D69'],n:['\xD1','\u014B','\u019D','\u0376','\u03A0','\u048A'],o:['\xD8','\xF5','\xF8','\u01FE','\u0298','\u047A','\u05DD','\u06DD','\u0E4F'],p:['\u01F7','\u048E'],q:['\u09CD'],r:['\xAE','\u01A6','\u0210','\u024C','\u0280','\u042F'],s:['\xA7','\u03DE','\u03DF','\u03E8'],t:['\u0141','\u0166','\u0373'],u:['\u01B1','\u054D'],v:['\u05D8'],w:['\u0428','\u0460','\u047C','\u0D70'],x:['\u04B2','\u04FE','\u04FC','\u04FD'],y:['\xA5','\u04B0','\u04CB'],z:['\u01B5','\u0240']};return O.forEach(function(P){P=P.toLowerCase();var F=R[P]||[' '],N=_Mathfloor(Math.random()*F.length);B+='undefined'==typeof R[P]?P:R[P][N]}),B}},function(u){u.exports=function(O){function B(T){var S=_Mathfloor(Math.random()*T);return S}function R(T){var S=!1;return N.filter(function(G){S=G===T}),S}O=O||' he is here ';var F={up:['\u030D','\u030E','\u0304','\u0305','\u033F','\u0311','\u0306','\u0310','\u0352','\u0357','\u0351','\u0307','\u0308','\u030A','\u0342','\u0313','\u0308','\u034A','\u034B','\u034C','\u0303','\u0302','\u030C','\u0350','\u0300','\u0301','\u030B','\u030F','\u0312','\u0313','\u0314','\u033D','\u0309','\u0363','\u0364','\u0365','\u0366','\u0367','\u0368','\u0369','\u036A','\u036B','\u036C','\u036D','\u036E','\u036F','\u033E','\u035B','\u0346','\u031A'],down:['\u0316','\u0317','\u0318','\u0319','\u031C','\u031D','\u031E','\u031F','\u0320','\u0324','\u0325','\u0326','\u0329','\u032A','\u032B','\u032C','\u032D','\u032E','\u032F','\u0330','\u0331','\u0332','\u0333','\u0339','\u033A','\u033B','\u033C','\u0345','\u0347','\u0348','\u0349','\u034D','\u034E','\u0353','\u0354','\u0355','\u0356','\u0359','\u035A','\u0323'],mid:['\u0315','\u031B','\u0300','\u0301','\u0358','\u0321','\u0322','\u0327','\u0328','\u0334','\u0335','\u0336','\u035C','\u035D','\u035E','\u035F','\u0360','\u0362','\u0338','\u0337','\u0361',' \u0489']},N=[].concat(F.up,F.down,F.mid),E={};return function(T,S){var I,D,G='';for(D in S=S||{},S.up=S.up||!0,S.mid=S.mid||!0,S.down=S.down||!0,S.size=S.size||'maxi',T=T.split(''),T)if(!R(D)){switch(G+=T[D],I={up:0,down:0,mid:0},S.size){case'mini':I.up=B(8),I.min=B(2),I.down=B(8);break;case'maxi':I.up=B(16)+3,I.min=B(4)+1,I.down=B(64)+3;break;default:I.up=B(8)+1,I.mid=B(6)/2,I.down=B(8)+1;}var A=['up','mid','down'];for(var L in A)for(var U=A[L],W=0;W<=I[U];W++)S[U]&&(G+=F[U][B(F[U].length)])}return G}(O)}},function(u,C,E){var O=E(1);u.exports=function(){return function(M,B){if(' '===M)return M;switch(B%3){case 0:return O.red(M);case 1:return O.white(M);case 2:return O.blue(M);}}}()},function(u,C,E){var O=E(1);u.exports=function(){var M=['red','yellow','green','blue','magenta'];return function(B,R){return' '===B?B:O[M[R++%M.length]](B)}}()},function(u,C,E){var O=E(1);u.exports=function(){var M=['underline','inverse','grey','yellow','red','green','blue','white','cyan','magenta'];return function(B){return' '===B?B:O[M[_Mathround(Math.random()*(M.length-1))]](B)}}()},function(u,C,E){var O=E(1);u.exports=function(M,B){return 0==B%2?M:O.inverse(M)}},function(u){var E={};u.exports=E;var O={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(O).forEach(function(M){var B=O[M],R=E[M]=[];R.open='\x1B['+B[0]+'m',R.close='\x1B['+B[1]+'m'})},function(u,C,E){(function(O){var M=O.argv;u.exports=function(){return-1!==M.indexOf('--no-color')||-1!==M.indexOf('--color=false')?!1:-1!==M.indexOf('--color')||-1!==M.indexOf('--color=true')||-1!==M.indexOf('--color=always')||(O.stdout&&!O.stdout.isTTY?!1:!('win32'!==O.platform)||!!('COLORTERM'in O.env)||'dumb'!==O.env.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(O.env.TERM))}()}).call(C,E(0))},function(u,C,E){var O=E(1);u.exports=O},function(u,C,E){'use strict';var O=E(4),M=new RegExp(O().source);u.exports=M.test.bind(M)},function(u){'use strict';function O(){var N=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'Log',S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:'#000000',G=3<arguments.length&&arguments[3]!==void 0?arguments[3]:'#FFFFFF';console.log('%c'+T,'color:'+S+';background-color:'+G+';padding:2px 25px;'),'string'==typeof N?console.log('%c'+N,'color:'+G+';'):console.log(N),console.log('%cEnd of '+T,'color:'+S+';background-color:'+G+';padding:2px 25px;')}u.exports={wrap:function(N){console.log('-----------------'),console.log(N),console.log('-----------------')},error:function(){var N=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'Error';O(N,T,'#FFFFFF','#FF4C4C')},log:function(){var N=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'Log';O(N,T,'#FFFFFF','#4C4C4C')},warning:function(){var N=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'Warning';O(N,T,'#FFF','#FFC966')},info:function(){var N=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'Info';O(N,T,'#FFF','#B1CCD5')}}},function(u,C,E){'use strict';var O=E(4)();u.exports=function(M){return'string'==typeof M?M.replace(O,''):M}},function(u){'use strict';u.exports={stdout:!1,stderr:!1}},function(u){u.exports='function'==typeof Object.create?function(O,M){O.super_=M,O.prototype=Object.create(M.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}})}:function(O,M){O.super_=M;var B=function(){};B.prototype=M.prototype,O.prototype=new B,O.prototype.constructor=O}},function(u){u.exports=function(O){return O&&'object'==typeof O&&'function'==typeof O.copy&&'function'==typeof O.fill&&'function'==typeof O.readUInt8}},function(u,C,E){(function(O,M){function B(pe,ce){var ge={seen:[],stylize:P};return 3<=arguments.length&&(ge.depth=arguments[2]),4<=arguments.length&&(ge.colors=arguments[3]),L(ce)?ge.showHidden=ce:ce&&C._extend(ge,ce),$(ge.showHidden)&&(ge.showHidden=!1),$(ge.depth)&&(ge.depth=2),$(ge.colors)&&(ge.colors=!1),$(ge.customInspect)&&(ge.customInspect=!0),ge.colors&&(ge.stylize=R),N(ge,pe,ge.depth)}function R(pe,ce){var ge=B.styles[ce];return ge?'\x1B['+B.colors[ge][0]+'m'+pe+'\x1B['+B.colors[ge][1]+'m':pe}function P(pe){return pe}function F(pe){var ce={};return pe.forEach(function(ge){ce[ge]=!0}),ce}function N(pe,ce,ge){if(pe.customInspect&&ce&&K(ce.inspect)&&ce.inspect!==C.inspect&&!(ce.constructor&&ce.constructor.prototype===ce)){var he=ce.inspect(ge,pe);return H(he)||(he=N(pe,he,ge)),he}var ue=T(pe,ce);if(ue)return ue;var be=Object.keys(ce),ye=F(be);if(pe.showHidden&&(be=Object.getOwnPropertyNames(ce)),Z(ce)&&(0<=be.indexOf('message')||0<=be.indexOf('description')))return S(ce);if(0===be.length){if(K(ce)){var me=ce.name?': '+ce.name:'';return pe.stylize('[Function'+me+']','special')}if(V(ce))return pe.stylize(RegExp.prototype.toString.call(ce),'regexp');if(Q(ce))return pe.stylize(Date.prototype.toString.call(ce),'date');if(Z(ce))return S(ce)}var fe='',ke=!1,we=['{','}'];if(A(ce)&&(ke=!0,we=['[',']']),K(ce)){var xe=ce.name?': '+ce.name:'';fe=' [Function'+xe+']'}if(V(ce)&&(fe=' '+RegExp.prototype.toString.call(ce)),Q(ce)&&(fe=' '+Date.prototype.toUTCString.call(ce)),Z(ce)&&(fe=' '+S(ce)),0===be.length&&(!ke||0==ce.length))return we[0]+fe+we[1];if(0>ge)return V(ce)?pe.stylize(RegExp.prototype.toString.call(ce),'regexp'):pe.stylize('[Object]','special');pe.seen.push(ce);var ve;return ve=ke?G(pe,ce,ge,ye,be):be.map(function(_e){return I(pe,ce,ge,ye,_e,ke)}),pe.seen.pop(),D(ve,fe,we)}function T(pe,ce){if($(ce))return pe.stylize('undefined','undefined');if(H(ce)){var ge='\''+JSON.stringify(ce).replace(/^"|"$/g,'').replace(/'/g,'\\\'').replace(/\\"/g,'"')+'\'';return pe.stylize(ge,'string')}return Y(ce)?pe.stylize(''+ce,'number'):L(ce)?pe.stylize(''+ce,'boolean'):U(ce)?pe.stylize('null','null'):void 0}function S(pe){return'['+Error.prototype.toString.call(pe)+']'}function G(pe,ce,ge,he,ue){for(var be=[],ye=0,me=ce.length;ye<me;++ye)te(ce,ye+'')?be.push(I(pe,ce,ge,he,ye+'',!0)):be.push('');return ue.forEach(function(fe){fe.match(/^\d+$/)||be.push(I(pe,ce,ge,he,fe,!0))}),be}function I(pe,ce,ge,he,ue,be){var ye,me,fe;if(fe=Object.getOwnPropertyDescriptor(ce,ue)||{value:ce[ue]},fe.get?fe.set?me=pe.stylize('[Getter/Setter]','special'):me=pe.stylize('[Getter]','special'):fe.set&&(me=pe.stylize('[Setter]','special')),te(he,ue)||(ye='['+ue+']'),me||(0>pe.seen.indexOf(fe.value)?(me=U(ge)?N(pe,fe.value,null):N(pe,fe.value,ge-1),-1<me.indexOf('\n')&&(be?me=me.split('\n').map(function(ke){return' '+ke}).join('\n').substr(2):me='\n'+me.split('\n').map(function(ke){return' '+ke}).join('\n'))):me=pe.stylize('[Circular]','special')),$(ye)){if(be&&ue.match(/^\d+$/))return me;ye=JSON.stringify(''+ue),ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ye=ye.substr(1,ye.length-2),ye=pe.stylize(ye,'name')):(ye=ye.replace(/'/g,'\\\'').replace(/\\"/g,'"').replace(/(^"|"$)/g,'\''),ye=pe.stylize(ye,'string'))}return ye+': '+me}function D(pe,ce,ge){var he=0,ue=pe.reduce(function(be,ye){return he++,0<=ye.indexOf('\n')&&he++,be+ye.replace(/\u001b\[\d\d?m/g,'').length+1},0);return 60<ue?ge[0]+(''===ce?'':ce+'\n ')+' '+pe.join(',\n ')+' '+ge[1]:ge[0]+ce+' '+pe.join(', ')+' '+ge[1]}function A(pe){return Array.isArray(pe)}f