(function(){var has=Object.prototype.hasOwnProperty;function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module.exports){module.exports={};module.client=module.component=true;module.call(this,module.exports,require.relative(resolved),module)}return module.exports}require.modules={};require.aliases={};require.resolve=function(path){if(path.charAt(0)==="/")path=path.slice(1);var index=path+"/index.js";var paths=[path,path+".js",path+".json",path+"/index.js",path+"/index.json"];for(var i=0;imax){return new errors.InvalidLength(min,max,len)}}else{if(len>max||lengtVal)){return new errors.InvalidValue("expected a value greater than "+gtVal,val)}};exports.lt=function(val,ltVal){if(!(val=minVal)){return new errors.InvalidValue("must be at least "+minVal,val)}};exports.equals=function(val,otherVal){if(val!==otherVal){return new errors.InvalidValue("value must equal "+otherVal,val)}};exports.notEquals=function(val,otherVal){if(val===otherVal){return new errors.InvalidValue("value must not equal "+otherVal,val)}};exports.consistsOf=function(val,index){var i;if(Array.isArray(index)||typeof index==="string"){for(i=0;i