text: !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Chart=t()}}(function(){var t;return function e(t,n,r){function o(a,u){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!u&&l)return l(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,n,r){(function(e){(function(){function o(t,e){if(t!==e){var n=null===t,r=t===E,o=t===t,i=null===e,a=e===E,u=e===e;if(t>e&&!i||!o||n&&!a&&u||r&&u)return 1;if(e>t&&!n||!u||i&&!r&&o||a&&o)return-1}return 0}function i(t,e,n){for(var r=t.length,o=n?r:-1;n?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function a(t,e,n){if(e!==e)return g(t,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function u(t){return"function"==typeof t||!1}function l(t){return null==t?"":t+""}function c(t,e){for(var n=-1,r=t.length;++n<r&&e.indexOf(t.charAt(n))>-1;);return n}function f(t,e){for(var n=t.length;n--&&e.indexOf(t.charAt(n))>-1;);return n}function s(t,e){return o(t.criteria,e.criteria)||t.index-e.index}function p(t,e,n){for(var r=-1,i=t.criteria,a=e.criteria,u=i.length,l=n.length;++r<u;){var c=o(i[r],a[r]);if(c){if(r>=l)return c;var f=n[r];return c*("asc"===f||f===!0?1:-1)}}return t.index-e.index}function h(t){return $t[t]}function d(t){return qt[t]}function y(t,e,n){return e?t=Xt[t]:n&&(t=Jt[t]),"\\"+t}function v(t){return"\\"+Jt[t]}function g(t,e,n){for(var r=t.length,o=e+(n?0:-1);n?o--:++o<r;){var i=t[o];if(i!==i)return o}return-1}function m(t){return!!t&&"object"==typeof t}function _(t){return 160>=t&&t>=9&&13>=t||32==t||160==t||5760==t||6158==t||t>=8192&&(8202>=t||8232==t||8233==t||8239==t||8287==t||12288==t||65279==t)}function b(t,e){for(var n=-1,r=t.length,o=-1,i=[];++n<r;)t[n]===e&&(t[n]=$,i[++o]=n);return i}function w(t,e){for(var n,r=-1,o=t.length,i=-1,a=[];++r<o;){var u=t[r],l=e?e(u,r,t):u;r&&n===l||(n=l,a[++i]=u)}return a}function x(t){for(var e=-1,n=t.length;++e<n&&_(t.charCodeAt(e)););return e}function O(t){for(var e=t.length;e--&&_(t.charCodeAt(e)););return e}function j(t){return Ht[t]}function k(t){function e(t){if(m(t)&&!Mu(t)&&!(t instanceof _)){if(t instanceof r)return t;if(ea.call(t,"__chain__")&&ea.call(t,"__wrapped__"))return hr(t)}return new r(t)}function n(){}function r(t,e,n){this.__wrapped__=t,this.__actions__=n||[],this.__chain__=!!e}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pa,this.__views__=[]}function Z(){var t=new _(this.__wrapped__);return t.__actions__=te(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=te(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=te(this.__views__),t}function nt(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function ot(){var t=this.__wrapped__.value(),e=this.__dir__,n=Mu(t),r=0>e,o=n?t.length:0,i=qn(0,o,this.__views__),a=i.start,u=i.end,l=u-a,c=r?u:a-1,f=this.__iteratees__,s=f.length,p=0,h=Oa(l,this.__takeCount__);if(!n||N>o||o==l&&h==l)return nn(r&&n?t.reverse():t,this.__actions__);var d=[];t:for(;l--&&h>p;){c+=e;for(var y=-1,v=t[c];++y<s;){var g=f[y],m=g.iteratee,_=g.type,b=m(v);if(_==U)v=b;else if(!b){if(_==K)continue t;break t}}d[p++]=v}return d}function $t(){this.__data__={}}function qt(t){return this.has(t)&&delete this.__data__[t]}function Ht(t){return"__proto__"==t?E:this.__data__[t]}function Yt(t){return"__proto__"!=t&&ea.call(this.__data__,t)}function Xt(t,e){return"__proto__"!=t&&(this.__data__[t]=e),this}function Jt(t){var e=t?t.length:0;for(this.data={hash:ga(null),set:new sa};e--;)this.push(t[e])}function Qt(t,e){var n=t.data,r="string"==typeof e||Io(e)?n.set.has(e):n.hash[e];return r?0:-1}function Zt(t){var e=this.data;"string"==typeof t||Io(t)?e.set.add(t):e.hash[t]=!0}function Gt(t,e){for(var n=-1,r=t.length,o=-1,i=e.length,a=Ni(r+i);++n<r;)a[n]=t[n];for(;++o<i;)a[n++]=e[o];return a}function te(t,e){var n=-1,r=t.length;for(e||(e=Ni(r));++n<r;)e[n]=t[n];return e}function ee(t,e){for(var n=-1,r=t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function ne(t,e){for(var n=t.length;n--&&e(t[n],n,t)!==!1;);return t}function ie(t,e){for(var n=-1,r=t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function ae(t,e,n,r){for(var o=-1,i=t.length,a=r,u=a;++o<i;){var l=t[o],c=+e(l);n(c,a)&&(a=c,u=l)}return u}function ue(t,e){for(var n=-1,r=t.length,o=-1,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[++o]=a)}return i}function le(t,e){for(var n=-1,r=t.length,o=Ni(r);++n<r;)o[n]=e(t[n],n,t);return o}function ce(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function fe(t,e,n,r){var o=-1,i=t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function se(t,e,n,r){var o=t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function pe(t,e){for(var n=-1,r=t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function he(t,e){for(var n=t.length,r=0;n--;)r+=+e(t[n])||0;return r}function de(t,e){return t===E?e:t}function ye(t,e,n,r){return t!==E&&ea.call(r,n)?t:e}function ve(t,e,n){for(var r=-1,o=Wu(e),i=o.length;++r<i;){var a=o[r],u=t[a],l=n(u,e[a],a,t,e);(l===l?l===u:u!==u)&&(u!==E||a in t)||(t[a]=l)}return t}function ge(t,e){return null==e?t:_e(e,Wu(e),t)}function me(t,e){for(var n=-1,r=null==t,o=!r&&Qn(t),i=o?t.length:0,a=e.length,u=Ni(a);++n<a;){var l=e[n];o?u[n]=Zn(l,i)?t[l]:E:u[n]=r?E:t[l]}return u}function _e(t,e,n){n||(n={});for(var r=-1,o=e.length;++r<o;){var i=e[r];n[i]=t[i]}return n}function be(t,e,n){var r=typeof t;return"function"==r?e===E?t:an(t,e,n):null==t?Pi:"object"==r?De(t):e===E?Ci(t):We(t,e)}function we(t,e,n,r,o,i,a){var u;if(n&&(u=o?n(t,r,o):n(t)),u!==E)return u;if(!Io(t))return t;var l=Mu(t);if(l){if(u=Hn(t),!e)return te(t,u)}else{var c=ra.call(t),f=c==Q;if(c!=tt&&c!=q&&(!f||o))return Vt[c]?Xn(t,c,e):o?t:{};if(u=Yn(f?{}:t),!e)return ge(u,t)}i||(i=[]),a||(a=[]);for(var s=i.length;s--;)if(i[s]==t)return a[s];return i.push(t),a.push(u),(l?ee:Se)(t,function(r,o){u[o]=we(r,e,n,o,t,i,a)}),u}function xe(t,e,n){if("function"!=typeof t)throw new Ji(V);return pa(function(){t.apply(E,n)},e)}function Oe(t,e){var n=t?t.length:0,r=[];if(!n)return r;var o=-1,i=Un(),u=i==a,l=u&&e.length>=N?yn(e):null,c=e.length;l&&(i=Qt,u=!1,e=l);t:for(;++o<n;){var f=t[o];if(u&&f===f){for(var s=c;s--;)if(e[s]===f)continue t;r.push(f)}else i(e,f,0)<0&&r.push(f)}return r}function je(t,e){var n=!0;return za(t,function(t,r,o){return n=!!e(t,r,o)}),n}function ke(t,e,n,r){var o=r,i=o;return za(t,function(t,a,u){var l=+e(t,a,u);(n(l,o)||l===r&&l===i)&&(o=l,i=t)}),i}function Ee(t,e,n,r){var o=t.length;for(n=null==n?0:+n||0,0>n&&(n=-n>o?0:o+n),r=r===E||r>o?o:+r||0,0>r&&(r+=o),o=n>r?0:r>>>0,n>>>=0;o>n;)t[n++]=e;return t}function Ae(t,e){var n=[];return za(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function Pe(t,e,n,r){var o;return n(t,function(t,n,i){return e(t,n,i)?(o=r?n:t,!1):void 0}),o}function Me(t,e,n,r){r||(r=[]);for(var o=-1,i=t.length;++o<i;){var a=t[o];m(a)&&Qn(a)&&(n||Mu(a)||Eo(a))?e?Me(a,e,n,r):ce(r,a):n||(r[r.length]=a)}return r}function Te(t,e){return Ba(t,e,ei)}function Se(t,e){return Ba(t,e,Wu)}function Re(t,e){return Da(t,e,Wu)}function Le(t,e){for(var n=-1,r=e.length,o=-1,i=[];++n<r;){var a=e[n];Co(t[a])&&(i[++o]=a)}return i}function Ce(t,e,n){if(null!=t){n!==E&&n in sr(t)&&(e=[n]);for(var r=0,o=e.length;null!=t&&o>r;)t=t[e[r++]];return r&&r==o?t:E}}function Ie(t,e,n,r,o,i){return t===e?!0:null==t||null==e||!Io(t)&&!m(e)?t!==t&&e!==e:ze(t,e,Ie,n,r,o,i)}function ze(t,e,n,r,o,i,a){var u=Mu(t),l=Mu(e),c=H,f=H;u||(c=ra.call(t),c==q?c=tt:c!=tt&&(u=Vo(t))),l||(f=ra.call(e),f==q?f=tt:f!=tt&&(l=Vo(e)));var s=c==tt,p=f==tt,h=c==f;if(h&&!u&&!s)return Dn(t,e,c);if(!o){var d=s&&ea.call(t,"__wrapped__"),y=p&&ea.call(e,"__wrapped__");if(d||y)return n(d?t.value():t,y?e.value():e,r,o,i,a)}if(!h)return!1;i||(i=[]),a||(a=[]);for(var v=i.length;v--;)if(i[v]==t)return a[v]==e;i.push(t),a.push(e);var g=(u?Bn:Wn)(t,e,n,r,o,i,a);return i.pop(),a.pop(),g}function Fe(t,e,n){var r=e.length,o=r,i=!n;if(null==t)return!o;for(t=sr(t);r--;){var a=e[r];if(i&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++r<o;){a=e[r];var u=a[0],l=t[u],c=a[1];if(i&&a[2]){if(l===E&&!(u in t))return!1}else{var f=n?n(l,c,u):E;if(!(f===E?Ie(c,l,n,!0):f))return!1}}return!0}function Be(t,e){var n=-1,r=Qn(t)?Ni(t.length):[];return za(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function De(t){var e=Vn(t);if(1==e.length&&e[0][2]){var n=e[0][0],r=e[0][1];return function(t){return null==t?!1:t[n]===r&&(r!==E||n in sr(t))}}return function(t){return Fe(t,e)}}function We(t,e){var n=Mu(t),r=tr(t)&&rr(e),o=t+"";return t=pr(t),function(i){if(null==i)return!1;var a=o;if(i=sr(i),(n||!r)&&!(a in i)){if(i=1==t.length?i:Ce(i,Ye(t,0,-1)),null==i)return!1;a=Er(t),i=sr(i)}return i[a]===e?e!==E||a in i:Ie(e,i[a],E,!0)}}function Ne(t,e,n,r,o){if(!Io(t))return t;var i=Qn(e)&&(Mu(e)||Vo(e)),a=i?E:Wu(e);return ee(a||e,function(u,l){if(a&&(l=u,u=e[l]),m(u))r||(r=[]),o||(o=[]),Ke(t,e,l,Ne,n,r,o);else{var c=t[l],f=n?n(c,u,l,t,e):E,s=f===E;s&&(f=u),f===E&&(!i||l in t)||!s&&(f===f?f===c:c!==c)||(t[l]=f)}}),t}function Ke(t,e,n,r,o,i,a){for(var u=i.length,l=e[n];u--;)if(i[u]==l)return void(t[n]=a[u]);var c=t[n],f=o?o(c,l,n,t,e):E,s=f===E;s&&(f=l,Qn(l)&&(Mu(l)||Vo(l))?f=Mu(c)?c:Qn(c)?te(c):[]:No(l)||Eo(l)?f=Eo(c)?Xo(c):No(c)?c:{}:s=!1),i.push(l),a.push(f),s?t[n]=r(f,l,o,i,a):(f===f?f!==c:c===c)&&(t[n]=f)}function Ue(t){return function(e){return null==e?E:e[t]}}function Ve(t){var e=t+"";return t=pr(t),function(n){return Ce(n,t,e)}}function $e(t,e){for(var n=t?e.length:0;n--;){var r=e[n];if(r!=o&&Zn(r)){var o=r;ha.call(t,r,1)}}return t}function qe(t,e){return t+ma(Ea()*(e-t+1))}function He(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function Ye(t,e,n){var r=-1,o=t.length;e=null==e?0:+e||0,0>e&&(e=-e>o?0:o+e),n=n===E||n>o?o:+n||0,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Ni(o);++r<o;)i[r]=t[r+e];return i}function Xe(t,e){var n;return za(t,function(t,r,o){return n=e(t,r,o),!n}),!!n}function Je(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function Qe(t,e,n){var r=Nn(),o=-1;e=le(e,function(t){return r(t)});var i=Be(t,function(t){var n=le(e,function(e){return e(t)});return{criteria:n,index:++o,value:t}});return Je(i,function(t,e){return p(t,e,n)})}function Ze(t,e){var n=0;return za(t,function(t,r,o){n+=+e(t,r,o)||0}),n}function Ge(t,e){var n=-1,r=Un(),o=t.length,i=r==a,u=i&&o>=N,l=u?yn():null,c=[];l?(r=Qt,i=!1):(u=!1,l=e?[]:c);t:for(;++n<o;){var f=t[n],s=e?e(f,n,t):f;if(i&&f===f){for(var p=l.length;p--;)if(l[p]===s)continue t;e&&l.push(s),c.push(f)}else r(l,s,0)<0&&((e||u)&&l.push(s),c.push(f))}return c}function tn(t,e){for(var n=-1,r=e.length,o=Ni(r);++n<r;)o[n]=t[e[n]];return o}function en(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?Ye(t,r?0:i,r?i+1:o):Ye(t,r?i+1:0,r?o:i)}function nn(t,e){var n=t;n instanceof _&&(n=n.value());for(var r=-1,o=e.length;++r<o;){var i=e[r];n=i.func.apply(i.thisArg,ce([n],i.args))}return n}function rn(t,e,n){var r=0,o=t?t.length:r;if("number"==typeof e&&e===e&&Sa>=o){for(;o>r;){var i=r+o>>>1,a=t[i];(n?e>=a:e>a)&&null!==a?r=i+1:o=i}return o}return on(t,e,Pi,n)}function on(t,e,n,r){e=n(e);for(var o=0,i=t?t.length:0,a=e!==e,u=null===e,l=e===E;i>o;){var c=ma((o+i)/2),f=n(t[c]),s=f!==E,p=f===f;if(a)var h=p||r;else h=u?p&&s&&(r||null!=f):l?p&&(r||s):null==f?!1:r?e>=f:e>f;h?o=c+1:i=c}return Oa(i,Ta)}function an(t,e,n){if("function"!=typeof t)return Pi;if(e===E)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,o){return t.call(e,n,r,o)};case 4:return function(n,r,o,i){return t.call(e,n,r,o,i)};case 5:return function(n,r,o,i,a){return t.call(e,n,r,o,i,a)}}return function(){return t.apply(e,arguments)}}function un(t){var e=new aa(t.byteLength),n=new da(e);return n.set(new da(t)),e}function ln(t,e,n){for(var r=n.length,o=-1,i=xa(t.length-r,0),a=-1,u=e.length,l=Ni(u+i);++a<u;)l[a]=e[a];for(;++o<r;)l[n[o]]=t[o];for(;i--;)l[a++]=t[o++];return l}function cn(t,e,n){for(var r=-1,o=n.length,i=-1,a=xa(t.length-o,0),u=-1,l=e.length,c=Ni(a+l);++i<a;)c[i]=t[i];for(var f=i;++u<l;)c[f+u]=e[u];for(;++r<o;)c[f+n[r]]=t[i++];return c}function fn(t,e){return function(n,r,o){var i=e?e():{};if(r=Nn(r,o,3),Mu(n))for(var a=-1,u=n.length;++a<u;){var l=n[a];t(i,l,r(l,a,n),n)}else za(n,function(e,n,o){t(i,e,r(e,n,o),o)});return i}}function sn(t){return mo(function(e,n){var r=-1,o=null==e?0:n.length,i=o>2?n[o-2]:E,a=o>2?n[2]:E,u=o>1?n[o-1]:E;for("function"==typeof i?(i=an(i,u,5),o-=2):(i="function"==typeof u?u:E,o-=i?1:0),a&&Gn(n[0],n[1],a)&&(i=3>o?E:i,o=1);++r<o;){var l=n[r];l&&t(e,l,i)}return e})}function pn(t,e){return function(n,r){var o=n?Ka(n):0;if(!nr(o))return t(n,r);for(var i=e?o:-1,a=sr(n);(e?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function hn(t){return function(e,n,r){for(var o=sr(e),i=r(e),a=i.length,u=t?a:-1;t?u--:++u<a;){var l=i[u];if(n(o[l],l,o)===!1)break}return e}}function dn(t,e){function n(){var o=this&&this!==re&&this instanceof n?r:t;return o.apply(e,arguments)}var r=gn(t);return n}function yn(t){return ga&&sa?new Jt(t):null}function vn(t){return function(e){for(var n=-1,r=ki(si(e)),o=r.length,i="";++n<o;)i=t(i,r[n],n);return i}}function gn(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ia(t.prototype),r=t.apply(n,e);return Io(r)?r:n}}function mn(t){function e(n,r,o){o&&Gn(n,r,o)&&(r=E);var i=Fn(n,t,E,E,E,E,E,r);return i.placeholder=e.placeholder,i}return e}function _n(t,e){return mo(function(n){var r=n[0];return null==r?r:(n.push(e),t.apply(E,n))})}function bn(t,e){return function(n,r,o){if(o&&Gn(n,r,o)&&(r=E),r=Nn(r,o,3),1==r.length){n=Mu(n)?n:fr(n);var i=ae(n,r,t,e);if(!n.length||i!==e)return i}return ke(n,r,t,e)}}function wn(t,e){return function(n,r,o){if(r=Nn(r,o,3),Mu(n)){var a=i(n,r,e);return a>-1?n[a]:E}return Pe(n,r,t)}}function xn(t){return function(e,n,r){return e&&e.length?(n=Nn(n,r,3),i(e,n,t)):-1}}function On(t){return function(e,n,r){return n=Nn(n,r,3),Pe(e,n,t,!0)}}function jn(t){return function(){for(var e,n=arguments.length,o=t?n:-1,i=0,a=Ni(n);t?o--:++o<n;){var u=a[i++]=arguments[o];if("function"!=typeof u)throw new Ji(V);!e&&r.prototype.thru&&"wrapper"==Kn(u)&&(e=new r([],!0))}for(o=e?-1:n;++o<n;){u=a[o];var l=Kn(u),c="wrapper"==l?Na(u):E;e=c&&er(c[0])&&c[1]==(I|S|L|z)&&!c[4].length&&1==c[9]?e[Kn(c[0])].apply(e,c[3]):1==u.length&&er(u)?e[l]():e.thru(u)}return function(){var t=arguments,r=t[0];if(e&&1==t.length&&Mu(r)&&r.length>=N)return e.plant(r).value();for(var o=0,i=n?a[o].apply(this,t):r;++o<n;)i=a[o].call(this,i);return i}}}function kn(t,e){return function(n,r,o){return"function"==typeof r&&o===E&&Mu(n)?t(n,r):e(n,an(r,o,3))}}function En(t){return function(e,n,r){return"function"==typeof n&&r===E||(n=an(n,r,3)),t(e,n,ei)}}function An(t){return function(e,n,r){return"function"==typeof n&&r===E||(n=an(n,r,3)),t(e,n)}}function Pn(t){return function(e,n,r){var o={};return n=Nn(n,r,3),Se(e,function(e,r,i){var a=n(e,r,i);r=t?a:r,e=t?e:a,o[r]=e}),o}}function Mn(t){return function(e,n,r){return e=l(e),(t?e:"")+Ln(e,n,r)+(t?"":e)}}function Tn(t){var e=mo(function(n,r){var o=b(r,e.placeholder);return Fn(n,t,E,r,o)});return e}function Sn(t,e){return function(n,r,o,i){var a=arguments.length<3;return"function"==typeof r&&i===E&&Mu(n)?t(n,r,o,a):He(n,Nn(r,i,4),o,a,e)}}function Rn(t,e,n,r,o,i,a,u,l,c){function f(){for(var m=arguments.length,_=m,w=Ni(m);_--;)w[_]=arguments[_];if(r&&(w=ln(w,r,o)),i&&(w=cn(w,i,a)),d||v){var x=f.placeholder,O=b(w,x);if(m-=O.length,c>m){var j=u?te(u):E,k=xa(c-m,0),A=d?O:E,T=d?E:O,S=d?w:E,R=d?E:w;e|=d?L:C,e&=~(d?C:L),y||(e&=~(P|M));var I=[t,e,n,S,A,R,T,j,l,k],z=Rn.apply(E,I);return er(t)&&Ua(z,I),z.placeholder=x,z}}var F=p?n:this,B=h?F[t]:t;return u&&(w=lr(w,u)),s&&l<w.length&&(w.length=l),this&&this!==re&&this instanceof f&&(B=g||gn(t)),B.apply(F,w)}var s=e&I,p=e&P,h=e&M,d=e&S,y=e&T,v=e&R,g=h?E:gn(t);return f}function Ln(t,e,n){var r=t.length;if(e=+e,r>=e||!ba(e))return"";var o=e-r;return n=null==n?" ":n+"",gi(n,va(o/n.length)).slice(0,o)}function Cn(t,e,n,r){function o(){for(var e=-1,u=arguments.length,l=-1,c=r.length,f=Ni(c+u);++l<c;)f[l]=r[l];for(;u--;)f[l++]=arguments[++e];var s=this&&this!==re&&this instanceof o?a:t;return s.apply(i?n:this,f)}var i=e&P,a=gn(t);return o}function In(t){var e=$i[t];return function(t,n){return n=n===E?0:+n||0,n?(n=ca(10,n),e(t*n)/n):e(t)}}function zn(t){return function(e,n,r,o){var i=Nn(r);return null==r&&i===be?rn(e,n,t):on(e,n,i(r,o,1),t)}}function Fn(t,e,n,r,o,i,a,u){var l=e&M;if(!l&&"function"!=typeof t)throw new Ji(V);var c=r?r.length:0;if(c||(e&=~(L|C),r=o=E),c-=o?o.length:0,e&C){var f=r,s=o;r=o=E}var p=l?E:Na(t),h=[t,e,n,r,o,f,s,i,a,u];if(p&&(or(h,p),e=h[1],u=h[9]),h[9]=null==u?l?0:t.length:xa(u-c,0)||0,e==P)var d=dn(h[0],h[2]);else d=e!=L&&e!=(P|L)||h[4].length?Rn.apply(E,h):Cn.apply(E,h);var y=p?Wa:Ua;return y(d,h)}function Bn(t,e,n,r,o,i,a){var u=-1,l=t.length,c=e.length;if(l!=c&&!(o&&c>l))return!1;for(;++u<l;){var f=t[u],s=e[u],p=r?r(o?s:f,o?f:s,u):E;if(p!==E){if(p)continue;return!1}if(o){if(!pe(e,function(t){return f===t||n(f,t,r,o,i,a)}))return!1}else if(f!==s&&!n(f,s,r,o,i,a))return!1}return!0}function Dn(t,e,n){switch(n){case Y:case X:return+t==+e;case J:return t.name==e.name&&t.message==e.message;case G:return t!=+t?e!=+e:t==+e;case et:case rt:return t==e+""}return!1}function Wn(t,e,n,r,o,i,a){var u=Wu(t),l=u.length,c=Wu(e),f=c.length;if(l!=f&&!o)return!1;for(var s=l;s--;){var p=u[s];if(!(o?p in e:ea.call(e,p)))return!1}for(var h=o;++s<l;){p=u[s];var d=t[p],y=e[p],v=r?r(o?y:d,o?d:y,p):E;if(!(v===E?n(d,y,r,o,i,a):v))return!1;h||(h="constructor"==p)}if(!h){var g=t.constructor,m=e.constructor;if(g!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m))return!1}return!0}function Nn(t,n,r){var o=e.callback||Ei;return o=o===Ei?be:o,r?o(t,n,r):o}function Kn(t){for(var e=t.name,n=Ca[e],r=n?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function Un(t,n,r){var o=e.indexOf||jr;return o=o===jr?a:o,t?o(t,n,r):o}function Vn(t){for(var e=ni(t),n=e.length;n--;)e[n][2]=rr(e[n][1]);return e}function $n(t,e){var n=null==t?E:t[e];return Bo(n)?n:E}function qn(t,e,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Oa(e,t+a);break;case"takeRight":t=xa(t,e-a)}}return{start:t,end:e}}function Hn(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ea.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Yn(t){var e=t.constructor;return"function"==typeof e&&e instanceof e||(e=Hi),new e}function Xn(t,e,n){var r=t.constructor;switch(e){case it:return un(t);case Y:case X:return new r(+t);case at:case ut:case lt:case ct:case ft:case st:case pt:case ht:case dt:var o=t.buffer;return new r(n?un(o):o,t.byteOffset,t.length);case G:case rt:return new r(t);case et:var i=new r(t.source,Lt.exec(t));i.lastIndex=t.lastIndex}return i}function Jn(t,e,n){null==t||tr(e,t)||(e=pr(e),t=1==e.length?t:Ce(t,Ye(e,0,-1)),e=Er(e));var r=null==t?t:t[e];return null==r?E:r.apply(t,n)}function Qn(t){return null!=t&&nr(Ka(t))}function Zn(t,e){return t="number"==typeof t||zt.test(t)?+t:-1,e=null==e?Ra:e,t>-1&&t%1==0&&e>t}function Gn(t,e,n){if(!Io(n))return!1;var r=typeof e;if("number"==r?Qn(n)&&Zn(e,n.length):"string"==r&&e in n){var o=n[e];return t===t?t===o:o!==o}return!1}function tr(t,e){var n=typeof t;if("string"==n&&Et.test(t)||"number"==n)return!0;if(Mu(t))return!1;var r=!kt.test(t);return r||null!=e&&t in sr(e)}function er(t){var n=Kn(t);if(!(n in _.prototype))return!1;var r=e[n];if(t===r)return!0;var o=Na(r);return!!o&&t===o[0]}function nr(t){return"number"==typeof t&&t>-1&&t%1==0&&Ra>=t}function rr(t){return t===t&&!Io(t)}function or(t,e){var n=t[1],r=e[1],o=n|r,i=I>o,a=r==I&&n==S||r==I&&n==z&&t[7].length<=e[8]||r==(I|z)&&n==S;if(!i&&!a)return t;r&P&&(t[2]=e[2],o|=n&P?0:T);var u=e[3];if(u){var l=t[3];t[3]=l?ln(l,u,e[4]):te(u),t[4]=l?b(t[3],$):te(e[4])}return u=e[5],u&&(l=t[5],t[5]=l?cn(l,u,e[6]):te(u),t[6]=l?b(t[5],$):te(e[6])),u=e[7],u&&(t[7]=te(u)),r&I&&(t[8]=null==t[8]?e[8]:Oa(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o,t}function ir(t,e){return t===E?e:Tu(t,e,ir)}function ar(t,e){t=sr(t);for(var n=-1,r=e.length,o={};++n<r;){var i=e[n];i in t&&(o[i]=t[i])}return o}function ur(t,e){var n={};return Te(t,function(t,r,o){e(t,r,o)&&(n[r]=t)}),n}function lr(t,e){for(var n=t.length,r=Oa(e.length,n),o=te(t);r--;){var i=e[r];t[r]=Zn(i,n)?o[i]:E}return t}function cr(t){for(var e=ei(t),n=e.length,r=n&&t.length,o=!!r&&nr(r)&&(Mu(t)||Eo(t)),i=-1,a=[];++i<n;){var u=e[i];(o&&Zn(u,r)||ea.call(t,u))&&a.push(u)}return a}function fr(t){return null==t?[]:Qn(t)?Io(t)?t:Hi(t):ai(t)}function sr(t){return Io(t)?t:Hi(t)}function pr(t){if(Mu(t))return t;var e=[];return l(t).replace(At,function(t,n,r,o){e.push(r?o.replace(St,"$1"):n||t)}),e}function hr(t){return t instanceof _?t.clone():new r(t.__wrapped__,t.__chain__,te(t.__actions__))}function dr(t,e,n){e=(n?Gn(t,e,n):null==e)?1:xa(ma(e)||1,1);for(var r=0,o=t?t.length:0,i=-1,a=Ni(va(o/e));o>r;)a[++i]=Ye(t,r,r+=e);return a}function yr(t){for(var e=-1,n=t?t.length:0,r=-1,o=[];++e<n;){var i=t[e];i&&(o[++r]=i)}return o}function vr(t,e,n){var r=t?t.length:0;return r?((n?Gn(t,e,n):null==e)&&(e=1),Ye(t,0>e?0:e)):[]}function gr(t,e,n){var r=t?t.length:0;return r?((n?Gn(t,e,n):null==e)&&(e=1),e=r-(+e||0),Ye(t,0,0>e?0:e)):[]}function mr(t,e,n){return t&&t.length?en(t,Nn(e,n,3),!0,!0):[]}function _r(t,e,n){return t&&t.length?en(t,Nn(e,n,3),!0):[]}function br(t,e,n,r){var o=t?t.length:0;return o?(n&&"number"!=typeof n&&Gn(t,e,n)&&(n=0,r=o),Ee(t,e,n,r)):[]}function wr(t){return t?t[0]:E}function xr(t,e,n){var r=t?t.length:0;return n&&Gn(t,e,n)&&(e=!1),r?Me(t,e):[]}function Or(t){var e=t?t.length:0;return e?Me(t,!0):[]}function jr(t,e,n){var r=t?t.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?xa(r+n,0):n;else if(n){var o=rn(t,e);return r>o&&(e===e?e===t[o]:t[o]!==t[o])?o:-1}return a(t,e,n||0)}function kr(t){return gr(t,1)}function Er(t){var e=t?t.length:0;return e?t[e-1]:E}function Ar(t,e,n){var r=t?t.length:0;if(!r)return-1;var o=r;if("number"==typeof n)o=(0>n?xa(r+n,0):Oa(n||0,r-1))+1;else if(n){o=rn(t,e,!0)-1;var i=t[o];return(e===e?e===i:i!==i)?o:-1}if(e!==e)return g(t,o,!0);for(;o--;)if(t[o]===e)return o;return-1}function Pr(){var t=arguments,e=t[0];if(!e||!e.length)return e;for(var n=0,r=Un(),o=t.length;++n<o;)for(var i=0,a=t[n];(i=r(e,a,i))>-1;)ha.call(e,i,1);return e}function Mr(t,e,n){var r=[];if(!t||!t.length)return r;var o=-1,i=[],a=t.length;for(e=Nn(e,n,3);++o<a;){var u=t[o];e(u,o,t)&&(r.push(u),i.push(o))}return $e(t,i),r}function Tr(t){return vr(t,1)}function Sr(t,e,n){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&Gn(t,e,n)&&(e=0,n=r),Ye(t,e,n)):[]}function Rr(t,e,n){var r=t?t.length:0;return r?((n?Gn(t,e,n):null==e)&&(e=1),Ye(t,0,0>e?0:e)):[]}function Lr(t,e,n){var r=t?t.length:0;return r?((n?Gn(t,e,n):null==e)&&(e=1),e=r-(+e||0),Ye(t,0>e?0:e)):[]}function Cr(t,e,n){return t&&t.length?en(t,Nn(e,n,3),!1,!0):[]}function Ir(t,e,n){return t&&t.length?en(t,Nn(e,n,3)):[]}function zr(t,e,n,r){var o=t?t.length:0;if(!o)return[];null!=e&&"boolean"!=typeof e&&(r=n,n=Gn(t,e,r)?E:e,e=!1);var i=Nn();return null==n&&i===be||(n=i(n,r,3)),e&&Un()==a?w(t,n):Ge(t,n)}function Fr(t){if(!t||!t.length)return[];var e=-1,n=0;t=ue(t,function(t){return Qn(t)?(n=xa(t.length,n),!0):void 0});for(var r=Ni(n);++e<n;)r[e]=le(t,Ue(e));return r}function Br(t,e,n){var r=t?t.length:0;if(!r)return[];var o=Fr(t);return null==e?o:(e=an(e,n,4),le(o,function(t){return fe(t,e,E,!0)}))}function Dr(){for(var t=-1,e=arguments.length;++t<e;){var n=arguments[t];if(Qn(n))var r=r?ce(Oe(r,n),Oe(n,r)):n}return r?Ge(r):[]}function Wr(t,e){var n=-1,r=t?t.length:0,o={};for(!r||e||Mu(t[0])||(e=[]);++n<r;){var i=t[n];e?o[i]=e[n]:i&&(o[i[0]]=i[1])}return o}function Nr(t){var n=e(t);return n.__chain__=!0,n}function Kr(t,e,n){return e.call(n,t),t}function Ur(t,e,n){return e.call(n,t)}function Vr(){return Nr(this)}function $r(){return new r(this.value(),this.__chain__)}function qr(t){for(var e,r=this;r instanceof n;){var o=hr(r);e?i.__wrapped__=o:e=o;var i=o;r=r.__wrapped__}return i.__wrapped__=t,e}function Hr(){var t=this.__wrapped__,e=function(t){return n&&n.__dir__<0?t:t.reverse()};if(t instanceof _){var n=t;return this.__actions__.length&&(n=new _(this)),n=n.reverse(),n.__actions__.push({func:Ur,args:[e],thisArg:E}),new r(n,this.__chain__)}return this.thru(e)}function Yr(){return this.value()+""}function Xr(){return nn(this.__wrapped__,this.__actions__)}function Jr(t,e,n){var r=Mu(t)?ie:je;return n&&Gn(t,e,n)&&(e=E),"function"==typeof e&&n===E||(e=Nn(e,n,3)),r(t,e)}function Qr(t,e,n){var r=Mu(t)?ue:Ae;return e=Nn(e,n,3),r(t,e)}function Zr(t,e){return ou(t,De(e))}function Gr(t,e,n,r){var o=t?Ka(t):0;return nr(o)||(t=ai(t),o=t.length),n="number"!=typeof n||r&&Gn(e,n,r)?0:0>n?xa(o+n,0):n||0,"string"==typeof t||!Mu(t)&&Uo(t)?o>=n&&t.indexOf(e,n)>-1:!!o&&Un(t,e,n)>-1}function to(t,e,n){var r=Mu(t)?le:Be;return e=Nn(e,n,3),r(t,e)}function eo(t,e){return to(t,Ci(e))}function no(t,e,n){var r=Mu(t)?ue:Ae;return e=Nn(e,n,3),r(t,function(t,n,r){return!e(t,n,r)})}function ro(t,e,n){if(n?Gn(t,e,n):null==e){t=fr(t);var r=t.length;return r>0?t[qe(0,r-1)]:E}var o=-1,i=Yo(t),r=i.length,a=r-1;for(e=Oa(0>e?0:+e||0,r);++o<e;){var u=qe(o,a),l=i[u];i[u]=i[o],i[o]=l}return i.length=e,i}function oo(t){return ro(t,Pa)}function io(t){var e=t?Ka(t):0;return nr(e)?e:Wu(t).length}function ao(t,e,n){var r=Mu(t)?pe:Xe;return n&&Gn(t,e,n)&&(e=E),"function"==typeof e&&n===E||(e=Nn(e,n,3)),r(t,e)}function uo(t,e,n){if(null==t)return[];n&&Gn(t,e,n)&&(e=E);var r=-1;e=Nn(e,n,3);var o=Be(t,function(t,n,o){return{criteria:e(t,n,o),index:++r,value:t}});return Je(o,s)}function lo(t,e,n,r){return null==t?[]:(r&&Gn(e,n,r)&&(n=E),Mu(e)||(e=null==e?[]:[e]),Mu(n)||(n=null==n?[]:[n]),Qe(t,e,n))}function co(t,e){return Qr(t,De(e))}function fo(t,e){if("function"!=typeof e){if("function"!=typeof t)throw new Ji(V);var n=t;t=e,e=n}return t=ba(t=+t)?t:0,function(){return--t<1?e.apply(this,arguments):void 0}}function so(t,e,n){return n&&Gn(t,e,n)&&(e=E),e=t&&null==e?t.length:xa(+e||0,0),Fn(t,I,E,E,E,E,e)}function po(t,e){var n;if("function"!=typeof e){if("function"!=typeof t)throw new Ji(V);var r=t;t=e,e=r}return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=E),n}}function ho(t,e,n){function r(){h&&ua(h),c&&ua(c),y=0,c=h=d=E}function o(e,n){n&&ua(n),c=h=d=E,e&&(y=yu(),f=t.apply(p,l),h||c||(l=p=E))}function i(){var t=e-(yu()-s);0>=t||t>e?o(d,c):h=pa(i,t)}function a(){o(g,h)}function u(){if(l=arguments,s=yu(),p=this,d=g&&(h||!m),v===!1)var n=m&&!h;else{c||m||(y=s);var r=v-(s-y),o=0>=r||r>v;o?(c&&(c=ua(c)),y=s,f=t.apply(p,l)):c||(c=pa(a,r))}return o&&h?h=ua(h):h||e===v||(h=pa(i,e)),n&&(o=!0,f=t.apply(p,l)),!o||h||c||(l=p=E),f}var l,c,f,s,p,h,d,y=0,v=!1,g=!0;if("function"!=typeof t)throw new Ji(V);if(e=0>e?0:+e||0,n===!0){var m=!0;g=!1}else Io(n)&&(m=!!n.leading,v="maxWait"in n&&xa(+n.maxWait||0,e),g="trailing"in n?!!n.trailing:g);return u.cancel=r,u}function yo(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new Ji(V);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new yo.Cache,n}function vo(t){if("function"!=typeof t)throw new Ji(V);return function(){return!t.apply(this,arguments)}}function go(t){return po(2,t)}function mo(t,e){if("function"!=typeof t)throw new Ji(V);return e=xa(e===E?t.length-1:+e||0,0),function(){for(var n=arguments,r=-1,o=xa(n.length-e,0),i=Ni(o);++r<o;)i[r]=n[e+r];switch(e){case 0:return t.call(this,i);case 1:return t.call(this,n[0],i);case 2:return t.call(this,n[0],n[1],i)}var a=Ni(e+1);for(r=-1;++r<e;)a[r]=n[r];return a[e]=i,t.apply(this,a)}}function _o(t){if("function"!=typeof t)throw new Ji(V);return function(e){return t.apply(this,e)}}function bo(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new Ji(V);return n===!1?r=!1:Io(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ho(t,e,{leading:r,maxWait:+e,trailing:o})}function wo(t,e){return e=null==e?Pi:e,Fn(e,L,E,[t],[])}function xo(t,e,n,r){return e&&"boolean"!=typeof e&&Gn(t,e,n)?e=!1:"function"==typeof e&&(r=n,n=e,e=!1),"function"==typeof n?we(t,e,an(n,r,1)):we(t,e)}function Oo(t,e,n){return"function"==typeof e?we(t,!0,an(e,n,1)):we(t,!0)}function jo(t,e){return t>e}function ko(t,e){return t>=e}function Eo(t){return m(t)&&Qn(t)&&ea.call(t,"callee")&&!fa.call(t,"callee")}function Ao(t){return t===!0||t===!1||m(t)&&ra.call(t)==Y}function Po(t){return m(t)&&ra.call(t)==X}function Mo(t){return!!t&&1===t.nodeType&&m(t)&&!No(t)}function To(t){return null==t?!0:Qn(t)&&(Mu(t)||Uo(t)||Eo(t)||m(t)&&Co(t.splice))?!t.length:!Wu(t).length}function So(t,e,n,r){n="function"==typeof n?an(n,r,3):E;var o=n?n(t,e):E;return o===E?Ie(t,e,n):!!o}function Ro(t){return m(t)&&"string"==typeof t.message&&ra.call(t)==J}function Lo(t){return"number"==typeof t&&ba(t)}function Co(t){return Io(t)&&ra.call(t)==Q}function Io(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function zo(t,e,n,r){return n="function"==typeof n?an(n,r,3):E,Fe(t,Vn(e),n)}function Fo(t){return Wo(t)&&t!=+t}function Bo(t){return null==t?!1:Co(t)?ia.test(ta.call(t)):m(t)&&It.test(t)}function Do(t){return null===t}function Wo(t){return"number"==typeof t||m(t)&&ra.call(t)==G}function No(t){var e;if(!m(t)||ra.call(t)!=tt||Eo(t)||!ea.call(t,"constructor")&&(e=t.constructor,"function"==typeof e&&!(e instanceof e)))return!1;var n;return Te(t,function(t,e){n=e}),n===E||ea.call(t,n)}function Ko(t){return Io(t)&&ra.call(t)==et}function Uo(t){return"string"==typeof t||m(t)&&ra.call(t)==rt}function Vo(t){return m(t)&&nr(t.length)&&!!Ut[ra.call(t)]}function $o(t){return t===E}function qo(t,e){return e>t}function Ho(t,e){return e>=t}function Yo(t){var e=t?Ka(t):0;return nr(e)?e?te(t):[]:ai(t)}function Xo(t){return _e(t,ei(t))}function Jo(t,e,n){var r=Ia(t);return n&&Gn(t,e,n)&&(e=E),e?ge(r,e):r}function Qo(t){return Le(t,ei(t))}function Zo(t,e,n){var r=null==t?E:Ce(t,pr(e),e+"");return r===E?n:r}function Go(t,e){if(null==t)return!1;var n=ea.call(t,e);if(!n&&!tr(e)){if(e=pr(e),t=1==e.length?t:Ce(t,Ye(e,0,-1)),null==t)return!1;e=Er(e),n=ea.call(t,e)}return n||nr(t.length)&&Zn(e,t.length)&&(Mu(t)||Eo(t))}function ti(t,e,n){n&&Gn(t,e,n)&&(e=E);for(var r=-1,o=Wu(t),i=o.length,a={};++r<i;){var u=o[r],l=t[u];e?ea.call(a,l)?a[l].push(u):a[l]=[u]:a[l]=u}return a}function ei(t){if(null==t)return[];Io(t)||(t=Hi(t));var e=t.length;e=e&&nr(e)&&(Mu(t)||Eo(t))&&e||0;for(var n=t.constructor,r=-1,o="function"==typeof n&&n.prototype===t,i=Ni(e),a=e>0;++r<e;)i[r]=r+"";for(var u in t)a&&Zn(u,e)||"constructor"==u&&(o||!ea.call(t,u))||i.push(u);return i}function ni(t){t=sr(t);for(var e=-1,n=Wu(t),r=n.length,o=Ni(r);++e<r;){var i=n[e];o[e]=[i,t[i]]}return o}function ri(t,e,n){var r=null==t?E:t[e];return r===E&&(null==t||tr(e,t)||(e=pr(e),t=1==e.length?t:Ce(t,Ye(e,0,-1)),r=null==t?E:t[Er(e)]),r=r===E?n:r),Co(r)?r.call(t):r}function oi(t,e,n){if(null==t)return t;var r=e+"";e=null!=t[r]||tr(e,t)?[r]:pr(e);for(var o=-1,i=e.length,a=i-1,u=t;null!=u&&++o<i;){var l=e[o];Io(u)&&(o==a?u[l]=n:null==u[l]&&(u[l]=Zn(e[o+1])?[]:{})),
  u=u[l]}return t}function ii(t,e,n,r){var o=Mu(t)||Vo(t);if(e=Nn(e,r,4),null==n)if(o||Io(t)){var i=t.constructor;n=o?Mu(t)?new i:[]:Ia(Co(i)?i.prototype:E)}else n={};return(o?ee:Se)(t,function(t,r,o){return e(n,t,r,o)}),n}function ai(t){return tn(t,Wu(t))}function ui(t){return tn(t,ei(t))}function li(t,e,n){return e=+e||0,n===E?(n=e,e=0):n=+n||0,t>=Oa(e,n)&&t<xa(e,n)}function ci(t,e,n){n&&Gn(t,e,n)&&(e=n=E);var r=null==t,o=null==e;if(null==n&&(o&&"boolean"==typeof t?(n=t,t=1):"boolean"==typeof e&&(n=e,o=!0)),r&&o&&(e=1,o=!1),t=+t||0,o?(e=t,t=0):e=+e||0,n||t%1||e%1){var i=Ea();return Oa(t+i*(e-t+la("1e-"+((i+"").length-1))),e)}return qe(t,e)}function fi(t){return t=l(t),t&&t.charAt(0).toUpperCase()+t.slice(1)}function si(t){return t=l(t),t&&t.replace(Ft,h).replace(Tt,"")}function pi(t,e,n){t=l(t),e+="";var r=t.length;return n=n===E?r:Oa(0>n?0:+n||0,r),n-=e.length,n>=0&&t.indexOf(e,n)==n}function hi(t){return t=l(t),t&&wt.test(t)?t.replace(_t,d):t}function di(t){return t=l(t),t&&Mt.test(t)?t.replace(Pt,y):t||"(?:)"}function yi(t,e,n){t=l(t),e=+e;var r=t.length;if(r>=e||!ba(e))return t;var o=(e-r)/2,i=ma(o),a=va(o);return n=Ln("",a,n),n.slice(0,i)+t+n}function vi(t,e,n){return(n?Gn(t,e,n):null==e)?e=0:e&&(e=+e),t=bi(t),ka(t,e||(Ct.test(t)?16:10))}function gi(t,e){var n="";if(t=l(t),e=+e,1>e||!t||!ba(e))return n;do e%2&&(n+=t),e=ma(e/2),t+=t;while(e);return n}function mi(t,e,n){return t=l(t),n=null==n?0:Oa(0>n?0:+n||0,t.length),t.lastIndexOf(e,n)==n}function _i(t,n,r){var o=e.templateSettings;r&&Gn(t,n,r)&&(n=r=E),t=l(t),n=ve(ge({},r||n),o,ye);var i,a,u=ve(ge({},n.imports),o.imports,ye),c=Wu(u),f=tn(u,c),s=0,p=n.interpolate||Bt,h="__p += '",d=Yi((n.escape||Bt).source+"|"+p.source+"|"+(p===jt?Rt:Bt).source+"|"+(n.evaluate||Bt).source+"|$","g"),y="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Kt+"]")+"\n";t.replace(d,function(e,n,r,o,u,l){return r||(r=o),h+=t.slice(s,l).replace(Dt,v),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),u&&(a=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+e.length,e}),h+="';\n";var g=n.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(yt,""):h).replace(vt,"$1").replace(gt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=Qu(function(){return Vi(c,y+"return "+h).apply(E,f)});if(m.source=h,Ro(m))throw m;return m}function bi(t,e,n){var r=t;return(t=l(t))?(n?Gn(r,e,n):null==e)?t.slice(x(t),O(t)+1):(e+="",t.slice(c(t,e),f(t,e)+1)):t}function wi(t,e,n){var r=t;return t=l(t),t?(n?Gn(r,e,n):null==e)?t.slice(x(t)):t.slice(c(t,e+"")):t}function xi(t,e,n){var r=t;return t=l(t),t?(n?Gn(r,e,n):null==e)?t.slice(0,O(t)+1):t.slice(0,f(t,e+"")+1):t}function Oi(t,e,n){n&&Gn(t,e,n)&&(e=E);var r=F,o=B;if(null!=e)if(Io(e)){var i="separator"in e?e.separator:i;r="length"in e?+e.length||0:r,o="omission"in e?l(e.omission):o}else r=+e||0;if(t=l(t),r>=t.length)return t;var a=r-o.length;if(1>a)return o;var u=t.slice(0,a);if(null==i)return u+o;if(Ko(i)){if(t.slice(a).search(i)){var c,f,s=t.slice(0,a);for(i.global||(i=Yi(i.source,(Lt.exec(i)||"")+"g")),i.lastIndex=0;c=i.exec(s);)f=c.index;u=u.slice(0,null==f?a:f)}}else if(t.indexOf(i,a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o}function ji(t){return t=l(t),t&&bt.test(t)?t.replace(mt,j):t}function ki(t,e,n){return n&&Gn(t,e,n)&&(e=E),t=l(t),t.match(e||Wt)||[]}function Ei(t,e,n){return n&&Gn(t,e,n)&&(e=E),m(t)?Mi(t):be(t,e)}function Ai(t){return function(){return t}}function Pi(t){return t}function Mi(t){return De(we(t,!0))}function Ti(t,e){return We(t,we(e,!0))}function Si(t,e,n){if(null==n){var r=Io(e),o=r?Wu(e):E,i=o&&o.length?Le(e,o):E;(i?i.length:r)||(i=!1,n=e,e=t,t=this)}i||(i=Le(e,Wu(e)));var a=!0,u=-1,l=Co(t),c=i.length;n===!1?a=!1:Io(n)&&"chain"in n&&(a=n.chain);for(;++u<c;){var f=i[u],s=e[f];t[f]=s,l&&(t.prototype[f]=function(e){return function(){var n=this.__chain__;if(a||n){var r=t(this.__wrapped__),o=r.__actions__=te(this.__actions__);return o.push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,ce([this.value()],arguments))}}(s))}return t}function Ri(){return re._=oa,this}function Li(){}function Ci(t){return tr(t)?Ue(t):Ve(t)}function Ii(t){return function(e){return Ce(t,pr(e),e+"")}}function zi(t,e,n){n&&Gn(t,e,n)&&(e=n=E),t=+t||0,n=null==n?1:+n||0,null==e?(e=t,t=0):e=+e||0;for(var r=-1,o=xa(va((e-t)/(n||1)),0),i=Ni(o);++r<o;)i[r]=t,t+=n;return i}function Fi(t,e,n){if(t=ma(t),1>t||!ba(t))return[];var r=-1,o=Ni(Oa(t,Ma));for(e=an(e,n,1);++r<t;)Ma>r?o[r]=e(r):e(r);return o}function Bi(t){var e=++na;return l(t)+e}function Di(t,e){return(+t||0)+(+e||0)}function Wi(t,e,n){return n&&Gn(t,e,n)&&(e=E),e=Nn(e,n,3),1==e.length?he(Mu(t)?t:fr(t),e):Ze(t,e)}t=t?oe.defaults(re.Object(),t,oe.pick(re,Nt)):re;var Ni=t.Array,Ki=t.Date,Ui=t.Error,Vi=t.Function,$i=t.Math,qi=t.Number,Hi=t.Object,Yi=t.RegExp,Xi=t.String,Ji=t.TypeError,Qi=Ni.prototype,Zi=Hi.prototype,Gi=Xi.prototype,ta=Vi.prototype.toString,ea=Zi.hasOwnProperty,na=0,ra=Zi.toString,oa=re._,ia=Yi("^"+ta.call(ea).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),aa=t.ArrayBuffer,ua=t.clearTimeout,la=t.parseFloat,ca=$i.pow,fa=Zi.propertyIsEnumerable,sa=$n(t,"Set"),pa=t.setTimeout,ha=Qi.splice,da=t.Uint8Array,ya=$n(t,"WeakMap"),va=$i.ceil,ga=$n(Hi,"create"),ma=$i.floor,_a=$n(Ni,"isArray"),ba=t.isFinite,wa=$n(Hi,"keys"),xa=$i.max,Oa=$i.min,ja=$n(Ki,"now"),ka=t.parseInt,Ea=$i.random,Aa=qi.NEGATIVE_INFINITY,Pa=qi.POSITIVE_INFINITY,Ma=4294967295,Ta=Ma-1,Sa=Ma>>>1,Ra=9007199254740991,La=ya&&new ya,Ca={};e.support={};e.templateSettings={escape:xt,evaluate:Ot,interpolate:jt,variable:"",imports:{_:e}};var Ia=function(){function t(){}return function(e){if(Io(e)){t.prototype=e;var n=new t;t.prototype=E}return n||{}}}(),za=pn(Se),Fa=pn(Re,!0),Ba=hn(),Da=hn(!0),Wa=La?function(t,e){return La.set(t,e),t}:Pi,Na=La?function(t){return La.get(t)}:Li,Ka=Ue("length"),Ua=function(){var t=0,e=0;return function(n,r){var o=yu(),i=W-(o-e);if(e=o,i>0){if(++t>=D)return n}else t=0;return Wa(n,r)}}(),Va=mo(function(t,e){return m(t)&&Qn(t)?Oe(t,Me(e,!1,!0)):[]}),$a=xn(),qa=xn(!0),Ha=mo(function(t){for(var e=t.length,n=e,r=Ni(s),o=Un(),i=o==a,u=[];n--;){var l=t[n]=Qn(l=t[n])?l:[];r[n]=i&&l.length>=120?yn(n&&l):null}var c=t[0],f=-1,s=c?c.length:0,p=r[0];t:for(;++f<s;)if(l=c[f],(p?Qt(p,l):o(u,l,0))<0){for(var n=e;--n;){var h=r[n];if((h?Qt(h,l):o(t[n],l,0))<0)continue t}p&&p.push(l),u.push(l)}return u}),Ya=mo(function(t,e){e=Me(e);var n=me(t,e);return $e(t,e.sort(o)),n}),Xa=zn(),Ja=zn(!0),Qa=mo(function(t){return Ge(Me(t,!1,!0))}),Za=mo(function(t,e){return Qn(t)?Oe(t,e):[]}),Ga=mo(Fr),tu=mo(function(t){var e=t.length,n=e>2?t[e-2]:E,r=e>1?t[e-1]:E;return e>2&&"function"==typeof n?e-=2:(n=e>1&&"function"==typeof r?(--e,r):E,r=E),t.length=e,Br(t,n,r)}),eu=mo(function(t){return t=Me(t),this.thru(function(e){return Gt(Mu(e)?e:[sr(e)],t)})}),nu=mo(function(t,e){return me(t,Me(e))}),ru=fn(function(t,e,n){ea.call(t,n)?++t[n]:t[n]=1}),ou=wn(za),iu=wn(Fa,!0),au=kn(ee,za),uu=kn(ne,Fa),lu=fn(function(t,e,n){ea.call(t,n)?t[n].push(e):t[n]=[e]}),cu=fn(function(t,e,n){t[n]=e}),fu=mo(function(t,e,n){var r=-1,o="function"==typeof e,i=tr(e),a=Qn(t)?Ni(t.length):[];return za(t,function(t){var u=o?e:i&&null!=t?t[e]:E;a[++r]=u?u.apply(t,n):Jn(t,e,n)}),a}),su=fn(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),pu=Sn(fe,za),hu=Sn(se,Fa),du=mo(function(t,e){if(null==t)return[];var n=e[2];return n&&Gn(e[0],e[1],n)&&(e.length=1),Qe(t,Me(e),[])}),yu=ja||function(){return(new Ki).getTime()},vu=mo(function(t,e,n){var r=P;if(n.length){var o=b(n,vu.placeholder);r|=L}return Fn(t,r,e,n,o)}),gu=mo(function(t,e){e=e.length?Me(e):Qo(t);for(var n=-1,r=e.length;++n<r;){var o=e[n];t[o]=Fn(t[o],P,t)}return t}),mu=mo(function(t,e,n){var r=P|M;if(n.length){var o=b(n,mu.placeholder);r|=L}return Fn(e,r,t,n,o)}),_u=mn(S),bu=mn(R),wu=mo(function(t,e){return xe(t,1,e)}),xu=mo(function(t,e,n){return xe(t,e,n)}),Ou=jn(),ju=jn(!0),ku=mo(function(t,e){if(e=Me(e),"function"!=typeof t||!ie(e,u))throw new Ji(V);var n=e.length;return mo(function(r){for(var o=Oa(r.length,n);o--;)r[o]=e[o](r[o]);return t.apply(this,r)})}),Eu=Tn(L),Au=Tn(C),Pu=mo(function(t,e){return Fn(t,z,E,E,E,Me(e))}),Mu=_a||function(t){return m(t)&&nr(t.length)&&ra.call(t)==H},Tu=sn(Ne),Su=sn(function(t,e,n){return n?ve(t,e,n):ge(t,e)}),Ru=_n(Su,de),Lu=_n(Tu,ir),Cu=On(Se),Iu=On(Re),zu=En(Ba),Fu=En(Da),Bu=An(Se),Du=An(Re),Wu=wa?function(t){var e=null==t?E:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&Qn(t)?cr(t):Io(t)?wa(t):[]}:cr,Nu=Pn(!0),Ku=Pn(),Uu=mo(function(t,e){if(null==t)return{};if("function"!=typeof e[0]){var e=le(Me(e),Xi);return ar(t,Oe(ei(t),e))}var n=an(e[0],e[1],3);return ur(t,function(t,e,r){return!n(t,e,r)})}),Vu=mo(function(t,e){return null==t?{}:"function"==typeof e[0]?ur(t,an(e[0],e[1],3)):ar(t,Me(e))}),$u=vn(function(t,e,n){return e=e.toLowerCase(),t+(n?e.charAt(0).toUpperCase()+e.slice(1):e)}),qu=vn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Hu=Mn(),Yu=Mn(!0),Xu=vn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Ju=vn(function(t,e,n){return t+(n?" ":"")+(e.charAt(0).toUpperCase()+e.slice(1))}),Qu=mo(function(t,e){try{return t.apply(E,e)}catch(n){return Ro(n)?n:new Ui(n)}}),Zu=mo(function(t,e){return function(n){return Jn(n,t,e)}}),Gu=mo(function(t,e){return function(n){return Jn(t,n,e)}}),tl=In("ceil"),el=In("floor"),nl=bn(jo,Aa),rl=bn(qo,Pa),ol=In("round");return e.prototype=n.prototype,r.prototype=Ia(n.prototype),r.prototype.constructor=r,_.prototype=Ia(n.prototype),_.prototype.constructor=_,$t.prototype["delete"]=qt,$t.prototype.get=Ht,$t.prototype.has=Yt,$t.prototype.set=Xt,Jt.prototype.push=Zt,yo.Cache=$t,e.after=fo,e.ary=so,e.assign=Su,e.at=nu,e.before=po,e.bind=vu,e.bindAll=gu,e.bindKey=mu,e.callback=Ei,e.chain=Nr,e.chunk=dr,e.compact=yr,e.constant=Ai,e.countBy=ru,e.create=Jo,e.curry=_u,e.curryRight=bu,e.debounce=ho,e.defaults=Ru,e.defaultsDeep=Lu,e.defer=wu,e.delay=xu,e.difference=Va,e.drop=vr,e.dropRight=gr,e.dropRightWhile=mr,e.dropWhile=_r,e.fill=br,e.filter=Qr,e.flatten=xr,e.flattenDeep=Or,e.flow=Ou,e.flowRight=ju,e.forEach=au,e.forEachRight=uu,e.forIn=zu,e.forInRight=Fu,e.forOwn=Bu,e.forOwnRight=Du,e.functions=Qo,e.groupBy=lu,e.indexBy=cu,e.initial=kr,e.intersection=Ha,e.invert=ti,e.invoke=fu,e.keys=Wu,e.keysIn=ei,e.map=to,e.mapKeys=Nu,e.mapValues=Ku,e.matches=Mi,e.matchesProperty=Ti,e.memoize=yo,e.merge=Tu,e.method=Zu,e.methodOf=Gu,e.mixin=Si,e.modArgs=ku,e.negate=vo,e.omit=Uu,e.once=go,e.pairs=ni,e.partial=Eu,e.partialRight=Au,e.partition=su,e.pick=Vu,e.pluck=eo,e.property=Ci,e.propertyOf=Ii,e.pull=Pr,e.pullAt=Ya,e.range=zi,e.rearg=Pu,e.reject=no,e.remove=Mr,e.rest=Tr,e.restParam=mo,e.set=oi,e.shuffle=oo,e.slice=Sr,e.sortBy=uo,e.sortByAll=du,e.sortByOrder=lo,e.spread=_o,e.take=Rr,e.takeRight=Lr,e.takeRightWhile=Cr,e.takeWhile=Ir,e.tap=Kr,e.throttle=bo,e.thru=Ur,e.times=Fi,e.toArray=Yo,e.toPlainObject=Xo,e.transform=ii,e.union=Qa,e.uniq=zr,e.unzip=Fr,e.unzipWith=Br,e.values=ai,e.valuesIn=ui,e.where=co,e.without=Za,e.wrap=wo,e.xor=Dr,e.zip=Ga,e.zipObject=Wr,e.zipWith=tu,e.backflow=ju,e.collect=to,e.compose=ju,e.each=au,e.eachRight=uu,e.extend=Su,e.iteratee=Ei,e.methods=Qo,e.object=Wr,e.select=Qr,e.tail=Tr,e.unique=zr,Si(e,e),e.add=Di,e.attempt=Qu,e.camelCase=$u,e.capitalize=fi,e.ceil=tl,e.clone=xo,e.cloneDeep=Oo,e.deburr=si,e.endsWith=pi,e.escape=hi,e.escapeRegExp=di,e.every=Jr,e.find=ou,e.findIndex=$a,e.findKey=Cu,e.findLast=iu,e.findLastIndex=qa,e.findLastKey=Iu,e.findWhere=Zr,e.first=wr,e.floor=el,e.get=Zo,e.gt=jo,e.gte=ko,e.has=Go,e.identity=Pi,e.includes=Gr,e.indexOf=jr,e.inRange=li,e.isArguments=Eo,e.isArray=Mu,e.isBoolean=Ao,e.isDate=Po,e.isElement=Mo,e.isEmpty=To,e.isEqual=So,e.isError=Ro,e.isFinite=Lo,e.isFunction=Co,e.isMatch=zo,e.isNaN=Fo,e.isNative=Bo,e.isNull=Do,e.isNumber=Wo,e.isObject=Io,e.isPlainObject=No,e.isRegExp=Ko,e.isString=Uo,e.isTypedArray=Vo,e.isUndefined=$o,e.kebabCase=qu,e.last=Er,e.lastIndexOf=Ar,e.lt=qo,e.lte=Ho,e.max=nl,e.min=rl,e.noConflict=Ri,e.noop=Li,e.now=yu,e.pad=yi,e.padLeft=Hu,e.padRight=Yu,e.parseInt=vi,e.random=ci,e.reduce=pu,e.reduceRight=hu,e.repeat=gi,e.result=ri,e.round=ol,e.runInContext=k,e.size=io,e.snakeCase=Xu,e.some=ao,e.sortedIndex=Xa,e.sortedLastIndex=Ja,e.startCase=Ju,e.startsWith=mi,e.sum=Wi,e.template=_i,e.trim=bi,e.trimLeft=wi,e.trimRight=xi,e.trunc=Oi,e.unescape=ji,e.uniqueId=Bi,e.words=ki,e.all=Jr,e.any=ao,e.contains=Gr,e.eq=So,e.detect=ou,e.foldl=pu,e.foldr=hu,e.head=wr,e.include=Gr,e.inject=pu,Si(e,function(){var t={};return Se(e,function(n,r){e.prototype[r]||(t[r]=n)}),t}(),!1),e.sample=ro,e.prototype.sample=function(t){return this.__chain__||null!=t?this.thru(function(e){return ro(e,t)}):ro(this.value())},e.VERSION=A,ee(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),ee(["drop","take"],function(t,e){_.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new _(this);n=null==n?1:xa(ma(n)||0,0);var o=this.clone();return r?o.__takeCount__=Oa(o.__takeCount__,n):o.__views__.push({size:n,type:t+(o.__dir__<0?"Right":"")}),o},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),ee(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n!=U;_.prototype[t]=function(t,e){var o=this.clone();return o.__iteratees__.push({iteratee:Nn(t,e,1),type:n}),o.__filtered__=o.__filtered__||r,o}}),ee(["first","last"],function(t,e){var n="take"+(e?"Right":"");_.prototype[t]=function(){return this[n](1).value()[0]}}),ee(["initial","rest"],function(t,e){var n="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[n](1)}}),ee(["pluck","where"],function(t,e){var n=e?"filter":"map",r=e?De:Ci;_.prototype[t]=function(t){return this[n](r(t))}}),_.prototype.compact=function(){return this.filter(Pi)},_.prototype.reject=function(t,e){return t=Nn(t,e,1),this.filter(function(e){return!t(e)})},_.prototype.slice=function(t,e){t=null==t?0:+t||0;var n=this;return n.__filtered__&&(t>0||0>e)?new _(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==E&&(e=+e||0,n=0>e?n.dropRight(-e):n.take(e-t)),n)},_.prototype.takeRightWhile=function(t,e){return this.reverse().takeWhile(t,e).reverse()},_.prototype.toArray=function(){return this.take(Pa)},Se(_.prototype,function(t,n){var o=/^(?:filter|map|reject)|While$/.test(n),i=/^(?:first|last)$/.test(n),a=e[i?"take"+("last"==n?"Right":""):n];a&&(e.prototype[n]=function(){var e=i?[1]:arguments,n=this.__chain__,u=this.__wrapped__,l=!!this.__actions__.length,c=u instanceof _,f=e[0],s=c||Mu(u);s&&o&&"function"==typeof f&&1!=f.length&&(c=s=!1);var p=function(t){return i&&n?a(t,1)[0]:a.apply(E,ce([t],e))},h={func:Ur,args:[p],thisArg:E},d=c&&!l;if(i&&!n)return d?(u=u.clone(),u.__actions__.push(h),t.call(u)):a.call(E,this.value())[0];if(!i&&s){u=d?u:new _(this);var y=t.apply(u,e);return y.__actions__.push(h),new r(y,n)}return this.thru(p)})}),ee(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(t){var n=(/^(?:replace|split)$/.test(t)?Gi:Qi)[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:join|pop|replace|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;return o&&!this.__chain__?n.apply(this.value(),t):this[r](function(e){return n.apply(e,t)})}}),Se(_.prototype,function(t,n){var r=e[n];if(r){var o=r.name,i=Ca[o]||(Ca[o]=[]);i.push({name:n,func:r})}}),Ca[Rn(E,M).name]=[{name:"wrapper",func:E}],_.prototype.clone=Z,_.prototype.reverse=nt,_.prototype.value=ot,e.prototype.chain=Vr,e.prototype.commit=$r,e.prototype.concat=eu,e.prototype.plant=qr,e.prototype.reverse=Hr,e.prototype.toString=Yr,e.prototype.run=e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=Xr,e.prototype.collect=e.prototype.map,e.prototype.head=e.prototype.first,e.prototype.select=e.prototype.filter,e.prototype.tail=e.prototype.rest,e}var E,A="3.10.1",P=1,M=2,T=4,S=8,R=16,L=32,C=64,I=128,z=256,F=30,B="...",D=150,W=16,N=200,K=1,U=2,V="Expected a function",$="__lodash_placeholder__",q="[object Arguments]",H="[object Array]",Y="[object Boolean]",X="[object Date]",J="[object Error]",Q="[object Function]",Z="[object Map]",G="[object Number]",tt="[object Object]",et="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object WeakMap]",it="[object ArrayBuffer]",at="[object Float32Array]",ut="[object Float64Array]",lt="[object Int8Array]",ct="[object Int16Array]",ft="[object Int32Array]",st="[object Uint8Array]",pt="[object Uint8ClampedArray]",ht="[object Uint16Array]",dt="[object Uint32Array]",yt=/\b__p \+= '';/g,vt=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mt=/&(?:amp|lt|gt|quot|#39|#96);/g,_t=/[&<>"'`]/g,bt=RegExp(mt.source),wt=RegExp(_t.source),xt=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,jt=/<%=([\s\S]+?)%>/g,kt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Et=/^\w*$/,At=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Pt=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Mt=RegExp(Pt.source),Tt=/[\u0300-\u036f\ufe20-\ufe23]/g,St=/\\(\\)?/g,Rt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lt=/\w*$/,Ct=/^0[xX]/,It=/^\[object .+?Constructor\]$/,zt=/^\d+$/,Ft=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Bt=/($^)/,Dt=/['\n\r\u2028\u2029\\]/g,Wt=function(){var t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",e="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(t+"+(?="+t+e+")|"+t+"?"+e+"|"+t+"+|[0-9]+","g")}(),Nt=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Kt=-1,Ut={};Ut[at]=Ut[ut]=Ut[lt]=Ut[ct]=Ut[ft]=Ut[st]=Ut[pt]=Ut[ht]=Ut[dt]=!0,Ut[q]=Ut[H]=Ut[it]=Ut[Y]=Ut[X]=Ut[J]=Ut[Q]=Ut[Z]=Ut[G]=Ut[tt]=Ut[et]=Ut[nt]=Ut[rt]=Ut[ot]=!1;var Vt={};Vt[q]=Vt[H]=Vt[it]=Vt[Y]=Vt[X]=Vt[at]=Vt[ut]=Vt[lt]=Vt[ct]=Vt[ft]=Vt[G]=Vt[tt]=Vt[et]=Vt[rt]=Vt[st]=Vt[pt]=Vt[ht]=Vt[dt]=!0,Vt[J]=Vt[Q]=Vt[Z]=Vt[nt]=Vt[ot]=!1;var $t={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},qt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Ht={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Yt={"function":!0,object:!0},Xt={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qt=Yt[typeof r]&&r&&!r.nodeType&&r,Zt=Yt[typeof n]&&n&&!n.nodeType&&n,Gt=Qt&&Zt&&"object"==typeof e&&e&&e.Object&&e,te=Yt[typeof self]&&self&&self.Object&&self,ee=Yt[typeof window]&&window&&window.Object&&window,ne=Zt&&Zt.exports===Qt&&Qt,re=Gt||ee!==(this&&this.window)&&ee||te||this,oe=k();"function"==typeof t&&"object"==typeof t.amd&&t.amd?(re._=oe,t(function(){return oe})):Qt&&Zt?ne?(Zt.exports=oe)._=oe:Qt._=oe:re._=oe}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./ops")),o=e("./linear"),i=e("./rectangle");n.exports=function(){return function(t){var e,n,a,u,l,c,f,s,p,h,d,y,v,g,m,_,b,w,x,O,j,k,E,A,P,M,T,S,R,L,C,I,z,F;for(c=t.data,e=t.accessor,F=t.width,y=t.height,d=t.gutter,a=t.compute,null==e&&(e=function(t){return t}),null==d&&(d=0),h=[],P=0,A=0,v=m=0,w=c.length;w>m;v=++m)for(l=c[v],g=_=0,x=l.length;x>_;g=++_)f=l[g],I=e(f),P>I&&(P=I),I>A&&(A=I),null==h[g]&&(h[g]=[]),h[g][v]=I;for(M=h.length,p=(F-d*(M-1))/M,u=[],R=o([P,A],[y,0]),v=E=0,O=h.length;O>E;v=++E)for(s=h[v],z=p/s.length,L=(p+d)*v,g=T=0,j=s.length;j>T;g=++T)f=s[g],b=L+z*g,S=b+z,n=R(0),C=R(f),k=i({left:b,right:S,bottom:n,top:C}),u.push(r.enhance(a,{item:c[g][v],line:k,index:g}));return{curves:u,scale:R}}}.call(this)}).call(this)},{"./linear":6,"./ops":7,"./rectangle":12}],3:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./path")),o=e("./ops");n.exports=function(){var t;return t=function(t,e){return o.minus(o.times(2,t),e)},function(e){var n,i,a,u,l,c,f,s,p,h,d,y,v,g,m,_,b;for(y=e.points,b=e.tension,null==b&&(b=.3),u=[],s=y.length,l=c=1,v=s-1;v>=1?v>=c:c>=v;l=v>=1?++c:--c)u.push(o.times(b,o.minus(y[l],y[l-1])));for(a=[o.plus(y[0],t(u[0],u[1]))],l=f=1,g=s-2;g>=1?g>=f:f>=g;l=g>=1?++f:--f)a.push(o.minus(y[l],o.average([u[l],u[l-1]])));return a.push(o.minus(y[s-1],t(u[s-2],u[s-3]))),n=a[0],i=a[1],p=y[0],h=y[1],d=(m=r()).moveto.apply(m,p).curveto(n[0],n[1],i[0],i[1],h[0],h[1]),{path:function(){_=[];for(var t=2,e=s-1;e>=2?e>=t:t>=e;e>=2?t++:t--)_.push(t);return _}.apply(this).reduce(function(t,e){var n,r;return n=a[e],r=y[e],t.smoothcurveto(n[0],n[1],r[0],r[1])},d),centroid:o.average(y)}}}.call(this)}).call(this)},{"./ops":7,"./path":8}],4:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./path")),o=e("./ops");n.exports=function(){return function(t){var e,n,i,a,u,l,c,f,s,p,h,d,y;return d=t.start,u=t.end,y=t.tension,null==y&&(y=.05),e=d[0],n=d[1],i=u[0],a=u[1],l=(i-e)*y,c=[e+l,n],f=[i-l,a],{path:(s=(p=(h=r()).moveto.apply(h,d)).lineto.apply(p,c).curveto(e+5*l,n,i-5*l,a,i-l,a)).lineto.apply(s,u),centroid:o.average([d,u])}}}.call(this)}).call(this)},{"./ops":7,"./path":8}],5:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./linear")),o=e("./ops");n.exports=function(){var t,e;return e=1e-5,t=function(t,n){var r,i,a,u,l,c,f,s,p;return a=function(){var e,o,i;for(i=[],e=0,o=t.length;o>e;e++)r=t[e],i.push(n(r));return i}(),u=a.sort(function(t,e){var n,r,o,i;return n=t[0],r=t[1],o=e[0],i=e[1],n-o}),f=u.map(function(t){return t[1]}),i=u.length,c=u[0][0],l=u[i-1][0],p=o.min(f),s=o.max(f),c===l&&(l+=e),p===s&&(s+=e),{points:u,xmin:c,xmax:l,ymin:p,ymax:s}},function(e){var n,i,a,u,l,c,f,s,p,h,d,y,v,g,m,_,b;return u=e.data,h=e.xaccessor,g=e.yaccessor,p=e.width,f=e.height,a=e.closed,null==h&&(h=function(t){var e,n;return e=t[0],n=t[1],e}),null==g&&(g=function(t){var e,n;return e=t[0],n=t[1]}),c=function(t){return[h(t),g(t)]},n=function(){var e,n,r;for(r=[],e=0,n=u.length;n>e;e++)l=u[e],r.push(t(l,c));return r}(),y=o.min(n.map(function(t){return t.xmin})),d=o.max(n.map(function(t){return t.xmax})),_=o.min(n.map(function(t){return t.ymin})),m=o.max(n.map(function(t){return t.ymax})),a&&(_=Math.min(_,0),m=Math.max(m,0)),i=a?0:_,v=r([y,d],[0,p]),b=r([_,m],[f,0]),s=function(t){var e,n;return e=t[0],n=t[1],[v(e),b(n)]},{arranged:n,scale:s,xscale:v,yscale:b,base:i}}}.call(this)}).call(this)},{"./linear":6,"./ops":7}],6:[function(e,n,r){(function(){!("function"!=typeof t||!t.amd);n.exports=function(){var t;return t=function(e,n){var r,o,i,a,u;return r=e[0],o=e[1],i=n[0],a=n[1],u=function(t){return i+(a-i)*(t-r)/(o-r)},u.inverse=function(){return t([i,a],[r,o])},u}}.call(this)}).call(this)},{}],7:[function(e,n,r){(function(){!("function"!=typeof t||!t.amd);n.exports=function(){var t,e,n,r,o,i,a,u,l,c,f;return l=function(t){return t.reduce(function(t,e){return t+e},0)},o=function(t){return t.reduce(function(t,e){return Math.min(t,e)})},r=function(t){return t.reduce(function(t,e){return Math.max(t,e)})},u=function(t,e){var n,r,o,i;return n=t[0],r=t[1],o=e[0],i=e[1],[n+o,r+i]},i=function(t,e){var n,r,o,i;return n=t[0],r=t[1],o=e[0],i=e[1],[n-o,r-i]},f=function(t,e){var n,r;return n=e[0],r=e[1],[t*n,t*r]},n=function(t){var e,n;return e=t[0],n=t[1],Math.sqrt(e*e+n*n)},c=function(t){return t.reduce(function(t,e){return u(t,e)},[0,0])},t=function(t){return f(1/t.length,t.reduce(u))},a=function(t,e){return f(t,[Math.sin(e),-Math.cos(e)])},e=function(t,e){var n,r,o;o=t||{};for(n in o)r=o[n],e[n]=r(e.index,e.item,e.group);return e},{sum:l,min:o,max:r,plus:u,minus:i,times:f,length:n,sum_vectors:c,average:t,on_circle:a,enhance:e}}.call(this)}).call(this)},{}],8:[function(e,n,r){(function(){!("function"!=typeof t||!t.amd);n.exports=function(){var t;return t=function(e){var n,r,o,i,a,u,l,c,f;return r=e||[],u=function(t,e){var n;return n=t.slice(0,t.length),n.push(e),n},n=function(t,e){return t[0]===e[0]&&t[1]===e[1]},c=function(t,e){var n;for(n=t.length;"0"===t.charAt(n-1);)n-=1;return"."===t.charAt(n-1)&&(n-=1),t.substr(0,n)},l=function(t,e){var n;return n=t.toFixed(e),c(n)},a=function(t){var e,n,r,o;return e=t.command,o=t.params,n=function(){var t,e,n;for(n=[],t=0,e=o.length;e>t;t++)r=o[t],n.push(l(r,6));return n}(),e+" "+n.join(" ")},i=function(t,e){var n,r,o,i;switch(n=t.command,r=t.params,o=e[0],i=e[1],n){case"M":return[r[0],r[1]];case"L":return[r[0],r[1]];case"H":return[r[0],i];case"V":return[o,r[0]];case"Z":return null;case"C":return[r[4],r[5]];case"S":return[r[2],r[3]];case"Q":return[r[2],r[3]];case"T":return[r[0],r[1]];case"A":return[r[5],r[6]]}},f=function(t,e){return function(n){var r;return r="object"==typeof n?t.map(function(t){return n[t]}):arguments,e.apply(null,r)}},o=function(e){return t(u(r,e))},{moveto:f(["x","y"],function(t,e){return o({command:"M",params:[t,e]})}),lineto:f(["x","y"],function(t,e){return o({command:"L",params:[t,e]})}),hlineto:f(["x"],function(t){return o({command:"H",params:[t]})}),vlineto:f(["y"],function(t){return o({command:"V",params:[t]})}),closepath:function(){return o({command:"Z",params:[]})},curveto:f(["x1","y1","x2","y2","x","y"],function(t,e,n,r,i,a){return o({command:"C",params:[t,e,n,r,i,a]})}),smoothcurveto:f(["x2","y2","x","y"],function(t,e,n,r){return o({command:"S",params:[t,e,n,r]})}),qcurveto:f(["x1","y1","x","y"],function(t,e,n,r){return o({command:"Q",params:[t,e,n,r]})}),smoothqcurveto:f(["x","y"],function(t,e){return o({command:"T",params:[t,e]})}),arc:f(["rx","ry","xrot","large_arc_flag","sweep_flag","x","y"],function(t,e,n,r,i,a,u){return o({command:"A",params:[t,e,n,r,i,a,u]})}),print:function(){return r.map(a).join(" ")},points:function(){var t,e,n,o,a,u;for(u=[],a=[0,0],t=function(){var t;return t=i(n,a),a=t,t?u.push(t):void 0},e=0,o=r.length;o>e;e++)n=r[e],t();return u},instructions:function(){return r.slice(0,r.length)},connect:function(e){var r,o,i;return o=this.points().slice(-1)[0],r=e.points()[0],i=e.instructions().slice(1),n(o,r)||i.unshift({command:"L",params:r}),t(this.instructions().concat(i))}}},function(){return t()}}.call(this)}).call(this)},{}],9:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./linear")),o=e("./ops"),i=e("./sector");n.exports=function(){return function(t){var e,n,a,u,l,c,f,s,p,h,d,y,v,g,m,_;for(c=t.data,n=t.accessor,a=t.center,d=t.r,e=t.R,u=t.compute,_=function(){var t,e,r;for(r=[],t=0,e=c.length;e>t;t++)s=c[t],r.push(n(s));return r}(),y=o.sum(_),v=r([0,y],[0,2*Math.PI]),l=[],g=0,f=p=0,h=c.length;h>p;f=++p)s=c[f],m=_[f],l.push(o.enhance(u,{item:s,index:f,sector:i({center:a,r:d,R:e,start:v(g),end:v(g+m)})})),g+=m;return{curves:l}}}.call(this)}).call(this)},{"./linear":6,"./ops":7,"./sector":13}],10:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./path")),o=e("./ops");n.exports=function(){return function(t){var e,n,i,a,u,l,c;return u=t.points,e=t.closed,i=u.length,n=u[0],c=u.slice(1,+i+1||9e9),a=c.reduce(function(t,e){return t.lineto.apply(t,e)},(l=r()).moveto.apply(l,n)),{path:e?a.closepath():a,centroid:o.average(u)}}}.call(this)}).call(this)},{"./ops":7,"./path":8}],11:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./semi-regular-polygon")),o=e("./ops");n.exports=function(){var t,e,n;return t=function(t){var e,n,r,o,i,a,u,l,c,f;for(r=[],o=function(){var e,n,r;for(r=[],e=0,n=t.length;n>e;e++)l=t[e],r.push(Object.keys(l));return r}(),e=0,a=t.length;a>e;e++)for(c=t[e],f=Object.keys(c),i=0,u=f.length;u>i;i++)n=f[i],-1===r.indexOf(n)&&r.push(n);return r},n=function(t){var e,n,r,o,i;for(e={},n=function(t){return e[t]=function(e){return e[t]}},r=0,i=t.length;i>r;r++)o=t[r],n(o);return e},e=function(t,e){var n,r;return n=Object.keys(e),r=t.map(function(t){var r;return r=n.map(function(n){return e[n](t)}),o.max(r)}),o.max(r)},function(i){var a,u,l,c,f,s,p,h,d,y,v,g,m,_;return f=i.data,a=i.accessor,l=i.center,y=i.r,h=i.max,m=i.rings,c=i.compute,null==m&&(m=3),null==a&&(a=n(t(f))),p=Object.keys(a),_=p.length,u=2*Math.PI/_,s=-1,null==h&&(h=e(f,a)),g=function(){v=[];for(var t=1;m>=1?m>=t:t>=m;m>=1?t++:t--)v.push(t);return v}.apply(this).map(function(t){var e,n;return e=y*t/m,r({center:l,radii:function(){n=[];for(var t=0,e=_-1;e>=0?e>=t:t>=e;e>=0?t++:t--)n.push(t);return n}.apply(this).map(function(t){return e})})}),d=f.map(function(t){return s+=1,o.enhance(c,{polygon:r({center:l,radii:p.map(function(e){return y*a[e](t)/h})}),item:t,index:s})}),{curves:d,rings:g}}}.call(this)}).call(this)},{"./ops":7,"./semi-regular-polygon":14}],12:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./polygon"));n.exports=function(){return function(t){var e,n,o,i;return n=t.left,o=t.right,i=t.top,e=t.bottom,r({points:[[o,i],[o,e],[n,e],[n,i]],closed:!0})}}.call(this)}).call(this)},{"./polygon":10}],13:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),[].slice),o=e("./path"),i=e("./ops");n.exports=function(){return function(t){var e,n,a,u,l,c,f,s,p,h,d,y,v,g,m,_,b,w;return l=t.center,v=t.r,e=t.R,w=t.start,s=t.end,n=i.plus(l,i.on_circle(e,w)),a=i.plus(l,i.on_circle(e,s)),u=i.plus(l,i.on_circle(v,s)),f=i.plus(l,i.on_circle(v,w)),p=s-w>Math.PI?1:0,y=(g=(m=(_=(b=o()).moveto.apply(b,n)).arc.apply(_,[e,e,0,p,1].concat(r.call(a)))).lineto.apply(m,u)).arc.apply(g,[v,v,0,p,0].concat(r.call(f))).closepath(),h=(w+s)/2,d=(v+e)/2,c=i.plus(l,i.on_circle(d,h)),{path:y,centroid:c}}}.call(this)}).call(this)},{"./ops":7,"./path":8}],14:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./polygon")),o=e("./ops");n.exports=function(){return function(t){var e,n,i,a;return n=t.center,a=t.radii,e=2*Math.PI/a.length,i=a.map(function(t,r){return o.plus(n,o.on_circle(t,r*e))}),r({points:i,closed:!0})}}.call(this)}).call(this)},{"./ops":7,"./polygon":10}],15:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./bezier")),o=e("./ops"),i=e("./line-chart-comp");n.exports=function(){return function(t){var e,n,a,u,l,c,f,s;return l=i(t),e=l.arranged,c=l.scale,f=l.xscale,s=l.yscale,n=l.base,a=-1,u=e.map(function(e){var i,u,l,f,s,p,h,d;return l=e.points,d=e.xmin,h=e.xmax,p=l.map(c),a+=1,u=r({points:p}),i={path:(f=(s=u.path).lineto.apply(s,c([h,n]))).lineto.apply(f,c([d,n])).closepath(),centroid:o.average([u.centroid,c([d,n]),c([h,n])])},o.enhance(t.compute,{item:t.data[a],line:u,area:i,index:a})}),{curves:u,xscale:f,yscale:s}}}.call(this)}).call(this)},{"./bezier":3,"./line-chart-comp":5,"./ops":7}],16:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./polygon")),o=e("./line-chart-comp"),i=e("./ops");n.exports=function(){return function(t){var e,n,a,u,l,c,f,s;return l=o(t),e=l.arranged,c=l.scale,f=l.xscale,s=l.yscale,n=l.base,a=-1,u=e.map(function(e){var o,u,l,f,s;return o=e.points,s=e.xmin,f=e.xmax,u=o.map(c),o.push([f,n]),o.push([s,n]),l=o.map(c),a+=1,i.enhance(t.compute,{item:t.data[a],line:r({points:u,closed:!1}),area:r({points:l,closed:!0}),index:a})}),{curves:u,xscale:f,yscale:s}}}.call(this)}).call(this)},{"./line-chart-comp":5,"./ops":7,"./polygon":10}],17:[function(e,n,r){(function(){var r=(!("function"!=typeof t||!t.amd),e("./connector")),o=e("./linear"),i=e("./tree_utils");n.exports=function(){
  return function(t){var e,n,a,u,l,c,f,s,p,h,d,y,v,g,m,_,b;return u=t.data,b=t.width,l=t.height,n=t.children,g=t.tension,null==n&&(n=function(t){return t.children}),m=i.build_tree(u,n),p=i.tree_height(m),h=i.set_height(m),f=b/(p-1),c=o([0,p-1],[0,b]),_=function(){y=[];for(var t=0,e=p-1;e>=0?e>=t:t>=e;e>=0?t++:t--)y.push(t);return y}.apply(this).map(function(t){var e,n,r,i;return e=Math.sqrt(t/(p-1))*l,i=(l-e)/2,n=i+e,r=t>0?h[t]+h[t-1]:h[t],0===r?function(t){return l/2}:o([0,r],[i,n])}),d=function(t){var e,n;return e=t.level,n=_[e],[c(e),n(t.height_)]},s=-1,a=i.collect(m,function(t,e){return s+=1,e.height_=e.height+t.height,{connector:r({start:d(t),end:d(e),tension:g}),index:s,item:{start:t.item,end:e.item}}}),e=i.collect(m,function(t,e){return{point:d(e),item:e.item}}),v={point:d(m),item:m.item},{curves:a,nodes:[v].concat(e)}}}.call(this)}).call(this)},{"./connector":4,"./linear":6,"./tree_utils":18}],18:[function(e,n,r){(function(){!("function"!=typeof t||!t.amd);n.exports=function(){var t,e,n,r,o;return n=function(t,e){return null==t&&(t=[]),t.reduce(function(t,n){return Math.max(t,e(n))},0)},o=function(t){return 1+n(t.children,o)},t=function(e,n,r){var o,i;return null==r&&(r=0),i={item:e,level:r},o=n(e),o&&o.length&&(i.children=o.map(function(e){return t(e,n,r+1)})),i},r=function(t,e,n){var o,i,a,u;for(null==n&&(n=[]),null==e&&(e=0),null!=n[e]?(t.height=n[e]+1,n[e]+=1):(n[e]=0,t.height=0),u=t.children||[],i=0,a=u.length;a>i;i++)o=u[i],r(o,e+1,n);return n},e=function(t,n){var r,o,i,a,u;for(u=[],a=t.children||[],o=0,i=a.length;i>o;o++)r=a[o],u.push(n(t,r)),u=u.concat(e(r,n));return u},{tree_height:o,build_tree:t,set_height:r,collect:e}}.call(this)}).call(this)},{}],19:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(n,"__esModule",{value:!0});var o=t("lodash"),i=r(o),a=t("./charts/Pie.js"),u=r(a),l=t("./charts/Tree.js"),c=r(l),f=t("./charts/Radar.js"),s=r(f),p=t("./charts/Bar.js"),h=r(p),d=t("./charts/SmoothLine.js"),y=r(d),v=t("./charts/StockLine.js"),g=r(v),m=t("./charts/Scatterplot.js"),_=r(m);n["default"]={Pie:i["default"].extend(u["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},accessorKey:{type:"string"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},r:{type:"number"},R:{type:"number"},color:{type:"colorPicker"},legendPosition:{type:"select",settings:{options:["topLeft","topRight","bottomLeft","bottomRight"]}},label:{type:"fontEditor"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}}}}}}}}),Tree:i["default"].extend(c["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},r:{type:"number"},fill:{type:"colorPicker"},stroke:{type:"colorPicker"},label:{type:"fontEditor"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}}}}}}}}),SmoothLine:i["default"].extend(y["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},xKey:{type:"string"},yKey:{type:"string"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},color:{type:"colorPicker"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}},axisY:{fields:{orient:{type:"select",settings:{options:["left","right"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}},axisX:{fields:{orient:{type:"select",settings:{options:["top","bottom"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}}}}}}}}),StockLine:i["default"].extend(g["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},xKey:{type:"string"},yKey:{type:"string"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},color:{type:"colorPicker"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}},axisY:{fields:{orient:{type:"select",settings:{options:["left","right"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}},axisX:{fields:{orient:{type:"select",settings:{options:["top","bottom"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}}}}}}}}),Radar:i["default"].extend(s["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},r:{type:"number"},max:{type:"number"},fill:{type:"colorPicker"},stroke:{type:"colorPicker"},label:{type:"fontEditor"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}}}}}}}}),Bar:i["default"].extend(h["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},accessorKey:{type:"string"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},gutter:{type:"number"},color:{type:"colorPicker"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}},axisY:{fields:{orient:{type:"select",settings:{options:["left","right"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}},axisX:{fields:{orient:{type:"select",settings:{options:["top","bottom"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}}}}}}}}),Scatterplot:i["default"].extend(_["default"],{metaData:{settings:{fields:{data:{type:"plainJsonEditor"},xKey:{type:"string"},yKey:{type:"string"},options:{fields:{width:{type:"number"},height:{type:"number"},margin:{type:"boxSizeEditor"},fill:{type:"colorPicker"},stroke:{type:"colorPicker"},label:{type:"fontEditor"},animate:{fields:{type:{type:"select",settings:{options:["delayed","async","oneByOne"]}},duration:{type:"number"},fillTransition:{type:"number"}}},axisY:{fields:{orient:{type:"select",settings:{options:["left","right"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}},axisX:{fields:{orient:{type:"select",settings:{options:["top","bottom"]}},label:{type:"fontEditor"},showAxis:{type:"boolean"},showLines:{type:"boolean"},showLabels:{type:"boolean"},showTicks:{type:"boolean"},zeroAxis:{type:"boolean"}}}}}}}}})},e.exports=n["default"]},{"./charts/Bar.js":21,"./charts/Pie.js":23,"./charts/Radar.js":24,"./charts/Scatterplot.js":25,"./charts/SmoothLine.js":26,"./charts/StockLine.js":27,"./charts/Tree.js":28,lodash:1}],20:[function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){if(Array.isArray(e))return e.map(function(e,r){return o(t[r],e,n)});if("object"==typeof e){var r,i={};for(var r in e)i[r]=o(t[r],e[r],n);return i}return"number"==typeof e?t+(e-t)*n:t}function i(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}Object.defineProperty(n,"__esModule",{value:!0});var a="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,u=(r(a),1.70158),l={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return.5>t?2*t*t:-2*t*t+4*t-1},easeInElastic:function(t){var e=t-1;return-Math.pow(2,10*e)*Math.sin((2*e/.3-.5)*Math.PI)},easeOutElastic:function(t){return Math.pow(2,-10*t)*Math.sin((2*t/.3-.5)*Math.PI)+1},easeInOutElastic:function(t){var e=2*t-1;return.5>t?-.5*Math.pow(2,10*e)*Math.sin((e/.225-.5)*Math.PI):Math.pow(2,-10*e)*Math.sin((e/.225-.5)*Math.PI)*.5+1},easeInBack:function(t){return t*t*((u+1)*t-u)},easeOutBack:function(t){var e=t-1;return e*e*((u+1)*e+u)+1},easeInOutBack:function(t){var e=1.525*u;if(.5>t)return 2*t*t*(2*(e+1)*t-e);var n=t-1;return 2*n*n*(2*(e+1)*n+e)+1},easeInBounce:function(t){return 1-l.easeOutBounce(1-t)},easeOutBounce:function(t){var e=2.75*t,n=7.5625;if(1>e)return n*t*t;if(2>e){var r=t-1.5/2.75;return n*r*r+.75}if(2.5>e){var r=t-2.25/2.75;return n*r*r+.9375}var r=t-2.625/2.75;return n*r*r+.984375},easeInOutBounce:function(t){return.5>t?l.easeInBounce(2*t)/2:(l.easeOutBounce(2*t-1)+1)/2}};n["default"]={easing:l,Mixin:{animateState:function(t,e){function n(){var i=Math.min(Date.now()-r,u)/u;f.setState(o(a,t,c(i))),1>i?requestAnimationFrame(n):e.done&&e.done()}e=e||{};var r=Date.now(),a=i(this.state),u=e.duration||500,c=e.easing||l.easeInOutQuad,f=this;requestAnimationFrame(n)}}},e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],21:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){return t[e%t.length]}function l(t){return function(e){return e[t]}}Object.defineProperty(n,"__esModule",{value:!0});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},s="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,p=o(s),h=t("../pallete/Colors.js"),d=o(h),y=t("lodash"),v=o(y),g=t("../component/Options.js"),m=o(g),_=t("../fontAdapter.js"),b=o(_),w=t("paths-js/bar"),x=t("../component/Axis"),O=function(t){function e(t){i(this,e),f(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.state={finished:!0}}return a(e,t),c(e,[{key:"color",value:function n(t){var n=this.props.options.color;v["default"].isString(this.props.options.color)||(n=n.color);var e=this.props.pallete||d["default"].mix(n||"#9ac7f7");return d["default"].string(u(e,t))}},{key:"getMaxAndMin",value:function(t,e){var n=0,r=0,o=v["default"].max(t);o>n&&(n=o);var i=v["default"].min(t);return r>i&&(r=i),{minValue:r,maxValue:n,min:e(r),max:e(n)}}},{key:"render",value:function(){var t=this.props.noDataMessage||"No data available";if(void 0===this.props.data)return p["default"].createElement("span",null,t);var e=new m["default"](this.props),n=this.props.accessor||l(this.props.accessorKey),r=w({data:this.props.data,gutter:this.props.options.gutter||10,width:e.chartWidth,height:e.chartHeight,accessor:n}),o=v["default"].map(r.curves,function(t){return n(t.item)}),i={x:{minValue:0,maxValue:200,min:0,max:e.chartWidth},y:this.getMaxAndMin(o,r.scale)},a=e.animate.fillTransition||0,u={fillOpacity:this.state.finished?1:0,transition:this.state.finished?"fill-opacity "+a+"s":""},c=(0,b["default"])(e.axisX.label),f=r.curves.map(function(t,n){var r=this.color(n%3),o=d["default"].darkenColor(r);return p["default"].createElement("g",{key:"lines"+n},p["default"].createElement("path",{d:t.line.path.print(),style:u,stroke:o,fill:r}),e.axisX.showLabels?p["default"].createElement("text",{style:c,transform:"translate("+t.line.centroid[0]+","+(i.y.min+25)+")rotate(45)",textAnchor:"middle"},t.item.name):null)},this);return p["default"].createElement("svg",{ref:"vivus",width:e.width,height:e.height},p["default"].createElement("g",{transform:"translate("+e.margin.left+","+e.margin.top+")"},p["default"].createElement(x,{scale:r.scale,options:e.axisY,chartArea:i}),f))}}]),e}(p["default"].Component);n["default"]=O,O.defaultProps={accessorKey:"",options:{width:600,height:600,margin:{top:20,left:20,bottom:50,right:20},color:"#2980B9",gutter:20,animate:{type:"oneByOne",duration:200,fillTransition:3},axisX:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"bottom",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}},axisY:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"left",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}}}},e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../component/Axis":29,"../component/Options.js":30,"../fontAdapter.js":31,"../pallete/Colors.js":32,lodash:1,"paths-js/bar":2}],22:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){return t[e%t.length]}Object.defineProperty(n,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},f="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,s=o(f),p=t("lodash"),h=o(p),d=t("../pallete/Colors.js"),y=o(d),v=t("../component/Options.js"),g=o(v),m=t("../fontAdapter.js"),_=(o(m),t("../component/Axis")),b=(t("paths-js/path"),function(t){function e(t,n){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.chartType=n,this.state={finished:!0}}return a(e,t),l(e,[{key:"getMaxAndMin",value:function(t,e,n){var r,o;return h["default"].each(t.curves,function(t){var n=h["default"].map(t.item,function(t){return t[e]}),i=h["default"].max(n);(void 0===r||i>r)&&(r=i);var a=h["default"].min(n);(void 0===o||o>a)&&(o=a)}),{minValue:o,maxValue:r,min:n(o),max:n(r)}}},{key:"color",value:function n(t){var n=this.props.options.color;h["default"].isString(this.props.options.color)||(n=n.color);var e=this.props.pallete||y["default"].mix(n||"#9ac7f7");return y["default"].string(u(e,t))}},{key:"render",value:function(){var t=this.props.noDataMessage||"No data available";if(void 0===this.props.data)return s["default"].createElement("span",null,t);var e=new g["default"](this.props),n=function(t){return function(e){return e[t]}},r=this.chartType({data:this.props.data,xaccessor:n(this.props.xKey),yaccessor:n(this.props.yKey),width:e.chartWidth,height:e.chartHeight,closed:!1}),o={x:this.getMaxAndMin(r,this.props.xKey,r.xscale),y:this.getMaxAndMin(r,this.props.yKey,r.yscale),margin:e.margin},i={opacity:.5},a=h["default"].map(r.curves,function(t,e){return s["default"].createElement("path",{key:"lines"+e,d:t.line.path.print(),stroke:this.color(e),fill:"none"})}.bind(this)),u=h["default"].map(r.curves,function(t,e){return s["default"].createElement("path",{key:"areas"+e,d:t.area.path.print(),style:i,stroke:"none",fill:this.color(e)})}.bind(this));return s["default"].createElement("svg",{ref:"vivus",width:e.width,height:e.height},s["default"].createElement("g",{transform:"translate("+e.margin.left+","+e.margin.top+")"},this.state.finished?u:null,a,s["default"].createElement(_,{key:"x",scale:r.xscale,options:e.axisX,chartArea:o}),s["default"].createElement(_,{key:"y",scale:r.yscale,options:e.axisY,chartArea:o})))}}]),e}(s["default"].Component));n["default"]=b,e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../component/Axis":29,"../component/Options.js":30,"../fontAdapter.js":31,"../pallete/Colors.js":32,lodash:1,"paths-js/path":8}],23:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){return t[e%t.length]}function l(t){return function(e){return e[t]}}Object.defineProperty(n,"__esModule",{value:!0});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},s="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,p=o(s),h=t("../pallete/Colors.js"),d=o(h),y=t("../animate.js"),v=o(y),g=t("lodash"),m=o(g),_=t("../component/Options.js"),b=o(_),w=t("../fontAdapter.js"),x=o(w),O=t("paths-js/pie"),j=function(t){function e(t){i(this,e),f(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.animateState=v["default"].Mixin.animateState,this.state={expanded:this.defaultRange,finished:!0}}return a(e,t),c(e,[{key:"translate",value:function(t){return"translate("+t[0]+","+t[1]+")"}},{key:"move",value:function(t,e){return this.translate([t[0]*e/3,t[1]*e/3])}},{key:"color",value:function n(t){var n=this.props.options.color;m["default"].isString(this.props.options.color)||(n=n.color);var e=this.props.pallete||d["default"].mix(n||"#9ac7f7");return d["default"].string(u(e,t))}},{key:"lighten",value:function(t){var e=this.props.options.color;m["default"].isString(this.props.options.color)||(e=e.color);var n=this.props.pallete||d["default"].mix(e||"#9ac7f7");return d["default"].string(d["default"].lighten(u(n,t)))}},{key:"expand",value:function(t){var e=this;return function(){var n=e.defaultRange;n[t]=1,e.animateState({expanded:n})}}},{key:"render",value:function(){var t=this.props.noDataMessage||"No data available";if(void 0===this.props.data)return p["default"].createElement("span",null,t);var e=new b["default"](this.props),n=e.chartWidth/2,r=e.chartHeight/2,o=Math.min(n,r),i=O({center:this.props.options.center||[0,0],r:this.props.options.r||o/2,R:this.props.options.R||o,data:this.props.data,accessor:this.props.accessor||l(this.props.accessorKey)}),a=this,u=this.state.expanded,c=e.animate.fillTransition||0,f={fillOpacity:this.state.finished?1:0,transition:this.state.finished?"fill-opacity "+c+"s":""},s=(0,x["default"])(e.label),h=i.curves.map(function(t,e){var n=a.color(e),r=d["default"].darkenColor(n);return p["default"].createElement("g",{key:e,transform:a.move(t.sector.centroid,u[e])},p["default"].createElement("path",{onClick:a.expand(e),style:f,d:t.sector.path.print(),stroke:r,fill:n}),p["default"].createElement("text",{style:s,textAnchor:"middle",transform:a.translate(t.sector.centroid)},t.item.name))}),y=m["default"].find(this.props.data,function(t,e){return 1===u[e]}),v="legend "+e.legendPosition,g=y?p["default"].createElement("div",{className:v},p["default"].createElement("h4",null,y.name),p["default"].createElement("p",null,p["default"].createElement("span",{className:"label label-info"},y.population))):null;return p["default"].createElement("div",{className:"pie"},p["default"].createElement("svg",{ref:"vivus",width:e.width,height:e.height},p["default"].createElement("g",{transform:"translate("+(e.margin.left+n)+","+(e.margin.top+r)+")"},h)),g)}},{key:"defaultRange",get:function(){return m["default"].map(Array(this.props.data&&this.props.data.length),function(){return 0})}}]),e}(p["default"].Component);n["default"]=j,j.defaultProps={options:{margin:{top:20,left:20,right:20,bottom:20},width:600,height:600,color:"#2980B9",r:100,R:200,legendPosition:"topLeft",animate:{type:"oneByOne",duration:200,fillTransition:3},label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#ECF0F1"}}},e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../animate.js":20,"../component/Options.js":30,"../fontAdapter.js":31,"../pallete/Colors.js":32,lodash:1,"paths-js/pie":9}],24:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t){return function(e){return e[t]}}function l(t){var e={};for(var n in t){var r=t[n];e[r]=u(r)}return e}Object.defineProperty(n,"__esModule",{value:!0});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},s="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,p=o(s),h=t("lodash"),d=(o(h),t("../component/Options.js")),y=o(d),v=t("../fontAdapter.js"),g=o(v),m=t("../styleSvg.js"),_=o(m),b=t("paths-js/radar"),w=function(t){function e(t){i(this,e),f(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.state={finished:!0}}return a(e,t),c(e,[{key:"render",value:function(){var t=this.props.noDataMessage||"No data available";if(void 0===this.props.data)return p["default"].createElement("span",null,t);var e=new y["default"](this.props),n=e.chartWidth/2,r=e.chartHeight/2,o=Math.min(n,r),i=this.props.center||[n,r],a=Object.keys(this.props.data[0]),u=b({center:this.props.center||[n,r],r:this.props.options.r||o,data:this.props.data,accessor:this.props.accessor||l(a),max:this.props.options.max}),c=this,f=(0,_["default"])({},c.props.options),s=u.curves.map(function(t,e){return p["default"].createElement("path",{key:e,d:t.polygon.path.print(),fill:f.fill,fillOpacity:f.fillOpacity})}),h=u.rings.length,d=u.rings.map(function(t,e){return e!==h-1?p["default"].createElement("path",{key:"rings"+e,d:t.path.print(),stroke:f.stroke,strokeOpacity:f.strokeOpacity}):void 0}),v=(0,g["default"])(e.label),m=u.rings[h-1].path.points().map(function(t,e){return p["default"].createElement("g",{key:"label"+e},p["default"].createElement("line",{x1:t[0],y1:t[1],x2:i[0],y2:i[1],stroke:f.stroke,strokeOpacity:f.strokeOpacity}),p["default"].createElement("text",{style:v,textAnchor:"middle",transform:"translate("+Math.floor(t[0])+","+Math.floor(t[1])+")"},a[e]))});return p["default"].createElement("svg",{ref:"vivus",width:e.width,height:e.height},p["default"].createElement("g",{transform:"translate("+e.margin.left+","+e.margin.top+")"},m,p["default"].createElement("g",{fill:"none",stroke:"none"},d,p["default"].createElement("g",{opacity:"0.6"},this.state.finished?s:null))))}}]),e}(p["default"].Component);n["default"]=w,w.defaultProps={options:{width:600,height:600,margin:{top:20,left:20,right:20,bottom:20},r:300,max:150,fill:"#2980B9",stroke:"#2980B9",animate:{type:"oneByOne",duration:200,fillTransition:3},label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}}},e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../component/Options.js":30,"../fontAdapter.js":31,"../styleSvg.js":33,lodash:1,"paths-js/radar":11}],25:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},f="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,s=o(f),p=t("lodash"),h=o(p),d=t("../component/Options.js"),y=o(d),v=t("../fontAdapter.js"),g=o(v),m=t("../styleSvg"),_=o(m),b=t("paths-js/stock"),w=t("../component/Axis"),x=(t("paths-js/path"),function(t){function e(t){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.state={finished:!0}}return a(e,t),l(e,[{key:"getMaxAndMin",value:function(t,e,n){var r,o;return h["default"].each(t.curves,function(t){var n=h["default"].map(t.item,function(t){return t[e]}),i=h["default"].max(n);(void 0===r||i>r)&&(r=i);var a=h["default"].min(n);(void 0===o||o>a)&&(o=a)}),{minValue:o,maxValue:r,min:n(o),max:n(r)}}},{key:"onEnter",value:function(t,e){this.props.data[0][t].selected=!0,this.setState({data:this.props.data})}},{key:"onLeave",value:function(t,e){this.props.data[0][t].selected=!1,this.setState({data:this.props.data})}},{key:"render",value:function(){var t=this.props.noDataMessage||"No data available";if(void 0===this.props.data)return s["default"].createElement("span",null,t);var e=new y["default"](this.props),n=(this.props.palette||["#3E90F0","#7881C2","#707B82"],function(t){return function(e){return e[t]}}),r=b({data:this.props.data,xaccessor:n(this.props.xKey),yaccessor:n(this.props.yKey),width:e.chartWidth,height:e.chartHeight,closed:!1}),o={x:this.getMaxAndMin(r,this.props.xKey,r.xscale),y:this.getMaxAndMin(r,this.props.yKey,r.yscale),margin:e.margin},i=e.animate.fillTransition||0,a={fillOpacity:this.state.finished?1:0,transition:this.state.finished?"fill-opacity "+i+"s":""},l=(0,g["default"])(e.label),c=(0,_["default"])({},e),f=h["default"].map(r.curves,function(t,n){return h["default"].map(t.line.path.points(),function(n,r){var o=t.item[r];return s["default"].createElement("g",{key:"k"+r,transform:"translate("+n[0]+","+n[1]+")"},s["default"].createElement("circle",u({},c,{cx:0,cy:0,r:e.r||5,style:a,onMouseEnter:this.onEnter.bind(this,r),onMouseLeave:this.onLeave.bind(this,r)})),o.selected?s["default"].createElement("text",{style:l,transform:"translate(15, 5)","text-anchor":"start"},o.title):null)},this)},this);return s["default"].createElement("svg",{ref:"vivus",width:e.width,height:e.height},s["default"].createElement("g",{transform:"translate("+e.margin.left+","+e.margin.top+")"},f,s["default"].createElement(w,{scale:r.xscale,options:e.axisX,chartArea:o}),s["default"].createElement(w,{scale:r.yscale,options:e.axisY,chartArea:o})))}}]),e}(s["default"].Component));n["default"]=x,x.defaultProps={xKey:"",yKey:"",options:{width:600,height:600,margin:{top:40,left:60,bottom:30,right:30},fill:"#2980B9",stroke:"#3E90F0",animate:{type:"delayed",duration:200,fillTransition:3},label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"},axisX:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"bottom",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}},axisY:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"left",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}}}},e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../component/Axis":29,"../component/Options.js":30,"../fontAdapter.js":31,"../styleSvg":33,lodash:1,"paths-js/path":8,"paths-js/stock":16}],26:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},u=t("./Line.js"),l=r(u),c=t("paths-js/smooth-line"),f=function(t){function e(t){o(this,e),a(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t,c)}return i(e,t),e}(l["default"]);n["default"]=f,f.defaultProps={options:{width:600,height:600,color:"#2980B9",margin:{top:40,left:60,bottom:50,right:20},animate:{type:"delayed",duration:200,fillTransition:3},axisX:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"bottom",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}},axisY:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"left",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}}}},e.exports=n["default"]},{"./Line.js":22,"paths-js/smooth-line":15}],27:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);
  t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},u=t("./Line.js"),l=r(u),c=t("paths-js/stock"),f=function(t){function e(t){o(this,e),a(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t,c)}return i(e,t),e}(l["default"]);n["default"]=f,f.defaultProps={options:{width:600,height:600,color:"#2980B9",margin:{top:40,left:60,bottom:50,right:20},animate:{type:"delayed",duration:200,fillTransition:3},axisX:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"bottom",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}},axisY:{showAxis:!0,showLines:!0,showLabels:!0,showTicks:!0,zeroAxis:!1,orient:"left",label:{fontFamily:"Arial",fontSize:14,bold:!0,color:"#34495E"}}}},e.exports=n["default"]},{"./Line.js":22,"paths-js/stock":16}],28:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t){return t.collapsed?[]:t.children||[]}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},s="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,p=o(s),h=t("lodash"),d=o(h),y=t("../component/Options.js"),v=o(y),g=t("../fontAdapter.js"),m=o(g),_=t("../styleSvg"),b=o(_),w=t("paths-js/tree"),x=function(t){function e(t){i(this,e),f(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t),this.state={finished:!0}}return a(e,t),c(e,[{key:"render",value:function(){var t=this.props.noDataMessage||"No data available";if(void 0===this.props.data)return p["default"].createElement("span",null,t);var e=new v["default"](this.props),n=this,r=w({data:this.props.data,children:u,width:e.chartWidth,height:e.chartHeight}),o=(0,b["default"])({},e),i=d["default"].map(r.curves,function(t,e){return p["default"].createElement("path",{key:"curves_"+e,d:t.connector.path.print(),fill:"none",stroke:o.stroke,strokeOpacity:o.strokeOpacity})}),a=e.animate.fillTransition||0,c={fillOpacity:this.state.finished?1:0,transition:this.state.finished?"fill-opacity "+a+"s":""},f=(0,m["default"])(e.label),s=e.r||5,h=d["default"].map(r.nodes,function(t,e){function r(){t.item.collapsed=!t.item.collapsed,n.forceUpdate()}var i="translate("+t.point[0]+","+t.point[1]+")";if(u(t.item).length>0)var a=p["default"].createElement("text",{style:f,transform:"translate(-10,0)",textAnchor:"end"},t.item.name);else var a=p["default"].createElement("text",{style:f,transform:"translate(10,0)",textAnchor:"start"},t.item.name);return p["default"].createElement("g",{key:"tree_"+e,transform:i},p["default"].createElement("circle",l({style:c},o,{r:s,cx:"0",cy:"0",onClick:r})),a)});return p["default"].createElement("svg",{ref:"vivus",width:e.width,height:e.height},p["default"].createElement("g",{transform:"translate("+e.margin.left+","+e.margin.top+")"},i,h))}}]),e}(p["default"].Component);n["default"]=x,x.defaultProps={options:{margin:{top:20,left:50,right:80,bottom:20},width:600,height:600,fill:"#2980B9",stroke:"#3E90F0",r:5,animate:{type:"oneByOne",duration:200,fillTransition:3},label:{fontFamily:"Arial",fontSize:14,bold:!0,fill:"#34495E"}}},e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../component/Options.js":30,"../fontAdapter.js":31,"../styleSvg":33,lodash:1,"paths-js/tree":17}],29:[function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var u=function(t,e,n){for(var r=!0;r;){var o=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=i,n=a,r=!0,u=c=void 0}},l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c="undefined"!=typeof window?window.React:"undefined"!=typeof r?r.React:null,f=o(c),s=t("lodash"),p=o(s),h=t("../fontAdapter.js"),d=o(h),y=t("paths-js/path"),v=function(){function t(e,n,r,o){a(this,t),this.scale=e,this.options=n,this.chartArea=r,this.margin=r.margin,this.horizontal=o}return l(t,[{key:"axis",value:function(){var e=this.horizontal,n=this.chartArea.x,r=this.chartArea.y,o=e?n:r,i=this.options.tickCount||10,a=void 0!==this.options.tickValues&&0!==this.options.tickValues.length?p["default"].map(this.options.tickValues,function(t){return t.value}):t.getTickValues(o,i),u=this.options.zeroAxis?this.scale(0):e?r.min:n.min,l={x:e?n.min:u,y:e?u:r.min},c={x:e?n.max:u,y:e?u:r.max},f=this.margin;return void 0!==f&&(e?(l.x-=f.left||0,c.x+=f.right||0):(l.y+=f.bottom||0,c.y-=f.top||0)),{item:o,path:y().moveto(l).lineto(c).closepath(),ticks:a,lines:p["default"].map(a,function(t){var o={x:e?this.scale(t):n.min,y:e?r.min:this.scale(t)};return y().moveto(o).lineto(e?o.x:n.max,e?r.max:o.y)},this)}}}],[{key:"calcStepSize",value:function(t,e){var n=t/e,r=Math.floor(Math.log(n)/Math.log(10)),o=Math.pow(10,r),i=Math.round(n/o+.5);return i>5?i=10:i>2?i=5:i>1&&(i=2),i*o}},{key:"getTickValues",value:function(e,n){var r=t.calcStepSize(e.maxValue-e.minValue,n);return p["default"].range(e.minValue,e.maxValue+1,r)}}]),t}(),g=function(t){function e(t){a(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,t)}return i(e,t),l(e,[{key:"render",value:function(){var t=this.props.chartArea,e=this.props.options,n=this.props.scale,r="top"===e.orient||"bottom"===e.orient,o=new v(this.props.scale,this.props.options,t,r).axis(),i=function(e){var o=r?[n(e),t.y.min]:[t.x.min,n(e)];return"translate("+o[0]+","+o[1]+")"},a={opacity:.5},u="start";"top"!==e.orient&&"bottom"!==e.orient||(u="middle"),"left"===e.orient&&(u="end"),"right"===e.orient&&(u="start");var l=[0,0];"top"===e.orient&&(l=[0,-5]),"bottom"===e.orient&&(l=[0,20]),"left"===e.orient&&(l=[-5,0]),"right"===e.orient&&(l=[5,0]);var c="translate("+l[0]+","+l[1]+")",s=(0,d["default"])(e.label),h=p["default"].map(o.ticks,function(t,n){var r=void 0!==e.labelComponent?f["default"].cloneElement(e.labelComponent,{value:t}):t;return f["default"].createElement("g",{key:n,transform:i(t)},e.showTicks?f["default"].createElement("circle",{r:"2",cx:"0",cy:"0",stroke:"grey",fill:"grey"}):null,e.showLabels?f["default"].createElement("text",{transform:c,style:s,textAnchor:u},r):null)}),y=e.showLines?p["default"].map(o.lines,function(t,e){return f["default"].createElement("path",{key:"gridLines"+e,d:t.print(),style:a,stroke:"#3E90F0",fill:"none"})}):[];return f["default"].createElement("g",null,e.showAxis?f["default"].createElement("path",{d:o.path.print(),style:a,stroke:"#3E90F0",strokeWidth:3,fill:"none"}):null,h,y)}}]),e}(f["default"].Component);n["default"]=g,e.exports=n["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../fontAdapter.js":31,lodash:1,"paths-js/path":8}],30:[function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e){r(this,t),this.options=e.options||{},this.chartWidth=this.options.width||400,this.chartHeight=this.options.height||400,this.width=this.chartWidth+(this.margin.right||0)+(this.margin.left||0),this.height=this.chartHeight+(this.margin.top||0)+(this.margin.bottom||0)}return o(t,[{key:"legendPosition",get:function(){return this.options.legendPosition||"topLeft"}},{key:"axisX",get:function(){return this.options.axisX||{}}},{key:"axisY",get:function(){return this.options.axisY||{}}},{key:"margin",get:function(){return this.options.margin||{}}},{key:"stroke",get:function(){return this.options.stroke}},{key:"fill",get:function(){return this.options.fill}},{key:"r",get:function(){return this.options.r}},{key:"label",get:function(){return this.options.label||{}}},{key:"animate",get:function(){return this.options.animate||{}}}]),t}();n["default"]=i,e.exports=n["default"]},{}],31:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e={};return void 0===t?e:(e=a["default"].omit(t,["color","bold","italic","underline"]),t.color&&(e.fill=a["default"].isString(t.color)?t.color:t.color.color),t.bold&&(e.fontWeight="bold"),t.italic&&(e.fontStyle="italic"),t.underline&&(e.borderBottom="1px dashed #999"),e)}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=o;var i=t("lodash"),a=r(i);e.exports=n["default"]},{lodash:1}],32:[function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(){r(this,t)}return o(t,[{key:"cut",value:function(t){return Math.min(255,Math.floor(Math.abs(t)))}},{key:"multiply",value:function(t){return function(e){return{r:this.cut(t*e.r),g:this.cut(t*e.g),b:this.cut(t*e.b)}}.bind(this)}},{key:"average",value:function(t,e){return{r:this.cut((t.r+e.r)/2),g:this.cut((t.g+e.g)/2),b:this.cut((t.b+e.b)/2)}}},{key:"lighten",value:function(t){return this.multiply(1.2)(t)}},{key:"darken",value:function(t){return this.multiply(.8)(t)}},{key:"darkenColor",value:function(t){return this.string(this.darken(this.hexToRgb(t)))}},{key:"mix",value:function(t){var e=this.hexToRgb(t),n=this.multiply(.5)(e),r=this.average(e,n);return[this.lighten(e),e,this.darken(e),this.lighten(r),r,this.darken(r),this.lighten(n),n,this.darken(n)]}},{key:"string",value:function(t){return this.rgbToHex(Math.floor(t.r),Math.floor(t.g),Math.floor(t.b))}},{key:"hexToRgb",value:function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}},{key:"componentToHex",value:function(t){var e=t.toString(16);return 1==e.length?"0"+e:e}},{key:"rgbToHex",value:function(t,e,n){return"#"+this.componentToHex(t)+this.componentToHex(e)+this.componentToHex(n)}}]),t}(),a=new i;n["default"]=a,e.exports=n["default"]},{}],33:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return void 0===t&&(t={}),void 0===e?t:(e.fill&&(t.fill=a["default"].isString(e.fill)?e.fill:e.fill.color,t.fillOpacity=e.fill.alpha?e.fill.alpha/100:1),e.stroke&&(t.stroke=a["default"].isString(e.stroke)?e.stroke:e.stroke.color,t.strokeOpacity=e.stroke.alpha?e.stroke.alpha/100:1),e.strokeWidth&&(t.strokeWidth=e.strokeWidth),t)}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=o;var i=t("lodash"),a=r(i);e.exports=n["default"]},{lodash:1}]},{},[19])(19)});