diff --git a/_includes/colleges/colleges-share.html b/_includes/colleges/colleges-share.html index e547c476..c82a12d6 100644 --- a/_includes/colleges/colleges-share.html +++ b/_includes/colleges/colleges-share.html @@ -6,14 +6,13 @@ category: 'Share Menu - Click Item', action: item }); - - return false; }
0&&(_+=d);for(null!=t?l.sort(function(C,e){return t(y[C],y[e])}):null!=e&&l.sort(function(C,t){return e(s[C],s[t])}),c=0,i=_?(f-p*g)/_:0;c
0?d*i:0)+g,y[u]={data:s[u],index:c,value:d,startAngle:w,endAngle:a,padAngle:h};return y}return s.value=function(t){return arguments.length?(C="function"==typeof t?t:i(+t),s):C},s.sortValues=function(C){return arguments.length?(t=C,e=null,s):t},s.sort=function(C){return arguments.length?(e=C,t=null,s):e},s.startAngle=function(C){return arguments.length?(r="function"==typeof C?C:i(+C),s):r},s.endAngle=function(C){return arguments.length?(n="function"==typeof C?C:i(+C),s):n},s.padAngle=function(C){return arguments.length?(o="function"==typeof C?C:i(+C),s):o},s};W(S);function T(C){this._curve=C}function W(C){function t(t){return new T(C(t))}return t._curve=C,t}T.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(C,t){this._curve.point(t*Math.sin(C),t*-Math.cos(C))}};Array.prototype.slice;Math.sqrt(1/3);var O=Math.sin(h/10)/Math.sin(7*h/10),j=(Math.sin(b/10),Math.cos(b/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function H(C,t,e){C._context.bezierCurveTo((2*C._x0+C._x1)/3,(2*C._y0+C._y1)/3,(C._x0+2*C._x1)/3,(C._y0+2*C._y1)/3,(C._x0+4*C._x1+t)/6,(C._y0+4*C._y1+e)/6)}function L(C){this._context=C}L.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:H(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(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(C,t):this._context.moveTo(C,t);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:H(this,C,t)}this._x0=this._x1,this._x1=C,this._y0=this._y1,this._y1=t}};function R(C){this._context=C}R.prototype={areaStart:j,areaEnd:j,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(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._x2=C,this._y2=t;break;case 1:this._point=2,this._x3=C,this._y3=t;break;case 2:this._point=3,this._x4=C,this._y4=t,this._context.moveTo((this._x0+4*this._x1+C)/6,(this._y0+4*this._y1+t)/6);break;default:H(this,C,t)}this._x0=this._x1,this._x1=C,this._y0=this._y1,this._y1=t}};function z(C){this._context=C}z.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(C,t){switch(C=+C,t=+t,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+C)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:H(this,C,t)}this._x0=this._x1,this._x1=C,this._y0=this._y1,this._y1=t}};function B(C,t){this._basis=new L(C),this._beta=t}B.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var C=this._x,t=this._y,e=C.length-1;if(e>0)for(var r,n=C[0],o=t[0],s=C[e]-n,c=t[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*C[u]+(1-this._beta)*(n+r*s),this._beta*t[u]+(1-this._beta)*(o+r*c));this._x=this._y=null,this._basis.lineEnd()},point:function(C,t){this._x.push(+C),this._y.push(+t)}};(function C(t){function e(C){return 1===t?new L(C):new B(C,t)}return e.beta=function(t){return C(+t)},e})(.85);function Y(C,t,e){C._context.bezierCurveTo(C._x1+C._k*(C._x2-C._x0),C._y1+C._k*(C._y2-C._y0),C._x2+C._k*(C._x1-t),C._y2+C._k*(C._y1-e),C._x2,C._y2)}function q(C,t){this._context=C,this._k=(1-t)/6}q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Y(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(C,t):this._context.moveTo(C,t);break;case 1:this._point=2,this._x1=C,this._y1=t;break;case 2:this._point=3;default:Y(this,C,t)}this._x0=this._x1,this._x1=this._x2,this._x2=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return new q(C,t)}return e.tension=function(t){return C(+t)},e})(0);function V(C,t){this._context=C,this._k=(1-t)/6}V.prototype={areaStart:j,areaEnd:j,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(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._x3=C,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=C,this._y4=t);break;case 2:this._point=3,this._x5=C,this._y5=t;break;default:Y(this,C,t)}this._x0=this._x1,this._x1=this._x2,this._x2=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return new V(C,t)}return e.tension=function(t){return C(+t)},e})(0);function $(C,t){this._context=C,this._k=(1-t)/6}$.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(C,t){switch(C=+C,t=+t,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:Y(this,C,t)}this._x0=this._x1,this._x1=this._x2,this._x2=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return new $(C,t)}return e.tension=function(t){return C(+t)},e})(0);function Z(C,t,e){var r=C._x1,n=C._y1,o=C._x2,s=C._y2;if(C._l01_a>f){var c=2*C._l01_2a+3*C._l01_a*C._l12_a+C._l12_2a,u=3*C._l01_a*(C._l01_a+C._l12_a);r=(r*c-C._x0*C._l12_2a+C._x2*C._l01_2a)/u,n=(n*c-C._y0*C._l12_2a+C._y2*C._l01_2a)/u}if(C._l23_a>f){var i=2*C._l23_2a+3*C._l23_a*C._l12_a+C._l12_2a,a=3*C._l23_a*(C._l23_a+C._l12_a);o=(o*i+C._x1*C._l23_2a-t*C._l12_2a)/a,s=(s*i+C._y1*C._l23_2a-e*C._l12_2a)/a}C._context.bezierCurveTo(r,n,o,s,C._x2,C._y2)}function K(C,t){this._context=C,this._alpha=t}K.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(C,t){if(C=+C,t=+t,this._point){var e=this._x2-C,r=this._y2-t;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(C,t):this._context.moveTo(C,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Z(this,C,t)}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=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return t?new K(C,t):new q(C,0)}return e.alpha=function(t){return C(+t)},e})(.5);function J(C,t){this._context=C,this._alpha=t}J.prototype={areaStart:j,areaEnd:j,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(C,t){if(C=+C,t=+t,this._point){var e=this._x2-C,r=this._y2-t;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=C,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=C,this._y4=t);break;case 2:this._point=3,this._x5=C,this._y5=t;break;default:Z(this,C,t)}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=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return t?new J(C,t):new V(C,0)}return e.alpha=function(t){return C(+t)},e})(.5);function Q(C,t){this._context=C,this._alpha=t}Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._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(C,t){if(C=+C,t=+t,this._point){var e=this._x2-C,r=this._y2-t;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:Z(this,C,t)}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=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return t?new Q(C,t):new $(C,0)}return e.alpha=function(t){return C(+t)},e})(.5);function CC(C){this._context=C}CC.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(C,t){C=+C,t=+t,this._point?this._context.lineTo(C,t):(this._point=1,this._context.moveTo(C,t))}};function tC(C){return C<0?-1:1}function eC(C,t,e){var r=C._x1-C._x0,n=t-C._x1,o=(C._y1-C._y0)/(r||n<0&&-0),s=(e-C._y1)/(n||r<0&&-0),c=(o*n+s*r)/(r+n);return(tC(o)+tC(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(c))||0}function rC(C,t){var e=C._x1-C._x0;return e?(3*(C._y1-C._y0)/e-t)/2:t}function nC(C,t,e){var r=C._x0,n=C._y0,o=C._x1,s=C._y1,c=(o-r)/3;C._context.bezierCurveTo(r+c,n+c*t,o-c,s-c*e,o,s)}function oC(C){this._context=C}function sC(C){this._context=new cC(C)}function cC(C){this._context=C}function uC(C){this._context=C}function iC(C){var t,e,r=C.length-1,n=new Array(r),o=new Array(r),s=new Array(r);for(n[0]=0,o[0]=2,s[0]=C[0]+2*C[1],t=1;t 0&&(_+=d);for(null!=t?l.sort(function(C,e){return t(y[C],y[e])}):null!=e&&l.sort(function(C,t){return e(s[C],s[t])}),c=0,a=_?(f-p*g)/_:0;c 0?d*a:0)+g,y[u]={data:s[u],index:c,value:d,startAngle:w,endAngle:i,padAngle:h};return y}return s.value=function(t){return arguments.length?(C="function"==typeof t?t:a(+t),s):C},s.sortValues=function(C){return arguments.length?(t=C,e=null,s):t},s.sort=function(C){return arguments.length?(e=C,t=null,s):e},s.startAngle=function(C){return arguments.length?(r="function"==typeof C?C:a(+C),s):r},s.endAngle=function(C){return arguments.length?(n="function"==typeof C?C:a(+C),s):n},s.padAngle=function(C){return arguments.length?(o="function"==typeof C?C:a(+C),s):o},s};W(S);function T(C){this._curve=C}function W(C){function t(t){return new T(C(t))}return t._curve=C,t}T.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(C,t){this._curve.point(t*Math.sin(C),t*-Math.cos(C))}};Array.prototype.slice;Math.sqrt(1/3);var O=Math.sin(h/10)/Math.sin(7*h/10),j=(Math.sin(b/10),Math.cos(b/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function H(C,t,e){C._context.bezierCurveTo((2*C._x0+C._x1)/3,(2*C._y0+C._y1)/3,(C._x0+2*C._x1)/3,(C._y0+2*C._y1)/3,(C._x0+4*C._x1+t)/6,(C._y0+4*C._y1+e)/6)}function L(C){this._context=C}L.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:H(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(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(C,t):this._context.moveTo(C,t);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:H(this,C,t)}this._x0=this._x1,this._x1=C,this._y0=this._y1,this._y1=t}};function R(C){this._context=C}R.prototype={areaStart:j,areaEnd:j,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(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._x2=C,this._y2=t;break;case 1:this._point=2,this._x3=C,this._y3=t;break;case 2:this._point=3,this._x4=C,this._y4=t,this._context.moveTo((this._x0+4*this._x1+C)/6,(this._y0+4*this._y1+t)/6);break;default:H(this,C,t)}this._x0=this._x1,this._x1=C,this._y0=this._y1,this._y1=t}};function z(C){this._context=C}z.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(C,t){switch(C=+C,t=+t,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+C)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:H(this,C,t)}this._x0=this._x1,this._x1=C,this._y0=this._y1,this._y1=t}};function B(C,t){this._basis=new L(C),this._beta=t}B.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var C=this._x,t=this._y,e=C.length-1;if(e>0)for(var r,n=C[0],o=t[0],s=C[e]-n,c=t[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*C[u]+(1-this._beta)*(n+r*s),this._beta*t[u]+(1-this._beta)*(o+r*c));this._x=this._y=null,this._basis.lineEnd()},point:function(C,t){this._x.push(+C),this._y.push(+t)}};(function C(t){function e(C){return 1===t?new L(C):new B(C,t)}return e.beta=function(t){return C(+t)},e})(.85);function Y(C,t,e){C._context.bezierCurveTo(C._x1+C._k*(C._x2-C._x0),C._y1+C._k*(C._y2-C._y0),C._x2+C._k*(C._x1-t),C._y2+C._k*(C._y1-e),C._x2,C._y2)}function q(C,t){this._context=C,this._k=(1-t)/6}q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Y(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(C,t):this._context.moveTo(C,t);break;case 1:this._point=2,this._x1=C,this._y1=t;break;case 2:this._point=3;default:Y(this,C,t)}this._x0=this._x1,this._x1=this._x2,this._x2=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return new q(C,t)}return e.tension=function(t){return C(+t)},e})(0);function V(C,t){this._context=C,this._k=(1-t)/6}V.prototype={areaStart:j,areaEnd:j,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(C,t){switch(C=+C,t=+t,this._point){case 0:this._point=1,this._x3=C,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=C,this._y4=t);break;case 2:this._point=3,this._x5=C,this._y5=t;break;default:Y(this,C,t)}this._x0=this._x1,this._x1=this._x2,this._x2=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return new V(C,t)}return e.tension=function(t){return C(+t)},e})(0);function $(C,t){this._context=C,this._k=(1-t)/6}$.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(C,t){switch(C=+C,t=+t,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:Y(this,C,t)}this._x0=this._x1,this._x1=this._x2,this._x2=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return new $(C,t)}return e.tension=function(t){return C(+t)},e})(0);function K(C,t,e){var r=C._x1,n=C._y1,o=C._x2,s=C._y2;if(C._l01_a>f){var c=2*C._l01_2a+3*C._l01_a*C._l12_a+C._l12_2a,u=3*C._l01_a*(C._l01_a+C._l12_a);r=(r*c-C._x0*C._l12_2a+C._x2*C._l01_2a)/u,n=(n*c-C._y0*C._l12_2a+C._y2*C._l01_2a)/u}if(C._l23_a>f){var a=2*C._l23_2a+3*C._l23_a*C._l12_a+C._l12_2a,i=3*C._l23_a*(C._l23_a+C._l12_a);o=(o*a+C._x1*C._l23_2a-t*C._l12_2a)/i,s=(s*a+C._y1*C._l23_2a-e*C._l12_2a)/i}C._context.bezierCurveTo(r,n,o,s,C._x2,C._y2)}function Z(C,t){this._context=C,this._alpha=t}Z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(C,t){if(C=+C,t=+t,this._point){var e=this._x2-C,r=this._y2-t;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(C,t):this._context.moveTo(C,t);break;case 1:this._point=2;break;case 2:this._point=3;default:K(this,C,t)}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=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return t?new Z(C,t):new q(C,0)}return e.alpha=function(t){return C(+t)},e})(.5);function J(C,t){this._context=C,this._alpha=t}J.prototype={areaStart:j,areaEnd:j,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(C,t){if(C=+C,t=+t,this._point){var e=this._x2-C,r=this._y2-t;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=C,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=C,this._y4=t);break;case 2:this._point=3,this._x5=C,this._y5=t;break;default:K(this,C,t)}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=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return t?new J(C,t):new V(C,0)}return e.alpha=function(t){return C(+t)},e})(.5);function Q(C,t){this._context=C,this._alpha=t}Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._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(C,t){if(C=+C,t=+t,this._point){var e=this._x2-C,r=this._y2-t;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:K(this,C,t)}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=C,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function C(t){function e(C){return t?new Q(C,t):new $(C,0)}return e.alpha=function(t){return C(+t)},e})(.5);function CC(C){this._context=C}CC.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(C,t){C=+C,t=+t,this._point?this._context.lineTo(C,t):(this._point=1,this._context.moveTo(C,t))}};function tC(C){return C<0?-1:1}function eC(C,t,e){var r=C._x1-C._x0,n=t-C._x1,o=(C._y1-C._y0)/(r||n<0&&-0),s=(e-C._y1)/(n||r<0&&-0),c=(o*n+s*r)/(r+n);return(tC(o)+tC(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(c))||0}function rC(C,t){var e=C._x1-C._x0;return e?(3*(C._y1-C._y0)/e-t)/2:t}function nC(C,t,e){var r=C._x0,n=C._y0,o=C._x1,s=C._y1,c=(o-r)/3;C._context.bezierCurveTo(r+c,n+c*t,o-c,s-c*e,o,s)}function oC(C){this._context=C}function sC(C){this._context=new cC(C)}function cC(C){this._context=C}function uC(C){this._context=C}function aC(C){var t,e,r=C.length-1,n=new Array(r),o=new Array(r),s=new Array(r);for(n[0]=0,o[0]=2,s[0]=C[0]+2*C[1],t=1;t =0&&(C=C.slice(0,t)),!C||"start"===C})}(t)?G:S;return function(){var i=o(this,C),a=i.on;a!==r&&(n=(r=a).copy()).on(t,e),i.on=n}}var K=o.selection.prototype.constructor;function Q(C){return function(){this.style.removeProperty(C)}}function CC(C,t,e){var r,n;function o(){var o=t.apply(this,arguments);return o!==n&&(r=(n=o)&&function(C,t,e){return function(r){this.style.setProperty(C,t(r),e)}}(C,o,e)),r}return o._value=t,o}var tC=0;function eC(C,t,e,r){this._groups=C,this._parents=t,this._name=e,this._id=r}function rC(C){return Object(o.selection)().transition(C)}function nC(){return++tC}var oC=o.selection.prototype;eC.prototype=rC.prototype={constructor:eC,select:function(C){var t=this._name,e=this._id;"function"!=typeof C&&(C=Object(o.selector)(C));for(var r=this._groups,n=r.length,i=new Array(n),a=0;a=1e12?(e=1e12,r="T"):Math.abs(C)>=1e9&&(e=1e9,r="B"),"".concat(t,"$").concat(Math.round(Math.abs(C)/e*10)/10," ").concat(r))}function a(C,t){var e,r,n=C.text().split(/\s+/).reverse(),o=[];for(r=C.text(null).append("tspan").attr("x",0);n.length>0;)e=n.pop(),o.push(e),r.text(o.join(" ")),r.node().getComputedTextLength()>t&&(o.pop(),r.text(o.join(" ")),o=[e],r=C.append("tspan").attr("x",0).attr("dy","1.1em").text(e))}function c(C,t){t=t||1e3,C.transition().duration(t).attr("opacity",0).on("end",function(){n.select(this).remove()})}},function(C,t,e){"use strict";var r=function(C,t,e){C.prototype=t.prototype=e,e.constructor=C};function n(C,t){var e=Object.create(C.prototype);for(var r in t)e[r]=t[r];return e}function o(){}var s="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",a=/^#([0-9a-f]{3})$/,c=/^#([0-9a-f]{6})$/,l=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,i]+"\\)$"),_=new RegExp("^rgba\\("+[u,u,u,i]+"\\)$"),h=new RegExp("^hsl\\("+[i,u,u]+"\\)$"),f=new RegExp("^hsla\\("+[i,u,u,i]+"\\)$"),w={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function g(C){var t;return C=(C+"").trim().toLowerCase(),(t=a.exec(C))?new x((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=c.exec(C))?b(parseInt(t[1],16)):(t=l.exec(C))?new x(t[1],t[2],t[3],1):(t=d.exec(C))?new x(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(C))?y(t[1],t[2],t[3],t[4]):(t=_.exec(C))?y(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=h.exec(C))?F(t[1],t[2]/100,t[3]/100,1):(t=f.exec(C))?F(t[1],t[2]/100,t[3]/100,t[4]):w.hasOwnProperty(C)?b(w[C]):"transparent"===C?new x(NaN,NaN,NaN,0):null}function b(C){return new x(C>>16&255,C>>8&255,255&C,1)}function y(C,t,e,r){return r<=0&&(C=t=e=NaN),new x(C,t,e,r)}function v(C){return C instanceof o||(C=g(C)),C?new x((C=C.rgb()).r,C.g,C.b,C.opacity):new x}function m(C,t,e,r){return 1===arguments.length?v(C):new x(C,t,e,null==r?1:r)}function x(C,t,e,r){this.r=+C,this.g=+t,this.b=+e,this.opacity=+r}function k(C){return((C=Math.max(0,Math.min(255,Math.round(C)||0)))<16?"0":"")+C.toString(16)}function F(C,t,e,r){return r<=0?C=t=e=NaN:e<=0||e>=1?C=t=NaN:t<=0&&(C=NaN),new I(C,t,e,r)}function A(C,t,e,r){return 1===arguments.length?function(C){if(C instanceof I)return new I(C.h,C.s,C.l,C.opacity);if(C instanceof o||(C=g(C)),!C)return new I;if(C instanceof I)return C;var t=(C=C.rgb()).r/255,e=C.g/255,r=C.b/255,n=Math.min(t,e,r),s=Math.max(t,e,r),i=NaN,u=s-n,a=(s+n)/2;return u?(i=t===s?(e-r)/u+6*(e=0&&(t=C.slice(e+1),C=C.slice(0,e)),C&&!r.hasOwnProperty(C))throw new Error("unknown type: "+C);return{type:C,name:t}})),u=-1,a=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++u0)for(var e,r,n=new Array(e),o=0;o=s)for(a=n=s;++i0)return[t];if((a=e