From 31d30506cd37cc44a0945e66776b30b871b58ad9 Mon Sep 17 00:00:00 2001 From: Richard Czechowski Date: Tue, 5 Mar 2019 14:01:32 -0800 Subject: [PATCH 1/2] Fix linting tests broken in /pull/77 --- dist/subtotal.js | 6 +++--- src/examples/sankey/sankey.ts | 4 ++-- src/examples/sunburst/sunburst.ts | 2 +- yarn.lock | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/dist/subtotal.js b/dist/subtotal.js index aed70cd8..cc3e9696 100644 --- a/dist/subtotal.js +++ b/dist/subtotal.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.subtotal=t():e.subtotal=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=508)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>1?i:e<-1?-i:Math.asin(e)},t.haversin=function(e){return(e=o(e/2))*e};t.epsilon=1e-6,t.epsilon2=1e-12;var r=t.pi=Math.PI,i=t.halfPi=r/2,o=(t.quarterPi=r/4,t.tau=2*r,t.degrees=180/r,t.radians=r/180,t.abs=Math.abs,t.atan=Math.atan,t.atan2=Math.atan2,t.cos=Math.cos,t.ceil=Math.ceil,t.exp=Math.exp,t.floor=Math.floor,t.log=Math.log,t.pow=Math.pow,t.sin=Math.sin);t.sign=Math.sign||function(e){return e>0?1:e<0?-1:0},t.sqrt=Math.sqrt,t.tan=Math.tan},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.defineProperty(t,"create",{enumerable:!0,get:function(){return x(r).default}});var i=n(33);Object.defineProperty(t,"creator",{enumerable:!0,get:function(){return x(i).default}});var o=n(228);Object.defineProperty(t,"local",{enumerable:!0,get:function(){return x(o).default}});var u=n(104);Object.defineProperty(t,"matcher",{enumerable:!0,get:function(){return x(u).default}});var a=n(229);Object.defineProperty(t,"mouse",{enumerable:!0,get:function(){return x(a).default}});var l=n(52);Object.defineProperty(t,"namespace",{enumerable:!0,get:function(){return x(l).default}});var s=n(53);Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return x(s).default}});var c=n(34);Object.defineProperty(t,"clientPoint",{enumerable:!0,get:function(){return x(c).default}});var f=n(102);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return x(f).default}});var d=n(230);Object.defineProperty(t,"selectAll",{enumerable:!0,get:function(){return x(d).default}});var h=n(4);Object.defineProperty(t,"selection",{enumerable:!0,get:function(){return x(h).default}});var p=n(54);Object.defineProperty(t,"selector",{enumerable:!0,get:function(){return x(p).default}});var v=n(103);Object.defineProperty(t,"selectorAll",{enumerable:!0,get:function(){return x(v).default}});var y=n(107);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return y.styleValue}});var g=n(231);Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return x(g).default}});var b=n(232);Object.defineProperty(t,"touches",{enumerable:!0,get:function(){return x(b).default}});var _=n(55);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return x(_).default}});var m=n(56);function x(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"event",{enumerable:!0,get:function(){return m.event}}),Object.defineProperty(t,"customEvent",{enumerable:!0,get:function(){return m.customEvent}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,o,u){function a(e){return t(e=new Date(+e)),e}a.floor=a;a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e};a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return u;do{u.push(o=new Date(+e)),n(e,i),t(e)}while(o=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})};o&&(a.count=function(e,n){return r.setTime(+e),i.setTime(+n),t(r),t(i),Math.floor(o(r,i))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(u?function(t){return u(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null});return a};var r=new Date,i=new Date},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90);Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return k(r).default}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return r.bisectRight}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return r.bisectLeft}});var i=n(17);Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return k(i).default}});var o=n(91);Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return k(o).default}});var u=n(175);Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return k(u).default}});var a=n(176);Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return k(a).default}});var l=n(93);Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return k(l).default}});var s=n(95);Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return k(s).default}});var c=n(177);Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return k(c).default}});var f=n(180);Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return k(f).default}});var d=n(181);Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return k(d).default}});var h=n(99);Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return k(h).default}});var p=n(182);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return k(p).default}});var v=n(183);Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return k(v).default}});var y=n(184);Object.defineProperty(t,"median",{enumerable:!0,get:function(){return k(y).default}});var g=n(185);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return k(g).default}});var b=n(100);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return k(b).default}});var _=n(92);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return k(_).default}});var m=n(186);Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return k(m).default}});var x=n(50);Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return k(x).default}});var w=n(97);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return k(w).default}});var M=n(187);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return k(M).default}});var O=n(188);Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return k(O).default}});var P=n(189);Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return k(P).default}});var j=n(98);Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return k(j).default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return j.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return j.tickStep}});var T=n(101);Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return k(T).default}});var C=n(94);Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return k(C).default}});var S=n(190);function k(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return k(S).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0,t.Selection=R;var r=N(n(200)),i=N(n(201)),o=N(n(202)),u=N(n(203)),a=N(n(105)),l=N(n(205)),s=N(n(206)),c=N(n(207)),f=N(n(208)),d=N(n(209)),h=N(n(210)),p=N(n(211)),v=N(n(212)),y=N(n(213)),g=N(n(214)),b=N(n(215)),_=N(n(107)),m=N(n(216)),x=N(n(217)),w=N(n(218)),M=N(n(219)),O=N(n(220)),P=N(n(221)),j=N(n(222)),T=N(n(223)),C=N(n(224)),S=N(n(225)),k=N(n(226)),A=N(n(56)),E=N(n(227));function N(e){return e&&e.__esModule?e:{default:e}}var D=t.root=[null];function R(e,t){this._groups=e,this._parents=t}function L(){return new R([[document.documentElement]],D)}R.prototype=L.prototype={constructor:R,select:r.default,selectAll:i.default,filter:o.default,data:u.default,enter:a.default,exit:l.default,merge:s.default,order:c.default,sort:f.default,call:d.default,nodes:h.default,node:p.default,size:v.default,empty:y.default,each:g.default,attr:b.default,style:_.default,property:m.default,classed:x.default,text:w.default,html:M.default,raise:O.default,lower:P.default,append:j.default,insert:T.default,remove:C.default,clone:S.default,datum:k.default,on:A.default,dispatch:E.default},t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58);Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return m(r).default}});var i=n(114);Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return m(i).default}});var o=n(61);Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return m(o).default}});var u=n(112);Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return m(u).default}});var a=n(115);Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return m(a).default}});var l=n(35);Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return m(l).default}});var s=n(116);Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return m(s).default}});var c=n(237);Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return m(c).default}});var f=n(117);Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return m(f).default}});var d=n(238);Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return d.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return d.interpolateTransformSvg}});var h=n(241);Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return m(h).default}});var p=n(111);Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return m(p).default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return p.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return p.rgbBasisClosed}});var v=n(242);Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return m(v).default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return v.hslLong}});var y=n(243);Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return m(y).default}});var g=n(244);Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return m(g).default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return g.hclLong}});var b=n(245);Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return m(b).default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return b.cubehelixLong}});var _=n(246);function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return m(_).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENDED=t.ENDING=t.RUNNING=t.STARTED=t.STARTING=t.SCHEDULED=t.CREATED=void 0,t.default=function(e,t,n,r,p,v){var y=e.__transition;if(y){if(n in y)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function u(d){var v,y,g,b;if(n.state!==l)return p();for(v in o)if((b=o[v]).name===n.name){if(b.state===c)return(0,i.timeout)(u);b.state===f?(b.state=h,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete o[v]):+va)throw new Error("too late; already scheduled");return n},t.set=function(e,t){var n=p(e,t);if(n.state>s)throw new Error("too late; already started");return n},t.get=p;var r=n(12),i=n(37),o=(0,r.dispatch)("start","end","interrupt"),u=[],a=t.CREATED=0,l=t.SCHEDULED=1,s=t.STARTING=2,c=t.STARTED=3,f=t.RUNNING=4,d=t.ENDING=5,h=t.ENDED=6;function p(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59);Object.defineProperty(t,"color",{enumerable:!0,get:function(){return u(r).default}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return r.rgb}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return r.hsl}});var i=n(235);Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return u(i).default}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return i.hcl}});var o=n(236);function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return u(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return v(function(){return e})()},t.projectionMutator=v;var r=h(n(130)),i=h(n(136)),o=h(n(40)),u=h(n(129)),a=h(n(72)),l=n(0),s=n(39),c=n(41),f=n(75),d=h(n(340));function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,c.transformer)({point:function(e,t){this.stream.point(e*l.radians,t*l.radians)}});function v(e){var t,n,h,v,y,g,b,_,m,x,w=150,M=480,O=250,P=0,j=0,T=0,C=0,S=0,k=null,A=r.default,E=null,N=a.default,D=.5,R=(0,d.default)(I,D);function L(e){return[(e=y(e[0]*l.radians,e[1]*l.radians))[0]*w+n,h-e[1]*w]}function q(e){return(e=y.invert((e[0]-n)/w,(h-e[1])/w))&&[e[0]*l.degrees,e[1]*l.degrees]}function I(e,r){return[(e=t(e,r))[0]*w+n,h-e[1]*w]}function H(){y=(0,u.default)(v=(0,s.rotateRadians)(T,C,S),t);var e=t(P,j);return n=M-e[0]*w,h=O+e[1]*w,F()}function F(){return m=x=null,L}return L.stream=function(e){return m&&x===e?m:m=p(function(e){return(0,c.transformer)({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(v)(A(R(N(x=e)))))},L.preclip=function(e){return arguments.length?(A=e,k=void 0,F()):A},L.postclip=function(e){return arguments.length?(N=e,E=g=b=_=null,F()):N},L.clipAngle=function(e){return arguments.length?(A=+e?(0,i.default)(k=e*l.radians):(k=null,r.default),F()):k*l.degrees},L.clipExtent=function(e){return arguments.length?(N=null==e?(E=g=b=_=null,a.default):(0,o.default)(E=+e[0][0],g=+e[0][1],b=+e[1][0],_=+e[1][1]),F()):null==E?null:[[E,g],[b,_]]},L.scale=function(e){return arguments.length?(w=+e,H()):w},L.translate=function(e){return arguments.length?(M=+e[0],O=+e[1],H()):[M,O]},L.center=function(e){return arguments.length?(P=e[0]%360*l.radians,j=e[1]%360*l.radians,H()):[P*l.degrees,j*l.degrees]},L.rotate=function(e){return arguments.length?(T=e[0]%360*l.radians,C=e[1]%360*l.radians,S=e.length>2?e[2]%360*l.radians:0,H()):[T*l.degrees,C*l.degrees,S*l.degrees]},L.precision=function(e){return arguments.length?(R=(0,d.default)(I,D=e*e),F()):(0,l.sqrt)(D)},L.fitExtent=function(e,t){return(0,f.fitExtent)(L,e,t)},L.fitSize=function(e,t){return(0,f.fitSize)(L,e,t)},L.fitWidth=function(e,t){return(0,f.fitWidth)(L,e,t)},L.fitHeight=function(e,t){return(0,f.fitHeight)(L,e,t)},function(){return t=e.apply(this,arguments),L.invert=t.invert&&q,H()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.durationSecond=1e3,t.durationMinute=6e4,t.durationHour=36e5,t.durationDay=864e5,t.durationWeek=6048e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=M,t.default=O,t.newId=function(){return++w};var r=n(1),i=x(n(247)),o=x(n(250)),u=x(n(251)),a=x(n(252)),l=x(n(253)),s=x(n(254)),c=x(n(255)),f=x(n(256)),d=x(n(257)),h=x(n(258)),p=x(n(259)),v=x(n(260)),y=x(n(261)),g=x(n(262)),b=x(n(263)),_=x(n(264)),m=x(n(36));function x(e){return e&&e.__esModule?e:{default:e}}var w=0;function M(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function O(e){return(0,r.selection)().transition(e)}var P=r.selection.prototype;M.prototype=O.prototype={constructor:M,select:h.default,selectAll:p.default,filter:s.default,merge:c.default,selection:v.default,transition:_.default,call:P.call,nodes:P.nodes,node:P.node,size:P.size,empty:P.empty,each:P.each,on:f.default,attr:i.default,attrTween:o.default,style:y.default,styleTween:g.default,text:b.default,remove:d.default,tween:m.default,delay:u.default,duration:a.default,ease:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(197);Object.defineProperty(t,"dispatch",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287);Object.defineProperty(t,"path",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";function r(e,t){e&&o.hasOwnProperty(e.type)&&o[e.type](e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&i.hasOwnProperty(e.type)?i[e.type](e,t):r(e,t)};var i={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,i=-1,o=n.length;++it?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(){this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){o(i,e,this.t),o(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 o(e,t,n){var r=e.s=t+n,i=r-t,o=r-i;e.t=t-o+(n-i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(288);Object.defineProperty(t,"nest",{enumerable:!0,get:function(){return s(r).default}});var i=n(289);Object.defineProperty(t,"set",{enumerable:!0,get:function(){return s(i).default}});var o=n(64);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return s(o).default}});var u=n(290);Object.defineProperty(t,"keys",{enumerable:!0,get:function(){return s(u).default}});var a=n(291);Object.defineProperty(t,"values",{enumerable:!0,get:function(){return s(a).default}});var l=n(292);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"entries",{enumerable:!0,get:function(){return s(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hue=function(e,t){var n=t-e;return n?u(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,o.default)(isNaN(e)?t:e)},t.gamma=function(e){return 1==(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,o.default)(isNaN(t)?n:t)}},t.default=a;var r,i=n(113),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?u(e,n):(0,o.default)(isNaN(e)?t:e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spherical=function(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]},t.cartesian=function(e){var t=e[0],n=e[1],i=(0,r.cos)(n);return[i*(0,r.cos)(t),i*(0,r.sin)(t),(0,r.sin)(n)]},t.cartesianDot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},t.cartesianCross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},t.cartesianAddInPlace=function(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]},t.cartesianScale=function(e,t){return[e[0]*t,e[1]*t,e[2]*t]},t.cartesianNormalizeInPlace=function(e){var t=(0,r.sqrt)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.azimuthalRaw=function(e){return function(t,n){var i=(0,r.cos)(t),o=(0,r.cos)(n),u=e(i*o);return[u*o*(0,r.sin)(t),u*(0,r.sin)(n)]}},t.azimuthalInvert=function(e){return function(t,n){var i=(0,r.sqrt)(t*t+n*n),o=e(i),u=(0,r.sin)(o),a=(0,r.cos)(o);return[(0,r.atan2)(t*u,i*a),(0,r.asin)(i&&n*u/i)]}};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){for(var o,u=e.children,a=-1,l=u.length,s=e.value&&(r-t)/e.value;++a0?(l=Math.floor(l/i)*i,s=Math.ceil(s/i)*i,i=(0,r.tickIncrement)(l,s,n)):i<0&&(l=Math.ceil(l*i)/i,s=Math.floor(s*i)/i,i=(0,r.tickIncrement)(l,s,n)),i>0?(o[u]=Math.floor(l/i)*i,o[a]=Math.ceil(s/i)*i,t(o)):i<0&&(o[u]=Math.ceil(l*i)/i,o[a]=Math.floor(s*i)/i,t(o)),e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>=1?i:e<=-1?-i:Math.asin(e)};t.abs=Math.abs,t.atan2=Math.atan2,t.cos=Math.cos,t.max=Math.max,t.min=Math.min,t.sin=Math.sin,t.sqrt=Math.sqrt,t.epsilon=1e-12;var r=t.pi=Math.PI,i=t.halfPi=r/2;t.tau=2*r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((i=e.length)>1)for(var n,r,i,o=1,u=e[t[0]],a=u.length;o=0;)n[t]=t;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edges=t.circles=t.cells=t.beaches=t.epsilon2=t.epsilon=void 0,t.default=h;var r,i=n(458),o=n(169),u=n(170),a=n(89),l=n(88),s=(r=l)&&r.__esModule?r:{default:r};t.epsilon=1e-6,t.epsilon2=1e-12,t.beaches=void 0;var c=t.cells=void 0,f=(t.circles=void 0,t.edges=void 0);function d(e,t){return t[1]-e[1]||t[0]-e[0]}function h(e,n){var r,l,h,p=e.sort(d).pop();for(t.edges=f=[],t.cells=c=new Array(e.length),t.beaches=new s.default,t.circles=new s.default;;)if(h=u.firstCircle,p&&(!h||p[1]=a)return null;var l=e-i.site[0],s=t-i.site[1],c=l*l+s*s;do{i=o.cells[r=u],u=null,i.halfedges.forEach(function(n){var r=o.edges[n],a=r.left;if(a!==i.site&&a||(a=r.right)){var l=e-a[0],s=t-a[1],f=l*l+s*s;f2?e[2]*u.radians:0),t.invert=function(t){return(t=e.invert(t[0]*u.radians,t[1]*u.radians))[0]*=u.degrees,t[1]*=u.degrees,t},t};var r,i=n(129),o=(r=i)&&r.__esModule?r:{default:r},u=n(0);function a(e,t){return[e>u.pi?e-u.tau:e<-u.pi?e+u.tau:e,t]}function l(e,t,n){return(e%=u.tau)?t||n?(0,o.default)(c(e),f(t,n)):c(e):t||n?f(t,n):a}function s(e){return function(t,n){return[(t+=e)>u.pi?t-u.tau:t<-u.pi?t+u.tau:t,n]}}function c(e){var t=s(e);return t.invert=s(-e),t}function f(e,t){var n=(0,u.cos)(e),r=(0,u.sin)(e),i=(0,u.cos)(t),o=(0,u.sin)(t);function a(e,t){var a=(0,u.cos)(t),l=(0,u.cos)(e)*a,s=(0,u.sin)(e)*a,c=(0,u.sin)(t),f=c*n+l*r;return[(0,u.atan2)(s*i-f*o,l*n-c*r),(0,u.asin)(f*i+s*o)]}return a.invert=function(e,t){var a=(0,u.cos)(t),l=(0,u.cos)(e)*a,s=(0,u.sin)(e)*a,c=(0,u.sin)(t),f=c*i-s*o;return[(0,u.atan2)(s*i+c*o,l*n+f*r),(0,u.asin)(f*n-l*r)]},a}a.invert=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){function f(r,i){return e<=r&&r<=n&&t<=i&&i<=l}function d(r,i,o,u){var a=0,s=0;if(null==r||(a=h(r,o))!==(s=h(i,o))||v(r,i)<0^o>0)do{u.point(0===a||3===a?e:n,a>1?l:t)}while((a=(a+o+4)%4)!==s);else u.point(i[0],i[1])}function h(i,o){return(0,r.abs)(i[0]-e)0?0:3:(0,r.abs)(i[0]-n)0?2:1:(0,r.abs)(i[1]-t)0?1:0:o>0?3:2}function p(e,t){return v(e.x,t.x)}function v(e,t){var n=h(e,1),r=h(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(r){var h,v,y,g,b,_,m,x,w,M,O,P=r,j=(0,i.default)(),T={point:C,lineStart:function(){T.point=S,v&&v.push(y=[]);M=!0,w=!1,m=x=NaN},lineEnd:function(){h&&(S(g,b),_&&w&&j.rejoin(),h.push(j.result()));T.point=C,w&&P.lineEnd()},polygonStart:function(){P=j,h=[],v=[],O=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,r=v.length;nl&&(f-i)*(l-o)>(d-o)*(e-i)&&++t:d<=l&&(f-i)*(l-o)<(d-o)*(e-i)&&--t;return t}(),n=O&&t,i=(h=(0,a.merge)(h)).length;(n||i)&&(r.polygonStart(),n&&(r.lineStart(),d(null,null,1,r),r.lineEnd()),i&&(0,u.default)(h,p,t,d,r),r.polygonEnd());P=r,h=v=y=null}};function C(e,t){f(e,t)&&P.point(e,t)}function S(r,i){var u=f(r,i);if(v&&y.push([r,i]),M)g=r,b=i,_=u,M=!1,u&&(P.lineStart(),P.point(r,i));else if(u&&w)P.point(r,i);else{var a=[m=Math.max(c,Math.min(s,m)),x=Math.max(c,Math.min(s,x))],d=[r=Math.max(c,Math.min(s,r)),i=Math.max(c,Math.min(s,i))];(0,o.default)(a,d,e,t,n,l)?(w||(P.lineStart(),P.point(a[0],a[1])),P.point(d[0],d[1]),u||P.lineEnd(),O=!1):u&&(P.lineStart(),P.point(r,i),O=!1)}m=r,x=i,w=u}return T}};var r=n(0),i=l(n(132)),o=l(n(330)),u=l(n(133)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}var s=1e9,c=-s},function(e,t,n){"use strict";function r(e){return function(t){var n=new i;for(var r in e)n[r]=e[r];return n.stream=t,n}}function i(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{stream:r(e)}},t.transformer=r,i.prototype={constructor:i,point:function(e,t){this.stream.point(e,t)},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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){for(var o,u=e.children,a=-1,l=u.length,s=e.value&&(i-n)/e.value;++a2?d:f,r=u=null,g}function g(t){return(r||(r=n(l,h,v?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,p)))(+t)}return g.invert=function(e){return(u||(u=n(h,l,c,v?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},g.domain=function(e){return arguments.length?(l=o.map.call(e,a.default),y()):l.slice()},g.range=function(e){return arguments.length?(h=o.slice.call(e),y()):h.slice()},g.rangeRound=function(e){return h=o.slice.call(e),p=i.interpolateRound,y()},g.clamp=function(e){return arguments.length?(v=!!e,y()):v},g.interpolate=function(e){return arguments.length?(p=e,y()):p},y()};var r=n(3),i=n(5),o=n(15),u=l(n(81)),a=l(n(150));function l(e){return e&&e.__esModule?e:{default:e}}var s=[0,1];function c(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,u.default)(t)}function f(e,t,n,r){var i=e[0],o=e[1],u=t[0],a=t[1];return o=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,u=Math.floor(i),a=+n(e[u],u,e);return a+(+n(e[u+1],u+1,e)-a)*(i-u)}};var r,i=n(22),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"drag",{enumerable:!0,get:function(){return o(r).default}});var i=n(108);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"dragDisable",{enumerable:!0,get:function(){return o(i).default}}),Object.defineProperty(t,"dragEnable",{enumerable:!0,get:function(){return i.yesdrag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),o.default.hasOwnProperty(t)?{space:o.default[t],local:e}:e};var r,i=n(53),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.xhtml="http://www.w3.org/1999/xhtml";t.default={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(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),u=o.length;if(!(arguments.length<2)){for(s=t?l:a,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=f.exec(e))?m(parseInt(t[1],16)):(t=d.exec(e))?new O(t[1],t[2],t[3],1):(t=h.exec(e))?new O(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?x(t[1],t[2],t[3],t[4]):(t=v.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?m(b[e]):"transparent"===e?new O(NaN,NaN,NaN,0):null}function m(e){return new O(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new O(e,t,n,r)}function w(e){return e instanceof u||(e=_(e)),e?new O((e=e.rgb()).r,e.g,e.b,e.opacity):new O}function M(e,t,n,r){return 1===arguments.length?w(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function P(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new C(e,t,n,r)}function j(e){if(e instanceof C)return new C(e.h,e.s,e.l,e.opacity);if(e instanceof u||(e=_(e)),!e)return new C;if(e instanceof C)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n0&&s<1?0:a,new C(a,l,s,e.opacity)}function T(e,t,n,r){return 1===arguments.length?j(e):new C(e,t,n,null==r?1:r)}function C(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function S(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,o.default)(u,_,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),(0,o.default)(O,M,(0,i.extend)(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new O(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new O(this.r*e,this.g*e,this.b*e,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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}})),(0,o.default)(C,T,(0,i.extend)(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new C(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new C(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new O(S(e>=240?e-240:e+120,i,r),S(e,i,r),S(e<120?e+240:e-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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},t.extend=function(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}},function(e,t,n){"use strict";function r(e,t,n,r,i){var o=e*e,u=o*e;return((1-3*e+3*o-u)*t+(4-6*o+3*u)*n+(1+3*e+3*o-3*u)*r+u*i)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],u=e[i+1],a=i>0?e[i-1]:2*o-u,l=i=0&&t._call.call(null,e),t=t._next;--u}function m(){f=(c=h.now())+d,u=a=0;try{_()}finally{u=0,function(){var e,t,n=i,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:i=t);o=e,w(r)}(),f=0}}function x(){var e=h.now(),t=e-c;t>s&&(d-=t,c=e)}function w(e){u||(a&&(a=clearTimeout(a)),e-f>24?(e<1/0&&(a=setTimeout(m,e-h.now()-d)),l&&(l=clearInterval(l))):(l||(c=h.now(),l=setInterval(x,s)),u=1,p(m)))}g.prototype=b.prototype={constructor:g,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?v():+n)+(null==t?0:+t),this._next||o===this||(o?o._next=this:i=this,o=this),this._call=e,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prefix="$";function i(){}function o(e,t){var n=new i;if(e instanceof i)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,o=-1,u=e.length;if(null==t)for(;++o=c?h=!0:(l=e.charCodeAt(f++))===u?p=!0:l===a&&(p=!0,e.charCodeAt(f)===u&&++f),e.slice(s+1,t-1).replace(/""/g,'"')}for(;f1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEqualAreaRaw=u,t.default=function(){return(0,i.conicProjection)(u).scale(155.424).center([0,33.6442])};var r=n(0),i=n(74),o=n(341);function u(e,t){var n=(0,r.sin)(e),i=(n+(0,r.sin)(t))/2;if((0,r.abs)(i)=0;--o)s.push(r=n.children[o]=new _(i[o])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(b)}function y(e){return e.children}function g(e){e.data=e.data.data}function b(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function _(e){this.data=e,this.depth=this.height=0,this.parent=null}_.prototype=v.prototype={constructor:_,count:r.default,each:i.default,eachAfter:u.default,eachBefore:o.default,sum:a.default,sort:l.default,path:s.default,ancestors:c.default,descendants:f.default,leaves:d.default,links:h.default,copy:function(){return v(this).eachBefore(g)}}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new Error;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.optional=function(e){return null==e?null:r(e)},t.required=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phi=void 0,t.squarifyRatio=a;var r=o(n(26)),i=o(n(42));function o(e){return e&&e.__esModule?e:{default:e}}var u=t.phi=(1+Math.sqrt(5))/2;function a(e,t,n,o,u,a){for(var l,s,c,f,d,h,p,v,y,g,b,_=[],m=t.children,x=0,w=0,M=m.length,O=t.value;xp&&(p=s),b=d*d*g,(v=Math.max(p/b,b/h))>y){d-=s;break}y=v}_.push(l={value:d,dice:c1?t:1)},n}(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,o,u,a,l=(0,i.dispatch)("beforesend","progress","load","error"),s=(0,r.map)(),c=new XMLHttpRequest,f=null,d=null,h=0;function p(e){var t,r=c.status;if(!r&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(c)||r>=200&&r<300||304===r){if(u)try{t=u.call(n,c)}catch(e){return void l.call("error",n,e)}else t=c;l.call("load",n,t)}else l.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(e)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=p:c.onreadystatechange=function(e){c.readyState>3&&p(e)},c.onprogress=function(e){l.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s.get(e):(null==t?s.remove(e):s.set(e,t+""),n)},mimeType:function(e){return arguments.length?(o=null==e?null:e+"",n):o},responseType:function(e){return arguments.length?(a=e,n):a},timeout:function(e){return arguments.length?(h=+e,n):h},user:function(e){return arguments.length<1?f:(f=null==e?null:e+"",n)},password:function(e){return arguments.length<1?d:(d=null==e?null:e+"",n)},response:function(e){return u=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,r,i){return c.open(t,e,!0,f,d),null==o||s.has("accept")||s.set("accept",o+",*/*"),c.setRequestHeader&&s.each(function(e,t){c.setRequestHeader(t,e)}),null!=o&&c.overrideMimeType&&c.overrideMimeType(o),null!=a&&(c.responseType=a),h>0&&(c.timeout=h),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(e){return function(t,n){e(null==t?n:null)}}(i)),null!=i&&n.on("error",i).on("load",function(e){i(null,e)}),l.call("beforesend",n,c),c.send(null==r?null:r),n},abort:function(){return c.abort(),n},on:function(){var e=l.on.apply(l,arguments);return e===l?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n};var r=n(21),i=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return a(r).default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return r.timeFormat}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return r.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return r.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return r.utcParse}});var i=n(153);Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return a(i).default}});var o=n(154);Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return a(o).default}});var u=n(420);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a(u).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0,t.default=a;var r,i,o=n(153),u=(r=o)&&r.__esModule?r:{default:r};t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0;function a(e){return i=(0,u.default)(e),t.timeFormat=i.format,t.timeParse=i.parse,t.utcFormat=i.utcFormat,t.utcParse=i.utcParse,i}a({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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u.x,t=u.y,n=(0,i.default)(!0),a=null,l=o.default,s=null;function c(i){var o,u,c,f=i.length,d=!1;for(null==a&&(s=l(c=(0,r.path)())),o=0;o<=f;++o)!(or.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,s=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/s,o=(o*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/s}if(e._l23_a>r.epsilon){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);u=(u*c+e._x1*e._l23_2a-t*e._l12_2a)/f,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(i,o,u,a,e._x2,e._y2)}function u(e,t){this._context=e,this._alpha=t}t.point=o,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(){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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new u(e,t):new i.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(u);return(0,o.default)(e).sort(function(e,n){return t[e]-t[n]})},t.sum=u;var r,i=n(31),o=(r=i)&&r.__esModule?r:{default:r};function u(e){for(var t,n=0,r=-1,i=e.length;++rr.epsilon||Math.abs(a[0][1]-a[1][1])>r.epsilon)||delete r.edges[l]};var r=n(32);function i(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function o(e,t,n,r,i){var o,u=e[0],a=e[1],l=u[0],s=u[1],c=0,f=1,d=a[0]-l,h=a[1]-s;if(o=t-l,d||!(o>0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=r-l,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0)){if(o/=h,h<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-s,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>c&&(c=o)}else if(h>0){if(o0||f<1)||(c>0&&(e[0]=[l+c*d,s+c*h]),f<1&&(e[1]=[l+f*d,s+f*h]),!0)}}}}}function u(e,t,n,r,i){var o=e[1];if(o)return!0;var u,a,l=e[0],s=e.left,c=e.right,f=s[0],d=s[1],h=c[0],p=c[1],v=(f+h)/2,y=(d+p)/2;if(p===d){if(v=r)return;if(f>h){if(l){if(l[1]>=i)return}else l=[v,n];o=[v,i]}else{if(l){if(l[1]1)if(f>h){if(l){if(l[1]>=i)return}else l=[(n-a)/u,n];o=[(i-a)/u,i]}else{if(l){if(l[1]=r)return}else l=[t,u*t+a];o=[r,u*r+a]}else{if(l){if(l[0]>>1;e(t[o],n)<0?r=o+1:i=o}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;e(t[o],n)>0?i=o:r=o+1}return r}}};var r,i=n(17),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){null==t&&(t=r);for(var n=0,i=e.length-1,o=e[0],u=new Array(i<0?0:i);n1)return s/(u-1)};var r,i=n(22),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,i,o=e.length,u=-1;if(null==t){for(;++u=n)for(r=i=n;++un&&(r=n),i=n)for(r=i=n;++un&&(r=n),i0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),o=new Array(i=Math.ceil(t-e+1));++l=r?a*=10:l>=i?a*=5:l>=o&&(a*=2);return t=0?(l>=r?10:l>=i?5:l>=o?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(l>=r?10:l>=i?5:l>=o?2:1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=n;++on&&(r=n)}else for(;++o=n)for(r=n;++on&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(i=e.length))return[];for(var t=-1,n=(0,o.default)(e,u),r=new Array(n);++t1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):u(this.node(),e)},t.styleValue=u;var r,i=n(55),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t){return e.style.getPropertyValue(t)||(0,o.default)(e).getComputedStyle(e,null).getPropertyValue(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.document.documentElement,n=(0,i.select)(e).on("dragstart.drag",u.default,!0);"onselectstart"in t?n.on("selectstart.drag",u.default,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},t.yesdrag=function(e,t){var n=e.document.documentElement,r=(0,i.select)(e).on("dragstart.drag",null);t&&(r.on("click.drag",u.default,!0),setTimeout(function(){r.on("click.drag",null)},0));"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var r,i=n(1),o=n(109),u=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.deg2rad=Math.PI/180,t.rad2deg=180/Math.PI},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=void 0;var r=n(7),i=l(n(61)),o=l(n(112)),u=n(23),a=l(u);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(t){var n,i,o=t.length,u=new Array(o),a=new Array(o),l=new Array(o);for(n=0;nl&&(i=t.slice(l,i),c[s]?c[s]+=i:c[++s]=i),(n=n[0])===(r=r[0])?c[s]?c[s]+=r:c[++s]=r:(c[++s]=null,f.push({i:s,x:(0,o.default)(n,r)})),l=a.lastIndex;return lr.STARTING&&n.state1?(null==n?d.remove(e):d.set(e,b(n)),t):d.get(e)},find:function(t,n,r){var i,o,u,a,l,s=0,c=e.length;for(null==r?r=1/0:r*=r,s=0;s1?(p.on(e,n),t):p.on(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.grouping&&e.thousands?(0,i.default)(e.grouping,e.thousands):s.default,n=e.currency,c=e.decimal,d=e.numerals?(0,o.default)(e.numerals):s.default,h=e.percent||"%";function p(e){var r=(e=(0,u.default)(e)).fill,i=e.align,o=e.sign,s=e.symbol,p=e.zero,v=e.width,y=e.comma,g=e.precision,b=e.type,_="$"===s?n[0]:"#"===s&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",m="$"===s?n[1]:/[%p]/.test(b)?h:"",x=a.default[b],w=!b||/[defgprs%]/.test(b);function M(e){var n,u,a,s=_,h=m;if("c"===b)h=x(e)+h,e="";else{var M=(e=+e)<0;if(e=x(Math.abs(e),g),M&&0==+e&&(M=!1),s=(M?"("===o?o:"-":"-"===o||"("===o?"":o)+s,h=("s"===b?f[8+l.prefixExponent/3]:"")+h+(M&&"("===o?")":""),w)for(n=-1,u=e.length;++n(a=e.charCodeAt(n))||a>57){h=(46===a?c+e.slice(n+1):e.slice(n))+h,e=e.slice(0,n);break}}y&&!p&&(e=t(e,1/0));var O=s.length+e.length+h.length,P=O>1)+s+e+h+P.slice(O);break;default:e=P+s+e+h}return d(e)}return g=null==g?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return e+""},M}return{format:p,formatPrefix:function(e,t){var n=p(((e=(0,u.default)(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),o=Math.pow(10,-i),a=f[8+i/3];return function(e){return n(o*e)+a}}}};var r=c(n(38)),i=c(n(317)),o=c(n(318)),u=c(n(124)),a=c(n(125)),l=n(126),s=c(n(321));function c(e){return e&&e.__esModule?e:{default:e}}var f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,i=n(125),o=(r=i)&&r.__esModule?r:{default:r};var u=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function a(e){return new l(e)}function l(e){if(!(t=u.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",i=t[3]||"-",a=t[4]||"",l=!!t[5],s=t[6]&&+t[6],c=!!t[7],f=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(c=!0,d="g"):o.default[d]||(d=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=i,this.symbol=a,this.zero=l,this.width=s,this.comma=c,this.precision=f,this.type=d}a.prototype=l.prototype,l.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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(319)),i=u(n(126)),o=u(n(320));function u(e){return e&&e.__esModule?e:{default:e}}t.default={"":r.default,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return(0,o.default)(100*e,t)},r:o.default,s:i.default,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prefixExponent=void 0,t.default=function(e,n){var r=(0,o.default)(e,n);if(!r)return e+"";var i=r[0],u=r[1],a=u-(t.prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1,l=i.length;return a===l?i:a>l?i+new Array(a-l+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+(0,o.default)(e,Math.max(0,n+a-1))[0]};var r,i=n(71),o=(r=i)&&r.__esModule?r:{default:r};t.prefixExponent=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areaStream=t.areaRingSum=void 0,t.default=function(e){return p.reset(),(0,u.default)(e,v),2*p};var r=a(n(19)),i=n(0),o=a(n(11)),u=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,s,c,f,d,h=t.areaRingSum=(0,r.default)(),p=(0,r.default)(),v=t.areaStream={point:o.default,lineStart:o.default,lineEnd:o.default,polygonStart:function(){h.reset(),v.lineStart=y,v.lineEnd=g},polygonEnd:function(){var e=+h;p.add(e<0?i.tau+e:e),this.lineStart=this.lineEnd=this.point=o.default},sphere:function(){p.add(i.tau)}};function y(){v.point=b}function g(){_(l,s)}function b(e,t){v.point=_,l=e,s=t,e*=i.radians,t*=i.radians,c=e,f=(0,i.cos)(t=t/2+i.quarterPi),d=(0,i.sin)(t)}function _(e,t){e*=i.radians,t=(t*=i.radians)/2+i.quarterPi;var n=e-c,r=n>=0?1:-1,o=r*n,u=(0,i.cos)(t),a=(0,i.sin)(t),l=d*a,s=f*u+l*(0,i.cos)(o),p=l*r*(0,i.sin)(o);h.add((0,i.atan2)(p,s)),c=e,f=u,d=a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circleStream=s,t.default=function(){var e,t,n=(0,u.default)([0,0]),r=(0,u.default)(90),i=(0,u.default)(6),o={point:function(n,r){e.push(n=t(n,r)),n[0]*=a.degrees,n[1]*=a.degrees}};function c(){var u=n.apply(this,arguments),c=r.apply(this,arguments)*a.radians,f=i.apply(this,arguments)*a.radians;return e=[],t=(0,l.rotateRadians)(-u[0]*a.radians,-u[1]*a.radians,0).invert,s(o,c,f,1),u={type:"Polygon",coordinates:[e]},e=t=null,u}return c.center=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)([+e[0],+e[1]]),c):n},c.radius=function(e){return arguments.length?(r="function"==typeof e?e:(0,u.default)(+e),c):r},c.precision=function(e){return arguments.length?(i="function"==typeof e?e:(0,u.default)(+e),c):i},c};var r,i=n(24),o=n(328),u=(r=o)&&r.__esModule?r:{default:r},a=n(0),l=n(39);function s(e,t,n,r,o,u){if(n){var l=(0,a.cos)(t),s=(0,a.sin)(t),f=r*n;null==o?(o=t+r*a.tau,u=t-f/2):(o=c(l,o),u=c(l,u),(r>0?ou)&&(o+=r*a.tau));for(var d,h=o;r>0?h>u:h0?u.pi:-u.pi,s=(0,u.abs)(o-n);(0,u.abs)(s-u.pi)0?u.halfPi:-u.halfPi),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(o,r),t=0):i!==l&&s>=u.pi&&((0,u.abs)(n-i)u.epsilon?(0,u.atan)(((0,u.sin)(t)*(o=(0,u.cos)(r))*(0,u.sin)(n)-(0,u.sin)(r)*(i=(0,u.cos)(t))*(0,u.sin)(e))/(i*o*a)):(t+r)/2}(n,r,o,a),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=o,r=a),i=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var i;if(null==e)i=n*u.halfPi,r.point(-u.pi,i),r.point(0,i),r.point(u.pi,i),r.point(u.pi,0),r.point(u.pi,-i),r.point(0,-i),r.point(-u.pi,-i),r.point(-u.pi,0),r.point(-u.pi,i);else if((0,u.abs)(e[0]-t[0])>u.epsilon){var o=e[0]0){for(g||(l.polygonStart(),g=!0),l.lineStart(),e=0;e1&&2&i&&o.push(o.pop().concat(o.shift())),d.push(o.filter(s))}return b}};var r=l(n(132)),i=l(n(133)),o=n(0),u=l(n(135)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return e.length>1}function c(e,t){return((e=e.x)[0]<0?e[1]-o.halfPi-o.epsilon:o.halfPi-e[1])-((t=t.x)[0]<0?t[1]-o.halfPi-o.epsilon:o.halfPi-t[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:o.default,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}};var r,i=n(11),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){var l,s,c=[],f=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if((0,o.default)(r,a)){for(i.lineStart(),l=0;l=0;--l)i.point((h=d[l])[0],h[1]);else r(v.x,v.p.x,-1,i);v=v.p}d=(v=v.o).z,y=!y}while(!v.v);i.lineEnd()}}};var r,i=n(134),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function a(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r=0?1:-1,T=j*P,C=T>a.pi,S=g*M;if(l.add((0,a.atan2)(S*j*(0,a.sin)(T),b*O+S*(0,a.cos)(T))),o+=C?P+j*a.tau:P,C^v>=n^x>=n){var k=(0,u.cartesianCross)((0,u.cartesian)(p),(0,u.cartesian)(m));(0,u.cartesianNormalizeInPlace)(k);var A=(0,u.cartesianCross)(i,k);(0,u.cartesianNormalizeInPlace)(A);var E=(C^P>=0?-1:1)*(0,a.asin)(A[2]);(r>E||r===E&&(k[0]||k[1]))&&(s+=C^P>=0?1:-1)}}return(o<-a.epsilon||o0,s=(0,o.abs)(t)>o.epsilon;function c(e,n){return(0,o.cos)(e)*(0,o.cos)(n)>t}function f(e,n,i){var u=(0,r.cartesian)(e),a=(0,r.cartesian)(n),l=[1,0,0],s=(0,r.cartesianCross)(u,a),c=(0,r.cartesianDot)(s,s),f=s[0],d=c-f*f;if(!d)return!i&&e;var h=t*c/d,p=-t*f/d,v=(0,r.cartesianCross)(l,s),y=(0,r.cartesianScale)(l,h),g=(0,r.cartesianScale)(s,p);(0,r.cartesianAddInPlace)(y,g);var b=v,_=(0,r.cartesianDot)(y,b),m=(0,r.cartesianDot)(b,b),x=_*_-m*((0,r.cartesianDot)(y,y)-1);if(!(x<0)){var w=(0,o.sqrt)(x),M=(0,r.cartesianScale)(b,(-_-w)/m);if((0,r.cartesianAddInPlace)(M,y),M=(0,r.spherical)(M),!i)return M;var O,P=e[0],j=n[0],T=e[1],C=n[1];j0^M[1]<((0,o.abs)(M[0]-P)o.pi^(P<=M[0]&&M[0]<=j)){var A=(0,r.cartesianScale)(b,(-_+w)/m);return(0,r.cartesianAddInPlace)(A,y),[M,(0,r.spherical)(A)]}}}function d(t,n){var r=l?e:o.pi-e,i=0;return t<-r?i|=1:t>r&&(i|=2),n<-r?i|=4:n>r&&(i|=8),i}return(0,a.default)(c,function(e){var t,n,r,i,a;return{lineStart:function(){i=r=!1,a=1},point:function(h,p){var v,y=[h,p],g=c(h,p),b=l?g?0:d(h,p):g?d(h+(h<0?o.pi:-o.pi),p):0;if(!t&&(i=r=g)&&e.lineStart(),g!==r&&(!(v=f(t,y))||(0,u.default)(t,v)||(0,u.default)(y,v))&&(y[0]+=o.epsilon,y[1]+=o.epsilon,g=c(y[0],y[1])),g!==r)a=0,g?(e.lineStart(),v=f(y,t),e.point(v[0],v[1])):(v=f(t,y),e.point(v[0],v[1]),e.lineEnd()),t=v;else if(s&&t&&l^g){var _;b&n||!(_=f(y,t,!0))||(a=0,l?(e.lineStart(),e.point(_[0][0],_[0][1]),e.point(_[1][0],_[1][1]),e.lineEnd()):(e.point(_[1][0],_[1][1]),e.lineEnd(),e.lineStart(),e.point(_[0][0],_[0][1])))}!g||t&&(0,u.default)(t,y)||e.point(y[0],y[1]),t=y,r=g,n=b},lineEnd:function(){r&&e.lineEnd(),t=null},clean:function(){return a|(i&&r)<<1}}},function(t,r,o,u){(0,i.circleStream)(u,e,n,o,t,r)},l?[0,-e]:[-o.pi,e-o.pi])};var r=n(24),i=n(128),o=n(0),u=l(n(134)),a=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return u[0]=e,u[1]=t,(0,o.default)(a)};var r,i=n(138),o=(r=i)&&r.__esModule?r:{default:r};var u=[null,null],a={type:"LineString",coordinates:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return f.reset(),(0,u.default)(e,d),+f};var r=a(n(19)),i=n(0),o=a(n(11)),u=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,s,c,f=(0,r.default)(),d={sphere:o.default,point:o.default,lineStart:function(){d.point=p,d.lineEnd=h},lineEnd:o.default,polygonStart:o.default,polygonEnd:o.default};function h(){d.point=d.lineEnd=o.default}function p(e,t){e*=i.radians,t*=i.radians,l=e,s=(0,i.sin)(t),c=(0,i.cos)(t),d.point=v}function v(e,t){e*=i.radians,t*=i.radians;var n=(0,i.sin)(t),r=(0,i.cos)(t),o=(0,i.abs)(e-l),u=(0,i.cos)(o),a=r*(0,i.sin)(o),d=c*n-s*r*u,h=s*n+c*r*u;f.add((0,i.atan2)((0,i.sqrt)(a*a+d*d),h)),l=e,s=n,c=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(11),o=(r=i)&&r.__esModule?r:{default:r};var u=1/0,a=u,l=-u,s=l,c={point:function(e,t){el&&(l=e);ts&&(s=t)},lineStart:o.default,lineEnd:o.default,polygonStart:o.default,polygonEnd:o.default,result:function(){var e=[[u,a],[l,s]];return l=s=-(a=u=1/0),e}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,o.default)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var r,i=n(73),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equirectangularRaw=u,t.default=function(){return(0,o.default)(u).scale(152.63)};var r,i=n(8),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t){return[e,t]}u.invert=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packEnclose=c,t.default=function(e){return c(e),e};var r,i=n(143),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t,n){var r=e.x,i=e.y,o=t.r+n.r,u=e.r+n.r,a=t.x-r,l=t.y-i,s=a*a+l*l;if(s){var c=.5+((u*=u)-(o*=o))/(2*s),f=Math.sqrt(Math.max(0,2*o*(u+s)-(u-=s)*u-o*o))/(2*s);n.x=r+c*a+f*l,n.y=i+c*l-f*a}else n.x=r+u,n.y=i}function a(e,t){var n=t.x-e.x,r=t.y-e.y,i=e.r+t.r;return i*i-1e-6>n*n+r*r}function l(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function s(e){this._=e,this.next=null,this.previous=null}function c(e){if(!(i=e.length))return 0;var t,n,r,i,c,f,d,h,p,v,y;if((t=e[0]).x=0,t.y=0,!(i>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(i>2))return t.r+n.r;u(n,t,r=e[2]),t=new s(t),n=new s(n),r=new s(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(d=3;d0&&n*n>r*r+i*i}function a(e,t){for(var n=0;n1);return e+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(20),o=(r=i)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){for(var n=0,r=0;r=12)]},Q:ve,s:ye,S:U,u:B,U:$,V:Y,w:W,W:V,x:null,X:null,y:X,Y:G,Z:K,"%":pe},Se={a:function(e){return f[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return ge[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:Z,e:Z,f:ne,H:Q,I:J,j:ee,L:te,m:re,M:ie,p:function(e){return s[+(e.getUTCHours()>=12)]},Q:ve,s:ye,S:oe,u:ue,U:ae,V:le,w:se,W:ce,x:null,X:null,y:fe,Y:de,Z:he,"%":pe},ke={a:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=xe[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=je.exec(t.slice(n));return r?(e.m=Te[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=Oe.exec(t.slice(n));return r?(e.m=Pe[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return Ne(e,t,n,r)},d:O,e:O,f:k,H:j,I:j,j:P,L:S,m:M,M:T,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=_e[r[0].toLowerCase()],n+r[0].length):-1},Q:E,s:N,S:C,u:y,U:g,V:b,w:v,W:_,x:function(e,t,r){return Ne(e,n,t,r)},X:function(e,t,n){return Ne(e,l,t,n)},y:x,Y:m,Z:w,"%":A};function Ae(e,t){return function(n){var r,i,o,u=[],l=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in l||(l.w=1),"Z"in l?(i=o(u(l.y)),a=i.getUTCDay(),i=a>4||0===a?r.utcMonday.ceil(i):(0,r.utcMonday)(i),i=r.utcDay.offset(i,7*(l.V-1)),l.y=i.getUTCFullYear(),l.m=i.getUTCMonth(),l.d=i.getUTCDate()+(l.w+6)%7):(i=t(u(l.y)),a=i.getDay(),i=a>4||0===a?r.timeMonday.ceil(i):(0,r.timeMonday)(i),i=r.timeDay.offset(i,7*(l.V-1)),l.y=i.getFullYear(),l.m=i.getMonth(),l.d=i.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),a="Z"in l?o(u(l.y)).getUTCDay():t(u(l.y)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(a+5)%7:l.w+7*l.U-(a+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,o(l)):t(l)}}function Ne(e,t,n,r){for(var i,o,u=0,l=t.length,s=n.length;u=s)return-1;if(37===(i=t.charCodeAt(u++))){if(i=t.charAt(u++),!(o=ke[i in a?t.charAt(u++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Ce.x=Ae(n,Ce),Ce.X=Ae(l,Ce),Ce.c=Ae(t,Ce),Se.x=Ae(n,Se),Se.X=Ae(l,Se),Se.c=Ae(t,Se),{format:function(e){var t=Ae(e+="",Ce);return t.toString=function(){return e},t},parse:function(e){var t=Ee(e+="",i);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ae(e+="",Se);return t.toString=function(){return e},t},utcParse:function(e){var t=Ee(e,o);return t.toString=function(){return e},t}}};var r=n(45);function i(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function o(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function u(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var a={"-":"",_:" ",0:"0"},l=/^\s*\d+/,s=/^%/,c=/[\\^$*+?|[\]().{}]/g;function f(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function w(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function M(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function O(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function P(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function j(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function T(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function C(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function S(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function k(e,t,n){var r=l.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function A(e,t,n){var r=s.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function E(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function N(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function D(e,t){return f(e.getDate(),t,2)}function R(e,t){return f(e.getHours(),t,2)}function L(e,t){return f(e.getHours()%12||12,t,2)}function q(e,t){return f(1+r.timeDay.count((0,r.timeYear)(e),e),t,3)}function I(e,t){return f(e.getMilliseconds(),t,3)}function H(e,t){return I(e,t)+"000"}function F(e,t){return f(e.getMonth()+1,t,2)}function z(e,t){return f(e.getMinutes(),t,2)}function U(e,t){return f(e.getSeconds(),t,2)}function B(e){var t=e.getDay();return 0===t?7:t}function $(e,t){return f(r.timeSunday.count((0,r.timeYear)(e),e),t,2)}function Y(e,t){var n=e.getDay();return e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e),f(r.timeThursday.count((0,r.timeYear)(e),e)+(4===(0,r.timeYear)(e).getDay()),t,2)}function W(e){return e.getDay()}function V(e,t){return f(r.timeMonday.count((0,r.timeYear)(e),e),t,2)}function X(e,t){return f(e.getFullYear()%100,t,2)}function G(e,t){return f(e.getFullYear()%1e4,t,4)}function K(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+f(t/60|0,"0",2)+f(t%60,"0",2)}function Z(e,t){return f(e.getUTCDate(),t,2)}function Q(e,t){return f(e.getUTCHours(),t,2)}function J(e,t){return f(e.getUTCHours()%12||12,t,2)}function ee(e,t){return f(1+r.utcDay.count((0,r.utcYear)(e),e),t,3)}function te(e,t){return f(e.getUTCMilliseconds(),t,3)}function ne(e,t){return te(e,t)+"000"}function re(e,t){return f(e.getUTCMonth()+1,t,2)}function ie(e,t){return f(e.getUTCMinutes(),t,2)}function oe(e,t){return f(e.getUTCSeconds(),t,2)}function ue(e){var t=e.getUTCDay();return 0===t?7:t}function ae(e,t){return f(r.utcSunday.count((0,r.utcYear)(e),e),t,2)}function le(e,t){var n=e.getUTCDay();return e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e),f(r.utcThursday.count((0,r.utcYear)(e),e)+(4===(0,r.utcYear)(e).getUTCDay()),t,2)}function se(e){return e.getUTCDay()}function ce(e,t){return f(r.utcMonday.count((0,r.utcYear)(e),e),t,2)}function fe(e,t){return f(e.getUTCFullYear()%100,t,2)}function de(e,t){return f(e.getUTCFullYear()%1e4,t,4)}function he(){return"+0000"}function pe(){return"%"}function ve(e){return+e}function ye(e){return Math.floor(+e/1e3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=void 0;var r=n(83),i=t.isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";var o=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,r.utcFormat)(i);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.x,t=null,n=(0,i.default)(0),l=a.y,s=(0,i.default)(!0),c=null,f=o.default,d=null;function h(i){var o,u,a,h,p,v=i.length,y=!1,g=new Array(v),b=new Array(v);for(null==c&&(d=f(p=(0,r.path)())),o=0;o<=v;++o){if(!(o=u;--a)d.point(g[a],b[a]);d.lineEnd(),d.areaEnd()}y&&(g[o]=+e(h,o,i),b[o]=+n(h,o,i),d.point(t?+t(h,o,i):g[o],l?+l(h,o,i):b[o]))}if(p)return d=null,p+""||null}function p(){return(0,u.default)().defined(s).curve(f).context(c)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,i.default)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,i.default)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.default)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.default)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,i.default)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(s="function"==typeof e?e:(0,i.default)(!!e),h):s},h.curve=function(e){return arguments.length?(f=e,null!=c&&(d=f(c)),h):f},h.context=function(e){return arguments.length?(null==e?c=d=null:d=f(c=e),h):c},h};var r=n(13),i=l(n(16)),o=l(n(46)),u=l(n(84)),a=n(85);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var r,i=n(46),o=(r=i)&&r.__esModule?r:{default:r};t.curveRadialLinear=a(o.default);function u(e){this._curve=e}function a(e){function t(t){return new u(e(t))}return t._curve=e,t}u.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineRadial=a,t.default=function(){return a((0,o.default)().curve(r.curveRadialLinear))};var r=n(156),i=u(r),o=u(n(84));function u(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,i.default)(e)):t()._curve},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=Array.prototype.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={draw:function(e,t){var n=Math.sqrt(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(1/3),i=2*r;t.default={draw:function(e,t){var n=Math.sqrt(t/i),o=n*r;e.moveTo(0,-n),e.lineTo(o,0),e.lineTo(0,n),e.lineTo(-o,0),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=Math.sin(r.pi/10)/Math.sin(7*r.pi/10),o=Math.sin(r.tau/10)*i,u=-Math.cos(r.tau/10)*i;t.default={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),i=o*n,a=u*n;e.moveTo(0,-n),e.lineTo(i,a);for(var l=1;l<5;++l){var s=r.tau*l/5,c=Math.cos(s),f=Math.sin(s);e.lineTo(f*n,-c*n),e.lineTo(c*i-f*a,f*i+c*a)}e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(3);t.default={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),u=3*(o/2+1);t.default={draw:function(e,t){var n=Math.sqrt(t/u),a=n/2,l=n*o,s=a,c=n*o+n,f=-s,d=c;e.moveTo(a,l),e.lineTo(s,c),e.lineTo(f,d),e.lineTo(r*a-i*l,i*a+r*l),e.lineTo(r*s-i*c,i*s+r*c),e.lineTo(r*f-i*d,i*f+r*d),e.lineTo(r*a+i*l,r*l-i*a),e.lineTo(r*s+i*c,r*c-i*s),e.lineTo(r*f+i*d,r*d-i*f),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a;var r,i=n(47),o=(r=i)&&r.__esModule?r:{default:r},u=n(49);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:o.default,areaEnd:o.default,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,u.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=i;var r=n(49);function i(e,t){this._context=e,this._k=(1-t)/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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new i(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCell=function(e){return i.cells[e.index]={site:e,halfedges:[]}},t.cellHalfedgeStart=u,t.cellHalfedgeEnd=a,t.sortCellHalfedges=function(){for(var e,t,n,r,u=0,a=i.cells.length;ui.epsilon||Math.abs(_-y)>i.epsilon)&&(d.splice(f,0,i.edges.push((0,r.createBorderEdge)(c,g,Math.abs(b-e)i.epsilon?[e,Math.abs(v-e)i.epsilon?[Math.abs(y-o)i.epsilon?[n,Math.abs(v-n)i.epsilon?[Math.abs(y-t)=-i.epsilon2)return;var g=d*d+h*h,b=p*p+v*v,_=(v*g-h*b)/y,m=(d*b-p*g)/y,x=o.pop()||new function(){(0,r.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null};x.arc=e,x.site=l,x.x=_+c,x.y=(x.cy=m+f)+Math.sqrt(_*_+m*m),e.circle=x;var w=null,M=i.circles._;for(;M;)if(x.y build/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:'npm run test && rollup -c --banner "$(preamble)" && uglifyjs -b beautify=false,preamble="\'$(preamble)\'" build/d3.js -c negate_iife=false -m -o build/d3.min.js',postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js'},t.devDependencies={json2module:"0.0","package-preamble":"0.1",rimraf:"2",rollup:"0.53","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3",tape:"4","uglify-js":"3.2"},t.dependencies={"d3-array":"1.2.1","d3-axis":"1.0.8","d3-brush":"1.0.4","d3-chord":"1.0.4","d3-collection":"1.0.4","d3-color":"1.0.3","d3-dispatch":"1.0.3","d3-drag":"1.2.1","d3-dsv":"1.0.8","d3-ease":"1.0.3","d3-force":"1.1.0","d3-format":"1.2.2","d3-geo":"1.9.1","d3-hierarchy":"1.1.5","d3-interpolate":"1.1.6","d3-path":"1.0.5","d3-polygon":"1.0.3","d3-quadtree":"1.0.3","d3-queue":"3.0.7","d3-random":"1.1.0","d3-request":"1.0.6","d3-scale":"1.0.7","d3-selection":"1.3.0","d3-shape":"1.2.0","d3-time":"1.0.8","d3-time-format":"2.1.1","d3-timer":"1.0.7","d3-transition":"1.1.1","d3-voronoi":"1.1.2","d3-zoom":"1.7.1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i,o,u,a,l=e.length,s=t.length,c=new Array(l*s);for(null==n&&(n=r.pair),i=u=0;ie?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=u.default,n=c.default;function f(r){var o,u,a=r.length,c=new Array(a);for(o=0;oh;)p.pop(),--v;var y,g=new Array(v+1);for(o=0;o<=v;++o)(y=g[o]=[]).x0=o>0?p[o-1]:d,y.x1=o=n)for(r=n;++or&&(r=n)}else for(;++o=n)for(r=n;++or&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.length,i=r,u=-1,a=0;if(null==t)for(;++u=0;)for(t=(r=e[i]).length;--t>=0;)n[--u]=r[t];return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n=e.length){var n,r,i=0,u=0,a=e[u];for(null==t&&(t=o.default);++i0&&(n=r-T),F<0?P=j-k:F>0&&(o=l-k),I=p,J.attr("cursor",m.selection),ne());break;default:return}(0,f.default)()},!0).on("keyup.brush",function(){switch(u.event.keyCode){case 16:X&&(D=R=X=!1,ne());break;case 18:I===y&&(H<0?s=_:H>0&&(n=r),F<0?P=j:F>0&&(o=l),I=v,ne());break;case 32:I===p&&(u.event.altKey?(H&&(s=_-T*H,n=r+T*H),F&&(P=j-k*F,o=l+k*F),I=y):(H<0?s=_:H>0&&(n=r),F<0?P=j:F>0&&(o=l),I=v),J.attr("cursor",m[q]),ne());break;default:return}(0,f.default)()},!0).on("mousemove.brush",te,!0).on("mouseup.brush",re,!0);(0,i.dragDisable)(u.event.view)}(0,c.nopropagation)(),(0,a.interrupt)(L),E.call(L),Z.start()}function te(){var e=(0,u.mouse)(L);!X||D||R||(Math.abs(e[0]-K[0])>Math.abs(e[1]-K[1])?R=!0:D=!0),K=e,A=!0,(0,f.default)(),ne()}function ne(){var e;switch(T=K[0]-G[0],k=K[1]-G[1],I){case p:case h:H&&(T=Math.max($-n,Math.min(W-s,T)),r=n+T,_=s+T),F&&(k=Math.max(Y-o,Math.min(V-P,k)),l=o+k,j=P+k);break;case v:H<0?(T=Math.max($-n,Math.min(W-n,T)),r=n+T,_=s):H>0&&(T=Math.max($-s,Math.min(W-s,T)),r=n,_=s+T),F<0?(k=Math.max(Y-o,Math.min(V-o,k)),l=o+k,j=P):F>0&&(k=Math.max(Y-P,Math.min(V-P,k)),l=o,j=P+k);break;case y:H&&(r=Math.max($,Math.min(W,n-T*H)),_=Math.max($,Math.min(W,s+T*H))),F&&(l=Math.max(Y,Math.min(V,o-k*F)),j=Math.max(Y,Math.min(V,P+k*F)))}_=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),l=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l0)for(var n,r,i=new Array(n),o=0;oM}m.mouse("drag")}function T(){(0,i.select)(i.event.view).on("mousemove.drag mouseup.drag",null),(0,o.yesdrag)(i.event.view,n),(0,l.default)(),m.mouse("end")}function C(){if(y.apply(this,arguments)){var e,t,n=i.event.changedTouches,r=g.apply(this,arguments),o=n.length;for(e=0;e=O&&(O=M+1);!(w=m[O])&&++O=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=i);for(var n=this._groups,o=n.length,u=new Array(o),a=0;at?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(e){return e.trim().split(/^|\s+/)}function i(e){return e.classList||new o(e)}function o(e){this._node=e,this._names=r(e.getAttribute("class")||"")}function u(e,t){for(var n=i(e),r=-1,o=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}},function(e,t,n){"use strict";function r(){this.textContent=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent}},function(e,t,n){"use strict";function r(){this.innerHTML=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="function"==typeof e?e:(0,o.default)(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})};var r,i=n(33),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="function"==typeof e?e:(0,r.default)(e),o=null==t?u:"function"==typeof t?t:(0,i.default)(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),o.apply(this,arguments)||null)})};var r=o(n(33)),i=o(n(54));function o(e){return e&&e.__esModule?e:{default:e}}function u(){return null}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function i(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.select(e?i:r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.property("__data__",e):this.node().__data__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return u(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return u(this,e,t)}})(e,t))};var r,i=n(55),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t,n){var r=(0,o.default)(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=0;function i(){return new o}function o(){this._="@"+(++r).toString(36)}o.prototype=i.prototype={constructor:o,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)();return t.changedTouches&&(t=t.changedTouches[0]),(0,i.default)(e,t)};var r=o(n(57)),i=o(n(34));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([null==e?[]:e],r.root)};var r=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){arguments.length<3&&(n=t,t=(0,r.default)().changedTouches);for(var o,u=0,a=t?t.length:0;up?Math.pow(e,1/3):e/h+f}function _(e){return e>d?e*e*e:h*(e-f)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function x(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function w(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof M)return new M(e.h,e.c,e.l,e.opacity);e instanceof g||(e=v(e));var t=Math.atan2(e.b,e.a)*a.rad2deg;return new M(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new M(e,t,n,null==r?1:r)}function M(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}(0,o.default)(g,y,(0,i.extend)(u.Color,{brighter:function(e){return new g(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new g(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=s*_(e),t=l*_(t),n=c*_(n),new u.Rgb(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),(0,o.default)(M,w,(0,i.extend)(u.Color,{brighter:function(e){return new M(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new M(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return v(this).rgb()}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y,t.Cubehelix=g;var r,i=n(60),o=(r=i)&&r.__esModule?r:{default:r},u=n(59),a=n(110);var l=-.14861,s=1.78277,c=-.29227,f=-.90649,d=1.97294,h=d*f,p=d*s,v=s*c-f*l;function y(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof g)return new g(e.h,e.s,e.l,e.opacity);e instanceof u.Rgb||(e=(0,u.rgbConvert)(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(v*r+h*t-p*n)/(v+h-p),o=r-i,l=(d*(n-i)-c*o)/f,s=Math.sqrt(l*l+o*o)/(d*i*(1-i)),y=s?Math.atan2(l,o)*a.rad2deg-120:NaN;return new g(y<0?y+360:y,s,i,e.opacity)}(e):new g(e,t,n,null==r?1:r)}function g(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,o.default)(g,y,(0,i.extend)(u.Color,{brighter:function(e){return e=null==e?u.brighter:Math.pow(u.brighter,e),new g(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?u.darker:Math.pow(u.darker,e),new g(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a.deg2rad,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new u.Rgb(255*(t+n*(l*r+s*i)),255*(t+n*(c*r+f*i)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var r,i=n(35),o=(r=i)&&r.__esModule?r:{default:r},u=n(239);function a(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(u,a){var l=[],s=[];return u=e(u),a=e(a),function(e,r,i,u,a,l){if(e!==i||r!==u){var s=a.push("translate(",null,t,null,n);l.push({i:s-4,x:(0,o.default)(e,i)},{i:s-2,x:(0,o.default)(r,u)})}else(i||u)&&a.push("translate("+i+t+u+n)}(u.translateX,u.translateY,a.translateX,a.translateY,l,s),function(e,t,n,u){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),u.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,o.default)(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(u.rotate,a.rotate,l,s),function(e,t,n,u){e!==t?u.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,o.default)(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(u.skewX,a.skewX,l,s),function(e,t,n,r,u,a){if(e!==n||t!==r){var l=u.push(i(u)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,o.default)(e,n)},{i:l-2,x:(0,o.default)(t,r)})}else 1===n&&1===r||u.push(i(u)+"scale("+n+","+r+")")}(u.scaleX,u.scaleY,a.scaleX,a.scaleY,l,s),u=a=null,function(e){for(var t,n=-1,r=s.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?r.init:r.set;return function(){var r=u(this,e),a=r.on;a!==i&&(o=(i=a).copy()).on(t,n),r.on=o}}(n,e,t))};var r=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,i.selector)(e));for(var r=this._groups,l=r.length,s=new Array(l),c=0;ci.SCHEDULED&&n.name===t)return new r.Transition([[e]],o,t,+u);return null};var r=n(10),i=n(6),o=[null]},function(e,t,n){"use strict";var r=n(1),i=u(n(267)),o=u(n(268));function u(e){return e&&e.__esModule?e:{default:e}}r.selection.prototype.interrupt=i.default,r.selection.prototype.transition=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.each(function(){(0,o.default)(this,e)})};var r,i=n(119),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;e instanceof i.Transition?(t=e._id,e=e._name):(t=(0,i.newId)(),(n=s).time=(0,l.now)(),e=null==e?null:e+"");for(var r=this._groups,o=r.length,a=0;a1e-6)if(Math.abs(f*l-s*c)>1e-6&&o){var h=n-u,p=i-a,v=l*l+s*s,y=h*h+p*p,g=Math.sqrt(v),b=Math.sqrt(d),_=o*Math.tan((r-Math.acos((v+d-y)/(2*g*b)))/2),m=_/b,x=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*c)+","+(t+m*f)),this._+="A"+o+","+o+",0,0,"+ +(f*h>c*p)+","+(this._x1=e+x*l)+","+(this._y1=t+x*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,u,a,l){e=+e,t=+t;var s=(n=+n)*Math.cos(u),c=n*Math.sin(u),f=e+s,d=t+c,h=1^l,p=l?u-a:a-u;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),n&&(p<0&&(p=p%i+i),p>o?this._+="A"+n+","+n+",0,1,"+h+","+(e-s)+","+(t-c)+"A"+n+","+n+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r=[],i=[];function c(n,i,u,a){if(i>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,s,f,d=-1,h=n.length,p=r[i++],v=(0,o.default)(),y=u();++dr.length)return n;var u,a=i[o-1];return null!=t&&o>=r.length?u=n.entries():(u=[],n.each(function(t,n){u.push({key:n,values:e(t,o)})})),null!=a?u.sort(function(e,t){return a(e.key,t.key)}):u}(c(e,0,l,s),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return i[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};var r,i=n(64),o=(r=i)&&r.__esModule?r:{default:r};function u(){return{}}function a(e,t,n){e[t]=n}function l(){return(0,o.default)()}function s(e,t,n){e.set(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(64);function o(){}var u=((r=i)&&r.__esModule?r:{default:r}).default.prototype;function a(e,t){var n=new o;if(e instanceof o)e.each(function(e){n.add(e)});else if(e){var r=-1,i=e.length;if(null==t)for(;++rd+s||rh+s||oc.index){var f=d-a.x-a.vx,y=h-a.y-a.vy,g=f*f+y*y;ge.r&&(e.r=e[t].r)}function d(){if(t){var r,i,o=t.length;for(n=new Array(o),r=0;r=(o=(v+g)/2))?v=o:g=o,(c=n>=(u=(y+b)/2))?y=u:b=u,i=h,!(h=h[f=c<<1|s]))return i[f]=p,e;if(a=+e._x.call(null,h.data),l=+e._y.call(null,h.data),t===a&&n===l)return p.next=h,i?i[f]=p:e._root=p,e;do{i=i?i[f]=new Array(4):e._root=new Array(4),(s=t>=(o=(v+g)/2))?v=o:g=o,(c=n>=(u=(y+b)/2))?y=u:b=u}while((f=c<<1|s)==(d=(l>=u)<<1|a>=o));return i[d]=h,i[f]=p,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},t.addAll=function(e){var t,n,i,o,u=e.length,a=new Array(u),l=new Array(u),s=1/0,c=1/0,f=-1/0,d=-1/0;for(n=0;nf&&(f=i),od&&(d=o));fe||e>i||r>t||t>o))return this;var u,a,l=i-n,s=this._root;switch(a=(t<(r+o)/2)<<1|e<(n+i)/2){case 0:do{(u=new Array(4))[a]=s,s=u}while(o=r+(l*=2),e>(i=n+l)||t>o);break;case 1:do{(u=new Array(4))[a]=s,s=u}while(o=r+(l*=2),(n=i-l)>e||t>o);break;case 2:do{(u=new Array(4))[a]=s,s=u}while(r=o-(l*=2),e>(i=n+l)||r>t);break;case 3:do{(u=new Array(4))[a]=s,s=u}while(r=o-(l*=2),(n=i-l)>e||r>t)}this._root&&this._root.length&&(this._root=s)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i,u,a,l,s,c,f=this._x0,d=this._y0,h=this._x1,p=this._y1,v=[],y=this._root;for(y&&v.push(new o.default(y,f,d,h,p)),null==n?n=1/0:(f=e-n,d=t-n,h=e+n,p=t+n,n*=n);s=v.pop();)if(!(!(y=s.node)||(i=s.x0)>h||(u=s.y0)>p||(a=s.x1)=b)<<1|e>=g)&&(s=v[v.length-1],v[v.length-1]=v[v.length-1-c],v[v.length-1-c]=s)}else{var _=e-+this._x.call(null,y.data),m=t-+this._y.call(null,y.data),x=_*_+m*m;if(x=(a=(p+y)/2))?p=a:y=a,(c=u>=(l=(v+g)/2))?v=l:g=l,t=h,!(h=h[f=c<<1|s]))return this;if(!h.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(i=h.next)&&delete h.next,r?(i?r.next=i:delete r.next,this):t?(i?t[f]=i:delete t[f],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},t.removeAll=function(e){for(var t=0,n=e.length;t=c)){(e.data!==t||e.next)&&(0===l&&(p+=(l=(0,i.default)())*l),0===d&&(p+=(d=(0,i.default)())*d),p0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(n.substring(i-=a,i+a)),!((l+=a+1)>r));)a=e[u=(u+1)%e.length];return o.reverse().join(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e:for(var n,r=(e=e.toPrecision(t)).length,i=1,o=-1;i0&&(o=0)}return o>0?e.slice(0,o)+e.slice(n+1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")};var r,i=n(71),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,o.default)(Math.abs(e)))};var r,i=n(38),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,o.default)(t)/3)))-(0,o.default)(Math.abs(e)))};var r,i=n(38),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,o.default)(t)-(0,o.default)(e))+1};var r,i=n(38),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(127);Object.defineProperty(t,"geoArea",{enumerable:!0,get:function(){return L(r).default}});var i=n(326);Object.defineProperty(t,"geoBounds",{enumerable:!0,get:function(){return L(i).default}});var o=n(327);Object.defineProperty(t,"geoCentroid",{enumerable:!0,get:function(){return L(o).default}});var u=n(128);Object.defineProperty(t,"geoCircle",{enumerable:!0,get:function(){return L(u).default}});var a=n(130);Object.defineProperty(t,"geoClipAntimeridian",{enumerable:!0,get:function(){return L(a).default}});var l=n(136);Object.defineProperty(t,"geoClipCircle",{enumerable:!0,get:function(){return L(l).default}});var s=n(329);Object.defineProperty(t,"geoClipExtent",{enumerable:!0,get:function(){return L(s).default}});var c=n(40);Object.defineProperty(t,"geoClipRectangle",{enumerable:!0,get:function(){return L(c).default}});var f=n(331);Object.defineProperty(t,"geoContains",{enumerable:!0,get:function(){return L(f).default}});var d=n(137);Object.defineProperty(t,"geoDistance",{enumerable:!0,get:function(){return L(d).default}});var h=n(332);Object.defineProperty(t,"geoGraticule",{enumerable:!0,get:function(){return L(h).default}}),Object.defineProperty(t,"geoGraticule10",{enumerable:!0,get:function(){return h.graticule10}});var p=n(333);Object.defineProperty(t,"geoInterpolate",{enumerable:!0,get:function(){return L(p).default}});var v=n(138);Object.defineProperty(t,"geoLength",{enumerable:!0,get:function(){return L(v).default}});var y=n(334);Object.defineProperty(t,"geoPath",{enumerable:!0,get:function(){return L(y).default}});var g=n(140);Object.defineProperty(t,"geoAlbers",{enumerable:!0,get:function(){return L(g).default}});var b=n(342);Object.defineProperty(t,"geoAlbersUsa",{enumerable:!0,get:function(){return L(b).default}});var _=n(343);Object.defineProperty(t,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return L(_).default}}),Object.defineProperty(t,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return _.azimuthalEqualAreaRaw}});var m=n(344);Object.defineProperty(t,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return L(m).default}}),Object.defineProperty(t,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}});var x=n(345);Object.defineProperty(t,"geoConicConformal",{enumerable:!0,get:function(){return L(x).default}}),Object.defineProperty(t,"geoConicConformalRaw",{enumerable:!0,get:function(){return x.conicConformalRaw}});var w=n(73);Object.defineProperty(t,"geoConicEqualArea",{enumerable:!0,get:function(){return L(w).default}}),Object.defineProperty(t,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return w.conicEqualAreaRaw}});var M=n(346);Object.defineProperty(t,"geoConicEquidistant",{enumerable:!0,get:function(){return L(M).default}}),Object.defineProperty(t,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return M.conicEquidistantRaw}});var O=n(141);Object.defineProperty(t,"geoEquirectangular",{enumerable:!0,get:function(){return L(O).default}}),Object.defineProperty(t,"geoEquirectangularRaw",{enumerable:!0,get:function(){return O.equirectangularRaw}});var P=n(347);Object.defineProperty(t,"geoGnomonic",{enumerable:!0,get:function(){return L(P).default}}),Object.defineProperty(t,"geoGnomonicRaw",{enumerable:!0,get:function(){return P.gnomonicRaw}});var j=n(348);Object.defineProperty(t,"geoIdentity",{enumerable:!0,get:function(){return L(j).default}});var T=n(8);Object.defineProperty(t,"geoProjection",{enumerable:!0,get:function(){return L(T).default}}),Object.defineProperty(t,"geoProjectionMutator",{enumerable:!0,get:function(){return T.projectionMutator}});var C=n(76);Object.defineProperty(t,"geoMercator",{enumerable:!0,get:function(){return L(C).default}}),Object.defineProperty(t,"geoMercatorRaw",{enumerable:!0,get:function(){return C.mercatorRaw}});var S=n(349);Object.defineProperty(t,"geoNaturalEarth1",{enumerable:!0,get:function(){return L(S).default}}),Object.defineProperty(t,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return S.naturalEarth1Raw}});var k=n(350);Object.defineProperty(t,"geoOrthographic",{enumerable:!0,get:function(){return L(k).default}}),Object.defineProperty(t,"geoOrthographicRaw",{enumerable:!0,get:function(){return k.orthographicRaw}});var A=n(351);Object.defineProperty(t,"geoStereographic",{enumerable:!0,get:function(){return L(A).default}}),Object.defineProperty(t,"geoStereographicRaw",{enumerable:!0,get:function(){return A.stereographicRaw}});var E=n(352);Object.defineProperty(t,"geoTransverseMercator",{enumerable:!0,get:function(){return L(E).default}}),Object.defineProperty(t,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return E.transverseMercatorRaw}});var N=n(39);Object.defineProperty(t,"geoRotation",{enumerable:!0,get:function(){return L(N).default}});var D=n(14);Object.defineProperty(t,"geoStream",{enumerable:!0,get:function(){return L(D).default}});var R=n(41);function L(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"geoTransform",{enumerable:!0,get:function(){return L(R).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,i,o,u,l;if(d=f=-(s=c=1/0),g=[],(0,a.default)(e,m),n=g.length){for(g.sort(S),t=1,o=[r=g[0]];tC(r[0],r[1])&&(r[1]=i[1]),C(i[0],r[1])>C(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,t=0,r=o[n=o.length-1];t<=n;r=i,++t)i=o[t],(l=C(r[1],i[0]))>u&&(u=l,s=i[0],f=r[1])}return g=b=null,s===1/0||c===1/0?[[NaN,NaN],[NaN,NaN]]:[[s,c],[f,d]]};var r=l(n(19)),i=n(127),o=n(24),u=n(0),a=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var s,c,f,d,h,p,v,y,g,b,_=(0,r.default)(),m={point:x,lineStart:M,lineEnd:O,polygonStart:function(){m.point=P,m.lineStart=j,m.lineEnd=T,_.reset(),i.areaStream.polygonStart()},polygonEnd:function(){i.areaStream.polygonEnd(),m.point=x,m.lineStart=M,m.lineEnd=O,i.areaRingSum<0?(s=-(f=180),c=-(d=90)):_>u.epsilon?d=90:_<-u.epsilon&&(c=-90),b[0]=s,b[1]=f}};function x(e,t){g.push(b=[s=e,f=e]),td&&(d=t)}function w(e,t){var n=(0,o.cartesian)([e*u.radians,t*u.radians]);if(y){var r=(0,o.cartesianCross)(y,n),i=[r[1],-r[0],0],a=(0,o.cartesianCross)(i,r);(0,o.cartesianNormalizeInPlace)(a),a=(0,o.spherical)(a);var l,p=e-h,v=p>0?1:-1,_=a[0]*u.degrees*v,m=(0,u.abs)(p)>180;m^(v*h<_&&_d&&(d=l):m^(v*h<(_=(_+360)%360-180)&&_d&&(d=t)),m?eC(s,f)&&(f=e):C(e,f)>C(s,f)&&(s=e):f>=s?(ef&&(f=e)):e>h?C(s,e)>C(s,f)&&(f=e):C(e,f)>C(s,f)&&(s=e)}else g.push(b=[s=e,f=e]);td&&(d=t),y=n,h=e}function M(){m.point=w}function O(){b[0]=s,b[1]=f,m.point=x,y=null}function P(e,t){if(y){var n=e-h;_.add((0,u.abs)(n)>180?n+(n>0?360:-360):n)}else p=e,v=t;i.areaStream.point(e,t),w(e,t)}function j(){i.areaStream.lineStart()}function T(){P(p,v),i.areaStream.lineEnd(),(0,u.abs)(_)>u.epsilon&&(s=-(f=180)),b[0]=s,b[1]=f,y=null}function C(e,t){return(t-=e)<0?t+360:t}function S(e,t){return e[0]-t[0]}function k(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t0)){if(u/=f,f<0){if(u0){if(u>c)return;u>s&&(s=u)}if(u=i-a,f||!(u<0)){if(u/=f,f<0){if(u>c)return;u>s&&(s=u)}else if(f>0){if(u0)){if(u/=d,d<0){if(u0){if(u>c)return;u>s&&(s=u)}if(u=o-l,d||!(u<0)){if(u/=d,d<0){if(u>c)return;u>s&&(s=u)}else if(d>0){if(u0&&(e[0]=a+s*f,e[1]=l+s*d),c<1&&(t[0]=a+c*f,t[1]=l+c*d),!0}}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e&&a.hasOwnProperty(e.type)?a[e.type]:s)(e,t)};var r=u(n(135)),i=u(n(137)),o=n(0);function u(e){return e&&e.__esModule?e:{default:e}}var a={Feature:function(e,t){return s(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++ri.epsilon}).map(d)).concat((0,r.range)((0,i.ceil)(s/g)*g,l,g).filter(function(e){return(0,i.abs)(e%_)>i.epsilon}).map(h))}return x.lines=function(){return w().map(function(e){return{type:"LineString",coordinates:e}})},x.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(v(c).slice(1),p(n).reverse().slice(1),v(f).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.extentMajor(e).extentMinor(e):x.extentMinor()},x.extentMajor=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],f=+e[0][1],c=+e[1][1],a>n&&(e=a,a=n,n=e),f>c&&(e=f,f=c,c=e),x.precision(m)):[[a,f],[n,c]]},x.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],s=+n[0][1],l=+n[1][1],t>e&&(n=t,t=e,e=n),s>l&&(n=s,s=l,l=n),x.precision(m)):[[t,s],[e,l]]},x.step=function(e){return arguments.length?x.stepMajor(e).stepMinor(e):x.stepMinor()},x.stepMajor=function(e){return arguments.length?(b=+e[0],_=+e[1],x):[b,_]},x.stepMinor=function(e){return arguments.length?(y=+e[0],g=+e[1],x):[y,g]},x.precision=function(r){return arguments.length?(m=+r,d=o(s,l,90),h=u(t,e,m),p=o(f,c,90),v=u(a,n,m),x):m},x.extentMajor([[-180,-90+i.epsilon],[180,90-i.epsilon]]).extentMinor([[-180,-80-i.epsilon],[180,80+i.epsilon]])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e[0]*r.radians,i=e[1]*r.radians,o=t[0]*r.radians,u=t[1]*r.radians,a=(0,r.cos)(i),l=(0,r.sin)(i),s=(0,r.cos)(u),c=(0,r.sin)(u),f=a*(0,r.cos)(n),d=a*(0,r.sin)(n),h=s*(0,r.cos)(o),p=s*(0,r.sin)(o),v=2*(0,r.asin)((0,r.sqrt)((0,r.haversin)(u-i)+a*s*(0,r.haversin)(o-n))),y=(0,r.sin)(v),g=v?function(e){var t=(0,r.sin)(e*=v)/y,n=(0,r.sin)(v-e)/y,i=n*f+t*h,o=n*d+t*p,u=n*l+t*c;return[(0,r.atan2)(o,i)*r.degrees,(0,r.atan2)(u,(0,r.sqrt)(i*i+o*o))*r.degrees]}:function(){return[n*r.degrees,i*r.degrees]};return g.distance=v,g};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,f,d=4.5;function h(e){return e&&("function"==typeof d&&f.pointRadius(+d.apply(this,arguments)),(0,i.default)(e,n(f))),f.result()}return h.area=function(e){return(0,i.default)(e,n(o.default)),o.default.result()},h.measure=function(e){return(0,i.default)(e,n(s.default)),s.default.result()},h.bounds=function(e){return(0,i.default)(e,n(u.default)),u.default.result()},h.centroid=function(e){return(0,i.default)(e,n(a.default)),a.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(f=null==e?(t=null,new c.default):new l.default(t=e),"function"!=typeof d&&f.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(f.pointRadius(+e),+e),h):d},h.projection(e).context(t)};var r=f(n(72)),i=f(n(14)),o=f(n(335)),u=f(n(139)),a=f(n(336)),l=f(n(337)),s=f(n(338)),c=f(n(339));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(19)),i=n(0),o=u(n(11));function u(e){return e&&e.__esModule?e:{default:e}}var a,l,s,c,f=(0,r.default)(),d=(0,r.default)(),h={point:o.default,lineStart:o.default,lineEnd:o.default,polygonStart:function(){h.lineStart=p,h.lineEnd=g},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=o.default,f.add((0,i.abs)(d)),d.reset()},result:function(){var e=f/2;return f.reset(),e}};function p(){h.point=v}function v(e,t){h.point=y,a=s=e,l=c=t}function y(e,t){d.add(c*e-s*t),s=e,c=t}function g(){y(a,l)}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o,u,a=n(0),l=0,s=0,c=0,f=0,d=0,h=0,p=0,v=0,y=0,g={point:b,lineStart:_,lineEnd:w,polygonStart:function(){g.lineStart=M,g.lineEnd=O},polygonEnd:function(){g.point=b,g.lineStart=_,g.lineEnd=w},result:function(){var e=y?[p/y,v/y]:h?[f/h,d/h]:c?[l/c,s/c]:[NaN,NaN];return l=s=c=f=d=h=p=v=y=0,e}};function b(e,t){l+=e,s+=t,++c}function _(){g.point=m}function m(e,t){g.point=x,b(o=e,u=t)}function x(e,t){var n=e-o,r=t-u,i=(0,a.sqrt)(n*n+r*r);f+=i*(o+e)/2,d+=i*(u+t)/2,h+=i,b(o=e,u=t)}function w(){g.point=b}function M(){g.point=P}function O(){j(r,i)}function P(e,t){g.point=j,b(r=o=e,i=u=t)}function j(e,t){var n=e-o,r=t-u,i=(0,a.sqrt)(n*n+r*r);f+=i*(o+e)/2,d+=i*(u+t)/2,h+=i,p+=(i=u*e-o*t)*(o+e),v+=i*(u+t),y+=3*i,b(o=e,u=t)}t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,i=n(0),o=n(11),u=(r=o)&&r.__esModule?r:{default:r};function a(e){this._context=e}a.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,i.tau)}},result:u.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(19)),i=n(0),o=u(n(11));function u(e){return e&&e.__esModule?e:{default:e}}var a,l,s,c,f,d=(0,r.default)(),h={point:o.default,lineStart:function(){h.point=p},lineEnd:function(){a&&v(l,s),h.point=o.default},polygonStart:function(){a=!0},polygonEnd:function(){a=null},result:function(){var e=+d;return d.reset(),e}};function p(e,t){h.point=v,l=c=e,s=f=t}function v(e,t){c-=e,f-=t,d.add((0,i.sqrt)(c*c+f*f)),c=e,f=t}t.default=h},function(e,t,n){"use strict";function r(){this._string=[]}function i(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return+t?function(e,t){function n(r,o,u,l,s,c,f,d,h,p,v,y,g,b){var _=f-r,m=d-o,x=_*_+m*m;if(x>4*t&&g--){var w=l+p,M=s+v,O=c+y,P=(0,i.sqrt)(w*w+M*M+O*O),j=(0,i.asin)(O/=P),T=(0,i.abs)((0,i.abs)(O)-1)t||(0,i.abs)((_*A+m*E)/x-.5)>.3||l*p+s*v+c*y=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?d:c).invert(e)},p.stream=function(n){return e&&t===n?e:(r=[c.stream(t=n),f.stream(n),d.stream(n)],i=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-r.halfPi+r.epsilon&&(t=-r.halfPi+r.epsilon):t>r.halfPi-r.epsilon&&(t=r.halfPi-r.epsilon);var n=a/(0,r.pow)(u(t),i);return[n*(0,r.sin)(i*e),a-n*(0,r.cos)(i*e)]}return l.invert=function(e,t){var n=a-t,o=(0,r.sign)(i)*(0,r.sqrt)(e*e+n*n);return[(0,r.atan2)(e,(0,r.abs)(n))/i*(0,r.sign)(n),2*(0,r.atan)((0,r.pow)(a/o,1/i))-r.halfPi]},l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEquidistantRaw=u,t.default=function(){return(0,i.conicProjection)(u).scale(131.154).center([0,13.9389])};var r=n(0),i=n(74),o=n(141);function u(e,t){var n=(0,r.cos)(e),i=e===t?(0,r.sin)(e):(n-(0,r.cos)(t))/(t-e),u=n/i+e;if((0,r.abs)(i)u.epsilon&&--i>0);return[e/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orthographicRaw=l,t.default=function(){return(0,a.default)(l).scale(249.5).clipAngle(90+i.epsilon)};var r,i=n(0),o=n(25),u=n(8),a=(r=u)&&r.__esModule?r:{default:r};function l(e,t){return[(0,i.cos)(t)*(0,i.sin)(e),(0,i.sin)(t)]}l.invert=(0,o.azimuthalInvert)(i.asin)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stereographicRaw=l,t.default=function(){return(0,a.default)(l).scale(250).clipAngle(142)};var r,i=n(0),o=n(25),u=n(8),a=(r=u)&&r.__esModule?r:{default:r};function l(e,t){var n=(0,i.cos)(t),r=1+(0,i.cos)(e)*n;return[n*(0,i.sin)(e)/r,(0,i.sin)(t)/r]}l.invert=(0,o.azimuthalInvert)(function(e){return 2*(0,i.atan)(e)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transverseMercatorRaw=o,t.default=function(){var e=(0,i.mercatorProjection)(o),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};var r=n(0),i=n(76);function o(e,t){return[(0,r.log)((0,r.tan)((r.halfPi+t)/2)),-e]}o.invert=function(e,t){return[-t,2*(0,r.atan)((0,r.exp)(e))-r.halfPi]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);Object.defineProperty(t,"cluster",{enumerable:!0,get:function(){return b(r).default}});var i=n(77);Object.defineProperty(t,"hierarchy",{enumerable:!0,get:function(){return b(i).default}});var o=n(366);Object.defineProperty(t,"pack",{enumerable:!0,get:function(){return b(o).default}});var u=n(142);Object.defineProperty(t,"packSiblings",{enumerable:!0,get:function(){return b(u).default}});var a=n(143);Object.defineProperty(t,"packEnclose",{enumerable:!0,get:function(){return b(a).default}});var l=n(368);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return b(l).default}});var s=n(369);Object.defineProperty(t,"stratify",{enumerable:!0,get:function(){return b(s).default}});var c=n(370);Object.defineProperty(t,"tree",{enumerable:!0,get:function(){return b(c).default}});var f=n(371);Object.defineProperty(t,"treemap",{enumerable:!0,get:function(){return b(f).default}});var d=n(372);Object.defineProperty(t,"treemapBinary",{enumerable:!0,get:function(){return b(d).default}});var h=n(26);Object.defineProperty(t,"treemapDice",{enumerable:!0,get:function(){return b(h).default}});var p=n(42);Object.defineProperty(t,"treemapSlice",{enumerable:!0,get:function(){return b(p).default}});var v=n(373);Object.defineProperty(t,"treemapSliceDice",{enumerable:!0,get:function(){return b(v).default}});var y=n(79);Object.defineProperty(t,"treemapSquarify",{enumerable:!0,get:function(){return b(y).default}});var g=n(374);function b(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"treemapResquarify",{enumerable:!0,get:function(){return b(g).default}})},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function i(e,t){return e+t.x}function o(e,t){return Math.max(e,t.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r,t=1,n=1,u=!1;function a(r){var a,l=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(i,0)/e.length}(n),t.y=function(e){return 1+e.reduce(o,0)}(n)):(t.x=a?l+=e(t,a):0,t.y=0,a=t)});var s=function(e){var t;for(;t=e.children;)e=t[0];return e}(r),c=function(e){var t;for(;t=e.children;)e=t[t.length-1];return e}(r),f=s.x-e(s,c)/2,d=c.x+e(c,s)/2;return r.eachAfter(u?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-f)/(d-f)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(u=!1,t=+e[0],n=+e[1],a):u?null:[t,n]},a.nodeSize=function(e){return arguments.length?(u=!0,t=+e[0],n=+e[1],a):u?[t,n]:null},a}},function(e,t,n){"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.eachAfter(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,i,o=this,u=[o];do{for(t=u.reverse(),u=[];o=t.pop();)if(e(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(t[n]);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),t=i.children)for(n=0,r=t.length;n=0;)n+=r[i].value;t.value=n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.each(function(t){e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null,t=1,n=1,r=u.constantZero;function i(i){return i.x=t/2,i.y=n/2,e?i.eachBefore(s(e)).eachAfter(c(r,.5)).eachBefore(f(1)):i.eachBefore(s(l)).eachAfter(c(u.constantZero,1)).eachAfter(c(r,i.r/Math.min(t,n))).eachBefore(f(Math.min(t,n)/(2*i.r))),i}return i.radius=function(t){return arguments.length?(e=(0,o.optional)(t),i):e},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(e){return arguments.length?(r="function"==typeof e?e:(0,a.default)(+e),i):r},i};var r,i=n(142),o=n(78),u=n(144),a=(r=u)&&r.__esModule?r:{default:r};function l(e){return Math.sqrt(e.value)}function s(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function c(e,t){return function(n){if(r=n.children){var r,o,u,a=r.length,l=e(n)*t||0;if(l)for(o=0;o0)throw new Error("cycle");return s}return n.id=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n.parentId=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n};var r=n(78),i=n(77),o="$",u={depth:-1},a={};function l(e){return e.id}function s(e){return e.parentId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i,t=1,n=1,r=null;function c(i){var o=function(e){var t,n,r,i,o,u=new s(e,0),a=[u];for(;t=a.pop();)if(r=t._.children)for(t.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(n=t.children[i]=new s(r[i],i)),n.parent=t;return(u.parent=new s(null,0)).children=[u],u}(i);if(o.eachAfter(f),o.parent.m=-o.z,o.eachBefore(d),r)i.eachBefore(h);else{var u=i,a=i,l=i;i.eachBefore(function(e){e.xa.x&&(a=e),e.depth>l.depth&&(l=e)});var c=u===a?1:e(u,a)/2,p=c-u.x,v=t/(a.x+c+p),y=n/(l.depth||1);i.eachBefore(function(e){e.x=(e.x+p)*v,e.y=e.depth*y})}return i}function f(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){var t,n=0,r=0,i=e.children,o=i.length;for(;--o>=0;)(t=i[o]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var s=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-s):t.z=s}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,s=t,c=t,f=n,d=s.parent.children[0],h=s.m,p=c.m,v=f.m,y=d.m;f=u(f),s=o(s),f&&s;)d=o(d),(c=u(c)).a=t,(i=f.z+v-s.z-h+e(f._,s._))>0&&(a(l(f,t,r),t,i),h+=i,p+=i),v+=f.m,h+=s.m,y+=d.m,p+=c.m;f&&!u(c)&&(c.t=f,c.m+=v-p),s&&!o(d)&&(d.t=s,d.m+=h-y,r=t)}return r}(t,i,t.parent.A||r[0])}function d(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function h(e){e.x*=t,e.y=e.depth*n}return c.separation=function(t){return arguments.length?(e=t,c):e},c.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],c):r?null:[t,n]},c.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],c):r?[t,n]:null},c};var r=n(77);function i(e,t){return e.parent===t.parent?1:2}function o(e){var t=e.children;return t?t[0]:e.t}function u(e){var t=e.children;return t?t[t.length-1]:e.t}function a(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function l(e,t,n){return e.a.parent===t.parent?e.a:n}function s(e,t){this._=e,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=t}s.prototype=Object.create(r.Node.prototype)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default,t=!1,n=1,l=1,s=[0],c=u.constantZero,f=u.constantZero,d=u.constantZero,h=u.constantZero,p=u.constantZero;function v(e){return e.x0=e.y0=0,e.x1=n,e.y1=l,e.eachBefore(y),s=[0],t&&e.eachBefore(r.default),e}function y(t){var n=s[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,u=t.y1-n;o=n-1){var c=a[t];return c.x0=i,c.y0=o,c.x1=u,void(c.y1=l)}var f=s[t],d=r/2+f,h=t+1,p=n-1;for(;h>>1;s[v]l-o){var b=(i*g+u*y)/r;e(t,h,y,i,o,b,l),e(h,n,g,b,o,u,l)}else{var _=(o*g+l*y)/r;e(t,h,y,i,o,u,_),e(h,n,g,i,_,u,l)}}(0,l,e.value,t,n,r,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o,u){(1&e.depth?i.default:r.default)(e,t,n,o,u)};var r=o(n(26)),i=o(n(42));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(26)),i=u(n(42)),o=n(79);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e,n,u,a,l){if((s=e._squarify)&&s.ratio===t)for(var s,c,f,d,h,p=-1,v=s.length,y=e.value;++p1?t:1)},n}(o.phi)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(376);Object.defineProperty(t,"polygonArea",{enumerable:!0,get:function(){return l(r).default}});var i=n(377);Object.defineProperty(t,"polygonCentroid",{enumerable:!0,get:function(){return l(i).default}});var o=n(378);Object.defineProperty(t,"polygonHull",{enumerable:!0,get:function(){return l(o).default}});var u=n(380);Object.defineProperty(t,"polygonContains",{enumerable:!0,get:function(){return l(u).default}});var a=n(381);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"polygonLength",{enumerable:!0,get:function(){return l(a).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=-1,r=e.length,i=e[r-1],o=0;++n=0;--t)f.push(e[r[o[t]][2]]);for(t=+s;t1&&(0,o.default)(e[n[r-2]],e[n[r-1]],e[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n,r,i=e.length,o=e[i-1],u=t[0],a=t[1],l=o[0],s=o[1],c=!1,f=0;fa!=s>a&&u<(l-n)*(a-r)/(s-r)+n&&(c=!c),l=n,s=r;return c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r=-1,i=e.length,o=e[i-1],u=o[0],a=o[1],l=0;++r=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,s(e)}function s(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function c(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new o(e)}o.prototype=c.prototype={constructor:o,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=r.slice.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),u(this),this},abort:function(){return null==this._error&&l(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},s(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,s(this),this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=[].slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);Object.defineProperty(t,"randomUniform",{enumerable:!0,get:function(){return s(r).default}});var i=n(146);Object.defineProperty(t,"randomNormal",{enumerable:!0,get:function(){return s(i).default}});var o=n(387);Object.defineProperty(t,"randomLogNormal",{enumerable:!0,get:function(){return s(o).default}});var u=n(388);Object.defineProperty(t,"randomBates",{enumerable:!0,get:function(){return s(u).default}});var a=n(147);Object.defineProperty(t,"randomIrwinHall",{enumerable:!0,get:function(){return s(a).default}});var l=n(389);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"randomExponential",{enumerable:!0,get:function(){return s(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(20),o=(r=i)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(20)),i=o(n(146));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(){var e=i.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(20)),i=o(n(147));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e){var n=i.default.source(t)(e);return function(){return n()/e}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(20),o=(r=i)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"request",{enumerable:!0,get:function(){return c(r).default}});var i=n(391);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return c(i).default}});var o=n(392);Object.defineProperty(t,"json",{enumerable:!0,get:function(){return c(o).default}});var u=n(393);Object.defineProperty(t,"text",{enumerable:!0,get:function(){return c(u).default}});var a=n(394);Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return c(a).default}});var l=n(395);Object.defineProperty(t,"csv",{enumerable:!0,get:function(){return c(l).default}});var s=n(396);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"tsv",{enumerable:!0,get:function(){return c(s).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("application/json",function(e){return JSON.parse(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/plain",function(e){return e.responseText})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(65),o=n(148),u=(r=o)&&r.__esModule?r:{default:r};t.default=(0,u.default)("text/csv",i.csvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(65),o=n(148),u=(r=o)&&r.__esModule?r:{default:r};t.default=(0,u.default)("text/tab-separated-values",i.tsvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return w(r).default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return r.point}});var i=n(399);Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return w(i).default}});var o=n(27);Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return w(o).default}});var u=n(401);Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return w(u).default}});var a=n(149);Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return w(a).default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return a.implicit}});var l=n(402);Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return w(l).default}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return l.sqrt}});var s=n(403);Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return w(s).default}});var c=n(404);Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return w(c).default}});var f=n(405);Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return w(f).default}});var d=n(152);Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return w(d).default}});var h=n(421);Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return w(h).default}});var p=n(422);Object.defineProperty(t,"schemeCategory10",{enumerable:!0,get:function(){return w(p).default}});var v=n(423);Object.defineProperty(t,"schemeCategory20b",{enumerable:!0,get:function(){return w(v).default}});var y=n(424);Object.defineProperty(t,"schemeCategory20c",{enumerable:!0,get:function(){return w(y).default}});var g=n(425);Object.defineProperty(t,"schemeCategory20",{enumerable:!0,get:function(){return w(g).default}});var b=n(426);Object.defineProperty(t,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return w(b).default}});var _=n(427);Object.defineProperty(t,"interpolateRainbow",{enumerable:!0,get:function(){return w(_).default}}),Object.defineProperty(t,"interpolateWarm",{enumerable:!0,get:function(){return _.warm}}),Object.defineProperty(t,"interpolateCool",{enumerable:!0,get:function(){return _.cool}});var m=n(428);Object.defineProperty(t,"interpolateViridis",{enumerable:!0,get:function(){return w(m).default}}),Object.defineProperty(t,"interpolateMagma",{enumerable:!0,get:function(){return m.magma}}),Object.defineProperty(t,"interpolateInferno",{enumerable:!0,get:function(){return m.inferno}}),Object.defineProperty(t,"interpolatePlasma",{enumerable:!0,get:function(){return m.plasma}});var x=n(429);function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return w(x).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.point=function(){return function e(t){var n=t.copy;t.padding=t.paddingOuter;delete t.paddingInner;delete t.paddingOuter;t.copy=function(){return e(n())};return t}(a().paddingInner(1))};var r,i=n(3),o=n(149),u=(r=o)&&r.__esModule?r:{default:r};function a(){var e,t,n=(0,u.default)().unknown(void 0),r=n.domain,o=n.range,l=[0,1],s=!1,c=0,f=0,d=.5;function h(){var n=r().length,u=l[1]0){for(;ha)break;y.push(f)}}else for(;h=1;--c)if(!((f=l*c)a)break;y.push(f)}}else y=(0,r.ticks)(h,p,Math.min(p-h,v)).map(d);return t?y.reverse():y};t.tickFormat=function(e,n){if(null==n&&(n=10===o?".0e":","),"function"!=typeof n&&(n=(0,i.format)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,o*e/t.ticks().length);return function(e){var t=e/d(Math.round(s(e)));return t*o0?o[r-1]:t[0],r=u?[a[u-1],n]:[a[r-1],a[r]]};s.copy=function(){return e().domain([t,n]).range(l)};return(0,o.linearish)(s)};var r=n(3),i=n(15),o=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[.5],n=[0,1],o=1;function u(e){if(e<=e)return n[(0,r.bisect)(t,e,0,o)]}u.domain=function(e){return arguments.length?(t=i.slice.call(e),o=Math.min(t.length,n.length-1),u):t.slice()};u.range=function(e){return arguments.length?(n=i.slice.call(e),o=Math.min(t.length,n.length-1),u):n.slice()};u.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]};u.copy=function(){return e().domain(t).range(n)};return u};var r=n(3),i=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};var u=(0,o.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,o.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):u:null},t.default=u;t.milliseconds=u.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setTime(Math.floor(e/u.durationSecond)*u.durationSecond)},function(e,t){e.setTime(+e+t*u.durationSecond)},function(e,t){return(t-e)/u.durationSecond},function(e){return e.getUTCSeconds()});t.default=a;t.seconds=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setTime(Math.floor(e/u.durationMinute)*u.durationMinute)},function(e,t){e.setTime(+e+t*u.durationMinute)},function(e,t){return(t-e)/u.durationMinute},function(e){return e.getMinutes()});t.default=a;t.minutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){var t=e.getTimezoneOffset()*u.durationMinute%u.durationHour;t<0&&(t+=u.durationHour),e.setTime(Math.floor((+e-t)/u.durationHour)*u.durationHour+t)},function(e,t){e.setTime(+e+t*u.durationHour)},function(e,t){return(t-e)/u.durationHour},function(e){return e.getHours()});t.default=a;t.hours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.days=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*u.durationMinute)/u.durationDay},function(e){return e.getDate()-1});t.default=a;t.days=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saturdays=t.fridays=t.thursdays=t.wednesdays=t.tuesdays=t.mondays=t.sundays=t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);function a(e){return(0,o.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*u.durationMinute)/u.durationWeek})}var l=t.sunday=a(0),s=t.monday=a(1),c=t.tuesday=a(2),f=t.wednesday=a(3),d=t.thursday=a(4),h=t.friday=a(5),p=t.saturday=a(6);t.sundays=l.range,t.mondays=s.range,t.tuesdays=c.range,t.wednesdays=f.range,t.thursdays=d.range,t.fridays=h.range,t.saturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.months=void 0;var r,i=n(2);var o=(0,((r=i)&&r.__esModule?r:{default:r}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.default=o;t.months=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.years=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};var u=(0,o.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});u.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,o.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.default=u;t.years=u.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*u.durationMinute)},function(e,t){return(t-e)/u.durationMinute},function(e){return e.getUTCMinutes()});t.default=a;t.utcMinutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*u.durationHour)},function(e,t){return(t-e)/u.durationHour},function(e){return e.getUTCHours()});t.default=a;t.utcHours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/u.durationDay},function(e){return e.getUTCDate()-1});t.default=a;t.utcDays=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcSaturdays=t.utcFridays=t.utcThursdays=t.utcWednesdays=t.utcTuesdays=t.utcMondays=t.utcSundays=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);function a(e){return(0,o.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/u.durationWeek})}var l=t.utcSunday=a(0),s=t.utcMonday=a(1),c=t.utcTuesday=a(2),f=t.utcWednesday=a(3),d=t.utcThursday=a(4),h=t.utcFriday=a(5),p=t.utcSaturday=a(6);t.utcSundays=l.range,t.utcMondays=s.range,t.utcTuesdays=c.range,t.utcWednesdays=f.range,t.utcThursdays=d.range,t.utcFridays=h.range,t.utcSaturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=void 0;var r,i=n(2);var o=(0,((r=i)&&r.__esModule?r:{default:r}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.default=o;t.utcMonths=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};var u=(0,o.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});u.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,o.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.default=u;t.utcYears=u.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(154),i=n(83);var o=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,i.utcParse)(r.isoSpecifier);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.calendar)(o.utcYear,o.utcMonth,o.utcWeek,o.utcDay,o.utcHour,o.utcMinute,o.utcSecond,o.utcMillisecond,i.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var r=n(152),i=n(82),o=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),i=n(5);t.default=(0,i.interpolateCubehelixLong)((0,r.cubehelix)(300,.5,0),(0,r.cubehelix)(-240,.5,1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cool=t.warm=void 0,t.default=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return o.h=360*e-100,o.s=1.5-1.5*t,o.l=.8-.9*t,o+""};var r=n(7),i=n(5),o=(t.warm=(0,i.interpolateCubehelixLong)((0,r.cubehelix)(-100,.75,.35),(0,r.cubehelix)(80,1.5,.8)),t.cool=(0,i.interpolateCubehelixLong)((0,r.cubehelix)(260,.75,.35),(0,r.cubehelix)(80,1.5,.8)),(0,r.cubehelix)())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plasma=t.inferno=t.magma=void 0;var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};function u(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}t.default=u((0,o.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));t.magma=u((0,o.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),t.inferno=u((0,o.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),t.plasma=u((0,o.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=0,i=1,o=!1;function u(e){var r=(e-n)/(i-n);return t(o?Math.max(0,Math.min(1,r)):r)}u.domain=function(e){return arguments.length?(n=+e[0],i=+e[1],u):[n,i]};u.clamp=function(e){return arguments.length?(o=!!e,u):o};u.interpolator=function(e){return arguments.length?(t=e,u):t};u.copy=function(){return e(t).domain([n,i]).clamp(o)};return(0,r.linearish)(u)};var r=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l,t=s,n=(0,u.default)(0),r=null,o=c,p=f,v=d,y=null;function g(){var u,l,s=+e.apply(this,arguments),c=+t.apply(this,arguments),f=o.apply(this,arguments)-a.halfPi,d=p.apply(this,arguments)-a.halfPi,g=(0,a.abs)(d-f),b=d>f;if(y||(y=u=(0,i.path)()),ca.epsilon)if(g>a.tau-a.epsilon)y.moveTo(c*(0,a.cos)(f),c*(0,a.sin)(f)),y.arc(0,0,c,f,d,!b),s>a.epsilon&&(y.moveTo(s*(0,a.cos)(d),s*(0,a.sin)(d)),y.arc(0,0,s,d,f,b));else{var _,m,x=f,w=d,M=f,O=d,P=g,j=g,T=v.apply(this,arguments)/2,C=T>a.epsilon&&(r?+r.apply(this,arguments):(0,a.sqrt)(s*s+c*c)),S=(0,a.min)((0,a.abs)(c-s)/2,+n.apply(this,arguments)),k=S,A=S;if(C>a.epsilon){var E=(0,a.asin)(C/s*(0,a.sin)(T)),N=(0,a.asin)(C/c*(0,a.sin)(T));(P-=2*E)>a.epsilon?(M+=E*=b?1:-1,O-=E):(P=0,M=O=(f+d)/2),(j-=2*N)>a.epsilon?(x+=N*=b?1:-1,w-=N):(j=0,x=w=(f+d)/2)}var D=c*(0,a.cos)(x),R=c*(0,a.sin)(x),L=s*(0,a.cos)(O),q=s*(0,a.sin)(O);if(S>a.epsilon){var I=c*(0,a.cos)(w),H=c*(0,a.sin)(w),F=s*(0,a.cos)(M),z=s*(0,a.sin)(M);if(ga.epsilon?function(e,t,n,r,i,o,u,a){var l=n-e,s=r-t,c=u-i,f=a-o,d=(c*(t-o)-f*(e-i))/(f*l-c*s);return[e+d*l,t+d*s]}(D,R,F,z,I,H,L,q):[L,q],B=D-U[0],$=R-U[1],Y=I-U[0],W=H-U[1],V=1/(0,a.sin)((0,a.acos)((B*Y+$*W)/((0,a.sqrt)(B*B+$*$)*(0,a.sqrt)(Y*Y+W*W)))/2),X=(0,a.sqrt)(U[0]*U[0]+U[1]*U[1]);k=(0,a.min)(S,(s-X)/(V-1)),A=(0,a.min)(S,(c-X)/(V+1))}}j>a.epsilon?A>a.epsilon?(_=h(F,z,D,R,c,A,b),m=h(I,H,L,q,c,A,b),y.moveTo(_.cx+_.x01,_.cy+_.y01),Aa.epsilon&&P>a.epsilon?k>a.epsilon?(_=h(L,q,I,H,s,-k,b),m=h(D,R,F,z,s,-k,b),y.lineTo(_.cx+_.x01,_.cy+_.y01),kA*A+E*E&&(P=T,j=C),{cx:P,cy:j,x01:-f,y01:-d,x11:P*(i/w-1),y11:j*(i/w-1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.default,t=i.default,n=null,a=(0,r.default)(0),l=(0,r.default)(u.tau),s=(0,r.default)(0);function c(r){var i,o,c,f,d,h=r.length,p=0,v=new Array(h),y=new Array(h),g=+a.apply(this,arguments),b=Math.min(u.tau,Math.max(-u.tau,l.apply(this,arguments)-g)),_=Math.min(Math.abs(b)/h,s.apply(this,arguments)),m=_*(b<0?-1:1);for(i=0;i0&&(p+=d);for(null!=t?v.sort(function(e,n){return t(y[e],y[n])}):null!=n&&v.sort(function(e,t){return n(r[e],r[t])}),i=0,c=p?(b-h*m)/p:0;i0?d*c:0)+m,y[o]={data:r[o],index:i,value:d,startAngle:g,endAngle:f,padAngle:_};return y}return c.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),c):e},c.sortValues=function(e){return arguments.length?(t=e,n=null,c):t},c.sort=function(e){return arguments.length?(n=e,t=null,c):n},c.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,r.default)(+e),c):a},c.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.default)(+e),c):l},c.padAngle=function(e){return arguments.length?(s="function"==typeof e?e:(0,r.default)(+e),c):s},c};var r=a(n(16)),i=a(n(432)),o=a(n(433)),u=n(29);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return te?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,l=e.lineY0,s=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,u.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,u.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,u.lineRadial)(l())},delete e.lineY0,e.lineOuterRadius=function(){return(0,u.lineRadial)(s())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,i.default)(e)):t()._curve},e};var r=n(156),i=a(r),o=a(n(155)),u=n(157);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkHorizontal=function(){return f(d)},t.linkVertical=function(){return f(h)},t.linkRadial=function(){var e=f(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e};var r=n(13),i=n(159),o=l(n(16)),u=n(85),a=l(n(158));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return e.source}function c(e){return e.target}function f(e){var t=s,n=c,a=u.x,l=u.y,f=null;function d(){var o,u=i.slice.call(arguments),s=t.apply(this,u),c=n.apply(this,u);if(f||(f=o=(0,r.path)()),e(f,+a.apply(this,(u[0]=s,u)),+l.apply(this,u),+a.apply(this,(u[0]=c,u)),+l.apply(this,u)),o)return f=null,o+""||null}return d.source=function(e){return arguments.length?(t=e,d):t},d.target=function(e){return arguments.length?(n=e,d):n},d.x=function(e){return arguments.length?(a="function"==typeof e?e:(0,o.default)(+e),d):a},d.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,o.default)(+e),d):l},d.context=function(e){return arguments.length?(f=null==e?null:e,d):f},d}function d(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function h(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function p(e,t,n,r,i){var o=(0,a.default)(t,n),u=(0,a.default)(t,n=(n+i)/2),l=(0,a.default)(r,n),s=(0,a.default)(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(u[0],u[1],l[0],l[1],s[0],s[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0,t.default=function(){var e=(0,f.default)(i.default),t=(0,f.default)(64),n=null;function o(){var i;if(n||(n=i=(0,r.path)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return o.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,f.default)(t),o):e},o.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,f.default)(+e),o):t},o.context=function(e){return arguments.length?(n=null==e?null:e,o):n},o};var r=n(13),i=d(n(160)),o=d(n(161)),u=d(n(162)),a=d(n(163)),l=d(n(164)),s=d(n(165)),c=d(n(166)),f=d(n(16));function d(e){return e&&e.__esModule?e:{default:e}}t.symbols=[i.default,o.default,u.default,l.default,a.default,s.default,c.default]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var r,i=n(47),o=(r=i)&&r.__esModule?r:{default:r},u=n(48);function a(e){this._context=e}a.prototype={areaStart:o.default,areaEnd:o.default,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,u.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new i(e)};var r=n(48);function i(e){this._context=e}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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);function i(e,t){this._basis=new r.Basis(e),this._beta=t}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],u=e[n]-i,a=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*u),this._beta*t[l]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.default=function e(t){function n(e){return 1===t?new r.Basis(e):new i(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(167),o=n(47),u=(r=o)&&r.__esModule?r:{default:r},a=n(86);function l(e,t){this._context=e,this._alpha=t}l.prototype={areaStart:u.default,areaEnd:u.default,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new l(e,t):new i.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),i=n(86);function o(e,t){this._context=e,this._alpha=t}o.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+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:(0,i.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new o(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new u(e)};var r,i=n(47),o=(r=i)&&r.__esModule?r:{default:r};function u(e){this._context=e}u.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function i(e,t,n){var i=e._x1-e._x0,o=t-e._x1,u=(e._y1-e._y0)/(i||o<0&&-0),a=(n-e._y1)/(o||i<0&&-0),l=(u*o+a*i)/(i+o);return(r(u)+r(a))*Math.min(Math.abs(u),Math.abs(a),.5*Math.abs(l))||0}function o(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function u(e,t,n){var r=e._x0,i=e._y0,o=e._x1,u=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,u-a*n,o,u)}function a(e){this._context=e}function l(e){this._context=new s(e)}function s(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new l(e)},a.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:u(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,u(this,o(this,n=i(this,e,t)),n);break;default:u(this,this._t0,n=i(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},s.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}}},function(e,t,n){"use strict";function r(e){this._context=e}function i(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(u[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)([]),t=u.default,n=o.default,a=l;function s(r){var i,o,u=e.apply(this,arguments),l=r.length,s=u.length,c=new Array(s);for(i=0;i0){for(var n,r,i,u=0,a=e[0].length;u1)for(var n,r,i,o,u,a,l=0,s=e[t[0]].length;l=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):r[0]=o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],u=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,u=0,a=1;aa.epsilon)p=p.L;else{if(!((l=c-d(p,h))>a.epsilon)){r>-a.epsilon?(t=p.P,n=p):l>-a.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,i.createCell)(e);var v=s(e);if(a.beaches.insert(t,v),!t&&!n)return;if(t===n)return(0,o.detachCircle)(t),n=s(t.site),a.beaches.insert(v,n),v.edge=n.edge=(0,u.createEdge)(t.site,v.site),(0,o.attachCircle)(t),void(0,o.attachCircle)(n);if(!n)return void(v.edge=(0,u.createEdge)(t.site,v.site));(0,o.detachCircle)(t),(0,o.detachCircle)(n);var y=t.site,g=y[0],b=y[1],_=e[0]-g,m=e[1]-b,x=n.site,w=x[0]-g,M=x[1]-b,O=2*(_*M-m*w),P=_*_+m*m,j=w*w+M*M,T=[(M*P-m*j)/O+g,(_*j-w*P)/O+b];(0,u.setEdgeEnd)(n.edge,y,x,T),v.edge=(0,u.createEdge)(y,e,null,T),n.edge=(0,u.createEdge)(e,x,null,T),(0,o.attachCircle)(t),(0,o.attachCircle)(n)};var r=n(88),i=n(169),o=n(170),u=n(89),a=n(32),l=[];function s(e){var t=l.pop()||new function(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null};return t.site=e,t}function c(e){(0,o.detachCircle)(e),a.beaches.remove(e),l.push(e),(0,r.RedBlackNode)(e)}function f(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var u=e.P;if(!u)return-1/0;var a=(n=u.site)[0],l=n[1],s=l-t;if(!s)return a;var c=a-r,f=1/o-1/s,d=c/s;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*s)-l+s/2+i-o/2)))/f+r:(r+a)/2}function d(e,t){var n=e.N;if(n)return f(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(460);Object.defineProperty(t,"zoom",{enumerable:!0,get:function(){return o(r).default}});var i=n(171);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zoomTransform",{enumerable:!0,get:function(){return o(i).default}}),Object.defineProperty(t,"zoomIdentity",{enumerable:!0,get:function(){return i.identity}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=p,h=v,m=_,x=g,w=b,M=[0,1/0],O=[[-1/0,-1/0],[1/0,1/0]],P=250,j=o.interpolateZoom,T=[],C=(0,r.dispatch)("start","zoom","end"),S=500,k=150,A=0;function E(e){e.property("__zoom",y).on("wheel.zoom",H).on("mousedown.zoom",F).on("dblclick.zoom",z).filter(w).on("touchstart.zoom",U).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",$).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function N(e,t){return(t=Math.max(M[0],Math.min(M[1],t)))===e.k?e:new c.Transform(t,e.x,e.y)}function D(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new c.Transform(e.k,r,i)}function R(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function L(e,t,n){e.on("start.zoom",function(){q(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){q(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=q(this,e),i=h.apply(this,e),o=n||R(i),u=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),a=this.__zoom,l="function"==typeof t?t.apply(this,e):t,s=j(a.invert(o).concat(u/a.k),l.invert(o).concat(u/l.k));return function(e){if(1===e)e=l;else{var t=s(e),n=u/t[2];e=new c.Transform(n,o[0]-t[0]*n,o[1]-t[1]*n)}r.zoom(null,e)}})}function q(e,t){for(var n,r=0,i=T.length;rA}e.zoom("mouse",m(D(e.that.__zoom,e.mouse[0]=(0,u.mouse)(e.that),e.mouse[1]),e.extent,O))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(0,i.dragEnable)(u.event.view,e.moved),(0,d.default)(),e.end()},!0),o=(0,u.mouse)(this),l=u.event.clientX,s=u.event.clientY;(0,i.dragDisable)(u.event.view),(0,f.nopropagation)(),e.mouse=[o,this.__zoom.invert(o)],(0,a.interrupt)(this),e.start()}}function z(){if(n.apply(this,arguments)){var e=this.__zoom,t=(0,u.mouse)(this),r=e.invert(t),i=e.k*(u.event.shiftKey?.5:2),o=m(D(N(e,i),t,r),h.apply(this,arguments),O);(0,d.default)(),P>0?(0,u.select)(this).transition().duration(P).call(L,o,t):(0,u.select)(this).call(E.transform,o)}}function U(){if(n.apply(this,arguments)){var t,r,i,o,l=q(this,arguments),s=u.event.changedTouches,c=s.length;for((0,f.nopropagation)(),r=0;rr?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){this.target=e,this.type=t,this.transform=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(172),i=(n.n(r),function(e){if(e){var t="";switch(e.charAt(0)){case"$":t+="$";break;case"£":t+="£";break;case"€":t+="€"}e.indexOf(",")>-1&&(t+=",");var n=e.split(".");switch(t+=".",t+=n.length>1?n[1].length:0,e.slice(-1)){case"%":t+="%";break;case"0":t+="f"}return r.format(t)}}),o=function(e,t,n){var r=function(t,n,r,i,o){return!(!e.addError||!e.clearErrors)&&(ro?(e.addError({title:"Too Many "+n+"s",message:"This visualization requires "+(i===o?"exactly":"no more than")+" "+o+" "+n.toLowerCase()+(1===i?"":"s")+".",group:t}),!1):(e.clearErrors(t),!0))},i=t.fields,o=i.pivots,u=i.dimensions,a=i.measure_like;return r("pivot-req","Pivot",o.length,n.min_pivots,n.max_pivots)&&r("dim-req","Dimension",u.length,n.min_dimensions,n.max_dimensions)&&r("mes-req","Measure",a.length,n.min_measures,n.max_measures)}},,function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},,,,function(e,t,n){"use strict";(function(e){var n,r,i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.subtotal=t():e.subtotal=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=508)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>1?i:e<-1?-i:Math.asin(e)},t.haversin=function(e){return(e=o(e/2))*e};t.epsilon=1e-6,t.epsilon2=1e-12;var r=t.pi=Math.PI,i=t.halfPi=r/2,o=(t.quarterPi=r/4,t.tau=2*r,t.degrees=180/r,t.radians=r/180,t.abs=Math.abs,t.atan=Math.atan,t.atan2=Math.atan2,t.cos=Math.cos,t.ceil=Math.ceil,t.exp=Math.exp,t.floor=Math.floor,t.log=Math.log,t.pow=Math.pow,t.sin=Math.sin);t.sign=Math.sign||function(e){return e>0?1:e<0?-1:0},t.sqrt=Math.sqrt,t.tan=Math.tan},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.defineProperty(t,"create",{enumerable:!0,get:function(){return x(r).default}});var i=n(33);Object.defineProperty(t,"creator",{enumerable:!0,get:function(){return x(i).default}});var o=n(228);Object.defineProperty(t,"local",{enumerable:!0,get:function(){return x(o).default}});var u=n(104);Object.defineProperty(t,"matcher",{enumerable:!0,get:function(){return x(u).default}});var a=n(229);Object.defineProperty(t,"mouse",{enumerable:!0,get:function(){return x(a).default}});var l=n(52);Object.defineProperty(t,"namespace",{enumerable:!0,get:function(){return x(l).default}});var s=n(53);Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return x(s).default}});var c=n(34);Object.defineProperty(t,"clientPoint",{enumerable:!0,get:function(){return x(c).default}});var f=n(102);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return x(f).default}});var d=n(230);Object.defineProperty(t,"selectAll",{enumerable:!0,get:function(){return x(d).default}});var h=n(4);Object.defineProperty(t,"selection",{enumerable:!0,get:function(){return x(h).default}});var p=n(54);Object.defineProperty(t,"selector",{enumerable:!0,get:function(){return x(p).default}});var v=n(103);Object.defineProperty(t,"selectorAll",{enumerable:!0,get:function(){return x(v).default}});var y=n(107);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return y.styleValue}});var g=n(231);Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return x(g).default}});var b=n(232);Object.defineProperty(t,"touches",{enumerable:!0,get:function(){return x(b).default}});var _=n(55);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return x(_).default}});var m=n(56);function x(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"event",{enumerable:!0,get:function(){return m.event}}),Object.defineProperty(t,"customEvent",{enumerable:!0,get:function(){return m.customEvent}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,o,u){function a(e){return t(e=new Date(+e)),e}a.floor=a;a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e};a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return u;do{u.push(o=new Date(+e)),n(e,i),t(e)}while(o=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})};o&&(a.count=function(e,n){return r.setTime(+e),i.setTime(+n),t(r),t(i),Math.floor(o(r,i))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(u?function(t){return u(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null});return a};var r=new Date,i=new Date},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90);Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return k(r).default}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return r.bisectRight}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return r.bisectLeft}});var i=n(17);Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return k(i).default}});var o=n(91);Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return k(o).default}});var u=n(175);Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return k(u).default}});var a=n(176);Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return k(a).default}});var l=n(93);Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return k(l).default}});var s=n(95);Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return k(s).default}});var c=n(177);Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return k(c).default}});var f=n(180);Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return k(f).default}});var d=n(181);Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return k(d).default}});var h=n(99);Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return k(h).default}});var p=n(182);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return k(p).default}});var v=n(183);Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return k(v).default}});var y=n(184);Object.defineProperty(t,"median",{enumerable:!0,get:function(){return k(y).default}});var g=n(185);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return k(g).default}});var b=n(100);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return k(b).default}});var _=n(92);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return k(_).default}});var m=n(186);Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return k(m).default}});var x=n(50);Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return k(x).default}});var w=n(97);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return k(w).default}});var M=n(187);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return k(M).default}});var O=n(188);Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return k(O).default}});var P=n(189);Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return k(P).default}});var j=n(98);Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return k(j).default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return j.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return j.tickStep}});var S=n(101);Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return k(S).default}});var C=n(94);Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return k(C).default}});var T=n(190);function k(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return k(T).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0,t.Selection=R;var r=N(n(200)),i=N(n(201)),o=N(n(202)),u=N(n(203)),a=N(n(105)),l=N(n(205)),s=N(n(206)),c=N(n(207)),f=N(n(208)),d=N(n(209)),h=N(n(210)),p=N(n(211)),v=N(n(212)),y=N(n(213)),g=N(n(214)),b=N(n(215)),_=N(n(107)),m=N(n(216)),x=N(n(217)),w=N(n(218)),M=N(n(219)),O=N(n(220)),P=N(n(221)),j=N(n(222)),S=N(n(223)),C=N(n(224)),T=N(n(225)),k=N(n(226)),E=N(n(56)),A=N(n(227));function N(e){return e&&e.__esModule?e:{default:e}}var D=t.root=[null];function R(e,t){this._groups=e,this._parents=t}function q(){return new R([[document.documentElement]],D)}R.prototype=q.prototype={constructor:R,select:r.default,selectAll:i.default,filter:o.default,data:u.default,enter:a.default,exit:l.default,merge:s.default,order:c.default,sort:f.default,call:d.default,nodes:h.default,node:p.default,size:v.default,empty:y.default,each:g.default,attr:b.default,style:_.default,property:m.default,classed:x.default,text:w.default,html:M.default,raise:O.default,lower:P.default,append:j.default,insert:S.default,remove:C.default,clone:T.default,datum:k.default,on:E.default,dispatch:A.default},t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58);Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return m(r).default}});var i=n(114);Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return m(i).default}});var o=n(61);Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return m(o).default}});var u=n(112);Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return m(u).default}});var a=n(115);Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return m(a).default}});var l=n(35);Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return m(l).default}});var s=n(116);Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return m(s).default}});var c=n(237);Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return m(c).default}});var f=n(117);Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return m(f).default}});var d=n(238);Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return d.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return d.interpolateTransformSvg}});var h=n(241);Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return m(h).default}});var p=n(111);Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return m(p).default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return p.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return p.rgbBasisClosed}});var v=n(242);Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return m(v).default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return v.hslLong}});var y=n(243);Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return m(y).default}});var g=n(244);Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return m(g).default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return g.hclLong}});var b=n(245);Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return m(b).default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return b.cubehelixLong}});var _=n(246);function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return m(_).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENDED=t.ENDING=t.RUNNING=t.STARTED=t.STARTING=t.SCHEDULED=t.CREATED=void 0,t.default=function(e,t,n,r,p,v){var y=e.__transition;if(y){if(n in y)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function u(d){var v,y,g,b;if(n.state!==l)return p();for(v in o)if((b=o[v]).name===n.name){if(b.state===c)return(0,i.timeout)(u);b.state===f?(b.state=h,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete o[v]):+va)throw new Error("too late; already scheduled");return n},t.set=function(e,t){var n=p(e,t);if(n.state>s)throw new Error("too late; already started");return n},t.get=p;var r=n(12),i=n(37),o=(0,r.dispatch)("start","end","interrupt"),u=[],a=t.CREATED=0,l=t.SCHEDULED=1,s=t.STARTING=2,c=t.STARTED=3,f=t.RUNNING=4,d=t.ENDING=5,h=t.ENDED=6;function p(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59);Object.defineProperty(t,"color",{enumerable:!0,get:function(){return u(r).default}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return r.rgb}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return r.hsl}});var i=n(235);Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return u(i).default}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return i.hcl}});var o=n(236);function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return u(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return v(function(){return e})()},t.projectionMutator=v;var r=h(n(130)),i=h(n(136)),o=h(n(40)),u=h(n(129)),a=h(n(72)),l=n(0),s=n(39),c=n(41),f=n(75),d=h(n(340));function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,c.transformer)({point:function(e,t){this.stream.point(e*l.radians,t*l.radians)}});function v(e){var t,n,h,v,y,g,b,_,m,x,w=150,M=480,O=250,P=0,j=0,S=0,C=0,T=0,k=null,E=r.default,A=null,N=a.default,D=.5,R=(0,d.default)(I,D);function q(e){return[(e=y(e[0]*l.radians,e[1]*l.radians))[0]*w+n,h-e[1]*w]}function L(e){return(e=y.invert((e[0]-n)/w,(h-e[1])/w))&&[e[0]*l.degrees,e[1]*l.degrees]}function I(e,r){return[(e=t(e,r))[0]*w+n,h-e[1]*w]}function F(){y=(0,u.default)(v=(0,s.rotateRadians)(S,C,T),t);var e=t(P,j);return n=M-e[0]*w,h=O+e[1]*w,H()}function H(){return m=x=null,q}return q.stream=function(e){return m&&x===e?m:m=p(function(e){return(0,c.transformer)({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(v)(E(R(N(x=e)))))},q.preclip=function(e){return arguments.length?(E=e,k=void 0,H()):E},q.postclip=function(e){return arguments.length?(N=e,A=g=b=_=null,H()):N},q.clipAngle=function(e){return arguments.length?(E=+e?(0,i.default)(k=e*l.radians):(k=null,r.default),H()):k*l.degrees},q.clipExtent=function(e){return arguments.length?(N=null==e?(A=g=b=_=null,a.default):(0,o.default)(A=+e[0][0],g=+e[0][1],b=+e[1][0],_=+e[1][1]),H()):null==A?null:[[A,g],[b,_]]},q.scale=function(e){return arguments.length?(w=+e,F()):w},q.translate=function(e){return arguments.length?(M=+e[0],O=+e[1],F()):[M,O]},q.center=function(e){return arguments.length?(P=e[0]%360*l.radians,j=e[1]%360*l.radians,F()):[P*l.degrees,j*l.degrees]},q.rotate=function(e){return arguments.length?(S=e[0]%360*l.radians,C=e[1]%360*l.radians,T=e.length>2?e[2]%360*l.radians:0,F()):[S*l.degrees,C*l.degrees,T*l.degrees]},q.precision=function(e){return arguments.length?(R=(0,d.default)(I,D=e*e),H()):(0,l.sqrt)(D)},q.fitExtent=function(e,t){return(0,f.fitExtent)(q,e,t)},q.fitSize=function(e,t){return(0,f.fitSize)(q,e,t)},q.fitWidth=function(e,t){return(0,f.fitWidth)(q,e,t)},q.fitHeight=function(e,t){return(0,f.fitHeight)(q,e,t)},function(){return t=e.apply(this,arguments),q.invert=t.invert&&L,F()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.durationSecond=1e3,t.durationMinute=6e4,t.durationHour=36e5,t.durationDay=864e5,t.durationWeek=6048e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=M,t.default=O,t.newId=function(){return++w};var r=n(1),i=x(n(247)),o=x(n(250)),u=x(n(251)),a=x(n(252)),l=x(n(253)),s=x(n(254)),c=x(n(255)),f=x(n(256)),d=x(n(257)),h=x(n(258)),p=x(n(259)),v=x(n(260)),y=x(n(261)),g=x(n(262)),b=x(n(263)),_=x(n(264)),m=x(n(36));function x(e){return e&&e.__esModule?e:{default:e}}var w=0;function M(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function O(e){return(0,r.selection)().transition(e)}var P=r.selection.prototype;M.prototype=O.prototype={constructor:M,select:h.default,selectAll:p.default,filter:s.default,merge:c.default,selection:v.default,transition:_.default,call:P.call,nodes:P.nodes,node:P.node,size:P.size,empty:P.empty,each:P.each,on:f.default,attr:i.default,attrTween:o.default,style:y.default,styleTween:g.default,text:b.default,remove:d.default,tween:m.default,delay:u.default,duration:a.default,ease:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(197);Object.defineProperty(t,"dispatch",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287);Object.defineProperty(t,"path",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";function r(e,t){e&&o.hasOwnProperty(e.type)&&o[e.type](e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&i.hasOwnProperty(e.type)?i[e.type](e,t):r(e,t)};var i={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,i=-1,o=n.length;++it?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(){this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){o(i,e,this.t),o(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 o(e,t,n){var r=e.s=t+n,i=r-t,o=r-i;e.t=t-o+(n-i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(288);Object.defineProperty(t,"nest",{enumerable:!0,get:function(){return s(r).default}});var i=n(289);Object.defineProperty(t,"set",{enumerable:!0,get:function(){return s(i).default}});var o=n(64);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return s(o).default}});var u=n(290);Object.defineProperty(t,"keys",{enumerable:!0,get:function(){return s(u).default}});var a=n(291);Object.defineProperty(t,"values",{enumerable:!0,get:function(){return s(a).default}});var l=n(292);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"entries",{enumerable:!0,get:function(){return s(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hue=function(e,t){var n=t-e;return n?u(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,o.default)(isNaN(e)?t:e)},t.gamma=function(e){return 1==(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,o.default)(isNaN(t)?n:t)}},t.default=a;var r,i=n(113),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?u(e,n):(0,o.default)(isNaN(e)?t:e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spherical=function(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]},t.cartesian=function(e){var t=e[0],n=e[1],i=(0,r.cos)(n);return[i*(0,r.cos)(t),i*(0,r.sin)(t),(0,r.sin)(n)]},t.cartesianDot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},t.cartesianCross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},t.cartesianAddInPlace=function(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]},t.cartesianScale=function(e,t){return[e[0]*t,e[1]*t,e[2]*t]},t.cartesianNormalizeInPlace=function(e){var t=(0,r.sqrt)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.azimuthalRaw=function(e){return function(t,n){var i=(0,r.cos)(t),o=(0,r.cos)(n),u=e(i*o);return[u*o*(0,r.sin)(t),u*(0,r.sin)(n)]}},t.azimuthalInvert=function(e){return function(t,n){var i=(0,r.sqrt)(t*t+n*n),o=e(i),u=(0,r.sin)(o),a=(0,r.cos)(o);return[(0,r.atan2)(t*u,i*a),(0,r.asin)(i&&n*u/i)]}};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){for(var o,u=e.children,a=-1,l=u.length,s=e.value&&(r-t)/e.value;++a0?(l=Math.floor(l/i)*i,s=Math.ceil(s/i)*i,i=(0,r.tickIncrement)(l,s,n)):i<0&&(l=Math.ceil(l*i)/i,s=Math.floor(s*i)/i,i=(0,r.tickIncrement)(l,s,n)),i>0?(o[u]=Math.floor(l/i)*i,o[a]=Math.ceil(s/i)*i,t(o)):i<0&&(o[u]=Math.ceil(l*i)/i,o[a]=Math.floor(s*i)/i,t(o)),e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>=1?i:e<=-1?-i:Math.asin(e)};t.abs=Math.abs,t.atan2=Math.atan2,t.cos=Math.cos,t.max=Math.max,t.min=Math.min,t.sin=Math.sin,t.sqrt=Math.sqrt,t.epsilon=1e-12;var r=t.pi=Math.PI,i=t.halfPi=r/2;t.tau=2*r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((i=e.length)>1)for(var n,r,i,o=1,u=e[t[0]],a=u.length;o=0;)n[t]=t;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edges=t.circles=t.cells=t.beaches=t.epsilon2=t.epsilon=void 0,t.default=h;var r,i=n(458),o=n(169),u=n(170),a=n(89),l=n(88),s=(r=l)&&r.__esModule?r:{default:r};t.epsilon=1e-6,t.epsilon2=1e-12,t.beaches=void 0;var c=t.cells=void 0,f=(t.circles=void 0,t.edges=void 0);function d(e,t){return t[1]-e[1]||t[0]-e[0]}function h(e,n){var r,l,h,p=e.sort(d).pop();for(t.edges=f=[],t.cells=c=new Array(e.length),t.beaches=new s.default,t.circles=new s.default;;)if(h=u.firstCircle,p&&(!h||p[1]=a)return null;var l=e-i.site[0],s=t-i.site[1],c=l*l+s*s;do{i=o.cells[r=u],u=null,i.halfedges.forEach(function(n){var r=o.edges[n],a=r.left;if(a!==i.site&&a||(a=r.right)){var l=e-a[0],s=t-a[1],f=l*l+s*s;f2?e[2]*u.radians:0),t.invert=function(t){return(t=e.invert(t[0]*u.radians,t[1]*u.radians))[0]*=u.degrees,t[1]*=u.degrees,t},t};var r,i=n(129),o=(r=i)&&r.__esModule?r:{default:r},u=n(0);function a(e,t){return[e>u.pi?e-u.tau:e<-u.pi?e+u.tau:e,t]}function l(e,t,n){return(e%=u.tau)?t||n?(0,o.default)(c(e),f(t,n)):c(e):t||n?f(t,n):a}function s(e){return function(t,n){return[(t+=e)>u.pi?t-u.tau:t<-u.pi?t+u.tau:t,n]}}function c(e){var t=s(e);return t.invert=s(-e),t}function f(e,t){var n=(0,u.cos)(e),r=(0,u.sin)(e),i=(0,u.cos)(t),o=(0,u.sin)(t);function a(e,t){var a=(0,u.cos)(t),l=(0,u.cos)(e)*a,s=(0,u.sin)(e)*a,c=(0,u.sin)(t),f=c*n+l*r;return[(0,u.atan2)(s*i-f*o,l*n-c*r),(0,u.asin)(f*i+s*o)]}return a.invert=function(e,t){var a=(0,u.cos)(t),l=(0,u.cos)(e)*a,s=(0,u.sin)(e)*a,c=(0,u.sin)(t),f=c*i-s*o;return[(0,u.atan2)(s*i+c*o,l*n+f*r),(0,u.asin)(f*n-l*r)]},a}a.invert=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){function f(r,i){return e<=r&&r<=n&&t<=i&&i<=l}function d(r,i,o,u){var a=0,s=0;if(null==r||(a=h(r,o))!==(s=h(i,o))||v(r,i)<0^o>0)do{u.point(0===a||3===a?e:n,a>1?l:t)}while((a=(a+o+4)%4)!==s);else u.point(i[0],i[1])}function h(i,o){return(0,r.abs)(i[0]-e)0?0:3:(0,r.abs)(i[0]-n)0?2:1:(0,r.abs)(i[1]-t)0?1:0:o>0?3:2}function p(e,t){return v(e.x,t.x)}function v(e,t){var n=h(e,1),r=h(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(r){var h,v,y,g,b,_,m,x,w,M,O,P=r,j=(0,i.default)(),S={point:C,lineStart:function(){S.point=T,v&&v.push(y=[]);M=!0,w=!1,m=x=NaN},lineEnd:function(){h&&(T(g,b),_&&w&&j.rejoin(),h.push(j.result()));S.point=C,w&&P.lineEnd()},polygonStart:function(){P=j,h=[],v=[],O=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,r=v.length;nl&&(f-i)*(l-o)>(d-o)*(e-i)&&++t:d<=l&&(f-i)*(l-o)<(d-o)*(e-i)&&--t;return t}(),n=O&&t,i=(h=(0,a.merge)(h)).length;(n||i)&&(r.polygonStart(),n&&(r.lineStart(),d(null,null,1,r),r.lineEnd()),i&&(0,u.default)(h,p,t,d,r),r.polygonEnd());P=r,h=v=y=null}};function C(e,t){f(e,t)&&P.point(e,t)}function T(r,i){var u=f(r,i);if(v&&y.push([r,i]),M)g=r,b=i,_=u,M=!1,u&&(P.lineStart(),P.point(r,i));else if(u&&w)P.point(r,i);else{var a=[m=Math.max(c,Math.min(s,m)),x=Math.max(c,Math.min(s,x))],d=[r=Math.max(c,Math.min(s,r)),i=Math.max(c,Math.min(s,i))];(0,o.default)(a,d,e,t,n,l)?(w||(P.lineStart(),P.point(a[0],a[1])),P.point(d[0],d[1]),u||P.lineEnd(),O=!1):u&&(P.lineStart(),P.point(r,i),O=!1)}m=r,x=i,w=u}return S}};var r=n(0),i=l(n(132)),o=l(n(330)),u=l(n(133)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}var s=1e9,c=-s},function(e,t,n){"use strict";function r(e){return function(t){var n=new i;for(var r in e)n[r]=e[r];return n.stream=t,n}}function i(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{stream:r(e)}},t.transformer=r,i.prototype={constructor:i,point:function(e,t){this.stream.point(e,t)},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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){for(var o,u=e.children,a=-1,l=u.length,s=e.value&&(i-n)/e.value;++a2?d:f,r=u=null,g}function g(t){return(r||(r=n(l,h,v?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,p)))(+t)}return g.invert=function(e){return(u||(u=n(h,l,c,v?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},g.domain=function(e){return arguments.length?(l=o.map.call(e,a.default),y()):l.slice()},g.range=function(e){return arguments.length?(h=o.slice.call(e),y()):h.slice()},g.rangeRound=function(e){return h=o.slice.call(e),p=i.interpolateRound,y()},g.clamp=function(e){return arguments.length?(v=!!e,y()):v},g.interpolate=function(e){return arguments.length?(p=e,y()):p},y()};var r=n(3),i=n(5),o=n(15),u=l(n(81)),a=l(n(150));function l(e){return e&&e.__esModule?e:{default:e}}var s=[0,1];function c(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,u.default)(t)}function f(e,t,n,r){var i=e[0],o=e[1],u=t[0],a=t[1];return o=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,u=Math.floor(i),a=+n(e[u],u,e);return a+(+n(e[u+1],u+1,e)-a)*(i-u)}};var r,i=n(22),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"drag",{enumerable:!0,get:function(){return o(r).default}});var i=n(108);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"dragDisable",{enumerable:!0,get:function(){return o(i).default}}),Object.defineProperty(t,"dragEnable",{enumerable:!0,get:function(){return i.yesdrag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),o.default.hasOwnProperty(t)?{space:o.default[t],local:e}:e};var r,i=n(53),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.xhtml="http://www.w3.org/1999/xhtml";t.default={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(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),u=o.length;if(!(arguments.length<2)){for(s=t?l:a,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=f.exec(e))?m(parseInt(t[1],16)):(t=d.exec(e))?new O(t[1],t[2],t[3],1):(t=h.exec(e))?new O(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?x(t[1],t[2],t[3],t[4]):(t=v.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?m(b[e]):"transparent"===e?new O(NaN,NaN,NaN,0):null}function m(e){return new O(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new O(e,t,n,r)}function w(e){return e instanceof u||(e=_(e)),e?new O((e=e.rgb()).r,e.g,e.b,e.opacity):new O}function M(e,t,n,r){return 1===arguments.length?w(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function P(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new C(e,t,n,r)}function j(e){if(e instanceof C)return new C(e.h,e.s,e.l,e.opacity);if(e instanceof u||(e=_(e)),!e)return new C;if(e instanceof C)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n0&&s<1?0:a,new C(a,l,s,e.opacity)}function S(e,t,n,r){return 1===arguments.length?j(e):new C(e,t,n,null==r?1:r)}function C(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function T(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,o.default)(u,_,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),(0,o.default)(O,M,(0,i.extend)(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new O(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new O(this.r*e,this.g*e,this.b*e,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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}})),(0,o.default)(C,S,(0,i.extend)(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new C(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new C(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new O(T(e>=240?e-240:e+120,i,r),T(e,i,r),T(e<120?e+240:e-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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},t.extend=function(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}},function(e,t,n){"use strict";function r(e,t,n,r,i){var o=e*e,u=o*e;return((1-3*e+3*o-u)*t+(4-6*o+3*u)*n+(1+3*e+3*o-3*u)*r+u*i)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],u=e[i+1],a=i>0?e[i-1]:2*o-u,l=i=0&&t._call.call(null,e),t=t._next;--u}function m(){f=(c=h.now())+d,u=a=0;try{_()}finally{u=0,function(){var e,t,n=i,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:i=t);o=e,w(r)}(),f=0}}function x(){var e=h.now(),t=e-c;t>s&&(d-=t,c=e)}function w(e){u||(a&&(a=clearTimeout(a)),e-f>24?(e<1/0&&(a=setTimeout(m,e-h.now()-d)),l&&(l=clearInterval(l))):(l||(c=h.now(),l=setInterval(x,s)),u=1,p(m)))}g.prototype=b.prototype={constructor:g,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?v():+n)+(null==t?0:+t),this._next||o===this||(o?o._next=this:i=this,o=this),this._call=e,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prefix="$";function i(){}function o(e,t){var n=new i;if(e instanceof i)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,o=-1,u=e.length;if(null==t)for(;++o=c?h=!0:(l=e.charCodeAt(f++))===u?p=!0:l===a&&(p=!0,e.charCodeAt(f)===u&&++f),e.slice(s+1,t-1).replace(/""/g,'"')}for(;f1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEqualAreaRaw=u,t.default=function(){return(0,i.conicProjection)(u).scale(155.424).center([0,33.6442])};var r=n(0),i=n(74),o=n(341);function u(e,t){var n=(0,r.sin)(e),i=(n+(0,r.sin)(t))/2;if((0,r.abs)(i)=0;--o)s.push(r=n.children[o]=new _(i[o])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(b)}function y(e){return e.children}function g(e){e.data=e.data.data}function b(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function _(e){this.data=e,this.depth=this.height=0,this.parent=null}_.prototype=v.prototype={constructor:_,count:r.default,each:i.default,eachAfter:u.default,eachBefore:o.default,sum:a.default,sort:l.default,path:s.default,ancestors:c.default,descendants:f.default,leaves:d.default,links:h.default,copy:function(){return v(this).eachBefore(g)}}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new Error;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.optional=function(e){return null==e?null:r(e)},t.required=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phi=void 0,t.squarifyRatio=a;var r=o(n(26)),i=o(n(42));function o(e){return e&&e.__esModule?e:{default:e}}var u=t.phi=(1+Math.sqrt(5))/2;function a(e,t,n,o,u,a){for(var l,s,c,f,d,h,p,v,y,g,b,_=[],m=t.children,x=0,w=0,M=m.length,O=t.value;xp&&(p=s),b=d*d*g,(v=Math.max(p/b,b/h))>y){d-=s;break}y=v}_.push(l={value:d,dice:c1?t:1)},n}(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,o,u,a,l=(0,i.dispatch)("beforesend","progress","load","error"),s=(0,r.map)(),c=new XMLHttpRequest,f=null,d=null,h=0;function p(e){var t,r=c.status;if(!r&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(c)||r>=200&&r<300||304===r){if(u)try{t=u.call(n,c)}catch(e){return void l.call("error",n,e)}else t=c;l.call("load",n,t)}else l.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(e)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=p:c.onreadystatechange=function(e){c.readyState>3&&p(e)},c.onprogress=function(e){l.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s.get(e):(null==t?s.remove(e):s.set(e,t+""),n)},mimeType:function(e){return arguments.length?(o=null==e?null:e+"",n):o},responseType:function(e){return arguments.length?(a=e,n):a},timeout:function(e){return arguments.length?(h=+e,n):h},user:function(e){return arguments.length<1?f:(f=null==e?null:e+"",n)},password:function(e){return arguments.length<1?d:(d=null==e?null:e+"",n)},response:function(e){return u=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,r,i){return c.open(t,e,!0,f,d),null==o||s.has("accept")||s.set("accept",o+",*/*"),c.setRequestHeader&&s.each(function(e,t){c.setRequestHeader(t,e)}),null!=o&&c.overrideMimeType&&c.overrideMimeType(o),null!=a&&(c.responseType=a),h>0&&(c.timeout=h),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(e){return function(t,n){e(null==t?n:null)}}(i)),null!=i&&n.on("error",i).on("load",function(e){i(null,e)}),l.call("beforesend",n,c),c.send(null==r?null:r),n},abort:function(){return c.abort(),n},on:function(){var e=l.on.apply(l,arguments);return e===l?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n};var r=n(21),i=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return a(r).default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return r.timeFormat}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return r.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return r.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return r.utcParse}});var i=n(153);Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return a(i).default}});var o=n(154);Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return a(o).default}});var u=n(420);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a(u).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0,t.default=a;var r,i,o=n(153),u=(r=o)&&r.__esModule?r:{default:r};t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0;function a(e){return i=(0,u.default)(e),t.timeFormat=i.format,t.timeParse=i.parse,t.utcFormat=i.utcFormat,t.utcParse=i.utcParse,i}a({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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u.x,t=u.y,n=(0,i.default)(!0),a=null,l=o.default,s=null;function c(i){var o,u,c,f=i.length,d=!1;for(null==a&&(s=l(c=(0,r.path)())),o=0;o<=f;++o)!(or.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,s=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/s,o=(o*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/s}if(e._l23_a>r.epsilon){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);u=(u*c+e._x1*e._l23_2a-t*e._l12_2a)/f,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(i,o,u,a,e._x2,e._y2)}function u(e,t){this._context=e,this._alpha=t}t.point=o,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(){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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new u(e,t):new i.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(u);return(0,o.default)(e).sort(function(e,n){return t[e]-t[n]})},t.sum=u;var r,i=n(31),o=(r=i)&&r.__esModule?r:{default:r};function u(e){for(var t,n=0,r=-1,i=e.length;++rr.epsilon||Math.abs(a[0][1]-a[1][1])>r.epsilon)||delete r.edges[l]};var r=n(32);function i(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function o(e,t,n,r,i){var o,u=e[0],a=e[1],l=u[0],s=u[1],c=0,f=1,d=a[0]-l,h=a[1]-s;if(o=t-l,d||!(o>0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=r-l,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0)){if(o/=h,h<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-s,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>c&&(c=o)}else if(h>0){if(o0||f<1)||(c>0&&(e[0]=[l+c*d,s+c*h]),f<1&&(e[1]=[l+f*d,s+f*h]),!0)}}}}}function u(e,t,n,r,i){var o=e[1];if(o)return!0;var u,a,l=e[0],s=e.left,c=e.right,f=s[0],d=s[1],h=c[0],p=c[1],v=(f+h)/2,y=(d+p)/2;if(p===d){if(v=r)return;if(f>h){if(l){if(l[1]>=i)return}else l=[v,n];o=[v,i]}else{if(l){if(l[1]1)if(f>h){if(l){if(l[1]>=i)return}else l=[(n-a)/u,n];o=[(i-a)/u,i]}else{if(l){if(l[1]=r)return}else l=[t,u*t+a];o=[r,u*r+a]}else{if(l){if(l[0]>>1;e(t[o],n)<0?r=o+1:i=o}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;e(t[o],n)>0?i=o:r=o+1}return r}}};var r,i=n(17),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){null==t&&(t=r);for(var n=0,i=e.length-1,o=e[0],u=new Array(i<0?0:i);n1)return s/(u-1)};var r,i=n(22),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,i,o=e.length,u=-1;if(null==t){for(;++u=n)for(r=i=n;++un&&(r=n),i=n)for(r=i=n;++un&&(r=n),i0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),o=new Array(i=Math.ceil(t-e+1));++l=r?a*=10:l>=i?a*=5:l>=o&&(a*=2);return t=0?(l>=r?10:l>=i?5:l>=o?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(l>=r?10:l>=i?5:l>=o?2:1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=n;++on&&(r=n)}else for(;++o=n)for(r=n;++on&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(i=e.length))return[];for(var t=-1,n=(0,o.default)(e,u),r=new Array(n);++t1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):u(this.node(),e)},t.styleValue=u;var r,i=n(55),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t){return e.style.getPropertyValue(t)||(0,o.default)(e).getComputedStyle(e,null).getPropertyValue(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.document.documentElement,n=(0,i.select)(e).on("dragstart.drag",u.default,!0);"onselectstart"in t?n.on("selectstart.drag",u.default,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},t.yesdrag=function(e,t){var n=e.document.documentElement,r=(0,i.select)(e).on("dragstart.drag",null);t&&(r.on("click.drag",u.default,!0),setTimeout(function(){r.on("click.drag",null)},0));"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var r,i=n(1),o=n(109),u=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.deg2rad=Math.PI/180,t.rad2deg=180/Math.PI},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=void 0;var r=n(7),i=l(n(61)),o=l(n(112)),u=n(23),a=l(u);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(t){var n,i,o=t.length,u=new Array(o),a=new Array(o),l=new Array(o);for(n=0;nl&&(i=t.slice(l,i),c[s]?c[s]+=i:c[++s]=i),(n=n[0])===(r=r[0])?c[s]?c[s]+=r:c[++s]=r:(c[++s]=null,f.push({i:s,x:(0,o.default)(n,r)})),l=a.lastIndex;return lr.STARTING&&n.state1?(null==n?d.remove(e):d.set(e,b(n)),t):d.get(e)},find:function(t,n,r){var i,o,u,a,l,s=0,c=e.length;for(null==r?r=1/0:r*=r,s=0;s1?(p.on(e,n),t):p.on(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.grouping&&e.thousands?(0,i.default)(e.grouping,e.thousands):s.default,n=e.currency,c=e.decimal,d=e.numerals?(0,o.default)(e.numerals):s.default,h=e.percent||"%";function p(e){var r=(e=(0,u.default)(e)).fill,i=e.align,o=e.sign,s=e.symbol,p=e.zero,v=e.width,y=e.comma,g=e.precision,b=e.type,_="$"===s?n[0]:"#"===s&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",m="$"===s?n[1]:/[%p]/.test(b)?h:"",x=a.default[b],w=!b||/[defgprs%]/.test(b);function M(e){var n,u,a,s=_,h=m;if("c"===b)h=x(e)+h,e="";else{var M=(e=+e)<0;if(e=x(Math.abs(e),g),M&&0==+e&&(M=!1),s=(M?"("===o?o:"-":"-"===o||"("===o?"":o)+s,h=("s"===b?f[8+l.prefixExponent/3]:"")+h+(M&&"("===o?")":""),w)for(n=-1,u=e.length;++n(a=e.charCodeAt(n))||a>57){h=(46===a?c+e.slice(n+1):e.slice(n))+h,e=e.slice(0,n);break}}y&&!p&&(e=t(e,1/0));var O=s.length+e.length+h.length,P=O>1)+s+e+h+P.slice(O);break;default:e=P+s+e+h}return d(e)}return g=null==g?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return e+""},M}return{format:p,formatPrefix:function(e,t){var n=p(((e=(0,u.default)(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),o=Math.pow(10,-i),a=f[8+i/3];return function(e){return n(o*e)+a}}}};var r=c(n(38)),i=c(n(317)),o=c(n(318)),u=c(n(124)),a=c(n(125)),l=n(126),s=c(n(321));function c(e){return e&&e.__esModule?e:{default:e}}var f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,i=n(125),o=(r=i)&&r.__esModule?r:{default:r};var u=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function a(e){return new l(e)}function l(e){if(!(t=u.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",i=t[3]||"-",a=t[4]||"",l=!!t[5],s=t[6]&&+t[6],c=!!t[7],f=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(c=!0,d="g"):o.default[d]||(d=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=i,this.symbol=a,this.zero=l,this.width=s,this.comma=c,this.precision=f,this.type=d}a.prototype=l.prototype,l.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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(319)),i=u(n(126)),o=u(n(320));function u(e){return e&&e.__esModule?e:{default:e}}t.default={"":r.default,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return(0,o.default)(100*e,t)},r:o.default,s:i.default,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prefixExponent=void 0,t.default=function(e,n){var r=(0,o.default)(e,n);if(!r)return e+"";var i=r[0],u=r[1],a=u-(t.prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1,l=i.length;return a===l?i:a>l?i+new Array(a-l+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+(0,o.default)(e,Math.max(0,n+a-1))[0]};var r,i=n(71),o=(r=i)&&r.__esModule?r:{default:r};t.prefixExponent=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areaStream=t.areaRingSum=void 0,t.default=function(e){return p.reset(),(0,u.default)(e,v),2*p};var r=a(n(19)),i=n(0),o=a(n(11)),u=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,s,c,f,d,h=t.areaRingSum=(0,r.default)(),p=(0,r.default)(),v=t.areaStream={point:o.default,lineStart:o.default,lineEnd:o.default,polygonStart:function(){h.reset(),v.lineStart=y,v.lineEnd=g},polygonEnd:function(){var e=+h;p.add(e<0?i.tau+e:e),this.lineStart=this.lineEnd=this.point=o.default},sphere:function(){p.add(i.tau)}};function y(){v.point=b}function g(){_(l,s)}function b(e,t){v.point=_,l=e,s=t,e*=i.radians,t*=i.radians,c=e,f=(0,i.cos)(t=t/2+i.quarterPi),d=(0,i.sin)(t)}function _(e,t){e*=i.radians,t=(t*=i.radians)/2+i.quarterPi;var n=e-c,r=n>=0?1:-1,o=r*n,u=(0,i.cos)(t),a=(0,i.sin)(t),l=d*a,s=f*u+l*(0,i.cos)(o),p=l*r*(0,i.sin)(o);h.add((0,i.atan2)(p,s)),c=e,f=u,d=a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circleStream=s,t.default=function(){var e,t,n=(0,u.default)([0,0]),r=(0,u.default)(90),i=(0,u.default)(6),o={point:function(n,r){e.push(n=t(n,r)),n[0]*=a.degrees,n[1]*=a.degrees}};function c(){var u=n.apply(this,arguments),c=r.apply(this,arguments)*a.radians,f=i.apply(this,arguments)*a.radians;return e=[],t=(0,l.rotateRadians)(-u[0]*a.radians,-u[1]*a.radians,0).invert,s(o,c,f,1),u={type:"Polygon",coordinates:[e]},e=t=null,u}return c.center=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)([+e[0],+e[1]]),c):n},c.radius=function(e){return arguments.length?(r="function"==typeof e?e:(0,u.default)(+e),c):r},c.precision=function(e){return arguments.length?(i="function"==typeof e?e:(0,u.default)(+e),c):i},c};var r,i=n(24),o=n(328),u=(r=o)&&r.__esModule?r:{default:r},a=n(0),l=n(39);function s(e,t,n,r,o,u){if(n){var l=(0,a.cos)(t),s=(0,a.sin)(t),f=r*n;null==o?(o=t+r*a.tau,u=t-f/2):(o=c(l,o),u=c(l,u),(r>0?ou)&&(o+=r*a.tau));for(var d,h=o;r>0?h>u:h0?u.pi:-u.pi,s=(0,u.abs)(o-n);(0,u.abs)(s-u.pi)0?u.halfPi:-u.halfPi),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(o,r),t=0):i!==l&&s>=u.pi&&((0,u.abs)(n-i)u.epsilon?(0,u.atan)(((0,u.sin)(t)*(o=(0,u.cos)(r))*(0,u.sin)(n)-(0,u.sin)(r)*(i=(0,u.cos)(t))*(0,u.sin)(e))/(i*o*a)):(t+r)/2}(n,r,o,a),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=o,r=a),i=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var i;if(null==e)i=n*u.halfPi,r.point(-u.pi,i),r.point(0,i),r.point(u.pi,i),r.point(u.pi,0),r.point(u.pi,-i),r.point(0,-i),r.point(-u.pi,-i),r.point(-u.pi,0),r.point(-u.pi,i);else if((0,u.abs)(e[0]-t[0])>u.epsilon){var o=e[0]0){for(g||(l.polygonStart(),g=!0),l.lineStart(),e=0;e1&&2&i&&o.push(o.pop().concat(o.shift())),d.push(o.filter(s))}return b}};var r=l(n(132)),i=l(n(133)),o=n(0),u=l(n(135)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return e.length>1}function c(e,t){return((e=e.x)[0]<0?e[1]-o.halfPi-o.epsilon:o.halfPi-e[1])-((t=t.x)[0]<0?t[1]-o.halfPi-o.epsilon:o.halfPi-t[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:o.default,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}};var r,i=n(11),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){var l,s,c=[],f=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if((0,o.default)(r,a)){for(i.lineStart(),l=0;l=0;--l)i.point((h=d[l])[0],h[1]);else r(v.x,v.p.x,-1,i);v=v.p}d=(v=v.o).z,y=!y}while(!v.v);i.lineEnd()}}};var r,i=n(134),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function a(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r=0?1:-1,S=j*P,C=S>a.pi,T=g*M;if(l.add((0,a.atan2)(T*j*(0,a.sin)(S),b*O+T*(0,a.cos)(S))),o+=C?P+j*a.tau:P,C^v>=n^x>=n){var k=(0,u.cartesianCross)((0,u.cartesian)(p),(0,u.cartesian)(m));(0,u.cartesianNormalizeInPlace)(k);var E=(0,u.cartesianCross)(i,k);(0,u.cartesianNormalizeInPlace)(E);var A=(C^P>=0?-1:1)*(0,a.asin)(E[2]);(r>A||r===A&&(k[0]||k[1]))&&(s+=C^P>=0?1:-1)}}return(o<-a.epsilon||o0,s=(0,o.abs)(t)>o.epsilon;function c(e,n){return(0,o.cos)(e)*(0,o.cos)(n)>t}function f(e,n,i){var u=(0,r.cartesian)(e),a=(0,r.cartesian)(n),l=[1,0,0],s=(0,r.cartesianCross)(u,a),c=(0,r.cartesianDot)(s,s),f=s[0],d=c-f*f;if(!d)return!i&&e;var h=t*c/d,p=-t*f/d,v=(0,r.cartesianCross)(l,s),y=(0,r.cartesianScale)(l,h),g=(0,r.cartesianScale)(s,p);(0,r.cartesianAddInPlace)(y,g);var b=v,_=(0,r.cartesianDot)(y,b),m=(0,r.cartesianDot)(b,b),x=_*_-m*((0,r.cartesianDot)(y,y)-1);if(!(x<0)){var w=(0,o.sqrt)(x),M=(0,r.cartesianScale)(b,(-_-w)/m);if((0,r.cartesianAddInPlace)(M,y),M=(0,r.spherical)(M),!i)return M;var O,P=e[0],j=n[0],S=e[1],C=n[1];j0^M[1]<((0,o.abs)(M[0]-P)o.pi^(P<=M[0]&&M[0]<=j)){var E=(0,r.cartesianScale)(b,(-_+w)/m);return(0,r.cartesianAddInPlace)(E,y),[M,(0,r.spherical)(E)]}}}function d(t,n){var r=l?e:o.pi-e,i=0;return t<-r?i|=1:t>r&&(i|=2),n<-r?i|=4:n>r&&(i|=8),i}return(0,a.default)(c,function(e){var t,n,r,i,a;return{lineStart:function(){i=r=!1,a=1},point:function(h,p){var v,y=[h,p],g=c(h,p),b=l?g?0:d(h,p):g?d(h+(h<0?o.pi:-o.pi),p):0;if(!t&&(i=r=g)&&e.lineStart(),g!==r&&(!(v=f(t,y))||(0,u.default)(t,v)||(0,u.default)(y,v))&&(y[0]+=o.epsilon,y[1]+=o.epsilon,g=c(y[0],y[1])),g!==r)a=0,g?(e.lineStart(),v=f(y,t),e.point(v[0],v[1])):(v=f(t,y),e.point(v[0],v[1]),e.lineEnd()),t=v;else if(s&&t&&l^g){var _;b&n||!(_=f(y,t,!0))||(a=0,l?(e.lineStart(),e.point(_[0][0],_[0][1]),e.point(_[1][0],_[1][1]),e.lineEnd()):(e.point(_[1][0],_[1][1]),e.lineEnd(),e.lineStart(),e.point(_[0][0],_[0][1])))}!g||t&&(0,u.default)(t,y)||e.point(y[0],y[1]),t=y,r=g,n=b},lineEnd:function(){r&&e.lineEnd(),t=null},clean:function(){return a|(i&&r)<<1}}},function(t,r,o,u){(0,i.circleStream)(u,e,n,o,t,r)},l?[0,-e]:[-o.pi,e-o.pi])};var r=n(24),i=n(128),o=n(0),u=l(n(134)),a=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return u[0]=e,u[1]=t,(0,o.default)(a)};var r,i=n(138),o=(r=i)&&r.__esModule?r:{default:r};var u=[null,null],a={type:"LineString",coordinates:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return f.reset(),(0,u.default)(e,d),+f};var r=a(n(19)),i=n(0),o=a(n(11)),u=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,s,c,f=(0,r.default)(),d={sphere:o.default,point:o.default,lineStart:function(){d.point=p,d.lineEnd=h},lineEnd:o.default,polygonStart:o.default,polygonEnd:o.default};function h(){d.point=d.lineEnd=o.default}function p(e,t){e*=i.radians,t*=i.radians,l=e,s=(0,i.sin)(t),c=(0,i.cos)(t),d.point=v}function v(e,t){e*=i.radians,t*=i.radians;var n=(0,i.sin)(t),r=(0,i.cos)(t),o=(0,i.abs)(e-l),u=(0,i.cos)(o),a=r*(0,i.sin)(o),d=c*n-s*r*u,h=s*n+c*r*u;f.add((0,i.atan2)((0,i.sqrt)(a*a+d*d),h)),l=e,s=n,c=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(11),o=(r=i)&&r.__esModule?r:{default:r};var u=1/0,a=u,l=-u,s=l,c={point:function(e,t){el&&(l=e);ts&&(s=t)},lineStart:o.default,lineEnd:o.default,polygonStart:o.default,polygonEnd:o.default,result:function(){var e=[[u,a],[l,s]];return l=s=-(a=u=1/0),e}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,o.default)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var r,i=n(73),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equirectangularRaw=u,t.default=function(){return(0,o.default)(u).scale(152.63)};var r,i=n(8),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t){return[e,t]}u.invert=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packEnclose=c,t.default=function(e){return c(e),e};var r,i=n(143),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t,n){var r=e.x,i=e.y,o=t.r+n.r,u=e.r+n.r,a=t.x-r,l=t.y-i,s=a*a+l*l;if(s){var c=.5+((u*=u)-(o*=o))/(2*s),f=Math.sqrt(Math.max(0,2*o*(u+s)-(u-=s)*u-o*o))/(2*s);n.x=r+c*a+f*l,n.y=i+c*l-f*a}else n.x=r+u,n.y=i}function a(e,t){var n=t.x-e.x,r=t.y-e.y,i=e.r+t.r;return i*i-1e-6>n*n+r*r}function l(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function s(e){this._=e,this.next=null,this.previous=null}function c(e){if(!(i=e.length))return 0;var t,n,r,i,c,f,d,h,p,v,y;if((t=e[0]).x=0,t.y=0,!(i>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(i>2))return t.r+n.r;u(n,t,r=e[2]),t=new s(t),n=new s(n),r=new s(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(d=3;d0&&n*n>r*r+i*i}function a(e,t){for(var n=0;n1);return e+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(20),o=(r=i)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){for(var n=0,r=0;r=12)]},Q:ve,s:ye,S:U,u:B,U:$,V:Y,w:W,W:V,x:null,X:null,y:X,Y:K,Z:G,"%":pe},Te={a:function(e){return f[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return ge[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:Z,e:Z,f:ne,H:Q,I:J,j:ee,L:te,m:re,M:ie,p:function(e){return s[+(e.getUTCHours()>=12)]},Q:ve,s:ye,S:oe,u:ue,U:ae,V:le,w:se,W:ce,x:null,X:null,y:fe,Y:de,Z:he,"%":pe},ke={a:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=xe[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=je.exec(t.slice(n));return r?(e.m=Se[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=Oe.exec(t.slice(n));return r?(e.m=Pe[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return Ne(e,t,n,r)},d:O,e:O,f:k,H:j,I:j,j:P,L:T,m:M,M:S,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=_e[r[0].toLowerCase()],n+r[0].length):-1},Q:A,s:N,S:C,u:y,U:g,V:b,w:v,W:_,x:function(e,t,r){return Ne(e,n,t,r)},X:function(e,t,n){return Ne(e,l,t,n)},y:x,Y:m,Z:w,"%":E};function Ee(e,t){return function(n){var r,i,o,u=[],l=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in l||(l.w=1),"Z"in l?(i=o(u(l.y)),a=i.getUTCDay(),i=a>4||0===a?r.utcMonday.ceil(i):(0,r.utcMonday)(i),i=r.utcDay.offset(i,7*(l.V-1)),l.y=i.getUTCFullYear(),l.m=i.getUTCMonth(),l.d=i.getUTCDate()+(l.w+6)%7):(i=t(u(l.y)),a=i.getDay(),i=a>4||0===a?r.timeMonday.ceil(i):(0,r.timeMonday)(i),i=r.timeDay.offset(i,7*(l.V-1)),l.y=i.getFullYear(),l.m=i.getMonth(),l.d=i.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),a="Z"in l?o(u(l.y)).getUTCDay():t(u(l.y)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(a+5)%7:l.w+7*l.U-(a+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,o(l)):t(l)}}function Ne(e,t,n,r){for(var i,o,u=0,l=t.length,s=n.length;u=s)return-1;if(37===(i=t.charCodeAt(u++))){if(i=t.charAt(u++),!(o=ke[i in a?t.charAt(u++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Ce.x=Ee(n,Ce),Ce.X=Ee(l,Ce),Ce.c=Ee(t,Ce),Te.x=Ee(n,Te),Te.X=Ee(l,Te),Te.c=Ee(t,Te),{format:function(e){var t=Ee(e+="",Ce);return t.toString=function(){return e},t},parse:function(e){var t=Ae(e+="",i);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ee(e+="",Te);return t.toString=function(){return e},t},utcParse:function(e){var t=Ae(e,o);return t.toString=function(){return e},t}}};var r=n(45);function i(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function o(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function u(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var a={"-":"",_:" ",0:"0"},l=/^\s*\d+/,s=/^%/,c=/[\\^$*+?|[\]().{}]/g;function f(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function w(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function M(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function O(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function P(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function j(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function S(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function C(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function T(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function k(e,t,n){var r=l.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function E(e,t,n){var r=s.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function A(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function N(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function D(e,t){return f(e.getDate(),t,2)}function R(e,t){return f(e.getHours(),t,2)}function q(e,t){return f(e.getHours()%12||12,t,2)}function L(e,t){return f(1+r.timeDay.count((0,r.timeYear)(e),e),t,3)}function I(e,t){return f(e.getMilliseconds(),t,3)}function F(e,t){return I(e,t)+"000"}function H(e,t){return f(e.getMonth()+1,t,2)}function z(e,t){return f(e.getMinutes(),t,2)}function U(e,t){return f(e.getSeconds(),t,2)}function B(e){var t=e.getDay();return 0===t?7:t}function $(e,t){return f(r.timeSunday.count((0,r.timeYear)(e),e),t,2)}function Y(e,t){var n=e.getDay();return e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e),f(r.timeThursday.count((0,r.timeYear)(e),e)+(4===(0,r.timeYear)(e).getDay()),t,2)}function W(e){return e.getDay()}function V(e,t){return f(r.timeMonday.count((0,r.timeYear)(e),e),t,2)}function X(e,t){return f(e.getFullYear()%100,t,2)}function K(e,t){return f(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+f(t/60|0,"0",2)+f(t%60,"0",2)}function Z(e,t){return f(e.getUTCDate(),t,2)}function Q(e,t){return f(e.getUTCHours(),t,2)}function J(e,t){return f(e.getUTCHours()%12||12,t,2)}function ee(e,t){return f(1+r.utcDay.count((0,r.utcYear)(e),e),t,3)}function te(e,t){return f(e.getUTCMilliseconds(),t,3)}function ne(e,t){return te(e,t)+"000"}function re(e,t){return f(e.getUTCMonth()+1,t,2)}function ie(e,t){return f(e.getUTCMinutes(),t,2)}function oe(e,t){return f(e.getUTCSeconds(),t,2)}function ue(e){var t=e.getUTCDay();return 0===t?7:t}function ae(e,t){return f(r.utcSunday.count((0,r.utcYear)(e),e),t,2)}function le(e,t){var n=e.getUTCDay();return e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e),f(r.utcThursday.count((0,r.utcYear)(e),e)+(4===(0,r.utcYear)(e).getUTCDay()),t,2)}function se(e){return e.getUTCDay()}function ce(e,t){return f(r.utcMonday.count((0,r.utcYear)(e),e),t,2)}function fe(e,t){return f(e.getUTCFullYear()%100,t,2)}function de(e,t){return f(e.getUTCFullYear()%1e4,t,4)}function he(){return"+0000"}function pe(){return"%"}function ve(e){return+e}function ye(e){return Math.floor(+e/1e3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=void 0;var r=n(83),i=t.isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";var o=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,r.utcFormat)(i);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.x,t=null,n=(0,i.default)(0),l=a.y,s=(0,i.default)(!0),c=null,f=o.default,d=null;function h(i){var o,u,a,h,p,v=i.length,y=!1,g=new Array(v),b=new Array(v);for(null==c&&(d=f(p=(0,r.path)())),o=0;o<=v;++o){if(!(o=u;--a)d.point(g[a],b[a]);d.lineEnd(),d.areaEnd()}y&&(g[o]=+e(h,o,i),b[o]=+n(h,o,i),d.point(t?+t(h,o,i):g[o],l?+l(h,o,i):b[o]))}if(p)return d=null,p+""||null}function p(){return(0,u.default)().defined(s).curve(f).context(c)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,i.default)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,i.default)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.default)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.default)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,i.default)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(s="function"==typeof e?e:(0,i.default)(!!e),h):s},h.curve=function(e){return arguments.length?(f=e,null!=c&&(d=f(c)),h):f},h.context=function(e){return arguments.length?(null==e?c=d=null:d=f(c=e),h):c},h};var r=n(13),i=l(n(16)),o=l(n(46)),u=l(n(84)),a=n(85);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var r,i=n(46),o=(r=i)&&r.__esModule?r:{default:r};t.curveRadialLinear=a(o.default);function u(e){this._curve=e}function a(e){function t(t){return new u(e(t))}return t._curve=e,t}u.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineRadial=a,t.default=function(){return a((0,o.default)().curve(r.curveRadialLinear))};var r=n(156),i=u(r),o=u(n(84));function u(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,i.default)(e)):t()._curve},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=Array.prototype.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={draw:function(e,t){var n=Math.sqrt(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(1/3),i=2*r;t.default={draw:function(e,t){var n=Math.sqrt(t/i),o=n*r;e.moveTo(0,-n),e.lineTo(o,0),e.lineTo(0,n),e.lineTo(-o,0),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=Math.sin(r.pi/10)/Math.sin(7*r.pi/10),o=Math.sin(r.tau/10)*i,u=-Math.cos(r.tau/10)*i;t.default={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),i=o*n,a=u*n;e.moveTo(0,-n),e.lineTo(i,a);for(var l=1;l<5;++l){var s=r.tau*l/5,c=Math.cos(s),f=Math.sin(s);e.lineTo(f*n,-c*n),e.lineTo(c*i-f*a,f*i+c*a)}e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(3);t.default={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),u=3*(o/2+1);t.default={draw:function(e,t){var n=Math.sqrt(t/u),a=n/2,l=n*o,s=a,c=n*o+n,f=-s,d=c;e.moveTo(a,l),e.lineTo(s,c),e.lineTo(f,d),e.lineTo(r*a-i*l,i*a+r*l),e.lineTo(r*s-i*c,i*s+r*c),e.lineTo(r*f-i*d,i*f+r*d),e.lineTo(r*a+i*l,r*l-i*a),e.lineTo(r*s+i*c,r*c-i*s),e.lineTo(r*f+i*d,r*d-i*f),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a;var r,i=n(47),o=(r=i)&&r.__esModule?r:{default:r},u=n(49);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:o.default,areaEnd:o.default,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,u.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=i;var r=n(49);function i(e,t){this._context=e,this._k=(1-t)/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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new i(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCell=function(e){return i.cells[e.index]={site:e,halfedges:[]}},t.cellHalfedgeStart=u,t.cellHalfedgeEnd=a,t.sortCellHalfedges=function(){for(var e,t,n,r,u=0,a=i.cells.length;ui.epsilon||Math.abs(_-y)>i.epsilon)&&(d.splice(f,0,i.edges.push((0,r.createBorderEdge)(c,g,Math.abs(b-e)i.epsilon?[e,Math.abs(v-e)i.epsilon?[Math.abs(y-o)i.epsilon?[n,Math.abs(v-n)i.epsilon?[Math.abs(y-t)=-i.epsilon2)return;var g=d*d+h*h,b=p*p+v*v,_=(v*g-h*b)/y,m=(d*b-p*g)/y,x=o.pop()||new function(){(0,r.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null};x.arc=e,x.site=l,x.x=_+c,x.y=(x.cy=m+f)+Math.sqrt(_*_+m*m),e.circle=x;var w=null,M=i.circles._;for(;M;)if(x.y build/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:'npm run test && rollup -c --banner "$(preamble)" && uglifyjs -b beautify=false,preamble="\'$(preamble)\'" build/d3.js -c negate_iife=false -m -o build/d3.min.js',postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js'},t.devDependencies={json2module:"0.0","package-preamble":"0.1",rimraf:"2",rollup:"0.53","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3",tape:"4","uglify-js":"3.2"},t.dependencies={"d3-array":"1.2.1","d3-axis":"1.0.8","d3-brush":"1.0.4","d3-chord":"1.0.4","d3-collection":"1.0.4","d3-color":"1.0.3","d3-dispatch":"1.0.3","d3-drag":"1.2.1","d3-dsv":"1.0.8","d3-ease":"1.0.3","d3-force":"1.1.0","d3-format":"1.2.2","d3-geo":"1.9.1","d3-hierarchy":"1.1.5","d3-interpolate":"1.1.6","d3-path":"1.0.5","d3-polygon":"1.0.3","d3-quadtree":"1.0.3","d3-queue":"3.0.7","d3-random":"1.1.0","d3-request":"1.0.6","d3-scale":"1.0.7","d3-selection":"1.3.0","d3-shape":"1.2.0","d3-time":"1.0.8","d3-time-format":"2.1.1","d3-timer":"1.0.7","d3-transition":"1.1.1","d3-voronoi":"1.1.2","d3-zoom":"1.7.1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i,o,u,a,l=e.length,s=t.length,c=new Array(l*s);for(null==n&&(n=r.pair),i=u=0;ie?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=u.default,n=c.default;function f(r){var o,u,a=r.length,c=new Array(a);for(o=0;oh;)p.pop(),--v;var y,g=new Array(v+1);for(o=0;o<=v;++o)(y=g[o]=[]).x0=o>0?p[o-1]:d,y.x1=o=n)for(r=n;++or&&(r=n)}else for(;++o=n)for(r=n;++or&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.length,i=r,u=-1,a=0;if(null==t)for(;++u=0;)for(t=(r=e[i]).length;--t>=0;)n[--u]=r[t];return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n=e.length){var n,r,i=0,u=0,a=e[u];for(null==t&&(t=o.default);++i0&&(n=r-S),H<0?P=j-k:H>0&&(o=l-k),I=p,J.attr("cursor",m.selection),ne());break;default:return}(0,f.default)()},!0).on("keyup.brush",function(){switch(u.event.keyCode){case 16:X&&(D=R=X=!1,ne());break;case 18:I===y&&(F<0?s=_:F>0&&(n=r),H<0?P=j:H>0&&(o=l),I=v,ne());break;case 32:I===p&&(u.event.altKey?(F&&(s=_-S*F,n=r+S*F),H&&(P=j-k*H,o=l+k*H),I=y):(F<0?s=_:F>0&&(n=r),H<0?P=j:H>0&&(o=l),I=v),J.attr("cursor",m[L]),ne());break;default:return}(0,f.default)()},!0).on("mousemove.brush",te,!0).on("mouseup.brush",re,!0);(0,i.dragDisable)(u.event.view)}(0,c.nopropagation)(),(0,a.interrupt)(q),A.call(q),Z.start()}function te(){var e=(0,u.mouse)(q);!X||D||R||(Math.abs(e[0]-G[0])>Math.abs(e[1]-G[1])?R=!0:D=!0),G=e,E=!0,(0,f.default)(),ne()}function ne(){var e;switch(S=G[0]-K[0],k=G[1]-K[1],I){case p:case h:F&&(S=Math.max($-n,Math.min(W-s,S)),r=n+S,_=s+S),H&&(k=Math.max(Y-o,Math.min(V-P,k)),l=o+k,j=P+k);break;case v:F<0?(S=Math.max($-n,Math.min(W-n,S)),r=n+S,_=s):F>0&&(S=Math.max($-s,Math.min(W-s,S)),r=n,_=s+S),H<0?(k=Math.max(Y-o,Math.min(V-o,k)),l=o+k,j=P):H>0&&(k=Math.max(Y-P,Math.min(V-P,k)),l=o,j=P+k);break;case y:F&&(r=Math.max($,Math.min(W,n-S*F)),_=Math.max($,Math.min(W,s+S*F))),H&&(l=Math.max(Y,Math.min(V,o-k*H)),j=Math.max(Y,Math.min(V,P+k*H)))}_=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),l=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l0)for(var n,r,i=new Array(n),o=0;oM}m.mouse("drag")}function S(){(0,i.select)(i.event.view).on("mousemove.drag mouseup.drag",null),(0,o.yesdrag)(i.event.view,n),(0,l.default)(),m.mouse("end")}function C(){if(y.apply(this,arguments)){var e,t,n=i.event.changedTouches,r=g.apply(this,arguments),o=n.length;for(e=0;e=O&&(O=M+1);!(w=m[O])&&++O=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=i);for(var n=this._groups,o=n.length,u=new Array(o),a=0;at?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(e){return e.trim().split(/^|\s+/)}function i(e){return e.classList||new o(e)}function o(e){this._node=e,this._names=r(e.getAttribute("class")||"")}function u(e,t){for(var n=i(e),r=-1,o=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}},function(e,t,n){"use strict";function r(){this.textContent=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent}},function(e,t,n){"use strict";function r(){this.innerHTML=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="function"==typeof e?e:(0,o.default)(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})};var r,i=n(33),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="function"==typeof e?e:(0,r.default)(e),o=null==t?u:"function"==typeof t?t:(0,i.default)(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),o.apply(this,arguments)||null)})};var r=o(n(33)),i=o(n(54));function o(e){return e&&e.__esModule?e:{default:e}}function u(){return null}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function i(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.select(e?i:r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.property("__data__",e):this.node().__data__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return u(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return u(this,e,t)}})(e,t))};var r,i=n(55),o=(r=i)&&r.__esModule?r:{default:r};function u(e,t,n){var r=(0,o.default)(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=0;function i(){return new o}function o(){this._="@"+(++r).toString(36)}o.prototype=i.prototype={constructor:o,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)();return t.changedTouches&&(t=t.changedTouches[0]),(0,i.default)(e,t)};var r=o(n(57)),i=o(n(34));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([null==e?[]:e],r.root)};var r=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){arguments.length<3&&(n=t,t=(0,r.default)().changedTouches);for(var o,u=0,a=t?t.length:0;up?Math.pow(e,1/3):e/h+f}function _(e){return e>d?e*e*e:h*(e-f)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function x(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function w(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof M)return new M(e.h,e.c,e.l,e.opacity);e instanceof g||(e=v(e));var t=Math.atan2(e.b,e.a)*a.rad2deg;return new M(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new M(e,t,n,null==r?1:r)}function M(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}(0,o.default)(g,y,(0,i.extend)(u.Color,{brighter:function(e){return new g(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new g(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=s*_(e),t=l*_(t),n=c*_(n),new u.Rgb(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),(0,o.default)(M,w,(0,i.extend)(u.Color,{brighter:function(e){return new M(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new M(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return v(this).rgb()}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y,t.Cubehelix=g;var r,i=n(60),o=(r=i)&&r.__esModule?r:{default:r},u=n(59),a=n(110);var l=-.14861,s=1.78277,c=-.29227,f=-.90649,d=1.97294,h=d*f,p=d*s,v=s*c-f*l;function y(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof g)return new g(e.h,e.s,e.l,e.opacity);e instanceof u.Rgb||(e=(0,u.rgbConvert)(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(v*r+h*t-p*n)/(v+h-p),o=r-i,l=(d*(n-i)-c*o)/f,s=Math.sqrt(l*l+o*o)/(d*i*(1-i)),y=s?Math.atan2(l,o)*a.rad2deg-120:NaN;return new g(y<0?y+360:y,s,i,e.opacity)}(e):new g(e,t,n,null==r?1:r)}function g(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,o.default)(g,y,(0,i.extend)(u.Color,{brighter:function(e){return e=null==e?u.brighter:Math.pow(u.brighter,e),new g(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?u.darker:Math.pow(u.darker,e),new g(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a.deg2rad,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new u.Rgb(255*(t+n*(l*r+s*i)),255*(t+n*(c*r+f*i)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var r,i=n(35),o=(r=i)&&r.__esModule?r:{default:r},u=n(239);function a(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(u,a){var l=[],s=[];return u=e(u),a=e(a),function(e,r,i,u,a,l){if(e!==i||r!==u){var s=a.push("translate(",null,t,null,n);l.push({i:s-4,x:(0,o.default)(e,i)},{i:s-2,x:(0,o.default)(r,u)})}else(i||u)&&a.push("translate("+i+t+u+n)}(u.translateX,u.translateY,a.translateX,a.translateY,l,s),function(e,t,n,u){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),u.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,o.default)(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(u.rotate,a.rotate,l,s),function(e,t,n,u){e!==t?u.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,o.default)(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(u.skewX,a.skewX,l,s),function(e,t,n,r,u,a){if(e!==n||t!==r){var l=u.push(i(u)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,o.default)(e,n)},{i:l-2,x:(0,o.default)(t,r)})}else 1===n&&1===r||u.push(i(u)+"scale("+n+","+r+")")}(u.scaleX,u.scaleY,a.scaleX,a.scaleY,l,s),u=a=null,function(e){for(var t,n=-1,r=s.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?r.init:r.set;return function(){var r=u(this,e),a=r.on;a!==i&&(o=(i=a).copy()).on(t,n),r.on=o}}(n,e,t))};var r=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,i.selector)(e));for(var r=this._groups,l=r.length,s=new Array(l),c=0;ci.SCHEDULED&&n.name===t)return new r.Transition([[e]],o,t,+u);return null};var r=n(10),i=n(6),o=[null]},function(e,t,n){"use strict";var r=n(1),i=u(n(267)),o=u(n(268));function u(e){return e&&e.__esModule?e:{default:e}}r.selection.prototype.interrupt=i.default,r.selection.prototype.transition=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.each(function(){(0,o.default)(this,e)})};var r,i=n(119),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;e instanceof i.Transition?(t=e._id,e=e._name):(t=(0,i.newId)(),(n=s).time=(0,l.now)(),e=null==e?null:e+"");for(var r=this._groups,o=r.length,a=0;a1e-6)if(Math.abs(f*l-s*c)>1e-6&&o){var h=n-u,p=i-a,v=l*l+s*s,y=h*h+p*p,g=Math.sqrt(v),b=Math.sqrt(d),_=o*Math.tan((r-Math.acos((v+d-y)/(2*g*b)))/2),m=_/b,x=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*c)+","+(t+m*f)),this._+="A"+o+","+o+",0,0,"+ +(f*h>c*p)+","+(this._x1=e+x*l)+","+(this._y1=t+x*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,u,a,l){e=+e,t=+t;var s=(n=+n)*Math.cos(u),c=n*Math.sin(u),f=e+s,d=t+c,h=1^l,p=l?u-a:a-u;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),n&&(p<0&&(p=p%i+i),p>o?this._+="A"+n+","+n+",0,1,"+h+","+(e-s)+","+(t-c)+"A"+n+","+n+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r=[],i=[];function c(n,i,u,a){if(i>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,s,f,d=-1,h=n.length,p=r[i++],v=(0,o.default)(),y=u();++dr.length)return n;var u,a=i[o-1];return null!=t&&o>=r.length?u=n.entries():(u=[],n.each(function(t,n){u.push({key:n,values:e(t,o)})})),null!=a?u.sort(function(e,t){return a(e.key,t.key)}):u}(c(e,0,l,s),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return i[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};var r,i=n(64),o=(r=i)&&r.__esModule?r:{default:r};function u(){return{}}function a(e,t,n){e[t]=n}function l(){return(0,o.default)()}function s(e,t,n){e.set(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(64);function o(){}var u=((r=i)&&r.__esModule?r:{default:r}).default.prototype;function a(e,t){var n=new o;if(e instanceof o)e.each(function(e){n.add(e)});else if(e){var r=-1,i=e.length;if(null==t)for(;++rd+s||rh+s||oc.index){var f=d-a.x-a.vx,y=h-a.y-a.vy,g=f*f+y*y;ge.r&&(e.r=e[t].r)}function d(){if(t){var r,i,o=t.length;for(n=new Array(o),r=0;r=(o=(v+g)/2))?v=o:g=o,(c=n>=(u=(y+b)/2))?y=u:b=u,i=h,!(h=h[f=c<<1|s]))return i[f]=p,e;if(a=+e._x.call(null,h.data),l=+e._y.call(null,h.data),t===a&&n===l)return p.next=h,i?i[f]=p:e._root=p,e;do{i=i?i[f]=new Array(4):e._root=new Array(4),(s=t>=(o=(v+g)/2))?v=o:g=o,(c=n>=(u=(y+b)/2))?y=u:b=u}while((f=c<<1|s)==(d=(l>=u)<<1|a>=o));return i[d]=h,i[f]=p,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},t.addAll=function(e){var t,n,i,o,u=e.length,a=new Array(u),l=new Array(u),s=1/0,c=1/0,f=-1/0,d=-1/0;for(n=0;nf&&(f=i),od&&(d=o));fe||e>i||r>t||t>o))return this;var u,a,l=i-n,s=this._root;switch(a=(t<(r+o)/2)<<1|e<(n+i)/2){case 0:do{(u=new Array(4))[a]=s,s=u}while(o=r+(l*=2),e>(i=n+l)||t>o);break;case 1:do{(u=new Array(4))[a]=s,s=u}while(o=r+(l*=2),(n=i-l)>e||t>o);break;case 2:do{(u=new Array(4))[a]=s,s=u}while(r=o-(l*=2),e>(i=n+l)||r>t);break;case 3:do{(u=new Array(4))[a]=s,s=u}while(r=o-(l*=2),(n=i-l)>e||r>t)}this._root&&this._root.length&&(this._root=s)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i,u,a,l,s,c,f=this._x0,d=this._y0,h=this._x1,p=this._y1,v=[],y=this._root;for(y&&v.push(new o.default(y,f,d,h,p)),null==n?n=1/0:(f=e-n,d=t-n,h=e+n,p=t+n,n*=n);s=v.pop();)if(!(!(y=s.node)||(i=s.x0)>h||(u=s.y0)>p||(a=s.x1)=b)<<1|e>=g)&&(s=v[v.length-1],v[v.length-1]=v[v.length-1-c],v[v.length-1-c]=s)}else{var _=e-+this._x.call(null,y.data),m=t-+this._y.call(null,y.data),x=_*_+m*m;if(x=(a=(p+y)/2))?p=a:y=a,(c=u>=(l=(v+g)/2))?v=l:g=l,t=h,!(h=h[f=c<<1|s]))return this;if(!h.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(i=h.next)&&delete h.next,r?(i?r.next=i:delete r.next,this):t?(i?t[f]=i:delete t[f],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},t.removeAll=function(e){for(var t=0,n=e.length;t=c)){(e.data!==t||e.next)&&(0===l&&(p+=(l=(0,i.default)())*l),0===d&&(p+=(d=(0,i.default)())*d),p0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(n.substring(i-=a,i+a)),!((l+=a+1)>r));)a=e[u=(u+1)%e.length];return o.reverse().join(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e:for(var n,r=(e=e.toPrecision(t)).length,i=1,o=-1;i0&&(o=0)}return o>0?e.slice(0,o)+e.slice(n+1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")};var r,i=n(71),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,o.default)(Math.abs(e)))};var r,i=n(38),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,o.default)(t)/3)))-(0,o.default)(Math.abs(e)))};var r,i=n(38),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,o.default)(t)-(0,o.default)(e))+1};var r,i=n(38),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(127);Object.defineProperty(t,"geoArea",{enumerable:!0,get:function(){return q(r).default}});var i=n(326);Object.defineProperty(t,"geoBounds",{enumerable:!0,get:function(){return q(i).default}});var o=n(327);Object.defineProperty(t,"geoCentroid",{enumerable:!0,get:function(){return q(o).default}});var u=n(128);Object.defineProperty(t,"geoCircle",{enumerable:!0,get:function(){return q(u).default}});var a=n(130);Object.defineProperty(t,"geoClipAntimeridian",{enumerable:!0,get:function(){return q(a).default}});var l=n(136);Object.defineProperty(t,"geoClipCircle",{enumerable:!0,get:function(){return q(l).default}});var s=n(329);Object.defineProperty(t,"geoClipExtent",{enumerable:!0,get:function(){return q(s).default}});var c=n(40);Object.defineProperty(t,"geoClipRectangle",{enumerable:!0,get:function(){return q(c).default}});var f=n(331);Object.defineProperty(t,"geoContains",{enumerable:!0,get:function(){return q(f).default}});var d=n(137);Object.defineProperty(t,"geoDistance",{enumerable:!0,get:function(){return q(d).default}});var h=n(332);Object.defineProperty(t,"geoGraticule",{enumerable:!0,get:function(){return q(h).default}}),Object.defineProperty(t,"geoGraticule10",{enumerable:!0,get:function(){return h.graticule10}});var p=n(333);Object.defineProperty(t,"geoInterpolate",{enumerable:!0,get:function(){return q(p).default}});var v=n(138);Object.defineProperty(t,"geoLength",{enumerable:!0,get:function(){return q(v).default}});var y=n(334);Object.defineProperty(t,"geoPath",{enumerable:!0,get:function(){return q(y).default}});var g=n(140);Object.defineProperty(t,"geoAlbers",{enumerable:!0,get:function(){return q(g).default}});var b=n(342);Object.defineProperty(t,"geoAlbersUsa",{enumerable:!0,get:function(){return q(b).default}});var _=n(343);Object.defineProperty(t,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return q(_).default}}),Object.defineProperty(t,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return _.azimuthalEqualAreaRaw}});var m=n(344);Object.defineProperty(t,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return q(m).default}}),Object.defineProperty(t,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}});var x=n(345);Object.defineProperty(t,"geoConicConformal",{enumerable:!0,get:function(){return q(x).default}}),Object.defineProperty(t,"geoConicConformalRaw",{enumerable:!0,get:function(){return x.conicConformalRaw}});var w=n(73);Object.defineProperty(t,"geoConicEqualArea",{enumerable:!0,get:function(){return q(w).default}}),Object.defineProperty(t,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return w.conicEqualAreaRaw}});var M=n(346);Object.defineProperty(t,"geoConicEquidistant",{enumerable:!0,get:function(){return q(M).default}}),Object.defineProperty(t,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return M.conicEquidistantRaw}});var O=n(141);Object.defineProperty(t,"geoEquirectangular",{enumerable:!0,get:function(){return q(O).default}}),Object.defineProperty(t,"geoEquirectangularRaw",{enumerable:!0,get:function(){return O.equirectangularRaw}});var P=n(347);Object.defineProperty(t,"geoGnomonic",{enumerable:!0,get:function(){return q(P).default}}),Object.defineProperty(t,"geoGnomonicRaw",{enumerable:!0,get:function(){return P.gnomonicRaw}});var j=n(348);Object.defineProperty(t,"geoIdentity",{enumerable:!0,get:function(){return q(j).default}});var S=n(8);Object.defineProperty(t,"geoProjection",{enumerable:!0,get:function(){return q(S).default}}),Object.defineProperty(t,"geoProjectionMutator",{enumerable:!0,get:function(){return S.projectionMutator}});var C=n(76);Object.defineProperty(t,"geoMercator",{enumerable:!0,get:function(){return q(C).default}}),Object.defineProperty(t,"geoMercatorRaw",{enumerable:!0,get:function(){return C.mercatorRaw}});var T=n(349);Object.defineProperty(t,"geoNaturalEarth1",{enumerable:!0,get:function(){return q(T).default}}),Object.defineProperty(t,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return T.naturalEarth1Raw}});var k=n(350);Object.defineProperty(t,"geoOrthographic",{enumerable:!0,get:function(){return q(k).default}}),Object.defineProperty(t,"geoOrthographicRaw",{enumerable:!0,get:function(){return k.orthographicRaw}});var E=n(351);Object.defineProperty(t,"geoStereographic",{enumerable:!0,get:function(){return q(E).default}}),Object.defineProperty(t,"geoStereographicRaw",{enumerable:!0,get:function(){return E.stereographicRaw}});var A=n(352);Object.defineProperty(t,"geoTransverseMercator",{enumerable:!0,get:function(){return q(A).default}}),Object.defineProperty(t,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return A.transverseMercatorRaw}});var N=n(39);Object.defineProperty(t,"geoRotation",{enumerable:!0,get:function(){return q(N).default}});var D=n(14);Object.defineProperty(t,"geoStream",{enumerable:!0,get:function(){return q(D).default}});var R=n(41);function q(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"geoTransform",{enumerable:!0,get:function(){return q(R).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,i,o,u,l;if(d=f=-(s=c=1/0),g=[],(0,a.default)(e,m),n=g.length){for(g.sort(T),t=1,o=[r=g[0]];tC(r[0],r[1])&&(r[1]=i[1]),C(i[0],r[1])>C(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,t=0,r=o[n=o.length-1];t<=n;r=i,++t)i=o[t],(l=C(r[1],i[0]))>u&&(u=l,s=i[0],f=r[1])}return g=b=null,s===1/0||c===1/0?[[NaN,NaN],[NaN,NaN]]:[[s,c],[f,d]]};var r=l(n(19)),i=n(127),o=n(24),u=n(0),a=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var s,c,f,d,h,p,v,y,g,b,_=(0,r.default)(),m={point:x,lineStart:M,lineEnd:O,polygonStart:function(){m.point=P,m.lineStart=j,m.lineEnd=S,_.reset(),i.areaStream.polygonStart()},polygonEnd:function(){i.areaStream.polygonEnd(),m.point=x,m.lineStart=M,m.lineEnd=O,i.areaRingSum<0?(s=-(f=180),c=-(d=90)):_>u.epsilon?d=90:_<-u.epsilon&&(c=-90),b[0]=s,b[1]=f}};function x(e,t){g.push(b=[s=e,f=e]),td&&(d=t)}function w(e,t){var n=(0,o.cartesian)([e*u.radians,t*u.radians]);if(y){var r=(0,o.cartesianCross)(y,n),i=[r[1],-r[0],0],a=(0,o.cartesianCross)(i,r);(0,o.cartesianNormalizeInPlace)(a),a=(0,o.spherical)(a);var l,p=e-h,v=p>0?1:-1,_=a[0]*u.degrees*v,m=(0,u.abs)(p)>180;m^(v*h<_&&_d&&(d=l):m^(v*h<(_=(_+360)%360-180)&&_d&&(d=t)),m?eC(s,f)&&(f=e):C(e,f)>C(s,f)&&(s=e):f>=s?(ef&&(f=e)):e>h?C(s,e)>C(s,f)&&(f=e):C(e,f)>C(s,f)&&(s=e)}else g.push(b=[s=e,f=e]);td&&(d=t),y=n,h=e}function M(){m.point=w}function O(){b[0]=s,b[1]=f,m.point=x,y=null}function P(e,t){if(y){var n=e-h;_.add((0,u.abs)(n)>180?n+(n>0?360:-360):n)}else p=e,v=t;i.areaStream.point(e,t),w(e,t)}function j(){i.areaStream.lineStart()}function S(){P(p,v),i.areaStream.lineEnd(),(0,u.abs)(_)>u.epsilon&&(s=-(f=180)),b[0]=s,b[1]=f,y=null}function C(e,t){return(t-=e)<0?t+360:t}function T(e,t){return e[0]-t[0]}function k(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t0)){if(u/=f,f<0){if(u0){if(u>c)return;u>s&&(s=u)}if(u=i-a,f||!(u<0)){if(u/=f,f<0){if(u>c)return;u>s&&(s=u)}else if(f>0){if(u0)){if(u/=d,d<0){if(u0){if(u>c)return;u>s&&(s=u)}if(u=o-l,d||!(u<0)){if(u/=d,d<0){if(u>c)return;u>s&&(s=u)}else if(d>0){if(u0&&(e[0]=a+s*f,e[1]=l+s*d),c<1&&(t[0]=a+c*f,t[1]=l+c*d),!0}}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e&&a.hasOwnProperty(e.type)?a[e.type]:s)(e,t)};var r=u(n(135)),i=u(n(137)),o=n(0);function u(e){return e&&e.__esModule?e:{default:e}}var a={Feature:function(e,t){return s(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++ri.epsilon}).map(d)).concat((0,r.range)((0,i.ceil)(s/g)*g,l,g).filter(function(e){return(0,i.abs)(e%_)>i.epsilon}).map(h))}return x.lines=function(){return w().map(function(e){return{type:"LineString",coordinates:e}})},x.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(v(c).slice(1),p(n).reverse().slice(1),v(f).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.extentMajor(e).extentMinor(e):x.extentMinor()},x.extentMajor=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],f=+e[0][1],c=+e[1][1],a>n&&(e=a,a=n,n=e),f>c&&(e=f,f=c,c=e),x.precision(m)):[[a,f],[n,c]]},x.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],s=+n[0][1],l=+n[1][1],t>e&&(n=t,t=e,e=n),s>l&&(n=s,s=l,l=n),x.precision(m)):[[t,s],[e,l]]},x.step=function(e){return arguments.length?x.stepMajor(e).stepMinor(e):x.stepMinor()},x.stepMajor=function(e){return arguments.length?(b=+e[0],_=+e[1],x):[b,_]},x.stepMinor=function(e){return arguments.length?(y=+e[0],g=+e[1],x):[y,g]},x.precision=function(r){return arguments.length?(m=+r,d=o(s,l,90),h=u(t,e,m),p=o(f,c,90),v=u(a,n,m),x):m},x.extentMajor([[-180,-90+i.epsilon],[180,90-i.epsilon]]).extentMinor([[-180,-80-i.epsilon],[180,80+i.epsilon]])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e[0]*r.radians,i=e[1]*r.radians,o=t[0]*r.radians,u=t[1]*r.radians,a=(0,r.cos)(i),l=(0,r.sin)(i),s=(0,r.cos)(u),c=(0,r.sin)(u),f=a*(0,r.cos)(n),d=a*(0,r.sin)(n),h=s*(0,r.cos)(o),p=s*(0,r.sin)(o),v=2*(0,r.asin)((0,r.sqrt)((0,r.haversin)(u-i)+a*s*(0,r.haversin)(o-n))),y=(0,r.sin)(v),g=v?function(e){var t=(0,r.sin)(e*=v)/y,n=(0,r.sin)(v-e)/y,i=n*f+t*h,o=n*d+t*p,u=n*l+t*c;return[(0,r.atan2)(o,i)*r.degrees,(0,r.atan2)(u,(0,r.sqrt)(i*i+o*o))*r.degrees]}:function(){return[n*r.degrees,i*r.degrees]};return g.distance=v,g};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,f,d=4.5;function h(e){return e&&("function"==typeof d&&f.pointRadius(+d.apply(this,arguments)),(0,i.default)(e,n(f))),f.result()}return h.area=function(e){return(0,i.default)(e,n(o.default)),o.default.result()},h.measure=function(e){return(0,i.default)(e,n(s.default)),s.default.result()},h.bounds=function(e){return(0,i.default)(e,n(u.default)),u.default.result()},h.centroid=function(e){return(0,i.default)(e,n(a.default)),a.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(f=null==e?(t=null,new c.default):new l.default(t=e),"function"!=typeof d&&f.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(f.pointRadius(+e),+e),h):d},h.projection(e).context(t)};var r=f(n(72)),i=f(n(14)),o=f(n(335)),u=f(n(139)),a=f(n(336)),l=f(n(337)),s=f(n(338)),c=f(n(339));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(19)),i=n(0),o=u(n(11));function u(e){return e&&e.__esModule?e:{default:e}}var a,l,s,c,f=(0,r.default)(),d=(0,r.default)(),h={point:o.default,lineStart:o.default,lineEnd:o.default,polygonStart:function(){h.lineStart=p,h.lineEnd=g},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=o.default,f.add((0,i.abs)(d)),d.reset()},result:function(){var e=f/2;return f.reset(),e}};function p(){h.point=v}function v(e,t){h.point=y,a=s=e,l=c=t}function y(e,t){d.add(c*e-s*t),s=e,c=t}function g(){y(a,l)}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o,u,a=n(0),l=0,s=0,c=0,f=0,d=0,h=0,p=0,v=0,y=0,g={point:b,lineStart:_,lineEnd:w,polygonStart:function(){g.lineStart=M,g.lineEnd=O},polygonEnd:function(){g.point=b,g.lineStart=_,g.lineEnd=w},result:function(){var e=y?[p/y,v/y]:h?[f/h,d/h]:c?[l/c,s/c]:[NaN,NaN];return l=s=c=f=d=h=p=v=y=0,e}};function b(e,t){l+=e,s+=t,++c}function _(){g.point=m}function m(e,t){g.point=x,b(o=e,u=t)}function x(e,t){var n=e-o,r=t-u,i=(0,a.sqrt)(n*n+r*r);f+=i*(o+e)/2,d+=i*(u+t)/2,h+=i,b(o=e,u=t)}function w(){g.point=b}function M(){g.point=P}function O(){j(r,i)}function P(e,t){g.point=j,b(r=o=e,i=u=t)}function j(e,t){var n=e-o,r=t-u,i=(0,a.sqrt)(n*n+r*r);f+=i*(o+e)/2,d+=i*(u+t)/2,h+=i,p+=(i=u*e-o*t)*(o+e),v+=i*(u+t),y+=3*i,b(o=e,u=t)}t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,i=n(0),o=n(11),u=(r=o)&&r.__esModule?r:{default:r};function a(e){this._context=e}a.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,i.tau)}},result:u.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(19)),i=n(0),o=u(n(11));function u(e){return e&&e.__esModule?e:{default:e}}var a,l,s,c,f,d=(0,r.default)(),h={point:o.default,lineStart:function(){h.point=p},lineEnd:function(){a&&v(l,s),h.point=o.default},polygonStart:function(){a=!0},polygonEnd:function(){a=null},result:function(){var e=+d;return d.reset(),e}};function p(e,t){h.point=v,l=c=e,s=f=t}function v(e,t){c-=e,f-=t,d.add((0,i.sqrt)(c*c+f*f)),c=e,f=t}t.default=h},function(e,t,n){"use strict";function r(){this._string=[]}function i(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return+t?function(e,t){function n(r,o,u,l,s,c,f,d,h,p,v,y,g,b){var _=f-r,m=d-o,x=_*_+m*m;if(x>4*t&&g--){var w=l+p,M=s+v,O=c+y,P=(0,i.sqrt)(w*w+M*M+O*O),j=(0,i.asin)(O/=P),S=(0,i.abs)((0,i.abs)(O)-1)t||(0,i.abs)((_*E+m*A)/x-.5)>.3||l*p+s*v+c*y=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?d:c).invert(e)},p.stream=function(n){return e&&t===n?e:(r=[c.stream(t=n),f.stream(n),d.stream(n)],i=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-r.halfPi+r.epsilon&&(t=-r.halfPi+r.epsilon):t>r.halfPi-r.epsilon&&(t=r.halfPi-r.epsilon);var n=a/(0,r.pow)(u(t),i);return[n*(0,r.sin)(i*e),a-n*(0,r.cos)(i*e)]}return l.invert=function(e,t){var n=a-t,o=(0,r.sign)(i)*(0,r.sqrt)(e*e+n*n);return[(0,r.atan2)(e,(0,r.abs)(n))/i*(0,r.sign)(n),2*(0,r.atan)((0,r.pow)(a/o,1/i))-r.halfPi]},l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEquidistantRaw=u,t.default=function(){return(0,i.conicProjection)(u).scale(131.154).center([0,13.9389])};var r=n(0),i=n(74),o=n(141);function u(e,t){var n=(0,r.cos)(e),i=e===t?(0,r.sin)(e):(n-(0,r.cos)(t))/(t-e),u=n/i+e;if((0,r.abs)(i)u.epsilon&&--i>0);return[e/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orthographicRaw=l,t.default=function(){return(0,a.default)(l).scale(249.5).clipAngle(90+i.epsilon)};var r,i=n(0),o=n(25),u=n(8),a=(r=u)&&r.__esModule?r:{default:r};function l(e,t){return[(0,i.cos)(t)*(0,i.sin)(e),(0,i.sin)(t)]}l.invert=(0,o.azimuthalInvert)(i.asin)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stereographicRaw=l,t.default=function(){return(0,a.default)(l).scale(250).clipAngle(142)};var r,i=n(0),o=n(25),u=n(8),a=(r=u)&&r.__esModule?r:{default:r};function l(e,t){var n=(0,i.cos)(t),r=1+(0,i.cos)(e)*n;return[n*(0,i.sin)(e)/r,(0,i.sin)(t)/r]}l.invert=(0,o.azimuthalInvert)(function(e){return 2*(0,i.atan)(e)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transverseMercatorRaw=o,t.default=function(){var e=(0,i.mercatorProjection)(o),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};var r=n(0),i=n(76);function o(e,t){return[(0,r.log)((0,r.tan)((r.halfPi+t)/2)),-e]}o.invert=function(e,t){return[-t,2*(0,r.atan)((0,r.exp)(e))-r.halfPi]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);Object.defineProperty(t,"cluster",{enumerable:!0,get:function(){return b(r).default}});var i=n(77);Object.defineProperty(t,"hierarchy",{enumerable:!0,get:function(){return b(i).default}});var o=n(366);Object.defineProperty(t,"pack",{enumerable:!0,get:function(){return b(o).default}});var u=n(142);Object.defineProperty(t,"packSiblings",{enumerable:!0,get:function(){return b(u).default}});var a=n(143);Object.defineProperty(t,"packEnclose",{enumerable:!0,get:function(){return b(a).default}});var l=n(368);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return b(l).default}});var s=n(369);Object.defineProperty(t,"stratify",{enumerable:!0,get:function(){return b(s).default}});var c=n(370);Object.defineProperty(t,"tree",{enumerable:!0,get:function(){return b(c).default}});var f=n(371);Object.defineProperty(t,"treemap",{enumerable:!0,get:function(){return b(f).default}});var d=n(372);Object.defineProperty(t,"treemapBinary",{enumerable:!0,get:function(){return b(d).default}});var h=n(26);Object.defineProperty(t,"treemapDice",{enumerable:!0,get:function(){return b(h).default}});var p=n(42);Object.defineProperty(t,"treemapSlice",{enumerable:!0,get:function(){return b(p).default}});var v=n(373);Object.defineProperty(t,"treemapSliceDice",{enumerable:!0,get:function(){return b(v).default}});var y=n(79);Object.defineProperty(t,"treemapSquarify",{enumerable:!0,get:function(){return b(y).default}});var g=n(374);function b(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"treemapResquarify",{enumerable:!0,get:function(){return b(g).default}})},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function i(e,t){return e+t.x}function o(e,t){return Math.max(e,t.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r,t=1,n=1,u=!1;function a(r){var a,l=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(i,0)/e.length}(n),t.y=function(e){return 1+e.reduce(o,0)}(n)):(t.x=a?l+=e(t,a):0,t.y=0,a=t)});var s=function(e){var t;for(;t=e.children;)e=t[0];return e}(r),c=function(e){var t;for(;t=e.children;)e=t[t.length-1];return e}(r),f=s.x-e(s,c)/2,d=c.x+e(c,s)/2;return r.eachAfter(u?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-f)/(d-f)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(u=!1,t=+e[0],n=+e[1],a):u?null:[t,n]},a.nodeSize=function(e){return arguments.length?(u=!0,t=+e[0],n=+e[1],a):u?[t,n]:null},a}},function(e,t,n){"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.eachAfter(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,i,o=this,u=[o];do{for(t=u.reverse(),u=[];o=t.pop();)if(e(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(t[n]);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),t=i.children)for(n=0,r=t.length;n=0;)n+=r[i].value;t.value=n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.each(function(t){e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null,t=1,n=1,r=u.constantZero;function i(i){return i.x=t/2,i.y=n/2,e?i.eachBefore(s(e)).eachAfter(c(r,.5)).eachBefore(f(1)):i.eachBefore(s(l)).eachAfter(c(u.constantZero,1)).eachAfter(c(r,i.r/Math.min(t,n))).eachBefore(f(Math.min(t,n)/(2*i.r))),i}return i.radius=function(t){return arguments.length?(e=(0,o.optional)(t),i):e},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(e){return arguments.length?(r="function"==typeof e?e:(0,a.default)(+e),i):r},i};var r,i=n(142),o=n(78),u=n(144),a=(r=u)&&r.__esModule?r:{default:r};function l(e){return Math.sqrt(e.value)}function s(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function c(e,t){return function(n){if(r=n.children){var r,o,u,a=r.length,l=e(n)*t||0;if(l)for(o=0;o0)throw new Error("cycle");return s}return n.id=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n.parentId=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n};var r=n(78),i=n(77),o="$",u={depth:-1},a={};function l(e){return e.id}function s(e){return e.parentId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i,t=1,n=1,r=null;function c(i){var o=function(e){var t,n,r,i,o,u=new s(e,0),a=[u];for(;t=a.pop();)if(r=t._.children)for(t.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(n=t.children[i]=new s(r[i],i)),n.parent=t;return(u.parent=new s(null,0)).children=[u],u}(i);if(o.eachAfter(f),o.parent.m=-o.z,o.eachBefore(d),r)i.eachBefore(h);else{var u=i,a=i,l=i;i.eachBefore(function(e){e.xa.x&&(a=e),e.depth>l.depth&&(l=e)});var c=u===a?1:e(u,a)/2,p=c-u.x,v=t/(a.x+c+p),y=n/(l.depth||1);i.eachBefore(function(e){e.x=(e.x+p)*v,e.y=e.depth*y})}return i}function f(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){var t,n=0,r=0,i=e.children,o=i.length;for(;--o>=0;)(t=i[o]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var s=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-s):t.z=s}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,s=t,c=t,f=n,d=s.parent.children[0],h=s.m,p=c.m,v=f.m,y=d.m;f=u(f),s=o(s),f&&s;)d=o(d),(c=u(c)).a=t,(i=f.z+v-s.z-h+e(f._,s._))>0&&(a(l(f,t,r),t,i),h+=i,p+=i),v+=f.m,h+=s.m,y+=d.m,p+=c.m;f&&!u(c)&&(c.t=f,c.m+=v-p),s&&!o(d)&&(d.t=s,d.m+=h-y,r=t)}return r}(t,i,t.parent.A||r[0])}function d(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function h(e){e.x*=t,e.y=e.depth*n}return c.separation=function(t){return arguments.length?(e=t,c):e},c.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],c):r?null:[t,n]},c.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],c):r?[t,n]:null},c};var r=n(77);function i(e,t){return e.parent===t.parent?1:2}function o(e){var t=e.children;return t?t[0]:e.t}function u(e){var t=e.children;return t?t[t.length-1]:e.t}function a(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function l(e,t,n){return e.a.parent===t.parent?e.a:n}function s(e,t){this._=e,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=t}s.prototype=Object.create(r.Node.prototype)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default,t=!1,n=1,l=1,s=[0],c=u.constantZero,f=u.constantZero,d=u.constantZero,h=u.constantZero,p=u.constantZero;function v(e){return e.x0=e.y0=0,e.x1=n,e.y1=l,e.eachBefore(y),s=[0],t&&e.eachBefore(r.default),e}function y(t){var n=s[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,u=t.y1-n;o=n-1){var c=a[t];return c.x0=i,c.y0=o,c.x1=u,void(c.y1=l)}var f=s[t],d=r/2+f,h=t+1,p=n-1;for(;h>>1;s[v]l-o){var b=(i*g+u*y)/r;e(t,h,y,i,o,b,l),e(h,n,g,b,o,u,l)}else{var _=(o*g+l*y)/r;e(t,h,y,i,o,u,_),e(h,n,g,i,_,u,l)}}(0,l,e.value,t,n,r,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o,u){(1&e.depth?i.default:r.default)(e,t,n,o,u)};var r=o(n(26)),i=o(n(42));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(26)),i=u(n(42)),o=n(79);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e,n,u,a,l){if((s=e._squarify)&&s.ratio===t)for(var s,c,f,d,h,p=-1,v=s.length,y=e.value;++p1?t:1)},n}(o.phi)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(376);Object.defineProperty(t,"polygonArea",{enumerable:!0,get:function(){return l(r).default}});var i=n(377);Object.defineProperty(t,"polygonCentroid",{enumerable:!0,get:function(){return l(i).default}});var o=n(378);Object.defineProperty(t,"polygonHull",{enumerable:!0,get:function(){return l(o).default}});var u=n(380);Object.defineProperty(t,"polygonContains",{enumerable:!0,get:function(){return l(u).default}});var a=n(381);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"polygonLength",{enumerable:!0,get:function(){return l(a).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=-1,r=e.length,i=e[r-1],o=0;++n=0;--t)f.push(e[r[o[t]][2]]);for(t=+s;t1&&(0,o.default)(e[n[r-2]],e[n[r-1]],e[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n,r,i=e.length,o=e[i-1],u=t[0],a=t[1],l=o[0],s=o[1],c=!1,f=0;fa!=s>a&&u<(l-n)*(a-r)/(s-r)+n&&(c=!c),l=n,s=r;return c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r=-1,i=e.length,o=e[i-1],u=o[0],a=o[1],l=0;++r=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,s(e)}function s(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function c(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new o(e)}o.prototype=c.prototype={constructor:o,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=r.slice.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),u(this),this},abort:function(){return null==this._error&&l(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},s(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,s(this),this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=[].slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);Object.defineProperty(t,"randomUniform",{enumerable:!0,get:function(){return s(r).default}});var i=n(146);Object.defineProperty(t,"randomNormal",{enumerable:!0,get:function(){return s(i).default}});var o=n(387);Object.defineProperty(t,"randomLogNormal",{enumerable:!0,get:function(){return s(o).default}});var u=n(388);Object.defineProperty(t,"randomBates",{enumerable:!0,get:function(){return s(u).default}});var a=n(147);Object.defineProperty(t,"randomIrwinHall",{enumerable:!0,get:function(){return s(a).default}});var l=n(389);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"randomExponential",{enumerable:!0,get:function(){return s(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(20),o=(r=i)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(20)),i=o(n(146));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(){var e=i.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(20)),i=o(n(147));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e){var n=i.default.source(t)(e);return function(){return n()/e}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(20),o=(r=i)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"request",{enumerable:!0,get:function(){return c(r).default}});var i=n(391);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return c(i).default}});var o=n(392);Object.defineProperty(t,"json",{enumerable:!0,get:function(){return c(o).default}});var u=n(393);Object.defineProperty(t,"text",{enumerable:!0,get:function(){return c(u).default}});var a=n(394);Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return c(a).default}});var l=n(395);Object.defineProperty(t,"csv",{enumerable:!0,get:function(){return c(l).default}});var s=n(396);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"tsv",{enumerable:!0,get:function(){return c(s).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("application/json",function(e){return JSON.parse(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/plain",function(e){return e.responseText})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(43),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(65),o=n(148),u=(r=o)&&r.__esModule?r:{default:r};t.default=(0,u.default)("text/csv",i.csvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(65),o=n(148),u=(r=o)&&r.__esModule?r:{default:r};t.default=(0,u.default)("text/tab-separated-values",i.tsvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return w(r).default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return r.point}});var i=n(399);Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return w(i).default}});var o=n(27);Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return w(o).default}});var u=n(401);Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return w(u).default}});var a=n(149);Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return w(a).default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return a.implicit}});var l=n(402);Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return w(l).default}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return l.sqrt}});var s=n(403);Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return w(s).default}});var c=n(404);Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return w(c).default}});var f=n(405);Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return w(f).default}});var d=n(152);Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return w(d).default}});var h=n(421);Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return w(h).default}});var p=n(422);Object.defineProperty(t,"schemeCategory10",{enumerable:!0,get:function(){return w(p).default}});var v=n(423);Object.defineProperty(t,"schemeCategory20b",{enumerable:!0,get:function(){return w(v).default}});var y=n(424);Object.defineProperty(t,"schemeCategory20c",{enumerable:!0,get:function(){return w(y).default}});var g=n(425);Object.defineProperty(t,"schemeCategory20",{enumerable:!0,get:function(){return w(g).default}});var b=n(426);Object.defineProperty(t,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return w(b).default}});var _=n(427);Object.defineProperty(t,"interpolateRainbow",{enumerable:!0,get:function(){return w(_).default}}),Object.defineProperty(t,"interpolateWarm",{enumerable:!0,get:function(){return _.warm}}),Object.defineProperty(t,"interpolateCool",{enumerable:!0,get:function(){return _.cool}});var m=n(428);Object.defineProperty(t,"interpolateViridis",{enumerable:!0,get:function(){return w(m).default}}),Object.defineProperty(t,"interpolateMagma",{enumerable:!0,get:function(){return m.magma}}),Object.defineProperty(t,"interpolateInferno",{enumerable:!0,get:function(){return m.inferno}}),Object.defineProperty(t,"interpolatePlasma",{enumerable:!0,get:function(){return m.plasma}});var x=n(429);function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return w(x).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.point=function(){return function e(t){var n=t.copy;t.padding=t.paddingOuter;delete t.paddingInner;delete t.paddingOuter;t.copy=function(){return e(n())};return t}(a().paddingInner(1))};var r,i=n(3),o=n(149),u=(r=o)&&r.__esModule?r:{default:r};function a(){var e,t,n=(0,u.default)().unknown(void 0),r=n.domain,o=n.range,l=[0,1],s=!1,c=0,f=0,d=.5;function h(){var n=r().length,u=l[1]0){for(;ha)break;y.push(f)}}else for(;h=1;--c)if(!((f=l*c)a)break;y.push(f)}}else y=(0,r.ticks)(h,p,Math.min(p-h,v)).map(d);return t?y.reverse():y};t.tickFormat=function(e,n){if(null==n&&(n=10===o?".0e":","),"function"!=typeof n&&(n=(0,i.format)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,o*e/t.ticks().length);return function(e){var t=e/d(Math.round(s(e)));return t*o0?o[r-1]:t[0],r=u?[a[u-1],n]:[a[r-1],a[r]]};s.copy=function(){return e().domain([t,n]).range(l)};return(0,o.linearish)(s)};var r=n(3),i=n(15),o=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[.5],n=[0,1],o=1;function u(e){if(e<=e)return n[(0,r.bisect)(t,e,0,o)]}u.domain=function(e){return arguments.length?(t=i.slice.call(e),o=Math.min(t.length,n.length-1),u):t.slice()};u.range=function(e){return arguments.length?(n=i.slice.call(e),o=Math.min(t.length,n.length-1),u):n.slice()};u.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]};u.copy=function(){return e().domain(t).range(n)};return u};var r=n(3),i=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};var u=(0,o.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,o.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):u:null},t.default=u;t.milliseconds=u.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setTime(Math.floor(e/u.durationSecond)*u.durationSecond)},function(e,t){e.setTime(+e+t*u.durationSecond)},function(e,t){return(t-e)/u.durationSecond},function(e){return e.getUTCSeconds()});t.default=a;t.seconds=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setTime(Math.floor(e/u.durationMinute)*u.durationMinute)},function(e,t){e.setTime(+e+t*u.durationMinute)},function(e,t){return(t-e)/u.durationMinute},function(e){return e.getMinutes()});t.default=a;t.minutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){var t=e.getTimezoneOffset()*u.durationMinute%u.durationHour;t<0&&(t+=u.durationHour),e.setTime(Math.floor((+e-t)/u.durationHour)*u.durationHour+t)},function(e,t){e.setTime(+e+t*u.durationHour)},function(e,t){return(t-e)/u.durationHour},function(e){return e.getHours()});t.default=a;t.hours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.days=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*u.durationMinute)/u.durationDay},function(e){return e.getDate()-1});t.default=a;t.days=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saturdays=t.fridays=t.thursdays=t.wednesdays=t.tuesdays=t.mondays=t.sundays=t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);function a(e){return(0,o.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*u.durationMinute)/u.durationWeek})}var l=t.sunday=a(0),s=t.monday=a(1),c=t.tuesday=a(2),f=t.wednesday=a(3),d=t.thursday=a(4),h=t.friday=a(5),p=t.saturday=a(6);t.sundays=l.range,t.mondays=s.range,t.tuesdays=c.range,t.wednesdays=f.range,t.thursdays=d.range,t.fridays=h.range,t.saturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.months=void 0;var r,i=n(2);var o=(0,((r=i)&&r.__esModule?r:{default:r}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.default=o;t.months=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.years=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};var u=(0,o.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});u.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,o.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.default=u;t.years=u.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*u.durationMinute)},function(e,t){return(t-e)/u.durationMinute},function(e){return e.getUTCMinutes()});t.default=a;t.utcMinutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*u.durationHour)},function(e,t){return(t-e)/u.durationHour},function(e){return e.getUTCHours()});t.default=a;t.utcHours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);var a=(0,o.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/u.durationDay},function(e){return e.getUTCDate()-1});t.default=a;t.utcDays=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcSaturdays=t.utcFridays=t.utcThursdays=t.utcWednesdays=t.utcTuesdays=t.utcMondays=t.utcSundays=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r},u=n(9);function a(e){return(0,o.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/u.durationWeek})}var l=t.utcSunday=a(0),s=t.utcMonday=a(1),c=t.utcTuesday=a(2),f=t.utcWednesday=a(3),d=t.utcThursday=a(4),h=t.utcFriday=a(5),p=t.utcSaturday=a(6);t.utcSundays=l.range,t.utcMondays=s.range,t.utcTuesdays=c.range,t.utcWednesdays=f.range,t.utcThursdays=d.range,t.utcFridays=h.range,t.utcSaturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=void 0;var r,i=n(2);var o=(0,((r=i)&&r.__esModule?r:{default:r}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.default=o;t.utcMonths=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=void 0;var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};var u=(0,o.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});u.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,o.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.default=u;t.utcYears=u.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(154),i=n(83);var o=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,i.utcParse)(r.isoSpecifier);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.calendar)(o.utcYear,o.utcMonth,o.utcWeek,o.utcDay,o.utcHour,o.utcMinute,o.utcSecond,o.utcMillisecond,i.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var r=n(152),i=n(82),o=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),i=n(5);t.default=(0,i.interpolateCubehelixLong)((0,r.cubehelix)(300,.5,0),(0,r.cubehelix)(-240,.5,1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cool=t.warm=void 0,t.default=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return o.h=360*e-100,o.s=1.5-1.5*t,o.l=.8-.9*t,o+""};var r=n(7),i=n(5),o=(t.warm=(0,i.interpolateCubehelixLong)((0,r.cubehelix)(-100,.75,.35),(0,r.cubehelix)(80,1.5,.8)),t.cool=(0,i.interpolateCubehelixLong)((0,r.cubehelix)(260,.75,.35),(0,r.cubehelix)(80,1.5,.8)),(0,r.cubehelix)())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plasma=t.inferno=t.magma=void 0;var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};function u(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}t.default=u((0,o.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));t.magma=u((0,o.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),t.inferno=u((0,o.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),t.plasma=u((0,o.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=0,i=1,o=!1;function u(e){var r=(e-n)/(i-n);return t(o?Math.max(0,Math.min(1,r)):r)}u.domain=function(e){return arguments.length?(n=+e[0],i=+e[1],u):[n,i]};u.clamp=function(e){return arguments.length?(o=!!e,u):o};u.interpolator=function(e){return arguments.length?(t=e,u):t};u.copy=function(){return e(t).domain([n,i]).clamp(o)};return(0,r.linearish)(u)};var r=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l,t=s,n=(0,u.default)(0),r=null,o=c,p=f,v=d,y=null;function g(){var u,l,s=+e.apply(this,arguments),c=+t.apply(this,arguments),f=o.apply(this,arguments)-a.halfPi,d=p.apply(this,arguments)-a.halfPi,g=(0,a.abs)(d-f),b=d>f;if(y||(y=u=(0,i.path)()),ca.epsilon)if(g>a.tau-a.epsilon)y.moveTo(c*(0,a.cos)(f),c*(0,a.sin)(f)),y.arc(0,0,c,f,d,!b),s>a.epsilon&&(y.moveTo(s*(0,a.cos)(d),s*(0,a.sin)(d)),y.arc(0,0,s,d,f,b));else{var _,m,x=f,w=d,M=f,O=d,P=g,j=g,S=v.apply(this,arguments)/2,C=S>a.epsilon&&(r?+r.apply(this,arguments):(0,a.sqrt)(s*s+c*c)),T=(0,a.min)((0,a.abs)(c-s)/2,+n.apply(this,arguments)),k=T,E=T;if(C>a.epsilon){var A=(0,a.asin)(C/s*(0,a.sin)(S)),N=(0,a.asin)(C/c*(0,a.sin)(S));(P-=2*A)>a.epsilon?(M+=A*=b?1:-1,O-=A):(P=0,M=O=(f+d)/2),(j-=2*N)>a.epsilon?(x+=N*=b?1:-1,w-=N):(j=0,x=w=(f+d)/2)}var D=c*(0,a.cos)(x),R=c*(0,a.sin)(x),q=s*(0,a.cos)(O),L=s*(0,a.sin)(O);if(T>a.epsilon){var I=c*(0,a.cos)(w),F=c*(0,a.sin)(w),H=s*(0,a.cos)(M),z=s*(0,a.sin)(M);if(ga.epsilon?function(e,t,n,r,i,o,u,a){var l=n-e,s=r-t,c=u-i,f=a-o,d=(c*(t-o)-f*(e-i))/(f*l-c*s);return[e+d*l,t+d*s]}(D,R,H,z,I,F,q,L):[q,L],B=D-U[0],$=R-U[1],Y=I-U[0],W=F-U[1],V=1/(0,a.sin)((0,a.acos)((B*Y+$*W)/((0,a.sqrt)(B*B+$*$)*(0,a.sqrt)(Y*Y+W*W)))/2),X=(0,a.sqrt)(U[0]*U[0]+U[1]*U[1]);k=(0,a.min)(T,(s-X)/(V-1)),E=(0,a.min)(T,(c-X)/(V+1))}}j>a.epsilon?E>a.epsilon?(_=h(H,z,D,R,c,E,b),m=h(I,F,q,L,c,E,b),y.moveTo(_.cx+_.x01,_.cy+_.y01),Ea.epsilon&&P>a.epsilon?k>a.epsilon?(_=h(q,L,I,F,s,-k,b),m=h(D,R,H,z,s,-k,b),y.lineTo(_.cx+_.x01,_.cy+_.y01),kE*E+A*A&&(P=S,j=C),{cx:P,cy:j,x01:-f,y01:-d,x11:P*(i/w-1),y11:j*(i/w-1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.default,t=i.default,n=null,a=(0,r.default)(0),l=(0,r.default)(u.tau),s=(0,r.default)(0);function c(r){var i,o,c,f,d,h=r.length,p=0,v=new Array(h),y=new Array(h),g=+a.apply(this,arguments),b=Math.min(u.tau,Math.max(-u.tau,l.apply(this,arguments)-g)),_=Math.min(Math.abs(b)/h,s.apply(this,arguments)),m=_*(b<0?-1:1);for(i=0;i0&&(p+=d);for(null!=t?v.sort(function(e,n){return t(y[e],y[n])}):null!=n&&v.sort(function(e,t){return n(r[e],r[t])}),i=0,c=p?(b-h*m)/p:0;i0?d*c:0)+m,y[o]={data:r[o],index:i,value:d,startAngle:g,endAngle:f,padAngle:_};return y}return c.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),c):e},c.sortValues=function(e){return arguments.length?(t=e,n=null,c):t},c.sort=function(e){return arguments.length?(n=e,t=null,c):n},c.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,r.default)(+e),c):a},c.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.default)(+e),c):l},c.padAngle=function(e){return arguments.length?(s="function"==typeof e?e:(0,r.default)(+e),c):s},c};var r=a(n(16)),i=a(n(432)),o=a(n(433)),u=n(29);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return te?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,l=e.lineY0,s=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,u.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,u.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,u.lineRadial)(l())},delete e.lineY0,e.lineOuterRadius=function(){return(0,u.lineRadial)(s())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,i.default)(e)):t()._curve},e};var r=n(156),i=a(r),o=a(n(155)),u=n(157);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkHorizontal=function(){return f(d)},t.linkVertical=function(){return f(h)},t.linkRadial=function(){var e=f(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e};var r=n(13),i=n(159),o=l(n(16)),u=n(85),a=l(n(158));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return e.source}function c(e){return e.target}function f(e){var t=s,n=c,a=u.x,l=u.y,f=null;function d(){var o,u=i.slice.call(arguments),s=t.apply(this,u),c=n.apply(this,u);if(f||(f=o=(0,r.path)()),e(f,+a.apply(this,(u[0]=s,u)),+l.apply(this,u),+a.apply(this,(u[0]=c,u)),+l.apply(this,u)),o)return f=null,o+""||null}return d.source=function(e){return arguments.length?(t=e,d):t},d.target=function(e){return arguments.length?(n=e,d):n},d.x=function(e){return arguments.length?(a="function"==typeof e?e:(0,o.default)(+e),d):a},d.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,o.default)(+e),d):l},d.context=function(e){return arguments.length?(f=null==e?null:e,d):f},d}function d(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function h(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function p(e,t,n,r,i){var o=(0,a.default)(t,n),u=(0,a.default)(t,n=(n+i)/2),l=(0,a.default)(r,n),s=(0,a.default)(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(u[0],u[1],l[0],l[1],s[0],s[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0,t.default=function(){var e=(0,f.default)(i.default),t=(0,f.default)(64),n=null;function o(){var i;if(n||(n=i=(0,r.path)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return o.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,f.default)(t),o):e},o.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,f.default)(+e),o):t},o.context=function(e){return arguments.length?(n=null==e?null:e,o):n},o};var r=n(13),i=d(n(160)),o=d(n(161)),u=d(n(162)),a=d(n(163)),l=d(n(164)),s=d(n(165)),c=d(n(166)),f=d(n(16));function d(e){return e&&e.__esModule?e:{default:e}}t.symbols=[i.default,o.default,u.default,l.default,a.default,s.default,c.default]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var r,i=n(47),o=(r=i)&&r.__esModule?r:{default:r},u=n(48);function a(e){this._context=e}a.prototype={areaStart:o.default,areaEnd:o.default,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,u.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new i(e)};var r=n(48);function i(e){this._context=e}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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);function i(e,t){this._basis=new r.Basis(e),this._beta=t}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],u=e[n]-i,a=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*u),this._beta*t[l]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.default=function e(t){function n(e){return 1===t?new r.Basis(e):new i(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(167),o=n(47),u=(r=o)&&r.__esModule?r:{default:r},a=n(86);function l(e,t){this._context=e,this._alpha=t}l.prototype={areaStart:u.default,areaEnd:u.default,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new l(e,t):new i.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),i=n(86);function o(e,t){this._context=e,this._alpha=t}o.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+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:(0,i.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new o(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new u(e)};var r,i=n(47),o=(r=i)&&r.__esModule?r:{default:r};function u(e){this._context=e}u.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function i(e,t,n){var i=e._x1-e._x0,o=t-e._x1,u=(e._y1-e._y0)/(i||o<0&&-0),a=(n-e._y1)/(o||i<0&&-0),l=(u*o+a*i)/(i+o);return(r(u)+r(a))*Math.min(Math.abs(u),Math.abs(a),.5*Math.abs(l))||0}function o(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function u(e,t,n){var r=e._x0,i=e._y0,o=e._x1,u=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,u-a*n,o,u)}function a(e){this._context=e}function l(e){this._context=new s(e)}function s(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new l(e)},a.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:u(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,u(this,o(this,n=i(this,e,t)),n);break;default:u(this,this._t0,n=i(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},s.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}}},function(e,t,n){"use strict";function r(e){this._context=e}function i(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(u[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)([]),t=u.default,n=o.default,a=l;function s(r){var i,o,u=e.apply(this,arguments),l=r.length,s=u.length,c=new Array(s);for(i=0;i0){for(var n,r,i,u=0,a=e[0].length;u1)for(var n,r,i,o,u,a,l=0,s=e[t[0]].length;l=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):r[0]=o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],u=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,u=0,a=1;aa.epsilon)p=p.L;else{if(!((l=c-d(p,h))>a.epsilon)){r>-a.epsilon?(t=p.P,n=p):l>-a.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,i.createCell)(e);var v=s(e);if(a.beaches.insert(t,v),!t&&!n)return;if(t===n)return(0,o.detachCircle)(t),n=s(t.site),a.beaches.insert(v,n),v.edge=n.edge=(0,u.createEdge)(t.site,v.site),(0,o.attachCircle)(t),void(0,o.attachCircle)(n);if(!n)return void(v.edge=(0,u.createEdge)(t.site,v.site));(0,o.detachCircle)(t),(0,o.detachCircle)(n);var y=t.site,g=y[0],b=y[1],_=e[0]-g,m=e[1]-b,x=n.site,w=x[0]-g,M=x[1]-b,O=2*(_*M-m*w),P=_*_+m*m,j=w*w+M*M,S=[(M*P-m*j)/O+g,(_*j-w*P)/O+b];(0,u.setEdgeEnd)(n.edge,y,x,S),v.edge=(0,u.createEdge)(y,e,null,S),n.edge=(0,u.createEdge)(e,x,null,S),(0,o.attachCircle)(t),(0,o.attachCircle)(n)};var r=n(88),i=n(169),o=n(170),u=n(89),a=n(32),l=[];function s(e){var t=l.pop()||new function(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null};return t.site=e,t}function c(e){(0,o.detachCircle)(e),a.beaches.remove(e),l.push(e),(0,r.RedBlackNode)(e)}function f(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var u=e.P;if(!u)return-1/0;var a=(n=u.site)[0],l=n[1],s=l-t;if(!s)return a;var c=a-r,f=1/o-1/s,d=c/s;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*s)-l+s/2+i-o/2)))/f+r:(r+a)/2}function d(e,t){var n=e.N;if(n)return f(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(460);Object.defineProperty(t,"zoom",{enumerable:!0,get:function(){return o(r).default}});var i=n(171);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zoomTransform",{enumerable:!0,get:function(){return o(i).default}}),Object.defineProperty(t,"zoomIdentity",{enumerable:!0,get:function(){return i.identity}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=p,h=v,m=_,x=g,w=b,M=[0,1/0],O=[[-1/0,-1/0],[1/0,1/0]],P=250,j=o.interpolateZoom,S=[],C=(0,r.dispatch)("start","zoom","end"),T=500,k=150,E=0;function A(e){e.property("__zoom",y).on("wheel.zoom",F).on("mousedown.zoom",H).on("dblclick.zoom",z).filter(w).on("touchstart.zoom",U).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",$).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function N(e,t){return(t=Math.max(M[0],Math.min(M[1],t)))===e.k?e:new c.Transform(t,e.x,e.y)}function D(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new c.Transform(e.k,r,i)}function R(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function q(e,t,n){e.on("start.zoom",function(){L(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){L(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=L(this,e),i=h.apply(this,e),o=n||R(i),u=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),a=this.__zoom,l="function"==typeof t?t.apply(this,e):t,s=j(a.invert(o).concat(u/a.k),l.invert(o).concat(u/l.k));return function(e){if(1===e)e=l;else{var t=s(e),n=u/t[2];e=new c.Transform(n,o[0]-t[0]*n,o[1]-t[1]*n)}r.zoom(null,e)}})}function L(e,t){for(var n,r=0,i=S.length;rE}e.zoom("mouse",m(D(e.that.__zoom,e.mouse[0]=(0,u.mouse)(e.that),e.mouse[1]),e.extent,O))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(0,i.dragEnable)(u.event.view,e.moved),(0,d.default)(),e.end()},!0),o=(0,u.mouse)(this),l=u.event.clientX,s=u.event.clientY;(0,i.dragDisable)(u.event.view),(0,f.nopropagation)(),e.mouse=[o,this.__zoom.invert(o)],(0,a.interrupt)(this),e.start()}}function z(){if(n.apply(this,arguments)){var e=this.__zoom,t=(0,u.mouse)(this),r=e.invert(t),i=e.k*(u.event.shiftKey?.5:2),o=m(D(N(e,i),t,r),h.apply(this,arguments),O);(0,d.default)(),P>0?(0,u.select)(this).transition().duration(P).call(q,o,t):(0,u.select)(this).call(A.transform,o)}}function U(){if(n.apply(this,arguments)){var t,r,i,o,l=L(this,arguments),s=u.event.changedTouches,c=s.length;for((0,f.nopropagation)(),r=0;rr?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){this.target=e,this.type=t,this.transform=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(172),i=(n.n(r),function(e){if(e){var t="";switch(e.charAt(0)){case"$":t+="$";break;case"£":t+="£";break;case"€":t+="€"}e.indexOf(",")>-1&&(t+=",");var n=e.split(".");switch(t+=".",t+=n.length>1?n[1].length:0,e.slice(-1)){case"%":t+="%";break;case"0":t+="f"}return r.format(t)}}),o=function(e,t,n){var r=function(t,n,r,i,o){return!(!e.addError||!e.clearErrors)&&(ro?(e.addError({title:"Too Many "+n+"s",message:"This visualization requires "+(i===o?"exactly":"no more than")+" "+o+" "+n.toLowerCase()+(1===i?"":"s")+".",group:t}),!1):(e.clearErrors(t),!0))},i=t.fields,o=i.pivots,u=i.dimensions,a=i.measure_like;return r("pivot-req","Pivot",o.length,n.min_pivots,n.max_pivots)&&r("dim-req","Dimension",u.length,n.min_dimensions,n.max_dimensions)&&r("mes-req","Measure",a.length,n.min_measures,n.max_measures)}},,function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},,,,function(e,t,n){"use strict";(function(e){var n,r,i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}; /*! * jQuery JavaScript Library v3.3.1 * https://jquery.com/ @@ -12,7 +12,7 @@ * * Date: 2018-01-20T17:24Z */ -r="undefined"!=typeof window?window:void 0,i=function(r,i){var u=[],a=r.document,l=Object.getPrototypeOf,s=u.slice,c=u.concat,f=u.push,d=u.indexOf,h={},p=h.toString,v=h.hasOwnProperty,y=v.toString,g=y.call(Object),b={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},m=function(e){return null!=e&&e===e.window},x={type:!0,src:!0,noModule:!0};function w(e,t,n){var r,i=(t=t||a).createElement("script");if(i.text=e,n)for(r in x)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function M(e){return null==e?e+"":"object"===(void 0===e?"undefined":o(e))||"function"==typeof e?h[p.call(e)]||"object":void 0===e?"undefined":o(e)}var O=function e(t,n){return new e.fn.init(t,n)},P=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function j(e){var t=!!e&&"length"in e&&e.length,n=M(e);return!_(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.fn=O.prototype={jquery:"3.3.1",constructor:O,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=O.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return O.each(this,e)},map:function(e){return this.pushStack(O.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}O.fn=O.prototype={jquery:"3.3.1",constructor:O,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=O.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return O.each(this,e)},map:function(e){return this.pushStack(O.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+L+")"+L+"*"),$=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),Y=new RegExp(H),W=new RegExp("^"+q+"$"),V={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},ie=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{E.apply(S=N.call(x.childNodes),x.childNodes),S[x.childNodes.length].nodeType}catch(e){E={apply:S.length?function(e,t){A.apply(e,N.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,a,s,c,f,p,g,b=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&((t?t.ownerDocument||t:x)!==h&&d(t),t=t||h,v)){if(11!==w&&(f=Z.exec(e)))if(o=f[1]){if(9===w){if(!(s=t.getElementById(o)))return r;if(s.id===o)return r.push(s),r}else if(b&&(s=b.getElementById(o))&&_(t,s)&&s.id===o)return r.push(s),r}else{if(f[2])return E.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return E.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!j[e+" "]&&(!y||!y.test(e))){if(1!==w)b=t,g=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=m),a=(p=u(e)).length;a--;)p[a]="#"+c+" "+ge(p[a]);g=p.join(","),b=Q.test(e)&&ve(t.parentNode)||t}if(g)try{return E.apply(r,b.querySelectorAll(g)),r}catch(e){}finally{c===m&&t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ae(e){return e[m]=!0,e}function le(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return ae(function(t){return t=+t,ae(function(n,r){for(var i,o=e([],n.length,t),u=o.length;u--;)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=oe.setDocument=function(e){var t,i,u=e?e.ownerDocument||e:x;return u!==h&&9===u.nodeType&&u.documentElement?(p=(h=u).documentElement,v=!o(h),x!==h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=le(function(e){return p.appendChild(e).id=m,!h.getElementsByName||!h.getElementsByName(m).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],y=[],(n.qsa=K.test(h.querySelectorAll))&&(le(function(e){p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+L+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+L+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+m+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+m+"+*").length||y.push(".#.+[+~]")}),le(function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+L+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=K.test(b=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),g.push("!=",H)}),y=y.length&&new RegExp(y.join("|")),g=g.length&&new RegExp(g.join("|")),t=K.test(p.compareDocumentPosition),_=t||K.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===h||e.ownerDocument===x&&_(x,e)?-1:t===h||t.ownerDocument===x&&_(x,t)?1:c?D(c,e)-D(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,u=[e],a=[t];if(!i||!o)return e===h?-1:t===h?1:i?-1:o?1:c?D(c,e)-D(c,t):0;if(i===o)return ce(e,t);for(n=e;n=n.parentNode;)u.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;u[r]===a[r];)r++;return r?ce(u[r],a[r]):u[r]===x?-1:a[r]===x?1:0},h):h},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&d(e),t=t.replace($,"='$1']"),n.matchesSelector&&v&&!j[t+" "]&&(!g||!g.test(t))&&(!y||!y.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,h,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==h&&d(e),_(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==h&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&C.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==o?o:n.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(T),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:ae,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=u(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=O[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&O(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),u="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var s,c,f,d,h,p,v=o!==u?"nextSibling":"previousSibling",y=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,_=!1;if(y){if(o){for(;v;){for(d=t;d=d[v];)if(a?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;p=v="only"===e&&!p&&"nextSibling"}return!0}if(p=[u?y.firstChild:y.lastChild],u&&b){for(_=(h=(s=(c=(f=(d=y)[m]||(d[m]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===w&&s[1])&&s[2],d=h&&y.childNodes[h];d=++h&&d&&d[v]||(_=h=0)||p.pop();)if(1===d.nodeType&&++_&&d===t){c[e]=[w,h,_];break}}else if(b&&(_=h=(s=(c=(f=(d=t)[m]||(d[m]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===w&&s[1]),!1===_)for(;(d=++h&&d&&d[v]||(_=h=0)||p.pop())&&((a?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++_||(b&&((c=(f=d[m]||(d[m]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[w,_]),d!==t)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[m]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,n){for(var r,o=i(e,t),u=o.length;u--;)e[r=D(e,o[u])]=!(n[r]=o[u])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ae(function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[m]?ae(function(e,t,n,i){for(var o,u=r(e,null,i,[]),a=e.length;a--;)(o=u[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ae(function(e){return function(t){return oe(e,t).length>0}}),contains:ae(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:ae(function(e){return W.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:pe(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function me(e,t,n,r,i){for(var o,u=[],a=0,l=e.length,s=null!=t;a-1&&(o[s]=!(u[s]=f))}}else g=me(g===u?g.splice(p,g.length):g),i?i(null,u,g,l):E.apply(u,g)})}function we(e){for(var t,n,i,o=e.length,u=r.relative[e[0].type],a=u||r.relative[" "],l=u?1:0,c=be(function(e){return e===t},a,!0),f=be(function(e){return D(t,e)>-1},a,!0),d=[function(e,n,r){var i=!u&&(r||n!==s)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];l1&&_e(d),l>1&&ge(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,l0,i=e.length>0,o=function(o,u,a,l,c){var f,p,y,g=0,b="0",_=o&&[],m=[],x=s,M=o||i&&r.find.TAG("*",c),O=w+=null==x?1:Math.random()||.1,P=M.length;for(c&&(s=u===h||u||c);b!==P&&null!=(f=M[b]);b++){if(i&&f){for(p=0,u||f.ownerDocument===h||(d(f),a=!v);y=e[p++];)if(y(f,u||h,a)){l.push(f);break}c&&(w=O)}n&&((f=!y&&f)&&g--,o&&_.push(f))}if(g+=b,n&&b!==g){for(p=0;y=t[p++];)y(_,m,u,a);if(o){if(g>0)for(;b--;)_[b]||m[b]||(m[b]=k.call(l));m=me(m)}E.apply(l,m),c&&!o&&m.length>0&&g+t.length>1&&oe.uniqueSort(l)}return c&&(w=O,s=x),_};return n?ae(o):o}(o,i))).selector=e}return a},l=oe.select=function(e,t,n,i){var o,l,s,c,f,d="function"==typeof e&&e,h=!i&&u(e=d.selector||e);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(s=l[0]).type&&9===t.nodeType&&v&&r.relative[l[1].type]){if(!(t=(r.find.ID(s.matches[0].replace(J,ee),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=V.needsContext.test(e)?0:l.length;o--&&(s=l[o],!r.relative[c=s.type]);)if((f=r.find[c])&&(i=f(s.matches[0].replace(J,ee),Q.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&ge(l)))return E.apply(n,i),n;break}}return(d||a(e,h))(i,t,!v,n,!t||Q.test(e)&&ve(t.parentNode)||t),n},n.sortStable=m.split("").sort(T).join("")===m,n.detectDuplicates=!!f,d(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),le(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||se("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||se("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||se(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(r);O.find=T,O.expr=T.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=T.uniqueSort,O.text=T.getText,O.isXMLDoc=T.isXML,O.contains=T.contains,O.escapeSelector=T.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&O(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=O.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return _(t)?O.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?O.grep(e,function(e){return e===t!==n}):"string"!=typeof t?O.grep(e,function(e){return d.call(t,e)>-1!==n}):O.filter(t,e,n)}O.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?O.find.matchesSelector(r,e)?[r]:[]:O.find.matches(e,O.grep(t,function(e){return 1===e.nodeType}))},O.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(O(e).filter(function(){for(t=0;t1?O.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&k.test(e)?O(e):e||[],!1).length}});var D,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:R.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof O?t[0]:t,O.merge(this,O.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),E.test(r[1])&&O.isPlainObject(t))for(r in t)_(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==n.ready?n.ready(e):e(O):O.makeArray(e,this)}).prototype=O.fn,D=O(a);var L=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}O.fn.extend({has:function(e){var t=O(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&O.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?d.call(O(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),O.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return A(e,"iframe")?e.contentDocument:(A(e,"template")&&(e=e.content||e),O.merge([],e.childNodes))}},function(e,t){O.fn[e]=function(n,r){var i=O.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(q[e]||O.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var H=/[^\x20\t\r\n\f]+/g;function F(e){return e}function z(e){throw e}function U(e,t,n,r){var i;try{e&&_(i=e.promise)?i.call(e).done(t).fail(n):e&&_(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}O.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return O.each(e.match(H)||[],function(e,n){t[n]=!0}),t}(e):O.extend({},e);var t,n,r,i,o=[],u=[],a=-1,l=function(){for(i=i||e.once,r=t=!0;u.length;a=-1)for(n=u.shift();++a-1;)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?O.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=u=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=u=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],u.push(n),t||l()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},O.extend({Deferred:function(e){var t=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return u.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return O.Deferred(function(n){O.each(t,function(t,r){var i=_(e[r[4]])&&e[r[4]];u[r[1]](function(){var e=i&&i.apply(this,arguments);e&&_(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,i){var u=0;function a(e,t,n,i){return function(){var l=this,s=arguments,c=function(){var r,c;if(!(e=u&&(n!==z&&(l=void 0,s=[r]),t.rejectWith(l,s))}};e?f():(O.Deferred.getStackHook&&(f.stackTrace=O.Deferred.getStackHook()),r.setTimeout(f))}}return O.Deferred(function(r){t[0][3].add(a(0,r,_(i)?i:F,r.notifyWith)),t[1][3].add(a(0,r,_(e)?e:F)),t[2][3].add(a(0,r,_(n)?n:z))}).promise()},promise:function(e){return null!=e?O.extend(e,i):i}},u={};return O.each(t,function(e,r){var o=r[2],a=r[5];i[r[1]]=o.add,a&&o.add(function(){n=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),u[r[0]]=function(){return u[r[0]+"With"](this===u?void 0:this,arguments),this},u[r[0]+"With"]=o.fireWith}),i.promise(u),e&&e.call(u,u),u},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=O.Deferred(),u=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(U(e,o.done(u(n)).resolve,o.reject,!t),"pending"===o.state()||_(i[n]&&i[n].then)))return o.then();for(;n--;)U(i[n],u(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&B.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},O.readyException=function(e){r.setTimeout(function(){throw e})};var $=O.Deferred();function Y(){a.removeEventListener("DOMContentLoaded",Y),r.removeEventListener("load",Y),O.ready()}O.fn.ready=function(e){return $.then(e).catch(function(e){O.readyException(e)}),this},O.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==e&&--O.readyWait>0||$.resolveWith(a,[O]))}}),O.ready.then=$.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?r.setTimeout(O.ready):(a.addEventListener("DOMContentLoaded",Y),r.addEventListener("load",Y));var W=function e(t,n,r,i,o,u,a){var l=0,s=t.length,c=null==r;if("object"===M(r))for(l in o=!0,r)e(t,n,l,r[l],!0,u,a);else if(void 0!==i&&(o=!0,_(i)||(a=!0),c&&(a?(n.call(t,i),n=null):(c=n,n=function(e,t,n){return c.call(O(e),n)})),n))for(;l1,null,!0)},removeData:function(e){return this.each(function(){ee.remove(this,e)})}}),O.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,O.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=O.queue(e,t),r=n.length,i=n.shift(),o=O._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){O.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:O.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),O.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,ve=/^$|^module$|\/(?:java|ecma)script/i,ye={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?O.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(s=O.contains(o.ownerDocument,o),u=ge(f.appendChild(o),"script"),s&&be(u),n)for(c=0;o=u[c++];)ve.test(o.type||"")&&n.push(o);return f}_e=a.createDocumentFragment().appendChild(a.createElement("div")),(me=a.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),_e.appendChild(me),b.checkClone=_e.cloneNode(!0).cloneNode(!0).lastChild.checked,_e.innerHTML="",b.noCloneChecked=!!_e.cloneNode(!0).lastChild.defaultValue;var Me=a.documentElement,Oe=/^key/,Pe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,je=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ce(){return!1}function Se(){try{return a.activeElement}catch(e){}}function ke(e,t,n,r,i,u){var a,l;if("object"===(void 0===t?"undefined":o(t))){for(l in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,l,n,r,t[l],u);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ce;else if(!i)return e;return 1===u&&(a=i,(i=function(e){return O().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=O.guid++)),e.each(function(){O.event.add(this,t,i,r,n)})}O.event={global:{},add:function(e,t,n,r,i){var o,u,a,l,s,c,f,d,h,p,v,y=J.get(e);if(y)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&O.find.matchesSelector(Me,i),n.guid||(n.guid=O.guid++),(l=y.events)||(l=y.events={}),(u=y.handle)||(u=y.handle=function(t){return void 0!==O&&O.event.triggered!==t.type?O.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(H)||[""]).length;s--;)h=v=(a=je.exec(t[s])||[])[1],p=(a[2]||"").split(".").sort(),h&&(f=O.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=O.event.special[h]||{},c=O.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=l[h])||((d=l[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,u)||e.addEventListener&&e.addEventListener(h,u)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),O.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,u,a,l,s,c,f,d,h,p,v,y=J.hasData(e)&&J.get(e);if(y&&(l=y.events)){for(s=(t=(t||"").match(H)||[""]).length;s--;)if(h=v=(a=je.exec(t[s])||[])[1],p=(a[2]||"").split(".").sort(),h){for(f=O.event.special[h]||{},d=l[h=(r?f.delegateType:f.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)c=d[o],!i&&v!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,y.handle)||O.removeEvent(e,h,y.handle),delete l[h])}else for(h in l)O.event.remove(e,h+t[s],n,r,!0);O.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,u,a=O.event.fix(e),l=new Array(arguments.length),s=(J.get(this,"events")||{})[a.type]||[],c=O.event.special[a.type]||{};for(l[0]=a,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],u={},n=0;n-1:O.find(i,this,null,[s]).length),u[i]&&o.push(r);o.length&&a.push({elem:s,handlers:o})}return s=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/\s*$/g;function Re(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&O(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,u,a,l,s;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),u=J.set(t,o),s=o.events))for(i in delete u.handle,u.events={},s)for(n=0,r=s[i].length;n1&&"string"==typeof p&&!b.checkClone&&Ne.test(p))return e.each(function(i){var o=e.eq(i);v&&(t[0]=p.call(this,i,o.html())),He(o,t,n,r)});if(d&&(o=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(u=O.map(ge(i,"script"),Le)).length;f")},clone:function(e,t,n){var r,i,o,u,a,l,s,c=e.cloneNode(!0),f=O.contains(e.ownerDocument,e);if(!(b.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||O.isXMLDoc(e)))for(u=ge(c),r=0,i=(o=ge(e)).length;r0&&be(u,!f&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,i=O.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?O.event.remove(n,r):O.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[ee.expando]&&(n[ee.expando]=void 0)}}}),O.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return W(this,function(e){return void 0===e?O.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(O.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return O.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!ye[(pe.exec(e)||["",""])[1].toLowerCase()]){e=O.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))),l}function tt(e,t,n){var r=Ue(e),i=$e(e,t,r),o="border-box"===O.css(e,"boxSizing",!1,r),u=o;if(ze.test(i)){if(!n)return i;i="auto"}return u=u&&(b.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===O.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],u=!0),(i=parseFloat(i)||0)+et(e,t,n||(o?"border":"content"),u,r,i)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}O.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,u,a,l=K(t),s=Ve.test(t),c=e.style;if(s||(t=Qe(l)),a=O.cssHooks[t]||O.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(u=void 0===n?"undefined":o(n))&&(i=oe.exec(n))&&i[1]&&(n=se(e,t,i),u="number"),null!=n&&n==n&&("number"===u&&(n+=i&&i[3]||(O.cssNumber[l]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(s?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,u,a=K(t);return Ve.test(t)||(t=Qe(a)),(u=O.cssHooks[t]||O.cssHooks[a])&&"get"in u&&(i=u.get(e,!0,n)),void 0===i&&(i=$e(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),O.each(["height","width"],function(e,t){O.cssHooks[t]={get:function(e,n,r){if(n)return!We.test(O.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):le(e,Xe,function(){return tt(e,t,r)})},set:function(e,n,r){var i,o=Ue(e),u="border-box"===O.css(e,"boxSizing",!1,o),a=r&&et(e,t,r,u,o);return u&&b.scrollboxSize()===o.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),a&&(i=oe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=O.css(e,t)),Je(0,n,a)}}}),O.cssHooks.marginLeft=Ye(b.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),O.each({margin:"",padding:"",border:"Width"},function(e,t){O.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ue[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(O.cssHooks[e+t].set=Je)}),O.fn.extend({css:function(e,t){return W(this,function(e,t,n){var r,i,o={},u=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;u1)}}),O.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||O.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=O.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=O.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){O.fx.step[e.prop]?O.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[O.cssProps[e.prop]]&&!O.cssHooks[e.prop]?e.elem[e.prop]=e.now:O.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},O.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},O.fx=nt.prototype.init,O.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){it&&(!1===a.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(at):r.setTimeout(at,O.fx.interval),O.fx.tick())}function lt(){return r.setTimeout(function(){rt=void 0}),rt=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ue[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,u=i.length;o1)},removeAttr:function(e){return this.each(function(){O.removeAttr(this,e)})}}),O.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?O.prop(e,t,n):(1===o&&O.isXMLDoc(e)||(i=O.attrHooks[t.toLowerCase()]||(O.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void O.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=O.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(H);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?O.removeAttr(e,n):e.setAttribute(n,n),n}},O.each(O.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||O.find.attr;ht[t]=function(e,t,r){var i,o,u=t.toLowerCase();return r||(o=ht[u],ht[u]=i,i=null!=n(e,t,r)?u:null,ht[u]=o),i}});var pt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function yt(e){return(e.match(H)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(H)||[]}O.fn.extend({prop:function(e,t){return W(this,O.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[O.propFix[e]||e]})}}),O.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(e)||(t=O.propFix[t]||t,i=O.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=O.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(O.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){O.propFix[this.toLowerCase()]=this}),O.fn.extend({addClass:function(e){var t,n,r,i,o,u,a,l=0;if(_(e))return this.each(function(t){O(this).addClass(e.call(this,t,gt(this)))});if((t=bt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(u=0;o=t[u++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=yt(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,u,a,l=0;if(_(e))return this.each(function(t){O(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(u=0;o=t[u++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=yt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":o(e),r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):_(e)?this.each(function(n){O(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,i,o,u;if(r)for(i=0,o=O(this),u=bt(e);t=u[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;O.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=_(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,O(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,function(e){return null==e?"":e+""})),(t=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_t,""):null==n?"":n:void 0}}),O.extend({valHooks:{option:{get:function(e){var t=O.find.attr(e,"value");return null!=t?t:yt(O.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,u="select-one"===e.type,a=u?null:[],l=u?o+1:i.length;for(r=o<0?l:u?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],function(){O.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=O.inArray(O(e).val(),t)>-1}},b.checkOn||(O.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),b.focusin="onfocusin"in r;var mt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};O.extend(O.event,{trigger:function(e,t,n,i){var u,l,s,c,f,d,h,p,y=[n||a],g=v.call(e,"type")?e.type:e,b=v.call(e,"namespace")?e.namespace.split("."):[];if(l=p=s=n=n||a,3!==n.nodeType&&8!==n.nodeType&&!mt.test(g+O.event.triggered)&&(g.indexOf(".")>-1&&(g=(b=g.split(".")).shift(),b.sort()),f=g.indexOf(":")<0&&"on"+g,(e=e[O.expando]?e:new O.Event(g,"object"===(void 0===e?"undefined":o(e))&&e)).isTrigger=i?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:O.makeArray(t,[e]),h=O.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(n,t))){if(!i&&!h.noBubble&&!m(n)){for(c=h.delegateType||g,mt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)y.push(l),s=l;s===(n.ownerDocument||a)&&y.push(s.defaultView||s.parentWindow||r)}for(u=0;(l=y[u++])&&!e.isPropagationStopped();)p=l,e.type=u>1?c:h.bindType||g,(d=(J.get(l,"events")||{})[e.type]&&J.get(l,"handle"))&&d.apply(l,t),(d=f&&l[f])&&d.apply&&Z(l)&&(e.result=d.apply(l,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(y.pop(),t)||!Z(n)||f&&_(n[g])&&!m(n)&&((s=n[f])&&(n[f]=null),O.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,xt),n[g](),e.isPropagationStopped()&&p.removeEventListener(g,xt),O.event.triggered=void 0,s&&(n[f]=s)),e.result}},simulate:function(e,t,n){var r=O.extend(new O.Event,n,{type:e,isSimulated:!0});O.event.trigger(r,null,t)}}),O.fn.extend({trigger:function(e,t){return this.each(function(){O.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return O.event.trigger(e,t,n,!0)}}),b.focusin||O.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){O.event.simulate(t,e.target,O.event.fix(e))};O.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var wt=r.location,Mt=Date.now(),Ot=/\?/;O.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||O.error("Invalid XML: "+e),t};var Pt=/\[\]$/,jt=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var i;if(Array.isArray(t))O.each(t,function(t,i){n||Pt.test(e)?r(e,i):St(e+"["+("object"===(void 0===i?"undefined":o(i))&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==M(t))r(e,t);else for(i in t)St(e+"["+i+"]",t[i],n,r)}O.param=function(e,t){var n,r=[],i=function(e,t){var n=_(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!O.isPlainObject(e))O.each(e,function(){i(this.name,this.value)});else for(n in e)St(n,e[n],t,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=O.prop(this,"elements");return e?O.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!O(this).is(":disabled")&&Ct.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=O(this).val();return null==n?null:Array.isArray(n)?O.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}}):{name:t.name,value:n.replace(jt,"\r\n")}}).get()}});var kt=/%20/g,At=/#.*$/,Et=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Rt=/^\/\//,Lt={},qt={},It="*/".concat("*"),Ht=a.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(H)||[];if(_(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function zt(e,t,n,r){var i={},o=e===qt;function u(a){var l;return i[a]=!0,O.each(e[a]||[],function(e,a){var s=a(t,n,r);return"string"!=typeof s||o||i[s]?o?!(l=s):void 0:(t.dataTypes.unshift(s),u(s),!1)}),l}return u(t.dataTypes[0])||!i["*"]&&u("*")}function Ut(e,t){var n,r,i=O.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&O.extend(!0,e,r),e}Ht.href=wt.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,O.ajaxSettings),t):Ut(O.ajaxSettings,e)},ajaxPrefilter:Ft(Lt),ajaxTransport:Ft(qt),ajax:function(e,t){"object"===(void 0===e?"undefined":o(e))&&(t=e,e=void 0),t=t||{};var n,i,u,l,s,c,f,d,h,p,v=O.ajaxSetup({},t),y=v.context||v,g=v.context&&(y.nodeType||y.jquery)?O(y):O.event,b=O.Deferred(),_=O.Callbacks("once memory"),m=v.statusCode||{},x={},w={},M="canceled",P={readyState:0,getResponseHeader:function(e){var t;if(f){if(!l)for(l={};t=Nt.exec(u);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?u:null},setRequestHeader:function(e,t){return null==f&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==f&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)P.always(e[P.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||M;return n&&n.abort(t),j(0,t),this}};if(b.promise(P),v.url=((e||v.url||wt.href)+"").replace(Rt,wt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(H)||[""],null==v.crossDomain){c=a.createElement("a");try{c.href=v.url,c.href=c.href,v.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=O.param(v.data,v.traditional)),zt(Lt,v,t,P),f)return P;for(h in(d=O.event&&v.global)&&0==O.active++&&O.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Dt.test(v.type),i=v.url.replace(At,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(kt,"+")):(p=v.url.slice(i.length),v.data&&(v.processData||"string"==typeof v.data)&&(i+=(Ot.test(i)?"&":"?")+v.data,delete v.data),!1===v.cache&&(i=i.replace(Et,"$1"),p=(Ot.test(i)?"&":"?")+"_="+Mt+++p),v.url=i+p),v.ifModified&&(O.lastModified[i]&&P.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&P.setRequestHeader("If-None-Match",O.etag[i])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&P.setRequestHeader("Content-Type",v.contentType),P.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+It+"; q=0.01":""):v.accepts["*"]),v.headers)P.setRequestHeader(h,v.headers[h]);if(v.beforeSend&&(!1===v.beforeSend.call(y,P,v)||f))return P.abort();if(M="abort",_.add(v.complete),P.done(v.success),P.fail(v.error),n=zt(qt,v,t,P)){if(P.readyState=1,d&&g.trigger("ajaxSend",[P,v]),f)return P;v.async&&v.timeout>0&&(s=r.setTimeout(function(){P.abort("timeout")},v.timeout));try{f=!1,n.send(x,j)}catch(e){if(f)throw e;j(-1,e)}}else j(-1,"No Transport");function j(e,t,o,a){var l,c,h,p,x,w=t;f||(f=!0,s&&r.clearTimeout(s),n=void 0,u=a||"",P.readyState=e>0?4:0,l=e>=200&&e<300||304===e,o&&(p=function(e,t,n){for(var r,i,o,u,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}u||(u=i)}o=o||u}if(o)return o!==l[0]&&l.unshift(o),n[o]}(v,P,o)),p=function(e,t,n,r){var i,o,u,a,l,s={},c=e.dataTypes.slice();if(c[1])for(u in e.converters)s[u.toLowerCase()]=e.converters[u];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(u=s[l+" "+o]||s["* "+o]))for(i in s)if((a=i.split(" "))[1]===o&&(u=s[l+" "+a[0]]||s["* "+a[0]])){!0===u?u=s[i]:!0!==s[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==u)if(u&&e.throws)t=u(t);else try{t=u(t)}catch(e){return{state:"parsererror",error:u?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(v,p,P,l),l?(v.ifModified&&((x=P.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=x),(x=P.getResponseHeader("etag"))&&(O.etag[i]=x)),204===e||"HEAD"===v.type?w="nocontent":304===e?w="notmodified":(w=p.state,c=p.data,l=!(h=p.error))):(h=w,!e&&w||(w="error",e<0&&(e=0))),P.status=e,P.statusText=(t||w)+"",l?b.resolveWith(y,[c,w,P]):b.rejectWith(y,[P,w,h]),P.statusCode(m),m=void 0,d&&g.trigger(l?"ajaxSuccess":"ajaxError",[P,v,l?c:h]),_.fireWith(y,[P,w]),d&&(g.trigger("ajaxComplete",[P,v]),--O.active||O.event.trigger("ajaxStop")))}return P},getJSON:function(e,t,n){return O.get(e,t,n,"json")},getScript:function(e,t){return O.get(e,void 0,t,"script")}}),O.each(["get","post"],function(e,t){O[t]=function(e,n,r,i){return _(n)&&(i=i||r,r=n,n=void 0),O.ajax(O.extend({url:e,type:t,dataType:i,data:n,success:r},O.isPlainObject(e)&&e))}}),O._evalUrl=function(e){return O.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},O.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=O(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _(e)?this.each(function(t){O(this).wrapInner(e.call(this,t))}):this.each(function(){var t=O(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_(e);return this.each(function(n){O(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){O(this).replaceWith(this.childNodes)}),this}}),O.expr.pseudos.hidden=function(e){return!O.expr.pseudos.visible(e)},O.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},$t=O.ajaxSettings.xhr();b.cors=!!$t&&"withCredentials"in $t,b.ajax=$t=!!$t,O.ajaxTransport(function(e){var t,n;if(b.cors||$t&&!e.crossDomain)return{send:function(i,o){var u,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(u in e.xhrFields)a[u]=e.xhrFields[u];for(u in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(u,i[u]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Bt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&r.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),O.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return O.globalEval(e),e}}}),O.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),O.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=O("