!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.DataSet=n():t.DataSet=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=289)}([function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(154);e.d(n,"geoArea",function(){return r.c});var o=e(309);e.d(n,"geoBounds",function(){return o.a});var i=e(310);e.d(n,"geoCentroid",function(){return i.a});var u=e(155);e.d(n,"geoCircle",function(){return u.b});var c=e(91);e.d(n,"geoClipExtent",function(){return c.b});var a=e(329);e.d(n,"geoContains",function(){return a.a});var f=e(173);e.d(n,"geoDistance",function(){return f.a});var s=e(330);e.d(n,"geoGraticule",function(){return s.a}),e.d(n,"geoGraticule10",function(){return s.b});var l=e(331);e.d(n,"geoInterpolate",function(){return l.a});var h=e(174);e.d(n,"geoLength",function(){return h.a});var p=e(332);e.d(n,"geoPath",function(){return p.a});var v=e(176);e.d(n,"geoAlbers",function(){return v.a});var d=e(342);e.d(n,"geoAlbersUsa",function(){return d.a});var b=e(343);e.d(n,"geoAzimuthalEqualArea",function(){return b.b}),e.d(n,"geoAzimuthalEqualAreaRaw",function(){return b.a});var g=e(344);e.d(n,"geoAzimuthalEquidistant",function(){return g.b}),e.d(n,"geoAzimuthalEquidistantRaw",function(){return g.a});var y=e(345);e.d(n,"geoConicConformal",function(){return y.b}),e.d(n,"geoConicConformalRaw",function(){return y.a});var j=e(94);e.d(n,"geoConicEqualArea",function(){return j.b}),e.d(n,"geoConicEqualAreaRaw",function(){return j.a});var O=e(346);e.d(n,"geoConicEquidistant",function(){return O.b}),e.d(n,"geoConicEquidistantRaw",function(){return O.a});var _=e(178);e.d(n,"geoEquirectangular",function(){return _.a}),e.d(n,"geoEquirectangularRaw",function(){return _.b});var m=e(347);e.d(n,"geoGnomonic",function(){return m.a}),e.d(n,"geoGnomonicRaw",function(){return m.b});var x=e(348);e.d(n,"geoIdentity",function(){return x.a});var w=e(21);e.d(n,"geoProjection",function(){return w.a}),e.d(n,"geoProjectionMutator",function(){return w.b});var E=e(97);e.d(n,"geoMercator",function(){return E.a}),e.d(n,"geoMercatorRaw",function(){return E.c});var S=e(349);e.d(n,"geoOrthographic",function(){return S.a}),e.d(n,"geoOrthographicRaw",function(){return S.b});var M=e(350);e.d(n,"geoStereographic",function(){return M.a}),e.d(n,"geoStereographicRaw",function(){return M.b});var T=e(351);e.d(n,"geoTransverseMercator",function(){return T.a}),e.d(n,"geoTransverseMercatorRaw",function(){return T.b});var k=e(66);e.d(n,"geoRotation",function(){return k.a});var C=e(30);e.d(n,"geoStream",function(){return C.a});var P=e(67);e.d(n,"geoTransform",function(){return P.a})},function(t,n,e){"use strict";function r(t){return t>0?Math.sqrt(t):0}e.d(n,"a",function(){return o}),e.d(n,"f",function(){return i}),e.d(n,"g",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"m",function(){return a}),e.d(n,"n",function(){return f}),e.d(n,"p",function(){return s}),e.d(n,"q",function(){return l}),e.d(n,"r",function(){return h}),e.d(n,"t",function(){return p}),e.d(n,"w",function(){return v}),e.d(n,"x",function(){return d}),e.d(n,"y",function(){return b}),e.d(n,"F",function(){return g}),e.d(n,"k",function(){return y}),e.d(n,"l",function(){return j}),e.d(n,"s",function(){return O}),e.d(n,"o",function(){return _}),e.d(n,"u",function(){return m}),e.d(n,"C",function(){return x}),e.d(n,"D",function(){return w}),e.d(n,"E",function(){return E}),e.d(n,"H",function(){return S}),e.d(n,"j",function(){return M}),e.d(n,"v",function(){return T}),n.z=function(t){return t?t/Math.sin(t):1},n.e=function(t){return t>1?_:t<-1?-_:Math.asin(t)},n.b=function(t){return t>1?0:t<-1?O:Math.acos(t)},n.B=r,n.G=function(t){return((t=a(2*t))-1)/(t+1)},n.A=function(t){return(a(t)-a(-t))/2},n.i=function(t){return(a(t)+a(-t))/2},n.d=function(t){return s(t+r(t*t+1))},n.c=function(t){return s(t+r(t*t-1))};var o=Math.abs,i=Math.atan,u=Math.atan2,c=(Math.ceil,Math.cos),a=Math.exp,f=Math.floor,s=Math.log,l=Math.max,h=Math.min,p=Math.pow,v=Math.round,d=Math.sign||function(t){return t>0?1:t<0?-1:0},b=Math.sin,g=Math.tan,y=1e-6,j=1e-12,O=Math.PI,_=O/2,m=O/4,x=Math.SQRT1_2,w=r(2),E=r(O),S=2*O,M=180/O,T=O/180},function(t,n,e){var r=e(4),o=e(248),i=e(16),u=e(596),c=e(190),a=e(48),f=e(125),s=function(t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{state:{}};!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}(this,t.call(this));return r(o,{_onChangeTimer:null,DataSet:n,isDataSet:!0,views:{}},e),o}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype._getUniqueViewName=function(){for(var t=u("view_");this.views[t];)t=u("view_");return t},n.prototype.createView=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=this;if(o(t)&&(t=e._getUniqueViewName()),i(t)&&(n=t,t=e._getUniqueViewName()),e.views[t])throw new Error("data view exists: "+t);var r=new a(e,n);return e.views[t]=r,r},n.prototype.getView=function(t){return this.views[t]},n.prototype.setView=function(t,n){this.views[t]=n},n.prototype.setState=function(t,n){var e=this;e.state[t]=n,e._onChangeTimer&&(clearTimeout(e._onChangeTimer),e._onChangeTimer=null),e._onChangeTimer=setTimeout(function(){e.emit("statechange",t,n)},16)},n}(c);r(s,{CONSTANTS:f,DataSet:s,DataView:a,View:a,connectors:{},transforms:{},registerConnector:function(t,n){s.connectors[t]=n},getConnector:function(t){return s.connectors[t]||s.connectors.default},registerTransform:function(t,n){s.transforms[t]=n},getTransform:function(t){return s.transforms[t]||s.transforms.default}},f),a.DataSet=s,r(s.prototype,{view:s.prototype.createView}),t.exports=s},function(t,n){var e=Array.isArray;t.exports=e},function(t,n,e){var r=e(62),o=e(41),i=e(297),u=e(24),c=e(65),a=e(11),f=Object.prototype.hasOwnProperty,s=i(function(t,n){if(c(n)||u(n))o(n,a(n),t);else for(var e in n)f.call(n,e)&&r(t,e,n[e])});t.exports=s},function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return o}),e.d(n,"o",function(){return i}),e.d(n,"l",function(){return u}),e.d(n,"q",function(){return c}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return p}),e.d(n,"g",function(){return v}),e.d(n,"f",function(){return d}),e.d(n,"k",function(){return b}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return j}),e.d(n,"s",function(){return O}),e.d(n,"u",function(){return _}),e.d(n,"v",function(){return m}),n.b=function(t){return t>1?0:t<-1?i:Math.acos(t)},n.c=function(t){return t>1?u:t<-1?-u:Math.asin(t)},n.m=function(t){return(t=j(t/2))*t};var r=1e-6,o=1e-12,i=Math.PI,u=i/2,c=i/4,a=2*i,f=180/i,s=i/180,l=Math.abs,h=Math.atan,p=Math.atan2,v=Math.cos,d=Math.ceil,b=Math.exp,g=(Math.floor,Math.log),y=Math.pow,j=Math.sin,O=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,m=Math.tan},function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return o}),e.d(n,"o",function(){return i}),e.d(n,"l",function(){return u}),e.d(n,"q",function(){return c}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return p}),e.d(n,"g",function(){return v}),e.d(n,"f",function(){return d}),e.d(n,"k",function(){return b}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return j}),e.d(n,"s",function(){return O}),e.d(n,"u",function(){return _}),e.d(n,"v",function(){return m}),n.b=function(t){return t>1?0:t<-1?i:Math.acos(t)},n.c=function(t){return t>1?u:t<-1?-u:Math.asin(t)},n.m=function(t){return(t=j(t/2))*t};var r=1e-6,o=1e-12,i=Math.PI,u=i/2,c=i/4,a=2*i,f=180/i,s=i/180,l=Math.abs,h=Math.atan,p=Math.atan2,v=Math.cos,d=Math.ceil,b=Math.exp,g=(Math.floor,Math.log),y=Math.pow,j=Math.sin,O=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,m=Math.tan},function(t,n,e){var r=e(3),o=e(9),i="Invalid fields: it must be an array!";t.exports={getField:function(t,n){var e=t.field,i=t.fields;if(o(e))return e;if(r(e))return console.warn("Invalid field: it must be a string!"),e[0];if(console.warn("Invalid field: it must be a string! will try to get fields instead."),o(i))return i;if(r(i)&&i.length)return i[0];if(n)return n;throw new TypeError("Invalid field: it must be a string!")},getFields:function(t,n){var e=t.field,u=t.fields;if(r(u))return u;if(o(u))return console.warn(i),[u];if(console.warn(i+" will try to get field instead."),o(e))return console.warn(i),[e];if(r(e)&&e.length)return console.warn(i),e;if(n)return n;throw new TypeError(i)}}},function(t,n,e){var r;try{r=e(263)}catch(t){}r||(r=window._),t.exports=r},function(t,n,e){var r=e(23),o=e(3),i=e(20),u="[object String]";t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&r(t)==u}},function(t,n,e){function r(t,n,e,r){var o;do{o=i.uniqueId(r)}while(t.hasNode(o));return e.dummy=n,t.setNode(o,e),o}function o(t){return i.max(i.map(t.nodes(),function(n){var e=t.node(n).rank;if(!i.isUndefined(e))return e}))}var i=e(8),u=e(17).Graph;t.exports={addDummyNode:r,simplify:function(t){var n=(new u).setGraph(t.graph());return i.forEach(t.nodes(),function(e){n.setNode(e,t.node(e))}),i.forEach(t.edges(),function(e){var r=n.edge(e.v,e.w)||{weight:0,minlen:1},o=t.edge(e);n.setEdge(e.v,e.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),n},asNonCompoundGraph:function(t){var n=new u({multigraph:t.isMultigraph()}).setGraph(t.graph());return i.forEach(t.nodes(),function(e){t.children(e).length||n.setNode(e,t.node(e))}),i.forEach(t.edges(),function(e){n.setEdge(e,t.edge(e))}),n},successorWeights:function(t){var n=i.map(t.nodes(),function(n){var e={};return i.forEach(t.outEdges(n),function(n){e[n.w]=(e[n.w]||0)+t.edge(n).weight}),e});return i.zipObject(t.nodes(),n)},predecessorWeights:function(t){var n=i.map(t.nodes(),function(n){var e={};return i.forEach(t.inEdges(n),function(n){e[n.v]=(e[n.v]||0)+t.edge(n).weight}),e});return i.zipObject(t.nodes(),n)},intersectRect:function(t,n){var e=t.x,r=t.y,o=n.x-e,i=n.y-r,u=t.width/2,c=t.height/2;if(!o&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var a,f;return Math.abs(i)*u>Math.abs(o)*c?(i<0&&(c=-c),a=c*o/i,f=c):(o<0&&(u=-u),a=u,f=u*i/o),{x:e+a,y:r+f}},buildLayerMatrix:function(t){var n=i.map(i.range(o(t)+1),function(){return[]});return i.forEach(t.nodes(),function(e){var r=t.node(e),o=r.rank;i.isUndefined(o)||(n[o][r.order]=e)}),n},normalizeRanks:function(t){var n=i.minBy(i.map(t.nodes(),function(n){return t.node(n).rank}));i.forEach(t.nodes(),function(e){var r=t.node(e);i.has(r,"rank")&&(r.rank-=n)})},removeEmptyRanks:function(t){var n=i.minBy(i.map(t.nodes(),function(n){return t.node(n).rank})),e=[];i.forEach(t.nodes(),function(r){var o=t.node(r).rank-n;e[o]||(e[o]=[]),e[o].push(r)});var r=0,o=t.graph().nodeRankFactor;i.forEach(e,function(n,e){i.isUndefined(n)&&e%o!=0?--r:r&&i.forEach(n,function(n){t.node(n).rank+=r})})},addBorderNode:function(t,n,e,o){var i={width:0,height:0};return arguments.length>=4&&(i.rank=e,i.order=o),r(t,"border",i,n)},maxRank:o,partition:function(t,n){var e={lhs:[],rhs:[]};return i.forEach(t,function(t){n(t)?e.lhs.push(t):e.rhs.push(t)}),e},time:function(t,n){var e=i.now();try{return n()}finally{console.log(t+" time: "+(i.now()-e)+"ms")}},notime:function(t,n){return n()}}},function(t,n,e){var r=e(151),o=e(307),i=e(24);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,n,e){var r=e(212),o=e(213),i=e(105);t.exports=function(t,n){return null==t?t:r(t,o(n),i)}},function(t,n,e){var r=e(23),o=e(16),i="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",a="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var n=r(t);return n==u||n==c||n==i||n==a}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(160);e.d(n,"bisect",function(){return r.c}),e.d(n,"bisectRight",function(){return r.b}),e.d(n,"bisectLeft",function(){return r.a});var o=e(38);e.d(n,"ascending",function(){return o.a});var i=e(161);e.d(n,"bisector",function(){return i.a});var u=e(313);e.d(n,"cross",function(){return u.a});var c=e(314);e.d(n,"descending",function(){return c.a});var a=e(163);e.d(n,"deviation",function(){return a.a});var f=e(165);e.d(n,"extent",function(){return f.a});var s=e(315);e.d(n,"histogram",function(){return s.a});var l=e(318);e.d(n,"thresholdFreedmanDiaconis",function(){return l.a});var h=e(319);e.d(n,"thresholdScott",function(){return h.a});var p=e(169);e.d(n,"thresholdSturges",function(){return p.a});var v=e(320);e.d(n,"max",function(){return v.a});var d=e(321);e.d(n,"mean",function(){return d.a});var b=e(322);e.d(n,"median",function(){return b.a});var g=e(323);e.d(n,"merge",function(){return g.a});var y=e(170);e.d(n,"min",function(){return y.a});var j=e(162);e.d(n,"pairs",function(){return j.a});var O=e(324);e.d(n,"permute",function(){return O.a});var _=e(92);e.d(n,"quantile",function(){return _.a});var m=e(167);e.d(n,"range",function(){return m.a});var x=e(325);e.d(n,"scan",function(){return x.a});var w=e(326);e.d(n,"shuffle",function(){return w.a});var E=e(327);e.d(n,"sum",function(){return E.a});var S=e(168);e.d(n,"ticks",function(){return S.a}),e.d(n,"tickIncrement",function(){return S.b}),e.d(n,"tickStep",function(){return S.c});var M=e(171);e.d(n,"transpose",function(){return M.a});var T=e(164);e.d(n,"variance",function(){return T.a});var k=e(328);e.d(n,"zip",function(){return k.a})},function(t,n,e){var r;try{r=e(263)}catch(t){}r||(r=window._),t.exports=r},function(t,n){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var n=void 0===t?"undefined":e(t);return null!=t&&("object"==n||"function"==n)}},function(t,n,e){var r;try{r=e(685)}catch(t){}r||(r=window.graphlib),t.exports=r},function(t,n,e){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=e(145),i="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,u=o||i||Function("return this")();t.exports=u},function(t,n,e){var r=e(3),o=e(13),i=e(9),u=e(541),c=e(547);t.exports=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=t;e&&e.length&&(a=c(t,e));var f=void 0;o(n)?f=n:r(n)?f=function(t){return"_"+n.map(function(n){return t[n]}).join("-")}:i(n)&&(f=function(t){return"_"+t[n]});return u(a,f)}},function(t,n){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){return null!=t&&"object"==(void 0===t?"undefined":e(t))}},function(t,n,e){"use strict";function r(t){function n(t){return t=j(t[0]*f.r,t[1]*f.r),[t[0]*E+b,g-t[1]*E]}function e(t,n){return t=d(t,n),[t[0]*E+b,g-t[1]*E]}function r(){j=Object(c.a)(y=Object(s.b)(C,P,N),d);var t=d(T,k);return b=S-t[0]*E,g=M+t[1]*E,l()}function l(){return x=w=null,n}var d,b,g,y,j,O,_,m,x,w,E=150,S=480,M=250,T=0,k=0,C=0,P=0,N=0,A=null,R=o.a,B=null,I=a.a,L=.5,z=Object(p.a)(e,L);return n.stream=function(t){return x&&w===t?x:x=v(R(y,z(I(w=t))))},n.clipAngle=function(t){return arguments.length?(R=+t?Object(i.a)(A=t*f.r,6*f.r):(A=null,o.a),l()):A*f.h},n.clipExtent=function(t){return arguments.length?(I=null==t?(B=O=_=m=null,a.a):Object(u.a)(B=+t[0][0],O=+t[0][1],_=+t[1][0],m=+t[1][1]),l()):null==B?null:[[B,O],[_,m]]},n.scale=function(t){return arguments.length?(E=+t,r()):E},n.translate=function(t){return arguments.length?(S=+t[0],M=+t[1],r()):[S,M]},n.center=function(t){return arguments.length?(T=t[0]%360*f.r,k=t[1]%360*f.r,r()):[T*f.h,k*f.h]},n.rotate=function(t){return arguments.length?(C=t[0]%360*f.r,P=t[1]%360*f.r,N=t.length>2?t[2]%360*f.r:0,r()):[C*f.h,P*f.h,N*f.h]},n.precision=function(t){return arguments.length?(z=Object(p.a)(e,L=t*t),l()):Object(f.u)(L)},n.fitExtent=function(t,e){return Object(h.a)(n,t,e)},n.fitSize=function(t,e){return Object(h.b)(n,t,e)},function(){return d=t.apply(this,arguments),n.invert=d.invert&&function(t){return(t=j.invert((t[0]-b)/E,(g-t[1])/E))&&[t[0]*f.h,t[1]*f.h]},r()}}n.a=function(t){return r(function(){return t})()},n.b=r;var o=e(338),i=e(339),u=e(91),c=e(156),a=e(93),f=e(5),s=e(66),l=e(67),h=e(96),p=e(340),v=Object(l.b)({point:function(t,n){this.stream.point(t*f.r,n*f.r)}})},function(t,n,e){"use strict";function r(t){function n(t){return t=j(t[0]*f.r,t[1]*f.r),[t[0]*E+b,g-t[1]*E]}function e(t,n){return t=d(t,n),[t[0]*E+b,g-t[1]*E]}function r(){j=Object(c.a)(y=Object(s.b)(C,P,N),d);var t=d(T,k);return b=S-t[0]*E,g=M+t[1]*E,l()}function l(){return x=w=null,n}var d,b,g,y,j,O,_,m,x,w,E=150,S=480,M=250,T=0,k=0,C=0,P=0,N=0,A=null,R=o.a,B=null,I=a.a,L=.5,z=Object(p.a)(e,L);return n.stream=function(t){return x&&w===t?x:x=v(R(y,z(I(w=t))))},n.clipAngle=function(t){return arguments.length?(R=+t?Object(i.a)(A=t*f.r,6*f.r):(A=null,o.a),l()):A*f.h},n.clipExtent=function(t){return arguments.length?(I=null==t?(B=O=_=m=null,a.a):Object(u.a)(B=+t[0][0],O=+t[0][1],_=+t[1][0],m=+t[1][1]),l()):null==B?null:[[B,O],[_,m]]},n.scale=function(t){return arguments.length?(E=+t,r()):E},n.translate=function(t){return arguments.length?(S=+t[0],M=+t[1],r()):[S,M]},n.center=function(t){return arguments.length?(T=t[0]%360*f.r,k=t[1]%360*f.r,r()):[T*f.h,k*f.h]},n.rotate=function(t){return arguments.length?(C=t[0]%360*f.r,P=t[1]%360*f.r,N=t.length>2?t[2]%360*f.r:0,r()):[C*f.h,P*f.h,N*f.h]},n.precision=function(t){return arguments.length?(z=Object(p.a)(e,L=t*t),l()):Object(f.u)(L)},n.fitExtent=Object(h.a)(n),n.fitSize=Object(h.b)(n),function(){return d=t.apply(this,arguments),n.invert=d.invert&&function(t){return(t=j.invert((t[0]-b)/E,(g-t[1])/E))&&[t[0]*f.h,t[1]*f.h]},r()}}n.a=function(t){return r(function(){return t})()},n.b=r;var o=e(524),i=e(526),u=e(219),c=e(218),a=e(224),f=e(6),s=e(114),l=e(117),h=e(228),p=e(527),v=Object(l.b)({point:function(t,n){this.stream.point(t*f.r,n*f.r)}})},function(t,n,e){var r=e(36),o=e(292),i=e(293),u="[object Null]",c="[object Undefined]",a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?c:u:a&&a in Object(t)?o(t):i(t)}},function(t,n,e){var r=e(13),o=e(87);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";function r(t,n){var e,r=t*Object(u.y)(n),o=30;do{n-=e=(n+Object(u.y)(n)-r)/(1+Object(u.h)(n))}while(Object(u.a)(e)>u.k&&--o>0);return n/2}function o(t,n,e){function o(o,i){return[t*o*Object(u.h)(i=r(e,i)),n*Object(u.y)(i)]}return o.invert=function(r,o){return o=Object(u.e)(o/n),[r/(t*Object(u.h)(o)),Object(u.e)((2*o+Object(u.y)(2*o))/e)]},o}n.c=r,n.b=o,e.d(n,"d",function(){return c});var i=e(0),u=e(1),c=o(u.D/u.o,u.D,u.s);n.a=function(){return Object(i.geoProjection)(c).scale(169.529)}},function(t,n,e){var r=t.exports={};r.linearRegression=e(549),r.linearRegressionLine=e(550),r.standardDeviation=e(231),r.rSquared=e(551),r.mode=e(552),r.modeFast=e(553),r.modeSorted=e(235),r.min=e(236),r.max=e(237),r.minSorted=e(554),r.maxSorted=e(555),r.sum=e(233),r.sumSimple=e(556),r.product=e(557),r.quantile=e(122),r.quantileSorted=e(123),r.interquartileRange=r.iqr=e(559),r.medianAbsoluteDeviation=r.mad=e(560),r.chunk=e(561),r.sampleWithReplacement=e(562),r.shuffle=e(239),r.shuffleInPlace=e(240),r.sample=e(563),r.ckmeans=e(564),r.uniqueCountSorted=e(241),r.sumNthPowerDeviations=e(121),r.equalIntervalBreaks=e(565),r.sampleCovariance=e(242),r.sampleCorrelation=e(566),r.sampleVariance=e(124),r.sampleStandardDeviation=e(243),r.sampleSkewness=e(567),r.sampleKurtosis=e(568),r.permutationsHeap=e(569),r.combinations=e(570),r.combinationsReplacement=e(571),r.addToMean=e(572),r.combineMeans=e(244),r.combineVariances=e(573),r.geometricMean=e(574),r.harmonicMean=e(575),r.mean=r.average=e(28),r.median=e(238),r.medianSorted=e(576),r.subtractFromMean=e(577),r.rootMeanSquare=r.rms=e(578),r.variance=e(232),r.tTest=e(579),r.tTestTwoSample=e(580),r.BayesianClassifier=r.bayesian=e(581),r.PerceptronModel=r.perceptron=e(582),r.epsilon=e(78),r.factorial=e(583),r.bernoulliDistribution=e(584),r.binomialDistribution=e(585),r.poissonDistribution=e(586),r.chiSquaredGoodnessOfFit=e(587),r.zScore=e(589),r.cumulativeStdNormalProbability=e(590),r.standardNormalTable=e(245),r.errorFunction=r.erf=e(591),r.inverseErrorFunction=e(246),r.probit=e(592),r.bisect=e(593)},function(t,n,e){var r=e(233);t.exports=function(t){if(0===t.length)throw new Error("mean requires at least one data point");return r(t)/t.length}},function(t,n,e){var r=e(291),o=e(296);t.exports=function(t,n){var e=o(t,n);return r(e)?e:void 0}},function(t,n,e){"use strict";function r(t,n){t&&c.hasOwnProperty(t.type)&&c[t.type](t,n)}function o(t,n,e){var r,o=-1,i=t.length-e;for(n.lineStart();++oi[u][2][0];++u);var a=t(e-i[u][1][0],r);return a[0]+=t(i[u][1][0],o*r>o*i[u][0][1]?i[u][0][1]:r)[0],a}var a=function(t){var n,e,r,u,a,f,s,l=[],h=t[0].length;for(s=0;s=0;--s)e=(n=t[1][s])[0][0],r=n[0][1],u=n[1][1],a=n[2][0],f=n[2][1],l.push(o([[a-c.k,f-c.k],[a-c.k,u+c.k],[e+c.k,u+c.k],[e+c.k,r-c.k]],30));return{type:"Polygon",coordinates:[Object(i.merge)(l)]}}(n),f=(n=n.map(function(t){return t.map(function(t){return[[t[0][0]*c.v,t[0][1]*c.v],[t[1][0]*c.v,t[1][1]*c.v],[t[2][0]*c.v,t[2][1]*c.v]]})})).map(function(n){return n.map(function(n){var e,r=t(n[0][0],n[0][1])[0],o=t(n[2][0],n[2][1])[0],i=t(n[1][0],n[0][1])[1],u=t(n[1][0],n[1][1])[1];return i>u&&(e=i,i=u,u=e),[[r,i],[o,u]]})});t.invert&&(e.invert=function(o,i){for(var u=f[+(i<0)],c=n[+(i<0)],a=0,s=u.length;an?1:t>=n?0:NaN}},function(t,n,e){"use strict";var r=e(0),o=e(1);n.a=function(t){var n=0,e=Object(r.geoProjectionMutator)(t),i=e(n);return i.parallel=function(t){return arguments.length?e(n=t*o.v):n*o.j},i}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(609);e.d(n,"cluster",function(){return r.a});var o=e(127);e.d(n,"hierarchy",function(){return o.c});var i=e(621);e.d(n,"pack",function(){return i.a});var u=e(251);e.d(n,"packSiblings",function(){return u.a});var c=e(252);e.d(n,"packEnclose",function(){return c.a});var a=e(623);e.d(n,"partition",function(){return a.a});var f=e(624);e.d(n,"stratify",function(){return f.a});var s=e(625);e.d(n,"tree",function(){return s.a});var l=e(626);e.d(n,"treemap",function(){return l.a});var h=e(627);e.d(n,"treemapBinary",function(){return h.a});var p=e(57);e.d(n,"treemapDice",function(){return p.a});var v=e(79);e.d(n,"treemapSlice",function(){return v.a});var d=e(628);e.d(n,"treemapSliceDice",function(){return d.a});var b=e(129);e.d(n,"treemapSquarify",function(){return b.a});var g=e(629);e.d(n,"treemapResquarify",function(){return g.a})},function(t,n,e){var r=e(62),o=e(85);t.exports=function(t,n,e,i){var u=!e;e||(e={});for(var c=-1,a=n.length;++c-1&&u._reExecute():u._reExecute()})}return i}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype._parseStateExpression=function(t){var n=this.dataSet,e=/^\$state\.(\w+)/.exec(t);return e?n.state[e[1]]:t},n.prototype._preparseOptions=function(t){var n=this,e=i(t);return n.loose?e:(a(e,function(t,r){h(t)&&/^\$state\./.test(t)&&(e[r]=n._parseStateExpression(t))}),e)},n.prototype._prepareSource=function(t,e){var r=this,o=n.DataSet;if(r._source={source:t,options:e},e)e=r._preparseOptions(e),r.origin=o.getConnector(e.type)(t,e,r);else if(t instanceof n||h(t))r.origin=o.getConnector("default")(t,r.dataSet);else if(f(t))r.origin=t;else{if(!l(t)||!t.type)throw new TypeError("Invalid source");e=r._preparseOptions(t),r.origin=o.getConnector(e.type)(e,r)}return r.rows=u(r.origin),r},n.prototype.source=function(t,n){return this._prepareSource(t,n),this._reExecuteTransforms(),this.trigger("change"),this},n.prototype.transform=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.transforms.push(t),this._executeTransform(t),this},n.prototype._executeTransform=function(t){t=this._preparseOptions(t);n.DataSet.getTransform(t.type)(this,t)},n.prototype._reExecuteTransforms=function(){var t=this;t.transforms.forEach(function(n){t._executeTransform(n)})},n.prototype.addRow=function(t){this.rows.push(t)},n.prototype.removeRow=function(t){this.rows.splice(t,1)},n.prototype.updateRow=function(t,n){o(this.rows[t],n)},n.prototype.findRows=function(t){return this.rows.filter(function(n){return s(n,t)})},n.prototype.findRow=function(t){return c(this.rows,t)},n.prototype.getColumnNames=function(){var t=this.rows[0];return t?p(t):[]},n.prototype.getColumnName=function(t){return this.getColumnNames()[t]},n.prototype.getColumnIndex=function(t){return this.getColumnNames().indexOf(t)},n.prototype.getColumn=function(t){return this.rows.map(function(n){return n[t]})},n.prototype.getColumnData=function(t){return this.getColumn(t)},n.prototype.getSubset=function(t,n,e){for(var r=[],o=t;o<=n;o++)r.push(v(this.rows[o],e));return r},n.prototype.toString=function(t){return t?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},n.prototype._reExecute=function(){var t=this._source,n=t.source,e=t.options;this._prepareSource(n,e),this._reExecuteTransforms(),this.trigger("change")},n}(r);t.exports=d},function(t,n,e){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=e(482),i=e(489),u=e(42),c=e(3),a=e(496);t.exports=function(t){return"function"==typeof t?t:null==t?u:"object"==(void 0===t?"undefined":r(t))?c(t)?i(t[0],t[1]):o(t):a(t)}},function(t,n,e){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=e(23),i=e(20),u="[object Symbol]";t.exports=function(t){return"symbol"==(void 0===t?"undefined":r(t))||i(t)&&o(t)==u}},function(t,n){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,o=Math.atan2,i=Math.cos,u=Math.max,c=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,p=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((o=t.length)>1)for(var e,r,o,i=1,u=t[n[0]],c=u.length;i=0;)e[n]=n;return e}},function(t,n,e){"use strict";function r(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function o(t,n){return n[1]-t[1]||n[0]-t[0]}function i(t,n){var e,r,i,d=t.sort(o).pop();for(f=[],c=new Array(t.length),u=new v.b,a=new v.b;;)if(i=h.c,d&&(!i||d[1]=c)return null;var a=t-o.site[0],f=n-o.site[1],s=a*a+f*f;do{o=i.cells[r=u],u=null,o.halfedges.forEach(function(e){var r=i.edges[e],c=r.left;if(c!==o.site&&c||(c=r.right)){var a=t-c[0],f=n-c[1],l=a*a+f*f;l-1&&t%1==0&&tf.o?t-f.w:t<-f.o?t+f.w:t,n]}function o(t,n,e){return(t%=f.w)?n||e?Object(a.a)(u(t),c(n,e)):u(t):n||e?c(n,e):r}function i(t){return function(n,e){return n+=t,[n>f.o?n-f.w:n<-f.o?n+f.w:n,e]}}function u(t){var n=i(t);return n.invert=i(-t),n}function c(t,n){function e(t,n){var e=Object(f.g)(n),c=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*r+c*o;return[Object(f.e)(a*i-l*u,c*r-s*o),Object(f.c)(l*i+a*u)]}var r=Object(f.g)(t),o=Object(f.t)(t),i=Object(f.g)(n),u=Object(f.t)(n);return e.invert=function(t,n){var e=Object(f.g)(n),c=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*i-a*u;return[Object(f.e)(a*i+s*u,c*r+l*o),Object(f.c)(l*r-c*o)]},e}n.b=o;var a=e(156),f=e(5);r.invert=r,n.a=function(t){function n(n){return n=t(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n}return t=o(t[0]*f.r,t[1]*f.r,t.length>2?t[2]*f.r:0),n.invert=function(n){return n=t.invert(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,e){"use strict";function r(t){return function(n){var e=new o;for(var r in t)e[r]=t[r];return e.stream=n,e}}function o(){}n.b=r,n.a=function(t){return{stream:r(t)}},o.prototype={constructor:o,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";var r=e(1);n.a=function(t,n,e,o,i,u,c,a){function f(f,s){if(!s)return[t*f/r.s,0];var l=s*s,h=t+l*(n+l*(e+l*o)),p=s*(i-1+l*(u-a+l*c)),v=(h*h+p*p)/(2*p),d=f*Object(r.e)(h/v)/r.s;return[v*Object(r.y)(d),s*(1+l*a)+v*(1-Object(r.h)(d))]}return arguments.length<8&&(a=0),f.invert=function(f,s){var l,h,p=r.s*f/t,v=s,d=50;do{var b=v*v,g=t+b*(n+b*(e+b*o)),y=v*(i-1+b*(u-a+b*c)),j=g*g+y*y,O=2*y,_=j/O,m=_*_,x=Object(r.e)(g/_)/r.s,w=p*x,E=g*g,S=(2*n+b*(4*e+6*b*o))*v,M=i+b*(3*u+5*b*c),T=(2*(g*S+y*(M-1))*O-j*(2*(M-1)))/(O*O),k=Object(r.h)(w),C=Object(r.y)(w),P=_*k,N=_*C,A=p/r.s*(1/Object(r.B)(1-E/m))*(S*_-g*T)/m,R=N-f,B=v*(1+b*a)+_-P-s,I=T*C+P*A,L=P*x,z=1+T-(T*k-N*A),q=N*x,F=I*q-z*L;if(!F)break;p-=l=(B*I-R*z)/F,v-=h=(R*q-B*L)/F}while((Object(r.a)(l)>r.k||Object(r.a)(h)>r.k)&&--d>0);return[p,v]},f}},function(t,n,e){"use strict";function r(t,n,e){var o,i,a=n.edges,f=a.length,s={type:"MultiPoint",coordinates:n.face},l=n.face.filter(function(t){return 90!==Object(c.a)(t[1])}),h=Object(u.geoBounds)({type:"MultiPoint",coordinates:l}),p=!1,v=-1,d=h[1][0]-h[0][0],b=180===d||360===d?[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]:Object(u.geoCentroid)(s);if(e)for(;++v=0;)if(r=n[c],e[0]===r[0]&&e[1]===r[1]){if(i)return[i,e];i=e}}}(t.face,n.face),r=Object(a.a)(e.map(n.project),e.map(t.project));t.transform=n.transform?Object(a.c)(n.transform,r):r;for(var i=n.edges,u=0,c=i.length;u0&&e(s)?n>1?r(s,n-1,e,u,c):o(c,s):u||(c[c.length]=s)}return c}var o=e(107),i=e(510);t.exports=r},function(t,n){t.exports=1e-4},function(t,n,e){"use strict";n.a=function(t,n,e,r,o){for(var i,u=t.children,c=-1,a=u.length,f=t.value&&(o-e)/t.value;++c-1&&t%1==0&&t<=e}},function(t,n,e){var r=e(303),o=e(20),i=Object.prototype,u=i.hasOwnProperty,c=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,n,e){(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=e(18),i=e(304),u="object"==r(n)&&n&&!n.nodeType&&n,c=u&&"object"==r(t)&&t&&!t.nodeType&&t,a=c&&c.exports===u?o.Buffer:void 0,f=(a?a.isBuffer:void 0)||i;t.exports=f}).call(n,e(43)(t))},function(t,n){t.exports=function(t){return function(n){return t(n)}}},function(t,n,e){"use strict";function r(t,n,e,r){function l(o,i){return t<=o&&o<=e&&n<=i&&i<=r}function h(o,i,u,c){var a=0,f=0;if(null==o||(a=p(o,u))!==(f=p(i,u))||d(o,i)<0^u>0)do{c.point(0===a||3===a?t:e,a>1?r:n)}while((a=(a+u+4)%4)!==f);else c.point(i[0],i[1])}function p(r,i){return Object(o.a)(r[0]-t)0?0:3:Object(o.a)(r[0]-e)0?2:1:Object(o.a)(r[1]-n)0?1:0:i>0?3:2}function v(t,n){return d(t.x,n.x)}function d(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(o){function p(t,n){l(t,n)&&M.point(t,n)}function d(o,i){var c=l(o,i);if(g&&y.push([o,i]),E)j=o,O=i,_=c,E=!1,c&&(M.lineStart(),M.point(o,i));else if(c&&w)M.point(o,i);else{var a=[m=Math.max(s,Math.min(f,m)),x=Math.max(s,Math.min(f,x))],h=[o=Math.max(s,Math.min(f,o)),i=Math.max(s,Math.min(f,i))];Object(u.a)(a,h,t,n,e,r)?(w||(M.lineStart(),M.point(a[0],a[1])),M.point(h[0],h[1]),c||M.lineEnd(),S=!1):c&&(M.lineStart(),M.point(o,i),S=!1)}m=o,x=i,w=c}var b,g,y,j,O,_,m,x,w,E,S,M=o,T=Object(i.a)(),k={point:p,lineStart:function(){k.point=d,g&&g.push(y=[]),E=!0,w=!1,m=x=NaN},lineEnd:function(){b&&(d(j,O),_&&w&&T.rejoin(),b.push(T.result())),k.point=p,w&&M.lineEnd()},polygonStart:function(){M=T,b=[],g=[],S=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,o=g.length;er&&(l-i)*(r-u)>(h-u)*(t-i)&&++n:h<=r&&(l-i)*(r-u)<(h-u)*(t-i)&&--n;return n}(),e=S&&n,i=(b=Object(a.merge)(b)).length;(e||i)&&(o.polygonStart(),e&&(o.lineStart(),h(null,null,1,o),o.lineEnd()),i&&Object(c.a)(b,v,n,h,o),o.polygonEnd()),M=o,b=g=y=null}};return k}}n.a=r;var o=e(5),i=e(157),u=e(312),c=e(158),a=e(14),f=1e9,s=-f;n.b=function(){var t,n,e,o=0,i=0,u=960,c=500;return e={stream:function(e){return t&&n===e?t:t=r(o,i,u,c)(n=e)},extent:function(r){return arguments.length?(o=+r[0][0],i=+r[0][1],u=+r[1][0],c=+r[1][1],t=n=null,e):[[o,i],[u,c]]}}}},function(t,n,e){"use strict";var r=e(45);n.a=function(t,n,e){if(null==e&&(e=r.a),o=t.length){if((n=+n)<=0||o<2)return+e(t[0],0,t);if(n>=1)return+e(t[o-1],o-1,t);var o,i=(o-1)*n,u=Math.floor(i),c=+e(t[u],u,t);return c+(+e(t[u+1],u+1,t)-c)*(i-u)}}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=Object(o.u)(c-2*i*Object(o.t)(n))/i;return[e*Object(o.t)(t*=i),a-e*Object(o.g)(t)]}var r=Object(o.t)(t),i=(r+Object(o.t)(n))/2;if(Object(o.a)(i)0?t*Object(i.B)(i.s/e)/2:0,Object(i.e)(1-e)]},n.b=function(){return Object(o.geoProjection)(r).scale(95.6464).center([0,30])}},function(t,n,e){"use strict";function r(t,n){return n>-c?(t=Object(i.d)(t,n),t[1]+=a,t):Object(u.b)(t,n)}e.d(n,"b",function(){return c}),e.d(n,"d",function(){return a}),n.c=r;var o=e(0),i=e(26),u=e(47),c=.7109889596207567,a=.0528035274542;r.invert=function(t,n){return n>-c?i.d.invert(t,n-a):u.b.invert(t,n)},n.a=function(){return Object(o.geoProjection)(r).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}},function(t,n,e){"use strict";var r=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]];n.a=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(t){return t.map(function(t){return r[t]})})},function(t,n,e){"use strict";var r=e(0),o=e(1);n.a=function(t){function n(n,r){var i=Object(o.a)(n)0?n-o.s:n+o.s,r),c=(u[0]-u[1])*o.C,a=(u[0]+u[1])*o.C;if(i)return[c,a];var f=e*o.C,s=c>0^a>0?-1:1;return[s*c-Object(o.x)(a)*f,s*a-Object(o.x)(c)*f]}var e=t(o.o,0)[0]-t(-o.o,0)[0];return t.invert&&(n.invert=function(n,r){var i=(n+r)*o.C,u=(r-n)*o.C,c=Object(o.a)(i)<.5*e&&Object(o.a)(u)<.5*e;if(!c){var a=e*o.C,f=i>0^u>0?-1:1,s=-f*n+(u>0?1:-1)*a,l=-f*r+(i>0?1:-1)*a;i=(-s-l)*o.C,u=(s-l)*o.C}var h=t.invert(i,u);return c||(h[0]+=i>0?o.s:-o.s),h}),Object(r.geoProjection)(n).rotate([-90,-90,45]).clipAngle(179.999)}},function(t,n,e){function r(t){var n=this.__data__=new o(t);this.size=n.size}var o=e(70),i=e(438),u=e(439),c=e(440),a=e(441),f=e(442);r.prototype.clear=i,r.prototype.delete=u,r.prototype.get=c,r.prototype.has=a,r.prototype.set=f,t.exports=r},function(t,n,e){var r=e(29)(e(18),"Map");t.exports=r},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++nf.o?t-f.w:t<-f.o?t+f.w:t,n]}function o(t,n,e){return(t%=f.w)?n||e?Object(a.a)(u(t),c(n,e)):u(t):n||e?c(n,e):r}function i(t){return function(n,e){return n+=t,[n>f.o?n-f.w:n<-f.o?n+f.w:n,e]}}function u(t){var n=i(t);return n.invert=i(-t),n}function c(t,n){function e(t,n){var e=Object(f.g)(n),c=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*r+c*o;return[Object(f.e)(a*i-l*u,c*r-s*o),Object(f.c)(l*i+a*u)]}var r=Object(f.g)(t),o=Object(f.t)(t),i=Object(f.g)(n),u=Object(f.t)(n);return e.invert=function(t,n){var e=Object(f.g)(n),c=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*i-a*u;return[Object(f.e)(a*i+s*u,c*r+l*o),Object(f.c)(l*r-c*o)]},e}n.b=o;var a=e(218),f=e(6);r.invert=r,n.a=function(t){function n(n){return n=t(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n}return t=o(t[0]*f.r,t[1]*f.r,t.length>2?t[2]*f.r:0),n.invert=function(n){return n=t.invert(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=Object(o.u)(u-2*i*Object(o.t)(n))/i;return[e*Object(o.t)(t*=i),c-e*Object(o.g)(t)]}var r=Object(o.t)(t),i=(r+Object(o.t)(n))/2,u=1+r*(2*i-r),c=Object(o.u)(u)/i;return e.invert=function(t,n){var e=c-n;return[Object(o.e)(t,e)/i,Object(o.c)((u-(t*t+e*e)*i*i)/(2*i))]},e}n.a=r;var o=e(6),i=e(116);n.b=function(){return Object(i.a)(r).scale(155.424).center([0,33.6442])}},function(t,n,e){"use strict";n.a=function(t){var n=0,e=r.o/3,i=Object(o.b)(t),u=i(n,e);return u.parallels=function(t){return arguments.length?i(n=t[0]*r.r,e=t[1]*r.r):[n*r.h,e*r.h]},u};var r=e(6),o=e(22)},function(t,n,e){"use strict";function r(t){function n(){}var e=n.prototype=Object.create(o.prototype);for(var r in t)e[r]=t[r];return function(t){var e=new n;return e.stream=t,e}}function o(){}n.b=r,n.a=function(t){return{stream:r(t)}},o.prototype={point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";function r(t,n){return[t,Object(u.n)(Object(u.v)((u.l+n)/2))]}function o(t){var n,e=Object(i.a)(t),r=e.scale,o=e.translate,c=e.clipExtent;return e.scale=function(t){return arguments.length?(r(t),n&&e.clipExtent(null),e):r()},e.translate=function(t){return arguments.length?(o(t),n&&e.clipExtent(null),e):o()},e.clipExtent=function(t){if(!arguments.length)return n?null:c();if(n=null==t){var i=u.o*r(),a=o();t=[[a[0]-i,a[1]-i],[a[0]+i,a[1]+i]]}return c(t),e},e.clipExtent(null)}n.c=r,n.b=o;var i=e(22),u=e(6);r.invert=function(t,n){return[t,2*Object(u.d)(Object(u.k)(n))-u.l]},n.a=function(){return o(r).scale(961/u.w)}},function(t,n,e){var r=e(540),o=e(11);t.exports=function(t){return null==t?[]:r(t,o(t))}},function(t,n,e){var r=e(545),o=e(546)(r);t.exports=o},function(t,n,e){var r=e(28);t.exports=function(t,n){var e,o,i=r(t),u=0;if(2===n)for(o=0;o1)throw new Error("quantiles must be between 0 and 1");return 1===n?t[t.length-1]:0===n?t[0]:e%1!=0?t[Math.ceil(e)-1]:t.length%2==0?(t[e-1]+t[e])/2:t[e]}},function(t,n,e){var r=e(121);t.exports=function(t){if(t.length<2)throw new Error("sampleVariance requires at least two data points");return r(t,2)/(t.length-1)}},function(t,n){t.exports={HIERARCHY:"hierarchy",GEO:"geo",HEX:"hex",GRAPH:"graph",TABLE:"table",GEO_GRATICULE:"geo-graticule",STATISTICS_METHODS:["max","mean","median","min","mode","product","standardDeviation","sum","sumSimple","variance"]}},function(t,n,e){"use strict";function r(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}var o={},i={},u=34,c=10,a=13;n.a=function(t){function n(t,n){function e(){if(v)return i;if(d)return d=!1,o;var n,e,r=h;if(t.charCodeAt(r)===u){for(;h++=s?v=!0:(e=t.charCodeAt(h++))===c?d=!0:e===a&&(d=!0,t.charCodeAt(h)===c&&++h),t.slice(r+1,n-1).replace(/""/g,'"')}for(;h=0;--a)h.push(r=e.children[a]=new c(i[a])),r.parent=e,r.depth=e.depth+1;return s.eachBefore(u)}function o(t){return t.children}function i(t){t.data=t.data.data}function u(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}n.c=r,n.b=u,n.a=c;var a=e(610),f=e(611),s=e(612),l=e(613),h=e(614),p=e(615),v=e(616),d=e(617),b=e(618),g=e(619),y=e(620);c.prototype=r.prototype={constructor:c,count:a.a,each:f.a,eachAfter:l.a,eachBefore:s.a,sum:h.a,sort:p.a,path:v.a,ancestors:d.a,descendants:b.a,leaves:g.a,links:y.a,copy:function(){return r(this).eachBefore(i)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";function r(t,n,e,r,u,c){for(var a,f,s,l,h,p,v,d,b,g,y,j=[],O=n.children,_=0,m=0,x=O.length,w=n.value;_v&&(v=f),y=h*h*g,(d=Math.max(v/y,y/p))>b){h-=f;break}b=d}j.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(256);n.a=function(t){if(null==t)return r.a;var n,e,o=t.scale[0],i=t.scale[1],u=t.translate[0],c=t.translate[1];return function(t,r){r||(n=e=0);var a=2,f=t.length,s=new Array(f);for(s[0]=(n+=t[0])*o+u,s[1]=(e+=t[1])*i+c;a1&&void 0!==arguments[1]?arguments[1]:1,e=t[0],r=t[1],o=[],i=e;ii){var u=o;o=i,i=u}return o+h+i+h+(f.isUndefined(r)?s:r)}function c(t,n){return u(t,n.v,n.w,n.name)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=e(15);t.exports=r;var s="\0",l="\0",h="";r.prototype._nodeCount=0,r.prototype._edgeCount=0,r.prototype.isDirected=function(){return this._isDirected},r.prototype.isMultigraph=function(){return this._isMultigraph},r.prototype.isCompound=function(){return this._isCompound},r.prototype.setGraph=function(t){return this._label=t,this},r.prototype.graph=function(){return this._label},r.prototype.setDefaultNodeLabel=function(t){return f.isFunction(t)||(t=f.constant(t)),this._defaultNodeLabelFn=t,this},r.prototype.nodeCount=function(){return this._nodeCount},r.prototype.nodes=function(){return f.keys(this._nodes)},r.prototype.sources=function(){var t=this;return f.filter(this.nodes(),function(n){return f.isEmpty(t._in[n])})},r.prototype.sinks=function(){var t=this;return f.filter(this.nodes(),function(n){return f.isEmpty(t._out[n])})},r.prototype.setNodes=function(t,n){var e=arguments,r=this;return f.each(t,function(t){e.length>1?r.setNode(t,n):r.setNode(t)}),this},r.prototype.setNode=function(t,n){return f.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=n),this):(this._nodes[t]=arguments.length>1?n:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=l,this._children[t]={},this._children[l][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},r.prototype.node=function(t){return this._nodes[t]},r.prototype.hasNode=function(t){return f.has(this._nodes,t)},r.prototype.removeNode=function(t){var n=this;if(f.has(this._nodes,t)){var e=function(t){n.removeEdge(n._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],f.each(this.children(t),function(t){n.setParent(t)}),delete this._children[t]),f.each(f.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],f.each(f.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},r.prototype.setParent=function(t,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f.isUndefined(n))n=l;else{for(var e=n+="";!f.isUndefined(e);e=this.parent(e))if(e===t)throw new Error("Setting "+n+" as parent of "+t+" would create a cycle");this.setNode(n)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=n,this._children[n][t]=!0,this},r.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},r.prototype.parent=function(t){if(this._isCompound){var n=this._parent[t];if(n!==l)return n}},r.prototype.children=function(t){if(f.isUndefined(t)&&(t=l),this._isCompound){var n=this._children[t];if(n)return f.keys(n)}else{if(t===l)return this.nodes();if(this.hasNode(t))return[]}},r.prototype.predecessors=function(t){var n=this._preds[t];if(n)return f.keys(n)},r.prototype.successors=function(t){var n=this._sucs[t];if(n)return f.keys(n)},r.prototype.neighbors=function(t){var n=this.predecessors(t);if(n)return f.union(n,this.successors(t))},r.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},r.prototype.filterNodes=function(t){function n(t){var i=r.parent(t);return void 0===i||e.hasNode(i)?(o[t]=i,i):i in o?o[i]:n(i)}var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;f.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),f.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var o={};return this._isCompound&&f.each(e.nodes(),function(t){e.setParent(t,n(t))}),e},r.prototype.setDefaultEdgeLabel=function(t){return f.isFunction(t)||(t=f.constant(t)),this._defaultEdgeLabelFn=t,this},r.prototype.edgeCount=function(){return this._edgeCount},r.prototype.edges=function(){return f.values(this._edgeObjs)},r.prototype.setPath=function(t,n){var e=this,r=arguments;return f.reduce(t,function(t,o){return r.length>1?e.setEdge(t,o,n):e.setEdge(t,o),o}),this},r.prototype.setEdge=function(){var t,n,e,r,i=!1,c=arguments[0];"object"===(void 0===c?"undefined":a(c))&&null!==c&&"v"in c?(t=c.v,n=c.w,e=c.name,2===arguments.length&&(r=arguments[1],i=!0)):(t=c,n=arguments[1],e=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),t=""+t,n=""+n,f.isUndefined(e)||(e=""+e);var s=u(this._isDirected,t,n,e);if(f.has(this._edgeLabels,s))return i&&(this._edgeLabels[s]=r),this;if(!f.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(n),this._edgeLabels[s]=i?r:this._defaultEdgeLabelFn(t,n,e);var l=function(t,n,e,r){var o=""+n,i=""+e;if(!t&&o>i){var u=o;o=i,i=u}var c={v:o,w:i};return r&&(c.name=r),c}(this._isDirected,t,n,e);return t=l.v,n=l.w,Object.freeze(l),this._edgeObjs[s]=l,o(this._preds[n],t),o(this._sucs[t],n),this._in[n][s]=l,this._out[t][s]=l,this._edgeCount++,this},r.prototype.edge=function(t,n,e){var r=1===arguments.length?c(this._isDirected,arguments[0]):u(this._isDirected,t,n,e);return this._edgeLabels[r]},r.prototype.hasEdge=function(t,n,e){var r=1===arguments.length?c(this._isDirected,arguments[0]):u(this._isDirected,t,n,e);return f.has(this._edgeLabels,r)},r.prototype.removeEdge=function(t,n,e){var r=1===arguments.length?c(this._isDirected,arguments[0]):u(this._isDirected,t,n,e),o=this._edgeObjs[r];return o&&(t=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],i(this._preds[n],t),i(this._sucs[t],n),delete this._in[n][r],delete this._out[t][r],this._edgeCount--),this},r.prototype.inEdges=function(t,n){var e=this._in[t];if(e){var r=f.values(e);return n?f.filter(r,function(t){return t.v===n}):r}},r.prototype.outEdges=function(t,n){var e=this._out[t];if(e){var r=f.values(e);return n?f.filter(r,function(t){return t.w===n}):r}},r.prototype.nodeEdges=function(t,n){var e=this.inEdges(t,n);if(e)return e.concat(this.outEdges(t,n))}},function(t,n,e){"use strict";function r(){}function o(t,n){var e=new r;if(t instanceof r)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var o,i=-1,u=t.length;if(null==n)for(;++ii.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,o=(o*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>i.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);u=(u*s+t._x1*t._l23_2a-n*t._l12_2a)/l,c=(c*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,o,u,c,t._x2,t._y2)}function o(t,n){this._context=t,this._alpha=n}e.d(n,"a",function(){return r});var i=e(58),u=e(84);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(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,o=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new o(t,n):new u.a(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";function r(t){for(var n,e=0,r=-1,o=t.length;++r0)){if(i/=h,h<0){if(i0){if(i>l)return;i>s&&(s=i)}if(i=r-a,h||!(i<0)){if(i/=h,h<0){if(i>l)return;i>s&&(s=i)}else if(h>0){if(i0)){if(i/=p,p<0){if(i0){if(i>l)return;i>s&&(s=i)}if(i=o-f,p||!(i<0)){if(i/=p,p<0){if(i>l)return;i>s&&(s=i)}else if(p>0){if(i0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*p]),l<1&&(t[1]=[a+l*h,f+l*p]),!0)}}}}}function i(t,n,e,r,o){var i=t[1];if(i)return!0;var u,c,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],p=s[0],v=s[1],d=(l+p)/2,b=(h+v)/2;if(v===h){if(d=r)return;if(l>p){if(a){if(a[1]>=o)return}else a=[d,e];i=[d,o]}else{if(a){if(a[1]1)if(l>p){if(a){if(a[1]>=o)return}else a=[(e-c)/u,e];i=[(o-c)/u,o]}else{if(a){if(a[1]=r)return}else a=[n,u*n+c];i=[r,u*r+c]}else{if(a){if(a[0]u.f||Math.abs(c[0][1]-c[1][1])>u.f)||delete u.e[a]};var u=e(61)},function(t,n,e){(function(t){var e,r,o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(u,c){"object"===i(n)&&"object"===i(t)?t.exports=c():(r=[],void 0!==(o="function"==typeof(e=c)?e.apply(n,r):e)&&(t.exports=o))}("undefined"!=typeof self&&self,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=4)}([function(t,n,e){var r=e(1),o=function(){function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);this.options=e,this.rootNode=new r(n,e)}return t.prototype.execute=function(){throw new Error("please override this method")},t}();t.exports=o},function(t,n){var e={getId:function(t){return t.id||t.name},getHGap:function(t){return t.hgap||18},getVGap:function(t){return t.vgap||18},getChildren:function(t){return t.children},getHeight:function(t){return t.height||36},getWidth:function(t){var n=t.name||" ";return t.width||18*n.split("").length}},r=function(){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2];!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);var i=this;if(i.vgap=i.hgap=0,n instanceof t)return n;i.data=n;var u=(r.getHGap||e.getHGap)(n),c=(r.getVGap||e.getVGap)(n);if(i.width=(r.getWidth||e.getWidth)(n),i.height=(r.getHeight||e.getHeight)(n),i.id=(r.getId||e.getId)(n),i.x=i.y=0,i.depth=0,!o&&!n.isCollapsed)for(var a=[i],f=a.pop();f;){if(!f.data.isCollapsed){var s=(r.getChildren||e.getChildren)(f.data),l=s?s.length:0;if(f.children=[],s&&l)for(var h=0;h0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.eachNode(function(e){e.x+=t,e.y+=n})},t.prototype.right2left=function(){var t=this.getBoundingBox();this.eachNode(function(n){n.x=n.x-2*(n.x-t.left)-n.width}),this.translate(t.width,0)},t.prototype.bottom2top=function(){var t=this.getBoundingBox();this.eachNode(function(n){n.y=n.y-2*(n.y-t.top)-n.height}),this.translate(0,t.height)},t.prototype.getCenterX=function(){return this.x+this.width/2},t.prototype.getCenterY=function(){return this.y+this.height/2},t.prototype.getActualWidth=function(){return this.width-2*this.hgap},t.prototype.getActualHeight=function(){return this.height-2*this.vgap},t}();r.prototype.each=r.prototype.eachNode,t.exports=r},function(t,n,e){var r=e(3),o=["LR","RL","TB","BT","H","V"],i=["LR","RL","H"],u=o[0];t.exports=function(t,n,e){var c=n.direction||u;if(n.isHorizontal=function(t){return i.indexOf(t)>-1}(c),c&&-1===o.indexOf(c))throw new TypeError("Invalid direction: "+c);if(c===o[0])e(t,n);else if(c===o[1])e(t,n),t.right2left();else if(c===o[2])e(t,n);else if(c===o[3])e(t,n),t.bottom2top();else if(c===o[4]||c===o[5]){var a=r(t,n),f=a.left,s=a.right;e(f,n),e(s,n),n.isHorizontal?f.right2left():f.bottom2top(),s.translate(f.x-s.x,f.y-s.y),t.x=f.x,t.y=s.y;var l=t.getBoundingBox();n.isHorizontal?l.top<0&&t.translate(0,-l.top):l.left<0&&t.translate(-l.left,0)}return t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,n,e){var r=e(1);t.exports=function(t,n){for(var e=new r(t.data,n,!0),o=new r(t.data,n,!0),i=t.children.length,u=Math.round(i/2),c=n.getSide||function(t,n){return n2&&void 0!==arguments[2]?arguments[2]:0;n?(t.x=e,e+=t.width):(t.y=e,e+=t.height),t.children.forEach(function(t){i(t,n,e)})}var u=function t(n,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);var i=this;i.w=n||0,i.h=e||0,i.y=r||0,i.x=0,i.c=o||[],i.cs=o.length,i.prelim=0,i.mod=0,i.shift=0,i.change=0,i.tl=null,i.tr=null,i.el=null,i.er=null,i.msel=0,i.mser=0};u.fromNode=function(t,n){if(!t)return null;var e=[];return t.children.forEach(function(t){e.push(u.fromNode(t,n))}),n?new u(t.height,t.width,t.x,e):new u(t.width,t.height,t.y,e)},t.exports=function(t){function n(t){if(0!==t.cs){n(t.c[0]);for(var e=s(a(t.c[0].el),0,null),r=1;re.low&&(e=e.nxt);var c=o+r.prelim+r.w-(u+i.prelim);c>0&&(u+=c,function(t,n,e,r){t.c[n].mod+=r,t.c[n].msel+=r,t.c[n].mser+=r,function(t,n,e,r){if(e!==n-1){var o=n-e;t.c[e+1].shift+=r/o,t.c[n].shift-=r/o,t.c[n].change-=r-r/o}}(t,n,e,r)}(t,n,e.index,c));var f=a(r),s=a(i);f<=s&&null!==(r=function(t){return 0===t.cs?t.tr:t.c[t.cs-1]}(r))&&(o+=r.mod),f>=s&&null!==(i=function(t){return 0===t.cs?t.tl:t.c[0]}(i))&&(u+=i.mod)}!r&&i?function(t,n,e,r){var o=t.c[0].el;o.tl=e;var i=r-e.mod-t.c[0].msel;o.mod+=i,o.prelim-=i,t.c[0].el=t.c[n].el,t.c[0].msel=t.c[n].msel}(t,n,i,u):r&&!i&&function(t,n,e,r){var o=t.c[n].er;o.tr=e;var i=r-e.mod-t.c[n].mser;o.mod+=i,o.prelim-=i,t.c[n].er=t.c[n-1].er,t.c[n].mser=t.c[n-1].mser}(t,n,r,o)}(t,r,e),e=s(o,r,e)}!function(t){t.prelim=(t.c[0].prelim+t.c[0].mod+t.c[t.cs-1].mod+t.c[t.cs-1].prelim+t.c[t.cs-1].w)/2-t.w/2}(t),c(t)}else c(t)}function c(t){0===t.cs?(t.el=t,t.er=t,t.msel=t.mser=0):(t.el=t.c[0].el,t.msel=t.c[0].msel,t.er=t.c[t.cs-1].er,t.mser=t.c[t.cs-1].mser)}function a(t){return t.y+t.h}function f(t,n){n+=t.mod,t.x=t.prelim+n,function(t){for(var n=0,e=0,r=0;r=e.low;)e=e.nxt;return{low:t,index:n,nxt:e}}var l=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isHorizontal;i(t,l);var h=u.fromNode(t,l);return n(h),f(h,0),o(h,t,l),function(t,n){e(t,-r(t,n),n)}(t,l),t}},function(t,n,e){var r=e(0),o=e(8),u=e(2),c=function(t){function n(){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":i(n))&&"function"!=typeof n?t:n}(this,t.apply(this,arguments))}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":i(n)));t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype.execute=function(){return this.rootNode.width=0,u(this.rootNode,this.options,o)},n}(r),a={};t.exports=function(t,n){return n=Object.assign({},a,n),new c(t,n).execute()}},function(t,n){function e(t,n,r){r?(n.x=t.x,n.y=t.y):(n.x=t.y,n.y=t.x),t.children.forEach(function(t,o){e(t,n.children[o],r)})}var r=function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);var r=this;r.x=r.y=0,r.leftChild=r.rightChild=null,r.height=n||0,r.children=e},o={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};t.exports=function(t){function n(t){if(!t)return null;t.width=0,t.depth&&t.depth>a&&(a=t.depth);var e=t.children,o=e.length,i=new r(t.height,[]);return e.forEach(function(t,e){var r=n(t);i.children.push(r),0===e&&(i.leftChild=r),e===o-1&&(i.rightChild=r)}),i.originNode=t,i.isLeaf=t.isLeaf(),i}function i(t){if(t.isLeaf||0===t.children.length)t.drawingDepth=a;else{var n=t.children.map(function(t){return i(t)}),e=Math.min.apply(null,n);t.drawingDepth=e-1}return t.drawingDepth}function u(t){t.x=t.drawingDepth*c.rankSep,t.isLeaf?(t.y=0,f&&(t.y=f.y+f.height+c.nodeSep,t.originNode.parent!==f.originNode.parent&&(t.y+=c.subTreeSep)),f=t):(t.children.forEach(function(t){u(t)}),t.y=(t.leftChild.y+t.rightChild.y)/2)}var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c=Object.assign({},o,c);var a=0,f=void 0,s=n(t);return i(s),u(s),e(s,t,c.isHorizontal),t}},function(t,n,e){var r=e(0),o=e(10),u=e(3),c=["LR","RL","H"],a=c[0],f=function(t){function n(){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":i(n))&&"function"!=typeof n?t:n}(this,t.apply(this,arguments))}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":i(n)));t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype.execute=function(){var t=this.options,n=this.rootNode;t.isHorizontal=!0;var e=t.indent,r=t.direction||a;if(r&&-1===c.indexOf(r))throw new TypeError("Invalid direction: "+r);if(r===c[0])o(n,e);else if(r===c[1])o(n,e),n.right2left();else if(r===c[2]){var i=u(n,t),f=i.left,s=i.right;o(f,e),f.right2left(),o(s,e);var l=f.getBoundingBox();s.translate(l.width,0),n.x=s.x-n.width/2}return n},n}(r),s={};t.exports=function(t,n){return n=Object.assign({},s,n),new f(t,n).execute()}},function(t,n){t.exports=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,e=null;t.eachNode(function(t){!function(t,n,e){t.x+=e*t.depth,t.y=n?n.y+n.height:0}(t,e,n),e=t})}}])})}).call(n,e(43)(t))},function(t,n,e){var r=e(29),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,e){(function(n){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r="object"==(void 0===n?"undefined":e(n))&&n&&n.Object===Object&&n;t.exports=r}).call(n,e(146))},function(t,n){var e,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(e=window)}t.exports=e},function(t,n){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,n,e){var r=e(298),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,u=-1,c=o(i.length-n,0),a=Array(c);++u=0?1:-1,o=r*e,i=Object(p.g)(n),u=Object(p.t)(n),c=l*u,a=s*i+c*Object(p.g)(o),h=c*r*Object(p.t)(o);b.add(Object(p.e)(h,a)),f=t,s=i,l=u}e.d(n,"a",function(){return b}),e.d(n,"b",function(){return y});var c,a,f,s,l,h=e(37),p=e(5),v=e(25),d=e(30),b=Object(h.a)(),g=Object(h.a)(),y={point:v.a,lineStart:v.a,lineEnd:v.a,polygonStart:function(){b.reset(),y.lineStart=r,y.lineEnd=o},polygonEnd:function(){var t=+b;g.add(t<0?p.w+t:t),this.lineStart=this.lineEnd=this.point=v.a},sphere:function(){g.add(p.w)}};n.c=function(t){return g.reset(),Object(d.a)(t,y),2*g}},function(t,n,e){"use strict";function r(t,n,e,r,u,a){if(e){var f=Object(c.g)(n),s=Object(c.t)(n),l=r*e;null==u?(u=n+r*c.w,a=n-l/2):(u=o(f,u),a=o(f,a),(r>0?ua)&&(u+=r*c.w));for(var h,p=u;r>0?p>a:p1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";function r(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){for(var n,e,r=0,o=t[0];++r=0;--a)c.point((p=h[a])[0],p[1]);else u(d.x,d.p.x,-1,c);d=d.p}h=(d=d.o).z,b=!b}while(!d.v);c.lineEnd()}}}},function(t,n,e){"use strict";var r=e(5);n.a=function(t,n){return Object(r.a)(t[0]-n[0])>>1;t(n[i],e)<0?r=i+1:o=i}return r},right:function(n,e,r,o){for(null==r&&(r=0),null==o&&(o=n.length);r>>1;t(n[i],e)>0?o=i:r=i+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,o=t.length-1,i=t[0],u=new Array(o<0?0:o);e1)return f/(u-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,o,i=t.length,u=-1;if(null==n){for(;++u=e)for(r=o=e;++ue&&(r=e),o=e)for(r=o=e;++ue&&(r=e),o=0?(a>=o?10:a>=i?5:a>=u?2:1)*Math.pow(10,c):-Math.pow(10,-c)/(a>=o?10:a>=i?5:a>=u?2:1)}n.b=r,n.c=function(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),c=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/c;return a>=o?c*=10:a>=i?c*=5:a>=u&&(c*=2),n0)return[t];if((o=n0)for(t=Math.ceil(t/c),n=Math.floor(n/c),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ie&&(r=e)}else for(;++i=e)for(r=e;++ie&&(r=e);return r}},function(t,n,e){"use strict";function r(t){return t.length}var o=e(170);n.a=function(t){if(!(u=t.length))return[];for(var n=-1,e=Object(o.a)(t,r),i=new Array(e);++n=0?1:-1,M=S*E,T=M>i.o,k=g*x;if(u.add(Object(i.e)(k*S*Object(i.t)(M),y*w+k*Object(i.g)(M))),a+=T?E+S*i.w:E,T^d>=e^_>=e){var C=Object(o.c)(Object(o.a)(v),Object(o.a)(O));Object(o.e)(C);var P=Object(o.c)(c,C);Object(o.e)(P);var N=(T^E>=0?-1:1)*Object(i.c)(P[2]);(r>N||r===N&&(C[0]||C[1]))&&(f+=T^E>=0?1:-1)}}return(a<-i.i||au&&(u=t),nc&&(c=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[o,i],[u,c]];return u=c=-(i=o=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(94);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";function r(t){return t.length>1}function o(t,n){return((t=t.x)[0]<0?t[1]-c.l-c.i:c.l-t[1])-((n=n.x)[0]<0?n[1]-c.l-c.i:c.l-n[1])}var i=e(157),u=e(158),c=e(5),a=e(172),f=e(14);n.a=function(t,n,e,c){return function(s,l){function h(n,e){var r=s(n,e);t(n=r[0],e=r[1])&&l.point(n,e)}function p(t,n){var e=s(t,n);m.point(e[0],e[1])}function v(){M.point=p,m.lineStart()}function d(){M.point=h,m.lineEnd()}function b(t,n){_.push([t,n]);var e=s(t,n);E.point(e[0],e[1])}function g(){E.lineStart(),_=[]}function y(){b(_[0][0],_[0][1]),E.lineEnd();var t,n,e,o,i=E.clean(),u=w.result(),c=u.length;if(_.pop(),j.push(_),_=null,c)if(1&i){if(e=u[0],(n=e.length-1)>0){for(S||(l.polygonStart(),S=!0),l.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),O.push(u.filter(r))}var j,O,_,m=n(l),x=s.invert(c[0],c[1]),w=Object(i.a)(),E=n(w),S=!1,M={point:h,lineStart:v,lineEnd:d,polygonStart:function(){M.point=b,M.lineStart=g,M.lineEnd=y,O=[],j=[]},polygonEnd:function(){M.point=h,M.lineStart=v,M.lineEnd=d,O=Object(f.merge)(O);var t=Object(a.a)(j,x);O.length?(S||(l.polygonStart(),S=!0),Object(u.a)(O,o,t,e,l)):t&&(S||(l.polygonStart(),S=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),S&&(l.polygonEnd(),S=!1),O=j=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};return M}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r;var o=e(21);r.invert=r,n.a=function(){return Object(o.a)(r).scale(152.63)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(352);e.d(n,"geoAiry",function(){return r.b}),e.d(n,"geoAiryRaw",function(){return r.a});var o=e(180);e.d(n,"geoAitoff",function(){return o.b}),e.d(n,"geoAitoffRaw",function(){return o.a});var i=e(353);e.d(n,"geoArmadillo",function(){return i.b}),e.d(n,"geoArmadilloRaw",function(){return i.a});var u=e(181);e.d(n,"geoAugust",function(){return u.b}),e.d(n,"geoAugustRaw",function(){return u.a});var c=e(354);e.d(n,"geoBaker",function(){return c.b}),e.d(n,"geoBakerRaw",function(){return c.a});var a=e(355);e.d(n,"geoBerghaus",function(){return a.b}),e.d(n,"geoBerghausRaw",function(){return a.a});var f=e(182);e.d(n,"geoBoggs",function(){return f.b}),e.d(n,"geoBoggsRaw",function(){return f.a});var s=e(356);e.d(n,"geoBonne",function(){return s.b}),e.d(n,"geoBonneRaw",function(){return s.a});var l=e(357);e.d(n,"geoBottomley",function(){return l.b}),e.d(n,"geoBottomleyRaw",function(){return l.a});var h=e(358);e.d(n,"geoBromley",function(){return h.b}),e.d(n,"geoBromleyRaw",function(){return h.a});var p=e(359);e.d(n,"geoChamberlin",function(){return p.c}),e.d(n,"geoChamberlinRaw",function(){return p.b}),e.d(n,"geoChamberlinAfrica",function(){return p.a});var v=e(98);e.d(n,"geoCollignon",function(){return v.b}),e.d(n,"geoCollignonRaw",function(){return v.a});var d=e(360);e.d(n,"geoCraig",function(){return d.b}),e.d(n,"geoCraigRaw",function(){return d.a});var b=e(361);e.d(n,"geoCraster",function(){return b.b}),e.d(n,"geoCrasterRaw",function(){return b.a});var g=e(183);e.d(n,"geoCylindricalEqualArea",function(){return g.b}),e.d(n,"geoCylindricalEqualAreaRaw",function(){return g.a});var y=e(362);e.d(n,"geoCylindricalStereographic",function(){return y.b}),e.d(n,"geoCylindricalStereographicRaw",function(){return y.a});var j=e(363);e.d(n,"geoEckert1",function(){return j.a}),e.d(n,"geoEckert1Raw",function(){return j.b});var O=e(364);e.d(n,"geoEckert2",function(){return O.a}),e.d(n,"geoEckert2Raw",function(){return O.b});var _=e(365);e.d(n,"geoEckert3",function(){return _.a}),e.d(n,"geoEckert3Raw",function(){return _.b});var m=e(366);e.d(n,"geoEckert4",function(){return m.a}),e.d(n,"geoEckert4Raw",function(){return m.b});var x=e(367);e.d(n,"geoEckert5",function(){return x.a}),e.d(n,"geoEckert5Raw",function(){return x.b});var w=e(368);e.d(n,"geoEckert6",function(){return w.a}),e.d(n,"geoEckert6Raw",function(){return w.b});var E=e(369);e.d(n,"geoEisenlohr",function(){return E.a}),e.d(n,"geoEisenlohrRaw",function(){return E.b});var S=e(370);e.d(n,"geoFahey",function(){return S.a}),e.d(n,"geoFaheyRaw",function(){return S.b});var M=e(371);e.d(n,"geoFoucaut",function(){return M.a}),e.d(n,"geoFoucautRaw",function(){return M.b});var T=e(372);e.d(n,"geoGilbert",function(){return T.a});var k=e(373);e.d(n,"geoGingery",function(){return k.a}),e.d(n,"geoGingeryRaw",function(){return k.b});var C=e(374);e.d(n,"geoGinzburg4",function(){return C.a}),e.d(n,"geoGinzburg4Raw",function(){return C.b});var P=e(375);e.d(n,"geoGinzburg5",function(){return P.a}),e.d(n,"geoGinzburg5Raw",function(){return P.b});var N=e(376);e.d(n,"geoGinzburg6",function(){return N.a}),e.d(n,"geoGinzburg6Raw",function(){return N.b});var A=e(377);e.d(n,"geoGinzburg8",function(){return A.a}),e.d(n,"geoGinzburg8Raw",function(){return A.b});var R=e(378);e.d(n,"geoGinzburg9",function(){return R.a}),e.d(n,"geoGinzburg9Raw",function(){return R.b});var B=e(184);e.d(n,"geoGringorten",function(){return B.a}),e.d(n,"geoGringortenRaw",function(){return B.b});var I=e(186);e.d(n,"geoGuyou",function(){return I.a}),e.d(n,"geoGuyouRaw",function(){return I.b});var L=e(380);e.d(n,"geoHammer",function(){return L.a}),e.d(n,"geoHammerRaw",function(){return L.b});var z=e(381);e.d(n,"geoHammerRetroazimuthal",function(){return z.a}),e.d(n,"geoHammerRetroazimuthalRaw",function(){return z.b});var q=e(382);e.d(n,"geoHealpix",function(){return q.a}),e.d(n,"geoHealpixRaw",function(){return q.b});var F=e(383);e.d(n,"geoHill",function(){return F.a}),e.d(n,"geoHillRaw",function(){return F.b});var D=e(187);e.d(n,"geoHomolosine",function(){return D.a}),e.d(n,"geoHomolosineRaw",function(){return D.b});var G=e(31);e.d(n,"geoInterrupt",function(){return G.a});var U=e(384);e.d(n,"geoInterruptedBoggs",function(){return U.a});var H=e(385);e.d(n,"geoInterruptedHomolosine",function(){return H.a});var V=e(386);e.d(n,"geoInterruptedMollweide",function(){return V.a});var W=e(387);e.d(n,"geoInterruptedMollweideHemispheres",function(){return W.a});var $=e(388);e.d(n,"geoInterruptedSinuMollweide",function(){return $.a});var Y=e(389);e.d(n,"geoInterruptedSinusoidal",function(){return Y.a});var J=e(390);e.d(n,"geoKavrayskiy7",function(){return J.a}),e.d(n,"geoKavrayskiy7Raw",function(){return J.b});var X=e(391);e.d(n,"geoLagrange",function(){return X.a}),e.d(n,"geoLagrangeRaw",function(){return X.b});var K=e(392);e.d(n,"geoLarrivee",function(){return K.a}),e.d(n,"geoLarriveeRaw",function(){return K.b});var Z=e(393);e.d(n,"geoLaskowski",function(){return Z.a}),e.d(n,"geoLaskowskiRaw",function(){return Z.b});var Q=e(394);e.d(n,"geoLittrow",function(){return Q.a}),e.d(n,"geoLittrowRaw",function(){return Q.b});var tt=e(395);e.d(n,"geoLoximuthal",function(){return tt.a}),e.d(n,"geoLoximuthalRaw",function(){return tt.b});var nt=e(396);e.d(n,"geoMiller",function(){return nt.a}),e.d(n,"geoMillerRaw",function(){return nt.b});var et=e(397);e.d(n,"geoModifiedStereographic",function(){return et.a}),e.d(n,"geoModifiedStereographicRaw",function(){return et.g}),e.d(n,"geoModifiedStereographicAlaska",function(){return et.b}),e.d(n,"geoModifiedStereographicGs48",function(){return et.c}),e.d(n,"geoModifiedStereographicGs50",function(){return et.d}),e.d(n,"geoModifiedStereographicMiller",function(){return et.f}),e.d(n,"geoModifiedStereographicLee",function(){return et.e});var rt=e(26);e.d(n,"geoMollweide",function(){return rt.a}),e.d(n,"geoMollweideRaw",function(){return rt.d});var ot=e(398);e.d(n,"geoMtFlatPolarParabolic",function(){return ot.a}),e.d(n,"geoMtFlatPolarParabolicRaw",function(){return ot.b});var it=e(399);e.d(n,"geoMtFlatPolarQuartic",function(){return it.a}),e.d(n,"geoMtFlatPolarQuarticRaw",function(){return it.b});var ut=e(400);e.d(n,"geoMtFlatPolarSinusoidal",function(){return ut.a}),e.d(n,"geoMtFlatPolarSinusoidalRaw",function(){return ut.b});var ct=e(401);e.d(n,"geoNaturalEarth",function(){return ct.a}),e.d(n,"geoNaturalEarthRaw",function(){return ct.b});var at=e(402);e.d(n,"geoNaturalEarth2",function(){return at.a}),e.d(n,"geoNaturalEarth2Raw",function(){return at.b});var ft=e(403);e.d(n,"geoNellHammer",function(){return ft.a}),e.d(n,"geoNellHammerRaw",function(){return ft.b});var st=e(404);e.d(n,"geoPatterson",function(){return st.a}),e.d(n,"geoPattersonRaw",function(){return st.b});var lt=e(405);e.d(n,"geoPolyconic",function(){return lt.a}),e.d(n,"geoPolyconicRaw",function(){return lt.b});var ht=e(69);e.d(n,"geoPolyhedral",function(){return ht.a});var pt=e(407);e.d(n,"geoPolyhedralButterfly",function(){return pt.a});var vt=e(408);e.d(n,"geoPolyhedralCollignon",function(){return vt.a});var dt=e(409);e.d(n,"geoPolyhedralWaterman",function(){return dt.a});var bt=e(410);e.d(n,"geoProject",function(){return bt.a});var gt=e(414);e.d(n,"geoGringortenQuincuncial",function(){return gt.a});var yt=e(188);e.d(n,"geoPeirceQuincuncial",function(){return yt.a}),e.d(n,"geoPierceQuincuncial",function(){return yt.a});var jt=e(415);e.d(n,"geoQuantize",function(){return jt.a});var Ot=e(101);e.d(n,"geoQuincuncial",function(){return Ot.a});var _t=e(416);e.d(n,"geoRectangularPolyconic",function(){return _t.a}),e.d(n,"geoRectangularPolyconicRaw",function(){return _t.b});var mt=e(417);e.d(n,"geoRobinson",function(){return mt.a}),e.d(n,"geoRobinsonRaw",function(){return mt.b});var xt=e(418);e.d(n,"geoSatellite",function(){return xt.a}),e.d(n,"geoSatelliteRaw",function(){return xt.b});var wt=e(99);e.d(n,"geoSinuMollweide",function(){return wt.a}),e.d(n,"geoSinuMollweideRaw",function(){return wt.c});var Et=e(47);e.d(n,"geoSinusoidal",function(){return Et.a}),e.d(n,"geoSinusoidalRaw",function(){return Et.b});var St=e(419);e.d(n,"geoStitch",function(){return St.a});var Mt=e(420);e.d(n,"geoTimes",function(){return Mt.a}),e.d(n,"geoTimesRaw",function(){return Mt.b});var Tt=e(421);e.d(n,"geoTwoPointAzimuthal",function(){return Tt.a}),e.d(n,"geoTwoPointAzimuthalRaw",function(){return Tt.b}),e.d(n,"geoTwoPointAzimuthalUsa",function(){return Tt.c});var kt=e(422);e.d(n,"geoTwoPointEquidistant",function(){return kt.a}),e.d(n,"geoTwoPointEquidistantRaw",function(){return kt.b}),e.d(n,"geoTwoPointEquidistantUsa",function(){return kt.c});var Ct=e(423);e.d(n,"geoVanDerGrinten",function(){return Ct.a}),e.d(n,"geoVanDerGrintenRaw",function(){return Ct.b});var Pt=e(424);e.d(n,"geoVanDerGrinten2",function(){return Pt.a}),e.d(n,"geoVanDerGrinten2Raw",function(){return Pt.b});var Nt=e(425);e.d(n,"geoVanDerGrinten3",function(){return Nt.a}),e.d(n,"geoVanDerGrinten3Raw",function(){return Nt.b});var At=e(426);e.d(n,"geoVanDerGrinten4",function(){return At.a}),e.d(n,"geoVanDerGrinten4Raw",function(){return At.b});var Rt=e(427);e.d(n,"geoWagner4",function(){return Rt.a}),e.d(n,"geoWagner4Raw",function(){return Rt.b});var Bt=e(428);e.d(n,"geoWagner6",function(){return Bt.a}),e.d(n,"geoWagner6Raw",function(){return Bt.b});var It=e(429);e.d(n,"geoWagner7",function(){return It.a}),e.d(n,"geoWagner7Raw",function(){return It.b});var Lt=e(430);e.d(n,"geoWiechel",function(){return Lt.a}),e.d(n,"geoWiechelRaw",function(){return Lt.b});var zt=e(431);e.d(n,"geoWinkel3",function(){return zt.a}),e.d(n,"geoWinkel3Raw",function(){return zt.b})},function(t,n,e){"use strict";function r(t,n){var e=Object(i.h)(n),r=Object(i.z)(Object(i.b)(e*Object(i.h)(t/=2)));return[2*e*Object(i.y)(t)*r,Object(i.y)(n)*r]}n.a=r;var o=e(0),i=e(1);r.invert=function(t,n){if(!(t*t+4*n*n>i.s*i.s+i.k)){var e=t,r=n,o=25;do{var u,c=Object(i.y)(e),a=Object(i.y)(e/2),f=Object(i.h)(e/2),s=Object(i.y)(r),l=Object(i.h)(r),h=Object(i.y)(2*r),p=s*s,v=l*l,d=a*a,b=1-v*f*f,g=b?Object(i.b)(l*f)*Object(i.B)(u=1/b):u=0,y=2*g*l*a-t,j=g*s-n,O=u*(v*d+g*l*f*p),_=u*(.5*c*h-2*g*s*a),m=.25*u*(h*a-g*s*v*c),x=u*(p*f+g*d*l),w=_*m-x*O;if(!w)break;var E=(j*_-y*x)/w,S=(y*m-j*O)/w;e-=E,r-=S}while((Object(i.a)(E)>i.k||Object(i.a)(S)>i.k)&&--o>0);return[e,r]}},n.b=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.F)(n/2),r=Object(i.B)(1-e*e),o=1+r*Object(i.h)(t/=2),u=Object(i.y)(t)*r/o,c=e/o,a=u*u,f=c*c;return[4/3*u*(3+a-3*f),4/3*c*(3+3*a-f)]}n.a=r;var o=e(0),i=e(1);r.invert=function(t,n){if(t*=3/8,n*=3/8,!t&&Object(i.a)(n)>1)return null;var e=1+t*t+n*n,r=Object(i.B)((e-Object(i.B)(e*e-4*n*n))/2),o=Object(i.e)(r)/3,u=r?Object(i.c)(Object(i.a)(n/r))/3:Object(i.d)(Object(i.a)(t))/3,c=Object(i.h)(o),a=Object(i.i)(u),f=a*a-c*c;return[2*Object(i.x)(t)*Object(i.g)(Object(i.A)(u)*c,.25-f),2*Object(i.x)(n)*Object(i.g)(a*Object(i.y)(o),.25+f)]},n.b=function(){return Object(o.geoProjection)(r).scale(66.1603)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.c)(u.s,n);return[c*t/(1/Object(u.h)(n)+a/Object(u.h)(e)),(n+u.D*Object(u.y)(e))/c]}n.a=r;var o=e(0),i=e(26),u=e(1),c=2.00276,a=1.11072;r.invert=function(t,n){var e,r,o=c*n,i=n<0?-u.u:u.u,f=25;do{r=o-u.D*Object(u.y)(i),i-=e=(Object(u.y)(2*i)+2*i-u.s*Object(u.y)(r))/(2*Object(u.h)(2*i)+2+u.s*Object(u.h)(r)*u.D*Object(u.h)(i))}while(Object(u.a)(e)>u.k&&--f>0);return r=o-u.D*Object(u.y)(i),[t*(1/Object(u.h)(r)+a/Object(u.h)(i))/c,r]},n.b=function(){return Object(o.geoProjection)(r).scale(160.857)}},function(t,n,e){"use strict";function r(t){function n(t,n){return[t*e,Object(o.y)(n)/e]}var e=Object(o.h)(t);return n.invert=function(t,n){return[t/e,Object(o.e)(n*e)]},n}n.a=r;var o=e(1),i=e(39);n.b=function(){return Object(i.a)(r).parallel(38.58).scale(195.044)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.x)(t),r=Object(i.x)(n),o=Object(i.h)(n),u=Object(i.h)(t)*o,c=Object(i.y)(t)*o,a=Object(i.y)(r*n);t=Object(i.a)(Object(i.g)(c,a)),n=Object(i.e)(u),Object(i.a)(t-i.o)>i.k&&(t%=i.o);var f=function(t,n){if(n===i.o)return[0,0];var e,r,o=Object(i.y)(n),u=o*o,c=u*u,a=1+c,f=1+3*c,s=1-c,l=Object(i.e)(1/Object(i.B)(a)),h=s+u*a*l,p=(1-o)/h,v=Object(i.B)(p),d=p*a,b=Object(i.B)(d),g=v*s;if(0===t)return[0,-(g+u*b)];var y,j=Object(i.h)(n),O=1/j,_=2*o*j,m=(-h*j-(-3*u+l*f)*_*(1-o))/(h*h),x=-O*_,w=-O*(u*a*m+p*f*_),E=-2*O*(s*(.5*m/v)-2*u*v*_),S=4*t/i.s;if(t>.222*i.s||n.175*i.s){if(e=(g+u*Object(i.B)(d*(1+c)-g*g))/(1+c),t>i.s/4)return[e,e];var M=e,T=.5*e;e=.5*(T+M),r=50;do{var k=Object(i.B)(d-e*e),C=e*(E+x*k)+w*Object(i.e)(e/b)-S;if(!C)break;C<0?T=e:M=e,e=.5*(T+M)}while(Object(i.a)(M-T)>i.k&&--r>0)}else{e=i.k,r=25;do{var P=e*e,N=Object(i.B)(d-P),A=E+x*N,R=e*A+w*Object(i.e)(e/b)-S;e-=y=N?R/(A+(w-x*P)/N):0}while(Object(i.a)(y)>i.k&&--r>0)}return[e,-g-u*Object(i.B)(d-e*e)]}(t>i.s/4?i.o-t:t,n);return t>i.s/4&&(a=f[0],f[0]=-f[1],f[1]=-a),f[0]*=e,f[1]*=-r,f}n.b=r;var o=e(0),i=e(1),u=e(185);r.invert=function(t,n){Object(i.a)(t)>1&&(t=2*Object(i.x)(t)-t),Object(i.a)(n)>1&&(n=2*Object(i.x)(n)-n);var e=Object(i.x)(t),r=Object(i.x)(n),o=-e*t,u=-r*n,c=u/o<1,a=function(t,n){for(var e=0,r=1,o=.5,u=50;;){var c=o*o,a=Object(i.B)(o),f=Object(i.e)(1/Object(i.B)(1+c)),s=1-c+o*(1+c)*f,l=(1-a)/s,h=Object(i.B)(l),p=l*(1+c),v=h*(1-c),d=p-t*t,b=Object(i.B)(d),g=n+v+o*b;if(Object(i.a)(r-e)0?e=o:r=o,o=.5*(e+r)}if(!u)return null;var y=Object(i.e)(a),j=Object(i.h)(y),O=1/j,_=2*a*j,m=(-s*j-(-3*o+f*(1+3*c))*_*(1-a))/(s*s),x=-2*O*(.5*m/h*(1-c)-2*o*h*_),w=-O*_,E=-O*(o*(1+c)*m+l*(1+3*c)*_);return[i.s/4*(t*(x+w*b)+E*Object(i.e)(t/Object(i.B)(p))),y]}(c?u:o,c?o:u),f=a[0],s=a[1],l=Object(i.h)(s);return c&&(f=-i.o-f),[e*(Object(i.g)(Object(i.y)(f)*l,-Object(i.y)(s))+i.s),r*Object(i.e)(Object(i.h)(f)*l)]},n.a=function(){return Object(o.geoProjection)(Object(u.a)(r)).scale(239.75)}},function(t,n,e){"use strict";var r=e(1);n.a=function(t){function n(n,o){var i=n>0?-.5:.5,u=t(n+i*r.s,o);return u[0]-=i*e,u}var e=t(r.o,0)[0]-t(-r.o,0)[0];return t.invert&&(n.invert=function(n,o){var i=n>0?-.5:.5,u=t.invert(n+i*e,o),c=u[0]-i*r.s;return c<-r.s?c+=2*r.s:c>r.s&&(c-=2*r.s),u[0]=c,u}),n}},function(t,n,e){"use strict";function r(t,n){var e=(u.D-1)/(u.D+1),r=Object(u.B)(1-e*e),o=Object(i.a)(u.o,r*r),c=Object(u.p)(Object(u.F)(u.s/4+Object(u.a)(n)/2)),a=Object(u.m)(-1*c)/Object(u.B)(e),f=function(t,n){var e=t*t,r=n+1,o=1-e-n*n;return[.5*((t>=0?u.o:-u.o)-Object(u.g)(o,2*t)),-.25*Object(u.p)(o*o+4*e)+.5*Object(u.p)(r*r+e)]}(a*Object(u.h)(-1*t),a*Object(u.y)(-1*t)),s=Object(i.b)(f[0],f[1],r*r);return[-s[1],(n>=0?1:-1)*(.5*o-s[0])]}n.b=r;var o=e(0),i=e(379),u=e(1),c=e(185);r.invert=function(t,n){var e=(u.D-1)/(u.D+1),r=Object(u.B)(1-e*e),o=Object(i.a)(u.o,r*r),c=Object(i.c)(.5*o-n,-t,r*r),a=function(t,n){var e=n[0]*n[0]+n[1]*n[1];return[(t[0]*n[0]+t[1]*n[1])/e,(t[1]*n[0]-t[0]*n[1])/e]}(c[0],c[1]);return[Object(u.g)(a[1],a[0])/-1,2*Object(u.f)(Object(u.m)(-.5*Object(u.p)(e*a[0]*a[0]+e*a[1]*a[1])))-u.o]},n.a=function(){return Object(o.geoProjection)(Object(c.a)(r)).scale(151.496)}},function(t,n,e){"use strict";function r(t,n){return Object(i.a)(n)>a.b?(t=Object(u.d)(t,n),t[1]-=n>0?a.d:-a.d,t):Object(c.b)(t,n)}n.b=r;var o=e(0),i=e(1),u=e(26),c=e(47),a=e(99);r.invert=function(t,n){return Object(i.a)(n)>a.b?u.d.invert(t,n+(n>0?a.d:-a.d)):c.b.invert(t,n)},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";var r=e(186),o=e(101);n.a=function(){return Object(o.a)(r.b).scale(111.48)}},function(t,n,e){"use strict";var r=e(0),o=e(1);n.a=function(t,n,e){var i=Object(r.geoInterpolate)(n,e),u=i(.5),c=Object(r.geoRotation)([-u[0],-u[1]])(n),a=i.distance/2,f=-Object(o.e)(Object(o.y)(c[1]*o.v)/Object(o.y)(a)),s=[-u[0],-u[1],-(c[0]>0?o.s-f:f)*o.j],l=Object(r.geoProjection)(t(a)).rotate(s),h=Object(r.geoRotation)(s),p=l.center;return delete l.rotate,l.center=function(t){return arguments.length?p(h(t)):h.invert(p())},l.clipAngle(90)}},function(t,n,e){var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(n){"use strict";function i(){}function u(t,n){for(var e=t.length;e--;)if(t[e].listener===n)return e;return-1}function c(t){return function(){return this[t].apply(this,arguments)}}function a(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!==(void 0===t?"undefined":o(t)))&&a(t.listener)}var f=i.prototype,s=n.EventEmitter;f.getListeners=function(t){var n,e,r=this._getEvents();if(t instanceof RegExp){n={};for(e in r)r.hasOwnProperty(e)&&t.test(e)&&(n[e]=r[e])}else n=r[t]||(r[t]=[]);return n},f.flattenListeners=function(t){var n,e=[];for(n=0;nh))return!1;var v=s.get(t);if(v&&s.get(n))return v==n;var d=-1,b=!0,g=e&c?new r:void 0;for(s.set(t,n),s.set(n,t);++d=0?1:-1,o=r*e,i=Object(p.g)(n),u=Object(p.t)(n),c=l*u,a=s*i+c*Object(p.g)(o),h=c*r*Object(p.t)(o);b.add(Object(p.e)(h,a)),f=t,s=i,l=u}e.d(n,"a",function(){return b}),e.d(n,"b",function(){return y});var c,a,f,s,l,h=e(54),p=e(6),v=e(32),d=e(33),b=Object(h.a)(),g=Object(h.a)(),y={point:v.a,lineStart:v.a,lineEnd:v.a,polygonStart:function(){b.reset(),y.lineStart=r,y.lineEnd=o},polygonEnd:function(){var t=+b;g.add(t<0?p.w+t:t),this.lineStart=this.lineEnd=this.point=v.a},sphere:function(){g.add(p.w)}};n.c=function(t){return g.reset(),Object(d.a)(t,y),2*g}},function(t,n,e){"use strict";function r(t,n,e,r,u,a){if(e){var f=Object(c.g)(n),s=Object(c.t)(n),l=r*e;null==u?(u=n+r*c.w,a=n-l/2):(u=o(f,u),a=o(f,a),(r>0?ua)&&(u+=r*c.w));for(var h,p=u;r>0?p>a:p0)do{c.point(0===a||3===a?t:e,a>1?r:n)}while((a=(a+u+4)%4)!==f);else c.point(i[0],i[1])}function p(r,i){return Object(o.a)(r[0]-t)0?0:3:Object(o.a)(r[0]-e)0?2:1:Object(o.a)(r[1]-n)0?1:0:i>0?3:2}function v(t,n){return d(t.x,n.x)}function d(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(o){function p(t,n){l(t,n)&&M.point(t,n)}function d(o,i){var c=l(o,i);if(g&&y.push([o,i]),E)j=o,O=i,_=c,E=!1,c&&(M.lineStart(),M.point(o,i));else if(c&&w)M.point(o,i);else{var a=[m=Math.max(s,Math.min(f,m)),x=Math.max(s,Math.min(f,x))],h=[o=Math.max(s,Math.min(f,o)),i=Math.max(s,Math.min(f,i))];Object(u.a)(a,h,t,n,e,r)?(w||(M.lineStart(),M.point(a[0],a[1])),M.point(h[0],h[1]),c||M.lineEnd(),S=!1):c&&(M.lineStart(),M.point(o,i),S=!1)}m=o,x=i,w=c}var b,g,y,j,O,_,m,x,w,E,S,M=o,T=Object(i.a)(),k={point:p,lineStart:function(){k.point=d,g&&g.push(y=[]),E=!0,w=!1,m=x=NaN},lineEnd:function(){b&&(d(j,O),_&&w&&T.rejoin(),b.push(T.result())),k.point=p,w&&M.lineEnd()},polygonStart:function(){M=T,b=[],g=[],S=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,o=g.length;er&&(l-i)*(r-u)>(h-u)*(t-i)&&++n:h<=r&&(l-i)*(r-u)<(h-u)*(t-i)&&--n;return n}(),e=S&&n,i=(b=Object(a.merge)(b)).length;(e||i)&&(o.polygonStart(),e&&(o.lineStart(),h(null,null,1,o),o.lineEnd()),i&&Object(c.a)(b,v,n,h,o),o.polygonEnd()),M=o,b=g=y=null}};return k}}n.a=r;var o=e(6),i=e(220),u=e(515),c=e(221),a=e(14),f=1e9,s=-f;n.b=function(){var t,n,e,o=0,i=0,u=960,c=500;return e={stream:function(e){return t&&n===e?t:t=r(o,i,u,c)(n=e)},extent:function(r){return arguments.length?(o=+r[0][0],i=+r[0][1],u=+r[1][0],c=+r[1][1],t=n=null,e):[[o,i],[u,c]]}}}},function(t,n,e){"use strict";var r=e(32);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";function r(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){for(var n,e,r=0,o=t[0];++r=0;--a)c.point((p=h[a])[0],p[1]);else u(d.x,d.p.x,-1,c);d=d.p}h=(d=d.o).z,b=!b}while(!d.v);c.lineEnd()}}}},function(t,n,e){"use strict";var r=e(6);n.a=function(t,n){return Object(r.a)(t[0]-n[0])u&&(u=t),nc&&(c=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[o,i],[u,c]];return u=c=-(i=o=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(115);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";function r(t){return t.length>1}function o(t,n){return((t=t.x)[0]<0?t[1]-c.l-c.i:c.l-t[1])-((n=n.x)[0]<0?n[1]-c.l-c.i:c.l-n[1])}var i=e(220),u=e(221),c=e(6),a=e(525),f=e(14);n.a=function(t,n,e,c){return function(s,l){function h(n,e){var r=s(n,e);t(n=r[0],e=r[1])&&l.point(n,e)}function p(t,n){var e=s(t,n);m.point(e[0],e[1])}function v(){M.point=p,m.lineStart()}function d(){M.point=h,m.lineEnd()}function b(t,n){_.push([t,n]);var e=s(t,n);E.point(e[0],e[1])}function g(){E.lineStart(),_=[]}function y(){b(_[0][0],_[0][1]),E.lineEnd();var t,n,e,o,i=E.clean(),u=w.result(),c=u.length;if(_.pop(),j.push(_),_=null,c)if(1&i){if(e=u[0],(n=e.length-1)>0){for(S||(l.polygonStart(),S=!0),l.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),O.push(u.filter(r))}var j,O,_,m=n(l),x=s.invert(c[0],c[1]),w=Object(i.a)(),E=n(w),S=!1,M={point:h,lineStart:v,lineEnd:d,polygonStart:function(){M.point=b,M.lineStart=g,M.lineEnd=y,O=[],j=[]},polygonEnd:function(){M.point=h,M.lineStart=v,M.lineEnd=d,O=Object(f.merge)(O);var t=Object(a.a)(j,x);O.length?(S||(l.polygonStart(),S=!0),Object(u.a)(O,o,t,e,l)):t&&(S||(l.polygonStart(),S=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),S&&(l.polygonEnd(),S=!1),O=j=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};return M}}},function(t,n,e){"use strict";function r(t,n,e){var r=n[1][0]-n[0][0],u=n[1][1]-n[0][1],c=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=c&&t.clipExtent(null),Object(o.a)(e,t.stream(i.a));var a=i.a.result(),f=Math.min(r/(a[1][0]-a[0][0]),u/(a[1][1]-a[0][1])),s=+n[0][0]+(r-f*(a[1][0]+a[0][0]))/2,l=+n[0][1]+(u-f*(a[1][1]+a[0][1]))/2;return null!=c&&t.clipExtent(c),t.scale(150*f).translate([s,l])}n.b=function(t){return function(n,e){return r(t,[[0,0],n],e)}},n.a=function(t){return function(n,e){return r(t,n,e)}};var o=e(33),i=e(225)},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r;var o=e(22);r.invert=r,n.a=function(){return Object(o.a)(r).scale(152.63)}},function(t,n,e){var r=e(77),o=1/0;t.exports=function(t){return(null==t?0:t.length)?r(t,o):[]}},function(t,n,e){var r=e(232);t.exports=function(t){if(1===t.length)return 0;var n=r(t);return Math.sqrt(n)}},function(t,n,e){var r=e(121);t.exports=function(t){if(0===t.length)throw new Error("variance requires at least one data point");return r(t,2)/t.length}},function(t,n){t.exports=function(t){if(0===t.length)return 0;for(var n,e=t[0],r=0,o=1;o=Math.abs(t[o])?r+=e-n+t[o]:r+=t[o]-n+e,e=n;return e+r}},function(t,n){t.exports=function(t){return t.slice().sort(function(t,n){return t-n})}},function(t,n){t.exports=function(t){if(0===t.length)throw new Error("mode requires at least one data point");if(1===t.length)return t[0];for(var n=t[0],e=NaN,r=0,o=1,i=1;ir&&(r=o,e=n),o=1,n=t[i]):o++;return e}},function(t,n){t.exports=function(t){if(0===t.length)throw new Error("min requires at least one data point");for(var n=t[0],e=1;en&&(n=t[e]);return n}},function(t,n,e){var r=e(122);t.exports=function(t){return+r(t,.5)}},function(t,n,e){var r=e(240);t.exports=function(t,n){var e=t.slice();return r(e.slice(),n)}},function(t,n){t.exports=function(t,n){n=n||Math.random;for(var e,r,o=t.length;o>0;)r=Math.floor(n()*o--),e=t[o],t[o]=t[r],t[r]=e;return t}},function(t,n){t.exports=function(t){for(var n,e=0,r=0;r=0?e:-e}},function(t,n){t.exports=function(t){for(var n=1/t,e=[],r=0;r<=1;r+=n)e.push(r);return e}},function(t,n){t.exports=function(t){return null==t}},function(t,n,e){function r(t,n,e){e.dataType=a;var r=i(t.features);return r.forEach(function(t){t.name=t.properties.name,t.longitude=[],t.latitude=[];var n=t.pathData=s(t);o(n)._path.forEach(function(n){t.longitude.push(n[1]),t.latitude.push(n[2])});var e=s.centroid(t);t.centroidX=e[0],t.centroidY=e[1]}),r}var o=e(250),i=e(75),u=e(0).geoPath,c=e(2),a=c.GEO,f=c.registerConnector,s=u();f("geo",r),f("geojson",r),f("GeoJSON",r),t.exports=r},function(t,n,e){function r(t){if(!(this instanceof r))return new r(t);this._path=u(t)?t:i(t),this._path=c(this._path),this._path=function(t){for(var n=[],e=["L",0,0],r=0,o=t.length;r=t){p=(i-t)/(i-r[2]);return{length:i,pos:v=[e[0]*(1-p)+r[0]*p,e[1]*(1-p)+r[1]*p]}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("Q"===c[0]){r[0]=e[0],r[1]=e[1],r[2]=i;for(var a=100,f=0;f<=a;f++){var h=f/a,s=function(t,n){return Math.pow(1-n,2)*e[0]+2*(1-n)*n*t[1]+Math.pow(n,2)*t[3]}(c,h),l=function(t,n){return Math.pow(1-n,2)*e[1]+2*(1-n)*n*t[2]+Math.pow(n,2)*t[4]}(c,h);if(i+=o(e[0],e[1],s,l),e[0]=s,e[1]=l,"number"==typeof t&&i>=t){p=(i-t)/(i-r[2]);return{length:i,pos:v=[e[0]*(1-p)+r[0]*p,e[1]*(1-p)+r[1]*p]}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("L"===c[0]){if(r[0]=e[0],r[1]=e[1],r[2]=i,i+=o(e[0],e[1],c[1],c[2]),e[0]=c[1],e[1]=c[2],"number"==typeof t&&i>=t){var p=(i-t)/(i-r[2]),v=[e[0]*(1-p)+r[0]*p,e[1]*(1-p)+r[1]*p];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}return{length:i/1.045,pos:e}}},function(t,n,e){"use strict";function r(t,n,e){var r=t.x,o=t.y,i=n.r+e.r,u=t.r+e.r,c=n.x-r,a=n.y-o,f=c*c+a*a;if(f){var s=.5+((u*=u)-(i*=i))/(2*f),l=Math.sqrt(Math.max(0,2*i*(u+f)-(u-=f)*u-i*i))/(2*f);e.x=r+s*c+l*a,e.y=o+s*a-l*c}else e.x=r+u,e.y=o}function o(t,n){var e=n.x-t.x,r=n.y-t.y,o=t.r+n.r;return o*o-1e-6>e*e+r*r}function i(t){var n=t._,e=t.next._,r=n.r+e.r,o=(n.x*e.r+e.x*n.r)/r,i=(n.y*e.r+e.y*n.r)/r;return o*o+i*i}function u(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(f=t.length))return 0;var n,e,c,f,s,l,h,p,v,d,b;if(n=t[0],n.x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;r(e,n,c=t[2]),n=new u(n),e=new u(e),c=new u(c),n.next=c.previous=e,e.next=n.previous=c,c.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+o*o}function i(t,n){for(var e=0;ea&&(a=t[0]),t[1]f&&(f=t[1])}function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"Point":n(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(n)}}var o,i=Object(r.a)(t.transform),u=1/0,c=u,a=-u,f=-u;t.arcs.forEach(function(t){for(var n,e=-1,r=t.length;++ea&&(a=n[0]),n[1]f&&(f=n[1])});for(o in t.objects)e(t.objects[o]);return[u,c,a,f]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=function(t,n){function e(t,n){for(var e in t){var o=t[e];delete n[o.start],delete o.start,delete o.end,o.forEach(function(t){r[t<0?~t:t]=1}),u.push(o)}}var r={},o={},i={},u=[],c=-1;return n.forEach(function(e,r){var o,i=t.arcs[e<0?~e:e];i.length<3&&!i[1][0]&&!i[1][1]&&(o=n[++c],n[c]=e,n[r]=o)}),n.forEach(function(n){var e,r,u=function(n){var e,r=t.arcs[n<0?~n:n],o=r[0];return t.transform?(e=[0,0],r.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=r[r.length-1],n<0?[e,o]:[o,e]}(n),c=u[0],a=u[1];if(e=i[c])if(delete i[e.end],e.push(n),e.end=a,r=o[a]){delete o[r.start];var f=r===e?e:e.concat(r);o[f.start=e.start]=i[f.end=r.end]=f}else o[e.start]=i[e.end]=e;else if(e=o[a])if(delete o[e.start],e.unshift(n),e.start=c,r=i[c]){delete i[r.end];var s=r===e?e:r.concat(e);o[s.start=r.start]=i[s.end=e.end]=s}else o[e.start]=i[e.end]=e;else o[(e=[n]).start=c]=i[e.end=a]=e}),e(i,o),e(o,i),n.forEach(function(t){r[t<0?~t:t]||u.push([t])}),u}},function(t,n,e){"use strict";var r=e(256);n.a=function(t){if(null==t)return r.a;var n,e,o=t.scale[0],i=t.scale[1],u=t.translate[0],c=t.translate[1];return function(t,r){r||(n=e=0);var a=2,f=t.length,s=new Array(f),l=Math.round((t[0]-u)/o),h=Math.round((t[1]-c)/i);for(s[0]=l-n,n=l,s[1]=h-e,e=h;a-1}},function(t,n){t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r-1}function p(t,n,e){for(var r=-1,o=null==t?0:t.length;++r-1;);return e}function N(t,n){for(var e=t.length;e--&&O(n,t[e],0)>-1;);return e}function A(t){return"\\"+pe[t]}function R(t){return ce.test(t)}function B(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function I(t,n){return function(e){return t(n(e))}}function L(t,n){for(var e=-1,r=t.length,o=0,i=[];++e>>1,xt=[["ary",ct],["bind",tt],["bindKey",nt],["curry",rt],["curryRight",ot],["flip",ft],["partial",it],["partialRight",ut],["rearg",at]],wt="[object Arguments]",Et="[object Array]",St="[object AsyncFunction]",Mt="[object Boolean]",Tt="[object Date]",kt="[object DOMException]",Ct="[object Error]",Pt="[object Function]",Nt="[object GeneratorFunction]",At="[object Map]",Rt="[object Number]",Bt="[object Null]",It="[object Object]",Lt="[object Proxy]",zt="[object RegExp]",qt="[object Set]",Ft="[object String]",Dt="[object Symbol]",Gt="[object Undefined]",Ut="[object WeakMap]",Ht="[object WeakSet]",Vt="[object ArrayBuffer]",Wt="[object DataView]",$t="[object Float32Array]",Yt="[object Float64Array]",Jt="[object Int8Array]",Xt="[object Int16Array]",Kt="[object Int32Array]",Zt="[object Uint8Array]",Qt="[object Uint8ClampedArray]",tn="[object Uint16Array]",nn="[object Uint32Array]",en=/\b__p \+= '';/g,rn=/\b(__p \+=) '' \+/g,on=/(__e\(.*?\)|\b__t\)) \+\n'';/g,un=/&(?:amp|lt|gt|quot|#39);/g,cn=/[&<>"']/g,an=RegExp(un.source),fn=RegExp(cn.source),sn=/<%-([\s\S]+?)%>/g,ln=/<%([\s\S]+?)%>/g,hn=/<%=([\s\S]+?)%>/g,pn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vn=/^\w*$/,dn=/^\./,bn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gn=/[\\^$.*+?()[\]{}|]/g,yn=RegExp(gn.source),jn=/^\s+|\s+$/g,On=/^\s+/,_n=/\s+$/,mn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xn=/\{\n\/\* \[wrapped with (.+)\] \*/,wn=/,? & /,En=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Sn=/\\(\\)?/g,Mn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Tn=/\w*$/,kn=/^[-+]0x[0-9a-f]+$/i,Cn=/^0b[01]+$/i,Pn=/^\[object .+?Constructor\]$/,Nn=/^0o[0-7]+$/i,An=/^(?:0|[1-9]\d*)$/,Rn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bn=/($^)/,In=/['\n\r\u2028\u2029\\]/g,Ln="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",zn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qn="[\\ud800-\\udfff]",Fn="["+zn+"]",Dn="["+Ln+"]",Gn="\\d+",Un="[\\u2700-\\u27bf]",Hn="[a-z\\xdf-\\xf6\\xf8-\\xff]",Vn="[^\\ud800-\\udfff"+zn+Gn+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Wn="\\ud83c[\\udffb-\\udfff]",$n="[^\\ud800-\\udfff]",Yn="(?:\\ud83c[\\udde6-\\uddff]){2}",Jn="[\\ud800-\\udbff][\\udc00-\\udfff]",Xn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Kn="(?:"+Hn+"|"+Vn+")",Zn="(?:"+Xn+"|"+Vn+")",Qn="(?:"+Dn+"|"+Wn+")"+"?",te="[\\ufe0e\\ufe0f]?"+Qn+("(?:\\u200d(?:"+[$n,Yn,Jn].join("|")+")[\\ufe0e\\ufe0f]?"+Qn+")*"),ne="(?:"+[Un,Yn,Jn].join("|")+")"+te,ee="(?:"+[$n+Dn+"?",Dn,Yn,Jn,qn].join("|")+")",re=RegExp("['a€?]","g"),oe=RegExp(Dn,"g"),ie=RegExp(Wn+"(?="+Wn+")|"+ee+te,"g"),ue=RegExp([Xn+"?"+Hn+"+(?:['a€?](?:d|ll|m|re|s|t|ve))?(?="+[Fn,Xn,"$"].join("|")+")",Zn+"+(?:['a€?](?:D|LL|M|RE|S|T|VE))?(?="+[Fn,Xn+Kn,"$"].join("|")+")",Xn+"?"+Kn+"+(?:['a€?](?:d|ll|m|re|s|t|ve))?",Xn+"+(?:['a€?](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Gn,ne].join("|"),"g"),ce=RegExp("[\\u200d\\ud800-\\udfff"+Ln+"\\ufe0e\\ufe0f]"),ae=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],se=-1,le={};le[$t]=le[Yt]=le[Jt]=le[Xt]=le[Kt]=le[Zt]=le[Qt]=le[tn]=le[nn]=!0,le[wt]=le[Et]=le[Vt]=le[Mt]=le[Wt]=le[Tt]=le[Ct]=le[Pt]=le[At]=le[Rt]=le[It]=le[zt]=le[qt]=le[Ft]=le[Ut]=!1;var he={};he[wt]=he[Et]=he[Vt]=he[Wt]=he[Mt]=he[Tt]=he[$t]=he[Yt]=he[Jt]=he[Xt]=he[Kt]=he[At]=he[Rt]=he[It]=he[zt]=he[qt]=he[Ft]=he[Dt]=he[Zt]=he[Qt]=he[tn]=he[nn]=!0,he[Ct]=he[Pt]=he[Ut]=!1;var pe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ve=parseFloat,de=parseInt,be="object"==(void 0===t?"undefined":i(t))&&t&&t.Object===Object&&t,ge="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,ye=be||ge||Function("return this")(),je="object"==i(n)&&n&&!n.nodeType&&n,Oe=je&&"object"==i(r)&&r&&!r.nodeType&&r,_e=Oe&&Oe.exports===je,me=_e&&be.process,xe=function(){try{return me&&me.binding&&me.binding("util")}catch(t){}}(),we=xe&&xe.isArrayBuffer,Ee=xe&&xe.isDate,Se=xe&&xe.isMap,Me=xe&&xe.isRegExp,Te=xe&&xe.isSet,ke=xe&&xe.isTypedArray,Ce=x("length"),Pe=w({"?€":"A","??":"A","??":"A","??":"A","??":"A","?¡­":"A","? ":"a","??":"a","?¡é":"a","?¡ê":"a","?¡è":"a","?£¤":"a","??":"C","?¡ì":"c","??":"D","?¡ã":"d","??":"E","?¡ë":"E","??":"E","??":"E","?¡§":"e","??":"e","?a":"e","??":"e","??":"I","??":"I","??":"I","??":"I","??":"i","?-":"i","??":"i","?¡¥":"i","?¡®":"N","?¡À":"n","?¡¯":"O","?¡°":"O","?¡±":"O","??":"O","?¨C":"O","??":"O","?2":"o","?3":"o","?¡ä":"o","?¦Ì":"o","??":"o","??":"o","??":"U","??":"U","??":"U","??":"U","?1":"u","?o":"u","??":"u","??":"u","??":"Y","??":"y","??":"y","??":"Ae","?|":"ae","??":"Th","??":"th","??":"ss","?€":"A","??":"A","??":"A","??":"a","??":"a","?¡­":"a","??":"C","??":"C","??":"C","??":"C","??":"c","?¡ë":"c","??":"c","??":"c","??":"D","??":"D","??":"d","?¡®":"d","?¡¯":"E","?¡±":"E","?¨C":"E","??":"E","??":"E","?¡°":"e","??":"e","?¡ª":"e","??":"e","??":"e","??":"G","??":"G","? ":"G","?¡é":"G","??":"g","??":"g","??":"g","?¡ê":"g","?¡è":"H","?|":"H","?£¤":"h","?¡ì":"h","?¡§":"I","?a":"I","??":"I","??":"I","?¡ã":"I","??":"i","??":"i","?-":"i","?¡¥":"i","?¡À":"i","?¡ä":"J","?¦Ì":"j","??":"K","?¡¤":"k","??":"k","?1":"L","??":"L","??":"L","??":"L","??":"L","?o":"l","??":"l","??":"l","?€":"l","??":"l","??":"N","?¡­":"N","??":"N","??":"N","??":"n","??":"n","??":"n","??":"n","??":"O","??":"O","??":"O","??":"o","??":"o","?¡®":"o","?¡±":"R","?¨C":"R","??":"R","??":"r","?¡ª":"r","??":"r","??":"S","??":"S","??":"S","? ":"S","??":"s","??":"s","??":"s","??":"s","?¡é":"T","?¡è":"T","?|":"T","?¡ê":"t","?£¤":"t","?¡ì":"t","?¡§":"U","?a":"U","??":"U","??":"U","?¡ã":"U","?2":"U","??":"u","??":"u","?-":"u","?¡¥":"u","?¡À":"u","?3":"u","?¡ä":"W","?¦Ì":"w","??":"Y","?¡¤":"y","??":"Y","?1":"Z","??":"Z","??":"Z","?o":"z","??":"z","??":"z","?2":"IJ","?3":"ij","?¡¯":"Oe","?¡°":"oe","?¡ë":"'n","??":"s"}),Ne=w({"&":"&","<":"<",">":">",'"':""","'":"'"}),Ae=w({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Re=function t(n){function e(t){if(ei(t)&&!Vc(t)&&!(t instanceof w)){if(t instanceof o)return t;if(Vi.call(t,"__wrapped__"))return So(t)}return new o(t)}function r(){}function o(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=G}function w(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Ln(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function Kn(t,n,e,r,o,i){var a,s=n&J,l=n&X,h=n&K;if(e&&(a=o?e(t,r,o,i):e(t)),a!==G)return a;if(!ni(t))return t;var p=Vc(t);if(p){if(a=function(t){var n=t.length,e=t.constructor(n);return n&&"string"==typeof t[0]&&Vi.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!s)return Mr(t,a)}else{var v=nc(t),d=v==Pt||v==Nt;if($c(t))return _r(t,s);if(v==It||v==wt||d&&!o){if(a=l||d?{}:fo(t),!s)return l?function(t,n){return Tr(t,tc(t),n)}(t,function(n,e){return n&&Tr(t,gi(t),n)}(a)):function(t,n){return Tr(t,Qu(t),n)}(t,$n(a,t))}else{if(!he[v])return o?t:{};a=function(t,n,e,r){var o=t.constructor;switch(n){case Vt:return mr(t);case Mt:case Tt:return new o(+t);case Wt:return function(t,n){var e=n?mr(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,r);case $t:case Yt:case Jt:case Xt:case Kt:case Zt:case Qt:case tn:case nn:return xr(t,r);case At:return function(t,n,e){return b(n?e(B(t),J):B(t),u,new t.constructor)}(t,r,e);case Rt:case Ft:return new o(t);case zt:return function(t){var n=new t.constructor(t.source,Tn.exec(t));return n.lastIndex=t.lastIndex,n}(t);case qt:return function(t,n,e){return b(n?e(z(t),J):z(t),c,new t.constructor)}(t,r,e);case Dt:return function(t){return Fu?Ii(Fu.call(t)):{}}(t)}}(t,v,Kn,s)}}i||(i=new Dn);var g=i.get(t);if(g)return g;i.set(t,a);var y=p?G:(h?l?no:to:l?gi:bi)(t);return f(y||t,function(r,o){y&&(r=t[o=r]),Vn(a,o,Kn(r,n,e,o,t,i))}),a}function Zn(t,n,e){var r=e.length;if(null==t)return!r;for(t=Ii(t);r--;){var o=e[r],i=n[o],u=t[o];if(u===G&&!(o in t)||!i(u))return!1}return!0}function Qn(t,n,e){if("function"!=typeof t)throw new qi(V);return oc(function(){t.apply(G,e)},n)}function te(t,n,e,r){var o=-1,i=h,u=!0,c=t.length,a=[],f=n.length;if(!c)return a;e&&(n=v(n,T(e))),r?(i=p,u=!1):n.length>=U&&(i=C,u=!1,n=new Fn(n));t:for(;++o0&&e(c)?n>1?ie(c,n-1,e,r,o):d(o,c):r||(o[o.length]=c)}return o}function ce(t,n){return t&&Vu(t,n,bi)}function pe(t,n){return t&&Wu(t,n,bi)}function be(t,n){return l(n,function(n){return Zo(t[n])})}function ge(t,n){for(var e=0,r=(n=jr(n,t)).length;null!=t&&en}function xe(t,n){return null!=t&&Vi.call(t,n)}function Ce(t,n){return null!=t&&n in Ii(t)}function Be(t,n,e){for(var r=e?p:h,o=t[0].length,i=t.length,u=i,c=Pi(i),a=1/0,f=[];u--;){var s=t[u];u&&n&&(s=v(s,T(n))),a=_u(s.length,a),c[u]=!e&&(n||o>=120&&s.length>=120)?new Fn(u&&s):G}s=t[0];var l=-1,d=c[0];t:for(;++l=c)return a;var f=e[r];return a*("desc"==f?-1:1)}}return t.index-n.index}(t,n,e)})}function Ke(t,n,e){for(var r=-1,o=n.length,i={};++r-1;)c!==t&&iu.call(c,a,1),iu.call(t,a,1);return t}function Qe(t,n){for(var e=t?n.length:0,r=e-1;e--;){var o=n[e];if(e==r||o!==i){var i=o;lo(o)?iu.call(t,o,1):lr(t,o)}}return t}function tr(t,n){return t+vu(wu()*(n-t+1))}function nr(t,n){var e="";if(!t||n<1||n>gt)return e;do{n%2&&(e+=t),(n=vu(n/2))&&(t+=t)}while(n);return e}function er(t,n){return ic(jo(t,n,wi),t+"")}function rr(t,n,e,r){if(!ni(t))return t;for(var o=-1,i=(n=jr(n,t)).length,u=i-1,c=t;null!=c&&++oo?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var i=Pi(o);++r>>1,u=t[i];null!==u&&!ui(u)&&(e?u<=n:u=U){var f=n?null:Ku(t);if(f)return z(f);u=!1,o=C,a=new Fn}else a=n?[]:c;t:for(;++r=r?t:or(t,n,e)}function _r(t,n){if(n)return t.slice();var e=t.length,r=nu?nu(e):new t.constructor(e);return t.copy(r),r}function mr(t){var n=new t.constructor(t.byteLength);return new tu(n).set(new tu(t)),n}function xr(t,n){var e=n?mr(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function wr(t,n){if(t!==n){var e=t!==G,r=null===t,o=t==t,i=ui(t),u=n!==G,c=null===n,a=n==n,f=ui(n);if(!c&&!f&&!i&&t>n||i&&u&&a&&!c&&!f||r&&u&&a||!e&&a||!o)return 1;if(!r&&!i&&!f&&t1?e[o-1]:G,u=o>2?e[2]:G;for(i=t.length>3&&"function"==typeof i?(o--,i):G,u&&ho(e[0],e[1],u)&&(i=o<3?G:i,o=1),n=Ii(n);++r-1?o[i?n[u]:u]:G}}function Lr(t){return Qr(function(n){var e=n.length,r=e,i=o.prototype.thru;for(t&&n.reverse();r--;){var u=n[r];if("function"!=typeof u)throw new qi(V);if(i&&!c&&"wrapper"==eo(u))var c=new o([],!0)}for(r=c?r:e;++r1&&y.reverse(),l&&ac))return!1;var f=i.get(t);if(f&&i.get(n))return f==n;var s=-1,l=!0,h=e&Q?new Fn:G;for(i.set(t,n),i.set(n,t);++s-1&&t%1==0&&t1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(mn,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return f(xt,function(e){var r="_."+e[0];n&e[1]&&!h(t,r)&&t.push(r)}),t.sort()}(function(t){var n=t.match(xn);return n?n[1].split(wn):[]}(r),e)))}function mo(t){var n=0,e=0;return function(){var r=mu(),o=pt-(r-e);if(e=r,o>0){if(++n>=ht)return arguments[0]}else n=0;return t.apply(G,arguments)}}function xo(t,n){var e=-1,r=t.length,o=r-1;for(n=n===G?r:n;++e0&&(e=n.apply(this,arguments)),t<=1&&(n=G),e}}function Uo(t,n,e){var r=Yr(t,rt,G,G,G,G,G,n=e?G:n);return r.placeholder=Uo.placeholder,r}function Ho(t,n,e){var r=Yr(t,ot,G,G,G,G,G,n=e?G:n);return r.placeholder=Ho.placeholder,r}function Vo(t,n,e){function r(n){var e=a,r=f;return a=f=G,v=n,l=t.apply(r,e)}function o(t){var e=t-p;return p===G||e>=n||e<0||b&&t-v>=s}function i(){var t=Ac();if(o(t))return u(t);h=oc(i,function(t){var e=n-(t-p);return b?_u(e,s-(t-v)):e}(t))}function u(t){return h=G,g&&a?r(t):(a=f=G,l)}function c(){var t=Ac(),e=o(t);if(a=arguments,f=this,p=t,e){if(h===G)return function(t){return v=t,h=oc(i,n),d?r(t):l}(p);if(b)return h=oc(i,n),r(p)}return h===G&&(h=oc(i,n)),l}var a,f,s,l,h,p,v=0,d=!1,b=!1,g=!0;if("function"!=typeof t)throw new qi(V);return n=li(n)||0,ni(e)&&(d=!!e.leading,s=(b="maxWait"in e)?Ou(li(e.maxWait)||0,n):s,g="trailing"in e?!!e.trailing:g),c.cancel=function(){h!==G&&Xu(h),v=0,a=p=f=h=G},c.flush=function(){return h===G?l:u(Ac())},c}function Wo(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new qi(V);var e=function e(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return e.cache=i.set(o,u)||i,u};return e.cache=new(Wo.Cache||qn),e}function $o(t){if("function"!=typeof t)throw new qi(V);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function Yo(t,n){return t===n||t!=t&&n!=n}function Jo(t){return null!=t&&ti(t.length)&&!Zo(t)}function Xo(t){return ei(t)&&Jo(t)}function Ko(t){if(!ei(t))return!1;var n=Oe(t);return n==Ct||n==kt||"string"==typeof t.message&&"string"==typeof t.name&&!oi(t)}function Zo(t){if(!ni(t))return!1;var n=Oe(t);return n==Pt||n==Nt||n==St||n==Lt}function Qo(t){return"number"==typeof t&&t==fi(t)}function ti(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=gt}function ni(t){var n=void 0===t?"undefined":i(t);return null!=t&&("object"==n||"function"==n)}function ei(t){return null!=t&&"object"==(void 0===t?"undefined":i(t))}function ri(t){return"number"==typeof t||ei(t)&&Oe(t)==Rt}function oi(t){if(!ei(t)||Oe(t)!=It)return!1;var n=eu(t);if(null===n)return!0;var e=Vi.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Hi.call(e)==Ji}function ii(t){return"string"==typeof t||!Vc(t)&&ei(t)&&Oe(t)==Ft}function ui(t){return"symbol"==(void 0===t?"undefined":i(t))||ei(t)&&Oe(t)==Dt}function ci(t){if(!t)return[];if(Jo(t))return ii(t)?D(t):Mr(t);if(cu&&t[cu])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[cu]());var n=nc(t);return(n==At?B:n==qt?z:ji)(t)}function ai(t){return t?(t=li(t))===bt||t===-bt?(t<0?-1:1)*yt:t==t?t:0:0===t?t:0}function fi(t){var n=ai(t),e=n%1;return n==n?e?n-e:n:0}function si(t){return t?Xn(fi(t),0,Ot):0}function li(t){if("number"==typeof t)return t;if(ui(t))return jt;if(ni(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=ni(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(jn,"");var e=Cn.test(t);return e||Nn.test(t)?de(t.slice(2),e?2:8):kn.test(t)?jt:+t}function hi(t){return Tr(t,gi(t))}function pi(t){return null==t?"":fr(t)}function vi(t,n,e){var r=null==t?G:ge(t,n);return r===G?e:r}function di(t,n){return null!=t&&ao(t,n,Ce)}function bi(t){return Jo(t)?Gn(t):Ge(t)}function gi(t){return Jo(t)?Gn(t,!0):Ue(t)}function yi(t,n){if(null==t)return{};var e=v(no(t),function(t){return[t]});return n=oo(n),Ke(t,e,function(t,e){return n(t,e[0])})}function ji(t){return null==t?[]:k(t,bi(t))}function Oi(t){return wa(pi(t).toLowerCase())}function _i(t){return(t=pi(t))&&t.replace(Rn,Pe).replace(oe,"")}function mi(t,n,e){return t=pi(t),(n=e?G:n)===G?function(t){return ae.test(t)}(t)?function(t){return t.match(ue)||[]}(t):function(t){return t.match(En)||[]}(t):t.match(n)||[]}function xi(t){return function(){return t}}function wi(t){return t}function Ei(t){return De("function"==typeof t?t:Kn(t,J))}function Si(t,n,e){var r=bi(n),o=be(n,r);null!=e||ni(n)&&(o.length||!r.length)||(e=n,n=t,t=this,o=be(n,bi(n)));var i=!(ni(e)&&"chain"in e&&!e.chain),u=Zo(t);return f(o,function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(i||n){var e=t(this.__wrapped__);return(e.__actions__=Mr(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,d([this.value()],arguments))})}),t}function Mi(){}function Ti(t){return po(t)?x(wo(t)):function(t){return function(n){return ge(n,t)}}(t)}function ki(){return[]}function Ci(){return!1}var Pi=(n=null==n?ye:Re.defaults(ye.Object(),n,Re.pick(ye,fe))).Array,Ni=n.Date,Ai=n.Error,Ri=n.Function,Bi=n.Math,Ii=n.Object,Li=n.RegExp,zi=n.String,qi=n.TypeError,Fi=Pi.prototype,Di=Ri.prototype,Gi=Ii.prototype,Ui=n["__core-js_shared__"],Hi=Di.toString,Vi=Gi.hasOwnProperty,Wi=0,$i=function(){var t=/[^.]+$/.exec(Ui&&Ui.keys&&Ui.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Yi=Gi.toString,Ji=Hi.call(Ii),Xi=ye._,Ki=Li("^"+Hi.call(Vi).replace(gn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zi=_e?n.Buffer:G,Qi=n.Symbol,tu=n.Uint8Array,nu=Zi?Zi.allocUnsafe:G,eu=I(Ii.getPrototypeOf,Ii),ru=Ii.create,ou=Gi.propertyIsEnumerable,iu=Fi.splice,uu=Qi?Qi.isConcatSpreadable:G,cu=Qi?Qi.iterator:G,au=Qi?Qi.toStringTag:G,fu=function(){try{var t=co(Ii,"defineProperty");return t({},"",{}),t}catch(t){}}(),su=n.clearTimeout!==ye.clearTimeout&&n.clearTimeout,lu=Ni&&Ni.now!==ye.Date.now&&Ni.now,hu=n.setTimeout!==ye.setTimeout&&n.setTimeout,pu=Bi.ceil,vu=Bi.floor,du=Ii.getOwnPropertySymbols,bu=Zi?Zi.isBuffer:G,gu=n.isFinite,yu=Fi.join,ju=I(Ii.keys,Ii),Ou=Bi.max,_u=Bi.min,mu=Ni.now,xu=n.parseInt,wu=Bi.random,Eu=Fi.reverse,Su=co(n,"DataView"),Mu=co(n,"Map"),Tu=co(n,"Promise"),ku=co(n,"Set"),Cu=co(n,"WeakMap"),Pu=co(Ii,"create"),Nu=Cu&&new Cu,Au={},Ru=Eo(Su),Bu=Eo(Mu),Iu=Eo(Tu),Lu=Eo(ku),zu=Eo(Cu),qu=Qi?Qi.prototype:G,Fu=qu?qu.valueOf:G,Du=qu?qu.toString:G,Gu=function(){function t(){}return function(n){if(!ni(n))return{};if(ru)return ru(n);t.prototype=n;var e=new t;return t.prototype=G,e}}();e.templateSettings={escape:sn,evaluate:ln,interpolate:hn,variable:"",imports:{_:e}},(e.prototype=r.prototype).constructor=e,(o.prototype=Gu(r.prototype)).constructor=o,(w.prototype=Gu(r.prototype)).constructor=w,Ln.prototype.clear=function(){this.__data__=Pu?Pu(null):{},this.size=0},Ln.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ln.prototype.get=function(t){var n=this.__data__;if(Pu){var e=n[t];return e===W?G:e}return Vi.call(n,t)?n[t]:G},Ln.prototype.has=function(t){var n=this.__data__;return Pu?n[t]!==G:Vi.call(n,t)},Ln.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Pu&&n===G?W:n,this},zn.prototype.clear=function(){this.__data__=[],this.size=0},zn.prototype.delete=function(t){var n=this.__data__,e=Wn(n,t);return!(e<0||(e==n.length-1?n.pop():iu.call(n,e,1),--this.size,0))},zn.prototype.get=function(t){var n=this.__data__,e=Wn(n,t);return e<0?G:n[e][1]},zn.prototype.has=function(t){return Wn(this.__data__,t)>-1},zn.prototype.set=function(t,n){var e=this.__data__,r=Wn(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Ln,map:new(Mu||zn),string:new Ln}},qn.prototype.delete=function(t){var n=io(this,t).delete(t);return this.size-=n?1:0,n},qn.prototype.get=function(t){return io(this,t).get(t)},qn.prototype.has=function(t){return io(this,t).has(t)},qn.prototype.set=function(t,n){var e=io(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},Fn.prototype.add=Fn.prototype.push=function(t){return this.__data__.set(t,W),this},Fn.prototype.has=function(t){return this.__data__.has(t)},Dn.prototype.clear=function(){this.__data__=new zn,this.size=0},Dn.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Dn.prototype.get=function(t){return this.__data__.get(t)},Dn.prototype.has=function(t){return this.__data__.has(t)},Dn.prototype.set=function(t,n){var e=this.__data__;if(e instanceof zn){var r=e.__data__;if(!Mu||r.length1?t[n-1]:G;return e="function"==typeof e?(t.pop(),e):G,Bo(t,e)}),wc=Qr(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(n){return Jn(n,t)};return!(n>1||this.__actions__.length)&&r instanceof w&&lo(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:Lo,args:[i],thisArg:G}),new o(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push(G),t})):this.thru(i)}),Ec=kr(function(t,n,e){Vi.call(t,e)?++t[e]:Yn(t,e,1)}),Sc=Ir(Mo),Mc=Ir(To),Tc=kr(function(t,n,e){Vi.call(t,e)?t[e].push(n):Yn(t,e,[n])}),kc=er(function(t,n,e){var r=-1,o="function"==typeof n,i=Jo(t)?Pi(t.length):[];return Uu(t,function(t){i[++r]=o?a(n,t,e):Ie(t,n,e)}),i}),Cc=kr(function(t,n,e){Yn(t,e,n)}),Pc=kr(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]}),Nc=er(function(t,n){if(null==t)return[];var e=n.length;return e>1&&ho(t,n[0],n[1])?n=[]:e>2&&ho(n[0],n[1],n[2])&&(n=[n[0]]),Xe(t,ie(n,1),[])}),Ac=lu||function(){return ye.Date.now()},Rc=er(function(t,n,e){var r=tt;if(e.length){var o=L(e,ro(Rc));r|=it}return Yr(t,r,n,e,o)}),Bc=er(function(t,n,e){var r=tt|nt;if(e.length){var o=L(e,ro(Bc));r|=it}return Yr(n,r,t,e,o)}),Ic=er(function(t,n){return Qn(t,1,n)}),Lc=er(function(t,n,e){return Qn(t,li(n)||0,e)});Wo.Cache=qn;var zc=Ju(function(t,n){var e=(n=1==n.length&&Vc(n[0])?v(n[0],T(oo())):v(ie(n,1),T(oo()))).length;return er(function(r){for(var o=-1,i=_u(r.length,e);++o=n}),Hc=Le(function(){return arguments}())?Le:function(t){return ei(t)&&Vi.call(t,"callee")&&!ou.call(t,"callee")},Vc=Pi.isArray,Wc=we?T(we):function(t){return ei(t)&&Oe(t)==Vt},$c=bu||Ci,Yc=Ee?T(Ee):function(t){return ei(t)&&Oe(t)==Tt},Jc=Se?T(Se):function(t){return ei(t)&&nc(t)==At},Xc=Me?T(Me):function(t){return ei(t)&&Oe(t)==zt},Kc=Te?T(Te):function(t){return ei(t)&&nc(t)==qt},Zc=ke?T(ke):function(t){return ei(t)&&ti(t.length)&&!!le[Oe(t)]},Qc=Hr(He),ta=Hr(function(t,n){return t<=n}),na=Cr(function(t,n){if(bo(n)||Jo(n))Tr(n,bi(n),t);else for(var e in n)Vi.call(n,e)&&Vn(t,e,n[e])}),ea=Cr(function(t,n){Tr(n,gi(n),t)}),ra=Cr(function(t,n,e,r){Tr(n,gi(n),t,r)}),oa=Cr(function(t,n,e,r){Tr(n,bi(n),t,r)}),ia=Qr(Jn),ua=er(function(t){return t.push(G,Jr),a(ra,G,t)}),ca=er(function(t){return t.push(G,Xr),a(ha,G,t)}),aa=qr(function(t,n,e){t[n]=e},xi(wi)),fa=qr(function(t,n,e){Vi.call(t,n)?t[n].push(e):t[n]=[e]},oo),sa=er(Ie),la=Cr(function(t,n,e){Ye(t,n,e)}),ha=Cr(function(t,n,e,r){Ye(t,n,e,r)}),pa=Qr(function(t,n){var e={};if(null==t)return e;var r=!1;n=v(n,function(n){return n=jr(n,t),r||(r=n.length>1),n}),Tr(t,no(t),e),r&&(e=Kn(e,J|X|K,Kr));for(var o=n.length;o--;)lr(e,n[o]);return e}),va=Qr(function(t,n){return null==t?{}:function(t,n){return Ke(t,n,function(n,e){return di(t,e)})}(t,n)}),da=$r(bi),ba=$r(gi),ga=Rr(function(t,n,e){return n=n.toLowerCase(),t+(e?Oi(n):n)}),ya=Rr(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),ja=Rr(function(t,n,e){return t+(e?" ":"")+n.toLowerCase()}),Oa=Ar("toLowerCase"),_a=Rr(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}),ma=Rr(function(t,n,e){return t+(e?" ":"")+wa(n)}),xa=Rr(function(t,n,e){return t+(e?" ":"")+n.toUpperCase()}),wa=Ar("toUpperCase"),Ea=er(function(t,n){try{return a(t,G,n)}catch(t){return Ko(t)?t:new Ai(t)}}),Sa=Qr(function(t,n){return f(n,function(n){n=wo(n),Yn(t,n,Rc(t[n],t))}),t}),Ma=Lr(),Ta=Lr(!0),ka=er(function(t,n){return function(e){return Ie(e,t,n)}}),Ca=er(function(t,n){return function(e){return Ie(t,e,n)}}),Pa=Dr(v),Na=Dr(s),Aa=Dr(g),Ra=Ur(),Ba=Ur(!0),Ia=Fr(function(t,n){return t+n},0),La=Wr("ceil"),za=Fr(function(t,n){return t/n},1),qa=Wr("floor"),Fa=Fr(function(t,n){return t*n},1),Da=Wr("round"),Ga=Fr(function(t,n){return t-n},0);return e.after=function(t,n){if("function"!=typeof n)throw new qi(V);return t=fi(t),function(){if(--t<1)return n.apply(this,arguments)}},e.ary=Do,e.assign=na,e.assignIn=ea,e.assignInWith=ra,e.assignWith=oa,e.at=ia,e.before=Go,e.bind=Rc,e.bindAll=Sa,e.bindKey=Bc,e.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Vc(t)?t:[t]},e.chain=Io,e.chunk=function(t,n,e){n=(e?ho(t,n,e):n===G)?1:Ou(fi(n),0);var r=null==t?0:t.length;if(!r||n<1)return[];for(var o=0,i=0,u=Pi(pu(r/n));oo?0:o+e),(r=r===G||r>o?o:fi(r))<0&&(r+=o),r=e>r?0:si(r);e>>0)?(t=pi(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=fr(n))&&R(t)?Or(D(t),0,e):t.split(n,e):[]},e.spread=function(t,n){if("function"!=typeof t)throw new qi(V);return n=null==n?0:Ou(fi(n),0),er(function(e){var r=e[n],o=Or(e,0,n);return r&&d(o,r),a(t,this,o)})},e.tail=function(t){var n=null==t?0:t.length;return n?or(t,1,n):[]},e.take=function(t,n,e){return t&&t.length?(n=e||n===G?1:fi(n),or(t,0,n<0?0:n)):[]},e.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===G?1:fi(n),n=r-n,or(t,n<0?0:n,r)):[]},e.takeRightWhile=function(t,n){return t&&t.length?pr(t,oo(n,3),!1,!0):[]},e.takeWhile=function(t,n){return t&&t.length?pr(t,oo(n,3)):[]},e.tap=function(t,n){return n(t),t},e.throttle=function(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new qi(V);return ni(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),Vo(t,n,{leading:r,maxWait:n,trailing:o})},e.thru=Lo,e.toArray=ci,e.toPairs=da,e.toPairsIn=ba,e.toPath=function(t){return Vc(t)?v(t,wo):ui(t)?[t]:Mr(uc(pi(t)))},e.toPlainObject=hi,e.transform=function(t,n,e){var r=Vc(t),o=r||$c(t)||Zc(t);if(n=oo(n,4),null==e){var i=t&&t.constructor;e=o?r?new i:[]:ni(t)&&Zo(i)?Gu(eu(t)):{}}return(o?f:ce)(t,function(t,r,o){return n(e,t,r,o)}),e},e.unary=function(t){return Do(t,1)},e.union=dc,e.unionBy=bc,e.unionWith=gc,e.uniq=function(t){return t&&t.length?sr(t):[]},e.uniqBy=function(t,n){return t&&t.length?sr(t,oo(n,2)):[]},e.uniqWith=function(t,n){return n="function"==typeof n?n:G,t&&t.length?sr(t,G,n):[]},e.unset=function(t,n){return null==t||lr(t,n)},e.unzip=Ro,e.unzipWith=Bo,e.update=function(t,n,e){return null==t?t:hr(t,n,yr(e))},e.updateWith=function(t,n,e,r){return r="function"==typeof r?r:G,null==t?t:hr(t,n,yr(e),r)},e.values=ji,e.valuesIn=function(t){return null==t?[]:k(t,gi(t))},e.without=yc,e.words=mi,e.wrap=function(t,n){return qc(yr(n),t)},e.xor=jc,e.xorBy=Oc,e.xorWith=_c,e.zip=mc,e.zipObject=function(t,n){return br(t||[],n||[],Vn)},e.zipObjectDeep=function(t,n){return br(t||[],n||[],rr)},e.zipWith=xc,e.entries=da,e.entriesIn=ba,e.extend=ea,e.extendWith=ra,Si(e,e),e.add=Ia,e.attempt=Ea,e.camelCase=ga,e.capitalize=Oi,e.ceil=La,e.clamp=function(t,n,e){return e===G&&(e=n,n=G),e!==G&&(e=(e=li(e))==e?e:0),n!==G&&(n=(n=li(n))==n?n:0),Xn(li(t),n,e)},e.clone=function(t){return Kn(t,K)},e.cloneDeep=function(t){return Kn(t,J|K)},e.cloneDeepWith=function(t,n){return n="function"==typeof n?n:G,Kn(t,J|K,n)},e.cloneWith=function(t,n){return n="function"==typeof n?n:G,Kn(t,K,n)},e.conformsTo=function(t,n){return null==n||Zn(t,n,bi(n))},e.deburr=_i,e.defaultTo=function(t,n){return null==t||t!=t?n:t},e.divide=za,e.endsWith=function(t,n,e){t=pi(t),n=fr(n);var r=t.length,o=e=e===G?r:Xn(fi(e),0,r);return(e-=n.length)>=0&&t.slice(e,o)==n},e.eq=Yo,e.escape=function(t){return(t=pi(t))&&fn.test(t)?t.replace(cn,Ne):t},e.escapeRegExp=function(t){return(t=pi(t))&&yn.test(t)?t.replace(gn,"\\$&"):t},e.every=function(t,n,e){var r=Vc(t)?s:function(t,n){var e=!0;return Uu(t,function(t,r,o){return e=!!n(t,r,o)}),e};return e&&ho(t,n,e)&&(n=G),r(t,oo(n,3))},e.find=Sc,e.findIndex=Mo,e.findKey=function(t,n){return y(t,oo(n,3),ce)},e.findLast=Mc,e.findLastIndex=To,e.findLastKey=function(t,n){return y(t,oo(n,3),pe)},e.floor=qa,e.forEach=zo,e.forEachRight=qo,e.forIn=function(t,n){return null==t?t:Vu(t,oo(n,3),gi)},e.forInRight=function(t,n){return null==t?t:Wu(t,oo(n,3),gi)},e.forOwn=function(t,n){return t&&ce(t,oo(n,3))},e.forOwnRight=function(t,n){return t&&pe(t,oo(n,3))},e.get=vi,e.gt=Gc,e.gte=Uc,e.has=function(t,n){return null!=t&&ao(t,n,xe)},e.hasIn=di,e.head=Co,e.identity=wi,e.includes=function(t,n,e,r){t=Jo(t)?t:ji(t),e=e&&!r?fi(e):0;var o=t.length;return e<0&&(e=Ou(o+e,0)),ii(t)?e<=o&&t.indexOf(n,e)>-1:!!o&&O(t,n,e)>-1},e.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=null==e?0:fi(e);return o<0&&(o=Ou(r+o,0)),O(t,n,o)},e.inRange=function(t,n,e){return n=ai(n),e===G?(e=n,n=0):e=ai(e),t=li(t),function(t,n,e){return t>=_u(n,e)&&t=-gt&&t<=gt},e.isSet=Kc,e.isString=ii,e.isSymbol=ui,e.isTypedArray=Zc,e.isUndefined=function(t){return t===G},e.isWeakMap=function(t){return ei(t)&&nc(t)==Ut},e.isWeakSet=function(t){return ei(t)&&Oe(t)==Ht},e.join=function(t,n){return null==t?"":yu.call(t,n)},e.kebabCase=ya,e.last=Po,e.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r;return e!==G&&(o=(o=fi(e))<0?Ou(r+o,0):_u(o,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,o):j(t,_,o,!0)},e.lowerCase=ja,e.lowerFirst=Oa,e.lt=Qc,e.lte=ta,e.max=function(t){return t&&t.length?ne(t,wi,me):G},e.maxBy=function(t,n){return t&&t.length?ne(t,oo(n,2),me):G},e.mean=function(t){return m(t,wi)},e.meanBy=function(t,n){return m(t,oo(n,2))},e.min=function(t){return t&&t.length?ne(t,wi,He):G},e.minBy=function(t,n){return t&&t.length?ne(t,oo(n,2),He):G},e.stubArray=ki,e.stubFalse=Ci,e.stubObject=function(){return{}},e.stubString=function(){return""},e.stubTrue=function(){return!0},e.multiply=Fa,e.nth=function(t,n){return t&&t.length?Je(t,fi(n)):G},e.noConflict=function(){return ye._===this&&(ye._=Xi),this},e.noop=Mi,e.now=Ac,e.pad=function(t,n,e){t=pi(t);var r=(n=fi(n))?F(t):0;if(!n||r>=n)return t;var o=(n-r)/2;return Gr(vu(o),e)+t+Gr(pu(o),e)},e.padEnd=function(t,n,e){t=pi(t);var r=(n=fi(n))?F(t):0;return n&&rn){var r=t;t=n,n=r}if(e||t%1||n%1){var o=wu();return _u(t+o*(n-t+ve("1e-"+((o+"").length-1))),n)}return tr(t,n)},e.reduce=function(t,n,e){var r=Vc(t)?b:E,o=arguments.length<3;return r(t,oo(n,4),e,o,Uu)},e.reduceRight=function(t,n,e){var r=Vc(t)?function(t,n,e,r){var o=null==t?0:t.length;for(r&&o&&(e=t[--o]);o--;)e=n(e,t[o],o,t);return e}:E,o=arguments.length<3;return r(t,oo(n,4),e,o,Hu)},e.repeat=function(t,n,e){return n=(e?ho(t,n,e):n===G)?1:fi(n),nr(pi(t),n)},e.replace=function(){var t=arguments,n=pi(t[0]);return t.length<3?n:n.replace(t[1],t[2])},e.result=function(t,n,e){var r=-1,o=(n=jr(n,t)).length;for(o||(o=1,t=G);++rgt)return[];var e=Ot,r=_u(t,Ot);n=oo(n),t-=Ot;for(var o=M(r,n);++e=i)return t;var c=e-F(r);if(c<1)return r;var a=u?Or(u,0,c).join(""):t.slice(0,c);if(o===G)return a+r;if(u&&(c+=a.length-c),Xc(o)){if(t.slice(c).search(o)){var f,s=a;for(o.global||(o=Li(o.source,pi(Tn.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;a=a.slice(0,l===G?c:l)}}else if(t.indexOf(fr(o),c)!=c){var h=a.lastIndexOf(o);h>-1&&(a=a.slice(0,h))}return a+r},e.unescape=function(t){return(t=pi(t))&&an.test(t)?t.replace(un,Ae):t},e.uniqueId=function(t){var n=++Wi;return pi(t)+n},e.upperCase=xa,e.upperFirst=wa,e.each=zo,e.eachRight=qo,e.first=Co,Si(e,function(){var t={};return ce(e,function(n,r){Vi.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION="4.17.4",f(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),f(["drop","take"],function(t,n){w.prototype[t]=function(e){e=e===G?1:Ou(fi(e),0);var r=this.__filtered__&&!n?new w(this):this.clone();return r.__filtered__?r.__takeCount__=_u(e,r.__takeCount__):r.__views__.push({size:_u(e,Ot),type:t+(r.__dir__<0?"Right":"")}),r},w.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}}),f(["filter","map","takeWhile"],function(t,n){var e=n+1,r=e==vt||3==e;w.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:oo(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}}),f(["head","last"],function(t,n){var e="take"+(n?"Right":"");w.prototype[t]=function(){return this[e](1).value()[0]}}),f(["initial","tail"],function(t,n){var e="drop"+(n?"":"Right");w.prototype[t]=function(){return this.__filtered__?new w(this):this[e](1)}}),w.prototype.compact=function(){return this.filter(wi)},w.prototype.find=function(t){return this.filter(t).head()},w.prototype.findLast=function(t){return this.reverse().find(t)},w.prototype.invokeMap=er(function(t,n){return"function"==typeof t?new w(this):this.map(function(e){return Ie(e,t,n)})}),w.prototype.reject=function(t){return this.filter($o(oo(t)))},w.prototype.slice=function(t,n){t=fi(t);var e=this;return e.__filtered__&&(t>0||n<0)?new w(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==G&&(e=(n=fi(n))<0?e.dropRight(-n):e.take(n-t)),e)},w.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},w.prototype.toArray=function(){return this.take(Ot)},ce(w.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),u=e[i?"take"+("last"==n?"Right":""):n],c=i||/^find/.test(n);u&&(e.prototype[n]=function(){var n=this.__wrapped__,a=i?[1]:arguments,f=n instanceof w,s=a[0],l=f||Vc(n),h=function(t){var n=u.apply(e,d([t],a));return i&&p?n[0]:n};l&&r&&"function"==typeof s&&1!=s.length&&(f=l=!1);var p=this.__chain__,v=!!this.__actions__.length,b=c&&!p,g=f&&!v;if(!c&&l){n=g?n:new w(this);var y=t.apply(n,a);return y.__actions__.push({func:Lo,args:[h],thisArg:G}),new o(y,p)}return b&&g?t.apply(this,a):(y=this.thru(h),b?i?y.value()[0]:y.value():y)})}),f(["pop","push","shift","sort","splice","unshift"],function(t){var n=Fi[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var e=this.value();return n.apply(Vc(e)?e:[],t)}return this[r](function(e){return n.apply(Vc(e)?e:[],t)})}}),ce(w.prototype,function(t,n){var r=e[n];if(r){var o=r.name+"";(Au[o]||(Au[o]=[])).push({name:n,func:r})}}),Au[zr(G,nt).name]=[{name:"wrapper",func:G}],w.prototype.clone=function(){var t=new w(this.__wrapped__);return t.__actions__=Mr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Mr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Mr(this.__views__),t},w.prototype.reverse=function(){if(this.__filtered__){var t=new w(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},w.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Vc(t),r=n<0,o=e?t.length:0,i=function(t,n,e){for(var r=-1,o=e.length;++r=this.__values__.length;return{done:t,value:t?G:this.__values__[this.__index__++]}},e.prototype.plant=function(t){for(var n,e=this;e instanceof r;){var o=So(e);o.__index__=0,o.__values__=G,n?i.__wrapped__=o:n=o;var i=o;e=e.__wrapped__}return i.__wrapped__=t,n},e.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof w){var n=t;return this.__actions__.length&&(n=new w(this)),(n=n.reverse()).__actions__.push({func:Lo,args:[Ao],thisArg:G}),new o(n,this.__chain__)}return this.thru(Ao)},e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=function(){return vr(this.__wrapped__,this.__actions__)},e.prototype.first=e.prototype.head,cu&&(e.prototype[cu]=function(){return this}),e}();"object"==i(e(264))&&e(264)?(ye._=Re,(o=function(){return Re}.call(n,e,n,r))!==G&&(r.exports=o)):Oe?((Oe.exports=Re)._=Re,je._=Re):ye._=Re}).call(this)}).call(n,e(146),e(43)(t))},function(t,n){(function(n){t.exports=n}).call(n,{})},function(t,n,e){var r=e(15),o=e(266);t.exports=function(t,n,e,r){return function(t,n,e,r){var i,u,c={},a=new o,f=function(t){var n=t.v!==i?t.v:t.w,r=c[n],o=e(t),f=u.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+o);f0&&(i=a.removeMin(),(u=c[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(f);return c}(t,String(n),e||i,r||function(n){return t.outEdges(n)})};var i=r.constant(1)},function(t,n,e){function r(){this._arr=[],this._keyIndices={}}var o=e(15);t.exports=r,r.prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map(function(t){return t.key})},r.prototype.has=function(t){return o.has(this._keyIndices,t)},r.prototype.priority=function(t){var n=this._keyIndices[t];if(void 0!==n)return this._arr[n].priority},r.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(t,n){var e=this._keyIndices;if(t=String(t),!o.has(e,t)){var r=this._arr,i=r.length;return e[t]=i,r.push({key:t,priority:n}),this._decrease(i),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},r.prototype.decrease=function(t,n){var e=this._keyIndices[t];if(n>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[e].priority+" New: "+n);this._arr[e].priority=n,this._decrease(e)},r.prototype._heapify=function(t){var n=this._arr,e=2*t,r=e+1,o=t;e>1,!(e[n].priority=o;--i)v.point(g[i],y[i]);v.lineEnd(),v.areaEnd()}b&&(g[n]=+e(u,n,t),y[n]=+f(u,n,t),v.point(a?+a(u,n,t):g[n],s?+s(u,n,t):y[n]))}if(c)return v=null,c+""||null}function n(){return Object(u.a)().defined(l).curve(p).context(h)}var e=c.a,a=null,f=Object(o.a)(0),s=c.b,l=Object(o.a)(!0),h=null,p=i.a,v=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Object(o.a)(+n),a=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:Object(o.a)(+n),t):e},t.x1=function(n){return arguments.length?(a=null==n?null:"function"==typeof n?n:Object(o.a)(+n),t):a},t.y=function(n){return arguments.length?(f="function"==typeof n?n:Object(o.a)(+n),s=null,t):f},t.y0=function(n){return arguments.length?(f="function"==typeof n?n:Object(o.a)(+n),t):f},t.y1=function(n){return arguments.length?(s=null==n?null:"function"==typeof n?n:Object(o.a)(+n),t):s},t.lineX0=t.lineY0=function(){return n().x(e).y(f)},t.lineY1=function(){return n().x(e).y(s)},t.lineX1=function(){return n().x(a).y(f)},t.defined=function(n){return arguments.length?(l="function"==typeof n?n:Object(o.a)(!!n),t):l},t.curve=function(n){return arguments.length?(p=n,null!=h&&(v=p(h)),t):p},t.context=function(n){return arguments.length?(null==n?h=v=null:v=p(h=n),t):h},t}},function(t,n,e){"use strict";function r(t){this._curve=t}function o(t){function n(n){return new r(t(n))}return n._curve=t,n}e.d(n,"a",function(){return i}),n.b=o;var i=o(e(81).a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}}},function(t,n,e){"use strict";function r(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Object(o.b)(t)):n()._curve},t}n.a=r;var o=e(273);e(137)},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(58);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),o=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/o),i=e*r;t.moveTo(0,-e),t.lineTo(i,0),t.lineTo(0,e),t.lineTo(-i,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(58),o=Math.sin(r.j/10)/Math.sin(7*r.j/10),i=Math.sin(r.m/10)*o,u=-Math.cos(r.m/10)*o;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),o=i*e,c=u*e;t.moveTo(0,-e),t.lineTo(o,c);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*o-l*c,l*o+s*c)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,o=Math.sqrt(3)/2,i=1/Math.sqrt(12),u=3*(i/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/u),c=e/2,a=e*i,f=c,s=e*i+e,l=-f,h=s;t.moveTo(c,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*c-o*a,o*c+r*a),t.lineTo(r*f-o*s,o*f+r*s),t.lineTo(r*l-o*h,o*l+r*h),t.lineTo(r*c+o*a,r*a-o*c),t.lineTo(r*f+o*s,r*s-o*f),t.lineTo(r*l+o*h,r*h-o*l),t.closePath()}}},function(t,n,e){"use strict";function r(t,n){this._context=t,this._k=(1-n)/6}n.a=r;var o=e(82),i=e(84);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(i.b)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return new r(t,n)}return e.tension=function(n){return t(+n)},e})(0)},function(t,n,e){"use strict";function r(t,n){this._context=t,this._k=(1-n)/6}n.a=r;var o=e(84);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(o.b)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return new r(t,n)}return e.tension=function(n){return t(+n)},e})(0)},function(t,n,e){"use strict";function r(t,n){var e=t.site,r=n.left,o=n.right;return e===o&&(o=r,r=e),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(e===r?(r=n[1],o=n[0]):(r=n[0],o=n[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function o(t,n){return n[+(n.left!==t.site)]}function i(t,n){return n[+(n.left===t.site)]}n.c=function(t){return c.b[t.index]={site:t,halfedges:[]}},n.a=o,n.d=function(){for(var t,n,e,o,i=0,u=c.b.length;ic.f||Math.abs(j-b)>c.f)&&(h.splice(l,0,c.e.push(Object(u.b)(s,g,Math.abs(y-t)c.f?[t,Math.abs(d-t)c.f?[Math.abs(b-r)c.f?[e,Math.abs(d-e)c.f?[Math.abs(b-n)=-i.g)){var g=h*h+p*p,y=v*v+d*d,j=(d*g-p*y)/b,O=(h*y-v*g)/b,_=u.pop()||new function(){Object(o.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};_.arc=t,_.site=a,_.x=j+s,_.y=(_.cy=O+l)+Math.sqrt(j*j+O*O),t.circle=_;for(var m=null,x=i.c._;x;)if(_.y1?e[i-1]:void 0,c=i>2?e[2]:void 0;for(u=t.length>3&&"function"==typeof u?(i--,u):void 0,c&&o(e[0],e[1],c)&&(u=i<3?void 0:u,i=1),n=Object(n);++r0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},function(t,n){t.exports=function(t,n){for(var e=-1,r=Array(t);++eb&&(b=n)}function o(t,n){var e=Object(E.a)([t*S.r,n*S.r]);if(O){var r=Object(E.c)(O,e),o=[r[1],-r[0],0],i=Object(E.c)(o,r);Object(E.e)(i),i=Object(E.g)(i);var u,c=t-g,a=c>0?1:-1,f=i[0]*S.h*a,l=Object(S.a)(c)>180;l^(a*gb&&(b=u):(f=(f+360)%360-180,l^(a*gb&&(b=n))),l?ts(p,d)&&(d=t):s(t,d)>s(p,d)&&(p=t):d>=p?(td&&(d=t)):t>g?s(p,t)>s(p,d)&&(d=t):s(t,d)>s(p,d)&&(p=t)}else _.push(m=[p=t,d=t]);nb&&(b=n),O=e,g=t}function i(){k.point=o}function u(){m[0]=p,m[1]=d,k.point=r,O=null}function c(t,n){if(O){var e=t-g;T.add(Object(S.a)(e)>180?e+(e>0?360:-360):e)}else y=t,j=n;w.b.point(t,n),o(t,n)}function a(){w.b.lineStart()}function f(){c(y,j),w.b.lineEnd(),Object(S.a)(T)>S.i&&(p=-(d=180)),m[0]=p,m[1]=d,O=null}function s(t,n){return(n-=t)<0?n+360:n}function l(t,n){return t[0]-n[0]}function h(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nS.i?b=90:T<-S.i&&(v=-90),m[0]=p,m[1]=d}};n.a=function(t){var n,e,r,o,i,u,c;if(b=d=-(p=v=1/0),_=[],Object(M.a)(t,k),e=_.length){for(_.sort(l),n=1,i=[r=_[0]];ns(r[0],r[1])&&(r[1]=o[1]),s(o[0],r[1])>s(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(u=-1/0,n=0,r=i[e=i.length-1];n<=e;r=o,++n)o=i[n],(c=s(r[1],o[0]))>u&&(u=c,p=o[0],d=r[1])}return _=m=null,p===1/0||v===1/0?[[NaN,NaN],[NaN,NaN]]:[[p,v],[d,b]]}},function(t,n,e){"use strict";function r(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);o(e*Object(k.g)(t),e*Object(k.t)(t),Object(k.t)(n))}function o(t,n,e){d+=(t-d)/++p,b+=(n-b)/p,g+=(e-g)/p}function i(){N.point=u}function u(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);S=e*Object(k.g)(t),M=e*Object(k.t)(t),T=Object(k.t)(n),N.point=c,o(S,M,T)}function c(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),u=Object(k.t)(n),c=Object(k.e)(Object(k.u)((c=M*u-T*i)*c+(c=T*r-S*u)*c+(c=S*i-M*r)*c),S*r+M*i+T*u);v+=c,y+=c*(S+(S=r)),j+=c*(M+(M=i)),O+=c*(T+(T=u)),o(S,M,T)}function a(){N.point=r}function f(){N.point=l}function s(){h(w,E),N.point=r}function l(t,n){w=t,E=n,t*=k.r,n*=k.r,N.point=h;var e=Object(k.g)(n);S=e*Object(k.g)(t),M=e*Object(k.t)(t),T=Object(k.t)(n),o(S,M,T)}function h(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),u=Object(k.t)(n),c=M*u-T*i,a=T*r-S*u,f=S*i-M*r,s=Object(k.u)(c*c+a*a+f*f),l=Object(k.c)(s),h=s&&-l/s;_+=h*c,m+=h*a,x+=h*f,v+=l,y+=l*(S+(S=r)),j+=l*(M+(M=i)),O+=l*(T+(T=u)),o(S,M,T)}var p,v,d,b,g,y,j,O,_,m,x,w,E,S,M,T,k=e(5),C=e(25),P=e(30),N={sphere:C.a,point:r,lineStart:i,lineEnd:a,polygonStart:function(){N.lineStart=f,N.lineEnd=s},polygonEnd:function(){N.lineStart=i,N.lineEnd=a}};n.a=function(t){p=v=d=b=g=y=j=O=_=m=x=0,Object(P.a)(t,N);var n=_,e=m,r=x,o=n*n+e*e+r*r;return o0)){if(u/=l,l<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=o-c,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u0)){if(u/=h,h<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=i-a,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u0&&(t[0]=c+f*l,t[1]=a+f*h),s<1&&(n[0]=c+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(162);n.a=function(t,n,e){var o,i,u,c,a=t.length,f=n.length,s=new Array(a*f);for(null==e&&(e=r.b),o=u=0;ot?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(166),o=e(160),i=e(316),u=e(165),c=e(317),a=e(167),f=e(168),s=e(169);n.a=function(){function t(t){var r,i,u=t.length,c=new Array(u);for(r=0;rp;)v.pop(),--d;var b,g=new Array(d+1);for(r=0;r<=d;++r)(b=g[r]=[]).x0=r>0?v[r-1]:h,b.x1=r=e)for(r=e;++ir&&(r=e)}else for(;++i=e)for(r=e;++ir&&(r=e);return r}},function(t,n,e){"use strict";var r=e(45);n.a=function(t,n){var e,o=t.length,i=o,u=-1,c=0;if(null==n)for(;++u=0;)for(n=(r=t[o]).length;--n>=0;)e[--u]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){if(e=t.length){var e,o,i=0,u=0,c=t[u];for(null==n&&(n=r.a);++ic.i}).map(v)).concat(Object(u.range)(Object(c.f)(l/j)*j,s,j).filter(function(t){return Object(c.a)(t%_)>c.i}).map(d))}var e,i,a,f,s,l,h,p,v,d,b,g,y=10,j=y,O=90,_=360,m=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[b(f).concat(g(h).slice(1),b(a).reverse().slice(1),g(p).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(f=+n[0][0],a=+n[1][0],p=+n[0][1],h=+n[1][1],f>a&&(n=f,f=a,a=n),p>h&&(n=p,p=h,h=n),t.precision(m)):[[f,p],[a,h]]},t.extentMinor=function(n){return arguments.length?(i=+n[0][0],e=+n[1][0],l=+n[0][1],s=+n[1][1],i>e&&(n=i,i=e,e=n),l>s&&(n=l,l=s,s=n),t.precision(m)):[[i,l],[e,s]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(O=+n[0],_=+n[1],t):[O,_]},t.stepMinor=function(n){return arguments.length?(y=+n[0],j=+n[1],t):[y,j]},t.precision=function(n){return arguments.length?(m=+n,v=r(l,s,90),d=o(i,e,m),b=r(p,h,90),g=o(f,a,m),t):m},t.extentMajor([[-180,-90+c.i],[180,90-c.i]]).extentMinor([[-180,-80-c.i],[180,80+c.i]])}n.a=i,n.b=function(){return i()()};var u=e(14),c=e(5)},function(t,n,e){"use strict";var r=e(5);n.a=function(t,n){var e=t[0]*r.r,o=t[1]*r.r,i=n[0]*r.r,u=n[1]*r.r,c=Object(r.g)(o),a=Object(r.t)(o),f=Object(r.g)(u),s=Object(r.t)(u),l=c*Object(r.g)(e),h=c*Object(r.t)(e),p=f*Object(r.g)(i),v=f*Object(r.t)(i),d=2*Object(r.c)(Object(r.u)(Object(r.m)(u-o)+c*f*Object(r.m)(i-e))),b=Object(r.t)(d),g=d?function(t){var n=Object(r.t)(t*=d)/b,e=Object(r.t)(d-t)/b,o=e*l+n*p,i=e*h+n*v,u=e*a+n*s;return[Object(r.e)(i,o)*r.h,Object(r.e)(u,Object(r.u)(o*o+i*i))*r.h]}:function(){return[e*r.h,o*r.h]};return g.distance=d,g}},function(t,n,e){"use strict";var r=e(93),o=e(30),i=e(333),u=e(175),c=e(334),a=e(335),f=e(336),s=e(337);n.a=function(t,n){function e(t){return t&&("function"==typeof p&&h.pointRadius(+p.apply(this,arguments)),Object(o.a)(t,l(h))),h.result()}var l,h,p=4.5;return e.area=function(t){return Object(o.a)(t,l(i.a)),i.a.result()},e.measure=function(t){return Object(o.a)(t,l(f.a)),f.a.result()},e.bounds=function(t){return Object(o.a)(t,l(u.a)),u.a.result()},e.centroid=function(t){return Object(o.a)(t,l(c.a)),c.a.result()},e.projection=function(n){return arguments.length?(l=null==n?(t=null,r.a):(t=n).stream,e):t},e.context=function(t){return arguments.length?(h=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof p&&h.pointRadius(p),e):n},e.pointRadius=function(t){return arguments.length?(p="function"==typeof t?t:(h.pointRadius(+t),+t),e):p},e.projection(t).context(n)}},function(t,n,e){"use strict";function r(){b.point=o}function o(t,n){b.point=i,c=f=t,a=s=n}function i(t,n){d.add(s*t-f*n),f=t,s=n}function u(){i(c,a)}var c,a,f,s,l=e(37),h=e(5),p=e(25),v=Object(l.a)(),d=Object(l.a)(),b={point:p.a,lineStart:p.a,lineEnd:p.a,polygonStart:function(){b.lineStart=r,b.lineEnd=u},polygonEnd:function(){b.lineStart=b.lineEnd=b.point=p.a,v.add(Object(h.a)(d)),d.reset()},result:function(){var t=v/2;return v.reset(),t}};n.a=b},function(t,n,e){"use strict";function r(t,n){g+=t,y+=n,++j}function o(){S.point=i}function i(t,n){S.point=u,r(v=t,d=n)}function u(t,n){var e=t-v,o=n-d,i=Object(b.u)(e*e+o*o);O+=i*(v+t)/2,_+=i*(d+n)/2,m+=i,r(v=t,d=n)}function c(){S.point=r}function a(){S.point=s}function f(){l(h,p)}function s(t,n){S.point=l,r(h=v=t,p=d=n)}function l(t,n){var e=t-v,o=n-d,i=Object(b.u)(e*e+o*o);O+=i*(v+t)/2,_+=i*(d+n)/2,m+=i,x+=(i=d*t-v*n)*(v+t),w+=i*(d+n),E+=3*i,r(v=t,d=n)}var h,p,v,d,b=e(5),g=0,y=0,j=0,O=0,_=0,m=0,x=0,w=0,E=0,S={point:r,lineStart:o,lineEnd:c,polygonStart:function(){S.lineStart=a,S.lineEnd=f},polygonEnd:function(){S.point=r,S.lineStart=o,S.lineEnd=c},result:function(){var t=E?[x/E,w/E]:m?[O/m,_/m]:j?[g/j,y/j]:[NaN,NaN];return g=y=j=O=_=m=x=w=E=0,t}};n.a=S},function(t,n,e){"use strict";function r(t){this._context=t}n.a=r;var o=e(5),i=e(25);r.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,o.w)}},result:i.a}},function(t,n,e){"use strict";function r(t,n){v.point=o,u=a=t,c=f=n}function o(t,n){a-=t,f-=n,p.add(Object(l.u)(a*a+f*f)),a=t,f=n}var i,u,c,a,f,s=e(37),l=e(5),h=e(25),p=Object(s.a)(),v={point:h.a,lineStart:function(){v.point=r},lineEnd:function(){i&&o(u,c),v.point=h.a},polygonStart:function(){i=!0},polygonEnd:function(){i=null},result:function(){var t=+p;return p.reset(),t}};n.a=v},function(t,n,e){"use strict";function r(){this._string=[]}function o(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:o(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=o(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(177),o=e(5);n.a=Object(r.a)(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(u,c){var a=u>0?o.o:-o.o,f=Object(o.a)(u-e);Object(o.a)(f-o.o)0?o.l:-o.l),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(u,r),n=0):i!==a&&f>=o.o&&(Object(o.a)(e-i)o.i?Object(o.d)((Object(o.t)(n)*(u=Object(o.g)(r))*Object(o.t)(e)-Object(o.t)(r)*(i=Object(o.g)(n))*Object(o.t)(t))/(i*u*c)):(n+r)/2}(e,r,u,c),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=u,r=c),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*o.l,r.point(-o.o,i),r.point(0,i),r.point(o.o,i),r.point(o.o,0),r.point(o.o,-i),r.point(0,-i),r.point(-o.o,-i),r.point(-o.o,0),r.point(-o.o,i);else if(Object(o.a)(t[0]-n[0])>o.i){var u=t[0]s}function a(t,n,e){var o=Object(r.a)(t),u=Object(r.a)(n),c=[1,0,0],a=Object(r.c)(o,u),f=Object(r.d)(a,a),l=a[0],h=f-l*l;if(!h)return!e&&t;var p=s*f/h,v=-s*l/h,d=Object(r.c)(c,a),b=Object(r.f)(c,p),g=Object(r.f)(a,v);Object(r.b)(b,g);var y=d,j=Object(r.d)(b,y),O=Object(r.d)(y,y),_=j*j-O*(Object(r.d)(b,b)-1);if(!(_<0)){var m=Object(i.u)(_),x=Object(r.f)(y,(-j-m)/O);if(Object(r.b)(x,b),x=Object(r.g)(x),!e)return x;var w,E=t[0],S=n[0],M=t[1],T=n[1];S0^x[1]<(Object(i.a)(x[0]-E)i.o^(E<=x[0]&&x[0]<=S)){var N=Object(r.f)(y,(-j+m)/O);return Object(r.b)(N,b),[x,Object(r.g)(N)]}}}function f(n,e){var r=l?t:i.o-t,o=0;return n<-r?o|=1:n>r&&(o|=2),e<-r?o|=4:e>r&&(o|=8),o}var s=Object(i.g)(t),l=s>0,h=Object(i.a)(s)>i.i;return Object(c.a)(e,function(t){var n,r,o,c,s;return{lineStart:function(){c=o=!1,s=1},point:function(p,v){var d,b=[p,v],g=e(p,v),y=l?g?0:f(p,v):g?f(p+(p<0?i.o:-i.o),v):0;if(!n&&(c=o=g)&&t.lineStart(),g!==o&&(!(d=a(n,b))||Object(u.a)(n,d)||Object(u.a)(b,d))&&(b[0]+=i.i,b[1]+=i.i,g=e(b[0],b[1])),g!==o)s=0,g?(t.lineStart(),d=a(b,n),t.point(d[0],d[1])):(d=a(n,b),t.point(d[0],d[1]),t.lineEnd()),n=d;else if(h&&n&&l^g){var j;y&r||!(j=a(b,n,!0))||(s=0,l?(t.lineStart(),t.point(j[0][0],j[0][1]),t.point(j[1][0],j[1][1]),t.lineEnd()):(t.point(j[1][0],j[1][1]),t.lineEnd(),t.lineStart(),t.point(j[0][0],j[0][1])))}!g||n&&Object(u.a)(n,b)||t.point(b[0],b[1]),n=b,o=g,r=y},lineEnd:function(){o&&t.lineEnd(),n=null},clean:function(){return s|(c&&o)<<1}}},function(e,r,i,u){Object(o.a)(u,t,n,i,e,r)},l?[0,-t]:[-i.o,t-i.o])}},function(t,n,e){"use strict";var r=e(44),o=e(5),i=e(67),u=16,c=Object(o.g)(30*o.r);n.a=function(t,n){return+n?function(t,n){function e(r,i,u,a,f,s,l,h,p,v,d,b,g,y){var j=l-r,O=h-i,_=j*j+O*O;if(_>4*n&&g--){var m=a+v,x=f+d,w=s+b,E=Object(o.u)(m*m+x*x+w*w),S=Object(o.c)(w/=E),M=Object(o.a)(Object(o.a)(w)-1)n||Object(o.a)((j*P+O*N)/_-.5)>.3||a*v+f*d+s*b=.12&&o<.234&&r>=-.425&&r<-.214?p:o>=.166&&o<.234&&r>=-.214&&r<-.115?v:h).invert(t)},t.stream=function(t){return e&&c===t?e:e=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o0?n<-i.l+i.i&&(n=-i.l+i.i):n>i.l-i.i&&(n=i.l-i.i);var e=a/Object(i.p)(r(n),u);return[e*Object(i.t)(u*t),a-e*Object(i.g)(u*t)]}var o=Object(i.g)(t),u=t===n?Object(i.t)(t):Object(i.n)(o/Object(i.g)(n))/Object(i.n)(r(n)/r(t)),a=o*Object(i.p)(r(t),u)/u;return u?(e.invert=function(t,n){var e=a-n,r=Object(i.s)(u)*Object(i.u)(t*t+e*e);return[Object(i.e)(t,Object(i.a)(e))/u*Object(i.s)(e),2*Object(i.d)(Object(i.p)(a/r,1/u))-i.l]},e):c.c}n.a=o;var i=e(5),u=e(95),c=e(97);n.b=function(){return Object(u.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=c-n,r=i*t;return[e*Object(o.t)(r),c-e*Object(o.g)(r)]}var r=Object(o.g)(t),i=t===n?Object(o.t)(t):(r-Object(o.g)(n))/(n-t),c=r/i+t;return Object(o.a)(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";function r(t){function n(t,n){var e=Object(i.h)(t),o=Object(i.h)(n),u=Object(i.y)(n),c=o*e,a=-((1-c?Object(i.p)((1+c)/2)/(1-c):-.5)+r/(1+c));return[a*o*Object(i.y)(t),a*u]}var e=Object(i.F)(t/2),r=2*Object(i.p)(Object(i.h)(t/2))/(e*e);return n.invert=function(n,e){var o,u=Object(i.B)(n*n+e*e),c=-t/2,a=50;if(!u)return[0,0];do{var f=c/2,s=Object(i.h)(f),l=Object(i.y)(f),h=Object(i.F)(f),p=Object(i.p)(1/s);c-=o=(2/h*p-r*h-u)/(-p/(l*l)+1-r/(2*s*s))}while(Object(i.a)(o)>i.k&&--a>0);var v=Object(i.y)(c);return[Object(i.g)(n*v,u*Object(i.h)(c)),Object(i.e)(e*v/u)]},n}n.a=r;var o=e(0),i=e(1);n.b=function(){var t=i.o,n=Object(o.geoProjectionMutator)(r),e=n(t);return e.radius=function(e){return arguments.length?n(t=e*i.v):t*i.j},e.scale(179.976).clipAngle(147)}},function(t,n,e){"use strict";function r(t){function n(t,n){var a=Object(i.h)(n),f=Object(i.h)(t/=2);return[(1+a)*Object(i.y)(t),(o*n>-Object(i.g)(f,u)-.001?0:10*-o)+c+Object(i.y)(n)*r-(1+a)*e*f]}var e=Object(i.y)(t),r=Object(i.h)(t),o=t>=0?1:-1,u=Object(i.F)(o*t),c=(1+e-r)/2;return n.invert=function(t,n){var a=0,f=0,s=50;do{var l=Object(i.h)(a),h=Object(i.y)(a),p=Object(i.h)(f),v=Object(i.y)(f),d=1+p,b=d*h-t,g=c+v*r-d*e*l-n,y=d*l/2,j=-h*v,O=e*d*h/2,_=r*p+e*l*v,m=j*O-_*y,x=(g*j-b*_)/m/2,w=(b*O-g*y)/m;a-=x,f-=w}while((Object(i.a)(x)>i.k||Object(i.a)(w)>i.k)&&--s>0);return o*f>-Object(i.g)(Object(i.h)(a),u)-.001?[2*a,f]:null},n}n.a=r;var o=e(0),i=e(1);n.b=function(){var t=20*i.v,n=t>=0?1:-1,e=Object(i.F)(n*t),u=Object(o.geoProjectionMutator)(r),c=u(t),a=c.stream;return c.parallel=function(r){return arguments.length?(e=Object(i.F)((n=(t=r*i.v)>=0?1:-1)*t),u(t)):t*i.j},c.stream=function(r){var o=c.rotate(),u=a(r),f=(c.rotate([0,0]),a(r));return c.rotate(o),u.sphere=function(){f.polygonStart(),f.lineStart();for(var r=-180*n;n*r<180;r+=90*n)f.point(r,90*n);for(;n*(r-=t)>=-180;)f.point(r,n*-Object(i.g)(Object(i.h)(r*i.v/2),e)*i.j);f.lineEnd(),f.polygonEnd()},u},c.scale(218.695).center([0,28.0974])}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.a)(n);return ei.l&&--a>0);return[t/(Object(i.h)(o)*(u-1/Object(i.y)(o))),Object(i.x)(n)*o]},n.b=function(){return Object(o.geoProjection)(r).scale(112.314)}},function(t,n,e){"use strict";function r(t){function n(t,n){var r=Object(o.geoAzimuthalEquidistantRaw)(t,n);if(Object(i.a)(t)>i.o){var u=Object(i.g)(r[1],r[0]),c=Object(i.B)(r[0]*r[0]+r[1]*r[1]),a=e*Object(i.w)((u-i.o)/e)+i.o,f=Object(i.g)(Object(i.y)(u-=a),2-Object(i.h)(u));u=a+Object(i.e)(i.s/c*Object(i.y)(f))-f,r[0]=c*Object(i.h)(u),r[1]=c*Object(i.y)(u)}return r}var e=2*i.s/t;return n.invert=function(t,n){var r=Object(i.B)(t*t+n*n);if(r>i.o){var u=Object(i.g)(n,t),c=e*Object(i.w)((u-i.o)/e)+i.o,a=u>c?-1:1,f=r*Object(i.h)(c-u),s=1/Object(i.F)(a*Object(i.b)((f-i.s)/Object(i.B)(i.s*(i.s-2*f)+r*r)));u=c+2*Object(i.f)((s+a*Object(i.B)(s*s-3))/3),t=r*Object(i.h)(u),n=r*Object(i.y)(u)}return o.geoAzimuthalEquidistantRaw.invert(t,n)},n}n.a=r;var o=e(0),i=e(1);n.b=function(){var t=5,n=Object(o.geoProjectionMutator)(r),e=n(t),u=e.stream,c=-Object(i.h)(.01*i.v),a=Object(i.y)(.01*i.v);return e.lobes=function(e){return arguments.length?n(t=+e):t},e.stream=function(n){var r=e.rotate(),o=u(n),f=(e.rotate([0,0]),u(n));return e.rotate(r),o.sphere=function(){f.polygonStart(),f.lineStart();for(var n=0,e=360/t,r=2*i.s/t,o=90-180/t,u=i.o;n1||Object(s.a)(i)>1)u=Object(s.b)(e*o+n*r*c);else{var a=Object(s.y)(t/2),f=Object(s.y)(i/2);u=2*Object(s.e)(Object(s.B)(a*a+n*r*f*f))}return Object(s.a)(u)>s.k?[u,Object(s.g)(r*Object(s.y)(i),n*o-e*r*c)]:[0,0]}function o(t,n,e){return Object(s.b)((t*t+n*n-e*e)/(2*t*n))}function i(t){return t-2*s.s*Object(s.n)((t+s.s)/(2*s.s))}function u(t,n,e){for(var u,c=[[t[0],t[1],Object(s.y)(t[1]),Object(s.h)(t[1])],[n[0],n[1],Object(s.y)(n[1]),Object(s.h)(n[1])],[e[0],e[1],Object(s.y)(e[1]),Object(s.h)(e[1])]],a=c[2],f=0;f<3;++f,a=u)u=c[f],a.v=r(u[1]-a[1],a[3],a[2],u[3],u[2],u[0]-a[0]),a.point=[0,0];var l=o(c[0].v[0],c[2].v[0],c[1].v[0]),h=o(c[0].v[0],c[1].v[0],c[2].v[0]),p=s.s-l;c[2].point[1]=0,c[0].point[0]=-(c[1].point[0]=c[0].v[0]/2);var v=[c[2].point[0]=c[0].point[0]+c[2].v[0]*Object(s.h)(l),2*(c[0].point[1]=c[1].point[1]=c[2].v[0]*Object(s.y)(l))];return function(t,n){var e,u=Object(s.y)(n),a=Object(s.h)(n),f=new Array(3);for(e=0;e<3;++e){var l=c[e];if(f[e]=r(n-l[1],l[3],l[2],a,u,t-l[0]),!f[e][0])return l.point;f[e][1]=i(f[e][1]-l.v[1])}var d=v.slice();for(e=0;e<3;++e){var b=2==e?0:e+1,g=o(c[e].v[0],f[e][0],f[b][0]);f[e][1]<0&&(g=-g),e?1==e?(g=h-g,d[0]-=f[e][0]*Object(s.h)(g),d[1]-=f[e][0]*Object(s.y)(g)):(g=p-g,d[0]+=f[e][0]*Object(s.h)(g),d[1]+=f[e][0]*Object(s.y)(g)):(d[0]+=f[e][0]*Object(s.h)(g),d[1]-=f[e][0]*Object(s.y)(g))}return d[0]/=3,d[1]/=3,d}}function c(t){return t[0]*=s.v,t[1]*=s.v,t}function a(t,n,e){var r=Object(f.geoCentroid)({type:"MultiPoint",coordinates:[t,n,e]}),o=[-r[0],-r[1]],i=Object(f.geoRotation)(o),a=Object(f.geoProjection)(u(c(i(t)),c(i(n)),c(i(e)))).rotate(o),s=a.center;return delete a.rotate,a.center=function(t){return arguments.length?s(i(t)):i.invert(s())},a.clipAngle(90)}n.b=u,n.a=function(){return a([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])},n.c=a;var f=e(0),s=e(1)},function(t,n,e){"use strict";function r(t){function n(t,n){return[t,(t?t/Object(o.y)(t):1)*(Object(o.y)(n)*Object(o.h)(t)-e*Object(o.h)(n))]}var e=Object(o.F)(t);return n.invert=e?function(t,n){t&&(n*=Object(o.y)(t)/t);var r=Object(o.h)(t);return[t,2*Object(o.g)(Object(o.B)(r*r+e*e-n*n)-r,e-n)]}:function(t,n){return[t,Object(o.e)(t?n*Object(o.F)(t)/t:n)]},n}n.a=r;var o=e(1),i=e(39);n.b=function(){return Object(i.a)(r).scale(249.828).clipAngle(90)}},function(t,n,e){"use strict";function r(t,n){return[u*t*(2*Object(i.h)(2*n/3)-1)/i.E,u*i.E*Object(i.y)(n/3)]}n.a=r;var o=e(0),i=e(1),u=Object(i.B)(3);r.invert=function(t,n){var e=3*Object(i.e)(n/(u*i.E));return[i.E*t/(u*(2*Object(i.h)(2*e/3)-1)),e]},n.b=function(){return Object(o.geoProjection)(r).scale(156.19)}},function(t,n,e){"use strict";function r(t){function n(t,n){return[t*e,(1+e)*Object(o.F)(n/2)]}var e=Object(o.h)(t);return n.invert=function(t,n){return[t/e,2*Object(o.f)(n/(1+e))]},n}n.a=r;var o=e(1),i=e(39);n.b=function(){return Object(i.a)(r).scale(124.75)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.B)(8/(3*i.s));return[e*t*(1-Object(i.a)(n)/i.s),e*n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=Object(i.B)(8/(3*i.s)),r=n/e;return[t/(e*(1-Object(i.a)(r)/i.s)),r]},n.a=function(){return Object(o.geoProjection)(r).scale(165.664)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.B)(4-3*Object(i.y)(Object(i.a)(n)));return[2/Object(i.B)(6*i.s)*t*e,Object(i.x)(n)*Object(i.B)(2*i.s/3)*(2-e)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=2-Object(i.a)(n)/Object(i.B)(2*i.s/3);return[t*Object(i.B)(6*i.s)/(2*e),Object(i.x)(n)*Object(i.e)((4-e*e)/3)]},n.a=function(){return Object(o.geoProjection)(r).scale(165.664)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.B)(i.s*(4+i.s));return[2/e*t*(1+Object(i.B)(1-4*n*n/(i.s*i.s))),4/e*n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=Object(i.B)(i.s*(4+i.s))/2;return[t*e/(1+Object(i.B)(1-n*n*(4+i.s)/(4*i.s))),n*e/2]},n.a=function(){return Object(o.geoProjection)(r).scale(180.739)}},function(t,n,e){"use strict";function r(t,n){var e=(2+i.o)*Object(i.y)(n);n/=2;for(var r=0,o=1/0;r<10&&Object(i.a)(o)>i.k;r++){var u=Object(i.h)(n);n-=o=(n+Object(i.y)(n)*(u+2)-e)/(2*u*(1+u))}return[2/Object(i.B)(i.s*(4+i.s))*t*(1+Object(i.h)(n)),2*Object(i.B)(i.s/(4+i.s))*Object(i.y)(n)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=n*Object(i.B)((4+i.s)/i.s)/2,r=Object(i.e)(e),o=Object(i.h)(r);return[t/(2/Object(i.B)(i.s*(4+i.s))*(1+o)),Object(i.e)((r+e*(o+2))/(2+i.o))]},n.a=function(){return Object(o.geoProjection)(r).scale(180.739)}},function(t,n,e){"use strict";function r(t,n){return[t*(1+Object(i.h)(n))/Object(i.B)(2+i.s),2*n/Object(i.B)(2+i.s)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=Object(i.B)(2+i.s),r=n*e/2;return[e*t/(1+Object(i.h)(r)),r]},n.a=function(){return Object(o.geoProjection)(r).scale(173.044)}},function(t,n,e){"use strict";function r(t,n){for(var e=(1+i.o)*Object(i.y)(n),r=0,o=1/0;r<10&&Object(i.a)(o)>i.k;r++)n-=o=(n+Object(i.y)(n)-e)/(1+Object(i.h)(n));return e=Object(i.B)(2+i.s),[t*(1+Object(i.h)(n))/e,2*n/e]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=1+i.o,r=Object(i.B)(e/2);return[2*t*r/(1+Object(i.h)(n*=r)),Object(i.e)((n+Object(i.y)(n))/e)]},n.a=function(){return Object(o.geoProjection)(r).scale(173.044)}},function(t,n,e){"use strict";function r(t,n){var e=Object(u.y)(t/=2),r=Object(u.h)(t),o=Object(u.B)(Object(u.h)(n)),i=Object(u.h)(n/=2),a=Object(u.y)(n)/(i+u.D*r*o),f=Object(u.B)(2/(1+a*a)),s=Object(u.B)((u.D*i+(r+e)*o)/(u.D*i+(r-e)*o));return[c*(f*(s-1/s)-2*Object(u.p)(s)),c*(f*a*(s+1/s)-2*Object(u.f)(a))]}n.b=r;var o=e(0),i=e(181),u=e(1),c=3+2*u.D;r.invert=function(t,n){if(!(e=i.a.invert(t/1.2,1.065*n)))return null;var e,r=e[0],o=e[1],a=20;t/=c,n/=c;do{var f=r/2,s=o/2,l=Object(u.y)(f),h=Object(u.h)(f),p=Object(u.y)(s),v=Object(u.h)(s),d=Object(u.h)(o),b=Object(u.B)(d),g=p/(v+u.D*h*b),y=g*g,j=Object(u.B)(2/(1+y)),O=(u.D*v+(h+l)*b)/(u.D*v+(h-l)*b),_=Object(u.B)(O),m=_-1/_,x=_+1/_,w=j*m-2*Object(u.p)(_)-t,E=j*g*x-2*Object(u.f)(g)-n,S=p&&u.C*b*l*y/p,M=(u.D*h*v+b)/(2*(v+u.D*h*b)*(v+u.D*h*b)*b),T=-.5*g*j*j*j,k=T*S,C=T*M,P=(P=2*v+u.D*b*(h-l))*P*_,N=(u.D*h*v*b+d)/P,A=-u.D*l*p/(b*P),R=m*k-2*N/_+j*(N+N/O),B=m*C-2*A/_+j*(A+A/O),I=g*x*k-2*S/(1+y)+j*x*S+j*g*(N-N/O),L=g*x*C-2*M/(1+y)+j*x*M+j*g*(A-A/O),z=B*I-L*R;if(!z)break;var q=(E*B-w*L)/z,F=(w*I-E*R)/z;r-=q,o=Object(u.q)(-u.o,Object(u.r)(u.o,o-F))}while((Object(u.a)(q)>u.k||Object(u.a)(F)>u.k)&&--a>0);return Object(u.a)(Object(u.a)(o)-u.o)a){var p=Object(c.B)(h),v=Object(c.g)(l,s),d=r*Object(c.w)(v/r),b=v-d,g=t*Object(c.h)(b),y=(t*Object(c.y)(b)-b*Object(c.y)(g))/(c.o-g),j=o(b,y),O=(c.s-t)/i(j,g,c.s);s=p;var _,m=50;do{s-=_=(t+i(j,g,s)*O-p)/(j(s)*O)}while(Object(c.a)(_)>c.k&&--m>0);l=b*Object(c.y)(s),sa){var s=Object(c.B)(f),l=Object(c.g)(e,n),h=r*Object(c.w)(l/r),p=l-h;n=s*Object(c.h)(p),e=s*Object(c.y)(p);for(var v=n-c.o,d=Object(c.y)(n),b=e/d,g=ni.k&&--u>0);u=50,t/=1-.162388*c;do{var a=(a=r*r)*a;r-=e=(r*(.87-952426e-9*a)-t)/(.87-.00476213*a)}while(Object(i.a)(e)>i.k&&--u>0);return[r,o]},n.a=function(){return Object(o.geoProjection)(r).scale(131.747)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(0),o=e(68),i=Object(o.a)(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);n.a=function(){return Object(r.geoProjection)(i).scale(131.087)}},function(t,n,e){"use strict";function r(t,n){var e,r,o,u,c;if(n=1-i.k)return e=(1-n)/4,r=Object(i.i)(t),u=Object(i.G)(t),o=1/r,c=r*Object(i.A)(t),[u+e*(c-t)/(r*r),o-e*u*o*(c-t),o+e*u*o*(c+t),2*Object(i.f)(Object(i.m)(t))-i.o+e*(c-t)/r];var a=[1,0,0,0,0,0,0,0,0],f=[Object(i.B)(n),0,0,0,0,0,0,0,0],s=0;for(r=Object(i.B)(1-n),c=1;Object(i.a)(f[s]/a[s])>i.k&&s<8;)e=a[s++],f[s]=(e-r)/2,a[s]=(e+r)/2,r=Object(i.B)(e*r),c*=2;o=c*a[s]*t;do{u=f[s]*Object(i.y)(r=o)/a[s],o=(Object(i.e)(u)+o)/2}while(--s);return[Object(i.y)(o),u=Object(i.h)(o),u/Object(i.h)(o-r),o]}function o(t,n){if(!n)return t;if(1===n)return Object(i.p)(Object(i.F)(t/2+i.u));for(var e=1,r=Object(i.B)(1-n),o=Object(i.B)(n),u=0;Object(i.a)(o)>i.k;u++){if(t%i.s){var c=Object(i.f)(r*Object(i.F)(t)/e);c<0&&(c+=i.s),t+=c+~~(t/i.s)*i.s}else t+=t;o=(e+r)/2,r=Object(i.B)(e*r),o=((e=o)-r)/2}return t/(Object(i.t)(2,u)*e)}n.c=function(t,n,e){var o,i,u;return t?(o=r(t,e),n?(i=r(n,1-e),u=i[1]*i[1]+e*o[0]*o[0]*i[0]*i[0],[[o[0]*i[2]/u,o[1]*o[2]*i[0]*i[1]/u],[o[1]*i[1]/u,-o[0]*o[2]*i[0]*i[2]/u],[o[2]*i[1]*i[2]/u,-e*o[0]*o[1]*i[0]/u]]):[[o[0],0],[o[1],0],[o[2],0]]):(i=r(n,1-e),[[0,i[0]/i[1]],[1/i[1],0],[i[2]/i[1],0]])},n.b=function(t,n,e){var r=Object(i.a)(t),u=Object(i.a)(n),c=Object(i.A)(u);if(r){var a=1/Object(i.y)(r),f=1/(Object(i.F)(r)*Object(i.F)(r)),s=-(f+e*(c*c*a*a)-1+e),l=(e-1)*f,h=(-s+Object(i.B)(s*s-4*l))/2;return[o(Object(i.f)(1/Object(i.B)(h)),e)*Object(i.x)(t),o(Object(i.f)(Object(i.B)((h/f-1)/e)),1-e)*Object(i.x)(n)]}return[0,o(Object(i.f)(c),1-e)*Object(i.x)(n)]},n.a=o;var i=e(1)},function(t,n,e){"use strict";function r(t,n){function e(e,r){var o=Object(i.geoAzimuthalEqualAreaRaw)(e/n,r);return o[0]*=t,o}return arguments.length<2&&(n=t),1===n?i.geoAzimuthalEqualAreaRaw:n===1/0?o:(e.invert=function(e,r){var o=i.geoAzimuthalEqualAreaRaw.invert(e/t,r);return o[0]*=n,o},e)}function o(t,n){return[t*Object(u.h)(n)/Object(u.h)(n/=2),2*Object(u.y)(n)]}n.b=r;var i=e(0),u=e(1);o.invert=function(t,n){var e=2*Object(u.e)(n/2);return[t*Object(u.h)(e/2)/Object(u.h)(e),e]},n.a=function(){var t=2,n=Object(i.geoProjectionMutator)(r),e=n(t);return e.coefficient=function(e){return arguments.length?n(t=+e):t},e.scale(169.529)}},function(t,n,e){"use strict";function r(t){function n(t,n){var o=i(t,n);t=o[0],n=o[1];var c=Object(u.y)(n),a=Object(u.h)(n),f=Object(u.h)(t),s=Object(u.b)(e*c+r*a*f),l=Object(u.y)(s),h=Object(u.a)(l)>u.k?s/l:1;return[h*r*Object(u.y)(t),(Object(u.a)(t)>u.o?h:-h)*(e*a-r*c*f)]}var e=Object(u.y)(t),r=Object(u.h)(t),i=o(t);return i.invert=o(-t),n.invert=function(t,n){var r=Object(u.B)(t*t+n*n),o=-Object(u.y)(r),c=Object(u.h)(r),a=r*c,f=-n*o,s=r*e,l=Object(u.B)(a*a+f*f-s*s),h=Object(u.g)(a*s+f*l,f*s-a*l),p=(r>u.o?-1:1)*Object(u.g)(t*o,r*Object(u.h)(h)*c+n*Object(u.y)(h)*o);return i.invert(p,h)},n}function o(t){var n=Object(u.y)(t),e=Object(u.h)(t);return function(t,r){var o=Object(u.h)(r),i=Object(u.h)(t)*o,c=Object(u.y)(t)*o,a=Object(u.y)(r);return[Object(u.g)(c,i*e-a*n),Object(u.e)(a*e+i*n)]}}n.b=r;var i=e(0),u=e(1);n.a=function(){var t=0,n=Object(i.geoProjectionMutator)(r),e=n(t),o=e.rotate,c=e.stream,a=Object(i.geoCircle)();return e.parallel=function(r){if(!arguments.length)return t*u.j;var o=e.rotate();return n(t=r*u.v).rotate(o)},e.rotate=function(n){return arguments.length?(o.call(e,[n[0],n[1]-t*u.j]),a.center([-n[0],-n[1]]),e):(n=o.call(e),n[1]+=t*u.j,n)},e.stream=function(t){return t=c(t),t.sphere=function(){t.polygonStart();var n,e=a.radius(89.99)().coordinates[0],r=e.length-1,o=-1;for(t.lineStart();++o=0;)t.point((n=e[o])[0],n[1]);t.lineEnd(),t.polygonEnd()},t},e.scale(79.4187).parallel(45).clipAngle(179.999)}},function(t,n,e){"use strict";function r(t){function n(n,f){var v,d=Object(a.a)(f);if(d>e){var b=Object(a.r)(t-1,Object(a.q)(0,Object(a.n)((n+a.s)/l)));n+=a.s*(t-1)/t-b*l,(v=Object(u.a)(n,d))[0]=v[0]*a.H/r-a.H*(t-1)/(2*t)+b*a.H/t,v[1]=o+4*(v[1]-i)*c/a.H,f<0&&(v[1]=-v[1])}else v=s(n,f);return v[0]*=h,v[1]/=p,v}var e=f*a.v,r=Object(u.a)(a.s,e)[0]-Object(u.a)(-a.s,e)[0],o=s(0,e)[1],i=Object(u.a)(0,e)[1],c=a.E-i,l=a.H/t,h=4/a.H,p=o+c*c*4/a.H;return n.invert=function(n,e){n/=h,e*=p;var f=Object(a.a)(e);if(f>o){var v=Object(a.r)(t-1,Object(a.q)(0,Object(a.n)((n+a.s)/l)));n=(n+a.s*(t-1)/t-v*l)*r/a.H;var d=u.a.invert(n,.25*(f-o)*a.H/c+i);return d[0]-=a.s*(t-1)/t-v*l,e<0&&(d[1]=-d[1]),d}return s.invert(n,e)},n}n.b=r;var o=e(14),i=e(0),u=e(98),c=e(183),a=e(1),f=41+48/36+37/3600,s=Object(c.a)(0);n.a=function(){var t=4,n=Object(i.geoProjectionMutator)(r),e=n(t),u=e.stream;return e.lobes=function(e){return arguments.length?n(t=+e):t},e.stream=function(n){var r=e.rotate(),c=u(n),a=(e.rotate([0,0]),u(n));return e.rotate(r),c.sphere=function(){Object(i.geoStream)(function(t){return{type:"Polygon",coordinates:[Object(o.range)(-180,180+t/2,t).map(function(t,n){return[t,1&n?90-1e-6:f]}).concat(Object(o.range)(180,-180-t/2,-t).map(function(t,n){return[t,1&n?1e-6-90:-f]}))]}}(180/t),a)},c},e.scale(239.75)}},function(t,n,e){"use strict";function r(t){function n(n,o){var l,h,p=1-Object(i.y)(o);if(p&&p<2){var v,d=i.o-o,b=25;do{var g=Object(i.y)(d),y=Object(i.h)(d),j=u+Object(i.g)(g,r-y),O=1+s-2*r*y;d-=v=(d-f*u-r*g+O*j-.5*p*e)/(2*r*g*j)}while(Object(i.a)(v)>i.l&&--b>0);l=c*Object(i.B)(O),h=n*j/i.s}else l=c*(t+p),h=n*u/i.s;return[l*Object(i.y)(h),a-l*Object(i.h)(h)]}var e,r=1+t,o=Object(i.y)(1/r),u=Object(i.e)(o),c=2*Object(i.B)(i.s/(e=i.s+4*u*r)),a=.5*c*(r+Object(i.B)(t*(2+t))),f=t*t,s=r*r;return n.invert=function(t,n){var o=t*t+(n-=a)*n,l=(1+s-o/(c*c))/(2*r),h=Object(i.b)(l),p=Object(i.y)(h),v=u+Object(i.g)(p,r-l);return[Object(i.e)(t/Object(i.B)(o))*i.s/v,Object(i.e)(1-2*(h-f*u-r*p+(1+s-2*r*l)*v)/e)]},n}n.b=r;var o=e(0),i=e(1);n.a=function(){var t=1,n=Object(o.geoProjectionMutator)(r),e=n(t);return e.ratio=function(e){return arguments.length?n(t=+e):t},e.scale(167.774).center([0,18.67])}},function(t,n,e){"use strict";var r=e(182),o=e(31),i=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.a,i).scale(160.857)}},function(t,n,e){"use strict";var r=e(187),o=e(31),i=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.b,i).scale(152.63)}},function(t,n,e){"use strict";var r=e(26),o=e(31),i=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.d,i).scale(169.529)}},function(t,n,e){"use strict";var r=e(26),o=e(31),i=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.d,i).scale(169.529).rotate([20,0])}},function(t,n,e){"use strict";var r=e(99),o=e(31),i=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];n.a=function(){return Object(o.a)(r.c,i).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}},function(t,n,e){"use strict";var r=e(47),o=e(31),i=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.b,i).scale(152.63).rotate([-20,0])}},function(t,n,e){"use strict";function r(t,n){return[3/i.H*t*Object(i.B)(i.s*i.s/3-n*n),n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){return[i.H/3*t/Object(i.B)(i.s*i.s/3-n*n),n]},n.a=function(){return Object(o.geoProjection)(r).scale(158.837)}},function(t,n,e){"use strict";function r(t){function n(n,e){if(Object(i.a)(Object(i.a)(e)-i.o)2)return null;var o=(n/=2)*n,u=(e/=2)*e,c=2*e/(1+o+u);return c=Object(i.t)((1+c)/(1-c),1/t),[Object(i.g)(2*n,1-o-u)/t,Object(i.e)((c-1)/(c+1))]},n}n.b=r;var o=e(0),i=e(1);n.a=function(){var t=.5,n=Object(o.geoProjectionMutator)(r),e=n(t);return e.spacing=function(e){return arguments.length?n(t=+e):t},e.scale(124.75)}},function(t,n,e){"use strict";function r(t,n){return[t*(1+Object(i.B)(Object(i.h)(n)))/2,n/(Object(i.h)(n/2)*Object(i.h)(t/6))]}n.b=r;var o=e(0),i=e(1),u=i.s/i.D;r.invert=function(t,n){var e=Object(i.a)(t),r=Object(i.a)(n),o=i.k,c=i.o;ri.k||Object(i.a)(g)>i.k)&&--o>0);return o&&[e,r]},n.a=function(){return Object(o.geoProjection)(r).scale(139.98)}},function(t,n,e){"use strict";function r(t,n){return[Object(i.y)(t)/Object(i.h)(n),Object(i.F)(n)*Object(i.h)(t)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=t*t,r=n*n,o=r+1,u=t?i.C*Object(i.B)((o-Object(i.B)(e*e+2*e*(r-1)+o*o))/e+1):1/Object(i.B)(o);return[Object(i.e)(t*u),Object(i.x)(n)*Object(i.b)(u)]},n.a=function(){return Object(o.geoProjection)(r).scale(144.049).clipAngle(89.999)}},function(t,n,e){"use strict";function r(t){function n(n,o){var u=o-t,c=Object(i.a)(u)=0;)h=(l=t[s])[0]+a*(o=h)-f*p,p=l[1]+a*p+f*o;return h=a*(o=h)-f*p,p=a*p+f*o,[h,p]}var e=t.length-1;return n.invert=function(n,r){var o=20,i=n,c=r;do{for(var a,f=e,s=t[f],l=s[0],h=s[1],p=0,v=0;--f>=0;)p=l+i*(a=p)-c*v,v=h+i*v+c*a,l=(s=t[f])[0]+i*(a=l)-c*h,h=s[1]+i*h+c*a;var d,b,g=(p=l+i*(a=p)-c*v)*p+(v=h+i*v+c*a)*v;i-=d=((l=i*(a=l)-c*h-n)*p+(h=i*h+c*a-r)*v)/g,c-=b=(h*p-l*v)/g}while(Object(u.a)(d)+Object(u.a)(b)>u.k*u.k&&--o>0);if(o){var y=Object(u.B)(i*i+c*c),j=2*Object(u.f)(.5*y),O=Object(u.y)(j);return[Object(u.g)(i*O,y*Object(u.h)(j)),y?Object(u.e)(c*O/y):0]}},n}function o(t,n){var e=Object(i.geoProjection)(r(t)).rotate(n).clipAngle(90),o=Object(i.geoRotation)(n),u=e.center;return delete e.rotate,e.center=function(t){return arguments.length?u(o(t)):o.invert(u())},e}n.g=r,n.b=function(){return o(c,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)},n.c=function(){return o(a,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])},n.d=function(){return o(f,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])},n.f=function(){return o(s,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)},n.e=function(){return o(l,[165,10]).scale(250).clipAngle(130).center([-165,-10])},n.a=o;var i=e(0),u=e(1),c=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],a=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],f=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],s=[[.9245,0],[0,0],[.01943,0]],l=[[.721316,0],[0,0],[-.00881625,-.00617325]]},function(t,n,e){"use strict";function r(t,n){var e=Object(i.e)(7*Object(i.y)(n)/(3*u));return[u*t*(2*Object(i.h)(2*e/3)-1)/c,9*Object(i.y)(e/3)/c]}n.b=r;var o=e(0),i=e(1),u=Object(i.B)(6),c=Object(i.B)(7);r.invert=function(t,n){var e=3*Object(i.e)(n*c/9);return[t*c/(u*(2*Object(i.h)(2*e/3)-1)),Object(i.e)(3*Object(i.y)(e)*u/7)]},n.a=function(){return Object(o.geoProjection)(r).scale(164.859)}},function(t,n,e){"use strict";function r(t,n){for(var e,r=(1+i.C)*Object(i.y)(n),o=n,u=0;u<25&&(o-=e=(Object(i.y)(o/2)+Object(i.y)(o)-r)/(.5*Object(i.h)(o/2)+Object(i.h)(o)),!(Object(i.a)(e)i.k&&--o>0);return[t/(.8707+(u=r*r)*(u*(u*u*u*(.003971-.001529*u)-.013791)-.131979)),r]},n.a=function(){return Object(o.geoProjection)(r).scale(175.295)}},function(t,n,e){"use strict";function r(t,n){var e=n*n,r=e*e,o=e*r;return[t*(.84719-.13063*e+o*o*(.05494*e-.04515-.02326*r+.00331*o)),n*(1.01183+r*r*(.01926*e-.02625-.00396*r))]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e,r,o,u,c=n,a=25;do{c-=e=(c*(1.01183+(o=(r=c*c)*r)*o*(.01926*r-.02625-.00396*o))-n)/(1.01183+o*o*(.21186*r-.23625+-.05148*o))}while(Object(i.a)(e)>i.l&&--a>0);return r=c*c,o=r*r,u=r*o,[t/(.84719-.13063*r+u*u*(.05494*r-.04515-.02326*o+.00331*u)),c]},n.a=function(){return Object(o.geoProjection)(r).scale(175.295)}},function(t,n,e){"use strict";function r(t,n){return[t*(1+Object(i.h)(n))/2,2*(n-Object(i.F)(n/2))]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){for(var e=n/2,r=0,o=1/0;r<10&&Object(i.a)(o)>i.k;++r){var u=Object(i.h)(n/2);n-=o=(n-Object(i.F)(n/2)-e)/(1-.5/(u*u))}return[2*t/(1+Object(i.h)(n)),n]},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){var e=n*n;return[t,n*(u+e*e*(c+e*(a+f*e)))]}n.b=r;var o=e(0),i=e(1),u=1.0148,c=.23185,a=-.14499,f=.02406,s=u,l=5*c,h=7*a,p=9*f;r.invert=function(t,n){n>1.790857183?n=1.790857183:n<-1.790857183&&(n=-1.790857183);var e,r=n;do{var o=r*r;r-=e=(r*(u+o*o*(c+o*(a+f*o)))-n)/(s+o*o*(l+o*(h+p*o)))}while(Object(i.a)(e)>i.k);return[t,r]},n.a=function(){return Object(o.geoProjection)(r).scale(139.319)}},function(t,n,e){"use strict";function r(t,n){if(Object(i.a)(n)i.k&&--u>0);return c=Object(i.F)(o),[(Object(i.a)(n)0?[-n[0],0]:[180-n[0],180])};var n=a.a.map(function(n){return{face:n,project:t(n)}});return[-1,0,0,1,0,1,4,5].forEach(function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])}),Object(c.a)(n[0],function(t,e){return n[t<-u.s/2?e<0?6:4:t<0?e<0?2:0:t1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";n.a=function(t){if((n=t.length)<4)return!1;for(var n,e=0,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++er^p>r&&e<(h-f)*(r-s)/(p-s)+f&&(o=!o)}return o}},function(t,n,e){"use strict";var r=e(184),o=e(101);n.a=function(){return Object(o.a)(r.b).scale(176.423)}},function(t,n,e){"use strict";n.a=function(t,n){function e(t){var e=t.length,r=2,o=new Array(e);for(o[0]=+t[0].toFixed(n),o[1]=+t[1].toFixed(n);ro.k&&--a>0);var h=n*(f=Object(o.F)(c)),p=Object(o.F)(Object(o.a)(r)0?i.o:-i.o)*(l+c*(p-f)/2+c*c*(p-2*l+f)/2)]}n.b=r;var o=e(0),i=e(1),u=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];u.forEach(function(t){t[1]*=1.0144}),r.invert=function(t,n){var e=n/i.o,r=90*e,o=Object(i.r)(18,Object(i.a)(r/5)),c=Object(i.q)(0,Object(i.n)(o));do{var a=u[c][1],f=u[c+1][1],s=u[Object(i.r)(19,c+2)][1],l=s-a,h=s-2*f+a,p=2*(Object(i.a)(e)-f)/l,v=h/l,d=p*(1-v*p*(1-2*v*p));if(d>=0||1===c){r=(n>=0?5:-5)*(d+o);var b,g=50;do{d=(o=Object(i.r)(18,Object(i.a)(r)/5))-(c=Object(i.n)(o)),a=u[c][1],f=u[c+1][1],s=u[Object(i.r)(19,c+2)][1],r-=(b=(n>=0?i.o:-i.o)*(f+d*(s-a)/2+d*d*(s-2*f+a)/2)-n)*i.j}while(Object(i.a)(b)>i.l&&--g>0);break}}while(--c>=0);var y=u[c][0],j=u[c+1][0],O=u[Object(i.r)(19,c+2)][0];return[t/(j+d*(O-y)/2+d*d*(O-2*j+y)/2),r*i.v]},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){function e(n,e){var i=r(n,e),c=i[1],a=c*u/(t-1)+o;return[i[0]*o/a,c/a]}var r=function(t){function n(n,e){var r=Object(i.h)(e),o=(t-1)/(t-r*Object(i.h)(n));return[o*r*Object(i.y)(n),o*Object(i.y)(e)]}return n.invert=function(n,e){var r=n*n+e*e,o=Object(i.B)(r),u=(t-Object(i.B)(1-r*(t+1)/(t-1)))/((t-1)/o+o/(t-1));return[Object(i.g)(n*u,o*Object(i.B)(1-u*u)),o?Object(i.e)(e*u/o):0]},n}(t);if(!n)return r;var o=Object(i.h)(n),u=Object(i.y)(n);return e.invert=function(n,e){var i=(t-1)/(t-1-e*u);return r.invert(i*n,i*e*o)},e}n.b=r;var o=e(0),i=e(1);n.a=function(){var t=2,n=0,e=Object(o.geoProjectionMutator)(r),u=e(t,n);return u.distance=function(r){return arguments.length?e(t=+r,n):t},u.tilt=function(r){return arguments.length?e(t,n=r*i.v):n*i.j},u.scale(432.147).clipAngle(Object(i.b)(1/t)*i.j-1e-6)}},function(t,n,e){"use strict";function r(t){return t.length>0}function o(t){return t===b||t===y?[0,t]:[h,function(t){return Math.floor(t*l)/l}(t)]}function i(t){var n=t[0],e=t[1],r=!1;return n<=p?(n=h,r=!0):n>=d&&(n=v,r=!0),e<=g?(e=b,r=!0):e>=j&&(e=y,r=!0),r?[n,e]:t}function u(t){return t.map(i)}function c(t,n,e){for(var r=0,u=t.length;r=d||h<=g||h>=j){c[a]=i(s);for(var v=a+1;vp&&yg&&O=f)break;e.push({index:-1,polygon:n,ring:c=c.slice(v-1)}),c[0]=o(c[0][1]),a=-1,f=c.length}}}}function a(t){var n,e,r,o,i,u,c=t.length,a={},f={};for(n=0;ni.k&&--a>0);return[Object(i.x)(t)*(Object(i.B)(o*o+4)+o)*i.s/4,i.o*c]},n.a=function(){return Object(o.geoProjection)(r).scale(127.16)}},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(0),o=e(1),i=e(26),u=4*o.s+3*Object(o.B)(3),c=2*Object(o.B)(2*o.s*Object(o.B)(3)/u),a=Object(i.b)(c*Object(o.B)(3)/o.s,c,u/6);n.a=function(){return Object(r.geoProjection)(a).scale(176.84)}},function(t,n,e){"use strict";function r(t,n){return[t*Object(i.B)(1-3*n*n/(i.s*i.s)),n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){return[t/Object(i.B)(1-3*n*n/(i.s*i.s)),n]},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){var e=.90631*Object(i.y)(n),r=Object(i.B)(1-e*e),o=Object(i.B)(2/(1+r*Object(i.h)(t/=3)));return[2.66723*r*o*Object(i.y)(t),1.24104*e*o]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=t/2.66723,r=n/1.24104,o=Object(i.B)(e*e+r*r),u=2*Object(i.e)(o/2);return[3*Object(i.g)(t*Object(i.F)(u),2.66723*o),o&&Object(i.e)(n*Object(i.y)(u)/(1.24104*.90631*o))]},n.a=function(){return Object(o.geoProjection)(r).scale(172.632)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.h)(n),r=Object(i.h)(t)*e,o=1-r,u=Object(i.h)(t=Object(i.g)(Object(i.y)(t)*e,-Object(i.y)(n))),c=Object(i.y)(t);return e=Object(i.B)(1-r*r),[c*e-u*o,-u*e-c*o]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=(t*t+n*n)/-2,r=Object(i.B)(-e*(2+e)),o=n*e+t*r,u=t*e-n*r,c=Object(i.B)(u*u+o*o);return[Object(i.g)(r*o,c*(1+e)),c?-Object(i.e)(r*u/c):0]},n.a=function(){return Object(o.geoProjection)(r).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.a)(t,n);return[(e[0]+t/u.o)/2,(e[1]+n)/2]}n.b=r;var o=e(0),i=e(180),u=e(1);r.invert=function(t,n){var e=t,r=n,o=25;do{var i,c=Object(u.h)(r),a=Object(u.y)(r),f=Object(u.y)(2*r),s=a*a,l=c*c,h=Object(u.y)(e),p=Object(u.h)(e/2),v=Object(u.y)(e/2),d=v*v,b=1-l*p*p,g=b?Object(u.b)(c*p)*Object(u.B)(i=1/b):i=0,y=.5*(2*g*c*v+e/u.o)-t,j=.5*(g*a+r)-n,O=.5*i*(l*d+g*c*p*s)+.5/u.o,_=i*(h*f/4-g*a*v),m=.125*i*(f*v-g*a*l*h),x=.5*i*(s*p+g*d*c)+.5,w=_*m-x*O,E=(j*_-y*x)/w,S=(y*m-j*O)/w;e-=E,r-=S}while((Object(u.a)(E)>u.k||Object(u.a)(S)>u.k)&&--o>0);return[e,r]},n.a=function(){return Object(o.geoProjection)(r).scale(158.837)}},function(t,n,e){var r=e(191),o=4;t.exports=function(t){return r(t,o)}},function(t,n){t.exports=function(){this.__data__=[],this.size=0}},function(t,n,e){var r=e(71),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},function(t,n,e){var r=e(71);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},function(t,n,e){var r=e(71);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,n,e){var r=e(71);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},function(t,n,e){var r=e(70);t.exports=function(){this.__data__=new r,this.size=0}},function(t,n){t.exports=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}},function(t,n){t.exports=function(t){return this.__data__.get(t)}},function(t,n){t.exports=function(t){return this.__data__.has(t)}},function(t,n,e){var r=e(70),o=e(103),i=e(104),u=200;t.exports=function(t,n){var e=this.__data__;if(e instanceof r){var c=e.__data__;if(!o||c.length-1?c[a?n[f]:f]:void 0}}},function(t,n,e){var r=e(202),o=e(205),i=e(207);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},function(t,n,e){var r=e(102),o=e(204),i=e(487),u=e(488),c=e(197),a=e(3),f=e(89),s=e(152),l=1,h="[object Arguments]",p="[object Array]",v="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,b,g,y){var j=a(t),O=a(n),_=j?p:c(t),m=O?p:c(n),x=(_=_==h?v:_)==v,w=(m=m==h?v:m)==v,E=_==m;if(E&&f(t)){if(!f(n))return!1;j=!0,x=!1}if(E&&!x)return y||(y=new r),j||s(t)?o(t,n,e,b,g,y):i(t,n,_,e,b,g,y);if(!(e&l)){var S=x&&d.call(t,"__wrapped__"),M=w&&d.call(n,"__wrapped__");if(S||M){var T=S?t.value():t,k=M?n.value():n;return y||(y=new r),g(T,k,e,b,y)}}return!!E&&(y||(y=new r),u(t,n,e,b,g,y))}},function(t,n){var e="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,e),this}},function(t,n){t.exports=function(t){return this.__data__.has(t)}},function(t,n){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++ef&&(f=t),ns&&(s=n)},lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var t=[[c,a],[f,s]];return f=s=-(a=c=1/0),t}};t.geoAlbersUsa=function(){function t(t){var n=t[0],e=t[1];return h=null,f.point(n,e),h||(s.point(n,e),h)||(l.point(n,e),h)}function r(){return c=a=null,t}var c,a,f,s,l,h,p=n.geoAlbers(),v=n.geoConicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),d=n.geoConicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),b={point:function(t,n){h=[t,n]}};return t.invert=function(t){var n=p.scale(),e=p.translate(),r=(t[0]-e[0])/n,o=(t[1]-e[1])/n;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?v:o>=.166&&o<.234&&r>=-.214&&r<-.115?d:p).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.12&&o<.234&&r>=-.425&&r<-.214?g:o>=.166&&o<.234&&r>=-.214&&r<-.115?y:o>=.2064&&o<.2413&&r>=.312&&r<.385?j:o>=.09&&o<.1197&&r>=-.4243&&r<-.3232?O:o>=-.0518&&o<.0895&&r>=-.4243&&r<-.3824?_:b).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.05346&&o<.0897&&r>=-.13388&&r<-.0322?p:h).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.0093&&o<.03678&&r>=-.03875&&r<-.0116?v:o>=-.0412&&o<.0091&&r>=-.07782&&r<-.01166?d:p).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.0676&&o<-.026&&r>=-.0857&&r<-.0263?p:h).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.2582&&o<.32&&r>=-.1036&&r<-.087?d:o>=-.01298&&o<.0133&&r>=-.11396&&r<-.05944?b:o>=.01539&&o<.03911&&r>=-.089&&r<-.0588?g:v).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.10925&&o<-.02701&&r>=-.135&&r<-.0397?v:o>=.04713&&o<.11138&&r>=-.03986&&r<.051?d:p).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.029&&o<.0864&&r>=-.14&&r<-.0996?x:o>=0&&o<.029&&r>=-.14&&r<-.0996?w:o>=-.032&&o<0&&r>=-.14&&r<-.0996?E:o>=-.052&&o<-.032&&r>=-.14&&r<-.0996?S:o>=-.076&&o<.052&&r>=-.14&&r<-.0996?M:o>=-.076&&o<-.052&&r>=.0967&&r<.1371?T:o>=-.052&&o<-.02&&r>=.0967&&r<.1371?k:o>=-.02&&o<.012&&r>=.0967&&r<.1371?C:o>=.012&&o<.033&&r>=.0967&&r<.1371?P:o>=.033&&o<.0864&&r>=.0967&&r<.1371?N:m).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.31&&o<-.24&&r>=.14&&r<.24?x:o>=-.24&&o<-.17&&r>=.14&&r<.24?w:o>=-.17&&o<-.12&&r>=.21&&r<.24?S:o>=-.17&&o<-.14&&r>=.14&&r<.165?M:o>=-.17&&o<-.1&&r>=.14&&r<.24?E:o>=-.1&&o<-.03&&r>=.14&&r<.24?T:o>=-.03&&o<.04&&r>=.14&&r<.24?k:o>=-.31&&o<-.24&&r>=.24&&r<.34?C:o>=-.24&&o<-.17&&r>=.24&&r<.34?P:o>=-.17&&o<-.1&&r>=.24&&r<.34?N:o>=-.1&&o<-.03&&r>=.24&&r<.34?A:m).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.0521&&o<.0229&&r>=-.0111&&r<.1?p:h).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.02&&o<0&&r>=-.038&&r<-.005?v:o>=0&&o<.02&&r>=-.038&&r<-.005?d:p).invert(t)},t.stream=function(t){return c&&a===t?c:c=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++ob&&(b=n)}function o(t,n){var e=Object(E.a)([t*S.r,n*S.r]);if(O){var o=Object(E.c)(O,e),i=[o[1],-o[0],0],u=Object(E.c)(i,o);Object(E.e)(u),u=Object(E.g)(u);var c,a=t-g,f=a>0?1:-1,l=u[0]*S.h*f,h=Object(S.a)(a)>180;h^(f*gb&&(b=c):(l=(l+360)%360-180,h^(f*gb&&(b=n))),h?ts(p,d)&&(d=t):s(t,d)>s(p,d)&&(p=t):d>=p?(td&&(d=t)):t>g?s(p,t)>s(p,d)&&(d=t):s(t,d)>s(p,d)&&(p=t)}else r(t,n);O=e,g=t}function i(){k.point=o}function u(){m[0]=p,m[1]=d,k.point=r,O=null}function c(t,n){if(O){var e=t-g;T.add(Object(S.a)(e)>180?e+(e>0?360:-360):e)}else y=t,j=n;w.b.point(t,n),o(t,n)}function a(){w.b.lineStart()}function f(){c(y,j),w.b.lineEnd(),Object(S.a)(T)>S.i&&(p=-(d=180)),m[0]=p,m[1]=d,O=null}function s(t,n){return(n-=t)<0?n+360:n}function l(t,n){return t[0]-n[0]}function h(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nS.i?b=90:T<-S.i&&(v=-90),m[0]=p,m[1]=d}};n.a=function(t){var n,e,r,o,i,u,c;if(b=d=-(p=v=1/0),_=[],Object(M.a)(t,k),e=_.length){for(_.sort(l),n=1,i=[r=_[0]];ns(r[0],r[1])&&(r[1]=o[1]),s(o[0],r[1])>s(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(u=-1/0,n=0,r=i[e=i.length-1];n<=e;r=o,++n)o=i[n],(c=s(r[1],o[0]))>u&&(u=c,p=o[0],d=r[1])}return _=m=null,p===1/0||v===1/0?[[NaN,NaN],[NaN,NaN]]:[[p,v],[d,b]]}},function(t,n,e){"use strict";function r(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);o(e*Object(k.g)(t),e*Object(k.t)(t),Object(k.t)(n))}function o(t,n,e){d+=(t-d)/++p,b+=(n-b)/p,g+=(e-g)/p}function i(){N.point=u}function u(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);S=e*Object(k.g)(t),M=e*Object(k.t)(t),T=Object(k.t)(n),N.point=c,o(S,M,T)}function c(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),u=Object(k.t)(n),c=Object(k.e)(Object(k.u)((c=M*u-T*i)*c+(c=T*r-S*u)*c+(c=S*i-M*r)*c),S*r+M*i+T*u);v+=c,y+=c*(S+(S=r)),j+=c*(M+(M=i)),O+=c*(T+(T=u)),o(S,M,T)}function a(){N.point=r}function f(){N.point=l}function s(){h(w,E),N.point=r}function l(t,n){w=t,E=n,t*=k.r,n*=k.r,N.point=h;var e=Object(k.g)(n);S=e*Object(k.g)(t),M=e*Object(k.t)(t),T=Object(k.t)(n),o(S,M,T)}function h(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),u=Object(k.t)(n),c=M*u-T*i,a=T*r-S*u,f=S*i-M*r,s=Object(k.u)(c*c+a*a+f*f),l=S*r+M*i+T*u,h=s&&-Object(k.b)(l)/s,p=Object(k.e)(s,l);_+=h*c,m+=h*a,x+=h*f,v+=p,y+=p*(S+(S=r)),j+=p*(M+(M=i)),O+=p*(T+(T=u)),o(S,M,T)}var p,v,d,b,g,y,j,O,_,m,x,w,E,S,M,T,k=e(6),C=e(32),P=e(33),N={sphere:C.a,point:r,lineStart:i,lineEnd:a,polygonStart:function(){N.lineStart=f,N.lineEnd=s},polygonEnd:function(){N.lineStart=i,N.lineEnd=a}};n.a=function(t){p=v=d=b=g=y=j=O=_=m=x=0,Object(P.a)(t,N);var n=_,e=m,r=x,o=n*n+e*e+r*r;return o0)){if(u/=l,l<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=o-c,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u0)){if(u/=h,h<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=i-a,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u0&&(t[0]=c+f*l,t[1]=a+f*h),s<1&&(n[0]=c+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(223),o=[null,null],i={type:"LineString",coordinates:o};n.a=function(t,n){return o[0]=t,o[1]=n,Object(r.a)(i)}},function(t,n,e){"use strict";function r(t,n,e){var r=Object(i.range)(t,n-u.i,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function o(t,n,e){var r=Object(i.range)(t,n-u.i,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}var i=e(14),u=e(6);n.a=function(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return Object(i.range)(Object(u.f)(f/O)*O,a,O).map(b).concat(Object(i.range)(Object(u.f)(p/_)*_,h,_).map(g)).concat(Object(i.range)(Object(u.f)(c/y)*y,e,y).filter(function(t){return Object(u.a)(t%O)>u.i}).map(v)).concat(Object(i.range)(Object(u.f)(l/j)*j,s,j).filter(function(t){return Object(u.a)(t%_)>u.i}).map(d))}var e,c,a,f,s,l,h,p,v,d,b,g,y=10,j=y,O=90,_=360,m=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[b(f).concat(g(h).slice(1),b(a).reverse().slice(1),g(p).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(f=+n[0][0],a=+n[1][0],p=+n[0][1],h=+n[1][1],f>a&&(n=f,f=a,a=n),p>h&&(n=p,p=h,h=n),t.precision(m)):[[f,p],[a,h]]},t.extentMinor=function(n){return arguments.length?(c=+n[0][0],e=+n[1][0],l=+n[0][1],s=+n[1][1],c>e&&(n=c,c=e,e=n),l>s&&(n=l,l=s,s=n),t.precision(m)):[[c,l],[e,s]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(O=+n[0],_=+n[1],t):[O,_]},t.stepMinor=function(n){return arguments.length?(y=+n[0],j=+n[1],t):[y,j]},t.precision=function(n){return arguments.length?(m=+n,v=r(l,s,90),d=o(c,e,m),b=r(p,h,90),g=o(f,a,m),t):m},t.extentMajor([[-180,-90+u.i],[180,90-u.i]]).extentMinor([[-180,-80-u.i],[180,80+u.i]])}},function(t,n,e){"use strict";var r=e(6);n.a=function(t,n){var e=t[0]*r.r,o=t[1]*r.r,i=n[0]*r.r,u=n[1]*r.r,c=Object(r.g)(o),a=Object(r.t)(o),f=Object(r.g)(u),s=Object(r.t)(u),l=c*Object(r.g)(e),h=c*Object(r.t)(e),p=f*Object(r.g)(i),v=f*Object(r.t)(i),d=2*Object(r.c)(Object(r.u)(Object(r.m)(u-o)+c*f*Object(r.m)(i-e))),b=Object(r.t)(d),g=d?function(t){var n=Object(r.t)(t*=d)/b,e=Object(r.t)(d-t)/b,o=e*l+n*p,i=e*h+n*v,u=e*a+n*s;return[Object(r.e)(i,o)*r.h,Object(r.e)(u,Object(r.u)(o*o+i*i))*r.h]}:function(){return[e*r.h,o*r.h]};return g.distance=d,g}},function(t,n,e){"use strict";var r=e(224),o=e(33),i=e(520),u=e(225),c=e(521),a=e(522),f=e(523);n.a=function(){function t(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(o.a)(t,e(l))),l.result()}var n,e,s,l,h=4.5;return t.area=function(t){return Object(o.a)(t,e(i.a)),i.a.result()},t.bounds=function(t){return Object(o.a)(t,e(u.a)),u.a.result()},t.centroid=function(t){return Object(o.a)(t,e(c.a)),c.a.result()},t.projection=function(o){return arguments.length?(e=null==(n=o)?r.a:o.stream,t):n},t.context=function(n){return arguments.length?(l=null==(s=n)?new f.a:new a.a(n),"function"!=typeof h&&l.pointRadius(h),t):s},t.pointRadius=function(n){return arguments.length?(h="function"==typeof n?n:(l.pointRadius(+n),+n),t):h},t.projection(null).context(null)}},function(t,n,e){"use strict";function r(){b.point=o}function o(t,n){b.point=i,c=f=t,a=s=n}function i(t,n){d.add(s*t-f*n),f=t,s=n}function u(){i(c,a)}var c,a,f,s,l=e(54),h=e(6),p=e(32),v=Object(l.a)(),d=Object(l.a)(),b={point:p.a,lineStart:p.a,lineEnd:p.a,polygonStart:function(){b.lineStart=r,b.lineEnd=u},polygonEnd:function(){b.lineStart=b.lineEnd=b.point=p.a,v.add(Object(h.a)(d)),d.reset()},result:function(){var t=v/2;return v.reset(),t}};n.a=b},function(t,n,e){"use strict";function r(t,n){g+=t,y+=n,++j}function o(){S.point=i}function i(t,n){S.point=u,r(v=t,d=n)}function u(t,n){var e=t-v,o=n-d,i=Object(b.u)(e*e+o*o);O+=i*(v+t)/2,_+=i*(d+n)/2,m+=i,r(v=t,d=n)}function c(){S.point=r}function a(){S.point=s}function f(){l(h,p)}function s(t,n){S.point=l,r(h=v=t,p=d=n)}function l(t,n){var e=t-v,o=n-d,i=Object(b.u)(e*e+o*o);O+=i*(v+t)/2,_+=i*(d+n)/2,m+=i,x+=(i=d*t-v*n)*(v+t),w+=i*(d+n),E+=3*i,r(v=t,d=n)}var h,p,v,d,b=e(6),g=0,y=0,j=0,O=0,_=0,m=0,x=0,w=0,E=0,S={point:r,lineStart:o,lineEnd:c,polygonStart:function(){S.lineStart=a,S.lineEnd=f},polygonEnd:function(){S.point=r,S.lineStart=o,S.lineEnd=c},result:function(){var t=E?[x/E,w/E]:m?[O/m,_/m]:j?[g/j,y/j]:[NaN,NaN];return g=y=j=O=_=m=x=w=E=0,t}};n.a=S},function(t,n,e){"use strict";function r(t){this._context=t}n.a=r;var o=e(6),i=e(32);r.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,o.w)}},result:i.a}},function(t,n,e){"use strict";function r(){this._string=[]}function o(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_circle:o(4.5),pointRadius:function(t){return this._circle=o(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}}},function(t,n,e){"use strict";var r=e(227),o=e(6);n.a=Object(r.a)(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(u,c){var a=u>0?o.o:-o.o,f=Object(o.a)(u-e);Object(o.a)(f-o.o)0?o.l:-o.l),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(u,r),n=0):i!==a&&f>=o.o&&(Object(o.a)(e-i)o.i?Object(o.d)((Object(o.t)(n)*(u=Object(o.g)(r))*Object(o.t)(e)-Object(o.t)(r)*(i=Object(o.g)(n))*Object(o.t)(t))/(i*u*c)):(n+r)/2}(e,r,u,c),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=u,r=c),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*o.l,r.point(-o.o,i),r.point(0,i),r.point(o.o,i),r.point(o.o,0),r.point(o.o,-i),r.point(0,-i),r.point(-o.o,-i),r.point(-o.o,0),r.point(-o.o,i);else if(Object(o.a)(t[0]-n[0])>o.i){var u=t[0]=0?1:-1,M=S*E,T=M>i.o,k=g*x;if(u.add(Object(i.e)(k*S*Object(i.t)(M),y*w+k*Object(i.g)(M))),a+=T?E+S*i.w:E,T^d>=e^_>=e){var C=Object(o.c)(Object(o.a)(v),Object(o.a)(O));Object(o.e)(C);var P=Object(o.c)(c,C);Object(o.e)(P);var N=(T^E>=0?-1:1)*Object(i.c)(P[2]);(r>N||r===N&&(C[0]||C[1]))&&(f+=T^E>=0?1:-1)}}return(a<-i.i||as}function a(t,n,e){var o=Object(r.a)(t),u=Object(r.a)(n),c=[1,0,0],a=Object(r.c)(o,u),f=Object(r.d)(a,a),l=a[0],h=f-l*l;if(!h)return!e&&t;var p=s*f/h,v=-s*l/h,d=Object(r.c)(c,a),b=Object(r.f)(c,p),g=Object(r.f)(a,v);Object(r.b)(b,g);var y=d,j=Object(r.d)(b,y),O=Object(r.d)(y,y),_=j*j-O*(Object(r.d)(b,b)-1);if(!(_<0)){var m=Object(i.u)(_),x=Object(r.f)(y,(-j-m)/O);if(Object(r.b)(x,b),x=Object(r.g)(x),!e)return x;var w,E=t[0],S=n[0],M=t[1],T=n[1];S0^x[1]<(Object(i.a)(x[0]-E)i.o^(E<=x[0]&&x[0]<=S)){var N=Object(r.f)(y,(-j+m)/O);return Object(r.b)(N,b),[x,Object(r.g)(N)]}}}function f(n,e){var r=l?t:i.o-t,o=0;return n<-r?o|=1:n>r&&(o|=2),e<-r?o|=4:e>r&&(o|=8),o}var s=Object(i.g)(t),l=s>0,h=Object(i.a)(s)>i.i;return Object(c.a)(e,function(t){var n,r,o,c,s;return{lineStart:function(){c=o=!1,s=1},point:function(p,v){var d,b=[p,v],g=e(p,v),y=l?g?0:f(p,v):g?f(p+(p<0?i.o:-i.o),v):0;if(!n&&(c=o=g)&&t.lineStart(),g!==o&&(d=a(n,b),(Object(u.a)(n,d)||Object(u.a)(b,d))&&(b[0]+=i.i,b[1]+=i.i,g=e(b[0],b[1]))),g!==o)s=0,g?(t.lineStart(),d=a(b,n),t.point(d[0],d[1])):(d=a(n,b),t.point(d[0],d[1]),t.lineEnd()),n=d;else if(h&&n&&l^g){var j;y&r||!(j=a(b,n,!0))||(s=0,l?(t.lineStart(),t.point(j[0][0],j[0][1]),t.point(j[1][0],j[1][1]),t.lineEnd()):(t.point(j[1][0],j[1][1]),t.lineEnd(),t.lineStart(),t.point(j[0][0],j[0][1])))}!g||n&&Object(u.a)(n,b)||t.point(b[0],b[1]),n=b,o=g,r=y},lineEnd:function(){o&&t.lineEnd(),n=null},clean:function(){return s|(c&&o)<<1}}},function(e,r,i,u){Object(o.a)(u,t,n,i,e,r)},l?[0,-t]:[-i.o,t-i.o])}},function(t,n,e){"use strict";var r=e(55),o=e(6),i=e(117),u=16,c=Object(o.g)(30*o.r);n.a=function(t,n){return+n?function(t,n){function e(r,i,u,a,f,s,l,h,p,v,d,b,g,y){var j=l-r,O=h-i,_=j*j+O*O;if(_>4*n&&g--){var m=a+v,x=f+d,w=s+b,E=Object(o.u)(m*m+x*x+w*w),S=Object(o.c)(w/=E),M=Object(o.a)(Object(o.a)(w)-1)n||Object(o.a)((j*P+O*N)/_-.5)>.3||a*v+f*d+s*b=.12&&o<.234&&r>=-.425&&r<-.214?h:o>=.166&&o<.234&&r>=-.214&&r<-.115?p:l).invert(t)},t.stream=function(t){return n&&e===t?n:n=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o0?n<-i.l+i.i&&(n=-i.l+i.i):n>i.l-i.i&&(n=i.l-i.i);var e=a/Object(i.p)(r(n),u);return[e*Object(i.t)(u*t),a-e*Object(i.g)(u*t)]}var o=Object(i.g)(t),u=t===n?Object(i.t)(t):Object(i.n)(o/Object(i.g)(n))/Object(i.n)(r(n)/r(t)),a=o*Object(i.p)(r(t),u)/u;return u?(e.invert=function(t,n){var e=a-n,r=Object(i.s)(u)*Object(i.u)(t*t+e*e);return[Object(i.e)(t,e)/u,2*Object(i.d)(Object(i.p)(a/r,1/u))-i.l]},e):c.c}n.a=o;var i=e(6),u=e(116),c=e(118);n.b=function(){return Object(u.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=c-n,r=i*t;return[e*Object(o.t)(r),c-e*Object(o.g)(r)]}var r=Object(o.g)(t),i=t===n?Object(o.t)(t):(r-Object(o.g)(n))/(n-t),c=r/i+t;return Object(o.a)(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new r}var i=Math.PI,u=2*i,c=u-1e-6;r.prototype=o.prototype={constructor:r,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,o,i){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,n,e,r,o){t=+t,n=+n,e=+e,r=+r,o=+o;var u=this._x1,c=this._y1,a=e-t,f=r-n,s=u-t,l=c-n,h=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(h>1e-6)if(Math.abs(l*a-f*s)>1e-6&&o){var p=e-u,v=r-c,d=a*a+f*f,b=p*p+v*v,g=Math.sqrt(d),y=Math.sqrt(h),j=o*Math.tan((i-Math.acos((d+h-b)/(2*g*y)))/2),O=j/y,_=j/g;Math.abs(O-1)>1e-6&&(this._+="L"+(t+O*s)+","+(n+O*l)),this._+="A"+o+","+o+",0,0,"+ +(l*p>s*v)+","+(this._x1=t+_*a)+","+(this._y1=n+_*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(r),s=e*Math.sin(r),l=t+f,h=n+s,p=1^a,v=a?r-o:o-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(v<0&&(v=v%u+u),v>c?this._+="A"+e+","+e+",0,1,"+p+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+p+","+(this._x1=l)+","+(this._y1=h):v>1e-6&&(this._+="A"+e+","+e+",0,"+ +(v>=i)+","+p+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){var r=e(4),o=e(48);r(o.prototype,{getAllNodes:function(){var t=[];return this.root.each(function(n){t.push(n)}),t},getAllLinks:function(){for(var t=[],n=[this.root],e=void 0;e=n.pop();){var r=e.children;r&&r.forEach(function(r){t.push({source:e,target:r}),n.push(r)})}return t}}),r(o.prototype,{getAllEdges:o.prototype.getAllLinks})},function(t,n,e){var r=e(4),o=e(119),i=e(19);r(e(48).prototype,{partition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i(this.rows,t,n)},group:function(t,n){var e=this.partition(t,n);return o(e)},groups:function(t,n){return this.group(t,n)}})},function(t,n,e){var r=e(51);t.exports=function(t,n){return r(n,function(n){return t[n]})}},function(t,n,e){var r=e(85),o=e(542),i=Object.prototype.hasOwnProperty,u=o(function(t,n,e){i.call(t,e)?t[e].push(n):r(t,e,[n])});t.exports=u},function(t,n,e){var r=e(543),o=e(544),i=e(49),u=e(3);t.exports=function(t,n){return function(e,c){var a=u(e)?r:o,f=n?n():{};return a(e,t,i(c,2),f)}}},function(t,n){t.exports=function(t,n,e,r){for(var o=-1,i=null==t?0:t.length;++o1&&void 0!==arguments[1]?arguments[1]:[],e=void 0;return o(n)?e=n:r(n)?e=function(t,e){for(var r=0;re[o])return 1}return 0}:i(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}},function(t,n,e){function r(t,n){var e=t.getColumn(n);return u(e)&&u(e[0])&&(e=i(e)),e}var o=e(4),i=e(230),u=e(3),c=e(27),a=e(48),f=e(247);e(125).STATISTICS_METHODS.forEach(function(t){a.prototype[t]=function(n){return c[t](r(this,n))}});var s=c.quantile;o(a.prototype,{average:a.prototype.mean,quantile:function(t,n){return s(r(this,t),n)},quantiles:function(t,n){var e=r(this,t);return n.map(function(t){return s(e,t)})},quantilesByFraction:function(t,n){return this.quantiles(t,f(n))},range:function(t){return[this.min(t),this.max(t)]},extent:function(t){return this.range(t)}})},function(t,n){t.exports=function(t){var n,e,r=t.length;if(1===r)n=0,e=t[0][1];else{for(var o,i,u,c=0,a=0,f=0,s=0,l=0;lr&&(n=t[o],r=i),e.set(t[o],i)}if(0===r)throw new Error("mode requires at last one data point");return n}},function(t,n){t.exports=function(t){return t[0]}},function(t,n){t.exports=function(t){return t[t.length-1]}},function(t,n){t.exports=function(t){for(var n=0,e=0;eo;){if(i-o>600){var u=i-o+1,c=n-o+1,a=Math.log(u),f=.5*Math.exp(2*a/3),s=.5*Math.sqrt(a*f*(u-f)/u);c-u/2<0&&(s*=-1);e(t,n,Math.max(o,Math.floor(n-c*f/u+s)),Math.min(i,Math.floor(n+(u-c)*f/u+s)))}var l=t[n],h=o,p=i;for(r(t,o,n),t[i]>l&&r(t,o,i);hl;)p--}t[o]===l?r(t,o,p):r(t,++p,i),p<=n&&(o=p+1),n<=p&&(i=p-1)}}function r(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}t.exports=e},function(t,n,e){var r=e(122);t.exports=function(t){var n=r(t,.75),e=r(t,.25);if("number"==typeof n&&"number"==typeof e)return n-e}},function(t,n,e){var r=e(238);t.exports=function(t){for(var n=r(t),e=[],o=0;o0){var i=(e[n]-e[t-1])/(n-t+1);o=r[n]-r[t-1]-(n-t+1)*i*i}else o=r[n]-e[n]*e[n]/(n+1);return o<0?0:o}function i(t,n,e,r,u,c,a){if(!(t>n)){var f=Math.floor((t+n)/2);r[e][f]=r[e-1][f-1],u[e][f]=f;var s=e;t>e&&(s=Math.max(s,u[e][t-1]||0)),s=Math.max(s,u[e-1][f]||0);var l=f-1;n=s&&!((h=o(d,f,c,a))+r[e-1][s-1]>=r[e][f]);--d)(p=o(s,f,c,a)+r[e-1][s-1])t.length)throw new Error("cannot generate more classes than there are data values");var e=c(t);if(1===u(e))return[e];var a=r(n,e.length),f=r(n,e.length);!function(t,n,e){for(var r,u=n[0].length,c=t[Math.floor(u/2)],a=[],f=[],s=0;s=0;h--){var p=f[h][l];s[h]=e.slice(p,l+1),h>0&&(l=p-1)}return s}},function(t,n,e){var r=e(237),o=e(236);t.exports=function(t,n){if(t.length<2)return t;for(var e=o(t),i=r(t),u=[e],c=(i-e)/n,a=1;a0?1:0},e.prototype.train=function(t,n){if(0!==n&&1!==n)return null;t.length!==this.weights.length&&(this.weights=t,this.bias=1);var e=this.predict(t);if(e!==n){for(var r=n-e,o=0;o1)throw new Error("bernoulliDistribution requires probability to be between 0 and 1 inclusive");return[1-t,t]}},function(t,n,e){var r=e(78);t.exports=function(t,n){if(!(n<0||n>1||t<=0||t%1!=0)){var e=0,o=0,i=[],u=1;do{i[e]=u*Math.pow(n,e)*Math.pow(1-n,t-e),o+=i[e],u=u*(t-++e+1)/e}while(o<1-r);return i}}},function(t,n,e){var r=e(78);t.exports=function(t){if(!(t<=0)){var n=0,e=0,o=[],i=1;do{o[n]=Math.exp(-t)*Math.pow(t,n)/i,e+=o[n],i*=++n}while(e<1-r);return o}}},function(t,n,e){var r=e(28),o=e(588);t.exports=function(t,n,e){for(var i,u,c=0,a=n(r(t)),f=[],s=[],l=0;l=0;u--)s[u]<3&&(s[u-1]+=s[u],s.pop(),f[u-1]+=f[u],f.pop());for(u=0;u=0?r[e]:+(1-r[e]).toFixed(4)}},function(t,n){t.exports=function(t){var n=1/(1+.5*Math.abs(t)),e=n*Math.exp(-Math.pow(t,2)-1.26551223+1.00002368*n+.37409196*Math.pow(n,2)+.09678418*Math.pow(n,3)-.18628806*Math.pow(n,4)+.27886807*Math.pow(n,5)-1.13520398*Math.pow(n,6)+1.48851587*Math.pow(n,7)-.82215223*Math.pow(n,8)+.17087277*Math.pow(n,9));return t>=0?1-e:e-1}},function(t,n,e){var r=e(78),o=e(246);t.exports=function(t){return 0===t?t=r:t>=1&&(t=1-r),Math.sqrt(2)*o(2*t-1)}},function(t,n,e){var r=e(594);t.exports=function(t,n,e,o,i){if("function"!=typeof t)throw new TypeError("func must be a function");for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:{}).delimiter||",";if(!r(n))throw new TypeError("Invalid delimiter: must be a string!");return i(n).parse(t)}),a("csv",function(t){return u(t)}),a("tsv",function(t){return c(t)})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(126);e.d(n,"dsvFormat",function(){return r.a});var o=e(599);e.d(n,"csvParse",function(){return o.c}),e.d(n,"csvParseRows",function(){return o.d}),e.d(n,"csvFormat",function(){return o.a}),e.d(n,"csvFormatRows",function(){return o.b});var i=e(600);e.d(n,"tsvParse",function(){return i.c}),e.d(n,"tsvParseRows",function(){return i.d}),e.d(n,"tsvFormat",function(){return i.a}),e.d(n,"tsvFormatRows",function(){return i.b})},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),e.d(n,"d",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"b",function(){return a});var r=e(126),o=Object(r.a)(","),i=o.parse,u=o.parseRows,c=o.format,a=o.formatRows},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),e.d(n,"d",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"b",function(){return a});var r=e(126),o=Object(r.a)("\t"),i=o.parse,u=o.parseRows,c=o.format,a=o.formatRows},function(t,n,e){function r(t,n){n.dataType="geo-graticule";var e=o().lines();return e.map(function(t,n){return t.index=""+n,t}),n.rows=e,e}var o=e(0).geoGraticule;(0,e(2).registerConnector)("geo-graticule",r),t.exports=r},function(t,n){t.exports=function(t){var n=[];return t.replace(r,function(t,r,i){var u=r.toLowerCase();for(i=function(t){var n=t.match(o);return n?n.map(Number):[]}(i),"m"==u&&i.length>2&&(n.push([r].concat(i.splice(0,2))),u="l",r="m"==r?"l":"L");;){if(i.length==e[u])return i.unshift(r),n.push(i);if(i.length=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,o,i=this,u=[i];do{for(n=u.reverse(),u=[];i=n.pop();)if(t(i),e=i.children)for(r=0,o=e.length;r=0;--e)o.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,o=this,i=[o],u=[];o=i.pop();)if(u.push(o),n=o.children)for(e=0,r=n.length;e=0;)e+=r[o].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),o=null;for(t=e.pop(),n=r.pop();t===n;)o=t,t=e.pop(),n=r.pop();return o}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var o=r.length;t!==e;)r.splice(o,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";function r(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function i(t,n){return function(e){if(r=e.children){var r,o,i,u=r.length,a=t(e)*n||0;if(a)for(o=0;o0)throw new Error("cycle");return i}var n=r,e=o;return t.id=function(e){return arguments.length?(n=Object(i.b)(e),t):n},t.parentId=function(n){return arguments.length?(e=Object(i.b)(n),t):e},t}},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function o(t){var n=t.children;return n?n[0]:t.t}function i(t){var n=t.children;return n?n[n.length-1]:t.t}function u(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function c(t,n,e){return t.a.parent===n.parent?t.a:e}function a(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}var f=e(127);a.prototype=Object.create(f.a.prototype),n.a=function(){function t(t){var r=function(t){for(var n,e,r,o,i,u=new a(t,0),c=[u];n=c.pop();)if(r=n._.children)for(n.children=new Array(i=r.length),o=i-1;o>=0;--o)c.push(e=n.children[o]=new a(r[o],o)),e.parent=n;return(u.parent=new a(null,0)).children=[u],u}(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),p)t.eachBefore(f);else{var o=t,i=t,u=t;t.eachBefore(function(t){t.xi.x&&(i=t),t.depth>u.depth&&(u=t)});var c=o===i?1:s(o,i)/2,v=c-o.x,d=l/(i.x+c+v),b=h/(u.depth||1);t.eachBefore(function(t){t.x=(t.x+v)*d,t.y=t.depth*b})}return t}function n(t){var n=t.children,e=t.parent.children,r=t.i?e[t.i-1]:null;if(n){!function(t){for(var n,e=0,r=0,o=t.children,i=o.length;--i>=0;)(n=o[i]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(t);var a=(n[0].z+n[n.length-1].z)/2;r?(t.z=r.z+s(t._,r._),t.m=t.z-a):t.z=a}else r&&(t.z=r.z+s(t._,r._));t.parent.A=function(t,n,e){if(n){for(var r,a=t,f=t,l=n,h=a.parent.children[0],p=a.m,v=f.m,d=l.m,b=h.m;l=i(l),a=o(a),l&&a;)h=o(h),(f=i(f)).a=t,(r=l.z+d-a.z-p+s(l._,a._))>0&&(u(c(l,t,e),t,r),p+=r,v+=r),d+=l.m,p+=a.m,b+=h.m,v+=f.m;l&&!i(f)&&(f.t=l,f.m+=d-v),a&&!o(h)&&(h.t=a,h.m+=p-b,e=t)}return e}(t,r,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=l,t.y=t.depth*h}var s=r,l=1,h=1,p=null;return t.separation=function(n){return arguments.length?(s=n,t):s},t.size=function(n){return arguments.length?(p=!1,l=+n[0],h=+n[1],t):p?null:[l,h]},t.nodeSize=function(n){return arguments.length?(p=!0,l=+n[0],h=+n[1],t):p?[l,h]:null},t}},function(t,n,e){"use strict";var r=e(254),o=e(129),i=e(128),u=e(253);n.a=function(){function t(t){return t.x0=t.y0=0,t.x1=a,t.y1=f,t.eachBefore(n),s=[0],c&&t.eachBefore(r.a),t}function n(t){var n=s[t.depth],r=t.x0+n,o=t.y0+n,i=t.x1-n,u=t.y1-n;i=n-1){var f=a[t];return f.x0=r,f.y0=o,f.x1=u,void(f.y1=c)}for(var l=s[t],h=e/2+l,p=t+1,v=n-1;p>>1;s[d]c-o){var y=(r*g+u*b)/e;i(t,p,b,r,o,y,c),i(p,n,g,y,o,u,c)}else{var j=(o*g+c*b)/e;i(t,p,b,r,o,u,j),i(p,n,g,r,j,u,c)}}var u,c,a=t.children,f=a.length,s=new Array(f+1);for(s[0]=c=u=0;u1?n:1)},e}(i.b)},function(t,n,e){function r(t,n,e){var r=n.object;if(!o(r))throw new TypeError("Invalid object: must be a string!");var c=i(t,t.objects[r]);return u(c,n,e)}var o=e(9),i=e(631).feature,u=e(249),c=e(2).registerConnector;c("topojson",r),c("TopoJSON",r)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(255);e.d(n,"bbox",function(){return r.a});var o=e(131);e.d(n,"feature",function(){return o.a});var i=e(633);e.d(n,"mesh",function(){return i.a}),e.d(n,"meshArcs",function(){return i.b});var u=e(634);e.d(n,"merge",function(){return u.a}),e.d(n,"mergeArcs",function(){return u.b});var c=e(635);e.d(n,"neighbors",function(){return c.a});var a=e(637);e.d(n,"quantize",function(){return a.a});var f=e(130);e.d(n,"transform",function(){return f.a});var s=e(258);e.d(n,"untransform",function(){return s.a})},function(t,n,e){"use strict";n.a=function(t,n){for(var e,r=t.length,o=r-n;o<--r;)e=t[o],t[o++]=t[r],t[r]=e}},function(t,n,e){"use strict";function r(t,n,e){var r,o,u;if(arguments.length>1)r=function(t,n,e){function r(t){var n=t<0?~t:t;(f[n]||(f[n]=[])).push({i:t,g:c})}function o(t){t.forEach(r)}function i(t){t.forEach(o)}function u(t){switch(c=t,t.type){case"GeometryCollection":t.geometries.forEach(u);break;case"LineString":o(t.arcs);break;case"MultiLineString":case"Polygon":i(t.arcs);break;case"MultiPolygon":!function(t){t.forEach(i)}(t.arcs)}}var c,a=[],f=[];return u(n),f.forEach(null==e?function(t){a.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&a.push(t[0].i)}),a}(0,n,e);else for(o=0,r=new Array(u=t.arcs.length);o1)for(var o,a,f=1,s=u(r[0]);fs&&(a=r[0],r[0]=r[f],r[f]=a,s=o);return r})}}n.b=r;var o=e(131),i=e(257);n.a=function(t){return Object(o.b)(t,r.apply(this,arguments))}},function(t,n,e){"use strict";var r=e(636);n.a=function(t){function n(t,n){t.forEach(function(t){t<0&&(t=~t);var e=i[t];e?e.push(n):i[t]=[n]})}function e(t,e){t.forEach(function(t){n(t,e)})}function o(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){o(t,n)}):t.type in c&&c[t.type](t.arcs,n)}var i={},u=t.map(function(){return[]}),c={LineString:n,MultiLineString:e,Polygon:e,MultiPolygon:function(t,n){t.forEach(function(t){e(t,n)})}};t.forEach(o);for(var a in i)for(var f=i[a],s=f.length,l=0;l>>1;t[o]=2))throw new Error("n must be a¡ë£¤2");var u,c=(l=t.bbox||Object(r.a)(t))[0],a=l[1],f=l[2],s=l[3];n={scale:[f-c?(f-c)/(u-1):1,s-a?(s-a)/(u-1):1],translate:[c,a]}}var l,h,p=Object(o.a)(n),v=t.objects,d={};for(h in v)d[h]=i(v[h]);return{type:"Topology",bbox:l,transform:n,objects:d,arcs:t.arcs.map(function(t){var n,e=0,r=1,o=t.length,i=new Array(o);for(i[0]=p(t[0],0);++e1&&void 0!==arguments[1]?arguments[1]:{};t.rows=t.rows.filter(n.callback||function(t){return!!t})})},function(t,n,e){var r=e(4),o=e(641),i=e(53),u=e(2).registerTransform,c=e(7).getFields,a={fields:[],key:"key",retains:[],value:"value"};u("fold",function(t,n){var e=t.getColumnNames();n=r({},a,n);var u=c(n);0===u.length&&(console.warn("warning: option fields is not specified, will fold all columns."),u=e);var f=n.key,s=n.value,l=n.retains;0===l.length&&(l=o(e,u));var h=[];t.rows.forEach(function(t){u.forEach(function(n){var e=i(t,l);e[f]=n,e[s]=t[n],h.push(e)})}),t.rows=h})},function(t,n,e){var r=e(642),o=e(77),i=e(86),u=e(646),c=i(function(t,n){return u(t)?r(t,o(n,1,u,!0)):[]});t.exports=c},function(t,n,e){var r=e(110),o=e(259),i=e(260),u=e(51),c=e(90),a=e(111),f=200;t.exports=function(t,n,e,s){var l=-1,h=o,p=!0,v=t.length,d=[],b=n.length;if(!v)return d;e&&(n=u(n,c(e))),s?(h=i,p=!1):n.length>=f&&(h=a,p=!1,n=new r(n));t:for(;++l1&&void 0!==arguments[1]?arguments[1]:{};t.rows=t.rows.map(n.callback||function(t){return t})})},function(t,n,e){function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=o({},a,n),t.rows=i(u(t.rows,n.groupBy,n.orderBy))}var o=e(4),i=e(119),u=e(19),c=e(2).registerTransform,a={groupBy:[],orderBy:[]};c("partition",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=o({},a,n),t.rows=u(t.rows,n.groupBy,n.orderBy)}),c("group",r),c("groups",r)},function(t,n,e){var r=e(4),o=e(12),i=e(3),u=e(9),c=e(27).sum,a=e(19),f=e(2).registerTransform,s=e(7).getField,l={groupBy:[],as:"_percent"};f("percent",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=r({},l,n);var e=s(n),f=n.dimension,h=n.groupBy,p=n.as;if(!u(f))throw new TypeError("Invalid dimension: must be a string!");if(i(p)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),p=p[0]),!u(p))throw new TypeError("Invalid as: must be a string!");var v=t.rows,d=[],b=a(v,h);o(b,function(t){var n=c(t.map(function(t){return t[e]}));0===n&&console.warn("Invalid data: total sum of field "+e+" is 0!");var r=a(t,[f]);o(r,function(t){var r=c(t.map(function(t){return t[e]})),o=t[0],i=o[f];o[e]=r,o[f]=i,o[p]=0===n?0:r/n,d.push(o)})}),t.rows=d})},function(t,n,e){var r=e(53),o=e(2).registerTransform,i=e(7).getFields;o("pick",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=i(n,t.getColumnNames());t.rows=t.rows.map(function(t){return r(t,e)})})},function(t,n,e){var r=e(4),o=e(12),i=e(3),u=e(9),c=e(19),a=e(2).registerTransform,f=e(7).getField,s={groupBy:[],as:"_proportion"};a("proportion",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=r({},s,n);var e=f(n),a=n.dimension,l=n.groupBy,h=n.as;if(!u(a))throw new TypeError("Invalid dimension: must be a string!");if(i(h)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),h=h[0]),!u(h))throw new TypeError("Invalid as: must be a string!");var p=t.rows,v=[],d=c(p,l);o(d,function(t){var n=t.length,r=c(t,[a]);o(r,function(t){var r=t.length,o=t[0],i=o[a];o[e]=r,o[a]=i,o[h]=r/n,v.push(o)})}),t.rows=v})},function(t,n,e){function r(t){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).map||{},e={};i(n)&&o(n,function(t,n){u(t)&&u(n)&&(e[n]=t)}),t.rows.forEach(function(t){o(n,function(n,e){var r=t[e];delete t[e],t[n]=r})})}var o=e(12),i=e(653),u=e(9),c=e(2).registerTransform;c("rename",r),c("rename-fields",r)},function(t,n,e){var r=e(23),o=e(108),i=e(20),u="[object Object]",c=Function.prototype,a=Object.prototype,f=c.toString,s=a.hasOwnProperty,l=f.call(Object);t.exports=function(t){if(!i(t)||r(t)!=u)return!1;var n=o(t);if(null===n)return!0;var e=s.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&f.call(e)==l}},function(t,n,e){var r=e(261);(0,e(2).registerTransform)("reverse",function(t){t.rows=r(t.rows)})},function(t,n,e){(0,e(2).registerTransform)("sort",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.getColumnName(0);t.rows.sort(n.callback||function(t,n){return t[e]-n[e]})})},function(t,n,e){function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=a(n,[t.getColumnName(0)]);if(!o(e))throw new TypeError("Invalid fields: must be an array with strings!");t.rows=u(t.rows,e);var r=n.order;if(r&&-1===f.indexOf(r))throw new TypeError("Invalid order: "+r+" must be one of "+f.join(", "));"DESC"===r&&(t.rows=i(t.rows))}var o=e(3),i=e(261),u=e(657),c=e(2).registerTransform,a=e(7).getFields,f=["ASC","DESC"];c("sort-by",r),c("sortBy",r)},function(t,n,e){var r=e(77),o=e(658),i=e(86),u=e(150),c=i(function(t,n){if(null==t)return[];var e=n.length;return e>1&&u(t,n[0],n[1])?n=[]:e>2&&u(n[0],n[1],n[2])&&(n=[n[0]]),o(t,r(n,1),[])});t.exports=c},function(t,n,e){var r=e(51),o=e(49),i=e(262),u=e(659),c=e(90),a=e(660),f=e(42);t.exports=function(t,n,e){var s=-1;n=r(n.length?n:[f],c(o));var l=i(t,function(t,e,o){return{criteria:r(n,function(n){return n(t)}),index:++s,value:t}});return u(l,function(t,n){return a(t,n,e)})}},function(t,n){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},function(t,n,e){var r=e(661);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,u=n.criteria,c=i.length,a=e.length;++o=a?f:f*("desc"==e[o]?-1:1)}return t.index-n.index}},function(t,n,e){var r=e(50);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,u=r(t),c=void 0!==n,a=null===n,f=n==n,s=r(n);if(!a&&!s&&!u&&t>n||u&&c&&f&&!a&&!s||o&&c&&f||!e&&f||!i)return 1;if(!o&&!u&&!s&&t1&&void 0!==arguments[1]?arguments[1]:{},e=n.startRowIndex||0,r=n.endRowIndex||t.rows.length-1,i=o(n,t.getColumnNames());t.rows=t.getSubset(e,r,i)})},function(t,n,e){function r(t,n){var e=t.map(function(t){return t});return n.forEach(function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}),e}function o(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=i({},f,n);var e=t.rows,o=n.groupBy,a=n.orderBy,s=c(e,o,a),l=0,h=[];u(s,function(t){t.length>l&&(l=t.length,h=t)});var p=[],v={};if(h.forEach(function(t){var n=a.map(function(n){return t[n]}).join("-");p.push(n),v[n]=t}),"order"===n.fillBy){var d=h[0],b=[],g={};e.forEach(function(t){var n=a.map(function(n){return t[n]}).join("-");-1===b.indexOf(n)&&(b.push(n),g[n]=t)});r(b,p).forEach(function(t){var n={};o.forEach(function(t){n[t]=d[t]}),a.forEach(function(e){n[e]=g[t][e]}),e.push(n),h.push(n),p.push(t),v[t]=n}),l=h.length}u(s,function(t){if(t!==h&&t.length=l-t.length)return!0;var u=v[r],c={};return o.forEach(function(t){c[t]=n[t]}),a.forEach(function(t){c[t]=u[t]}),e.push(c),!1})}})}var i=e(4),u=e(12),c=e(19),a=e(2).registerTransform,f={fillBy:"group",groupBy:[],orderBy:[]};a("fill-rows",o),a("fillRows",o)},function(t,n,e){function r(t){return t.filter(function(t){return!a(t)})}var o=e(4),i=e(12),u=e(665),c=e(13),a=e(667),f=e(9),s=e(27),l=e(19),h=e(2).registerTransform,p=e(7).getField,v={groupBy:[]},d=["mean","median","max","min"],b={};d.forEach(function(t){b[t]=function(n,e){return s[t](e)}}),b.value=function(t,n,e){return e},h("impute",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.rows;n=o({},v,n);var s=p(n),h=n.method,g=n.groupBy;if(!h)throw new TypeError("Invalid method!");if("value"===h&&!u(n,"value"))throw new TypeError("Invalid value: it is nil.");var y=r(t.getColumn(s)),j=l(e,g);i(j,function(t){var e=r(t.map(function(t){return t[s]}));0===e.length&&(e=y),t.forEach(function(r){if(a(r[s]))if(c(h))r[s]=h(r,e,n.value,t);else{if(!f(h))throw new TypeError("Invalid method: must be a function or one of "+d.join(", "));r[s]=b[h](r,e,n.value)}})})})},function(t,n,e){var r=e(666),o=e(210);t.exports=function(t,n){return null!=t&&o(t,n,r)}},function(t,n){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},function(t,n){t.exports=function(t){return void 0===t}},function(t,n,e){function r(t,n){n=o({},b,n);var e=t.rows,r=n.groupBy,i=d(n);if(!c(i))throw new TypeError("Invalid fields: it must be an array with one or more strings!");var f=n.as||[];a(f)&&(f=[f]);var s=n.operations;a(s)&&(s=[s]);var l=[g];if(c(s)&&s.length||(console.warn('operations is not defined, will use [ "count" ] directly.'),f=s=l),1!==s.length||s[0]!==g){if(s.length!==i.length)throw new TypeError("Invalid operations: it's length must be the same as fields!");if(f.length!==i.length)throw new TypeError("Invalid as: it's length must be the same as fields!")}var p=h(e,r),v=[];u(p,function(t){var n=t[0];s.forEach(function(e,r){var o=f[r],u=i[r];n[o]=y[e](t,u)}),v.push(n)}),t.rows=v}var o=e(4),i=e(230),u=e(12),c=e(3),a=e(9),f=e(11),s=e(669),l=e(27),h=e(19),p=e(2).registerTransform,v=e(125).STATISTICS_METHODS,d=e(7).getFields,b={as:[],fields:[],groupBy:[],operations:[]},g="count",y={count:function(t){return t.length},distinct:function(t,n){return s(t.map(function(t){return t[n]})).length}};v.forEach(function(t){y[t]=function(n,e){var r=n.map(function(t){return t[e]});return c(r)&&c(r[0])&&(r=i(r)),l[t](r)}}),y.average=y.mean,p("aggregate",r),p("summary",r),t.exports={VALID_AGGREGATES:f(y)}},function(t,n,e){var r=e(670);t.exports=function(t){return t&&t.length?r(t):[]}},function(t,n,e){var r=e(110),o=e(259),i=e(260),u=e(111),c=e(671),a=e(74),f=200;t.exports=function(t,n,e){var s=-1,l=o,h=t.length,p=!0,v=[],d=v;if(e)p=!1,l=i;else if(h>=f){var b=n?null:c(t);if(b)return a(b);p=!1,l=u,d=new r}else d=n?[]:v;t:for(;++sMath.abs(e[i][u])&&(u=c);for(var a=i;a=i;l--)e[l][s]-=e[l][i]*e[i][s]/e[i][i]}for(var h=r-1;h>=0;h--){for(var p=0,v=h+1;v=0;j--)y+=j>1?d[j]+"x^"+j+" + ":1===j?d[j]+"x + ":d[j];return{string:y,points:g,predict:b,equation:[].concat(function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n1&&void 0!==arguments[1]?arguments[1]:[1,1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0],i={},u=n[0],c=n[1],a=e[0],f=e[1];return t.forEach(function(t){var n=t[0],e=t[1],s=o(n,u,a),l=s[0],h=s[1],p=o(e,c,f),v=p[0],d=p[1],b=void 0,g=void 0,y=void 0;r(n,e,l,v)R&&(R=t.count)}),c(S,function(t){var e=t.x,r=t.y,o=t.count,i={};i[C]=o,n.sizeByCount?(i[T]=N.map(function(n){return e+t.count/R*n[0]}),i[k]=N.map(function(n){return(r+t.count/R*n[1])/E})):(i[T]=N.map(function(t){return e+t[0]}),i[k]=N.map(function(t){return(r+t[1])/E})),A.push(i)}),t.rows=A}var u=e(4),c=e(12),a=e(3),f=e(2).registerTransform,s=e(7).getFields,l={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1},h=Math.sqrt(3),p=Math.PI/3,v=[0,p,2*p,3*p,4*p,5*p];f("bin.hexagon",i),f("bin.hex",i),f("hexbin",i)},function(t,n,e){function r(t,n){n=o({},s,n);var e=f(n);if(0!==t.rows.length){var r=t.range(e),a=r[1]-r[0],l=n.binWidth;if(!l){var h=n.bins;if(h<=0)throw new TypeError("Invalid bins: it must be a positive number!");l=a/h}var p=n.offset%l,v=[],d=n.groupBy,b=c(t.rows,d);i(b,function(t){var r={};t.map(function(t){return t[e]}).forEach(function(t){var n=function(t,n,e){var r=t-e,o=Math.floor(r/n);return[o*n+e,(o+1)*n+e]}(t,l,p),e=n[0],o=n[1],i=e+"-"+o;r[i]=r[i]||{x0:e,x1:o,count:0},r[i].count++});var c=n.as,a=c[0],f=c[1];if(!a||!f)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var s=u(t[0],d);i(r,function(t){var n=o({},s);n[a]=[t.x0,t.x1],n[f]=t.count,v.push(n)})}),t.rows=v}}var o=e(4),i=e(12),u=e(53),c=e(19),a=e(2).registerTransform,f=e(7).getField,s={as:["x","count"],bins:30,offset:0,groupBy:[]};a("bin.histogram",r),a("bin.dot",r)},function(t,n,e){var r=e(4),o=e(12),i=e(3),u=e(9),c=e(27).quantile,a=e(19),f=e(247),s=e(2).registerTransform,l=e(7).getField,h={as:"_bin",groupBy:[],fraction:4};s("bin.quantile",function(t,n){n=r({},h,n);var e=l(n),s=n.as;if(!u(s))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var p=n.p,v=n.fraction;i(p)&&0!==p.length||(p=f(v));var d=t.rows,b=n.groupBy,g=a(d,b),y=[];o(g,function(t){var n=t[0],r=t.map(function(t){return t[e]}),o=p.map(function(t){return c(r,t)});n[s]=o,y.push(n)}),t.rows=y})},function(t,n,e){function r(t,n,e){var r=t-e,o=Math.floor(r/n);return[o*n+e,(o+1)*n+e]}function o(t,n){n=i({},f,n);var e=a(n),o=e[0],c=e[1];if(!o||!c)throw new TypeError("Invalid fields: must be an array with 2 strings!");var s=t.range(o),l=t.range(c),h=s[1]-s[0],p=l[1]-l[0],v=n.binWidth||[];if(2!==v.length){var d=n.bins,b=d[0],g=d[1];if(b<=0||g<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");v=[h/b,p/g]}var y=t.rows.map(function(t){return[t[o],t[c]]}),j={},O=n.offset,_=O[0],m=O[1];y.forEach(function(t){var n=r(t[0],v[0],_),e=n[0],o=n[1],i=r(t[1],v[1],m),u=i[0],c=i[1],a=e+"-"+o+"-"+u+"-"+c;j[a]=j[a]||{x0:e,x1:o,y0:u,y1:c,count:0},j[a].count++});var x=[],w=n.as,E=w[0],S=w[1],M=w[2];if(!E||!S||!M)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(n.sizeByCount){var T=0;u(j,function(t){t.count>T&&(T=t.count)}),u(j,function(t){var n=t.x0,e=t.x1,r=t.y0,o=t.y1,i=t.count,u=i/T,c=(n+e)/2,a=(r+o)/2,f=(e-n)*u/2,s=(o-r)*u/2,l=c-f,h=c+f,p=a-s,v=a+s,d={};d[E]=[l,h,h,l],d[S]=[p,p,v,v],d[M]=i,x.push(d)})}else u(j,function(t){var n={};n[E]=[t.x0,t.x1,t.x1,t.x0],n[S]=[t.y0,t.y0,t.y1,t.y1],n[M]=t.count,x.push(n)});t.rows=x}var i=e(4),u=e(12),c=e(2).registerTransform,a=e(7).getFields,f={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};c("bin.rectangle",o),c("bin.rect",o)},function(t,n,e){var r=e(4),o=e(3),i=e(9),u=e(2).registerTransform,c=e(7).getField,a={as:["_centroid_x","_centroid_y"]};u("geo.centroid",function(t,n){n=r({},a,n);var e=c(n),u=n.geoView||n.geoDataView;if(i(u)&&(u=t.dataSet.getView(u)),!u||"geo"!==u.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var f=n.as;if(!o(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var s=f[0],l=f[1];t.rows.forEach(function(t){var n=u.geoFeatureByName(t[e]);n&&(u._projectedAs?(t[s]=n[u._projectedAs[2]],t[l]=n[u._projectedAs[3]]):(t[s]=n.centroidX,t[l]=n.centroidY))})})},function(t,n,e){var r=e(4),o=e(0),i=e(250),u=e(3),c=e(2).registerTransform,a=e(214),f=o.geoPath,s={as:["_x","_y","_centroid_x","_centroid_y"]};c("geo.projection",function(t,n){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");var e=(n=r({},s,n)).projection;if(!e)throw new TypeError("Invalid projection!");e=a(e);var o=f(e),c=n.as;if(!u(c)||4!==c.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=c;var l=c[0],h=c[1],p=c[2],v=c[3];t.rows.forEach(function(t){t[l]=[],t[h]=[];var n=o(t);if(n){i(n)._path.forEach(function(n){t[l].push(n[1]),t[h].push(n[2])});var e=o.centroid(t);t[p]=e[0],t[v]=e[1]}}),t.rows=t.rows.filter(function(t){return 0!==t[l].length})})},function(t,n,e){var r=e(4),o=e(3),i=e(9),u=e(2).registerTransform,c=e(7).getField,a={as:["_x","_y"]};u("geo.region",function(t,n){n=r({},a,n);var e=c(n),u=n.geoView||n.geoDataView;if(i(u)&&(u=t.dataSet.getView(u)),!u||"geo"!==u.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var f=n.as;if(!o(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var s=f[0],l=f[1];t.rows.forEach(function(t){var n=u.geoFeatureByName(t[e]);n&&(u._projectedAs?(t[s]=n[u._projectedAs[0]],t[l]=n[u._projectedAs[1]]):(t[s]=n.longitude,t[l]=n.latitude))})})},function(t,n,e){function r(t,n){n=o({},s,n);var e={},r=t.nodes,f=t.edges;u(r)&&0!==r.length||(r=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.forEach(function(t){var r=n.edgeSource(t),o=n.edgeTarget(t);e[r]||(e[r]={id:r}),e[o]||(e[o]={id:o})}),c(e)}(f,n,e)),r.forEach(function(t){var r=n.id(t);e[r]=t}),function(t,n,e){i(t,function(t,r){t.inEdges=n.filter(function(t){return""+e.target(t)==""+r}),t.outEdges=n.filter(function(t){return""+e.source(t)==""+r}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(n){t.value+=e.targetWeight(n)}),t.outEdges.forEach(function(n){t.value+=e.sourceWeight(n)})})}(e,f,n),function(t,n){var e={weight:function(t,n){return n.value-t.value},frequency:function(t,n){return n.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}}[n.sortBy];!e&&a(n.sortBy)&&(e=n.sortBy),e&&t.sort(e)}(r,n),function(t,n){var e=t.length;if(!e)throw new TypeError("Invalid nodes: it's empty!");if(n.weight){var r=n.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var o=r/(2*e),i=n.thickness;if(i<=0||i>=1)throw new TypeError("Invalid thickness: it must be in range (0, 1)!");var u=0;t.forEach(function(t){u+=t.value}),t.forEach(function(t){t.weight=t.value/u,t.width=t.weight*(1-r),t.height=i}),t.forEach(function(e,r){for(var u=0,c=r-1;c>=0;c--)u+=t[c].width+2*o;var a=e.minX=o+u,f=e.maxX=e.minX+e.width,s=e.minY=n.y-i/2,l=e.maxY=s+i;e.x=[a,f,f,a],e.y=[s,s,l,l]})}else{var c=1/e;t.forEach(function(t,e){t.x=(e+.5)*c,t.y=n.y})}}(r,n),function(t,n,e){if(e.weight){var r={};i(t,function(t,n){r[n]=t.value}),n.forEach(function(n){var o=e.source(n),i=e.target(n),u=t[o],c=t[i];if(u&&c){var a=r[o],f=e.sourceWeight(n),s=u.minX+(u.value-a)/u.value*u.width,l=s+f/u.value*u.width;r[o]-=f;var h=r[i],p=e.targetWeight(n),v=c.minX+(c.value-h)/c.value*c.width,d=v+p/c.value*c.width;r[i]-=p;var b=e.y;n.x=[s,l,v,d],n.y=[b,b,b,b]}})}else n.forEach(function(n){var r=t[e.source(n)],o=t[e.target(n)];r&&o&&(n.x=[r.x,o.x],n.y=[r.y,o.y])})}(e,f,n),t.nodes=r,t.edges=f}var o=e(4),i=e(12),u=e(3),c=e(119),a=e(13),f=e(2).registerTransform,s={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};f("diagram.arc",r),f("arc",r)},function(t,n,e){function r(t,n){n=o({},c,n);var e=new i.graphlib.Graph;e.setGraph({}),e.setDefaultEdgeLabel(function(){return{}}),t.nodes.forEach(function(t){var r=n.nodeId?n.nodeId(t):t.id;t.height||t.width||(t.height=t.width=n.edgesep),e.setNode(r,t)}),t.edges.forEach(function(t){e.setEdge(n.source(t),n.target(t))}),i.layout(e);var r=[],u=[];e.nodes().forEach(function(t){var n=e.node(t),o=n.x,i=n.y,u=n.height,c=n.width;n.x=[o-c/2,o+c/2,o+c/2,o-c/2],n.y=[i+u/2,i+u/2,i-u/2,i-u/2],r.push(n)}),e.edges().forEach(function(t){var n=e.edge(t).points,r={};r.x=n.map(function(t){return t.x}),r.y=n.map(function(t){return t.y}),u.push(r)}),t.nodes=r,t.edges=u}var o=e(4),i=e(684),u=e(2).registerTransform,c={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(t){return t.source},target:function(t){return t.target}};u("diagram.dagre",r),u("dagre",r)},function(t,n,e){t.exports={graphlib:e(17),layout:e(698),debug:e(720),util:{time:e(10).time,notime:e(10).notime},version:e(721)}},function(t,n,e){var r=e(686);t.exports={Graph:r.Graph,json:e(688),alg:e(689),version:r.version}},function(t,n,e){t.exports={Graph:e(135),version:e(687)}},function(t,n){t.exports="2.1.5"},function(t,n,e){var r=e(15),o=e(135);t.exports={write:function(t){var n={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:function(t){return r.map(t.nodes(),function(n){var e=t.node(n),o=t.parent(n),i={v:n};return r.isUndefined(e)||(i.value=e),r.isUndefined(o)||(i.parent=o),i})}(t),edges:function(t){return r.map(t.edges(),function(n){var e=t.edge(n),o={v:n.v,w:n.w};return r.isUndefined(n.name)||(o.name=n.name),r.isUndefined(e)||(o.value=e),o})}(t)};return r.isUndefined(t.graph())||(n.value=r.clone(t.graph())),n},read:function(t){var n=new o(t.options).setGraph(t.value);return r.each(t.nodes,function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)}),r.each(t.edges,function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),n}}},function(t,n,e){t.exports={components:e(690),dijkstra:e(265),dijkstraAll:e(691),findCycles:e(692),floydWarshall:e(693),isAcyclic:e(694),postorder:e(695),preorder:e(696),prim:e(697),tarjan:e(267),topsort:e(268)}},function(t,n,e){var r=e(15);t.exports=function(t){function n(i){r.has(o,i)||(o[i]=!0,e.push(i),r.each(t.successors(i),n),r.each(t.predecessors(i),n))}var e,o={},i=[];return r.each(t.nodes(),function(t){e=[],n(t),e.length&&i.push(e)}),i}},function(t,n,e){var r=e(265),o=e(15);t.exports=function(t,n,e){return o.transform(t.nodes(),function(o,i){o[i]=r(t,i,n,e)},{})}},function(t,n,e){var r=e(15),o=e(267);t.exports=function(t){return r.filter(o(t),function(n){return n.length>1||1===n.length&&t.hasEdge(n[0],n[0])})}},function(t,n,e){var r=e(15);t.exports=function(t,n,e){return function(t,n,e){var r={},o=t.nodes();return o.forEach(function(t){r[t]={},r[t][t]={distance:0},o.forEach(function(n){t!==n&&(r[t][n]={distance:Number.POSITIVE_INFINITY})}),e(t).forEach(function(e){var o=e.v===t?e.w:e.v,i=n(e);r[t][o]={distance:i,predecessor:t}})}),o.forEach(function(t){var n=r[t];o.forEach(function(e){var i=r[e];o.forEach(function(e){var r=i[t],o=n[e],u=i[e],c=r.distance+o.distance;c0;){if(u=f.removeMin(),r.has(a,u))c.setEdge(u,a[u]);else{if(s)throw new Error("Input graph is not connected: "+t);s=!0}t.nodeEdges(u).forEach(e)}return c}},function(t,n,e){function r(t,n){return i.mapValues(i.pick(t,n),Number)}function o(t){var n={};return i.forEach(t,function(t,e){n[e.toLowerCase()]=t}),n}var i=e(8),u=e(699),c=e(702),a=e(703),f=e(10).normalizeRanks,s=e(705),l=e(10).removeEmptyRanks,h=e(706),p=e(707),v=e(708),d=e(709),b=e(718),g=e(10),y=e(17).Graph;t.exports=function(t,n){var e=n&&n.debugTiming?g.time:g.notime;e("layout",function(){var n=e(" buildLayoutGraph",function(){return function(t){var n=new y({multigraph:!0,compound:!0}),e=o(t.graph());return n.setGraph(i.merge({},O,r(e,j),i.pick(e,_))),i.forEach(t.nodes(),function(e){var u=o(t.node(e));n.setNode(e,i.defaults(r(u,m),x)),n.setParent(e,t.parent(e))}),i.forEach(t.edges(),function(e){var u=o(t.edge(e));n.setEdge(e,i.merge({},E,r(u,w),i.pick(u,S)))}),n}(t)});e(" runLayout",function(){!function(t,n){n(" makeSpaceForEdgeLabels",function(){!function(t){var n=t.graph();n.ranksep/=2,i.forEach(t.edges(),function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),n(" removeSelfEdges",function(){!function(t){i.forEach(t.edges(),function(n){if(n.v===n.w){var e=t.node(n.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:n,label:t.edge(n)}),t.removeEdge(n)}})}(t)}),n(" acyclic",function(){u.run(t)}),n(" nestingGraph.run",function(){h.run(t)}),n(" rank",function(){a(g.asNonCompoundGraph(t))}),n(" injectEdgeLabelProxies",function(){!function(t){i.forEach(t.edges(),function(n){var e=t.edge(n);if(e.width&&e.height){var r=t.node(n.v),o={rank:(t.node(n.w).rank-r.rank)/2+r.rank,e:n};g.addDummyNode(t,"edge-proxy",o,"_ep")}})}(t)}),n(" removeEmptyRanks",function(){l(t)}),n(" nestingGraph.cleanup",function(){h.cleanup(t)}),n(" normalizeRanks",function(){f(t)}),n(" assignRankMinMax",function(){!function(t){var n=0;i.forEach(t.nodes(),function(e){var r=t.node(e);r.borderTop&&(r.minRank=t.node(r.borderTop).rank,r.maxRank=t.node(r.borderBottom).rank,n=i.max(n,r.maxRank))}),t.graph().maxRank=n}(t)}),n(" removeEdgeLabelProxies",function(){!function(t){i.forEach(t.nodes(),function(n){var e=t.node(n);"edge-proxy"===e.dummy&&(t.edge(e.e).labelRank=e.rank,t.removeNode(n))})}(t)}),n(" normalize.run",function(){c.run(t)}),n(" parentDummyChains",function(){s(t)}),n(" addBorderSegments",function(){p(t)}),n(" order",function(){d(t)}),n(" insertSelfEdges",function(){!function(t){var n=g.buildLayerMatrix(t);i.forEach(n,function(n){var e=0;i.forEach(n,function(n,r){var o=t.node(n);o.order=r+e,i.forEach(o.selfEdges,function(n){g.addDummyNode(t,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:r+ ++e,e:n.e,label:n.label},"_se")}),delete o.selfEdges})})}(t)}),n(" adjustCoordinateSystem",function(){v.adjust(t)}),n(" position",function(){b(t)}),n(" positionSelfEdges",function(){!function(t){i.forEach(t.nodes(),function(n){var e=t.node(n);if("selfedge"===e.dummy){var r=t.node(e.e.v),o=r.x+r.width/2,i=r.y,u=e.x-o,c=r.height/2;t.setEdge(e.e,e.label),t.removeNode(n),e.label.points=[{x:o+2*u/3,y:i-c},{x:o+5*u/6,y:i-c},{x:o+u,y:i},{x:o+5*u/6,y:i+c},{x:o+2*u/3,y:i+c}],e.label.x=e.x,e.label.y=e.y}})}(t)}),n(" removeBorderNodes",function(){!function(t){i.forEach(t.nodes(),function(n){if(t.children(n).length){var e=t.node(n),r=t.node(e.borderTop),o=t.node(e.borderBottom),u=t.node(i.last(e.borderLeft)),c=t.node(i.last(e.borderRight));e.width=Math.abs(c.x-u.x),e.height=Math.abs(o.y-r.y),e.x=u.x+e.width/2,e.y=r.y+e.height/2}}),i.forEach(t.nodes(),function(n){"border"===t.node(n).dummy&&t.removeNode(n)})}(t)}),n(" normalize.undo",function(){c.undo(t)}),n(" fixupEdgeLabelCoords",function(){!function(t){i.forEach(t.edges(),function(n){var e=t.edge(n);if(i.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset}})}(t)}),n(" undoCoordinateSystem",function(){v.undo(t)}),n(" translateGraph",function(){!function(t){function n(t){var n=t.x,i=t.y,c=t.width,a=t.height;e=Math.min(e,n-c/2),r=Math.max(r,n+c/2),o=Math.min(o,i-a/2),u=Math.max(u,i+a/2)}var e=Number.POSITIVE_INFINITY,r=0,o=Number.POSITIVE_INFINITY,u=0,c=t.graph(),a=c.marginx||0,f=c.marginy||0;i.forEach(t.nodes(),function(e){n(t.node(e))}),i.forEach(t.edges(),function(e){var r=t.edge(e);i.has(r,"x")&&n(r)}),e-=a,o-=f,i.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=o}),i.forEach(t.edges(),function(n){var r=t.edge(n);i.forEach(r.points,function(t){t.x-=e,t.y-=o}),i.has(r,"x")&&(r.x-=e),i.has(r,"y")&&(r.y-=o)}),c.width=r-e+a,c.height=u-o+f}(t)}),n(" assignNodeIntersects",function(){!function(t){i.forEach(t.edges(),function(n){var e,r,o=t.edge(n),i=t.node(n.v),u=t.node(n.w);o.points?(e=o.points[0],r=o.points[o.points.length-1]):(o.points=[],e=u,r=i),o.points.unshift(g.intersectRect(i,e)),o.points.push(g.intersectRect(u,r))})}(t)}),n(" reversePoints",function(){!function(t){i.forEach(t.edges(),function(n){var e=t.edge(n);e.reversed&&e.points.reverse()})}(t)}),n(" acyclic.undo",function(){u.undo(t)})}(n,e)}),e(" updateInputGraph",function(){!function(t,n){i.forEach(t.nodes(),function(e){var r=t.node(e),o=n.node(e);r&&(r.x=o.x,r.y=o.y,n.children(e).length&&(r.width=o.width,r.height=o.height))}),i.forEach(t.edges(),function(e){var r=t.edge(e),o=n.edge(e);r.points=o.points,i.has(o,"x")&&(r.x=o.x,r.y=o.y)}),t.graph().width=n.graph().width,t.graph().height=n.graph().height}(t,n)})})};var j=["nodesep","edgesep","ranksep","marginx","marginy"],O={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_=["acyclicer","ranker","rankdir","align"],m=["width","height"],x={width:0,height:0},w=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"]},function(t,n,e){var r=e(8),o=e(700);t.exports={run:function(t){var n="greedy"===t.graph().acyclicer?o(t,function(t){return function(n){return t.edge(n).weight}}(t)):function(t){function n(u){r.has(i,u)||(i[u]=!0,o[u]=!0,r.forEach(t.outEdges(u),function(t){r.has(o,t.w)?e.push(t):n(t.w)}),delete o[u])}var e=[],o={},i={};return r.forEach(t.nodes(),n),e}(t);r.forEach(n,function(n){var e=t.edge(n);t.removeEdge(n),e.forwardName=n.name,e.reversed=!0,t.setEdge(n.w,n.v,e,r.uniqueId("rev"))})},undo:function(t){r.forEach(t.edges(),function(n){var e=t.edge(n);if(e.reversed){t.removeEdge(n);var r=e.forwardName;delete e.reversed,delete e.forwardName,t.setEdge(n.w,n.v,e,r)}})}}},function(t,n,e){function r(t,n,e,r,u){var c=u?[]:void 0;return i.forEach(t.inEdges(r.v),function(r){var i=t.edge(r),a=t.node(r.v);u&&c.push({v:r.v,w:r.w}),a.out-=i,o(n,e,a)}),i.forEach(t.outEdges(r.v),function(r){var i=t.edge(r),u=r.w,c=t.node(u);c.in-=i,o(n,e,c)}),t.removeNode(r.v),c}function o(t,n,e){e.out?e.in?t[e.out-e.in+n].enqueue(e):t[t.length-1].enqueue(e):t[0].enqueue(e)}var i=e(8),u=e(17).Graph,c=e(701);t.exports=function(t,n){if(t.nodeCount()<=1)return[];var e=function(t,n){var e=new u,r=0,a=0;i.forEach(t.nodes(),function(t){e.setNode(t,{v:t,in:0,out:0})}),i.forEach(t.edges(),function(t){var o=e.edge(t.v,t.w)||0,i=n(t),u=o+i;e.setEdge(t.v,t.w,u),a=Math.max(a,e.node(t.v).out+=i),r=Math.max(r,e.node(t.w).in+=i)});var f=i.range(a+r+3).map(function(){return new c}),s=r+1;return i.forEach(e.nodes(),function(t){o(f,s,e.node(t))}),{graph:e,buckets:f,zeroIdx:s}}(t,n||a),f=function(t,n,e){for(var o,i=[],u=n[n.length-1],c=n[0];t.nodeCount();){for(;o=c.dequeue();)r(t,n,e,o);for(;o=u.dequeue();)r(t,n,e,o);if(t.nodeCount())for(var a=n.length-2;a>0;--a)if(o=n[a].dequeue()){i=i.concat(r(t,n,e,o,!0));break}}return i}(e.graph,e.buckets,e.zeroIdx);return i.flatten(i.map(f,function(n){return t.outEdges(n.v,n.w)}),!0)};var a=i.constant(1)},function(t,n){function e(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function o(t,n){if("_next"!==t&&"_prev"!==t)return n}t.exports=e,e.prototype.dequeue=function(){var t=this._sentinel,n=t._prev;if(n!==t)return r(n),n},e.prototype.enqueue=function(t){var n=this._sentinel;t._prev&&t._next&&r(t),t._next=n._next,n._next._prev=t,n._next=t,t._prev=n},e.prototype.toString=function(){for(var t=[],n=this._sentinel,e=n._prev;e!==n;)t.push(JSON.stringify(e,o)),e=e._prev;return"["+t.join(", ")+"]"}},function(t,n,e){var r=e(8),o=e(10);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(n){!function(t,n){var e=n.v,r=t.node(e).rank,i=n.w,u=t.node(i).rank,c=n.name,a=t.edge(n),f=a.labelRank;if(u!==r+1){t.removeEdge(n);var s,l,h;for(h=0,++r;ru.lim&&(c=u,a=!0);var f=h.filter(n.edges(),function(n){return a===l(t,t.node(n.v),c)&&a!==l(t,t.node(n.w),c)});return h.minBy(f,function(t){return v(n,t)})}function s(t,n,e,r){var i=e.v,c=e.w;t.removeEdge(i,c),t.setEdge(r.v,r.w,{}),u(t),o(t,n),function(t,n){var e=h.find(t.nodes(),function(t){return!n.node(t).parent}),r=b(t,e);r=r.slice(1),h.forEach(r,function(e){var r=t.node(e).parent,o=n.edge(e,r),i=!1;o||(o=n.edge(r,e),i=!0),n.node(e).rank=n.node(r).rank+(i?o.minlen:-o.minlen)})}(t,n)}function l(t,n,e){return e.low<=n.lim&&n.lim<=e.lim}var h=e(8),p=e(270),v=e(80).slack,d=e(80).longestPath,b=e(17).alg.preorder,g=e(17).alg.postorder,y=e(10).simplify;t.exports=r,r.initLowLimValues=u,r.initCutValues=o,r.calcCutValue=i,r.leaveEdge=a,r.enterEdge=f,r.exchangeEdges=s},function(t,n,e){var r=e(8);t.exports=function(t){var n=function(t){function n(i){var u=o;r.forEach(t.children(i),n),e[i]={low:u,lim:o++}}var e={},o=0;return r.forEach(t.children(),n),e}(t);r.forEach(t.graph().dummyChains,function(e){for(var r=t.node(e),o=r.edgeObj,i=function(t,n,e,r){var o,i,u=[],c=[],a=Math.min(n[e].low,n[r].low),f=Math.max(n[e].lim,n[r].lim);o=e;do{o=t.parent(o),u.push(o)}while(o&&(n[o].low>a||f>n[o].lim));for(i=o,o=r;(o=t.parent(o))!==i;)c.push(o);return{path:u.concat(c.reverse()),lca:i}}(t,n,o.v,o.w),u=i.path,c=i.lca,a=0,f=u[a],s=!0;e!==o.w;){if(r=t.node(e),s){for(;(f=u[a])!==c&&t.node(f).maxRank=2),p=h.buildLayerMatrix(t);var y=c(t,p);y0;)n%2&&(e+=a[n+1]),a[n=n-1>>1]+=t.weight;f+=t.weight*e})),f}(t,n[o-1],n[o]);return e}},function(t,n,e){function r(t,n,e,a){var f=t.children(n),s=t.node(n),l=s?s.borderLeft:void 0,h=s?s.borderRight:void 0,p={};l&&(f=o.filter(f,function(t){return t!==l&&t!==h}));var v=i(t,f);o.forEach(v,function(n){if(t.children(n.v).length){var i=r(t,n.v,e,a);p[n.v]=i,o.has(i,"barycenter")&&function(t,n){o.isUndefined(t.barycenter)?(t.barycenter=n.barycenter,t.weight=n.weight):(t.barycenter=(t.barycenter*t.weight+n.barycenter*n.weight)/(t.weight+n.weight),t.weight+=n.weight)}(n,i)}});var d=u(v,e);!function(t,n){o.forEach(t,function(t){t.vs=o.flatten(t.vs.map(function(t){return n[t]?n[t].vs:t}),!0)})}(d,p);var b=c(d,a);if(l&&(b.vs=o.flatten([l,b.vs,h],!0),t.predecessors(l).length)){var g=t.node(t.predecessors(l)[0]),y=t.node(t.predecessors(h)[0]);o.has(b,"barycenter")||(b.barycenter=0,b.weight=0),b.barycenter=(b.barycenter*b.weight+g.order+y.order)/(b.weight+2),b.weight+=2}return b}var o=e(8),i=e(713),u=e(714),c=e(715);t.exports=r},function(t,n,e){var r=e(8);t.exports=function(t,n){return r.map(n,function(n){var e=t.inEdges(n);if(e.length){var o=r.reduce(e,function(n,e){var r=t.edge(e),o=t.node(e.v);return{sum:n.sum+r.weight*o.order,weight:n.weight+r.weight}},{sum:0,weight:0});return{v:n,barycenter:o.sum/o.weight,weight:o.weight}}return{v:n}})}},function(t,n,e){var r=e(8);t.exports=function(t,n){var e={};return r.forEach(t,function(t,n){var o=e[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:n};r.isUndefined(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),r.forEach(n.edges(),function(t){var n=e[t.v],o=e[t.w];r.isUndefined(n)||r.isUndefined(o)||(o.indegree++,n.out.push(e[t.w]))}),function(t){function n(t){return function(n){n.merged||(r.isUndefined(n.barycenter)||r.isUndefined(t.barycenter)||n.barycenter>=t.barycenter)&&function(t,n){var e=0,r=0;t.weight&&(e+=t.barycenter*t.weight,r+=t.weight),n.weight&&(e+=n.barycenter*n.weight,r+=n.weight),t.vs=n.vs.concat(t.vs),t.barycenter=e/r,t.weight=r,t.i=Math.min(n.i,t.i),n.merged=!0}(t,n)}}function e(n){return function(e){e.in.push(n),0==--e.indegree&&t.push(e)}}for(var o=[];t.length;){var i=t.pop();o.push(i),r.forEach(i.in.reverse(),n(i)),r.forEach(i.out,e(i))}return r.chain(o).filter(function(t){return!t.merged}).map(function(t){return r.pick(t,["vs","i","barycenter","weight"])}).value()}(r.filter(e,function(t){return!t.indegree}))}},function(t,n,e){function r(t,n,e){for(var r;n.length&&(r=o.last(n)).i<=e;)n.pop(),t.push(r.vs),e++;return e}var o=e(8),i=e(10);t.exports=function(t,n){var e=i.partition(t,function(t){return o.has(t,"barycenter")}),u=e.lhs,c=o.sortBy(e.rhs,function(t){return-t.i}),a=[],f=0,s=0,l=0;u.sort(function(t){return function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.i}}(!!n)),l=r(a,c,l),o.forEach(u,function(t){l+=t.vs.length,a.push(t.vs),f+=t.barycenter*t.weight,s+=t.weight,l=r(a,c,l)});var h={vs:o.flatten(a,!0)};return s&&(h.barycenter=f/s,h.weight=s),h}},function(t,n,e){var r=e(8),o=e(17).Graph;t.exports=function(t,n,e){var i=function(t){for(var n;t.hasNode(n=r.uniqueId("_root")););return n}(t),u=new o({compound:!0}).setGraph({root:i}).setDefaultNodeLabel(function(n){return t.node(n)});return r.forEach(t.nodes(),function(o){var c=t.node(o),a=t.parent(o);(c.rank===n||c.minRank<=n&&n<=c.maxRank)&&(u.setNode(o),u.setParent(o,a||i),r.forEach(t[e](o),function(n){var e=n.v===o?n.w:n.v,i=u.edge(e,o),c=r.isUndefined(i)?0:i.weight;u.setEdge(e,o,{weight:t.edge(n).weight+c})}),r.has(c,"minRank")&&u.setNode(o,{borderLeft:c.borderLeft[n],borderRight:c.borderRight[n]}))}),u}},function(t,n,e){var r=e(8);t.exports=function(t,n,e){var o,i={};r.forEach(e,function(e){for(var r,u,c=t.parent(e);c;){if((r=t.parent(c))?(u=i[r],i[r]=c):(u=o,o=c),u&&u!==c)return void n.setEdge(u,c);c=r}})}},function(t,n,e){var r=e(8),o=e(10),i=e(719).positionX;t.exports=function(t){(function(t){var n=o.buildLayerMatrix(t),e=t.graph().ranksep,i=0;r.forEach(n,function(n){var o=r.max(r.map(n,function(n){return t.node(n).height}));r.forEach(n,function(n){t.node(n).y=i+o/2}),i+=o+e})})(t=o.asNonCompoundGraph(t)),r.forEach(i(t),function(n,e){t.node(e).x=n})}},function(t,n,e){function r(t,n){var e={};return h.reduce(n,function(n,r){var o=0,u=0,c=n.length,a=h.last(r);return h.forEach(r,function(n,f){var s=function(t,n){if(t.node(n).dummy)return h.find(t.predecessors(n),function(n){return t.node(n).dummy})}(t,n),l=s?t.node(s).order:c;(s||n===a)&&(h.forEach(r.slice(u,f+1),function(n){h.forEach(t.predecessors(n),function(r){var u=t.node(r),c=u.order;!(cc)&&i(r,n,a)})})}var r={};return h.reduce(n,function(n,r){var o,i=-1,u=0;return h.forEach(r,function(c,a){if("border"===t.node(c).dummy){var f=t.predecessors(c);f.length&&(o=t.node(f[0]).order,e(r,u,a,i,o),u=a,i=o)}e(r,u,r.length,o,n.length)}),r}),r}function i(t,n,e){if(n>e){var r=n;n=e,e=r}var o=t[n];o||(t[n]=o={}),o[e]=!0}function u(t,n,e){if(n>e){var r=n;n=e,e=r}return h.has(t[n],e)}function c(t,n,e,r){var o={},i={},c={};return h.forEach(n,function(t){h.forEach(t,function(t,n){o[t]=t,i[t]=t,c[t]=n})}),h.forEach(n,function(t){var n=-1;h.forEach(t,function(t){var a=r(t);if(a.length)for(var f=((a=h.sortBy(a,function(t){return c[t]})).length-1)/2,s=Math.floor(f),l=Math.ceil(f);s<=l;++s){var p=a[s];i[t]===t&&n0&&(n.y0+=e,n.y1+=e),o=n.y1+x;if((e=o-x-_)>0)for(o=n.y0-=e,n.y1-=e,r=u-2;r>=0;--r)n=t[r],(e=n.y1+x-o)>0&&(n.y0-=e,n.y1-=e),o=n.y0})}var e=Object(d.b)().key(function(t){return t.x0}).sortKeys(v.ascending).entries(t.nodes).map(function(t){return t.values});(function(){var n=Object(v.min)(e,function(t){return(_-j-(t.length-1)*x)/Object(v.sum)(t,u)});e.forEach(function(t){t.forEach(function(t,e){t.y1=(t.y0=e)+t.value*n})}),t.links.forEach(function(t){t.width=t.value*n})})(),n();for(var r=1,o=T;o>0;--o)!function(t){e.slice().reverse().forEach(function(n){n.forEach(function(n){if(n.sourceLinks.length){var e=(Object(v.sum)(n.sourceLinks,f)/Object(v.sum)(n.sourceLinks,u)-c(n))*t;n.y0+=e,n.y1+=e}})})}(r*=.99),n(),function(t){e.forEach(function(n){n.forEach(function(n){if(n.targetLinks.length){var e=(Object(v.sum)(n.targetLinks,a)/Object(v.sum)(n.targetLinks,u)-c(n))*t;n.y0+=e,n.y1+=e}})})}(r),n()}(t),n(t),t}function n(t){t.nodes.forEach(function(t){t.sourceLinks.sort(o),t.targetLinks.sort(r)}),t.nodes.forEach(function(t){var n=t.y0,e=n;t.sourceLinks.forEach(function(t){t.y0=n+t.width/2,n+=t.width}),t.targetLinks.forEach(function(t){t.y1=e+t.width/2,e+=t.width})})}var e=0,j=0,O=1,_=1,m=24,x=8,w=s,E=b.b,S=l,M=h,T=32;return t.update=function(t){return n(t),t},t.nodeId=function(n){return arguments.length?(w="function"==typeof n?n:Object(g.a)(n),t):w},t.nodeAlign=function(n){return arguments.length?(E="function"==typeof n?n:Object(g.a)(n),t):E},t.nodeWidth=function(n){return arguments.length?(m=+n,t):m},t.nodePadding=function(n){return arguments.length?(x=+n,t):x},t.nodes=function(n){return arguments.length?(S="function"==typeof n?n:Object(g.a)(n),t):S},t.links=function(n){return arguments.length?(M="function"==typeof n?n:Object(g.a)(n),t):M},t.size=function(n){return arguments.length?(e=j=0,O=+n[0],_=+n[1],t):[O-e,_-j]},t.extent=function(n){return arguments.length?(e=+n[0][0],O=+n[1][0],j=+n[0][1],_=+n[1][1],t):[[e,j],[O,_]]},t.iterations=function(n){return arguments.length?(T=+n,t):T},t}},function(t,n,e){"use strict";var r=e(726);e.d(n,"b",function(){return r.a});e(727);var o=e(136);e.d(n,"a",function(){return o.a});e(728),e(729),e(730)},function(t,n,e){"use strict";function r(){return{}}function o(t,n,e){t[n]=e}function i(){return Object(c.a)()}function u(t,n,e){t.set(n,e)}var c=e(136);n.a=function(){function t(n,r,o,i){if(r>=s.length)return null!=e&&n.sort(e),null!=a?a(n):n;for(var u,f,l,h=-1,p=n.length,v=s[r++],d=Object(c.a)(),b=o();++hs.length)return t;var r,o=l[e-1];return null!=a&&e>=s.length?r=t.entries():(r=[],t.each(function(t,o){r.push({key:o,values:n(t,e)})})),null!=o?r.sort(function(t,n){return o(t.key,n.key)}):r}var e,a,f,s=[],l=[];return f={object:function(n){return t(n,0,r,o)},map:function(n){return t(n,0,i,u)},entries:function(e){return n(t(e,0,i,u),0)},key:function(t){return s.push(t),f},sortKeys:function(t){return l[s.length-1]=t,f},sortValues:function(t){return e=t,f},rollup:function(t){return a=t,f}}}},function(t,n,e){"use strict";function r(){}function o(t,n){var e=new r;if(t instanceof r)t.each(function(t){e.add(t)});else if(t){var o=-1,i=t.length;if(null==n)for(;++ot?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";e(273),e(272),e(274)},function(t,n,e){"use strict";function r(t){return t.source}function o(t){return t.target}function i(t){function n(){var n,r=a.a.call(arguments),o=e.apply(this,r),f=i.apply(this,r);if(h||(h=n=Object(c.path)()),t(h,+u.apply(this,(r[0]=o,r)),+l.apply(this,r),+u.apply(this,(r[0]=f,r)),+l.apply(this,r)),n)return h=null,n+""||null}var e=r,i=o,u=s.a,l=s.b,h=null;return n.source=function(t){return arguments.length?(e=t,n):e},n.target=function(t){return arguments.length?(i=t,n):i},n.x=function(t){return arguments.length?(u="function"==typeof t?t:Object(f.a)(+t),n):u},n.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(f.a)(+t),n):l},n.context=function(t){return arguments.length?(h=null==t?null:t,n):h},n}function u(t,n,e,r,o){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,o,r,o)}n.a=function(){return i(u)};var c=e(34),a=e(276),f=e(35),s=e(138);e(275)},function(t,n,e){"use strict";e(34);var r=e(277),o=e(278),i=e(279),u=e(280),c=e(281),a=e(282),f=e(283);e(35),r.a,o.a,i.a,c.a,u.a,a.a,f.a},function(t,n,e){"use strict";function r(t){this._context=t}var o=e(82),i=e(83);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.b)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},function(t,n,e){"use strict";function r(t){this._context=t}var o=e(83);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Object(o.b)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},function(t,n,e){"use strict";function r(t,n){this._basis=new o.a(t),this._beta=n}var o=e(83);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,o=t[0],i=n[0],u=t[e]-o,c=n[e]-i,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(o+r*u),this._beta*n[a]+(1-this._beta)*(i+r*c));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};(function t(n){function e(t){return 1===n?new o.a(t):new r(t,n)}return e.beta=function(n){return t(+n)},e})(.85)},function(t,n,e){"use strict";function r(t,n){this._context=t,this._alpha=n}var o=e(284),i=e(82),u=e(139);r.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(u.a)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new r(t,n):new o.a(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";function r(t,n){this._context=t,this._alpha=n}var o=e(285),i=e(139);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i.a)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new r(t,n):new o.a(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";function r(t){this._context=t}var o=e(82);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function o(t,n,e){var o=t._x1-t._x0,i=n-t._x1,u=(t._y1-t._y0)/(o||i<0&&-0),c=(e-t._y1)/(i||o<0&&-0),a=(u*i+c*o)/(o+i);return(r(u)+r(c))*Math.min(Math.abs(u),Math.abs(c),.5*Math.abs(a))||0}function i(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function u(t,n,e){var r=t._x0,o=t._y0,i=t._x1,u=t._y1,c=(i-r)/3;t._context.bezierCurveTo(r+c,o+c*n,i-c,u-c*e,i,u)}function c(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}c.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,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,u(this,i(this,e=o(this,t,n)),e);break;default:u(this,this._t0,e=o(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.prototype=Object.create(c.prototype)).point=function(t,n){c.prototype.point.call(this,n,t)},f.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,o,i){this._context.bezierCurveTo(n,t,r,e,i,o)}}},function(t,n,e){"use strict";function r(t){this._context=t}function o(t){var n,e,r=t.length-1,o=new Array(r),i=new Array(r),u=new Array(r);for(o[0]=0,i[0]=2,u[0]=t[0]+2*t[1],n=1;n=0;--n)o[n]=(u[n]-o[n+1])/i[n];for(i[r-1]=(t[r]+o[r-1])/2,n=0;n=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}}},function(t,n,e){"use strict";e(276),e(35),e(59),e(60)},function(t,n,e){"use strict";e(59)},function(t,n,e){"use strict"},function(t,n,e){"use strict";e(59)},function(t,n,e){"use strict";e(59)},function(t,n,e){"use strict";e(140)},function(t,n,e){"use strict";e(60),e(140)},function(t,n,e){"use strict";e(60)},function(t,n,e){function r(t,n){var e=(n=o({},f,n)).as;if(!u(e)||2!==e.length)throw new TypeError("Invalid as: must be an array with two strings!");var r=e[0],c=e[1],s=a(n);if(!u(s)&&2!==s.length)throw new TypeError("Invalid fields: must be an array with two strings!");var l=s[0],h=s[1],p=t.rows,v=p.map(function(t){return[t[l],t[h]]}),d=i.voronoi();n.extend&&d.extent(n.extend),n.size&&d.size(n.size);var b=d(v).polygons();p.forEach(function(t,n){var e=b[n].filter(function(t){return!!t});t[r]=e.map(function(t){return t[0]}),t[c]=e.map(function(t){return t[1]})})}var o=e(4),i=e(759),u=e(3),c=e(2).registerTransform,a=e(7).getFields,f={as:["_x","_y"]};c("diagram.voronoi",r),c("voronoi",r)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(760);e.d(n,"voronoi",function(){return r.a})},function(t,n,e){"use strict";var r=e(761),o=e(762),i=e(61);n.a=function(){function t(t){return new i.d(t.map(function(r,o){var u=[Math.round(n(r,o,t)/i.f)*i.f,Math.round(e(r,o,t)/i.f)*i.f];return u.index=o,u.data=r,u}),u)}var n=o.a,e=o.b,u=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(e){return arguments.length?(n="function"==typeof e?e:Object(r.a)(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:Object(r.a)(+n),t):e},t.extent=function(n){return arguments.length?(u=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):u&&[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},t.size=function(n){return arguments.length?(u=null==n?null:[[0,0],[+n[0],+n[1]]],t):u&&[u[1][0]-u[0][0],u[1][1]-u[0][1]]},t}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t){return t[0]},n.b=function(t){return t[1]}},function(t,n,e){"use strict";function r(t){var n=l.pop()||new function(){Object(u.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function o(t){Object(a.b)(t),s.a.remove(t),l.push(t),Object(u.a)(t)}function i(t,n){var e=t.site,r=e[0],o=e[1],i=o-n;if(!i)return r;var u=t.P;if(!u)return-1/0;var c=(e=u.site)[0],a=e[1],f=a-n;if(!f)return c;var s=c-r,l=1/i-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+o-i/2)))/l+r:(r+c)/2}n.b=function(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],u=t.P,c=t.N,l=[t];o(t);for(var h=u;h.circle&&Math.abs(e-h.circle.x)s.f)p=p.L;else{if(!((u=l-function(t,n){var e=t.N;if(e)return i(e,n);var r=t.site;return r[1]===n?r[0]:1/0}(p,h))>s.f)){o>-s.f?(n=p.P,e=p):u>-s.f?(n=p,e=p.N):n=e=p;break}if(!p.R){n=p;break}p=p.R}Object(c.c)(t);var v=r(t);if(s.a.insert(n,v),n||e){if(n===e)return Object(a.b)(n),e=r(n.site),s.a.insert(v,e),v.edge=e.edge=Object(f.c)(n.site,v.site),Object(a.a)(n),void Object(a.a)(e);if(e){Object(a.b)(n),Object(a.b)(e);var d=n.site,b=d[0],g=d[1],y=t[0]-b,j=t[1]-g,O=e.site,_=O[0]-b,m=O[1]-g,x=2*(y*m-j*_),w=y*y+j*j,E=_*_+m*m,S=[(m*w-j*E)/x+b,(y*E-_*w)/x+g];Object(f.d)(e.edge,d,O,S),v.edge=Object(f.c)(d,t,null,S),e.edge=Object(f.c)(t,O,null,S),Object(a.a)(n),Object(a.a)(e)}else v.edge=Object(f.c)(n.site,v.site)}};var u=e(141),c=e(286),a=e(287),f=e(142),s=e(61),l=[]},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!u(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var c=void 0;try{c=s(n)}catch(t){console.warn(t)}c&&e.sum(function(t){return t[c]});var f=i.cluster();f.size(n.size),n.nodeSize&&f.nodeSize(n.nodeSize),n.separation&&f.separation(n.separation),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=t.x,t[p]=t.y})}var o=e(4),i=e(40),u=e(3),c=e(2),a=c.HIERARCHY,f=c.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};f("hierarchy.cluster",r),f("dendrogram",r)},function(t,n,e){function r(t,n){var e=t.root;if(n=Object.assign({},a,n),t.dataType!==u)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.compactBox(e,n)}var o=e(143),i=e(2),u=i.HIERARCHY,c=i.registerTransform,a={};c("hierarchy.compact-box",r),c("compact-box-tree",r),c("non-layered-tidy-tree",r),c("mindmap-logical",r)},function(t,n,e){function r(t,n){var e=t.root;if(n=Object.assign({},a,n),t.dataType!==u)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.dendrogram(e,n)}var o=e(143),i=e(2),u=i.HIERARCHY,c=i.registerTransform,a={};c("hierarchy.dendrogram",r),c("dendrogram",r)},function(t,n,e){function r(t,n){var e=t.root;if(n=Object.assign({},a,n),t.dataType!==u)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.indented(e,n)}var o=e(143),i=e(2),u=i.HIERARCHY,c=i.registerTransform,a={};c("hierarchy.indented",r),c("indented-tree",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!u(r)||3!==r.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');var c=void 0;try{c=s(n)}catch(t){console.warn(t)}c&&e.sum(function(t){return t[c]}).sort(function(t,n){return n[c]-t[c]});var f=i.pack();f.size(n.size),n.padding&&f.padding(n.padding),f(e);var h=r[0],p=r[1],v=r[2];e.each(function(t){t[h]=t.x,t[p]=t.y,t[v]=t.r})}var o=e(4),i=e(40),u=e(3),c=e(2),a=c.HIERARCHY,f=c.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],padding:0,as:["x","y","r"]};f("hierarchy.pack",r),f("hierarchy.circle-packing",r),f("circle-packing",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!u(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var c=void 0;try{c=s(n)}catch(t){console.warn(t)}c&&e.sum(function(t){return t[c]});var f=i.partition();f.size(n.size).round(n.round).padding(n.padding),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=[t.x0,t.x1,t.x1,t.x0],t[p]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(n){-1===r.indexOf(n)&&delete t[n]})})}var o=e(4),i=e(40),u=e(3),c=e(2),a=c.HIERARCHY,f=c.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};f("hierarchy.partition",r),f("adjacency",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!u(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var c=void 0;try{c=s(n)}catch(t){console.warn(t)}c&&e.sum(function(t){return t[c]});var f=i.tree();f.size(n.size),n.nodeSize&&f.nodeSize(n.nodeSize),n.separation&&f.separation(n.separation),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=t.x,t[p]=t.y})}var o=e(4),i=e(40),u=e(3),c=e(2),a=c.HIERARCHY,f=c.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};f("hierarchy.tree",r),f("tree",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!u(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var c=void 0;try{c=s(n)}catch(t){console.warn(t)}c&&e.sum(function(t){return t[c]});var f=i.treemap();f.tile(i[n.tile]).size(n.size).round(n.round).padding(n.padding).paddingInner(n.paddingInner).paddingOuter(n.paddingOuter).paddingTop(n.paddingTop).paddingRight(n.paddingRight).paddingBottom(n.paddingBottom).paddingLeft(n.paddingLeft),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=[t.x0,t.x1,t.x1,t.x0],t[p]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(n){-1===r.indexOf(n)&&delete t[n]})})}var o=e(4),i=e(40),u=e(3),c=e(2),a=c.HIERARCHY,f=c.registerTransform,s=e(7).getField,l={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};f("hierarchy.treemap",r),f("treemap",r)},function(t,n,e){function r(t,n){n=o({},f,n);var e=c();["font","fontSize","padding","rotate","size","spiral","timeInterval"].forEach(function(t){n[t]&&e[t](n[t])});var r=a(n),u=r[0],s=r[1];if(!i(u)||!i(s))throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ "text", "value" ])!');var l=t.rows.map(function(t){return t.text=t[u],t.value=t[s],t});e.words(l),n.imageMask&&e.createMask(n.imageMask);var h=e.start(),p=h._tags,v=h._bounds;p.forEach(function(t){t.x+=n.size[0]/2,t.y+=n.size[1]/2});var d=n.size,b=d[0],g=d[1],y=h.hasImage;p.push({text:"",value:0,x:y?0:v[0].x,y:y?0:v[0].y,opacity:0}),p.push({text:"",value:0,x:y?b:v[1].x,y:y?g:v[1].y,opacity:0}),t.rows=p,t._tagCloud=h}var o=e(4),i=e(9),u=e(2).registerTransform,c=e(773),a=e(7).getFields,f={fields:["text","value"],font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:500};u("tag-cloud",r),u("word-cloud",r)},function(t,n){function e(t){return t.text}function r(){return"serif"}function o(){return"normal"}function i(t){return t.value}function u(){return 90*~~(2*Math.random())}function c(){return 1}function a(t,n,e,r){if(!n.sprite){var o=t.context,i=t.ratio;o.clearRect(0,0,(g<<5)/i,y/i);var u=0,c=0,a=0,f=e.length;for(--r;++r>5<<5,l=~~Math.max(Math.abs(d+j),Math.abs(d-j))}else s=s+31>>5<<5;if(l>a&&(a=l),u+s>=g<<5&&(u=0,c+=a,a=0),c+l>=y)break;o.translate((u+(s>>1))/i,(c+(l>>1))/i),n.rotate&&o.rotate(n.rotate*b),o.fillText(n.text,0,0),n.padding&&(o.lineWidth=2*n.padding,o.strokeText(n.text,0,0)),o.restore(),n.width=s,n.height=l,n.xoff=u,n.yoff=c,n.x1=s>>1,n.y1=l>>1,n.x0=-n.x1,n.y0=-n.y1,n.hasText=!0,u+=s}for(var _=o.getImageData(0,0,(g<<5)/i,y/i).data,m=[];--r>=0;)if((n=e[r]).hasText){for(var x=n.width,w=x>>5,E=n.y1-n.y0,S=0;S>5),N=_[(c+k)*(g<<5)+(u+C)<<2]?1<<31-C%32:0;m[P]|=N,M|=N}M?T=k:(n.y0++,E--,k--,c++)}n.y1=n.y0+T,n.sprite=m.slice(0,(n.y1-n.y0)*w)}}}function f(t,n,e){e>>=5;for(var r=t.sprite,o=t.width>>5,i=t.x-(o<<4),u=127&i,c=32-u,a=t.y1-t.y0,f=(t.y+t.y0)*e+(i>>5),s=void 0,l=0;l>>u:0))&n[f+h])return!0;f+=e}return!1}function s(t,n){var e=t[0],r=t[1];n.x+n.x0r.x&&(r.x=n.x+n.x1),n.y+n.y1>r.y&&(r.y=n.y+n.y1)}function l(t,n){return t.x+t.x1>n[0].x&&t.x+t.x0n[0].y&&t.y+t.y0>2);t.width=(g<<5)/n,t.height=y/n;var e=t.getContext("2d");return e.fillStyle=e.strokeStyle="red",e.textAlign="center",{context:e,ratio:n}}(k()),u=C.board?C.board:p((t[0]>>5)*t[1]),c=S.length,h=[],v=S.map(function(t,e){return t.text=n.call(this,t,e),t.font=b.call(this,t,e),t.style=_.call(this,t,e),t.weight=m.call(this,t,e),t.rotate=x.call(this,t,e),t.size=~~O.call(this,t,e),t.padding=w.call(this,t,e),t}).sort(function(t,n){return n.size-t.size}),d=-1,j=C.board?[{x:0,y:0},{x:r,y:o}]:null;return function(){for(var n=Date.now();Date.now()-n>1,e.y=o*(T()+.5)>>1,a(i,e,v,d),e.hasText&&function(n,e,r){for(var o=e.x,i=e.y,u=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=E(t),a=T()<.5?1:-1,s=void 0,h=-a,p=void 0,v=void 0;(s=c(h+=a))&&(p=~~s[0],v=~~s[1],!(Math.min(Math.abs(p),Math.abs(v))>=u));)if(e.x=o+p,e.y=i+v,!(e.x+e.x0<0||e.y+e.y0<0||e.x+e.x1>t[0]||e.y+e.y1>t[1])&&(!r||!f(e,n,t[0]))&&(!r||l(e,r))){for(var d=e.sprite,b=e.width>>5,g=t[0]>>5,y=e.x-(b<<4),j=127&y,O=32-j,_=e.y1-e.y0,m=void 0,x=(e.y+e.y0)*g+(y>>5),w=0;w<_;w++){m=0;for(var S=0;S<=b;S++)n[x+S]|=m<>>j:0);x+=g}return delete e.sprite,!0}return!1}(u,e,j)&&(h.push(e),j?C.hasImage||s(j,e):j=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}C._tags=h,C._bounds=j}(),C},C.createMask=function(n){var e=document.createElement("canvas"),r=t,o=r[0],i=r[1],u=o>>5,c=p((o>>5)*i);e.width=o,e.height=i;var a=e.getContext("2d");a.drawImage(n,0,0,n.width,n.height,0,0,o,i);for(var f=a.getImageData(0,0,o,i).data,s=0;s>5),v=s*o+l<<2,d=f[v]>=250&&f[v+1]>=250&&f[v+2]>=250?1<<31-l%32:0;c[h]|=d}C.board=c,C.hasImage=!0},C.timeInterval=function(t){return arguments.length?(M=null==t?1/0:t,C):M},C.words=function(t){return arguments.length?(S=t,C):S},C.size=function(n){return arguments.length?(t=[+n[0],+n[1]],C):t},C.font=function(t){return arguments.length?(b=d(t),C):b},C.fontStyle=function(t){return arguments.length?(_=d(t),C):_},C.fontWeight=function(t){return arguments.length?(m=d(t),C):m},C.rotate=function(t){return arguments.length?(x=d(t),C):x},C.text=function(t){return arguments.length?(n=d(t),C):n},C.spiral=function(t){return arguments.length?(E=j[t]||t,C):E},C.fontSize=function(t){return arguments.length?(O=d(t),C):O},C.padding=function(t){return arguments.length?(w=d(t),C):w},C.random=function(t){return arguments.length?(T=t,C):T},C}},function(t,n,e){var r=e(4),o=e(775),i=e(12),u=e(11),c=e(777),a=e(53),f=e(27).sum,s=e(19),l=e(2).registerTransform,h=e(7).getFields,p={fields:["name","value"],rows:5,size:[1,1],scale:1,groupBy:[],maxCount:1e3,gapRatio:.1,as:["x","y"]};l("waffle",function(t,n){n=r({},p,n);var e=h(n),l=e[0],v=e[1],d=n.as,b=d[0],g=d[1],y=n.groupBy,j=s(t.rows,y),O=u(j),_=n.size,m=_[0],x=_[1],w=n.maxCount,E=x/O.length,S=n.rows,M=n.gapRatio,T=[],k=n.scale,C=0,P=0;i(j,function(t){var n=f(c(t,function(t){return t[v]})),e=Math.ceil(n*k/S);n*k>w&&(k=w/n,e=Math.ceil(n*k/S)),P=m/e}),i(j,function(t){var n=[C*E,(C+1)*E],e=(n[1]-n[0])*(1-M)/S,r=0,i=0;o(t,function(t){for(var o=t[v],u=Math.round(o*k),c=0;c