cl-react-graph
Version:
1 lines • 417 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(t,e,n){"use strict";t.exports=n(288)},,,,,function(t,e,n){"use strict";n(15);var r="http://www.w3.org/1999/xhtml",i={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},a=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),i.hasOwnProperty(e)?{space:i[e],local:t}:t};function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===r&&e.documentElement.namespaceURI===r?e.createElement(t):e.createElementNS(n,t)}}function u(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var l=function(t){var e=a(t);return(e.local?u:o)(e)};function c(){}var s=function(t){return null==t?c:function(){return this.querySelector(t)}};function f(){return[]}var h=function(t){return null==t?f:function(){return this.querySelectorAll(t)}},d=function(t){return function(){return this.matches(t)}},p=(n(11),function(t){return new Array(t.length)});function v(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}v.prototype={constructor:v,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var y="$";function m(t,e,n,r,i,a){for(var o,u=0,l=e.length,c=a.length;u<c;++u)(o=e[u])?(o.__data__=a[u],r[u]=o):n[u]=new v(t,a[u]);for(;u<l;++u)(o=e[u])&&(i[u]=o)}function g(t,e,n,r,i,a,o){var u,l,c,s={},f=e.length,h=a.length,d=new Array(f);for(u=0;u<f;++u)(l=e[u])&&(d[u]=c=y+o.call(l,l.__data__,u,e),c in s?i[u]=l:s[c]=l);for(u=0;u<h;++u)(l=s[c=y+o.call(t,a[u],u,a)])?(r[u]=l,l.__data__=a[u],s[c]=null):n[u]=new v(t,a[u]);for(u=0;u<f;++u)(l=e[u])&&s[d[u]]===l&&(i[u]=l)}n(64);function b(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function _(t){return function(){this.removeAttribute(t)}}function x(t){return function(){this.removeAttributeNS(t.space,t.local)}}function w(t,e){return function(){this.setAttribute(t,e)}}function k(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function E(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function T(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var O=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function S(t){return function(){this.style.removeProperty(t)}}function M(t,e,n){return function(){this.style.setProperty(t,e,n)}}function j(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function C(t,e){return t.style.getPropertyValue(e)||O(t).getComputedStyle(t,null).getPropertyValue(e)}function A(t){return function(){delete this[t]}}function N(t,e){return function(){this[t]=e}}function P(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}n(59),n(40);function R(t){return t.trim().split(/^|\s+/)}function L(t){return t.classList||new I(t)}function I(t){this._node=t,this._names=R(t.getAttribute("class")||"")}function D(t,e){for(var n=L(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function F(t,e){for(var n=L(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function z(t){return function(){D(this,t)}}function U(t){return function(){F(this,t)}}function B(t,e){return function(){(e.apply(this,arguments)?D:F)(this,t)}}I.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function H(){this.textContent=""}function W(t){return function(){this.textContent=t}}function V(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function $(){this.innerHTML=""}function G(t){return function(){this.innerHTML=t}}function Y(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function q(){this.nextSibling&&this.parentNode.appendChild(this)}function X(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Q(){return null}function K(){var t=this.parentNode;t&&t.removeChild(this)}function Z(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function J(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}n(32);var tt={},et=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(tt={mouseenter:"mouseover",mouseleave:"mouseout"}));function nt(t,e,n){return t=rt(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function rt(t,e,n){return function(r){var i=et;et=r;try{t.call(this,this.__data__,e,n)}finally{et=i}}}function it(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function at(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function ot(t,e,n){var r=tt.hasOwnProperty(t.type)?nt:rt;return function(i,a,o){var u,l=this.__on,c=r(e,a,o);if(l)for(var s=0,f=l.length;s<f;++s)if((u=l[s]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=e);this.addEventListener(t.type,c,n),u={type:t.type,name:t.name,value:e,listener:c,capture:n},l?l.push(u):this.__on=[u]}}function ut(t,e,n){var r=O(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function lt(t,e){return function(){return ut(this,t,e)}}function ct(t,e){return function(){return ut(this,t,e.apply(this,arguments))}}var st=[null];function ft(t,e){this._groups=t,this._parents=e}function ht(){return new ft([[document.documentElement]],st)}ft.prototype=ht.prototype={constructor:ft,select:function(t){"function"!=typeof t&&(t=s(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o,u=e[i],l=u.length,c=r[i]=new Array(l),f=0;f<l;++f)(a=u[f])&&(o=t.call(a,a.__data__,f,u))&&("__data__"in a&&(o.__data__=a.__data__),c[f]=o);return new ft(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=h(t));for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var o,u=e[a],l=u.length,c=0;c<l;++c)(o=u[c])&&(r.push(t.call(o,o.__data__,c,u)),i.push(o));return new ft(r,i)},filter:function(t){"function"!=typeof t&&(t=d(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],u=o.length,l=r[i]=[],c=0;c<u;++c)(a=o[c])&&t.call(a,a.__data__,c,o)&&l.push(a);return new ft(r,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),s=-1,this.each((function(t){p[++s]=t})),p;var n,r=e?g:m,i=this._parents,a=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=a.length,u=new Array(o),l=new Array(o),c=new Array(o),s=0;s<o;++s){var f=i[s],h=a[s],d=h.length,p=t.call(f,f&&f.__data__,s,i),v=p.length,y=l[s]=new Array(v),b=u[s]=new Array(v);r(f,h,y,b,c[s]=new Array(d),p,e);for(var _,x,w=0,k=0;w<v;++w)if(_=y[w]){for(w>=k&&(k=w+1);!(x=b[k])&&++k<v;);_._next=x||null}}return(u=new ft(u,i))._enter=l,u._exit=c,u},enter:function(){return new ft(this._enter||this._groups.map(p),this._parents)},exit:function(){return new ft(this._exit||this._groups.map(p),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var l,c=e[u],s=n[u],f=c.length,h=o[u]=new Array(f),d=0;d<f;++d)(l=c[d]||s[d])&&(h[d]=l);for(;u<r;++u)o[u]=e[u];return new ft(o,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=b);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,u=n[a],l=u.length,c=i[a]=new Array(l),s=0;s<l;++s)(o=u[s])&&(c[s]=o);c.sort(e)}return new ft(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each((function(){t[++e]=this})),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,u=a.length;o<u;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=a(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?x:_:"function"==typeof e?n.local?T:E:n.local?k:w)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?S:"function"==typeof e?j:M)(t,e,null==n?"":n)):C(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?A:"function"==typeof e?P:N)(t,e)):this.node()[t]},classed:function(t,e){var n=R(t+"");if(arguments.length<2){for(var r=L(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?B:e?z:U)(n,e))},text:function(t){return arguments.length?this.each(null==t?H:("function"==typeof t?V:W)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?$:("function"==typeof t?Y:G)(t)):this.node().innerHTML},raise:function(){return this.each(q)},lower:function(){return this.each(X)},append:function(t){var e="function"==typeof t?t:l(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:l(t),r=null==e?Q:"function"==typeof e?e:s(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(K)},clone:function(t){return this.select(t?J:Z)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=it(t+""),o=a.length;if(!(arguments.length<2)){for(u=e?ot:at,null==n&&(n=!1),r=0;r<o;++r)this.each(u(a[r],e,n));return this}var u=this.node().__on;if(u)for(var l,c=0,s=u.length;c<s;++c)for(r=0,l=u[c];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?ct:lt)(t,e))}};var dt=ht,pt=function(t){return"string"==typeof t?new ft([[document.querySelector(t)]],[document.documentElement]):new ft([[t]],st)},vt=(n(12),n(14),n(2),0);function yt(){this._="@"+(++vt).toString(36)}yt.prototype=function(){return new yt}.prototype={constructor:yt,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return pt})),n.d(e,"e",(function(){return dt})),n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return C})),n.d(e,"a",(function(){return et}))},,function(t,e,n){"use strict";n(3),n(4),n(2),n(13);e.a=function(t,e){return Object.keys(e).forEach((function(n){t.attr(n,e[n])})),t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return f})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return p}));n(22);var r=n(21),i=n(39),a=n.n(i),o=n(7),u=function(t,e){return void 0===e&&(e=5),Object(r.b)(t).ticks(e)},l=function(t,e){return void 0===e&&(e=5),Object(r.a)(t).ticks(e)},c=function(t,e,n,r,i,c){var s=i.height,p=i.width,v=i.axis,y=i.grid,m=i.margin,g=v.y.style["stroke-width"],b=h(v)+g,_=f(i);y.x.visible&&(n.attr("transform","translate("+b+", "+_+")").transition().call(l(t,a()(y,"x.ticks",c)).tickSize(-s+d(i.axis)+2*m.top).tickFormat((function(){return""}))),Object(o.a)(n.selectAll(".tick line"),y.x.style),Object(o.a)(n.selectAll(".domain"),Object.assign({},v.y.style,{stroke:"transparent"}))),y.y.visible&&(r.attr("transform","translate("+b+", 0)").transition().call(u(e,a()(y,"y.ticks",c)).tickSize(-p+2*m.left+h(v)).tickFormat((function(){return""}))),Object(o.a)(r.selectAll(".tick line"),y.y.style),r.selectAll(".gridY .tick line").filter((function(t,e){return 0===e})).attr("display","none"),Object(o.a)(r.selectAll(".domain"),Object.assign({},v.x.style,{stroke:"transparent"})))},s=function(t){var e=t.x,n=t.y,r=t.gridX,i=t.gridY,c=t.props,s=t.ticks,p=c.height,v=c.width,y=c.axis,m=c.grid,g=c.margin,b=y.y.style["stroke-width"],_=h(y),x=f(c)+g.top;m.x.visible&&(r.attr("transform","translate("+_+", "+x+")").transition().call(l(e,a()(m,"x.ticks",s)).tickSize(-p+d(c.axis)+2*g.top).tickFormat((function(){return""}))),Object(o.a)(r.selectAll(".tick line"),m.x.style),Object(o.a)(r.selectAll(".domain"),Object.assign({},y.y.style,{stroke:"transparent"}))),m.y.visible&&(i.attr("transform","translate("+(h(y)+b)+", 0)").transition().call(u(n,a()(m,"y.ticks",s)).tickSize(-v+2*g.left+h(y)).tickFormat((function(){return""}))),Object(o.a)(i.selectAll(".tick line"),m.y.style),i.selectAll(".gridY .tick line").filter((function(t,e){return 0===e})).attr("display","none"),Object(o.a)(i.selectAll(".domain"),Object.assign({},y.x.style,{stroke:"transparent"})))},f=function(t){var e=t.height,n=t.margin,r=t.axis;return e-2*n.top-d(r)},h=function(t){return""===t.y.label?t.y.width:t.y.width+30},d=function(t){return""===t.x.label?t.x.height:t.x.height+30+a()(t,"x.margin",0)},p=function(t){var e=t.axis;return t.width-2*t.margin.left-h(e)}},function(t,e,n){"use strict";n(20),n(69);var r=new Date,i=new Date;function a(t,e,n,o){function u(e){return t(e=new Date(+e)),e}return u.floor=u,u.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},u.round=function(t){var e=u(t),n=u.ceil(t);return t-e<n-t?e:n},u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},u.range=function(n,r,i){var a,o=[];if(n=u.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return o;do{o.push(a=new Date(+n)),e(n,i),t(n)}while(a<n&&n<r);return o},u.filter=function(n){return a((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(u.count=function(e,a){return r.setTime(+e),i.setTime(+a),t(r),t(i),Math.floor(n(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(o?function(e){return o(e)%t==0}:function(e){return u.count(0,e)%t==0}):u:null}),u}var o=a((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):o:null};var u=o,l=(o.range,6e4),c=6048e5,s=a((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()})),f=s,h=(s.range,a((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+e*l)}),(function(t,e){return(e-t)/l}),(function(t){return t.getMinutes()}))),d=h,p=(h.range,a((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*l)}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()}))),v=p,y=(p.range,a((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*l)/864e5}),(function(t){return t.getDate()-1}))),m=y;y.range;function g(t){return a((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*l)/c}))}var b=g(0),_=g(1),x=g(2),w=g(3),k=g(4),E=g(5),T=g(6),O=(b.range,_.range,x.range,w.range,k.range,E.range,T.range,a((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),S=O,M=(O.range,a((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));M.every=function(t){return isFinite(t=Math.floor(t))&&t>0?a((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var j=M,C=(M.range,a((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*l)}),(function(t,e){return(e-t)/l}),(function(t){return t.getUTCMinutes()}))),A=(C.range,a((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getUTCHours()}))),N=(A.range,a((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1}))),P=N;N.range;function R(t){return a((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/c}))}var L=R(0),I=R(1),D=R(2),F=R(3),z=R(4),U=R(5),B=R(6),H=(L.range,I.range,D.range,F.range,z.range,U.range,B.range,a((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),W=(H.range,a((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));W.every=function(t){return isFinite(t=Math.floor(t))&&t>0?a((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var V=W;W.range;n.d(e,"c",(function(){return u})),n.d(e,"g",(function(){return f})),n.d(e,"d",(function(){return d})),n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return m})),n.d(e,"j",(function(){return b})),n.d(e,"h",(function(){return b})),n.d(e,"e",(function(){return _})),n.d(e,"i",(function(){return k})),n.d(e,"f",(function(){return S})),n.d(e,"k",(function(){return j})),n.d(e,"l",(function(){return P})),n.d(e,"n",(function(){return L})),n.d(e,"m",(function(){return I})),n.d(e,"o",(function(){return z})),n.d(e,"p",(function(){return V}))},,,,,,,,,function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u}));n(22);var r=n(66),i={fill:"#000",opacity:1,"shape-rendering":"auto",stroke:"#000","stroke-opacity":1,"stroke-width":1,visible:!0},a=(r.e,{dateFormat:"",height:20,label:"",margin:20,numberFormat:"",scale:"ORDINAL",style:Object.assign({},i,{stroke:"transparent","stroke-opacity":0,"stroke-width":0,visible:!1,opacity:0}),text:{style:{dy:".35em",transform:"rotate(0)",x:0,y:10}},tickSize:0,ticks:3,tickValues:null,visible:!0,width:50}),o={x:{dateFormat:"",height:20,label:"",margin:20,numberFormat:"",scale:"LINEAR",style:Object.assign({},i,{fill:"none",stroke:"#666"}),text:{style:{dy:".35em",transform:"rotate(0)",x:0,y:10}},tickSize:0,ticks:3,tickValues:null,visible:!0,width:50},y:{dateFormat:"",height:20,label:"",margin:20,numberFormat:"",scale:"LINEAR",style:Object.assign({},i,{fill:"none",stroke:"#666"}),text:{style:{fill:"#666"}},tickSize:20,ticks:3,tickValues:null,visible:!0,width:50}},u={x:{height:1,style:Object.assign({},i,{fill:"none",stroke:"#bbb","stroke-opacity":.7,"stroke-width":1}),ticks:5,visible:!0},y:{style:Object.assign({},i,{fill:"none",stroke:"#bbb","stroke-opacity":.7,"stroke-width":1}),ticks:5,visible:!0}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return f})),n.d(e,"a",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"g",(function(){return v})),n.d(e,"f",(function(){return y})),n.d(e,"c",(function(){return m}));n(49),n(72),n(12),n(2),n(42),n(34),n(3),n(54);var r=n(427),i=n(53),a=n(75),o=n(189),u=n.n(o),l=n(25);function c(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var s=function(t){var e=t.groupLayout;return t.stacked||e===l.b.STACKED},f=function(t,e,n){void 0===n&&(n=!0);var r="TIME"===e.scale?t[0].getTime():t[0],i="TIME"===e.scale?t[1].getTime():t[1],a=i-r,o="LOG"===e.scale?100:5,u=i+(h(a,n,o)-a);return"TIME"===e.scale?[t[0],new Date(u)]:[t[0],u]},h=function(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=5),e?t+t*n/100:t-t*n/100},d=function(t){var e=[],n=t.domain,i=t.data,a=t.stacked,o=t.scale,u=t.range,l=i.reduce((function(t,e){return[].concat(c(t),a?[e.reduce((function(t,e){return t+(e.value||e)}),0)]:c(e.map((function(t){return t.value||t}))))}),[0]),s=Object(r.a)(l,(function(t){return t}));e[1]=n&&n.hasOwnProperty("max")&&null!==n.max?n.max:h(Number(s[1])),e[0]=n&&n.hasOwnProperty("min")&&null!==n.min?n.min:Number(s[0]),o.range(u).domain(e).nice()},p=function(t){return"TIME"===t.scale&&t.hasOwnProperty("dateFormat")||t.hasOwnProperty("numberFormat")},v=function(t){var e=t.axis,n=t.axisConfig;y(t),p(n)&&e.tickFormat(function(t){return function(e){return"TIME"===t.scale?Object(a.a)(t.dateFormat)(new Date(e)):isNaN(Number(e))?e:Object(i.a)(t.numberFormat)(Number(e))}}(n))},y=function(t){var e=t.axis,n=t.axisConfig,r=t.axisLength,i=t.limitByValues,a=t.scaleBand,o=t.valuesCount,l=u()(n,"tickSize",void 0),c=u()(n,"ticks",void 0);void 0!==l&&e.tickSize(l),void 0!==c?e.ticks(c):i&&r/o<10&&e.tickValues(a.domain().filter((function(t,e){return!(e%10)})))},m=function(t){return t.reduce((function(t,e){return e.data.length>t?e.data.length:t}),0)}},,function(t,e,n){"use strict";n(69);var r=Array.prototype.slice,i=function(t){return t},a=1,o=2,u=3,l=4,c=1e-6;function s(t){return"translate("+(t+.5)+",0)"}function f(t){return"translate(0,"+(t+.5)+")"}function h(t){return function(e){return+t(e)}}function d(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function p(){return!this.__axis}function v(t,e){var n=[],v=null,y=null,m=6,g=6,b=3,_=t===a||t===l?-1:1,x=t===l||t===o?"x":"y",w=t===a||t===u?s:f;function k(r){var s=null==v?e.ticks?e.ticks.apply(e,n):e.domain():v,f=null==y?e.tickFormat?e.tickFormat.apply(e,n):i:y,k=Math.max(m,0)+b,E=e.range(),T=+E[0]+.5,O=+E[E.length-1]+.5,S=(e.bandwidth?d:h)(e.copy()),M=r.selection?r.selection():r,j=M.selectAll(".domain").data([null]),C=M.selectAll(".tick").data(s,e).order(),A=C.exit(),N=C.enter().append("g").attr("class","tick"),P=C.select("line"),R=C.select("text");j=j.merge(j.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(N),P=P.merge(N.append("line").attr("stroke","currentColor").attr(x+"2",_*m)),R=R.merge(N.append("text").attr("fill","currentColor").attr(x,_*k).attr("dy",t===a?"0em":t===u?"0.71em":"0.32em")),r!==M&&(j=j.transition(r),C=C.transition(r),P=P.transition(r),R=R.transition(r),A=A.transition(r).attr("opacity",c).attr("transform",(function(t){return isFinite(t=S(t))?w(t):this.getAttribute("transform")})),N.attr("opacity",c).attr("transform",(function(t){var e=this.parentNode.__axis;return w(e&&isFinite(e=e(t))?e:S(t))}))),A.remove(),j.attr("d",t===l||t==o?g?"M"+_*g+","+T+"H0.5V"+O+"H"+_*g:"M0.5,"+T+"V"+O:g?"M"+T+","+_*g+"V0.5H"+O+"V"+_*g:"M"+T+",0.5H"+O),C.attr("opacity",1).attr("transform",(function(t){return w(S(t))})),P.attr(x+"2",_*m),R.attr(x,_*k).text(f),M.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===o?"start":t===l?"end":"middle"),M.each((function(){this.__axis=S}))}return k.scale=function(t){return arguments.length?(e=t,k):e},k.ticks=function(){return n=r.call(arguments),k},k.tickArguments=function(t){return arguments.length?(n=null==t?[]:r.call(t),k):n.slice()},k.tickValues=function(t){return arguments.length?(v=null==t?null:r.call(t),k):v&&v.slice()},k.tickFormat=function(t){return arguments.length?(y=t,k):y},k.tickSize=function(t){return arguments.length?(m=g=+t,k):m},k.tickSizeInner=function(t){return arguments.length?(m=+t,k):m},k.tickSizeOuter=function(t){return arguments.length?(g=+t,k):g},k.tickPadding=function(t){return arguments.length?(b=+t,k):b},k}function y(t){return v(u,t)}function m(t){return v(l,t)}n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return m}))},,function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return u}));n(54);var r=n(5),i=function(t,e){if(e){e.selectAll("svg > *").remove(),e.remove();var n=t.getElementsByTagName("svg");n.length>0&&t.removeChild(n[0])}return e=Object(r.d)(t).append("svg")},a=function(t,e){var n=e.margin,r=e.width,i=e.height,a=e.className,o=1-n.left/Number(r),u=1-n.top/Number(i);t.attr("class",a).attr("width",r).attr("height",i).attr("viewBox","0 0 "+r+" "+i).append("g").attr("transform","translate("+n.left+","+n.top+") scale("+o+","+u+")")},o=function(t){return[t.append("g").attr("class","grid gridX"),t.append("g").attr("class","grid gridY")]},u=function(t){return[t.append("g").attr("class","x-axis"),t.append("g").attr("class","y-axis"),t.append("g"),t.append("g"),t.append("g").attr("class","x-axis-top")]}},,function(t,e,n){"use strict";n(3),n(4),n(2),n(13),n(22);var r,i,a=n(0),o=n.n(a),u=n(28),l=n.n(u),c=(n(54),n(144),n(21)),s=n(461),f=n(460),h=n(190),d=n(45),p=n.n(d),v=n(51),y=n(7),m=n(8),g=n(38),b=n(27),_=n(18),x=n(19),w=n(57),k=n(23),E=function(){var t,e,n,r,a,o,u,l,d,E,T,O,S=Object(s.a)(),M=Object(f.a)(),j=Object(f.a)(),C=Object(f.a)(),A={axis:_.b,bar:{groupMargin:.1,margin:0,overlayMargin:5,width:50},className:"histogram-d3",colorScheme:v.a,annotations:[],data:{bins:[],counts:[]},delay:0,domain:{max:null,min:null},duration:400,grid:_.c,groupLayout:i.GROUPED,height:200,margin:{bottom:0,left:5,right:0,top:5},showBinPercentages:[],stacked:!1,stroke:{color:"#005870",dasharray:"",linecap:"butt",width:0},tip:g.a,tipContainer:"body",tipContentFn:function(t,e,n){return t[e]+"<br />"+n},visible:{},width:200};return{create:function(i,a){void 0===a&&(a={}),this.mergeProps(a),t=Object(k.c)(i,t);var c=A.margin,s=A.width,f=A.height,h=A.className;Object(k.d)(t,{margin:c,width:s,height:f,className:h});var p=Object(g.b)(A.tipContainer,e);n=p.tipContent,e=p.tipContainer;var v=Object(k.a)(t);o=v[0],u=v[1];var y=Object(k.b)(t);d=y[0],l=y[1],T=y[2],O=y[3],E=y[4],r=t.append("g").attr("class","histogram-container"),this.update(i,a)},mergeProps:function(t){p()(A,t),t.data&&(A.data=t.data),t.colorScheme&&(A.colorScheme=t.colorScheme)},drawAxes:function(){var e=A.axis,n=A.bar,r=A.annotations,i=A.domain,o=A.groupLayout,u=A.stacked,s=A.data,f=A.margin,h=A.height,p=Object(x.c)(s.counts),v=Object(m.d)(A),g=Object(m.c)(A),w=s.counts.map((function(t){return t.label}));M.domain(s.bins).rangeRound([0,v]).paddingInner(Object(b.d)(n)),C.domain(Object(b.c)({groupLayout:o,stacked:u})?["main"]:w).rangeRound([0,M.bandwidth()]).paddingInner(Object(b.a)(A.bar));var k=Object(c.a)(M),T=Object(c.b)(S);if(Object(x.g)({axis:k,valuesCount:p,axisLength:v,axisConfig:e.x,scaleBand:M,limitByValues:!0}),d.attr("transform","translate("+(Object(m.f)(e)+e.y.style["stroke-width"])+","+(h-Object(m.e)(A.axis)-2*f.left)+")").call(k),r&&r.length===s.bins.length){j.domain(s.bins).rangeRound([0,v]).paddingInner(Object(b.d)(n));var O=Object(c.a)(j);Object(x.g)({axis:O,valuesCount:r.length,axisLength:v,axisConfig:_.a,scaleBand:j,limitByValues:!0}),O.tickFormat((function(t,e){return r[e].value})),E.attr("transform","translate("+(Object(m.f)(e)+e.y.style["stroke-width"])+","+(g+14)+")").call(O),Object(y.a)(t.selectAll(".x-axis-top .domain, .x-axis-top .tick line"),e.x.style),Object(y.a)(t.selectAll(".x-axis-top .tick text"),e.x.text.style),E.selectAll("g.tick").select("text").style("fill",(function(t,e){return r[e].color})),E.call((function(t){return t.select(".domain").remove()}))}Object(x.a)({data:a,domain:i,range:[g,0],scale:S,stacked:Object(x.b)({groupLayout:o,stacked:u})}),Object(x.g)({axis:T,valuesCount:p,axisLength:v,axisConfig:e.y,scaleBand:S}),l.attr("transform","translate("+Object(m.f)(e)+", 0)").transition().call(T),Object(y.a)(t.selectAll(".y-axis .domain, .y-axis .tick line"),e.y.style),Object(y.a)(t.selectAll(".y-axis .tick text"),e.y.text.style),Object(y.a)(t.selectAll(".x-axis .domain, .x-axis .tick line"),e.x.style),Object(y.a)(t.selectAll(".x-axis .tick text"),e.x.text.style)},updateChart:function(t,a){var o=A.axis,u=(A.annotations,A.data,A.height),l=A.width,c=A.margin,s=A.delay,f=A.duration,d=A.tip,p=A.groupLayout,v=A.showBinPercentages,y=A.stacked,g=function(t,e){var n=a.find((function(e){return void 0!==e.find((function(e){return e.label===t.label}))})),r=n?n.filter((function(t,n){return n<e})).reduce((function(t,e){return t+e.value}),0):0,i=Object(x.b)({groupLayout:p,stacked:y})&&e>0?r:0;return S(t.value+i)},_=function(t,e,n){var r=C.bandwidth()/2-Object(b.b)(e,A.groupLayout,A.bar,C)/2,a=A.groupLayout===i.OVERLAID?r:Number(C(String(t.groupLabel)));return n?a+n:a},k=Object(h.a)(A.colorScheme),E=Object(m.c)(A),j=r.selectAll("g").data(a),N=j.enter().append("g").merge(j).attr("transform",(function(t){var e=M(t[0].label);return void 0===e&&(e=0),"translate("+(Object(m.f)(o)+o.y.style["stroke-width"]+e)+", 0)"})).selectAll("rect").data((function(t){return t}));if(N.enter().append("rect").attr("height",0).attr("y",g).attr("class","bar").on("click",Object(w.a)(A.onClick)).on("mouseover",Object(w.c)({bins:t,hover:A.bar.hover,colors:k,tipContentFn:A.tipContentFn,tipContent:n,tip:d,tipContainer:e})).on("mousemove",(function(){return d.fx.move(e)})).on("mouseout",Object(w.b)({tip:d,tipContainer:e,colors:k})).merge(N).attr("x",(function(t,e){return _(t,e)})).attr("width",(function(t,e){return Object(b.b)(e,A.groupLayout,A.bar,C)})).attr("fill",(function(t,e){return k(String(e))})).transition().duration(f).delay(s).attr("y",g).attr("stroke-dasharray",(function(t,e){var n=E-S(t.value),r=Object(b.b)(e,A.groupLayout,A.bar,C);return r+" 0 "+n+" "+r})).attr("height",(function(t){return E-S(t.value)})),v){var P=j.enter().append("g").merge(j).attr("transform",(function(t){var e=M(t[0].label);return void 0===e&&(e=0),"translate("+(Object(m.f)(o)+o.y.style["stroke-width"]+e)+", 0)"})).selectAll("text").data((function(t){return t}));P.enter().append("text").attr("class","percentage-label").attr("y",g).data((function(t){return t})).merge(P).text((function(t,e){var n=a.reduce((function(t,n){return t+n[e].value}),0),r=0===t.value?0:Math.round(t.value/n*100);return v[e]?r+"%":""})).style("text-anchor","middle").style("font-size","0.675rem").attr("fill",(function(t,e){return k(String(e))})).attr("x",(function(t,e){var n=Object(b.b)(e,A.groupLayout,A.bar,C);return _(t,e,n/2)})).attr("dy",-2),P.exit().remove()}N.exit().remove(),j.exit().remove();var R=T.selectAll("text").data([o.x.label]);R.enter().append("text").attr("class","x-axis-label").merge(R).attr("transform","translate("+Number(l)/2+" ,"+(u-Object(m.e)(A.axis)-2*c.left+o.x.margin)+")").style("text-anchor","middle").text((function(t){return t}));var L=O.selectAll("text").data([o.y.label]);L.enter().append("text").attr("class","y-axis-label").merge(L).attr("transform","rotate(-90)").attr("y",0).attr("x",0-(E/2-2*c.top)).attr("dy","1em").style("text-anchor","middle").text((function(t){return t}))},update:function(e,n){if(n.data&&(this.mergeProps(n),A.data.bins)){var r=A.margin,i=A.width,l=A.height,c=A.className,s=A.data,f=A.visible;Object(k.d)(t,{margin:r,width:i,height:l,className:c}),a=[],s.counts.forEach((function(t){t.data.forEach((function(e,n){a[n]||(a[n]=[]),a[n].push({groupLabel:t.label,label:s.bins[n],value:!1!==f[s.bins[n]]&&!1!==f[t.label]?e:0})}))})),this.drawAxes(),Object(m.a)(M,S,o,u,A,Object(x.c)(s.counts)),this.updateChart(s.bins,a)}},destroy:function(e){t.selectAll("svg > *").remove()}}};n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),function(t){t.negate="negate",t.lighten="lighten",t.darken="darken",t.saturate="saturate",t.desaturate="desaturate",t.whiten="whiten",t.blacken="blacken",t.fade="fade",t.opaquer="opaquer",t.rotate="rotate"}(r||(r={})),function(t){t[t.GROUPED=0]="GROUPED",t[t.STACKED=1]="STACKED",t[t.OVERLAID=2]="OVERLAID"}(i||(i={}));var T=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).ref=null,n.chart=E(),n.state={parentWidth:300},n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.handleResize=function(){var t=this,e=this.getDOMNode();if(e){var n=this.ref&&this.ref.offsetWidth?this.ref.offsetWidth:0;this.setState({parentWidth:n},(function(){return t.chart.update(e,t.getChartState())}))}},i.componentDidMount=function(){var t=this,e=this.getDOMNode();e&&(this.chart.create(e,this.getChartState()),"100%"===this.props.width&&(window.addEventListener("resize",(function(e){return t.handleResize()})),this.handleResize()))},i.componentDidUpdate=function(){var t=this.getDOMNode();t&&this.chart.update(t,this.getChartState())},i.getChartState=function(){var t=this.props.width,e=this.props,n=(e.children,function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,["children"]));return"100%"===t&&(t=this.state.parentWidth||300),Object.assign({},n,{width:t})},i.componentWillUnmount=function(){var t=this.getDOMNode();t&&("100%"===this.props.width&&window.removeEventListener("resize",this.handleResize),this.chart.destroy(t))},i.getDOMNode=function(){var t=l.a.findDOMNode(this.ref);if(t instanceof HTMLElement)return t},i.render=function(){var t=this;return o.a.createElement("div",{ref:function(e){return t.ref=e},className:"histogram-chart-container"})},r}(a.Component);e.c=T},function(t,e,n){"use strict";n(12),n(14),n(2),n(59),n(22),n(70),n(67);var r=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function a(){}var o="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3})$/,s=/^#([0-9a-f]{6})$/,f=new RegExp("^rgb\\("+[o,o,o]+"\\)$"),h=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),d=new RegExp("^rgba\\("+[o,o,o,u]+"\\)$"),p=new RegExp("^rgba\\("+[l,l,l,u]+"\\)$"),v=new RegExp("^hsl\\("+[u,l,l]+"\\)$"),y=new RegExp("^hsla\\("+[u,l,l,u]+"\\)$"),m={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function g(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function _(t){var e;return t=(t+"").trim().toLowerCase(),(e=c.exec(t))?new T((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=s.exec(t))?x(parseInt(e[1],16)):(e=f.exec(t))?new T(e[1],e[2],e[3],1):(e=h.exec(t))?new T(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?w(e[1],e[2],e[3],e[4]):(e=p.exec(t))?w(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=v.exec(t))?j(e[1],e[2]/100,e[3]/100,1):(e=y.exec(t))?j(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?x(m[t]):"transparent"===t?new T(NaN,NaN,NaN,0):null}function x(t){return new T(t>>16&255,t>>8&255,255&t,1)}function w(t,e,n,r){return r<=0&&(t=e=n=NaN),new T(t,e,n,r)}function k(t){return t instanceof a||(t=_(t)),t?new T((t=t.rgb()).r,t.g,t.b,t.opacity):new T}function E(t,e,n,r){return 1===arguments.length?k(t):new T(t,e,n,null==r?1:r)}function T(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function O(){return"#"+M(this.r)+M(this.g)+M(this.b)}function S(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function M(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function j(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new N(t,e,n,r)}function C(t){if(t instanceof N)return new N(t.h,t.s,t.l,t.opacity);if(t instanceof a||(t=_(t)),!t)return new N;if(t instanceof N)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),u=NaN,l=o-i,c=(o+i)/2;return l?(u=e===o?(n-r)/l+6*(n<r):n===o?(r-e)/l+2:(e-n)/l+4,l/=c<.5?o+i:2-o-i,u*=60):l=c>0&&c<1?0:u,new N(u,l,c,t.opacity)}function A(t,e,n,r){return 1===arguments.length?C(t):new N(t,e,n,null==r?1:r)}function N(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function P(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}r(a,_,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:g,formatHex:g,formatHsl:function(){return C(this).formatHsl()},formatRgb:b,toString:b}),r(T,E,i(a,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:O,formatHex:O,formatRgb:S,toString:S})),r(N,A,i(a,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new N(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new N(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new T(P(t>=240?t-240:t+120,i,r),P(t,i,r),P(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var R=Math.PI/180,L=180/Math.PI,I=.96422,D=1,F=.82521,z=4/29,U=6/29,B=3*U*U,H=U*U*U;function W(t){if(t instanceof $)return new $(t.l,t.a,t.b,t.opacity);if(t instanceof Z)return J(t);t instanceof T||(t=k(t));var e,n,r=X(t.r),i=X(t.g),a=X(t.b),o=G((.2225045*r+.7168786*i+.0606169*a)/D);return r===i&&i===a?e=n=o:(e=G((.4360747*r+.3850649*i+.1430804*a)/I),n=G((.0139322*r+.0971045*i+.7141733*a)/F)),new $(116*o-16,500*(e-o),200*(o-n),t.opacity)}function V(t,e,n,r){return 1===arguments.length?W(t):new $(t,e,n,null==r?1:r)}function $(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function G(t){return t>H?Math.pow(t,1/3):t/B+z}function Y(t){return t>U?t*t*t:B*(t-z)}function q(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function X(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Q(t){if(t instanceof Z)return new Z(t.h,t.c,t.l,t.opacity);if(t instanceof $||(t=W(t)),0===t.a&&0===t.b)return new Z(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*L;return new Z(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function K(t,e,n,r){return 1===arguments.length?Q(t):new Z(t,e,n,null==r?1:r)}function Z(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function J(t){if(isNaN(t.h))return new $(t.l,0,0,t.opacity);var e=t.h*R;return new $(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}r($,V,i(a,{brighter:function(t){return new $(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new $(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new T(q(3.1338561*(e=I*Y(e))-1.6168667*(t=D*Y(t))-.4906146*(n=F*Y(n))),q(-.9787684*e+1.9161415*t+.033454*n),q(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),r(Z,K,i(a,{brighter:function(t){return new Z(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new Z(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return J(this).rgb()}}));var tt=-.14861,et=1.78277,nt=-.29227,rt=-.90649,it=1.97294,at=it*rt,ot=it*et,ut=et*nt-rt*tt;function lt(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof ct)return new ct(t.h,t.s,t.l,t.opacity);t instanceof T||(t=k(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(ut*r+at*e-ot*n)/(ut+at-ot),a=r-i,o=(it*(n-i)-nt*a)/rt,u=Math.sqrt(o*o+a*a)/(it*i*(1-i)),l=u?Math.atan2(o,a)*L-120:NaN;return new ct(l<0?l+360:l,u,i,t.opacity)}(t):new ct(t,e,n,null==r?1:r)}function ct(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}r(ct,lt,i(a,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new ct(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new ct(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*R,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new T(255*(e+n*(tt*r+et*i)),255*(e+n*(nt*r+rt*i)),255*(e+n*(it*r)),this.opacity)}})),n.d(e,"a",(function(){return _})),n.d(e,"f",(function(){return E})),n.d(e,"d",(function(){return A})),n.d(e,"e",(function(){return V})),n.d(e,"c",(function(){return K})),n.d(e,"b",(function(){return lt}))},function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"d",(function(){return c}));var r=n(39),i=n.n(r),a=n(25),o=function(t){var e=t.groupLayout;return t.stacked||e===a.b.STACKED||e===a.b.OVERLAID},u=function(t){var e=i()(t,"margin",0);return e>=0&&e<=1?e:.1},l=function(t,e,n,r){var i=e===a.b.OVERLAID?t*n.overlayMargin*2:0;return(n.width?Math.min(n.width,r.bandwidth()):r.bandwidth())-i},c=function(t){var e=i()(t,"groupMargin",.1);return e>=0&&e<=1?e:.1}},function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),t.exports=n(309)},,function(t,e,n){"use strict";var r=n(1),i=n(424),a=n(198);e.a=function(t,e){return Object(i.a)(t,Object(r.a)({defaultTheme:a.a},e))}},,,,,,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(5);e.a={fx:{in:function(t){t.style("left",r.a.pageX+"px").style("top",r.a.pageY-55+"px"),t.transition().duration(200).style("opacity",.9)},move:function(t){t.style("left",r.a.pageX+"px").style("top",r.a.pageY-55+"px")},out:function(t){t.transition().duration(100).style("opacity",0)}}};var i=function(t,e){return e&&e.remove(),(e=Object(r.d)(t).append("div").attr("class","tooltip top").style("opacity",0)).append("div").attr("class","tooltip-arrow"),{tipContainer:e,tipContent:e.append("div").attr("class","tooltip-inner")}}},function(t,e,n){(function(e){n(20),n(11),n(17),n(70),n(3),n(4),n(12),n(14),n(2);var r="Expected a function",i="__lodash_hash_undefined__",a=1/0,o="[object Function]",u="[object GeneratorFunction]",l="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,f=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,v="object"==typeof e&&e&&e.Object===Object&&e,y="object"==typeof self&&self&&self.Object===Object&&self,m=v||y||Function("return this")();var g,b=Array.prototype,_=Function.prototype,x=Object.prototype,w=m["__core-js_shared__"],k=(g=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",E=_.toString,T=x.hasOwnProperty,O=x.toString,S=RegExp("^"+E.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=m.Symbol,j=b.splice,C=B(m,"Map"),A=B(Object,"create"),N=M?M.prototype:void 0,P=N?N.toString:void 0;function R(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function L(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function I(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function D(t,e){for(var n,r,i=t.length;i--;)if((n=t[i][0])===(r=e)||n!=n&&r!=r)return i;return-1}function F(t,e){for(var n,r=0,i=(e=function(t,e){if($(t))return!1;var n=typeof t;if("number"==n||"symbol"==n||"boolean"==n||null==t||Y(t))return!0;return s.test(t)||!c.test(t)||null!=e&&t in Object(e)}(e,t)?[e]:$(n=e)?n:H(n)).length;null!=t&&r<i;)t=t[W(e[r++])];return r&&r==i?t:void 0}function z(t){return!(!G(t)||(e=t,k&&k in e))&&(function(t){var e=G(t)?O.call(t):"";return e==o||e==u}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}(t)?S:p).test(function(t){if(null!=t){try{return E.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t));var e}function U(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function B(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return z(n)?n:void 0}R.prototype.clear=function(){this.__data__=A?A(null):{}},R.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},R.prototype.get=function(t){var e=this.__data__;if(A){var n=e[t];return n===i?void 0:n}return T.call(e,t)?e[t]:void 0},R.prototype.has=function(t){var e=this.__data__;return A?void 0!==e[t]:T.call(e,t)},R.prototype.set=function(t,e){return this.__data__[t]=A&&void 0===e?i:e,this},L.prototype.clear=function(){this.__data__=[]},L.prototype.delete=function(t){var e=this.__data__,n=D(e,t);return!(n<0)&&(n==e.length-1?e.pop():j.call(e,n,1),!0)},L.prototype.get=function(t){var e=this.__data__,n=D(e,t);return n<0?void 0:e[n][1]},L.prototype.has=function(t){return D(this.__data__,t)>-1},L.prototype.set=function