webpack
Version:
Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jade, coffee, css, less, ... and your custom stuff.
128 lines • 25.4 kB
JavaScript
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={},n={0:1};return e.e=function(r,o){if(1===n[r])o.call(null,e);else if(n[r])n[r].push(o);else{n[r]=[o];var i=__dirname+"/"+r+".bundle.js";require("fs").readFile(i,"utf-8",function(r,o){if(r){if(e.onError)return e.onError(r);throw r}var s={};require("vm").runInThisContext("(function(exports, require, __dirname, __filename) {"+o+"\n})",i)(s,require,require("path").dirname(i),i);var a=s.modules,u=s.ids;for(var c in a)t[c]=a[c];for(var l=[],f=0;f<u.length;f++)Array.isArray(n[u[f]])&&(l=l.concat(n[u[f]])),n[u[f]]=1;for(f=0;f<l.length;f++)l[f].call(null,e)})}},e.m=t,e.c=r,e.p="",e(0)}([/*!*****************************************!*\
!*** ./runtime/module-caching/index.js ***!
\*****************************************/
function(t,e,r){r(/*! should */4);it("should cache modules correctly",function(t){delete r.c[1],r(/*! ./singluar.js */1).value.should.be.eql(1),r(/*! ./singluar.js */1).value.should.be.eql(1),r(/*! ./singluar.js */1).value=2,r(/*! ./singluar.js */1).value.should.be.eql(2),r.e(1,function(){r(/*! ./singluar.js */1).value.should.be.eql(2),t()})}),it("should be able the remove modules from cache with require.cache and require.resolve",function(){var t=r(/*! ./singluar2 */2),e=2,n=2;e.should.have.type("number"),n.should.be.eql(e),r.c.should.have.type("object"),r.c[e].should.have.type("object"),delete r.c[e],r(/*! ./singluar2 */2).should.be.not.equal(t)})},/*!********************************************!*\
!*** ./runtime/module-caching/singluar.js ***!
\********************************************/
function(t){t.exports.value=1},/*!*********************************************!*\
!*** ./runtime/module-caching/singluar2.js ***!
\*********************************************/
function(){},,/*!****************************************!*\
!*** (webpack)/~/should/lib/should.js ***!
\****************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ./util */5),o=n.AssertionError,i=n.inspect,s=function(t){return new a(n.isWrapperType(t)?t.valueOf():t)},a=s.Assertion=function(t){this.obj=t};a.add=function(t,e,r){var n={enumerable:!0};n[r?"get":"value"]=function(){var t=new a(this.obj);t.copy=t.copyIfMissing,t.anyOne=this.anyOne;try{e.apply(t,arguments)}catch(r){if(this.copy(t),r instanceof s.AssertionError){if(this.negate)return this.obj=t.obj,this.negate=!1,this;this.assert(!1)}throw r}return this.copy(t),this.negate&&this.assert(!1),this.obj=t.obj,this.negate=!1,this},Object.defineProperty(a.prototype,t,n)},a.alias=function(t,e){var r=Object.getOwnPropertyDescriptor(a.prototype,t);if(!r)throw new Error("Alias "+t+" -> "+e+" could not be created as "+t+" not defined");Object.defineProperty(a.prototype,e,r)},s.AssertionError=o,s.format=function(t){return n.isDate(t)&&"function"!=typeof t.inspect?t.toISOString():i(t,{depth:null})},s.use=function(t){return t(this,a),this},e=t.exports=s,Object.defineProperty(Object.prototype,"should",{set:function(){},get:function(){return s(this)},configurable:!0}),a.prototype={constructor:a,assert:function(t){if(t)return this;var e=this.params,r=e.message,n=!1;r||(r=this.getMessage(),n=!0);var i=new o({message:r,actual:this.obj,expected:e.expected,stackStartFunction:this.assert});throw i.showDiff=e.showDiff,i.operator=e.operator,i.generatedMessage=n,i},getMessage:function(){return"expected "+("obj"in this.params?this.params.obj:s.format(this.obj))+(this.negate?" not ":" ")+this.params.operator+("expected"in this.params?" "+s.format(this.params.expected):"")},copy:function(t){this.params=t.params},copyIfMissing:function(t){this.params||(this.params=t.params)},get not(){return this.negate=!this.negate,this},get any(){return this.anyOne=!0,this}},s.use(r(/*! ./ext/assert */6)).use(r(/*! ./ext/chain */7)).use(r(/*! ./ext/bool */8)).use(r(/*! ./ext/number */9)).use(r(/*! ./ext/eql */10)).use(r(/*! ./ext/type */11)).use(r(/*! ./ext/string */12)).use(r(/*! ./ext/property */13)).use(r(/*! ./ext/error */14)).use(r(/*! ./ext/match */15)).use(r(/*! ./ext/contain */16))},/*!**************************************!*\
!*** (webpack)/~/should/lib/util.js ***!
\**************************************/
function(t,e,r){function n(t){return l(t)&&(t.__ArrayLike||Array.isArray(t))}function o(t){return"number"==typeof t||t instanceof Number}function i(t){return"string"==typeof t||t instanceof String}function s(t){return"boolean"==typeof t||t instanceof Boolean}function a(t){return"undefined"!=typeof Buffer&&t instanceof Buffer}function u(t){return l(t)&&"[object Date]"===c(t)}function c(t){return Object.prototype.toString.call(t)}function l(t){return"object"==typeof t&&null!==t}function f(t){return l(t)&&"[object RegExp]"===c(t)}function p(t){return null==t}function h(t){return null===t}function d(t){return"[object Arguments]"===c(t)}function m(t){return l(t)&&"[object Error]"===c(t)||t instanceof Error}function b(t){return void 0===t}/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
e.isWrapperType=function(t){return o(t)||i(t)||s(t)},e.merge=function(t,e){if(t&&e)for(var r in e)t[r]=e[r];return t},e.isArray=n,e.isNumber=o,e.isBoolean=s,e.isString=i,e.isBuffer=a,e.isDate=u,e.isObject=l,e.isRegExp=f,e.isNullOrUndefined=p,e.isNull=h,e.isArguments=d,e.isFunction=function(t){return"function"==typeof t||t instanceof Function},e.isError=m,e.isUndefined=b,e.inspect=r(/*! ./inspect */18).inspect,e.AssertionError=r(/*! assert */17).AssertionError;var g=Object.prototype.hasOwnProperty;e.forOwn=function(t,e,r){for(var n in t)g.call(t,n)&&e.call(r,t[n],n)};var y=/^\s*function\s*(\S*)\s*\(/;e.functionName=function(t){if(t.name)return t.name;var e=t.toString().match(y)[1];return e},e.formatProp=function(t){return t=JSON.stringify(""+t),t=t.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?t.substr(1,t.length-2):t.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'").replace(/\\\\/g,"\\")}},/*!********************************************!*\
!*** (webpack)/~/should/lib/ext/assert.js ***!
\********************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../util */5),o=r(/*! assert */17),i=o.AssertionError;t.exports=function(t){var e=t.format;n.merge(t,o),t.exist=t.exists=function(r,n){if(null==r)throw new i({message:n||"expected "+e(r)+" to exist",stackStartFunction:t.exist})},t.not={},t.not.exist=t.not.exists=function(r,n){if(null!=r)throw new i({message:n||"expected "+e(r)+" to not exist",stackStartFunction:t.not.exist})}}},/*!*******************************************!*\
!*** (webpack)/~/should/lib/ext/chain.js ***!
\*******************************************/
function(t){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
t.exports=function(t,e){function r(t){Object.defineProperty(e.prototype,t,{get:function(){return this},enumerable:!0})}["an","of","a","and","be","have","with","is","which","the"].forEach(r)}},/*!******************************************!*\
!*** (webpack)/~/should/lib/ext/bool.js ***!
\******************************************/
function(t){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
t.exports=function(t,e){e.add("true",function(){this.is.exactly(!0)},!0),e.alias("true","True"),e.add("false",function(){this.is.exactly(!1)},!0),e.alias("false","False"),e.add("ok",function(){this.params={operator:"to be truthy"},this.assert(this.obj)},!0)}},/*!********************************************!*\
!*** (webpack)/~/should/lib/ext/number.js ***!
\********************************************/
function(t){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
t.exports=function(t,e){e.add("NaN",function(){this.params={operator:"to be NaN"},this.assert(this.obj!==this.obj)},!0),e.add("Infinity",function(){this.params={operator:"to be Infinity"},this.is.a.Number.and.not.a.NaN.and.assert(!isFinite(this.obj))},!0),e.add("within",function(t,e,r){this.params={operator:"to be within "+t+".."+e,message:r},this.assert(this.obj>=t&&this.obj<=e)}),e.add("approximately",function(t,e,r){this.params={operator:"to be approximately "+t+" ±"+e,message:r},this.assert(Math.abs(this.obj-t)<=e)}),e.add("above",function(t,e){this.params={operator:"to be above "+t,message:e},this.assert(this.obj>t)}),e.add("below",function(t,e){this.params={operator:"to be below "+t,message:e},this.assert(this.obj<t)}),e.alias("above","greaterThan"),e.alias("below","lessThan")}},/*!*****************************************!*\
!*** (webpack)/~/should/lib/ext/eql.js ***!
\*****************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../eql */19);t.exports=function(t,e){e.add("eql",function(t,e){this.params={operator:"to equal",expected:t,showDiff:!0,message:e},this.assert(n(t,this.obj))}),e.add("equal",function(t,e){this.params={operator:"to be",expected:t,showDiff:!0,message:e},this.assert(t===this.obj)}),e.alias("equal","exactly")}},/*!******************************************!*\
!*** (webpack)/~/should/lib/ext/type.js ***!
\******************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../util */5);t.exports=function(t,e){e.add("Number",function(){this.params={operator:"to be a number"},this.assert(n.isNumber(this.obj))},!0),e.add("arguments",function(){this.params={operator:"to be arguments"},this.assert(n.isArguments(this.obj))},!0),e.add("type",function(t,e){this.params={operator:"to have type "+t,message:e},(typeof this.obj).should.be.exactly(t,e)}),e.add("instanceof",function(t,e){this.params={operator:"to be an instance of "+n.functionName(t),message:e},this.assert(Object(this.obj)instanceof t)}),e.add("Function",function(){this.params={operator:"to be a function"},this.assert(n.isFunction(this.obj))},!0),e.add("Object",function(){this.params={operator:"to be an object"},this.assert(n.isObject(this.obj))},!0),e.add("String",function(){this.params={operator:"to be a string"},this.assert(n.isString(this.obj))},!0),e.add("Array",function(){this.params={operator:"to be an array"},this.assert(n.isArray(this.obj))},!0),e.add("Boolean",function(){this.params={operator:"to be a boolean"},this.assert(n.isBoolean(this.obj))},!0),e.add("Error",function(){this.params={operator:"to be an error"},this.assert(n.isError(this.obj))},!0),e.add("null",function(){this.params={operator:"to be null"},this.assert(null===this.obj)},!0),e.alias("null","Null"),e.alias("instanceof","instanceOf")}},/*!********************************************!*\
!*** (webpack)/~/should/lib/ext/string.js ***!
\********************************************/
function(t){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
t.exports=function(t,e){e.add("startWith",function(e,r){this.params={operator:"to start with "+t.format(e),message:r},this.assert(0===this.obj.indexOf(e))}),e.add("endWith",function(e,r){this.params={operator:"to end with "+t.format(e),message:r},this.assert(this.obj.indexOf(e,this.obj.length-e.length)>=0)})}},/*!**********************************************!*\
!*** (webpack)/~/should/lib/ext/property.js ***!
\**********************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../util */5),o=r(/*! ../eql */19),i=Array.prototype.slice;t.exports=function(t,e){var r=t.format;e.add("enumerable",function(t,e){t=String(t),this.params={operator:"to have enumerable property "+n.formatProp(t)},this.assert(this.obj.propertyIsEnumerable(t)),arguments.length>1&&(this.params.operator+=" equal to "+r(e),this.assert(o(e,this.obj[t])))}),e.add("property",function(t,e){if(t=String(t),arguments.length>1){var r={};r[t]=e,this.have.properties(r)}else this.have.properties(t);this.obj=this.obj[t]}),e.add("properties",function(t){var e={};arguments.length>1?t=i.call(arguments):n.isArray(t)||(n.isString(t)?t=[t]:(e=t,t=Object.keys(t)));var s=Object(this.obj),a=[];t.forEach(function(t){t in s||a.push(n.formatProp(t))});var u=a;0===u.length?u=t.map(n.formatProp):this.anyOne&&(u=t.filter(function(t){return a.indexOf(n.formatProp(t))<0}).map(n.formatProp));var c=(1===u.length?"to have property ":"to have "+(this.anyOne?"any of ":"")+"properties ")+u.join(", ");this.params={operator:c},this.assert(0===a.length||this.anyOne&&a.length!=t.length);var l=Object.keys(e);if(l.length){var f=[];u=[],l.forEach(function(t){var i=e[t];o(s[t],i)?u.push(n.formatProp(t)+" of "+r(i)):f.push(n.formatProp(t)+" of "+r(i)+" (got "+r(s[t])+")")}),(0!==f.length&&!this.anyOne||this.anyOne&&0===u.length)&&(u=f),c=(1===u.length?"to have property ":"to have "+(this.anyOne?"any of ":"")+"properties ")+u.join(", "),this.params={operator:c},this.assert(0===f.length||this.anyOne&&f.length!=l.length)}}),e.add("length",function(t,e){this.have.property("length",t,e)}),e.alias("length","lengthOf");var s=Object.prototype.hasOwnProperty;e.add("ownProperty",function(t,e){t=String(t),this.params={operator:"to have own property "+n.formatProp(t),message:e},this.assert(s.call(this.obj,t)),this.obj=this.obj[t]}),e.alias("ownProperty","hasOwnProperty"),e.add("empty",function(){if(this.params={operator:"to be empty"},n.isString(this.obj)||n.isArray(this.obj)||n.isArguments(this.obj))this.have.property("length",0);else{var t=Object(this.obj);for(var e in t)this.have.not.ownProperty(e)}},!0),e.add("keys",function(t){arguments.length>1?t=i.call(arguments):1===arguments.length&&n.isString(t)?t=[t]:0===arguments.length&&(t=[]),t=t.map(String);var e=Object(this.obj),r=[];t.forEach(function(t){s.call(this.obj,t)||r.push(n.formatProp(t))},this);var o=[];Object.keys(e).forEach(function(e){t.indexOf(e)<0&&o.push(n.formatProp(e))});var a=0===t.length?"to be empty":"to have "+(1===t.length?"key ":"keys ");this.params={operator:a+t.map(n.formatProp).join(", ")},r.length>0&&(this.params.operator+="\n missing keys: "+r.join(", ")),o.length>0&&(this.params.operator+="\n extra keys: "+o.join(", ")),this.assert(0===r.length&&0===o.length)}),e.alias("keys","key"),e.add("propertyByPath",function(e){arguments.length>1?e=i.call(arguments):1===arguments.length&&n.isString(e)?e=[e]:0===arguments.length&&(e=[]);var r=e.map(n.formatProp);e=e.map(String);for(var o,s=t(Object(this.obj)),a=[];o=e.shift();)this.params={operator:"to have property by path "+r.join(", ")+" - failed on "+n.formatProp(o)},s=s.have.property(o),a.push(o);this.params={operator:"to have property by path "+r.join(", ")},this.obj=s.obj})}},/*!*******************************************!*\
!*** (webpack)/~/should/lib/ext/error.js ***!
\*******************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../util */5);t.exports=function(t,e){var r=t.format;e.add("throw",function(e,o){var i=this.obj,s={},a="",u=!1,c=!0;try{i()}catch(l){u=!0,s=l}if(u)if(e){if("string"==typeof e)c=e==s.message;else if(e instanceof RegExp)c=e.test(s.message);else if("function"==typeof e)c=s instanceof e;else if(n.isObject(e))try{s.should.match(e)}catch(l){if(!(l instanceof t.AssertionError))throw l;a=": "+l.message,c=!1}if(c){if("function"==typeof e&&o)try{s.should.match(o)}catch(l){if(!(l instanceof t.AssertionError))throw l;a=": "+l.message,c=!1}}else"string"==typeof e||e instanceof RegExp?a=" with a message matching "+r(e)+", but got '"+s.message+"'":"function"==typeof e&&(a=" of type "+n.functionName(e)+", but got "+n.functionName(s.constructor))}else a=" (got "+r(s)+")";this.params={operator:"to throw exception"+a},this.assert(u),this.assert(c)}),e.alias("throw","throwError")}},/*!*******************************************!*\
!*** (webpack)/~/should/lib/ext/match.js ***!
\*******************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../util */5),o=r(/*! ../eql */19);t.exports=function(t,e){var r=t.format;e.add("match",function(i,s){if(this.params={operator:"to match "+r(i),message:s},!o(this.obj,i))if(n.isRegExp(i)){if(n.isString(this.obj))this.assert(i.exec(this.obj));else if(n.isArray(this.obj))this.obj.forEach(function(t){this.assert(i.exec(t))},this);else if(n.isObject(this.obj)){var a=[],u=[];n.forOwn(this.obj,function(t,e){i.exec(t)?u.push(n.formatProp(e)):a.push(n.formatProp(e)+" ("+r(t)+")")},this),a.length&&(this.params.operator+="\n not matched properties: "+a.join(", ")),u.length&&(this.params.operator+="\n matched properties: "+u.join(", ")),this.assert(0==a.length)}}else if(n.isFunction(i)){var c;try{c=i(this.obj)}catch(l){throw l instanceof t.AssertionError&&(this.params.operator+="\n "+l.message),l}c instanceof e&&(this.params.operator+="\n "+c.getMessage()),n.isBoolean(c)&&this.assert(c)}else n.isObject(i)?(a=[],u=[],n.forOwn(i,function(e,o){try{t(this.obj[o]).match(e),u.push(n.formatProp(o))}catch(i){if(!(i instanceof t.AssertionError))throw i;a.push(n.formatProp(o)+" ("+r(this.obj[o])+")")}},this),a.length&&(this.params.operator+="\n not matched properties: "+a.join(", ")),u.length&&(this.params.operator+="\n matched properties: "+u.join(", ")),this.assert(0==a.length)):this.assert(!1)}),e.add("matchEach",function(t,e){this.params={operator:"to match each "+r(t),message:e};var i=t;n.isRegExp(t)?i=function(e){return!!t.exec(e)}:n.isFunction(t)||(i=function(e){return o(e,t)}),n.forOwn(this.obj,function(t,e){var r=i(t,e);n.isBoolean(r)&&this.assert(r)},this)})}},/*!*********************************************!*\
!*** (webpack)/~/should/lib/ext/contain.js ***!
\*********************************************/
function(t,e,r){/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var n=r(/*! ../util */5),o=r(/*! ../eql */19);t.exports=function(t,e){var r=t.format;e.add("containEql",function(t){this.params={operator:"to contain "+r(t)};var e=this.obj;n.isArray(e)?this.assert(e.some(function(e){return o(e,t)})):n.isString(e)?this.assert(e.indexOf(String(t))>=0):n.isObject(e)?n.forOwn(t,function(t,r){e.should.have.property(r,t)}):this.assert(!1)}),e.add("containDeepOrdered",function(e){this.params={operator:"to contain "+r(e)};var o=this.obj;if(n.isArray(o))if(n.isArray(e)){var i=0;o.forEach(function(r){try{t(r).not.be.Null.and.containDeep(e[i]),i++}catch(n){if(n instanceof t.AssertionError)return;throw n}},this),this.assert(i==e.length)}else this.assert(!1);else n.isString(o)?this.assert(o.indexOf(String(e))>=0):n.isObject(o)?n.isObject(e)?n.forOwn(e,function(e,r){t(o[r]).not.be.Null.and.containDeep(e)}):this.assert(!1):this.eql(e)}),e.add("containDeep",function(e){this.params={operator:"to contain "+r(e)};var o=this.obj;if(n.isArray(o))if(n.isArray(e)){var i={};e.forEach(function(e){this.assert(o.some(function(r,n){if(n in i)return!1;try{return t(r).not.be.Null.and.containDeep(e),i[n]=!0,!0}catch(o){if(o instanceof t.AssertionError)return!1;throw o}}))},this)}else this.assert(!1);else n.isString(o)?this.assert(o.indexOf(String(e))>=0):n.isObject(o)?n.isObject(e)?n.forOwn(e,function(e,r){t(o[r]).not.be.Null.and.containDeep(e)}):this.assert(!1):this.eql(e)})}},/*!*************************!*\
!*** external "assert" ***!
\*************************/
function(t){t.exports=require("assert")},/*!*****************************************!*\
!*** (webpack)/~/should/lib/inspect.js ***!
\*****************************************/
function(t,e,r){function n(t,r){var n={seen:[],stylize:i};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),b(r)?n.showHidden=r:r&&e._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),a(n,t,n.depth)}function o(t,e){var r=n.styles[e];return r?"["+n.colors[r][0]+"m"+t+"["+n.colors[r][1]+"m":t}function i(t){return t}function s(t){var e={};return t.forEach(function(t){e[t]=!0}),e}function a(t,r,n){if(t.customInspect&&r&&x(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return v(o)||(o=a(t,o,n)),o}var i=u(t,r);if(i)return i;var d=Object.keys(r),m=s(d);t.showHidden&&(d=Object.getOwnPropertyNames(r));var g,y=r;try{q(r)||(y=r.valueOf())}catch(w){}if(v(y)&&(d=d.filter(function(t){return!(t>=0&&t<y.length)})),E(r))return l(r);if(0===d.length){if(x(r)){var k=r.name?": "+r.name:"";return t.stylize("[Function"+k+"]","special")}if(O(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(q(r))return t.stylize(Date.prototype.toString.call(r),"date");if(v(y))return g=c(t,y),t.stylize("[String: "+g+"]","string");if(j(y))return g=c(t,y),t.stylize("[Number: "+g+"]","number");if(b(y))return g=c(t,y),t.stylize("[Boolean: "+g+"]","boolean")}var S="",N=!1,P=["{","}"];if(A(r)&&(N=!0,P=["[","]"]),x(r)){var z=r.name?": "+r.name:"";S=" [Function"+z+"]"}if(O(r)&&(S=" "+RegExp.prototype.toString.call(r)),q(r)&&(S=" "+Date.prototype.toUTCString.call(r)),E(r)&&(S=" "+l(r)),v(y)&&(g=c(t,y),S=" [String: "+g+"]"),j(y)&&(g=c(t,y),S=" [Number: "+g+"]"),b(y)&&(g=c(t,y),S=" [Boolean: "+g+"]"),0===d.length&&(!N||0===r.length))return P[0]+S+P[1];if(0>n)return O(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special");t.seen.push(r);var _;return _=N?f(t,r,n,m,d):d.map(function(e){return p(t,r,n,m,e,N)}),t.seen.pop(),h(_,S,P)}function u(t,e){if(y(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return j(e)?0===e&&0>1/e?t.stylize("-0","number"):t.stylize(""+e,"number"):b(e)?t.stylize(""+e,"boolean"):w(e)?t.stylize("null","null"):void 0}function c(t,e){var r=t.stylize;t.stylize=i;var n=u(t,e);return t.stylize=r,n}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,r,n,o){for(var i=[],s=0,a=e.length;a>s;++s)i.push(d(e,String(s))?p(t,e,r,n,String(s),!0):"");return o.forEach(function(o){o.match(/^\d+$/)||i.push(p(t,e,r,n,o,!0))}),i}function p(t,e,r,n,o,i){var s,u,c;if(c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]},c.get?u=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(u=t.stylize("[Setter]","special")),d(n,o)||(s="["+o+"]"),u||(t.seen.indexOf(c.value)<0?(u=w(r)?a(t,c.value,null):a(t,c.value,r-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n"))):u=t.stylize("[Circular]","special")),y(s)){if(i&&o.match(/^\d+$/))return u;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'").replace(/\\\\/g,"\\"),s=t.stylize(s,"string"))}return s+": "+u}function h(t,e,r){var n=t.reduce(function(t,e){return t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function d(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var m=r(/*! ./util */5),b=m.isBoolean,g=m.isObject,y=m.isUndefined,x=m.isFunction,v=m.isString,j=m.isNumber,w=m.isNull,O=m.isRegExp,q=m.isDate,E=m.isError,A=m.isArray;e.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},e._extend=function(t,e){if(!e||!g(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}},/*!*************************************!*\
!*** (webpack)/~/should/lib/eql.js ***!
\*************************************/
function(t,e,r){function n(t,e){if(t===e)return!0;if(i.isBuffer(t)&&i.isBuffer(e)){if(t.length!=e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}return i.isDate(t)&&i.isDate(e)?t.getTime()===e.getTime():i.isRegExp(t)&&i.isRegExp(e)?t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase:i.isObject(t)||i.isObject(e)?o(t,e):t==e}function o(t,e){if(i.isNullOrUndefined(t)||i.isNullOrUndefined(e))return!1;if(t.prototype!==e.prototype)return!1;if(i.isArguments(t))return i.isArguments(e)?(t=s.call(t),e=s.call(e),n(t,e)):!1;try{var r,o,a=Object.keys(t),u=Object.keys(e)}catch(c){return!1}if(a.length!=u.length)return!1;for(a.sort(),u.sort(),o=a.length-1;o>=0;o--)if(a[o]!=u[o])return!1;for(o=a.length-1;o>=0;o--)if(r=a[o],!n(t[r],e[r]))return!1;return!0}/*!
* Should
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var i=r(/*! ./util */5);t.exports=n;var s=Array.prototype.slice}]);