1 line
180 KiB
JavaScript
1 line
180 KiB
JavaScript
var JSHINT;"undefined"==typeof window&&(window={}),function(){var e;e=function t(n,r,i){function o(a,u){if(!r[a]){if(!n[a]){var c="function"==typeof e&&e;if(!u&&c)return c(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}({1:[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}},{}],2:[function(e,t,n){var r=[];[[768,112],[1155,5],[1425,45],1472,[1473,2],[1476,2],1480,[1552,11],[1611,31],1649,[1750,7],[1759,6],[1767,2],[1770,4],[1776,10],1810,[1840,27],[1958,11],[1984,10],[2027,9],[2070,4],[2075,9],[2085,3],[2089,5],[2137,3],[2276,27],[2304,4],[2362,3],[2366,18],[2385,7],[2402,2],[2406,10],[2433,3],2493,[2494,7],[2503,2],[2507,3],2520,[2530,2],[2534,10],[2561,3],2621,[2622,5],[2631,2],[2635,3],2642,[2662,12],2678,[2689,3],2749,[2750,8],[2759,3],[2763,3],[2786,2],[2790,10],[2817,3],2877,[2878,7],[2887,2],[2891,3],[2902,2],[2914,2],[2918,10],2947,[3006,5],[3014,3],[3018,4],3032,[3046,10],[3073,3],[3134,7],[3142,3],[3146,4],[3157,2],[3170,2],[3174,10],[3202,2],3261,[3262,7],[3270,3],[3274,4],[3285,2],[3298,2],[3302,10],[3330,2],[3390,7],[3398,3],[3402,4],3416,[3426,2],[3430,10],[3458,2],3531,[3535,6],3543,[3544,8],[3570,2],3634,[3636,7],[3655,8],[3664,10],3762,[3764,6],[3771,2],[3784,6],[3792,10],[3864,2],[3872,10],3894,3896,3898,[3902,2],[3953,20],[3974,2],[3981,11],[3993,36],4039,[4139,20],[4160,10],[4182,4],[4190,3],[4194,3],[4199,7],[4209,4],[4226,12],[4239,15],[4957,3],[5906,3],[5938,3],[5970,2],[6002,2],[6068,32],6110,[6112,10],[6155,3],[6160,10],6314,[6432,12],[6448,12],[6470,10],[6576,17],[6600,2],[6608,10],[6679,5],[6741,10],[6752,29],[6783,11],[6800,10],[6912,5],[6964,17],[6992,10],[7019,9],[7040,3],[7073,13],[7088,10],[7142,14],[7204,20],[7232,10],[7248,10],[7376,3],[7380,21],7406,[7410,3],[7616,39],[7676,4],[8204,2],[8255,2],8277,[8400,13],8418,[8421,12],[11503,3],11648,[11744,32],[12330,6],[12441,2],[42528,10],42608,[42612,10],42656,[42736,2],43011,43015,43020,[43043,5],[43136,2],[43188,17],[43216,10],[43232,18],[43264,10],[43302,8],[43335,13],[43392,4],[43443,14],[43472,10],[43561,14],43588,[43596,2],[43600,10],43644,43697,[43698,3],[43703,2],[43710,2],43714,[43755,5],[43765,2],[44003,8],[44012,2],[44016,10],64287,[65024,16],[65056,7],[65075,2],[65101,3],[65296,10],65344].forEach(function(o){for(var x=0;x<(o[1]||1);x++)r.push((o[0]||o)+x)});t.exports=r},{}],3:[function(e,t,n){var r=[];[171,182,187,[192,23],[216,31],[248,458],[710,12],[736,5],749,751,[880,5],[886,2],[890,4],903,[904,3],909,[910,20],[931,83],[1015,139],[1162,158],[1329,38],1370,[1377,39],[1488,27],[1520,3],[1568,43],[1646,2],[1649,99],1750,[1765,2],[1774,2],[1786,3],1792,1809,[1810,30],[1869,89],1970,[1994,33],[2036,2],2043,[2048,22],2075,2085,2089,[2112,25],2209,[2210,11],[2308,54],2366,2385,[2392,10],[2417,7],[2425,7],[2437,8],[2447,2],[2451,22],[2474,7],2483,[2486,4],2494,2511,[2524,2],[2527,3],[2544,2],[2565,6],[2575,2],[2579,22],[2602,7],[2610,2],[2613,2],[2616,2],[2649,4],2655,[2674,3],[2693,9],[2703,3],[2707,22],[2730,7],[2738,2],[2741,5],2750,2769,[2784,2],[2821,8],[2831,2],[2835,22],[2858,7],[2866,2],[2869,5],2878,[2908,2],[2911,3],2930,2948,[2949,6],[2958,3],[2962,4],[2969,2],2973,[2974,2],[2979,2],[2984,3],[2990,12],3025,[3077,8],[3086,3],[3090,23],[3114,10],[3125,5],3134,[3160,2],[3168,2],[3205,8],[3214,3],[3218,23],[3242,10],[3253,5],3262,3295,[3296,2],[3313,2],[3333,8],[3342,3],[3346,41],3390,3407,[3424,2],[3450,6],[3461,18],[3482,24],[3507,9],3518,[3520,7],[3585,48],[3634,2],[3648,7],[3713,2],3717,[3719,2],3723,3726,[3732,4],[3737,7],[3745,3],3750,3752,[3754,2],[3757,4],[3762,2],3774,[3776,5],3783,[3804,4],3841,[3904,8],[3913,36],[3976,5],[4096,43],4160,[4176,6],[4186,4],4194,[4197,2],[4206,3],[4213,13],4239,[4256,38],4296,4302,[4304,43],[4348,333],[4682,4],[4688,7],4697,[4698,4],[4704,41],[4746,4],[4752,33],[4786,4],[4792,7],4801,[4802,4],[4808,15],[4824,57],[4882,4],[4888,67],[4992,16],[5024,85],[5121,620],[5743,17],[5761,26],[5792,75],[5870,3],[5888,13],[5902,4],[5920,18],[5952,18],[5984,13],[5998,3],[6016,52],6104,6109,[6176,88],[6272,41],6315,[6320,70],[6400,29],[6480,30],[6512,5],[6528,44],[6593,7],[6656,23],[6688,53],6824,[6917,47],[6981,7],[7043,30],[7086,2],[7098,44],[7168,36],[7245,3],[7258,36],[7401,4],[7406,4],[7413,2],[7424,192],[7680,278],[7960,6],[7968,38],[8008,6],[8016,8],8026,8028,8030,[8031,31],[8064,53],[8118,7],8127,[8130,3],[8134,7],[8144,4],[8150,6],[8160,13],[8178,3],[8182,7],8306,8320,[8336,13],8451,8456,[8458,10],8470,[8473,5],8485,8487,8489,[8490,4],[8495,11],[8508,4],[8517,5],8527,[8544,41],[11264,47],[11312,47],[11360,133],[11499,4],[11506,2],[11520,38],11560,11566,[11568,56],11632,[11648,23],[11680,7],[11688,7],[11696,7],[11704,7],[11712,7],[11720,7],[11728,7],[11736,7],11824,[12293,3],[12321,9],[12337,5],[12344,5],[12353,86],[12445,3],[12449,90],[12540,4],[12549,41],[12593,94],[12704,27],[12784,16],[13312,6582],[19968,20941],[40960,1165],[42192,46],[42240,269],[42512,16],[42538,2],[42560,47],[42623,25],[42656,80],[42775,9],[42786,103],[42891,4],[42896,4],[42912,11],[43000,10],[43011,3],[43015,4],[43020,23],[43072,52],[43138,50],[43250,6],43260,[43274,28],[43312,23],[43360,29],[43396,47],43472,[43520,41],[43584,3],[43588,8],[43616,23],43643,[43648,48],43698,[43701,2],[43705,5],43713,43715,[43739,3],[43744,11],[43762,3],[43777,6],[43785,6],[43793,6],[43808,7],[43816,7],[43968,35],[44032,11172],[55216,23],[55243,49],[63744,366],[64112,106],[64256,7],[64275,5],64286,[64287,10],[64298,13],[64312,5],64319,[64320,2],[64323,2],[64326,108],[64467,363],[64848,64],[64914,54],[65008,12],[65136,5],[65142,135],[65313,26],[65345,26],[65382,89],[65474,6],[65482,6],[65490,6],[65498,3]].forEach(function(o){for(var x=0;x<(o[1]||1);x++)r.push((o[0]||o)+x)});t.exports=r},{}],4:[function(e,t,n){function r(e,t){return h.isUndefined(t)?""+t:h.isNumber(t)&&!isFinite(t)?t.toString():h.isFunction(t)||h.isRegExp(t)?t.toString():t}function i(e,t){return h.isString(e)?e.length<t?e:e.slice(0,t):e}function o(e){return i(JSON.stringify(e.actual,r),128)+" "+e.operator+" "+i(JSON.stringify(e.expected,r),128)}function s(e,t,n,r,i){throw new g.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function a(e,t){e||s(e,!0,t,"==",g.ok)}function u(e,t){if(e===t)return!0;if(h.isBuffer(e)&&h.isBuffer(t)){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return h.isDate(e)&&h.isDate(t)?e.getTime()===t.getTime():h.isRegExp(e)&&h.isRegExp(t)?e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase:h.isObject(e)||h.isObject(t)?l(e,t):e==t}function c(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function l(e,t){if(h.isNullOrUndefined(e)||h.isNullOrUndefined(t))return!1;if(e.prototype!==t.prototype)return!1;if(h.isPrimitive(e)||h.isPrimitive(t))return e===t;var n=c(e),r=c(t);if(n&&!r||!n&&r)return!1;if(n)return e=d.call(e),t=d.call(t),u(e,t);var i,o,s=m(e),a=m(t);if(s.length!=a.length)return!1;for(s.sort(),a.sort(),o=s.length-1;o>=0;o--)if(s[o]!=a[o])return!1;for(o=s.length-1;o>=0;o--)if(i=s[o],!u(e[i],t[i]))return!1;return!0}function f(e,t){return!(!e||!t)&&("[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t||!0===t.call({},e))}function p(e,t,n,r){var i;h.isString(n)&&(r=n,n=null);try{t()}catch(e){i=e}if(r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&s(i,n,"Missing expected exception"+r),!e&&f(i,n)&&s(i,n,"Got unwanted exception"+r),e&&i&&n&&!f(i,n)||!e&&i)throw i}var h=e("util/"),d=Array.prototype.slice,v=Object.prototype.hasOwnProperty,g=t.exports=a;g.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=o(this),this.generatedMessage=!0);var t=e.stackStartFunction||s;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=t.name,a=r.indexOf("\n"+i);if(a>=0){var u=r.indexOf("\n",a+1);r=r.substring(u+1)}this.stack=r}}},h.inherits(g.AssertionError,Error),g.fail=s,g.ok=a,g.equal=function(e,t,n){e!=t&&s(e,t,n,"==",g.equal)},g.notEqual=function(e,t,n){e==t&&s(e,t,n,"!=",g.notEqual)},g.deepEqual=function(e,t,n){u(e,t)||s(e,t,n,"deepEqual",g.deepEqual)},g.notDeepEqual=function(e,t,n){u(e,t)&&s(e,t,n,"notDeepEqual",g.notDeepEqual)},g.strictEqual=function(e,t,n){e!==t&&s(e,t,n,"===",g.strictEqual)},g.notStrictEqual=function(e,t,n){e===t&&s(e,t,n,"!==",g.notStrictEqual)},g.throws=function(e,t,n){p.apply(this,[!0].concat(d.call(arguments)))},g.doesNotThrow=function(e,t){p.apply(this,[!1].concat(d.call(arguments)))},g.ifError=function(e){if(e)throw e};var m=Object.keys||function(e){var t=[];for(var n in e)v.call(e,n)&&t.push(n);return t}},{"util/":9}],5:[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,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;throw 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),u=1;u<r;u++)o[u-1]=arguments[u];n.apply(this,o)}else if(s(n)){for(r=arguments.length,o=new Array(r-1),u=1;u<r;u++)o[u-1]=arguments[u];for(r=(c=n.slice()).length,u=0;u<r;u++)c[u].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}},{}],6:[function(e,t,n){function r(){if(!a){a=!0;for(var e,t=s.length;t;){e=s,s=[];for(var n=-1;++n<t;)e[n]();t=s.length}a=!1}}function i(){}var o=t.exports={},s=[],a=!1;o.nextTick=function(e){s.push(e),a||setTimeout(r,0)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=i,o.addListener=i,o.once=i,o.off=i,o.removeListener=i,o.removeAllListeners=i,o.emit=i,o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],7:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],8:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],9:[function(e,t,n){(function(t,r){function i(e,t){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(t)?r.showHidden=t:t&&n._extend(r,t),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function u(e,t,r){if(e.customInspect&&t&&w(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return k(i)||(i=u(e,i,r)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),v=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),_(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(t);if(0===s.length){if(w(t)){var g=t.name?": "+t.name:"";return e.stylize("[Function"+g+"]","special")}if(x(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(_(t))return l(t)}var m="",y=!1,b=["{","}"];if(d(t)&&(y=!0,b=["[","]"]),w(t)&&(m=" [Function"+(t.name?": "+t.name:"")+"]"),x(t)&&(m=" "+RegExp.prototype.toString.call(t)),E(t)&&(m=" "+Date.prototype.toUTCString.call(t)),_(t)&&(m=" "+l(t)),0===s.length&&(!y||0==t.length))return b[0]+m+b[1];if(r<0)return x(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var S;return S=y?f(e,t,r,v,s):s.map(function(n){return p(e,t,r,v,n,y)}),e.seen.pop(),h(S,m,b)}function c(e,t){if(y(t))return e.stylize("undefined","undefined");if(k(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return m(t)?e.stylize(""+t,"number"):v(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)L(t,String(s))?o.push(p(e,t,n,r,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))}),o}function p(e,t,n,r,i,o){var s,a,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),L(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),y(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function h(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function d(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function g(e){return null===e}function m(e){return"number"==typeof e}function k(e){return"string"==typeof e}function y(e){return void 0===e}function x(e){return b(e)&&"[object RegExp]"===S(e)}function b(e){return"object"==typeof e&&null!==e}function E(e){return b(e)&&"[object Date]"===S(e)}function _(e){return b(e)&&("[object Error]"===S(e)||e instanceof Error)}function w(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function W(e){return e<10?"0"+e.toString(10):e.toString(10)}function A(){var e=new Date,t=[W(e.getHours()),W(e.getMinutes()),W(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var j=/%[sdj%]/g;n.format=function(e){if(!k(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,s=String(e).replace(j,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),a=r[n];n<o;a=r[++n])g(a)||!b(a)?s+=" "+a:s+=" "+i(a);return s},n.deprecate=function(e,i){if(y(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}};var T,O={};n.debuglog=function(e){if(y(T)&&(T=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!O[e])if(new RegExp("\\b"+e+"\\b","i").test(T)){var r=t.pid;O[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else O[e]=function(){};return O[e]},n.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=d,n.isBoolean=v,n.isNull=g,n.isNullOrUndefined=function(e){return null==e},n.isNumber=m,n.isString=k,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=y,n.isRegExp=x,n.isObject=b,n.isDate=E,n.isError=_,n.isFunction=w,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("./support/isBuffer");var G=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];n.log=function(){console.log("%s - %s",A(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":8,_process:6,inherits:7}],10:[function(e,t,n){(function(n){var r,i=e("util"),o=e("assert"),s=e("date-now"),a=Array.prototype.slice,u={};r=void 0!==n&&n.console?n.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){r.log.apply(r,arguments)},"info"],[function(){r.log.apply(r,arguments)},"warn"],[function(){r.warn.apply(r,arguments)},"error"],[function(e){u[e]=s()},"time"],[function(e){var t=u[e];if(!t)throw new Error("No such label: "+e);var n=s()-t;r.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=i.format.apply(null,arguments),r.error(e.stack)},"trace"],[function(e){r.log(i.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=a.call(arguments,1);o.ok(!1,i.format.apply(null,t))}},"assert"]],l=0;l<c.length;l++){var f=c[l],p=f[0],h=f[1];r[h]||(r[h]=p)}t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{assert:4,"date-now":11,util:9}],11:[function(e,t,n){t.exports=function(){return(new Date).getTime()}},{}],12:[function(e,t,n){(function(e){(function(){function r(e,t){if(e!==t){var n=e===e,r=t===t;if(e>t||!n||e===S&&r)return 1;if(e<t||!r||t===S&&n)return-1}return 0}function i(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 o(e,t,n){if(t!==t)return g(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function s(e){return"function"==typeof e||!1}function a(e){return"string"==typeof e?e:null==e?"":e+""}function u(e){return e.charCodeAt(0)}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function l(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function f(e,t){return r(e.criteria,t.criteria)||e.index-t.index}function p(e,t,n){for(var i=-1,o=e.criteria,s=t.criteria,a=o.length,u=n.length;++i<a;){var c=r(o[i],s[i]);if(c)return i>=u?c:c*(n[i]?1:-1)}return e.index-t.index}function h(e){return Ne[e]}function d(e){return De[e]}function v(e){return"\\"+He[e]}function g(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 m(e){return!!e&&"object"==typeof e}function k(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function y(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=q,o[++i]=n);return o}function x(e,t){for(var n,r=-1,i=e.length,o=-1,s=[];++r<i;){var a=e[r],u=t?t(a,r,e):a;r&&n===u||(n=u,s[++o]=a)}return s}function b(e){for(var t=-1,n=e.length;++t<n&&k(e.charCodeAt(t)););return t}function E(e){for(var t=e.length;t--&&k(e.charCodeAt(t)););return t}function _(e){return qe[e]}function w(e){function t(e){if(m(e)&&!Po(e)&&!(e instanceof Ne)){if(e instanceof k)return e;if(ti.call(e,"__chain__")&&ti.call(e,"__wrapped__"))return Hn(e)}return new k(e)}function n(){}function k(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Ne(e){this.__wrapped__=e,this.__actions__=null,this.__dir__=1,this.__dropCount__=0,this.__filtered__=!1,this.__iteratees__=null,this.__takeCount__=Mi,this.__views__=null}function De(){this.__data__={}}function qe(e){var t=e?e.length:0;for(this.data={hash:wi(null),set:new gi};t--;)this.push(e[t])}function ze(e,t){var n=e.data;return("string"==typeof t||kr(t)?n.set.has(t):n.hash[t])?0:-1}function He(e,t){var n=-1,r=e.length;for(t||(t=Ur(r));++n<r;)t[n]=e[n];return t}function $e(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function Je(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ze(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 Xe(e,t){for(var n=-1,r=e.length,i=Ur(r);++n<r;)i[n]=t(e[n],n,e);return i}function Ke(e){for(var t=-1,n=e.length,r=Ci;++t<n;){var i=e[t];i>r&&(r=i)}return r}function Ye(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function tt(e){for(var t=e.length,n=0;t--;)n+=+e[t]||0;return n}function nt(e,t){return e===S?t:e}function rt(e,t,n,r){return e!==S&&ti.call(r,n)?e:t}function it(e,t,n){var r=Xo(t);hi.apply(r,eo(t));for(var i=-1,o=r.length;++i<o;){var s=r[i],a=e[s],u=n(a,t[s],s,e,t);(u===u?u===a:a!==a)&&(a!==S||s in e)||(e[s]=u)}return e}function ot(e,t){for(var n=-1,r=e.length,i=Vn(r),o=t.length,s=Ur(o);++n<o;){var a=t[n];s[n]=i?On(a,r)?e[a]:S:e[a]}return s}function st(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 at(e,t,n){var r=typeof e;return"function"==r?t===S?e:zt(e,t,n):null==e?Ir:"object"==r?St(e):t===S?Rr(e):Wt(e,t)}function ut(e,t,n,r,i,o,s){var a;if(n&&(a=i?n(e,r,i):n(e)),a!==S)return a;if(!kr(e))return e;var u=Po(e);if(u){if(a=An(e),!t)return He(e,a)}else{var c=ri.call(e),l=c==X;if(c!=Y&&c!=z&&(!l||i))return Ue[c]?jn(e,c,t):i?e:{};if(a=Ln(l?{}:e),!t)return Di(a,e)}o||(o=[]),s||(s=[]);for(var f=o.length;f--;)if(o[f]==e)return s[f];return o.push(e),s.push(a),(u?$e:mt)(e,function(r,i){a[i]=ut(r,t,n,i,e,o,s)}),a}function ct(e,t,n){if("function"!=typeof e)throw new Zr(D);return mi(function(){e.apply(S,n)},t)}function lt(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,s=Sn(),a=s==o,u=a&&t.length>=200?Xi(t):null,c=t.length;u&&(s=ze,a=!1,t=u);e:for(;++i<n;){var l=e[i];if(a&&l===l){for(var f=c;f--;)if(t[f]===l)continue e;r.push(l)}else s(t,l,0)<0&&r.push(l)}return r}function ft(e,t){var n=!0;return zi(e,function(e,r,i){return n=!!t(e,r,i)}),n}function pt(e,t,n,r){var i=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>i?0:i+n),(r=r===S||r>i?i:+r||0)<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n<i;)e[n++]=t;return e}function ht(e,t){var n=[];return zi(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function dt(e,t,n,r){var i;return n(e,function(e,n,o){if(t(e,n,o))return i=r?n:e,!1}),i}function vt(e,t,n){for(var r=-1,i=e.length,o=-1,s=[];++r<i;){var a=e[r];if(m(a)&&Vn(a.length)&&(Po(a)||vr(a))){t&&(a=vt(a,t,n));var u=-1,c=a.length;for(s.length+=c;++u<c;)s[++o]=a[u]}else n||(s[++o]=a)}return s}function gt(e,t){return $i(e,t,Wr)}function mt(e,t){return $i(e,t,Xo)}function kt(e,t){return Ji(e,t,Xo)}function yt(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var s=t[n];Uo(e[s])&&(o[++i]=s)}return o}function xt(e,t,n){if(null!=e){n!==S&&n in qn(e)&&(t=[n]);for(var r=-1,i=t.length;null!=e&&++r<i;)var o=e=e[t[r]];return o}}function bt(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:Et(e,t,bt,n,r,i,o)}function Et(e,t,n,r,i,o,s){var a=Po(e),u=Po(t),c=H,l=H;a||((c=ri.call(e))==z?c=Y:c!=Y&&(a=_r(e))),u||((l=ri.call(t))==z?l=Y:l!=Y&&(u=_r(t)));var f=c==Y,p=l==Y,h=c==l;if(h&&!a&&!f)return bn(e,t,c);if(!i){var d=f&&ti.call(e,"__wrapped__"),v=p&&ti.call(t,"__wrapped__");if(d||v)return n(d?e.value():e,v?t.value():t,r,i,o,s)}if(!h)return!1;o||(o=[]),s||(s=[]);for(var g=o.length;g--;)if(o[g]==e)return s[g]==t;o.push(e),s.push(t);var m=(a?xn:En)(e,t,n,r,i,o,s);return o.pop(),s.pop(),m}function _t(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 u=t[o],c=e[u],l=n[o];if(a&&r[o])var f=c!==S||u in e;else(f=i?i(c,l,u):S)===S&&(f=bt(l,c,i,!0));if(!f)return!1}return!0}function wt(e,t){var n=-1,r=Qi(e),i=Vn(r)?Ur(r):[];return zi(e,function(e,r,o){i[++n]=t(e,r,o)}),i}function St(e){var t=Xo(e),n=t.length;if(!n)return Vr(!0);if(1==n){var r=t[0],i=e[r];if(In(i))return function(e){return null!=e&&(e[r]===i&&(i!==S||r in qn(e)))}}for(var o=Ur(n),s=Ur(n);n--;)i=e[t[n]],o[n]=i,s[n]=In(i);return function(e){return null!=e&&_t(qn(e),t,o,s)}}function Wt(e,t){var n=Po(e),r=Cn(e)&&In(t),i=e+"";return e=zn(e),function(o){if(null==o)return!1;var s=i;if(o=qn(o),(n||!r)&&!(s in o)){if(null==(o=1==e.length?o:xt(o,Mt(e,0,-1))))return!1;s=Kn(e),o=qn(o)}return o[s]===t?t!==S||s in o:bt(t,o[s],null,!0)}}function At(e,t,n,r,i){if(!kr(e))return e;var o=Vn(t.length)&&(Po(t)||_r(t));if(!o){var s=Xo(t);hi.apply(s,eo(t))}return $e(s||t,function(a,u){if(s&&(a=t[u=a]),m(a))r||(r=[]),i||(i=[]),Lt(e,t,u,At,n,r,i);else{var c=e[u],l=n?n(c,a,u,e,t):S,f=l===S;f&&(l=a),!o&&l===S||!f&&(l===l?l===c:c!==c)||(e[u]=l)}}),e}function Lt(e,t,n,r,i,o,s){for(var a=o.length,u=t[n];a--;)if(o[a]==u)return void(e[n]=s[a]);var c=e[n],l=i?i(c,u,n,e,t):S,f=l===S;f&&(l=u,Vn(u.length)&&(Po(u)||_r(u))?l=Po(c)?c:Qi(c)?He(c):[]:Bo(u)||vr(u)?l=vr(c)?wr(c):Bo(c)?c:{}:f=!1),o.push(u),s.push(l),f?e[n]=r(l,u,i,o,s):(l===l?l!==c:c===c)&&(e[n]=l)}function jt(e){return function(t){return null==t?S:t[e]}}function Tt(e){var t=e+"";return e=zn(e),function(n){return xt(n,e,t)}}function Ot(e,t){for(var n=t.length;n--;){var r=parseFloat(t[n]);if(r!=i&&On(r)){var i=r;ki.call(e,r,1)}}return e}function Gt(e,t){return e+li(Gi()*(t-e+1))}function Ct(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Mt(e,t,n){var r=-1,i=e.length;(t=null==t?0:+t||0)<0&&(t=-t>i?0:i+t),(n=n===S||n>i?i:+n||0)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Ur(i);++r<i;)o[r]=e[r+t];return o}function Vt(e,t){var n;return zi(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function It(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Ft(e,t,n){var r=wn(),i=-1;return t=Xe(t,function(e){return r(e)}),It(wt(e,function(e){return{criteria:Xe(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return p(e,t,n)})}function Pt(e,t){var n=0;return zi(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Rt(e,t){var n=-1,r=Sn(),i=e.length,s=r==o,a=s&&i>=200,u=a?Xi():null,c=[];u?(r=ze,s=!1):(a=!1,u=t?[]:c);e:for(;++n<i;){var l=e[n],f=t?t(l,n,e):l;if(s&&l===l){for(var p=u.length;p--;)if(u[p]===f)continue e;t&&u.push(f),c.push(l)}else r(u,f,0)<0&&((t||a)&&u.push(f),c.push(l))}return c}function Ut(e,t){for(var n=-1,r=t.length,i=Ur(r);++n<r;)i[n]=e[t[n]];return i}function Bt(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Mt(e,r?0:o,r?o+1:i):Mt(e,r?o+1:0,r?i:o)}function Nt(e,t){var n=e;n instanceof Ne&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=[n],s=t[r];hi.apply(o,s.args),n=s.func.apply(s.thisArg,o)}return n}function Dt(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t===t&&i<=Fi){for(;r<i;){var o=r+i>>>1,s=e[o];(n?s<=t:s<t)?r=o+1:i=o}return i}return qt(e,t,Ir,n)}function qt(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,s=t!==t,a=t===S;i<o;){var u=li((i+o)/2),c=n(e[u]),l=c===c;if(s)var f=l||r;else f=a?l&&(r||c!==S):r?c<=t:c<t;f?i=u+1:o=u}return Li(o,Ii)}function zt(e,t,n){if("function"!=typeof e)return Ir;if(t===S)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 Ht(e){return ai.call(e,0)}function $t(e,t,n){for(var r=n.length,i=-1,o=Ai(e.length-r,0),s=-1,a=t.length,u=Ur(o+a);++s<a;)u[s]=t[s];for(;++i<r;)u[n[i]]=e[i];for(;o--;)u[s++]=e[i++];return u}function Jt(e,t,n){for(var r=-1,i=n.length,o=-1,s=Ai(e.length-i,0),a=-1,u=t.length,c=Ur(s+u);++o<s;)c[o]=e[o];for(var l=o;++a<u;)c[l+a]=t[a];for(;++r<i;)c[l+n[r]]=e[o++];return c}function Zt(e,t){return function(n,r,i){var o=t?t():{};if(r=wn(r,i,3),Po(n))for(var s=-1,a=n.length;++s<a;){var u=n[s];e(o,u,r(u,s,n),n)}else zi(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function Xt(e){return dr(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=zt(o,a,5),i-=2):i-=(o="function"==typeof a?a:null)?1:0,s&&Gn(n[0],n[1],s)&&(o=i<3?null:o,i=1);++r<i;){var u=n[r];u&&e(t,u,o)}return t})}function Kt(e,t){return function(n,r){var i=n?Qi(n):0;if(!Vn(i))return e(n,r);for(var o=t?i:-1,s=qn(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Yt(e){return function(t,n,r){for(var i=qn(t),o=r(t),s=o.length,a=e?s:-1;e?a--:++a<s;){var u=o[a];if(!1===n(i[u],u,i))break}return t}}function Qt(e,t){function n(){return(this&&this!==Qe&&this instanceof n?r:e).apply(t,arguments)}var r=tn(e);return n}function en(e){return function(t){for(var n=-1,r=Cr(Lr(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function tn(e){return function(){var t=qi(e.prototype),n=e.apply(t,arguments);return kr(n)?n:t}}function nn(e){function t(n,r,i){i&&Gn(n,r,i)&&(r=null);var o=yn(n,e,null,null,null,null,null,r);return o.placeholder=t.placeholder,o}return t}function rn(e,t){return function(n,r,i){i&&Gn(n,r,i)&&(r=null);var o=wn(),s=null==r;if(o===at&&s||(s=!1,r=o(r,i,3)),s){var a=Po(n);if(a||!Er(n))return e(a?n:Dn(n));r=u}return _n(n,r,t)}}function on(e,t){return function(n,r,o){if(r=wn(r,o,3),Po(n)){var s=i(n,r,t);return s>-1?n[s]:S}return dt(n,r,e)}}function sn(e){return function(t,n,r){return t&&t.length?(n=wn(n,r,3),i(t,n,e)):-1}}function an(e){return function(t,n,r){return n=wn(n,r,3),dt(t,n,e,!0)}}function un(e){return function(){var t=arguments.length;if(!t)return function(){return arguments[0]};for(var n,r=e?t:-1,i=0,o=Ur(t);e?r--:++r<t;){var s=o[i++]=arguments[r];if("function"!=typeof s)throw new Zr(D);var a=n?"":Yi(s);n="wrapper"==a?new k([]):n}for(r=n?-1:t;++r<t;){s=o[r];var u="wrapper"==(a=Yi(s))?Ki(s):null;n=u&&Mn(u[0])?n[Yi(u[0])].apply(n,u[3]):1==s.length&&Mn(s)?n[a]():n.thru(s)}return function(){var e=arguments;if(n&&1==e.length&&Po(e[0]))return n.plant(e[0]).value();for(var r=0,i=o[r].apply(this,e);++r<t;)i=o[r].call(this,i);return i}}}function cn(e,t){return function(n,r,i){return"function"==typeof r&&i===S&&Po(n)?e(n,r):t(n,zt(r,i,3))}}function ln(e){return function(t,n,r){return"function"==typeof n&&r===S||(n=zt(n,r,3)),e(t,n,Wr)}}function fn(e){return function(t,n,r){return"function"==typeof n&&r===S||(n=zt(n,r,3)),e(t,n)}}function pn(e){return function(t,n,r){return(t=a(t))&&(e?t:"")+gn(t,n,r)+(e?"":t)}}function hn(e){var t=dr(function(n,r){var i=y(r,t.placeholder);return yn(n,e,null,r,i)});return t}function dn(e,t){return function(n,r,i,o){var s=arguments.length<3;return"function"==typeof r&&o===S&&Po(n)?e(n,r,i,s):Ct(n,wn(r,o,4),i,s,t)}}function vn(e,t,n,r,i,o,s,a,u,c){function l(){for(var x=arguments.length,b=x,E=Ur(x);b--;)E[b]=arguments[b];if(r&&(E=$t(E,r,i)),o&&(E=Jt(E,o,s)),d||g){var _=l.placeholder,w=y(E,_);if((x-=w.length)<c){var W=a?He(a):null,j=Ai(c-x,0),T=d?w:null,O=d?null:w,M=d?E:null,V=d?null:E;t|=d?G:C,t&=~(d?C:G),v||(t&=~(A|L));var I=[e,t,n,M,T,V,O,W,u,j],F=vn.apply(S,I);return Mn(e)&&to(F,I),F.placeholder=_,F}}var P=p?n:this;return h&&(e=P[k]),a&&(E=Un(E,a)),f&&u<E.length&&(E.length=u),(this&&this!==Qe&&this instanceof l?m||tn(e):e).apply(P,E)}var f=t&M,p=t&A,h=t&L,d=t&T,v=t&j,g=t&O,m=!h&&tn(e),k=e;return l}function gn(e,t,n){var r=e.length;if(t=+t,r>=t||!Si(t))return"";var i=t-r;return n=null==n?" ":n+"",Or(n,ui(i/n.length)).slice(0,i)}function mn(e,t,n,r){function i(){for(var t=-1,a=arguments.length,u=-1,c=r.length,l=Ur(a+c);++u<c;)l[u]=r[u];for(;a--;)l[u++]=arguments[++t];return(this&&this!==Qe&&this instanceof i?s:e).apply(o?n:this,l)}var o=t&A,s=tn(e);return i}function kn(e){return function(t,n,r,i){var o=wn(r);return o===at&&null==r?Dt(t,n,e):qt(t,n,o(r,i,1),e)}}function yn(e,t,n,r,i,o,s,a){var u=t&L;if(!u&&"function"!=typeof e)throw new Zr(D);var c=r?r.length:0;if(c||(t&=~(G|C),r=i=null),c-=i?i.length:0,t&C){var l=r,f=i;r=i=null}var p=u?null:Ki(e),h=[e,t,n,r,i,l,f,o,s,a];if(p&&(Fn(h,p),t=h[1],a=h[9]),h[9]=null==a?u?0:e.length:Ai(a-c,0)||0,t==A)var d=Qt(h[0],h[2]);else d=t!=G&&t!=(A|G)||h[4].length?vn.apply(S,h):mn.apply(S,h);return(p?Zi:to)(d,h)}function xn(e,t,n,r,i,o,s){var a=-1,u=e.length,c=t.length,l=!0;if(u!=c&&!(i&&c>u))return!1;for(;l&&++a<u;){var f=e[a],p=t[a];if(l=S,r&&(l=i?r(p,f,a):r(f,p,a)),l===S)if(i)for(var h=c;h--&&(p=t[h],!(l=f&&f===p||n(f,p,r,i,o,s))););else l=f&&f===p||n(f,p,r,i,o,s)}return!!l}function bn(e,t,n){switch(n){case $:case J:return+e==+t;case Z:return e.name==t.name&&e.message==t.message;case K:return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case Q:case ee:return e==t+""}return!1}function En(e,t,n,r,i,o,s){var a=Xo(e),u=a.length;if(u!=Xo(t).length&&!i)return!1;for(var c=i,l=-1;++l<u;){var f=a[l],p=i?f in t:ti.call(t,f);if(p){var h=e[f],d=t[f];p=S,r&&(p=i?r(d,h,f):r(h,d,f)),p===S&&(p=h&&h===d||n(h,d,r,i,o,s))}if(!p)return!1;c||(c="constructor"==f)}if(!c){var v=e.constructor,g=t.constructor;if(v!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g))return!1}return!0}function _n(e,t,n){var r=n?Mi:Ci,i=r,o=i;return zi(e,function(e,s,a){var u=t(e,s,a);((n?u<i:u>i)||u===r&&u===o)&&(i=u,o=e)}),o}function wn(e,n,r){var i=t.callback||Mr;return i=i===Mr?at:i,r?i(e,n,r):i}function Sn(e,n,r){var i=t.indexOf||Xn;return i=i===Xn?o:i,e?i(e,n,r):i}function Wn(e,t,n){for(var r=-1,i=n?n.length:0;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=Li(t,e+s);break;case"takeRight":e=Ai(e,t-s)}}return{start:e,end:t}}function An(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ti.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Ln(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=Hr),new t}function jn(e,t,n){var r=e.constructor;switch(t){case te:return Ht(e);case $:case J:return new r(+e);case ne:case re:case ie:case oe:case se:case ae:case ue:case ce:case le:var i=e.buffer;return new r(n?Ht(i):i,e.byteOffset,e.length);case K:case ee:return new r(e);case Q:var o=new r(e.source,je.exec(e));o.lastIndex=e.lastIndex}return o}function Tn(e,t,n){null==e||Cn(t,e)||(e=1==(t=zn(t)).length?e:xt(e,Mt(t,0,-1)),t=Kn(t));var r=null==e?e:e[t];return null==r?S:r.apply(e,n)}function On(e,t){return e=+e,t=null==t?Ri:t,e>-1&&e%1==0&&e<t}function Gn(e,t,n){if(!kr(n))return!1;var r=typeof t;if("number"==r)var i=Qi(n),o=Vn(i)&&On(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 Cn(e,t){var n=typeof e;return!!("string"==n&&Ee.test(e)||"number"==n)||!Po(e)&&(!be.test(e)||null!=t&&e in qn(t))}function Mn(e){var n=Yi(e);return!!n&&e===t[n]&&n in Ne.prototype}function Vn(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ri}function In(e){return e===e&&(0===e?1/e>0:!kr(e))}function Fn(e,t){var n=e[1],r=t[1],i=n|r,o=i<M,s=r==M&&n==T||r==M&&n==V&&e[7].length<=t[8]||r==(M|V)&&n==T;if(!o&&!s)return e;r&A&&(e[2]=t[2],i|=n&A?0:j);var a=t[3];if(a){var u=e[3];e[3]=u?$t(u,a,t[4]):He(a),e[4]=u?y(e[3],q):He(t[4])}return(a=t[5])&&(u=e[5],e[5]=u?Jt(u,a,t[6]):He(a),e[6]=u?y(e[5],q):He(t[6])),(a=t[7])&&(e[7]=He(a)),r&M&&(e[8]=null==e[8]?t[8]:Li(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Pn(e,t){e=qn(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Rn(e,t){var n={};return gt(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function Un(e,t){for(var n=e.length,r=Li(t.length,n),i=He(e);r--;){var o=t[r];e[r]=On(o,n)?i[o]:S}return e}function Bn(e){var n;t.support;if(!m(e)||ri.call(e)!=Y||!ti.call(e,"constructor")&&"function"==typeof(n=e.constructor)&&!(n instanceof n))return!1;var r;return gt(e,function(e,t){r=t}),r===S||ti.call(e,r)}function Nn(e){for(var n=Wr(e),r=n.length,i=r&&e.length,o=t.support,s=i&&Vn(i)&&(Po(e)||o.nonEnumArgs&&vr(e)),a=-1,u=[];++a<r;){var c=n[a];(s&&On(c,i)||ti.call(e,c))&&u.push(c)}return u}function Dn(e){return null==e?[]:Vn(Qi(e))?kr(e)?e:Hr(e):Ar(e)}function qn(e){return kr(e)?e:Hr(e)}function zn(e){if(Po(e))return e;var t=[];return a(e).replace(_e,function(e,n,r,i){t.push(r?i.replace(Ae,"$1"):n||e)}),t}function Hn(e){return e instanceof Ne?e.clone():new k(e.__wrapped__,e.__chain__,He(e.__actions__))}function $n(e,t,n){return(e?e.length:0)?((n?Gn(e,t,n):null==t)&&(t=1),Mt(e,t<0?0:t)):[]}function Jn(e,t,n){var r=e?e.length:0;return r?((n?Gn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Mt(e,0,t<0?0:t)):[]}function Zn(e){return e?e[0]:S}function Xn(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?Ai(r+n,0):n;else if(n){var i=Dt(e,t),s=e[i];return(t===t?t===s:s!==s)?i:-1}return o(e,t,n||0)}function Kn(e){var t=e?e.length:0;return t?e[t-1]:S}function Yn(e){return $n(e,1)}function Qn(e,t,n,r){if(!(e?e.length:0))return[];null!=t&&"boolean"!=typeof t&&(n=Gn(e,t,r=n)?null:t,t=!1);var i=wn();return i===at&&null==n||(n=i(n,r,3)),t&&Sn()==o?x(e,n):Rt(e,n)}function er(e){for(var t=-1,n=(e&&e.length&&Ke(Xe(e,Qi)))>>>0,r=Ur(n);++t<n;)r[t]=Xe(e,jt(t));return r}function tr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Po(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function nr(e){var n=t(e);return n.__chain__=!0,n}function rr(e,t,n){return t.call(n,e)}function ir(e,t,n){var r=Po(e)?Je:ft;return n&&Gn(e,t,n)&&(t=null),"function"==typeof t&&n===S||(t=wn(t,n,3)),r(e,t)}function or(e,t,n){var r=Po(e)?Ze:ht;return t=wn(t,n,3),r(e,t)}function sr(e,t,n,r){var i=e?Qi(e):0;return Vn(i)||(i=(e=Ar(e)).length),!!i&&(n="number"!=typeof n||r&&Gn(t,n,r)?0:n<0?Ai(i+n,0):n||0,"string"==typeof e||!Po(e)&&Er(e)?n<i&&e.indexOf(t,n)>-1:Sn(e,t,n)>-1)}function ar(e,t,n){var r=Po(e)?Xe:wt;return t=wn(t,n,3),r(e,t)}function ur(e,t,n){if(n?Gn(e,t,n):null==t){var r=(e=Dn(e)).length;return r>0?e[Gt(0,r-1)]:S}var i=cr(e);return i.length=Li(t<0?0:+t||0,i.length),i}function cr(e){for(var t=-1,n=(e=Dn(e)).length,r=Ur(n);++t<n;){var i=Gt(0,t);t!=i&&(r[t]=r[i]),r[i]=e[t]}return r}function lr(e,t,n){var r=Po(e)?Ye:Vt;return n&&Gn(e,t,n)&&(t=null),"function"==typeof t&&n===S||(t=wn(t,n,3)),r(e,t)}function fr(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new Zr(D);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}function pr(e,t,n){function r(){var n=t-(So()-c);if(n<=0||n>t){a&&ci(a);var i=p;a=f=p=S,i&&(h=So(),u=e.apply(l,s),f||a||(s=l=null))}else f=mi(r,n)}function i(){f&&ci(f),a=f=p=S,(v||d!==t)&&(h=So(),u=e.apply(l,s),f||a||(s=l=null))}function o(){if(s=arguments,c=So(),l=this,p=v&&(f||!g),!1===d)var n=g&&!f;else{a||g||(h=c);var o=d-(c-h),m=o<=0||o>d;m?(a&&(a=ci(a)),h=c,u=e.apply(l,s)):a||(a=mi(i,o))}return m&&f?f=ci(f):f||t===d||(f=mi(r,t)),n&&(m=!0,u=e.apply(l,s)),!m||f||a||(s=l=null),u}var s,a,u,c,l,f,p,h=0,d=!1,v=!0;if("function"!=typeof e)throw new Zr(D);if(t=t<0?0:+t||0,!0===n){var g=!0;v=!1}else kr(n)&&(g=n.leading,d="maxWait"in n&&Ai(+n.maxWait||0,t),v="trailing"in n?n.trailing:v);return o.cancel=function(){f&&ci(f),a&&ci(a),a=f=p=S},o}function hr(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Zr(D);var n=function(){var r=arguments,i=n.cache,o=t?t.apply(this,r):r[0];if(i.has(o))return i.get(o);var s=e.apply(this,r);return i.set(o,s),s};return n.cache=new hr.Cache,n}function dr(e,t){if("function"!=typeof e)throw new Zr(D);return t=Ai(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=Ai(n.length-t,0),o=Ur(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=Ur(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=o,e.apply(this,s)}}function vr(e){return Vn(m(e)?e.length:S)&&ri.call(e)==z}function gr(e){return!!e&&1===e.nodeType&&m(e)&&ri.call(e).indexOf("Element")>-1}function mr(e){return m(e)&&"string"==typeof e.message&&ri.call(e)==Z}function kr(e){var t=typeof e;return"function"==t||!!e&&"object"==t}function yr(e){return null!=e&&(ri.call(e)==X?oi.test(ei.call(e)):m(e)&&Oe.test(e))}function xr(e){return"number"==typeof e||m(e)&&ri.call(e)==K}function br(e){return m(e)&&ri.call(e)==Q||!1}function Er(e){return"string"==typeof e||m(e)&&ri.call(e)==ee}function _r(e){return m(e)&&Vn(e.length)&&!!Re[ri.call(e)]}function wr(e){return st(e,Wr(e))}function Sr(e){return yt(e,Wr(e))}function Wr(e){if(null==e)return[];kr(e)||(e=Hr(e));var t=e.length;t=t&&Vn(t)&&(Po(e)||Ni.nonEnumArgs&&vr(e))&&t||0;for(var n=e.constructor,r=-1,i="function"==typeof n&&n.prototype===e,o=Ur(t),s=t>0;++r<t;)o[r]=r+"";for(var a in e)s&&On(a,t)||"constructor"==a&&(i||!ti.call(e,a))||o.push(a);return o}function Ar(e){return Ut(e,Xo(e))}function Lr(e){return(e=a(e))&&e.replace(Ge,h).replace(We,"")}function jr(e){return e=a(e),e&&Se.test(e)?e.replace(we,"\\$&"):e}function Tr(e,t,n){return n&&Gn(e,t,n)&&(t=0),Oi(e,t)}function Or(e,t){var n="";if(e=a(e),(t=+t)<1||!e||!Si(t))return n;do{t%2&&(n+=e),t=li(t/2),e+=e}while(t);return n}function Gr(e,t,n){var r=e;return(e=a(e))?(n?Gn(r,t,n):null==t)?e.slice(b(e),E(e)+1):(t+="",e.slice(c(e,t),l(e,t)+1)):e}function Cr(e,t,n){return n&&Gn(e,t,n)&&(t=null),(e=a(e)).match(t||Ve)||[]}function Mr(e,t,n){return n&&Gn(e,t,n)&&(t=null),at(e,t)}function Vr(e){return function(){return e}}function Ir(e){return e}function Fr(e,t,n){if(null==n){var r=kr(t),i=r&&Xo(t),o=i&&i.length&&yt(t,i);(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=yt(t,Xo(t)));var s=!0,a=-1,u=Uo(e),c=o.length;!1===n?s=!1:kr(n)&&"chain"in n&&(s=n.chain);for(;++a<c;){var l=o[a],f=t[l];e[l]=f,u&&(e.prototype[l]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__);return(r.__actions__=He(this.__actions__)).push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}var i=[this.value()];return hi.apply(i,arguments),t.apply(e,i)}}(f))}return e}function Pr(){}function Rr(e){return Cn(e)?jt(e):Tt(e)}var Ur=(e=e?et.defaults(Qe.Object(),e,et.pick(Qe,Fe)):Qe).Array,Br=e.Date,Nr=e.Error,Dr=e.Function,qr=e.Math,zr=e.Number,Hr=e.Object,$r=e.RegExp,Jr=e.String,Zr=e.TypeError,Xr=Ur.prototype,Kr=Hr.prototype,Yr=Jr.prototype,Qr=(Qr=e.window)&&Qr.document,ei=Dr.prototype.toString,ti=Kr.hasOwnProperty,ni=0,ri=Kr.toString,ii=e._,oi=$r("^"+jr(ri).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),si=yr(si=e.ArrayBuffer)&&si,ai=yr(ai=si&&new si(0).slice)&&ai,ui=qr.ceil,ci=e.clearTimeout,li=qr.floor,fi=yr(fi=Hr.getOwnPropertySymbols)&&fi,pi=yr(pi=Hr.getPrototypeOf)&&pi,hi=Xr.push,di=yr(Hr.preventExtensions=Hr.preventExtensions)&&di,vi=Kr.propertyIsEnumerable,gi=yr(gi=e.Set)&&gi,mi=e.setTimeout,ki=Xr.splice,yi=yr(yi=e.Uint8Array)&&yi,xi=yr(xi=e.WeakMap)&&xi,bi=function(){try{var t=yr(t=e.Float64Array)&&t,n=new t(new si(10),0,1)&&t}catch(e){}return n}(),Ei=function(){var e={1:0},t=di&&yr(t=Hr.assign)&&t;try{t(di(e),"xo")}catch(e){}return!e[1]&&t}(),_i=yr(_i=Ur.isArray)&&_i,wi=yr(wi=Hr.create)&&wi,Si=e.isFinite,Wi=yr(Wi=Hr.keys)&&Wi,Ai=qr.max,Li=qr.min,ji=yr(ji=Br.now)&&ji,Ti=yr(Ti=zr.isFinite)&&Ti,Oi=e.parseInt,Gi=qr.random,Ci=zr.NEGATIVE_INFINITY,Mi=zr.POSITIVE_INFINITY,Vi=qr.pow(2,32)-1,Ii=Vi-1,Fi=Vi>>>1,Pi=bi?bi.BYTES_PER_ELEMENT:0,Ri=qr.pow(2,53)-1,Ui=xi&&new xi,Bi={},Ni=t.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);Ni.funcDecomp=/\bthis\b/.test(function(){return this}),Ni.funcNames="string"==typeof Dr.name;try{Ni.dom=11===Qr.createDocumentFragment().nodeType}catch(e){Ni.dom=!1}try{Ni.nonEnumArgs=!vi.call(arguments,1)}catch(e){Ni.nonEnumArgs=!0}}(1,0),t.templateSettings={escape:ke,evaluate:ye,interpolate:xe,variable:"",imports:{_:t}};var Di=Ei||function(e,t){return null==t?e:st(t,eo(t),st(t,Xo(t),e))},qi=function(){function t(){}return function(n){if(kr(n)){t.prototype=n;var r=new t;t.prototype=null}return r||e.Object()}}(),zi=Kt(mt),Hi=Kt(kt,!0),$i=Yt(),Ji=Yt(!0),Zi=Ui?function(e,t){return Ui.set(e,t),e}:Ir;ai||(Ht=si&&yi?function(e){var t=e.byteLength,n=bi?li(t/Pi):0,r=n*Pi,i=new si(t);if(n){var o=new bi(i,0,n);o.set(new bi(e,0,n))}return t!=r&&(o=new yi(i,r)).set(new yi(e,r)),i}:Vr(null));var Xi=wi&&gi?function(e){return new qe(e)}:Vr(null),Ki=Ui?function(e){return Ui.get(e)}:Pr,Yi=Ni.funcNames?"constant"==Vr.name?jt("name"):function(e){for(var t=e.name,n=Bi[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}:Vr(""),Qi=jt("length"),eo=fi?function(e){return fi(qn(e))}:Vr([]),to=function(){var e=0,t=0;return function(n,r){var i=So(),o=R-(i-t);if(t=i,o>0){if(++e>=P)return n}else e=0;return Zi(n,r)}}(),no=dr(function(e,t){return Po(e)||vr(e)?lt(e,vt(t,!1,!0)):[]}),ro=sn(),io=sn(!0),oo=dr(function(e,t){e||(e=[]);var n=ot(e,t=vt(t));return Ot(e,t.sort(r)),n}),so=kn(),ao=kn(!0),uo=dr(function(e){return Rt(vt(e,!1,!0))}),co=dr(function(e,t){return Po(e)||vr(e)?lt(e,t):[]}),lo=dr(er),fo=dr(function(e,t){return Vn(e?Qi(e):0)&&(e=Dn(e)),ot(e,vt(t))}),po=Zt(function(e,t,n){ti.call(e,n)?++e[n]:e[n]=1}),ho=on(zi),vo=on(Hi,!0),go=cn($e,zi),mo=cn(function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e},Hi),ko=Zt(function(e,t,n){ti.call(e,n)?e[n].push(t):e[n]=[t]}),yo=Zt(function(e,t,n){e[n]=t}),xo=dr(function(e,t,n){var r=-1,i="function"==typeof t,o=Cn(t),s=Qi(e),a=Vn(s)?Ur(s):[];return zi(e,function(e){var s=i?t:o&&null!=e&&e[t];a[++r]=s?s.apply(e,n):Tn(e,t,n)}),a}),bo=Zt(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Eo=dn(function(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n},zi),_o=dn(function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n},Hi),wo=dr(function(e,t){if(null==e)return[];var n=t[2];return n&&Gn(t[0],t[1],n)&&(t.length=1),Ft(e,vt(t),[])}),So=ji||function(){return(new Br).getTime()},Wo=dr(function(e,t,n){var r=A;if(n.length){var i=y(n,Wo.placeholder);r|=G}return yn(e,r,t,n,i)}),Ao=dr(function(e,t){for(var n=-1,r=(t=t.length?vt(t):Sr(e)).length;++n<r;){var i=t[n];e[i]=yn(e[i],A,e)}return e}),Lo=dr(function(e,t,n){var r=A|L;if(n.length){var i=y(n,Lo.placeholder);r|=G}return yn(t,r,e,n,i)}),jo=nn(T),To=nn(O),Oo=dr(function(e,t){return ct(e,1,t)}),Go=dr(function(e,t,n){return ct(e,t,n)}),Co=un(),Mo=un(!0),Vo=hn(G),Io=hn(C),Fo=dr(function(e,t){return yn(e,V,null,null,null,vt(t))}),Po=_i||function(e){return m(e)&&Vn(e.length)&&ri.call(e)==H};Ni.dom||(gr=function(e){return!!e&&1===e.nodeType&&m(e)&&!Bo(e)});var Ro=Ti||function(e){return"number"==typeof e&&Si(e)},Uo=s(/x/)||yi&&!s(yi)?function(e){return ri.call(e)==X}:s,Bo=pi?function(e){if(!e||ri.call(e)!=Y)return!1;var t=e.valueOf,n=yr(t)&&(n=pi(t))&&pi(n);return n?e==n||pi(e)==n:Bn(e)}:Bn,No=Xt(function(e,t,n){return n?it(e,t,n):Di(e,t)}),Do=dr(function(e){var t=e[0];return null==t?t:(e.push(nt),No.apply(S,e))}),qo=an(mt),zo=an(kt),Ho=ln($i),$o=ln(Ji),Jo=fn(mt),Zo=fn(kt),Xo=Wi?function(e){if(e)var t=e.constructor,n=e.length;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&Vn(n)?Nn(e):kr(e)?Wi(e):[]}:Nn,Ko=Xt(At),Yo=dr(function(e,t){if(null==e)return{};if("function"!=typeof t[0]){var t=Xe(vt(t),Jr);return Pn(e,lt(Wr(e),t))}var n=zt(t[0],t[1],3);return Rn(e,function(e,t,r){return!n(e,t,r)})}),Qo=dr(function(e,t){return null==e?{}:"function"==typeof t[0]?Rn(e,zt(t[0],t[1],3)):Pn(e,vt(t))}),es=en(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),ts=en(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ns=pn(),rs=pn(!0);8!=Oi(Ie+"08")&&(Tr=function(e,t,n){return(n?Gn(e,t,n):null==t)?t=0:t&&(t=+t),e=Gr(e),Oi(e,t||(Te.test(e)?16:10))});var is=en(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),os=en(function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))}),ss=dr(function(e,t){try{return e.apply(S,t)}catch(e){return mr(e)?e:new Nr(e)}}),as=dr(function(e,t){return function(n){return Tn(n,e,t)}}),us=dr(function(e,t){return function(n){return Tn(e,n,t)}}),cs=rn(Ke),ls=rn(function(e){for(var t=-1,n=e.length,r=Mi;++t<n;){var i=e[t];i<r&&(r=i)}return r},!0);return t.prototype=n.prototype,k.prototype=qi(n.prototype),k.prototype.constructor=k,Ne.prototype=qi(n.prototype),Ne.prototype.constructor=Ne,De.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},De.prototype.get=function(e){return"__proto__"==e?S:this.__data__[e]},De.prototype.has=function(e){return"__proto__"!=e&&ti.call(this.__data__,e)},De.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},qe.prototype.push=function(e){var t=this.data;"string"==typeof e||kr(e)?t.set.add(e):t.hash[e]=!0},hr.Cache=De,t.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new Zr(D);var n=e;e=t,t=n}return e=Si(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},t.ary=function(e,t,n){return n&&Gn(e,t,n)&&(t=null),t=e&&null==t?e.length:Ai(+t||0,0),yn(e,M,null,null,null,null,t)},t.assign=No,t.at=fo,t.before=fr,t.bind=Wo,t.bindAll=Ao,t.bindKey=Lo,t.callback=Mr,t.chain=nr,t.chunk=function(e,t,n){t=(n?Gn(e,t,n):null==t)?1:Ai(+t||1,1);for(var r=0,i=e?e.length:0,o=-1,s=Ur(ui(i/t));r<i;)s[++o]=Mt(e,r,r+=t);return s},t.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},t.constant=Vr,t.countBy=po,t.create=function(e,t,n){var r=qi(e);return n&&Gn(e,t,n)&&(t=null),t?Di(r,t):r},t.curry=jo,t.curryRight=To,t.debounce=pr,t.defaults=Do,t.defer=Oo,t.delay=Go,t.difference=no,t.drop=$n,t.dropRight=Jn,t.dropRightWhile=function(e,t,n){return e&&e.length?Bt(e,wn(t,n,3),!0,!0):[]},t.dropWhile=function(e,t,n){return e&&e.length?Bt(e,wn(t,n,3),!0):[]},t.fill=function(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Gn(e,t,n)&&(n=0,r=i),pt(e,t,n,r)):[]},t.filter=or,t.flatten=function(e,t,n){var r=e?e.length:0;return n&&Gn(e,t,n)&&(t=!1),r?vt(e,t):[]},t.flattenDeep=function(e){return(e?e.length:0)?vt(e,!0):[]},t.flow=Co,t.flowRight=Mo,t.forEach=go,t.forEachRight=mo,t.forIn=Ho,t.forInRight=$o,t.forOwn=Jo,t.forOwnRight=Zo,t.functions=Sr,t.groupBy=ko,t.indexBy=yo,t.initial=function(e){return Jn(e,1)},t.intersection=function(){for(var e=[],t=-1,n=arguments.length,r=[],i=Sn(),s=i==o,a=[];++t<n;){var u=arguments[t];(Po(u)||vr(u))&&(e.push(u),r.push(s&&u.length>=120?Xi(t&&u):null))}if((n=e.length)<2)return a;var c=e[0],l=-1,f=c?c.length:0,p=r[0];e:for(;++l<f;)if(u=c[l],(p?ze(p,u):i(a,u,0))<0){for(t=n;--t;){var h=r[t];if((h?ze(h,u):i(e[t],u,0))<0)continue e}p&&p.push(u),a.push(u)}return a},t.invert=function(e,t,n){n&&Gn(e,t,n)&&(t=null);for(var r=-1,i=Xo(e),o=i.length,s={};++r<o;){var a=i[r],u=e[a];t?ti.call(s,u)?s[u].push(a):s[u]=[a]:s[u]=a}return s},t.invoke=xo,t.keys=Xo,t.keysIn=Wr,t.map=ar,t.mapValues=function(e,t,n){var r={};return t=wn(t,n,3),mt(e,function(e,n,i){r[n]=t(e,n,i)}),r},t.matches=function(e){return St(ut(e,!0))},t.matchesProperty=function(e,t){return Wt(e,ut(t,!0))},t.memoize=hr,t.merge=Ko,t.method=as,t.methodOf=us,t.mixin=Fr,t.negate=function(e){if("function"!=typeof e)throw new Zr(D);return function(){return!e.apply(this,arguments)}},t.omit=Yo,t.once=function(e){return fr(2,e)},t.pairs=function(e){for(var t=-1,n=Xo(e),r=n.length,i=Ur(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i},t.partial=Vo,t.partialRight=Io,t.partition=bo,t.pick=Qo,t.pluck=function(e,t){return ar(e,Rr(t))},t.property=Rr,t.propertyOf=function(e){return function(t){return xt(e,zn(t),t+"")}},t.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Sn(),i=e.length;++n<i;)for(var o=0,s=e[n];(o=r(t,s,o))>-1;)ki.call(t,o,1);return t},t.pullAt=oo,t.range=function(e,t,n){n&&Gn(e,t,n)&&(t=n=null),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=Ai(ui((t-e)/(n||1)),0),o=Ur(i);++r<i;)o[r]=e,e+=n;return o},t.rearg=Fo,t.reject=function(e,t,n){var r=Po(e)?Ze:ht;return t=wn(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})},t.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],s=e.length;for(t=wn(t,n,3);++i<s;){var a=e[i];t(a,i,e)&&(r.push(a),o.push(i))}return Ot(e,o),r},t.rest=Yn,t.restParam=dr,t.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||Cn(t,e)?[r]:zn(t)).length,s=o-1,a=e;null!=a&&++i<o;){var u=t[i];kr(a)&&(i==s?a[u]=n:null==a[u]&&(a[u]=On(t[i+1])?[]:{})),a=a[u]}return e},t.shuffle=cr,t.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&Gn(e,t,n)&&(t=0,n=r),Mt(e,t,n)):[]},t.sortBy=function(e,t,n){if(null==e)return[];n&&Gn(e,t,n)&&(t=null);var r=-1;return t=wn(t,n,3),It(wt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}}),f)},t.sortByAll=wo,t.sortByOrder=function(e,t,n,r){return null==e?[]:(r&&Gn(t,n,r)&&(n=null),Po(t)||(t=null==t?[]:[t]),Po(n)||(n=null==n?[]:[n]),Ft(e,t,n))},t.spread=function(e){if("function"!=typeof e)throw new Zr(D);return function(t){return e.apply(this,t)}},t.take=function(e,t,n){return(e?e.length:0)?((n?Gn(e,t,n):null==t)&&(t=1),Mt(e,0,t<0?0:t)):[]},t.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?Gn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Mt(e,t<0?0:t)):[]},t.takeRightWhile=function(e,t,n){return e&&e.length?Bt(e,wn(t,n,3),!1,!0):[]},t.takeWhile=function(e,t,n){return e&&e.length?Bt(e,wn(t,n,3)):[]},t.tap=function(e,t,n){return t.call(n,e),e},t.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Zr(D);return!1===n?r=!1:kr(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Be.leading=r,Be.maxWait=+t,Be.trailing=i,pr(e,t,Be)},t.thru=rr,t.times=function(e,t,n){if((e=li(e))<1||!Si(e))return[];var r=-1,i=Ur(Li(e,Vi));for(t=zt(t,n,1);++r<e;)r<Vi?i[r]=t(r):t(r);return i},t.toArray=function(e){var t=e?Qi(e):0;return Vn(t)?t?He(e):[]:Ar(e)},t.toPlainObject=wr,t.transform=function(e,t,n,r){var i=Po(e)||_r(e);if(t=wn(t,r,4),null==n)if(i||kr(e)){var o=e.constructor;n=i?Po(e)?new o:[]:qi(Uo(o)&&o.prototype)}else n={};return(i?$e:mt)(e,function(e,r,i){return t(n,e,r,i)}),n},t.union=uo,t.uniq=Qn,t.unzip=er,t.values=Ar,t.valuesIn=function(e){return Ut(e,Wr(e))},t.where=function(e,t){return or(e,St(t))},t.without=co,t.wrap=function(e,t){return t=null==t?Ir:t,yn(t,G,null,[e],[])},t.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Po(n)||vr(n))var r=r?lt(r,n).concat(lt(n,r)):n}return r?Rt(r):[]},t.zip=lo,t.zipObject=tr,t.backflow=Mo,t.collect=ar,t.compose=Mo,t.each=go,t.eachRight=mo,t.extend=No,t.iteratee=Mr,t.methods=Sr,t.object=tr,t.select=or,t.tail=Yn,t.unique=Qn,Fr(t,t),t.add=function(e,t){return(+e||0)+(+t||0)},t.attempt=ss,t.camelCase=es,t.capitalize=function(e){return(e=a(e))&&e.charAt(0).toUpperCase()+e.slice(1)},t.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&Gn(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),n="function"==typeof n&&zt(n,r,1),ut(e,t,n)},t.cloneDeep=function(e,t,n){return t="function"==typeof t&&zt(t,n,1),ut(e,!0,t)},t.deburr=Lr,t.endsWith=function(e,t,n){t+="";var r=(e=a(e)).length;return n=n===S?r:Li(n<0?0:+n||0,r),(n-=t.length)>=0&&e.indexOf(t,n)==n},t.escape=function(e){return e=a(e),e&&me.test(e)?e.replace(ve,d):e},t.escapeRegExp=jr,t.every=ir,t.find=ho,t.findIndex=ro,t.findKey=qo,t.findLast=vo,t.findLastIndex=io,t.findLastKey=zo,t.findWhere=function(e,t){return ho(e,St(t))},t.first=Zn,t.get=function(e,t,n){var r=null==e?S:xt(e,zn(t),t+"");return r===S?n:r},t.has=function(e,t){if(null==e)return!1;var n=ti.call(e,t);return n||Cn(t)||(e=1==(t=zn(t)).length?e:xt(e,Mt(t,0,-1)),t=Kn(t),n=null!=e&&ti.call(e,t)),n},t.identity=Ir,t.includes=sr,t.indexOf=Xn,t.inRange=function(e,t,n){return t=+t||0,void 0===n?(n=t,t=0):n=+n||0,e>=Li(t,n)&&e<Ai(t,n)},t.isArguments=vr,t.isArray=Po,t.isBoolean=function(e){return!0===e||!1===e||m(e)&&ri.call(e)==$},t.isDate=function(e){return m(e)&&ri.call(e)==J},t.isElement=gr,t.isEmpty=function(e){if(null==e)return!0;var t=Qi(e);return Vn(t)&&(Po(e)||Er(e)||vr(e)||m(e)&&Uo(e.splice))?!t:!Xo(e).length},t.isEqual=function(e,t,n,r){if(!(n="function"==typeof n&&zt(n,r,3))&&In(e)&&In(t))return e===t;var i=n?n(e,t):S;return i===S?bt(e,t,n):!!i},t.isError=mr,t.isFinite=Ro,t.isFunction=Uo,t.isMatch=function(e,t,n,r){var i=Xo(t),o=i.length;if(!o)return!0;if(null==e)return!1;if(n="function"==typeof n&&zt(n,r,3),e=qn(e),!n&&1==o){var s=i[0],a=t[s];if(In(a))return a===e[s]&&(a!==S||s in e)}for(var u=Ur(o),c=Ur(o);o--;)a=u[o]=t[i[o]],c[o]=In(a);return _t(e,i,u,c,n)},t.isNaN=function(e){return xr(e)&&e!=+e},t.isNative=yr,t.isNull=function(e){return null===e},t.isNumber=xr,t.isObject=kr,t.isPlainObject=Bo,t.isRegExp=br,t.isString=Er,t.isTypedArray=_r,t.isUndefined=function(e){return e===S},t.kebabCase=ts,t.last=Kn,t.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?Ai(r+n,0):Li(n||0,r-1))+1;else if(n){var o=e[i=Dt(e,t,!0)-1];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return g(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},t.max=cs,t.min=ls,t.noConflict=function(){return e._=ii,this},t.noop=Pr,t.now=So,t.pad=function(e,t,n){t=+t;var r=(e=a(e)).length;if(r>=t||!Si(t))return e;var i=(t-r)/2,o=li(i);return(n=gn("",ui(i),n)).slice(0,o)+e+n},t.padLeft=ns,t.padRight=rs,t.parseInt=Tr,t.random=function(e,t,n){n&&Gn(e,t,n)&&(t=n=null);var r=null==e,i=null==t;if(null==n&&(i&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Gi();return Li(e+o*(t-e+parseFloat("1e-"+((o+"").length-1))),t)}return Gt(e,t)},t.reduce=Eo,t.reduceRight=_o,t.repeat=Or,t.result=function(e,t,n){var r=null==e?S:e[t];return r===S&&(null==e||Cn(t,e)||(r=null==(e=1==(t=zn(t)).length?e:xt(e,Mt(t,0,-1)))?S:e[Kn(t)]),r=r===S?n:r),Uo(r)?r.call(e):r},t.runInContext=w,t.size=function(e){var t=e?Qi(e):0;return Vn(t)?t:Xo(e).length},t.snakeCase=is,t.some=lr,t.sortedIndex=so,t.sortedLastIndex=ao,t.startCase=os,t.startsWith=function(e,t,n){return e=a(e),n=null==n?0:Li(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},t.sum=function(e,t,n){n&&Gn(e,t,n)&&(t=null);var r=wn(),i=null==t;return r===at&&i||(i=!1,t=r(t,n,3)),i?tt(Po(e)?e:Dn(e)):Pt(e,t)},t.template=function(e,n,r){var i=t.templateSettings;r&&Gn(e,n,r)&&(n=r=null),e=a(e),n=it(Di({},r||n),i,rt);var o,s,u=it(Di({},n.imports),i.imports,rt),c=Xo(u),l=Ut(u,c),f=0,p=n.interpolate||Ce,h="__p += '",d=$r((n.escape||Ce).source+"|"+p.source+"|"+(p===xe?Le:Ce).source+"|"+(n.evaluate||Ce).source+"|$","g"),g="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Pe+"]")+"\n";e.replace(d,function(t,n,r,i,a,u){return r||(r=i),h+=e.slice(f,u).replace(Me,v),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=u+t.length,t}),h+="';\n";var m=n.variable;m||(h="with (obj) {\n"+h+"\n}\n"),h=(s?h.replace(fe,""):h).replace(pe,"$1").replace(he,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var k=ss(function(){return Dr(c,g+"return "+h).apply(S,l)});if(k.source=h,mr(k))throw k;return k},t.trim=Gr,t.trimLeft=function(e,t,n){var r=e;return e=a(e),e?(n?Gn(r,t,n):null==t)?e.slice(b(e)):e.slice(c(e,t+"")):e},t.trimRight=function(e,t,n){var r=e;return e=a(e),e?(n?Gn(r,t,n):null==t)?e.slice(0,E(e)+1):e.slice(0,l(e,t+"")+1):e},t.trunc=function(e,t,n){n&&Gn(e,t,n)&&(t=null);var r=I,i=F;if(null!=t)if(kr(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?a(t.omission):i}else r=+t||0;if(e=a(e),r>=e.length)return e;var s=r-i.length;if(s<1)return i;var u=e.slice(0,s);if(null==o)return u+i;if(br(o)){if(e.slice(s).search(o)){var c,l,f=e.slice(0,s);for(o.global||(o=$r(o.source,(je.exec(o)||"")+"g")),o.lastIndex=0;c=o.exec(f);)l=c.index;u=u.slice(0,null==l?s:l)}}else if(e.indexOf(o,s)!=s){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+i},t.unescape=function(e){return e=a(e),e&&ge.test(e)?e.replace(de,_):e},t.uniqueId=function(e){var t=++ni;return a(e)+t},t.words=Cr,t.all=ir,t.any=lr,t.contains=sr,t.detect=ho,t.foldl=Eo,t.foldr=_o,t.head=Zn,t.include=sr,t.inject=Eo,Fr(t,function(){var e={};return mt(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=ur,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return ur(t,e)}):ur(this.value())},t.VERSION=W,$e(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),$e(["dropWhile","filter","map","takeWhile"],function(e,t){var n=t!=N,r=t==U;Ne.prototype[e]=function(e,i){var o=this.__filtered__,s=o&&r?new Ne(this):this.clone();return(s.__iteratees__||(s.__iteratees__=[])).push({done:!1,count:0,index:0,iteratee:wn(e,i,1),limit:-1,type:t}),s.__filtered__=o||n,s}}),$e(["drop","take"],function(e,t){var n=e+"While";Ne.prototype[e]=function(n){var r=this.__filtered__,i=r&&!t?this.dropWhile():this.clone();return n=null==n?1:Ai(li(n)||0,0),r?t?i.__takeCount__=Li(i.__takeCount__,n):Kn(i.__iteratees__).limit=n:(i.__views__||(i.__views__=[])).push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},Ne.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()},Ne.prototype[e+"RightWhile"]=function(e,t){return this.reverse()[n](e,t).reverse()}}),$e(["first","last"],function(e,t){var n="take"+(t?"Right":"");Ne.prototype[e]=function(){return this[n](1).value()[0]}}),$e(["initial","rest"],function(e,t){var n="drop"+(t?"":"Right");Ne.prototype[e]=function(){return this[n](1)}}),$e(["pluck","where"],function(e,t){var n=t?"filter":"map",r=t?St:Rr;Ne.prototype[e]=function(e){return this[n](r(e))}}),Ne.prototype.compact=function(){return this.filter(Ir)},Ne.prototype.reject=function(e,t){return e=wn(e,t,1),this.filter(function(t){return!e(t)})},Ne.prototype.slice=function(e,t){var n=(e=null==e?0:+e||0)<0?this.takeRight(-e):this.drop(e);return t!==S&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n},Ne.prototype.toArray=function(){return this.drop(0)},mt(Ne.prototype,function(e,n){var r=t[n];if(r){var i=/^(?:filter|map|reject)|While$/.test(n),o=/^(?:first|last)$/.test(n);t.prototype[n]=function(){var n=arguments,s=(n.length,this.__chain__),a=this.__wrapped__,u=!!this.__actions__.length,c=a instanceof Ne,l=n[0],f=c||Po(a);f&&i&&"function"==typeof l&&1!=l.length&&(c=f=!1);var p=c&&!u;if(o&&!s)return p?e.call(a):r.call(t,this.value());var h=function(e){var i=[e];return hi.apply(i,n),r.apply(t,i)};if(f){var d=p?a:new Ne(this),v=e.apply(d,n);return o||!u&&!v.__actions__||(v.__actions__||(v.__actions__=[])).push({func:rr,args:[h],thisArg:t}),new k(v,s)}return this.thru(h)}}}),$e(["concat","join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Yr:Xr)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),mt(Ne.prototype,function(e,n){var r=t[n];if(r){var i=r.name;(Bi[i]||(Bi[i]=[])).push({name:n,func:r})}}),Bi[vn(null,L).name]=[{name:"wrapper",func:null}],Ne.prototype.clone=function(){var e=this.__actions__,t=this.__iteratees__,n=this.__views__,r=new Ne(this.__wrapped__);return r.__actions__=e?He(e):null,r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=t?He(t):null,r.__takeCount__=this.__takeCount__,r.__views__=n?He(n):null,r},Ne.prototype.reverse=function(){if(this.__filtered__){var e=new Ne(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ne.prototype.value=function(){var e=this.__wrapped__.value();if(!Po(e))return Nt(e,this.__actions__);var t=this.__dir__,n=t<0,r=Wn(0,e.length,this.__views__),i=r.start,o=r.end,s=o-i,a=n?o:i-1,u=Li(s,this.__takeCount__),c=this.__iteratees__,l=c?c.length:0,f=0,p=[];e:for(;s--&&f<u;){for(var h=-1,d=e[a+=t];++h<l;){var v=c[h],g=v.iteratee,m=v.type;if(m==U){if(v.done&&(n?a>v.index:a<v.index)&&(v.count=0,v.done=!1),v.index=a,!v.done){var k=v.limit;if(!(v.done=k>-1?v.count++>=k:!g(d)))continue e}}else{var y=g(d);if(m==N)d=y;else if(!y){if(m==B)continue e;break e}}}p[f++]=d}return p},t.prototype.chain=function(){return nr(this)},t.prototype.commit=function(){return new k(this.value(),this.__chain__)},t.prototype.plant=function(e){for(var t,r=this;r instanceof n;){var i=Hn(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t},t.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof Ne?(this.__actions__.length&&(e=new Ne(this)),new k(e.reverse(),this.__chain__)):this.thru(function(e){return e.reverse()})},t.prototype.toString=function(){return this.value()+""},t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=function(){return Nt(this.__wrapped__,this.__actions__)},t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,W="3.7.0",A=1,L=2,j=4,T=8,O=16,G=32,C=64,M=128,V=256,I=30,F="...",P=150,R=16,U=0,B=1,N=2,D="Expected a function",q="__lodash_placeholder__",z="[object Arguments]",H="[object Array]",$="[object Boolean]",J="[object Date]",Z="[object Error]",X="[object Function]",K="[object Number]",Y="[object Object]",Q="[object RegExp]",ee="[object String]",te="[object ArrayBuffer]",ne="[object Float32Array]",re="[object Float64Array]",ie="[object Int8Array]",oe="[object Int16Array]",se="[object Int32Array]",ae="[object Uint8Array]",ue="[object Uint8ClampedArray]",ce="[object Uint16Array]",le="[object Uint32Array]",fe=/\b__p \+= '';/g,pe=/\b(__p \+=) '' \+/g,he=/(__e\(.*?\)|\b__t\)) \+\n'';/g,de=/&(?:amp|lt|gt|quot|#39|#96);/g,ve=/[&<>"'`]/g,ge=RegExp(de.source),me=RegExp(ve.source),ke=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,xe=/<%=([\s\S]+?)%>/g,be=/\.|\[(?:[^[\]]+|(["'])(?:(?!\1)[^\n\\]|\\.)*?)\1\]/,Ee=/^\w*$/,_e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,we=/[.*+?^${}()|[\]\/\\]/g,Se=RegExp(we.source),We=/[\u0300-\u036f\ufe20-\ufe23]/g,Ae=/\\(\\)?/g,Le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,je=/\w*$/,Te=/^0[xX]/,Oe=/^\[object .+?Constructor\]$/,Ge=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ce=/($^)/,Me=/['\n\r\u2028\u2029\\]/g,Ve=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),Ie=" \t\v\f \ufeff\n\r\u2028\u2029 ",Fe=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","document","isFinite","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","window"],Pe=-1,Re={};Re[ne]=Re[re]=Re[ie]=Re[oe]=Re[se]=Re[ae]=Re[ue]=Re[ce]=Re[le]=!0,Re[z]=Re[H]=Re[te]=Re[$]=Re[J]=Re[Z]=Re[X]=Re["[object Map]"]=Re[K]=Re[Y]=Re[Q]=Re["[object Set]"]=Re[ee]=Re["[object WeakMap]"]=!1;var Ue={};Ue[z]=Ue[H]=Ue[te]=Ue[$]=Ue[J]=Ue[ne]=Ue[re]=Ue[ie]=Ue[oe]=Ue[se]=Ue[K]=Ue[Y]=Ue[Q]=Ue[ee]=Ue[ae]=Ue[ue]=Ue[ce]=Ue[le]=!0,Ue[Z]=Ue[X]=Ue["[object Map]"]=Ue["[object Set]"]=Ue["[object WeakMap]"]=!1;var Be={leading:!1,maxWait:0,trailing:!1},Ne={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},De={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qe={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},ze={function:!0,object:!0},He={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$e=ze[typeof n]&&n&&!n.nodeType&&n,Je=ze[typeof t]&&t&&!t.nodeType&&t,Ze=$e&&Je&&"object"==typeof e&&e&&e.Object&&e,Xe=ze[typeof self]&&self&&self.Object&&self,Ke=ze[typeof window]&&window&&window.Object&&window,Ye=Je&&Je.exports===$e&&$e,Qe=Ze||Ke!==(this&&this.window)&&Ke||Xe||this,et=w();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Qe._=et,define(function(){return et})):$e&&Je?Ye?(Je.exports=et)._=et:$e._=et:Qe._=et}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],13:[function(e,t,n){"use strict";function r(e){return/^[0-9a-fA-F]+$/.test(e)}function i(e){return 1===e.length&&r(e)}function o(){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 s(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")&&(l.option.node=!0),t[0]=""),this.emitter=new u.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<l.option.indent;n+=1)l.tab+=" "}var a=e("lodash"),u=e("events"),c=e("./reg.js"),l=e("./state.js").state,f=e("../data/ascii-identifier-data.js"),p=f.asciiIdentifierStartTable,h=f.asciiIdentifierPartTable,d=e("../data/non-ascii-identifier-start.js"),v=e("../data/non-ascii-identifier-part-only.js"),g={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},m={Block:1,Template:2};s.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=l.lines,this._lines},setLines:function(e){this._lines=e,l.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:g.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":case"?":return{type:g.Punctuator,value:r};case"{":return this.pushContext(m.Block),{type:g.Punctuator,value:r};case"}":return this.inContext(m.Block)&&this.popContext(),{type:g.Punctuator,value:r};case"#":return{type:g.Punctuator,value:r};case"":return null}return e=this.peek(1),t=this.peek(2),n=this.peek(3),">"===r&&">"===e&&">"===t&&"="===n?{type:g.Punctuator,value:">>>="}:"="===r&&"="===e&&"="===t?{type:g.Punctuator,value:"==="}:"!"===r&&"="===e&&"="===t?{type:g.Punctuator,value:"!=="}:">"===r&&">"===e&&">"===t?{type:g.Punctuator,value:">>>"}:"<"===r&&"<"===e&&"="===t?{type:g.Punctuator,value:"<<="}:">"===r&&">"===e&&"="===t?{type:g.Punctuator,value:">>="}:"="===r&&">"===e?{type:g.Punctuator,value:r+e}:r===e&&"+-<>&|".indexOf(r)>=0?{type:g.Punctuator,value:r+e}:"<>=!+-*%&|^/".indexOf(r)>=0?"="===e?{type:g.Punctuator,value:r+e}:{type:g.Punctuator,value:r}:null},scanComments:function(e){function t(e,t,n){var r=["jshint","jslint","members","member","globals","global","exported"],i=!1,o=e+t,s="plain";return(n=n||{}).isMultiline&&(o+="*/"),t=t.replace(/\n/g," "),"/*"===e&&c.fallsThrough.test(t)&&(i=!0,s="falls through"),r.forEach(function(n){if(!i&&("//"!==e||"jshint"===n)&&(" "===t.charAt(n.length)&&t.substr(0,n.length)===n&&(i=!0,e+=n,t=t.substr(n.length)),i||" "!==t.charAt(0)||" "!==t.charAt(n.length+1)||t.substr(1,n.length)!==n||(i=!0,e=e+" "+n,t=t.substr(n.length+1)),i))switch(n){case"member":s="members";break;case"global":s="globals";break;default:var r=t.split(":").map(function(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")});if(2===r.length)switch(r[0]){case"ignore":switch(r[1]){case"start":a.ignoringLinterErrors=!0,i=!1;break;case"end":a.ignoringLinterErrors=!1,i=!1}}s=n}}),{type:g.Comment,commentType:s,value:o,body:t,isSpecial:i,isMultiline:n.isMultiline||!1,isMalformed:n.isMalformed||!1}}var n=this.peek(),r=this.peek(1),i=this.input.substr(2),o=this.line,s=this.char,a=this;if("*"===n&&"/"===r)return this.trigger("error",{code:"E018",line:o,character:s}),this.skip(2),null;if("/"!==n||"*"!==r&&"/"!==r)return null;if("/"===r)return this.skip(this.input.length),t("//",i);var u="";if("*"===r){for(this.inComment=!0,this.skip(2);"*"!==this.peek()||"/"!==this.peek(1);)if(""===this.peek()){if(u+="\n",!this.nextLine(e))return this.trigger("error",{code:"E017",line:o,character:s}),this.inComment=!1,t("/*",u,{isMultiline:!0,isMalformed:!0})}else u+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,t("/*",u,{isMultiline:!0})}},scanKeyword:function(){var e=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),t=["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"];return e&&t.indexOf(e[0])>=0?{type:g.Keyword,value:e[0]}:null},scanIdentifier:function(){function e(e){return d.indexOf(e)>-1}function t(t){return e(t)||v.indexOf(t)>-1}var n,i,o="",s=0,a=function(){if(s+=1,"u"!==this.peek(s))return null;var e,n=this.peek(s+1)+this.peek(s+2)+this.peek(s+3)+this.peek(s+4);return r(n)?(e=parseInt(n,16),h[e]||t(e)?(s+=5,"\\u"+n):null):null}.bind(this),u=function(){var t=this.peek(s),n=t.charCodeAt(0);return 92===n?a():n<128?p[n]?(s+=1,t):null:e(n)?(s+=1,t):null}.bind(this),c=function(){var e=this.peek(s),n=e.charCodeAt(0);return 92===n?a():n<128?h[n]?(s+=1,e):null:t(n)?(s+=1,e):null}.bind(this);if(null===(i=u()))return null;for(o=i;null!==(i=c());)o+=i;switch(o){case"true":case"false":n=g.BooleanLiteral;break;case"null":n=g.NullLiteral;break;default:n=g.Identifier}return{type:n,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(e){function t(e){return/^[0-9]$/.test(e)}function n(e){return/^[0-7]$/.test(e)}function r(e){return"$"===e||"_"===e||"\\"===e||e>="a"&&e<="z"||e>="A"&&e<="Z"}var o=0,s="",a=this.input.length,u=this.peek(o),c=t,f=10,p=!1;if("."!==u&&!t(u))return null;if("."!==u){for(s=this.peek(o),o+=1,u=this.peek(o),"0"===s&&("x"!==u&&"X"!==u||(c=i,f=16,o+=1,s+=u),"o"!==u&&"O"!==u||(c=n,f=8,l.inES6(!0)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]},e,function(){return!0}),o+=1,s+=u),"b"!==u&&"B"!==u||(c=function(e){return/^[01]$/.test(e)},f=2,l.inES6(!0)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]},e,function(){return!0}),o+=1,s+=u),n(u)&&(c=n,f=8,p=!0,!1,o+=1,s+=u),!n(u)&&t(u)&&(o+=1,s+=u));o<a;){if(u=this.peek(o),p&&t(u))!0;else if(!c(u))break;s+=u,o+=1}if(c!==t)return!p&&s.length<=2?{type:g.NumericLiteral,value:s,isMalformed:!0}:o<a&&(u=this.peek(o),r(u))?null:{type:g.NumericLiteral,value:s,base:f,isLegacy:p,isMalformed:!1}}if("."===u)for(s+=u,o+=1;o<a&&(u=this.peek(o),t(u));)s+=u,o+=1;if("e"===u||"E"===u){if(s+=u,o+=1,"+"!==(u=this.peek(o))&&"-"!==u||(s+=this.peek(o),o+=1),u=this.peek(o),!t(u))return null;for(s+=u,o+=1;o<a&&(u=this.peek(o),t(u));)s+=u,o+=1}return o<a&&(u=this.peek(o),r(u))?null:{type:g.NumericLiteral,value:s,base:f,isMalformed:!isFinite(s)}},scanEscapeSequence:function(e){var t=!1,n=1;this.skip();var i=this.peek();switch(i){case"'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\'"]},e,function(){return l.jsonMode});break;case"b":i="\\b";break;case"f":i="\\f";break;case"n":i="\\n";break;case"r":i="\\r";break;case"t":i="\\t";break;case"0":i="\\0";var o=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},e,function(){return o>=0&&o<=7&&l.isStrict()});break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":i="\\"+i,this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},e,function(){return l.isStrict()});break;case"u":var s=this.input.substr(1,4),a=parseInt(s,16);r(s)||this.trigger("warning",{code:"W052",line:this.line,character:this.char,data:["u"+s]}),i=String.fromCharCode(a),n=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\v"]},e,function(){return l.jsonMode}),i="\v";break;case"x":var u=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\x-"]},e,function(){return l.jsonMode}),i=String.fromCharCode(u),n=3;break;case"\\":i="\\\\";break;case'"':i='\\"';break;case"/":break;case"":t=!0,i=""}return{char:i,jump:n,allowNewLine:t}},scanTemplateLiteral:function(e){var t,n,r="",i=this.line,o=this.char,s=this.templateStarts.length;if("`"===this.peek())l.inES6(!0)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["template literal syntax","6"]},e,function(){return!0}),t=g.TemplateHead,this.templateStarts.push({line:this.line,char:this.char}),s=this.templateStarts.length,this.skip(1),this.pushContext(m.Template);else{if(!this.inContext(m.Template)||"}"!==this.peek())return null;t=g.TemplateMiddle}for(;"`"!==this.peek();){for(;""===(n=this.peek());)if(r+="\n",!this.nextLine(e)){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===g.TemplateHead?g.NoSubstTemplate:g.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 l.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!l.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},e,function(){return l.jsonMode&&l.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine(e))return this.trigger("error",{code:"E029",line:r,character:i}),{type:g.StringLiteral,value:n,startLine:r,startChar:i,isUnclosed:!0,quote:t}}else{o=!1;var s=this.peek(),a=1;if(s<" "&&this.triggerAsync("warning",{code:"W113",line:this.line,character:this.char,data:["<non-printable>"]},e,function(){return!0}),"\\"===s){var u=this.scanEscapeSequence(e);s=u.char,a=u.jump,o=u.allowNewLine}n+=s,this.skip(a)}return this.skip(),{type:g.StringLiteral,value:n,startLine:r,startChar:i,isUnclosed:!1,quote:t}},scanRegExp:function(e){var t,n,r=0,i=this.input.length,o=this.peek(),s=o,a="",u=[],c=!1,f=!1,p=function(){o<" "&&(c=!0,this.triggerAsync("warning",{code:"W048",line:this.line,character:this.char},e,function(){return!0})),"<"===o&&(c=!0,this.triggerAsync("warning",{code:"W049",line:this.line,character:this.char,data:[o]},e,function(){return!0}))}.bind(this);if(!this.prereg||"/"!==o)return null;for(r+=1,t=!1;r<i;)if(o=this.peek(r),s+=o,a+=o,f)"]"===o&&("\\"===this.peek(r-1)&&"\\"!==this.peek(r-2)||(f=!1)),"\\"===o&&(r+=1,a+=o=this.peek(r),s+=o,p()),r+=1;else{if("\\"===o){if(r+=1,o=this.peek(r),a+=o,s+=o,p(),"/"===o){r+=1;continue}if("["===o){r+=1;continue}}if("["!==o){if("/"===o){a=a.substr(0,a.length-1),t=!0,r+=1;break}r+=1}else f=!0,r+=1}if(!t)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});for(;r<i&&(o=this.peek(r),/[gimy]/.test(o));)"y"===o?(l.inES6(!0)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["Sticky RegExp flag","6"]},e,function(){return!0}),s.indexOf("y")>-1&&(n="Duplicate RegExp flag")):u.push(o),s+=o,r+=1;try{new RegExp(a,u.join(""))}catch(e){n=e.message}return n&&(c=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[n]})),{type:g.RegExp,value:s,flags:u,isMalformed:c}},scanNonBreakingSpaces:function(){return l.option.nonbsp?this.input.search(/(\u00A0)/):-1},scanUnsafeChars:function(){return this.input.search(c.unsafeChars)},next:function(e){for(this.from=this.char;/\s/.test(this.peek());)this.from+=1,this.skip();var t=this.scanComments(e)||this.scanStringLiteral(e)||this.scanTemplateLiteral(e);return t||(t=this.scanRegExp(e)||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral(e),t?(this.skip(t.tokenLength||t.value.length),t):null)},nextLine:function(e){var t;if(this.line>=this.getLines().length)return!1;this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1;var n=this.input.trim(),r=function(){return a.some(arguments,function(e){return 0===n.indexOf(e)})};return!0===this.ignoringLinterErrors&&(r("/*","//")||this.inComment&&function(){return a.some(arguments,function(e){return-1!==n.indexOf(e,n.length-e.length)})}("*/")||(this.input="")),(t=this.scanNonBreakingSpaces())>=0&&this.triggerAsync("warning",{code:"W125",line:this.line,character:t+1},e,function(){return!0}),this.input=this.input.replace(/\t/g,l.tab),(t=this.scanUnsafeChars())>=0&&this.triggerAsync("warning",{code:"W100",line:this.line,character:t},e,function(){return!0}),!this.ignoringLinterErrors&&l.option.maxlen&&l.option.maxlen<this.input.length&&(!(this.inComment||r.call(n,"//")||r.call(n,"/*"))||!c.maxlenException.test(n))&&this.triggerAsync("warning",{code:"W101",line:this.line,character:this.input.length},e,function(){return!0}),!0},token:function(){function e(e,t){if(!e.reserved)return!1;var n=e.meta;if(n&&n.isFutureReservedWord&&l.inES5()){if(!n.es5)return!1;if(n.strictOnly&&!l.option.strict&&!l.isStrict())return!1;if(t)return!1}return!0}for(var t,n=o(),r=function(t,r,i,o){var s;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}s=Object.create(l.syntax[r]||l.syntax["(error)"])}return"(identifier)"===t&&("return"!==r&&"case"!==r&&"yield"!==r&&"typeof"!==r&&"instanceof"!==r||(this.prereg=!0),a.has(l.syntax,r)&&(e(s=Object.create(l.syntax[r]||l.syntax["(error)"]),i&&"(identifier)"===t)||(s=null))),"(template)"!==t&&"(template middle)"!==t||(this.prereg=!0),s||(s=Object.create(l.syntax[t])),s.identifier="(identifier)"===t,s.type=s.type||t,s.value=r,s.line=this.line,s.character=this.char,s.from=this.from,s.identifier&&o&&(s.raw_text=o.text||o.value),o&&o.startLine&&o.startLine!==this.line&&(s.startLine=o.startLine),o&&o.context&&(s.context=o.context),o&&o.depth&&(s.depth=o.depth),o&&o.isUnclosed&&(s.isUnclosed=o.isUnclosed),i&&s.identifier&&(s.isProperty=i),s.check=n.check,s}.bind(this);;){if(!this.input.length)return this.nextLine(n)?r("(endline)",""):this.exhausted?null:(this.exhausted=!0,r("(end)",""));if(t=this.next(n))switch(t.type){case g.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}),r("(string)",t.value,null,t);case g.TemplateHead:return this.trigger("TemplateHead",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),r("(template)",t.value,null,t);case g.TemplateMiddle:return this.trigger("TemplateMiddle",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),r("(template middle)",t.value,null,t);case g.TemplateTail:return this.trigger("TemplateTail",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),r("(template tail)",t.value,null,t);case g.NoSubstTemplate:return this.trigger("NoSubstTemplate",{line:this.line,char:this.char,from:this.from,startLine:t.startLine,startChar:t.startChar,value:t.value}),r("(no subst template)",t.value,null,t);case g.Identifier:this.triggerAsync("Identifier",{line:this.line,char:this.char,from:this.from,name:t.value,raw_name:t.text,isProperty:"."===l.tokens.curr.id},n,function(){return!0});case g.Keyword:case g.NullLiteral:case g.BooleanLiteral:return r("(identifier)",t.value,"."===l.tokens.curr.id,t);case g.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&&l.jsonMode}),this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},n,function(){return l.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}),r("(number)",t.value);case g.RegExp:return r("(regexp)",t.value);case g.Comment:if(l.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 r("(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=s,n.Context=m},{"../data/ascii-identifier-data.js":1,"../data/non-ascii-identifier-part-only.js":2,"../data/non-ascii-identifier-start.js":3,"./reg.js":17,"./state.js":19,events:5,lodash:12}],14:[function(e,t,n){"use strict";var r=e("lodash"),i={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:"Yield expressions may only occur within generator functions.",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:"{a} declarations are only allowed at the top level of module 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.",E059:"Incompatible values for the '{a}' and '{b}' linting options.",E060:"Non-callable values cannot be used as the second operand to instanceof.",E061:"Invalid position for 'yield' expression (consider wrapping in parenthesis)."},o={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:"Misleading line break before '{a}'; readers may interpret this as an expression boundary.",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:"If a strict mode function is executed using function invocation, its 'this' value will be undefined.",W041:null,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:"Functions declared within loops referencing an outer scoped variable may lead to confusing semantics.",W084:"Expected a conditional expression and instead saw an assignment.",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 should contain at least one yield expression.",W125:"This line contains non-breaking spaces: http://jshint.com/docs/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.",W139:"Function expressions should not be used as the second operand to instanceof.",W140:"Missing comma."},s={I001:"Comma warnings can be turned off with 'laxcomma'.",I002:null,I003:"ES5 option is now set per default"};n.errors={},n.warnings={},n.info={},r.each(i,function(e,t){n.errors[t]={code:t,desc:e}}),r.each(o,function(e,t){n.warnings[t]={code:t,desc:e}}),r.each(s,function(e,t){n.info[t]={code:t,desc:e}})},{lodash:12}],15:[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},{}],16:[function(e,t,n){"use strict";n.bool={enforcing:{bitwise:!0,freeze:!0,camelcase:!0,curly:!0,eqeqeq:!0,futurehostile:!0,es3:!0,es5:!0,forin:!0,immed:!0,newcap:!0,noarg:!0,nocomma:!0,noempty:!0,nonbsp:!0,nonew:!0,undef:!0,singleGroups:!1,varstmt:!1,enforceall:!1,trailingcomma:!1},relaxing:{asi:!0,multistr:!0,debug:!0,boss:!0,evil:!0,funcscope:!0,globalstrict:!0,iterator:!0,notypeof:!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}},{}],17:[function(e,t,n){"use strict";n.unsafeString=/@cc|<\/?|script|\]\s*\]|<\s*!|</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=/^(?:(?:\/\/|\/\*|\*) ?)?[^ ]+$/},{}],18:[function(e,t,n){"use strict";var r=e("lodash"),i=e("events"),o={};t.exports=function(e,t,n,s){function a(e){m={"(labels)":Object.create(null),"(usages)":Object.create(null),"(breakLabels)":Object.create(null),"(parent)":m,"(type)":e,"(params)":"functionparams"===e||"catchparams"===e?[]:null},k.push(m)}function u(e,t){_.emit("warning",{code:e,token:t,data:r.slice(arguments,2)})}function c(e,t){_.emit("warning",{code:e,token:t,data:r.slice(arguments,2)})}function l(e){m["(usages)"][e]||(m["(usages)"][e]={"(modified)":[],"(reassigned)":[],"(tokens)":[]})}function f(){if("functionparams"!==m["(type)"]){var e=m["(labels)"];for(var t in e)e[t]&&"exception"!==e[t]["(type)"]&&e[t]["(unused)"]&&S(t,e[t]["(token)"],"var")}else p()}function p(){var t=m["(params)"];if(t)for(var n,r=t.pop();r;){var i=m["(labels)"][r];if(n=w(e.funct["(unusedOption)"]),"undefined"===r)return;if(i["(unused)"])S(r,i["(token)"],"param",e.funct["(unusedOption)"]);else if("last-param"===n)return;r=t.pop()}}function h(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===y)break}return!1}function v(t,n){if("outer"===e.option.shadow)for(var r="global"===y["(type)"],i="functionparams"===m["(type)"],o=!r,s=0;s<k.length;s++){var a=k[s];i||k[s+1]!==y||(o=!1),o&&a["(labels)"][t]&&u("W123",n,t),a["(breakLabels)"][t]&&u("W123",n,t)}}function g(t,n,r){e.option.latedef&&(!0===e.option.latedef&&"function"===t||"function"!==t)&&u("W003",r,n)}var m,k=[];a("global"),m["(predefined)"]=t;var y=m,x=Object.create(null),b=Object.create(null),E=[],_=new i.EventEmitter,w=function(t){return void 0===t&&(t=e.option.unused),!0===t&&(t="last-param"),t},S=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=w(r))&&a[r]&&-1!==a[r].indexOf(n)&&u("W098",{line:i,from:o},s),(r||"var"===n)&&E.push({name:e,line:i,character:o})},W={on:function(e,t){e.split(" ").forEach(function(e){_.on(e,t)})},isPredefined:function(e){return!this.has(e)&&r.has(k[0]["(predefined)"],e)},stack:function(e){var t=m;a(e),e||"functionparams"!==t["(type)"]||(m["(isFuncBody)"]=!0,m["(context)"]=y,y=m)},unstack:function(){var t,n,i=k.length>1?k[k.length-2]:null,a=m===y,l="functionparams"===m["(type)"],p="functionouter"===m["(type)"],h=m["(usages)"],d=m["(labels)"],v=Object.keys(h);for(h.__proto__&&-1===v.indexOf("__proto__")&&v.push("__proto__"),t=0;t<v.length;t++){var g=v[t],E=h[g],_=d[g];if(_){var w=_["(type)"],W="const"===w||"import"===w;if(_["(useOutsideOfScope)"]&&!e.option.funcscope){var A=E["(tokens)"];if(A)for(n=0;n<A.length;n++)_["(function)"]===A[n]["(function)"]&&c("W038",A[n],g)}if(m["(labels)"][g]["(unused)"]=!1,W&&E["(modified)"])for(n=0;n<E["(modified)"].length;n++)c("E013",E["(modified)"][n],g);if(("function"===w||"class"===w)&&E["(reassigned)"])for(n=0;n<E["(reassigned)"].length;n++)E["(reassigned)"][n].ignoreW021||u("W021",E["(reassigned)"][n],g,w)}else if(p&&(e.funct["(isCapturing)"]=!0),i)if(i["(usages)"][g]){var L=i["(usages)"][g];L["(modified)"]=L["(modified)"].concat(E["(modified)"]),L["(tokens)"]=L["(tokens)"].concat(E["(tokens)"]),L["(reassigned)"]=L["(reassigned)"].concat(E["(reassigned)"])}else i["(usages)"][g]=E,a&&(i["(usages)"][g]["(onlyUsedSubFunction)"]=!0);else if("boolean"==typeof m["(predefined)"][g]){if(delete s[g],x[g]=o,!1===m["(predefined)"][g]&&E["(reassigned)"])for(n=0;n<E["(reassigned)"].length;n++)E["(reassigned)"][n].ignoreW020||u("W020",E["(reassigned)"][n])}else if(E["(tokens)"])for(n=0;n<E["(tokens)"].length;n++){var j=E["(tokens)"][n];j.forgiveUndef||(e.option.undef&&!j.ignoreUndef&&u("W117",j,g),b[g]?b[g].line.push(j.line):b[g]={name:g,line:[j.line]})}}if(i||Object.keys(s).forEach(function(e){S(e,s[e],"var")}),i&&!a&&!l&&!p){var T=Object.keys(d);for(t=0;t<T.length;t++){var O=T[t],G=d[O];if(!G["(blockscoped)"]&&"exception"!==G["(type)"]){var C=i["(labels)"][O];C?C["(unused)"]&=G["(unused)"]:(G["(useOutsideOfScope)"]="global"!==y["(type)"]&&!this.funct.has(O,{excludeCurrent:!0}),i["(labels)"][O]=G),delete d[O]}}}f(),k.pop(),a&&(y=k[r.findLastIndex(k,function(e){return e["(isFuncBody)"]||"global"===e["(type)"]})]),m=i},addParam:function(t,n,i){if("exception"===(i=i||"param")){var o=this.funct.labeltype(t);o&&"exception"!==o&&(e.option.node||u("W002",e.tokens.next,t))}r.has(m["(labels)"],t)?m["(labels)"][t].duplicated=!0:(v(t,n),m["(labels)"][t]={"(type)":i,"(token)":n,"(unused)":!0},m["(params)"].push(t)),r.has(m["(usages)"],t)&&(m["(usages)"][t]["(onlyUsedSubFunction)"]?g(i,t,n):u("E056",n,t,i))},validateParams:function(){if("global"!==y["(type)"]){var t=e.isStrict(),n=y["(parent)"];n["(params)"]&&n["(params)"].forEach(function(r){var i=n["(labels)"][r];i&&i.duplicated&&(t?u("E011",i["(token)"],r):!0!==e.option.shadow&&u("W004",i["(token)"],r))})}},getUsedOrDefinedGlobals:function(){var e=Object.keys(x);return x.__proto__===o&&-1===e.indexOf("__proto__")&&e.push("__proto__"),e},getImpliedGlobals:function(){var e=r.values(b);return b.__proto__&&(e.some(function(e){return"__proto__"===e.name})||e.push(b.__proto__)),e},getUnuseds:function(){return E},has:function(e){return Boolean(h(e))},labeltype:function(e){var t=h(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)},initialize:function(e){m["(labels)"][e]&&(m["(labels)"][e]["(initialized)"]=!0)},addlabel:function(t,i){var s=i.type,a=i.token,c="let"===s||"const"===s||"class"===s||"import"===s,l="function"===s||"import"===s,f="global"===(c?m:y)["(type)"]&&r.has(n,t);if(v(t,a),c){var p=m["(labels)"][t];p||m!==y||"global"===m["(type)"]||(p=!!y["(parent)"]["(labels)"][t]),!p&&m["(usages)"][t]&&(m["(usages)"][t]["(onlyUsedSubFunction)"]||l?g(s,t,a):l||u("E056",a,t,s)),p?u("E011",a,t):"outer"===e.option.shadow&&W.funct.has(t)&&u("W004",a,t),W.block.add(t,s,a,!f,i.initialized)}else{var h=W.funct.has(t);!h&&d(t)&&g(s,t,a),W.funct.has(t,{onlyBlockscoped:!0})?u("E011",a,t):!0!==e.option.shadow&&h&&"__proto__"!==t&&"global"!==y["(type)"]&&u("W004",a,t),W.funct.add(t,s,a,!f),"global"!==y["(type)"]||e.impliedClosure()||(x[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){m["(labels)"][e]={"(type)":t,"(token)":n,"(blockscoped)":!1,"(function)":y,"(unused)":r}}},block:{isGlobal:function(){return"global"===m["(type)"]},use:function(t,n){var r=y["(parent)"];r&&r["(labels)"][t]&&"param"===r["(labels)"][t]["(type)"]&&(W.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),m["(usages)"][t]["(onlyUsedSubFunction)"]=!1,n&&(n["(function)"]=y,m["(usages)"][t]["(tokens)"].push(n));var i=m["(labels)"][t];i&&i["(blockscoped)"]&&!i["(initialized)"]&&c("E056",n,t,i["(type)"])},reassign:function(t,n){n.ignoreW020=e.ignored.W020,n.ignoreW021=e.ignored.W021,this.modify(t,n),m["(usages)"][t]["(reassigned)"].push(n)},modify:function(e,t){l(e),m["(usages)"][e]["(onlyUsedSubFunction)"]=!1,m["(usages)"][e]["(modified)"].push(t)},add:function(e,t,n,r,i){m["(labels)"][e]={"(type)":t,"(token)":n,"(initialized)":!!i,"(blockscoped)":!0,"(unused)":r}},addBreakLabel:function(t,n){var r=n.token;W.funct.hasBreakLabel(t)?u("E011",r,t):"outer"===e.option.shadow&&(W.funct.has(t)?u("W004",r,t):v(t,r)),m["(breakLabels)"][t]=r}}};return W}},{events:5,lodash:12}],19:[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},stmtMissingStrict:function(){return"global"===this.option.strict||!1!==this.option.strict&&!!this.option.globalstrict},allowsGlobalUsd:function(){return"global"===this.option.strict||this.option.globalstrict||this.option.module||this.impliedClosure()},impliedClosure:function(){return this.option.node||this.option.phantom||this.option.browserify},inMoz:function(){return this.option.moz},inES6:function(e){return e?6===this.esVersion:this.option.moz||this.esVersion>=6},inES5:function(e){return e?!(this.esVersion&&5!==this.esVersion||this.option.moz):!this.esVersion||this.esVersion>=5||this.option.moz},inferEsVersion:function(){var e=null;if(this.option.esversion){if(this.option.es3?e="es3":this.option.es5?e="es5":this.option.esnext&&(e="esnext"),e)return e;2015===this.option.esversion?this.esVersion=6:this.esVersion=this.option.esversion}else this.option.es3?this.esVersion=3:this.option.esnext&&(this.esVersion=6);return null},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.esVersion=5,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":15}],20:[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.char,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){var n=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\s*:/i;e.getOption("scripturl")||n.test(t.value)&&e.warn("W107",{line:t.line,char:t.char})})}},{}],21:[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:{ArrayBuffer:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int8Array:!1,Int16Array:!1,Int32Array:!1,Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,Uint8Array:!1,Uint16Array:!1,Uint32Array:!1,Uint8ClampledArray:!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,CompositionEvent:!1,CustomEvent:!1,DOMParser:!1,defaultStatus:!1,Document:!1,document:!1,DocumentFragment:!1,Element:!1,ElementTimeControl:!1,Event:!1,event:!1,fetch:!1,File:!1,FileList:!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,MediaRecorder:!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,Storage:!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,onmessage:!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,notOk:!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}},{}],jshint:[function(e,t,n){var r=e("lodash"),i=e("events"),o=e("./vars.js"),s=e("./messages.js"),a=e("./lex.js").Lexer,u=e("./reg.js"),c=e("./state.js").state,l=e("./style.js"),f=e("./options.js"),p=e("./scope-manager.js"),h=(e("console-browserify"),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))||(_("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){if(t.moduleOnly&&!c.option.module)return!1;if(c.inES5()){if(!t.es5)return!1;if(t.strictOnly&&!c.option.strict&&!c.isStrict())return!1;if(e.isProperty)return!1}}return!0}function v(e,t){return e.replace(/\{([^{}]*)\}/g,function(e,n){var r=t[n];return"string"==typeof r||"number"==typeof r?r:e})}function g(e,t){Object.keys(t).forEach(function(n){r.has(h.blacklist,n)||(e[n]=t[n])})}function m(){if(c.option.enforceall){for(var e in f.bool.enforcing)void 0!==c.option[e]||f.noenforceall[e]||(c.option[e]=!0);for(var t in f.bool.relaxing)void 0===c.option[t]&&(c.option[t]=!1)}}function k(){var e=null;m(),(e=c.inferEsVersion())&&y("E059",c.tokens.next,"esversion",e),c.inES5()&&g(Ye,o.ecmaIdentifiers[5]),c.inES6()&&g(Ye,o.ecmaIdentifiers[6]),"global"===c.option.strict&&"globalstrict"in c.option&&y("E059",c.tokens.next,"strict","globalstrict"),c.option.module&&(c.inES6()||b("W134",c.tokens.next,"module",6)),c.option.couch&&g(Ye,o.couch),c.option.qunit&&g(Ye,o.qunit),c.option.rhino&&g(Ye,o.rhino),c.option.shelljs&&(g(Ye,o.shelljs),g(Ye,o.node)),c.option.typed&&g(Ye,o.typed),c.option.phantom&&g(Ye,o.phantom),c.option.prototypejs&&g(Ye,o.prototypejs),c.option.node&&(g(Ye,o.node),g(Ye,o.typed)),c.option.devel&&g(Ye,o.devel),c.option.dojo&&g(Ye,o.dojo),c.option.browser&&(g(Ye,o.browser),g(Ye,o.typed)),c.option.browserify&&(g(Ye,o.browser),g(Ye,o.typed),g(Ye,o.browserify)),c.option.nonstandard&&g(Ye,o.nonstandard),c.option.jasmine&&g(Ye,o.jasmine),c.option.jquery&&g(Ye,o.jquery),c.option.mootools&&g(Ye,o.mootools),c.option.worker&&g(Ye,o.worker),c.option.wsh&&g(Ye,o.wsh),c.option.yui&&g(Ye,o.yui),c.option.mocha&&g(Ye,o.mocha)}function y(e,t,n,r){var i=Math.floor(t.line/c.lines.length*100),o=s.errors[e].desc,a={name:"JSHintError",line:t.line,character:t.from,message:o+" ("+i+"% scanned).",raw:o,code:e,a:n,b:r};throw a.reason=v(o,a)+" ("+i+"% scanned).",a}function x(){var e=c.ignoredLines;r.isEmpty(e)||(h.errors=r.reject(h.errors,function(t){return e[t.line]}))}function b(e,t,n,r,i,o){var a,u,l,f;if(/^W\d{3}$/.test(e)){if(c.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||c.tokens.next||{}).id&&(t=c.tokens.curr),u=t.line,a=t.from,l={id:"(error)",raw:f.desc,code:f.code,evidence:c.lines[u-1]||"",line:u,character:a,scope:h.scope,a:n,b:r,c:i,d:o},l.reason=v(f.desc,l),h.errors.push(l),x(),h.errors.length>=c.option.maxerr&&y("E043",t),l}function E(e,t,n,r,i,o,s){return b(e,{line:t,from:n},r,i,o,s)}function _(e,t,n,r,i,o){b(e,t,n,r,i,o)}function w(e,t,n,r,i,o,s){return _(e,{line:t,from:n},r,i,o,s)}function S(e,t){h.internals.push({id:"(internal)",elem:e,token:t,code:t.value.replace(/([^\\])(\\*)\2\\n/g,"$1\n")})}function W(t,n){var i=t.body.split(",").map(function(e){return e.trim()}),o={};if("falls through"!==t.type){if("globals"===t.type){i.forEach(function(e,n){var r=((e=e.split(":"))[0]||"").trim(),s=(e[1]||"").trim();if("-"!==r&&r.length)"-"===r.charAt(0)?(r=r.slice(1),s=!1,h.blacklist[r]=r,delete Ye[r]):o[r]="true"===s;else{if(n>0&&n===i.length-1)return;_("E002",t)}}),g(Ye,o);for(var s in o)r.has(o,s)&&(qe[s]=t)}"exported"===t.type&&i.forEach(function(e,n){if(e.length)c.funct["(scope)"].addExported(e);else{if(n>0&&n===i.length-1)return;_("E002",t)}}),"members"===t.type&&(Ke=Ke||{},i.forEach(function(e){var t=e.charAt(0);t!==e.charAt(e.length-1)||'"'!==t&&"'"!==t||(e=e.substr(1,e.length-2).replace('\\"','"')),Ke[e]=!1}));var a=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];"jshint"!==t.type&&"jslint"!==t.type||(i.forEach(function(n){var r=((n=n.split(":"))[0]||"").trim(),i=(n[1]||"").trim();if(e(r,t))if(a.indexOf(r)>=0)if("false"!==i){if("number"!=typeof(i=+i)||!isFinite(i)||i<=0||Math.floor(i)!==i)return void _("E032",t,n[1].trim());c.option[r]=i}else c.option[r]="indent"===r&&4;else{if("validthis"===r)return c.funct["(global)"]?void _("E009"):"true"!==i&&"false"!==i?void _("E002",t):void(c.option.validthis="true"===i);if("quotmark"!==r)if("shadow"!==r)if("unused"!==r)if("latedef"!==r)if("ignore"!==r)if("strict"!==r)if("module"===r&&(xe(c.funct)||_("E055",t,"module")),"esversion"!==r){var o=/^([+-])(W\d{3})$/g.exec(r);if(o)c.ignored[o[2]]="-"===o[1];else{var s;"true"!==i&&"false"!==i?_("E002",t):"jslint"===t.type?(s=f.renamed[r]||r,c.option[s]="true"===i,void 0!==f.inverted[s]&&(c.option[s]=!c.option[s])):c.option[r]="true"===i}}else{switch(i){case"3":case"5":case"6":case"2015":c.option.moz=!1,c.option.esversion=+i;break;default:_("E002",t)}xe(c.funct)||_("E055",t,"esversion")}else switch(i){case"true":c.option.strict=!0;break;case"false":c.option.strict=!1;break;case"global":case"implied":c.option.strict=i;break;default:_("E002",t)}else switch(i){case"line":c.ignoredLines[t.line]=!0,x();break;default:_("E002",t)}else switch(i){case"true":c.option.latedef=!0;break;case"false":c.option.latedef=!1;break;case"nofunc":c.option.latedef="nofunc";break;default:_("E002",t)}else switch(i){case"true":c.option.unused=!0;break;case"false":c.option.unused=!1;break;case"vars":case"strict":c.option.unused=i;break;default:_("E002",t)}else switch(i){case"true":c.option.shadow=!0;break;case"outer":c.option.shadow="outer";break;case"false":case"inner":c.option.shadow="inner";break;default:_("E002",t)}else switch(i){case"true":case"false":c.option.quotmark="true"===i;break;case"double":case"single":c.option.quotmark=i;break;default:_("E002",t)}}}),k())}else n.caseFallsThrough=!0}function A(e){var t,n=e||0,r=Je.length;if(n<r)return Je[n];for(;r<=n;){if(!(t=Ze.token()))return Je.length?Je[r-1]:c.tokens.next;Je[r]=t,r+=1}return t}function L(){var e,t=0;do{e=A(t++)}while("(endline)"===e.id);return e}function j(e,t){switch(c.tokens.curr.id){case"(number)":"."===c.tokens.next.id&&b("W005",c.tokens.curr);break;case"-":"-"!==c.tokens.next.id&&"--"!==c.tokens.next.id||b("W006");break;case"+":"+"!==c.tokens.next.id&&"++"!==c.tokens.next.id||b("W007")}for(e&&c.tokens.next.id!==e&&(t?"(end)"===c.tokens.next.id?_("E019",t,t.id):_("E020",c.tokens.next,e,t.id,t.line,c.tokens.next.value):"(identifier)"===c.tokens.next.type&&c.tokens.next.value===e||b("W116",c.tokens.next,e,c.tokens.next.value)),c.tokens.prev=c.tokens.curr,c.tokens.curr=c.tokens.next;;){if(c.tokens.next=Je.shift()||Ze.token(),c.tokens.next||y("E041",c.tokens.curr),"(end)"===c.tokens.next.id||"(error)"===c.tokens.next.id)return;if(c.tokens.next.check&&c.tokens.next.check(),c.tokens.next.isSpecial)W(c.tokens.next,c.tokens.curr);else if("(endline)"!==c.tokens.next.id)break}}function T(e){return e.first||e.right||e.left||"yield"===e.id}function O(e,t){return 0===arguments.length&&(e=c.tokens.curr,t=c.tokens.next),";"===t.id||"}"===t.id||":"===t.id||(t.infix===e.infix||"after"===e.ltBoundary||"before"===t.ltBoundary)&&e.line!==C(t)}function G(e,t){var n,i=!1,o=!1,s=!1;if(c.nameStack.push(),t||"let"!==c.tokens.next.value||"("!==A(0).value||(c.inMoz()||b("W118",c.tokens.next,"let expressions"),s=!0,c.funct["(scope)"].stack(),j("let"),j("("),c.tokens.prev.fud(),j(")")),"(end)"===c.tokens.next.id&&_("E006",c.tokens.curr),c.option.asi&&c.tokens.prev.line!==C(c.tokens.curr)&&r.contains(["]",")"],c.tokens.prev.id)&&r.contains(["[","("],c.tokens.curr.id)&&b("W014",c.tokens.curr,c.tokens.curr.id),j(),t&&(c.funct["(verb)"]=c.tokens.curr.value,c.tokens.curr.beginsStmt=!0),!0===t&&c.tokens.curr.fud)n=c.tokens.curr.fud();else for(c.tokens.curr.nud?n=c.tokens.curr.nud(e):_("E030",c.tokens.curr,c.tokens.curr.id);e<c.tokens.next.lbp&&!O();)i="Array"===c.tokens.curr.value,o="Object"===c.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!==c.tokens.curr.value&&(o=!1)),j(),i&&"("===c.tokens.curr.id&&")"===c.tokens.next.id&&b("W009",c.tokens.curr),o&&"("===c.tokens.curr.id&&")"===c.tokens.next.id&&b("W010",c.tokens.curr),n&&c.tokens.curr.led?n=c.tokens.curr.led(n):_("E033",c.tokens.curr,c.tokens.curr.id);return s&&c.funct["(scope)"].unstack(),c.nameStack.pop(),n}function C(e){return e.startLine||e.line}function M(e,t){e=e||c.tokens.curr,t=t||c.tokens.next,c.option.laxbreak||e.line===C(t)||b("W014",t,t.value)}function V(e){(e=e||c.tokens.curr).line!==C(c.tokens.next)&&b("E022",e,e.value)}function I(e,t){e.line!==C(t)&&(c.option.laxcomma||(F.first&&(b("I001"),F.first=!1),b("W014",e,t.value)))}function F(e){if(e=e||{},e.peek?I(c.tokens.prev,c.tokens.curr):(I(c.tokens.curr,c.tokens.next),j(",")),c.tokens.next.identifier&&(!e.property||!c.inES5()))switch(c.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 _("E024",c.tokens.next,c.tokens.next.value),!1}if("(punctuator)"===c.tokens.next.type)switch(c.tokens.next.value){case"}":case"]":case",":if(e.allowTrailing)return!0;case")":return _("E024",c.tokens.next,c.tokens.next.value),!1}return!0}function P(e,t){var n=c.syntax[e];return n&&"object"==typeof n||(c.syntax[e]=n={id:e,lbp:t,value:e}),n}function R(e){var t=P(e,0);return t.delim=!0,t}function U(e,t){var n=R(e);return n.identifier=n.reserved=!0,n.fud=t,n}function B(e,t){var n=U(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 D(e,t){var n=P(e,150);return N(n),n.nud="function"==typeof t?t:function(){return this.arity="unary",this.right=G(150),"++"!==this.id&&"--"!==this.id||(c.option.plusplus?b("W016",this,this.id):!this.right||this.right.identifier&&!d(this.right)||"."===this.right.id||"["===this.right.id||b("W017",this),this.right&&this.right.isMetaProperty?_("E031",this):this.right&&this.right.identifier&&c.funct["(scope)"].block.modify(this.right.value,this)),this},n}function q(e,t){var n=R(e);return n.type=e,n.nud=t,n}function z(e,t){var n=q(e,t);return n.identifier=!0,n.reserved=!0,n}function H(e,t){var n=q(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 $(e,t){return z(e,function(){return"function"==typeof t&&t(this),this})}function J(e,t,n,r){var i=P(e,n);return N(i),i.infix=!0,i.led=function(i){return r||M(c.tokens.prev,c.tokens.curr),"in"!==e&&"instanceof"!==e||"!"!==i.id||b("W018",i,"!"),"function"==typeof t?t(i,this):(this.left=i,this.right=G(n),this)},i}function Z(e,t){var r=P(e,100);return r.infix=!0,r.led=function(e){M(c.tokens.prev,c.tokens.curr),this.left=e;var r=this.right=G(100);return n(e,"NaN")||n(r,"NaN")?b("W019",this):t&&t.apply(this,[e,r]),e&&r||y("E041",c.tokens.curr),"!"===e.id&&b("W018",e,"!"),"!"===r.id&&b("W018",r,"!"),this},r}function X(e,t,n){var i;return!n.option.notypeof&&(!(!e||!t)&&(i=n.inES6()?ot.es6:ot.es3,"(identifier)"===t.type&&"typeof"===t.value&&"(string)"===e.type&&!r.contains(i,e.value)))}function K(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 Y(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&&c.funct["(scope)"].isPredefined(e.value))return e.value}(r)}function Q(e,t,n){var r=n&&n.allowDestructuring;if(t=t||e,c.option.freeze){var i=Y(e);i&&b("W121",e,i)}return Re(e,"...")&&(e=e.right),e.identifier&&!e.isMetaProperty&&c.funct["(scope)"].block.reassign(e.value,e),"."===e.id?(e.left&&("arguments"!==e.left.value||c.isStrict())||b("E031",t),c.nameStack.set(c.tokens.prev),!0):"{"===e.id||"["===e.id?(r&&e.destructAssign||("{"!==e.id&&e.left?"arguments"!==e.left.value||c.isStrict()||b("E031",t):b("E031",t)),"["===e.id&&c.nameStack.set(e.right),!0):!e.identifier||d(e)||e.isMetaProperty?(e===c.syntax.function?b("W023",c.tokens.curr):_("E031",t),!1):("exception"===c.funct["(scope)"].labeltype(e.value)&&b("W022",e),c.nameStack.set(e),!0)}function ee(e,t,n){var r=J(e,"function"==typeof t?t:function(e,t){return t.left=e,Q(e,t,{allowDestructuring:!0}),t.right=G(10),t},n);return r.exps=!0,r.assign=!0,r}function te(e,t,n){var r=P(e,n);return N(r),r.infix=!0,r.led="function"==typeof t?t:function(e){return c.option.bitwise&&b("W016",this,this.id),this.left=e,this.right=G(n),this},r}function ne(e){return ee(e,function(e,t){return c.option.bitwise&&b("W016",t,t.id),Q(e,t),t.right=G(10),t},20)}function re(e){var t=P(e,150);return t.led=function(e){return c.option.plusplus?b("W016",this,this.id):e.identifier&&!d(e)||"."===e.id||"["===e.id||b("W017",this),e.isMetaProperty?_("E031",this):e&&e.identifier&&c.funct["(scope)"].block.modify(e.value,e),this.left=e,this},t}function ie(e,t,n){if(c.tokens.next.identifier){n||j();var r=c.tokens.curr,i=c.tokens.curr.value;return d(r)?t&&c.inES5()?i:e&&"undefined"===i?i:(b("W024",c.tokens.curr,c.tokens.curr.id),i):i}}function oe(e,t){var n=ie(e,t,!1);if(n)return n;if("..."===c.tokens.next.value){if(c.inES6(!0)||b("W119",c.tokens.next,"spread/rest operator","6"),j(),Re(c.tokens.next,"..."))for(b("E024",c.tokens.next,"...");Re(c.tokens.next,"...");)j();return c.tokens.next.identifier?oe(e,t):void b("E024",c.tokens.curr,c.tokens.next.id)}_("E030",c.tokens.next,c.tokens.next.value),";"!==c.tokens.next.id&&j()}function se(e){var t,n=0;if(";"===c.tokens.next.id&&!e.inBracelessBlock)for(;;){do{t=A(n),n+=1}while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if("function"===t.id){!0===c.option.latedef&&b("W026",t);break}b("W027",t,t.value,e.value);break}}}function ae(e){if(";"!==c.tokens.next.id){if(c.tokens.next.isUnclosed)return j();var t=C(c.tokens.next)===c.tokens.curr.line&&"(end)"!==c.tokens.next.id,n=Re(c.tokens.next,"}");!t||n||"do"===e.id&&c.inES6(!0)?c.option.asi||n&&t&&c.option.lastsemic||E("W033",c.tokens.curr.line,c.tokens.curr.character):w("E058",c.tokens.curr.line,c.tokens.curr.character)}else j(";")}function ue(){var e,t=$e,n=c.tokens.next,r=!1;{if(";"!==n.id){var i=d(n);return i&&n.meta&&n.meta.isFutureReservedWord&&":"===A().id&&(b("W024",n,n.id),i=!1),n.identifier&&!i&&":"===A().id&&(j(),j(":"),r=!0,c.funct["(scope)"].stack(),c.funct["(scope)"].block.addBreakLabel(n.value,{token:c.tokens.curr}),c.tokens.next.labelled||"{"===c.tokens.next.value||b("W028",c.tokens.next,n.value,c.tokens.next.value),c.tokens.next.label=n.value,n=c.tokens.next),"{"===n.id?(fe(!0,!0,!1,!1,"case"===c.funct["(verb)"]&&":"===c.tokens.curr.value),void(r&&c.funct["(scope)"].unstack())):(!(e=G(0,!0))||e.identifier&&"function"===e.value||"(punctuator)"===e.type&&e.left&&e.left.identifier&&"function"===e.left.value||!c.isStrict()&&c.stmtMissingStrict()&&b("E007"),n.block||(c.option.expr||e&&e.exps?c.option.nonew&&e&&e.left&&"("===e.id&&"new"===e.left.id&&b("W031",n):b("W030",c.tokens.curr),ae(n)),$e=t,r&&c.funct["(scope)"].unstack(),e)}j(";")}}function ce(){for(var e,t=[];!c.tokens.next.reach&&"(end)"!==c.tokens.next.id;)";"===c.tokens.next.id?((!(e=A())||"("!==e.id&&"["!==e.id)&&b("W032"),j(";")):t.push(ue());return t}function le(){for(var e=c.tokens.next;"(string)"===c.tokens.next.id;){var t=L();if(!O(e,t))break;e=t,j();var n=c.tokens.curr.value;(c.directive[n]||"use strict"===n&&"implied"===c.option.strict)&&b("W034",c.tokens.curr,n),c.directive[n]=!0,ae(e)}c.isStrict()&&(c.option.undef=!0)}function fe(e,t,n,i,o){var s,a,u,l,f=He,p=$e;He=e,u=c.tokens.next;var h=c.funct["(metrics)"];if(h.nestedBlockDepth+=1,h.verifyMaxNestedBlockDepthPerFunction(),"{"===c.tokens.next.id){if(j("{"),c.funct["(scope)"].stack(),c.funct["(noblockscopedvar)"]=!1,c.tokens.curr.line,"}"!==c.tokens.next.id){for($e+=c.option.indent;!e&&c.tokens.next.from>$e;)$e+=c.option.indent;if(n){a={};for(l in c.directive)r.has(c.directive,l)&&(a[l]=c.directive[l]);le(),c.option.strict&&c.funct["(context)"]["(global)"]&&(a["use strict"]||c.isStrict()||b("E007"))}s=ce(),h.statementCount+=s.length,$e-=c.option.indent}j("}",u),n&&(c.funct["(scope)"].validateParams(),a&&(c.directive=a)),c.funct["(scope)"].unstack(),$e=p}else if(e)c.funct["(noblockscopedvar)"]="for"!==c.tokens.next.id,c.funct["(scope)"].stack(),t&&!c.option.curly||b("W116",c.tokens.next,"{",c.tokens.next.value),c.tokens.next.inBracelessBlock=!0,$e+=c.option.indent,s=[ue()],$e-=c.option.indent,c.funct["(scope)"].unstack(),delete c.funct["(noblockscopedvar)"];else if(n){if(c.funct["(scope)"].stack(),a={},!t||i||c.inMoz()||_("W118",c.tokens.curr,"function closure expressions"),!t)for(l in c.directive)r.has(c.directive,l)&&(a[l]=c.directive[l]);G(10),c.option.strict&&c.funct["(context)"]["(global)"]&&(a["use strict"]||c.isStrict()||b("E007")),c.funct["(scope)"].unstack()}else _("E021",c.tokens.next,"{",c.tokens.next.value);switch(c.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(o)break;default:c.funct["(verb)"]=null}return He=f,!e||!c.option.noempty||s&&0!==s.length||b("W035",c.tokens.prev),h.nestedBlockDepth-=1,s}function pe(e){Ke&&"boolean"!=typeof Ke[e]&&b("W036",c.tokens.curr,e),"number"==typeof Xe[e]?Xe[e]+=1:Xe[e]=1}function he(){var e={};e.exps=!0,c.funct["(comparray)"].stack();var t=!1;return"for"!==c.tokens.next.value&&(t=!0,c.inMoz()||b("W116",c.tokens.next,"for",c.tokens.next.value),c.funct["(comparray)"].setState("use"),e.right=G(10)),j("for"),"each"===c.tokens.next.value&&(j("each"),c.inMoz()||b("W118",c.tokens.curr,"for each")),j("("),c.funct["(comparray)"].setState("define"),e.left=G(130),r.contains(["in","of"],c.tokens.next.value)?j():_("E045",c.tokens.curr),c.funct["(comparray)"].setState("generate"),G(10),j(")"),"if"===c.tokens.next.value&&(j("if"),j("("),c.funct["(comparray)"].setState("filter"),e.filter=G(10),j(")")),t||(c.funct["(comparray)"].setState("use"),e.right=G(10)),j("]"),c.funct["(comparray)"].unstack(),e}function de(){return c.funct["(statement)"]&&"class"===c.funct["(statement)"].type||c.funct["(context)"]&&"class"===c.funct["(context)"]["(verb)"]}function ve(e){return e.identifier||"(string)"===e.id||"(number)"===e.id}function ge(e){var t,n=!0;return t="object"==typeof e?e:ie(!1,!0,n=e),t?"object"==typeof t&&("(string)"===t.id||"(identifier)"===t.id?t=t.value:"(number)"===t.id&&(t=t.value.toString())):"(string)"===c.tokens.next.id?(t=c.tokens.next.value,n||j()):"(number)"===c.tokens.next.id&&(t=c.tokens.next.value.toString(),n||j()),"hasOwnProperty"===t&&b("W001"),t}function me(e){var t,n,i,o=[],s=[],a=!1,u=!1,l=0,f=e&&e.loneArg;if(f&&!0===f.identifier)return c.funct["(scope)"].addParam(f.value,f),{arity:1,params:[f.value]};if(t=c.tokens.next,e&&e.parsedOpening||j("("),")"!==c.tokens.next.id)for(;;){l++;var p=[];if(r.contains(["{","["],c.tokens.next.id)){s=Le();for(i in s)(i=s[i]).id&&(o.push(i.id),p.push([i.id,i.token]))}else if(Re(c.tokens.next,"...")&&(u=!0),n=oe(!0))o.push(n),p.push([n,c.tokens.curr]);else for(;!Pe(c.tokens.next,[",",")"]);)j();if(a&&"="!==c.tokens.next.id&&_("W138",c.tokens.current),"="===c.tokens.next.id&&(c.inES6()||b("W119",c.tokens.next,"default parameters","6"),j("="),a=!0,G(10)),p.forEach(function(e){c.funct["(scope)"].addParam.apply(c.funct["(scope)"],e)}),","!==c.tokens.next.id)return j(")",t),{arity:l,params:o};u&&b("W131",c.tokens.next),F()}else j(")")}function ke(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)":_e(t)}),r.extend(i,n),i["(context)"]&&(i["(scope)"]=i["(context)"]["(scope)"],i["(comparray)"]=i["(context)"]["(comparray)"]),i}function ye(e){return"(scope)"in e}function xe(e){return e["(global)"]&&!e["(verb)"]}function be(e){var t=this.context,n=this.noSubst,r=this.depth,i="number"==typeof e?null:e;if(!n)for(;!function(){if(c.tokens.curr.template&&c.tokens.curr.tail&&c.tokens.curr.context===t)return!0;var e=c.tokens.next.template&&c.tokens.next.tail&&c.tokens.next.context===t;return e&&j(),e||c.tokens.next.isUnclosed}();)!c.tokens.next.template||c.tokens.next.depth>r?G(0):j();return{id:"(template)",type:"(template)",tag:i}}function Ee(e){var t,n,r,i,o,s,a,u,l=c.option,f=c.ignored;e&&(r=e.name,i=e.statement,o=e.classExprBinding,s="generator"===e.type,a="arrow"===e.type,u=e.ignoreLoopFunc),c.option=Object.create(c.option),c.ignored=Object.create(c.ignored),c.funct=ke(r||c.nameStack.infer(),c.tokens.next,{"(statement)":i,"(context)":c.funct,"(arrow)":a,"(generator)":s}),t=c.funct,(n=c.tokens.curr).funct=c.funct,ze.push(c.funct),c.funct["(scope)"].stack("functionouter");var p=r||o;p&&c.funct["(scope)"].block.add(p,o?"class":"function",c.tokens.curr,!1),c.funct["(scope)"].stack("functionparams");var h=me(e);return h?(c.funct["(params)"]=h.params,c.funct["(metrics)"].arity=h.arity,c.funct["(metrics)"].verifyMaxParametersPerFunction()):c.funct["(metrics)"].arity=0,a&&(c.inES6(!0)||b("W119",c.tokens.curr,"arrow function syntax (=>)","6"),e.loneArg||j("=>")),fe(!1,!0,!0,a),!c.option.noyield&&s&&"yielded"!==c.funct["(generator)"]&&b("W124",c.tokens.curr),c.funct["(metrics)"].verifyMaxStatementsPerFunction(),c.funct["(metrics)"].verifyMaxComplexityPerFunction(),c.funct["(unusedOption)"]=c.option.unused,c.option=l,c.ignored=f,c.funct["(last)"]=c.tokens.curr.line,c.funct["(lastcharacter)"]=c.tokens.curr.character,c.funct["(scope)"].unstack(),c.funct["(scope)"].unstack(),c.funct=c.funct["(context)"],u||c.option.loopfunc||!c.funct["(loopage)"]||t["(isCapturing)"]&&b("W083",n),t}function _e(e){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){c.option.maxstatements&&this.statementCount>c.option.maxstatements&&b("W071",e,this.statementCount)},verifyMaxParametersPerFunction:function(){r.isNumber(c.option.maxparams)&&this.arity>c.option.maxparams&&b("W072",e,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){c.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===c.option.maxdepth+1&&b("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var t=c.option.maxcomplexity,n=this.ComplexityCount;t&&n>t&&b("W074",e,n)}}}function we(){c.funct["(metrics)"].ComplexityCount+=1}function Se(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||c.option.boss||b("W084")}}function We(e){if(c.inES5())for(var t in e)e[t]&&e[t].setterToken&&!e[t].getterToken&&b("W078",e[t].setterToken)}function Ae(e,t){if(Re(c.tokens.next,".")){var n=c.tokens.curr.id;j(".");var r=oe();return c.tokens.curr.isMetaProperty=!0,e!==r?_("E057",c.tokens.prev,n,r):t(),c.tokens.curr}}function Le(e){var t=e&&e.assignment;return c.inES6()||b("W104",c.tokens.curr,t?"destructuring assignment":"destructuring binding","6"),je(e)}function je(e){var t,n,r,i=[],o=e&&e.openingParsed,s=e&&e.assignment,a=s?{assignment:s}:null,u=o?c.tokens.curr:c.tokens.next,l=function(){var e;if(Pe(c.tokens.next,["[","{"])){t=je(a);for(var n in t)n=t[n],i.push({id:n.id,token:n.token})}else if(Re(c.tokens.next,","))i.push({id:null,token:c.tokens.curr});else{if(!Re(c.tokens.next,"(")){var r=Re(c.tokens.next,"...");if(s){var o=G(20);o&&(Q(o),o.identifier&&(e=o.value))}else e=oe();return e&&i.push({id:e,token:c.tokens.curr}),r}j("("),l(),j(")")}return!1};if(Re(u,"[")){o||j("["),Re(c.tokens.next,"]")&&b("W137",c.tokens.curr);for(var f=!1;!Re(c.tokens.next,"]");)l()&&!f&&Re(c.tokens.next,",")&&(b("W130",c.tokens.next),f=!0),Re(c.tokens.next,"=")&&(j(Re(c.tokens.prev,"...")?"]":"="),n=c.tokens.prev,(r=G(10))&&"undefined"===r.type&&b("W080",n,n.value)),Re(c.tokens.next,"]")||j(",");j("]")}else if(Re(u,"{")){for(o||j("{"),Re(c.tokens.next,"}")&&b("W137",c.tokens.curr);!Re(c.tokens.next,"}")&&(function(){var e;Re(c.tokens.next,"[")?(j("["),G(10),j("]"),j(":"),l()):"(string)"===c.tokens.next.id||"(number)"===c.tokens.next.id?(j(),j(":"),l()):(e=oe(),Re(c.tokens.next,":")?(j(":"),l()):e&&(s&&Q(c.tokens.curr),i.push({id:e,token:c.tokens.curr})))}(),Re(c.tokens.next,"=")&&(j("="),n=c.tokens.prev,(r=G(10))&&"undefined"===r.type&&b("W080",n,n.value)),Re(c.tokens.next,"}")||(j(","),!Re(c.tokens.next,"}"))););j("}")}return i}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&&b("W080",t.first,t.first.value)})}function Oe(e,t,n){var i,o,s,a,u=n&&n.prefix,l=n&&n.inexport,f="let"===e,p="const"===e;for(c.inES6()||b("W104",c.tokens.curr,e,"6"),f&&"("===c.tokens.next.value?(c.inMoz()||b("W118",c.tokens.next,"let block"),j("("),c.funct["(scope)"].stack(),a=!0):c.funct["(noblockscopedvar)"]&&_("E048",c.tokens.curr,p?"Const":"Let"),t.first=[];;){var h=[];r.contains(["{","["],c.tokens.next.value)?(i=Le(),o=!1):(i=[{id:oe(),token:c.tokens.curr}],o=!0),!u&&p&&"="!==c.tokens.next.id&&b("E012",c.tokens.curr,c.tokens.curr.value);for(var d in i)i.hasOwnProperty(d)&&(d=i[d],c.funct["(scope)"].block.isGlobal()&&!1===Ye[d.id]&&b("W079",d.token,d.id),d.id&&!c.funct["(noblockscopedvar)"]&&(c.funct["(scope)"].addlabel(d.id,{type:e,token:d.token}),h.push(d.token)));if("="===c.tokens.next.id){j("="),!u&&"="===A(0).id&&c.tokens.next.identifier&&b("W120",c.tokens.next,c.tokens.next.value);var v=c.tokens.prev;s=G(u?120:10),!u&&s&&"undefined"===s.type&&b("W080",v,v.value),o?i[0].first=s:Te(h,s)}if(!u)for(d in i)i.hasOwnProperty(d)&&(d=i[d],c.funct["(scope)"].initialize(d.id),o&&l&&c.funct["(scope)"].setExported(d.token.value,d.token));if(t.first=t.first.concat(h),","!==c.tokens.next.id)break;F()}return a&&(j(")"),fe(!0,!0),t.block=!0,c.funct["(scope)"].unstack()),t}function Ge(e,t){return c.inES6()||b("W104",c.tokens.curr,"class","6"),t?(this.name=oe(),c.funct["(scope)"].addlabel(this.name,{type:"class",token:c.tokens.curr})):c.tokens.next.identifier&&"extends"!==c.tokens.next.value?(this.name=oe(),this.namedExpr=!0):this.name=c.nameStack.infer(),Ce(this),t&&c.funct["(scope)"].initialize(this.name),this}function Ce(e){var t=c.inClassBody;"extends"===c.tokens.next.value&&(j("extends"),e.heritage=G(10)),c.inClassBody=!0,j("{"),e.body=Me(e),j("}"),c.inClassBody=t}function Me(e){for(var t,n,r,i,o,s=Object.create(null),a=Object.create(null),u=0;"}"!==c.tokens.next.id;++u)if(t=c.tokens.next,n=!1,r=!1,i=null,";"!==t.id){if("*"===t.id&&(r=!0,j("*"),t=c.tokens.next),"["===t.id)t=Fe(),o=!0;else{if(!ve(t)){b("W052",c.tokens.next,c.tokens.next.value||c.tokens.next.type),j();continue}j(),o=!1,t.identifier&&"static"===t.value&&(Re(c.tokens.next,"*")&&(r=!0,j("*")),(ve(c.tokens.next)||"["===c.tokens.next.id)&&(o="["===c.tokens.next.id,n=!0,t=c.tokens.next,"["===c.tokens.next.id?t=Fe():j())),!t.identifier||"get"!==t.value&&"set"!==t.value||(ve(c.tokens.next)||"["===c.tokens.next.id)&&(o="["===c.tokens.next.id,i=t,t=c.tokens.next,"["===c.tokens.next.id?t=Fe():j())}if(!Re(c.tokens.next,"(")){for(_("E054",c.tokens.next,c.tokens.next.value);"}"!==c.tokens.next.id&&!Re(c.tokens.next,"(");)j();"("!==c.tokens.next.value&&Ee({statement:e})}o||(i?Ie(i.value,n?a:s,t.value,t,!0,n):("constructor"===t.value?c.nameStack.set(e):c.nameStack.set(t),Ve(n?a:s,t.value,t,!0,n))),i&&"constructor"===t.value?_("E049",t,"get"===i.value?"class getter method":"class setter method","constructor"):"prototype"===t.value&&_("E049",t,"class method","prototype"),ge(t),Ee({statement:e,type:r?"generator":null,classExprBinding:e.namedExpr?e.name:null})}else b("W032"),j(";");We(s)}function Ve(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?b("W075",c.tokens.next,o,t):e[t]=Object.create(null),e[t].basic=!0,e[t].basictkn=n}function Ie(e,t,n,r,i,o){var s="get"===e?"getterToken":"setterToken",a="";i?(o&&(a+="static "),a+=e+"ter method"):a="key",c.tokens.curr.accessorType=e,c.nameStack.set(r),t[n]?(t[n].basic||t[n][s])&&"__proto__"!==n&&b("W075",c.tokens.next,a,n):t[n]=Object.create(null),t[n][s]=r}function Fe(){j("["),c.inES6()||b("W119",c.tokens.curr,"computed property names","6");var e=G(10);return j("]"),e}function Pe(e,t){return"(punctuator)"===e.type&&r.contains(t,e.value)}function Re(e,t){return"(punctuator)"===e.type&&e.value===t}function Ue(){var e=ut();e.notJson?(!c.inES6()&&e.isDestAssign&&b("W104",c.tokens.curr,"destructuring assignment","6"),ce()):(c.option.laxbreak=!0,c.jsonMode=!0,Be())}function Be(){switch(c.tokens.next.id){case"{":!function(){var e={},t=c.tokens.next;if(j("{"),"}"!==c.tokens.next.id)for(;;){if("(end)"===c.tokens.next.id)_("E026",c.tokens.next,t.line);else{if("}"===c.tokens.next.id){b("W094",c.tokens.curr);break}","===c.tokens.next.id?_("E028",c.tokens.next):"(string)"!==c.tokens.next.id&&b("W095",c.tokens.next,c.tokens.next.value)}if(!0===e[c.tokens.next.value]?b("W075",c.tokens.next,"key",c.tokens.next.value):"__proto__"===c.tokens.next.value&&!c.option.proto||"__iterator__"===c.tokens.next.value&&!c.option.iterator?b("W096",c.tokens.next,c.tokens.next.value):e[c.tokens.next.value]=!0,j(),j(":"),Be(),","!==c.tokens.next.id)break;j(",")}j("}")}();break;case"[":!function(){var e=c.tokens.next;if(j("["),"]"!==c.tokens.next.id)for(;;){if("(end)"===c.tokens.next.id)_("E027",c.tokens.next,e.line);else{if("]"===c.tokens.next.id){b("W094",c.tokens.curr);break}","===c.tokens.next.id&&_("E028",c.tokens.next)}if(Be(),","!==c.tokens.next.id)break;j(",")}j("]")}();break;case"true":case"false":case"null":case"(number)":case"(string)":j();break;case"-":j("-"),j("(number)");break;default:_("E003",c.tokens.next)}}function Ne(e,t,n){var r,i,o,s;for(i=0;i<e.length;i+=1)for(s=e[i],t.scope=s.elem,r=h.errors.length,ft(s.code,t,n),o=r;o<h.errors.length;o+=1)h.errors[o].line+=s.token.line-1}var De,qe,ze,He,$e,Je,Ze,Xe,Ke,Ye,Qe,et,tt={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},nt=["closure","exception","global","label","outer","unused","var"],rt=[],it=new i.EventEmitter,ot={};ot.legacy=["xml","unknown"],ot.es3=["undefined","boolean","number","string","function","object"],ot.es3=ot.es3.concat(ot.legacy),ot.es6=ot.es3.concat("symbol"),q("(number)",function(){return this}),q("(string)",function(){return this}),c.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var e=this.value;return"=>"===c.tokens.next.id?this:(c.funct["(comparray)"].check(e)||c.funct["(scope)"].block.use(e,c.tokens.curr),this)},led:function(){_("E033",c.tokens.next,c.tokens.next.value)}};var st={identifier:!1,template:!0};c.syntax["(template)"]=r.extend({lbp:155,type:"(template)",nud:be,led:be,noSubst:!1},st),c.syntax["(template middle)"]=r.extend({lbp:0,type:"(template middle)",middle:!0,noSubst:!1},st),c.syntax["(template tail)"]=r.extend({lbp:0,type:"(template tail)",tail:!0,noSubst:!1},st),c.syntax["(no subst template)"]=r.extend({lbp:155,type:"(template)",nud:be,led:be,noSubst:!0,tail:!0},st),q("(regexp)",function(){return this}),R("(endline)"),function(e){e.line=e.from=0}(R("(begin)")),R("(end)").reach=!0,R("(error)").reach=!0,R("}").reach=!0,R(")"),R("]"),R('"').reach=!0,R("'").reach=!0,R(";"),R(":").reach=!0,R("#"),z("else"),z("case").reach=!0,z("catch"),z("default").reach=!0,z("finally"),$("arguments",function(e){c.isStrict()&&c.funct["(global)"]&&b("E008",e)}),$("eval"),$("false"),$("Infinity"),$("null"),$("this",function(e){c.isStrict()&&!de()&&!c.option.validthis&&(c.funct["(statement)"]&&c.funct["(name)"].charAt(0)>"Z"||c.funct["(global)"])&&b("W040",e)}),$("true"),$("undefined"),ee("=","assign",20),ee("+=","assignadd",20),ee("-=","assignsub",20),ee("*=","assignmult",20),ee("/=","assigndiv",20).nud=function(){_("E014")},ee("%=","assignmod",20),ne("&="),ne("|="),ne("^="),ne("<<="),ne(">>="),ne(">>>="),J(",",function(e,t){var n;if(t.exprs=[e],c.option.nocomma&&b("W127"),!F({peek:!0}))return t;for(;;){if(!(n=G(10)))break;if(t.exprs.push(n),","!==c.tokens.next.value||!F())break}return t},10,!0),J("?",function(e,t){return we(),t.left=e,t.right=G(10),j(":"),t.else=G(10),t},30);J("||",function(e,t){return we(),t.left=e,t.right=G(40),t},40),J("&&","and",50),te("|","bitor",70),te("^","bitxor",80),te("&","bitand",90),Z("==",function(e,t){switch(!0){case!(c.option.eqnull&&("null"===(e&&e.value)||"null"===(t&&t.value)))&&c.option.eqeqeq:this.from=this.character,b("W116",this,"===","==");break;case X(t,e,c):b("W122",this,t.value);break;case X(e,t,c):b("W122",this,e.value)}return this}),Z("===",function(e,t){return X(t,e,c)?b("W122",this,t.value):X(e,t,c)&&b("W122",this,e.value),this}),Z("!=",function(e,t){return!(c.option.eqnull&&("null"===(e&&e.value)||"null"===(t&&t.value)))&&c.option.eqeqeq?(this.from=this.character,b("W116",this,"!==","!=")):X(t,e,c)?b("W122",this,t.value):X(e,t,c)&&b("W122",this,e.value),this}),Z("!==",function(e,t){return X(t,e,c)?b("W122",this,t.value):X(e,t,c)&&b("W122",this,e.value),this}),Z("<"),Z(">"),Z("<="),Z(">="),te("<<","shiftleft",120),te(">>","shiftright",120),te(">>>","shiftrightunsigned",120),J("in","in",120),J("instanceof",function(e,t){var n,r=c.funct["(scope)"];return t.left=e,t.right=n=G(120),n?(("(number)"===n.id||"(string)"===n.id||"null"===n.value||"undefined"===n.value&&!r.has("undefined")||"unary"===n.arity||"{"===n.id||"["===n.id&&!n.right||"(regexp)"===n.id||"(template)"===n.id&&!n.tag)&&_("E060"),"function"===n.id&&b("W139"),t):t},120),J("+",function(e,t){var n;return t.left=e,t.right=n=G(130),e&&n&&"(string)"===e.id&&"(string)"===n.id?(e.value+=n.value,e.character=n.character,!c.option.scripturl&&u.javascriptURL.test(e.value)&&b("W050",e),e):t},130),D("+","num"),D("+++",function(){return b("W007"),this.arity="unary",this.right=G(150),this}),J("+++",function(e){return b("W007"),this.left=e,this.right=G(130),this},130),J("-","sub",130),D("-","neg"),D("---",function(){return b("W006"),this.arity="unary",this.right=G(150),this}),J("---",function(e){return b("W006"),this.left=e,this.right=G(130),this},130),J("*","mult",140),J("/","div",140),J("%","mod",140),re("++"),D("++","preinc"),c.syntax["++"].exps=!0,c.syntax["++"].ltBoundary="before",re("--"),D("--","predec"),c.syntax["--"].exps=!0,c.syntax["--"].ltBoundary="before",D("delete",function(){var e=G(10);return e?("."!==e.id&&"["!==e.id&&b("W051"),this.first=e,e.identifier&&!c.isStrict()&&(e.forgiveUndef=!0),this):this}).exps=!0,D("~",function(){return c.option.bitwise&&b("W016",this,"~"),this.arity="unary",this.right=G(150),this}),D("...",function(){return c.inES6(!0)||b("W119",this,"spread/rest operator","6"),c.tokens.next.identifier||"(string)"===c.tokens.next.type||Pe(c.tokens.next,["[","("])||_("E030",c.tokens.next,c.tokens.next.value),this.right=G(150),this}),D("!",function(){return this.arity="unary",this.right=G(150),this.right||y("E041",this),!0===tt[this.right.id]&&b("W018",this,"!"),this}),D("typeof",function(){var e=G(150);return this.first=this.right=e,e||y("E041",this),e.identifier&&(e.forgiveUndef=!0),this}),D("new",function(){var e=Ae("target",function(){c.inES6(!0)||b("W119",c.tokens.prev,"new.target","6");for(var e,t=c.funct;t&&(e=!t["(global)"],t["(arrow)"]);)t=t["(context)"];e||b("W136",c.tokens.prev,"new.target")});if(e)return e;var t,n=G(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":b("W053",c.tokens.prev,n.value);break;case"Symbol":c.inES6()&&b("W053",c.tokens.prev,n.value);break;case"Function":c.option.evil||b("W054");break;case"Date":case"RegExp":case"this":break;default:"function"!==n.id&&(t=n.value.substr(0,1),c.option.newcap&&(t<"A"||t>"Z")&&!c.funct["(scope)"].isPredefined(n.value)&&b("W055",c.tokens.curr))}else"."!==n.id&&"["!==n.id&&"("!==n.id&&b("W056",c.tokens.curr);else c.option.supernew||b("W057",this);return"("===c.tokens.next.id||c.option.supernew||b("W058",c.tokens.curr,c.tokens.curr.value),this.first=this.right=n,this}),c.syntax.new.exps=!0,D("void").exps=!0,J(".",function(e,t){var n=oe(!1,!0);return"string"==typeof n&&pe(n),t.left=e,t.right=n,n&&"hasOwnProperty"===n&&"="===c.tokens.next.value&&b("W001"),!e||"arguments"!==e.value||"callee"!==n&&"caller"!==n?c.option.evil||!e||"document"!==e.value||"write"!==n&&"writeln"!==n||b("W060",e):c.option.noarg?b("W059",e,n):c.isStrict()&&_("E008"),c.option.evil||"eval"!==n&&"execScript"!==n||K(e,c)&&b("W061"),t},160,!0),J("(",function(e,t){c.option.immed&&e&&!e.immed&&"function"===e.id&&b("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?b("W063",e):c.option.newcap&&b("W064",e)),")"!==c.tokens.next.id)for(;r[r.length]=G(10),n+=1,","===c.tokens.next.id;)F();return j(")"),"object"==typeof e&&(c.inES5()||"parseInt"!==e.value||1!==n||b("W065",c.tokens.curr),c.option.evil||("eval"===e.value||"Function"===e.value||"execScript"===e.value?b("W061",e):!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||(b("W066",e),S(e,r[0])):(b("W066",e),S(e,r[0]))),e.identifier||"."===e.id||"["===e.id||"=>"===e.id||"("===e.id||"&&"===e.id||"||"===e.id||"?"===e.id||c.inES6()&&e["(name)"]||b("W067",t)),t.left=e,t},155,!0).exps=!0,D("(",function(e){var t,n,r,i,o,s=c.tokens.next,a=-1,u=1,l=c.tokens.curr,f=c.tokens.prev,p=!c.option.singleGroups;do{"("===s.value?u+=1:")"===s.value&&(u-=1),t=s,s=A(a+=1)}while((0!==u||")"!==t.value)&&"(end)"!==s.type);if("function"===c.tokens.next.id&&(r=c.tokens.next.immed=!0),"=>"===s.value)return Ee({type:"arrow",parsedOpening:!0});var h=[];if(")"!==c.tokens.next.id)for(;h.push(G(10)),","===c.tokens.next.id;)c.option.nocomma&&b("W127"),F();return j(")",this),c.option.immed&&h[0]&&"function"===h[0].id&&"("!==c.tokens.next.id&&"."!==c.tokens.next.id&&"["!==c.tokens.next.id&&b("W068",this),h.length?(h.length>1?((n=Object.create(c.syntax[","])).exprs=h,i=h[0],o=h[h.length-1]):(n=i=o=h[0],p||(p=l.beginsStmt&&("{"===n.id||r||ye(n))||r&&(!O()||"}"!==c.tokens.prev.id)||ye(n)&&!O()||"{"===n.id&&"=>"===f.id||"(number)"===n.type&&Re(s,".")&&/^\d+$/.test(n.value)||l.beginsStmt&&"="===n.id&&"{"===n.left.id)),n&&(p||!T(i)&&!n.exprs||(p=e>i.lbp||e>0&&e===i.lbp||!O()&&o.lbp<c.tokens.next.lbp),p||b("W126",l),n.paren=!0),n):void 0}),function(e){var t=P(e,42);t.infix=!0,t.led=function(e){return M(c.tokens.prev,c.tokens.curr),this.left=e,this.right=Ee({type:"arrow",loneArg:e}),this}}("=>"),J("[",function(e,t){var n,r=G(10);return r&&"(string)"===r.type&&(c.option.evil||"eval"!==r.value&&"execScript"!==r.value||K(e,c)&&b("W061"),pe(r.value),!c.option.sub&&u.identifier.test(r.value)&&((n=c.syntax[r.value])&&d(n)||b("W069",c.tokens.prev,r.value))),j("]",t),r&&"hasOwnProperty"===r.value&&"="===c.tokens.next.value&&b("W001"),t.left=e,t.right=r,t},160,!0),D("[",function(){var e=ut();if(e.isCompArray)return c.option.esnext||c.inMoz()||b("W118",c.tokens.curr,"array comprehension"),he();if(e.isDestAssign)return this.destructAssign=Le({openingParsed:!0,assignment:!0}),this;var t=c.tokens.curr.line!==C(c.tokens.next);for(this.first=[],t&&($e+=c.option.indent,c.tokens.next.from===$e+c.option.indent&&($e+=c.option.indent));"(end)"!==c.tokens.next.id;){for(;","===c.tokens.next.id;){if(!c.option.elision){if(c.inES5()){b("W128");do{j(",")}while(","===c.tokens.next.id);continue}b("W070")}j(",")}if("]"===c.tokens.next.id)break;if(this.first.push(G(10)),","!==c.tokens.next.id){c.option.trailingcomma&&c.inES5()&&E("W140",c.tokens.curr.line,c.tokens.curr.character);break}if(F({allowTrailing:!0}),"]"===c.tokens.next.id&&!c.inES5()){b("W070",c.tokens.curr);break}}return t&&($e-=c.option.indent),j("]",this),this}),function(e){e.nud=function(){var e,t,n,r,i,o,s=!1,a=Object.create(null);if((e=c.tokens.curr.line!==C(c.tokens.next))&&($e+=c.option.indent,c.tokens.next.from===$e+c.option.indent&&($e+=c.option.indent)),ut().isDestAssign)return this.destructAssign=Le({openingParsed:!0,assignment:!0}),this;for(;"}"!==c.tokens.next.id;){if(o=c.tokens.next.value,!c.tokens.next.identifier||","!==L().id&&"}"!==L().id)if(":"===A().id||"get"!==o&&"set"!==o){if("*"===c.tokens.next.value&&"(punctuator)"===c.tokens.next.type?(c.inES6()||b("W104",c.tokens.next,"generator functions","6"),j("*"),s=!0):s=!1,"["===c.tokens.next.id)n=Fe(),c.nameStack.set(n);else if(c.nameStack.set(c.tokens.next),n=ge(),Ve(a,n,c.tokens.next),"string"!=typeof n)break;"("===c.tokens.next.value?(c.inES6()||b("W104",c.tokens.curr,"concise methods","6"),Ee({type:s?"generator":null})):(j(":"),G(10))}else j(o),c.inES5()||_("E034"),(n=ge())||c.inES6()||_("E035"),n&&Ie(o,a,n,c.tokens.curr),i=c.tokens.next,r=(t=Ee())["(params)"],"get"===o&&n&&r?b("W076",i,r[0],n):"set"===o&&n&&1!==t["(metrics)"].arity&&b("W077",i,n);else c.inES6()||b("W104",c.tokens.next,"object short notation","6"),Ve(a,n=ge(!0),c.tokens.next),G(10);if(pe(n),","!==c.tokens.next.id){c.option.trailingcomma&&c.inES5()&&E("W140",c.tokens.curr.line,c.tokens.curr.character);break}F({allowTrailing:!0,property:!0}),","===c.tokens.next.id?b("W070",c.tokens.curr):"}"!==c.tokens.next.id||c.inES5()||b("W070",c.tokens.curr)}return e&&($e-=c.option.indent),j("}",this),We(a),this},e.fud=function(){_("E036",c.tokens.curr)}}(R("{")),U("const",function(e){return Oe("const",this,e)}).exps=!0,U("let",function(e){return Oe("let",this,e)}).exps=!0,U("var",function(e){var t,n,i,s=e&&e.prefix,a=e&&e.inexport;for(this.first=[];;){var u=[];r.contains(["{","["],c.tokens.next.value)?(t=Le(),n=!1):(t=[{id:oe(),token:c.tokens.curr}],n=!0),c.option.varstmt&&b("W132",this),this.first=this.first.concat(u);for(var l in t)t.hasOwnProperty(l)&&(l=t[l],c.funct["(global)"]&&!c.impliedClosure()&&(!1===Ye[l.id]?b("W079",l.token,l.id):!1===c.option.futurehostile&&(!c.inES5()&&!1===o.ecmaIdentifiers[5][l.id]||!c.inES6()&&!1===o.ecmaIdentifiers[6][l.id])&&b("W129",l.token,l.id)),l.id&&(c.funct["(scope)"].addlabel(l.id,{type:"var",token:l.token}),n&&a&&c.funct["(scope)"].setExported(l.id,l.token),u.push(l.token)));if("="===c.tokens.next.id){c.nameStack.set(c.tokens.curr),j("="),"="===A(0).id&&c.tokens.next.identifier&&((s||c.funct["(params)"])&&-1!==c.funct["(params)"].indexOf(c.tokens.next.value)||b("W120",c.tokens.next,c.tokens.next.value));var f=c.tokens.prev;!(i=G(s?120:10))||s||c.funct["(loopage)"]||"undefined"!==i.type||b("W080",f,f.value),n?t[0].first=i:Te(u,i)}if(","!==c.tokens.next.id)break;F()}return this}).exps=!0,B("class",function(e){return Ge.call(this,e,!0)}),B("function",function(e){var t=e&&e.inexport,n=!1;"*"===c.tokens.next.value&&(j("*"),c.inES6(!0)?n=!0:b("W119",c.tokens.curr,"function*","6")),He&&b("W082",c.tokens.curr);var r=ie();return c.funct["(scope)"].addlabel(r,{type:"function",token:c.tokens.curr}),void 0===r?b("W025"):t&&c.funct["(scope)"].setExported(r,c.tokens.prev),Ee({name:r,statement:this,type:n?"generator":null,ignoreLoopFunc:He}),"("===c.tokens.next.id&&c.tokens.next.line===c.tokens.curr.line&&_("E039"),this}),D("function",function(){var e=!1;return"*"===c.tokens.next.value&&(c.inES6()||b("W119",c.tokens.curr,"function*","6"),j("*"),e=!0),Ee({name:ie(),type:e?"generator":null}),this}),B("if",function(){var e=c.tokens.next;we(),c.condition=!0,j("(");var t=G(0);t||y("E041",this),Se(t);var n=null;c.option.forin&&c.forinifcheckneeded&&(c.forinifcheckneeded=!1,n=c.forinifchecks[c.forinifchecks.length-1],"(punctuator)"===t.type&&"!"===t.value?n.type="(negative)":n.type="(positive)"),j(")",e),c.condition=!1;var r=fe(!0,!0);return n&&"(negative)"===n.type&&r&&r[0]&&"(identifier)"===r[0].type&&"continue"===r[0].value&&(n.type="(negative-with-continue)"),"else"===c.tokens.next.id&&(j("else"),"if"===c.tokens.next.id||"switch"===c.tokens.next.id?ue():fe(!0,!0)),this}),B("try",function(){var e;for(fe(!0);"catch"===c.tokens.next.id;)we(),e&&!c.inMoz()&&b("W118",c.tokens.next,"multiple catch blocks"),function(){if(j("catch"),j("("),c.funct["(scope)"].stack("catchparams"),Pe(c.tokens.next,["[","{"])){var e=Le();r.each(e,function(e){e.id&&c.funct["(scope)"].addParam(e.id,e,"exception")})}else"(identifier)"!==c.tokens.next.type?b("E030",c.tokens.next,c.tokens.next.value):c.funct["(scope)"].addParam(oe(),c.tokens.curr,"exception");"if"===c.tokens.next.value&&(c.inMoz()||b("W118",c.tokens.curr,"catch filter"),j("if"),G(0)),j(")"),fe(!1),c.funct["(scope)"].unstack()}(),e=!0;return"finally"===c.tokens.next.id?(j("finally"),void fe(!0)):(e||_("E021",c.tokens.next,"catch",c.tokens.next.value),this)}),B("while",function(){var e=c.tokens.next;return c.funct["(breakage)"]+=1,c.funct["(loopage)"]+=1,we(),j("("),Se(G(0)),j(")",e),fe(!0,!0),c.funct["(breakage)"]-=1,c.funct["(loopage)"]-=1,this}).labelled=!0,B("with",function(){var e=c.tokens.next;return c.isStrict()?_("E010",c.tokens.curr):c.option.withstmt||b("W085",c.tokens.curr),j("("),G(0),j(")",e),fe(!0,!0),this}),B("switch",function(){var e=c.tokens.next,t=!1,n=!1;for(c.funct["(breakage)"]+=1,j("("),Se(G(0)),j(")",e),e=c.tokens.next,j("{"),c.tokens.next.from===$e&&(n=!0),n||($e+=c.option.indent),this.cases=[];;)switch(c.tokens.next.id){case"case":switch(c.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:c.tokens.curr.caseFallsThrough||b("W086",c.tokens.curr,"case")}j("case"),this.cases.push(G(0)),we(),t=!0,j(":"),c.funct["(verb)"]="case";break;case"default":switch(c.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(c.tokens.curr.caseFallsThrough||b("W086",c.tokens.curr,"default"))}j("default"),t=!0,j(":");break;case"}":return n||($e-=c.option.indent),j("}",e),c.funct["(breakage)"]-=1,void(c.funct["(verb)"]=void 0);case"(end)":return void _("E023",c.tokens.next,"}");default:if($e+=c.option.indent,t)switch(c.tokens.curr.id){case",":return void _("E040");case":":t=!1,ce();break;default:return void _("E025",c.tokens.curr)}else{if(":"!==c.tokens.curr.id)return void _("E021",c.tokens.next,"case",c.tokens.next.value);j(":"),_("E024",c.tokens.curr,":"),ce()}$e-=c.option.indent}return this}).labelled=!0,U("debugger",function(){return c.option.debug||b("W087",this),this}).exps=!0,function(){var e=U("do",function(){c.funct["(breakage)"]+=1,c.funct["(loopage)"]+=1,we(),this.first=fe(!0,!0),j("while");var e=c.tokens.next;return j("("),Se(G(0)),j(")",e),c.funct["(breakage)"]-=1,c.funct["(loopage)"]-=1,this});e.labelled=!0,e.exps=!0}(),B("for",function(){var e,t=c.tokens.next,n=!1,i=null;"each"===t.value&&(i=t,j("each"),c.inMoz()||b("W118",c.tokens.curr,"for each")),we(),j("(");var o,s,a,u,l,f,p=0,h=["in","of"],d=0;Pe(c.tokens.next,["{","["])&&++d;do{if(o=A(p),++p,Pe(o,["{","["])?++d:Pe(o,["}","]"])&&--d,d<0)break;0===d&&(!s&&Re(o,",")?s=o:!a&&Re(o,"=")&&(a=o))}while(d>0||!r.contains(h,o.value)&&";"!==o.value&&"(end)"!==o.type);if(r.contains(h,o.value)){if("of"===o.value?(u=20,c.inES6()||b("W104",o,"for of","6")):u=0,a&&_("W133",s,o.value,"initializer is forbidden"),s&&_("W133",s,o.value,"more than one ForBinding"),"var"===c.tokens.next.id)j("var"),c.tokens.curr.fud({prefix:!0});else if("let"===c.tokens.next.id||"const"===c.tokens.next.id)j(c.tokens.next.id),n=!0,c.funct["(scope)"].stack(),c.tokens.curr.fud({prefix:!0});else{l=[];do{Pe(c.tokens.next,["{","["])?Le({assignment:!0}).forEach(function(e){this.push(e.token)},l):("(identifier)"===(f=G(120)).type&&l.push(f),Q(f,o)),Re(c.tokens.next,"=")&&(j("="),G(120)),Re(c.tokens.next,",")&&j(",")}while(c.tokens.next!==o);a||s||l.forEach(function(e){c.funct["(scope)"].has(e.value)||b("W088",e,e.value)})}if(j(o.value),G(u),j(")",t),"in"===o.value&&c.option.forin&&(c.forinifcheckneeded=!0,void 0===c.forinifchecks&&(c.forinifchecks=[]),c.forinifchecks.push({type:"(none)"})),c.funct["(breakage)"]+=1,c.funct["(loopage)"]+=1,e=fe(!0,!0),"in"===o.value&&c.option.forin){if(c.forinifchecks&&c.forinifchecks.length>0){var v=c.forinifchecks.pop();(e&&e.length>0&&("object"!=typeof e[0]||"if"!==e[0].value)||"(positive)"===v.type&&e.length>1||"(negative)"===v.type)&&b("W089",this)}c.forinifcheckneeded=!1}c.funct["(breakage)"]-=1,c.funct["(loopage)"]-=1}else{if(i&&_("E045",i),";"!==c.tokens.next.id)if("var"===c.tokens.next.id)j("var"),c.tokens.curr.fud();else if("let"===c.tokens.next.id)j("let"),n=!0,c.funct["(scope)"].stack(),c.tokens.curr.fud();else for(;G(0,"for"),","===c.tokens.next.id;)F();if(V(c.tokens.curr),j(";"),c.funct["(loopage)"]+=1,";"!==c.tokens.next.id&&Se(G(0)),V(c.tokens.curr),j(";"),";"===c.tokens.next.id&&_("E021",c.tokens.next,")",";"),")"!==c.tokens.next.id)for(;G(0,"for"),","===c.tokens.next.id;)F();j(")",t),c.funct["(breakage)"]+=1,fe(!0,!0),c.funct["(breakage)"]-=1,c.funct["(loopage)"]-=1}return n&&c.funct["(scope)"].unstack(),this}).labelled=!0,U("break",function(){var e=c.tokens.next.value;return c.option.asi||V(this),";"===c.tokens.next.id||c.tokens.next.reach||c.tokens.curr.line!==C(c.tokens.next)?0===c.funct["(breakage)"]&&b("W052",c.tokens.next,this.value):(c.funct["(scope)"].funct.hasBreakLabel(e)||b("W090",c.tokens.next,e),this.first=c.tokens.next,j()),se(this),this}).exps=!0,U("continue",function(){var e=c.tokens.next.value;return 0!==c.funct["(breakage)"]&&c.funct["(loopage)"]||b("W052",c.tokens.next,this.value),c.option.asi||V(this),";"===c.tokens.next.id||c.tokens.next.reach||c.tokens.curr.line===C(c.tokens.next)&&(c.funct["(scope)"].funct.hasBreakLabel(e)||b("W090",c.tokens.next,e),this.first=c.tokens.next,j()),se(this),this}).exps=!0,U("return",function(){return this.line===C(c.tokens.next)?";"===c.tokens.next.id||c.tokens.next.reach||(this.first=G(0),!this.first||"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||c.option.boss||E("W093",this.first.line,this.first.character)):"(punctuator)"===c.tokens.next.type&&["[","{","+","-"].indexOf(c.tokens.next.value)>-1&&V(this),se(this),this}).exps=!0,function(e){e.exps=!0,e.lbp=25,e.ltBoundary="after"}(D("yield",function(){if(c.inMoz())return at.call(this);var e=c.tokens.prev;!this.beginsStmt&&e.lbp>30&&!Pe(e,["("])&&_("E061",this),c.inES6(!0)&&!c.funct["(generator)"]?"(catch)"===c.funct["(name)"]&&c.funct["(context)"]["(generator)"]||_("E046",c.tokens.curr,"yield"):c.inES6()||b("W104",c.tokens.curr,"yield","6"),c.funct["(generator)"]="yielded";return"*"===c.tokens.next.value&&(!0,j("*")),O()||","===c.tokens.next.id||(c.tokens.next.nud?(M(c.tokens.curr,c.tokens.next),this.first=G(10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||c.option.boss||E("W093",this.first.line,this.first.character)):c.tokens.next.led&&","!==c.tokens.next.id&&_("W017",c.tokens.next)),this}));var at=function(){var e=c.tokens.prev;c.inES6(!0)&&!c.funct["(generator)"]&&("(catch)"===c.funct["(name)"]&&c.funct["(context)"]["(generator)"]||_("E046",c.tokens.curr,"yield")),c.funct["(generator)"]="yielded";var t=!1;return"*"===c.tokens.next.value&&(t=!0,j("*")),this.line===C(c.tokens.next)?((t||";"!==c.tokens.next.id&&!c.option.asi&&!c.tokens.next.reach&&c.tokens.next.nud)&&(M(c.tokens.curr,c.tokens.next),this.first=G(10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||c.option.boss||E("W093",this.first.line,this.first.character)),")"!==c.tokens.next.id&&(e.lbp>30||!e.assign&&!O()||"yield"===e.id)&&_("E050",this)):c.option.asi||V(this),this};U("throw",function(){return V(this),this.first=G(20),se(this),this}).exps=!0,U("import",function(){if(c.funct["(scope)"].block.isGlobal()||_("E053",c.tokens.curr,"Import"),c.inES6()||b("W119",c.tokens.curr,"import","6"),"(string)"===c.tokens.next.type)return j("(string)"),this;if(c.tokens.next.identifier){if(this.name=oe(),c.funct["(scope)"].addlabel(this.name,{type:"import",initialized:!0,token:c.tokens.curr}),","!==c.tokens.next.value)return j("from"),j("(string)"),this;j(",")}if("*"===c.tokens.next.id)j("*"),j("as"),c.tokens.next.identifier&&(this.name=oe(),c.funct["(scope)"].addlabel(this.name,{type:"import",initialized:!0,token:c.tokens.curr}));else for(j("{");;){if("}"===c.tokens.next.value){j("}");break}var e;if("default"===c.tokens.next.type?(e="default",j("default")):e=oe(),"as"===c.tokens.next.value&&(j("as"),e=oe()),c.funct["(scope)"].addlabel(e,{type:"import",initialized:!0,token:c.tokens.curr}),","!==c.tokens.next.value){if("}"===c.tokens.next.value){j("}");break}_("E024",c.tokens.next,c.tokens.next.value);break}j(",")}return j("from"),j("(string)"),this}).exps=!0,U("export",function(){var e,t,n=!0;if(c.inES6()||(b("W119",c.tokens.curr,"export","6"),n=!1),c.funct["(scope)"].block.isGlobal()||(_("E053",c.tokens.curr,"Export"),n=!1),"*"===c.tokens.next.value)return j("*"),j("from"),j("(string)"),this;if("default"===c.tokens.next.type){c.nameStack.set(c.tokens.next),j("default");var r=c.tokens.next.id;return"function"!==r&&"class"!==r||(this.block=!0),e=A(),G(10),t=e.value,this.block&&(c.funct["(scope)"].addlabel(t,{type:r,initialized:!0,token:e}),c.funct["(scope)"].setExported(t,e)),this}if("{"===c.tokens.next.value){j("{");for(var i=[];;){if(c.tokens.next.identifier||_("E030",c.tokens.next,c.tokens.next.value),j(),i.push(c.tokens.curr),"as"===c.tokens.next.value&&(j("as"),c.tokens.next.identifier||_("E030",c.tokens.next,c.tokens.next.value),j()),","!==c.tokens.next.value){if("}"===c.tokens.next.value){j("}");break}_("E024",c.tokens.next,c.tokens.next.value);break}j(",")}return"from"===c.tokens.next.value?(j("from"),j("(string)")):n&&i.forEach(function(e){c.funct["(scope)"].setExported(e.value,e)}),this}if("var"===c.tokens.next.id)j("var"),c.tokens.curr.fud({inexport:!0});else if("let"===c.tokens.next.id)j("let"),c.tokens.curr.fud({inexport:!0});else if("const"===c.tokens.next.id)j("const"),c.tokens.curr.fud({inexport:!0});else if("function"===c.tokens.next.id)this.block=!0,j("function"),c.syntax.function.fud({inexport:!0});else if("class"===c.tokens.next.id){this.block=!0,j("class");var o=c.tokens.next;c.syntax.class.fud(),c.funct["(scope)"].setExported(o.value,o)}else _("E024",c.tokens.next,c.tokens.next.value);return this}).exps=!0,H("abstract"),H("await",{es5:!0,moduleOnly:!0}),H("boolean"),H("byte"),H("char"),H("class",{es5:!0,nud:Ge}),H("double"),H("enum",{es5:!0}),H("export",{es5:!0}),H("extends",{es5:!0}),H("final"),H("float"),H("goto"),H("implements",{es5:!0,strictOnly:!0}),H("import",{es5:!0}),H("int"),H("interface",{es5:!0,strictOnly:!0}),H("long"),H("native"),H("package",{es5:!0,strictOnly:!0}),H("private",{es5:!0,strictOnly:!0}),H("protected",{es5:!0,strictOnly:!0}),H("public",{es5:!0,strictOnly:!0}),H("short"),H("static",{es5:!0,strictOnly:!0}),H("super",{es5:!0}),H("synchronized"),H("transient"),H("volatile");var ut=function(){var e,t,n,r=-1,i=0,o={};Pe(c.tokens.curr,["[","{"])&&(i+=1);do{if(n=-1===r?c.tokens.curr:e,e=-1===r?c.tokens.next:A(r),t=A(r+1),r+=1,Pe(e,["[","{"])?i+=1:Pe(e,["]","}"])&&(i-=1),1===i&&e.identifier&&"for"===e.value&&!Re(n,".")){o.isCompArray=!0,o.notJson=!0;break}if(0===i&&Pe(e,["}","]"])){if("="===t.value){o.isDestAssign=!0,o.notJson=!0;break}if("."===t.value){o.notJson=!0;break}}Re(e,";")&&(o.isBlock=!0,o.notJson=!0)}while(i>0&&"(end)"!==e.id);return o},ct=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&&b("W098",e.token,e.raw_text||e.value),e.undef&&c.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:c.funct,token:c.tokens.curr,value:r,undef:!0,unused:!1}),!0):n&&"define"===n.mode?(e(r)||n.variables.push({funct:c.funct,token:c.tokens.curr,value:r,undef:!1,unused:!0}),!0):n&&"generate"===n.mode?(c.funct["(scope)"].block.use(r,c.tokens.curr),!0):!(!n||"filter"!==n.mode)&&(t(r)&&c.funct["(scope)"].block.use(r,c.tokens.curr),!0)}}},lt=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},ft=function(n,i,s){function u(e,t){e&&(Array.isArray(e)||"object"!=typeof e||(e=Object.keys(e)),e.forEach(t))}var l,f,d,v,m={},x={};i=r.clone(i),c.reset(),i&&i.scope?h.scope=i.scope:(h.errors=[],h.undefs=[],h.internals=[],h.blacklist={},h.scope="(main)"),g(Ye=Object.create(null),o.ecmaIdentifiers[3]),g(Ye,o.reservedVars),g(Ye,s||{}),qe=Object.create(null);var S=Object.create(null);if(i)for(u(i.predef||null,function(e){var t,n;"-"===e[0]?(t=e.slice(1),h.blacklist[t]=t,delete Ye[t]):(n=Object.getOwnPropertyDescriptor(i.predef,e),Ye[e]=!!n&&n.value)}),u(i.exported||null,function(e){S[e]=!0}),delete i.predef,delete i.exported,v=Object.keys(i),l=0;l<v.length;l++)if(/^-W\d{3}$/g.test(v[l]))x[v[l].slice(1)]=!0;else{var W=v[l];m[W]=i[W]}c.option=m,c.ignored=x,c.option.indent=c.option.indent||4,c.option.maxerr=c.option.maxerr||50,$e=1;var A=p(c,Ye,S,qe);if(A.on("warning",function(e){b.apply(null,[e.code,e.token].concat(e.data))}),A.on("error",function(e){_.apply(null,[e.code,e.token].concat(e.data))}),c.funct=ke("(global)",null,{"(global)":!0,"(scope)":A,"(comparray)":ct(),"(metrics)":_e(c.tokens.next)}),ze=[c.funct],et=[],Qe=null,Xe={},Ke=null,He=!1,Je=[],!t(n)&&!Array.isArray(n))return w("E004",0),!1;De={get isJSON(){return c.jsonMode},getOption:function(e){return c.option[e]||null},getCache:function(e){return c.cache[e]},setCache:function(e,t){c.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){it.on(e,t)}.bind(this))}},it.removeAllListeners(),(rt||[]).forEach(function(e){e(De)}),c.tokens.prev=c.tokens.curr=c.tokens.next=c.syntax["(begin)"],i&&i.ignoreDelimiters&&(Array.isArray(i.ignoreDelimiters)||(i.ignoreDelimiters=[i.ignoreDelimiters]),i.ignoreDelimiters.forEach(function(e){e.start&&e.end&&(f=lt(e.start)+"[\\s\\S]*?"+lt(e.end),d=new RegExp(f,"ig"),n=n.replace(d,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){w.apply(null,[e.code,e.line,e.character].concat(e.data))}),Ze.on("fatal",function(e){y("E041",e)}),Ze.on("Identifier",function(e){it.emit("Identifier",e)}),Ze.on("String",function(e){it.emit("String",e)}),Ze.on("Number",function(e){it.emit("Number",e)});for(var L in i)r.has(i,L)&&e(L,c.tokens.curr);try{switch(k(),g(Ye,s||{}),F.first=!0,j(),c.tokens.next.id){case"{":case"[":Ue();break;default:le(),c.directive["use strict"]&&(c.allowsGlobalUsd()||b("W097",c.tokens.prev)),ce()}"(end)"!==c.tokens.next.id&&y("E041",c.tokens.curr),c.funct["(scope)"].unstack()}catch(e){if(!e||"JSHintError"!==e.name)throw e;var T=c.tokens.next||{};h.errors.push({scope:"(main)",raw:e.raw,code:e.code,reason:e.reason,line:e.line||T.line,character:e.character||T.from})}return"(main)"===h.scope&&Ne(h.internals,i||{},s),0===h.errors.length};return ft.addModule=function(e){rt.push(e)},ft.addModule(l.register),ft.data=function(){var e,t,n,r,i,o,s={functions:[],options:c.option};ft.errors.length&&(s.errors=ft.errors),c.jsonMode&&(s.json=!0);var a=c.funct["(scope)"].getImpliedGlobals();for(a.length>0&&(s.implieds=a),et.length>0&&(s.urls=et),(o=c.funct["(scope)"].getUsedOrDefinedGlobals()).length>0&&(s.globals=o),n=1;n<ze.length;n+=1){for(t=ze[n],e={},r=0;r<nt.length;r+=1)e[nt[r]]=[];for(r=0;r<nt.length;r+=1)0===e[nt[r]].length&&delete e[nt[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 u=c.funct["(scope)"].getUnuseds();u.length>0&&(s.unused=u);for(i in Xe)if("number"==typeof Xe[i]){s.member=Xe;break}return s},ft.jshint=ft,ft}());"object"==typeof n&&n&&(n.JSHINT=h)},{"./lex.js":13,"./messages.js":14,"./options.js":16,"./reg.js":17,"./scope-manager.js":18,"./state.js":19,"./style.js":20,"./vars.js":21,"console-browserify":10,events:5,lodash:12}]},{},[]),JSHINT=e("jshint").JSHINT,"object"==typeof exports&&exports&&(exports.JSHINT=JSHINT)}(); |