src/pyams_skin/resources/js/ext/ace/worker-javascript.min.js
changeset 557 bca7a7e058a3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/ace/worker-javascript.min.js	Thu Feb 13 11:43:31 2020 +0100
@@ -0,0 +1,1 @@
+"no use strict";!function(e){function t(e,t){for(var n=e,r="";n;){var i=t[n];if("string"==typeof i)return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(!1===i)return"";var o=n.lastIndexOf("/");if(-1===o)break;r=n.substr(o)+r,n=n.slice(0,o)}return e}if(!(void 0!==e.window&&e.document||e.require&&e.define)){e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){postMessage({type:"error",data:{message:e,data:i.data,file:t,line:n,col:r,stack:i.stack}})},e.normalizeModule=function(t,n){if(-1!==n.indexOf("!")){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if("."==n.charAt(0)){var i=t.split("/").slice(0,-1).join("/");for(n=(i?i+"/":"")+n;-1!==n.indexOf(".")&&o!=n;){var o=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(n,r){if(r||(r=n,n=null),!r.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");r=e.normalizeModule(n,r);var i=e.require.modules[r];if(i)return i.initialized||(i.initialized=!0,i.exports=i.factory().exports),i.exports;if(!e.require.tlns)return console.log("unable to load "+r);var o=t(r,e.require.tlns);return".js"!=o.slice(-3)&&(o+=".js"),e.require.id=r,e.require.modules[r]={},importScripts(o),e.require(n,r)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){if(2==arguments.length?(r=n,"string"!=typeof t&&(n=t,t=e.require.id)):1==arguments.length&&(r=t,n=[],t=e.require.id),"function"==typeof r){n.length||(n=["require","exports","module"]);var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.slice(0,r.length).map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}}else e.require.modules[t]={exports:r,initialized:!0}},e.define.amd={},require.tlns={},e.initBaseUrls=function(e){for(var t in e)require.tlns[t]=e[t]},e.initSender=function(){var t=e.require("ace/lib/event_emitter").EventEmitter,n=e.require("ace/lib/oop"),r=function(){};return function(){n.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(r.prototype),new r};var n=e.main=null,r=e.sender=null;e.onmessage=function(t){var i=t.data;if(i.event&&r)r._signal(i.event,i.data);else if(i.command)if(n[i.command])n[i.command].apply(n,i.args);else{if(!e[i.command])throw new Error("Unknown command:"+i.command);e[i.command].apply(e,i.args)}else if(i.init){e.initBaseUrls(i.tlns),require("ace/lib/es5-shim"),r=e.sender=e.initSender();var o=require(i.module)[i.classname];n=e.main=new o(r)}}}}(this),ace.define("ace/lib/oop",[],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/range",[],function(e,t,n){"use strict";var r=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)i={row:t+1,column:0};else if(this.start.row<e)var i={row:e,column:0};return r.fromPoints(i||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(0==n)return this;if(-1==n)var i={row:e,column:t};else var o={row:e,column:t};return r.fromPoints(i||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return r.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new r(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new r(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new r(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(r.prototype),r.fromPoints=function(e,t){return new r(e.row,e.column,t.row,t.column)},r.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},r.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=r}),ace.define("ace/apply_delta",[],function(e,t,n){"use strict";function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t}function i(e,t){return t.row>=0&&t.row<e.length&&t.column>=0&&t.column<=e[t.row].length}t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,o=e[r]||"";switch(t.action){case"insert":if(1===t.lines.length)e[r]=o.substring(0,i)+t.lines[0]+o.substring(i);else{var s=[r,1].concat(t.lines);e.splice.apply(e,s),e[r]=o.substring(0,i)+e[r],e[r+t.lines.length-1]+=o.substring(i)}break;case"remove":var a=t.end.column,c=t.end.row;r===c?e[r]=o.substring(0,i)+o.substring(a):e.splice(r,c-r+1,o.substring(0,i)+e[c].substring(a))}}}),ace.define("ace/lib/event_emitter",[],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(n.length||r){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=o),n=n.slice();for(var s=0;s<n.length&&(n[s](t,this),!t.propagationStopped);s++);return r&&!t.defaultPrevented?r(t,this):void 0}},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(n){n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)}},r.once=function(e,t){var n=this;if(this.addEventListener(e,function r(){n.removeEventListener(e,r),t.apply(null,arguments)}),!t)return new Promise(function(e){t=e})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var o=i.indexOf(t);-1!=o&&i.splice(o,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n){var r=n._disabled_[e];if(n[e]==t)r&&this.setDefaultHandler(e,r.pop());else if(r){var i=r.indexOf(t);-1!=i&&r.splice(i,1)}}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),-1==r.indexOf(t)&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}},r.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=r}),ace.define("ace/anchor",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,o=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),void 0===n?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}function t(t,n,r){var i="insert"==t.action,o=(i?1:-1)*(t.end.row-t.start.row),s=(i?1:-1)*(t.end.column-t.start.column),a=t.start,c=i?a:t.end;return e(n,a,r)?{row:n.row,column:n.column}:e(c,n,!r)?{row:n.row+o,column:n.column+(n.row==c.row?s:0)}:{row:a.row,column:a.column}}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(!(e.start.row==e.end.row&&e.start.row!=this.row||e.start.row>this.row)){var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(o.prototype)}),ace.define("ace/document",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=e("./anchor").Anchor,c=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new s(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new a(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(1==t.length?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1);var n=(t=Math.min(Math.max(0,t),this.getLength()-1))==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,o=n?this.getLine(i).length:0,a=r?t+1:t,c=r?0:this.getLine(a).length,u=new s(i,o,a,c),l=this.$lines.slice(e,t+1);return this.applyDelta({start:u.start,end:u.end,action:"remove",lines:this.getLinesForRange(u)}),l},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){if(e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);return t?this.insert(e.start,t):e.start},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e)))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,r=n.length-t+1,i=e.start.row,o=e.start.column,s=0,a=0;s<r;s=a){a+=t-1;var c=n.slice(s,a);c.push(""),this.applyDelta({start:this.pos(i+s,o),end:this.pos(i+a,o=0),action:e.action,lines:c},!0)}e.lines=n.slice(s),e.start.row=i+s,e.start.column=o,this.applyDelta(e,!0)},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=t||0,o=n.length;i<o;i++)if((e-=n[i].length+r)<0)return{row:i,column:e+n[i].length+r};return{row:o-1,column:e+n[o-1].length+r}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,o=Math.min(e.row,n.length),s=t||0;s<o;++s)i+=n[s].length+r;return i+e.column}}).call(c.prototype),t.Document=c}),ace.define("ace/lib/lang",[],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;n<r;n++)e[n]&&"object"==typeof e[n]?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function e(t){if("object"!=typeof t||!t)return t;var n;if(Array.isArray(t)){n=[];for(r=0;r<t.length;r++)n[r]=e(t[r]);return n}if("[object Object]"!==Object.prototype.toString.call(t))return t;n={};for(var r in t)n[r]=e(t[r]);return n},t.arrayToMap=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return(""+e).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){null==n&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),ace.define("ace/worker/mirror",[],function(e,t,n){"use strict";e("../range").Range;var r=e("../document").Document,i=e("../lib/lang"),o=t.Mirror=function(e){this.sender=e;var t=this.doc=new r(""),n=this.deferredUpdate=i.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",function(e){var r=e.data;if(r[0].start)t.applyDeltas(r);else for(var i=0;i<r.length;i+=2){if(Array.isArray(r[i+1]))s={action:"insert",start:r[i],lines:r[i+1]};else var s={action:"remove",start:r[i],end:r[i+1]};t.applyDelta(s,!0)}if(o.$timeout)return n.schedule(o.$timeout);o.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)}),ace.define("ace/mode/javascript/jshint",[],function(e,t,n){n.exports=function t(n,r,i){function o(a,c){if(!r[a]){if(!n[a]){var u="function"==typeof e&&e;if(!c&&u)return u(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var f=r[a]={exports:{}};n[a][0].call(f.exports,function(e){var t=n[a][1][e];return o(t||e)},f,f.exports,t,n,r,i)}return r[a].exports}for(var s="function"==typeof e&&e,a=0;a<i.length;a++)o(i[a]);return o(i[0])}({"/node_modules/browserify/node_modules/events/events.js":[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"number"==typeof e}function s(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,o,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length))throw(t=arguments[1])instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(n=this._events[e],a(n))return!1;if(i(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),c=1;c<r;c++)o[c-1]=arguments[c];n.apply(this,o)}else if(s(n)){for(r=arguments.length,o=new Array(r-1),c=1;c<r;c++)o[c-1]=arguments[c];for(r=(u=n.slice()).length,c=0;c<r;c++)u[c].apply(this,o)}return!0},r.prototype.addListener=function(e,t){if(!i(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned){var n;(n=a(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,o,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(n)){for(a=o;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);else for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.listenerCount=function(e,t){return e._events&&e._events[t]?i(e._events[t])?1:e._events[t].length:0}},{}],"/node_modules/jshint/data/ascii-identifier-data.js":[function(e,t,n){for(var r=[],i=0;i<128;i++)r[i]=36===i||i>=65&&i<=90||95===i||i>=97&&i<=122;for(var o=[],i=0;i<128;i++)o[i]=r[i]||i>=48&&i<=57;t.exports={asciiIdentifierStartTable:r,asciiIdentifierPartTable:o}},{}],"/node_modules/jshint/lodash.js":[function(e,t,n){(function(e){(function(){function r(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function i(e,t,n){if(t!==t)return a(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function o(e){return"function"==typeof e||!1}function s(e){return"string"==typeof e?e:null==e?"":e+""}function a(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function c(e){return!!e&&"object"==typeof e}function u(){}function l(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function f(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function h(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[++i]=s)}return o}function p(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function d(e){for(var t=-1,n=e.length,r=Pt;++t<n;){var i=e[t];i>r&&(r=i)}return r}function m(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function v(e,t,n){var r=Qt(t);wt.apply(r,$t(t));for(var i=-1,o=r.length;++i<o;){var s=r[i],a=e[s],c=n(a,t[s],s,e,t);(c===c?c===a:a!==a)&&(a!==we||s in e)||(e[s]=c)}return e}function g(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function k(e,t,n){var r=typeof e;return"function"==r?t===we?e:R(e,t,n):null==e?xe:"object"==r?L(e):t===we?Ee(e):_(e,t)}function b(e,t,n,r,i,o,s){var a;if(n&&(a=i?n(e,r,i):n(e)),a!==we)return a;if(!fe(e))return e;var c=Jt(e);if(c){if(a=H(e),!t)return l(e,a)}else{var u=vt.call(e),h=u==Me;if(u!=Pe&&u!=We&&(!h||i))return rt[u]?J(e,u,t):i?e:{};if(a=z(h?{}:e),!t)return Ut(a,e)}o||(o=[]),s||(s=[]);for(var p=o.length;p--;)if(o[p]==e)return s[p];return o.push(e),s.push(a),(c?f:E)(e,function(r,i){a[i]=b(r,t,n,i,e,o,s)}),a}function y(e,t){var n=[];return Dt(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function x(e,t){return qt(e,t,ve)}function E(e,t){return qt(e,t,Qt)}function w(e,t,n){if(null!=e){n!==we&&n in ne(e)&&(t=[n]);for(var r=-1,i=t.length;null!=e&&++r<i;)var o=e=e[t[r]];return o}}function S(e,t,n,r,i,o){if(e===t)return 0!==e||1/e==1/t;var s=typeof e,a=typeof t;return"function"!=s&&"object"!=s&&"function"!=a&&"object"!=a||null==e||null==t?e!==e&&t!==t:W(e,t,S,n,r,i,o)}function W(e,t,n,r,i,o,s){var a=Jt(e),c=Jt(t),u=je,l=je;a||((u=vt.call(e))==We?u=Pe:u!=Pe&&(a=de(e))),c||((l=vt.call(t))==We?l=Pe:l!=Pe&&(c=de(t)));var f=u==Pe,h=l==Pe,p=u==l;if(p&&!a&&!f)return q(e,t,u);if(!i){var d=f&&mt.call(e,"__wrapped__"),m=h&&mt.call(t,"__wrapped__");if(d||m)return n(d?e.value():e,m?t.value():t,r,i,o,s)}if(!p)return!1;o||(o=[]),s||(s=[]);for(var v=o.length;v--;)if(o[v]==e)return s[v]==t;o.push(e),s.push(t);var g=(a?D:N)(e,t,n,r,i,o,s);return o.pop(),s.pop(),g}function j(e,t,n,r,i){for(var o=-1,s=t.length,a=!i;++o<s;)if(a&&r[o]?n[o]!==e[t[o]]:!(t[o]in e))return!1;for(o=-1;++o<s;){var c=t[o],u=e[c],l=n[o];if(a&&r[o])var f=u!==we||c in e;else(f=i?i(u,l,c):we)===we&&(f=S(l,u,i,!0));if(!f)return!1}return!0}function L(e){var t=Qt(e),n=t.length;if(!n)return ye(!0);if(1==n){var r=t[0],i=e[r];if(Y(i))return function(e){return null!=e&&(e[r]===i&&(i!==we||r in ne(e)))}}for(var o=Array(n),s=Array(n);n--;)i=e[t[n]],o[n]=i,s[n]=Y(i);return function(e){return null!=e&&j(ne(e),t,o,s)}}function _(e,t){var n=Jt(e),r=K(e)&&Y(t),i=e+"";return e=re(e),function(o){if(null==o)return!1;var s=i;if(o=ne(o),(n||!r)&&!(s in o)){if(null==(o=1==e.length?o:w(o,P(e,0,-1))))return!1;s=oe(e),o=ne(o)}return o[s]===t?t!==we||s in o:S(t,o[s],null,!0)}}function A(e,t,n,r,i){if(!fe(e))return e;var o=Q(t.length)&&(Jt(t)||de(t));if(!o){var s=Qt(t);wt.apply(s,$t(t))}return f(s||t,function(a,u){if(s&&(u=a,a=t[u]),c(a))r||(r=[]),i||(i=[]),M(e,t,u,A,n,r,i);else{var l=e[u],f=n?n(l,a,u,e,t):we,h=f===we;h&&(f=a),(o||f!==we)&&(h||(f===f?f!==l:l===l))&&(e[u]=f)}}),e}function M(e,t,n,r,i,o,s){for(var a=o.length,c=t[n];a--;)if(o[a]==c)return void(e[n]=s[a]);var u=e[n],f=i?i(u,c,n,e,t):we,h=f===we;h&&(f=c,Q(c.length)&&(Jt(c)||de(c))?f=Jt(u)?u:Nt(u)?l(u):[]:Zt(c)||le(c)?f=le(u)?me(u):Zt(u)?u:{}:h=!1),o.push(c),s.push(f),h?e[n]=r(f,c,i,o,s):(f===f?f!==u:u===u)&&(e[n]=f)}function O(e){return function(t){return null==t?we:t[e]}}function T(e){var t=e+"";return e=re(e),function(n){return w(n,e,t)}}function P(e,t,n){var r=-1,i=e.length;(t=null==t?0:+t||0)<0&&(t=-t>i?0:i+t),(n=n===we||n>i?i:+n||0)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function G(e,t){var n;return Dt(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function V(e,t){for(var n=-1,r=t.length,i=Array(r);++n<r;)i[n]=e[t[n]];return i}function C(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t===t&&i<=Ct){for(;r<i;){var o=r+i>>>1,s=e[o];(n?s<=t:s<t)?r=o+1:i=o}return i}return F(e,t,xe,n)}function F(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,s=t!==t,a=t===we;i<o;){var c=yt((i+o)/2),u=n(e[c]),l=u===u;if(s)var f=l||r;else f=a?l&&(r||u!==we):r?u<=t:u<t;f?i=c+1:o=c}return Tt(o,Vt)}function R(e,t,n){if("function"!=typeof e)return xe;if(t===we)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,s){return e.call(t,n,r,i,o,s)}}return function(){return e.apply(t,arguments)}}function I(e){return bt.call(e,0)}function U(e){return ue(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2&&n[i-2],s=i>2&&n[2],a=i>1&&n[i-1];for("function"==typeof o?(o=R(o,a,5),i-=2):(o="function"==typeof a?a:null,i-=o?1:0),s&&Z(n[0],n[1],s)&&(o=i<3?null:o,i=1);++r<i;){var c=n[r];c&&e(t,c,o)}return t})}function D(e,t,n,r,i,o,s){var a=-1,c=e.length,u=t.length,l=!0;if(c!=u&&!(i&&u>c))return!1;for(;l&&++a<c;){var f=e[a],h=t[a];if(l=we,r&&(l=i?r(h,f,a):r(f,h,a)),l===we)if(i)for(var p=u;p--&&(h=t[p],!(l=f&&f===h||n(f,h,r,i,o,s))););else l=f&&f===h||n(f,h,r,i,o,s)}return!!l}function q(e,t,n){switch(n){case Le:case _e:return+e==+t;case Ae:return e.name==t.name&&e.message==t.message;case Te:return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case Ge:case Ce:return e==t+""}return!1}function N(e,t,n,r,i,o,s){var a=Qt(e),c=a.length;if(c!=Qt(t).length&&!i)return!1;for(var u=i,l=-1;++l<c;){var f=a[l],h=i?f in t:mt.call(t,f);if(h){var p=e[f],d=t[f];h=we,r&&(h=i?r(d,p,f):r(p,d,f)),h===we&&(h=p&&p===d||n(p,d,r,i,o,s))}if(!h)return!1;u||(u="constructor"==f)}if(!u){var m=e.constructor,v=t.constructor;if(m!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof v&&v instanceof v))return!1}return!0}function $(e,t,n){var r=u.callback||be;return r=r===be?k:r,n?r(e,t,n):r}function B(e,t,n){var r=u.indexOf||ie;return r=r===ie?i:r,e?r(e,t,n):r}function H(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&mt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function z(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=Object),new t}function J(e,t,n){var r=e.constructor;switch(t){case Re:return I(e);case Le:case _e:return new r(+e);case Ie:case Ue:case De:case qe:case Ne:case $e:case Be:case He:case ze:var i=e.buffer;return new r(n?I(i):i,e.byteOffset,e.length);case Te:case Ce:return new r(e);case Ge:var o=new r(e.source,et.exec(e));o.lastIndex=e.lastIndex}return o}function X(e,t){return e=+e,t=null==t?Rt:t,e>-1&&e%1==0&&e<t}function Z(e,t,n){if(!fe(n))return!1;var r=typeof t;if("number"==r)var i=Nt(n),o=Q(i)&&X(t,i);else o="string"==r&&t in n;if(o){var s=n[t];return e===e?e===s:s!==s}return!1}function K(e,t){var n=typeof e;return!!("string"==n&&Xe.test(e)||"number"==n)||!Jt(e)&&(!Je.test(e)||null!=t&&e in ne(t))}function Q(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Rt}function Y(e){return e===e&&(0===e?1/e>0:!fe(e))}function ee(e){var t;u.support;if(!c(e)||vt.call(e)!=Pe||!mt.call(e,"constructor")&&"function"==typeof(t=e.constructor)&&!(t instanceof t))return!1;var n;return x(e,function(e,t){n=t}),n===we||mt.call(e,n)}function te(e){for(var t=ve(e),n=t.length,r=n&&e.length,i=u.support,o=r&&Q(r)&&(Jt(e)||i.nonEnumArgs&&le(e)),s=-1,a=[];++s<n;){var c=t[s];(o&&X(c,r)||mt.call(e,c))&&a.push(c)}return a}function ne(e){return fe(e)?e:Object(e)}function re(e){if(Jt(e))return e;var t=[];return s(e).replace(Ze,function(e,n,r,i){t.push(r?i.replace(Ye,"$1"):n||e)}),t}function ie(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?Ot(r+n,0):n;else if(n){var o=C(e,t),s=e[o];return(t===t?t===s:s!==s)?o:-1}return i(e,t,n||0)}function oe(e){var t=e?e.length:0;return t?e[t-1]:we}function se(e){for(var t=-1,n=(e&&e.length&&d(p(e,Nt)))>>>0,r=Array(n);++t<n;)r[t]=p(e,O(t));return r}function ae(e,t,n,r){var i=e?Nt(e):0;return Q(i)||(e=ge(e),i=e.length),!!i&&(n="number"!=typeof n||r&&Z(t,n,r)?0:n<0?Ot(i+n,0):n||0,"string"==typeof e||!Jt(e)&&pe(e)?n<i&&e.indexOf(t,n)>-1:B(e,t,n)>-1)}function ce(e,t,n){var r=Jt(e)?m:G;return n&&Z(e,t,n)&&(t=null),"function"==typeof t&&n===we||(t=$(t,n,3)),r(e,t)}function ue(e,t){if("function"!=typeof e)throw new TypeError(Se);return t=Ot(t===we?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=Ot(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=o,e.apply(this,s)}}function le(e){return Q(c(e)?e.length:we)&&vt.call(e)==We}function fe(e){var t=typeof e;return"function"==t||!!e&&"object"==t}function he(e){return null!=e&&(vt.call(e)==Me?gt.test(dt.call(e)):c(e)&&tt.test(e))}function pe(e){return"string"==typeof e||c(e)&&vt.call(e)==Ce}function de(e){return c(e)&&Q(e.length)&&!!nt[vt.call(e)]}function me(e){return g(e,ve(e))}function ve(e){if(null==e)return[];fe(e)||(e=Object(e));var t=e.length;t=t&&Q(t)&&(Jt(e)||It.nonEnumArgs&&le(e))&&t||0;for(var n=e.constructor,r=-1,i="function"==typeof n&&n.prototype===e,o=Array(t),s=t>0;++r<t;)o[r]=r+"";for(var a in e)(!s||!X(a,t))&&("constructor"!=a||!i&&!!mt.call(e,a))&&o.push(a);return o}function ge(e){return V(e,Qt(e))}function ke(e){return(e=s(e))&&Qe.test(e)?e.replace(Ke,"\\$&"):e}function be(e,t,n){return n&&Z(e,t,n)&&(t=null),k(e,t)}function ye(e){return function(){return e}}function xe(e){return e}function Ee(e){return K(e)?O(e):T(e)}var we,Se="Expected a function",We="[object Arguments]",je="[object Array]",Le="[object Boolean]",_e="[object Date]",Ae="[object Error]",Me="[object Function]",Oe="[object Map]",Te="[object Number]",Pe="[object Object]",Ge="[object RegExp]",Ve="[object Set]",Ce="[object String]",Fe="[object WeakMap]",Re="[object ArrayBuffer]",Ie="[object Float32Array]",Ue="[object Float64Array]",De="[object Int8Array]",qe="[object Int16Array]",Ne="[object Int32Array]",$e="[object Uint8Array]",Be="[object Uint8ClampedArray]",He="[object Uint16Array]",ze="[object Uint32Array]",Je=/\.|\[(?:[^[\]]+|(["'])(?:(?!\1)[^\n\\]|\\.)*?)\1\]/,Xe=/^\w*$/,Ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Ke=/[.*+?^${}()|[\]\/\\]/g,Qe=RegExp(Ke.source),Ye=/\\(\\)?/g,et=/\w*$/,tt=/^\[object .+?Constructor\]$/,nt={};nt[Ie]=nt[Ue]=nt[De]=nt[qe]=nt[Ne]=nt[$e]=nt[Be]=nt[He]=nt[ze]=!0,nt[We]=nt[je]=nt[Re]=nt[Le]=nt[_e]=nt[Ae]=nt[Me]=nt[Oe]=nt[Te]=nt[Pe]=nt[Ge]=nt[Ve]=nt[Ce]=nt[Fe]=!1;var rt={};rt[We]=rt[je]=rt[Re]=rt[Le]=rt[_e]=rt[Ie]=rt[Ue]=rt[De]=rt[qe]=rt[Ne]=rt[Te]=rt[Pe]=rt[Ge]=rt[Ce]=rt[$e]=rt[Be]=rt[He]=rt[ze]=!0,rt[Ae]=rt[Me]=rt[Oe]=rt[Ve]=rt[Fe]=!1;var it={function:!0,object:!0},ot=it[typeof n]&&n&&!n.nodeType&&n,st=it[typeof t]&&t&&!t.nodeType&&t,at=ot&&st&&"object"==typeof e&&e&&e.Object&&e,ct=it[typeof self]&&self&&self.Object&&self,ut=it[typeof window]&&window&&window.Object&&window,lt=st&&st.exports===ot&&ot,ft=at||ut!==(this&&this.window)&&ut||ct||this,ht=Array.prototype,pt=Object.prototype,dt=Function.prototype.toString,mt=pt.hasOwnProperty,vt=pt.toString,gt=RegExp("^"+ke(vt).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kt=he(kt=ft.ArrayBuffer)&&kt,bt=he(bt=kt&&new kt(0).slice)&&bt,yt=Math.floor,xt=he(xt=Object.getOwnPropertySymbols)&&xt,Et=he(Et=Object.getPrototypeOf)&&Et,wt=ht.push,St=he(Object.preventExtensions=Object.preventExtensions)&&St,Wt=pt.propertyIsEnumerable,jt=he(jt=ft.Uint8Array)&&jt,Lt=function(){try{var e=he(e=ft.Float64Array)&&e,t=new e(new kt(10),0,1)&&e}catch(e){}return t}(),_t=function(){var e={1:0},t=St&&he(t=Object.assign)&&t;try{t(St(e),"xo")}catch(e){}return!e[1]&&t}(),At=he(At=Array.isArray)&&At,Mt=he(Mt=Object.keys)&&Mt,Ot=Math.max,Tt=Math.min,Pt=Number.NEGATIVE_INFINITY,Gt=Math.pow(2,32)-1,Vt=Gt-1,Ct=Gt>>>1,Ft=Lt?Lt.BYTES_PER_ELEMENT:0,Rt=Math.pow(2,53)-1,It=u.support={};!function(e){var t=function(){this.x=e},n=[];t.prototype={valueOf:e,y:e};for(var r in new t)n.push(r);It.funcDecomp=/\bthis\b/.test(function(){return this}),It.funcNames="string"==typeof Function.name;try{It.nonEnumArgs=!Wt.call(arguments,1)}catch(e){It.nonEnumArgs=!0}}(1,0);var Ut=_t||function(e,t){return null==t?e:g(t,$t(t),g(t,Qt(t),e))},Dt=function(e,t){return function(n,r){var i=n?Nt(n):0;if(!Q(i))return e(n,r);for(var o=t?i:-1,s=ne(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}(E),qt=function(e){return function(t,n,r){for(var i=ne(t),o=r(t),s=o.length,a=e?s:-1;e?a--:++a<s;){var c=o[a];if(!1===n(i[c],c,i))break}return t}}();bt||(I=kt&&jt?function(e){var t=e.byteLength,n=Lt?yt(t/Ft):0,r=n*Ft,i=new kt(t);if(n){var o=new Lt(i,0,n);o.set(new Lt(e,0,n))}return t!=r&&(o=new jt(i,r)).set(new jt(e,r)),i}:ye(null));var Nt=O("length"),$t=xt?function(e){return xt(ne(e))}:ye([]),Bt=function(e){return function(t,n,i){return t&&t.length?(n=$(n,i,3),r(t,n,e)):-1}}(!0),Ht=ue(se),zt=function(e,t){return function(n,r,i){return"function"==typeof r&&i===we&&Jt(n)?e(n,r):t(n,R(r,i,3))}}(f,Dt),Jt=At||function(e){return c(e)&&Q(e.length)&&vt.call(e)==je},Xt=o(/x/)||jt&&!o(jt)?function(e){return vt.call(e)==Me}:o,Zt=Et?function(e){if(!e||vt.call(e)!=Pe)return!1;var t=e.valueOf,n=he(t)&&(n=Et(t))&&Et(n);return n?e==n||Et(e)==n:ee(e)}:ee,Kt=U(function(e,t,n){return n?v(e,t,n):Ut(e,t)}),Qt=Mt?function(e){if(e)var t=e.constructor,n=e.length;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&Q(n)?te(e):fe(e)?Mt(e):[]}:te,Yt=U(A);u.assign=Kt,u.callback=be,u.constant=ye,u.forEach=zt,u.keys=Qt,u.keysIn=ve,u.merge=Yt,u.property=Ee,u.reject=function(e,t,n){var r=Jt(e)?h:y;return t=$(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})},u.restParam=ue,u.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&Z(e,t,n)&&(t=0,n=r),P(e,t,n)):[]},u.toPlainObject=me,u.unzip=se,u.values=ge,u.zip=Ht,u.each=zt,u.extend=Kt,u.iteratee=be,u.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&Z(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),n="function"==typeof n&&R(n,r,1),b(e,t,n)},u.escapeRegExp=ke,u.findLastIndex=Bt,u.has=function(e,t){if(null==e)return!1;var n=mt.call(e,t);return!n&&!K(t)&&(t=re(t),e=1==t.length?e:w(e,P(t,0,-1)),t=oe(t),n=null!=e&&mt.call(e,t)),n},u.identity=xe,u.includes=ae,u.indexOf=ie,u.isArguments=le,u.isArray=Jt,u.isEmpty=function(e){if(null==e)return!0;var t=Nt(e);return Q(t)&&(Jt(e)||pe(e)||le(e)||c(e)&&Xt(e.splice))?!t:!Qt(e).length},u.isFunction=Xt,u.isNative=he,u.isNumber=function(e){return"number"==typeof e||c(e)&&vt.call(e)==Te},u.isObject=fe,u.isPlainObject=Zt,u.isString=pe,u.isTypedArray=de,u.last=oe,u.some=ce,u.any=ce,u.contains=ae,u.include=ae,u.VERSION="3.7.0",ot&&st?lt?(st.exports=u)._=u:ot._=u:ft._=u}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/node_modules/jshint/src/jshint.js":[function(e,t,n){var r=e("../lodash"),i=e("events"),o=e("./vars.js"),s=e("./messages.js"),a=e("./lex.js").Lexer,c=e("./reg.js"),u=e("./state.js").state,l=e("./style.js"),f=e("./options.js"),h=e("./scope-manager.js"),p=function(){"use strict";function e(e,t){return e=e.trim(),!!/^[+-]W\d{3}$/g.test(e)||(!(-1===f.validNames.indexOf(e)&&"jslint"!==t.type&&!r.has(f.removed,e))||(w("E001",t,e),!1))}function t(e){return"[object String]"===Object.prototype.toString.call(e)}function n(e,t){return!!e&&!(!e.identifier||e.value!==t)}function d(e){if(!e.reserved)return!1;var t=e.meta;if(t&&t.isFutureReservedWord&&u.inES5()){if(!t.es5)return!1;if(t.strictOnly&&!u.option.strict&&!u.isStrict())return!1;if(e.isProperty)return!1}return!0}function m(e,t){return e.replace(/\{([^{}]*)\}/g,function(e,n){var r=t[n];return"string"==typeof r||"number"==typeof r?r:e})}function v(e,t){Object.keys(t).forEach(function(n){r.has(p.blacklist,n)||(e[n]=t[n])})}function g(){if(u.option.enforceall){for(var e in f.bool.enforcing)void 0===u.option[e]&&!f.noenforceall[e]&&(u.option[e]=!0);for(var t in f.bool.relaxing)void 0===u.option[t]&&(u.option[t]=!1)}}function k(){g(),!u.option.esversion&&!u.option.moz&&(u.option.es3?u.option.esversion=3:u.option.esnext?u.option.esversion=6:u.option.esversion=5),u.inES5()&&v(Ye,o.ecmaIdentifiers[5]),u.inES6()&&v(Ye,o.ecmaIdentifiers[6]),u.option.module&&(!0===u.option.strict&&(u.option.strict="global"),u.inES6()||x("W134",u.tokens.next,"module",6)),u.option.couch&&v(Ye,o.couch),u.option.qunit&&v(Ye,o.qunit),u.option.rhino&&v(Ye,o.rhino),u.option.shelljs&&(v(Ye,o.shelljs),v(Ye,o.node)),u.option.typed&&v(Ye,o.typed),u.option.phantom&&(v(Ye,o.phantom),!0===u.option.strict&&(u.option.strict="global")),u.option.prototypejs&&v(Ye,o.prototypejs),u.option.node&&(v(Ye,o.node),v(Ye,o.typed),!0===u.option.strict&&(u.option.strict="global")),u.option.devel&&v(Ye,o.devel),u.option.dojo&&v(Ye,o.dojo),u.option.browser&&(v(Ye,o.browser),v(Ye,o.typed)),u.option.browserify&&(v(Ye,o.browser),v(Ye,o.typed),v(Ye,o.browserify),!0===u.option.strict&&(u.option.strict="global")),u.option.nonstandard&&v(Ye,o.nonstandard),u.option.jasmine&&v(Ye,o.jasmine),u.option.jquery&&v(Ye,o.jquery),u.option.mootools&&v(Ye,o.mootools),u.option.worker&&v(Ye,o.worker),u.option.wsh&&v(Ye,o.wsh),u.option.globalstrict&&!1!==u.option.strict&&(u.option.strict="global"),u.option.yui&&v(Ye,o.yui),u.option.mocha&&v(Ye,o.mocha)}function b(e,t,n){var r=Math.floor(t/u.lines.length*100),i=s.errors[e].desc;throw{name:"JSHintError",line:t,character:n,message:i+" ("+r+"% scanned).",raw:i,code:e}}function y(){var e=u.ignoredLines;r.isEmpty(e)||(p.errors=r.reject(p.errors,function(t){return e[t.line]}))}function x(e,t,n,r,i,o){var a,c,l,f;if(/^W\d{3}$/.test(e)){if(u.ignored[e])return;f=s.warnings[e]}else/E\d{3}/.test(e)?f=s.errors[e]:/I\d{3}/.test(e)&&(f=s.info[e]);return"(end)"===(t=t||u.tokens.next||{}).id&&(t=u.tokens.curr),c=t.line||0,a=t.from||0,l={id:"(error)",raw:f.desc,code:f.code,evidence:u.lines[c-1]||"",line:c,character:a,scope:p.scope,a:n,b:r,c:i,d:o},l.reason=m(f.desc,l),p.errors.push(l),y(),p.errors.length>=u.option.maxerr&&b("E043",c,a),l}function E(e,t,n,r,i,o,s){return x(e,{line:t,from:n},r,i,o,s)}function w(e,t,n,r,i,o){x(e,t,n,r,i,o)}function S(e,t,n,r,i,o,s){return w(e,{line:t,from:n},r,i,o,s)}function W(e,t){var n;return n={id:"(internal)",elem:e,value:t},p.internals.push(n),n}function j(){var t=u.tokens.next,n=t.body.match(/(-\s+)?[^\s,:]+(?:\s*:\s*(-\s+)?[^\s,]+)?/g)||[],i={};if("globals"===t.type){n.forEach(function(e,r){var o=((e=e.split(":"))[0]||"").trim(),s=(e[1]||"").trim();if("-"!==o&&o.length)"-"===o.charAt(0)?(o=o.slice(1),s=!1,p.blacklist[o]=o,delete Ye[o]):i[o]="true"===s;else{if(r>0&&r===n.length-1)return;w("E002",t)}}),v(Ye,i);for(var o in i)r.has(i,o)&&(Be[o]=t)}"exported"===t.type&&n.forEach(function(e,r){if(e.length)u.funct["(scope)"].addExported(e);else{if(r>0&&r===n.length-1)return;w("E002",t)}}),"members"===t.type&&(Qe=Qe||{},n.forEach(function(e){var t=e.charAt(0);t===e.charAt(e.length-1)&&('"'===t||"'"===t)&&(e=e.substr(1,e.length-2).replace('\\"','"')),Qe[e]=!1}));var s=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];"jshint"!==t.type&&"jslint"!==t.type||(n.forEach(function(n){var i=((n=n.split(":"))[0]||"").trim(),o=(n[1]||"").trim();if(e(i,t))if(s.indexOf(i)>=0)if("false"!==o){if("number"!=typeof(o=+o)||!isFinite(o)||o<=0||Math.floor(o)!==o)return void w("E032",t,n[1].trim());u.option[i]=o}else u.option[i]="indent"===i&&4;else{if("validthis"===i)return u.funct["(global)"]?void w("E009"):"true"!==o&&"false"!==o?void w("E002",t):void(u.option.validthis="true"===o);if("quotmark"!==i)if("shadow"!==i)if("unused"!==i)if("latedef"!==i)if("ignore"!==i)if("strict"!==i){"module"===i&&(Ee(u.funct)||w("E055",u.tokens.next,"module"));var a={es3:3,es5:5,esnext:6};if(r.has(a,i))switch(o){case"true":u.option.moz=!1,u.option.esversion=a[i];break;case"false":u.option.moz||(u.option.esversion=5);break;default:w("E002",t)}else if("esversion"!==i){var c=/^([+-])(W\d{3})$/g.exec(i);if(c)u.ignored[c[2]]="-"===c[1];else{var l;if("true"===o||"false"===o)return"jslint"===t.type?(l=f.renamed[i]||i,u.option[l]="true"===o,void 0!==f.inverted[l]&&(u.option[l]=!u.option[l])):u.option[i]="true"===o,void("newcap"===i&&(u.option["(explicitNewcap)"]=!0));w("E002",t)}}else{switch(o){case"5":u.inES5(!0)&&x("I003");case"3":case"6":u.option.moz=!1,u.option.esversion=+o;break;case"2015":u.option.moz=!1,u.option.esversion=6;break;default:w("E002",t)}Ee(u.funct)||w("E055",u.tokens.next,"esversion")}}else switch(o){case"true":u.option.strict=!0;break;case"false":u.option.strict=!1;break;case"func":case"global":case"implied":u.option.strict=o;break;default:w("E002",t)}else switch(o){case"line":u.ignoredLines[t.line]=!0,y();break;default:w("E002",t)}else switch(o){case"true":u.option.latedef=!0;break;case"false":u.option.latedef=!1;break;case"nofunc":u.option.latedef="nofunc";break;default:w("E002",t)}else switch(o){case"true":u.option.unused=!0;break;case"false":u.option.unused=!1;break;case"vars":case"strict":u.option.unused=o;break;default:w("E002",t)}else switch(o){case"true":u.option.shadow=!0;break;case"outer":u.option.shadow="outer";break;case"false":case"inner":u.option.shadow="inner";break;default:w("E002",t)}else switch(o){case"true":case"false":u.option.quotmark="true"===o;break;case"double":case"single":u.option.quotmark=o;break;default:w("E002",t)}}}),k())}function L(e){var t,n=e||0,r=Xe.length;if(n<r)return Xe[n];for(;r<=n;)(t=Xe[r])||(t=Xe[r]=Ze.token()),r+=1;return t||"(end)"!==u.tokens.next.id?t:u.tokens.next}function _(){var e,t=0;do{e=L(t++)}while("(endline)"===e.id);return e}function A(e,t){switch(u.tokens.curr.id){case"(number)":"."===u.tokens.next.id&&x("W005",u.tokens.curr);break;case"-":("-"===u.tokens.next.id||"--"===u.tokens.next.id)&&x("W006");break;case"+":("+"===u.tokens.next.id||"++"===u.tokens.next.id)&&x("W007")}for(e&&u.tokens.next.id!==e&&(t?"(end)"===u.tokens.next.id?w("E019",t,t.id):w("E020",u.tokens.next,e,t.id,t.line,u.tokens.next.value):("(identifier)"!==u.tokens.next.type||u.tokens.next.value!==e)&&x("W116",u.tokens.next,e,u.tokens.next.value)),u.tokens.prev=u.tokens.curr,u.tokens.curr=u.tokens.next;;){if(u.tokens.next=Xe.shift()||Ze.token(),u.tokens.next||b("E041",u.tokens.curr.line),"(end)"===u.tokens.next.id||"(error)"===u.tokens.next.id)return;if(u.tokens.next.check&&u.tokens.next.check(),u.tokens.next.isSpecial)"falls through"===u.tokens.next.type?u.tokens.curr.caseFallsThrough=!0:j();else if("(endline)"!==u.tokens.next.id)break}}function M(e){return e.infix||!e.identifier&&!e.template&&!!e.led}function O(){var e=u.tokens.curr,t=u.tokens.next;return";"===t.id||"}"===t.id||":"===t.id||!!(M(t)===M(e)||"yield"===e.id&&u.inMoz())&&e.line!==G(t)}function T(e){return!e.left&&"unary"!==e.arity}function P(e,t){var n,i=!1,o=!1,s=!1;if(u.nameStack.push(),!t&&"let"===u.tokens.next.value&&"("===L(0).value&&(u.inMoz()||x("W118",u.tokens.next,"let expressions"),s=!0,u.funct["(scope)"].stack(),A("let"),A("("),u.tokens.prev.fud(),A(")")),"(end)"===u.tokens.next.id&&w("E006",u.tokens.curr),u.option.asi&&u.tokens.prev.line!==G(u.tokens.curr)&&r.contains(["]",")"],u.tokens.prev.id)&&r.contains(["[","("],u.tokens.curr.id)&&x("W014",u.tokens.curr,u.tokens.curr.id),A(),t&&(u.funct["(verb)"]=u.tokens.curr.value,u.tokens.curr.beginsStmt=!0),!0===t&&u.tokens.curr.fud)n=u.tokens.curr.fud();else for(u.tokens.curr.nud?n=u.tokens.curr.nud():w("E030",u.tokens.curr,u.tokens.curr.id);(e<u.tokens.next.lbp||"(template)"===u.tokens.next.type)&&!O();)i="Array"===u.tokens.curr.value,o="Object"===u.tokens.curr.value,n&&(n.value||n.first&&n.first.value)&&("new"!==n.value||n.first&&n.first.value&&"."===n.first.value)&&(i=!1,n.value!==u.tokens.curr.value&&(o=!1)),A(),i&&"("===u.tokens.curr.id&&")"===u.tokens.next.id&&x("W009",u.tokens.curr),o&&"("===u.tokens.curr.id&&")"===u.tokens.next.id&&x("W010",u.tokens.curr),n&&u.tokens.curr.led?n=u.tokens.curr.led(n):w("E033",u.tokens.curr,u.tokens.curr.id);return s&&u.funct["(scope)"].unstack(),u.nameStack.pop(),n}function G(e){return e.startLine||e.line}function V(e,t){e=e||u.tokens.curr,t=t||u.tokens.next,!u.option.laxbreak&&e.line!==G(t)&&x("W014",t,t.value)}function C(e){(e=e||u.tokens.curr).line!==G(u.tokens.next)&&x("E022",e,e.value)}function F(e,t){e.line!==G(t)&&(u.option.laxcomma||(R.first&&(x("I001"),R.first=!1),x("W014",e,t.value)))}function R(e){if((e=e||{}).peek?F(u.tokens.prev,u.tokens.curr):(F(u.tokens.curr,u.tokens.next),A(",")),u.tokens.next.identifier&&(!e.property||!u.inES5()))switch(u.tokens.next.value){case"break":case"case":case"catch":case"continue":case"default":case"do":case"else":case"finally":case"for":case"if":case"in":case"instanceof":case"return":case"switch":case"throw":case"try":case"var":case"let":case"while":case"with":return w("E024",u.tokens.next,u.tokens.next.value),!1}if("(punctuator)"===u.tokens.next.type)switch(u.tokens.next.value){case"}":case"]":case",":if(e.allowTrailing)return!0;case")":return w("E024",u.tokens.next,u.tokens.next.value),!1}return!0}function I(e,t){var n=u.syntax[e];return n&&"object"==typeof n||(u.syntax[e]=n={id:e,lbp:t,value:e}),n}function U(e){var t=I(e,0);return t.delim=!0,t}function D(e,t){var n=U(e);return n.identifier=n.reserved=!0,n.fud=t,n}function q(e,t){var n=D(e,t);return n.block=!0,n}function N(e){var t=e.id.charAt(0);return(t>="a"&&t<="z"||t>="A"&&t<="Z")&&(e.identifier=e.reserved=!0),e}function $(e,t){var n=I(e,150);return N(n),n.nud="function"==typeof t?t:function(){return this.arity="unary",this.right=P(150),"++"!==this.id&&"--"!==this.id||(u.option.plusplus?x("W016",this,this.id):this.right&&(!this.right.identifier||d(this.right))&&"."!==this.right.id&&"["!==this.right.id&&x("W017",this),this.right&&this.right.isMetaProperty?w("E031",this):this.right&&this.right.identifier&&u.funct["(scope)"].block.modify(this.right.value,this)),this},n}function B(e,t){var n=U(e);return n.type=e,n.nud=t,n}function H(e,t){var n=B(e,t);return n.identifier=!0,n.reserved=!0,n}function z(e,t){var n=B(e,t&&t.nud||function(){return this});return t=t||{},t.isFutureReservedWord=!0,n.value=e,n.identifier=!0,n.reserved=!0,n.meta=t,n}function J(e,t){return H(e,function(){return"function"==typeof t&&t(this),this})}function X(e,t,n,r){var i=I(e,n);return N(i),i.infix=!0,i.led=function(i){return r||V(u.tokens.prev,u.tokens.curr),("in"===e||"instanceof"===e)&&"!"===i.id&&x("W018",i,"!"),"function"==typeof t?t(i,this):(this.left=i,this.right=P(n),this)},i}function Z(e,t){var r=I(e,100);return r.led=function(e){V(u.tokens.prev,u.tokens.curr),this.left=e;var r=this.right=P(100);return n(e,"NaN")||n(r,"NaN")?x("W019",this):t&&t.apply(this,[e,r]),(!e||!r)&&b("E041",u.tokens.curr.line),"!"===e.id&&x("W018",e,"!"),"!"===r.id&&x("W018",r,"!"),this},r}function K(e){return e&&("(number)"===e.type&&0==+e.value||"(string)"===e.type&&""===e.value||"null"===e.type&&!u.option.eqnull||"true"===e.type||"false"===e.type||"undefined"===e.type)}function Q(e,t,n){var i;return!n.option.notypeof&&(!(!e||!t)&&(i=n.inES6()?st.es6:st.es3,"(identifier)"===t.type&&"typeof"===t.value&&"(string)"===e.type&&!r.contains(i,e.value)))}function Y(e,t){var n=!1;return"this"===e.type&&null===t.funct["(context)"]?n=!0:"(identifier)"===e.type&&(t.option.node&&"global"===e.value?n=!0:t.option.browser&&("window"===e.value||"document"===e.value)&&(n=!0)),n}function ee(e){function t(e){if("object"==typeof e)return"prototype"===e.right?e:t(e.left)}var n=["Array","ArrayBuffer","Boolean","Collator","DataView","Date","DateTimeFormat","Error","EvalError","Float32Array","Float64Array","Function","Infinity","Intl","Int16Array","Int32Array","Int8Array","Iterator","Number","NumberFormat","Object","RangeError","ReferenceError","RegExp","StopIteration","String","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError"],r=t(e);if(r)return function(e){for(;!e.identifier&&"object"==typeof e.left;)e=e.left;if(e.identifier&&n.indexOf(e.value)>=0)return e.value}(r)}function te(e,t,n){var r=n&&n.allowDestructuring;if(t=t||e,u.option.freeze){var i=ee(e);i&&x("W121",e,i)}return e.identifier&&!e.isMetaProperty&&u.funct["(scope)"].block.reassign(e.value,e),"."===e.id?((!e.left||"arguments"===e.left.value&&!u.isStrict())&&x("E031",t),u.nameStack.set(u.tokens.prev),!0):"{"===e.id||"["===e.id?(r&&u.tokens.curr.left.destructAssign?u.tokens.curr.left.destructAssign.forEach(function(e){e.id&&u.funct["(scope)"].block.modify(e.id,e.token)}):"{"!==e.id&&e.left?"arguments"===e.left.value&&!u.isStrict()&&x("E031",t):x("E031",t),"["===e.id&&u.nameStack.set(e.right),!0):e.isMetaProperty?(w("E031",t),!0):e.identifier&&!d(e)?("exception"===u.funct["(scope)"].labeltype(e.value)&&x("W022",e),u.nameStack.set(e),!0):(e===u.syntax.function&&x("W023",u.tokens.curr),!1)}function ne(e,t,n){var r=X(e,"function"==typeof t?t:function(e,t){if(t.left=e,e&&te(e,t,{allowDestructuring:!0}))return t.right=P(10),t;w("E031",t)},n);return r.exps=!0,r.assign=!0,r}function re(e,t,n){var r=I(e,n);return N(r),r.led="function"==typeof t?t:function(e){return u.option.bitwise&&x("W016",this,this.id),this.left=e,this.right=P(n),this},r}function ie(e){return ne(e,function(e,t){if(u.option.bitwise&&x("W016",t,t.id),e&&te(e,t))return t.right=P(10),t;w("E031",t)},20)}function oe(e){var t=I(e,150);return t.led=function(e){return u.option.plusplus?x("W016",this,this.id):(!e.identifier||d(e))&&"."!==e.id&&"["!==e.id&&x("W017",this),e.isMetaProperty?w("E031",this):e&&e.identifier&&u.funct["(scope)"].block.modify(e.value,e),this.left=e,this},t}function se(e,t,n){if(u.tokens.next.identifier){n||A();var r=u.tokens.curr,i=u.tokens.curr.value;return d(r)?t&&u.inES5()?i:e&&"undefined"===i?i:(x("W024",u.tokens.curr,u.tokens.curr.id),i):i}}function ae(e,t){var n=se(e,t,!1);if(n)return n;if("..."===u.tokens.next.value){if(u.inES6(!0)||x("W119",u.tokens.next,"spread/rest operator","6"),A(),De(u.tokens.next,"..."))for(x("E024",u.tokens.next,"...");De(u.tokens.next,"...");)A();return u.tokens.next.identifier?ae(e,t):void x("E024",u.tokens.curr,"...")}w("E030",u.tokens.next,u.tokens.next.value),";"!==u.tokens.next.id&&A()}function ce(e){var t,n=0;if(";"===u.tokens.next.id&&!e.inBracelessBlock)for(;;){do{t=L(n),n+=1}while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if("function"===t.id){!0===u.option.latedef&&x("W026",t);break}x("W027",t,t.value,e.value);break}}}function ue(){if(";"!==u.tokens.next.id){if(u.tokens.next.isUnclosed)return A();var e=G(u.tokens.next)===u.tokens.curr.line&&"(end)"!==u.tokens.next.id,t=De(u.tokens.next,"}");e&&!t?S("E058",u.tokens.curr.line,u.tokens.curr.character):u.option.asi||(t&&!u.option.lastsemic||!e)&&E("W033",u.tokens.curr.line,u.tokens.curr.character)}else A(";")}function le(){var e,t=Je,n=u.tokens.next,r=!1;if(";"!==n.id){var i=d(n);if(i&&n.meta&&n.meta.isFutureReservedWord&&":"===L().id&&(x("W024",n,n.id),i=!1),n.identifier&&!i&&":"===L().id&&(A(),A(":"),r=!0,u.funct["(scope)"].stack(),u.funct["(scope)"].block.addBreakLabel(n.value,{token:u.tokens.curr}),!u.tokens.next.labelled&&"{"!==u.tokens.next.value&&x("W028",u.tokens.next,n.value,u.tokens.next.value),u.tokens.next.label=n.value,n=u.tokens.next),"{"!==n.id)return(e=P(0,!0))&&(!e.identifier||"function"!==e.value)&&("(punctuator)"!==e.type||!e.left||!e.left.identifier||"function"!==e.left.value)&&!u.isStrict()&&"global"===u.option.strict&&x("E007"),n.block||(u.option.expr||e&&e.exps?u.option.nonew&&e&&e.left&&"("===e.id&&"new"===e.left.id&&x("W031",n):x("W030",u.tokens.curr),ue()),Je=t,r&&u.funct["(scope)"].unstack(),e;pe(!0,!0,!1,!1,"case"===u.funct["(verb)"]&&":"===u.tokens.curr.value)}else A(";")}function fe(){for(var e,t=[];!u.tokens.next.reach&&"(end)"!==u.tokens.next.id;)";"===u.tokens.next.id?((!(e=L())||"("!==e.id&&"["!==e.id)&&x("W032"),A(";")):t.push(le());return t}function he(){for(var e,t,n;"(string)"===u.tokens.next.id;){if("(endline)"===(t=L(0)).id){e=1;do{n=L(e++)}while("(endline)"===n.id);if(";"===n.id)t=n;else{if("["===n.value||"."===n.value)break;(!u.option.asi||"("===n.value)&&x("W033",u.tokens.next)}}else{if("."===t.id||"["===t.id)break;";"!==t.id&&x("W033",t)}A();var r=u.tokens.curr.value;(u.directive[r]||"use strict"===r&&"implied"===u.option.strict)&&x("W034",u.tokens.curr,r),u.directive[r]=!0,";"===t.id&&A(";")}u.isStrict()&&(u.option["(explicitNewcap)"]||(u.option.newcap=!0),u.option.undef=!0)}function pe(e,t,n,i,o){var s,a,c,l,f=ze,h=Je;ze=e,c=u.tokens.next;var p=u.funct["(metrics)"];if(p.nestedBlockDepth+=1,p.verifyMaxNestedBlockDepthPerFunction(),"{"===u.tokens.next.id){if(A("{"),u.funct["(scope)"].stack(),u.tokens.curr.line,"}"!==u.tokens.next.id){for(Je+=u.option.indent;!e&&u.tokens.next.from>Je;)Je+=u.option.indent;if(n){a={};for(l in u.directive)r.has(u.directive,l)&&(a[l]=u.directive[l]);he(),u.option.strict&&u.funct["(context)"]["(global)"]&&!a["use strict"]&&!u.isStrict()&&x("E007")}s=fe(),p.statementCount+=s.length,Je-=u.option.indent}A("}",c),n&&(u.funct["(scope)"].validateParams(),a&&(u.directive=a)),u.funct["(scope)"].unstack(),Je=h}else if(e)u.funct["(noblockscopedvar)"]="for"!==u.tokens.next.id,u.funct["(scope)"].stack(),(!t||u.option.curly)&&x("W116",u.tokens.next,"{",u.tokens.next.value),u.tokens.next.inBracelessBlock=!0,Je+=u.option.indent,s=[le()],Je-=u.option.indent,u.funct["(scope)"].unstack(),delete u.funct["(noblockscopedvar)"];else if(n){if(u.funct["(scope)"].stack(),a={},t&&!i&&!u.inMoz()&&w("W118",u.tokens.curr,"function closure expressions"),!t)for(l in u.directive)r.has(u.directive,l)&&(a[l]=u.directive[l]);P(10),u.option.strict&&u.funct["(context)"]["(global)"]&&!a["use strict"]&&!u.isStrict()&&x("E007"),u.funct["(scope)"].unstack()}else w("E021",u.tokens.next,"{",u.tokens.next.value);switch(u.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(o)break;default:u.funct["(verb)"]=null}return ze=f,e&&u.option.noempty&&(!s||0===s.length)&&x("W035",u.tokens.prev),p.nestedBlockDepth-=1,s}function de(e){Qe&&"boolean"!=typeof Qe[e]&&x("W036",u.tokens.curr,e),"number"==typeof Ke[e]?Ke[e]+=1:Ke[e]=1}function me(){var e={};e.exps=!0,u.funct["(comparray)"].stack();var t=!1;return"for"!==u.tokens.next.value&&(t=!0,u.inMoz()||x("W116",u.tokens.next,"for",u.tokens.next.value),u.funct["(comparray)"].setState("use"),e.right=P(10)),A("for"),"each"===u.tokens.next.value&&(A("each"),u.inMoz()||x("W118",u.tokens.curr,"for each")),A("("),u.funct["(comparray)"].setState("define"),e.left=P(130),r.contains(["in","of"],u.tokens.next.value)?A():w("E045",u.tokens.curr),u.funct["(comparray)"].setState("generate"),P(10),A(")"),"if"===u.tokens.next.value&&(A("if"),A("("),u.funct["(comparray)"].setState("filter"),e.filter=P(10),A(")")),t||(u.funct["(comparray)"].setState("use"),e.right=P(10)),A("]"),u.funct["(comparray)"].unstack(),e}function ve(){return u.funct["(statement)"]&&"class"===u.funct["(statement)"].type||u.funct["(context)"]&&"class"===u.funct["(context)"]["(verb)"]}function ge(e){return e.identifier||"(string)"===e.id||"(number)"===e.id}function ke(e){var t,n=!0;return"object"==typeof e?t=e:(n=e,t=se(!1,!0,n)),t?"object"==typeof t&&("(string)"===t.id||"(identifier)"===t.id?t=t.value:"(number)"===t.id&&(t=t.value.toString())):"(string)"===u.tokens.next.id?(t=u.tokens.next.value,n||A()):"(number)"===u.tokens.next.id&&(t=u.tokens.next.value.toString(),n||A()),"hasOwnProperty"===t&&x("W001"),t}function be(e){var t,n,i,o=[],s=[],a=!1,c=!1,l=0,f=e&&e.loneArg;if(f&&!0===f.identifier)return u.funct["(scope)"].addParam(f.value,f),{arity:1,params:[f.value]};if(t=u.tokens.next,(!e||!e.parsedOpening)&&A("("),")"!==u.tokens.next.id)for(;;){l++;var h=[];if(r.contains(["{","["],u.tokens.next.id)){s=Me();for(i in s)(i=s[i]).id&&(o.push(i.id),h.push([i.id,i.token]))}else if(De(u.tokens.next,"...")&&(c=!0),n=ae(!0))o.push(n),h.push([n,u.tokens.curr]);else for(;!Ue(u.tokens.next,[",",")"]);)A();if(a&&"="!==u.tokens.next.id&&w("W138",u.tokens.current),"="===u.tokens.next.id&&(u.inES6()||x("W119",u.tokens.next,"default parameters","6"),A("="),a=!0,P(10)),h.forEach(function(e){u.funct["(scope)"].addParam.apply(u.funct["(scope)"],e)}),","!==u.tokens.next.id)return A(")",t),{arity:l,params:o};c&&x("W131",u.tokens.next),R()}else A(")")}function ye(e,t,n){var i={"(name)":e,"(breakage)":0,"(loopage)":0,"(tokens)":{},"(properties)":{},"(catch)":!1,"(global)":!1,"(line)":null,"(character)":null,"(metrics)":null,"(statement)":null,"(context)":null,"(scope)":null,"(comparray)":null,"(generator)":null,"(arrow)":null,"(params)":null};return t&&r.extend(i,{"(line)":t.line,"(character)":t.character,"(metrics)":We(t)}),r.extend(i,n),i["(context)"]&&(i["(scope)"]=i["(context)"]["(scope)"],i["(comparray)"]=i["(context)"]["(comparray)"]),i}function xe(e){return"(scope)"in e}function Ee(e){return e["(global)"]&&!e["(verb)"]}function we(e){var t=this.context,n=this.noSubst,r=this.depth;if(!n)for(;!function(){if(u.tokens.curr.template&&u.tokens.curr.tail&&u.tokens.curr.context===t)return!0;var e=u.tokens.next.template&&u.tokens.next.tail&&u.tokens.next.context===t;return e&&A(),e||u.tokens.next.isUnclosed}();)!u.tokens.next.template||u.tokens.next.depth>r?P(0):A();return{id:"(template)",type:"(template)",tag:e}}function Se(e){var t,n,r,i,o,s,a,c,l=u.option,f=u.ignored;e&&(r=e.name,i=e.statement,o=e.classExprBinding,s="generator"===e.type,a="arrow"===e.type,c=e.ignoreLoopFunc),u.option=Object.create(u.option),u.ignored=Object.create(u.ignored),u.funct=ye(r||u.nameStack.infer(),u.tokens.next,{"(statement)":i,"(context)":u.funct,"(arrow)":a,"(generator)":s}),t=u.funct,(n=u.tokens.curr).funct=u.funct,He.push(u.funct),u.funct["(scope)"].stack("functionouter");var h=r||o;h&&u.funct["(scope)"].block.add(h,o?"class":"function",u.tokens.curr,!1),u.funct["(scope)"].stack("functionparams");var p=be(e);return p?(u.funct["(params)"]=p.params,u.funct["(metrics)"].arity=p.arity,u.funct["(metrics)"].verifyMaxParametersPerFunction()):u.funct["(metrics)"].arity=0,a&&(u.inES6(!0)||x("W119",u.tokens.curr,"arrow function syntax (=>)","6"),e.loneArg||A("=>")),pe(!1,!0,!0,a),!u.option.noyield&&s&&"yielded"!==u.funct["(generator)"]&&x("W124",u.tokens.curr),u.funct["(metrics)"].verifyMaxStatementsPerFunction(),u.funct["(metrics)"].verifyMaxComplexityPerFunction(),u.funct["(unusedOption)"]=u.option.unused,u.option=l,u.ignored=f,u.funct["(last)"]=u.tokens.curr.line,u.funct["(lastcharacter)"]=u.tokens.curr.character,u.funct["(scope)"].unstack(),u.funct["(scope)"].unstack(),u.funct=u.funct["(context)"],!c&&!u.option.loopfunc&&u.funct["(loopage)"]&&t["(isCapturing)"]&&x("W083",n),t}function We(e){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){u.option.maxstatements&&this.statementCount>u.option.maxstatements&&x("W071",e,this.statementCount)},verifyMaxParametersPerFunction:function(){r.isNumber(u.option.maxparams)&&this.arity>u.option.maxparams&&x("W072",e,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){u.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===u.option.maxdepth+1&&x("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var t=u.option.maxcomplexity,n=this.ComplexityCount;t&&n>t&&x("W074",e,n)}}}function je(){u.funct["(metrics)"].ComplexityCount+=1}function Le(e){var t,n;switch(e&&(t=e.id,n=e.paren,","===t&&(e=e.exprs[e.exprs.length-1])&&(t=e.id,n=n||e.paren)),t){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":!n&&!u.option.boss&&x("W084")}}function _e(e){if(u.inES5())for(var t in e)e[t]&&e[t].setterToken&&!e[t].getterToken&&x("W078",e[t].setterToken)}function Ae(e,t){if(De(u.tokens.next,".")){var n=u.tokens.curr.id;A(".");var r=ae();return u.tokens.curr.isMetaProperty=!0,e!==r?w("E057",u.tokens.prev,n,r):t(),u.tokens.curr}}function Me(e){var t=e&&e.assignment;return u.inES6()||x("W104",u.tokens.curr,t?"destructuring assignment":"destructuring binding","6"),Oe(e)}function Oe(e){var t,n=[],r=e&&e.openingParsed,i=e&&e.assignment,o=i?{assignment:i}:null,s=r?u.tokens.curr:u.tokens.next,a=function(){var e;if(Ue(u.tokens.next,["[","{"])){t=Oe(o);for(var r in t)r=t[r],n.push({id:r.id,token:r.token})}else if(De(u.tokens.next,","))n.push({id:null,token:u.tokens.curr});else{if(!De(u.tokens.next,"(")){var s=De(u.tokens.next,"...");if(i){var c=s?L(0):u.tokens.next;c.identifier||x("E030",c,c.value);var l=P(155);l&&(te(l),l.identifier&&(e=l.value))}else e=ae();return e&&n.push({id:e,token:u.tokens.curr}),s}A("("),a(),A(")")}return!1};if(De(s,"[")){r||A("["),De(u.tokens.next,"]")&&x("W137",u.tokens.curr);for(var c=!1;!De(u.tokens.next,"]");)a()&&!c&&De(u.tokens.next,",")&&(x("W130",u.tokens.next),c=!0),De(u.tokens.next,"=")&&(A(De(u.tokens.prev,"...")?"]":"="),"undefined"===u.tokens.next.id&&x("W080",u.tokens.prev,u.tokens.prev.value),P(10)),De(u.tokens.next,"]")||A(",");A("]")}else if(De(s,"{")){for(r||A("{"),De(u.tokens.next,"}")&&x("W137",u.tokens.curr);!De(u.tokens.next,"}")&&(function(){var e;De(u.tokens.next,"[")?(A("["),P(10),A("]"),A(":"),a()):"(string)"===u.tokens.next.id||"(number)"===u.tokens.next.id?(A(),A(":"),a()):(e=ae(),De(u.tokens.next,":")?(A(":"),a()):e&&(i&&te(u.tokens.curr),n.push({id:e,token:u.tokens.curr})))}(),De(u.tokens.next,"=")&&(A("="),"undefined"===u.tokens.next.id&&x("W080",u.tokens.prev,u.tokens.prev.value),P(10)),De(u.tokens.next,"}")||(A(","),!De(u.tokens.next,"}"))););A("}")}return n}function Te(e,t){var n=t.first;n&&r.zip(e,Array.isArray(n)?n:[n]).forEach(function(e){var t=e[0],n=e[1];t&&n?t.first=n:t&&t.first&&!n&&x("W080",t.first,t.first.value)})}function Pe(e,t,n){var i,o,s,a,c=n&&n.prefix,l=n&&n.inexport,f="let"===e,h="const"===e;for(u.inES6()||x("W104",u.tokens.curr,e,"6"),f&&"("===u.tokens.next.value?(u.inMoz()||x("W118",u.tokens.next,"let block"),A("("),u.funct["(scope)"].stack(),a=!0):u.funct["(noblockscopedvar)"]&&w("E048",u.tokens.curr,h?"Const":"Let"),t.first=[];;){var p=[];r.contains(["{","["],u.tokens.next.value)?(i=Me(),o=!1):(i=[{id:ae(),token:u.tokens.curr}],o=!0),!c&&h&&"="!==u.tokens.next.id&&x("E012",u.tokens.curr,u.tokens.curr.value);for(var d in i)i.hasOwnProperty(d)&&(d=i[d],u.funct["(scope)"].block.isGlobal()&&!1===Ye[d.id]&&x("W079",d.token,d.id),d.id&&!u.funct["(noblockscopedvar)"]&&(u.funct["(scope)"].addlabel(d.id,{type:e,token:d.token}),p.push(d.token),o&&l&&u.funct["(scope)"].setExported(d.token.value,d.token)));if("="===u.tokens.next.id&&(A("="),!c&&"undefined"===u.tokens.next.id&&x("W080",u.tokens.prev,u.tokens.prev.value),!c&&"="===L(0).id&&u.tokens.next.identifier&&x("W120",u.tokens.next,u.tokens.next.value),s=P(c?120:10),o?i[0].first=s:Te(p,s)),t.first=t.first.concat(p),","!==u.tokens.next.id)break;R()}return a&&(A(")"),pe(!0,!0),t.block=!0,u.funct["(scope)"].unstack()),t}function Ge(e){return u.inES6()||x("W104",u.tokens.curr,"class","6"),e?(this.name=ae(),u.funct["(scope)"].addlabel(this.name,{type:"class",token:u.tokens.curr})):u.tokens.next.identifier&&"extends"!==u.tokens.next.value?(this.name=ae(),this.namedExpr=!0):this.name=u.nameStack.infer(),Ve(this),this}function Ve(e){var t=u.inClassBody;"extends"===u.tokens.next.value&&(A("extends"),e.heritage=P(10)),u.inClassBody=!0,A("{"),e.body=Ce(e),A("}"),u.inClassBody=t}function Ce(e){for(var t,n,r,i,o,s=Object.create(null),a=Object.create(null),c=0;"}"!==u.tokens.next.id;++c)if(t=u.tokens.next,n=!1,r=!1,i=null,";"!==t.id){if("*"===t.id&&(r=!0,A("*"),t=u.tokens.next),"["===t.id)t=Ie(),o=!0;else{if(!ge(t)){x("W052",u.tokens.next,u.tokens.next.value||u.tokens.next.type),A();continue}A(),o=!1,t.identifier&&"static"===t.value&&(De(u.tokens.next,"*")&&(r=!0,A("*")),(ge(u.tokens.next)||"["===u.tokens.next.id)&&(o="["===u.tokens.next.id,n=!0,t=u.tokens.next,"["===u.tokens.next.id?t=Ie():A())),t.identifier&&("get"===t.value||"set"===t.value)&&(ge(u.tokens.next)||"["===u.tokens.next.id)&&(o="["===u.tokens.next.id,i=t,t=u.tokens.next,"["===u.tokens.next.id?t=Ie():A())}if(!De(u.tokens.next,"(")){for(w("E054",u.tokens.next,u.tokens.next.value);"}"!==u.tokens.next.id&&!De(u.tokens.next,"(");)A();"("!==u.tokens.next.value&&Se({statement:e})}o||(i?Re(i.value,n?a:s,t.value,t,!0,n):("constructor"===t.value?u.nameStack.set(e):u.nameStack.set(t),Fe(n?a:s,t.value,t,!0,n))),i&&"constructor"===t.value?w("E049",t,"get"===i.value?"class getter method":"class setter method","constructor"):"prototype"===t.value&&w("E049",t,"class method","prototype"),ke(t),Se({statement:e,type:r?"generator":null,classExprBinding:e.namedExpr?e.name:null})}else x("W032"),A(";");_e(s)}function Fe(e,t,n,r,i){var o=["key","class method","static class method"];o=o[(r||!1)+(i||!1)],n.identifier&&(t=n.value),e[t]&&"__proto__"!==t?x("W075",u.tokens.next,o,t):e[t]=Object.create(null),e[t].basic=!0,e[t].basictkn=n}function Re(e,t,n,r,i,o){var s="get"===e?"getterToken":"setterToken",a="";i?(o&&(a+="static "),a+=e+"ter method"):a="key",u.tokens.curr.accessorType=e,u.nameStack.set(r),t[n]?(t[n].basic||t[n][s])&&"__proto__"!==n&&x("W075",u.tokens.next,a,n):t[n]=Object.create(null),t[n][s]=r}function Ie(){A("["),u.inES6()||x("W119",u.tokens.curr,"computed property names","6");var e=P(10);return A("]"),e}function Ue(e,t){return"(punctuator)"===e.type&&r.contains(t,e.value)}function De(e,t){return"(punctuator)"===e.type&&e.value===t}function qe(){var e=ut();e.notJson?(!u.inES6()&&e.isDestAssign&&x("W104",u.tokens.curr,"destructuring assignment","6"),fe()):(u.option.laxbreak=!0,u.jsonMode=!0,Ne())}function Ne(){switch(u.tokens.next.id){case"{":!function(){var e={},t=u.tokens.next;if(A("{"),"}"!==u.tokens.next.id)for(;;){if("(end)"===u.tokens.next.id)w("E026",u.tokens.next,t.line);else{if("}"===u.tokens.next.id){x("W094",u.tokens.curr);break}","===u.tokens.next.id?w("E028",u.tokens.next):"(string)"!==u.tokens.next.id&&x("W095",u.tokens.next,u.tokens.next.value)}if(!0===e[u.tokens.next.value]?x("W075",u.tokens.next,"key",u.tokens.next.value):"__proto__"===u.tokens.next.value&&!u.option.proto||"__iterator__"===u.tokens.next.value&&!u.option.iterator?x("W096",u.tokens.next,u.tokens.next.value):e[u.tokens.next.value]=!0,A(),A(":"),Ne(),","!==u.tokens.next.id)break;A(",")}A("}")}();break;case"[":!function(){var e=u.tokens.next;if(A("["),"]"!==u.tokens.next.id)for(;;){if("(end)"===u.tokens.next.id)w("E027",u.tokens.next,e.line);else{if("]"===u.tokens.next.id){x("W094",u.tokens.curr);break}","===u.tokens.next.id&&w("E028",u.tokens.next)}if(Ne(),","!==u.tokens.next.id)break;A(",")}A("]")}();break;case"true":case"false":case"null":case"(number)":case"(string)":A();break;case"-":A("-"),A("(number)");break;default:w("E003",u.tokens.next)}}var $e,Be,He,ze,Je,Xe,Ze,Ke,Qe,Ye,et,tt,nt={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},rt=["closure","exception","global","label","outer","unused","var"],it=[],ot=new i.EventEmitter,st={};st.legacy=["xml","unknown"],st.es3=["undefined","boolean","number","string","function","object"],st.es3=st.es3.concat(st.legacy),st.es6=st.es3.concat("symbol"),B("(number)",function(){return this}),B("(string)",function(){return this}),u.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var e=this.value;return"=>"===u.tokens.next.id?this:(u.funct["(comparray)"].check(e)||u.funct["(scope)"].block.use(e,u.tokens.curr),this)},led:function(){w("E033",u.tokens.next,u.tokens.next.value)}};var at={lbp:0,identifier:!1,template:!0};u.syntax["(template)"]=r.extend({type:"(template)",nud:we,led:we,noSubst:!1},at),u.syntax["(template middle)"]=r.extend({type:"(template middle)",middle:!0,noSubst:!1},at),u.syntax["(template tail)"]=r.extend({type:"(template tail)",tail:!0,noSubst:!1},at),u.syntax["(no subst template)"]=r.extend({type:"(template)",nud:we,led:we,noSubst:!0,tail:!0},at),B("(regexp)",function(){return this}),U("(endline)"),U("(begin)"),U("(end)").reach=!0,U("(error)").reach=!0,U("}").reach=!0,U(")"),U("]"),U('"').reach=!0,U("'").reach=!0,U(";"),U(":").reach=!0,U("#"),H("else"),H("case").reach=!0,H("catch"),H("default").reach=!0,H("finally"),J("arguments",function(e){u.isStrict()&&u.funct["(global)"]&&x("E008",e)}),J("eval"),J("false"),J("Infinity"),J("null"),J("this",function(e){u.isStrict()&&!ve()&&!u.option.validthis&&(u.funct["(statement)"]&&u.funct["(name)"].charAt(0)>"Z"||u.funct["(global)"])&&x("W040",e)}),J("true"),J("undefined"),ne("=","assign",20),ne("+=","assignadd",20),ne("-=","assignsub",20),ne("*=","assignmult",20),ne("/=","assigndiv",20).nud=function(){w("E014")},ne("%=","assignmod",20),ie("&="),ie("|="),ie("^="),ie("<<="),ie(">>="),ie(">>>="),X(",",function(e,t){var n;if(t.exprs=[e],u.option.nocomma&&x("W127"),!R({peek:!0}))return t;for(;(n=P(10))&&(t.exprs.push(n),","===u.tokens.next.value&&R()););return t},10,!0),X("?",function(e,t){return je(),t.left=e,t.right=P(10),A(":"),t.else=P(10),t},30);X("||",function(e,t){return je(),t.left=e,t.right=P(40),t},40),X("&&","and",50),re("|","bitor",70),re("^","bitxor",80),re("&","bitand",90),Z("==",function(e,t){switch(!0){case!(u.option.eqnull&&("null"===(e&&e.value)||"null"===(t&&t.value)))&&u.option.eqeqeq:this.from=this.character,x("W116",this,"===","==");break;case K(e):x("W041",this,"===",e.value);break;case K(t):x("W041",this,"===",t.value);break;case Q(t,e,u):x("W122",this,t.value);break;case Q(e,t,u):x("W122",this,e.value)}return this}),Z("===",function(e,t){return Q(t,e,u)?x("W122",this,t.value):Q(e,t,u)&&x("W122",this,e.value),this}),Z("!=",function(e,t){return!(u.option.eqnull&&("null"===(e&&e.value)||"null"===(t&&t.value)))&&u.option.eqeqeq?(this.from=this.character,x("W116",this,"!==","!=")):K(e)?x("W041",this,"!==",e.value):K(t)?x("W041",this,"!==",t.value):Q(t,e,u)?x("W122",this,t.value):Q(e,t,u)&&x("W122",this,e.value),this}),Z("!==",function(e,t){return Q(t,e,u)?x("W122",this,t.value):Q(e,t,u)&&x("W122",this,e.value),this}),Z("<"),Z(">"),Z("<="),Z(">="),re("<<","shiftleft",120),re(">>","shiftright",120),re(">>>","shiftrightunsigned",120),X("in","in",120),X("instanceof","instanceof",120),X("+",function(e,t){var n;return t.left=e,t.right=n=P(130),e&&n&&"(string)"===e.id&&"(string)"===n.id?(e.value+=n.value,e.character=n.character,!u.option.scripturl&&c.javascriptURL.test(e.value)&&x("W050",e),e):t},130),$("+","num"),$("+++",function(){return x("W007"),this.arity="unary",this.right=P(150),this}),X("+++",function(e){return x("W007"),this.left=e,this.right=P(130),this},130),X("-","sub",130),$("-","neg"),$("---",function(){return x("W006"),this.arity="unary",this.right=P(150),this}),X("---",function(e){return x("W006"),this.left=e,this.right=P(130),this},130),X("*","mult",140),X("/","div",140),X("%","mod",140),oe("++"),$("++","preinc"),u.syntax["++"].exps=!0,oe("--"),$("--","predec"),u.syntax["--"].exps=!0,$("delete",function(){var e=P(10);return e?("."!==e.id&&"["!==e.id&&x("W051"),this.first=e,e.identifier&&!u.isStrict()&&(e.forgiveUndef=!0),this):this}).exps=!0,$("~",function(){return u.option.bitwise&&x("W016",this,"~"),this.arity="unary",this.right=P(150),this}),$("...",function(){return u.inES6(!0)||x("W119",this,"spread/rest operator","6"),!u.tokens.next.identifier&&"(string)"!==u.tokens.next.type&&!Ue(u.tokens.next,["[","("])&&w("E030",u.tokens.next,u.tokens.next.value),P(150),this}),$("!",function(){return this.arity="unary",this.right=P(150),this.right||b("E041",this.line||0),!0===nt[this.right.id]&&x("W018",this,"!"),this}),$("typeof",function(){var e=P(150);return this.first=this.right=e,e||b("E041",this.line||0,this.character||0),e.identifier&&(e.forgiveUndef=!0),this}),$("new",function(){var e=Ae("target",function(){u.inES6(!0)||x("W119",u.tokens.prev,"new.target","6");for(var e,t=u.funct;t&&(e=!t["(global)"],t["(arrow)"]);)t=t["(context)"];e||x("W136",u.tokens.prev,"new.target")});if(e)return e;var t,n=P(155);if(n&&"function"!==n.id)if(n.identifier)switch(n.new=!0,n.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":x("W053",u.tokens.prev,n.value);break;case"Symbol":u.inES6()&&x("W053",u.tokens.prev,n.value);break;case"Function":u.option.evil||x("W054");break;case"Date":case"RegExp":case"this":break;default:"function"!==n.id&&(t=n.value.substr(0,1),u.option.newcap&&(t<"A"||t>"Z")&&!u.funct["(scope)"].isPredefined(n.value)&&x("W055",u.tokens.curr))}else"."!==n.id&&"["!==n.id&&"("!==n.id&&x("W056",u.tokens.curr);else u.option.supernew||x("W057",this);return"("!==u.tokens.next.id&&!u.option.supernew&&x("W058",u.tokens.curr,u.tokens.curr.value),this.first=this.right=n,this}),u.syntax.new.exps=!0,$("void").exps=!0,X(".",function(e,t){var n=ae(!1,!0);return"string"==typeof n&&de(n),t.left=e,t.right=n,n&&"hasOwnProperty"===n&&"="===u.tokens.next.value&&x("W001"),!e||"arguments"!==e.value||"callee"!==n&&"caller"!==n?!u.option.evil&&e&&"document"===e.value&&("write"===n||"writeln"===n)&&x("W060",e):u.option.noarg?x("W059",e,n):u.isStrict()&&w("E008"),!u.option.evil&&("eval"===n||"execScript"===n)&&Y(e,u)&&x("W061"),t},160,!0),X("(",function(e,t){u.option.immed&&e&&!e.immed&&"function"===e.id&&x("W062");var n=0,r=[];if(e&&"(identifier)"===e.type&&e.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)&&-1==="Array Number String Boolean Date Object Error Symbol".indexOf(e.value)&&("Math"===e.value?x("W063",e):u.option.newcap&&x("W064",e)),")"!==u.tokens.next.id)for(;r[r.length]=P(10),n+=1,","===u.tokens.next.id;)R();return A(")"),"object"==typeof e&&(!u.inES5()&&"parseInt"===e.value&&1===n&&x("W065",u.tokens.curr),u.option.evil||("eval"===e.value||"Function"===e.value||"execScript"===e.value?(x("W061",e),r[0]&&"(string)"===[0].id&&W(e,r[0].value)):!r[0]||"(string)"!==r[0].id||"setTimeout"!==e.value&&"setInterval"!==e.value?r[0]&&"(string)"===r[0].id&&"."===e.value&&"window"===e.left.value&&("setTimeout"===e.right||"setInterval"===e.right)&&(x("W066",e),W(e,r[0].value)):(x("W066",e),W(e,r[0].value))),!e.identifier&&"."!==e.id&&"["!==e.id&&"=>"!==e.id&&"("!==e.id&&"&&"!==e.id&&"||"!==e.id&&"?"!==e.id&&(!u.inES6()||!e["(name)"])&&x("W067",t)),t.left=e,t},155,!0).exps=!0,$("(",function(){var e,t,n,r,i,o=u.tokens.next,s=-1,a=1,c=u.tokens.curr,l=u.tokens.prev,f=!u.option.singleGroups;do{"("===o.value?a+=1:")"===o.value&&(a-=1),s+=1,e=o,o=L(s)}while((0!==a||")"!==e.value)&&";"!==o.value&&"(end)"!==o.type);if("function"===u.tokens.next.id&&(n=u.tokens.next.immed=!0),"=>"===o.value)return Se({type:"arrow",parsedOpening:!0});var h=[];if(")"!==u.tokens.next.id)for(;h.push(P(10)),","===u.tokens.next.id;)u.option.nocomma&&x("W127"),R();return A(")",this),u.option.immed&&h[0]&&"function"===h[0].id&&"("!==u.tokens.next.id&&"."!==u.tokens.next.id&&"["!==u.tokens.next.id&&x("W068",this),h.length?(h.length>1?(t=Object.create(u.syntax[","]),t.exprs=h,r=h[0],i=h[h.length-1],f||(f=l.assign||l.delim)):(t=r=i=h[0],f||(f=c.beginsStmt&&("{"===t.id||n||xe(t))||n&&(!O()||"}"!==u.tokens.prev.id)||xe(t)&&!O()||"{"===t.id&&"=>"===l.id||"(number)"===t.type&&De(o,".")&&/^\d+$/.test(t.value))),t&&(!f&&(r.left||r.right||t.exprs)&&(f=!T(l)&&r.lbp<=l.lbp||!O()&&i.lbp<u.tokens.next.lbp),f||x("W126",c),t.paren=!0),t):void 0}),function(e){var t=I(e,42);t.led=function(e){return V(u.tokens.prev,u.tokens.curr),this.left=e,this.right=Se({type:"arrow",loneArg:e}),this}}("=>"),X("[",function(e,t){var n,r=P(10);return r&&"(string)"===r.type&&(!u.option.evil&&("eval"===r.value||"execScript"===r.value)&&Y(e,u)&&x("W061"),de(r.value),!u.option.sub&&c.identifier.test(r.value)&&(!(n=u.syntax[r.value])||!d(n))&&x("W069",u.tokens.prev,r.value)),A("]",t),r&&"hasOwnProperty"===r.value&&"="===u.tokens.next.value&&x("W001"),t.left=e,t.right=r,t},160,!0),$("[",function(){var e=ut();if(e.isCompArray)return!u.option.esnext&&!u.inMoz()&&x("W118",u.tokens.curr,"array comprehension"),me();if(e.isDestAssign)return this.destructAssign=Me({openingParsed:!0,assignment:!0}),this;var t=u.tokens.curr.line!==G(u.tokens.next);for(this.first=[],t&&(Je+=u.option.indent,u.tokens.next.from===Je+u.option.indent&&(Je+=u.option.indent));"(end)"!==u.tokens.next.id;){for(;","===u.tokens.next.id;){if(!u.option.elision){if(u.inES5()){x("W128");do{A(",")}while(","===u.tokens.next.id);continue}x("W070")}A(",")}if("]"===u.tokens.next.id)break;if(this.first.push(P(10)),","!==u.tokens.next.id)break;if(R({allowTrailing:!0}),"]"===u.tokens.next.id&&!u.inES5()){x("W070",u.tokens.curr);break}}return t&&(Je-=u.option.indent),A("]",this),this}),function(e){e.nud=function(){var e,t,n,r,i,o,s=!1,a=Object.create(null);if((e=u.tokens.curr.line!==G(u.tokens.next))&&(Je+=u.option.indent,u.tokens.next.from===Je+u.option.indent&&(Je+=u.option.indent)),ut().isDestAssign)return this.destructAssign=Me({openingParsed:!0,assignment:!0}),this;for(;"}"!==u.tokens.next.id;){if(o=u.tokens.next.value,!u.tokens.next.identifier||","!==_().id&&"}"!==_().id)if(":"===L().id||"get"!==o&&"set"!==o){if("*"===u.tokens.next.value&&"(punctuator)"===u.tokens.next.type?(u.inES6()||x("W104",u.tokens.next,"generator functions","6"),A("*"),s=!0):s=!1,"["===u.tokens.next.id)n=Ie(),u.nameStack.set(n);else if(u.nameStack.set(u.tokens.next),n=ke(),Fe(a,n,u.tokens.next),"string"!=typeof n)break;"("===u.tokens.next.value?(u.inES6()||x("W104",u.tokens.curr,"concise methods","6"),Se({type:s?"generator":null})):(A(":"),P(10))}else A(o),u.inES5()||w("E034"),!(n=ke())&&!u.inES6()&&w("E035"),n&&Re(o,a,n,u.tokens.curr),i=u.tokens.next,t=Se(),r=t["(params)"],"get"===o&&n&&r?x("W076",i,r[0],n):"set"===o&&n&&(!r||1!==r.length)&&x("W077",i,n);else u.inES6()||x("W104",u.tokens.next,"object short notation","6"),n=ke(!0),Fe(a,n,u.tokens.next),P(10);if(de(n),","!==u.tokens.next.id)break;R({allowTrailing:!0,property:!0}),","===u.tokens.next.id?x("W070",u.tokens.curr):"}"===u.tokens.next.id&&!u.inES5()&&x("W070",u.tokens.curr)}return e&&(Je-=u.option.indent),A("}",this),_e(a),this},e.fud=function(){w("E036",u.tokens.curr)}}(U("{")),D("const",function(e){return Pe("const",this,e)}).exps=!0,D("let",function(e){return Pe("let",this,e)}).exps=!0;var ct=D("var",function(e){var t,n,i,s=e&&e.prefix,a=e&&e.inexport,c=e&&e.implied,l=!e||!e.ignore;for(this.first=[];;){var f=[];r.contains(["{","["],u.tokens.next.value)?(t=Me(),n=!1):(t=[{id:ae(),token:u.tokens.curr}],n=!0),(!s||!c)&&l&&u.option.varstmt&&x("W132",this),this.first=this.first.concat(f);for(var h in t)t.hasOwnProperty(h)&&(h=t[h],!c&&u.funct["(global)"]&&(!1===Ye[h.id]?x("W079",h.token,h.id):!1===u.option.futurehostile&&(!u.inES5()&&!1===o.ecmaIdentifiers[5][h.id]||!u.inES6()&&!1===o.ecmaIdentifiers[6][h.id])&&x("W129",h.token,h.id)),h.id&&("for"===c?(u.funct["(scope)"].has(h.id)||l&&x("W088",h.token,h.id),u.funct["(scope)"].block.use(h.id,h.token)):(u.funct["(scope)"].addlabel(h.id,{type:"var",token:h.token}),n&&a&&u.funct["(scope)"].setExported(h.id,h.token)),f.push(h.token)));if("="===u.tokens.next.id&&(u.nameStack.set(u.tokens.curr),A("="),!s&&l&&!u.funct["(loopage)"]&&"undefined"===u.tokens.next.id&&x("W080",u.tokens.prev,u.tokens.prev.value),"="===L(0).id&&u.tokens.next.identifier&&(!s&&l&&!u.funct["(params)"]||-1===u.funct["(params)"].indexOf(u.tokens.next.value))&&x("W120",u.tokens.next,u.tokens.next.value),i=P(s?120:10),n?t[0].first=i:Te(f,i)),","!==u.tokens.next.id)break;R()}return this});ct.exps=!0,q("class",function(){return Ge.call(this,!0)}),q("function",function(e){var t=e&&e.inexport,n=!1;"*"===u.tokens.next.value&&(A("*"),u.inES6({strict:!0})?n=!0:x("W119",u.tokens.curr,"function*","6")),ze&&x("W082",u.tokens.curr);var r=se();return u.funct["(scope)"].addlabel(r,{type:"function",token:u.tokens.curr}),void 0===r?x("W025"):t&&u.funct["(scope)"].setExported(r,u.tokens.prev),Se({name:r,statement:this,type:n?"generator":null,ignoreLoopFunc:ze}),"("===u.tokens.next.id&&u.tokens.next.line===u.tokens.curr.line&&w("E039"),this}),$("function",function(){var e=!1;return"*"===u.tokens.next.value&&(u.inES6()||x("W119",u.tokens.curr,"function*","6"),A("*"),e=!0),Se({name:se(),type:e?"generator":null}),this}),q("if",function(){var e=u.tokens.next;je(),u.condition=!0,A("(");var t=P(0);Le(t);var n=null;u.option.forin&&u.forinifcheckneeded&&(u.forinifcheckneeded=!1,n=u.forinifchecks[u.forinifchecks.length-1],"(punctuator)"===t.type&&"!"===t.value?n.type="(negative)":n.type="(positive)"),A(")",e),u.condition=!1;var r=pe(!0,!0);return n&&"(negative)"===n.type&&r&&r[0]&&"(identifier)"===r[0].type&&"continue"===r[0].value&&(n.type="(negative-with-continue)"),"else"===u.tokens.next.id&&(A("else"),"if"===u.tokens.next.id||"switch"===u.tokens.next.id?le():pe(!0,!0)),this}),q("try",function(){var e;for(pe(!0);"catch"===u.tokens.next.id;)je(),e&&!u.inMoz()&&x("W118",u.tokens.next,"multiple catch blocks"),function(){if(A("catch"),A("("),u.funct["(scope)"].stack("catchparams"),Ue(u.tokens.next,["[","{"])){var e=Me();r.each(e,function(e){e.id&&u.funct["(scope)"].addParam(e.id,e,"exception")})}else"(identifier)"!==u.tokens.next.type?x("E030",u.tokens.next,u.tokens.next.value):u.funct["(scope)"].addParam(ae(),u.tokens.curr,"exception");"if"===u.tokens.next.value&&(u.inMoz()||x("W118",u.tokens.curr,"catch filter"),A("if"),P(0)),A(")"),pe(!1),u.funct["(scope)"].unstack()}(),e=!0;return"finally"===u.tokens.next.id?(A("finally"),void pe(!0)):(e||w("E021",u.tokens.next,"catch",u.tokens.next.value),this)}),q("while",function(){var e=u.tokens.next;return u.funct["(breakage)"]+=1,u.funct["(loopage)"]+=1,je(),A("("),Le(P(0)),A(")",e),pe(!0,!0),u.funct["(breakage)"]-=1,u.funct["(loopage)"]-=1,this}).labelled=!0,q("with",function(){var e=u.tokens.next;return u.isStrict()?w("E010",u.tokens.curr):u.option.withstmt||x("W085",u.tokens.curr),A("("),P(0),A(")",e),pe(!0,!0),this}),q("switch",function(){var e=u.tokens.next,t=!1,n=!1;for(u.funct["(breakage)"]+=1,A("("),Le(P(0)),A(")",e),e=u.tokens.next,A("{"),u.tokens.next.from===Je&&(n=!0),n||(Je+=u.option.indent),this.cases=[];;)switch(u.tokens.next.id){case"case":switch(u.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:u.tokens.curr.caseFallsThrough||x("W086",u.tokens.curr,"case")}A("case"),this.cases.push(P(0)),je(),t=!0,A(":"),u.funct["(verb)"]="case";break;case"default":switch(u.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(u.tokens.curr.caseFallsThrough||x("W086",u.tokens.curr,"default"))}A("default"),t=!0,A(":");break;case"}":return n||(Je-=u.option.indent),A("}",e),u.funct["(breakage)"]-=1,void(u.funct["(verb)"]=void 0);case"(end)":return void w("E023",u.tokens.next,"}");default:if(Je+=u.option.indent,t)switch(u.tokens.curr.id){case",":return void w("E040");case":":t=!1,fe();break;default:return void w("E025",u.tokens.curr)}else{if(":"!==u.tokens.curr.id)return void w("E021",u.tokens.next,"case",u.tokens.next.value);A(":"),w("E024",u.tokens.curr,":"),fe()}Je-=u.option.indent}return this}).labelled=!0,D("debugger",function(){return u.option.debug||x("W087",this),this}).exps=!0,function(){var e=D("do",function(){u.funct["(breakage)"]+=1,u.funct["(loopage)"]+=1,je(),this.first=pe(!0,!0),A("while");var e=u.tokens.next;return A("("),Le(P(0)),A(")",e),u.funct["(breakage)"]-=1,u.funct["(loopage)"]-=1,this});e.labelled=!0,e.exps=!0}(),q("for",function(){var e,t=u.tokens.next,n=!1,i=null;"each"===t.value&&(i=t,A("each"),u.inMoz()||x("W118",u.tokens.curr,"for each")),je(),A("(");var o,s,a,c=0,l=["in","of"],f=0;Ue(u.tokens.next,["{","["])&&++f;do{if(o=L(c),++c,Ue(o,["{","["])?++f:Ue(o,["}","]"])&&--f,f<0)break;0===f&&(!s&&De(o,",")?s=o:!a&&De(o,"=")&&(a=o))}while(f>0||!r.contains(l,o.value)&&";"!==o.value&&"(end)"!==o.type);if(r.contains(l,o.value)){!u.inES6()&&"of"===o.value&&x("W104",o,"for of","6");var h=!a&&!s;if(a&&w("W133",s,o.value,"initializer is forbidden"),s&&w("W133",s,o.value,"more than one ForBinding"),"var"===u.tokens.next.id?(A("var"),u.tokens.curr.fud({prefix:!0})):"let"===u.tokens.next.id||"const"===u.tokens.next.id?(A(u.tokens.next.id),n=!0,u.funct["(scope)"].stack(),u.tokens.curr.fud({prefix:!0})):Object.create(ct).fud({prefix:!0,implied:"for",ignore:!h}),A(o.value),P(20),A(")",t),"in"===o.value&&u.option.forin&&(u.forinifcheckneeded=!0,void 0===u.forinifchecks&&(u.forinifchecks=[]),u.forinifchecks.push({type:"(none)"})),u.funct["(breakage)"]+=1,u.funct["(loopage)"]+=1,e=pe(!0,!0),"in"===o.value&&u.option.forin){if(u.forinifchecks&&u.forinifchecks.length>0){var p=u.forinifchecks.pop();(e&&e.length>0&&("object"!=typeof e[0]||"if"!==e[0].value)||"(positive)"===p.type&&e.length>1||"(negative)"===p.type)&&x("W089",this)}u.forinifcheckneeded=!1}u.funct["(breakage)"]-=1,u.funct["(loopage)"]-=1}else{if(i&&w("E045",i),";"!==u.tokens.next.id)if("var"===u.tokens.next.id)A("var"),u.tokens.curr.fud();else if("let"===u.tokens.next.id)A("let"),n=!0,u.funct["(scope)"].stack(),u.tokens.curr.fud();else for(;P(0,"for"),","===u.tokens.next.id;)s();if(C(u.tokens.curr),A(";"),u.funct["(loopage)"]+=1,";"!==u.tokens.next.id&&Le(P(0)),C(u.tokens.curr),A(";"),";"===u.tokens.next.id&&w("E021",u.tokens.next,")",";"),")"!==u.tokens.next.id)for(;P(0,"for"),","===u.tokens.next.id;)s();A(")",t),u.funct["(breakage)"]+=1,pe(!0,!0),u.funct["(breakage)"]-=1,u.funct["(loopage)"]-=1}return n&&u.funct["(scope)"].unstack(),this}).labelled=!0,D("break",function(){var e=u.tokens.next.value;return u.option.asi||C(this),";"===u.tokens.next.id||u.tokens.next.reach||u.tokens.curr.line!==G(u.tokens.next)?0===u.funct["(breakage)"]&&x("W052",u.tokens.next,this.value):(u.funct["(scope)"].funct.hasBreakLabel(e)||x("W090",u.tokens.next,e),this.first=u.tokens.next,A()),ce(this),this}).exps=!0,D("continue",function(){var e=u.tokens.next.value;return 0===u.funct["(breakage)"]&&x("W052",u.tokens.next,this.value),u.funct["(loopage)"]||x("W052",u.tokens.next,this.value),u.option.asi||C(this),";"!==u.tokens.next.id&&!u.tokens.next.reach&&u.tokens.curr.line===G(u.tokens.next)&&(u.funct["(scope)"].funct.hasBreakLabel(e)||x("W090",u.tokens.next,e),this.first=u.tokens.next,A()),ce(this),this}).exps=!0,D("return",function(){return this.line===G(u.tokens.next)?";"!==u.tokens.next.id&&!u.tokens.next.reach&&(this.first=P(0),this.first&&"(punctuator)"===this.first.type&&"="===this.first.value&&!this.first.paren&&!u.option.boss&&E("W093",this.first.line,this.first.character)):"(punctuator)"===u.tokens.next.type&&["[","{","+","-"].indexOf(u.tokens.next.value)>-1&&C(this),ce(this),this}).exps=!0,function(e){e.exps=!0,e.lbp=25}($("yield",function(){var e=u.tokens.prev;u.inES6(!0)&&!u.funct["(generator)"]?("(catch)"!==u.funct["(name)"]||!u.funct["(context)"]["(generator)"])&&w("E046",u.tokens.curr,"yield"):u.inES6()||x("W104",u.tokens.curr,"yield","6"),u.funct["(generator)"]="yielded";var t=!1;return"*"===u.tokens.next.value&&(t=!0,A("*")),this.line!==G(u.tokens.next)&&u.inMoz()?u.option.asi||C(this):((t||";"!==u.tokens.next.id&&!u.option.asi&&!u.tokens.next.reach&&u.tokens.next.nud)&&(V(u.tokens.curr,u.tokens.next),this.first=P(10),"(punctuator)"===this.first.type&&"="===this.first.value&&!this.first.paren&&!u.option.boss&&E("W093",this.first.line,this.first.character)),u.inMoz()&&")"!==u.tokens.next.id&&(e.lbp>30||!e.assign&&!O()||"yield"===e.id)&&w("E050",this)),this})),D("throw",function(){return C(this),this.first=P(20),ce(this),this}).exps=!0,D("import",function(){if(u.inES6()||x("W119",u.tokens.curr,"import","6"),"(string)"===u.tokens.next.type)return A("(string)"),this;if(u.tokens.next.identifier){if(this.name=ae(),u.funct["(scope)"].addlabel(this.name,{type:"const",token:u.tokens.curr}),","!==u.tokens.next.value)return A("from"),A("(string)"),this;A(",")}if("*"===u.tokens.next.id)A("*"),A("as"),u.tokens.next.identifier&&(this.name=ae(),u.funct["(scope)"].addlabel(this.name,{type:"const",token:u.tokens.curr}));else for(A("{");;){if("}"===u.tokens.next.value){A("}");break}var e;if("default"===u.tokens.next.type?(e="default",A("default")):e=ae(),"as"===u.tokens.next.value&&(A("as"),e=ae()),u.funct["(scope)"].addlabel(e,{type:"const",token:u.tokens.curr}),","!==u.tokens.next.value){if("}"===u.tokens.next.value){A("}");break}w("E024",u.tokens.next,u.tokens.next.value);break}A(",")}return A("from"),A("(string)"),this}).exps=!0,D("export",function(){var e,t,n=!0;if(u.inES6()||(x("W119",u.tokens.curr,"export","6"),n=!1),u.funct["(scope)"].block.isGlobal()||(w("E053",u.tokens.curr),n=!1),"*"===u.tokens.next.value)return A("*"),A("from"),A("(string)"),this;if("default"===u.tokens.next.type){u.nameStack.set(u.tokens.next),A("default");var r=u.tokens.next.id;return"function"!==r&&"class"!==r||(this.block=!0),e=L(),P(10),t=e.value,this.block&&(u.funct["(scope)"].addlabel(t,{type:r,token:e}),u.funct["(scope)"].setExported(t,e)),this}if("{"===u.tokens.next.value){A("{");for(var i=[];;){if(u.tokens.next.identifier||w("E030",u.tokens.next,u.tokens.next.value),A(),i.push(u.tokens.curr),"as"===u.tokens.next.value&&(A("as"),u.tokens.next.identifier||w("E030",u.tokens.next,u.tokens.next.value),A()),","!==u.tokens.next.value){if("}"===u.tokens.next.value){A("}");break}w("E024",u.tokens.next,u.tokens.next.value);break}A(",")}return"from"===u.tokens.next.value?(A("from"),A("(string)")):n&&i.forEach(function(e){u.funct["(scope)"].setExported(e.value,e)}),this}if("var"===u.tokens.next.id)A("var"),u.tokens.curr.fud({inexport:!0});else if("let"===u.tokens.next.id)A("let"),u.tokens.curr.fud({inexport:!0});else if("const"===u.tokens.next.id)A("const"),u.tokens.curr.fud({inexport:!0});else if("function"===u.tokens.next.id)this.block=!0,A("function"),u.syntax.function.fud({inexport:!0});else if("class"===u.tokens.next.id){this.block=!0,A("class");var o=u.tokens.next;u.syntax.class.fud(),u.funct["(scope)"].setExported(o.value,o)}else w("E024",u.tokens.next,u.tokens.next.value);return this}).exps=!0,z("abstract"),z("boolean"),z("byte"),z("char"),z("class",{es5:!0,nud:Ge}),z("double"),z("enum",{es5:!0}),z("export",{es5:!0}),z("extends",{es5:!0}),z("final"),z("float"),z("goto"),z("implements",{es5:!0,strictOnly:!0}),z("import",{es5:!0}),z("int"),z("interface",{es5:!0,strictOnly:!0}),z("long"),z("native"),z("package",{es5:!0,strictOnly:!0}),z("private",{es5:!0,strictOnly:!0}),z("protected",{es5:!0,strictOnly:!0}),z("public",{es5:!0,strictOnly:!0}),z("short"),z("static",{es5:!0,strictOnly:!0}),z("super",{es5:!0}),z("synchronized"),z("transient"),z("volatile");var ut=function(){var e,t,n,r=-1,i=0,o={};Ue(u.tokens.curr,["[","{"])&&(i+=1);do{if(n=-1===r?u.tokens.curr:e,e=-1===r?u.tokens.next:L(r),t=L(r+1),r+=1,Ue(e,["[","{"])?i+=1:Ue(e,["]","}"])&&(i-=1),1===i&&e.identifier&&"for"===e.value&&!De(n,".")){o.isCompArray=!0,o.notJson=!0;break}if(0===i&&Ue(e,["}","]"])){if("="===t.value){o.isDestAssign=!0,o.notJson=!0;break}if("."===t.value){o.notJson=!0;break}}De(e,";")&&(o.isBlock=!0,o.notJson=!0)}while(i>0&&"(end)"!==e.id);return o},lt=function(){function e(e){return 0!==n.variables.filter(function(t){if(t.value===e)return t.undef=!1,e}).length}function t(e){return 0===n.variables.filter(function(t){if(t.value===e&&!t.undef)return!0===t.unused&&(t.unused=!1),e}).length}var n,i=function(){this.mode="use",this.variables=[]},o=[];return{stack:function(){n=new i,o.push(n)},unstack:function(){n.variables.filter(function(e){e.unused&&x("W098",e.token,e.raw_text||e.value),e.undef&&u.funct["(scope)"].block.use(e.value,e.token)}),o.splice(-1,1),n=o[o.length-1]},setState:function(e){r.contains(["use","define","generate","filter"],e)&&(n.mode=e)},check:function(r){if(n)return n&&"use"===n.mode?(t(r)&&n.variables.push({funct:u.funct,token:u.tokens.curr,value:r,undef:!0,unused:!1}),!0):n&&"define"===n.mode?(e(r)||n.variables.push({funct:u.funct,token:u.tokens.curr,value:r,undef:!1,unused:!0}),!0):n&&"generate"===n.mode?(u.funct["(scope)"].block.use(r,u.tokens.curr),!0):!(!n||"filter"!==n.mode)&&(t(r)&&u.funct["(scope)"].block.use(r,u.tokens.curr),!0)}}},ft=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},ht=function(n,i,s){function c(e,t){e&&(!Array.isArray(e)&&"object"==typeof e&&(e=Object.keys(e)),e.forEach(t))}var l,f,d,m,g,y,W={},j={};i=r.clone(i),u.reset(),i&&i.scope?p.scope=i.scope:(p.errors=[],p.undefs=[],p.internals=[],p.blacklist={},p.scope="(main)"),v(Ye=Object.create(null),o.ecmaIdentifiers[3]),v(Ye,o.reservedVars),v(Ye,s||{}),Be=Object.create(null);var L=Object.create(null);if(i)for(c(i.predef||null,function(e){var t,n;"-"===e[0]?(t=e.slice(1),p.blacklist[t]=t,delete Ye[t]):(n=Object.getOwnPropertyDescriptor(i.predef,e),Ye[e]=!!n&&n.value)}),c(i.exported||null,function(e){L[e]=!0}),delete i.predef,delete i.exported,y=Object.keys(i),d=0;d<y.length;d++)if(/^-W\d{3}$/g.test(y[d]))j[y[d].slice(1)]=!0;else{var _=y[d];W[_]=i[_],("esversion"===_&&5===i[_]||"es5"===_&&i[_])&&x("I003"),"newcap"===y[d]&&!1===i[_]&&(W["(explicitNewcap)"]=!0)}u.option=W,u.ignored=j,u.option.indent=u.option.indent||4,u.option.maxerr=u.option.maxerr||50,Je=1;var M=h(u,Ye,L,Be);if(M.on("warning",function(e){x.apply(null,[e.code,e.token].concat(e.data))}),M.on("error",function(e){w.apply(null,[e.code,e.token].concat(e.data))}),u.funct=ye("(global)",null,{"(global)":!0,"(scope)":M,"(comparray)":lt(),"(metrics)":We(u.tokens.next)}),He=[u.funct],tt=[],et=null,Ke={},Qe=null,ze=!1,Xe=[],!t(n)&&!Array.isArray(n))return S("E004",0),!1;$e={get isJSON(){return u.jsonMode},getOption:function(e){return u.option[e]||null},getCache:function(e){return u.cache[e]},setCache:function(e,t){u.cache[e]=t},warn:function(e,t){E.apply(null,[e,t.line,t.char].concat(t.data))},on:function(e,t){e.split(" ").forEach(function(e){ot.on(e,t)}.bind(this))}},ot.removeAllListeners(),(it||[]).forEach(function(e){e($e)}),u.tokens.prev=u.tokens.curr=u.tokens.next=u.syntax["(begin)"],i&&i.ignoreDelimiters&&(Array.isArray(i.ignoreDelimiters)||(i.ignoreDelimiters=[i.ignoreDelimiters]),i.ignoreDelimiters.forEach(function(e){e.start&&e.end&&(m=ft(e.start)+"[\\s\\S]*?"+ft(e.end),g=new RegExp(m,"ig"),n=n.replace(g,function(e){return e.replace(/./g," ")}))})),(Ze=new a(n)).on("warning",function(e){E.apply(null,[e.code,e.line,e.character].concat(e.data))}),Ze.on("error",function(e){S.apply(null,[e.code,e.line,e.character].concat(e.data))}),Ze.on("fatal",function(e){b("E041",e.line,e.from)}),Ze.on("Identifier",function(e){ot.emit("Identifier",e)}),Ze.on("String",function(e){ot.emit("String",e)}),Ze.on("Number",function(e){ot.emit("Number",e)}),Ze.start();for(var O in i)r.has(i,O)&&e(O,u.tokens.curr);k(),v(Ye,s||{}),R.first=!0;try{switch(A(),u.tokens.next.id){case"{":case"[":qe();break;default:he(),u.directive["use strict"]&&"global"!==u.option.strict&&x("W097",u.tokens.prev),fe()}"(end)"!==u.tokens.next.id&&b("E041",u.tokens.curr.line),u.funct["(scope)"].unstack()}catch(e){if(!e||"JSHintError"!==e.name)throw e;var T=u.tokens.next||{};p.errors.push({scope:"(main)",raw:e.raw,code:e.code,reason:e.message,line:e.line||T.line,character:e.character||T.from},null)}if("(main)"===p.scope)for(i=i||{},l=0;l<p.internals.length;l+=1)f=p.internals[l],i.scope=f.elem,ht(f.value,i,s);return 0===p.errors.length};return ht.addModule=function(e){it.push(e)},ht.addModule(l.register),ht.data=function(){var e,t,n,r,i,o,s={functions:[],options:u.option};ht.errors.length&&(s.errors=ht.errors),u.jsonMode&&(s.json=!0);var a=u.funct["(scope)"].getImpliedGlobals();for(a.length>0&&(s.implieds=a),tt.length>0&&(s.urls=tt),(o=u.funct["(scope)"].getUsedOrDefinedGlobals()).length>0&&(s.globals=o),n=1;n<He.length;n+=1){for(t=He[n],e={},r=0;r<rt.length;r+=1)e[rt[r]]=[];for(r=0;r<rt.length;r+=1)0===e[rt[r]].length&&delete e[rt[r]];e.name=t["(name)"],e.param=t["(params)"],e.line=t["(line)"],e.character=t["(character)"],e.last=t["(last)"],e.lastcharacter=t["(lastcharacter)"],e.metrics={complexity:t["(metrics)"].ComplexityCount,parameters:t["(metrics)"].arity,statements:t["(metrics)"].statementCount},s.functions.push(e)}var c=u.funct["(scope)"].getUnuseds();c.length>0&&(s.unused=c);for(i in Ke)if("number"==typeof Ke[i]){s.member=Ke;break}return s},ht.jshint=ht,ht}();"object"==typeof n&&n&&(n.JSHINT=p)},{"../lodash":"/node_modules/jshint/lodash.js","./lex.js":"/node_modules/jshint/src/lex.js","./messages.js":"/node_modules/jshint/src/messages.js","./options.js":"/node_modules/jshint/src/options.js","./reg.js":"/node_modules/jshint/src/reg.js","./scope-manager.js":"/node_modules/jshint/src/scope-manager.js","./state.js":"/node_modules/jshint/src/state.js","./style.js":"/node_modules/jshint/src/style.js","./vars.js":"/node_modules/jshint/src/vars.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/lex.js":[function(e,t,n){"use strict";function r(){var e=[];return{push:function(t){e.push(t)},check:function(){for(var t=0;t<e.length;++t)e[t]();e.splice(0,e.length)}}}function i(e){var t=e;"string"==typeof t&&(t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split("\n")),t[0]&&"#!"===t[0].substr(0,2)&&(-1!==t[0].indexOf("node")&&(c.option.node=!0),t[0]=""),this.emitter=new s.EventEmitter,this.source=e,this.setLines(t),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="",this.inComment=!1,this.context=[],this.templateStarts=[];for(var n=0;n<c.option.indent;n+=1)c.tab+=" ";this.ignoreLinterErrors=!1}var o=e("../lodash"),s=e("events"),a=e("./reg.js"),c=e("./state.js").state,u=e("../data/ascii-identifier-data.js"),l=u.asciiIdentifierStartTable,f=u.asciiIdentifierPartTable,h={Identifier:1,Punctuator:2,NumericLiteral:3,StringLiteral:4,Comment:5,Keyword:6,NullLiteral:7,BooleanLiteral:8,RegExp:9,TemplateHead:10,TemplateMiddle:11,TemplateTail:12,NoSubstTemplate:13},p={Block:1,Template:2};i.prototype={_lines:[],inContext:function(e){return this.context.length>0&&this.context[this.context.length-1].type===e},pushContext:function(e){this.context.push({type:e})},popContext:function(){return this.context.pop()},isContext:function(e){return this.context.length>0&&this.context[this.context.length-1]===e},currentContext:function(){return this.context.length>0&&this.context[this.context.length-1]},getLines:function(){return this._lines=c.lines,this._lines},setLines:function(e){this._lines=e,c.lines=this._lines},peek:function(e){return this.input.charAt(e||0)},skip:function(e){e=e||1,this.char+=e,this.input=this.input.slice(e)},on:function(e,t){e.split(" ").forEach(function(e){this.emitter.on(e,t)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(e,t,n,r){n.push(function(){r()&&this.trigger(e,t)}.bind(this))},scanPunctuator:function(){var e,t,n,r=this.peek();switch(r){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if("."===this.peek(1)&&"."===this.peek(2))return{type:h.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":case"?":return{type:h.Punctuator,value:r};case"{":return this.pushContext(p.Block),{type:h.Punctuator,value:r};case"}":return this.inContext(p.Block)&&this.popContext(),{type:h.Punctuator,value:r};case"#":return{type:h.Punctuator,value:r};case"":return null}return e=this.peek(1),t=this.peek(2),n=this.peek(3),">"===r&&">"===e&&">"===t&&"="===n?{type:h.Punctuator,value:">>>="}:"="===r&&"="===e&&"="===t?{type:h.Punctuator,value:"==="}:"!"===r&&"="===e&&"="===t?{type:h.Punctuator,value:"!=="}:">"===r&&">"===e&&">"===t?{type:h.Punctuator,value:">>>"}:"<"===r&&"<"===e&&"="===t?{type:h.Punctuator,value:"<<="}:">"===r&&">"===e&&"="===t?{type:h.Punctuator,value:">>="}:"="===r&&">"===e?{type:h.Punctuator,value:r+e}:r===e&&"+-<>&|".indexOf(r)>=0?{type:h.Punctuator,value:r+e}:"<>=!+-*%&|^".indexOf(r)>=0?"="===e?{type:h.Punctuator,value:r+e}:{type:h.Punctuator,value:r}:"/"===r?"="===e?{type:h.Punctuator,value:"/="}:{type:h.Punctuator,value:"/"}:null},scanComments:function(){function e(e,t,n){var r=!1,i=e+t,o="plain";return(n=n||{}).isMultiline&&(i+="*/"),t=t.replace(/\n/g," "),"/*"===e&&a.fallsThrough.test(t)&&(r=!0,o="falls through"),["jshint","jslint","members","member","globals","global","exported"].forEach(function(n){if(!r&&("//"!==e||"jshint"===n)&&(" "===t.charAt(n.length)&&t.substr(0,n.length)===n&&(r=!0,e+=n,t=t.substr(n.length)),!r&&" "===t.charAt(0)&&" "===t.charAt(n.length+1)&&t.substr(1,n.length)===n&&(r=!0,e=e+" "+n,t=t.substr(n.length+1)),r))switch(n){case"member":o="members";break;case"global":o="globals";break;default:var i=t.split(":").map(function(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")});if(2===i.length)switch(i[0]){case"ignore":switch(i[1]){case"start":s.ignoringLinterErrors=!0,r=!1;break;case"end":s.ignoringLinterErrors=!1,r=!1}}o=n}}),{type:h.Comment,commentType:o,value:i,body:t,isSpecial:r,isMultiline:n.isMultiline||!1,isMalformed:n.isMalformed||!1}}var t=this.peek(),n=this.peek(1),r=this.input.substr(2),i=this.line,o=this.char,s=this;if("*"===t&&"/"===n)return this.trigger("error",{code:"E018",line:i,character:o}),this.skip(2),null;if("/"!==t||"*"!==n&&"/"!==n)return null;if("/"===n)return this.skip(this.input.length),e("//",r);var c="";if("*"===n){for(this.inComment=!0,this.skip(2);"*"!==this.peek()||"/"!==this.peek(1);)if(""===this.peek()){if(c+="\n",!this.nextLine())return this.trigger("error",{code:"E017",line:i,character:o}),this.inComment=!1,e("/*",c,{isMultiline:!0,isMalformed:!0})}else c+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,e("/*",c,{isMultiline:!0})}},scanKeyword:function(){var e=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input);return e&&["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"].indexOf(e[0])>=0?{type:h.Keyword,value:e[0]}:null},scanIdentifier:function(){function e(e){return e>256}function t(e){return e>256}function n(e){return/^[0-9a-fA-F]$/.test(e)}var r,i,o="",s=0,a=function(){if(s+=1,"u"!==this.peek(s))return null;var e,r=this.peek(s+1),i=this.peek(s+2),o=this.peek(s+3),a=this.peek(s+4);return n(r)&&n(i)&&n(o)&&n(a)?(e=parseInt(r+i+o+a,16),f[e]||t(e)?(s+=5,"\\u"+r+i+o+a):null):null}.bind(this),c=function(){var t=this.peek(s),n=t.charCodeAt(0);return 92===n?a():n<128?l[n]?(s+=1,t):null:e(n)?(s+=1,t):null}.bind(this),u=function(){var e=this.peek(s),n=e.charCodeAt(0);return 92===n?a():n<128?f[n]?(s+=1,e):null:t(n)?(s+=1,e):null}.bind(this);if(null===(i=c()))return null;for(o=i;null!==(i=u());)o+=i;switch(o){case"true":case"false":r=h.BooleanLiteral;break;case"null":r=h.NullLiteral;break;default:r=h.Identifier}return{type:r,value:function(e){return e.replace(/\\u([0-9a-fA-F]{4})/g,function(e,t){return String.fromCharCode(parseInt(t,16))})}(o),text:o,tokenLength:o.length}},scanNumericLiteral:function(){function e(e){return/^[0-9]$/.test(e)}function t(e){return/^[0-7]$/.test(e)}function n(e){return"$"===e||"_"===e||"\\"===e||e>="a"&&e<="z"||e>="A"&&e<="Z"}var r=0,i="",o=this.input.length,s=this.peek(r),a=e,u=10,l=!1;if("."!==s&&!e(s))return null;if("."!==s){for(i=this.peek(r),r+=1,s=this.peek(r),"0"===i&&("x"!==s&&"X"!==s||(a=function(e){return/^[0-9a-fA-F]$/.test(e)},u=16,r+=1,i+=s),"o"!==s&&"O"!==s||(a=t,u=8,c.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]}),r+=1,i+=s),"b"!==s&&"B"!==s||(a=function(e){return/^[01]$/.test(e)},u=2,c.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]}),r+=1,i+=s),t(s)&&(a=t,u=8,l=!0,!1,r+=1,i+=s),!t(s)&&e(s)&&(r+=1,i+=s));r<o;){if(s=this.peek(r),l&&e(s))!0;else if(!a(s))break;i+=s,r+=1}if(a!==e)return!l&&i.length<=2?{type:h.NumericLiteral,value:i,isMalformed:!0}:r<o&&(s=this.peek(r),n(s))?null:{type:h.NumericLiteral,value:i,base:u,isLegacy:l,isMalformed:!1}}if("."===s)for(i+=s,r+=1;r<o&&(s=this.peek(r),e(s));)i+=s,r+=1;if("e"===s||"E"===s){if(i+=s,r+=1,"+"!==(s=this.peek(r))&&"-"!==s||(i+=this.peek(r),r+=1),s=this.peek(r),!e(s))return null;for(i+=s,r+=1;r<o&&(s=this.peek(r),e(s));)i+=s,r+=1}return r<o&&(s=this.peek(r),n(s))?null:{type:h.NumericLiteral,value:i,base:u,isMalformed:!isFinite(i)}},scanEscapeSequence:function(e){var t=!1,n=1;this.skip();var r=this.peek();switch(r){case"'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\'"]},e,function(){return c.jsonMode});break;case"b":r="\\b";break;case"f":r="\\f";break;case"n":r="\\n";break;case"r":r="\\r";break;case"t":r="\\t";break;case"0":r="\\0";var i=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},e,function(){return i>=0&&i<=7&&c.isStrict()});break;case"u":var o=this.input.substr(1,4),s=parseInt(o,16);isNaN(s)&&this.trigger("warning",{code:"W052",line:this.line,character:this.char,data:["u"+o]}),r=String.fromCharCode(s),n=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\v"]},e,function(){return c.jsonMode}),r="\v";break;case"x":var a=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\x-"]},e,function(){return c.jsonMode}),r=String.fromCharCode(a),n=3;break;case"\\":r="\\\\";break;case'"':r='\\"';break;case"/":break;case"":t=!0,r=""}return{char:r,jump:n,allowNewLine:t}},scanTemplateLiteral:function(e){var t,n,r="",i=this.line,o=this.char,s=this.templateStarts.length;if(!c.inES6(!0))return null;if("`"===this.peek())t=h.TemplateHead,this.templateStarts.push({line:this.line,char:this.char}),s=this.templateStarts.length,this.skip(1),this.pushContext(p.Template);else{if(!this.inContext(p.Template)||"}"!==this.peek())return null;t=h.TemplateMiddle}for(;"`"!==this.peek();){for(;""===(n=this.peek());)if(r+="\n",!this.nextLine()){var a=this.templateStarts.pop();return this.trigger("error",{code:"E052",line:a.line,character:a.char}),{type:t,value:r,startLine:i,startChar:o,isUnclosed:!0,depth:s,context:this.popContext()}}if("$"===n&&"{"===this.peek(1))return r+="${",this.skip(2),{type:t,value:r,startLine:i,startChar:o,isUnclosed:!1,depth:s,context:this.currentContext()};if("\\"===n){var u=this.scanEscapeSequence(e);r+=u.char,this.skip(u.jump)}else"`"!==n&&(r+=n,this.skip(1))}return t=t===h.TemplateHead?h.NoSubstTemplate:h.TemplateTail,this.skip(1),this.templateStarts.pop(),{type:t,value:r,startLine:i,startChar:o,isUnclosed:!1,depth:s,context:this.popContext()}},scanStringLiteral:function(e){var t=this.peek();if('"'!==t&&"'"!==t)return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},e,function(){return c.jsonMode&&'"'!==t});var n="",r=this.line,i=this.char,o=!1;for(this.skip();this.peek()!==t;)if(""===this.peek()){if(o?(o=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},e,function(){return!c.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},e,function(){return c.jsonMode&&c.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine())return this.trigger("error",{code:"E029",line:r,character:i}),{type:h.StringLiteral,value:n,startLine:r,startChar:i,isUnclosed:!0,quote:t}}else{o=!1;var s=this.peek(),a=1;if(s<" "&&this.trigger("warning",{code:"W113",line:this.line,character:this.char,data:["<non-printable>"]}),"\\"===s){var u=this.scanEscapeSequence(e);s=u.char,a=u.jump,o=u.allowNewLine}n+=s,this.skip(a)}return this.skip(),{type:h.StringLiteral,value:n,startLine:r,startChar:i,isUnclosed:!1,quote:t}},scanRegExp:function(){var e,t=0,n=this.input.length,r=this.peek(),i=r,o="",s=[],a=!1,c=!1,u=function(){r<" "&&(a=!0,this.trigger("warning",{code:"W048",line:this.line,character:this.char})),"<"===r&&(a=!0,this.trigger("warning",{code:"W049",line:this.line,character:this.char,data:[r]}))}.bind(this);if(!this.prereg||"/"!==r)return null;for(t+=1,e=!1;t<n;)if(r=this.peek(t),i+=r,o+=r,c)"]"===r&&("\\"!==this.peek(t-1)||"\\"===this.peek(t-2))&&(c=!1),"\\"===r&&(t+=1,r=this.peek(t),o+=r,i+=r,u()),t+=1;else{if("\\"===r){if(t+=1,r=this.peek(t),o+=r,i+=r,u(),"/"===r){t+=1;continue}if("["===r){t+=1;continue}}if("["!==r){if("/"===r){o=o.substr(0,o.length-1),e=!0,t+=1;break}t+=1}else c=!0,t+=1}if(!e)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});for(;t<n&&(r=this.peek(t),/[gim]/.test(r));)s.push(r),i+=r,t+=1;try{new RegExp(o,s.join(""))}catch(e){a=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[e.message]})}return{type:h.RegExp,value:i,flags:s,isMalformed:a}},scanNonBreakingSpaces:function(){return c.option.nonbsp?this.input.search(/(\u00A0)/):-1},scanUnsafeChars:function(){return this.input.search(a.unsafeChars)},next:function(e){this.from=this.char;if(/\s/.test(this.peek()))for(this.char;/\s/.test(this.peek());)this.from+=1,this.skip();var t=this.scanComments()||this.scanStringLiteral(e)||this.scanTemplateLiteral(e);return t||((t=this.scanRegExp()||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral())?(this.skip(t.tokenLength||t.value.length),t):null)},nextLine:function(){var e;if(this.line>=this.getLines().length)return!1;this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1;var t=this.input.trim(),n=function(){return o.some(arguments,function(e){return 0===t.indexOf(e)})};return!0===this.ignoringLinterErrors&&!n("/*","//")&&(!this.inComment||!function(){return o.some(arguments,function(e){return-1!==t.indexOf(e,t.length-e.length)})}("*/"))&&(this.input=""),(e=this.scanNonBreakingSpaces())>=0&&this.trigger("warning",{code:"W125",line:this.line,character:e+1}),this.input=this.input.replace(/\t/g,c.tab),(e=this.scanUnsafeChars())>=0&&this.trigger("warning",{code:"W100",line:this.line,character:e}),!this.ignoringLinterErrors&&c.option.maxlen&&c.option.maxlen<this.input.length&&(!(this.inComment||n.call(t,"//")||n.call(t,"/*"))||!a.maxlenException.test(t))&&this.trigger("warning",{code:"W101",line:this.line,character:this.input.length}),!0},start:function(){this.nextLine()},token:function(){function e(e,t){if(!e.reserved)return!1;var n=e.meta;if(n&&n.isFutureReservedWord&&c.inES5()){if(!n.es5)return!1;if(n.strictOnly&&!c.option.strict&&!c.isStrict())return!1;if(t)return!1}return!0}for(var t,n=r(),i=function(t,r,i,s){var a;if("(endline)"!==t&&"(end)"!==t&&(this.prereg=!1),"(punctuator)"===t){switch(r){case".":case")":case"~":case"#":case"]":case"++":case"--":this.prereg=!1;break;default:this.prereg=!0}a=Object.create(c.syntax[r]||c.syntax["(error)"])}return"(identifier)"===t&&("return"!==r&&"case"!==r&&"typeof"!==r||(this.prereg=!0),o.has(c.syntax,r)&&(a=Object.create(c.syntax[r]||c.syntax["(error)"]),e(a,i&&"(identifier)"===t)||(a=null))),a||(a=Object.create(c.syntax[t])),a.identifier="(identifier)"===t,a.type=a.type||t,a.value=r,a.line=this.line,a.character=this.char,a.from=this.from,a.identifier&&s&&(a.raw_text=s.text||s.value),s&&s.startLine&&s.startLine!==this.line&&(a.startLine=s.startLine),s&&s.context&&(a.context=s.context),s&&s.depth&&(a.depth=s.depth),s&&s.isUnclosed&&(a.isUnclosed=s.isUnclosed),i&&a.identifier&&(a.isProperty=i),a.check=n.check,a}.bind(this);;){if(!this.input.length)return this.nextLine()?i("(endline)",""):this.exhausted?null:(this.exhausted=!0,i("(end)",""));if(t=this.next(n))switch(t.type){case h.StringLiteral:return this.triggerAsync("String",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value,quote:t.quote},n,function(){return!0}),i("(string)",t.value,null,t);case h.TemplateHead:return this.trigger("TemplateHead",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),i("(template)",t.value,null,t);case h.TemplateMiddle:return this.trigger("TemplateMiddle",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),i("(template middle)",t.value,null,t);case h.TemplateTail:return this.trigger("TemplateTail",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),i("(template tail)",t.value,null,t);case h.NoSubstTemplate:return this.trigger("NoSubstTemplate",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),i("(no subst template)",t.value,null,t);case h.Identifier:this.triggerAsync("Identifier",{line:this.line,char:this.char,from:this.form,name:t.value,raw_name:t.text,isProperty:"."===c.tokens.curr.id},n,function(){return!0});case h.Keyword:case h.NullLiteral:case h.BooleanLiteral:return i("(identifier)",t.value,"."===c.tokens.curr.id,t);case h.NumericLiteral:return t.isMalformed&&this.trigger("warning",{code:"W045",line:this.line,character:this.char,data:[t.value]}),this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["0x-"]},n,function(){return 16===t.base&&c.jsonMode}),this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},n,function(){return c.isStrict()&&8===t.base&&t.isLegacy}),this.trigger("Number",{line:this.line,char:this.char,from:this.from,value:t.value,base:t.base,isMalformed:t.malformed}),i("(number)",t.value);case h.RegExp:return i("(regexp)",t.value);case h.Comment:if(c.tokens.curr.comment=!0,t.isSpecial)return{id:"(comment)",value:t.value,body:t.body,type:t.commentType,isSpecial:t.isSpecial,line:this.line,character:this.char,from:this.from};break;case"":break;default:return i("(punctuator)",t.value)}else this.input.length&&(this.trigger("error",{code:"E024",line:this.line,character:this.char,data:[this.peek()]}),this.input="")}}},n.Lexer=i,n.Context=p},{"../data/ascii-identifier-data.js":"/node_modules/jshint/data/ascii-identifier-data.js","../lodash":"/node_modules/jshint/lodash.js","./reg.js":"/node_modules/jshint/src/reg.js","./state.js":"/node_modules/jshint/src/state.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/messages.js":[function(e,t,n){"use strict";var r=e("../lodash");n.errors={},n.warnings={},n.info={},r.each({E001:"Bad option: '{a}'.",E002:"Bad option value.",E003:"Expected a JSON value.",E004:"Input is neither a string nor an array of strings.",E005:"Input is empty.",E006:"Unexpected early end of program.",E007:'Missing "use strict" statement.',E008:"Strict violation.",E009:"Option 'validthis' can't be used in a global scope.",E010:"'with' is not allowed in strict mode.",E011:"'{a}' has already been declared.",E012:"const '{a}' is initialized to 'undefined'.",E013:"Attempting to override '{a}' which is a constant.",E014:"A regular expression literal can be confused with '/='.",E015:"Unclosed regular expression.",E016:"Invalid regular expression.",E017:"Unclosed comment.",E018:"Unbegun comment.",E019:"Unmatched '{a}'.",E020:"Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.",E021:"Expected '{a}' and instead saw '{b}'.",E022:"Line breaking error '{a}'.",E023:"Missing '{a}'.",E024:"Unexpected '{a}'.",E025:"Missing ':' on a case clause.",E026:"Missing '}' to match '{' from line {a}.",E027:"Missing ']' to match '[' from line {a}.",E028:"Illegal comma.",E029:"Unclosed string.",E030:"Expected an identifier and instead saw '{a}'.",E031:"Bad assignment.",E032:"Expected a small integer or 'false' and instead saw '{a}'.",E033:"Expected an operator and instead saw '{a}'.",E034:"get/set are ES5 features.",E035:"Missing property name.",E036:"Expected to see a statement and instead saw a block.",E037:null,E038:null,E039:"Function declarations are not invocable. Wrap the whole function invocation in parens.",E040:"Each value should have its own case label.",E041:"Unrecoverable syntax error.",E042:"Stopping.",E043:"Too many errors.",E044:null,E045:"Invalid for each loop.",E046:"A yield statement shall be within a generator function (with syntax: `function*`)",E047:null,E048:"{a} declaration not directly within block.",E049:"A {a} cannot be named '{b}'.",E050:"Mozilla requires the yield expression to be parenthesized here.",E051:null,E052:"Unclosed template literal.",E053:"Export declaration must be in global scope.",E054:"Class properties must be methods. Expected '(' but instead saw '{a}'.",E055:"The '{a}' option cannot be set after any executable code.",E056:"'{a}' was used before it was declared, which is illegal for '{b}' variables.",E057:"Invalid meta property: '{a}.{b}'.",E058:"Missing semicolon."},function(e,t){n.errors[t]={code:t,desc:e}}),r.each({W001:"'hasOwnProperty' is a really bad name.",W002:"Value of '{a}' may be overwritten in IE 8 and earlier.",W003:"'{a}' was used before it was defined.",W004:"'{a}' is already defined.",W005:"A dot following a number can be confused with a decimal point.",W006:"Confusing minuses.",W007:"Confusing plusses.",W008:"A leading decimal point can be confused with a dot: '{a}'.",W009:"The array literal notation [] is preferable.",W010:"The object literal notation {} is preferable.",W011:null,W012:null,W013:null,W014:"Bad line breaking before '{a}'.",W015:null,W016:"Unexpected use of '{a}'.",W017:"Bad operand.",W018:"Confusing use of '{a}'.",W019:"Use the isNaN function to compare with NaN.",W020:"Read only.",W021:"Reassignment of '{a}', which is is a {b}. Use 'var' or 'let' to declare bindings that may change.",W022:"Do not assign to the exception parameter.",W023:"Expected an identifier in an assignment and instead saw a function invocation.",W024:"Expected an identifier and instead saw '{a}' (a reserved word).",W025:"Missing name in function declaration.",W026:"Inner functions should be listed at the top of the outer function.",W027:"Unreachable '{a}' after '{b}'.",W028:"Label '{a}' on {b} statement.",W030:"Expected an assignment or function call and instead saw an expression.",W031:"Do not use 'new' for side effects.",W032:"Unnecessary semicolon.",W033:"Missing semicolon.",W034:'Unnecessary directive "{a}".',W035:"Empty block.",W036:"Unexpected /*member '{a}'.",W037:"'{a}' is a statement label.",W038:"'{a}' used out of scope.",W039:"'{a}' is not allowed.",W040:"Possible strict violation.",W041:"Use '{a}' to compare with '{b}'.",W042:"Avoid EOL escaping.",W043:"Bad escaping of EOL. Use option multistr if needed.",W044:"Bad or unnecessary escaping.",W045:"Bad number '{a}'.",W046:"Don't use extra leading zeros '{a}'.",W047:"A trailing decimal point can be confused with a dot: '{a}'.",W048:"Unexpected control character in regular expression.",W049:"Unexpected escaped character '{a}' in regular expression.",W050:"JavaScript URL.",W051:"Variables should not be deleted.",W052:"Unexpected '{a}'.",W053:"Do not use {a} as a constructor.",W054:"The Function constructor is a form of eval.",W055:"A constructor name should start with an uppercase letter.",W056:"Bad constructor.",W057:"Weird construction. Is 'new' necessary?",W058:"Missing '()' invoking a constructor.",W059:"Avoid arguments.{a}.",W060:"document.write can be a form of eval.",W061:"eval can be harmful.",W062:"Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.",W063:"Math is not a function.",W064:"Missing 'new' prefix when invoking a constructor.",W065:"Missing radix parameter.",W066:"Implied eval. Consider passing a function instead of a string.",W067:"Bad invocation.",W068:"Wrapping non-IIFE function literals in parens is unnecessary.",W069:"['{a}'] is better written in dot notation.",W070:"Extra comma. (it breaks older versions of IE)",W071:"This function has too many statements. ({a})",W072:"This function has too many parameters. ({a})",W073:"Blocks are nested too deeply. ({a})",W074:"This function's cyclomatic complexity is too high. ({a})",W075:"Duplicate {a} '{b}'.",W076:"Unexpected parameter '{a}' in get {b} function.",W077:"Expected a single parameter in set {a} function.",W078:"Setter is defined without getter.",W079:"Redefinition of '{a}'.",W080:"It's not necessary to initialize '{a}' to 'undefined'.",W081:null,W082:"Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.",W083:"Don't make functions within a loop.",W084:"Assignment in conditional expression",W085:"Don't use 'with'.",W086:"Expected a 'break' statement before '{a}'.",W087:"Forgotten 'debugger' statement?",W088:"Creating global 'for' variable. Should be 'for (var {a} ...'.",W089:"The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.",W090:"'{a}' is not a statement label.",W091:null,W093:"Did you mean to return a conditional instead of an assignment?",W094:"Unexpected comma.",W095:"Expected a string and instead saw {a}.",W096:"The '{a}' key may produce unexpected results.",W097:'Use the function form of "use strict".',W098:"'{a}' is defined but never used.",W099:null,W100:"This character may get silently deleted by one or more browsers.",W101:"Line is too long.",W102:null,W103:"The '{a}' property is deprecated.",W104:"'{a}' is available in ES{b} (use 'esversion: {b}') or Mozilla JS extensions (use moz).",W105:"Unexpected {a} in '{b}'.",W106:"Identifier '{a}' is not in camel case.",W107:"Script URL.",W108:"Strings must use doublequote.",W109:"Strings must use singlequote.",W110:"Mixed double and single quotes.",W112:"Unclosed string.",W113:"Control character in string: {a}.",W114:"Avoid {a}.",W115:"Octal literals are not allowed in strict mode.",W116:"Expected '{a}' and instead saw '{b}'.",W117:"'{a}' is not defined.",W118:"'{a}' is only available in Mozilla JavaScript extensions (use moz option).",W119:"'{a}' is only available in ES{b} (use 'esversion: {b}').",W120:"You might be leaking a variable ({a}) here.",W121:"Extending prototype of native object: '{a}'.",W122:"Invalid typeof value '{a}'",W123:"'{a}' is already defined in outer scope.",W124:"A generator function shall contain a yield statement.",W125:"This line contains non-breaking spaces: http://jshint.com/doc/options/#nonbsp",W126:"Unnecessary grouping operator.",W127:"Unexpected use of a comma operator.",W128:"Empty array elements require elision=true.",W129:"'{a}' is defined in a future version of JavaScript. Use a different variable name to avoid migration issues.",W130:"Invalid element after rest element.",W131:"Invalid parameter after rest parameter.",W132:"`var` declarations are forbidden. Use `let` or `const` instead.",W133:"Invalid for-{a} loop left-hand-side: {b}.",W134:"The '{a}' option is only available when linting ECMAScript {b} code.",W135:"{a} may not be supported by non-browser environments.",W136:"'{a}' must be in function scope.",W137:"Empty destructuring.",W138:"Regular parameters should not come after default parameters."},function(e,t){n.warnings[t]={code:t,desc:e}}),r.each({I001:"Comma warnings can be turned off with 'laxcomma'.",I002:null,I003:"ES5 option is now set per default"},function(e,t){n.info[t]={code:t,desc:e}})},{"../lodash":"/node_modules/jshint/lodash.js"}],"/node_modules/jshint/src/name-stack.js":[function(e,t,n){"use strict";function r(){this._stack=[]}Object.defineProperty(r.prototype,"length",{get:function(){return this._stack.length}}),r.prototype.push=function(){this._stack.push(null)},r.prototype.pop=function(){this._stack.pop()},r.prototype.set=function(e){this._stack[this.length-1]=e},r.prototype.infer=function(){var e,t=this._stack[this.length-1],n="";return t&&"class"!==t.type||(t=this._stack[this.length-2]),t?"(string)"!==(e=t.type)&&"(number)"!==e&&"(identifier)"!==e&&"default"!==e?"(expression)":(t.accessorType&&(n=t.accessorType+" "),n+t.value):"(empty)"},t.exports=r},{}],"/node_modules/jshint/src/options.js":[function(e,t,n){"use strict";n.bool={enforcing:{bitwise:!0,freeze:!0,camelcase:!0,curly:!0,eqeqeq:!0,futurehostile:!0,notypeof:!0,es3:!0,es5:!0,forin:!0,funcscope:!0,immed:!0,iterator:!0,newcap:!0,noarg:!0,nocomma:!0,noempty:!0,nonbsp:!0,nonew:!0,undef:!0,singleGroups:!1,varstmt:!1,enforceall:!1},relaxing:{asi:!0,multistr:!0,debug:!0,boss:!0,evil:!0,globalstrict:!0,plusplus:!0,proto:!0,scripturl:!0,sub:!0,supernew:!0,laxbreak:!0,laxcomma:!0,validthis:!0,withstmt:!0,moz:!0,noyield:!0,eqnull:!0,lastsemic:!0,loopfunc:!0,expr:!0,esnext:!0,elision:!0},environments:{mootools:!0,couch:!0,jasmine:!0,jquery:!0,node:!0,qunit:!0,rhino:!0,shelljs:!0,prototypejs:!0,yui:!0,mocha:!0,module:!0,wsh:!0,worker:!0,nonstandard:!0,browser:!0,browserify:!0,devel:!0,dojo:!0,typed:!0,phantom:!0},obsolete:{onecase:!0,regexp:!0,regexdash:!0}},n.val={maxlen:!1,indent:!1,maxerr:!1,predef:!1,globals:!1,quotmark:!1,scope:!1,maxstatements:!1,maxdepth:!1,maxparams:!1,maxcomplexity:!1,shadow:!1,strict:!0,unused:!0,latedef:!1,ignore:!1,ignoreDelimiters:!1,esversion:5},n.inverted={bitwise:!0,forin:!0,newcap:!0,plusplus:!0,regexp:!0,undef:!0,eqeqeq:!0,strict:!0},n.validNames=Object.keys(n.val).concat(Object.keys(n.bool.relaxing)).concat(Object.keys(n.bool.enforcing)).concat(Object.keys(n.bool.obsolete)).concat(Object.keys(n.bool.environments)),n.renamed={eqeq:"eqeqeq",windows:"wsh",sloppy:"strict"},n.removed={nomen:!0,onevar:!0,passfail:!0,white:!0,gcl:!0,smarttabs:!0,trailing:!0},n.noenforceall={varstmt:!0,strict:!0}},{}],"/node_modules/jshint/src/reg.js":[function(e,t,n){"use strict";n.unsafeString=/@cc|<\/?|script|\]\s*\]|<\s*!|&lt/i,n.unsafeChars=/[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,n.needEsc=/[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,n.needEscGlobal=/[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n.starSlash=/\*\//,n.identifier=/^([a-zA-Z_$][a-zA-Z0-9_$]*)$/,n.javascriptURL=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\s*:/i,n.fallsThrough=/^\s*falls?\sthrough\s*$/,n.maxlenException=/^(?:(?:\/\/|\/\*|\*) ?)?[^ ]+$/},{}],"/node_modules/jshint/src/scope-manager.js":[function(e,t,n){"use strict";var r=e("../lodash"),i=e("events"),o={};t.exports=function(e,t,n,s){function a(e){g={"(labels)":Object.create(null),"(usages)":Object.create(null),"(breakLabels)":Object.create(null),"(parent)":g,"(type)":e,"(params)":"functionparams"===e||"catchparams"===e?[]:null},k.push(g)}function c(e,t){w.emit("warning",{code:e,token:t,data:r.slice(arguments,2)})}function u(e,t){w.emit("warning",{code:e,token:t,data:r.slice(arguments,2)})}function l(e){g["(usages)"][e]||(g["(usages)"][e]={"(modified)":[],"(reassigned)":[],"(tokens)":[]})}function f(){if("functionparams"!==g["(type)"]){var e=g["(labels)"];for(var t in e)e[t]&&"exception"!==e[t]["(type)"]&&e[t]["(unused)"]&&W(t,e[t]["(token)"],"var")}else h()}function h(){var t=g["(params)"];if(t)for(var n,r=t.pop();r;){var i=g["(labels)"][r];if(n=S(e.funct["(unusedOption)"]),"undefined"===r)return;if(i["(unused)"])W(r,i["(token)"],"param",e.funct["(unusedOption)"]);else if("last-param"===n)return;r=t.pop()}}function p(e){for(var t=k.length-1;t>=0;--t){var n=k[t]["(labels)"];if(n[e])return n}}function d(e){for(var t=k.length-1;t>=0;t--){var n=k[t];if(n["(usages)"][e])return n["(usages)"][e];if(n===b)break}return!1}function m(t,n){if("outer"===e.option.shadow)for(var r="global"===b["(type)"],i="functionparams"===g["(type)"],o=!r,s=0;s<k.length;s++){var a=k[s];!i&&k[s+1]===b&&(o=!1),o&&a["(labels)"][t]&&c("W123",n,t),a["(breakLabels)"][t]&&c("W123",n,t)}}function v(t,n,r){e.option.latedef&&(!0===e.option.latedef&&"function"===t||"function"!==t)&&c("W003",r,n)}var g,k=[];a("global"),g["(predefined)"]=t;var b=g,y=Object.create(null),x=Object.create(null),E=[],w=new i.EventEmitter,S=function(t){return void 0===t&&(t=e.option.unused),!0===t&&(t="last-param"),t},W=function(e,t,n,r){var i=t.line,o=t.from,s=t.raw_text||e,a={vars:["var"],"last-param":["var","param"],strict:["var","param","last-param"]};(r=S(r))&&a[r]&&-1!==a[r].indexOf(n)&&c("W098",{line:i,from:o},s),(r||"var"===n)&&E.push({name:e,line:i,character:o})},j={on:function(e,t){e.split(" ").forEach(function(e){w.on(e,t)})},isPredefined:function(e){return!this.has(e)&&r.has(k[0]["(predefined)"],e)},stack:function(e){var t=g;a(e),!e&&"functionparams"===t["(type)"]&&(g["(isFuncBody)"]=!0,g["(context)"]=b,b=g)},unstack:function(){var t,n,i=k.length>1?k[k.length-2]:null,a=g===b,l="functionparams"===g["(type)"],h="functionouter"===g["(type)"],p=g["(usages)"],d=g["(labels)"],m=Object.keys(p);for(p.__proto__&&-1===m.indexOf("__proto__")&&m.push("__proto__"),t=0;t<m.length;t++){var v=m[t],E=p[v],w=d[v];if(w){var S=w["(type)"];if(w["(useOutsideOfScope)"]&&!e.option.funcscope){var j=E["(tokens)"];if(j)for(n=0;n<j.length;n++)w["(function)"]===j[n]["(function)"]&&u("W038",j[n],v)}if(g["(labels)"][v]["(unused)"]=!1,"const"===S&&E["(modified)"])for(n=0;n<E["(modified)"].length;n++)u("E013",E["(modified)"][n],v);if(("function"===S||"class"===S)&&E["(reassigned)"])for(n=0;n<E["(reassigned)"].length;n++)u("W021",E["(reassigned)"][n],v,S)}else if(h&&(e.funct["(isCapturing)"]=!0),i)if(i["(usages)"][v]){var L=i["(usages)"][v];L["(modified)"]=L["(modified)"].concat(E["(modified)"]),L["(tokens)"]=L["(tokens)"].concat(E["(tokens)"]),L["(reassigned)"]=L["(reassigned)"].concat(E["(reassigned)"]),L["(onlyUsedSubFunction)"]=!1}else i["(usages)"][v]=E,a&&(i["(usages)"][v]["(onlyUsedSubFunction)"]=!0);else if("boolean"==typeof g["(predefined)"][v]){if(delete s[v],y[v]=o,!1===g["(predefined)"][v]&&E["(reassigned)"])for(n=0;n<E["(reassigned)"].length;n++)c("W020",E["(reassigned)"][n])}else if(E["(tokens)"])for(n=0;n<E["(tokens)"].length;n++){var _=E["(tokens)"][n];_.forgiveUndef||(e.option.undef&&!_.ignoreUndef&&c("W117",_,v),x[v]?x[v].line.push(_.line):x[v]={name:v,line:[_.line]})}}if(i||Object.keys(s).forEach(function(e){W(e,s[e],"var")}),i&&!a&&!l&&!h){var A=Object.keys(d);for(t=0;t<A.length;t++){var M=A[t];!d[M]["(blockscoped)"]&&"exception"!==d[M]["(type)"]&&!this.funct.has(M,{excludeCurrent:!0})&&(i["(labels)"][M]=d[M],"global"!==b["(type)"]&&(i["(labels)"][M]["(useOutsideOfScope)"]=!0),delete d[M])}}f(),k.pop(),a&&(b=k[r.findLastIndex(k,function(e){return e["(isFuncBody)"]||"global"===e["(type)"]})]),g=i},addParam:function(t,n,i){if("exception"===(i=i||"param")){var o=this.funct.labeltype(t);o&&"exception"!==o&&(e.option.node||c("W002",e.tokens.next,t))}r.has(g["(labels)"],t)?g["(labels)"][t].duplicated=!0:(m(t,n),g["(labels)"][t]={"(type)":i,"(token)":n,"(unused)":!0},g["(params)"].push(t)),r.has(g["(usages)"],t)&&(g["(usages)"][t]["(onlyUsedSubFunction)"]?v(i,t,n):c("E056",n,t,i))},validateParams:function(){if("global"!==b["(type)"]){var t=e.isStrict(),n=b["(parent)"];n["(params)"]&&n["(params)"].forEach(function(r){var i=n["(labels)"][r];i&&i.duplicated&&(t?c("E011",i["(token)"],r):!0!==e.option.shadow&&c("W004",i["(token)"],r))})}},getUsedOrDefinedGlobals:function(){var e=Object.keys(y);return y.__proto__===o&&-1===e.indexOf("__proto__")&&e.push("__proto__"),e},getImpliedGlobals:function(){var e=r.values(x);return x.__proto__&&(e.some(function(e){return"__proto__"===e.name})||e.push(x.__proto__)),e},getUnuseds:function(){return E},has:function(e){return Boolean(p(e))},labeltype:function(e){var t=p(e);return t?t[e]["(type)"]:null},addExported:function(e){var t=k[0]["(labels)"];if(r.has(s,e))delete s[e];else if(r.has(t,e))t[e]["(unused)"]=!1;else{for(var i=1;i<k.length;i++){var o=k[i];if(o["(type)"])break;if(r.has(o["(labels)"],e)&&!o["(labels)"][e]["(blockscoped)"])return void(o["(labels)"][e]["(unused)"]=!1)}n[e]=!0}},setExported:function(e,t){this.block.use(e,t)},addlabel:function(t,i){var s=i.type,a=i.token,u="let"===s||"const"===s||"class"===s,l="global"===(u?g:b)["(type)"]&&r.has(n,t);if(m(t,a),u){var f=g["(labels)"][t];!f&&g===b&&"global"!==g["(type)"]&&(f=!!b["(parent)"]["(labels)"][t]),!f&&g["(usages)"][t]&&(g["(usages)"][t]["(onlyUsedSubFunction)"]?v(s,t,a):c("E056",a,t,s)),f?c("E011",a,t):"outer"===e.option.shadow&&j.funct.has(t)&&c("W004",a,t),j.block.add(t,s,a,!l)}else{var h=j.funct.has(t);!h&&d(t)&&v(s,t,a),j.funct.has(t,{onlyBlockscoped:!0})?c("E011",a,t):!0!==e.option.shadow&&h&&"__proto__"!==t&&"global"!==b["(type)"]&&c("W004",a,t),j.funct.add(t,s,a,!l),"global"===b["(type)"]&&(y[t]=o)}},funct:{labeltype:function(e,t){for(var n=t&&t.onlyBlockscoped,r=t&&t.excludeParams,i=k.length-(t&&t.excludeCurrent?2:1);i>=0;i--){var o=k[i];if(o["(labels)"][e]&&(!n||o["(labels)"][e]["(blockscoped)"]))return o["(labels)"][e]["(type)"];var s=r?k[i-1]:o;if(s&&"functionparams"===s["(type)"])return null}return null},hasBreakLabel:function(e){for(var t=k.length-1;t>=0;t--){var n=k[t];if(n["(breakLabels)"][e])return!0;if("functionparams"===n["(type)"])return!1}return!1},has:function(e,t){return Boolean(this.labeltype(e,t))},add:function(e,t,n,r){g["(labels)"][e]={"(type)":t,"(token)":n,"(blockscoped)":!1,"(function)":b,"(unused)":r}}},block:{isGlobal:function(){return"global"===g["(type)"]},use:function(t,n){var r=b["(parent)"];r&&r["(labels)"][t]&&"param"===r["(labels)"][t]["(type)"]&&(j.funct.has(t,{excludeParams:!0,onlyBlockscoped:!0})||(r["(labels)"][t]["(unused)"]=!1)),n&&(e.ignored.W117||!1===e.option.undef)&&(n.ignoreUndef=!0),l(t),n&&(n["(function)"]=b,g["(usages)"][t]["(tokens)"].push(n))},reassign:function(e,t){this.modify(e,t),g["(usages)"][e]["(reassigned)"].push(t)},modify:function(e,t){l(e),g["(usages)"][e]["(modified)"].push(t)},add:function(e,t,n,r){g["(labels)"][e]={"(type)":t,"(token)":n,"(blockscoped)":!0,"(unused)":r}},addBreakLabel:function(t,n){var r=n.token;j.funct.hasBreakLabel(t)?c("E011",r,t):"outer"===e.option.shadow&&(j.funct.has(t)?c("W004",r,t):m(t,r)),g["(breakLabels)"][t]=r}}};return j}},{"../lodash":"/node_modules/jshint/lodash.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/state.js":[function(e,t,n){"use strict";var r=e("./name-stack.js"),i={syntax:{},isStrict:function(){return this.directive["use strict"]||this.inClassBody||this.option.module||"implied"===this.option.strict},inMoz:function(){return this.option.moz},inES6:function(){return this.option.moz||this.option.esversion>=6},inES5:function(e){return e?!(this.option.esversion&&5!==this.option.esversion||this.option.moz):!this.option.esversion||this.option.esversion>=5||this.option.moz},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.funct=null,this.ignored={},this.directive={},this.jsonMode=!1,this.jsonWarnings=[],this.lines=[],this.tab="",this.cache={},this.ignoredLines={},this.forinifcheckneeded=!1,this.nameStack=new r,this.inClassBody=!1}};n.state=i},{"./name-stack.js":"/node_modules/jshint/src/name-stack.js"}],"/node_modules/jshint/src/style.js":[function(e,t,n){"use strict";n.register=function(e){e.on("Identifier",function(t){e.getOption("proto")||"__proto__"===t.name&&e.warn("W103",{line:t.line,char:t.char,data:[t.name,"6"]})}),e.on("Identifier",function(t){e.getOption("iterator")||"__iterator__"===t.name&&e.warn("W103",{line:t.line,char:t.char,data:[t.name]})}),e.on("Identifier",function(t){e.getOption("camelcase")&&t.name.replace(/^_+|_+$/g,"").indexOf("_")>-1&&!t.name.match(/^[A-Z0-9_]*$/)&&e.warn("W106",{line:t.line,char:t.from,data:[t.name]})}),e.on("String",function(t){var n,r=e.getOption("quotmark");r&&("single"===r&&"'"!==t.quote&&(n="W109"),"double"===r&&'"'!==t.quote&&(n="W108"),!0===r&&(e.getCache("quotmark")||e.setCache("quotmark",t.quote),e.getCache("quotmark")!==t.quote&&(n="W110")),n&&e.warn(n,{line:t.line,char:t.char}))}),e.on("Number",function(t){"."===t.value.charAt(0)&&e.warn("W008",{line:t.line,char:t.char,data:[t.value]}),"."===t.value.substr(t.value.length-1)&&e.warn("W047",{line:t.line,char:t.char,data:[t.value]}),/^00+/.test(t.value)&&e.warn("W046",{line:t.line,char:t.char,data:[t.value]})}),e.on("String",function(t){e.getOption("scripturl")||/^(?:javascript|jscript|ecmascript|vbscript|livescript)\s*:/i.test(t.value)&&e.warn("W107",{line:t.line,char:t.char})})}},{}],"/node_modules/jshint/src/vars.js":[function(e,t,n){"use strict";n.reservedVars={arguments:!1,NaN:!1},n.ecmaIdentifiers={3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,isFinite:!1,isNaN:!1,Math:!1,Number:!1,Object:!1,parseInt:!1,parseFloat:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,URIError:!1},5:{JSON:!1},6:{Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,WeakMap:!1,WeakSet:!1}},n.browser={Audio:!1,Blob:!1,addEventListener:!1,applicationCache:!1,atob:!1,blur:!1,btoa:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CSS:!1,clearInterval:!1,clearTimeout:!1,close:!1,closed:!1,Comment:!1,CustomEvent:!1,DOMParser:!1,defaultStatus:!1,Document:!1,document:!1,DocumentFragment:!1,Element:!1,ElementTimeControl:!1,Event:!1,event:!1,fetch:!1,FileReader:!1,FormData:!1,focus:!1,frames:!1,getComputedStyle:!1,HTMLElement:!1,HTMLAnchorElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPreElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLUListElement:!1,HTMLVideoElement:!1,history:!1,Image:!1,Intl:!1,length:!1,localStorage:!1,location:!1,matchMedia:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationObserver:!1,name:!1,Node:!1,NodeFilter:!1,NodeList:!1,Notification:!1,navigator:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,parent:!1,performance:!1,print:!1,Range:!1,requestAnimationFrame:!1,removeEventListener:!1,resizeBy:!1,resizeTo:!1,screen:!1,scroll:!1,scrollBy:!1,scrollTo:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,SharedWorker:!1,status:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimationElement:!1,SVGCSSRule:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLineElement:!1,SVGLinearGradientElement:!1,SVGLocatable:!1,SVGMPathElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGSVGElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTransformable:!1,SVGURIReference:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGVKernElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGZoomAndPan:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TimeEvent:!1,top:!1,URL:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLTexture:!1,WebGLUniformLocation:!1,WebSocket:!1,window:!1,Window:!1,Worker:!1,XDomainRequest:!1,XMLHttpRequest:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1},n.devel={alert:!1,confirm:!1,console:!1,Debug:!1,opera:!1,prompt:!1},n.worker={importScripts:!0,postMessage:!0,self:!0,FileReaderSync:!0},n.nonstandard={escape:!1,unescape:!1},n.couch={require:!1,respond:!1,getRow:!1,emit:!1,send:!1,start:!1,sum:!1,log:!1,exports:!1,module:!1,provides:!1},n.node={__filename:!1,__dirname:!1,GLOBAL:!1,global:!1,module:!1,require:!1,Buffer:!0,console:!0,exports:!0,process:!0,setTimeout:!0,clearTimeout:!0,setInterval:!0,clearInterval:!0,setImmediate:!0,clearImmediate:!0},n.browserify={__filename:!1,__dirname:!1,global:!1,module:!1,require:!1,Buffer:!0,exports:!0,process:!0},n.phantom={phantom:!0,require:!0,WebPage:!0,console:!0,exports:!0},n.qunit={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},n.rhino={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},n.shelljs={target:!1,echo:!1,exit:!1,cd:!1,pwd:!1,ls:!1,find:!1,cp:!1,rm:!1,mv:!1,mkdir:!1,test:!1,cat:!1,sed:!1,grep:!1,which:!1,dirs:!1,pushd:!1,popd:!1,env:!1,exec:!1,chmod:!1,config:!1,error:!1,tempdir:!1},n.typed={ArrayBuffer:!1,ArrayBufferView:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1},n.wsh={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WSH:!0,WScript:!0,XDomainRequest:!0},n.dojo={dojo:!1,dijit:!1,dojox:!1,define:!1,require:!1},n.jquery={$:!1,jQuery:!1},n.mootools={$:!1,$$:!1,Asset:!1,Browser:!1,Chain:!1,Class:!1,Color:!1,Cookie:!1,Core:!1,Document:!1,DomReady:!1,DOMEvent:!1,DOMReady:!1,Drag:!1,Element:!1,Elements:!1,Event:!1,Events:!1,Fx:!1,Group:!1,Hash:!1,HtmlTable:!1,IFrame:!1,IframeShim:!1,InputValidator:!1,instanceOf:!1,Keyboard:!1,Locale:!1,Mask:!1,MooTools:!1,Native:!1,Options:!1,OverText:!1,Request:!1,Scroller:!1,Slick:!1,Slider:!1,Sortables:!1,Spinner:!1,Swiff:!1,Tips:!1,Type:!1,typeOf:!1,URI:!1,Window:!1},n.prototypejs={$:!1,$$:!1,$A:!1,$F:!1,$H:!1,$R:!1,$break:!1,$continue:!1,$w:!1,Abstract:!1,Ajax:!1,Class:!1,Enumerable:!1,Element:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Selector:!1,Template:!1,Toggle:!1,Try:!1,Autocompleter:!1,Builder:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Scriptaculous:!1},n.yui={YUI:!1,Y:!1,YUI_config:!1},n.mocha={mocha:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,context:!1,xcontext:!1,before:!1,after:!1,beforeEach:!1,afterEach:!1,suite:!1,test:!1,setup:!1,teardown:!1,suiteSetup:!1,suiteTeardown:!1},n.jasmine={jasmine:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,beforeEach:!1,afterEach:!1,setFixtures:!1,loadFixtures:!1,spyOn:!1,expect:!1,runs:!1,waitsFor:!1,waits:!1,beforeAll:!1,afterAll:!1,fail:!1,fdescribe:!1,fit:!1,pending:!1}},{}]},{},["/node_modules/jshint/src/jshint.js"])}),ace.define("ace/mode/javascript_worker",[],function(require,exports,module){"use strict";function startRegex(e){return RegExp("^("+e.join("|")+")")}var oop=require("../lib/oop"),Mirror=require("../worker/mirror").Mirror,lint=require("./javascript/jshint").JSHINT,disabledWarningsRe=startRegex(["Bad for in variable '(.+)'.",'Missing "use strict"']),errorsRe=startRegex(["Unexpected","Expected ","Confusing (plus|minus)","\\{a\\} unterminated regular expression","Unclosed ","Unmatched ","Unbegun comment","Bad invocation","Missing space after","Missing operator at"]),infoRe=startRegex(["Expected an assignment","Bad escapement of EOL","Unexpected comma","Unexpected space","Missing radix parameter.","A leading decimal point can","\\['{a}'\\] is better written in dot notation.","'{a}' used out of scope"]),JavaScriptWorker=exports.JavaScriptWorker=function(e){Mirror.call(this,e),this.setTimeout(500),this.setOptions()};oop.inherits(JavaScriptWorker,Mirror),function(){this.setOptions=function(e){this.options=e||{esnext:!0,moz:!0,devel:!0,browser:!0,node:!0,laxcomma:!0,laxbreak:!0,lastsemic:!0,onevar:!1,passfail:!1,maxerr:100,expr:!0,multistr:!0,globalstrict:!0},this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(e){oop.mixin(this.options,e),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.isValidJS=function(str){try{eval("throw 0;"+str)}catch(e){if(0===e)return!0}return!1},this.onUpdate=function(){var e=this.doc.getValue();if(!(e=e.replace(/^#!.*\n/,"\n")))return this.sender.emit("annotate",[]);var t=[],n=this.isValidJS(e)?"warning":"error";lint(e,this.options,this.options.globals);for(var r=lint.errors,i=0;i<r.length;i++){var o=r[i];if(o){var s=o.raw,a="warning";if("Missing semicolon."==s){var c=o.evidence.substr(o.character);c=c.charAt(c.search(/\S/)),"error"==n&&c&&/[\w\d{(['"]/.test(c)?(o.reason='Missing ";" before statement',a="error"):a="info"}else{if(disabledWarningsRe.test(s))continue;infoRe.test(s)?a="info":errorsRe.test(s)?(!0,a=n):"'{a}' is not defined."==s?a="warning":"'{a}' is defined but never used."==s&&(a="info")}t.push({row:o.line-1,column:o.character-1,text:o.reason,type:a,raw:s})}}this.sender.emit("annotate",t)}}.call(JavaScriptWorker.prototype)}),ace.define("ace/lib/es5-shim",[],function(e,t,n){function r(){}function i(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}function o(e){return(e=+e)!==e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=d.call(arguments,1),i=function(){if(this instanceof i){var r=t.apply(this,n.concat(d.call(arguments)));return Object(r)===r?r:this}return t.apply(e,n.concat(d.call(arguments)))};return t.prototype&&(r.prototype=t.prototype,i.prototype=new r,r.prototype=null),i});var s,a,c,u,l,f=Function.prototype.call,h=Array.prototype,p=Object.prototype,d=h.slice,m=f.bind(p.toString),v=f.bind(p.hasOwnProperty);if((l=v(p,"__defineGetter__"))&&(s=f.bind(p.__defineGetter__),a=f.bind(p.__defineSetter__),c=f.bind(p.__lookupGetter__),u=f.bind(p.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),n.length,t+1==n.length)return!0}()){var g=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?g.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(d.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):void 0==e?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=d.call(arguments,2),o=i.length;if(e===n)o&&this.push.apply(this,i);else{var s=Math.min(t,n-e),a=e+s,c=a+o-s,u=n-a,l=n-s;if(c<a)for(var f=0;f<u;++f)this[c+f]=this[a+f];else if(c>a)for(f=u;f--;)this[c+f]=this[a+f];if(o&&e===l)this.length=l,this.push.apply(this,i);else for(this.length=l+o,f=0;f<o;++f)this[e+f]=i[f]}return r};Array.isArray||(Array.isArray=function(e){return"[object Array]"==m(e)});var k=Object("a"),b="a"!=k[0]||!(0 in k);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=O(this),n=b&&"[object String]"==m(this)?this.split(""):t,r=arguments[1],i=-1,o=n.length>>>0;if("[object Function]"!=m(e))throw new TypeError;for(;++i<o;)i in n&&e.call(r,n[i],i,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=O(this),n=b&&"[object String]"==m(this)?this.split(""):t,r=n.length>>>0,i=Array(r),o=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)s in n&&(i[s]=e.call(o,n[s],s,t));return i}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,n=O(this),r=b&&"[object String]"==m(this)?this.split(""):n,i=r.length>>>0,o=[],s=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var a=0;a<i;a++)a in r&&(t=r[a],e.call(s,t,a,n)&&o.push(t));return o}),Array.prototype.every||(Array.prototype.every=function(e){var t=O(this),n=b&&"[object String]"==m(this)?this.split(""):t,r=n.length>>>0,i=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)if(o in n&&!e.call(i,n[o],o,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=O(this),n=b&&"[object String]"==m(this)?this.split(""):t,r=n.length>>>0,i=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)if(o in n&&e.call(i,n[o],o,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=O(this),n=b&&"[object String]"==m(this)?this.split(""):t,r=n.length>>>0;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o<r;o++)o in n&&(i=e.call(void 0,i,n[o],o,t));return i}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=O(this),n=b&&"[object String]"==m(this)?this.split(""):t,r=n.length>>>0;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(i=e.call(void 0,i,n[o],o,t))}while(o--);return i}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=b&&"[object String]"==m(this)?this.split(""):O(this),n=t.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=o(arguments[1])),r=r>=0?r:Math.max(0,n+r);r<n;r++)if(r in t&&t[r]===e)return r;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=b&&"[object String]"==m(this)?this.split(""):O(this),n=t.length>>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:p)}),!Object.getOwnPropertyDescriptor){Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(v(e,t)){var n;if(n={enumerable:!0,configurable:!0},l){var r=e.__proto__;e.__proto__=p;var i=c(e,t),o=u(e,t);if(e.__proto__=r,i||o)return i&&(n.get=i),o&&(n.set=o),n}return n.value=e[t],n}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var y;y=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=y();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var r=function(){};r.prototype=e,(n=new r).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}if(Object.defineProperty){var x=i({}),E="undefined"==typeof document||i(document.createElement("div"));if(!x||!E)var w=Object.defineProperty}if(!Object.defineProperty||w){Object.defineProperty=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(w)try{return w.call(Object,e,t,n)}catch(e){}if(v(n,"value"))if(l&&(c(e,t)||u(e,t))){var r=e.__proto__;e.__proto__=p,delete e[t],e[t]=n.value,e.__proto__=r}else e[t]=n.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");v(n,"get")&&s(e,t,n.get),v(n,"set")&&a(e,t,n.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)v(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(e){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";v(e,t);)t+="?";e[t]=!0;var n=v(e,t);return delete e[t],n}),!Object.keys){var S=!0,W=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],j=W.length;for(var L in{toString:null})S=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)v(e,n)&&t.push(n);if(S)for(var r=0,i=j;r<i;r++){var o=W[r];v(e,o)&&t.push(o)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var _="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||_.trim()){_="["+_+"]";var A=new RegExp("^"+_+_+"*"),M=new RegExp(_+_+"*$");String.prototype.trim=function(){return String(this).replace(A,"").replace(M,"")}}var O=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}});