(function(){vara=this,b=a._,c={},d=Array.prototype,e=Object.prototype,f=Function.prototype,g=d.push,h=d.slice,i=d.concat,j=e.toString,k=e.hasOwnProperty,l=d.forEach,m=d.map,n=d.reduce,o=d.reduceRight,p=d.filter,q=d.every,r=d.some,s=d.indexOf,t=d.lastIndexOf,u=Array.isArray,v=Object.keys,w=f.bind,x=function(a){returnainstanceofx?a:thisinstanceofx?void(this._wrapped=a):newx(a)};"undefined"!=typeofexports?("undefined"!=typeofmodule&&module.exports&&(exports=module.exports=x),exports._=x):a._=x,x.VERSION="1.6.0";vary=x.each=x.forEach=function(a,b,d){if(null==a)returna;if(l&&a.forEach===l)a.forEach(b,d);elseif(a.length===+a.length){for(vare=0,f=a.length;f>e;e++)if(b.call(d,a[e],e,a)===c)return}elsefor(varg=x.keys(a),e=0,f=g.length;f>e;e++)if(b.call(d,a[g[e]],g[e],a)===c)return;returna};x.map=x.collect=function(a,b,c){vard=[];returnnull==a?d:m&&a.map===m?a.map(b,c):(y(a,function(a,e,f){d.push(b.call(c,a,e,f))}),d)};varz="Reduce of empty array with no initial value";x.reduce=x.foldl=x.inject=function(a,b,c,d){vare=arguments.length>2;if(null==a&&(a=[]),n&&a.reduce===n)returnd&&(b=x.bind(b,d)),e?a.reduce(b,c):a.reduce(b);if(y(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)}),!e)thrownewTypeError(z);returnc},x.reduceRight=x.foldr=function(a,b,c,d){vare=arguments.length>2;if(null==a&&(a=[]),o&&a.reduceRight===o)returnd&&(b=x.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);varf=a.length;if(f!==+f){varg=x.keys(a);f=g.length}if(y(a,function(h,i,j){i=g?g[--f]:--f,e?c=b.call(d,c,a[i],i,j):(c=a[i],e=!0)}),!e)thrownewTypeError(z);returnc},x.find=x.detect=function(a,b,c){vard;returnA(a,function(a,e,f){returnb.call(c,a,e,f)?(d=a,!0):void0}),d},x.filter=x.select=function(a,b,c){vard=[];returnnull==a?d:p&&a.filter===p?a.filter(b,c):(y(a,function(a,e,f){b.call(c,a,e,f)&&d.push(a)}),d)},x.reject=function(a,b,c){returnx.filter(a,function(a,d,e){return!b.call(c,a,d,e)},c)},x.every=x.all=function(a,b,d){b||(b=x.identity);vare=!0;returnnull==a?e:q&&a.every===q?a.every(b,d):(y(a,function(a,f,g){return(e=e&&b.call(d,a,f,g))?void0:c}),!!e)};varA=x.some=x.any=function(a,b,d){b||(b=x.identity);vare=!1;returnnull==a?e:r&&a.some===r?a.some(b,d):(y(a,function(a,f,g){returne||(e=b.call(d,a,f,g))?c:void0}),!!e)};x.contains=x.include=function(a,b){returnnull==a?!1:s&&a.indexOf===s?-1!=a.indexOf(b):A(a,function(a){returna===b})},x.invoke=function(a,b){varc=h.call(arguments,2),d=x.isFunction(b);returnx.map(a,function(a){return(d?b:a[b]).apply(a,c)})},x.pluck=function(a,b){returnx.map(a,x.property(b))},x.where=function(a,b){returnx.filter(a,x.matches(b))},x.findWhere=function(a,b){returnx.find(a,x.matches(b))},x.max=function(a,b,c){if(!b&&x.isArray(a)&&a[0]===+a[0]&&a.length<65535)returnMath.max.apply(Math,a);vard=-1/0,e=-1/0;returny(a,function(a,f,g){varh=b?b.call(c,a,f,g):a;h>e&&(d=a,e=h)}),d},x.min=function(a,b,c){if(!b&&x.isArray(a)&&a[0]===+a[0]&&a.length<65535)returnMath.min.apply(Math,a);vard=1/0,e=1/0;returny(a,function(a,f,g){varh=b?b.call(c,a,f,g):a;e>h&&(d=a,e=h)}),d},x.shuffle=function(a){varb,c=0,d=[];returny(a,function(a){b=x.random(c++),d[c-1]=d[b],d[b]=a}),d},x.sample=function(a,b,c){returnnull==b||c?(a.length!==+a.length&&(a=x.values(a)),a[x.random(a.length-1)]):x.shuffle(a).slice(0,Math.max(0,b))};varB=function(a){returnnull==a?x.identity:x.isFunction(a)?a:x.property(a)};x.sortBy=function(a,b,c){returnb=B(b),x.pluck(x.map(a,function(a,d,e){return{value:a,index:d,criteria:b.call(c,a,d,e)}}).sort(function(a,b){varc=a.criteria,d=b.criteria;if(c!==d){if(c>d||void0===c)return1;if(d>c||void0===d)return-1}returna.index-b.index}),"value")};varC=function(a){returnfunction(b,c,d){vare={};returnc=B(c),y(b,function(f,g){varh=c.call(d,f,g,b);a(e,h,f)}),e}};x.groupBy=C(function(a,b,c){x.has(a,b)?a[b].push(c):a[b]=[c]}),x.indexBy=C(function(a,b,c){a[b]=c}),x.countBy=C(function(a,b){x.has(a,b)?a[b]++:a[b]=1}),x.sortedIndex=function(a,b,c,d){c=B(c);for(vare=c.call(d,b),f=0,g=a.length;g>f;){varh=f+g>>>1;c.call(d,a[h])<e?f=h+1:g=h}returnf},x.toArray=function(a){returna?x.isArray