var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};$jscomp.assign="function"==typeof Object.assign?Object.assign:function(a,b){for(var h=1;h does not exist in ",""],["<","> does not exist in ",""]),_templateObject11= _taggedTemplateLiteral([""," is not a promise"],[""," is not a promise"]),_templateObject12=_taggedTemplateLiteral(["'","' does not resolve to '","'"],["'","' does not resolve to '","'"]),_templateObject13=_taggedTemplateLiteral(["'","' is not of type '","'"],["'","' is not of type '","'"]),_templateObject14=_taggedTemplateLiteral(["'","' is not greater than ",""],["'","' is not greater than ",""]),_templateObject15=_taggedTemplateLiteral(["'","' is not less than ",""],["'","' is not less than ", ""]),_templateObject16=_taggedTemplateLiteral(["'","' is less than ",""],["'","' is less than ",""]),_templateObject17=_taggedTemplateLiteral(["'","' is greater than ",""],["'","' is greater than ",""]);function _possibleConstructorReturn(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!==typeof b&&"function"!==typeof b?a:b} function _inherits(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function _taggedTemplateLiteral(a,b){return Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(b)}}))} function _toArray(a){return Array.isArray(a)?a:Array.from(a)}function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function");}function _defineProperty2(a,b,h){b in a?Object.defineProperty(a,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):a[b]=h;return a}function _toConsumableArray2(a){if(Array.isArray(a)){for(var b=0,h=Array(a.length);bb&&(f.warned=!0,b=Error("Possible EventEmitter memory leak detected. "+ f.length+' "'+String(c)+'" listeners added. Use emitter.setMaxListeners() to increase limit.'),b.name="MaxListenersExceededWarning",b.emitter=a,b.type=c,b.count=f.length,"object"===("undefined"===typeof console?"undefined":_typeof2(console))&&console.warn&&console.warn("%s: %s",b.name,b.message))):(g[c]=b,++a._eventsCount);return a}function l(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target, arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var a=Array(arguments.length),c=0;ca||a!==a)throw new TypeError('"defaultMaxListeners" must be a positive number');u=a}}):d.defaultMaxListeners= u;d.prototype.setMaxListeners=function(a){if("number"!==typeof a||0>a||isNaN(a))throw new TypeError('"n" argument must be a positive number');this._maxListeners=a;return this};d.prototype.getMaxListeners=function(){return void 0===this._maxListeners?d.defaultMaxListeners:this._maxListeners};d.prototype.emit=function(a){var c,b,g;var d="error"===a;if(g=this._events)d=d&&null==g.error;else if(!d)return!1;if(d){1d)return this;if(0===d)e.shift();else{b=d+1;for(var k=e.length;bb},function(a,b){return l(_templateObject14,a,b)}];b.exports.lessThan=[function(a,b){return a=b},function(a,b){return l(_templateObject16,a,b)}];b.exports.lte=[function(a,b){return a<=b},function(a,b){return l(_templateObject17,a,b)}];b.exports.success=b.exports.done;b.exports.succeed=b.exports.done;b.exports.failure=b.exports.fail;b.exports.equal=b.exports.equals; b.exports.deepEqual=b.exports.deepEquals;b.exports.match=b.exports.deepEquals;b.exports.greaterThanOrEqualTo=b.exports.gte;b.exports.lessThanOrEqualTo=b.exports.lte},{"../util":20,"@codefeathers/iseq":2}],11:[function(a,b,h){a("../gunner");var d=a("../util/symbols"),f=function(a){return function(b){return{type:a,unit:b}}};b.exports=function(a){var b=[];Array.prototype.push.apply(b,a.__suite__.beforeHooks[d.Start].map(f("@start")));b.push.apply(a.__suite__.afterHooks[d.Start].map(f("@start")));a.__suite__.tests.forEach(function(c){return Array.prototype.push.apply(b, a.__suite__.beforeHooks["*"].map(f("@every"))),Array.prototype.push.apply(b,(a.__suite__.beforeHooks[c.description]||[]).map(f("@this"))),b.push(f("@test")(c)),Array.prototype.push.apply(b,(a.__suite__.afterHooks[c.description]||[]).map(f("@afterTest"))),Array.prototype.push.apply(b,a.__suite__.afterHooks["*"].map(f("@afterEvery")))});Array.prototype.push.apply(b,a.__suite__.beforeHooks[d.End].map(f("@beforeend")));Array.prototype.push.apply(b,a.__suite__.afterHooks[d.End].map(f("@end")));return b}}, {"../gunner":8,"../util/symbols":21}],12:[function(a,b,h){var d=a("../util").isPromise;b.exports=function(a,b){var c=void 0,f=void 0,k=void 0;try{c=a(b)}catch(e){k=!0,f=e}return d(c)?c.then(function(a){return{status:"ok",resolve:a,promise:!0}}).catch(function(a){return{status:"notOk",rejection:a,promise:!0}}):Promise.resolve(_extends2({status:k?"notOk":"ok"},!k&&{value:c},k&&{error:f},{promise:!1}))}},{"../util":20}],13:[function(a,b,h){a=function(a){function b(){_classCallCheck(this,b);return _possibleConstructorReturn(this, (b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}_inherits(b,a);return b}(a("events"));b.exports=new a},{events:5}],14:[function(a,b,h){h=a("../util");var d=h.liftPromise,f=h.lowerCaseFirstLetter,l=a("./assertionsLibrary"),c=a("./assertPromise"),g=function(a,b){var e=2",c[0],c[1],a.description);b.trace&&a.reason&&console.log("\n---\n\n",a.reason,"\n\n---\n")})});a.on("end",function(a){console.log(a.success.length,"tests of",a.length,"passed");console.log("Success ratio:",a.successPercent,"%")})};b.exports.convert=function(a){return a}},{}],17:[function(a,b,h){b.exports={default:a("./default"),tap:a("./tap"),xunit:a("./xunit")}},{"./default":16,"./tap":18,"./xunit":19}],18:[function(a,b,h){var d= {ok:"ok",notOk:"not ok",skip:"skip"},f=function(a,b){return"\nTAP version 13\n"+(a.length?"1":0)+".."+a.length+"\n"+a.map(function(a,c){var e=b.trace&&a.reason&&(a.reason.stack?a.reason.stack:a.reason)||"";return d[a.status]+" "+(c+1)+" - "+a.description+(e&&"\n ---\n message: |\n "+e+"\n ---\n")}).join("\n")+"\n"};b.exports=function(a,b){a.on("end",function(a){return console.log(f(a,b))})};b.exports.convert=f},{}],19:[function(a,b,h){var d=function(a,b,d,f){d=d?"/>":">";var c=[],g=void 0;Object.keys(b).forEach(function(a){Object.prototype.hasOwnProperty.call(b, a)&&c.push(a+'="'+b[a]+'"')});g="<"+a+(c.length?" "+c.join(" "):"")+d;f&&(g+=f+"'+d("testsuites",{},!1,d("testsuite",{tests:a.count,success:a.success.length,failures:a.failures.length,skipped:a.skipped.length},!1,a.reduce(function(a,b){var c="ok"===b.status,e="ok"!==b.status&&("skip"===b.status?d("skipped",{},!0):d("failure",{},!b.reason,b.reason?escape(b.reason):""));return a+=d("testcase",{name:escape(b.description)},c,e|| "")},"")))};b.exports=function(a){a.on("end",function(a){console.log(f(a))})};b.exports.convert=f},{}],20:[function(a,b,h){var d=a("json-stringify-safe"),f=function(a){return a&&"object"===("undefined"===typeof a?"undefined":_typeof2(a))},l=function(a){return f(a)?a.stack||d(a):a},c=function(a){return a&&"function"===typeof a.then},g=function(a,b){return c(b)?b.then(a):a(b)};b.exports={isObject:f,isPromise:c,liftPromise:g,path:function(a){return function(b){return b.reduce(function(a,b){return a&& a[b]},a)}},pick:function(a){return function(b){return b[a]}},pipe:function(){for(var a=arguments.length,b=Array(a),c=0;c