Socket
Socket
Sign inDemoInstall

testee-client

Package Overview
Dependencies
6
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

4

dist/testee.min.js

@@ -1,2 +0,2 @@

!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){var c=a("underscore"),d=a("./../guid"),e=function(a){this.runner=a,this.suites={},this.specs={},this.failed=0,this.total=0};c.extend(e.prototype,{log:c.noop,id:function(a,b){return a[b]?a[b]:a[b]=d()},reportRunnerStarting:function(){var a=this.runId=d();this.runner.start({id:a,environment:navigator.userAgent,runner:"Jasmine",time:(new Date).getTime()})},reportRunnerResults:function(){this.runner.end({id:this.runId,failed:this.failed,total:this.total,passed:this.total-this.failed})},reportSpecResults:function(a){if(a.results_.failedCount){var b=a.results_.items_[0].message,c=a.results_.items_[0].trace.stack;this.failed++,this.total++,this.runner.fail({id:this.id(this.specs,a.id),err:{message:b,stack:c}})}else if(a.results_.passedCount){var d=(new Date).getTime()-a.startTime||0;this.total++,this.runner.pass({duration:d,id:this.id(this.specs,a.id)})}},startSuite:function(a){null!==a.parentSuite&&(a.parentSuite.started||this.startSuite(a.parentSuite)),this.runner.suite(null!==a.parentSuite?{title:a.description,parent:this.id(this.suites,a.parentSuite.id),id:this.id(this.suites,a.id)}:{title:a.description,root:!0,id:this.id(this.suites,a.id),parent:this.runId}),a.started=!0},reportSpecStarting:function(a){a.suite.started||this.startSuite(a.suite),a.startTime=new Date,a.suite.startTime||(a.suite.startTime=a.startTime),this.runner.test({title:a.description,parent:this.id(this.suites,a.suite.id),id:this.id(this.specs,a.id)})},reportSuiteResults:function(a){a.started&&this.runner.suiteEnd({id:this.id(this.suites,a.id)})}}),b.exports=function(a,b){a.getEnv().addReporter(new e(b))},b.exports.Reporter=e},{"./../guid":6,underscore:25}],2:[function(a,b){function c(a){return i[a.id]=e.extend(i[a.id]||{},a),i[a.id]}function d(a){return j[a.id]=e.extend(j[a.id]||{},a),j[a.id]}var e=a("underscore"),f=a("./../guid"),g=function(a){this.runner=a,this.currentSuite=null,this.currentSpec=null,this.suites={},this.specs={},this.failed=0,this.total=0},h={id:"focused",description:"focused specs",fullName:"focused specs"},i={},j={};e.extend(g.prototype,{log:e.noop,id:function(a,b){return a[b]?a[b]:a[b]=f()},jasmineStarted:function(){var a=this.runId=f();this.runner.start({id:a,environment:navigator.userAgent,runner:"Jasmine",time:(new Date).getTime()})},jasmineDone:function(){this.currentSuite&&this.suiteDone(h),this.runner.end({id:this.runId,failed:this.failed,total:this.total,passed:this.total-this.failed})},suiteStarted:function(a){a=c(a),a._parent=this.currentSuite,this.currentSuite=a,null!==a._parent&&(a._parent.started||this.suiteStarted(a._parent)),this.runner.suite(null!==a._parent?{title:a.description,parent:this.id(this.suites,a._parent.id),id:this.id(this.suites,a.id)}:{title:a.description,root:!0,id:this.id(this.suites,a.id),parent:this.runId}),a.started=!0},suiteDone:function(a){a=c(a),this.currentSuite=a._parent,a.started&&this.runner.suiteEnd({id:this.id(this.suites,a.id)})},specStarted:function(a){this.currentSuite||this.suiteStarted(h),a=d(a),a._suite=this.currentSuite,a._suite.started||this.suiteStarted(a._suite),a.startTime=new Date,a._suite.startTime||(a._suite.startTime=a.startTime),this.currentSpec=a,this.runner.test({title:a.description,parent:this.id(this.suites,a._suite.id),id:this.id(this.specs,a.id)})},specDone:function(a){if(a.failedExpectations.length>0){var b=a.failedExpectations[0].message,c=a.failedExpectations[0].stack;this.failed++,this.total++,this.runner.fail({id:this.id(this.specs,this.currentSpec.id),err:{message:b,stack:c}})}else if(a.passedExpectations.length>0){var d=(new Date).getTime()-this.currentSpec.startTime||0;this.total++,this.runner.pass({duration:d,id:this.id(this.specs,this.currentSpec.id)})}}}),b.exports=function(a,b){a.getEnv().addReporter(new g(b))},b.exports.Reporter=g},{"./../guid":6,underscore:25}],3:[function(a,b){function c(a){var b=this,c={"test end":"testEnd","suite end":"suiteEnd"},f=function(d,e){a.on(d,function(){var a=e.apply(e,arguments),f=c[d]||d;b.api[f](a)})};this.originalReporter=new this.OldReporter(a),this.ids=[],this.uuids={},this.last={},this.total=0,this.pending=0,this.failed=0,this.runId=e(),f("start",function(){return{environment:navigator.userAgent,runner:"Mocha",time:(new Date).getTime(),id:b.runId}}),f("fail",function(a,c){var d=b.diff(a);return d.err={message:c.message,stack:c.stack||""},d}),f("end",function(a){var c=b.diff(a);return c.id=b.runId,c.total=b.total,c.failed=b.failed,c.pending=b.pending,c.passed=b.total-b.failed-b.pending,c}),f("suite",function(a){var c=b.diff(a);return a.root&&(c.parent=b.runId),c}),d.each(["suite end","pending","test","test end","pass"],function(a){f(a,d.bind(b.diff,b))}),a.on("pending",function(){b.pending++,b.total++}),a.on("fail",function(){b.failed++,b.total++}),a.on("pass",function(){b.total++})}var d=a("underscore"),e=a("./../guid");c.prototype.objectify=function(a){var b={},c=this;return d.each(a,function(a,e){var f=0===e.indexOf("_")||0===e.indexOf("$");if("object"!=typeof a||f)"function"==typeof a||f||void 0===a||(b[e]=a);else{var g=d.indexOf(c.ids,a);~g&&(b[e]=c.uuids[g])}}),b},c.prototype.diff=function(a){var b=this,c=b.objectify(a),f={},g=d.indexOf(b.ids,a);return~g?d.each(c,function(a,c){b.last[g][c]!==a&&(f[c]=a)}):(g=b.ids.push(a)-1,b.uuids[g]=e(),f=d.clone(c||{})),b.last[g]=c,f.id=b.uuids[g],f},b.exports=function(a,b){c.prototype.api=b,c.prototype.OldReporter=a._reporter,a.reporter(c)},b.exports.Reporter=c},{"./../guid":6,underscore:25}],4:[function(a,b){var c=a("./../guid");b.exports=function(a,b,d){var e=[],f=function(){return e[e.length-1]},g=function(){b.suiteEnd({id:f()}),e.pop()},h=c();return a.begin(function(){var a=d.document.getElementsByTagName("title")[0]||document.getElementsByTagName("h1")[0],f=c();b.start({id:h,environment:d.navigator.userAgent,runner:"QUnit",time:(new Date).getTime()}),b.suite({title:a?a.innerHTML:"",root:!0,id:f,parent:h}),e.push(f)}),a.moduleStart(function(a){var d=c();b.suite({title:a.name,parent:f(),id:d}),e.push(d)}),a.moduleDone(function(a){b.suiteEnd({failed:a.failed,total:a.total,id:f()}),e.pop()}),a.testStart(function(a){var d=c();b.suite({title:a.name,parent:f(),id:d}),e.push(d)}),a.testDone(g),a.log(function(a){var d=c(),e="";if(b.test({id:d,title:a.message||"okay",parent:f()}),a.result)b.pass({id:d});else{e=a.expected?"Expected "+a.expected+" but was "+a.actual:"Expected assertion to be truthy but it was not";var g=(a.source||"").replace(/\\n/g,"\n ");b.fail({id:d,err:{message:e,stack:"Error: "+e+"\n"+g}})}b.testEnd({id:d})}),a.done(function(a){a.id=h,g(),b.end(a)}),a}},{"./../guid":6}],5:[function(a,b){"use strict";var c=function(){},d=function(a){f=!1,d.isReady=!1,"function"==typeof a&&(c=a),i()},e=window.document,f=!1,g=function(){e.addEventListener?e.removeEventListener("DOMContentLoaded",g,!1):e.detachEvent("onreadystatechange",g),h()},h=function(){if(!d.isReady){if(!e.body)return setTimeout(h,1);d.isReady=!0,c()}},i=function(){var a=!1;if(!f)if(f=!0,"loading"!==e.readyState&&h(),e.addEventListener)e.addEventListener("DOMContentLoaded",g,!1),window.addEventListener("load",g,!1);else if(e.attachEvent){e.attachEvent("onreadystatechange",g),window.attachEvent("onload",g);try{a=null==window.frameElement}catch(b){}e.documentElement.doScroll&&a&&j()}},j=function(){if(!d.isReady){try{e.documentElement.doScroll("left")}catch(a){return void setTimeout(j,1)}h()}};d.isReady=!1,b.exports=d},{}],6:[function(a,b){var c=a("MD5");b.exports=function(){var a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0,c="x"==a?b:3&b|8;return c.toString(16)});return c(a+navigator.useragent)}},{MD5:10}],7:[function(a){var b=a("underscore"),c=a("es6-promise").Promise,d=a("./docready"),e=a("./runner"),f=a("./service"),g=a("./adapters/qunit"),h=a("./adapters/jasmine-legacy"),i=a("./adapters/jasmine"),j=a("./adapters/mocha");d(function(){var a=window.Testee=window.Testee||{};a.socket=a.socket||io(),b.defaults(a,{runs:f("runs",a.socket),suites:f("suites",a.socket),tests:f("tests",a.socket),coverages:f("coverages",a.socket),runner:function(){return this._runner||(this._runner=e(a)),this._runner},canInitialize:function(){return window.QUnit||window.jasmine&&window.jasmine.version_&&1===window.jasmine.version_.major||window.jasmine&&window.jasmine.version&&"2"===window.jasmine.version.split(".")[0]||window.mocha&&window.Mocha},init:function(){window.QUnit&&this.initQUnit(window.QUnit),window.jasmine&&window.jasmine.version_&&1===window.jasmine.version_.major&&this.initJasmine1(window.jasmine),window.jasmine&&window.jasmine.version&&"2"===window.jasmine.version.split(".")[0]&&this.initJasmine(window.jasmine),window.mocha&&window.Mocha&&this.initMocha(window.mocha)},initQUnit:function(a){g(a,this.runner(),window)},initJasmine1:function(a){h(a,this.runner(),window)},initJasmine:function(a){i(a,this.runner(),window)},initMocha:function(a){j(a||window.mocha,this.runner(),window)},connect:new c(function(c){var d=function(){b.delay(function(){c(a.socket)},250)};a.socket.connected?d():a.socket.on("connect",d)})}),a.canInitialize()&&a.init()}),window._restoreUMD&&window._restoreUMD()},{"./adapters/jasmine":2,"./adapters/jasmine-legacy":1,"./adapters/mocha":3,"./adapters/qunit":4,"./docready":5,"./runner":8,"./service":9,"es6-promise":15,underscore:25}],8:[function(a,b){var c=a("underscore"),d=a("es6-promise").Promise;b.exports=function(a){var b={file:window.location.toString()};return c.extend({call:function(a,b){var e=c.toArray(arguments).slice(2),f=this[a];return this.connect=this.connect.then(function(){return new d(function(a,c){e.push({}),e.push(function(b,d){b?c(d):a(d)}),f[b].apply(f,e)})}),this.connect},start:function(a){a=c.extend({status:"running"},b,a),this.call("runs","create",a)},suite:function(a){a=c.extend({status:"running"},b,a),this.call("suites","create",a)},test:function(a){a=c.extend({},b,a),this.call("tests","create",a)},pending:function(a){a=c.extend({status:"pending"},b,a),this.call("tests","create",a)},pass:function(a){a=c.extend({status:"passed"},a),this.call("tests","patch",a.id,a)},fail:function(a){a=c.extend({status:"failed"},a),this.call("tests","patch",a.id,a)},testEnd:function(){},suiteEnd:function(a){a=c.extend({status:"finished"},a),this.call("suites","patch",a.id,a)},end:function(a){a=c.extend({status:"finished"},a);var b=this.socket;window.__coverage__&&this.coverages&&this.call("coverages","create",{id:a.id,run:a,coverage:window.__coverage__}),this.call("runs","patch",a.id,a).then(function(){"function"==typeof b.disconnect&&b.disconnect()})}},a)}},{"es6-promise":15,underscore:25}],9:[function(a,b){var c=a("underscore"),d=function(a){return a.replace(/^\/|\/$/g,"")},e=["find","get","create","update","patch","remove"],f=function(a,b){this.path=d(a),this.socket=b};f.prototype.on=function(a,b){this.socket.on(this.path+" "+a,b)},f.prototype.off=function(a,b){this.socket.off(this.path+" "+a,b)},c.each(e,function(a){f.prototype[a]=function(){var b=Array.prototype.slice.call(arguments,0);b.unshift(this.path+"::"+a),this.socket.emit.apply(this.socket,b)}}),b.exports=function(a,b){return new f(a,b)},b.exports.Service=f},{underscore:25}],10:[function(a,b){!function(){var c=a("crypt"),d=a("charenc").utf8,e=a("is-buffer"),f=a("charenc").bin,g=function(a,b){a.constructor==String?a=b&&"binary"===b.encoding?f.stringToBytes(a):d.stringToBytes(a):e(a)?a=Array.prototype.slice.call(a,0):Array.isArray(a)||(a=a.toString());for(var h=c.bytesToWords(a),i=8*a.length,j=1732584193,k=-271733879,l=-1732584194,m=271733878,n=0;n<h.length;n++)h[n]=16711935&(h[n]<<8|h[n]>>>24)|4278255360&(h[n]<<24|h[n]>>>8);h[i>>>5]|=128<<i%32,h[(i+64>>>9<<4)+14]=i;for(var o=g._ff,p=g._gg,q=g._hh,r=g._ii,n=0;n<h.length;n+=16){var s=j,t=k,u=l,v=m;j=o(j,k,l,m,h[n+0],7,-680876936),m=o(m,j,k,l,h[n+1],12,-389564586),l=o(l,m,j,k,h[n+2],17,606105819),k=o(k,l,m,j,h[n+3],22,-1044525330),j=o(j,k,l,m,h[n+4],7,-176418897),m=o(m,j,k,l,h[n+5],12,1200080426),l=o(l,m,j,k,h[n+6],17,-1473231341),k=o(k,l,m,j,h[n+7],22,-45705983),j=o(j,k,l,m,h[n+8],7,1770035416),m=o(m,j,k,l,h[n+9],12,-1958414417),l=o(l,m,j,k,h[n+10],17,-42063),k=o(k,l,m,j,h[n+11],22,-1990404162),j=o(j,k,l,m,h[n+12],7,1804603682),m=o(m,j,k,l,h[n+13],12,-40341101),l=o(l,m,j,k,h[n+14],17,-1502002290),k=o(k,l,m,j,h[n+15],22,1236535329),j=p(j,k,l,m,h[n+1],5,-165796510),m=p(m,j,k,l,h[n+6],9,-1069501632),l=p(l,m,j,k,h[n+11],14,643717713),k=p(k,l,m,j,h[n+0],20,-373897302),j=p(j,k,l,m,h[n+5],5,-701558691),m=p(m,j,k,l,h[n+10],9,38016083),l=p(l,m,j,k,h[n+15],14,-660478335),k=p(k,l,m,j,h[n+4],20,-405537848),j=p(j,k,l,m,h[n+9],5,568446438),m=p(m,j,k,l,h[n+14],9,-1019803690),l=p(l,m,j,k,h[n+3],14,-187363961),k=p(k,l,m,j,h[n+8],20,1163531501),j=p(j,k,l,m,h[n+13],5,-1444681467),m=p(m,j,k,l,h[n+2],9,-51403784),l=p(l,m,j,k,h[n+7],14,1735328473),k=p(k,l,m,j,h[n+12],20,-1926607734),j=q(j,k,l,m,h[n+5],4,-378558),m=q(m,j,k,l,h[n+8],11,-2022574463),l=q(l,m,j,k,h[n+11],16,1839030562),k=q(k,l,m,j,h[n+14],23,-35309556),j=q(j,k,l,m,h[n+1],4,-1530992060),m=q(m,j,k,l,h[n+4],11,1272893353),l=q(l,m,j,k,h[n+7],16,-155497632),k=q(k,l,m,j,h[n+10],23,-1094730640),j=q(j,k,l,m,h[n+13],4,681279174),m=q(m,j,k,l,h[n+0],11,-358537222),l=q(l,m,j,k,h[n+3],16,-722521979),k=q(k,l,m,j,h[n+6],23,76029189),j=q(j,k,l,m,h[n+9],4,-640364487),m=q(m,j,k,l,h[n+12],11,-421815835),l=q(l,m,j,k,h[n+15],16,530742520),k=q(k,l,m,j,h[n+2],23,-995338651),j=r(j,k,l,m,h[n+0],6,-198630844),m=r(m,j,k,l,h[n+7],10,1126891415),l=r(l,m,j,k,h[n+14],15,-1416354905),k=r(k,l,m,j,h[n+5],21,-57434055),j=r(j,k,l,m,h[n+12],6,1700485571),m=r(m,j,k,l,h[n+3],10,-1894986606),l=r(l,m,j,k,h[n+10],15,-1051523),k=r(k,l,m,j,h[n+1],21,-2054922799),j=r(j,k,l,m,h[n+8],6,1873313359),m=r(m,j,k,l,h[n+15],10,-30611744),l=r(l,m,j,k,h[n+6],15,-1560198380),k=r(k,l,m,j,h[n+13],21,1309151649),j=r(j,k,l,m,h[n+4],6,-145523070),m=r(m,j,k,l,h[n+11],10,-1120210379),l=r(l,m,j,k,h[n+2],15,718787259),k=r(k,l,m,j,h[n+9],21,-343485551),j=j+s>>>0,k=k+t>>>0,l=l+u>>>0,m=m+v>>>0}return c.endian([j,k,l,m])};g._ff=function(a,b,c,d,e,f,g){var h=a+(b&c|~b&d)+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._gg=function(a,b,c,d,e,f,g){var h=a+(b&d|c&~d)+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._hh=function(a,b,c,d,e,f,g){var h=a+(b^c^d)+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._ii=function(a,b,c,d,e,f,g){var h=a+(c^(b|~d))+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._blocksize=16,g._digestsize=16,b.exports=function(a,b){if("undefined"!=typeof a){var d=c.wordsToBytes(g(a,b));return b&&b.asBytes?d:b&&b.asString?f.bytesToString(d):c.bytesToHex(d)}}}()},{charenc:11,crypt:12,"is-buffer":13}],11:[function(a,b){var c={utf8:{stringToBytes:function(a){return c.bin.stringToBytes(unescape(encodeURIComponent(a)))},bytesToString:function(a){return decodeURIComponent(escape(c.bin.bytesToString(a)))}},bin:{stringToBytes:function(a){for(var b=[],c=0;c<a.length;c++)b.push(255&a.charCodeAt(c));return b},bytesToString:function(a){for(var b=[],c=0;c<a.length;c++)b.push(String.fromCharCode(a[c]));return b.join("")}}};b.exports=c},{}],12:[function(a,b){!function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c={rotl:function(a,b){return a<<b|a>>>32-b},rotr:function(a,b){return a<<32-b|a>>>b},endian:function(a){if(a.constructor==Number)return 16711935&c.rotl(a,8)|4278255360&c.rotl(a,24);for(var b=0;b<a.length;b++)a[b]=c.endian(a[b]);return a},randomBytes:function(a){for(var b=[];a>0;a--)b.push(Math.floor(256*Math.random()));return b},bytesToWords:function(a){for(var b=[],c=0,d=0;c<a.length;c++,d+=8)b[d>>>5]|=a[c]<<24-d%32;return b},wordsToBytes:function(a){for(var b=[],c=0;c<32*a.length;c+=8)b.push(a[c>>>5]>>>24-c%32&255);return b},bytesToHex:function(a){for(var b=[],c=0;c<a.length;c++)b.push((a[c]>>>4).toString(16)),b.push((15&a[c]).toString(16));return b.join("")},hexToBytes:function(a){for(var b=[],c=0;c<a.length;c+=2)b.push(parseInt(a.substr(c,2),16));return b},bytesToBase64:function(b){for(var c=[],d=0;d<b.length;d+=3)for(var e=b[d]<<16|b[d+1]<<8|b[d+2],f=0;4>f;f++)c.push(8*d+6*f<=8*b.length?a.charAt(e>>>6*(3-f)&63):"=");return c.join("")},base64ToBytes:function(b){b=b.replace(/[^A-Z0-9+\/]/gi,"");for(var c=[],d=0,e=0;d<b.length;e=++d%4)0!=e&&c.push((a.indexOf(b.charAt(d-1))&Math.pow(2,-2*e+8)-1)<<2*e|a.indexOf(b.charAt(d))>>>6-2*e);return c}};b.exports=c}()},{}],13:[function(a,b){b.exports=function(a){return!(null==a||!a.constructor||"function"!=typeof a.constructor.isBuffer||!a.constructor.isBuffer(a))}},{}],14:[function(a,b){function c(){}var d=b.exports={};d.nextTick=function(){var a="undefined"!=typeof window&&window.setImmediate,b="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(a)return function(a){return window.setImmediate(a)};if(b){var c=[];return window.addEventListener("message",function(a){var b=a.source;if((b===window||null===b)&&"process-tick"===a.data&&(a.stopPropagation(),c.length>0)){var d=c.shift();d()}},!0),function(a){c.push(a),window.postMessage("process-tick","*")}}return function(a){setTimeout(a,0)}}(),d.title="browser",d.browser=!0,d.env={},d.argv=[],d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.binding=function(){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(){throw new Error("process.chdir is not supported")}},{}],15:[function(a,b,c){"use strict";var d=a("./promise/promise").Promise,e=a("./promise/polyfill").polyfill;c.Promise=d,c.polyfill=e},{"./promise/polyfill":19,"./promise/promise":20}],16:[function(a,b,c){"use strict";function d(a){var b=this;if(!e(a))throw new TypeError("You must pass an array to all.");return new b(function(b,c){function d(a){return function(b){e(a,b)}}function e(a,c){h[a]=c,0===--i&&b(h)}var g,h=[],i=a.length;0===i&&b([]);for(var j=0;j<a.length;j++)g=a[j],g&&f(g.then)?g.then(d(j),c):e(j,g)})}var e=a("./utils").isArray,f=a("./utils").isFunction;c.all=d},{"./utils":24}],17:[function(a,b,c){(function(a,b){"use strict";function d(){return function(){a.nextTick(g)}}function e(){var a=0,b=new k(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function f(){return function(){l.setTimeout(g,1)}}function g(){for(var a=0;a<m.length;a++){var b=m[a],c=b[0],d=b[1];c(d)}m=[]}function h(a,b){var c=m.push([a,b]);1===c&&i()}var i,j="undefined"!=typeof window?window:{},k=j.MutationObserver||j.WebKitMutationObserver,l="undefined"!=typeof b?b:void 0===this?window:this,m=[];i="undefined"!=typeof a&&"[object process]"==={}.toString.call(a)?d():k?e():f(),c.asap=h}).call(this,a("FWaASH"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{FWaASH:14}],18:[function(a,b,c){"use strict";function d(a,b){return 2!==arguments.length?e[a]:void(e[a]=b)}var e={instrument:!1};c.config=e,c.configure=d},{}],19:[function(a,b,c){(function(b){"use strict";function d(){var a;a="undefined"!=typeof b?b:"undefined"!=typeof window&&window.document?window:self;var c="Promise"in a&&"resolve"in a.Promise&&"reject"in a.Promise&&"all"in a.Promise&&"race"in a.Promise&&function(){var b;return new a.Promise(function(a){b=a}),f(b)}();c||(a.Promise=e)}var e=a("./promise").Promise,f=a("./utils").isFunction;c.polyfill=d}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./promise":20,"./utils":24}],20:[function(a,b,c){"use strict";function d(a){if(!q(a))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof d))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._subscribers=[],e(a,this)}function e(a,b){function c(a){j(b,a)}function d(a){l(b,a)}try{a(c,d)}catch(e){d(e)}}function f(a,b,c,d){var e,f,g,h,k=q(c);if(k)try{e=c(d),g=!0}catch(m){h=!0,f=m}else e=d,g=!0;i(b,e)||(k&&g?j(b,e):h?l(b,f):a===y?j(b,e):a===z&&l(b,e))}function g(a,b,c,d){var e=a._subscribers,f=e.length;e[f]=b,e[f+y]=c,e[f+z]=d}function h(a,b){for(var c,d,e=a._subscribers,g=a._detail,h=0;h<e.length;h+=3)c=e[h],d=e[h+b],f(b,c,d,g);a._subscribers=null}function i(a,b){var c,d=null;try{if(a===b)throw new TypeError("A promises callback cannot return that same promise.");if(p(b)&&(d=b.then,q(d)))return d.call(b,function(d){return c?!0:(c=!0,void(b!==d?j(a,d):k(a,d)))},function(b){return c?!0:(c=!0,void l(a,b))}),!0}catch(e){return c?!0:(l(a,e),!0)}return!1}function j(a,b){a===b?k(a,b):i(a,b)||k(a,b)}function k(a,b){a._state===w&&(a._state=x,a._detail=b,o.async(m,a))}function l(a,b){a._state===w&&(a._state=x,a._detail=b,o.async(n,a))}function m(a){h(a,a._state=y)}function n(a){h(a,a._state=z)}var o=a("./config").config,p=(a("./config").configure,a("./utils").objectOrFunction),q=a("./utils").isFunction,r=(a("./utils").now,a("./all").all),s=a("./race").race,t=a("./resolve").resolve,u=a("./reject").reject,v=a("./asap").asap;o.async=v;var w=void 0,x=0,y=1,z=2;d.prototype={constructor:d,_state:void 0,_detail:void 0,_subscribers:void 0,then:function(a,b){var c=this,d=new this.constructor(function(){});if(this._state){var e=arguments;o.async(function(){f(c._state,d,e[c._state-1],c._detail)})}else g(this,d,a,b);return d},"catch":function(a){return this.then(null,a)}},d.all=r,d.race=s,d.resolve=t,d.reject=u,c.Promise=d},{"./all":16,"./asap":17,"./config":18,"./race":21,"./reject":22,"./resolve":23,"./utils":24}],21:[function(a,b,c){"use strict";function d(a){var b=this;if(!e(a))throw new TypeError("You must pass an array to race.");return new b(function(b,c){for(var d,e=0;e<a.length;e++)d=a[e],d&&"function"==typeof d.then?d.then(b,c):b(d)})}var e=a("./utils").isArray;c.race=d},{"./utils":24}],22:[function(a,b,c){"use strict";function d(a){var b=this;return new b(function(b,c){c(a)})}c.reject=d},{}],23:[function(a,b,c){"use strict";function d(a){if(a&&"object"==typeof a&&a.constructor===this)return a;var b=this;return new b(function(b){b(a)})}c.resolve=d},{}],24:[function(a,b,c){"use strict";function d(a){return e(a)||"object"==typeof a&&null!==a}function e(a){return"function"==typeof a}function f(a){return"[object Array]"===Object.prototype.toString.call(a)}var g=Date.now||function(){return(new Date).getTime()};c.objectOrFunction=d,c.isFunction=e,c.isArray=f,c.now=g},{}],25:[function(a,b,c){(function(){var a=this,d=a._,e=Array.prototype,f=Object.prototype,g=Function.prototype,h=e.push,i=e.slice,j=e.concat,k=f.toString,l=f.hasOwnProperty,m=Array.isArray,n=Object.keys,o=g.bind,p=function(a){return a instanceof p?a:this instanceof p?void(this._wrapped=a):new p(a)};"undefined"!=typeof c?("undefined"!=typeof b&&b.exports&&(c=b.exports=p),c._=p):a._=p,p.VERSION="1.7.0";var q=function(a,b,c){if(void 0===b)return a;switch(null==c?3:c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)};case 4:return function(c,d,e,f){return a.call(b,c,d,e,f)}}return function(){return a.apply(b,arguments)}};p.iteratee=function(a,b,c){return null==a?p.identity:p.isFunction(a)?q(a,b,c):p.isObject(a)?p.matches(a):p.property(a)},p.each=p.forEach=function(a,b,c){if(null==a)return a;b=q(b,c);var d,e=a.length;if(e===+e)for(d=0;e>d;d++)b(a[d],d,a);else{var f=p.keys(a);for(d=0,e=f.length;e>d;d++)b(a[f[d]],f[d],a)}return a},p.map=p.collect=function(a,b,c){if(null==a)return[];b=p.iteratee(b,c);for(var d,e=a.length!==+a.length&&p.keys(a),f=(e||a).length,g=Array(f),h=0;f>h;h++)d=e?e[h]:h,g[h]=b(a[d],d,a);return g};var r="Reduce of empty array with no initial value";p.reduce=p.foldl=p.inject=function(a,b,c,d){null==a&&(a=[]),b=q(b,d,4);var e,f=a.length!==+a.length&&p.keys(a),g=(f||a).length,h=0;if(arguments.length<3){if(!g)throw new TypeError(r);c=a[f?f[h++]:h++]}for(;g>h;h++)e=f?f[h]:h,c=b(c,a[e],e,a);return c},p.reduceRight=p.foldr=function(a,b,c,d){null==a&&(a=[]),b=q(b,d,4);var e,f=a.length!==+a.length&&p.keys(a),g=(f||a).length;if(arguments.length<3){if(!g)throw new TypeError(r);c=a[f?f[--g]:--g]}for(;g--;)e=f?f[g]:g,c=b(c,a[e],e,a);return c},p.find=p.detect=function(a,b,c){var d;return b=p.iteratee(b,c),p.some(a,function(a,c,e){return b(a,c,e)?(d=a,!0):void 0}),d},p.filter=p.select=function(a,b,c){var d=[];return null==a?d:(b=p.iteratee(b,c),p.each(a,function(a,c,e){b(a,c,e)&&d.push(a)}),d)},p.reject=function(a,b,c){return p.filter(a,p.negate(p.iteratee(b)),c)},p.every=p.all=function(a,b,c){if(null==a)return!0;b=p.iteratee(b,c);var d,e,f=a.length!==+a.length&&p.keys(a),g=(f||a).length;for(d=0;g>d;d++)if(e=f?f[d]:d,!b(a[e],e,a))return!1;return!0},p.some=p.any=function(a,b,c){if(null==a)return!1;b=p.iteratee(b,c);var d,e,f=a.length!==+a.length&&p.keys(a),g=(f||a).length;for(d=0;g>d;d++)if(e=f?f[d]:d,b(a[e],e,a))return!0;return!1},p.contains=p.include=function(a,b){return null==a?!1:(a.length!==+a.length&&(a=p.values(a)),p.indexOf(a,b)>=0)},p.invoke=function(a,b){var c=i.call(arguments,2),d=p.isFunction(b);return p.map(a,function(a){return(d?b:a[b]).apply(a,c)})},p.pluck=function(a,b){return p.map(a,p.property(b))},p.where=function(a,b){return p.filter(a,p.matches(b))},p.findWhere=function(a,b){return p.find(a,p.matches(b))},p.max=function(a,b,c){var d,e,f=-1/0,g=-1/0;if(null==b&&null!=a){a=a.length===+a.length?a:p.values(a);for(var h=0,i=a.length;i>h;h++)d=a[h],d>f&&(f=d)}else b=p.iteratee(b,c),p.each(a,function(a,c,d){e=b(a,c,d),(e>g||e===-1/0&&f===-1/0)&&(f=a,g=e)});return f},p.min=function(a,b,c){var d,e,f=1/0,g=1/0;if(null==b&&null!=a){a=a.length===+a.length?a:p.values(a);for(var h=0,i=a.length;i>h;h++)d=a[h],f>d&&(f=d)}else b=p.iteratee(b,c),p.each(a,function(a,c,d){e=b(a,c,d),(g>e||1/0===e&&1/0===f)&&(f=a,g=e)});return f},p.shuffle=function(a){for(var b,c=a&&a.length===+a.length?a:p.values(a),d=c.length,e=Array(d),f=0;d>f;f++)b=p.random(0,f),b!==f&&(e[f]=e[b]),e[b]=c[f];return e},p.sample=function(a,b,c){return null==b||c?(a.length!==+a.length&&(a=p.values(a)),a[p.random(a.length-1)]):p.shuffle(a).slice(0,Math.max(0,b))},p.sortBy=function(a,b,c){return b=p.iteratee(b,c),p.pluck(p.map(a,function(a,c,d){return{value:a,index:c,criteria:b(a,c,d)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;if(c!==d){if(c>d||void 0===c)return 1;if(d>c||void 0===d)return-1}return a.index-b.index}),"value")};var s=function(a){return function(b,c,d){var e={};return c=p.iteratee(c,d),p.each(b,function(d,f){var g=c(d,f,b);a(e,d,g)}),e}};p.groupBy=s(function(a,b,c){p.has(a,c)?a[c].push(b):a[c]=[b]}),p.indexBy=s(function(a,b,c){a[c]=b}),p.countBy=s(function(a,b,c){p.has(a,c)?a[c]++:a[c]=1}),p.sortedIndex=function(a,b,c,d){c=p.iteratee(c,d,1);for(var e=c(b),f=0,g=a.length;g>f;){var h=f+g>>>1;c(a[h])<e?f=h+1:g=h}return f},p.toArray=function(a){return a?p.isArray(a)?i.call(a):a.length===+a.length?p.map(a,p.identity):p.values(a):[]},p.size=function(a){return null==a?0:a.length===+a.length?a.length:p.keys(a).length},p.partition=function(a,b,c){b=p.iteratee(b,c);var d=[],e=[];return p.each(a,function(a,c,f){(b(a,c,f)?d:e).push(a)}),[d,e]},p.first=p.head=p.take=function(a,b,c){return null==a?void 0:null==b||c?a[0]:0>b?[]:i.call(a,0,b)},p.initial=function(a,b,c){return i.call(a,0,Math.max(0,a.length-(null==b||c?1:b)))},p.last=function(a,b,c){return null==a?void 0:null==b||c?a[a.length-1]:i.call(a,Math.max(a.length-b,0))},p.rest=p.tail=p.drop=function(a,b,c){return i.call(a,null==b||c?1:b)},p.compact=function(a){return p.filter(a,p.identity)};var t=function(a,b,c,d){if(b&&p.every(a,p.isArray))return j.apply(d,a);for(var e=0,f=a.length;f>e;e++){var g=a[e];p.isArray(g)||p.isArguments(g)?b?h.apply(d,g):t(g,b,c,d):c||d.push(g)}return d};p.flatten=function(a,b){return t(a,b,!1,[])},p.without=function(a){return p.difference(a,i.call(arguments,1))},p.uniq=p.unique=function(a,b,c,d){if(null==a)return[];p.isBoolean(b)||(d=c,c=b,b=!1),null!=c&&(c=p.iteratee(c,d));for(var e=[],f=[],g=0,h=a.length;h>g;g++){var i=a[g];if(b)g&&f===i||e.push(i),f=i;else if(c){var j=c(i,g,a);p.indexOf(f,j)<0&&(f.push(j),e.push(i))}else p.indexOf(e,i)<0&&e.push(i)}return e},p.union=function(){return p.uniq(t(arguments,!0,!0,[]))},p.intersection=function(a){if(null==a)return[];for(var b=[],c=arguments.length,d=0,e=a.length;e>d;d++){var f=a[d];if(!p.contains(b,f)){for(var g=1;c>g&&p.contains(arguments[g],f);g++);g===c&&b.push(f)}}return b},p.difference=function(a){var b=t(i.call(arguments,1),!0,!0,[]);return p.filter(a,function(a){return!p.contains(b,a)})},p.zip=function(a){if(null==a)return[];for(var b=p.max(arguments,"length").length,c=Array(b),d=0;b>d;d++)c[d]=p.pluck(arguments,d);return c},p.object=function(a,b){if(null==a)return{};for(var c={},d=0,e=a.length;e>d;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c},p.indexOf=function(a,b,c){if(null==a)return-1;var d=0,e=a.length;if(c){if("number"!=typeof c)return d=p.sortedIndex(a,b),a[d]===b?d:-1;d=0>c?Math.max(0,e+c):c}for(;e>d;d++)if(a[d]===b)return d;return-1},p.lastIndexOf=function(a,b,c){if(null==a)return-1;var d=a.length;for("number"==typeof c&&(d=0>c?d+c+1:Math.min(d,c+1));--d>=0;)if(a[d]===b)return d;return-1},p.range=function(a,b,c){arguments.length<=1&&(b=a||0,a=0),c=c||1;for(var d=Math.max(Math.ceil((b-a)/c),0),e=Array(d),f=0;d>f;f++,a+=c)e[f]=a;return e};var u=function(){};p.bind=function(a,b){var c,d;if(o&&a.bind===o)return o.apply(a,i.call(arguments,1));if(!p.isFunction(a))throw new TypeError("Bind must be called on a function");return c=i.call(arguments,2),d=function(){if(!(this instanceof d))return a.apply(b,c.concat(i.call(arguments)));u.prototype=a.prototype;var e=new u;u.prototype=null;var f=a.apply(e,c.concat(i.call(arguments)));return p.isObject(f)?f:e}},p.partial=function(a){var b=i.call(arguments,1);return function(){for(var c=0,d=b.slice(),e=0,f=d.length;f>e;e++)d[e]===p&&(d[e]=arguments[c++]);for(;c<arguments.length;)d.push(arguments[c++]);return a.apply(this,d)}},p.bindAll=function(a){var b,c,d=arguments.length;if(1>=d)throw new Error("bindAll must be passed function names");for(b=1;d>b;b++)c=arguments[b],a[c]=p.bind(a[c],a);return a},p.memoize=function(a,b){var c=function(d){var e=c.cache,f=b?b.apply(this,arguments):d;return p.has(e,f)||(e[f]=a.apply(this,arguments)),e[f]};return c.cache={},c},p.delay=function(a,b){var c=i.call(arguments,2);return setTimeout(function(){return a.apply(null,c)},b)},p.defer=function(a){return p.delay.apply(p,[a,1].concat(i.call(arguments,1)))},p.throttle=function(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=c.leading===!1?0:p.now(),g=null,f=a.apply(d,e),g||(d=e=null)};return function(){var j=p.now();h||c.leading!==!1||(h=j);var k=b-(j-h);return d=this,e=arguments,0>=k||k>b?(clearTimeout(g),g=null,h=j,f=a.apply(d,e),g||(d=e=null)):g||c.trailing===!1||(g=setTimeout(i,k)),f}},p.debounce=function(a,b,c){var d,e,f,g,h,i=function(){var j=p.now()-g;b>j&&j>0?d=setTimeout(i,b-j):(d=null,c||(h=a.apply(f,e),d||(f=e=null)))};return function(){f=this,e=arguments,g=p.now();var j=c&&!d;return d||(d=setTimeout(i,b)),j&&(h=a.apply(f,e),f=e=null),h}},p.wrap=function(a,b){return p.partial(b,a)},p.negate=function(a){return function(){return!a.apply(this,arguments)}},p.compose=function(){var a=arguments,b=a.length-1;return function(){for(var c=b,d=a[b].apply(this,arguments);c--;)d=a[c].call(this,d);return d}},p.after=function(a,b){return function(){return--a<1?b.apply(this,arguments):void 0}},p.before=function(a,b){var c;return function(){return--a>0?c=b.apply(this,arguments):b=null,c}},p.once=p.partial(p.before,2),p.keys=function(a){if(!p.isObject(a))return[];if(n)return n(a);var b=[];for(var c in a)p.has(a,c)&&b.push(c);return b},p.values=function(a){for(var b=p.keys(a),c=b.length,d=Array(c),e=0;c>e;e++)d[e]=a[b[e]];return d},p.pairs=function(a){for(var b=p.keys(a),c=b.length,d=Array(c),e=0;c>e;e++)d[e]=[b[e],a[b[e]]];
return d},p.invert=function(a){for(var b={},c=p.keys(a),d=0,e=c.length;e>d;d++)b[a[c[d]]]=c[d];return b},p.functions=p.methods=function(a){var b=[];for(var c in a)p.isFunction(a[c])&&b.push(c);return b.sort()},p.extend=function(a){if(!p.isObject(a))return a;for(var b,c,d=1,e=arguments.length;e>d;d++){b=arguments[d];for(c in b)l.call(b,c)&&(a[c]=b[c])}return a},p.pick=function(a,b,c){var d,e={};if(null==a)return e;if(p.isFunction(b)){b=q(b,c);for(d in a){var f=a[d];b(f,d,a)&&(e[d]=f)}}else{var g=j.apply([],i.call(arguments,1));a=new Object(a);for(var h=0,k=g.length;k>h;h++)d=g[h],d in a&&(e[d]=a[d])}return e},p.omit=function(a,b,c){if(p.isFunction(b))b=p.negate(b);else{var d=p.map(j.apply([],i.call(arguments,1)),String);b=function(a,b){return!p.contains(d,b)}}return p.pick(a,b,c)},p.defaults=function(a){if(!p.isObject(a))return a;for(var b=1,c=arguments.length;c>b;b++){var d=arguments[b];for(var e in d)void 0===a[e]&&(a[e]=d[e])}return a},p.clone=function(a){return p.isObject(a)?p.isArray(a)?a.slice():p.extend({},a):a},p.tap=function(a,b){return b(a),a};var v=function(a,b,c,d){if(a===b)return 0!==a||1/a===1/b;if(null==a||null==b)return a===b;a instanceof p&&(a=a._wrapped),b instanceof p&&(b=b._wrapped);var e=k.call(a);if(e!==k.call(b))return!1;switch(e){case"[object RegExp]":case"[object String]":return""+a==""+b;case"[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case"[object Date]":case"[object Boolean]":return+a===+b}if("object"!=typeof a||"object"!=typeof b)return!1;for(var f=c.length;f--;)if(c[f]===a)return d[f]===b;var g=a.constructor,h=b.constructor;if(g!==h&&"constructor"in a&&"constructor"in b&&!(p.isFunction(g)&&g instanceof g&&p.isFunction(h)&&h instanceof h))return!1;c.push(a),d.push(b);var i,j;if("[object Array]"===e){if(i=a.length,j=i===b.length)for(;i--&&(j=v(a[i],b[i],c,d)););}else{var l,m=p.keys(a);if(i=m.length,j=p.keys(b).length===i)for(;i--&&(l=m[i],j=p.has(b,l)&&v(a[l],b[l],c,d)););}return c.pop(),d.pop(),j};p.isEqual=function(a,b){return v(a,b,[],[])},p.isEmpty=function(a){if(null==a)return!0;if(p.isArray(a)||p.isString(a)||p.isArguments(a))return 0===a.length;for(var b in a)if(p.has(a,b))return!1;return!0},p.isElement=function(a){return!(!a||1!==a.nodeType)},p.isArray=m||function(a){return"[object Array]"===k.call(a)},p.isObject=function(a){var b=typeof a;return"function"===b||"object"===b&&!!a},p.each(["Arguments","Function","String","Number","Date","RegExp"],function(a){p["is"+a]=function(b){return k.call(b)==="[object "+a+"]"}}),p.isArguments(arguments)||(p.isArguments=function(a){return p.has(a,"callee")}),"function"!=typeof/./&&(p.isFunction=function(a){return"function"==typeof a||!1}),p.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},p.isNaN=function(a){return p.isNumber(a)&&a!==+a},p.isBoolean=function(a){return a===!0||a===!1||"[object Boolean]"===k.call(a)},p.isNull=function(a){return null===a},p.isUndefined=function(a){return void 0===a},p.has=function(a,b){return null!=a&&l.call(a,b)},p.noConflict=function(){return a._=d,this},p.identity=function(a){return a},p.constant=function(a){return function(){return a}},p.noop=function(){},p.property=function(a){return function(b){return b[a]}},p.matches=function(a){var b=p.pairs(a),c=b.length;return function(a){if(null==a)return!c;a=new Object(a);for(var d=0;c>d;d++){var e=b[d],f=e[0];if(e[1]!==a[f]||!(f in a))return!1}return!0}},p.times=function(a,b,c){var d=Array(Math.max(0,a));b=q(b,c,1);for(var e=0;a>e;e++)d[e]=b(e);return d},p.random=function(a,b){return null==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))},p.now=Date.now||function(){return(new Date).getTime()};var w={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},x=p.invert(w),y=function(a){var b=function(b){return a[b]},c="(?:"+p.keys(a).join("|")+")",d=RegExp(c),e=RegExp(c,"g");return function(a){return a=null==a?"":""+a,d.test(a)?a.replace(e,b):a}};p.escape=y(w),p.unescape=y(x),p.result=function(a,b){if(null==a)return void 0;var c=a[b];return p.isFunction(c)?a[b]():c};var z=0;p.uniqueId=function(a){var b=++z+"";return a?a+b:b},p.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var A=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},C=/\\|'|\r|\n|\u2028|\u2029/g,D=function(a){return"\\"+B[a]};p.template=function(a,b,c){!b&&c&&(b=c),b=p.defaults({},b,p.templateSettings);var d=RegExp([(b.escape||A).source,(b.interpolate||A).source,(b.evaluate||A).source].join("|")+"|$","g"),e=0,f="__p+='";a.replace(d,function(b,c,d,g,h){return f+=a.slice(e,h).replace(C,D),e=h+b.length,c?f+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'":d?f+="'+\n((__t=("+d+"))==null?'':__t)+\n'":g&&(f+="';\n"+g+"\n__p+='"),b}),f+="';\n",b.variable||(f="with(obj||{}){\n"+f+"}\n"),f="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+f+"return __p;\n";try{var g=new Function(b.variable||"obj","_",f)}catch(h){throw h.source=f,h}var i=function(a){return g.call(this,a,p)},j=b.variable||"obj";return i.source="function("+j+"){\n"+f+"}",i},p.chain=function(a){var b=p(a);return b._chain=!0,b};var E=function(a){return this._chain?p(a).chain():a};p.mixin=function(a){p.each(p.functions(a),function(b){var c=p[b]=a[b];p.prototype[b]=function(){var a=[this._wrapped];return h.apply(a,arguments),E.call(this,c.apply(p,a))}})},p.mixin(p),p.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=e[a];p.prototype[a]=function(){var c=this._wrapped;return b.apply(c,arguments),"shift"!==a&&"splice"!==a||0!==c.length||delete c[0],E.call(this,c)}}),p.each(["concat","join","slice"],function(a){var b=e[a];p.prototype[a]=function(){return E.call(this,b.apply(this._wrapped,arguments))}}),p.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return p})}).call(this)},{}]},{},[7]);
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d=a("underscore"),e=a("./../guid"),f=function(a){this.runner=a,this.suites={},this.specs={},this.failed=0,this.total=0};d.extend(f.prototype,{log:d.noop,id:function(a,b){return a[b]?a[b]:a[b]=e()},reportRunnerStarting:function(){var a=this.runId=e();this.runner.start({id:a,environment:navigator.userAgent,runner:"Jasmine",time:(new Date).getTime()})},reportRunnerResults:function(){this.runner.end({id:this.runId,failed:this.failed,total:this.total,passed:this.total-this.failed})},reportSpecResults:function(a){if(a.results_.failedCount){var b=a.results_.items_[0].message,c=a.results_.items_[0].trace.stack;this.failed++,this.total++,this.runner.fail({id:this.id(this.specs,a.id),err:{message:b,stack:c}})}else if(a.results_.passedCount){var d=(new Date).getTime()-a.startTime||0;this.total++,this.runner.pass({duration:d,id:this.id(this.specs,a.id)})}},startSuite:function(a){null!==a.parentSuite&&(a.parentSuite.started||this.startSuite(a.parentSuite)),null!==a.parentSuite?this.runner.suite({title:a.description,parent:this.id(this.suites,a.parentSuite.id),id:this.id(this.suites,a.id)}):this.runner.suite({title:a.description,root:!0,id:this.id(this.suites,a.id),parent:this.runId}),a.started=!0},reportSpecStarting:function(a){a.suite.started||this.startSuite(a.suite),a.startTime=new Date,a.suite.startTime||(a.suite.startTime=a.startTime),this.runner.test({title:a.description,parent:this.id(this.suites,a.suite.id),id:this.id(this.specs,a.id)})},reportSuiteResults:function(a){a.started&&this.runner.suiteEnd({id:this.id(this.suites,a.id)})}}),b.exports=function(a,b){a.getEnv().addReporter(new f(b))},b.exports.Reporter=f},{"./../guid":6,underscore:16}],2:[function(a,b,c){function d(a){return j[a.id]=f.extend(j[a.id]||{},a),j[a.id]}function e(a){return k[a.id]=f.extend(k[a.id]||{},a),k[a.id]}var f=a("underscore"),g=a("./../guid"),h=function(a){this.runner=a,this.currentSuite=null,this.currentSpec=null,this.suites={},this.specs={},this.failed=0,this.total=0},i={id:"focused",description:"focused specs",fullName:"focused specs"},j={},k={};f.extend(h.prototype,{log:f.noop,id:function(a,b){return a[b]?a[b]:a[b]=g()},jasmineStarted:function(){var a=this.runId=g();this.runner.start({id:a,environment:navigator.userAgent,runner:"Jasmine",time:(new Date).getTime()})},jasmineDone:function(){this.currentSuite&&this.suiteDone(i),this.runner.end({id:this.runId,failed:this.failed,total:this.total,passed:this.total-this.failed})},suiteStarted:function(a){a=d(a),a._parent=this.currentSuite,this.currentSuite=a,null!==a._parent&&(a._parent.started||this.suiteStarted(a._parent)),null!==a._parent?this.runner.suite({title:a.description,parent:this.id(this.suites,a._parent.id),id:this.id(this.suites,a.id)}):this.runner.suite({title:a.description,root:!0,id:this.id(this.suites,a.id),parent:this.runId}),a.started=!0},suiteDone:function(a){a=d(a),this.currentSuite=a._parent,a.started&&this.runner.suiteEnd({id:this.id(this.suites,a.id)})},specStarted:function(a){this.currentSuite||this.suiteStarted(i),a=e(a),a._suite=this.currentSuite,a._suite.started||this.suiteStarted(a._suite),a.startTime=new Date,a._suite.startTime||(a._suite.startTime=a.startTime),this.currentSpec=a,this.runner.test({title:a.description,parent:this.id(this.suites,a._suite.id),id:this.id(this.specs,a.id)})},specDone:function(a){if(a.failedExpectations.length>0){var b=a.failedExpectations[0].message,c=a.failedExpectations[0].stack;this.failed++,this.total++,this.runner.fail({id:this.id(this.specs,this.currentSpec.id),err:{message:b,stack:c}})}else if(a.passedExpectations.length>0){var d=(new Date).getTime()-this.currentSpec.startTime||0;this.total++,this.runner.pass({duration:d,id:this.id(this.specs,this.currentSpec.id)})}}}),b.exports=function(a,b){a.getEnv().addReporter(new h(b))},b.exports.Reporter=h},{"./../guid":6,underscore:16}],3:[function(a,b,c){function d(a){var b=this,c={"test end":"testEnd","suite end":"suiteEnd"},d=function(d,e){a.on(d,function(){var a=e.apply(e,arguments),f=c[d]||d;b.api[f](a)})};this.originalReporter=new this.OldReporter(a),this.ids=[],this.uuids={},this.last={},this.total=0,this.pending=0,this.failed=0,this.runId=f(),d("start",function(){return{environment:navigator.userAgent,runner:"Mocha",time:(new Date).getTime(),id:b.runId}}),d("fail",function(a,c){var d=b.diff(a);return d.err={message:c.message,stack:c.stack||""},d}),d("end",function(a){var c=b.diff(a);return c.id=b.runId,c.total=b.total,c.failed=b.failed,c.pending=b.pending,c.passed=b.total-b.failed-b.pending,c}),d("suite",function(a){var c=b.diff(a);return a.root&&(c.parent=b.runId),c}),e.each(["suite end","pending","test","test end","pass"],function(a){d(a,e.bind(b.diff,b))}),a.on("pending",function(){b.pending++,b.total++}),a.on("fail",function(){b.failed++,b.total++}),a.on("pass",function(){b.total++})}var e=a("underscore"),f=a("./../guid");d.prototype.objectify=function(a){var b={},c=this;return e.each(a,function(a,d){var f=0===d.indexOf("_")||0===d.indexOf("$");if("object"!=typeof a||f)"function"==typeof a||f||void 0===a||(b[d]=a);else{var g=e.indexOf(c.ids,a);~g&&(b[d]=c.uuids[g])}}),b},d.prototype.diff=function(a){var b=this,c=b.objectify(a),d={},g=e.indexOf(b.ids,a);return~g?e.each(c,function(a,c){b.last[g][c]!==a&&(d[c]=a)}):(g=b.ids.push(a)-1,b.uuids[g]=f(),d=e.clone(c||{})),b.last[g]=c,d.id=b.uuids[g],d},b.exports=function(a,b){d.prototype.api=b,d.prototype.OldReporter=a._reporter,a.reporter(d)},b.exports.Reporter=d},{"./../guid":6,underscore:16}],4:[function(a,b,c){var d=a("./../guid");b.exports=function(a,b,c){var e=[],f=function(){return e[e.length-1]},g=function(){b.suiteEnd({id:f()}),e.pop()},h=d();return a.begin(function(){var a=c.document.getElementsByTagName("title")[0]||document.getElementsByTagName("h1")[0],f=d();b.start({id:h,environment:c.navigator.userAgent,runner:"QUnit",time:(new Date).getTime()}),b.suite({title:a?a.innerHTML:"",root:!0,id:f,parent:h}),e.push(f)}),a.moduleStart(function(a){var c=d();b.suite({title:a.name,parent:f(),id:c}),e.push(c)}),a.moduleDone(function(a){b.suiteEnd({failed:a.failed,total:a.total,id:f()}),e.pop()}),a.testStart(function(a){var c=d();b.suite({title:a.name,parent:f(),id:c}),e.push(c)}),a.testDone(g),a.log(function(a){var c=d(),e="";if(b.test({id:c,title:a.message||"okay",parent:f()}),a.result)b.pass({id:c});else{e=a.expected?"Expected "+a.expected+" but was "+a.actual:"Expected assertion to be truthy but it was not";var g=(a.source||"").replace(/\\n/g,"\n\t");b.fail({id:c,err:{message:e,stack:"Error: "+e+"\n"+g}})}b.testEnd({id:c})}),a.done(function(a){a.id=h,g(),b.end(a)}),a}},{"./../guid":6}],5:[function(a,b,c){"use strict";var d=function(){},e=function(a){g=!1,e.isReady=!1,"function"==typeof a&&(d=a),j()},f=window.document,g=!1,h=function(){f.addEventListener?f.removeEventListener("DOMContentLoaded",h,!1):f.detachEvent("onreadystatechange",h),i()},i=function(){if(!e.isReady){if(!f.body)return setTimeout(i,1);e.isReady=!0,d()}},j=function(){var a=!1;if(!g)if(g=!0,"loading"!==f.readyState&&i(),f.addEventListener)f.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1);else if(f.attachEvent){f.attachEvent("onreadystatechange",h),window.attachEvent("onload",h);try{a=null==window.frameElement}catch(a){}f.documentElement.doScroll&&a&&k()}},k=function(){if(!e.isReady){try{f.documentElement.doScroll("left")}catch(a){return void setTimeout(k,1)}i()}};e.isReady=!1,b.exports=e},{}],6:[function(a,b,c){var d=a("md5");b.exports=function(){var a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0,c="x"==a?b:3&b|8;return c.toString(16)});return d(a+navigator.useragent)}},{md5:14}],7:[function(a,b,c){var d=a("underscore"),e=a("es6-promise").Promise,f=a("./docready"),g=a("./runner"),h=a("./service"),i=a("./adapters/qunit"),j=a("./adapters/jasmine-legacy"),k=a("./adapters/jasmine"),l=a("./adapters/mocha");f(function(){var a=window.Testee=window.Testee||{};a.socket=a.socket||io(),d.defaults(a,{runs:h("runs",a.socket),suites:h("suites",a.socket),tests:h("tests",a.socket),coverages:h("coverages",a.socket),runner:function(){return this._runner||(this._runner=g(a)),this._runner},canInitialize:function(){return window.QUnit||window.jasmine&&window.jasmine.version_&&1===window.jasmine.version_.major||window.jasmine&&window.jasmine.version&&"2"===window.jasmine.version.split(".")[0]||window.mocha&&window.Mocha},init:function(){window.QUnit&&this.initQUnit(window.QUnit),window.jasmine&&window.jasmine.version_&&1===window.jasmine.version_.major&&this.initJasmine1(window.jasmine),window.jasmine&&window.jasmine.version&&"2"===window.jasmine.version.split(".")[0]&&this.initJasmine(window.jasmine),window.mocha&&window.Mocha&&this.initMocha(window.mocha)},initQUnit:function(a){i(a,this.runner(),window)},initJasmine1:function(a){j(a,this.runner(),window)},initJasmine:function(a){k(a,this.runner(),window)},initMocha:function(a){l(a||window.mocha,this.runner(),window)},connect:new e(function(b){var c=function(){d.delay(function(){b(a.socket)},250)};a.socket.connected?c():a.socket.on("connect",c)})}),a.canInitialize()&&a.init()}),window._restoreUMD&&window._restoreUMD()},{"./adapters/jasmine":2,"./adapters/jasmine-legacy":1,"./adapters/mocha":3,"./adapters/qunit":4,"./docready":5,"./runner":8,"./service":9,"es6-promise":12,underscore:16}],8:[function(a,b,c){var d=a("underscore"),e=a("es6-promise").Promise;b.exports=function(a){var b={file:window.location.toString()};return d.extend({call:function(a,b){var c=d.toArray(arguments).slice(2),f=this[a];return this.connect=this.connect.then(function(){return new e(function(a,d){c.push({}),c.push(function(b,c){b?d(c):a(c)}),f[b].apply(f,c)})}),this.connect},start:function(a){a=d.extend({status:"running"},b,a),this.call("runs","create",a)},suite:function(a){a=d.extend({status:"running"},b,a),this.call("suites","create",a)},test:function(a){a=d.extend({},b,a),this.call("tests","create",a)},pending:function(a){a=d.extend({status:"pending"},b,a),this.call("tests","create",a)},pass:function(a){a=d.extend({status:"passed"},a),this.call("tests","patch",a.id,a)},fail:function(a){a=d.extend({status:"failed"},a),this.call("tests","patch",a.id,a)},testEnd:function(){},suiteEnd:function(a){a=d.extend({status:"finished"},a),this.call("suites","patch",a.id,a)},end:function(a){a=d.extend({status:"finished"},a);var b=this.socket;window.__coverage__&&this.coverages&&this.call("coverages","create",{id:a.id,run:a,coverage:window.__coverage__}),this.call("runs","patch",a.id,a).then(function(){"function"==typeof b.disconnect&&b.disconnect()})}},a)}},{"es6-promise":12,underscore:16}],9:[function(a,b,c){var d=a("underscore"),e=function(a){return a.replace(/^\/|\/$/g,"")},f=["find","get","create","update","patch","remove"],g=function(a,b){this.path=e(a),this.socket=b};g.prototype.on=function(a,b){this.socket.on(this.path+" "+a,b)},g.prototype.off=function(a,b){this.socket.off(this.path+" "+a,b)},d.each(f,function(a){g.prototype[a]=function(){var b=Array.prototype.slice.call(arguments,0);b.unshift(this.path+"::"+a),this.socket.emit.apply(this.socket,b)}}),b.exports=function(a,b){return new g(a,b)},b.exports.Service=g},{underscore:16}],10:[function(a,b,c){var d={utf8:{stringToBytes:function(a){return d.bin.stringToBytes(unescape(encodeURIComponent(a)))},bytesToString:function(a){return decodeURIComponent(escape(d.bin.bytesToString(a)))}},bin:{stringToBytes:function(a){for(var b=[],c=0;c<a.length;c++)b.push(255&a.charCodeAt(c));return b},bytesToString:function(a){for(var b=[],c=0;c<a.length;c++)b.push(String.fromCharCode(a[c]));return b.join("")}}};b.exports=d},{}],11:[function(a,b,c){!function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c={rotl:function(a,b){return a<<b|a>>>32-b},rotr:function(a,b){return a<<32-b|a>>>b},endian:function(a){if(a.constructor==Number)return 16711935&c.rotl(a,8)|4278255360&c.rotl(a,24);for(var b=0;b<a.length;b++)a[b]=c.endian(a[b]);return a},randomBytes:function(a){for(var b=[];a>0;a--)b.push(Math.floor(256*Math.random()));return b},bytesToWords:function(a){for(var b=[],c=0,d=0;c<a.length;c++,d+=8)b[d>>>5]|=a[c]<<24-d%32;return b},wordsToBytes:function(a){for(var b=[],c=0;c<32*a.length;c+=8)b.push(a[c>>>5]>>>24-c%32&255);return b},bytesToHex:function(a){for(var b=[],c=0;c<a.length;c++)b.push((a[c]>>>4).toString(16)),b.push((15&a[c]).toString(16));return b.join("")},hexToBytes:function(a){for(var b=[],c=0;c<a.length;c+=2)b.push(parseInt(a.substr(c,2),16));return b},bytesToBase64:function(b){for(var c=[],d=0;d<b.length;d+=3)for(var e=b[d]<<16|b[d+1]<<8|b[d+2],f=0;f<4;f++)8*d+6*f<=8*b.length?c.push(a.charAt(e>>>6*(3-f)&63)):c.push("=");return c.join("")},base64ToBytes:function(b){b=b.replace(/[^A-Z0-9+\/]/gi,"");for(var c=[],d=0,e=0;d<b.length;e=++d%4)0!=e&&c.push((a.indexOf(b.charAt(d-1))&Math.pow(2,-2*e+8)-1)<<2*e|a.indexOf(b.charAt(d))>>>6-2*e);return c}};b.exports=c}()},{}],12:[function(a,b,c){(function(c,d){(function(){"use strict";function e(a){return"function"==typeof a||"object"==typeof a&&null!==a}function f(a){return"function"==typeof a}function g(a){W=a}function h(a){$=a}function i(){return function(){c.nextTick(n)}}function j(){return function(){V(n)}}function k(){var a=0,b=new ba(n),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function l(){var a=new MessageChannel;return a.port1.onmessage=n,function(){a.port2.postMessage(0)}}function m(){return function(){setTimeout(n,1)}}function n(){for(var a=0;a<Z;a+=2){var b=ea[a],c=ea[a+1];b(c),ea[a]=void 0,ea[a+1]=void 0}Z=0}function o(){try{var b=a,c=b("vertx");return V=c.runOnLoop||c.runOnContext,j()}catch(a){return m()}}function p(a,b){var c=this,d=new this.constructor(r);void 0===d[ha]&&K(d);var e=c._state;if(e){var f=arguments[e-1];$(function(){H(e,d,f,c._result)})}else D(c,d,a,b);return d}function q(a){var b=this;if(a&&"object"==typeof a&&a.constructor===b)return a;var c=new b(r);return z(c,a),c}function r(){}function s(){return new TypeError("You cannot resolve a promise with itself")}function t(){return new TypeError("A promises callback cannot return that same promise.")}function u(a){try{return a.then}catch(a){return la.error=a,la}}function v(a,b,c,d){try{a.call(b,c,d)}catch(a){return a}}function w(a,b,c){$(function(a){var d=!1,e=v(c,b,function(c){d||(d=!0,b!==c?z(a,c):B(a,c))},function(b){d||(d=!0,C(a,b))},"Settle: "+(a._label||" unknown promise"));!d&&e&&(d=!0,C(a,e))},a)}function x(a,b){b._state===ja?B(a,b._result):b._state===ka?C(a,b._result):D(b,void 0,function(b){z(a,b)},function(b){C(a,b)})}function y(a,b,c){b.constructor===a.constructor&&c===fa&&constructor.resolve===ga?x(a,b):c===la?C(a,la.error):void 0===c?B(a,b):f(c)?w(a,b,c):B(a,b)}function z(a,b){a===b?C(a,s()):e(b)?y(a,b,u(b)):B(a,b)}function A(a){a._onerror&&a._onerror(a._result),E(a)}function B(a,b){a._state===ia&&(a._result=b,a._state=ja,0!==a._subscribers.length&&$(E,a))}function C(a,b){a._state===ia&&(a._state=ka,a._result=b,$(A,a))}function D(a,b,c,d){var e=a._subscribers,f=e.length;a._onerror=null,e[f]=b,e[f+ja]=c,e[f+ka]=d,0===f&&a._state&&$(E,a)}function E(a){var b=a._subscribers,c=a._state;if(0!==b.length){for(var d,e,f=a._result,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?H(c,d,e,f):e(f);a._subscribers.length=0}}function F(){this.error=null}function G(a,b){try{return a(b)}catch(a){return ma.error=a,ma}}function H(a,b,c,d){var e,g,h,i,j=f(c);if(j){if(e=G(c,d),e===ma?(i=!0,g=e.error,e=null):h=!0,b===e)return void C(b,t())}else e=d,h=!0;b._state!==ia||(j&&h?z(b,e):i?C(b,g):a===ja?B(b,e):a===ka&&C(b,e))}function I(a,b){try{b(function(b){z(a,b)},function(b){C(a,b)})}catch(b){C(a,b)}}function J(){return na++}function K(a){a[ha]=na++,a._state=void 0,a._result=void 0,a._subscribers=[]}function L(a){return new sa(this,a).promise}function M(a){var b=this;return new b(Y(a)?function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}:function(a,b){b(new TypeError("You must pass an array to race."))})}function N(a){var b=this,c=new b(r);return C(c,a),c}function O(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function P(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function Q(a){this[ha]=J(),this._result=this._state=void 0,this._subscribers=[],r!==a&&("function"!=typeof a&&O(),this instanceof Q?I(this,a):P())}function R(a,b){this._instanceConstructor=a,this.promise=new a(r),this.promise[ha]||K(this.promise),Y(b)?(this._input=b,this.length=b.length,this._remaining=b.length,this._result=new Array(this.length),0===this.length?B(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&B(this.promise,this._result))):C(this.promise,S())}function S(){return new Error("Array Methods must be provided an Array")}function T(){var a;if("undefined"!=typeof d)a=d;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(a){throw new Error("polyfill failed because global object is unavailable in this environment")}var b=a.Promise;b&&"[object Promise]"===Object.prototype.toString.call(b.resolve())&&!b.cast||(a.Promise=ra)}var U;U=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)};var V,W,X,Y=U,Z=0,$=function(a,b){ea[Z]=a,ea[Z+1]=b,Z+=2,2===Z&&(W?W(n):X())},_="undefined"!=typeof window?window:void 0,aa=_||{},ba=aa.MutationObserver||aa.WebKitMutationObserver,ca="undefined"==typeof self&&"undefined"!=typeof c&&"[object process]"==={}.toString.call(c),da="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ea=new Array(1e3);X=ca?i():ba?k():da?l():void 0===_&&"function"==typeof a?o():m();var fa=p,ga=q,ha=Math.random().toString(36).substring(16),ia=void 0,ja=1,ka=2,la=new F,ma=new F,na=0,oa=L,pa=M,qa=N,ra=Q;Q.all=oa,Q.race=pa,Q.resolve=ga,Q.reject=qa,Q._setScheduler=g,Q._setAsap=h,Q._asap=$,Q.prototype={constructor:Q,then:fa,catch:function(a){return this.then(null,a)}};var sa=R;R.prototype._enumerate=function(){for(var a=this.length,b=this._input,c=0;this._state===ia&&c<a;c++)this._eachEntry(b[c],c)},R.prototype._eachEntry=function(a,b){var c=this._instanceConstructor,d=c.resolve;if(d===ga){var e=u(a);if(e===fa&&a._state!==ia)this._settledAt(a._state,b,a._result);else if("function"!=typeof e)this._remaining--,this._result[b]=a;else if(c===ra){var f=new c(r);y(f,a,e),this._willSettleAt(f,b)}else this._willSettleAt(new c(function(b){b(a)}),b)}else this._willSettleAt(d(a),b)},R.prototype._settledAt=function(a,b,c){var d=this.promise;d._state===ia&&(this._remaining--,a===ka?C(d,c):this._result[b]=c),0===this._remaining&&B(d,this._result)},R.prototype._willSettleAt=function(a,b){var c=this;D(a,void 0,function(a){c._settledAt(ja,b,a)},function(a){c._settledAt(ka,b,a)})};var ta=T,ua={Promise:ra,polyfill:ta};"function"==typeof define&&define.amd?define(function(){return ua}):"undefined"!=typeof b&&b.exports?b.exports=ua:"undefined"!=typeof this&&(this.ES6Promise=ua),ta()}).call(this)}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:15}],13:[function(a,b,c){function d(a){return!!a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)}function e(a){return"function"==typeof a.readFloatLE&&"function"==typeof a.slice&&d(a.slice(0,0))}b.exports=function(a){return null!=a&&(d(a)||e(a)||!!a._isBuffer)}},{}],14:[function(a,b,c){!function(){var c=a("crypt"),d=a("charenc").utf8,e=a("is-buffer"),f=a("charenc").bin,g=function(a,b){a.constructor==String?a=b&&"binary"===b.encoding?f.stringToBytes(a):d.stringToBytes(a):e(a)?a=Array.prototype.slice.call(a,0):Array.isArray(a)||(a=a.toString());for(var h=c.bytesToWords(a),i=8*a.length,j=1732584193,k=-271733879,l=-1732584194,m=271733878,n=0;n<h.length;n++)h[n]=16711935&(h[n]<<8|h[n]>>>24)|4278255360&(h[n]<<24|h[n]>>>8);h[i>>>5]|=128<<i%32,h[(i+64>>>9<<4)+14]=i;for(var o=g._ff,p=g._gg,q=g._hh,r=g._ii,n=0;n<h.length;n+=16){var s=j,t=k,u=l,v=m;j=o(j,k,l,m,h[n+0],7,-680876936),m=o(m,j,k,l,h[n+1],12,-389564586),l=o(l,m,j,k,h[n+2],17,606105819),k=o(k,l,m,j,h[n+3],22,-1044525330),j=o(j,k,l,m,h[n+4],7,-176418897),m=o(m,j,k,l,h[n+5],12,1200080426),l=o(l,m,j,k,h[n+6],17,-1473231341),k=o(k,l,m,j,h[n+7],22,-45705983),j=o(j,k,l,m,h[n+8],7,1770035416),m=o(m,j,k,l,h[n+9],12,-1958414417),l=o(l,m,j,k,h[n+10],17,-42063),k=o(k,l,m,j,h[n+11],22,-1990404162),j=o(j,k,l,m,h[n+12],7,1804603682),m=o(m,j,k,l,h[n+13],12,-40341101),l=o(l,m,j,k,h[n+14],17,-1502002290),k=o(k,l,m,j,h[n+15],22,1236535329),j=p(j,k,l,m,h[n+1],5,-165796510),m=p(m,j,k,l,h[n+6],9,-1069501632),l=p(l,m,j,k,h[n+11],14,643717713),k=p(k,l,m,j,h[n+0],20,-373897302),j=p(j,k,l,m,h[n+5],5,-701558691),m=p(m,j,k,l,h[n+10],9,38016083),l=p(l,m,j,k,h[n+15],14,-660478335),k=p(k,l,m,j,h[n+4],20,-405537848),j=p(j,k,l,m,h[n+9],5,568446438),m=p(m,j,k,l,h[n+14],9,-1019803690),l=p(l,m,j,k,h[n+3],14,-187363961),k=p(k,l,m,j,h[n+8],20,1163531501),j=p(j,k,l,m,h[n+13],5,-1444681467),m=p(m,j,k,l,h[n+2],9,-51403784),l=p(l,m,j,k,h[n+7],14,1735328473),k=p(k,l,m,j,h[n+12],20,-1926607734),j=q(j,k,l,m,h[n+5],4,-378558),m=q(m,j,k,l,h[n+8],11,-2022574463),l=q(l,m,j,k,h[n+11],16,1839030562),k=q(k,l,m,j,h[n+14],23,-35309556),j=q(j,k,l,m,h[n+1],4,-1530992060),m=q(m,j,k,l,h[n+4],11,1272893353),l=q(l,m,j,k,h[n+7],16,-155497632),k=q(k,l,m,j,h[n+10],23,-1094730640),j=q(j,k,l,m,h[n+13],4,681279174),m=q(m,j,k,l,h[n+0],11,-358537222),l=q(l,m,j,k,h[n+3],16,-722521979),k=q(k,l,m,j,h[n+6],23,76029189),j=q(j,k,l,m,h[n+9],4,-640364487),m=q(m,j,k,l,h[n+12],11,-421815835),l=q(l,m,j,k,h[n+15],16,530742520),k=q(k,l,m,j,h[n+2],23,-995338651),j=r(j,k,l,m,h[n+0],6,-198630844),m=r(m,j,k,l,h[n+7],10,1126891415),l=r(l,m,j,k,h[n+14],15,-1416354905),k=r(k,l,m,j,h[n+5],21,-57434055),j=r(j,k,l,m,h[n+12],6,1700485571),m=r(m,j,k,l,h[n+3],10,-1894986606),l=r(l,m,j,k,h[n+10],15,-1051523),k=r(k,l,m,j,h[n+1],21,-2054922799),j=r(j,k,l,m,h[n+8],6,1873313359),m=r(m,j,k,l,h[n+15],10,-30611744),l=r(l,m,j,k,h[n+6],15,-1560198380),k=r(k,l,m,j,h[n+13],21,1309151649),j=r(j,k,l,m,h[n+4],6,-145523070),m=r(m,j,k,l,h[n+11],10,-1120210379),l=r(l,m,j,k,h[n+2],15,718787259),k=r(k,l,m,j,h[n+9],21,-343485551),j=j+s>>>0,k=k+t>>>0,l=l+u>>>0,m=m+v>>>0}return c.endian([j,k,l,m])};g._ff=function(a,b,c,d,e,f,g){var h=a+(b&c|~b&d)+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._gg=function(a,b,c,d,e,f,g){var h=a+(b&d|c&~d)+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._hh=function(a,b,c,d,e,f,g){var h=a+(b^c^d)+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._ii=function(a,b,c,d,e,f,g){var h=a+(c^(b|~d))+(e>>>0)+g;return(h<<f|h>>>32-f)+b},g._blocksize=16,g._digestsize=16,b.exports=function(a,b){if(void 0===a||null===a)throw new Error("Illegal argument "+a);var d=c.wordsToBytes(g(a,b));return b&&b.asBytes?d:b&&b.asString?f.bytesToString(d):c.bytesToHex(d)}}()},{charenc:10,crypt:11,"is-buffer":13}],15:[function(a,b,c){function d(){throw new Error("setTimeout has not been defined")}function e(){throw new Error("clearTimeout has not been defined")}function f(a){if(l===setTimeout)return setTimeout(a,0);if((l===d||!l)&&setTimeout)return l=setTimeout,setTimeout(a,0);try{return l(a,0)}catch(b){try{return l.call(null,a,0)}catch(b){return l.call(this,a,0)}}}function g(a){if(m===clearTimeout)return clearTimeout(a);if((m===e||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(a);try{return m(a)}catch(b){try{return m.call(null,a)}catch(b){return m.call(this,a)}}}function h(){q&&o&&(q=!1,o.length?p=o.concat(p):r=-1,p.length&&i())}function i(){if(!q){var a=f(h);q=!0;for(var b=p.length;b;){for(o=p,p=[];++r<b;)o&&o[r].run();r=-1,b=p.length}o=null,q=!1,g(a)}}function j(a,b){this.fun=a,this.array=b}function k(){}var l,m,n=b.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:d}catch(a){l=d}try{m="function"==typeof clearTimeout?clearTimeout:e}catch(a){m=e}}();var o,p=[],q=!1,r=-1;n.nextTick=function(a){var b=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];p.push(new j(a,b)),1!==p.length||q||f(i)},j.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=k,n.addListener=k,n.once=k,n.off=k,n.removeListener=k,n.removeAllListeners=k,n.emit=k,n.binding=function(a){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},{}],16:[function(a,b,c){(function(){function a(a){function b(b,c,d,e,f,g){for(;f>=0&&f<g;f+=a){var h=e?e[f]:f;d=c(d,b[h],h,b)}return d}return function(c,d,e,f){d=v(d,f,4);var g=!C(c)&&u.keys(c),h=(g||c).length,i=a>0?0:h-1;return arguments.length<3&&(e=c[g?g[i]:i],i+=a),b(c,d,e,g,i,h)}}function d(a){return function(b,c,d){c=w(c,d);for(var e=B(b),f=a>0?0:e-1;f>=0&&f<e;f+=a)if(c(b[f],f,b))return f;return-1}}function e(a,b,c){return function(d,e,f){var g=0,h=B(d);if("number"==typeof f)a>0?g=f>=0?f:Math.max(f+h,g):h=f>=0?Math.min(f+1,h):f+h+1;else if(c&&f&&h)return f=c(d,e),d[f]===e?f:-1;if(e!==e)return f=b(m.call(d,g,h),u.isNaN),f>=0?f+g:-1;for(f=a>0?g:h-1;f>=0&&f<h;f+=a)if(d[f]===e)return f;return-1}}function f(a,b){var c=H.length,d=a.constructor,e=u.isFunction(d)&&d.prototype||j,f="constructor";for(u.has(a,f)&&!u.contains(b,f)&&b.push(f);c--;)f=H[c],f in a&&a[f]!==e[f]&&!u.contains(b,f)&&b.push(f)}var g=this,h=g._,i=Array.prototype,j=Object.prototype,k=Function.prototype,l=i.push,m=i.slice,n=j.toString,o=j.hasOwnProperty,p=Array.isArray,q=Object.keys,r=k.bind,s=Object.create,t=function(){},u=function(a){return a instanceof u?a:this instanceof u?void(this._wrapped=a):new u(a)};"undefined"!=typeof c?("undefined"!=typeof b&&b.exports&&(c=b.exports=u),c._=u):g._=u,u.VERSION="1.8.3";var v=function(a,b,c){if(void 0===b)return a;switch(null==c?3:c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)};case 4:return function(c,d,e,f){return a.call(b,c,d,e,f)}}return function(){return a.apply(b,arguments)}},w=function(a,b,c){return null==a?u.identity:u.isFunction(a)?v(a,b,c):u.isObject(a)?u.matcher(a):u.property(a)};u.iteratee=function(a,b){return w(a,b,1/0)};var x=function(a,b){return function(c){var d=arguments.length;if(d<2||null==c)return c;for(var e=1;e<d;e++)for(var f=arguments[e],g=a(f),h=g.length,i=0;i<h;i++){var j=g[i];b&&void 0!==c[j]||(c[j]=f[j])}return c}},y=function(a){if(!u.isObject(a))return{};if(s)return s(a);t.prototype=a;var b=new t;return t.prototype=null,b},z=function(a){return function(b){return null==b?void 0:b[a]}},A=Math.pow(2,53)-1,B=z("length"),C=function(a){var b=B(a);return"number"==typeof b&&b>=0&&b<=A};u.each=u.forEach=function(a,b,c){b=v(b,c);var d,e;if(C(a))for(d=0,e=a.length;d<e;d++)b(a[d],d,a);else{var f=u.keys(a);for(d=0,e=f.length;d<e;d++)b(a[f[d]],f[d],a)}return a},u.map=u.collect=function(a,b,c){b=w(b,c);for(var d=!C(a)&&u.keys(a),e=(d||a).length,f=Array(e),g=0;g<e;g++){var h=d?d[g]:g;f[g]=b(a[h],h,a)}return f},u.reduce=u.foldl=u.inject=a(1),u.reduceRight=u.foldr=a(-1),u.find=u.detect=function(a,b,c){var d;if(d=C(a)?u.findIndex(a,b,c):u.findKey(a,b,c),void 0!==d&&d!==-1)return a[d]},u.filter=u.select=function(a,b,c){var d=[];return b=w(b,c),u.each(a,function(a,c,e){b(a,c,e)&&d.push(a)}),d},u.reject=function(a,b,c){return u.filter(a,u.negate(w(b)),c)},u.every=u.all=function(a,b,c){b=w(b,c);for(var d=!C(a)&&u.keys(a),e=(d||a).length,f=0;f<e;f++){var g=d?d[f]:f;if(!b(a[g],g,a))return!1}return!0},u.some=u.any=function(a,b,c){b=w(b,c);for(var d=!C(a)&&u.keys(a),e=(d||a).length,f=0;f<e;f++){var g=d?d[f]:f;if(b(a[g],g,a))return!0}return!1},u.contains=u.includes=u.include=function(a,b,c,d){return C(a)||(a=u.values(a)),("number"!=typeof c||d)&&(c=0),u.indexOf(a,b,c)>=0},u.invoke=function(a,b){var c=m.call(arguments,2),d=u.isFunction(b);return u.map(a,function(a){var e=d?b:a[b];return null==e?e:e.apply(a,c)})},u.pluck=function(a,b){return u.map(a,u.property(b))},u.where=function(a,b){return u.filter(a,u.matcher(b))},u.findWhere=function(a,b){return u.find(a,u.matcher(b))},u.max=function(a,b,c){var d,e,f=-(1/0),g=-(1/0);if(null==b&&null!=a){a=C(a)?a:u.values(a);for(var h=0,i=a.length;h<i;h++)d=a[h],d>f&&(f=d)}else b=w(b,c),u.each(a,function(a,c,d){e=b(a,c,d),(e>g||e===-(1/0)&&f===-(1/0))&&(f=a,g=e)});return f},u.min=function(a,b,c){var d,e,f=1/0,g=1/0;if(null==b&&null!=a){a=C(a)?a:u.values(a);for(var h=0,i=a.length;h<i;h++)d=a[h],d<f&&(f=d)}else b=w(b,c),u.each(a,function(a,c,d){e=b(a,c,d),(e<g||e===1/0&&f===1/0)&&(f=a,g=e)});return f},u.shuffle=function(a){for(var b,c=C(a)?a:u.values(a),d=c.length,e=Array(d),f=0;f<d;f++)b=u.random(0,f),b!==f&&(e[f]=e[b]),e[b]=c[f];return e},u.sample=function(a,b,c){return null==b||c?(C(a)||(a=u.values(a)),a[u.random(a.length-1)]):u.shuffle(a).slice(0,Math.max(0,b))},u.sortBy=function(a,b,c){return b=w(b,c),u.pluck(u.map(a,function(a,c,d){return{value:a,index:c,criteria:b(a,c,d)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;if(c!==d){if(c>d||void 0===c)return 1;if(c<d||void 0===d)return-1}return a.index-b.index}),"value")};var D=function(a){return function(b,c,d){var e={};return c=w(c,d),u.each(b,function(d,f){var g=c(d,f,b);a(e,d,g)}),e}};u.groupBy=D(function(a,b,c){u.has(a,c)?a[c].push(b):a[c]=[b]}),u.indexBy=D(function(a,b,c){a[c]=b}),u.countBy=D(function(a,b,c){u.has(a,c)?a[c]++:a[c]=1}),u.toArray=function(a){return a?u.isArray(a)?m.call(a):C(a)?u.map(a,u.identity):u.values(a):[]},u.size=function(a){return null==a?0:C(a)?a.length:u.keys(a).length},u.partition=function(a,b,c){b=w(b,c);var d=[],e=[];return u.each(a,function(a,c,f){(b(a,c,f)?d:e).push(a)}),[d,e]},u.first=u.head=u.take=function(a,b,c){if(null!=a)return null==b||c?a[0]:u.initial(a,a.length-b)},u.initial=function(a,b,c){return m.call(a,0,Math.max(0,a.length-(null==b||c?1:b)))},u.last=function(a,b,c){if(null!=a)return null==b||c?a[a.length-1]:u.rest(a,Math.max(0,a.length-b))},u.rest=u.tail=u.drop=function(a,b,c){return m.call(a,null==b||c?1:b)},u.compact=function(a){return u.filter(a,u.identity)};var E=function(a,b,c,d){for(var e=[],f=0,g=d||0,h=B(a);g<h;g++){var i=a[g];if(C(i)&&(u.isArray(i)||u.isArguments(i))){b||(i=E(i,b,c));var j=0,k=i.length;for(e.length+=k;j<k;)e[f++]=i[j++]}else c||(e[f++]=i)}return e};u.flatten=function(a,b){return E(a,b,!1)},u.without=function(a){return u.difference(a,m.call(arguments,1))},u.uniq=u.unique=function(a,b,c,d){u.isBoolean(b)||(d=c,c=b,b=!1),null!=c&&(c=w(c,d));for(var e=[],f=[],g=0,h=B(a);g<h;g++){var i=a[g],j=c?c(i,g,a):i;b?(g&&f===j||e.push(i),f=j):c?u.contains(f,j)||(f.push(j),e.push(i)):u.contains(e,i)||e.push(i)}return e},u.union=function(){return u.uniq(E(arguments,!0,!0))},u.intersection=function(a){for(var b=[],c=arguments.length,d=0,e=B(a);d<e;d++){var f=a[d];if(!u.contains(b,f)){for(var g=1;g<c&&u.contains(arguments[g],f);g++);g===c&&b.push(f)}}return b},u.difference=function(a){var b=E(arguments,!0,!0,1);return u.filter(a,function(a){return!u.contains(b,a)})},u.zip=function(){return u.unzip(arguments)},u.unzip=function(a){for(var b=a&&u.max(a,B).length||0,c=Array(b),d=0;d<b;d++)c[d]=u.pluck(a,d);return c},u.object=function(a,b){for(var c={},d=0,e=B(a);d<e;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c},u.findIndex=d(1),u.findLastIndex=d(-1),u.sortedIndex=function(a,b,c,d){c=w(c,d,1);for(var e=c(b),f=0,g=B(a);f<g;){var h=Math.floor((f+g)/2);c(a[h])<e?f=h+1:g=h}return f},u.indexOf=e(1,u.findIndex,u.sortedIndex),
u.lastIndexOf=e(-1,u.findLastIndex),u.range=function(a,b,c){null==b&&(b=a||0,a=0),c=c||1;for(var d=Math.max(Math.ceil((b-a)/c),0),e=Array(d),f=0;f<d;f++,a+=c)e[f]=a;return e};var F=function(a,b,c,d,e){if(!(d instanceof b))return a.apply(c,e);var f=y(a.prototype),g=a.apply(f,e);return u.isObject(g)?g:f};u.bind=function(a,b){if(r&&a.bind===r)return r.apply(a,m.call(arguments,1));if(!u.isFunction(a))throw new TypeError("Bind must be called on a function");var c=m.call(arguments,2),d=function(){return F(a,d,b,this,c.concat(m.call(arguments)))};return d},u.partial=function(a){var b=m.call(arguments,1),c=function(){for(var d=0,e=b.length,f=Array(e),g=0;g<e;g++)f[g]=b[g]===u?arguments[d++]:b[g];for(;d<arguments.length;)f.push(arguments[d++]);return F(a,c,this,this,f)};return c},u.bindAll=function(a){var b,c,d=arguments.length;if(d<=1)throw new Error("bindAll must be passed function names");for(b=1;b<d;b++)c=arguments[b],a[c]=u.bind(a[c],a);return a},u.memoize=function(a,b){var c=function(d){var e=c.cache,f=""+(b?b.apply(this,arguments):d);return u.has(e,f)||(e[f]=a.apply(this,arguments)),e[f]};return c.cache={},c},u.delay=function(a,b){var c=m.call(arguments,2);return setTimeout(function(){return a.apply(null,c)},b)},u.defer=u.partial(u.delay,u,1),u.throttle=function(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=c.leading===!1?0:u.now(),g=null,f=a.apply(d,e),g||(d=e=null)};return function(){var j=u.now();h||c.leading!==!1||(h=j);var k=b-(j-h);return d=this,e=arguments,k<=0||k>b?(g&&(clearTimeout(g),g=null),h=j,f=a.apply(d,e),g||(d=e=null)):g||c.trailing===!1||(g=setTimeout(i,k)),f}},u.debounce=function(a,b,c){var d,e,f,g,h,i=function(){var j=u.now()-g;j<b&&j>=0?d=setTimeout(i,b-j):(d=null,c||(h=a.apply(f,e),d||(f=e=null)))};return function(){f=this,e=arguments,g=u.now();var j=c&&!d;return d||(d=setTimeout(i,b)),j&&(h=a.apply(f,e),f=e=null),h}},u.wrap=function(a,b){return u.partial(b,a)},u.negate=function(a){return function(){return!a.apply(this,arguments)}},u.compose=function(){var a=arguments,b=a.length-1;return function(){for(var c=b,d=a[b].apply(this,arguments);c--;)d=a[c].call(this,d);return d}},u.after=function(a,b){return function(){if(--a<1)return b.apply(this,arguments)}},u.before=function(a,b){var c;return function(){return--a>0&&(c=b.apply(this,arguments)),a<=1&&(b=null),c}},u.once=u.partial(u.before,2);var G=!{toString:null}.propertyIsEnumerable("toString"),H=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];u.keys=function(a){if(!u.isObject(a))return[];if(q)return q(a);var b=[];for(var c in a)u.has(a,c)&&b.push(c);return G&&f(a,b),b},u.allKeys=function(a){if(!u.isObject(a))return[];var b=[];for(var c in a)b.push(c);return G&&f(a,b),b},u.values=function(a){for(var b=u.keys(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=a[b[e]];return d},u.mapObject=function(a,b,c){b=w(b,c);for(var d,e=u.keys(a),f=e.length,g={},h=0;h<f;h++)d=e[h],g[d]=b(a[d],d,a);return g},u.pairs=function(a){for(var b=u.keys(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=[b[e],a[b[e]]];return d},u.invert=function(a){for(var b={},c=u.keys(a),d=0,e=c.length;d<e;d++)b[a[c[d]]]=c[d];return b},u.functions=u.methods=function(a){var b=[];for(var c in a)u.isFunction(a[c])&&b.push(c);return b.sort()},u.extend=x(u.allKeys),u.extendOwn=u.assign=x(u.keys),u.findKey=function(a,b,c){b=w(b,c);for(var d,e=u.keys(a),f=0,g=e.length;f<g;f++)if(d=e[f],b(a[d],d,a))return d},u.pick=function(a,b,c){var d,e,f={},g=a;if(null==g)return f;u.isFunction(b)?(e=u.allKeys(g),d=v(b,c)):(e=E(arguments,!1,!1,1),d=function(a,b,c){return b in c},g=Object(g));for(var h=0,i=e.length;h<i;h++){var j=e[h],k=g[j];d(k,j,g)&&(f[j]=k)}return f},u.omit=function(a,b,c){if(u.isFunction(b))b=u.negate(b);else{var d=u.map(E(arguments,!1,!1,1),String);b=function(a,b){return!u.contains(d,b)}}return u.pick(a,b,c)},u.defaults=x(u.allKeys,!0),u.create=function(a,b){var c=y(a);return b&&u.extendOwn(c,b),c},u.clone=function(a){return u.isObject(a)?u.isArray(a)?a.slice():u.extend({},a):a},u.tap=function(a,b){return b(a),a},u.isMatch=function(a,b){var c=u.keys(b),d=c.length;if(null==a)return!d;for(var e=Object(a),f=0;f<d;f++){var g=c[f];if(b[g]!==e[g]||!(g in e))return!1}return!0};var I=function(a,b,c,d){if(a===b)return 0!==a||1/a===1/b;if(null==a||null==b)return a===b;a instanceof u&&(a=a._wrapped),b instanceof u&&(b=b._wrapped);var e=n.call(a);if(e!==n.call(b))return!1;switch(e){case"[object RegExp]":case"[object String]":return""+a==""+b;case"[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case"[object Date]":case"[object Boolean]":return+a===+b}var f="[object Array]"===e;if(!f){if("object"!=typeof a||"object"!=typeof b)return!1;var g=a.constructor,h=b.constructor;if(g!==h&&!(u.isFunction(g)&&g instanceof g&&u.isFunction(h)&&h instanceof h)&&"constructor"in a&&"constructor"in b)return!1}c=c||[],d=d||[];for(var i=c.length;i--;)if(c[i]===a)return d[i]===b;if(c.push(a),d.push(b),f){if(i=a.length,i!==b.length)return!1;for(;i--;)if(!I(a[i],b[i],c,d))return!1}else{var j,k=u.keys(a);if(i=k.length,u.keys(b).length!==i)return!1;for(;i--;)if(j=k[i],!u.has(b,j)||!I(a[j],b[j],c,d))return!1}return c.pop(),d.pop(),!0};u.isEqual=function(a,b){return I(a,b)},u.isEmpty=function(a){return null==a||(C(a)&&(u.isArray(a)||u.isString(a)||u.isArguments(a))?0===a.length:0===u.keys(a).length)},u.isElement=function(a){return!(!a||1!==a.nodeType)},u.isArray=p||function(a){return"[object Array]"===n.call(a)},u.isObject=function(a){var b=typeof a;return"function"===b||"object"===b&&!!a},u.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(a){u["is"+a]=function(b){return n.call(b)==="[object "+a+"]"}}),u.isArguments(arguments)||(u.isArguments=function(a){return u.has(a,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(u.isFunction=function(a){return"function"==typeof a||!1}),u.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},u.isNaN=function(a){return u.isNumber(a)&&a!==+a},u.isBoolean=function(a){return a===!0||a===!1||"[object Boolean]"===n.call(a)},u.isNull=function(a){return null===a},u.isUndefined=function(a){return void 0===a},u.has=function(a,b){return null!=a&&o.call(a,b)},u.noConflict=function(){return g._=h,this},u.identity=function(a){return a},u.constant=function(a){return function(){return a}},u.noop=function(){},u.property=z,u.propertyOf=function(a){return null==a?function(){}:function(b){return a[b]}},u.matcher=u.matches=function(a){return a=u.extendOwn({},a),function(b){return u.isMatch(b,a)}},u.times=function(a,b,c){var d=Array(Math.max(0,a));b=v(b,c,1);for(var e=0;e<a;e++)d[e]=b(e);return d},u.random=function(a,b){return null==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))},u.now=Date.now||function(){return(new Date).getTime()};var J={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},K=u.invert(J),L=function(a){var b=function(b){return a[b]},c="(?:"+u.keys(a).join("|")+")",d=RegExp(c),e=RegExp(c,"g");return function(a){return a=null==a?"":""+a,d.test(a)?a.replace(e,b):a}};u.escape=L(J),u.unescape=L(K),u.result=function(a,b,c){var d=null==a?void 0:a[b];return void 0===d&&(d=c),u.isFunction(d)?d.call(a):d};var M=0;u.uniqueId=function(a){var b=++M+"";return a?a+b:b},u.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var N=/(.)^/,O={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},P=/\\|'|\r|\n|\u2028|\u2029/g,Q=function(a){return"\\"+O[a]};u.template=function(a,b,c){!b&&c&&(b=c),b=u.defaults({},b,u.templateSettings);var d=RegExp([(b.escape||N).source,(b.interpolate||N).source,(b.evaluate||N).source].join("|")+"|$","g"),e=0,f="__p+='";a.replace(d,function(b,c,d,g,h){return f+=a.slice(e,h).replace(P,Q),e=h+b.length,c?f+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'":d?f+="'+\n((__t=("+d+"))==null?'':__t)+\n'":g&&(f+="';\n"+g+"\n__p+='"),b}),f+="';\n",b.variable||(f="with(obj||{}){\n"+f+"}\n"),f="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+f+"return __p;\n";try{var g=new Function(b.variable||"obj","_",f)}catch(a){throw a.source=f,a}var h=function(a){return g.call(this,a,u)},i=b.variable||"obj";return h.source="function("+i+"){\n"+f+"}",h},u.chain=function(a){var b=u(a);return b._chain=!0,b};var R=function(a,b){return a._chain?u(b).chain():b};u.mixin=function(a){u.each(u.functions(a),function(b){var c=u[b]=a[b];u.prototype[b]=function(){var a=[this._wrapped];return l.apply(a,arguments),R(this,c.apply(u,a))}})},u.mixin(u),u.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=i[a];u.prototype[a]=function(){var c=this._wrapped;return b.apply(c,arguments),"shift"!==a&&"splice"!==a||0!==c.length||delete c[0],R(this,c)}}),u.each(["concat","join","slice"],function(a){var b=i[a];u.prototype[a]=function(){return R(this,b.apply(this._wrapped,arguments))}}),u.prototype.value=function(){return this._wrapped},u.prototype.valueOf=u.prototype.toJSON=u.prototype.value,u.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return u})}).call(this)},{}]},{},[7]);

@@ -32,3 +32,3 @@ 'use strict';

debug: {
options: {
browserifyOptions: {
bundleOptions: {

@@ -35,0 +35,0 @@ debug: true

{
"name": "testee-client",
"version": "0.3.1",
"version": "0.3.2",
"description": "Testee testing framework client adapters",

@@ -27,3 +27,3 @@ "main": "dist/testee.js",

"dependencies": {
"es6-promise": "^1.0.0",
"es6-promise": "^3.2.1",
"md5": "^2.0.0",

@@ -34,12 +34,12 @@ "underscore": "^1.6.0"

"bower": "^1.3.4",
"browserify": "^4.1.8",
"grunt": "^0.4.5",
"grunt-browserify": "^2.1.0",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-qunit": "^0.5.1",
"grunt-contrib-uglify": "^0.4.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-release": "^0.7.0"
"browserify": "^13.1.0",
"grunt": "^1.0.1",
"grunt-browserify": "^5.0.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-qunit": "^1.2.0",
"grunt-contrib-uglify": "^2.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-release": "^0.14.0"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc