Skip to content

Instantly share code, notes, and snippets.

@nponeccop
Created June 15, 2016 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nponeccop/69aacea9121e7a181ba72096f08724f4 to your computer and use it in GitHub Desktop.
Save nponeccop/69aacea9121e7a181ba72096f08724f4 to your computer and use it in GitHub Desktop.
24 FPS on sluggish LG L90 Duos

Lightning fast SVG chart

3x improvement vs previous version: 24 vs 8 vps on LG L90 Duos

High-end phones should all give 60 fps now

(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t.d3=t.d3||{})}(this,function(t){"use strict";function n(t,n){return n>t?-1:t>n?1:t>=n?0:NaN}function e(t){return 1===t.length&&(t=r(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);i>r;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);i>r;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}function r(t){return function(e,r){return n(t(e),r)}}function i(t,n){return t>n?-1:n>t?1:n>=t?0:NaN}function o(t){return null===t?NaN:+t}function a(t,n){var e,r,i=t.length,a=0,u=0,s=-1,c=0;if(null==n)for(;++s<i;)isNaN(e=o(t[s]))||(r=e-a,a+=r/++c,u+=r*(e-a));else for(;++s<i;)isNaN(e=o(n(t[s],s,t)))||(r=e-a,a+=r/++c,u+=r*(e-a));return c>1?u/(c-1):void 0}function u(t,n){var e=a(t,n);return e?Math.sqrt(e):e}function s(t,n){var e,r,i,o=-1,a=t.length;if(null==n){for(;++o<a;)if(null!=(r=t[o])&&r>=r){e=i=r;break}for(;++o<a;)null!=(r=t[o])&&(e>r&&(e=r),r>i&&(i=r))}else{for(;++o<a;)if(null!=(r=n(t[o],o,t))&&r>=r){e=i=r;break}for(;++o<a;)null!=(r=n(t[o],o,t))&&(e>r&&(e=r),r>i&&(i=r))}return[e,i]}function c(t){return function(){return t}}function f(t){return t}function h(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):3>i?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function l(t,n,e){var r=d(t,n,e);return h(Math.ceil(t/r)*r,Math.floor(n/r)*r+r/2,r)}function d(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Eh?i*=10:o>=Ph?i*=5:o>=Dh&&(i*=2),t>n?-i:i}function p(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function _(t){return+t}function y(){function t(t){var i,o,a=t.length,u=new Array(a);for(i=0;a>i;++i)u[i]=+n(t[i],i,t);var s=e(u),c=+s[0],f=+s[1],h=r(u,c,f);Array.isArray(h)||(h=l(c,f,+h));var d=h.length;for(i=0;d>i;++i)h[i]=+h[i];for(;h[0]<=c;)h.shift(),--d;for(;h[d-1]>=f;)h.pop(),--d;var p,_=new Array(d+1);for(i=0;d>=i;++i)p=_[i]=[],p.x0=i>0?h[i-1]:c,p.x1=d>i?h[i]:f;for(i=0;a>i;++i)o=u[i],o>=c&&f>=o&&_[Ch(h,o,0,d)].push(t[i]);return _}var n=f,e=s,r=p;return t.value=function(e){return arguments.length?(n="function"==typeof e?e:c(+e),t):n},t.domain=function(n){return arguments.length?(e="function"==typeof n?n:c([+n[0],+n[1]]),t):e},t.thresholds=function(n){return arguments.length?(r="function"==typeof n?n:c(Array.isArray(n)?Array.prototype.map.call(n,_):+n),t):r},t}function v(t,n,e){if(null==e&&(e=o),r=t.length){if((n=+n)<=0||2>r)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,a=Math.floor(i),u=+e(t[a],a,t),s=+e(t[a+1],a+1,t);return u+(s-u)*(i-a)}}function g(t,e,r){return t.sort(n),Math.ceil((r-e)/(2*(v(t,.75)-v(t,.25))*Math.pow(t.length,-1/3)))}function m(t,n,e){return Math.ceil((e-n)/(3.5*u(t)*Math.pow(t.length,-1/3)))}function x(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&r>e&&(e=r)}else{for(;++i<o;)if(null!=(r=n(t[i],i,t))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n(t[i],i,t))&&r>e&&(e=r)}return e}function b(t,n){var e,r=0,i=t.length,a=-1,u=i;if(null==n)for(;++a<i;)isNaN(e=o(t[a]))?--u:r+=e;else for(;++a<i;)isNaN(e=o(n(t[a],a,t)))?--u:r+=e;return u?r/u:void 0}function M(t,e){var r,i=[],a=t.length,u=-1;if(null==e)for(;++u<a;)isNaN(r=o(t[u]))||i.push(r);else for(;++u<a;)isNaN(r=o(e(t[u],u,t)))||i.push(r);return v(i.sort(n),.5)}function w(t){for(var n,e,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(e=new Array(a);--i>=0;)for(r=t[i],n=r.length;--n>=0;)e[--a]=r[n];return e}function T(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&e>r&&(e=r)}else{for(;++i<o;)if(null!=(r=n(t[i],i,t))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n(t[i],i,t))&&e>r&&(e=r)}return e}function k(t){for(var n=0,e=t.length-1,r=t[0],i=new Array(0>e?0:e);e>n;)i[n]=[r,r=t[++n]];return i}function A(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}function N(t,e){if(r=t.length){var r,i,o=0,a=0,u=t[a];for(e||(e=n);++o<r;)(e(i=t[o],u)<0||0!==e(u,u))&&(u=i,a=o);return 0===e(u,u)?a:void 0}}function S(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t}function C(t,n){var e,r=0,i=t.length,o=-1;if(null==n)for(;++o<i;)(e=+t[o])&&(r+=e);else for(;++o<i;)(e=+n(t[o],o,t))&&(r+=e);return r}function z(t){if(!(i=t.length))return[];for(var n=-1,e=T(t,E),r=new Array(e);++n<e;)for(var i,o=-1,a=r[n]=new Array(i);++o<i;)a[o]=t[o][n];return r}function E(t){return t.length}function P(){return z(arguments)}function D(){}function F(t,n){var e=new D;if(t instanceof D)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var a in t)e.set(a,t[a]);return e}function L(){function t(n,i,a,u){if(i>=o.length)return null!=r?r(n):null!=e?n.sort(e):n;for(var s,c,f,h=-1,l=n.length,d=o[i++],p=F(),_=a();++h<l;)(f=p.get(s=d(c=n[h])+""))?f.push(c):p.set(s,[c]);return p.each(function(n,e){u(_,e,t(n,i,a,u))}),_}function n(t,e){if(++e>o.length)return t;var i,u=a[e-1];return null!=r&&e>=o.length?i=t.entries():(i=[],t.each(function(t,r){i.push({key:r,values:n(t,e)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}var e,r,i,o=[],a=[];return i={object:function(n){return t(n,0,q,U)},map:function(n){return t(n,0,Y,j)},entries:function(e){return n(t(e,0,Y,j),0)},key:function(t){return o.push(t),i},sortKeys:function(t){return a[o.length-1]=t,i},sortValues:function(t){return e=t,i},rollup:function(t){return r=t,i}}}function q(){return{}}function U(t,n,e){t[n]=e}function Y(){return F()}function j(t,n,e){t.set(n,e)}function O(){}function R(t,n){var e=new O;if(t instanceof O)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}function H(t){var n=[];for(var e in t)n.push(e);return n}function I(t){var n=[];for(var e in t)n.push(t[e]);return n}function B(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n}function X(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return Math.random()*n+t}}function J(t,n){var e,r;return t=null==t?0:+t,n=null==n?1:+n,function(){var i;if(null!=e)i=e,e=null;else do e=2*Math.random()-1,i=2*Math.random()-1,r=e*e+i*i;while(!r||r>1);return t+n*i*Math.sqrt(-2*Math.log(r)/r)}}function W(){var t=J.apply(this,arguments);return function(){return Math.exp(t())}}function V(t){return function(){for(var n=0,e=0;t>e;++e)n+=Math.random();return n}}function $(t){var n=V(t);return function(){return n()/t}}function Z(t){return function(){return-Math.log(1-Math.random())/t}}function G(t){return+t}function K(t){return t*t}function Q(t){return t*(2-t)}function tt(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function nt(t){return t*t*t}function et(t){return--t*t*t+1}function rt(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function it(t){return 1-Math.cos(t*Rh)}function ot(t){return Math.sin(t*Rh)}function at(t){return(1-Math.cos(Oh*t))/2}function ut(t){return Math.pow(2,10*t-10)}function st(t){return 1-Math.pow(2,-10*t)}function ct(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function ft(t){return 1-Math.sqrt(1-t*t)}function ht(t){return Math.sqrt(1- --t*t)}function lt(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function dt(t){return 1-pt(1-t)}function pt(t){return(t=+t)<Hh?Gh*t*t:Bh>t?Gh*(t-=Ih)*t+Xh:Wh>t?Gh*(t-=Jh)*t+Vh:Gh*(t-=$h)*t+Zh}function _t(t){return((t*=2)<=1?1-pt(1-t):pt(t-1)+1)/2}function yt(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2}function vt(t){for(var n,e,r=-1,i=t.length,o=0,a=0,u=t[i-1],s=0;++r<i;)n=u,u=t[r],s+=e=n[0]*u[1]-u[0]*n[1],o+=(n[0]+u[0])*e,a+=(n[1]+u[1])*e;return s*=3,[o/s,a/s]}function gt(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function mt(t,n){return t[0]-n[0]||t[1]-n[1]}function xt(t){for(var n=t.length,e=[0,1],r=2,i=2;n>i;++i){for(;r>1&&gt(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function bt(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;e>n;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(mt),n=0;e>n;++n)i[n]=[r[n][0],-r[n][1]];var o=xt(r),a=xt(i),u=a[0]===o[0],s=a[a.length-1]===o[o.length-1],c=[];for(n=o.length-1;n>=0;--n)c.push(t[r[o[n]][2]]);for(n=+u;n<a.length-s;++n)c.push(t[r[a[n]][2]]);return c}function Mt(t,n){for(var e,r,i=t.length,o=t[i-1],a=n[0],u=n[1],s=o[0],c=o[1],f=!1,h=0;i>h;++h)o=t[h],e=o[0],r=o[1],r>u!=c>u&&(s-e)*(u-r)/(c-r)+e>a&&(f=!f),s=e,c=r;return f}function wt(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],s=0;++r<i;)n=a,e=u,o=t[r],a=o[0],u=o[1],n-=a,e-=u,s+=Math.sqrt(n*n+e*e);return s}function Tt(){this._x0=this._y0=this._x1=this._y1=null,this._=[]}function kt(){return new Tt}function At(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Nt(this.cover(n,e),n,e,t)}function Nt(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,s,c,f,h,l,d=t._root,p={data:r},_=t._x0,y=t._y0,v=t._x1,g=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((c=n>=(o=(_+v)/2))?_=o:v=o,(f=e>=(a=(y+g)/2))?y=a:g=a,i=d,!(d=d[h=f<<1|c]))return i[h]=p,t;if(u=+t._x.call(null,d.data),s=+t._y.call(null,d.data),n===u&&e===s)return p.next=d,i?i[h]=p:t._root=p,t;do i=i?i[h]=new Array(4):t._root=new Array(4),(c=n>=(o=(_+v)/2))?_=o:v=o,(f=e>=(a=(y+g)/2))?y=a:g=a;while((h=f<<1|c)===(l=(s>=a)<<1|u>=o));return i[l]=d,i[h]=p,t}function St(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,f=-(1/0),h=-(1/0);for(e=0;o>e;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(a[e]=r,u[e]=i,s>r&&(s=r),r>f&&(f=r),c>i&&(c=i),i>h&&(h=i));for(s>f&&(s=this._x0,f=this._x1),c>h&&(c=this._y0,h=this._y1),this.cover(s,c).cover(f,h),e=0;o>e;++e)Nt(this,a[e],u[e],t[e]);return this}function Ct(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{if(!(e>t||t>i||r>n||n>o))return this;var a,u,s=i-e,c=this._root;switch(u=((r+o)/2>n)<<1|(e+i)/2>t){case 0:do a=new Array(4),a[u]=c,c=a;while(s*=2,i=e+s,o=r+s,t>i||n>o);break;case 1:do a=new Array(4),a[u]=c,c=a;while(s*=2,e=i-s,o=r+s,e>t||n>o);break;case 2:do a=new Array(4),a[u]=c,c=a;while(s*=2,i=e+s,r=o-s,t>i||r>n);break;case 3:do a=new Array(4),a[u]=c,c=a;while(s*=2,e=i-s,r=o-s,e>t||r>n)}this._root&&this._root.length&&(this._root=c)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this}function zt(){var t=[];return this.visit(function(n){if(!n.length)do t.push(n.data);while(n=n.next)}),t}function Et(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]]}function Pt(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Dt(t,n,e){var r,i,o,a,u,s,c,f=this._x0,h=this._y0,l=this._x1,d=this._y1,p=[],_=this._root;for(_&&p.push(new Pt(_,f,h,l,d)),null==e?e=1/0:(f=t-e,h=n-e,l=t+e,d=n+e,e*=e);s=p.pop();)if(!(!(_=s.node)||(i=s.x0)>l||(o=s.y0)>d||(a=s.x1)<f||(u=s.y1)<h))if(_.length){var y=(i+a)/2,v=(o+u)/2;p.push(new Pt(_[3],y,v,a,u),new Pt(_[2],i,v,y,u),new Pt(_[1],y,o,a,v),new Pt(_[0],i,o,y,v)),(c=(n>=v)<<1|t>=y)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=s)}else{var g=t-+this._x.call(null,_.data),m=n-+this._y.call(null,_.data),x=g*g+m*m;if(e>x){var b=Math.sqrt(e=x);f=t-b,h=n-b,l=t+b,d=n+b,r=_.data}}return r}function Ft(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var n,e,r,i,o,a,u,s,c,f,h,l,d=this._root,p=this._x0,_=this._y0,y=this._x1,v=this._y1;if(!d)return this;if(d.length)for(;;){if((c=o>=(u=(p+y)/2))?p=u:y=u,(f=a>=(s=(_+v)/2))?_=s:v=s,n=d,!(d=d[h=f<<1|c]))return this;if(!d.length)break;(n[h+1&3]||n[h+2&3]||n[h+3&3])&&(e=n,l=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[h]=i:delete n[h],(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=i,this)}function Lt(t){for(var n=0,e=t.length;e>n;++n)this.remove(t[n]);return this}function qt(){return this._root}function Ut(){var t=0;return this.visit(function(n){if(!n.length)do++t;while(n=n.next)}),t}function Yt(t){var n,e,r,i,o,a,u=[],s=this._root;for(s&&u.push(new Pt(s,this._x0,this._y0,this._x1,this._y1));n=u.pop();)if(!t(s=n.node,r=n.x0,i=n.y0,o=n.x1,a=n.y1)&&s.length){var c=(r+o)/2,f=(i+a)/2;(e=s[3])&&u.push(new Pt(e,c,f,o,a)),(e=s[2])&&u.push(new Pt(e,r,f,c,a)),(e=s[1])&&u.push(new Pt(e,c,i,o,f)),(e=s[0])&&u.push(new Pt(e,r,i,c,f))}return this}function jt(t){var n,e=[],r=[];for(this._root&&e.push(new Pt(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,a=n.x0,u=n.y0,s=n.x1,c=n.y1,f=(a+s)/2,h=(u+c)/2;(o=i[0])&&e.push(new Pt(o,a,u,f,h)),(o=i[1])&&e.push(new Pt(o,f,u,s,h)),(o=i[2])&&e.push(new Pt(o,a,h,f,c)),(o=i[3])&&e.push(new Pt(o,f,h,s,c))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}function Ot(t){return t[0]}function Rt(t){return arguments.length?(this._x=t,this):this._x}function Ht(t){return t[1]}function It(t){return arguments.length?(this._y=t,this):this._y}function Bt(t,n,e){var r=new Xt(null==n?Ot:n,null==e?Ht:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Xt(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Jt(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}function Wt(t){if(!(t>=1))throw new Error;this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function Vt(t){if(!t._start)try{$t(t)}catch(n){t._tasks[t._ended+t._active-1]&&Gt(t,n)}}function $t(t){for(;t._start=t._waiting&&t._active<t._size;){var n=t._ended+t._active,e=t._tasks[n],r=e.length-1,i=e[r];e[r]=Zt(t,n),--t._waiting,++t._active,e=i.apply(null,e),t._tasks[n]&&(t._tasks[n]=e||pl)}}function Zt(t,n){return function(e,r){t._tasks[n]&&(--t._active,++t._ended,t._tasks[n]=null,null==t._error&&(null!=e?Gt(t,e):(t._data[n]=r,t._waiting?Vt(t):Kt(t))))}}function Gt(t,n){var e,r=t._tasks.length;for(t._error=n,t._data=void 0,t._waiting=NaN;--r>=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,Kt(t)}function Kt(t){!t._active&&t._call&&t._call(t._error,t._data)}function Qt(t){return new Wt(arguments.length?+t:1/0)}function tn(t){return function(){return t}}function nn(t){return t.innerRadius}function en(t){return t.outerRadius}function rn(t){return t.startAngle}function on(t){return t.endAngle}function an(t){return t&&t.padAngle}function un(t){return t>=1?vl:-1>=t?-vl:Math.asin(t)}function sn(t,n,e,r,i,o,a,u){var s=e-t,c=r-n,f=a-i,h=u-o,l=(f*(n-o)-h*(t-i))/(h*s-f*c);return[t+l*s,n+l*c]}function cn(t,n,e,r,i,o,a){var u=t-e,s=n-r,c=(a?o:-o)/Math.sqrt(u*u+s*s),f=c*s,h=-c*u,l=t+f,d=n+h,p=e+f,_=r+h,y=(l+p)/2,v=(d+_)/2,g=p-l,m=_-d,x=g*g+m*m,b=i-o,M=l*_-p*d,w=(0>m?-1:1)*Math.sqrt(Math.max(0,b*b*x-M*M)),T=(M*m-g*w)/x,k=(-M*g-m*w)/x,A=(M*m+g*w)/x,N=(-M*g+m*w)/x,S=T-y,C=k-v,z=A-y,E=N-v;return S*S+C*C>z*z+E*E&&(T=A,k=N),{cx:T,cy:k,x01:-f,y01:-h,x11:T*(i/b-1),y11:k*(i/b-1)}}function fn(){function t(){var t,c,f=+n.apply(this,arguments),h=+e.apply(this,arguments),l=o.apply(this,arguments)-vl,d=a.apply(this,arguments)-vl,p=Math.abs(d-l),_=d>l;if(s||(s=t=kt()),f>h&&(c=h,h=f,f=c),h>_l)if(p>gl-_l)s.moveTo(h*Math.cos(l),h*Math.sin(l)),s.arc(0,0,h,l,d,!_),f>_l&&(s.moveTo(f*Math.cos(d),f*Math.sin(d)),s.arc(0,0,f,d,l,_));else{var y,v,g=l,m=d,x=l,b=d,M=p,w=p,T=u.apply(this,arguments)/2,k=T>_l&&(i?+i.apply(this,arguments):Math.sqrt(f*f+h*h)),A=Math.min(Math.abs(h-f)/2,+r.apply(this,arguments)),N=A,S=A;if(k>_l){var C=un(k/f*Math.sin(T)),z=un(k/h*Math.sin(T));(M-=2*C)>_l?(C*=_?1:-1,x+=C,b-=C):(M=0,x=b=(l+d)/2),(w-=2*z)>_l?(z*=_?1:-1,g+=z,m-=z):(w=0,g=m=(l+d)/2)}var E=h*Math.cos(g),P=h*Math.sin(g),D=f*Math.cos(b),F=f*Math.sin(b);if(A>_l){var L=h*Math.cos(m),q=h*Math.sin(m),U=f*Math.cos(x),Y=f*Math.sin(x);if(yl>p){var j=M>_l?sn(E,P,U,Y,L,q,D,F):[D,F],O=E-j[0],R=P-j[1],H=L-j[0],I=q-j[1],B=1/Math.sin(Math.acos((O*H+R*I)/(Math.sqrt(O*O+R*R)*Math.sqrt(H*H+I*I)))/2),X=Math.sqrt(j[0]*j[0]+j[1]*j[1]);N=Math.min(A,(f-X)/(B-1)),S=Math.min(A,(h-X)/(B+1))}}w>_l?S>_l?(y=cn(U,Y,E,P,h,S,_),v=cn(L,q,D,F,h,S,_),s.moveTo(y.cx+y.x01,y.cy+y.y01),A>S?s.arc(y.cx,y.cy,S,Math.atan2(y.y01,y.x01),Math.atan2(v.y01,v.x01),!_):(s.arc(y.cx,y.cy,S,Math.atan2(y.y01,y.x01),Math.atan2(y.y11,y.x11),!_),s.arc(0,0,h,Math.atan2(y.cy+y.y11,y.cx+y.x11),Math.atan2(v.cy+v.y11,v.cx+v.x11),!_),s.arc(v.cx,v.cy,S,Math.atan2(v.y11,v.x11),Math.atan2(v.y01,v.x01),!_))):(s.moveTo(E,P),s.arc(0,0,h,g,m,!_)):s.moveTo(E,P),f>_l&&M>_l?N>_l?(y=cn(D,F,L,q,f,-N,_),v=cn(E,P,U,Y,f,-N,_),s.lineTo(y.cx+y.x01,y.cy+y.y01),A>N?s.arc(y.cx,y.cy,N,Math.atan2(y.y01,y.x01),Math.atan2(v.y01,v.x01),!_):(s.arc(y.cx,y.cy,N,Math.atan2(y.y01,y.x01),Math.atan2(y.y11,y.x11),!_),s.arc(0,0,f,Math.atan2(y.cy+y.y11,y.cx+y.x11),Math.atan2(v.cy+v.y11,v.cx+v.x11),_),s.arc(v.cx,v.cy,N,Math.atan2(v.y11,v.x11),Math.atan2(v.y01,v.x01),!_))):s.arc(0,0,f,b,x,_):s.lineTo(D,F)}else s.moveTo(0,0);return s.closePath(),t?(s=null,t+""||null):void 0}var n=nn,e=en,r=tn(0),i=null,o=rn,a=on,u=an,s=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-yl/2;return[Math.cos(r)*t,Math.sin(r)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:tn(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:tn(+n),t):e},t.cornerRadius=function(n){return arguments.length?(r="function"==typeof n?n:tn(+n),t):r},t.padRadius=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:tn(+n),t):i},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:tn(+n),t):o},t.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:tn(+n),t):a},t.padAngle=function(n){return arguments.length?(u="function"==typeof n?n:tn(+n),t):u},t.context=function(n){return arguments.length?(s=null==n?null:n,t):s},t}function hn(t){this._context=t}function ln(t){return new hn(t)}function dn(t){return t[0]}function pn(t){return t[1]}function _n(){function t(t){var c,f,h,l,d,p=t.length,_=!1,y=new Array(p),v=new Array(p);for(null==a&&(s=u(d=kt())),c=0;p>=c;++c){if(!(p>c&&o(l=t[c],c,t))===_)if(_=!_)f=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=c-1;h>=f;--h)s.point(y[h],v[h]);s.lineEnd(),s.areaEnd()}_&&(y[c]=+n(l,c,t),v[c]=+r(l,c,t),s.point(e?+e(l,c,t):y[c],i?+i(l,c,t):v[c]))}return d?(s=null,d+""||null):void 0}var n=dn,e=null,r=tn(0),i=pn,o=tn(!0),a=null,u=ln,s=null;return t.x=function(r){return arguments.length?(n="function"==typeof r?r:tn(+r),e=null,t):n},t.x0=function(e){return arguments.length?(n="function"==typeof e?e:tn(+e),t):n},t.x1=function(n){return arguments.length?(e=null==n?null:"function"==typeof n?n:tn(+n),t):e},t.y=function(n){return arguments.length?(r="function"==typeof n?n:tn(+n),i=null,t):r},t.y0=function(n){return arguments.length?(r="function"==typeof n?n:tn(+n),t):r},t.y1=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:tn(+n),t):i},t.defined=function(n){return arguments.length?(o="function"==typeof n?n:tn(!!n),t):o},t.curve=function(n){return arguments.length?(u=n,null!=a&&(s=u(a)),t):u},t.context=function(n){return arguments.length?(null==n?a=s=null:s=u(a=n),t):a},t}function yn(){function t(t){var u,s,c,f=t.length,h=!1;for(null==i&&(a=o(c=kt())),u=0;f>=u;++u)!(f>u&&r(s=t[u],u,t))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+n(s,u,t),+e(s,u,t));return c?(a=null,c+""||null):void 0}var n=dn,e=pn,r=tn(!0),i=null,o=ln,a=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:tn(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:tn(+n),t):e},t.defined=function(n){return arguments.length?(r="function"==typeof n?n:tn(!!n),t):r},t.curve=function(n){return arguments.length?(o=n,null!=i&&(a=o(i)),t):o},t.context=function(n){return arguments.length?(null==n?i=a=null:a=o(i=n),t):i},t}function vn(t,n){return t>n?-1:n>t?1:n>=t?0:NaN}function gn(t){return t}function mn(){function t(t){var u,s,c,f,h,l=t.length,d=0,p=new Array(l),_=new Array(l),y=+i.apply(this,arguments),v=Math.min(gl,Math.max(-gl,o.apply(this,arguments)-y)),g=Math.min(Math.abs(v)/l,a.apply(this,arguments)),m=g*(0>v?-1:1);for(u=0;l>u;++u)(h=_[p[u]=u]=+n(t[u],u,t))>0&&(d+=h);for(null!=e?p.sort(function(t,n){return e(_[t],_[n])}):null!=r&&p.sort(function(n,e){return r(t[n],t[e])}),u=0,c=d?(v-l*m)/d:0;l>u;++u,y=f)s=p[u],h=_[s],f=y+(h>0?h*c:0)+m,_[s]={data:t[s],index:u,value:h,startAngle:y,endAngle:f,padAngle:g};return _}var n=gn,e=vn,r=null,i=tn(0),o=tn(gl),a=tn(0);return t.value=function(e){return arguments.length?(n="function"==typeof e?e:tn(+e),t):n},t.sortValues=function(n){return arguments.length?(e=n,r=null,t):e},t.sort=function(n){return arguments.length?(r=n,e=null,t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:tn(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:tn(+n),t):o},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:tn(+n),t):a},t}function xn(t){this._curve=t}function bn(t){function n(n){return new xn(t(n))}return n._curve=t,n}function Mn(){var t=_n(),n=t.curve;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.curve=function(t){return arguments.length?n(bn(t)):n()._curve},t.curve(ln)}function wn(){var t=yn(),n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(bn(t)):n()._curve},t.curve(ln)}function Tn(){function t(){var t;return r||(r=t=kt()),n.apply(this,arguments).draw(r,+e.apply(this,arguments)),t?(r=null,t+""||null):void 0}var n=tn(ml),e=tn(64),r=null;return t.type=function(e){return arguments.length?(n="function"==typeof e?e:tn(e),t):n},t.size=function(n){return arguments.length?(e="function"==typeof n?n:tn(+n),t):e},t.context=function(n){return arguments.length?(r=null==n?null:n,t):r},t}function kn(){}function An(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 Nn(t){this._context=t}function Sn(t){return new Nn(t)}function Cn(t){this._context=t}function zn(t){return new Cn(t)}function En(t){this._context=t}function Pn(t){return new En(t)}function Dn(t,n){this._basis=new Nn(t),this._beta=n}function Fn(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 Ln(t,n){this._context=t,this._k=(1-n)/6}function qn(t,n){this._context=t,this._k=(1-n)/6}function Un(t,n){this._context=t,this._k=(1-n)/6}function Yn(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>_l){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>_l){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/f,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function jn(t,n){this._context=t,this._alpha=n}function On(t,n){this._context=t,this._alpha=n}function Rn(t,n){this._context=t,this._alpha=n}function Hn(t){this._context=t}function In(t){return new Hn(t)}function Bn(t){return 0>t?-1:1}function Xn(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||0>i&&-0),a=(e-t._y1)/(i||0>r&&-0),u=(o*i+a*r)/(r+i);return(Bn(o)+Bn(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Jn(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Wn(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function Vn(t){this._context=t}function $n(t){this._context=new Zn(t)}function Zn(t){this._context=t}function Gn(t){return new Vn(t)}function Kn(t){return new $n(t)}function Qn(t){this._context=t}function te(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;r-1>n;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;r>n;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;r-1>n;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function ne(t){return new Qn(t)}function ee(t,n){this._context=t,this._t=n}function re(t){return new ee(t,.5)}function ie(t){return new ee(t,0)}function oe(t){return new ee(t,1)}function ae(t,n){if((r=t.length)>1)for(var e,r,i=1,o=t[n[0]],a=o.length;r>i;++i){e=o,o=t[n[i]];for(var u=0;a>u;++u)o[u][1]+=o[u][0]=isNaN(e[u][1])?e[u][0]:e[u][1]}}function ue(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function se(t,n){return t[n]}function ce(){function t(t){var o,a,u=n.apply(this,arguments),s=t.length,c=u.length,f=new Array(c);for(o=0;c>o;++o){for(var h,l=u[o],d=f[o]=new Array(s),p=0;s>p;++p)d[p]=h=[0,+i(t[p],l,p,t)],h.data=t[p];d.key=l}for(o=0,a=e(f);c>o;++o)f[a[o]].index=o;return r(f,a),f}var n=tn([]),e=ue,r=ae,i=se;return t.keys=function(e){return arguments.length?(n="function"==typeof e?e:tn(Xl.call(e)),t):n},t.value=function(n){return arguments.length?(i="function"==typeof n?n:tn(+n),t):i},t.order=function(n){return arguments.length?(e=null==n?ue:"function"==typeof n?n:tn(Xl.call(n)),t):e},t.offset=function(n){return arguments.length?(r=null==n?ae:n,t):r},t}function fe(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;a>o;++o){for(i=e=0;r>e;++e)i+=t[e][o][1]||0;if(i)for(e=0;r>e;++e)t[e][o][1]/=i}ae(t,n)}}function he(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;o>r;++r){for(var a=0,u=0;e>a;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}ae(t,n)}}function le(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;r>a;++a){for(var u=0,s=0,c=0;i>u;++u){for(var f=t[n[u]],h=f[a][1]||0,l=f[a-1][1]||0,d=(h-l)/2,p=0;u>p;++p){var _=t[n[p]],y=_[a][1]||0,v=_[a-1][1]||0;d+=y-v}s+=h,c+=d*h}e[a-1][1]+=e[a-1][0]=o,s&&(o-=c/s)}e[a-1][1]+=e[a-1][0]=o,ae(t,n)}}function de(t){var n=t.map(pe);return ue(t).sort(function(t,e){return n[t]-n[e]})}function pe(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function _e(t){return de(t).reverse()}function ye(t){var n,e,r=t.length,i=t.map(pe),o=ue(t).sort(function(t,n){return i[n]-i[t]}),a=0,u=0,s=[],c=[];for(n=0;r>n;++n)e=o[n],u>a?(a+=i[e],s.push(e)):(u+=i[e],c.push(e));return c.reverse().concat(s)}function ve(t){return ue(t).reverse()}function ge(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function me(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function xe(){}function be(t){var n;return t=(t+"").trim().toLowerCase(),(n=Vl.exec(t))?(n=parseInt(n[1],16),new Ae(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=$l.exec(t))?Me(parseInt(n[1],16)):(n=Zl.exec(t))?new Ae(n[1],n[2],n[3],1):(n=Gl.exec(t))?new Ae(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Kl.exec(t))?we(n[1],n[2],n[3],n[4]):(n=Ql.exec(t))?we(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=td.exec(t))?Ne(n[1],n[2]/100,n[3]/100,1):(n=nd.exec(t))?Ne(n[1],n[2]/100,n[3]/100,n[4]):ed.hasOwnProperty(t)?Me(ed[t]):"transparent"===t?new Ae(NaN,NaN,NaN,0):null}function Me(t){return new Ae(t>>16&255,t>>8&255,255&t,1)}function we(t,n,e,r){return 0>=r&&(t=n=e=NaN),new Ae(t,n,e,r)}function Te(t){return t instanceof xe||(t=be(t)),t?(t=t.rgb(),new Ae(t.r,t.g,t.b,t.opacity)):new Ae}function ke(t,n,e,r){return 1===arguments.length?Te(t):new Ae(t,n,e,null==r?1:r)}function Ae(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Ne(t,n,e,r){return 0>=r?t=n=e=NaN:0>=e||e>=1?t=n=NaN:0>=n&&(t=NaN),new ze(t,n,e,r)}function Se(t){if(t instanceof ze)return new ze(t.h,t.s,t.l,t.opacity);if(t instanceof xe||(t=be(t)),!t)return new ze;if(t instanceof ze)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(r>e):e===o?(r-n)/u+2:(n-e)/u+4,u/=.5>s?o+i:2-o-i,a*=60):u=s>0&&1>s?0:a,new ze(a,u,s,t.opacity)}function Ce(t,n,e,r){return 1===arguments.length?Se(t):new ze(t,n,e,null==r?1:r)}function ze(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ee(t,n,e){return 255*(60>t?n+(e-n)*t/60:180>t?e:240>t?n+(e-n)*(240-t)/60:n)}function Pe(t){if(t instanceof Fe)return new Fe(t.l,t.a,t.b,t.opacity);if(t instanceof Re){var n=t.h*rd;return new Fe(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof Ae||(t=Te(t));var e=Ye(t.r),r=Ye(t.g),i=Ye(t.b),o=Le((.4124564*e+.3575761*r+.1804375*i)/ad),a=Le((.2126729*e+.7151522*r+.072175*i)/ud),u=Le((.0193339*e+.119192*r+.9503041*i)/sd);return new Fe(116*a-16,500*(o-a),200*(a-u),t.opacity)}function De(t,n,e,r){return 1===arguments.length?Pe(t):new Fe(t,n,e,null==r?1:r)}function Fe(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function Le(t){return t>ld?Math.pow(t,1/3):t/hd+cd}function qe(t){return t>fd?t*t*t:hd*(t-cd)}function Ue(t){return 255*(.0031308>=t?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ye(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function je(t){if(t instanceof Re)return new Re(t.h,t.c,t.l,t.opacity);t instanceof Fe||(t=Pe(t));var n=Math.atan2(t.b,t.a)*id;return new Re(0>n?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Oe(t,n,e,r){return 1===arguments.length?je(t):new Re(t,n,e,null==r?1:r)}function Re(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function He(t){if(t instanceof Be)return new Be(t.h,t.s,t.l,t.opacity);t instanceof Ae||(t=Te(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(xd*r+gd*n-md*e)/(xd+gd-md),o=r-i,a=(vd*(e-i)-_d*o)/yd,u=Math.sqrt(a*a+o*o)/(vd*i*(1-i)),s=u?Math.atan2(a,o)*id-120:NaN;return new Be(0>s?s+360:s,u,i,t.opacity)}function Ie(t,n,e,r){return 1===arguments.length?He(t):new Be(t,n,e,null==r?1:r)}function Be(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Xe(t){return function(){return t}}function Je(t,n){return function(e){return t+e*n}}function We(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Ve(t,n){var e=n-t;return e?Je(t,e>180||-180>e?e-360*Math.round(e/360):e):Xe(isNaN(t)?n:t)}function $e(t){return 1===(t=+t)?Ze:function(n,e){return e-n?We(n,e,t):Xe(isNaN(n)?e:n)}}function Ze(t,n){var e=n-t;return e?Je(t,e):Xe(isNaN(t)?n:t)}function Ge(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),a=new Array(r);for(e=0;i>e;++e)o[e]=rr(t[e],n[e]);for(;r>e;++e)a[e]=n[e];return function(t){for(e=0;i>e;++e)a[e]=o[e](t);return a}}function Ke(t,n){return t=+t,n-=t,function(e){return t+n*e}}function Qe(t,n){var e,r={},i={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?r[e]=rr(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}function tr(t){return function(){return t}}function nr(t){return function(n){return t(n)+""}}function er(t,n){var e,r,i,o=Ad.lastIndex=Nd.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=Ad.exec(t))&&(r=Nd.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Ke(e,r)})),o=Nd.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?nr(s[0].x):tr(n):(n=s.length,function(t){for(var e,r=0;n>r;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})}function rr(t,n){var e,r=typeof n;return null==n||"boolean"===r?Xe(n):("number"===r?Ke:"string"===r?(e=be(n))?(n=e,kd):er:n instanceof be?kd:Array.isArray(n)?Ge:Qe)(t,n)}function ir(t,n){return t=+t,n-=t,function(e){
return Math.round(t+n*e)}}function or(t,n,e,r,i,o){if(t*r===n*e)return null;var a=Math.sqrt(t*t+n*n);t/=a,n/=a;var u=t*e+n*r;e-=t*u,r-=n*u;var s=Math.sqrt(e*e+r*r);return e/=s,r/=s,u/=s,n*e>t*r&&(t=-t,n=-n,u=-u,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Sd,skewX:Math.atan(u)*Sd,scaleX:a,scaleY:s}}function ar(t){if("none"===t)return Cd;bd||(bd=document.createElement("DIV"),Md=document.documentElement,wd=document.defaultView),bd.style.transform=t,t=wd.getComputedStyle(Md.appendChild(bd),null).getPropertyValue("transform"),Md.removeChild(bd);var n=t.slice(7,-1).split(",");return or(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5])}function ur(t){Td||(Td=document.createElementNS("http://www.w3.org/2000/svg","g")),Td.setAttribute("transform",null==t?"":t);var n=Td.transform.baseVal.consolidate().matrix;return or(n.a,n.b,n.c,n.d,n.e,n.f)}function sr(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,n,null,e);u.push({i:s-4,x:Ke(t,i)},{i:s-2,x:Ke(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}function a(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Ke(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function u(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Ke(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function s(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Ke(t,e)},{i:u-2,x:Ke(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),a(n.rotate,e.rotate,r,i),u(n.skewX,e.skewX,r,i),s(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e<o;)r[(n=i[e]).i]=n.x(t);return r.join("")}}}function cr(t){return((t=Math.exp(t))+1/t)/2}function fr(t){return((t=Math.exp(t))-1/t)/2}function hr(t){return((t=Math.exp(2*t))-1)/(t+1)}function lr(t,n){var e,r,i=t[0],o=t[1],a=t[2],u=n[0],s=n[1],c=n[2],f=u-i,h=s-o,l=f*f+h*h;if(Ld>l)r=Math.log(c/a)/Pd,e=function(t){return[i+t*f,o+t*h,a*Math.exp(Pd*t*r)]};else{var d=Math.sqrt(l),p=(c*c-a*a+Fd*l)/(2*a*Dd*d),_=(c*c-a*a-Fd*l)/(2*c*Dd*d),y=Math.log(Math.sqrt(p*p+1)-p),v=Math.log(Math.sqrt(_*_+1)-_);r=(v-y)/Pd,e=function(t){var n=t*r,e=cr(y),u=a/(Dd*d)*(e*hr(Pd*n+y)-fr(y));return[i+u*f,o+u*h,a*e/cr(Pd*n+y)]}}return e.duration=1e3*r,e}function dr(t,n){var e=Ve((t=Ce(t)).h,(n=Ce(n)).h),r=Ze(t.s,n.s),i=Ze(t.l,n.l),o=Ze(t.opacity,n.opacity);return function(n){return t.h=e(n),t.s=r(n),t.l=i(n),t.opacity=o(n),t+""}}function pr(t,n){var e=Ze((t=Ce(t)).h,(n=Ce(n)).h),r=Ze(t.s,n.s),i=Ze(t.l,n.l),o=Ze(t.opacity,n.opacity);return function(n){return t.h=e(n),t.s=r(n),t.l=i(n),t.opacity=o(n),t+""}}function _r(t,n){var e=Ze((t=De(t)).l,(n=De(n)).l),r=Ze(t.a,n.a),i=Ze(t.b,n.b),o=Ze(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function yr(t,n){var e=Ve((t=Oe(t)).h,(n=Oe(n)).h),r=Ze(t.c,n.c),i=Ze(t.l,n.l),o=Ze(t.opacity,n.opacity);return function(n){return t.h=e(n),t.c=r(n),t.l=i(n),t.opacity=o(n),t+""}}function vr(t,n){var e=Ze((t=Oe(t)).h,(n=Oe(n)).h),r=Ze(t.c,n.c),i=Ze(t.l,n.l),o=Ze(t.opacity,n.opacity);return function(n){return t.h=e(n),t.c=r(n),t.l=i(n),t.opacity=o(n),t+""}}function gr(){for(var t,n=0,e=arguments.length,r={};e>n;++n){if(!(t=arguments[n]+"")||t in r)throw new Error;r[t]=[]}return new mr(r)}function mr(t){this._=t}function xr(t,n){return t.trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error;return{type:t,name:e}})}function br(t,n){for(var e,r=0,i=t.length;i>r;++r)if((e=t[r]).name===n)return e.value}function Mr(t,n,e){for(var r=0,i=t.length;i>r;++r)if(t[r].name===n){t[r]=Yd,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function wr(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function Tr(t,n){var e=wr(t);return function(r,i){return n(e(r),i,t)}}function kr(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}function Ar(t){function n(t,n){var r,i,o=e(t,function(t,e){return r?r(t,e-1):(i=t,void(r=n?Tr(t,n):wr(t)))});return o.columns=i,o}function e(t,n){function e(){if(f>=c)return a;if(i)return i=!1,o;var n,e=f;if(34===t.charCodeAt(e)){for(var r=e;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return f=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++f):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;c>f;){var u=1;if(n=t.charCodeAt(f++),10===n)i=!0;else if(13===n)i=!0,10===t.charCodeAt(f)&&(++f,++u);else if(n!==s)continue;return t.slice(e,f-u)}return t.slice(e)}for(var r,i,o={},a={},u=[],c=t.length,f=0,h=0;(r=e())!==a;){for(var l=[];r!==o&&r!==a;)l.push(r),r=e();n&&null==(l=n(l,h++))||u.push(l)}return u}function r(n,e){return null==e&&(e=kr(n)),[e.map(a).join(t)].concat(n.map(function(n){return e.map(function(t){return a(n[t])}).join(t)})).join("\n")}function i(t){return t.map(o).join("\n")}function o(n){return n.map(a).join(t)}function a(t){return null==t?"":u.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var u=new RegExp('["'+t+"\n]"),s=t.charCodeAt(0);return{parse:n,parseRows:e,format:r,formatRows:i}}function Nr(t,n){function e(t){var n,e=c.status;if(!e&&Cr(c)||e>=200&&300>e||304===e){if(o)try{n=o.call(r,c)}catch(i){return void u.call("error",r,i)}else n=c;u.call("load",r,n)}else u.call("error",r,t)}var r,i,o,a,u=gr("beforesend","progress","load","error"),s=F(),c=new XMLHttpRequest,f=null,h=null,l=0;return"undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(t)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=e:c.onreadystatechange=function(t){c.readyState>3&&e(t)},c.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(l=+t,r):l},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return o||"function"!=typeof e||(o=e,e=null),o&&1===o.length&&(o=Sr(o)),c.open(n,t,!0,f,h),null==i||s.has("accept")||s.set("accept",i+",*/*"),c.setRequestHeader&&s.each(function(t,n){c.setRequestHeader(n,t)}),null!=i&&c.overrideMimeType&&c.overrideMimeType(i),null!=a&&(c.responseType=a),l>0&&(c.timeout=l),o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,c),c.send(null==e?null:e),r},abort:function(){return c.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},n?r.get(n):r}function Sr(t){return function(n,e){t(null==n?e:null)}}function Cr(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function zr(t,n){return function(e,r){var i=Nr(e).mimeType(t).response(n);return r?i.get(r):i}}function Er(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=Nr(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(Pr(n,r=t)):r},o.row(r),i?o.get(i):o}}function Pr(t,n){return function(e){return t(e.responseText,n)}}function Dr(){return sp||(hp(Fr),sp=fp.now()+cp)}function Fr(){sp=0}function Lr(){this._call=this._time=this._next=null}function qr(t,n,e){var r=new Lr;return r.restart(t,n,e),r}function Ur(){Dr(),++rp;for(var t,n=jd;n;)(t=sp-n._time)>=0&&n._call.call(null,t),n=n._next;--rp}function Yr(t){sp=(up=t||fp.now())+cp,rp=ip=0;try{Ur()}finally{rp=0,Or(),sp=0}}function jr(){var t=fp.now(),n=t-up;n>ap&&(cp-=n,up=t)}function Or(){for(var t,n=jd,e=1/0;n;)n._call?(e>n._time&&(e=n._time),n=(t=n)._next):n=t?t._next=n._next:jd=n._next;Od=t,Rr(e)}function Rr(t){if(!rp){ip&&(ip=clearTimeout(ip));var n=t-sp;n>24?(1/0>t&&(ip=setTimeout(Yr,n)),op&&(op=clearInterval(op))):(op||(op=setInterval(jr,ap)),rp=1,hp(Yr))}}function Hr(t,n,e){var r=new Lr;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r}function Ir(t,n,e){var r=new Lr,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?Dr():+e,r.restart(function o(a){a+=i,r.restart(o,i+=n,e),t(a)},n,e),r)}function Br(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return e-t>t-n?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(r>e&&o>0))return a;do a.push(new Date(+e));while(n(e,o),t(e),r>e);return a},i.filter=function(e){return Br(function(n){for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return lp.setTime(+n),dp.setTime(+r),t(lp),t(dp),Math.floor(e(lp,dp))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t===0}:function(n){return i.count(0,n)%t===0}):i:null}),i}function Xr(t){return Br(function(n){n.setHours(0,0,0,0),n.setDate(n.getDate()-(n.getDay()+7-t)%7)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*vp)/xp})}function Jr(t){return Br(function(n){n.setUTCHours(0,0,0,0),n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/xp})}function Wr(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Vr(t){return t=Wr(Math.abs(t)),t?t[1]:NaN}function $r(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(e.substring(i-=u,i+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}}function Zr(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;r>i;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}function Gr(t,n){var e=Wr(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(_p=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Wr(t,Math.max(0,n+o-1))[0]}function Kr(t,n){var e=Wr(t,n);if(!e)return t+"";var r=e[0],i=e[1];return 0>i?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}function Qr(t){return new ti(t)}function ti(t){if(!(n=k_.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",a=!!n[5],u=n[6]&&+n[6],s=!!n[7],c=n[8]&&+n[8].slice(1),f=n[9]||"";"n"===f?(s=!0,f="g"):T_[f]||(f=""),(a||"0"===e&&"="===r)&&(a=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=u,this.comma=s,this.precision=c,this.type=f}function ni(t){return t}function ei(t){function n(t){function n(t){var n,i,s,g=p,m=_;if("c"===d)m=y(t)+m,t="";else{t=+t;var x=(0>t||0>1/t)&&(t*=-1,!0);if(t=y(t,l),x)for(n=-1,i=t.length,x=!1;++n<i;)if(s=t.charCodeAt(n),s>48&&58>s||"x"===d&&s>96&&103>s||"X"===d&&s>64&&71>s){x=!0;break}if(g=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+g,m=m+("s"===d?A_[8+_p/3]:"")+(x&&"("===u?")":""),v)for(n=-1,i=t.length;++n<i;)if(s=t.charCodeAt(n),48>s||s>57){m=(46===s?o+t.slice(n+1):t.slice(n))+m,t=t.slice(0,n);break}}h&&!c&&(t=r(t,1/0));var b=g.length+t.length+m.length,M=f>b?new Array(f-b+1).join(e):"";switch(h&&c&&(t=r(M+t,M.length?f-m.length:1/0),M=""),a){case"<":return g+t+m+M;case"=":return g+M+t+m;case"^":return M.slice(0,b=M.length>>1)+g+t+m+M.slice(b)}return M+g+t+m}t=Qr(t);var e=t.fill,a=t.align,u=t.sign,s=t.symbol,c=t.zero,f=t.width,h=t.comma,l=t.precision,d=t.type,p="$"===s?i[0]:"#"===s&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",_="$"===s?i[1]:/[%p]/.test(d)?"%":"",y=T_[d],v=!d||/[defgprs%]/.test(d);return l=null==l?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,l)):Math.max(0,Math.min(20,l)),n.toString=function(){return t+""},n}function e(t,e){var r=n((t=Qr(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Vr(e)/3))),o=Math.pow(10,-i),a=A_[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?$r(t.grouping,t.thousands):ni,i=t.currency,o=t.decimal;return{format:n,formatPrefix:e}}function ri(t){return Math.max(0,-Vr(Math.abs(t)))}function ii(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Vr(n)/3)))-Vr(Math.abs(t)))}function oi(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Vr(n)-Vr(t))+1}function ai(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 ui(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 si(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function ci(t){function n(t,n){return function(e){var r,i,o,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=K_[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function e(t,n){return function(e){var i=si(1900),o=r(i,t,e+="",0);if(o!=e.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var a="Z"in i?ui(si(i.y)).getUTCDay():n(si(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,ui(i)):n(i)}}function r(t,n,e,r){for(var i,o,a=0,u=n.length,s=e.length;u>a;){if(r>=s)return-1;if(i=n.charCodeAt(a++),37===i){if(i=n.charAt(a++),o=H[i in K_?n.charAt(a++):i],!o||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function i(t,n,e){var r=z.exec(n.slice(e));return r?(t.p=E[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=F.exec(n.slice(e));return r?(t.w=L[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=P.exec(n.slice(e));return r?(t.w=D[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=Y.exec(n.slice(e));return r?(t.m=j[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){var r=q.exec(n.slice(e));return r?(t.m=U[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){return r(t,M,n,e)}function f(t,n,e){return r(t,w,n,e)}function h(t,n,e){return r(t,T,n,e)}function l(t){return N[t.getDay()]}function d(t){return A[t.getDay()]}function p(t){return C[t.getMonth()]}function _(t){return S[t.getMonth()]}function y(t){return k[+(t.getHours()>=12)]}function v(t){return N[t.getUTCDay()]}function g(t){return A[t.getUTCDay()]}function m(t){return C[t.getUTCMonth()]}function x(t){return S[t.getUTCMonth()]}function b(t){return k[+(t.getUTCHours()>=12)]}var M=t.dateTime,w=t.date,T=t.time,k=t.periods,A=t.days,N=t.shortDays,S=t.months,C=t.shortMonths,z=li(k),E=di(k),P=li(A),D=di(A),F=li(N),L=di(N),q=li(S),U=di(S),Y=li(C),j=di(C),O={a:l,A:d,b:p,B:_,c:null,d:Si,e:Si,H:Ci,I:zi,j:Ei,L:Pi,m:Di,M:Fi,p:y,S:Li,U:qi,w:Ui,W:Yi,x:null,X:null,y:ji,Y:Oi,Z:Ri,"%":eo},R={a:v,A:g,b:m,B:x,c:null,d:Hi,e:Hi,H:Ii,I:Bi,j:Xi,L:Ji,m:Wi,M:Vi,p:b,S:$i,U:Zi,w:Gi,W:Ki,x:null,X:null,y:Qi,Y:to,Z:no,"%":eo},H={a:o,A:a,b:u,B:s,c:c,d:bi,e:bi,H:wi,I:wi,j:Mi,L:Ai,m:xi,M:Ti,p:i,S:ki,U:_i,w:pi,W:yi,x:f,X:h,y:gi,Y:vi,Z:mi,"%":Ni};return O.x=n(w,O),O.X=n(T,O),O.c=n(M,O),R.x=n(w,R),R.X=n(T,R),R.c=n(M,R),{format:function(t){var e=n(t+="",O);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",ai);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",R);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,ui);return n.toString=function(){return t},n}}}function fi(t,n,e){var r=0>t?"-":"",i=(r?-t:t)+"",o=i.length;return r+(e>o?new Array(e-o+1).join(n)+i:i)}function hi(t){return t.replace(ny,"\\$&")}function li(t){return new RegExp("^(?:"+t.map(hi).join("|")+")","i")}function di(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function pi(t,n,e){var r=Q_.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function _i(t,n,e){var r=Q_.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function yi(t,n,e){var r=Q_.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function vi(t,n,e){var r=Q_.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function gi(t,n,e){var r=Q_.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function mi(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function xi(t,n,e){var r=Q_.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function bi(t,n,e){var r=Q_.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Mi(t,n,e){var r=Q_.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function wi(t,n,e){var r=Q_.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Ti(t,n,e){var r=Q_.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function ki(t,n,e){var r=Q_.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Ai(t,n,e){var r=Q_.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Ni(t,n,e){var r=ty.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Si(t,n){return fi(t.getDate(),n,2)}function Ci(t,n){return fi(t.getHours(),n,2)}function zi(t,n){return fi(t.getHours()%12||12,n,2)}function Ei(t,n){return fi(1+Tp.count(Dp(t),t),n,3)}function Pi(t,n){return fi(t.getMilliseconds(),n,3)}function Di(t,n){return fi(t.getMonth()+1,n,2)}function Fi(t,n){return fi(t.getMinutes(),n,2)}function Li(t,n){return fi(t.getSeconds(),n,2)}function qi(t,n){return fi(kp.count(Dp(t),t),n,2)}function Ui(t){return t.getDay()}function Yi(t,n){return fi(Ap.count(Dp(t),t),n,2)}function ji(t,n){return fi(t.getFullYear()%100,n,2)}function Oi(t,n){return fi(t.getFullYear()%1e4,n,4)}function Ri(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+fi(n/60|0,"0",2)+fi(n%60,"0",2)}function Hi(t,n){return fi(t.getUTCDate(),n,2)}function Ii(t,n){return fi(t.getUTCHours(),n,2)}function Bi(t,n){return fi(t.getUTCHours()%12||12,n,2)}function Xi(t,n){return fi(1+qp.count(Xp(t),t),n,3)}function Ji(t,n){return fi(t.getUTCMilliseconds(),n,3)}function Wi(t,n){return fi(t.getUTCMonth()+1,n,2)}function Vi(t,n){return fi(t.getUTCMinutes(),n,2)}function $i(t,n){return fi(t.getUTCSeconds(),n,2)}function Zi(t,n){return fi(Up.count(Xp(t),t),n,2)}function Gi(t){return t.getUTCDay()}function Ki(t,n){return fi(Yp.count(Xp(t),t),n,2)}function Qi(t,n){return fi(t.getUTCFullYear()%100,n,2)}function to(t,n){return fi(t.getUTCFullYear()%1e4,n,4)}function no(){return"+0000"}function eo(){return"%"}function ro(t){return t.toISOString()}function io(t){var n=new Date(t);return isNaN(n)?null:n}function oo(){function t(t){var o=t+"",a=n.get(o);if(!a){if(i!==Fy)return i;n.set(o,a=e.push(t))}return r[(a-1)%r.length]}var n=F(),e=[],r=[],i=Fy;return t.domain=function(r){if(!arguments.length)return e.slice();e=[],n=F();for(var i,o,a=-1,u=r.length;++a<u;)n.has(o=(i=r[a])+"")||n.set(o,e.push(i));return t},t.range=function(n){return arguments.length?(r=Dy.call(n),t):r.slice()},t.unknown=function(n){return arguments.length?(i=n,t):i},t.copy=function(){return oo().domain(e).range(r).unknown(i)},t}function ao(){function t(){var t=i().length,r=a[1]<a[0],l=a[r-0],d=a[1-r];n=(d-l)/Math.max(1,t-s+2*c),u&&(n=Math.floor(n)),l+=(d-l-n*(t-s))*f,e=n*(1-s),u&&(l=Math.round(l),e=Math.round(e));var p=h(t).map(function(t){return l+n*t});return o(r?p.reverse():p)}var n,e,r=oo().unknown(void 0),i=r.domain,o=r.range,a=[0,1],u=!1,s=0,c=0,f=.5;return delete r.unknown,r.domain=function(n){return arguments.length?(i(n),t()):i()},r.range=function(n){return arguments.length?(a=[+n[0],+n[1]],t()):a.slice()},r.rangeRound=function(n){return a=[+n[0],+n[1]],u=!0,t()},r.bandwidth=function(){return e},r.step=function(){return n},r.round=function(n){return arguments.length?(u=!!n,t()):u},r.padding=function(n){return arguments.length?(s=c=Math.max(0,Math.min(1,n)),t()):s},r.paddingInner=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),t()):s},r.paddingOuter=function(n){return arguments.length?(c=Math.max(0,Math.min(1,n)),t()):c},r.align=function(n){return arguments.length?(f=Math.max(0,Math.min(1,n)),t()):f},r.copy=function(){return ao().domain(i()).range(a).round(u).paddingInner(s).paddingOuter(c).align(f)},t()}function uo(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return uo(n())},t}function so(){return uo(ao().paddingInner(1))}function co(t){return function(){return t}}function fo(t){return+t}function ho(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:co(n)}function lo(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return n>=t?0:t>=e?1:r(t)}}}function po(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return 0>=t?n:t>=1?e:r(t)}}}function _o(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return i>o?(i=e(o,i),a=r(u,a)):(i=e(i,o),a=r(a,u)),function(t){return a(i(t))}}function yo(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<i;)o[u]=e(t[u],t[u+1]),a[u]=r(n[u],n[u+1]);return function(n){var e=Ch(t,n,1,i)-1;return a[e](o[e](n))}}function vo(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function go(t,n){function e(){return i=Math.min(u.length,s.length)>2?yo:_o,o=a=null,r}function r(n){return(o||(o=i(u,s,f?lo(t):t,c)))(+n)}var i,o,a,u=Ly,s=Ly,c=rr,f=!1;return r.invert=function(t){return(a||(a=i(s,u,ho,f?po(n):n)))(+t)},r.domain=function(t){return arguments.length?(u=Py.call(t,fo),e()):u.slice()},r.range=function(t){return arguments.length?(s=Dy.call(t),e()):s.slice()},r.rangeRound=function(t){return s=Dy.call(t),c=ir,e()},r.clamp=function(t){return arguments.length?(f=!!t,e()):f},r.interpolate=function(t){return arguments.length?(c=t,e()):c},e()}function mo(t,n,e){var r,i=t[0],o=t[t.length-1],a=d(i,o,null==n?10:n);switch(e=Qr(null==e?",f":e),e.type){case"s":var u=Math.max(Math.abs(i),Math.abs(o));return null!=e.precision||isNaN(r=ii(a,u))||(e.precision=r),G_(e,u);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(r=oi(a,Math.max(Math.abs(i),Math.abs(o))))||(e.precision=r-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(r=ri(a))||(e.precision=r-2*("%"===e.type))}return Z_(e)}function xo(t){var n=t.domain;return t.ticks=function(t){var e=n();return l(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return mo(n(),t,e)},t.nice=function(e){var r=n(),i=r.length-1,o=null==e?10:e,a=r[0],u=r[i],s=d(a,u,o);return s&&(s=d(Math.floor(a/s)*s,Math.ceil(u/s)*s,o),r[0]=Math.floor(a/s)*s,r[i]=Math.ceil(u/s)*s,n(r)),t},t}function bo(){var t=go(ho,Ke);return t.copy=function(){return vo(t,bo())},xo(t)}function Mo(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=Py.call(e,fo),t):n.slice()},t.copy=function(){return Mo().domain(n)},xo(t)}function wo(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return o>a&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}function To(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:co(n)}function ko(t,n){return 0>t?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function Ao(t){return isFinite(t)?+("1e"+t):0>t?0:t}function No(t){return 10===t?Ao:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function So(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function Co(t){return function(n){return-t(-n)}}function zo(){function t(){return i=So(r),o=No(r),e()[0]<0&&(i=Co(i),o=Co(o)),n}var n=go(To,ko).domain([1,10]),e=n.domain,r=10,i=So(10),o=No(10);return n.base=function(n){return arguments.length?(r=+n,t()):r},n.domain=function(n){return arguments.length?(e(n),t()):e()},n.ticks=function(t){var n,a=e(),u=a[0],s=a[a.length-1];(n=u>s)&&(d=u,u=s,s=d);var c,f,h,d=i(u),p=i(s),_=null==t?10:+t,y=[];if(!(r%1)&&_>p-d){if(d=Math.round(d)-1,p=Math.round(p)+1,u>0){for(;p>d;++d)for(f=1,c=o(d);r>f;++f)if(h=c*f,!(u>h)){if(h>s)break;y.push(h)}}else for(;p>d;++d)for(f=r-1,c=o(d);f>=1;--f)if(h=c*f,!(u>h)){if(h>s)break;y.push(h)}n&&y.reverse()}else y=l(d,p,Math.min(p-d,_)).map(o);return y},n.tickFormat=function(t,e){if(null==e&&(e=10===r?".0e":","),"function"!=typeof e&&(e=Z_(e)),t===1/0)return e;null==t&&(t=10);var a=Math.max(1,r*t/n.ticks().length);return function(t){var n=t/o(Math.round(i(t)));return r-.5>n*r&&(n*=r),a>=n?e(t):""}},n.nice=function(){return e(wo(e(),{floor:function(t){return o(Math.floor(i(t)))},ceil:function(t){return o(Math.ceil(i(t)))}}))},n.copy=function(){return vo(n,zo().base(r))},n}function Eo(t,n){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}function Po(){function t(t,n){return(n=Eo(n,e)-(t=Eo(t,e)))?function(r){return(Eo(r,e)-t)/n}:co(n)}function n(t,n){return n=Eo(n,e)-(t=Eo(t,e)),function(r){return Eo(t+n*r,1/e)}}var e=1,r=go(t,n),i=r.domain;return r.exponent=function(t){return arguments.length?(e=+t,i(i())):e},r.copy=function(){return vo(r,Po().exponent(e))},xo(r)}function Do(){return Po().exponent(.5)}function Fo(){function t(){var t=0,n=Math.max(1,i.length);for(o=new Array(n-1);++t<n;)o[t-1]=v(r,t/n);return e}function e(t){return isNaN(t=+t)?void 0:i[Ch(o,t)]}var r=[],i=[],o=[];return e.invertExtent=function(t){var n=i.indexOf(t);return 0>n?[NaN,NaN]:[n>0?o[n-1]:r[0],n<o.length?o[n]:r[r.length-1]]},e.domain=function(e){if(!arguments.length)return r.slice();r=[];for(var i,o=0,a=e.length;a>o;++o)i=e[o],null==i||isNaN(i=+i)||r.push(i);return r.sort(n),t()},e.range=function(n){return arguments.length?(i=Dy.call(n),t()):i.slice()},e.quantiles=function(){return o.slice()},e.copy=function(){return Fo().domain(r).range(i)},e}function Lo(){function t(t){return t>=t?a[Ch(o,t,0,i)]:void 0}function n(){var n=-1;for(o=new Array(i);++n<i;)o[n]=((n+1)*r-(n-i)*e)/(i+1);return t}var e=0,r=1,i=1,o=[.5],a=[0,1];return t.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n()):[e,r]},t.range=function(t){return arguments.length?(i=(a=Dy.call(t)).length-1,n()):a.slice()},t.invertExtent=function(t){var n=a.indexOf(t);return 0>n?[NaN,NaN]:1>n?[e,o[0]]:n>=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return Lo().domain([e,r]).range(a)},xo(t)}function qo(){function t(t){return t>=t?e[Ch(n,t,0,r)]:void 0}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=Dy.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=Dy.call(i),r=Math.min(n.length,e.length-1),t):e.slice()},t.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return qo().domain(n).range(e)},t}function Uo(t){return new Date(t)}function Yo(t,n,r,i,o,a,u,s,c){function f(e){return(u(e)<e?y:a(e)<e?v:o(e)<e?g:i(e)<e?m:n(e)<e?r(e)<e?x:b:t(e)<e?M:w)(e)}function h(n,r,i,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(i-r)/n,u=e(function(t){return t[2]}).right(T,a);u===T.length?(o=d(r/Hy,i/Hy,n),n=t):u?(u=T[a/T[u-1][2]<T[u][2]/a?u-1:u],o=u[1],n=u[0]):(o=d(r,i,n),n=s)}return null==o?n:n.every(o)}var l=go(ho,Ke),p=l.invert,_=l.domain,y=c(".%L"),v=c(":%S"),g=c("%I:%M"),m=c("%I %p"),x=c("%a %d"),b=c("%b %d"),M=c("%B"),w=c("%Y"),T=[[u,1,qy],[u,5,5*qy],[u,15,15*qy],[u,30,30*qy],[a,1,Uy],[a,5,5*Uy],[a,15,15*Uy],[a,30,30*Uy],[o,1,Yy],[o,3,3*Yy],[o,6,6*Yy],[o,12,12*Yy],[i,1,jy],[i,2,2*jy],[r,1,Oy],[n,1,Ry],[n,3,3*Ry],[t,1,Hy]];return l.invert=function(t){return new Date(p(t))},l.domain=function(t){return arguments.length?_(t):_().map(Uo)},l.ticks=function(t,n){var e,r=_(),i=r[0],o=r[r.length-1],a=i>o;return a&&(e=i,i=o,o=e),e=h(t,i,o,n),e=e?e.range(i,o+1):[],a?e.reverse():e},l.tickFormat=function(t,n){return null==n?f:c(n)},l.nice=function(t,n){var e=_();return(t=h(t,e[0],e[e.length-1],n))?_(wo(e,t)):l},l.copy=function(){return vo(l,Yo(t,n,r,i,o,a,u,s,c))},l}function jo(){return Yo(Dp,Pp,kp,Tp,wp,Mp,bp,pp,Ny).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function Oo(){return Yo(Xp,Bp,Up,qp,Lp,Fp,c_,u_,Cy).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function Ro(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}function Ho(){return oo().range(Iy)}function Io(){return oo().range(By)}function Bo(){return oo().range(Xy)}function Xo(){return oo().range(Jy)}function Jo(){return bo().interpolate(Ud).range([Ie(300,.5,0),Ie(-240,.5,1)])}function Wo(t){function n(n){var o=(n-e)/(r-e);return t(i?Math.max(0,Math.min(1,o)):o)}var e=0,r=1,i=!1;return n.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n):[e,r]},n.clamp=function(t){return arguments.length?(i=!!t,n):i},n.copy=function(){return Wo(t).domain([e,r]).clamp(i)},xo(n)}function Vo(){return Wo(Ud(Ie(-100,.75,.35),Ie(80,1.5,.8)))}function $o(){return Wo(Ud(Ie(260,.75,.35),Ie(80,1.5,.8)))}function Zo(){var t=Ie();return Wo(function(n){(0>n||n>1)&&(n-=Math.floor(n));var e=Math.abs(n-.5);return t.h=360*n-100,t.s=1.5-1.5*e,t.l=.8-.9*e,t+""})}function Go(t){var n=Wo(function(n){return t[Math.round(n*t.length-n)]}).clamp(!0);return delete n.clamp,n}function Ko(){return Go(Wy)}function Qo(){return Go(Vy)}function ta(){return Go($y)}function na(){return Go(Zy)}function ea(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ky.hasOwnProperty(n)?{space:Ky[n],local:t}:t}function ra(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===Gy&&n.documentElement.namespaceURI===Gy?n.createElement(t):n.createElementNS(e,t)}}function ia(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function oa(t){var n=ea(t);return(n.local?ia:ra)(n)}function aa(t,n,e){return t=ua(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function ua(n,e,r){return function(i){var o=t.event;t.event=i;try{n.call(this,this.__data__,e,r)}finally{t.event=o}}}function sa(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 ca(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;o>r;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function fa(t,n,e){var r=rv.hasOwnProperty(t.type)?aa:ua;return function(i,o,a){var u,s=this.__on,c=r(n,o,a);if(s)for(var f=0,h=s.length;h>f;++f)if((u=s[f]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=e),void(u.value=n);this.addEventListener(t.type,c,e),u={type:t.type,name:t.name,value:n,listener:c,capture:e},s?s.push(u):this.__on=[u]}}function ha(t,n,e){var r,i,o=sa(t+""),a=o.length;{if(!(arguments.length<2)){for(u=n?fa:ca,null==e&&(e=!1),r=0;a>r;++r)this.each(u(o[r],n,e));return this}var u=this.node().__on;if(u)for(var s,c=0,f=u.length;f>c;++c)for(r=0,s=u[c];a>r;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}}function la(n,e,r,i){var o=t.event;n.sourceEvent=t.event,t.event=n;try{return e.apply(r,i)}finally{t.event=o}}function da(){for(var n,e=t.event;n=e.sourceEvent;)e=n;return e}function pa(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop];
}function _a(t){var n=da();return n.changedTouches&&(n=n.changedTouches[0]),pa(t,n)}function ya(t){return function(){return this.querySelector(t)}}function va(t){"function"!=typeof t&&(t=ya(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;e>i;++i)for(var o,a,u=n[i],s=u.length,c=r[i]=new Array(s),f=0;s>f;++f)(o=u[f])&&(a=t.call(o,o.__data__,f,u))&&("__data__"in o&&(a.__data__=o.__data__),c[f]=a);return new Du(r,this._parents)}function ga(t){return function(){return this.querySelectorAll(t)}}function ma(t){"function"!=typeof t&&(t=ga(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;e>o;++o)for(var a,u=n[o],s=u.length,c=0;s>c;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new Du(r,i)}function xa(t){"function"!=typeof t&&(t=ev(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;e>i;++i)for(var o,a=n[i],u=a.length,s=r[i]=new Array(u),c=0;u>c;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&(s[c]=o);return new Du(r,this._parents)}function ba(t){return function(){return t}}function Ma(t,n,e,r,i,o){for(var a,u=0,s=n.length,c=o.length;c>u;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new ka(t,o[u]);for(;s>u;++u)(a=n[u])&&(i[u]=a)}function wa(t,n,e,r,i,o,a){var u,s,c,f={},h=n.length,l=o.length,d=new Array(h);for(u=0;h>u;++u)(s=n[u])&&(d[u]=c=ov+a.call(s,s.__data__,u,n),c in f?i[u]=s:f[c]=s);for(u=0;l>u;++u)c=ov+a.call(t,o[u],u,o),(s=f[c])?(r[u]=s,s.__data__=o[u],f[c]=null):e[u]=new ka(t,o[u]);for(u=0;h>u;++u)(s=n[u])&&f[d[u]]===s&&(i[u]=s)}function Ta(t,n){if(!t)return d=new Array(this.size()),c=-1,this.each(function(t){d[++c]=t}),d;var e=n?wa:Ma,r=this._parents,i=this._groups;"function"!=typeof t&&(t=ba(t));for(var o=i.length,a=new Array(o),u=new Array(o),s=new Array(o),c=0;o>c;++c){var f=r[c],h=i[c],l=h.length,d=t.call(f,f&&f.__data__,c,r),p=d.length,_=u[c]=new Array(p),y=a[c]=new Array(p),v=s[c]=new Array(l);e(f,h,_,y,v,d,n);for(var g,m,x=0,b=0;p>x;++x)if(g=_[x]){for(x>=b&&(b=x+1);!(m=y[b])&&++b<p;);g._next=m||null}}return a=new Du(a,r),a._enter=u,a._exit=s,a}function ka(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function Aa(t){return new Array(t.length)}function Na(){return new Du(this._enter||this._groups.map(Aa),this._parents)}function Sa(){return new Du(this._exit||this._groups.map(Aa),this._parents)}function Ca(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;o>u;++u)for(var s,c=n[u],f=e[u],h=c.length,l=a[u]=new Array(h),d=0;h>d;++d)(s=c[d]||f[d])&&(l[d]=s);for(;r>u;++u)a[u]=n[u];return new Du(a,this._parents)}function za(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this}function Ea(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=Pa);for(var e=this._groups,r=e.length,i=new Array(r),o=0;r>o;++o){for(var a,u=e[o],s=u.length,c=i[o]=new Array(s),f=0;s>f;++f)(a=u[f])&&(c[f]=a);c.sort(n)}return new Du(i,this._parents).order()}function Pa(t,n){return n>t?-1:t>n?1:t>=n?0:NaN}function Da(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Fa(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t}function La(){for(var t=this._groups,n=0,e=t.length;e>n;++n)for(var r=t[n],i=0,o=r.length;o>i;++i){var a=r[i];if(a)return a}return null}function qa(){var t=0;return this.each(function(){++t}),t}function Ua(){return!this.node()}function Ya(t){for(var n=this._groups,e=0,r=n.length;r>e;++e)for(var i,o=n[e],a=0,u=o.length;u>a;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this}function ja(t){return function(){this.removeAttribute(t)}}function Oa(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ra(t,n){return function(){this.setAttribute(t,n)}}function Ha(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Ia(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Ba(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)}}function Xa(t,n){var e=ea(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?Oa:ja:"function"==typeof n?e.local?Ba:Ia:e.local?Ha:Ra)(e,n))}function Ja(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Wa(t){return function(){this.style.removeProperty(t)}}function Va(t,n,e){return function(){this.style.setProperty(t,n,e)}}function $a(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function Za(t,n,e){var r;return arguments.length>1?this.each((null==n?Wa:"function"==typeof n?$a:Va)(t,n,null==e?"":e)):Ja(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)}function Ga(t){return function(){delete this[t]}}function Ka(t,n){return function(){this[t]=n}}function Qa(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function tu(t,n){return arguments.length>1?this.each((null==n?Ga:"function"==typeof n?Qa:Ka)(t,n)):this.node()[t]}function nu(t){return t.trim().split(/^|\s+/)}function eu(t){return t.classList||new ru(t)}function ru(t){this._node=t,this._names=nu(t.getAttribute("class")||"")}function iu(t,n){for(var e=eu(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function ou(t,n){for(var e=eu(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function au(t){return function(){iu(this,t)}}function uu(t){return function(){ou(this,t)}}function su(t,n){return function(){(n.apply(this,arguments)?iu:ou)(this,t)}}function cu(t,n){var e=nu(t+"");if(arguments.length<2){for(var r=eu(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?su:n?au:uu)(e,n))}function fu(){this.textContent=""}function hu(t){return function(){this.textContent=t}}function lu(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function du(t){return arguments.length?this.each(null==t?fu:("function"==typeof t?lu:hu)(t)):this.node().textContent}function pu(){this.innerHTML=""}function _u(t){return function(){this.innerHTML=t}}function yu(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function vu(t){return arguments.length?this.each(null==t?pu:("function"==typeof t?yu:_u)(t)):this.node().innerHTML}function gu(){this.nextSibling&&this.parentNode.appendChild(this)}function mu(){return this.each(gu)}function xu(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function bu(){return this.each(xu)}function Mu(t){return function(){return this.appendChild(t.apply(this,arguments))}}function wu(t,n){return function(){return this.insertBefore(t.apply(this,arguments),n.apply(this,arguments)||null)}}function Tu(){return null}function ku(t,n){var e="function"==typeof t?t:oa(t);return this.select(arguments.length<2?Mu(e):wu(e,null==n?Tu:"function"==typeof n?n:ya(n)))}function Au(){var t=this.parentNode;t&&t.removeChild(this)}function Nu(){return this.each(Au)}function Su(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Cu(t,n,e){var r=Ja(t),i=r.CustomEvent;i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function zu(t,n){return function(){return Cu(this,t,n)}}function Eu(t,n){return function(){return Cu(this,t,n.apply(this,arguments))}}function Pu(t,n){return this.each(("function"==typeof n?Eu:zu)(t,n))}function Du(t,n){this._groups=t,this._parents=n}function Fu(){return new Du([[document.documentElement]],av)}function Lu(t){return"string"==typeof t?new Du([[document.querySelector(t)]],[document.documentElement]):new Du([[t]],av)}function qu(t){return"string"==typeof t?new Du([document.querySelectorAll(t)],[document.documentElement]):new Du([t],av)}function Uu(t,n,e){arguments.length<3&&(e=n,n=da().changedTouches);for(var r,i=0,o=n?n.length:0;o>i;++i)if((r=n[i]).identifier===e)return pa(t,r);return null}function Yu(t,n){null==n&&(n=da().touches);for(var e=0,r=n?n.length:0,i=new Array(r);r>e;++e)i[e]=pa(t,n[e]);return i}function ju(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};Iu(t,e,{name:n,index:r,group:i,on:uv,tween:sv,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:cv})}function Ou(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>cv)throw new Error("too late");return e}function Ru(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>hv)throw new Error("too late");return e}function Hu(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function Iu(t,n,e){function r(t){e.state=fv,e.delay<=t?i(t-e.delay):e.timer.restart(i,e.delay,e.time)}function i(r){var i,s,c,f;for(i in u)f=u[i],f.name===e.name&&(f.state===lv?(f.state=pv,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete u[i]):n>+i&&(f.state=pv,f.timer.stop(),delete u[i]));if(Hr(function(){e.state===lv&&(e.timer.restart(o,e.delay,e.time),o(r))}),e.state=hv,e.on.call("start",t,t.__data__,e.index,e.group),e.state===hv){for(e.state=lv,a=new Array(c=e.tween.length),i=0,s=-1;c>i;++i)(f=e.tween[i].value.call(t,t.__data__,e.index,e.group))&&(a[++s]=f);a.length=s+1}}function o(r){for(var i=r<e.duration?e.ease.call(null,r/e.duration):(e.state=dv,1),o=-1,s=a.length;++o<s;)a[o].call(null,i);if(e.state===dv){e.state=pv,e.timer.stop(),e.on.call("end",t,t.__data__,e.index,e.group);for(o in u)if(+o!==n)return void delete u[n];delete t.__transition}}var a,u=t.__transition;u[n]=e,e.timer=qr(r,0,e.time)}function Bu(t,n){var e,r,i,o=t.__transition,a=!0;if(o){n=null==n?null:n+"";for(i in o)(e=o[i]).name===n?(r=e.state===lv,e.state=pv,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}}function Xu(t){return this.each(function(){Bu(this,t)})}function Ju(t,n){var e,r;return function(){var i=Ru(this,t),o=i.tween;if(o!==e){r=e=o;for(var a=0,u=r.length;u>a;++a)if(r[a].name===n){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function Wu(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=Ru(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},s=0,c=i.length;c>s;++s)if(i[s].name===n){i[s]=u;break}s===c&&i.push(u)}o.tween=i}}function Vu(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Hu(this.node(),e).tween,o=0,a=i.length;a>o;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?Ju:Wu)(e,t,n))}function $u(t,n,e){var r=t._id;return t.each(function(){var t=Ru(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return Hu(t,r).value[n]}}function Zu(t,n){var e;return("number"==typeof n?Ke:n instanceof be?kd:(e=be(n))?(n=e,kd):er)(t,n)}function Gu(t){return function(){this.removeAttribute(t)}}function Ku(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Qu(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}}function ts(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}function ns(t,n,e){var r,i,o;return function(){var a,u=e(this);return null==u?void this.removeAttribute(t):(a=this.getAttribute(t),a===u?null:a===r&&u===i?o:o=n(r=a,i=u))}}function es(t,n,e){var r,i,o;return function(){var a,u=e(this);return null==u?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),a===u?null:a===r&&u===i?o:o=n(r=a,i=u))}}function rs(t,n){var e=ea(t),r="transform"===e?Ed:Zu;return this.attrTween(t,"function"==typeof n?(e.local?es:ns)(e,r,$u(this,"attr."+t,n)):null==n?(e.local?Ku:Gu)(e):(e.local?ts:Qu)(e,r,n))}function is(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}function os(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e}function as(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 r=ea(t);return this.tween(e,(r.local?is:os)(r,n))}function us(t,n){return function(){Ou(this,t).delay=+n.apply(this,arguments)}}function ss(t,n){return n=+n,function(){Ou(this,t).delay=n}}function cs(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?us:ss)(n,t)):Hu(this.node(),n).delay}function fs(t,n){return function(){Ru(this,t).duration=+n.apply(this,arguments)}}function hs(t,n){return n=+n,function(){Ru(this,t).duration=n}}function ls(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?fs:hs)(n,t)):Hu(this.node(),n).duration}function ds(t,n){if("function"!=typeof n)throw new Error;return function(){Ru(this,t).ease=n}}function ps(t){var n=this._id;return arguments.length?this.each(ds(n,t)):Hu(this.node(),n).ease}function _s(t){"function"!=typeof t&&(t=ev(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;e>i;++i)for(var o,a=n[i],u=a.length,s=r[i]=new Array(u),c=0;u>c;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&(s[c]=o);return new qs(r,this._parents,this._name,this._id)}function ys(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;o>u;++u)for(var s,c=n[u],f=e[u],h=c.length,l=a[u]=new Array(h),d=0;h>d;++d)(s=c[d]||f[d])&&(l[d]=s);for(;r>u;++u)a[u]=n[u];return new qs(a,this._parents,this._name,this._id)}function vs(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}function gs(t,n,e){var r,i,o=vs(n)?Ou:Ru;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function ms(t,n){var e=this._id;return arguments.length<2?Hu(this.node(),e).on.on(t):this.each(gs(e,t,n))}function xs(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function bs(){return this.on("end.remove",xs(this._id))}function Ms(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=ya(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;i>a;++a)for(var u,s,c=r[a],f=c.length,h=o[a]=new Array(f),l=0;f>l;++l)(u=c[l])&&(s=t.call(u,u.__data__,l,c))&&("__data__"in u&&(s.__data__=u.__data__),h[l]=s,ju(h[l],n,e,l,h,Hu(u,e)));return new qs(o,this._parents,n,e)}function ws(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=ga(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;i>u;++u)for(var s,c=r[u],f=c.length,h=0;f>h;++h)if(s=c[h]){for(var l,d=t.call(s,s.__data__,h,c),p=Hu(s,e),_=0,y=d.length;y>_;++_)(l=d[_])&&ju(l,n,e,_,d,p);o.push(d),a.push(s)}return new qs(o,a,n,e)}function Ts(){return new _v(this._groups,this._parents)}function ks(t,n){var e,r,i;return function(){var o=Ja(this).getComputedStyle(this,null),a=o.getPropertyValue(t),u=(this.style.removeProperty(t),o.getPropertyValue(t));return a===u?null:a===e&&u===r?i:i=n(e=a,r=u)}}function As(t){return function(){this.style.removeProperty(t)}}function Ns(t,n,e){var r,i;return function(){var o=Ja(this).getComputedStyle(this,null).getPropertyValue(t);return o===e?null:o===r?i:i=n(r=o,e)}}function Ss(t,n,e){var r,i,o;return function(){var a=Ja(this).getComputedStyle(this,null),u=a.getPropertyValue(t),s=e(this);return null==s&&(this.style.removeProperty(t),s=a.getPropertyValue(t)),u===s?null:u===r&&s===i?o:o=n(r=u,i=s)}}function Cs(t,n,e){var r="transform"==(t+="")?zd:Zu;return null==n?this.styleTween(t,ks(t,r)).on("end.style."+t,As(t)):this.styleTween(t,"function"==typeof n?Ss(t,r,$u(this,"style."+t,n)):Ns(t,r,n),e)}function zs(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}function Es(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,zs(t,n,null==e?"":e))}function Ps(t){return function(){this.textContent=t}}function Ds(t){return function(){var n=t(this);this.textContent=null==n?"":n}}function Fs(t){return this.tween("text","function"==typeof t?Ds($u(this,"text",t)):Ps(null==t?"":t+""))}function Ls(){for(var t=this._name,n=this._id,e=Ys(),r=this._groups,i=r.length,o=0;i>o;++o)for(var a,u=r[o],s=u.length,c=0;s>c;++c)if(a=u[c]){var f=Hu(a,n);ju(a,t,e,c,u,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new qs(r,this._parents,t,e)}function qs(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Us(t){return Fu().transition(t)}function Ys(){return++yv}function js(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return gv.time=Dr(),gv;return e}function Os(t){var n,e;t instanceof qs?(n=t._id,t=t._name):(n=Ys(),(e=gv).time=Dr(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;i>o;++o)for(var a,u=r[o],s=u.length,c=0;s>c;++c)(a=u[c])&&ju(a,t,n,c,u,e||js(a,n));return new qs(r,this._parents,t,n)}function Rs(t,n){var e,r,i=t.__transition;if(i){n=null==n?null:n+"";for(r in i)if((e=i[r]).state>fv&&e.name===n)return new qs([[t]],mv,n,+r)}return null}function Hs(t){return t}function Is(t,n,e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"}function Bs(t,n,e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"}function Xs(t){var n=t.bandwidth()/2;return function(e){return t(e)+n}}function Js(t,n){function e(e){var c,f=null==i?n.ticks?n.ticks.apply(n,r):n.domain():i,h=null==o?n.tickFormat?n.tickFormat.apply(n,r):Hs:o,l=Math.max(a,0)+s,d=t===bv||t===wv?Is:Bs,p=n.range(),_=p[0]+.5,y=p[p.length-1]+.5,v=(n.bandwidth?Xs:Hs)(n.copy()),g=e.selection?e.selection():e,m=g.selectAll(".domain").data([null]),x=g.selectAll(".tick").data(f,n).order(),b=x.exit(),M=x.enter().append("g",".domain").attr("class","tick"),w=x.select("line"),T=x.select("text"),k=t===bv||t===Tv?-1:1,A=t===Tv||t===Mv?(c="x","y"):(c="y","x");m=m.merge(m.enter().append("path").attr("class","domain").attr("stroke","#000")),x=x.merge(M),w=w.merge(M.append("line").attr("stroke","#000").attr(c+"2",k*a)),T=T.merge(M.append("text").attr("fill","#000").attr(c,k*l)),e!==g&&(m=m.transition(e),x=x.transition(e),w=w.transition(e),T=T.transition(e),b=b.transition(e).attr("opacity",kv).attr("transform",function(t){return d(v,this.parentNode.__axis||v,t)}),M.attr("opacity",kv).attr("transform",function(t){return d(this.parentNode.__axis||v,v,t)})),b.remove(),m.attr("d",t===Tv||t==Mv?"M"+k*u+","+_+"H0.5V"+y+"H"+k*u:"M"+_+","+k*u+"V0.5H"+y+"V"+k*u),x.attr("opacity",1).attr("transform",function(t){return d(v,v,t)}),w.attr(c+"2",k*a).attr(A+"1",.5).attr(A+"2",.5),T.attr(c,k*l).attr(A,.5).attr("dy",t===bv?"0em":t===wv?".71em":".32em").text(h),g.attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Mv?"start":t===Tv?"end":"middle").each(function(){this.__axis=v})}var r=[],i=null,o=null,a=6,u=6,s=3;return e.scale=function(t){return arguments.length?(n=t,e):n},e.ticks=function(){return r=xv.call(arguments),e},e.tickArguments=function(t){return arguments.length?(r=null==t?[]:xv.call(t),e):r.slice()},e.tickValues=function(t){return arguments.length?(i=null==t?null:xv.call(t),e):i&&i.slice()},e.tickFormat=function(t){return arguments.length?(o=t,e):o},e.tickSize=function(t){return arguments.length?(a=u=+t,e):a},e.tickSizeInner=function(t){return arguments.length?(a=+t,e):a},e.tickSizeOuter=function(t){return arguments.length?(u=+t,e):u},e.tickPadding=function(t){return arguments.length?(s=+t,e):s},e}function Ws(t){return Js(bv,t)}function Vs(t){return Js(Mv,t)}function $s(t){return Js(wv,t)}function Zs(t){return Js(Tv,t)}function Gs(t,n){return t.parent===n.parent?1:2}function Ks(t){return t.reduce(Qs,0)/t.length}function Qs(t,n){return t+n.x}function tc(t){return 1+t.reduce(nc,0)}function nc(t,n){return Math.max(t,n.y)}function ec(t){for(var n;n=t.children;)t=n[0];return t}function rc(t){for(var n;n=t.children;)t=n[n.length-1];return t}function ic(){function t(t){var o,a=0;t.eachAfter(function(t){var e=t.children;e?(t.x=Ks(e),t.y=tc(e)):(t.x=o?a+=n(t,o):0,t.y=0,o=t)});var u=ec(t),s=rc(t),c=u.x-n(u,s)/2,f=s.x+n(s,u)/2;return t.eachAfter(i?function(n){n.x=(n.x-t.x)*e,n.y=(t.y-n.y)*r}:function(n){n.x=(n.x-c)/(f-c)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=Gs,e=1,r=1,i=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(n){return arguments.length?(i=!1,e=+n[0],r=+n[1],t):i?null:[e,r]},t.nodeSize=function(n){return arguments.length?(i=!0,e=+n[0],r=+n[1],t):i?[e,r]:null},t}function oc(t){var n,e,r,i,o=this,a=[o];do for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;i>r;++r)a.push(e[r]);while(a.length);return this}function ac(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this}function uc(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;r>e;++e)o.push(n[e]);for(;i=a.pop();)t(i);return this}function sc(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})}function cc(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}function fc(t){for(var n=this,e=hc(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}function hc(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}function lc(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}function dc(){var t=[];return this.each(function(n){t.push(n)}),t}function pc(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}function _c(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}function yc(t,n){var e,r,i,o,a,u=new bc(t),s=+t.value&&(u.value=t.value),c=[u];for(null==n&&(n=gc);e=c.pop();)if(s&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)c.push(r=e.children[o]=new bc(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(xc)}function vc(){return yc(this).eachBefore(mc)}function gc(t){return t.children}function mc(t){t.data=t.data.data}function xc(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function bc(t){this.data=t,this.depth=this.height=0,this.parent=null}function Mc(t){this._=t,this.next=null}function wc(t){for(var n,e=(t=t.slice()).length,r=null,i=r;e;){var o=new Mc(t[e-1]);i=i?i.next=o:r=o,t[n]=t[--e]}return{head:r,tail:i}}function Tc(t){return Ac(wc(t),[])}function kc(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r-n.r;return i*i+1e-6>e*e+r*r}function Ac(t,n){var e,r,i,o=null,a=t.head;switch(n.length){case 1:e=Nc(n[0]);break;case 2:e=Sc(n[0],n[1]);break;case 3:e=Cc(n[0],n[1],n[2])}for(;a;)i=a._,r=a.next,e&&kc(e,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=Ac(t,n),n.pop(),t.head?(a.next=t.head,t.head=a):(a.next=null,t.head=t.tail=a),o=t.tail,o.next=r),a=r;return t.tail=o,e}function Nc(t){return{x:t.x,y:t.y,r:t.r}}function Sc(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,s=o-e,c=a-r,f=u-i,h=Math.sqrt(s*s+c*c);return{x:(e+o+s/h*f)/2,y:(r+a+c/h*f)/2,r:(h+i+u)/2}}function Cc(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,s=n.r,c=e.x,f=e.y,h=e.r,l=2*(r-a),d=2*(i-u),p=2*(s-o),_=r*r+i*i-o*o-a*a-u*u+s*s,y=2*(r-c),v=2*(i-f),g=2*(h-o),m=r*r+i*i-o*o-c*c-f*f+h*h,x=y*d-l*v,b=(d*m-v*_)/x-r,M=(v*p-d*g)/x,w=(y*_-l*m)/x-i,T=(l*g-y*p)/x,k=M*M+T*T-1,A=2*(b*M+w*T+o),N=b*b+w*w-o*o,S=(-A-Math.sqrt(A*A-4*k*N))/(2*k);return{x:b+M*S+r,y:w+T*S+i,r:S}}function zc(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,s=n.y-i,c=u*u+s*s;if(c){var f=.5+((a*=a)-(o*=o))/(2*c),h=Math.sqrt(Math.max(0,2*o*(a+c)-(a-=c)*a-o*o))/(2*c);e.x=r+f*u+h*s,e.y=i+f*s-h*u}else e.x=r+a,e.y=i}function Ec(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i>e*e+r*r}function Pc(t,n,e){var r=t.x-n,i=t.y-e;return r*r+i*i}function Dc(t){this._=t,this.next=null,this.previous=null}function Fc(t){if(!(i=t.length))return 0;var n,e,r,i;if(n=t[0],n.x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;zc(e,n,r=t[2]);var o,a,u,s,c,f,h,l=n.r*n.r,d=e.r*e.r,p=r.r*r.r,_=l+d+p,y=l*n.x+d*e.x+p*r.x,v=l*n.y+d*e.y+p*r.y;n=new Dc(n),e=new Dc(e),r=new Dc(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;i>u;++u){if(zc(n._,e._,r=t[u]),r=new Dc(r),(c=n.previous)===(s=e.next)){if(Ec(s._,r._)){n=e,e=s,--u;continue t}}else{f=s._.r,h=c._.r;do if(h>=f){if(Ec(s._,r._)){e=s,n.next=e,e.previous=n,--u;continue t}s=s.next,f+=s._.r}else{if(Ec(c._,r._)){n=c,n.next=e,e.previous=n,--u;continue t}c=c.previous,h+=c._.r}while(s!==c.next)}for(r.previous=n,r.next=e,n.next=e.previous=e=r,_+=p=r._.r*r._.r,y+=p*r._.x,v+=p*r._.y,l=Pc(n._,o=y/_,a=v/_);(r=r.next)!==e;)(p=Pc(r._,o,a))<l&&(n=r,l=p);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=Tc(n),u=0;i>u;++u)n=t[u],n.x-=r.x,n.y-=r.y;return r.r}function Lc(t){return Fc(t),t}function qc(t){return null==t?null:Uc(t)}function Uc(t){if("function"!=typeof t)throw new Error;return t}function Yc(){return 0}function jc(t){return function(){return t}}function Oc(t){return Math.sqrt(t.value)}function Rc(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Hc(n)).eachAfter(Ic(i,.5)).eachBefore(Bc(1)):t.eachBefore(Hc(Oc)).eachAfter(Ic(Yc,1)).eachAfter(Ic(i,t.r/Math.min(e,r))).eachBefore(Bc(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Yc;return t.radius=function(e){return arguments.length?(n=qc(e),t):n},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i="function"==typeof n?n:jc(+n),t):i},t}function Hc(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Ic(t,n){return function(e){if(r=e.children){var r,i,o,a=r.length,u=t(e)*n||0;if(u)for(i=0;a>i;++i)r[i].r+=u;if(o=Fc(r),u)for(i=0;a>i;++i)r[i].r-=u;e.r=o+u}}}function Bc(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function Xc(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Jc(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-n)/t.value;++u<s;)o=a[u],o.y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*c}function Wc(){function t(t){var a=t.height+1;return t.x0=t.y0=i,t.x1=e,t.y1=r/a,t.eachBefore(n(r,a)),o&&t.eachBefore(Xc),t}function n(t,n){return function(e){e.children&&Jc(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var r=e.x0,o=e.y0,a=e.x1-i,u=e.y1-i;r>a&&(r=a=(r+a)/2),o>u&&(o=u=(o+u)/2),e.x0=r,e.y0=o,e.x1=a,e.y1=u}}var e=1,r=1,i=0,o=!1;return t.round=function(n){return arguments.length?(o=!!n,t):o},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i=+n,t):i},t}function Vc(t){return t.id}function $c(t){return t.parentId}function Zc(){function t(t){var r,i,o,a,u,s,c,f=t.length,h=new Array(f),l={};for(i=0;f>i;++i)r=t[i],u=h[i]=new bc(r),null!=(s=n(r,i,t))&&(s+="")&&(c=Av+(u.id=s),l[c]=c in l?Sv:u);for(i=0;f>i;++i)if(u=h[i],s=e(t[i],i,t),null!=s&&(s+="")){if(a=l[Av+s],!a)throw new Error("missing: "+s);if(a===Sv)throw new Error("ambiguous: "+s);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=Nv,o.eachBefore(function(t){t.depth=t.parent.depth+1,--f}).eachBefore(xc),o.parent=null,f>0)throw new Error("cycle");return o}var n=Vc,e=$c;return t.id=function(e){return arguments.length?(n=Uc(e),t):n},t.parentId=function(n){return arguments.length?(e=Uc(n),t):e},t}function Gc(t,n){return t.parent===n.parent?1:2}function Kc(t){var n=t.children;return n?n[0]:t.t}function Qc(t){var n=t.children;return n?n[n.length-1]:t.t}function tf(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function nf(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function ef(t,n,e){return t.a.parent===n.parent?t.a:e}function rf(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function of(t){for(var n,e,r,i,o,a=new rf(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new rf(r[i],i)),e.parent=n;return(a.parent=new rf(null,0)).children=[a],a}function af(){function t(t){var r=of(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),s)t.eachBefore(i);else{var c=t,f=t,h=t;t.eachBefore(function(t){t.x<c.x&&(c=t),t.x>f.x&&(f=t),t.depth>h.depth&&(h=t)});var l=c===f?1:o(c,f)/2,d=l-c.x,p=a/(f.x+l+d),_=u/(h.depth||1);t.eachBefore(function(t){t.x=(t.x+d)*p,t.y=t.depth*_})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){nf(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+o(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+o(t._,i._));t.parent.A=r(t,i,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,n,e){if(n){for(var r,i=t,a=t,u=n,s=i.parent.children[0],c=i.m,f=a.m,h=u.m,l=s.m;u=Qc(u),i=Kc(i),u&&i;)s=Kc(s),a=Qc(a),a.a=t,r=u.z+h-i.z-c+o(u._,i._),r>0&&(tf(ef(u,t,e),t,r),c+=r,f+=r),h+=u.m,c+=i.m,l+=s.m,f+=a.m;u&&!Qc(a)&&(a.t=u,a.m+=h-f),i&&!Kc(s)&&(s.t=i,s.m+=c-l,e=t)}return e}function i(t){t.x*=a,t.y=t.depth*u}var o=Gc,a=1,u=1,s=null;return t.separation=function(n){return arguments.length?(o=n,t):o},t.size=function(n){return arguments.length?(s=!1,a=+n[0],u=+n[1],t):s?null:[a,u]},t.nodeSize=function(n){return arguments.length?(s=!0,a=+n[0],u=+n[1],t):s?[a,u]:null},t}function uf(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-e)/t.value;++u<s;)o=a[u],o.x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*c}function sf(t,n,e,r,i){for(var o,a,u,s,c=t._squarify,f=-1,h=c.length,l=t.value;++f<h;){for(o=c[f],a=o.children,u=o.value=0,s=a.length;s>u;++u)o.value+=a[u].value;o.dice?Jc(o,n,e,r,e+=(i-e)*o.value/l):uf(o,n,e,n+=(r-n)*o.value/l,i),l-=o.value}}function cf(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),a=[0],r&&t.eachBefore(Xc),t}function n(t){var n=a[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,l=t.y1-n;r>o&&(r=o=(r+o)/2),i>l&&(i=l=(i+l)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=l,t.children&&(n=a[t.depth+1]=u(t)/2,r+=h(t)-n,i+=s(t)-n,o-=c(t)-n,l-=f(t)-n,r>o&&(r=o=(r+o)/2),i>l&&(i=l=(i+l)/2),e(t,r,i,o,l))}var e=Cv,r=!1,i=1,o=1,a=[0],u=Yc,s=Yc,c=Yc,f=Yc,h=Yc;return t.round=function(n){return arguments.length?(r=!!n,t):r},t.size=function(n){return arguments.length?(i=+n[0],o=+n[1],t):[i,o]},t.tile=function(n){return arguments.length?(e=Uc(n),t):e},t.padding=function(n){return arguments.length?t.paddingInner(n).paddingOuter(n):t.paddingInner()},t.paddingInner=function(n){return arguments.length?(u="function"==typeof n?n:jc(+n),t):u},t.paddingOuter=function(n){return arguments.length?t.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):t.paddingTop()},t.paddingTop=function(n){return arguments.length?(s="function"==typeof n?n:jc(+n),t):s},t.paddingRight=function(n){return arguments.length?(c="function"==typeof n?n:jc(+n),t):c},t.paddingBottom=function(n){return arguments.length?(f="function"==typeof n?n:jc(+n),t):f},t.paddingLeft=function(n){return arguments.length?(h="function"==typeof n?n:jc(+n),t):h},t}function ff(t,n,e,r,i){var o=t.children;hf(o,0,o.length,t.value,n,e,r,i)}function hf(t,n,e,r,i,o,a,u){if(n>=e-1)return t=t[n],t.x0=i,t.y0=o,t.x1=a,t.y1=u,void 0;var s=n,c=r/2,f=0;do f+=t[s].value;while(++s<e-1&&c>f);var h=r-f;if(u-o>a-i){var l=(o*h+u*f)/r;hf(t,n,s,f,i,o,a,l),hf(t,s,e,h,i,l,a,u)}else{var d=(i*h+a*f)/r;hf(t,n,s,f,i,o,d,u),hf(t,s,e,h,d,o,a,u)}}function lf(t,n,e,r,i){(1&t.depth?uf:Jc)(t,n,e,r,i)}function df(t,n){function e(){var e,i,o=r.length,a=0,u=0;for(e=0;o>e;++e)i=r[e],a+=i.x,u+=i.y;for(a=a/o-t,u=u/o-n,e=0;o>e;++e)i=r[e],i.x-=a,i.y-=u}var r;return null==t&&(t=0),
null==n&&(n=0),e.initialize=function(t){r=t},e.x=function(n){return arguments.length?(t=+n,e):t},e.y=function(t){return arguments.length?(n=+t,e):n},e}function pf(t){return function(){return t}}function _f(){return 1e-6*(Math.random()-.5)}function yf(t){return t.x+t.vx}function vf(t){return t.y+t.vy}function gf(t){function n(){function t(t,e,r,i,a){var u=t.data,d=t.r,p=h+d;{if(!u)return e>c+p||c-p>i||r>f+p||f-p>a;if(u.index>n){var _=c-u.x-u.vx,y=f-u.y-u.vy,v=_*_+y*y;p*p>v&&(0===_&&(_=_f(),v+=_*_),0===y&&(y=_f(),v+=y*y),v=(p-(v=Math.sqrt(v)))/v*o,s.vx+=(_*=v)*(p=(d*=d)/(l+d)),s.vy+=(y*=v)*p,u.vx-=_*(p=1-p),u.vy-=y*p)}}}for(var n,u,s,c,f,h,l,d=r.length,p=0;a>p;++p)for(u=Bt(r,yf,vf).visitAfter(e),n=0;d>n;++n)s=r[n],h=i[n],l=h*h,c=s.x+s.vx,f=s.y+s.vy,u.visit(t)}function e(t){if(t.data)return t.r=i[t.data.index];for(var n=t.r=0;4>n;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}var r,i,o=1,a=1;return"function"!=typeof t&&(t=pf(null==t?1:+t)),n.initialize=function(n){var e,o=(r=n).length;for(i=new Array(o),e=0;o>e;++e)i[e]=+t(r[e],e,r)},n.iterations=function(t){return arguments.length?(a=+t,n):a},n.strength=function(t){return arguments.length?(o=+t,n):o},n.radius=function(e){return arguments.length?(t="function"==typeof e?e:pf(+e),n):t},n}function mf(t,n){return n}function xf(t){function n(t){return 1/Math.min(c[t.source.index],c[t.target.index])}function e(n){for(var e=0,r=t.length;p>e;++e)for(var i,o,s,c,h,l,d,_=0;r>_;++_)i=t[_],o=i.source,s=i.target,c=s.x+s.vx-o.x-o.vx||_f(),h=s.y+s.vy-o.y-o.vy||_f(),l=Math.sqrt(c*c+h*h),l=(l-u[_])/l*n*a[_],c*=l,h*=l,s.vx-=c*(d=f[_]),s.vy-=h*d,o.vx+=c*(d=1-d),o.vy+=h*d}function r(){if(s){var n,e,r=s.length,l=t.length,d=F(s,h);for(n=0,c=new Array(r);r>n;++n)c[n]=0;for(n=0;l>n;++n)e=t[n],e.index=n,"object"!=typeof e.source&&(e.source=d.get(e.source)),"object"!=typeof e.target&&(e.target=d.get(e.target)),++c[e.source.index],++c[e.target.index];for(n=0,f=new Array(l);l>n;++n)e=t[n],f[n]=c[e.source.index]/(c[e.source.index]+c[e.target.index]);a=new Array(l),i(),u=new Array(l),o()}}function i(){if(s)for(var n=0,e=t.length;e>n;++n)a[n]=+l(t[n],n,t)}function o(){if(s)for(var n=0,e=t.length;e>n;++n)u[n]=+d(t[n],n,t)}var a,u,s,c,f,h=mf,l=n,d=pf(30),p=1;return null==t&&(t=[]),e.initialize=function(t){s=t,r()},e.links=function(n){return arguments.length?(t=n,r(),e):t},e.id=function(t){return arguments.length?(h=t,e):h},e.iterations=function(t){return arguments.length?(p=+t,e):p},e.strength=function(t){return arguments.length?(l="function"==typeof t?t:pf(+t),i(),e):l},e.distance=function(t){return arguments.length?(d="function"==typeof t?t:pf(+t),o(),e):d},e}function bf(t){return t.x}function Mf(t){return t.y}function wf(t){function n(){e(),p.call("tick",o),u>a&&(d.stop(),p.call("end",o))}function e(){var n,e,r,i=t.length;for(a+=(c-a)*s,h.each(function(t){t(a)}),n=0;i>n;++n)e=t[n],e.x+=e.vx*=f,e.y+=e.vy*=f;for(n in l)r=l[n],e=t[n],e.x=r.x,e.y=r.y,e.vx=e.vy=0}function r(){for(var n,e=0,r=t.length;r>e;++e){if(n=t[e],n.index=e,isNaN(n.x)||isNaN(n.y)){var i=zv*Math.sqrt(e),o=e*Ev;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function i(n){return n.initialize&&n.initialize(t),n}var o,a=1,u=.001,s=1-Math.pow(u,1/300),c=0,f=.6,h=F(),l={},d=qr(n),p=gr("tick","end");return null==t&&(t=[]),r(),o={tick:e,restart:function(){return d.restart(n),o},stop:function(){return d.stop(),o},nodes:function(n){return arguments.length?(t=n,r(),h.each(i),o):t},alpha:function(t){return arguments.length?(a=+t,o):a},alphaMin:function(t){return arguments.length?(u=+t,o):u},alphaDecay:function(t){return arguments.length?(s=+t,o):+s},alphaTarget:function(t){return arguments.length?(c=+t,o):c},drag:function(t){return arguments.length?(f=1-t,o):1-f},force:function(t,n){return arguments.length>1?(null==n?h.remove(t):h.set(t,i(n)),o):h.get(t)},fix:function(t,n,e){return l[t.index]={x:null==n?t.x:+n,y:null==e?t.y:+e},o},unfix:function(t){return delete l[t.index],o},find:function(n,e,r){var i,o,a,u,s,c=0,f=t.length;for(null==r?r=1/0:r*=r,c=0;f>c;++c)u=t[c],i=n-u.x,o=e-u.y,a=i*i+o*o,r>a&&(s=u,r=a);return s},on:function(t,n){return arguments.length>1?(p.on(t,n),o):p.on(t)}}}function Tf(){function t(t){var n,u=i.length,s=Bt(i,bf,Mf).visitAfter(e);for(a=t,n=0;u>n;++n)o=i[n],s.visit(r)}function n(){if(i){var t,n=i.length;for(u=new Array(n),t=0;n>t;++t)u[t]=+s(i[t],t,i)}}function e(t){var n,e,r,i,o,a=0;if(t.length){for(r=i=o=0;4>o;++o)(n=t[o])&&(e=n.value)&&(a+=e,r+=e*n.x,i+=e*n.y);t.x=r/a,t.y=i/a}else{n=t,n.x=n.data.x,n.y=n.data.y;do a+=u[n.data.index];while(n=n.next)}t.value=a}function r(t,n,e,r){if(!t.value)return!0;var i=t.x-o.x,s=t.y-o.y,l=r-n,d=i*i+s*s;if(d>l*l/h)return f>d&&(0===i&&(i=_f(),d+=i*i),0===s&&(s=_f(),d+=s*s),c>d&&(d=Math.sqrt(c*d)),o.vx+=i*t.value*a/d,o.vy+=s*t.value*a/d),!0;if(!(t.length||d>=f)){(t.data!==o||t.next)&&(0===i&&(i=_f(),d+=i*i),0===s&&(s=_f(),d+=s*s),c>d&&(d=Math.sqrt(c*d)));do t.data!==o&&(l=u[t.data.index]*a/d,o.vx+=i*l,o.vy+=s*l);while(t=t.next)}}var i,o,a,u,s=pf(-30),c=1,f=1/0,h=.81;return t.initialize=function(t){i=t,n()},t.strength=function(e){return arguments.length?(s="function"==typeof e?e:pf(+e),n(),t):s},t.distanceMin=function(n){return arguments.length?(c=n*n,t):Math.sqrt(c)},t.distanceMax=function(n){return arguments.length?(f=n*n,t):Math.sqrt(f)},t.theta=function(n){return arguments.length?(h=n*n,t):Math.sqrt(h)},t}function kf(t){function n(t){for(var n,e=0,a=r.length;a>e;++e)n=r[e],n.vx+=(o[e]-n.x)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;e>n;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=pf(.1);return"function"!=typeof t&&(t=pf(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:pf(+t),e(),n):a},n.x=function(r){return arguments.length?(t="function"==typeof r?r:pf(+r),e(),n):t},n}function Af(t){function n(t){for(var n,e=0,a=r.length;a>e;++e)n=r[e],n.vy+=(o[e]-n.y)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;e>n;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=pf(.1);return"function"!=typeof t&&(t=pf(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:pf(+t),e(),n):a},n.y=function(r){return arguments.length?(t="function"==typeof r?r:pf(+r),e(),n):t},n}function Nf(){t.event.stopImmediatePropagation()}function Sf(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function Cf(t){var n=t.document.documentElement,e=Lu(t).on("dragstart.drag",Sf,!0);"onselectstart"in n?e.on("selectstart.drag",Sf,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function zf(t,n){var e=t.document.documentElement,r=Lu(t).on("dragstart.drag",null);n&&(r.on("click.drag",Sf,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}function Ef(t){return function(){return t}}function Pf(t,n,e,r,i,o,a,u,s,c){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=s,this._=c}function Df(){return!t.event.button}function Ff(){return this.parentNode}function Lf(n){return null==n?{x:t.event.x,y:t.event.y}:n}function qf(){function n(t){t.on("mousedown.drag",e).on("touchstart.drag",o).on("touchmove.drag",a).on("touchend.drag touchcancel.drag",u).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function e(){if(!f&&h.apply(this,arguments)){var n=s("mouse",l.apply(this,arguments),_a,this,arguments);n&&(Lu(t.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",i,!0),Cf(t.event.view),Nf(),c=!1,n("start"))}}function r(){Sf(),c=!0,p.mouse("drag")}function i(){Lu(t.event.view).on("mousemove.drag mouseup.drag",null),zf(t.event.view,c),Sf(),p.mouse("end")}function o(){if(h.apply(this,arguments)){var n,e,r=t.event.changedTouches,i=l.apply(this,arguments),o=r.length;for(Nf(),n=0;o>n;++n)(e=s(r[n].identifier,i,Uu,this,arguments))&&e("start")}}function a(){var n,e,r=t.event.changedTouches,i=r.length;for(Sf(),n=0;i>n;++n)(e=p[r[n].identifier])&&e("drag")}function u(){var n,e,r=t.event.changedTouches,i=r.length;for(Nf(),f&&clearTimeout(f),f=setTimeout(function(){f=null},500),n=0;i>n;++n)(e=p[r[n].identifier])&&e("end")}function s(e,r,i,o,a){var u,s,c,f=i(r,e),h=_.copy();if(la(new Pf(n,"beforestart",u,e,y,f[0],f[1],0,0,h),function(){return null==(t.event.subject=u=d.apply(o,a))?!1:(s=u.x-f[0]||0,c=u.y-f[1]||0,!0)}))return function l(t){var d,_=f;switch(t){case"start":p[e]=l,d=y++;break;case"end":delete p[e],--y;case"drag":f=i(r,e),d=y}la(new Pf(n,t,u,e,d,f[0]+s,f[1]+c,f[0]-_[0],f[1]-_[1],h),h.apply,h,[t,o,a])}}var c,f,h=Df,l=Ff,d=Lf,p={},_=gr("start","drag","end"),y=0;return n.filter=function(t){return arguments.length?(h="function"==typeof t?t:Ef(!!t),n):h},n.container=function(t){return arguments.length?(l="function"==typeof t?t:Ef(t),n):l},n.subject=function(t){return arguments.length?(d="function"==typeof t?t:Ef(t),n):d},n.on=function(){var t=_.on.apply(_,arguments);return t===_?n:t},n}function Uf(t){return function(){return t}}function Yf(t){return t[0]}function jf(t){return t[1]}function Of(){this._=null}function Rf(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Hf(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function If(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Bf(t){for(;t.L;)t=t.L;return t}function Xf(t,n,e,r){var i=[null,null],o=qv.push(i)-1;return i.left=t,i.right=n,e&&Wf(i,t,n,e),r&&Wf(i,n,t,r),Fv[t.index].halfedges.push(o),Fv[n.index].halfedges.push(o),i}function Jf(t,n,e){var r=[n,e];return r.left=t,r}function Wf(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Vf(t,n,e,r,i){var o,a,u=t[0],s=t[1],c=u[0],f=u[1],h=s[0],l=s[1],d=0,p=1,_=h-c,y=l-f;if(a=n-c,_||!(a>0)){if(a/=_,0>_){if(d>a)return;p>a&&(p=a)}else if(_>0){if(a>p)return;a>d&&(d=a)}if(a=r-c,_||!(0>a)){if(a/=_,0>_){if(a>p)return;a>d&&(d=a)}else if(_>0){if(d>a)return;p>a&&(p=a)}if(a=e-f,y||!(a>0)){if(a/=y,0>y){if(d>a)return;p>a&&(p=a)}else if(y>0){if(a>p)return;a>d&&(d=a)}if(a=i-f,y||!(0>a)){if(a/=y,0>y){if(a>p)return;a>d&&(d=a)}else if(y>0){if(d>a)return;p>a&&(p=a)}return d>0||1>p?(o=t.left,a=t.right,d>0&&(u=[c+d*_,f+d*y]),1>p&&(s=[c+p*_,f+p*y]),t=[u,s],t.left=o,t.right=a,t):t}}}}}function $f(t,n,e,r,i){var o=t[1];if(o)return t;var a,u,s=t[0],c=t.left,f=t.right,h=c[0],l=c[1],d=f[0],p=f[1],_=(h+d)/2,y=(l+p)/2;if(p===l){if(n>_||_>=r)return;if(h>d){if(s){if(s[1]>=i)return}else s=[_,e];o=[_,i]}else{if(s){if(s[1]<e)return}else s=[_,i];o=[_,e]}}else if(a=(h-d)/(p-l),u=y-a*_,-1>a||a>1)if(h>d){if(s){if(s[1]>=i)return}else s=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(s){if(s[1]<e)return}else s=[(i-u)/a,i];o=[(e-u)/a,e]}else if(p>l){if(s){if(s[0]>=r)return}else s=[n,a*n+u];o=[r,a*r+u]}else{if(s){if(s[0]<n)return}else s=[r,a*r+u];o=[n,a*n+u]}return t=[s,o],t.left=c,t.right=f,t}function Zf(t,n,e,r){for(var i,o=qv.length,a=new Array(o);o--;)(i=$f(qv[o],t,n,e,r))&&(i=Vf(i,t,n,e,r))&&(Math.abs(i[0][0]-i[1][0])>jv||Math.abs(i[0][1]-i[1][1])>jv)&&(a[o]=i);return a}function Gf(t){return Fv[t.index]={site:t,halfedges:[]}}function Kf(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function Qf(t,n){return n[+(n.left!==t.site)]}function th(t,n){return n[+(n.left===t.site)]}function nh(){for(var t,n,e,r,i=0,o=Fv.length;o>i;++i)if((t=Fv[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;r>e;++e)a[e]=e,u[e]=Kf(t,qv[n[e]]);for(a.sort(function(t,n){return u[n]-u[t]}),e=0;r>e;++e)u[e]=n[a[e]];for(e=0;r>e;++e)n[e]=u[e]}}function eh(t,n,e,r,i){for(var o,a,u,s,c,f,h,l,d,p,_=Fv.length;_--;)if(o=Fv[_]){for(u=o.halfedges,a=u.length;a--;)t[u[a]]||u.splice(a,1);for(a=0,s=u.length;s>a;)l=th(o,t[u[a]]),d=l[0],p=l[1],c=Qf(o,t[u[++a%s]]),f=c[0],h=c[1],(Math.abs(d-f)>jv||Math.abs(p-h)>jv)&&(u.splice(a,0,t.push(Jf(o.site,l,Math.abs(d-n)<jv&&i-p>jv?[n,Math.abs(f-n)<jv?h:i]:Math.abs(p-i)<jv&&r-d>jv?[Math.abs(h-i)<jv?f:r,i]:Math.abs(d-r)<jv&&p-e>jv?[r,Math.abs(f-r)<jv?h:e]:Math.abs(p-e)<jv&&d-n>jv?[Math.abs(h-e)<jv?f:n,e]:null))-1),++s)}}function rh(){Rf(this),this.x=this.y=this.arc=this.site=this.cy=null}function ih(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var a=i[0],u=i[1],s=r[0]-a,c=r[1]-u,f=o[0]-a,h=o[1]-u,l=2*(s*h-c*f);if(!(l>=-Ov)){var d=s*s+c*c,p=f*f+h*h,_=(h*d-c*p)/l,y=(s*p-f*d)/l,v=Uv.pop()||new rh;v.arc=t,v.site=i,v.x=_+a,v.y=(v.cy=y+u)+Math.sqrt(_*_+y*y),t.circle=v;for(var g=null,m=Lv._;m;)if(v.y<m.y||v.y===m.y&&v.x<=m.x){if(!m.L){g=m.P;break}m=m.L}else{if(!m.R){g=m;break}m=m.R}Lv.insert(g,v),g||(Pv=v)}}}}function oh(t){var n=t.circle;n&&(n.P||(Pv=n.N),Lv.remove(n),Uv.push(n),Rf(n),t.circle=null)}function ah(){Rf(this),this.edge=this.site=this.circle=null}function uh(t){var n=Yv.pop()||new ah;return n.site=t,n}function sh(t){oh(t),Dv.remove(t),Yv.push(t),Rf(t)}function ch(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];sh(t);for(var s=o;s.circle&&Math.abs(e-s.circle.x)<jv&&Math.abs(r-s.circle.cy)<jv;)o=s.P,u.unshift(s),sh(s),s=o;u.unshift(s),oh(s);for(var c=a;c.circle&&Math.abs(e-c.circle.x)<jv&&Math.abs(r-c.circle.cy)<jv;)a=c.N,u.push(c),sh(c),c=a;u.push(c),oh(c);var f,h=u.length;for(f=1;h>f;++f)c=u[f],s=u[f-1],Wf(c.edge,s.site,c.site,i);s=u[0],c=u[h-1],c.edge=Xf(s.site,c.site,null,i),ih(s),ih(c)}function fh(t){for(var n,e,r,i,o=t[0],a=t[1],u=Dv._;u;)if(r=hh(u,a)-o,r>jv)u=u.L;else{if(i=o-lh(u,a),!(i>jv)){r>-jv?(n=u.P,e=u):i>-jv?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}Gf(t);var s=uh(t);if(Dv.insert(n,s),n||e){if(n===e)return oh(n),e=uh(n.site),Dv.insert(s,e),s.edge=e.edge=Xf(n.site,s.site),ih(n),void ih(e);if(!e)return void(s.edge=Xf(n.site,s.site));oh(n),oh(e);var c=n.site,f=c[0],h=c[1],l=t[0]-f,d=t[1]-h,p=e.site,_=p[0]-f,y=p[1]-h,v=2*(l*y-d*_),g=l*l+d*d,m=_*_+y*y,x=[(y*g-d*m)/v+f,(l*m-_*g)/v+h];Wf(e.edge,c,p,x),s.edge=Xf(c,t,null,x),e.edge=Xf(t,p,null,x),ih(n),ih(e)}}function hh(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-(1/0);e=a.site;var u=e[0],s=e[1],c=s-n;if(!c)return u;var f=u-r,h=1/o-1/c,l=f/c;return h?(-l+Math.sqrt(l*l-2*h*(f*f/(-2*c)-s+c/2+i-o/2)))/h+r:(r+u)/2}function lh(t,n){var e=t.N;if(e)return hh(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function dh(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function ph(t,n){return n[1]-t[1]||n[0]-t[0]}function _h(t,n){var e,r,i,o=t.sort(ph).pop();for(qv=[],Fv=new Array(t.length),Dv=new Of,Lv=new Of;;)if(i=Pv,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(fh(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;ch(i.arc)}if(nh(),n){var a=n[0][0],u=n[0][1],s=n[1][0],c=n[1][1];this.extent=[[a,u],[s,c]],this.cellEdges=Zf(a,u,s,c),eh(this.cellEdges,a,u,s,c)}else this.cellEdges=qv;this.cells=Fv,this.edges=qv,Dv=Lv=qv=Fv=null}function yh(){function t(t){return new _h(t.map(function(r,i){var o=[Math.round(n(r,i,t)/jv)*jv,Math.round(e(r,i,t)/jv)*jv];return o.index=i,o.data=r,o}),r)}var n=Yf,e=jf,r=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(e){return arguments.length?(n="function"==typeof e?e:Uf(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:Uf(+n),t):e},t.extent=function(n){return arguments.length?(r=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},t.size=function(n){return arguments.length?(r=null==n?null:[[0,0],[+n[0],+n[1]]],t):r&&[r[1][0],r[1][1]]},t}function vh(t){return function(){return t}}function gh(t,n,e){this.target=t,this.type=n,this.transform=e}function mh(t,n,e){this.k=t,this.x=n,this.y=e}function xh(t){return t.__zoom||Rv}function bh(){t.event.stopImmediatePropagation()}function Mh(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function wh(){return!t.event.button}function Th(){var t=this.ownerSVGElement;return[[0,0],t?[t.width.baseVal.value,t.height.baseVal.value]:[this.clientWidth,this.clientHeight]]}function kh(){return this.__zoom||Rv}function Ah(n){function e(t){t.on("wheel.zoom",f).on("mousedown.zoom",h).on("dblclick.zoom",l).on("touchstart.zoom",d).on("touchmove.zoom",p).on("touchend.zoom touchcancel.zoom",_).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",kh)}function r(t,n){return n=Math.max(T,Math.min(k,n)),n===t.k?t:new mh(n,t.x,t.y)}function i(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new mh(t.k,r,i)}function o(t,n){var e=Math.min(0,t.invertX(n[0][0])-A)||Math.max(0,t.invertX(n[1][0])-N),r=Math.min(0,t.invertY(n[0][1])-S)||Math.max(0,t.invertY(n[1][1])-C);return e||r?t.translate(e,r):t}function a(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function u(t,n,e){t.on("start.zoom",function(){s(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){s(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=s(t,r),o=w.apply(t,r),u=e||a(o),c=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),f=t.__zoom,h="function"==typeof n?n.apply(t,r):n,l=lr(f.invert(u).concat(c/f.k),h.invert(u).concat(c/h.k));return function(t){if(1===t)t=h;else{var n=l(t),e=c/n[2];t=new mh(e,u[0]-n[0]*e,u[1]-n[1]*e)}i.zoom(null,t)}})}function s(t,n){for(var e,r=0,i=E.length;i>r;++r)if((e=E[r]).that===t)return e;return new c(t,n)}function c(t,n){this.that=t,this.args=n,this.index=-1,this.active=0}function f(){function n(){b=null,e.end()}if(M.apply(this,arguments)){var e=s(this,arguments),a=this.__zoom,u=Math.max(T,Math.min(k,a.k*Math.pow(2,-t.event.deltaY*(t.event.deltaMode?120:1)/500)));if(b){var c=_a(this);v[0]===c[0]&&v[1]===c[1]||(g=a.invert(v=c)),clearTimeout(b)}else{if(a.k===u)return;e.extent=w.apply(this,arguments),g=a.invert(v=_a(this)),Bu(this),e.start()}Mh(),b=setTimeout(n,F),e.zoom("mouse",o(i(r(a,u),v,g),e.extent))}}function h(){function n(){Mh(),y=!0,r.zoom("mouse",o(i(r.that.__zoom,v=_a(r.that),g),r.extent))}function e(){a.on("mousemove.zoom mouseup.zoom",null),zf(t.event.view,y),Mh(),r.end()}if(!x&&M.apply(this,arguments)){var r=s(this,arguments),a=Lu(t.event.view).on("mousemove.zoom",n,!0).on("mouseup.zoom",e,!0);Cf(t.event.view),bh(),y=!1,r.extent=w.apply(this,arguments),g=this.__zoom.invert(v=_a(this)),Bu(this),r.start()}}function l(){if(M.apply(this,arguments)){var n=this.__zoom,a=_a(this),s=n.invert(a),c=n.k*(t.event.shiftKey?.5:2),f=o(i(r(n,c),a,s),w.apply(this,arguments));Mh(),z>0?Lu(this).transition().duration(z).call(u,f,a):Lu(this).call(e.transform,f)}}function d(){if(M.apply(this,arguments)){var n,e,r,i=s(this,arguments),o=t.event.changedTouches,a=o.length;for(bh(),n=0;a>n;++n)e=o[n],r=Uu(this,o,e.identifier),r=[r,this.__zoom.invert(r),e.identifier],i.touch0?i.touch1||(i.touch1=r):i.touch0=r;return m&&(m=clearTimeout(m),!i.touch1)?(i.end(),l.apply(this,arguments)):void(t.event.touches.length===a&&(m=setTimeout(function(){m=null},D),Bu(this),i.extent=w.apply(this,arguments),i.start()))}}function p(){var n,e,a,u,c=s(this,arguments),f=t.event.changedTouches,h=f.length;for(Mh(),m&&(m=clearTimeout(m)),n=0;h>n;++n)e=f[n],a=Uu(this,f,e.identifier),c.touch0&&c.touch0[2]===e.identifier?c.touch0[0]=a:c.touch1&&c.touch1[2]===e.identifier&&(c.touch1[0]=a);if(e=c.that.__zoom,c.touch1){var l=c.touch0[0],d=c.touch0[1],p=c.touch1[0],_=c.touch1[1],y=(y=p[0]-l[0])*y+(y=p[1]-l[1])*y,v=(v=_[0]-d[0])*v+(v=_[1]-d[1])*v;e=r(e,Math.sqrt(y/v)),a=[(l[0]+p[0])/2,(l[1]+p[1])/2],u=[(d[0]+_[0])/2,(d[1]+_[1])/2]}else{if(!c.touch0)return;a=c.touch0[0],u=c.touch0[1]}c.zoom("touch",o(i(e,a,u),c.extent))}function _(){var n,e,r=s(this,arguments),i=t.event.changedTouches,o=i.length;for(bh(),x&&clearTimeout(x),x=setTimeout(function(){x=null},D),n=0;o>n;++n)e=i[n],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0||r.end()}var y,v,g,m,x,b,M=wh,w=Th,T=0,k=1/0,A=-k,N=k,S=A,C=N,z=250,E=[],P=gr("start","zoom","end").on("start",n),D=500,F=150;return e.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",kh),t!==e?u(t,n):e.interrupt().each(function(){s(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},e.scaleBy=function(t,n){e.scaleTo(t,function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e})},e.scaleTo=function(t,n){e.transform(t,function(){var t=w.apply(this,arguments),e=this.__zoom,u=a(t),s=e.invert(u),c="function"==typeof n?n.apply(this,arguments):n;return o(i(r(e,c),u,s),t)})},e.translateBy=function(t,n,r){e.transform(t,function(){return o(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof r?r.apply(this,arguments):r),w.apply(this,arguments))})},c.prototype={start:function(){return 1===++this.active&&(this.index=E.push(this)-1,this.emit("start")),this},zoom:function(t,n){return v&&"mouse"!==t&&(g=n.invert(v)),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0===--this.active&&(E.splice(this.index,1),v=g=null,this.index=-1,this.emit("end")),this},emit:function(t){la(new gh(e,t,this.that.__zoom),P.apply,P,[t,this.that,this.args])}},e.filter=function(t){return arguments.length?(M="function"==typeof t?t:vh(!!t),e):M},e.extent=function(t){return arguments.length?(w="function"==typeof t?t:vh([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):w},e.scaleExtent=function(t){return arguments.length?(T=+t[0],k=+t[1],e):[T,k]},e.translateExtent=function(t){return arguments.length?(A=+t[0][0],N=+t[1][0],S=+t[0][1],C=+t[1][1],e):[[A,S],[N,C]]},e.duration=function(t){return arguments.length?(z=+t,e):z},e.on=function(){var t=P.on.apply(P,arguments);return t===P?e:t},e}var Nh="4.0.0-alpha.44",Sh=e(n),Ch=Sh.right,zh=Sh.left,Eh=Math.sqrt(50),Ph=Math.sqrt(10),Dh=Math.sqrt(2),Fh="$";D.prototype=F.prototype={constructor:D,has:function(t){return Fh+t in this},get:function(t){return this[Fh+t]},set:function(t,n){return this[Fh+t]=n,this},remove:function(t){var n=Fh+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===Fh&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===Fh&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===Fh&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===Fh&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===Fh&&++t;return t},empty:function(){for(var t in this)if(t[0]===Fh)return!1;return!0},each:function(t){for(var n in this)n[0]===Fh&&t(this[n],n.slice(1),this)}};var Lh=F.prototype;O.prototype=R.prototype={constructor:O,has:Lh.has,add:function(t){return t+="",this[Fh+t]=t,this},remove:Lh.remove,clear:Lh.clear,values:Lh.keys,size:Lh.size,empty:Lh.empty,each:Lh.each};var qh=3,Uh=function Hv(t){function n(n){return Math.pow(n,t)}return t=+t,n.exponent=Hv,n}(qh),Yh=function Iv(t){function n(n){return 1-Math.pow(1-n,t)}return t=+t,n.exponent=Iv,n}(qh),jh=function Bv(t){function n(n){return((n*=2)<=1?Math.pow(n,t):2-Math.pow(2-n,t))/2}return t=+t,n.exponent=Bv,n}(qh),Oh=Math.PI,Rh=Oh/2,Hh=4/11,Ih=6/11,Bh=8/11,Xh=.75,Jh=9/11,Wh=10/11,Vh=.9375,$h=21/22,Zh=63/64,Gh=1/Hh/Hh,Kh=1.70158,Qh=function Xv(t){function n(n){return n*n*((t+1)*n-t)}return t=+t,n.overshoot=Xv,n}(Kh),tl=function Jv(t){function n(n){return--n*n*((t+1)*n+t)+1}return t=+t,n.overshoot=Jv,n}(Kh),nl=function Wv(t){function n(n){return((n*=2)<1?n*n*((t+1)*n-t):(n-=2)*n*((t+1)*n+t)+2)/2}return t=+t,n.overshoot=Wv,n}(Kh),el=2*Math.PI,rl=1,il=.3,ol=function Vv(t,n){function e(e){return t*Math.pow(2,10*--e)*Math.sin((r-e)/n)}var r=Math.asin(1/(t=Math.max(1,t)))*(n/=el);return e.amplitude=function(t){return Vv(t,n*el)},e.period=function(n){return Vv(t,n)},e}(rl,il),al=function $v(t,n){function e(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+r)/n)}var r=Math.asin(1/(t=Math.max(1,t)))*(n/=el);return e.amplitude=function(t){return $v(t,n*el)},e.period=function(n){return $v(t,n)},e}(rl,il),ul=function Zv(t,n){function e(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((r-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((r+e)/n))/2}var r=Math.asin(1/(t=Math.max(1,t)))*(n/=el);return e.amplitude=function(t){return Zv(t,n*el)},e.period=function(n){return Zv(t,n)},e}(rl,il),sl=Math.PI,cl=2*sl,fl=1e-6,hl=cl-fl;Tt.prototype=kt.prototype={constructor:Tt,moveTo:function(t,n){this._.push("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._.push("Z"))},lineTo:function(t,n){this._.push("L",this._x1=+t,",",this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._.push("Q",+t,",",+n,",",this._x1=+e,",",this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._.push("C",+t,",",+n,",",+e,",",+r,",",this._x1=+i,",",this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,u=e-t,s=r-n,c=o-t,f=a-n,h=c*c+f*f;if(0>i)throw new Error("negative radius: "+i);if(null===this._x1)this._.push("M",this._x1=t,",",this._y1=n);else if(h>fl)if(Math.abs(f*u-s*c)>fl&&i){var l=e-o,d=r-a,p=u*u+s*s,_=l*l+d*d,y=Math.sqrt(p),v=Math.sqrt(h),g=i*Math.tan((sl-Math.acos((p+h-_)/(2*y*v)))/2),m=g/v,x=g/y;Math.abs(m-1)>fl&&this._.push("L",t+m*c,",",n+m*f),this._.push("A",i,",",i,",0,0,",+(f*l>c*d),",",this._x1=t+x*u,",",this._y1=n+x*s)}else this._.push("L",this._x1=t,",",this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,e=+e;var a=e*Math.cos(r),u=e*Math.sin(r),s=t+a,c=n+u,f=1^o,h=o?r-i:i-r;if(0>e)throw new Error("negative radius: "+e);null===this._x1?this._.push("M",s,",",c):(Math.abs(this._x1-s)>fl||Math.abs(this._y1-c)>fl)&&this._.push("L",s,",",c),e&&(h>hl?this._.push("A",e,",",e,",0,1,",f,",",t-a,",",n-u,"A",e,",",e,",0,1,",f,",",this._x1=s,",",this._y1=c):(0>h&&(h=h%cl+cl),this._.push("A",e,",",e,",0,",+(h>=sl),",",f,",",this._x1=t+e*Math.cos(i),",",this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+n,"h",+e,"v",+r,"h",-e,"Z")},toString:function(){return this._.join("")}};var ll=Bt.prototype=Xt.prototype;ll.copy=function(){var t,n,e=new Xt(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Jt(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;4>i;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Jt(n));return e},ll.add=At,ll.addAll=St,ll.cover=Ct,ll.data=zt,ll.extent=Et,ll.find=Dt,ll.remove=Ft,ll.removeAll=Lt,ll.root=qt,ll.size=Ut,ll.visit=Yt,ll.visitAfter=jt,ll.x=Rt,ll.y=It;var dl=[].slice,pl={};Wt.prototype=Qt.prototype={constructor:Wt,defer:function(t){if("function"!=typeof t||this._call)throw new Error;if(null!=this._error)return this;var n=dl.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),Vt(this),this},abort:function(){return null==this._error&&Gt(this,new Error("abort")),this},await:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=function(n,e){t.apply(null,[n].concat(e))},Kt(this),this},awaitAll:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=t,Kt(this),this}};var _l=1e-12,yl=Math.PI,vl=yl/2,gl=2*yl;hn.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)}}},xn.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 ml={draw:function(t,n){var e=Math.sqrt(n/yl);t.moveTo(e,0),t.arc(0,0,e,0,gl)}},xl={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},bl=Math.sqrt(1/3),Ml=2*bl,wl={draw:function(t,n){var e=Math.sqrt(n/Ml),r=e*bl;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Tl=.8908130915292852,kl=Math.sin(yl/10)/Math.sin(7*yl/10),Al=Math.sin(gl/10)*kl,Nl=-Math.cos(gl/10)*kl,Sl={draw:function(t,n){var e=Math.sqrt(n*Tl),r=Al*e,i=Nl*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;5>o;++o){var a=gl*o/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*e,-u*e),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},Cl={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},zl=Math.sqrt(3),El={draw:function(t,n){var e=-Math.sqrt(n/(3*zl));t.moveTo(0,2*e),t.lineTo(-zl*e,-e),t.lineTo(zl*e,-e),t.closePath()}},Pl=-.5,Dl=Math.sqrt(3)/2,Fl=1/Math.sqrt(12),Ll=3*(Fl/2+1),ql={draw:function(t,n){var e=Math.sqrt(n/Ll),r=e/2,i=e*Fl,o=r,a=e*Fl+e,u=-o,s=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,s),t.lineTo(Pl*r-Dl*i,Dl*r+Pl*i),t.lineTo(Pl*o-Dl*a,Dl*o+Pl*a),t.lineTo(Pl*u-Dl*s,Dl*u+Pl*s),t.lineTo(Pl*r+Dl*i,Pl*i-Dl*r),t.lineTo(Pl*o+Dl*a,Pl*a-Dl*o),t.lineTo(Pl*u+Dl*s,Pl*s-Dl*u),t.closePath()}},Ul=[ml,xl,wl,Cl,Sl,El,ql];Nn.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:An(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:An(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Cn.prototype={areaStart:kn,areaEnd:kn,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:An(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},En.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(){(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;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:An(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Dn.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 r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,s=-1;++s<=e;)r=s/e,
this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*a),this._beta*n[s]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Yl=function Gv(t){function n(n){return 1===t?new Nn(n):new Dn(n,t)}return n.beta=function(t){return Gv(+t)},n}(.85);Ln.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:Fn(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:Fn(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 jl=function Kv(t){function n(n){return new Ln(n,t)}return n.tension=function(t){return Kv(+t)},n}(0);qn.prototype={areaStart:kn,areaEnd:kn,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:Fn(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 Ol=function Qv(t){function n(n){return new qn(n,t)}return n.tension=function(t){return Qv(+t)},n}(0);Un.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:Fn(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 Rl=function tg(t){function n(n){return new Un(n,t)}return n.tension=function(t){return tg(+t)},n}(0);jn.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,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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Yn(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}};var Hl=function ng(t){function n(n){return t?new jn(n,t):new Ln(n,0)}return n.alpha=function(t){return ng(+t)},n}(.5);On.prototype={areaStart:kn,areaEnd:kn,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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Yn(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}};var Il=function eg(t){function n(n){return t?new On(n,t):new qn(n,0)}return n.alpha=function(t){return eg(+t)},n}(.5);Rn.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Yn(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}};var Bl=function rg(t){function n(n){return t?new Rn(n,t):new Un(n,0)}return n.alpha=function(t){return rg(+t)},n}(.5);Hn.prototype={areaStart:kn,areaEnd:kn,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Vn.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:Wn(this,this._t0,Jn(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(t=+t,n=+n,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,Wn(this,Jn(this,e=Xn(this,t,n)),e);break;default:Wn(this,this._t0,e=Xn(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},($n.prototype=Object.create(Vn.prototype)).point=function(t,n){Vn.prototype.point.call(this,n,t)},Zn.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,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=te(t),i=te(n),o=0,a=1;e>a;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},ee.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,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:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var Xl=Array.prototype.slice,Jl=.7,Wl=1/Jl,Vl=/^#([0-9a-f]{3})$/,$l=/^#([0-9a-f]{6})$/,Zl=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,Gl=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,Kl=/^rgba\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,Ql=/^rgba\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,td=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,nd=/^hsla\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,ed={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};ge(xe,be,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),ge(Ae,ke,me(xe,{brighter:function(t){return t=null==t?Wl:Math.pow(Wl,t),new Ae(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Jl:Math.pow(Jl,t),new Ae(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(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+")")}})),ge(ze,Ce,me(xe,{brighter:function(t){return t=null==t?Wl:Math.pow(Wl,t),new ze(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Jl:Math.pow(Jl,t),new ze(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,r=e+(.5>e?e:1-e)*n,i=2*e-r;return new Ae(Ee(t>=240?t-240:t+120,i,r),Ee(t,i,r),Ee(120>t?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var rd=Math.PI/180,id=180/Math.PI,od=18,ad=.95047,ud=1,sd=1.08883,cd=4/29,fd=6/29,hd=3*fd*fd,ld=fd*fd*fd;ge(Fe,De,me(xe,{brighter:function(t){return new Fe(this.l+od*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Fe(this.l-od*(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 t=ud*qe(t),n=ad*qe(n),e=sd*qe(e),new Ae(Ue(3.2404542*n-1.5371385*t-.4985314*e),Ue(-.969266*n+1.8760108*t+.041556*e),Ue(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),ge(Re,Oe,me(xe,{brighter:function(t){return new Re(this.h,this.c,this.l+od*(null==t?1:t),this.opacity)},darker:function(t){return new Re(this.h,this.c,this.l-od*(null==t?1:t),this.opacity)},rgb:function(){return Pe(this).rgb()}}));var dd=-.14861,pd=1.78277,_d=-.29227,yd=-.90649,vd=1.97294,gd=vd*yd,md=vd*pd,xd=pd*_d-yd*dd;ge(Be,Ie,me(xe,{brighter:function(t){return t=null==t?Wl:Math.pow(Wl,t),new Be(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Jl:Math.pow(Jl,t),new Be(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*rd,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Ae(255*(n+e*(dd*r+pd*i)),255*(n+e*(_d*r+yd*i)),255*(n+e*(vd*r)),this.opacity)}}));var bd,Md,wd,Td,kd=function ig(t){function n(t,n){var r=e((t=ke(t)).r,(n=ke(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=e(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}var e=$e(t);return n.gamma=ig,n}(1),Ad=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Nd=new RegExp(Ad.source,"g"),Sd=180/Math.PI,Cd={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},zd=sr(ar,"px, ","px)","deg)"),Ed=sr(ur,", ",")",")"),Pd=Math.SQRT2,Dd=2,Fd=4,Ld=1e-12,qd=function og(t){function n(n,e){var r=Ve((n=Ie(n)).h,(e=Ie(e)).h),i=Ze(n.s,e.s),o=Ze(n.l,e.l),a=Ze(n.opacity,e.opacity);return function(e){return n.h=r(e),n.s=i(e),n.l=o(Math.pow(e,t)),n.opacity=a(e),n+""}}return t=+t,n.gamma=og,n}(1),Ud=function ag(t){function n(n,e){var r=Ze((n=Ie(n)).h,(e=Ie(e)).h),i=Ze(n.s,e.s),o=Ze(n.l,e.l),a=Ze(n.opacity,e.opacity);return function(e){return n.h=r(e),n.s=i(e),n.l=o(Math.pow(e,t)),n.opacity=a(e),n+""}}return t=+t,n.gamma=ag,n}(1),Yd={value:function(){}};mr.prototype=gr.prototype={constructor:mr,on:function(t,n){var e,r=this._,i=xr(t+"",r),o=-1,a=i.length;{if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error;for(;++o<a;)if(e=(t=i[o]).type)r[e]=Mr(r[e],t.name,n);else if(null==n)for(e in r)r[e]=Mr(r[e],t.name,null);return this}for(;++o<a;)if((e=(t=i[o]).type)&&(e=br(r[e],t.name)))return e}},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new mr(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r=new Array(e),i=0;e>i;++i)r[i]=arguments[i+2];this.apply(t,n,r)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error;for(var r=this._[t],i=0,o=r.length;o>i;++i)r[i].value.apply(n,e)}};var jd,Od,Rd=Ar(","),Hd=Rd.parse,Id=Rd.parseRows,Bd=Rd.format,Xd=Rd.formatRows,Jd=Ar(" "),Wd=Jd.parse,Vd=Jd.parseRows,$d=Jd.format,Zd=Jd.formatRows,Gd=zr("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),Kd=zr("application/json",function(t){return JSON.parse(t.responseText)}),Qd=zr("text/plain",function(t){return t.responseText}),tp=zr("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),np=Er("text/csv",Hd),ep=Er("text/tab-separated-values",Wd),rp=0,ip=0,op=0,ap=1e3,up=0,sp=0,cp=0,fp="object"==typeof performance?performance:Date,hp="function"==typeof requestAnimationFrame?fp===Date?function(t){requestAnimationFrame(function(){t(fp.now())})}:requestAnimationFrame:function(t){setTimeout(t,17)};Lr.prototype=qr.prototype={constructor:Lr,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Dr():+e)+(null==n?0:+n),this._next||Od===this||(Od?Od._next=this:jd=this,Od=this),this._call=t,this._time=e,Rr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Rr())}};var lp=new Date,dp=new Date,pp=Br(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});pp.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Br(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):pp:null};var _p,yp=1e3,vp=6e4,gp=36e5,mp=864e5,xp=6048e5,bp=Br(function(t){t.setTime(Math.floor(t/yp)*yp)},function(t,n){t.setTime(+t+n*yp)},function(t,n){return(n-t)/yp},function(t){return t.getUTCSeconds()}),Mp=Br(function(t){t.setTime(Math.floor(t/vp)*vp)},function(t,n){t.setTime(+t+n*vp)},function(t,n){return(n-t)/vp},function(t){return t.getMinutes()}),wp=Br(function(t){var n=t.getTimezoneOffset()*vp%gp;0>n&&(n+=gp),t.setTime(Math.floor((+t-n)/gp)*gp+n)},function(t,n){t.setTime(+t+n*gp)},function(t,n){return(n-t)/gp},function(t){return t.getHours()}),Tp=Br(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())*vp)/mp},function(t){return t.getDate()-1}),kp=Xr(0),Ap=Xr(1),Np=Xr(2),Sp=Xr(3),Cp=Xr(4),zp=Xr(5),Ep=Xr(6),Pp=Br(function(t){t.setHours(0,0,0,0),t.setDate(1)},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()}),Dp=Br(function(t){t.setHours(0,0,0,0),t.setMonth(0,1)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}),Fp=Br(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*vp)},function(t,n){return(n-t)/vp},function(t){return t.getUTCMinutes()}),Lp=Br(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*gp)},function(t,n){return(n-t)/gp},function(t){return t.getUTCHours()}),qp=Br(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/mp},function(t){return t.getUTCDate()-1}),Up=Jr(0),Yp=Jr(1),jp=Jr(2),Op=Jr(3),Rp=Jr(4),Hp=Jr(5),Ip=Jr(6),Bp=Br(function(t){t.setUTCHours(0,0,0,0),t.setUTCDate(1)},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()}),Xp=Br(function(t){t.setUTCHours(0,0,0,0),t.setUTCMonth(0,1)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}),Jp=pp.range,Wp=bp.range,Vp=Mp.range,$p=wp.range,Zp=Tp.range,Gp=kp.range,Kp=Ap.range,Qp=Np.range,t_=Sp.range,n_=Cp.range,e_=zp.range,r_=Ep.range,i_=kp.range,o_=Pp.range,a_=Dp.range,u_=pp,s_=Jp,c_=bp,f_=Wp,h_=Fp.range,l_=Lp.range,d_=qp.range,p_=Up.range,__=Yp.range,y_=jp.range,v_=Op.range,g_=Rp.range,m_=Hp.range,x_=Ip.range,b_=Up.range,M_=Bp.range,w_=Xp.range,T_={"":Zr,"%":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 Kr(100*t,n)},r:Kr,s:Gr,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},k_=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;ti.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.type};var A_=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],N_=ei({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),S_=ei({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),C_=ei({decimal:",",thousands:" ",grouping:[3],currency:[""," Kč"]}),z_=ei({decimal:",",thousands:"'",grouping:[3],currency:[""," CHF"]}),E_=ei({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),P_=ei({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),D_=ei({decimal:".",thousands:",",grouping:[3],currency:["£",""]}),F_=ei({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),L_=ei({decimal:",",thousands:" ",grouping:[3],currency:[""," €"]}),q_=ei({decimal:",",thousands:" ",grouping:[3],currency:["","$"]}),U_=ei({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),Y_=ei({decimal:".",thousands:",",grouping:[3],currency:["₪",""]}),j_=ei({decimal:",",thousands:" ",grouping:[3],currency:[""," Ft"]}),O_=ei({decimal:",",thousands:".",grouping:[3],currency:["€",""]}),R_=ei({decimal:".",thousands:",",grouping:[3],currency:["","円"]}),H_=ei({decimal:".",thousands:",",grouping:[3],currency:["₩",""]}),I_=ei({decimal:",",thousands:".",grouping:[3],currency:[""," ден."]}),B_=ei({decimal:",",thousands:".",grouping:[3],currency:["€ ",""]}),X_=ei({decimal:",",thousands:".",grouping:[3],currency:["","zł"]}),J_=ei({decimal:",",thousands:".",grouping:[3],currency:["R$",""]}),W_=ei({decimal:",",thousands:" ",grouping:[3],currency:[""," руб."]}),V_=ei({decimal:",",thousands:" ",grouping:[3],currency:["","SEK"]}),$_=ei({decimal:".",thousands:",",grouping:[3],currency:["¥",""]}),Z_=N_.format,G_=N_.formatPrefix,K_={"-":"",_:" ",0:"0"},Q_=/^\s*\d+/,ty=/^%/,ny=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ey=ci({dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]}),ry=ci({dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],shortDays:["dg.","dl.","dt.","dc.","dj.","dv.","ds."],months:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],shortMonths:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."]}),iy=ci({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),oy=ci({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),ay=ci({dateTime:"%a %b %e %X %Y",date:"%Y-%m-%d",time:"%H:%M:%S",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"]}),uy=ci({dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",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"]}),sy=ci({dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom","lun","mar","mié","jue","vie","sáb"],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortMonths:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"]}),cy=ci({dateTime:"%A, %-d. %Bta %Y klo %X",date:"%-d.%-m.%Y",time:"%H:%M:%S",periods:["a.m.","p.m."],days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],shortDays:["Su","Ma","Ti","Ke","To","Pe","La"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],shortMonths:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"]}),fy=ci({dateTime:"%a %e %b %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["",""],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim","lun","mar","mer","jeu","ven","sam"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["jan","fév","mar","avr","mai","jui","jul","aoû","sep","oct","nov","déc"]}),hy=ci({dateTime:"%A, le %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]}),ly=ci({dateTime:"%A, %e ב%B %Y %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],shortDays:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],shortMonths:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"]}),dy=ci({dateTime:"%Y. %B %-e., %A %X",date:"%Y. %m. %d.",time:"%H:%M:%S",periods:["de.","du."],days:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],shortDays:["V","H","K","Sze","Cs","P","Szo"],months:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],shortMonths:["jan.","feb.","már.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."]}),py=ci({dateTime:"%A %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],shortDays:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],shortMonths:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"]}),_y=ci({dateTime:"%Y %b %e %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["AM","PM"],days:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],shortDays:["日","月","火","水","木","金","土"],months:["睦月","如月","弥生","卯月","皐月","水無月","文月","葉月","長月","神無月","霜月","師走"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}),yy=ci({dateTime:"%Y/%m/%d %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["오전","오후"],days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],shortDays:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],shortMonths:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]}),vy=ci({dateTime:"%A, %e %B %Y г. %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["недела","понеделник","вторник","среда","четврток","петок","сабота"],shortDays:["нед","пон","вто","сре","чет","пет","саб"],months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],shortMonths:["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек"]}),gy=ci({dateTime:"%a %e %B %Y %T",date:"%d-%m-%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"]}),my=ci({dateTime:"%A, %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],shortDays:["Niedz.","Pon.","Wt.","Śr.","Czw.","Pt.","Sob."],months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],shortMonths:["Stycz.","Luty","Marz.","Kwie.","Maj","Czerw.","Lipc.","Sierp.","Wrz.","Paźdz.","Listop.","Grudz."]}),xy=ci({dateTime:"%A, %e de %B de %Y. %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],shortDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]}),by=ci({dateTime:"%A, %e %B %Y г. %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],shortDays:["вс","пн","вт","ср","чт","пт","сб"],months:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],shortMonths:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"]}),My=ci({dateTime:"%A den %d %B %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["fm","em"],days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],shortDays:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],shortMonths:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"]
}),wy=ci({dateTime:"%x %A %X",date:"%Y年%-m月%-d日",time:"%H:%M:%S",periods:["上午","下午"],days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],shortDays:["周日","周一","周二","周三","周四","周五","周六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortMonths:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]}),Ty="%Y-%m-%dT%H:%M:%S.%LZ",ky=Date.prototype.toISOString?ro:ey.utcFormat(Ty),Ay=+new Date("2000-01-01T00:00:00.000Z")?io:ey.utcParse(Ty),Ny=ey.format,Sy=ey.parse,Cy=ey.utcFormat,zy=ey.utcParse,Ey=Array.prototype,Py=Ey.map,Dy=Ey.slice,Fy={name:"implicit"},Ly=[0,1],qy=1e3,Uy=60*qy,Yy=60*Uy,jy=24*Yy,Oy=7*jy,Ry=30*jy,Hy=365*jy,Iy=Ro("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),By=Ro("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Xy=Ro("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Jy=Ro("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Wy=Ro("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"),Vy=Ro("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"),$y=Ro("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"),Zy=Ro("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"),Gy="http://www.w3.org/1999/xhtml",Ky={svg:"http://www.w3.org/2000/svg",xhtml:Gy,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Qy=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var tv=document.documentElement;if(!tv.matches){var nv=tv.webkitMatchesSelector||tv.msMatchesSelector||tv.mozMatchesSelector||tv.oMatchesSelector;Qy=function(t){return function(){return nv.call(this,t)}}}}var ev=Qy,rv={};if(t.event=null,"undefined"!=typeof document){var iv=document.documentElement;"onmouseenter"in iv||(rv={mouseenter:"mouseover",mouseleave:"mouseout"})}var ov="$";ka.prototype={constructor:ka,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)}},ru.prototype={add:function(t){var n=this._names.indexOf(t);0>n&&(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 av=[null];Du.prototype=Fu.prototype={constructor:Du,select:va,selectAll:ma,filter:xa,data:Ta,enter:Na,exit:Sa,merge:Ca,order:za,sort:Ea,call:Da,nodes:Fa,node:La,size:qa,empty:Ua,each:Ya,attr:Xa,style:Za,property:tu,classed:cu,text:du,html:vu,raise:mu,lower:bu,append:ku,remove:Nu,datum:Su,on:ha,dispatch:Pu};var uv=gr("start","end","interrupt"),sv=[],cv=0,fv=1,hv=2,lv=3,dv=4,pv=5,_v=Fu.prototype.constructor,yv=0,vv=Fu.prototype;qs.prototype=Us.prototype={constructor:qs,select:Ms,selectAll:ws,filter:_s,merge:ys,selection:Ts,transition:Ls,call:vv.call,nodes:vv.nodes,node:vv.node,size:vv.size,empty:vv.empty,each:vv.each,on:ms,attr:rs,attrTween:as,style:Cs,styleTween:Es,text:Fs,remove:bs,tween:Vu,delay:cs,duration:ls,ease:ps};var gv={time:null,delay:0,duration:250,ease:rt};Fu.prototype.interrupt=Xu,Fu.prototype.transition=Os;var mv=[null],xv=Array.prototype.slice,bv=1,Mv=2,wv=3,Tv=4,kv=1e-6;bc.prototype=yc.prototype={constructor:bc,each:oc,eachAfter:uc,eachBefore:ac,sum:sc,sort:cc,path:fc,ancestors:lc,descendants:dc,leaves:pc,links:_c,copy:vc};var Av="$",Nv={depth:-1},Sv={};rf.prototype=Object.create(bc.prototype);var Cv=function ug(t){function n(n,e,r,i,o){if(n._squarify)return sf(n,e,r,i,o);for(var a,u,s,c,f,h,l,d,p,_,y,v,g=n._squarify=[],m=n.children,x=0,b=m.length,M=n.value;b>x;){for(c=i-e,f=o-r,l=d=h=m[x].value,y=Math.max(f/c,c/f)/(M*t),v=h*h*y,_=Math.max(d/v,v/l),s=x+1;b>s;++s){if(h+=u=m[s].value,l>u&&(l=u),u>d&&(d=u),v=h*h*y,p=Math.max(d/v,v/l),p>_){h-=u;break}_=p}g.push(a={value:h,dice:f>c,children:m.slice(x,s)}),a.dice?Jc(a,e,r,i,M?r+=f*h/M:o):uf(a,e,r,M?e+=c*h/M:i,o),M-=h,x=s}}return n.ratio=function(t){return ug((t=+t)>1?t:1)},n}((1+Math.sqrt(5))/2,!1),zv=10,Ev=Math.PI*(3-Math.sqrt(5));Pf.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t},Of.prototype={constructor:Of,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Bf(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(Hf(this,e),t=e,e=t.U),e.C=!1,r.C=!0,If(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(If(this,e),t=e,e=t.U),e.C=!1,r.C=!0,Hf(this,r))),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?Bf(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,Hf(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,If(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,Hf(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,If(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Hf(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,If(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Pv,Dv,Fv,Lv,qv,Uv=[],Yv=[],jv=1e-6,Ov=1e-12;_h.prototype={constructor:_h,polygons:function(){var t=this.cells,n=this.cellEdges,e=this.extent,r=e[0][0],i=e[0][1],o=e[1][0],a=e[1][1],u=new Array(t.length);return t.forEach(function(t,e){var s,c=t.site,f=t.halfedges;if(f.length)s=f.map(function(e){return Qf(t,n[e])});else{if(!(c[0]>=r&&c[0]<=o&&c[1]>=i&&c[1]<=a))return;s=[[r,a],[o,a],[o,i],[r,i]]}u[e]=s,s.data=c.data}),u},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){for(var i,o=e.site,a=e.halfedges,u=-1,s=a.length,c=n[a[s-1]],f=c.left===o?c.right:c.left;++u<s;)i=f,c=n[a[u]],f=c.left===o?c.right:c.left,r<i.index&&r<f.index&&dh(o,i,f)<0&&t.push([o.data,i.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})}},mh.prototype={constructor:mh,scale:function(t){return 1===t?this:new mh(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new mh(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Rv=new mh(1,0,0);xh.prototype=mh.prototype,t.version=Nh,t.bisect=Ch,t.bisectRight=Ch,t.bisectLeft=zh,t.ascending=n,t.bisector=e,t.descending=i,t.deviation=u,t.extent=s,t.histogram=y,t.thresholdFreedmanDiaconis=g,t.thresholdScott=m,t.thresholdSturges=p,t.max=x,t.mean=b,t.median=M,t.merge=w,t.min=T,t.pairs=k,t.permute=A,t.quantile=v,t.range=h,t.scan=N,t.shuffle=S,t.sum=C,t.ticks=l,t.tickStep=d,t.transpose=z,t.variance=a,t.zip=P,t.entries=B,t.keys=H,t.values=I,t.map=F,t.set=R,t.nest=L,t.randomUniform=X,t.randomNormal=J,t.randomLogNormal=W,t.randomBates=$,t.randomIrwinHall=V,t.randomExponential=Z,t.easeLinear=G,t.easeQuad=tt,t.easeQuadIn=K,t.easeQuadOut=Q,t.easeQuadInOut=tt,t.easeCubic=rt,t.easeCubicIn=nt,t.easeCubicOut=et,t.easeCubicInOut=rt,t.easePoly=jh,t.easePolyIn=Uh,t.easePolyOut=Yh,t.easePolyInOut=jh,t.easeSin=at,t.easeSinIn=it,t.easeSinOut=ot,t.easeSinInOut=at,t.easeExp=ct,t.easeExpIn=ut,t.easeExpOut=st,t.easeExpInOut=ct,t.easeCircle=lt,t.easeCircleIn=ft,t.easeCircleOut=ht,t.easeCircleInOut=lt,t.easeBounce=pt,t.easeBounceIn=dt,t.easeBounceOut=pt,t.easeBounceInOut=_t,t.easeBack=nl,t.easeBackIn=Qh,t.easeBackOut=tl,t.easeBackInOut=nl,t.easeElastic=al,t.easeElasticIn=ol,t.easeElasticOut=al,t.easeElasticInOut=ul,t.polygonArea=yt,t.polygonCentroid=vt,t.polygonHull=bt,t.polygonContains=Mt,t.polygonLength=wt,t.path=kt,t.quadtree=Bt,t.queue=Qt,t.arc=fn,t.area=_n,t.line=yn,t.pie=mn,t.radialArea=Mn,t.radialLine=wn,t.symbol=Tn,t.symbols=Ul,t.symbolCircle=ml,t.symbolCross=xl,t.symbolDiamond=wl,t.symbolSquare=Cl,t.symbolStar=Sl,t.symbolTriangle=El,t.symbolWye=ql,t.curveBasisClosed=zn,t.curveBasisOpen=Pn,t.curveBasis=Sn,t.curveBundle=Yl,t.curveCardinalClosed=Ol,t.curveCardinalOpen=Rl,t.curveCardinal=jl,t.curveCatmullRomClosed=Il,t.curveCatmullRomOpen=Bl,t.curveCatmullRom=Hl,t.curveLinearClosed=In,t.curveLinear=ln,t.curveMonotoneX=Gn,t.curveMonotoneY=Kn,t.curveNatural=ne,t.curveStep=re,t.curveStepAfter=oe,t.curveStepBefore=ie,t.stack=ce,t.stackOffsetExpand=fe,t.stackOffsetNone=ae,t.stackOffsetSilhouette=he,t.stackOffsetWiggle=le,t.stackOrderAscending=de,t.stackOrderDescending=_e,t.stackOrderInsideOut=ye,t.stackOrderNone=ue,t.stackOrderReverse=ve,t.color=be,t.rgb=ke,t.hsl=Ce,t.lab=De,t.hcl=Oe,t.cubehelix=Ie,t.interpolate=rr,t.interpolateArray=Ge,t.interpolateNumber=Ke,t.interpolateObject=Qe,t.interpolateRound=ir,t.interpolateString=er,t.interpolateTransformCss=zd,t.interpolateTransformSvg=Ed,t.interpolateZoom=lr,t.interpolateRgb=kd,t.interpolateHsl=dr,t.interpolateHslLong=pr,t.interpolateLab=_r,t.interpolateHcl=yr,t.interpolateHclLong=vr,t.interpolateCubehelix=qd,t.interpolateCubehelixLong=Ud,t.dispatch=gr,t.dsvFormat=Ar,t.csvParse=Hd,t.csvParseRows=Id,t.csvFormat=Bd,t.csvFormatRows=Xd,t.tsvParse=Wd,t.tsvParseRows=Vd,t.tsvFormat=$d,t.tsvFormatRows=Zd,t.request=Nr,t.html=Gd,t.json=Kd,t.text=Qd,t.xml=tp,t.csv=np,t.tsv=ep,t.now=Dr,t.timer=qr,t.timerFlush=Ur,t.timeout=Hr,t.interval=Ir,t.timeInterval=Br,t.timeMillisecond=pp,t.timeMilliseconds=Jp,t.timeSecond=bp,t.timeSeconds=Wp,t.timeMinute=Mp,t.timeMinutes=Vp,t.timeHour=wp,t.timeHours=$p,t.timeDay=Tp,t.timeDays=Zp,t.timeWeek=kp,t.timeWeeks=i_,t.timeSunday=kp,t.timeSundays=Gp,t.timeMonday=Ap,t.timeMondays=Kp,t.timeTuesday=Np,t.timeTuesdays=Qp,t.timeWednesday=Sp,t.timeWednesdays=t_,t.timeThursday=Cp,t.timeThursdays=n_,t.timeFriday=zp,t.timeFridays=e_,t.timeSaturday=Ep,t.timeSaturdays=r_,t.timeMonth=Pp,t.timeMonths=o_,t.timeYear=Dp,t.timeYears=a_,t.utcMillisecond=u_,t.utcMilliseconds=s_,t.utcSecond=c_,t.utcSeconds=f_,t.utcMinute=Fp,t.utcMinutes=h_,t.utcHour=Lp,t.utcHours=l_,t.utcDay=qp,t.utcDays=d_,t.utcWeek=Up,t.utcWeeks=b_,t.utcSunday=Up,t.utcSundays=p_,t.utcMonday=Yp,t.utcMondays=__,t.utcTuesday=jp,t.utcTuesdays=y_,t.utcWednesday=Op,t.utcWednesdays=v_,t.utcThursday=Rp,t.utcThursdays=g_,t.utcFriday=Hp,t.utcFridays=m_,t.utcSaturday=Ip,t.utcSaturdays=x_,t.utcMonth=Bp,t.utcMonths=M_,t.utcYear=Xp,t.utcYears=w_,t.format=Z_,t.formatPrefix=G_,t.formatLocale=ei,t.formatCaEs=S_,t.formatCsCz=C_,t.formatDeCh=z_,t.formatDeDe=E_,t.formatEnCa=P_,t.formatEnGb=D_,t.formatEnUs=N_,t.formatEsEs=F_,t.formatFiFi=L_,t.formatFrCa=q_,t.formatFrFr=U_,t.formatHeIl=Y_,t.formatHuHu=j_,t.formatItIt=O_,t.formatJaJp=R_,t.formatKoKr=H_,t.formatMkMk=I_,t.formatNlNl=B_,t.formatPlPl=X_,t.formatPtBr=J_,t.formatRuRu=W_,t.formatSvSe=V_,t.formatZhCn=$_,t.formatSpecifier=Qr,t.precisionFixed=ri,t.precisionPrefix=ii,t.precisionRound=oi,t.timeFormat=Ny,t.timeParse=Sy,t.utcFormat=Cy,t.utcParse=zy,t.isoFormat=ky,t.isoParse=Ay,t.timeFormatLocale=ci,t.timeFormatCaEs=ry,t.timeFormatDeCh=iy,t.timeFormatDeDe=oy,t.timeFormatEnCa=ay,t.timeFormatEnGb=uy,t.timeFormatEnUs=ey,t.timeFormatEsEs=sy,t.timeFormatFiFi=cy,t.timeFormatFrCa=fy,t.timeFormatFrFr=hy,t.timeFormatHeIl=ly,t.timeFormatHuHu=dy,t.timeFormatItIt=py,t.timeFormatJaJp=_y,t.timeFormatKoKr=yy,t.timeFormatMkMk=vy,t.timeFormatNlNl=gy,t.timeFormatPlPl=my,t.timeFormatPtBr=xy,t.timeFormatRuRu=by,t.timeFormatSvSe=My,t.timeFormatZhCn=wy,t.scaleBand=ao,t.scalePoint=so,t.scaleIdentity=Mo,t.scaleLinear=bo,t.scaleLog=zo,t.scaleOrdinal=oo,t.scaleImplicit=Fy,t.scalePow=Po,t.scaleSqrt=Do,t.scaleQuantile=Fo,t.scaleQuantize=Lo,t.scaleThreshold=qo,t.scaleTime=jo,t.scaleUtc=Oo,t.scaleCategory10=Ho,t.scaleCategory20b=Io,t.scaleCategory20c=Bo,t.scaleCategory20=Xo,t.scaleSequential=Wo,t.scaleCubehelix=Jo,t.scaleRainbow=Zo,t.scaleWarm=Vo,t.scaleCool=$o,t.scaleViridis=Ko,t.scaleMagma=Qo,t.scaleInferno=ta,t.scalePlasma=na,t.creator=oa,t.customEvent=la,t.matcher=ev,t.mouse=_a,t.namespace=ea,t.namespaces=Ky,t.select=Lu,t.selectAll=qu,t.selection=Fu,t.selector=ya,t.selectorAll=ga,t.touch=Uu,t.touches=Yu,t.window=Ja,t.active=Rs,t.interrupt=Bu,t.transition=Us,t.axisTop=Ws,t.axisRight=Vs,t.axisBottom=$s,t.axisLeft=Zs,t.cluster=ic,t.hierarchy=yc,t.pack=Rc,t.packSiblings=Lc,t.packEnclose=Tc,t.partition=Wc,t.stratify=Zc,t.tree=af,t.treemap=cf,t.treemapBinary=ff,t.treemapDice=Jc,t.treemapSlice=uf,t.treemapSliceDice=lf,t.treemapSquarify=Cv,t.forceCenter=df,t.forceCollide=gf,t.forceLink=xf,t.forceManyBody=Tf,t.forceSimulation=wf,t.forceX=kf,t.forceY=Af,t.drag=qf,t.dragDisable=Cf,t.dragEnable=zf,t.voronoi=yh,t.zoom=Ah,t.zoomIdentity=Rv,t.zoomTransform=xh});
},{}],2:[function(require,module,exports){
var d3 = require('./d3.v4.0.0-alpha.44.min');
var Chart;
(function (Chart) {
var top = 1, right = 2, bottom = 3, left = 4;
var slice = Array.prototype.slice;
var identity = function (x) { return x; };
function center(scale) {
var width = scale.bandwidth() / 2;
return function (d) { return scale(d) + width; };
}
var MyAxis = (function () {
function MyAxis(orient, scale) {
this.orient = orient;
this.scale = scale;
this.tickArguments = [];
this.tickValues = null;
this.tickFormat = null;
this.tickSizeInner = 6;
this.tickSizeOuter = 6;
this.tickPadding = 3;
}
MyAxis.prototype.axis = function (context) {
var values = this.tickValues == null ? (this.scale.ticks ? this.scale.ticks.apply(this.scale, this.tickArguments) : this.scale.domain()) : this.tickValues, format = this.tickFormat == null ? (this.scale.tickFormat ? this.scale.tickFormat.apply(this.scale, this.tickArguments) : identity) : this.tickFormat, spacing = Math.max(this.tickSizeInner, 0) + this.tickPadding, transform = this.orient === top || this.orient === bottom ? translateX : translateY, range = this.scale.range(), range0 = range[0] + 0.5, range1 = range[range.length - 1] + 0.5, position = (this.scale.bandwidth ? center : identity)(this.scale.copy()), tick = context.selectAll('.tick').data(values, this.scale).order(), tickExit = tick.exit(), tickEnter = tick.enter().append('g').attr('class', 'tick'), line = tick.select('line'), text = tick.select('text'), k = this.orient === top || this.orient === left ? -1 : 1, x = '', y = this.orient === left || this.orient === right ? (x = 'x', 'y') : (x = 'y', 'x');
tick = tick.merge(tickEnter);
line = line.merge(tickEnter.append('line').attr(x + '2', k * this.tickSizeInner));
text = text.merge(tickEnter.append('text').attr(x, k * spacing));
tickExit.remove();
tick.attr('transform', function (d) { return transform(position, position, d); });
line
.attr(x + '2', k * this.tickSizeInner)
.attr(y + '1', 0.5)
.attr(y + '2', 0.5);
text
.attr(x, k * spacing)
.attr(y, 0.5)
.attr('dy', this.orient === top ? '0em' : this.orient === bottom ? '.71em' : '.32em')
.text(format);
context
.attr('text-anchor', this.orient === right ? 'start' : this.orient === left ? 'end' : 'middle')
.each(function () { this.__axis = position; });
};
MyAxis.prototype.axisUp = function (context) {
var values = this.tickValues == null ? (this.scale.ticks ? this.scale.ticks.apply(this.scale, this.tickArguments) : this.scale.domain()) : this.tickValues, format = this.tickFormat == null ? (this.scale.tickFormat ? this.scale.tickFormat.apply(this.scale, this.tickArguments) : identity) : this.tickFormat, spacing = Math.max(this.tickSizeInner, 0) + this.tickPadding, transform = this.orient === top || this.orient === bottom ? translateX : translateY, range = this.scale.range(), range0 = range[0] + 0.5, range1 = range[range.length - 1] + 0.5, position = (this.scale.bandwidth ? center : identity)(this.scale.copy()), tick = context.selectAll('.tick').data(values, this.scale).order(), tickExit = tick.exit(), tickEnter = tick.enter().append('g').attr('class', 'tick'), k = this.orient === top || this.orient === left ? -1 : 1, x = '', y = this.orient === left || this.orient === right ? (x = 'x', 'y') : (x = 'y', 'x');
tickEnter.append('line')
.attr(x + '2', k * this.tickSizeInner)
.attr(y + '1', 0.5)
.attr(y + '2', 0.5);
tickEnter.append('text')
.attr(x, k * spacing)
.attr(y, 0.5)
.attr('dy', this.orient === top ? '0em' : this.orient === bottom ? '.71em' : '.32em')
.text(format);
tickExit.remove();
tick.attr('transform', function (d) { return transform(position, position, d); });
};
MyAxis.prototype.setScale = function (_) { return this.scale = _, this; };
MyAxis.prototype.ticks = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i - 0] = arguments[_i];
}
return this.tickArguments = slice.call(args), this;
};
MyAxis.prototype.setTickArguments = function (_) {
return this.tickArguments = _ == null ? [] : slice.call(_), this;
};
MyAxis.prototype.setTickValues = function (_) {
return this.tickValues = _ == null ? null : slice.call(_), this;
};
MyAxis.prototype.setTickFormat = function (_) {
return this.tickFormat = _, this;
};
MyAxis.prototype.setTickSize = function (_) {
return this.tickSizeInner = this.tickSizeOuter = +_, this;
};
MyAxis.prototype.setTickSizeInner = function (_) {
return this.tickSizeInner = +_, this;
};
MyAxis.prototype.setTickSizeOuter = function (_) {
return this.tickSizeOuter = +_, this;
};
MyAxis.prototype.setTickPadding = function (_) {
return this.tickPadding = +_, this;
};
return MyAxis;
}());
function translateX(scale0, scale1, d) {
var x = scale0(d);
return 'translate(' + (isFinite(x) ? x : scale1(d)) + ',0)';
}
function translateY(scale0, scale1, d) {
var y = scale0(d);
return 'translate(0,' + (isFinite(y) ? y : scale1(d)) + ')';
}
var svg = d3.select('svg'), width = +svg.attr('width'), height = +svg.attr('height');
d3
.csv('ny-vs-sf.csv')
.row(function (d) { return ({
date: new Date(d.Date),
NY: parseFloat(d.NY.split(';')[0]),
SF: parseFloat(d.SF.split(';')[0])
}); })
.get(function (error, data) {
if (error != null) {
alert('Data can\'t be downloaded or parsed');
return;
}
var x = d3.scaleTime().range([0, width]);
var y = d3.scaleLinear().range([height, 0]);
var color = d3.scaleOrdinal().domain(['NY', 'SF']).range(['green', 'blue']);
var xAxis = new MyAxis(bottom, x)
.ticks((width + 2) / (height + 2) * 10)
.setTickSize(height)
.setTickPadding(8 - height);
var yAxis = new MyAxis(right, y)
.ticks(10)
.setTickSize(width)
.setTickPadding(8 - width);
var line = d3.line()
.x(function (d) { return x(d.date); })
.y(function (d) { return y(d.value); });
var cities = color.domain()
.map(function (name) {
return ({
name: name,
values: data.filter(function (d) { return !isNaN(d[name]); }).map(function (d) { return ({ date: d.date, value: +d[name] }); })
});
});
x.domain(d3.extent(data, function (d) { return d.date; }));
y.domain([
d3.min(cities, function (c) { return d3.min(c.values, function (v) { return v.value; }); }),
d3.max(cities, function (c) { return d3.max(c.values, function (v) { return v.value; }); })
]);
var view = svg.selectAll('.view')
.data(cities)
.enter().append('g')
.attr('class', 'view');
view.append('path')
.attr('d', function (d) { return line(d.values); })
.attr('stroke', function (d) { return color(d.name); });
var gX = svg.append('g')
.attr('class', 'axis')
.call(xAxis.axis.bind(xAxis));
var gY = svg.append('g')
.attr('class', 'axis')
.call(yAxis.axis.bind(yAxis));
svg.append('rect')
.attr('class', 'zoom')
.attr('width', width)
.attr('height', height)
.call(d3.zoom()
.scaleExtent([1, 40])
.translateExtent([[-100, -100], [width + 90, height + 100]])
.on('zoom', zoomed));
var newZoom = null;
var rx = null;
var ry = null;
var draw = drawProc(function () {
view.attr('transform', newZoom);
xAxis.setScale(rx).axisUp(gX);
yAxis.setScale(ry).axisUp(gY);
});
function zoomed() {
var z = d3.event.transform.toString();
if (z != newZoom) {
rx = d3.event.transform.rescaleX(x);
ry = d3.event.transform.rescaleY(y);
newZoom = z;
draw();
}
}
function drawProc(f) {
var requested = false;
return function () {
if (!requested) {
requested = true;
d3.timeout(function (time) {
requested = false;
f(time);
});
}
};
}
});
function measureFPS(sec, drawFPS) {
var ctr = 0;
d3.timer(function () {
ctr++;
});
d3.interval(function () {
drawFPS((ctr / sec).toPrecision(3));
ctr = 0;
}, 1000 * sec);
}
measureFPS(3, function (fps) {
document.getElementById('fps').textContent = fps;
});
})(Chart || (Chart = {}));
},{"./d3.v4.0.0-alpha.44.min":1}]},{},[2]);
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.axis { fill: none; font-size: 10px; font-family: sans-serif }
.axis line {
stroke-opacity: 0.3;
shape-rendering: crispEdges;
}
.zoom {
fill: none;
pointer-events: all;
}
.view {
fill: none;
}
.tick line { stroke: #000; opacity: 1 }
.tick text { fill: #000 }
</style>
<div id="fps">n/a</div>
<svg width="960" height="500"></svg>
<script type="application/ecmascript" src="bundle.js"></script>
Date NY SF
2007-01-01 46;51;56 43;45;48
2007-01-02 43;48;52 48;56;63
2007-01-03 39;46;53 50;54;62
2007-01-04 44;51;58 45;52;56
2007-01-05 51;57;62 44;49;58
2007-01-06 55;64;72 40;50;60
2007-01-07 46;51;56 45;53;63
2007-01-08 40;49;57 43;53;64
2007-01-09 37;41;45 49;56;66
2007-01-10 31;35;38 45;49;54
2007-01-11 29;35;41 41;46;54
2007-01-12 39;45;50 41;44;49
2007-01-13 46;52;57 38;44;53
2007-01-14 42;44;46 36;43;51
2007-01-15 41;46;51 36;46;55
2007-01-16 25;41;57 37;45;54
2007-01-17 21;26;31 41;47;56
2007-01-18 25;32;38 38;48;61
2007-01-19 33;38;43
2007-01-20 23;29;35
2007-01-21 21;26;31 55;60;68
2007-01-22 28;31;34 44;54;66
2007-01-23 30;34;38 41;51;64
2007-01-24 34;37;40 42;51;64
2007-01-25 17;27;37 45;49;56
2007-01-26 11;18;24 44;48;52
2007-01-27 22;32;41 47;52;58
2007-01-28 32;38;43 48;52;60
2007-01-29 24;28;32 47;55;64
2007-01-30 23;30;37 51;54;56
2007-01-31 27;31;34 49;52;56
2007-02-01 28;33;37 46;50;52
2007-02-02 34;37;39 47;51;57
2007-02-03 25;32;38 42;51;62
2007-02-04 18;25;31 44;55;69
2007-02-05 10;15;20 48;55;68
2007-02-06 13;20;26 48;54;62
2007-02-07 14;21;27 51;56;62
2007-02-08 17;24;30 49;54;56
2007-02-09 20;27;33 55;56;58
2007-02-10 25;30;34 55;57;60
2007-02-11 21;28;34 51;55;59
2007-02-12 30;36;41 48;51;59
2007-02-13 23;29;34 48;52;58
2007-02-14 19;25;31 44;52;60
2007-02-15 17;21;25 49;55;65
2007-02-16 16;23;30 48;59;72
2007-02-17 22;29;36 51;62;77
2007-02-18 20;28;35 48;54;61
2007-02-19 14;22;29 48;53;61
2007-02-20 29;39;49 49;53;59
2007-02-21 39;44;49 50;54;61
2007-02-22 33;40;46 43;48;54
2007-02-23 23;32;40 43;48;54
2007-02-24 22;33;43 46;51;60
2007-02-25 26;33;39 49;52;55
2007-02-26 31;34;37 44;49;54
2007-02-27 35;39;43 40;45;52
2007-02-28 37;42;46 42;47;53
2007-03-01 33;39;45 44;49;55
2007-03-02 36;49;61 45;52;60
2007-03-03 37;48;59 48;58;68
2007-03-04 35;39;42 53;60;72
2007-03-05 23;33;42 52;58;67
2007-03-06 14;19;24 49;54;66
2007-03-07 14;20;25 50;53;60
2007-03-08 20;28;35 48;52;60
2007-03-09 15;25;34 49;53;58
2007-03-10 30;43;55 50;57;69
2007-03-11 40;45;50 53;63;79
2007-03-12 36;46;56 57;65;78
2007-03-13 44;49;54 52;58;68
2007-03-14 46;56;66 50;54;62
2007-03-15 37;53;69 51;59;75
2007-03-16 28;33;38 53;62;76
2007-03-17 27;35;42 50;53;57
2007-03-18 29;35;41 50;53;61
2007-03-19 33;38;43 49;53;59
2007-03-20 35;43;50 50;54;58
2007-03-21 27;34;41 48;55;62
2007-03-22 41;54;67 50;58;71
2007-03-23 46;54;62 49;56;67
2007-03-24 40;48;55 50;52;56
2007-03-25 38;46;53 50;53;56
2007-03-26 41;48;55 48;53;60
2007-03-27 48;62;75 46;50;56
2007-03-28 47;55;63 47;52;61
2007-03-29 40;48;56 49;57;68
2007-03-30 42;55;67 48;53;64
2007-03-31 44;51;57 49;55;68
2007-04-01 42;47;51 49;52;58
2007-04-02 42;48;54 48;54;68
2007-04-03 43;52;60 48;54;66
2007-04-04 41;43;45 50;56;67
2007-04-05 36;42;47 50;54;63
2007-04-06 34;39;43 48;51;55
2007-04-07 34;39;43 51;54;59
2007-04-08 32;37;42 51;55;61
2007-04-09 35;42;49 52;55;59
2007-04-10 36;43;50 50;56;67
2007-04-11 37;44;51 51;54;57
2007-04-12 41;43;45 48;53;58
2007-04-13 44;47;50 49;54;64
2007-04-14 42;50;57 50;53;56
2007-04-15 42;49;56 48;55;65
2007-04-16 40;47;54 52;58;69
2007-04-17 43;47;50 48;52;56
2007-04-18 43;48;53 46;50;55
2007-04-19 46;55;63 46;50;55
2007-04-20 46;59;71 47;52;60
2007-04-21 48;63;78 49;52;57
2007-04-22 52;64;76 51;55;59
2007-04-23 54;70;85 48;55;65
2007-04-24 59;67;75 49;54;63
2007-04-25 49;56;63 51;54;59
2007-04-26 48;55;62 50;54;63
2007-04-27 48;52;55 53;62;78
2007-04-28 53;63;72 52;61;78
2007-04-29 55;61;66 50;53;61
2007-04-30 55;68;81 51;57;66
2007-05-01 52;62;71 50;55;61
2007-05-02 51;61;71 52;56;62
2007-05-03 53;63;72 50;53;58
2007-05-04 52;62;71 50;54;60
2007-05-05 52;63;73 50;59;70
2007-05-06 48;55;62 57;72;86
2007-05-07 48;57;65 69;76;88
2007-05-08 50;60;70 53;68;79
2007-05-09 58;70;82 50;55;61
2007-05-10 62;71;79 50;54;61
2007-05-11 61;70;78 49;52;56
2007-05-12 55;64;73 50;54;60
2007-05-13 53;61;68 47;55;66
2007-05-14 52;61;69 49;53;60
2007-05-15 59;73;87 49;52;59
2007-05-16 63;76;89 48;55;66
2007-05-17 55;62;68 49;54;61
2007-05-18 49;52;55 50;55;63
2007-05-19 52;55;57 52;57;66
2007-05-20 55;67;78 51;57;67
2007-05-21 56;65;74 49;59;69
2007-05-22 55;64;73 52;61;71
2007-05-23 58;66;74 56;68;83
2007-05-24 61;75;88 50;56;69
2007-05-25 69;82;95 50;52;60
2007-05-26 73;80;86 50;52;60
2007-05-27 68;77;85 50;52;56
2007-05-28 67;77;87 50;55;64
2007-05-29 63;72;81 51;54;59
2007-05-30 62;73;84 53;54;57
2007-05-31 67;79;90 52;54;57
2007-06-01 64;78;92 50;53;59
2007-06-02 73;82;90 50;52;56
2007-06-03 65;73;81 51;54;61
2007-06-04 60;66;71 55;59;65
2007-06-05 68;77;85 54;57;61
2007-06-06 58;65;72 52;56;62
2007-06-07 58;67;76 51;57;68
2007-06-08 66;76;85 51;54;62
2007-06-09 64;73;81 50;58;66
2007-06-10 63;69;74 53;58;64
2007-06-11 66;76;85 52;58;66
2007-06-12 68;76;84 52;60;72
2007-06-13 59;65;70 57;68;80
2007-06-14 58;63;67 57;67;84
2007-06-15 62;68;73 54;62;76
2007-06-16 64;73;82 52;55;59
2007-06-17 69;80;90 52;59;70
2007-06-18 70;78;85 52;56;64
2007-06-19 69;76;83 54;58;65
2007-06-20 70;75;80 54;56;61
2007-06-21 65;75;85 53;59;67
2007-06-22 65;71;77 53;59;67
2007-06-23 61;69;77 53;58;67
2007-06-24 63;74;84 52;58;66
2007-06-25 71;78;84 52;60;75
2007-06-26 73;84;94 51;57;65
2007-06-27 73;84;95 53;59;67
2007-06-28 73;84;94 54;61;72
2007-06-29 70;75;79 55;61;72
2007-06-30 68;76;84 53;58;66
2007-07-01 64;70;75 52;59;68
2007-07-02 60;68;76 55;62;71
2007-07-03 65;74;82 54;59;64
2007-07-04 68;71;73 55;64;75
2007-07-05 69;76;82 55;62;72
2007-07-06 70;79;87 53;57;62
2007-07-07 72;80;88 52;54;58
2007-07-08 76;85;93 53;57;65
2007-07-09 71;84;96 55;59;67
2007-07-10 75;84;93 56;61;70
2007-07-11 74;81;88 59;65;74
2007-07-12 69;77;84 58;66;75
2007-07-13 75;80;85 57;65;78
2007-07-14 70;78;86 56;60;69
2007-07-15 75;83;91 57;63;72
2007-07-16 72;78;83 56;60;67
2007-07-17 71;80;88 56;62;73
2007-07-18 71;75;79 61;66;74
2007-07-19 71;82;92 58;62;72
2007-07-20 69;75;81 58;64;73
2007-07-21 67;76;84 60;66;76
2007-07-22 70;77;84 60;65;74
2007-07-23 65;71;76 58;64;76
2007-07-24 63;73;83 56;60;71
2007-07-25 71;78;85 56;59;64
2007-07-26 73;80;86 55;58;72
2007-07-27 75;82;88 55;60;72
2007-07-28 74;81;88 55;61;70
2007-07-29 74;77;80 55;60;74
2007-07-30 72;80;88 55;63;80
2007-07-31 74;82;90 54;59;68
2007-08-01 75;84;93 55;60;69
2007-08-02 76;87;98 55;61;70
2007-08-03 73;83;93 54;60;71
2007-08-04 75;84;92 54;58;67
2007-08-05 72;78;84 55;58;62
2007-08-06 75;81;86 56;60;68
2007-08-07 78;84;90 56;61;69
2007-08-08 75;85;95 56;59;65
2007-08-09 74;80;85 57;61;72
2007-08-10 59;67;75 55;62;73
2007-08-11 60;72;83 56;60;68
2007-08-12 73;81;88 54;60;70
2007-08-13 75;82;88 55;61;74
2007-08-14 71;77;83 55;60;71
2007-08-15 72;81;89 54;61;70
2007-08-16 77;82;87 57;62;72
2007-08-17 66;77;87 53;64;77
2007-08-18 62;69;76 56;62;71
2007-08-19 62;68;73 57;64;75
2007-08-20 61;67;73 59;65;74
2007-08-21 58;60;62 58;65;80
2007-08-22 58;64;69 57;65;80
2007-08-23 63;71;79 56;62;73
2007-08-24 67;77;86 58;62;70
2007-08-25 75;83;91 58;62;71
2007-08-26 75;80;85 57;61;68
2007-08-27 71;77;83 56;61;71
2007-08-28 72;78;84 55;66;82
2007-08-29 72;79;86 61;69;83
2007-08-30 73;81;88 62;71;82
2007-08-31 72;77;81 59;64;72
2007-09-01 66;73;79 58;66;80
2007-09-02 63;72;80 58;67;86
2007-09-03 67;77;86 58;63;71
2007-09-04 73;79;85 60;64;72
2007-09-05 69;74;79 58;68;84
2007-09-06 70;77;83 60;64;69
2007-09-07 72;80;88 59;63;71
2007-09-08 74;82;90 58;61;66
2007-09-09 74;80;86 59;61;66
2007-09-10 73;76;78 60;64;71
2007-09-11 72;75;77 59;62;70
2007-09-12 66;72;77 59;62;65
2007-09-13 65;71;76 59;65;74
2007-09-14 67;72;77 60;66;74
2007-09-15 58;65;71 58;62;72
2007-09-16 55;62;69 59;63;71
2007-09-17 56;63;70 56;62;71
2007-09-18 57;65;72 56;60;67
2007-09-19 59;68;76 54;57;63
2007-09-20 64;74;83 54;59;72
2007-09-21 68;76;84 58;62;73
2007-09-22 68;72;76 58;60;65
2007-09-23 67;75;82 56;61;67
2007-09-24 65;73;81 52;62;78
2007-09-25 66;78;89 54;66;86
2007-09-26 72;81;90 58;70;92
2007-09-27 73;79;84 57;61;68
2007-09-28 64;71;77 55;59;63
2007-09-29 62;69;76 51;60;74
2007-09-30 61;67;73 51;60;71
2007-10-01 62;67;71 56;62;71
2007-10-02 60;68;75 54;62;76
2007-10-03 66;73;80 53;59;67
2007-10-04 69;77;85 53;55;59
2007-10-05 67;75;83 51;56;62
2007-10-06 68;77;85 48;57;68
2007-10-07 67;75;82 51;59;75
2007-10-08 67;78;89 52;59;78
2007-10-09 61;72;83 52;59;67
2007-10-10 62;68;73
2007-10-11 59;64;69
2007-10-12 51;57;62
2007-10-13 49;56;63
2007-10-14 52;59;65
2007-10-15 53;61;69
2007-10-16 58;65;71
2007-10-17 60;67;73
2007-10-18 64;72;79
2007-10-19 66;70;74
2007-10-20 64;68;72
2007-10-21 59;68;76
2007-10-22 62;70;77
2007-10-23 67;74;81
2007-10-24 54;62;70
2007-10-25 52;57;61
2007-10-26 53;57;60
2007-10-27 59;65;70
2007-10-28 46;53;59
2007-10-29 43;49;54
2007-10-30 49;57;64
2007-10-31 51;58;64 53;60;67
2007-11-01 52;60;67 51;56;72
2007-11-02 46;51;56 49;60;82
2007-11-03 47;50;53 50;61;79
2007-11-04 49;53;56 53;62;80
2007-11-05 48;53;58 50;54;59
2007-11-06 45;52;58 50;54;61
2007-11-07 42;46;50 50;53;59
2007-11-08 38;43;48 53;56;60
2007-11-09 40;44;48 53;58;66
2007-11-10 39;43;47 52;57;62
2007-11-11 34;41;48 51;56;64
2007-11-12 40;46;52 47;56;68
2007-11-13 49;55;61 57;61;73
2007-11-14 44;53;61 53;61;72
2007-11-15 45;54;62 56;59;67
2007-11-16 39;44;48 54;56;61
2007-11-17 38;43;47 53;56;61
2007-11-18 41;44;47 53;57;63
2007-11-19 39;43;46 50;56;60
2007-11-20 40;45;50 48;54;63
2007-11-21 44;51;58 44;53;66
2007-11-22 42;54;66 46;54;68
2007-11-23 32;37;42 44;57;72
2007-11-24 28;34;40 44;54;65
2007-11-25 37;44;50 51;55;62
2007-11-26 41;52;63 47;54;65
2007-11-27 46;56;65 50;55;65
2007-11-28 37;42;47 47;56;66
2007-11-29 42;47;52 48;53;64
2007-11-30 37;40;43 45;49;57
2007-12-01 26;34;42 46;49;56
2007-12-02 21;30;38 47;54;59
2007-12-03 34;42;49 52;59;64
2007-12-04 30;33;35 31;57;69
2007-12-05 29;32;34 52;56;63
2007-12-06 23;30;37 51;52;54
2007-12-07 34;35;36 48;52;57
2007-12-08 35;40;45 42;49;56
2007-12-09 36;39;41 44;51;59
2007-12-10 37;40;43 45;50;59
2007-12-11 36;41;46 46;52;59
2007-12-12 37;46;54 42;49;57
2007-12-13 30;34;38 42;49;59
2007-12-14 32;39;45 40;48;57
2007-12-15 30;34;38 43;49;56
2007-12-16 31;36;40 46;51;57
2007-12-17 27;31;35 48;52;56
2007-12-18 31;35;38 49;52;55
2007-12-19 35;41;47 46;51;57
2007-12-20 38;42;45 45;51;56
2007-12-21 36;39;42 43;48;54
2007-12-22 36;39;42 39;46;53
2007-12-23 41;52;62 44;51;61
2007-12-24 39;46;52 49;53;60
2007-12-25 38;41;44 41;49;57
2007-12-26 34;38;41 44;48;55
2007-12-27 37;42;46 41;46;52
2007-12-28 43;47;50 41;44;45
2007-12-29 43;48;53 45;48;52
2007-12-30 37;41;44 46;49;53
2007-12-31 36;41;46 38;47;56
2008-01-01 35;42;49 42;50;58
2008-01-02 19;29;39 43;50;60
2008-01-03 15;19;23 51;53;58
2008-01-04 19;28;37 51;53;59
2008-01-05 33;38;43 46;49;51
2008-01-06 37;42;47 42;47;51
2008-01-07 42;52;61 43;48;53
2008-01-08 52;58;64 44;49;53
2008-01-09 49;58;66 46;49;52
2008-01-10 42;47;51 48;50;51
2008-01-11 41;49;57 48;51;55
2008-01-12 40;45;49 46;51;58
2008-01-13 37;42;47 44;51;60
2008-01-14 34;37;39 46;51;58
2008-01-15 34;37;40 44;49;57
2008-01-16 31;36;40 41;50;60
2008-01-17 30;36;41 44;50;61
2008-01-18 37;43;49 42;52;63
2008-01-19 34;36;37 42;50;62
2008-01-20 19;27;35 46;49;53
2008-01-21 16;22;28 43;45;46
2008-01-22 25;33;40 42;44;47
2008-01-23 32;37;41 42;44;49
2008-01-24 26;31;35 43;44;45
2008-01-25 23;29;34 45;49;52
2008-01-26 27;31;35 52;55;62
2008-01-27 31;35;39 45;51;54
2008-01-28 29;36;43 42;46;51
2008-01-29 33;39;44 41;45;49
2008-01-30 34;42;50 42;47;54
2008-01-31 30;35;40 45;48;52
2008-02-01 33;45;56 40;46;52
2008-02-02 36;40;44 42;47;53
2008-02-03 33;42;50 46;49;52
2008-02-04 34;39;43 43;49;58
2008-02-05 38;45;52 40;49;58
2008-02-06 40;55;69 47;50;55
2008-02-07 39;45;50 43;50;58
2008-02-08 36;41;46 46;53;65
2008-02-09 37;41;45 46;57;69
2008-02-10 17;31;45 49;57;70
2008-02-11 12;19;25 48;56;69
2008-02-12 19;25;31 46;54;70
2008-02-13 31;43;54 48;57;65
2008-02-14 30;36;41 49;54;64
2008-02-15 32;40;48 46;52;60
2008-02-16 25;30;35 45;51;64
2008-02-17 30;42;53 46;50;55
2008-02-18 42;53;64 47;50;58
2008-02-19 29;36;42 48;51;53
2008-02-20 25;29;33 48;51;57
2008-02-21 22;28;34 48;51;56
2008-02-22 26;30;34 46;50;56
2008-02-23 30;33;36 43;48;54
2008-02-24 27;34;40 52;54;58
2008-02-25 33;41;49 49;55;63
2008-02-26 38;43;48 48;58;70
2008-02-27 24;36;47 52;58;71
2008-02-28 20;25;29 48;56;74
2008-02-29 19;28;36 48;52;62
2008-03-01 34;40;45 50;53;59
2008-03-02 30;36;43 49;59;71
2008-03-03 35;44;52 47;57;72
2008-03-04 43;53;62 46;55;68
2008-03-05 39;49;58 46;55;71
2008-03-06 36;43;49 47;55;65
2008-03-07 35;40;45 48;56;69
2008-03-08 38;48;57 49;55;66
2008-03-09 31;37;43 47;58;76
2008-03-10 28;37;46 52;58;70
2008-03-11 36;43;49 50;54;66
2008-03-12 36;42;48 48;53;63
2008-03-13 33;39;45 30;55;61
2008-03-14 39;46;53 49;52;58
2008-03-15 42;49;55 43;50;57
2008-03-16 36;42;47 47;55;68
2008-03-17 32;41;49 49;56;66
2008-03-18 36;41;46 48;55;64
2008-03-19 42;47;52 49;52;60
2008-03-20 37;48;59 46;51;59
2008-03-21 35;41;47 47;54;67
2008-03-22 35;43;50 46;55;73
2008-03-23 32;40;48 46;54;66
2008-03-24 33;41;49 47;54;64
2008-03-25 32;39;46 49;53;59
2008-03-26 43;52;60 48;52;60
2008-03-27 44;47;50 45;50;59
2008-03-28 40;45;49 46;52;60
2008-03-29 34;41;47 48;52;59
2008-03-30 28;37;46 44;49;56
2008-03-31 39;48;57 41;50;62
2008-04-01 55;60;64 49;53;60
2008-04-02 39;47;54 48;54;62
2008-04-03 35;42;49 48;53;62
2008-04-04 42;49;55 45;50;57
2008-04-05 49;54;59 46;50;57
2008-04-06 42;46;50 48;52;59
2008-04-07 41;46;51 45;51;59
2008-04-08 41;48;55 47;50;55
2008-04-09 39;48;56 47;52;59
2008-04-10 48;62;75 46;55;66
2008-04-11 47;54;61 50;65;84
2008-04-12 47;61;74 57;71;87
2008-04-13 44;50;55 51;64;80
2008-04-14 41;49;56 48;52;58
2008-04-15 43;51;59 45;51;60
2008-04-16 46;56;65 46;51;66
2008-04-17 45;59;72 49;57;75
2008-04-18 50;67;83 48;52;60
2008-04-19 51;62;72 45;49;55
2008-04-20 48;52;56 43;48;55
2008-04-21 47;52;57 44;49;57
2008-04-22 48;59;69 48;54;64
2008-04-23 52;64;76 48;53;60
2008-04-24 58;68;77 45;53;65
2008-04-25 55;63;70 48;57;69
2008-04-26 52;58;63 51;62;78
2008-04-27 49;52;55 53;62;77
2008-04-28 48;54;59 49;56;66
2008-04-29 47;53;58 50;53;61
2008-04-30 44;51;57 47;52;60
2008-05-01 45;52;59 47;55;66
2008-05-02 50;53;55 49;53;60
2008-05-03 48;52;56 48;54;63
2008-05-04 49;61;72 49;52;59
2008-05-05 51;61;71 48;53;61
2008-05-06 52;65;77 49;56;68
2008-05-07 58;66;73 49;55;65
2008-05-08 64;69;74 48;53;62
2008-05-09 50;57;64 46;54;65
2008-05-10 50;59;67 47;54;64
2008-05-11 50;56;61 48;54;64
2008-05-12 48;53;57 50;56;66
2008-05-13 52;61;70 49;61;78
2008-05-14 53;64;74 55;69;85
2008-05-15 54;64;73 68;81;102
2008-05-16 51;56;61 65;77;99
2008-05-17 50;62;74 52;63;73
2008-05-18 56;62;67 51;54;62
2008-05-19 51;56;61 50;54;60
2008-05-20 50;54;58 52;56;63
2008-05-21 50;60;69 50;57;65
2008-05-22 50;56;61 52;58;68
2008-05-23 52;60;68 49;55;65
2008-05-24 56;63;70 51;54;62
2008-05-25 58;68;77 50;56;64
2008-05-26 60;68;76 50;55;62
2008-05-27 60;73;85 51;56;64
2008-05-28 53;61;69 52;58;67
2008-05-29 54;66;78 53;57;63
2008-05-30 62;72;82 52;56;66
2008-05-31 63;70;77 52;54;60
2008-06-01 67;76;84 49;55;63
2008-06-02 61;71;80 49;54;62
2008-06-03 65;75;84 51;55;62
2008-06-04 58;65;71 51;54;62
2008-06-05 62;67;72 51;58;70
2008-06-06 59;66;73 51;57;66
2008-06-07 60;78;96 50;59;70
2008-06-08 78;87;96 52;61;74
2008-06-09 76;88;99 54;66;83
2008-06-10 73;87;100 53;64;77
2008-06-11 72;80;88 57;65;79
2008-06-12 71;79;86 55;67;93
2008-06-13 65;74;82 50;56;65
2008-06-14 70;80;90 52;56;65
2008-06-15 65;74;83 50;54;61
2008-06-16 64;71;78 49;52;58
2008-06-17 64;71;77 48;60;78
2008-06-18 60;68;75 54;65;79
2008-06-19 60;69;77 57;72;92
2008-06-20 63;71;79 63;80;102
2008-06-21 65;75;85 56;75;85
2008-06-22 71;76;80 51;56;63
2008-06-23 70;77;83 50;52;56
2008-06-24 70;76;81 50;58;71
2008-06-25 68;77;85 51;56;64
2008-06-26 74;80;85 50;57;70
2008-06-27 76;81;85 52;57;62
2008-06-28 70;80;90 55;58;64
2008-06-29 74;82;90 53;57;65
2008-06-30 73;79;85 52;57;68
2008-07-01 71;79;86 53;58;67
2008-07-02 69;78;87 52;56;65
2008-07-03 73;83;93 54;60;71
2008-07-04 71;76;80 55;60;69
2008-07-05 69;72;75 56;62;74
2008-07-06 68;74;79 56;62;74
2008-07-07 70;78;85 56;66;80
2008-07-08 76;84;91 59;69;86
2008-07-09 75;81;87 62;69;82
2008-07-10 73;80;87 59;64;72
2008-07-11 69;79;89 58;64;73
2008-07-12 73;80;86 60;64;73
2008-07-13 72;79;85 60;64;71
2008-07-14 70;77;83 59;62;68
2008-07-15 72;81;90 59;62;70
2008-07-16 71;81;90 57;60;66
2008-07-17 74;83;92 54;58;65
2008-07-18 76;86;96 52;56;64
2008-07-19 81;89;97 53;57;63
2008-07-20 79;87;94 52;55;63
2008-07-21 75;84;93 54;57;63
2008-07-22 73;80;87 52;60;73
2008-07-23 70;76;82 54;61;76
2008-07-24 70;78;85 52;60;72
2008-07-25 71;79;87 52;61;72
2008-07-26 74;81;88 55;65;79
2008-07-27 70;76;82 55;57;62
2008-07-28 69;79;88 54;57;65
2008-07-29 75;83;90 55;59;68
2008-07-30 73;80;87 56;60;69
2008-07-31 75;83;90 55;58;69
2008-08-01 74;81;88 55;62;74
2008-08-02 69;76;82 55;64;79
2008-08-03 68;76;83 54;57;62
2008-08-04 68;77;85 53;56;65
2008-08-05 73;79;84 52;56;64
2008-08-06 72;80;88 54;57;68
2008-08-07 68;77;86 54;57;66
2008-08-08 68;75;82 54;58;66
2008-08-09 66;74;82 54;59;67
2008-08-10 69;76;82 53;64;79
2008-08-11 60;67;73 56;63;78
2008-08-12 63;72;81 55;63;79
2008-08-13 69;75;81 56;64;82
2008-08-14 68;76;84 55;61;74
2008-08-15 67;74;81 55;62;75
2008-08-16 66;74;82 57;60;66
2008-08-17 69;77;85 57;60;69
2008-08-18 73;81;88 58;62;68
2008-08-19 65;74;82 58;62;73
2008-08-20 61;69;77 58;65;74
2008-08-21 66;74;81 60;64;73
2008-08-22 69;76;83 58;62;72
2008-08-23 67;74;80 57;62;71
2008-08-24 71;76;81 57;64;73
2008-08-25 68;77;85 58;62;72
2008-08-26 62;71;80 55;61;79
2008-08-27 64;71;77 59;70;88
2008-08-28 66;75;84 62;72;86
2008-08-29 68;74;80 59;67;84
2008-08-30 68;76;84 57;61;70
2008-08-31 69;77;84 54;61;73
2008-09-01 68;76;84 57;68;83
2008-09-02 71;79;86 58;68;85
2008-09-03 70;76;81 59;69;87
2008-09-04 72;81;90 60;73;94
2008-09-05 73;80;86 63;74;92
2008-09-06 72;78;83 63;72;84
2008-09-07 70;77;83 56;62;70
2008-09-08 68;76;83 55;60;67
2008-09-09 67;73;78 58;60;65
2008-09-10 63;68;73 57;61;68
2008-09-11 62;68;73 56;60;66
2008-09-12 65;69;72 55;57;63
2008-09-13 68;74;79 55;59;67
2008-09-14 71;80;89 55;59;67
2008-09-15 67;76;84 54;58;67
2008-09-16 63;67;70 54;58;65
2008-09-17 61;68;75 56;60;67
2008-09-18 61;68;74 53;60;70
2008-09-19 55;61;66 55;62;72
2008-09-20 54;61;68 59;62;69
2008-09-21 59;70;80 57;61;70
2008-09-22 62;68;73 55;64;79
2008-09-23 57;63;69 56;67;85
2008-09-24 58;64;69 57;64;74
2008-09-25 56;62;67 57;65;76
2008-09-26 60;64;68 56;63;75
2008-09-27 64;67;69 54;62;78
2008-09-28 67;71;74 55;59;65
2008-09-29 63;68;73 57;61;67
2008-09-30 62;68;73 57;63;76
2008-10-01 61;67;73 59;64;74
2008-10-02 56;60;64 60;65;73
2008-10-03 54;60;65 59;63;71
2008-10-04 53;58;63 58;62;68
2008-10-05 54;59;63 57;62;69
2008-10-06 51;57;63 59;64;76
2008-10-07 48;56;64 56;64;79
2008-10-08 52;59;66 58;64;75
2008-10-09 60;69;77 54;61;71
2008-10-10 61;67;73 54;58;64
2008-10-11 57;64;71 55;60;67
2008-10-12 57;64;71 55;62;72
2008-10-13 60;68;75 58;64;77
2008-10-14 59;64;68 53;63;80
2008-10-15 60;66;71 55;65;83
2008-10-16 57;68;78 58;68;86
2008-10-17 52;56;60 59;69;86
2008-10-18 44;51;57 53;58;65
2008-10-19 43;51;58 52;54;57
2008-10-20 45;54;62 51;57;65
2008-10-21 46;55;63 52;62;79
2008-10-22 42;47;52 55;67;83
2008-10-23 40;47;54 61;70;85
2008-10-24 43;50;57 59;66;86
2008-10-25 54;61;67 57;67;82
2008-10-26 51;57;63 52;57;66
2008-10-27 50;57;64 51;55;65
2008-10-28 41;46;51 50;55;65
2008-10-29 40;44;48 49;54;64
2008-10-30 38;44;49 51;56;61
2008-10-31 42;53;64 58;61;66
2008-11-01 52;59;65 34;58;63
2008-11-02 39;46;52
2008-11-03 44;52;59 53;56;61
2008-11-04 50;57;64 51;54;61
2008-11-05 55;59;63 46;55;66
2008-11-06 59;62;65 54;60;72
2008-11-07 58;62;65 52;60;75
2008-11-08 55;58;60 53;56;62
2008-11-09 50;53;56 52;56;63
2008-11-10 44;48;51 49;55;62
2008-11-11 40;46;51 53;58;64
2008-11-12 43;47;50 56;59;68
2008-11-13 47;53;58 52;61;74
2008-11-14 55;59;63 55;67;80
2008-11-15 58;62;65 60;70;82
2008-11-16 42;52;61 58;66;78
2008-11-17 39;43;47 57;66;77
2008-11-18 31;36;41 52;56;62
2008-11-19 28;33;37 52;54;57
2008-11-20 31;35;39 54;58;66
2008-11-21 27;33;39 47;55;67
2008-11-22 25;29;33 47;55;68
2008-11-23 26;32;37 49;56;69
2008-11-24 33;43;53 49;56;64
2008-11-25 38;43;48 52;57;61
2008-11-26 38;42;45 53;55;58
2008-11-27 37;41;44 53;55;61
2008-11-28 38;44;50 50;54;60
2008-11-29 38;42;45 50;57;68
2008-11-30 36;40;44 51;58;70
2008-12-01 43;49;55 53;55;57
2008-12-02 38;42;46 52;56;64
2008-12-03 35;39;43 50;54;59
2008-12-04 39;45;51 47;53;62
2008-12-05 34;38;42 46;54;66
2008-12-06 31;34;37 47;53;62
2008-12-07 22;30;37 44;50;56
2008-12-08 20;26;31 46;51;55
2008-12-09 31;44;56 42;50;59
2008-12-10 44;54;63 47;52;63
2008-12-11 38;41;44 48;54;63
2008-12-12 33;40;46 48;53;60
2008-12-13 28;31;33 45;49;55
2008-12-14 30;40;49 43;46;50
2008-12-15 48;58;67 41;46;51
2008-12-16 31;45;59 39;42;47
2008-12-17 33;39;44 39;45;53
2008-12-18 37;40;43 38;47;55
2008-12-19 30;35;39 45;50;55
2008-12-20 23;28;32 39;46;54
2008-12-21 26;33;40 46;48;51
2008-12-22 14;22;29 44;49;54
2008-12-23 20;26;31 43;48;53
2008-12-24 31;45;58 46;50;54
2008-12-25 35;47;58 45;48;53
2008-12-26 32;37;41
2008-12-27 40;44;48
2008-12-28 47;56;65
2008-12-29 38;44;49 47;53;63
2008-12-30 34;39;44 46;51;58
2008-12-31 19;28;36 45;48;55
2009-01-01 16;22;27 44;48;51
2009-01-02 24;30;36 45;50;55
2009-01-03 30;35;39 40;46;54
2009-01-04 26;35;43 36;45;54
2009-01-05 39;42;44 45;46;48
2009-01-06 31;35;39 44;49;54
2009-01-07 32;36;40 44;47;52
2009-01-08 30;35;39 46;49;56
2009-01-09 27;30;33 41;51;62
2009-01-10 24;27;30 48;56;66
2009-01-11 26;29;32 44;55;70
2009-01-12 23;29;34 49;62;76
2009-01-13 29;35;41 55;64;75
2009-01-14 18;28;37 48;59;70
2009-01-15 17;20;23 48;60;74
2009-01-16 11;15;18 48;60;72
2009-01-17 8;15;22 48;57;68
2009-01-18 22;28;33 49;58;70
2009-01-19 26;30;33 46;58;71
2009-01-20 22;26;30 47;58;71
2009-01-21 19;24;28 52;57;62
2009-01-22 22;30;37 51;53;55
2009-01-23 28;37;45 53;55;56
2009-01-24 18;33;47 49;52;55
2009-01-25 15;22;28 46;50;55
2009-01-26 20;25;30 43;49;57
2009-01-27 26;29;31 43;50;58
2009-01-28 24;33;42 43;51;61
2009-01-29 27;32;37 44;56;70
2009-01-30 28;32;35 47;56;69
2009-01-31 21;25;28 44;52;69
2009-02-01 28;41;53 44;54;70
2009-02-02 33;43;52 47;57;69
2009-02-03 26;32;37 47;57;71
2009-02-04 18;25;31 47;55;67
2009-02-05 14;19;24 51;54;58
2009-02-06 17;25;32 51;53;55
2009-02-07 24;37;49 48;54;63
2009-02-08 38;49;59 45;50;56
2009-02-09 35;41;46 43;47;56
2009-02-10 33;42;50 38;47;54
2009-02-11 38;51;63 43;48;56
2009-02-12 44;51;57 44;48;55
2009-02-13 32;38;44 43;46;54
2009-02-14 29;35;41 43;48;54
2009-02-15 30;36;42 46;48;51
2009-02-16 29;35;40 47;49;56
2009-02-17 26;34;41 47;50;54
2009-02-18 32;38;43 45;52;60
2009-02-19 28;39;50 43;54;66
2009-02-20 24;29;34 49;57;68
2009-02-21 28;35;42 50;56;63
2009-02-22 32;38;43 53;55;58
2009-02-23 25;30;34 52;56;60
2009-02-24 23;30;37 50;52;53
2009-02-25 26;34;41 51;55;61
2009-02-26 35;43;50 48;54;60
2009-02-27 40;49;58 46;53;62
2009-02-28 32;43;54 50;56;66
2009-03-01 28;32;35 54;57;59
2009-03-02 18;23;28 53;56;61
2009-03-03 14;21;28 48;52;58
2009-03-04 19;27;35 44;50;58
2009-03-05 28;36;43 46;51;60
2009-03-06 38;46;54 47;52;58
2009-03-07 46;58;69 43;52;65
2009-03-08 44;53;62 50;53;60
2009-03-09 37;42;46
2009-03-10 37;42;46
2009-03-11 41;50;59
2009-03-12 32;38;44
2009-03-13 27;33;38
2009-03-14 34;42;50
2009-03-15 42;48;53
2009-03-16 38;42;46
2009-03-17 36;44;52
2009-03-18 40;51;61
2009-03-19 41;46;50
2009-03-20 33;39;44
2009-03-21 32;40;47 53;55;60
2009-03-22 36;45;53 45;50;58
2009-03-23 30;36;42 44;51;59
2009-03-24 29;38;47 43;54;66
2009-03-25 36;44;52 47;56;68
2009-03-26 40;43;45 51;58;68
2009-03-27 43;53;63 52;61;75
2009-03-28 42;48;53 51;59;71
2009-03-29 42;47;52 48;56;64
2009-03-30 42;47;51 51;57;68
2009-03-31 40;50;60 47;56;70
2009-04-01 42;46;50 50;57;68
2009-04-02 42;51;59 48;52;60
2009-04-03 44;53;61 47;53;61
2009-04-04 48;52;55 43;55;70
2009-04-05 45;56;66 46;61;80
2009-04-06 44;48;51 51;61;79
2009-04-07 40;45;50 51;55;63
2009-04-08 37;43;49 50;55;64
2009-04-09 38;50;61 50;53;58
2009-04-10 46;52;58 48;54;63
2009-04-11 43;47;50 46;53;61
2009-04-12 38;43;48 49;56;66
2009-04-13 36;47;57 49;56;65
2009-04-14 43;48;53 45;50;57
2009-04-15 43;49;54 46;46;47
2009-04-16 44;53;62 44;52;61
2009-04-17 44;57;69 46;54;70
2009-04-18 56;67;78 52;62;74
2009-04-19 47;54;61 51;70;92
2009-04-20 43;47;51 60;77;99
2009-04-21 47;52;56 64;78;93
2009-04-22 49;53;57 52;62;71
2009-04-23 45;51;57 50;54;61
2009-04-24 45;57;69 48;52;59
2009-04-25 50;69;88 45;52;60
2009-04-26 63;77;91 46;53;63
2009-04-27 53;66;79 48;51;57
2009-04-28 68;79;89 47;52;60
2009-04-29 50;59;68 46;53;61
2009-04-30 46;54;61 47;54;69
2009-05-01 54;63;72 51;56;62
2009-05-02 56;62;67 55;59;65
2009-05-03 53;56;58 53;59;66
2009-05-04 51;54;56 52;60;71
2009-05-05 51;54;56 57;61;69
2009-05-06 49;57;65 55;61;73
2009-05-07 52;63;73 51;61;72
2009-05-08 56;65;74 51;60;71
2009-05-09 57;68;78 50;57;69
2009-05-10 55;63;70 50;57;68
2009-05-11 51;59;66 50;56;65
2009-05-12 52;60;68 47;57;67
2009-05-13 51;60;68 50;59;70
2009-05-14 57;62;66 51;58;69
2009-05-15 58;66;74 51;58;67
2009-05-16 58;65;71 54;70;93
2009-05-17 53;59;64 55;70;92
2009-05-18 50;55;59 51;55;63
2009-05-19 50;60;69 51;56;64
2009-05-20 53;67;81 49;55;62
2009-05-21 64;73;81 49;54;65
2009-05-22 63;75;86 51;54;63
2009-05-23 59;68;76 50;52;56
2009-05-24 57;71;84 49;51;56
2009-05-25 64;73;81 49;54;63
2009-05-26 53;60;66 49;59;73
2009-05-27 52;56;60 52;57;64
2009-05-28 56;58;59 51;55;62
2009-05-29 55;65;74 52;57;63
2009-05-30 63;71;78 54;56;62
2009-05-31 58;70;82 53;55;60
2009-06-01 53;61;69 53;56;61
2009-06-02 63;72;80 52;57;68
2009-06-03 54;64;73 53;58;67
2009-06-04 54;62;69 55;59;67
2009-06-05 55;59;62 57;62;70
2009-06-06 58;68;78 57;61;68
2009-06-07 66;74;82 56;61;67
2009-06-08 63;70;77 55;58;62
2009-06-09 60;67;73 56;60;66
2009-06-10 59;62;65 57;61;69
2009-06-11 59;61;63 56;60;68
2009-06-12 62;71;80 56;60;67
2009-06-13 64;68;71 56;62;70
2009-06-14 61;67;72 57;62;69
2009-06-15 58;65;71 58;61;68
2009-06-16 56;62;68 57;59;66
2009-06-17 57;63;69 57;60;66
2009-06-18 62;64;66 56;63;75
2009-06-19 63;71;79 55;62;71
2009-06-20 63;68;72 53;59;69
2009-06-21 63;71;78 53;60;70
2009-06-22 67;71;75 54;62;75
2009-06-23 67;74;80 54;63;77
2009-06-24 66;71;75 54;59;69
2009-06-25 65;73;81 54;58;66
2009-06-26 65;75;85 53;60;70
2009-06-27 66;74;81 53;68;85
2009-06-28 68;75;82 60;68;78
2009-06-29 68;76;83 56;61;68
2009-06-30 67;76;84 56;61;68
2009-07-01 67;73;79 56;61;68
2009-07-02 66;72;77 56;60;66
2009-07-03 68;74;80 55;58;65
2009-07-04 68;75;81 54;60;67
2009-07-05 64;72;80 55;57;63
2009-07-06 68;77;85 54;60;69
2009-07-07 62;73;83 56;58;62
2009-07-08 61;69;77 52;62;71
2009-07-09 62;68;73 53;59;68
2009-07-10 63;69;75 54;59;66
2009-07-11 65;71;77 53;58;68
2009-07-12 66;75;83 53;60;70
2009-07-13 65;72;79 53;66;84
2009-07-14 66;74;81 58;68;86
2009-07-15 67;75;83 53;59;66
2009-07-16 73;79;85 52;57;69
2009-07-17 69;79;88 52;58;69
2009-07-18 71;78;84 54;60;74
2009-07-19 68;76;83 54;61;73
2009-07-20 68;75;82 54;57;62
2009-07-21 65;68;71 53;56;61
2009-07-22 67;75;82 52;56;60
2009-07-23 64;72;80 52;55;61
2009-07-24 65;73;80 53;56;62
2009-07-25 67;77;86 52;56;67
2009-07-26 71;79;86 53;57;72
2009-07-27 71;78;85 52;57;70
2009-07-28 73;80;87 55;58;63
2009-07-29 73;78;83 58;58;58
2009-07-30 74;81;87 56;60;65
2009-07-31 69;79;89 55;58;64
2009-08-01 69;77;85 55;58;64
2009-08-02 73;76;78 56;60;66
2009-08-03 72;79;85 56;62;70
2009-08-04 72;79;86 57;64;73
2009-08-05 74;82;89 58;62;72
2009-08-06 68;74;79 59;63;71
2009-08-07 67;74;80 58;63;71
2009-08-08 65;72;78 58;64;76
2009-08-09 71;76;81 57;66;82
2009-08-10 71;83;94 59;66;82
2009-08-11 77;85;92 58;61;66
2009-08-12 71;76;80 57;66;79
2009-08-13 70;72;74 57;63;74
2009-08-14 69;77;85 56;61;70
2009-08-15 73;81;89 55;62;76
2009-08-16 75;83;91 55;62;73
2009-08-17 77;85;93 55;58;64
2009-08-18 73;82;91 55;59;65
2009-08-19 75;83;91 57;59;65
2009-08-20 76;83;89 56;60;67
2009-08-21 75;84;92 56;62;78
2009-08-22 72;79;85 56;59;64
2009-08-23 75;81;86 55;58;65
2009-08-24 72;78;84 54;58;64
2009-08-25 71;79;86 55;60;70
2009-08-26 74;81;87 55;59;68
2009-08-27 68;74;80 53;66;87
2009-08-28 66;70;73 63;76;97
2009-08-29 67;70;73 58;73;87
2009-08-30 66;75;83 55;57;62
2009-08-31 64;68;72 54;59;69
2009-09-01 59;67;74 58;63;72
2009-09-02 61;69;77 61;70;90
2009-09-03 64;71;78 58;67;79
2009-09-04 65;74;83 54;59;66
2009-09-05 71;78;85 56;62;70
2009-09-06 64;69;74 57;62;69
2009-09-07 61;67;72 56;63;73
2009-09-08 65;70;75 55;61;71
2009-09-09 65;71;76 54;58;66
2009-09-10 61;66;71 55;65;82
2009-09-11 58;64;69 54;62;76
2009-09-12 65;67;68 58;60;64
2009-09-13 67;74;81 59;64;73
2009-09-14 65;72;79 58;63;69
2009-09-15 68;75;81 57;63;73
2009-09-16 63;67;71 58;63;72
2009-09-17 57;61;65 59;67;79
2009-09-18 58;68;77 62;70;89
2009-09-19 55;63;71 58;62;73
2009-09-20 57;66;75 57;63;76
2009-09-21 61;69;76 56;61;71
2009-09-22 66;71;75 55;62;77
2009-09-23 69;76;82 56;58;65
2009-09-24 68;75;82 55;58;65
2009-09-25 59;64;69 55;61;73
2009-09-26 55;61;66 53;66;87
2009-09-27 60;65;69 59;68;84
2009-09-28 60;67;74 56;59;63
2009-09-29 58;63;68 55;58;64
2009-09-30 51;56;60 51;58;70
2009-10-01 51;54;57 52;64;79
2009-10-02 49;58;66 55;63;77
2009-10-03 65;68;71 52;57;63
2009-10-04 59;68;76 50;55;62
2009-10-05 55;62;68 50;57;68
2009-10-06 54;61;68 50;60;74
2009-10-07 59;65;71 53;58;68
2009-10-08 55;60;64 54;57;62
2009-10-09 61;66;71 52;56;63
2009-10-10 54;61;68 51;54;59
2009-10-11 50;58;65 51;54;59
2009-10-12 46;51;55 56;60;66
2009-10-13 47;56;64 58;61;64
2009-10-14 44;49;53 63;66;76
2009-10-15 39;44;48 64;67;76
2009-10-16 39;44;49 59;67;79
2009-10-17 44;47;50 56;64;74
2009-10-18 43;45;47 56;59;63
2009-10-19 41;50;58 57;60;68
2009-10-20 47;58;68 56;59;67
2009-10-21 53;61;69 54;60;71
2009-10-22 55;66;76 57;62;72
2009-10-23 51;59;66 55;63;75
2009-10-24 53;60;67 55;61;74
2009-10-25 53;59;65 54;64;81
2009-10-26 49;55;61 57;62;71
2009-10-27 50;54;58 54;59;69
2009-10-28 51;55;58 53;58;67
2009-10-29 49;54;58 51;58;67
2009-10-30 52;56;60 52;59;74
2009-10-31 56;64;71 53;58;72
2009-11-01 50;55;60 52;63;77
2009-11-02 48;52;55 56;66;81
2009-11-03 46;54;62 56;66;80
2009-11-04 44;48;52 54;58;65
2009-11-05 44;49;53 57;61;68
2009-11-06 41;46;50 53;59;63
2009-11-07 38;46;53 49;56;65
2009-11-08 48;60;71 50;57;68
2009-11-09 48;58;67 49;56;64
2009-11-10 56;60;64 54;58;66
2009-11-11 49;54;58 54;58;65
2009-11-12 48;51;53 51;56;62
2009-11-13 49;52;55 48;53;60
2009-11-14 52;55;58 50;54;61
2009-11-15 54;59;63 44;53;65
2009-11-16 49;54;59 47;54;66
2009-11-17 46;51;55 45;54;64
2009-11-18 43;48;53 48;53;62
2009-11-19 48;55;61 44;53;63
2009-11-20 50;56;61 46;52;58
2009-11-21 47;52;57 47;51;59
2009-11-22 46;51;56 49;53;59
2009-11-23 45;53;60 44;54;66
2009-11-24 49;53;57 48;58;69
2009-11-25 49;51;53
2009-11-26 49;52;54 50;55;67
2009-11-27 44;47;50 51;54;58
2009-11-28 44;48;51
2009-11-29 42;51;59 49;60;71
2009-11-30 41;49;57 48;55;64
2009-12-01 38;43;48 46;52;64
2009-12-02 40;49;57 45;48;55
2009-12-03 51;59;66 46;50;58
2009-12-04 46;49;52 44;48;57
2009-12-05 37;42;47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment