From 464f45f1869ae99212d3e7d6c7f2e3122a2dd58c Mon Sep 17 00:00:00 2001 From: Richard Czechowski Date: Thu, 2 May 2019 13:15:54 -0700 Subject: [PATCH 1/2] update sunburst with color by root or node toggle --- dist/sunburst.js | 2 +- src/examples/sunburst/sunburst.ts | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/dist/sunburst.js b/dist/sunburst.js index 65a40f37..073cbf4b 100644 --- a/dist/sunburst.js +++ b/dist/sunburst.js @@ -1 +1 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sunburst=n():t.sunburst=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=503)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var S=e(190);e.d(n,"E",function(){return S.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),S=e(225),E=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:S.a,datum:E.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,S*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(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(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=S,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(S(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function S(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,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()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({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"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.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:u(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}},n.a=function t(n){function e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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}},function(t,n,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.a,"%":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 Object(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,S=g*x;if(c.add(Object(u.e)(S*k*Object(u.t)(T),_*w+S*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var E=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(E);var A=Object(i.c)(o,E);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(E[0]||E[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(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])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(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 c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},St={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},Et={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:E,H:k,I:k,j:M,L:S,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=Et[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),St.x=At(e,St),St.X=At(a,St),St.c=At(n,St),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(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 x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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))}}},function(t,n,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={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()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(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}},n.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}i.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:Object(r.c)(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}},n.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-S:U>0&&(u=a-S),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-S*U,u=a+S*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,E=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],S=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(B-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(S=Math.max(H-u,Math.min(V-w,S)),a=u+S,M=w+S);break;case d:L<0?(N=Math.max(B-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(B-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(S=Math.max(H-u,Math.min(V-u,S)),a=u+S,M=w):U>0&&(S=Math.max(H-w,Math.min(V-w,S)),a=u,M=w+S);break;case b:L&&(r=Math.max(B,Math.min(X,e-N*L)),x=Math.max(B,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-S*U)),M=Math.max(H,Math.min(V,w+S*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},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._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,e){"use strict";n.a=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]]}},function(t,n,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,l,h,f,s))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var S=e(349);e.d(n,"H",function(){return S.a}),e.d(n,"I",function(){return S.b});var E=e(350);e.d(n,"J",function(){return E.a}),e.d(n,"K",function(){return E.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function S(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=S,j.lineEnd=E},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function S(){j.point=A}function E(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),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:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}function f(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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},f(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(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())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return o.h=360*t-100,o.s=1.5-1.5*n,o.l=.8-.9*n,o+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,S=M-g,E=k-_,A=T-g,C=N-_;return S*S+E*E>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),S=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),E=S,A=S;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),D=o*Object(u.k)(w);if(S>u.f){var L=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,L,U,R,D):[R,D],B=P-Y[0],H=q-Y[1],X=L-Y[0],V=U-Y[1],W=1/Object(u.k)(Object(u.b)((B*X+H*V)/(Object(u.l)(B*B+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(Y[0]*Y[0]+Y[1]*Y[1]);E=Object(u.i)(S,(o-G)/(W-1)),A=Object(u.i)(S,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(L,U,R,D,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?E>u.f?(y=l(R,D,L,U,o,-E,_),m=l(P,q,F,I,o,-E,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),E0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=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 Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}i.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,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.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],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:i.a,areaEnd:i.a,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:Object(u.b)(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}},n.a=function t(n){function e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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:Object(i.b)(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}},n.a=function t(n){function e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.a,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))}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},o.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:c(this,this._t0,u(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.prototype=Object.create(o.prototype)).point=function(t,n){o.prototype.point.call(this,n,t)},f.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,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-1])/2,n=0;n=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}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,S=150,E=0;function A(t){t.property("__zoom",b).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rE}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464);function u(t,n){var e={};return t.forEach(function(t){var r=e;t.taxonomy.value.forEach(function(t){(null!==t||n.show_null_points)&&(r[t]=t in r?r[t]:{},r=r[t])}),r.__data=t}),{name:"root",children:function t(n,e){void 0===e&&(e=0);var r=[];for(var i in n)if("__data"!==i){var u={name:i,depth:e,children:t(n[i],e+1)};"__data"in n[i]&&(u.data=n[i].__data),r.push(u)}return r}(e,1),depth:0}}var c={id:"sunburst",label:"Sunburst",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]},show_null_points:{type:"boolean",label:"Plot Null Values",default:!0}},create:function(t,n){t.style.fontFamily='"Open Sans", "Helvetica", sans-serif',this.svg=r.select(t).append("svg")},update:function(t,n,e,c){if(Object(i.b)(this,c,{min_pivots:0,max_pivots:0,min_dimensions:1,max_dimensions:void 0,min_measures:1,max_measures:1})){var o=n.clientWidth,a=n.clientHeight,f=Math.min(o,a)/2-8,s=c.fields.dimension_like,l=c.fields.measure_like[0],h=Object(i.a)(l.value_format)||function(t){return t.toString()},d=r.scaleOrdinal().range(e.color_range);t.forEach(function(t){t.taxonomy={value:s.map(function(n){return t[n.name].value})}});var b=r.partition().size([2*Math.PI,f*f]),v=r.arc().startAngle(function(t){return t.x0}).endAngle(function(t){return t.x1}).innerRadius(function(t){return Math.sqrt(t.y0)}).outerRadius(function(t){return Math.sqrt(t.y1)}),p=this.svg.html("").attr("width","100%").attr("height","100%").append("g").attr("transform","translate("+o/2+","+a/2+")"),g=p.append("text").attr("y",-a/2+20).attr("x",-o/2+20),_=r.hierarchy(u(t,e)).sum(function(t){return"data"in t?t.data[l.name].value:0});b(_),p.selectAll("path").data(_.descendants()).enter().append("path").attr("d",v).style("fill",function(t){return 0===t.depth?"none":d(t.ancestors().map(function(t){return t.data.name}).slice(-2,-1))}).style("fill-opacity",function(t){return 1-.15*t.depth}).style("transition",function(t){return"fill-opacity 0.5s"}).style("stroke",function(t){return"#fff"}).style("stroke-width",function(t){return"0.5px"}).on("click",function(t){console.log(t)}).on("mouseenter",function(t){var n=t.ancestors().map(function(t){return t.data.name}).slice(0,-1).reverse().join("-");g.text(n+": "+h(t.value));var e=t.ancestors();p.selectAll("path").style("fill-opacity",function(t){return e.indexOf(t)>-1?1:.15})}).on("mouseleave",function(t){g.text(""),p.selectAll("path").style("fill-opacity",function(t){return 1-.15*t.depth})})}}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sunburst=n():t.sunburst=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=503)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var S=e(190);e.d(n,"E",function(){return S.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),S=e(225),E=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:S.a,datum:E.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,S*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(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(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=S,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(S(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function S(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,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()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({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"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.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:u(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}},n.a=function t(n){function e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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}},function(t,n,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.a,"%":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 Object(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,S=g*x;if(c.add(Object(u.e)(S*k*Object(u.t)(T),_*w+S*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var E=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(E);var A=Object(i.c)(o,E);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(E[0]||E[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(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])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(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 c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:B,u:Y,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},St={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},Et={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:E,H:k,I:k,j:M,L:S,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=Et[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),St.x=At(e,St),St.X=At(a,St),St.c=At(n,St),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(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 x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function B(t,n){return l(t.getSeconds(),n,2)}function Y(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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))}}},function(t,n,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={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()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(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}},n.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}i.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:Object(r.c)(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}},n.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-S:U>0&&(u=a-S),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-S*U,u=a+S*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,E=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],S=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(Y-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(S=Math.max(H-u,Math.min(V-w,S)),a=u+S,M=w+S);break;case d:L<0?(N=Math.max(Y-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(Y-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(S=Math.max(H-u,Math.min(V-u,S)),a=u+S,M=w):U>0&&(S=Math.max(H-w,Math.min(V-w,S)),a=u,M=w+S);break;case b:L&&(r=Math.max(Y,Math.min(X,e-N*L)),x=Math.max(Y,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-S*U)),M=Math.max(H,Math.min(V,w+S*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},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._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,e){"use strict";n.a=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]]}},function(t,n,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,l,h,f,s))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var S=e(349);e.d(n,"H",function(){return S.a}),e.d(n,"I",function(){return S.b});var E=e(350);e.d(n,"J",function(){return E.a}),e.d(n,"K",function(){return E.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function S(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=S,j.lineEnd=E},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function S(){j.point=A}function E(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),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:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}function f(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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},f(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(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())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return o.h=360*t-100,o.s=1.5-1.5*n,o.l=.8-.9*n,o+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,S=M-g,E=k-_,A=T-g,C=N-_;return S*S+E*E>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),S=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),E=S,A=S;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),D=o*Object(u.k)(w);if(S>u.f){var L=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,L,U,R,D):[R,D],Y=P-B[0],H=q-B[1],X=L-B[0],V=U-B[1],W=1/Object(u.k)(Object(u.b)((Y*X+H*V)/(Object(u.l)(Y*Y+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(B[0]*B[0]+B[1]*B[1]);E=Object(u.i)(S,(o-G)/(W-1)),A=Object(u.i)(S,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(L,U,R,D,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?E>u.f?(y=l(R,D,L,U,o,-E,_),m=l(P,q,F,I,o,-E,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),E0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=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 Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}i.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,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.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],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:i.a,areaEnd:i.a,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:Object(u.b)(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}},n.a=function t(n){function e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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:Object(i.b)(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}},n.a=function t(n){function e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.a,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))}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},o.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:c(this,this._t0,u(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.prototype=Object.create(o.prototype)).point=function(t,n){o.prototype.point.call(this,n,t)},f.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,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-1])/2,n=0;n=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}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,S=150,E=0;function A(t){t.property("__zoom",b).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",Y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rE}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464);function u(t,n){var e={};return t.forEach(function(t){var r=e;t.taxonomy.value.forEach(function(t){(null!==t||n.show_null_points)&&(r[t]=t in r?r[t]:{},r=r[t])}),r.__data=t}),{name:"root",children:function t(n,e){void 0===e&&(e=0);var r=[];for(var i in n)if("__data"!==i){var u={name:i,depth:e,children:t(n[i],e+1)};"__data"in n[i]&&(u.data=n[i].__data),r.push(u)}return r}(e,1),depth:0}}var c={id:"sunburst",label:"Sunburst",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]},color_by:{type:"string",label:"Color By",display:"select",values:[{"Color By Root":"byroot"},{"Color By Node":"bynode"}],default:"byroot"},show_null_points:{type:"boolean",label:"Plot Null Values",default:!0}},create:function(t,n){t.style.fontFamily='"Open Sans", "Helvetica", sans-serif',this.svg=r.select(t).append("svg")},update:function(t,n,e,c){if(Object(i.b)(this,c,{min_pivots:0,max_pivots:0,min_dimensions:1,max_dimensions:void 0,min_measures:1,max_measures:1})){var o=n.clientWidth,a=n.clientHeight,f=Math.min(o,a)/2-8,s=c.fields.dimension_like,l=c.fields.measure_like[0],h=Object(i.a)(l.value_format)||function(t){return t.toString()},d=r.scaleOrdinal().range(e.color_range);t.forEach(function(t){t.taxonomy={value:s.map(function(n){return t[n.name].value})}});var b=r.partition().size([2*Math.PI,f*f]),v=r.arc().startAngle(function(t){return t.x0}).endAngle(function(t){return t.x1}).innerRadius(function(t){return Math.sqrt(t.y0)}).outerRadius(function(t){return Math.sqrt(t.y1)}),p=this.svg.html("").attr("width","100%").attr("height","100%").append("g").attr("transform","translate("+o/2+","+a/2+")"),g=p.append("text").attr("y",-a/2+20).attr("x",-o/2+20),_=r.hierarchy(u(t,e)).sum(function(t){return"data"in t?t.data[l.name].value:0});b(_),p.selectAll("path").data(_.descendants()).enter().append("path").attr("d",v).style("fill",function(t){return 0===t.depth?"none":"bynode"===e.color_by?d(t.data.name):d(t.ancestors().map(function(t){return t.data.name}).slice(-2,-1))}).style("fill-opacity",function(t){return 1-.15*t.depth}).style("transition",function(t){return"fill-opacity 0.5s"}).style("stroke",function(t){return"#fff"}).style("stroke-width",function(t){return"0.5px"}).on("click",function(t){console.log(t)}).on("mouseenter",function(t){var n=t.ancestors().map(function(t){return t.data.name}).slice(0,-1).reverse().join("-");g.text(n+": "+h(t.value));var e=t.ancestors();p.selectAll("path").style("fill-opacity",function(t){return e.indexOf(t)>-1?1:.15})}).on("mouseleave",function(t){g.text(""),p.selectAll("path").style("fill-opacity",function(t){return 1-.15*t.depth})})}}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file diff --git a/src/examples/sunburst/sunburst.ts b/src/examples/sunburst/sunburst.ts index 967794d9..23ca29f9 100644 --- a/src/examples/sunburst/sunburst.ts +++ b/src/examples/sunburst/sunburst.ts @@ -72,6 +72,16 @@ const vis: SunburstVisualization = { display: 'colors', default: ['#dd3333', '#80ce5d', '#f78131', '#369dc1', '#c572d3', '#36c1b3', '#b57052', '#ed69af'] }, + color_by: { + type: 'string', + label: 'Color By', + display: 'select', + values: [ + {"Color By Root": "byroot"}, + {"Color By Node": "bynode"} + ], + default: "byroot" + }, show_null_points: { type: 'boolean', label: 'Plot Null Values', @@ -142,7 +152,12 @@ const vis: SunburstVisualization = { .attr('d', arc) .style('fill', (d: any) => { if (d.depth === 0) return 'none' - return color(d.ancestors().map((p: any) => p.data.name).slice(-2, -1)) + if (config.color_by === 'bynode') { + return color(d.data.name) + } else { + return color(d.ancestors().map((p: any) => p.data.name).slice(-2, -1)) + } + }) .style('fill-opacity', (d: any) => 1 - d.depth * 0.15) .style('transition', (d: any) => 'fill-opacity 0.5s') From e21b21d930d8b4c1164608d228a78f77a1a1f3c8 Mon Sep 17 00:00:00 2001 From: Richard Czechowski Date: Fri, 3 May 2019 10:06:42 -0700 Subject: [PATCH 2/2] clean up node/row work, add drills, fix console error on load, fix unused param --- dist/sunburst.js | 2 +- src/examples/sunburst/sunburst.ts | 48 +++++++++++++++++++++++-------- src/examples/types/types.ts | 1 + 3 files changed, 38 insertions(+), 13 deletions(-) diff --git a/dist/sunburst.js b/dist/sunburst.js index 073cbf4b..783f506f 100644 --- a/dist/sunburst.js +++ b/dist/sunburst.js @@ -1 +1 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sunburst=n():t.sunburst=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=503)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var S=e(190);e.d(n,"E",function(){return S.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),S=e(225),E=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:S.a,datum:E.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,S*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(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(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=S,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(S(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function S(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,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()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({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"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.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:u(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}},n.a=function t(n){function e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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}},function(t,n,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.a,"%":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 Object(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,S=g*x;if(c.add(Object(u.e)(S*k*Object(u.t)(T),_*w+S*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var E=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(E);var A=Object(i.c)(o,E);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(E[0]||E[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(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])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(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 c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:B,u:Y,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},St={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},Et={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:E,H:k,I:k,j:M,L:S,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=Et[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),St.x=At(e,St),St.X=At(a,St),St.c=At(n,St),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(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 x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function B(t,n){return l(t.getSeconds(),n,2)}function Y(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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))}}},function(t,n,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={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()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(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}},n.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}i.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:Object(r.c)(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}},n.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-S:U>0&&(u=a-S),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-S*U,u=a+S*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,E=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],S=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(Y-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(S=Math.max(H-u,Math.min(V-w,S)),a=u+S,M=w+S);break;case d:L<0?(N=Math.max(Y-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(Y-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(S=Math.max(H-u,Math.min(V-u,S)),a=u+S,M=w):U>0&&(S=Math.max(H-w,Math.min(V-w,S)),a=u,M=w+S);break;case b:L&&(r=Math.max(Y,Math.min(X,e-N*L)),x=Math.max(Y,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-S*U)),M=Math.max(H,Math.min(V,w+S*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},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._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,e){"use strict";n.a=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]]}},function(t,n,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,l,h,f,s))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var S=e(349);e.d(n,"H",function(){return S.a}),e.d(n,"I",function(){return S.b});var E=e(350);e.d(n,"J",function(){return E.a}),e.d(n,"K",function(){return E.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function S(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=S,j.lineEnd=E},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function S(){j.point=A}function E(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),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:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}function f(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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},f(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(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())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return o.h=360*t-100,o.s=1.5-1.5*n,o.l=.8-.9*n,o+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,S=M-g,E=k-_,A=T-g,C=N-_;return S*S+E*E>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),S=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),E=S,A=S;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),D=o*Object(u.k)(w);if(S>u.f){var L=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,L,U,R,D):[R,D],Y=P-B[0],H=q-B[1],X=L-B[0],V=U-B[1],W=1/Object(u.k)(Object(u.b)((Y*X+H*V)/(Object(u.l)(Y*Y+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(B[0]*B[0]+B[1]*B[1]);E=Object(u.i)(S,(o-G)/(W-1)),A=Object(u.i)(S,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(L,U,R,D,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?E>u.f?(y=l(R,D,L,U,o,-E,_),m=l(P,q,F,I,o,-E,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),E0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=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 Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}i.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,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.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],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:i.a,areaEnd:i.a,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:Object(u.b)(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}},n.a=function t(n){function e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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:Object(i.b)(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}},n.a=function t(n){function e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.a,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))}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},o.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:c(this,this._t0,u(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.prototype=Object.create(o.prototype)).point=function(t,n){o.prototype.point.call(this,n,t)},f.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,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-1])/2,n=0;n=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}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,S=150,E=0;function A(t){t.property("__zoom",b).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",Y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rE}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464);function u(t,n){var e={};return t.forEach(function(t){var r=e;t.taxonomy.value.forEach(function(t){(null!==t||n.show_null_points)&&(r[t]=t in r?r[t]:{},r=r[t])}),r.__data=t}),{name:"root",children:function t(n,e){void 0===e&&(e=0);var r=[];for(var i in n)if("__data"!==i){var u={name:i,depth:e,children:t(n[i],e+1)};"__data"in n[i]&&(u.data=n[i].__data),r.push(u)}return r}(e,1),depth:0}}var c={id:"sunburst",label:"Sunburst",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]},color_by:{type:"string",label:"Color By",display:"select",values:[{"Color By Root":"byroot"},{"Color By Node":"bynode"}],default:"byroot"},show_null_points:{type:"boolean",label:"Plot Null Values",default:!0}},create:function(t,n){t.style.fontFamily='"Open Sans", "Helvetica", sans-serif',this.svg=r.select(t).append("svg")},update:function(t,n,e,c){if(Object(i.b)(this,c,{min_pivots:0,max_pivots:0,min_dimensions:1,max_dimensions:void 0,min_measures:1,max_measures:1})){var o=n.clientWidth,a=n.clientHeight,f=Math.min(o,a)/2-8,s=c.fields.dimension_like,l=c.fields.measure_like[0],h=Object(i.a)(l.value_format)||function(t){return t.toString()},d=r.scaleOrdinal().range(e.color_range);t.forEach(function(t){t.taxonomy={value:s.map(function(n){return t[n.name].value})}});var b=r.partition().size([2*Math.PI,f*f]),v=r.arc().startAngle(function(t){return t.x0}).endAngle(function(t){return t.x1}).innerRadius(function(t){return Math.sqrt(t.y0)}).outerRadius(function(t){return Math.sqrt(t.y1)}),p=this.svg.html("").attr("width","100%").attr("height","100%").append("g").attr("transform","translate("+o/2+","+a/2+")"),g=p.append("text").attr("y",-a/2+20).attr("x",-o/2+20),_=r.hierarchy(u(t,e)).sum(function(t){return"data"in t?t.data[l.name].value:0});b(_),p.selectAll("path").data(_.descendants()).enter().append("path").attr("d",v).style("fill",function(t){return 0===t.depth?"none":"bynode"===e.color_by?d(t.data.name):d(t.ancestors().map(function(t){return t.data.name}).slice(-2,-1))}).style("fill-opacity",function(t){return 1-.15*t.depth}).style("transition",function(t){return"fill-opacity 0.5s"}).style("stroke",function(t){return"#fff"}).style("stroke-width",function(t){return"0.5px"}).on("click",function(t){console.log(t)}).on("mouseenter",function(t){var n=t.ancestors().map(function(t){return t.data.name}).slice(0,-1).reverse().join("-");g.text(n+": "+h(t.value));var e=t.ancestors();p.selectAll("path").style("fill-opacity",function(t){return e.indexOf(t)>-1?1:.15})}).on("mouseleave",function(t){g.text(""),p.selectAll("path").style("fill-opacity",function(t){return 1-.15*t.depth})})}}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sunburst=n():t.sunburst=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=503)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var S=e(190);e.d(n,"E",function(){return S.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),S=e(225),E=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:S.a,datum:E.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,S*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(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(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=S,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(S(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function S(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,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()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({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"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.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:u(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}},n.a=function t(n){function e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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}},function(t,n,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.a,"%":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 Object(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,S=g*x;if(c.add(Object(u.e)(S*k*Object(u.t)(T),_*w+S*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var E=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(E);var A=Object(i.c)(o,E);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(E[0]||E[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(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])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(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 c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},St={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},Et={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:E,H:k,I:k,j:M,L:S,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=Et[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),St.x=At(e,St),St.X=At(a,St),St.c=At(n,St),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(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 x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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))}}},function(t,n,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={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()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(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}},n.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}i.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:Object(r.c)(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}},n.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-S:U>0&&(u=a-S),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-S*U,u=a+S*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,E=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],S=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(B-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(S=Math.max(H-u,Math.min(V-w,S)),a=u+S,M=w+S);break;case d:L<0?(N=Math.max(B-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(B-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(S=Math.max(H-u,Math.min(V-u,S)),a=u+S,M=w):U>0&&(S=Math.max(H-w,Math.min(V-w,S)),a=u,M=w+S);break;case b:L&&(r=Math.max(B,Math.min(X,e-N*L)),x=Math.max(B,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-S*U)),M=Math.max(H,Math.min(V,w+S*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},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._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,e){"use strict";n.a=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]]}},function(t,n,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,l,h,f,s))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var S=e(349);e.d(n,"H",function(){return S.a}),e.d(n,"I",function(){return S.b});var E=e(350);e.d(n,"J",function(){return E.a}),e.d(n,"K",function(){return E.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function S(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=S,j.lineEnd=E},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function S(){j.point=A}function E(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),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:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}function f(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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},f(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(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())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.a)(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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(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},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return o.h=360*t-100,o.s=1.5-1.5*n,o.l=.8-.9*n,o+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,S=M-g,E=k-_,A=T-g,C=N-_;return S*S+E*E>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),S=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),E=S,A=S;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),D=o*Object(u.k)(w);if(S>u.f){var L=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,L,U,R,D):[R,D],B=P-Y[0],H=q-Y[1],X=L-Y[0],V=U-Y[1],W=1/Object(u.k)(Object(u.b)((B*X+H*V)/(Object(u.l)(B*B+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(Y[0]*Y[0]+Y[1]*Y[1]);E=Object(u.i)(S,(o-G)/(W-1)),A=Object(u.i)(S,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(L,U,R,D,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?E>u.f?(y=l(R,D,L,U,o,-E,_),m=l(P,q,F,I,o,-E,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),E0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=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 Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,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:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}i.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,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.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],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:i.a,areaEnd:i.a,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:Object(u.b)(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}},n.a=function t(n){function e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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:Object(i.b)(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}},n.a=function t(n){function e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.a,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))}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},o.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:c(this,this._t0,u(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.prototype=Object.create(o.prototype)).point=function(t,n){o.prototype.point.call(this,n,t)},f.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,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-1])/2,n=0;n=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}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,S=150,E=0;function A(t){t.property("__zoom",b).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rE}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464),u="node",c="root";function o(t,n){var e={};return t.forEach(function(t){var r=e;t.taxonomy.value.forEach(function(t){(null!==t||n.show_null_points)&&(r[t]=t in r?r[t]:{},r=r[t])}),r.__data=t}),{name:"root",children:function t(n,e){void 0===e&&(e=0);var r=[];for(var i in n)if("__data"!==i){var u={name:i,depth:e,children:t(n[i],e+1)};"__data"in n[i]&&(u.data=n[i].__data,u.links=n[i].__data.taxonomy.links),r.push(u)}return r}(e,1),depth:0}}var a={id:"sunburst",label:"Sunburst",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]},color_by:{type:"string",label:"Color By",display:"select",values:[{"Color By Root":c},{"Color By Node":u}],default:c},show_null_points:{type:"boolean",label:"Plot Null Values",default:!0}},create:function(t,n){t.style.fontFamily='"Open Sans", "Helvetica", sans-serif',this.svg=r.select(t).append("svg")},update:function(t,n,e,c){if(Object(i.b)(this,c,{min_pivots:0,max_pivots:0,min_dimensions:1,max_dimensions:void 0,min_measures:1,max_measures:1})){var a=n.clientWidth,f=n.clientHeight,s=Math.min(a,f)/2-8,l=c.fields.dimension_like,h=c.fields.measure_like[0],d=Object(i.a)(h.value_format)||function(t){return t.toString()},b=r.scaleOrdinal().range(e.color_range||[]);t.forEach(function(t){t.taxonomy={links:function(t){return Object.keys(t).reduce(function(n,e){if(t[e].links){var r=t[e].links;return n.concat(r)}return n},[])}(t),value:l.map(function(n){return t[n.name].value})}});var v=r.partition().size([2*Math.PI,s*s]),p=r.arc().startAngle(function(t){return t.x0}).endAngle(function(t){return t.x1}).innerRadius(function(t){return Math.sqrt(t.y0)}).outerRadius(function(t){return Math.sqrt(t.y1)}),g=this.svg.html("").attr("width","100%").attr("height","100%").append("g").attr("transform","translate("+a/2+","+f/2+")"),_=g.append("text").attr("y",-f/2+20).attr("x",-a/2+20),y=r.hierarchy(o(t,e)).sum(function(t){return"data"in t?t.data[h.name].value:0});v(y),g.selectAll("path").data(y.descendants()).enter().append("path").attr("d",p).style("fill",function(t){return 0===t.depth?"none":e.color_by===u?b(t.data.name):b(t.ancestors().map(function(t){return t.data.name}).slice(-2,-1))}).style("fill-opacity",function(t){return 1-.15*t.depth}).style("transition",function(t){return"fill-opacity 0.5s"}).style("stroke",function(t){return"#fff"}).style("stroke-width",function(t){return"0.5px"}).on("click",function(t){var n={pageX:r.event.pageX,pageY:r.event.pageY};LookerCharts.Utils.openDrillMenu({links:t.data.links,event:n})}).on("mouseenter",function(t){var n=t.ancestors().map(function(t){return t.data.name}).slice(0,-1).reverse().join("-");_.text(n+": "+d(t.value));var e=t.ancestors();g.selectAll("path").style("fill-opacity",function(t){return e.indexOf(t)>-1?1:.15})}).on("mouseleave",function(t){_.text(""),g.selectAll("path").style("fill-opacity",function(t){return 1-.15*t.depth})})}}};looker.plugins.visualizations.add(a)}])}); \ No newline at end of file diff --git a/src/examples/sunburst/sunburst.ts b/src/examples/sunburst/sunburst.ts index 23ca29f9..27b83aa9 100644 --- a/src/examples/sunburst/sunburst.ts +++ b/src/examples/sunburst/sunburst.ts @@ -2,14 +2,22 @@ import * as d3 from 'd3' import { formatType, handleErrors } from '../common/utils' import { - Row, + Link, Looker, - VisualizationDefinition, - VisConfig + LookerChartUtils, + Row, + VisConfig, + VisualizationDefinition } from '../types/types' // Global values provided via the API declare var looker: Looker +declare var LookerCharts: LookerChartUtils + +const colorBy = { + NODE: 'node', + ROOT: 'root' +} interface SunburstVisualization extends VisualizationDefinition { svg?: any, @@ -29,6 +37,7 @@ function descend(obj: any, depth: number = 0) { } if ('__data' in obj[k]) { child.data = obj[k].__data + child.links = obj[k].__data.taxonomy.links } arr.push(child) } @@ -62,6 +71,17 @@ function burrow(table: Row[], config: VisConfig) { } } +const getLinksFromRow = (row: Row): Link[] => { + return Object.keys(row).reduce((links: Link[], datum) => { + if (row[datum].links) { + const datumLinks = row[datum].links as Link[] + return links.concat(datumLinks) + } else { + return links + } + }, []) +} + const vis: SunburstVisualization = { id: 'sunburst', // id/label not required, but nice for testing and keeping manifests in sync label: 'Sunburst', @@ -77,10 +97,10 @@ const vis: SunburstVisualization = { label: 'Color By', display: 'select', values: [ - {"Color By Root": "byroot"}, - {"Color By Node": "bynode"} + { 'Color By Root': colorBy.ROOT }, + { 'Color By Node': colorBy.NODE } ], - default: "byroot" + default: colorBy.ROOT }, show_null_points: { type: 'boolean', @@ -89,7 +109,7 @@ const vis: SunburstVisualization = { } }, // Set up the initial state of the visualization - create(element, config) { + create(element, _config) { element.style.fontFamily = `"Open Sans", "Helvetica", sans-serif` this.svg = d3.select(element).append('svg') }, @@ -110,10 +130,11 @@ const vis: SunburstVisualization = { const format = formatType(measure.value_format) || ((s: any): string => s.toString()) const colorScale: d3.ScaleOrdinal = d3.scaleOrdinal() - const color = colorScale.range(config.color_range) + const color = colorScale.range(config.color_range || []) data.forEach(row => { row.taxonomy = { + links: getLinksFromRow(row), value: dimensions.map((dimension) => row[dimension.name].value) } }) @@ -152,19 +173,22 @@ const vis: SunburstVisualization = { .attr('d', arc) .style('fill', (d: any) => { if (d.depth === 0) return 'none' - if (config.color_by === 'bynode') { + if (config.color_by === colorBy.NODE) { return color(d.data.name) } else { return color(d.ancestors().map((p: any) => p.data.name).slice(-2, -1)) } - }) .style('fill-opacity', (d: any) => 1 - d.depth * 0.15) .style('transition', (d: any) => 'fill-opacity 0.5s') .style('stroke', (d: any) => '#fff') .style('stroke-width', (d: any) => '0.5px') - .on('click', (d: any) => { - console.log(d) + .on('click', function (this: any, d: any) { + const event: object = { pageX: d3.event.pageX, pageY: d3.event.pageY } + LookerCharts.Utils.openDrillMenu({ + links: d.data.links, + event: event + }) }) .on('mouseenter', (d: any) => { const ancestorText = ( diff --git a/src/examples/types/types.ts b/src/examples/types/types.ts index 2897f4a2..b8dddf22 100644 --- a/src/examples/types/types.ts +++ b/src/examples/types/types.ts @@ -111,6 +111,7 @@ export interface VisOption { max?: number step?: number required?: boolean + supports?: string[] } export interface VisualizationError {