drupal-civicrm/sites/all/modules/civicrm/bower_components/lodash-compat/lodash.min.js

87 lines
48 KiB
JavaScript
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
/**
* @license
* lodash 3.0.1 (Custom Build) lodash.com/license | Underscore.js 1.7.0 underscorejs.org/LICENSE
* Build: `lodash compat -o ./lodash.js`
*/
;(function(){function n(n,t){if(n!==t){var r=n===n,e=t===t;if(n>t||!r||typeof n=="undefined"&&e)return 1;if(n<t||!e||typeof t=="undefined"&&r)return-1}return 0}function t(n,t,r){if(t!==t)return p(n,r);r=(r||0)-1;for(var e=n.length;++r<e;)if(n[r]===t)return r;return-1}function r(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].c;return n}function e(n){return typeof n=="string"?n:null==n?"":n+""}function u(n){return n.charCodeAt(0)}function o(n,t){for(var r=-1,e=n.length;++r<e&&-1<t.indexOf(n.charAt(r)););return r
}function i(n,t){for(var r=n.length;r--&&-1<t.indexOf(n.charAt(r)););return r}function a(t,r){return n(t.a,r.a)||t.b-r.b}function f(t,r){for(var e=-1,u=t.a,o=r.a,i=u.length;++e<i;){var a=n(u[e],o[e]);if(a)return a}return t.b-r.b}function l(n){return Ft[n]}function c(n){return Wt[n]}function s(n){return"\\"+$t[n]}function p(n,t,r){var e=n.length;for(t=r?t||e:(t||0)-1;r?t--:++t<e;){var u=n[t];if(u!==u)return t}return-1}function h(n){return n&&typeof n=="object"||false}function g(n){return 160>=n&&9<=n&&13>=n||32==n||160==n||5760==n||6158==n||8192<=n&&(8202>=n||8232==n||8233==n||8239==n||8287==n||12288==n||65279==n)
}function v(n,t){for(var r=-1,e=n.length,u=-1,o=[];++r<e;)n[r]===t&&(n[r]=P,o[++u]=r);return o}function d(n){for(var t=-1,r=n.length;++t<r&&g(n.charCodeAt(t)););return t}function y(n){for(var t=n.length;t--&&g(n.charCodeAt(t)););return t}function m(n){return Nt[n]}function _(g){function Ft(n){if(h(n)&&!Lo(n)){if(n instanceof Wt)return n;if($u.call(n,"__wrapped__"))return new Wt(n.__wrapped__,n.__chain__,zt(n.__actions__))}return new Wt(n)}function Wt(n,t,r){this.__actions__=r||[],this.__chain__=!!t,this.__wrapped__=n
}function Nt(n){this.actions=null,this.dir=1,this.dropCount=0,this.filtered=false,this.iteratees=null,this.takeCount=go,this.views=null,this.wrapped=n}function Lt(){this.__data__={}}function $t(n){var t=n?n.length:0;for(this.data={hash:uo(null),set:new Xu};t--;)this.push(n[t])}function Bt(n,t){var r=n.data;return(typeof t=="string"||Xe(t)?r.set.has(t):r.hash[t])?0:-1}function zt(n,t){var r=-1,e=n.length;for(t||(t=bu(e));++r<e;)t[r]=n[r];return t}function qt(n,t){for(var r=-1,e=n.length;++r<e&&false!==t(n[r],r,n););return n
}function Kt(n,t){for(var r=-1,e=n.length;++r<e;)if(!t(n[r],r,n))return false;return true}function Vt(n,t){for(var r=-1,e=n.length,u=-1,o=[];++r<e;){var i=n[r];t(i,r,n)&&(o[++u]=i)}return o}function Yt(n,t){for(var r=-1,e=n.length,u=bu(e);++r<e;)u[r]=t(n[r],r,n);return u}function Zt(n){for(var t=-1,r=n.length,e=ho;++t<r;){var u=n[t];u>e&&(e=u)}return e}function Gt(n,t,r,e){var u=-1,o=n.length;for(e&&o&&(r=n[++u]);++u<o;)r=t(r,n[u],u,n);return r}function Jt(n,t,r,e){var u=n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);
return r}function Xt(n,t){for(var r=-1,e=n.length;++r<e;)if(t(n[r],r,n))return true;return false}function Ht(n,t){return typeof n=="undefined"?t:n}function Qt(n,t,r,e){return typeof n!="undefined"&&$u.call(e,r)?n:t}function nr(n,t,r){var e=zo(t);if(!r)return rr(t,n,e);for(var u=-1,o=e.length;++u<o;){var i=e[u],a=n[i],f=r(a,t[i],i,n,t);(f===f?f===a:a!==a)&&(typeof a!="undefined"||i in n)||(n[i]=f)}return n}function tr(n,t){for(var r=-1,e=n.length,u=ie(e),o=t.length,i=bu(o);++r<o;){var a=t[r];u?(a=parseFloat(a),i[r]=ue(a,e)?n[a]:w):i[r]=n[a]
}return i}function rr(n,t,r){r||(r=t,t={});for(var e=-1,u=r.length;++e<u;){var o=r[e];t[o]=n[o]}return t}function er(n,t,r){var e=typeof n;if("function"==e){if(e=typeof t!="undefined"){var e=Ft.support,u=!(e.funcNames?n.name:e.funcDecomp);if(!u){var o=Nu.call(n);e.funcNames||(u=!mt.test(o)),u||(u=Et.test(o)||He(n),Oo(n,u))}e=u}n=e?Wr(n,t,r):n}else n=null==n?du:"object"==e?Ar(n,!r):Er(n+"");return n}function ur(n,t,r,e,u,o,i){var a;if(r&&(a=u?r(n,e,u):r(n)),typeof a!="undefined")return a;if(!Xe(n))return n;
if(e=Lo(n)){if(a=te(n),!t)return zt(n,a)}else{var f=Bu.call(n),l=f==K;if(f!=Y&&f!=B&&(!l||u))return Tt[f]?ee(n,f,t):u?n:{};if(Dt(n))return u?n:{};if(a=re(l?{}:n),!t)return rr(n,a,zo(n))}for(o||(o=[]),i||(i=[]),u=o.length;u--;)if(o[u]==n)return i[u];return o.push(n),i.push(a),(e?qt:dr)(n,function(e,u){a[u]=ur(e,t,r,u,n,o,i)}),a}function or(n,t,r,e){if(!Je(n))throw new Su($);return Hu(function(){n.apply(w,kr(r,e))},t)}function ir(n,r){var e=n?n.length:0,u=[];if(!e)return u;var o=-1,i=ne(),a=i==t,f=a&&200<=r.length&&Io(r),l=r.length;
f&&(i=Bt,a=false,r=f);n:for(;++o<e;)if(f=n[o],a&&f===f){for(var c=l;c--;)if(r[c]===f)continue n;u.push(f)}else 0>i(r,f)&&u.push(f);return u}function ar(n,t){var r=n?n.length:0;if(!ie(r))return dr(n,t);for(var e=-1,u=he(n);++e<r&&false!==t(u[e],e,u););return n}function fr(n,t){var r=n?n.length:0;if(!ie(r))return yr(n,t);for(var e=he(n);r--&&false!==t(e[r],r,e););return n}function lr(n,t){var r=true;return ar(n,function(n,e,u){return r=!!t(n,e,u)}),r}function cr(n,t){var r=[];return ar(n,function(n,e,u){t(n,e,u)&&r.push(n)
}),r}function sr(n,t,r,e){var u;return r(n,function(n,r,o){return t(n,r,o)?(u=e?r:n,false):void 0}),u}function pr(n,t,r,e){e=(e||0)-1;for(var u=n.length,o=-1,i=[];++e<u;){var a=n[e];if(h(a)&&ie(a.length)&&(Lo(a)||Ye(a))){t&&(a=pr(a,t,r));var f=-1,l=a.length;for(i.length+=l;++f<l;)i[++o]=a[f]}else r||(i[++o]=a)}return i}function hr(n,t,r){var e=-1,u=he(n);r=r(n);for(var o=r.length;++e<o;){var i=r[e];if(false===t(u[i],i,u))break}return n}function gr(n,t,r){var e=he(n);r=r(n);for(var u=r.length;u--;){var o=r[u];
if(false===t(e[o],o,e))break}return n}function vr(n,t){hr(n,t,ou)}function dr(n,t){return hr(n,t,zo)}function yr(n,t){return gr(n,t,zo)}function mr(n,t){for(var r=-1,e=t.length,u=-1,o=[];++r<e;){var i=t[r];Je(n[i])&&(o[++u]=i)}return o}function _r(n,t,r){var e=-1,u=typeof t=="function",o=n?n.length:0,i=ie(o)?bu(o):[];return ar(n,function(n){var o=u?t:null!=n&&n[t];i[++e]=o?o.apply(n,r):w}),i}function wr(n,t,r,e,u,o){if(n===t)return 0!==n||1/n==1/t;var i=typeof n,a=typeof t;if("function"!=i&&"object"!=i&&"function"!=a&&"object"!=a||null==n||null==t)n=n!==n&&t!==t;
else n:{var i=wr,a=Lo(n),f=Lo(t),l=z,c=z;a||(l=Bu.call(n),l==B?l=Y:l!=Y&&(a=ru(n))),f||(c=Bu.call(t),c==B?c=Y:c!=Y&&ru(t));var s=l==Y&&!Dt(n),f=c==Y&&!Dt(t),c=l==c;if(!c||a||s)if(l=s&&$u.call(n,"__wrapped__"),f=f&&$u.call(t,"__wrapped__"),l||f)n=i(l?n.value():n,f?t.value():t,r,e,u,o);else if(c){for(u||(u=[]),o||(o=[]),l=u.length;l--;)if(u[l]==n){n=o[l]==t;break n}u.push(n),o.push(t),n=(a?Gr:Xr)(n,t,i,r,e,u,o),u.pop(),o.pop()}else n=false;else n=Jr(n,t,l)}return n}function br(n,t,r,e,u){var o=t.length;
if(null==n)return!o;for(var i=-1,a=!u;++i<o;)if(a&&e[i]?r[i]!==n[t[i]]:!$u.call(n,t[i]))return false;for(i=-1;++i<o;){var f=t[i];if(a&&e[i])f=$u.call(n,f);else{var l=n[f],c=r[i],f=u?u(l,c,f):w;typeof f=="undefined"&&(f=wr(c,l,u,true))}if(!f)return false}return true}function xr(n,t){var r=[];return ar(n,function(n,e,u){r.push(t(n,e,u))}),r}function Ar(n,t){var r=zo(n),e=r.length;if(1==e){var u=r[0],o=n[u];if(ae(o))return function(n){return null!=n&&o===n[u]&&$u.call(n,u)}}t&&(n=ur(n,true));for(var i=bu(e),a=bu(e);e--;)o=n[r[e]],i[e]=o,a[e]=ae(o);
return function(n){return br(n,r,i,a)}}function jr(n,t,r,e,u){var o=ie(t.length)&&(Lo(t)||ru(t));return(o?qt:dr)(t,function(t,i,a){if(h(t)){e||(e=[]),u||(u=[]);n:{t=e;for(var f=u,l=t.length,c=a[i];l--;)if(t[l]==c){n[i]=f[l],i=void 0;break n}l=n[i],a=r?r(l,c,i,n,a):w;var s=typeof a=="undefined";s&&(a=c,ie(c.length)&&(Lo(c)||ru(c))?a=Lo(l)?l:l?zt(l):[]:Po(c)||Ye(c)?a=Ye(l)?eu(l):Po(l)?l:{}:s=false),t.push(c),f.push(a),s?n[i]=jr(a,c,r,t,f):(a===a?a!==l:l===l)&&(n[i]=a),i=void 0}return i}f=n[i],a=r?r(f,t,i,n,a):w,(c=typeof a=="undefined")&&(a=t),!o&&typeof a=="undefined"||!c&&(a===a?a===f:f!==f)||(n[i]=a)
}),n}function Er(n){return function(t){return null==t?w:t[n]}}function Or(n,t){return n+Yu(po()*(t-n+1))}function Ir(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=false,n):t(r,n,u,o)}),r}function kr(n,t,r){var e=-1,u=n.length;for(t=null==t?0:+t||0,0>t&&(t=-t>u?0:u+t),r=typeof r=="undefined"||r>u?u:+r||0,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=bu(u);++e<u;)r[e]=n[e+t];return r}function Rr(n,t){var r;return ar(n,function(n,e,u){return r=t(n,e,u),!r}),!!r}function Sr(n,r){var e=-1,u=ne(),o=n.length,i=u==t,a=i&&200<=o,f=a&&Io(),l=[];
f?(u=Bt,i=false):(a=false,f=r?[]:l);n:for(;++e<o;){var c=n[e],s=r?r(c,e,n):c;if(i&&c===c){for(var p=f.length;p--;)if(f[p]===s)continue n;r&&f.push(s),l.push(c)}else 0>u(f,s)&&((r||a)&&f.push(s),l.push(c))}return l}function Cr(n,t){for(var r=-1,e=t.length,u=bu(e);++r<e;)u[r]=n[t[r]];return u}function Tr(n,t){var r=n;r instanceof Nt&&(r=r.value());for(var e=-1,u=t.length;++e<u;){var r=[r],o=t[e];Gu.apply(r,o.args),r=o.func.apply(o.thisArg,r)}return r}function Ur(n,t,r){var e=0,u=n?n.length:e;if(typeof t=="number"&&t===t&&u<=mo){for(;e<u;){var o=e+u>>>1,i=n[o];
(r?i<=t:i<t)?e=o+1:u=o}return u}return Fr(n,t,du,r)}function Fr(n,t,r,e){t=r(t);for(var u=0,o=n?n.length:0,i=t!==t,a=typeof t=="undefined";u<o;){var f=Yu((u+o)/2),l=r(n[f]),c=l===l;(i?c||e:a?c&&(e||typeof l!="undefined"):e?l<=t:l<t)?u=f+1:o=f}return fo(o,yo)}function Wr(n,t,r){if(typeof n!="function")return du;if(typeof t=="undefined")return n;switch(r){case 1:return function(r){return n.call(t,r)};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)
};case 5:return function(r,e,u,o,i){return n.call(t,r,e,u,o,i)}}return function(){return n.apply(t,arguments)}}function Nr(n){return qu.call(n,0)}function Lr(n,t,r){for(var e=r.length,u=-1,o=ao(n.length-e,0),i=-1,a=t.length,f=bu(o+a);++i<a;)f[i]=t[i];for(;++u<e;)f[r[u]]=n[u];for(;o--;)f[i++]=n[u++];return f}function $r(n,t,r){for(var e=-1,u=r.length,o=-1,i=ao(n.length-u,0),a=-1,f=t.length,l=bu(i+f);++o<i;)l[o]=n[o];for(i=o;++a<f;)l[i+a]=t[a];for(;++e<u;)l[i+r[e]]=n[o++];return l}function Pr(n,t){return function(r,e,u){var o=t?t():{};
if(e=Qr(e,u,3),Lo(r)){u=-1;for(var i=r.length;++u<i;){var a=r[u];n(o,a,e(a,u,r),r)}}else ar(r,function(t,r,u){n(o,t,e(t,r,u),u)});return o}}function Br(n){return function(){var t=arguments.length,r=arguments[0];if(2>t||null==r)return r;if(3<t&&oe(arguments[1],arguments[2],arguments[3])&&(t=2),3<t&&"function"==typeof arguments[t-2])var e=Wr(arguments[--t-1],arguments[t--],5);else 2<t&&"function"==typeof arguments[t-1]&&(e=arguments[--t]);for(var u=0;++u<t;){var o=arguments[u];o&&n(r,o,e)}return r}
}function zr(n,t){function r(){return(this instanceof r?e:n).apply(t,arguments)}var e=Mr(n);return r}function Dr(n){return function(t){var r=-1;t=pu(au(t));for(var e=t.length,u="";++r<e;)u=n(u,t[r],r);return u}}function Mr(n){return function(){var t=Eo(n.prototype),r=n.apply(t,arguments);return Xe(r)?r:t}}function qr(n,t){return function(r,e,o){o&&oe(r,e,o)&&(e=null);var i=Qr(),a=null==e;if(i===er&&a||(a=false,e=i(e,o,3)),a){if(e=Lo(r),e||!tu(r))return n(e?r:pe(r));e=u}return Hr(r,e,t)}}function Kr(n,t,r,e,u,o,i,a,f,l){function c(){for(var b=arguments.length,j=b,E=bu(b);j--;)E[j]=arguments[j];
if(e&&(E=Lr(E,e,u)),o&&(E=$r(E,o,i)),g||y){var j=c.placeholder,O=v(E,j),b=b-O.length;if(b<l){var R=a?zt(a):null,b=ao(l-b,0),S=g?O:null,O=g?null:O,C=g?E:null,E=g?null:E;return t|=g?I:k,t&=~(g?k:I),d||(t&=~(x|A)),E=Kr(n,t,r,C,S,E,O,R,f,b),E.placeholder=j,E}}if(j=p?r:this,h&&(n=j[_]),a)for(R=E.length,b=fo(a.length,R),S=zt(E);b--;)O=a[b],E[b]=ue(O,R)?S[O]:w;return s&&f<E.length&&(E.length=f),(this instanceof c?m||Mr(n):n).apply(j,E)}var s=t&S,p=t&x,h=t&A,g=t&E,d=t&j,y=t&O,m=!h&&Mr(n),_=n;return c}function Vr(n,t,r){return n=n.length,t=+t,n<t&&oo(t)?(t-=n,r=null==r?" ":r+"",cu(r,Ku(t/r.length)).slice(0,t)):""
}function Yr(n,t,r,e){function u(){for(var t=-1,a=arguments.length,f=-1,l=e.length,c=bu(a+l);++f<l;)c[f]=e[f];for(;a--;)c[f++]=arguments[++t];return(this instanceof u?i:n).apply(o?r:this,c)}var o=t&x,i=Mr(n);return u}function Zr(n,t,r,e,u,o,i,a){var f=t&A;if(!f&&!Je(n))throw new Su($);var l=e?e.length:0;if(l||(t&=~(I|k),e=u=null),l-=u?u.length:0,t&k){var c=e,s=u;e=u=null}var p=!f&&ko(n);if(r=[n,t,r,e,u,c,s,o,i,a],p&&true!==p){e=r[1],t=p[1],a=e|t,o=S|R,u=x|A,i=o|u|j|O;var c=e&S&&!(t&S),s=e&R&&!(t&R),h=(s?r:p)[7],g=(c?r:p)[8];
o=a>=o&&a<=i&&(e<R||(s||c)&&h.length<=g),(!(e>=R&&t>u||e>u&&t>=R)||o)&&(t&x&&(r[2]=p[2],a|=e&x?0:j),(e=p[3])&&(u=r[3],r[3]=u?Lr(u,e,p[4]):zt(e),r[4]=u?v(r[3],P):zt(p[4])),(e=p[5])&&(u=r[5],r[5]=u?$r(u,e,p[6]):zt(e),r[6]=u?v(r[5],P):zt(p[6])),(e=p[7])&&(r[7]=zt(e)),t&S&&(r[8]=null==r[8]?p[8]:fo(r[8],p[8])),null==r[9]&&(r[9]=p[9]),r[0]=p[0],r[1]=a),t=r[1],a=r[9]}return r[9]=null==a?f?0:n.length:ao(a-l,0)||0,(p?Oo:Ro)(t==x?zr(r[0],r[2]):t!=I&&t!=(x|I)||r[4].length?Kr.apply(null,r):Yr.apply(null,r),r)
}function Gr(n,t,r,e,u,o,i){var a=-1,f=n.length,l=t.length,c=true;if(f!=l&&(!u||l<=f))return false;for(;c&&++a<f;){var s=n[a],p=t[a],c=w;if(e&&(c=u?e(p,s,a):e(s,p,a)),typeof c=="undefined")if(u)for(var h=l;h--&&(p=t[h],!(c=s&&s===p||r(s,p,e,u,o,i))););else c=s&&s===p||r(s,p,e,u,o,i)}return!!c}function Jr(n,t,r){switch(r){case D:case M:return+n==+t;case q:return n.name==t.name&&n.message==t.message;case V:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case Z:case G:return n==t+""}return false}function Xr(n,t,r,e,u,o,i){var a=zo(n),f=a.length,l=zo(t).length;
if(f!=l&&!u)return false;for(var c,l=-1;++l<f;){var s=a[l],p=$u.call(t,s);if(p){var h=n[s],g=t[s],p=w;e&&(p=u?e(g,h,s):e(h,g,s)),typeof p=="undefined"&&(p=h&&h===g||r(h,g,e,u,o,i))}if(!p)return false;c||(c="constructor"==s)}return c||(r=n.constructor,e=t.constructor,!(r!=e&&"constructor"in n&&"constructor"in t)||typeof r=="function"&&r instanceof r&&typeof e=="function"&&e instanceof e)?true:false}function Hr(n,t,r){var e=r?go:ho,u=e,o=u;return ar(n,function(n,i,a){i=t(n,i,a),((r?i<u:i>u)||i===e&&i===o)&&(u=i,o=n)
}),o}function Qr(n,t,r){var e=Ft.callback||gu,e=e===gu?er:e;return r?e(n,t,r):e}function ne(n,r,e){var u=Ft.indexOf||me,u=u===me?t:u;return n?u(n,r,e):u}function te(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&$u.call(n,"index")&&(r.index=n.index,r.input=n.input),r}function re(n){return n=n.constructor,typeof n=="function"&&n instanceof n||(n=Iu),new n}function ee(n,t,r){var e=n.constructor;switch(t){case J:return Nr(n);case D:case M:return new e(+n);case X:case H:case Q:case nt:case tt:case rt:case et:case ut:case ot:return e instanceof e&&(e=xo[t]),t=n.buffer,new e(r?Nr(t):t,n.byteOffset,n.length);
case V:case G:return new e(n);case Z:var u=new e(n.source,yt.exec(n));u.lastIndex=n.lastIndex}return u}function ue(n,t){return n=+n,t=null==t?wo:t,-1<n&&0==n%1&&n<t}function oe(n,t,r){if(!Xe(r))return false;var e=typeof t;return"number"==e?(e=r.length,e=ie(e)&&ue(t,e)):e="string"==e&&t in n,e&&r[t]===n}function ie(n){return typeof n=="number"&&-1<n&&0==n%1&&n<=wo}function ae(n){return n===n&&(0===n?0<1/n:!Xe(n))}function fe(n,t){n=he(n);for(var r=-1,e=t.length,u={};++r<e;){var o=t[r];o in n&&(u[o]=n[o])
}return u}function le(n,t){var r={};return vr(n,function(n,e,u){t(n,e,u)&&(r[e]=n)}),r}function ce(n){var t,r=Ft.support;if(!h(n)||Bu.call(n)!=Y||Dt(n)||!($u.call(n,"constructor")||(t=n.constructor,typeof t!="function"||t instanceof t))||!r.argsTag&&Ye(n))return false;var e;return r.ownLast?(vr(n,function(n,t,r){return e=$u.call(r,t),false}),false!==e):(vr(n,function(n,t){e=t}),typeof e=="undefined"||$u.call(n,e))}function se(n){for(var t=ou(n),r=t.length,e=r&&n.length,u=Ft.support,u=e&&ie(e)&&(Lo(n)||u.nonEnumStrings&&tu(n)||u.nonEnumArgs&&Ye(n)),o=-1,i=[];++o<r;){var a=t[o];
(u&&ue(a,e)||$u.call(n,a))&&i.push(a)}return i}function pe(n){return null==n?[]:ie(n.length)?Ft.support.unindexedChars&&tu(n)?n.split(""):Xe(n)?n:Iu(n):iu(n)}function he(n){if(Ft.support.unindexedChars&&tu(n)){for(var t=-1,r=n.length,e=Iu(n);++t<r;)e[t]=n.charAt(t);return e}return Xe(n)?n:Iu(n)}function ge(n,t,r){return n&&n.length?((r?oe(n,t,r):null==t)&&(t=1),kr(n,0>t?0:t)):[]}function ve(n,t,r){var e=n?n.length:0;return e?((r?oe(n,t,r):null==t)&&(t=1),t=e-(+t||0),kr(n,0,0>t?0:t)):[]}function de(n,t,r){var e=-1,u=n?n.length:0;
for(t=Qr(t,r,3);++e<u;)if(t(n[e],e,n))return e;return-1}function ye(n){return n?n[0]:w}function me(n,r,e){var u=n?n.length:0;if(!u)return-1;if(typeof e=="number")e=0>e?ao(u+e,0):e||0;else if(e)return e=Ur(n,r),n=n[e],(r===r?r===n:n!==n)?e:-1;return t(n,r,e)}function _e(n){return ge(n,1)}function we(n,r,e,u){if(!n||!n.length)return[];typeof r!="boolean"&&null!=r&&(u=e,e=oe(n,r,u)?null:r,r=false);var o=Qr();if((o!==er||null!=e)&&(e=o(e,u,3)),r&&ne()==t){r=e;var i;e=-1,u=n.length;for(var o=-1,a=[];++e<u;){var f=n[e],l=r?r(f,e,n):f;
e&&i===l||(i=l,a[++o]=f)}n=a}else n=Sr(n,e);return n}function be(n){for(var t=-1,r=(n&&n.length&&Zt(Yt(n,Lu)))>>>0,e=bu(r);++t<r;)e[t]=Yt(n,Er(t));return e}function xe(n,t){var r=-1,e=n?n.length:0,u={};for(!e||t||Lo(n[0])||(t=[]);++r<e;){var o=n[r];t?u[o]=t[r]:o&&(u[o[0]]=o[1])}return u}function Ae(n){return n=Ft(n),n.__chain__=true,n}function je(n,t,r){return t.call(r,n)}function Ee(n,t,r){var e=n?n.length:0;return ie(e)||(n=iu(n),e=n.length),e?(r=typeof r=="number"?0>r?ao(e+r,0):r||0:0,typeof n=="string"||!Lo(n)&&tu(n)?r<e&&-1<n.indexOf(t,r):-1<ne(n,t,r)):false
}function Oe(n,t,r){var e=Lo(n)?Kt:lr;return(typeof t!="function"||typeof r!="undefined")&&(t=Qr(t,r,3)),e(n,t)}function Ie(n,t,r){var e=Lo(n)?Vt:cr;return t=Qr(t,r,3),e(n,t)}function ke(n,t,r){return Lo(n)?(t=de(n,t,r),-1<t?n[t]:w):(t=Qr(t,r,3),sr(n,t,ar))}function Re(n,t,r){return typeof t=="function"&&typeof r=="undefined"&&Lo(n)?qt(n,t):ar(n,Wr(t,r,3))}function Se(n,t,r){if(typeof t=="function"&&typeof r=="undefined"&&Lo(n))for(r=n.length;r--&&false!==t(n[r],r,n););else n=fr(n,Wr(t,r,3));return n
}function Ce(n,t,r){var e=Lo(n)?Yt:xr;return t=Qr(t,r,3),e(n,t)}function Te(n,t,r,e){return(Lo(n)?Gt:Ir)(n,Qr(t,e,4),r,3>arguments.length,ar)}function Ue(n,t,r,e){return(Lo(n)?Jt:Ir)(n,Qr(t,e,4),r,3>arguments.length,fr)}function Fe(n,t,r){return(r?oe(n,t,r):null==t)?(n=pe(n),t=n.length,0<t?n[Or(0,t-1)]:w):(n=We(n),n.length=fo(0>t?0:+t||0,n.length),n)}function We(n){n=pe(n);for(var t=-1,r=n.length,e=bu(r);++t<r;){var u=Or(0,t);t!=u&&(e[t]=e[u]),e[u]=n[t]}return e}function Ne(n,t,r){var e=Lo(n)?Xt:Rr;
return(typeof t!="function"||typeof r!="undefined")&&(t=Qr(t,r,3)),e(n,t)}function Le(n,t){var r;if(!Je(t)){if(!Je(n))throw new Su($);var e=n;n=t,t=e}return function(){return 0<--n?r=t.apply(this,arguments):t=null,r}}function $e(n,t){var r=x;if(2<arguments.length)var e=kr(arguments,2),u=v(e,$e.placeholder),r=r|I;return Zr(n,r,t,e,u)}function Pe(n,t){var r=x|A;if(2<arguments.length)var e=kr(arguments,2),u=v(e,Pe.placeholder),r=r|I;return Zr(t,r,n,e,u)}function Be(n,t,r){return r&&oe(n,t,r)&&(t=null),n=Zr(n,E,null,null,null,null,null,t),n.placeholder=Be.placeholder,n
}function ze(n,t,r){return r&&oe(n,t,r)&&(t=null),n=Zr(n,O,null,null,null,null,null,t),n.placeholder=ze.placeholder,n}function De(n,t,r){function e(){var r=t-(No()-l);0>=r||r>t?(a&&Vu(a),r=p,a=s=p=w,r&&(h=No(),f=n.apply(c,i),s||a||(i=c=null))):s=Hu(e,r)}function u(){s&&Vu(s),a=s=p=w,(v||g!==t)&&(h=No(),f=n.apply(c,i),s||a||(i=c=null))}function o(){if(i=arguments,l=No(),c=this,p=v&&(s||!d),false===g)var r=d&&!s;else{a||d||(h=l);var o=g-(l-h),y=0>=o||o>g;y?(a&&(a=Vu(a)),h=l,f=n.apply(c,i)):a||(a=Hu(u,o))
}return y&&s?s=Vu(s):s||t===g||(s=Hu(e,t)),r&&(y=true,f=n.apply(c,i)),!y||s||a||(i=c=null),f}var i,a,f,l,c,s,p,h=0,g=false,v=true;if(!Je(n))throw new Su($);if(t=0>t?0:t,true===r)var d=true,v=false;else Xe(r)&&(d=r.leading,g="maxWait"in r&&ao(+r.maxWait||0,t),v="trailing"in r?r.trailing:v);return o.cancel=function(){s&&Vu(s),a&&Vu(a),a=s=p=w},o}function Me(){var n=arguments,t=n.length-1;if(0>t)return function(){};if(!Kt(n,Je))throw new Su($);return function(){for(var r=t,e=n[r].apply(this,arguments);r--;)e=n[r].call(this,e);
return e}}function qe(n,t){function r(){var e=r.cache,u=t?t.apply(this,arguments):arguments[0];if(e.has(u))return e.get(u);var o=n.apply(this,arguments);return e.set(u,o),o}if(!Je(n)||t&&!Je(t))throw new Su($);return r.cache=new qe.Cache,r}function Ke(n){var t=kr(arguments,1),r=v(t,Ke.placeholder);return Zr(n,I,null,t,r)}function Ve(n){var t=kr(arguments,1),r=v(t,Ve.placeholder);return Zr(n,k,null,t,r)}function Ye(n){return ie(h(n)?n.length:w)&&Bu.call(n)==B||false}function Ze(n){return n&&1===n.nodeType&&h(n)&&(Ft.support.nodeTag?-1<Bu.call(n).indexOf("Element"):Dt(n))||false
}function Ge(n){return h(n)&&typeof n.message=="string"&&Bu.call(n)==q||false}function Je(n){return typeof n=="function"||false}function Xe(n){var t=typeof n;return"function"==t||n&&"object"==t||false}function He(n){return null==n?false:Bu.call(n)==K?Du.test(Nu.call(n)):h(n)&&(Dt(n)?Du:wt).test(n)||false}function Qe(n){return typeof n=="number"||h(n)&&Bu.call(n)==V||false}function nu(n){return Xe(n)&&Bu.call(n)==Z||false}function tu(n){return typeof n=="string"||h(n)&&Bu.call(n)==G||false}function ru(n){return h(n)&&ie(n.length)&&Ct[Bu.call(n)]||false
}function eu(n){return rr(n,ou(n))}function uu(n){return mr(n,ou(n))}function ou(n){if(null==n)return[];Xe(n)||(n=Iu(n));for(var t=n.length,r=Ft.support,t=t&&ie(t)&&(Lo(n)||r.nonEnumStrings&&tu(n)||r.nonEnumArgs&&Ye(n))&&t||0,e=n.constructor,u=-1,e=typeof e=="function"&&e.prototype||Uu,o=e===n,i=bu(t),a=0<t,f=r.enumErrorProps&&(n===Tu||n instanceof Au),l=r.enumPrototypes&&typeof n=="function";++u<t;)i[u]=u+"";for(var c in n)l&&"prototype"==c||f&&("message"==c||"name"==c)||a&&ue(c,t)||"constructor"==c&&(o||!$u.call(n,c))||i.push(c);
if(r.nonEnumShadows&&n!==Uu)for(t=n===Fu?G:n===Tu?q:Bu.call(n),r=Ao[t]||Ao[Y],t==Y&&(e=Uu),t=St.length;t--;)c=St[t],u=r[c],o&&u||(u?!$u.call(n,c):n[c]===e[c])||i.push(c);return i}function iu(n){return Cr(n,zo(n))}function au(n){return(n=e(n))&&n.replace(bt,l)}function fu(n){return(n=e(n))&&jt.test(n)?n.replace(At,"\\$&"):n}function lu(n,t,r){return r&&oe(n,t,r)&&(t=0),so(n,t)}function cu(n,t){var r="";if(n=e(n),t=+t,1>t||!n||!oo(t))return r;do t%2&&(r+=n),t=Yu(t/2),n+=n;while(t);return r}function su(n,t,r){var u=n;
return(n=e(n))?(r?oe(u,t,r):null==t)?n.slice(d(n),y(n)+1):(t=e(t),n.slice(o(n,t),i(n,t)+1)):n}function pu(n,t,r){return r&&oe(n,t,r)&&(t=null),n=e(n),n.match(t||It)||[]}function hu(n){try{return n()}catch(t){return Ge(t)?t:Au(t)}}function gu(n,t,r){return r&&oe(n,t,r)&&(t=null),er(n,t)}function vu(n){return function(){return n}}function du(n){return n}function yu(n){return Ar(n,true)}function mu(n,t,r){if(null==r){var e=Xe(t),u=e&&zo(t);((u=u&&u.length&&mr(t,u))?u.length:e)||(u=false,r=t,t=n,n=this)}u||(u=mr(t,zo(t)));
var o=true,e=-1,i=Je(n),a=u.length;false===r?o=false:Xe(r)&&"chain"in r&&(o=r.chain);for(;++e<a;){r=u[e];var f=t[r];n[r]=f,i&&(n.prototype[r]=function(t){return function(){var r=this.__chain__;if(o||r){var e=n(this.__wrapped__);return(e.__actions__=zt(this.__actions__)).push({func:t,args:arguments,thisArg:n}),e.__chain__=r,e}return r=[this.value()],Gu.apply(r,arguments),t.apply(n,r)}}(f))}return n}function _u(){}function wu(n){return Er(n+"")}g=g?Mt.defaults(Pt.Object(),g,Mt.pick(Pt,Rt)):Pt;var bu=g.Array,xu=g.Date,Au=g.Error,ju=g.Function,Eu=g.Math,Ou=g.Number,Iu=g.Object,ku=g.RegExp,Ru=g.String,Su=g.TypeError,Cu=bu.prototype,Tu=Au.prototype,Uu=Iu.prototype,Fu=Ru.prototype,Wu=(Wu=g.window)&&Wu.document,Nu=ju.prototype.toString,Lu=Er("length"),$u=Uu.hasOwnProperty,Pu=0,Bu=Uu.toString,zu=g._,Du=ku("^"+fu(Bu).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mu=He(Mu=g.ArrayBuffer)&&Mu,qu=He(qu=Mu&&new Mu(0).slice)&&qu,Ku=Eu.ceil,Vu=g.clearTimeout,Yu=Eu.floor,Zu=He(Zu=Iu.getPrototypeOf)&&Zu,Gu=Cu.push,Ju=Uu.propertyIsEnumerable,Xu=He(Xu=g.Set)&&Xu,Hu=g.setTimeout,Qu=Cu.splice,no=He(no=g.Uint8Array)&&no,to=He(to=g.WeakMap)&&to,ro=function(){try{var n=He(n=g.Float64Array)&&n,t=new n(new Mu(10),0,1)&&n
}catch(r){}return t}(),eo=He(eo=bu.isArray)&&eo,uo=He(uo=Iu.create)&&uo,oo=g.isFinite,io=He(io=Iu.keys)&&io,ao=Eu.max,fo=Eu.min,lo=He(lo=xu.now)&&lo,co=He(co=Ou.isFinite)&&co,so=g.parseInt,po=Eu.random,ho=Ou.NEGATIVE_INFINITY,go=Ou.POSITIVE_INFINITY,vo=Eu.pow(2,32)-1,yo=vo-1,mo=vo>>>1,_o=ro?ro.BYTES_PER_ELEMENT:0,wo=Eu.pow(2,53)-1,bo=to&&new to,xo={};xo[X]=g.Float32Array,xo[H]=g.Float64Array,xo[Q]=g.Int8Array,xo[nt]=g.Int16Array,xo[tt]=g.Int32Array,xo[rt]=g.Uint8Array,xo[et]=g.Uint8ClampedArray,xo[ut]=g.Uint16Array,xo[ot]=g.Uint32Array;
var Ao={};Ao[z]=Ao[M]=Ao[V]={constructor:true,toLocaleString:true,toString:true,valueOf:true},Ao[D]=Ao[G]={constructor:true,toString:true,valueOf:true},Ao[q]=Ao[K]=Ao[Z]={constructor:true,toString:true},Ao[Y]={constructor:true},qt(St,function(n){for(var t in Ao)if($u.call(Ao,t)){var r=Ao[t];r[n]=$u.call(r,n)}});var jo=Ft.support={};!function(n){function t(){this.x=1}var r={0:1,length:1},e=[];t.prototype={valueOf:1,y:1};for(var u in new t)e.push(u);jo.argsTag=Bu.call(arguments)==B,jo.enumErrorProps=Ju.call(Tu,"message")||Ju.call(Tu,"name"),jo.enumPrototypes=Ju.call(t,"prototype"),jo.funcDecomp=!He(g.WinRTError)&&Et.test(_),jo.funcNames=typeof ju.name=="string",jo.nodeTag=Bu.call(Wu)!=Y,jo.nonEnumStrings=!Ju.call("x",0),jo.nonEnumShadows=!/valueOf/.test(e),jo.ownLast="x"!=e[0],jo.spliceObjects=(Qu.call(r,0,1),!r[0]),jo.unindexedChars="xx"!="x"[0]+Iu("x")[0];
try{jo.dom=11===Wu.createDocumentFragment().nodeType}catch(o){jo.dom=false}try{jo.nonEnumArgs=!Ju.call(arguments,1)}catch(i){jo.nonEnumArgs=true}}(0,0),Ft.templateSettings={escape:ht,evaluate:gt,interpolate:vt,variable:"",imports:{_:Ft}};var Eo=function(){function n(){}return function(t){if(Xe(t)){n.prototype=t;var r=new n;n.prototype=null}return r||g.Object()}}(),Oo=bo?function(n,t){return bo.set(n,t),n}:du;qu||(Nr=Mu&&no?function(n){var t=n.byteLength,r=ro?Yu(t/_o):0,e=r*_o,u=new Mu(t);if(r){var o=new ro(u,0,r);
o.set(new ro(n,0,r))}return t!=e&&(o=new no(u,e),o.set(new no(n,e))),u}:vu(null));var Io=uo&&Xu?function(n){return new $t(n)}:vu(null),ko=bo?function(n){return bo.get(n)}:_u,Ro=function(){var n=0,t=0;return function(r,e){var u=No(),o=F-(u-t);if(t=u,0<o){if(++n>=U)return r}else n=0;return Oo(r,e)}}(),So=Pr(function(n,t,r){$u.call(n,r)?++n[r]:n[r]=1}),Co=Pr(function(n,t,r){$u.call(n,r)?n[r].push(t):n[r]=[t]}),To=Pr(function(n,t,r){n[r]=t}),Uo=qr(Zt),Fo=qr(function(n){for(var t=-1,r=n.length,e=go;++t<r;){var u=n[t];
u<e&&(e=u)}return e},true),Wo=Pr(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),No=lo||function(){return(new xu).getTime()};jo.argsTag||(Ye=function(n){return ie(h(n)?n.length:w)&&$u.call(n,"callee")&&!Ju.call(n,"callee")||false});var Lo=eo||function(n){return h(n)&&ie(n.length)&&Bu.call(n)==z||false};jo.dom||(Ze=function(n){return n&&1===n.nodeType&&h(n)&&!Po(n)||false});var $o=co||function(n){return typeof n=="number"&&oo(n)};(Je(/x/)||no&&!Je(no))&&(Je=function(n){return Bu.call(n)==K});var Po=Zu?function(n){if(!n||Bu.call(n)!=Y||!Ft.support.argsTag&&Ye(n))return false;
var t=n.valueOf,r=He(t)&&(r=Zu(t))&&Zu(r);return r?n==r||Zu(n)==r:ce(n)}:ce,Bo=Br(nr),zo=io?function(n){if(n)var t=n.constructor,r=n.length;return typeof t=="function"&&t.prototype===n||(typeof n=="function"?Ft.support.enumPrototypes:r&&ie(r))?se(n):Xe(n)?io(n):[]}:se,Do=Br(jr),Mo=Dr(function(n,t,r){return t=t.toLowerCase(),r?n+t.charAt(0).toUpperCase()+t.slice(1):t}),qo=Dr(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()});8!=so(kt+"08")&&(lu=function(n,t,r){return(r?oe(n,t,r):null==t)?t=0:t&&(t=+t),n=su(n),so(n,t||(_t.test(n)?16:10))
});var Ko=Dr(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()});return Wt.prototype=Ft.prototype,Lt.prototype["delete"]=function(n){return this.has(n)&&delete this.__data__[n]},Lt.prototype.get=function(n){return"__proto__"==n?w:this.__data__[n]},Lt.prototype.has=function(n){return"__proto__"!=n&&$u.call(this.__data__,n)},Lt.prototype.set=function(n,t){return"__proto__"!=n&&(this.__data__[n]=t),this},$t.prototype.push=function(n){var t=this.data;typeof n=="string"||Xe(n)?t.set.add(n):t.hash[n]=true
},qe.Cache=Lt,Ft.after=function(n,t){if(!Je(t)){if(!Je(n))throw new Su($);var r=n;n=t,t=r}return n=oo(n=+n)?n:0,function(){return 1>--n?t.apply(this,arguments):void 0}},Ft.ary=function(n,t,r){return r&&oe(n,t,r)&&(t=null),t=n&&null==t?n.length:ao(+t||0,0),Zr(n,S,null,null,null,null,t)},Ft.assign=Bo,Ft.at=function(n){return ie(n?n.length:0)&&(n=pe(n)),tr(n,pr(arguments,false,false,1))},Ft.before=Le,Ft.bind=$e,Ft.bindAll=function(n){for(var t=n,r=1<arguments.length?pr(arguments,false,false,1):uu(n),e=-1,u=r.length;++e<u;){var o=r[e];
t[o]=Zr(t[o],x,t)}return t},Ft.bindKey=Pe,Ft.callback=gu,Ft.chain=Ae,Ft.chunk=function(n,t,r){t=(r?oe(n,t,r):null==t)?1:ao(+t||1,1),r=0;for(var e=n?n.length:0,u=-1,o=bu(Ku(e/t));r<e;)o[++u]=kr(n,r,r+=t);return o},Ft.compact=function(n){for(var t=-1,r=n?n.length:0,e=-1,u=[];++t<r;){var o=n[t];o&&(u[++e]=o)}return u},Ft.constant=vu,Ft.countBy=So,Ft.create=function(n,t,r){var e=Eo(n);return r&&oe(n,t,r)&&(t=null),t?rr(t,e,zo(t)):e},Ft.curry=Be,Ft.curryRight=ze,Ft.debounce=De,Ft.defaults=function(n){if(null==n)return n;
var t=zt(arguments);return t.push(Ht),Bo.apply(w,t)},Ft.defer=function(n){return or(n,1,arguments,1)},Ft.delay=function(n,t){return or(n,t,arguments,2)},Ft.difference=function(){for(var n=-1,t=arguments.length;++n<t;){var r=arguments[n];if(Lo(r)||Ye(r))break}return ir(r,pr(arguments,false,true,++n))},Ft.drop=ge,Ft.dropRight=ve,Ft.dropRightWhile=function(n,t,r){var e=n?n.length:0;if(!e)return[];for(t=Qr(t,r,3);e--&&t(n[e],e,n););return kr(n,0,e+1)},Ft.dropWhile=function(n,t,r){var e=n?n.length:0;if(!e)return[];
var u=-1;for(t=Qr(t,r,3);++u<e&&t(n[u],u,n););return kr(n,u)},Ft.filter=Ie,Ft.flatten=function(n,t,r){var e=n?n.length:0;return r&&oe(n,t,r)&&(t=false),e?pr(n,t):[]},Ft.flattenDeep=function(n){return n&&n.length?pr(n,true):[]},Ft.flow=function(){var n=arguments,t=n.length;if(!t)return function(){};if(!Kt(n,Je))throw new Su($);return function(){for(var r=0,e=n[r].apply(this,arguments);++r<t;)e=n[r].call(this,e);return e}},Ft.flowRight=Me,Ft.forEach=Re,Ft.forEachRight=Se,Ft.forIn=function(n,t,r){return(typeof t!="function"||typeof r!="undefined")&&(t=Wr(t,r,3)),hr(n,t,ou)
},Ft.forInRight=function(n,t,r){return t=Wr(t,r,3),gr(n,t,ou)},Ft.forOwn=function(n,t,r){return(typeof t!="function"||typeof r!="undefined")&&(t=Wr(t,r,3)),dr(n,t)},Ft.forOwnRight=function(n,t,r){return t=Wr(t,r,3),gr(n,t,zo)},Ft.functions=uu,Ft.groupBy=Co,Ft.indexBy=To,Ft.initial=function(n){return ve(n,1)},Ft.intersection=function(){for(var n=[],r=-1,e=arguments.length,u=[],o=ne(),i=o==t;++r<e;){var a=arguments[r];(Lo(a)||Ye(a))&&(n.push(a),u.push(i&&120<=a.length&&Io(r&&a)))}var e=n.length,i=n[0],f=-1,l=i?i.length:0,c=[],s=u[0];
n:for(;++f<l;)if(a=i[f],0>(s?Bt(s,a):o(c,a))){for(r=e;--r;){var p=u[r];if(0>(p?Bt(p,a):o(n[r],a)))continue n}s&&s.push(a),c.push(a)}return c},Ft.invert=function(n,t,r){r&&oe(n,t,r)&&(t=null),r=-1;for(var e=zo(n),u=e.length,o={};++r<u;){var i=e[r],a=n[i];t?$u.call(o,a)?o[a].push(i):o[a]=[i]:o[a]=i}return o},Ft.invoke=function(n,t){return _r(n,t,kr(arguments,2))},Ft.keys=zo,Ft.keysIn=ou,Ft.map=Ce,Ft.mapValues=function(n,t,r){var e={};return t=Qr(t,r,3),dr(n,function(n,r,u){e[r]=t(n,r,u)}),e},Ft.matches=yu,Ft.memoize=qe,Ft.merge=Do,Ft.mixin=mu,Ft.negate=function(n){if(!Je(n))throw new Su($);
return function(){return!n.apply(this,arguments)}},Ft.omit=function(n,t,r){if(null==n)return{};if(typeof t!="function"){var e=Yt(pr(arguments,false,false,1),Ru);return fe(n,ir(ou(n),e))}return t=Wr(t,r,3),le(n,function(n,r,e){return!t(n,r,e)})},Ft.once=function(n){return Le(n,2)},Ft.pairs=function(n){for(var t=-1,r=zo(n),e=r.length,u=bu(e);++t<e;){var o=r[t];u[t]=[o,n[o]]}return u},Ft.partial=Ke,Ft.partialRight=Ve,Ft.partition=Wo,Ft.pick=function(n,t,r){return null==n?{}:typeof t=="function"?le(n,Wr(t,r,3)):fe(n,pr(arguments,false,false,1))
},Ft.pluck=function(n,t){return Ce(n,wu(t))},Ft.property=wu,Ft.propertyOf=function(n){return function(t){return null==n?w:n[t]}},Ft.pull=function(){var n=arguments[0];if(!n||!n.length)return n;for(var t=0,r=ne(),e=arguments.length;++t<e;)for(var u=0,o=arguments[t];-1<(u=r(n,o,u));)Qu.call(n,u,1);return n},Ft.pullAt=function(t){var r=t||[],e=pr(arguments,false,false,1),u=e.length,o=tr(r,e);for(e.sort(n);u--;){var i=parseFloat(e[u]);if(i!=a&&ue(i)){var a=i;Qu.call(r,i,1)}}return o},Ft.range=function(n,t,r){r&&oe(n,t,r)&&(t=r=null),n=+n||0,r=null==r?1:+r||0,null==t?(t=n,n=0):t=+t||0;
var e=-1;t=ao(Ku((t-n)/(r||1)),0);for(var u=bu(t);++e<t;)u[e]=n,n+=r;return u},Ft.rearg=function(n){var t=pr(arguments,false,false,1);return Zr(n,R,null,null,null,t)},Ft.reject=function(n,t,r){var e=Lo(n)?Vt:cr;return t=Qr(t,r,3),e(n,function(n,r,e){return!t(n,r,e)})},Ft.remove=function(n,t,r){var e=-1,u=n?n.length:0,o=[];for(t=Qr(t,r,3);++e<u;)r=n[e],t(r,e,n)&&(o.push(r),Qu.call(n,e--,1),u--);return o},Ft.rest=_e,Ft.shuffle=We,Ft.slice=function(n,t,r){var e=n?n.length:0;return e?(r&&typeof r!="number"&&oe(n,t,r)&&(t=0,r=e),kr(n,t,r)):[]
},Ft.sortBy=function(n,t,e){var u=-1,o=n?n.length:0,i=ie(o)?bu(o):[];return e&&oe(n,t,e)&&(t=null),t=Qr(t,e,3),ar(n,function(n,r,e){i[++u]={a:t(n,r,e),b:u,c:n}}),r(i,a)},Ft.sortByAll=function(n){var t=arguments;3<t.length&&oe(t[1],t[2],t[3])&&(t=[n,t[1]]);var e=-1,u=n?n.length:0,o=pr(t,false,false,1),i=ie(u)?bu(u):[];return ar(n,function(n){for(var t=o.length,r=bu(t);t--;)r[t]=null==n?w:n[o[t]];i[++e]={a:r,b:e,c:n}}),r(i,f)},Ft.take=function(n,t,r){return n&&n.length?((r?oe(n,t,r):null==t)&&(t=1),kr(n,0,0>t?0:t)):[]
},Ft.takeRight=function(n,t,r){var e=n?n.length:0;return e?((r?oe(n,t,r):null==t)&&(t=1),t=e-(+t||0),kr(n,0>t?0:t)):[]},Ft.takeRightWhile=function(n,t,r){var e=n?n.length:0;if(!e)return[];for(t=Qr(t,r,3);e--&&t(n[e],e,n););return kr(n,e+1)},Ft.takeWhile=function(n,t,r){var e=n?n.length:0;if(!e)return[];var u=-1;for(t=Qr(t,r,3);++u<e&&t(n[u],u,n););return kr(n,0,u)},Ft.tap=function(n,t,r){return t.call(r,n),n},Ft.throttle=function(n,t,r){var e=true,u=true;if(!Je(n))throw new Su($);return false===r?e=false:Xe(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),Ut.leading=e,Ut.maxWait=+t,Ut.trailing=u,De(n,t,Ut)
},Ft.thru=je,Ft.times=function(n,t,r){if(n=+n,1>n||!oo(n))return[];var e=-1,u=bu(fo(n,vo));for(t=Wr(t,r,1);++e<n;)e<vo?u[e]=t(e):t(e);return u},Ft.toArray=function(n){var t=n?n.length:0;return ie(t)?t?Ft.support.unindexedChars&&tu(n)?n.split(""):zt(n):[]:iu(n)},Ft.toPlainObject=eu,Ft.transform=function(n,t,r,e){var u=Lo(n)||ru(n);return t=Qr(t,e,4),null==r&&(u||Xe(n)?(e=n.constructor,r=u?Lo(n)?new e:[]:Eo(typeof e=="function"&&e.prototype)):r={}),(u?qt:dr)(n,function(n,e,u){return t(r,n,e,u)}),r},Ft.union=function(){return Sr(pr(arguments,false,true))
},Ft.uniq=we,Ft.unzip=be,Ft.values=iu,Ft.valuesIn=function(n){return Cr(n,ou(n))},Ft.where=function(n,t){return Ie(n,yu(t))},Ft.without=function(n){return ir(n,kr(arguments,1))},Ft.wrap=function(n,t){return t=null==t?du:t,Zr(t,I,null,[n],[])},Ft.xor=function(){for(var n=-1,t=arguments.length;++n<t;){var r=arguments[n];if(Lo(r)||Ye(r))var e=e?ir(e,r).concat(ir(r,e)):r}return e?Sr(e):[]},Ft.zip=function(){for(var n=arguments.length,t=bu(n);n--;)t[n]=arguments[n];return be(t)},Ft.zipObject=xe,Ft.backflow=Me,Ft.collect=Ce,Ft.compose=Me,Ft.each=Re,Ft.eachRight=Se,Ft.extend=Bo,Ft.iteratee=gu,Ft.methods=uu,Ft.object=xe,Ft.select=Ie,Ft.tail=_e,Ft.unique=we,mu(Ft,Ft),Ft.attempt=hu,Ft.camelCase=Mo,Ft.capitalize=function(n){return(n=e(n))&&n.charAt(0).toUpperCase()+n.slice(1)
},Ft.clone=function(n,t,r,e){return typeof t!="boolean"&&null!=t&&(e=r,r=oe(n,t,e)?null:t,t=false),r=typeof r=="function"&&Wr(r,e,1),ur(n,t,r)},Ft.cloneDeep=function(n,t,r){return t=typeof t=="function"&&Wr(t,r,1),ur(n,true,t)},Ft.deburr=au,Ft.endsWith=function(n,t,r){n=e(n),t+="";var u=n.length;return r=(typeof r=="undefined"?u:fo(0>r?0:+r||0,u))-t.length,0<=r&&n.indexOf(t,r)==r},Ft.escape=function(n){return(n=e(n))&&pt.test(n)?n.replace(ct,c):n},Ft.escapeRegExp=fu,Ft.every=Oe,Ft.find=ke,Ft.findIndex=de,Ft.findKey=function(n,t,r){return t=Qr(t,r,3),sr(n,t,dr,true)
},Ft.findLast=function(n,t,r){return t=Qr(t,r,3),sr(n,t,fr)},Ft.findLastIndex=function(n,t,r){var e=n?n.length:0;for(t=Qr(t,r,3);e--;)if(t(n[e],e,n))return e;return-1},Ft.findLastKey=function(n,t,r){return t=Qr(t,r,3),sr(n,t,yr,true)},Ft.findWhere=function(n,t){return ke(n,yu(t))},Ft.first=ye,Ft.has=function(n,t){return n?$u.call(n,t):false},Ft.identity=du,Ft.includes=Ee,Ft.indexOf=me,Ft.isArguments=Ye,Ft.isArray=Lo,Ft.isBoolean=function(n){return true===n||false===n||h(n)&&Bu.call(n)==D||false},Ft.isDate=function(n){return h(n)&&Bu.call(n)==M||false
},Ft.isElement=Ze,Ft.isEmpty=function(n){if(null==n)return true;var t=n.length;return ie(t)&&(Lo(n)||tu(n)||Ye(n)||h(n)&&Je(n.splice))?!t:!zo(n).length},Ft.isEqual=function(n,t,r,e){return r=typeof r=="function"&&Wr(r,e,3),!r&&ae(n)&&ae(t)?n===t:(e=r?r(n,t):w,typeof e=="undefined"?wr(n,t,r):!!e)},Ft.isError=Ge,Ft.isFinite=$o,Ft.isFunction=Je,Ft.isMatch=function(n,t,r,e){var u=zo(t),o=u.length;if(r=typeof r=="function"&&Wr(r,e,3),!r&&1==o){var i=u[0];if(e=t[i],ae(e))return null!=n&&e===n[i]&&$u.call(n,i)
}for(var i=bu(o),a=bu(o);o--;)e=i[o]=t[u[o]],a[o]=ae(e);return br(n,u,i,a,r)},Ft.isNaN=function(n){return Qe(n)&&n!=+n},Ft.isNative=He,Ft.isNull=function(n){return null===n},Ft.isNumber=Qe,Ft.isObject=Xe,Ft.isPlainObject=Po,Ft.isRegExp=nu,Ft.isString=tu,Ft.isTypedArray=ru,Ft.isUndefined=function(n){return typeof n=="undefined"},Ft.kebabCase=qo,Ft.last=function(n){var t=n?n.length:0;return t?n[t-1]:w},Ft.lastIndexOf=function(n,t,r){var e=n?n.length:0;if(!e)return-1;var u=e;if(typeof r=="number")u=(0>r?ao(e+r,0):fo(r||0,e-1))+1;
else if(r)return u=Ur(n,t,true)-1,n=n[u],(t===t?t===n:n!==n)?u:-1;if(t!==t)return p(n,u,true);for(;u--;)if(n[u]===t)return u;return-1},Ft.max=Uo,Ft.min=Fo,Ft.noConflict=function(){return g._=zu,this},Ft.noop=_u,Ft.now=No,Ft.pad=function(n,t,r){n=e(n),t=+t;var u=n.length;return u<t&&oo(t)?(u=(t-u)/2,t=Yu(u),u=Ku(u),r=Vr("",u,r),r.slice(0,t)+n+r):n},Ft.padLeft=function(n,t,r){return(n=e(n))&&Vr(n,t,r)+n},Ft.padRight=function(n,t,r){return(n=e(n))&&n+Vr(n,t,r)},Ft.parseInt=lu,Ft.random=function(n,t,r){r&&oe(n,t,r)&&(t=r=null);
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=po(),fo(n+r*(t-n+parseFloat("1e-"+((r+"").length-1))),t)):Or(n,t)},Ft.reduce=Te,Ft.reduceRight=Ue,Ft.repeat=cu,Ft.result=function(n,t,r){return t=null==n?w:n[t],typeof t=="undefined"&&(t=r),Je(t)?t.call(n):t},Ft.runInContext=_,Ft.size=function(n){var t=n?n.length:0;return ie(t)?t:zo(n).length},Ft.snakeCase=Ko,Ft.some=Ne,Ft.sortedIndex=function(n,t,r,e){var u=Qr(r);
return u===er&&null==r?Ur(n,t):Fr(n,t,u(r,e,1))},Ft.sortedLastIndex=function(n,t,r,e){var u=Qr(r);return u===er&&null==r?Ur(n,t,true):Fr(n,t,u(r,e,1),true)},Ft.startsWith=function(n,t,r){return n=e(n),r=null==r?0:fo(0>r?0:+r||0,n.length),n.lastIndexOf(t,r)==r},Ft.template=function(n,t,r){var u=Ft.templateSettings;r&&oe(n,t,r)&&(t=r=null),n=e(n),t=nr(nr({},r||t),u,Qt),r=nr(nr({},t.imports),u.imports,Qt);var o,i,a=zo(r),f=Cr(r,a),l=0;r=t.interpolate||xt;var c="__p+='";r=ku((t.escape||xt).source+"|"+r.source+"|"+(r===vt?dt:xt).source+"|"+(t.evaluate||xt).source+"|$","g");
var p="sourceURL"in t?"//# sourceURL="+t.sourceURL+"\n":"";if(n.replace(r,function(t,r,e,u,a,f){return e||(e=u),c+=n.slice(l,f).replace(Ot,s),r&&(o=true,c+="'+__e("+r+")+'"),a&&(i=true,c+="';"+a+";\n__p+='"),e&&(c+="'+((__t=("+e+"))==null?'':__t)+'"),l=f+t.length,t}),c+="';",(t=t.variable)||(c="with(obj){"+c+"}"),c=(i?c.replace(it,""):c).replace(at,"$1").replace(ft,"$1;"),c="function("+(t||"obj")+"){"+(t?"":"obj||(obj={});")+"var __t,__p=''"+(o?",__e=_.escape":"")+(i?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+c+"return __p}",t=hu(function(){return ju(a,p+"return "+c).apply(w,f)
}),t.source=c,Ge(t))throw t;return t},Ft.trim=su,Ft.trimLeft=function(n,t,r){var u=n;return(n=e(n))?n.slice((r?oe(u,t,r):null==t)?d(n):o(n,e(t))):n},Ft.trimRight=function(n,t,r){var u=n;return(n=e(n))?(r?oe(u,t,r):null==t)?n.slice(0,y(n)+1):n.slice(0,i(n,e(t))+1):n},Ft.trunc=function(n,t,r){r&&oe(n,t,r)&&(t=null);var u=C;if(r=T,null!=t)if(Xe(t)){var o="separator"in t?t.separator:o,u="length"in t?+t.length||0:u;r="omission"in t?e(t.omission):r}else u=+t||0;if(n=e(n),u>=n.length)return n;if(u-=r.length,1>u)return r;
if(t=n.slice(0,u),null==o)return t+r;if(nu(o)){if(n.slice(u).search(o)){var i,a=n.slice(0,u);for(o.global||(o=ku(o.source,(yt.exec(o)||"")+"g")),o.lastIndex=0;n=o.exec(a);)i=n.index;t=t.slice(0,null==i?u:i)}}else n.indexOf(o,u)!=u&&(o=t.lastIndexOf(o),-1<o&&(t=t.slice(0,o)));return t+r},Ft.unescape=function(n){return(n=e(n))&&st.test(n)?n.replace(lt,m):n},Ft.uniqueId=function(n){var t=++Pu;return e(n)+t},Ft.words=pu,Ft.all=Oe,Ft.any=Ne,Ft.contains=Ee,Ft.detect=ke,Ft.foldl=Te,Ft.foldr=Ue,Ft.head=ye,Ft.include=Ee,Ft.inject=Te,mu(Ft,function(){var n={};
return dr(Ft,function(t,r){Ft.prototype[r]||(n[r]=t)}),n}(),false),Ft.sample=Fe,Ft.prototype.sample=function(n){return this.__chain__||null!=n?this.thru(function(t){return Fe(t,n)}):Fe(this.value())},Ft.VERSION=b,qt("bind bindKey curry curryRight partial partialRight".split(" "),function(n){Ft[n].placeholder=Ft}),qt(["filter","map","takeWhile"],function(n,t){var r=t==W;Nt.prototype[n]=function(n,e){var u=this.clone(),o=u.filtered,i=u.iteratees||(u.iteratees=[]);return u.filtered=o||r||t==L&&0>u.dir,i.push({iteratee:Qr(n,e,3),type:t}),u
}}),qt(["drop","take"],function(n,t){var r=n+"Count",e=n+"While";Nt.prototype[n]=function(e){e=null==e?1:ao(+e||0,0);var u=this.clone();if(u.filtered){var o=u[r];u[r]=t?fo(o,e):o+e}else(u.views||(u.views=[])).push({size:e,type:n+(0>u.dir?"Right":"")});return u},Nt.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()},Nt.prototype[n+"RightWhile"]=function(n,t){return this.reverse()[e](n,t).reverse()}}),qt(["first","last"],function(n,t){var r="take"+(t?"Right":"");Nt.prototype[n]=function(){return this[r](1).value()[0]
}}),qt(["initial","rest"],function(n,t){var r="drop"+(t?"":"Right");Nt.prototype[n]=function(){return this[r](1)}}),qt(["pluck","where"],function(n,t){var r=t?"filter":"map",e=t?yu:wu;Nt.prototype[n]=function(n){return this[r](e(n))}}),Nt.prototype.dropWhile=function(n,t){var r,e,u=0>this.dir;return n=Qr(n,t,3),this.filter(function(t,o,i){return r=r&&(u?o<e:o>e),e=o,r||(r=!n(t,o,i))})},Nt.prototype.reject=function(n,t){return n=Qr(n,t,3),this.filter(function(t,r,e){return!n(t,r,e)})},Nt.prototype.slice=function(n,t){n=null==n?0:+n||0;
var r=0>n?this.takeRight(-n):this.drop(n);return typeof t!="undefined"&&(t=+t||0,r=0>t?r.dropRight(-t):r.take(t-n)),r},dr(Nt.prototype,function(n,t){var r=Ft[t],e=/^(?:first|last)$/.test(t);Ft.prototype[t]=function(){function t(n){return n=[n],Gu.apply(n,o),r.apply(Ft,n)}var u=this.__wrapped__,o=arguments,i=this.__chain__,a=!!this.__actions__.length,f=u instanceof Nt,l=f&&!a;return e&&!i?l?n.call(u):r.call(Ft,this.value()):f||Lo(u)?(u=n.apply(l?u:new Nt(this),o),e||!a&&!u.actions||(u.actions||(u.actions=[])).push({func:je,args:[t],thisArg:Ft}),new Wt(u,i)):this.thru(t)
}}),qt("concat join pop push shift sort splice unshift".split(" "),function(n){var t=Cu[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:join|pop|shift)$/.test(n),u=jo.spliceObjects||!/^(?:pop|shift|splice)$/.test(n)?t:function(){var n=t.apply(this,arguments);return 0===this.length&&delete this[0],n};Ft.prototype[n]=function(){var n=arguments;return e&&!this.__chain__?u.apply(this.value(),n):this[r](function(t){return u.apply(t,n)})}}),Nt.prototype.clone=function(){var n=this.actions,t=this.iteratees,r=this.views,e=new Nt(this.wrapped);
return e.actions=n?zt(n):null,e.dir=this.dir,e.dropCount=this.dropCount,e.filtered=this.filtered,e.iteratees=t?zt(t):null,e.takeCount=this.takeCount,e.views=r?zt(r):null,e},Nt.prototype.reverse=function(){if(this.filtered){var n=new Nt(this);n.dir=-1,n.filtered=true}else n=this.clone(),n.dir*=-1;return n},Nt.prototype.value=function(){var n=this.wrapped.value();if(!Lo(n))return Tr(n,this.actions);var t,r=this.dir,e=0>r;t=n.length;for(var u=this.views,o=0,i=-1,a=u?u.length:0;++i<a;){var f=u[i],l=f.size;
switch(f.type){case"drop":o+=l;break;case"dropRight":t-=l;break;case"take":t=fo(t,o+l);break;case"takeRight":o=ao(o,t-l)}}t={start:o,end:t},i=t.start,a=t.end,t=a-i,u=this.dropCount,o=fo(t,this.takeCount-u),e=e?a:i-1,a=(i=this.iteratees)?i.length:0,f=0,l=[];n:for(;t--&&f<o;){for(var e=e+r,c=-1,s=n[e];++c<a;){var p=i[c],h=p.iteratee(s,e,n),p=p.type;if(p==N)s=h;else if(!h){if(p==W)continue n;break n}}u?u--:l[f++]=s}return l},Ft.prototype.chain=function(){return Ae(this)},Ft.prototype.reverse=function(){var n=this.__wrapped__;
return n instanceof Nt?(this.__actions__.length&&(n=new Nt(this)),new Wt(n.reverse())):this.thru(function(n){return n.reverse()})},Ft.prototype.toString=function(){return this.value()+""},Ft.prototype.toJSON=Ft.prototype.valueOf=Ft.prototype.value=function(){return Tr(this.__wrapped__,this.__actions__)},Ft.prototype.collect=Ft.prototype.map,Ft.prototype.head=Ft.prototype.first,Ft.prototype.select=Ft.prototype.filter,Ft.prototype.tail=Ft.prototype.rest,Ft}var w,b="3.0.1",x=1,A=2,j=4,E=8,O=16,I=32,k=64,R=128,S=256,C=30,T="...",U=150,F=16,W=0,N=1,L=2,$="Expected a function",P="__lodash_placeholder__",B="[object Arguments]",z="[object Array]",D="[object Boolean]",M="[object Date]",q="[object Error]",K="[object Function]",V="[object Number]",Y="[object Object]",Z="[object RegExp]",G="[object String]",J="[object ArrayBuffer]",X="[object Float32Array]",H="[object Float64Array]",Q="[object Int8Array]",nt="[object Int16Array]",tt="[object Int32Array]",rt="[object Uint8Array]",et="[object Uint8ClampedArray]",ut="[object Uint16Array]",ot="[object Uint32Array]",it=/\b__p\+='';/g,at=/\b(__p\+=)''\+/g,ft=/(__e\(.*?\)|\b__t\))\+'';/g,lt=/&(?:amp|lt|gt|quot|#39|#96);/g,ct=/[&<>"'`]/g,st=RegExp(lt.source),pt=RegExp(ct.source),ht=/<%-([\s\S]+?)%>/g,gt=/<%([\s\S]+?)%>/g,vt=/<%=([\s\S]+?)%>/g,dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,yt=/\w*$/,mt=/^\s*function[ \n\r\t]+\w/,_t=/^0[xX]/,wt=/^\[object .+?Constructor\]$/,bt=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,xt=/($^)/,At=/[.*+?^${}()|[\]\/\\]/g,jt=RegExp(At.source),Et=/\bthis\b/,Ot=/['\n\r\u2028\u2029\\]/g,It=RegExp("[A-Z\\xc0-\\xd6\\xd8-\\xde]{2,}(?=[A-Z\\xc0-\\xd6\\xd8-\\xde][a-z\\xdf-\\xf6\\xf8-\\xff]+)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+|[A-Z\\xc0-\\xd6\\xd8-\\xde]+|[0-9]+","g"),kt=" \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",Rt="Array ArrayBuffer Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Math Number Object RegExp Set String _ clearTimeout document isFinite parseInt setTimeout TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap window WinRTError".split(" "),St="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ct={};
Ct[X]=Ct[H]=Ct[Q]=Ct[nt]=Ct[tt]=Ct[rt]=Ct[et]=Ct[ut]=Ct[ot]=true,Ct[B]=Ct[z]=Ct[J]=Ct[D]=Ct[M]=Ct[q]=Ct[K]=Ct["[object Map]"]=Ct[V]=Ct[Y]=Ct[Z]=Ct["[object Set]"]=Ct[G]=Ct["[object WeakMap]"]=false;var Tt={};Tt[B]=Tt[z]=Tt[J]=Tt[D]=Tt[M]=Tt[X]=Tt[H]=Tt[Q]=Tt[nt]=Tt[tt]=Tt[V]=Tt[Y]=Tt[Z]=Tt[G]=Tt[rt]=Tt[et]=Tt[ut]=Tt[ot]=true,Tt[q]=Tt[K]=Tt["[object Map]"]=Tt["[object Set]"]=Tt["[object WeakMap]"]=false;var Ut={leading:false,maxWait:0,trailing:false},Ft={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss"},Wt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Nt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Lt={"function":true,object:true},$t={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Pt=Lt[typeof window]&&window!==(this&&this.window)?window:this,Bt=Lt[typeof exports]&&exports&&!exports.nodeType&&exports,Lt=Lt[typeof module]&&module&&!module.nodeType&&module,zt=Bt&&Lt&&typeof global=="object"&&global;
!zt||zt.global!==zt&&zt.window!==zt&&zt.self!==zt||(Pt=zt);var zt=Lt&&Lt.exports===Bt&&Bt,Dt=function(){try{Object({toString:0}+"")}catch(n){return function(){return false}}return function(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}}(),Mt=_();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Pt._=Mt, define(function(){return Mt})):Bt&&Lt?zt?(Lt.exports=Mt)._=Mt:Bt._=Mt:Pt._=Mt}).call(this);