You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/angular/1-es2015.3e412c623e89cdf24d...

1 line
159 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+1uz":function(t,n,e){"use strict";function i(t,n,e,i,r,o){var a=o[0],s=o[1],u=o[2],c=o[3],h="";return h="M"+[t+r,n],h+="h"+((e=0===(e=Math.floor(e))?1:e)-2*r),h+=s?"a"+[r,r]+" 0 0 1 "+[r,r]:"h"+r+"v"+r,h+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),h+=c?"a"+[r,r]+" 0 0 1 "+[-r,r]:"v"+r+"h"+-r,h+="h"+(2*r-e),h+=u?"a"+[r,r]+" 0 0 1 "+[-r,-r]:"h"+-r+"v"+-r,h+="v"+(2*r-i),(h+=a?"a"+[r,r]+" 0 0 1 "+[r,-r]:"v"+-r+"h"+r)+"z"}e.d(n,"a",function(){return i})},"+vzl":function(t,n,e){"use strict";e.d(n,"a",function(){return u}),e("mrSG");var i=e("8Y7J"),r=e("Sf3l"),o=e("zCvi"),a=e("zBNi"),s=e("BcQD"),u=(e("k/Rj"),function(){function t(t,n,e){this.tooltipService=t,this.viewContainerRef=n,this.renderer=e,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=r.a.top,this.tooltipAlignment=a.a.center,this.tooltipType=o.a.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=s.a.all,this.tooltipImmediateExit=!1,this.show=new i.m,this.hide=new i.m}return Object.defineProperty(t.prototype,"listensForFocus",{get:function(){return this.tooltipShowEvent===s.a.all||this.tooltipShowEvent===s.a.focus},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"listensForHover",{get:function(){return this.tooltipShowEvent===s.a.all||this.tooltipShowEvent===s.a.mouseover},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.hideTooltip(!0)},t.prototype.onFocus=function(){this.listensForFocus&&this.showTooltip()},t.prototype.onBlur=function(){this.listensForFocus&&this.hideTooltip(!0)},t.prototype.onMouseEnter=function(){this.listensForHover&&this.showTooltip()},t.prototype.onMouseLeave=function(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}},t.prototype.onMouseClick=function(){this.listensForHover&&this.hideTooltip(!0)},t.prototype.showTooltip=function(t){var n=this;if(!this.component&&!this.tooltipDisabled){var e=t?0:this.tooltipShowTimeout;clearTimeout(this.timeout),this.timeout=setTimeout(function(){n.tooltipService.destroyAll();var t=n.createBoundOptions();n.component=n.tooltipService.create(t),setTimeout(function(){n.component&&n.addHideListeners(n.component.instance.element.nativeElement)},10),n.show.emit(!0)},e)}},t.prototype.addHideListeners=function(t){var n=this;this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",function(){clearTimeout(n.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",function(){n.hideTooltip(n.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen(document,"click",function(e){t.contains(e.target)||n.hideTooltip()}))},t.prototype.hideTooltip=function(t){var n=this;if(void 0===t&&(t=!1),this.component){var e=function(){n.mouseLeaveContentEvent&&n.mouseLeaveContentEvent(),n.mouseEnterContentEvent&&n.mouseEnterContentEvent(),n.documentClickEvent&&n.documentClickEvent(),n.hide.emit(!0),n.tooltipService.destroy(n.component),n.component=void 0};clearTimeout(this.timeout),t?e():this.timeout=setTimeout(e,this.tooltipHideTimeout)}},t.prototype.createBoundOptions=function(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}},t}())},"/TIM":function(t,n,e){"use strict";var i="http://www.w3.org/1999/xhtml",r={svg:"http://www.w3.org/2000/svg",xhtml:i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},o=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.hasOwnProperty(n)?{space:r[n],local:t}:t},a=function(t){var n=o(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===i&&n.documentElement.namespaceURI===i?n.createElement(t):n.createElementNS(e,t)}})(n)};function s(){}var u=function(t){return null==t?s:function(){return this.querySelector(t)}};function c(){return[]}var h=function(t){return null==t?c:function(){return this.querySelectorAll(t)}},f=function(t){return function(){return this.matches(t)}},l=function(t){return new Array(t.length)};function d(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}d.prototype={constructor:d,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var p="$";function g(t,n,e,i,r,o){for(var a,s=0,u=n.length,c=o.length;s<c;++s)(a=n[s])?(a.__data__=o[s],i[s]=a):e[s]=new d(t,o[s]);for(;s<u;++s)(a=n[s])&&(r[s]=a)}function v(t,n,e,i,r,o,a){var s,u,c,h={},f=n.length,l=o.length,g=new Array(f);for(s=0;s<f;++s)(u=n[s])&&(g[s]=c=p+a.call(u,u.__data__,s,n),c in h?r[s]=u:h[c]=u);for(s=0;s<l;++s)(u=h[c=p+a.call(t,o[s],s,o)])?(i[s]=u,u.__data__=o[s],h[c]=null):e[s]=new d(t,o[s]);for(s=0;s<f;++s)(u=n[s])&&h[g[s]]===u&&(r[s]=u)}function m(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function y(t){return function(){this.removeAttribute(t)}}function b(t){return function(){this.removeAttributeNS(t.space,t.local)}}function _(t,n){return function(){this.setAttribute(t,n)}}function x(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function w(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function M(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var T=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function C(t){return function(){this.style.removeProperty(t)}}function k(t,n,e){return function(){this.style.setProperty(t,n,e)}}function S(t,n,e){return function(){var i=n.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,e)}}function A(t,n){return t.style.getPropertyValue(n)||T(t).getComputedStyle(t,null).getPropertyValue(n)}function O(t){return function(){delete this[t]}}function D(t,n){return function(){this[t]=n}}function E(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function N(t){return t.trim().split(/^|\s+/)}function j(t){return t.classList||new L(t)}function L(t){this._node=t,this._names=N(t.getAttribute("class")||"")}function F(t,n){for(var e=j(t),i=-1,r=n.length;++i<r;)e.add(n[i])}function z(t,n){for(var e=j(t),i=-1,r=n.length;++i<r;)e.remove(n[i])}function P(t){return function(){F(this,t)}}function Y(t){return function(){z(this,t)}}function H(t,n){return function(){(n.apply(this,arguments)?F:z)(this,t)}}function B(){this.textContent=""}function U(t){return function(){this.textContent=t}}function I(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function R(){this.innerHTML=""}function G(t){return function(){this.innerHTML=t}}function X(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function V(){this.nextSibling&&this.parentNode.appendChild(this)}function q(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function W(){return null}function J(){var t=this.parentNode;t&&t.removeChild(this)}function Q(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function Z(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}L.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var $={},K=null;function tt(t,n,e){return t=nt(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function nt(t,n,e){return function(i){var r=K;K=i;try{t.call(this,this.__data__,n,e)}finally{K=r}}}function et(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function it(t){return function(){var n=this.__on;if(n){for(var e,i=0,r=-1,o=n.length;i<o;++i)e=n[i],t.type&&e.type!==t.type||e.name!==t.name?n[++r]=e:this.removeEventListener(e.type,e.listener,e.capture);++r?n.length=r:delete this.__on}}}function rt(t,n,e){var i=$.hasOwnProperty(t.type)?tt:nt;return function(r,o,a){var s,u=this.__on,c=i(n,o,a);if(u)for(var h=0,f=u.length;h<f;++h)if((s=u[h]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=e),void(s.value=n);this.addEventListener(t.type,c,e),s={type:t.type,name:t.name,value:n,listener:c,capture:e},u?u.push(s):this.__on=[s]}}function ot(t,n,e,i){var r=K;t.sourceEvent=K,K=t;try{return n.apply(e,i)}finally{K=r}}function at(t,n,e){var i=T(t),r=i.CustomEvent;"function"==typeof r?r=new r(n,e):(r=i.document.createEvent("Event"),e?(r.initEvent(n,e.bubbles,e.cancelable),r.detail=e.detail):r.initEvent(n,!1,!1)),t.dispatchEvent(r)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||($={mouseenter:"mouseover",mouseleave:"mouseout"}));var st=[null];function ut(t,n){this._groups=t,this._parents=n}function ct(){return new ut([[document.documentElement]],st)}ut.prototype=ct.prototype={constructor:ut,select:function(t){"function"!=typeof t&&(t=u(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var o,a,s=n[r],c=s.length,h=i[r]=new Array(c),f=0;f<c;++f)(o=s[f])&&(a=t.call(o,o.__data__,f,s))&&("__data__"in o&&(a.__data__=o.__data__),h[f]=a);return new ut(i,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=h(t));for(var n=this._groups,e=n.length,i=[],r=[],o=0;o<e;++o)for(var a,s=n[o],u=s.length,c=0;c<u;++c)(a=s[c])&&(i.push(t.call(a,a.__data__,c,s)),r.push(a));return new ut(i,r)},filter:function(t){"function"!=typeof t&&(t=f(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var o,a=n[r],s=a.length,u=i[r]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new ut(i,this._parents)},data:function(t,n){if(!t)return p=new Array(this.size()),h=-1,this.each(function(t){p[++h]=t}),p;var e,i=n?v:g,r=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var a=o.length,s=new Array(a),u=new Array(a),c=new Array(a),h=0;h<a;++h){var f=r[h],l=o[h],d=l.length,p=t.call(f,f&&f.__data__,h,r),m=p.length,y=u[h]=new Array(m),b=s[h]=new Array(m);i(f,l,y,b,c[h]=new Array(d),p,n);for(var _,x,w=0,M=0;w<m;++w)if(_=y[w]){for(w>=M&&(M=w+1);!(x=b[M])&&++M<m;);_._next=x||null}}return(s=new ut(s,r))._enter=u,s._exit=c,s},enter:function(){return new ut(this._enter||this._groups.map(l),this._parents)},exit:function(){return new ut(this._exit||this._groups.map(l),this._parents)},join:function(t,n,e){var i=this.enter(),r=this,o=this.exit();return i="function"==typeof t?t(i):i.append(t+""),null!=n&&(r=n(r)),null==e?o.remove():e(o),i&&r?i.merge(r).order():r},merge:function(t){for(var n=this._groups,e=t._groups,i=n.length,r=Math.min(i,e.length),o=new Array(i),a=0;a<r;++a)for(var s,u=n[a],c=e[a],h=u.length,f=o[a]=new Array(h),l=0;l<h;++l)(s=u[l]||c[l])&&(f[l]=s);for(;a<i;++a)o[a]=n[a];return new ut(o,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var i,r=t[n],o=r.length-1,a=r[o];--o>=0;)(i=r[o])&&(a&&4^i.compareDocumentPosition(a)&&a.parentNode.insertBefore(i,a),a=i);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=m);for(var e=this._groups,i=e.length,r=new Array(i),o=0;o<i;++o){for(var a,s=e[o],u=s.length,c=r[o]=new Array(u),h=0;h<u;++h)(a=s[h])&&(c[h]=a);c.sort(n)}return new ut(r,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()),n=-1;return this.each(function(){t[++n]=this}),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var i=t[n],r=0,o=i.length;r<o;++r){var a=i[r];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,i=n.length;e<i;++e)for(var r,o=n[e],a=0,s=o.length;a<s;++a)(r=o[a])&&t.call(r,r.__data__,a,o);return this},attr:function(t,n){var e=o(t);if(arguments.length<2){var i=this.node();return e.local?i.getAttributeNS(e.space,e.local):i.getAttribute(e)}return this.each((null==n?e.local?b:y:"function"==typeof n?e.local?M:w:e.local?x:_)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?C:"function"==typeof n?S:k)(t,n,null==e?"":e)):A(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?O:"function"==typeof n?E:D)(t,n)):this.node()[t]},classed:function(t,n){var e=N(t+"");if(arguments.length<2){for(var i=j(this.node()),r=-1,o=e.length;++r<o;)if(!i.contains(e[r]))return!1;return!0}return this.each(("function"==typeof n?H:n?P:Y)(e,n))},text:function(t){return arguments.length?this.each(null==t?B:("function"==typeof t?I:U)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?R:("function"==typeof t?X:G)(t)):this.node().innerHTML},raise:function(){return this.each(V)},lower:function(){return this.each(q)},append:function(t){var n="function"==typeof t?t:a(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:a(t),i=null==n?W:"function"==typeof n?n:u(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(J)},clone:function(t){return this.select(t?Z:Q)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var i,r,o=et(t+""),a=o.length;if(!(arguments.length<2)){for(s=n?rt:it,null==e&&(e=!1),i=0;i<a;++i)this.each(s(o[i],n,e));return this}var s=this.node().__on;if(s)for(var u,c=0,h=s.length;c<h;++c)for(i=0,u=s[c];i<a;++i)if((r=o[i]).type===u.type&&r.name===u.name)return u.value},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return at(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return at(this,t,n)}})(t,n))}};var ht=ct,ft=function(t){return"string"==typeof t?new ut([[document.querySelector(t)]],[document.documentElement]):new ut([[t]],st)},lt=0;function dt(){this._="@"+(++lt).toString(36)}dt.prototype=(function(){return new dt}).prototype={constructor:dt,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var pt=function(){for(var t,n=K;t=n.sourceEvent;)n=t;return n},gt=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var i=e.createSVGPoint();return i.x=n.clientX,i.y=n.clientY,[(i=i.matrixTransform(t.getScreenCTM().inverse())).x,i.y]}var r=t.getBoundingClientRect();return[n.clientX-r.left-t.clientLeft,n.clientY-r.top-t.clientTop]},vt=function(t){var n=pt();return n.changedTouches&&(n=n.changedTouches[0]),gt(t,n)},mt=function(t,n,e){arguments.length<3&&(e=n,n=pt().changedTouches);for(var i,r=0,o=n?n.length:0;r<o;++r)if((i=n[r]).identifier===e)return gt(t,i);return null};e.d(n,"c",function(){return f}),e.d(n,"d",function(){return vt}),e.d(n,"e",function(){return o}),e.d(n,"f",function(){return ft}),e.d(n,"g",function(){return ht}),e.d(n,"h",function(){return u}),e.d(n,"i",function(){return h}),e.d(n,"j",function(){return A}),e.d(n,"k",function(){return mt}),e.d(n,"b",function(){return K}),e.d(n,"a",function(){return ot})},"/X9X":function(t,n,e){"use strict";function i(t){for(var n=new Set,e=0,i=t;e<i.length;e++)for(var r=0,o=i[e].series;r<o.length;r++)n.add(o[r].name);return Array.from(n)}function r(t,n){return void 0===n&&(n=!0),n&&t.every(function(t){return t instanceof Date})?"time":t.every(function(t){return"number"==typeof t})?"linear":"ordinal"}e.d(n,"b",function(){return i}),e.d(n,"a",function(){return r})},"/qvy":function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG"),e("tb0z"),e("Ywhj"),e("QkSP"),e("k79+"),e("0yKa");var i=function(){return function(){}}()},"0yKa":function(t,n,e){"use strict";e.d(n,"a",function(){return s}),e("mrSG");var i=e("8Y7J"),r=e("3bP5"),o=e("IX8M"),a=e("+1uz"),s=function(){function t(){this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new i.m,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor="middle",this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout(function(){return t.updateDims()})},t.prototype.updateDims=function(){var t=this,n=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);n!==this.width&&(this.width=n,this.dimensionsChanged.emit({width:n}),setTimeout(function(){return t.updateDims()}))},t.prototype.update=function(){var t,n=this,e="top"===this.orient||"right"===this.orient?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,t=this.scale,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()},this.adjustedScale=t.bandwidth?function(n){return t(n)+.5*t.bandwidth()}:t,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case"top":case"bottom":this.transform=function(t){return"translate("+this.adjustedScale(t)+",0)"},this.textAnchor="middle",this.y2=this.innerTickSize*e,this.y1=this.tickSpacing*e,this.dy=e<0?"0em":".71em";break;case"left":this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor="end",this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em";break;case"right":this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor="start",this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em"}setTimeout(function(){return n.updateDims()})},t.prototype.setReferencelines=function(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(function(t){return t.value}))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(function(t){return t.value}))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Object(a.a)(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])},t.prototype.getTicks=function(){var t,n=this.getMaxTicks(20),e=this.getMaxTicks(50);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[e]):(t=this.scale.domain(),t=Object(o.a)(t,n)),t},t.prototype.getMaxTicks=function(t){return Math.floor(this.height/t)},t.prototype.tickTransform=function(t){return"translate("+this.adjustedScale(t)+","+this.verticalSpacing+")"},t.prototype.gridLineTransform=function(){return"translate(5,0)"},t.prototype.tickTrim=function(t){return this.trimTicks?Object(r.a)(t,this.maxTickLength):t},t}()},"1jDe":function(t,n,e){"use strict";e("mrSG"),e("w6+6"),e("wLzX"),e("8Y7J"),e("4jaM"),e("Oqv5"),e("HaQI"),e("bgPL"),e("LKRB"),e("anzK"),e("dP00"),e("lTBp"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},"2UC5":function(t,n,e){"use strict";function i(){}function r(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==n)for(;++o<a;)e.set(o,t[o]);else for(;++o<a;)e.set(n(r=t[o],o,t),r)}else if(t)for(var s in t)e.set(s,t[s]);return e}i.prototype=r.prototype={constructor:i,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var o=r;function a(){}var s=o.prototype;a.prototype=(function(t,n){var e=new a;if(t instanceof a)t.each(function(t){e.add(t)});else if(t){var i=-1,r=t.length;if(null==n)for(;++i<r;)e.add(t[i]);else for(;++i<r;)e.add(n(t[i],i,t))}return e}).prototype={constructor:a,has:s.has,add:function(t){return this["$"+(t+="")]=t,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each},e.d(n,"a",function(){return o})},"3bP5":function(t,n,e){"use strict";function i(t,n){return void 0===n&&(n=16),"string"!=typeof t?"number"==typeof t?t+"":"":(t=t.trim()).length<=n?t:t.slice(0,n)+"..."}e.d(n,"a",function(){return i})},"4jaM":function(t,n,e){"use strict";var i=e("vBe5"),r=e("2UC5"),o=Array.prototype,a=o.map,s=o.slice,u={name:"implicit"};function c(t){var n=Object(r.a)(),e=[],i=u;function o(r){var o=r+"",a=n.get(o);if(!a){if(i!==u)return i;n.set(o,a=e.push(r))}return t[(a-1)%t.length]}return t=null==t?[]:s.call(t),o.domain=function(t){if(!arguments.length)return e.slice();e=[],n=Object(r.a)();for(var i,a,s=-1,u=t.length;++s<u;)n.has(a=(i=t[s])+"")||n.set(a,e.push(i));return o},o.range=function(n){return arguments.length?(t=s.call(n),o):t.slice()},o.unknown=function(t){return arguments.length?(i=t,o):i},o.copy=function(){return c().domain(e).range(t).unknown(i)},o}function h(){var t,n,e=c().unknown(void 0),r=e.domain,o=e.range,a=[0,1],s=!1,u=0,f=0,l=.5;function d(){var e=r().length,c=a[1]<a[0],h=a[c-0],d=a[1-c];t=(d-h)/Math.max(1,e-u+2*f),s&&(t=Math.floor(t)),h+=(d-h-t*(e-u))*l,n=t*(1-u),s&&(h=Math.round(h),n=Math.round(n));var p=Object(i.g)(e).map(function(n){return h+t*n});return o(c?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),d()):r()},e.range=function(t){return arguments.length?(a=[+t[0],+t[1]],d()):a.slice()},e.rangeRound=function(t){return a=[+t[0],+t[1]],s=!0,d()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(s=!!t,d()):s},e.padding=function(t){return arguments.length?(u=f=Math.max(0,Math.min(1,t)),d()):u},e.paddingInner=function(t){return arguments.length?(u=Math.max(0,Math.min(1,t)),d()):u},e.paddingOuter=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),d()):f},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),d()):l},e.copy=function(){return h().domain(r()).range(a).round(s).paddingInner(u).paddingOuter(f).align(l)},d()}function f(){return function t(n){var e=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return t(e())},n}(h().paddingInner(1))}var l=e("pD2Y"),d=function(t){return function(){return t}},p=function(t){return+t},g=[0,1];function v(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:d(n)}function m(t,n,e,i){var r=t[0],o=t[1],a=n[0],s=n[1];return o<r?(r=e(o,r),a=i(s,a)):(r=e(r,o),a=i(a,s)),function(t){return a(r(t))}}function y(t,n,e,r){var o=Math.min(t.length,n.length)-1,a=new Array(o),s=new Array(o),u=-1;for(t[o]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<o;)a[u]=e(t[u],t[u+1]),s[u]=r(n[u],n[u+1]);return function(n){var e=Object(i.b)(t,n,1,o)-1;return s[e](a[e](n))}}function b(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function _(t,n){var e,i,r,o=g,u=g,c=l.a,h=!1;function f(){return e=Math.min(o.length,u.length)>2?y:m,i=r=null,d}function d(n){return(i||(i=e(o,u,h?function(t){return function(n,e){var i=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:i(t)}}}(t):t,c)))(+n)}return d.invert=function(t){return(r||(r=e(u,o,v,h?function(t){return function(n,e){var i=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:i(t)}}}(n):n)))(+t)},d.domain=function(t){return arguments.length?(o=a.call(t,p),f()):o.slice()},d.range=function(t){return arguments.length?(u=s.call(t),f()):u.slice()},d.rangeRound=function(t){return u=s.call(t),c=l.e,f()},d.clamp=function(t){return arguments.length?(h=!!t,f()):h},d.interpolate=function(t){return arguments.length?(c=t,f()):c},f()}var x=e("rWgG"),w=function(t,n,e){var r,o=t[0],a=t[t.length-1],s=Object(i.i)(o,a,null==n?10:n);switch((e=Object(x.c)(null==e?",f":e)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(a));return null!=e.precision||isNaN(r=Object(x.e)(s,u))||(e.precision=r),Object(x.b)(e,u);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(r=Object(x.f)(s,Math.max(Math.abs(o),Math.abs(a))))||(e.precision=r-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(r=Object(x.d)(s))||(e.precision=r-2*("%"===e.type))}return Object(x.a)(e)};function M(){var t=_(v,l.c);return t.copy=function(){return b(t,M())},function(t){var n=t.domain;return t.ticks=function(t){var e=n();return Object(i.j)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return w(n(),t,e)},t.nice=function(e){null==e&&(e=10);var r,o=n(),a=0,s=o.length-1,u=o[a],c=o[s];return c<u&&(r=u,u=c,c=r,r=a,a=s,s=r),(r=Object(i.h)(u,c,e))>0?(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,r=Object(i.h)(u,c,e)):r<0&&(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,r=Object(i.h)(u,c,e)),r>0?(o[a]=Math.floor(u/r)*r,o[s]=Math.ceil(c/r)*r,n(o)):r<0&&(o[a]=Math.ceil(u*r)/r,o[s]=Math.floor(c*r)/r,n(o)),t},t}(t)}function T(){var t=[],n=[],e=[];function r(){var r=0,a=Math.max(1,n.length);for(e=new Array(a-1);++r<a;)e[r-1]=Object(i.f)(t,r/a);return o}function o(t){if(!isNaN(t=+t))return n[Object(i.b)(e,t)]}return o.invertExtent=function(i){var r=n.indexOf(i);return r<0?[NaN,NaN]:[r>0?e[r-1]:t[0],r<e.length?e[r]:t[t.length-1]]},o.domain=function(n){if(!arguments.length)return t.slice();t=[];for(var e,o=0,a=n.length;o<a;++o)null==(e=n[o])||isNaN(e=+e)||t.push(e);return t.sort(i.a),r()},o.range=function(t){return arguments.length?(n=s.call(t),r()):n.slice()},o.quantiles=function(){return e.slice()},o.copy=function(){return T().domain(t).range(n)},o}var C=new Date,k=new Date;function S(t,n,e,i){function r(n){return t(n=new Date(+n)),n}return r.floor=r,r.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},r.round=function(t){var n=r(t),e=r.ceil(t);return t-n<e-t?n:e},r.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},r.range=function(e,i,o){var a,s=[];if(e=r.ceil(e),o=null==o?1:Math.floor(o),!(e<i&&o>0))return s;do{s.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<i);return s},r.filter=function(e){return S(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;n(t,-1),!e(t););else for(;--i>=0;)for(;n(t,1),!e(t););})},e&&(r.count=function(n,i){return C.setTime(+n),k.setTime(+i),t(C),t(k),Math.floor(e(C,k))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(n){return i(n)%t==0}:function(n){return r.count(0,n)%t==0}):r:null}),r}var A=S(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});A.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?S(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):A:null};var O=A,D=6e4,E=6048e5,N=S(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,n){t.setTime(+t+1e3*n)},function(t,n){return(n-t)/1e3},function(t){return t.getUTCSeconds()}),j=S(function(t){t.setTime(Math.floor(t/D)*D)},function(t,n){t.setTime(+t+n*D)},function(t,n){return(n-t)/D},function(t){return t.getMinutes()}),L=S(function(t){var n=t.getTimezoneOffset()*D%36e5;n<0&&(n+=36e5),t.setTime(36e5*Math.floor((+t-n)/36e5)+n)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getHours()}),F=S(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*D)/864e5},function(t){return t.getDate()-1});function z(t){return S(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*D)/E})}var P=z(0),Y=z(1),H=(z(2),z(3),z(4)),B=(z(5),z(6),S(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),U=S(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});U.every=function(t){return isFinite(t=Math.floor(t))&&t>0?S(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var I=U,R=(S(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*D)},function(t,n){return(n-t)/D},function(t){return t.getUTCMinutes()}),S(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getUTCHours()}),S(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/864e5},function(t){return t.getUTCDate()-1}));function G(t){return S(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/E})}var X=G(0),V=G(1),q=(G(2),G(3),G(4)),W=(G(5),G(6),S(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),S(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));W.every=function(t){return isFinite(t=Math.floor(t))&&t>0?S(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var J=W;function Q(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Z(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var K,tt,nt,et={"-":"",_:" ",0:"0"},it=/^\s*\d+/,rt=/^%/,ot=/[\\^$*+?|[\]().{}]/g;function at(t,n,e){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o<e?new Array(e-o+1).join(n)+r:r)}function st(t){return t.replace(ot,"\\$&")}function ut(t){return new RegExp("^(?:"+t.map(st).join("|")+")","i")}function ct(t){for(var n={},e=-1,i=t.length;++e<i;)n[t[e].toLowerCase()]=e;return n}function ht(t,n,e){var i=it.exec(n.slice(e,e+1));return i?(t.w=+i[0],e+i[0].length):-1}function ft(t,n,e){var i=it.exec(n.slice(e,e+1));return i?(t.u=+i[0],e+i[0].length):-1}function lt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.U=+i[0],e+i[0].length):-1}function dt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.V=+i[0],e+i[0].length):-1}function pt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.W=+i[0],e+i[0].length):-1}function gt(t,n,e){var i=it.exec(n.slice(e,e+4));return i?(t.y=+i[0],e+i[0].length):-1}function vt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),e+i[0].length):-1}function mt(t,n,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function yt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.m=i[0]-1,e+i[0].length):-1}function bt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.d=+i[0],e+i[0].length):-1}function _t(t,n,e){var i=it.exec(n.slice(e,e+3));return i?(t.m=0,t.d=+i[0],e+i[0].length):-1}function xt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.H=+i[0],e+i[0].length):-1}function wt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.M=+i[0],e+i[0].length):-1}function Mt(t,n,e){var i=it.exec(n.slice(e,e+2));return i?(t.S=+i[0],e+i[0].length):-1}function Tt(t,n,e){var i=it.exec(n.slice(e,e+3));return i?(t.L=+i[0],e+i[0].length):-1}function Ct(t,n,e){var i=it.exec(n.slice(e,e+6));return i?(t.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function kt(t,n,e){var i=rt.exec(n.slice(e,e+1));return i?e+i[0].length:-1}function St(t,n,e){var i=it.exec(n.slice(e));return i?(t.Q=+i[0],e+i[0].length):-1}function At(t,n,e){var i=it.exec(n.slice(e));return i?(t.Q=1e3*+i[0],e+i[0].length):-1}function Ot(t,n){return at(t.getDate(),n,2)}function Dt(t,n){return at(t.getHours(),n,2)}function Et(t,n){return at(t.getHours()%12||12,n,2)}function Nt(t,n){return at(1+F.count(I(t),t),n,3)}function jt(t,n){return at(t.getMilliseconds(),n,3)}function Lt(t,n){return jt(t,n)+"000"}function Ft(t,n){return at(t.getMonth()+1,n,2)}function zt(t,n){return at(t.getMinutes(),n,2)}function Pt(t,n){return at(t.getSeconds(),n,2)}function Yt(t){var n=t.getDay();return 0===n?7:n}function Ht(t,n){return at(P.count(I(t),t),n,2)}function Bt(t,n){var e=t.getDay();return t=e>=4||0===e?H(t):H.ceil(t),at(H.count(I(t),t)+(4===I(t).getDay()),n,2)}function Ut(t){return t.getDay()}function It(t,n){return at(Y.count(I(t),t),n,2)}function Rt(t,n){return at(t.getFullYear()%100,n,2)}function Gt(t,n){return at(t.getFullYear()%1e4,n,4)}function Xt(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+at(n/60|0,"0",2)+at(n%60,"0",2)}function Vt(t,n){return at(t.getUTCDate(),n,2)}function qt(t,n){return at(t.getUTCHours(),n,2)}function Wt(t,n){return at(t.getUTCHours()%12||12,n,2)}function Jt(t,n){return at(1+R.count(J(t),t),n,3)}function Qt(t,n){return at(t.getUTCMilliseconds(),n,3)}function Zt(t,n){return Qt(t,n)+"000"}function $t(t,n){return at(t.getUTCMonth()+1,n,2)}function Kt(t,n){return at(t.getUTCMinutes(),n,2)}function tn(t,n){return at(t.getUTCSeconds(),n,2)}function nn(t){var n=t.getUTCDay();return 0===n?7:n}function en(t,n){return at(X.count(J(t),t),n,2)}function rn(t,n){var e=t.getUTCDay();return t=e>=4||0===e?q(t):q.ceil(t),at(q.count(J(t),t)+(4===J(t).getUTCDay()),n,2)}function on(t){return t.getUTCDay()}function an(t,n){return at(V.count(J(t),t),n,2)}function sn(t,n){return at(t.getUTCFullYear()%100,n,2)}function un(t,n){return at(t.getUTCFullYear()%1e4,n,4)}function cn(){return"+0000"}function hn(){return"%"}function fn(t){return+t}function ln(t){return Math.floor(+t/1e3)}K=function(t){var n=t.dateTime,e=t.date,i=t.time,r=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=ut(r),h=ct(r),f=ut(o),l=ct(o),d=ut(a),p=ct(a),g=ut(s),v=ct(s),m=ut(u),y=ct(u),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Ot,e:Ot,f:Lt,H:Dt,I:Et,j:Nt,L:jt,m:Ft,M:zt,p:function(t){return r[+(t.getHours()>=12)]},Q:fn,s:ln,S:Pt,u:Yt,U:Ht,V:Bt,w:Ut,W:It,x:null,X:null,y:Rt,Y:Gt,Z:Xt,"%":hn},_={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Vt,e:Vt,f:Zt,H:qt,I:Wt,j:Jt,L:Qt,m:$t,M:Kt,p:function(t){return r[+(t.getUTCHours()>=12)]},Q:fn,s:ln,S:tn,u:nn,U:en,V:rn,w:on,W:an,x:null,X:null,y:sn,Y:un,Z:cn,"%":hn},x={a:function(t,n,e){var i=d.exec(n.slice(e));return i?(t.w=p[i[0].toLowerCase()],e+i[0].length):-1},A:function(t,n,e){var i=f.exec(n.slice(e));return i?(t.w=l[i[0].toLowerCase()],e+i[0].length):-1},b:function(t,n,e){var i=m.exec(n.slice(e));return i?(t.m=y[i[0].toLowerCase()],e+i[0].length):-1},B:function(t,n,e){var i=g.exec(n.slice(e));return i?(t.m=v[i[0].toLowerCase()],e+i[0].length):-1},c:function(t,e,i){return T(t,n,e,i)},d:bt,e:bt,f:Ct,H:xt,I:xt,j:_t,L:Tt,m:yt,M:wt,p:function(t,n,e){var i=c.exec(n.slice(e));return i?(t.p=h[i[0].toLowerCase()],e+i[0].length):-1},Q:St,s:At,S:Mt,u:ft,U:lt,V:dt,w:ht,W:pt,x:function(t,n,i){return T(t,e,n,i)},X:function(t,n,e){return T(t,i,n,e)},y:vt,Y:gt,Z:mt,"%":kt};function w(t,n){return function(e){var i,r,o,a=[],s=-1,u=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(r=et[i=t.charAt(++s)])?i=t.charAt(++s):r="e"===i?" ":"0",(o=n[i])&&(i=o(e,r)),a.push(i),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function M(t,n){return function(e){var i,r,o=$(1900);if(T(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=Z($(o.y))).getUTCDay(),i=r>4||0===r?V.ceil(i):V(i),i=R.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(r=(i=n($(o.y))).getDay(),i=r>4||0===r?Y.ceil(i):Y(i),i=F.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?Z($(o.y)).getUTCDay():n($(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Z(o)):n(o)}}function T(t,n,e,i){for(var r,o,a=0,s=n.length,u=e.length;a<s;){if(i>=u)return-1;if(37===(r=n.charCodeAt(a++))){if(r=n.charAt(a++),!(o=x[r in et?n.charAt(a++):r])||(i=o(t,e,i))<0)return-1}else if(r!=e.charCodeAt(i++))return-1}return i}return b.x=w(e,b),b.X=w(i,b),b.c=w(n,b),_.x=w(e,_),_.X=w(i,_),_.c=w(n,_),{format:function(t){var n=w(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",Q);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",_);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t,Z);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),tt=K.format,nt=K.utcParse,Date.prototype.toISOString||(0,K.utcFormat)("%Y-%m-%dT%H:%M:%S.%LZ"),+new Date("2000-01-01T00:00:00.000Z")||nt("%Y-%m-%dT%H:%M:%S.%LZ");var dn=31536e6;function pn(t){return new Date(t)}function gn(t){return t instanceof Date?+t:+new Date(+t)}var vn=function(){return function t(n,e,r,o,s,u,c,h,f){var d=_(v,l.c),p=d.invert,g=d.domain,m=f(".%L"),y=f(":%S"),x=f("%I:%M"),w=f("%I %p"),M=f("%a %d"),T=f("%b %d"),C=f("%B"),k=f("%Y"),S=[[c,1,1e3],[c,5,5e3],[c,15,15e3],[c,30,3e4],[u,1,6e4],[u,5,3e5],[u,15,9e5],[u,30,18e5],[s,1,36e5],[s,3,108e5],[s,6,216e5],[s,12,432e5],[o,1,864e5],[o,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[n,1,dn]];function A(t){return(c(t)<t?m:u(t)<t?y:s(t)<t?x:o(t)<t?w:e(t)<t?r(t)<t?M:T:n(t)<t?C:k)(t)}function O(t,e,r,o){if(null==t&&(t=10),"number"==typeof t){var a=Math.abs(r-e)/t,s=Object(i.c)(function(t){return t[2]}).right(S,a);s===S.length?(o=Object(i.i)(e/dn,r/dn,t),t=n):s?(o=(s=S[a/S[s-1][2]<S[s][2]/a?s-1:s])[1],t=s[0]):(o=Math.max(Object(i.i)(e,r,t),1),t=h)}return null==o?t:t.every(o)}return d.invert=function(t){return new Date(p(t))},d.domain=function(t){return arguments.length?g(a.call(t,gn)):g().map(pn)},d.ticks=function(t,n){var e,i=g(),r=i[0],o=i[i.length-1],a=o<r;return a&&(e=r,r=o,o=e),e=(e=O(t,r,o,n))?e.range(r,o+1):[],a?e.reverse():e},d.tickFormat=function(t,n){return null==n?A:f(n)},d.nice=function(t,n){var e=g();return(t=O(t,e[0],e[e.length-1],n))?g(function(t,n){var e,i=0,r=(t=t.slice()).length-1,o=t[i],a=t[r];return a<o&&(e=i,i=r,r=e,e=o,o=a,a=e),t[i]=n.floor(o),t[r]=n.ceil(a),t}(e,t)):d},d.copy=function(){return b(d,t(n,e,r,o,s,u,c,h,f))},d}(I,B,P,F,L,j,N,O,tt).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},mn=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},yn=(mn("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),mn("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),mn("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),mn("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),e("SC+/"));function bn(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}Object(l.b)(Object(yn.b)(300,.5,0),Object(yn.b)(-240,.5,1)),Object(l.b)(Object(yn.b)(-100,.75,.35),Object(yn.b)(80,1.5,.8)),Object(l.b)(Object(yn.b)(260,.75,.35),Object(yn.b)(80,1.5,.8)),Object(yn.b)(),bn(mn("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),bn(mn("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),bn(mn("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),bn(mn("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),e.d(n,"a",function(){return h}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return M}),e.d(n,"c",function(){return c}),e.d(n,"e",function(){return T}),e.d(n,"f",function(){return vn})},"50k4":function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG"),e("w6+6"),e("eZ3f"),e("8aVx"),e("J6WN"),e("7lyt"),e("ZRd5"),e("6fCZ"),e("NT8I");var i=function(){return function(){}}()},"6fCZ":function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("8d86")},"7Z8E":function(t,n,e){"use strict";var i=e("8Y7J"),r=e("SVse"),o=e("scW6");e.d(n,"a",function(){return l});var a=i.sb({encapsulation:2,styles:[[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}"]],data:{}});function s(t){return i.Qb(0,[(t()(),i.jb(0,null,null,0))],null,null)}function u(t){return i.Qb(0,[(t()(),i.ub(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i.jb(16777216,null,null,2,null,s)),i.tb(2,540672,null,0,r.t,[i.O],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),i.Jb(3,{model:0})],function(t,n){var e=n.component,i=t(n,3,0,e.context);t(n,2,0,i,e.template)},null)}function c(t){return i.Qb(0,[(t()(),i.ub(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,n){t(n,0,0,n.component.title)})}function h(t){return i.Qb(0,[i.Mb(671088640,1,{caretElm:0}),(t()(),i.ub(1,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),i.ub(2,0,[[1,0],["caretElm",1]],null,0,"span",[],[[8,"hidden",0],[8,"className",0]],null,null,null,null)),(t()(),i.ub(3,0,null,null,4,"div",[["class","tooltip-content"]],null,null,null,null,null)),(t()(),i.jb(16777216,null,null,1,null,u)),i.tb(5,16384,null,0,r.m,[i.O,i.L],{ngIf:[0,"ngIf"]},null),(t()(),i.jb(16777216,null,null,1,null,c)),i.tb(7,16384,null,0,r.m,[i.O,i.L],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,5,0,!e.title),t(n,7,0,e.title)},function(t,n){var e=n.component;t(n,2,0,!e.showCaret,i.yb(1,"tooltip-caret position-",e.placement,""))})}function f(t){return i.Qb(0,[(t()(),i.ub(0,0,null,null,1,"ngx-tooltip-content",[],[[8,"className",0]],[["window","resize"]],function(t,n,e){var r=!0;return"window:resize"===n&&(r=!1!==i.Gb(t,1).onWindowResize()&&r),r},h,a)),i.tb(1,4243456,null,0,o.a,[i.k,i.D],null,null)],null,function(t,n){t(n,0,0,i.Gb(n,1).cssClasses)})}var l=i.qb("ngx-tooltip-content",o.a,f,{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},{},[])},"7lyt":function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("Oqv5"),e("HaQI"),e("bgPL")},"8aVx":function(t,n,e){"use strict";e("mrSG"),e("8d86"),e("3bP5")},"8d86":function(t,n,e){"use strict";var i=Math.PI,r=2*i,o=r-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new a}a.prototype=s.prototype={constructor:a,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,r,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+r)+","+(this._y1=+o)},arcTo:function(t,n,e,r,o){var a=this._x1,s=this._y1,u=(e=+e)-(t=+t),c=(r=+r)-(n=+n),h=a-t,f=s-n,l=h*h+f*f;if((o=+o)<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>1e-6)if(Math.abs(f*u-c*h)>1e-6&&o){var d=e-a,p=r-s,g=u*u+c*c,v=d*d+p*p,m=Math.sqrt(g),y=Math.sqrt(l),b=o*Math.tan((i-Math.acos((g+l-v)/(2*m*y)))/2),_=b/y,x=b/m;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*h)+","+(n+_*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>h*p)+","+(this._x1=t+x*u)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,a,s,u){t=+t,n=+n;var c=(e=+e)*Math.cos(a),h=e*Math.sin(a),f=t+c,l=n+h,d=1^u,p=u?a-s:s-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+f+","+l:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+f+","+l),e&&(p<0&&(p=p%r+r),p>o?this._+="A"+e+","+e+",0,1,"+d+","+(t-c)+","+(n-h)+"A"+e+","+e+",0,1,"+d+","+(this._x1=f)+","+(this._y1=l):p>1e-6&&(this._+="A"+e+","+e+",0,"+ +(p>=i)+","+d+","+(this._x1=t+e*Math.cos(s))+","+(this._y1=n+e*Math.sin(s))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};var u=s,c=function(t){return function(){return t}},h=Math.abs,f=Math.atan2,l=Math.cos,d=Math.max,p=Math.min,g=Math.sin,v=Math.sqrt,m=1e-12,y=Math.PI,b=y/2,_=2*y;function x(t){return t>=1?b:t<=-1?-b:Math.asin(t)}function w(t){return t.innerRadius}function M(t){return t.outerRadius}function T(t){return t.startAngle}function C(t){return t.endAngle}function k(t){return t&&t.padAngle}function S(t,n,e,i,r,o,a){var s=t-e,u=n-i,c=(a?o:-o)/v(s*s+u*u),h=c*u,f=-c*s,l=t+h,p=n+f,g=e+h,m=i+f,y=(l+g)/2,b=(p+m)/2,_=g-l,x=m-p,w=_*_+x*x,M=r-o,T=l*m-g*p,C=(x<0?-1:1)*v(d(0,M*M*w-T*T)),k=(T*x-_*C)/w,S=(-T*_-x*C)/w,A=(T*x+_*C)/w,O=(-T*_+x*C)/w,D=k-y,E=S-b,N=A-y,j=O-b;return D*D+E*E>N*N+j*j&&(k=A,S=O),{cx:k,cy:S,x01:-h,y01:-f,x11:k*(r/M-1),y11:S*(r/M-1)}}var A=function(){var t=w,n=M,e=c(0),i=null,r=T,o=C,a=k,s=null;function d(){var c,d,w,M=+t.apply(this,arguments),T=+n.apply(this,arguments),C=r.apply(this,arguments)-b,k=o.apply(this,arguments)-b,A=h(k-C),O=k>C;if(s||(s=c=u()),T<M&&(d=T,T=M,M=d),T>m)if(A>_-m)s.moveTo(T*l(C),T*g(C)),s.arc(0,0,T,C,k,!O),M>m&&(s.moveTo(M*l(k),M*g(k)),s.arc(0,0,M,k,C,O));else{var D,E,N=C,j=k,L=C,F=k,z=A,P=A,Y=a.apply(this,arguments)/2,H=Y>m&&(i?+i.apply(this,arguments):v(M*M+T*T)),B=p(h(T-M)/2,+e.apply(this,arguments)),U=B,I=B;if(H>m){var R=x(H/M*g(Y)),G=x(H/T*g(Y));(z-=2*R)>m?(L+=R*=O?1:-1,F-=R):(z=0,L=F=(C+k)/2),(P-=2*G)>m?(N+=G*=O?1:-1,j-=G):(P=0,N=j=(C+k)/2)}var X=T*l(N),V=T*g(N),q=M*l(F),W=M*g(F);if(B>m){var J,Q=T*l(j),Z=T*g(j),$=M*l(L),K=M*g(L);if(A<y&&(J=function(t,n,e,i,r,o,a,s){var u=$-X,c=K-V,h=a-Q,f=s-Z,l=f*u-h*c;if(!(l*l<m))return[X+(l=(h*(V-Z)-f*(X-Q))/l)*u,V+l*c]}(0,0,0,0,0,0,q,W))){var tt=X-J[0],nt=V-J[1],et=Q-J[0],it=Z-J[1],rt=1/g(((w=(tt*et+nt*it)/(v(tt*tt+nt*nt)*v(et*et+it*it)))>1?0:w<-1?y:Math.acos(w))/2),ot=v(J[0]*J[0]+J[1]*J[1]);U=p(B,(M-ot)/(rt-1)),I=p(B,(T-ot)/(rt+1))}}P>m?I>m?(D=S($,K,X,V,T,I,O),E=S(Q,Z,q,W,T,I,O),s.moveTo(D.cx+D.x01,D.cy+D.y01),I<B?s.arc(D.cx,D.cy,I,f(D.y01,D.x01),f(E.y01,E.x01),!O):(s.arc(D.cx,D.cy,I,f(D.y01,D.x01),f(D.y11,D.x11),!O),s.arc(0,0,T,f(D.cy+D.y11,D.cx+D.x11),f(E.cy+E.y11,E.cx+E.x11),!O),s.arc(E.cx,E.cy,I,f(E.y11,E.x11),f(E.y01,E.x01),!O))):(s.moveTo(X,V),s.arc(0,0,T,N,j,!O)):s.moveTo(X,V),M>m&&z>m?U>m?(D=S(q,W,Q,Z,M,-U,O),E=S(X,V,$,K,M,-U,O),s.lineTo(D.cx+D.x01,D.cy+D.y01),U<B?s.arc(D.cx,D.cy,U,f(D.y01,D.x01),f(E.y01,E.x01),!O):(s.arc(D.cx,D.cy,U,f(D.y01,D.x01),f(D.y11,D.x11),!O),s.arc(0,0,M,f(D.cy+D.y11,D.cx+D.x11),f(E.cy+E.y11,E.cx+E.x11),O),s.arc(E.cx,E.cy,U,f(E.y11,E.x11),f(E.y01,E.x01),!O))):s.arc(0,0,M,F,L,O):s.lineTo(q,W)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return d.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,i=(+r.apply(this,arguments)+ +o.apply(this,arguments))/2-y/2;return[l(i)*e,g(i)*e]},d.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),d):t},d.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:c(+t),d):n},d.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:c(+t),d):e},d.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:c(+t),d):i},d.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:c(+t),d):r},d.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:c(+t),d):o},d.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:c(+t),d):a},d.context=function(t){return arguments.length?(s=null==t?null:t,d):s},d};function O(t){this._context=t}O.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var D=function(t){return new O(t)};function E(t){return t[0]}function N(t){return t[1]}var j=function(){var t=E,n=N,e=c(!0),i=null,r=D,o=null;function a(a){var s,c,h,f=a.length,l=!1;for(null==i&&(o=r(h=u())),s=0;s<=f;++s)!(s<f&&e(c=a[s],s,a))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+t(c,s,a),+n(c,s,a));if(h)return o=null,h+""||null}return a.x=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:c(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:c(!!t),a):e},a.curve=function(t){return arguments.length?(r=t,null!=i&&(o=r(i)),a):r},a.context=function(t){return arguments.length?(null==t?i=o=null:o=r(i=t),a):i},a},L=function(){var t=E,n=null,e=c(0),i=N,r=c(!0),o=null,a=D,s=null;function h(c){var h,f,l,d,p,g=c.length,v=!1,m=new Array(g),y=new Array(g);for(null==o&&(s=a(p=u())),h=0;h<=g;++h){if(!(h<g&&r(d=c[h],h,c))===v)if(v=!v)f=h,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),l=h-1;l>=f;--l)s.point(m[l],y[l]);s.lineEnd(),s.areaEnd()}v&&(m[h]=+t(d,h,c),y[h]=+e(d,h,c),s.point(n?+n(d,h,c):m[h],i?+i(d,h,c):y[h]))}if(p)return s=null,p+""||null}function f(){return j().defined(r).curve(a).context(o)}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:c(+e),n=null,h):t},h.x0=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),h):t},h.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:c(+t),h):n},h.y=function(t){return arguments.length?(e="function"==typeof t?t:c(+t),i=null,h):e},h.y0=function(t){return arguments.length?(e="function"==typeof t?t:c(+t),h):e},h.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:c(+t),h):i},h.lineX0=h.lineY0=function(){return f().x(t).y(e)},h.lineY1=function(){return f().x(t).y(i)},h.lineX1=function(){return f().x(n).y(e)},h.defined=function(t){return arguments.length?(r="function"==typeof t?t:c(!!t),h):r},h.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),h):a},h.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),h):o},h},F=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},z=function(t){return t},P=function(){var t=z,n=F,e=null,i=c(0),r=c(_),o=c(0);function a(a){var s,u,c,h,f,l=a.length,d=0,p=new Array(l),g=new Array(l),v=+i.apply(this,arguments),m=Math.min(_,Math.max(-_,r.apply(this,arguments)-v)),y=Math.min(Math.abs(m)/l,o.apply(this,arguments)),b=y*(m<0?-1:1);for(s=0;s<l;++s)(f=g[p[s]=s]=+t(a[s],s,a))>0&&(d+=f);for(null!=n?p.sort(function(t,e){return n(g[t],g[e])}):null!=e&&p.sort(function(t,n){return e(a[t],a[n])}),s=0,c=d?(m-l*b)/d:0;s<l;++s,v=h)g[u=p[s]]={data:a[u],index:s,value:f=g[u],startAngle:v,endAngle:h=v+(f>0?f*c:0)+b,padAngle:y};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:c(+t),a):i},a.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:c(+t),a):r},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:c(+t),a):o},a},Y=B(D);function H(t){this._curve=t}function B(t){function n(n){return new H(t(n))}return n._curve=t,n}H.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var U=function(){return t=j().curve(Y),n=t.curve,t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(B(t)):n()._curve},t;var t,n};Math.sqrt(1/3),Math.sin(y/10),Math.sin(7*y/10);var I=(Math.sin(_/10),Math.cos(_/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function R(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function G(t){this._context=t}function X(t,n){this._basis=new G(t),this._beta=n}function V(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function q(t,n){this._context=t,this._k=(1-n)/6}function W(t,n){this._context=t,this._k=(1-n)/6}G.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:R(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:R(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},X.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var i,r=t[0],o=n[0],a=t[e]-r,s=n[e]-o,u=-1;++u<=e;)this._basis.point(this._beta*t[u]+(1-this._beta)*(r+(i=u/e)*a),this._beta*n[u]+(1-this._beta)*(o+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},function t(n){function e(t){return 1===n?new G(t):new X(t,n)}return e.beta=function(n){return t(+n)},e}(.85),q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:V(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:V(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return new q(t,n)}return e.tension=function(n){return t(+n)},e}(0),W.prototype={areaStart:I,areaEnd:I,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:V(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var J=function t(n){function e(t){return new W(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Q(t,n){this._context=t,this._k=(1-n)/6}function Z(t,n,e){var i=t._x1,r=t._y1,o=t._x2,a=t._y2;if(t._l01_a>m){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>m){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/h,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/h}t._context.bezierCurveTo(i,r,o,a,t._x2,t._y2)}function $(t,n){this._context=t,this._alpha=n}function K(t,n){this._context=t,this._alpha=n}function tt(t,n){this._context=t,this._alpha=n}function nt(t){return t<0?-1:1}function et(t,n,e){var i=t._x1-t._x0,r=n-t._x1,o=(t._y1-t._y0)/(i||r<0&&-0),a=(e-t._y1)/(r||i<0&&-0),s=(o*r+a*i)/(i+r);return(nt(o)+nt(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function it(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function rt(t,n,e){var i=t._x0,r=t._x1,o=t._y1,a=(r-i)/3;t._context.bezierCurveTo(i+a,t._y0+a*n,r-a,o-a*e,r,o)}function ot(t){this._context=t}function at(t){this._context=t}Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:V(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return new Q(t,n)}return e.tension=function(n){return t(+n)},e}(0),$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Z(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return n?new $(t,n):new q(t,0)}return e.alpha=function(n){return t(+n)},e}(.5),K.prototype={areaStart:I,areaEnd:I,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Z(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return n?new K(t,n):new W(t,0)}return e.alpha=function(n){return t(+n)},e}(.5),tt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Z(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return n?new tt(t,n):new Q(t,0)}return e.alpha=function(n){return t(+n)},e}(.5),ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:rt(this,this._t0,it(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,rt(this,it(this,e=et(this,t,n)),e);break;default:rt(this,this._t0,e=et(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},((function(t){this._context=new at(t)}).prototype=Object.create(ot.prototype)).point=function(t,n){ot.prototype.point.call(this,n,t)},at.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,i,r,o){this._context.bezierCurveTo(n,t,i,e,o,r)}},e.d(n,"a",function(){return A}),e.d(n,"b",function(){return L}),e.d(n,"e",function(){return j}),e.d(n,"g",function(){return P}),e.d(n,"f",function(){return U}),e.d(n,"c",function(){return J}),e.d(n,"d",function(){return D})},"B/s7":function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG");var i=function(){function t(t){this.sanitizer=t,this.horizontal=!1}return t.prototype.ngOnChanges=function(t){var n=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=this.sanitizer.bypassSecurityTrustStyle("linear-gradient(to "+(this.horizontal?"right":"bottom")+", "+n+")")},t.prototype.gradientString=function(t,n){n.push(1);var e=[];return t.reverse().forEach(function(t,i){e.push(t+" "+Math.round(100*n[i])+"%")}),e.join(", ")},t}()},BcQD:function(t,n,e){"use strict";e.d(n,"a",function(){return i});var i=function(t){return t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover",t}({})},CbgT:function(t,n,e){"use strict";var i=e("lM2X"),r=(e("cav9"),e("EWCk"),e("FizQ"),e("SQr9"),e("mrSG"),e("8Y7J")),o=function(){function t(t,n){this.element=t,this.zone=n,this.visible=new r.m,this.isVisible=!1,this.runCheck()}return t.prototype.destroy=function(){clearTimeout(this.timeout)},t.prototype.onVisibilityChange=function(){var t=this;this.zone.run(function(){t.isVisible=!0,t.visible.emit(!0)})},t.prototype.runCheck=function(){var t=this,n=function(){if(t.element){var e=t.element.nativeElement;e.offsetHeight&&e.offsetWidth?(clearTimeout(t.timeout),t.onVisibilityChange()):(clearTimeout(t.timeout),t.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return n()},100)}))}};this.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return n()})})},t}();e("HyjC"),e.d(n,"b",function(){return i.a}),e.d(n,"a",function(){return o})},EWCk:function(t,n,e){"use strict";function i(t,n,e){return void 0===e&&(e="asc"),t.sort(function(t,i){return"asc"===e?t[n]-i[n]:i[n]-t[n]})}function r(t,n,e,i){return void 0===e&&(e="asc"),t.sort(function(t,r){var o=r[n],a=i.indexOf(t[n]),s=i.indexOf(o);return"asc"===e?a-s:s-a})}function o(t,n,e){return void 0===e&&(e="asc"),t.sort(function(t,i){var r=t[n].getTime(),o=i[n].getTime();return"asc"===e?r>o?1:o>r?-1:0:r>o?-1:o>r?1:0})}e.d(n,"c",function(){return i}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return o})},FizQ:function(t,n,e){"use strict";function i(t,n,e){var i,r,o;e=e||{};var a=null,s=0;function u(){s=!1===e.leading?0:+new Date,a=null,o=t.apply(i,r)}return function(){var c=+new Date;s||!1!==e.leading||(s=c);var h=n-(c-s);return i=this,r=arguments,h<=0?(clearTimeout(a),a=null,s=c,o=t.apply(i,r)):a||!1===e.trailing||(a=setTimeout(u,h)),o}}function r(t,n){return function(e,r,o){return{configurable:!0,enumerable:o.enumerable,get:function(){return Object.defineProperty(this,r,{configurable:!0,enumerable:o.enumerable,value:i(o.value,t,n)}),this[r]}}}}e.d(n,"a",function(){return r})},HaQI:function(t,n,e){"use strict";e.d(n,"a",function(){return a});var i=e("vBe5"),r=e("4jaM"),o=e("cav9"),a=function(){function t(t,n,e,i){"string"==typeof t&&(t=o.a.find(function(n){return n.name===t})),this.colorDomain=t.domain,this.scaleType=n,this.domain=e,this.customColors=i,this.scale=this.generateColorScheme(t,n,this.domain)}return t.prototype.generateColorScheme=function(t,n,e){var a;if("string"==typeof t&&(t=o.a.find(function(n){return n.name===t})),"quantile"===n)a=Object(r.e)().range(t.domain).domain(e);else if("ordinal"===n)a=Object(r.c)().range(t.domain).domain(e);else if("linear"===n){var s=t.domain.slice();1===s.length&&(s.push(s[0]),this.colorDomain=s);var u=Object(i.g)(0,1,1/s.length);a=Object(r.b)().domain(u).range(s)}return a},t.prototype.getColor=function(t){if(null==t)throw new Error("Value can not be null");if("linear"===this.scaleType){var n=Object(r.b)().domain(this.domain).range([0,1]);return this.scale(n(t))}if("function"==typeof this.customColors)return this.customColors(t);var e=t.toString(),i=void 0;return this.customColors&&this.customColors.length>0&&(i=this.customColors.find(function(t){return t.name.toLowerCase()===e.toLowerCase()})),i?i.value:this.scale(t)},t.prototype.getLinearGradientStops=function(t,n){void 0===n&&(n=this.domain[0]);var e=Object(r.b)().domain(this.domain).range([0,1]),i=Object(r.a)().domain(this.colorDomain).range([0,1]),o=this.getColor(t),a=e(n),s=this.getColor(n),u=e(t),c=1,h=a,f=[];for(f.push({color:s,offset:a,originalOffset:a,opacity:1});h<u&&c<this.colorDomain.length;){var l=this.colorDomain[c],d=i(l);if(d<=a)c++;else{if(d.toFixed(4)>=(u-i.bandwidth()).toFixed(4))break;f.push({color:l,offset:d,opacity:1}),h=d,c++}}if(f[f.length-1].offset<100&&f.push({color:o,offset:u,opacity:1}),u===a)f[0].offset=0,f[1].offset=100;else if(100!==f[f.length-1].offset)for(var p=0,g=f;p<g.length;p++){var v=g[p];v.offset=(v.offset-a)/(u-a)*100}return f},t}()},HyjC:function(t,n,e){"use strict";function i(t){return"[object Date]"===toString.call(t)}e.d(n,"a",function(){return i})},ILGr:function(t,n,e){"use strict";e("b3E/"),e("k/Rj"),e("scW6"),e("+vzl"),e("zCvi"),e("zBNi"),e("BcQD")},"IU+9":function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG");var i=function(){function t(){this.orientation="vertical"}return t.prototype.ngOnChanges=function(t){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%","horizontal"===this.orientation?this.x2="100%":"vertical"===this.orientation&&(this.y1="100%")},t}()},IX8M:function(t,n,e){"use strict";function i(t,n){if(t.length>n){for(var e=[],i=Math.floor(t.length/n),r=0;r<t.length;r++)r%i==0&&e.push(t[r]);t=e}return t}e.d(n,"a",function(){return i})},IZET:function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("4jaM"),e("8d86"),e("Oqv5"),e("HaQI"),e("bgPL"),e("lM2X"),e("/X9X"),e("EWCk"),e("w6+6"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},J6WN:function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("pD2Y"),e("/TIM"),e("8d86"),e("lM2X")},KeWI:function(t,n,e){"use strict";e("mrSG"),e("w6+6"),e("8Y7J"),e("/TIM"),e("lM2X"),e("anzK"),e("4jaM"),e("bgPL"),e("Oqv5"),e("HaQI"),e("/X9X"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},KktT:function(t,n,e){"use strict";e("mrSG"),e("w6+6"),e("4jaM"),e("bgPL"),e("Oqv5"),e("HaQI"),e("8Y7J"),e("anzK"),e("8d86"),e("50k4"),e("1jDe"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},LKRB:function(t,n,e){"use strict";e.d(n,"a",function(){return u});var i=e("mrSG"),r=e("8Y7J"),o=e("4jaM"),a=e("Oqv5"),s=e("HaQI"),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.legend=!1,n.legendTitle="Legend",n.legendPosition="right",n.tooltipDisabled=!1,n.showGridLines=!0,n.activeEntries=[],n.trimXAxisTicks=!0,n.trimYAxisTicks=!0,n.rotateXAxisTicks=!0,n.maxXAxisTickLength=16,n.maxYAxisTickLength=16,n.barPadding=8,n.roundDomains=!1,n.roundEdges=!0,n.showDataLabel=!1,n.noBarWhenZero=!0,n.activate=new r.m,n.deactivate=new r.m,n.margin=[10,20,10,20],n.xAxisHeight=0,n.yAxisWidth=0,n.dataLabelMaxHeight={negative:0,positive:0},n}return Object(i.b)(n,t),n.prototype.update=function(){t.prototype.update.call(this),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Object(a.a)({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform="translate("+this.dims.xOffset+" , "+(this.margin[0]+this.dataLabelMaxHeight.negative)+")"},n.prototype.getXScale=function(){this.xDomain=this.getXDomain();var t=this.xDomain.length/(this.dims.width/this.barPadding+1);return Object(o.a)().range([0,this.dims.width]).paddingInner(t).domain(this.xDomain)},n.prototype.getYScale=function(){this.yDomain=this.getYDomain();var t=Object(o.b)().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?t.nice():t},n.prototype.getXDomain=function(){return this.results.map(function(t){return t.label})},n.prototype.getYDomain=function(){var t=this.results.map(function(t){return t.value}),n=this.yScaleMin?Math.min.apply(Math,[this.yScaleMin].concat(t)):Math.min.apply(Math,[0].concat(t));this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(n=Math.min.apply(Math,[n].concat(this.yAxisTicks)));var e=this.yScaleMax?Math.max.apply(Math,[this.yScaleMax].concat(t)):Math.max.apply(Math,[0].concat(t));return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(e=Math.max.apply(Math,[e].concat(this.yAxisTicks))),[n,e]},n.prototype.onClick=function(t){this.select.emit(t)},n.prototype.setColors=function(){this.colors=new s.a(this.scheme,this.schemeType,"ordinal"===this.schemeType?this.xDomain:this.yDomain,this.customColors)},n.prototype.getLegendOptions=function(){var t={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return"ordinal"===t.scaleType?(t.domain=this.xDomain,t.colors=this.colors,t.title=this.legendTitle):(t.domain=this.yDomain,t.colors=this.colors.scale),t},n.prototype.updateYAxisWidth=function(t){this.yAxisWidth=t.width,this.update()},n.prototype.updateXAxisHeight=function(t){this.xAxisHeight=t.height,this.update()},n.prototype.onDataLabelMaxHeightChanged=function(t){var n=this;t.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,t.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,t.size.height),t.index===this.results.length-1&&setTimeout(function(){return n.update()})},n.prototype.onActivate=function(t,n){void 0===n&&(n=!1),t=this.results.find(function(e){return n?e.label===t.name:e.name===t.name}),this.activeEntries.findIndex(function(n){return n.name===t.name&&n.value===t.value&&n.series===t.series})>-1||(this.activeEntries=[t].concat(this.activeEntries),this.activate.emit({value:t,entries:this.activeEntries}))},n.prototype.onDeactivate=function(t,n){void 0===n&&(n=!1),t=this.results.find(function(e){return n?e.label===t.name:e.name===t.name});var e=this.activeEntries.findIndex(function(n){return n.name===t.name&&n.value===t.value&&n.series===t.series});this.activeEntries.splice(e,1),this.activeEntries=this.activeEntries.slice(),this.deactivate.emit({value:t,entries:this.activeEntries})},n}(e("bgPL").a)},NT8I:function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("vBe5"),e("8d86"),e("anzK")},Oqv5:function(t,n,e){"use strict";function i(t){var n,e=t.margins,i=t.showXAxis,r=t.showYAxis,o=t.xAxisHeight,a=t.yAxisWidth,s=void 0===a?0:a,u=t.showXLabel,c=t.showYLabel,h=t.showLegend,f=t.legendType,l=t.legendPosition,d=t.columns,p=void 0===d?12:d,g=e[3],v=t.width,m=t.height-e[0]-e[2];return void 0!==h&&h&&"right"===(void 0===l?"right":l)&&(p-="ordinal"===(void 0===f?"ordinal":f)?2:1),v=(v=v*p/12)-e[1]-e[3],void 0!==i&&i&&(m-=5,m-=void 0===o?0:o,void 0!==u&&u&&(m-=n=30)),void 0!==r&&r&&(v-=5,v-=s,g+=s,g+=10,void 0!==c&&c&&(v-=n=30,g+=n)),v=Math.max(0,v),m=Math.max(0,m),{width:Math.floor(v),height:Math.floor(m),xOffset:Math.floor(g)}}e.d(n,"a",function(){return i})},Qb23:function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("/TIM")},QkSP:function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e("mrSG");var i=e("8Y7J"),r=e("3bP5"),o=e("IX8M"),a=function(){function t(){this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new i.m,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor="middle",this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout(function(){return t.updateDims()})},t.prototype.updateDims=function(){var t=this,n=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);n!==this.height&&(this.height=n,this.dimensionsChanged.emit({height:n}),setTimeout(function(){return t.updateDims()}))},t.prototype.update=function(){var t=this,n=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:n.tickFormat?n.tickFormat.apply(n,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()};var e=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(t){return this.scale(t)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",e&&0!==e?(this.textTransform="rotate("+e+")",this.textAnchor="end",this.verticalSpacing=10):this.textAnchor="middle",setTimeout(function(){return t.updateDims()})},t.prototype.getRotationAngle=function(t){var n=0;this.maxTicksLength=0;for(var e=0;e<t.length;e++){var i=this.tickFormat(t[e]).toString(),r=i.length;this.trimTicks&&(r=this.tickTrim(i).length),r>this.maxTicksLength&&(this.maxTicksLength=r)}for(var o=8*Math.min(this.maxTicksLength,this.maxAllowedLength),a=o,s=Math.floor(this.width/t.length);a>s&&n>-90;)n-=30,a=Math.cos(n*(Math.PI/180))*o;return n},t.prototype.getTicks=function(){var t,n=this.getMaxTicks(20),e=this.getMaxTicks(100);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[e]):(t=this.scale.domain(),t=Object(o.a)(t,n)),t},t.prototype.getMaxTicks=function(t){return Math.floor(this.width/t)},t.prototype.tickTransform=function(t){return"translate("+this.adjustedScale(t)+","+this.verticalSpacing+")"},t.prototype.gridLineTransform=function(){return"translate(0,"+(-this.verticalSpacing-5)+")"},t.prototype.tickTrim=function(t){return this.trimTicks?Object(r.a)(t,this.maxTickLength):t},t}()},"SC+/":function(t,n,e){"use strict";var i=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t};function r(t,n){var e=Object.create(t.prototype);for(var i in n)e[i]=n[i];return e}function o(){}var a="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3})$/,h=/^#([0-9a-f]{6})$/,f=new RegExp("^rgb\\("+[a,a,a]+"\\)$"),l=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgba\\("+[a,a,a,s]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,s]+"\\)$"),g=new RegExp("^hsl\\("+[s,u,u]+"\\)$"),v=new RegExp("^hsla\\("+[s,u,u,s]+"\\)$"),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 y(t){var n;return t=(t+"").trim().toLowerCase(),(n=c.exec(t))?new M((n=parseInt(n[1],16))>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=h.exec(t))?b(parseInt(n[1],16)):(n=f.exec(t))?new M(n[1],n[2],n[3],1):(n=l.exec(t))?new M(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=d.exec(t))?_(n[1],n[2],n[3],n[4]):(n=p.exec(t))?_(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=g.exec(t))?C(n[1],n[2]/100,n[3]/100,1):(n=v.exec(t))?C(n[1],n[2]/100,n[3]/100,n[4]):m.hasOwnProperty(t)?b(m[t]):"transparent"===t?new M(NaN,NaN,NaN,0):null}function b(t){return new M(t>>16&255,t>>8&255,255&t,1)}function _(t,n,e,i){return i<=0&&(t=n=e=NaN),new M(t,n,e,i)}function x(t){return t instanceof o||(t=y(t)),t?new M((t=t.rgb()).r,t.g,t.b,t.opacity):new M}function w(t,n,e,i){return 1===arguments.length?x(t):new M(t,n,e,null==i?1:i)}function M(t,n,e,i){this.r=+t,this.g=+n,this.b=+e,this.opacity=+i}function T(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function C(t,n,e,i){return i<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new S(t,n,e,i)}function k(t,n,e,i){return 1===arguments.length?function(t){if(t instanceof S)return new S(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=y(t)),!t)return new S;if(t instanceof S)return t;var n=(t=t.rgb()).r/255,e=t.g/255,i=t.b/255,r=Math.min(n,e,i),a=Math.max(n,e,i),s=NaN,u=a-r,c=(a+r)/2;return u?(s=n===a?(e-i)/u+6*(e<i):e===a?(i-n)/u+2:(n-e)/u+4,u/=c<.5?a+r:2-a-r,s*=60):u=c>0&&c<1?0:s,new S(s,u,c,t.opacity)}(t):new S(t,n,e,null==i?1:i)}function S(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function A(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}i(o,y,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),i(M,w,r(o,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new M(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:function(){return"#"+T(this.r)+T(this.g)+T(this.b)},toString:function(){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+")")}})),i(S,k,r(o,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new S(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new S(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*n,r=2*e-i;return new M(A(t>=240?t-240:t+120,r,i),A(t,r,i),A(t<120?t+240:t-120,r,i),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}}));var O=Math.PI/180,D=180/Math.PI,E=.96422,N=1,j=.82521,L=4/29,F=6/29,z=3*F*F,P=F*F*F;function Y(t){if(t instanceof B)return new B(t.l,t.a,t.b,t.opacity);if(t instanceof V)return q(t);t instanceof M||(t=x(t));var n,e,i=G(t.r),r=G(t.g),o=G(t.b),a=U((.2225045*i+.7168786*r+.0606169*o)/N);return i===r&&r===o?n=e=a:(n=U((.4360747*i+.3850649*r+.1430804*o)/E),e=U((.0139322*i+.0971045*r+.7141733*o)/j)),new B(116*a-16,500*(n-a),200*(a-e),t.opacity)}function H(t,n,e,i){return 1===arguments.length?Y(t):new B(t,n,e,null==i?1:i)}function B(t,n,e,i){this.l=+t,this.a=+n,this.b=+e,this.opacity=+i}function U(t){return t>P?Math.pow(t,1/3):t/z+L}function I(t){return t>F?t*t*t:z*(t-L)}function R(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function G(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function X(t,n,e,i){return 1===arguments.length?function(t){if(t instanceof V)return new V(t.h,t.c,t.l,t.opacity);if(t instanceof B||(t=Y(t)),0===t.a&&0===t.b)return new V(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*D;return new V(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new V(t,n,e,null==i?1:i)}function V(t,n,e,i){this.h=+t,this.c=+n,this.l=+e,this.opacity=+i}function q(t){if(isNaN(t.h))return new B(t.l,0,0,t.opacity);var n=t.h*O;return new B(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}i(B,H,r(o,{brighter:function(t){return new B(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new B(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return new M(R(3.1338561*(n=E*I(n))-1.6168667*(t=N*I(t))-.4906146*(e=j*I(e))),R(-.9787684*n+1.9161415*t+.033454*e),R(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),i(V,X,r(o,{brighter:function(t){return new V(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new V(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return q(this).rgb()}}));var W=-.14861,J=1.78277,Q=-.29227,Z=-.90649,$=1.97294,K=$*Z,tt=$*J,nt=J*Q-Z*W;function et(t,n,e,i){return 1===arguments.length?function(t){if(t instanceof it)return new it(t.h,t.s,t.l,t.opacity);t instanceof M||(t=x(t));var n=t.g/255,e=t.b/255,i=(nt*e+K*(t.r/255)-tt*n)/(nt+K-tt),r=e-i,o=($*(n-i)-Q*r)/Z,a=Math.sqrt(o*o+r*r)/($*i*(1-i)),s=a?Math.atan2(o,r)*D-120:NaN;return new it(s<0?s+360:s,a,i,t.opacity)}(t):new it(t,n,e,null==i?1:i)}function it(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}i(it,et,r(o,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new it(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new it(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*O,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),i=Math.cos(t),r=Math.sin(t);return new M(255*(n+e*(W*i+J*r)),255*(n+e*(Q*i+Z*r)),255*(n+e*($*i)),this.opacity)}})),e.d(n,"a",function(){return y}),e.d(n,"f",function(){return w}),e.d(n,"d",function(){return k}),e.d(n,"e",function(){return H}),e.d(n,"c",function(){return X}),e.d(n,"b",function(){return et})},SQr9:function(t,n,e){"use strict";e.d(n,"a",function(){return r});var i=e("SC+/");function r(t){var n=i.f(t),e=n.r,r=n.g,o=n.b;return 0===n.opacity?n.toString():function(t,e){var i=n.r,r=n.g,o=n.b,a=e<0?0:255,s=e<0?-1*e:e;return"rgb("+(i=Math.round((a-i)*s)+i)+", "+(r=Math.round((a-r)*s)+r)+", "+(o=Math.round((a-o)*s)+o)+")"}(0,(299*e+587*r+114*o)/1e3>=128?-.8:.8)}},Se1k:function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG");var i=function(){function t(t,n,e){this.applicationRef=t,this.componentFactoryResolver=n,this.injector=e}var n;return n=t,t.setGlobalRootViewContainer=function(t){n.globalRootViewContainer=t},t.prototype.getRootViewContainer=function(){var t=this.applicationRef.components;if(t&&t.length)return t[0];if(this._container)return this._container;if(n.globalRootViewContainer)return n.globalRootViewContainer;throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer.")},t.prototype.setRootViewContainer=function(t){this._container=t},t.prototype.getComponentRootNode=function(t){return t.hostView?t.hostView.rootNodes[0]:t.element.nativeElement},t.prototype.getRootViewContainerNode=function(){return this.getComponentRootNode(this.getRootViewContainer())},t.prototype.projectComponentBindings=function(t,n){if(n){if(void 0!==n.inputs)for(var e=0,i=Object.getOwnPropertyNames(n.inputs);e<i.length;e++){var r=i[e];t.instance[r]=n.inputs[r]}if(void 0!==n.outputs)for(var o=0,a=Object.getOwnPropertyNames(n.outputs);o<a.length;o++){var s=a[o];t.instance[s]=n.outputs[s]}}return t},t.prototype.appendComponent=function(t,n,e){void 0===n&&(n={}),void 0===e&&(e=this.getRootViewContainerNode());var i=this.componentFactoryResolver.resolveComponentFactory(t).create(this.injector),r=this.applicationRef,o=this.getComponentRootNode(i);return this.projectComponentBindings(i,n),r.attachView(i.hostView),i.onDestroy(function(){r.detachView(i.hostView)}),i.instance.renderer.appendChild(e,o),i},t.globalRootViewContainer=null,t}()},Sf3l:function(t,n,e){"use strict";var i=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({}),r=7;function o(t,n,e){return"top"===e?t.top-r:"bottom"===e?t.top+t.height-n.height+r:"center"===e?t.top+t.height/2-n.height/2:void 0}function a(t,n,e){return"left"===e?t.left-r:"right"===e?t.left+t.width-n.width+r:"center"===e?t.left+t.width/2-n.width/2:void 0}var s=function(){function t(){}return t.calculateVerticalAlignment=function(t,n,e){var i=o(t,n,e);return i+n.height>window.innerHeight&&(i=window.innerHeight-n.height),i},t.calculateVerticalCaret=function(t,n,e,i){var a;"top"===i&&(a=t.height/2-e.height/2+r),"bottom"===i&&(a=n.height-t.height/2-e.height/2-r),"center"===i&&(a=n.height/2-e.height/2);var s=o(t,n,i);return s+n.height>window.innerHeight&&(a+=s+n.height-window.innerHeight),a},t.calculateHorizontalAlignment=function(t,n,e){var i=a(t,n,e);return i+n.width>window.innerWidth&&(i=window.innerWidth-n.width),i},t.calculateHorizontalCaret=function(t,n,e,i){var o;"left"===i&&(o=t.width/2-e.width/2+r),"right"===i&&(o=n.width-t.width/2-e.width/2-r),"center"===i&&(o=n.width/2-e.width/2);var s=a(t,n,i);return s+n.width>window.innerWidth&&(o+=s+n.width-window.innerWidth),o},t.shouldFlip=function(t,n,e,i){var r=!1;return"right"===e&&t.left+t.width+n.width+i>window.innerWidth&&(r=!0),"left"===e&&t.left-n.width-i<0&&(r=!0),"top"===e&&t.top-n.height-i<0&&(r=!0),"bottom"===e&&t.top+t.height+n.height+i>window.innerHeight&&(r=!0),r},t.positionCaret=function(n,e,r,o,a){var s=0,u=0;return n===i.right?(u=-7,s=t.calculateVerticalCaret(r,e,o,a)):n===i.left?(u=e.width,s=t.calculateVerticalCaret(r,e,o,a)):n===i.top?(s=e.height,u=t.calculateHorizontalCaret(r,e,o,a)):n===i.bottom&&(s=-7,u=t.calculateHorizontalCaret(r,e,o,a)),{top:s,left:u}},t.positionContent=function(n,e,r,o,a){var s=0,u=0;return n===i.right?(u=r.left+r.width+o,s=t.calculateVerticalAlignment(r,e,a)):n===i.left?(u=r.left-e.width-o,s=t.calculateVerticalAlignment(r,e,a)):n===i.top?(s=r.top-e.height-o,u=t.calculateHorizontalAlignment(r,e,a)):n===i.bottom&&(s=r.top+r.height+o,u=t.calculateHorizontalAlignment(r,e,a)),{top:s,left:u}},t.determinePlacement=function(n,e,r,o){if(t.shouldFlip(r,e,n,o)){if(n===i.right)return i.left;if(n===i.left)return i.right;if(n===i.top)return i.bottom;if(n===i.bottom)return i.top}return n},t}();e.d(n,"a",function(){return i}),e.d(n,"b",function(){return s})},T8sE:function(t,n,e){"use strict";e("mrSG"),e("w6+6"),e("8Y7J"),e("4jaM"),e("bgPL"),e("Oqv5"),e("HaQI"),e("/X9X"),e("lM2X"),e("anzK"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},U3vz:function(t,n,e){"use strict";e("mrSG"),e("w6+6"),e("8Y7J"),e("3bP5"),e("+1uz"),e("fLKZ"),e("SQr9"),e("bgPL"),e("Oqv5"),e("HaQI"),e("e7Zl"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},UsZU:function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG"),e("w6+6"),e("Qb23"),e("l/X3"),e("oAiE");var i=function(){return function(){}}()},Ywhj:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e("mrSG");var i=e("8Y7J"),r=(e("QkSP"),function(){function t(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient="bottom",this.xAxisOffset=0,this.dimensionsChanged=new i.m,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){this.transform="translate(0,"+(this.xAxisOffset+this.padding+this.dims.height)+")",void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])},t.prototype.emitTicksHeight=function(t){var n=this,e=t.height,i=e+25+5;i!==this.labelOffset&&(this.labelOffset=i,setTimeout(function(){n.dimensionsChanged.emit({height:e})},0))},t}())},ZRd5:function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("vBe5"),e("rWgG"),e("Oqv5"),e("HaQI"),e("bgPL"),e("3bP5"),e("e7Zl"),e("anzK")},anzK:function(t,n,e){"use strict";function i(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}e.d(n,"a",function(){return i})},"b3E/":function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG"),e("+vzl"),e("scW6"),e("k/Rj"),e("Se1k");var i=function(){return function(){}}()},bgPL:function(t,n,e){"use strict";e.d(n,"a",function(){return s}),e("mrSG");var i=e("8Y7J"),r=e("xgIS"),o=e("Kj3r"),a=e("CbgT"),s=function(){function t(t,n,e){this.chartElement=t,this.zone=n,this.cd=e,this.scheme="cool",this.schemeType="ordinal",this.animations=!0,this.select=new i.m}return t.prototype.ngAfterViewInit=function(){this.bindWindowResizeEvent(),this.visibilityObserver=new a.a(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))},t.prototype.ngOnDestroy=function(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())},t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{var t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()},t.prototype.getContainerDims=function(){var t,n,e=this.chartElement.nativeElement;if(null!==e.parentNode){var i=e.parentNode.getBoundingClientRect();t=i.width,n=i.height}return t&&n?{width:t,height:n}:null},t.prototype.formatDates=function(){for(var t=0;t<this.results.length;t++){var n=this.results[t];if(n.label=n.name,n.label instanceof Date&&(n.label=n.label.toLocaleDateString()),n.series)for(var e=0;e<n.series.length;e++){var i=n.series[e];i.label=i.name,i.label instanceof Date&&(i.label=i.label.toLocaleDateString())}}},t.prototype.unbindEvents=function(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()},t.prototype.bindWindowResizeEvent=function(){var t=this,n=Object(r.a)(window,"resize").pipe(Object(o.a)(200)).subscribe(function(n){t.update(),t.cd&&t.cd.markForCheck()});this.resizeSubscription=n},t.prototype.cloneData=function(t){for(var n=[],e=0,i=t;e<i.length;e++){var r=i[e],o={name:r.name};if(void 0!==r.value&&(o.value=r.value),void 0!==r.series){o.series=[];for(var a=0,s=r.series;a<s.length;a++){var u=Object.assign({},s[a]);o.series.push(u)}}void 0!==r.extra&&(o.extra=JSON.parse(JSON.stringify(r.extra))),n.push(o)}return n},t}()},cav9:function(t,n,e){"use strict";e.d(n,"a",function(){return i});var i=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}]},dGpj:function(t,n,e){"use strict";var i,r,o=0,a=0,s=0,u=1e3,c=0,h=0,f=0,l="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return h||(d(g),h=l.now()+f)}function g(){h=0}function v(){this._call=this._time=this._next=null}function m(t,n,e){var i=new v;return i.restart(t,n,e),i}function y(){h=(c=l.now())+f,o=a=0;try{!function(){p(),++o;for(var t,n=i;n;)(t=h-n._time)>=0&&n._call.call(null,t),n=n._next;--o}()}finally{o=0,function(){for(var t,n,e=i,o=1/0;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:i=n);r=t,_(o)}(),h=0}}function b(){var t=l.now(),n=t-c;n>u&&(f-=n,c=t)}function _(t){o||(a&&(a=clearTimeout(a)),t-h>24?(t<1/0&&(a=setTimeout(y,t-l.now()-f)),s&&(s=clearInterval(s))):(s||(c=l.now(),s=setInterval(b,u)),o=1,d(y)))}v.prototype=m.prototype={constructor:v,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}};var x=function(t,n,e){var i=new v;return i.restart(function(e){i.stop(),t(e+n)},n=null==n?0:+n,e),i};e.d(n,"a",function(){return p}),e.d(n,"c",function(){return m}),e.d(n,"b",function(){return x})},dP00:function(t,n,e){"use strict";e.d(n,"a",function(){return o}),e.d(n,"b",function(){return a}),e("mrSG");var i=e("8Y7J"),r=e("anzK"),o=function(t){return t.positive="positive",t.negative="negative",t}({}),a=function(){function t(){this.type="standard",this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new i.m,this.activate=new i.m,this.deactivate=new i.m,this.dataLabelHeightChanged=new i.m,this.barsForDataLabels=[]}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){var t,n,e=this;this.updateTooltipSettings(),this.series.length&&(n=this.xScale.bandwidth()),n=Math.round(n);var i,a=Math.max(this.yScale.domain()[0],0),s=((t={})[o.positive]=0,t[o.negative]=0,t),u=o.positive;"normalized"===this.type&&(i=this.series.map(function(t){return t.value}).reduce(function(t,n){return t+n},0)),this.bars=this.series.map(function(t,c){var h=t.value,f=e.getLabel(t),l=Object(r.a)(f);u=h>0?o.positive:o.negative;var d={value:h,label:f,roundEdges:e.roundEdges,data:t,width:n,formattedLabel:l,height:0,x:0,y:0};if("standard"===e.type)d.height=Math.abs(e.yScale(h)-e.yScale(a)),d.x=e.xScale(f),d.y=e.yScale(h<0?0:h);else if("stacked"===e.type){var p=(g=s[u])+h;s[u]+=h,d.height=e.yScale(g)-e.yScale(p),d.x=0,d.y=e.yScale(p),d.offset0=g,d.offset1=p}else if("normalized"===e.type){var g;p=(g=s[u])+h,s[u]+=h,i>0?(g=100*g/i,p=100*p/i):(g=0,p=0),d.height=e.yScale(g)-e.yScale(p),d.x=0,d.y=e.yScale(p),d.offset0=g,d.offset1=p,h=(p-g).toFixed(2)+"%"}"ordinal"===e.colors.scaleType?d.color=e.colors.getColor(f):"standard"===e.type?(d.color=e.colors.getColor(h),d.gradientStops=e.colors.getLinearGradientStops(h)):(d.color=e.colors.getColor(d.offset1),d.gradientStops=e.colors.getLinearGradientStops(d.offset1,d.offset0));var v=l;return d.ariaLabel=l+" "+h.toLocaleString(),e.seriesName&&(v=e.seriesName+" \u2022 "+l,d.data.series=e.seriesName,d.ariaLabel=e.seriesName+" "+d.ariaLabel),d.tooltipText=e.tooltipDisabled?void 0:'\n <span class="tooltip-label">'+v+'</span>\n <span class="tooltip-val">'+h.toLocaleString()+"</span>\n ",d}),this.updateDataLabels()},t.prototype.updateDataLabels=function(){var t=this;if("stacked"===this.type){this.barsForDataLabels=[];var n={};n.series=this.seriesName;var e=this.series.map(function(t){return t.value}).reduce(function(t,n){return n>0?t+n:t},0),i=this.series.map(function(t){return t.value}).reduce(function(t,n){return n<0?t+n:t},0);n.total=e+i,n.x=0,n.y=0,n.height=this.yScale(n.total>0?e:i),n.width=this.xScale.bandwidth(),this.barsForDataLabels.push(n)}else this.barsForDataLabels=this.series.map(function(n){var e={};return e.series=t.seriesName?t.seriesName:n.label,e.total=n.value,e.x=t.xScale(n.label),e.y=t.yScale(0),e.height=t.yScale(e.total)-t.yScale(0),e.width=t.xScale.bandwidth(),e})},t.prototype.updateTooltipSettings=function(){this.tooltipPlacement=this.tooltipDisabled?void 0:"top",this.tooltipType=this.tooltipDisabled?void 0:"tooltip"},t.prototype.isActive=function(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(function(n){return t.name===n.name&&t.series===n.series})},t.prototype.onClick=function(t){this.select.emit(t)},t.prototype.getLabel=function(t){return t.label?t.label:t.name},t.prototype.trackBy=function(t,n){return n.label},t.prototype.trackDataLabelBy=function(t,n){return t+"#"+n.series+"#"+n.total},t}()},e7Zl:function(t,n,e){"use strict";e.d(n,"b",function(){return r}),e.d(n,"a",function(){return o});var i=e("4jaM");function r(t,n,e){var i=1,r=n,o=t.width;if(o>e)for(;o/r<e;)i+=1,r=Math.ceil(n/i);return[r,i]}function o(t,n,e,o){for(var a=Object(i.a)(),s=Object(i.a)(),u=t.width,c=t.height,h=r(t,n.length,e),f=h[0],l=h[1],d=[],p=[],g=0;g<l;g++)p.push(g);for(g=0;g<f;g++)d.push(g);a.domain(d),s.domain(p),a.rangeRound([0,u],.1),s.rangeRound([0,c],.1);var v=[],m=o||n.map(function(t){return t?t.value:0}).reduce(function(t,n){return t+n},0),y=a.bandwidth(),b=s.bandwidth();for(g=0;g<n.length;g++)v[g]={},v[g].data={name:n[g]?n[g].name:"",value:n[g]?n[g].value:void 0,extra:n[g]?n[g].extra:void 0,label:n[g]?n[g].label:""},v[g].x=a(g%f),v[g].y=s(Math.floor(g/f)),v[g].width=y,v[g].height=b,v[g].data.percent=m>0?v[g].data.value/m:0,v[g].data.total=m;return v}},eZ3f:function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("Oqv5"),e("HaQI"),e("bgPL")},eby4:function(t,n,e){"use strict";e("mrSG"),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains),e("w6+6"),e("IZET"),e("1jDe"),e("T8sE"),e("skic"),e("KeWI"),e("UsZU"),e("o56U"),e("U3vz"),e("50k4"),e("r6ye"),e("KktT"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},fLKZ:function(t,n,e){"use strict";e("mrSG");var i=e("8Y7J");function r(t,n,e,i){return e*(1-Math.pow(2,-10*t/i))*1024/1023+n}function o(t,n,e,i,o){var a,s=Number(t),u=Number(n),c=s>u,h=Math.max(0,e),f=Math.pow(10,h),l=1e3*Number(i);return requestAnimationFrame(function(t){return a=t,function t(n){var e,i=n-a;e=c?s-r(i,0,s-u,l):r(i,s,u-s,l),e=c?e<u?u:e:e>u?u:e,e=Math.round(e*f)/f;var h=i<l;if(o({value:e,progress:i,timestamp:n,finished:!h}),h)return requestAnimationFrame(function(n){return t(n)})}(t)})}function a(t){var n=Number(t);return n%1!=0&&Math.abs(n)<=10?2:0}var s=function(){function t(t,n){this.cd=t,this.countDuration=1,this.countPrefix="",this.countSuffix="",this.countChange=new i.m,this.countFinish=new i.m,this.value="",this._countDecimals=0,this._countTo=0,this._countFrom=0,this.nativeElement=n.nativeElement}return Object.defineProperty(t.prototype,"countDecimals",{get:function(){return this._countDecimals?this._countDecimals:a(this.countTo)},set:function(t){this._countDecimals=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"countTo",{get:function(){return this._countTo},set:function(t){this._countTo=parseFloat(t),this.start()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"countFrom",{get:function(){return this._countFrom},set:function(t){this._countFrom=parseFloat(t),this.start()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){cancelAnimationFrame(this.animationReq)},t.prototype.start=function(){var t=this;cancelAnimationFrame(this.animationReq);var n=this.valueFormatting||function(n){return""+t.countPrefix+n.toLocaleString()+t.countSuffix};this.animationReq=o(this.countFrom,this.countTo,this.countDecimals,this.countDuration,function(e){var i=e.progress,r=e.finished;t.value=n(e.value),t.cd.markForCheck(),r||t.countChange.emit({value:t.value,progress:i}),r&&t.countFinish.emit({value:t.value,progress:i})})},t}();e.d(n,"a",function(){return s}),e.d(n,"b",function(){return o}),e.d(n,"c",function(){return a})},"k/Rj":function(t,n,e){"use strict";var i=e("mrSG"),r=(e("Se1k"),function(){function t(t){this.injectionService=t,this.defaults={},this.components=new Map}return t.prototype.getByType=function(t){return void 0===t&&(t=this.type),this.components.get(t)},t.prototype.create=function(t){return this.createByType(this.type,t)},t.prototype.createByType=function(t,n){n=this.assignDefaults(n);var e=this.injectComponent(t,n);return this.register(t,e),e},t.prototype.destroy=function(t){var n=this.components.get(t.componentType);if(n){var e=n.indexOf(t);e>-1&&(n[e].destroy(),n.splice(e,1))}},t.prototype.destroyAll=function(){this.destroyByType(this.type)},t.prototype.destroyByType=function(t){var n=this.components.get(t);if(n)for(var e=0,i=n;e<i.length;e++)this.destroy(i[e])},t.prototype.assignDefaults=function(t){var n=this.defaults,e=n.inputs,i=n.outputs;return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(e,t.inputs)),i&&(t.outputs=Object.assign(i,t.outputs)),t},t.prototype.injectComponent=function(t,n){return this.injectionService.appendComponent(t,n)},t.prototype.register=function(t,n){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(n)},t}()),o=e("scW6");e.d(n,"a",function(){return a});var a=function(t){function n(n){var e=t.call(this,n)||this;return e.injectionService=n,e.type=o.a,e}return Object(i.b)(n,t),n}(r)},"k79+":function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e("mrSG");var i=e("8Y7J"),r=(e("0yKa"),function(){function t(){this.showGridLines=!1,this.yOrient="left",this.yAxisOffset=0,this.dimensionsChanged=new i.m,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){this.offset=-(this.yAxisOffset+this.padding),"right"===this.yOrient?(this.labelOffset=65,this.transform="translate("+(this.offset+this.dims.width)+" , 0)"):(this.offset=this.offset,this.transform="translate("+this.offset+" , 0)"),void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])},t.prototype.emitTicksWidth=function(t){var n=this,e=t.width;e!==this.labelOffset&&"right"===this.yOrient?(this.labelOffset=e+this.labelOffset,setTimeout(function(){n.dimensionsChanged.emit({width:e})},0)):e!==this.labelOffset&&(this.labelOffset=e,setTimeout(function(){n.dimensionsChanged.emit({width:e})},0))},t}())},"l/X3":function(t,n,e){"use strict";e("mrSG"),e("8Y7J"),e("4jaM"),e("8d86"),e("Oqv5"),e("HaQI"),e("bgPL"),e("lM2X"),e("/X9X")},lM2X:function(t,n,e){"use strict";e.d(n,"a",function(){return r});var i={};function r(){var t=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return i[t="a"+t]?r():(i[t]=!0,t)}},lTBp:function(t,n,e){"use strict";e.d(n,"a",function(){return o}),e("mrSG");var i=e("8Y7J"),r=e("anzK"),o=function(){function t(t){this.dimensionsChanged=new i.m,this.horizontalPadding=2,this.verticalPadding=5,this.element=t.nativeElement}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.getSize=function(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}},t.prototype.ngAfterViewInit=function(){this.dimensionsChanged.emit(this.getSize())},t.prototype.update=function(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):Object(r.a)(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform="rotate(-45, "+this.x+" , "+this.y+")")},t}()},nJx2:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e("mrSG");var i=e("8Y7J"),r=(e("ILGr"),function(){function t(t,n){this.vcr=t,this.tooltipService=n,this.showLegend=!1,this.animations=!0,this.legendLabelClick=new i.m,this.legendLabelActivate=new i.m,this.legendLabelDeactivate=new i.m,this.tooltipService.injectionService.setRootViewContainer(this.vcr)}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){var t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&"right"!==this.legendOptions.position||(t="scaleLegend"===this.legendType?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&"right"!==this.legendOptions.position?this.chartWidth:Math.floor(this.view[0]*t/12)},t.prototype.getLegendType=function(){return"linear"===this.legendOptions.scaleType?"scaleLegend":"legend"},t}())},o56U:function(t,n,e){"use strict";e("mrSG"),e("w6+6"),e("8Y7J"),e("4jaM"),e("8d86"),e("Oqv5"),e("HaQI"),e("bgPL"),e("/X9X"),e("HyjC"),Math,e("lM2X"),e("EWCk"),e("50k4"),e("eZ3f"),e("7lyt"),e("J6WN"),e("ZRd5"),e("6fCZ"),e("NT8I"),e("8aVx"),e("UsZU"),e("l/X3"),e("Qb23"),e("oAiE"),e.d(n,"a",function(){return i});var i=function(){return function(){}}()},oAiE:function(t,n,e){"use strict";e("mrSG"),e("8d86"),e("lM2X"),e("EWCk")},pD2Y:function(t,n,e){"use strict";var i=e("SC+/");function r(t,n,e,i,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*i+a*r)/6}var o=function(t){return function(){return t}};function a(t,n){return function(e){return t+e*n}}function s(t,n){var e=n-t;return e?a(t,e>180||e<-180?e-360*Math.round(e/360):e):o(isNaN(t)?n:t)}function u(t,n){var e=n-t;return e?a(t,e):o(isNaN(t)?n:t)}var c=function t(n){var e=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(i){return Math.pow(t+i*n,e)}}(n,e,t):o(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Object(i.f)(t)).r,(n=Object(i.f)(n)).r),o=e(t.g,n.g),a=e(t.b,n.b),s=u(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=a(n),t.opacity=s(n),t+""}}return r.gamma=t,r}(1);function h(t){return function(n){var e,r,o=n.length,a=new Array(o),s=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=Object(i.f)(n[e]),a[e]=r.r||0,s[e]=r.g||0,u[e]=r.b||0;return a=t(a),s=t(s),u=t(u),r.opacity=1,function(t){return r.r=a(t),r.g=s(t),r.b=u(t),r+""}}}h(function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],a=t[i+1];return r((e-i/n)*n,i>0?t[i-1]:2*o-a,o,a,i<n-1?t[i+2]:2*a-o)}}),h(function(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n);return r((e-i/n)*n,t[(i+n-1)%n],t[i%n],t[(i+1)%n],t[(i+2)%n])}});var f,l,d,p,g=function(t,n){return n-=t=+t,function(e){return t+n*e}},v=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,m=new RegExp(v.source,"g"),y=function(t,n){var e,i,r,o=v.lastIndex=m.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=v.exec(t))&&(i=m.exec(n));)(r=i.index)>o&&(r=n.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(e=e[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,u.push({i:a,x:g(e,i)})),o=m.lastIndex;return o<n.length&&(r=n.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var e,i=0;i<n;++i)s[(e=u[i]).i]=e.x(t);return s.join("")})},b=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?o(n):("number"===r?g:"string"===r?(e=Object(i.a)(n))?(n=e,c):y:n instanceof i.a?c:n instanceof Date?function(t,n){var e=new Date;return n-=t=+t,function(i){return e.setTime(t+n*i),e}}:Array.isArray(n)?function(t,n){var e,i=n?n.length:0,r=t?Math.min(i,t.length):0,o=new Array(r),a=new Array(i);for(e=0;e<r;++e)o[e]=b(t[e],n[e]);for(;e<i;++e)a[e]=n[e];return function(t){for(e=0;e<r;++e)a[e]=o[e](t);return a}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(t,n){var e,i={},r={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?i[e]=b(t[e],n[e]):r[e]=n[e];return function(t){for(e in i)r[e]=i[e](t);return r}}:g)(t,n)},_=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}},x=180/Math.PI,w={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},M=function(t,n,e,i,r,o){var a,s,u;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(u=t*e+n*i)&&(e-=t*u,i-=n*u),(s=Math.sqrt(e*e+i*i))&&(e/=s,i/=s,u/=s),t*i<n*e&&(t=-t,n=-n,u=-u,a=-a),{translateX:r,translateY:o,rotate:Math.atan2(n,t)*x,skewX:Math.atan(u)*x,scaleX:a,scaleY:s}};function T(t,n,e,i){function r(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],u=[];return o=t(o),a=t(a),function(t,i,r,o,a,s){if(t!==r||i!==o){var u=a.push("translate(",null,n,null,e);s.push({i:u-4,x:g(t,r)},{i:u-2,x:g(i,o)})}else(r||o)&&a.push("translate("+r+n+o+e)}(o.translateX,o.translateY,a.translateX,a.translateY,s,u),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(r(e)+"rotate(",null,i)-2,x:g(t,n)})):n&&e.push(r(e)+"rotate("+n+i)}(o.rotate,a.rotate,s,u),function(t,n,e,o){t!==n?o.push({i:e.push(r(e)+"skewX(",null,i)-2,x:g(t,n)}):n&&e.push(r(e)+"skewX("+n+i)}(o.skewX,a.skewX,s,u),function(t,n,e,i,o,a){if(t!==e||n!==i){var s=o.push(r(o)+"scale(",null,",",null,")");a.push({i:s-4,x:g(t,e)},{i:s-2,x:g(n,i)})}else 1===e&&1===i||o.push(r(o)+"scale("+e+","+i+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var n,e=-1,i=u.length;++e<i;)s[(n=u[e]).i]=n.x(t);return s.join("")}}}var C=T(function(t){return"none"===t?w:(f||(f=document.createElement("DIV"),l=document.documentElement,d=document.defaultView),f.style.transform=t,t=d.getComputedStyle(l.appendChild(f),null).getPropertyValue("transform"),l.removeChild(f),t=t.slice(7,-1).split(","),M(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),k=T(function(t){return null==t?w:(p||(p=document.createElementNS("http://www.w3.org/2000/svg","g")),p.setAttribute("transform",t),(t=p.transform.baseVal.consolidate())?M((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):w)},", ",")",")");function S(t){return function(n,e){var r=t((n=Object(i.d)(n)).h,(e=Object(i.d)(e)).h),o=u(n.s,e.s),a=u(n.l,e.l),s=u(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=o(t),n.l=a(t),n.opacity=s(t),n+""}}}function A(t){return function(n,e){var r=t((n=Object(i.c)(n)).h,(e=Object(i.c)(e)).h),o=u(n.c,e.c),a=u(n.l,e.l),s=u(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=o(t),n.l=a(t),n.opacity=s(t),n+""}}}function O(t){return function n(e){function r(n,r){var o=t((n=Object(i.b)(n)).h,(r=Object(i.b)(r)).h),a=u(n.s,r.s),s=u(n.l,r.l),c=u(n.opacity,r.opacity);return function(t){return n.h=o(t),n.s=a(t),n.l=s(Math.pow(t,e)),n.opacity=c(t),n+""}}return e=+e,r.gamma=n,r}(1)}Math,S(s),S(u),A(s),A(u),O(s);var D=O(u);e.d(n,"a",function(){return b}),e.d(n,"c",function(){return g}),e.d(n,"e",function(){return _}),e.d(n,"f",function(){return y}),e.d(n,"g",function(){return C}),e.d(n,"h",function(){return k}),e.d(n,"d",function(){return c}),e.d(n,"b",function(){return D})},r6ye:function(t,n,e){"use strict";function i(t){var n=0,e=t.children,i=e&&e.length;if(i)for(;--i>=0;)n+=e[i].value;else n=1;t.value=n}function r(t,n){var e,i,r,a,c,h=new u(t),f=+t.value&&(h.value=t.value),l=[h];for(null==n&&(n=o);e=l.pop();)if(f&&(e.value=+e.data.value),(r=n(e.data))&&(c=r.length))for(e.children=new Array(c),a=c-1;a>=0;--a)l.push(i=e.children[a]=new u(r[a])),i.parent=e,i.depth=e.depth+1;return h.eachBefore(s)}function o(t){return t.children}function a(t){t.data=t.data.data}function s(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function u(t){this.data=t,this.depth=this.height=0,this.parent=null}e("mrSG"),e("w6+6"),e("8Y7J"),e("/TIM"),e("SQr9"),e("3bP5"),e("lM2X"),u.prototype=r.prototype={constructor:u,count:function(){return this.eachAfter(i)},each:function(t){var n,e,i,r,o=this,a=[o];do{for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(i=0,r=e.length;i<r;++i)a.push(e[i])}while(a.length);return this},eachAfter:function(t){for(var n,e,i,r=this,o=[r],a=[];r=o.pop();)if(a.push(r),n=r.children)for(e=0,i=n.length;e<i;++e)o.push(n[e]);for(;r=a.pop();)t(r);return this},eachBefore:function(t){for(var n,e,i=this,r=[i];i=r.pop();)if(t(i),n=i.children)for(e=n.length-1;e>=0;--e)r.push(n[e]);return this},sum:function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,i=n.children,r=i&&i.length;--r>=0;)e+=i[r].value;n.value=e})},sort:function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),i=n.ancestors(),r=null;for(t=e.pop(),n=i.pop();t===n;)r=t,t=e.pop(),n=i.pop();return r}(n,t),i=[n];n!==e;)i.push(n=n.parent);for(var r=i.length;t!==e;)i.splice(r,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each(function(n){t.push(n)}),t},leaves:function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},links:function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n},copy:function(){return r(this).eachBefore(a)}};var c=function(t,n,e,i,r){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(i-n)/t.value;++s<u;)(o=a[s]).y0=e,o.y1=r,o.x0=n,o.x1=n+=o.value*c};Object.create(u.prototype);var h=function(t,n,e,i,r){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s<u;)(o=a[s]).x0=n,o.x1=i,o.y0=e,o.y1=e+=o.value*c},f=(1+Math.sqrt(5))/2;function l(t,n,e,i,r,o){for(var a,s,u,f,l,d,p,g,v,m,y,b=[],_=n.children,x=0,w=0,M=_.length,T=n.value;x<M;){u=r-e,f=o-i;do{l=_[w++].value}while(!l&&w<M);for(d=p=l,y=l*l*(m=Math.max(f/u,u/f)/(T*t)),v=Math.max(p/y,y/d);w<M;++w){if(l+=s=_[w].value,s<d&&(d=s),s>p&&(p=s),y=l*l*m,(g=Math.max(p/y,y/d))>v){l-=s;break}v=g}b.push(a={value:l,dice:u<f,children:_.slice(x,w)}),a.dice?c(a,e,i,r,T?i+=f*l/T:o):h(a,e,i,T?e+=u*l/T:r,o),T-=l,x=w}return b}(function t(n){function e(t,e,i,r,o){l(n,t,e,i,r,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e})(f),function t(n){function e(t,e,i,r,o){if((a=t._squarify)&&a.ratio===n)for(var a,s,u,f,d,p=-1,g=a.length,v=t.value;++p<g;){for(u=(s=a[p]).children,f=s.value=0,d=u.length;f<d;++f)s.value+=u[f].value;s.dice?c(s,e,i,r,i+=(o-i)*s.value/v):h(s,e,i,e+=(r-e)*s.value/v,o),v-=s.value}else t._squarify=a=l(n,t,e,i,r,o),a.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(f),e("bgPL"),e("Oqv5"),e("HaQI"),e.d(n,"a",function(){return d});var d=function(){return function(){}}()},rWgG:function(t,n,e){"use strict";var i=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,i=t.slice(0,e);return[i.length>1?i[0]+i.slice(2):i,+t.slice(e+1)]},r=function(t){return(t=i(Math.abs(t)))?t[1]:NaN},o=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function a(t){return new s(t)}function s(t){if(!(n=o.exec(t)))throw new Error("invalid format: "+t);var n;this.fill=n[1]||" ",this.align=n[2]||">",this.sign=n[3]||"-",this.symbol=n[4]||"",this.zero=!!n[5],this.width=n[6]&&+n[6],this.comma=!!n[7],this.precision=n[8]&&+n[8].slice(1),this.trim=!!n[9],this.type=n[10]||""}a.prototype=s.prototype,s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var u,c,h,f,l=function(t){t:for(var n,e=t.length,i=1,r=-1;i<e;++i)switch(t[i]){case".":r=n=i;break;case"0":0===r&&(r=i),n=i;break;default:if(r>0){if(!+t[i])break t;r=0}}return r>0?t.slice(0,r)+t.slice(n+1):t},d=function(t,n){var e=i(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},p={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return d(100*t,n)},r:d,s:function(t,n){var e=i(t,n);if(!e)return t+"";var r=e[0],o=e[1],a=o-(u=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=r.length;return a===s?r:a>s?r+new Array(a-s+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+i(t,Math.max(0,n+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},g=function(t){return t},v=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];c=function(t){var n,e,i=t.grouping&&t.thousands?(n=t.grouping,e=t.thousands,function(t,i){for(var r=t.length,o=[],a=0,s=n[0],u=0;r>0&&s>0&&(u+s+1>i&&(s=Math.max(1,i-u)),o.push(t.substring(r-=s,r+s)),!((u+=s+1)>i));)s=n[a=(a+1)%n.length];return o.reverse().join(e)}):g,o=t.currency,s=t.decimal,c=t.numerals?function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}(t.numerals):g,h=t.percent||"%";function f(t){var n=(t=a(t)).fill,e=t.align,r=t.sign,f=t.symbol,d=t.zero,g=t.width,m=t.comma,y=t.precision,b=t.trim,_=t.type;"n"===_?(m=!0,_="g"):p[_]||(null==y&&(y=12),b=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var x="$"===f?o[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",w="$"===f?o[1]:/[%p]/.test(_)?h:"",M=p[_],T=/[defgprs%]/.test(_);function C(t){var o,a,h,f=x,p=w;if("c"===_)p=M(t)+p,t="";else{var C=(t=+t)<0;if(t=M(Math.abs(t),y),b&&(t=l(t)),C&&0==+t&&(C=!1),f=(C?"("===r?r:"-":"-"===r||"("===r?"":r)+f,p=("s"===_?v[8+u/3]:"")+p+(C&&"("===r?")":""),T)for(o=-1,a=t.length;++o<a;)if(48>(h=t.charCodeAt(o))||h>57){p=(46===h?s+t.slice(o+1):t.slice(o))+p,t=t.slice(0,o);break}}m&&!d&&(t=i(t,1/0));var k=f.length+t.length+p.length,S=k<g?new Array(g-k+1).join(n):"";switch(m&&d&&(t=i(S+t,S.length?g-p.length:1/0),S=""),e){case"<":t=f+t+p+S;break;case"=":t=f+S+t+p;break;case"^":t=S.slice(0,k=S.length>>1)+f+t+p+S.slice(k);break;default:t=S+f+t+p}return c(t)}return y=null==y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),C.toString=function(){return t+""},C}return{format:f,formatPrefix:function(t,n){var e=f(((t=a(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(r(n)/3))),o=Math.pow(10,-i),s=v[8+i/3];return function(t){return e(o*t)+s}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),h=c.format,f=c.formatPrefix;var m=function(t){return Math.max(0,-r(Math.abs(t)))},y=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r(n)/3)))-r(Math.abs(t)))},b=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,r(n)-r(t))+1};e.d(n,"a",function(){return h}),e.d(n,"b",function(){return f}),e.d(n,"c",function(){return a}),e.d(n,"d",function(){return m}),e.d(n,"e",function(){return y}),e.d(n,"f",function(){return b})},scW6:function(t,n,e){"use strict";e.d(n,"a",function(){return s});var i=e("mrSG"),r=e("8Y7J"),o=e("FizQ"),a=e("Sf3l"),s=function(){function t(t,n){this.element=t,this.renderer=n}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){var t="ngx-charts-tooltip-content";return t+=" position-"+this.placement,(t+=" type-"+this.type)+" "+this.cssClass},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){setTimeout(this.position.bind(this))},t.prototype.position=function(){var t=this,n=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(e.height||e.width){var i=n.getBoundingClientRect();this.checkFlip(e,i),this.positionContent(n,e,i),this.showCaret&&this.positionCaret(e,i),setTimeout(function(){return t.renderer.addClass(n,"animate")},1)}},t.prototype.positionContent=function(t,n,e){var i=a.b.positionContent(this.placement,e,n,this.spacing,this.alignment),r=i.left;this.renderer.setStyle(t,"top",i.top+"px"),this.renderer.setStyle(t,"left",r+"px")},t.prototype.positionCaret=function(t,n){var e=this.caretElm.nativeElement,i=e.getBoundingClientRect(),r=a.b.positionCaret(this.placement,n,t,i,this.alignment),o=r.left;this.renderer.setStyle(e,"top",r.top+"px"),this.renderer.setStyle(e,"left",o+"px")},t.prototype.checkFlip=function(t,n){this.placement=a.b.determinePlacement(this.placement,n,t,this.spacing)},t.prototype.onWindowResize=function(){this.position()},Object(i.a)([Object(r.n)("window:resize"),Object(o.a)(100),Object(i.c)("design:type",Function),Object(i.c)("design:paramtypes",[]),Object(i.c)("design:returntype",void 0)],t.prototype,"onWindowResize",null),t}()},skic:function(t,n,e){"use strict";function i(t,n,e,i){if(isNaN(n)||isNaN(e))return t;var r,o,a,s,u,c,h,f,l,d=t._root,p={data:i},g=t._x0,v=t._y0,m=t._x1,y=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((c=n>=(o=(g+m)/2))?g=o:m=o,(h=e>=(a=(v+y)/2))?v=a:y=a,r=d,!(d=d[f=h<<1|c]))return r[f]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),n===s&&e===u)return p.next=d,r?r[f]=p:t._root=p,t;do{r=r?r[f]=new Array(4):t._root=new Array(4),(c=n>=(o=(g+m)/2))?g=o:m=o,(h=e>=(a=(v+y)/2))?v=a:y=a}while((f=h<<1|c)==(l=(u>=a)<<1|s>=o));return r[l]=d,r[f]=p,t}e("mrSG"),e("8Y7J");var r=function(t,n,e,i,r){this.node=t,this.x0=n,this.y0=e,this.x1=i,this.y1=r};function o(t){return t[0]}function a(t){return t[1]}function s(t,n,e,i,r,o){this._x=t,this._y=n,this._x0=e,this._y0=i,this._x1=r,this._y1=o,this._root=void 0}function u(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var c=(function(t,n,e){var i=new s(null==n?o:n,null==e?a:e,NaN,NaN,NaN,NaN);return null==t?i:i.addAll(t)}).prototype=s.prototype;c.copy=function(){var t,n,e=new s(this._x,this._y,this._x0,this._y0,this._x1,this._y1),i=this._root;if(!i)return e;if(!i.length)return e._root=u(i),e;for(t=[{source:i,target:e._root=new Array(4)}];i=t.pop();)for(var r=0;r<4;++r)(n=i.source[r])&&(n.length?t.push({source:n,target:i.target[r]=new Array(4)}):i.target[r]=u(n));return e},c.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return i(this.cover(n,e),n,e,t)},c.addAll=function(t){var n,e,r,o,a=t.length,s=new Array(a),u=new Array(a),c=1/0,h=1/0,f=-1/0,l=-1/0;for(e=0;e<a;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(o=+this._y.call(null,n))||(s[e]=r,u[e]=o,r<c&&(c=r),r>f&&(f=r),o<h&&(h=o),o>l&&(l=o));for(f<c&&(c=this._x0,f=this._x1),l<h&&(h=this._y0,l=this._y1),this.cover(c,h).cover(f,l),e=0;e<a;++e)i(this,s[e],u[e],t[e]);return this},c.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,i=this._y0,r=this._x1,o=this._y1;if(isNaN(e))r=(e=Math.floor(t))+1,o=(i=Math.floor(n))+1;else{if(!(e>t||t>r||i>n||n>o))return this;var a,s,u=r-e,c=this._root;switch(s=(n<(i+o)/2)<<1|t<(e+r)/2){case 0:do{(a=new Array(4))[s]=c,c=a}while(o=i+(u*=2),t>(r=e+u)||n>o);break;case 1:do{(a=new Array(4))[s]=c,c=a}while(o=i+(u*=2),(e=r-u)>t||n>o);break;case 2:do{(a=new Array(4))[s]=c,c=a}while(i=o-(u*=2),t>(r=e+u)||i>n);break;case 3:do{(a=new Array(4))[s]=c,c=a}while(i=o-(u*=2),(e=r-u)>t||i>n)}this._root&&this._root.length&&(this._root=c)}return this._x0=e,this._y0=i,this._x1=r,this._y1=o,this},c.data=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t},c.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},c.find=function(t,n,e){var i,o,a,s,u,c,h,f=this._x0,l=this._y0,d=this._x1,p=this._y1,g=[],v=this._root;for(v&&g.push(new r(v,f,l,d,p)),null==e?e=1/0:(f=t-e,l=n-e,d=t+e,p=n+e,e*=e);c=g.pop();)if(!(!(v=c.node)||(o=c.x0)>d||(a=c.y0)>p||(s=c.x1)<f||(u=c.y1)<l))if(v.length){var m=(o+s)/2,y=(a+u)/2;g.push(new r(v[3],m,y,s,u),new r(v[2],o,y,m,u),new r(v[1],m,a,s,y),new r(v[0],o,a,m,y)),(h=(n>=y)<<1|t>=m)&&(c=g[g.length-1],g[g.length-1]=g[g.length-1-h],g[g.length-1-h]=c)}else{var b=t-+this._x.call(null,v.data),_=n-+this._y.call(null,v.data),x=b*b+_*_;if(x<e){var w=Math.sqrt(e=x);f=t-w,l=n-w,d=t+w,p=n+w,i=v.data}}return i},c.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var n,e,i,r,o,a,s,u,c,h,f,l,d=this._root,p=this._x0,g=this._y0,v=this._x1,m=this._y1;if(!d)return this;if(d.length)for(;;){if((c=o>=(s=(p+v)/2))?p=s:v=s,(h=a>=(u=(g+m)/2))?g=u:m=u,n=d,!(d=d[f=h<<1|c]))return this;if(!d.length)break;(n[f+1&3]||n[f+2&3]||n[f+3&3])&&(e=n,l=f)}for(;d.data!==t;)if(i=d,!(d=d.next))return this;return(r=d.next)&&delete d.next,i?(r?i.next=r:delete i.next,this):n?(r?n[f]=r:delete n[f],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[l]=d:this._root=d),this):(this._root=r,this)},c.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},c.root=function(){return this._root},c.size=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t},c.visit=function(t){var n,e,i,o,a,s,u=[],c=this._root;for(c&&u.push(new r(c,this._x0,this._y0,this._x1,this._y1));n=u.pop();)if(!t(c=n.node,i=n.x0,o=n.y0,a=n.x1,s=n.y1)&&c.length){var h=(i+a)/2,f=(o+s)/2;(e=c[3])&&u.push(new r(e,h,f,a,s)),(e=c[2])&&u.push(new r(e,i,f,h,s)),(e=c[1])&&u.push(new r(e,h,o,a,f)),(e=c[0])&&u.push(new r(e,i,o,h,f))}return this},c.visitAfter=function(t){var n,e=[],i=[];for(this._root&&e.push(new r(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var o=n.node;if(o.length){var a,s=n.x0,u=n.y0,c=n.x1,h=n.y1,f=(s+c)/2,l=(u+h)/2;(a=o[0])&&e.push(new r(a,s,u,f,l)),(a=o[1])&&e.push(new r(a,f,u,c,l)),(a=o[2])&&e.push(new r(a,s,l,f,h)),(a=o[3])&&e.push(new r(a,f,l,c,h))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},c.x=function(t){return arguments.length?(this._x=t,this):this._x},c.y=function(t){return arguments.length?(this._y=t,this):this._y},e("2UC5"),e("t+Vl"),e("dGpj"),Math,Math.sqrt(5),e("nJx2"),e("bgPL"),e("Oqv5"),e("HaQI"),e("w6+6"),e.d(n,"a",function(){return h});var h=function(){return function(){}}()},"t+Vl":function(t,n,e){"use strict";var i={value:function(){}};function r(){for(var t,n=0,e=arguments.length,i={};n<e;++n){if(!(t=arguments[n]+"")||t in i)throw new Error("illegal type: "+t);i[t]=[]}return new o(i)}function o(t){this._=t}function a(t,n){return t.trim().split(/^|\s+/).map(function(t){var e="",i=t.indexOf(".");if(i>=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function s(t,n){for(var e,i=0,r=t.length;i<r;++i)if((e=t[i]).name===n)return e.value}function u(t,n,e){for(var r=0,o=t.length;r<o;++r)if(t[r].name===n){t[r]=i,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=r.prototype={constructor:o,on:function(t,n){var e,i=this._,r=a(t+"",i),o=-1,c=r.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<c;)if(e=(t=r[o]).type)i[e]=u(i[e],t.name,n);else if(null==n)for(e in i)i[e]=u(i[e],t.name,null);return this}for(;++o<c;)if((e=(t=r[o]).type)&&(e=s(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,i,r=new Array(e),o=0;o<e;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(i=this._[t]).length;o<e;++o)i[o].value.apply(n,r)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(n,e)}};var c=r;e.d(n,"a",function(){return c})},tb0z:function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e("mrSG");var i=function(){function t(t){this.textHeight=25,this.margin=5,this.element=t.nativeElement}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case"top":case"bottom":this.y=this.offset,this.x=this.width/2;break;case"left":this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case"right":this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}},t}()},vA3y:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e("mrSG");var i=e("8Y7J"),r=function(){function t(){this.isActive=!1,this.select=new i.m,this.activate=new i.m,this.deactivate=new i.m,this.toggle=new i.m}return Object.defineProperty(t.prototype,"trimmedLabel",{get:function(){return this.formattedLabel||"(empty)"},enumerable:!0,configurable:!0}),t.prototype.onMouseEnter=function(){this.activate.emit({name:this.label})},t.prototype.onMouseLeave=function(){this.deactivate.emit({name:this.label})},t}()},vBe5:function(t,n,e){"use strict";var i=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},r=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return i(n(t),e)}),{left:function(n,e,i,r){for(null==i&&(i=0),null==r&&(r=n.length);i<r;){var o=i+r>>>1;t(n[o],e)<0?i=o+1:r=o}return i},right:function(n,e,i,r){for(null==i&&(i=0),null==r&&(r=n.length);i<r;){var o=i+r>>>1;t(n[o],e)>0?r=o:i=o+1}return i}}},o=r(i).right,a=function(t){return null===t?NaN:+t},s=(Array,function(t,n,e){t=+t,n=+n,e=(r=arguments.length)<2?(n=t,t=0,1):r<3?1:+e;for(var i=-1,r=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(r);++i<r;)o[i]=t+i*e;return o}),u=Math.sqrt(50),c=Math.sqrt(10),h=Math.sqrt(2),f=function(t,n,e){var i,r,o,a,s=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((i=n<t)&&(r=t,t=n,n=r),0===(a=l(t,n,e))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(r=Math.ceil(n-t+1));++s<r;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),n=Math.ceil(n*a),o=new Array(r=Math.ceil(t-n+1));++s<r;)o[s]=(t-s)/a;return i&&o.reverse(),o};function l(t,n,e){var i=(n-t)/Math.max(0,e),r=Math.floor(Math.log(i)/Math.LN10),o=i/Math.pow(10,r);return r>=0?(o>=u?10:o>=c?5:o>=h?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=u?10:o>=c?5:o>=h?2:1)}function d(t,n,e){var i=Math.abs(n-t)/Math.max(0,e),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),o=i/r;return o>=u?r*=10:o>=c?r*=5:o>=h&&(r*=2),n<t?-r:r}var p=function(t,n,e){if(null==e&&(e=a),i=t.length){if((n=+n)<=0||i<2)return+e(t[0],0,t);if(n>=1)return+e(t[i-1],i-1,t);var i,r=(i-1)*n,o=Math.floor(r),s=+e(t[o],o,t);return s+(+e(t[o+1],o+1,t)-s)*(r-o)}},g=function(t,n){var e,i,r=t.length,o=-1;if(null==n){for(;++o<r;)if(null!=(e=t[o])&&e>=e)for(i=e;++o<r;)null!=(e=t[o])&&e>i&&(i=e)}else for(;++o<r;)if(null!=(e=n(t[o],o,t))&&e>=e)for(i=e;++o<r;)null!=(e=n(t[o],o,t))&&e>i&&(i=e);return i},v=function(t,n){var e,i,r=t.length,o=-1;if(null==n){for(;++o<r;)if(null!=(e=t[o])&&e>=e)for(i=e;++o<r;)null!=(e=t[o])&&i>e&&(i=e)}else for(;++o<r;)if(null!=(e=n(t[o],o,t))&&e>=e)for(i=e;++o<r;)null!=(e=n(t[o],o,t))&&i>e&&(i=e);return i};e.d(n,"b",function(){return o}),e.d(n,"a",function(){return i}),e.d(n,"c",function(){return r}),e.d(n,"d",function(){return g}),e.d(n,"e",function(){return v}),e.d(n,"f",function(){return p}),e.d(n,"g",function(){return s}),e.d(n,"j",function(){return f}),e.d(n,"h",function(){return l}),e.d(n,"i",function(){return d})},"w6+6":function(t,n,e){"use strict";e("mrSG"),e("nJx2"),e("wpkD"),e("B/s7"),e("vA3y"),e("8Y7J"),e("3bP5"),e("anzK"),e("bgPL"),e("/qvy"),e("ILGr"),e("lM2X"),e("HaQI"),e("IU+9");var i=e("t+Vl"),r=e("/TIM"),o=e("pD2Y"),a=e("dGpj"),s=Object(i.a)("start","end","interrupt"),u=[],c=0,h=1,f=2,l=3,d=4,p=5,g=6,v=function(t,n,e,i,r,o){var v=t.__transition;if(v){if(e in v)return}else t.__transition={};!function(t,n,e){var i,r=t.__transition;function o(c){var p,v,m,y;if(e.state!==h)return u();for(p in r)if((y=r[p]).name===e.name){if(y.state===l)return Object(a.b)(o);y.state===d?(y.state=g,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete r[p]):+p<n&&(y.state=g,y.timer.stop(),delete r[p])}if(Object(a.b)(function(){e.state===l&&(e.state=d,e.timer.restart(s,e.delay,e.time),s(c))}),e.state=f,e.on.call("start",t,t.__data__,e.index,e.group),e.state===f){for(e.state=l,i=new Array(m=e.tween.length),p=0,v=-1;p<m;++p)(y=e.tween[p].value.call(t,t.__data__,e.index,e.group))&&(i[++v]=y);i.length=v+1}}function s(n){for(var r=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(u),e.state=p,1),o=-1,a=i.length;++o<a;)i[o].call(null,r);e.state===p&&(e.on.call("end",t,t.__data__,e.index,e.group),u())}function u(){for(var i in e.state=g,e.timer.stop(),delete r[n],r)return;delete t.__transition}r[n]=e,e.timer=Object(a.c)(function(t){e.state=h,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:i,group:r,on:s,tween:u,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:c})};function m(t,n){var e=b(t,n);if(e.state>c)throw new Error("too late; already scheduled");return e}function y(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e}function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function _(t,n){var e,i;return function(){var r=y(this,t),o=r.tween;if(o!==e)for(var a=0,s=(i=e=o).length;a<s;++a)if(i[a].name===n){(i=i.slice()).splice(a,1);break}r.tween=i}}function x(t,n,e){var i,r;if("function"!=typeof e)throw new Error;return function(){var o=y(this,t),a=o.tween;if(a!==i){r=(i=a).slice();for(var s={name:n,value:e},u=0,c=r.length;u<c;++u)if(r[u].name===n){r[u]=s;break}u===c&&r.push(s)}o.tween=r}}function w(t,n,e){var i=t._id;return t.each(function(){var t=y(this,i);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return b(t,i).value[n]}}var M=e("SC+/"),T=function(t,n){var e;return("number"==typeof n?o.c:n instanceof M.a?o.d:(e=Object(M.a)(n))?(n=e,o.d):o.f)(t,n)};function C(t,n){function e(){var e=this,i=n.apply(e,arguments);return i&&function(n){e.setAttributeNS(t.space,t.local,i(n))}}return e._value=n,e}function k(t,n){function e(){var e=this,i=n.apply(e,arguments);return i&&function(n){e.setAttribute(t,i(n))}}return e._value=n,e}function S(t,n){return function(){m(this,t).delay=+n.apply(this,arguments)}}function A(t,n){return n=+n,function(){m(this,t).delay=n}}function O(t,n){return function(){y(this,t).duration=+n.apply(this,arguments)}}function D(t,n){return n=+n,function(){y(this,t).duration=n}}function E(t,n){if("function"!=typeof n)throw new Error;return function(){y(this,t).ease=n}}function N(t,n,e){var i,r,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?m:y;return function(){var a=o(this,t),s=a.on;s!==i&&(r=(i=s).copy()).on(n,e),a.on=r}}var j=r.g.prototype.constructor;function L(t,n,e){function i(){var i=this,r=n.apply(i,arguments);return r&&function(n){i.style.setProperty(t,r(n),e)}}return i._value=n,i}var F=0;function z(t,n,e,i){this._groups=t,this._parents=n,this._name=e,this._id=i}function P(){return++F}var Y=r.g.prototype;z.prototype=(function(t){return Object(r.g)().transition(t)}).prototype={constructor:z,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.h)(t));for(var i=this._groups,o=i.length,a=new Array(o),s=0;s<o;++s)for(var u,c,h=i[s],f=h.length,l=a[s]=new Array(f),d=0;d<f;++d)(u=h[d])&&(c=t.call(u,u.__data__,d,h))&&("__data__"in u&&(c.__data__=u.__data__),l[d]=c,v(l[d],n,e,d,l,b(u,e)));return new z(a,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.i)(t));for(var i=this._groups,o=i.length,a=[],s=[],u=0;u<o;++u)for(var c,h=i[u],f=h.length,l=0;l<f;++l)if(c=h[l]){for(var d,p=t.call(c,c.__data__,l,h),g=b(c,e),m=0,y=p.length;m<y;++m)(d=p[m])&&v(d,n,e,m,p,g);a.push(p),s.push(c)}return new z(a,s,n,e)},filter:function(t){"function"!=typeof t&&(t=Object(r.c)(t));for(var n=this._groups,e=n.length,i=new Array(e),o=0;o<e;++o)for(var a,s=n[o],u=s.length,c=i[o]=[],h=0;h<u;++h)(a=s[h])&&t.call(a,a.__data__,h,s)&&c.push(a);return new z(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,i=n.length,r=Math.min(i,e.length),o=new Array(i),a=0;a<r;++a)for(var s,u=n[a],c=e[a],h=u.length,f=o[a]=new Array(h),l=0;l<h;++l)(s=u[l]||c[l])&&(f[l]=s);for(;a<i;++a)o[a]=n[a];return new z(o,this._parents,this._name,this._id)},selection:function(){return new j(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=P(),i=this._groups,r=i.length,o=0;o<r;++o)for(var a,s=i[o],u=s.length,c=0;c<u;++c)if(a=s[c]){var h=b(a,n);v(a,t,e,c,s,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new z(i,this._parents,t,e)},call:Y.call,nodes:Y.nodes,node:Y.node,size:Y.size,empty:Y.empty,each:Y.each,on:function(t,n){var e=this._id;return arguments.length<2?b(this.node(),e).on.on(t):this.each(N(e,t,n))},attr:function(t,n){var e=Object(r.e)(t),i="transform"===e?o.h:T;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var i,r,o;return function(){var a,s=e(this);if(null!=s)return(a=this.getAttributeNS(t.space,t.local))===s?null:a===i&&s===r?o:o=n(i=a,r=s);this.removeAttributeNS(t.space,t.local)}}:function(t,n,e){var i,r,o;return function(){var a,s=e(this);if(null!=s)return(a=this.getAttribute(t))===s?null:a===i&&s===r?o:o=n(i=a,r=s);this.removeAttribute(t)}})(e,i,w(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var i,r;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===i?r:r=n(i=o,e)}}:function(t,n,e){var i,r;return function(){var o=this.getAttribute(t);return o===e?null:o===i?r:r=n(i=o,e)}})(e,i,n+""))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var i=Object(r.e)(t);return this.tween(e,(i.local?C:k)(i,n))},style:function(t,n,e){var i="transform"==(t+="")?o.g:T;return null==n?this.styleTween(t,function(t,n){var e,i,o;return function(){var a=Object(r.j)(this,t),s=(this.style.removeProperty(t),Object(r.j)(this,t));return a===s?null:a===e&&s===i?o:o=n(e=a,i=s)}}(t,i)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof n?function(t,n,e){var i,o,a;return function(){var s=Object(r.j)(this,t),u=e(this);return null==u&&(this.style.removeProperty(t),u=Object(r.j)(this,t)),s===u?null:s===i&&u===o?a:a=n(i=s,o=u)}}(t,i,w(this,"style."+t,n)):function(t,n,e){var i,o;return function(){var a=Object(r.j)(this,t);return a===e?null:a===i?o:o=n(i=a,e)}}(t,i,n+""),e)},styleTween:function(t,n,e){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==n)return this.tween(i,null);if("function"!=typeof n)throw new Error;return this.tween(i,L(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(w(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var i,r=b(this.node(),e).tween,o=0,a=r.length;o<a;++o)if((i=r[o]).name===t)return i.value;return null}return this.each((null==n?_:x)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?S:A)(n,t)):b(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?O:D)(n,t)):b(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(E(n,t)):b(this.node(),n).ease}},function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Math,function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(1.70158),function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158);var H=2*Math.PI,B=(function t(n,e){var i=Math.asin(1/(n=Math.max(1,n)))*(e/=H);function r(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}return r.amplitude=function(n){return t(n,e*H)},r.period=function(e){return t(n,e)},r}(1,.3),function t(n,e){var i=Math.asin(1/(n=Math.max(1,n)))*(e/=H);function r(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}return r.amplitude=function(n){return t(n,e*H)},r.period=function(e){return t(n,e)},r}(1,.3),function t(n,e){var i=Math.asin(1/(n=Math.max(1,n)))*(e/=H);function r(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}return r.amplitude=function(n){return t(n,e*H)},r.period=function(e){return t(n,e)},r}(1,.3),{time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}});function U(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return B.time=Object(a.a)(),B;return e}function I(t){return{type:t}}r.g.prototype.interrupt=function(t){return this.each(function(){!function(t,n){var e,i,r,o=t.__transition,a=!0;if(o){for(r in n=null==n?null:n+"",o)(e=o[r]).name===n?(i=e.state>f&&e.state<p,e.state=g,e.timer.stop(),i&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[r]):a=!1;a&&delete t.__transition}}(this,t)})},r.g.prototype.transition=function(t){var n,e;t instanceof z?(n=t._id,t=t._name):(n=P(),(e=B).time=Object(a.a)(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var s,u=i[o],c=u.length,h=0;h<c;++h)(s=u[h])&&v(s,t,n,h,u,e||U(s,n));return new z(i,this._parents,t,n)},["e","w"].map(I),["n","s"].map(I),["n","e","s","w","nw","ne","se","sw"].map(I),e("4jaM"),e("CbgT"),"undefined"!=typeof window?window:"undefined"!=typeof global&&global,e("fLKZ"),e.d(n,"a",function(){return R});var R=function(){return function(){}}()},wLzX:function(t,n,e){"use strict";e.d(n,"a",function(){return s}),e("mrSG");var i=e("8Y7J"),r=e("/TIM"),o=e("+1uz"),a=e("lM2X"),s=function(){function t(t){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new i.m,this.activate=new i.m,this.deactivate=new i.m,this.initialized=!1,this.hasGradient=!1,this.hideBar=!1,this.element=t.nativeElement}return t.prototype.ngOnChanges=function(t){this.initialized?this.update():(this.loadAnimation(),this.initialized=!0)},t.prototype.update=function(){this.gradientId="grad"+Object(a.a)().toString(),this.gradientFill="url(#"+this.gradientId+")",this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()},t.prototype.loadAnimation=function(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)},t.prototype.updatePathEl=function(){var t=Object(r.f)(this.element).select(".bar"),n=this.getPath();this.animations?t.transition().duration(500).attr("d",n):t.attr("d",n)},t.prototype.getGradient=function(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]},t.prototype.getStartingPath=function(){if(!this.animations)return this.getPath();var t,n=this.getRadius();return this.roundEdges?"vertical"===this.orientation?(n=Math.min(this.height,n),t=Object(o.a)(this.x,this.y+this.height,this.width,1,0,this.edges)):"horizontal"===this.orientation&&(n=Math.min(this.width,n),t=Object(o.a)(this.x,this.y,1,this.height,0,this.edges)):"vertical"===this.orientation?t=Object(o.a)(this.x,this.y+this.height,this.width,1,0,this.edges):"horizontal"===this.orientation&&(t=Object(o.a)(this.x,this.y,1,this.height,0,this.edges)),t},t.prototype.getPath=function(){var t,n=this.getRadius();return this.roundEdges?"vertical"===this.orientation?(n=Math.min(this.height,n),t=Object(o.a)(this.x,this.y,this.width,this.height,n,this.edges)):"horizontal"===this.orientation&&(n=Math.min(this.width,n),t=Object(o.a)(this.x,this.y,this.width,this.height,n,this.edges)):t=Object(o.a)(this.x,this.y,this.width,this.height,n,this.edges),t},t.prototype.getRadius=function(){var t=0;return this.roundEdges&&this.height>5&&this.width>5&&(t=Math.floor(Math.min(5,this.height/2,this.width/2))),t},t.prototype.getStartOpacity=function(){return this.roundEdges?.2:.5},Object.defineProperty(t.prototype,"edges",{get:function(){var t=[!1,!1,!1,!1];return this.roundEdges&&("vertical"===this.orientation?t=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:"horizontal"===this.orientation&&(t=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),t},enumerable:!0,configurable:!0}),t.prototype.onMouseEnter=function(){this.activate.emit(this.data)},t.prototype.onMouseLeave=function(){this.deactivate.emit(this.data)},t.prototype.checkToHideBar=function(){this.hideBar=this.noBarWhenZero&&("vertical"===this.orientation&&0===this.height||"horizontal"===this.orientation&&0===this.width)},t}()},wpkD:function(t,n,e){"use strict";e.d(n,"a",function(){return o}),e("mrSG");var i=e("8Y7J"),r=e("anzK"),o=function(){function t(t){this.cd=t,this.horizontal=!1,this.labelClick=new i.m,this.labelActivate=new i.m,this.labelDeactivate=new i.m,this.legendEntries=[]}return t.prototype.ngOnChanges=function(t){this.update()},t.prototype.update=function(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()},t.prototype.getLegendEntries=function(){for(var t=[],n=function(n){var i=Object(r.a)(n);-1===t.findIndex(function(t){return t.label===i})&&t.push({label:n,formattedLabel:i,color:e.colors.getColor(n)})},e=this,i=0,o=this.data;i<o.length;i++)n(o[i]);return t},t.prototype.isActive=function(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(function(n){return t.label===n.name})},t.prototype.activate=function(t){this.labelActivate.emit(t)},t.prototype.deactivate=function(t){this.labelDeactivate.emit(t)},t.prototype.trackBy=function(t,n){return n.label},t}()},zBNi:function(t,n,e){"use strict";e.d(n,"a",function(){return i});var i=function(t){return t[t.left="left"]="left",t[t.center="center"]="center",t[t.right="right"]="right",t}({})},zCvi:function(t,n,e){"use strict";e.d(n,"a",function(){return i});var i=function(t){return t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip",t}({})}}]);