webpackJsonp([0,2],[function(t,n){t.exports=function(t,n,e,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),r){var c=u.computed||(u.computed={});Object.keys(r).forEach(function(t){var n=r[t];c[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},function(t,n,e){!function(t,e){e(n)}(this,function(t){"use strict";function n(t){return function(n,e){return Cs(t(n),e)}}function e(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>=Bs?i*=10:o>=Hs?i*=5:o>=Ws&&(i*=2),n=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function g(t,n){for(var e,r=0,i=t.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function A(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;rn?1:t>=n?0:NaN}function $(t){return function(){this.removeAttribute(t)}}function R(t){return function(){this.removeAttributeNS(t.space,t.local)}}function L(t,n){return function(){this.setAttribute(t,n)}}function I(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function z(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function U(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 D(t){return function(){this.style.removeProperty(t)}}function q(t,n,e){return function(){this.style.setProperty(t,n,e)}}function F(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function B(t){return function(){delete this[t]}}function H(t,n){return function(){this[t]=n}}function W(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Y(t){return t.trim().split(/^|\s+/)}function V(t){return t.classList||new X(t)}function X(t){this._node=t,this._names=Y(t.getAttribute("class")||"")}function G(t,n){for(var e=V(t),r=-1,i=n.length;++r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=Ol.exec(t))?kt(parseInt(n[1],16)):(n=Nl.exec(t))?new St(n[1],n[2],n[3],1):(n=jl.exec(t))?new St(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Pl.exec(t))?At(n[1],n[2],n[3],n[4]):(n=$l.exec(t))?At(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Rl.exec(t))?Tt(n[1],n[2]/100,n[3]/100,1):(n=Ll.exec(t))?Tt(n[1],n[2]/100,n[3]/100,n[4]):Il.hasOwnProperty(t)?kt(Il[t]):"transparent"===t?new St(NaN,NaN,NaN,0):null}function kt(t){return new St(t>>16&255,t>>8&255,255&t,1)}function At(t,n,e,r){return r<=0&&(t=n=e=NaN),new St(t,n,e,r)}function Et(t){return t instanceof wt||(t=Mt(t)),t?(t=t.rgb(),new St(t.r,t.g,t.b,t.opacity)):new St}function Ct(t,n,e,r){return 1===arguments.length?Et(t):new St(t,n,e,null==r?1:r)}function St(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Tt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new jt(t,n,e,r)}function Ot(t){if(t instanceof jt)return new jt(t.h,t.s,t.l,t.opacity);if(t instanceof wt||(t=Mt(t)),!t)return new jt;if(t instanceof jt)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,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e0&&c<1?0:a,new jt(a,u,c,t.opacity)}function Nt(t,n,e,r){return 1===arguments.length?Ot(t):new jt(t,n,e,null==r?1:r)}function jt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Pt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function $t(t){if(t instanceof Lt)return new Lt(t.l,t.a,t.b,t.opacity);if(t instanceof Bt){var n=t.h*zl;return new Lt(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof St||(t=Et(t));var e=Dt(t.r),r=Dt(t.g),i=Dt(t.b),o=It((.4124564*e+.3575761*r+.1804375*i)/ql),a=It((.2126729*e+.7151522*r+.072175*i)/Fl),u=It((.0193339*e+.119192*r+.9503041*i)/Bl);return new Lt(116*a-16,500*(o-a),200*(a-u),t.opacity)}function Rt(t,n,e,r){return 1===arguments.length?$t(t):new Lt(t,n,e,null==r?1:r)}function Lt(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function It(t){return t>Vl?Math.pow(t,1/3):t/Yl+Hl}function zt(t){return t>Wl?t*t*t:Yl*(t-Hl)}function Ut(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Dt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function qt(t){if(t instanceof Bt)return new Bt(t.h,t.c,t.l,t.opacity);t instanceof Lt||(t=$t(t));var n=Math.atan2(t.b,t.a)*Ul;return new Bt(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ft(t,n,e,r){return 1===arguments.length?qt(t):new Bt(t,n,e,null==r?1:r)}function Bt(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Ht(t){if(t instanceof Yt)return new Yt(t.h,t.s,t.l,t.opacity);t instanceof St||(t=Et(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(nh*r+Ql*n-th*e)/(nh+Ql-th),o=r-i,a=(Zl*(e-i)-Jl*o)/Kl,u=Math.sqrt(a*a+o*o)/(Zl*i*(1-i)),c=u?Math.atan2(a,o)*Ul-120:NaN;return new Yt(c<0?c+360:c,u,i,t.opacity)}function Wt(t,n,e,r){return 1===arguments.length?Ht(t):new Yt(t,n,e,null==r?1:r)}function Yt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Vt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}function Xt(t,n){return function(e){return t+e*n}}function Gt(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 Jt(t,n){var e=n-t;return e?Xt(t,e>180||e<-180?e-360*Math.round(e/360):e):fh(isNaN(t)?n:t)}function Kt(t){return 1===(t=+t)?Zt:function(n,e){return e-n?Gt(n,e,t):fh(isNaN(n)?e:n)}}function Zt(t,n){var e=n-t;return e?Xt(t,e):fh(isNaN(t)?n:t)}function Qt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:gh(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:gh(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function c(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:gh(t,e)},{i:u-2,x:gh(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),c(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e=0&&n._call.call(null,t),n=n._next;--Dh}function _n(){Wh=(Hh=Vh.now())+Yh,Dh=qh=0;try{yn()}finally{Dh=0,bn(),Wh=0}}function mn(){var t=Vh.now(),n=t-Hh;n>Bh&&(Yh-=n,Hh=t)}function bn(){for(var t,n,e=ah,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ah=n);uh=t,xn(r)}function xn(t){if(!Dh){qh&&(qh=clearTimeout(qh));var n=t-Wh;n>24?(t<1/0&&(qh=setTimeout(_n,n)),Fh&&(Fh=clearInterval(Fh))):(Fh||(Hh=Wh,Fh=setInterval(mn,Bh)),Dh=1,Xh(_n))}}function wn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>Qh)throw new Error("too late");return e}function Mn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>np)throw new Error("too late");return e}function kn(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function An(t,n,e){function r(t){e.state=tp,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var s,f,l,h;if(e.state!==tp)return a();for(s in c)if(h=c[s],h.name===e.name){if(h.state===ep)return Gh(i);h.state===rp?(h.state=op,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete c[s]):+s=0&&(t=t.slice(0,n)),!t||"start"===t})}function Bn(t,n,e){var r,i,o=Fn(n)?wn:Mn;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function Hn(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function Wn(t,n){var e,r,i;return function(){var o=nl(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 Yn(t){return function(){this.style.removeProperty(t)}}function Vn(t,n,e){var r,i;return function(){var o=nl(this).getComputedStyle(this,null).getPropertyValue(t);return o===e?null:o===r?i:i=n(r=o,e)}}function Xn(t,n,e){var r,i,o;return function(){var a=nl(this).getComputedStyle(this,null),u=a.getPropertyValue(t),c=e(this);return null==c&&(this.style.removeProperty(t),c=a.getPropertyValue(t)),u===c?null:u===r&&c===i?o:o=n(r=u,i=c)}}function Gn(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 Jn(t){return function(){this.textContent=t}}function Kn(t){return function(){var n=t(this);this.textContent=null==n?"":n}}function Zn(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Qn(t){return dt().transition(t)}function te(){return++Sp}function ne(t){return+t}function ee(t){return t*t}function re(t){return t*(2-t)}function ie(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function oe(t){return t*t*t}function ae(t){return--t*t*t+1}function ue(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function ce(t){return 1-Math.cos(t*Rp)}function se(t){return Math.sin(t*Rp)}function fe(t){return(1-Math.cos($p*t))/2}function le(t){return Math.pow(2,10*t-10)}function he(t){return 1-Math.pow(2,-10*t)}function pe(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function de(t){return 1-Math.sqrt(1-t*t)}function ve(t){return Math.sqrt(1- --t*t)}function ge(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function ye(t){return 1-_e(1-t)}function _e(t){return(t=+t)Math.abs(t[1]-z[1])?M=!0:w=!0),z=t,x=!0,cd(),o()}function o(){var t;switch(m=z[0]-I[0],b=z[1]-I[1],E){case fd:case sd:C&&(m=Math.max(j-l,Math.min($-v,m)),h=l+m,g=v+m),S&&(b=Math.max(P-p,Math.min(R-y,b)),d=p+b,_=y+b);break;case ld:C<0?(m=Math.max(j-l,Math.min($-l,m)),h=l+m,g=v):C>0&&(m=Math.max(j-v,Math.min($-v,m)),h=l,g=v+m),S<0?(b=Math.max(P-p,Math.min(R-p,b)),d=p+b,_=y):S>0&&(b=Math.max(P-y,Math.min(R-y,b)),d=p,_=y+b);break;case hd:C&&(h=Math.max(j,Math.min($,l-m*C)),g=Math.max(j,Math.min($,v+m*C))),S&&(d=Math.max(P,Math.min(R,p-b*S)),_=Math.max(P,Math.min(R,y+b*S)))}g0&&(l=h-m),S<0?y=_-b:S>0&&(p=d-b),E=fd,q.attr("cursor",gd.selection),o());break;default:return}cd()}function s(){switch(t.event.keyCode){case 16:L&&(w=M=L=!1,o());break;case 18:E===hd&&(C<0?v=g:C>0&&(l=h),S<0?y=_:S>0&&(p=d),E=ld,o());break;case 32:E===fd&&(t.event.altKey?(C&&(v=g-m*C,l=h+m*C),S&&(y=_-b*S,p=d+b*S),E=hd):(C<0?v=g:C>0&&(l=h),S<0?y=_:S>0&&(p=d),E=ld),q.attr("cursor",gd[A]),o());break;default:return}cd()}if(t.event.touches){if(t.event.changedTouches.length=(o=(v+y)/2))?v=o:y=o,(f=e>=(a=(g+_)/2))?g=a:_=a,i=p,!(p=p[l=f<<1|s]))return i[l]=d,t;if(u=+t._x.call(null,p.data),c=+t._y.call(null,p.data),n===u&&e===c)return d.next=p,i?i[l]=d:t._root=d,t;do i=i?i[l]=new Array(4):t._root=new Array(4),(s=n>=(o=(v+y)/2))?v=o:y=o,(f=e>=(a=(g+_)/2))?g=a:_=a;while((l=f<<1|s)===(h=(c>=a)<<1|u>=o));return i[h]=p,i[l]=d,t}function Ke(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),c=1/0,s=1/0,f=-(1/0),l=-(1/0);for(e=0;ef&&(f=r),il&&(l=i));for(f",i=n[3]||"-",o=n[4]||"",a=!!n[5],u=n[6]&&+n[6],c=!!n[7],s=n[8]&&+n[8].slice(1),f=n[9]||""; "n"===f?(c=!0,f="g"):Nv[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=c,this.precision=s,this.type=f}function lr(t){return t}function hr(n){return $v=Lv(n),t.format=$v.format,t.formatPrefix=$v.formatPrefix,$v}function pr(){this.reset()}function dr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function vr(t){return t>1?0:t<-1?xg:Math.acos(t)}function gr(t){return t>1?wg:t<-1?-wg:Math.asin(t)}function yr(t){return(t=Rg(t/2))*t}function _r(){}function mr(t,n){t&&Dg.hasOwnProperty(t.type)&&Dg[t.type](t,n)}function br(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i=0?1:-1,i=r*e,o=Og(n),a=Rg(n),u=Wv*a,c=Hv*o+u*Og(i),s=u*r*Rg(i);Fg.add(Tg(s,c)),Bv=t,Hv=o,Wv=a}function Er(t){return[Tg(t[1],t[0]),gr(t[2])]}function Cr(t){var n=t[0],e=t[1],r=Og(e);return[r*Og(n),r*Rg(n),Rg(e)]}function Sr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Tr(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Or(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Nr(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function jr(t){var n=Ig(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Pr(t,n){tg.push(ng=[Yv=t,Xv=t]),nGv&&(Gv=n)}function $r(t,n){var e=Cr([t*Eg,n*Eg]);if(Qv){var r=Tr(Qv,e),i=[r[1],-r[0],0],o=Tr(i,r);jr(o),o=Er(o);var a,u=t-Jv,c=u>0?1:-1,s=o[0]*Ag*c,f=Cg(u)>180;f^(c*JvGv&&(Gv=a)):(s=(s+360)%360-180,f^(c*JvGv&&(Gv=n))),f?tDr(Yv,Xv)&&(Xv=t):Dr(t,Xv)>Dr(Yv,Xv)&&(Yv=t):Xv>=Yv?(tXv&&(Xv=t)):t>Jv?Dr(Yv,t)>Dr(Yv,Xv)&&(Xv=t):Dr(t,Xv)>Dr(Yv,Xv)&&(Yv=t)}else tg.push(ng=[Yv=t,Xv=t]);nGv&&(Gv=n),Qv=e,Jv=t}function Rr(){Vg.point=$r}function Lr(){ng[0]=Yv,ng[1]=Xv,Vg.point=Pr,Qv=null}function Ir(t,n){if(Qv){var e=t-Jv;Yg.add(Cg(e)>180?e+(e>0?360:-360):e)}else Kv=t,Zv=n;Hg.point(t,n),$r(t,n)}function zr(){Hg.lineStart()}function Ur(){Ir(Kv,Zv),Hg.lineEnd(),Cg(Yg)>mg&&(Yv=-(Xv=180)),ng[0]=Yv,ng[1]=Xv,Qv=null}function Dr(t,n){return(n-=t)<0?n+360:n}function qr(t,n){return t[0]-n[0]}function Fr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nxg?t-kg:t<-xg?t+kg:t,n]}function ti(t,n,e){return(t%=kg)?n||e?Zg(ei(t),ri(n,e)):ei(t):n||e?ri(n,e):Qr}function ni(t){return function(n,e){return n+=t,[n>xg?n-kg:n<-xg?n+kg:n,e]}}function ei(t){var n=ni(t);return n.invert=ni(-t),n}function ri(t,n){function e(t,n){var e=Og(n),u=Og(t)*e,c=Rg(t)*e,s=Rg(n),f=s*r+u*i;return[Tg(c*o-f*a,u*r-s*i),gr(f*o+c*a)]}var r=Og(t),i=Rg(t),o=Og(n),a=Rg(n);return e.invert=function(t,n){var e=Og(n),u=Og(t)*e,c=Rg(t)*e,s=Rg(n),f=s*o-c*a;return[Tg(c*o+s*a,u*r+f*i),gr(f*r-u*i)]},e}function ii(t,n,e,r,i,o){if(e){var a=Og(n),u=Rg(n),c=r*e;null==i?(i=n+r*kg,o=n-c/2):(i=oi(a,i),o=oi(a,o),(r>0?io)&&(i+=r*kg));for(var s,f=i;r>0?f>o:f0){do s.point(0===f||3===f?t:e,f>1?r:n);while((f=(f+u+4)%4)!==l)}else s.point(o[0],o[1])}function a(r,i){return Cg(r[0]-t)0?0:3:Cg(r[0]-e)0?2:1:Cg(r[1]-n)0?1:0:i>0?3:2}function u(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){function c(t,n){i(t,n)&&E.point(t,n)}function s(){for(var n=0,e=0,i=g.length;er&&(l-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(l-o)*(r-a)<(h-a)*(t-o)&&--n;return n}function f(){E=C,v=[],g=[],A=!0}function l(){var t=s(),n=A&&t,e=(v=nf(v)).length;(n||e)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),e&&vy(v,u,t,o,a),a.polygonEnd()),E=a,v=g=y=null}function h(){S.point=d,g&&g.push(y=[]),k=!0,M=!1,x=w=NaN}function p(){v&&(d(_,m),b&&M&&C.rejoin(),v.push(C.result())),S.point=c,M&&E.lineEnd()}function d(o,a){var u=i(o,a);if(g&&y.push([o,a]),k)_=o,m=a,b=u,k=!1,u&&(E.lineStart(),E.point(o,a));else if(u&&M)E.point(o,a);else{var c=[x=Math.max(yy,Math.min(gy,x)),w=Math.max(yy,Math.min(gy,w))],s=[o=Math.max(yy,Math.min(gy,o)),a=Math.max(yy,Math.min(gy,a))];py(c,s,t,n,e,r)?(M||(E.lineStart(),E.point(c[0],c[1])),E.point(s[0],s[1]),u||E.lineEnd(),A=!1):u&&(E.lineStart(),E.point(o,a),A=!1)}x=o,w=a,M=u}var v,g,y,_,m,b,x,w,M,k,A,E=a,C=hy(),S={point:c,lineStart:h,lineEnd:p,polygonStart:f,polygonEnd:l};return S}}function si(){by.point=li,by.lineEnd=fi}function fi(){by.point=by.lineEnd=_r}function li(t,n){t*=Eg,n*=Eg,Qg=t,ty=Rg(n),ny=Og(n),by.point=hi}function hi(t,n){t*=Eg,n*=Eg;var e=Rg(n),r=Og(n),i=Cg(t-Qg),o=Og(i),a=Rg(i),u=r*a,c=ny*e-ty*r*o,s=ty*e+ny*r*o;my.add(Tg(Ig(u*u+c*c),s)),Qg=t,ty=e,ny=r}function pi(t,n,e){var r=Fs(t,n-mg,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function di(t,n,e){var r=Fs(t,n-mg,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function vi(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return Fs(Ng(o/g)*g,i,g).map(h).concat(Fs(Ng(s/y)*y,c,y).map(p)).concat(Fs(Ng(r/d)*d,e,d).filter(function(t){return Cg(t%g)>mg}).map(f)).concat(Fs(Ng(u/v)*v,a,v).filter(function(t){return Cg(t%y)>mg}).map(l))}var e,r,i,o,a,u,c,s,f,l,h,p,d=10,v=d,g=90,y=360,_=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(p(c).slice(1),h(i).reverse().slice(1),p(s).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],s=+n[0][1],c=+n[1][1],o>i&&(n=o,o=i,i=n),s>c&&(n=s,s=c,c=n),t.precision(_)):[[o,s],[i,c]]},t.extentMinor=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],u=+n[0][1],a=+n[1][1],r>e&&(n=r,r=e,e=n),u>a&&(n=u,u=a,a=n),t.precision(_)):[[r,u],[e,a]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(g=+n[0],y=+n[1],t):[g,y]},t.stepMinor=function(n){return arguments.length?(d=+n[0],v=+n[1],t):[d,v]},t.precision=function(n){return arguments.length?(_=+n,f=pi(u,a,90),l=di(r,e,_),h=pi(s,c,90),p=di(o,i,_),t):_},t.extentMajor([[-180,-90+mg],[180,90-mg]]).extentMinor([[-180,-80-mg],[180,80+mg]])}function gi(){return vi()()}function yi(){Ty.point=_i}function _i(t,n){Ty.point=mi,ey=iy=t,ry=oy=n}function mi(t,n){Sy.add(oy*t-iy*n),iy=t,oy=n}function bi(){mi(ey,ry)}function xi(t,n){tjy&&(jy=t),nPy&&(Py=n)}function wi(t,n){Ry+=t,Ly+=n,++Iy}function Mi(){Hy.point=ki}function ki(t,n){Hy.point=Ai,wi(cy=t,sy=n)}function Ai(t,n){var e=t-cy,r=n-sy,i=Ig(e*e+r*r);zy+=i*(cy+t)/2,Uy+=i*(sy+n)/2,Dy+=i,wi(cy=t,sy=n)}function Ei(){Hy.point=wi}function Ci(){Hy.point=Ti}function Si(){Oi(ay,uy)}function Ti(t,n){Hy.point=Oi,wi(ay=cy=t,uy=sy=n)}function Oi(t,n){var e=t-cy,r=n-sy,i=Ig(e*e+r*r);zy+=i*(cy+t)/2,Uy+=i*(sy+n)/2,Dy+=i,i=sy*t-cy*n,qy+=i*(cy+t),Fy+=i*(sy+n),By+=3*i,wi(cy=t,sy=n)}function Ni(t){this._context=t}function ji(t,n){Ky.point=Pi,Yy=Xy=t,Vy=Gy=n}function Pi(t,n){Xy-=t,Gy-=n,Jy.add(Ig(Xy*Xy+Gy*Gy)),Xy=t,Gy=n}function $i(){this._string=[]}function Ri(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Li(t){return t.length>1}function Ii(t,n){return((t=t.x)[0]<0?t[1]-wg-mg:wg-t[1])-((n=n.x)[0]<0?n[1]-wg-mg:wg-n[1])}function zi(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?xg:-xg,c=Cg(o-e);Cg(c-xg)0?wg:-wg),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&c>=xg&&(Cg(e-i)mg?Sg((Rg(n)*(o=Og(r))*Rg(e)-Rg(r)*(i=Og(n))*Rg(t))/(i*o*a)):(n+r)/2}function Di(t,n,e,r){var i;if(null==t)i=e*wg,r.point(-xg,i),r.point(0,i),r.point(xg,i),r.point(xg,0),r.point(xg,-i),r.point(0,-i),r.point(-xg,-i),r.point(-xg,0),r.point(-xg,i);else if(Cg(t[0]-n[0])>mg){var o=t[0]4*n&&v--){var b=a+h,x=u+p,w=c+d,M=Ig(b*b+x*x+w*w),k=gr(w/=M),A=Cg(Cg(w)-1)n||Cg((y*T+_*O)/m-.5)>.3||a*h+u*p+c*d2?t[2]%360*Eg:0,i()):[x*Ag,w*Ag,M*Ag]},n.precision=function(t){return arguments.length?(T=u_(r,S=t*t),o()):Ig(S)},n.fitExtent=function(t,e){return Bi(n,t,e)},n.fitSize=function(t,e){return Hi(n,t,e)},function(){return a=t.apply(this,arguments),n.invert=a.invert&&e,i()}}function Gi(t){var n=0,e=xg/3,r=Xi(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Eg,e=t[1]*Eg):[n*Ag,e*Ag]},i}function Ji(t){function n(t,n){return[t*e,Rg(n)/e]}var e=Og(t);return n.invert=function(t,n){return[t/e,gr(n*e)]},n}function Ki(t,n){function e(t,n){var e=Ig(o-2*i*Rg(n))/i;return[e*Rg(t*=i),a-e*Og(t)]}var r=Rg(t),i=(r+Rg(n))/2;if(Cg(i)0?n<-wg+mg&&(n=-wg+mg):n>wg-mg&&(n=wg-mg);var e=o/$g(ro(n),i);return[e*Rg(i*t),o-e*Og(i*t)]}var r=Og(t),i=t===n?Rg(t):Pg(r/Og(n))/Pg(ro(n)/ro(t)),o=r*$g(ro(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=Lg(i)*Ig(t*t+e*e);return[Tg(t,Cg(e))/i*Lg(e),2*Sg($g(o/r,1/i))-wg]},e):no}function oo(t,n){return[t,n]}function ao(t,n){function e(t,n){var e=o-n,r=i*t;return[e*Rg(r),o-e*Og(r)]}var r=Og(t),i=t===n?Rg(t):(r-Og(n))/(n-t),o=r/i+t;return Cg(i)=0;)n+=e[r].value;else n=1;t.value=n}function xo(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 wo(t,n){var e,r,i,o,a,u=new Co(t),c=+t.value&&(u.value=t.value),s=[u];for(null==n&&(n=ko);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)s.push(r=e.children[o]=new Co(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Eo)}function Mo(){return wo(this).eachBefore(Ao)}function ko(t){return t.children}function Ao(t){t.data=t.data.data}function Eo(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function Co(t){this.data=t,this.depth=this.height=0,this.parent=null}function So(t){this._=t,this.next=null}function To(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 Oo(t,n){var e,r,i,o=null,a=t.head;switch(n.length){case 1:e=No(n[0]);break;case 2:e=jo(n[0],n[1]);break;case 3:e=Po(n[0],n[1],n[2])}for(;a;)i=a._,r=a.next,e&&To(e,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=Oo(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 No(t){return{x:t.x,y:t.y,r:t.r}}function jo(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,c=o-e,s=a-r,f=u-i,l=Math.sqrt(c*c+s*s);return{x:(e+o+c/l*f)/2,y:(r+a+s/l*f)/2,r:(l+i+u)/2}}function Po(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,c=n.r,s=e.x,f=e.y,l=e.r,h=2*(r-a),p=2*(i-u),d=2*(c-o),v=r*r+i*i-o*o-a*a-u*u+c*c,g=2*(r-s),y=2*(i-f),_=2*(l-o),m=r*r+i*i-o*o-s*s-f*f+l*l,b=g*p-h*y,x=(p*m-y*v)/b-r,w=(y*d-p*_)/b,M=(g*v-h*m)/b-i,k=(h*_-g*d)/b,A=w*w+k*k-1,E=2*(x*w+M*k+o),C=x*x+M*M-o*o,S=(-E-Math.sqrt(E*E-4*A*C))/(2*A);return{x:x+w*S+r,y:M+k*S+i,r:S}}function $o(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,c=n.y-i,s=u*u+c*c;if(s){var f=.5+((a*=a)-(o*=o))/(2*s),l=Math.sqrt(Math.max(0,2*o*(a+s)-(a-=s)*a-o*o))/(2*s);e.x=r+f*u+l*c,e.y=i+f*c-l*u}else e.x=r+a,e.y=i}function Ro(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 Lo(t,n){for(var e=t._.r;t!==n;)e+=2*(t=t.next)._.r;return e-n._.r}function Io(t,n,e){var r=t._,i=t.next._,o=r.r+i.r,a=(r.x*i.r+i.x*r.r)/o-n,u=(r.y*i.r+i.y*r.r)/o-e;return a*a+u*u}function zo(t){this._=t,this.next=null,this.previous=null}function Uo(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;$o(e,n,r=t[2]);var o,a,u,c,s,f,l,h=n.r*n.r,p=e.r*e.r,d=r.r*r.r,v=h+p+d,g=h*n.x+p*e.x+d*r.x,y=h*n.y+p*e.y+d*r.y;n=new zo(n),e=new zo(e),r=new zo(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;uLo(c,e)?n=c:e=c,n.next=e,e.previous=n,--u;continue t}f+=c._.r,c=c.next}else{if(Ro(s._,r._)){Lo(n,s)>l+n._.r+e._.r?n=s:e=s,n.next=e,e.previous=n,--u;continue t}l+=s._.r,s=s.previous}while(c!==s.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,v+=d=r._.r*r._.r,g+=d*r._.x,y+=d*r._.y,h=Io(n,o=g/v,a=y/v);(r=r.next)!==e;)(d=Io(r,o,a))=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function ta(t,n,e){return t.a.parent===n.parent?t.a:e}function na(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 ea(t){for(var n,e,r,i,o,a=new na(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 na(r[i],i)),e.parent=n;return(a.parent=new na(null,0)).children=[a],a}function ra(t,n,e,r,i,o){for(var a,u,c,s,f,l,h,p,d,v,g,y=[],_=n.children,m=0,b=0,x=_.length,w=n.value;mh&&(h=u),g=f*f*v,p=Math.max(h/g,g/l),p>d){f-=u;break}d=p}y.push(a={value:f,dice:c1&&om(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function aa(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 ua(t){if(!t._start)try{ca(t)}catch(n){if(t._tasks[t._ended+t._active-1])fa(t,n);else if(!t._data)throw n}}function ca(t){for(;t._start=t._waiting&&t._active=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(t){}t._active=NaN,la(t)}function la(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function ha(t){return new aa(arguments.length?+t:1/0)}function pa(t){return function(n,e){t(null==n?e:null)}}function da(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function va(t,n){return function(e){return t(e.responseText,n)}}function ga(t){function n(n){var o=n+"",a=e.get(o);if(!a){if(i!==Tm)return i;e.set(o,a=r.push(n))}return t[(a-1)%t.length]}var e=De(),r=[],i=Tm;return t=null==t?[]:Sm.call(t),n.domain=function(t){if(!arguments.length)return r.slice();r=[],e=De();for(var i,o,a=-1,u=t.length;++a=e?1:r(t)}}}function wa(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function Ma(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o2?ka:Ma,o=a=null,r}function r(n){return(o||(o=i(u,c,f?xa(t):t,s)))(+n)}var i,o,a,u=jm,c=jm,s=xh,f=!1;return r.invert=function(t){return(a||(a=i(c,u,ba,f?wa(n):n)))(+t)},r.domain=function(t){return arguments.length?(u=Cm.call(t,Nm),e()):u.slice()},r.range=function(t){return arguments.length?(c=Sm.call(t),e()):c.slice()},r.rangeRound=function(t){return c=Sm.call(t),s=wh,e()},r.clamp=function(t){return arguments.length?(f=!!t,e()):f},r.interpolate=function(t){return arguments.length?(s=t,e()):s},e()}function Ca(t){var n=t.domain;return t.ticks=function(t){var e=n();return Ys(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Pm(n(),t,e)},t.nice=function(r){var i=n(),o=i.length-1,a=null==r?10:r,u=i[0],c=i[o],s=e(u,c,a);return s&&(s=e(Math.floor(u/s)*s,Math.ceil(c/s)*s,a),i[0]=Math.floor(u/s)*s,i[o]=Math.ceil(c/s)*s,n(i)),t},t}function Sa(){var t=Ea(ba,gh);return t.copy=function(){return Aa(t,Sa())},Ca(t)}function Ta(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=Cm.call(e,Nm),t):n.slice()},t.copy=function(){return Ta().domain(n)},Ca(t)}function Oa(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Om(n)}function Na(t,n){return t<0?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 ja(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Pa(t){return 10===t?ja:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function $a(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 Ra(t){return function(n){return-t(-n)}}function La(){function n(){return o=$a(i),a=Pa(i),r()[0]<0&&(o=Ra(o),a=Ra(a)),e}var e=Ea(Oa,Na).domain([1,10]),r=e.domain,i=10,o=$a(10),a=Pa(10);return e.base=function(t){return arguments.length?(i=+t,n()):i},e.domain=function(t){return arguments.length?(r(t),n()):r()},e.ticks=function(t){var n,e=r(),u=e[0],c=e[e.length-1];(n=c0){for(;hc)break;v.push(l)}}else for(;h=1;--f)if(l=s*f,!(lc)break;v.push(l)}}else v=Ys(h,p,Math.min(p-h,d)).map(a);return n?v.reverse():v},e.tickFormat=function(n,r){if(null==r&&(r=10===i?".0e":","),"function"!=typeof r&&(r=t.format(r)),n===1/0)return r;null==n&&(n=10);var u=Math.max(1,i*n/e.ticks().length);return function(t){var n=t/a(Math.round(o(t)));return n*i0?i[n-1]:e[0],n=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return qa().domain([e,r]).range(a)},Ca(t)}function Fa(){function t(t){if(t<=t)return e[Os(n,t,0,r)]}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=Sm.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=Sm.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 Fa().domain(n).range(e)},t}function Ba(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 t-n0))return a;do a.push(new Date(+e));while(n(e,o),t(e),e=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return Rm.setTime(+n),Lm.setTime(+r),t(Rm),t(Lm),Math.floor(e(Rm,Lm))},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 Ha(t){return Ba(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Dm)/Bm})}function Wa(t){return Ba(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Bm})}function Ya(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 Va(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 Xa(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Ga(t){function n(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++u=c)return-1; if(i=n.charCodeAt(a++),37===i){if(i=n.charAt(a++),o=F[i in qb?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=O.exec(n.slice(e));return r?(t.p=N[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=$.exec(n.slice(e));return r?(t.w=R[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=j.exec(n.slice(e));return r?(t.w=P[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=z.exec(n.slice(e));return r?(t.m=U[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){var r=L.exec(n.slice(e));return r?(t.m=I[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){return r(t,w,n,e)}function f(t,n,e){return r(t,M,n,e)}function l(t,n,e){return r(t,k,n,e)}function h(t){return C[t.getDay()]}function p(t){return E[t.getDay()]}function d(t){return T[t.getMonth()]}function v(t){return S[t.getMonth()]}function g(t){return A[+(t.getHours()>=12)]}function y(t){return C[t.getUTCDay()]}function _(t){return E[t.getUTCDay()]}function m(t){return T[t.getUTCMonth()]}function b(t){return S[t.getUTCMonth()]}function x(t){return A[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,k=t.time,A=t.periods,E=t.days,C=t.shortDays,S=t.months,T=t.shortMonths,O=Za(A),N=Qa(A),j=Za(E),P=Qa(E),$=Za(C),R=Qa(C),L=Za(S),I=Qa(S),z=Za(T),U=Qa(T),D={a:h,A:p,b:d,B:v,c:null,d:du,e:du,H:vu,I:gu,j:yu,L:_u,m:mu,M:bu,p:g,S:xu,U:wu,w:Mu,W:ku,x:null,X:null,y:Au,Y:Eu,Z:Cu,"%":Fu},q={a:y,A:_,b:m,B:b,c:null,d:Su,e:Su,H:Tu,I:Ou,j:Nu,L:ju,m:Pu,M:$u,p:x,S:Ru,U:Lu,w:Iu,W:zu,x:null,X:null,y:Uu,Y:Du,Z:qu,"%":Fu},F={a:o,A:a,b:u,B:c,c:s,d:uu,e:uu,H:su,I:su,j:cu,L:hu,m:au,M:fu,p:i,S:lu,U:nu,w:tu,W:eu,x:f,X:l,y:iu,Y:ru,Z:ou,"%":pu};return D.x=n(M,D),D.X=n(k,D),D.c=n(w,D),q.x=n(M,q),q.X=n(k,q),q.c=n(w,q),{format:function(t){var e=n(t+="",D);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",Ya);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",q);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,Va);return n.toString=function(){return t},n}}}function Ja(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function ou(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 au(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function uu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function cu(t,n,e){var r=Fb.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function su(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function fu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function lu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function hu(t,n,e){var r=Fb.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function pu(t,n,e){var r=Bb.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function du(t,n){return Ja(t.getDate(),n,2)}function vu(t,n){return Ja(t.getHours(),n,2)}function gu(t,n){return Ja(t.getHours()%12||12,n,2)}function yu(t,n){return Ja(1+Jm.count(db(t),t),n,3)}function _u(t,n){return Ja(t.getMilliseconds(),n,3)}function mu(t,n){return Ja(t.getMonth()+1,n,2)}function bu(t,n){return Ja(t.getMinutes(),n,2)}function xu(t,n){return Ja(t.getSeconds(),n,2)}function wu(t,n){return Ja(Zm.count(db(t),t),n,2)}function Mu(t){return t.getDay()}function ku(t,n){return Ja(Qm.count(db(t),t),n,2)}function Au(t,n){return Ja(t.getFullYear()%100,n,2)}function Eu(t,n){return Ja(t.getFullYear()%1e4,n,4)}function Cu(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ja(n/60|0,"0",2)+Ja(n%60,"0",2)}function Su(t,n){return Ja(t.getUTCDate(),n,2)}function Tu(t,n){return Ja(t.getUTCHours(),n,2)}function Ou(t,n){return Ja(t.getUTCHours()%12||12,n,2)}function Nu(t,n){return Ja(1+bb.count(zb(t),t),n,3)}function ju(t,n){return Ja(t.getUTCMilliseconds(),n,3)}function Pu(t,n){return Ja(t.getUTCMonth()+1,n,2)}function $u(t,n){return Ja(t.getUTCMinutes(),n,2)}function Ru(t,n){return Ja(t.getUTCSeconds(),n,2)}function Lu(t,n){return Ja(wb.count(zb(t),t),n,2)}function Iu(t){return t.getUTCDay()}function zu(t,n){return Ja(Mb.count(zb(t),t),n,2)}function Uu(t,n){return Ja(t.getUTCFullYear()%100,n,2)}function Du(t,n){return Ja(t.getUTCFullYear()%1e4,n,4)}function qu(){return"+0000"}function Fu(){return"%"}function Bu(n){return Ub=Ga(n),t.timeFormat=Ub.format,t.timeParse=Ub.parse,t.utcFormat=Ub.utcFormat,t.utcParse=Ub.utcParse,Ub}function Hu(t){return t.toISOString()}function Wu(t){var n=new Date(t);return isNaN(n)?null:n}function Yu(t){return new Date(t)}function Vu(t){return t instanceof Date?+t:+new Date(+t)}function Xu(t,n,r,i,o,a,u,c,s){function f(e){return(u(e)=1?bx:t<=-1?-bx:Math.asin(t)}function rc(t,n,e,r,i,o,a,u){var c=e-t,s=r-n,f=a-i,l=u-o,h=(f*(n-o)-l*(t-i))/(l*c-f*s);return[t+h*c,n+h*s]}function ic(t,n,e,r,i,o,a){var u=t-e,c=n-r,s=(a?o:-o)/Math.sqrt(u*u+c*c),f=s*c,l=-s*u,h=t+f,p=n+l,d=e+f,v=r+l,g=(h+d)/2,y=(p+v)/2,_=d-h,m=v-p,b=_*_+m*m,x=i-o,w=h*v-d*p,M=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*b-w*w)),k=(w*m-_*M)/b,A=(-w*_-m*M)/b,E=(w*m+_*M)/b,C=(-w*_+m*M)/b,S=k-g,T=A-y,O=E-g,N=C-y;return S*S+T*T>O*O+N*N&&(k=E,A=C),{cx:k,cy:A,x01:-f,y01:-l,x11:k*(i/x-1),y11:A*(i/x-1)}}function oc(t){this._context=t}function ac(t){return t[0]}function uc(t){return t[1]}function cc(t){this._curve=t}function sc(t){function n(n){return new cc(t(n))}return n._curve=t,n}function fc(t){var 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(sc(t)):n()._curve},t}function lc(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 hc(t){this._context=t}function pc(t){this._context=t}function dc(t){this._context=t}function vc(t,n){this._basis=new hc(t),this._beta=n}function gc(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 yc(t,n){this._context=t,this._k=(1-n)/6}function _c(t,n){this._context=t,this._k=(1-n)/6}function mc(t,n){this._context=t,this._k=(1-n)/6}function bc(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>_x){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>_x){var s=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*s+t._x1*t._l23_2a-n*t._l12_2a)/f,a=(a*s+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function xc(t,n){this._context=t,this._alpha=n}function wc(t,n){this._context=t,this._alpha=n}function Mc(t,n){this._context=t,this._alpha=n}function kc(t){this._context=t}function Ac(t){return t<0?-1:1}function Ec(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(Ac(o)+Ac(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Cc(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Sc(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 Tc(t){this._context=t}function Oc(t){this._context=new Nc(t)}function Nc(t){this._context=t}function jc(t){return new Tc(t)}function Pc(t){return new Oc(t)}function $c(t){this._context=t}function Rc(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;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n0)){if(o/=d,d<0){if(o0){if(o>p)return;o>h&&(h=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o0)){if(o/=v,v<0){if(o0){if(o>p)return;o>h&&(h=o)}if(o=i-s,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o0||p<1)||(h>0&&(t[0]=[c+h*d,s+h*v]),p<1&&(t[1]=[c+p*d,s+p*v]),!0)}}}}}function Zc(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,c=t[0],s=t.left,f=t.right,l=s[0],h=s[1],p=f[0],d=f[1],v=(l+p)/2,g=(h+d)/2;if(d===h){if(v=r)return;if(l>p){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]1)if(l>p){if(c){if(c[1]>=i)return}else c=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(c){if(c[1]=r)return}else c=[n,a*n+u];o=[r,a*r+u]}else{if(c){if(c[0]Nw||Math.abs(i[0][1]-i[1][1])>Nw)||delete Sw[o]}function ts(t){return Ew[t.index]={site:t,halfedges:[]}}function ns(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 es(t,n){return n[+(n.left!==t.site)]}function rs(t,n){return n[+(n.left===t.site)]}function is(){for(var t,n,e,r,i=0,o=Ew.length;iNw||Math.abs(v-h)>Nw)&&(c.splice(u,0,Sw.push(Gc(a,p,Math.abs(d-t)Nw?[t,Math.abs(l-t)Nw?[Math.abs(h-r)Nw?[e,Math.abs(l-e)Nw?[Math.abs(h-n)=-jw)){var p=c*c+s*s,d=f*f+l*l,v=(l*p-s*d)/h,g=(c*d-f*p)/h,y=Tw.pop()||new as;y.arc=t,y.site=i,y.x=v+a,y.y=(y.cy=g+u)+Math.sqrt(v*v+g*g),t.circle=y;for(var _=null,m=Cw._;m;)if(y.yNw)u=u.L;else{if(i=o-vs(u,a),!(i>Nw)){r>-Nw?(n=u.P,e=u):i>-Nw?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}ts(t);var c=fs(t);if(Aw.insert(n,c),n||e){if(n===e)return cs(n),e=fs(n.site),Aw.insert(c,e),c.edge=e.edge=Xc(n.site,c.site),us(n),void us(e);if(!e)return void(c.edge=Xc(n.site,c.site));cs(n),cs(e);var s=n.site,f=s[0],l=s[1],h=t[0]-f,p=t[1]-l,d=e.site,v=d[0]-f,g=d[1]-l,y=2*(h*g-p*v),_=h*h+p*p,m=v*v+g*g,b=[(g*_-p*m)/y+f,(h*m-v*_)/y+l];Jc(e.edge,s,d,b),c.edge=Xc(s,t,null,b),e.edge=Xc(t,d,null,b),us(n),us(e)}}function ds(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],c=e[1],s=c-n;if(!s)return u;var f=u-r,l=1/o-1/s,h=f/s;return l?(-h+Math.sqrt(h*h-2*l*(f*f/(-2*s)-c+s/2+i-o/2)))/l+r:(r+u)/2}function vs(t,n){var e=t.N;if(e)return ds(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function gs(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function ys(t,n){return n[1]-t[1]||n[0]-t[0]}function _s(t,n){var e,r,i,o=t.sort(ys).pop();for(Sw=[],Ew=new Array(t.length),Aw=new Bc,Cw=new Bc;;)if(i=kw,o&&(!i||o[1]n?1:t>=n?0:NaN},Ss=function(t){return 1===t.length&&(t=n(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>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);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}},Ts=Ss(Cs),Os=Ts.right,Ns=Ts.left,js=function(t,n){return nt?1:n>=t?0:NaN},Ps=function(t){return null===t?NaN:+t},$s=function(t,n){var e,r,i=t.length,o=0,a=0,u=-1,c=0;if(null==n)for(;++u1)return a/(c-1)},Rs=function(t,n){var e=$s(t,n);return e?Math.sqrt(e):e},Ls=function(t,n){var e,r,i,o=-1,a=t.length;if(null==n){for(;++o=r){e=i=r;break}for(;++or&&(e=r),i=r){e=i=r;break}for(;++or&&(e=r),i=f;)l.pop(),--h;var p,d=new Array(h+1);for(i=0;i<=h;++i)p=d[i]=[],p.x0=i>0?l[i-1]:s,p.x1=i=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t),u=+e(t[o+1],o+1,t);return a+(u-a)*(i-o)}},Js=function(t,n,e){return t=Us.call(t,Ps).sort(Cs),Math.ceil((e-n)/(2*(Gs(t,.75)-Gs(t,.25))*Math.pow(t.length,-1/3)))},Ks=function(t,n,e){return Math.ceil((e-n)/(3.5*Rs(t)*Math.pow(t.length,-1/3)))},Zs=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},Qs=function(t,n){var e,r=0,i=t.length,o=-1,a=i;if(null==n)for(;++o=0;)for(r=t[i],n=r.length;--n>=0;)e[--a]=r[n];return e},ef=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},rf=function(t){for(var n=0,e=t.length-1,r=t[0],i=new Array(e<0?0:e);n0)for(var e,r,i=new Array(e),o=0;o=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),bf.hasOwnProperty(n)?{space:bf[n],local:t}:t},wf=function(t){var n=xf(t);return(n.local?m:_)(n)},Mf=0;x.prototype=b.prototype={constructor:x,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var kf=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Af=document.documentElement;if(!Af.matches){var Ef=Af.webkitMatchesSelector||Af.msMatchesSelector||Af.mozMatchesSelector||Af.oMatchesSelector;kf=function(t){return function(){return Ef.call(this,t)}}}}var Cf=kf,Sf={};if(t.event=null,"undefined"!=typeof document){var Tf=document.documentElement;"onmouseenter"in Tf||(Sf={mouseenter:"mouseover",mouseleave:"mouseout"})}var Of=function(t,n,e){var r,i,o=k(t+""),a=o.length;{if(!(arguments.length<2)){for(u=n?E:A,null==e&&(e=!1),r=0;r=x&&(x=b+1);!(m=g[x])&&++x=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},Vf=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=P);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?D:"function"==typeof n?F:q)(t,n,null==e?"":e)):nl(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)},rl=function(t,n){return arguments.length>1?this.each((null==n?B:"function"==typeof n?W:H)(t,n)):this.node()[t]};X.prototype={add:function(t){var n=this._names.indexOf(t);n<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var il=function(t,n){var e=Y(t+"");if(arguments.length<2){for(var r=V(this.node()),i=-1,o=e.length;++i=240?t-240:t+120,i,r),Pt(t,i,r),Pt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var zl=Math.PI/180,Ul=180/Math.PI,Dl=18,ql=.95047,Fl=1,Bl=1.08883,Hl=4/29,Wl=6/29,Yl=3*Wl*Wl,Vl=Wl*Wl*Wl;Ml(Lt,Rt,xt(wt,{brighter:function(t){return new Lt(this.l+Dl*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Lt(this.l-Dl*(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=Fl*zt(t),n=ql*zt(n),e=Bl*zt(e),new St(Ut(3.2404542*n-1.5371385*t-.4985314*e),Ut(-.969266*n+1.8760108*t+.041556*e),Ut(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Ml(Bt,Ft,xt(wt,{brighter:function(t){return new Bt(this.h,this.c,this.l+Dl*(null==t?1:t),this.opacity)},darker:function(t){return new Bt(this.h,this.c,this.l-Dl*(null==t?1:t),this.opacity)},rgb:function(){return $t(this).rgb()}}));var Xl=-.14861,Gl=1.78277,Jl=-.29227,Kl=-.90649,Zl=1.97294,Ql=Zl*Kl,th=Zl*Gl,nh=Gl*Jl-Kl*Xl;Ml(Yt,Wt,xt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new Yt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new Yt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*zl,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new St(255*(n+e*(Xl*r+Gl*i)),255*(n+e*(Jl*r+Kl*i)),255*(n+e*(Zl*r)),this.opacity)}}));var eh,rh,ih,oh,ah,uh,ch=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=ro&&(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,c.push({i:a,x:gh(e,r)})),o=mh.lastIndex;return onp&&e.statetp&&e.name===n)return new Zn([[t]],id,n,+r)}return null},ad=function(t){return function(){return t}},ud=function(t,n,e){this.target=t,this.type=n,this.selection=e},cd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},sd={name:"drag"},fd={name:"space"},ld={name:"handle"},hd={name:"center"},pd={name:"x",handles:["e","w"].map(we),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},dd={name:"y",handles:["n","s"].map(we),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},vd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(we),input:function(t){return t},output:function(t){return t}},gd={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},yd={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},_d={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},md={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},bd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},xd=function(){return Oe(vd)},wd=Math.cos,Md=Math.sin,kd=Math.PI,Ad=kd/2,Ed=2*kd,Cd=Math.max,Sd=function(){function t(t){var o,a,u,c,s,f,l=t.length,h=[],p=Fs(l),d=[],v=[],g=v.groups=new Array(l),y=new Array(l*l);for(o=0,s=-1;++sPd)if(Math.abs(f*u-c*s)>Pd&&i){var h=e-o,p=r-a,d=u*u+c*c,v=h*h+p*p,g=Math.sqrt(d),y=Math.sqrt(l),_=i*Math.tan((Nd-Math.acos((d+l-v)/(2*g*y)))/2),m=_/y,b=_/g;Math.abs(m-1)>Pd&&(this._+="L"+(t+m*s)+","+(n+m*f)),this._+="A"+i+","+i+",0,0,"+ +(f*h>s*p)+","+(this._x1=t+b*u)+","+(this._y1=n+b*c)}else this._+="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),c=t+a,s=n+u,f=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>Pd||Math.abs(this._y1-s)>Pd)&&(this._+="L"+c+","+s),e&&(l>$d?this._+="A"+e+","+e+",0,1,"+f+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+f+","+(this._x1=c)+","+(this._y1=s):(l<0&&(l=l%jd+jd),this._+="A"+e+","+e+",0,"+ +(l>=Nd)+","+f+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Rd=function(){function t(){var t,u=Td.call(arguments),c=n.apply(this,u),s=e.apply(this,u),f=+r.apply(this,(u[0]=c,u)),l=i.apply(this,u)-Ad,h=o.apply(this,u)-Ad,p=f*wd(l),d=f*Md(l),v=+r.apply(this,(u[0]=s,u)),g=i.apply(this,u)-Ad,y=o.apply(this,u)-Ad;if(a||(a=t=Pe()),a.moveTo(p,d),a.arc(0,0,f,l,h),l===g&&h===y||(a.quadraticCurveTo(0,0,v*wd(g),v*Md(g)),a.arc(0,0,v,g,y)),a.quadraticCurveTo(0,0,p,d),a.closePath(),t)return a=null,t+""||null}var n=$e,e=Re,r=Le,i=Ie,o=ze,a=null;return t.radius=function(n){return arguments.length?(r="function"==typeof n?n:Od(+n),t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:Od(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:Od(+n),t):o},t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(n){return arguments.length?(e=n,t):e},t.context=function(n){return arguments.length?(a=null==n?null:n,t):a},t},Ld="$";Ue.prototype=De.prototype={constructor:Ue,has:function(t){return Ld+t in this},get:function(t){return this[Ld+t]},set:function(t,n){return this[Ld+t]=n,this},remove:function(t){var n=Ld+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===Ld&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===Ld&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===Ld&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===Ld&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===Ld&&++t;return t},empty:function(){for(var t in this)if(t[0]===Ld)return!1;return!0},each:function(t){for(var n in this)n[0]===Ld&&t(this[n],n.slice(1),this)}};var Id=function(){function t(n,i,a,u){if(i>=o.length)return null!=r?r(n):null!=e?n.sort(e):n;for(var c,s,f,l=-1,h=n.length,p=o[i++],d=De(),v=a();++lo.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,qe,Fe)},map:function(n){return t(n,0,Be,He)},entries:function(e){return n(t(e,0,Be,He),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}}},zd=De.prototype;We.prototype=Ye.prototype={constructor:We,has:zd.has,add:function(t){return t+="",this[Ld+t]=t,this},remove:zd.remove,clear:zd.clear,values:zd.keys,size:zd.size,empty:zd.empty,each:zd.each};var Ud=function(t){var n=[];for(var e in t)n.push(e);return n},Dd=function(t){var n=[];for(var e in t)n.push(t[e]);return n},qd=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Fd=function(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?Xe(t,n):Ve(t)))});return o.columns=i,o}function e(t,n){function e(){if(f>=s)return a;if(i)return i=!1,o;var n,e=f;if(34===t.charCodeAt(e)){for(var r=e;r++t||t>i||r>n||n>o))return this;var a,u,c=i-e,s=this._root;switch(u=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do a=new Array(4),a[u]=s,s=a;while(c*=2,i=e+c,o=r+c,t>i||n>o);break;case 1:do a=new Array(4),a[u]=s,s=a;while(c*=2,e=i-c,o=r+c,e>t||n>o);break;case 2:do a=new Array(4),a[u]=s,s=a;while(c*=2,i=e+c,r=o-c,t>i||r>n);break;case 3:do a=new Array(4),a[u]=s,s=a;while(c*=2,e=i-c,r=o-c,e>t||r>n)}this._root&&this._root.length&&(this._root=s)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},iv=function(){var t=[];return this.visit(function(n){if(!n.length)do t.push(n.data);while(n=n.next)}),t},ov=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},av=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i},uv=function(t,n,e){var r,i,o,a,u,c,s,f=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new av(v,f,l,h,p)),null==e?e=1/0:(f=t-e,l=n-e,h=t+e,p=n+e,e*=e);c=d.pop();)if(!(!(v=c.node)||(i=c.x0)>h||(o=c.y0)>p||(a=c.x1)=y)<<1|t>=g)&&(c=d[d.length-1],d[d.length-1]=d[d.length-1-s],d[d.length-1-s]=c)}else{var _=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),b=_*_+m*m;if(b=(u=(d+g)/2))?d=u:g=u,(f=a>=(c=(v+y)/2))?v=c:y=c,n=p,!(p=p[l=f<<1|s]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},sv=function(){return this._root},fv=function(){var t=0;return this.visit(function(n){if(!n.length)do++t;while(n=n.next)}),t},lv=function(t){var n,e,r,i,o,a,u=[],c=this._root;for(c&&u.push(new av(c,this._x0,this._y0,this._x1,this._y1));n=u.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,a=n.y1)&&c.length){var s=(r+o)/2,f=(i+a)/2;(e=c[3])&&u.push(new av(e,s,f,o,a)),(e=c[2])&&u.push(new av(e,r,f,s,a)),(e=c[1])&&u.push(new av(e,s,i,o,f)),(e=c[0])&&u.push(new av(e,r,i,s,f))}return this},hv=function(t){var n,e=[],r=[];for(this._root&&e.push(new av(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,c=n.x1,s=n.y1,f=(a+c)/2,l=(u+s)/2;(o=i[0])&&e.push(new av(o,a,u,f,l)),(o=i[1])&&e.push(new av(o,f,u,c,l)),(o=i[2])&&e.push(new av(o,a,l,f,s)),(o=i[3])&&e.push(new av(o,f,l,c,s))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},pv=function(t){return arguments.length?(this._x=t,this):this._x},dv=function(t){return arguments.length?(this._y=t,this):this._y},vv=nr.prototype=er.prototype;vv.copy=function(){var t,n,e=new er(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=rr(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=rr(n));return e},vv.add=ev,vv.addAll=Ke,vv.cover=rv,vv.data=iv,vv.extent=ov,vv.find=uv,vv.remove=cv,vv.removeAll=Ze,vv.root=sv,vv.size=fv,vv.visit=lv,vv.visitAfter=hv,vv.x=pv,vv.y=dv;var gv,yv=function(t){function n(){function t(t,n,e,r,i){var o=t.data,u=t.r,p=l+u;{if(!o)return n>s+p||rf+p||ic.index){var d=s-o.x-o.vx,v=f-o.y-o.vy,g=d*d+v*v;gt.r&&(t.r=t[n].r)}function r(){if(i){var n,e,r=i.length;for(o=new Array(r),n=0;n1?(null==n?l.remove(t):l.set(t,i(n)),o):l.get(t)},find:function(n,e,r){var i,o,a,u,c,s=0,f=t.length;for(null==r?r=1/0:r*=r,s=0;s1?(d.on(t,n),o):d.on(t)}}},wv=function(){function t(t){var n,u=i.length,c=nr(i,cr,sr).visitAfter(e);for(a=t,n=0;n=f)){(t.data!==o||t.next)&&(0===i&&(i=nv(),p+=i*i),0===c&&(c=nv(),p+=c*c),p1?r[0]+r.slice(2):r,+t.slice(e+1)]},Ev=function(t){return t=Av(Math.abs(t)),t?t[1]:NaN},Cv=function(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}},Sv=function(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;i0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},Tv=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(gv=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")+Av(t,Math.max(0,n+o-1))[0]},Ov=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"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")},Nv={"":Sv,"%":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 Ov(100*t,n)},r:Ov,s:Tv,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},jv=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,Pv=function(t){return new fr(t)};fr.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 $v,Rv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Lv=function(t){function n(t){function n(t){var n,i,c,_=d,m=v;if("c"===p)m=g(t)+m,t="";else{t=+t;var b=(t<0||1/t<0)&&(t*=-1,!0);if(t=g(t,h),b)for(n=-1,i=t.length,b=!1;++nc||c>57){m=(46===c?o+t.slice(n+1):t.slice(n))+m,t=t.slice(0,n);break}}l&&!s&&(t=r(t,1/0));var x=_.length+t.length+m.length,w=x>1)+_+t+m+w.slice(x)}return w+_+t+m}t=Pv(t);var e=t.fill,a=t.align,u=t.sign,c=t.symbol,s=t.zero,f=t.width,l=t.comma,h=t.precision,p=t.type,d="$"===c?i[0]:"#"===c&&/[boxX]/.test(p)?"0"+p.toLowerCase():"",v="$"===c?i[1]:/[%p]/.test(p)?"%":"",g=Nv[p],y=!p||/[defgprs%]/.test(p);return h=null==h?p?6:12:/[gprs]/.test(p)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),n.toString=function(){return t+""},n}function e(t,e){var r=n((t=Pv(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Ev(e)/3))),o=Math.pow(10,-i),a=Rv[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?Cv(t.grouping,t.thousands):lr,i=t.currency,o=t.decimal;return{format:n,formatPrefix:e}};hr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Iv=function(t){return Math.max(0,-Ev(Math.abs(t)))},zv=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ev(n)/3)))-Ev(Math.abs(t)))},Uv=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Ev(n)-Ev(t))+1},Dv=function(){return new pr};pr.prototype={constructor:pr,reset:function(){this.s=this.t=0},add:function(t){dr(_g,t,this.t),dr(this,_g.s,this.s),this.s?this.t+=_g.t:this.s=_g.t},valueOf:function(){return this.s}};var qv,Fv,Bv,Hv,Wv,Yv,Vv,Xv,Gv,Jv,Kv,Zv,Qv,tg,ng,eg,rg,ig,og,ag,ug,cg,sg,fg,lg,hg,pg,dg,vg,gg,yg,_g=new pr,mg=1e-6,bg=1e-12,xg=Math.PI,wg=xg/2,Mg=xg/4,kg=2*xg,Ag=180/xg,Eg=xg/180,Cg=Math.abs,Sg=Math.atan,Tg=Math.atan2,Og=Math.cos,Ng=Math.ceil,jg=Math.exp,Pg=Math.log,$g=Math.pow,Rg=Math.sin,Lg=Math.sign||function(t){return t>0?1:t<0?-1:0},Ig=Math.sqrt,zg=Math.tan,Ug={Feature:function(t,n){mr(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++rmg?Gv=90:Yg<-mg&&(Vv=-90),ng[0]=Yv,ng[1]=Xv}},Xg=function(t){var n,e,r,i,o,a,u;if(Gv=Xv=-(Yv=Vv=1/0),tg=[],qg(t,Vg),e=tg.length){for(tg.sort(qr),n=1,r=tg[0],o=[r];nDr(r[0],r[1])&&(r[1]=i[1]),Dr(i[0],r[1])>Dr(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-(1/0),e=o.length-1,n=0,r=o[e];n<=e;r=i,++n)i=o[n],(u=Dr(r[1],i[0]))>a&&(a=u,Yv=i[0],Xv=r[1])}return tg=ng=null,Yv===1/0||Vv===1/0?[[NaN,NaN],[NaN,NaN]]:[[Yv,Vv],[Xv,Gv]]},Gg={sphere:_r,point:Br,lineStart:Wr,lineEnd:Xr,polygonStart:function(){Gg.lineStart=Gr,Gg.lineEnd=Jr},polygonEnd:function(){Gg.lineStart=Wr,Gg.lineEnd=Xr}},Jg=function(t){eg=rg=ig=og=ag=ug=cg=sg=fg=lg=hg=0,qg(t,Gg);var n=fg,e=lg,r=hg,i=n*n+e*e+r*r;return i2?t[2]*Eg:0),n.invert=function(n){return n=t.invert(n[0]*Eg,n[1]*Eg),n[0]*=Ag,n[1]*=Ag,n},n},ly=function(){function t(t,n){e.push(t=r(t,n)),t[0]*=Ag,t[1]*=Ag}function n(){var t=i.apply(this,arguments),n=o.apply(this,arguments)*Eg,c=a.apply(this,arguments)*Eg;return e=[],r=ti(-t[0]*Eg,-t[1]*Eg,0).invert,ii(u,n,c,1),t={type:"Polygon",coordinates:[e]},e=r=null,t}var e,r,i=Kg([0,0]),o=Kg(90),a=Kg(6),u={point:t};return n.center=function(t){return arguments.length?(i="function"==typeof t?t:Kg([+t[0],+t[1]]),n):i},n.radius=function(t){return arguments.length?(o="function"==typeof t?t:Kg(+t),n):o},n.precision=function(t){return arguments.length?(a="function"==typeof t?t:Kg(+t),n):a},n},hy=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:_r,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},py=function(t,n,e,r,i,o){var a,u=t[0],c=t[1],s=n[0],f=n[1],l=0,h=1,p=s-u,d=f-c;if(a=e-u,p||!(a>0)){if(a/=p,p<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a0)){if(a/=d,d<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=o-c,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a0&&(t[0]=u+l*p,t[1]=c+l*d),h<1&&(n[0]=u+h*p,n[1]=c+h*d),!0}}}}},dy=function(t,n){return Cg(t[0]-n[0])=0;--o)i.point((f=s[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,s=h.z,p=!p}while(!h.v);i.lineEnd()}}},gy=1e9,yy=-gy,_y=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=ci(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}},my=Dv(),by={sphere:_r,point:_r,lineStart:si,lineEnd:_r,polygonStart:_r,polygonEnd:_r},xy=function(t){return my.reset(),qg(t,by),+my},wy=[null,null],My={type:"LineString",coordinates:wy},ky=function(t,n){return wy[0]=t,wy[1]=n,xy(My)},Ay=function(t,n){var e=t[0]*Eg,r=t[1]*Eg,i=n[0]*Eg,o=n[1]*Eg,a=Og(r),u=Rg(r),c=Og(o),s=Rg(o),f=a*Og(e),l=a*Rg(e),h=c*Og(i),p=c*Rg(i),d=2*gr(Ig(yr(o-r)+a*c*yr(i-e))),v=Rg(d),g=d?function(t){var n=Rg(t*=d)/v,e=Rg(d-t)/v,r=e*f+n*h,i=e*l+n*p,o=e*u+n*s;return[Tg(i,r)*Ag,Tg(o,Ig(r*r+i*i))*Ag]}:function(){return[e*Ag,r*Ag]};return g.distance=d,g},Ey=function(t){return t},Cy=Dv(),Sy=Dv(),Ty={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Ty.lineStart=yi,Ty.lineEnd=bi},polygonEnd:function(){Ty.lineStart=Ty.lineEnd=Ty.point=_r,Cy.add(Cg(Sy)),Sy.reset()},result:function(){var t=Cy/2;return Cy.reset(),t}},Oy=1/0,Ny=Oy,jy=-Oy,Py=jy,$y={point:xi,lineStart:_r,lineEnd:_r,polygonStart:_r,polygonEnd:_r,result:function(){var t=[[Oy,Ny],[jy,Py]];return jy=Py=-(Ny=Oy=1/0),t}},Ry=0,Ly=0,Iy=0,zy=0,Uy=0,Dy=0,qy=0,Fy=0,By=0,Hy={point:wi,lineStart:Mi,lineEnd:Ei,polygonStart:function(){Hy.lineStart=Ci,Hy.lineEnd=Si},polygonEnd:function(){Hy.point=wi,Hy.lineStart=Mi,Hy.lineEnd=Ei},result:function(){var t=By?[qy/By,Fy/By]:Dy?[zy/Dy,Uy/Dy]:Iy?[Ry/Iy,Ly/Iy]:[NaN,NaN];return Ry=Ly=Iy=zy=Uy=Dy=qy=Fy=By=0,t}};Ni.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,kg)}},result:_r};var Wy,Yy,Vy,Xy,Gy,Jy=Dv(),Ky={point:_r,lineStart:function(){Ky.point=ji},lineEnd:function(){Wy&&Pi(Yy,Vy),Ky.point=_r},polygonStart:function(){Wy=!0},polygonEnd:function(){Wy=null},result:function(){var t=+Jy;return Jy.reset(),t}};$i.prototype={_circle:Ri(4.5),pointRadius:function(t){return this._circle=Ri(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}};var Zy=function(t,n){function e(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),qg(t,r(i))),i.result()}var r,i,o=4.5;return e.area=function(t){return qg(t,r(Ty)),Ty.result()},e.measure=function(t){return qg(t,r(Ky)),Ky.result()},e.bounds=function(t){return qg(t,r($y)),$y.result()},e.centroid=function(t){return qg(t,r(Hy)),Hy.result()},e.projection=function(n){return arguments.length?(r=null==n?(t=null,Ey):(t=n).stream,e):t},e.context=function(t){return arguments.length?(i=null==t?(n=null,new $i):new Ni(n=t),"function"!=typeof o&&i.pointRadius(o),e):n},e.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(i.pointRadius(+t),+t),e):o},e.projection(t).context(n)},Qy=Dv(),t_=function(t,n){var e=n[0],r=n[1],i=[Rg(e),-Og(e),0],o=0,a=0;Qy.reset();for(var u=0,c=t.length;u=0?1:-1,k=M*w,A=k>xg,E=d*b;if(Qy.add(Tg(E*M*Rg(k),v*x+E*Og(k))),o+=A?w+M*kg:w,A^h>=e^_>=e){var C=Tr(Cr(l),Cr(y));jr(C);var S=Tr(i,C);jr(S);var T=(A^w>=0?-1:1)*gr(S[2]);(r>T||r===T&&(C[0]||C[1]))&&(a+=A^w>=0?1:-1)}}return(o<-mg||o0){for(b||(o.polygonStart(),b=!0),o.lineStart(),t=0;t1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(Li))}var p,d,v,g=n(o),y=i.invert(r[0],r[1]),_=hy(),m=n(_),b=!1,x={point:a,lineStart:c,lineEnd:s,polygonStart:function(){x.point=f,x.lineStart=l,x.lineEnd=h,d=[],p=[]},polygonEnd:function(){x.point=a,x.lineStart=c,x.lineEnd=s,d=nf(d);var t=t_(p,y);d.length?(b||(o.polygonStart(),b=!0),vy(d,Ii,t,e,o)):t&&(b||(o.polygonStart(),b=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),b&&(o.polygonEnd(),b=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return x}},e_=n_(function(){return!0},zi,Di,[-xg,-wg]),r_=function(t,n){function e(e,r,i,o){ii(o,t,n,i,e,r)}function r(t,n){return Og(t)*Og(n)>u}function i(t){var n,e,i,u,f;return{lineStart:function(){u=i=!1,f=1},point:function(l,h){var p,d=[l,h],v=r(l,h),g=c?v?0:a(l,h):v?a(l+(l<0?xg:-xg),h):0;if(!n&&(u=i=v)&&t.lineStart(),v!==i&&(p=o(n,d),(dy(n,p)||dy(d,p))&&(d[0]+=mg,d[1]+=mg,v=r(d[0],d[1]))),v!==i)f=0,v?(t.lineStart(),p=o(d,n),t.point(p[0],p[1])):(p=o(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(s&&n&&c^v){var y;g&e||!(y=o(d,n,!0))||(f=0,c?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!v||n&&dy(n,d)||t.point(d[0],d[1]),n=d,i=v,e=g},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(u&&i)<<1}}}function o(t,n,e){var r=Cr(t),i=Cr(n),o=[1,0,0],a=Tr(r,i),c=Sr(a,a),s=a[0],f=c-s*s;if(!f)return!e&&t;var l=u*c/f,h=-u*s/f,p=Tr(o,a),d=Nr(o,l),v=Nr(a,h);Or(d,v);var g=p,y=Sr(d,g),_=Sr(g,g),m=y*y-_*(Sr(d,d)-1);if(!(m<0)){var b=Ig(m),x=Nr(g,(-y-b)/_);if(Or(x,d),x=Er(x),!e)return x;var w,M=t[0],k=n[0],A=t[1],E=n[1];k0^x[1]<(Cg(x[0]-M)xg^(M<=x[0]&&x[0]<=k)){var O=Nr(g,(-y+b)/_);return Or(O,d),[x,Er(O)]}}}function a(n,e){var r=c?t:xg-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}var u=Og(t),c=u>0,s=Cg(u)>mg;return n_(r,i,e,c?[0,-t]:[-xg,t-xg])},i_=function(t){return{stream:qi(t)}};Fi.prototype={constructor:Fi,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var o_=16,a_=Og(30*Eg),u_=function(t,n){return+n?Yi(t,n):Wi(t)},c_=qi({point:function(t,n){this.stream.point(t*Eg,n*Eg)}}),s_=function(){return Gi(Ki).scale(155.424).center([0,33.6442])},f_=function(){return s_().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},l_=function(){function t(t){var n=t[0],e=t[1];return u=null,i.point(n,e),u||(o.point(n,e),u)||(a.point(n,e),u)}function n(){return e=r=null,t}var e,r,i,o,a,u,c=f_(),s=s_().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=s_().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){u=[t,n]}};return t.invert=function(t){var n=c.scale(),e=c.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?f:c).invert(t)},t.stream=function(t){return e&&r===t?e:e=Zi([c.stream(r=t),s.stream(t),f.stream(t)])},t.precision=function(t){return arguments.length?(c.precision(t),s.precision(t),f.precision(t),n()):c.precision()},t.scale=function(n){return arguments.length?(c.scale(n),s.scale(.35*n),f.scale(n),t.translate(c.translate())):c.scale()},t.translate=function(t){if(!arguments.length)return c.translate();var e=c.scale(),r=+t[0],u=+t[1];return i=c.translate(t).clipExtent([[r-.455*e,u-.238*e],[r+.455*e,u+.238*e]]).stream(l),o=s.translate([r-.307*e,u+.201*e]).clipExtent([[r-.425*e+mg,u+.12*e+mg],[r-.214*e-mg,u+.234*e-mg]]).stream(l),a=f.translate([r-.205*e,u+.212*e]).clipExtent([[r-.214*e+mg,u+.166*e+mg],[r-.115*e-mg,u+.234*e-mg]]).stream(l),n()},t.fitExtent=function(n,e){return Bi(t,n,e)},t.fitSize=function(n,e){return Hi(t,n,e)},t.scale(1070)},h_=Qi(function(t){return Ig(2/(1+t))});h_.invert=to(function(t){return 2*gr(t/2)});var p_=function(){return Vi(h_).scale(124.75).clipAngle(179.999)},d_=Qi(function(t){return(t=vr(t))&&t/Rg(t)});d_.invert=to(function(t){return t});var v_=function(){return Vi(d_).scale(79.4188).clipAngle(179.999)};no.invert=function(t,n){return[t,2*Sg(jg(n))-wg]};var g_=function(){return eo(no).scale(961/kg)},y_=function(){return Gi(io).scale(109.5).parallels([30,30])};oo.invert=oo;var __=function(){return Vi(oo).scale(152.63)},m_=function(){return Gi(ao).scale(131.154).center([0,13.9389])};uo.invert=to(Sg);var b_=function(){return Vi(uo).scale(144.049).clipAngle(60)},x_=function(){function t(){return i=o=null,a}var n,e,r,i,o,a,u=1,c=0,s=0,f=1,l=1,h=Ey,p=null,d=Ey;return a={stream:function(t){return i&&o===t?i:i=h(d(o=t))},clipExtent:function(i){return arguments.length?(d=null==i?(p=n=e=r=null,Ey):ci(p=+i[0][0],n=+i[0][1],e=+i[1][0],r=+i[1][1]),t()):null==p?null:[[p,n],[e,r]]},scale:function(n){return arguments.length?(h=co((u=+n)*f,u*l,c,s),t()):u},translate:function(n){return arguments.length?(h=co(u*f,u*l,c=+n[0],s=+n[1]),t()):[c,s]},reflectX:function(n){return arguments.length?(h=co(u*(f=n?-1:1),u*l,c,s),t()):f<0},reflectY:function(n){return arguments.length?(h=co(u*f,u*(l=n?-1:1),c,s),t()):l<0},fitExtent:function(t,n){return Bi(a,t,n)},fitSize:function(t,n){return Hi(a,t,n)}}};so.invert=to(gr);var w_=function(){return Vi(so).scale(249.5).clipAngle(90+mg)};fo.invert=to(function(t){return 2*Sg(t)});var M_=function(){return Vi(fo).scale(250).clipAngle(142)};lo.invert=function(t,n){return[-n,2*Sg(jg(t))-wg]};var k_=function(){var t=eo(lo),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):(t=n(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)},A_=function(){function t(t){var o,a=0;t.eachAfter(function(t){var e=t.children;e?(t.x=po(e),t.y=go(e)):(t.x=o?a+=n(t,o):0,t.y=0,o=t)});var u=_o(t),c=mo(t),s=u.x-n(u,c)/2,f=c.x+n(c,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-s)/(f-s)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=ho,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},E_=function(){return this.eachAfter(bo)},C_=function(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;r=0;--e)i.push(n[e]);return this},T_=function(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;e=0;)e+=r[i].value;n.value=e})},N_=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},j_=function(t){for(var n=this,e=xo(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},P_=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},$_=function(){var t=[];return this.each(function(n){t.push(n)}),t},R_=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},L_=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};Co.prototype=wo.prototype={constructor:Co,count:E_,each:C_,eachAfter:T_,eachBefore:S_,sum:O_,sort:N_,path:j_,ancestors:P_,descendants:$_,leaves:R_,links:L_,copy:Mo};var I_=function(t){for(var n,e=(t=t.slice()).length,r=null,i=r;e;){var o=new So(t[e-1]);i=i?i.next=o:r=o,t[n]=t[--e]}return{head:r,tail:i}},z_=function(t){return Oo(I_(t),[])},U_=function(t){return Uo(t),t},D_=function(t){return function(){return t}},q_=function(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Ho(n)).eachAfter(Wo(i,.5)).eachBefore(Yo(1)):t.eachBefore(Ho(Bo)).eachAfter(Wo(Fo,1)).eachAfter(Wo(i,t.r/Math.min(e,r))).eachBefore(Yo(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Fo;return t.radius=function(e){return arguments.length?(n=Do(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:D_(+n),t):i},t},F_=function(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)},B_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(r-n)/t.value;++u0)throw new Error("cycle");return o}var n=Vo,e=Xo;return t.id=function(e){return arguments.length?(n=qo(e),t):n},t.parentId=function(n){return arguments.length?(e=qo(n),t):e},t};na.prototype=Object.create(Co.prototype);var G_=function(){function t(t){var r=ea(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),c)t.eachBefore(i);else{var s=t,f=t,l=t;t.eachBefore(function(t){t.xf.x&&(f=t),t.depth>l.depth&&(l=t)});var h=s===f?1:o(s,f)/2,p=h-s.x,d=a/(f.x+h+p),v=u/(l.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*v})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){Qo(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,c=i.parent.children[0],s=i.m,f=a.m,l=u.m,h=c.m;u=Ko(u),i=Jo(i),u&&i;)c=Jo(c),a=Ko(a),a.a=t,r=u.z+l-i.z-s+o(u._,i._),r>0&&(Zo(ta(u,t,e),t,r),s+=r,f+=r),l+=u.m,s+=i.m,h+=c.m,f+=a.m;u&&!Ko(a)&&(a.t=u,a.m+=l-f),i&&!Jo(c)&&(c.t=i,c.m+=s-h,e=t)}return e}function i(t){t.x*=a,t.y=t.depth*u}var o=Go,a=1,u=1,c=null;return t.separation=function(n){return arguments.length?(o=n,t):o},t.size=function(n){return arguments.length?(c=!1,a=+n[0],u=+n[1],t):c?null:[a,u]},t.nodeSize=function(n){return arguments.length?(c=!0,a=+n[0],u=+n[1],t):c?[a,u]:null},t},J_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(i-e)/t.value;++u1?n:1)},e}(K_),Q_=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),a=[0],r&&t.eachBefore(F_),t}function n(t){var n=a[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,h=t.y1-n;o=n-1){var s=c[t];return s.x0=r,s.y0=i,s.x1=a,s.y1=u,void 0}for(var l=f[t],h=e/2+l,p=t+1,d=n-1;p>>1;f[v]a-r){var _=(i*y+u*g)/e;o(t,p,g,r,i,a,_),o(p,n,y,r,_,a,u)}else{var m=(r*y+a*g)/e;o(t,p,g,r,i,m,u),o(p,n,y,m,i,a,u)}}var a,u,c=t.children,s=c.length,f=new Array(s+1);for(f[0]=u=a=0;a1?n:1)},e}(K_),rm=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e=0;--n)s.push(t[r[o[n]][2]]);for(n=+u;nu!=s>u&&a<(c-e)*(u-r)/(s-r)+e&&(f=!f),c=e,s=r;return f},cm=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],c=0;++r1);return t+n*i*Math.sqrt(-2*Math.log(r)/r)}},pm=function(){var t=hm.apply(this,arguments);return function(){return Math.exp(t())}},dm=function(t){return function(){for(var n=0,e=0;e=200&&e<300||304===e){if(o)try{n=o.call(r,s)}catch(t){return void u.call("error",r,t)}else n=s;u.call("load",r,n)}else u.call("error",r,t)}var r,i,o,a,u=p("beforesend","progress","load","error"),c=De(),s=new XMLHttpRequest,f=null,l=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=e:s.onreadystatechange=function(t){s.readyState>3&&e(t)},s.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?c.get(t):(null==n?c.remove(t):c.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?(h=+t,r):h},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?l:(l=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 s.open(n,t,!0,f,l),null==i||c.has("accept")||c.set("accept",i+",*/*"),s.setRequestHeader&&c.each(function(t,n){s.setRequestHeader(n,t)}),null!=i&&s.overrideMimeType&&s.overrideMimeType(i),null!=a&&(s.responseType=a),h>0&&(s.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=pa(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,s),s.send(null==e?null:e),r},abort:function(){return s.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r},_m=function(t,n){return function(e,r){var i=ym(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},mm=_m("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),bm=_m("application/json",function(t){return JSON.parse(t.responseText)}),xm=_m("text/plain",function(t){return t.responseText}),wm=_m("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),Mm=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=ym(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(va(n,r=t)):r},o.row(r),i?o.get(i):o}},km=Mm("text/csv",Hd),Am=Mm("text/tab-separated-values",Gd),Em=Array.prototype,Cm=Em.map,Sm=Em.slice,Tm={name:"implicit"},Om=function(t){return function(){return t}},Nm=function(t){return+t},jm=[0,1],Pm=function(n,r,i){var o,a=n[0],u=n[n.length-1],c=e(a,u,null==r?10:r);switch(i=Pv(null==i?",f":i),i.type){case"s":var s=Math.max(Math.abs(a),Math.abs(u));return null!=i.precision||isNaN(o=zv(c,s))||(i.precision=o),t.formatPrefix(i,s);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Uv(c,Math.max(Math.abs(a),Math.abs(u))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Iv(c))||(i.precision=o-2*("%"===i.type))}return t.format(i)},$m=function(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return a0?t>1?Ba(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Im:null};var zm=Im.range,Um=1e3,Dm=6e4,qm=36e5,Fm=864e5,Bm=6048e5,Hm=Ba(function(t){t.setTime(Math.floor(t/Um)*Um)},function(t,n){t.setTime(+t+n*Um)},function(t,n){return(n-t)/Um},function(t){return t.getUTCSeconds()}),Wm=Hm.range,Ym=Ba(function(t){t.setTime(Math.floor(t/Dm)*Dm)},function(t,n){t.setTime(+t+n*Dm)},function(t,n){return(n-t)/Dm},function(t){return t.getMinutes()}),Vm=Ym.range,Xm=Ba(function(t){var n=t.getTimezoneOffset()*Dm%qm;n<0&&(n+=qm),t.setTime(Math.floor((+t-n)/qm)*qm+n)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getHours()}),Gm=Xm.range,Jm=Ba(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())*Dm)/Fm},function(t){return t.getDate()-1}),Km=Jm.range,Zm=Ha(0),Qm=Ha(1),tb=Ha(2),nb=Ha(3),eb=Ha(4),rb=Ha(5),ib=Ha(6),ob=Zm.range,ab=Qm.range,ub=tb.range,cb=nb.range,sb=eb.range,fb=rb.range,lb=ib.range,hb=Ba(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),pb=hb.range,db=Ba(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});db.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var vb=db.range,gb=Ba(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*Dm)},function(t,n){return(n-t)/Dm},function(t){return t.getUTCMinutes()}),yb=gb.range,_b=Ba(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getUTCHours()}),mb=_b.range,bb=Ba(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/Fm},function(t){return t.getUTCDate()-1}),xb=bb.range,wb=Wa(0),Mb=Wa(1),kb=Wa(2),Ab=Wa(3),Eb=Wa(4),Cb=Wa(5),Sb=Wa(6),Tb=wb.range,Ob=Mb.range,Nb=kb.range,jb=Ab.range,Pb=Eb.range,$b=Cb.range,Rb=Sb.range,Lb=Ba(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Ib=Lb.range,zb=Ba(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});zb.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var Ub,Db=zb.range,qb={"-":"",_:" ",0:"0"},Fb=/^\s*\d+/,Bb=/^%/,Hb=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;Bu({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Wb="%Y-%m-%dT%H:%M:%S.%LZ",Yb=Date.prototype.toISOString?Hu:t.utcFormat(Wb),Vb=+new Date("2000-01-01T00:00:00.000Z")?Wu:t.utcParse(Wb),Xb=1e3,Gb=60*Xb,Jb=60*Gb,Kb=24*Jb,Zb=7*Kb,Qb=30*Kb,tx=365*Kb,nx=function(){return Xu(db,hb,Zm,Jm,Xm,Ym,Hm,Im,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},ex=function(){return Xu(zb,Lb,wb,bb,_b,gb,Hm,Im,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},rx=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},ix=rx("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),ox=rx("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),ax=rx("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),ux=rx("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),cx=zh(Wt(300,.5,0),Wt(-240,.5,1)),sx=zh(Wt(-100,.75,.35),Wt(80,1.5,.8)),fx=zh(Wt(260,.75,.35),Wt(80,1.5,.8)),lx=Wt(),hx=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return lx.h=360*t-100,lx.s=1.5-1.5*n,lx.l=.8-.9*n,lx+""},px=Gu(rx("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),dx=Gu(rx("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),vx=Gu(rx("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),gx=Gu(rx("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),yx=function(t){return function(){return t}},_x=1e-12,mx=Math.PI,bx=mx/2,xx=2*mx,wx=function(){function t(){var t,s,f=+n.apply(this,arguments),l=+e.apply(this,arguments),h=o.apply(this,arguments)-bx,p=a.apply(this,arguments)-bx,d=Math.abs(p-h),v=p>h;if(c||(c=t=Pe()),l_x)if(d>xx-_x)c.moveTo(l*Math.cos(h),l*Math.sin(h)),c.arc(0,0,l,h,p,!v),f>_x&&(c.moveTo(f*Math.cos(p),f*Math.sin(p)),c.arc(0,0,f,p,h,v));else{var g,y,_=h,m=p,b=h,x=p,w=d,M=d,k=u.apply(this,arguments)/2,A=k>_x&&(i?+i.apply(this,arguments):Math.sqrt(f*f+l*l)),E=Math.min(Math.abs(l-f)/2,+r.apply(this,arguments)),C=E,S=E;if(A>_x){var T=ec(A/f*Math.sin(k)),O=ec(A/l*Math.sin(k));(w-=2*T)>_x?(T*=v?1:-1,b+=T,x-=T):(w=0,b=x=(h+p)/2),(M-=2*O)>_x?(O*=v?1:-1,_+=O,m-=O):(M=0,_=m=(h+p)/2)}var N=l*Math.cos(_),j=l*Math.sin(_),P=f*Math.cos(x),$=f*Math.sin(x);if(E>_x){var R=l*Math.cos(m),L=l*Math.sin(m),I=f*Math.cos(b),z=f*Math.sin(b);if(d_x?rc(N,j,I,z,R,L,P,$):[P,$],D=N-U[0],q=j-U[1],F=R-U[0],B=L-U[1],H=1/Math.sin(Math.acos((D*F+q*B)/(Math.sqrt(D*D+q*q)*Math.sqrt(F*F+B*B)))/2),W=Math.sqrt(U[0]*U[0]+U[1]*U[1]);C=Math.min(E,(f-W)/(H-1)),S=Math.min(E,(l-W)/(H+1))}}M>_x?S>_x?(g=ic(I,z,N,j,l,S,v),y=ic(R,L,P,$,l,S,v),c.moveTo(g.cx+g.x01,g.cy+g.y01),S_x&&w>_x?C>_x?(g=ic(P,$,R,L,f,-C,v),y=ic(N,j,I,z,f,-C,v),c.lineTo(g.cx+g.x01,g.cy+g.y01),C=f;--l)s.point(g[l],y[l]);s.lineEnd(),s.areaEnd()}v&&(g[n]=+e(h,n,t),y[n]=+i(h,n,t),s.point(r?+r(h,n,t):g[n],o?+o(h,n,t):y[n]))}if(p)return s=null,p+""||null}function n(){return kx().defined(a).curve(c).context(u)}var e=ac,r=null,i=yx(0),o=uc,a=yx(!0),u=null,c=Mx,s=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),r=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),t):e},t.x1=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:yx(+n),t):r},t.y=function(n){return arguments.length?(i="function"==typeof n?n:yx(+n),o=null,t):i},t.y0=function(n){return arguments.length?(i="function"==typeof n?n:yx(+n),t):i},t.y1=function(n){return arguments.length?(o=null==n?null:"function"==typeof n?n:yx(+n),t):o},t.lineX0=t.lineY0=function(){return n().x(e).y(i)},t.lineY1=function(){return n().x(e).y(o)},t.lineX1=function(){return n().x(r).y(i)},t.defined=function(n){return arguments.length?(a="function"==typeof n?n:yx(!!n),t):a},t.curve=function(n){return arguments.length?(c=n,null!=u&&(s=c(u)),t):c},t.context=function(n){return arguments.length?(null==n?u=s=null:s=c(u=n),t):u},t},Ex=function(t,n){return nt?1:n>=t?0:NaN},Cx=function(t){return t},Sx=function(){function t(t){var u,c,s,f,l,h=t.length,p=0,d=new Array(h),v=new Array(h),g=+i.apply(this,arguments),y=Math.min(xx,Math.max(-xx,o.apply(this,arguments)-g)),_=Math.min(Math.abs(y)/h,a.apply(this,arguments)),m=_*(y<0?-1:1);for(u=0;u0&&(p+=l);for(null!=e?d.sort(function(t,n){return e(v[t],v[n])}):null!=r&&d.sort(function(n,e){return r(t[n],t[e])}),u=0,s=p?(y-h*m)/p:0;u0?l*s:0)+m,v[c]={data:t[c],index:u,value:l,startAngle:g,endAngle:f,padAngle:_};return v}var n=Cx,e=Ex,r=null,i=yx(0),o=yx(xx),a=yx(0);return t.value=function(e){return arguments.length?(n="function"==typeof e?e:yx(+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:yx(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:yx(+n),t):o},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:yx(+n),t):a},t},Tx=sc(Mx);cc.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 Ox=function(){return fc(kx().curve(Tx))},Nx=function(){var t=Ax().curve(Tx),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;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.lineStartAngle=function(){return fc(e())},delete t.lineX0,t.lineEndAngle=function(){return fc(r())},delete t.lineX1,t.lineInnerRadius=function(){return fc(i())},delete t.lineY0,t.lineOuterRadius=function(){return fc(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(sc(t)):n()._curve},t},jx={draw:function(t,n){var e=Math.sqrt(n/mx);t.moveTo(e,0),t.arc(0,0,e,0,xx)}},Px={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()}},$x=Math.sqrt(1/3),Rx=2*$x,Lx={draw:function(t,n){var e=Math.sqrt(n/Rx),r=e*$x;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Ix=.8908130915292852,zx=Math.sin(mx/10)/Math.sin(7*mx/10),Ux=Math.sin(xx/10)*zx,Dx=-Math.cos(xx/10)*zx,qx={draw:function(t,n){var e=Math.sqrt(n*Ix),r=Ux*e,i=Dx*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var a=xx*o/5,u=Math.cos(a),c=Math.sin(a);t.lineTo(c*e,-u*e),t.lineTo(u*r-c*i,c*r+u*i)}t.closePath()}},Fx={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},Bx=Math.sqrt(3),Hx={draw:function(t,n){var e=-Math.sqrt(n/(3*Bx));t.moveTo(0,2*e),t.lineTo(-Bx*e,-e),t.lineTo(Bx*e,-e),t.closePath()}},Wx=-.5,Yx=Math.sqrt(3)/2,Vx=1/Math.sqrt(12),Xx=3*(Vx/2+1),Gx={draw:function(t,n){var e=Math.sqrt(n/Xx),r=e/2,i=e*Vx,o=r,a=e*Vx+e,u=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(Wx*r-Yx*i,Yx*r+Wx*i),t.lineTo(Wx*o-Yx*a,Yx*o+Wx*a),t.lineTo(Wx*u-Yx*c,Yx*u+Wx*c),t.lineTo(Wx*r+Yx*i,Wx*i-Yx*r),t.lineTo(Wx*o+Yx*a,Wx*a-Yx*o),t.lineTo(Wx*u+Yx*c,Wx*c-Yx*u),t.closePath()}},Jx=[jx,Px,Lx,Fx,qx,Hx,Gx],Kx=function(){function t(){var t;if(r||(r=t=Pe()),n.apply(this,arguments).draw(r,+e.apply(this,arguments)),t)return r=null,t+""||null}var n=yx(jx),e=yx(64),r=null;return t.type=function(e){return arguments.length?(n="function"==typeof e?e:yx(e),t):n},t.size=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),t):e},t.context=function(n){return arguments.length?(r=null==n?null:n,t):r},t},Zx=function(){};hc.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:lc(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:lc(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Qx=function(t){return new hc(t)};pc.prototype={areaStart:Zx,areaEnd:Zx,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:lc(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var tw=function(t){return new pc(t)};dc.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:lc(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var nw=function(t){return new dc(t)};vc.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,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(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 ew=function t(n){function e(t){return 1===n?new hc(t):new vc(t,n)}return e.beta=function(n){return t(+n)},e}(.85);yc.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:gc(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:gc(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 rw=function t(n){function e(t){return new yc(t,n)}return e.tension=function(n){return t(+n)},e}(0);_c.prototype={areaStart:Zx,areaEnd:Zx,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:gc(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 iw=function t(n){function e(t){return new _c(t,n)}return e.tension=function(n){return t(+n)},e}(0);mc.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:gc(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 ow=function t(n){function e(t){return new mc(t,n)}return e.tension=function(n){return t(+n)},e}(0);xc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,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:bc(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 aw=function t(n){function e(t){return n?new xc(t,n):new yc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);wc.prototype={areaStart:Zx,areaEnd:Zx,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:bc(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 uw=function t(n){function e(t){return n?new wc(t,n):new _c(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Mc.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:bc(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 cw=function t(n){function e(t){return n?new Mc(t,n):new mc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);kc.prototype={areaStart:Zx,areaEnd:Zx,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))}};var sw=function(t){return new kc(t)};Tc.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:Sc(this,this._t0,Cc(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,Sc(this,Cc(this,e=Ec(this,t,n)),e);break;default:Sc(this,this._t0,e=Ec(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Oc.prototype=Object.create(Tc.prototype)).point=function(t,n){Tc.prototype.point.call(this,n,t)},Nc.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)}},$c.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=Rc(t),i=Rc(n),o=0,a=1;a=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 lw=function(t){return new Lc(t,.5)},hw=Array.prototype.slice,pw=function(t,n){if((r=t.length)>1)for(var e,r,i=1,o=t[n[0]],a=o.length;i=0;)e[n]=n;return e},vw=function(){function t(t){var o,a,u=n.apply(this,arguments),c=t.length,s=u.length,f=new Array(s);for(o=0;o0){for(var e,r,i,o=0,a=t[0].length;o0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a=u)return null;var c=t-i.site[0],s=n-i.site[1],f=c*c+s*s;do i=o.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=t-u[0],s=n-u[1],l=c*c+s*s;le?(e+r)/2:Math.min(0,e)||Math.max(0,r),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function a(t,n,e){t.on("start.zoom",function(){u(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){u(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=u(t,r),a=m.apply(t,r),c=e||o(a),s=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,r):n,h=S(f.invert(c).concat(s/f.k),l.invert(c).concat(s/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=s/n[2];t=new bs(e,c[0]-n[0]*e,c[1]-n[1]*e)}i.zoom(null,t)}})}function u(t,n){for(var e,r=0,i=T.length;r0?vl(this).transition().duration(E).call(a,f,u):vl(this).call(n.transform,f)}}function h(){if(_.apply(this,arguments)){var n,e,r,i,o=u(this,arguments),a=t.event.changedTouches,c=a.length;for(ws(),e=0;e-1}function d(t,n,e){for(var r=-1,i=null==t?0:t.length;++r-1;);return e}function U(t,n){for(var e=t.length;e--&&k(n,t[e],0)>-1;);return e}function D(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}function q(t){return"\\"+er[t]}function F(t,n){return null==t?it:t[n]}function B(t){return Ve.test(t)}function H(t){return Xe.test(t)}function W(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}function Y(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function V(t,n){return function(e){return t(n(e))}}function X(t,n){for(var e=-1,r=t.length,i=0,o=[];++e>>1,qt=[["ary",kt],["bind",yt],["bindKey",_t],["curry",bt],["curryRight",xt],["flip",Et],["partial",wt],["partialRight",Mt],["rearg",At]],Ft="[object Arguments]",Bt="[object Array]",Ht="[object AsyncFunction]",Wt="[object Boolean]",Yt="[object Date]",Vt="[object DOMException]",Xt="[object Error]",Gt="[object Function]",Jt="[object GeneratorFunction]",Kt="[object Map]",Zt="[object Number]",Qt="[object Null]",tn="[object Object]",nn="[object Promise]",en="[object Proxy]",rn="[object RegExp]",on="[object Set]",an="[object String]",un="[object Symbol]",cn="[object Undefined]",sn="[object WeakMap]",fn="[object WeakSet]",ln="[object ArrayBuffer]",hn="[object DataView]",pn="[object Float32Array]",dn="[object Float64Array]",vn="[object Int8Array]",gn="[object Int16Array]",yn="[object Int32Array]",_n="[object Uint8Array]",mn="[object Uint8ClampedArray]",bn="[object Uint16Array]",xn="[object Uint32Array]",wn=/\b__p \+= '';/g,Mn=/\b(__p \+=) '' \+/g,kn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,An=/&(?:amp|lt|gt|quot|#39);/g,En=/[&<>"']/g,Cn=RegExp(An.source),Sn=RegExp(En.source),Tn=/<%-([\s\S]+?)%>/g,On=/<%([\s\S]+?)%>/g,Nn=/<%=([\s\S]+?)%>/g,jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pn=/^\w*$/,$n=/^\./,Rn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ln=/[\\^$.*+?()[\]{}|]/g,In=RegExp(Ln.source),zn=/^\s+|\s+$/g,Un=/^\s+/,Dn=/\s+$/,qn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fn=/\{\n\/\* \[wrapped with (.+)\] \*/,Bn=/,? & /,Hn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wn=/\\(\\)?/g,Yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vn=/\w*$/,Xn=/^[-+]0x[0-9a-f]+$/i,Gn=/^0b[01]+$/i,Jn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Zn=/^(?:0|[1-9]\d*)$/,Qn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ne=/['\n\r\u2028\u2029\\]/g,ee="\\ud800-\\udfff",re="\\u0300-\\u036f",ie="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",ae=re+ie+oe,ue="\\u2700-\\u27bf",ce="a-z\\xdf-\\xf6\\xf8-\\xff",se="\\xac\\xb1\\xd7\\xf7",fe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",le="\\u2000-\\u206f",he=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="A-Z\\xc0-\\xd6\\xd8-\\xde",de="\\ufe0e\\ufe0f",ve=se+fe+le+he,ge="['’]",ye="["+ee+"]",_e="["+ve+"]",me="["+ae+"]",be="\\d+",xe="["+ue+"]",we="["+ce+"]",Me="[^"+ee+ve+be+ue+ce+pe+"]",ke="\\ud83c[\\udffb-\\udfff]",Ae="(?:"+me+"|"+ke+")",Ee="[^"+ee+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Te="["+pe+"]",Oe="\\u200d",Ne="(?:"+we+"|"+Me+")",je="(?:"+Te+"|"+Me+")",Pe="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",$e="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",Re=Ae+"?",Le="["+de+"]?",Ie="(?:"+Oe+"(?:"+[Ee,Ce,Se].join("|")+")"+Le+Re+")*",ze="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Ue="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",De=Le+Re+Ie,qe="(?:"+[xe,Ce,Se].join("|")+")"+De,Fe="(?:"+[Ee+me+"?",me,Ce,Se,ye].join("|")+")",Be=RegExp(ge,"g"),He=RegExp(me,"g"),We=RegExp(ke+"(?="+ke+")|"+Fe+De,"g"),Ye=RegExp([Te+"?"+we+"+"+Pe+"(?="+[_e,Te,"$"].join("|")+")",je+"+"+$e+"(?="+[_e,Te+Ne,"$"].join("|")+")",Te+"?"+Ne+"+"+Pe,Te+"+"+$e,Ue,ze,be,qe].join("|"),"g"),Ve=RegExp("["+Oe+ee+ae+de+"]"),Xe=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ge=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Je=-1,Ke={};Ke[pn]=Ke[dn]=Ke[vn]=Ke[gn]=Ke[yn]=Ke[_n]=Ke[mn]=Ke[bn]=Ke[xn]=!0,Ke[Ft]=Ke[Bt]=Ke[ln]=Ke[Wt]=Ke[hn]=Ke[Yt]=Ke[Xt]=Ke[Gt]=Ke[Kt]=Ke[Zt]=Ke[tn]=Ke[rn]=Ke[on]=Ke[an]=Ke[sn]=!1;var Ze={};Ze[Ft]=Ze[Bt]=Ze[ln]=Ze[hn]=Ze[Wt]=Ze[Yt]=Ze[pn]=Ze[dn]=Ze[vn]=Ze[gn]=Ze[yn]=Ze[Kt]=Ze[Zt]=Ze[tn]=Ze[rn]=Ze[on]=Ze[an]=Ze[un]=Ze[_n]=Ze[mn]=Ze[bn]=Ze[xn]=!0,Ze[Xt]=Ze[Gt]=Ze[sn]=!1;var Qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l", "ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tr={"&":"&","<":"<",">":">",'"':""","'":"'"},nr={"&":"&","<":"<",">":">",""":'"',"'":"'"},er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,ir=parseInt,or="object"==typeof t&&t&&t.Object===Object&&t,ar="object"==typeof self&&self&&self.Object===Object&&self,ur=or||ar||Function("return this")(),cr="object"==typeof n&&n&&!n.nodeType&&n,sr=cr&&"object"==typeof r&&r&&!r.nodeType&&r,fr=sr&&sr.exports===cr,lr=fr&&or.process,hr=function(){try{return lr&&lr.binding&&lr.binding("util")}catch(t){}}(),pr=hr&&hr.isArrayBuffer,dr=hr&&hr.isDate,vr=hr&&hr.isMap,gr=hr&&hr.isRegExp,yr=hr&&hr.isSet,_r=hr&&hr.isTypedArray,mr=S("length"),br=T(Qe),xr=T(tr),wr=T(nr),Mr=function t(n){function e(t){if(sc(t)&&!xh(t)&&!(t instanceof b)){if(t instanceof i)return t;if(xf.call(t,"__wrapped__"))return aa(t)}return new i(t)}function r(){}function i(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=it}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=zt,this.__views__=[]}function T(){var t=new b(this.__wrapped__);return t.__actions__=Di(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Di(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Di(this.__views__),t}function K(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function nt(){var t=this.__wrapped__.value(),n=this.__dir__,e=xh(t),r=n<0,i=e?t.length:0,o=Oo(0,i,this.__views__),a=o.start,u=o.end,c=u-a,s=r?u:a-1,f=this.__iteratees__,l=f.length,h=0,p=Kf(c,this.__takeCount__);if(!e||!r&&i==c&&p==c)return xi(t,this.__actions__);var d=[];t:for(;c--&&h-1}function le(t,n){var e=this.__data__,r=Pe(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}function he(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function De(t,n,e,r,i,o){var a,u=n&ht,c=n&pt,f=n&dt;if(e&&(a=i?e(t,r,i,o):e(t)),a!==it)return a;if(!cc(t))return t;var l=xh(t);if(l){if(a=Po(t),!u)return Di(t,a)}else{var h=Nl(t),p=h==Gt||h==Jt;if(Mh(t))return Si(t,u);if(h==tn||h==Ft||p&&!i){if(a=c||p?{}:$o(t),!u)return c?Bi(t,Le(a,t)):Fi(t,Re(a,t))}else{if(!Ze[h])return i?t:{};a=Ro(t,h,De,u)}}o||(o=new xe);var d=o.get(t);if(d)return d;o.set(t,a);var v=f?c?wo:xo:c?Wc:Hc,g=l?it:v(t);return s(g||t,function(r,i){g&&(i=r,r=t[i]),je(a,i,De(r,n,e,i,t,o))}),a}function qe(t){var n=Hc(t);return function(e){return Fe(e,t,n)}}function Fe(t,n,e){var r=e.length;if(null==t)return!r;for(t=hf(t);r--;){var i=e[r],o=n[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function We(t,n,e){if("function"!=typeof t)throw new vf(ct);return $l(function(){t.apply(it,e)},n)}function Ye(t,n,e,r){var i=-1,o=p,a=!0,u=t.length,c=[],s=n.length;if(!u)return c;e&&(n=v(n,R(e))),r?(o=d,a=!1):n.length>=at&&(o=I,a=!1,n=new _e(n));t:for(;++ii?0:i+e),r=r===it||r>i?i:Ec(r),r<0&&(r+=i),r=e>r?0:Cc(r);e0&&e(u)?n>1?nr(u,n-1,e,r,i):g(i,u):r||(i[i.length]=u)}return i}function er(t,n){return t&&xl(t,n,Hc)}function or(t,n){return t&&wl(t,n,Hc)}function ar(t,n){return h(n,function(n){return oc(t[n])})}function cr(t,n){n=Ei(n,t);for(var e=0,r=n.length;null!=t&&en}function mr(t,n){return null!=t&&xf.call(t,n)}function Mr(t,n){return null!=t&&n in hf(t)}function Ar(t,n,e){return t>=Kf(n,e)&&t=120&&f.length>=120)?new _e(a&&f):it}f=t[0];var l=-1,h=u[0];t:for(;++l-1;)u!==t&&Rf.call(u,c,1),Rf.call(t,c,1);return t}function ni(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==o){var o=i;zo(i)?Rf.call(t,i,1):_i(t,i)}}return t}function ei(t,n){return t+Hf(tl()*(n-t+1))}function ri(t,n,e,r){for(var i=-1,o=Jf(Bf((n-t)/(e||1)),0),a=uf(o);o--;)a[r?o:++i]=t,t+=e;return a}function ii(t,n){var e="";if(!t||n<1||n>Rt)return e;do n%2&&(e+=t),n=Hf(n/2),n&&(t+=t);while(n);return e}function oi(t,n){return Rl(Ko(t,n,$s),t+"")}function ai(t){return Se(rs(t))}function ui(t,n){var e=rs(t);return ea(e,Ue(n,0,e.length))}function ci(t,n,e,r){if(!cc(t))return t;n=Ei(n,t);for(var i=-1,o=n.length,a=o-1,u=t;null!=u&&++ii?0:i+n),e=e>i?i:e,e<0&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0;for(var o=uf(i);++r>>1,a=t[o];null!==a&&!bc(a)&&(e?a<=n:a=at){var s=n?null:Cl(t);if(s)return G(s);a=!1,i=I,c=new _e}else c=n?[]:u;t:for(;++r=r?t:fi(t,n,e)}function Si(t,n){if(n)return t.slice();var e=t.length,r=Nf?Nf(e):new t.constructor(e);return t.copy(r),r}function Ti(t){var n=new t.constructor(t.byteLength);return new Of(n).set(new Of(t)),n}function Oi(t,n){var e=n?Ti(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function Ni(t,n,e){var r=n?e(Y(t),ht):Y(t);return y(r,o,new t.constructor)}function ji(t){var n=new t.constructor(t.source,Vn.exec(t));return n.lastIndex=t.lastIndex,n}function Pi(t,n,e){var r=n?e(G(t),ht):G(t);return y(r,a,new t.constructor)}function $i(t){return gl?hf(gl.call(t)):{}}function Ri(t,n){var e=n?Ti(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Li(t,n){if(t!==n){var e=t!==it,r=null===t,i=t===t,o=bc(t),a=n!==it,u=null===n,c=n===n,s=bc(n);if(!u&&!s&&!o&&t>n||o&&a&&c&&!u&&!s||r&&a&&c||!e&&c||!i)return 1;if(!r&&!o&&!s&&t=u)return c;var s=e[r];return c*("desc"==s?-1:1)}}return t.index-n.index}function zi(t,n,e,r){for(var i=-1,o=t.length,a=e.length,u=-1,c=n.length,s=Jf(o-a,0),f=uf(c+s),l=!r;++u1?e[i-1]:it,a=i>2?e[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Uo(e[0],e[1],a)&&(o=i<3?it:o,i=1),n=hf(n);++r-1?i[o?n[a]:a]:it}}function to(t){return bo(function(n){var e=n.length,r=e,o=i.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new vf(ct);if(o&&!u&&"wrapper"==Mo(a))var u=new i([],!0)}for(r=u?r:e;++r1&&_.reverse(),l&&cu))return!1;var s=o.get(t);if(s&&o.get(n))return s==n;var f=-1,l=!0,h=e>?new _e:it;for(o.set(t,n),o.set(n,t);++f1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(qn,"{\n/* [wrapped with "+n+"] */\n")}function Io(t){return xh(t)||bh(t)||!!(Lf&&t&&t[Lf])}function zo(t,n){return n=null==n?Rt:n,!!n&&("number"==typeof t||Zn.test(t))&&t>-1&&t%1==0&&t0){if(++n>=Tt)return arguments[0]}else n=0;return t.apply(it,arguments)}}function ea(t,n){var e=-1,r=t.length,i=r-1;for(n=n===it?r:n;++e=this.__values__.length,n=t?it:this.__values__[this.__index__++];return{done:t, value:n}}function au(){return this}function uu(t){for(var n,e=this;e instanceof r;){var i=aa(e);i.__index__=0,i.__values__=it,n?o.__wrapped__=i:n=i;var o=i;e=e.__wrapped__}return o.__wrapped__=t,n}function cu(){var t=this.__wrapped__;if(t instanceof b){var n=t;return this.__actions__.length&&(n=new b(this)),n=n.reverse(),n.__actions__.push({func:eu,args:[ja],thisArg:it}),new i(n,this.__chain__)}return this.thru(ja)}function su(){return xi(this.__wrapped__,this.__actions__)}function fu(t,n,e){var r=xh(t)?l:Ve;return e&&Uo(t,n,e)&&(n=it),r(t,Ao(n,3))}function lu(t,n){var e=xh(t)?h:tr;return e(t,Ao(n,3))}function hu(t,n){return nr(_u(t,n),1)}function pu(t,n){return nr(_u(t,n),$t)}function du(t,n,e){return e=e===it?1:Ec(e),nr(_u(t,n),e)}function vu(t,n){var e=xh(t)?s:ml;return e(t,Ao(n,3))}function gu(t,n){var e=xh(t)?f:bl;return e(t,Ao(n,3))}function yu(t,n,e,r){t=Ju(t)?t:rs(t),e=e&&!r?Ec(e):0;var i=t.length;return e<0&&(e=Jf(i+e,0)),mc(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&k(t,n,e)>-1}function _u(t,n){var e=xh(t)?v:Hr;return e(t,Ao(n,3))}function mu(t,n,e,r){return null==t?[]:(xh(n)||(n=null==n?[]:[n]),e=r?it:e,xh(e)||(e=null==e?[]:[e]),Jr(t,n,e))}function bu(t,n,e){var r=xh(t)?y:O,i=arguments.length<3;return r(t,Ao(n,4),e,i,ml)}function xu(t,n,e){var r=xh(t)?_:O,i=arguments.length<3;return r(t,Ao(n,4),e,i,bl)}function wu(t,n){var e=xh(t)?h:tr;return e(t,Lu(Ao(n,3)))}function Mu(t){var n=xh(t)?Se:ai;return n(t)}function ku(t,n,e){n=(e?Uo(t,n,e):n===it)?1:Ec(n);var r=xh(t)?Te:ui;return r(t,n)}function Au(t){var n=xh(t)?Oe:si;return n(t)}function Eu(t){if(null==t)return 0;if(Ju(t))return mc(t)?Q(t):t.length;var n=Nl(t);return n==Kt||n==on?t.size:qr(t).length}function Cu(t,n,e){var r=xh(t)?m:li;return e&&Uo(t,n,e)&&(n=it),r(t,Ao(n,3))}function Su(t,n){if("function"!=typeof n)throw new vf(ct);return t=Ec(t),function(){if(--t<1)return n.apply(this,arguments)}}function Tu(t,n,e){return n=e?it:n,n=t&&null==n?t.length:n,ho(t,kt,it,it,it,it,n)}function Ou(t,n){var e;if("function"!=typeof n)throw new vf(ct);return t=Ec(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=it),e}}function Nu(t,n,e){n=e?it:n;var r=ho(t,bt,it,it,it,it,it,n);return r.placeholder=Nu.placeholder,r}function ju(t,n,e){n=e?it:n;var r=ho(t,xt,it,it,it,it,it,n);return r.placeholder=ju.placeholder,r}function Pu(t,n,e){function r(n){var e=h,r=p;return h=p=it,_=n,v=t.apply(r,e)}function i(t){return _=t,g=$l(u,n),m?r(t):v}function o(t){var e=t-y,r=t-_,i=n-e;return b?Kf(i,d-r):i}function a(t){var e=t-y,r=t-_;return y===it||e>=n||e<0||b&&r>=d}function u(){var t=sh();return a(t)?c(t):void(g=$l(u,o(t)))}function c(t){return g=it,x&&h?r(t):(h=p=it,v)}function s(){g!==it&&El(g),_=0,h=y=p=g=it}function f(){return g===it?v:c(sh())}function l(){var t=sh(),e=a(t);if(h=arguments,p=this,y=t,e){if(g===it)return i(y);if(b)return g=$l(u,n),r(y)}return g===it&&(g=$l(u,n)),v}var h,p,d,v,g,y,_=0,m=!1,b=!1,x=!0;if("function"!=typeof t)throw new vf(ct);return n=Sc(n)||0,cc(e)&&(m=!!e.leading,b="maxWait"in e,d=b?Jf(Sc(e.maxWait)||0,n):d,x="trailing"in e?!!e.trailing:x),l.cancel=s,l.flush=f,l}function $u(t){return ho(t,Et)}function Ru(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new vf(ct);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(Ru.Cache||he),e}function Lu(t){if("function"!=typeof t)throw new vf(ct);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function Iu(t){return Ou(2,t)}function zu(t,n){if("function"!=typeof t)throw new vf(ct);return n=n===it?n:Ec(n),oi(t,n)}function Uu(t,n){if("function"!=typeof t)throw new vf(ct);return n=null==n?0:Jf(Ec(n),0),oi(function(e){var r=e[n],i=Ci(e,0,n);return r&&g(i,r),u(t,this,i)})}function Du(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new vf(ct);return cc(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Pu(t,n,{leading:r,maxWait:n,trailing:i})}function qu(t){return Tu(t,1)}function Fu(t,n){return vh(Ai(n),t)}function Bu(){if(!arguments.length)return[];var t=arguments[0];return xh(t)?t:[t]}function Hu(t){return De(t,dt)}function Wu(t,n){return n="function"==typeof n?n:it,De(t,dt,n)}function Yu(t){return De(t,ht|dt)}function Vu(t,n){return n="function"==typeof n?n:it,De(t,ht|dt,n)}function Xu(t,n){return null==n||Fe(t,n,Hc(n))}function Gu(t,n){return t===n||t!==t&&n!==n}function Ju(t){return null!=t&&uc(t.length)&&!oc(t)}function Ku(t){return sc(t)&&Ju(t)}function Zu(t){return t===!0||t===!1||sc(t)&&lr(t)==Wt}function Qu(t){return sc(t)&&1===t.nodeType&&!yc(t)}function tc(t){if(null==t)return!0;if(Ju(t)&&(xh(t)||"string"==typeof t||"function"==typeof t.splice||Mh(t)||Sh(t)||bh(t)))return!t.length;var n=Nl(t);if(n==Kt||n==on)return!t.size;if(Ho(t))return!qr(t).length;for(var e in t)if(xf.call(t,e))return!1;return!0}function nc(t,n){return jr(t,n)}function ec(t,n,e){e="function"==typeof e?e:it;var r=e?e(t,n):it;return r===it?jr(t,n,it,e):!!r}function rc(t){if(!sc(t))return!1;var n=lr(t);return n==Xt||n==Vt||"string"==typeof t.message&&"string"==typeof t.name&&!yc(t)}function ic(t){return"number"==typeof t&&Vf(t)}function oc(t){if(!cc(t))return!1;var n=lr(t);return n==Gt||n==Jt||n==Ht||n==en}function ac(t){return"number"==typeof t&&t==Ec(t)}function uc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Rt}function cc(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function sc(t){return null!=t&&"object"==typeof t}function fc(t,n){return t===n||Rr(t,n,Co(n))}function lc(t,n,e){return e="function"==typeof e?e:it,Rr(t,n,Co(n),e)}function hc(t){return gc(t)&&t!=+t}function pc(t){if(jl(t))throw new sf(ut);return Lr(t)}function dc(t){return null===t}function vc(t){return null==t}function gc(t){return"number"==typeof t||sc(t)&&lr(t)==Zt}function yc(t){if(!sc(t)||lr(t)!=tn)return!1;var n=jf(t);if(null===n)return!0;var e=xf.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&bf.call(e)==Af}function _c(t){return ac(t)&&t>=-Rt&&t<=Rt}function mc(t){return"string"==typeof t||!xh(t)&&sc(t)&&lr(t)==an}function bc(t){return"symbol"==typeof t||sc(t)&&lr(t)==un}function xc(t){return t===it}function wc(t){return sc(t)&&Nl(t)==sn}function Mc(t){return sc(t)&&lr(t)==fn}function kc(t){if(!t)return[];if(Ju(t))return mc(t)?tt(t):Di(t);if(If&&t[If])return W(t[If]());var n=Nl(t),e=n==Kt?Y:n==on?G:rs;return e(t)}function Ac(t){if(!t)return 0===t?t:0;if(t=Sc(t),t===$t||t===-$t){var n=t<0?-1:1;return n*Lt}return t===t?t:0}function Ec(t){var n=Ac(t),e=n%1;return n===n?e?n-e:n:0}function Cc(t){return t?Ue(Ec(t),0,zt):0}function Sc(t){if("number"==typeof t)return t;if(bc(t))return It;if(cc(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=cc(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(zn,"");var e=Gn.test(t);return e||Kn.test(t)?ir(t.slice(2),e?2:8):Xn.test(t)?It:+t}function Tc(t){return qi(t,Wc(t))}function Oc(t){return t?Ue(Ec(t),-Rt,Rt):0===t?t:0}function Nc(t){return null==t?"":gi(t)}function jc(t,n){var e=_l(t);return null==n?e:Re(e,n)}function Pc(t,n){return w(t,Ao(n,3),er)}function $c(t,n){return w(t,Ao(n,3),or)}function Rc(t,n){return null==t?t:xl(t,Ao(n,3),Wc)}function Lc(t,n){return null==t?t:wl(t,Ao(n,3),Wc)}function Ic(t,n){return t&&er(t,Ao(n,3))}function zc(t,n){return t&&or(t,Ao(n,3))}function Uc(t){return null==t?[]:ar(t,Hc(t))}function Dc(t){return null==t?[]:ar(t,Wc(t))}function qc(t,n,e){var r=null==t?it:cr(t,n);return r===it?e:r}function Fc(t,n){return null!=t&&jo(t,n,mr)}function Bc(t,n){return null!=t&&jo(t,n,Mr)}function Hc(t){return Ju(t)?Ce(t):qr(t)}function Wc(t){return Ju(t)?Ce(t,!0):Fr(t)}function Yc(t,n){var e={};return n=Ao(n,3),er(t,function(t,r,i){Ie(e,n(t,r,i),t)}),e}function Vc(t,n){var e={};return n=Ao(n,3),er(t,function(t,r,i){Ie(e,r,n(t,r,i))}),e}function Xc(t,n){return Gc(t,Lu(Ao(n)))}function Gc(t,n){if(null==t)return{};var e=v(wo(t),function(t){return[t]});return n=Ao(n),Zr(t,e,function(t,e){return n(t,e[0])})}function Jc(t,n,e){n=Ei(n,t);var r=-1,i=n.length;for(i||(i=1,t=it);++rn){var r=t;t=n,n=r}if(e||t%1||n%1){var i=tl();return Kf(t+i*(n-t+rr("1e-"+((i+"").length-1))),n)}return ei(t,n)}function cs(t){return tp(Nc(t).toLowerCase())}function ss(t){return t=Nc(t),t&&t.replace(Qn,br).replace(He,"")}function fs(t,n,e){t=Nc(t),n=gi(n);var r=t.length;e=e===it?r:Ue(Ec(e),0,r);var i=e;return e-=n.length,e>=0&&t.slice(e,i)==n}function ls(t){return t=Nc(t),t&&Sn.test(t)?t.replace(En,xr):t}function hs(t){return t=Nc(t),t&&In.test(t)?t.replace(Ln,"\\$&"):t}function ps(t,n,e){t=Nc(t),n=Ec(n);var r=n?Q(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return oo(Hf(i),e)+t+oo(Bf(i),e)}function ds(t,n,e){t=Nc(t),n=Ec(n);var r=n?Q(t):0;return n&&r>>0)?(t=Nc(t),t&&("string"==typeof n||null!=n&&!Eh(n))&&(n=gi(n),!n&&B(t))?Ci(tt(t),0,e):t.split(n,e)):[]}function bs(t,n,e){return t=Nc(t),e=null==e?0:Ue(Ec(e),0,t.length),n=gi(n),t.slice(e,e+n.length)==n}function xs(t,n,r){var i=e.templateSettings;r&&Uo(t,n,r)&&(n=it),t=Nc(t),n=Ph({},n,i,po);var o,a,u=Ph({},n.imports,i.imports,po),c=Hc(u),s=L(u,c),f=0,l=n.interpolate||te,h="__p += '",p=pf((n.escape||te).source+"|"+l.source+"|"+(l===Nn?Yn:te).source+"|"+(n.evaluate||te).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Je+"]")+"\n";t.replace(p,function(n,e,r,i,u,c){return r||(r=i),h+=t.slice(f,c).replace(ne,q),e&&(o=!0,h+="' +\n__e("+e+") +\n'"),u&&(a=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+n.length,n}),h+="';\n";var v=n.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(wn,""):h).replace(Mn,"$1").replace(kn,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=np(function(){return ff(c,d+"return "+h).apply(it,s)});if(g.source=h,rc(g))throw g;return g}function ws(t){return Nc(t).toLowerCase()}function Ms(t){return Nc(t).toUpperCase()}function ks(t,n,e){if(t=Nc(t),t&&(e||n===it))return t.replace(zn,"");if(!t||!(n=gi(n)))return t;var r=tt(t),i=tt(n),o=z(r,i),a=U(r,i)+1;return Ci(r,o,a).join("")}function As(t,n,e){if(t=Nc(t),t&&(e||n===it))return t.replace(Dn,"");if(!t||!(n=gi(n)))return t;var r=tt(t),i=U(r,tt(n))+1;return Ci(r,0,i).join("")}function Es(t,n,e){if(t=Nc(t),t&&(e||n===it))return t.replace(Un,"");if(!t||!(n=gi(n)))return t;var r=tt(t),i=z(r,tt(n));return Ci(r,i).join("")}function Cs(t,n){var e=Ct,r=St;if(cc(n)){var i="separator"in n?n.separator:i;e="length"in n?Ec(n.length):e,r="omission"in n?gi(n.omission):r}t=Nc(t);var o=t.length;if(B(t)){var a=tt(t);o=a.length}if(e>=o)return t;var u=e-Q(r);if(u<1)return r;var c=a?Ci(a,0,u).join(""):t.slice(0,u);if(i===it)return c+r;if(a&&(u+=c.length-u),Eh(i)){if(t.slice(u).search(i)){var s,f=c;for(i.global||(i=pf(i.source,Nc(Vn.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var l=s.index;c=c.slice(0,l===it?u:l)}}else if(t.indexOf(gi(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r}function Ss(t){return t=Nc(t),t&&Cn.test(t)?t.replace(An,wr):t}function Ts(t,n,e){return t=Nc(t),n=e?it:n,n===it?H(t)?rt(t):x(t):t.match(n)||[]}function Os(t){var n=null==t?0:t.length,e=Ao();return t=n?v(t,function(t){if("function"!=typeof t[1])throw new vf(ct);return[e(t[0]),t[1]]}):[],oi(function(e){for(var r=-1;++rRt)return[];var e=zt,r=Kf(t,zt);n=Ao(n),t-=zt;for(var i=P(r,n);++e1?t[n-1]:it;return e="function"==typeof e?(t.pop(),e):it,Ka(t,e)}),th=bo(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return ze(n,t)};return!(n>1||this.__actions__.length)&&r instanceof b&&zo(e)?(r=r.slice(e,+e+(n?1:0)),r.__actions__.push({func:eu,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push(it),t})):this.thru(o)}),nh=Hi(function(t,n,e){xf.call(t,e)?++t[e]:Ie(t,e,1)}),eh=Qi(va),rh=Qi(ga),ih=Hi(function(t,n,e){xf.call(t,e)?t[e].push(n):Ie(t,e,[n])}),oh=oi(function(t,n,e){var r=-1,i="function"==typeof n,o=Ju(t)?uf(t.length):[];return ml(t,function(t){o[++r]=i?u(n,t,e):Sr(t,n,e)}),o}),ah=Hi(function(t,n,e){Ie(t,e,n)}),uh=Hi(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]}),ch=oi(function(t,n){if(null==t)return[];var e=n.length;return e>1&&Uo(t,n[0],n[1])?n=[]:e>2&&Uo(n[0],n[1],n[2])&&(n=[n[0]]),Jr(t,nr(n,1),[])}),sh=qf||function(){return ur.Date.now()},fh=oi(function(t,n,e){var r=yt;if(e.length){var i=X(e,ko(fh));r|=wt}return ho(t,r,n,e,i)}),lh=oi(function(t,n,e){var r=yt|_t;if(e.length){var i=X(e,ko(lh));r|=wt}return ho(n,r,t,e,i)}),hh=oi(function(t,n){return We(t,1,n)}),ph=oi(function(t,n,e){return We(t,Sc(n)||0,e)});Ru.Cache=he;var dh=Al(function(t,n){n=1==n.length&&xh(n[0])?v(n[0],R(Ao())):v(nr(n,1),R(Ao()));var e=n.length;return oi(function(r){for(var i=-1,o=Kf(r.length,e);++i=n}),bh=Tr(function(){return arguments}())?Tr:function(t){return sc(t)&&xf.call(t,"callee")&&!$f.call(t,"callee")},xh=uf.isArray,wh=pr?R(pr):Or,Mh=Yf||Ws,kh=dr?R(dr):Nr,Ah=vr?R(vr):$r,Eh=gr?R(gr):Ir,Ch=yr?R(yr):zr,Sh=_r?R(_r):Ur,Th=co(Br),Oh=co(function(t,n){return t<=n}),Nh=Wi(function(t,n){if(Ho(n)||Ju(n))return void qi(n,Hc(n),t);for(var e in n)xf.call(n,e)&&je(t,e,n[e])}),jh=Wi(function(t,n){qi(n,Wc(n),t)}),Ph=Wi(function(t,n,e,r){qi(n,Wc(n),t,r)}),$h=Wi(function(t,n,e,r){qi(n,Hc(n),t,r)}),Rh=bo(ze),Lh=oi(function(t){return t.push(it,po),u(Ph,it,t)}),Ih=oi(function(t){return t.push(it,vo),u(Fh,it,t)}),zh=eo(function(t,n,e){t[n]=e},js($s)),Uh=eo(function(t,n,e){xf.call(t,n)?t[n].push(e):t[n]=[e]},Ao),Dh=oi(Sr),qh=Wi(function(t,n,e){Vr(t,n,e)}),Fh=Wi(function(t,n,e,r){Vr(t,n,e,r)}),Bh=bo(function(t,n){var e={};if(null==t)return e;var r=!1;n=v(n,function(n){return n=Ei(n,t),r||(r=n.length>1),n}),qi(t,wo(t),e),r&&(e=De(e,ht|pt|dt,go));for(var i=n.length;i--;)_i(e,n[i]);return e}),Hh=bo(function(t,n){return null==t?{}:Kr(t,n)}),Wh=lo(Hc),Yh=lo(Wc),Vh=Ji(function(t,n,e){return n=n.toLowerCase(),t+(e?cs(n):n)}),Xh=Ji(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),Gh=Ji(function(t,n,e){return t+(e?" ":"")+n.toLowerCase()}),Jh=Gi("toLowerCase"),Kh=Ji(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}),Zh=Ji(function(t,n,e){return t+(e?" ":"")+tp(n)}),Qh=Ji(function(t,n,e){return t+(e?" ":"")+n.toUpperCase()}),tp=Gi("toUpperCase"),np=oi(function(t,n){try{return u(t,it,n)}catch(t){return rc(t)?t:new sf(t)}}),ep=bo(function(t,n){return s(n,function(n){n=ra(n),Ie(t,n,fh(t[n],t))}),t}),rp=to(),ip=to(!0),op=oi(function(t,n){return function(e){return Sr(e,t,n)}}),ap=oi(function(t,n){return function(e){return Sr(t,e,n)}}),up=io(v),cp=io(l),sp=io(m),fp=uo(),lp=uo(!0),hp=ro(function(t,n){return t+n},0),pp=fo("ceil"),dp=ro(function(t,n){return t/n},1),vp=fo("floor"),gp=ro(function(t,n){return t*n},1),yp=fo("round"),_p=ro(function(t,n){return t-n},0);return e.after=Su,e.ary=Tu,e.assign=Nh,e.assignIn=jh,e.assignInWith=Ph,e.assignWith=$h,e.at=Rh,e.before=Ou,e.bind=fh,e.bindAll=ep,e.bindKey=lh,e.castArray=Bu,e.chain=tu,e.chunk=ua,e.compact=ca,e.concat=sa,e.cond=Os,e.conforms=Ns,e.constant=js,e.countBy=nh,e.create=jc,e.curry=Nu,e.curryRight=ju,e.debounce=Pu,e.defaults=Lh,e.defaultsDeep=Ih,e.defer=hh,e.delay=ph,e.difference=Il,e.differenceBy=zl,e.differenceWith=Ul,e.drop=fa,e.dropRight=la,e.dropRightWhile=ha,e.dropWhile=pa,e.fill=da,e.filter=lu,e.flatMap=hu,e.flatMapDeep=pu,e.flatMapDepth=du,e.flatten=ya,e.flattenDeep=_a,e.flattenDepth=ma,e.flip=$u,e.flow=rp,e.flowRight=ip,e.fromPairs=ba,e.functions=Uc,e.functionsIn=Dc,e.groupBy=ih,e.initial=Ma,e.intersection=Dl,e.intersectionBy=ql,e.intersectionWith=Fl,e.invert=zh,e.invertBy=Uh,e.invokeMap=oh,e.iteratee=Rs,e.keyBy=ah,e.keys=Hc,e.keysIn=Wc,e.map=_u,e.mapKeys=Yc,e.mapValues=Vc,e.matches=Ls,e.matchesProperty=Is,e.memoize=Ru,e.merge=qh,e.mergeWith=Fh,e.method=op,e.methodOf=ap,e.mixin=zs,e.negate=Lu,e.nthArg=qs,e.omit=Bh,e.omitBy=Xc,e.once=Iu,e.orderBy=mu,e.over=up,e.overArgs=dh,e.overEvery=cp,e.overSome=sp,e.partial=vh,e.partialRight=gh,e.partition=uh,e.pick=Hh,e.pickBy=Gc,e.property=Fs,e.propertyOf=Bs,e.pull=Bl,e.pullAll=Sa,e.pullAllBy=Ta,e.pullAllWith=Oa,e.pullAt=Hl,e.range=fp,e.rangeRight=lp,e.rearg=yh,e.reject=wu,e.remove=Na,e.rest=zu,e.reverse=ja,e.sampleSize=ku,e.set=Kc,e.setWith=Zc,e.shuffle=Au,e.slice=Pa,e.sortBy=ch,e.sortedUniq=Da,e.sortedUniqBy=qa,e.split=ms,e.spread=Uu,e.tail=Fa,e.take=Ba,e.takeRight=Ha,e.takeRightWhile=Wa,e.takeWhile=Ya,e.tap=nu,e.throttle=Du,e.thru=eu,e.toArray=kc,e.toPairs=Wh,e.toPairsIn=Yh,e.toPath=Js,e.toPlainObject=Tc,e.transform=Qc,e.unary=qu,e.union=Wl,e.unionBy=Yl,e.unionWith=Vl,e.uniq=Va,e.uniqBy=Xa,e.uniqWith=Ga,e.unset=ts,e.unzip=Ja,e.unzipWith=Ka,e.update=ns,e.updateWith=es,e.values=rs,e.valuesIn=is,e.without=Xl,e.words=Ts,e.wrap=Fu,e.xor=Gl,e.xorBy=Jl,e.xorWith=Kl,e.zip=Zl,e.zipObject=Za,e.zipObjectDeep=Qa,e.zipWith=Ql,e.entries=Wh,e.entriesIn=Yh,e.extend=jh,e.extendWith=Ph,zs(e,e),e.add=hp,e.attempt=np,e.camelCase=Vh,e.capitalize=cs,e.ceil=pp,e.clamp=os,e.clone=Hu,e.cloneDeep=Yu,e.cloneDeepWith=Vu,e.cloneWith=Wu,e.conformsTo=Xu,e.deburr=ss,e.defaultTo=Ps,e.divide=dp,e.endsWith=fs,e.eq=Gu,e.escape=ls,e.escapeRegExp=hs,e.every=fu,e.find=eh,e.findIndex=va,e.findKey=Pc,e.findLast=rh,e.findLastIndex=ga,e.findLastKey=$c,e.floor=vp,e.forEach=vu,e.forEachRight=gu,e.forIn=Rc,e.forInRight=Lc,e.forOwn=Ic,e.forOwnRight=zc,e.get=qc,e.gt=_h,e.gte=mh,e.has=Fc,e.hasIn=Bc,e.head=xa,e.identity=$s,e.includes=yu,e.indexOf=wa,e.inRange=as,e.invoke=Dh,e.isArguments=bh,e.isArray=xh,e.isArrayBuffer=wh,e.isArrayLike=Ju,e.isArrayLikeObject=Ku,e.isBoolean=Zu,e.isBuffer=Mh,e.isDate=kh,e.isElement=Qu,e.isEmpty=tc,e.isEqual=nc,e.isEqualWith=ec,e.isError=rc,e.isFinite=ic,e.isFunction=oc,e.isInteger=ac,e.isLength=uc,e.isMap=Ah,e.isMatch=fc,e.isMatchWith=lc,e.isNaN=hc,e.isNative=pc,e.isNil=vc,e.isNull=dc,e.isNumber=gc,e.isObject=cc,e.isObjectLike=sc,e.isPlainObject=yc,e.isRegExp=Eh,e.isSafeInteger=_c,e.isSet=Ch,e.isString=mc,e.isSymbol=bc,e.isTypedArray=Sh,e.isUndefined=xc,e.isWeakMap=wc,e.isWeakSet=Mc,e.join=ka,e.kebabCase=Xh,e.last=Aa,e.lastIndexOf=Ea,e.lowerCase=Gh,e.lowerFirst=Jh,e.lt=Th,e.lte=Oh,e.max=Zs,e.maxBy=Qs,e.mean=tf,e.meanBy=nf,e.min=ef,e.minBy=rf,e.stubArray=Hs,e.stubFalse=Ws,e.stubObject=Ys,e.stubString=Vs,e.stubTrue=Xs,e.multiply=gp,e.nth=Ca,e.noConflict=Us,e.noop=Ds,e.now=sh,e.pad=ps,e.padEnd=ds,e.padStart=vs,e.parseInt=gs,e.random=us,e.reduce=bu,e.reduceRight=xu,e.repeat=ys,e.replace=_s,e.result=Jc,e.round=yp,e.runInContext=t,e.sample=Mu,e.size=Eu,e.snakeCase=Kh,e.some=Cu,e.sortedIndex=$a,e.sortedIndexBy=Ra,e.sortedIndexOf=La,e.sortedLastIndex=Ia,e.sortedLastIndexBy=za,e.sortedLastIndexOf=Ua,e.startCase=Zh,e.startsWith=bs,e.subtract=_p,e.sum=of,e.sumBy=af,e.template=xs,e.times=Gs,e.toFinite=Ac,e.toInteger=Ec,e.toLength=Cc,e.toLower=ws,e.toNumber=Sc,e.toSafeInteger=Oc,e.toString=Nc,e.toUpper=Ms,e.trim=ks,e.trimEnd=As,e.trimStart=Es,e.truncate=Cs,e.unescape=Ss,e.uniqueId=Ks,e.upperCase=Qh,e.upperFirst=tp,e.each=vu,e.eachRight=gu,e.first=xa,zs(e,function(){var t={};return er(e,function(n,r){xf.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION=ot,s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),s(["drop","take"],function(t,n){b.prototype[t]=function(e){e=e===it?1:Jf(Ec(e),0);var r=this.__filtered__&&!n?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Kf(e,r.__takeCount__):r.__views__.push({size:Kf(e,zt),type:t+(r.__dir__<0?"Right":"")}),r},b.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}}),s(["filter","map","takeWhile"],function(t,n){var e=n+1,r=e==Nt||e==Pt;b.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Ao(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}}),s(["head","last"],function(t,n){var e="take"+(n?"Right":"");b.prototype[t]=function(){return this[e](1).value()[0]}}),s(["initial","tail"],function(t,n){var e="drop"+(n?"":"Right");b.prototype[t]=function(){return this.__filtered__?new b(this):this[e](1)}}),b.prototype.compact=function(){return this.filter($s)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=oi(function(t,n){return"function"==typeof t?new b(this):this.map(function(e){return Sr(e,t,n)})}),b.prototype.reject=function(t){return this.filter(Lu(Ao(t)))},b.prototype.slice=function(t,n){t=Ec(t);var e=this;return e.__filtered__&&(t>0||n<0)?new b(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==it&&(n=Ec(n),e=n<0?e.dropRight(-n):e.take(n-t)),e)},b.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},b.prototype.toArray=function(){return this.take(zt)},er(b.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),a=e[o?"take"+("last"==n?"Right":""):n],u=o||/^find/.test(n);a&&(e.prototype[n]=function(){var n=this.__wrapped__,c=o?[1]:arguments,s=n instanceof b,f=c[0],l=s||xh(n),h=function(t){var n=a.apply(e,g([t],c));return o&&p?n[0]:n};l&&r&&"function"==typeof f&&1!=f.length&&(s=l=!1);var p=this.__chain__,d=!!this.__actions__.length,v=u&&!p,y=s&&!d;if(!u&&l){n=y?n:new b(this);var _=t.apply(n,c);return _.__actions__.push({func:eu,args:[h],thisArg:it}),new i(_,p)}return v&&y?t.apply(this,c):(_=this.thru(h),v?o?_.value()[0]:_.value():_)})}),s(["pop","push","shift","sort","splice","unshift"],function(t){var n=gf[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var e=this.value();return n.apply(xh(e)?e:[],t)}return this[r](function(e){return n.apply(xh(e)?e:[],t)})}}),er(b.prototype,function(t,n){var r=e[n];if(r){var i=r.name+"",o=sl[i]||(sl[i]=[]);o.push({name:n,func:r})}}),sl[no(it,_t).name]=[{name:"wrapper",func:it}],b.prototype.clone=T,b.prototype.reverse=K,b.prototype.value=nt,e.prototype.at=th,e.prototype.chain=ru,e.prototype.commit=iu,e.prototype.next=ou,e.prototype.plant=uu,e.prototype.reverse=cu,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=su,e.prototype.first=e.prototype.head,If&&(e.prototype[If]=au),e},kr=Mr();ur._=kr,i=function(){return kr}.call(n,e,n,r),!(i!==it&&(r.exports=i))}).call(this)}).call(n,e(34),e(136)(t))},function(t,n,e){t.exports=!e(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(9),i=e(68),o=e(84),a=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(59),o=r(i);n.default=function(){function t(t,n){for(var e=0;e0?r:e)(t)}},function(t,n,e){"use strict";function r(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function i(t,n){var e=r(t);return function(r,i){return n(e(r),i,t)}}function o(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}n.a=function(t){function n(t,n){var o,a,u=e(t,function(t,e){return o?o(t,e-1):(a=t,void(o=n?i(t,n):r(t)))});return u.columns=a,u}function e(t,n){function e(){if(s>=c)return a;if(i)return i=!1,o;var n,e=s;if(34===t.charCodeAt(e)){for(var r=e;r++-1)return t.splice(e,1)}}function a(t,n){return ai.call(t,n)}function u(t){return"string"==typeof t||"number"==typeof t}function c(t){var n=Object.create(null);return function(e){var r=n[e];return r||(n[e]=t(e))}}function s(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e}function f(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function l(t,n){for(var e in n)t[e]=n[e];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return hi.call(t)===pi}function d(t){for(var n={},e=0;e1?f(e):e;for(var r=f(arguments,1),i=0,o=e.length;i=0&&Zi[e].id>t.id;)e--;Zi.splice(Math.max(e,eo)+1,0,t)}else Zi.push(t);to||(to=!0,Si(Et))}}function St(t){oo.clear(),Tt(t,oo)}function Tt(t,n){var e,r,i=Array.isArray(t);if((i||h(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(i)for(e=t.length;e--;)Tt(t[e],n);else for(r=Object.keys(t),e=r.length;e--;)Tt(t[r[e]],n)}}function Ot(t){t._watchers=[];var n=t.$options;n.props&&Nt(t,n.props),n.methods&&Rt(t,n.methods),n.data?jt(t):C(t._data={},!0),n.computed&&Pt(t,n.computed),n.watch&&Lt(t,n.watch)}function Nt(t,n){var e=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(n),i=!t.$parent;Ii.shouldConvert=i;for(var o=function(i){var o=r[i];S(t,o,U(o,n,e,t))},a=0;a-1:t.test(n)}function Jt(t,n){for(var e in t){var r=t[e];if(r){var i=Xt(r.componentOptions);i&&!n(i)&&(Kt(r),t[e]=null)}}}function Kt(t){t&&(t.componentInstance._inactive||kt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Zt(t){var n={};n.get=function(){return gi},Object.defineProperty(t,"config",n),t.util=qi,t.set=T,t.delete=O,t.nextTick=Si,t.options=Object.create(null),gi._assetTypes.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,fo),Ht(t),Wt(t),Yt(t),Vt(t)}function Qt(t){for(var n=t.data,e=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(n=tn(r.data,n));for(;e=e.parent;)e.data&&(n=tn(n,e.data));return nn(n)}function tn(t,n){return{staticClass:en(t.staticClass,n.staticClass),class:t.class?[t.class,n.class]:n.class}}function nn(t){var n=t.class,e=t.staticClass;return e||n?en(e,rn(n)):""}function en(t,n){return t?n?t+" "+n:t:n||""}function rn(t){var n="";if(!t)return n;if("string"==typeof t)return t;if(Array.isArray(t)){for(var e,r=0,i=t.length;r-1?Co[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:Co[t]=/HTMLUnknownElement/.test(n.toString())}function un(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function cn(t,n){var e=document.createElement(t);return"select"!==t?e:(n.data&&n.data.attrs&&"multiple"in n.data.attrs&&e.setAttribute("multiple","multiple"),e)}function sn(t,n){return document.createElementNS(wo[t],n)}function fn(t){return document.createTextNode(t)}function ln(t){return document.createComment(t)}function hn(t,n,e){t.insertBefore(n,e)}function pn(t,n){t.removeChild(n)}function dn(t,n){t.appendChild(n)}function vn(t){return t.parentNode}function gn(t){return t.nextSibling}function yn(t){return t.tagName}function _n(t,n){t.textContent=n}function mn(t,n,e){t.setAttribute(n,e)}function bn(t,n){var e=t.data.ref;if(e){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;n?Array.isArray(a[e])?o(a[e],i):a[e]===i&&(a[e]=void 0):t.data.refInFor?Array.isArray(a[e])&&a[e].indexOf(i)<0?a[e].push(i):a[e]=[i]:a[e]=i}}function xn(t){return null==t}function wn(t){return null!=t}function Mn(t,n){return t.key===n.key&&t.tag===n.tag&&t.isComment===n.isComment&&!t.data==!n.data}function kn(t,n,e){var r,i,o={};for(r=n;r<=e;++r)i=t[r].key,wn(i)&&(o[i]=r);return o}function An(t){function n(t){return new Fi(C.tagName(t).toLowerCase(),{},[],void 0,t)}function e(t,n){function e(){0===--e.listeners&&r(t)}return e.listeners=n,e}function r(t){var n=C.parentNode(t);n&&C.removeChild(n,t)}function o(t,n,e,r,i){if(t.isRootInsert=!i,!a(t,n,e,r)){var o=t.data,u=t.children,c=t.tag;wn(c)?(t.elm=t.ns?C.createElementNS(t.ns,c):C.createElement(c,t),d(t),l(t,u,n),wn(o)&&p(t,n),f(e,t.elm,r)):t.isComment?(t.elm=C.createComment(t.text),f(e,t.elm,r)):(t.elm=C.createTextNode(t.text),f(e,t.elm,r))}}function a(t,n,e,r){var i=t.data;if(wn(i)){var o=wn(t.componentInstance)&&i.keepAlive;if(wn(i=i.hook)&&wn(i=i.init)&&i(t,!1,e,r),wn(t.componentInstance))return c(t,n),o&&s(t,n,e,r),!0}}function c(t,n){t.data.pendingInsert&&n.push.apply(n,t.data.pendingInsert),t.elm=t.componentInstance.$el,h(t)?(p(t,n),d(t)):(bn(t),n.push(t))}function s(t,n,e,r){for(var i,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,wn(i=o.data)&&wn(i=i.transition)){for(i=0;ih?(s=xn(e[g+1])?null:e[g+1].elm,v(t,s,e,l,g,r)):l>g&&y(t,n,f,h)}function b(t,n,e,r){if(t!==n){if(n.isStatic&&t.isStatic&&n.key===t.key&&(n.isCloned||n.isOnce))return n.elm=t.elm,void(n.componentInstance=t.componentInstance);var i,o=n.data,a=wn(o);a&&wn(i=o.hook)&&wn(i=i.prepatch)&&i(t,n);var u=n.elm=t.elm,c=t.children,s=n.children;if(a&&h(n)){for(i=0;i-1?n.split(/\s+/).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+t.getAttribute("class")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function Yn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n);else{for(var e=" "+t.getAttribute("class")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");t.setAttribute("class",e.trim())}}function Vn(t){Qo(function(){Qo(t)})}function Xn(t,n){(t._transitionClasses||(t._transitionClasses=[])).push(n),Wn(t,n)}function Gn(t,n){t._transitionClasses&&o(t._transitionClasses,n),Yn(t,n)}function Jn(t,n,e){var r=Kn(t,n),i=r.type,o=r.timeout,a=r.propCount;if(!i)return e();var u=i===Vo?Jo:Zo,c=0,s=function(){t.removeEventListener(u,f),e()},f=function(n){n.target===t&&++c>=a&&s()};setTimeout(function(){c0&&(e=Vo,f=a,l=o.length):n===Xo?s>0&&(e=Xo,f=s,l=c.length):(f=Math.max(a,s),e=f>0?a>s?Vo:Xo:null,l=e?e===Vo?o.length:c.length:0);var h=e===Vo&&ta.test(r[Go+"Property"]);return{type:e,timeout:f,propCount:l,hasTransform:h}}function Zn(t,n){for(;t.length1,j=e._enterCb=re(function(){O&&(Gn(e,A),Gn(e,k)),j.cancelled?(O&&Gn(e,M),T&&T(e)):S&&S(e),e._enterCb=null});t.data.show||it(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(e,j)},"transition-insert"),E&&E(e),O&&(Xn(e,M),Xn(e,k),Vn(function(){Xn(e,A),Gn(e,M),j.cancelled||N||Jn(e,o,j)})),t.data.show&&(n&&n(),C&&C(e,j)),O||N||j()}}}function ne(t,n){function e(){y.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Xn(r,u),Xn(r,s),Vn(function(){Xn(r,c),Gn(r,u),y.cancelled||g||Jn(r,a,y)})),l&&l(r,y),v||g||y())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=ee(t.data.transition);if(!i)return n();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,u=i.leaveClass,c=i.leaveToClass,s=i.leaveActiveClass,f=i.beforeLeave,l=i.leave,h=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,v=o!==!1&&!wi,g=l&&(l._length||l.length)>1,y=r._leaveCb=re(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Gn(r,c),Gn(r,s)),y.cancelled?(v&&Gn(r,u),p&&p(r)):(n(),h&&h(r)),r._leaveCb=null});d?d(e):e()}}function ee(t){if(t){if("object"==typeof t){var n={};return t.css!==!1&&l(n,na(t.name||"v")),l(n,t),n}return"string"==typeof t?na(t):void 0}}function re(t){var n=!1;return function(){n||(n=!0,t())}}function ie(t,n){n.data.show||te(n)}function oe(t,n,e){var r=n.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,u=0,c=t.options.length;u-1,a.selected!==o&&(a.selected=o);else if(y(ue(a),r))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}}function ae(t,n){for(var e=0,r=n.length;e',e.innerHTML.indexOf(n)>0}function xe(t){return da=da||document.createElement("div"),da.innerHTML=t,da.textContent}function we(t,n){return n&&(t=t.replace(uu,"\n")),t.replace(ou,"<").replace(au,">").replace(cu,"&").replace(su,'"')}function Me(t,n){function e(n){l+=n,t=t.substring(n)}function r(){var n=t.match(Aa);if(n){var r={tagName:n[1],attrs:[],start:l};e(n[0].length);for(var i,o;!(i=t.match(Ea))&&(o=t.match(wa));)e(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],e(i[0].length),r.end=l,r}}function i(t){var e=t.tagName,r=t.unarySlash;s&&("p"===u&&_a(e)&&o(u),ya(e)&&u===e&&o(e));for(var i=f(e)||"html"===e&&"head"===u||!!r,a=t.attrs.length,l=new Array(a),h=0;h=0&&c[i].lowerCasedTag!==o;i--);else i=0;if(i>=0){for(var a=c.length-1;a>=i;a--)n.end&&n.end(c[a].tag,e,r);c.length=i,u=i&&c[i-1].tag}else"br"===o?n.start&&n.start(t,[],!0,e,r):"p"===o&&(n.start&&n.start(t,[],!1,e,r),n.end&&n.end(t,e,r))}for(var a,u,c=[],s=n.expectHTML,f=n.isUnaryTag||di,l=0;t;){if(a=t,u&&ru(u)){var h=u.toLowerCase(),p=iu[h]||(iu[h]=new RegExp("([\\s\\S]*?)(]*>)","i")),d=0,v=t.replace(p,function(t,e,r){return d=r.length,"script"!==h&&"style"!==h&&"noscript"!==h&&(e=e.replace(//g,"$1").replace(//g,"$1")),n.chars&&n.chars(e),""});l+=t.length-v.length,t=v,o(h,l-d,l)}else{var g=t.indexOf("<");if(0===g){if(Ta.test(t)){var y=t.indexOf("-->");if(y>=0){e(y+3);continue}}if(Oa.test(t)){var _=t.indexOf("]>");if(_>=0){e(_+2);continue}}var m=t.match(Sa);if(m){e(m[0].length);continue}var b=t.match(Ca);if(b){var x=l;e(b[0].length),o(b[1],x,l);continue}var w=r();if(w){i(w);continue}}var M=void 0,k=void 0,A=void 0;if(g>0){for(k=t.slice(g);!(Ca.test(k)||Aa.test(k)||Ta.test(k)||Oa.test(k)||(A=k.indexOf("<",1),A<0));)g+=A,k=t.slice(g);M=t.substring(0,g),e(g)}g<0&&(M=t,t=""),n.chars&&M&&n.chars(M)}if(t===a&&n.chars){n.chars(t);break}}o()}function ke(t){function n(){(a||(a=[])).push(t.slice(d,i).trim()),d=i+1}var e,r,i,o,a,u=!1,c=!1,s=!1,f=!1,l=0,h=0,p=0,d=0;for(i=0;i=0&&(g=t.charAt(v)," "===g);v--);g&&/[\w$]/.test(g)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):n();if(void 0===o?o=t.slice(0,i).trim():0!==d&&n(),a)for(i=0;ia&&o.push(JSON.stringify(t.slice(a,i)));var u=ke(r[1].trim());o.push("_s("+u+")"),a=i+r[0].length}return a=ja}function ze(t){return 34===t||39===t}function Ue(t){var n=1;for(La=Ra;!Ie();)if(t=Le(),ze(t))De(t);else if(91===t&&n++,93===t&&n--,0===n){Ia=Ra;break}}function De(t){for(var n=t;!Ie()&&(t=Le(),t!==n););}function qe(t,n){za=n.warn||Ce,Ua=n.getTagNamespace||di,Da=n.mustUseProp||di,qa=n.isPreTag||di,Fa=Se(n.modules,"preTransformNode"),Ba=Se(n.modules,"transformNode"),Ha=Se(n.modules,"postTransformNode"),Wa=n.delimiters;var e,r,i=[],o=n.preserveWhitespace!==!1,a=!1,u=!1;return Me(t,{expectHTML:n.expectHTML,isUnaryTag:n.isUnaryTag,shouldDecodeNewlines:n.shouldDecodeNewlines,start:function(t,o,c){function s(t){}var f=r&&r.ns||Ua(t);xi&&"svg"===f&&(o=or(o));var l={type:1,tag:t,attrsList:o,attrsMap:rr(o),parent:r,children:[]};f&&(l.ns=f),ir(l)&&!Ei()&&(l.forbidden=!0);for(var h=0;h-1"+("true"===o?":("+n+")":":_q("+n+","+o+")")),je(t,"click","var $$a="+n+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+n+"=$$a.concat($$v))}else{$$i>-1&&("+n+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+n+"=$$c}",null,!0)}function Vr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null";i=r?"_n("+i+")":i,Te(t,"checked","_q("+n+","+i+")"),je(t,"click",Jr(n,i),null,!0)}function Xr(t,n,e){var r=t.attrsMap.type,i=e||{},o=i.lazy,a=i.number,u=i.trim,c=o||xi&&"range"===r?"change":"input",s=!o&&"range"!==r,f="input"===t.tag||"textarea"===t.tag,l=f?"$event.target.value"+(u?".trim()":""):u?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";l=a||"number"===r?"_n("+l+")":l;var h=Jr(n,l);f&&s&&(h="if($event.target.composing)return;"+h),Te(t,"value",f?"_s("+n+")":"("+n+")"),je(t,c,h,null,!0),(u||a||"number"===r)&&je(t,"blur","$forceUpdate()")}function Gr(t,n,e){var r=e&&e.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==t.attrsMap.multiple?"[0]":""),o=Jr(n,i);je(t,"change",o,null,!0)}function Jr(t,n){var e=Re(t);return null===e.idx?t+"="+n:"var $$exp = "+e.exp+", $$idx = "+e.idx+";if (!Array.isArray($$exp)){"+t+"="+n+"}else{$$exp.splice($$idx, 1, "+n+")}"}function Kr(t,n){n.value&&Te(t,"textContent","_s("+n.value+")")}function Zr(t,n){n.value&&Te(t,"innerHTML","_s("+n.value+")")}function Qr(t,n){return n=n?l(l({},$u),n):$u,Dr(t,n)}function ti(t,n,e){var r=(n&&n.warn||Oi,n&&n.delimiters?String(n.delimiters)+t:t);if(Pu[r])return Pu[r];var i={},o=Qr(t,n);i.render=ni(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var u=0;u0,Mi=bi&&bi.indexOf("edge/")>0,ki=bi&&bi.indexOf("android")>0,Ai=bi&&/iphone|ipad|ipod|ios/.test(bi),Ei=function(){return void 0===ri&&(ri=!mi&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),ri},Ci=mi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Si=function(){function t(){r=!1;var t=e.slice(0);e.length=0;for(var n=0;n1&&(n[e[0].trim()]=e[1].trim())}}),n}),Do=/^--/,qo=/\s*!important$/,Fo=function(t,n,e){Do.test(n)?t.style.setProperty(n,e):qo.test(e)?t.style.setProperty(n,e.replace(qo,""),"important"):t.style[Ho(n)]=e},Bo=["Webkit","Moz","ms"],Ho=c(function(t){if(ho=ho||document.createElement("div"),t=ci(t),"filter"!==t&&t in ho.style)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e\/=]+)/,ba=/(?:=)/,xa=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],wa=new RegExp("^\\s*"+ma.source+"(?:\\s*("+ba.source+")\\s*(?:"+xa.join("|")+"))?"),Ma="[a-zA-Z_][\\w\\-\\.]*",ka="((?:"+Ma+"\\:)?"+Ma+")",Aa=new RegExp("^<"+ka),Ea=/^\s*(\/?)>/,Ca=new RegExp("^<\\/"+ka+"[^>]*>"),Sa=/^]+>/i,Ta=/^