123456789101112 |
- !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.dagreD3=a()}}(function(){var a;return function(){function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c||a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}return a}()({1:[function(a,b,c){b.exports={graphlib:a("./lib/graphlib"),dagre:a("./lib/dagre"),intersect:a("./lib/intersect"),render:a("./lib/render"),util:a("./lib/util"),version:a("./lib/version")}},{"./lib/dagre":8,"./lib/graphlib":9,"./lib/intersect":10,"./lib/render":25,"./lib/util":27,"./lib/version":28}],2:[function(a,b,c){function d(a,b,c,d){var e=a.append("marker").attr("id",b).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),f=e.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");g.applyStyle(f,c[d+"Style"]),c[d+"Class"]&&f.attr("class",c[d+"Class"])}function e(a,b,c,d){var e=a.append("marker").attr("id",b).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),f=e.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");g.applyStyle(f,c[d+"Style"]),c[d+"Class"]&&f.attr("class",c[d+"Class"])}function f(a,b,c,d){var e=a.append("marker").attr("id",b).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),f=e.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");g.applyStyle(f,c[d+"Style"]),c[d+"Class"]&&f.attr("class",c[d+"Class"])}var g=a("./util");b.exports={default:d,normal:d,vee:e,undirected:f}},{"./util":27}],3:[function(a,b,c){function d(a,b){var c=b.nodes().filter(function(a){return e.isSubgraph(b,a)}),d=a.selectAll("g.cluster").data(c,function(a){return a});d.selectAll("*").remove(),d.enter().append("g").attr("class","cluster").attr("id",function(a){var c=b.node(a);return c.id}).style("opacity",0),d=a.selectAll("g.cluster"),e.applyTransition(d,b).style("opacity",1),d.each(function(a){var c=b.node(a),d=f.select(this);f.select(this).append("rect");var e=d.append("g").attr("class","label");g(e,c,c.clusterLabelPos)}),d.selectAll("rect").each(function(a){var c=b.node(a),d=f.select(this);e.applyStyle(d,c.style)});var h;return h=d.exit?d.exit():d.selectAll(null),e.applyTransition(h,b).style("opacity",0).remove(),d}var e=a("./util"),f=a("./d3"),g=a("./label/add-label");b.exports=d},{"./d3":7,"./label/add-label":18,"./util":27}],4:[function(a,b,c){"use strict";function d(a,b){var c=a.selectAll("g.edgeLabel").data(b.edges(),function(a){return g.edgeToId(a)}).classed("update",!0);c.exit().remove(),c.enter().append("g").classed("edgeLabel",!0).style("opacity",0),c=a.selectAll("g.edgeLabel"),c.each(function(a){var c=h.select(this);c.select(".label").remove();var d=b.edge(a),g=f(c,b.edge(a),0,0).classed("label",!0),i=g.node().getBBox();d.labelId&&g.attr("id",d.labelId),e.has(d,"width")||(d.width=i.width),e.has(d,"height")||(d.height=i.height)});var d;return d=c.exit?c.exit():c.selectAll(null),g.applyTransition(d,b).style("opacity",0).remove(),c}var e=a("./lodash"),f=a("./label/add-label"),g=a("./util"),h=a("./d3");b.exports=d},{"./d3":7,"./label/add-label":18,"./lodash":21,"./util":27}],5:[function(a,b,c){"use strict";function d(a,b,c){var d=a.selectAll("g.edgePath").data(b.edges(),function(a){return m.edgeToId(a)}).classed("update",!0),g=i(d,b);j(d,b);var h=void 0!==d.merge?d.merge(g):d;return m.applyTransition(h,b).style("opacity",1),h.each(function(a){var c=n.select(this),d=b.edge(a);d.elem=this,d.id&&c.attr("id",d.id),m.applyClass(c,d.class,(c.classed("update")?"update ":"")+"edgePath")}),h.selectAll("path.path").each(function(a){var c=b.edge(a);c.arrowheadId=k.uniqueId("arrowhead");var d=n.select(this).attr("marker-end",function(){return"url("+e(location.href,c.arrowheadId)+")"}).style("fill","none");m.applyTransition(d,b).attr("d",function(a){return f(b,a)}),m.applyStyle(d,c.style)}),h.selectAll("defs *").remove(),h.selectAll("defs").each(function(a){var d=b.edge(a),e=c[d.arrowhead];e(n.select(this),d.arrowheadId,d,"arrowhead")}),h}function e(a,b){var c=a.split("#")[0];return c+"#"+b}function f(a,b){var c=a.edge(b),d=a.node(b.v),e=a.node(b.w),f=c.points.slice(1,c.points.length-1);return f.unshift(l(d,f[0])),f.push(l(e,f[f.length-1])),g(c,f)}function g(a,b){var c=(n.line||n.svg.line)().x(function(a){return a.x}).y(function(a){return a.y});return(c.curve||c.interpolate)(a.curve),c(b)}function h(a){var b=a.getBBox(),c=a.ownerSVGElement.getScreenCTM().inverse().multiply(a.getScreenCTM()).translate(b.width/2,b.height/2);return{x:c.e,y:c.f}}function i(a,b){var c=a.enter().append("g").attr("class","edgePath").style("opacity",0);return c.append("path").attr("class","path").attr("d",function(a){var c=b.edge(a),d=b.node(a.v).elem,e=k.range(c.points.length).map(function(){return h(d)});return g(c,e)}),c.append("defs"),c}function j(a,b){var c=a.exit();m.applyTransition(c,b).style("opacity",0).remove()}var k=a("./lodash"),l=a("./intersect/intersect-node"),m=a("./util"),n=a("./d3");b.exports=d},{"./d3":7,"./intersect/intersect-node":14,"./lodash":21,"./util":27}],6:[function(a,b,c){"use strict";function d(a,b,c){var d=b.nodes().filter(function(a){return!g.isSubgraph(b,a)}),i=a.selectAll("g.node").data(d,function(a){return a}).classed("update",!0);i.exit().remove(),i.enter().append("g").attr("class","node").style("opacity",0),i=a.selectAll("g.node"),i.each(function(a){var d=b.node(a),i=h.select(this);g.applyClass(i,d.class,(i.classed("update")?"update ":"")+"node"),i.select("g.label").remove();var j=i.append("g").attr("class","label"),k=f(j,d),l=c[d.shape],m=e.pick(k.node().getBBox(),"width","height");d.elem=this,d.id&&i.attr("id",d.id),d.labelId&&j.attr("id",d.labelId),e.has(d,"width")&&(m.width=d.width),e.has(d,"height")&&(m.height=d.height),m.width+=d.paddingLeft+d.paddingRight,m.height+=d.paddingTop+d.paddingBottom,j.attr("transform","translate("+(d.paddingLeft-d.paddingRight)/2+","+(d.paddingTop-d.paddingBottom)/2+")");var n=h.select(this);n.select(".label-container").remove();var o=l(n,m,d).classed("label-container",!0);g.applyStyle(o,d.style);var p=o.node().getBBox();d.width=p.width,d.height=p.height});var j;return j=i.exit?i.exit():i.selectAll(null),g.applyTransition(j,b).style("opacity",0).remove(),i}var e=a("./lodash"),f=a("./label/add-label"),g=a("./util"),h=a("./d3");b.exports=d},{"./d3":7,"./label/add-label":18,"./lodash":21,"./util":27}],7:[function(a,b,c){var d;if(!d&&"function"==typeof a)try{d=a("d3")}catch(a){}d||(d=window.d3),b.exports=d},{d3:60}],8:[function(a,b,c){var d;if("function"==typeof a)try{d=a("dagre")}catch(a){}d||(d=window.dagre),b.exports=d},{dagre:61}],9:[function(a,b,c){var d;if("function"==typeof a)try{d=a("graphlib")}catch(a){}d||(d=window.graphlib),b.exports=d},{graphlib:91}],10:[function(a,b,c){b.exports={node:a("./intersect-node"),circle:a("./intersect-circle"),ellipse:a("./intersect-ellipse"),polygon:a("./intersect-polygon"),rect:a("./intersect-rect")}},{"./intersect-circle":11,"./intersect-ellipse":12,"./intersect-node":14,"./intersect-polygon":15,"./intersect-rect":16}],11:[function(a,b,c){function d(a,b,c){return e(a,b,b,c)}var e=a("./intersect-ellipse");b.exports=d},{"./intersect-ellipse":12}],12:[function(a,b,c){function d(a,b,c,d){var e=a.x,f=a.y,g=e-d.x,h=f-d.y,i=Math.sqrt(b*b*h*h+c*c*g*g),j=Math.abs(b*c*g/i);d.x<e&&(j=-j);var k=Math.abs(b*c*h/i);return d.y<f&&(k=-k),{x:e+j,y:f+k}}b.exports=d},{}],13:[function(a,b,c){function d(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if(f=b.y-a.y,h=a.x-b.x,j=b.x*a.y-a.x*b.y,n=f*c.x+h*c.y+j,o=f*d.x+h*d.y+j,!(0!==n&&0!==o&&e(n,o)||(g=d.y-c.y,i=c.x-d.x,k=d.x*c.y-c.x*d.y,l=g*a.x+i*a.y+k,m=g*b.x+i*b.y+k,0!==l&&0!==m&&e(l,m)||(p=f*i-g*h,0===p))))return q=Math.abs(p/2),r=h*k-i*j,s=r<0?(r-q)/p:(r+q)/p,r=g*j-f*k,t=r<0?(r-q)/p:(r+q)/p,{x:s,y:t}}function e(a,b){return a*b>0}b.exports=d},{}],14:[function(a,b,c){function d(a,b){return a.intersect(b)}b.exports=d},{}],15:[function(a,b,c){function d(a,b,c){var d=a.x,f=a.y,g=[],h=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;b.forEach(function(a){h=Math.min(h,a.x),i=Math.min(i,a.y)});for(var j=d-a.width/2-h,k=f-a.height/2-i,l=0;l<b.length;l++){var m=b[l],n=b[l<b.length-1?l+1:0],o=e(a,c,{x:j+m.x,y:k+m.y},{x:j+n.x,y:k+n.y});o&&g.push(o)}return g.length?(g.length>1&&g.sort(function(a,b){var d=a.x-c.x,e=a.y-c.y,f=Math.sqrt(d*d+e*e),g=b.x-c.x,h=b.y-c.y,i=Math.sqrt(g*g+h*h);return f<i?-1:f===i?0:1}),g[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",a),a)}var e=a("./intersect-line");b.exports=d},{"./intersect-line":13}],16:[function(a,b,c){function d(a,b){var c,d,e=a.x,f=a.y,g=b.x-e,h=b.y-f,i=a.width/2,j=a.height/2;return Math.abs(h)*i>Math.abs(g)*j?(h<0&&(j=-j),c=0===h?0:j*g/h,d=j):(g<0&&(i=-i),c=i,d=0===g?0:i*h/g),{x:e+c,y:f+d}}b.exports=d},{}],17:[function(a,b,c){function d(a,b){var c=a.append("foreignObject").attr("width","100000"),d=c.append("xhtml:div");d.attr("xmlns","http://www.w3.org/1999/xhtml");var f=b.label;switch(typeof f){case"function":d.insert(f);break;case"object":d.insert(function(){return f});break;default:d.html(f)}e.applyStyle(d,b.labelStyle),d.style("display","inline-block"),d.style("white-space","nowrap");var g=d.node().getBoundingClientRect();return c.attr("width",g.width).attr("height",g.height),c}var e=a("../util");b.exports=d},{"../util":27}],18:[function(a,b,c){function d(a,b,c){var d=b.label,h=a.append("g");"svg"===b.labelType?g(h,b):"string"!=typeof d||"html"===b.labelType?f(h,b):e(h,b);var i,j=h.node().getBBox();switch(c){case"top":i=-b.height/2;break;case"bottom":i=b.height/2-j.height;break;default:i=-j.height/2}return h.attr("transform","translate("+-j.width/2+","+i+")"),h}var e=a("./add-text-label"),f=a("./add-html-label"),g=a("./add-svg-label");b.exports=d},{"./add-html-label":17,"./add-svg-label":19,"./add-text-label":20}],19:[function(a,b,c){function d(a,b){var c=a;return c.node().appendChild(b.label),e.applyStyle(c,b.labelStyle),c}var e=a("../util");b.exports=d},{"../util":27}],20:[function(a,b,c){function d(a,b){for(var c=a.append("text"),d=e(b.label).split("\n"),g=0;g<d.length;g++)c.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(d[g]);return f.applyStyle(c,b.labelStyle),c}function e(a){for(var b,c="",d=!1,e=0;e<a.length;++e)if(b=a[e],d){switch(b){case"n":c+="\n";break;default:c+=b}d=!1}else"\\"===b?d=!0:c+=b;return c}var f=a("../util");b.exports=d},{"../util":27}],21:[function(a,b,c){var d;if("function"==typeof a)try{d={defaults:a("lodash/defaults"),each:a("lodash/each"),isFunction:a("lodash/isFunction"),isPlainObject:a("lodash/isPlainObject"),pick:a("lodash/pick"),has:a("lodash/has"),range:a("lodash/range"),uniqueId:a("lodash/uniqueId")}}catch(a){}d||(d=window._),b.exports=d},{"lodash/defaults":289,"lodash/each":290,"lodash/has":299,"lodash/isFunction":308,"lodash/isPlainObject":313,"lodash/pick":331,"lodash/range":333,"lodash/uniqueId":346}],22:[function(a,b,c){"use strict";function d(a,b){function c(a){var c=b.node(a);return"translate("+c.x+","+c.y+")"}var d=a.filter(function(){return!f.select(this).classed("update")});d.attr("transform",c),e.applyTransition(a,b).style("opacity",1).attr("transform",c),e.applyTransition(d.selectAll("rect"),b).attr("width",function(a){return b.node(a).width}).attr("height",function(a){return b.node(a).height}).attr("x",function(a){var c=b.node(a);return-c.width/2}).attr("y",function(a){var c=b.node(a);return-c.height/2})}var e=a("./util"),f=a("./d3");b.exports=d},{"./d3":7,"./util":27}],23:[function(a,b,c){"use strict";function d(a,b){function c(a){var c=b.edge(a);return g.has(c,"x")?"translate("+c.x+","+c.y+")":""}var d=a.filter(function(){return!f.select(this).classed("update")});d.attr("transform",c),e.applyTransition(a,b).style("opacity",1).attr("transform",c)}var e=a("./util"),f=a("./d3"),g=a("./lodash");b.exports=d},{"./d3":7,"./lodash":21,"./util":27}],24:[function(a,b,c){"use strict";function d(a,b){function c(a){var c=b.node(a);return"translate("+c.x+","+c.y+")"}var d=a.filter(function(){return!f.select(this).classed("update")});d.attr("transform",c),e.applyTransition(a,b).style("opacity",1).attr("transform",c)}var e=a("./util"),f=a("./d3");b.exports=d},{"./d3":7,"./util":27}],25:[function(a,b,c){function d(){var b=a("./create-nodes"),c=a("./create-clusters"),d=a("./create-edge-labels"),h=a("./create-edge-paths"),i=a("./position-nodes"),k=a("./position-edge-labels"),l=a("./position-clusters"),m=a("./shapes"),n=a("./arrows"),o=function(a,o){e(o);var p=g(a,"output"),q=g(p,"clusters"),r=g(p,"edgePaths"),s=d(g(p,"edgeLabels"),o),t=b(g(p,"nodes"),o,m);j(o),i(t,o),k(s,o),h(r,o,n);var u=c(q,o);l(u,o),f(o)};return o.createNodes=function(a){return arguments.length?(b=a,o):b},o.createClusters=function(a){return arguments.length?(c=a,o):c},o.createEdgeLabels=function(a){return arguments.length?(d=a,o):d},o.createEdgePaths=function(a){return arguments.length?(h=a,o):h},o.shapes=function(a){return arguments.length?(m=a,o):m},o.arrows=function(a){return arguments.length?(n=a,o):n},o}function e(a){a.nodes().forEach(function(b){var c=a.node(b);h.has(c,"label")||a.children(b).length||(c.label=b),h.has(c,"paddingX")&&h.defaults(c,{paddingLeft:c.paddingX,paddingRight:c.paddingX}),h.has(c,"paddingY")&&h.defaults(c,{paddingTop:c.paddingY,paddingBottom:c.paddingY}),h.has(c,"padding")&&h.defaults(c,{paddingLeft:c.padding,paddingRight:c.padding,paddingTop:c.padding,paddingBottom:c.padding}),h.defaults(c,k),h.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(a){c[a]=Number(c[a])}),h.has(c,"width")&&(c._prevWidth=c.width),h.has(c,"height")&&(c._prevHeight=c.height)}),a.edges().forEach(function(b){var c=a.edge(b);h.has(c,"label")||(c.label=""),h.defaults(c,l)})}function f(a){h.each(a.nodes(),function(b){var c=a.node(b);h.has(c,"_prevWidth")?c.width=c._prevWidth:delete c.width,h.has(c,"_prevHeight")?c.height=c._prevHeight:delete c.height,delete c._prevWidth,delete c._prevHeight})}function g(a,b){var c=a.select("g."+b);return c.empty()&&(c=a.append("g").attr("class",b)),c}var h=a("./lodash"),i=a("./d3"),j=a("./dagre").layout;b.exports=d;var k={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},l={arrowhead:"normal",curve:i.curveLinear}},{"./arrows":2,"./create-clusters":3,"./create-edge-labels":4,"./create-edge-paths":5,"./create-nodes":6,"./d3":7,"./dagre":8,"./lodash":21,"./position-clusters":22,"./position-edge-labels":23,"./position-nodes":24,"./shapes":26}],26:[function(a,b,c){"use strict";function d(a,b,c){var d=a.insert("rect",":first-child").attr("rx",c.rx).attr("ry",c.ry).attr("x",-b.width/2).attr("y",-b.height/2).attr("width",b.width).attr("height",b.height);return c.intersect=function(a){return h(c,a)},d}function e(a,b,c){var d=b.width/2,e=b.height/2,f=a.insert("ellipse",":first-child").attr("x",-b.width/2).attr("y",-b.height/2).attr("rx",d).attr("ry",e);return c.intersect=function(a){return i(c,d,e,a)},f}function f(a,b,c){var d=Math.max(b.width,b.height)/2,e=a.insert("circle",":first-child").attr("x",-b.width/2).attr("y",-b.height/2).attr("r",d);return c.intersect=function(a){return j(c,d,a)},e}function g(a,b,c){var d=b.width*Math.SQRT2/2,e=b.height*Math.SQRT2/2,f=[{x:0,y:-e},{x:-d,y:0},{x:0,y:e},{x:d,y:0}],g=a.insert("polygon",":first-child").attr("points",f.map(function(a){return a.x+","+a.y}).join(" "));return c.intersect=function(a){return k(c,f,a)},g}var h=a("./intersect/intersect-rect"),i=a("./intersect/intersect-ellipse"),j=a("./intersect/intersect-circle"),k=a("./intersect/intersect-polygon");b.exports={rect:d,ellipse:e,circle:f,diamond:g}},{"./intersect/intersect-circle":11,"./intersect/intersect-ellipse":12,"./intersect/intersect-polygon":15,"./intersect/intersect-rect":16}],27:[function(a,b,c){function d(a,b){return!!a.children(b).length}function e(a){return f(a.v)+":"+f(a.w)+":"+f(a.name)}function f(a){return a?String(a).replace(k,"\\:"):""}function g(a,b){b&&a.attr("style",b)}function h(a,b,c){b&&a.attr("class",b).attr("class",c+" "+a.attr("class"))}function i(a,b){var c=b.graph();if(j.isPlainObject(c)){var d=c.transition;if(j.isFunction(d))return d(a)}return a}var j=a("./lodash");b.exports={isSubgraph:d,edgeToId:e,applyStyle:g,applyClass:h,applyTransition:i};var k=/:/g},{"./lodash":21}],28:[function(a,b,c){b.exports="0.6.4"},{}],29:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):e(b.d3=b.d3||{})}(this,function(a){"use strict";function b(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}function c(a){return 1===a.length&&(a=d(a)),{left:function(b,c,d,e){for(null==d&&(d=0),null==e&&(e=b.length);d<e;){var f=d+e>>>1;a(b[f],c)<0?d=f+1:e=f}return d},right:function(b,c,d,e){for(null==d&&(d=0),null==e&&(e=b.length);d<e;){var f=d+e>>>1;a(b[f],c)>0?e=f:d=f+1}return d}}}function d(a){return function(c,d){return b(a(c),d)}}function e(a,b){null==b&&(b=f);for(var c=0,d=a.length-1,e=a[0],g=new Array(d<0?0:d);c<d;)g[c]=b(e,e=a[++c]);return g}function f(a,b){return[a,b]}function g(a,b,c){var d,e,g,h,i=a.length,j=b.length,k=new Array(i*j);for(null==c&&(c=f),d=g=0;d<i;++d)for(h=a[d],e=0;e<j;++e,++g)k[g]=c(h,b[e]);return k}function h(a,b){return b<a?-1:b>a?1:b>=a?0:NaN}function i(a){return null===a?NaN:+a}function j(a,b){var c,d,e=a.length,f=0,g=-1,h=0,j=0;if(null==b)for(;++g<e;)isNaN(c=i(a[g]))||(d=c-h,h+=d/++f,j+=d*(c-h));else for(;++g<e;)isNaN(c=i(b(a[g],g,a)))||(d=c-h,h+=d/++f,j+=d*(c-h));if(f>1)return j/(f-1)}function k(a,b){var c=j(a,b);return c?Math.sqrt(c):c}function l(a,b){var c,d,e,f=a.length,g=-1;if(null==b){for(;++g<f;)if(null!=(c=a[g])&&c>=c)for(d=e=c;++g<f;)null!=(c=a[g])&&(d>c&&(d=c),e<c&&(e=c))}else for(;++g<f;)if(null!=(c=b(a[g],g,a))&&c>=c)for(d=e=c;++g<f;)null!=(c=b(a[g],g,a))&&(d>c&&(d=c),e<c&&(e=c));return[d,e]}function m(a){return function(){return a}}function n(a){return a}function o(a,b,c){a=+a,b=+b,c=(e=arguments.length)<2?(b=a,a=0,1):e<3?1:+c;for(var d=-1,e=0|Math.max(0,Math.ceil((b-a)/c)),f=new Array(e);++d<e;)f[d]=a+d*c;return f}function p(a,b,c){var d,e,f,g,h=-1;if(b=+b,a=+a,c=+c,a===b&&c>0)return[a];if((d=b<a)&&(e=a,a=b,b=e),0===(g=q(a,b,c))||!isFinite(g))return[];if(g>0)for(a=Math.ceil(a/g),b=Math.floor(b/g),f=new Array(e=Math.ceil(b-a+1));++h<e;)f[h]=(a+h)*g;else for(a=Math.floor(a*g),b=Math.ceil(b*g),f=new Array(e=Math.ceil(a-b+1));++h<e;)f[h]=(a-h)/g;return d&&f.reverse(),f}function q(a,b,c){var d=(b-a)/Math.max(0,c),e=Math.floor(Math.log(d)/Math.LN10),f=d/Math.pow(10,e);return e>=0?(f>=P?10:f>=Q?5:f>=R?2:1)*Math.pow(10,e):-Math.pow(10,-e)/(f>=P?10:f>=Q?5:f>=R?2:1)}function r(a,b,c){var d=Math.abs(b-a)/Math.max(0,c),e=Math.pow(10,Math.floor(Math.log(d)/Math.LN10)),f=d/e;return f>=P?e*=10:f>=Q?e*=5:f>=R&&(e*=2),b<a?-e:e}function s(a){return Math.ceil(Math.log(a.length)/Math.LN2)+1}function t(){function a(a){var e,f,g=a.length,h=new Array(g);for(e=0;e<g;++e)h[e]=b(a[e],e,a);var i=c(h),j=i[0],k=i[1],l=d(h,j,k);Array.isArray(l)||(l=r(j,k,l),l=o(Math.ceil(j/l)*l,k,l));for(var m=l.length;l[0]<=j;)l.shift(),--m;for(;l[m-1]>k;)l.pop(),--m;var n,p=new Array(m+1);for(e=0;e<=m;++e)n=p[e]=[],n.x0=e>0?l[e-1]:j,n.x1=e<m?l[e]:k;for(e=0;e<g;++e)f=h[e],j<=f&&f<=k&&p[K(l,f,0,m)].push(a[e]);return p}var b=n,c=l,d=s;return a.value=function(c){return arguments.length?(b="function"==typeof c?c:m(c),a):b},a.domain=function(b){return arguments.length?(c="function"==typeof b?b:m([b[0],b[1]]),a):c},a.thresholds=function(b){return arguments.length?(d="function"==typeof b?b:m(Array.isArray(b)?N.call(b):b),a):d},a}function u(a,b,c){if(null==c&&(c=i),d=a.length){if((b=+b)<=0||d<2)return+c(a[0],0,a);if(b>=1)return+c(a[d-1],d-1,a);var d,e=(d-1)*b,f=Math.floor(e),g=+c(a[f],f,a),h=+c(a[f+1],f+1,a);return g+(h-g)*(e-f)}}function v(a,c,d){return a=O.call(a,i).sort(b),Math.ceil((d-c)/(2*(u(a,.75)-u(a,.25))*Math.pow(a.length,-1/3)))}function w(a,b,c){return Math.ceil((c-b)/(3.5*k(a)*Math.pow(a.length,-1/3)))}function x(a,b){var c,d,e=a.length,f=-1;if(null==b){for(;++f<e;)if(null!=(c=a[f])&&c>=c)for(d=c;++f<e;)null!=(c=a[f])&&c>d&&(d=c)}else for(;++f<e;)if(null!=(c=b(a[f],f,a))&&c>=c)for(d=c;++f<e;)null!=(c=b(a[f],f,a))&&c>d&&(d=c);return d}function y(a,b){var c,d=a.length,e=d,f=-1,g=0;if(null==b)for(;++f<d;)isNaN(c=i(a[f]))?--e:g+=c;else for(;++f<d;)isNaN(c=i(b(a[f],f,a)))?--e:g+=c;if(e)return g/e}function z(a,c){var d,e=a.length,f=-1,g=[];if(null==c)for(;++f<e;)isNaN(d=i(a[f]))||g.push(d);else for(;++f<e;)isNaN(d=i(c(a[f],f,a)))||g.push(d);return u(g.sort(b),.5)}function A(a){for(var b,c,d,e=a.length,f=-1,g=0;++f<e;)g+=a[f].length;for(c=new Array(g);--e>=0;)for(d=a[e],b=d.length;--b>=0;)c[--g]=d[b];return c}function B(a,b){var c,d,e=a.length,f=-1;if(null==b){for(;++f<e;)if(null!=(c=a[f])&&c>=c)for(d=c;++f<e;)null!=(c=a[f])&&d>c&&(d=c)}else for(;++f<e;)if(null!=(c=b(a[f],f,a))&&c>=c)for(d=c;++f<e;)null!=(c=b(a[f],f,a))&&d>c&&(d=c);return d}function C(a,b){for(var c=b.length,d=new Array(c);c--;)d[c]=a[b[c]];return d}function D(a,c){if(d=a.length){var d,e,f=0,g=0,h=a[g];for(null==c&&(c=b);++f<d;)(c(e=a[f],h)<0||0!==c(h,h))&&(h=e,g=f);return 0===c(h,h)?g:void 0}}function E(a,b,c){for(var d,e,f=(null==c?a.length:c)-(b=null==b?0:+b);f;)e=Math.random()*f--|0,d=a[f+b],a[f+b]=a[e+b],a[e+b]=d;return a}function F(a,b){var c,d=a.length,e=-1,f=0;if(null==b)for(;++e<d;)(c=+a[e])&&(f+=c);else for(;++e<d;)(c=+b(a[e],e,a))&&(f+=c);return f}function G(a){if(!(e=a.length))return[];for(var b=-1,c=B(a,H),d=new Array(c);++b<c;)for(var e,f=-1,g=d[b]=new Array(e);++f<e;)g[f]=a[f][b];return d}function H(a){return a.length}function I(){return G(arguments)}var J=c(b),K=J.right,L=J.left,M=Array.prototype,N=M.slice,O=M.map,P=Math.sqrt(50),Q=Math.sqrt(10),R=Math.sqrt(2);a.bisect=K,a.bisectRight=K,a.bisectLeft=L,a.ascending=b,a.bisector=c,a.cross=g,a.descending=h,a.deviation=k,a.extent=l,a.histogram=t,a.thresholdFreedmanDiaconis=v,a.thresholdScott=w,a.thresholdSturges=s,a.max=x,a.mean=y,a.median=z,a.merge=A,a.min=B,a.pairs=e,a.permute=C,a.quantile=u,a.range=o,a.scan=D,a.shuffle=E,a.sum=F,a.ticks=p,a.tickIncrement=q,a.tickStep=r,a.transpose=G,a.variance=j,a.zip=I,Object.defineProperty(a,"__esModule",{value:!0})})},{}],30:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):e(b.d3=b.d3||{})}(this,function(a){"use strict";function b(a){return a}function c(a){return"translate("+(a+.5)+",0)"}function d(a){return"translate(0,"+(a+.5)+")"}function e(a){return function(b){return+a(b)}}function f(a){var b=Math.max(0,a.bandwidth()-1)/2;return a.round()&&(b=Math.round(b)),function(c){return+a(c)+b}}function g(){return!this.__axis}function h(a,h){function i(c){var d=null==k?h.ticks?h.ticks.apply(h,j):h.domain():k,i=null==l?h.tickFormat?h.tickFormat.apply(h,j):b:l,m=Math.max(s,0)+u,y=h.range(),z=+y[0]+.5,A=+y[y.length-1]+.5,B=(h.bandwidth?f:e)(h.copy()),C=c.selection?c.selection():c,D=C.selectAll(".domain").data([null]),E=C.selectAll(".tick").data(d,h).order(),F=E.exit(),G=E.enter().append("g").attr("class","tick"),H=E.select("line"),I=E.select("text");D=D.merge(D.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(G),H=H.merge(G.append("line").attr("stroke","currentColor").attr(w+"2",v*s)),I=I.merge(G.append("text").attr("fill","currentColor").attr(w,v*m).attr("dy",a===n?"0em":a===p?"0.71em":"0.32em")),c!==C&&(D=D.transition(c),E=E.transition(c),H=H.transition(c),I=I.transition(c),F=F.transition(c).attr("opacity",r).attr("transform",function(a){return isFinite(a=B(a))?x(a):this.getAttribute("transform")}),G.attr("opacity",r).attr("transform",function(a){var b=this.parentNode.__axis;return x(b&&isFinite(b=b(a))?b:B(a))})),F.remove(),D.attr("d",a===q||a==o?t?"M"+v*t+","+z+"H0.5V"+A+"H"+v*t:"M0.5,"+z+"V"+A:t?"M"+z+","+v*t+"V0.5H"+A+"V"+v*t:"M"+z+",0.5H"+A),E.attr("opacity",1).attr("transform",function(a){return x(B(a))}),H.attr(w+"2",v*s),I.attr(w,v*m).text(i),C.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",a===o?"start":a===q?"end":"middle"),C.each(function(){this.__axis=B})}var j=[],k=null,l=null,s=6,t=6,u=3,v=a===n||a===q?-1:1,w=a===q||a===o?"x":"y",x=a===n||a===p?c:d;return i.scale=function(a){return arguments.length?(h=a,i):h},i.ticks=function(){return j=m.call(arguments),i},i.tickArguments=function(a){return arguments.length?(j=null==a?[]:m.call(a),i):j.slice()},i.tickValues=function(a){return arguments.length?(k=null==a?null:m.call(a),i):k&&k.slice()},i.tickFormat=function(a){return arguments.length?(l=a,i):l},i.tickSize=function(a){return arguments.length?(s=t=+a,i):s},i.tickSizeInner=function(a){return arguments.length?(s=+a,i):s},i.tickSizeOuter=function(a){return arguments.length?(t=+a,i):t},i.tickPadding=function(a){return arguments.length?(u=+a,i):u},i}function i(a){return h(n,a)}function j(a){return h(o,a)}function k(a){return h(p,a)}function l(a){return h(q,a)}var m=Array.prototype.slice,n=1,o=2,p=3,q=4,r=1e-6;a.axisTop=i,a.axisRight=j,a.axisBottom=k,a.axisLeft=l,Object.defineProperty(a,"__esModule",{value:!0})})},{}],31:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-dispatch"),b("d3-drag"),b("d3-interpolate"),b("d3-selection"),b("d3-transition")):"function"==typeof a&&a.amd?a(["exports","d3-dispatch","d3-drag","d3-interpolate","d3-selection","d3-transition"],f):(e=e||self,f(e.d3=e.d3||{},e.d3,e.d3,e.d3,e.d3,e.d3))}(this,function(a,b,c,d,e,f){"use strict";function g(a){return function(){return a}}function h(a,b,c){this.target=a,this.type=b,this.selection=c}function i(){e.event.stopImmediatePropagation()}function j(){e.event.preventDefault(),e.event.stopImmediatePropagation()}function k(a){return[+a[0],+a[1]]}function l(a){return[k(a[0]),k(a[1])]}function m(a){return function(b){return e.touch(b,e.event.touches,a)}}function n(a){return{type:a}}function o(){return!e.event.ctrlKey&&!e.event.button}function p(){var a=this.ownerSVGElement||this;return a.hasAttribute("viewBox")?(a=a.viewBox.baseVal,[[a.x,a.y],[a.x+a.width,a.y+a.height]]):[[0,0],[a.width.baseVal.value,a.height.baseVal.value]]}function q(){return navigator.maxTouchPoints||"ontouchstart"in this}function r(a){for(;!a.__brush;)if(!(a=a.parentNode))return;return a.__brush}function s(a){return a[0][0]===a[1][0]||a[0][1]===a[1][1]}function t(a){var b=a.__brush;return b?b.dim.output(b.selection):null}function u(){return x(C)}function v(){return x(D)}function w(){return x(E)}function x(a){function k(b){var c=b.property("__brush",K).selectAll(".overlay").data([n("overlay")]);c.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",F.overlay).merge(c).each(function(){var a=r(this).extent;e.select(this).attr("x",a[0][0]).attr("y",a[0][1]).attr("width",a[1][0]-a[0][0]).attr("height",a[1][1]-a[0][1])}),b.selectAll(".selection").data([n("selection")]).enter().append("rect").attr("class","selection").attr("cursor",F.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var d=b.selectAll(".handle").data(a.handles,function(a){return a.type});d.exit().remove(),d.enter().append("rect").attr("class",function(a){return"handle handle--"+a.type}).attr("cursor",function(a){return F[a.type]}),b.each(t).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",w).filter(O).on("touchstart.brush",w).on("touchmove.brush",x).on("touchend.brush touchcancel.brush",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function t(){var a=e.select(this),b=r(this).selection;b?(a.selectAll(".selection").style("display",null).attr("x",b[0][0]).attr("y",b[0][1]).attr("width",b[1][0]-b[0][0]).attr("height",b[1][1]-b[0][1]),a.selectAll(".handle").style("display",null).attr("x",function(a){return"e"===a.type[a.type.length-1]?b[1][0]-R/2:b[0][0]-R/2}).attr("y",function(a){return"s"===a.type[0]?b[1][1]-R/2:b[0][1]-R/2}).attr("width",function(a){return"n"===a.type||"s"===a.type?b[1][0]-b[0][0]+R:R}).attr("height",function(a){return"e"===a.type||"w"===a.type?b[1][1]-b[0][1]+R:R})):a.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(a,b,c){return!c&&a.__brush.emitter||new v(a,b)}function v(a,b){this.that=a,this.args=b,this.state=a.__brush,this.active=0}function w(){function b(){var a=ca(O);!ba||K||M||(Math.abs(a[0]-ea[0])>Math.abs(a[1]-ea[1])?M=!0:K=!0),ea=a,E=!0,j(),d()}function d(){var a;switch(_=ea[0]-da[0],aa=ea[1]-da[1],R){case z:case y:S&&(_=Math.max(X-l,Math.min(Z-q,_)),n=l+_,v=q+_),T&&(aa=Math.max(Y-o,Math.min($-w,aa)),p=o+aa,x=w+aa);break;case A:S<0?(_=Math.max(X-l,Math.min(Z-l,_)),n=l+_,v=q):S>0&&(_=Math.max(X-q,Math.min(Z-q,_)),n=l,v=q+_),T<0?(aa=Math.max(Y-o,Math.min($-o,aa)),p=o+aa,x=w):T>0&&(aa=Math.max(Y-w,Math.min($-w,aa)),p=o,x=w+aa);break;case B:S&&(n=Math.max(X,Math.min(Z,l-_*S)),v=Math.max(X,Math.min(Z,q+_*S))),T&&(p=Math.max(Y,Math.min($,o-aa*T)),x=Math.max(Y,Math.min($,w+aa*T)))}v<n&&(S*=-1,a=l,l=q,q=a,a=n,n=v,v=a,Q in G&&ha.attr("cursor",F[Q=G[Q]])),x<p&&(T*=-1,a=o,o=w,w=a,a=p,p=x,x=a,Q in H&&ha.attr("cursor",F[Q=H[Q]])),U.selection&&(W=U.selection),K&&(n=W[0][0],v=W[1][0]),M&&(p=W[0][1],x=W[1][1]),W[0][0]===n&&W[0][1]===p&&W[1][0]===v&&W[1][1]===x||(U.selection=[[n,p],[v,x]],t.call(O),fa.brush())}function g(){if(i(),e.event.touches){if(e.event.touches.length)return;L&&clearTimeout(L),L=setTimeout(function(){L=null},500)}else c.dragEnable(e.event.view,E),ia.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);ga.attr("pointer-events","all"),ha.attr("cursor",F.overlay),U.selection&&(W=U.selection),s(W)&&(U.selection=null,t.call(O)),fa.end()}function h(){switch(e.event.keyCode){case 16:ba=S&&T;break;case 18:R===A&&(S&&(q=v-_*S,l=n+_*S),T&&(w=x-aa*T,o=p+aa*T),R=B,d());break;case 32:R!==A&&R!==B||(S<0?q=v-_:S>0&&(l=n-_),T<0?w=x-aa:T>0&&(o=p-aa),R=z,ha.attr("cursor",F.selection),d());break;default:return}j()}function k(){switch(e.event.keyCode){case 16:ba&&(K=M=ba=!1,d());break;case 18:R===B&&(S<0?q=v:S>0&&(l=n),T<0?w=x:T>0&&(o=p),R=A,d());break;case 32:R===z&&(e.event.altKey?(S&&(q=v-_*S,l=n+_*S),T&&(w=x-aa*T,o=p+aa*T),R=B):(S<0?q=v:S>0&&(l=n),T<0?w=x:T>0&&(o=p),R=A),ha.attr("cursor",F[Q]),d());break;default:return}j()}if((!L||e.event.touches)&&N.apply(this,arguments)){var l,n,o,p,q,v,w,x,E,K,M,O=this,Q=e.event.target.__data__.type,R="selection"===(P&&e.event.metaKey?Q="overlay":Q)?y:P&&e.event.altKey?B:A,S=a===D?null:I[Q],T=a===C?null:J[Q],U=r(O),V=U.extent,W=U.selection,X=V[0][0],Y=V[0][1],Z=V[1][0],$=V[1][1],_=0,aa=0,ba=S&&T&&P&&e.event.shiftKey,ca=e.event.touches?m(e.event.changedTouches[0].identifier):e.mouse,da=ca(O),ea=da,fa=u(O,arguments,!0).beforestart();"overlay"===Q?(W&&(E=!0),U.selection=W=[[l=a===D?X:da[0],o=a===C?Y:da[1]],[q=a===D?Z:l,w=a===C?$:o]]):(l=W[0][0],o=W[0][1],q=W[1][0],w=W[1][1]),n=l,p=o,v=q,x=w;var ga=e.select(O).attr("pointer-events","none"),ha=ga.selectAll(".overlay").attr("cursor",F[Q]);if(e.event.touches)fa.moved=b,fa.ended=g;else{var ia=e.select(e.event.view).on("mousemove.brush",b,!0).on("mouseup.brush",g,!0);P&&ia.on("keydown.brush",h,!0).on("keyup.brush",k,!0),c.dragDisable(e.event.view)}i(),f.interrupt(O),t.call(O),fa.start()}}function x(){u(this,arguments).moved()}function E(){u(this,arguments).ended();
- }function K(){var b=this.__brush||{selection:null};return b.extent=l(M.apply(this,arguments)),b.dim=a,b}var L,M=p,N=o,O=q,P=!0,Q=b.dispatch("start","brush","end"),R=6;return k.move=function(b,c){b.selection?b.on("start.brush",function(){u(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){u(this,arguments).end()}).tween("brush",function(){function b(a){f.selection=1===a&&null===i?null:j(a),t.call(e),g.brush()}var e=this,f=e.__brush,g=u(e,arguments),h=f.selection,i=a.input("function"==typeof c?c.apply(this,arguments):c,f.extent),j=d.interpolate(h,i);return null!==h&&null!==i?b:b(1)}):b.each(function(){var b=this,d=arguments,e=b.__brush,g=a.input("function"==typeof c?c.apply(b,d):c,e.extent),h=u(b,d).beforestart();f.interrupt(b),e.selection=null===g?null:g,t.call(b),h.start().brush().end()})},k.clear=function(a){k.move(a,null)},v.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(b){e.customEvent(new h(k,b,a.output(this.state.selection)),Q.apply,Q,[b,this.that,this.args])}},k.extent=function(a){return arguments.length?(M="function"==typeof a?a:g(l(a)),k):M},k.filter=function(a){return arguments.length?(N="function"==typeof a?a:g(!!a),k):N},k.touchable=function(a){return arguments.length?(O="function"==typeof a?a:g(!!a),k):O},k.handleSize=function(a){return arguments.length?(R=+a,k):R},k.keyModifiers=function(a){return arguments.length?(P=!!a,k):P},k.on=function(){var a=Q.on.apply(Q,arguments);return a===Q?k:a},k}var y={name:"drag"},z={name:"space"},A={name:"handle"},B={name:"center"},C={name:"x",handles:["w","e"].map(n),input:function(a,b){return null==a?null:[[+a[0],b[0][1]],[+a[1],b[1][1]]]},output:function(a){return a&&[a[0][0],a[1][0]]}},D={name:"y",handles:["n","s"].map(n),input:function(a,b){return null==a?null:[[b[0][0],+a[0]],[b[1][0],+a[1]]]},output:function(a){return a&&[a[0][1],a[1][1]]}},E={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(n),input:function(a){return null==a?null:l(a)},output:function(a){return a}},F={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},G={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},H={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},I={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},J={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};a.brush=w,a.brushSelection=t,a.brushX=u,a.brushY=v,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-dispatch":36,"d3-drag":37,"d3-interpolate":45,"d3-selection":52,"d3-transition":57}],32:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-array"),b("d3-path")):"function"==typeof a&&a.amd?a(["exports","d3-array","d3-path"],f):f(e.d3=e.d3||{},e.d3,e.d3)}(this,function(a,b,c){"use strict";function d(a){return function(b,c){return a(b.source.value+b.target.value,c.source.value+c.target.value)}}function e(){function a(a){var d,h,i,j,k,l,m=a.length,n=[],o=b.range(m),p=[],s=[],t=s.groups=new Array(m),u=new Array(m*m);for(d=0,k=-1;++k<m;){for(h=0,l=-1;++l<m;)h+=a[k][l];n.push(h),p.push(b.range(m)),d+=h}for(e&&o.sort(function(a,b){return e(n[a],n[b])}),f&&p.forEach(function(b,c){b.sort(function(b,d){return f(a[c][b],a[c][d])})}),d=r(0,q-c*m)/d,j=d?c:q/m,h=0,k=-1;++k<m;){for(i=h,l=-1;++l<m;){var v=o[k],w=p[v][l],x=a[v][w],y=h,z=h+=x*d;u[w*m+v]={index:v,subindex:w,startAngle:y,endAngle:z,value:x}}t[v]={index:v,startAngle:i,endAngle:h,value:n[v]},h+=j}for(k=-1;++k<m;)for(l=k-1;++l<m;){var A=u[l*m+k],B=u[k*m+l];(A.value||B.value)&&s.push(A.value<B.value?{source:B,target:A}:{source:A,target:B})}return g?s.sort(g):s}var c=0,e=null,f=null,g=null;return a.padAngle=function(b){return arguments.length?(c=r(0,b),a):c},a.sortGroups=function(b){return arguments.length?(e=b,a):e},a.sortSubgroups=function(b){return arguments.length?(f=b,a):f},a.sortChords=function(b){return arguments.length?(null==b?g=null:(g=d(b))._=b,a):g&&g._},a}function f(a){return function(){return a}}function g(a){return a.source}function h(a){return a.target}function i(a){return a.radius}function j(a){return a.startAngle}function k(a){return a.endAngle}function l(){function a(){var a,f=s.call(arguments),g=b.apply(this,f),h=d.apply(this,f),i=+e.apply(this,(f[0]=g,f)),j=l.apply(this,f)-p,k=o.apply(this,f)-p,r=i*m(j),t=i*n(j),u=+e.apply(this,(f[0]=h,f)),v=l.apply(this,f)-p,w=o.apply(this,f)-p;if(q||(q=a=c.path()),q.moveTo(r,t),q.arc(0,0,i,j,k),j===v&&k===w||(q.quadraticCurveTo(0,0,u*m(v),u*n(v)),q.arc(0,0,u,v,w)),q.quadraticCurveTo(0,0,r,t),q.closePath(),a)return q=null,a+""||null}var b=g,d=h,e=i,l=j,o=k,q=null;return a.radius=function(b){return arguments.length?(e="function"==typeof b?b:f(+b),a):e},a.startAngle=function(b){return arguments.length?(l="function"==typeof b?b:f(+b),a):l},a.endAngle=function(b){return arguments.length?(o="function"==typeof b?b:f(+b),a):o},a.source=function(c){return arguments.length?(b=c,a):b},a.target=function(b){return arguments.length?(d=b,a):d},a.context=function(b){return arguments.length?(q=null==b?null:b,a):q},a}var m=Math.cos,n=Math.sin,o=Math.PI,p=o/2,q=2*o,r=Math.max,s=Array.prototype.slice;a.chord=e,a.ribbon=l,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-array":29,"d3-path":46}],33:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):e(b.d3=b.d3||{})}(this,function(a){"use strict";function b(){}function c(a,c){var d=new b;if(a instanceof b)a.each(function(a,b){d.set(b,a)});else if(Array.isArray(a)){var e,f=-1,g=a.length;if(null==c)for(;++f<g;)d.set(f,a[f]);else for(;++f<g;)d.set(c(e=a[f],f,a),e)}else if(a)for(var h in a)d.set(h,a[h]);return d}function d(){function a(b,e,f,g){if(e>=k.length)return null!=d&&b.sort(d),null!=i?i(b):b;for(var h,j,l,m=-1,n=b.length,o=k[e++],p=c(),q=f();++m<n;)(l=p.get(h=o(j=b[m])+""))?l.push(j):p.set(h,[j]);return p.each(function(b,c){g(q,c,a(b,e,f,g))}),q}function b(a,c){if(++c>k.length)return a;var d,e=l[c-1];return null!=i&&c>=k.length?d=a.entries():(d=[],a.each(function(a,e){d.push({key:e,values:b(a,c)})})),null!=e?d.sort(function(a,b){return e(a.key,b.key)}):d}var d,i,j,k=[],l=[];return j={object:function(b){return a(b,0,e,f)},map:function(b){return a(b,0,g,h)},entries:function(c){return b(a(c,0,g,h),0)},key:function(a){return k.push(a),j},sortKeys:function(a){return l[k.length-1]=a,j},sortValues:function(a){return d=a,j},rollup:function(a){return i=a,j}}}function e(){return{}}function f(a,b,c){a[b]=c}function g(){return c()}function h(a,b,c){a.set(b,c)}function i(){}function j(a,b){var c=new i;if(a instanceof i)a.each(function(a){c.add(a)});else if(a){var d=-1,e=a.length;if(null==b)for(;++d<e;)c.add(a[d]);else for(;++d<e;)c.add(b(a[d],d,a))}return c}function k(a){var b=[];for(var c in a)b.push(c);return b}function l(a){var b=[];for(var c in a)b.push(a[c]);return b}function m(a){var b=[];for(var c in a)b.push({key:c,value:a[c]});return b}var n="$";b.prototype=c.prototype={constructor:b,has:function(a){return n+a in this},get:function(a){return this[n+a]},set:function(a,b){return this[n+a]=b,this},remove:function(a){var b=n+a;return b in this&&delete this[b]},clear:function(){for(var a in this)a[0]===n&&delete this[a]},keys:function(){var a=[];for(var b in this)b[0]===n&&a.push(b.slice(1));return a},values:function(){var a=[];for(var b in this)b[0]===n&&a.push(this[b]);return a},entries:function(){var a=[];for(var b in this)b[0]===n&&a.push({key:b.slice(1),value:this[b]});return a},size:function(){var a=0;for(var b in this)b[0]===n&&++a;return a},empty:function(){for(var a in this)if(a[0]===n)return!1;return!0},each:function(a){for(var b in this)b[0]===n&&a(this[b],b.slice(1),this)}};var o=c.prototype;i.prototype=j.prototype={constructor:i,has:o.has,add:function(a){return a+="",this[n+a]=a,this},remove:o.remove,clear:o.clear,values:o.keys,size:o.size,empty:o.empty,each:o.each},a.nest=d,a.set=j,a.map=c,a.keys=k,a.values=l,a.entries=m,Object.defineProperty(a,"__esModule",{value:!0})})},{}],34:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a,b,c){a.prototype=b.prototype=c,c.constructor=a}function c(a,b){var c=Object.create(a.prototype);for(var d in b)c[d]=b[d];return c}function d(){}function e(){return this.rgb().formatHex()}function f(){return r(this).formatHsl()}function g(){return this.rgb().formatRgb()}function h(a){var b,c;return a=(a+"").trim().toLowerCase(),(b=Q.exec(a))?(c=b[1].length,b=parseInt(b[1],16),6===c?i(b):3===c?new m(b>>8&15|b>>4&240,b>>4&15|240&b,(15&b)<<4|15&b,1):8===c?new m(b>>24&255,b>>16&255,b>>8&255,(255&b)/255):4===c?new m(b>>12&15|b>>8&240,b>>8&15|b>>4&240,b>>4&15|240&b,((15&b)<<4|15&b)/255):null):(b=R.exec(a))?new m(b[1],b[2],b[3],1):(b=S.exec(a))?new m(255*b[1]/100,255*b[2]/100,255*b[3]/100,1):(b=T.exec(a))?j(b[1],b[2],b[3],b[4]):(b=U.exec(a))?j(255*b[1]/100,255*b[2]/100,255*b[3]/100,b[4]):(b=V.exec(a))?q(b[1],b[2]/100,b[3]/100,1):(b=W.exec(a))?q(b[1],b[2]/100,b[3]/100,b[4]):X.hasOwnProperty(a)?i(X[a]):"transparent"===a?new m(NaN,NaN,NaN,0):null}function i(a){return new m(a>>16&255,a>>8&255,255&a,1)}function j(a,b,c,d){return d<=0&&(a=b=c=NaN),new m(a,b,c,d)}function k(a){return a instanceof d||(a=h(a)),a?(a=a.rgb(),new m(a.r,a.g,a.b,a.opacity)):new m}function l(a,b,c,d){return 1===arguments.length?k(a):new m(a,b,c,null==d?1:d)}function m(a,b,c,d){this.r=+a,this.g=+b,this.b=+c,this.opacity=+d}function n(){return"#"+p(this.r)+p(this.g)+p(this.b)}function o(){var a=this.opacity;return a=isNaN(a)?1:Math.max(0,Math.min(1,a)),(1===a?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===a?")":", "+a+")")}function p(a){return a=Math.max(0,Math.min(255,Math.round(a)||0)),(a<16?"0":"")+a.toString(16)}function q(a,b,c,d){return d<=0?a=b=c=NaN:c<=0||c>=1?a=b=NaN:b<=0&&(a=NaN),new t(a,b,c,d)}function r(a){if(a instanceof t)return new t(a.h,a.s,a.l,a.opacity);if(a instanceof d||(a=h(a)),!a)return new t;if(a instanceof t)return a;a=a.rgb();var b=a.r/255,c=a.g/255,e=a.b/255,f=Math.min(b,c,e),g=Math.max(b,c,e),i=NaN,j=g-f,k=(g+f)/2;return j?(i=b===g?(c-e)/j+6*(c<e):c===g?(e-b)/j+2:(b-c)/j+4,j/=k<.5?g+f:2-g-f,i*=60):j=k>0&&k<1?0:i,new t(i,j,k,a.opacity)}function s(a,b,c,d){return 1===arguments.length?r(a):new t(a,b,c,null==d?1:d)}function t(a,b,c,d){this.h=+a,this.s=+b,this.l=+c,this.opacity=+d}function u(a,b,c){return 255*(a<60?b+(c-b)*a/60:a<180?c:a<240?b+(c-b)*(240-a)/60:b)}function v(a){if(a instanceof y)return new y(a.l,a.a,a.b,a.opacity);if(a instanceof G)return H(a);a instanceof m||(a=k(a));var b,c,d=C(a.r),e=C(a.g),f=C(a.b),g=z((.2225045*d+.7168786*e+.0606169*f)/aa);return d===e&&e===f?b=c=g:(b=z((.4360747*d+.3850649*e+.1430804*f)/_),c=z((.0139322*d+.0971045*e+.7141733*f)/ba)),new y(116*g-16,500*(b-g),200*(g-c),a.opacity)}function w(a,b){return new y(a,0,0,null==b?1:b)}function x(a,b,c,d){return 1===arguments.length?v(a):new y(a,b,c,null==d?1:d)}function y(a,b,c,d){this.l=+a,this.a=+b,this.b=+c,this.opacity=+d}function z(a){return a>fa?Math.pow(a,1/3):a/ea+ca}function A(a){return a>da?a*a*a:ea*(a-ca)}function B(a){return 255*(a<=.0031308?12.92*a:1.055*Math.pow(a,1/2.4)-.055)}function C(a){return(a/=255)<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4)}function D(a){if(a instanceof G)return new G(a.h,a.c,a.l,a.opacity);if(a instanceof y||(a=v(a)),0===a.a&&0===a.b)return new G(NaN,0<a.l&&a.l<100?0:NaN,a.l,a.opacity);var b=Math.atan2(a.b,a.a)*Z;return new G(b<0?b+360:b,Math.sqrt(a.a*a.a+a.b*a.b),a.l,a.opacity)}function E(a,b,c,d){return 1===arguments.length?D(a):new G(c,b,a,null==d?1:d)}function F(a,b,c,d){return 1===arguments.length?D(a):new G(a,b,c,null==d?1:d)}function G(a,b,c,d){this.h=+a,this.c=+b,this.l=+c,this.opacity=+d}function H(a){if(isNaN(a.h))return new y(a.l,0,0,a.opacity);var b=a.h*Y;return new y(a.l,Math.cos(b)*a.c,Math.sin(b)*a.c,a.opacity)}function I(a){if(a instanceof K)return new K(a.h,a.s,a.l,a.opacity);a instanceof m||(a=k(a));var b=a.r/255,c=a.g/255,d=a.b/255,e=(na*d+la*b-ma*c)/(na+la-ma),f=d-e,g=(ka*(c-e)-ia*f)/ja,h=Math.sqrt(g*g+f*f)/(ka*e*(1-e)),i=h?Math.atan2(g,f)*Z-120:NaN;return new K(i<0?i+360:i,h,e,a.opacity)}function J(a,b,c,d){return 1===arguments.length?I(a):new K(a,b,c,null==d?1:d)}function K(a,b,c,d){this.h=+a,this.s=+b,this.l=+c,this.opacity=+d}var L=.7,M=1/L,N="\\s*([+-]?\\d+)\\s*",O="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",P="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Q=/^#([0-9a-f]{3,8})$/,R=new RegExp("^rgb\\("+[N,N,N]+"\\)$"),S=new RegExp("^rgb\\("+[P,P,P]+"\\)$"),T=new RegExp("^rgba\\("+[N,N,N,O]+"\\)$"),U=new RegExp("^rgba\\("+[P,P,P,O]+"\\)$"),V=new RegExp("^hsl\\("+[O,P,P]+"\\)$"),W=new RegExp("^hsla\\("+[O,P,P,O]+"\\)$"),X={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};b(d,h,{copy:function(a){return Object.assign(new this.constructor,this,a)},displayable:function(){return this.rgb().displayable()},hex:e,formatHex:e,formatHsl:f,formatRgb:g,toString:g}),b(m,l,c(d,{brighter:function(a){return a=null==a?M:Math.pow(M,a),new m(this.r*a,this.g*a,this.b*a,this.opacity)},darker:function(a){return a=null==a?L:Math.pow(L,a),new m(this.r*a,this.g*a,this.b*a,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:n,formatHex:n,formatRgb:o,toString:o})),b(t,s,c(d,{brighter:function(a){return a=null==a?M:Math.pow(M,a),new t(this.h,this.s,this.l*a,this.opacity)},darker:function(a){return a=null==a?L:Math.pow(L,a),new t(this.h,this.s,this.l*a,this.opacity)},rgb:function(){var a=this.h%360+360*(this.h<0),b=isNaN(a)||isNaN(this.s)?0:this.s,c=this.l,d=c+(c<.5?c:1-c)*b,e=2*c-d;return new m(u(a>=240?a-240:a+120,e,d),u(a,e,d),u(a<120?a+240:a-120,e,d),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var a=this.opacity;return a=isNaN(a)?1:Math.max(0,Math.min(1,a)),(1===a?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===a?")":", "+a+")")}}));var Y=Math.PI/180,Z=180/Math.PI,$=18,_=.96422,aa=1,ba=.82521,ca=4/29,da=6/29,ea=3*da*da,fa=da*da*da;b(y,x,c(d,{brighter:function(a){return new y(this.l+$*(null==a?1:a),this.a,this.b,this.opacity)},darker:function(a){return new y(this.l-$*(null==a?1:a),this.a,this.b,this.opacity)},rgb:function(){var a=(this.l+16)/116,b=isNaN(this.a)?a:a+this.a/500,c=isNaN(this.b)?a:a-this.b/200;return b=_*A(b),a=aa*A(a),c=ba*A(c),new m(B(3.1338561*b-1.6168667*a-.4906146*c),B(-.9787684*b+1.9161415*a+.033454*c),B(.0719453*b-.2289914*a+1.4052427*c),this.opacity)}})),b(G,F,c(d,{brighter:function(a){return new G(this.h,this.c,this.l+$*(null==a?1:a),this.opacity)},darker:function(a){return new G(this.h,this.c,this.l-$*(null==a?1:a),this.opacity)},rgb:function(){return H(this).rgb()}}));var ga=-.14861,ha=1.78277,ia=-.29227,ja=-.90649,ka=1.97294,la=ka*ja,ma=ka*ha,na=ha*ia-ja*ga;b(K,J,c(d,{brighter:function(a){return a=null==a?M:Math.pow(M,a),new K(this.h,this.s,this.l*a,this.opacity)},darker:function(a){return a=null==a?L:Math.pow(L,a),new K(this.h,this.s,this.l*a,this.opacity)},rgb:function(){var a=isNaN(this.h)?0:(this.h+120)*Y,b=+this.l,c=isNaN(this.s)?0:this.s*b*(1-b),d=Math.cos(a),e=Math.sin(a);return new m(255*(b+c*(ga*d+ha*e)),255*(b+c*(ia*d+ja*e)),255*(b+c*(ka*d)),this.opacity)}})),a.color=h,a.cubehelix=J,a.gray=w,a.hcl=F,a.hsl=s,a.lab=x,a.lch=E,a.rgb=l,Object.defineProperty(a,"__esModule",{value:!0})})},{}],35:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-array")):"function"==typeof a&&a.amd?a(["exports","d3-array"],f):f(e.d3=e.d3||{},e.d3)}(this,function(a,b){"use strict";function c(a,b){return a-b}function d(a){for(var b=0,c=a.length,d=a[c-1][1]*a[0][0]-a[c-1][0]*a[0][1];++b<c;)d+=a[b-1][1]*a[b][0]-a[b-1][0]*a[b][1];return d}function e(a){return function(){return a}}function f(a,b){for(var c,d=-1,e=b.length;++d<e;)if(c=g(a,b[d]))return c;return 0}function g(a,b){for(var c=b[0],d=b[1],e=-1,f=0,g=a.length,i=g-1;f<g;i=f++){var j=a[f],k=j[0],l=j[1],m=a[i],n=m[0],o=m[1];if(h(j,m,b))return 0;l>d!=o>d&&c<(n-k)*(d-l)/(o-l)+k&&(e=-e)}return e}function h(a,b,c){var d;return i(a,b,c)&&j(a[d=+(a[0]===b[0])],c[d],b[d])}function i(a,b,c){return(b[0]-a[0])*(c[1]-a[1])===(c[0]-a[0])*(b[1]-a[1])}function j(a,b,c){return a<=b&&b<=c||c<=b&&b<=a}function k(){}function l(){function a(a){var d=n(a);if(Array.isArray(d))d=d.slice().sort(c);else{var e=b.extent(a),f=e[0],h=e[1];d=b.tickStep(f,h,d),d=b.range(Math.floor(f/d)*d,Math.floor(h/d)*d,d)}return d.map(function(b){return g(a,b)})}function g(a,b){var c=[],e=[];return h(a,b,function(f){o(f,a,b),d(f)>0?c.push([f]):e.push(f)}),e.forEach(function(a){for(var b,d=0,e=c.length;d<e;++d)if(f((b=c[d])[0],a)!==-1)return void b.push(a)}),{type:"MultiPolygon",value:b,coordinates:c}}function h(a,b,c){function d(a){var b,d,g=[a[0][0]+e,a[0][1]+f],h=[a[1][0]+e,a[1][1]+f],j=i(g),k=i(h);(b=o[j])?(d=n[k])?(delete o[b.end],delete n[d.start],b===d?(b.ring.push(h),c(b.ring)):n[b.start]=o[d.end]={start:b.start,end:d.end,ring:b.ring.concat(d.ring)}):(delete o[b.end],b.ring.push(h),o[b.end=k]=b):(b=n[k])?(d=o[j])?(delete n[b.start],delete o[d.end],b===d?(b.ring.push(h),c(b.ring)):n[d.start]=o[b.end]={start:d.start,end:b.end,ring:d.ring.concat(b.ring)}):(delete n[b.start],b.ring.unshift(g),n[b.start=j]=b):n[j]=o[k]={start:j,end:k,ring:[g,h]}}var e,f,g,h,j,k,n=new Array,o=new Array;for(e=f=-1,h=a[0]>=b,u[h<<1].forEach(d);++e<l-1;)g=h,h=a[e+1]>=b,u[g|h<<1].forEach(d);for(u[h<<0].forEach(d);++f<m-1;){for(e=-1,h=a[f*l+l]>=b,j=a[f*l]>=b,u[h<<1|j<<2].forEach(d);++e<l-1;)g=h,h=a[f*l+l+e+1]>=b,k=j,j=a[f*l+e+1]>=b,u[g|h<<1|j<<2|k<<3].forEach(d);u[h|j<<3].forEach(d)}for(e=-1,j=a[f*l]>=b,u[j<<2].forEach(d);++e<l-1;)k=j,j=a[f*l+e+1]>=b,u[j<<2|k<<3].forEach(d);u[j<<3].forEach(d)}function i(a){return 2*a[0]+a[1]*(l+1)*4}function j(a,b,c){a.forEach(function(a){var d,e=a[0],f=a[1],g=0|e,h=0|f,i=b[h*l+g];e>0&&e<l&&g===e&&(d=b[h*l+g-1],a[0]=e+(c-d)/(i-d)-.5),f>0&&f<m&&h===f&&(d=b[(h-1)*l+g],a[1]=f+(c-d)/(i-d)-.5)})}var l=1,m=1,n=b.thresholdSturges,o=j;return a.contour=g,a.size=function(b){if(!arguments.length)return[l,m];var c=Math.ceil(b[0]),d=Math.ceil(b[1]);if(!(c>0&&d>0))throw new Error("invalid size");return l=c,m=d,a},a.thresholds=function(b){return arguments.length?(n="function"==typeof b?b:e(Array.isArray(b)?t.call(b):b),a):n},a.smooth=function(b){return arguments.length?(o=b?j:k,a):o===j},a}function m(a,b,c){for(var d=a.width,e=a.height,f=(c<<1)+1,g=0;g<e;++g)for(var h=0,i=0;h<d+c;++h)h<d&&(i+=a.data[h+g*d]),h>=c&&(h>=f&&(i-=a.data[h-f+g*d]),b.data[h-c+g*d]=i/Math.min(h+1,d-1+f-h,f))}function n(a,b,c){for(var d=a.width,e=a.height,f=(c<<1)+1,g=0;g<d;++g)for(var h=0,i=0;h<e+c;++h)h<e&&(i+=a.data[g+h*d]),h>=c&&(h>=f&&(i-=a.data[g+(h-f)*d]),b.data[g+(h-c)*d]=i/Math.min(h+1,e-1+f-h,f))}function o(a){return a[0]}function p(a){return a[1]}function q(){return 1}function r(){function a(a){var d=new Float32Array(x*y),e=new Float32Array(x*y);a.forEach(function(a,b,c){var e=+i(a,b,c)+w>>v,f=+j(a,b,c)+w>>v,g=+k(a,b,c);e>=0&&e<x&&f>=0&&f<y&&(d[e+f*x]+=g)}),m({width:x,height:y,data:d},{width:x,height:y,data:e},u>>v),n({width:x,height:y,data:e},{width:x,height:y,data:d},u>>v),m({width:x,height:y,data:d},{width:x,height:y,data:e},u>>v),n({width:x,height:y,data:e},{width:x,height:y,data:d},u>>v),m({width:x,height:y,data:d},{width:x,height:y,data:e},u>>v),n({width:x,height:y,data:e},{width:x,height:y,data:d},u>>v);var f=z(d);if(!Array.isArray(f)){var g=b.max(d);f=b.tickStep(0,g,f),f=b.range(0,Math.floor(g/f)*f,f),f.shift()}return l().thresholds(f).size([x,y])(d).map(c)}function c(a){return a.value*=Math.pow(2,-2*v),a.coordinates.forEach(d),a}function d(a){a.forEach(f)}function f(a){a.forEach(g)}function g(a){a[0]=a[0]*Math.pow(2,v)-w,a[1]=a[1]*Math.pow(2,v)-w}function h(){return w=3*u,x=r+2*w>>v,y=s+2*w>>v,a}var i=o,j=p,k=q,r=960,s=500,u=20,v=2,w=3*u,x=r+2*w>>v,y=s+2*w>>v,z=e(20);return a.x=function(b){return arguments.length?(i="function"==typeof b?b:e(+b),a):i},a.y=function(b){return arguments.length?(j="function"==typeof b?b:e(+b),a):j},a.weight=function(b){return arguments.length?(k="function"==typeof b?b:e(+b),a):k},a.size=function(a){if(!arguments.length)return[r,s];var b=Math.ceil(a[0]),c=Math.ceil(a[1]);if(!(b>=0||b>=0))throw new Error("invalid size");return r=b,s=c,h()},a.cellSize=function(a){if(!arguments.length)return 1<<v;if(!((a=+a)>=1))throw new Error("invalid cell size");return v=Math.floor(Math.log(a)/Math.LN2),h()},a.thresholds=function(b){return arguments.length?(z="function"==typeof b?b:e(Array.isArray(b)?t.call(b):b),a):z},a.bandwidth=function(a){if(!arguments.length)return Math.sqrt(u*(u+1));if(!((a=+a)>=0))throw new Error("invalid bandwidth");return u=Math.round((Math.sqrt(4*a*a+1)-1)/2),h()},a}var s=Array.prototype,t=s.slice,u=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];a.contours=l,a.contourDensity=r,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-array":29}],36:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(){for(var a,b=0,d=arguments.length,e={};b<d;++b){if(!(a=arguments[b]+"")||a in e||/[\s.]/.test(a))throw new Error("illegal type: "+a);e[a]=[]}return new c(e)}function c(a){this._=a}function d(a,b){return a.trim().split(/^|\s+/).map(function(a){var c="",d=a.indexOf(".");if(d>=0&&(c=a.slice(d+1),a=a.slice(0,d)),a&&!b.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:c}})}function e(a,b){for(var c,d=0,e=a.length;d<e;++d)if((c=a[d]).name===b)return c.value}function f(a,b,c){for(var d=0,e=a.length;d<e;++d)if(a[d].name===b){a[d]=g,a=a.slice(0,d).concat(a.slice(d+1));break}return null!=c&&a.push({name:b,value:c}),a}var g={value:function(){}};c.prototype=b.prototype={constructor:c,on:function(a,b){var c,g=this._,h=d(a+"",g),i=-1,j=h.length;{if(!(arguments.length<2)){if(null!=b&&"function"!=typeof b)throw new Error("invalid callback: "+b);for(;++i<j;)if(c=(a=h[i]).type)g[c]=f(g[c],a.name,b);else if(null==b)for(c in g)g[c]=f(g[c],a.name,null);return this}for(;++i<j;)if((c=(a=h[i]).type)&&(c=e(g[c],a.name)))return c}},copy:function(){var a={},b=this._;for(var d in b)a[d]=b[d].slice();return new c(a)},call:function(a,b){if((c=arguments.length-2)>0)for(var c,d,e=new Array(c),f=0;f<c;++f)e[f]=arguments[f+2];if(!this._.hasOwnProperty(a))throw new Error("unknown type: "+a);for(d=this._[a],f=0,c=d.length;f<c;++f)d[f].value.apply(b,e)},apply:function(a,b,c){if(!this._.hasOwnProperty(a))throw new Error("unknown type: "+a);for(var d=this._[a],e=0,f=d.length;e<f;++e)d[e].value.apply(b,c)}},a.dispatch=b,Object.defineProperty(a,"__esModule",{value:!0})})},{}],37:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-dispatch"),b("d3-selection")):"function"==typeof a&&a.amd?a(["exports","d3-dispatch","d3-selection"],f):(e=e||self,f(e.d3=e.d3||{},e.d3,e.d3))}(this,function(a,b,c){"use strict";function d(){c.event.stopImmediatePropagation()}function e(){c.event.preventDefault(),c.event.stopImmediatePropagation()}function f(a){var b=a.document.documentElement,d=c.select(a).on("dragstart.drag",e,!0);"onselectstart"in b?d.on("selectstart.drag",e,!0):(b.__noselect=b.style.MozUserSelect,b.style.MozUserSelect="none")}function g(a,b){var d=a.document.documentElement,f=c.select(a).on("dragstart.drag",null);b&&(f.on("click.drag",e,!0),setTimeout(function(){f.on("click.drag",null)},0)),"onselectstart"in d?f.on("selectstart.drag",null):(d.style.MozUserSelect=d.__noselect,delete d.__noselect)}function h(a){return function(){return a}}function i(a,b,c,d,e,f,g,h,i,j){this.target=a,this.type=b,this.subject=c,this.identifier=d,this.active=e,this.x=f,this.y=g,this.dx=h,this.dy=i,this._=j}function j(){return!c.event.ctrlKey&&!c.event.button}function k(){return this.parentNode}function l(a){return null==a?{x:c.event.x,y:c.event.y}:a}function m(){return navigator.maxTouchPoints||"ontouchstart"in this}function n(){function a(a){a.on("mousedown.drag",n).filter(B).on("touchstart.drag",q).on("touchmove.drag",r).on("touchend.drag touchcancel.drag",s).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(){if(!x&&y.apply(this,arguments)){var a=t("mouse",z.apply(this,arguments),c.mouse,this,arguments);a&&(c.select(c.event.view).on("mousemove.drag",o,!0).on("mouseup.drag",p,!0),f(c.event.view),d(),w=!1,u=c.event.clientX,v=c.event.clientY,a("start"))}}function o(){if(e(),!w){var a=c.event.clientX-u,b=c.event.clientY-v;w=a*a+b*b>F}C.mouse("drag")}function p(){c.select(c.event.view).on("mousemove.drag mouseup.drag",null),g(c.event.view,w),e(),C.mouse("end")}function q(){if(y.apply(this,arguments)){var a,b,e=c.event.changedTouches,f=z.apply(this,arguments),g=e.length;for(a=0;a<g;++a)(b=t(e[a].identifier,f,c.touch,this,arguments))&&(d(),b("start"))}}function r(){var a,b,d=c.event.changedTouches,f=d.length;for(a=0;a<f;++a)(b=C[d[a].identifier])&&(e(),b("drag"))}function s(){var a,b,e=c.event.changedTouches,f=e.length;for(x&&clearTimeout(x),x=setTimeout(function(){x=null},500),a=0;a<f;++a)(b=C[e[a].identifier])&&(d(),b("end"))}function t(b,d,e,f,g){var h,j,k,l=e(d,b),m=D.copy();if(c.customEvent(new i(a,"beforestart",h,b,E,l[0],l[1],0,0,m),function(){return null!=(c.event.subject=h=A.apply(f,g))&&(j=h.x-l[0]||0,k=h.y-l[1]||0,!0)}))return function n(o){var p,q=l;switch(o){case"start":C[b]=n,p=E++;break;case"end":delete C[b],--E;case"drag":l=e(d,b),p=E}c.customEvent(new i(a,o,h,b,p,l[0]+j,l[1]+k,l[0]-q[0],l[1]-q[1],m),m.apply,m,[o,f,g])}}var u,v,w,x,y=j,z=k,A=l,B=m,C={},D=b.dispatch("start","drag","end"),E=0,F=0;return a.filter=function(b){return arguments.length?(y="function"==typeof b?b:h(!!b),a):y},a.container=function(b){return arguments.length?(z="function"==typeof b?b:h(b),a):z},a.subject=function(b){return arguments.length?(A="function"==typeof b?b:h(b),a):A},a.touchable=function(b){return arguments.length?(B="function"==typeof b?b:h(!!b),a):B},a.on=function(){var b=D.on.apply(D,arguments);return b===D?a:b},a.clickDistance=function(b){return arguments.length?(F=(b=+b)*b,a):Math.sqrt(F)},a}i.prototype.on=function(){var a=this._.on.apply(this._,arguments);return a===this._?this:a},a.drag=n,a.dragDisable=f,a.dragEnable=g,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-dispatch":36,"d3-selection":52}],38:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a){return new Function("d","return {"+a.map(function(a,b){return JSON.stringify(a)+": d["+b+'] || ""'}).join(",")+"}")}function c(a,c){var d=b(a);return function(b,e){return c(d(b),e,a)}}function d(a){var b=Object.create(null),c=[];return a.forEach(function(a){for(var d in a)d in b||c.push(b[d]=d)}),c}function e(a,b){var c=a+"",d=c.length;return d<b?new Array(b-d+1).join(0)+c:c}function f(a){return a<0?"-"+e(-a,6):a>9999?"+"+e(a,6):e(a,4)}function g(a){var b=a.getUTCHours(),c=a.getUTCMinutes(),d=a.getUTCSeconds(),g=a.getUTCMilliseconds();return isNaN(a)?"Invalid Date":f(a.getUTCFullYear())+"-"+e(a.getUTCMonth()+1,2)+"-"+e(a.getUTCDate(),2)+(g?"T"+e(b,2)+":"+e(c,2)+":"+e(d,2)+"."+e(g,3)+"Z":d?"T"+e(b,2)+":"+e(c,2)+":"+e(d,2)+"Z":c||b?"T"+e(b,2)+":"+e(c,2)+"Z":"")}function h(a){function e(a,d){var e,g,h=f(a,function(a,f){return e?e(a,f-1):(g=a,void(e=d?c(a,d):b(a)))});return h.columns=g||[],h}function f(a,b){function c(){if(i)return k;if(o)return o=!1,j;var b,c,d=g;if(a.charCodeAt(d)===l){for(;g++<f&&a.charCodeAt(g)!==l||a.charCodeAt(++g)===l;);return(b=g)>=f?i=!0:(c=a.charCodeAt(g++))===m?o=!0:c===n&&(o=!0,a.charCodeAt(g)===m&&++g),a.slice(d+1,b-1).replace(/""/g,'"')}for(;g<f;){if((c=a.charCodeAt(b=g++))===m)o=!0;else if(c===n)o=!0,a.charCodeAt(g)===m&&++g;else if(c!==t)continue;return a.slice(d,b)}return i=!0,a.slice(d,f)}var d,e=[],f=a.length,g=0,h=0,i=f<=0,o=!1;for(a.charCodeAt(f-1)===m&&--f,a.charCodeAt(f-1)===n&&--f;(d=c())!==k;){for(var p=[];d!==j&&d!==k;)p.push(d),d=c();b&&null==(p=b(p,h++))||e.push(p)}return e}function h(b,c){return b.map(function(b){return c.map(function(a){return r(b[a])}).join(a)})}function i(b,c){return null==c&&(c=d(b)),[c.map(r).join(a)].concat(h(b,c)).join("\n")}function o(a,b){return null==b&&(b=d(a)),h(a,b).join("\n")}function p(a){return a.map(q).join("\n")}function q(b){return b.map(r).join(a)}function r(a){return null==a?"":a instanceof Date?g(a):s.test(a+="")?'"'+a.replace(/"/g,'""')+'"':a;
- }var s=new RegExp('["'+a+"\n\r]"),t=a.charCodeAt(0);return{parse:e,parseRows:f,format:i,formatBody:o,formatRows:p,formatRow:q,formatValue:r}}function i(a){for(var b in a){var c,d,e=a[b].trim();if(e)if("true"===e)e=!0;else if("false"===e)e=!1;else if("NaN"===e)e=NaN;else if(isNaN(c=+e)){if(!(d=e.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;E&&d[4]&&!d[7]&&(e=e.replace(/-/g,"/").replace(/T/," ")),e=new Date(e)}else e=c;else e=null;a[b]=e}return a}var j={},k={},l=34,m=10,n=13,o=h(","),p=o.parse,q=o.parseRows,r=o.format,s=o.formatBody,t=o.formatRows,u=o.formatRow,v=o.formatValue,w=h("\t"),x=w.parse,y=w.parseRows,z=w.format,A=w.formatBody,B=w.formatRows,C=w.formatRow,D=w.formatValue,E=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();a.autoType=i,a.csvFormat=r,a.csvFormatBody=s,a.csvFormatRow=u,a.csvFormatRows=t,a.csvFormatValue=v,a.csvParse=p,a.csvParseRows=q,a.dsvFormat=h,a.tsvFormat=z,a.tsvFormatBody=A,a.tsvFormatRow=C,a.tsvFormatRows=B,a.tsvFormatValue=D,a.tsvParse=x,a.tsvParseRows=y,Object.defineProperty(a,"__esModule",{value:!0})})},{}],39:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a){return+a}function c(a){return a*a}function d(a){return a*(2-a)}function e(a){return((a*=2)<=1?a*a:--a*(2-a)+1)/2}function f(a){return a*a*a}function g(a){return--a*a*a+1}function h(a){return((a*=2)<=1?a*a*a:(a-=2)*a*a+2)/2}function i(a){return 1-Math.cos(a*z)}function j(a){return Math.sin(a*z)}function k(a){return(1-Math.cos(y*a))/2}function l(a){return Math.pow(2,10*a-10)}function m(a){return 1-Math.pow(2,-10*a)}function n(a){return((a*=2)<=1?Math.pow(2,10*a-10):2-Math.pow(2,10-10*a))/2}function o(a){return 1-Math.sqrt(1-a*a)}function p(a){return Math.sqrt(1- --a*a)}function q(a){return((a*=2)<=1?1-Math.sqrt(1-a*a):Math.sqrt(1-(a-=2)*a)+1)/2}function r(a){return 1-s(1-a)}function s(a){return(a=+a)<A?J*a*a:a<C?J*(a-=B)*a+D:a<F?J*(a-=E)*a+G:J*(a-=H)*a+I}function t(a){return((a*=2)<=1?1-s(1-a):s(a-1)+1)/2}var u=3,v=function a(b){function c(a){return Math.pow(a,b)}return b=+b,c.exponent=a,c}(u),w=function a(b){function c(a){return 1-Math.pow(1-a,b)}return b=+b,c.exponent=a,c}(u),x=function a(b){function c(a){return((a*=2)<=1?Math.pow(a,b):2-Math.pow(2-a,b))/2}return b=+b,c.exponent=a,c}(u),y=Math.PI,z=y/2,A=4/11,B=6/11,C=8/11,D=.75,E=9/11,F=10/11,G=.9375,H=21/22,I=63/64,J=1/A/A,K=1.70158,L=function a(b){function c(a){return a*a*((b+1)*a-b)}return b=+b,c.overshoot=a,c}(K),M=function a(b){function c(a){return--a*a*((b+1)*a+b)+1}return b=+b,c.overshoot=a,c}(K),N=function a(b){function c(a){return((a*=2)<1?a*a*((b+1)*a-b):(a-=2)*a*((b+1)*a+b)+2)/2}return b=+b,c.overshoot=a,c}(K),O=2*Math.PI,P=1,Q=.3,R=function a(b,c){function d(a){return b*Math.pow(2,10*--a)*Math.sin((e-a)/c)}var e=Math.asin(1/(b=Math.max(1,b)))*(c/=O);return d.amplitude=function(b){return a(b,c*O)},d.period=function(c){return a(b,c)},d}(P,Q),S=function a(b,c){function d(a){return 1-b*Math.pow(2,-10*(a=+a))*Math.sin((a+e)/c)}var e=Math.asin(1/(b=Math.max(1,b)))*(c/=O);return d.amplitude=function(b){return a(b,c*O)},d.period=function(c){return a(b,c)},d}(P,Q),T=function a(b,c){function d(a){return((a=2*a-1)<0?b*Math.pow(2,10*a)*Math.sin((e-a)/c):2-b*Math.pow(2,-10*a)*Math.sin((e+a)/c))/2}var e=Math.asin(1/(b=Math.max(1,b)))*(c/=O);return d.amplitude=function(b){return a(b,c*O)},d.period=function(c){return a(b,c)},d}(P,Q);a.easeBack=N,a.easeBackIn=L,a.easeBackInOut=N,a.easeBackOut=M,a.easeBounce=s,a.easeBounceIn=r,a.easeBounceInOut=t,a.easeBounceOut=s,a.easeCircle=q,a.easeCircleIn=o,a.easeCircleInOut=q,a.easeCircleOut=p,a.easeCubic=h,a.easeCubicIn=f,a.easeCubicInOut=h,a.easeCubicOut=g,a.easeElastic=S,a.easeElasticIn=R,a.easeElasticInOut=T,a.easeElasticOut=S,a.easeExp=n,a.easeExpIn=l,a.easeExpInOut=n,a.easeExpOut=m,a.easeLinear=b,a.easePoly=x,a.easePolyIn=v,a.easePolyInOut=x,a.easePolyOut=w,a.easeQuad=e,a.easeQuadIn=c,a.easeQuadInOut=e,a.easeQuadOut=d,a.easeSin=k,a.easeSinIn=i,a.easeSinInOut=k,a.easeSinOut=j,Object.defineProperty(a,"__esModule",{value:!0})})},{}],40:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-dsv")):"function"==typeof a&&a.amd?a(["exports","d3-dsv"],f):f(e.d3=e.d3||{},e.d3)}(this,function(a,b){"use strict";function c(a){if(!a.ok)throw new Error(a.status+" "+a.statusText);return a.blob()}function d(a,b){return fetch(a,b).then(c)}function e(a){if(!a.ok)throw new Error(a.status+" "+a.statusText);return a.arrayBuffer()}function f(a,b){return fetch(a,b).then(e)}function g(a){if(!a.ok)throw new Error(a.status+" "+a.statusText);return a.text()}function h(a,b){return fetch(a,b).then(g)}function i(a){return function(b,c,d){return 2===arguments.length&&"function"==typeof c&&(d=c,c=void 0),h(b,c).then(function(b){return a(b,d)})}}function j(a,c,d,e){3===arguments.length&&"function"==typeof d&&(e=d,d=void 0);var f=b.dsvFormat(a);return h(c,d).then(function(a){return f.parse(a,e)})}function k(a,b){return new Promise(function(c,d){var e=new Image;for(var f in b)e[f]=b[f];e.onerror=d,e.onload=function(){c(e)},e.src=a})}function l(a){if(!a.ok)throw new Error(a.status+" "+a.statusText);return a.json()}function m(a,b){return fetch(a,b).then(l)}function n(a){return function(b,c){return h(b,c).then(function(b){return(new DOMParser).parseFromString(b,a)})}}var o=i(b.csvParse),p=i(b.tsvParse),q=n("application/xml"),r=n("text/html"),s=n("image/svg+xml");a.blob=d,a.buffer=f,a.dsv=j,a.csv=o,a.tsv=p,a.image=k,a.json=m,a.text=h,a.xml=q,a.html=r,a.svg=s,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-dsv":38}],41:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-quadtree"),b("d3-collection"),b("d3-dispatch"),b("d3-timer")):"function"==typeof a&&a.amd?a(["exports","d3-quadtree","d3-collection","d3-dispatch","d3-timer"],f):f(e.d3=e.d3||{},e.d3,e.d3,e.d3,e.d3)}(this,function(a,b,c,d,e){"use strict";function f(a,b){function c(){var c,e,f=d.length,g=0,h=0;for(c=0;c<f;++c)e=d[c],g+=e.x,h+=e.y;for(g=g/f-a,h=h/f-b,c=0;c<f;++c)e=d[c],e.x-=g,e.y-=h}var d;return null==a&&(a=0),null==b&&(b=0),c.initialize=function(a){d=a},c.x=function(b){return arguments.length?(a=+b,c):a},c.y=function(a){return arguments.length?(b=+a,c):b},c}function g(a){return function(){return a}}function h(){return 1e-6*(Math.random()-.5)}function i(a){return a.x+a.vx}function j(a){return a.y+a.vy}function k(a){function c(){function a(a,b,c,d,e){var f=a.data,i=a.r,j=p+i;{if(!f)return b>n+j||d<n-j||c>o+j||e<o-j;if(f.index>g.index){var k=n-f.x-f.vx,m=o-f.y-f.vy,r=k*k+m*m;r<j*j&&(0===k&&(k=h(),r+=k*k),0===m&&(m=h(),r+=m*m),r=(j-(r=Math.sqrt(r)))/r*l,g.vx+=(k*=r)*(j=(i*=i)/(q+i)),g.vy+=(m*=r)*j,f.vx-=k*(j=1-j),f.vy-=m*j)}}}for(var c,e,g,n,o,p,q,r=f.length,s=0;s<m;++s)for(e=b.quadtree(f,i,j).visitAfter(d),c=0;c<r;++c)g=f[c],p=k[g.index],q=p*p,n=g.x+g.vx,o=g.y+g.vy,e.visit(a)}function d(a){if(a.data)return a.r=k[a.data.index];for(var b=a.r=0;b<4;++b)a[b]&&a[b].r>a.r&&(a.r=a[b].r)}function e(){if(f){var b,c,d=f.length;for(k=new Array(d),b=0;b<d;++b)c=f[b],k[c.index]=+a(c,b,f)}}var f,k,l=1,m=1;return"function"!=typeof a&&(a=g(null==a?1:+a)),c.initialize=function(a){f=a,e()},c.iterations=function(a){return arguments.length?(m=+a,c):m},c.strength=function(a){return arguments.length?(l=+a,c):l},c.radius=function(b){return arguments.length?(a="function"==typeof b?b:g(+b),e(),c):a},c}function l(a){return a.index}function m(a,b){var c=a.get(b);if(!c)throw new Error("missing: "+b);return c}function n(a){function b(a){return 1/Math.min(o[a.source.index],o[a.target.index])}function d(b){for(var c=0,d=a.length;c<t;++c)for(var e,f,g,i,l,m,n,o=0;o<d;++o)e=a[o],f=e.source,g=e.target,i=g.x+g.vx-f.x-f.vx||h(),l=g.y+g.vy-f.y-f.vy||h(),m=Math.sqrt(i*i+l*l),m=(m-k[o])/m*b*j[o],i*=m,l*=m,g.vx-=i*(n=p[o]),g.vy-=l*n,f.vx+=i*(n=1-n),f.vy+=l*n}function e(){if(n){var b,d,e=n.length,g=a.length,h=c.map(n,q);for(b=0,o=new Array(e);b<g;++b)d=a[b],d.index=b,"object"!=typeof d.source&&(d.source=m(h,d.source)),"object"!=typeof d.target&&(d.target=m(h,d.target)),o[d.source.index]=(o[d.source.index]||0)+1,o[d.target.index]=(o[d.target.index]||0)+1;for(b=0,p=new Array(g);b<g;++b)d=a[b],p[b]=o[d.source.index]/(o[d.source.index]+o[d.target.index]);j=new Array(g),f(),k=new Array(g),i()}}function f(){if(n)for(var b=0,c=a.length;b<c;++b)j[b]=+r(a[b],b,a)}function i(){if(n)for(var b=0,c=a.length;b<c;++b)k[b]=+s(a[b],b,a)}var j,k,n,o,p,q=l,r=b,s=g(30),t=1;return null==a&&(a=[]),d.initialize=function(a){n=a,e()},d.links=function(b){return arguments.length?(a=b,e(),d):a},d.id=function(a){return arguments.length?(q=a,d):q},d.iterations=function(a){return arguments.length?(t=+a,d):t},d.strength=function(a){return arguments.length?(r="function"==typeof a?a:g(+a),f(),d):r},d.distance=function(a){return arguments.length?(s="function"==typeof a?a:g(+a),i(),d):s},d}function o(a){return a.x}function p(a){return a.y}function q(a){function b(){f(),q.call("tick",i),j<k&&(p.stop(),q.call("end",i))}function f(b){var c,d,e=a.length;void 0===b&&(b=1);for(var f=0;f<b;++f)for(j+=(m-j)*l,o.each(function(a){a(j)}),c=0;c<e;++c)d=a[c],null==d.fx?d.x+=d.vx*=n:(d.x=d.fx,d.vx=0),null==d.fy?d.y+=d.vy*=n:(d.y=d.fy,d.vy=0);return i}function g(){for(var b,c=0,d=a.length;c<d;++c){if(b=a[c],b.index=c,null!=b.fx&&(b.x=b.fx),null!=b.fy&&(b.y=b.fy),isNaN(b.x)||isNaN(b.y)){var e=v*Math.sqrt(c),f=c*w;b.x=e*Math.cos(f),b.y=e*Math.sin(f)}(isNaN(b.vx)||isNaN(b.vy))&&(b.vx=b.vy=0)}}function h(b){return b.initialize&&b.initialize(a),b}var i,j=1,k=.001,l=1-Math.pow(k,1/300),m=0,n=.6,o=c.map(),p=e.timer(b),q=d.dispatch("tick","end");return null==a&&(a=[]),g(),i={tick:f,restart:function(){return p.restart(b),i},stop:function(){return p.stop(),i},nodes:function(b){return arguments.length?(a=b,g(),o.each(h),i):a},alpha:function(a){return arguments.length?(j=+a,i):j},alphaMin:function(a){return arguments.length?(k=+a,i):k},alphaDecay:function(a){return arguments.length?(l=+a,i):+l},alphaTarget:function(a){return arguments.length?(m=+a,i):m},velocityDecay:function(a){return arguments.length?(n=1-a,i):1-n},force:function(a,b){return arguments.length>1?(null==b?o.remove(a):o.set(a,h(b)),i):o.get(a)},find:function(b,c,d){var e,f,g,h,i,j=0,k=a.length;for(null==d?d=1/0:d*=d,j=0;j<k;++j)h=a[j],e=b-h.x,f=c-h.y,g=e*e+f*f,g<d&&(i=h,d=g);return i},on:function(a,b){return arguments.length>1?(q.on(a,b),i):q.on(a)}}}function r(){function a(a){var c,g=f.length,h=b.quadtree(f,o,p).visitAfter(d);for(j=a,c=0;c<g;++c)i=f[c],h.visit(e)}function c(){if(f){var a,b,c=f.length;for(k=new Array(c),a=0;a<c;++a)b=f[a],k[b.index]=+l(b,a,f)}}function d(a){var b,c,d,e,f,g=0,h=0;if(a.length){for(d=e=f=0;f<4;++f)(b=a[f])&&(c=Math.abs(b.value))&&(g+=b.value,h+=c,d+=c*b.x,e+=c*b.y);a.x=d/h,a.y=e/h}else{b=a,b.x=b.data.x,b.y=b.data.y;do g+=k[b.data.index];while(b=b.next)}a.value=g}function e(a,b,c,d){if(!a.value)return!0;var e=a.x-i.x,f=a.y-i.y,g=d-b,l=e*e+f*f;if(g*g/q<l)return l<n&&(0===e&&(e=h(),l+=e*e),0===f&&(f=h(),l+=f*f),l<m&&(l=Math.sqrt(m*l)),i.vx+=e*a.value*j/l,i.vy+=f*a.value*j/l),!0;if(!(a.length||l>=n)){(a.data!==i||a.next)&&(0===e&&(e=h(),l+=e*e),0===f&&(f=h(),l+=f*f),l<m&&(l=Math.sqrt(m*l)));do a.data!==i&&(g=k[a.data.index]*j/l,i.vx+=e*g,i.vy+=f*g);while(a=a.next)}}var f,i,j,k,l=g(-30),m=1,n=1/0,q=.81;return a.initialize=function(a){f=a,c()},a.strength=function(b){return arguments.length?(l="function"==typeof b?b:g(+b),c(),a):l},a.distanceMin=function(b){return arguments.length?(m=b*b,a):Math.sqrt(m)},a.distanceMax=function(b){return arguments.length?(n=b*b,a):Math.sqrt(n)},a.theta=function(b){return arguments.length?(q=b*b,a):Math.sqrt(q)},a}function s(a,b,c){function d(a){for(var d=0,e=f.length;d<e;++d){var g=f[d],j=g.x-b||1e-6,k=g.y-c||1e-6,l=Math.sqrt(j*j+k*k),m=(i[d]-l)*h[d]*a/l;g.vx+=j*m,g.vy+=k*m}}function e(){if(f){var b,c=f.length;for(h=new Array(c),i=new Array(c),b=0;b<c;++b)i[b]=+a(f[b],b,f),h[b]=isNaN(i[b])?0:+j(f[b],b,f)}}var f,h,i,j=g(.1);return"function"!=typeof a&&(a=g(+a)),null==b&&(b=0),null==c&&(c=0),d.initialize=function(a){f=a,e()},d.strength=function(a){return arguments.length?(j="function"==typeof a?a:g(+a),e(),d):j},d.radius=function(b){return arguments.length?(a="function"==typeof b?b:g(+b),e(),d):a},d.x=function(a){return arguments.length?(b=+a,d):b},d.y=function(a){return arguments.length?(c=+a,d):c},d}function t(a){function b(a){for(var b,c=0,g=d.length;c<g;++c)b=d[c],b.vx+=(f[c]-b.x)*e[c]*a}function c(){if(d){var b,c=d.length;for(e=new Array(c),f=new Array(c),b=0;b<c;++b)e[b]=isNaN(f[b]=+a(d[b],b,d))?0:+h(d[b],b,d)}}var d,e,f,h=g(.1);return"function"!=typeof a&&(a=g(null==a?0:+a)),b.initialize=function(a){d=a,c()},b.strength=function(a){return arguments.length?(h="function"==typeof a?a:g(+a),c(),b):h},b.x=function(d){return arguments.length?(a="function"==typeof d?d:g(+d),c(),b):a},b}function u(a){function b(a){for(var b,c=0,g=d.length;c<g;++c)b=d[c],b.vy+=(f[c]-b.y)*e[c]*a}function c(){if(d){var b,c=d.length;for(e=new Array(c),f=new Array(c),b=0;b<c;++b)e[b]=isNaN(f[b]=+a(d[b],b,d))?0:+h(d[b],b,d)}}var d,e,f,h=g(.1);return"function"!=typeof a&&(a=g(null==a?0:+a)),b.initialize=function(a){d=a,c()},b.strength=function(a){return arguments.length?(h="function"==typeof a?a:g(+a),c(),b):h},b.y=function(d){return arguments.length?(a="function"==typeof d?d:g(+d),c(),b):a},b}var v=10,w=Math.PI*(3-Math.sqrt(5));a.forceCenter=f,a.forceCollide=k,a.forceLink=n,a.forceManyBody=r,a.forceRadial=s,a.forceSimulation=q,a.forceX=t,a.forceY=u,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-collection":33,"d3-dispatch":36,"d3-quadtree":48,"d3-timer":56}],42:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a,b){if((c=(a=b?a.toExponential(b-1):a.toExponential()).indexOf("e"))<0)return null;var c,d=a.slice(0,c);return[d.length>1?d[0]+d.slice(2):d,+a.slice(c+1)]}function c(a){return a=b(Math.abs(a)),a?a[1]:NaN}function d(a,b){return function(c,d){for(var e=c.length,f=[],g=0,h=a[0],i=0;e>0&&h>0&&(i+h+1>d&&(h=Math.max(1,d-i)),f.push(c.substring(e-=h,e+h)),!((i+=h+1)>d));)h=a[g=(g+1)%a.length];return f.reverse().join(b)}}function e(a){return function(b){return b.replace(/[0-9]/g,function(b){return a[+b]})}}function f(a){if(!(b=q.exec(a)))throw new Error("invalid format: "+a);var b;return new g({fill:b[1],align:b[2],sign:b[3],symbol:b[4],zero:b[5],width:b[6],comma:b[7],precision:b[8]&&b[8].slice(1),trim:b[9],type:b[10]})}function g(a){this.fill=void 0===a.fill?" ":a.fill+"",this.align=void 0===a.align?">":a.align+"",this.sign=void 0===a.sign?"-":a.sign+"",this.symbol=void 0===a.symbol?"":a.symbol+"",this.zero=!!a.zero,this.width=void 0===a.width?void 0:+a.width,this.comma=!!a.comma,this.precision=void 0===a.precision?void 0:+a.precision,this.trim=!!a.trim,this.type=void 0===a.type?"":a.type+""}function h(a){a:for(var b,c=a.length,d=1,e=-1;d<c;++d)switch(a[d]){case".":e=b=d;break;case"0":0===e&&(e=d),b=d;break;default:if(e>0){if(!+a[d])break a;e=0}}return e>0?a.slice(0,e)+a.slice(b+1):a}function i(a,c){var d=b(a,c);if(!d)return a+"";var e=d[0],f=d[1],g=f-(r=3*Math.max(-8,Math.min(8,Math.floor(f/3))))+1,h=e.length;return g===h?e:g>h?e+new Array(g-h+1).join("0"):g>0?e.slice(0,g)+"."+e.slice(g):"0."+new Array(1-g).join("0")+b(a,Math.max(0,c+g-1))[0]}function j(a,c){var d=b(a,c);if(!d)return a+"";var e=d[0],f=d[1];return f<0?"0."+new Array(-f).join("0")+e:e.length>f+1?e.slice(0,f+1)+"."+e.slice(f+1):e+new Array(f-e.length+2).join("0")}function k(a){return a}function l(a){function b(a){function b(a){var b,f,g,j=z,l=A;if("c"===y)l=B(a)+l,a="";else{a=+a;var o=a<0;if(a=isNaN(a)?q:B(Math.abs(a),w),x&&(a=h(a)),o&&0===+a&&(o=!1),j=(o?"("===e?e:p:"-"===e||"("===e?"":e)+j,l=("s"===y?v[8+r/3]:"")+l+(o&&"("===e?")":""),C)for(b=-1,f=a.length;++b<f;)if(g=a.charCodeAt(b),48>g||g>57){l=(46===g?m+a.slice(b+1):a.slice(b))+l,a=a.slice(0,b);break}}u&&!k&&(a=i(a,1/0));var t=j.length+a.length+l.length,D=t<s?new Array(s-t+1).join(c):"";switch(u&&k&&(a=i(D+a,D.length?s-l.length:1/0),D=""),d){case"<":a=j+a+l+D;break;case"=":a=j+D+a+l;break;case"^":a=D.slice(0,t=D.length>>1)+j+a+l+D.slice(t);break;default:a=D+j+a+l}return n(a)}a=f(a);var c=a.fill,d=a.align,e=a.sign,g=a.symbol,k=a.zero,s=a.width,u=a.comma,w=a.precision,x=a.trim,y=a.type;"n"===y?(u=!0,y="g"):t[y]||(void 0===w&&(w=12),x=!0,y="g"),(k||"0"===c&&"="===d)&&(k=!0,c="0",d="=");var z="$"===g?j:"#"===g&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",A="$"===g?l:/[%p]/.test(y)?o:"",B=t[y],C=/[defgprs%]/.test(y);return w=void 0===w?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),b.toString=function(){return a+""},b}function g(a,d){var e=b((a=f(a),a.type="f",a)),g=3*Math.max(-8,Math.min(8,Math.floor(c(d)/3))),h=Math.pow(10,-g),i=v[8+g/3];return function(a){return e(h*a)+i}}var i=void 0===a.grouping||void 0===a.thousands?k:d(u.call(a.grouping,Number),a.thousands+""),j=void 0===a.currency?"":a.currency[0]+"",l=void 0===a.currency?"":a.currency[1]+"",m=void 0===a.decimal?".":a.decimal+"",n=void 0===a.numerals?k:e(u.call(a.numerals,String)),o=void 0===a.percent?"%":a.percent+"",p=void 0===a.minus?"-":a.minus+"",q=void 0===a.nan?"NaN":a.nan+"";return{format:b,formatPrefix:g}}function m(b){return s=l(b),a.format=s.format,a.formatPrefix=s.formatPrefix,s}function n(a){return Math.max(0,-c(Math.abs(a)))}function o(a,b){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(c(b)/3)))-c(Math.abs(a)))}function p(a,b){return a=Math.abs(a),b=Math.abs(b)-a,Math.max(0,c(b)-c(a))+1}var q=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;f.prototype=g.prototype,g.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var r,s,t={"%":function(a,b){return(100*a).toFixed(b)},b:function(a){return Math.round(a).toString(2)},c:function(a){return a+""},d:function(a){return Math.round(a).toString(10)},e:function(a,b){return a.toExponential(b)},f:function(a,b){return a.toFixed(b)},g:function(a,b){return a.toPrecision(b)},o:function(a){return Math.round(a).toString(8)},p:function(a,b){return j(100*a,b)},r:j,s:i,X:function(a){return Math.round(a).toString(16).toUpperCase()},x:function(a){return Math.round(a).toString(16)}},u=Array.prototype.map,v=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];m({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),a.FormatSpecifier=g,a.formatDefaultLocale=m,a.formatLocale=l,a.formatSpecifier=f,a.precisionFixed=n,a.precisionPrefix=o,a.precisionRound=p,Object.defineProperty(a,"__esModule",{value:!0})})},{}],43:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-array")):"function"==typeof a&&a.amd?a(["exports","d3-array"],f):(e=e||self,f(e.d3=e.d3||{},e.d3))}(this,function(a,b){"use strict";function c(){return new d}function d(){this.reset()}function e(a,b,c){var d=a.s=b+c,e=d-b,f=d-e;a.t=b-f+(c-e)}function f(a){return a>1?0:a<-1?Lc:Math.acos(a)}function g(a){return a>1?Mc:a<-1?-Mc:Math.asin(a)}function h(a){return(a=Zc(a/2))*a}function i(){}function j(a,b){a&&cd.hasOwnProperty(a.type)&&cd[a.type](a,b)}function k(a,b,c){var d,e=-1,f=a.length-c;for(b.lineStart();++e<f;)d=a[e],b.point(d[0],d[1],d[2]);b.lineEnd()}function l(a,b){var c=-1,d=a.length;for(b.polygonStart();++c<d;)k(a[c],b,1);b.polygonEnd()}function m(a,b){a&&bd.hasOwnProperty(a.type)?bd[a.type](a,b):j(a,b)}function n(){fd.point=p}function o(){q(dc,ec)}function p(a,b){fd.point=q,dc=a,ec=b,a*=Qc,b*=Qc,fc=a,gc=Uc(b=b/2+Nc),hc=Zc(b)}function q(a,b){a*=Qc,b*=Qc,b=b/2+Nc;var c=a-fc,d=c>=0?1:-1,e=d*c,f=Uc(b),g=Zc(b),h=hc*g,i=gc*f+h*Uc(e),j=h*d*Zc(e);dd.add(Tc(j,i)),fc=a,gc=f,hc=g}function r(a){return ed.reset(),m(a,fd),2*ed}function s(a){return[Tc(a[1],a[0]),g(a[2])]}function t(a){var b=a[0],c=a[1],d=Uc(c);return[d*Uc(b),d*Zc(b),Zc(c)]}function u(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function v(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function w(a,b){a[0]+=b[0],a[1]+=b[1],a[2]+=b[2]}function x(a,b){return[a[0]*b,a[1]*b,a[2]*b]}function y(a){var b=_c(a[0]*a[0]+a[1]*a[1]+a[2]*a[2]);a[0]/=b,a[1]/=b,a[2]/=b}function z(a,b){qc.push(rc=[ic=a,kc=a]),b<jc&&(jc=b),b>lc&&(lc=b)}function A(a,b){var c=t([a*Qc,b*Qc]);if(pc){var d=v(pc,c),e=[d[1],-d[0],0],f=v(e,d);y(f),f=s(f);var g,h=a-mc,i=h>0?1:-1,j=f[0]*Pc*i,k=Rc(h)>180;k^(i*mc<j&&j<i*a)?(g=f[1]*Pc,g>lc&&(lc=g)):(j=(j+360)%360-180,k^(i*mc<j&&j<i*a)?(g=-f[1]*Pc,g<jc&&(jc=g)):(b<jc&&(jc=b),b>lc&&(lc=b))),k?a<mc?G(ic,a)>G(ic,kc)&&(kc=a):G(a,kc)>G(ic,kc)&&(ic=a):kc>=ic?(a<ic&&(ic=a),a>kc&&(kc=a)):a>mc?G(ic,a)>G(ic,kc)&&(kc=a):G(a,kc)>G(ic,kc)&&(ic=a)}else qc.push(rc=[ic=a,kc=a]);b<jc&&(jc=b),b>lc&&(lc=b),pc=c,mc=a}function B(){hd.point=A}function C(){rc[0]=ic,rc[1]=kc,hd.point=z,pc=null}function D(a,b){if(pc){var c=a-mc;gd.add(Rc(c)>180?c+(c>0?360:-360):c)}else nc=a,oc=b;fd.point(a,b),A(a,b)}function E(){fd.lineStart()}function F(){D(nc,oc),fd.lineEnd(),Rc(gd)>Jc&&(ic=-(kc=180)),rc[0]=ic,rc[1]=kc,pc=null}function G(a,b){return(b-=a)<0?b+360:b}function H(a,b){return a[0]-b[0]}function I(a,b){return a[0]<=a[1]?a[0]<=b&&b<=a[1]:b<a[0]||a[1]<b}function J(a){var b,c,d,e,f,g,h;if(lc=kc=-(ic=jc=1/0),qc=[],m(a,hd),c=qc.length){for(qc.sort(H),b=1,d=qc[0],f=[d];b<c;++b)e=qc[b],I(d,e[0])||I(d,e[1])?(G(d[0],e[1])>G(d[0],d[1])&&(d[1]=e[1]),G(e[0],d[1])>G(d[0],d[1])&&(d[0]=e[0])):f.push(d=e);for(g=-(1/0),c=f.length-1,b=0,d=f[c];b<=c;d=e,++b)e=f[b],(h=G(d[1],e[0]))>g&&(g=h,ic=e[0],kc=d[1])}return qc=rc=null,ic===1/0||jc===1/0?[[NaN,NaN],[NaN,NaN]]:[[ic,jc],[kc,lc]]}function K(a,b){a*=Qc,b*=Qc;var c=Uc(b);L(c*Uc(a),c*Zc(a),Zc(b))}function L(a,b,c){++sc,uc+=(a-uc)/sc,vc+=(b-vc)/sc,wc+=(c-wc)/sc}function M(){id.point=N}function N(a,b){a*=Qc,b*=Qc;var c=Uc(b);Fc=c*Uc(a),Gc=c*Zc(a),Hc=Zc(b),id.point=O,L(Fc,Gc,Hc)}function O(a,b){a*=Qc,b*=Qc;var c=Uc(b),d=c*Uc(a),e=c*Zc(a),f=Zc(b),g=Tc(_c((g=Gc*f-Hc*e)*g+(g=Hc*d-Fc*f)*g+(g=Fc*e-Gc*d)*g),Fc*d+Gc*e+Hc*f);tc+=g,xc+=g*(Fc+(Fc=d)),yc+=g*(Gc+(Gc=e)),zc+=g*(Hc+(Hc=f)),L(Fc,Gc,Hc)}function P(){id.point=K}function Q(){id.point=S}function R(){T(Dc,Ec),id.point=K}function S(a,b){Dc=a,Ec=b,a*=Qc,b*=Qc,id.point=T;var c=Uc(b);Fc=c*Uc(a),Gc=c*Zc(a),Hc=Zc(b),L(Fc,Gc,Hc)}function T(a,b){a*=Qc,b*=Qc;var c=Uc(b),d=c*Uc(a),e=c*Zc(a),f=Zc(b),h=Gc*f-Hc*e,i=Hc*d-Fc*f,j=Fc*e-Gc*d,k=_c(h*h+i*i+j*j),l=g(k),m=k&&-l/k;Ac+=m*h,Bc+=m*i,Cc+=m*j,tc+=l,xc+=l*(Fc+(Fc=d)),yc+=l*(Gc+(Gc=e)),zc+=l*(Hc+(Hc=f)),L(Fc,Gc,Hc)}function U(a){sc=tc=uc=vc=wc=xc=yc=zc=Ac=Bc=Cc=0,m(a,id);var b=Ac,c=Bc,d=Cc,e=b*b+c*c+d*d;return e<Kc&&(b=xc,c=yc,d=zc,tc<Jc&&(b=uc,c=vc,d=wc),e=b*b+c*c+d*d,e<Kc)?[NaN,NaN]:[Tc(c,b)*Pc,g(d/_c(e))*Pc]}function V(a){return function(){return a}}function W(a,b){function c(c,d){return c=a(c,d),b(c[0],c[1])}return a.invert&&b.invert&&(c.invert=function(c,d){return c=b.invert(c,d),c&&a.invert(c[0],c[1])}),c}function X(a,b){return[Rc(a)>Lc?a+Math.round(-a/Oc)*Oc:a,b]}function Y(a,b,c){return(a%=Oc)?b||c?W($(a),_(b,c)):$(a):b||c?_(b,c):X}function Z(a){return function(b,c){return b+=a,[b>Lc?b-Oc:b<-Lc?b+Oc:b,c]}}function $(a){var b=Z(a);return b.invert=Z(-a),b}function _(a,b){function c(a,b){var c=Uc(b),i=Uc(a)*c,j=Zc(a)*c,k=Zc(b),l=k*d+i*e;return[Tc(j*f-l*h,i*d-k*e),g(l*f+j*h)]}var d=Uc(a),e=Zc(a),f=Uc(b),h=Zc(b);return c.invert=function(a,b){var c=Uc(b),i=Uc(a)*c,j=Zc(a)*c,k=Zc(b),l=k*f-j*h;return[Tc(j*f+k*h,i*d+l*e),g(l*d-i*e)]},c}function aa(a){function b(b){return b=a(b[0]*Qc,b[1]*Qc),b[0]*=Pc,b[1]*=Pc,b}return a=Y(a[0]*Qc,a[1]*Qc,a.length>2?a[2]*Qc:0),b.invert=function(b){return b=a.invert(b[0]*Qc,b[1]*Qc),b[0]*=Pc,b[1]*=Pc,b},b}function ba(a,b,c,d,e,f){if(c){var g=Uc(b),h=Zc(b),i=d*c;null==e?(e=b+d*Oc,f=b-i/2):(e=ca(g,e),f=ca(g,f),(d>0?e<f:e>f)&&(e+=d*Oc));for(var j,k=e;d>0?k>f:k<f;k-=i)j=s([g,-h*Uc(k),-h*Zc(k)]),a.point(j[0],j[1])}}function ca(a,b){b=t(b),b[0]-=a,y(b);var c=f(-b[1]);return((-b[2]<0?-c:c)+Oc-Jc)%Oc}function da(){function a(a,b){c.push(a=d(a,b)),a[0]*=Pc,a[1]*=Pc}function b(){var a=e.apply(this,arguments),b=f.apply(this,arguments)*Qc,i=g.apply(this,arguments)*Qc;return c=[],d=Y(-a[0]*Qc,-a[1]*Qc,0).invert,ba(h,b,i,1),a={type:"Polygon",coordinates:[c]},c=d=null,a}var c,d,e=V([0,0]),f=V(90),g=V(6),h={point:a};return b.center=function(a){return arguments.length?(e="function"==typeof a?a:V([+a[0],+a[1]]),b):e},b.radius=function(a){return arguments.length?(f="function"==typeof a?a:V(+a),b):f},b.precision=function(a){return arguments.length?(g="function"==typeof a?a:V(+a),b):g},b}function ea(){var a,b=[];return{point:function(b,c){a.push([b,c])},lineStart:function(){b.push(a=[])},lineEnd:i,rejoin:function(){b.length>1&&b.push(b.pop().concat(b.shift()))},result:function(){var c=b;return b=[],a=null,c}}}function fa(a,b){return Rc(a[0]-b[0])<Jc&&Rc(a[1]-b[1])<Jc}function ga(a,b,c,d){this.x=a,this.z=b,this.o=c,this.e=d,this.v=!1,this.n=this.p=null}function ha(a,b,c,d,e){var f,g,h=[],i=[];if(a.forEach(function(a){if(!((b=a.length-1)<=0)){var b,c,d=a[0],g=a[b];if(fa(d,g)){for(e.lineStart(),f=0;f<b;++f)e.point((d=a[f])[0],d[1]);return void e.lineEnd()}h.push(c=new ga(d,a,null,!0)),i.push(c.o=new ga(d,null,c,!1)),h.push(c=new ga(g,a,null,!1)),i.push(c.o=new ga(g,null,c,!0))}}),h.length){for(i.sort(b),ia(h),ia(i),f=0,g=i.length;f<g;++f)i[f].e=c=!c;for(var j,k,l=h[0];;){for(var m=l,n=!0;m.v;)if((m=m.n)===l)return;j=m.z,e.lineStart();do{if(m.v=m.o.v=!0,m.e){if(n)for(f=0,g=j.length;f<g;++f)e.point((k=j[f])[0],k[1]);else d(m.x,m.n.x,1,e);m=m.n}else{if(n)for(j=m.p.z,f=j.length-1;f>=0;--f)e.point((k=j[f])[0],k[1]);else d(m.x,m.p.x,-1,e);m=m.p}m=m.o,j=m.z,n=!n}while(!m.v);e.lineEnd()}}}function ia(a){if(b=a.length){for(var b,c,d=0,e=a[0];++d<b;)e.n=c=a[d],c.p=e,e=c;e.n=c=a[0],c.p=e}}function ja(a){return Rc(a[0])<=Lc?a[0]:$c(a[0])*((Rc(a[0])+Lc)%Oc-Lc)}function ka(a,b){var c=ja(b),d=b[1],e=Zc(d),f=[Zc(c),-Uc(c),0],h=0,i=0;ud.reset(),1===e?d=Mc+Jc:e===-1&&(d=-Mc-Jc);for(var j=0,k=a.length;j<k;++j)if(m=(l=a[j]).length)for(var l,m,n=l[m-1],o=ja(n),p=n[1]/2+Nc,q=Zc(p),r=Uc(p),s=0;s<m;++s,o=w,q=z,r=A,n=u){var u=l[s],w=ja(u),x=u[1]/2+Nc,z=Zc(x),A=Uc(x),B=w-o,C=B>=0?1:-1,D=C*B,E=D>Lc,F=q*z;if(ud.add(Tc(F*C*Zc(D),r*A+F*Uc(D))),h+=E?B+C*Oc:B,E^o>=c^w>=c){var G=v(t(n),t(u));y(G);var H=v(f,G);y(H);var I=(E^B>=0?-1:1)*g(H[2]);(d>I||d===I&&(G[0]||G[1]))&&(i+=E^B>=0?1:-1)}}return(h<-Jc||h<Jc&&ud<-Jc)^1&i}function la(a,c,d,e){return function(f){function g(b,c){a(b,c)&&f.point(b,c)}function h(a,b){q.point(a,b)}function i(){u.point=h,q.lineStart()}function j(){u.point=g,q.lineEnd()}function k(a,b){p.push([a,b]),s.point(a,b)}function l(){s.lineStart(),p=[]}function m(){k(p[0][0],p[0][1]),s.lineEnd();var a,b,c,d,e=s.clean(),g=r.result(),h=g.length;if(p.pop(),n.push(p),p=null,h)if(1&e){if(c=g[0],(b=c.length-1)>0){for(t||(f.polygonStart(),t=!0),f.lineStart(),a=0;a<b;++a)f.point((d=c[a])[0],d[1]);f.lineEnd()}}else h>1&&2&e&&g.push(g.pop().concat(g.shift())),o.push(g.filter(ma))}var n,o,p,q=c(f),r=ea(),s=c(r),t=!1,u={point:g,lineStart:i,lineEnd:j,polygonStart:function(){u.point=k,u.lineStart=l,u.lineEnd=m,o=[],n=[]},polygonEnd:function(){u.point=g,u.lineStart=i,u.lineEnd=j,o=b.merge(o);var a=ka(n,e);o.length?(t||(f.polygonStart(),t=!0),ha(o,na,a,d,f)):a&&(t||(f.polygonStart(),t=!0),f.lineStart(),d(null,null,1,f),f.lineEnd()),t&&(f.polygonEnd(),t=!1),o=n=null},sphere:function(){f.polygonStart(),f.lineStart(),d(null,null,1,f),f.lineEnd(),f.polygonEnd()}};return u}}function ma(a){return a.length>1}function na(a,b){return((a=a.x)[0]<0?a[1]-Mc-Jc:Mc-a[1])-((b=b.x)[0]<0?b[1]-Mc-Jc:Mc-b[1])}function oa(a){var b,c=NaN,d=NaN,e=NaN;return{lineStart:function(){a.lineStart(),b=1},point:function(f,g){var h=f>0?Lc:-Lc,i=Rc(f-c);Rc(i-Lc)<Jc?(a.point(c,d=(d+g)/2>0?Mc:-Mc),a.point(e,d),a.lineEnd(),a.lineStart(),a.point(h,d),a.point(f,d),b=0):e!==h&&i>=Lc&&(Rc(c-e)<Jc&&(c-=e*Jc),Rc(f-h)<Jc&&(f-=h*Jc),d=pa(c,d,f,g),a.point(e,d),a.lineEnd(),a.lineStart(),a.point(h,d),b=0),a.point(c=f,d=g),e=h},lineEnd:function(){a.lineEnd(),c=d=NaN},clean:function(){return 2-b}}}function pa(a,b,c,d){var e,f,g=Zc(a-c);return Rc(g)>Jc?Sc((Zc(b)*(f=Uc(d))*Zc(c)-Zc(d)*(e=Uc(b))*Zc(a))/(e*f*g)):(b+d)/2}function qa(a,b,c,d){var e;if(null==a)e=c*Mc,d.point(-Lc,e),d.point(0,e),d.point(Lc,e),d.point(Lc,0),d.point(Lc,-e),d.point(0,-e),d.point(-Lc,-e),d.point(-Lc,0),d.point(-Lc,e);else if(Rc(a[0]-b[0])>Jc){var f=a[0]<b[0]?Lc:-Lc;e=c*f/2,d.point(-f,e),d.point(0,e),d.point(f,e)}else d.point(b[0],b[1])}function ra(a){function b(b,c,d,e){ba(e,a,h,d,b,c)}function c(a,b){return Uc(a)*Uc(b)>g}function d(a){var b,d,g,h,k;return{lineStart:function(){h=g=!1,k=1},point:function(l,m){var n,o=[l,m],p=c(l,m),q=i?p?0:f(l,m):p?f(l+(l<0?Lc:-Lc),m):0;if(!b&&(h=g=p)&&a.lineStart(),p!==g&&(n=e(b,o),(!n||fa(b,n)||fa(o,n))&&(o[0]+=Jc,o[1]+=Jc,p=c(o[0],o[1]))),p!==g)k=0,p?(a.lineStart(),n=e(o,b),a.point(n[0],n[1])):(n=e(b,o),a.point(n[0],n[1]),a.lineEnd()),b=n;else if(j&&b&&i^p){var r;q&d||!(r=e(o,b,!0))||(k=0,i?(a.lineStart(),a.point(r[0][0],r[0][1]),a.point(r[1][0],r[1][1]),a.lineEnd()):(a.point(r[1][0],r[1][1]),a.lineEnd(),a.lineStart(),a.point(r[0][0],r[0][1])))}!p||b&&fa(b,o)||a.point(o[0],o[1]),b=o,g=p,d=q},lineEnd:function(){g&&a.lineEnd(),b=null},clean:function(){return k|(h&&g)<<1}}}function e(a,b,c){var d=t(a),e=t(b),f=[1,0,0],h=v(d,e),i=u(h,h),j=h[0],k=i-j*j;if(!k)return!c&&a;var l=g*i/k,m=-g*j/k,n=v(f,h),o=x(f,l),p=x(h,m);w(o,p);var q=n,r=u(o,q),y=u(q,q),z=r*r-y*(u(o,o)-1);if(!(z<0)){var A=_c(z),B=x(q,(-r-A)/y);if(w(B,o),B=s(B),!c)return B;var C,D=a[0],E=b[0],F=a[1],G=b[1];E<D&&(C=D,D=E,E=C);var H=E-D,I=Rc(H-Lc)<Jc,J=I||H<Jc;if(!I&&G<F&&(C=F,F=G,G=C),J?I?F+G>0^B[1]<(Rc(B[0]-D)<Jc?F:G):F<=B[1]&&B[1]<=G:H>Lc^(D<=B[0]&&B[0]<=E)){var K=x(q,(-r+A)/y);return w(K,o),[B,s(K)]}}}function f(b,c){var d=i?a:Lc-a,e=0;return b<-d?e|=1:b>d&&(e|=2),c<-d?e|=4:c>d&&(e|=8),e}var g=Uc(a),h=6*Qc,i=g>0,j=Rc(g)>Jc;return la(c,d,b,i?[0,-a]:[-Lc,a-Lc])}function sa(a,b,c,d,e,f){var g,h=a[0],i=a[1],j=b[0],k=b[1],l=0,m=1,n=j-h,o=k-i;if(g=c-h,n||!(g>0)){if(g/=n,n<0){if(g<l)return;g<m&&(m=g)}else if(n>0){if(g>m)return;g>l&&(l=g)}if(g=e-h,n||!(g<0)){if(g/=n,n<0){if(g>m)return;g>l&&(l=g)}else if(n>0){if(g<l)return;g<m&&(m=g)}if(g=d-i,o||!(g>0)){if(g/=o,o<0){if(g<l)return;g<m&&(m=g)}else if(o>0){if(g>m)return;g>l&&(l=g)}if(g=f-i,o||!(g<0)){if(g/=o,o<0){if(g>m)return;g>l&&(l=g)}else if(o>0){if(g<l)return;g<m&&(m=g)}return l>0&&(a[0]=h+l*n,a[1]=i+l*o),m<1&&(b[0]=h+m*n,b[1]=i+m*o),!0}}}}}function ta(a,c,d,e){function f(b,f){return a<=b&&b<=d&&c<=f&&f<=e}function g(b,f,g,i){var k=0,l=0;if(null==b||(k=h(b,g))!==(l=h(f,g))||j(b,f)<0^g>0){do i.point(0===k||3===k?a:d,k>1?e:c);while((k=(k+g+4)%4)!==l)}else i.point(f[0],f[1])}function h(b,e){return Rc(b[0]-a)<Jc?e>0?0:3:Rc(b[0]-d)<Jc?e>0?2:1:Rc(b[1]-c)<Jc?e>0?1:0:e>0?3:2}function i(a,b){return j(a.x,b.x)}function j(a,b){var c=h(a,1),d=h(b,1);return c!==d?c-d:0===c?b[1]-a[1]:1===c?a[0]-b[0]:2===c?a[1]-b[1]:b[0]-a[0]}return function(h){function j(a,b){f(a,b)&&B.point(a,b)}function k(){for(var b=0,c=0,d=r.length;c<d;++c)for(var f,g,h=r[c],i=1,j=h.length,k=h[0],l=k[0],m=k[1];i<j;++i)f=l,g=m,k=h[i],l=k[0],m=k[1],g<=e?m>e&&(l-f)*(e-g)>(m-g)*(a-f)&&++b:m<=e&&(l-f)*(e-g)<(m-g)*(a-f)&&--b;return b}function l(){B=C,q=[],r=[],A=!0}function m(){var a=k(),c=A&&a,d=(q=b.merge(q)).length;(c||d)&&(h.polygonStart(),c&&(h.lineStart(),g(null,null,1,h),h.lineEnd()),d&&ha(q,i,a,g,h),h.polygonEnd()),B=h,q=r=s=null}function n(){D.point=p,r&&r.push(s=[]),z=!0,y=!1,w=x=NaN}function o(){q&&(p(t,u),v&&y&&C.rejoin(),q.push(C.result())),D.point=j,y&&B.lineEnd()}function p(b,g){var h=f(b,g);if(r&&s.push([b,g]),z)t=b,u=g,v=h,z=!1,h&&(B.lineStart(),B.point(b,g));else if(h&&y)B.point(b,g);else{var i=[w=Math.max(xd,Math.min(wd,w)),x=Math.max(xd,Math.min(wd,x))],j=[b=Math.max(xd,Math.min(wd,b)),g=Math.max(xd,Math.min(wd,g))];
- sa(i,j,a,c,d,e)?(y||(B.lineStart(),B.point(i[0],i[1])),B.point(j[0],j[1]),h||B.lineEnd(),A=!1):h&&(B.lineStart(),B.point(b,g),A=!1)}w=b,x=g,y=h}var q,r,s,t,u,v,w,x,y,z,A,B=h,C=ea(),D={point:j,lineStart:n,lineEnd:o,polygonStart:l,polygonEnd:m};return D}}function ua(){var a,b,c,d=0,e=0,f=960,g=500;return c={stream:function(c){return a&&b===c?a:a=ta(d,e,f,g)(b=c)},extent:function(h){return arguments.length?(d=+h[0][0],e=+h[0][1],f=+h[1][0],g=+h[1][1],a=b=null,c):[[d,e],[f,g]]}}}function va(){zd.point=xa,zd.lineEnd=wa}function wa(){zd.point=zd.lineEnd=i}function xa(a,b){a*=Qc,b*=Qc,jd=a,kd=Zc(b),ld=Uc(b),zd.point=ya}function ya(a,b){a*=Qc,b*=Qc;var c=Zc(b),d=Uc(b),e=Rc(a-jd),f=Uc(e),g=Zc(e),h=d*g,i=ld*c-kd*d*f,j=kd*c+ld*d*f;yd.add(Tc(_c(h*h+i*i),j)),jd=a,kd=c,ld=d}function za(a){return yd.reset(),m(a,zd),+yd}function Aa(a,b){return Ad[0]=a,Ad[1]=b,za(Bd)}function Ba(a,b){return!(!a||!Dd.hasOwnProperty(a.type))&&Dd[a.type](a,b)}function Ca(a,b){return 0===Aa(a,b)}function Da(a,b){for(var c,d,e,f=0,g=a.length;f<g;f++){if(d=Aa(a[f],b),0===d)return!0;if(f>0&&(e=Aa(a[f],a[f-1]),e>0&&c<=e&&d<=e&&(c+d-e)*(1-Math.pow((c-d)/e,2))<Kc*e))return!0;c=d}return!1}function Ea(a,b){return!!ka(a.map(Fa),Ga(b))}function Fa(a){return a=a.map(Ga),a.pop(),a}function Ga(a){return[a[0]*Qc,a[1]*Qc]}function Ha(a,b){return(a&&Cd.hasOwnProperty(a.type)?Cd[a.type]:Ba)(a,b)}function Ia(a,c,d){var e=b.range(a,c-Jc,d).concat(c);return function(a){return e.map(function(b){return[a,b]})}}function Ja(a,c,d){var e=b.range(a,c-Jc,d).concat(c);return function(a){return e.map(function(b){return[b,a]})}}function Ka(){function a(){return{type:"MultiLineString",coordinates:c()}}function c(){return b.range(Vc(g/r)*r,f,r).map(n).concat(b.range(Vc(k/s)*s,j,s).map(o)).concat(b.range(Vc(e/p)*p,d,p).filter(function(a){return Rc(a%r)>Jc}).map(l)).concat(b.range(Vc(i/q)*q,h,q).filter(function(a){return Rc(a%s)>Jc}).map(m))}var d,e,f,g,h,i,j,k,l,m,n,o,p=10,q=p,r=90,s=360,t=2.5;return a.lines=function(){return c().map(function(a){return{type:"LineString",coordinates:a}})},a.outline=function(){return{type:"Polygon",coordinates:[n(g).concat(o(j).slice(1),n(f).reverse().slice(1),o(k).reverse().slice(1))]}},a.extent=function(b){return arguments.length?a.extentMajor(b).extentMinor(b):a.extentMinor()},a.extentMajor=function(b){return arguments.length?(g=+b[0][0],f=+b[1][0],k=+b[0][1],j=+b[1][1],g>f&&(b=g,g=f,f=b),k>j&&(b=k,k=j,j=b),a.precision(t)):[[g,k],[f,j]]},a.extentMinor=function(b){return arguments.length?(e=+b[0][0],d=+b[1][0],i=+b[0][1],h=+b[1][1],e>d&&(b=e,e=d,d=b),i>h&&(b=i,i=h,h=b),a.precision(t)):[[e,i],[d,h]]},a.step=function(b){return arguments.length?a.stepMajor(b).stepMinor(b):a.stepMinor()},a.stepMajor=function(b){return arguments.length?(r=+b[0],s=+b[1],a):[r,s]},a.stepMinor=function(b){return arguments.length?(p=+b[0],q=+b[1],a):[p,q]},a.precision=function(b){return arguments.length?(t=+b,l=Ia(i,h,90),m=Ja(e,d,t),n=Ia(k,j,90),o=Ja(g,f,t),a):t},a.extentMajor([[-180,-90+Jc],[180,90-Jc]]).extentMinor([[-180,-80-Jc],[180,80+Jc]])}function La(){return Ka()()}function Ma(a,b){var c=a[0]*Qc,d=a[1]*Qc,e=b[0]*Qc,f=b[1]*Qc,i=Uc(d),j=Zc(d),k=Uc(f),l=Zc(f),m=i*Uc(c),n=i*Zc(c),o=k*Uc(e),p=k*Zc(e),q=2*g(_c(h(f-d)+i*k*h(e-c))),r=Zc(q),s=q?function(a){var b=Zc(a*=q)/r,c=Zc(q-a)/r,d=c*m+b*o,e=c*n+b*p,f=c*j+b*l;return[Tc(e,d)*Pc,Tc(f,_c(d*d+e*e))*Pc]}:function(){return[c*Pc,d*Pc]};return s.distance=q,s}function Na(a){return a}function Oa(){Gd.point=Pa}function Pa(a,b){Gd.point=Qa,md=od=a,nd=pd=b}function Qa(a,b){Fd.add(pd*a-od*b),od=a,pd=b}function Ra(){Qa(md,nd)}function Sa(a,b){a<Hd&&(Hd=a),a>Jd&&(Jd=a),b<Id&&(Id=b),b>Kd&&(Kd=b)}function Ta(a,b){Md+=a,Nd+=b,++Od}function Ua(){Vd.point=Va}function Va(a,b){Vd.point=Wa,Ta(sd=a,td=b)}function Wa(a,b){var c=a-sd,d=b-td,e=_c(c*c+d*d);Pd+=e*(sd+a)/2,Qd+=e*(td+b)/2,Rd+=e,Ta(sd=a,td=b)}function Xa(){Vd.point=Ta}function Ya(){Vd.point=$a}function Za(){_a(qd,rd)}function $a(a,b){Vd.point=_a,Ta(qd=sd=a,rd=td=b)}function _a(a,b){var c=a-sd,d=b-td,e=_c(c*c+d*d);Pd+=e*(sd+a)/2,Qd+=e*(td+b)/2,Rd+=e,e=td*a-sd*b,Sd+=e*(sd+a),Td+=e*(td+b),Ud+=3*e,Ta(sd=a,td=b)}function ab(a){this._context=a}function bb(a,b){ae.point=cb,Xd=Zd=a,Yd=$d=b}function cb(a,b){Zd-=a,$d-=b,_d.add(_c(Zd*Zd+$d*$d)),Zd=a,$d=b}function db(){this._string=[]}function eb(a){return"m0,"+a+"a"+a+","+a+" 0 1,1 0,"+-2*a+"a"+a+","+a+" 0 1,1 0,"+2*a+"z"}function fb(a,b){function c(a){return a&&("function"==typeof f&&e.pointRadius(+f.apply(this,arguments)),m(a,d(e))),e.result()}var d,e,f=4.5;return c.area=function(a){return m(a,d(Gd)),Gd.result()},c.measure=function(a){return m(a,d(ae)),ae.result()},c.bounds=function(a){return m(a,d(Ld)),Ld.result()},c.centroid=function(a){return m(a,d(Vd)),Vd.result()},c.projection=function(b){return arguments.length?(d=null==b?(a=null,Na):(a=b).stream,c):a},c.context=function(a){return arguments.length?(e=null==a?(b=null,new db):new ab(b=a),"function"!=typeof f&&e.pointRadius(f),c):b},c.pointRadius=function(a){return arguments.length?(f="function"==typeof a?a:(e.pointRadius(+a),+a),c):f},c.projection(a).context(b)}function gb(a){return{stream:hb(a)}}function hb(a){return function(b){var c=new ib;for(var d in a)c[d]=a[d];return c.stream=b,c}}function ib(){}function jb(a,b,c){var d=a.clipExtent&&a.clipExtent();return a.scale(150).translate([0,0]),null!=d&&a.clipExtent(null),m(c,a.stream(Ld)),b(Ld.result()),null!=d&&a.clipExtent(d),a}function kb(a,b,c){return jb(a,function(c){var d=b[1][0]-b[0][0],e=b[1][1]-b[0][1],f=Math.min(d/(c[1][0]-c[0][0]),e/(c[1][1]-c[0][1])),g=+b[0][0]+(d-f*(c[1][0]+c[0][0]))/2,h=+b[0][1]+(e-f*(c[1][1]+c[0][1]))/2;a.scale(150*f).translate([g,h])},c)}function lb(a,b,c){return kb(a,[[0,0],b],c)}function mb(a,b,c){return jb(a,function(c){var d=+b,e=d/(c[1][0]-c[0][0]),f=(d-e*(c[1][0]+c[0][0]))/2,g=-e*c[0][1];a.scale(150*e).translate([f,g])},c)}function nb(a,b,c){return jb(a,function(c){var d=+b,e=d/(c[1][1]-c[0][1]),f=-e*c[0][0],g=(d-e*(c[1][1]+c[0][1]))/2;a.scale(150*e).translate([f,g])},c)}function ob(a,b){return+b?qb(a,b):pb(a)}function pb(a){return hb({point:function(b,c){b=a(b,c),this.stream.point(b[0],b[1])}})}function qb(a,b){function c(d,e,f,h,i,j,k,l,m,n,o,p,q,r){var s=k-d,t=l-e,u=s*s+t*t;if(u>4*b&&q--){var v=h+n,w=i+o,x=j+p,y=_c(v*v+w*w+x*x),z=g(x/=y),A=Rc(Rc(x)-1)<Jc||Rc(f-m)<Jc?(f+m)/2:Tc(w,v),B=a(A,z),C=B[0],D=B[1],E=C-d,F=D-e,G=t*E-s*F;(G*G/u>b||Rc((s*E+t*F)/u-.5)>.3||h*n+i*o+j*p<ce)&&(c(d,e,f,h,i,j,C,D,A,v/=y,w/=y,x,q,r),r.point(C,D),c(C,D,A,v,w,x,k,l,m,n,o,p,q,r))}}return function(b){function d(c,d){c=a(c,d),b.point(c[0],c[1])}function e(){r=NaN,x.point=f,b.lineStart()}function f(d,e){var f=t([d,e]),g=a(d,e);c(r,s,q,u,v,w,r=g[0],s=g[1],q=d,u=f[0],v=f[1],w=f[2],be,b),b.point(r,s)}function g(){x.point=d,b.lineEnd()}function h(){e(),x.point=i,x.lineEnd=j}function i(a,b){f(k=a,b),l=r,m=s,n=u,o=v,p=w,x.point=f}function j(){c(r,s,q,u,v,w,l,m,k,n,o,p,be,b),x.lineEnd=g,g()}var k,l,m,n,o,p,q,r,s,u,v,w,x={point:d,lineStart:e,lineEnd:g,polygonStart:function(){b.polygonStart(),x.lineStart=h},polygonEnd:function(){b.polygonEnd(),x.lineStart=e}};return x}}function rb(a){return hb({point:function(b,c){var d=a(b,c);return this.stream.point(d[0],d[1])}})}function sb(a,b,c){function d(d,e){return[b+a*d,c-a*e]}return d.invert=function(d,e){return[(d-b)/a,(c-e)/a]},d}function tb(a,b,c,d){function e(a,d){return[h*a-i*d+b,c-i*a-h*d]}var f=Uc(d),g=Zc(d),h=f*a,i=g*a,j=f/a,k=g/a,l=(g*c-f*b)/a,m=(g*b+f*c)/a;return e.invert=function(a,b){return[j*a-k*b+l,m-k*a-j*b]},e}function ub(a){return vb(function(){return a})()}function vb(a){function b(a){return m(a[0]*Qc,a[1]*Qc)}function c(a){return a=m.invert(a[0],a[1]),a&&[a[0]*Pc,a[1]*Pc]}function d(){var a=tb(p,0,0,x).apply(null,f(s,t)),b=(x?tb:sb)(p,q-a[0],r-a[1],x);return g=Y(u,v,w),l=W(f,b),m=W(g,l),k=ob(l,C),e()}function e(){return n=o=null,b}var f,g,h,i,j,k,l,m,n,o,p=150,q=480,r=250,s=0,t=0,u=0,v=0,w=0,x=0,y=null,z=vd,A=null,B=Na,C=.5;return b.stream=function(a){return n&&o===a?n:n=de(rb(g)(z(k(B(o=a)))))},b.preclip=function(a){return arguments.length?(z=a,y=void 0,e()):z},b.postclip=function(a){return arguments.length?(B=a,A=h=i=j=null,e()):B},b.clipAngle=function(a){return arguments.length?(z=+a?ra(y=a*Qc):(y=null,vd),e()):y*Pc},b.clipExtent=function(a){return arguments.length?(B=null==a?(A=h=i=j=null,Na):ta(A=+a[0][0],h=+a[0][1],i=+a[1][0],j=+a[1][1]),e()):null==A?null:[[A,h],[i,j]]},b.scale=function(a){return arguments.length?(p=+a,d()):p},b.translate=function(a){return arguments.length?(q=+a[0],r=+a[1],d()):[q,r]},b.center=function(a){return arguments.length?(s=a[0]%360*Qc,t=a[1]%360*Qc,d()):[s*Pc,t*Pc]},b.rotate=function(a){return arguments.length?(u=a[0]%360*Qc,v=a[1]%360*Qc,w=a.length>2?a[2]%360*Qc:0,d()):[u*Pc,v*Pc,w*Pc]},b.angle=function(a){return arguments.length?(x=a%360*Qc,d()):x*Pc},b.precision=function(a){return arguments.length?(k=ob(l,C=a*a),e()):_c(C)},b.fitExtent=function(a,c){return kb(b,a,c)},b.fitSize=function(a,c){return lb(b,a,c)},b.fitWidth=function(a,c){return mb(b,a,c)},b.fitHeight=function(a,c){return nb(b,a,c)},function(){return f=a.apply(this,arguments),b.invert=f.invert&&c,d()}}function wb(a){var b=0,c=Lc/3,d=vb(a),e=d(b,c);return e.parallels=function(a){return arguments.length?d(b=a[0]*Qc,c=a[1]*Qc):[b*Pc,c*Pc]},e}function xb(a){function b(a,b){return[a*c,Zc(b)/c]}var c=Uc(a);return b.invert=function(a,b){return[a/c,g(b*c)]},b}function yb(a,b){function c(a,b){var c=_c(f-2*e*Zc(b))/e;return[c*Zc(a*=e),h-c*Uc(a)]}var d=Zc(a),e=(d+Zc(b))/2;if(Rc(e)<Jc)return xb(a);var f=1+d*(2*e-d),h=_c(f)/e;return c.invert=function(a,b){var c=h-b;return[Tc(a,Rc(c))/e*$c(c),g((f-(a*a+c*c)*e*e)/(2*e))]},c}function zb(){return wb(yb).scale(155.424).center([0,33.6442])}function Ab(){return zb().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Bb(a){var b=a.length;return{point:function(c,d){for(var e=-1;++e<b;)a[e].point(c,d)},sphere:function(){for(var c=-1;++c<b;)a[c].sphere()},lineStart:function(){for(var c=-1;++c<b;)a[c].lineStart()},lineEnd:function(){for(var c=-1;++c<b;)a[c].lineEnd()},polygonStart:function(){for(var c=-1;++c<b;)a[c].polygonStart()},polygonEnd:function(){for(var c=-1;++c<b;)a[c].polygonEnd()}}}function Cb(){function a(a){var b=a[0],c=a[1];return h=null,e.point(b,c),h||(f.point(b,c),h)||(g.point(b,c),h)}function b(){return c=d=null,a}var c,d,e,f,g,h,i=Ab(),j=zb().rotate([154,0]).center([-2,58.5]).parallels([55,65]),k=zb().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(a,b){h=[a,b]}};return a.invert=function(a){var b=i.scale(),c=i.translate(),d=(a[0]-c[0])/b,e=(a[1]-c[1])/b;return(e>=.12&&e<.234&&d>=-.425&&d<-.214?j:e>=.166&&e<.234&&d>=-.214&&d<-.115?k:i).invert(a)},a.stream=function(a){return c&&d===a?c:c=Bb([i.stream(d=a),j.stream(a),k.stream(a)])},a.precision=function(a){return arguments.length?(i.precision(a),j.precision(a),k.precision(a),b()):i.precision()},a.scale=function(b){return arguments.length?(i.scale(b),j.scale(.35*b),k.scale(b),a.translate(i.translate())):i.scale()},a.translate=function(a){if(!arguments.length)return i.translate();var c=i.scale(),d=+a[0],h=+a[1];return e=i.translate(a).clipExtent([[d-.455*c,h-.238*c],[d+.455*c,h+.238*c]]).stream(l),f=j.translate([d-.307*c,h+.201*c]).clipExtent([[d-.425*c+Jc,h+.12*c+Jc],[d-.214*c-Jc,h+.234*c-Jc]]).stream(l),g=k.translate([d-.205*c,h+.212*c]).clipExtent([[d-.214*c+Jc,h+.166*c+Jc],[d-.115*c-Jc,h+.234*c-Jc]]).stream(l),b()},a.fitExtent=function(b,c){return kb(a,b,c)},a.fitSize=function(b,c){return lb(a,b,c)},a.fitWidth=function(b,c){return mb(a,b,c)},a.fitHeight=function(b,c){return nb(a,b,c)},a.scale(1070)}function Db(a){return function(b,c){var d=Uc(b),e=Uc(c),f=a(d*e);return[f*e*Zc(b),f*Zc(c)]}}function Eb(a){return function(b,c){var d=_c(b*b+c*c),e=a(d),f=Zc(e),h=Uc(e);return[Tc(b*f,d*h),g(d&&c*f/d)]}}function Fb(){return ub(ee).scale(124.75).clipAngle(179.999)}function Gb(){return ub(fe).scale(79.4188).clipAngle(179.999)}function Hb(a,b){return[a,Xc(ad((Mc+b)/2))]}function Ib(){return Jb(Hb).scale(961/Oc)}function Jb(a){function b(){var b=Lc*h(),g=f(aa(f.rotate()).invert([0,0]));return j(null==k?[[g[0]-b,g[1]-b],[g[0]+b,g[1]+b]]:a===Hb?[[Math.max(g[0]-b,k),c],[Math.min(g[0]+b,d),e]]:[[k,Math.max(g[1]-b,c)],[d,Math.min(g[1]+b,e)]])}var c,d,e,f=ub(a),g=f.center,h=f.scale,i=f.translate,j=f.clipExtent,k=null;return f.scale=function(a){return arguments.length?(h(a),b()):h()},f.translate=function(a){return arguments.length?(i(a),b()):i()},f.center=function(a){return arguments.length?(g(a),b()):g()},f.clipExtent=function(a){return arguments.length?(null==a?k=c=d=e=null:(k=+a[0][0],c=+a[0][1],d=+a[1][0],e=+a[1][1]),b()):null==k?null:[[k,c],[d,e]]},b()}function Kb(a){return ad((Mc+a)/2)}function Lb(a,b){function c(a,b){f>0?b<-Mc+Jc&&(b=-Mc+Jc):b>Mc-Jc&&(b=Mc-Jc);var c=f/Yc(Kb(b),e);return[c*Zc(e*a),f-c*Uc(e*a)]}var d=Uc(a),e=a===b?Zc(a):Xc(d/Uc(b))/Xc(Kb(b)/Kb(a)),f=d*Yc(Kb(a),e)/e;return e?(c.invert=function(a,b){var c=f-b,d=$c(e)*_c(a*a+c*c);return[Tc(a,Rc(c))/e*$c(c),2*Sc(Yc(f/d,1/e))-Mc]},c):Hb}function Mb(){return wb(Lb).scale(109.5).parallels([30,30])}function Nb(a,b){return[a,b]}function Ob(){return ub(Nb).scale(152.63)}function Pb(a,b){function c(a,b){var c=f-b,d=e*a;return[c*Zc(d),f-c*Uc(d)]}var d=Uc(a),e=a===b?Zc(a):(d-Uc(b))/(b-a),f=d/e+a;return Rc(e)<Jc?Nb:(c.invert=function(a,b){var c=f-b;return[Tc(a,Rc(c))/e*$c(c),f-$c(e)*_c(a*a+c*c)]},c)}function Qb(){return wb(Pb).scale(131.154).center([0,13.9389])}function Rb(a,b){var c=g(ke*Zc(b)),d=c*c,e=d*d*d;return[a*Uc(c)/(ke*(ge+3*he*d+e*(7*ie+9*je*d))),c*(ge+he*d+e*(ie+je*d))]}function Sb(){return ub(Rb).scale(177.158)}function Tb(a,b){var c=Uc(b),d=Uc(a)*c;return[c*Zc(a)/d,Zc(b)/d]}function Ub(){return ub(Tb).scale(144.049).clipAngle(60)}function Vb(a,b,c,d){return 1===a&&1===b&&0===c&&0===d?Na:hb({point:function(e,f){this.stream.point(e*a+c,f*b+d)}})}function Wb(){function a(){return e=f=null,g}var b,c,d,e,f,g,h=1,i=0,j=0,k=1,l=1,m=Na,n=null,o=Na;return g={stream:function(a){return e&&f===a?e:e=m(o(f=a))},postclip:function(e){return arguments.length?(o=e,n=b=c=d=null,a()):o},clipExtent:function(e){return arguments.length?(o=null==e?(n=b=c=d=null,Na):ta(n=+e[0][0],b=+e[0][1],c=+e[1][0],d=+e[1][1]),a()):null==n?null:[[n,b],[c,d]]},scale:function(b){return arguments.length?(m=Vb((h=+b)*k,h*l,i,j),a()):h},translate:function(b){return arguments.length?(m=Vb(h*k,h*l,i=+b[0],j=+b[1]),a()):[i,j]},reflectX:function(b){return arguments.length?(m=Vb(h*(k=b?-1:1),h*l,i,j),a()):k<0},reflectY:function(b){return arguments.length?(m=Vb(h*k,h*(l=b?-1:1),i,j),a()):l<0},fitExtent:function(a,b){return kb(g,a,b)},fitSize:function(a,b){return lb(g,a,b)},fitWidth:function(a,b){return mb(g,a,b)},fitHeight:function(a,b){return nb(g,a,b)}}}function Xb(a,b){var c=b*b,d=c*c;return[a*(.8707-.131979*c+d*(-.013791+d*(.003971*c-.001529*d))),b*(1.007226+c*(.015085+d*(-.044475+.028874*c-.005916*d)))]}function Yb(){return ub(Xb).scale(175.295)}function Zb(a,b){return[Uc(b)*Zc(a),Zc(b)]}function $b(){return ub(Zb).scale(249.5).clipAngle(90+Jc)}function _b(a,b){var c=Uc(b),d=1+Uc(a)*c;return[c*Zc(a)/d,Zc(b)/d]}function ac(){return ub(_b).scale(250).clipAngle(142)}function bc(a,b){return[Xc(ad((Mc+b)/2)),-a]}function cc(){var a=Jb(bc),b=a.center,c=a.rotate;return a.center=function(a){return arguments.length?b([-a[1],a[0]]):(a=b(),[a[1],-a[0]])},a.rotate=function(a){return arguments.length?c([a[0],a[1],a.length>2?a[2]+90:90]):(a=c(),[a[0],a[1],a[2]-90])},c([0,0,90]).scale(159.155)}d.prototype={constructor:d,reset:function(){this.s=this.t=0},add:function(a){e(Ic,a,this.t),e(this,Ic.s,this.s),this.s?this.t+=Ic.t:this.s=Ic.t},valueOf:function(){return this.s}};var dc,ec,fc,gc,hc,ic,jc,kc,lc,mc,nc,oc,pc,qc,rc,sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec,Fc,Gc,Hc,Ic=new d,Jc=1e-6,Kc=1e-12,Lc=Math.PI,Mc=Lc/2,Nc=Lc/4,Oc=2*Lc,Pc=180/Lc,Qc=Lc/180,Rc=Math.abs,Sc=Math.atan,Tc=Math.atan2,Uc=Math.cos,Vc=Math.ceil,Wc=Math.exp,Xc=Math.log,Yc=Math.pow,Zc=Math.sin,$c=Math.sign||function(a){return a>0?1:a<0?-1:0},_c=Math.sqrt,ad=Math.tan,bd={Feature:function(a,b){j(a.geometry,b)},FeatureCollection:function(a,b){for(var c=a.features,d=-1,e=c.length;++d<e;)j(c[d].geometry,b)}},cd={Sphere:function(a,b){b.sphere()},Point:function(a,b){a=a.coordinates,b.point(a[0],a[1],a[2])},MultiPoint:function(a,b){for(var c=a.coordinates,d=-1,e=c.length;++d<e;)a=c[d],b.point(a[0],a[1],a[2])},LineString:function(a,b){k(a.coordinates,b,0)},MultiLineString:function(a,b){for(var c=a.coordinates,d=-1,e=c.length;++d<e;)k(c[d],b,0)},Polygon:function(a,b){l(a.coordinates,b)},MultiPolygon:function(a,b){for(var c=a.coordinates,d=-1,e=c.length;++d<e;)l(c[d],b)},GeometryCollection:function(a,b){for(var c=a.geometries,d=-1,e=c.length;++d<e;)j(c[d],b)}},dd=c(),ed=c(),fd={point:i,lineStart:i,lineEnd:i,polygonStart:function(){dd.reset(),fd.lineStart=n,fd.lineEnd=o},polygonEnd:function(){var a=+dd;ed.add(a<0?Oc+a:a),this.lineStart=this.lineEnd=this.point=i},sphere:function(){ed.add(Oc)}},gd=c(),hd={point:z,lineStart:B,lineEnd:C,polygonStart:function(){hd.point=D,hd.lineStart=E,hd.lineEnd=F,gd.reset(),fd.polygonStart()},polygonEnd:function(){fd.polygonEnd(),hd.point=z,hd.lineStart=B,hd.lineEnd=C,dd<0?(ic=-(kc=180),jc=-(lc=90)):gd>Jc?lc=90:gd<-Jc&&(jc=-90),rc[0]=ic,rc[1]=kc},sphere:function(){ic=-(kc=180),jc=-(lc=90)}},id={sphere:i,point:K,lineStart:M,lineEnd:P,polygonStart:function(){id.lineStart=Q,id.lineEnd=R},polygonEnd:function(){id.lineStart=M,id.lineEnd=P}};X.invert=X;var jd,kd,ld,md,nd,od,pd,qd,rd,sd,td,ud=c(),vd=la(function(){return!0},oa,qa,[-Lc,-Mc]),wd=1e9,xd=-wd,yd=c(),zd={sphere:i,point:i,lineStart:va,lineEnd:i,polygonStart:i,polygonEnd:i},Ad=[null,null],Bd={type:"LineString",coordinates:Ad},Cd={Feature:function(a,b){return Ba(a.geometry,b)},FeatureCollection:function(a,b){for(var c=a.features,d=-1,e=c.length;++d<e;)if(Ba(c[d].geometry,b))return!0;return!1}},Dd={Sphere:function(){return!0},Point:function(a,b){return Ca(a.coordinates,b)},MultiPoint:function(a,b){for(var c=a.coordinates,d=-1,e=c.length;++d<e;)if(Ca(c[d],b))return!0;return!1},LineString:function(a,b){return Da(a.coordinates,b)},MultiLineString:function(a,b){for(var c=a.coordinates,d=-1,e=c.length;++d<e;)if(Da(c[d],b))return!0;return!1},Polygon:function(a,b){return Ea(a.coordinates,b)},MultiPolygon:function(a,b){for(var c=a.coordinates,d=-1,e=c.length;++d<e;)if(Ea(c[d],b))return!0;return!1},GeometryCollection:function(a,b){for(var c=a.geometries,d=-1,e=c.length;++d<e;)if(Ba(c[d],b))return!0;return!1}},Ed=c(),Fd=c(),Gd={point:i,lineStart:i,lineEnd:i,polygonStart:function(){Gd.lineStart=Oa,Gd.lineEnd=Ra},polygonEnd:function(){Gd.lineStart=Gd.lineEnd=Gd.point=i,Ed.add(Rc(Fd)),Fd.reset()},result:function(){var a=Ed/2;return Ed.reset(),a}},Hd=1/0,Id=Hd,Jd=-Hd,Kd=Jd,Ld={point:Sa,lineStart:i,lineEnd:i,polygonStart:i,polygonEnd:i,result:function(){var a=[[Hd,Id],[Jd,Kd]];return Jd=Kd=-(Id=Hd=1/0),a}},Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd={point:Ta,lineStart:Ua,lineEnd:Xa,polygonStart:function(){Vd.lineStart=Ya,Vd.lineEnd=Za},polygonEnd:function(){Vd.point=Ta,Vd.lineStart=Ua,Vd.lineEnd=Xa},result:function(){var a=Ud?[Sd/Ud,Td/Ud]:Rd?[Pd/Rd,Qd/Rd]:Od?[Md/Od,Nd/Od]:[NaN,NaN];return Md=Nd=Od=Pd=Qd=Rd=Sd=Td=Ud=0,a}};ab.prototype={_radius:4.5,pointRadius:function(a){return this._radius=a,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(a,b){switch(this._point){case 0:this._context.moveTo(a,b),this._point=1;break;case 1:this._context.lineTo(a,b);break;default:this._context.moveTo(a+this._radius,b),this._context.arc(a,b,this._radius,0,Oc)}},result:i};var Wd,Xd,Yd,Zd,$d,_d=c(),ae={point:i,lineStart:function(){ae.point=bb},lineEnd:function(){Wd&&cb(Xd,Yd),ae.point=i},polygonStart:function(){Wd=!0},polygonEnd:function(){Wd=null},result:function(){var a=+_d;return _d.reset(),a}};db.prototype={_radius:4.5,_circle:eb(4.5),pointRadius:function(a){return(a=+a)!==this._radius&&(this._radius=a,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(a,b){switch(this._point){case 0:this._string.push("M",a,",",b),this._point=1;break;case 1:this._string.push("L",a,",",b);break;default:null==this._circle&&(this._circle=eb(this._radius)),this._string.push("M",a,",",b,this._circle)}},result:function(){if(this._string.length){var a=this._string.join("");return this._string=[],a}return null}},ib.prototype={constructor:ib,point:function(a,b){this.stream.point(a,b)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var be=16,ce=Uc(30*Qc),de=hb({point:function(a,b){this.stream.point(a*Qc,b*Qc)}}),ee=Db(function(a){return _c(2/(1+a))});ee.invert=Eb(function(a){return 2*g(a/2)});var fe=Db(function(a){return(a=f(a))&&a/Zc(a)});fe.invert=Eb(function(a){return a}),Hb.invert=function(a,b){return[a,2*Sc(Wc(b))-Mc]},Nb.invert=Nb;var ge=1.340264,he=-.081106,ie=893e-6,je=.003796,ke=_c(3)/2,le=12;Rb.invert=function(a,b){for(var c,d,e,f=b,h=f*f,i=h*h*h,j=0;j<le&&(d=f*(ge+he*h+i*(ie+je*h))-b,e=ge+3*he*h+i*(7*ie+9*je*h),f-=c=d/e,h=f*f,i=h*h*h,!(Rc(c)<Kc));++j);return[ke*a*(ge+3*he*h+i*(7*ie+9*je*h))/Uc(f),g(Zc(f)/ke)]},Tb.invert=Eb(Sc),Xb.invert=function(a,b){var c,d=b,e=25;do{var f=d*d,g=f*f;d-=c=(d*(1.007226+f*(.015085+g*(-.044475+.028874*f-.005916*g)))-b)/(1.007226+f*(.045255+g*(-.311325+.259866*f-.005916*11*g)))}while(Rc(c)>Jc&&--e>0);return[a/(.8707+(f=d*d)*(-.131979+f*(-.013791+f*f*f*(.003971-.001529*f)))),d]},Zb.invert=Eb(g),_b.invert=Eb(function(a){return 2*Sc(a)}),bc.invert=function(a,b){return[-b,2*Sc(Wc(a))-Mc]},a.geoAlbers=Ab,a.geoAlbersUsa=Cb,a.geoArea=r,a.geoAzimuthalEqualArea=Fb,a.geoAzimuthalEqualAreaRaw=ee,a.geoAzimuthalEquidistant=Gb,a.geoAzimuthalEquidistantRaw=fe,a.geoBounds=J,a.geoCentroid=U,a.geoCircle=da,a.geoClipAntimeridian=vd,a.geoClipCircle=ra,a.geoClipExtent=ua,a.geoClipRectangle=ta,a.geoConicConformal=Mb,a.geoConicConformalRaw=Lb,a.geoConicEqualArea=zb,a.geoConicEqualAreaRaw=yb,a.geoConicEquidistant=Qb,a.geoConicEquidistantRaw=Pb,a.geoContains=Ha,a.geoDistance=Aa,a.geoEqualEarth=Sb,a.geoEqualEarthRaw=Rb,a.geoEquirectangular=Ob,a.geoEquirectangularRaw=Nb,a.geoGnomonic=Ub,a.geoGnomonicRaw=Tb,a.geoGraticule=Ka,a.geoGraticule10=La,a.geoIdentity=Wb,a.geoInterpolate=Ma,a.geoLength=za,a.geoMercator=Ib,a.geoMercatorRaw=Hb,a.geoNaturalEarth1=Yb,a.geoNaturalEarth1Raw=Xb,a.geoOrthographic=$b,a.geoOrthographicRaw=Zb,a.geoPath=fb,a.geoProjection=ub,a.geoProjectionMutator=vb,a.geoRotation=aa,a.geoStereographic=ac,a.geoStereographicRaw=_b,a.geoStream=m,a.geoTransform=gb,a.geoTransverseMercator=cc,a.geoTransverseMercatorRaw=bc,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-array":29}],44:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a,b){return a.parent===b.parent?1:2}function c(a){return a.reduce(d,0)/a.length}function d(a,b){return a+b.x}function e(a){return 1+a.reduce(f,0)}function f(a,b){return Math.max(a,b.y)}function g(a){for(var b;b=a.children;)a=b[0];return a}function h(a){for(var b;b=a.children;)a=b[b.length-1];return a}function i(){function a(a){var b,k=0;a.eachAfter(function(a){var f=a.children;f?(a.x=c(f),a.y=e(f)):(a.x=b?k+=d(a,b):0,a.y=0,b=a)});var l=g(a),m=h(a),n=l.x-d(l,m)/2,o=m.x+d(m,l)/2;return a.eachAfter(j?function(b){b.x=(b.x-a.x)*f,b.y=(a.y-b.y)*i}:function(b){b.x=(b.x-n)/(o-n)*f,b.y=(1-(a.y?b.y/a.y:1))*i})}var d=b,f=1,i=1,j=!1;return a.separation=function(b){return arguments.length?(d=b,a):d},a.size=function(b){return arguments.length?(j=!1,f=+b[0],i=+b[1],a):j?null:[f,i]},a.nodeSize=function(b){return arguments.length?(j=!0,f=+b[0],i=+b[1],a):j?[f,i]:null},a}function j(a){var b=0,c=a.children,d=c&&c.length;if(d)for(;--d>=0;)b+=c[d].value;else b=1;a.value=b}function k(){return this.eachAfter(j)}function l(a){var b,c,d,e,f=this,g=[f];do for(b=g.reverse(),g=[];f=b.pop();)if(a(f),c=f.children)for(d=0,e=c.length;d<e;++d)g.push(c[d]);while(g.length);return this}function m(a){for(var b,c,d=this,e=[d];d=e.pop();)if(a(d),b=d.children)for(c=b.length-1;c>=0;--c)e.push(b[c]);return this}function n(a){for(var b,c,d,e=this,f=[e],g=[];e=f.pop();)if(g.push(e),b=e.children)for(c=0,d=b.length;c<d;++c)f.push(b[c]);for(;e=g.pop();)a(e);return this}function o(a){return this.eachAfter(function(b){for(var c=+a(b.data)||0,d=b.children,e=d&&d.length;--e>=0;)c+=d[e].value;b.value=c})}function p(a){return this.eachBefore(function(b){b.children&&b.children.sort(a)})}function q(a){for(var b=this,c=r(b,a),d=[b];b!==c;)b=b.parent,d.push(b);for(var e=d.length;a!==c;)d.splice(e,0,a),a=a.parent;return d}function r(a,b){if(a===b)return a;var c=a.ancestors(),d=b.ancestors(),e=null;for(a=c.pop(),b=d.pop();a===b;)e=a,a=c.pop(),b=d.pop();return e}function s(){for(var a=this,b=[a];a=a.parent;)b.push(a);return b}function t(){var a=[];return this.each(function(b){a.push(b)}),a}function u(){var a=[];return this.eachBefore(function(b){b.children||a.push(b)}),a}function v(){var a=this,b=[];return a.each(function(c){c!==a&&b.push({source:c.parent,target:c})}),b}function w(a,b){var c,d,e,f,g,h=new B(a),i=+a.value&&(h.value=a.value),j=[h];for(null==b&&(b=y);c=j.pop();)if(i&&(c.value=+c.data.value),(e=b(c.data))&&(g=e.length))for(c.children=new Array(g),f=g-1;f>=0;--f)j.push(d=c.children[f]=new B(e[f])),d.parent=c,d.depth=c.depth+1;return h.eachBefore(A)}function x(){return w(this).eachBefore(z)}function y(a){return a.children}function z(a){a.data=a.data.data}function A(a){var b=0;do a.height=b;while((a=a.parent)&&a.height<++b)}function B(a){this.data=a,this.depth=this.height=0,this.parent=null}function C(a){for(var b,c,d=a.length;d;)c=Math.random()*d--|0,b=a[d],a[d]=a[c],a[c]=b;return a}function D(a){for(var b,c,d=0,e=(a=C(ta.call(a))).length,f=[];d<e;)b=a[d],c&&G(c,b)?++d:(c=I(f=E(f,b)),d=0);return c}function E(a,b){var c,d;if(H(b,a))return[b];for(c=0;c<a.length;++c)if(F(b,a[c])&&H(K(a[c],b),a))return[a[c],b];for(c=0;c<a.length-1;++c)for(d=c+1;d<a.length;++d)if(F(K(a[c],a[d]),b)&&F(K(a[c],b),a[d])&&F(K(a[d],b),a[c])&&H(L(a[c],a[d],b),a))return[a[c],a[d],b];throw new Error}function F(a,b){var c=a.r-b.r,d=b.x-a.x,e=b.y-a.y;return c<0||c*c<d*d+e*e}function G(a,b){var c=a.r-b.r+1e-6,d=b.x-a.x,e=b.y-a.y;return c>0&&c*c>d*d+e*e}function H(a,b){for(var c=0;c<b.length;++c)if(!G(a,b[c]))return!1;return!0}function I(a){switch(a.length){case 1:return J(a[0]);case 2:return K(a[0],a[1]);case 3:return L(a[0],a[1],a[2])}}function J(a){return{x:a.x,y:a.y,r:a.r}}function K(a,b){var c=a.x,d=a.y,e=a.r,f=b.x,g=b.y,h=b.r,i=f-c,j=g-d,k=h-e,l=Math.sqrt(i*i+j*j);return{x:(c+f+i/l*k)/2,y:(d+g+j/l*k)/2,r:(l+e+h)/2}}function L(a,b,c){var d=a.x,e=a.y,f=a.r,g=b.x,h=b.y,i=b.r,j=c.x,k=c.y,l=c.r,m=d-g,n=d-j,o=e-h,p=e-k,q=i-f,r=l-f,s=d*d+e*e-f*f,t=s-g*g-h*h+i*i,u=s-j*j-k*k+l*l,v=n*o-m*p,w=(o*u-p*t)/(2*v)-d,x=(p*q-o*r)/v,y=(n*t-m*u)/(2*v)-e,z=(m*r-n*q)/v,A=x*x+z*z-1,B=2*(f+w*x+y*z),C=w*w+y*y-f*f,D=-(A?(B+Math.sqrt(B*B-4*A*C))/(2*A):C/B);return{x:d+w+x*D,y:e+y+z*D,r:D}}function M(a,b,c){var d,e,f,g,h=a.x-b.x,i=a.y-b.y,j=h*h+i*i;j?(e=b.r+c.r,e*=e,g=a.r+c.r,g*=g,e>g?(d=(j+g-e)/(2*j),f=Math.sqrt(Math.max(0,g/j-d*d)),c.x=a.x-d*h-f*i,c.y=a.y-d*i+f*h):(d=(j+e-g)/(2*j),f=Math.sqrt(Math.max(0,e/j-d*d)),c.x=b.x+d*h-f*i,c.y=b.y+d*i+f*h)):(c.x=b.x+c.r,c.y=b.y)}function N(a,b){var c=a.r+b.r-1e-6,d=b.x-a.x,e=b.y-a.y;return c>0&&c*c>d*d+e*e}function O(a){var b=a._,c=a.next._,d=b.r+c.r,e=(b.x*c.r+c.x*b.r)/d,f=(b.y*c.r+c.y*b.r)/d;return e*e+f*f}function P(a){this._=a,this.next=null,this.previous=null}function Q(a){if(!(e=a.length))return 0;var b,c,d,e,f,g,h,i,j,k,l;if(b=a[0],b.x=0,b.y=0,!(e>1))return b.r;if(c=a[1],b.x=-c.r,c.x=b.r,c.y=0,!(e>2))return b.r+c.r;M(c,b,d=a[2]),b=new P(b),c=new P(c),d=new P(d),b.next=d.previous=c,c.next=b.previous=d,d.next=c.previous=b;a:for(h=3;h<e;++h){M(b._,c._,d=a[h]),d=new P(d),i=c.next,j=b.previous,k=c._.r,l=b._.r;do if(k<=l){if(N(i._,d._)){c=i,b.next=c,c.previous=b,--h;continue a}k+=i._.r,i=i.next}else{if(N(j._,d._)){b=j,b.next=c,c.previous=b,--h;continue a}l+=j._.r,j=j.previous}while(i!==j.next);for(d.previous=b,d.next=c,b.next=c.previous=c=d,f=O(b);(d=d.next)!==c;)(g=O(d))<f&&(b=d,f=g);c=b.next}for(b=[c._],d=c;(d=d.next)!==c;)b.push(d._);for(d=D(b),h=0;h<e;++h)b=a[h],b.x-=d.x,b.y-=d.y;return d.r}function R(a){return Q(a),a}function S(a){return null==a?null:T(a)}function T(a){if("function"!=typeof a)throw new Error;return a}function U(){return 0}function V(a){return function(){return a}}function W(a){return Math.sqrt(a.value)}function X(){function a(a){return a.x=c/2,a.y=d/2,b?a.eachBefore(Y(b)).eachAfter(Z(e,.5)).eachBefore($(1)):a.eachBefore(Y(W)).eachAfter(Z(U,1)).eachAfter(Z(e,a.r/Math.min(c,d))).eachBefore($(Math.min(c,d)/(2*a.r))),a}var b=null,c=1,d=1,e=U;return a.radius=function(c){return arguments.length?(b=S(c),a):b},a.size=function(b){return arguments.length?(c=+b[0],d=+b[1],a):[c,d]},a.padding=function(b){return arguments.length?(e="function"==typeof b?b:V(+b),a):e},a}function Y(a){return function(b){b.children||(b.r=Math.max(0,+a(b)||0))}}function Z(a,b){return function(c){if(d=c.children){var d,e,f,g=d.length,h=a(c)*b||0;if(h)for(e=0;e<g;++e)d[e].r+=h;if(f=Q(d),h)for(e=0;e<g;++e)d[e].r-=h;c.r=f+h}}}function $(a){return function(b){var c=b.parent;b.r*=a,c&&(b.x=c.x+a*b.x,b.y=c.y+a*b.y)}}function _(a){a.x0=Math.round(a.x0),a.y0=Math.round(a.y0),a.x1=Math.round(a.x1),a.y1=Math.round(a.y1)}function aa(a,b,c,d,e){for(var f,g=a.children,h=-1,i=g.length,j=a.value&&(d-b)/a.value;++h<i;)f=g[h],f.y0=c,f.y1=e,f.x0=b,f.x1=b+=f.value*j}function ba(){function a(a){var g=a.height+1;return a.x0=a.y0=e,a.x1=c,a.y1=d/g,a.eachBefore(b(d,g)),f&&a.eachBefore(_),a}function b(a,b){return function(c){c.children&&aa(c,c.x0,a*(c.depth+1)/b,c.x1,a*(c.depth+2)/b);var d=c.x0,f=c.y0,g=c.x1-e,h=c.y1-e;g<d&&(d=g=(d+g)/2),h<f&&(f=h=(f+h)/2),c.x0=d,c.y0=f,c.x1=g,c.y1=h}}var c=1,d=1,e=0,f=!1;return a.round=function(b){return arguments.length?(f=!!b,a):f},a.size=function(b){return arguments.length?(c=+b[0],d=+b[1],a):[c,d]},a.padding=function(b){return arguments.length?(e=+b,a):e},a}function ca(a){return a.id}function da(a){return a.parentId}function ea(){function a(a){var d,e,f,g,h,i,j,k=a.length,l=new Array(k),m={};for(e=0;e<k;++e)d=a[e],h=l[e]=new B(d),null!=(i=b(d,e,a))&&(i+="")&&(j=ua+(h.id=i),m[j]=j in m?wa:h);for(e=0;e<k;++e)if(h=l[e],i=c(a[e],e,a),null!=i&&(i+="")){if(g=m[ua+i],!g)throw new Error("missing: "+i);if(g===wa)throw new Error("ambiguous: "+i);g.children?g.children.push(h):g.children=[h],h.parent=g}else{if(f)throw new Error("multiple roots");f=h}if(!f)throw new Error("no root");if(f.parent=va,f.eachBefore(function(a){a.depth=a.parent.depth+1,--k}).eachBefore(A),f.parent=null,k>0)throw new Error("cycle");return f}var b=ca,c=da;return a.id=function(c){return arguments.length?(b=T(c),a):b},a.parentId=function(b){return arguments.length?(c=T(b),a):c},a}function fa(a,b){return a.parent===b.parent?1:2}function ga(a){var b=a.children;return b?b[0]:a.t}function ha(a){var b=a.children;return b?b[b.length-1]:a.t}function ia(a,b,c){var d=c/(b.i-a.i);b.c-=d,b.s+=c,a.c+=d,b.z+=c,b.m+=c}function ja(a){for(var b,c=0,d=0,e=a.children,f=e.length;--f>=0;)b=e[f],b.z+=c,b.m+=c,c+=b.s+(d+=b.c)}function ka(a,b,c){return a.a.parent===b.parent?a.a:c}function la(a,b){this._=a,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=b}function ma(a){for(var b,c,d,e,f,g=new la(a,0),h=[g];b=h.pop();)if(d=b._.children)for(b.children=new Array(f=d.length),e=f-1;e>=0;--e)h.push(c=b.children[e]=new la(d[e],e)),c.parent=b;return(g.parent=new la(null,0)).children=[g],
- g}function na(){function a(a){var d=ma(a);if(d.eachAfter(b),d.parent.m=-d.z,d.eachBefore(c),i)a.eachBefore(e);else{var j=a,k=a,l=a;a.eachBefore(function(a){a.x<j.x&&(j=a),a.x>k.x&&(k=a),a.depth>l.depth&&(l=a)});var m=j===k?1:f(j,k)/2,n=m-j.x,o=g/(k.x+m+n),p=h/(l.depth||1);a.eachBefore(function(a){a.x=(a.x+n)*o,a.y=a.depth*p})}return a}function b(a){var b=a.children,c=a.parent.children,e=a.i?c[a.i-1]:null;if(b){ja(a);var g=(b[0].z+b[b.length-1].z)/2;e?(a.z=e.z+f(a._,e._),a.m=a.z-g):a.z=g}else e&&(a.z=e.z+f(a._,e._));a.parent.A=d(a,e,a.parent.A||c[0])}function c(a){a._.x=a.z+a.parent.m,a.m+=a.parent.m}function d(a,b,c){if(b){for(var d,e=a,g=a,h=b,i=e.parent.children[0],j=e.m,k=g.m,l=h.m,m=i.m;h=ha(h),e=ga(e),h&&e;)i=ga(i),g=ha(g),g.a=a,d=h.z+l-e.z-j+f(h._,e._),d>0&&(ia(ka(h,a,c),a,d),j+=d,k+=d),l+=h.m,j+=e.m,m+=i.m,k+=g.m;h&&!ha(g)&&(g.t=h,g.m+=l-k),e&&!ga(i)&&(i.t=e,i.m+=j-m,c=a)}return c}function e(a){a.x*=g,a.y=a.depth*h}var f=fa,g=1,h=1,i=null;return a.separation=function(b){return arguments.length?(f=b,a):f},a.size=function(b){return arguments.length?(i=!1,g=+b[0],h=+b[1],a):i?null:[g,h]},a.nodeSize=function(b){return arguments.length?(i=!0,g=+b[0],h=+b[1],a):i?[g,h]:null},a}function oa(a,b,c,d,e){for(var f,g=a.children,h=-1,i=g.length,j=a.value&&(e-c)/a.value;++h<i;)f=g[h],f.x0=b,f.x1=d,f.y0=c,f.y1=c+=f.value*j}function pa(a,b,c,d,e,f){for(var g,h,i,j,k,l,m,n,o,p,q,r=[],s=b.children,t=0,u=0,v=s.length,w=b.value;t<v;){i=e-c,j=f-d;do k=s[u++].value;while(!k&&u<v);for(l=m=k,p=Math.max(j/i,i/j)/(w*a),q=k*k*p,o=Math.max(m/q,q/l);u<v;++u){if(k+=h=s[u].value,h<l&&(l=h),h>m&&(m=h),q=k*k*p,n=Math.max(m/q,q/l),n>o){k-=h;break}o=n}r.push(g={value:k,dice:i<j,children:s.slice(t,u)}),g.dice?aa(g,c,d,e,w?d+=j*k/w:f):oa(g,c,d,w?c+=i*k/w:e,f),w-=k,t=u}return r}function qa(){function a(a){return a.x0=a.y0=0,a.x1=e,a.y1=f,a.eachBefore(b),g=[0],d&&a.eachBefore(_),a}function b(a){var b=g[a.depth],d=a.x0+b,e=a.y0+b,f=a.x1-b,m=a.y1-b;f<d&&(d=f=(d+f)/2),m<e&&(e=m=(e+m)/2),a.x0=d,a.y0=e,a.x1=f,a.y1=m,a.children&&(b=g[a.depth+1]=h(a)/2,d+=l(a)-b,e+=i(a)-b,f-=j(a)-b,m-=k(a)-b,f<d&&(d=f=(d+f)/2),m<e&&(e=m=(e+m)/2),c(a,d,e,f,m))}var c=ya,d=!1,e=1,f=1,g=[0],h=U,i=U,j=U,k=U,l=U;return a.round=function(b){return arguments.length?(d=!!b,a):d},a.size=function(b){return arguments.length?(e=+b[0],f=+b[1],a):[e,f]},a.tile=function(b){return arguments.length?(c=T(b),a):c},a.padding=function(b){return arguments.length?a.paddingInner(b).paddingOuter(b):a.paddingInner()},a.paddingInner=function(b){return arguments.length?(h="function"==typeof b?b:V(+b),a):h},a.paddingOuter=function(b){return arguments.length?a.paddingTop(b).paddingRight(b).paddingBottom(b).paddingLeft(b):a.paddingTop()},a.paddingTop=function(b){return arguments.length?(i="function"==typeof b?b:V(+b),a):i},a.paddingRight=function(b){return arguments.length?(j="function"==typeof b?b:V(+b),a):j},a.paddingBottom=function(b){return arguments.length?(k="function"==typeof b?b:V(+b),a):k},a.paddingLeft=function(b){return arguments.length?(l="function"==typeof b?b:V(+b),a):l},a}function ra(a,b,c,d,e){function f(a,b,c,d,e,g,h){if(a>=b-1){var j=i[a];return j.x0=d,j.y0=e,j.x1=g,j.y1=h,void 0}for(var l=k[a],m=c/2+l,n=a+1,o=b-1;n<o;){var p=n+o>>>1;k[p]<m?n=p+1:o=p}m-k[n-1]<k[n]-m&&a+1<n&&--n;var q=k[n]-l,r=c-q;if(g-d>h-e){var s=(d*r+g*q)/c;f(a,n,q,d,e,s,h),f(n,b,r,s,e,g,h)}else{var t=(e*r+h*q)/c;f(a,n,q,d,e,g,t),f(n,b,r,d,t,g,h)}}var g,h,i=a.children,j=i.length,k=new Array(j+1);for(k[0]=h=g=0;g<j;++g)k[g+1]=h+=i[g].value;f(0,j,a.value,b,c,d,e)}function sa(a,b,c,d,e){(1&a.depth?oa:aa)(a,b,c,d,e)}B.prototype=w.prototype={constructor:B,count:k,each:l,eachAfter:n,eachBefore:m,sum:o,sort:p,path:q,ancestors:s,descendants:t,leaves:u,links:v,copy:x};var ta=Array.prototype.slice,ua="$",va={depth:-1},wa={};la.prototype=Object.create(B.prototype);var xa=(1+Math.sqrt(5))/2,ya=function a(b){function c(a,c,d,e,f){pa(b,a,c,d,e,f)}return c.ratio=function(b){return a((b=+b)>1?b:1)},c}(xa),za=function a(b){function c(a,c,d,e,f){if((g=a._squarify)&&g.ratio===b)for(var g,h,i,j,k,l=-1,m=g.length,n=a.value;++l<m;){for(h=g[l],i=h.children,j=h.value=0,k=i.length;j<k;++j)h.value+=i[j].value;h.dice?aa(h,c,d,e,d+=(f-d)*h.value/n):oa(h,c,d,c+=(e-c)*h.value/n,f),n-=h.value}else a._squarify=g=pa(b,a,c,d,e,f),g.ratio=b}return c.ratio=function(b){return a((b=+b)>1?b:1)},c}(xa);a.cluster=i,a.hierarchy=w,a.pack=X,a.packEnclose=D,a.packSiblings=R,a.partition=ba,a.stratify=ea,a.tree=na,a.treemap=qa,a.treemapBinary=ra,a.treemapDice=aa,a.treemapResquarify=za,a.treemapSlice=oa,a.treemapSliceDice=sa,a.treemapSquarify=ya,Object.defineProperty(a,"__esModule",{value:!0})})},{}],45:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-color")):"function"==typeof a&&a.amd?a(["exports","d3-color"],f):(e=e||self,f(e.d3=e.d3||{},e.d3))}(this,function(a,b){"use strict";function c(a,b,c,d,e){var f=a*a,g=f*a;return((1-3*a+3*f-g)*b+(4-6*f+3*g)*c+(1+3*a+3*f-3*g)*d+g*e)/6}function d(a){var b=a.length-1;return function(d){var e=d<=0?d=0:d>=1?(d=1,b-1):Math.floor(d*b),f=a[e],g=a[e+1],h=e>0?a[e-1]:2*f-g,i=e<b-1?a[e+2]:2*g-f;return c((d-e/b)*b,h,f,g,i)}}function e(a){var b=a.length;return function(d){var e=Math.floor(((d%=1)<0?++d:d)*b),f=a[(e+b-1)%b],g=a[e%b],h=a[(e+1)%b],i=a[(e+2)%b];return c((d-e/b)*b,f,g,h,i)}}function f(a){return function(){return a}}function g(a,b){return function(c){return a+c*b}}function h(a,b,c){return a=Math.pow(a,c),b=Math.pow(b,c)-a,c=1/c,function(d){return Math.pow(a+d*b,c)}}function i(a,b){var c=b-a;return c?g(a,c>180||c<-180?c-360*Math.round(c/360):c):f(isNaN(a)?b:a)}function j(a){return 1===(a=+a)?k:function(b,c){return c-b?h(b,c,a):f(isNaN(b)?c:b)}}function k(a,b){var c=b-a;return c?g(a,c):f(isNaN(a)?b:a)}function l(a){return function(c){var d,e,f=c.length,g=new Array(f),h=new Array(f),i=new Array(f);for(d=0;d<f;++d)e=b.rgb(c[d]),g[d]=e.r||0,h[d]=e.g||0,i[d]=e.b||0;return g=a(g),h=a(h),i=a(i),e.opacity=1,function(a){return e.r=g(a),e.g=h(a),e.b=i(a),e+""}}}function m(a,b){b||(b=[]);var c,d=a?Math.min(b.length,a.length):0,e=b.slice();return function(f){for(c=0;c<d;++c)e[c]=a[c]*(1-f)+b[c]*f;return e}}function n(a){return ArrayBuffer.isView(a)&&!(a instanceof DataView)}function o(a,b){return(n(b)?m:p)(a,b)}function p(a,b){var c,d=b?b.length:0,e=a?Math.min(d,a.length):0,f=new Array(e),g=new Array(d);for(c=0;c<e;++c)f[c]=w(a[c],b[c]);for(;c<d;++c)g[c]=b[c];return function(a){for(c=0;c<e;++c)g[c]=f[c](a);return g}}function q(a,b){var c=new Date;return a=+a,b=+b,function(d){return c.setTime(a*(1-d)+b*d),c}}function r(a,b){return a=+a,b=+b,function(c){return a*(1-c)+b*c}}function s(a,b){var c,d={},e={};null!==a&&"object"==typeof a||(a={}),null!==b&&"object"==typeof b||(b={});for(c in b)c in a?d[c]=w(a[c],b[c]):e[c]=b[c];return function(a){for(c in d)e[c]=d[c](a);return e}}function t(a){return function(){return a}}function u(a){return function(b){return a(b)+""}}function v(a,b){var c,d,e,f=V.lastIndex=W.lastIndex=0,g=-1,h=[],i=[];for(a+="",b+="";(c=V.exec(a))&&(d=W.exec(b));)(e=d.index)>f&&(e=b.slice(f,e),h[g]?h[g]+=e:h[++g]=e),(c=c[0])===(d=d[0])?h[g]?h[g]+=d:h[++g]=d:(h[++g]=null,i.push({i:g,x:r(c,d)})),f=W.lastIndex;return f<b.length&&(e=b.slice(f),h[g]?h[g]+=e:h[++g]=e),h.length<2?i[0]?u(i[0].x):t(b):(b=i.length,function(a){for(var c,d=0;d<b;++d)h[(c=i[d]).i]=c.x(a);return h.join("")})}function w(a,c){var d,e=typeof c;return null==c||"boolean"===e?f(c):("number"===e?r:"string"===e?(d=b.color(c))?(c=d,S):v:c instanceof b.color?S:c instanceof Date?q:n(c)?m:Array.isArray(c)?p:"function"!=typeof c.valueOf&&"function"!=typeof c.toString||isNaN(c)?s:r)(a,c)}function x(a){var b=a.length;return function(c){return a[Math.max(0,Math.min(b-1,Math.floor(c*b)))]}}function y(a,b){var c=i(+a,+b);return function(a){var b=c(a);return b-360*Math.floor(b/360)}}function z(a,b){return a=+a,b=+b,function(c){return Math.round(a*(1-c)+b*c)}}function A(a,b,c,d,e,f){var g,h,i;return(g=Math.sqrt(a*a+b*b))&&(a/=g,b/=g),(i=a*c+b*d)&&(c-=a*i,d-=b*i),(h=Math.sqrt(c*c+d*d))&&(c/=h,d/=h,i/=h),a*d<b*c&&(a=-a,b=-b,i=-i,g=-g),{translateX:e,translateY:f,rotate:Math.atan2(b,a)*X,skewX:Math.atan(i)*X,scaleX:g,scaleY:h}}function B(a){return"none"===a?Y:(O||(O=document.createElement("DIV"),P=document.documentElement,Q=document.defaultView),O.style.transform=a,a=Q.getComputedStyle(P.appendChild(O),null).getPropertyValue("transform"),P.removeChild(O),a=a.slice(7,-1).split(","),A(+a[0],+a[1],+a[2],+a[3],+a[4],+a[5]))}function C(a){return null==a?Y:(R||(R=document.createElementNS("http://www.w3.org/2000/svg","g")),R.setAttribute("transform",a),(a=R.transform.baseVal.consolidate())?(a=a.matrix,A(a.a,a.b,a.c,a.d,a.e,a.f)):Y)}function D(a,b,c,d){function e(a){return a.length?a.pop()+" ":""}function f(a,d,e,f,g,h){if(a!==e||d!==f){var i=g.push("translate(",null,b,null,c);h.push({i:i-4,x:r(a,e)},{i:i-2,x:r(d,f)})}else(e||f)&&g.push("translate("+e+b+f+c)}function g(a,b,c,f){a!==b?(a-b>180?b+=360:b-a>180&&(a+=360),f.push({i:c.push(e(c)+"rotate(",null,d)-2,x:r(a,b)})):b&&c.push(e(c)+"rotate("+b+d)}function h(a,b,c,f){a!==b?f.push({i:c.push(e(c)+"skewX(",null,d)-2,x:r(a,b)}):b&&c.push(e(c)+"skewX("+b+d)}function i(a,b,c,d,f,g){if(a!==c||b!==d){var h=f.push(e(f)+"scale(",null,",",null,")");g.push({i:h-4,x:r(a,c)},{i:h-2,x:r(b,d)})}else 1===c&&1===d||f.push(e(f)+"scale("+c+","+d+")")}return function(b,c){var d=[],e=[];return b=a(b),c=a(c),f(b.translateX,b.translateY,c.translateX,c.translateY,d,e),g(b.rotate,c.rotate,d,e),h(b.skewX,c.skewX,d,e),i(b.scaleX,b.scaleY,c.scaleX,c.scaleY,d,e),b=c=null,function(a){for(var b,c=-1,f=e.length;++c<f;)d[(b=e[c]).i]=b.x(a);return d.join("")}}}function E(a){return((a=Math.exp(a))+1/a)/2}function F(a){return((a=Math.exp(a))-1/a)/2}function G(a){return((a=Math.exp(2*a))-1)/(a+1)}function H(a,b){var c,d,e=a[0],f=a[1],g=a[2],h=b[0],i=b[1],j=b[2],k=h-e,l=i-f,m=k*k+l*l;if(m<ca)d=Math.log(j/g)/_,c=function(a){return[e+a*k,f+a*l,g*Math.exp(_*a*d)]};else{var n=Math.sqrt(m),o=(j*j-g*g+ba*m)/(2*g*aa*n),p=(j*j-g*g-ba*m)/(2*j*aa*n),q=Math.log(Math.sqrt(o*o+1)-o),r=Math.log(Math.sqrt(p*p+1)-p);d=(r-q)/_,c=function(a){var b=a*d,c=E(q),h=g/(aa*n)*(c*G(_*b+q)-F(q));return[e+h*k,f+h*l,g*c/E(_*b+q)]}}return c.duration=1e3*d,c}function I(a){return function(c,d){var e=a((c=b.hsl(c)).h,(d=b.hsl(d)).h),f=k(c.s,d.s),g=k(c.l,d.l),h=k(c.opacity,d.opacity);return function(a){return c.h=e(a),c.s=f(a),c.l=g(a),c.opacity=h(a),c+""}}}function J(a,c){var d=k((a=b.lab(a)).l,(c=b.lab(c)).l),e=k(a.a,c.a),f=k(a.b,c.b),g=k(a.opacity,c.opacity);return function(b){return a.l=d(b),a.a=e(b),a.b=f(b),a.opacity=g(b),a+""}}function K(a){return function(c,d){var e=a((c=b.hcl(c)).h,(d=b.hcl(d)).h),f=k(c.c,d.c),g=k(c.l,d.l),h=k(c.opacity,d.opacity);return function(a){return c.h=e(a),c.c=f(a),c.l=g(a),c.opacity=h(a),c+""}}}function L(a){return function c(d){function e(c,e){var f=a((c=b.cubehelix(c)).h,(e=b.cubehelix(e)).h),g=k(c.s,e.s),h=k(c.l,e.l),i=k(c.opacity,e.opacity);return function(a){return c.h=f(a),c.s=g(a),c.l=h(Math.pow(a,d)),c.opacity=i(a),c+""}}return d=+d,e.gamma=c,e}(1)}function M(a,b){for(var c=0,d=b.length-1,e=b[0],f=new Array(d<0?0:d);c<d;)f[c]=a(e,e=b[++c]);return function(a){var b=Math.max(0,Math.min(d-1,Math.floor(a*=d)));return f[b](a-b)}}function N(a,b){for(var c=new Array(b),d=0;d<b;++d)c[d]=a(d/(b-1));return c}var O,P,Q,R,S=function a(c){function d(a,c){var d=e((a=b.rgb(a)).r,(c=b.rgb(c)).r),f=e(a.g,c.g),g=e(a.b,c.b),h=k(a.opacity,c.opacity);return function(b){return a.r=d(b),a.g=f(b),a.b=g(b),a.opacity=h(b),a+""}}var e=j(c);return d.gamma=a,d}(1),T=l(d),U=l(e),V=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,W=new RegExp(V.source,"g"),X=180/Math.PI,Y={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Z=D(B,"px, ","px)","deg)"),$=D(C,", ",")",")"),_=Math.SQRT2,aa=2,ba=4,ca=1e-12,da=I(i),ea=I(k),fa=K(i),ga=K(k),ha=L(i),ia=L(k);a.interpolate=w,a.interpolateArray=o,a.interpolateBasis=d,a.interpolateBasisClosed=e,a.interpolateCubehelix=ha,a.interpolateCubehelixLong=ia,a.interpolateDate=q,a.interpolateDiscrete=x,a.interpolateHcl=fa,a.interpolateHclLong=ga,a.interpolateHsl=da,a.interpolateHslLong=ea,a.interpolateHue=y,a.interpolateLab=J,a.interpolateNumber=r,a.interpolateNumberArray=m,a.interpolateObject=s,a.interpolateRgb=S,a.interpolateRgbBasis=T,a.interpolateRgbBasisClosed=U,a.interpolateRound=z,a.interpolateString=v,a.interpolateTransformCss=Z,a.interpolateTransformSvg=$,a.interpolateZoom=H,a.piecewise=M,a.quantize=N,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-color":34}],46:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new b}var d=Math.PI,e=2*d,f=1e-6,g=e-f;b.prototype=c.prototype={constructor:b,moveTo:function(a,b){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+b)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(a,b){this._+="L"+(this._x1=+a)+","+(this._y1=+b)},quadraticCurveTo:function(a,b,c,d){this._+="Q"+ +a+","+ +b+","+(this._x1=+c)+","+(this._y1=+d)},bezierCurveTo:function(a,b,c,d,e,f){this._+="C"+ +a+","+ +b+","+ +c+","+ +d+","+(this._x1=+e)+","+(this._y1=+f)},arcTo:function(a,b,c,e,g){a=+a,b=+b,c=+c,e=+e,g=+g;var h=this._x1,i=this._y1,j=c-a,k=e-b,l=h-a,m=i-b,n=l*l+m*m;if(g<0)throw new Error("negative radius: "+g);if(null===this._x1)this._+="M"+(this._x1=a)+","+(this._y1=b);else if(n>f)if(Math.abs(m*j-k*l)>f&&g){var o=c-h,p=e-i,q=j*j+k*k,r=o*o+p*p,s=Math.sqrt(q),t=Math.sqrt(n),u=g*Math.tan((d-Math.acos((q+n-r)/(2*s*t)))/2),v=u/t,w=u/s;Math.abs(v-1)>f&&(this._+="L"+(a+v*l)+","+(b+v*m)),this._+="A"+g+","+g+",0,0,"+ +(m*o>l*p)+","+(this._x1=a+w*j)+","+(this._y1=b+w*k)}else this._+="L"+(this._x1=a)+","+(this._y1=b);else;},arc:function(a,b,c,h,i,j){a=+a,b=+b,c=+c,j=!!j;var k=c*Math.cos(h),l=c*Math.sin(h),m=a+k,n=b+l,o=1^j,p=j?h-i:i-h;if(c<0)throw new Error("negative radius: "+c);null===this._x1?this._+="M"+m+","+n:(Math.abs(this._x1-m)>f||Math.abs(this._y1-n)>f)&&(this._+="L"+m+","+n),c&&(p<0&&(p=p%e+e),p>g?this._+="A"+c+","+c+",0,1,"+o+","+(a-k)+","+(b-l)+"A"+c+","+c+",0,1,"+o+","+(this._x1=m)+","+(this._y1=n):p>f&&(this._+="A"+c+","+c+",0,"+ +(p>=d)+","+o+","+(this._x1=a+c*Math.cos(i))+","+(this._y1=b+c*Math.sin(i))))},rect:function(a,b,c,d){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+b)+"h"+ +c+"v"+ +d+"h"+-c+"Z"},toString:function(){return this._}},a.path=c,Object.defineProperty(a,"__esModule",{value:!0})})},{}],47:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a){for(var b,c=-1,d=a.length,e=a[d-1],f=0;++c<d;)b=e,e=a[c],f+=b[1]*e[0]-b[0]*e[1];return f/2}function c(a){for(var b,c,d=-1,e=a.length,f=0,g=0,h=a[e-1],i=0;++d<e;)b=h,h=a[d],i+=c=b[0]*h[1]-h[0]*b[1],f+=(b[0]+h[0])*c,g+=(b[1]+h[1])*c;return i*=3,[f/i,g/i]}function d(a,b,c){return(b[0]-a[0])*(c[1]-a[1])-(b[1]-a[1])*(c[0]-a[0])}function e(a,b){return a[0]-b[0]||a[1]-b[1]}function f(a){for(var b=a.length,c=[0,1],e=2,f=2;f<b;++f){for(;e>1&&d(a[c[e-2]],a[c[e-1]],a[f])<=0;)--e;c[e++]=f}return c.slice(0,e)}function g(a){if((c=a.length)<3)return null;var b,c,d=new Array(c),g=new Array(c);for(b=0;b<c;++b)d[b]=[+a[b][0],+a[b][1],b];for(d.sort(e),b=0;b<c;++b)g[b]=[d[b][0],-d[b][1]];var h=f(d),i=f(g),j=i[0]===h[0],k=i[i.length-1]===h[h.length-1],l=[];for(b=h.length-1;b>=0;--b)l.push(a[d[h[b]][2]]);for(b=+j;b<i.length-k;++b)l.push(a[d[i[b]][2]]);return l}function h(a,b){for(var c,d,e=a.length,f=a[e-1],g=b[0],h=b[1],i=f[0],j=f[1],k=!1,l=0;l<e;++l)f=a[l],c=f[0],d=f[1],d>h!=j>h&&g<(i-c)*(h-d)/(j-d)+c&&(k=!k),i=c,j=d;return k}function i(a){for(var b,c,d=-1,e=a.length,f=a[e-1],g=f[0],h=f[1],i=0;++d<e;)b=g,c=h,f=a[d],g=f[0],h=f[1],b-=g,c-=h,i+=Math.sqrt(b*b+c*c);return i}a.polygonArea=b,a.polygonCentroid=c,a.polygonContains=h,a.polygonHull=g,a.polygonLength=i,Object.defineProperty(a,"__esModule",{value:!0})})},{}],48:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a){var b=+this._x.call(null,a),d=+this._y.call(null,a);return c(this.cover(b,d),b,d,a)}function c(a,b,c,d){if(isNaN(b)||isNaN(c))return a;var e,f,g,h,i,j,k,l,m,n=a._root,o={data:d},p=a._x0,q=a._y0,r=a._x1,s=a._y1;if(!n)return a._root=o,a;for(;n.length;)if((j=b>=(f=(p+r)/2))?p=f:r=f,(k=c>=(g=(q+s)/2))?q=g:s=g,e=n,!(n=n[l=k<<1|j]))return e[l]=o,a;if(h=+a._x.call(null,n.data),i=+a._y.call(null,n.data),b===h&&c===i)return o.next=n,e?e[l]=o:a._root=o,a;do e=e?e[l]=new Array(4):a._root=new Array(4),(j=b>=(f=(p+r)/2))?p=f:r=f,(k=c>=(g=(q+s)/2))?q=g:s=g;while((l=k<<1|j)===(m=(i>=g)<<1|h>=f));return e[m]=n,e[l]=o,a}function d(a){var b,d,e,f,g=a.length,h=new Array(g),i=new Array(g),j=1/0,k=1/0,l=-(1/0),m=-(1/0);for(d=0;d<g;++d)isNaN(e=+this._x.call(null,b=a[d]))||isNaN(f=+this._y.call(null,b))||(h[d]=e,i[d]=f,e<j&&(j=e),e>l&&(l=e),f<k&&(k=f),f>m&&(m=f));if(j>l||k>m)return this;for(this.cover(j,k).cover(l,m),d=0;d<g;++d)c(this,h[d],i[d],a[d]);return this}function e(a,b){if(isNaN(a=+a)||isNaN(b=+b))return this;var c=this._x0,d=this._y0,e=this._x1,f=this._y1;if(isNaN(c))e=(c=Math.floor(a))+1,f=(d=Math.floor(b))+1;else{for(var g,h,i=e-c,j=this._root;c>a||a>=e||d>b||b>=f;)switch(h=(b<d)<<1|a<c,g=new Array(4),g[h]=j,j=g,i*=2,h){case 0:e=c+i,f=d+i;break;case 1:c=e-i,f=d+i;break;case 2:e=c+i,d=f-i;break;case 3:c=e-i,d=f-i}this._root&&this._root.length&&(this._root=j)}return this._x0=c,this._y0=d,this._x1=e,this._y1=f,this}function f(){var a=[];return this.visit(function(b){if(!b.length)do a.push(b.data);while(b=b.next)}),a}function g(a){return arguments.length?this.cover(+a[0][0],+a[0][1]).cover(+a[1][0],+a[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function h(a,b,c,d,e){this.node=a,this.x0=b,this.y0=c,this.x1=d,this.y1=e}function i(a,b,c){var d,e,f,g,i,j,k,l=this._x0,m=this._y0,n=this._x1,o=this._y1,p=[],q=this._root;for(q&&p.push(new h(q,l,m,n,o)),null==c?c=1/0:(l=a-c,m=b-c,n=a+c,o=b+c,c*=c);j=p.pop();)if(!(!(q=j.node)||(e=j.x0)>n||(f=j.y0)>o||(g=j.x1)<l||(i=j.y1)<m))if(q.length){var r=(e+g)/2,s=(f+i)/2;p.push(new h(q[3],r,s,g,i),new h(q[2],e,s,r,i),new h(q[1],r,f,g,s),new h(q[0],e,f,r,s)),(k=(b>=s)<<1|a>=r)&&(j=p[p.length-1],p[p.length-1]=p[p.length-1-k],p[p.length-1-k]=j)}else{var t=a-+this._x.call(null,q.data),u=b-+this._y.call(null,q.data),v=t*t+u*u;if(v<c){var w=Math.sqrt(c=v);l=a-w,m=b-w,n=a+w,o=b+w,d=q.data}}return d}function j(a){if(isNaN(f=+this._x.call(null,a))||isNaN(g=+this._y.call(null,a)))return this;var b,c,d,e,f,g,h,i,j,k,l,m,n=this._root,o=this._x0,p=this._y0,q=this._x1,r=this._y1;if(!n)return this;if(n.length)for(;;){if((j=f>=(h=(o+q)/2))?o=h:q=h,(k=g>=(i=(p+r)/2))?p=i:r=i,b=n,!(n=n[l=k<<1|j]))return this;if(!n.length)break;(b[l+1&3]||b[l+2&3]||b[l+3&3])&&(c=b,m=l)}for(;n.data!==a;)if(d=n,!(n=n.next))return this;return(e=n.next)&&delete n.next,d?(e?d.next=e:delete d.next,this):b?(e?b[l]=e:delete b[l],(n=b[0]||b[1]||b[2]||b[3])&&n===(b[3]||b[2]||b[1]||b[0])&&!n.length&&(c?c[m]=n:this._root=n),this):(this._root=e,this)}function k(a){for(var b=0,c=a.length;b<c;++b)this.remove(a[b]);return this}function l(){return this._root}function m(){var a=0;return this.visit(function(b){if(!b.length)do++a;while(b=b.next)}),a}function n(a){var b,c,d,e,f,g,i=[],j=this._root;for(j&&i.push(new h(j,this._x0,this._y0,this._x1,this._y1));b=i.pop();)if(!a(j=b.node,d=b.x0,e=b.y0,f=b.x1,g=b.y1)&&j.length){var k=(d+f)/2,l=(e+g)/2;(c=j[3])&&i.push(new h(c,k,l,f,g)),(c=j[2])&&i.push(new h(c,d,l,k,g)),(c=j[1])&&i.push(new h(c,k,e,f,l)),(c=j[0])&&i.push(new h(c,d,e,k,l))}return this}function o(a){var b,c=[],d=[];for(this._root&&c.push(new h(this._root,this._x0,this._y0,this._x1,this._y1));b=c.pop();){var e=b.node;if(e.length){var f,g=b.x0,i=b.y0,j=b.x1,k=b.y1,l=(g+j)/2,m=(i+k)/2;(f=e[0])&&c.push(new h(f,g,i,l,m)),(f=e[1])&&c.push(new h(f,l,i,j,m)),(f=e[2])&&c.push(new h(f,g,m,l,k)),(f=e[3])&&c.push(new h(f,l,m,j,k))}d.push(b)}for(;b=d.pop();)a(b.node,b.x0,b.y0,b.x1,b.y1);return this}function p(a){return a[0]}function q(a){return arguments.length?(this._x=a,this):this._x}function r(a){return a[1]}function s(a){return arguments.length?(this._y=a,this):this._y}function t(a,b,c){var d=new u(null==b?p:b,null==c?r:c,NaN,NaN,NaN,NaN);return null==a?d:d.addAll(a)}function u(a,b,c,d,e,f){this._x=a,this._y=b,this._x0=c,this._y0=d,this._x1=e,this._y1=f,this._root=void 0}function v(a){for(var b={data:a.data},c=b;a=a.next;)c=c.next={data:a.data};return b}var w=t.prototype=u.prototype;w.copy=function(){var a,b,c=new u(this._x,this._y,this._x0,this._y0,this._x1,this._y1),d=this._root;if(!d)return c;if(!d.length)return c._root=v(d),c;for(a=[{source:d,target:c._root=new Array(4)}];d=a.pop();)for(var e=0;e<4;++e)(b=d.source[e])&&(b.length?a.push({source:b,target:d.target[e]=new Array(4)}):d.target[e]=v(b));return c},w.add=b,w.addAll=d,w.cover=e,w.data=f,w.extent=g,w.find=i,w.remove=j,w.removeAll=k,w.root=l,w.size=m,w.visit=n,w.visitAfter=o,w.x=q,w.y=s,a.quadtree=t,Object.defineProperty(a,"__esModule",{value:!0})})},{}],49:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):e(b.d3=b.d3||{})}(this,function(a){"use strict";function b(){return Math.random()}var c=function a(b){function c(a,c){return a=null==a?0:+a,c=null==c?1:+c,1===arguments.length?(c=a,a=0):c-=a,function(){return b()*c+a}}return c.source=a,c}(b),d=function a(b){function c(a,c){var d,e;return a=null==a?0:+a,c=null==c?1:+c,function(){var f;if(null!=d)f=d,d=null;else do d=2*b()-1,f=2*b()-1,e=d*d+f*f;while(!e||e>1);return a+c*f*Math.sqrt(-2*Math.log(e)/e)}}return c.source=a,c}(b),e=function a(b){function c(){var a=d.source(b).apply(this,arguments);return function(){return Math.exp(a())}}return c.source=a,c}(b),f=function a(b){function c(a){return function(){for(var c=0,d=0;d<a;++d)c+=b();return c}}return c.source=a,c}(b),g=function a(b){function c(a){var c=f.source(b)(a);return function(){return c()/a}}return c.source=a,c}(b),h=function a(b){function c(a){return function(){return-Math.log(1-b())/a}}return c.source=a,c}(b);a.randomUniform=c,a.randomNormal=d,a.randomLogNormal=e,a.randomBates=g,a.randomIrwinHall=f,a.randomExponential=h,Object.defineProperty(a,"__esModule",{value:!0})})},{}],50:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-interpolate"),b("d3-color")):"function"==typeof a&&a.amd?a(["exports","d3-interpolate","d3-color"],f):(e=e||self,f(e.d3=e.d3||{},e.d3,e.d3))}(this,function(a,b,c){"use strict";function d(a){for(var b=a.length/6|0,c=new Array(b),d=0;d<b;)c[d]="#"+a.slice(6*d,6*++d);return c}function e(a){return b.interpolateRgbBasis(a[a.length-1])}function f(a){return a=Math.max(0,Math.min(1,a)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-a*(35.34-a*(2381.73-a*(6402.7-a*(7024.72-2710.57*a)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+a*(170.73+a*(52.82-a*(131.46-a*(176.58-67.37*a)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+a*(442.36-a*(2482.43-a*(6167.24-a*(6614.94-2475.67*a)))))))+")"}function g(a){(a<0||a>1)&&(a-=Math.floor(a));var b=Math.abs(a-.5);return xa.h=360*a-100,xa.s=1.5-1.5*b,xa.l=.8-.9*b,xa+""}function h(a){var b;return a=(.5-a)*Math.PI,ya.r=255*(b=Math.sin(a))*b,ya.g=255*(b=Math.sin(a+za))*b,ya.b=255*(b=Math.sin(a+Aa))*b,ya+""}function i(a){return a=Math.max(0,Math.min(1,a)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+a*(1172.33-a*(10793.56-a*(33300.12-a*(38394.49-14825.05*a)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+a*(557.33+a*(1225.33-a*(3574.96-a*(1073.77+707.56*a)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+a*(3211.1-a*(15327.97-a*(27814-a*(22569.18-6838.66*a)))))))+")"}function j(a){var b=a.length;return function(c){return a[Math.max(0,Math.min(b-1,Math.floor(c*b)))]}}var k=d("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),l=d("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),m=d("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),n=d("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),o=d("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),p=d("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),q=d("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),r=d("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),s=d("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),t=d("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),u=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(d),v=e(u),w=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(d),x=e(w),y=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(d),z=e(y),A=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(d),B=e(A),C=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(d),D=e(C),E=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(d),F=e(E),G=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(d),H=e(G),I=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(d),J=e(I),K=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(d),L=e(K),M=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(d),N=e(M),O=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(d),P=e(O),Q=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(d),R=e(Q),S=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(d),T=e(S),U=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(d),V=e(U),W=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(d),X=e(W),Y=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(d),Z=e(Y),$=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(d),_=e($),aa=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(d),ba=e(aa),ca=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(d),da=e(ca),ea=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(d),fa=e(ea),ga=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(d),ha=e(ga),ia=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(d),ja=e(ia),ka=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(d),la=e(ka),ma=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(d),na=e(ma),oa=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(d),pa=e(oa),qa=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(d),ra=e(qa),sa=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(d),ta=e(sa),ua=b.interpolateCubehelixLong(c.cubehelix(300,.5,0),c.cubehelix(-240,.5,1)),va=b.interpolateCubehelixLong(c.cubehelix(-100,.75,.35),c.cubehelix(80,1.5,.8)),wa=b.interpolateCubehelixLong(c.cubehelix(260,.75,.35),c.cubehelix(80,1.5,.8)),xa=c.cubehelix(),ya=c.rgb(),za=Math.PI/3,Aa=2*Math.PI/3,Ba=j(d("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Ca=j(d("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Da=j(d("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Ea=j(d("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
- a.interpolateBlues=ja,a.interpolateBrBG=v,a.interpolateBuGn=N,a.interpolateBuPu=P,a.interpolateCividis=f,a.interpolateCool=wa,a.interpolateCubehelixDefault=ua,a.interpolateGnBu=R,a.interpolateGreens=la,a.interpolateGreys=na,a.interpolateInferno=Da,a.interpolateMagma=Ca,a.interpolateOrRd=T,a.interpolateOranges=ta,a.interpolatePRGn=x,a.interpolatePiYG=z,a.interpolatePlasma=Ea,a.interpolatePuBu=X,a.interpolatePuBuGn=V,a.interpolatePuOr=B,a.interpolatePuRd=Z,a.interpolatePurples=pa,a.interpolateRainbow=g,a.interpolateRdBu=D,a.interpolateRdGy=F,a.interpolateRdPu=_,a.interpolateRdYlBu=H,a.interpolateRdYlGn=J,a.interpolateReds=ra,a.interpolateSinebow=h,a.interpolateSpectral=L,a.interpolateTurbo=i,a.interpolateViridis=Ba,a.interpolateWarm=va,a.interpolateYlGn=da,a.interpolateYlGnBu=ba,a.interpolateYlOrBr=fa,a.interpolateYlOrRd=ha,a.schemeAccent=l,a.schemeBlues=ia,a.schemeBrBG=u,a.schemeBuGn=M,a.schemeBuPu=O,a.schemeCategory10=k,a.schemeDark2=m,a.schemeGnBu=Q,a.schemeGreens=ka,a.schemeGreys=ma,a.schemeOrRd=S,a.schemeOranges=sa,a.schemePRGn=w,a.schemePaired=n,a.schemePastel1=o,a.schemePastel2=p,a.schemePiYG=y,a.schemePuBu=W,a.schemePuBuGn=U,a.schemePuOr=A,a.schemePuRd=Y,a.schemePurples=oa,a.schemeRdBu=C,a.schemeRdGy=E,a.schemeRdPu=$,a.schemeRdYlBu=G,a.schemeRdYlGn=I,a.schemeReds=qa,a.schemeSet1=q,a.schemeSet2=r,a.schemeSet3=s,a.schemeSpectral=K,a.schemeTableau10=t,a.schemeYlGn=ca,a.schemeYlGnBu=aa,a.schemeYlOrBr=ea,a.schemeYlOrRd=ga,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-color":34,"d3-interpolate":45}],51:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-collection"),b("d3-array"),b("d3-interpolate"),b("d3-format"),b("d3-time"),b("d3-time-format")):"function"==typeof a&&a.amd?a(["exports","d3-collection","d3-array","d3-interpolate","d3-format","d3-time","d3-time-format"],f):f(e.d3=e.d3||{},e.d3,e.d3,e.d3,e.d3,e.d3,e.d3)}(this,function(a,b,c,d,e,f,g){"use strict";function h(a,b){switch(arguments.length){case 0:break;case 1:this.range(a);break;default:this.range(b).domain(a)}return this}function i(a,b){switch(arguments.length){case 0:break;case 1:this.interpolator(a);break;default:this.interpolator(b).domain(a)}return this}function j(){function a(a){var b=a+"",g=c.get(b);if(!g){if(f!==ta)return f;c.set(b,g=d.push(a))}return e[(g-1)%e.length]}var c=b.map(),d=[],e=[],f=ta;return a.domain=function(e){if(!arguments.length)return d.slice();d=[],c=b.map();for(var f,g,h=-1,i=e.length;++h<i;)c.has(g=(f=e[h])+"")||c.set(g,d.push(f));return a},a.range=function(b){return arguments.length?(e=sa.call(b),a):e.slice()},a.unknown=function(b){return arguments.length?(f=b,a):f},a.copy=function(){return j(d,e).unknown(f)},h.apply(a,arguments),a}function k(){function a(){var a=f().length,e=i[1]<i[0],h=i[e-0],j=i[1-e];b=(j-h)/Math.max(1,a-m+2*n),l&&(b=Math.floor(b)),h+=(j-h-b*(a-m))*o,d=b*(1-m),l&&(h=Math.round(h),d=Math.round(d));var k=c.range(a).map(function(a){return h+b*a});return g(e?k.reverse():k)}var b,d,e=j().unknown(void 0),f=e.domain,g=e.range,i=[0,1],l=!1,m=0,n=0,o=.5;return delete e.unknown,e.domain=function(b){return arguments.length?(f(b),a()):f()},e.range=function(b){return arguments.length?(i=[+b[0],+b[1]],a()):i.slice()},e.rangeRound=function(b){return i=[+b[0],+b[1]],l=!0,a()},e.bandwidth=function(){return d},e.step=function(){return b},e.round=function(b){return arguments.length?(l=!!b,a()):l},e.padding=function(b){return arguments.length?(m=Math.min(1,n=+b),a()):m},e.paddingInner=function(b){return arguments.length?(m=Math.min(1,b),a()):m},e.paddingOuter=function(b){return arguments.length?(n=+b,a()):n},e.align=function(b){return arguments.length?(o=Math.max(0,Math.min(1,b)),a()):o},e.copy=function(){return k(f(),i).round(l).paddingInner(m).paddingOuter(n).align(o)},h.apply(a(),arguments)}function l(a){var b=a.copy;return a.padding=a.paddingOuter,delete a.paddingInner,delete a.paddingOuter,a.copy=function(){return l(b())},a}function m(){return l(k.apply(null,arguments).paddingInner(1))}function n(a){return function(){return a}}function o(a){return+a}function p(a){return a}function q(a,b){return(b-=a=+a)?function(c){return(c-a)/b}:n(isNaN(b)?NaN:.5)}function r(a){var b,c=a[0],d=a[a.length-1];return c>d&&(b=c,c=d,d=b),function(a){return Math.max(c,Math.min(d,a))}}function s(a,b,c){var d=a[0],e=a[1],f=b[0],g=b[1];return e<d?(d=q(e,d),f=c(g,f)):(d=q(d,e),f=c(f,g)),function(a){return f(d(a))}}function t(a,b,d){var e=Math.min(a.length,b.length)-1,f=new Array(e),g=new Array(e),h=-1;for(a[e]<a[0]&&(a=a.slice().reverse(),b=b.slice().reverse());++h<e;)f[h]=q(a[h],a[h+1]),g[h]=d(b[h],b[h+1]);return function(b){var d=c.bisect(a,b,1,e)-1;return g[d](f[d](b))}}function u(a,b){return b.domain(a.domain()).range(a.range()).interpolate(a.interpolate()).clamp(a.clamp()).unknown(a.unknown())}function v(){function a(){return g=Math.min(j.length,k.length)>2?t:s,h=i=null,b}function b(a){return isNaN(a=+a)?f:(h||(h=g(j.map(c),k,l)))(c(m(a)))}var c,e,f,g,h,i,j=ua,k=ua,l=d.interpolate,m=p;return b.invert=function(a){return m(e((i||(i=g(k,j.map(c),d.interpolateNumber)))(a)))},b.domain=function(b){return arguments.length?(j=ra.call(b,o),m===p||(m=r(j)),a()):j.slice()},b.range=function(b){return arguments.length?(k=sa.call(b),a()):k.slice()},b.rangeRound=function(b){return k=sa.call(b),l=d.interpolateRound,a()},b.clamp=function(a){return arguments.length?(m=a?r(j):p,b):m!==p},b.interpolate=function(b){return arguments.length?(l=b,a()):l},b.unknown=function(a){return arguments.length?(f=a,b):f},function(b,d){return c=b,e=d,a()}}function w(a,b){return v()(a,b)}function x(a,b,d,f){var g,h=c.tickStep(a,b,d);switch(f=e.formatSpecifier(null==f?",f":f),f.type){case"s":var i=Math.max(Math.abs(a),Math.abs(b));return null!=f.precision||isNaN(g=e.precisionPrefix(h,i))||(f.precision=g),e.formatPrefix(f,i);case"":case"e":case"g":case"p":case"r":null!=f.precision||isNaN(g=e.precisionRound(h,Math.max(Math.abs(a),Math.abs(b))))||(f.precision=g-("e"===f.type));break;case"f":case"%":null!=f.precision||isNaN(g=e.precisionFixed(h))||(f.precision=g-2*("%"===f.type))}return e.format(f)}function y(a){var b=a.domain;return a.ticks=function(a){var d=b();return c.ticks(d[0],d[d.length-1],null==a?10:a)},a.tickFormat=function(a,c){var d=b();return x(d[0],d[d.length-1],null==a?10:a,c)},a.nice=function(d){null==d&&(d=10);var e,f=b(),g=0,h=f.length-1,i=f[g],j=f[h];return j<i&&(e=i,i=j,j=e,e=g,g=h,h=e),e=c.tickIncrement(i,j,d),e>0?(i=Math.floor(i/e)*e,j=Math.ceil(j/e)*e,e=c.tickIncrement(i,j,d)):e<0&&(i=Math.ceil(i*e)/e,j=Math.floor(j*e)/e,e=c.tickIncrement(i,j,d)),e>0?(f[g]=Math.floor(i/e)*e,f[h]=Math.ceil(j/e)*e,b(f)):e<0&&(f[g]=Math.ceil(i*e)/e,f[h]=Math.floor(j*e)/e,b(f)),a},a}function z(){var a=w(p,p);return a.copy=function(){return u(a,z())},h.apply(a,arguments),y(a)}function A(a){function b(a){return isNaN(a=+a)?c:a}var c;return b.invert=b,b.domain=b.range=function(c){return arguments.length?(a=ra.call(c,o),b):a.slice()},b.unknown=function(a){return arguments.length?(c=a,b):c},b.copy=function(){return A(a).unknown(c)},a=arguments.length?ra.call(a,o):[0,1],y(b)}function B(a,b){a=a.slice();var c,d=0,e=a.length-1,f=a[d],g=a[e];return g<f&&(c=d,d=e,e=c,c=f,f=g,g=c),a[d]=b.floor(f),a[e]=b.ceil(g),a}function C(a){return Math.log(a)}function D(a){return Math.exp(a)}function E(a){return-Math.log(-a)}function F(a){return-Math.exp(-a)}function G(a){return isFinite(a)?+("1e"+a):a<0?0:a}function H(a){return 10===a?G:a===Math.E?Math.exp:function(b){return Math.pow(a,b)}}function I(a){return a===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),function(b){return Math.log(b)/a})}function J(a){return function(b){return-a(-b)}}function K(a){function b(){return d=I(i),f=H(i),h()[0]<0?(d=J(d),f=J(f),a(E,F)):a(C,D),g}var d,f,g=a(C,D),h=g.domain,i=10;return g.base=function(a){return arguments.length?(i=+a,b()):i},g.domain=function(a){return arguments.length?(h(a),b()):h()},g.ticks=function(a){var b,e=h(),g=e[0],j=e[e.length-1];(b=j<g)&&(n=g,g=j,j=n);var k,l,m,n=d(g),o=d(j),p=null==a?10:+a,q=[];if(!(i%1)&&o-n<p){if(n=Math.round(n)-1,o=Math.round(o)+1,g>0){for(;n<o;++n)for(l=1,k=f(n);l<i;++l)if(m=k*l,!(m<g)){if(m>j)break;q.push(m)}}else for(;n<o;++n)for(l=i-1,k=f(n);l>=1;--l)if(m=k*l,!(m<g)){if(m>j)break;q.push(m)}}else q=c.ticks(n,o,Math.min(o-n,p)).map(f);return b?q.reverse():q},g.tickFormat=function(a,b){if(null==b&&(b=10===i?".0e":","),"function"!=typeof b&&(b=e.format(b)),a===1/0)return b;null==a&&(a=10);var c=Math.max(1,i*a/g.ticks().length);return function(a){var e=a/f(Math.round(d(a)));return e*i<i-.5&&(e*=i),e<=c?b(a):""}},g.nice=function(){return h(B(h(),{floor:function(a){return f(Math.floor(d(a)))},ceil:function(a){return f(Math.ceil(d(a)))}}))},g}function L(){var a=K(v()).domain([1,10]);return a.copy=function(){return u(a,L()).base(a.base())},h.apply(a,arguments),a}function M(a){return function(b){return Math.sign(b)*Math.log1p(Math.abs(b/a))}}function N(a){return function(b){return Math.sign(b)*Math.expm1(Math.abs(b))*a}}function O(a){var b=1,c=a(M(b),N(b));return c.constant=function(c){return arguments.length?a(M(b=+c),N(b)):b},y(c)}function P(){var a=O(v());return a.copy=function(){return u(a,P()).constant(a.constant())},h.apply(a,arguments)}function Q(a){return function(b){return b<0?-Math.pow(-b,a):Math.pow(b,a)}}function R(a){return a<0?-Math.sqrt(-a):Math.sqrt(a)}function S(a){return a<0?-a*a:a*a}function T(a){function b(){return 1===d?a(p,p):.5===d?a(R,S):a(Q(d),Q(1/d))}var c=a(p,p),d=1;return c.exponent=function(a){return arguments.length?(d=+a,b()):d},y(c)}function U(){var a=T(v());return a.copy=function(){return u(a,U()).exponent(a.exponent())},h.apply(a,arguments),a}function V(){return U.apply(null,arguments).exponent(.5)}function W(){function a(){var a=0,d=Math.max(1,f.length);for(g=new Array(d-1);++a<d;)g[a-1]=c.quantile(e,a/d);return b}function b(a){return isNaN(a=+a)?d:f[c.bisect(g,a)]}var d,e=[],f=[],g=[];return b.invertExtent=function(a){var b=f.indexOf(a);return b<0?[NaN,NaN]:[b>0?g[b-1]:e[0],b<g.length?g[b]:e[e.length-1]]},b.domain=function(b){if(!arguments.length)return e.slice();e=[];for(var d,f=0,g=b.length;f<g;++f)d=b[f],null==d||isNaN(d=+d)||e.push(d);return e.sort(c.ascending),a()},b.range=function(b){return arguments.length?(f=sa.call(b),a()):f.slice()},b.unknown=function(a){return arguments.length?(d=a,b):d},b.quantiles=function(){return g.slice()},b.copy=function(){return W().domain(e).range(f).unknown(d)},h.apply(b,arguments)}function X(){function a(a){return a<=a?j[c.bisect(i,a,0,g)]:d}function b(){var b=-1;for(i=new Array(g);++b<g;)i[b]=((b+1)*f-(b-g)*e)/(g+1);return a}var d,e=0,f=1,g=1,i=[.5],j=[0,1];return a.domain=function(a){return arguments.length?(e=+a[0],f=+a[1],b()):[e,f]},a.range=function(a){return arguments.length?(g=(j=sa.call(a)).length-1,b()):j.slice()},a.invertExtent=function(a){var b=j.indexOf(a);return b<0?[NaN,NaN]:b<1?[e,i[0]]:b>=g?[i[g-1],f]:[i[b-1],i[b]]},a.unknown=function(b){return arguments.length?(d=b,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return X().domain([e,f]).range(j).unknown(d)},h.apply(y(a),arguments)}function Y(){function a(a){return a<=a?e[c.bisect(d,a,0,f)]:b}var b,d=[.5],e=[0,1],f=1;return a.domain=function(b){return arguments.length?(d=sa.call(b),f=Math.min(d.length,e.length-1),a):d.slice()},a.range=function(b){return arguments.length?(e=sa.call(b),f=Math.min(d.length,e.length-1),a):e.slice()},a.invertExtent=function(a){var b=e.indexOf(a);return[d[b-1],d[b]]},a.unknown=function(c){return arguments.length?(b=c,a):b},a.copy=function(){return Y().domain(d).range(e).unknown(b)},h.apply(a,arguments)}function Z(a){return new Date(a)}function $(a){return a instanceof Date?+a:+new Date(+a)}function _(a,b,d,e,f,g,h,i,j){function k(c){return(h(c)<c?q:g(c)<c?r:f(c)<c?s:e(c)<c?t:b(c)<c?d(c)<c?v:x:a(c)<c?y:z)(c)}function l(b,d,e,f){if(null==b&&(b=10),"number"==typeof b){var g=Math.abs(e-d)/b,h=c.bisector(function(a){return a[2]}).right(A,g);h===A.length?(f=c.tickStep(d/Ba,e/Ba,b),b=a):h?(h=A[g/A[h-1][2]<A[h][2]/g?h-1:h],f=h[1],b=h[0]):(f=Math.max(c.tickStep(d,e,b),1),b=i)}return null==f?b:b.every(f)}var m=w(p,p),n=m.invert,o=m.domain,q=j(".%L"),r=j(":%S"),s=j("%I:%M"),t=j("%I %p"),v=j("%a %d"),x=j("%b %d"),y=j("%B"),z=j("%Y"),A=[[h,1,va],[h,5,5*va],[h,15,15*va],[h,30,30*va],[g,1,wa],[g,5,5*wa],[g,15,15*wa],[g,30,30*wa],[f,1,xa],[f,3,3*xa],[f,6,6*xa],[f,12,12*xa],[e,1,ya],[e,2,2*ya],[d,1,za],[b,1,Aa],[b,3,3*Aa],[a,1,Ba]];return m.invert=function(a){return new Date(n(a))},m.domain=function(a){return arguments.length?o(ra.call(a,$)):o().map(Z)},m.ticks=function(a,b){var c,d=o(),e=d[0],f=d[d.length-1],g=f<e;return g&&(c=e,e=f,f=c),c=l(a,e,f,b),c=c?c.range(e,f+1):[],g?c.reverse():c},m.tickFormat=function(a,b){return null==b?k:j(b)},m.nice=function(a,b){var c=o();return(a=l(a,c[0],c[c.length-1],b))?o(B(c,a)):m},m.copy=function(){return u(m,_(a,b,d,e,f,g,h,i,j))},m}function aa(){return h.apply(_(f.timeYear,f.timeMonth,f.timeWeek,f.timeDay,f.timeHour,f.timeMinute,f.timeSecond,f.timeMillisecond,g.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function ba(){return h.apply(_(f.utcYear,f.utcMonth,f.utcWeek,f.utcDay,f.utcHour,f.utcMinute,f.utcSecond,f.utcMillisecond,g.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ca(){function a(a){return isNaN(a=+a)?f:i(0===d?.5:(a=(e(a)-b)*d,j?Math.max(0,Math.min(1,a)):a))}var b,c,d,e,f,g=0,h=1,i=p,j=!1;return a.domain=function(f){return arguments.length?(b=e(g=+f[0]),c=e(h=+f[1]),d=b===c?0:1/(c-b),a):[g,h]},a.clamp=function(b){return arguments.length?(j=!!b,a):j},a.interpolator=function(b){return arguments.length?(i=b,a):i},a.unknown=function(b){return arguments.length?(f=b,a):f},function(f){return e=f,b=f(g),c=f(h),d=b===c?0:1/(c-b),a}}function da(a,b){return b.domain(a.domain()).interpolator(a.interpolator()).clamp(a.clamp()).unknown(a.unknown())}function ea(){var a=y(ca()(p));return a.copy=function(){return da(a,ea())},i.apply(a,arguments)}function fa(){var a=K(ca()).domain([1,10]);return a.copy=function(){return da(a,fa()).base(a.base())},i.apply(a,arguments)}function ga(){var a=O(ca());return a.copy=function(){return da(a,ga()).constant(a.constant())},i.apply(a,arguments)}function ha(){var a=T(ca());return a.copy=function(){return da(a,ha()).exponent(a.exponent())},i.apply(a,arguments)}function ia(){return ha.apply(null,arguments).exponent(.5)}function ja(){function a(a){if(!isNaN(a=+a))return d((c.bisect(b,a)-1)/(b.length-1))}var b=[],d=p;return a.domain=function(d){if(!arguments.length)return b.slice();b=[];for(var e,f=0,g=d.length;f<g;++f)e=d[f],null==e||isNaN(e=+e)||b.push(e);return b.sort(c.ascending),a},a.interpolator=function(b){return arguments.length?(d=b,a):d},a.copy=function(){return ja(d).domain(b)},i.apply(a,arguments)}function ka(){function a(a){return isNaN(a=+a)?h:(a=.5+((a=+g(a))-c)*(a<c?e:f),l(m?Math.max(0,Math.min(1,a)):a))}var b,c,d,e,f,g,h,i=0,j=.5,k=1,l=p,m=!1;return a.domain=function(h){return arguments.length?(b=g(i=+h[0]),c=g(j=+h[1]),d=g(k=+h[2]),e=b===c?0:.5/(c-b),f=c===d?0:.5/(d-c),a):[i,j,k]},a.clamp=function(b){return arguments.length?(m=!!b,a):m},a.interpolator=function(b){return arguments.length?(l=b,a):l},a.unknown=function(b){return arguments.length?(h=b,a):h},function(h){return g=h,b=h(i),c=h(j),d=h(k),e=b===c?0:.5/(c-b),f=c===d?0:.5/(d-c),a}}function la(){var a=y(ka()(p));return a.copy=function(){return da(a,la())},i.apply(a,arguments)}function ma(){var a=K(ka()).domain([.1,1,10]);return a.copy=function(){return da(a,ma()).base(a.base())},i.apply(a,arguments)}function na(){var a=O(ka());return a.copy=function(){return da(a,na()).constant(a.constant())},i.apply(a,arguments)}function oa(){var a=T(ka());return a.copy=function(){return da(a,oa()).exponent(a.exponent())},i.apply(a,arguments)}function pa(){return oa.apply(null,arguments).exponent(.5)}var qa=Array.prototype,ra=qa.map,sa=qa.slice,ta={name:"implicit"},ua=[0,1],va=1e3,wa=60*va,xa=60*wa,ya=24*xa,za=7*ya,Aa=30*ya,Ba=365*ya;a.scaleBand=k,a.scalePoint=m,a.scaleIdentity=A,a.scaleLinear=z,a.scaleLog=L,a.scaleSymlog=P,a.scaleOrdinal=j,a.scaleImplicit=ta,a.scalePow=U,a.scaleSqrt=V,a.scaleQuantile=W,a.scaleQuantize=X,a.scaleThreshold=Y,a.scaleTime=aa,a.scaleUtc=ba,a.scaleSequential=ea,a.scaleSequentialLog=fa,a.scaleSequentialPow=ha,a.scaleSequentialSqrt=ia,a.scaleSequentialSymlog=ga,a.scaleSequentialQuantile=ja,a.scaleDiverging=la,a.scaleDivergingLog=ma,a.scaleDivergingPow=oa,a.scaleDivergingSqrt=pa,a.scaleDivergingSymlog=na,a.tickFormat=x,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-array":29,"d3-collection":33,"d3-format":42,"d3-interpolate":45,"d3-time":55,"d3-time-format":54}],52:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a){var b=a+="",c=b.indexOf(":");return c>=0&&"xmlns"!==(b=a.slice(0,c))&&(a=a.slice(c+1)),Xa.hasOwnProperty(b)?{space:Xa[b],local:a}:a}function c(a){return function(){var b=this.ownerDocument,c=this.namespaceURI;return c===Wa&&b.documentElement.namespaceURI===Wa?b.createElement(a):b.createElementNS(c,a)}}function d(a){return function(){return this.ownerDocument.createElementNS(a.space,a.local)}}function e(a){var e=b(a);return(e.local?d:c)(e)}function f(){}function g(a){return null==a?f:function(){return this.querySelector(a)}}function h(a){"function"!=typeof a&&(a=g(a));for(var b=this._groups,c=b.length,d=new Array(c),e=0;e<c;++e)for(var f,h,i=b[e],j=i.length,k=d[e]=new Array(j),l=0;l<j;++l)(f=i[l])&&(h=a.call(f,f.__data__,l,i))&&("__data__"in f&&(h.__data__=f.__data__),k[l]=h);return new Ka(d,this._parents)}function i(){return[]}function j(a){return null==a?i:function(){return this.querySelectorAll(a)}}function k(a){"function"!=typeof a&&(a=j(a));for(var b=this._groups,c=b.length,d=[],e=[],f=0;f<c;++f)for(var g,h=b[f],i=h.length,k=0;k<i;++k)(g=h[k])&&(d.push(a.call(g,g.__data__,k,h)),e.push(g));return new Ka(d,e)}function l(a){return function(){return this.matches(a)}}function m(a){"function"!=typeof a&&(a=l(a));for(var b=this._groups,c=b.length,d=new Array(c),e=0;e<c;++e)for(var f,g=b[e],h=g.length,i=d[e]=[],j=0;j<h;++j)(f=g[j])&&a.call(f,f.__data__,j,g)&&i.push(f);return new Ka(d,this._parents)}function n(a){return new Array(a.length)}function o(){return new Ka(this._enter||this._groups.map(n),this._parents)}function p(a,b){this.ownerDocument=a.ownerDocument,this.namespaceURI=a.namespaceURI,this._next=null,this._parent=a,this.__data__=b}function q(a){return function(){return a}}function r(a,b,c,d,e,f){for(var g,h=0,i=b.length,j=f.length;h<j;++h)(g=b[h])?(g.__data__=f[h],d[h]=g):c[h]=new p(a,f[h]);for(;h<i;++h)(g=b[h])&&(e[h]=g)}function s(a,b,c,d,e,f,g){var h,i,j,k={},l=b.length,m=f.length,n=new Array(l);for(h=0;h<l;++h)(i=b[h])&&(n[h]=j=Ya+g.call(i,i.__data__,h,b),j in k?e[h]=i:k[j]=i);for(h=0;h<m;++h)j=Ya+g.call(a,f[h],h,f),(i=k[j])?(d[h]=i,i.__data__=f[h],k[j]=null):c[h]=new p(a,f[h]);for(h=0;h<l;++h)(i=b[h])&&k[n[h]]===i&&(e[h]=i)}function t(a,b){if(!a)return n=new Array(this.size()),j=-1,this.each(function(a){n[++j]=a}),n;var c=b?s:r,d=this._parents,e=this._groups;"function"!=typeof a&&(a=q(a));for(var f=e.length,g=new Array(f),h=new Array(f),i=new Array(f),j=0;j<f;++j){var k=d[j],l=e[j],m=l.length,n=a.call(k,k&&k.__data__,j,d),o=n.length,p=h[j]=new Array(o),t=g[j]=new Array(o),u=i[j]=new Array(m);c(k,l,p,t,u,n,b);for(var v,w,x=0,y=0;x<o;++x)if(v=p[x]){for(x>=y&&(y=x+1);!(w=t[y])&&++y<o;);v._next=w||null}}return g=new Ka(g,d),g._enter=h,g._exit=i,g}function u(){return new Ka(this._exit||this._groups.map(n),this._parents)}function v(a,b,c){var d=this.enter(),e=this,f=this.exit();return d="function"==typeof a?a(d):d.append(a+""),null!=b&&(e=b(e)),null==c?f.remove():c(f),d&&e?d.merge(e).order():e}function w(a){for(var b=this._groups,c=a._groups,d=b.length,e=c.length,f=Math.min(d,e),g=new Array(d),h=0;h<f;++h)for(var i,j=b[h],k=c[h],l=j.length,m=g[h]=new Array(l),n=0;n<l;++n)(i=j[n]||k[n])&&(m[n]=i);for(;h<d;++h)g[h]=b[h];return new Ka(g,this._parents)}function x(){for(var a=this._groups,b=-1,c=a.length;++b<c;)for(var d,e=a[b],f=e.length-1,g=e[f];--f>=0;)(d=e[f])&&(g&&4^d.compareDocumentPosition(g)&&g.parentNode.insertBefore(d,g),g=d);return this}function y(a){function b(b,c){return b&&c?a(b.__data__,c.__data__):!b-!c}a||(a=z);for(var c=this._groups,d=c.length,e=new Array(d),f=0;f<d;++f){for(var g,h=c[f],i=h.length,j=e[f]=new Array(i),k=0;k<i;++k)(g=h[k])&&(j[k]=g);j.sort(b)}return new Ka(e,this._parents).order()}function z(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}function A(){var a=arguments[0];return arguments[0]=this,a.apply(null,arguments),this}function B(){var a=new Array(this.size()),b=-1;return this.each(function(){a[++b]=this}),a}function C(){for(var a=this._groups,b=0,c=a.length;b<c;++b)for(var d=a[b],e=0,f=d.length;e<f;++e){var g=d[e];if(g)return g}return null}function D(){var a=0;return this.each(function(){++a}),a}function E(){return!this.node()}function F(a){for(var b=this._groups,c=0,d=b.length;c<d;++c)for(var e,f=b[c],g=0,h=f.length;g<h;++g)(e=f[g])&&a.call(e,e.__data__,g,f);return this}function G(a){return function(){this.removeAttribute(a)}}function H(a){return function(){this.removeAttributeNS(a.space,a.local)}}function I(a,b){return function(){this.setAttribute(a,b)}}function J(a,b){return function(){this.setAttributeNS(a.space,a.local,b)}}function K(a,b){return function(){var c=b.apply(this,arguments);null==c?this.removeAttribute(a):this.setAttribute(a,c)}}function L(a,b){return function(){var c=b.apply(this,arguments);null==c?this.removeAttributeNS(a.space,a.local):this.setAttributeNS(a.space,a.local,c)}}function M(a,c){var d=b(a);if(arguments.length<2){var e=this.node();return d.local?e.getAttributeNS(d.space,d.local):e.getAttribute(d)}return this.each((null==c?d.local?H:G:"function"==typeof c?d.local?L:K:d.local?J:I)(d,c))}function N(a){return a.ownerDocument&&a.ownerDocument.defaultView||a.document&&a||a.defaultView}function O(a){return function(){this.style.removeProperty(a)}}function P(a,b,c){return function(){this.style.setProperty(a,b,c)}}function Q(a,b,c){return function(){var d=b.apply(this,arguments);null==d?this.style.removeProperty(a):this.style.setProperty(a,d,c)}}function R(a,b,c){return arguments.length>1?this.each((null==b?O:"function"==typeof b?Q:P)(a,b,null==c?"":c)):S(this.node(),a)}function S(a,b){return a.style.getPropertyValue(b)||N(a).getComputedStyle(a,null).getPropertyValue(b)}function T(a){return function(){delete this[a]}}function U(a,b){return function(){this[a]=b}}function V(a,b){return function(){var c=b.apply(this,arguments);null==c?delete this[a]:this[a]=c}}function W(a,b){return arguments.length>1?this.each((null==b?T:"function"==typeof b?V:U)(a,b)):this.node()[a]}function X(a){return a.trim().split(/^|\s+/)}function Y(a){return a.classList||new Z(a)}function Z(a){this._node=a,this._names=X(a.getAttribute("class")||"")}function $(a,b){for(var c=Y(a),d=-1,e=b.length;++d<e;)c.add(b[d])}function _(a,b){for(var c=Y(a),d=-1,e=b.length;++d<e;)c.remove(b[d])}function aa(a){return function(){$(this,a)}}function ba(a){return function(){_(this,a)}}function ca(a,b){return function(){(b.apply(this,arguments)?$:_)(this,a)}}function da(a,b){var c=X(a+"");if(arguments.length<2){for(var d=Y(this.node()),e=-1,f=c.length;++e<f;)if(!d.contains(c[e]))return!1;return!0}return this.each(("function"==typeof b?ca:b?aa:ba)(c,b))}function ea(){this.textContent=""}function fa(a){return function(){this.textContent=a}}function ga(a){return function(){var b=a.apply(this,arguments);this.textContent=null==b?"":b}}function ha(a){return arguments.length?this.each(null==a?ea:("function"==typeof a?ga:fa)(a)):this.node().textContent}function ia(){this.innerHTML=""}function ja(a){return function(){this.innerHTML=a}}function ka(a){return function(){var b=a.apply(this,arguments);this.innerHTML=null==b?"":b}}function la(a){return arguments.length?this.each(null==a?ia:("function"==typeof a?ka:ja)(a)):this.node().innerHTML}function ma(){this.nextSibling&&this.parentNode.appendChild(this)}function na(){return this.each(ma)}function oa(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function pa(){return this.each(oa)}function qa(a){var b="function"==typeof a?a:e(a);return this.select(function(){return this.appendChild(b.apply(this,arguments))})}function ra(){return null}function sa(a,b){var c="function"==typeof a?a:e(a),d=null==b?ra:"function"==typeof b?b:g(b);return this.select(function(){return this.insertBefore(c.apply(this,arguments),d.apply(this,arguments)||null)})}function ta(){var a=this.parentNode;a&&a.removeChild(this)}function ua(){return this.each(ta)}function va(){var a=this.cloneNode(!1),b=this.parentNode;return b?b.insertBefore(a,this.nextSibling):a}function wa(){var a=this.cloneNode(!0),b=this.parentNode;return b?b.insertBefore(a,this.nextSibling):a}function xa(a){return this.select(a?wa:va)}function ya(a){return arguments.length?this.property("__data__",a):this.node().__data__}function za(a,b,c){return a=Aa(a,b,c),function(b){var c=b.relatedTarget;c&&(c===this||8&c.compareDocumentPosition(this))||a.call(this,b)}}function Aa(b,c,d){return function(e){var f=a.event;a.event=e;try{b.call(this,this.__data__,c,d)}finally{a.event=f}}}function Ba(a){return a.trim().split(/^|\s+/).map(function(a){var b="",c=a.indexOf(".");return c>=0&&(b=a.slice(c+1),a=a.slice(0,c)),{type:a,name:b}})}function Ca(a){return function(){var b=this.__on;if(b){for(var c,d=0,e=-1,f=b.length;d<f;++d)c=b[d],a.type&&c.type!==a.type||c.name!==a.name?b[++e]=c:this.removeEventListener(c.type,c.listener,c.capture);++e?b.length=e:delete this.__on}}}function Da(a,b,c){var d=Za.hasOwnProperty(a.type)?za:Aa;return function(e,f,g){var h,i=this.__on,j=d(b,f,g);if(i)for(var k=0,l=i.length;k<l;++k)if((h=i[k]).type===a.type&&h.name===a.name)return this.removeEventListener(h.type,h.listener,h.capture),this.addEventListener(h.type,h.listener=j,h.capture=c),void(h.value=b);this.addEventListener(a.type,j,c),h={type:a.type,name:a.name,value:b,listener:j,capture:c},i?i.push(h):this.__on=[h]}}function Ea(a,b,c){var d,e,f=Ba(a+""),g=f.length;{if(!(arguments.length<2)){for(h=b?Da:Ca,null==c&&(c=!1),d=0;d<g;++d)this.each(h(f[d],b,c));return this}var h=this.node().__on;if(h)for(var i,j=0,k=h.length;j<k;++j)for(d=0,i=h[j];d<g;++d)if((e=f[d]).type===i.type&&e.name===i.name)return i.value}}function Fa(b,c,d,e){var f=a.event;b.sourceEvent=a.event,a.event=b;try{return c.apply(d,e)}finally{a.event=f}}function Ga(a,b,c){var d=N(a),e=d.CustomEvent;"function"==typeof e?e=new e(b,c):(e=d.document.createEvent("Event"),c?(e.initEvent(b,c.bubbles,c.cancelable),e.detail=c.detail):e.initEvent(b,!1,!1)),a.dispatchEvent(e)}function Ha(a,b){return function(){return Ga(this,a,b)}}function Ia(a,b){return function(){return Ga(this,a,b.apply(this,arguments))}}function Ja(a,b){return this.each(("function"==typeof b?Ia:Ha)(a,b))}function Ka(a,b){this._groups=a,this._parents=b}function La(){return new Ka([[document.documentElement]],_a)}function Ma(a){return"string"==typeof a?new Ka([[document.querySelector(a)]],[document.documentElement]):new Ka([[a]],_a)}function Na(a){return Ma(e(a).call(document.documentElement))}function Oa(){return new Pa}function Pa(){this._="@"+(++ab).toString(36)}function Qa(){for(var b,c=a.event;b=c.sourceEvent;)c=b;return c}function Ra(a,b){var c=a.ownerSVGElement||a;if(c.createSVGPoint){var d=c.createSVGPoint();return d.x=b.clientX,d.y=b.clientY,d=d.matrixTransform(a.getScreenCTM().inverse()),[d.x,d.y]}var e=a.getBoundingClientRect();return[b.clientX-e.left-a.clientLeft,b.clientY-e.top-a.clientTop]}function Sa(a){var b=Qa();return b.changedTouches&&(b=b.changedTouches[0]),Ra(a,b)}function Ta(a){return"string"==typeof a?new Ka([document.querySelectorAll(a)],[document.documentElement]):new Ka([null==a?[]:a],_a)}function Ua(a,b,c){arguments.length<3&&(c=b,b=Qa().changedTouches);for(var d,e=0,f=b?b.length:0;e<f;++e)if((d=b[e]).identifier===c)return Ra(a,d);return null}function Va(a,b){null==b&&(b=Qa().touches);for(var c=0,d=b?b.length:0,e=new Array(d);c<d;++c)e[c]=Ra(a,b[c]);return e}var Wa="http://www.w3.org/1999/xhtml",Xa={svg:"http://www.w3.org/2000/svg",xhtml:Wa,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};p.prototype={constructor:p,appendChild:function(a){return this._parent.insertBefore(a,this._next)},insertBefore:function(a,b){return this._parent.insertBefore(a,b)},querySelector:function(a){return this._parent.querySelector(a)},querySelectorAll:function(a){return this._parent.querySelectorAll(a)}};var Ya="$";Z.prototype={add:function(a){var b=this._names.indexOf(a);b<0&&(this._names.push(a),this._node.setAttribute("class",this._names.join(" ")))},remove:function(a){var b=this._names.indexOf(a);b>=0&&(this._names.splice(b,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(a){return this._names.indexOf(a)>=0}};var Za={};if(a.event=null,"undefined"!=typeof document){var $a=document.documentElement;"onmouseenter"in $a||(Za={mouseenter:"mouseover",mouseleave:"mouseout"})}var _a=[null];Ka.prototype=La.prototype={constructor:Ka,select:h,selectAll:k,filter:m,data:t,enter:o,exit:u,join:v,merge:w,order:x,sort:y,call:A,nodes:B,node:C,size:D,empty:E,each:F,attr:M,style:R,property:W,classed:da,text:ha,html:la,raise:na,lower:pa,append:qa,insert:sa,remove:ua,clone:xa,datum:ya,on:Ea,dispatch:Ja};var ab=0;Pa.prototype=Oa.prototype={constructor:Pa,get:function(a){for(var b=this._;!(b in a);)if(!(a=a.parentNode))return;return a[b]},set:function(a,b){return a[this._]=b},remove:function(a){return this._ in a&&delete a[this._]},toString:function(){return this._}},a.clientPoint=Ra,a.create=Na,a.creator=e,a.customEvent=Fa,a.local=Oa,a.matcher=l,a.mouse=Sa,a.namespace=b,a.namespaces=Xa,a.select=Ma,a.selectAll=Ta,a.selection=La,a.selector=g,a.selectorAll=j,a.style=S,a.touch=Ua,a.touches=Va,a.window=N,Object.defineProperty(a,"__esModule",{value:!0})})},{}],53:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-path")):"function"==typeof a&&a.amd?a(["exports","d3-path"],f):(e=e||self,f(e.d3=e.d3||{},e.d3))}(this,function(a,b){"use strict";function c(a){return function(){return a}}function d(a){return a>1?0:a<-1?Qa:Math.acos(a)}function e(a){return a>=1?Ra:a<=-1?-Ra:Math.asin(a)}function f(a){return a.innerRadius}function g(a){return a.outerRadius}function h(a){return a.startAngle}function i(a){return a.endAngle}function j(a){return a&&a.padAngle}function k(a,b,c,d,e,f,g,h){var i=c-a,j=d-b,k=g-e,l=h-f,m=l*i-k*j;if(!(m*m<Pa))return m=(k*(b-f)-l*(a-e))/m,[a+m*i,b+m*j]}function l(a,b,c,d,e,f,g){var h=a-c,i=b-d,j=(g?f:-f)/Oa(h*h+i*i),k=j*i,l=-j*h,m=a+k,n=b+l,o=c+k,p=d+l,q=(m+o)/2,r=(n+p)/2,s=o-m,t=p-n,u=s*s+t*t,v=e-f,w=m*p-o*n,x=(t<0?-1:1)*Oa(La(0,v*v*u-w*w)),y=(w*t-s*x)/u,z=(-w*s-t*x)/u,A=(w*t+s*x)/u,B=(-w*s+t*x)/u,C=y-q,D=z-r,E=A-q,F=B-r;return C*C+D*D>E*E+F*F&&(y=A,z=B),{cx:y,cy:z,x01:-k,y01:-l,x11:y*(e/v-1),y11:z*(e/v-1)}}function m(){function a(){var a,c,f=+m.apply(this,arguments),g=+n.apply(this,arguments),h=q.apply(this,arguments)-Ra,i=r.apply(this,arguments)-Ra,j=Ia(i-h),u=i>h;if(t||(t=a=b.path()),g<f&&(c=g,g=f,f=c),g>Pa)if(j>Sa-Pa)t.moveTo(g*Ka(h),g*Na(h)),t.arc(0,0,g,h,i,!u),f>Pa&&(t.moveTo(f*Ka(i),f*Na(i)),t.arc(0,0,f,i,h,u));else{var v,w,x=h,y=i,z=h,A=i,B=j,C=j,D=s.apply(this,arguments)/2,E=D>Pa&&(p?+p.apply(this,arguments):Oa(f*f+g*g)),F=Ma(Ia(g-f)/2,+o.apply(this,arguments)),G=F,H=F;if(E>Pa){var I=e(E/f*Na(D)),J=e(E/g*Na(D));(B-=2*I)>Pa?(I*=u?1:-1,z+=I,A-=I):(B=0,z=A=(h+i)/2),(C-=2*J)>Pa?(J*=u?1:-1,x+=J,y-=J):(C=0,x=y=(h+i)/2)}var K=g*Ka(x),L=g*Na(x),M=f*Ka(A),N=f*Na(A);if(F>Pa){var O,P=g*Ka(y),Q=g*Na(y),R=f*Ka(z),S=f*Na(z);if(j<Qa&&(O=k(K,L,R,S,P,Q,M,N))){var T=K-O[0],U=L-O[1],V=P-O[0],W=Q-O[1],X=1/Na(d((T*V+U*W)/(Oa(T*T+U*U)*Oa(V*V+W*W)))/2),Y=Oa(O[0]*O[0]+O[1]*O[1]);G=Ma(F,(f-Y)/(X-1)),H=Ma(F,(g-Y)/(X+1))}}C>Pa?H>Pa?(v=l(R,S,K,L,g,H,u),
- w=l(P,Q,M,N,g,H,u),t.moveTo(v.cx+v.x01,v.cy+v.y01),H<F?t.arc(v.cx,v.cy,H,Ja(v.y01,v.x01),Ja(w.y01,w.x01),!u):(t.arc(v.cx,v.cy,H,Ja(v.y01,v.x01),Ja(v.y11,v.x11),!u),t.arc(0,0,g,Ja(v.cy+v.y11,v.cx+v.x11),Ja(w.cy+w.y11,w.cx+w.x11),!u),t.arc(w.cx,w.cy,H,Ja(w.y11,w.x11),Ja(w.y01,w.x01),!u))):(t.moveTo(K,L),t.arc(0,0,g,x,y,!u)):t.moveTo(K,L),f>Pa&&B>Pa?G>Pa?(v=l(M,N,P,Q,f,-G,u),w=l(K,L,R,S,f,-G,u),t.lineTo(v.cx+v.x01,v.cy+v.y01),G<F?t.arc(v.cx,v.cy,G,Ja(v.y01,v.x01),Ja(w.y01,w.x01),!u):(t.arc(v.cx,v.cy,G,Ja(v.y01,v.x01),Ja(v.y11,v.x11),!u),t.arc(0,0,f,Ja(v.cy+v.y11,v.cx+v.x11),Ja(w.cy+w.y11,w.cx+w.x11),u),t.arc(w.cx,w.cy,G,Ja(w.y11,w.x11),Ja(w.y01,w.x01),!u))):t.arc(0,0,f,A,z,u):t.lineTo(M,N)}else t.moveTo(0,0);if(t.closePath(),a)return t=null,a+""||null}var m=f,n=g,o=c(0),p=null,q=h,r=i,s=j,t=null;return a.centroid=function(){var a=(+m.apply(this,arguments)+ +n.apply(this,arguments))/2,b=(+q.apply(this,arguments)+ +r.apply(this,arguments))/2-Qa/2;return[Ka(b)*a,Na(b)*a]},a.innerRadius=function(b){return arguments.length?(m="function"==typeof b?b:c(+b),a):m},a.outerRadius=function(b){return arguments.length?(n="function"==typeof b?b:c(+b),a):n},a.cornerRadius=function(b){return arguments.length?(o="function"==typeof b?b:c(+b),a):o},a.padRadius=function(b){return arguments.length?(p=null==b?null:"function"==typeof b?b:c(+b),a):p},a.startAngle=function(b){return arguments.length?(q="function"==typeof b?b:c(+b),a):q},a.endAngle=function(b){return arguments.length?(r="function"==typeof b?b:c(+b),a):r},a.padAngle=function(b){return arguments.length?(s="function"==typeof b?b:c(+b),a):s},a.context=function(b){return arguments.length?(t=null==b?null:b,a):t},a}function n(a){this._context=a}function o(a){return new n(a)}function p(a){return a[0]}function q(a){return a[1]}function r(){function a(a){var c,j,k,l=a.length,m=!1;for(null==g&&(i=h(k=b.path())),c=0;c<=l;++c)!(c<l&&f(j=a[c],c,a))===m&&((m=!m)?i.lineStart():i.lineEnd()),m&&i.point(+d(j,c,a),+e(j,c,a));if(k)return i=null,k+""||null}var d=p,e=q,f=c(!0),g=null,h=o,i=null;return a.x=function(b){return arguments.length?(d="function"==typeof b?b:c(+b),a):d},a.y=function(b){return arguments.length?(e="function"==typeof b?b:c(+b),a):e},a.defined=function(b){return arguments.length?(f="function"==typeof b?b:c(!!b),a):f},a.curve=function(b){return arguments.length?(h=b,null!=g&&(i=h(g)),a):h},a.context=function(b){return arguments.length?(null==b?g=i=null:i=h(g=b),a):g},a}function s(){function a(a){var c,d,m,n,o,p=a.length,q=!1,r=new Array(p),s=new Array(p);for(null==j&&(l=k(o=b.path())),c=0;c<=p;++c){if(!(c<p&&i(n=a[c],c,a))===q)if(q=!q)d=c,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),m=c-1;m>=d;--m)l.point(r[m],s[m]);l.lineEnd(),l.areaEnd()}q&&(r[c]=+e(n,c,a),s[c]=+g(n,c,a),l.point(f?+f(n,c,a):r[c],h?+h(n,c,a):s[c]))}if(o)return l=null,o+""||null}function d(){return r().defined(i).curve(k).context(j)}var e=p,f=null,g=c(0),h=q,i=c(!0),j=null,k=o,l=null;return a.x=function(b){return arguments.length?(e="function"==typeof b?b:c(+b),f=null,a):e},a.x0=function(b){return arguments.length?(e="function"==typeof b?b:c(+b),a):e},a.x1=function(b){return arguments.length?(f=null==b?null:"function"==typeof b?b:c(+b),a):f},a.y=function(b){return arguments.length?(g="function"==typeof b?b:c(+b),h=null,a):g},a.y0=function(b){return arguments.length?(g="function"==typeof b?b:c(+b),a):g},a.y1=function(b){return arguments.length?(h=null==b?null:"function"==typeof b?b:c(+b),a):h},a.lineX0=a.lineY0=function(){return d().x(e).y(g)},a.lineY1=function(){return d().x(e).y(h)},a.lineX1=function(){return d().x(f).y(g)},a.defined=function(b){return arguments.length?(i="function"==typeof b?b:c(!!b),a):i},a.curve=function(b){return arguments.length?(k=b,null!=j&&(l=k(j)),a):k},a.context=function(b){return arguments.length?(null==b?j=l=null:l=k(j=b),a):j},a}function t(a,b){return b<a?-1:b>a?1:b>=a?0:NaN}function u(a){return a}function v(){function a(a){var c,i,j,k,l,m=a.length,n=0,o=new Array(m),p=new Array(m),q=+f.apply(this,arguments),r=Math.min(Sa,Math.max(-Sa,g.apply(this,arguments)-q)),s=Math.min(Math.abs(r)/m,h.apply(this,arguments)),t=s*(r<0?-1:1);for(c=0;c<m;++c)(l=p[o[c]=c]=+b(a[c],c,a))>0&&(n+=l);for(null!=d?o.sort(function(a,b){return d(p[a],p[b])}):null!=e&&o.sort(function(b,c){return e(a[b],a[c])}),c=0,j=n?(r-m*t)/n:0;c<m;++c,q=k)i=o[c],l=p[i],k=q+(l>0?l*j:0)+t,p[i]={data:a[i],index:c,value:l,startAngle:q,endAngle:k,padAngle:s};return p}var b=u,d=t,e=null,f=c(0),g=c(Sa),h=c(0);return a.value=function(d){return arguments.length?(b="function"==typeof d?d:c(+d),a):b},a.sortValues=function(b){return arguments.length?(d=b,e=null,a):d},a.sort=function(b){return arguments.length?(e=b,d=null,a):e},a.startAngle=function(b){return arguments.length?(f="function"==typeof b?b:c(+b),a):f},a.endAngle=function(b){return arguments.length?(g="function"==typeof b?b:c(+b),a):g},a.padAngle=function(b){return arguments.length?(h="function"==typeof b?b:c(+b),a):h},a}function w(a){this._curve=a}function x(a){function b(b){return new w(a(b))}return b._curve=a,b}function y(a){var b=a.curve;return a.angle=a.x,delete a.x,a.radius=a.y,delete a.y,a.curve=function(a){return arguments.length?b(x(a)):b()._curve},a}function z(){return y(r().curve(Ta))}function A(){var a=s().curve(Ta),b=a.curve,c=a.lineX0,d=a.lineX1,e=a.lineY0,f=a.lineY1;return a.angle=a.x,delete a.x,a.startAngle=a.x0,delete a.x0,a.endAngle=a.x1,delete a.x1,a.radius=a.y,delete a.y,a.innerRadius=a.y0,delete a.y0,a.outerRadius=a.y1,delete a.y1,a.lineStartAngle=function(){return y(c())},delete a.lineX0,a.lineEndAngle=function(){return y(d())},delete a.lineX1,a.lineInnerRadius=function(){return y(e())},delete a.lineY0,a.lineOuterRadius=function(){return y(f())},delete a.lineY1,a.curve=function(a){return arguments.length?b(x(a)):b()._curve},a}function B(a,b){return[(b=+b)*Math.cos(a-=Math.PI/2),b*Math.sin(a)]}function C(a){return a.source}function D(a){return a.target}function E(a){function d(){var c,d=Ua.call(arguments),j=e.apply(this,d),k=f.apply(this,d);if(i||(i=c=b.path()),a(i,+g.apply(this,(d[0]=j,d)),+h.apply(this,d),+g.apply(this,(d[0]=k,d)),+h.apply(this,d)),c)return i=null,c+""||null}var e=C,f=D,g=p,h=q,i=null;return d.source=function(a){return arguments.length?(e=a,d):e},d.target=function(a){return arguments.length?(f=a,d):f},d.x=function(a){return arguments.length?(g="function"==typeof a?a:c(+a),d):g},d.y=function(a){return arguments.length?(h="function"==typeof a?a:c(+a),d):h},d.context=function(a){return arguments.length?(i=null==a?null:a,d):i},d}function F(a,b,c,d,e){a.moveTo(b,c),a.bezierCurveTo(b=(b+d)/2,c,b,e,d,e)}function G(a,b,c,d,e){a.moveTo(b,c),a.bezierCurveTo(b,c=(c+e)/2,d,c,d,e)}function H(a,b,c,d,e){var f=B(b,c),g=B(b,c=(c+e)/2),h=B(d,c),i=B(d,e);a.moveTo(f[0],f[1]),a.bezierCurveTo(g[0],g[1],h[0],h[1],i[0],i[1])}function I(){return E(F)}function J(){return E(G)}function K(){var a=E(H);return a.angle=a.x,delete a.x,a.radius=a.y,delete a.y,a}function L(){function a(){var a;if(f||(f=a=b.path()),d.apply(this,arguments).draw(f,+e.apply(this,arguments)),a)return f=null,a+""||null}var d=c(Va),e=c(64),f=null;return a.type=function(b){return arguments.length?(d="function"==typeof b?b:c(b),a):d},a.size=function(b){return arguments.length?(e="function"==typeof b?b:c(+b),a):e},a.context=function(b){return arguments.length?(f=null==b?null:b,a):f},a}function M(){}function N(a,b,c){a._context.bezierCurveTo((2*a._x0+a._x1)/3,(2*a._y0+a._y1)/3,(a._x0+2*a._x1)/3,(a._y0+2*a._y1)/3,(a._x0+4*a._x1+b)/6,(a._y0+4*a._y1+c)/6)}function O(a){this._context=a}function P(a){return new O(a)}function Q(a){this._context=a}function R(a){return new Q(a)}function S(a){this._context=a}function T(a){return new S(a)}function U(a,b){this._basis=new O(a),this._beta=b}function V(a,b,c){a._context.bezierCurveTo(a._x1+a._k*(a._x2-a._x0),a._y1+a._k*(a._y2-a._y0),a._x2+a._k*(a._x1-b),a._y2+a._k*(a._y1-c),a._x2,a._y2)}function W(a,b){this._context=a,this._k=(1-b)/6}function X(a,b){this._context=a,this._k=(1-b)/6}function Y(a,b){this._context=a,this._k=(1-b)/6}function Z(a,b,c){var d=a._x1,e=a._y1,f=a._x2,g=a._y2;if(a._l01_a>Pa){var h=2*a._l01_2a+3*a._l01_a*a._l12_a+a._l12_2a,i=3*a._l01_a*(a._l01_a+a._l12_a);d=(d*h-a._x0*a._l12_2a+a._x2*a._l01_2a)/i,e=(e*h-a._y0*a._l12_2a+a._y2*a._l01_2a)/i}if(a._l23_a>Pa){var j=2*a._l23_2a+3*a._l23_a*a._l12_a+a._l12_2a,k=3*a._l23_a*(a._l23_a+a._l12_a);f=(f*j+a._x1*a._l23_2a-b*a._l12_2a)/k,g=(g*j+a._y1*a._l23_2a-c*a._l12_2a)/k}a._context.bezierCurveTo(d,e,f,g,a._x2,a._y2)}function $(a,b){this._context=a,this._alpha=b}function _(a,b){this._context=a,this._alpha=b}function aa(a,b){this._context=a,this._alpha=b}function ba(a){this._context=a}function ca(a){return new ba(a)}function da(a){return a<0?-1:1}function ea(a,b,c){var d=a._x1-a._x0,e=b-a._x1,f=(a._y1-a._y0)/(d||e<0&&-0),g=(c-a._y1)/(e||d<0&&-0),h=(f*e+g*d)/(d+e);return(da(f)+da(g))*Math.min(Math.abs(f),Math.abs(g),.5*Math.abs(h))||0}function fa(a,b){var c=a._x1-a._x0;return c?(3*(a._y1-a._y0)/c-b)/2:b}function ga(a,b,c){var d=a._x0,e=a._y0,f=a._x1,g=a._y1,h=(f-d)/3;a._context.bezierCurveTo(d+h,e+h*b,f-h,g-h*c,f,g)}function ha(a){this._context=a}function ia(a){this._context=new ja(a)}function ja(a){this._context=a}function ka(a){return new ha(a)}function la(a){return new ia(a)}function ma(a){this._context=a}function na(a){var b,c,d=a.length-1,e=new Array(d),f=new Array(d),g=new Array(d);for(e[0]=0,f[0]=2,g[0]=a[0]+2*a[1],b=1;b<d-1;++b)e[b]=1,f[b]=4,g[b]=4*a[b]+2*a[b+1];for(e[d-1]=2,f[d-1]=7,g[d-1]=8*a[d-1]+a[d],b=1;b<d;++b)c=e[b]/f[b-1],f[b]-=c,g[b]-=c*g[b-1];for(e[d-1]=g[d-1]/f[d-1],b=d-2;b>=0;--b)e[b]=(g[b]-e[b+1])/f[b];for(f[d-1]=(a[d]+e[d-1])/2,b=0;b<d-1;++b)f[b]=2*a[b+1]-e[b+1];return[e,f]}function oa(a){return new ma(a)}function pa(a,b){this._context=a,this._t=b}function qa(a){return new pa(a,.5)}function ra(a){return new pa(a,0)}function sa(a){return new pa(a,1)}function ta(a,b){if((e=a.length)>1)for(var c,d,e,f=1,g=a[b[0]],h=g.length;f<e;++f)for(d=g,g=a[b[f]],c=0;c<h;++c)g[c][1]+=g[c][0]=isNaN(d[c][1])?d[c][0]:d[c][1]}function ua(a){for(var b=a.length,c=new Array(b);--b>=0;)c[b]=b;return c}function va(a,b){return a[b]}function wa(){function a(a){var c,g,h=b.apply(this,arguments),i=a.length,j=h.length,k=new Array(j);for(c=0;c<j;++c){for(var l,m=h[c],n=k[c]=new Array(i),o=0;o<i;++o)n[o]=l=[0,+f(a[o],m,o,a)],l.data=a[o];n.key=m}for(c=0,g=d(k);c<j;++c)k[g[c]].index=c;return e(k,g),k}var b=c([]),d=ua,e=ta,f=va;return a.keys=function(d){return arguments.length?(b="function"==typeof d?d:c(Ua.call(d)),a):b},a.value=function(b){return arguments.length?(f="function"==typeof b?b:c(+b),a):f},a.order=function(b){return arguments.length?(d=null==b?ua:"function"==typeof b?b:c(Ua.call(b)),a):d},a.offset=function(b){return arguments.length?(e=null==b?ta:b,a):e},a}function xa(a,b){if((d=a.length)>0){for(var c,d,e,f=0,g=a[0].length;f<g;++f){for(e=c=0;c<d;++c)e+=a[c][f][1]||0;if(e)for(c=0;c<d;++c)a[c][f][1]/=e}ta(a,b)}}function ya(a,b){if((h=a.length)>0)for(var c,d,e,f,g,h,i=0,j=a[b[0]].length;i<j;++i)for(f=g=0,c=0;c<h;++c)(e=(d=a[b[c]][i])[1]-d[0])>0?(d[0]=f,d[1]=f+=e):e<0?(d[1]=g,d[0]=g+=e):(d[0]=0,d[1]=e)}function za(a,b){if((c=a.length)>0){for(var c,d=0,e=a[b[0]],f=e.length;d<f;++d){for(var g=0,h=0;g<c;++g)h+=a[g][d][1]||0;e[d][1]+=e[d][0]=-h/2}ta(a,b)}}function Aa(a,b){if((e=a.length)>0&&(d=(c=a[b[0]]).length)>0){for(var c,d,e,f=0,g=1;g<d;++g){for(var h=0,i=0,j=0;h<e;++h){for(var k=a[b[h]],l=k[g][1]||0,m=k[g-1][1]||0,n=(l-m)/2,o=0;o<h;++o){var p=a[b[o]],q=p[g][1]||0,r=p[g-1][1]||0;n+=q-r}i+=l,j+=n*l}c[g-1][1]+=c[g-1][0]=f,i&&(f-=j/i)}c[g-1][1]+=c[g-1][0]=f,ta(a,b)}}function Ba(a){var b=a.map(Ca);return ua(a).sort(function(a,c){return b[a]-b[c]})}function Ca(a){for(var b,c=-1,d=0,e=a.length,f=-(1/0);++c<e;)(b=+a[c][1])>f&&(f=b,d=c);return d}function Da(a){var b=a.map(Ea);return ua(a).sort(function(a,c){return b[a]-b[c]})}function Ea(a){for(var b,c=0,d=-1,e=a.length;++d<e;)(b=+a[d][1])&&(c+=b);return c}function Fa(a){return Da(a).reverse()}function Ga(a){var b,c,d=a.length,e=a.map(Ea),f=Ba(a),g=0,h=0,i=[],j=[];for(b=0;b<d;++b)c=f[b],g<h?(g+=e[c],i.push(c)):(h+=e[c],j.push(c));return j.reverse().concat(i)}function Ha(a){return ua(a).reverse()}var Ia=Math.abs,Ja=Math.atan2,Ka=Math.cos,La=Math.max,Ma=Math.min,Na=Math.sin,Oa=Math.sqrt,Pa=1e-12,Qa=Math.PI,Ra=Qa/2,Sa=2*Qa;n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:this._context.lineTo(a,b)}}};var Ta=x(o);w.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(a,b){this._curve.point(b*Math.sin(a),b*-Math.cos(a))}};var Ua=Array.prototype.slice,Va={draw:function(a,b){var c=Math.sqrt(b/Qa);a.moveTo(c,0),a.arc(0,0,c,0,Sa)}},Wa={draw:function(a,b){var c=Math.sqrt(b/5)/2;a.moveTo(-3*c,-c),a.lineTo(-c,-c),a.lineTo(-c,-3*c),a.lineTo(c,-3*c),a.lineTo(c,-c),a.lineTo(3*c,-c),a.lineTo(3*c,c),a.lineTo(c,c),a.lineTo(c,3*c),a.lineTo(-c,3*c),a.lineTo(-c,c),a.lineTo(-3*c,c),a.closePath()}},Xa=Math.sqrt(1/3),Ya=2*Xa,Za={draw:function(a,b){var c=Math.sqrt(b/Ya),d=c*Xa;a.moveTo(0,-c),a.lineTo(d,0),a.lineTo(0,c),a.lineTo(-d,0),a.closePath()}},$a=.8908130915292852,_a=Math.sin(Qa/10)/Math.sin(7*Qa/10),ab=Math.sin(Sa/10)*_a,bb=-Math.cos(Sa/10)*_a,cb={draw:function(a,b){var c=Math.sqrt(b*$a),d=ab*c,e=bb*c;a.moveTo(0,-c),a.lineTo(d,e);for(var f=1;f<5;++f){var g=Sa*f/5,h=Math.cos(g),i=Math.sin(g);a.lineTo(i*c,-h*c),a.lineTo(h*d-i*e,i*d+h*e)}a.closePath()}},db={draw:function(a,b){var c=Math.sqrt(b),d=-c/2;a.rect(d,d,c,c)}},eb=Math.sqrt(3),fb={draw:function(a,b){var c=-Math.sqrt(b/(3*eb));a.moveTo(0,2*c),a.lineTo(-eb*c,-c),a.lineTo(eb*c,-c),a.closePath()}},gb=-.5,hb=Math.sqrt(3)/2,ib=1/Math.sqrt(12),jb=3*(ib/2+1),kb={draw:function(a,b){var c=Math.sqrt(b/jb),d=c/2,e=c*ib,f=d,g=c*ib+c,h=-f,i=g;a.moveTo(d,e),a.lineTo(f,g),a.lineTo(h,i),a.lineTo(gb*d-hb*e,hb*d+gb*e),a.lineTo(gb*f-hb*g,hb*f+gb*g),a.lineTo(gb*h-hb*i,hb*h+gb*i),a.lineTo(gb*d+hb*e,gb*e-hb*d),a.lineTo(gb*f+hb*g,gb*g-hb*f),a.lineTo(gb*h+hb*i,gb*i-hb*h),a.closePath()}},lb=[Va,Wa,Za,db,cb,fb,kb];O.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:N(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:N(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},Q.prototype={areaStart:M,areaEnd:M,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(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1,this._x2=a,this._y2=b;break;case 1:this._point=2,this._x3=a,this._y3=b;break;case 2:this._point=3,this._x4=a,this._y4=b,this._context.moveTo((this._x0+4*this._x1+a)/6,(this._y0+4*this._y1+b)/6);break;default:N(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},S.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(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var c=(this._x0+4*this._x1+a)/6,d=(this._y0+4*this._y1+b)/6;this._line?this._context.lineTo(c,d):this._context.moveTo(c,d);break;case 3:this._point=4;default:N(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},U.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var a=this._x,b=this._y,c=a.length-1;if(c>0)for(var d,e=a[0],f=b[0],g=a[c]-e,h=b[c]-f,i=-1;++i<=c;)d=i/c,this._basis.point(this._beta*a[i]+(1-this._beta)*(e+d*g),this._beta*b[i]+(1-this._beta)*(f+d*h));this._x=this._y=null,this._basis.lineEnd()},point:function(a,b){this._x.push(+a),this._y.push(+b)}};var mb=function a(b){function c(a){return 1===b?new O(a):new U(a,b)}return c.beta=function(b){return a(+b)},c}(.85);W.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:V(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2,this._x1=a,this._y1=b;break;case 2:this._point=3;default:V(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};var nb=function a(b){function c(a){return new W(a,b)}return c.tension=function(b){return a(+b)},c}(0);X.prototype={areaStart:M,areaEnd:M,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(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1,this._x3=a,this._y3=b;break;case 1:this._point=2,this._context.moveTo(this._x4=a,this._y4=b);break;case 2:this._point=3,this._x5=a,this._y5=b;break;default:V(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};var ob=function a(b){function c(a){return new X(a,b)}return c.tension=function(b){return a(+b)},c}(0);Y.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(a,b){switch(a=+a,b=+b,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:V(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};var pb=function a(b){function c(a){return new Y(a,b)}return c.tension=function(b){return a(+b)},c}(0);$.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(a,b){if(a=+a,b=+b,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3;default:Z(this,a,b)}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=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};var qb=function a(b){function c(a){return b?new $(a,b):new W(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);_.prototype={areaStart:M,areaEnd:M,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(a,b){if(a=+a,b=+b,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=a,this._y3=b;break;case 1:this._point=2,this._context.moveTo(this._x4=a,this._y4=b);break;case 2:this._point=3,this._x5=a,this._y5=b;break;default:Z(this,a,b)}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=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};var rb=function a(b){function c(a){return b?new _(a,b):new X(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);aa.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(a,b){if(a=+a,b=+b,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Z(this,a,b)}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=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};var sb=function a(b){function c(a){return b?new aa(a,b):new Y(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);ba.prototype={areaStart:M,areaEnd:M,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(a,b){a=+a,b=+b,this._point?this._context.lineTo(a,b):(this._point=1,this._context.moveTo(a,b))}},ha.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:ga(this,this._t0,fa(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){var c=NaN;if(a=+a,b=+b,a!==this._x1||b!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3,ga(this,fa(this,c=ea(this,a,b)),c);break;default:ga(this,this._t0,c=ea(this,a,b))}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b,this._t0=c}}},(ia.prototype=Object.create(ha.prototype)).point=function(a,b){ha.prototype.point.call(this,b,a)},ja.prototype={moveTo:function(a,b){this._context.moveTo(b,a)},closePath:function(){this._context.closePath()},lineTo:function(a,b){this._context.lineTo(b,a)},bezierCurveTo:function(a,b,c,d,e,f){this._context.bezierCurveTo(b,a,d,c,f,e)}},ma.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var a=this._x,b=this._y,c=a.length;if(c)if(this._line?this._context.lineTo(a[0],b[0]):this._context.moveTo(a[0],b[0]),2===c)this._context.lineTo(a[1],b[1]);else for(var d=na(a),e=na(b),f=0,g=1;g<c;++f,++g)this._context.bezierCurveTo(d[0][f],e[0][f],d[1][f],e[1][f],a[g],b[g]);(this._line||0!==this._line&&1===c)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(a,b){this._x.push(+a),this._y.push(+b)}},pa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(a,b){switch(a=+a,b=+b,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,b),this._context.lineTo(a,b);else{var c=this._x*(1-this._t)+a*this._t;this._context.lineTo(c,this._y),this._context.lineTo(c,b)}}this._x=a,this._y=b}},a.arc=m,a.area=s,a.areaRadial=A,a.curveBasis=P,a.curveBasisClosed=R,a.curveBasisOpen=T,a.curveBundle=mb,a.curveCardinal=nb,a.curveCardinalClosed=ob,a.curveCardinalOpen=pb,a.curveCatmullRom=qb,a.curveCatmullRomClosed=rb,a.curveCatmullRomOpen=sb,a.curveLinear=o,a.curveLinearClosed=ca,a.curveMonotoneX=ka,a.curveMonotoneY=la,a.curveNatural=oa,a.curveStep=qa,a.curveStepAfter=sa,a.curveStepBefore=ra,a.line=r,a.lineRadial=z,a.linkHorizontal=I,a.linkRadial=K,a.linkVertical=J,a.pie=v,a.pointRadial=B,a.radialArea=A,a.radialLine=z,a.stack=wa,a.stackOffsetDiverging=ya,a.stackOffsetExpand=xa,a.stackOffsetNone=ta,a.stackOffsetSilhouette=za,a.stackOffsetWiggle=Aa,a.stackOrderAppearance=Ba,a.stackOrderAscending=Da,a.stackOrderDescending=Fa,a.stackOrderInsideOut=Ga,a.stackOrderNone=ua,a.stackOrderReverse=Ha,a.symbol=L,a.symbolCircle=Va,a.symbolCross=Wa,a.symbolDiamond=Za,a.symbolSquare=db,a.symbolStar=cb,a.symbolTriangle=fb,a.symbolWye=kb,a.symbols=lb,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-path":46}],54:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-time")):"function"==typeof a&&a.amd?a(["exports","d3-time"],f):(e=e||self,f(e.d3=e.d3||{},e.d3))}(this,function(a,b){"use strict";function c(a){if(0<=a.y&&a.y<100){var b=new Date(-1,a.m,a.d,a.H,a.M,a.S,a.L);return b.setFullYear(a.y),b}return new Date(a.y,a.m,a.d,a.H,a.M,a.S,a.L)}function d(a){if(0<=a.y&&a.y<100){var b=new Date(Date.UTC(-1,a.m,a.d,a.H,a.M,a.S,a.L));return b.setUTCFullYear(a.y),b}return new Date(Date.UTC(a.y,a.m,a.d,a.H,a.M,a.S,a.L))}function e(a,b,c){return{y:a,m:b,d:c,H:0,M:0,S:0,L:0}}function f(a){function f(a,b){return function(c){var d,e,f,g=[],h=-1,i=0,j=a.length;for(c instanceof Date||(c=new Date(+c));++h<j;)37===a.charCodeAt(h)&&(g.push(a.slice(i,h)),null!=(e=ra[d=a.charAt(++h)])?d=a.charAt(++h):e="e"===d?" ":"0",(f=b[d])&&(d=f(c,e)),g.push(d),i=h+1);return g.push(a.slice(i,h)),g.join("")}}function g(a,f){return function(g){var i,j,k=e(1900,void 0,1),l=h(k,a,g+="",0);if(l!=g.length)return null;if("Q"in k)return new Date(k.Q);if("s"in k)return new Date(1e3*k.s+("L"in k?k.L:0));if(!f||"Z"in k||(k.Z=0),"p"in k&&(k.H=k.H%12+12*k.p),void 0===k.m&&(k.m="q"in k?k.q:0),"V"in k){if(k.V<1||k.V>53)return null;"w"in k||(k.w=1),"Z"in k?(i=d(e(k.y,0,1)),j=i.getUTCDay(),i=j>4||0===j?b.utcMonday.ceil(i):b.utcMonday(i),i=b.utcDay.offset(i,7*(k.V-1)),k.y=i.getUTCFullYear(),k.m=i.getUTCMonth(),k.d=i.getUTCDate()+(k.w+6)%7):(i=c(e(k.y,0,1)),j=i.getDay(),i=j>4||0===j?b.timeMonday.ceil(i):b.timeMonday(i),i=b.timeDay.offset(i,7*(k.V-1)),k.y=i.getFullYear(),k.m=i.getMonth(),k.d=i.getDate()+(k.w+6)%7)}else("W"in k||"U"in k)&&("w"in k||(k.w="u"in k?k.u%7:"W"in k?1:0),j="Z"in k?d(e(k.y,0,1)).getUTCDay():c(e(k.y,0,1)).getDay(),k.m=0,k.d="W"in k?(k.w+6)%7+7*k.W-(j+5)%7:k.w+7*k.U-(j+6)%7);return"Z"in k?(k.H+=k.Z/100|0,k.M+=k.Z%100,d(k)):c(k)}}function h(a,b,c,d){for(var e,f,g=0,h=b.length,i=c.length;g<h;){if(d>=i)return-1;if(e=b.charCodeAt(g++),37===e){if(e=b.charAt(g++),f=ab[e in ra?b.charAt(g++):e],!f||(d=f(a,c,d))<0)return-1}else if(e!=c.charCodeAt(d++))return-1}return d}function na(a,b,c){var d=Qa.exec(b.slice(c));return d?(a.p=Ra[d[0].toLowerCase()],c+d[0].length):-1}function oa(a,b,c){var d=Ua.exec(b.slice(c));return d?(a.w=Va[d[0].toLowerCase()],c+d[0].length):-1}function pa(a,b,c){var d=Sa.exec(b.slice(c));return d?(a.w=Ta[d[0].toLowerCase()],c+d[0].length):-1}function qa(a,b,c){var d=Ya.exec(b.slice(c));return d?(a.m=Za[d[0].toLowerCase()],c+d[0].length):-1}function sa(a,b,c){var d=Wa.exec(b.slice(c));return d?(a.m=Xa[d[0].toLowerCase()],c+d[0].length):-1}function ta(a,b,c){return h(a,Ia,b,c)}function ua(a,b,c){return h(a,Ja,b,c)}function va(a,b,c){return h(a,Ka,b,c)}function wa(a){return Na[a.getDay()]}function xa(a){return Ma[a.getDay()]}function ya(a){return Pa[a.getMonth()]}function za(a){return Oa[a.getMonth()]}function Aa(a){return La[+(a.getHours()>=12)]}function Ba(a){return 1+~~(a.getMonth()/3)}function Ca(a){return Na[a.getUTCDay()]}function Da(a){return Ma[a.getUTCDay()]}function Ea(a){return Pa[a.getUTCMonth()]}function Fa(a){return Oa[a.getUTCMonth()]}function Ga(a){return La[+(a.getUTCHours()>=12)]}function Ha(a){return 1+~~(a.getUTCMonth()/3)}var Ia=a.dateTime,Ja=a.date,Ka=a.time,La=a.periods,Ma=a.days,Na=a.shortDays,Oa=a.months,Pa=a.shortMonths,Qa=i(La),Ra=j(La),Sa=i(Ma),Ta=j(Ma),Ua=i(Na),Va=j(Na),Wa=i(Oa),Xa=j(Oa),Ya=i(Pa),Za=j(Pa),$a={a:wa,A:xa,b:ya,B:za,c:null,d:E,e:E,f:J,H:F,I:G,j:H,L:I,m:K,M:L,p:Aa,q:Ba,Q:la,s:ma,S:M,u:N,U:O,V:P,w:Q,W:R,x:null,X:null,y:S,Y:T,Z:U,"%":ka},_a={a:Ca,A:Da,b:Ea,B:Fa,c:null,d:V,e:V,f:$,H:W,I:X,j:Y,L:Z,m:_,M:aa,p:Ga,q:Ha,Q:la,s:ma,S:ba,u:ca,U:da,V:ea,w:fa,W:ga,x:null,X:null,y:ha,Y:ia,Z:ja,"%":ka},ab={a:oa,A:pa,b:qa,B:sa,c:ta,d:u,e:u,f:A,H:w,I:w,j:v,L:z,m:t,M:x,p:na,q:s,Q:C,s:D,S:y,u:l,U:m,V:n,w:k,W:o,x:ua,X:va,y:q,Y:p,Z:r,"%":B};return $a.x=f(Ja,$a),$a.X=f(Ka,$a),$a.c=f(Ia,$a),_a.x=f(Ja,_a),_a.X=f(Ka,_a),_a.c=f(Ia,_a),{format:function(a){var b=f(a+="",$a);return b.toString=function(){return a},b},parse:function(a){var b=g(a+="",!1);return b.toString=function(){return a},b},utcFormat:function(a){var b=f(a+="",_a);return b.toString=function(){return a},b},utcParse:function(a){var b=g(a+="",!0);return b.toString=function(){return a},b}}}function g(a,b,c){var d=a<0?"-":"",e=(d?-a:a)+"",f=e.length;return d+(f<c?new Array(c-f+1).join(b)+e:e)}function h(a){return a.replace(ua,"\\$&")}function i(a){return new RegExp("^(?:"+a.map(h).join("|")+")","i")}function j(a){for(var b={},c=-1,d=a.length;++c<d;)b[a[c].toLowerCase()]=c;return b}function k(a,b,c){var d=sa.exec(b.slice(c,c+1));return d?(a.w=+d[0],c+d[0].length):-1}function l(a,b,c){var d=sa.exec(b.slice(c,c+1));return d?(a.u=+d[0],c+d[0].length):-1}function m(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.U=+d[0],c+d[0].length):-1}function n(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.V=+d[0],c+d[0].length):-1}function o(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.W=+d[0],c+d[0].length):-1}function p(a,b,c){var d=sa.exec(b.slice(c,c+4));return d?(a.y=+d[0],c+d[0].length):-1}function q(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.y=+d[0]+(+d[0]>68?1900:2e3),c+d[0].length):-1}function r(a,b,c){var d=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(b.slice(c,c+6));
- return d?(a.Z=d[1]?0:-(d[2]+(d[3]||"00")),c+d[0].length):-1}function s(a,b,c){var d=sa.exec(b.slice(c,c+1));return d?(a.q=3*d[0]-3,c+d[0].length):-1}function t(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.m=d[0]-1,c+d[0].length):-1}function u(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.d=+d[0],c+d[0].length):-1}function v(a,b,c){var d=sa.exec(b.slice(c,c+3));return d?(a.m=0,a.d=+d[0],c+d[0].length):-1}function w(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.H=+d[0],c+d[0].length):-1}function x(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.M=+d[0],c+d[0].length):-1}function y(a,b,c){var d=sa.exec(b.slice(c,c+2));return d?(a.S=+d[0],c+d[0].length):-1}function z(a,b,c){var d=sa.exec(b.slice(c,c+3));return d?(a.L=+d[0],c+d[0].length):-1}function A(a,b,c){var d=sa.exec(b.slice(c,c+6));return d?(a.L=Math.floor(d[0]/1e3),c+d[0].length):-1}function B(a,b,c){var d=ta.exec(b.slice(c,c+1));return d?c+d[0].length:-1}function C(a,b,c){var d=sa.exec(b.slice(c));return d?(a.Q=+d[0],c+d[0].length):-1}function D(a,b,c){var d=sa.exec(b.slice(c));return d?(a.s=+d[0],c+d[0].length):-1}function E(a,b){return g(a.getDate(),b,2)}function F(a,b){return g(a.getHours(),b,2)}function G(a,b){return g(a.getHours()%12||12,b,2)}function H(a,c){return g(1+b.timeDay.count(b.timeYear(a),a),c,3)}function I(a,b){return g(a.getMilliseconds(),b,3)}function J(a,b){return I(a,b)+"000"}function K(a,b){return g(a.getMonth()+1,b,2)}function L(a,b){return g(a.getMinutes(),b,2)}function M(a,b){return g(a.getSeconds(),b,2)}function N(a){var b=a.getDay();return 0===b?7:b}function O(a,c){return g(b.timeSunday.count(b.timeYear(a)-1,a),c,2)}function P(a,c){var d=a.getDay();return a=d>=4||0===d?b.timeThursday(a):b.timeThursday.ceil(a),g(b.timeThursday.count(b.timeYear(a),a)+(4===b.timeYear(a).getDay()),c,2)}function Q(a){return a.getDay()}function R(a,c){return g(b.timeMonday.count(b.timeYear(a)-1,a),c,2)}function S(a,b){return g(a.getFullYear()%100,b,2)}function T(a,b){return g(a.getFullYear()%1e4,b,4)}function U(a){var b=a.getTimezoneOffset();return(b>0?"-":(b*=-1,"+"))+g(b/60|0,"0",2)+g(b%60,"0",2)}function V(a,b){return g(a.getUTCDate(),b,2)}function W(a,b){return g(a.getUTCHours(),b,2)}function X(a,b){return g(a.getUTCHours()%12||12,b,2)}function Y(a,c){return g(1+b.utcDay.count(b.utcYear(a),a),c,3)}function Z(a,b){return g(a.getUTCMilliseconds(),b,3)}function $(a,b){return Z(a,b)+"000"}function _(a,b){return g(a.getUTCMonth()+1,b,2)}function aa(a,b){return g(a.getUTCMinutes(),b,2)}function ba(a,b){return g(a.getUTCSeconds(),b,2)}function ca(a){var b=a.getUTCDay();return 0===b?7:b}function da(a,c){return g(b.utcSunday.count(b.utcYear(a)-1,a),c,2)}function ea(a,c){var d=a.getUTCDay();return a=d>=4||0===d?b.utcThursday(a):b.utcThursday.ceil(a),g(b.utcThursday.count(b.utcYear(a),a)+(4===b.utcYear(a).getUTCDay()),c,2)}function fa(a){return a.getUTCDay()}function ga(a,c){return g(b.utcMonday.count(b.utcYear(a)-1,a),c,2)}function ha(a,b){return g(a.getUTCFullYear()%100,b,2)}function ia(a,b){return g(a.getUTCFullYear()%1e4,b,4)}function ja(){return"+0000"}function ka(){return"%"}function la(a){return+a}function ma(a){return Math.floor(+a/1e3)}function na(b){return qa=f(b),a.timeFormat=qa.format,a.timeParse=qa.parse,a.utcFormat=qa.utcFormat,a.utcParse=qa.utcParse,qa}function oa(a){return a.toISOString()}function pa(a){var b=new Date(a);return isNaN(b)?null:b}var qa,ra={"-":"",_:" ",0:"0"},sa=/^\s*\d+/,ta=/^%/,ua=/[\\^$*+?|[\]().{}]/g;na({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var va="%Y-%m-%dT%H:%M:%S.%LZ",wa=Date.prototype.toISOString?oa:a.utcFormat(va),xa=+new Date("2000-01-01T00:00:00.000Z")?pa:a.utcParse(va);a.isoFormat=wa,a.isoParse=xa,a.timeFormatDefaultLocale=na,a.timeFormatLocale=f,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-time":55}],55:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(a,c,d,g){function h(b){return a(b=0===arguments.length?new Date:new Date(+b)),b}return h.floor=function(b){return a(b=new Date(+b)),b},h.ceil=function(b){return a(b=new Date(b-1)),c(b,1),a(b),b},h.round=function(a){var b=h(a),c=h.ceil(a);return a-b<c-a?b:c},h.offset=function(a,b){return c(a=new Date(+a),null==b?1:Math.floor(b)),a},h.range=function(b,d,e){var f,g=[];if(b=h.ceil(b),e=null==e?1:Math.floor(e),!(b<d&&e>0))return g;do g.push(f=new Date(+b)),c(b,e),a(b);while(f<b&&b<d);return g},h.filter=function(d){return b(function(b){if(b>=b)for(;a(b),!d(b);)b.setTime(b-1)},function(a,b){if(a>=a)if(b<0)for(;++b<=0;)for(;c(a,-1),!d(a););else for(;--b>=0;)for(;c(a,1),!d(a););})},d&&(h.count=function(b,c){return e.setTime(+b),f.setTime(+c),a(e),a(f),Math.floor(d(e,f))},h.every=function(a){return a=Math.floor(a),isFinite(a)&&a>0?a>1?h.filter(g?function(b){return g(b)%a===0}:function(b){return h.count(0,b)%a===0}):h:null}),h}function c(a){return b(function(b){b.setDate(b.getDate()-(b.getDay()+7-a)%7),b.setHours(0,0,0,0)},function(a,b){a.setDate(a.getDate()+7*b)},function(a,b){return(b-a-(b.getTimezoneOffset()-a.getTimezoneOffset())*j)/m})}function d(a){return b(function(b){b.setUTCDate(b.getUTCDate()-(b.getUTCDay()+7-a)%7),b.setUTCHours(0,0,0,0)},function(a,b){a.setUTCDate(a.getUTCDate()+7*b)},function(a,b){return(b-a)/m})}var e=new Date,f=new Date,g=b(function(){},function(a,b){a.setTime(+a+b)},function(a,b){return b-a});g.every=function(a){return a=Math.floor(a),isFinite(a)&&a>0?a>1?b(function(b){b.setTime(Math.floor(b/a)*a)},function(b,c){b.setTime(+b+c*a)},function(b,c){return(c-b)/a}):g:null};var h=g.range,i=1e3,j=6e4,k=36e5,l=864e5,m=6048e5,n=b(function(a){a.setTime(a-a.getMilliseconds())},function(a,b){a.setTime(+a+b*i)},function(a,b){return(b-a)/i},function(a){return a.getUTCSeconds()}),o=n.range,p=b(function(a){a.setTime(a-a.getMilliseconds()-a.getSeconds()*i)},function(a,b){a.setTime(+a+b*j)},function(a,b){return(b-a)/j},function(a){return a.getMinutes()}),q=p.range,r=b(function(a){a.setTime(a-a.getMilliseconds()-a.getSeconds()*i-a.getMinutes()*j)},function(a,b){a.setTime(+a+b*k)},function(a,b){return(b-a)/k},function(a){return a.getHours()}),s=r.range,t=b(function(a){a.setHours(0,0,0,0)},function(a,b){a.setDate(a.getDate()+b)},function(a,b){return(b-a-(b.getTimezoneOffset()-a.getTimezoneOffset())*j)/l},function(a){return a.getDate()-1}),u=t.range,v=c(0),w=c(1),x=c(2),y=c(3),z=c(4),A=c(5),B=c(6),C=v.range,D=w.range,E=x.range,F=y.range,G=z.range,H=A.range,I=B.range,J=b(function(a){a.setDate(1),a.setHours(0,0,0,0)},function(a,b){a.setMonth(a.getMonth()+b)},function(a,b){return b.getMonth()-a.getMonth()+12*(b.getFullYear()-a.getFullYear())},function(a){return a.getMonth()}),K=J.range,L=b(function(a){a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,b){a.setFullYear(a.getFullYear()+b)},function(a,b){return b.getFullYear()-a.getFullYear()},function(a){return a.getFullYear()});L.every=function(a){return isFinite(a=Math.floor(a))&&a>0?b(function(b){b.setFullYear(Math.floor(b.getFullYear()/a)*a),b.setMonth(0,1),b.setHours(0,0,0,0)},function(b,c){b.setFullYear(b.getFullYear()+c*a)}):null};var M=L.range,N=b(function(a){a.setUTCSeconds(0,0)},function(a,b){a.setTime(+a+b*j)},function(a,b){return(b-a)/j},function(a){return a.getUTCMinutes()}),O=N.range,P=b(function(a){a.setUTCMinutes(0,0,0)},function(a,b){a.setTime(+a+b*k)},function(a,b){return(b-a)/k},function(a){return a.getUTCHours()}),Q=P.range,R=b(function(a){a.setUTCHours(0,0,0,0)},function(a,b){a.setUTCDate(a.getUTCDate()+b)},function(a,b){return(b-a)/l},function(a){return a.getUTCDate()-1}),S=R.range,T=d(0),U=d(1),V=d(2),W=d(3),X=d(4),Y=d(5),Z=d(6),$=T.range,_=U.range,aa=V.range,ba=W.range,ca=X.range,da=Y.range,ea=Z.range,fa=b(function(a){a.setUTCDate(1),a.setUTCHours(0,0,0,0)},function(a,b){a.setUTCMonth(a.getUTCMonth()+b)},function(a,b){return b.getUTCMonth()-a.getUTCMonth()+12*(b.getUTCFullYear()-a.getUTCFullYear())},function(a){return a.getUTCMonth()}),ga=fa.range,ha=b(function(a){a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,b){a.setUTCFullYear(a.getUTCFullYear()+b)},function(a,b){return b.getUTCFullYear()-a.getUTCFullYear()},function(a){return a.getUTCFullYear()});ha.every=function(a){return isFinite(a=Math.floor(a))&&a>0?b(function(b){b.setUTCFullYear(Math.floor(b.getUTCFullYear()/a)*a),b.setUTCMonth(0,1),b.setUTCHours(0,0,0,0)},function(b,c){b.setUTCFullYear(b.getUTCFullYear()+c*a)}):null};var ia=ha.range;a.timeDay=t,a.timeDays=u,a.timeFriday=A,a.timeFridays=H,a.timeHour=r,a.timeHours=s,a.timeInterval=b,a.timeMillisecond=g,a.timeMilliseconds=h,a.timeMinute=p,a.timeMinutes=q,a.timeMonday=w,a.timeMondays=D,a.timeMonth=J,a.timeMonths=K,a.timeSaturday=B,a.timeSaturdays=I,a.timeSecond=n,a.timeSeconds=o,a.timeSunday=v,a.timeSundays=C,a.timeThursday=z,a.timeThursdays=G,a.timeTuesday=x,a.timeTuesdays=E,a.timeWednesday=y,a.timeWednesdays=F,a.timeWeek=v,a.timeWeeks=C,a.timeYear=L,a.timeYears=M,a.utcDay=R,a.utcDays=S,a.utcFriday=Y,a.utcFridays=da,a.utcHour=P,a.utcHours=Q,a.utcMillisecond=g,a.utcMilliseconds=h,a.utcMinute=N,a.utcMinutes=O,a.utcMonday=U,a.utcMondays=_,a.utcMonth=fa,a.utcMonths=ga,a.utcSaturday=Z,a.utcSaturdays=ea,a.utcSecond=n,a.utcSeconds=o,a.utcSunday=T,a.utcSundays=$,a.utcThursday=X,a.utcThursdays=ca,a.utcTuesday=V,a.utcTuesdays=aa,a.utcWednesday=W,a.utcWednesdays=ba,a.utcWeek=T,a.utcWeeks=$,a.utcYear=ha,a.utcYears=ia,Object.defineProperty(a,"__esModule",{value:!0})})},{}],56:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):(b=b||self,e(b.d3=b.d3||{}))}(this,function(a){"use strict";function b(){return t||(w(c),t=v.now()+u)}function c(){t=0}function d(){this._call=this._time=this._next=null}function e(a,b,c){var e=new d;return e.restart(a,b,c),e}function f(){b(),++o;for(var a,c=m;c;)(a=t-c._time)>=0&&c._call.call(null,a),c=c._next;--o}function g(){t=(s=v.now())+u,o=p=0;try{f()}finally{o=0,i(),t=0}}function h(){var a=v.now(),b=a-s;b>r&&(u-=b,s=a)}function i(){for(var a,b,c=m,d=1/0;c;)c._call?(d>c._time&&(d=c._time),a=c,c=c._next):(b=c._next,c._next=null,c=a?a._next=b:m=b);n=a,j(d)}function j(a){if(!o){p&&(p=clearTimeout(p));var b=a-t;b>24?(a<1/0&&(p=setTimeout(g,a-v.now()-u)),q&&(q=clearInterval(q))):(q||(s=v.now(),q=setInterval(h,r)),o=1,w(g))}}function k(a,b,c){var e=new d;return b=null==b?0:+b,e.restart(function(c){e.stop(),a(c+b)},b,c),e}function l(a,c,e){var f=new d,g=c;return null==c?(f.restart(a,c,e),f):(c=+c,e=null==e?b():+e,f.restart(function b(d){d+=g,f.restart(b,g+=c,e),a(d)},c,e),f)}var m,n,o=0,p=0,q=0,r=1e3,s=0,t=0,u=0,v="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(a){setTimeout(a,17)};d.prototype=e.prototype={constructor:d,restart:function(a,c,d){if("function"!=typeof a)throw new TypeError("callback is not a function");d=(null==d?b():+d)+(null==c?0:+c),this._next||n===this||(n?n._next=this:m=this,n=this),this._call=a,this._time=d,j()},stop:function(){this._call&&(this._call=null,this._time=1/0,j())}},a.interval=l,a.now=b,a.timeout=k,a.timer=e,a.timerFlush=f,Object.defineProperty(a,"__esModule",{value:!0})})},{}],57:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-selection"),b("d3-dispatch"),b("d3-timer"),b("d3-interpolate"),b("d3-color"),b("d3-ease")):"function"==typeof a&&a.amd?a(["exports","d3-selection","d3-dispatch","d3-timer","d3-interpolate","d3-color","d3-ease"],f):(e=e||self,f(e.d3=e.d3||{},e.d3,e.d3,e.d3,e.d3,e.d3,e.d3))}(this,function(a,b,c,d,e,f,g){"use strict";function h(a,b,c,d,e,f){var g=a.__transition;if(g){if(c in g)return}else a.__transition={};l(a,c,{name:b,index:d,group:e,on:sa,tween:ta,time:f.time,delay:f.delay,duration:f.duration,ease:f.ease,timer:null,state:ua})}function i(a,b){var c=k(a,b);if(c.state>ua)throw new Error("too late; already scheduled");return c}function j(a,b){var c=k(a,b);if(c.state>xa)throw new Error("too late; already running");return c}function k(a,b){var c=a.__transition;if(!c||!(c=c[b]))throw new Error("transition not found");return c}function l(a,b,c){function e(a){c.state=va,c.timer.restart(f,c.delay,c.time),c.delay<=a&&f(a-c.delay)}function f(e){var k,l,m,n;if(c.state!==va)return h();for(k in j)if(n=j[k],n.name===c.name){if(n.state===xa)return d.timeout(f);n.state===ya?(n.state=Aa,n.timer.stop(),n.on.call("interrupt",a,a.__data__,n.index,n.group),delete j[k]):+k<b&&(n.state=Aa,n.timer.stop(),n.on.call("cancel",a,a.__data__,n.index,n.group),delete j[k])}if(d.timeout(function(){c.state===xa&&(c.state=ya,c.timer.restart(g,c.delay,c.time),g(e))}),c.state=wa,c.on.call("start",a,a.__data__,c.index,c.group),c.state===wa){for(c.state=xa,i=new Array(m=c.tween.length),k=0,l=-1;k<m;++k)(n=c.tween[k].value.call(a,a.__data__,c.index,c.group))&&(i[++l]=n);i.length=l+1}}function g(b){for(var d=b<c.duration?c.ease.call(null,b/c.duration):(c.timer.restart(h),c.state=za,1),e=-1,f=i.length;++e<f;)i[e].call(a,d);c.state===za&&(c.on.call("end",a,a.__data__,c.index,c.group),h())}function h(){c.state=Aa,c.timer.stop(),delete j[b];for(var d in j)return;delete a.__transition}var i,j=a.__transition;j[b]=c,c.timer=d.timer(e,0,c.time)}function m(a,b){var c,d,e,f=a.__transition,g=!0;if(f){b=null==b?null:b+"";for(e in f)(c=f[e]).name===b?(d=c.state>wa&&c.state<za,c.state=Aa,c.timer.stop(),c.on.call(d?"interrupt":"cancel",a,a.__data__,c.index,c.group),delete f[e]):g=!1;g&&delete a.__transition}}function n(a){return this.each(function(){m(this,a)})}function o(a,b){var c,d;return function(){var e=j(this,a),f=e.tween;if(f!==c){d=c=f;for(var g=0,h=d.length;g<h;++g)if(d[g].name===b){d=d.slice(),d.splice(g,1);break}}e.tween=d}}function p(a,b,c){var d,e;if("function"!=typeof c)throw new Error;return function(){var f=j(this,a),g=f.tween;if(g!==d){e=(d=g).slice();for(var h={name:b,value:c},i=0,k=e.length;i<k;++i)if(e[i].name===b){e[i]=h;break}i===k&&e.push(h)}f.tween=e}}function q(a,b){var c=this._id;if(a+="",arguments.length<2){for(var d,e=k(this.node(),c).tween,f=0,g=e.length;f<g;++f)if((d=e[f]).name===a)return d.value;return null}return this.each((null==b?o:p)(c,a,b))}function r(a,b,c){var d=a._id;return a.each(function(){var a=j(this,d);(a.value||(a.value={}))[b]=c.apply(this,arguments)}),function(a){return k(a,d).value[b]}}function s(a,b){var c;return("number"==typeof b?e.interpolateNumber:b instanceof f.color?e.interpolateRgb:(c=f.color(b))?(b=c,e.interpolateRgb):e.interpolateString)(a,b)}function t(a){return function(){this.removeAttribute(a)}}function u(a){return function(){this.removeAttributeNS(a.space,a.local)}}function v(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttribute(a);return g===f?null:g===d?e:e=b(d=g,c)}}function w(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttributeNS(a.space,a.local);return g===f?null:g===d?e:e=b(d=g,c)}}function x(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttribute(a):(g=this.getAttribute(a),h=i+"",g===h?null:g===d&&h===e?f:(e=h,f=b(d=g,i)))}}function y(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttributeNS(a.space,a.local):(g=this.getAttributeNS(a.space,a.local),h=i+"",g===h?null:g===d&&h===e?f:(e=h,f=b(d=g,i)))}}function z(a,c){var d=b.namespace(a),f="transform"===d?e.interpolateTransformSvg:s;return this.attrTween(a,"function"==typeof c?(d.local?y:x)(d,f,r(this,"attr."+a,c)):null==c?(d.local?u:t)(d):(d.local?w:v)(d,f,c))}function A(a,b){return function(c){this.setAttribute(a,b.call(this,c))}}function B(a,b){return function(c){this.setAttributeNS(a.space,a.local,b.call(this,c))}}function C(a,b){function c(){var c=b.apply(this,arguments);return c!==e&&(d=(e=c)&&B(a,c)),d}var d,e;return c._value=b,c}function D(a,b){function c(){var c=b.apply(this,arguments);return c!==e&&(d=(e=c)&&A(a,c)),d}var d,e;return c._value=b,c}function E(a,c){var d="attr."+a;if(arguments.length<2)return(d=this.tween(d))&&d._value;if(null==c)return this.tween(d,null);if("function"!=typeof c)throw new Error;var e=b.namespace(a);return this.tween(d,(e.local?C:D)(e,c))}function F(a,b){return function(){i(this,a).delay=+b.apply(this,arguments)}}function G(a,b){return b=+b,function(){i(this,a).delay=b}}function H(a){var b=this._id;return arguments.length?this.each(("function"==typeof a?F:G)(b,a)):k(this.node(),b).delay}function I(a,b){return function(){j(this,a).duration=+b.apply(this,arguments)}}function J(a,b){return b=+b,function(){j(this,a).duration=b}}function K(a){var b=this._id;return arguments.length?this.each(("function"==typeof a?I:J)(b,a)):k(this.node(),b).duration}function L(a,b){if("function"!=typeof b)throw new Error;return function(){j(this,a).ease=b}}function M(a){var b=this._id;return arguments.length?this.each(L(b,a)):k(this.node(),b).ease}function N(a){"function"!=typeof a&&(a=b.matcher(a));for(var c=this._groups,d=c.length,e=new Array(d),f=0;f<d;++f)for(var g,h=c[f],i=h.length,j=e[f]=[],k=0;k<i;++k)(g=h[k])&&a.call(g,g.__data__,k,h)&&j.push(g);return new ma(e,this._parents,this._name,this._id)}function O(a){if(a._id!==this._id)throw new Error;for(var b=this._groups,c=a._groups,d=b.length,e=c.length,f=Math.min(d,e),g=new Array(d),h=0;h<f;++h)for(var i,j=b[h],k=c[h],l=j.length,m=g[h]=new Array(l),n=0;n<l;++n)(i=j[n]||k[n])&&(m[n]=i);for(;h<d;++h)g[h]=b[h];return new ma(g,this._parents,this._name,this._id)}function P(a){return(a+"").trim().split(/^|\s+/).every(function(a){var b=a.indexOf(".");return b>=0&&(a=a.slice(0,b)),!a||"start"===a})}function Q(a,b,c){var d,e,f=P(b)?i:j;return function(){var g=f(this,a),h=g.on;h!==d&&(e=(d=h).copy()).on(b,c),g.on=e}}function R(a,b){var c=this._id;return arguments.length<2?k(this.node(),c).on.on(a):this.each(Q(c,a,b))}function S(a){return function(){var b=this.parentNode;for(var c in this.__transition)if(+c!==a)return;b&&b.removeChild(this)}}function T(){return this.on("end.remove",S(this._id))}function U(a){var c=this._name,d=this._id;"function"!=typeof a&&(a=b.selector(a));for(var e=this._groups,f=e.length,g=new Array(f),i=0;i<f;++i)for(var j,l,m=e[i],n=m.length,o=g[i]=new Array(n),p=0;p<n;++p)(j=m[p])&&(l=a.call(j,j.__data__,p,m))&&("__data__"in j&&(l.__data__=j.__data__),o[p]=l,h(o[p],c,d,p,o,k(j,d)));return new ma(g,this._parents,c,d)}function V(a){var c=this._name,d=this._id;"function"!=typeof a&&(a=b.selectorAll(a));for(var e=this._groups,f=e.length,g=[],i=[],j=0;j<f;++j)for(var l,m=e[j],n=m.length,o=0;o<n;++o)if(l=m[o]){for(var p,q=a.call(l,l.__data__,o,m),r=k(l,d),s=0,t=q.length;s<t;++s)(p=q[s])&&h(p,c,d,s,q,r);g.push(q),i.push(l)}return new ma(g,i,c,d)}function W(){return new Ba(this._groups,this._parents)}function X(a,c){var d,e,f;return function(){var g=b.style(this,a),h=(this.style.removeProperty(a),b.style(this,a));return g===h?null:g===d&&h===e?f:f=c(d=g,e=h)}}function Y(a){return function(){this.style.removeProperty(a)}}function Z(a,c,d){var e,f,g=d+"";return function(){var h=b.style(this,a);return h===g?null:h===e?f:f=c(e=h,d)}}function $(a,c,d){var e,f,g;return function(){var h=b.style(this,a),i=d(this),j=i+"";return null==i&&(this.style.removeProperty(a),j=i=b.style(this,a)),h===j?null:h===e&&j===f?g:(f=j,g=c(e=h,i))}}function _(a,b){var c,d,e,f,g="style."+b,h="end."+g;return function(){var i=j(this,a),k=i.on,l=null==i.value[g]?f||(f=Y(b)):void 0;k===c&&e===l||(d=(c=k).copy()).on(h,e=l),i.on=d}}function aa(a,b,c){var d="transform"==(a+="")?e.interpolateTransformCss:s;return null==b?this.styleTween(a,X(a,d)).on("end.style."+a,Y(a)):"function"==typeof b?this.styleTween(a,$(a,d,r(this,"style."+a,b))).each(_(this._id,a)):this.styleTween(a,Z(a,d,b),c).on("end.style."+a,null)}function ba(a,b,c){return function(d){this.style.setProperty(a,b.call(this,d),c)}}function ca(a,b,c){function d(){var d=b.apply(this,arguments);return d!==f&&(e=(f=d)&&ba(a,d,c)),e}var e,f;return d._value=b,d}function da(a,b,c){var d="style."+(a+="");if(arguments.length<2)return(d=this.tween(d))&&d._value;if(null==b)return this.tween(d,null);if("function"!=typeof b)throw new Error;return this.tween(d,ca(a,b,null==c?"":c))}function ea(a){return function(){this.textContent=a}}function fa(a){return function(){var b=a(this);this.textContent=null==b?"":b}}function ga(a){return this.tween("text","function"==typeof a?fa(r(this,"text",a)):ea(null==a?"":a+""))}function ha(a){return function(b){this.textContent=a.call(this,b)}}function ia(a){function b(){var b=a.apply(this,arguments);return b!==d&&(c=(d=b)&&ha(b)),c}var c,d;return b._value=a,b}function ja(a){var b="text";if(arguments.length<1)return(b=this.tween(b))&&b._value;if(null==a)return this.tween(b,null);if("function"!=typeof a)throw new Error;return this.tween(b,ia(a))}function ka(){for(var a=this._name,b=this._id,c=oa(),d=this._groups,e=d.length,f=0;f<e;++f)for(var g,i=d[f],j=i.length,l=0;l<j;++l)if(g=i[l]){var m=k(g,b);h(g,a,c,l,i,{time:m.time+m.delay+m.duration,delay:0,duration:m.duration,ease:m.ease})}return new ma(d,this._parents,a,c)}function la(){var a,b,c=this,d=c._id,e=c.size();return new Promise(function(f,g){var h={value:g},i={value:function(){0===--e&&f()}};c.each(function(){var c=j(this,d),e=c.on;e!==a&&(b=(a=e).copy(),b._.cancel.push(h),b._.interrupt.push(h),b._.end.push(i)),c.on=b})})}function ma(a,b,c,d){this._groups=a,this._parents=b,this._name=c,this._id=d}function na(a){return b.selection().transition(a)}function oa(){return++Ca}function pa(a,b){for(var c;!(c=a.__transition)||!(c=c[b]);)if(!(a=a.parentNode))return Ea.time=d.now(),Ea;return c}function qa(a){var b,c;a instanceof ma?(b=a._id,a=a._name):(b=oa(),(c=Ea).time=d.now(),a=null==a?null:a+"");for(var e=this._groups,f=e.length,g=0;g<f;++g)for(var i,j=e[g],k=j.length,l=0;l<k;++l)(i=j[l])&&h(i,a,b,l,j,c||pa(i,b));return new ma(e,this._parents,a,b)}function ra(a,b){var c,d,e=a.__transition;if(e){b=null==b?null:b+"";for(d in e)if((c=e[d]).state>va&&c.name===b)return new ma([[a]],Fa,b,+d)}return null}var sa=c.dispatch("start","end","cancel","interrupt"),ta=[],ua=0,va=1,wa=2,xa=3,ya=4,za=5,Aa=6,Ba=b.selection.prototype.constructor,Ca=0,Da=b.selection.prototype;ma.prototype=na.prototype={constructor:ma,select:U,selectAll:V,filter:N,merge:O,selection:W,transition:ka,call:Da.call,nodes:Da.nodes,node:Da.node,size:Da.size,empty:Da.empty,each:Da.each,on:R,attr:z,attrTween:E,style:aa,styleTween:da,text:ga,textTween:ja,remove:T,tween:q,delay:H,duration:K,ease:M,end:la};var Ea={time:null,delay:0,duration:250,ease:g.easeCubicInOut};b.selection.prototype.interrupt=n,b.selection.prototype.transition=qa;var Fa=[null];a.active=ra,a.interrupt=m,a.transition=na,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-color":34,"d3-dispatch":36,"d3-ease":39,"d3-interpolate":45,"d3-selection":52,"d3-timer":56}],58:[function(b,c,d){!function(b,e){"object"==typeof d&&"undefined"!=typeof c?e(d):"function"==typeof a&&a.amd?a(["exports"],e):e(b.d3=b.d3||{})}(this,function(a){"use strict";function b(a){return function(){return a}}function c(a){return a[0]}function d(a){return a[1]}function e(){this._=null}function f(a){a.U=a.C=a.L=a.R=a.P=a.N=null}function g(a,b){var c=b,d=b.R,e=c.U;e?e.L===c?e.L=d:e.R=d:a._=d,d.U=e,c.U=d,c.R=d.L,c.R&&(c.R.U=c),d.L=c}function h(a,b){var c=b,d=b.L,e=c.U;e?e.L===c?e.L=d:e.R=d:a._=d,d.U=e,c.U=d,c.L=d.R,c.L&&(c.L.U=c),d.R=c}function i(a){for(;a.L;)a=a.L;return a}function j(a,b,c,d){var e=[null,null],f=N.push(e)-1;return e.left=a,e.right=b,c&&l(e,a,b,c),d&&l(e,b,a,d),L[a.index].halfedges.push(f),L[b.index].halfedges.push(f),e}function k(a,b,c){var d=[b,c];return d.left=a,d}function l(a,b,c,d){a[0]||a[1]?a.left===c?a[1]=d:a[0]=d:(a[0]=d,a.left=b,a.right=c)}function m(a,b,c,d,e){var f,g=a[0],h=a[1],i=g[0],j=g[1],k=h[0],l=h[1],m=0,n=1,o=k-i,p=l-j;if(f=b-i,o||!(f>0)){if(f/=o,o<0){if(f<m)return;f<n&&(n=f)}else if(o>0){if(f>n)return;f>m&&(m=f)}if(f=d-i,o||!(f<0)){if(f/=o,o<0){if(f>n)return;f>m&&(m=f)}else if(o>0){if(f<m)return;f<n&&(n=f)}if(f=c-j,p||!(f>0)){if(f/=p,p<0){if(f<m)return;f<n&&(n=f)}else if(p>0){if(f>n)return;f>m&&(m=f)}if(f=e-j,p||!(f<0)){if(f/=p,p<0){if(f>n)return;f>m&&(m=f)}else if(p>0){if(f<m)return;f<n&&(n=f)}return!(m>0||n<1)||(m>0&&(a[0]=[i+m*o,j+m*p]),n<1&&(a[1]=[i+n*o,j+n*p]),!0)}}}}}function n(a,b,c,d,e){var f=a[1];if(f)return!0;var g,h,i=a[0],j=a.left,k=a.right,l=j[0],m=j[1],n=k[0],o=k[1],p=(l+n)/2,q=(m+o)/2;if(o===m){if(p<b||p>=d)return;if(l>n){if(i){if(i[1]>=e)return}else i=[p,c];f=[p,e]}else{if(i){if(i[1]<c)return}else i=[p,e];f=[p,c]}}else if(g=(l-n)/(o-m),h=q-g*p,g<-1||g>1)if(l>n){if(i){if(i[1]>=e)return}else i=[(c-h)/g,c];f=[(e-h)/g,e]}else{if(i){if(i[1]<c)return}else i=[(e-h)/g,e];f=[(c-h)/g,c]}else if(m<o){if(i){if(i[0]>=d)return}else i=[b,g*b+h];f=[d,g*d+h]}else{if(i){if(i[0]<b)return}else i=[d,g*d+h];f=[b,g*b+h]}return a[0]=i,a[1]=f,!0}function o(a,b,c,d){for(var e,f=N.length;f--;)n(e=N[f],a,b,c,d)&&m(e,a,b,c,d)&&(Math.abs(e[0][0]-e[1][0])>Q||Math.abs(e[0][1]-e[1][1])>Q)||delete N[f]}function p(a){return L[a.index]={site:a,halfedges:[]}}function q(a,b){var c=a.site,d=b.left,e=b.right;return c===e&&(e=d,d=c),e?Math.atan2(e[1]-d[1],e[0]-d[0]):(c===d?(d=b[1],e=b[0]):(d=b[0],e=b[1]),Math.atan2(d[0]-e[0],e[1]-d[1]))}function r(a,b){return b[+(b.left!==a.site)]}function s(a,b){return b[+(b.left===a.site)]}function t(){for(var a,b,c,d,e=0,f=L.length;e<f;++e)if((a=L[e])&&(d=(b=a.halfedges).length)){var g=new Array(d),h=new Array(d);for(c=0;c<d;++c)g[c]=c,h[c]=q(a,N[b[c]]);for(g.sort(function(a,b){return h[b]-h[a]}),c=0;c<d;++c)h[c]=b[g[c]];for(c=0;c<d;++c)b[c]=h[c]}}function u(a,b,c,d){var e,f,g,h,i,j,l,m,n,o,p,q,t=L.length,u=!0;for(e=0;e<t;++e)if(f=L[e]){for(g=f.site,i=f.halfedges,h=i.length;h--;)N[i[h]]||i.splice(h,1);for(h=0,j=i.length;h<j;)o=s(f,N[i[h]]),p=o[0],q=o[1],l=r(f,N[i[++h%j]]),m=l[0],n=l[1],(Math.abs(p-m)>Q||Math.abs(q-n)>Q)&&(i.splice(h,0,N.push(k(g,o,Math.abs(p-a)<Q&&d-q>Q?[a,Math.abs(m-a)<Q?n:d]:Math.abs(q-d)<Q&&c-p>Q?[Math.abs(n-d)<Q?m:c,d]:Math.abs(p-c)<Q&&q-b>Q?[c,Math.abs(m-c)<Q?n:b]:Math.abs(q-b)<Q&&p-a>Q?[Math.abs(n-b)<Q?m:a,b]:null))-1),++j);j&&(u=!1)}if(u){var v,w,x,y=1/0;for(e=0,u=null;e<t;++e)(f=L[e])&&(g=f.site,v=g[0]-a,w=g[1]-b,x=v*v+w*w,x<y&&(y=x,u=f));if(u){var z=[a,b],A=[a,d],B=[c,d],C=[c,b];u.halfedges.push(N.push(k(g=u.site,z,A))-1,N.push(k(g,A,B))-1,N.push(k(g,B,C))-1,N.push(k(g,C,z))-1)}}for(e=0;e<t;++e)(f=L[e])&&(f.halfedges.length||delete L[e])}function v(){f(this),this.x=this.y=this.arc=this.site=this.cy=null}function w(a){var b=a.P,c=a.N;if(b&&c){var d=b.site,e=a.site,f=c.site;if(d!==f){var g=e[0],h=e[1],i=d[0]-g,j=d[1]-h,k=f[0]-g,l=f[1]-h,m=2*(i*l-j*k);if(!(m>=-R)){var n=i*i+j*j,o=k*k+l*l,p=(l*n-j*o)/m,q=(i*o-k*n)/m,r=O.pop()||new v;r.arc=a,r.site=e,r.x=p+g,r.y=(r.cy=q+h)+Math.sqrt(p*p+q*q),a.circle=r;for(var s=null,t=M._;t;)if(r.y<t.y||r.y===t.y&&r.x<=t.x){if(!t.L){s=t.P;break}t=t.L}else{if(!t.R){s=t;break}t=t.R}M.insert(s,r),s||(J=r)}}}}function x(a){var b=a.circle;b&&(b.P||(J=b.N),M.remove(b),O.push(b),f(b),a.circle=null)}function y(){f(this),this.edge=this.site=this.circle=null}function z(a){var b=P.pop()||new y;return b.site=a,b}function A(a){x(a),K.remove(a),P.push(a),f(a)}function B(a){var b=a.circle,c=b.x,d=b.cy,e=[c,d],f=a.P,g=a.N,h=[a];A(a);for(var i=f;i.circle&&Math.abs(c-i.circle.x)<Q&&Math.abs(d-i.circle.cy)<Q;)f=i.P,h.unshift(i),A(i),i=f;h.unshift(i),x(i);for(var k=g;k.circle&&Math.abs(c-k.circle.x)<Q&&Math.abs(d-k.circle.cy)<Q;)g=k.N,h.push(k),A(k),k=g;h.push(k),x(k);var m,n=h.length;for(m=1;m<n;++m)k=h[m],i=h[m-1],l(k.edge,i.site,k.site,e);i=h[0],k=h[n-1],k.edge=j(i.site,k.site,null,e),w(i),w(k)}function C(a){for(var b,c,d,e,f=a[0],g=a[1],h=K._;h;)if(d=D(h,g)-f,d>Q)h=h.L;else{if(e=f-E(h,g),!(e>Q)){d>-Q?(b=h.P,c=h):e>-Q?(b=h,c=h.N):b=c=h;break}if(!h.R){b=h;break}h=h.R}p(a);var i=z(a);if(K.insert(b,i),b||c){if(b===c)return x(b),c=z(b.site),K.insert(i,c),i.edge=c.edge=j(b.site,i.site),w(b),void w(c);if(!c)return void(i.edge=j(b.site,i.site));x(b),x(c);var k=b.site,m=k[0],n=k[1],o=a[0]-m,q=a[1]-n,r=c.site,s=r[0]-m,t=r[1]-n,u=2*(o*t-q*s),v=o*o+q*q,y=s*s+t*t,A=[(t*v-q*y)/u+m,(o*y-s*v)/u+n];l(c.edge,k,r,A),i.edge=j(k,a,null,A),c.edge=j(a,r,null,A),w(b),w(c)}}function D(a,b){var c=a.site,d=c[0],e=c[1],f=e-b;if(!f)return d;var g=a.P;if(!g)return-(1/0);c=g.site;var h=c[0],i=c[1],j=i-b;if(!j)return h;var k=h-d,l=1/f-1/j,m=k/j;return l?(-m+Math.sqrt(m*m-2*l*(k*k/(-2*j)-i+j/2+e-f/2)))/l+d:(d+h)/2}function E(a,b){var c=a.N;if(c)return D(c,b);var d=a.site;return d[1]===b?d[0]:1/0}function F(a,b,c){return(a[0]-c[0])*(b[1]-a[1])-(a[0]-b[0])*(c[1]-a[1])}function G(a,b){return b[1]-a[1]||b[0]-a[0]}function H(a,b){var c,d,f,g=a.sort(G).pop();for(N=[],L=new Array(a.length),K=new e,M=new e;;)if(f=J,g&&(!f||g[1]<f.y||g[1]===f.y&&g[0]<f.x))g[0]===c&&g[1]===d||(C(g),c=g[0],d=g[1]),g=a.pop();else{if(!f)break;B(f.arc)}if(t(),b){var h=+b[0][0],i=+b[0][1],j=+b[1][0],k=+b[1][1];o(h,i,j,k),u(h,i,j,k)}this.edges=N,this.cells=L,K=M=N=L=null}function I(){function a(a){return new H(a.map(function(b,c){var d=[Math.round(e(b,c,a)/Q)*Q,Math.round(f(b,c,a)/Q)*Q];return d.index=c,d.data=b,d}),g)}var e=c,f=d,g=null;return a.polygons=function(b){return a(b).polygons()},a.links=function(b){return a(b).links()},a.triangles=function(b){return a(b).triangles()},a.x=function(c){return arguments.length?(e="function"==typeof c?c:b(+c),a):e},a.y=function(c){return arguments.length?(f="function"==typeof c?c:b(+c),a):f},a.extent=function(b){return arguments.length?(g=null==b?null:[[+b[0][0],+b[0][1]],[+b[1][0],+b[1][1]]],a):g&&[[g[0][0],g[0][1]],[g[1][0],g[1][1]]]},a.size=function(b){return arguments.length?(g=null==b?null:[[0,0],[+b[0],+b[1]]],a):g&&[g[1][0]-g[0][0],g[1][1]-g[0][1]]},a}e.prototype={constructor:e,insert:function(a,b){var c,d,e;if(a){if(b.P=a,b.N=a.N,a.N&&(a.N.P=b),a.N=b,a.R){for(a=a.R;a.L;)a=a.L;a.L=b}else a.R=b;c=a}else this._?(a=i(this._),b.P=null,b.N=a,a.P=a.L=b,c=a):(b.P=b.N=null,this._=b,c=null);for(b.L=b.R=null,b.U=c,b.C=!0,a=b;c&&c.C;)d=c.U,c===d.L?(e=d.R,e&&e.C?(c.C=e.C=!1,d.C=!0,a=d):(a===c.R&&(g(this,c),a=c,c=a.U),c.C=!1,d.C=!0,h(this,d))):(e=d.L,e&&e.C?(c.C=e.C=!1,d.C=!0,a=d):(a===c.L&&(h(this,c),a=c,c=a.U),c.C=!1,d.C=!0,g(this,d))),c=a.U;this._.C=!1},remove:function(a){a.N&&(a.N.P=a.P),a.P&&(a.P.N=a.N),a.N=a.P=null;var b,c,d,e=a.U,f=a.L,j=a.R;if(c=f?j?i(j):f:j,e?e.L===a?e.L=c:e.R=c:this._=c,f&&j?(d=c.C,c.C=a.C,c.L=f,f.U=c,c!==j?(e=c.U,c.U=a.U,a=c.R,e.L=a,c.R=j,j.U=c):(c.U=e,e=c,a=c.R)):(d=a.C,a=c),a&&(a.U=e),!d){if(a&&a.C)return void(a.C=!1);do{if(a===this._)break;if(a===e.L){if(b=e.R,b.C&&(b.C=!1,e.C=!0,g(this,e),b=e.R),b.L&&b.L.C||b.R&&b.R.C){b.R&&b.R.C||(b.L.C=!1,b.C=!0,h(this,b),b=e.R),b.C=e.C,e.C=b.R.C=!1,g(this,e),a=this._;break}}else if(b=e.L,b.C&&(b.C=!1,e.C=!0,h(this,e),b=e.L),b.L&&b.L.C||b.R&&b.R.C){b.L&&b.L.C||(b.R.C=!1,b.C=!0,g(this,b),b=e.L),b.C=e.C,e.C=b.L.C=!1,h(this,e),a=this._;break}b.C=!0,a=e,e=e.U}while(!a.C);a&&(a.C=!1)}}};var J,K,L,M,N,O=[],P=[],Q=1e-6,R=1e-12;H.prototype={constructor:H,polygons:function(){var a=this.edges;return this.cells.map(function(b){var c=b.halfedges.map(function(c){return r(b,a[c])});return c.data=b.site.data,c})},triangles:function(){var a=[],b=this.edges;return this.cells.forEach(function(c,d){if(f=(e=c.halfedges).length)for(var e,f,g,h=c.site,i=-1,j=b[e[f-1]],k=j.left===h?j.right:j.left;++i<f;)g=k,j=b[e[i]],k=j.left===h?j.right:j.left,g&&k&&d<g.index&&d<k.index&&F(h,g,k)<0&&a.push([h.data,g.data,k.data])}),a},links:function(){return this.edges.filter(function(a){return a.right}).map(function(a){return{source:a.left.data,target:a.right.data}})},find:function(a,b,c){for(var d,e,f=this,g=f._found||0,h=f.cells.length;!(e=f.cells[g]);)if(++g>=h)return null;var i=a-e.site[0],j=b-e.site[1],k=i*i+j*j;do e=f.cells[d=g],g=null,
- e.halfedges.forEach(function(c){var d=f.edges[c],h=d.left;if(h!==e.site&&h||(h=d.right)){var i=a-h[0],j=b-h[1],l=i*i+j*j;l<k&&(k=l,g=h.index)}});while(null!==g);return f._found=d,null==c||k<=c*c?e.site:null}},a.voronoi=I,Object.defineProperty(a,"__esModule",{value:!0})})},{}],59:[function(b,c,d){!function(e,f){"object"==typeof d&&"undefined"!=typeof c?f(d,b("d3-dispatch"),b("d3-drag"),b("d3-interpolate"),b("d3-selection"),b("d3-transition")):"function"==typeof a&&a.amd?a(["exports","d3-dispatch","d3-drag","d3-interpolate","d3-selection","d3-transition"],f):(e=e||self,f(e.d3=e.d3||{},e.d3,e.d3,e.d3,e.d3,e.d3))}(this,function(a,b,c,d,e,f){"use strict";function g(a){return function(){return a}}function h(a,b,c){this.target=a,this.type=b,this.transform=c}function i(a,b,c){this.k=a,this.x=b,this.y=c}function j(a){for(;!a.__zoom;)if(!(a=a.parentNode))return t;return a.__zoom}function k(){e.event.stopImmediatePropagation()}function l(){e.event.preventDefault(),e.event.stopImmediatePropagation()}function m(){return!e.event.ctrlKey&&!e.event.button}function n(){var a=this;return a instanceof SVGElement?(a=a.ownerSVGElement||a,a.hasAttribute("viewBox")?(a=a.viewBox.baseVal,[[a.x,a.y],[a.x+a.width,a.y+a.height]]):[[0,0],[a.width.baseVal.value,a.height.baseVal.value]]):[[0,0],[a.clientWidth,a.clientHeight]]}function o(){return this.__zoom||t}function p(){return-e.event.deltaY*(1===e.event.deltaMode?.05:e.event.deltaMode?1:.002)}function q(){return navigator.maxTouchPoints||"ontouchstart"in this}function r(a,b,c){var d=a.invertX(b[0][0])-c[0][0],e=a.invertX(b[1][0])-c[1][0],f=a.invertY(b[0][1])-c[0][1],g=a.invertY(b[1][1])-c[1][1];return a.translate(e>d?(d+e)/2:Math.min(0,d)||Math.max(0,e),g>f?(f+g)/2:Math.min(0,f)||Math.max(0,g))}function s(){function a(a){a.property("__zoom",o).on("wheel.zoom",y).on("mousedown.zoom",z).on("dblclick.zoom",A).filter(K).on("touchstart.zoom",B).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",D).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function j(a,b){return b=Math.max(L[0],Math.min(L[1],b)),b===a.k?a:new i(b,a.x,a.y)}function s(a,b,c){var d=b[0]-c[0]*a.k,e=b[1]-c[1]*a.k;return d===a.x&&e===a.y?a:new i(a.k,d,e)}function u(a){return[(+a[0][0]+ +a[1][0])/2,(+a[0][1]+ +a[1][1])/2]}function v(a,b,c){a.on("start.zoom",function(){w(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).end()}).tween("zoom",function(){var a=this,d=arguments,e=w(a,d),f=H.apply(a,d),g=null==c?u(f):"function"==typeof c?c.apply(a,d):c,h=Math.max(f[1][0]-f[0][0],f[1][1]-f[0][1]),j=a.__zoom,k="function"==typeof b?b.apply(a,d):b,l=O(j.invert(g).concat(h/j.k),k.invert(g).concat(h/k.k));return function(a){if(1===a)a=k;else{var b=l(a),c=h/b[2];a=new i(c,g[0]-b[0]*c,g[1]-b[1]*c)}e.zoom(null,a)}})}function w(a,b,c){return!c&&a.__zooming||new x(a,b)}function x(a,b){this.that=a,this.args=b,this.active=0,this.extent=H.apply(a,b),this.taps=0}function y(){function a(){b.wheel=null,b.end()}if(G.apply(this,arguments)){var b=w(this,arguments),c=this.__zoom,d=Math.max(L[0],Math.min(L[1],c.k*Math.pow(2,J.apply(this,arguments)))),g=e.mouse(this);if(b.wheel)b.mouse[0][0]===g[0]&&b.mouse[0][1]===g[1]||(b.mouse[1]=c.invert(b.mouse[0]=g)),clearTimeout(b.wheel);else{if(c.k===d)return;b.mouse=[g,c.invert(g)],f.interrupt(this),b.start()}l(),b.wheel=setTimeout(a,R),b.zoom("mouse",I(s(j(c,d),b.mouse[0],b.mouse[1]),b.extent,M))}}function z(){function a(){if(l(),!d.moved){var a=e.event.clientX-i,b=e.event.clientY-j;d.moved=a*a+b*b>S}d.zoom("mouse",I(s(d.that.__zoom,d.mouse[0]=e.mouse(d.that),d.mouse[1]),d.extent,M))}function b(){g.on("mousemove.zoom mouseup.zoom",null),c.dragEnable(e.event.view,d.moved),l(),d.end()}if(!F&&G.apply(this,arguments)){var d=w(this,arguments,!0),g=e.select(e.event.view).on("mousemove.zoom",a,!0).on("mouseup.zoom",b,!0),h=e.mouse(this),i=e.event.clientX,j=e.event.clientY;c.dragDisable(e.event.view),k(),d.mouse=[h,this.__zoom.invert(h)],f.interrupt(this),d.start()}}function A(){if(G.apply(this,arguments)){var b=this.__zoom,c=e.mouse(this),d=b.invert(c),f=b.k*(e.event.shiftKey?.5:2),g=I(s(j(b,f),c,d),H.apply(this,arguments),M);l(),N>0?e.select(this).transition().duration(N).call(v,g,c):e.select(this).call(a.transform,g)}}function B(){if(G.apply(this,arguments)){var a,b,c,d,g=e.event.touches,h=g.length,i=w(this,arguments,e.event.changedTouches.length===h);for(k(),b=0;b<h;++b)c=g[b],d=e.touch(this,g,c.identifier),d=[d,this.__zoom.invert(d),c.identifier],i.touch0?i.touch1||i.touch0[2]===d[2]||(i.touch1=d,i.taps=0):(i.touch0=d,a=!0,i.taps=1+!!E);E&&(E=clearTimeout(E)),a&&(i.taps<2&&(E=setTimeout(function(){E=null},Q)),f.interrupt(this),i.start())}}function C(){if(this.__zooming){var a,b,c,d,f=w(this,arguments),g=e.event.changedTouches,h=g.length;for(l(),E&&(E=clearTimeout(E)),f.taps=0,a=0;a<h;++a)b=g[a],c=e.touch(this,g,b.identifier),f.touch0&&f.touch0[2]===b.identifier?f.touch0[0]=c:f.touch1&&f.touch1[2]===b.identifier&&(f.touch1[0]=c);if(b=f.that.__zoom,f.touch1){var i=f.touch0[0],k=f.touch0[1],m=f.touch1[0],n=f.touch1[1],o=(o=m[0]-i[0])*o+(o=m[1]-i[1])*o,p=(p=n[0]-k[0])*p+(p=n[1]-k[1])*p;b=j(b,Math.sqrt(o/p)),c=[(i[0]+m[0])/2,(i[1]+m[1])/2],d=[(k[0]+n[0])/2,(k[1]+n[1])/2]}else{if(!f.touch0)return;c=f.touch0[0],d=f.touch0[1]}f.zoom("touch",I(s(b,c,d),f.extent,M))}}function D(){if(this.__zooming){var a,b,c=w(this,arguments),d=e.event.changedTouches,f=d.length;for(k(),F&&clearTimeout(F),F=setTimeout(function(){F=null},Q),a=0;a<f;++a)b=d[a],c.touch0&&c.touch0[2]===b.identifier?delete c.touch0:c.touch1&&c.touch1[2]===b.identifier&&delete c.touch1;if(c.touch1&&!c.touch0&&(c.touch0=c.touch1,delete c.touch1),c.touch0)c.touch0[1]=this.__zoom.invert(c.touch0[0]);else if(c.end(),2===c.taps){var g=e.select(this).on("dblclick.zoom");g&&g.apply(this,arguments)}}}var E,F,G=m,H=n,I=r,J=p,K=q,L=[0,1/0],M=[[-(1/0),-(1/0)],[1/0,1/0]],N=250,O=d.interpolateZoom,P=b.dispatch("start","zoom","end"),Q=500,R=150,S=0;return a.transform=function(a,b,c){var d=a.selection?a.selection():a;d.property("__zoom",o),a!==d?v(a,b,c):d.interrupt().each(function(){w(this,arguments).start().zoom(null,"function"==typeof b?b.apply(this,arguments):b).end()})},a.scaleBy=function(b,c,d){a.scaleTo(b,function(){var a=this.__zoom.k,b="function"==typeof c?c.apply(this,arguments):c;return a*b},d)},a.scaleTo=function(b,c,d){a.transform(b,function(){var a=H.apply(this,arguments),b=this.__zoom,e=null==d?u(a):"function"==typeof d?d.apply(this,arguments):d,f=b.invert(e),g="function"==typeof c?c.apply(this,arguments):c;return I(s(j(b,g),e,f),a,M)},d)},a.translateBy=function(b,c,d){a.transform(b,function(){return I(this.__zoom.translate("function"==typeof c?c.apply(this,arguments):c,"function"==typeof d?d.apply(this,arguments):d),H.apply(this,arguments),M)})},a.translateTo=function(b,c,d,e){a.transform(b,function(){var a=H.apply(this,arguments),b=this.__zoom,f=null==e?u(a):"function"==typeof e?e.apply(this,arguments):e;return I(t.translate(f[0],f[1]).scale(b.k).translate("function"==typeof c?-c.apply(this,arguments):-c,"function"==typeof d?-d.apply(this,arguments):-d),a,M)},e)},x.prototype={start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(a,b){return this.mouse&&"mouse"!==a&&(this.mouse[1]=b.invert(this.mouse[0])),this.touch0&&"touch"!==a&&(this.touch0[1]=b.invert(this.touch0[0])),this.touch1&&"touch"!==a&&(this.touch1[1]=b.invert(this.touch1[0])),this.that.__zoom=b,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(b){e.customEvent(new h(a,b,this.that.__zoom),P.apply,P,[b,this.that,this.args])}},a.wheelDelta=function(b){return arguments.length?(J="function"==typeof b?b:g(+b),a):J},a.filter=function(b){return arguments.length?(G="function"==typeof b?b:g(!!b),a):G},a.touchable=function(b){return arguments.length?(K="function"==typeof b?b:g(!!b),a):K},a.extent=function(b){return arguments.length?(H="function"==typeof b?b:g([[+b[0][0],+b[0][1]],[+b[1][0],+b[1][1]]]),a):H},a.scaleExtent=function(b){return arguments.length?(L[0]=+b[0],L[1]=+b[1],a):[L[0],L[1]]},a.translateExtent=function(b){return arguments.length?(M[0][0]=+b[0][0],M[1][0]=+b[1][0],M[0][1]=+b[0][1],M[1][1]=+b[1][1],a):[[M[0][0],M[0][1]],[M[1][0],M[1][1]]]},a.constrain=function(b){return arguments.length?(I=b,a):I},a.duration=function(b){return arguments.length?(N=+b,a):N},a.interpolate=function(b){return arguments.length?(O=b,a):O},a.on=function(){var b=P.on.apply(P,arguments);return b===P?a:b},a.clickDistance=function(b){return arguments.length?(S=(b=+b)*b,a):Math.sqrt(S)},a}i.prototype={constructor:i,scale:function(a){return 1===a?this:new i(this.k*a,this.x,this.y)},translate:function(a,b){return 0===a&0===b?this:new i(this.k,this.x+this.k*a,this.y+this.k*b)},apply:function(a){return[a[0]*this.k+this.x,a[1]*this.k+this.y]},applyX:function(a){return a*this.k+this.x},applyY:function(a){return a*this.k+this.y},invert:function(a){return[(a[0]-this.x)/this.k,(a[1]-this.y)/this.k]},invertX:function(a){return(a-this.x)/this.k},invertY:function(a){return(a-this.y)/this.k},rescaleX:function(a){return a.copy().domain(a.range().map(this.invertX,this).map(a.invert,a))},rescaleY:function(a){return a.copy().domain(a.range().map(this.invertY,this).map(a.invert,a))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var t=new i(1,0,0);j.prototype=i.prototype,a.zoom=s,a.zoomIdentity=t,a.zoomTransform=j,Object.defineProperty(a,"__esModule",{value:!0})})},{"d3-dispatch":36,"d3-drag":37,"d3-interpolate":45,"d3-selection":52,"d3-transition":57}],60:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("d3-array"),e=a("d3-axis"),f=a("d3-brush"),g=a("d3-chord"),h=a("d3-collection"),i=a("d3-color"),j=a("d3-contour"),k=a("d3-dispatch"),l=a("d3-drag"),m=a("d3-dsv"),n=a("d3-ease"),o=a("d3-fetch"),p=a("d3-force"),q=a("d3-format"),r=a("d3-geo"),s=a("d3-hierarchy"),t=a("d3-interpolate"),u=a("d3-path"),v=a("d3-polygon"),w=a("d3-quadtree"),x=a("d3-random"),y=a("d3-scale"),z=a("d3-scale-chromatic"),A=a("d3-selection"),B=a("d3-shape"),C=a("d3-time"),D=a("d3-time-format"),E=a("d3-timer"),F=a("d3-transition"),G=a("d3-voronoi"),H=a("d3-zoom"),I="5.14.2";Object.keys(d).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return d[a]}})}),Object.keys(e).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return e[a]}})}),Object.keys(f).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return f[a]}})}),Object.keys(g).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return g[a]}})}),Object.keys(h).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return h[a]}})}),Object.keys(i).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return i[a]}})}),Object.keys(j).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return j[a]}})}),Object.keys(k).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return k[a]}})}),Object.keys(l).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return l[a]}})}),Object.keys(m).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return m[a]}})}),Object.keys(n).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return n[a]}})}),Object.keys(o).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return o[a]}})}),Object.keys(p).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return p[a]}})}),Object.keys(q).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return q[a]}})}),Object.keys(r).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return r[a]}})}),Object.keys(s).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return s[a]}})}),Object.keys(t).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return t[a]}})}),Object.keys(u).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return u[a]}})}),Object.keys(v).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return v[a]}})}),Object.keys(w).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return w[a]}})}),Object.keys(x).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return x[a]}})}),Object.keys(y).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return y[a]}})}),Object.keys(z).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return z[a]}})}),Object.keys(A).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return A[a]}})}),Object.keys(B).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return B[a]}})}),Object.keys(C).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return C[a]}})}),Object.keys(D).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return D[a]}})}),Object.keys(E).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return E[a]}})}),Object.keys(F).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return F[a]}})}),Object.keys(G).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return G[a]}})}),Object.keys(H).forEach(function(a){"default"!==a&&Object.defineProperty(c,a,{enumerable:!0,get:function(){return H[a]}})}),c.version=I},{"d3-array":29,"d3-axis":30,"d3-brush":31,"d3-chord":32,"d3-collection":33,"d3-color":34,"d3-contour":35,"d3-dispatch":36,"d3-drag":37,"d3-dsv":38,"d3-ease":39,"d3-fetch":40,"d3-force":41,"d3-format":42,"d3-geo":43,"d3-hierarchy":44,"d3-interpolate":45,"d3-path":46,"d3-polygon":47,"d3-quadtree":48,"d3-random":49,"d3-scale":51,"d3-scale-chromatic":50,"d3-selection":52,"d3-shape":53,"d3-time":55,"d3-time-format":54,"d3-timer":56,"d3-transition":57,"d3-voronoi":58,"d3-zoom":59}],61:[function(a,b,c){b.exports={graphlib:a("./lib/graphlib"),layout:a("./lib/layout"),debug:a("./lib/debug"),util:{time:a("./lib/util").time,notime:a("./lib/util").notime},version:a("./lib/version")}},{"./lib/debug":66,"./lib/graphlib":67,"./lib/layout":69,"./lib/util":89,"./lib/version":90}],62:[function(a,b,c){"use strict";function d(a){function b(a){return function(b){return a.edge(b).weight}}var c="greedy"===a.graph().acyclicer?h(a,b(a)):e(a);g.forEach(c,function(b){var c=a.edge(b);a.removeEdge(b),c.forwardName=b.name,c.reversed=!0,a.setEdge(b.w,b.v,c,g.uniqueId("rev"))})}function e(a){function b(f){g.has(e,f)||(e[f]=!0,d[f]=!0,g.forEach(a.outEdges(f),function(a){g.has(d,a.w)?c.push(a):b(a.w)}),delete d[f])}var c=[],d={},e={};return g.forEach(a.nodes(),b),c}function f(a){g.forEach(a.edges(),function(b){var c=a.edge(b);if(c.reversed){a.removeEdge(b);var d=c.forwardName;delete c.reversed,delete c.forwardName,a.setEdge(b.w,b.v,c,d)}})}var g=a("./lodash"),h=a("./greedy-fas");b.exports={run:d,undo:f}},{"./greedy-fas":68,"./lodash":70}],63:[function(a,b,c){function d(a){function b(c){var d=a.children(c),g=a.node(c);if(d.length&&f.forEach(d,b),f.has(g,"minRank")){g.borderLeft=[],g.borderRight=[];for(var h=g.minRank,i=g.maxRank+1;h<i;++h)e(a,"borderLeft","_bl",c,g,h),e(a,"borderRight","_br",c,g,h)}}f.forEach(a.children(),b)}function e(a,b,c,d,e,f){var h={width:0,height:0,rank:f,borderType:b},i=e[b][f-1],j=g.addDummyNode(a,"border",h,c);e[b][f]=j,a.setParent(j,d),i&&a.setEdge(i,j,{weight:1})}var f=a("./lodash"),g=a("./util");b.exports=d},{"./lodash":70,"./util":89}],64:[function(a,b,c){"use strict";function d(a){var b=a.graph().rankdir.toLowerCase();"lr"!==b&&"rl"!==b||f(a)}function e(a){var b=a.graph().rankdir.toLowerCase();"bt"!==b&&"rl"!==b||h(a),"lr"!==b&&"rl"!==b||(j(a),f(a))}function f(a){l.forEach(a.nodes(),function(b){g(a.node(b))}),l.forEach(a.edges(),function(b){g(a.edge(b))})}function g(a){var b=a.width;a.width=a.height,a.height=b}function h(a){l.forEach(a.nodes(),function(b){i(a.node(b))}),l.forEach(a.edges(),function(b){var c=a.edge(b);l.forEach(c.points,i),l.has(c,"y")&&i(c)})}function i(a){a.y=-a.y}function j(a){l.forEach(a.nodes(),function(b){k(a.node(b))}),l.forEach(a.edges(),function(b){var c=a.edge(b);l.forEach(c.points,k),l.has(c,"x")&&k(c)})}function k(a){var b=a.x;a.x=a.y,a.y=b}var l=a("./lodash");b.exports={adjust:d,undo:e}},{"./lodash":70}],65:[function(a,b,c){function d(){var a={};a._next=a._prev=a,this._sentinel=a}function e(a){a._prev._next=a._next,a._next._prev=a._prev,delete a._next,delete a._prev}function f(a,b){if("_next"!==a&&"_prev"!==a)return b}b.exports=d,d.prototype.dequeue=function(){var a=this._sentinel,b=a._prev;if(b!==a)return e(b),b},d.prototype.enqueue=function(a){var b=this._sentinel;a._prev&&a._next&&e(a),a._next=b._next,b._next._prev=a,b._next=a,a._prev=b},d.prototype.toString=function(){for(var a=[],b=this._sentinel,c=b._prev;c!==b;)a.push(JSON.stringify(c,f)),c=c._prev;return"["+a.join(", ")+"]"}},{}],66:[function(a,b,c){function d(a){var b=f.buildLayerMatrix(a),c=new g({compound:!0,multigraph:!0}).setGraph({});return e.forEach(a.nodes(),function(b){c.setNode(b,{label:b}),c.setParent(b,"layer"+a.node(b).rank)}),e.forEach(a.edges(),function(a){c.setEdge(a.v,a.w,{},a.name)}),e.forEach(b,function(a,b){var d="layer"+b;c.setNode(d,{rank:"same"}),e.reduce(a,function(a,b){return c.setEdge(a,b,{style:"invis"}),b})}),c}var e=a("./lodash"),f=a("./util"),g=a("./graphlib").Graph;b.exports={debugOrdering:d}},{"./graphlib":67,"./lodash":70,"./util":89}],67:[function(a,b,c){var d;if("function"==typeof a)try{d=a("graphlib")}catch(a){}d||(d=window.graphlib),b.exports=d},{graphlib:91}],68:[function(a,b,c){function d(a,b){if(a.nodeCount()<=1)return[];var c=g(a,b||l),d=e(c.graph,c.buckets,c.zeroIdx);return i.flatten(i.map(d,function(b){return a.outEdges(b.v,b.w)}),!0)}function e(a,b,c){for(var d,e=[],g=b[b.length-1],h=b[0];a.nodeCount();){for(;d=h.dequeue();)f(a,b,c,d);for(;d=g.dequeue();)f(a,b,c,d);if(a.nodeCount())for(var i=b.length-2;i>0;--i)if(d=b[i].dequeue()){e=e.concat(f(a,b,c,d,!0));break}}return e}function f(a,b,c,d,e){var f=e?[]:void 0;return i.forEach(a.inEdges(d.v),function(d){var g=a.edge(d),i=a.node(d.v);e&&f.push({v:d.v,w:d.w}),i.out-=g,h(b,c,i)}),i.forEach(a.outEdges(d.v),function(d){var e=a.edge(d),f=d.w,g=a.node(f);g.in-=e,h(b,c,g)}),a.removeNode(d.v),f}function g(a,b){var c=new j,d=0,e=0;i.forEach(a.nodes(),function(a){c.setNode(a,{v:a,in:0,out:0})}),i.forEach(a.edges(),function(a){var f=c.edge(a.v,a.w)||0,g=b(a),h=f+g;c.setEdge(a.v,a.w,h),e=Math.max(e,c.node(a.v).out+=g),d=Math.max(d,c.node(a.w).in+=g)});var f=i.range(e+d+3).map(function(){return new k}),g=d+1;return i.forEach(c.nodes(),function(a){h(f,g,c.node(a))}),{graph:c,buckets:f,zeroIdx:g}}function h(a,b,c){c.out?c.in?a[c.out-c.in+b].enqueue(c):a[a.length-1].enqueue(c):a[0].enqueue(c)}var i=a("./lodash"),j=a("./graphlib").Graph,k=a("./data/list");b.exports=d;var l=i.constant(1)},{"./data/list":65,"./graphlib":67,"./lodash":70}],69:[function(a,b,c){"use strict";function d(a,b){var c=b&&b.debugTiming?H.time:H.notime;c("layout",function(){var b=c(" buildLayoutGraph",function(){return g(a)});c(" runLayout",function(){e(b,c)}),c(" updateInputGraph",function(){f(a,b)})})}function e(a,b){b(" makeSpaceForEdgeLabels",function(){h(a)}),b(" removeSelfEdges",function(){q(a)}),b(" acyclic",function(){w.run(a)}),b(" nestingGraph.run",function(){C.run(a)}),b(" rank",function(){y(H.asNonCompoundGraph(a))}),b(" injectEdgeLabelProxies",function(){i(a)}),b(" removeEmptyRanks",function(){B(a)}),b(" nestingGraph.cleanup",function(){C.cleanup(a)}),b(" normalizeRanks",function(){z(a)}),b(" assignRankMinMax",function(){j(a)}),b(" removeEdgeLabelProxies",function(){k(a)}),b(" normalize.run",function(){x.run(a)}),b(" parentDummyChains",function(){A(a)}),b(" addBorderSegments",function(){D(a)}),b(" order",function(){F(a)}),b(" insertSelfEdges",function(){r(a)}),b(" adjustCoordinateSystem",function(){E.adjust(a)}),b(" position",function(){G(a)}),b(" positionSelfEdges",function(){s(a)}),b(" removeBorderNodes",function(){p(a)}),b(" normalize.undo",function(){x.undo(a)}),b(" fixupEdgeLabelCoords",function(){n(a)}),b(" undoCoordinateSystem",function(){E.undo(a)}),b(" translateGraph",function(){l(a)}),b(" assignNodeIntersects",function(){m(a)}),b(" reversePoints",function(){o(a)}),b(" acyclic.undo",function(){w.undo(a)})}function f(a,b){v.forEach(a.nodes(),function(c){var d=a.node(c),e=b.node(c);d&&(d.x=e.x,d.y=e.y,b.children(c).length&&(d.width=e.width,d.height=e.height))}),v.forEach(a.edges(),function(c){var d=a.edge(c),e=b.edge(c);d.points=e.points,v.has(e,"x")&&(d.x=e.x,d.y=e.y)}),a.graph().width=b.graph().width,a.graph().height=b.graph().height}function g(a){var b=new I({multigraph:!0,compound:!0}),c=u(a.graph());return b.setGraph(v.merge({},K,t(c,J),v.pick(c,L))),v.forEach(a.nodes(),function(c){var d=u(a.node(c));b.setNode(c,v.defaults(t(d,M),N)),b.setParent(c,a.parent(c))}),v.forEach(a.edges(),function(c){var d=u(a.edge(c));b.setEdge(c,v.merge({},P,t(d,O),v.pick(d,Q)))}),b}function h(a){var b=a.graph();b.ranksep/=2,v.forEach(a.edges(),function(c){var d=a.edge(c);d.minlen*=2,"c"!==d.labelpos.toLowerCase()&&("TB"===b.rankdir||"BT"===b.rankdir?d.width+=d.labeloffset:d.height+=d.labeloffset)})}function i(a){v.forEach(a.edges(),function(b){var c=a.edge(b);if(c.width&&c.height){var d=a.node(b.v),e=a.node(b.w),f={rank:(e.rank-d.rank)/2+d.rank,e:b};H.addDummyNode(a,"edge-proxy",f,"_ep")}})}function j(a){var b=0;v.forEach(a.nodes(),function(c){var d=a.node(c);d.borderTop&&(d.minRank=a.node(d.borderTop).rank,d.maxRank=a.node(d.borderBottom).rank,b=v.max(b,d.maxRank))}),a.graph().maxRank=b}function k(a){v.forEach(a.nodes(),function(b){var c=a.node(b);"edge-proxy"===c.dummy&&(a.edge(c.e).labelRank=c.rank,a.removeNode(b))})}function l(a){function b(a){var b=a.x,g=a.y,h=a.width,i=a.height;c=Math.min(c,b-h/2),d=Math.max(d,b+h/2),e=Math.min(e,g-i/2),f=Math.max(f,g+i/2)}var c=Number.POSITIVE_INFINITY,d=0,e=Number.POSITIVE_INFINITY,f=0,g=a.graph(),h=g.marginx||0,i=g.marginy||0;v.forEach(a.nodes(),function(c){b(a.node(c))}),v.forEach(a.edges(),function(c){var d=a.edge(c);v.has(d,"x")&&b(d)}),c-=h,e-=i,v.forEach(a.nodes(),function(b){var d=a.node(b);d.x-=c,d.y-=e}),v.forEach(a.edges(),function(b){var d=a.edge(b);v.forEach(d.points,function(a){a.x-=c,a.y-=e}),v.has(d,"x")&&(d.x-=c),v.has(d,"y")&&(d.y-=e)}),g.width=d-c+h,g.height=f-e+i}function m(a){v.forEach(a.edges(),function(b){var c,d,e=a.edge(b),f=a.node(b.v),g=a.node(b.w);e.points?(c=e.points[0],d=e.points[e.points.length-1]):(e.points=[],c=g,d=f),e.points.unshift(H.intersectRect(f,c)),e.points.push(H.intersectRect(g,d))})}function n(a){v.forEach(a.edges(),function(b){var c=a.edge(b);if(v.has(c,"x"))switch("l"!==c.labelpos&&"r"!==c.labelpos||(c.width-=c.labeloffset),c.labelpos){case"l":c.x-=c.width/2+c.labeloffset;break;case"r":c.x+=c.width/2+c.labeloffset}})}function o(a){v.forEach(a.edges(),function(b){var c=a.edge(b);c.reversed&&c.points.reverse()})}function p(a){v.forEach(a.nodes(),function(b){if(a.children(b).length){var c=a.node(b),d=a.node(c.borderTop),e=a.node(c.borderBottom),f=a.node(v.last(c.borderLeft)),g=a.node(v.last(c.borderRight));c.width=Math.abs(g.x-f.x),c.height=Math.abs(e.y-d.y),c.x=f.x+c.width/2,c.y=d.y+c.height/2}}),v.forEach(a.nodes(),function(b){"border"===a.node(b).dummy&&a.removeNode(b)})}function q(a){v.forEach(a.edges(),function(b){if(b.v===b.w){var c=a.node(b.v);c.selfEdges||(c.selfEdges=[]),c.selfEdges.push({e:b,label:a.edge(b)}),a.removeEdge(b)}})}function r(a){var b=H.buildLayerMatrix(a);v.forEach(b,function(b){var c=0;v.forEach(b,function(b,d){var e=a.node(b);e.order=d+c,v.forEach(e.selfEdges,function(b){H.addDummyNode(a,"selfedge",{width:b.label.width,height:b.label.height,rank:e.rank,order:d+ ++c,e:b.e,label:b.label},"_se")}),delete e.selfEdges})})}function s(a){v.forEach(a.nodes(),function(b){var c=a.node(b);if("selfedge"===c.dummy){var d=a.node(c.e.v),e=d.x+d.width/2,f=d.y,g=c.x-e,h=d.height/2;a.setEdge(c.e,c.label),a.removeNode(b),c.label.points=[{x:e+2*g/3,y:f-h},{x:e+5*g/6,y:f-h},{x:e+g,y:f},{x:e+5*g/6,y:f+h},{x:e+2*g/3,y:f+h}],c.label.x=c.x,c.label.y=c.y}})}function t(a,b){return v.mapValues(v.pick(a,b),Number)}function u(a){var b={};return v.forEach(a,function(a,c){b[c.toLowerCase()]=a}),b}var v=a("./lodash"),w=a("./acyclic"),x=a("./normalize"),y=a("./rank"),z=a("./util").normalizeRanks,A=a("./parent-dummy-chains"),B=a("./util").removeEmptyRanks,C=a("./nesting-graph"),D=a("./add-border-segments"),E=a("./coordinate-system"),F=a("./order"),G=a("./position"),H=a("./util"),I=a("./graphlib").Graph;b.exports=d;var J=["nodesep","edgesep","ranksep","marginx","marginy"],K={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},L=["acyclicer","ranker","rankdir","align"],M=["width","height"],N={width:0,height:0},O=["minlen","weight","width","height","labeloffset"],P={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Q=["labelpos"]},{"./acyclic":62,"./add-border-segments":63,"./coordinate-system":64,"./graphlib":67,"./lodash":70,"./nesting-graph":71,"./normalize":72,"./order":77,"./parent-dummy-chains":82,"./position":84,"./rank":86,"./util":89}],70:[function(a,b,c){var d;if("function"==typeof a)try{d={cloneDeep:a("lodash/cloneDeep"),constant:a("lodash/constant"),defaults:a("lodash/defaults"),each:a("lodash/each"),filter:a("lodash/filter"),find:a("lodash/find"),flatten:a("lodash/flatten"),forEach:a("lodash/forEach"),forIn:a("lodash/forIn"),has:a("lodash/has"),isUndefined:a("lodash/isUndefined"),last:a("lodash/last"),map:a("lodash/map"),mapValues:a("lodash/mapValues"),max:a("lodash/max"),merge:a("lodash/merge"),min:a("lodash/min"),minBy:a("lodash/minBy"),now:a("lodash/now"),pick:a("lodash/pick"),range:a("lodash/range"),reduce:a("lodash/reduce"),sortBy:a("lodash/sortBy"),uniqueId:a("lodash/uniqueId"),values:a("lodash/values"),zipObject:a("lodash/zipObject")}}catch(a){}d||(d=window._),b.exports=d},{"lodash/cloneDeep":287,"lodash/constant":288,"lodash/defaults":289,"lodash/each":290,"lodash/filter":292,"lodash/find":293,"lodash/flatten":295,"lodash/forEach":296,"lodash/forIn":297,"lodash/has":299,"lodash/isUndefined":318,"lodash/last":321,"lodash/map":322,"lodash/mapValues":323,"lodash/max":324,"lodash/merge":326,"lodash/min":327,"lodash/minBy":328,"lodash/now":330,"lodash/pick":331,"lodash/range":333,"lodash/reduce":334,"lodash/sortBy":336,"lodash/uniqueId":346,"lodash/values":347,"lodash/zipObject":348}],71:[function(a,b,c){function d(a){var b=j.addDummyNode(a,"root",{},"_root"),c=f(a),d=i.max(i.values(c))-1,h=2*d+1;a.graph().nestingRoot=b,i.forEach(a.edges(),function(b){a.edge(b).minlen*=h});var k=g(a)+1;i.forEach(a.children(),function(f){e(a,b,h,k,d,c,f)}),a.graph().nodeRankFactor=h}function e(a,b,c,d,f,g,h){var k=a.children(h);if(!k.length)return void(h!==b&&a.setEdge(b,h,{weight:0,minlen:c}));var l=j.addBorderNode(a,"_bt"),m=j.addBorderNode(a,"_bb"),n=a.node(h);a.setParent(l,h),n.borderTop=l,a.setParent(m,h),n.borderBottom=m,i.forEach(k,function(i){e(a,b,c,d,f,g,i);var j=a.node(i),k=j.borderTop?j.borderTop:i,n=j.borderBottom?j.borderBottom:i,o=j.borderTop?d:2*d,p=k!==n?1:f-g[h]+1;a.setEdge(l,k,{weight:o,minlen:p,nestingEdge:!0}),a.setEdge(n,m,{weight:o,minlen:p,nestingEdge:!0})}),a.parent(h)||a.setEdge(b,l,{weight:0,minlen:f+g[h]})}function f(a){function b(d,e){var f=a.children(d);f&&f.length&&i.forEach(f,function(a){b(a,e+1)}),c[d]=e}var c={};return i.forEach(a.children(),function(a){b(a,1)}),c}function g(a){return i.reduce(a.edges(),function(b,c){return b+a.edge(c).weight},0)}function h(a){var b=a.graph();a.removeNode(b.nestingRoot),delete b.nestingRoot,i.forEach(a.edges(),function(b){var c=a.edge(b);c.nestingEdge&&a.removeEdge(b)})}var i=a("./lodash"),j=a("./util");b.exports={run:d,cleanup:h}},{"./lodash":70,"./util":89}],72:[function(a,b,c){"use strict";function d(a){a.graph().dummyChains=[],g.forEach(a.edges(),function(b){e(a,b)})}function e(a,b){var c=b.v,d=a.node(c).rank,e=b.w,f=a.node(e).rank,g=b.name,i=a.edge(b),j=i.labelRank;if(f!==d+1){a.removeEdge(b);var k,l,m;for(m=0,++d;d<f;++m,++d)i.points=[],l={width:0,height:0,edgeLabel:i,edgeObj:b,rank:d},k=h.addDummyNode(a,"edge",l,"_d"),d===j&&(l.width=i.width,l.height=i.height,l.dummy="edge-label",l.labelpos=i.labelpos),a.setEdge(c,k,{weight:i.weight},g),0===m&&a.graph().dummyChains.push(k),c=k;a.setEdge(c,e,{weight:i.weight},g)}}function f(a){g.forEach(a.graph().dummyChains,function(b){var c,d=a.node(b),e=d.edgeLabel;for(a.setEdge(d.edgeObj,e);d.dummy;)c=a.successors(b)[0],a.removeNode(b),e.points.push({x:d.x,y:d.y}),"edge-label"===d.dummy&&(e.x=d.x,e.y=d.y,e.width=d.width,e.height=d.height),b=c,d=a.node(b)})}var g=a("./lodash"),h=a("./util");b.exports={run:d,undo:f}},{"./lodash":70,"./util":89}],73:[function(a,b,c){function d(a,b,c){var d,f={};e.forEach(c,function(c){for(var e,g,h=a.parent(c);h;){if(e=a.parent(h),e?(g=f[e],f[e]=h):(g=d,d=h),g&&g!==h)return void b.setEdge(g,h);h=e}})}var e=a("../lodash");b.exports=d},{"../lodash":70}],74:[function(a,b,c){function d(a,b){return e.map(b,function(b){var c=a.inEdges(b);if(c.length){var d=e.reduce(c,function(b,c){var d=a.edge(c),e=a.node(c.v);return{sum:b.sum+d.weight*e.order,weight:b.weight+d.weight}},{sum:0,weight:0});return{v:b,barycenter:d.sum/d.weight,weight:d.weight}}return{v:b}})}var e=a("../lodash");b.exports=d},{"../lodash":70}],75:[function(a,b,c){function d(a,b,c){var d=e(a),h=new g({compound:!0}).setGraph({root:d}).setDefaultNodeLabel(function(b){return a.node(b)});return f.forEach(a.nodes(),function(e){var g=a.node(e),i=a.parent(e);(g.rank===b||g.minRank<=b&&b<=g.maxRank)&&(h.setNode(e),h.setParent(e,i||d),f.forEach(a[c](e),function(b){var c=b.v===e?b.w:b.v,d=h.edge(c,e),g=f.isUndefined(d)?0:d.weight;h.setEdge(c,e,{weight:a.edge(b).weight+g})}),f.has(g,"minRank")&&h.setNode(e,{borderLeft:g.borderLeft[b],borderRight:g.borderRight[b]}))}),h}function e(a){for(var b;a.hasNode(b=f.uniqueId("_root")););return b}var f=a("../lodash"),g=a("../graphlib").Graph;b.exports=d},{"../graphlib":67,"../lodash":70}],76:[function(a,b,c){"use strict";function d(a,b){for(var c=0,d=1;d<b.length;++d)c+=e(a,b[d-1],b[d]);return c}function e(a,b,c){for(var d=f.zipObject(c,f.map(c,function(a,b){return b})),e=f.flatten(f.map(b,function(b){return f.sortBy(f.map(a.outEdges(b),function(b){return{pos:d[b.w],weight:a.edge(b).weight}}),"pos")}),!0),g=1;g<c.length;)g<<=1;var h=2*g-1;g-=1;var i=f.map(new Array(h),function(){return 0}),j=0;return f.forEach(e.forEach(function(a){var b=a.pos+g;i[b]+=a.weight;for(var c=0;b>0;)b%2&&(c+=i[b+1]),b=b-1>>1,i[b]+=a.weight;j+=a.weight*c})),j}var f=a("../lodash");b.exports=d},{"../lodash":70}],77:[function(a,b,c){"use strict";function d(a){var b=o.maxRank(a),c=e(a,h.range(1,b+1),"inEdges"),d=e(a,h.range(b-1,-1,-1),"outEdges"),k=i(a);g(a,k);for(var l,m=Number.POSITIVE_INFINITY,n=0,p=0;p<4;++n,++p){f(n%2?c:d,n%4>=2),k=o.buildLayerMatrix(a);var q=j(a,k);q<m&&(p=0,l=h.cloneDeep(k),m=q)}g(a,l)}function e(a,b,c){return h.map(b,function(b){return l(a,b,c)})}function f(a,b){var c=new n;h.forEach(a,function(a){var d=a.graph().root,e=k(a,d,c,b);h.forEach(e.vs,function(b,c){a.node(b).order=c}),m(a,c,e.vs)})}function g(a,b){h.forEach(b,function(b){h.forEach(b,function(b,c){a.node(b).order=c})})}var h=a("../lodash"),i=a("./init-order"),j=a("./cross-count"),k=a("./sort-subgraph"),l=a("./build-layer-graph"),m=a("./add-subgraph-constraints"),n=a("../graphlib").Graph,o=a("../util");
- b.exports=d},{"../graphlib":67,"../lodash":70,"../util":89,"./add-subgraph-constraints":73,"./build-layer-graph":75,"./cross-count":76,"./init-order":78,"./sort-subgraph":80}],78:[function(a,b,c){"use strict";function d(a){function b(d){if(!e.has(c,d)){c[d]=!0;var f=a.node(d);g[f.rank].push(d),e.forEach(a.successors(d),b)}}var c={},d=e.filter(a.nodes(),function(b){return!a.children(b).length}),f=e.max(e.map(d,function(b){return a.node(b).rank})),g=e.map(e.range(f+1),function(){return[]}),h=e.sortBy(d,function(b){return a.node(b).rank});return e.forEach(h,b),g}var e=a("../lodash");b.exports=d},{"../lodash":70}],79:[function(a,b,c){"use strict";function d(a,b){var c={};g.forEach(a,function(a,b){var d=c[a.v]={indegree:0,in:[],out:[],vs:[a.v],i:b};g.isUndefined(a.barycenter)||(d.barycenter=a.barycenter,d.weight=a.weight)}),g.forEach(b.edges(),function(a){var b=c[a.v],d=c[a.w];g.isUndefined(b)||g.isUndefined(d)||(d.indegree++,b.out.push(c[a.w]))});var d=g.filter(c,function(a){return!a.indegree});return e(d)}function e(a){function b(a){return function(b){b.merged||(g.isUndefined(b.barycenter)||g.isUndefined(a.barycenter)||b.barycenter>=a.barycenter)&&f(a,b)}}function c(b){return function(c){c.in.push(b),0===--c.indegree&&a.push(c)}}for(var d=[];a.length;){var e=a.pop();d.push(e),g.forEach(e.in.reverse(),b(e)),g.forEach(e.out,c(e))}return g.map(g.filter(d,function(a){return!a.merged}),function(a){return g.pick(a,["vs","i","barycenter","weight"])})}function f(a,b){var c=0,d=0;a.weight&&(c+=a.barycenter*a.weight,d+=a.weight),b.weight&&(c+=b.barycenter*b.weight,d+=b.weight),a.vs=b.vs.concat(a.vs),a.barycenter=c/d,a.weight=d,a.i=Math.min(b.i,a.i),b.merged=!0}var g=a("../lodash");b.exports=d},{"../lodash":70}],80:[function(a,b,c){function d(a,b,c,k){var l=a.children(b),m=a.node(b),n=m?m.borderLeft:void 0,o=m?m.borderRight:void 0,p={};n&&(l=g.filter(l,function(a){return a!==n&&a!==o}));var q=h(a,l);g.forEach(q,function(b){if(a.children(b.v).length){var e=d(a,b.v,c,k);p[b.v]=e,g.has(e,"barycenter")&&f(b,e)}});var r=i(q,c);e(r,p);var s=j(r,k);if(n&&(s.vs=g.flatten([n,s.vs,o],!0),a.predecessors(n).length)){var t=a.node(a.predecessors(n)[0]),u=a.node(a.predecessors(o)[0]);g.has(s,"barycenter")||(s.barycenter=0,s.weight=0),s.barycenter=(s.barycenter*s.weight+t.order+u.order)/(s.weight+2),s.weight+=2}return s}function e(a,b){g.forEach(a,function(a){a.vs=g.flatten(a.vs.map(function(a){return b[a]?b[a].vs:a}),!0)})}function f(a,b){g.isUndefined(a.barycenter)?(a.barycenter=b.barycenter,a.weight=b.weight):(a.barycenter=(a.barycenter*a.weight+b.barycenter*b.weight)/(a.weight+b.weight),a.weight+=b.weight)}var g=a("../lodash"),h=a("./barycenter"),i=a("./resolve-conflicts"),j=a("./sort");b.exports=d},{"../lodash":70,"./barycenter":74,"./resolve-conflicts":79,"./sort":81}],81:[function(a,b,c){function d(a,b){var c=h.partition(a,function(a){return g.has(a,"barycenter")}),d=c.lhs,i=g.sortBy(c.rhs,function(a){return-a.i}),j=[],k=0,l=0,m=0;d.sort(f(!!b)),m=e(j,i,m),g.forEach(d,function(a){m+=a.vs.length,j.push(a.vs),k+=a.barycenter*a.weight,l+=a.weight,m=e(j,i,m)});var n={vs:g.flatten(j,!0)};return l&&(n.barycenter=k/l,n.weight=l),n}function e(a,b,c){for(var d;b.length&&(d=g.last(b)).i<=c;)b.pop(),a.push(d.vs),c++;return c}function f(a){return function(b,c){return b.barycenter<c.barycenter?-1:b.barycenter>c.barycenter?1:a?c.i-b.i:b.i-c.i}}var g=a("../lodash"),h=a("../util");b.exports=d},{"../lodash":70,"../util":89}],82:[function(a,b,c){function d(a){var b=f(a);g.forEach(a.graph().dummyChains,function(c){for(var d=a.node(c),f=d.edgeObj,g=e(a,b,f.v,f.w),h=g.path,i=g.lca,j=0,k=h[j],l=!0;c!==f.w;){if(d=a.node(c),l){for(;(k=h[j])!==i&&a.node(k).maxRank<d.rank;)j++;k===i&&(l=!1)}if(!l){for(;j<h.length-1&&a.node(k=h[j+1]).minRank<=d.rank;)j++;k=h[j]}a.setParent(c,k),c=a.successors(c)[0]}})}function e(a,b,c,d){var e,f,g=[],h=[],i=Math.min(b[c].low,b[d].low),j=Math.max(b[c].lim,b[d].lim);e=c;do e=a.parent(e),g.push(e);while(e&&(b[e].low>i||j>b[e].lim));for(f=e,e=d;(e=a.parent(e))!==f;)h.push(e);return{path:g.concat(h.reverse()),lca:f}}function f(a){function b(e){var f=d;g.forEach(a.children(e),b),c[e]={low:f,lim:d++}}var c={},d=0;return g.forEach(a.children(),b),c}var g=a("./lodash");b.exports=d},{"./lodash":70}],83:[function(a,b,c){"use strict";function d(a,b){function c(b,c){var e=0,h=0,i=b.length,j=r.last(c);return r.forEach(c,function(b,k){var l=f(a,b),m=l?a.node(l).order:i;(l||b===j)&&(r.forEach(c.slice(h,k+1),function(b){r.forEach(a.predecessors(b),function(c){var f=a.node(c),h=f.order;!(h<e||m<h)||f.dummy&&a.node(b).dummy||g(d,c,b)})}),h=k+1,e=m)}),c}var d={};return r.reduce(b,c),d}function e(a,b){function c(b,c,d,f,h){var i;r.forEach(r.range(c,d),function(c){i=b[c],a.node(i).dummy&&r.forEach(a.predecessors(i),function(b){var c=a.node(b);c.dummy&&(c.order<f||c.order>h)&&g(e,b,i)})})}function d(b,d){var e,f=-1,g=0;return r.forEach(d,function(h,i){if("border"===a.node(h).dummy){var j=a.predecessors(h);j.length&&(e=a.node(j[0]).order,c(d,g,i,f,e),g=i,f=e)}c(d,g,d.length,e,b.length)}),d}var e={};return r.reduce(b,d),e}function f(a,b){if(a.node(b).dummy)return r.find(a.predecessors(b),function(b){return a.node(b).dummy})}function g(a,b,c){if(b>c){var d=b;b=c,c=d}var e=a[b];e||(a[b]=e={}),e[c]=!0}function h(a,b,c){if(b>c){var d=b;b=c,c=d}return r.has(a[b],c)}function i(a,b,c,d){var e={},f={},g={};return r.forEach(b,function(a){r.forEach(a,function(a,b){e[a]=a,f[a]=a,g[a]=b})}),r.forEach(b,function(a){var b=-1;r.forEach(a,function(a){var i=d(a);if(i.length){i=r.sortBy(i,function(a){return g[a]});for(var j=(i.length-1)/2,k=Math.floor(j),l=Math.ceil(j);k<=l;++k){var m=i[k];f[a]===a&&b<g[m]&&!h(c,a,m)&&(f[m]=a,f[a]=e[a]=e[m],b=g[m])}}})}),{root:e,align:f}}function j(a,b,c,d,e){function f(a,b){for(var c=j.nodes(),d=c.pop(),e={};d;)e[d]?a(d):(e[d]=!0,c.push(d),c=c.concat(b(d))),d=c.pop()}function g(a){i[a]=j.inEdges(a).reduce(function(a,b){return Math.max(a,i[b.v]+j.edge(b))},0)}function h(b){var c=j.outEdges(b).reduce(function(a,b){return Math.min(a,i[b.w]-j.edge(b))},Number.POSITIVE_INFINITY),d=a.node(b);c!==Number.POSITIVE_INFINITY&&d.borderType!==l&&(i[b]=Math.max(i[b],c))}var i={},j=k(a,b,c,e),l=e?"borderLeft":"borderRight";return f(g,j.predecessors.bind(j)),f(h,j.successors.bind(j)),r.forEach(d,function(a){i[a]=i[c[a]]}),i}function k(a,b,c,d){var e=new s,f=a.graph(),g=p(f.nodesep,f.edgesep,d);return r.forEach(b,function(b){var d;r.forEach(b,function(b){var f=c[b];if(e.setNode(f),d){var h=c[d],i=e.edge(h,f);e.setEdge(h,f,Math.max(g(a,b,d),i||0))}d=b})}),e}function l(a,b){return r.minBy(r.values(b),function(b){var c=Number.NEGATIVE_INFINITY,d=Number.POSITIVE_INFINITY;return r.forIn(b,function(b,e){var f=q(a,e)/2;c=Math.max(b+f,c),d=Math.min(b-f,d)}),c-d})}function m(a,b){var c=r.values(b),d=r.min(c),e=r.max(c);r.forEach(["u","d"],function(c){r.forEach(["l","r"],function(f){var g,h=c+f,i=a[h];if(i!==b){var j=r.values(i);g="l"===f?d-r.min(j):e-r.max(j),g&&(a[h]=r.mapValues(i,function(a){return a+g}))}})})}function n(a,b){return r.mapValues(a.ul,function(c,d){if(b)return a[b.toLowerCase()][d];var e=r.sortBy(r.map(a,d));return(e[1]+e[2])/2})}function o(a){var b,c=t.buildLayerMatrix(a),f=r.merge(d(a,c),e(a,c)),g={};r.forEach(["u","d"],function(d){b="u"===d?c:r.values(c).reverse(),r.forEach(["l","r"],function(c){"r"===c&&(b=r.map(b,function(a){return r.values(a).reverse()}));var e=("u"===d?a.predecessors:a.successors).bind(a),h=i(a,b,f,e),k=j(a,b,h.root,h.align,"r"===c);"r"===c&&(k=r.mapValues(k,function(a){return-a})),g[d+c]=k})});var h=l(a,g);return m(g,h),n(g,a.graph().align)}function p(a,b,c){return function(d,e,f){var g,h=d.node(e),i=d.node(f),j=0;if(j+=h.width/2,r.has(h,"labelpos"))switch(h.labelpos.toLowerCase()){case"l":g=-h.width/2;break;case"r":g=h.width/2}if(g&&(j+=c?g:-g),g=0,j+=(h.dummy?b:a)/2,j+=(i.dummy?b:a)/2,j+=i.width/2,r.has(i,"labelpos"))switch(i.labelpos.toLowerCase()){case"l":g=i.width/2;break;case"r":g=-i.width/2}return g&&(j+=c?g:-g),g=0,j}}function q(a,b){return a.node(b).width}var r=a("../lodash"),s=a("../graphlib").Graph,t=a("../util");b.exports={positionX:o,findType1Conflicts:d,findType2Conflicts:e,addConflict:g,hasConflict:h,verticalAlignment:i,horizontalCompaction:j,alignCoordinates:m,findSmallestWidthAlignment:l,balance:n}},{"../graphlib":67,"../lodash":70,"../util":89}],84:[function(a,b,c){"use strict";function d(a){a=g.asNonCompoundGraph(a),e(a),f.forEach(h(a),function(b,c){a.node(c).x=b})}function e(a){var b=g.buildLayerMatrix(a),c=a.graph().ranksep,d=0;f.forEach(b,function(b){var e=f.max(f.map(b,function(b){return a.node(b).height}));f.forEach(b,function(b){a.node(b).y=d+e/2}),d+=e+c})}var f=a("../lodash"),g=a("../util"),h=a("./bk").positionX;b.exports=d},{"../lodash":70,"../util":89,"./bk":83}],85:[function(a,b,c){"use strict";function d(a){var b=new i({directed:!1}),c=a.nodes()[0],d=a.nodeCount();b.setNode(c,{});for(var h,k;e(b,a)<d;)h=f(b,a),k=b.hasNode(h.v)?j(a,h):-j(a,h),g(b,a,k);return b}function e(a,b){function c(d){h.forEach(b.nodeEdges(d),function(e){var f=e.v,g=d===f?e.w:f;a.hasNode(g)||j(b,e)||(a.setNode(g,{}),a.setEdge(d,g,{}),c(g))})}return h.forEach(a.nodes(),c),a.nodeCount()}function f(a,b){return h.minBy(b.edges(),function(c){if(a.hasNode(c.v)!==a.hasNode(c.w))return j(b,c)})}function g(a,b,c){h.forEach(a.nodes(),function(a){b.node(a).rank+=c})}var h=a("../lodash"),i=a("../graphlib").Graph,j=a("./util").slack;b.exports=d},{"../graphlib":67,"../lodash":70,"./util":88}],86:[function(a,b,c){"use strict";function d(a){switch(a.graph().ranker){case"network-simplex":f(a);break;case"tight-tree":e(a);break;case"longest-path":k(a);break;default:f(a)}}function e(a){h(a),i(a)}function f(a){j(a)}var g=a("./util"),h=g.longestPath,i=a("./feasible-tree"),j=a("./network-simplex");b.exports=d;var k=h},{"./feasible-tree":85,"./network-simplex":87,"./util":88}],87:[function(a,b,c){"use strict";function d(a){a=v(a),s(a);var b=q(a);h(b),e(b,a);for(var c,d;c=j(b);)d=k(b,a,c),l(b,a,c,d)}function e(a,b){var c=u(a,a.nodes());c=c.slice(0,c.length-1),p.forEach(c,function(c){f(a,b,c)})}function f(a,b,c){var d=a.node(c),e=d.parent;a.edge(c,e).cutvalue=g(a,b,c)}function g(a,b,c){var d=a.node(c),e=d.parent,f=!0,g=b.edge(c,e),h=0;return g||(f=!1,g=b.edge(e,c)),h=g.weight,p.forEach(b.nodeEdges(c),function(d){var g=d.v===c,i=g?d.w:d.v;if(i!==e){var j=g===f,k=b.edge(d).weight;if(h+=j?k:-k,n(a,c,i)){var l=a.edge(c,i).cutvalue;h+=j?-l:l}}}),h}function h(a,b){arguments.length<2&&(b=a.nodes()[0]),i(a,{},1,b)}function i(a,b,c,d,e){var f=c,g=a.node(d);return b[d]=!0,p.forEach(a.neighbors(d),function(e){p.has(b,e)||(c=i(a,b,c,e,d))}),g.low=f,g.lim=c++,e?g.parent=e:delete g.parent,c}function j(a){return p.find(a.edges(),function(b){return a.edge(b).cutvalue<0})}function k(a,b,c){var d=c.v,e=c.w;b.hasEdge(d,e)||(d=c.w,e=c.v);var f=a.node(d),g=a.node(e),h=f,i=!1;f.lim>g.lim&&(h=g,i=!0);var j=p.filter(b.edges(),function(b){return i===o(a,a.node(b.v),h)&&i!==o(a,a.node(b.w),h)});return p.minBy(j,function(a){return r(b,a)})}function l(a,b,c,d){var f=c.v,g=c.w;a.removeEdge(f,g),a.setEdge(d.v,d.w,{}),h(a),e(a,b),m(a,b)}function m(a,b){var c=p.find(a.nodes(),function(a){return!b.node(a).parent}),d=t(a,c);d=d.slice(1),p.forEach(d,function(c){var d=a.node(c).parent,e=b.edge(c,d),f=!1;e||(e=b.edge(d,c),f=!0),b.node(c).rank=b.node(d).rank+(f?e.minlen:-e.minlen)})}function n(a,b,c){return a.hasEdge(b,c)}function o(a,b,c){return c.low<=b.lim&&b.lim<=c.lim}var p=a("../lodash"),q=a("./feasible-tree"),r=a("./util").slack,s=a("./util").longestPath,t=a("../graphlib").alg.preorder,u=a("../graphlib").alg.postorder,v=a("../util").simplify;b.exports=d,d.initLowLimValues=h,d.initCutValues=e,d.calcCutValue=g,d.leaveEdge=j,d.enterEdge=k,d.exchangeEdges=l},{"../graphlib":67,"../lodash":70,"../util":89,"./feasible-tree":85,"./util":88}],88:[function(a,b,c){"use strict";function d(a){function b(d){var e=a.node(d);if(f.has(c,d))return e.rank;c[d]=!0;var g=f.min(f.map(a.outEdges(d),function(c){return b(c.w)-a.edge(c).minlen}));return g!==Number.POSITIVE_INFINITY&&void 0!==g&&null!==g||(g=0),e.rank=g}var c={};f.forEach(a.sources(),b)}function e(a,b){return a.node(b.w).rank-a.node(b.v).rank-a.edge(b).minlen}var f=a("../lodash");b.exports={longestPath:d,slack:e}},{"../lodash":70}],89:[function(a,b,c){"use strict";function d(a,b,c,d){var e;do e=r.uniqueId(d);while(a.hasNode(e));return c.dummy=b,a.setNode(e,c),e}function e(a){var b=(new s).setGraph(a.graph());return r.forEach(a.nodes(),function(c){b.setNode(c,a.node(c))}),r.forEach(a.edges(),function(c){var d=b.edge(c.v,c.w)||{weight:0,minlen:1},e=a.edge(c);b.setEdge(c.v,c.w,{weight:d.weight+e.weight,minlen:Math.max(d.minlen,e.minlen)})}),b}function f(a){var b=new s({multigraph:a.isMultigraph()}).setGraph(a.graph());return r.forEach(a.nodes(),function(c){a.children(c).length||b.setNode(c,a.node(c))}),r.forEach(a.edges(),function(c){b.setEdge(c,a.edge(c))}),b}function g(a){var b=r.map(a.nodes(),function(b){var c={};return r.forEach(a.outEdges(b),function(b){c[b.w]=(c[b.w]||0)+a.edge(b).weight}),c});return r.zipObject(a.nodes(),b)}function h(a){var b=r.map(a.nodes(),function(b){var c={};return r.forEach(a.inEdges(b),function(b){c[b.v]=(c[b.v]||0)+a.edge(b).weight}),c});return r.zipObject(a.nodes(),b)}function i(a,b){var c=a.x,d=a.y,e=b.x-c,f=b.y-d,g=a.width/2,h=a.height/2;if(!e&&!f)throw new Error("Not possible to find intersection inside of the rectangle");var i,j;return Math.abs(f)*g>Math.abs(e)*h?(f<0&&(h=-h),i=h*e/f,j=h):(e<0&&(g=-g),i=g,j=g*f/e),{x:c+i,y:d+j}}function j(a){var b=r.map(r.range(n(a)+1),function(){return[]});return r.forEach(a.nodes(),function(c){var d=a.node(c),e=d.rank;r.isUndefined(e)||(b[e][d.order]=c)}),b}function k(a){var b=r.min(r.map(a.nodes(),function(b){return a.node(b).rank}));r.forEach(a.nodes(),function(c){var d=a.node(c);r.has(d,"rank")&&(d.rank-=b)})}function l(a){var b=r.min(r.map(a.nodes(),function(b){return a.node(b).rank})),c=[];r.forEach(a.nodes(),function(d){var e=a.node(d).rank-b;c[e]||(c[e]=[]),c[e].push(d)});var d=0,e=a.graph().nodeRankFactor;r.forEach(c,function(b,c){r.isUndefined(b)&&c%e!==0?--d:d&&r.forEach(b,function(b){a.node(b).rank+=d})})}function m(a,b,c,e){var f={width:0,height:0};return arguments.length>=4&&(f.rank=c,f.order=e),d(a,"border",f,b)}function n(a){return r.max(r.map(a.nodes(),function(b){var c=a.node(b).rank;if(!r.isUndefined(c))return c}))}function o(a,b){var c={lhs:[],rhs:[]};return r.forEach(a,function(a){b(a)?c.lhs.push(a):c.rhs.push(a)}),c}function p(a,b){var c=r.now();try{return b()}finally{console.log(a+" time: "+(r.now()-c)+"ms")}}function q(a,b){return b()}var r=a("./lodash"),s=a("./graphlib").Graph;b.exports={addDummyNode:d,simplify:e,asNonCompoundGraph:f,successorWeights:g,predecessorWeights:h,intersectRect:i,buildLayerMatrix:j,normalizeRanks:k,removeEmptyRanks:l,addBorderNode:m,maxRank:n,partition:o,time:p,notime:q}},{"./graphlib":67,"./lodash":70}],90:[function(a,b,c){b.exports="0.8.5"},{}],91:[function(a,b,c){var d=a("./lib");b.exports={Graph:d.Graph,json:a("./lib/json"),alg:a("./lib/alg"),version:d.version}},{"./lib":107,"./lib/alg":98,"./lib/json":108}],92:[function(a,b,c){function d(a){function b(f){e.has(d,f)||(d[f]=!0,c.push(f),e.each(a.successors(f),b),e.each(a.predecessors(f),b))}var c,d={},f=[];return e.each(a.nodes(),function(a){c=[],b(a),c.length&&f.push(c)}),f}var e=a("../lodash");b.exports=d},{"../lodash":109}],93:[function(a,b,c){function d(a,b,c){f.isArray(b)||(b=[b]);var d=(a.isDirected()?a.successors:a.neighbors).bind(a),g=[],h={};return f.each(b,function(b){if(!a.hasNode(b))throw new Error("Graph does not have node: "+b);e(a,b,"post"===c,h,d,g)}),g}function e(a,b,c,d,g,h){f.has(d,b)||(d[b]=!0,c||h.push(b),f.each(g(b),function(b){e(a,b,c,d,g,h)}),c&&h.push(b))}var f=a("../lodash");b.exports=d},{"../lodash":109}],94:[function(a,b,c){function d(a,b,c){return f.transform(a.nodes(),function(d,f){d[f]=e(a,f,b,c)},{})}var e=a("./dijkstra"),f=a("../lodash");b.exports=d},{"../lodash":109,"./dijkstra":95}],95:[function(a,b,c){function d(a,b,c,d){return e(a,String(b),c||h,d||function(b){return a.outEdges(b)})}function e(a,b,c,d){var e,f,h={},i=new g,j=function(a){var b=a.v!==e?a.v:a.w,d=h[b],g=c(a),j=f.distance+g;if(g<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+a+" Weight: "+g);j<d.distance&&(d.distance=j,d.predecessor=e,i.decrease(b,j))};for(a.nodes().forEach(function(a){var c=a===b?0:Number.POSITIVE_INFINITY;h[a]={distance:c},i.add(a,c)});i.size()>0&&(e=i.removeMin(),f=h[e],f.distance!==Number.POSITIVE_INFINITY);)d(e).forEach(j);return h}var f=a("../lodash"),g=a("../data/priority-queue");b.exports=d;var h=f.constant(1)},{"../data/priority-queue":105,"../lodash":109}],96:[function(a,b,c){function d(a){return e.filter(f(a),function(b){return b.length>1||1===b.length&&a.hasEdge(b[0],b[0])})}var e=a("../lodash"),f=a("./tarjan");b.exports=d},{"../lodash":109,"./tarjan":103}],97:[function(a,b,c){function d(a,b,c){return e(a,b||g,c||function(b){return a.outEdges(b)})}function e(a,b,c){var d={},e=a.nodes();return e.forEach(function(a){d[a]={},d[a][a]={distance:0},e.forEach(function(b){a!==b&&(d[a][b]={distance:Number.POSITIVE_INFINITY})}),c(a).forEach(function(c){var e=c.v===a?c.w:c.v,f=b(c);d[a][e]={distance:f,predecessor:a}})}),e.forEach(function(a){var b=d[a];e.forEach(function(c){var f=d[c];e.forEach(function(c){var d=f[a],e=b[c],g=f[c],h=d.distance+e.distance;h<g.distance&&(g.distance=h,g.predecessor=e.predecessor)})})}),d}var f=a("../lodash");b.exports=d;var g=f.constant(1)},{"../lodash":109}],98:[function(a,b,c){b.exports={components:a("./components"),dijkstra:a("./dijkstra"),dijkstraAll:a("./dijkstra-all"),findCycles:a("./find-cycles"),floydWarshall:a("./floyd-warshall"),isAcyclic:a("./is-acyclic"),postorder:a("./postorder"),preorder:a("./preorder"),prim:a("./prim"),tarjan:a("./tarjan"),topsort:a("./topsort")}},{"./components":92,"./dijkstra":95,"./dijkstra-all":94,"./find-cycles":96,"./floyd-warshall":97,"./is-acyclic":99,"./postorder":100,"./preorder":101,"./prim":102,"./tarjan":103,"./topsort":104}],99:[function(a,b,c){function d(a){try{e(a)}catch(a){if(a instanceof e.CycleException)return!1;throw a}return!0}var e=a("./topsort");b.exports=d},{"./topsort":104}],100:[function(a,b,c){function d(a,b){return e(a,b,"post")}var e=a("./dfs");b.exports=d},{"./dfs":93}],101:[function(a,b,c){function d(a,b){return e(a,b,"pre")}var e=a("./dfs");b.exports=d},{"./dfs":93}],102:[function(a,b,c){function d(a,b){function c(a){var c=a.v===d?a.w:a.v,e=j.priority(c);if(void 0!==e){var f=b(a);f<e&&(i[c]=d,j.decrease(c,f))}}var d,h=new f,i={},j=new g;if(0===a.nodeCount())return h;e.each(a.nodes(),function(a){j.add(a,Number.POSITIVE_INFINITY),h.setNode(a)}),j.decrease(a.nodes()[0],0);for(var k=!1;j.size()>0;){if(d=j.removeMin(),e.has(i,d))h.setEdge(d,i[d]);else{if(k)throw new Error("Input graph is not connected: "+a);k=!0}a.nodeEdges(d).forEach(c)}return h}var e=a("../lodash"),f=a("../graph"),g=a("../data/priority-queue");b.exports=d},{"../data/priority-queue":105,"../graph":106,"../lodash":109}],103:[function(a,b,c){function d(a){function b(h){var i=f[h]={onStack:!0,lowlink:c,index:c++};if(d.push(h),a.successors(h).forEach(function(a){e.has(f,a)?f[a].onStack&&(i.lowlink=Math.min(i.lowlink,f[a].index)):(b(a),i.lowlink=Math.min(i.lowlink,f[a].lowlink))}),i.lowlink===i.index){var j,k=[];do j=d.pop(),f[j].onStack=!1,k.push(j);while(h!==j);g.push(k)}}var c=0,d=[],f={},g=[];return a.nodes().forEach(function(a){e.has(f,a)||b(a)}),g}var e=a("../lodash");b.exports=d},{"../lodash":109}],104:[function(a,b,c){function d(a){function b(h){if(f.has(d,h))throw new e;f.has(c,h)||(d[h]=!0,c[h]=!0,f.each(a.predecessors(h),b),delete d[h],g.push(h))}var c={},d={},g=[];if(f.each(a.sinks(),b),f.size(c)!==a.nodeCount())throw new e;return g}function e(){}var f=a("../lodash");b.exports=d,d.CycleException=e,e.prototype=new Error},{"../lodash":109}],105:[function(a,b,c){function d(){this._arr=[],this._keyIndices={}}var e=a("../lodash");b.exports=d,d.prototype.size=function(){return this._arr.length},d.prototype.keys=function(){return this._arr.map(function(a){return a.key})},d.prototype.has=function(a){return e.has(this._keyIndices,a)},d.prototype.priority=function(a){var b=this._keyIndices[a];if(void 0!==b)return this._arr[b].priority},d.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},d.prototype.add=function(a,b){var c=this._keyIndices;if(a=String(a),!e.has(c,a)){var d=this._arr,f=d.length;return c[a]=f,d.push({key:a,priority:b}),this._decrease(f),!0}return!1},d.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var a=this._arr.pop();return delete this._keyIndices[a.key],this._heapify(0),a.key},d.prototype.decrease=function(a,b){var c=this._keyIndices[a];if(b>this._arr[c].priority)throw new Error("New priority is greater than current priority. Key: "+a+" Old: "+this._arr[c].priority+" New: "+b);this._arr[c].priority=b,this._decrease(c)},d.prototype._heapify=function(a){var b=this._arr,c=2*a,d=c+1,e=a;c<b.length&&(e=b[c].priority<b[e].priority?c:e,d<b.length&&(e=b[d].priority<b[e].priority?d:e),e!==a&&(this._swap(a,e),this._heapify(e)))},d.prototype._decrease=function(a){for(var b,c=this._arr,d=c[a].priority;0!==a&&(b=a>>1,!(c[b].priority<d));)this._swap(a,b),a=b},d.prototype._swap=function(a,b){var c=this._arr,d=this._keyIndices,e=c[a],f=c[b];c[a]=f,c[b]=e,d[f.key]=a,d[e.key]=b}},{"../lodash":109}],106:[function(a,b,c){"use strict";function d(a){this._isDirected=!j.has(a,"directed")||a.directed,this._isMultigraph=!!j.has(a,"multigraph")&&a.multigraph,this._isCompound=!!j.has(a,"compound")&&a.compound,this._label=void 0,this._defaultNodeLabelFn=j.constant(void 0),this._defaultEdgeLabelFn=j.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[l]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function e(a,b){a[b]?a[b]++:a[b]=1}function f(a,b){--a[b]||delete a[b]}function g(a,b,c,d){var e=""+b,f=""+c;if(!a&&e>f){var g=e;e=f,f=g}return e+m+f+m+(j.isUndefined(d)?k:d)}function h(a,b,c,d){var e=""+b,f=""+c;if(!a&&e>f){var g=e;e=f,f=g}var h={v:e,w:f};return d&&(h.name=d),h}function i(a,b){return g(a,b.v,b.w,b.name)}var j=a("./lodash");b.exports=d;var k="\0",l="\0",m="";d.prototype._nodeCount=0,d.prototype._edgeCount=0,d.prototype.isDirected=function(){return this._isDirected},d.prototype.isMultigraph=function(){return this._isMultigraph},d.prototype.isCompound=function(){return this._isCompound},d.prototype.setGraph=function(a){return this._label=a,this},d.prototype.graph=function(){return this._label},d.prototype.setDefaultNodeLabel=function(a){return j.isFunction(a)||(a=j.constant(a)),this._defaultNodeLabelFn=a,this},d.prototype.nodeCount=function(){return this._nodeCount},d.prototype.nodes=function(){return j.keys(this._nodes)},d.prototype.sources=function(){var a=this;return j.filter(this.nodes(),function(b){return j.isEmpty(a._in[b])})},d.prototype.sinks=function(){var a=this;return j.filter(this.nodes(),function(b){return j.isEmpty(a._out[b])})},d.prototype.setNodes=function(a,b){var c=arguments,d=this;return j.each(a,function(a){c.length>1?d.setNode(a,b):d.setNode(a)}),this},d.prototype.setNode=function(a,b){return j.has(this._nodes,a)?(arguments.length>1&&(this._nodes[a]=b),this):(this._nodes[a]=arguments.length>1?b:this._defaultNodeLabelFn(a),this._isCompound&&(this._parent[a]=l,this._children[a]={},this._children[l][a]=!0),this._in[a]={},this._preds[a]={},this._out[a]={},this._sucs[a]={},++this._nodeCount,this)},d.prototype.node=function(a){return this._nodes[a]},d.prototype.hasNode=function(a){return j.has(this._nodes,a)},d.prototype.removeNode=function(a){var b=this;if(j.has(this._nodes,a)){var c=function(a){b.removeEdge(b._edgeObjs[a])};delete this._nodes[a],this._isCompound&&(this._removeFromParentsChildList(a),delete this._parent[a],j.each(this.children(a),function(a){b.setParent(a)}),delete this._children[a]),j.each(j.keys(this._in[a]),c),delete this._in[a],delete this._preds[a],j.each(j.keys(this._out[a]),c),delete this._out[a],delete this._sucs[a],--this._nodeCount}return this},d.prototype.setParent=function(a,b){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(j.isUndefined(b))b=l;else{b+="";for(var c=b;!j.isUndefined(c);c=this.parent(c))if(c===a)throw new Error("Setting "+b+" as parent of "+a+" would create a cycle");this.setNode(b)}return this.setNode(a),this._removeFromParentsChildList(a),this._parent[a]=b,this._children[b][a]=!0,this},d.prototype._removeFromParentsChildList=function(a){delete this._children[this._parent[a]][a]},d.prototype.parent=function(a){if(this._isCompound){var b=this._parent[a];if(b!==l)return b}},d.prototype.children=function(a){if(j.isUndefined(a)&&(a=l),this._isCompound){var b=this._children[a];if(b)return j.keys(b)}else{if(a===l)return this.nodes();if(this.hasNode(a))return[]}},d.prototype.predecessors=function(a){var b=this._preds[a];if(b)return j.keys(b)},d.prototype.successors=function(a){var b=this._sucs[a];if(b)return j.keys(b)},d.prototype.neighbors=function(a){var b=this.predecessors(a);if(b)return j.union(b,this.successors(a))},d.prototype.isLeaf=function(a){var b;return b=this.isDirected()?this.successors(a):this.neighbors(a),0===b.length},d.prototype.filterNodes=function(a){function b(a){var f=d.parent(a);return void 0===f||c.hasNode(f)?(e[a]=f,f):f in e?e[f]:b(f)}var c=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});c.setGraph(this.graph());var d=this;j.each(this._nodes,function(b,d){a(d)&&c.setNode(d,b)}),j.each(this._edgeObjs,function(a){c.hasNode(a.v)&&c.hasNode(a.w)&&c.setEdge(a,d.edge(a))});var e={};return this._isCompound&&j.each(c.nodes(),function(a){c.setParent(a,b(a))}),c},d.prototype.setDefaultEdgeLabel=function(a){return j.isFunction(a)||(a=j.constant(a)),this._defaultEdgeLabelFn=a,this},d.prototype.edgeCount=function(){return this._edgeCount},d.prototype.edges=function(){return j.values(this._edgeObjs)},d.prototype.setPath=function(a,b){var c=this,d=arguments;return j.reduce(a,function(a,e){return d.length>1?c.setEdge(a,e,b):c.setEdge(a,e),e}),this},d.prototype.setEdge=function(){var a,b,c,d,f=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(a=i.v,b=i.w,c=i.name,2===arguments.length&&(d=arguments[1],f=!0)):(a=i,b=arguments[1],c=arguments[3],arguments.length>2&&(d=arguments[2],f=!0)),a=""+a,b=""+b,j.isUndefined(c)||(c=""+c);var k=g(this._isDirected,a,b,c);if(j.has(this._edgeLabels,k))return f&&(this._edgeLabels[k]=d),this;if(!j.isUndefined(c)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(a),this.setNode(b),this._edgeLabels[k]=f?d:this._defaultEdgeLabelFn(a,b,c);var l=h(this._isDirected,a,b,c);return a=l.v,b=l.w,Object.freeze(l),this._edgeObjs[k]=l,e(this._preds[b],a),e(this._sucs[a],b),this._in[b][k]=l,this._out[a][k]=l,this._edgeCount++,this},d.prototype.edge=function(a,b,c){var d=1===arguments.length?i(this._isDirected,arguments[0]):g(this._isDirected,a,b,c);return this._edgeLabels[d]},d.prototype.hasEdge=function(a,b,c){var d=1===arguments.length?i(this._isDirected,arguments[0]):g(this._isDirected,a,b,c);return j.has(this._edgeLabels,d)},d.prototype.removeEdge=function(a,b,c){var d=1===arguments.length?i(this._isDirected,arguments[0]):g(this._isDirected,a,b,c),e=this._edgeObjs[d];return e&&(a=e.v,b=e.w,delete this._edgeLabels[d],delete this._edgeObjs[d],f(this._preds[b],a),f(this._sucs[a],b),delete this._in[b][d],delete this._out[a][d],this._edgeCount--),this},d.prototype.inEdges=function(a,b){var c=this._in[a];if(c){var d=j.values(c);return b?j.filter(d,function(a){return a.v===b}):d}},d.prototype.outEdges=function(a,b){var c=this._out[a];if(c){var d=j.values(c);return b?j.filter(d,function(a){return a.w===b}):d}},d.prototype.nodeEdges=function(a,b){var c=this.inEdges(a,b);if(c)return c.concat(this.outEdges(a,b))}},{"./lodash":109}],107:[function(a,b,c){b.exports={Graph:a("./graph"),version:a("./version")}},{"./graph":106,"./version":110}],108:[function(a,b,c){function d(a){var b={options:{directed:a.isDirected(),multigraph:a.isMultigraph(),compound:a.isCompound()},nodes:e(a),edges:f(a)};return h.isUndefined(a.graph())||(b.value=h.clone(a.graph())),b}function e(a){return h.map(a.nodes(),function(b){var c=a.node(b),d=a.parent(b),e={v:b};return h.isUndefined(c)||(e.value=c),h.isUndefined(d)||(e.parent=d),e})}function f(a){return h.map(a.edges(),function(b){var c=a.edge(b),d={v:b.v,w:b.w};return h.isUndefined(b.name)||(d.name=b.name),h.isUndefined(c)||(d.value=c),d})}function g(a){var b=new i(a.options).setGraph(a.value);return h.each(a.nodes,function(a){b.setNode(a.v,a.value),a.parent&&b.setParent(a.v,a.parent)}),h.each(a.edges,function(a){b.setEdge({v:a.v,w:a.w,name:a.name},a.value)}),b}var h=a("./lodash"),i=a("./graph");b.exports={write:d,read:g}},{"./graph":106,"./lodash":109}],109:[function(a,b,c){var d;if("function"==typeof a)try{d={clone:a("lodash/clone"),constant:a("lodash/constant"),each:a("lodash/each"),filter:a("lodash/filter"),has:a("lodash/has"),isArray:a("lodash/isArray"),isEmpty:a("lodash/isEmpty"),isFunction:a("lodash/isFunction"),isUndefined:a("lodash/isUndefined"),keys:a("lodash/keys"),map:a("lodash/map"),reduce:a("lodash/reduce"),size:a("lodash/size"),transform:a("lodash/transform"),union:a("lodash/union"),values:a("lodash/values")}}catch(a){}d||(d=window._),b.exports=d},{"lodash/clone":286,"lodash/constant":288,"lodash/each":290,"lodash/filter":292,"lodash/has":299,"lodash/isArray":303,"lodash/isEmpty":307,"lodash/isFunction":308,"lodash/isUndefined":318,"lodash/keys":319,"lodash/map":322,"lodash/reduce":334,"lodash/size":335,"lodash/transform":344,"lodash/union":345,"lodash/values":347}],110:[function(a,b,c){b.exports="2.1.8"},{}],111:[function(a,b,c){var d=a("./_getNative"),e=a("./_root"),f=d(e,"DataView");b.exports=f},{"./_getNative":223,"./_root":268}],112:[function(a,b,c){function d(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}var e=a("./_hashClear"),f=a("./_hashDelete"),g=a("./_hashGet"),h=a("./_hashHas"),i=a("./_hashSet");d.prototype.clear=e,d.prototype.delete=f,d.prototype.get=g,d.prototype.has=h,d.prototype.set=i,b.exports=d},{"./_hashClear":232,"./_hashDelete":233,"./_hashGet":234,"./_hashHas":235,"./_hashSet":236}],113:[function(a,b,c){function d(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}var e=a("./_listCacheClear"),f=a("./_listCacheDelete"),g=a("./_listCacheGet"),h=a("./_listCacheHas"),i=a("./_listCacheSet");d.prototype.clear=e,d.prototype.delete=f,d.prototype.get=g,d.prototype.has=h,d.prototype.set=i,b.exports=d},{"./_listCacheClear":248,"./_listCacheDelete":249,"./_listCacheGet":250,"./_listCacheHas":251,"./_listCacheSet":252}],114:[function(a,b,c){var d=a("./_getNative"),e=a("./_root"),f=d(e,"Map");b.exports=f},{"./_getNative":223,"./_root":268}],115:[function(a,b,c){function d(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}var e=a("./_mapCacheClear"),f=a("./_mapCacheDelete"),g=a("./_mapCacheGet"),h=a("./_mapCacheHas"),i=a("./_mapCacheSet");d.prototype.clear=e,d.prototype.delete=f,d.prototype.get=g,d.prototype.has=h,d.prototype.set=i,b.exports=d},{"./_mapCacheClear":253,"./_mapCacheDelete":254,"./_mapCacheGet":255,"./_mapCacheHas":256,"./_mapCacheSet":257}],116:[function(a,b,c){var d=a("./_getNative"),e=a("./_root"),f=d(e,"Promise");b.exports=f},{"./_getNative":223,"./_root":268}],117:[function(a,b,c){var d=a("./_getNative"),e=a("./_root"),f=d(e,"Set");b.exports=f},{"./_getNative":223,"./_root":268}],118:[function(a,b,c){function d(a){var b=-1,c=null==a?0:a.length;for(this.__data__=new e;++b<c;)this.add(a[b])}var e=a("./_MapCache"),f=a("./_setCacheAdd"),g=a("./_setCacheHas");d.prototype.add=d.prototype.push=f,d.prototype.has=g,b.exports=d},{"./_MapCache":115,"./_setCacheAdd":270,"./_setCacheHas":271
- }],119:[function(a,b,c){function d(a){var b=this.__data__=new e(a);this.size=b.size}var e=a("./_ListCache"),f=a("./_stackClear"),g=a("./_stackDelete"),h=a("./_stackGet"),i=a("./_stackHas"),j=a("./_stackSet");d.prototype.clear=f,d.prototype.delete=g,d.prototype.get=h,d.prototype.has=i,d.prototype.set=j,b.exports=d},{"./_ListCache":113,"./_stackClear":275,"./_stackDelete":276,"./_stackGet":277,"./_stackHas":278,"./_stackSet":279}],120:[function(a,b,c){var d=a("./_root"),e=d.Symbol;b.exports=e},{"./_root":268}],121:[function(a,b,c){var d=a("./_root"),e=d.Uint8Array;b.exports=e},{"./_root":268}],122:[function(a,b,c){var d=a("./_getNative"),e=a("./_root"),f=d(e,"WeakMap");b.exports=f},{"./_getNative":223,"./_root":268}],123:[function(a,b,c){function d(a,b,c){switch(c.length){case 0:return a.call(b);case 1:return a.call(b,c[0]);case 2:return a.call(b,c[0],c[1]);case 3:return a.call(b,c[0],c[1],c[2])}return a.apply(b,c)}b.exports=d},{}],124:[function(a,b,c){function d(a,b){for(var c=-1,d=null==a?0:a.length;++c<d&&b(a[c],c,a)!==!1;);return a}b.exports=d},{}],125:[function(a,b,c){function d(a,b){for(var c=-1,d=null==a?0:a.length,e=0,f=[];++c<d;){var g=a[c];b(g,c,a)&&(f[e++]=g)}return f}b.exports=d},{}],126:[function(a,b,c){function d(a,b){var c=null==a?0:a.length;return!!c&&e(a,b,0)>-1}var e=a("./_baseIndexOf");b.exports=d},{"./_baseIndexOf":155}],127:[function(a,b,c){function d(a,b,c){for(var d=-1,e=null==a?0:a.length;++d<e;)if(c(b,a[d]))return!0;return!1}b.exports=d},{}],128:[function(a,b,c){function d(a,b){var c=g(a),d=!c&&f(a),k=!c&&!d&&h(a),m=!c&&!d&&!k&&j(a),n=c||d||k||m,o=n?e(a.length,String):[],p=o.length;for(var q in a)!b&&!l.call(a,q)||n&&("length"==q||k&&("offset"==q||"parent"==q)||m&&("buffer"==q||"byteLength"==q||"byteOffset"==q)||i(q,p))||o.push(q);return o}var e=a("./_baseTimes"),f=a("./isArguments"),g=a("./isArray"),h=a("./isBuffer"),i=a("./_isIndex"),j=a("./isTypedArray"),k=Object.prototype,l=k.hasOwnProperty;b.exports=d},{"./_baseTimes":185,"./_isIndex":241,"./isArguments":302,"./isArray":303,"./isBuffer":306,"./isTypedArray":317}],129:[function(a,b,c){function d(a,b){for(var c=-1,d=null==a?0:a.length,e=Array(d);++c<d;)e[c]=b(a[c],c,a);return e}b.exports=d},{}],130:[function(a,b,c){function d(a,b){for(var c=-1,d=b.length,e=a.length;++c<d;)a[e+c]=b[c];return a}b.exports=d},{}],131:[function(a,b,c){function d(a,b,c,d){var e=-1,f=null==a?0:a.length;for(d&&f&&(c=a[++e]);++e<f;)c=b(c,a[e],e,a);return c}b.exports=d},{}],132:[function(a,b,c){function d(a,b){for(var c=-1,d=null==a?0:a.length;++c<d;)if(b(a[c],c,a))return!0;return!1}b.exports=d},{}],133:[function(a,b,c){var d=a("./_baseProperty"),e=d("length");b.exports=e},{"./_baseProperty":177}],134:[function(a,b,c){function d(a,b,c){(void 0===c||f(a[b],c))&&(void 0!==c||b in a)||e(a,b,c)}var e=a("./_baseAssignValue"),f=a("./eq");b.exports=d},{"./_baseAssignValue":139,"./eq":291}],135:[function(a,b,c){function d(a,b,c){var d=a[b];h.call(a,b)&&f(d,c)&&(void 0!==c||b in a)||e(a,b,c)}var e=a("./_baseAssignValue"),f=a("./eq"),g=Object.prototype,h=g.hasOwnProperty;b.exports=d},{"./_baseAssignValue":139,"./eq":291}],136:[function(a,b,c){function d(a,b){for(var c=a.length;c--;)if(e(a[c][0],b))return c;return-1}var e=a("./eq");b.exports=d},{"./eq":291}],137:[function(a,b,c){function d(a,b){return a&&e(b,f(b),a)}var e=a("./_copyObject"),f=a("./keys");b.exports=d},{"./_copyObject":203,"./keys":319}],138:[function(a,b,c){function d(a,b){return a&&e(b,f(b),a)}var e=a("./_copyObject"),f=a("./keysIn");b.exports=d},{"./_copyObject":203,"./keysIn":320}],139:[function(a,b,c){function d(a,b,c){"__proto__"==b&&e?e(a,b,{configurable:!0,enumerable:!0,value:c,writable:!0}):a[b]=c}var e=a("./_defineProperty");b.exports=d},{"./_defineProperty":213}],140:[function(a,b,c){function d(a,b,c,D,E,F){var G,J=b&z,K=b&A,M=b&B;if(c&&(G=E?c(a,D,E,F):c(a)),void 0!==G)return G;if(!w(a))return a;var N=t(a);if(N){if(G=q(a),!J)return k(a,G)}else{var O=p(a),P=O==H||O==I;if(u(a))return j(a,J);if(O==L||O==C||P&&!E){if(G=K||P?{}:s(a),!J)return K?m(a,i(G,a)):l(a,h(G,a))}else{if(!aa[O])return E?a:{};G=r(a,O,J)}}F||(F=new e);var Q=F.get(a);if(Q)return Q;F.set(a,G),x(a)?a.forEach(function(e){G.add(d(e,b,c,e,a,F))}):v(a)&&a.forEach(function(e,f){G.set(f,d(e,b,c,f,a,F))});var R=M?K?o:n:K?keysIn:y,S=N?void 0:R(a);return f(S||a,function(e,f){S&&(f=e,e=a[f]),g(G,f,d(e,b,c,f,a,F))}),G}var e=a("./_Stack"),f=a("./_arrayEach"),g=a("./_assignValue"),h=a("./_baseAssign"),i=a("./_baseAssignIn"),j=a("./_cloneBuffer"),k=a("./_copyArray"),l=a("./_copySymbols"),m=a("./_copySymbolsIn"),n=a("./_getAllKeys"),o=a("./_getAllKeysIn"),p=a("./_getTag"),q=a("./_initCloneArray"),r=a("./_initCloneByTag"),s=a("./_initCloneObject"),t=a("./isArray"),u=a("./isBuffer"),v=a("./isMap"),w=a("./isObject"),x=a("./isSet"),y=a("./keys"),z=1,A=2,B=4,C="[object Arguments]",D="[object Array]",E="[object Boolean]",F="[object Date]",G="[object Error]",H="[object Function]",I="[object GeneratorFunction]",J="[object Map]",K="[object Number]",L="[object Object]",M="[object RegExp]",N="[object Set]",O="[object String]",P="[object Symbol]",Q="[object WeakMap]",R="[object ArrayBuffer]",S="[object DataView]",T="[object Float32Array]",U="[object Float64Array]",V="[object Int8Array]",W="[object Int16Array]",X="[object Int32Array]",Y="[object Uint8Array]",Z="[object Uint8ClampedArray]",$="[object Uint16Array]",_="[object Uint32Array]",aa={};aa[C]=aa[D]=aa[R]=aa[S]=aa[E]=aa[F]=aa[T]=aa[U]=aa[V]=aa[W]=aa[X]=aa[J]=aa[K]=aa[L]=aa[M]=aa[N]=aa[O]=aa[P]=aa[Y]=aa[Z]=aa[$]=aa[_]=!0,aa[G]=aa[H]=aa[Q]=!1,b.exports=d},{"./_Stack":119,"./_arrayEach":124,"./_assignValue":135,"./_baseAssign":137,"./_baseAssignIn":138,"./_cloneBuffer":195,"./_copyArray":202,"./_copySymbols":204,"./_copySymbolsIn":205,"./_getAllKeys":219,"./_getAllKeysIn":220,"./_getTag":228,"./_initCloneArray":237,"./_initCloneByTag":238,"./_initCloneObject":239,"./isArray":303,"./isBuffer":306,"./isMap":310,"./isObject":311,"./isSet":314,"./keys":319}],141:[function(a,b,c){var d=a("./isObject"),e=Object.create,f=function(){function a(){}return function(b){if(!d(b))return{};if(e)return e(b);a.prototype=b;var c=new a;return a.prototype=void 0,c}}();b.exports=f},{"./isObject":311}],142:[function(a,b,c){var d=a("./_baseForOwn"),e=a("./_createBaseEach"),f=e(d);b.exports=f},{"./_baseForOwn":148,"./_createBaseEach":208}],143:[function(a,b,c){function d(a,b,c){for(var d=-1,f=a.length;++d<f;){var g=a[d],h=b(g);if(null!=h&&(void 0===i?h===h&&!e(h):c(h,i)))var i=h,j=g}return j}var e=a("./isSymbol");b.exports=d},{"./isSymbol":316}],144:[function(a,b,c){function d(a,b){var c=[];return e(a,function(a,d,e){b(a,d,e)&&c.push(a)}),c}var e=a("./_baseEach");b.exports=d},{"./_baseEach":142}],145:[function(a,b,c){function d(a,b,c,d){for(var e=a.length,f=c+(d?1:-1);d?f--:++f<e;)if(b(a[f],f,a))return f;return-1}b.exports=d},{}],146:[function(a,b,c){function d(a,b,c,g,h){var i=-1,j=a.length;for(c||(c=f),h||(h=[]);++i<j;){var k=a[i];b>0&&c(k)?b>1?d(k,b-1,c,g,h):e(h,k):g||(h[h.length]=k)}return h}var e=a("./_arrayPush"),f=a("./_isFlattenable");b.exports=d},{"./_arrayPush":130,"./_isFlattenable":240}],147:[function(a,b,c){var d=a("./_createBaseFor"),e=d();b.exports=e},{"./_createBaseFor":209}],148:[function(a,b,c){function d(a,b){return a&&e(a,b,f)}var e=a("./_baseFor"),f=a("./keys");b.exports=d},{"./_baseFor":147,"./keys":319}],149:[function(a,b,c){function d(a,b){b=e(b,a);for(var c=0,d=b.length;null!=a&&c<d;)a=a[f(b[c++])];return c&&c==d?a:void 0}var e=a("./_castPath"),f=a("./_toKey");b.exports=d},{"./_castPath":193,"./_toKey":283}],150:[function(a,b,c){function d(a,b,c){var d=b(a);return f(a)?d:e(d,c(a))}var e=a("./_arrayPush"),f=a("./isArray");b.exports=d},{"./_arrayPush":130,"./isArray":303}],151:[function(a,b,c){function d(a){return null==a?void 0===a?i:h:j&&j in Object(a)?f(a):g(a)}var e=a("./_Symbol"),f=a("./_getRawTag"),g=a("./_objectToString"),h="[object Null]",i="[object Undefined]",j=e?e.toStringTag:void 0;b.exports=d},{"./_Symbol":120,"./_getRawTag":225,"./_objectToString":265}],152:[function(a,b,c){function d(a,b){return a>b}b.exports=d},{}],153:[function(a,b,c){function d(a,b){return null!=a&&f.call(a,b)}var e=Object.prototype,f=e.hasOwnProperty;b.exports=d},{}],154:[function(a,b,c){function d(a,b){return null!=a&&b in Object(a)}b.exports=d},{}],155:[function(a,b,c){function d(a,b,c){return b===b?g(a,b,c):e(a,f,c)}var e=a("./_baseFindIndex"),f=a("./_baseIsNaN"),g=a("./_strictIndexOf");b.exports=d},{"./_baseFindIndex":145,"./_baseIsNaN":161,"./_strictIndexOf":280}],156:[function(a,b,c){function d(a){return f(a)&&e(a)==g}var e=a("./_baseGetTag"),f=a("./isObjectLike"),g="[object Arguments]";b.exports=d},{"./_baseGetTag":151,"./isObjectLike":312}],157:[function(a,b,c){function d(a,b,c,g,h){return a===b||(null==a||null==b||!f(a)&&!f(b)?a!==a&&b!==b:e(a,b,c,g,d,h))}var e=a("./_baseIsEqualDeep"),f=a("./isObjectLike");b.exports=d},{"./_baseIsEqualDeep":158,"./isObjectLike":312}],158:[function(a,b,c){function d(a,b,c,d,q,s){var t=j(a),u=j(b),v=t?o:i(a),w=u?o:i(b);v=v==n?p:v,w=w==n?p:w;var x=v==p,y=w==p,z=v==w;if(z&&k(a)){if(!k(b))return!1;t=!0,x=!1}if(z&&!x)return s||(s=new e),t||l(a)?f(a,b,c,d,q,s):g(a,b,v,c,d,q,s);if(!(c&m)){var A=x&&r.call(a,"__wrapped__"),B=y&&r.call(b,"__wrapped__");if(A||B){var C=A?a.value():a,D=B?b.value():b;return s||(s=new e),q(C,D,c,d,s)}}return!!z&&(s||(s=new e),h(a,b,c,d,q,s))}var e=a("./_Stack"),f=a("./_equalArrays"),g=a("./_equalByTag"),h=a("./_equalObjects"),i=a("./_getTag"),j=a("./isArray"),k=a("./isBuffer"),l=a("./isTypedArray"),m=1,n="[object Arguments]",o="[object Array]",p="[object Object]",q=Object.prototype,r=q.hasOwnProperty;b.exports=d},{"./_Stack":119,"./_equalArrays":214,"./_equalByTag":215,"./_equalObjects":216,"./_getTag":228,"./isArray":303,"./isBuffer":306,"./isTypedArray":317}],159:[function(a,b,c){function d(a){return f(a)&&e(a)==g}var e=a("./_getTag"),f=a("./isObjectLike"),g="[object Map]";b.exports=d},{"./_getTag":228,"./isObjectLike":312}],160:[function(a,b,c){function d(a,b,c,d){var i=c.length,j=i,k=!d;if(null==a)return!j;for(a=Object(a);i--;){var l=c[i];if(k&&l[2]?l[1]!==a[l[0]]:!(l[0]in a))return!1}for(;++i<j;){l=c[i];var m=l[0],n=a[m],o=l[1];if(k&&l[2]){if(void 0===n&&!(m in a))return!1}else{var p=new e;if(d)var q=d(n,o,m,a,b,p);if(!(void 0===q?f(o,n,g|h,d,p):q))return!1}}return!0}var e=a("./_Stack"),f=a("./_baseIsEqual"),g=1,h=2;b.exports=d},{"./_Stack":119,"./_baseIsEqual":157}],161:[function(a,b,c){function d(a){return a!==a}b.exports=d},{}],162:[function(a,b,c){function d(a){if(!g(a)||f(a))return!1;var b=e(a)?o:j;return b.test(h(a))}var e=a("./isFunction"),f=a("./_isMasked"),g=a("./isObject"),h=a("./_toSource"),i=/[\\^$.*+?()[\]{}|]/g,j=/^\[object .+?Constructor\]$/,k=Function.prototype,l=Object.prototype,m=k.toString,n=l.hasOwnProperty,o=RegExp("^"+m.call(n).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");b.exports=d},{"./_isMasked":245,"./_toSource":284,"./isFunction":308,"./isObject":311}],163:[function(a,b,c){function d(a){return f(a)&&e(a)==g}var e=a("./_getTag"),f=a("./isObjectLike"),g="[object Set]";b.exports=d},{"./_getTag":228,"./isObjectLike":312}],164:[function(a,b,c){function d(a){return g(a)&&f(a.length)&&!!F[e(a)]}var e=a("./_baseGetTag"),f=a("./isLength"),g=a("./isObjectLike"),h="[object Arguments]",i="[object Array]",j="[object Boolean]",k="[object Date]",l="[object Error]",m="[object Function]",n="[object Map]",o="[object Number]",p="[object Object]",q="[object RegExp]",r="[object Set]",s="[object String]",t="[object WeakMap]",u="[object ArrayBuffer]",v="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",y="[object Int8Array]",z="[object Int16Array]",A="[object Int32Array]",B="[object Uint8Array]",C="[object Uint8ClampedArray]",D="[object Uint16Array]",E="[object Uint32Array]",F={};F[w]=F[x]=F[y]=F[z]=F[A]=F[B]=F[C]=F[D]=F[E]=!0,F[h]=F[i]=F[u]=F[j]=F[v]=F[k]=F[l]=F[m]=F[n]=F[o]=F[p]=F[q]=F[r]=F[s]=F[t]=!1,b.exports=d},{"./_baseGetTag":151,"./isLength":309,"./isObjectLike":312}],165:[function(a,b,c){function d(a){return"function"==typeof a?a:null==a?g:"object"==typeof a?h(a)?f(a[0],a[1]):e(a):i(a)}var e=a("./_baseMatches"),f=a("./_baseMatchesProperty"),g=a("./identity"),h=a("./isArray"),i=a("./property");b.exports=d},{"./_baseMatches":170,"./_baseMatchesProperty":171,"./identity":301,"./isArray":303,"./property":332}],166:[function(a,b,c){function d(a){if(!e(a))return f(a);var b=[];for(var c in Object(a))h.call(a,c)&&"constructor"!=c&&b.push(c);return b}var e=a("./_isPrototype"),f=a("./_nativeKeys"),g=Object.prototype,h=g.hasOwnProperty;b.exports=d},{"./_isPrototype":246,"./_nativeKeys":262}],167:[function(a,b,c){function d(a){if(!e(a))return g(a);var b=f(a),c=[];for(var d in a)("constructor"!=d||!b&&i.call(a,d))&&c.push(d);return c}var e=a("./isObject"),f=a("./_isPrototype"),g=a("./_nativeKeysIn"),h=Object.prototype,i=h.hasOwnProperty;b.exports=d},{"./_isPrototype":246,"./_nativeKeysIn":263,"./isObject":311}],168:[function(a,b,c){function d(a,b){return a<b}b.exports=d},{}],169:[function(a,b,c){function d(a,b){var c=-1,d=f(a)?Array(a.length):[];return e(a,function(a,e,f){d[++c]=b(a,e,f)}),d}var e=a("./_baseEach"),f=a("./isArrayLike");b.exports=d},{"./_baseEach":142,"./isArrayLike":304}],170:[function(a,b,c){function d(a){var b=f(a);return 1==b.length&&b[0][2]?g(b[0][0],b[0][1]):function(c){return c===a||e(c,a,b)}}var e=a("./_baseIsMatch"),f=a("./_getMatchData"),g=a("./_matchesStrictComparable");b.exports=d},{"./_baseIsMatch":160,"./_getMatchData":222,"./_matchesStrictComparable":259}],171:[function(a,b,c){function d(a,b){return h(a)&&i(b)?j(k(a),b):function(c){var d=f(c,a);return void 0===d&&d===b?g(c,a):e(b,d,l|m)}}var e=a("./_baseIsEqual"),f=a("./get"),g=a("./hasIn"),h=a("./_isKey"),i=a("./_isStrictComparable"),j=a("./_matchesStrictComparable"),k=a("./_toKey"),l=1,m=2;b.exports=d},{"./_baseIsEqual":157,"./_isKey":243,"./_isStrictComparable":247,"./_matchesStrictComparable":259,"./_toKey":283,"./get":298,"./hasIn":300}],172:[function(a,b,c){function d(a,b,c,l,m){a!==b&&g(b,function(g,j){if(m||(m=new e),i(g))h(a,b,j,c,d,l,m);else{var n=l?l(k(a,j),g,j+"",a,b,m):void 0;void 0===n&&(n=g),f(a,j,n)}},j)}var e=a("./_Stack"),f=a("./_assignMergeValue"),g=a("./_baseFor"),h=a("./_baseMergeDeep"),i=a("./isObject"),j=a("./keysIn"),k=a("./_safeGet");b.exports=d},{"./_Stack":119,"./_assignMergeValue":134,"./_baseFor":147,"./_baseMergeDeep":173,"./_safeGet":269,"./isObject":311,"./keysIn":320}],173:[function(a,b,c){function d(a,b,c,d,t,u,v){var w=r(a,c),x=r(b,c),y=v.get(x);if(y)return void e(a,c,y);var z=u?u(w,x,c+"",a,b,v):void 0,A=void 0===z;if(A){var B=k(x),C=!B&&m(x),D=!B&&!C&&q(x);z=x,B||C||D?k(w)?z=w:l(w)?z=h(w):C?(A=!1,z=f(x,!0)):D?(A=!1,z=g(x,!0)):z=[]:p(x)||j(x)?(z=w,j(w)?z=s(w):o(w)&&!n(w)||(z=i(x))):A=!1}A&&(v.set(x,z),t(z,x,d,u,v),v.delete(x)),e(a,c,z)}var e=a("./_assignMergeValue"),f=a("./_cloneBuffer"),g=a("./_cloneTypedArray"),h=a("./_copyArray"),i=a("./_initCloneObject"),j=a("./isArguments"),k=a("./isArray"),l=a("./isArrayLikeObject"),m=a("./isBuffer"),n=a("./isFunction"),o=a("./isObject"),p=a("./isPlainObject"),q=a("./isTypedArray"),r=a("./_safeGet"),s=a("./toPlainObject");b.exports=d},{"./_assignMergeValue":134,"./_cloneBuffer":195,"./_cloneTypedArray":199,"./_copyArray":202,"./_initCloneObject":239,"./_safeGet":269,"./isArguments":302,"./isArray":303,"./isArrayLikeObject":305,"./isBuffer":306,"./isFunction":308,"./isObject":311,"./isPlainObject":313,"./isTypedArray":317,"./toPlainObject":342}],174:[function(a,b,c){function d(a,b,c){var d=-1;b=e(b.length?b:[k],i(f));var l=g(a,function(a,c,f){var g=e(b,function(b){return b(a)});return{criteria:g,index:++d,value:a}});return h(l,function(a,b){return j(a,b,c)})}var e=a("./_arrayMap"),f=a("./_baseIteratee"),g=a("./_baseMap"),h=a("./_baseSortBy"),i=a("./_baseUnary"),j=a("./_compareMultiple"),k=a("./identity");b.exports=d},{"./_arrayMap":129,"./_baseIteratee":165,"./_baseMap":169,"./_baseSortBy":184,"./_baseUnary":187,"./_compareMultiple":201,"./identity":301}],175:[function(a,b,c){function d(a,b){return e(a,b,function(b,c){return f(a,c)})}var e=a("./_basePickBy"),f=a("./hasIn");b.exports=d},{"./_basePickBy":176,"./hasIn":300}],176:[function(a,b,c){function d(a,b,c){for(var d=-1,h=b.length,i={};++d<h;){var j=b[d],k=e(a,j);c(k,j)&&f(i,g(j,a),k)}return i}var e=a("./_baseGet"),f=a("./_baseSet"),g=a("./_castPath");b.exports=d},{"./_baseGet":149,"./_baseSet":182,"./_castPath":193}],177:[function(a,b,c){function d(a){return function(b){return null==b?void 0:b[a]}}b.exports=d},{}],178:[function(a,b,c){function d(a){return function(b){return e(b,a)}}var e=a("./_baseGet");b.exports=d},{"./_baseGet":149}],179:[function(a,b,c){function d(a,b,c,d){for(var g=-1,h=f(e((b-a)/(c||1)),0),i=Array(h);h--;)i[d?h:++g]=a,a+=c;return i}var e=Math.ceil,f=Math.max;b.exports=d},{}],180:[function(a,b,c){function d(a,b,c,d,e){return e(a,function(a,e,f){c=d?(d=!1,a):b(c,a,e,f)}),c}b.exports=d},{}],181:[function(a,b,c){function d(a,b){return g(f(a,b,e),a+"")}var e=a("./identity"),f=a("./_overRest"),g=a("./_setToString");b.exports=d},{"./_overRest":267,"./_setToString":273,"./identity":301}],182:[function(a,b,c){function d(a,b,c,d){if(!h(a))return a;b=f(b,a);for(var j=-1,k=b.length,l=k-1,m=a;null!=m&&++j<k;){var n=i(b[j]),o=c;if(j!=l){var p=m[n];o=d?d(p,n,m):void 0,void 0===o&&(o=h(p)?p:g(b[j+1])?[]:{})}e(m,n,o),m=m[n]}return a}var e=a("./_assignValue"),f=a("./_castPath"),g=a("./_isIndex"),h=a("./isObject"),i=a("./_toKey");b.exports=d},{"./_assignValue":135,"./_castPath":193,"./_isIndex":241,"./_toKey":283,"./isObject":311}],183:[function(a,b,c){var d=a("./constant"),e=a("./_defineProperty"),f=a("./identity"),g=e?function(a,b){return e(a,"toString",{configurable:!0,enumerable:!1,value:d(b),writable:!0})}:f;b.exports=g},{"./_defineProperty":213,"./constant":288,"./identity":301}],184:[function(a,b,c){function d(a,b){var c=a.length;for(a.sort(b);c--;)a[c]=a[c].value;return a}b.exports=d},{}],185:[function(a,b,c){function d(a,b){for(var c=-1,d=Array(a);++c<a;)d[c]=b(c);return d}b.exports=d},{}],186:[function(a,b,c){function d(a){if("string"==typeof a)return a;if(g(a))return f(a,d)+"";if(h(a))return k?k.call(a):"";var b=a+"";return"0"==b&&1/a==-i?"-0":b}var e=a("./_Symbol"),f=a("./_arrayMap"),g=a("./isArray"),h=a("./isSymbol"),i=1/0,j=e?e.prototype:void 0,k=j?j.toString:void 0;b.exports=d},{"./_Symbol":120,"./_arrayMap":129,"./isArray":303,"./isSymbol":316}],187:[function(a,b,c){function d(a){return function(b){return a(b)}}b.exports=d},{}],188:[function(a,b,c){function d(a,b,c){var d=-1,l=f,m=a.length,n=!0,o=[],p=o;if(c)n=!1,l=g;else if(m>=k){var q=b?null:i(a);if(q)return j(q);n=!1,l=h,p=new e}else p=b?[]:o;a:for(;++d<m;){var r=a[d],s=b?b(r):r;if(r=c||0!==r?r:0,n&&s===s){for(var t=p.length;t--;)if(p[t]===s)continue a;b&&p.push(s),o.push(r)}else l(p,s,c)||(p!==o&&p.push(s),o.push(r))}return o}var e=a("./_SetCache"),f=a("./_arrayIncludes"),g=a("./_arrayIncludesWith"),h=a("./_cacheHas"),i=a("./_createSet"),j=a("./_setToArray"),k=200;b.exports=d},{"./_SetCache":118,"./_arrayIncludes":126,"./_arrayIncludesWith":127,"./_cacheHas":191,"./_createSet":212,"./_setToArray":272}],189:[function(a,b,c){function d(a,b){return e(b,function(b){return a[b]})}var e=a("./_arrayMap");b.exports=d},{"./_arrayMap":129}],190:[function(a,b,c){function d(a,b,c){for(var d=-1,e=a.length,f=b.length,g={};++d<e;){var h=d<f?b[d]:void 0;c(g,a[d],h)}return g}b.exports=d},{}],191:[function(a,b,c){function d(a,b){return a.has(b)}b.exports=d},{}],192:[function(a,b,c){function d(a){return"function"==typeof a?a:e}var e=a("./identity");b.exports=d},{"./identity":301}],193:[function(a,b,c){function d(a,b){return e(a)?a:f(a,b)?[a]:g(h(a))}var e=a("./isArray"),f=a("./_isKey"),g=a("./_stringToPath"),h=a("./toString");b.exports=d},{"./_isKey":243,"./_stringToPath":282,"./isArray":303,"./toString":343}],194:[function(a,b,c){function d(a){var b=new a.constructor(a.byteLength);return new e(b).set(new e(a)),b}var e=a("./_Uint8Array");b.exports=d},{"./_Uint8Array":121}],195:[function(a,b,c){function d(a,b){if(b)return a.slice();var c=a.length,d=j?j(c):new a.constructor(c);return a.copy(d),d}var e=a("./_root"),f="object"==typeof c&&c&&!c.nodeType&&c,g=f&&"object"==typeof b&&b&&!b.nodeType&&b,h=g&&g.exports===f,i=h?e.Buffer:void 0,j=i?i.allocUnsafe:void 0;b.exports=d},{"./_root":268}],196:[function(a,b,c){function d(a,b){var c=b?e(a.buffer):a.buffer;return new a.constructor(c,a.byteOffset,a.byteLength)}var e=a("./_cloneArrayBuffer");b.exports=d},{"./_cloneArrayBuffer":194}],197:[function(a,b,c){function d(a){var b=new a.constructor(a.source,e.exec(a));return b.lastIndex=a.lastIndex,b}var e=/\w*$/;b.exports=d},{}],198:[function(a,b,c){function d(a){return g?Object(g.call(a)):{}}var e=a("./_Symbol"),f=e?e.prototype:void 0,g=f?f.valueOf:void 0;b.exports=d},{"./_Symbol":120}],199:[function(a,b,c){function d(a,b){var c=b?e(a.buffer):a.buffer;return new a.constructor(c,a.byteOffset,a.length)}var e=a("./_cloneArrayBuffer");b.exports=d},{"./_cloneArrayBuffer":194}],200:[function(a,b,c){function d(a,b){if(a!==b){var c=void 0!==a,d=null===a,f=a===a,g=e(a),h=void 0!==b,i=null===b,j=b===b,k=e(b);if(!i&&!k&&!g&&a>b||g&&h&&j&&!i&&!k||d&&h&&j||!c&&j||!f)return 1;if(!d&&!g&&!k&&a<b||k&&c&&f&&!d&&!g||i&&c&&f||!h&&f||!j)return-1}return 0}var e=a("./isSymbol");b.exports=d},{"./isSymbol":316}],201:[function(a,b,c){function d(a,b,c){for(var d=-1,f=a.criteria,g=b.criteria,h=f.length,i=c.length;++d<h;){var j=e(f[d],g[d]);if(j){if(d>=i)return j;var k=c[d];return j*("desc"==k?-1:1)}}return a.index-b.index}var e=a("./_compareAscending");b.exports=d},{"./_compareAscending":200}],202:[function(a,b,c){function d(a,b){var c=-1,d=a.length;for(b||(b=Array(d));++c<d;)b[c]=a[c];return b}b.exports=d},{}],203:[function(a,b,c){function d(a,b,c,d){var g=!c;c||(c={});for(var h=-1,i=b.length;++h<i;){var j=b[h],k=d?d(c[j],a[j],j,c,a):void 0;void 0===k&&(k=a[j]),g?f(c,j,k):e(c,j,k)}return c}var e=a("./_assignValue"),f=a("./_baseAssignValue");b.exports=d},{"./_assignValue":135,"./_baseAssignValue":139}],204:[function(a,b,c){function d(a,b){return e(a,f(a),b)}var e=a("./_copyObject"),f=a("./_getSymbols");b.exports=d},{"./_copyObject":203,"./_getSymbols":226}],205:[function(a,b,c){function d(a,b){return e(a,f(a),b)}var e=a("./_copyObject"),f=a("./_getSymbolsIn");b.exports=d},{"./_copyObject":203,"./_getSymbolsIn":227}],206:[function(a,b,c){var d=a("./_root"),e=d["__core-js_shared__"];b.exports=e},{"./_root":268}],207:[function(a,b,c){function d(a){return e(function(b,c){var d=-1,e=c.length,g=e>1?c[e-1]:void 0,h=e>2?c[2]:void 0;for(g=a.length>3&&"function"==typeof g?(e--,g):void 0,h&&f(c[0],c[1],h)&&(g=e<3?void 0:g,e=1),b=Object(b);++d<e;){var i=c[d];i&&a(b,i,d,g)}return b})}var e=a("./_baseRest"),f=a("./_isIterateeCall");b.exports=d},{"./_baseRest":181,"./_isIterateeCall":242}],208:[function(a,b,c){function d(a,b){return function(c,d){if(null==c)return c;if(!e(c))return a(c,d);for(var f=c.length,g=b?f:-1,h=Object(c);(b?g--:++g<f)&&d(h[g],g,h)!==!1;);return c}}var e=a("./isArrayLike");b.exports=d},{"./isArrayLike":304}],209:[function(a,b,c){function d(a){return function(b,c,d){for(var e=-1,f=Object(b),g=d(b),h=g.length;h--;){var i=g[a?h:++e];if(c(f[i],i,f)===!1)break}return b}}b.exports=d},{}],210:[function(a,b,c){function d(a){return function(b,c,d){var h=Object(b);if(!f(b)){var i=e(c,3);b=g(b),c=function(a){return i(h[a],a,h)}}var j=a(b,c,d);return j>-1?h[i?b[j]:j]:void 0}}var e=a("./_baseIteratee"),f=a("./isArrayLike"),g=a("./keys");b.exports=d},{"./_baseIteratee":165,"./isArrayLike":304,"./keys":319}],211:[function(a,b,c){function d(a){return function(b,c,d){return d&&"number"!=typeof d&&f(b,c,d)&&(c=d=void 0),b=g(b),void 0===c?(c=b,b=0):c=g(c),d=void 0===d?b<c?1:-1:g(d),e(b,c,d,a)}}var e=a("./_baseRange"),f=a("./_isIterateeCall"),g=a("./toFinite");b.exports=d},{"./_baseRange":179,"./_isIterateeCall":242,"./toFinite":339}],212:[function(a,b,c){var d=a("./_Set"),e=a("./noop"),f=a("./_setToArray"),g=1/0,h=d&&1/f(new d([,-0]))[1]==g?function(a){return new d(a)}:e;b.exports=h},{"./_Set":117,"./_setToArray":272,"./noop":329}],213:[function(a,b,c){var d=a("./_getNative"),e=function(){try{var a=d(Object,"defineProperty");return a({},"",{}),a}catch(a){}}();b.exports=e},{"./_getNative":223}],214:[function(a,b,c){function d(a,b,c,d,j,k){var l=c&h,m=a.length,n=b.length;if(m!=n&&!(l&&n>m))return!1;var o=k.get(a);if(o&&k.get(b))return o==b;var p=-1,q=!0,r=c&i?new e:void 0;for(k.set(a,b),k.set(b,a);++p<m;){var s=a[p],t=b[p];if(d)var u=l?d(t,s,p,b,a,k):d(s,t,p,a,b,k);if(void 0!==u){if(u)continue;q=!1;break}if(r){if(!f(b,function(a,b){if(!g(r,b)&&(s===a||j(s,a,c,d,k)))return r.push(b)})){q=!1;break}}else if(s!==t&&!j(s,t,c,d,k)){q=!1;break}}return k.delete(a),k.delete(b),q}var e=a("./_SetCache"),f=a("./_arraySome"),g=a("./_cacheHas"),h=1,i=2;b.exports=d},{"./_SetCache":118,"./_arraySome":132,"./_cacheHas":191}],215:[function(a,b,c){function d(a,b,c,d,e,x,z){switch(c){case w:if(a.byteLength!=b.byteLength||a.byteOffset!=b.byteOffset)return!1;a=a.buffer,b=b.buffer;case v:return!(a.byteLength!=b.byteLength||!x(new f(a),new f(b)));case m:case n:case q:return g(+a,+b);case o:return a.name==b.name&&a.message==b.message;case r:case t:return a==b+"";case p:var A=i;case s:var B=d&k;if(A||(A=j),a.size!=b.size&&!B)return!1;var C=z.get(a);if(C)return C==b;d|=l,z.set(a,b);var D=h(A(a),A(b),d,e,x,z);return z.delete(a),D;case u:if(y)return y.call(a)==y.call(b)}return!1}var e=a("./_Symbol"),f=a("./_Uint8Array"),g=a("./eq"),h=a("./_equalArrays"),i=a("./_mapToArray"),j=a("./_setToArray"),k=1,l=2,m="[object Boolean]",n="[object Date]",o="[object Error]",p="[object Map]",q="[object Number]",r="[object RegExp]",s="[object Set]",t="[object String]",u="[object Symbol]",v="[object ArrayBuffer]",w="[object DataView]",x=e?e.prototype:void 0,y=x?x.valueOf:void 0;b.exports=d},{"./_Symbol":120,"./_Uint8Array":121,"./_equalArrays":214,"./_mapToArray":258,"./_setToArray":272,"./eq":291}],216:[function(a,b,c){function d(a,b,c,d,g,i){var j=c&f,k=e(a),l=k.length,m=e(b),n=m.length;if(l!=n&&!j)return!1;for(var o=l;o--;){var p=k[o];if(!(j?p in b:h.call(b,p)))return!1}var q=i.get(a);if(q&&i.get(b))return q==b;var r=!0;i.set(a,b),i.set(b,a);for(var s=j;++o<l;){p=k[o];var t=a[p],u=b[p];if(d)var v=j?d(u,t,p,b,a,i):d(t,u,p,a,b,i);if(!(void 0===v?t===u||g(t,u,c,d,i):v)){r=!1;break}s||(s="constructor"==p)}if(r&&!s){var w=a.constructor,x=b.constructor;w!=x&&"constructor"in a&&"constructor"in b&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(r=!1)}return i.delete(a),i.delete(b),r}var e=a("./_getAllKeys"),f=1,g=Object.prototype,h=g.hasOwnProperty;b.exports=d},{"./_getAllKeys":219}],217:[function(a,b,c){function d(a){return g(f(a,void 0,e),a+"")}var e=a("./flatten"),f=a("./_overRest"),g=a("./_setToString");b.exports=d},{"./_overRest":267,"./_setToString":273,"./flatten":295}],218:[function(a,b,c){(function(a){var c="object"==typeof a&&a&&a.Object===Object&&a;b.exports=c}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],219:[function(a,b,c){function d(a){return e(a,g,f)}var e=a("./_baseGetAllKeys"),f=a("./_getSymbols"),g=a("./keys");b.exports=d},{"./_baseGetAllKeys":150,"./_getSymbols":226,"./keys":319}],220:[function(a,b,c){function d(a){return e(a,g,f)}var e=a("./_baseGetAllKeys"),f=a("./_getSymbolsIn"),g=a("./keysIn");b.exports=d},{"./_baseGetAllKeys":150,"./_getSymbolsIn":227,"./keysIn":320}],221:[function(a,b,c){function d(a,b){var c=a.__data__;return e(b)?c["string"==typeof b?"string":"hash"]:c.map}var e=a("./_isKeyable");b.exports=d},{"./_isKeyable":244}],222:[function(a,b,c){function d(a){for(var b=f(a),c=b.length;c--;){var d=b[c],g=a[d];b[c]=[d,g,e(g)]}return b}var e=a("./_isStrictComparable"),f=a("./keys");b.exports=d},{"./_isStrictComparable":247,"./keys":319}],223:[function(a,b,c){function d(a,b){var c=f(a,b);return e(c)?c:void 0}var e=a("./_baseIsNative"),f=a("./_getValue");b.exports=d},{"./_baseIsNative":162,"./_getValue":229}],224:[function(a,b,c){var d=a("./_overArg"),e=d(Object.getPrototypeOf,Object);b.exports=e},{"./_overArg":266}],225:[function(a,b,c){function d(a){var b=g.call(a,i),c=a[i];try{a[i]=void 0;var d=!0}catch(a){}var e=h.call(a);return d&&(b?a[i]=c:delete a[i]),e}var e=a("./_Symbol"),f=Object.prototype,g=f.hasOwnProperty,h=f.toString,i=e?e.toStringTag:void 0;b.exports=d},{"./_Symbol":120}],226:[function(a,b,c){var d=a("./_arrayFilter"),e=a("./stubArray"),f=Object.prototype,g=f.propertyIsEnumerable,h=Object.getOwnPropertySymbols,i=h?function(a){return null==a?[]:(a=Object(a),d(h(a),function(b){return g.call(a,b)}))}:e;b.exports=i},{"./_arrayFilter":125,"./stubArray":337}],227:[function(a,b,c){var d=a("./_arrayPush"),e=a("./_getPrototype"),f=a("./_getSymbols"),g=a("./stubArray"),h=Object.getOwnPropertySymbols,i=h?function(a){for(var b=[];a;)d(b,f(a)),a=e(a);return b}:g;b.exports=i},{"./_arrayPush":130,"./_getPrototype":224,"./_getSymbols":226,"./stubArray":337}],228:[function(a,b,c){var d=a("./_DataView"),e=a("./_Map"),f=a("./_Promise"),g=a("./_Set"),h=a("./_WeakMap"),i=a("./_baseGetTag"),j=a("./_toSource"),k="[object Map]",l="[object Object]",m="[object Promise]",n="[object Set]",o="[object WeakMap]",p="[object DataView]",q=j(d),r=j(e),s=j(f),t=j(g),u=j(h),v=i;(d&&v(new d(new ArrayBuffer(1)))!=p||e&&v(new e)!=k||f&&v(f.resolve())!=m||g&&v(new g)!=n||h&&v(new h)!=o)&&(v=function(a){var b=i(a),c=b==l?a.constructor:void 0,d=c?j(c):"";if(d)switch(d){case q:return p;case r:return k;case s:return m;case t:return n;case u:return o}return b}),b.exports=v},{"./_DataView":111,"./_Map":114,"./_Promise":116,"./_Set":117,"./_WeakMap":122,"./_baseGetTag":151,"./_toSource":284}],229:[function(a,b,c){function d(a,b){return null==a?void 0:a[b]}b.exports=d},{}],230:[function(a,b,c){function d(a,b,c){b=e(b,a);for(var d=-1,k=b.length,l=!1;++d<k;){var m=j(b[d]);if(!(l=null!=a&&c(a,m)))break;a=a[m]}return l||++d!=k?l:(k=null==a?0:a.length,!!k&&i(k)&&h(m,k)&&(g(a)||f(a)))}var e=a("./_castPath"),f=a("./isArguments"),g=a("./isArray"),h=a("./_isIndex"),i=a("./isLength"),j=a("./_toKey");b.exports=d},{"./_castPath":193,"./_isIndex":241,"./_toKey":283,"./isArguments":302,"./isArray":303,"./isLength":309}],231:[function(a,b,c){function d(a){return l.test(a)}var e="\\ud800-\\udfff",f="\\u0300-\\u036f",g="\\ufe20-\\ufe2f",h="\\u20d0-\\u20ff",i=f+g+h,j="\\ufe0e\\ufe0f",k="\\u200d",l=RegExp("["+k+e+i+j+"]");b.exports=d},{}],232:[function(a,b,c){function d(){this.__data__=e?e(null):{},this.size=0}var e=a("./_nativeCreate");b.exports=d},{"./_nativeCreate":261}],233:[function(a,b,c){function d(a){var b=this.has(a)&&delete this.__data__[a];return this.size-=b?1:0,b}b.exports=d},{}],234:[function(a,b,c){function d(a){var b=this.__data__;if(e){var c=b[a];return c===f?void 0:c}return h.call(b,a)?b[a]:void 0}var e=a("./_nativeCreate"),f="__lodash_hash_undefined__",g=Object.prototype,h=g.hasOwnProperty;b.exports=d},{"./_nativeCreate":261}],235:[function(a,b,c){function d(a){var b=this.__data__;return e?void 0!==b[a]:g.call(b,a)}var e=a("./_nativeCreate"),f=Object.prototype,g=f.hasOwnProperty;b.exports=d},{"./_nativeCreate":261}],236:[function(a,b,c){function d(a,b){var c=this.__data__;return this.size+=this.has(a)?0:1,c[a]=e&&void 0===b?f:b,this}var e=a("./_nativeCreate"),f="__lodash_hash_undefined__";b.exports=d},{"./_nativeCreate":261}],237:[function(a,b,c){function d(a){var b=a.length,c=new a.constructor(b);return b&&"string"==typeof a[0]&&f.call(a,"index")&&(c.index=a.index,c.input=a.input),c}var e=Object.prototype,f=e.hasOwnProperty;b.exports=d},{}],238:[function(a,b,c){function d(a,b,c){var d=a.constructor;switch(b){case r:return e(a);case j:case k:return new d(+a);case s:return f(a,c);case t:case u:case v:case w:case x:case y:case z:case A:case B:return i(a,c);case l:return new d;case m:case p:return new d(a);case n:return g(a);case o:return new d;case q:return h(a)}}var e=a("./_cloneArrayBuffer"),f=a("./_cloneDataView"),g=a("./_cloneRegExp"),h=a("./_cloneSymbol"),i=a("./_cloneTypedArray"),j="[object Boolean]",k="[object Date]",l="[object Map]",m="[object Number]",n="[object RegExp]",o="[object Set]",p="[object String]",q="[object Symbol]",r="[object ArrayBuffer]",s="[object DataView]",t="[object Float32Array]",u="[object Float64Array]",v="[object Int8Array]",w="[object Int16Array]",x="[object Int32Array]",y="[object Uint8Array]",z="[object Uint8ClampedArray]",A="[object Uint16Array]",B="[object Uint32Array]";
- b.exports=d},{"./_cloneArrayBuffer":194,"./_cloneDataView":196,"./_cloneRegExp":197,"./_cloneSymbol":198,"./_cloneTypedArray":199}],239:[function(a,b,c){function d(a){return"function"!=typeof a.constructor||g(a)?{}:e(f(a))}var e=a("./_baseCreate"),f=a("./_getPrototype"),g=a("./_isPrototype");b.exports=d},{"./_baseCreate":141,"./_getPrototype":224,"./_isPrototype":246}],240:[function(a,b,c){function d(a){return g(a)||f(a)||!!(h&&a&&a[h])}var e=a("./_Symbol"),f=a("./isArguments"),g=a("./isArray"),h=e?e.isConcatSpreadable:void 0;b.exports=d},{"./_Symbol":120,"./isArguments":302,"./isArray":303}],241:[function(a,b,c){function d(a,b){var c=typeof a;return b=null==b?e:b,!!b&&("number"==c||"symbol"!=c&&f.test(a))&&a>-1&&a%1==0&&a<b}var e=9007199254740991,f=/^(?:0|[1-9]\d*)$/;b.exports=d},{}],242:[function(a,b,c){function d(a,b,c){if(!h(c))return!1;var d=typeof b;return!!("number"==d?f(c)&&g(b,c.length):"string"==d&&b in c)&&e(c[b],a)}var e=a("./eq"),f=a("./isArrayLike"),g=a("./_isIndex"),h=a("./isObject");b.exports=d},{"./_isIndex":241,"./eq":291,"./isArrayLike":304,"./isObject":311}],243:[function(a,b,c){function d(a,b){if(e(a))return!1;var c=typeof a;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=a&&!f(a))||(h.test(a)||!g.test(a)||null!=b&&a in Object(b))}var e=a("./isArray"),f=a("./isSymbol"),g=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,h=/^\w*$/;b.exports=d},{"./isArray":303,"./isSymbol":316}],244:[function(a,b,c){function d(a){var b=typeof a;return"string"==b||"number"==b||"symbol"==b||"boolean"==b?"__proto__"!==a:null===a}b.exports=d},{}],245:[function(a,b,c){function d(a){return!!f&&f in a}var e=a("./_coreJsData"),f=function(){var a=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();b.exports=d},{"./_coreJsData":206}],246:[function(a,b,c){function d(a){var b=a&&a.constructor,c="function"==typeof b&&b.prototype||e;return a===c}var e=Object.prototype;b.exports=d},{}],247:[function(a,b,c){function d(a){return a===a&&!e(a)}var e=a("./isObject");b.exports=d},{"./isObject":311}],248:[function(a,b,c){function d(){this.__data__=[],this.size=0}b.exports=d},{}],249:[function(a,b,c){function d(a){var b=this.__data__,c=e(b,a);if(c<0)return!1;var d=b.length-1;return c==d?b.pop():g.call(b,c,1),--this.size,!0}var e=a("./_assocIndexOf"),f=Array.prototype,g=f.splice;b.exports=d},{"./_assocIndexOf":136}],250:[function(a,b,c){function d(a){var b=this.__data__,c=e(b,a);return c<0?void 0:b[c][1]}var e=a("./_assocIndexOf");b.exports=d},{"./_assocIndexOf":136}],251:[function(a,b,c){function d(a){return e(this.__data__,a)>-1}var e=a("./_assocIndexOf");b.exports=d},{"./_assocIndexOf":136}],252:[function(a,b,c){function d(a,b){var c=this.__data__,d=e(c,a);return d<0?(++this.size,c.push([a,b])):c[d][1]=b,this}var e=a("./_assocIndexOf");b.exports=d},{"./_assocIndexOf":136}],253:[function(a,b,c){function d(){this.size=0,this.__data__={hash:new e,map:new(g||f),string:new e}}var e=a("./_Hash"),f=a("./_ListCache"),g=a("./_Map");b.exports=d},{"./_Hash":112,"./_ListCache":113,"./_Map":114}],254:[function(a,b,c){function d(a){var b=e(this,a).delete(a);return this.size-=b?1:0,b}var e=a("./_getMapData");b.exports=d},{"./_getMapData":221}],255:[function(a,b,c){function d(a){return e(this,a).get(a)}var e=a("./_getMapData");b.exports=d},{"./_getMapData":221}],256:[function(a,b,c){function d(a){return e(this,a).has(a)}var e=a("./_getMapData");b.exports=d},{"./_getMapData":221}],257:[function(a,b,c){function d(a,b){var c=e(this,a),d=c.size;return c.set(a,b),this.size+=c.size==d?0:1,this}var e=a("./_getMapData");b.exports=d},{"./_getMapData":221}],258:[function(a,b,c){function d(a){var b=-1,c=Array(a.size);return a.forEach(function(a,d){c[++b]=[d,a]}),c}b.exports=d},{}],259:[function(a,b,c){function d(a,b){return function(c){return null!=c&&(c[a]===b&&(void 0!==b||a in Object(c)))}}b.exports=d},{}],260:[function(a,b,c){function d(a){var b=e(a,function(a){return c.size===f&&c.clear(),a}),c=b.cache;return b}var e=a("./memoize"),f=500;b.exports=d},{"./memoize":325}],261:[function(a,b,c){var d=a("./_getNative"),e=d(Object,"create");b.exports=e},{"./_getNative":223}],262:[function(a,b,c){var d=a("./_overArg"),e=d(Object.keys,Object);b.exports=e},{"./_overArg":266}],263:[function(a,b,c){function d(a){var b=[];if(null!=a)for(var c in Object(a))b.push(c);return b}b.exports=d},{}],264:[function(a,b,c){var d=a("./_freeGlobal"),e="object"==typeof c&&c&&!c.nodeType&&c,f=e&&"object"==typeof b&&b&&!b.nodeType&&b,g=f&&f.exports===e,h=g&&d.process,i=function(){try{var a=f&&f.require&&f.require("util").types;return a?a:h&&h.binding&&h.binding("util")}catch(a){}}();b.exports=i},{"./_freeGlobal":218}],265:[function(a,b,c){function d(a){return f.call(a)}var e=Object.prototype,f=e.toString;b.exports=d},{}],266:[function(a,b,c){function d(a,b){return function(c){return a(b(c))}}b.exports=d},{}],267:[function(a,b,c){function d(a,b,c){return b=f(void 0===b?a.length-1:b,0),function(){for(var d=arguments,g=-1,h=f(d.length-b,0),i=Array(h);++g<h;)i[g]=d[b+g];g=-1;for(var j=Array(b+1);++g<b;)j[g]=d[g];return j[b]=c(i),e(a,this,j)}}var e=a("./_apply"),f=Math.max;b.exports=d},{"./_apply":123}],268:[function(a,b,c){var d=a("./_freeGlobal"),e="object"==typeof self&&self&&self.Object===Object&&self,f=d||e||Function("return this")();b.exports=f},{"./_freeGlobal":218}],269:[function(a,b,c){function d(a,b){if(("constructor"!==b||"function"!=typeof a[b])&&"__proto__"!=b)return a[b]}b.exports=d},{}],270:[function(a,b,c){function d(a){return this.__data__.set(a,e),this}var e="__lodash_hash_undefined__";b.exports=d},{}],271:[function(a,b,c){function d(a){return this.__data__.has(a)}b.exports=d},{}],272:[function(a,b,c){function d(a){var b=-1,c=Array(a.size);return a.forEach(function(a){c[++b]=a}),c}b.exports=d},{}],273:[function(a,b,c){var d=a("./_baseSetToString"),e=a("./_shortOut"),f=e(d);b.exports=f},{"./_baseSetToString":183,"./_shortOut":274}],274:[function(a,b,c){function d(a){var b=0,c=0;return function(){var d=g(),h=f-(d-c);if(c=d,h>0){if(++b>=e)return arguments[0]}else b=0;return a.apply(void 0,arguments)}}var e=800,f=16,g=Date.now;b.exports=d},{}],275:[function(a,b,c){function d(){this.__data__=new e,this.size=0}var e=a("./_ListCache");b.exports=d},{"./_ListCache":113}],276:[function(a,b,c){function d(a){var b=this.__data__,c=b.delete(a);return this.size=b.size,c}b.exports=d},{}],277:[function(a,b,c){function d(a){return this.__data__.get(a)}b.exports=d},{}],278:[function(a,b,c){function d(a){return this.__data__.has(a)}b.exports=d},{}],279:[function(a,b,c){function d(a,b){var c=this.__data__;if(c instanceof e){var d=c.__data__;if(!f||d.length<h-1)return d.push([a,b]),this.size=++c.size,this;c=this.__data__=new g(d)}return c.set(a,b),this.size=c.size,this}var e=a("./_ListCache"),f=a("./_Map"),g=a("./_MapCache"),h=200;b.exports=d},{"./_ListCache":113,"./_Map":114,"./_MapCache":115}],280:[function(a,b,c){function d(a,b,c){for(var d=c-1,e=a.length;++d<e;)if(a[d]===b)return d;return-1}b.exports=d},{}],281:[function(a,b,c){function d(a){return f(a)?g(a):e(a)}var e=a("./_asciiSize"),f=a("./_hasUnicode"),g=a("./_unicodeSize");b.exports=d},{"./_asciiSize":133,"./_hasUnicode":231,"./_unicodeSize":285}],282:[function(a,b,c){var d=a("./_memoizeCapped"),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,g=d(function(a){var b=[];return 46===a.charCodeAt(0)&&b.push(""),a.replace(e,function(a,c,d,e){b.push(d?e.replace(f,"$1"):c||a)}),b});b.exports=g},{"./_memoizeCapped":260}],283:[function(a,b,c){function d(a){if("string"==typeof a||e(a))return a;var b=a+"";return"0"==b&&1/a==-f?"-0":b}var e=a("./isSymbol"),f=1/0;b.exports=d},{"./isSymbol":316}],284:[function(a,b,c){function d(a){if(null!=a){try{return f.call(a)}catch(a){}try{return a+""}catch(a){}}return""}var e=Function.prototype,f=e.toString;b.exports=d},{}],285:[function(a,b,c){function d(a){for(var b=x.lastIndex=0;x.test(a);)++b;return b}var e="\\ud800-\\udfff",f="\\u0300-\\u036f",g="\\ufe20-\\ufe2f",h="\\u20d0-\\u20ff",i=f+g+h,j="\\ufe0e\\ufe0f",k="["+e+"]",l="["+i+"]",m="\\ud83c[\\udffb-\\udfff]",n="(?:"+l+"|"+m+")",o="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",q="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",s=n+"?",t="["+j+"]?",u="(?:"+r+"(?:"+[o,p,q].join("|")+")"+t+s+")*",v=t+s+u,w="(?:"+[o+l+"?",l,p,q,k].join("|")+")",x=RegExp(m+"(?="+m+")|"+w+v,"g");b.exports=d},{}],286:[function(a,b,c){function d(a){return e(a,f)}var e=a("./_baseClone"),f=4;b.exports=d},{"./_baseClone":140}],287:[function(a,b,c){function d(a){return e(a,f|g)}var e=a("./_baseClone"),f=1,g=4;b.exports=d},{"./_baseClone":140}],288:[function(a,b,c){function d(a){return function(){return a}}b.exports=d},{}],289:[function(a,b,c){var d=a("./_baseRest"),e=a("./eq"),f=a("./_isIterateeCall"),g=a("./keysIn"),h=Object.prototype,i=h.hasOwnProperty,j=d(function(a,b){a=Object(a);var c=-1,d=b.length,j=d>2?b[2]:void 0;for(j&&f(b[0],b[1],j)&&(d=1);++c<d;)for(var k=b[c],l=g(k),m=-1,n=l.length;++m<n;){var o=l[m],p=a[o];(void 0===p||e(p,h[o])&&!i.call(a,o))&&(a[o]=k[o])}return a});b.exports=j},{"./_baseRest":181,"./_isIterateeCall":242,"./eq":291,"./keysIn":320}],290:[function(a,b,c){b.exports=a("./forEach")},{"./forEach":296}],291:[function(a,b,c){function d(a,b){return a===b||a!==a&&b!==b}b.exports=d},{}],292:[function(a,b,c){function d(a,b){var c=h(a)?e:f;return c(a,g(b,3))}var e=a("./_arrayFilter"),f=a("./_baseFilter"),g=a("./_baseIteratee"),h=a("./isArray");b.exports=d},{"./_arrayFilter":125,"./_baseFilter":144,"./_baseIteratee":165,"./isArray":303}],293:[function(a,b,c){var d=a("./_createFind"),e=a("./findIndex"),f=d(e);b.exports=f},{"./_createFind":210,"./findIndex":294}],294:[function(a,b,c){function d(a,b,c){var d=null==a?0:a.length;if(!d)return-1;var i=null==c?0:g(c);return i<0&&(i=h(d+i,0)),e(a,f(b,3),i)}var e=a("./_baseFindIndex"),f=a("./_baseIteratee"),g=a("./toInteger"),h=Math.max;b.exports=d},{"./_baseFindIndex":145,"./_baseIteratee":165,"./toInteger":340}],295:[function(a,b,c){function d(a){var b=null==a?0:a.length;return b?e(a,1):[]}var e=a("./_baseFlatten");b.exports=d},{"./_baseFlatten":146}],296:[function(a,b,c){function d(a,b){var c=h(a)?e:f;return c(a,g(b))}var e=a("./_arrayEach"),f=a("./_baseEach"),g=a("./_castFunction"),h=a("./isArray");b.exports=d},{"./_arrayEach":124,"./_baseEach":142,"./_castFunction":192,"./isArray":303}],297:[function(a,b,c){function d(a,b){return null==a?a:e(a,f(b),g)}var e=a("./_baseFor"),f=a("./_castFunction"),g=a("./keysIn");b.exports=d},{"./_baseFor":147,"./_castFunction":192,"./keysIn":320}],298:[function(a,b,c){function d(a,b,c){var d=null==a?void 0:e(a,b);return void 0===d?c:d}var e=a("./_baseGet");b.exports=d},{"./_baseGet":149}],299:[function(a,b,c){function d(a,b){return null!=a&&f(a,b,e)}var e=a("./_baseHas"),f=a("./_hasPath");b.exports=d},{"./_baseHas":153,"./_hasPath":230}],300:[function(a,b,c){function d(a,b){return null!=a&&f(a,b,e)}var e=a("./_baseHasIn"),f=a("./_hasPath");b.exports=d},{"./_baseHasIn":154,"./_hasPath":230}],301:[function(a,b,c){function d(a){return a}b.exports=d},{}],302:[function(a,b,c){var d=a("./_baseIsArguments"),e=a("./isObjectLike"),f=Object.prototype,g=f.hasOwnProperty,h=f.propertyIsEnumerable,i=d(function(){return arguments}())?d:function(a){return e(a)&&g.call(a,"callee")&&!h.call(a,"callee")};b.exports=i},{"./_baseIsArguments":156,"./isObjectLike":312}],303:[function(a,b,c){var d=Array.isArray;b.exports=d},{}],304:[function(a,b,c){function d(a){return null!=a&&f(a.length)&&!e(a)}var e=a("./isFunction"),f=a("./isLength");b.exports=d},{"./isFunction":308,"./isLength":309}],305:[function(a,b,c){function d(a){return f(a)&&e(a)}var e=a("./isArrayLike"),f=a("./isObjectLike");b.exports=d},{"./isArrayLike":304,"./isObjectLike":312}],306:[function(a,b,c){var d=a("./_root"),e=a("./stubFalse"),f="object"==typeof c&&c&&!c.nodeType&&c,g=f&&"object"==typeof b&&b&&!b.nodeType&&b,h=g&&g.exports===f,i=h?d.Buffer:void 0,j=i?i.isBuffer:void 0,k=j||e;b.exports=k},{"./_root":268,"./stubFalse":338}],307:[function(a,b,c){function d(a){if(null==a)return!0;if(i(a)&&(h(a)||"string"==typeof a||"function"==typeof a.splice||j(a)||l(a)||g(a)))return!a.length;var b=f(a);if(b==m||b==n)return!a.size;if(k(a))return!e(a).length;for(var c in a)if(p.call(a,c))return!1;return!0}var e=a("./_baseKeys"),f=a("./_getTag"),g=a("./isArguments"),h=a("./isArray"),i=a("./isArrayLike"),j=a("./isBuffer"),k=a("./_isPrototype"),l=a("./isTypedArray"),m="[object Map]",n="[object Set]",o=Object.prototype,p=o.hasOwnProperty;b.exports=d},{"./_baseKeys":166,"./_getTag":228,"./_isPrototype":246,"./isArguments":302,"./isArray":303,"./isArrayLike":304,"./isBuffer":306,"./isTypedArray":317}],308:[function(a,b,c){function d(a){if(!f(a))return!1;var b=e(a);return b==h||b==i||b==g||b==j}var e=a("./_baseGetTag"),f=a("./isObject"),g="[object AsyncFunction]",h="[object Function]",i="[object GeneratorFunction]",j="[object Proxy]";b.exports=d},{"./_baseGetTag":151,"./isObject":311}],309:[function(a,b,c){function d(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=e}var e=9007199254740991;b.exports=d},{}],310:[function(a,b,c){var d=a("./_baseIsMap"),e=a("./_baseUnary"),f=a("./_nodeUtil"),g=f&&f.isMap,h=g?e(g):d;b.exports=h},{"./_baseIsMap":159,"./_baseUnary":187,"./_nodeUtil":264}],311:[function(a,b,c){function d(a){var b=typeof a;return null!=a&&("object"==b||"function"==b)}b.exports=d},{}],312:[function(a,b,c){function d(a){return null!=a&&"object"==typeof a}b.exports=d},{}],313:[function(a,b,c){function d(a){if(!g(a)||e(a)!=h)return!1;var b=f(a);if(null===b)return!0;var c=l.call(b,"constructor")&&b.constructor;return"function"==typeof c&&c instanceof c&&k.call(c)==m}var e=a("./_baseGetTag"),f=a("./_getPrototype"),g=a("./isObjectLike"),h="[object Object]",i=Function.prototype,j=Object.prototype,k=i.toString,l=j.hasOwnProperty,m=k.call(Object);b.exports=d},{"./_baseGetTag":151,"./_getPrototype":224,"./isObjectLike":312}],314:[function(a,b,c){var d=a("./_baseIsSet"),e=a("./_baseUnary"),f=a("./_nodeUtil"),g=f&&f.isSet,h=g?e(g):d;b.exports=h},{"./_baseIsSet":163,"./_baseUnary":187,"./_nodeUtil":264}],315:[function(a,b,c){function d(a){return"string"==typeof a||!f(a)&&g(a)&&e(a)==h}var e=a("./_baseGetTag"),f=a("./isArray"),g=a("./isObjectLike"),h="[object String]";b.exports=d},{"./_baseGetTag":151,"./isArray":303,"./isObjectLike":312}],316:[function(a,b,c){function d(a){return"symbol"==typeof a||f(a)&&e(a)==g}var e=a("./_baseGetTag"),f=a("./isObjectLike"),g="[object Symbol]";b.exports=d},{"./_baseGetTag":151,"./isObjectLike":312}],317:[function(a,b,c){var d=a("./_baseIsTypedArray"),e=a("./_baseUnary"),f=a("./_nodeUtil"),g=f&&f.isTypedArray,h=g?e(g):d;b.exports=h},{"./_baseIsTypedArray":164,"./_baseUnary":187,"./_nodeUtil":264}],318:[function(a,b,c){function d(a){return void 0===a}b.exports=d},{}],319:[function(a,b,c){function d(a){return g(a)?e(a):f(a)}var e=a("./_arrayLikeKeys"),f=a("./_baseKeys"),g=a("./isArrayLike");b.exports=d},{"./_arrayLikeKeys":128,"./_baseKeys":166,"./isArrayLike":304}],320:[function(a,b,c){function d(a){return g(a)?e(a,!0):f(a)}var e=a("./_arrayLikeKeys"),f=a("./_baseKeysIn"),g=a("./isArrayLike");b.exports=d},{"./_arrayLikeKeys":128,"./_baseKeysIn":167,"./isArrayLike":304}],321:[function(a,b,c){function d(a){var b=null==a?0:a.length;return b?a[b-1]:void 0}b.exports=d},{}],322:[function(a,b,c){function d(a,b){var c=h(a)?e:g;return c(a,f(b,3))}var e=a("./_arrayMap"),f=a("./_baseIteratee"),g=a("./_baseMap"),h=a("./isArray");b.exports=d},{"./_arrayMap":129,"./_baseIteratee":165,"./_baseMap":169,"./isArray":303}],323:[function(a,b,c){function d(a,b){var c={};return b=g(b,3),f(a,function(a,d,f){e(c,d,b(a,d,f))}),c}var e=a("./_baseAssignValue"),f=a("./_baseForOwn"),g=a("./_baseIteratee");b.exports=d},{"./_baseAssignValue":139,"./_baseForOwn":148,"./_baseIteratee":165}],324:[function(a,b,c){function d(a){return a&&a.length?e(a,g,f):void 0}var e=a("./_baseExtremum"),f=a("./_baseGt"),g=a("./identity");b.exports=d},{"./_baseExtremum":143,"./_baseGt":152,"./identity":301}],325:[function(a,b,c){function d(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw new TypeError(f);var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);var g=a.apply(this,d);return c.cache=f.set(e,g)||f,g};return c.cache=new(d.Cache||e),c}var e=a("./_MapCache"),f="Expected a function";d.Cache=e,b.exports=d},{"./_MapCache":115}],326:[function(a,b,c){var d=a("./_baseMerge"),e=a("./_createAssigner"),f=e(function(a,b,c){d(a,b,c)});b.exports=f},{"./_baseMerge":172,"./_createAssigner":207}],327:[function(a,b,c){function d(a){return a&&a.length?e(a,g,f):void 0}var e=a("./_baseExtremum"),f=a("./_baseLt"),g=a("./identity");b.exports=d},{"./_baseExtremum":143,"./_baseLt":168,"./identity":301}],328:[function(a,b,c){function d(a,b){return a&&a.length?e(a,f(b,2),g):void 0}var e=a("./_baseExtremum"),f=a("./_baseIteratee"),g=a("./_baseLt");b.exports=d},{"./_baseExtremum":143,"./_baseIteratee":165,"./_baseLt":168}],329:[function(a,b,c){function d(){}b.exports=d},{}],330:[function(a,b,c){var d=a("./_root"),e=function(){return d.Date.now()};b.exports=e},{"./_root":268}],331:[function(a,b,c){var d=a("./_basePick"),e=a("./_flatRest"),f=e(function(a,b){return null==a?{}:d(a,b)});b.exports=f},{"./_basePick":175,"./_flatRest":217}],332:[function(a,b,c){function d(a){return g(a)?e(h(a)):f(a)}var e=a("./_baseProperty"),f=a("./_basePropertyDeep"),g=a("./_isKey"),h=a("./_toKey");b.exports=d},{"./_baseProperty":177,"./_basePropertyDeep":178,"./_isKey":243,"./_toKey":283}],333:[function(a,b,c){var d=a("./_createRange"),e=d();b.exports=e},{"./_createRange":211}],334:[function(a,b,c){function d(a,b,c){var d=i(a)?e:h,j=arguments.length<3;return d(a,g(b,4),c,j,f)}var e=a("./_arrayReduce"),f=a("./_baseEach"),g=a("./_baseIteratee"),h=a("./_baseReduce"),i=a("./isArray");b.exports=d},{"./_arrayReduce":131,"./_baseEach":142,"./_baseIteratee":165,"./_baseReduce":180,"./isArray":303}],335:[function(a,b,c){function d(a){if(null==a)return 0;if(g(a))return h(a)?i(a):a.length;var b=f(a);return b==j||b==k?a.size:e(a).length}var e=a("./_baseKeys"),f=a("./_getTag"),g=a("./isArrayLike"),h=a("./isString"),i=a("./_stringSize"),j="[object Map]",k="[object Set]";b.exports=d},{"./_baseKeys":166,"./_getTag":228,"./_stringSize":281,"./isArrayLike":304,"./isString":315}],336:[function(a,b,c){var d=a("./_baseFlatten"),e=a("./_baseOrderBy"),f=a("./_baseRest"),g=a("./_isIterateeCall"),h=f(function(a,b){if(null==a)return[];var c=b.length;return c>1&&g(a,b[0],b[1])?b=[]:c>2&&g(b[0],b[1],b[2])&&(b=[b[0]]),e(a,d(b,1),[])});b.exports=h},{"./_baseFlatten":146,"./_baseOrderBy":174,"./_baseRest":181,"./_isIterateeCall":242}],337:[function(a,b,c){function d(){return[]}b.exports=d},{}],338:[function(a,b,c){function d(){return!1}b.exports=d},{}],339:[function(a,b,c){function d(a){if(!a)return 0===a?a:0;if(a=e(a),a===f||a===-f){var b=a<0?-1:1;return b*g}return a===a?a:0}var e=a("./toNumber"),f=1/0,g=1.7976931348623157e308;b.exports=d},{"./toNumber":341}],340:[function(a,b,c){function d(a){var b=e(a),c=b%1;return b===b?c?b-c:b:0}var e=a("./toFinite");b.exports=d},{"./toFinite":339}],341:[function(a,b,c){function d(a){if("number"==typeof a)return a;if(f(a))return g;if(e(a)){var b="function"==typeof a.valueOf?a.valueOf():a;a=e(b)?b+"":b}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(h,"");var c=j.test(a);return c||k.test(a)?l(a.slice(2),c?2:8):i.test(a)?g:+a}var e=a("./isObject"),f=a("./isSymbol"),g=NaN,h=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,k=/^0o[0-7]+$/i,l=parseInt;b.exports=d},{"./isObject":311,"./isSymbol":316}],342:[function(a,b,c){function d(a){return e(a,f(a))}var e=a("./_copyObject"),f=a("./keysIn");b.exports=d},{"./_copyObject":203,"./keysIn":320}],343:[function(a,b,c){function d(a){return null==a?"":e(a)}var e=a("./_baseToString");b.exports=d},{"./_baseToString":186}],344:[function(a,b,c){function d(a,b,c){var d=j(a),o=d||k(a)||n(a);if(b=h(b,4),null==c){var p=a&&a.constructor;c=o?d?new p:[]:m(a)&&l(p)?f(i(a)):{}}return(o?e:g)(a,function(a,d,e){return b(c,a,d,e)}),c}var e=a("./_arrayEach"),f=a("./_baseCreate"),g=a("./_baseForOwn"),h=a("./_baseIteratee"),i=a("./_getPrototype"),j=a("./isArray"),k=a("./isBuffer"),l=a("./isFunction"),m=a("./isObject"),n=a("./isTypedArray");b.exports=d},{"./_arrayEach":124,"./_baseCreate":141,"./_baseForOwn":148,"./_baseIteratee":165,"./_getPrototype":224,"./isArray":303,"./isBuffer":306,"./isFunction":308,"./isObject":311,"./isTypedArray":317}],345:[function(a,b,c){var d=a("./_baseFlatten"),e=a("./_baseRest"),f=a("./_baseUniq"),g=a("./isArrayLikeObject"),h=e(function(a){return f(d(a,1,g,!0))});b.exports=h},{"./_baseFlatten":146,"./_baseRest":181,"./_baseUniq":188,"./isArrayLikeObject":305}],346:[function(a,b,c){function d(a){var b=++f;return e(a)+b}var e=a("./toString"),f=0;b.exports=d},{"./toString":343}],347:[function(a,b,c){function d(a){return null==a?[]:e(a,f(a))}var e=a("./_baseValues"),f=a("./keys");b.exports=d},{"./_baseValues":189,"./keys":319}],348:[function(a,b,c){function d(a,b){return f(a||[],b||[],e)}var e=a("./_assignValue"),f=a("./_baseZipObject");b.exports=d},{"./_assignValue":135,"./_baseZipObject":190}]},{},[1])(1)});
|