Skip to content
Browse files

Update builds and docs.

  • Loading branch information...
1 parent fda628d commit e150cd9c8bd4e5f211d531bf4bca01d215fdb425 @jdalton jdalton committed
View
16 dist/lodash.backbone.js
@@ -1048,11 +1048,11 @@
* // => { 'name': 'moe' }
*/
function omit(object) {
- var props = concat.apply(arrayRef, arguments),
+ var props = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
result = {};
forIn(object, function(value, key) {
- if (indexOf(props, key, 1) < 0) {
+ if (indexOf(props, key) < 0) {
result[key] = value;
}
});
@@ -1112,8 +1112,8 @@
* // => { 'name': 'moe' }
*/
function pick(object) {
- var index = 0,
- props = concat.apply(arrayRef, arguments),
+ var index = -1,
+ props = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
length = props.length,
result = {};
@@ -2096,12 +2096,12 @@
function difference(array) {
var index = -1,
length = array.length,
- flattened = concat.apply(arrayRef, arguments),
+ flattened = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
result = [];
while (++index < length) {
var value = array[index];
- if (indexOf(flattened, value, length) < 0) {
+ if (indexOf(flattened, value) < 0) {
result.push(value);
}
}
@@ -2628,8 +2628,8 @@
* // => alerts 'clicked docs', when the button is clicked
*/
function bindAll(object) {
- var funcs = concat.apply(arrayRef, arguments),
- index = funcs.length > 1 ? 0 : (funcs = functions(object), -1),
+ var funcs = arguments.length > 1 ? concat.apply(arrayRef, nativeSlice.call(arguments, 1)) : functions(object),
+ index = -1,
length = funcs.length;
while (++index < length) {
View
6 dist/lodash.backbone.min.js
@@ -10,15 +10,15 @@ if(null==n||null==t)return n===t;if(f=rr.call(n),o=rr.call(t),f!=o)return!1;swit
}return hr(t,function(r,t,o){return Z.call(o,t)?(c++,!(a=Z.call(n,t)&&s(n[t],r,e,u))&&D):void 0}),a&&hr(n,function(n,r,t){return Z.call(t,r)?!(a=-1<--c)&&D:void 0}),a}function p(n){return typeof n=="function"}function v(n){return n?Q[typeof n]:!1}function h(n){return typeof n=="string"||rr.call(n)==L}function g(n){for(var r=-1,t=pr(n),e=t.length,u=Array(e);++r<e;)u[r]=n[t[r]];return u}function y(n,r){var t=!1;return typeof(n?n.length:0)=="number"?t=-1<B(n,r):gr(n,function(n){return(t=n===r)&&D}),t}function m(n,r,t){var e=!0;
r=I(r,t),t=-1;var u=n?n.length:0;if(typeof u=="number")for(;++t<u&&(e=!!r(n[t],t,n)););else gr(n,function(n,t,u){return!(e=!!r(n,t,u))&&D});return e}function b(n,r,t){var e=[];r=I(r,t),t=-1;var u=n?n.length:0;if(typeof u=="number")for(;++t<u;){var o=n[t];r(o,t,n)&&e.push(o)}else gr(n,function(n,t,u){r(n,t,u)&&e.push(n)});return e}function d(n,r,t){r=I(r,t),t=-1;var e=n?n.length:0;if(typeof e!="number"){var u;return gr(n,function(n,t,e){return r(n,t,e)?(u=n,D):void 0}),u}for(;++t<e;){var o=n[t];if(r(o,t,n))return o
}}function _(n,r,t){var e=-1,u=n?n.length:0;if(r=r&&typeof t=="undefined"?r:I(r,t),typeof u=="number")for(;++e<u&&r(n[e],e,n)!==D;);else gr(n,r)}function j(n,r,t){var e=-1,u=n?n.length:0;if(r=I(r,t),typeof u=="number")for(var o=Array(u);++e<u;)o[e]=r(n[e],e,n);else o=[],gr(n,function(n,t,u){o[++e]=r(n,t,u)});return o}function w(n,r,t,e){if(!n)return t;var u=3>arguments.length;r=I(r,e,4);var o=-1,f=n.length;if(typeof f=="number")for(u&&(t=n[++o]);++o<f;)t=r(t,n[o],o,n);else gr(n,function(n,e,o){t=u?(u=!1,n):r(t,n,e,o)
-});return t}function x(n,r,t,e){var u=n?n.length:0,o=3>arguments.length;if(typeof u!="number")var f=pr(n),u=f.length;return r=I(r,e,4),_(n,function(e,i,a){i=f?f[--u]:--u,t=o?(o=!1,n[i]):r(t,n[i],i,a)}),t}function A(n,r,t){var e;r=I(r,t),t=-1;var u=n?n.length:0;if(typeof u=="number")for(;++t<u&&!(e=r(n[t],t,n)););else gr(n,function(n,t,u){return(e=r(n,t,u))&&D});return!!e}function O(n){for(var r=-1,t=n.length,e=X.apply(U,arguments),u=[];++r<t;){var o=n[r];0>B(e,o,t)&&u.push(o)}return u}function E(n,r,t){if(n){var e=0,u=n.length;
+});return t}function x(n,r,t,e){var u=n?n.length:0,o=3>arguments.length;if(typeof u!="number")var f=pr(n),u=f.length;return r=I(r,e,4),_(n,function(e,i,a){i=f?f[--u]:--u,t=o?(o=!1,n[i]):r(t,n[i],i,a)}),t}function A(n,r,t){var e;r=I(r,t),t=-1;var u=n?n.length:0;if(typeof u=="number")for(;++t<u&&!(e=r(n[t],t,n)););else gr(n,function(n,t,u){return(e=r(n,t,u))&&D});return!!e}function O(n){for(var r=-1,t=n.length,e=X.apply(U,ar.call(arguments,1)),u=[];++r<t;){var o=n[r];0>B(e,o)&&u.push(o)}return u}function E(n,r,t){if(n){var e=0,u=n.length;
if(typeof r!="number"&&null!=r){var o=-1;for(r=I(r,t);++o<u&&r(n[o],o,n);)e++}else if(e=r,null==e||t)return n[0];return ar.call(n,0,fr(or(0,e),u))}}function B(n,r,t){var e=-1,u=n?n.length:0;if(typeof t=="number")e=(0>t?or(0,u+t):t||0)-1;else if(t)return e=k(n,r),n[e]===r?e:-1;for(;++e<u;)if(n[e]===r)return e;return-1}function R(n,r,t){if(typeof r!="number"&&null!=r){var e=0,u=-1,o=n?n.length:0;for(r=I(r,t);++u<o&&r(n[u],u,n);)e++}else e=null==r||t?1:or(0,r);return ar.call(n,e)}function k(n,r,t,e){var u=0,o=n?n.length:u;
for(t=t?I(t,e,1):S,r=t(r);u<o;)e=u+o>>>1,t(n[e])<r?u=e+1:o=e;return u}function M(n,r){return lr.fastBind||tr&&2<arguments.length?tr.call.apply(tr,arguments):e(n,r,ar.call(arguments,2))}function I(n,r,t){if(null==n)return S;var e=typeof n;if("function"!=e){if("object"!=e)return function(r){return r[n]};var u=pr(n);return function(r){for(var t=u.length,e=!1;t--&&(e=r[u[t]]===n[u[t]]););return e}}return typeof r!="undefined"?1===t?function(t){return n.call(r,t)}:2===t?function(t,e){return n.call(r,t,e)
}:4===t?function(t,e,u,o){return n.call(r,t,e,u,o)}:function(t,e,u){return n.call(r,t,e,u)}:n}function S(n){return n}function F(n){_(c(n),function(t){var e=r[t]=n[t];r.prototype[t]=function(){var n=[this.__wrapped__];return nr.apply(n,arguments),n=e.apply(r,n),this.__chain__&&(n=new o(n),n.__chain__=!0),n}})}var N=typeof exports=="object"&&exports,T=typeof module=="object"&&module&&module.exports==N&&module,q=typeof global=="object"&&global;(q.global===q||q.window===q)&&(n=q);var $=0,D={},z=/[&<>"']/g,P="[object Arguments]",V="[object Array]",C="[object Boolean]",G="[object Date]",H="[object Number]",J="[object Object]",K="[object RegExp]",L="[object String]",Q={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},U=[],q={},W=RegExp("^"+(q.valueOf+"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),X=U.concat,Y=Math.floor,Z=q.hasOwnProperty,nr=U.push,rr=q.toString,tr=W.test(tr=rr.bind)&&tr,er=W.test(er=Array.isArray)&&er,ur=W.test(ur=Object.keys)&&ur,or=Math.max,fr=Math.min,ir=Math.random,ar=U.slice,q=W.test(n.attachEvent),cr=tr&&!/\n|true/.test(tr+q),lr={};
(function(){var n={0:1,length:1};lr.argsObject=arguments.constructor==Object,lr.fastBind=tr&&!cr,lr.spliceObjects=(U.splice.call(n,0,1),!n[0])})(1),o.prototype=r.prototype,i(arguments)||(i=function(n){return n?Z.call(n,"callee"):!1});var sr=er||function(n){return lr.argsObject&&n instanceof Array||rr.call(n)==V},er=function(n){var r,t=[];if(!n||!Q[typeof n])return t;for(r in n)Z.call(n,r)&&t.push(r);return t},pr=ur?function(n){return v(n)?ur(n):[]}:er,vr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};
-l(vr);var hr=function(n,r){var t;if(!n||!Q[typeof n])return n;for(t in n)if(r(n[t],t,n)===D)break;return n},gr=function(n,r){var t;if(!n||!Q[typeof n])return n;for(t in n)if(Z.call(n,t)&&r(n[t],t,n)===D)break;return n};p(/x/)&&(p=function(n){return n instanceof Function||"[object Function]"==rr.call(n)}),r.bind=M,r.bindAll=function(n){for(var r=X.apply(U,arguments),t=1<r.length?0:(r=c(n),-1),e=r.length;++t<e;){var u=r[t];n[u]=M(n[u],n)}return n},r.countBy=function(n,r,t){var e={};return r=I(r,t),_(n,function(n,t,u){t=r(n,t,u)+"",Z.call(e,t)?e[t]++:e[t]=1
+l(vr);var hr=function(n,r){var t;if(!n||!Q[typeof n])return n;for(t in n)if(r(n[t],t,n)===D)break;return n},gr=function(n,r){var t;if(!n||!Q[typeof n])return n;for(t in n)if(Z.call(n,t)&&r(n[t],t,n)===D)break;return n};p(/x/)&&(p=function(n){return n instanceof Function||"[object Function]"==rr.call(n)}),r.bind=M,r.bindAll=function(n){for(var r=1<arguments.length?X.apply(U,ar.call(arguments,1)):c(n),t=-1,e=r.length;++t<e;){var u=r[t];n[u]=M(n[u],n)}return n},r.countBy=function(n,r,t){var e={};return r=I(r,t),_(n,function(n,t,u){t=r(n,t,u)+"",Z.call(e,t)?e[t]++:e[t]=1
}),e},r.defaults=function(n){if(!n)return n;for(var r=1,t=arguments.length;r<t;r++){var e=arguments[r];if(e)for(var u in e)null==n[u]&&(n[u]=e[u])}return n},r.difference=O,r.filter=b,r.forEach=_,r.functions=c,r.groupBy=function(n,r,t){var e={};return r=I(r,t),_(n,function(n,t,u){t=r(n,t,u)+"",(Z.call(e,t)?e[t]:e[t]=[]).push(n)}),e},r.initial=function(n,r,t){if(!n)return[];var e=0,u=n.length;if(typeof r!="number"&&null!=r){var o=u;for(r=I(r,t);o--&&r(n[o],o,n);)e++}else e=null==r||t?1:r||e;return ar.call(n,0,fr(or(0,u-e),u))
},r.invert=l,r.invoke=function(n,r){var t=ar.call(arguments,2),e=-1,u=typeof r=="function",o=n?n.length:0,f=Array(typeof o=="number"?o:0);return _(n,function(n){f[++e]=(u?r:n[r]).apply(n,t)}),f},r.keys=pr,r.map=j,r.max=function(n,r,t){var e=-1/0,u=e,o=-1,f=n?n.length:0;if(r||typeof f!="number")r=I(r,t),_(n,function(n,t,o){t=r(n,t,o),t>e&&(e=t,u=n)});else for(;++o<f;)t=n[o],t>u&&(u=t);return u},r.min=function(n,r,t){var e=1/0,u=e,o=-1,f=n?n.length:0;if(r||typeof f!="number")r=I(r,t),_(n,function(n,t,o){t=r(n,t,o),t<e&&(e=t,u=n)
-});else for(;++o<f;)t=n[o],t<u&&(u=t);return u},r.omit=function(n){var r=X.apply(U,arguments),t={};return hr(n,function(n,e){0>B(r,e,1)&&(t[e]=n)}),t},r.once=function(n){var r,t;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},r.pairs=function(n){for(var r=-1,t=pr(n),e=t.length,u=Array(e);++r<e;){var o=t[r];u[r]=[o,n[o]]}return u},r.pick=function(n){for(var r=0,t=X.apply(U,arguments),e=t.length,u={};++r<e;){var o=t[r];o in n&&(u[o]=n[o])}return u},r.reject=function(n,r,t){return r=I(r,t),b(n,function(n,t,e){return!r(n,t,e)
+});else for(;++o<f;)t=n[o],t<u&&(u=t);return u},r.omit=function(n){var r=X.apply(U,ar.call(arguments,1)),t={};return hr(n,function(n,e){0>B(r,e)&&(t[e]=n)}),t},r.once=function(n){var r,t;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},r.pairs=function(n){for(var r=-1,t=pr(n),e=t.length,u=Array(e);++r<e;){var o=t[r];u[r]=[o,n[o]]}return u},r.pick=function(n){for(var r=-1,t=X.apply(U,ar.call(arguments,1)),e=t.length,u={};++r<e;){var o=t[r];o in n&&(u[o]=n[o])}return u},r.reject=function(n,r,t){return r=I(r,t),b(n,function(n,t,e){return!r(n,t,e)
})},r.rest=R,r.shuffle=function(n){var r=-1,t=n?n.length:0,e=Array(typeof t=="number"?t:0);return _(n,function(n){var t=Y(ir()*(++r+1));e[r]=e[t],e[t]=n}),e},r.sortBy=function(n,r,e){var u=-1,o=n?n.length:0,f=Array(typeof o=="number"?o:0);for(r=I(r,e),_(n,function(n,t,e){f[++u]={a:r(n,t,e),b:u,c:n}}),o=f.length,f.sort(t);o--;)f[o]=f[o].c;return f},r.toArray=function(n){return sr(n)?ar.call(n):n&&typeof n.length=="number"?j(n):g(n)},r.values=g,r.without=function(n){return O(n,ar.call(arguments,1))
},r.collect=j,r.drop=R,r.each=_,r.extend=a,r.methods=c,r.select=b,r.tail=R,r.clone=function(n){return v(n)?sr(n)?ar.call(n):a({},n):n},r.contains=y,r.escape=function(n){return null==n?"":(n+"").replace(z,u)},r.every=m,r.find=d,r.has=function(n,r){return n?Z.call(n,r):!1},r.identity=S,r.indexOf=B,r.isArguments=i,r.isArray=sr,r.isEmpty=function(n){if(!n)return!0;if(sr(n)||h(n))return!n.length;for(var r in n)if(Z.call(n,r))return!1;return!0},r.isEqual=s,r.isFunction=p,r.isObject=v,r.isRegExp=function(n){return n instanceof RegExp||rr.call(n)==K
},r.isString=h,r.lastIndexOf=function(n,r,t){var e=n?n.length:0;for(typeof t=="number"&&(e=(0>t?or(0,e+t):fr(t,e-1))+1);e--;)if(n[e]===r)return e;return-1},r.mixin=F,r.reduce=w,r.reduceRight=x,r.result=function(n,r){var t=n?n[r]:null;return p(t)?n[r]():t},r.size=function(n){var r=n?n.length:0;return typeof r=="number"?r:pr(n).length},r.some=A,r.sortedIndex=k,r.uniqueId=function(n){var r=++$+"";return n?n+r:r},r.all=m,r.any=A,r.detect=d,r.foldl=w,r.foldr=x,r.include=y,r.inject=w,r.first=E,r.last=function(n,r,t){if(n){var e=0,u=n.length;
View
32 dist/lodash.compat.js
@@ -573,16 +573,15 @@
* @private
* @param {Array} array The array to search.
* @param {Mixed} value The value to search for.
- * @param {Number} fromIndex The index to search from.
* @returns {Boolean} Returns `true`, if `value` is found, else `false`.
*/
- function cachedContains(array, fromIndex) {
+ function cachedContains(array) {
var length = array.length,
- isLarge = (length - fromIndex) >= largeArraySize;
+ isLarge = length >= largeArraySize;
if (isLarge) {
var cache = {},
- index = fromIndex - 1;
+ index = -1;
while (++index < length) {
var key = keyPrefix + array[index];
@@ -594,7 +593,7 @@
var key = keyPrefix + value;
return cache[key] && indexOf(cache[key], value) > -1;
}
- return indexOf(array, value, fromIndex) > -1;
+ return indexOf(array, value) > -1;
}
}
@@ -2101,12 +2100,12 @@
if (isFunc) {
callback = lodash.createCallback(callback, thisArg);
} else {
- var props = concat.apply(arrayRef, arguments);
+ var props = concat.apply(arrayRef, nativeSlice.call(arguments, 1));
}
forIn(object, function(value, key, object) {
if (isFunc
? !callback(value, key, object)
- : indexOf(props, key, 1) < 0
+ : indexOf(props, key) < 0
) {
result[key] = value;
}
@@ -2169,8 +2168,8 @@
function pick(object, callback, thisArg) {
var result = {};
if (typeof callback != 'function') {
- var index = 0,
- props = concat.apply(arrayRef, arguments),
+ var index = -1,
+ props = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
length = isObject(object) ? props.length : 0;
while (++index < length) {
@@ -3282,8 +3281,8 @@
function difference(array) {
var index = -1,
length = array ? array.length : 0,
- flattened = concat.apply(arrayRef, arguments),
- contains = cachedContains(flattened, length),
+ flattened = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
+ contains = cachedContains(flattened),
result = [];
while (++index < length) {
@@ -3633,7 +3632,7 @@
}
var argsIndex = argsLength;
while (--argsIndex) {
- if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex], 0)))(value)) {
+ if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex])))(value)) {
continue outer;
}
}
@@ -3957,7 +3956,10 @@
* _.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
* // => [1, 2, 3, 101, 10]
*/
- function union() {
+ function union(array) {
+ if (!isArray(array)) {
+ arguments[0] = array ? nativeSlice.call(array) : arrayRef;
+ }
return uniq(concat.apply(arrayRef, arguments));
}
@@ -4248,8 +4250,8 @@
* // => alerts 'clicked docs', when the button is clicked
*/
function bindAll(object) {
- var funcs = concat.apply(arrayRef, arguments),
- index = funcs.length > 1 ? 0 : (funcs = functions(object), -1),
+ var funcs = arguments.length > 1 ? concat.apply(arrayRef, nativeSlice.call(arguments, 1)) : functions(object),
+ index = -1,
length = funcs.length;
while (++index < length) {
View
64 dist/lodash.compat.min.js
@@ -4,44 +4,44 @@
* Build: `lodash -o ./dist/lodash.compat.js`
* Underscore.js 1.4.4 underscorejs.org/LICENSE
*/
-;(function(n){function t(r){function a(n){return n&&typeof n=="object"&&!ye(n)&&Jt.call(n,"__wrapped__")?n:new U(n)}function F(n,t){var e=n.length,r=e-t>=c;if(r)for(var u={},a=t-1;++a<e;){var o=f+n[a];(u[o]||(u[o]=[])).push(n[a])}return function(e){if(r){var a=f+e;return u[a]&&-1<bt(u[a],e)}return-1<bt(n,e,t)}}function R(n){return n.charCodeAt(0)}function T(n,t){var e=n.b,r=t.b;if(n=n.a,t=t.a,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function D(n,t,e,r){function u(){var r=arguments,c=o?this:t;
-return a||(n=t[i]),e.length&&(r=r.length?(r=fe.call(r),f?r.concat(e):e.concat(r)):e),this instanceof u?(V.prototype=n.prototype,c=new V,V.prototype=null,r=n.apply(c,r),tt(r)?r:c):n.apply(c,r)}var a=nt(n),o=!e,i=t;if(o){var f=r;e=t}else if(!a){if(!r)throw new Tt;t=n}return u}function z(){for(var n,t={g:C,b:"k(m)",c:"",e:"m",f:"",h:"",i:!0,j:!!de},e=0;n=arguments[e];e++)for(var r in n)t[r]=n[r];if(n=t.a,t.d=/^[^,]+/.exec(n)[0],e=Nt,r="var i,m="+t.d+",u="+t.e+";if(!m)return u;"+t.h+";",t.b?(r+="var n=m.length;i=-1;if("+t.b+"){",se.unindexedChars&&(r+="if(l(m)){m=m.split('')}"),r+="while(++i<n){"+t.f+"}}else{"):se.nonEnumArgs&&(r+="var n=m.length;i=-1;if(n&&j(m)){while(++i<n){i+='';"+t.f+"}}else{"),se.enumPrototypes&&(r+="var v=typeof m=='function';"),t.i&&t.j)r+="var s=-1,t=r[typeof m]?o(m):[],n=t.length;while(++s<n){i=t[s];",se.enumPrototypes&&(r+="if(!(v&&i=='prototype')){"),r+=t.f,se.enumPrototypes&&(r+="}"),r+="}";
+;(function(n){function t(r){function a(n){return n&&typeof n=="object"&&!ye(n)&&Jt.call(n,"__wrapped__")?n:new U(n)}function F(n){var t=n.length,e=t>=l;if(e)for(var r={},u=-1;++u<t;){var a=f+n[u];(r[a]||(r[a]=[])).push(n[u])}return function(t){if(e){var u=f+t;return r[u]&&-1<bt(r[u],t)}return-1<bt(n,t)}}function R(n){return n.charCodeAt(0)}function T(n,t){var e=n.b,r=t.b;if(n=n.a,t=t.a,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function D(n,t,e,r){function u(){var r=arguments,l=o?this:t;
+return a||(n=t[i]),e.length&&(r=r.length?(r=fe.call(r),f?r.concat(e):e.concat(r)):e),this instanceof u?(V.prototype=n.prototype,l=new V,V.prototype=null,r=n.apply(l,r),tt(r)?r:l):n.apply(l,r)}var a=nt(n),o=!e,i=t;if(o){var f=r;e=t}else if(!a){if(!r)throw new Tt;t=n}return u}function z(){for(var n,t={g:C,b:"k(m)",c:"",e:"m",f:"",h:"",i:!0,j:!!de},e=0;n=arguments[e];e++)for(var r in n)t[r]=n[r];if(n=t.a,t.d=/^[^,]+/.exec(n)[0],e=Nt,r="var i,m="+t.d+",u="+t.e+";if(!m)return u;"+t.h+";",t.b?(r+="var n=m.length;i=-1;if("+t.b+"){",se.unindexedChars&&(r+="if(l(m)){m=m.split('')}"),r+="while(++i<n){"+t.f+"}}else{"):se.nonEnumArgs&&(r+="var n=m.length;i=-1;if(n&&j(m)){while(++i<n){i+='';"+t.f+"}}else{"),se.enumPrototypes&&(r+="var v=typeof m=='function';"),t.i&&t.j)r+="var s=-1,t=r[typeof m]?o(m):[],n=t.length;while(++s<n){i=t[s];",se.enumPrototypes&&(r+="if(!(v&&i=='prototype')){"),r+=t.f,se.enumPrototypes&&(r+="}"),r+="}";
else if(r+="for(i in m){",(se.enumPrototypes||t.i)&&(r+="if(",se.enumPrototypes&&(r+="!(v&&i=='prototype')"),se.enumPrototypes&&t.i&&(r+="&&"),t.i&&(r+="h.call(m,i)"),r+="){"),r+=t.f+";",(se.enumPrototypes||t.i)&&(r+="}"),r+="}",se.nonEnumShadows){r+="var f=m.constructor;";for(var u=0;7>u;u++)r+="i='"+t.g[u]+"';if(","constructor"==t.g[u]&&(r+="!(f&&f.prototype===m)&&"),r+="h.call(m,i)){"+t.f+"}"}return(t.b||se.nonEnumArgs)&&(r+="}"),r+=t.c+";return u",e("h,j,k,l,o,p,r","return function("+n+"){"+r+"}")(Jt,Q,ye,rt,de,a,$)
}function L(n){return"\\"+q[n]}function K(n){return _e[n]}function M(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}function U(n){this.__wrapped__=n}function V(){}function G(n){var t=!1;if(!n||Yt.call(n)!=A||!se.argsClass&&Q(n))return t;var e=n.constructor;return(nt(e)?e instanceof e:se.nodeClass||!M(n))?se.ownLast?(ke(n,function(n,e,r){return t=Jt.call(r,e),!1}),!0===t):(ke(n,function(n,e){t=e}),!1===t||Jt.call(n,t)):t}function H(n,t,e){t||(t=0),typeof e=="undefined"&&(e=n?n.length:0);
-var r=-1;e=e-t||0;for(var u=At(0>e?0:e);++r<e;)u[r]=n[t+r];return u}function J(n){return we[n]}function Q(n){return Yt.call(n)==j}function W(n,t,r,u,o,i){var f=n;if(typeof t=="function"&&(u=r,r=t,t=!1),typeof r=="function"){if(r=typeof u=="undefined"?r:a.createCallback(r,u,1),f=r(f),typeof f!="undefined")return f;f=n}if(u=tt(f)){var c=Yt.call(f);if(!N[c]||!se.nodeClass&&M(f))return f;var l=ye(f)}if(!u||!t)return u?l?H(f):Ce({},f):f;switch(u=pe[c],c){case x:case O:return new u(+f);case S:case P:return new u(f);
-case I:return u(f.source,h.exec(f))}for(o||(o=[]),i||(i=[]),c=o.length;c--;)if(o[c]==n)return i[c];return f=l?u(f.length):{},l&&(Jt.call(n,"index")&&(f.index=n.index),Jt.call(n,"input")&&(f.input=n.input)),o.push(n),i.push(f),(l?lt:xe)(n,function(n,u){f[u]=W(n,t,r,e,o,i)}),f}function X(n){var t=[];return ke(n,function(n,e){nt(n)&&t.push(e)}),t.sort()}function Y(n){for(var t=-1,e=de(n),r=e.length,u={};++t<r;){var a=e[t];u[n[a]]=a}return u}function Z(n,t,e,r,u,o){var f=e===i;if(typeof e=="function"&&!f){e=a.createCallback(e,r,2);
-var c=e(n,t);if(typeof c!="undefined")return!!c}if(n===t)return 0!==n||1/n==1/t;var l=typeof n,p=typeof t;if(n===n&&(!n||"function"!=l&&"object"!=l)&&(!t||"function"!=p&&"object"!=p))return!1;if(null==n||null==t)return n===t;if(p=Yt.call(n),l=Yt.call(t),p==j&&(p=A),l==j&&(l=A),p!=l)return!1;switch(p){case x:case O:return+n==+t;case S:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case I:case P:return n==Rt(t)}if(l=p==k,!l){if(Jt.call(n,"__wrapped__")||Jt.call(t,"__wrapped__"))return Z(n.__wrapped__||n,t.__wrapped__||t,e,r,u,o);
-if(p!=A||!se.nodeClass&&(M(n)||M(t)))return!1;var p=!se.argsObject&&Q(n)?Bt:n.constructor,s=!se.argsObject&&Q(t)?Bt:t.constructor;if(p!=s&&(!nt(p)||!(p instanceof p&&nt(s)&&s instanceof s)))return!1}for(u||(u=[]),o||(o=[]),p=u.length;p--;)if(u[p]==n)return o[p]==t;var v=0,c=!0;if(u.push(n),o.push(t),l){if(p=n.length,v=t.length,c=v==n.length,!c&&!f)return c;for(;v--;)if(l=p,s=t[v],f)for(;l--&&!(c=Z(n[l],s,e,r,u,o)););else if(!(c=Z(n[v],s,e,r,u,o)))break;return c}return ke(t,function(t,a,i){return Jt.call(i,a)?(v++,c=Jt.call(n,a)&&Z(n[a],t,e,r,u,o)):void 0
-}),c&&!f&&ke(n,function(n,t,e){return Jt.call(e,t)?c=-1<--v:void 0}),c}function nt(n){return typeof n=="function"}function tt(n){return n?$[typeof n]:!1}function et(n){return typeof n=="number"||Yt.call(n)==S}function rt(n){return typeof n=="string"||Yt.call(n)==P}function ut(n,t,e){var r=arguments,u=0,o=2;if(!tt(n))return n;if(e===i)var f=r[3],c=r[4],l=r[5];else c=[],l=[],typeof e!="number"&&(o=r.length),3<o&&"function"==typeof r[o-2]?f=a.createCallback(r[--o-1],r[o--],2):2<o&&"function"==typeof r[o-1]&&(f=r[--o]);
-for(;++u<o;)(ye(r[u])?lt:xe)(r[u],function(t,e){var r,u,a=t,o=n[e];if(t&&((u=ye(t))||Oe(t))){for(a=c.length;a--;)if(r=c[a]==t){o=l[a];break}if(!r){var p,o=u?ye(o)?o:[]:Oe(o)?o:{};f&&(a=f(o,t),p=typeof a!="undefined")&&(o=a),c.push(t),l.push(o),p||(o=ut(o,t,i,f,c,l))}}else f&&(a=f(o,t),typeof a=="undefined"&&(a=t)),typeof a!="undefined"&&(o=a);n[e]=o});return n}function at(n){for(var t=-1,e=de(n),r=e.length,u=At(r);++t<r;)u[t]=n[e[t]];return u}function ot(n,t,e){var r=-1,u=n?n.length:0,a=!1;return e=(0>e?ue(0,u+e):e)||0,typeof u=="number"?a=-1<(rt(n)?n.indexOf(t,e):bt(n,t,e)):be(n,function(n){return++r<e?void 0:!(a=n===t)
-}),a}function it(n,t,e){var r=!0;if(t=a.createCallback(t,e),ye(n)){e=-1;for(var u=n.length;++e<u&&(r=!!t(n[e],e,n)););}else be(n,function(n,e,u){return r=!!t(n,e,u)});return r}function ft(n,t,e){var r=[];if(t=a.createCallback(t,e),ye(n)){e=-1;for(var u=n.length;++e<u;){var o=n[e];t(o,e,n)&&r.push(o)}}else be(n,function(n,e,u){t(n,e,u)&&r.push(n)});return r}function ct(n,t,e){if(t=a.createCallback(t,e),!ye(n)){var r;return be(n,function(n,e,u){return t(n,e,u)?(r=n,!1):void 0}),r}e=-1;for(var u=n.length;++e<u;){var o=n[e];
-if(t(o,e,n))return o}}function lt(n,t,e){if(t&&typeof e=="undefined"&&ye(n)){e=-1;for(var r=n.length;++e<r&&!1!==t(n[e],e,n););}else be(n,t,e);return n}function pt(n,t,e){var r=-1,u=n?n.length:0,o=At(typeof u=="number"?u:0);if(t=a.createCallback(t,e),ye(n))for(;++r<u;)o[r]=t(n[r],r,n);else be(n,function(n,e,u){o[++r]=t(n,e,u)});return o}function st(n,t,e){var r=-1/0,u=r;if(!t&&ye(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i>u&&(u=i)}}else t=!t&&rt(n)?R:a.createCallback(t,e),be(n,function(n,e,a){e=t(n,e,a),e>r&&(r=e,u=n)
-});return u}function vt(n,t,e,r){var u=3>arguments.length;if(t=a.createCallback(t,r,4),ye(n)){var o=-1,i=n.length;for(u&&(e=n[++o]);++o<i;)e=t(e,n[o],o,n)}else be(n,function(n,r,a){e=u?(u=!1,n):t(e,n,r,a)});return e}function gt(n,t,e,r){var u=n,o=n?n.length:0,i=3>arguments.length;if(typeof o!="number")var f=de(n),o=f.length;else se.unindexedChars&&rt(n)&&(u=n.split(""));return t=a.createCallback(t,r,4),lt(n,function(n,r,a){r=f?f[--o]:--o,e=i?(i=!1,u[r]):t(e,u[r],r,a)}),e}function ht(n,t,e){var r;
-if(t=a.createCallback(t,e),ye(n)){e=-1;for(var u=n.length;++e<u&&!(r=t(n[e],e,n)););}else be(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function yt(n){for(var t=-1,e=n?n.length:0,r=Vt.apply(Dt,arguments),r=F(r,e),u=[];++t<e;){var a=n[t];r(a)||u.push(a)}return u}function mt(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&null!=t){var o=-1;for(t=a.createCallback(t,e);++o<u&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n[0];return H(n,0,ae(ue(0,r),u))}}function dt(n,t,e,r){var u=-1,o=n?n.length:0,i=[];
+var r=-1;e=e-t||0;for(var u=At(0>e?0:e);++r<e;)u[r]=n[t+r];return u}function J(n){return we[n]}function Q(n){return Yt.call(n)==j}function W(n,t,r,u,o,i){var f=n;if(typeof t=="function"&&(u=r,r=t,t=!1),typeof r=="function"){if(r=typeof u=="undefined"?r:a.createCallback(r,u,1),f=r(f),typeof f!="undefined")return f;f=n}if(u=tt(f)){var l=Yt.call(f);if(!N[l]||!se.nodeClass&&M(f))return f;var c=ye(f)}if(!u||!t)return u?c?H(f):Ce({},f):f;switch(u=pe[l],l){case x:case O:return new u(+f);case S:case P:return new u(f);
+case I:return u(f.source,h.exec(f))}for(o||(o=[]),i||(i=[]),l=o.length;l--;)if(o[l]==n)return i[l];return f=c?u(f.length):{},c&&(Jt.call(n,"index")&&(f.index=n.index),Jt.call(n,"input")&&(f.input=n.input)),o.push(n),i.push(f),(c?ct:xe)(n,function(n,u){f[u]=W(n,t,r,e,o,i)}),f}function X(n){var t=[];return ke(n,function(n,e){nt(n)&&t.push(e)}),t.sort()}function Y(n){for(var t=-1,e=de(n),r=e.length,u={};++t<r;){var a=e[t];u[n[a]]=a}return u}function Z(n,t,e,r,u,o){var f=e===i;if(typeof e=="function"&&!f){e=a.createCallback(e,r,2);
+var l=e(n,t);if(typeof l!="undefined")return!!l}if(n===t)return 0!==n||1/n==1/t;var c=typeof n,p=typeof t;if(n===n&&(!n||"function"!=c&&"object"!=c)&&(!t||"function"!=p&&"object"!=p))return!1;if(null==n||null==t)return n===t;if(p=Yt.call(n),c=Yt.call(t),p==j&&(p=A),c==j&&(c=A),p!=c)return!1;switch(p){case x:case O:return+n==+t;case S:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case I:case P:return n==Rt(t)}if(c=p==k,!c){if(Jt.call(n,"__wrapped__")||Jt.call(t,"__wrapped__"))return Z(n.__wrapped__||n,t.__wrapped__||t,e,r,u,o);
+if(p!=A||!se.nodeClass&&(M(n)||M(t)))return!1;var p=!se.argsObject&&Q(n)?Bt:n.constructor,s=!se.argsObject&&Q(t)?Bt:t.constructor;if(p!=s&&(!nt(p)||!(p instanceof p&&nt(s)&&s instanceof s)))return!1}for(u||(u=[]),o||(o=[]),p=u.length;p--;)if(u[p]==n)return o[p]==t;var v=0,l=!0;if(u.push(n),o.push(t),c){if(p=n.length,v=t.length,l=v==n.length,!l&&!f)return l;for(;v--;)if(c=p,s=t[v],f)for(;c--&&!(l=Z(n[c],s,e,r,u,o)););else if(!(l=Z(n[v],s,e,r,u,o)))break;return l}return ke(t,function(t,a,i){return Jt.call(i,a)?(v++,l=Jt.call(n,a)&&Z(n[a],t,e,r,u,o)):void 0
+}),l&&!f&&ke(n,function(n,t,e){return Jt.call(e,t)?l=-1<--v:void 0}),l}function nt(n){return typeof n=="function"}function tt(n){return n?$[typeof n]:!1}function et(n){return typeof n=="number"||Yt.call(n)==S}function rt(n){return typeof n=="string"||Yt.call(n)==P}function ut(n,t,e){var r=arguments,u=0,o=2;if(!tt(n))return n;if(e===i)var f=r[3],l=r[4],c=r[5];else l=[],c=[],typeof e!="number"&&(o=r.length),3<o&&"function"==typeof r[o-2]?f=a.createCallback(r[--o-1],r[o--],2):2<o&&"function"==typeof r[o-1]&&(f=r[--o]);
+for(;++u<o;)(ye(r[u])?ct:xe)(r[u],function(t,e){var r,u,a=t,o=n[e];if(t&&((u=ye(t))||Oe(t))){for(a=l.length;a--;)if(r=l[a]==t){o=c[a];break}if(!r){var p,o=u?ye(o)?o:[]:Oe(o)?o:{};f&&(a=f(o,t),p=typeof a!="undefined")&&(o=a),l.push(t),c.push(o),p||(o=ut(o,t,i,f,l,c))}}else f&&(a=f(o,t),typeof a=="undefined"&&(a=t)),typeof a!="undefined"&&(o=a);n[e]=o});return n}function at(n){for(var t=-1,e=de(n),r=e.length,u=At(r);++t<r;)u[t]=n[e[t]];return u}function ot(n,t,e){var r=-1,u=n?n.length:0,a=!1;return e=(0>e?ue(0,u+e):e)||0,typeof u=="number"?a=-1<(rt(n)?n.indexOf(t,e):bt(n,t,e)):be(n,function(n){return++r<e?void 0:!(a=n===t)
+}),a}function it(n,t,e){var r=!0;if(t=a.createCallback(t,e),ye(n)){e=-1;for(var u=n.length;++e<u&&(r=!!t(n[e],e,n)););}else be(n,function(n,e,u){return r=!!t(n,e,u)});return r}function ft(n,t,e){var r=[];if(t=a.createCallback(t,e),ye(n)){e=-1;for(var u=n.length;++e<u;){var o=n[e];t(o,e,n)&&r.push(o)}}else be(n,function(n,e,u){t(n,e,u)&&r.push(n)});return r}function lt(n,t,e){if(t=a.createCallback(t,e),!ye(n)){var r;return be(n,function(n,e,u){return t(n,e,u)?(r=n,!1):void 0}),r}e=-1;for(var u=n.length;++e<u;){var o=n[e];
+if(t(o,e,n))return o}}function ct(n,t,e){if(t&&typeof e=="undefined"&&ye(n)){e=-1;for(var r=n.length;++e<r&&!1!==t(n[e],e,n););}else be(n,t,e);return n}function pt(n,t,e){var r=-1,u=n?n.length:0,o=At(typeof u=="number"?u:0);if(t=a.createCallback(t,e),ye(n))for(;++r<u;)o[r]=t(n[r],r,n);else be(n,function(n,e,u){o[++r]=t(n,e,u)});return o}function st(n,t,e){var r=-1/0,u=r;if(!t&&ye(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i>u&&(u=i)}}else t=!t&&rt(n)?R:a.createCallback(t,e),be(n,function(n,e,a){e=t(n,e,a),e>r&&(r=e,u=n)
+});return u}function vt(n,t,e,r){var u=3>arguments.length;if(t=a.createCallback(t,r,4),ye(n)){var o=-1,i=n.length;for(u&&(e=n[++o]);++o<i;)e=t(e,n[o],o,n)}else be(n,function(n,r,a){e=u?(u=!1,n):t(e,n,r,a)});return e}function gt(n,t,e,r){var u=n,o=n?n.length:0,i=3>arguments.length;if(typeof o!="number")var f=de(n),o=f.length;else se.unindexedChars&&rt(n)&&(u=n.split(""));return t=a.createCallback(t,r,4),ct(n,function(n,r,a){r=f?f[--o]:--o,e=i?(i=!1,u[r]):t(e,u[r],r,a)}),e}function ht(n,t,e){var r;
+if(t=a.createCallback(t,e),ye(n)){e=-1;for(var u=n.length;++e<u&&!(r=t(n[e],e,n)););}else be(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function yt(n){for(var t=-1,e=n?n.length:0,r=Vt.apply(Dt,fe.call(arguments,1)),r=F(r),u=[];++t<e;){var a=n[t];r(a)||u.push(a)}return u}function mt(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&null!=t){var o=-1;for(t=a.createCallback(t,e);++o<u&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n[0];return H(n,0,ae(ue(0,r),u))}}function dt(n,t,e,r){var u=-1,o=n?n.length:0,i=[];
for(typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1),null!=e&&(e=a.createCallback(e,r));++u<o;)r=n[u],e&&(r=e(r,u,n)),ye(r)?Qt.apply(i,t?r:dt(r)):i.push(r);return i}function bt(n,t,e){var r=-1,u=n?n.length:0;if(typeof e=="number")r=(0>e?ue(0,u+e):e||0)-1;else if(e)return r=wt(n,t),n[r]===t?r:-1;for(;++r<u;)if(n[r]===t)return r;return-1}function _t(n,t,e){if(typeof t!="number"&&null!=t){var r=0,u=-1,o=n?n.length:0;for(t=a.createCallback(t,e);++u<o&&t(n[u],u,n);)r++}else r=null==t||e?1:ue(0,t);return H(n,r)
-}function wt(n,t,e,r){var u=0,o=n?n.length:u;for(e=e?a.createCallback(e,r,1):Ot,t=e(t);u<o;)r=u+o>>>1,e(n[r])<t?u=r+1:o=r;return u}function Ct(n,t,e,r){var u=-1,o=n?n.length:0,i=[],l=i;typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1);var p=!t&&o>=c;if(p)var s={};for(null!=e&&(l=[],e=a.createCallback(e,r));++u<o;){r=n[u];var v=e?e(r,u,n):r;if(p)var g=f+v,g=s[g]?!(l=s[g]):l=s[g]=[];(t?!u||l[l.length-1]!==v:g||0>bt(l,v))&&((e||p)&&l.push(v),i.push(r))}return i}function jt(n,t){for(var e=-1,r=n?n.length:0,u={};++e<r;){var a=n[e];
-t?u[a]=t[e]:u[a[0]]=a[1]}return u}function kt(n,t){return se.fastBind||Zt&&2<arguments.length?Zt.call.apply(Zt,arguments):D(n,t,fe.call(arguments,2))}function xt(n){var t=fe.call(arguments,1);return Xt(function(){n.apply(e,t)},1)}function Ot(n){return n}function Et(n){lt(X(n),function(t){var e=a[t]=n[t];a.prototype[t]=function(){var n=this.__wrapped__,t=[n];return Qt.apply(t,arguments),t=e.apply(a,t),n&&typeof n=="object"&&n==t?this:new U(t)}})}function St(){return this.__wrapped__}r=r?B.defaults(n.Object(),r,B.pick(n,w)):n;
-var At=r.Array,It=r.Boolean,Pt=r.Date,Nt=r.Function,$t=r.Math,qt=r.Number,Bt=r.Object,Ft=r.RegExp,Rt=r.String,Tt=r.TypeError,Dt=At(),zt=Bt(),Lt=r._,Kt=Ft("^"+Rt(zt.valueOf).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),Mt=$t.ceil,Ut=r.clearTimeout,Vt=Dt.concat,Gt=$t.floor,Ht=Kt.test(Ht=Bt.getPrototypeOf)&&Ht,Jt=zt.hasOwnProperty,Qt=Dt.push,Wt=r.setImmediate,Xt=r.setTimeout,Yt=zt.toString,Zt=Kt.test(Zt=Yt.bind)&&Zt,ne=Kt.test(ne=At.isArray)&&ne,te=r.isFinite,ee=r.isNaN,re=Kt.test(re=Bt.keys)&&re,ue=$t.max,ae=$t.min,oe=r.parseInt,ie=$t.random,fe=Dt.slice,ce=Kt.test(r.attachEvent),le=Zt&&!/\n|true/.test(Zt+ce),pe={};
-pe[k]=At,pe[x]=It,pe[O]=Pt,pe[A]=Bt,pe[S]=qt,pe[I]=Ft,pe[P]=Rt;var se=a.support={};(function(){var n=function(){this.x=1},t={0:1,length:1},e=[];n.prototype={valueOf:1,y:1};for(var r in new n)e.push(r);for(r in arguments);se.argsObject=arguments.constructor==Bt,se.argsClass=Q(arguments),se.enumPrototypes=n.propertyIsEnumerable("prototype"),se.fastBind=Zt&&!le,se.ownLast="x"!=e[0],se.nonEnumArgs=0!=r,se.nonEnumShadows=!/valueOf/.test(e),se.spliceObjects=(Dt.splice.call(t,0,1),!t[0]),se.unindexedChars="xx"!="x"[0]+Bt("x")[0];
+}function wt(n,t,e,r){var u=0,o=n?n.length:u;for(e=e?a.createCallback(e,r,1):Ot,t=e(t);u<o;)r=u+o>>>1,e(n[r])<t?u=r+1:o=r;return u}function Ct(n,t,e,r){var u=-1,o=n?n.length:0,i=[],c=i;typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1);var p=!t&&o>=l;if(p)var s={};for(null!=e&&(c=[],e=a.createCallback(e,r));++u<o;){r=n[u];var v=e?e(r,u,n):r;if(p)var g=f+v,g=s[g]?!(c=s[g]):c=s[g]=[];(t?!u||c[c.length-1]!==v:g||0>bt(c,v))&&((e||p)&&c.push(v),i.push(r))}return i}function jt(n,t){for(var e=-1,r=n?n.length:0,u={};++e<r;){var a=n[e];
+t?u[a]=t[e]:u[a[0]]=a[1]}return u}function kt(n,t){return se.fastBind||Zt&&2<arguments.length?Zt.call.apply(Zt,arguments):D(n,t,fe.call(arguments,2))}function xt(n){var t=fe.call(arguments,1);return Xt(function(){n.apply(e,t)},1)}function Ot(n){return n}function Et(n){ct(X(n),function(t){var e=a[t]=n[t];a.prototype[t]=function(){var n=this.__wrapped__,t=[n];return Qt.apply(t,arguments),t=e.apply(a,t),n&&typeof n=="object"&&n==t?this:new U(t)}})}function St(){return this.__wrapped__}r=r?B.defaults(n.Object(),r,B.pick(n,w)):n;
+var At=r.Array,It=r.Boolean,Pt=r.Date,Nt=r.Function,$t=r.Math,qt=r.Number,Bt=r.Object,Ft=r.RegExp,Rt=r.String,Tt=r.TypeError,Dt=At(),zt=Bt(),Lt=r._,Kt=Ft("^"+Rt(zt.valueOf).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),Mt=$t.ceil,Ut=r.clearTimeout,Vt=Dt.concat,Gt=$t.floor,Ht=Kt.test(Ht=Bt.getPrototypeOf)&&Ht,Jt=zt.hasOwnProperty,Qt=Dt.push,Wt=r.setImmediate,Xt=r.setTimeout,Yt=zt.toString,Zt=Kt.test(Zt=Yt.bind)&&Zt,ne=Kt.test(ne=At.isArray)&&ne,te=r.isFinite,ee=r.isNaN,re=Kt.test(re=Bt.keys)&&re,ue=$t.max,ae=$t.min,oe=r.parseInt,ie=$t.random,fe=Dt.slice,le=Kt.test(r.attachEvent),ce=Zt&&!/\n|true/.test(Zt+le),pe={};
+pe[k]=At,pe[x]=It,pe[O]=Pt,pe[A]=Bt,pe[S]=qt,pe[I]=Ft,pe[P]=Rt;var se=a.support={};(function(){var n=function(){this.x=1},t={0:1,length:1},e=[];n.prototype={valueOf:1,y:1};for(var r in new n)e.push(r);for(r in arguments);se.argsObject=arguments.constructor==Bt,se.argsClass=Q(arguments),se.enumPrototypes=n.propertyIsEnumerable("prototype"),se.fastBind=Zt&&!ce,se.ownLast="x"!=e[0],se.nonEnumArgs=0!=r,se.nonEnumShadows=!/valueOf/.test(e),se.spliceObjects=(Dt.splice.call(t,0,1),!t[0]),se.unindexedChars="xx"!="x"[0]+Bt("x")[0];
try{se.nodeClass=!(Yt.call(document)==A&&!({toString:0}+""))}catch(u){se.nodeClass=!0}})(1),a.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:y,variable:"",imports:{_:a}};var ve={a:"q,w,g",h:"var a=arguments,b=0,c=typeof g=='number'?2:a.length;while(++b<c){m=a[b];if(m&&r[typeof m]){",f:"if(typeof u[i]=='undefined')u[i]=m[i]",c:"}}"},ge={a:"e,d,x",h:"d=d&&typeof x=='undefined'?d:p.createCallback(d,x)",b:"typeof n=='number'",f:"if(d(m[i],i,e)===false)return u"},he={h:"if(!r[typeof m])return u;"+ge.h,b:!1};
U.prototype=a.prototype,se.argsClass||(Q=function(n){return n?Jt.call(n,"callee"):!1});var ye=ne||function(n){return se.argsObject&&n instanceof At||Yt.call(n)==k},me=z({a:"q",e:"[]",h:"if(!(r[typeof q]))return u",f:"u.push(i)",b:!1}),de=re?function(n){return tt(n)?se.enumPrototypes&&typeof n=="function"||se.nonEnumArgs&&n.length&&Q(n)?me(n):re(n):[]}:me,be=z(ge),_e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},we=Y(_e),Ce=z(ve,{h:ve.h.replace(";",";if(c>3&&typeof a[c-2]=='function'){var d=p.createCallback(a[--c-1],a[c--],2);}else if(c>2&&typeof a[c-1]=='function'){d=a[--c];}"),f:"u[i]=d?d(u[i],m[i]):m[i]"}),je=z(ve),ke=z(ge,he,{i:!1}),xe=z(ge,he);
-nt(/x/)&&(nt=function(n){return n instanceof Nt||Yt.call(n)==E});var Oe=Ht?function(n){if(!n||Yt.call(n)!=A||!se.argsClass&&Q(n))return!1;var t=n.valueOf,e=typeof t=="function"&&(e=Ht(t))&&Ht(e);return e?n==e||Ht(n)==e:G(n)}:G;le&&u&&typeof Wt=="function"&&(xt=kt(Wt,r));var Ee=8==oe("08")?oe:function(n,t){return oe(rt(n)?n.replace(m,""):n,t||0)};return a.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},a.assign=Ce,a.at=function(n){var t=-1,e=Vt.apply(Dt,fe.call(arguments,1)),r=e.length,u=At(r);
-for(se.unindexedChars&&rt(n)&&(n=n.split(""));++t<r;)u[t]=n[e[t]];return u},a.bind=kt,a.bindAll=function(n){for(var t=Vt.apply(Dt,arguments),e=1<t.length?0:(t=X(n),-1),r=t.length;++e<r;){var u=t[e];n[u]=kt(n[u],n)}return n},a.bindKey=function(n,t){return D(n,t,fe.call(arguments,2),i)},a.compact=function(n){for(var t=-1,e=n?n.length:0,r=[];++t<e;){var u=n[t];u&&r.push(u)}return r},a.compose=function(){var n=arguments;return function(){for(var t=arguments,e=n.length;e--;)t=[n[e].apply(this,t)];return t[0]
-}},a.countBy=function(n,t,e){var r={};return t=a.createCallback(t,e),lt(n,function(n,e,u){e=Rt(t(n,e,u)),Jt.call(r,e)?r[e]++:r[e]=1}),r},a.createCallback=function(n,t,e){if(null==n)return Ot;var r=typeof n;if("function"!=r){if("object"!=r)return function(t){return t[n]};var u=de(n);return function(t){for(var e=u.length,r=!1;e--&&(r=Z(t[u[e]],n[u[e]],i)););return r}}return typeof t!="undefined"?1===e?function(e){return n.call(t,e)}:2===e?function(e,r){return n.call(t,e,r)}:4===e?function(e,r,u,a){return n.call(t,e,r,u,a)
-}:function(e,r,u){return n.call(t,e,r,u)}:n},a.debounce=function(n,t,e){function r(){i=null,f&&(a=n.apply(o,u))}var u,a,o,i,f=!0;if(!0===e)var c=!0,f=!1;else e&&$[typeof e]&&(c=e.leading,f="trailing"in e?e.trailing:f);return function(){var e=c&&!i;return u=arguments,o=this,Ut(i),i=Xt(r,t),e&&(a=n.apply(o,u)),a}},a.defaults=je,a.defer=xt,a.delay=function(n,t){var r=fe.call(arguments,2);return Xt(function(){n.apply(e,r)},t)},a.difference=yt,a.filter=ft,a.flatten=dt,a.forEach=lt,a.forIn=ke,a.forOwn=xe,a.functions=X,a.groupBy=function(n,t,e){var r={};
-return t=a.createCallback(t,e),lt(n,function(n,e,u){e=Rt(t(n,e,u)),(Jt.call(r,e)?r[e]:r[e]=[]).push(n)}),r},a.initial=function(n,t,e){if(!n)return[];var r=0,u=n.length;if(typeof t!="number"&&null!=t){var o=u;for(t=a.createCallback(t,e);o--&&t(n[o],o,n);)r++}else r=null==t||e?1:t||r;return H(n,0,ae(ue(0,u-r),u))},a.intersection=function(n){var t=arguments,e=t.length,r={0:{}},u=-1,a=n?n.length:0,o=a>=c,i=[],l=i;n:for(;++u<a;){var p=n[u];if(o)var s=f+p,s=r[0][s]?!(l=r[0][s]):l=r[0][s]=[];if(s||0>bt(l,p)){o&&l.push(p);
-for(var v=e;--v;)if(!(r[v]||(r[v]=F(t[v],0)))(p))continue n;i.push(p)}}return i},a.invert=Y,a.invoke=function(n,t){var e=fe.call(arguments,2),r=-1,u=typeof t=="function",a=n?n.length:0,o=At(typeof a=="number"?a:0);return lt(n,function(n){o[++r]=(u?t:n[t]).apply(n,e)}),o},a.keys=de,a.map=pt,a.max=st,a.memoize=function(n,t){var e={};return function(){var r=f+(t?t.apply(this,arguments):arguments[0]);return Jt.call(e,r)?e[r]:e[r]=n.apply(this,arguments)}},a.merge=ut,a.min=function(n,t,e){var r=1/0,u=r;
-if(!t&&ye(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i<u&&(u=i)}}else t=!t&&rt(n)?R:a.createCallback(t,e),be(n,function(n,e,a){e=t(n,e,a),e<r&&(r=e,u=n)});return u},a.omit=function(n,t,e){var r=typeof t=="function",u={};if(r)t=a.createCallback(t,e);else var o=Vt.apply(Dt,arguments);return ke(n,function(n,e,a){(r?!t(n,e,a):0>bt(o,e,1))&&(u[e]=n)}),u},a.once=function(n){var t,e;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}},a.pairs=function(n){for(var t=-1,e=de(n),r=e.length,u=At(r);++t<r;){var a=e[t];
-u[t]=[a,n[a]]}return u},a.partial=function(n){return D(n,fe.call(arguments,1))},a.partialRight=function(n){return D(n,fe.call(arguments,1),null,i)},a.pick=function(n,t,e){var r={};if(typeof t!="function")for(var u=0,o=Vt.apply(Dt,arguments),i=tt(n)?o.length:0;++u<i;){var f=o[u];f in n&&(r[f]=n[f])}else t=a.createCallback(t,e),ke(n,function(n,e,u){t(n,e,u)&&(r[e]=n)});return r},a.pluck=pt,a.range=function(n,t,e){n=+n||0,e=+e||1,null==t&&(t=n,n=0);var r=-1;t=ue(0,Mt((t-n)/e));for(var u=At(t);++r<t;)u[r]=n,n+=e;
-return u},a.reject=function(n,t,e){return t=a.createCallback(t,e),ft(n,function(n,e,r){return!t(n,e,r)})},a.rest=_t,a.shuffle=function(n){var t=-1,e=n?n.length:0,r=At(typeof e=="number"?e:0);return lt(n,function(n){var e=Gt(ie()*(++t+1));r[t]=r[e],r[e]=n}),r},a.sortBy=function(n,t,e){var r=-1,u=n?n.length:0,o=At(typeof u=="number"?u:0);for(t=a.createCallback(t,e),lt(n,function(n,e,u){o[++r]={a:t(n,e,u),b:r,c:n}}),u=o.length,o.sort(T);u--;)o[u]=o[u].c;return o},a.tap=function(n,t){return t(n),n},a.throttle=function(n,t,e){function r(){f=new Pt,i=null,l&&(a=n.apply(o,u))
-}var u,a,o,i,f=0,c=!0,l=!0;return!1===e?c=!1:e&&$[typeof e]&&(c="leading"in e?e.leading:c,l="trailing"in e?e.trailing:l),function(){var e=new Pt;!i&&!c&&(f=e);var l=t-(e-f);return u=arguments,o=this,0<l?i||(i=Xt(r,l)):(Ut(i),i=null,f=e,a=n.apply(o,u)),a}},a.times=function(n,t,e){n=-1<(n=+n)?n:0;var r=-1,u=At(n);for(t=a.createCallback(t,e,1);++r<n;)u[r]=t(r);return u},a.toArray=function(n){return n&&typeof n.length=="number"?se.unindexedChars&&rt(n)?n.split(""):H(n):at(n)},a.union=function(){return Ct(Vt.apply(Dt,arguments))
-},a.uniq=Ct,a.unzip=function(n){for(var t=-1,e=n?n.length:0,r=e?st(pt(n,"length")):0,u=At(r);++t<e;)for(var a=-1,o=n[t];++a<r;)(u[a]||(u[a]=At(e)))[t]=o[a];return u},a.values=at,a.where=ft,a.without=function(n){return yt(n,fe.call(arguments,1))},a.wrap=function(n,t){return function(){var e=[n];return Qt.apply(e,arguments),t.apply(this,e)}},a.zip=function(n){for(var t=-1,e=n?st(pt(arguments,"length")):0,r=At(e);++t<e;)r[t]=pt(arguments,t);return r},a.zipObject=jt,a.collect=pt,a.drop=_t,a.each=lt,a.extend=Ce,a.methods=X,a.object=jt,a.select=ft,a.tail=_t,a.unique=Ct,Et(a),a.clone=W,a.cloneDeep=function(n,t,e){return W(n,!0,t,e)
-},a.contains=ot,a.escape=function(n){return null==n?"":Rt(n).replace(b,K)},a.every=it,a.find=ct,a.findIndex=function(n,t,e){var r=-1,u=n?n.length:0;for(t=a.createCallback(t,e);++r<u;)if(t(n[r],r,n))return r;return-1},a.findKey=function(n,t,e){var r;return t=a.createCallback(t,e),xe(n,function(n,e,u){return t(n,e,u)?(r=e,!1):void 0}),r},a.has=function(n,t){return n?Jt.call(n,t):!1},a.identity=Ot,a.indexOf=bt,a.isArguments=Q,a.isArray=ye,a.isBoolean=function(n){return!0===n||!1===n||Yt.call(n)==x},a.isDate=function(n){return n instanceof Pt||Yt.call(n)==O
+nt(/x/)&&(nt=function(n){return n instanceof Nt||Yt.call(n)==E});var Oe=Ht?function(n){if(!n||Yt.call(n)!=A||!se.argsClass&&Q(n))return!1;var t=n.valueOf,e=typeof t=="function"&&(e=Ht(t))&&Ht(e);return e?n==e||Ht(n)==e:G(n)}:G;ce&&u&&typeof Wt=="function"&&(xt=kt(Wt,r));var Ee=8==oe("08")?oe:function(n,t){return oe(rt(n)?n.replace(m,""):n,t||0)};return a.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},a.assign=Ce,a.at=function(n){var t=-1,e=Vt.apply(Dt,fe.call(arguments,1)),r=e.length,u=At(r);
+for(se.unindexedChars&&rt(n)&&(n=n.split(""));++t<r;)u[t]=n[e[t]];return u},a.bind=kt,a.bindAll=function(n){for(var t=1<arguments.length?Vt.apply(Dt,fe.call(arguments,1)):X(n),e=-1,r=t.length;++e<r;){var u=t[e];n[u]=kt(n[u],n)}return n},a.bindKey=function(n,t){return D(n,t,fe.call(arguments,2),i)},a.compact=function(n){for(var t=-1,e=n?n.length:0,r=[];++t<e;){var u=n[t];u&&r.push(u)}return r},a.compose=function(){var n=arguments;return function(){for(var t=arguments,e=n.length;e--;)t=[n[e].apply(this,t)];
+return t[0]}},a.countBy=function(n,t,e){var r={};return t=a.createCallback(t,e),ct(n,function(n,e,u){e=Rt(t(n,e,u)),Jt.call(r,e)?r[e]++:r[e]=1}),r},a.createCallback=function(n,t,e){if(null==n)return Ot;var r=typeof n;if("function"!=r){if("object"!=r)return function(t){return t[n]};var u=de(n);return function(t){for(var e=u.length,r=!1;e--&&(r=Z(t[u[e]],n[u[e]],i)););return r}}return typeof t!="undefined"?1===e?function(e){return n.call(t,e)}:2===e?function(e,r){return n.call(t,e,r)}:4===e?function(e,r,u,a){return n.call(t,e,r,u,a)
+}:function(e,r,u){return n.call(t,e,r,u)}:n},a.debounce=function(n,t,e){function r(){i=null,f&&(a=n.apply(o,u))}var u,a,o,i,f=!0;if(!0===e)var l=!0,f=!1;else e&&$[typeof e]&&(l=e.leading,f="trailing"in e?e.trailing:f);return function(){var e=l&&!i;return u=arguments,o=this,Ut(i),i=Xt(r,t),e&&(a=n.apply(o,u)),a}},a.defaults=je,a.defer=xt,a.delay=function(n,t){var r=fe.call(arguments,2);return Xt(function(){n.apply(e,r)},t)},a.difference=yt,a.filter=ft,a.flatten=dt,a.forEach=ct,a.forIn=ke,a.forOwn=xe,a.functions=X,a.groupBy=function(n,t,e){var r={};
+return t=a.createCallback(t,e),ct(n,function(n,e,u){e=Rt(t(n,e,u)),(Jt.call(r,e)?r[e]:r[e]=[]).push(n)}),r},a.initial=function(n,t,e){if(!n)return[];var r=0,u=n.length;if(typeof t!="number"&&null!=t){var o=u;for(t=a.createCallback(t,e);o--&&t(n[o],o,n);)r++}else r=null==t||e?1:t||r;return H(n,0,ae(ue(0,u-r),u))},a.intersection=function(n){var t=arguments,e=t.length,r={0:{}},u=-1,a=n?n.length:0,o=a>=l,i=[],c=i;n:for(;++u<a;){var p=n[u];if(o)var s=f+p,s=r[0][s]?!(c=r[0][s]):c=r[0][s]=[];if(s||0>bt(c,p)){o&&c.push(p);
+for(var v=e;--v;)if(!(r[v]||(r[v]=F(t[v])))(p))continue n;i.push(p)}}return i},a.invert=Y,a.invoke=function(n,t){var e=fe.call(arguments,2),r=-1,u=typeof t=="function",a=n?n.length:0,o=At(typeof a=="number"?a:0);return ct(n,function(n){o[++r]=(u?t:n[t]).apply(n,e)}),o},a.keys=de,a.map=pt,a.max=st,a.memoize=function(n,t){var e={};return function(){var r=f+(t?t.apply(this,arguments):arguments[0]);return Jt.call(e,r)?e[r]:e[r]=n.apply(this,arguments)}},a.merge=ut,a.min=function(n,t,e){var r=1/0,u=r;
+if(!t&&ye(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i<u&&(u=i)}}else t=!t&&rt(n)?R:a.createCallback(t,e),be(n,function(n,e,a){e=t(n,e,a),e<r&&(r=e,u=n)});return u},a.omit=function(n,t,e){var r=typeof t=="function",u={};if(r)t=a.createCallback(t,e);else var o=Vt.apply(Dt,fe.call(arguments,1));return ke(n,function(n,e,a){(r?!t(n,e,a):0>bt(o,e))&&(u[e]=n)}),u},a.once=function(n){var t,e;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}},a.pairs=function(n){for(var t=-1,e=de(n),r=e.length,u=At(r);++t<r;){var a=e[t];
+u[t]=[a,n[a]]}return u},a.partial=function(n){return D(n,fe.call(arguments,1))},a.partialRight=function(n){return D(n,fe.call(arguments,1),null,i)},a.pick=function(n,t,e){var r={};if(typeof t!="function")for(var u=-1,o=Vt.apply(Dt,fe.call(arguments,1)),i=tt(n)?o.length:0;++u<i;){var f=o[u];f in n&&(r[f]=n[f])}else t=a.createCallback(t,e),ke(n,function(n,e,u){t(n,e,u)&&(r[e]=n)});return r},a.pluck=pt,a.range=function(n,t,e){n=+n||0,e=+e||1,null==t&&(t=n,n=0);var r=-1;t=ue(0,Mt((t-n)/e));for(var u=At(t);++r<t;)u[r]=n,n+=e;
+return u},a.reject=function(n,t,e){return t=a.createCallback(t,e),ft(n,function(n,e,r){return!t(n,e,r)})},a.rest=_t,a.shuffle=function(n){var t=-1,e=n?n.length:0,r=At(typeof e=="number"?e:0);return ct(n,function(n){var e=Gt(ie()*(++t+1));r[t]=r[e],r[e]=n}),r},a.sortBy=function(n,t,e){var r=-1,u=n?n.length:0,o=At(typeof u=="number"?u:0);for(t=a.createCallback(t,e),ct(n,function(n,e,u){o[++r]={a:t(n,e,u),b:r,c:n}}),u=o.length,o.sort(T);u--;)o[u]=o[u].c;return o},a.tap=function(n,t){return t(n),n},a.throttle=function(n,t,e){function r(){f=new Pt,i=null,c&&(a=n.apply(o,u))
+}var u,a,o,i,f=0,l=!0,c=!0;return!1===e?l=!1:e&&$[typeof e]&&(l="leading"in e?e.leading:l,c="trailing"in e?e.trailing:c),function(){var e=new Pt;!i&&!l&&(f=e);var c=t-(e-f);return u=arguments,o=this,0<c?i||(i=Xt(r,c)):(Ut(i),i=null,f=e,a=n.apply(o,u)),a}},a.times=function(n,t,e){n=-1<(n=+n)?n:0;var r=-1,u=At(n);for(t=a.createCallback(t,e,1);++r<n;)u[r]=t(r);return u},a.toArray=function(n){return n&&typeof n.length=="number"?se.unindexedChars&&rt(n)?n.split(""):H(n):at(n)},a.union=function(n){return ye(n)||(arguments[0]=n?fe.call(n):Dt),Ct(Vt.apply(Dt,arguments))
+},a.uniq=Ct,a.unzip=function(n){for(var t=-1,e=n?n.length:0,r=e?st(pt(n,"length")):0,u=At(r);++t<e;)for(var a=-1,o=n[t];++a<r;)(u[a]||(u[a]=At(e)))[t]=o[a];return u},a.values=at,a.where=ft,a.without=function(n){return yt(n,fe.call(arguments,1))},a.wrap=function(n,t){return function(){var e=[n];return Qt.apply(e,arguments),t.apply(this,e)}},a.zip=function(n){for(var t=-1,e=n?st(pt(arguments,"length")):0,r=At(e);++t<e;)r[t]=pt(arguments,t);return r},a.zipObject=jt,a.collect=pt,a.drop=_t,a.each=ct,a.extend=Ce,a.methods=X,a.object=jt,a.select=ft,a.tail=_t,a.unique=Ct,Et(a),a.clone=W,a.cloneDeep=function(n,t,e){return W(n,!0,t,e)
+},a.contains=ot,a.escape=function(n){return null==n?"":Rt(n).replace(b,K)},a.every=it,a.find=lt,a.findIndex=function(n,t,e){var r=-1,u=n?n.length:0;for(t=a.createCallback(t,e);++r<u;)if(t(n[r],r,n))return r;return-1},a.findKey=function(n,t,e){var r;return t=a.createCallback(t,e),xe(n,function(n,e,u){return t(n,e,u)?(r=e,!1):void 0}),r},a.has=function(n,t){return n?Jt.call(n,t):!1},a.identity=Ot,a.indexOf=bt,a.isArguments=Q,a.isArray=ye,a.isBoolean=function(n){return!0===n||!1===n||Yt.call(n)==x},a.isDate=function(n){return n instanceof Pt||Yt.call(n)==O
},a.isElement=function(n){return n?1===n.nodeType:!1},a.isEmpty=function(n){var t=!0;if(!n)return t;var e=Yt.call(n),r=n.length;return e==k||e==P||(se.argsClass?e==j:Q(n))||e==A&&typeof r=="number"&&nt(n.splice)?!r:(xe(n,function(){return t=!1}),t)},a.isEqual=Z,a.isFinite=function(n){return te(n)&&!ee(parseFloat(n))},a.isFunction=nt,a.isNaN=function(n){return et(n)&&n!=+n},a.isNull=function(n){return null===n},a.isNumber=et,a.isObject=tt,a.isPlainObject=Oe,a.isRegExp=function(n){return n instanceof Ft||Yt.call(n)==I
},a.isString=rt,a.isUndefined=function(n){return typeof n=="undefined"},a.lastIndexOf=function(n,t,e){var r=n?n.length:0;for(typeof e=="number"&&(r=(0>e?ue(0,r+e):ae(e,r-1))+1);r--;)if(n[r]===t)return r;return-1},a.mixin=Et,a.noConflict=function(){return r._=Lt,this},a.parseInt=Ee,a.random=function(n,t){return null==n&&null==t&&(t=1),n=+n||0,null==t&&(t=n,n=0),n+Gt(ie()*((+t||0)-n+1))},a.reduce=vt,a.reduceRight=gt,a.result=function(n,t){var r=n?n[t]:e;return nt(r)?n[t]():r},a.runInContext=t,a.size=function(n){var t=n?n.length:0;
-return typeof t=="number"?t:de(n).length},a.some=ht,a.sortedIndex=wt,a.template=function(n,t,r){var u=a.templateSettings;n||(n=""),r=je({},r,u);var o,i=je({},r.imports,u.imports),u=de(i),i=at(i),f=0,c=r.interpolate||d,v="__p+='",c=Ft((r.escape||d).source+"|"+c.source+"|"+(c===y?g:d).source+"|"+(r.evaluate||d).source+"|$","g");n.replace(c,function(t,e,r,u,a,i){return r||(r=u),v+=n.slice(f,i).replace(_,L),e&&(v+="'+__e("+e+")+'"),a&&(o=!0,v+="';"+a+";__p+='"),r&&(v+="'+((__t=("+r+"))==null?'':__t)+'"),f=i+t.length,t
-}),v+="';\n",c=r=r.variable,c||(r="obj",v="with("+r+"){"+v+"}"),v=(o?v.replace(l,""):v).replace(p,"$1").replace(s,"$1;"),v="function("+r+"){"+(c?"":r+"||("+r+"={});")+"var __t,__p='',__e=_.escape"+(o?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+v+"return __p}";try{var h=Nt(u,"return "+v).apply(e,i)}catch(m){throw m.source=v,m}return t?h(t):(h.source=v,h)},a.unescape=function(n){return null==n?"":Rt(n).replace(v,J)},a.uniqueId=function(n){var t=++o;return Rt(null==n?"":n)+t
-},a.all=it,a.any=ht,a.detect=ct,a.foldl=vt,a.foldr=gt,a.include=ot,a.inject=vt,xe(a,function(n,t){a.prototype[t]||(a.prototype[t]=function(){var t=[this.__wrapped__];return Qt.apply(t,arguments),n.apply(a,t)})}),a.first=mt,a.last=function(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&null!=t){var o=u;for(t=a.createCallback(t,e);o--&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n[u-1];return H(n,ue(0,u-r))}},a.take=mt,a.head=mt,xe(a,function(n,t){a.prototype[t]||(a.prototype[t]=function(t,e){var r=n(this.__wrapped__,t,e);
+return typeof t=="number"?t:de(n).length},a.some=ht,a.sortedIndex=wt,a.template=function(n,t,r){var u=a.templateSettings;n||(n=""),r=je({},r,u);var o,i=je({},r.imports,u.imports),u=de(i),i=at(i),f=0,l=r.interpolate||d,v="__p+='",l=Ft((r.escape||d).source+"|"+l.source+"|"+(l===y?g:d).source+"|"+(r.evaluate||d).source+"|$","g");n.replace(l,function(t,e,r,u,a,i){return r||(r=u),v+=n.slice(f,i).replace(_,L),e&&(v+="'+__e("+e+")+'"),a&&(o=!0,v+="';"+a+";__p+='"),r&&(v+="'+((__t=("+r+"))==null?'':__t)+'"),f=i+t.length,t
+}),v+="';\n",l=r=r.variable,l||(r="obj",v="with("+r+"){"+v+"}"),v=(o?v.replace(c,""):v).replace(p,"$1").replace(s,"$1;"),v="function("+r+"){"+(l?"":r+"||("+r+"={});")+"var __t,__p='',__e=_.escape"+(o?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+v+"return __p}";try{var h=Nt(u,"return "+v).apply(e,i)}catch(m){throw m.source=v,m}return t?h(t):(h.source=v,h)},a.unescape=function(n){return null==n?"":Rt(n).replace(v,J)},a.uniqueId=function(n){var t=++o;return Rt(null==n?"":n)+t
+},a.all=it,a.any=ht,a.detect=lt,a.foldl=vt,a.foldr=gt,a.include=ot,a.inject=vt,xe(a,function(n,t){a.prototype[t]||(a.prototype[t]=function(){var t=[this.__wrapped__];return Qt.apply(t,arguments),n.apply(a,t)})}),a.first=mt,a.last=function(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&null!=t){var o=u;for(t=a.createCallback(t,e);o--&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n[u-1];return H(n,ue(0,u-r))}},a.take=mt,a.head=mt,xe(a,function(n,t){a.prototype[t]||(a.prototype[t]=function(t,e){var r=n(this.__wrapped__,t,e);
return null==t||e&&typeof t!="function"?r:new U(r)})}),a.VERSION="1.1.1",a.prototype.toString=function(){return Rt(this.__wrapped__)},a.prototype.value=St,a.prototype.valueOf=St,be(["join","pop","shift"],function(n){var t=Dt[n];a.prototype[n]=function(){return t.apply(this.__wrapped__,arguments)}}),be(["push","reverse","sort","unshift"],function(n){var t=Dt[n];a.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),be(["concat","slice","splice"],function(n){var t=Dt[n];a.prototype[n]=function(){return new U(t.apply(this.__wrapped__,arguments))
-}}),se.spliceObjects||be(["pop","shift","splice"],function(n){var t=Dt[n],e="splice"==n;a.prototype[n]=function(){var n=this.__wrapped__,r=t.apply(n,arguments);return 0===n.length&&delete n[0],e?new U(r):r}}),a}var e,r=typeof exports=="object"&&exports,u=typeof module=="object"&&module&&module.exports==r&&module,a=typeof global=="object"&&global;(a.global===a||a.window===a)&&(n=a);var o=0,i={},f=+new Date+"",c=200,l=/\b__p\+='';/g,p=/\b(__p\+=)''\+/g,s=/(__e\(.*?\)|\b__t\))\+'';/g,v=/&(?:amp|lt|gt|quot|#39);/g,g=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,h=/\w*$/,y=/<%=([\s\S]+?)%>/g,m=/^0+(?=.$)/,d=/($^)/,b=/[&<>"']/g,_=/['\n\r\t\u2028\u2029\\]/g,w="Array Boolean Date Function Math Number Object RegExp String _ attachEvent clearTimeout isFinite isNaN parseInt setImmediate setTimeout".split(" "),C="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),j="[object Arguments]",k="[object Array]",x="[object Boolean]",O="[object Date]",E="[object Function]",S="[object Number]",A="[object Object]",I="[object RegExp]",P="[object String]",N={};
+}}),se.spliceObjects||be(["pop","shift","splice"],function(n){var t=Dt[n],e="splice"==n;a.prototype[n]=function(){var n=this.__wrapped__,r=t.apply(n,arguments);return 0===n.length&&delete n[0],e?new U(r):r}}),a}var e,r=typeof exports=="object"&&exports,u=typeof module=="object"&&module&&module.exports==r&&module,a=typeof global=="object"&&global;(a.global===a||a.window===a)&&(n=a);var o=0,i={},f=+new Date+"",l=200,c=/\b__p\+='';/g,p=/\b(__p\+=)''\+/g,s=/(__e\(.*?\)|\b__t\))\+'';/g,v=/&(?:amp|lt|gt|quot|#39);/g,g=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,h=/\w*$/,y=/<%=([\s\S]+?)%>/g,m=/^0+(?=.$)/,d=/($^)/,b=/[&<>"']/g,_=/['\n\r\t\u2028\u2029\\]/g,w="Array Boolean Date Function Math Number Object RegExp String _ attachEvent clearTimeout isFinite isNaN parseInt setImmediate setTimeout".split(" "),C="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),j="[object Arguments]",k="[object Array]",x="[object Boolean]",O="[object Date]",E="[object Function]",S="[object Number]",A="[object Object]",I="[object RegExp]",P="[object String]",N={};
N[E]=!1,N[j]=N[k]=N[x]=N[O]=N[S]=N[A]=N[I]=N[P]=!0;var $={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},q={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},B=t();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(n._=B,define(function(){return B})):r&&!r.nodeType?u?(u.exports=B)._=B:r._=B:n._=B})(this);
View
32 dist/lodash.js
@@ -422,16 +422,15 @@
* @private
* @param {Array} array The array to search.
* @param {Mixed} value The value to search for.
- * @param {Number} fromIndex The index to search from.
* @returns {Boolean} Returns `true`, if `value` is found, else `false`.
*/
- function cachedContains(array, fromIndex) {
+ function cachedContains(array) {
var length = array.length,
- isLarge = (length - fromIndex) >= largeArraySize;
+ isLarge = length >= largeArraySize;
if (isLarge) {
var cache = {},
- index = fromIndex - 1;
+ index = -1;
while (++index < length) {
var key = keyPrefix + array[index];
@@ -443,7 +442,7 @@
var key = keyPrefix + value;
return cache[key] && indexOf(cache[key], value) > -1;
}
- return indexOf(array, value, fromIndex) > -1;
+ return indexOf(array, value) > -1;
}
}
@@ -1892,12 +1891,12 @@
if (isFunc) {
callback = lodash.createCallback(callback, thisArg);
} else {
- var props = concat.apply(arrayRef, arguments);
+ var props = concat.apply(arrayRef, nativeSlice.call(arguments, 1));
}
forIn(object, function(value, key, object) {
if (isFunc
? !callback(value, key, object)
- : indexOf(props, key, 1) < 0
+ : indexOf(props, key) < 0
) {
result[key] = value;
}
@@ -1960,8 +1959,8 @@
function pick(object, callback, thisArg) {
var result = {};
if (typeof callback != 'function') {
- var index = 0,
- props = concat.apply(arrayRef, arguments),
+ var index = -1,
+ props = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
length = isObject(object) ? props.length : 0;
while (++index < length) {
@@ -3080,8 +3079,8 @@
function difference(array) {
var index = -1,
length = array ? array.length : 0,
- flattened = concat.apply(arrayRef, arguments),
- contains = cachedContains(flattened, length),
+ flattened = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
+ contains = cachedContains(flattened),
result = [];
while (++index < length) {
@@ -3431,7 +3430,7 @@
}
var argsIndex = argsLength;
while (--argsIndex) {
- if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex], 0)))(value)) {
+ if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex])))(value)) {
continue outer;
}
}
@@ -3755,7 +3754,10 @@
* _.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
* // => [1, 2, 3, 101, 10]
*/
- function union() {
+ function union(array) {
+ if (!isArray(array)) {
+ arguments[0] = array ? nativeSlice.call(array) : arrayRef;
+ }
return uniq(concat.apply(arrayRef, arguments));
}
@@ -4046,8 +4048,8 @@
* // => alerts 'clicked docs', when the button is clicked
*/
function bindAll(object) {
- var funcs = concat.apply(arrayRef, arguments),
- index = funcs.length > 1 ? 0 : (funcs = functions(object), -1),
+ var funcs = arguments.length > 1 ? concat.apply(arrayRef, nativeSlice.call(arguments, 1)) : functions(object),
+ index = -1,
length = funcs.length;
while (++index < length) {
View
32 dist/lodash.legacy.js
@@ -535,16 +535,15 @@
* @private
* @param {Array} array The array to search.
* @param {Mixed} value The value to search for.
- * @param {Number} fromIndex The index to search from.
* @returns {Boolean} Returns `true`, if `value` is found, else `false`.
*/
- function cachedContains(array, fromIndex) {
+ function cachedContains(array) {
var length = array.length,
- isLarge = (length - fromIndex) >= largeArraySize;
+ isLarge = length >= largeArraySize;
if (isLarge) {
var cache = {},
- index = fromIndex - 1;
+ index = -1;
while (++index < length) {
var key = keyPrefix + array[index];
@@ -556,7 +555,7 @@
var key = keyPrefix + value;
return cache[key] && indexOf(cache[key], value) > -1;
}
- return indexOf(array, value, fromIndex) > -1;
+ return indexOf(array, value) > -1;
}
}
@@ -2036,12 +2035,12 @@
if (isFunc) {
callback = lodash.createCallback(callback, thisArg);
} else {
- var props = concat.apply(arrayRef, arguments);
+ var props = concat.apply(arrayRef, nativeSlice.call(arguments, 1));
}
forIn(object, function(value, key, object) {
if (isFunc
? !callback(value, key, object)
- : indexOf(props, key, 1) < 0
+ : indexOf(props, key) < 0
) {
result[key] = value;
}
@@ -2104,8 +2103,8 @@
function pick(object, callback, thisArg) {
var result = {};
if (typeof callback != 'function') {
- var index = 0,
- props = concat.apply(arrayRef, arguments),
+ var index = -1,
+ props = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
length = isObject(object) ? props.length : 0;
while (++index < length) {
@@ -3217,8 +3216,8 @@
function difference(array) {
var index = -1,
length = array ? array.length : 0,
- flattened = concat.apply(arrayRef, arguments),
- contains = cachedContains(flattened, length),
+ flattened = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
+ contains = cachedContains(flattened),
result = [];
while (++index < length) {
@@ -3568,7 +3567,7 @@
}
var argsIndex = argsLength;
while (--argsIndex) {
- if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex], 0)))(value)) {
+ if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex])))(value)) {
continue outer;
}
}
@@ -3892,7 +3891,10 @@
* _.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
* // => [1, 2, 3, 101, 10]
*/
- function union() {
+ function union(array) {
+ if (!isArray(array)) {
+ arguments[0] = array ? nativeSlice.call(array) : arrayRef;
+ }
return uniq(concat.apply(arrayRef, arguments));
}
@@ -4178,8 +4180,8 @@
* // => alerts 'clicked docs', when the button is clicked
*/
function bindAll(object) {
- var funcs = concat.apply(arrayRef, arguments),
- index = funcs.length > 1 ? 0 : (funcs = functions(object), -1),
+ var funcs = arguments.length > 1 ? concat.apply(arrayRef, nativeSlice.call(arguments, 1)) : functions(object),
+ index = -1,
length = funcs.length;
while (++index < length) {
View
16 dist/lodash.legacy.min.js
@@ -4,7 +4,7 @@
* Build: `lodash legacy -o ./dist/lodash.legacy.js`
* Underscore.js 1.4.4 underscorejs.org/LICENSE
*/
-;(function(n){function t(r){function u(n){return n&&typeof n=="object"&&!ee(n)&&Mt.call(n,"__wrapped__")?n:new M(n)}function a(n,t){var e=n.length,r=e-t>=c;if(r)for(var u={},a=t-1;++a<e;){var o=f+n[a];(u[o]||(u[o]=[])).push(n[a])}return function(e){if(r){var a=f+e;return u[a]&&-1<mt(u[a],e)}return-1<mt(n,e,t)}}function R(n){return n.charCodeAt(0)}function T(n,t){var e=n.b,r=t.b;if(n=n.a,t=t.a,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function $(n,t,e,r){function u(){var r=arguments,c=o?this:t;
+;(function(n){function t(r){function u(n){return n&&typeof n=="object"&&!ee(n)&&Mt.call(n,"__wrapped__")?n:new M(n)}function a(n){var t=n.length,e=t>=c;if(e)for(var r={},u=-1;++u<t;){var a=f+n[u];(r[a]||(r[a]=[])).push(n[u])}return function(t){if(e){var u=f+t;return r[u]&&-1<mt(r[u],t)}return-1<mt(n,t)}}function R(n){return n.charCodeAt(0)}function T(n,t){var e=n.b,r=t.b;if(n=n.a,t=t.a,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function $(n,t,e,r){function u(){var r=arguments,c=o?this:t;
return a||(n=t[i]),e.length&&(r=r.length?(r=Zt.call(r),f?r.concat(e):e.concat(r)):e),this instanceof u?(U.prototype=n.prototype,c=new U,U.prototype=null,r=n.apply(c,r),Z(r)?r:c):n.apply(c,r)}var a=Y(n),o=!e,i=t;if(o){var f=r;e=t}else if(!a){if(!r)throw new Bt;t=n}return u}function D(){for(var n,t={g:C,b:"k(m)",c:"",e:"m",f:"",h:"",i:!0},e=0;n=arguments[e];e++)for(var r in n)t[r]=n[r];if(n=t.a,t.d=/^[^,]+/.exec(n)[0],e=At,r="var i,m="+t.d+",u="+t.e+";if(!m)return u;"+t.h+";",t.b?(r+="var n=m.length;i=-1;if("+t.b+"){",te.unindexedChars&&(r+="if(l(m)){m=m.split('')}"),r+="while(++i<n){"+t.f+"}}else{"):te.nonEnumArgs&&(r+="var n=m.length;i=-1;if(n&&j(m)){while(++i<n){i+='';"+t.f+"}}else{"),te.enumPrototypes&&(r+="var v=typeof m=='function';"),r+="for(i in m){",(te.enumPrototypes||t.i)&&(r+="if(",te.enumPrototypes&&(r+="!(v&&i=='prototype')"),te.enumPrototypes&&t.i&&(r+="&&"),t.i&&(r+="h.call(m,i)"),r+="){"),r+=t.f+";",(te.enumPrototypes||t.i)&&(r+="}"),r+="}",te.nonEnumShadows){r+="var f=m.constructor;";
for(var a=0;7>a;a++)r+="i='"+t.g[a]+"';if(","constructor"==t.g[a]&&(r+="!(f&&f.prototype===m)&&"),r+="h.call(m,i)){"+t.f+"}"}return(t.b||te.nonEnumArgs)&&(r+="}"),r+=t.c+";return u",e("h,j,k,l,o,p,r","return function("+n+"){"+r+"}")(Mt,H,ee,tt,re,u,q)}function z(n){return"\\"+F[n]}function L(n){return ae[n]}function K(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}function M(n){this.__wrapped__=n}function U(){}function V(n,t,e){t||(t=0),typeof e=="undefined"&&(e=n?n.length:0);var r=-1;
e=e-t||0;for(var u=Ot(0>e?0:e);++r<e;)u[r]=n[t+r];return u}function G(n){return oe[n]}function H(n){return n?Mt.call(n,"callee"):!1}function J(n,t,r,a,o,i){var f=n;if(typeof t=="function"&&(a=r,r=t,t=!1),typeof r=="function"){if(r=typeof a=="undefined"?r:u.createCallback(r,a,1),f=r(f),typeof f!="undefined")return f;f=n}if(a=Z(f)){var c=Gt.call(f);if(!P[c]||!te.nodeClass&&K(f))return f;var l=ee(f)}if(!a||!t)return a?l?V(f):ie({},f):f;switch(a=ne[c],c){case x:case O:return new a(+f);case S:case N:return new a(f);
@@ -16,7 +16,7 @@ for(;++a<o;)(ee(r[a])?ft:le)(r[a],function(t,e){var r,u,a=t,o=n[e];if(t&&((u=ee(
}),a}function at(n,t,e){var r=!0;if(t=u.createCallback(t,e),ee(n)){e=-1;for(var a=n.length;++e<a&&(r=!!t(n[e],e,n)););}else ue(n,function(n,e,u){return r=!!t(n,e,u)});return r}function ot(n,t,e){var r=[];if(t=u.createCallback(t,e),ee(n)){e=-1;for(var a=n.length;++e<a;){var o=n[e];t(o,e,n)&&r.push(o)}}else ue(n,function(n,e,u){t(n,e,u)&&r.push(n)});return r}function it(n,t,e){if(t=u.createCallback(t,e),!ee(n)){var r;return ue(n,function(n,e,u){return t(n,e,u)?(r=n,!1):void 0}),r}e=-1;for(var a=n.length;++e<a;){var o=n[e];
if(t(o,e,n))return o}}function ft(n,t,e){if(t&&typeof e=="undefined"&&ee(n)){e=-1;for(var r=n.length;++e<r&&!1!==t(n[e],e,n););}else ue(n,t,e);return n}function ct(n,t,e){var r=-1,a=n?n.length:0,o=Ot(typeof a=="number"?a:0);if(t=u.createCallback(t,e),ee(n))for(;++r<a;)o[r]=t(n[r],r,n);else ue(n,function(n,e,u){o[++r]=t(n,e,u)});return o}function lt(n,t,e){var r=-1/0,a=r;if(!t&&ee(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i>a&&(a=i)}}else t=!t&&tt(n)?R:u.createCallback(t,e),ue(n,function(n,e,u){e=t(n,e,u),e>r&&(r=e,a=n)
});return a}function pt(n,t,e,r){var a=3>arguments.length;if(t=u.createCallback(t,r,4),ee(n)){var o=-1,i=n.length;for(a&&(e=n[++o]);++o<i;)e=t(e,n[o],o,n)}else ue(n,function(n,r,u){e=a?(a=!1,n):t(e,n,r,u)});return e}function st(n,t,e,r){var a=n,o=n?n.length:0,i=3>arguments.length;if(typeof o!="number")var f=re(n),o=f.length;else te.unindexedChars&&tt(n)&&(a=n.split(""));return t=u.createCallback(t,r,4),ft(n,function(n,r,u){r=f?f[--o]:--o,e=i?(i=!1,a[r]):t(e,a[r],r,u)}),e}function vt(n,t,e){var r;
-if(t=u.createCallback(t,e),ee(n)){e=-1;for(var a=n.length;++e<a&&!(r=t(n[e],e,n)););}else ue(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function gt(n){for(var t=-1,e=n?n.length:0,r=Lt.apply(Rt,arguments),r=a(r,e),u=[];++t<e;){var o=n[t];r(o)||u.push(o)}return u}function ht(n,t,e){if(n){var r=0,a=n.length;if(typeof t!="number"&&null!=t){var o=-1;for(t=u.createCallback(t,e);++o<a&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n[0];return V(n,0,Wt(Qt(0,r),a))}}function yt(n,t,e,r){var a=-1,o=n?n.length:0,i=[];
+if(t=u.createCallback(t,e),ee(n)){e=-1;for(var a=n.length;++e<a&&!(r=t(n[e],e,n)););}else ue(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function gt(n){for(var t=-1,e=n?n.length:0,r=Lt.apply(Rt,Zt.call(arguments,1)),r=a(r),u=[];++t<e;){var o=n[t];r(o)||u.push(o)}return u}function ht(n,t,e){if(n){var r=0,a=n.length;if(typeof t!="number"&&null!=t){var o=-1;for(t=u.createCallback(t,e);++o<a&&t(n[o],o,n);)r++}else if(r=t,null==r||e)return n[0];return V(n,0,Wt(Qt(0,r),a))}}function yt(n,t,e,r){var a=-1,o=n?n.length:0,i=[];
for(typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1),null!=e&&(e=u.createCallback(e,r));++a<o;)r=n[a],e&&(r=e(r,a,n)),ee(r)?Ut.apply(i,t?r:yt(r)):i.push(r);return i}function mt(n,t,e){var r=-1,u=n?n.length:0;if(typeof e=="number")r=(0>e?Qt(0,u+e):e||0)-1;else if(e)return r=bt(n,t),n[r]===t?r:-1;for(;++r<u;)if(n[r]===t)return r;return-1}function dt(n,t,e){if(typeof t!="number"&&null!=t){var r=0,a=-1,o=n?n.length:0;for(t=u.createCallback(t,e);++a<o&&t(n[a],a,n);)r++}else r=null==t||e?1:Qt(0,t);return V(n,r)
}function bt(n,t,e,r){var a=0,o=n?n.length:a;for(e=e?u.createCallback(e,r,1):jt,t=e(t);a<o;)r=a+o>>>1,e(n[r])<t?a=r+1:o=r;return a}function _t(n,t,e,r){var a=-1,o=n?n.length:0,i=[],l=i;typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1);var p=!t&&o>=c;if(p)var s={};for(null!=e&&(l=[],e=u.createCallback(e,r));++a<o;){r=n[a];var v=e?e(r,a,n):r;if(p)var g=f+v,g=s[g]?!(l=s[g]):l=s[g]=[];(t?!a||l[l.length-1]!==v:g||0>mt(l,v))&&((e||p)&&l.push(v),i.push(r))}return i}function wt(n,t){for(var e=-1,r=n?n.length:0,u={};++e<r;){var a=n[e];
t?u[a]=t[e]:u[a[0]]=a[1]}return u}function Ct(n,t){return $(n,t,Zt.call(arguments,2))}function jt(n){return n}function kt(n){ft(Q(n),function(t){var e=u[t]=n[t];u.prototype[t]=function(){var n=this.__wrapped__,t=[n];return Ut.apply(t,arguments),t=e.apply(u,t),n&&typeof n=="object"&&n==t?this:new M(t)}})}function xt(){return this.__wrapped__}r=r?B.defaults(n.Object(),r,B.pick(n,w)):n;var Ot=r.Array,Et=r.Boolean,St=r.Date,At=r.Function,It=r.Math,Nt=r.Number,Pt=r.Object,qt=r.RegExp,Ft=r.String,Bt=r.TypeError,Rt=Ot(),Tt=Pt(),$t=r._,Dt=It.ceil,zt=r.clearTimeout,Lt=Rt.concat,Kt=It.floor,Mt=Tt.hasOwnProperty,Ut=Rt.push,Vt=r.setTimeout,Gt=Tt.toString,Ht=r.isFinite,Jt=r.isNaN,Qt=It.max,Wt=It.min,Xt=r.parseInt,Yt=It.random,Zt=Rt.slice,ne={};
@@ -24,15 +24,15 @@ ne[k]=Ot,ne[x]=Et,ne[O]=St,ne[A]=Pt,ne[S]=Nt,ne[I]=qt,ne[N]=Ft;var te=u.support=
}catch(u){te.nodeClass=!0}})(1),u.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:y,variable:"",imports:{_:u}},Et={a:"q,w,g",h:"var a=arguments,b=0,c=typeof g=='number'?2:a.length;while(++b<c){m=a[b];if(m&&r[typeof m]){",f:"if(typeof u[i]=='undefined')u[i]=m[i]",c:"}}"},It={a:"e,d,x",h:"d=d&&typeof x=='undefined'?d:p.createCallback(d,x)",b:"typeof n=='number'",f:"if(d(m[i],i,e)===false)return u"},Nt={h:"if(!r[typeof m])return u;"+It.h,b:!1},M.prototype=u.prototype;
var ee=function(n){return te.argsObject&&n instanceof Ot||Gt.call(n)==k},re=D({a:"q",e:"[]",h:"if(!(r[typeof q]))return u",f:"u.push(i)",b:!1}),ue=D(It),ae={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},oe=W(ae),ie=D(Et,{h:Et.h.replace(";",";if(c>3&&typeof a[c-2]=='function'){var d=p.createCallback(a[--c-1],a[c--],2);}else if(c>2&&typeof a[c-1]=='function'){d=a[--c];}"),f:"u[i]=d?d(u[i],m[i]):m[i]"}),fe=D(Et),ce=D(It,Nt,{i:!1}),le=D(It,Nt);Y(/x/)&&(Y=function(n){return n instanceof At||Gt.call(n)==E
});var pe=function(n){var t=!1;if(!n||Gt.call(n)!=A||!te.argsClass&&H(n))return t;var e=n.constructor;return(Y(e)?e instanceof e:te.nodeClass||!K(n))?te.ownLast?(ce(n,function(n,e,r){return t=Mt.call(r,e),!1}),!0===t):(ce(n,function(n,e){t=e}),!1===t||Mt.call(n,t)):t},Et=8==Xt("08")?Xt:function(n,t){return Xt(tt(n)?n.replace(m,""):n,t||0)};return u.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},u.assign=ie,u.at=function(n){var t=-1,e=Lt.apply(Rt,Zt.call(arguments,1)),r=e.length,u=Ot(r);
-for(te.unindexedChars&&tt(n)&&(n=n.split(""));++t<r;)u[t]=n[e[t]];return u},u.bind=Ct,u.bindAll=function(n){for(var t=Lt.apply(Rt,arguments),e=1<t.length?0:(t=Q(n),-1),r=t.length;++e<r;){var u=t[e];n[u]=Ct(n[u],n)}return n},u.bindKey=function(n,t){return $(n,t,Zt.call(arguments,2),i)},u.compact=function(n){for(var t=-1,e=n?n.length:0,r=[];++t<e;){var u=n[t];u&&r.push(u)}return r},u.compose=function(){var n=arguments;return function(){for(var t=arguments,e=n.length;e--;)t=[n[e].apply(this,t)];return t[0]
-}},u.countBy=function(n,t,e){var r={};return t=u.createCallback(t,e),ft(n,function(n,e,u){e=Ft(t(n,e,u)),Mt.call(r,e)?r[e]++:r[e]=1}),r},u.createCallback=function(n,t,e){if(null==n)return jt;var r=typeof n;if("function"!=r){if("object"!=r)return function(t){return t[n]};var u=re(n);return function(t){for(var e=u.length,r=!1;e--&&(r=X(t[u[e]],n[u[e]],i)););return r}}return typeof t!="undefined"?1===e?function(e){return n.call(t,e)}:2===e?function(e,r){return n.call(t,e,r)}:4===e?function(e,r,u,a){return n.call(t,e,r,u,a)
+for(te.unindexedChars&&tt(n)&&(n=n.split(""));++t<r;)u[t]=n[e[t]];return u},u.bind=Ct,u.bindAll=function(n){for(var t=1<arguments.length?Lt.apply(Rt,Zt.call(arguments,1)):Q(n),e=-1,r=t.length;++e<r;){var u=t[e];n[u]=Ct(n[u],n)}return n},u.bindKey=function(n,t){return $(n,t,Zt.call(arguments,2),i)},u.compact=function(n){for(var t=-1,e=n?n.length:0,r=[];++t<e;){var u=n[t];u&&r.push(u)}return r},u.compose=function(){var n=arguments;return function(){for(var t=arguments,e=n.length;e--;)t=[n[e].apply(this,t)];
+return t[0]}},u.countBy=function(n,t,e){var r={};return t=u.createCallback(t,e),ft(n,function(n,e,u){e=Ft(t(n,e,u)),Mt.call(r,e)?r[e]++:r[e]=1}),r},u.createCallback=function(n,t,e){if(null==n)return jt;var r=typeof n;if("function"!=r){if("object"!=r)return function(t){return t[n]};var u=re(n);return function(t){for(var e=u.length,r=!1;e--&&(r=X(t[u[e]],n[u[e]],i)););return r}}return typeof t!="undefined"?1===e?function(e){return n.call(t,e)}:2===e?function(e,r){return n.call(t,e,r)}:4===e?function(e,r,u,a){return n.call(t,e,r,u,a)
}:function(e,r,u){return n.call(t,e,r,u)}:n},u.debounce=function(n,t,e){function r(){i=null,f&&(a=n.apply(o,u))}var u,a,o,i,f=!0;if(!0===e)var c=!0,f=!1;else e&&q[typeof e]&&(c=e.leading,f="trailing"in e?e.trailing:f);return function(){var e=c&&!i;return u=arguments,o=this,zt(i),i=Vt(r,t),e&&(a=n.apply(o,u)),a}},u.defaults=fe,u.defer=function(n){var t=Zt.call(arguments,1);return Vt(function(){n.apply(e,t)},1)},u.delay=function(n,t){var r=Zt.call(arguments,2);return Vt(function(){n.apply(e,r)},t)},u.difference=gt,u.filter=ot,u.flatten=yt,u.forEach=ft,u.forIn=ce,u.forOwn=le,u.functions=Q,u.groupBy=function(n,t,e){var r={};
return t=u.createCallback(t,e),ft(n,function(n,e,u){e=Ft(t(n,e,u)),(Mt.call(r,e)?r[e]:r[e]=[]).push(n)}),r},u.initial=function(n,t,e){if(!n)return[];var r=0,a=n.length;if(typeof t!="number"&&null!=t){var o=a;for(t=u.createCallback(t,e);o--&&t(n[o],o,n);)r++}else r=null==t||e?1:t||r;return V(n,0,Wt(Qt(0,a-r),a))},u.intersection=function(n){var t=arguments,e=t.length,r={0:{}},u=-1,o=n?n.length:0,i=o>=c,l=[],p=l;n:for(;++u<o;){var s=n[u];if(i)var v=f+s,v=r[0][v]?!(p=r[0][v]):p=r[0][v]=[];if(v||0>mt(p,s)){i&&p.push(s);
-for(var g=e;--g;)if(!(r[g]||(r[g]=a(t[g],0)))(s))continue n;l.push(s)}}return l},u.invert=W,u.invoke=function(n,t){var e=Zt.call(arguments,2),r=-1,u=typeof t=="function",a=n?n.length:0,o=Ot(typeof a=="number"?a:0);return ft(n,function(n){o[++r]=(u?t:n[t]).apply(n,e)}),o},u.keys=re,u.map=ct,u.max=lt,u.memoize=function(n,t){var e={};return function(){var r=f+(t?t.apply(this,arguments):arguments[0]);return Mt.call(e,r)?e[r]:e[r]=n.apply(this,arguments)}},u.merge=et,u.min=function(n,t,e){var r=1/0,a=r;
-if(!t&&ee(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i<a&&(a=i)}}else t=!t&&tt(n)?R:u.createCallback(t,e),ue(n,function(n,e,u){e=t(n,e,u),e<r&&(r=e,a=n)});return a},u.omit=function(n,t,e){var r=typeof t=="function",a={};if(r)t=u.createCallback(t,e);else var o=Lt.apply(Rt,arguments);return ce(n,function(n,e,u){(r?!t(n,e,u):0>mt(o,e,1))&&(a[e]=n)}),a},u.once=function(n){var t,e;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}},u.pairs=function(n){for(var t=-1,e=re(n),r=e.length,u=Ot(r);++t<r;){var a=e[t];
-u[t]=[a,n[a]]}return u},u.partial=function(n){return $(n,Zt.call(arguments,1))},u.partialRight=function(n){return $(n,Zt.call(arguments,1),null,i)},u.pick=function(n,t,e){var r={};if(typeof t!="function")for(var a=0,o=Lt.apply(Rt,arguments),i=Z(n)?o.length:0;++a<i;){var f=o[a];f in n&&(r[f]=n[f])}else t=u.createCallback(t,e),ce(n,function(n,e,u){t(n,e,u)&&(r[e]=n)});return r},u.pluck=ct,u.range=function(n,t,e){n=+n||0,e=+e||1,null==t&&(t=n,n=0);var r=-1;t=Qt(0,Dt((t-n)/e));for(var u=Ot(t);++r<t;)u[r]=n,n+=e;
+for(var g=e;--g;)if(!(r[g]||(r[g]=a(t[g])))(s))continue n;l.push(s)}}return l},u.invert=W,u.invoke=function(n,t){var e=Zt.call(arguments,2),r=-1,u=typeof t=="function",a=n?n.length:0,o=Ot(typeof a=="number"?a:0);return ft(n,function(n){o[++r]=(u?t:n[t]).apply(n,e)}),o},u.keys=re,u.map=ct,u.max=lt,u.memoize=function(n,t){var e={};return function(){var r=f+(t?t.apply(this,arguments):arguments[0]);return Mt.call(e,r)?e[r]:e[r]=n.apply(this,arguments)}},u.merge=et,u.min=function(n,t,e){var r=1/0,a=r;
+if(!t&&ee(n)){e=-1;for(var o=n.length;++e<o;){var i=n[e];i<a&&(a=i)}}else t=!t&&tt(n)?R:u.createCallback(t,e),ue(n,function(n,e,u){e=t(n,e,u),e<r&&(r=e,a=n)});return a},u.omit=function(n,t,e){var r=typeof t=="function",a={};if(r)t=u.createCallback(t,e);else var o=Lt.apply(Rt,Zt.call(arguments,1));return ce(n,function(n,e,u){(r?!t(n,e,u):0>mt(o,e))&&(a[e]=n)}),a},u.once=function(n){var t,e;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}},u.pairs=function(n){for(var t=-1,e=re(n),r=e.length,u=Ot(r);++t<r;){var a=e[t];
+u[t]=[a,n[a]]}return u},u.partial=function(n){return $(n,Zt.call(arguments,1))},u.partialRight=function(n){return $(n,Zt.call(arguments,1),null,i)},u.pick=function(n,t,e){var r={};if(typeof t!="function")for(var a=-1,o=Lt.apply(Rt,Zt.call(arguments,1)),i=Z(n)?o.length:0;++a<i;){var f=o[a];f in n&&(r[f]=n[f])}else t=u.createCallback(t,e),ce(n,function(n,e,u){t(n,e,u)&&(r[e]=n)});return r},u.pluck=ct,u.range=function(n,t,e){n=+n||0,e=+e||1,null==t&&(t=n,n=0);var r=-1;t=Qt(0,Dt((t-n)/e));for(var u=Ot(t);++r<t;)u[r]=n,n+=e;
return u},u.reject=function(n,t,e){return t=u.createCallback(t,e),ot(n,function(n,e,r){return!t(n,e,r)})},u.rest=dt,u.shuffle=function(n){var t=-1,e=n?n.length:0,r=Ot(typeof e=="number"?e:0);return ft(n,function(n){var e=Kt(Yt()*(++t+1));r[t]=r[e],r[e]=n}),r},u.sortBy=function(n,t,e){var r=-1,a=n?n.length:0,o=Ot(typeof a=="number"?a:0);for(t=u.createCallback(t,e),ft(n,function(n,e,u){o[++r]={a:t(n,e,u),b:r,c:n}}),a=o.length,o.sort(T);a--;)o[a]=o[a].c;return o},u.tap=function(n,t){return t(n),n},u.throttle=function(n,t,e){function r(){f=new St,i=null,l&&(a=n.apply(o,u))
-}var u,a,o,i,f=0,c=!0,l=!0;return!1===e?c=!1:e&&q[typeof e]&&(c="leading"in e?e.leading:c,l="trailing"in e?e.trailing:l),function(){var e=new St;!i&&!c&&(f=e);var l=t-(e-f);return u=arguments,o=this,0<l?i||(i=Vt(r,l)):(zt(i),i=null,f=e,a=n.apply(o,u)),a}},u.times=function(n,t,e){n=-1<(n=+n)?n:0;var r=-1,a=Ot(n);for(t=u.createCallback(t,e,1);++r<n;)a[r]=t(r);return a},u.toArray=function(n){return n&&typeof n.length=="number"?te.unindexedChars&&tt(n)?n.split(""):V(n):rt(n)},u.union=function(){return _t(Lt.apply(Rt,arguments))
+}var u,a,o,i,f=0,c=!0,l=!0;return!1===e?c=!1:e&&q[typeof e]&&(c="leading"in e?e.leading:c,l="trailing"in e?e.trailing:l),function(){var e=new St;!i&&!c&&(f=e);var l=t-(e-f);return u=arguments,o=this,0<l?i||(i=Vt(r,l)):(zt(i),i=null,f=e,a=n.apply(o,u)),a}},u.times=function(n,t,e){n=-1<(n=+n)?n:0;var r=-1,a=Ot(n);for(t=u.createCallback(t,e,1);++r<n;)a[r]=t(r);return a},u.toArray=function(n){return n&&typeof n.length=="number"?te.unindexedChars&&tt(n)?n.split(""):V(n):rt(n)},u.union=function(n){return ee(n)||(arguments[0]=n?Zt.call(n):Rt),_t(Lt.apply(Rt,arguments))
},u.uniq=_t,u.unzip=function(n){for(var t=-1,e=n?n.length:0,r=e?lt(ct(n,"length")):0,u=Ot(r);++t<e;)for(var a=-1,o=n[t];++a<r;)(u[a]||(u[a]=Ot(e)))[t]=o[a];return u},u.values=rt,u.where=ot,u.without=function(n){return gt(n,Zt.call(arguments,1))},u.wrap=function(n,t){return function(){var e=[n];return Ut.apply(e,arguments),t.apply(this,e)}},u.zip=function(n){for(var t=-1,e=n?lt(ct(arguments,"length")):0,r=Ot(e);++t<e;)r[t]=ct(arguments,t);return r},u.zipObject=wt,u.collect=ct,u.drop=dt,u.each=ft,u.extend=ie,u.methods=Q,u.object=wt,u.select=ot,u.tail=dt,u.unique=_t,kt(u),u.clone=J,u.cloneDeep=function(n,t,e){return J(n,!0,t,e)
},u.contains=ut,u.escape=function(n){return null==n?"":Ft(n).replace(b,L)},u.every=at,u.find=it,u.findIndex=function(n,t,e){var r=-1,a=n?n.length:0;for(t=u.createCallback(t,e);++r<a;)if(t(n[r],r,n))return r;return-1},u.findKey=function(n,t,e){var r;return t=u.createCallback(t,e),le(n,function(n,e,u){return t(n,e,u)?(r=e,!1):void 0}),r},u.has=function(n,t){return n?Mt.call(n,t):!1},u.identity=jt,u.indexOf=mt,u.isArguments=H,u.isArray=ee,u.isBoolean=function(n){return!0===n||!1===n||Gt.call(n)==x},u.isDate=function(n){return n instanceof St||Gt.call(n)==O
},u.isElement=function(n){return n?1===n.nodeType:!1},u.isEmpty=function(n){var t=!0;if(!n)return t;var e=Gt.call(n),r=n.length;return e==k||e==N||(te.argsClass?e==j:H(n))||e==A&&typeof r=="number"&&Y(n.splice)?!r:(le(n,function(){return t=!1}),t)},u.isEqual=X,u.isFinite=function(n){return Ht(n)&&!Jt(parseFloat(n))},u.isFunction=Y,u.isNaN=function(n){return nt(n)&&n!=+n},u.isNull=function(n){return null===n},u.isNumber=nt,u.isObject=Z,u.isPlainObject=pe,u.isRegExp=function(n){return n instanceof qt||Gt.call(n)==I
View
16 dist/lodash.min.js
@@ -4,7 +4,7 @@
* Build: `lodash modern -o ./dist/lodash.js`
* Underscore.js 1.4.4 underscorejs.org/LICENSE
*/
-;(function(n){function t(r){function a(n){return n&&typeof n=="object"&&!ge(n)&&Ht.call(n,"__wrapped__")?n:new K(n)}function B(n,t){var e=n.length,r=e-t>=c;if(r)for(var u={},a=t-1;++a<e;){var i=f+n[a];(u[i]||(u[i]=[])).push(n[a])}return function(e){if(r){var a=f+e;return u[a]&&-1<mt(u[a],e)}return-1<mt(n,e,t)}}function F(n){return n.charCodeAt(0)}function R(n,t){var e=n.b,r=t.b;if(n=n.a,t=t.a,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function T(n,t,e,r){function u(){var r=arguments,c=i?this:t;
+;(function(n){function t(r){function a(n){return n&&typeof n=="object"&&!ge(n)&&Ht.call(n,"__wrapped__")?n:new K(n)}function B(n){var t=n.length,e=t>=c;if(e)for(var r={},u=-1;++u<t;){var a=f+n[u];(r[a]||(r[a]=[])).push(n[u])}return function(t){if(e){var u=f+t;return r[u]&&-1<mt(r[u],t)}return-1<mt(n,t)}}function F(n){return n.charCodeAt(0)}function R(n,t){var e=n.b,r=t.b;if(n=n.a,t=t.a,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function T(n,t,e,r){function u(){var r=arguments,c=i?this:t;
return a||(n=t[o]),e.length&&(r=r.length?(r=ie.call(r),f?r.concat(e):e.concat(r)):e),this instanceof u?(M.prototype=n.prototype,c=new M,M.prototype=null,r=n.apply(c,r),Y(r)?r:c):n.apply(c,r)}var a=X(n),i=!e,o=t;if(i){var f=r;e=t}else if(!a){if(!r)throw new Rt;t=n}return u}function D(){for(var n,t={b:"k(m)",c:"",e:"m",f:"",h:"",i:!0,j:!!ye},e=0;n=arguments[e];e++)for(var r in n)t[r]=n[r];return n=t.a,t.d=/^[^,]+/.exec(n)[0],e=St,r="var i,m="+t.d+",u="+t.e+";if(!m)return u;"+t.h+";",t.b&&(r+="var n=m.length;i=-1;if("+t.b+"){while(++i<n){"+t.f+"}}else{"),t.i&&t.j?r+="var s=-1,t=r[typeof m]?o(m):[],n=t.length;while(++s<n){i=t[s];"+t.f+"}":(r+="for(i in m){",t.i&&(r+="if(",t.i&&(r+="h.call(m,i)"),r+="){"),r+=t.f+";",t.i&&(r+="}"),r+="}"),t.b&&(r+="}"),r+=t.c+";return u",e("h,j,k,l,o,p,r","return function("+n+"){"+r+"}")(Ht,H,ge,nt,ye,a,A)
}function z(n){return"\\"+$[n]}function P(n){return me[n]}function K(n){this.__wrapped__=n}function M(){}function U(n){var t=!1;if(!n||Wt.call(n)!=N)return t;var e=n.constructor;return(X(e)?e instanceof e:le.nodeClass||!isNode(n))?(ke(n,function(n,e){t=e}),!1===t||Ht.call(n,t)):t}function V(n,t,e){t||(t=0),typeof e=="undefined"&&(e=n?n.length:0);var r=-1;e=e-t||0;for(var u=Nt(0>e?0:e);++r<e;)u[r]=n[t+r];return u}function G(n){return be[n]}function H(n){return Wt.call(n)==w}function J(n,t,r,u,i,o){var f=n;
if(typeof t=="function"&&(u=r,r=t,t=!1),typeof r=="function"){if(r=typeof u=="undefined"?r:a.createCallback(r,u,1),f=r(f),typeof f!="undefined")return f;f=n}if(u=Y(f)){var c=Wt.call(f);if(!S[c])return f;var l=ge(f)}if(!u||!t)return u?l?V(f):de({},f):f;switch(u=ce[c],c){case C:case x:return new u(+f);case O:case I:return new u(f);case E:return u(f.source,h.exec(f))}for(i||(i=[]),o||(o=[]),c=i.length;c--;)if(i[c]==n)return o[c];return f=l?u(f.length):{},l&&(Ht.call(n,"index")&&(f.index=n.index),Ht.call(n,"input")&&(f.input=n.input)),i.push(n),o.push(f),(l?ot:we)(n,function(n,u){f[u]=J(n,t,r,e,i,o)
@@ -16,24 +16,24 @@ n[e]=i});return n}function et(n){for(var t=-1,e=ye(n),r=e.length,u=Nt(r);++t<r;)
t=a.createCallback(t,e),e=-1;var u=n?n.length:0;if(typeof u=="number")for(;++e<u;){var i=n[e];t(i,e,n)&&r.push(i)}else we(n,function(n,e,u){t(n,e,u)&&r.push(n)});return r}function it(n,t,e){t=a.createCallback(t,e),e=-1;var r=n?n.length:0;if(typeof r!="number"){var u;return we(n,function(n,e,r){return t(n,e,r)?(u=n,!1):void 0}),u}for(;++e<r;){var i=n[e];if(t(i,e,n))return i}}function ot(n,t,e){var r=-1,u=n?n.length:0;if(t=t&&typeof e=="undefined"?t:a.createCallback(t,e),typeof u=="number")for(;++r<u&&!1!==t(n[r],r,n););else we(n,t);
return n}function ft(n,t,e){var r=-1,u=n?n.length:0;if(t=a.createCallback(t,e),typeof u=="number")for(var i=Nt(u);++r<u;)i[r]=t(n[r],r,n);else i=[],we(n,function(n,e,u){i[++r]=t(n,e,u)});return i}function ct(n,t,e){var r=-1/0,u=r;if(!t&&ge(n)){e=-1;for(var i=n.length;++e<i;){var o=n[e];o>u&&(u=o)}}else t=!t&&nt(n)?F:a.createCallback(t,e),ot(n,function(n,e,a){e=t(n,e,a),e>r&&(r=e,u=n)});return u}function lt(n,t){var e=-1,r=n?n.length:0;if(typeof r=="number")for(var u=Nt(r);++e<r;)u[e]=n[e][t];return u||ft(n,t)
}function pt(n,t,e,r){if(!n)return e;var u=3>arguments.length;t=a.createCallback(t,r,4);var i=-1,o=n.length;if(typeof o=="number")for(u&&(e=n[++i]);++i<o;)e=t(e,n[i],i,n);else we(n,function(n,r,a){e=u?(u=!1,n):t(e,n,r,a)});return e}function st(n,t,e,r){var u=n?n.length:0,i=3>arguments.length;if(typeof u!="number")var o=ye(n),u=o.length;return t=a.createCallback(t,r,4),ot(n,function(r,a,f){a=o?o[--u]:--u,e=i?(i=!1,n[a]):t(e,n[a],a,f)}),e}function vt(n,t,e){var r;t=a.createCallback(t,e),e=-1;var u=n?n.length:0;
-if(typeof u=="number")for(;++e<u&&!(r=t(n[e],e,n)););else we(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function gt(n){for(var t=-1,e=n?n.length:0,r=Ut.apply(Tt,arguments),r=B(r,e),u=[];++t<e;){var a=n[t];r(a)||u.push(a)}return u}function ht(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&null!=t){var i=-1;for(t=a.createCallback(t,e);++i<u&&t(n[i],i,n);)r++}else if(r=t,null==r||e)return n[0];return V(n,0,re(ee(0,r),u))}}function yt(n,t,e,r){var u=-1,i=n?n.length:0,o=[];for(typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1),null!=e&&(e=a.createCallback(e,r));++u<i;)r=n[u],e&&(r=e(r,u,n)),ge(r)?Jt.apply(o,t?r:yt(r)):o.push(r);
+if(typeof u=="number")for(;++e<u&&!(r=t(n[e],e,n)););else we(n,function(n,e,u){return!(r=t(n,e,u))});return!!r}function gt(n){for(var t=-1,e=n?n.length:0,r=Ut.apply(Tt,ie.call(arguments,1)),r=B(r),u=[];++t<e;){var a=n[t];r(a)||u.push(a)}return u}function ht(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&null!=t){var i=-1;for(t=a.createCallback(t,e);++i<u&&t(n[i],i,n);)r++}else if(r=t,null==r||e)return n[0];return V(n,0,re(ee(0,r),u))}}function yt(n,t,e,r){var u=-1,i=n?n.length:0,o=[];for(typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1),null!=e&&(e=a.createCallback(e,r));++u<i;)r=n[u],e&&(r=e(r,u,n)),ge(r)?Jt.apply(o,t?r:yt(r)):o.push(r);
return o}function mt(n,t,e){var r=-1,u=n?n.length:0;if(typeof e=="number")r=(0>e?ee(0,u+e):e||0)-1;else if(e)return r=dt(n,t),n[r]===t?r:-1;for(;++r<u;)if(n[r]===t)return r;return-1}function bt(n,t,e){if(typeof t!="number"&&null!=t){var r=0,u=-1,i=n?n.length:0;for(t=a.createCallback(t,e);++u<i&&t(n[u],u,n);)r++}else r=null==t||e?1:ee(0,t);return V(n,r)}function dt(n,t,e,r){var u=0,i=n?n.length:u;for(e=e?a.createCallback(e,r,1):Ct,t=e(t);u<i;)r=u+i>>>1,e(n[r])<t?u=r+1:i=r;return u}function _t(n,t,e,r){var u=-1,i=n?n.length:0,o=[],l=o;
typeof t!="boolean"&&null!=t&&(r=e,e=t,t=!1);var p=!t&&i>=c;if(p)var s={};for(null!=e&&(l=[],e=a.createCallback(e,r));++u<i;){r=n[u];var v=e?e(r,u,n):r;if(p)var g=f+v,g=s[g]?!(l=s[g]):l=s[g]=[];(t?!u||l[l.length-1]!==v:g||0>mt(l,v))&&((e||p)&&l.push(v),o.push(r))}return o}function kt(n,t){for(var e=-1,r=n?n.length:0,u={};++e<r;){var a=n[e];t?u[a]=t[e]:u[a[0]]=a[1]}return u}function wt(n,t){return le.fastBind||Xt&&2<arguments.length?Xt.call.apply(Xt,arguments):T(n,t,ie.call(arguments,2))}function jt(n){var t=ie.call(arguments,1);
return Qt(function(){n.apply(e,t)},1)}function Ct(n){return n}function xt(n){ot(L(n),function(t){var e=a[t]=n[t];a.prototype[t]=function(){var n=this.__wrapped__,t=[n];return Jt.apply(t,arguments),t=e.apply(a,t),n&&typeof n=="object"&&n==t?this:new K(t)}})}function Ot(){return this.__wrapped__}r=r?q.defaults(n.Object(),r,q.pick(n,k)):n;var Nt=r.Array,Et=r.Boolean,It=r.Date,St=r.Function,At=r.Math,$t=r.Number,qt=r.Object,Bt=r.RegExp,Ft=r.String,Rt=r.TypeError,Tt=Nt(),Dt=qt(),zt=r._,Pt=Bt("^"+Ft(Dt.valueOf).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),Kt=At.ceil,Mt=r.clearTimeout,Ut=Tt.concat,Vt=At.floor,Gt=Pt.test(Gt=qt.getPrototypeOf)&&Gt,Ht=Dt.hasOwnProperty,Jt=Tt.push,Lt=r.setImmediate,Qt=r.setTimeout,Wt=Dt.toString,Xt=Pt.test(Xt=Wt.bind)&&Xt,Yt=Pt.test(Yt=Nt.isArray)&&Yt,Zt=r.isFinite,ne=r.isNaN,te=Pt.test(te=qt.keys)&&te,ee=At.max,re=At.min,ue=r.parseInt,ae=At.random,ie=Tt.slice,oe=Pt.test(r.attachEvent),fe=Xt&&!/\n|true/.test(Xt+oe),ce={};
ce[j]=Nt,ce[C]=Et,ce[x]=It,ce[N]=qt,ce[O]=$t,ce[E]=Bt,ce[I]=Ft;var le=a.support={};le.fastBind=Xt&&!fe,a.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:y,variable:"",imports:{_:a}};var pe={a:"q,w,g",h:"var a=arguments,b=0,c=typeof g=='number'?2:a.length;while(++b<c){m=a[b];if(m&&r[typeof m]){",f:"if(typeof u[i]=='undefined')u[i]=m[i]",c:"}}"},se={a:"e,d,x",h:"d=d&&typeof x=='undefined'?d:p.createCallback(d,x)",b:!1,f:"if(d(m[i],i,e)===false)return u"},ve={h:"if(!r[typeof m])return u;"+se.h,b:!1};
K.prototype=a.prototype;var ge=Yt||function(n){return n instanceof Nt||Wt.call(n)==j},he=D({a:"q",e:"[]",h:"if(!(r[typeof q]))return u",f:"u.push(i)",b:!1}),ye=te?function(n){return Y(n)?te(n):[]}:he,me={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},be=Q(me),de=D(pe,{h:pe.h.replace(";",";if(c>3&&typeof a[c-2]=='function'){var d=p.createCallback(a[--c-1],a[c--],2);}else if(c>2&&typeof a[c-1]=='function'){d=a[--c];}"),f:"u[i]=d?d(u[i],m[i]):m[i]"}),_e=D(pe),ke=D(se,ve,{i:!1}),we=D(se,ve),je=function(n){if(!n||Wt.call(n)!=N)return!1;
-var t=n.valueOf,e=typeof t=="function"&&(e=Gt(t))&&Gt(e);return e?n==e||Gt(n)==e:U(n)};fe&&u&&typeof Lt=="function"&&(jt=wt(Lt,r));var Ce=8==ue("08")?ue:function(n,t){return ue(nt(n)?n.replace(m,""):n,t||0)};return a.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},a.assign=de,a.at=function(n){for(var t=-1,e=Ut.apply(Tt,ie.call(arguments,1)),r=e.length,u=Nt(r);++t<r;)u[t]=n[e[t]];return u},a.bind=wt,a.bindAll=function(n){for(var t=Ut.apply(Tt,arguments),e=1<t.length?0:(t=L(n),-1),r=t.length;++e<r;){var u=t[e];
+var t=n.valueOf,e=typeof t=="function"&&(e=Gt(t))&&Gt(e);return e?n==e||Gt(n)==e:U(n)};fe&&u&&typeof Lt=="function"&&(jt=wt(Lt,r));var Ce=8==ue("08")?ue:function(n,t){return ue(nt(n)?n.replace(m,""):n,t||0)};return a.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},a.assign=de,a.at=function(n){for(var t=-1,e=Ut.apply(Tt,ie.call(arguments,1)),r=e.length,u=Nt(r);++t<r;)u[t]=n[e[t]];return u},a.bind=wt,a.bindAll=function(n){for(var t=1<arguments.length?Ut.apply(Tt,ie.call(arguments,1)):L(n),e=-1,r=t.length;++e<r;){var u=t[e];
n[u]=wt(n[u],n)}return n},a.bindKey=function(n,t){return T(n,t,ie.call(arguments,2),o)},a.compact=function(n){for(var t=-1,e=n?n.length:0,r=[];++t<e;){var u=n[t];u&&r.push(u)}return r},a.compose=function(){var n=arguments;return function(){for(var t=arguments,e=n.length;e--;)t=[n[e].apply(this,t)];return t[0]}},a.countBy=function(n,t,e){var r={};return t=a.createCallback(t,e),ot(n,function(n,e,u){e=Ft(t(n,e,u)),Ht.call(r,e)?r[e]++:r[e]=1}),r},a.createCallback=function(n,t,e){if(null==n)return Ct;
var r=typeof n;if("function"!=r){if("object"!=r)return function(t){return t[n]};var u=ye(n);return function(t){for(var e=u.length,r=!1;e--&&(r=W(t[u[e]],n[u[e]],o)););return r}}return typeof t!="undefined"?1===e?function(e){return n.call(t,e)}:2===e?function(e,r){return n.call(t,e,r)}:4===e?function(e,r,u,a){return n.call(t,e,r,u,a)}:function(e,r,u){return n.call(t,e,r,u)}:n},a.debounce=function(n,t,e){function r(){o=null,f&&(a=n.apply(i,u))}var u,a,i,o,f=!0;if(!0===e)var c=!0,f=!1;else e&&A[typeof e]&&(c=e.leading,f="trailing"in e?e.trailing:f);
return function(){var e=c&&!o;return u=arguments,i=this,Mt(o),o=Qt(r,t),e&&(a=n.apply(i,u)),a}},a.defaults=_e,a.defer=jt,a.delay=function(n,t){var r=ie.call(arguments,2);return Qt(function(){n.apply(e,r)},t)},a.difference=gt,a.filter=at,a.flatten=yt,a.forEach=ot,a.forIn=ke,a.forOwn=we,a.functions=L,a.groupBy=function(n,t,e){var r={};return t=a.createCallback(t,e),ot(n,function(n,e,u){e=Ft(t(n,e,u)),(Ht.call(r,e)?r[e]:r[e]=[]).push(n)}),r},a.initial=function(n,t,e){if(!n)return[];var r=0,u=n.length;
-if(typeof t!="number"&&null!=t){var i=u;for(t=a.createCallback(t,e);i--&&t(n[i],i,n);)r++}else r=null==t||e?1:t||r;return V(n,0,re(ee(0,u-r),u))},a.intersection=function(n){var t=arguments,e=t.length,r={0:{}},u=-1,a=n?n.length:0,i=a>=c,o=[],l=o;n:for(;++u<a;){var p=n[u];if(i)var s=f+p,s=r[0][s]?!(l=r[0][s]):l=r[0][s]=[];if(s||0>mt(l,p)){i&&l.push(p);for(var v=e;--v;)if(!(r[v]||(r[v]=B(t[v],0)))(p))continue n;o.push(p)}}return o},a.invert=Q,a.invoke=function(n,t){var e=ie.call(arguments,2),r=-1,u=typeof t=="function",a=n?n.length:0,i=Nt(typeof a=="number"?a:0);
+if(typeof t!="number"&&null!=t){var i=u;for(t=a.createCallback(t,e);i--&&t(n[i],i,n);)r++}else r=null==t||e?1:t||r;return V(n,0,re(ee(0,u-r),u))},a.intersection=function(n){var t=arguments,e=t.length,r={0:{}},u=-1,a=n?n.length:0,i=a>=c,o=[],l=o;n:for(;++u<a;){var p=n[u];if(i)var s=f+p,s=r[0][s]?!(l=r[0][s]):l=r[0][s]=[];if(s||0>mt(l,p)){i&&l.push(p);for(var v=e;--v;)if(!(r[v]||(r[v]=B(t[v])))(p))continue n;o.push(p)}}return o},a.invert=Q,a.invoke=function(n,t){var e=ie.call(arguments,2),r=-1,u=typeof t=="function",a=n?n.length:0,i=Nt(typeof a=="number"?a:0);
return ot(n,function(n){i[++r]=(u?t:n[t]).apply(n,e)}),i},a.keys=ye,a.map=ft,a.max=ct,a.memoize=function(n,t){var e={};return function(){var r=f+(t?t.apply(this,arguments):arguments[0]);return Ht.call(e,r)?e[r]:e[r]=n.apply(this,arguments)}},a.merge=tt,a.min=function(n,t,e){var r=1/0,u=r;if(!t&&ge(n)){e=-1;for(var i=n.length;++e<i;){var o=n[e];o<u&&(u=o)}}else t=!t&&nt(n)?F:a.createCallback(t,e),ot(n,function(n,e,a){e=t(n,e,a),e<r&&(r=e,u=n)});return u},a.omit=function(n,t,e){var r=typeof t=="function",u={};
-if(r)t=a.createCallback(t,e);else var i=Ut.apply(Tt,arguments);return ke(n,function(n,e,a){(r?!t(n,e,a):0>mt(i,e,1))&&(u[e]=n)}),u},a.once=function(n){var t,e;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}},a.pairs=function(n){for(var t=-1,e=ye(n),r=e.length,u=Nt(r);++t<r;){var a=e[t];u[t]=[a,n[a]]}return u},a.partial=function(n){return T(n,ie.call(arguments,1))},a.partialRight=function(n){return T(n,ie.call(arguments,1),null,o)},a.pick=function(n,t,e){var r={};if(typeof t!="function")for(var u=0,i=Ut.apply(Tt,arguments),o=Y(n)?i.length:0;++u<o;){var f=i[u];
+if(r)t=a.createCallback(t,e);else var i=Ut.apply(Tt,ie.call(arguments,1));return ke(n,function(n,e,a){(r?!t(n,e,a):0>mt(i,e))&&(u[e]=n)}),u},a.once=function(n){var t,e;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}},a.pairs=function(n){for(var t=-1,e=ye(n),r=e.length,u=Nt(r);++t<r;){var a=e[t];u[t]=[a,n[a]]}return u},a.partial=function(n){return T(n,ie.call(arguments,1))},a.partialRight=function(n){return T(n,ie.call(arguments,1),null,o)},a.pick=function(n,t,e){var r={};if(typeof t!="function")for(var u=-1,i=Ut.apply(Tt,ie.call(arguments,1)),o=Y(n)?i.length:0;++u<o;){var f=i[u];
f in n&&(r[f]=n[f])}else t=a.createCallback(t,e),ke(n,function(n,e,u){t(n,e,u)&&(r[e]=n)});return r},a.pluck=lt,a.range=function(n,t,e){n=+n||0,e=+e||1,null==t&&(t=n,n=0);var r=-1;t=ee(0,Kt((t-n)/e));for(var u=Nt(t);++r<t;)u[r]=n,n+=e;return u},a.reject=function(n,t,e){return t=a.createCallback(t,e),at(n,function(n,e,r){return!t(n,e,r)})},a.rest=bt,a.shuffle=function(n){var t=-1,e=n?n.length:0,r=Nt(typeof e=="number"?e:0);return ot(n,function(n){var e=Vt(ae()*(++t+1));r[t]=r[e],r[e]=n}),r},a.sortBy=function(n,t,e){var r=-1,u=n?n.length:0,i=Nt(typeof u=="number"?u:0);
for(t=a.createCallback(t,e),ot(n,function(n,e,u){i[++r]={a:t(n,e,u),b:r,c:n}}),u=i.length,i.sort(R);u--;)i[u]=i[u].c;return i},a.tap=function(n,t){return t(n),n},a.throttle=function(n,t,e){function r(){f=new It,o=null,l&&(a=n.apply(i,u))}var u,a,i,o,f=0,c=!0,l=!0;return!1===e?c=!1:e&&A[typeof e]&&(c="leading"in e?e.leading:c,l="trailing"in e?e.trailing:l),function(){var e=new It;!o&&!c&&(f=e);var l=t-(e-f);return u=arguments,i=this,0<l?o||(o=Qt(r,l)):(Mt(o),o=null,f=e,a=n.apply(i,u)),a}},a.times=function(n,t,e){n=-1<(n=+n)?n:0;
-var r=-1,u=Nt(n);for(t=a.createCallback(t,e,1);++r<n;)u[r]=t(r);return u},a.toArray=function(n){return n&&typeof n.length=="number"?V(n):et(n)},a.union=function(){return _t(Ut.apply(Tt,arguments))},a.uniq=_t,a.unzip=function(n){for(var t=-1,e=n?n.length:0,r=e?ct(lt(n,"length")):0,u=Nt(r);++t<e;)for(var a=-1,i=n[t];++a<r;)(u[a]||(u[a]=Nt(e)))[t]=i[a];return u},a.values=et,a.where=at,a.without=function(n){return gt(n,ie.call(arguments,1))},a.wrap=function(n,t){return function(){var e=[n];return Jt.apply(e,arguments),t.apply(this,e)
-}},a.zip=function(n){for(var t=-1,e=n?ct(lt(arguments,"length")):0,r=Nt(e);++t<e;)r[t]=lt(arguments,t);return r},a.zipObject=kt,a.collect=ft,a.drop=bt,a.each=ot,a.extend=de,a.methods=L,a.object=kt,a.select=at,a.tail=bt,a.unique=_t,xt(a),a.clone=J,a.cloneDeep=function(n,t,e){return J(n,!0,t,e)},a.contains=rt,a.escape=function(n){return null==n?"":Ft(n).replace(d,P)},a.every=ut,a.find=it,a.findIndex=function(n,t,e){var r=-1,u=n?n.length:0;for(t=a.createCallback(t,e);++r<u;)if(t(n[r],r,n))return r;return-1
-},a.findKey=function(n,t,e){var r;return t=a.createCallback(t,e),we(n,function(n,e,u){return t(n,e,u)?(r=e,!1):void 0}),r},a.has=function(n,t){return n?Ht.call(n,t):!1},a.identity=Ct,a.indexOf=mt,a.isArguments=H,a.isArray=ge,a.isBoolean=function(n){return!0===n||!1===n||Wt.call(n)==C},a.isDate=function(n){return n instanceof It||Wt.call(n)==x},a.isElement=function(n){return n?1===n.nodeType:!1},a.isEmpty=function(n){var t=!0;if(!n)return t;var e=Wt.call(n),r=n.length;return e==j||e==I||e==w||e==N&&typeof r=="number"&&X(n.splice)?!r:(we(n,function(){return t=!1
+var r=-1,u=Nt(n);for(t=a.createCallback(t,e,1);++r<n;)u[r]=t(r);return u},a.toArray=function(n){return n&&typeof n.length=="number"?V(n):et(n)},a.union=function(n){return ge(n)||(arguments[0]=n?ie.call(n):Tt),_t(Ut.apply(Tt,arguments))},a.uniq=_t,a.unzip=function(n){for(var t=-1,e=n?n.length:0,r=e?ct(lt(n,"length")):0,u=Nt(r);++t<e;)for(var a=-1,i=n[t];++a<r;)(u[a]||(u[a]=Nt(e)))[t]=i[a];return u},a.values=et,a.where=at,a.without=function(n){return gt(n,ie.call(arguments,1))},a.wrap=function(n,t){return function(){var e=[n];
+return Jt.apply(e,arguments),t.apply(this,e)}},a.zip=function(n){for(var t=-1,e=n?ct(lt(arguments,"length")):0,r=Nt(e);++t<e;)r[t]=lt(arguments,t);return r},a.zipObject=kt,a.collect=ft,a.drop=bt,a.each=ot,a.extend=de,a.methods=L,a.object=kt,a.select=at,a.tail=bt,a.unique=_t,xt(a),a.clone=J,a.cloneDeep=function(n,t,e){return J(n,!0,t,e)},a.contains=rt,a.escape=function(n){return null==n?"":Ft(n).replace(d,P)},a.every=ut,a.find=it,a.findIndex=function(n,t,e){var r=-1,u=n?n.length:0;for(t=a.createCallback(t,e);++r<u;)if(t(n[r],r,n))return r;
+return-1},a.findKey=function(n,t,e){var r;return t=a.createCallback(t,e),we(n,function(n,e,u){return t(n,e,u)?(r=e,!1):void 0}),r},a.has=function(n,t){return n?Ht.call(n,t):!1},a.identity=Ct,a.indexOf=mt,a.isArguments=H,a.isArray=ge,a.isBoolean=function(n){return!0===n||!1===n||Wt.call(n)==C},a.isDate=function(n){return n instanceof It||Wt.call(n)==x},a.isElement=function(n){return n?1===n.nodeType:!1},a.isEmpty=function(n){var t=!0;if(!n)return t;var e=Wt.call(n),r=n.length;return e==j||e==I||e==w||e==N&&typeof r=="number"&&X(n.splice)?!r:(we(n,function(){return t=!1
}),t)},a.isEqual=W,a.isFinite=function(n){return Zt(n)&&!ne(parseFloat(n))},a.isFunction=X,a.isNaN=function(n){return Z(n)&&n!=+n},a.isNull=function(n){return null===n},a.isNumber=Z,a.isObject=Y,a.isPlainObject=je,a.isRegExp=function(n){return n instanceof Bt||Wt.call(n)==E},a.isString=nt,a.isUndefined=function(n){return typeof n=="undefined"},a.lastIndexOf=function(n,t,e){var r=n?n.length:0;for(typeof e=="number"&&(r=(0>e?ee(0,r+e):re(e,r-1))+1);r--;)if(n[r]===t)return r;return-1},a.mixin=xt,a.noConflict=function(){return r._=zt,this
},a.parseInt=Ce,a.random=function(n,t){return null==n&&null==t&&(t=1),n=+n||0,null==t&&(t=n,n=0),n+Vt(ae()*((+t||0)-n+1))},a.reduce=pt,a.reduceRight=st,a.result=function(n,t){var r=n?n[t]:e;return X(r)?n[t]():r},a.runInContext=t,a.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:ye(n).length},a.some=vt,a.sortedIndex=dt,a.template=function(n,t,r){var u=a.templateSettings;n||(n=""),r=_e({},r,u);var i,o=_e({},r.imports,u.imports),u=ye(o),o=et(o),f=0,c=r.interpolate||b,v="__p+='",c=Bt((r.escape||b).source+"|"+c.source+"|"+(c===y?g:b).source+"|"+(r.evaluate||b).source+"|$","g");
n.replace(c,function(t,e,r,u,a,o){return r||(r=u),v+=n.slice(f,o).replace(_,z),e&&(v+="'+__e("+e+")+'"),a&&(i=!0,v+="';"+a+";__p+='"),r&&(v+="'+((__t=("+r+"))==null?'':__t)+'"),f=o+t.length,t}),v+="';\n",c=r=r.variable,c||(r="obj",v="with("+r+"){"+v+"}"),v=(i?v.replace(l,""):v).replace(p,"$1").replace(s,"$1;"),v="function("+r+"){"+(c?"":r+"||("+r+"={});")+"var __t,__p='',__e=_.escape"+(i?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+v+"return __p}";try{var h=St(u,"return "+v).apply(e,o)
View
32 dist/lodash.mobile.js
@@ -348,16 +348,15 @@
* @private
* @param {Array} array The array to search.
* @param {Mixed} value The value to search for.
- * @param {Number} fromIndex The index to search from.
* @returns {Boolean} Returns `true`, if `value` is found, else `false`.
*/
- function cachedContains(array, fromIndex) {
+ function cachedContains(array) {
var length = array.length,
- isLarge = (length - fromIndex) >= largeArraySize;
+ isLarge = length >= largeArraySize;
if (isLarge) {
var cache = {},
- index = fromIndex - 1;
+ index = -1;
while (++index < length) {
var key = keyPrefix + array[index];
@@ -369,7 +368,7 @@
var key = keyPrefix + value;
return cache[key] && indexOf(cache[key], value) > -1;
}
- return indexOf(array, value, fromIndex) > -1;
+ return indexOf(array, value) > -1;
}
}
@@ -1882,12 +1881,12 @@
if (isFunc) {
callback = lodash.createCallback(callback, thisArg);
} else {
- var props = concat.apply(arrayRef, arguments);
+ var props = concat.apply(arrayRef, nativeSlice.call(arguments, 1));
}
forIn(object, function(value, key, object) {
if (isFunc
? !callback(value, key, object)
- : indexOf(props, key, 1) < 0
+ : indexOf(props, key) < 0
) {
result[key] = value;
}
@@ -1950,8 +1949,8 @@
function pick(object, callback, thisArg) {
var result = {};
if (typeof callback != 'function') {
- var index = 0,
- props = concat.apply(arrayRef, arguments),
+ var index = -1,
+ props = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
length = isObject(object) ? props.length : 0;
while (++index < length) {
@@ -3056,8 +3055,8 @@
function difference(array) {
var index = -1,
length = array ? array.length : 0,
- flattened = concat.apply(arrayRef, arguments),
- contains = cachedContains(flattened, length),
+ flattened = concat.apply(arrayRef, nativeSlice.call(arguments, 1)),
+ contains = cachedContains(flattened),
result = [];
while (++index < length) {
@@ -3407,7 +3406,7 @@
}
var argsIndex = argsLength;
while (--argsIndex) {
- if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex], 0)))(value)) {
+ if (!(cache[argsIndex] || (cache[argsIndex] = cachedContains(args[argsIndex])))(value)) {
continue outer;
}
}
@@ -3731,7 +3730,10 @@
* _.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
* // => [1, 2, 3, 101, 10]
*/
- function union() {
+ function union(array) {
+ if (!isArray(array)) {
+ arguments[0] = array ? nativeSlice.call(array) : arrayRef;
+ }
return uniq(concat.apply(arrayRef, arguments));
}
@@ -4022,8 +4024,8 @@
* // => alerts 'clicked docs', when the button is clicked
*/
function bindAll(object) {
- var funcs = concat.apply(arrayRef, arguments),
- index = funcs.length > 1 ? 0 : (funcs = functions(object), -1),
+ var funcs = arguments.length > 1 ? concat.apply(arrayRef, nativeSlice.call(arguments, 1)) : functions(object),
+ index = -1,
length = funcs.length;
while (++index < length) {
View
22 dist/lodash.mobile.min.js
@@ -7,7 +7,7 @@
;(function(n){function t(o){function i(n){if(!n||ee.call(n)!=I)return a;var t=n.valueOf,e=typeof t=="function"&&(e=Yt(t))&&Yt(e);return e?n==e||Yt(n)==e:Y(n)}function f(n,t,e){var r;if(!n||!R[typeof n])return n;t=t&&typeof e=="undefined"?t:U.createCallback(t,e);for(r in n)if(Zt.call(n,r)&&t(n[r],r,n)===a)break;return n}function D(n,t,e){var r;if(!n||!R[typeof n])return n;t