Files
lodash/dist/lodash.compat.min.js

68 lines
33 KiB
JavaScript

/**
* @license
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash -o ./dist/lodash.compat.js`
* Copyright 2012-2014 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <http://lodash.com/license>
*/
(function(){function n(n,t){if(n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return 0}function t(n,t,r){r=(r||0)-1;for(var e=n?n.length:0;++r<e;)if(n[r]===t)return r;return-1}function r(n,t){return n.has(t)?0:-1}function e(n){return n.charCodeAt(0)}function u(n,t){for(var r=-1,e=n.length;++r<e&&0<=t.indexOf(n.charAt(r)););return r}function o(n,t){for(var r=n.length;r--&&0<=t.indexOf(n.charAt(r)););return r}function a(t,r){return n(t.f,r.f)||t.g-r.g}function i(t,r){for(var e=t.f,u=r.f,o=-1,a=e.length;++o<a;){var i=n(e[o],u[o]);
if(i)return i}return t.g-r.g}function l(n){return st[n]}function f(n){return"\\"+vt[n]}function c(){return H.pop()||[]}function p(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}function s(n){n.length=0,H.length<A&&H.push(n)}function g(n){n.f=n.h=null,J.length<A&&J.push(n)}function h(n,t){return(n=null==n?"":n+"")?null==t?n.slice(m(n),d(n)+1):(t+="",n.slice(u(n,t),o(n,t)+1)):n}function v(n,t){return(n=null==n?"":n+"")?null==t?n.slice(m(n)):(t+="",n.slice(u(n,t))):n}function y(n,t){return(n=null==n?"":n+"")?null==t?n.slice(0,d(n)+1):(t+="",n.slice(0,o(n,t)+1)):n
}function m(n){for(var t=-1,r=n.length;++t<r;){var e=n.charCodeAt(t);if((160<e||9>e||13<e)&&32!=e&&160!=e&&5760!=e&&6158!=e&&(8192>e||8202<e&&8232!=e&&8233!=e&&8239!=e&&8287!=e&&12288!=e&&65279!=e))break}return t}function d(n){for(var t=n.length;t--;){var r=n.charCodeAt(t);if((160<r||9>r||13<r)&&32!=r&&160!=r&&5760!=r&&6158!=r&&(8192>r||8202<r&&8232!=r&&8233!=r&&8239!=r&&8287!=r&&12288!=r&&65279!=r))break}return t}function b(n){return gt[n]}function _(n){function u(n){return n&&typeof n=="object"&&!ye(n)&&$r.call(n,"__wrapped__")?n:new o(n)
}function o(n,t){this.__chain__=!!t,this.__wrapped__=n}function m(n){function t(){if(u){var n=Tt(u);Lr.apply(n,arguments)}if(this instanceof t){var o=A(r.prototype),n=r.apply(o,n||arguments);return or(n)?n:o}return r.apply(e,n||arguments)}var r=n[0],e=n[3],u=n[4];return fe(t,n),t}function d(n,t,r,e,u){if(r){var o=r(n);if(typeof o!="undefined")return o}if(!or(n))return n;var a=Ir.call(n);if(!ft[a]||!ie.nodeClass&&p(n))return n;var i=oe[a];switch(a){case tt:case rt:return new i(+n);case ot:case lt:return new i(n);
case it:return o=i(n.source,z.exec(n)),o.lastIndex=n.lastIndex,o}if(a=ye(n),t){var l=!e;e||(e=c()),u||(u=c());for(var f=e.length;f--;)if(e[f]==n)return u[f];o=a?i(n.length):{}}else o=a?Tt(n):Zt({},n);return a&&($r.call(n,"index")&&(o.index=n.index),$r.call(n,"input")&&(o.input=n.input)),t?(e.push(n),u.push(o),(a?ht:mt)(n,function(n,a){o[a]=d(n,t,r,e,u)}),l&&(s(e),s(u)),o):o}function A(n){return or(n)?Vr(n):{}}function H(n,t,r){if(typeof n!="function")return fr;if(typeof t=="undefined"||!("prototype"in n))return n;
var e=n[N];if(typeof e=="undefined"&&(ie.funcNames&&(e=!n.name),e=e||!ie.funcDecomp,!e)){var u=qr.call(n);ie.funcNames||(e=!K.test(u)),e||(e=V.test(u),fe(n,e))}if(false===e||true!==e&&e[1]&j)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,u){return n.call(t,r,e,u)};case 4:return function(r,e,u,o){return n.call(t,r,e,u,o)}}return Qt(n,t)}function st(n){function t(){var n=l?o:this;if(a){var g=Tt(a);Lr.apply(g,arguments)
}if(i||c){g||(g=Tt(arguments)),i&&Lr.apply(g,i);var h=arguments.length;if(c&&h<u)return e|=O,e&=~E,p||(e&=~(j|x)),n=Qr(0,u-h),st([r,e,n,o,g])}return g||(g=arguments),f&&(r=n[s]),this instanceof t?(n=A(r.prototype),g=r.apply(n,g),or(g)?g:n):r.apply(n,g)}var r=n[0],e=n[1],u=n[2],o=n[3],a=n[4],i=n[5],l=e&j,f=e&x,c=e&C,p=e&k,s=r;return fe(t,n),t}function gt(n,e){var u=-1,o=Ot(),a=n?n.length:0,i=[];for(le&&e&&o===t&&e.length>=S&&(o=r,e=le(e));++u<a;){var l=n[u];0>o(e,l)&&i.push(l)}return i}function ht(n,t){var r=-1,e=n,u=n?n.length:0;
if(typeof u=="number")for(ie.unindexedChars&&ir(e)&&(e=e.split(""));++r<u&&false!==t(e[r],r,n););else mt(n,t);return n}function vt(n,t,r,e){e=(e||0)-1;for(var u=n?n.length:0,o=[];++e<u;){var a=n[e];if(a&&typeof a=="object"&&typeof a.length=="number"&&(ye(a)||At(a))){t||(a=vt(a,t,r));var i=-1,l=a.length,f=o.length;for(o.length+=l;++i<l;)o[f++]=a[i]}else r||o.push(a)}return o}function mt(n,t){for(var r=-1,e=de(n),u=e.length;++r<u;){var o=e[r];if(false===t(n[o],o,n))break}return n}function dt(n,t,r,e,u,o){if(r){var a=r(n,t);
if(typeof a!="undefined")return!!a}if(n===t)return 0!==n||1/n==1/t;var i=typeof n,l=typeof t;if(n===n&&(!n||"function"!=i&&"object"!=i)&&(!t||"function"!=l&&"object"!=l))return false;if(null==n||null==t)return n===t;if(l=Ir.call(n),i=Ir.call(t),l==Z&&(l=at),i==Z&&(i=at),l!=i)return false;switch(l){case tt:case rt:return+n==+t;case ot:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case it:case lt:return n==jr(t)}if(i=l==nt,!i){var f=$r.call(n,"__wrapped__"),g=$r.call(t,"__wrapped__");if(f||g)return dt(f?n.__wrapped__:n,g?t.__wrapped__:t,r,e,u,o);
if(l!=at||!ie.nodeClass&&(p(n)||p(t)))return false;if(l=!ie.argsObject&&At(n)?_r:n.constructor,f=!ie.argsObject&&At(t)?_r:t.constructor,l!=f&&!($r.call(n,"constructor")&&$r.call(t,"constructor")||ur(l)&&l instanceof l&&ur(f)&&f instanceof f)&&"constructor"in n&&"constructor"in t)return false}for(l=!u,u||(u=c()),o||(o=c()),f=u.length;f--;)if(u[f]==n)return o[f]==t;var h=0,a=true;if(u.push(n),o.push(t),i){if(f=n.length,h=t.length,(a=h==f)||e)for(;h--;)if(i=f,g=t[h],e)for(;i--&&!(a=dt(n[i],g,r,e,u,o)););else if(!(a=dt(n[h],g,r,e,u,o)))break
}else ce(t,function(t,i,l){return $r.call(l,i)?(h++,a=$r.call(n,i)&&dt(n[i],t,r,e,u,o)):void 0}),a&&!e&&ce(n,function(n,t,r){return $r.call(r,t)?a=-1<--h:void 0});return u.pop(),o.pop(),l&&(s(u),s(o)),a}function _t(n,t,r,e,u){(ye(t)?ht:mt)(t,function(t,o){var a,i,l=t,f=n[o];if(t&&((i=ye(t))||me(t))){for(l=e.length;l--;)if(a=e[l]==t){f=u[l];break}if(!a){var c;r&&(l=r(f,t),c=typeof l!="undefined")&&(f=l),c||(f=i?ye(f)?f:[]:me(f)?f:{}),e.push(t),u.push(f),c||_t(f,t,r,e,u)}}else r&&(l=r(f,t),typeof l=="undefined"&&(l=t)),typeof l!="undefined"&&(f=l);
n[o]=f})}function wt(n,t){return n+Pr(te()*(t-n+1))}function jt(n,e,u){var o=-1,a=Ot(),i=n?n.length:0,l=le&&!e&&a===t&&i>=S,f=[];if(l)var p=le(),a=r;else p=u?c():f;for(;++o<i;){var g=n[o],h=u?u(g,o,n):g;(e?!o||p[p.length-1]!==h:0>a(p,h))&&((u||l)&&p.push(h),f.push(g))}return!l&&u&&s(p),f}function xt(n){return function(t,r,e){var o={};if(r=u.createCallback(r,e,3),ye(t)){e=-1;for(var a=t.length;++e<a;){var i=t[e];n(o,i,r(i,e,t),t)}}else ht(t,function(t,e,u){n(o,t,r(t,e,u),u)});return o}}function Ct(n,t,r,e,u,o){var a=t&j,i=t&x,l=t&O,f=t&E;
if(!i&&!ur(n))throw new xr;l&&!u.length&&(t&=~O,l=u=false),f&&!o.length&&(t&=~E,f=o=false);var c=!i&&n[N];return c&&true!==c?(c=Tt(c),c[4]&&(c[4]=Tt(c[4])),c[5]&&(c[5]=Tt(c[5])),typeof r=="number"&&(c[2]=r),n=c[1]&j,a&&!n&&(c[3]=e),!a&&n&&(t|=k),l&&(c[4]?Lr.apply(c[4],u):c[4]=u),f&&(c[5]?Kr.apply(c[5],o):c[5]=o),c[1]|=t,Ct.apply(null,c)):(null==r?r=i?0:n.length:0>r&&(r=0),c=[n,t,r,e,u,o],t==j||t==(j|O)?m(c):st(c))}function kt(n){n.d=Y;var t=mr,r="return function("+n.a+"){",e="var r="+n.b+";if(!j(p)){return r}";
ie.nonEnumArgs&&(e+="var m=p.length;if(m&&i(p)){l=-1;while(++l<m){l+='';"+n.c+";}return r}"),ie.enumPrototypes&&(e+="var t=typeof p=='function';"),ie.enumErrorProps&&(e+="var s=p===f||p instanceof Error;");var u=[];if(ie.enumPrototypes&&u.push("!(t&&l=='prototype')"),ie.enumErrorProps&&u.push("!(s&&(l=='message'||l=='name'))"),e+="for(var l in p){",n.e&&u.push("g.call(p,l)"),u.length&&(e+="if("+u.join("&&")+"){"),e+=n.c+";",u.length&&(e+="}"),e+="}",ie.nonEnumShadows){for(e+="if(p!==q){var d=p.constructor,k=p===(d&&d.prototype),b=p===v?u:p===f?e:w.call(p),n=o[b];",u=0;7>u;u++)e+="l='"+n.d[u]+"';if((!(k&&n[l])&&g.call(p,l))",n.e||(e+="||(!n[l]&&p[l]!==q[l])"),e+="){"+n.c+"}";
e+="}"}return t("e,f,g,i,j,q,o,u,v,w",r+(e+"return r;")+"}")(et,kr,$r,At,or,Or,ae,lt,Er,Ir)}function Ot(){var n=(n=u.indexOf)===Nt?t:n;return n}function Et(n){return typeof n=="function"&&Nr.test(qr.call(n))}function St(n){var t,r;return!n||Ir.call(n)!=at||!$r.call(n,"constructor")&&(t=n.constructor,ur(t)&&!(t instanceof t))||!ie.argsClass&&At(n)||!ie.nodeClass&&p(n)?false:ie.ownLast?(ce(n,function(n,t,e){return r=$r.call(e,t),false}),false!==r):(ce(n,function(n,t){r=t}),typeof r=="undefined"||$r.call(n,r))
}function At(n){return n&&typeof n=="object"&&typeof n.length=="number"&&Ir.call(n)==Z||false}function It(n,t,r){var e=0,o=n?n.length:0;if(typeof t!="number"&&null!=t){var a=-1;for(t=u.createCallback(t,r,3);++a<o&&t(n[a],a,n);)e++}else if(e=t,null==e||r)return n?n[0]:w;return Tt(n,0,0<e?e:0)}function Nt(n,r,e){var u=n?n.length:0;if(typeof e=="number")e=0>e?Qr(0,u+e):e||0;else if(e)return e=Pt(n,r),u&&n[e]===r?e:-1;return t(n,r,e)}function Rt(n,t,r){if(typeof t!="number"&&null!=t){var e=0,o=-1,a=n?n.length:0;
for(t=u.createCallback(t,r,3);++o<a&&t(n[o],o,n);)e++}else e=null==t||r?1:0<t?t:0;return Tt(n,e)}function Tt(n,t,r){var e=-1,u=n?n.length:0;for(typeof t=="undefined"?t=0:0>t?t=Qr(u+t,0):t>u&&(t=u),typeof r=="undefined"?r=u:0>r?r=Qr(u+r,0):r>u&&(r=u),u=r-t||0,r=hr(u);++e<u;)r[e]=n[t+e];return r}function Pt(n,t,r,e){var o=0,a=n?n.length:o;for(r=r?u.createCallback(r,e,1):fr,t=r(t);o<a;)e=o+a>>>1,r(n[e])<t?o=e+1:a=e;return o}function qt(n,t,r,e){var o=typeof t;return"boolean"!=o&&null!=t&&(e=r,r=t,t=false,"number"!=o&&"string"!=o||!e||e[r]!==n||(r=null)),null!=r&&(r=u.createCallback(r,e,3)),jt(n,t,r)
}function Ft(){for(var n=1<arguments.length?arguments:arguments[0],t=-1,r=n?Vt(ve(n,"length")):0,e=hr(0>r?0:r);++t<r;)e[t]=ve(n,t);return e}function $t(n,t){var r=-1,e=n?n.length:0,u={};for(t||!e||ye(n[0])||(t=[]);++r<e;){var o=n[r];t?u[o]=t[r]:o&&(u[o[0]]=o[1])}return u}function Lt(){return this.__wrapped__}function Bt(n,t,r){var e=n?n.length:0;if(r=typeof r=="number"?r:0,typeof e=="number"){if(r>=e)return false;if(typeof n=="string"||!ye(n)&&ir(n))return Ur?Ur.call(n,t,r):-1<n.indexOf(t,r);var u=Ot();
return r=(0>r?Qr(0,e+r):r)||0,-1<u(n,t,r)}var o=-1,a=false;return ht(n,function(n){return++o<r?void 0:!(a=n===t)}),a}function Dt(n,t,r){var e=true;if(t=u.createCallback(t,r,3),ye(n)){r=-1;for(var o=n.length;++r<o&&(e=!!t(n[r],r,n)););}else ht(n,function(n,r,u){return e=!!t(n,r,u)});return e}function Wt(n,t,r){var e=[];if(t=u.createCallback(t,r,3),ye(n)){r=-1;for(var o=n.length;++r<o;){var a=n[r];t(a,r,n)&&e.push(a)}}else ht(n,function(n,r,u){t(n,r,u)&&e.push(n)});return e}function zt(n,t,r){if(t=u.createCallback(t,r,3),!ye(n)){var e;
return ht(n,function(n,r,u){return t(n,r,u)?(e=n,false):void 0}),e}r=-1;for(var o=n.length;++r<o;){var a=n[r];if(t(a,r,n))return a}}function Kt(n,t,r){if(t&&typeof r=="undefined"&&ye(n)){r=-1;for(var e=n.length;++r<e&&false!==t(n[r],r,n););}else ht(n,H(t,r,3));return n}function Mt(n,t,r){var e=n,u=n?n.length:0;if(t=t&&typeof r=="undefined"?t:H(t,r,3),ye(n))for(;u--&&false!==t(n[u],u,n););else{if(typeof u!="number")var o=de(n),u=o.length;else ie.unindexedChars&&ir(n)&&(e=n.split(""));ht(e,function(r,a){return a=o?o[--u]:--u,t(e[a],a,n)
})}return n}function Ut(n,t,r){var e=-1,o=n?n.length:0,a=hr(typeof o=="number"?o:0);if(t=u.createCallback(t,r,3),ye(n))for(;++e<o;)a[e]=t(n[e],e,n);else ht(n,function(n,r,u){a[++e]=t(n,r,u)});return a}function Vt(n,t,r){var o=-1/0,a=o,i=typeof t;if("number"!=i&&"string"!=i||!r||r[t]!==n||(t=null),null==t&&ye(n))for(r=-1,i=n.length;++r<i;){var l=n[r];l>a&&(a=l)}else t=null==t&&ir(n)?e:u.createCallback(t,r,3),ht(n,function(n,r,e){r=t(n,r,e),r>o&&(o=r,a=n)});return a}function Xt(n,t,r,e){var o=3>arguments.length;
if(t=u.createCallback(t,e,4),ye(n)){var a=-1,i=n.length;for(o&&i&&(r=n[++a]);++a<i;)r=t(r,n[a],a,n)}else ht(n,function(n,e,u){r=o?(o=false,n):t(r,n,e,u)});return r}function Gt(n,t,r,e){var o=3>arguments.length;return t=u.createCallback(t,e,4),Mt(n,function(n,e,u){r=o?(o=false,n):t(r,n,e,u)}),r}function Ht(n){var t=-1,r=n?n.length:0,e=hr(typeof r=="number"?r:0);return ht(n,function(n){var r=wt(0,++t);e[t]=e[r],e[r]=n}),e}function Jt(n,t,r){var e;if(t=u.createCallback(t,r,3),ye(n)){r=-1;for(var o=n.length;++r<o&&!(e=t(n[r],r,n)););}else ht(n,function(n,r,u){return!(e=t(n,r,u))
});return!!e}function Qt(n,t){if(3>arguments.length)return Ct(n,j,null,t);var r=n&&(n[N]?n[N][2]:n.length),e=Tt(arguments,2),r=r-e.length;return Ct(n,j|O,r,t,e)}function Yt(n,t,r){var e,u,o,a,i,l,f,c=0,p=false,s=true;if(!ur(n))throw new xr;if(t=Qr(0,t)||0,true===r)var g=true,s=false;else or(r)&&(g=r.leading,p="maxWait"in r&&(Qr(t,r.maxWait)||0),s="trailing"in r?r.trailing:s);var h=function(){var r=t-(je()-a);0<r?l=Wr(h,r):(u&&Tr(u),r=f,u=l=f=w,r&&(c=je(),o=n.apply(i,e),l||u||(e=i=null)))},v=function(){l&&Tr(l),u=l=f=w,(s||p!==t)&&(c=je(),o=n.apply(i,e),l||u||(e=i=null))
};return function(){if(e=arguments,a=je(),i=this,f=s&&(l||!g),false===p)var r=g&&!l;else{u||g||(c=a);var y=p-(a-c),m=0>=y;m?(u&&(u=Tr(u)),c=a,o=n.apply(i,e)):u||(u=Wr(v,y))}return m&&l?l=Tr(l):l||t===p||(l=Wr(h,t)),r&&(m=true,o=n.apply(i,e)),!m||l||u||(e=i=null),o}}function Zt(n,t,r){var e=arguments,u=0,o=e.length,a=typeof r;if("number"!=a&&"string"!=a||!e[3]||e[3][r]!==t||(o=2),3<o&&"function"==typeof e[o-2])var i=H(e[--o-1],e[o--],2);else 2<o&&"function"==typeof e[o-1]&&(i=e[--o]);for(;++u<o;)if(t=e[u],or(t))for(var a=-1,l=de(t),f=l.length;++a<f;){var c=l[a];
n[c]=i?i(n[c],t[c]):t[c]}return n}function nr(n,t,r){var e=arguments,u=0,o=e.length,a=typeof r;for("number"!=a&&"string"!=a||!e[3]||e[3][r]!==t||(o=2);++u<o;)if(t=e[u],or(t))for(var a=-1,i=de(t),l=i.length;++a<l;){var f=i[a];"undefined"==typeof n[f]&&(n[f]=t[f])}return n}function tr(n,t,r){var e=de(n),u=e.length;for(t=H(t,r,3);u--&&(r=e[u],false!==t(n[r],r,n)););return n}function rr(n){var t=[];return ce(n,function(n,r){ur(n)&&t.push(r)}),t.sort()}function er(n){return n&&typeof n=="object"&&1===n.nodeType&&(ie.nodeClass?-1<Ir.call(n).indexOf("Element"):p(n))||false
}function ur(n){return typeof n=="function"}function or(n){var t=typeof n;return n&&("function"==t||"object"==t)||false}function ar(n){var t=typeof n;return"number"==t||n&&"object"==t&&Ir.call(n)==ot||false}function ir(n){return typeof n=="string"||n&&typeof n=="object"&&Ir.call(n)==lt||false}function lr(n){for(var t=-1,r=de(n),e=r.length,u=hr(e);++t<e;)u[t]=n[r[t]];return u}function fr(n){return n}function cr(n){n||(n={});var t=de(n),r=t[0],e=n[r];return 1!=t.length||e!==e||or(e)?function(r){for(var e=t.length,u=false;e--&&(u=dt(r[t[e]],n[t[e]],null,true)););return u
}:function(n){return n=n[r],e===n&&(0!==e||1/e==1/n)}}function pr(n,t,r){var e=true,o=t&&rr(t);t&&(r||o.length)||(null==r&&(r=t),t=n,n=u,o=rr(t)),false===r?e=false:or(r)&&"chain"in r&&(e=r.chain),r=-1;for(var a=ur(n),i=o?o.length:0;++r<i;){var l=o[r],f=n[l]=t[l];a&&(n.prototype[l]=function(t){return function(){var r=this.__chain__,u=this.__wrapped__,o=[u];if(Lr.apply(o,arguments),o=t.apply(n,o),e||r){if(u===o&&or(o))return this;o=new n(o),o.__chain__=r}return o}}(f))}}function sr(){}function gr(n){return function(t){return t[n]
}}n=n?bt.defaults(yt.Object(),n,bt.pick(yt,Q)):yt;var hr=n.Array,vr=n.Boolean,yr=n.Date,mr=n.Function,dr=n.Math,br=n.Number,_r=n.Object,wr=n.RegExp,jr=n.String,xr=n.TypeError,Cr=hr.prototype,kr=n.Error.prototype,Or=_r.prototype,Er=jr.prototype,Sr=(Sr=n.window)&&Sr.document,Ar=n._,Ir=Or.toString,Nr=wr("^"+jr(Ir).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rr=dr.ceil,Tr=n.clearTimeout,Pr=dr.floor,qr=mr.prototype.toString,Fr=Et(Fr=_r.getPrototypeOf)&&Fr,$r=Or.hasOwnProperty,Lr=Cr.push,Br=Or.propertyIsEnumerable,Dr=Et(Dr=n.Set)&&Dr,Wr=n.setTimeout,zr=Cr.splice,Kr=Cr.unshift,Mr=function(){try{var n={},t=Et(t=_r.defineProperty)&&t,r=t(n,n,n)&&t
}catch(e){}return r}(),Ur=Et(Ur=Er.contains)&&Ur,Vr=Et(Vr=_r.create)&&Vr,Xr=Et(Xr=hr.isArray)&&Xr,Gr=n.isFinite,Hr=n.isNaN,Jr=Et(Jr=_r.keys)&&Jr,Qr=dr.max,Yr=dr.min,Zr=Et(Zr=yr.now)&&Zr,ne=n.parseInt,te=dr.random,re=Et(re=Er.trim)&&!re.call(G)&&re,ee=Et(ee=Er.trimLeft)&&!ee.call(G)&&ee,ue=Et(ue=Er.trimRight)&&!ue.call(G)&&ue,oe={};oe[nt]=hr,oe[tt]=vr,oe[rt]=yr,oe[ut]=mr,oe[at]=_r,oe[ot]=br,oe[it]=wr,oe[lt]=jr;var ae={};ae[nt]=ae[rt]=ae[ot]={constructor:true,toLocaleString:true,toString:true,valueOf:true},ae[tt]=ae[lt]={constructor:true,toString:true,valueOf:true},ae[et]=ae[ut]=ae[it]={constructor:true,toString:true},ae[at]={constructor:true},function(){for(var n=Y.length;n--;){var t,r=Y[n];
for(t in ae)$r.call(ae,t)&&!$r.call(ae[t],r)&&(ae[t][r]=false)}}(),o.prototype=u.prototype;var ie=u.support={};!function(){var t=function(){this.x=1},r={0:1,length:1},e=[];t.prototype={valueOf:1,y:1};for(var u in new t)e.push(u);for(u in arguments);ie.argsClass=Ir.call(arguments)==Z,ie.argsObject=arguments.constructor==_r&&!(arguments instanceof hr),ie.enumErrorProps=Br.call(kr,"message")||Br.call(kr,"name"),ie.enumPrototypes=Br.call(t,"prototype"),ie.funcDecomp=!Et(n.WinRTError)&&V.test(_),ie.funcNames=typeof mr.name=="string",ie.nonEnumArgs=0!=u,ie.nonEnumShadows=!/valueOf/.test(e),ie.ownLast="x"!=e[0],ie.spliceObjects=(zr.call(r,0,1),!r[0]),ie.unindexedChars="xx"!="x"[0]+_r("x")[0];
try{ie.dom=11===Sr.createDocumentFragment().nodeType}catch(o){ie.dom=false}try{ie.nodeClass=!(Ir.call(undefined)==at&&!({toString:0}+""))}catch(a){ie.nodeClass=true}}(1),u.templateSettings={escape:L,evaluate:B,interpolate:D,variable:"",imports:{_:u}},Vr||(A=function(){function t(){}return function(r){if(or(r)){t.prototype=r;var e=new t;t.prototype=null}return e||n.Object()}}());var le=Dr&&function(n){var t=new Dr,r=n?n.length:0;for(t.push=t.add;r--;)t.push(n[r]);return t},fe=Mr?function(n,t){pt.value=t,Mr(n,N,pt)}:sr;ie.argsClass||(At=function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&$r.call(n,"callee")&&!Br.call(n,"callee")||false
});var ce=kt({a:"p,a",b:"p",c:"if(a(p[l],l,p)===false){return r}",e:false}),pe=kt({a:"p",b:"[]",c:"r.push(l)",e:true}),se=xt(function(n,t,r){$r.call(n,r)?n[r]++:n[r]=1}),ge=xt(function(n,t,r){$r.call(n,r)?n[r].push(t):n[r]=[t]}),he=xt(function(n,t,r){n[r]=t}),ve=Ut,ye=Xr||function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&Ir.call(n)==nt||false};ie.dom||(er=function(n){return n&&typeof n=="object"&&1===n.nodeType&&!me(n)||false}),ur(/x/)&&(ur=function(n){return typeof n=="function"&&Ir.call(n)==ut
});var me=Fr?function(n){if(!n||Ir.call(n)!=at||!ie.argsClass&&At(n))return false;var t=n.valueOf,r=Et(t)&&(r=Fr(t))&&Fr(r);return r?n==r||Fr(n)==r:St(n)}:St,de=Jr?function(n){return or(n)?ie.enumPrototypes&&typeof n=="function"||ie.nonEnumArgs&&n.length&&At(n)?pe(n):Jr(n):[]}:pe,be=re?function(n,t){return null==n?"":null==t?re.call(n):h(n,t)}:h,_e=ee?function(n,t){return null==n?"":null==t?ee.call(n):v(n,t)}:v,we=ue?function(n,t){return null==n?"":null==t?ue.call(n):y(n,t)}:y,je=Zr||function(){return(new yr).getTime()
},xe=8==ne(G+"08")?ne:function(n,t){return n=be(n),ne(n,+t||(M.test(n)?16:10))};return u.after=function(n,t){if(!ur(t))throw new xr;return function(){return 1>--n?t.apply(this,arguments):void 0}},u.assign=Zt,u.at=function(n,t){var r=arguments,e=-1,u=vt(r,true,false,1),o=u.length,a=typeof t;for("number"!=a&&"string"!=a||!r[2]||r[2][t]!==n||(o=1),ie.unindexedChars&&ir(n)&&(n=n.split("")),r=hr(o);++e<o;)r[e]=n[u[e]];return r},u.bind=Qt,u.bindAll=function(n){for(var t=1<arguments.length?vt(arguments,true,false,1):rr(n),r=-1,e=t.length;++r<e;){var u=t[r];
n[u]=Ct(n[u],j,null,n)}return n},u.bindKey=function(n,t){return 3>arguments.length?Ct(t,j|x,null,n):Ct(t,j|x|O,null,n,Tt(arguments,2))},u.chain=function(n){return n=new o(n),n.__chain__=true,n},u.compact=function(n){for(var t=-1,r=n?n.length:0,e=0,u=[];++t<r;){var o=n[t];o&&(u[e++]=o)}return u},u.compose=function(){for(var n=arguments,t=n.length;t--;)if(!ur(n[t]))throw new xr;return function(){for(var t=arguments,r=n.length;r--;)t=[n[r].apply(this,t)];return t[0]}},u.constant=function(n){return function(){return n
}},u.countBy=se,u.create=function(n,t){var r=A(n);return t?Zt(r,t):r},u.createCallback=function(n,t,r){var e=typeof n;return null==n||"function"==e?H(n,t,r):"object"!=e?gr(n):cr(n)},u.curry=function(n,t){return typeof t!="number"&&(t=+t||null),Ct(n,C,t)},u.debounce=Yt,u.defaults=nr,u.defer=function(n){if(!ur(n))throw new xr;var t=Tt(arguments,1);return Wr(function(){n.apply(w,t)},1)},u.delay=function(n,t){if(!ur(n))throw new xr;var r=Tt(arguments,2);return Wr(function(){n.apply(w,r)},t)},u.difference=function(n){return gt(n,vt(arguments,true,true,1))
},u.filter=Wt,u.flatten=function(n,t,r,e){var u=typeof t;return"boolean"!=u&&null!=t&&(e=r,r=t,t=false,"number"!=u&&"string"!=u||!e||e[r]!==n||(r=null)),null!=r&&(n=Ut(n,r,e)),vt(n,t)},u.forEach=Kt,u.forEachRight=Mt,u.forIn=function(n,t,r){return t=t&&typeof r=="undefined"?t:H(t,r,3),ce(n,t)},u.forInRight=function(n,t,r){var e=[];ce(n,function(n,t){e.push(t,n)});var u=e.length;for(t=H(t,r,3);u--&&false!==t(e[u--],e[u],n););return n},u.forOwn=function(n,t,r){return t=t&&typeof r=="undefined"?t:H(t,r,3),mt(n,t)
},u.forOwnRight=tr,u.functions=rr,u.groupBy=ge,u.indexBy=he,u.initial=function(n,t,r){var e=0,o=n?n.length:0;if(typeof t!="number"&&null!=t){var a=o;for(t=u.createCallback(t,r,3);a--&&t(n[a],a,n);)e++}else e=null==t||r?1:t||e;return e=o-e,Tt(n,0,0<e?e:0)},u.intersection=function(){for(var n=[],e=-1,u=arguments.length,o=c(),a=Ot(),i=le&&a===t,l=c();++e<u;){var f=arguments[e];(ye(f)||At(f))&&(n.push(f),o.push(i&&f.length>=S&&le(e?n[e]:l)))}var i=n[0],p=-1,g=i?i.length:0,h=[];n:for(;++p<g;){var v=o[0],f=i[p];
if(0>(v?r(v,f):a(l,f))){for(e=u,(v||l).push(f);--e;)if(v=o[e],0>(v?r(v,f):a(n[e],f)))continue n;h.push(f)}}return s(o),s(l),h},u.invert=function(n,t){for(var r=-1,e=de(n),u=e.length,o={};++r<u;){var a=e[r],i=n[a];t?$r.call(o,i)?o[i].push(a):o[i]=[a]:o[i]=a}return o},u.invoke=function(n,t){var r=Tt(arguments,2),e=-1,u=typeof t=="function",o=n?n.length:0,a=hr(typeof o=="number"?o:0);return ht(n,function(n){a[++e]=(u?t:n[t]).apply(n,r)}),a},u.keys=de,u.map=Ut,u.mapValues=function(n,t,r){var e={};return t=u.createCallback(t,r,3),mt(n,function(n,r,u){e[r]=t(n,r,u)
}),e},u.match=cr,u.max=Vt,u.memoize=function(n,t){if(!ur(n))throw new xr;var r=function(){var e=r.cache,u=t?t.apply(this,arguments):"_"+arguments[0];return $r.call(e,u)?e[u]:e[u]=n.apply(this,arguments)};return r.cache={},r},u.merge=function(n,t,r){if(!or(n))return n;var e=arguments,u=e.length,o=typeof r;if("number"!=o&&"string"!=o||!e[3]||e[3][r]!==t||(u=2),3<u&&"function"==typeof e[u-2])var a=H(e[--u-1],e[u--],2);else 2<u&&"function"==typeof e[u-1]&&(a=e[--u]);for(var e=Tt(arguments,1,u),o=-1,i=c(),l=c();++o<u;)_t(n,e[o],a,i,l);
return s(i),s(l),n},u.min=function(n,t,r){var o=1/0,a=o,i=typeof t;if("number"!=i&&"string"!=i||!r||r[t]!==n||(t=null),null==t&&ye(n))for(r=-1,i=n.length;++r<i;){var l=n[r];l<a&&(a=l)}else t=null==t&&ir(n)?e:u.createCallback(t,r,3),ht(n,function(n,r,e){r=t(n,r,e),r<o&&(o=r,a=n)});return a},u.omit=function(n,t,r){var e={};if(typeof t!="function"){var o=[];ce(n,function(n,t){o.push(t)});for(var o=gt(o,vt(arguments,true,false,1)),a=-1,i=o.length;++a<i;){var l=o[a];e[l]=n[l]}}else t=u.createCallback(t,r,3),ce(n,function(n,r,u){t(n,r,u)||(e[r]=n)
});return e},u.once=function(n){var t,r;if(!ur(n))throw new xr;return function(){return t?r:(t=true,r=n.apply(this,arguments),n=null,r)}},u.pairs=function(n){for(var t=-1,r=de(n),e=r.length,u=hr(e);++t<e;){var o=r[t];u[t]=[o,n[o]]}return u},u.partial=function(n){var t=n&&(n[N]?n[N][2]:n.length),r=Tt(arguments,1),t=t-r.length;return Ct(n,O,t,null,r)},u.partialRight=function(n){var t=n&&(n[N]?n[N][2]:n.length),r=Tt(arguments,1),t=t-r.length;return Ct(n,E,t,null,null,r)},u.pick=function(n,t,r){var e={};
if(typeof t!="function")for(var o=-1,a=vt(arguments,true,false,1),i=or(n)?a.length:0;++o<i;){var l=a[o];l in n&&(e[l]=n[l])}else t=u.createCallback(t,r,3),ce(n,function(n,r,u){t(n,r,u)&&(e[r]=n)});return e},u.pluck=ve,u.property=gr,u.pull=function(n){for(var t=arguments,r=0,e=t.length,u=n?n.length:0;++r<e;)for(var o=-1,a=t[r];++o<u;)n[o]===a&&(zr.call(n,o--,1),u--);return n},u.range=function(n,t,r){n=+n||0,r=typeof r=="number"?r:+r||1,null==t&&(t=n,n=0);var e=-1;t=Qr(0,Rr((t-n)/(r||1)));for(var u=hr(t);++e<t;)u[e]=n,n+=r;
return u},u.reject=function(n,t,r){return t=u.createCallback(t,r,3),Wt(n,function(n,r,e){return!t(n,r,e)})},u.remove=function(n,t,r){var e=-1,o=n?n.length:0,a=[];for(t=u.createCallback(t,r,3);++e<o;)r=n[e],t(r,e,n)&&(a.push(r),zr.call(n,e--,1),o--);return a},u.rest=Rt,u.shuffle=Ht,u.slice=Tt,u.sortBy=function(n,t,r){var e=-1,o=t&&ye(t),l=n?n.length:0,f=hr(typeof l=="number"?l:0);for(o||(t=u.createCallback(t,r,3)),ht(n,function(n,r,u){var a=f[++e]=J.pop()||{f:null,g:0,h:null};a.g=e,a.h=n,a.f=o?Ut(t,function(t){return n[t]
}):t(n,r,u)}),l=f.length,f.sort(o?i:a);l--;)n=f[l],f[l]=n.h,g(n);return f},u.tap=function(n,t,r){return t.call(r,n),n},u.throttle=function(n,t,r){var e=true,u=true;if(!ur(n))throw new xr;return false===r?e=false:or(r)&&(e="leading"in r?r.leading:e,u="trailing"in r?r.trailing:u),ct.leading=e,ct.maxWait=t,ct.trailing=u,Yt(n,t,ct)},u.times=function(n,t,r){n=-1<(n=+n)?n:0;var e=-1,u=hr(n);for(t=H(t,r,1);++e<n;)u[e]=t(e);return u},u.toArray=function(n){return n&&typeof n.length=="number"?ie.unindexedChars&&ir(n)?n.split(""):Tt(n):lr(n)
},u.transform=function(n,t,r,e){var o=ye(n);if(null==r)if(o)r=[];else{var a=n&&n.constructor;r=A(a&&a.prototype)}return t&&(t=u.createCallback(t,e,4),(o?ht:mt)(n,function(n,e,u){return t(r,n,e,u)})),r},u.union=function(){return jt(vt(arguments,true,true))},u.uniq=qt,u.values=lr,u.where=Wt,u.without=function(n){return gt(n,Tt(arguments,1))},u.wrap=function(n,t){return Ct(t,O,null,null,[n])},u.xor=function(){for(var n=-1,t=arguments.length;++n<t;){var r=arguments[n];if(ye(r)||At(r))var e=e?gt(e,r).concat(gt(r,e)):r
}return e?jt(e):[]},u.zip=Ft,u.zipObject=$t,u.collect=Ut,u.drop=Rt,u.each=Kt,u.eachRight=Mt,u.extend=Zt,u.methods=rr,u.object=$t,u.select=Wt,u.tail=Rt,u.unique=qt,u.unzip=Ft,pr(Zt({},u)),u.capitalize=function(n){return null==n?"":(n=jr(n),n.charAt(0).toUpperCase()+n.slice(1))},u.clone=function(n,t,r,e){var u=typeof t;return"boolean"!=u&&null!=t&&(e=r,r=t,t=false,"number"!=u&&"string"!=u||!e||e[r]!==n||(r=null)),d(n,t,typeof r=="function"&&H(r,e,1))},u.cloneDeep=function(n,t,r){return d(n,true,typeof t=="function"&&H(t,r,1))
},u.contains=Bt,u.escape=function(n){return null==n?"":jr(n).replace($,l)},u.every=Dt,u.find=zt,u.findIndex=function(n,t,r){var e=-1,o=n?n.length:0;for(t=u.createCallback(t,r,3);++e<o;)if(t(n[e],e,n))return e;return-1},u.findKey=function(n,t,r){var e;return t=u.createCallback(t,r,3),mt(n,function(n,r,u){return t(n,r,u)?(e=r,false):void 0}),e},u.findLast=function(n,t,r){var e;return t=u.createCallback(t,r,3),Mt(n,function(n,r,u){return t(n,r,u)?(e=n,false):void 0}),e},u.findLastIndex=function(n,t,r){var e=n?n.length:0;
for(t=u.createCallback(t,r,3);e--;)if(t(n[e],e,n))return e;return-1},u.findLastKey=function(n,t,r){var e;return t=u.createCallback(t,r,3),tr(n,function(n,r,u){return t(n,r,u)?(e=r,false):void 0}),e},u.has=function(n,t){return n?$r.call(n,t):false},u.identity=fr,u.indexOf=Nt,u.isArguments=At,u.isArray=ye,u.isBoolean=function(n){return true===n||false===n||n&&typeof n=="object"&&Ir.call(n)==tt||false},u.isDate=function(n){return n&&typeof n=="object"&&Ir.call(n)==rt||false},u.isElement=er,u.isEmpty=function(n){var t=true;
if(!n)return t;var r=Ir.call(n),e=n.length;return r==nt||r==lt||(ie.argsClass?r==Z:At(n))||r==at&&typeof e=="number"&&ur(n.splice)?!e:(mt(n,function(){return t=false}),t)},u.isEqual=function(n,t,r,e){return dt(n,t,typeof r=="function"&&H(r,e,2))},u.isFinite=function(n){return Gr(n)&&!Hr(parseFloat(n))},u.isFunction=ur,u.isNaN=function(n){return ar(n)&&n!=+n},u.isNull=function(n){return null===n},u.isNumber=ar,u.isObject=or,u.isPlainObject=me,u.isRegExp=function(n){var t=typeof n;return n&&("function"==t||"object"==t)&&Ir.call(n)==it||false
},u.isString=ir,u.isUndefined=function(n){return typeof n=="undefined"},u.lastIndexOf=function(n,t,r){var e=n?n.length:0;for(typeof r=="number"&&(e=(0>r?Qr(0,e+r):Yr(r,e-1))+1);e--;)if(n[e]===t)return e;return-1},u.mixin=pr,u.noConflict=function(){return n._=Ar,this},u.noop=sr,u.now=je,u.parseInt=xe,u.random=function(n,t,r){var e=null==n,u=null==t;return null==r&&(u&&typeof n=="boolean"?(r=n,n=1):typeof t=="boolean"&&(r=t,u=true)),e&&u&&(t=1,u=false),n=+n||0,u?(t=n,n=0):t=+t||0,r||n%1||t%1?(r=te(),Yr(n+r*(t-n+parseFloat("1e-"+((r+"").length-1))),t)):wt(n,t)
},u.reduce=Xt,u.reduceRight=Gt,u.result=function(n,t,r){return null==n?r:(r="undefined"!=typeof n[t]?n[t]:r,ur(r)?n[t]():r)},u.runInContext=_,u.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:de(n).length},u.some=Jt,u.sortedIndex=Pt,u.template=function(n,t,r){var e=u.templateSettings;n=jr(n||""),r=nr({},r,e);var o,a=nr({},r.imports,e.imports),e=de(a),a=lr(a),i=0,l=r.interpolate||U,c="__p+='",l=wr((r.escape||U).source+"|"+l.source+"|"+(l===D?W:U).source+"|"+(r.evaluate||U).source+"|$","g");
n.replace(l,function(t,r,e,u,a,l){return e||(e=u),c+=n.slice(i,l).replace(X,f),r&&(c+="'+__e("+r+")+'"),a&&(o=true,c+="';"+a+";\n__p+='"),e&&(c+="'+((__t=("+e+"))==null?'':__t)+'"),i=l+t.length,t}),c+="';",l=r=r.variable,l||(r="obj",c="with("+r+"){"+c+"}"),c=(o?c.replace(T,""):c).replace(P,"$1").replace(q,"$1;"),c="function("+r+"){"+(l?"":r+"||("+r+"={});")+"var __t,__p='',__e=_.escape"+(o?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+c+"return __p}";try{var p=mr(e,"return "+c).apply(w,a)
}catch(s){throw s.source=c,s}return t?p(t):(p.source=c,p)},u.trim=be,u.trimLeft=_e,u.trimRight=we,u.unescape=function(n){return null==n?"":(n=jr(n),0>n.indexOf(";")?n:n.replace(F,b))},u.uniqueId=function(n){var t=++R;return jr(null==n?"":n)+t},u.all=Dt,u.any=Jt,u.detect=zt,u.findWhere=zt,u.foldl=Xt,u.foldr=Gt,u.include=Bt,u.inject=Xt,pr(function(){var n={};return mt(u,function(t,r){u.prototype[r]||(n[r]=t)}),n}(),false),u.first=It,u.last=function(n,t,r){var e=0,o=n?n.length:0;if(typeof t!="number"&&null!=t){var a=o;
for(t=u.createCallback(t,r,3);a--&&t(n[a],a,n);)e++}else if(e=t,null==e||r)return n?n[o-1]:w;return e=o-e,Tt(n,0<e?e:0)},u.sample=function(n,t,r){return n&&typeof n.length!="number"?n=lr(n):ie.unindexedChars&&ir(n)&&(n=n.split("")),null==t||r?n?n[wt(0,n.length-1)]:w:(n=Ht(n),n.length=Yr(Qr(0,t),n.length),n)},u.take=It,u.head=It,mt(u,function(n,t){var r="sample"!==t;u.prototype[t]||(u.prototype[t]=function(t,e){var u=this.__chain__,a=n(this.__wrapped__,t,e);return u||null!=t&&(!e||r&&typeof t=="function")?new o(a,u):a
})}),u.VERSION=I,u.prototype.chain=function(){return this.__chain__=true,this},u.prototype.toString=function(){return jr(this.__wrapped__)},u.prototype.value=Lt,u.prototype.valueOf=Lt,ht(["join","pop","shift"],function(n){var t=Cr[n];u.prototype[n]=function(){var n=this.__chain__,r=t.apply(this.__wrapped__,arguments);return n?new o(r,n):r}}),ht(["push","reverse","sort","unshift"],function(n){var t=Cr[n];u.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),ht(["concat","splice"],function(n){var t=Cr[n];
u.prototype[n]=function(){return new o(t.apply(this.__wrapped__,arguments),this.__chain__)}}),ie.spliceObjects||ht(["pop","shift","splice"],function(n){var t=Cr[n],r="splice"==n;u.prototype[n]=function(){var n=this.__chain__,e=this.__wrapped__,u=t.apply(e,arguments);return 0===e.length&&delete e[0],n||r?new o(u,n):u}}),u}var w,j=1,x=2,C=4,k=8,O=16,E=32,S=75,A=40,I="2.4.1",N="__lodash@"+I+"__",R=0,T=/\b__p\+='';/g,P=/\b(__p\+=)''\+/g,q=/(__e\(.*?\)|\b__t\))\+'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,L=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,D=/<%=([\s\S]+?)%>/g,W=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,z=/\w*$/,K=/^\s*function[ \n\r\t]+\w/,M=/^0[xX]/,U=/($^)/,V=/\bthis\b/,X=/['\n\r\t\u2028\u2029\\]/g,G=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",H=[],J=[],Q="Array Boolean Date Error Function Math Number Object RegExp Set String _ clearTimeout document isFinite isNaN parseInt setTimeout TypeError window WinRTError".split(" "),Y="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Z="[object Arguments]",nt="[object Array]",tt="[object Boolean]",rt="[object Date]",et="[object Error]",ut="[object Function]",ot="[object Number]",at="[object Object]",it="[object RegExp]",lt="[object String]",ft={};
ft[ut]=false,ft[Z]=ft[nt]=ft[tt]=ft[rt]=ft[ot]=ft[at]=ft[it]=ft[lt]=true;var ct={leading:false,maxWait:0,trailing:false},pt={configurable:false,enumerable:false,value:null,writable:false},st={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},gt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ht={"function":true,object:true},vt={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},yt=ht[typeof window]&&window||this,mt=ht[typeof exports]&&exports&&!exports.nodeType&&exports,dt=ht[typeof global]&&global;
!dt||dt.global!==dt&&dt.window!==dt||(yt=dt);var dt=(ht=ht[typeof module]&&module&&!module.nodeType&&module)&&ht.exports===mt&&mt,bt=_();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(yt._=bt, define(function(){return bt})):mt&&ht?dt?(ht.exports=bt)._=bt:mt._=bt:yt._=bt}).call(this);