PageSourceSearch

https://www.monitormyocean.com/_dash-component-suites/dash_leaflet/async-minichart.js

js monitormyocean.com collected 2026-09-25 14:19:57 UTC 494,701 bytes, 2 lines download raw bytes

1(self.webpackChunkdash_leaflet=self.webpackChunkdash_leaflet||[]).push([[294],{5517:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return w}});var r=e(9196),i=e.n(r),o=e(6942),u=e(2821),a=e(1299);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function f(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function s(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,n){return l=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},l(t,n)}function h(t,n){if(n&&("object"===c(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}e(6932);var d=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&l(t,n)}(u,t);var n,e,r,i,o=(r=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=p(r);if(i){var e=p(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return h(this,t)});function u(){return f(this,u),o.apply(this,arguments)}return n=u,(e=[{key:"createLeafletElement",value:function(t){var n=this._parseCenter(t),e=this._parseOptions(t);return new L.minichart(n,e)}},{key:"updateLeafletElement",value:function(t,n){var e=this._parseOptions(t),r=this._parseOptions(n);e!==r&&this.leafletElement.setOptions(r)}},{key:"_parseCenter",value:function(t){return[t.lat,t.lon]}},{key:"_parseOptions",value:function(t){return{type:t.type,data:t.data,maxValues:t.maxValues,colors:t.colors,width:t.width,height:t.height,labels:t.labels,labelMinSize:t.labelMinSize,labelMaxSize:t.labelMaxSize,labelPadding:t.labelPadding,labelStyle:t.labelStyle,labelColor:t.labelColor,transitionTime:t.transitionTime}}}])&&s(n.prototype,e),u}(u.Z),v=(0,a.K5)(d);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function _(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function y(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,n){return m=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},m(t,n)}function x(t,n){if(n&&("object"===g(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}var w=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&m(t,n)}(a,t);var n,e,r,o,u=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=b(r);if(o){var e=b(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return x(this,t)});function a(){return _(this,a),u.apply(this,arguments)}return n=a,(e=[{key:"render",value:function(){return i().createElement(v,this.props)}}])&&y(n.prototype,e),a}(r.Component);w.propTypes=o.i},9298:function(t,n,e){"use strict";e.d(n,{c:function(){return s}});var r=[].slice,i={};function o(t){this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function u(t){if(!t._start)try{!function(t){for(;t._start=t._waiting&&t._active<t._size;){var n=t._ended+t._active,e=t._tasks[n],r=e.length-1,o=e[r];e[r]=a(t,n),--t._waiting,++t._active,e=o.apply(null,e),t._tasks[n]&&(t._tasks[n]=e||i)}}(t)}catch(n){if(t._tasks[t._ended+t._active-1])c(t,n);else if(!t._data)throw n}}function a(t,n){return function(e,r){t._tasks[n]&&(--t._active,++t._ended,t._tasks[n]=null,null==t._error&&(null!=e?c(t,e):(t._data[n]=r,t._waiting?u(t):f(t))))}}function c(t,n){var e,r=t._tasks.length;for(t._error=n,t._data=void 0,t._waiting=NaN;--r>=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new o(t)}o.prototype=s.prototype={constructor:o,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;
1var n=r.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),u(this),this},abort:function(){return null==this._error&&c(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},f(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,f(this),this}}},8917:function(t,n,e){"use strict";e.d(n,{gy:function(){return P},dy:function(){return y},AV:function(){return m},WY:function(){return g},fL:function(){return x},pv:function(){return O},Ls:function(){return b}});var r="$";function i(){}function o(t,n){var e=new i;if(t instanceof i)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,o=-1,u=t.length;if(null==n)for(;++o<u;)e.set(o,t[o]);else for(;++o<u;)e.set(n(r=t[o],o,t),r)}else if(t)for(var a in t)e.set(a,t[a]);return e}i.prototype=o.prototype={constructor:i,has:function(t){return r+t in this},get:function(t){return this[r+t]}
1,set:function(t,n){return this[r+t]=n,this},remove:function(t){var n=r+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===r&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===r&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===r&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===r&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===r&&++t;return t},empty:function(){for(var t in this)if(t[0]===r)return!1;return!0},each:function(t){for(var n in this)n[0]===r&&t(this[n],n.slice(1),this)}};var u=o;function a(){}var c=u.prototype;a.prototype=function(t,n){var e=new a;if(t instanceof a)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}.prototype={constructor:a,has:c.has,add:function(t){return this[r+(t+="")]=t,this},remove:c.remove,clear:c.clear,values:c.keys,size:c.size,empty:c.empty,each:c.each};var f={value:function(){}};function s(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new l(r)}function l(t){this._=t}function h(t,n){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function p(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function d(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=f,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}l.prototype=s.prototype={constructor:l,on:function(t,n){var e,r=this._,i=h(t+"",r),o=-1,u=i.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<u;)if(e=(t=i[o]).type)r[e]=d(r[e],t.name,n);else if(null==n)for(e in r)r[e]=d(r[e],t.name,null);return this}for(;++o<u;)if((e=(t=i[o]).type)&&(e=p(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new l(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var v=s;function g(t,n){var e,r,i,o,a=v("beforesend","progress","load","error"),c=u(),f=new XMLHttpRequest,s=null,l=null,h=0;function p(t){var n,r=f.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(f)||r>=200&&r<300||304===r){if(i)try{n=i.call(e,f)}catch(t){return void a.call("error",e,t)}else n=f;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"!=typeof XDomainRequest&&!("withCredentials"in f)&&/^(http(s)?:)?\/\//.test(t)&&(f=new XDomainRequest),"onload"in f?f.onload=f.onerror=f.ontimeout=p:f.onreadystatechange=function(t){f.readyState>3&&p(t)},f.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?c.get(t):(null==n?c.remove(t):c.set(t,n+""),e)},mimeType:function(t){return arguments.length?(r=null==t?null:t+"",e):r},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(h=+t,e):h},user:function(t){return arguments.length<1?s:(s=null==t?null:t+"",e)},password:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},response:function(t){return i=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,i,u){return f.open(n,t,!0,s,l),null==r||c.has("accept")||c.set("accept",r+",*/*"),f.setRequestHeader&&c.each((function(t,n){f.setRequestHeader(n,t)})),null!=r&&f.overrideMimeType&&f.overrideMimeType(r),null!=o&&(f.responseType=o),h>0&&(f.timeout=h),null==u&&"function"==typeof i&&(u=i,i=null),null!=u&&1===u.length&&(u=function(t){return function(n,e){t(null==n?e:null)}}(u)),null!=u&&e.on("error",u).on("load",(function(t){u(null,t)})),a.call("beforesend",e,f),f.send(null==i?null:i),e},abort:function(){return f.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}function _(t,n){return function(e,r){var i=g(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}}var y=_("text/html",(function(t){return document.createRange().createContextualFragment(t.responseText)})),m=_("application/json",(function(t){return JSON.parse(t.responseText)})),x=_("text/plain",(function(t){return t.responseText})),b=_("application/xml",(function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})),w={},M={};function S(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'})).join(",")+"}")}function A(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}function T(t,n){var e=t+"",r=e.length;return r<n?new Array(n-r+1).join(0)+e:e}function k(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function s(){if(c)return M;if(f)return f=!1,w;var n,r,i=u;if(34===t.charCodeAt(i)){for(;u++<o&&34!==t.charCodeAt(u)||34===t.charCodeAt(++u););return(n=u)>=o?c=!0:10===(r=t.charCodeAt(u++))?f=!0:13===r&&(f=!0,10===t.charCodeAt(u)&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u<o;){if(10===(r=t.charCodeAt(n=u++)))f=!0;else if(13===r)f=!0,10===t.charCodeAt(u)&&++u;else if(r!==e)continue;return t.slice(i,n)}return c=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(r=s())!==M;){for(var l=[];r!==w&&r!==M;)l.push(r),r=s();n&&null==(l=n(l,a++))||i.push(l)}return i}function i(n,e){return n.map((function(n){return e.map((function(t){return u(n[t])})).join(t)}))}function o(n){return n.map(u).join(t)}function u(t){return null==t?"":t instanceof Date?(i=(e=t).getUTCHours(),o=e.getUTCMinutes(),u=e.getUTCSeconds(),a=e.getUTCMilliseconds(),isNaN(e)?"Invalid Date":((r=e.getUTCFullYear())<0?"-"+T(-r,6):r>9999?"+"+T(r,6):T(r,4))+"-"+T(e.getUTCMonth()+1,2)+"-"+T(e.getUTCDate(),2)+(a?"T"+T(i,2)+":"+T(o,2)+":"+T(u,2)+"."+T(a,3)+"Z":u?"T"+T(i,2)+":"+T(o,2)+":"+T(u,2)+"Z":o||i?"T"+T(i,2)+":"+T(o,2)+"Z":"")):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t;var e,r,i,o,u,a}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=S(t);return function(r,i){return n(e(r),i,t)}}(t,n):S(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=A(n)),[e.map(u).join(t)].concat(i(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=A(t)),i(t,n).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:u}}var N=k(","),C=N.parse;function E(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=g(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(z(n,r=t)):r},o.row(r),i?o.get(i):o}}function z(t,n){return function(e){return t(e.responseText,n)}}N.parseRows,N.format,N.formatBody,N.formatRows,N.formatRow,N.formatValue;var P=E("text/csv",C),R=k("\t"),L=R.parse,O=(R.parseRows,R.format,R.formatBody,R.formatRows,R.formatRow,R.formatValue,E("text/tab-separated-values",L))},5115:function(t,n,e){"use strict";e.r(n),e.d(n,{active:function(){return Mo},arc:function(){return cy},area:function(){return dy},areaRadial:function(){return My},ascending:function(){return i},axisBottom:function(){return it},axisLeft:function(){return ot},axisRight:function(){return rt},axisTop:function(){return et},bisect:function(){return f},bisectLeft:function(){return c},bisectRight:function(){return a},bisector:function(){return o},brush:function(){return $o},brushSelection:function(){return Vo},brushX:function(){return Xo},brushY:function(){return Wo},chord:function(){return ru},clientPoint:function(){return Ln},cluster:function(){return Ph},color:function(){return pe},create:function(){return Cn},creator:function(){return yt},cross:function(){return h},csv:function(){return $p.gy},csvFormat:function(){return ju},csvFormatRows:function(){return Hu},csvParse:function(){return Iu},csvParseRows:function(){return Yu},cubehelix:function(){return Ge},curveBasis:function(){return rm},curveBasisClosed:function(){return om},curveBasisOpen:function(){return am},curveBundle:function(){return fm},curveCardinal:function(){return hm},curveCardinalClosed:function(){return dm},curveCardinalOpen:function(){return gm},curveCatmullRom:function(){return mm},curveCatmullRomClosed:function(){return bm},curveCatmullRomOpen:function(){return Mm},curveLinear:function(){return sy},curveLinearClosed:function(){return Am},curveMonotoneX:function(){return Rm},curveMonotoneY:function(){return Lm},curveNatural:function(){return Um},curveStep:function(){return Fm},curveStepAfter:function(){return Ym},curveStepBefore:function(){return Im},customEvent:function(){return xn},descending:function(){return p},deviation:function(){return g},dispatch:function(){return ht},drag:function(){return Zn},dragDisable:function(){return Yn},dragEnable:function(){return jn},dsvFormat:function(){return Du},easeBack:function(){return vo},easeBackIn:function(){return ho},easeBackInOut:function(){return vo},easeBackOut:function(){return po},easeBounce:function(){return fo},easeBounceIn:function(){return co},easeBounceInOut:function(){return so},easeBounceOut:function(){return fo}
1,easeCircle:function(){return uo},easeCircleIn:function(){return io},easeCircleInOut:function(){return uo},easeCircleOut:function(){return oo},easeCubic:function(){return Xi},easeCubicIn:function(){return Bi},easeCubicInOut:function(){return Xi},easeCubicOut:function(){return Vi},easeElastic:function(){return yo},easeElasticIn:function(){return _o},easeElasticInOut:function(){return mo},easeElasticOut:function(){return yo},easeExp:function(){return ro},easeExpIn:function(){return no},easeExpInOut:function(){return ro},easeExpOut:function(){return eo},easeLinear:function(){return Ii},easePoly:function(){return Zi},easePolyIn:function(){return Wi},easePolyInOut:function(){return Zi},easePolyOut:function(){return $i},easeQuad:function(){return Hi},easeQuadIn:function(){return Yi},easeQuadInOut:function(){return Hi},easeQuadOut:function(){return ji},easeSin:function(){return to},easeSinIn:function(){return Ji},easeSinInOut:function(){return to},easeSinOut:function(){return Ki},entries:function(){return Lu},event:function(){return dn},extent:function(){return _},forceCenter:function(){return Zu},forceCollide:function(){return ca},forceLink:function(){return la},forceManyBody:function(){return _a},forceRadial:function(){return ya},forceSimulation:function(){return ga},forceX:function(){return ma},forceY:function(){return xa},format:function(){return Ea},formatDefaultLocale:function(){return La},formatLocale:function(){return Ra},formatPrefix:function(){return za},formatSpecifier:function(){return Ta},geoAlbers:function(){return Kl},geoAlbersUsa:function(){return th},geoArea:function(){return Cc},geoAzimuthalEqualArea:function(){return ih},geoAzimuthalEqualAreaRaw:function(){return rh},geoAzimuthalEquidistant:function(){return uh},geoAzimuthalEquidistantRaw:function(){return oh},geoBounds:function(){return wf},geoCentroid:function(){return Lf},geoCircle:function(){return Vf},geoClipAntimeridian:function(){return es},geoClipCircle:function(){return rs},geoClipExtent:function(){return as},geoClipRectangle:function(){return us},geoConicConformal:function(){return hh},geoConicConformalRaw:function(){return lh},geoConicEqualArea:function(){return Jl},geoConicEqualAreaRaw:function(){return Ql},geoConicEquidistant:function(){return gh},geoConicEquidistantRaw:function(){return vh},geoContains:function(){return Ns},geoDistance:function(){return ms},geoEquirectangular:function(){return dh},geoEquirectangularRaw:function(){return ph},geoGnomonic:function(){return yh},geoGnomonicRaw:function(){return _h},geoGraticule:function(){return zs},geoGraticule10:function(){return Ps},geoIdentity:function(){return xh},geoInterpolate:function(){return Rs},geoLength:function(){return gs},geoMercator:function(){return ch},geoMercatorRaw:function(){return ah},geoNaturalEarth1:function(){return wh},geoNaturalEarth1Raw:function(){return bh},geoOrthographic:function(){return Sh},geoOrthographicRaw:function(){return Mh},geoPath:function(){return ql},geoProjection:function(){return $l},geoProjectionMutator:function(){return Zl},geoRotation:function(){return jf},geoStereographic:function(){return Th},geoStereographicRaw:function(){return Ah},geoStream:function(){return gc},geoTransform:function(){return Ul},geoTransverseMercator:function(){return Nh},geoTransverseMercatorRaw:function(){return kh},hcl:function(){return Fe},hierarchy:function(){return Lh},histogram:function(){return z},hsl:function(){return be},html:function(){return $p.dy},interpolate:function(){return gr},interpolateArray:function(){return fr},interpolateBasis:function(){return Ke},interpolateBasisClosed:function(){return tr},interpolateCool:function(){return P_},interpolateCubehelix:function(){return Fr},interpolateCubehelixDefault:function(){return E_},interpolateCubehelixLong:function(){return Ir},interpolateDate:function(){return sr},interpolateHcl:function(){return qr},interpolateHclLong:function(){return Ur},interpolateHsl:function(){return Pr},interpolateHslLong:function(){return Rr},interpolateInferno:function(){return D_},interpolateLab:function(){return Lr},interpolateMagma:function(){return U_},interpolateNumber:function(){return lr},interpolateObject:function(){return hr},interpolatePlasma:function(){return F_},interpolateRainbow:function(){return L_},interpolateRgb:function(){return or},interpolateRgbBasis:function(){return ar},interpolateRgbBasisClosed:function(){return cr},interpolateRound:function(){return _r},interpolateString:function(){return vr},interpolateTransformCss:function(){return Tr},interpolateTransformSvg:function(){return kr},interpolateViridis:function(){return q_},interpolateWarm:function(){return z_},interpolateZoom:function(){return Er},interrupt:function(){return di},interval:function(){return ai},isoFormat:function(){return g_},isoParse:function(){return y_},json:function(){return $p.AV},keys:function(){return Pu},lab:function(){return Pe},line:function(){return py},lineRadial:function(){return wy},linkHorizontal:function(){return Py},linkRadial:function(){return Ly},linkVertical:function(){return Ry},local:function(){return zn},map:function(){return wu},matcher:function(){return Tt},max:function(){return O},mean:function(){return q},median:function(){return U},merge:function(){return D},min:function(){return F},mouse:function(){return On},namespace:function(){return vt},namespaces:function(){return dt},nest:function(){return Mu},now:function(){return Jr},pack:function(){return op},packEnclose:function(){return Ih},packSiblings:function(){return Kh},pairs:function(){return s},partition:function(){return lp},path:function(){return hu},permute:function(){return I},pie:function(){return _y},pointRadial:function(){return Sy},polygonArea:function(){return Pp},polygonCentroid:function(){return Rp},polygonContains:function(){return Dp},polygonHull:function(){return Up}
1,polygonLength:function(){return Fp},precisionFixed:function(){return Oa},precisionPrefix:function(){return qa},precisionRound:function(){return Ua},quadtree:function(){return ea},quantile:function(){return P},quantize:function(){return Yr},queue:function(){return Ip.c},radialArea:function(){return My},radialLine:function(){return wy},randomBates:function(){return Xp},randomExponential:function(){return Wp},randomIrwinHall:function(){return Vp},randomLogNormal:function(){return Bp},randomNormal:function(){return Hp},randomUniform:function(){return jp},range:function(){return M},request:function(){return $p.WY},rgb:function(){return _e},ribbon:function(){return yu},scaleBand:function(){return td},scaleIdentity:function(){return pd},scaleImplicit:function(){return Jp},scaleLinear:function(){return hd},scaleLog:function(){return bd},scaleOrdinal:function(){return Kp},scalePoint:function(){return ed},scalePow:function(){return Md},scaleQuantile:function(){return Ad},scaleQuantize:function(){return Td},scaleSequential:function(){return I_},scaleSqrt:function(){return Sd},scaleThreshold:function(){return kd},scaleTime:function(){return M_},scaleUtc:function(){return S_},scan:function(){return Y},schemeCategory10:function(){return T_},schemeCategory20:function(){return C_},schemeCategory20b:function(){return k_},schemeCategory20c:function(){return N_},select:function(){return Nn},selectAll:function(){return qn},selection:function(){return kn},selector:function(){return xt},selectorAll:function(){return wt},set:function(){return zu},shuffle:function(){return j},stack:function(){return Vm},stackOffsetDiverging:function(){return Wm},stackOffsetExpand:function(){return Xm},stackOffsetNone:function(){return jm},stackOffsetSilhouette:function(){return $m},stackOffsetWiggle:function(){return Zm},stackOrderAscending:function(){return Gm},stackOrderDescending:function(){return Jm},stackOrderInsideOut:function(){return Km},stackOrderNone:function(){return Hm},stackOrderReverse:function(){return tx},stratify:function(){return gp},style:function(){return jt},sum:function(){return H},symbol:function(){return Ky},symbolCircle:function(){return Oy},symbolCross:function(){return qy},symbolDiamond:function(){return Fy},symbolSquare:function(){return By},symbolStar:function(){return Hy},symbolTriangle:function(){return Xy},symbolWye:function(){return Qy},symbols:function(){return Jy},text:function(){return $p.fL},thresholdFreedmanDiaconis:function(){return R},thresholdScott:function(){return L},thresholdSturges:function(){return E},tickIncrement:function(){return N},tickStep:function(){return C},ticks:function(){return k},timeDay:function(){return Zd},timeDays:function(){return Gd},timeFormat:function(){return Kv},timeFormatDefaultLocale:function(){return p_},timeFormatLocale:function(){return Qv},timeFriday:function(){return rv},timeFridays:function(){return sv},timeHour:function(){return Xd},timeHours:function(){return Wd},timeInterval:function(){return Ed},timeMillisecond:function(){return Pd},timeMilliseconds:function(){return Rd},timeMinute:function(){return Hd},timeMinutes:function(){return Bd},timeMonday:function(){return Kd},timeMondays:function(){return uv},timeMonth:function(){return pv},timeMonths:function(){return dv},timeParse:function(){return tg},timeSaturday:function(){return iv},timeSaturdays:function(){return lv},timeSecond:function(){return Id},timeSeconds:function(){return Yd},timeSunday:function(){return Jd},timeSundays:function(){return ov},timeThursday:function(){return ev},timeThursdays:function(){return fv},timeTuesday:function(){return tv},timeTuesdays:function(){return av},timeWednesday:function(){return nv},timeWednesdays:function(){return cv},timeWeek:function(){return Jd},timeWeeks:function(){return ov},timeYear:function(){return gv},timeYears:function(){return _v},timeout:function(){return ui},timer:function(){return ni},timerFlush:function(){return ei},touch:function(){return Un},touches:function(){return Dn},transition:function(){return Ui},transpose:function(){return B},tree:function(){return Mp},treemap:function(){return Np},treemapBinary:function(){return Cp},treemapDice:function(){return sp},treemapResquarify:function(){return zp},treemapSlice:function(){return Sp},treemapSliceDice:function(){return Ep},treemapSquarify:function(){return kp},tsv:function(){return $p.pv},tsvFormat:function(){return Wu},tsvFormatRows:function(){return $u},tsvParse:function(){return Vu},tsvParseRows:function(){return Xu},utcDay:function(){return Av},utcDays:function(){return Tv},utcFormat:function(){return ng},utcFriday:function(){return Rv},utcFridays:function(){return Iv},utcHour:function(){return wv},utcHours:function(){return Mv},utcMillisecond:function(){return Pd},utcMilliseconds:function(){return Rd},utcMinute:function(){return mv},utcMinutes:function(){return xv},utcMonday:function(){return Cv},utcMondays:function(){return qv},utcMonth:function(){return Hv},utcMonths:function(){return Bv},utcParse:function(){return eg},utcSaturday:function(){return Lv},utcSaturdays:function(){return Yv},utcSecond:function(){return Id},utcSeconds:function(){return Yd},utcSunday:function(){return Nv},utcSundays:function(){return Ov},utcThursday:function(){return Pv},utcThursdays:function(){return Fv},utcTuesday:function(){return Ev},utcTuesdays:function(){return Uv},utcWednesday:function(){return zv},utcWednesdays:function(){return Dv},utcWeek:function(){return Nv},utcWeeks:function(){return Ov},utcYear:function(){return Xv},utcYears:function(){return Wv},values:function(){return Ru},variance:function(){return v},version:function(){return r},voronoi:function(){return Ix},window:function(){return Dt},xml:function(){return $p.Ls},zip:function(){return X},zoom:function(){return tb},zoomIdentity:function(){return Bx},zoomTransform:function(){return Vx}});var r="4.13.0";function i(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function o(t){var n;return 1===t.length&&(n=t,t=function(t,e){return i(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}var u=o(i),a=u.right,c=u.left,f=a;function s(t,n){null==n&&(n=l);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);e<r;)o[e]=n(i,i=t[++e]);return o}function l(t,n){return[t,n]}function h(t,n,e){var r,i,o,u,a=t.length,c=n.length,f=new Array(a*c);for(null==e&&(e=l),r=o=0;r<a;++r)for(u=t[r],i=0;i<c;++i,++o)f[o]=e(u,n[i]);return f}function p(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function d(t){return null===t?NaN:+t}function v(t,n){var e,r,i=t.length,o=0,u=-1,a=0,c=0;if(null==n)for(;++u<i;)isNaN(e=d(t[u]))||(c+=(r=e-a)*(e-(a+=r/++o)));else for(;++u<i;)isNaN(e=d(n(t[u],u,t)))||(c+=(r=e-a)*(e-(a+=r/++o)));if(o>1)return c/(o-1)}function g(t,n){var e=v(t,n);return e?Math.sqrt(e):e}function _(t,n){var e,r,i,o=t.length,u=-1;if(null==n){for(;++u<o;)if(null!=(e=t[u])&&e>=e)for(r=i=e;++u<o;)null!=(e=t[u])&&(r>e&&(r=e),i<e&&(i=e))}else for(;++u<o;)if(null!=(e=n(t[u],u,t))&&e>=e)for(r=i=e;++u<o;)null!=(e=n(t[u],u,t))&&(r>e&&(r=e),i<e&&(i=e));return[r,i]}var y=Array.prototype,m=y.slice,x=y.map;function b(t){return function(){return t}}function w(t){return t}function M(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}var S=Math.sqrt(50),A=Math.sqrt(10),T=Math.sqrt(2);function k(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=N(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++a<i;)o[a]=(t+a)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),o=new Array(i=Math.ceil(t-n+1));++a<i;)o[a]=(t-a)/u;return r&&o.reverse(),o}function N(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=S?10:o>=A?5:o>=T?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=A?5:o>=T?2:1)}function C(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=A?i*=5:o>=T&&(i*=2),n<t?-i:i}function E(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function z(){var t=w,n=_,e=E;function r(r){var i,o,u=r.length,a=new Array(u);for(i=0;i<u;++i)a[i]=t(r[i],i,r);var c=n(a),s=c[0],l=c[1],h=e(a,s,l);Array.isArray(h)||(h=C(s,l,h),h=M(Math.ceil(s/h)*h,Math.floor(l/h)*h,h));for(var p=h.length;h[0]<=s;)h.shift(),--p;for(;h[p-1]>l;)h.pop(),--p;var d,v=new Array(p+1);for(i=0;i<=p;++i)(d=v[i]=[]).x0=i>0?h[i-1]:s,d.x1=i<p?h[i]:l;for(i=0;i<u;++i)s<=(o=a[i])&&o<=l&&v[f(h,o,0,p)].push(r[i]);return v}return r.value=function(n){return arguments.length?(t="function"==typeof n?n:b(n),r):t},r.domain=function(t){return arguments.length?(n="function"==typeof t?t:b([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?b(m.call(t)):b(t),r):e},r}function P(t,n,e){if(null==e&&(e=d),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}function R(t,n,e){return t=x.call(t,d).sort(i),Math.ceil((e-n)/(2*(P(t,.75)-P(t,.25))*Math.pow(t.length,-1/3)))}function L(t,n,e){return Math.ceil((e-n)/(3.5*g(t)*Math.pow(t.length,-1/3)))}function O(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r}function q(t,n){var e,r=t.length,i=r,o=-1,u=0;if(null==n)for(;++o<r;)isNaN(e=d(t[o]))?--i:u+=e;else for(;++o<r;)isNaN(e=d(n(t[o],o,t)))?--i:u+=e;if(i)return u/i}function U(t,n){var e,r=t.length,o=-1,u=[];
1if(null==n)for(;++o<r;)isNaN(e=d(t[o]))||u.push(e);else for(;++o<r;)isNaN(e=d(n(t[o],o,t)))||u.push(e);return P(u.sort(i),.5)}function D(t){for(var n,e,r,i=t.length,o=-1,u=0;++o<i;)u+=t[o].length;for(e=new Array(u);--i>=0;)for(n=(r=t[i]).length;--n>=0;)e[--u]=r[n];return e}function F(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r}function I(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}function Y(t,n){if(e=t.length){var e,r,o=0,u=0,a=t[u];for(null==n&&(n=i);++o<e;)(n(r=t[o],a)<0||0!==n(a,a))&&(a=r,u=o);return 0===n(a,a)?u:void 0}}function j(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t}function H(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o}function B(t){if(!(i=t.length))return[];for(var n=-1,e=F(t,V),r=new Array(e);++n<e;)for(var i,o=-1,u=r[n]=new Array(i);++o<i;)u[o]=t[o][n];return r}function V(t){return t.length}function X(){return B(arguments)}var W=Array.prototype.slice;function $(t){return t}var Z=1e-6;function G(t){return"translate("+(t+.5)+",0)"}function Q(t){return"translate(0,"+(t+.5)+")"}function J(t){return function(n){return+t(n)}}function K(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function tt(){return!this.__axis}function nt(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,c=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",s=1===t||3===t?G:Q;function l(l){var h=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):$:i,d=Math.max(o,0)+a,v=n.range(),g=+v[0]+.5,_=+v[v.length-1]+.5,y=(n.bandwidth?K:J)(n.copy()),m=l.selection?l.selection():l,x=m.selectAll(".domain").data([null]),b=m.selectAll(".tick").data(h,n).order(),w=b.exit(),M=b.enter().append("g").attr("class","tick"),S=b.select("line"),A=b.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),b=b.merge(M),S=S.merge(M.append("line").attr("stroke","#000").attr(f+"2",c*o)),A=A.merge(M.append("text").attr("fill","#000").attr(f,c*d).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),l!==m&&(x=x.transition(l),b=b.transition(l),S=S.transition(l),A=A.transition(l),w=w.transition(l).attr("opacity",Z).attr("transform",(function(t){return isFinite(t=y(t))?s(t):this.getAttribute("transform")})),M.attr("opacity",Z).attr("transform",(function(t){var n=this.parentNode.__axis;return s(n&&isFinite(n=n(t))?n:y(t))}))),w.remove(),x.attr("d",4===t||2==t?"M"+c*u+","+g+"H0.5V"+_+"H"+c*u:"M"+g+","+c*u+"V0.5H"+_+"V"+c*u),b.attr("opacity",1).attr("transform",(function(t){return s(y(t))})),S.attr(f+"2",c*o),A.attr(f,c*d).text(p),m.filter(tt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),m.each((function(){this.__axis=y}))}return l.scale=function(t){return arguments.length?(n=t,l):n},l.ticks=function(){return e=W.call(arguments),l},l.tickArguments=function(t){return arguments.length?(e=null==t?[]:W.call(t),l):e.slice()},l.tickValues=function(t){return arguments.length?(r=null==t?null:W.call(t),l):r&&r.slice()},l.tickFormat=function(t){return arguments.length?(i=t,l):i},l.tickSize=function(t){return arguments.length?(o=u=+t,l):o},l.tickSizeInner=function(t){return arguments.length?(o=+t,l):o},l.tickSizeOuter=function(t){return arguments.length?(u=+t,l):u},l.tickPadding=function(t){return arguments.length?(a=+t,l):a},l}function et(t){return nt(1,t)}function rt(t){return nt(2,t)}function it(t){return nt(3,t)}function ot(t){return nt(4,t)}var ut={value:function(){}};function at(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ct(r)}function ct(t){this._=t}function ft(t,n){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function st(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function lt(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=ut,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}ct.prototype=at.prototype={constructor:ct,on:function(t,n){var e,r=this._,i=ft(t+"",r),o=-1,u=i.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<u;
vendor: 7,229 bytes, line 1
1)if(e=(t=i[o]).type)r[e]=lt(r[e],t.name,n);else if(null==n)for(e in r)r[e]=lt(r[e],t.name,null);return this}for(;++o<u;)if((e=(t=i[o]).type)&&(e=st(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new ct(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var ht=at,pt="http://www.w3.org/1999/xhtml",dt={svg:"http://www.w3.org/2000/svg",xhtml:pt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function vt(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),dt.hasOwnProperty(n)?{space:dt[n],local:t}:t}function gt(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===pt&&n.documentElement.namespaceURI===pt?n.createElement(t):n.createElementNS(e,t)}}function _t(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function yt(t){var n=vt(t);return(n.local?_t:gt)(n)}function mt(){}function xt(t){return null==t?mt:function(){return this.querySelector(t)}}function bt(){return[]}function wt(t){return null==t?bt:function(){return this.querySelectorAll(t)}}var Mt=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var St=document.documentElement;if(!St.matches){var At=St.webkitMatchesSelector||St.msMatchesSelector||St.mozMatchesSelector||St.oMatchesSelector;Mt=function(t){return function(){return At.call(this,t)}}}}var Tt=Mt;function kt(t){return new Array(t.length)}function Nt(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function Ct(t,n,e,r,i,o){for(var u,a=0,c=n.length,f=o.length;a<f;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new Nt(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function Et(t,n,e,r,i,o,u){var a,c,f,s={},l=n.length,h=o.length,p=new Array(l);for(a=0;a<l;++a)(c=n[a])&&(p[a]=f="$"+u.call(c,c.__data__,a,n),f in s?i[a]=c:s[f]=c);for(a=0;a<h;++a)(c=s[f="$"+u.call(t,o[a],a,o)])?(r[a]=c,c.__data__=o[a],s[f]=null):e[a]=new Nt(t,o[a]);for(a=0;a<l;++a)(c=n[a])&&s[p[a]]===c&&(i[a]=c)}function zt(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function Pt(t){return function(){this.removeAttribute(t)}}function Rt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Lt(t,n){return function(){this.setAttribute(t,n)}}function Ot(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function qt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Ut(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Dt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Ft(t){return function(){this.style.removeProperty(t)}}function It(t,n,e){return function(){this.style.setProperty(t,n,e)}}function Yt(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function jt(t,n){return t.style.getPropertyValue(n)||Dt(t).getComputedStyle(t,null).getPropertyValue(n)}function Ht(t){return function(){delete this[t]}}function Bt(t,n){return function(){this[t]=n}}function Vt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Xt(t){return t.trim().split(/^|\s+/)}function Wt(t){return t.classList||new $t(t)}function $t(t){this._node=t,this._names=Xt(t.getAttribute("class")||"")}function Zt(t,n){for(var e=Wt(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function Gt(t,n){for(var e=Wt(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function Qt(t){return function(){Zt(this,t)}}function Jt(t){return function(){Gt(this,t)}}function Kt(t,n){return function(){(n.apply(this,arguments)?Zt:Gt)(this,t)}}function tn(){this.textContent=""}function nn(t){return function(){this.textContent=t}}function en(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function rn(){this.innerHTML=""}function on(t){return function(){this.innerHTML=t}}function un(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function an(){this.nextSibling&&this.parentNode.appendChild(this)}function cn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function fn(){return null}function sn(){var t=this.parentNode;t&&t.removeChild(this)}function ln(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function hn(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Nt.prototype={constructor:Nt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},$t.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var pn={},dn=null;function vn(t,n,e){return t=gn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function gn(t,n,e){return function(r){var i=dn;dn=r;try{t.call(this,this.__data__,n,e)}finally{dn=i}}}function _n(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function yn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function mn(t,n,e){var r=pn.hasOwnProperty(t.type)?vn:gn;return function(i,o,u){var a,c=this.__on,f=r(n,o,u);if(c)for(var s=0,l=c.length;s<l;++s)if((a=c[s]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=f,a.capture=e),void(a.value=n);this.addEventListener(t.type,f,e),a={type:t.type,name:t.name,value:n,listener:f,capture:e},c?c.push(a):this.__on=[a]}}function xn(t,n,e,r){var i=dn;t.sourceEvent=dn,dn=t;try{return n.apply(e,r)}finally{dn=i}}function bn(t,n,e){var r=Dt(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function wn(t,n){return function(){return bn(this,t,n)}}function Mn(t,n){return function(){return bn(this,t,n.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(pn={mouseenter:"mouseover",mouseleave:"mou
1seout"}));var Sn=[null];function An(t,n){this._groups=t,this._parents=n}function Tn(){return new An([[document.documentElement]],Sn)}An.prototype=Tn.prototype={constructor:An,select:function(t){"function"!=typeof t&&(t=xt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,f=r[i]=new Array(c),s=0;s<c;++s)(o=a[s])&&(u=t.call(o,o.__data__,s,a))&&("__data__"in o&&(u.__data__=o.__data__),f[s]=u);return new An(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=wt(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,f=0;f<c;++f)(u=a[f])&&(r.push(t.call(u,u.__data__,f,a)),i.push(u));return new An(r,i)},filter:function(t){"function"!=typeof t&&(t=Tt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new An(r,this._parents)},data:function(t,n){if(!t)return d=new Array(this.size()),s=-1,this.each((function(t){d[++s]=t})),d;var e,r=n?Et:Ct,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var u=o.length,a=new Array(u),c=new Array(u),f=new Array(u),s=0;s<u;++s){var l=i[s],h=o[s],p=h.length,d=t.call(l,l&&l.__data__,s,i),v=d.length,g=c[s]=new Array(v),_=a[s]=new Array(v);r(l,h,g,_,f[s]=new Array(p),d,n);for(var y,m,x=0,b=0;x<v;++x)if(y=g[x]){for(x>=b&&(b=x+1);!(m=_[b])&&++b<v;);y._next=m||null}}return(a=new An(a,i))._enter=c,a._exit=f,a},enter:function(){return new An(this._enter||this._groups.map(kt),this._parents)},exit:function(){return new An(this._exit||this._groups.map(kt),this._parents)},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),p=0;p<l;++p)(c=f[p]||s[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new An(u,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=zt);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,f=i[o]=new Array(c),s=0;s<c;++s)(u=a[s])&&(f[s]=u);f.sort(n)}return new An(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each((function(){t[++n]=this})),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=vt(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?Rt:Pt:"function"==typeof n?e.local?Ut:qt:e.local?Ot:Lt)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?Ft:"function"==typeof n?Yt:It)(t,n,null==e?"":e)):jt(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Ht:"function"==typeof n?Vt:Bt)(t,n)):this.node()[t]},classed:function(t,n){var e=Xt(t+"");if(arguments.length<2){for(var r=Wt(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?Kt:n?Qt:Jt)(e,n))},text:function(t){return arguments.length?this.each(null==t?tn:("function"==typeof t?en:nn)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?rn:("function"==typeof t?un:on)(t)):this.node().innerHTML},raise:function(){return this.each(an)},lower:function(){return this.each(cn)},append:function(t){var n="function"==typeof t?t:yt(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:yt(t),r=null==n?fn:"function"==typeof n?n:xt(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(sn)},clone:function(t){return this.select(t?hn:ln)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=_n(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?mn:yn,null==e&&(e=!1),r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,f=0,s=a.length;f<s;++f)for(r=0,c=a[f];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"==typeof n?Mn:wn)(t,
1n))}};var kn=Tn;function Nn(t){return"string"==typeof t?new An([[document.querySelector(t)]],[document.documentElement]):new An([[t]],Sn)}function Cn(t){return Nn(yt(t).call(document.documentElement))}var En=0;function zn(){return new Pn}function Pn(){this._="@"+(++En).toString(36)}function Rn(){for(var t,n=dn;t=n.sourceEvent;)n=t;return n}function Ln(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}function On(t){var n=Rn();return n.changedTouches&&(n=n.changedTouches[0]),Ln(t,n)}function qn(t){return"string"==typeof t?new An([document.querySelectorAll(t)],[document.documentElement]):new An([null==t?[]:t],Sn)}function Un(t,n,e){arguments.length<3&&(e=n,n=Rn().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return Ln(t,r);return null}function Dn(t,n){null==n&&(n=Rn().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=Ln(t,n[e]);return i}function Fn(){dn.stopImmediatePropagation()}function In(){dn.preventDefault(),dn.stopImmediatePropagation()}function Yn(t){var n=t.document.documentElement,e=Nn(t).on("dragstart.drag",In,!0);"onselectstart"in n?e.on("selectstart.drag",In,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function jn(t,n){var e=t.document.documentElement,r=Nn(t).on("dragstart.drag",null);n&&(r.on("click.drag",In,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}function Hn(t){return function(){return t}}function Bn(t,n,e,r,i,o,u,a,c,f){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=u,this.dx=a,this.dy=c,this._=f}function Vn(){return!dn.button}function Xn(){return this.parentNode}function Wn(t){return null==t?{x:dn.x,y:dn.y}:t}function $n(){return"ontouchstart"in this}function Zn(){var t,n,e,r,i=Vn,o=Xn,u=Wn,a=$n,c={},f=ht("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",p).filter(a).on("touchstart.drag",g).on("touchmove.drag",_).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(){if(!r&&i.apply(this,arguments)){var u=m("mouse",o.apply(this,arguments),On,this,arguments);u&&(Nn(dn.view).on("mousemove.drag",d,!0).on("mouseup.drag",v,!0),Yn(dn.view),Fn(),e=!1,t=dn.clientX,n=dn.clientY,u("start"))}}function d(){if(In(),!e){var r=dn.clientX-t,i=dn.clientY-n;e=r*r+i*i>l}c.mouse("drag")}function v(){Nn(dn.view).on("mousemove.drag mouseup.drag",null),jn(dn.view,e),In(),c.mouse("end")}function g(){if(i.apply(this,arguments)){var t,n,e=dn.changedTouches,r=o.apply(this,arguments),u=e.length;for(t=0;t<u;++t)(n=m(e[t].identifier,r,Un,this,arguments))&&(Fn(),n("start"))}}function _(){var t,n,e=dn.changedTouches,r=e.length;for(t=0;t<r;++t)(n=c[e[t].identifier])&&(In(),n("drag"))}function y(){var t,n,e=dn.changedTouches,i=e.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),t=0;t<i;++t)(n=c[e[t].identifier])&&(Fn(),n("end"))}function m(t,n,e,r,i){var o,a,l,p=e(n,t),d=f.copy();if(xn(new Bn(h,"beforestart",o,t,s,p[0],p[1],0,0,d),(function(){return null!=(dn.subject=o=u.apply(r,i))&&(a=o.x-p[0]||0,l=o.y-p[1]||0,!0)})))return function u(f){var v,g=p;switch(f){case"start":c[t]=u,v=s++;break;case"end":delete c[t],--s;case"drag":p=e(n,t),v=s}xn(new Bn(h,f,o,t,v,p[0]+a,p[1]+l,p[0]-g[0],p[1]-g[1],d),d.apply,d,[f,r,i])}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:Hn(!!t),h):i},h.container=function(t){return arguments.length?(o="function"==typeof t?t:Hn(t),h):o},h.subject=function(t){return arguments.length?(u="function"==typeof t?t:Hn(t),h):u},h.touchable=function(t){return arguments.length?(a="function"==typeof t?t:Hn(!!t),h):a},h.on=function(){var t=f.on.apply(f,arguments);return t===f?h:t},h.clickDistance=function(t){return arguments.length?(l=(t=+t)*t,h):Math.sqrt(l)},h}function Gn(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Qn(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Jn(){}Pn.prototype=zn.prototype={constructor:Pn,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}},Bn.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Kn=.7,te=1/Kn,ne="\\s*([+-]?\\d+)\\s*",ee="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",re="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ie=/^#([0-9a-f]{3})$/,oe=/^#([0-9a-f]{6})$/,ue=new RegExp("^rgb\\("+[ne,ne,ne]+"\\)$"),ae=new RegExp("^rgb\\("+[re,re,re]+"\\)$"),ce=new RegExp("^rgba\\("+[ne,ne,ne,ee]+"\\)$"),fe=new RegExp("^rgba\\("+[re,re,re,ee]+"\\)$"),se=new RegExp("^hsl\\("+[ee,re,re]+"\\)$"),le=new RegExp("^hsla\\("+[ee,re,re,ee]+"\\)$"),he={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};function pe(t){var n;return t=(t+"").trim().toLowerCase(),(n=ie.exec(t))?new ye((n=parseInt(n[1],16))>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=oe.exec(t))?de(parseInt(n[1],16)):(n=ue.exec(t))?new ye(n[1],n[2],n[3],1):(n=ae.exec(t))?new ye(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=ce.exec(t))?ve(n[1],n[2],n[3],n[4]):(n=fe.exec(t))?ve(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=se.exec(t))?me(n[1],n[2]/100,n[3]/100,1):(n=le.exec(t))?me(n[1],n[2]/100,n[3]/100,n[4]):he.hasOwnProperty(t)?de(he[t]):"transparent"===t?new ye(NaN,NaN,NaN,0):null}function de(t){return new ye(t>>16&255,t>>8&255,255&t,1)}function ve(t,n,e,r){return r<=0&&(t=n=e=NaN),new ye(t,n,e,r)}function ge(t){return t instanceof Jn||(t=pe(t)),t?new ye((t=t.rgb()).r,t.g,t.b,t.opacity):new ye}function _e(t,n,e,r){return 1===arguments.length?ge(t):new ye(t,n,e,null==r?1:r)}function ye(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function me(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new we(t,n,e,r)}function xe(t){if(t instanceof we)return new we(t.h,t.s,t.l,t.opacity);if(t instanceof Jn||(t=pe(t)),!t)return new we;if(t instanceof we)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e<r):e===o?(r-n)/a+2:(n-e)/a+4,a/=c<.5?o+i:2-o-i,u*=60):a=c>0&&c<1?0:u,new we(u,a,c,t.opacity)}function be(t,n,e,r){return 1===arguments.length?xe(t):new we(t,n,e,null==r?1:r)}function we(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Me(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Gn(Jn,pe,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Gn(ye,_e,Qn(Jn,{brighter:function(t){return t=null==t?te:Math.pow(te,t),new ye(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Kn:Math.pow(Kn,t),new ye(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Gn(we,be,Qn(Jn,{brighter:function(t){return t=null==t?te:Math.pow(te,t),new we(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Kn:Math.pow(Kn,t),new we(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new ye(Me(t>=240?t-240:t+120,i,r),Me(t,i,r),Me(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Se=Math.PI/180,Ae=180/Math.PI,Te=.95047,ke=1.08883,Ne=4/29,Ce=6/29,Ee=3*Ce*Ce;function ze(t){if(t instanceof Re)return new Re(t.l,t.a,t.b,t.opacity);if(t instanceof Ie){var n=t.h*Se;return new Re(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof ye||(t=ge(t));var e=Ue(t.r),r=Ue(t.g),i=Ue(t.b),o=Le((.4124564*e+.3575761*r+.1804375*i)/Te),u=Le((.2126729*e+.7151522*r+.072175*i)/1);return new Re(116*u-16,500*(o-u),200*(u-Le((.0193339*e+.119192*r+.9503041*i)/ke)),t.opacity)}function Pe(t,n,e,r){return 1===arguments.length?ze(t):new Re(t,n,e,null==r?1:r)}function Re(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function Le(t){return t>.008856451679035631?Math.pow(t,1/3):t/Ee+Ne}function Oe(t){return t>Ce?t*t*t:Ee*(t-Ne)}
vendor: 4,117 bytes, line 1
1function qe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ue(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function De(t){if(t instanceof Ie)return new Ie(t.h,t.c,t.l,t.opacity);t instanceof Re||(t=ze(t));var n=Math.atan2(t.b,t.a)*Ae;return new Ie(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Fe(t,n,e,r){return 1===arguments.length?De(t):new Ie(t,n,e,null==r?1:r)}function Ie(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Gn(Re,Pe,Qn(Jn,{brighter:function(t){return new Re(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Re(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=1*Oe(t),new ye(qe(3.2404542*(n=Te*Oe(n))-1.5371385*t-.4985314*(e=ke*Oe(e))),qe(-.969266*n+1.8760108*t+.041556*e),qe(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Gn(Ie,Fe,Qn(Jn,{brighter:function(t){return new Ie(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new Ie(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return ze(this).rgb()}}));var Ye=-.14861,je=1.78277,He=-.29227,Be=-.90649,Ve=1.97294,Xe=Ve*Be,We=Ve*je,$e=je*He-Be*Ye;function Ze(t){if(t instanceof Qe)return new Qe(t.h,t.s,t.l,t.opacity);t instanceof ye||(t=ge(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=($e*r+Xe*n-We*e)/($e+Xe-We),o=r-i,u=(Ve*(e-i)-He*o)/Be,a=Math.sqrt(u*u+o*o)/(Ve*i*(1-i)),c=a?Math.atan2(u,o)*Ae-120:NaN;return new Qe(c<0?c+360:c,a,i,t.opacity)}function Ge(t,n,e,r){return 1===arguments.length?Ze(t):new Qe(t,n,e,null==r?1:r)}function Qe(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Je(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function Ke(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r<n-1?t[r+2]:2*o-i;return Je((e-r/n)*n,u,i,o,a)}}function tr(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],u=t[(r+1)%n],a=t[(r+2)%n];return Je((e-r/n)*n,i,o,u,a)}}function nr(t){return function(){return t}}function er(t,n){return function(e){return t+e*n}}function rr(t,n){var e=n-t;return e?er(t,e>180||e<-180?e-360*Math.round(e/360):e):nr(isNaN(t)?n:t)}function ir(t,n){var e=n-t;return e?er(t,e):nr(isNaN(t)?n:t)}Gn(Qe,Ge,Qn(Jn,{brighter:function(t){return t=null==t?te:Math.pow(te,t),new Qe(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Kn:Math.pow(Kn,t),new Qe(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Se,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new ye(255*(n+e*(Ye*r+je*i)),255*(n+e*(He*r+Be*i)),255*(n+e*(Ve*r)),this.opacity)}}));var or=function t(n){var e=function(t){return 1==(t=+t)?ir:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):nr(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=_e(t)).r,(n=_e(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=ir(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function ur(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e<i;++e)r=_e(n[e]),o[e]=r.r||0,u[e]=r.g||0,a[e]=r.b||0;return o=t(o),u=t(u),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=a(t),r+""}}}var ar=ur(Ke),cr=ur(tr);function fr(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),u=new Array(r);for(e=0;e<i;++e)o[e]=gr(t[e],n[e]);for(;e<r;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=o[e](t);return u}}function sr(t,n){var e=new Date;return n-=t=+t,function(r){return e.setTime(t+n*r),e}}function lr(t,n){return n-=t=+t,function(e){return t+n*e}}function hr(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=gr(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}
1var pr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,dr=new RegExp(pr.source,"g");function vr(t,n){var e,r,i,o=pr.lastIndex=dr.lastIndex=0,u=-1,a=[],c=[];for(t+="",n+="";(e=pr.exec(t))&&(r=dr.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:lr(e,r)})),o=dr.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)a[(e=c[r]).i]=e.x(t);return a.join("")})}function gr(t,n){var e,r=typeof n;return null==n||"boolean"===r?nr(n):("number"===r?lr:"string"===r?(e=pe(n))?(n=e,or):vr:n instanceof pe?or:n instanceof Date?sr:Array.isArray(n)?fr:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?hr:lr)(t,n)}function _r(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}var yr,mr,xr,br,wr=180/Math.PI,Mr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Sr(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*wr,skewX:Math.atan(c)*wr,scaleX:u,scaleY:a}}function Ar(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:lr(t,i)},{i:c-2,x:lr(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:lr(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:lr(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:lr(t,e)},{i:a-2,x:lr(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var Tr=Ar((function(t){return"none"===t?Mr:(yr||(yr=document.createElement("DIV"),mr=document.documentElement,xr=document.defaultView),yr.style.transform=t,t=xr.getComputedStyle(mr.appendChild(yr),null).getPropertyValue("transform"),mr.removeChild(yr),Sr(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),kr=Ar((function(t){return null==t?Mr:(br||(br=document.createElementNS("http://www.w3.org/2000/svg","g")),br.setAttribute("transform",t),(t=br.transform.baseVal.consolidate())?Sr((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Mr)}),", ",")",")"),Nr=Math.SQRT2;function Cr(t){return((t=Math.exp(t))+1/t)/2}function Er(t,n){var e,r,i=t[0],o=t[1],u=t[2],a=n[0],c=n[1],f=n[2],s=a-i,l=c-o,h=s*s+l*l;if(h<1e-12)r=Math.log(f/u)/Nr,e=function(t){return[i+t*s,o+t*l,u*Math.exp(Nr*t*r)]};else{var p=Math.sqrt(h),d=(f*f-u*u+4*h)/(2*u*2*p),v=(f*f-u*u-4*h)/(2*f*2*p),g=Math.log(Math.sqrt(d*d+1)-d),_=Math.log(Math.sqrt(v*v+1)-v);r=(_-g)/Nr,e=function(t){var n,e=t*r,a=Cr(g),c=u/(2*p)*(a*(n=Nr*e+g,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(g));return[i+c*s,o+c*l,u*a/Cr(Nr*e+g)]}}return e.duration=1e3*r,e}function zr(t){return function(n,e){var r=t((n=be(n)).h,(e=be(e)).h),i=ir(n.s,e.s),o=ir(n.l,e.l),u=ir(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var Pr=zr(rr),Rr=zr(ir);function Lr(t,n){var e=ir((t=Pe(t)).l,(n=Pe(n)).l),r=ir(t.a,n.a),i=ir(t.b,n.b),o=ir(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function Or(t){return function(n,e){var r=t((n=Fe(n)).h,(e=Fe(e)).h),i=ir(n.c,e.c),o=ir(n.l,e.l),u=ir(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var qr=Or(rr),Ur=Or(ir);function Dr(t){return function n(e){function r(n,r){var i=t((n=Ge(n)).h,(r=Ge(r)).h),o=ir(n.s,r.s),u=ir(n.l,r.l),a=ir(n.op
vendor: 5,102 bytes, line 1
1acity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var Fr=Dr(rr),Ir=Dr(ir);function Yr(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e}var jr,Hr,Br=0,Vr=0,Xr=0,Wr=0,$r=0,Zr=0,Gr="object"==typeof performance&&performance.now?performance:Date,Qr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Jr(){return $r||(Qr(Kr),$r=Gr.now()+Zr)}function Kr(){$r=0}function ti(){this._call=this._time=this._next=null}function ni(t,n,e){var r=new ti;return r.restart(t,n,e),r}function ei(){Jr(),++Br;for(var t,n=jr;n;)(t=$r-n._time)>=0&&n._call.call(null,t),n=n._next;--Br}function ri(){$r=(Wr=Gr.now())+Zr,Br=Vr=0;try{ei()}finally{Br=0,function(){for(var t,n,e=jr,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:jr=n);Hr=t,oi(r)}(),$r=0}}function ii(){var t=Gr.now(),n=t-Wr;n>1e3&&(Zr-=n,Wr=t)}function oi(t){Br||(Vr&&(Vr=clearTimeout(Vr)),t-$r>24?(t<1/0&&(Vr=setTimeout(ri,t-Gr.now()-Zr)),Xr&&(Xr=clearInterval(Xr))):(Xr||(Wr=Gr.now(),Xr=setInterval(ii,1e3)),Br=1,Qr(ri)))}function ui(t,n,e){var r=new ti;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r}function ai(t,n,e){var r=new ti,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?Jr():+e,r.restart((function o(u){u+=i,r.restart(o,i+=n,e),t(u)}),n,e),r)}ti.prototype=ni.prototype={constructor:ti,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Jr():+e)+(null==n?0:+n),this._next||Hr===this||(Hr?Hr._next=this:jr=this,Hr=this),this._call=t,this._time=e,oi()},stop:function(){this._call&&(this._call=null,this._time=1/0,oi())}};var ci=ht("start","end","interrupt"),fi=[];function si(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(c){var f,s,l,h;if(1!==e.state)return a();for(f in i)if((h=i[f]).name===e.name){if(3===h.state)return ui(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+f<n&&(h.state=6,h.timer.stop(),delete i[f])}if(ui((function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(c))})),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,r=new Array(l=e.tween.length),f=0,s=-1;f<l;++f)(h=e.tween[f].value.call(t,t.__data__,e.index,e.group))&&(r[++s]=h);r.length=s+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1),o=-1,u=r.length;++o<u;)r[o].call(null,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=ni((function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)}),0,e.time)}(t,e,{name:n,index:r,group:i,on:ci,tween:fi,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function li(t,n){var e=pi(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function hi(t,n){var e=pi(t,n);if(e.state>2)throw new Error("too late; already started");return e}function pi(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function di(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}}function vi(t,n){var e,r;return function(){var i=hi(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function gi(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=hi(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,f=i.length;c<f;++c)if(i[c].name===n){i[c]=a;break}c===f&&i.push(a)}o.tween=i}}function _i(t,n,e){var r=t._id;return t.each((function(){var t=hi(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return pi(t,r).value[n]}}function yi(t,n){var e;return("number"==typeof n?lr:n instanceof pe?or:(e=pe(n))?(n=e,or):vr)(t,n)}function mi(t){return function(){this.removeAttribute(t)}}function xi(t){return function(){this.removeAttributeNS(t.space,t.local)}}function bi(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}}function wi(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}function Mi(t,n,e){var r,i,o;return function(){var u,a=e(this);if(null!=a)return(u=this.getAttribute(t))===a?null:u===r&&a===i?o:o=n(r=u,i=a);this.removeAttribute(t)}}function Si(t,n,e){var r,i,o;return function(){var u,a=e(this);if(null!=a)return(u=this.getAttributeNS(t.space,t.local))===a?null:u===r&&a===i?o:o=n(r=u,i=a);this.removeAttributeNS(t.space,t.local)}}function Ai(t,n){function e(){var e=this,r=n.apply(e,arguments);
1return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}function Ti(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e}function ki(t,n){return function(){li(this,t).delay=+n.apply(this,arguments)}}function Ni(t,n){return n=+n,function(){li(this,t).delay=n}}function Ci(t,n){return function(){hi(this,t).duration=+n.apply(this,arguments)}}function Ei(t,n){return n=+n,function(){hi(this,t).duration=n}}function zi(t,n){if("function"!=typeof n)throw new Error;return function(){hi(this,t).ease=n}}function Pi(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?li:hi;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}var Ri=kn.prototype.constructor;function Li(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}var Oi=0;function qi(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Ui(t){return kn().transition(t)}function Di(){return++Oi}var Fi=kn.prototype;function Ii(t){return+t}function Yi(t){return t*t}function ji(t){return t*(2-t)}function Hi(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Bi(t){return t*t*t}function Vi(t){return--t*t*t+1}function Xi(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}qi.prototype=Ui.prototype={constructor:qi,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=xt(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,f=r[u],s=f.length,l=o[u]=new Array(s),h=0;h<s;++h)(a=f[h])&&(c=t.call(a,a.__data__,h,f))&&("__data__"in a&&(c.__data__=a.__data__),l[h]=c,si(l[h],n,e,h,l,pi(a,e)));return new qi(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=wt(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,f=r[a],s=f.length,l=0;l<s;++l)if(c=f[l]){for(var h,p=t.call(c,c.__data__,l,f),d=pi(c,e),v=0,g=p.length;v<g;++v)(h=p[v])&&si(h,n,e,v,p,d);o.push(p),u.push(c)}return new qi(o,u,n,e)},filter:function(t){"function"!=typeof t&&(t=Tt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new qi(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),p=0;p<l;++p)(c=f[p]||s[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new qi(u,this._parents,this._name,this._id)},selection:function(){return new Ri(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=Di(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)if(u=a[f]){var s=pi(u,n);si(u,t,e,f,a,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new qi(r,this._parents,t,e)},call:Fi.call,nodes:Fi.nodes,node:Fi.node,size:Fi.size,empty:Fi.empty,each:Fi.each,on:function(t,n){var e=this._id;return arguments.length<2?pi(this.node(),e).on.on(t):this.each(Pi(e,t,n))},attr:function(t,n){var e=vt(t),r="transform"===e?kr:yi;return this.attrTween(t,"function"==typeof n?(e.local?Si:Mi)(e,r,_i(this,"attr."+t,n)):null==n?(e.local?xi:mi)(e):(e.local?wi:bi)(e,r,n+""))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=vt(t);return this.tween(e,(r.local?Ai:Ti)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?Tr:yi;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=jt(this,t),u=(this.style.removeProperty(t),jt(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof n?function(t,n,e){var r,i,o;return function(){var u=jt(this,t),a=e(this);return null==a&&(this.style.removeProperty(t),a=jt(this,t)),u===a?null:u===r&&a===i?o:o=n(r=u,i=a)}}(t,r,_i(this,"style."+t,n)):function(t,n,e){var r,i;return function(){var o=jt(this,t);return o===e?null:o===r?i:i=n(r=o,e)}}(t,r,n+""),e)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Li(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(_i(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=pi(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?vi:gi)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?ki:Ni)(n,t)):pi(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Ci:Ei)(n,t)):pi(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(zi(n,t)):pi(this.node(),n).ease}};var Wi=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),$i=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Zi=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Gi=Math.PI,Qi=Gi/2;function Ji(t){return 1-Math.cos(t*Qi)}function Ki(t){return Math.sin(t*Qi)}function to(t){return(1-Math.cos(Gi*t))/2}function no(t){return Math.pow(2,10*t-10)}function eo(t){return 1-Math.pow(2,-10*t)}function ro(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function io(t){return 1-Math.sqrt(1-t*t)}function oo(t){return Math.sqrt(1- --t*t)}function uo(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var ao=7.5625;function co(t){return 1-fo(1-t)}function fo(t){return(t=+t)<.36363636363636365?ao*t*t:t<.7272727272727273?ao*(t-=.5454545454545454)*t+.75:t<.9090909090909091?ao*(t-=.8181818181818182)*t+.9375:ao*(t-=.9545454545454546)*t+.984375}function so(t){return((t*=2)<=1?1-fo(1-t):fo(t-1)+1)/2}var lo=1.70158,ho=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(lo),po=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(lo),vo=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(lo),go=2*Math.PI,_o=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=go);function i(t){return n*Math.pow(2,10*--t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*go)},i.period=function(e){return t(n,e)},i}(1,.3),yo=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=go);
1function i(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*go)},i.period=function(e){return t(n,e)},i}(1,.3),mo=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=go);function i(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((r-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*go)},i.period=function(e){return t(n,e)},i}(1,.3),xo={time:null,delay:0,duration:250,ease:Xi};function bo(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return xo.time=Jr(),xo;return e}kn.prototype.interrupt=function(t){return this.each((function(){di(this,t)}))},kn.prototype.transition=function(t){var n,e;t instanceof qi?(n=t._id,t=t._name):(n=Di(),(e=xo).time=Jr(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)(u=a[f])&&si(u,t,n,f,a,e||bo(u,n));return new qi(r,this._parents,t,n)};var wo=[null];function Mo(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>1&&e.name===n)return new qi([[t]],wo,n,+r);return null}function So(t){return function(){return t}}function Ao(t,n,e){this.target=t,this.type=n,this.selection=e}function To(){dn.stopImmediatePropagation()}function ko(){dn.preventDefault(),dn.stopImmediatePropagation()}var No={name:"drag"},Co={name:"space"},Eo={name:"handle"},zo={name:"center"},Po={name:"x",handles:["e","w"].map(Io),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Ro={name:"y",handles:["n","s"].map(Io),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Lo={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Io),input:function(t){return t},output:function(t){return t}},Oo={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"},qo={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Uo={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Do={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Fo={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Io(t){return{type:t}}function Yo(){return!dn.button}function jo(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Ho(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Bo(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Vo(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Xo(){return Zo(Po)}function Wo(){return Zo(Ro)}function $o(){return Zo(Lo)}function Zo(t){var n,e=jo,r=Yo,i=ht(u,"start","brush","end"),o=6;function u(n){var e=n.property("__brush",l).selectAll(".overlay").data([Io("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Oo.overlay).merge(e).each((function(){var t=Ho(this).extent;Nn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([Io("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Oo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Oo[t.type]})),n.each(a).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",s)}function a(){var t=Nn(this),n=Ho(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-o/2:n[0][0]-o/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-o/2:n[0][1]-o/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+o:o})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+o:o}))):t.selectAll(".selection,.handle").style("display","none").attr("x",
1null).attr("y",null).attr("width",null).attr("height",null)}function c(t,n){return t.__brush.emitter||new f(t,n)}function f(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function s(){if(dn.touches){if(dn.changedTouches.length<dn.touches.length)return ko()}else if(n)return;if(r.apply(this,arguments)){var e,i,o,u,f,s,l,h,p,d,v,g,_,y=this,m=dn.target.__data__.type,x="selection"===(dn.metaKey?m="overlay":m)?No:dn.altKey?zo:Eo,b=t===Ro?null:Do[m],w=t===Po?null:Fo[m],M=Ho(y),S=M.extent,A=M.selection,T=S[0][0],k=S[0][1],N=S[1][0],C=S[1][1],E=b&&w&&dn.shiftKey,z=On(y),P=z,R=c(y,arguments).beforestart();"overlay"===m?M.selection=A=[[e=t===Ro?T:z[0],o=t===Po?k:z[1]],[f=t===Ro?N:e,l=t===Po?C:o]]:(e=A[0][0],o=A[0][1],f=A[1][0],l=A[1][1]),i=e,u=o,s=f,h=l;var L=Nn(y).attr("pointer-events","none"),O=L.selectAll(".overlay").attr("cursor",Oo[m]);if(dn.touches)L.on("touchmove.brush",U,!0).on("touchend.brush touchcancel.brush",F,!0);else{var q=Nn(dn.view).on("keydown.brush",I,!0).on("keyup.brush",Y,!0).on("mousemove.brush",U,!0).on("mouseup.brush",F,!0);Yn(dn.view)}To(),di(y),a.call(y),R.start()}function U(){var t=On(y);!E||g||_||(Math.abs(t[0]-P[0])>Math.abs(t[1]-P[1])?_=!0:g=!0),P=t,v=!0,ko(),D()}function D(){var t;switch(p=P[0]-z[0],d=P[1]-z[1],x){case Co:case No:b&&(p=Math.max(T-e,Math.min(N-f,p)),i=e+p,s=f+p),w&&(d=Math.max(k-o,Math.min(C-l,d)),u=o+d,h=l+d);break;case Eo:b<0?(p=Math.max(T-e,Math.min(N-e,p)),i=e+p,s=f):b>0&&(p=Math.max(T-f,Math.min(N-f,p)),i=e,s=f+p),w<0?(d=Math.max(k-o,Math.min(C-o,d)),u=o+d,h=l):w>0&&(d=Math.max(k-l,Math.min(C-l,d)),u=o,h=l+d);break;case zo:b&&(i=Math.max(T,Math.min(N,e-p*b)),s=Math.max(T,Math.min(N,f+p*b))),w&&(u=Math.max(k,Math.min(C,o-d*w)),h=Math.max(k,Math.min(C,l+d*w)))}s<i&&(b*=-1,t=e,e=f,f=t,t=i,i=s,s=t,m in qo&&O.attr("cursor",Oo[m=qo[m]])),h<u&&(w*=-1,t=o,o=l,l=t,t=u,u=h,h=t,m in Uo&&O.attr("cursor",Oo[m=Uo[m]])),M.selection&&(A=M.selection),g&&(i=A[0][0],s=A[1][0]),_&&(u=A[0][1],h=A[1][1]),A[0][0]===i&&A[0][1]===u&&A[1][0]===s&&A[1][1]===h||(M.selection=[[i,u],[s,h]],a.call(y),R.brush())}function F(){if(To(),dn.touches){if(dn.touches.length)return;n&&clearTimeout(n),n=setTimeout((function(){n=null}),500),L.on("touchmove.brush touchend.brush touchcancel.brush",null)}else jn(dn.view,v),q.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);L.attr("pointer-events","all"),O.attr("cursor",Oo.overlay),M.selection&&(A=M.selection),Bo(A)&&(M.selection=null,a.call(y)),R.end()}function I(){switch(dn.keyCode){case 16:E=b&&w;break;case 18:x===Eo&&(b&&(f=s-p*b,e=i+p*b),w&&(l=h-d*w,o=u+d*w),x=zo,D());break;case 32:x!==Eo&&x!==zo||(b<0?f=s-p:b>0&&(e=i-p),w<0?l=h-d:w>0&&(o=u-d),x=Co,O.attr("cursor",Oo.selection),D());break;default:return}ko()}function Y(){switch(dn.keyCode){case 16:E&&(g=_=E=!1,D());break;case 18:x===zo&&(b<0?f=s:b>0&&(e=i),w<0?l=h:w>0&&(o=u),x=Eo,D());break;case 32:x===Co&&(dn.altKey?(b&&(f=s-p*b,e=i+p*b),w&&(l=h-d*w,o=u+d*w),x=zo):(b<0?f=s:b>0&&(e=i),w<0?l=h:w>0&&(o=u),x=Eo),O.attr("cursor",Oo[m]),D());break;default:return}ko()}}function l(){var n=this.__brush||{selection:null};return n.extent=e.apply(this,arguments),n.dim=t,n}return u.move=function(n,e){n.selection?n.on("start.brush",(function(){c(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){c(this,arguments).end()})).tween("brush",(function(){var n=this,r=n.__brush,i=c(n,arguments),o=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),f=gr(o,u);function s(t){r.selection=1===t&&Bo(u)?null:f(t),a.call(n),i.brush()}return o&&u?s:s(1)})):n.each((function(){var n=this,r=arguments,i=n.__brush,o=t.input("function"==typeof e?e.apply(n,r):e,i.extent),u=c(n,r).beforestart();di(n),i.selection=null==o||Bo(o)?null:o,a.call(n),u.start().brush().end()}))},f.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},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit
1("end")),this},emit:function(n){xn(new Ao(u,n,t.output(this.state.selection)),i.apply,i,[n,this.that,this.args])}},u.extent=function(t){return arguments.length?(e="function"==typeof t?t:So([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),u):e},u.filter=function(t){return arguments.length?(r="function"==typeof t?t:So(!!t),u):r},u.handleSize=function(t){return arguments.length?(o=+t,u):o},u.on=function(){var t=i.on.apply(i,arguments);return t===i?u:t},u}var Go=Math.cos,Qo=Math.sin,Jo=Math.PI,Ko=Jo/2,tu=2*Jo,nu=Math.max;function eu(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}function ru(){var t=0,n=null,e=null,r=null;function i(i){var o,u,a,c,f,s,l=i.length,h=[],p=M(l),d=[],v=[],g=v.groups=new Array(l),_=new Array(l*l);for(o=0,f=-1;++f<l;){for(u=0,s=-1;++s<l;)u+=i[f][s];h.push(u),d.push(M(l)),o+=u}for(n&&p.sort((function(t,e){return n(h[t],h[e])})),e&&d.forEach((function(t,n){t.sort((function(t,r){return e(i[n][t],i[n][r])}))})),c=(o=nu(0,tu-t*l)/o)?t:tu/l,u=0,f=-1;++f<l;){for(a=u,s=-1;++s<l;){var y=p[f],m=d[y][s],x=i[y][m],b=u,w=u+=x*o;_[m*l+y]={index:y,subindex:m,startAngle:b,endAngle:w,value:x}}g[y]={index:y,startAngle:a,endAngle:u,value:h[y]},u+=c}for(f=-1;++f<l;)for(s=f-1;++s<l;){var S=_[s*l+f],A=_[f*l+s];(S.value||A.value)&&v.push(S.value<A.value?{source:A,target:S}:{source:S,target:A})}return r?v.sort(r):v}return i.padAngle=function(n){return arguments.length?(t=nu(0,n),i):t},i.sortGroups=function(t){return arguments.length?(n=t,i):n},i.sortSubgroups=function(t){return arguments.length?(e=t,i):e},i.sortChords=function(t){return arguments.length?(null==t?r=null:(r=eu(t))._=t,i):r&&r._},i}var iu=Array.prototype.slice;function ou(t){return function(){return t}}var uu=Math.PI,au=2*uu,cu=1e-6,fu=au-cu;function su(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function lu(){return new su}su.prototype=lu.prototype={constructor:su,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,c=r-n,f=o-t,s=u-n,l=f*f+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>cu)if(Math.abs(s*a-c*f)>cu&&i){var h=e-o,p=r-u,d=a*a+c*c,v=h*h+p*p,g=Math.sqrt(d),_=Math.sqrt(l),y=i*Math.tan((uu-Math.acos((d+l-v)/(2*g*_)))/2),m=y/_,x=y/g;Math.abs(m-1)>cu&&(this._+="L"+(t+m*f)+","+(n+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*p)+","+(this._x1=t+x*a)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),c=t+u,f=n+a,s=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+f:(Math.abs(this._x1-c)>cu||Math.abs(this._y1-f)>cu)&&(this._+="L"+c+","+f),e&&(l<0&&(l=l%au+au),l>fu?this._+="A"+e+","+e+",0,1,"+s+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+s+","+(this._x1=c)+","+(this._y1=f):l>cu&&(this._+="A"+e+","+e+",0,"+ +(l>=uu)+","+s+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var hu=lu;function pu(t){return t.source}function du(t){return t.target}function vu(t){return t.radius}function gu(t){return t.startAngle}function _u(t){return t.endAngle}function yu(){var t=pu,n=du,e=vu,r=gu,i=_u,o=null;function u(){var u,a=iu.call(arguments),c=t.apply(this,a),f=n.apply(this,a),s=+e.apply(this,(a[0]=c,a)),l=r.apply(this,a)-Ko,h=i.apply(this,a)-Ko,p=s*Go(l),d=s*Qo(l),v=+e.apply(this,(a[0]=f,a)),g=r.apply(this,a)-Ko,_=i.apply(this,a)-Ko;
1if(o||(o=u=hu()),o.moveTo(p,d),o.arc(0,0,s,l,h),l===g&&h===_||(o.quadraticCurveTo(0,0,v*Go(g),v*Qo(g)),o.arc(0,0,v,g,_)),o.quadraticCurveTo(0,0,p,d),o.closePath(),u)return o=null,u+""||null}return u.radius=function(t){return arguments.length?(e="function"==typeof t?t:ou(+t),u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ou(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ou(+t),u):i},u.source=function(n){return arguments.length?(t=n,u):t},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}var mu="$";function xu(){}function bu(t,n){var e=new xu;if(t instanceof xu)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}xu.prototype=bu.prototype={constructor:xu,has:function(t){return mu+t in this},get:function(t){return this[mu+t]},set:function(t,n){return this[mu+t]=n,this},remove:function(t){var n=mu+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===mu&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===mu&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===mu&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===mu&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===mu&&++t;return t},empty:function(){for(var t in this)if(t[0]===mu)return!1;return!0},each:function(t){for(var n in this)n[0]===mu&&t(this[n],n.slice(1),this)}};var wu=bu;function Mu(){var t,n,e,r=[],i=[];function o(e,i,u,a){if(i>=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,f,s,l=-1,h=e.length,p=r[i++],d=wu(),v=u();++l<h;)(s=d.get(c=p(f=e[l])+""))?s.push(f):d.set(c,[f]);return d.each((function(t,n){a(v,n,o(t,i,u,a))})),v}function u(t,e){if(++e>r.length)return t;var o,a=i[e-1];return null!=n&&e>=r.length?o=t.entries():(o=[],t.each((function(t,n){o.push({key:n,values:u(t,e)})}))),null!=a?o.sort((function(t,n){return a(t.key,n.key)})):o}return e={object:function(t){return o(t,0,Su,Au)},map:function(t){return o(t,0,Tu,ku)},entries:function(t){return u(o(t,0,Tu,ku),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}function Su(){return{}}function Au(t,n,e){t[n]=e}function Tu(){return wu()}function ku(t,n,e){t.set(n,e)}function Nu(){}var Cu=wu.prototype;function Eu(t,n){var e=new Nu;if(t instanceof Nu)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}Nu.prototype=Eu.prototype={constructor:Nu,has:Cu.has,add:function(t){return this[mu+(t+="")]=t,this}
1,remove:Cu.remove,clear:Cu.clear,values:Cu.keys,size:Cu.size,empty:Cu.empty,each:Cu.each};var zu=Eu;function Pu(t){var n=[];for(var e in t)n.push(e);return n}function Ru(t){var n=[];for(var e in t)n.push(t[e]);return n}function Lu(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n}var Ou={},qu={};function Uu(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+"]"})).join(",")+"}")}function Du(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function s(){if(c)return qu;if(f)return f=!1,Ou;var n,r,i=u;if(34===t.charCodeAt(i)){for(;u++<o&&34!==t.charCodeAt(u)||34===t.charCodeAt(++u););return(n=u)>=o?c=!0:10===(r=t.charCodeAt(u++))?f=!0:13===r&&(f=!0,10===t.charCodeAt(u)&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u<o;){if(10===(r=t.charCodeAt(n=u++)))f=!0;else if(13===r)f=!0,10===t.charCodeAt(u)&&++u;else if(r!==e)continue;return t.slice(i,n)}return c=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(r=s())!==qu;){for(var l=[];r!==Ou&&r!==qu;)l.push(r),r=s();n&&null==(l=n(l,a++))||i.push(l)}return i}function i(n){return n.map(o).join(t)}function o(t){return null==t?"":n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=Uu(t);return function(r,i){return n(e(r),i,t)}}(t,n):Uu(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=function(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}(n)),[e.map(o).join(t)].concat(n.map((function(n){return e.map((function(t){return o(n[t])})).join(t)}))).join("\n")},formatRows:function(t){return t.map(i).join("\n")}}}var Fu=Du(","),Iu=Fu.parse,Yu=Fu.parseRows,ju=Fu.format,Hu=Fu.formatRows,Bu=Du("\t"),Vu=Bu.parse,Xu=Bu.parseRows,Wu=Bu.format,$u=Bu.formatRows;function Zu(t,n){var e;function r(){var r,i,o=e.length,u=0,a=0;for(r=0;r<o;++r)u+=(i=e[r]).x,a+=i.y;for(u=u/o-t,a=a/o-n,r=0;r<o;++r)(i=e[r]).x-=u,i.y-=a}return null==t&&(t=0),null==n&&(n=0),r.initialize=function(t){e=t},r.x=function(n){return arguments.length?(t=+n,r):t},r.y=function(t){return arguments.length?(n=+t,r):n},r}function Gu(t){return function(){return t}}function Qu(){return 1e-6*(Math.random()-.5)}function Ju(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,c,f,s,l,h,p=t._root,d={data:r},v=t._x0,g=t._y0,_=t._x1,y=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((f=n>=(o=(v+_)/2))?v=o:_=o,(s=e>=(u=(g+y)/2))?g=u:y=u,i=p,!(p=p[l=s<<1|f]))return i[l]=d,t;if(a=+t._x.call(null,p.data),c=+t._y.call(null,p.data),n===a&&e===c)return d.next=p,i?i[l]=d:t._root=d,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(v+_)/2))?v=o:_=o,(s=e>=(u=(g+y)/2))?g=u:y=u}while((l=s<<1|f)==(h=(c>=u)<<1|a>=o));return i[h]=p,i[l]=d,t}function Ku(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function ta(t){return t[0]}function na(t){return t[1]}function ea(t,n,e){var r=new ra(null==n?ta:n,null==e?na:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function ra(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function ia(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var oa=ea.prototype=ra.prototype;function ua(t){return t.x+t.vx}function aa(t){return t.y+t.vy}function ca(t){var n,e,r=1,i=1;function o(){for(var t,o,a,c,f,s,l,h=n.length,p=0;p<i;++p)for(o=ea(n,ua,aa).visitAfter(u),t=0;t<h;++t)a=n[t],s=e[a.index],l=s*s,c=a.x+a.vx,f=a.y+a.vy,o.visit(d);function d(t,n,e,i,o){var u=t.data,h=t.r,p=s+h;if(!u)return n>c+p||i<c-p||e>f+p||o<f-p;if(u.index>a.index){var d=c-u.x-u.vx,v=f-u.y-u.vy,g=d*d+v*v;g<p*p&&(0===d&&(g+=(d=Qu())*d),0===v&&(g+=(v=Qu())*v),g=(p-(g=Math.sqrt(g)))/g*r,a.vx+=(d*=g)*(p=(h*=h)/(l+h)),a.vy+=(v*=g)*p,u.vx-=d*(p=1-p),u.vy-=v*p)}}}function u(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function a(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r<o;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!=typeof t&&(t=Gu(null==t?1:+t)),o.initialize=function(t){n=t,a()},o.iterations=function(t){return arguments.length?(i=+t,o):i},o.strength=function(t){return arguments.length?(r=+t,o):r},o.radius=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),a(),o):t},o}function fa(t){return t.index}function sa(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function la(t){var n,e,r,i,o,u=fa,a=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},c=Gu(30),f=1;function s(r){for(var i=0,u=t.length;i<f;++i)for(var a,c,s,l,h,p,d,v=0;v<u;++v)c=(a=t[v]).source,l=(s=a.target).x+s.vx-c.x-c.vx||Qu(),h=s.y+s.vy-c.y-c.vy||Qu(),l*=p=((p=Math.sqrt(l*l+h*h))-e[v])/p
1*r*n[v],h*=p,s.vx-=l*(d=o[v]),s.vy-=h*d,c.vx+=l*(d=1-d),c.vy+=h*d}function l(){if(r){var a,c,f=r.length,s=t.length,l=wu(r,u);for(a=0,i=new Array(f);a<s;++a)(c=t[a]).index=a,"object"!=typeof c.source&&(c.source=sa(l,c.source)),"object"!=typeof c.target&&(c.target=sa(l,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(s);a<s;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);n=new Array(s),h(),e=new Array(s),p()}}function h(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+a(t[e],e,t)}function p(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+c(t[n],n,t)}return null==t&&(t=[]),s.initialize=function(t){r=t,l()},s.links=function(n){return arguments.length?(t=n,l(),s):t},s.id=function(t){return arguments.length?(u=t,s):u},s.iterations=function(t){return arguments.length?(f=+t,s):f},s.strength=function(t){return arguments.length?(a="function"==typeof t?t:Gu(+t),h(),s):a},s.distance=function(t){return arguments.length?(c="function"==typeof t?t:Gu(+t),p(),s):c},s}function ha(t){return t.x}function pa(t){return t.y}oa.copy=function(){var t,n,e=new ra(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=ia(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=ia(n));return e},oa.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Ju(this.cover(n,e),n,e,t)},oa.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(u[e]=r,a[e]=i,r<c&&(c=r),r>s&&(s=r),i<f&&(f=i),i>l&&(l=i));for(s<c&&(c=this._x0,s=this._x1),l<f&&(f=this._y0,l=this._y1),this.cover(c,f).cover(s,l),e=0;e<o;++e)Ju(this,u[e],a[e],t[e]);return this},oa.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{if(!(e>t||t>i||r>n||n>o))return this;var u,a,c=i-e,f=this._root;switch(a=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do{(u=new Array(4))[a]=f,f=u}while(o=r+(c*=2),t>(i=e+c)||n>o);break;case 1:do{(u=new Array(4))[a]=f,f=u}while(o=r+(c*=2),(e=i-c)>t||n>o);break;case 2:do{(u=new Array(4))[a]=f,f=u}while(r=o-(c*=2),t>(i=e+c)||r>n);break;case 3:do{(u=new Array(4))[a]=f,f=u}while(r=o-(c*=2),(e=i-c)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},oa.data=function(){var t=[];return this.visit((function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)})),t},oa.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},oa.find=function(t,n,e){var r,i,o,u,a,c,f,s=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new Ku(v,s,l,h,p)),null==e?e=1/0:(s=t-e,l=n-e,h=t+e,p=n+e,e*=e);c=d.pop();)if(!(!(v=c.node)||(i=c.x0)>h||(o=c.y0)>p||(u=c.x1)<s||(a=c.y1)<l))if(v.length){var g=(i+u)/2,_=(o+a)/2;d.push(new Ku(v[3],g,_,u,a),new Ku(v[2],i,_,g,a),new Ku(v[1],g,o,u,_),new 
vendor: 6,392 bytes, line 1
1Ku(v[0],i,o,g,_)),(f=(n>=_)<<1|t>=g)&&(c=d[d.length-1],d[d.length-1]=d[d.length-1-f],d[d.length-1-f]=c)}else{var y=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),x=y*y+m*m;if(x<e){var b=Math.sqrt(e=x);s=t-b,l=n-b,h=t+b,p=n+b,r=v.data}}return r},oa.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(u=+this._y.call(null,t)))return this;var n,e,r,i,o,u,a,c,f,s,l,h,p=this._root,d=this._x0,v=this._y0,g=this._x1,_=this._y1;if(!p)return this;if(p.length)for(;;){if((f=o>=(a=(d+g)/2))?d=a:g=a,(s=u>=(c=(v+_)/2))?v=c:_=c,n=p,!(p=p[l=s<<1|f]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},oa.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},oa.root=function(){return this._root},oa.size=function(){var t=0;return this.visit((function(n){if(!n.length)do{++t}while(n=n.next)})),t},oa.visit=function(t){var n,e,r,i,o,u,a=[],c=this._root;for(c&&a.push(new Ku(c,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,u=n.y1)&&c.length){var f=(r+o)/2,s=(i+u)/2;(e=c[3])&&a.push(new Ku(e,f,s,o,u)),(e=c[2])&&a.push(new Ku(e,r,s,f,u)),(e=c[1])&&a.push(new Ku(e,f,i,o,s)),(e=c[0])&&a.push(new Ku(e,r,i,f,s))}return this},oa.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new Ku(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,u=n.x0,a=n.y0,c=n.x1,f=n.y1,s=(u+c)/2,l=(a+f)/2;(o=i[0])&&e.push(new Ku(o,u,a,s,l)),(o=i[1])&&e.push(new Ku(o,s,a,c,l)),(o=i[2])&&e.push(new Ku(o,u,l,s,f)),(o=i[3])&&e.push(new Ku(o,s,l,c,f))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},oa.x=function(t){return arguments.length?(this._x=t,this):this._x},oa.y=function(t){return arguments.length?(this._y=t,this):this._y};var da,va=Math.PI*(3-Math.sqrt(5));function ga(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,u=.6,a=wu(),c=ni(s),f=ht("tick","end");function s(){l(),f.call("tick",n),e<r&&(c.stop(),f.call("end",n))}function l(){var n,r,c=t.length;for(e+=(o-e)*i,a.each((function(t){t(e)})),n=0;n<c;++n)null==(r=t[n]).fx?r.x+=r.vx*=u:(r.x=r.fx,r.vx=0),null==r.fy?r.y+=r.vy*=u:(r.y=r.fy,r.vy=0)}function h(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,isNaN(n.x)||isNaN(n.y)){var i=10*Math.sqrt(e),o=e*va;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function p(n){return n.initialize&&n.initialize(t),n}return null==t&&(t=[]),h(),n={tick:l,restart:function(){return c.restart(s),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,h(),a.each(p),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(u=1-t,n):1-u},force:function(t,e){return arguments.length>1?(null==e?a.remove(t):a.set(t,p(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f<s;++f)(u=(i=n-(a=t[f]).x)*i+(o=e-a.y)*o)<r&&(c=a,r=u);return c},on:function(t,e){return arguments.length>1?(f.on(t,e),n):f.on(t)}}}function _a(){var t,n,e,r,i=Gu(-30),o=1,u=1/0,a=.81;function c(r){var i,o=t.length,u=ea(t,ha,pa).visitAfter(s);for(e=r,i=0;i<o;++i)n=t[i],u.visit(l)}function f(){if(t){var n,e,o=t.length;for(r=new Array(o),n=0;n<o;++n)e=t[n],r[e.index]=+i(e,n,t)}}function s(t){var n,e,i,o,u,a=0,c=0;if(t.length){for(i=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,i+=e*n.x,o+=e*n.y);t.x=i/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=r[n.data.index]}while(n=n.next)}t.value=a}function l(t,i,c,f){if(!t.value)return!0;var s=t.x-n.x,l=t.y-n.y,h=f-i,p=s*s+l*l;if(h*h/a<p)return p<u&&(0===s&&(p+=(s=Qu())*s),0===l&&(p+=(l=Qu())*l),p<o&&(p=Math.sqrt(o*p)),n.vx+=s*t.value*e/p,n.vy+=l*t.value*e/p),!0;if(!(t.length||p>=u)){(t.data!==n||t.next)&&(0===s&&(p+=(s=Qu())*s),0===l&&(p+=(l=Qu())*l),p<o&&(p=Math.sqrt(o*p)));do{t.data!==n&&(h=r[t.data.index]*e/p,n.vx+=s*h,n.vy+=l*h)}while(t=t.next)}}return c.initialize=function(n){t=n,f()},c.strength=function(t){return arguments.length?(i="function"==typeof t?t:Gu(+t),f(),c):i},c.distanceMin=function(t){return arguments.length?(o=t*t,c):Math.sqrt(o)},c.distanceMax=function(t){return arguments.length?(u=t*t,c):Math.sqrt(u)},c.theta=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c}function ya(t,n,e){var r,i,o,u=Gu(.1);function a(t){for(var u=0,a=r.length;u<a;++u){var c=r[u],f=c.x-n||1e-6,s=c.y-e||1e-6,l=Math.sqrt(f*f+s*s),h=(o[u]-l)*i[u]*t/l;c.vx+=f*h,c.vy+=s*h}}function c(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)o[n]=+t(r[n],n,r),i[n]=isNaN(o[n])?0:+u(r[n],n,r)}}return"function"!=typeof t&&(t=Gu(+t)),null==n&&(n=0),null==e&&(e=0),a.initialize=function(t){r=t,c()},a.strength=function(t){return arguments.length?(u="function"==typeof t?t:Gu(+t),c(),a):u},a.radius=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),c(),a):t},a.x=function(t){return arguments.length?(n=+t,a):n},a.y=function(t){return arguments.length?(e=+t,a):e},a}function ma(t){var n,e,r,i=Gu(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vx+=(r[o]-i.x)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!=typeof t&&(t=Gu(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Gu(+t),u(),o):i},o.x=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),u(),o):t},o}function xa(t){var n,e,r,i=Gu(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vy+=(r[o]-i.y)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!=typeof t&&(t=Gu(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Gu(+t),u(),o):i},o.y=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),u(),o):t},o}
1function ba(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function wa(t){return(t=ba(Math.abs(t)))?t[1]:NaN}function Ma(t,n){var e=ba(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var Sa={"":function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Ma(100*t,n)},r:Ma,s:function(t,n){var e=ba(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(da=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+ba(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Aa=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function Ta(t){return new ka(t)}function ka(t){if(!(n=Aa.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",u=!!n[5],a=n[6]&&+n[6],c=!!n[7],f=n[8]&&+n[8].slice(1),s=n[9]||"";"n"===s?(c=!0,s="g"):Sa[s]||(s=""),(u||"0"===e&&"="===r)&&(u=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=u,this.width=a,this.comma=c,this.precision=f,this.type=s}function Na(t){return t}Ta.prototype=ka.prototype,ka.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Ca,Ea,za,Pa=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ra(t){var n,e,r=t.grouping&&t.thousands?(n=t.grouping,e=t.thousands,function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}):Na,i=t.currency,o=t.decimal,u=t.numerals?function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(t.numerals):Na,a=t.percent||"%";function c(t){var n=(t=Ta(t)).fill,e=t.align,c=t.sign,f=t.symbol,s=t.zero,l=t.width,h=t.comma,p=t.precision,d=t.type,v="$"===f?i[0]:"#"===f&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",g="$"===f?i[1]:/[%p]/.test(d)?a:"",_=Sa[d],y=!d||/[defgprs%]/.test(d);function m(t){var i,a,f,m=v,x=g;if("c"===d)x=_(t)+x,t="";else{var b=(t=+t)<0;if(t=_(Math.abs(t),p),b&&0==+t&&(b=!1),m=(b?"("===c?c:"-":"-"===c||"("===c?"":c)+m,x=("s"===d?Pa[8+da/3]:"")+x+(b&&"("===c?")":""),y)for(i=-1,a=t.length;++i<a;)if(48>(f=t.charCodeAt(i))||f>57){x=(46===f?o+t.slice(i+1):t.slice(i))+x,t=t.slice(0,i);break}}h&&!s&&(t=r(t,1/0));var w=m.length+t.length+x.length,M=w<l?new Array(l-w+1).join(n):"";switch(h&&s&&(t=r(M+t,M.length?l-x.length:1/0),M=""),e){case"<":t=m+t+x+M;break;case"=":t=m+M+t+x;break;case"^":t=M.slice(0,w=M.length>>1)+m+t+x+M.slice(w);break;default:t=M+m+t+x}return u(t)}return p=null==p?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),m.toString=function(){return t+""},m}return{format:c,formatPrefix:function(t,n){var e=c(((t=Ta(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(wa(n)/3))),i=Math.pow(10,-r),o=Pa[8+r/3];return function(t){return e(i*t)+o}}}}function La(t){return Ca=Ra(t),Ea=Ca.format,za=Ca.formatPrefix,Ca}function Oa(t){return Math.max(0,-wa(Math.abs(t)))}function qa(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(wa(n)/3)))-wa(Math.abs(t)))}function Ua(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,wa(n)-wa(t))+1}function Da(){return new Fa}function Fa(){this.reset()}La({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),Fa.prototype={constructor:Fa,reset:function(){this.s=this.t=0},add:function(t){Ya(Ia,t,this.t),Ya(this,Ia.s,this.s),this.s?this.t+=Ia.t:this.s=Ia.t}
vendor: 6,479 bytes, line 1
1,valueOf:function(){return this.s}};var Ia=new Fa;function Ya(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}var ja=1e-6,Ha=Math.PI,Ba=Ha/2,Va=Ha/4,Xa=2*Ha,Wa=180/Ha,$a=Ha/180,Za=Math.abs,Ga=Math.atan,Qa=Math.atan2,Ja=Math.cos,Ka=Math.ceil,tc=Math.exp,nc=(Math.floor,Math.log),ec=Math.pow,rc=Math.sin,ic=Math.sign||function(t){return t>0?1:t<0?-1:0},oc=Math.sqrt,uc=Math.tan;function ac(t){return t>1?0:t<-1?Ha:Math.acos(t)}function cc(t){return t>1?Ba:t<-1?-Ba:Math.asin(t)}function fc(t){return(t=rc(t/2))*t}function sc(){}function lc(t,n){t&&pc.hasOwnProperty(t.type)&&pc[t.type](t,n)}var hc={Feature:function(t,n){lc(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)lc(e[r].geometry,n)}},pc={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){dc(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)dc(e[r],n,0)},Polygon:function(t,n){vc(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)vc(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)lc(e[r],n)}};function dc(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function vc(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)dc(t[e],n,1);n.polygonEnd()}function gc(t,n){t&&hc.hasOwnProperty(t.type)?hc[t.type](t,n):lc(t,n)}var _c,yc,mc,xc,bc,wc=Da(),Mc=Da(),Sc={point:sc,lineStart:sc,lineEnd:sc,polygonStart:function(){wc.reset(),Sc.lineStart=Ac,Sc.lineEnd=Tc},polygonEnd:function(){var t=+wc;Mc.add(t<0?Xa+t:t),this.lineStart=this.lineEnd=this.point=sc},sphere:function(){Mc.add(Xa)}};function Ac(){Sc.point=kc}function Tc(){Nc(_c,yc)}function kc(t,n){Sc.point=Nc,_c=t,yc=n,mc=t*=$a,xc=Ja(n=(n*=$a)/2+Va),bc=rc(n)}function Nc(t,n){var e=(t*=$a)-mc,r=e>=0?1:-1,i=r*e,o=Ja(n=(n*=$a)/2+Va),u=rc(n),a=bc*u,c=xc*o+a*Ja(i),f=a*r*rc(i);wc.add(Qa(f,c)),mc=t,xc=o,bc=u}function Cc(t){return Mc.reset(),gc(t,Sc),2*Mc}function Ec(t){return[Qa(t[1],t[0]),cc(t[2])]}function zc(t){var n=t[0],e=t[1],r=Ja(e);return[r*Ja(n),r*rc(n),rc(e)]}function Pc(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Rc(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Lc(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Oc(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function qc(t){var n=oc(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Uc,Dc,Fc,Ic,Yc,jc,Hc,Bc,Vc,Xc,Wc,$c,Zc,Gc,Qc,Jc,Kc,tf,nf,ef,rf,of,uf,af,cf,ff,sf=Da(),lf={point:hf,lineStart:df,lineEnd:vf,polygonStart:function(){lf.point=gf,lf.lineStart=_f,lf.lineEnd=yf,sf.reset(),Sc.polygonStart()},polygonEnd:function(){Sc.polygonEnd(),lf.point=hf,lf.lineStart=df,lf.lineEnd=vf,wc<0?(Uc=-(Fc=180),Dc=-(Ic=90)):sf>ja?Ic=90:sf<-1e-6&&(Dc=-90),Xc[0]=Uc,Xc[1]=Fc}};function hf(t,n){Vc.push(Xc=[Uc=t,Fc=t]),n<Dc&&(Dc=n),n>Ic&&(Ic=n)}function pf(t,n){var e=zc([t*$a,n*$a]);if(Bc){var r=Rc(Bc,e),i=Rc([r[1],-r[0],0],r);qc(i),i=Ec(i);var o,u=t-Yc,a=u>0?1:-1,c=i[0]*Wa*a,f=Za(u)>180;f^(a*Yc<c&&c<a*t)?(o=i[1]*Wa)>Ic&&(Ic=o):f^(a*Yc<(c=(c+360)%360-180)&&c<a*t)?(o=-i[1]*Wa)<Dc&&(Dc=o):(n<Dc&&(Dc=n),n>Ic&&(Ic=n)),f?t<Yc?mf(Uc,t)>mf(Uc,Fc)&&(Fc=t):mf(t,Fc)>mf(Uc,Fc)&&(Uc=t):Fc>=Uc?(t<Uc&&(Uc=t),t>Fc&&(Fc=t)):t>Yc?mf(Uc,t)>mf(Uc,Fc)&&(Fc=t):mf(t,Fc)>mf(Uc,Fc)&&(Uc=t)}else Vc.push(Xc=[Uc=t,Fc=t]);n<Dc&&(Dc=n),n>Ic&&(Ic=n),Bc=e,Yc=t}function df(){lf.point=pf}function vf(){Xc[0]=Uc,Xc[1]=Fc,lf.point=hf,Bc=null}function gf(t,n){if(Bc){var e=t-Yc;sf.add(Za(e)>180?e+(e>0?360:-360):e)}else jc=t,Hc=n;Sc.point(t,n),pf(t,n)}function _f(){Sc.lineStart()}function yf(){gf(jc,Hc),Sc.lineEnd(),Za(sf)>ja&&(Uc=-(Fc=180)),Xc[0]=Uc,Xc[1]=Fc,Bc=null}function mf(t,n){return(n-=t)<0?n+360:n}function xf(t,n){return t[0]-n[0]}function bf(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function wf(t){var n,e,r,i,o,u,a;if(Ic=Fc=-(Uc=Dc=1/0),Vc=[],gc(t,lf),e=Vc.length){for(Vc.sort(xf),n=1,o=[r=Vc[0]];n<e;++n)bf(r,(i=Vc[n])[0])||bf(r,i[1])?(mf(r[0],i[1])>mf(r[0],r[1])&&(r[1]=i[1]),mf(i[0],r[1])>mf(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=mf(r[1],i[0]))>u&&(u=a,Uc=i[0],Fc=r[1])}return Vc=Xc=null,Uc===1/0||Dc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Uc,Dc],[Fc,Ic]]}var Mf={sphere:sc,point:Sf,lineStart:Tf,lineEnd:Cf,polygonStart:function(){Mf.lineStart=Ef,Mf.lineEnd=zf},polygonEnd:function(){Mf.lineStart=Tf,Mf.lineEnd=Cf}};function Sf(t,n){t*=$a;var e=Ja(n*=$a);Af(e*Ja(t),e*rc(t),rc(n))}function Af(t,n,e){++Wc,Zc+=(t-Zc)/Wc,Gc+=(n-Gc)/Wc,Qc+=(e-Qc)/Wc}function Tf(){Mf.point=kf}function kf(t,n){t*=$a;var e=Ja(n*=$a);af=e*Ja(t),cf=e*rc(t),ff=rc(n),Mf.point=Nf,Af(af,cf,ff)}function Nf(t,n){t*=$a;var e=Ja(n*=$a),r=e*Ja(t),i=e*rc(t),o=rc(n),u=Qa(oc((u=cf*o-ff*i)*u+(u=ff*r-af*o)*u+(u=af*i-cf*r)*u),af*r+cf*i+ff*o);$c+=u,Jc+=u*(af+(af=r)),Kc+=u*(cf+(cf=i)),tf+=u*(ff+(ff=o)),Af(af,cf,ff)}function Cf(){Mf.point=Sf}function Ef(){Mf.point=Pf}function zf(){Rf(of,uf),Mf.point=Sf}function Pf(t,n){of=t,uf=n,t*=$a,n*=$a,Mf.point=Rf;var e=Ja(n);af=e*Ja(t),cf=e*rc(t),ff=rc(n),Af(af,cf,ff)}function Rf(t,n){t*=$a;var e=Ja(n*=$a),r=e*Ja(t),i=e*rc(t),o=rc(n),u=cf*o-ff*i,a=ff*r-af*o,c=af*i-cf*r,f=oc(u*u+a*a+c*c),s=cc(f),l=f&&-s/f;nf+=l*u,ef+=l*a,rf+=l*c,$c+=s,Jc+=s*(af+(af=r)),Kc+=s*(cf+(cf=i)),tf+=s*(ff+(ff=o)),Af(af,cf,ff)}function Lf(t){Wc=$c=Zc=Gc=Qc=Jc=Kc=tf=nf=ef=rf=0,gc(t,Mf);var n=nf,e=ef,r=rf,i=n*n+e*e+r*r;return i<1e-12&&(n=Jc,e=Kc,r=tf,$c<ja&&(n=Zc,e=Gc,r=Qc),(i=n*n+e*e+r*r)<1e-12)?[NaN,NaN]:[Qa(e,n)*Wa,cc(r/oc(i))*Wa]}function Of(t){return function(){return t}}function qf(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}function Uf(t,n){return[t>Ha?t-Xa:t<-Ha?t+Xa:t,n]}function Df(t,n,e){return(t%=Xa)?n||e?qf(If(t),Yf(n,e)):If(t):n||e?Yf(n,e):Uf}function Ff(t){return function(n,e){return[(n+=t)>Ha?n-Xa:n<-Ha?n+Xa:n,e]}}function If(t){var n=Ff(t);return n.invert=Ff(-t),n}function Yf(t,n){var e=Ja(t),r=rc(t),i=Ja(n),o=rc(n);function u(t,n){var u=Ja(n),a=Ja(t)*u,c=rc(t)*u,f=rc(n),s=f*e+a*r;return[Qa(c*i-s*o,a*e-f*r),cc(s*i+c*o)]}return u.invert=function(t,n){var u=Ja(n),a=Ja(t)*u,c=rc(t)*u,f=rc(n),s=f*i-c*o;return[Qa(c*i+f*o,a*e+s*r),cc(s*e-a*r)]},u}function jf(t){function n(n){return(n=t(n[0]*$a,n[1]*$a))[0]*=Wa,n[1]
vendor: 5,105 bytes, line 1
1*=Wa,n}return t=Df(t[0]*$a,t[1]*$a,t.length>2?t[2]*$a:0),n.invert=function(n){return(n=t.invert(n[0]*$a,n[1]*$a))[0]*=Wa,n[1]*=Wa,n},n}function Hf(t,n,e,r,i,o){if(e){var u=Ja(n),a=rc(n),c=r*e;null==i?(i=n+r*Xa,o=n-c/2):(i=Bf(u,i),o=Bf(u,o),(r>0?i<o:i>o)&&(i+=r*Xa));for(var f,s=i;r>0?s>o:s<o;s-=c)f=Ec([u,-a*Ja(s),-a*rc(s)]),t.point(f[0],f[1])}}function Bf(t,n){(n=zc(n))[0]-=t,qc(n);var e=ac(-n[1]);return((-n[2]<0?-e:e)+Xa-ja)%Xa}function Vf(){var t,n,e=Of([0,0]),r=Of(90),i=Of(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=Wa,e[1]*=Wa}};function u(){var u=e.apply(this,arguments),a=r.apply(this,arguments)*$a,c=i.apply(this,arguments)*$a;return t=[],n=Df(-u[0]*$a,-u[1]*$a,0).invert,Hf(o,a,c,1),u={type:"Polygon",coordinates:[t]},t=n=null,u}return u.center=function(t){return arguments.length?(e="function"==typeof t?t:Of([+t[0],+t[1]]),u):e},u.radius=function(t){return arguments.length?(r="function"==typeof t?t:Of(+t),u):r},u.precision=function(t){return arguments.length?(i="function"==typeof t?t:Of(+t),u):i},u}function Xf(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:sc,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function Wf(t,n){return Za(t[0]-n[0])<ja&&Za(t[1]-n[1])<ja}function $f(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function Zf(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(Wf(r,u)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);i.lineEnd()}else a.push(e=new $f(r,t,null,!0)),c.push(e.o=new $f(r,null,e,!1)),a.push(e=new $f(u,t,null,!1)),c.push(e.o=new $f(u,null,e,!0))}})),a.length){for(c.sort(n),Gf(a),Gf(c),o=0,u=c.length;o<u;++o)c[o].e=e=!e;for(var f,s,l=a[0];;){for(var h=l,p=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,u=f.length;o<u;++o)i.point((s=f[o])[0],s[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(f=h.p.z,o=f.length-1;o>=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}}function Gf(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}Uf.invert=Uf;var Qf=Da();function Jf(t,n){var e=n[0],r=n[1],i=[rc(e),-Ja(e),0],o=0,u=0;Qf.reset();for(var a=0,c=t.length;a<c;++a)if(s=(f=t[a]).length)for(var f,s,l=f[s-1],h=l[0],p=l[1]/2+Va,d=rc(p),v=Ja(p),g=0;g<s;++g,h=y,d=x,v=b,l=_){var _=f[g],y=_[0],m=_[1]/2+Va,x=rc(m),b=Ja(m),w=y-h,M=w>=0?1:-1,S=M*w,A=S>Ha,T=d*x;if(Qf.add(Qa(T*M*rc(S),v*b+T*Ja(S))),o+=A?w+M*Xa:w,A^h>=e^y>=e){var k=Rc(zc(l),zc(_));qc(k);var N=Rc(i,k);qc(N);var C=(A^w>=0?-1:1)*cc(N[2]);(r>C||r===C&&(k[0]||k[1]))&&(u+=A^w>=0?1:-1)}}return(o<-1e-6||o<ja&&Qf<-1e-6)^1&u}function Kf(t,n,e,r){return function(i){var o,u,a,c=n(i),f=Xf(),s=n(f),l=!1,h={point:p,lineStart:v,lineEnd:g,polygonStart:function(){h.point=_,h.lineStart=y,h.lineEnd=m,u=[],o=[]},polygonEnd:function(){h.point=p,h.lineStart=v,h.lineEnd=g,u=D(u);var t=Jf(o,r);u.length?(l||(i.polygonStart(),l=!0),Zf(u,ns,t,e,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(n,e){t(n,e)&&i.point(n,e)}function d(t,n){c.point(t,n)}function v(){h.point=d,c.lineStart()}function g(){h.point=p,c.lineEnd()}function _(t,n){a.push([t,n]),s.point(t,n)}function y(){s.lineStart(),a=[]}function m(){_(a[0][0],a[0][1]),s.lineEnd();var t,n,e,r,c=s.clean(),h=f.result(),p=h.length;if(a.pop(),o.push(a),a=null,p)if(1&c){if((n=(e=h[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else p>1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(ts))}return h}}function ts(t){return t.length>1}function ns(t,n){return((t=t.x)[0]<0?t[1]-Ba-ja:Ba-t[1])-((n=n.x)[0]<0?n[1]-Ba-ja:Ba-n[1])}var es=Kf((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?Ha:-Ha,c=Za(o-e);Za(c-Ha)<ja?(t.point(e,r=(r+u)/2>0?Ba:-Ba),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=Ha&&(Za(e-i)<ja&&(e-=i*ja),Za(o-a)<ja&&(o-=a*ja),r=function(t,n,e,r){var i,o,u=rc(t-e);return Za(u)>ja?Ga((rc(n)*(o=Ja(r))*rc(e)-rc(r)*(i=Ja(n))*rc(t))/(i*o*u)):(n+r)/2}(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*Ba,r.point(-Ha,i),r.point(0,i),r.point(Ha,i),r.point(Ha,0),r.point(Ha,-i),r.point(0,-i),r.point(-Ha,-i),r.point(-Ha,0),r.point(-Ha,i);else if(Za(t[0]-n[0])>ja){var o=t[0]<n[0]?Ha:-Ha;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-Ha,-Ba]);function rs(t){var n=Ja(t),e=6*$a,r=n>0,i=Za(n)>ja;function o(t,e){return Ja(t)*Ja(e)>n}function u(t,e,r){var i=[1,0,0],o=Rc(zc(t),zc(e)),u=Pc(o,o),a=o[0],c=u-a*a;if(!c)return!r&&t;var f=n*u/c,s=-n*a/c,l=Rc(i,o),h=Oc(i,f);
vendor: 3,410 bytes, line 1
1Lc(h,Oc(o,s));var p=l,d=Pc(h,p),v=Pc(p,p),g=d*d-v*(Pc(h,h)-1);if(!(g<0)){var _=oc(g),y=Oc(p,(-d-_)/v);if(Lc(y,h),y=Ec(y),!r)return y;var m,x=t[0],b=e[0],w=t[1],M=e[1];b<x&&(m=x,x=b,b=m);var S=b-x,A=Za(S-Ha)<ja;if(!A&&M<w&&(m=w,w=M,M=m),A||S<ja?A?w+M>0^y[1]<(Za(y[0]-x)<ja?w:M):w<=y[1]&&y[1]<=M:S>Ha^(x<=y[0]&&y[0]<=b)){var T=Oc(p,(-d+_)/v);return Lc(T,h),[y,Ec(T)]}}}function a(n,e){var i=r?t:Ha-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return Kf(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var p,d=[l,h],v=o(l,h),g=r?v?0:a(l,h):v?a(l+(l<0?Ha:-Ha),h):0;if(!n&&(f=c=v)&&t.lineStart(),v!==c&&(!(p=u(n,d))||Wf(n,p)||Wf(d,p))&&(d[0]+=ja,d[1]+=ja,v=o(d[0],d[1])),v!==c)s=0,v?(t.lineStart(),p=u(d,n),t.point(p[0],p[1])):(p=u(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(i&&n&&r^v){var _;g&e||!(_=u(d,n,!0))||(s=0,r?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!v||n&&Wf(n,d)||t.point(d[0],d[1]),n=d,c=v,e=g},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){Hf(o,t,e,i,n,r)}),r?[0,-t]:[-Ha,t-Ha])}var is=1e9,os=-is;function us(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,f){var s=0,l=0;if(null==i||(s=u(i,a))!==(l=u(o,a))||c(i,o)<0^a>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+a+4)%4)!==l);else f.point(o[0],o[1])}function u(r,i){return Za(r[0]-t)<ja?i>0?0:3:Za(r[0]-e)<ja?i>0?2:1:Za(r[1]-n)<ja?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){var c,f,s,l,h,p,d,v,g,_,y,m=u,x=Xf(),b={point:w,lineStart:function(){b.point=M,f&&f.push(s=[]),_=!0,g=!1,d=v=NaN},lineEnd:function(){c&&(M(l,h),p&&g&&x.rejoin(),c.push(x.result())),b.point=w,g&&m.lineEnd()},polygonStart:function(){m=x,c=[],f=[],y=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;e<i;++e)for(var o,u,a=f[e],c=1,s=a.length,l=a[0],h=l[0],p=l[1];c<s;++c)o=h,u=p,h=(l=a[c])[0],p=l[1],u<=r?p>r&&(h-o)*(r-u)>(p-u)*(t-o)&&++n:p<=r&&(h-o)*(r-u)<(p-u)*(t-o)&&--n;return n}(),e=y&&n,i=(c=D(c)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&Zf(c,a,n,o,u),u.polygonEnd()),m=u,c=f=s=null}};function w(t,n){i(t,n)&&m.point(t,n)}function M(o,u){var a=i(o,u);if(f&&s.push([o,u]),_)l=o,h=u,p=a,_=!1,a&&(m.lineStart(),m.point(o,u));else if(a&&g)m.point(o,u);else{var c=[d=Math.max(os,Math.min(is,d)),v=Math.max(os,Math.min(is,v))],x=[o=Math.max(os,Math.min(is,o)),u=Math.max(os,Math.min(is,u))];!function(t,n,e,r,i,o){var u,a=t[0],c=t[1],f=0,s=1,l=n[0]-a,h=n[1]-c;if(u=e-a,l||!(u>0)){if(u/=l,l<0){if(u<f)return;u<s&&(s=u)}else if(l>0){if(u>s)return;u>f&&(f=u)}if(u=i-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u<f)return;u<s&&(s=u)}if(u=r-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<s&&(s=u)}else if(h>0){if(u>s)return;u>f&&(f=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<s&&(s=u)}return f>0&&(t[0]=a+f*l,t[1]=c+f*h),s<1&&(n[0]=a+s*l,n[1]=c+s*h),!0}}}}}(c,x,t,n,e,r)?a&&(m.lineStart(),m.point(o,u),y=!1):(g||(m.lineStart(),m.point(c[0],c[1])),m.point(x[0],x[1]),a||m.lineEnd(),y=!1)}d=o,v=u,g=a}return b}}function as(){var t,n,e,r=0,i=0,o=960,u=500;
1return e={stream:function(e){return t&&n===e?t:t=us(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}}var cs,fs,ss,ls=Da(),hs={sphere:sc,point:sc,lineStart:function(){hs.point=ds,hs.lineEnd=ps},lineEnd:sc,polygonStart:sc,polygonEnd:sc};function ps(){hs.point=hs.lineEnd=sc}function ds(t,n){cs=t*=$a,fs=rc(n*=$a),ss=Ja(n),hs.point=vs}function vs(t,n){t*=$a;var e=rc(n*=$a),r=Ja(n),i=Za(t-cs),o=Ja(i),u=r*rc(i),a=ss*e-fs*r*o,c=fs*e+ss*r*o;ls.add(Qa(oc(u*u+a*a),c)),cs=t,fs=e,ss=r}function gs(t){return ls.reset(),gc(t,hs),+ls}var _s=[null,null],ys={type:"LineString",coordinates:_s};function ms(t,n){return _s[0]=t,_s[1]=n,gs(ys)}var xs={Feature:function(t,n){return ws(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(ws(e[r].geometry,n))return!0;return!1}},bs={Sphere:function(){return!0},Point:function(t,n){return Ms(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Ms(e[r],n))return!0;return!1},LineString:function(t,n){return Ss(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Ss(e[r],n))return!0;return!1},Polygon:function(t,n){return As(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(As(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(ws(e[r],n))return!0;return!1}};function ws(t,n){return!(!t||!bs.hasOwnProperty(t.type))&&bs[t.type](t,n)}function Ms(t,n){return 0===ms(t,n)}function Ss(t,n){var e=ms(t[0],t[1]);return ms(t[0],n)+ms(n,t[1])<=e+ja}function As(t,n){return!!Jf(t.map(Ts),ks(n))}function Ts(t){return(t=t.map(ks)).pop(),t}function ks(t){return[t[0]*$a,t[1]*$a]}function Ns(t,n){return(t&&xs.hasOwnProperty(t.type)?xs[t.type]:ws)(t,n)}function Cs(t,n,e){var r=M(t,n-ja,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function Es(t,n,e){var r=M(t,n-ja,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function zs(){var t,n,e,r,i,o,u,a,c,f,s,l,h=10,p=h,d=90,v=360,g=2.5;function _(){return{type:"MultiLineString",coordinates:y()}}function y(){return M(Ka(r/d)*d,e,d).map(s).concat(M(Ka(a/v)*v,u,v).map(l)).concat(M(Ka(n/h)*h,t,h).filter((function(t){return Za(t%d)>ja})).map(c)).concat(M(Ka(o/p)*p,i,p).filter((function(t){return Za(t%v)>ja})).map(f))}return _.lines=function(){return y().map((function(t){return{type:"LineString",coordinates:t}}))},_.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(u).slice(1),s(e).reverse().slice(1),l(a).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),_.precision(g)):[[r,a],[e,u]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),_.precision(g)):[[n,o],[t,i]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(d=+t[0],v=+t[1],_):[d,v]},_.stepMinor=function(t){return arguments.length?(h=+t[0],p=+t[1],_):[h,p]},_.precision=function(h){return arguments.length?(g=+h,c=Cs(o,i,90),f=Es(n,t,g),s=Cs(a,u,90),l=Es(r,e,g),_):g},_.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Ps(){return zs()()}function Rs(t,n){var e=t[0]*$a,r=t[1]*$a,i=n[0]*$a,o=n[1]*$a,u=Ja(r),a=rc(r),c=Ja(o),f=rc(o),s=u*Ja(e),l=u*rc(e),h=c*Ja(i),p=c*rc(i),d=2*cc(oc(fc(o-r)+u*c*fc(i-e))),v=rc(d),g=d?function(t){var n=rc(t*=d)/v,e=rc(d-t)/v,r=e*s+n*h,i=e*l+n*p,o=e*a+n*f;return[Qa(i,r)*Wa,Qa(o,oc(r*r+i*i))*Wa]}:function(){return[e*Wa,r*Wa]};return g.distance=d,g}function Ls(t){return t}var Os,qs,Us,Ds,Fs=Da(),Is=Da(),Ys={point:sc,lineStart:sc,lineEnd:sc,polygonStart:function(){Ys.lineStart=js,Ys.lineEnd=Vs},polygonEnd:function(){Ys.lineStart=Ys.lineEnd=Ys.point=sc,Fs.add(Za(Is)),Is.reset()},result:function(){var t=Fs/2;return Fs.reset(),t}};function js(){Ys.point=Hs}
vendor: 5,321 bytes, line 1
1function Hs(t,n){Ys.point=Bs,Os=Us=t,qs=Ds=n}function Bs(t,n){Is.add(Ds*t-Us*n),Us=t,Ds=n}function Vs(){Bs(Os,qs)}var Xs,Ws,$s,Zs,Gs=Ys,Qs=1/0,Js=Qs,Ks=-Qs,tl=Ks,nl={point:function(t,n){t<Qs&&(Qs=t),t>Ks&&(Ks=t),n<Js&&(Js=n),n>tl&&(tl=n)},lineStart:sc,lineEnd:sc,polygonStart:sc,polygonEnd:sc,result:function(){var t=[[Qs,Js],[Ks,tl]];return Ks=tl=-(Js=Qs=1/0),t}},el=nl,rl=0,il=0,ol=0,ul=0,al=0,cl=0,fl=0,sl=0,ll=0,hl={point:pl,lineStart:dl,lineEnd:_l,polygonStart:function(){hl.lineStart=yl,hl.lineEnd=ml},polygonEnd:function(){hl.point=pl,hl.lineStart=dl,hl.lineEnd=_l},result:function(){var t=ll?[fl/ll,sl/ll]:cl?[ul/cl,al/cl]:ol?[rl/ol,il/ol]:[NaN,NaN];return rl=il=ol=ul=al=cl=fl=sl=ll=0,t}};function pl(t,n){rl+=t,il+=n,++ol}function dl(){hl.point=vl}function vl(t,n){hl.point=gl,pl($s=t,Zs=n)}function gl(t,n){var e=t-$s,r=n-Zs,i=oc(e*e+r*r);ul+=i*($s+t)/2,al+=i*(Zs+n)/2,cl+=i,pl($s=t,Zs=n)}function _l(){hl.point=pl}function yl(){hl.point=xl}function ml(){bl(Xs,Ws)}function xl(t,n){hl.point=bl,pl(Xs=$s=t,Ws=Zs=n)}function bl(t,n){var e=t-$s,r=n-Zs,i=oc(e*e+r*r);ul+=i*($s+t)/2,al+=i*(Zs+n)/2,cl+=i,fl+=(i=Zs*t-$s*n)*($s+t),sl+=i*(Zs+n),ll+=3*i,pl($s=t,Zs=n)}var wl=hl;function Ml(t){this._context=t}Ml.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,Xa)}},result:sc};var Sl,Al,Tl,kl,Nl,Cl=Da(),El={point:sc,lineStart:function(){El.point=zl},lineEnd:function(){Sl&&Pl(Al,Tl),El.point=sc},polygonStart:function(){Sl=!0},polygonEnd:function(){Sl=null},result:function(){var t=+Cl;return Cl.reset(),t}};function zl(t,n){El.point=Pl,Al=kl=t,Tl=Nl=n}function Pl(t,n){kl-=t,Nl-=n,Cl.add(oc(kl*kl+Nl*Nl)),kl=t,Nl=n}var Rl=El;function Ll(){this._string=[]}function Ol(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function ql(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),gc(t,e(r))),r.result()}return o.area=function(t){return gc(t,e(Gs)),Gs.result()},o.measure=function(t){return gc(t,e(Rl)),Rl.result()},o.bounds=function(t){return gc(t,e(el)),el.result()},o.centroid=function(t){return gc(t,e(wl)),wl.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,Ls):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new Ll):new Ml(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)}function Ul(t){return{stream:Dl(t)}}function Dl(t){return function(n){var e=new Fl;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Fl(){}function Il(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),gc(e,t.stream(el)),n(el.result()),null!=r&&t.clipExtent(r),t}function Yl(t,n,e){return Il(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])}),e)}function jl(t,n,e){return Yl(t,[[0,0],n],e)}function Hl(t,n,e){return Il(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,u=-i*e[0][1];t.scale(150*i).translate([o,u])}),e)}function Bl(t,n,e){return Il(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],u=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,u])}),e)}Ll.prototype={_radius:4.5,_circle:Ol(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Ol(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Fl.prototype={constructor:Fl,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Vl=Ja(30*$a);function Xl(t,n){return+n?function(t,n){function e(r,i,o,u,a,c,f,s,l,h,p,d,v,g){var _=f-r,y=s-i,m=_*_+y*y;if(m>4*n&&v--){var x=u+h,b=a+p,w=c+d,M=oc(x*x+b*b+w*w),S=cc(w/=M),A=Za(Za(w)-1)<ja||Za(o-l)<ja?(o+l)/2:Qa(b,x),T=t(A,S),k=T[0],N=T[1],C=k-r,E=N-i,z=y*C-_*E;(z*z/m>n||Za((_*C+y*E)/m-.5)>.3||u*h+a*p+c*d<Vl)&&(e(r,i,o,u,a,c,k,N,A,x/=M,b/=M,w,v,g),g.point(k,N),e(k,N,A,x,b,w,f,s,l,h,p,d,v,g))}}return function(n){var r,i,o,u,a,c,f,s,l,h,p,d,v={point:g,lineStart:_,lineEnd:m,polygonStart:function(){n.pol
1ygonStart(),v.lineStart=x},polygonEnd:function(){n.polygonEnd(),v.lineStart=_}};function g(e,r){e=t(e,r),n.point(e[0],e[1])}function _(){s=NaN,v.point=y,n.lineStart()}function y(r,i){var o=zc([r,i]),u=t(r,i);e(s,l,f,h,p,d,s=u[0],l=u[1],f=r,h=o[0],p=o[1],d=o[2],16,n),n.point(s,l)}function m(){v.point=g,n.lineEnd()}function x(){_(),v.point=b,v.lineEnd=w}function b(t,n){y(r=t,n),i=s,o=l,u=h,a=p,c=d,v.point=y}function w(){e(s,l,f,h,p,d,i,o,r,u,a,c,16,n),v.lineEnd=m,m()}return v}}(t,n):function(t){return Dl({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}var Wl=Dl({point:function(t,n){this.stream.point(t*$a,n*$a)}});function $l(t){return Zl((function(){return t}))()}function Zl(t){var n,e,r,i,o,u,a,c,f,s,l=150,h=480,p=250,d=0,v=0,g=0,_=0,y=0,m=null,x=es,b=null,w=Ls,M=.5,S=Xl(k,M);function A(t){return[(t=o(t[0]*$a,t[1]*$a))[0]*l+e,r-t[1]*l]}function T(t){return(t=o.invert((t[0]-e)/l,(r-t[1])/l))&&[t[0]*Wa,t[1]*Wa]}function k(t,i){return[(t=n(t,i))[0]*l+e,r-t[1]*l]}function N(){o=qf(i=Df(g,_,y),n);var t=n(d,v);return e=h-t[0]*l,r=p+t[1]*l,C()}function C(){return f=s=null,A}return A.stream=function(t){return f&&s===t?f:f=Wl(function(t){return Dl({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(i)(x(S(w(s=t)))))},A.preclip=function(t){return arguments.length?(x=t,m=void 0,C()):x},A.postclip=function(t){return arguments.length?(w=t,b=u=a=c=null,C()):w},A.clipAngle=function(t){return arguments.length?(x=+t?rs(m=t*$a):(m=null,es),C()):m*Wa},A.clipExtent=function(t){return arguments.length?(w=null==t?(b=u=a=c=null,Ls):us(b=+t[0][0],u=+t[0][1],a=+t[1][0],c=+t[1][1]),C()):null==b?null:[[b,u],[a,c]]},A.scale=function(t){return arguments.length?(l=+t,N()):l},A.translate=function(t){return arguments.length?(h=+t[0],p=+t[1],N()):[h,p]},A.center=function(t){return arguments.length?(d=t[0]%360*$a,v=t[1]%360*$a,N()):[d*Wa,v*Wa]},A.rotate=function(t){return arguments.length?(g=t[0]%360*$a,_=t[1]%360*$a,y=t.length>2?t[2]%360*$a:0,N()):[g*Wa,_*Wa,y*Wa]},A.precision=function(t){return arguments.length?(S=Xl(k,M=t*t),C()):oc(M)},A.fitExtent=function(t,n){return Yl(A,t,n)},A.fitSize=function(t,n){return jl(A,t,n)},A.fitWidth=function(t,n){return Hl(A,t,n)},A.fitHeight=function(t,n){return Bl(A,t,n)},function(){return n=t.apply(this,arguments),A.invert=n.invert&&T,N()}}function Gl(t){var n=0,e=Ha/3,r=Zl(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*$a,e=t[1]*$a):[n*Wa,e*Wa]},i}function Ql(t,n){var e=rc(t),r=(e+rc(n))/2;if(Za(r)<ja)return function(t){var n=Ja(t);function e(t,e){return[t*n,rc(e)/n]}return e.invert=function(t,e){return[t/n,cc(e*n)]},e}(t);var i=1+e*(2*r-e),o=oc(i)/r;function u(t,n){var e=oc(i-2*r*rc(n))/r;return[e*rc(t*=r),o-e*Ja(t)]}return u.invert=function(t,n){var e=o-n;return[Qa(t,Za(e))/r*ic(e),cc((i-(t*t+e*e)*r*r)/(2*r))]},u}
vendor: 2,221 bytes, line 1
1function Jl(){return Gl(Ql).scale(155.424).center([0,33.6442])}function Kl(){return Jl().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function th(){var t,n,e,r,i,o,u=Kl(),a=Jl().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=Jl().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,n){o=[t,n]}};function s(t){var n=t[0],u=t[1];return o=null,e.point(n,u),o||(r.point(n,u),o)||(i.point(n,u),o)}function l(){return t=n=null,s}return s.invert=function(t){var n=u.scale(),e=u.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:u).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[u.stream(n=e),a.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},s.precision=function(t){return arguments.length?(u.precision(t),a.precision(t),c.precision(t),l()):u.precision()},s.scale=function(t){return arguments.length?(u.scale(t),a.scale(.35*t),c.scale(t),s.translate(u.translate())):u.scale()},s.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),o=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[o-.455*n,s-.238*n],[o+.455*n,s+.238*n]]).stream(f),r=a.translate([o-.307*n,s+.201*n]).clipExtent([[o-.425*n+ja,s+.12*n+ja],[o-.214*n-ja,s+.234*n-ja]]).stream(f),i=c.translate([o-.205*n,s+.212*n]).clipExtent([[o-.214*n+ja,s+.166*n+ja],[o-.115*n-ja,s+.234*n-ja]]).stream(f),l()},s.fitExtent=function(t,n){return Yl(s,t,n)},s.fitSize=function(t,n){return jl(s,t,n)},s.fitWidth=function(t,n){return Hl(s,t,n)},s.fitHeight=function(t,n){return Bl(s,t,n)},s.scale(1070)}function nh(t){return function(n,e){var r=Ja(n),i=Ja(e),o=t(r*i);return[o*i*rc(n),o*rc(e)]}}function eh(t){return function(n,e){var r=oc(n*n+e*e),i=t(r),o=rc(i),u=Ja(i);return[Qa(n*o,r*u),cc(r&&e*o/r)]}}var rh=nh((function(t){return oc(2/(1+t))}));
1function ih(){return $l(rh).scale(124.75).clipAngle(179.999)}rh.invert=eh((function(t){return 2*cc(t/2)}));var oh=nh((function(t){return(t=ac(t))&&t/rc(t)}));function uh(){return $l(oh).scale(79.4188).clipAngle(179.999)}function ah(t,n){return[t,nc(uc((Ba+n)/2))]}function ch(){return fh(ah).scale(961/Xa)}function fh(t){var n,e,r,i=$l(t),o=i.center,u=i.scale,a=i.translate,c=i.clipExtent,f=null;function s(){var o=Ha*u(),a=i(jf(i.rotate()).invert([0,0]));return c(null==f?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:t===ah?[[Math.max(a[0]-o,f),n],[Math.min(a[0]+o,e),r]]:[[f,Math.max(a[1]-o,n)],[e,Math.min(a[1]+o,r)]])}return i.scale=function(t){return arguments.length?(u(t),s()):u()},i.translate=function(t){return arguments.length?(a(t),s()):a()},i.center=function(t){return arguments.length?(o(t),s()):o()},i.clipExtent=function(t){return arguments.length?(null==t?f=n=e=r=null:(f=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),s()):null==f?null:[[f,n],[e,r]]},s()}function sh(t){return uc((Ba+t)/2)}function lh(t,n){var e=Ja(t),r=t===n?rc(t):nc(e/Ja(n))/nc(sh(n)/sh(t)),i=e*ec(sh(t),r)/r;if(!r)return ah;function o(t,n){i>0?n<-Ba+ja&&(n=-Ba+ja):n>Ba-ja&&(n=Ba-ja);var e=i/ec(sh(n),r);return[e*rc(r*t),i-e*Ja(r*t)]}return o.invert=function(t,n){var e=i-n,o=ic(r)*oc(t*t+e*e);return[Qa(t,Za(e))/r*ic(e),2*Ga(ec(i/o,1/r))-Ba]},o}function hh(){return Gl(lh).scale(109.5).parallels([30,30])}function ph(t,n){return[t,n]}
1function dh(){return $l(ph).scale(152.63)}function vh(t,n){var e=Ja(t),r=t===n?rc(t):(e-Ja(n))/(n-t),i=e/r+t;if(Za(r)<ja)return ph;function o(t,n){var e=i-n,o=r*t;return[e*rc(o),i-e*Ja(o)]}return o.invert=function(t,n){var e=i-n;return[Qa(t,Za(e))/r*ic(e),i-ic(r)*oc(t*t+e*e)]},o}function gh(){return Gl(vh).scale(131.154).center([0,13.9389])}function _h(t,n){var e=Ja(n),r=Ja(t)*e;return[e*rc(t)/r,rc(n)/r]}function yh(){return $l(_h).scale(144.049).clipAngle(60)}function mh(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?Ls:Dl({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}function xh(){var t,n,e,r,i,o,u=1,a=0,c=0,f=1,s=1,l=Ls,h=null,p=Ls;function d(){return r=i=null,o}return o={stream:function(t){return r&&i===t?r:r=l(p(i=t))},postclip:function(r){return arguments.length?(p=r,h=t=n=e=null,d()):p},clipExtent:function(r){return arguments.length?(p=null==r?(h=t=n=e=null,Ls):us(h=+r[0][0],t=+r[0][1],n=+r[1][0],e=+r[1][1]),d()):null==h?null:[[h,t],[n,e]]},scale:function(t){return arguments.length?(l=mh((u=+t)*f,u*s,a,c),d()):u},translate:function(t){return arguments.length?(l=mh(u*f,u*s,a=+t[0],c=+t[1]),d()):[a,c]},reflectX:function(t){return arguments.length?(l=mh(u*(f=t?-1:1),u*s,a,c),d()):f<0},reflectY:function(t){return arguments.length?(l=mh(u*f,u*(s=t?-1:1),a,c),d()):s<0},fitExtent:function(t,n){return Yl(o,t,n)},fitSize:function(t,n){return jl(o,t,n)},fitWidth:function(t,n){return Hl(o,t,n)},fitHeight:function(t,n){return Bl(o,t,n)}}}function bh(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}
vendor: 8,781 bytes, line 1
1function wh(){return $l(bh).scale(175.295)}function Mh(t,n){return[Ja(n)*rc(t),rc(n)]}function Sh(){return $l(Mh).scale(249.5).clipAngle(90.000001)}function Ah(t,n){var e=Ja(n),r=1+Ja(t)*e;return[e*rc(t)/r,rc(n)/r]}function Th(){return $l(Ah).scale(250).clipAngle(142)}function kh(t,n){return[nc(uc((Ba+n)/2)),-t]}function Nh(){var t=fh(kh),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function Ch(t,n){return t.parent===n.parent?1:2}function Eh(t,n){return t+n.x}function zh(t,n){return Math.max(t,n.y)}function Ph(){var t=Ch,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Eh,0)/t.length}(e),n.y=function(t){return 1+t.reduce(zh,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=a.x-t(a,c)/2,s=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Rh(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Lh(t,n){var e,r,i,o,u,a=new Dh(t),c=+t.value&&(a.value=t.value),f=[a];for(null==n&&(n=Oh);e=f.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)f.push(r=e.children[o]=new Dh(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(Uh)}function Oh(t){return t.children}function qh(t){t.data=t.data.data}function Uh(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Dh(t){this.data=t,this.depth=this.height=0,this.parent=null}oh.invert=eh((function(t){return t})),ah.invert=function(t,n){return[t,2*Ga(tc(n))-Ba]},ph.invert=ph,_h.invert=eh(Ga),bh.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(.028874*o-.044475-.005916*u)))-n)/(1.007226+o*(.045255+u*(.259866*o-.311325-.005916*11*u)))}while(Za(e)>ja&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},Mh.invert=eh(cc),Ah.invert=eh((function(t){return 2*Ga(t)})),kh.invert=function(t,n){return[-n,2*Ga(tc(t))-Ba]},Dh.prototype=Lh.prototype={constructor:Dh,count:function(){return this.eachAfter(Rh)},each:function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r])}while(u.length);return this},eachAfter:function(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=u.pop();)t(i);return this},eachBefore:function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Lh(this).eachBefore(qh)}};var Fh=Array.prototype.slice;function Ih(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(Fh.call(t))).length,o=[];r<i;)n=t[r],e&&Hh(e,n)?++r:(e=Vh(o=Yh(o,n)),r=0);return e}function Yh(t,n){var e,r;if(Bh(n,t))return[n];for(e=0;e<t.length;++e)if(jh(n,t[e])&&Bh(Xh(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(jh(Xh(t[e],t[r]),n)&&jh(Xh(t[e],n),t[r])&&jh(Xh(t[r],n),t[e])&&Bh(Wh(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function jh(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function Hh(t,n){var e=t.r-n.r+1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function Bh(t,n){for(var e=0;e<n.length;++e)if(!Hh(t,n[e]))return!1;return!0}function Vh(t){switch(t.length){case 1:return function(t){return{x:t.x,y:t.y,r:t.r}}(t[0]);case 2:return Xh(t[0],t[1]);case 3:return Wh(t[0],t[1],t[2])}}function Xh(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,f=u-r,s=a-i,l=Math.sqrt(c*c+f*f);return{x:(e+o+c/l*s)/2,y:(r+u+f/l*s)/2,r:(l+i+a)/2}}function Wh(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,f=e.x,s=e.y,l=e.r,h=r-u,p=r-f,d=i-a,v=i-s,g=c-o,_=l-o,y=r*r+i*i-o*o,m=y-u*u-a*a+c*c,x=y-f*f-s*s+l*l,b=p*d-h*v,w=(d*x-v*m)/(2*b)-r,M=(v*g-d*_)/b,S=(p*m-h*x)/(2*b)-i,A=(h*_-p*g)/b,T=M*M+A*A-1,k=2*(o+w*M+S*A),N=w*w+S*S-o*o,C=-(T?(k+Math.sqrt(k*k-4*T*N))/(2*T):N/k);return{x:r+w+M*C,y:i+S+A*C,r:C}}function $h(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,u=t.r+e.r,a=n.x-r,c=n.y-i,f=a*a+c*c;if(f){var s=.5+((u*=u)-(o*=o))/(2*f),l=Math.sqrt(Math.max(0,2*o*(u+f)-(u-=f)*u-o*o))/(2*f);e.x=r+s*a+l*c,e.y=i+s*c-l*a}else e.x=r+u,e.y=i}function Zh(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function Gh(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function Qh(t){this._=t,this.next=null,this.previous=null}function Jh(t){if(!(i=t.length))return 0;var n,e,r,i,o,u,a,c,f,s,l;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;$h(e,n,r=t[2]),n=new Qh(n),e=new Qh(e),r=new Qh(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a<i;++a){$h(n._,e._,r=t[a]),r=new Qh(r),c=e.next,f=n.previous,s=e._.r,l=n._.r;do{if(s<=l){if(Zh(c._,r._)){e=c,n.next=e,e.previous=n,--a;continue t}s+=c._.r,c=c.next}else{if(Zh(f._,r._)){(n=f).next=e,e.previous=n,--a;continue t}l+=f._.r,f=f.previous}}while(c!==f.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,o=Gh(n);(r=r.next)!==e;)(u=Gh(r))<o&&(n=r,o=u);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=Ih(n),a=0;a<i;++a)(n=t[a]).x-=r.x,n.y-=r.y;return r.r}function Kh(t){return Jh(t),t}function tp(t){return null==t?null:np(t)}function np(t){if("function"!=typeof t)throw new Error;return t}function ep(){return 0}function rp(t){return function(){return t}}function ip(t){return Math.sqrt(t.value)}function op(){var t=null,n=1,e=1,r=ep;function i(i){return i.x=n/2,i.y=e/2,t?i.eachBefore(up(t)).eachAfter(ap(r,.5)).eachBefore(cp(1)):i.eachBefore(up(ip)).eachAfter(ap(ep,1)).eachAfter(ap(r,i.r/Math.min(n,e))).eachBefore(cp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=tp(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:rp(+t),i):r},i}function up(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function ap(t,n){return function(e){if(r=e.children){var r,i,o,u=r.length,a=t(e)*n||0;if(a)for(i=0;i<u;++i)r[i].r+=a;if(o=Jh(r),a)for(i=0;i<u;++i)r[i].r-=a;e.r=o+a}}}function cp(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function fp(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function sp(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*f}function lp(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&sp(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,u=r.x1-e,a=r.y1-e;u<i&&(i=u=(i+u)/2),a<o&&(o=a=(o+a)/2),r.x0=i,r.y0=o,r.x1=u,r.y1=a}}(n,o)),r&&i.eachBefore(fp),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(t){return arguments.length?(e=+t,i):e},i}var hp={depth:-1},pp={};function dp(t){return t.id}function vp(t){return t.parentId}function gp(){var t=dp,n=vp;function e(e){var r,i,o,u,a,c,f,s=e.length,l=new Array(s),h={};for(i=0;i<s;++i)r=e[i],a=l[i]=new Dh(r),null!=(c=t(r,i,e))&&(c+="")&&(h[f="$"+(a.id=c)]=f in h?pp:a);for(i=0;i<s;
vendor: 4,953 bytes, line 1
1++i)if(a=l[i],null!=(c=n(e[i],i,e))&&(c+="")){if(!(u=h["$"+c]))throw new Error("missing: "+c);if(u===pp)throw new Error("ambiguous: "+c);u.children?u.children.push(a):u.children=[a],a.parent=u}else{if(o)throw new Error("multiple roots");o=a}if(!o)throw new Error("no root");if(o.parent=hp,o.eachBefore((function(t){t.depth=t.parent.depth+1,--s})).eachBefore(Uh),o.parent=null,s>0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=np(n),e):t},e.parentId=function(t){return arguments.length?(n=np(t),e):n},e}function _p(t,n){return t.parent===n.parent?1:2}function yp(t){var n=t.children;return n?n[0]:t.t}function mp(t){var n=t.children;return n?n[n.length-1]:t.t}function xp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function bp(t,n,e){return t.a.parent===n.parent?t.a:e}function wp(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Mp(){var t=_p,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,u=new wp(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new wp(r[i],i)),e.parent=n;return(u.parent=new wp(null,0)).children=[u],u}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(u),r)i.eachBefore(a);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.x<f.x&&(f=t),t.x>s.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,p=h-f.x,d=n/(s.x+h+p),v=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+p)*d,t.y=t.depth*v}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,u=n,a=e,c=o.parent.children[0],f=o.m,s=u.m,l=a.m,h=c.m;a=mp(a),o=yp(o),a&&o;)c=yp(c),(u=mp(u)).a=n,(i=a.z+l-o.z-f+t(a._,o._))>0&&(xp(bp(a,n,r),n,i),f+=i,s+=i),l+=a.m,f+=o.m,h+=c.m,s+=u.m;a&&!mp(u)&&(u.t=a,u.m+=l-s),o&&!yp(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Sp(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(i-e)/t.value;++a<c;)(o=u[a]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*f}wp.prototype=Object.create(Dh.prototype);var Ap=(1+Math.sqrt(5))/2;function Tp(t,n,e,r,i,o){for(var u,a,c,f,s,l,h,p,d,v,g,_=[],y=n.children,m=0,x=0,b=y.length,w=n.value;m<b;){c=i-e,f=o-r;do{s=y[x++].value}while(!s&&x<b);for(l=h=s,g=s*s*(v=Math.max(f/c,c/f)/(w*t)),d=Math.max(h/g,g/l);x<b;++x){if(s+=a=y[x].value,a<l&&(l=a),a>h&&(h=a),g=s*s*v,(p=Math.max(h/g,g/l))>d){s-=a;break}d=p}_.push(u={value:s,dice:c<f,children:y.slice(m,x)}),u.dice?sp(u,e,r,i,w?r+=f*s/w:o):Sp(u,e,r,w?e+=c*s/w:i,o),w-=s,m=x}return _}var kp=function t(n){function e(t,e,r,i,o){Tp(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Ap);function Np(){var t=kp,n=!1,e=1,r=1,i=[0],o=ep,u=ep,a=ep,c=ep,f=ep;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(fp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l<r&&(r=l=(r+l)/2),h<s&&(s=h=(s+h)/2),n.x0=r,n.y0=s,n.x1=l,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=f(n)-e,s+=u(n)-e,(l-=a(n)-e)<r&&(r=l=(r+l)/2),(h-=c(n)-e)<s&&(s=h=(s+h)/2),t(n,r,s,l,h))}return s.round=function(t){return arguments.length?(n=!!t,s):n},s.size=function(t){return arguments.length?(e=+t[0],r=+t[1],s):[e,r]},s.tile=function(n){return arguments.length?(t=np(n),s):t},s.padding=function(t){return arguments.length?s.paddingInner(t).paddingOuter(t):s.paddingInner()},s.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:rp(+t),s):o},s.paddingOuter=function(t){return arguments.length?s.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):s.paddingTop()},s.paddingTop=function(t){return arguments.length?(u="function"==typeof t?t:rp(+t),s):u},s.paddingRight=function(t){return arguments.length?(a="function"==typeof t?t:rp(+t),s):a},s.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:rp(+t),s):c},s.paddingLeft=function(t){return arguments.length?(f="function"==typeof t?t:rp(+t),s):f},s}function Cp(t,n,e,r,i){var o,u,a=t.children,c=a.length,f=new Array(c+1);for(f[0]=u=o=0;o<c;++o)f[o+1]=u+=a[o].value;!function t(n,e,r,i,o,u,c){if(n>=e-1){var s=a[n];return s.x0=i,s.y0=o,s.x1=u,void(s.y1=c)}for(var l=f[n],h=r/2+l,p=n+1,d=e-1;p<d;){var v=p+d>>>1;f[v]<h?p=v+1:d=v}h-f[p-1]<f[p]-h&&n+1<p&&--p;var g=f[p]-l,_=r-g;if(u-i>c-o){var y=(i*_+u*g)/r;t(n,p,g,i,o,y,c),t(p,e,_,y,o,u,c)}else{var m=(o*_+c*g)/r;
1t(n,p,g,i,o,u,m),t(p,e,_,i,m,u,c)}}(0,c,t.value,n,e,r,i)}function Ep(t,n,e,r,i){(1&t.depth?Sp:sp)(t,n,e,r,i)}var zp=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,f,s,l=-1,h=u.length,p=t.value;++l<h;){for(c=(a=u[l]).children,f=a.value=0,s=c.length;f<s;++f)a.value+=c[f].value;a.dice?sp(a,e,r,i,r+=(o-r)*a.value/p):Sp(a,e,r,e+=(i-e)*a.value/p,o),p-=a.value}else t._squarify=u=Tp(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Ap);function Pp(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2}function Rp(t){for(var n,e,r=-1,i=t.length,o=0,u=0,a=t[i-1],c=0;++r<i;)n=a,a=t[r],c+=e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return[o/(c*=3),u/c]}function Lp(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function Op(t,n){return t[0]-n[0]||t[1]-n[1]}function qp(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&Lp(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function Up(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(Op),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=qp(r),u=qp(i),a=u[0]===o[0],c=u[u.length-1]===o[o.length-1],f=[];for(n=o.length-1;n>=0;--n)f.push(t[r[o[n]][2]]);for(n=+a;n<u.length-c;++n)f.push(t[r[u[n]][2]]);return f}function Dp(t,n){for(var e,r,i=t.length,o=t[i-1],u=n[0],a=n[1],c=o[0],f=o[1],s=!1,l=0;l<i;++l)e=(o=t[l])[0],(r=o[1])>a!=f>a&&u<(c-e)*(a-r)/(f-r)+e&&(s=!s),c=e,f=r;return s}function Fp(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r<i;)n=u,e=a,n-=u=(o=t[r])[0],e-=a=o[1],c+=Math.sqrt(n*n+e*e);return c}var Ip=e(9298);function Yp(){return Math.random()}var jp=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(Yp),Hp=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(Yp),Bp=function t(n){function e(){var t=Hp.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(Yp),Vp=function t(n){function e(t){return function(){for(var e=0,r=0;r<t;++r)e+=n();return e}}return e.source=t,e}(Yp),Xp=function t(n){function e(t){var e=Vp.source(n)(t);return function(){return e()/t}}return e.source=t,e}(Yp),Wp=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(Yp),$p=e(8917),Zp=Array.prototype,Gp=Zp.map,Qp=Zp.slice,Jp={name:"implicit"};function Kp(t){var n=wu(),e=[],r=Jp;function i(i){var o=i+"",u=n.get(o);if(!u){if(r!==Jp)return r;n.set(o,u=e.push(i))}return t[(u-1)%t.length]}return t=null==t?[]:Qp.call(t),i.domain=function(t){if(!arguments.length)return e.slice();e=[],n=wu();for(var r,o,u=-1,a=t.length;++u<a;)n.has(o=(r=t[u])+"")||n.set(o,e.push(r));return i},i.range=function(n){return arguments.length?(t=Qp.call(n),i):t.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Kp().domain(e).range(t).unknown(r)},i}function td(){var t,n,e=Kp().unknown(void 0),r=e.domain,i=e.range,o=[0,1],u=!1,a=0,c=0,f=.5;function s(){var e=r().length,s=o[1]<o[0],l=o[s-0],h=o[1-s];t=(h-l)/Math.max(1,e-a+2*c),u&&(t=Math.floor(t)),l+=(h-l-t*(e-a))*f,n=t*(1-a),u&&(l=Math.round(l),n=Math.round(n));var p=M(e).map((function(n){return l+t*n}));return i(s?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),s()):r()},e.range=function(t){return arguments.length?(o=[+t[0],+t[1]],s()):o.slice()},e.rangeRound=function(t){return o=[+t[0],+t[1]],u=!0,s()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,s()):u},e.padding=function(t){return arguments.length?(a=c=Math.max(0,Math.min(1,t)),s()):a},e.paddingInner=function(t){return arguments.length?(a=Math.max(0,Math.min(1,t)),s()):a},e.paddingOuter=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),s()):c},e.align=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),s()):f},e.copy=function(){return td().domain(r()).range(o).round(u).paddingInner(a).paddingOuter(c).align(f)},s()}
1function nd(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return nd(n())},t}function ed(){return nd(td().paddingInner(1))}function rd(t){return function(){return t}}function id(t){return+t}var od=[0,1];function ud(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:rd(n)}function ad(t,n,e,r){var i=t[0],o=t[1],u=n[0],a=n[1];return o<i?(i=e(o,i),u=r(a,u)):(i=e(i,o),u=r(u,a)),function(t){return u(i(t))}}function cd(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),u=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<i;)o[a]=e(t[a],t[a+1]),u[a]=r(n[a],n[a+1]);return function(n){var e=f(t,n,1,i)-1;return u[e](o[e](n))}}function fd(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function sd(t,n){var e,r,i,o=od,u=od,a=gr,c=!1;function f(){return e=Math.min(o.length,u.length)>2?cd:ad,r=i=null,s}function s(n){return(r||(r=e(o,u,c?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,a)))(+n)}return s.invert=function(t){return(i||(i=e(u,o,ud,c?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},s.domain=function(t){return arguments.length?(o=Gp.call(t,id),f()):o.slice()},s.range=function(t){return arguments.length?(u=Qp.call(t),f()):u.slice()},s.rangeRound=function(t){return u=Qp.call(t),a=_r,f()},s.clamp=function(t){return arguments.length?(c=!!t,f()):c},s.interpolate=function(t){return arguments.length?(a=t,f()):a},f()}function ld(t){var n=t.domain;return t.ticks=function(t){var e=n();return k(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return function(t,n,e){var r,i=t[0],o=t[t.length-1],u=C(i,o,null==n?10:n);switch((e=Ta(null==e?",f":e)).type){case"s":var a=Math.max(Math.abs(i),Math.abs(o));return null!=e.precision||isNaN(r=qa(u,a))||(e.precision=r),za(e,a);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(r=Ua(u,Math.max(Math.abs(i),Math.abs(o))))||(e.precision=r-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(r=Oa(u))||(e.precision=r-2*("%"===e.type))}return Ea(e)}(n(),t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,u=i.length-1,a=i[o],c=i[u];return c<a&&(r=a,a=c,c=r,r=o,o=u,u=r),(r=N(a,c,e))>0?r=N(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,e):r<0&&(r=N(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[u]=Math.ceil(c/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[u]=Math.floor(c*r)/r,n(i)),t},t}function hd(){var t=sd(ud,lr);return t.copy=function(){return fd(t,hd())},ld(t)}function pd(){var t=[0,1];function n(t){return+t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Gp.call(e,id),n):t.slice()},n.copy=function(){return pd().domain(t)},ld(n)}function dd(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];
1return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}function vd(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:rd(n)}function gd(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function _d(t){return isFinite(t)?+("1e"+t):t<0?0:t}function yd(t){return 10===t?_d:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function md(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function xd(t){return function(n){return-t(-n)}}function bd(){var t=sd(vd,gd).domain([1,10]),n=t.domain,e=10,r=md(10),i=yd(10);function o(){return r=md(e),i=yd(e),n()[0]<0&&(r=xd(r),i=xd(i)),t}return t.base=function(t){return arguments.length?(e=+t,o()):e},t.domain=function(t){return arguments.length?(n(t),o()):n()},t.ticks=function(t){var o,u=n(),a=u[0],c=u[u.length-1];(o=c<a)&&(h=a,a=c,c=h);var f,s,l,h=r(a),p=r(c),d=null==t?10:+t,v=[];if(!(e%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,a>0){for(;h<p;++h)for(s=1,f=i(h);s<e;++s)if(!((l=f*s)<a)){if(l>c)break;v.push(l)}}else for(;h<p;++h)for(s=e-1,f=i(h);s>=1;--s)if(!((l=f*s)<a)){if(l>c)break;v.push(l)}}else v=k(h,p,Math.min(p-h,d)).map(i);return o?v.reverse():v},t.tickFormat=function(n,o){if(null==o&&(o=10===e?".0e":","),"function"!=typeof o&&(o=Ea(o)),n===1/0)return o;null==n&&(n=10);var u=Math.max(1,e*n/t.ticks().length);return function(t){var n=t/i(Math.round(r(t)));return n*e<e-.5&&(n*=e),n<=u?o(t):""}},t.nice=function(){return n(dd(n(),{floor:function(t){return i(Math.floor(r(t)))},ceil:function(t){return i(Math.ceil(r(t)))}}))},t.copy=function(){return fd(t,bd().base(e))},t}function wd(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function Md(){var t=1,n=sd((function(n,e){return(e=wd(e,t)-(n=wd(n,t)))?function(r){return(wd(r,t)-n)/e}:rd(e)}),(function(n,e){return e=wd(e,t)-(n=wd(n,t)),function(r){return wd(n+e*r,1/t)}})),e=n.domain;return n.exponent=function(n){return arguments.length?(t=+n,e(e())):t},n.copy=function(){return fd(n,Md().exponent(t))},ld(n)}function Sd(){return Md().exponent(.5)}function Ad(){var t=[],n=[],e=[];function r(){var r=0,i=Math.max(1,n.length);for(e=new Array(i-1);++r<i;)e[r-1]=P(t,r/i);return o}function o(t){if(!isNaN(t=+t))return n[f(e,t)]}return o.invertExtent=function(r){var i=n.indexOf(r);return i<0?[NaN,NaN]:[i>0?e[i-1]:t[0],i<e.length?e[i]:t[t.length-1]]},o.domain=function(n){if(!arguments.length)return t.slice();t=[];for(var e,o=0,u=n.length;o<u;++o)null==(e=n[o])||isNaN(e=+e)||t.push(e);return t.sort(i),r()},o.range=function(t){return arguments.length?(n=Qp.call(t),r()):n.slice()},o.quantiles=function(){return e.slice()},o.copy=function(){return Ad().domain(t).range(n)},o}function Td(){var t=0,n=1,e=1,r=[.5],i=[0,1];function o(t){if(t<=t)return i[f(r,t,0,e)]}function u(){var i=-1;for(r=new Array(e);++i<e;)r[i]=((i+1)*n-(i-e)*t)/(e+1);return o}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],u()):[t,n]},o.range=function(t){return arguments.length?(e=(i=Qp.call(t)).length-1,u()):i.slice()},o.invertExtent=function(o){var u=i.indexOf(o);return u<0?[NaN,NaN]:u<1?[t,r[0]]:u>=e?[r[e-1],n]:[r[u-1],r[u]]},o.copy=function(){return Td().domain([t,n]).range(i)},ld(o)}function kd(){var t=[.5],n=[0,1],e=1;function r(r){if(r<=r)return n[f(t,r,0,e)]}return r.domain=function(i){return arguments.length?(t=Qp.call(i),e=Math.min(t.length,n.length-1),r):t.slice()},r.range=function(i){return arguments.length?(n=Qp.call(i),e=Math.min(t.length,n.length-1),r):n.slice()},r.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},r.copy=function(){return kd().domain(t).range(n)},r}var Nd=new Date,Cd=new Date;function Ed(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var u,a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u<e&&e<r);return a},i.filter=function(e){return Ed((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return Nd.setTime(+n),Cd.setTime(+r),t(Nd),t(Cd),Math.floor(e(Nd,Cd))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var zd=Ed((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));zd.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ed((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):zd:null};var Pd=zd,Rd=zd.range,Ld=1e3,Od=6e4,qd=36e5,Ud=864e5,Dd=6048e5,Fd=Ed((function(t){t.setTime(Math.floor(t/Ld)*Ld)}),(function(t,n){t.setTime(+t+n*Ld)}),(function(t,n){return(n-t)/Ld}),(function(t){return t.getUTCSeconds()}
1)),Id=Fd,Yd=Fd.range,jd=Ed((function(t){t.setTime(Math.floor(t/Od)*Od)}),(function(t,n){t.setTime(+t+n*Od)}),(function(t,n){return(n-t)/Od}),(function(t){return t.getMinutes()})),Hd=jd,Bd=jd.range,Vd=Ed((function(t){var n=t.getTimezoneOffset()*Od%qd;n<0&&(n+=qd),t.setTime(Math.floor((+t-n)/qd)*qd+n)}),(function(t,n){t.setTime(+t+n*qd)}),(function(t,n){return(n-t)/qd}),(function(t){return t.getHours()})),Xd=Vd,Wd=Vd.range,$d=Ed((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Od)/Ud}),(function(t){return t.getDate()-1})),Zd=$d,Gd=$d.range;function Qd(t){return Ed((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Od)/Dd}))}var Jd=Qd(0),Kd=Qd(1),tv=Qd(2),nv=Qd(3),ev=Qd(4),rv=Qd(5),iv=Qd(6),ov=Jd.range,uv=Kd.range,av=tv.range,cv=nv.range,fv=ev.range,sv=rv.range,lv=iv.range,hv=Ed((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),pv=hv,dv=hv.range,vv=Ed((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));vv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ed((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var gv=vv,_v=vv.range,yv=Ed((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Od)}),(function(t,n){return(n-t)/Od}),(function(t){return t.getUTCMinutes()})),mv=yv,xv=yv.range,bv=Ed((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*qd)}),(function(t,n){return(n-t)/qd}),(function(t){return t.getUTCHours()})),wv=bv,Mv=bv.range,Sv=Ed((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ud}),(function(t){return t.getUTCDate()-1})),Av=Sv,Tv=Sv.range;function kv(t){return Ed((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Dd}))}var Nv=kv(0),Cv=kv(1),Ev=kv(2),zv=kv(3),Pv=kv(4),Rv=kv(5),Lv=kv(6),Ov=Nv.range,qv=Cv.range,Uv=Ev.range,Dv=zv.range,Fv=Pv.range,Iv=Rv.range,Yv=Lv.range,jv=Ed((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),Hv=jv,Bv=jv.range,Vv=Ed((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Vv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ed((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Xv=Vv,Wv=Vv.range;function $v(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Zv(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Gv(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Qv(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,a=t.months,c=t.shortMonths,f=fg(i),s=sg(i),l=fg(o),h=sg(o),p=fg(u),d=sg(u),v=fg(a),g=sg(a),_=fg(c),y=sg(c),m={a:function(t){return u[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:Eg,e:Eg,f:Og,H:zg,I:Pg,j:Rg,L:Lg,m:qg,M:Ug,p:function(t){return i[+(t.getHours()>=12)]},Q:l_,s:h_,S:Dg,u:Fg,U:Ig,V:Yg,w:jg,W:Hg,x:null,X:null,y:Bg,Y:Vg,Z:Xg,"%":s_},x={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Wg,e:Wg,f:Jg,H:$g,I:Zg,j:Gg,L:Qg,m:Kg,M:t_,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:l_,s:h_,S:n_,u:e_,U:r_,V:i_,w:o_,W:u_,x:null,X:null,y:a_,Y:c_,Z:f_,"%":s_},b={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=d[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=_.exec(n.slice(e));return r?(t.m=y[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=g[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return S(t,n,e,r)},d:xg,e:xg,f:Tg,H:wg,I:wg,j:bg,L:Ag,m:mg,M:Mg,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s[r[0].toLowerCase()],e+r[0].length):-1},Q:Ng,s:Cg,S:Sg,u:hg,U:pg,V:dg,w:lg,W:vg,x:function(t,n,r){return S(t,e,n,r)},X:function(t,n,e){return S(t,r,n,e)},y:_g,Y:gg,Z:yg,"%":kg};function w(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++a<f;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=rg[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function M(t,n){return function(e){var r,i,o=Gv(1900);if(S(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);
vendor: 5,529 bytes, line 1
1if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Zv(Gv(o.y))).getUTCDay(),r=i>4||0===i?Cv.ceil(r):Cv(r),r=Av.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=n(Gv(o.y))).getDay(),r=i>4||0===i?Kd.ceil(r):Kd(r),r=Zd.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Zv(Gv(o.y)).getUTCDay():n(Gv(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Zv(o)):n(o)}}function S(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=b[i in rg?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",$v);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t,Zv);return n.toString=function(){return t},n}}}var Jv,Kv,tg,ng,eg,rg={"-":"",_:" ",0:"0"},ig=/^\s*\d+/,og=/^%/,ug=/[\\^$*+?|[\]().{}]/g;function ag(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function cg(t){return t.replace(ug,"\\$&")}function fg(t){return new RegExp("^(?:"+t.map(cg).join("|")+")","i")}function sg(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function lg(t,n,e){var r=ig.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function hg(t,n,e){var r=ig.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function pg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function dg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function vg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function gg(t,n,e){var r=ig.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function _g(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function yg(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function mg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function xg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function bg(t,n,e){var r=ig.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function wg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Mg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Sg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Ag(t,n,e){var r=ig.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Tg(t,n,e){var r=ig.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function kg(t,n,e){var r=og.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ng(t,n,e){var r=ig.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Cg(t,n,e){var r=ig.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function Eg(t,n){return ag(t.getDate(),n,2)}function zg(t,n){return ag(t.getHours(),n,2)}function Pg(t,n){return ag(t.getHours()%12||12,n,2)}function Rg(t,n){return ag(1+Zd.count(gv(t),t),n,3)}function Lg(t,n){return ag(t.getMilliseconds(),n,3)}function Og(t,n){return Lg(t,n)+"000"}function qg(t,n){return ag(t.getMonth()+1,n,2)}function Ug(t,n){return ag(t.getMinutes(),n,2)}function Dg(t,n){return ag(t.getSeconds(),n,2)}function Fg(t){var n=t.getDay();return 0===n?7:n}function Ig(t,n){return ag(Jd.count(gv(t),t),n,2)}function Yg(t,n){var e=t.getDay();return t=e>=4||0===e?ev(t):ev.ceil(t),ag(ev.count(gv(t),t)+(4===gv(t).getDay()),n,2)}function jg(t){return t.getDay()}function Hg(t,n){return ag(Kd.count(gv(t),t),n,2)}function Bg(t,n){return ag(t.getFullYear()%100,n,2)}function Vg(t,n){return ag(t.getFullYear()%1e4,n,4)}function Xg(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ag(n/60|0,"0",2)+ag(n%60,"0",2)}function Wg(t,n){return ag(t.getUTCDate(),n,2)}function $g(t,n){return ag(t.getUTCHours(),n,2)}function Zg(t,n){return ag(t.getUTCHours()%12||12,n,2)}function Gg(t,n){return ag(1+Av.count(Xv(t),t),n,3)}function Qg(t,n){return ag(t.getUTCMilliseconds(),n,3)}function Jg(t,n){return Qg(t,n)+"000"}function Kg(t,n){return ag(t.getUTCMonth()+1,n,2)}function t_(t,n){return ag(t.getUTCMinutes(),n,2)}function n_(t,n){return ag(t.getUTCSeconds(),n,2)}function e_(t){var n=t.getUTCDay();return 0===n?7:n}function r_(t,n){return ag(Nv.count(Xv(t),t),n,2)}function i_(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Pv(t):Pv.ceil(t),ag(Pv.count(Xv(t),t)+(4===Xv(t).getUTCDay()),n,2)}function o_(t){return t.getUTCDay()}function u_(t,n){return ag(Cv.count(Xv(t),t),n,2)}function a_(t,n){return ag(t.getUTCFullYear()%100,n,2)}function c_(t,n){return ag(t.getUTCFullYear()%1e4,n,4)}function f_(){return"+0000"}function s_(){return"%"}function l_(t){return+t}function h_(t){return Math.floor(+t/1e3)}function p_(t){return Jv=Qv(t),Kv=Jv.format,tg=Jv.parse,ng=Jv.utcFormat,eg=Jv.utcParse,Jv}p_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","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 d_="%Y-%m-%dT%H:%M:%S.%LZ",v_=Date.prototype.toISOString?function(t){return t.toISOString()}:ng(d_),g_=v_,__=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:eg(d_),y_=__,m_=31536e6;function x_(t){return new Date(t)}function b_(t){return t instanceof Date?+t:+new Date(+t)}function w_(t,n,e,r,i,u,a,c,f){var s=sd(ud,lr),l=s.invert,h=s.domain,p=f(".%L"),d=f(":%S"),v=f("%I:%M"),g=f("%I %p"),_=f("%a %d"),y=f("%b %d"),m=f("%B"),x=f("%Y"),b=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[u,1,6e4],[u,5,3e5],[u,15,9e5],[u,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,m_]];function w(o){return(a(o)<o?p:u(o)<o?d:i(o)<o?v:r(o)<o?g:n(o)<o?e(o)<o?_:y:t(o)<o?m:x)(o)}function M(n,e,r,i){if(null==n&&(n=10),"number"==typeof n){var u=Math.abs(r-e)/n,a=o((function(t){return t[2]})).right(b,u);a===b.length?(i=C(e/m_,r/m_,n),n=t):a?(i=(a=b[u/b[a-1][2]<b[a][2]/u?a-1:a])[1],n=a[0]):(i=Math.max(C(e,r,n),1),n=c)}return null==i?n:n.every(i)}return s.invert=function(t){return new Date(l(t))},s.domain=function(t){return arguments.length?h(Gp.call(t,b_)):h().map(x_)},s.ticks=function(t,n){var e,r=h(),i=r[0],o=r[r.length-1],u=o<i;return u&&(e=i,i=o,o=e),e=(e=M(t,i,o,n))?e.range(i,o+1):[],u?e.reverse():e},s.tickFormat=function(t,n){return null==n?w:f(n)},s.nice=function(t,n){var e=h();return(t=M(t,e[0],e[e.length-1],n))?h(dd(e,t)):s},s.copy=function(){return fd(s,w_(t,n,e,r,i,u,a,c,f))},s}function M_(){return w_(gv,pv,Jd,Zd,Xd,Hd,Id,Pd,Kv).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function S_(){return w_(Xv,Hv,Nv,Av,wv,mv,Id,Pd,ng).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function A_(t){return t.match(/.{6}/g).map((function(t){return"#"+t}))}var T_=A_("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),k_=A_("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),N_=A_("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),C_=A_("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),E_=Ir(Ge(300,.5,0),Ge(-240,.5,1)),z_=Ir(Ge(-100,.75,.35),Ge(80,1.5,.8)),P_=Ir(Ge(260,.75,.35),Ge(80,1.5,.8)),R_=Ge();function L_(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return R_.h=360*t-100,R_.s=1.5-1.5*n,R_.l=.8-.9*n,R_+""}function O_(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var q_=O_(A_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36
1a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),U_=O_(A_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),D_=O_(A_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),F_=O_(A_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function I_(t){var n=0,e=1,r=!1;function i(i){var o=(i-n)/(e-n);return t(r?Math.max(0,Math.min(1,o)):o)}return i.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.clamp=function(t){return arguments.length?(r=!!t,i):r},i.interpolator=function(n){return arguments.length?(t=n,i):t}
vendor: 21,798 bytes, line 1
1,i.copy=function(){return I_(t).domain([n,e]).clamp(r)},ld(i)}function Y_(t){return function(){return t}}var j_=Math.abs,H_=Math.atan2,B_=Math.cos,V_=Math.max,X_=Math.min,W_=Math.sin,$_=Math.sqrt,Z_=1e-12,G_=Math.PI,Q_=G_/2,J_=2*G_;function K_(t){return t>1?0:t<-1?G_:Math.acos(t)}function ty(t){return t>=1?Q_:t<=-1?-Q_:Math.asin(t)}function ny(t){return t.innerRadius}function ey(t){return t.outerRadius}function ry(t){return t.startAngle}function iy(t){return t.endAngle}function oy(t){return t&&t.padAngle}function uy(t,n,e,r,i,o,u,a){var c=e-t,f=r-n,s=u-i,l=a-o,h=(s*(n-o)-l*(t-i))/(l*c-s*f);return[t+h*c,n+h*f]}function ay(t,n,e,r,i,o,u){var a=t-e,c=n-r,f=(u?o:-o)/$_(a*a+c*c),s=f*c,l=-f*a,h=t+s,p=n+l,d=e+s,v=r+l,g=(h+d)/2,_=(p+v)/2,y=d-h,m=v-p,x=y*y+m*m,b=i-o,w=h*v-d*p,M=(m<0?-1:1)*$_(V_(0,b*b*x-w*w)),S=(w*m-y*M)/x,A=(-w*y-m*M)/x,T=(w*m+y*M)/x,k=(-w*y+m*M)/x,N=S-g,C=A-_,E=T-g,z=k-_;return N*N+C*C>E*E+z*z&&(S=T,A=k),{cx:S,cy:A,x01:-s,y01:-l,x11:S*(i/b-1),y11:A*(i/b-1)}}function cy(){var t=ny,n=ey,e=Y_(0),r=null,i=ry,o=iy,u=oy,a=null;function c(){var c,f,s=+t.apply(this,arguments),l=+n.apply(this,arguments),h=i.apply(this,arguments)-Q_,p=o.apply(this,arguments)-Q_,d=j_(p-h),v=p>h;if(a||(a=c=hu()),l<s&&(f=l,l=s,s=f),l>Z_)if(d>J_-Z_)a.moveTo(l*B_(h),l*W_(h)),a.arc(0,0,l,h,p,!v),s>Z_&&(a.moveTo(s*B_(p),s*W_(p)),a.arc(0,0,s,p,h,v));else{var g,_,y=h,m=p,x=h,b=p,w=d,M=d,S=u.apply(this,arguments)/2,A=S>Z_&&(r?+r.apply(this,arguments):$_(s*s+l*l)),T=X_(j_(l-s)/2,+e.apply(this,arguments)),k=T,N=T;if(A>Z_){var C=ty(A/s*W_(S)),E=ty(A/l*W_(S));(w-=2*C)>Z_?(x+=C*=v?1:-1,b-=C):(w=0,x=b=(h+p)/2),(M-=2*E)>Z_?(y+=E*=v?1:-1,m-=E):(M=0,y=m=(h+p)/2)}var z=l*B_(y),P=l*W_(y),R=s*B_(b),L=s*W_(b);if(T>Z_){var O=l*B_(m),q=l*W_(m),U=s*B_(x),D=s*W_(x);if(d<G_){var F=w>Z_?uy(z,P,U,D,O,q,R,L):[R,L],I=z-F[0],Y=P-F[1],j=O-F[0],H=q-F[1],B=1/W_(K_((I*j+Y*H)/($_(I*I+Y*Y)*$_(j*j+H*H)))/2),V=$_(F[0]*F[0]+F[1]*F[1]);k=X_(T,(s-V)/(B-1)),N=X_(T,(l-V)/(B+1))}}M>Z_?N>Z_?(g=ay(U,D,z,P,l,N,v),_=ay(O,q,R,L,l,N,v),a.moveTo(g.cx+g.x01,g.cy+g.y01),N<T?a.arc(g.cx,g.cy,N,H_(g.y01,g.x01),H_(_.y01,_.x01),!v):(a.arc(g.cx,g.cy,N,H_(g.y01,g.x01),H_(g.y11,g.x11),!v),a.arc(0,0,l,H_(g.cy+g.y11,g.cx+g.x11),H_(_.cy+_.y11,_.cx+_.x11),!v),a.arc(_.cx,_.cy,N,H_(_.y11,_.x11),H_(_.y01,_.x01),!v))):(a.moveTo(z,P),a.arc(0,0,l,y,m,!v)):a.moveTo(z,P),s>Z_&&w>Z_?k>Z_?(g=ay(R,L,O,q,s,-k,v),_=ay(z,P,U,D,s,-k,v),a.lineTo(g.cx+g.x01,g.cy+g.y01),k<T?a.arc(g.cx,g.cy,k,H_(g.y01,g.x01),H_(_.y01,_.x01),!v):(a.arc(g.cx,g.cy,k,H_(g.y01,g.x01),H_(g.y11,g.x11),!v),a.arc(0,0,s,H_(g.cy+g.y11,g.cx+g.x11),H_(_.cy+_.y11,_.cx+_.x11),v),a.arc(_.cx,_.cy,k,H_(_.y11,_.x11),H_(_.y01,_.x01),!v))):a.arc(0,0,s,b,x,v):a.lineTo(R,L)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-G_/2;return[B_(r)*e,W_(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Y_(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Y_(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Y_(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Y_(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Y_(+t),c):o},c.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:Y_(+t),c):u},c.context=function(t){return arguments.length?(a=null==t?null:t,c):a},c}function fy(t){this._context=t}function sy(t){return new fy(t)}function ly(t){return t[0]}function hy(t){return t[1]}function py(){var t=ly,n=hy,e=Y_(!0),r=null,i=sy,o=null;function u(u){var a,c,f,s=u.length,l=!1;for(null==r&&(o=i(f=hu())),a=0;a<=s;++a)!(a<s&&e(c=u[a],a,u))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+t(c,a,u),+n(c,a,u));if(f)return o=null,f+""||null}return u.x=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),u):t},u.y=function(t){return arguments.length?(n="function"==typeof t?t:Y_(+t),u):n},u.defined=function(t){return arguments.length?(e="function"==typeof t?t:Y_(!!t),u):e},u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u}function dy(){var t=ly,n=null,e=Y_(0),r=hy,i=Y_(!0),o=null,u=sy,a=null;function c(c){var f,s,l,h,p,d=c.length,v=!1,g=new Array(d),_=new Array(d);for(null==o&&(a=u(p=hu())),f=0;f<=d;++f){if(!(f<d&&i(h=c[f],f,c))===v)if(v=!v)s=f,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),l=f-1;l>=s;--l)a.point(g[l],_[l]);a.lineEnd(),a.areaEnd()}v&&(g[f]=+t(h,f,c),_[f]=+e(h,f,c),a.point(n?+n(h,f,c):g[f],r?+r(h,f,c):_[f]))}if(p)return a=null,p+""||null}function f(){return py().defined(i).curve(u).context(o)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:Y_(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Y_(+t),c):n},c.y=function(t){return arguments.length?(e="function"==typeof t?t:Y_(+t),r=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:Y_(+t),c):e},c.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Y_(+t),c):r},c.lineX0=c.lineY0=function(){return f().x(t).y(e)},c.lineY1=function(){return f().x(t).y(r)},c.lineX1=function(){return f().x(n).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:Y_(!!t),c):i},c.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),c):u},c.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),c):o},c}function vy(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function gy(t){return t}function _y(){var t=gy,n=vy,e=null,r=Y_(0),i=Y_(J_),o=Y_(0);function u(u){var a,c,f,s,l,h=u.length,p=0,d=new Array(h),v=new Array(h),g=+r.apply(this,arguments),_=Math.min(J_,Math.max(-J_,i.apply(this,arguments)-g)),y=Math.min(Math.abs(_)/h,o.apply(this,arguments)),m=y*(_<0?-1:1);for(a=0;a<h;++a)(l=v[d[a]=a]=+t(u[a],a,u))>0&&(p+=l);for(null!=n?d.sort((function(t,e){return n(v[t],v[e])})):null!=e&&d.sort((function(t,n){return e(u[t],u[n])})),a=0,f=p?(_-h*m)/p:0;a<h;++a,g=s)c=d[a],s=g+((l=v[c])>0?l*f:0)+m,v[c]={data:u[c],index:a,value:l,startAngle:g,endAngle:s,padAngle:y};return v}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Y_(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Y_(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Y_(+t),u):o},u}fy.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(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var yy=xy(sy);function my(t){this._curve=t}function xy(t){function n(n){return new my(t(n))}return n._curve=t,n}function by(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(xy(t)):n()._curve},t}function wy(){return by(py().curve(yy))}function My(){var t=dy().curve(yy),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return by(e())},delete t.lineX0,t.lineEndAngle=function(){return by(r())},delete t.lineX1,t.lineInnerRadius=function(){return by(i())},delete t.lineY0,t.lineOuterRadius=function(){return by(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(xy(t)):n()._curve},t}function Sy(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}my.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Ay=Array.prototype.slice;function Ty(t){return t.source}function ky(t){return t.target}function Ny(t){var n=Ty,e=ky,r=ly,i=hy,o=null;function u(){var u,a=Ay.call(arguments),c=n.apply(this,a),f=e.apply(this,a);if(o||(o=u=hu()),t(o,+r.apply(this,(a[0]=c,a)),+i.apply(this,a),+r.apply(this,(a[0]=f,a)),+i.apply(this,a)),u)return o=null,u+""||null}return u.source=function(t){return arguments.length?(n=t,u):n},u.target=function(t){return arguments.length?(e=t,u):e},u.x=function(t){return arguments.length?(r="function"==typeof t?t:Y_(+t),u):r},u.y=function(t){return arguments.length?(i="function"==typeof t?t:Y_(+t),u):i},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}function Cy(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function Ey(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function zy(t,n,e,r,i){var o=Sy(n,e),u=Sy(n,e=(e+i)/2),a=Sy(r,e),c=Sy(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],a[0],a[1],c[0],c[1])}function Py(){return Ny(Cy)}function Ry(){return Ny(Ey)}function Ly(){var t=Ny(zy);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var Oy={draw:function(t,n){var e=Math.sqrt(n/G_);t.moveTo(e,0),t.arc(0,0,e,0,J_)}},qy={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},Uy=Math.sqrt(1/3),Dy=2*Uy,Fy={draw:function(t,n){var e=Math.sqrt(n/Dy),r=e*Uy;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Iy=Math.sin(G_/10)/Math.sin(7*G_/10),Yy=Math.sin(J_/10)*Iy,jy=-Math.cos(J_/10)*Iy,Hy={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=Yy*e,i=jy*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var u=J_*o/5,a=Math.cos(u),c=Math.sin(u);t.lineTo(c*e,-a*e),t.lineTo(a*r-c*i,c*r+a*i)}t.closePath()}},By={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},Vy=Math.sqrt(3),Xy={draw:function(t,n){var e=-Math.sqrt(n/(3*Vy));t.moveTo(0,2*e),t.lineTo(-Vy*e,-e),t.lineTo(Vy*e,-e),t.closePath()}},Wy=-.5,$y=Math.sqrt(3)/2,Zy=1/Math.sqrt(12),Gy=3*(Zy/2+1),Qy={draw:function(t,n){var e=Math.sqrt(n/Gy),r=e/2,i=e*Zy,o=r,u=e*Zy+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(Wy*r-$y*i,$y*r+Wy*i),t.lineTo(Wy*o-$y*u,$y*o+Wy*u),t.lineTo(Wy*a-$y*c,$y*a+Wy*c),t.lineTo(Wy*r+$y*i,Wy*i-$y*r),t.lineTo(Wy*o+$y*u,Wy*u-$y*o),t.lineTo(Wy*a+$y*c,Wy*c-$y*a),t.closePath()}},Jy=[Oy,qy,Fy,By,Hy,Xy,Qy];function Ky(){var t=Y_(Oy),n=Y_(64),e=null;function r(){var r;if(e||(e=r=hu()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"==typeof n?n:Y_(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:Y_(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function tm(){}function nm(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function em(t){this._context=t}function rm(t){return new em(t)}function im(t){this._context=t}function om(t){return new im(t)}function um(t){this._context=t}function am(t){return new um(t)}function cm(t,n){this._basis=new em(t),this._beta=n}em.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:nm(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:nm(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},im.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:nm(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:nm(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},cm.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var fm=function t(n){function e(t){return 1===n?new em(t):new cm(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function sm(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function lm(t,n){this._context=t,this._k=(1-n)/6}lm.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:sm(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:sm(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var hm=function t(n){function e(t){return new lm(t,n)}return e.tension=function(n){return t(+n)},e}(0);function pm(t,n){this._context=t,this._k=(1-n)/6}pm.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:sm(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var dm=function t(n){function e(t){return new pm(t,n)}return e.tension=function(n){return t(+n)},e}(0);function vm(t,n){this._context=t,this._k=(1-n)/6}vm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:sm(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var gm=function t(n){function e(t){return new vm(t,n)}return e.tension=function(n){return t(+n)},e}(0);function _m(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>Z_){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Z_){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function ym(t,n){this._context=t,this._alpha=n}ym.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:_m(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var mm=function t(n){function e(t){return n?new ym(t,n):new lm(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function xm(t,n){this._context=t,this._alpha=n}xm.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:_m(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var bm=function t(n){function e(t){return n?new xm(t,n):new pm(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function wm(t,n){this._context=t,this._alpha=n}wm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:_m(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Mm=function t(n){function e(t){return n?new wm(t,n):new vm(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Sm(t){this._context=t}function Am(t){return new Sm(t)}function Tm(t){return t<0?-1:1}function km(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(Tm(o)+Tm(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a)
1)||0}function Nm(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Cm(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function Em(t){this._context=t}function zm(t){this._context=new Pm(t)}function Pm(t){this._context=t}function Rm(t){return new Em(t)}function Lm(t){return new zm(t)}function Om(t){this._context=t}function qm(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function Um(t){return new Om(t)}function Dm(t,n){this._context=t,this._t=n}function Fm(t){return new Dm(t,.5)}function Im(t){return new Dm(t,0)}function Ym(t){return new Dm(t,1)}function jm(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function Hm(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function Bm(t,n){return t[n]}function Vm(){var t=Y_([]),n=Hm,e=jm,r=Bm;function i(i){var o,u,a=t.apply(this,arguments),c=i.length,f=a.length,s=new Array(f);for(o=0;o<f;++o){for(var l,h=a[o],p=s[o]=new Array(c),d=0;d<c;++d)p[d]=l=[0,+r(i[d],h,d,i)],l.data=i[d];p.key=h}for(o=0,u=n(s);o<f;++o)s[u[o]].index=o;return e(s,u),s}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:Y_(Ay.call(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Y_(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?Hm:"function"==typeof t?t:Y_(Ay.call(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?jm:t,i):e},i}function Xm(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}jm(t,n)}}function Wm(t,n){if((a=t.length)>1)for(var e,r,i,o,u,a,c=0,f=t[n[0]].length;c<f;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):r[0]=o}function $m(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}jm(t,n)}}function Zm(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,f=0;a<i;++a){for(var s=t[n[a]],l=s[u][1]||0,h=(l-(s[u-1][1]||0))/2,p=0;p<a;++p){var d=t[n[p]];h+=(d[u][1]||0)-(d[u-1][1]||0)}c+=l,f+=h*l}e[u-1][1]+=e[u-1][0]=o,c&&(o-=f/c)}e[u-1][1]+=e[u-1][0]=o,jm(t,n)}}function Gm(t){var n=t.map(Qm);return Hm(t).sort((function(t,e){return n[t]-n[e]}))}function Qm(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function Jm(t){return Gm(t).reverse()}function Km(t){var n,e,r=t.length,i=t.map(Qm),o=Hm(t).sort((function(t,n){return i[n]-i[t]})),u=0,a=0,c=[],f=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],f.push(e));return f.reverse().concat(c)}function tx(t){return Hm(t).reverse()}function nx(t){return function(){return t}}function ex(t){return t[0]}function rx(t){return t[1]}function ix(){this._=null}function ox(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function ux(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function ax(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function cx(t){for(;t.L;)t=t.L;return t}Sm.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Em.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:Cm(this,this._t0,Nm(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;
1if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Cm(this,Nm(this,e=km(this,t,n)),e);break;default:Cm(this,this._t0,e=km(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(zm.prototype=Object.create(Em.prototype)).point=function(t,n){Em.prototype.point.call(this,n,t)},Pm.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Om.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=qm(t),i=qm(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},Dm.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(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},ix.prototype={constructor:ix,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=cx(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(ux(this,e),e=(t=e).U),e.C=!1,r.C=!0,ax(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(ax(this,e),e=(t=e).U),e.C=!1,r.C=!0,ux(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?cx(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,ux(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,ax(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,ux(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,ax(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,ux(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,ax(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var fx=ix;function sx(t,n,e,r){var i=[null,null],o=Lx.push(i)-1;return i.left=t,i.right=n,e&&hx(i,t,n,e),r&&hx(i,n,t,r),Px[t.index].halfedges.push(o),Px[n.index].halfedges.push(o),i}function lx(t,n,e){var r=[n,e];return r.left=t,r}function hx(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function px(t,n,e,r,i){var o,u=t[0],a=t[1],c=u[0],f=u[1],s=0,l=1,h=a[0]-c,p=a[1]-f;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o<s)return;o<l&&(l=o)}else if(h>0){if(o>l)return;o>s&&(s=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>l)return;o>s&&(s=o)}else if(h>0){if(o<s)return;o<l&&(l=o)}if(o=e-f,p||!(o>0)){if(o/=p,p<0){if(o<s)return;o<l&&(l=o)}else if(p>0){if(o>l)return;o>s&&(s=o)}if(o=i-f,p||!(o<0)){if(o/=p,p<0){if(o>l)return;o>s&&(s=o)}else if(p>0){if(o<s)return;o<l&&(l=o)}return!(s>0||l<1)||(s>0&&(t[0]=[c+s*h,f+s*p]),l<1&&(t[1]=[c+l*h,f+l*p]),!0)}}}}}function dx(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],p=s[0],d=s[1],v=(l+p)/2,g=(h+d)/2;if(d===h){if(v<n||v>=r)return;if(l>p){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]<e)return}else c=[v,i];o=[v,e]}}else if(a=g-(u=(l-p)/(d-h))*v,u<-1||u>1)if(l>p){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]<e)return}else c=[(i-a)/u,i];o=[(e-a)/u,e]}else if(h<d){if(c){if(c[0]>=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]<n)return}else c=[r,u*r+a];o=[n,u*n+a]}return t[0]=c,t[1]=o,!0}function vx(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function gx(t,n){return n[+(n.left!==t.site)]}function _x(t,n){return n[+(n.left===t.site)]}var yx,mx=[];function xx(){ox(this),this.x=this.y=this.arc=this.site=this.cy=null}function bx(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var u=i[0],a=i[1],c=r[0]-u,f=r[1]-a,s=o[0]-u,l=o[1]-a,h=2*(c*l-f*s);if(!(h>=-qx)){var p=c*c+f*f,d=s*s+l*l,v=(l*p-f*d)/h,g=(c*d-s*p)/h,_=mx.pop()||new xx;_.arc=t,_.site=i,_.x=v+u,_.y=(_.cy=g+a)+Math.sqrt(v*v+g*g),t.circle=_;for(var y=null,m=Rx._;m;)if(_.y<m.y||_.y===m.y&&_.x<=m.x){if(!m.L){y=m.P;break}m=m.L}else{if(!m.R){y=m;break}m=m.R}Rx.insert(y,_),y||(yx=_)}}}}function wx(t){var n=t.circle;n&&(n.P||(yx=n.N),Rx.remove(n),mx.push(n),ox(n),t.circle=null)}var Mx=[];function Sx(){ox(this),this.edge=this.site=this.circle=null}function Ax(t){var n=Mx.pop()||new Sx;return n.site=t,n}function Tx(t){wx(t),zx.remove(t),Mx.push(t),ox(t)}function kx(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,u=t.N,a=[t];Tx(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<Ox&&Math.abs(r-c.circle.cy)<Ox;)o=c.P,a.unshift(c),Tx(c),c=o;a.unshift(c),wx(c);for(var f=u;
vendor: 4,118 bytes, line 1
1f.circle&&Math.abs(e-f.circle.x)<Ox&&Math.abs(r-f.circle.cy)<Ox;)u=f.N,a.push(f),Tx(f),f=u;a.push(f),wx(f);var s,l=a.length;for(s=1;s<l;++s)f=a[s],c=a[s-1],hx(f.edge,c.site,f.site,i);c=a[0],(f=a[l-1]).edge=sx(c.site,f.site,null,i),bx(c),bx(f)}function Nx(t){for(var n,e,r,i,o=t[0],u=t[1],a=zx._;a;)if((r=Cx(a,u)-o)>Ox)a=a.L;else{if(!((i=o-Ex(a,u))>Ox)){r>-Ox?(n=a.P,e=a):i>-Ox?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){Px[t.index]={site:t,halfedges:[]}}(t);var c=Ax(t);if(zx.insert(n,c),n||e){if(n===e)return wx(n),e=Ax(n.site),zx.insert(c,e),c.edge=e.edge=sx(n.site,c.site),bx(n),void bx(e);if(e){wx(n),wx(e);var f=n.site,s=f[0],l=f[1],h=t[0]-s,p=t[1]-l,d=e.site,v=d[0]-s,g=d[1]-l,_=2*(h*g-p*v),y=h*h+p*p,m=v*v+g*g,x=[(g*y-p*m)/_+s,(h*m-v*y)/_+l];hx(e.edge,f,d,x),c.edge=sx(f,t,null,x),e.edge=sx(t,d,null,x),bx(n),bx(e)}else c.edge=sx(n.site,c.site)}}function Cx(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],c=e[1],f=c-n;if(!f)return a;var s=a-r,l=1/o-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-o/2)))/l+r:(r+a)/2}function Ex(t,n){var e=t.N;if(e)return Cx(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var zx,Px,Rx,Lx,Ox=1e-6,qx=1e-12;function Ux(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function Dx(t,n){return n[1]-t[1]||n[0]-t[0]}function Fx(t,n){var e,r,i,o=t.sort(Dx).pop();for(Lx=[],Px=new Array(t.length),zx=new fx,Rx=new fx;;)if(i=yx,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(Nx(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;kx(i.arc)}if(function(){for(var t,n,e,r,i=0,o=Px.length;i<o;++i)if((t=Px[i])&&(r=(n=t.halfedges).length)){var u=new Array(r),a=new Array(r);for(e=0;e<r;++e)u[e]=e,a[e]=vx(t,Lx[n[e]]);for(u.sort((function(t,n){return a[n]-a[t]})),e=0;e<r;++e)a[e]=n[u[e]];for(e=0;e<r;++e)n[e]=a[e]}}(),n){var u=+n[0][0],a=+n[0][1],c=+n[1][0],f=+n[1][1];!function(t,n,e,r){for(var i,o=Lx.length;o--;)dx(i=Lx[o],t,n,e,r)&&px(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>Ox||Math.abs(i[0][1]-i[1][1])>Ox)||delete Lx[o]}(u,a,c,f),function(t,n,e,r){var i,o,u,a,c,f,s,l,h,p,d,v,g=Px.length,_=!0;for(i=0;i<g;++i)if(o=Px[i]){for(u=o.site,a=(c=o.halfedges).length;a--;)Lx[c[a]]||c.splice(a,1);for(a=0,f=c.length;a<f;)d=(p=_x(o,Lx[c[a]]))[0],v=p[1],l=(s=gx(o,Lx[c[++a%f]]))[0],h=s[1],(Math.abs(d-l)>Ox||Math.abs(v-h)>Ox)&&(c.splice(a,0,Lx.push(lx(u,p,Math.abs(d-t)<Ox&&r-v>Ox?[t,Math.abs(l-t)<Ox?h:r]:Math.abs(v-r)<Ox&&e-d>Ox?[Math.abs(h-r)<Ox?l:e,r]:Math.abs(d-e)<Ox&&v-n>Ox?[e,Math.abs(l-e)<Ox?h:n]:Math.abs(v-n)<Ox&&d-t>Ox?[Math.abs(h-n)<Ox?l:t,n]:null))-1),++f);f&&(_=!1)}if(_){var y,m,x,b=1/0;for(i=0,_=null;i<g;++i)(o=Px[i])&&(x=(y=(u=o.site)[0]-t)*y+(m=u[1]-n)*m)<b&&(b=x,_=o);if(_){var w=[t,n],M=[t,r],S=[e,r],A=[e,n];_.halfedges.push(Lx.push(lx(u=_.site,w,M))-1,Lx.push(lx(u,M,S))-1,Lx.push(lx(u,S,A))-1,Lx.push(lx(u,A,w))-1)}}for(i=0;i<g;++i)(o=Px[i])&&(o.halfedges.length||delete Px[i])}(u,a,c,f)}this.edges=Lx,this.cells=Px,zx=Rx=Lx=Px=null}function Ix(){var t=ex,n=rx,e=null;function r(r){return new Fx(r.map((function(e,i){var o=[Math.round(t(e,i,r)/Ox)*Ox,Math.round(n(e,i,r)/Ox)*Ox];return o.index=i,o.data=e,o})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:nx(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:nx(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}function Yx(t){return function(){return t}}function jx(t,n,e){this.target=t,this.type=n,this.transform=e}function Hx(t,n,e){this.k=t,this.x=n,this.y=e}Fx.prototype={constructor:Fx,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return gx(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;
1return this.cells.forEach((function(e,r){if(o=(i=e.halfedges).length)for(var i,o,u,a=e.site,c=-1,f=n[i[o-1]],s=f.left===a?f.right:f.left;++c<o;)u=s,s=(f=n[i[c]]).left===a?f.right:f.left,u&&s&&r<u.index&&r<s.index&&Ux(a,u,s)<0&&t.push([a.data,u.data,s.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,i,o=this,u=o._found||0,a=o.cells.length;!(i=o.cells[u]);)if(++u>=a)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=o.cells[r=u],u=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],f=n-a[1],l=c*c+f*f;l<s&&(s=l,u=a.index)}}))}while(null!==u);return o._found=r,null==e||s<=e*e?i.site:null}},Hx.prototype={constructor:Hx,scale:function(t){return 1===t?this:new Hx(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Hx(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Bx=new Hx(1,0,0);function Vx(t){return t.__zoom||Bx}function Xx(){dn.stopImmediatePropagation()}function Wx(){dn.preventDefault(),dn.stopImmediatePropagation()}function $x(){return!dn.button}function Zx(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function Gx(){return this.__zoom||Bx}function Qx(){return-dn.deltaY*(dn.deltaMode?120:1)/500}function Jx(){return"ontouchstart"in this}function Kx(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function tb(){var t,n,e=$x,r=Zx,i=Kx,o=Qx,u=Jx,a=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,s=Er,l=[],h=ht("start","zoom","end"),p=500,d=0;function v(t){t.property("__zoom",Gx).on("wheel.zoom",w).on("mousedown.zoom",M).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",A).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",k).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new Hx(n,t.x,t.y)}function _(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new Hx(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,n,e){t.on("start.zoom",(function(){x(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){x(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=x(t,i),u=r.apply(t,i),a=e||y(u),c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,i):n,h=s(f.invert(a).concat(c/f.k),l.invert(a).concat(c/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=c/n[2];t=new Hx(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}}))}function x(t,n){for(var e,r=0,i=l.length;r<i;++r)if((e=l[r]).that===t)return e;return new b(t,n)}function b(t,n){this.that=t,this.args=n,this.index=-1,this.active=0,this.extent=r.apply(t,n)}function w(){if(e.apply(this,arguments)){var t=x(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),u=On(this);if(t.wheel)t.mouse[0][0]===u[0]&&t.mouse[0][1]===u[1]||(t.mouse[1]=n.invert(t.mouse[0]=u)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[u,n.invert(u)],di(this),t.start()}Wx(),t.wheel=setTimeout(f,150),t.zoom("mouse",i(_(g(n,r),t.mouse[0],t.mouse[1]),t.extent,c))}function f(){t.wheel=null,t.end()}}
1function M(){if(!n&&e.apply(this,arguments)){var t=x(this,arguments),r=Nn(dn.view).on("mousemove.zoom",f,!0).on("mouseup.zoom",s,!0),o=On(this),u=dn.clientX,a=dn.clientY;Yn(dn.view),Xx(),t.mouse=[o,this.__zoom.invert(o)],di(this),t.start()}function f(){if(Wx(),!t.moved){var n=dn.clientX-u,e=dn.clientY-a;t.moved=n*n+e*e>d}t.zoom("mouse",i(_(t.that.__zoom,t.mouse[0]=On(t.that),t.mouse[1]),t.extent,c))}function s(){r.on("mousemove.zoom mouseup.zoom",null),jn(dn.view,t.moved),Wx(),t.end()}}function S(){if(e.apply(this,arguments)){var t=this.__zoom,n=On(this),o=t.invert(n),u=t.k*(dn.shiftKey?.5:2),a=i(_(g(t,u),n,o),r.apply(this,arguments),c);Wx(),f>0?Nn(this).transition().duration(f).call(m,a,n):Nn(this).call(v.transform,a)}}function A(){if(e.apply(this,arguments)){var n,r,i,o,u=x(this,arguments),a=dn.changedTouches,c=a.length;for(Xx(),r=0;r<c;++r)o=[o=Un(this,a,(i=a[r]).identifier),this.__zoom.invert(o),i.identifier],u.touch0?u.touch1||(u.touch1=o):(u.touch0=o,n=!0);if(t&&(t=clearTimeout(t),!u.touch1))return u.end(),void((o=Nn(this).on("dblclick.zoom"))&&o.apply(this,arguments));n&&(t=setTimeout((function(){t=null}),p),di(this),u.start())}}function T(){var n,e,r,o,u=x(this,arguments),a=dn.changedTouches,f=a.length;for(Wx(),t&&(t=clearTimeout(t)),n=0;n<f;++n)r=Un(this,a,(e=a[n]).identifier),u.touch0&&u.touch0[2]===e.identifier?u.touch0[0]=r:u.touch1&&u.touch1[2]===e.identifier&&(u.touch1[0]=r);if(e=u.that.__zoom,u.touch1){var s=u.touch0[0],l=u.touch0[1],h=u.touch1[0],p=u.touch1[1],d=(d=h[0]-s[0])*d+(d=h[1]-s[1])*d,v=(v=p[0]-l[0])*v+(v=p[1]-l[1])*v;e=g(e,Math.sqrt(d/v)),r=[(s[0]+h[0])/2,(s[1]+h[1])/2],o=[(l[0]+p[0])/2,(l[1]+p[1])/2]}else{if(!u.touch0)return;r=u.touch0[0],o=u.touch0[1]}u.zoom("touch",i(_(e,r,o),u.extent,c))}function k(){var t,e,r=x(this,arguments),i=dn.changedTouches,o=i.length;for(Xx(),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),t=0;t<o;++t)e=i[t],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}return v.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",Gx),t!==e?m(t,n):e.interrupt().each((function(){x(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},v.scaleBy=function(t,n){v.scaleTo(t,(function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e}))},v.scaleTo=function(t,n){v.transform(t,(function(){var t=r.apply(this,arguments),e=this.__zoom,o=y(t),u=e.invert(o),a="function"==typeof n?n.apply(this,arguments):n;return i(_(g(e,a),o,u),t,c)}))},v.translateBy=function(t,n,e){v.transform(t,(function(){return i(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),r.apply(this,arguments),c)}))},v.translateTo=function(t,n,e){v.transform(t,(function(){var t=r.apply(this,arguments),o=this.__zoom,u=y(t);return i(Bx.translate(u[0],u[1]).scale(o.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,c)}))},b.prototype={start:function(){return 1==++this.active&&(this.index=l.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(l.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){xn(new jx(v,t,this.that.__zoom),h.apply,h,[t,this.that,this.args])}},v.wheelDelta=function(t){return arguments.length?(o="function"==typeof t?t:Yx(+t),v):o},v.filter=function(t){return arguments.length?(e="function"==typeof t?t:Yx(!!t),v):e},v.touchable=function(t){return arguments.length?(u="function"==typeof t?t:Yx(!!t),v):u},v.extent=function(t){return arguments.length?(r="function"==typeof t?t:Yx([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):r},v.scaleExtent=function(t){return arguments.length?(a[0]=+t[0],a[1]=+t[1],v):[a[0],a[1]]},v.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(t){return arguments.length?(i=t,v):i},v.duration=function(t){return arguments.length?(f=+t,v):f},v.interpolate=function(t){return arguments.length?(s=t,v):s},v.on=function(){var t=h.on.apply(h,arguments);return t===h?v:t},v.clickDistance=function(t){return arguments.length?(d=(t=+t)*t,v):Math.sqrt(d)},v}Vx.prototype=Hx.prototype},6932:function(t,n,e){var r,i,o,u=e(5108);r=e(5115),i=e(2269),o=e(3858),L.Minichart=L.CircleMarker.extend({options:{type:"bar",data:[1],maxValues:"auto",colors:r.schemeCategory10,width:60,height:60,opacity:1,labels:"none",labelMinSize:8,labelMaxSize:24,labelPadding:2,labelColor:"auto",labelStyle:"font-family:sans-serif",transitionTime:750},initialize:function(t,n){this._center=t,this._zoom=0,this.options=o.mergeOptions(n,this.options),this._setMaxValue(),L.CircleMarker.prototype.initialize.call(this,t,{radius:this.options.width/2,stroke:!1,fill:!1})},onAdd:function(t){L.CircleMarker.prototype.onAdd.call(this,t);var n=this._container||this._renderer._rootGroup;n.setAttribute("class","leaflet-zoom-hide"),this._chart=r.select(n).append("g"),L.version>="1.0"&&this.addInteractiveTarget(this._chart.node()),t.on("moveend",this._onMoveend,this),this._redraw(!0)},onRemove:function(t){L.CircleMarker.prototype.onRemove.call(this,t),this._chart.selectAll("*").remove(),t.off("moveend",this._onMoveend,this)},_onMoveend:function(){var t=this._zoom;this._zoom=this._map.getZoom(),t!=this._zoom&&this._redraw()},setOptions:function(t){var n=t.type&&t.type!=this.options.type;this.options=o.mergeOptions(t,this.options),this._setMaxValue(),this._redraw(n)}
1,_setMaxValue:function(){var t=this.options.maxValues,n=o.toArray(this.options.data);if("auto"===t&&0==(t=Math.max(r.max(n),Math.abs(r.min(n))))&&(t=1),1!==(t=o.toArray(t)).length&&t.length!=n.length)throw new Error("'maxValues' should be a single number or have same length as 'data'");for(var e=0;e<n.length;e++)if(Math.abs(n[e])>t[e%t.length]){u.warn("Some data values are greater than 'maxValues'. Chart will be truncated. You should set option 'maxValues' to avoid this problem.");break}this.options.maxValues=t},_redraw:function(t){var n,e=this._map.latLngToLayerPoint(this._center);n="bar"==this.options.type?2*this.options.height:this.options.width,this._chart.attr("transform","translate("+(e.x-this.options.width/2)+","+(e.y-n/2)+")").transition().duration(this.options.transitionTime).attr("opacity",this.options.opacity);var r=this.options.data;r=o.toArray(r);for(var u=0;u<r.length;u++)!isNaN(r[u])&&isFinite(r[u])||(r[u]=0);var a=this.options.maxValues,c=[];if("pie"==this.options.type)c=r;else for(u=0;u<r.length;u++)c.push(r[u]/a[u%a.length]);var f,s,l=this.options.labels;switch("auto"===l&&(l=o.prettyNumbers(r)),this.options.type){case"bar":f=i.Barchart;break;case"pie":f=i.Piechart;break;case"polar-radius":f=i.Polarchart,s="radius";break;case"polar-area":f=i.Polarchart,s="area"}var h={width:this.options.width,height:2*this.options.height,colors:this.options.colors,type:s,transitionTime:this.options.transitionTime,minValue:-1,maxValue:1,labels:l,labelColors:this.options.labelColor,labelMinSize:this.options.labelMinSize,labelMaxSize:this.options.labelMaxSize,labelPadding:this.options.labelPadding,labelClass:"leaflet-clickable leaflet-interactive",shapeClass:"leaflet-clickable leaflet-interactive"};!0===t?(this._chart.selectAll("*").remove(),this._chartObject=new f(this._chart.node(),c,h)):this._chartObject.update(c,h)}}),L.minichart=function(t,n){return new L.Minichart(t,n)}},3858:function(t){!function(){"use strict";function n(t){return t.constructor!==Array&&(t=[t]),t}function e(t){if(isNaN(t)||!isFinite(t))return"";var n,e=Math.abs(t);return e<1e3?n="":e<1e6?(n="K",e/=1e3):e<1e9?(n="M",e/=1e6):e<1e12?(n="B",e/=1e9):e<1e15&&(n="T",e/=1e12),(t<0?"-":"")+(e=e>10?r(e):r(e,e>1?10:100,!0))+n}function r(t,n,e){return n=n||1,e?Math.round(t*n)/n:Math.round(t/n)*n}t.exports.mergeOptions=function(t,n){for(var e in t=t?JSON.parse(JSON.stringify(t)):{},n=n||{})n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e]);return t},t.exports.toArray=n,t.exports.toFunction=function(t){return"function"==typeof t?t:(t=n(t),function(n,e){return t[e%t.length]})},t.exports.prettyNumbers=function(t){return t.map(e)}}()},3017:function(t,n,e){"use strict";e.r(n),e.d(n,{active:function(){return Mo},arc:function(){return cy},area:function(){return dy},areaRadial:function(){return My},ascending:function(){return i},axisBottom:function(){return it},axisLeft:function(){return ot},axisRight:function(){return rt},axisTop:function(){return et},bisect:function(){return f},bisectLeft:function(){return c},bisectRight:function(){return a},bisector:function(){return o},brush:function(){return $o},brushSelection:function(){return Vo},brushX:function(){return Xo},brushY:function(){return Wo},chord:function(){return ru},clientPoint:function(){return Ln},cluster:function(){return Ph},color:function(){return pe},create:function(){return Cn},creator:function(){return yt},cross:function(){return h},csv:function(){return $p.gy},csvFormat:function(){return ju},csvFormatRows:function(){return Hu},csvParse:function(){return Iu},csvParseRows:function(){return Yu},cubehelix:function(){return Ge},curveBasis:function(){return rm},curveBasisClosed:function(){return om},curveBasisOpen:function(){return am},curveBundle:function(){return fm},curveCardinal:function(){return hm},curveCardinalClosed:function(){return dm},curveCardinalOpen:function(){return gm},curveCatmullRom:function(){return mm},curveCatmullRomClosed:function(){return bm},curveCatmullRomOpen:function(){return Mm},curveLinear:function(){return sy},curveLinearClosed:function(){return Am},curveMonotoneX:function(){return Rm},curveMonotoneY:function(){return Lm},curveNatural:function(){return Um},curveStep:function(){return Fm},curveStepAfter:function(){return Ym},curveStepBefore:function(){return Im},customEvent:function(){return xn},descending:function(){return p},deviation:function(){return g},dispatch:function(){return ht},drag:function(){return Zn},dragDisable:function(){return Yn},dragEnable:function(){return jn},dsvFormat:function(){return Du},easeBack:function(){return vo},easeBackIn:function(){return ho},easeBackInOut:function(){return vo},easeBackOut:function(){return po},easeBounce:function(){return fo},easeBounceIn:function(){return co},easeBounceInOut:function(){return so},easeBounceOut:function(){return fo}
1,easeCircle:function(){return uo},easeCircleIn:function(){return io},easeCircleInOut:function(){return uo},easeCircleOut:function(){return oo},easeCubic:function(){return Xi},easeCubicIn:function(){return Bi},easeCubicInOut:function(){return Xi},easeCubicOut:function(){return Vi},easeElastic:function(){return yo},easeElasticIn:function(){return _o},easeElasticInOut:function(){return mo},easeElasticOut:function(){return yo},easeExp:function(){return ro},easeExpIn:function(){return no},easeExpInOut:function(){return ro},easeExpOut:function(){return eo},easeLinear:function(){return Ii},easePoly:function(){return Zi},easePolyIn:function(){return Wi},easePolyInOut:function(){return Zi},easePolyOut:function(){return $i},easeQuad:function(){return Hi},easeQuadIn:function(){return Yi},easeQuadInOut:function(){return Hi},easeQuadOut:function(){return ji},easeSin:function(){return to},easeSinIn:function(){return Ji},easeSinInOut:function(){return to},easeSinOut:function(){return Ki},entries:function(){return Lu},event:function(){return dn},extent:function(){return _},forceCenter:function(){return Zu},forceCollide:function(){return ca},forceLink:function(){return la},forceManyBody:function(){return _a},forceRadial:function(){return ya},forceSimulation:function(){return ga},forceX:function(){return ma},forceY:function(){return xa},format:function(){return Ea},formatDefaultLocale:function(){return La},formatLocale:function(){return Ra},formatPrefix:function(){return za},formatSpecifier:function(){return Ta},geoAlbers:function(){return Kl},geoAlbersUsa:function(){return th},geoArea:function(){return Cc},geoAzimuthalEqualArea:function(){return ih},geoAzimuthalEqualAreaRaw:function(){return rh},geoAzimuthalEquidistant:function(){return uh},geoAzimuthalEquidistantRaw:function(){return oh},geoBounds:function(){return wf},geoCentroid:function(){return Lf},geoCircle:function(){return Vf},geoClipAntimeridian:function(){return es},geoClipCircle:function(){return rs},geoClipExtent:function(){return as},geoClipRectangle:function(){return us},geoConicConformal:function(){return hh},geoConicConformalRaw:function(){return lh},geoConicEqualArea:function(){return Jl},geoConicEqualAreaRaw:function(){return Ql},geoConicEquidistant:function(){return gh},geoConicEquidistantRaw:function(){return vh},geoContains:function(){return Ns},geoDistance:function(){return ms},geoEquirectangular:function(){return dh},geoEquirectangularRaw:function(){return ph},geoGnomonic:function(){return yh},geoGnomonicRaw:function(){return _h},geoGraticule:function(){return zs},geoGraticule10:function(){return Ps},geoIdentity:function(){return xh},geoInterpolate:function(){return Rs},geoLength:function(){return gs},geoMercator:function(){return ch},geoMercatorRaw:function(){return ah},geoNaturalEarth1:function(){return wh},geoNaturalEarth1Raw:function(){return bh},geoOrthographic:function(){return Sh},geoOrthographicRaw:function(){return Mh},geoPath:function(){return ql},geoProjection:function(){return $l},geoProjectionMutator:function(){return Zl},geoRotation:function(){return jf},geoStereographic:function(){return Th},geoStereographicRaw:function(){return Ah},geoStream:function(){return gc},geoTransform:function(){return Ul},geoTransverseMercator:function(){return Nh},geoTransverseMercatorRaw:function(){return kh},hcl:function(){return Fe},hierarchy:function(){return Lh},histogram:function(){return z},hsl:function(){return be},html:function(){return $p.dy},interpolate:function(){return gr},interpolateArray:function(){return fr},interpolateBasis:function(){return Ke},interpolateBasisClosed:function(){return tr},interpolateCool:function(){return P_},interpolateCubehelix:function(){return Fr},interpolateCubehelixDefault:function(){return E_},interpolateCubehelixLong:function(){return Ir},interpolateDate:function(){return sr},interpolateHcl:function(){return qr},interpolateHclLong:function(){return Ur},interpolateHsl:function(){return Pr},interpolateHslLong:function(){return Rr},interpolateInferno:function(){return D_},interpolateLab:function(){return Lr},interpolateMagma:function(){return U_},interpolateNumber:function(){return lr},interpolateObject:function(){return hr},interpolatePlasma:function(){return F_},interpolateRainbow:function(){return L_},interpolateRgb:function(){return or},interpolateRgbBasis:function(){return ar},interpolateRgbBasisClosed:function(){return cr},interpolateRound:function(){return _r},interpolateString:function(){return vr},interpolateTransformCss:function(){return Tr},interpolateTransformSvg:function(){return kr},interpolateViridis:function(){return q_},interpolateWarm:function(){return z_},interpolateZoom:function(){return Er},interrupt:function(){return di},interval:function(){return ai},isoFormat:function(){return g_},isoParse:function(){return y_},json:function(){return $p.AV},keys:function(){return Pu},lab:function(){return Pe},line:function(){return py},lineRadial:function(){return wy},linkHorizontal:function(){return Py},linkRadial:function(){return Ly},linkVertical:function(){return Ry},local:function(){return zn},map:function(){return wu},matcher:function(){return Tt},max:function(){return O},mean:function(){return q},median:function(){return U},merge:function(){return D},min:function(){return F},mouse:function(){return On},namespace:function(){return vt},namespaces:function(){return dt},nest:function(){return Mu},now:function(){return Jr},pack:function(){return op},packEnclose:function(){return Ih},packSiblings:function(){return Kh},pairs:function(){return s},partition:function(){return lp},path:function(){return hu},permute:function(){return I},pie:function(){return _y},pointRadial:function(){return Sy},polygonArea:function(){return Pp},polygonCentroid:function(){return Rp},polygonContains:function(){return Dp},polygonHull:function(){return Up}
1,polygonLength:function(){return Fp},precisionFixed:function(){return Oa},precisionPrefix:function(){return qa},precisionRound:function(){return Ua},quadtree:function(){return ea},quantile:function(){return P},quantize:function(){return Yr},queue:function(){return Ip.c},radialArea:function(){return My},radialLine:function(){return wy},randomBates:function(){return Xp},randomExponential:function(){return Wp},randomIrwinHall:function(){return Vp},randomLogNormal:function(){return Bp},randomNormal:function(){return Hp},randomUniform:function(){return jp},range:function(){return M},request:function(){return $p.WY},rgb:function(){return _e},ribbon:function(){return yu},scaleBand:function(){return td},scaleIdentity:function(){return pd},scaleImplicit:function(){return Jp},scaleLinear:function(){return hd},scaleLog:function(){return bd},scaleOrdinal:function(){return Kp},scalePoint:function(){return ed},scalePow:function(){return Md},scaleQuantile:function(){return Ad},scaleQuantize:function(){return Td},scaleSequential:function(){return I_},scaleSqrt:function(){return Sd},scaleThreshold:function(){return kd},scaleTime:function(){return M_},scaleUtc:function(){return S_},scan:function(){return Y},schemeCategory10:function(){return T_},schemeCategory20:function(){return C_},schemeCategory20b:function(){return k_},schemeCategory20c:function(){return N_},select:function(){return Nn},selectAll:function(){return qn},selection:function(){return kn},selector:function(){return xt},selectorAll:function(){return wt},set:function(){return zu},shuffle:function(){return j},stack:function(){return Vm},stackOffsetDiverging:function(){return Wm},stackOffsetExpand:function(){return Xm},stackOffsetNone:function(){return jm},stackOffsetSilhouette:function(){return $m},stackOffsetWiggle:function(){return Zm},stackOrderAscending:function(){return Gm},stackOrderDescending:function(){return Jm},stackOrderInsideOut:function(){return Km},stackOrderNone:function(){return Hm},stackOrderReverse:function(){return tx},stratify:function(){return gp},style:function(){return jt},sum:function(){return H},symbol:function(){return Ky},symbolCircle:function(){return Oy},symbolCross:function(){return qy},symbolDiamond:function(){return Fy},symbolSquare:function(){return By},symbolStar:function(){return Hy},symbolTriangle:function(){return Xy},symbolWye:function(){return Qy},symbols:function(){return Jy},text:function(){return $p.fL},thresholdFreedmanDiaconis:function(){return R},thresholdScott:function(){return L},thresholdSturges:function(){return E},tickIncrement:function(){return N},tickStep:function(){return C},ticks:function(){return k},timeDay:function(){return Zd},timeDays:function(){return Gd},timeFormat:function(){return Kv},timeFormatDefaultLocale:function(){return p_},timeFormatLocale:function(){return Qv},timeFriday:function(){return rv},timeFridays:function(){return sv},timeHour:function(){return Xd},timeHours:function(){return Wd},timeInterval:function(){return Ed},timeMillisecond:function(){return Pd},timeMilliseconds:function(){return Rd},timeMinute:function(){return Hd},timeMinutes:function(){return Bd},timeMonday:function(){return Kd},timeMondays:function(){return uv},timeMonth:function(){return pv},timeMonths:function(){return dv},timeParse:function(){return tg},timeSaturday:function(){return iv},timeSaturdays:function(){return lv},timeSecond:function(){return Id},timeSeconds:function(){return Yd},timeSunday:function(){return Jd},timeSundays:function(){return ov},timeThursday:function(){return ev},timeThursdays:function(){return fv},timeTuesday:function(){return tv},timeTuesdays:function(){return av},timeWednesday:function(){return nv},timeWednesdays:function(){return cv},timeWeek:function(){return Jd},timeWeeks:function(){return ov},timeYear:function(){return gv},timeYears:function(){return _v},timeout:function(){return ui},timer:function(){return ni},timerFlush:function(){return ei},touch:function(){return Un},touches:function(){return Dn},transition:function(){return Ui},transpose:function(){return B},tree:function(){return Mp},treemap:function(){return Np},treemapBinary:function(){return Cp},treemapDice:function(){return sp},treemapResquarify:function(){return zp},treemapSlice:function(){return Sp},treemapSliceDice:function(){return Ep},treemapSquarify:function(){return kp},tsv:function(){return $p.pv},tsvFormat:function(){return Wu},tsvFormatRows:function(){return $u},tsvParse:function(){return Vu},tsvParseRows:function(){return Xu},utcDay:function(){return Av},utcDays:function(){return Tv},utcFormat:function(){return ng},utcFriday:function(){return Rv},utcFridays:function(){return Iv},utcHour:function(){return wv},utcHours:function(){return Mv},utcMillisecond:function(){return Pd},utcMilliseconds:function(){return Rd},utcMinute:function(){return mv},utcMinutes:function(){return xv},utcMonday:function(){return Cv},utcMondays:function(){return qv},utcMonth:function(){return Hv},utcMonths:function(){return Bv},utcParse:function(){return eg},utcSaturday:function(){return Lv},utcSaturdays:function(){return Yv},utcSecond:function(){return Id},utcSeconds:function(){return Yd},utcSunday:function(){return Nv},utcSundays:function(){return Ov},utcThursday:function(){return Pv},utcThursdays:function(){return Fv},utcTuesday:function(){return Ev},utcTuesdays:function(){return Uv},utcWednesday:function(){return zv},utcWednesdays:function(){return Dv},utcWeek:function(){return Nv},utcWeeks:function(){return Ov},utcYear:function(){return Xv},utcYears:function(){return Wv},values:function(){return Ru},variance:function(){return v},version:function(){return r},voronoi:function(){return Ix},window:function(){return Dt},xml:function(){return $p.Ls},zip:function(){return X},zoom:function(){return tb},zoomIdentity:function(){return Bx},zoomTransform:function(){return Vx}});var r="4.13.0";function i(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function o(t){var n;return 1===t.length&&(n=t,t=function(t,e){return i(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}var u=o(i),a=u.right,c=u.left,f=a;function s(t,n){null==n&&(n=l);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);e<r;)o[e]=n(i,i=t[++e]);return o}function l(t,n){return[t,n]}function h(t,n,e){var r,i,o,u,a=t.length,c=n.length,f=new Array(a*c);for(null==e&&(e=l),r=o=0;r<a;++r)for(u=t[r],i=0;i<c;++i,++o)f[o]=e(u,n[i]);return f}function p(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function d(t){return null===t?NaN:+t}function v(t,n){var e,r,i=t.length,o=0,u=-1,a=0,c=0;if(null==n)for(;++u<i;)isNaN(e=d(t[u]))||(c+=(r=e-a)*(e-(a+=r/++o)));else for(;++u<i;)isNaN(e=d(n(t[u],u,t)))||(c+=(r=e-a)*(e-(a+=r/++o)));if(o>1)return c/(o-1)}function g(t,n){var e=v(t,n);return e?Math.sqrt(e):e}function _(t,n){var e,r,i,o=t.length,u=-1;if(null==n){for(;++u<o;)if(null!=(e=t[u])&&e>=e)for(r=i=e;++u<o;)null!=(e=t[u])&&(r>e&&(r=e),i<e&&(i=e))}else for(;++u<o;)if(null!=(e=n(t[u],u,t))&&e>=e)for(r=i=e;++u<o;)null!=(e=n(t[u],u,t))&&(r>e&&(r=e),i<e&&(i=e));return[r,i]}var y=Array.prototype,m=y.slice,x=y.map;function b(t){return function(){return t}}function w(t){return t}function M(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}var S=Math.sqrt(50),A=Math.sqrt(10),T=Math.sqrt(2);function k(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=N(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++a<i;)o[a]=(t+a)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),o=new Array(i=Math.ceil(t-n+1));++a<i;)o[a]=(t-a)/u;return r&&o.reverse(),o}function N(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=S?10:o>=A?5:o>=T?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=A?5:o>=T?2:1)}function C(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=A?i*=5:o>=T&&(i*=2),n<t?-i:i}function E(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function z(){var t=w,n=_,e=E;function r(r){var i,o,u=r.length,a=new Array(u);for(i=0;i<u;++i)a[i]=t(r[i],i,r);var c=n(a),s=c[0],l=c[1],h=e(a,s,l);Array.isArray(h)||(h=C(s,l,h),h=M(Math.ceil(s/h)*h,Math.floor(l/h)*h,h));for(var p=h.length;h[0]<=s;)h.shift(),--p;for(;h[p-1]>l;)h.pop(),--p;var d,v=new Array(p+1);for(i=0;i<=p;++i)(d=v[i]=[]).x0=i>0?h[i-1]:s,d.x1=i<p?h[i]:l;for(i=0;i<u;++i)s<=(o=a[i])&&o<=l&&v[f(h,o,0,p)].push(r[i]);return v}return r.value=function(n){return arguments.length?(t="function"==typeof n?n:b(n),r):t},r.domain=function(t){return arguments.length?(n="function"==typeof t?t:b([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?b(m.call(t)):b(t),r):e},r}function P(t,n,e){if(null==e&&(e=d),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}function R(t,n,e){return t=x.call(t,d).sort(i),Math.ceil((e-n)/(2*(P(t,.75)-P(t,.25))*Math.pow(t.length,-1/3)))}function L(t,n,e){return Math.ceil((e-n)/(3.5*g(t)*Math.pow(t.length,-1/3)))}function O(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r}function q(t,n){var e,r=t.length,i=r,o=-1,u=0;if(null==n)for(;++o<r;)isNaN(e=d(t[o]))?--i:u+=e;else for(;++o<r;)isNaN(e=d(n(t[o],o,t)))?--i:u+=e;if(i)return u/i}function U(t,n){var e,r=t.length,o=-1,u=[];
1if(null==n)for(;++o<r;)isNaN(e=d(t[o]))||u.push(e);else for(;++o<r;)isNaN(e=d(n(t[o],o,t)))||u.push(e);return P(u.sort(i),.5)}function D(t){for(var n,e,r,i=t.length,o=-1,u=0;++o<i;)u+=t[o].length;for(e=new Array(u);--i>=0;)for(n=(r=t[i]).length;--n>=0;)e[--u]=r[n];return e}function F(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r}function I(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}function Y(t,n){if(e=t.length){var e,r,o=0,u=0,a=t[u];for(null==n&&(n=i);++o<e;)(n(r=t[o],a)<0||0!==n(a,a))&&(a=r,u=o);return 0===n(a,a)?u:void 0}}function j(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t}function H(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o}function B(t){if(!(i=t.length))return[];for(var n=-1,e=F(t,V),r=new Array(e);++n<e;)for(var i,o=-1,u=r[n]=new Array(i);++o<i;)u[o]=t[o][n];return r}function V(t){return t.length}function X(){return B(arguments)}var W=Array.prototype.slice;function $(t){return t}var Z=1e-6;function G(t){return"translate("+(t+.5)+",0)"}function Q(t){return"translate(0,"+(t+.5)+")"}function J(t){return function(n){return+t(n)}}function K(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function tt(){return!this.__axis}function nt(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,c=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",s=1===t||3===t?G:Q;function l(l){var h=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):$:i,d=Math.max(o,0)+a,v=n.range(),g=+v[0]+.5,_=+v[v.length-1]+.5,y=(n.bandwidth?K:J)(n.copy()),m=l.selection?l.selection():l,x=m.selectAll(".domain").data([null]),b=m.selectAll(".tick").data(h,n).order(),w=b.exit(),M=b.enter().append("g").attr("class","tick"),S=b.select("line"),A=b.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),b=b.merge(M),S=S.merge(M.append("line").attr("stroke","#000").attr(f+"2",c*o)),A=A.merge(M.append("text").attr("fill","#000").attr(f,c*d).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),l!==m&&(x=x.transition(l),b=b.transition(l),S=S.transition(l),A=A.transition(l),w=w.transition(l).attr("opacity",Z).attr("transform",(function(t){return isFinite(t=y(t))?s(t):this.getAttribute("transform")})),M.attr("opacity",Z).attr("transform",(function(t){var n=this.parentNode.__axis;return s(n&&isFinite(n=n(t))?n:y(t))}))),w.remove(),x.attr("d",4===t||2==t?"M"+c*u+","+g+"H0.5V"+_+"H"+c*u:"M"+g+","+c*u+"V0.5H"+_+"V"+c*u),b.attr("opacity",1).attr("transform",(function(t){return s(y(t))})),S.attr(f+"2",c*o),A.attr(f,c*d).text(p),m.filter(tt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),m.each((function(){this.__axis=y}))}return l.scale=function(t){return arguments.length?(n=t,l):n},l.ticks=function(){return e=W.call(arguments),l},l.tickArguments=function(t){return arguments.length?(e=null==t?[]:W.call(t),l):e.slice()},l.tickValues=function(t){return arguments.length?(r=null==t?null:W.call(t),l):r&&r.slice()},l.tickFormat=function(t){return arguments.length?(i=t,l):i},l.tickSize=function(t){return arguments.length?(o=u=+t,l):o},l.tickSizeInner=function(t){return arguments.length?(o=+t,l):o},l.tickSizeOuter=function(t){return arguments.length?(u=+t,l):u},l.tickPadding=function(t){return arguments.length?(a=+t,l):a},l}function et(t){return nt(1,t)}function rt(t){return nt(2,t)}function it(t){return nt(3,t)}function ot(t){return nt(4,t)}var ut={value:function(){}};function at(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ct(r)}function ct(t){this._=t}function ft(t,n){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function st(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function lt(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=ut,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}ct.prototype=at.prototype={constructor:ct,on:function(t,n){var e,r=this._,i=ft(t+"",r),o=-1,u=i.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<u;
vendor: 7,229 bytes, line 1
1)if(e=(t=i[o]).type)r[e]=lt(r[e],t.name,n);else if(null==n)for(e in r)r[e]=lt(r[e],t.name,null);return this}for(;++o<u;)if((e=(t=i[o]).type)&&(e=st(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new ct(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var ht=at,pt="http://www.w3.org/1999/xhtml",dt={svg:"http://www.w3.org/2000/svg",xhtml:pt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function vt(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),dt.hasOwnProperty(n)?{space:dt[n],local:t}:t}function gt(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===pt&&n.documentElement.namespaceURI===pt?n.createElement(t):n.createElementNS(e,t)}}function _t(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function yt(t){var n=vt(t);return(n.local?_t:gt)(n)}function mt(){}function xt(t){return null==t?mt:function(){return this.querySelector(t)}}function bt(){return[]}function wt(t){return null==t?bt:function(){return this.querySelectorAll(t)}}var Mt=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var St=document.documentElement;if(!St.matches){var At=St.webkitMatchesSelector||St.msMatchesSelector||St.mozMatchesSelector||St.oMatchesSelector;Mt=function(t){return function(){return At.call(this,t)}}}}var Tt=Mt;function kt(t){return new Array(t.length)}function Nt(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function Ct(t,n,e,r,i,o){for(var u,a=0,c=n.length,f=o.length;a<f;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new Nt(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function Et(t,n,e,r,i,o,u){var a,c,f,s={},l=n.length,h=o.length,p=new Array(l);for(a=0;a<l;++a)(c=n[a])&&(p[a]=f="$"+u.call(c,c.__data__,a,n),f in s?i[a]=c:s[f]=c);for(a=0;a<h;++a)(c=s[f="$"+u.call(t,o[a],a,o)])?(r[a]=c,c.__data__=o[a],s[f]=null):e[a]=new Nt(t,o[a]);for(a=0;a<l;++a)(c=n[a])&&s[p[a]]===c&&(i[a]=c)}function zt(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function Pt(t){return function(){this.removeAttribute(t)}}function Rt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Lt(t,n){return function(){this.setAttribute(t,n)}}function Ot(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function qt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Ut(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Dt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Ft(t){return function(){this.style.removeProperty(t)}}function It(t,n,e){return function(){this.style.setProperty(t,n,e)}}function Yt(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function jt(t,n){return t.style.getPropertyValue(n)||Dt(t).getComputedStyle(t,null).getPropertyValue(n)}function Ht(t){return function(){delete this[t]}}function Bt(t,n){return function(){this[t]=n}}function Vt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Xt(t){return t.trim().split(/^|\s+/)}function Wt(t){return t.classList||new $t(t)}function $t(t){this._node=t,this._names=Xt(t.getAttribute("class")||"")}function Zt(t,n){for(var e=Wt(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function Gt(t,n){for(var e=Wt(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function Qt(t){return function(){Zt(this,t)}}function Jt(t){return function(){Gt(this,t)}}function Kt(t,n){return function(){(n.apply(this,arguments)?Zt:Gt)(this,t)}}function tn(){this.textContent=""}function nn(t){return function(){this.textContent=t}}function en(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function rn(){this.innerHTML=""}function on(t){return function(){this.innerHTML=t}}function un(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function an(){this.nextSibling&&this.parentNode.appendChild(this)}function cn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function fn(){return null}function sn(){var t=this.parentNode;t&&t.removeChild(this)}function ln(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function hn(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Nt.prototype={constructor:Nt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},$t.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var pn={},dn=null;function vn(t,n,e){return t=gn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function gn(t,n,e){return function(r){var i=dn;dn=r;try{t.call(this,this.__data__,n,e)}finally{dn=i}}}function _n(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function yn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function mn(t,n,e){var r=pn.hasOwnProperty(t.type)?vn:gn;return function(i,o,u){var a,c=this.__on,f=r(n,o,u);if(c)for(var s=0,l=c.length;s<l;++s)if((a=c[s]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=f,a.capture=e),void(a.value=n);this.addEventListener(t.type,f,e),a={type:t.type,name:t.name,value:n,listener:f,capture:e},c?c.push(a):this.__on=[a]}}function xn(t,n,e,r){var i=dn;t.sourceEvent=dn,dn=t;try{return n.apply(e,r)}finally{dn=i}}function bn(t,n,e){var r=Dt(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function wn(t,n){return function(){return bn(this,t,n)}}function Mn(t,n){return function(){return bn(this,t,n.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(pn={mouseenter:"mouseover",mouseleave:"mou
1seout"}));var Sn=[null];function An(t,n){this._groups=t,this._parents=n}function Tn(){return new An([[document.documentElement]],Sn)}An.prototype=Tn.prototype={constructor:An,select:function(t){"function"!=typeof t&&(t=xt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,f=r[i]=new Array(c),s=0;s<c;++s)(o=a[s])&&(u=t.call(o,o.__data__,s,a))&&("__data__"in o&&(u.__data__=o.__data__),f[s]=u);return new An(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=wt(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,f=0;f<c;++f)(u=a[f])&&(r.push(t.call(u,u.__data__,f,a)),i.push(u));return new An(r,i)},filter:function(t){"function"!=typeof t&&(t=Tt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new An(r,this._parents)},data:function(t,n){if(!t)return d=new Array(this.size()),s=-1,this.each((function(t){d[++s]=t})),d;var e,r=n?Et:Ct,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var u=o.length,a=new Array(u),c=new Array(u),f=new Array(u),s=0;s<u;++s){var l=i[s],h=o[s],p=h.length,d=t.call(l,l&&l.__data__,s,i),v=d.length,g=c[s]=new Array(v),_=a[s]=new Array(v);r(l,h,g,_,f[s]=new Array(p),d,n);for(var y,m,x=0,b=0;x<v;++x)if(y=g[x]){for(x>=b&&(b=x+1);!(m=_[b])&&++b<v;);y._next=m||null}}return(a=new An(a,i))._enter=c,a._exit=f,a},enter:function(){return new An(this._enter||this._groups.map(kt),this._parents)},exit:function(){return new An(this._exit||this._groups.map(kt),this._parents)},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),p=0;p<l;++p)(c=f[p]||s[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new An(u,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=zt);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,f=i[o]=new Array(c),s=0;s<c;++s)(u=a[s])&&(f[s]=u);f.sort(n)}return new An(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each((function(){t[++n]=this})),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=vt(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?Rt:Pt:"function"==typeof n?e.local?Ut:qt:e.local?Ot:Lt)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?Ft:"function"==typeof n?Yt:It)(t,n,null==e?"":e)):jt(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Ht:"function"==typeof n?Vt:Bt)(t,n)):this.node()[t]},classed:function(t,n){var e=Xt(t+"");if(arguments.length<2){for(var r=Wt(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?Kt:n?Qt:Jt)(e,n))},text:function(t){return arguments.length?this.each(null==t?tn:("function"==typeof t?en:nn)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?rn:("function"==typeof t?un:on)(t)):this.node().innerHTML},raise:function(){return this.each(an)},lower:function(){return this.each(cn)},append:function(t){var n="function"==typeof t?t:yt(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:yt(t),r=null==n?fn:"function"==typeof n?n:xt(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(sn)},clone:function(t){return this.select(t?hn:ln)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=_n(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?mn:yn,null==e&&(e=!1),r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,f=0,s=a.length;f<s;++f)for(r=0,c=a[f];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"==typeof n?Mn:wn)(t,
1n))}};var kn=Tn;function Nn(t){return"string"==typeof t?new An([[document.querySelector(t)]],[document.documentElement]):new An([[t]],Sn)}function Cn(t){return Nn(yt(t).call(document.documentElement))}var En=0;function zn(){return new Pn}function Pn(){this._="@"+(++En).toString(36)}function Rn(){for(var t,n=dn;t=n.sourceEvent;)n=t;return n}function Ln(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}function On(t){var n=Rn();return n.changedTouches&&(n=n.changedTouches[0]),Ln(t,n)}function qn(t){return"string"==typeof t?new An([document.querySelectorAll(t)],[document.documentElement]):new An([null==t?[]:t],Sn)}function Un(t,n,e){arguments.length<3&&(e=n,n=Rn().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return Ln(t,r);return null}function Dn(t,n){null==n&&(n=Rn().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=Ln(t,n[e]);return i}function Fn(){dn.stopImmediatePropagation()}function In(){dn.preventDefault(),dn.stopImmediatePropagation()}function Yn(t){var n=t.document.documentElement,e=Nn(t).on("dragstart.drag",In,!0);"onselectstart"in n?e.on("selectstart.drag",In,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function jn(t,n){var e=t.document.documentElement,r=Nn(t).on("dragstart.drag",null);n&&(r.on("click.drag",In,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}function Hn(t){return function(){return t}}function Bn(t,n,e,r,i,o,u,a,c,f){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=u,this.dx=a,this.dy=c,this._=f}function Vn(){return!dn.button}function Xn(){return this.parentNode}function Wn(t){return null==t?{x:dn.x,y:dn.y}:t}function $n(){return"ontouchstart"in this}function Zn(){var t,n,e,r,i=Vn,o=Xn,u=Wn,a=$n,c={},f=ht("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",p).filter(a).on("touchstart.drag",g).on("touchmove.drag",_).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(){if(!r&&i.apply(this,arguments)){var u=m("mouse",o.apply(this,arguments),On,this,arguments);u&&(Nn(dn.view).on("mousemove.drag",d,!0).on("mouseup.drag",v,!0),Yn(dn.view),Fn(),e=!1,t=dn.clientX,n=dn.clientY,u("start"))}}function d(){if(In(),!e){var r=dn.clientX-t,i=dn.clientY-n;e=r*r+i*i>l}c.mouse("drag")}function v(){Nn(dn.view).on("mousemove.drag mouseup.drag",null),jn(dn.view,e),In(),c.mouse("end")}function g(){if(i.apply(this,arguments)){var t,n,e=dn.changedTouches,r=o.apply(this,arguments),u=e.length;for(t=0;t<u;++t)(n=m(e[t].identifier,r,Un,this,arguments))&&(Fn(),n("start"))}}function _(){var t,n,e=dn.changedTouches,r=e.length;for(t=0;t<r;++t)(n=c[e[t].identifier])&&(In(),n("drag"))}function y(){var t,n,e=dn.changedTouches,i=e.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),t=0;t<i;++t)(n=c[e[t].identifier])&&(Fn(),n("end"))}function m(t,n,e,r,i){var o,a,l,p=e(n,t),d=f.copy();if(xn(new Bn(h,"beforestart",o,t,s,p[0],p[1],0,0,d),(function(){return null!=(dn.subject=o=u.apply(r,i))&&(a=o.x-p[0]||0,l=o.y-p[1]||0,!0)})))return function u(f){var v,g=p;switch(f){case"start":c[t]=u,v=s++;break;case"end":delete c[t],--s;case"drag":p=e(n,t),v=s}xn(new Bn(h,f,o,t,v,p[0]+a,p[1]+l,p[0]-g[0],p[1]-g[1],d),d.apply,d,[f,r,i])}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:Hn(!!t),h):i},h.container=function(t){return arguments.length?(o="function"==typeof t?t:Hn(t),h):o},h.subject=function(t){return arguments.length?(u="function"==typeof t?t:Hn(t),h):u},h.touchable=function(t){return arguments.length?(a="function"==typeof t?t:Hn(!!t),h):a},h.on=function(){var t=f.on.apply(f,arguments);return t===f?h:t},h.clickDistance=function(t){return arguments.length?(l=(t=+t)*t,h):Math.sqrt(l)},h}function Gn(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Qn(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Jn(){}Pn.prototype=zn.prototype={constructor:Pn,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}},Bn.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Kn=.7,te=1/Kn,ne="\\s*([+-]?\\d+)\\s*",ee="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",re="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ie=/^#([0-9a-f]{3})$/,oe=/^#([0-9a-f]{6})$/,ue=new RegExp("^rgb\\("+[ne,ne,ne]+"\\)$"),ae=new RegExp("^rgb\\("+[re,re,re]+"\\)$"),ce=new RegExp("^rgba\\("+[ne,ne,ne,ee]+"\\)$"),fe=new RegExp("^rgba\\("+[re,re,re,ee]+"\\)$"),se=new RegExp("^hsl\\("+[ee,re,re]+"\\)$"),le=new RegExp("^hsla\\("+[ee,re,re,ee]+"\\)$"),he={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};function pe(t){var n;return t=(t+"").trim().toLowerCase(),(n=ie.exec(t))?new ye((n=parseInt(n[1],16))>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=oe.exec(t))?de(parseInt(n[1],16)):(n=ue.exec(t))?new ye(n[1],n[2],n[3],1):(n=ae.exec(t))?new ye(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=ce.exec(t))?ve(n[1],n[2],n[3],n[4]):(n=fe.exec(t))?ve(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=se.exec(t))?me(n[1],n[2]/100,n[3]/100,1):(n=le.exec(t))?me(n[1],n[2]/100,n[3]/100,n[4]):he.hasOwnProperty(t)?de(he[t]):"transparent"===t?new ye(NaN,NaN,NaN,0):null}function de(t){return new ye(t>>16&255,t>>8&255,255&t,1)}function ve(t,n,e,r){return r<=0&&(t=n=e=NaN),new ye(t,n,e,r)}function ge(t){return t instanceof Jn||(t=pe(t)),t?new ye((t=t.rgb()).r,t.g,t.b,t.opacity):new ye}function _e(t,n,e,r){return 1===arguments.length?ge(t):new ye(t,n,e,null==r?1:r)}function ye(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function me(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new we(t,n,e,r)}function xe(t){if(t instanceof we)return new we(t.h,t.s,t.l,t.opacity);if(t instanceof Jn||(t=pe(t)),!t)return new we;if(t instanceof we)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e<r):e===o?(r-n)/a+2:(n-e)/a+4,a/=c<.5?o+i:2-o-i,u*=60):a=c>0&&c<1?0:u,new we(u,a,c,t.opacity)}function be(t,n,e,r){return 1===arguments.length?xe(t):new we(t,n,e,null==r?1:r)}function we(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Me(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Gn(Jn,pe,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Gn(ye,_e,Qn(Jn,{brighter:function(t){return t=null==t?te:Math.pow(te,t),new ye(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Kn:Math.pow(Kn,t),new ye(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Gn(we,be,Qn(Jn,{brighter:function(t){return t=null==t?te:Math.pow(te,t),new we(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Kn:Math.pow(Kn,t),new we(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new ye(Me(t>=240?t-240:t+120,i,r),Me(t,i,r),Me(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Se=Math.PI/180,Ae=180/Math.PI,Te=.95047,ke=1.08883,Ne=4/29,Ce=6/29,Ee=3*Ce*Ce;function ze(t){if(t instanceof Re)return new Re(t.l,t.a,t.b,t.opacity);if(t instanceof Ie){var n=t.h*Se;return new Re(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof ye||(t=ge(t));var e=Ue(t.r),r=Ue(t.g),i=Ue(t.b),o=Le((.4124564*e+.3575761*r+.1804375*i)/Te),u=Le((.2126729*e+.7151522*r+.072175*i)/1);return new Re(116*u-16,500*(o-u),200*(u-Le((.0193339*e+.119192*r+.9503041*i)/ke)),t.opacity)}function Pe(t,n,e,r){return 1===arguments.length?ze(t):new Re(t,n,e,null==r?1:r)}function Re(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function Le(t){return t>.008856451679035631?Math.pow(t,1/3):t/Ee+Ne}function Oe(t){return t>Ce?t*t*t:Ee*(t-Ne)}
vendor: 4,117 bytes, line 1
1function qe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ue(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function De(t){if(t instanceof Ie)return new Ie(t.h,t.c,t.l,t.opacity);t instanceof Re||(t=ze(t));var n=Math.atan2(t.b,t.a)*Ae;return new Ie(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Fe(t,n,e,r){return 1===arguments.length?De(t):new Ie(t,n,e,null==r?1:r)}function Ie(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Gn(Re,Pe,Qn(Jn,{brighter:function(t){return new Re(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Re(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=1*Oe(t),new ye(qe(3.2404542*(n=Te*Oe(n))-1.5371385*t-.4985314*(e=ke*Oe(e))),qe(-.969266*n+1.8760108*t+.041556*e),qe(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Gn(Ie,Fe,Qn(Jn,{brighter:function(t){return new Ie(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new Ie(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return ze(this).rgb()}}));var Ye=-.14861,je=1.78277,He=-.29227,Be=-.90649,Ve=1.97294,Xe=Ve*Be,We=Ve*je,$e=je*He-Be*Ye;function Ze(t){if(t instanceof Qe)return new Qe(t.h,t.s,t.l,t.opacity);t instanceof ye||(t=ge(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=($e*r+Xe*n-We*e)/($e+Xe-We),o=r-i,u=(Ve*(e-i)-He*o)/Be,a=Math.sqrt(u*u+o*o)/(Ve*i*(1-i)),c=a?Math.atan2(u,o)*Ae-120:NaN;return new Qe(c<0?c+360:c,a,i,t.opacity)}function Ge(t,n,e,r){return 1===arguments.length?Ze(t):new Qe(t,n,e,null==r?1:r)}function Qe(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Je(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function Ke(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r<n-1?t[r+2]:2*o-i;return Je((e-r/n)*n,u,i,o,a)}}function tr(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],u=t[(r+1)%n],a=t[(r+2)%n];return Je((e-r/n)*n,i,o,u,a)}}function nr(t){return function(){return t}}function er(t,n){return function(e){return t+e*n}}function rr(t,n){var e=n-t;return e?er(t,e>180||e<-180?e-360*Math.round(e/360):e):nr(isNaN(t)?n:t)}function ir(t,n){var e=n-t;return e?er(t,e):nr(isNaN(t)?n:t)}Gn(Qe,Ge,Qn(Jn,{brighter:function(t){return t=null==t?te:Math.pow(te,t),new Qe(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Kn:Math.pow(Kn,t),new Qe(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Se,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new ye(255*(n+e*(Ye*r+je*i)),255*(n+e*(He*r+Be*i)),255*(n+e*(Ve*r)),this.opacity)}}));var or=function t(n){var e=function(t){return 1==(t=+t)?ir:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):nr(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=_e(t)).r,(n=_e(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=ir(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function ur(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e<i;++e)r=_e(n[e]),o[e]=r.r||0,u[e]=r.g||0,a[e]=r.b||0;return o=t(o),u=t(u),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=a(t),r+""}}}var ar=ur(Ke),cr=ur(tr);function fr(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),u=new Array(r);for(e=0;e<i;++e)o[e]=gr(t[e],n[e]);for(;e<r;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=o[e](t);return u}}function sr(t,n){var e=new Date;return n-=t=+t,function(r){return e.setTime(t+n*r),e}}function lr(t,n){return n-=t=+t,function(e){return t+n*e}}function hr(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=gr(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}
1var pr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,dr=new RegExp(pr.source,"g");function vr(t,n){var e,r,i,o=pr.lastIndex=dr.lastIndex=0,u=-1,a=[],c=[];for(t+="",n+="";(e=pr.exec(t))&&(r=dr.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:lr(e,r)})),o=dr.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)a[(e=c[r]).i]=e.x(t);return a.join("")})}function gr(t,n){var e,r=typeof n;return null==n||"boolean"===r?nr(n):("number"===r?lr:"string"===r?(e=pe(n))?(n=e,or):vr:n instanceof pe?or:n instanceof Date?sr:Array.isArray(n)?fr:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?hr:lr)(t,n)}function _r(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}var yr,mr,xr,br,wr=180/Math.PI,Mr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Sr(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*wr,skewX:Math.atan(c)*wr,scaleX:u,scaleY:a}}function Ar(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:lr(t,i)},{i:c-2,x:lr(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:lr(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:lr(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:lr(t,e)},{i:a-2,x:lr(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var Tr=Ar((function(t){return"none"===t?Mr:(yr||(yr=document.createElement("DIV"),mr=document.documentElement,xr=document.defaultView),yr.style.transform=t,t=xr.getComputedStyle(mr.appendChild(yr),null).getPropertyValue("transform"),mr.removeChild(yr),Sr(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),kr=Ar((function(t){return null==t?Mr:(br||(br=document.createElementNS("http://www.w3.org/2000/svg","g")),br.setAttribute("transform",t),(t=br.transform.baseVal.consolidate())?Sr((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Mr)}),", ",")",")"),Nr=Math.SQRT2;function Cr(t){return((t=Math.exp(t))+1/t)/2}function Er(t,n){var e,r,i=t[0],o=t[1],u=t[2],a=n[0],c=n[1],f=n[2],s=a-i,l=c-o,h=s*s+l*l;if(h<1e-12)r=Math.log(f/u)/Nr,e=function(t){return[i+t*s,o+t*l,u*Math.exp(Nr*t*r)]};else{var p=Math.sqrt(h),d=(f*f-u*u+4*h)/(2*u*2*p),v=(f*f-u*u-4*h)/(2*f*2*p),g=Math.log(Math.sqrt(d*d+1)-d),_=Math.log(Math.sqrt(v*v+1)-v);r=(_-g)/Nr,e=function(t){var n,e=t*r,a=Cr(g),c=u/(2*p)*(a*(n=Nr*e+g,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(g));return[i+c*s,o+c*l,u*a/Cr(Nr*e+g)]}}return e.duration=1e3*r,e}function zr(t){return function(n,e){var r=t((n=be(n)).h,(e=be(e)).h),i=ir(n.s,e.s),o=ir(n.l,e.l),u=ir(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var Pr=zr(rr),Rr=zr(ir);function Lr(t,n){var e=ir((t=Pe(t)).l,(n=Pe(n)).l),r=ir(t.a,n.a),i=ir(t.b,n.b),o=ir(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function Or(t){return function(n,e){var r=t((n=Fe(n)).h,(e=Fe(e)).h),i=ir(n.c,e.c),o=ir(n.l,e.l),u=ir(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var qr=Or(rr),Ur=Or(ir);function Dr(t){return function n(e){function r(n,r){var i=t((n=Ge(n)).h,(r=Ge(r)).h),o=ir(n.s,r.s),u=ir(n.l,r.l),a=ir(n.op
vendor: 5,102 bytes, line 1
1acity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var Fr=Dr(rr),Ir=Dr(ir);function Yr(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e}var jr,Hr,Br=0,Vr=0,Xr=0,Wr=0,$r=0,Zr=0,Gr="object"==typeof performance&&performance.now?performance:Date,Qr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Jr(){return $r||(Qr(Kr),$r=Gr.now()+Zr)}function Kr(){$r=0}function ti(){this._call=this._time=this._next=null}function ni(t,n,e){var r=new ti;return r.restart(t,n,e),r}function ei(){Jr(),++Br;for(var t,n=jr;n;)(t=$r-n._time)>=0&&n._call.call(null,t),n=n._next;--Br}function ri(){$r=(Wr=Gr.now())+Zr,Br=Vr=0;try{ei()}finally{Br=0,function(){for(var t,n,e=jr,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:jr=n);Hr=t,oi(r)}(),$r=0}}function ii(){var t=Gr.now(),n=t-Wr;n>1e3&&(Zr-=n,Wr=t)}function oi(t){Br||(Vr&&(Vr=clearTimeout(Vr)),t-$r>24?(t<1/0&&(Vr=setTimeout(ri,t-Gr.now()-Zr)),Xr&&(Xr=clearInterval(Xr))):(Xr||(Wr=Gr.now(),Xr=setInterval(ii,1e3)),Br=1,Qr(ri)))}function ui(t,n,e){var r=new ti;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r}function ai(t,n,e){var r=new ti,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?Jr():+e,r.restart((function o(u){u+=i,r.restart(o,i+=n,e),t(u)}),n,e),r)}ti.prototype=ni.prototype={constructor:ti,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Jr():+e)+(null==n?0:+n),this._next||Hr===this||(Hr?Hr._next=this:jr=this,Hr=this),this._call=t,this._time=e,oi()},stop:function(){this._call&&(this._call=null,this._time=1/0,oi())}};var ci=ht("start","end","interrupt"),fi=[];function si(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(c){var f,s,l,h;if(1!==e.state)return a();for(f in i)if((h=i[f]).name===e.name){if(3===h.state)return ui(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+f<n&&(h.state=6,h.timer.stop(),delete i[f])}if(ui((function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(c))})),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,r=new Array(l=e.tween.length),f=0,s=-1;f<l;++f)(h=e.tween[f].value.call(t,t.__data__,e.index,e.group))&&(r[++s]=h);r.length=s+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1),o=-1,u=r.length;++o<u;)r[o].call(null,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=ni((function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)}),0,e.time)}(t,e,{name:n,index:r,group:i,on:ci,tween:fi,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function li(t,n){var e=pi(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function hi(t,n){var e=pi(t,n);if(e.state>2)throw new Error("too late; already started");return e}function pi(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function di(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}}function vi(t,n){var e,r;return function(){var i=hi(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function gi(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=hi(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,f=i.length;c<f;++c)if(i[c].name===n){i[c]=a;break}c===f&&i.push(a)}o.tween=i}}function _i(t,n,e){var r=t._id;return t.each((function(){var t=hi(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return pi(t,r).value[n]}}function yi(t,n){var e;return("number"==typeof n?lr:n instanceof pe?or:(e=pe(n))?(n=e,or):vr)(t,n)}function mi(t){return function(){this.removeAttribute(t)}}function xi(t){return function(){this.removeAttributeNS(t.space,t.local)}}function bi(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}}function wi(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}function Mi(t,n,e){var r,i,o;return function(){var u,a=e(this);if(null!=a)return(u=this.getAttribute(t))===a?null:u===r&&a===i?o:o=n(r=u,i=a);this.removeAttribute(t)}}function Si(t,n,e){var r,i,o;return function(){var u,a=e(this);if(null!=a)return(u=this.getAttributeNS(t.space,t.local))===a?null:u===r&&a===i?o:o=n(r=u,i=a);this.removeAttributeNS(t.space,t.local)}}function Ai(t,n){function e(){var e=this,r=n.apply(e,arguments);
1return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}function Ti(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e}function ki(t,n){return function(){li(this,t).delay=+n.apply(this,arguments)}}function Ni(t,n){return n=+n,function(){li(this,t).delay=n}}function Ci(t,n){return function(){hi(this,t).duration=+n.apply(this,arguments)}}function Ei(t,n){return n=+n,function(){hi(this,t).duration=n}}function zi(t,n){if("function"!=typeof n)throw new Error;return function(){hi(this,t).ease=n}}function Pi(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?li:hi;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}var Ri=kn.prototype.constructor;function Li(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}var Oi=0;function qi(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Ui(t){return kn().transition(t)}function Di(){return++Oi}var Fi=kn.prototype;function Ii(t){return+t}function Yi(t){return t*t}function ji(t){return t*(2-t)}function Hi(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Bi(t){return t*t*t}function Vi(t){return--t*t*t+1}function Xi(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}qi.prototype=Ui.prototype={constructor:qi,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=xt(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,f=r[u],s=f.length,l=o[u]=new Array(s),h=0;h<s;++h)(a=f[h])&&(c=t.call(a,a.__data__,h,f))&&("__data__"in a&&(c.__data__=a.__data__),l[h]=c,si(l[h],n,e,h,l,pi(a,e)));return new qi(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=wt(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,f=r[a],s=f.length,l=0;l<s;++l)if(c=f[l]){for(var h,p=t.call(c,c.__data__,l,f),d=pi(c,e),v=0,g=p.length;v<g;++v)(h=p[v])&&si(h,n,e,v,p,d);o.push(p),u.push(c)}return new qi(o,u,n,e)},filter:function(t){"function"!=typeof t&&(t=Tt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new qi(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),p=0;p<l;++p)(c=f[p]||s[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new qi(u,this._parents,this._name,this._id)},selection:function(){return new Ri(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=Di(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)if(u=a[f]){var s=pi(u,n);si(u,t,e,f,a,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new qi(r,this._parents,t,e)},call:Fi.call,nodes:Fi.nodes,node:Fi.node,size:Fi.size,empty:Fi.empty,each:Fi.each,on:function(t,n){var e=this._id;return arguments.length<2?pi(this.node(),e).on.on(t):this.each(Pi(e,t,n))},attr:function(t,n){var e=vt(t),r="transform"===e?kr:yi;return this.attrTween(t,"function"==typeof n?(e.local?Si:Mi)(e,r,_i(this,"attr."+t,n)):null==n?(e.local?xi:mi)(e):(e.local?wi:bi)(e,r,n+""))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=vt(t);return this.tween(e,(r.local?Ai:Ti)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?Tr:yi;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=jt(this,t),u=(this.style.removeProperty(t),jt(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof n?function(t,n,e){var r,i,o;return function(){var u=jt(this,t),a=e(this);return null==a&&(this.style.removeProperty(t),a=jt(this,t)),u===a?null:u===r&&a===i?o:o=n(r=u,i=a)}}(t,r,_i(this,"style."+t,n)):function(t,n,e){var r,i;return function(){var o=jt(this,t);return o===e?null:o===r?i:i=n(r=o,e)}}(t,r,n+""),e)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Li(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(_i(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=pi(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?vi:gi)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?ki:Ni)(n,t)):pi(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Ci:Ei)(n,t)):pi(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(zi(n,t)):pi(this.node(),n).ease}};var Wi=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),$i=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Zi=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Gi=Math.PI,Qi=Gi/2;function Ji(t){return 1-Math.cos(t*Qi)}function Ki(t){return Math.sin(t*Qi)}function to(t){return(1-Math.cos(Gi*t))/2}function no(t){return Math.pow(2,10*t-10)}function eo(t){return 1-Math.pow(2,-10*t)}function ro(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function io(t){return 1-Math.sqrt(1-t*t)}function oo(t){return Math.sqrt(1- --t*t)}function uo(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var ao=7.5625;function co(t){return 1-fo(1-t)}function fo(t){return(t=+t)<.36363636363636365?ao*t*t:t<.7272727272727273?ao*(t-=.5454545454545454)*t+.75:t<.9090909090909091?ao*(t-=.8181818181818182)*t+.9375:ao*(t-=.9545454545454546)*t+.984375}function so(t){return((t*=2)<=1?1-fo(1-t):fo(t-1)+1)/2}var lo=1.70158,ho=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(lo),po=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(lo),vo=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(lo),go=2*Math.PI,_o=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=go);function i(t){return n*Math.pow(2,10*--t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*go)},i.period=function(e){return t(n,e)},i}(1,.3),yo=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=go);
1function i(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*go)},i.period=function(e){return t(n,e)},i}(1,.3),mo=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=go);function i(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((r-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*go)},i.period=function(e){return t(n,e)},i}(1,.3),xo={time:null,delay:0,duration:250,ease:Xi};function bo(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return xo.time=Jr(),xo;return e}kn.prototype.interrupt=function(t){return this.each((function(){di(this,t)}))},kn.prototype.transition=function(t){var n,e;t instanceof qi?(n=t._id,t=t._name):(n=Di(),(e=xo).time=Jr(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)(u=a[f])&&si(u,t,n,f,a,e||bo(u,n));return new qi(r,this._parents,t,n)};var wo=[null];function Mo(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>1&&e.name===n)return new qi([[t]],wo,n,+r);return null}function So(t){return function(){return t}}function Ao(t,n,e){this.target=t,this.type=n,this.selection=e}function To(){dn.stopImmediatePropagation()}function ko(){dn.preventDefault(),dn.stopImmediatePropagation()}var No={name:"drag"},Co={name:"space"},Eo={name:"handle"},zo={name:"center"},Po={name:"x",handles:["e","w"].map(Io),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Ro={name:"y",handles:["n","s"].map(Io),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Lo={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Io),input:function(t){return t},output:function(t){return t}},Oo={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"},qo={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Uo={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Do={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Fo={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Io(t){return{type:t}}function Yo(){return!dn.button}function jo(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Ho(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Bo(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Vo(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Xo(){return Zo(Po)}function Wo(){return Zo(Ro)}function $o(){return Zo(Lo)}function Zo(t){var n,e=jo,r=Yo,i=ht(u,"start","brush","end"),o=6;function u(n){var e=n.property("__brush",l).selectAll(".overlay").data([Io("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Oo.overlay).merge(e).each((function(){var t=Ho(this).extent;Nn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([Io("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Oo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Oo[t.type]})),n.each(a).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",s)}function a(){var t=Nn(this),n=Ho(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-o/2:n[0][0]-o/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-o/2:n[0][1]-o/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+o:o})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+o:o}))):t.selectAll(".selection,.handle").style("display","none").attr("x",
1null).attr("y",null).attr("width",null).attr("height",null)}function c(t,n){return t.__brush.emitter||new f(t,n)}function f(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function s(){if(dn.touches){if(dn.changedTouches.length<dn.touches.length)return ko()}else if(n)return;if(r.apply(this,arguments)){var e,i,o,u,f,s,l,h,p,d,v,g,_,y=this,m=dn.target.__data__.type,x="selection"===(dn.metaKey?m="overlay":m)?No:dn.altKey?zo:Eo,b=t===Ro?null:Do[m],w=t===Po?null:Fo[m],M=Ho(y),S=M.extent,A=M.selection,T=S[0][0],k=S[0][1],N=S[1][0],C=S[1][1],E=b&&w&&dn.shiftKey,z=On(y),P=z,R=c(y,arguments).beforestart();"overlay"===m?M.selection=A=[[e=t===Ro?T:z[0],o=t===Po?k:z[1]],[f=t===Ro?N:e,l=t===Po?C:o]]:(e=A[0][0],o=A[0][1],f=A[1][0],l=A[1][1]),i=e,u=o,s=f,h=l;var L=Nn(y).attr("pointer-events","none"),O=L.selectAll(".overlay").attr("cursor",Oo[m]);if(dn.touches)L.on("touchmove.brush",U,!0).on("touchend.brush touchcancel.brush",F,!0);else{var q=Nn(dn.view).on("keydown.brush",I,!0).on("keyup.brush",Y,!0).on("mousemove.brush",U,!0).on("mouseup.brush",F,!0);Yn(dn.view)}To(),di(y),a.call(y),R.start()}function U(){var t=On(y);!E||g||_||(Math.abs(t[0]-P[0])>Math.abs(t[1]-P[1])?_=!0:g=!0),P=t,v=!0,ko(),D()}function D(){var t;switch(p=P[0]-z[0],d=P[1]-z[1],x){case Co:case No:b&&(p=Math.max(T-e,Math.min(N-f,p)),i=e+p,s=f+p),w&&(d=Math.max(k-o,Math.min(C-l,d)),u=o+d,h=l+d);break;case Eo:b<0?(p=Math.max(T-e,Math.min(N-e,p)),i=e+p,s=f):b>0&&(p=Math.max(T-f,Math.min(N-f,p)),i=e,s=f+p),w<0?(d=Math.max(k-o,Math.min(C-o,d)),u=o+d,h=l):w>0&&(d=Math.max(k-l,Math.min(C-l,d)),u=o,h=l+d);break;case zo:b&&(i=Math.max(T,Math.min(N,e-p*b)),s=Math.max(T,Math.min(N,f+p*b))),w&&(u=Math.max(k,Math.min(C,o-d*w)),h=Math.max(k,Math.min(C,l+d*w)))}s<i&&(b*=-1,t=e,e=f,f=t,t=i,i=s,s=t,m in qo&&O.attr("cursor",Oo[m=qo[m]])),h<u&&(w*=-1,t=o,o=l,l=t,t=u,u=h,h=t,m in Uo&&O.attr("cursor",Oo[m=Uo[m]])),M.selection&&(A=M.selection),g&&(i=A[0][0],s=A[1][0]),_&&(u=A[0][1],h=A[1][1]),A[0][0]===i&&A[0][1]===u&&A[1][0]===s&&A[1][1]===h||(M.selection=[[i,u],[s,h]],a.call(y),R.brush())}function F(){if(To(),dn.touches){if(dn.touches.length)return;n&&clearTimeout(n),n=setTimeout((function(){n=null}),500),L.on("touchmove.brush touchend.brush touchcancel.brush",null)}else jn(dn.view,v),q.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);L.attr("pointer-events","all"),O.attr("cursor",Oo.overlay),M.selection&&(A=M.selection),Bo(A)&&(M.selection=null,a.call(y)),R.end()}function I(){switch(dn.keyCode){case 16:E=b&&w;break;case 18:x===Eo&&(b&&(f=s-p*b,e=i+p*b),w&&(l=h-d*w,o=u+d*w),x=zo,D());break;case 32:x!==Eo&&x!==zo||(b<0?f=s-p:b>0&&(e=i-p),w<0?l=h-d:w>0&&(o=u-d),x=Co,O.attr("cursor",Oo.selection),D());break;default:return}ko()}function Y(){switch(dn.keyCode){case 16:E&&(g=_=E=!1,D());break;case 18:x===zo&&(b<0?f=s:b>0&&(e=i),w<0?l=h:w>0&&(o=u),x=Eo,D());break;case 32:x===Co&&(dn.altKey?(b&&(f=s-p*b,e=i+p*b),w&&(l=h-d*w,o=u+d*w),x=zo):(b<0?f=s:b>0&&(e=i),w<0?l=h:w>0&&(o=u),x=Eo),O.attr("cursor",Oo[m]),D());break;default:return}ko()}}function l(){var n=this.__brush||{selection:null};return n.extent=e.apply(this,arguments),n.dim=t,n}return u.move=function(n,e){n.selection?n.on("start.brush",(function(){c(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){c(this,arguments).end()})).tween("brush",(function(){var n=this,r=n.__brush,i=c(n,arguments),o=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),f=gr(o,u);function s(t){r.selection=1===t&&Bo(u)?null:f(t),a.call(n),i.brush()}return o&&u?s:s(1)})):n.each((function(){var n=this,r=arguments,i=n.__brush,o=t.input("function"==typeof e?e.apply(n,r):e,i.extent),u=c(n,r).beforestart();di(n),i.selection=null==o||Bo(o)?null:o,a.call(n),u.start().brush().end()}))},f.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},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit
1("end")),this},emit:function(n){xn(new Ao(u,n,t.output(this.state.selection)),i.apply,i,[n,this.that,this.args])}},u.extent=function(t){return arguments.length?(e="function"==typeof t?t:So([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),u):e},u.filter=function(t){return arguments.length?(r="function"==typeof t?t:So(!!t),u):r},u.handleSize=function(t){return arguments.length?(o=+t,u):o},u.on=function(){var t=i.on.apply(i,arguments);return t===i?u:t},u}var Go=Math.cos,Qo=Math.sin,Jo=Math.PI,Ko=Jo/2,tu=2*Jo,nu=Math.max;function eu(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}function ru(){var t=0,n=null,e=null,r=null;function i(i){var o,u,a,c,f,s,l=i.length,h=[],p=M(l),d=[],v=[],g=v.groups=new Array(l),_=new Array(l*l);for(o=0,f=-1;++f<l;){for(u=0,s=-1;++s<l;)u+=i[f][s];h.push(u),d.push(M(l)),o+=u}for(n&&p.sort((function(t,e){return n(h[t],h[e])})),e&&d.forEach((function(t,n){t.sort((function(t,r){return e(i[n][t],i[n][r])}))})),c=(o=nu(0,tu-t*l)/o)?t:tu/l,u=0,f=-1;++f<l;){for(a=u,s=-1;++s<l;){var y=p[f],m=d[y][s],x=i[y][m],b=u,w=u+=x*o;_[m*l+y]={index:y,subindex:m,startAngle:b,endAngle:w,value:x}}g[y]={index:y,startAngle:a,endAngle:u,value:h[y]},u+=c}for(f=-1;++f<l;)for(s=f-1;++s<l;){var S=_[s*l+f],A=_[f*l+s];(S.value||A.value)&&v.push(S.value<A.value?{source:A,target:S}:{source:S,target:A})}return r?v.sort(r):v}return i.padAngle=function(n){return arguments.length?(t=nu(0,n),i):t},i.sortGroups=function(t){return arguments.length?(n=t,i):n},i.sortSubgroups=function(t){return arguments.length?(e=t,i):e},i.sortChords=function(t){return arguments.length?(null==t?r=null:(r=eu(t))._=t,i):r&&r._},i}var iu=Array.prototype.slice;function ou(t){return function(){return t}}var uu=Math.PI,au=2*uu,cu=1e-6,fu=au-cu;function su(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function lu(){return new su}su.prototype=lu.prototype={constructor:su,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,c=r-n,f=o-t,s=u-n,l=f*f+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>cu)if(Math.abs(s*a-c*f)>cu&&i){var h=e-o,p=r-u,d=a*a+c*c,v=h*h+p*p,g=Math.sqrt(d),_=Math.sqrt(l),y=i*Math.tan((uu-Math.acos((d+l-v)/(2*g*_)))/2),m=y/_,x=y/g;Math.abs(m-1)>cu&&(this._+="L"+(t+m*f)+","+(n+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*p)+","+(this._x1=t+x*a)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),c=t+u,f=n+a,s=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+f:(Math.abs(this._x1-c)>cu||Math.abs(this._y1-f)>cu)&&(this._+="L"+c+","+f),e&&(l<0&&(l=l%au+au),l>fu?this._+="A"+e+","+e+",0,1,"+s+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+s+","+(this._x1=c)+","+(this._y1=f):l>cu&&(this._+="A"+e+","+e+",0,"+ +(l>=uu)+","+s+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var hu=lu;function pu(t){return t.source}function du(t){return t.target}function vu(t){return t.radius}function gu(t){return t.startAngle}function _u(t){return t.endAngle}function yu(){var t=pu,n=du,e=vu,r=gu,i=_u,o=null;function u(){var u,a=iu.call(arguments),c=t.apply(this,a),f=n.apply(this,a),s=+e.apply(this,(a[0]=c,a)),l=r.apply(this,a)-Ko,h=i.apply(this,a)-Ko,p=s*Go(l),d=s*Qo(l),v=+e.apply(this,(a[0]=f,a)),g=r.apply(this,a)-Ko,_=i.apply(this,a)-Ko;
1if(o||(o=u=hu()),o.moveTo(p,d),o.arc(0,0,s,l,h),l===g&&h===_||(o.quadraticCurveTo(0,0,v*Go(g),v*Qo(g)),o.arc(0,0,v,g,_)),o.quadraticCurveTo(0,0,p,d),o.closePath(),u)return o=null,u+""||null}return u.radius=function(t){return arguments.length?(e="function"==typeof t?t:ou(+t),u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ou(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ou(+t),u):i},u.source=function(n){return arguments.length?(t=n,u):t},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}var mu="$";function xu(){}function bu(t,n){var e=new xu;if(t instanceof xu)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}xu.prototype=bu.prototype={constructor:xu,has:function(t){return mu+t in this},get:function(t){return this[mu+t]},set:function(t,n){return this[mu+t]=n,this},remove:function(t){var n=mu+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===mu&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===mu&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===mu&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===mu&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===mu&&++t;return t},empty:function(){for(var t in this)if(t[0]===mu)return!1;return!0},each:function(t){for(var n in this)n[0]===mu&&t(this[n],n.slice(1),this)}};var wu=bu;function Mu(){var t,n,e,r=[],i=[];function o(e,i,u,a){if(i>=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,f,s,l=-1,h=e.length,p=r[i++],d=wu(),v=u();++l<h;)(s=d.get(c=p(f=e[l])+""))?s.push(f):d.set(c,[f]);return d.each((function(t,n){a(v,n,o(t,i,u,a))})),v}function u(t,e){if(++e>r.length)return t;var o,a=i[e-1];return null!=n&&e>=r.length?o=t.entries():(o=[],t.each((function(t,n){o.push({key:n,values:u(t,e)})}))),null!=a?o.sort((function(t,n){return a(t.key,n.key)})):o}return e={object:function(t){return o(t,0,Su,Au)},map:function(t){return o(t,0,Tu,ku)},entries:function(t){return u(o(t,0,Tu,ku),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}function Su(){return{}}function Au(t,n,e){t[n]=e}function Tu(){return wu()}function ku(t,n,e){t.set(n,e)}function Nu(){}var Cu=wu.prototype;function Eu(t,n){var e=new Nu;if(t instanceof Nu)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}Nu.prototype=Eu.prototype={constructor:Nu,has:Cu.has,add:function(t){return this[mu+(t+="")]=t,this}
1,remove:Cu.remove,clear:Cu.clear,values:Cu.keys,size:Cu.size,empty:Cu.empty,each:Cu.each};var zu=Eu;function Pu(t){var n=[];for(var e in t)n.push(e);return n}function Ru(t){var n=[];for(var e in t)n.push(t[e]);return n}function Lu(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n}var Ou={},qu={};function Uu(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+"]"})).join(",")+"}")}function Du(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function s(){if(c)return qu;if(f)return f=!1,Ou;var n,r,i=u;if(34===t.charCodeAt(i)){for(;u++<o&&34!==t.charCodeAt(u)||34===t.charCodeAt(++u););return(n=u)>=o?c=!0:10===(r=t.charCodeAt(u++))?f=!0:13===r&&(f=!0,10===t.charCodeAt(u)&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u<o;){if(10===(r=t.charCodeAt(n=u++)))f=!0;else if(13===r)f=!0,10===t.charCodeAt(u)&&++u;else if(r!==e)continue;return t.slice(i,n)}return c=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(r=s())!==qu;){for(var l=[];r!==Ou&&r!==qu;)l.push(r),r=s();n&&null==(l=n(l,a++))||i.push(l)}return i}function i(n){return n.map(o).join(t)}function o(t){return null==t?"":n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=Uu(t);return function(r,i){return n(e(r),i,t)}}(t,n):Uu(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=function(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}(n)),[e.map(o).join(t)].concat(n.map((function(n){return e.map((function(t){return o(n[t])})).join(t)}))).join("\n")},formatRows:function(t){return t.map(i).join("\n")}}}var Fu=Du(","),Iu=Fu.parse,Yu=Fu.parseRows,ju=Fu.format,Hu=Fu.formatRows,Bu=Du("\t"),Vu=Bu.parse,Xu=Bu.parseRows,Wu=Bu.format,$u=Bu.formatRows;function Zu(t,n){var e;function r(){var r,i,o=e.length,u=0,a=0;for(r=0;r<o;++r)u+=(i=e[r]).x,a+=i.y;for(u=u/o-t,a=a/o-n,r=0;r<o;++r)(i=e[r]).x-=u,i.y-=a}return null==t&&(t=0),null==n&&(n=0),r.initialize=function(t){e=t},r.x=function(n){return arguments.length?(t=+n,r):t},r.y=function(t){return arguments.length?(n=+t,r):n},r}function Gu(t){return function(){return t}}function Qu(){return 1e-6*(Math.random()-.5)}function Ju(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,c,f,s,l,h,p=t._root,d={data:r},v=t._x0,g=t._y0,_=t._x1,y=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((f=n>=(o=(v+_)/2))?v=o:_=o,(s=e>=(u=(g+y)/2))?g=u:y=u,i=p,!(p=p[l=s<<1|f]))return i[l]=d,t;if(a=+t._x.call(null,p.data),c=+t._y.call(null,p.data),n===a&&e===c)return d.next=p,i?i[l]=d:t._root=d,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(v+_)/2))?v=o:_=o,(s=e>=(u=(g+y)/2))?g=u:y=u}while((l=s<<1|f)==(h=(c>=u)<<1|a>=o));return i[h]=p,i[l]=d,t}function Ku(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function ta(t){return t[0]}function na(t){return t[1]}function ea(t,n,e){var r=new ra(null==n?ta:n,null==e?na:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function ra(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function ia(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var oa=ea.prototype=ra.prototype;function ua(t){return t.x+t.vx}function aa(t){return t.y+t.vy}function ca(t){var n,e,r=1,i=1;function o(){for(var t,o,a,c,f,s,l,h=n.length,p=0;p<i;++p)for(o=ea(n,ua,aa).visitAfter(u),t=0;t<h;++t)a=n[t],s=e[a.index],l=s*s,c=a.x+a.vx,f=a.y+a.vy,o.visit(d);function d(t,n,e,i,o){var u=t.data,h=t.r,p=s+h;if(!u)return n>c+p||i<c-p||e>f+p||o<f-p;if(u.index>a.index){var d=c-u.x-u.vx,v=f-u.y-u.vy,g=d*d+v*v;g<p*p&&(0===d&&(g+=(d=Qu())*d),0===v&&(g+=(v=Qu())*v),g=(p-(g=Math.sqrt(g)))/g*r,a.vx+=(d*=g)*(p=(h*=h)/(l+h)),a.vy+=(v*=g)*p,u.vx-=d*(p=1-p),u.vy-=v*p)}}}function u(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function a(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r<o;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!=typeof t&&(t=Gu(null==t?1:+t)),o.initialize=function(t){n=t,a()},o.iterations=function(t){return arguments.length?(i=+t,o):i},o.strength=function(t){return arguments.length?(r=+t,o):r},o.radius=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),a(),o):t},o}function fa(t){return t.index}function sa(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function la(t){var n,e,r,i,o,u=fa,a=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},c=Gu(30),f=1;function s(r){for(var i=0,u=t.length;i<f;++i)for(var a,c,s,l,h,p,d,v=0;v<u;++v)c=(a=t[v]).source,l=(s=a.target).x+s.vx-c.x-c.vx||Qu(),h=s.y+s.vy-c.y-c.vy||Qu(),l*=p=((p=Math.sqrt(l*l+h*h))-e[v])/p
1*r*n[v],h*=p,s.vx-=l*(d=o[v]),s.vy-=h*d,c.vx+=l*(d=1-d),c.vy+=h*d}function l(){if(r){var a,c,f=r.length,s=t.length,l=wu(r,u);for(a=0,i=new Array(f);a<s;++a)(c=t[a]).index=a,"object"!=typeof c.source&&(c.source=sa(l,c.source)),"object"!=typeof c.target&&(c.target=sa(l,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(s);a<s;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);n=new Array(s),h(),e=new Array(s),p()}}function h(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+a(t[e],e,t)}function p(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+c(t[n],n,t)}return null==t&&(t=[]),s.initialize=function(t){r=t,l()},s.links=function(n){return arguments.length?(t=n,l(),s):t},s.id=function(t){return arguments.length?(u=t,s):u},s.iterations=function(t){return arguments.length?(f=+t,s):f},s.strength=function(t){return arguments.length?(a="function"==typeof t?t:Gu(+t),h(),s):a},s.distance=function(t){return arguments.length?(c="function"==typeof t?t:Gu(+t),p(),s):c},s}function ha(t){return t.x}function pa(t){return t.y}oa.copy=function(){var t,n,e=new ra(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=ia(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=ia(n));return e},oa.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Ju(this.cover(n,e),n,e,t)},oa.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(u[e]=r,a[e]=i,r<c&&(c=r),r>s&&(s=r),i<f&&(f=i),i>l&&(l=i));for(s<c&&(c=this._x0,s=this._x1),l<f&&(f=this._y0,l=this._y1),this.cover(c,f).cover(s,l),e=0;e<o;++e)Ju(this,u[e],a[e],t[e]);return this},oa.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{if(!(e>t||t>i||r>n||n>o))return this;var u,a,c=i-e,f=this._root;switch(a=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do{(u=new Array(4))[a]=f,f=u}while(o=r+(c*=2),t>(i=e+c)||n>o);break;case 1:do{(u=new Array(4))[a]=f,f=u}while(o=r+(c*=2),(e=i-c)>t||n>o);break;case 2:do{(u=new Array(4))[a]=f,f=u}while(r=o-(c*=2),t>(i=e+c)||r>n);break;case 3:do{(u=new Array(4))[a]=f,f=u}while(r=o-(c*=2),(e=i-c)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},oa.data=function(){var t=[];return this.visit((function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)})),t},oa.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},oa.find=function(t,n,e){var r,i,o,u,a,c,f,s=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new Ku(v,s,l,h,p)),null==e?e=1/0:(s=t-e,l=n-e,h=t+e,p=n+e,e*=e);c=d.pop();)if(!(!(v=c.node)||(i=c.x0)>h||(o=c.y0)>p||(u=c.x1)<s||(a=c.y1)<l))if(v.length){var g=(i+u)/2,_=(o+a)/2;d.push(new Ku(v[3],g,_,u,a),new Ku(v[2],i,_,g,a),new Ku(v[1],g,o,u,_),new 
vendor: 6,392 bytes, line 1
1Ku(v[0],i,o,g,_)),(f=(n>=_)<<1|t>=g)&&(c=d[d.length-1],d[d.length-1]=d[d.length-1-f],d[d.length-1-f]=c)}else{var y=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),x=y*y+m*m;if(x<e){var b=Math.sqrt(e=x);s=t-b,l=n-b,h=t+b,p=n+b,r=v.data}}return r},oa.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(u=+this._y.call(null,t)))return this;var n,e,r,i,o,u,a,c,f,s,l,h,p=this._root,d=this._x0,v=this._y0,g=this._x1,_=this._y1;if(!p)return this;if(p.length)for(;;){if((f=o>=(a=(d+g)/2))?d=a:g=a,(s=u>=(c=(v+_)/2))?v=c:_=c,n=p,!(p=p[l=s<<1|f]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},oa.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},oa.root=function(){return this._root},oa.size=function(){var t=0;return this.visit((function(n){if(!n.length)do{++t}while(n=n.next)})),t},oa.visit=function(t){var n,e,r,i,o,u,a=[],c=this._root;for(c&&a.push(new Ku(c,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,u=n.y1)&&c.length){var f=(r+o)/2,s=(i+u)/2;(e=c[3])&&a.push(new Ku(e,f,s,o,u)),(e=c[2])&&a.push(new Ku(e,r,s,f,u)),(e=c[1])&&a.push(new Ku(e,f,i,o,s)),(e=c[0])&&a.push(new Ku(e,r,i,f,s))}return this},oa.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new Ku(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,u=n.x0,a=n.y0,c=n.x1,f=n.y1,s=(u+c)/2,l=(a+f)/2;(o=i[0])&&e.push(new Ku(o,u,a,s,l)),(o=i[1])&&e.push(new Ku(o,s,a,c,l)),(o=i[2])&&e.push(new Ku(o,u,l,s,f)),(o=i[3])&&e.push(new Ku(o,s,l,c,f))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},oa.x=function(t){return arguments.length?(this._x=t,this):this._x},oa.y=function(t){return arguments.length?(this._y=t,this):this._y};var da,va=Math.PI*(3-Math.sqrt(5));function ga(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,u=.6,a=wu(),c=ni(s),f=ht("tick","end");function s(){l(),f.call("tick",n),e<r&&(c.stop(),f.call("end",n))}function l(){var n,r,c=t.length;for(e+=(o-e)*i,a.each((function(t){t(e)})),n=0;n<c;++n)null==(r=t[n]).fx?r.x+=r.vx*=u:(r.x=r.fx,r.vx=0),null==r.fy?r.y+=r.vy*=u:(r.y=r.fy,r.vy=0)}function h(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,isNaN(n.x)||isNaN(n.y)){var i=10*Math.sqrt(e),o=e*va;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function p(n){return n.initialize&&n.initialize(t),n}return null==t&&(t=[]),h(),n={tick:l,restart:function(){return c.restart(s),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,h(),a.each(p),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(u=1-t,n):1-u},force:function(t,e){return arguments.length>1?(null==e?a.remove(t):a.set(t,p(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f<s;++f)(u=(i=n-(a=t[f]).x)*i+(o=e-a.y)*o)<r&&(c=a,r=u);return c},on:function(t,e){return arguments.length>1?(f.on(t,e),n):f.on(t)}}}function _a(){var t,n,e,r,i=Gu(-30),o=1,u=1/0,a=.81;function c(r){var i,o=t.length,u=ea(t,ha,pa).visitAfter(s);for(e=r,i=0;i<o;++i)n=t[i],u.visit(l)}function f(){if(t){var n,e,o=t.length;for(r=new Array(o),n=0;n<o;++n)e=t[n],r[e.index]=+i(e,n,t)}}function s(t){var n,e,i,o,u,a=0,c=0;if(t.length){for(i=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,i+=e*n.x,o+=e*n.y);t.x=i/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=r[n.data.index]}while(n=n.next)}t.value=a}function l(t,i,c,f){if(!t.value)return!0;var s=t.x-n.x,l=t.y-n.y,h=f-i,p=s*s+l*l;if(h*h/a<p)return p<u&&(0===s&&(p+=(s=Qu())*s),0===l&&(p+=(l=Qu())*l),p<o&&(p=Math.sqrt(o*p)),n.vx+=s*t.value*e/p,n.vy+=l*t.value*e/p),!0;if(!(t.length||p>=u)){(t.data!==n||t.next)&&(0===s&&(p+=(s=Qu())*s),0===l&&(p+=(l=Qu())*l),p<o&&(p=Math.sqrt(o*p)));do{t.data!==n&&(h=r[t.data.index]*e/p,n.vx+=s*h,n.vy+=l*h)}while(t=t.next)}}return c.initialize=function(n){t=n,f()},c.strength=function(t){return arguments.length?(i="function"==typeof t?t:Gu(+t),f(),c):i},c.distanceMin=function(t){return arguments.length?(o=t*t,c):Math.sqrt(o)},c.distanceMax=function(t){return arguments.length?(u=t*t,c):Math.sqrt(u)},c.theta=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c}function ya(t,n,e){var r,i,o,u=Gu(.1);function a(t){for(var u=0,a=r.length;u<a;++u){var c=r[u],f=c.x-n||1e-6,s=c.y-e||1e-6,l=Math.sqrt(f*f+s*s),h=(o[u]-l)*i[u]*t/l;c.vx+=f*h,c.vy+=s*h}}function c(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)o[n]=+t(r[n],n,r),i[n]=isNaN(o[n])?0:+u(r[n],n,r)}}return"function"!=typeof t&&(t=Gu(+t)),null==n&&(n=0),null==e&&(e=0),a.initialize=function(t){r=t,c()},a.strength=function(t){return arguments.length?(u="function"==typeof t?t:Gu(+t),c(),a):u},a.radius=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),c(),a):t},a.x=function(t){return arguments.length?(n=+t,a):n},a.y=function(t){return arguments.length?(e=+t,a):e},a}function ma(t){var n,e,r,i=Gu(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vx+=(r[o]-i.x)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!=typeof t&&(t=Gu(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Gu(+t),u(),o):i},o.x=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),u(),o):t},o}function xa(t){var n,e,r,i=Gu(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vy+=(r[o]-i.y)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!=typeof t&&(t=Gu(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Gu(+t),u(),o):i},o.y=function(n){return arguments.length?(t="function"==typeof n?n:Gu(+n),u(),o):t},o}
1function ba(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function wa(t){return(t=ba(Math.abs(t)))?t[1]:NaN}function Ma(t,n){var e=ba(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var Sa={"":function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Ma(100*t,n)},r:Ma,s:function(t,n){var e=ba(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(da=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+ba(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Aa=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function Ta(t){return new ka(t)}function ka(t){if(!(n=Aa.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",u=!!n[5],a=n[6]&&+n[6],c=!!n[7],f=n[8]&&+n[8].slice(1),s=n[9]||"";"n"===s?(c=!0,s="g"):Sa[s]||(s=""),(u||"0"===e&&"="===r)&&(u=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=u,this.width=a,this.comma=c,this.precision=f,this.type=s}function Na(t){return t}Ta.prototype=ka.prototype,ka.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Ca,Ea,za,Pa=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ra(t){var n,e,r=t.grouping&&t.thousands?(n=t.grouping,e=t.thousands,function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}):Na,i=t.currency,o=t.decimal,u=t.numerals?function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(t.numerals):Na,a=t.percent||"%";function c(t){var n=(t=Ta(t)).fill,e=t.align,c=t.sign,f=t.symbol,s=t.zero,l=t.width,h=t.comma,p=t.precision,d=t.type,v="$"===f?i[0]:"#"===f&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",g="$"===f?i[1]:/[%p]/.test(d)?a:"",_=Sa[d],y=!d||/[defgprs%]/.test(d);function m(t){var i,a,f,m=v,x=g;if("c"===d)x=_(t)+x,t="";else{var b=(t=+t)<0;if(t=_(Math.abs(t),p),b&&0==+t&&(b=!1),m=(b?"("===c?c:"-":"-"===c||"("===c?"":c)+m,x=("s"===d?Pa[8+da/3]:"")+x+(b&&"("===c?")":""),y)for(i=-1,a=t.length;++i<a;)if(48>(f=t.charCodeAt(i))||f>57){x=(46===f?o+t.slice(i+1):t.slice(i))+x,t=t.slice(0,i);break}}h&&!s&&(t=r(t,1/0));var w=m.length+t.length+x.length,M=w<l?new Array(l-w+1).join(n):"";switch(h&&s&&(t=r(M+t,M.length?l-x.length:1/0),M=""),e){case"<":t=m+t+x+M;break;case"=":t=m+M+t+x;break;case"^":t=M.slice(0,w=M.length>>1)+m+t+x+M.slice(w);break;default:t=M+m+t+x}return u(t)}return p=null==p?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),m.toString=function(){return t+""},m}return{format:c,formatPrefix:function(t,n){var e=c(((t=Ta(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(wa(n)/3))),i=Math.pow(10,-r),o=Pa[8+r/3];return function(t){return e(i*t)+o}}}}function La(t){return Ca=Ra(t),Ea=Ca.format,za=Ca.formatPrefix,Ca}function Oa(t){return Math.max(0,-wa(Math.abs(t)))}function qa(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(wa(n)/3)))-wa(Math.abs(t)))}function Ua(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,wa(n)-wa(t))+1}function Da(){return new Fa}function Fa(){this.reset()}La({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),Fa.prototype={constructor:Fa,reset:function(){this.s=this.t=0},add:function(t){Ya(Ia,t,this.t),Ya(this,Ia.s,this.s),this.s?this.t+=Ia.t:this.s=Ia.t}
vendor: 6,479 bytes, line 1
1,valueOf:function(){return this.s}};var Ia=new Fa;function Ya(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}var ja=1e-6,Ha=Math.PI,Ba=Ha/2,Va=Ha/4,Xa=2*Ha,Wa=180/Ha,$a=Ha/180,Za=Math.abs,Ga=Math.atan,Qa=Math.atan2,Ja=Math.cos,Ka=Math.ceil,tc=Math.exp,nc=(Math.floor,Math.log),ec=Math.pow,rc=Math.sin,ic=Math.sign||function(t){return t>0?1:t<0?-1:0},oc=Math.sqrt,uc=Math.tan;function ac(t){return t>1?0:t<-1?Ha:Math.acos(t)}function cc(t){return t>1?Ba:t<-1?-Ba:Math.asin(t)}function fc(t){return(t=rc(t/2))*t}function sc(){}function lc(t,n){t&&pc.hasOwnProperty(t.type)&&pc[t.type](t,n)}var hc={Feature:function(t,n){lc(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)lc(e[r].geometry,n)}},pc={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){dc(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)dc(e[r],n,0)},Polygon:function(t,n){vc(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)vc(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)lc(e[r],n)}};function dc(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function vc(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)dc(t[e],n,1);n.polygonEnd()}function gc(t,n){t&&hc.hasOwnProperty(t.type)?hc[t.type](t,n):lc(t,n)}var _c,yc,mc,xc,bc,wc=Da(),Mc=Da(),Sc={point:sc,lineStart:sc,lineEnd:sc,polygonStart:function(){wc.reset(),Sc.lineStart=Ac,Sc.lineEnd=Tc},polygonEnd:function(){var t=+wc;Mc.add(t<0?Xa+t:t),this.lineStart=this.lineEnd=this.point=sc},sphere:function(){Mc.add(Xa)}};function Ac(){Sc.point=kc}function Tc(){Nc(_c,yc)}function kc(t,n){Sc.point=Nc,_c=t,yc=n,mc=t*=$a,xc=Ja(n=(n*=$a)/2+Va),bc=rc(n)}function Nc(t,n){var e=(t*=$a)-mc,r=e>=0?1:-1,i=r*e,o=Ja(n=(n*=$a)/2+Va),u=rc(n),a=bc*u,c=xc*o+a*Ja(i),f=a*r*rc(i);wc.add(Qa(f,c)),mc=t,xc=o,bc=u}function Cc(t){return Mc.reset(),gc(t,Sc),2*Mc}function Ec(t){return[Qa(t[1],t[0]),cc(t[2])]}function zc(t){var n=t[0],e=t[1],r=Ja(e);return[r*Ja(n),r*rc(n),rc(e)]}function Pc(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Rc(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Lc(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Oc(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function qc(t){var n=oc(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Uc,Dc,Fc,Ic,Yc,jc,Hc,Bc,Vc,Xc,Wc,$c,Zc,Gc,Qc,Jc,Kc,tf,nf,ef,rf,of,uf,af,cf,ff,sf=Da(),lf={point:hf,lineStart:df,lineEnd:vf,polygonStart:function(){lf.point=gf,lf.lineStart=_f,lf.lineEnd=yf,sf.reset(),Sc.polygonStart()},polygonEnd:function(){Sc.polygonEnd(),lf.point=hf,lf.lineStart=df,lf.lineEnd=vf,wc<0?(Uc=-(Fc=180),Dc=-(Ic=90)):sf>ja?Ic=90:sf<-1e-6&&(Dc=-90),Xc[0]=Uc,Xc[1]=Fc}};function hf(t,n){Vc.push(Xc=[Uc=t,Fc=t]),n<Dc&&(Dc=n),n>Ic&&(Ic=n)}function pf(t,n){var e=zc([t*$a,n*$a]);if(Bc){var r=Rc(Bc,e),i=Rc([r[1],-r[0],0],r);qc(i),i=Ec(i);var o,u=t-Yc,a=u>0?1:-1,c=i[0]*Wa*a,f=Za(u)>180;f^(a*Yc<c&&c<a*t)?(o=i[1]*Wa)>Ic&&(Ic=o):f^(a*Yc<(c=(c+360)%360-180)&&c<a*t)?(o=-i[1]*Wa)<Dc&&(Dc=o):(n<Dc&&(Dc=n),n>Ic&&(Ic=n)),f?t<Yc?mf(Uc,t)>mf(Uc,Fc)&&(Fc=t):mf(t,Fc)>mf(Uc,Fc)&&(Uc=t):Fc>=Uc?(t<Uc&&(Uc=t),t>Fc&&(Fc=t)):t>Yc?mf(Uc,t)>mf(Uc,Fc)&&(Fc=t):mf(t,Fc)>mf(Uc,Fc)&&(Uc=t)}else Vc.push(Xc=[Uc=t,Fc=t]);n<Dc&&(Dc=n),n>Ic&&(Ic=n),Bc=e,Yc=t}function df(){lf.point=pf}function vf(){Xc[0]=Uc,Xc[1]=Fc,lf.point=hf,Bc=null}function gf(t,n){if(Bc){var e=t-Yc;sf.add(Za(e)>180?e+(e>0?360:-360):e)}else jc=t,Hc=n;Sc.point(t,n),pf(t,n)}function _f(){Sc.lineStart()}function yf(){gf(jc,Hc),Sc.lineEnd(),Za(sf)>ja&&(Uc=-(Fc=180)),Xc[0]=Uc,Xc[1]=Fc,Bc=null}function mf(t,n){return(n-=t)<0?n+360:n}function xf(t,n){return t[0]-n[0]}function bf(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function wf(t){var n,e,r,i,o,u,a;if(Ic=Fc=-(Uc=Dc=1/0),Vc=[],gc(t,lf),e=Vc.length){for(Vc.sort(xf),n=1,o=[r=Vc[0]];n<e;++n)bf(r,(i=Vc[n])[0])||bf(r,i[1])?(mf(r[0],i[1])>mf(r[0],r[1])&&(r[1]=i[1]),mf(i[0],r[1])>mf(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=mf(r[1],i[0]))>u&&(u=a,Uc=i[0],Fc=r[1])}return Vc=Xc=null,Uc===1/0||Dc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Uc,Dc],[Fc,Ic]]}var Mf={sphere:sc,point:Sf,lineStart:Tf,lineEnd:Cf,polygonStart:function(){Mf.lineStart=Ef,Mf.lineEnd=zf},polygonEnd:function(){Mf.lineStart=Tf,Mf.lineEnd=Cf}};function Sf(t,n){t*=$a;var e=Ja(n*=$a);Af(e*Ja(t),e*rc(t),rc(n))}function Af(t,n,e){++Wc,Zc+=(t-Zc)/Wc,Gc+=(n-Gc)/Wc,Qc+=(e-Qc)/Wc}function Tf(){Mf.point=kf}function kf(t,n){t*=$a;var e=Ja(n*=$a);af=e*Ja(t),cf=e*rc(t),ff=rc(n),Mf.point=Nf,Af(af,cf,ff)}function Nf(t,n){t*=$a;var e=Ja(n*=$a),r=e*Ja(t),i=e*rc(t),o=rc(n),u=Qa(oc((u=cf*o-ff*i)*u+(u=ff*r-af*o)*u+(u=af*i-cf*r)*u),af*r+cf*i+ff*o);$c+=u,Jc+=u*(af+(af=r)),Kc+=u*(cf+(cf=i)),tf+=u*(ff+(ff=o)),Af(af,cf,ff)}function Cf(){Mf.point=Sf}function Ef(){Mf.point=Pf}function zf(){Rf(of,uf),Mf.point=Sf}function Pf(t,n){of=t,uf=n,t*=$a,n*=$a,Mf.point=Rf;var e=Ja(n);af=e*Ja(t),cf=e*rc(t),ff=rc(n),Af(af,cf,ff)}function Rf(t,n){t*=$a;var e=Ja(n*=$a),r=e*Ja(t),i=e*rc(t),o=rc(n),u=cf*o-ff*i,a=ff*r-af*o,c=af*i-cf*r,f=oc(u*u+a*a+c*c),s=cc(f),l=f&&-s/f;nf+=l*u,ef+=l*a,rf+=l*c,$c+=s,Jc+=s*(af+(af=r)),Kc+=s*(cf+(cf=i)),tf+=s*(ff+(ff=o)),Af(af,cf,ff)}function Lf(t){Wc=$c=Zc=Gc=Qc=Jc=Kc=tf=nf=ef=rf=0,gc(t,Mf);var n=nf,e=ef,r=rf,i=n*n+e*e+r*r;return i<1e-12&&(n=Jc,e=Kc,r=tf,$c<ja&&(n=Zc,e=Gc,r=Qc),(i=n*n+e*e+r*r)<1e-12)?[NaN,NaN]:[Qa(e,n)*Wa,cc(r/oc(i))*Wa]}function Of(t){return function(){return t}}function qf(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}function Uf(t,n){return[t>Ha?t-Xa:t<-Ha?t+Xa:t,n]}function Df(t,n,e){return(t%=Xa)?n||e?qf(If(t),Yf(n,e)):If(t):n||e?Yf(n,e):Uf}function Ff(t){return function(n,e){return[(n+=t)>Ha?n-Xa:n<-Ha?n+Xa:n,e]}}function If(t){var n=Ff(t);return n.invert=Ff(-t),n}function Yf(t,n){var e=Ja(t),r=rc(t),i=Ja(n),o=rc(n);function u(t,n){var u=Ja(n),a=Ja(t)*u,c=rc(t)*u,f=rc(n),s=f*e+a*r;return[Qa(c*i-s*o,a*e-f*r),cc(s*i+c*o)]}return u.invert=function(t,n){var u=Ja(n),a=Ja(t)*u,c=rc(t)*u,f=rc(n),s=f*i-c*o;return[Qa(c*i+f*o,a*e+s*r),cc(s*e-a*r)]},u}function jf(t){function n(n){return(n=t(n[0]*$a,n[1]*$a))[0]*=Wa,n[1]
vendor: 5,105 bytes, line 1
1*=Wa,n}return t=Df(t[0]*$a,t[1]*$a,t.length>2?t[2]*$a:0),n.invert=function(n){return(n=t.invert(n[0]*$a,n[1]*$a))[0]*=Wa,n[1]*=Wa,n},n}function Hf(t,n,e,r,i,o){if(e){var u=Ja(n),a=rc(n),c=r*e;null==i?(i=n+r*Xa,o=n-c/2):(i=Bf(u,i),o=Bf(u,o),(r>0?i<o:i>o)&&(i+=r*Xa));for(var f,s=i;r>0?s>o:s<o;s-=c)f=Ec([u,-a*Ja(s),-a*rc(s)]),t.point(f[0],f[1])}}function Bf(t,n){(n=zc(n))[0]-=t,qc(n);var e=ac(-n[1]);return((-n[2]<0?-e:e)+Xa-ja)%Xa}function Vf(){var t,n,e=Of([0,0]),r=Of(90),i=Of(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=Wa,e[1]*=Wa}};function u(){var u=e.apply(this,arguments),a=r.apply(this,arguments)*$a,c=i.apply(this,arguments)*$a;return t=[],n=Df(-u[0]*$a,-u[1]*$a,0).invert,Hf(o,a,c,1),u={type:"Polygon",coordinates:[t]},t=n=null,u}return u.center=function(t){return arguments.length?(e="function"==typeof t?t:Of([+t[0],+t[1]]),u):e},u.radius=function(t){return arguments.length?(r="function"==typeof t?t:Of(+t),u):r},u.precision=function(t){return arguments.length?(i="function"==typeof t?t:Of(+t),u):i},u}function Xf(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:sc,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function Wf(t,n){return Za(t[0]-n[0])<ja&&Za(t[1]-n[1])<ja}function $f(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function Zf(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(Wf(r,u)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);i.lineEnd()}else a.push(e=new $f(r,t,null,!0)),c.push(e.o=new $f(r,null,e,!1)),a.push(e=new $f(u,t,null,!1)),c.push(e.o=new $f(u,null,e,!0))}})),a.length){for(c.sort(n),Gf(a),Gf(c),o=0,u=c.length;o<u;++o)c[o].e=e=!e;for(var f,s,l=a[0];;){for(var h=l,p=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,u=f.length;o<u;++o)i.point((s=f[o])[0],s[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(f=h.p.z,o=f.length-1;o>=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}}function Gf(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}Uf.invert=Uf;var Qf=Da();function Jf(t,n){var e=n[0],r=n[1],i=[rc(e),-Ja(e),0],o=0,u=0;Qf.reset();for(var a=0,c=t.length;a<c;++a)if(s=(f=t[a]).length)for(var f,s,l=f[s-1],h=l[0],p=l[1]/2+Va,d=rc(p),v=Ja(p),g=0;g<s;++g,h=y,d=x,v=b,l=_){var _=f[g],y=_[0],m=_[1]/2+Va,x=rc(m),b=Ja(m),w=y-h,M=w>=0?1:-1,S=M*w,A=S>Ha,T=d*x;if(Qf.add(Qa(T*M*rc(S),v*b+T*Ja(S))),o+=A?w+M*Xa:w,A^h>=e^y>=e){var k=Rc(zc(l),zc(_));qc(k);var N=Rc(i,k);qc(N);var C=(A^w>=0?-1:1)*cc(N[2]);(r>C||r===C&&(k[0]||k[1]))&&(u+=A^w>=0?1:-1)}}return(o<-1e-6||o<ja&&Qf<-1e-6)^1&u}function Kf(t,n,e,r){return function(i){var o,u,a,c=n(i),f=Xf(),s=n(f),l=!1,h={point:p,lineStart:v,lineEnd:g,polygonStart:function(){h.point=_,h.lineStart=y,h.lineEnd=m,u=[],o=[]},polygonEnd:function(){h.point=p,h.lineStart=v,h.lineEnd=g,u=D(u);var t=Jf(o,r);u.length?(l||(i.polygonStart(),l=!0),Zf(u,ns,t,e,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(n,e){t(n,e)&&i.point(n,e)}function d(t,n){c.point(t,n)}function v(){h.point=d,c.lineStart()}function g(){h.point=p,c.lineEnd()}function _(t,n){a.push([t,n]),s.point(t,n)}function y(){s.lineStart(),a=[]}function m(){_(a[0][0],a[0][1]),s.lineEnd();var t,n,e,r,c=s.clean(),h=f.result(),p=h.length;if(a.pop(),o.push(a),a=null,p)if(1&c){if((n=(e=h[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else p>1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(ts))}return h}}function ts(t){return t.length>1}function ns(t,n){return((t=t.x)[0]<0?t[1]-Ba-ja:Ba-t[1])-((n=n.x)[0]<0?n[1]-Ba-ja:Ba-n[1])}var es=Kf((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?Ha:-Ha,c=Za(o-e);Za(c-Ha)<ja?(t.point(e,r=(r+u)/2>0?Ba:-Ba),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=Ha&&(Za(e-i)<ja&&(e-=i*ja),Za(o-a)<ja&&(o-=a*ja),r=function(t,n,e,r){var i,o,u=rc(t-e);return Za(u)>ja?Ga((rc(n)*(o=Ja(r))*rc(e)-rc(r)*(i=Ja(n))*rc(t))/(i*o*u)):(n+r)/2}(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*Ba,r.point(-Ha,i),r.point(0,i),r.point(Ha,i),r.point(Ha,0),r.point(Ha,-i),r.point(0,-i),r.point(-Ha,-i),r.point(-Ha,0),r.point(-Ha,i);else if(Za(t[0]-n[0])>ja){var o=t[0]<n[0]?Ha:-Ha;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-Ha,-Ba]);function rs(t){var n=Ja(t),e=6*$a,r=n>0,i=Za(n)>ja;function o(t,e){return Ja(t)*Ja(e)>n}function u(t,e,r){var i=[1,0,0],o=Rc(zc(t),zc(e)),u=Pc(o,o),a=o[0],c=u-a*a;if(!c)return!r&&t;var f=n*u/c,s=-n*a/c,l=Rc(i,o),h=Oc(i,f);
vendor: 3,410 bytes, line 1
1Lc(h,Oc(o,s));var p=l,d=Pc(h,p),v=Pc(p,p),g=d*d-v*(Pc(h,h)-1);if(!(g<0)){var _=oc(g),y=Oc(p,(-d-_)/v);if(Lc(y,h),y=Ec(y),!r)return y;var m,x=t[0],b=e[0],w=t[1],M=e[1];b<x&&(m=x,x=b,b=m);var S=b-x,A=Za(S-Ha)<ja;if(!A&&M<w&&(m=w,w=M,M=m),A||S<ja?A?w+M>0^y[1]<(Za(y[0]-x)<ja?w:M):w<=y[1]&&y[1]<=M:S>Ha^(x<=y[0]&&y[0]<=b)){var T=Oc(p,(-d+_)/v);return Lc(T,h),[y,Ec(T)]}}}function a(n,e){var i=r?t:Ha-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return Kf(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var p,d=[l,h],v=o(l,h),g=r?v?0:a(l,h):v?a(l+(l<0?Ha:-Ha),h):0;if(!n&&(f=c=v)&&t.lineStart(),v!==c&&(!(p=u(n,d))||Wf(n,p)||Wf(d,p))&&(d[0]+=ja,d[1]+=ja,v=o(d[0],d[1])),v!==c)s=0,v?(t.lineStart(),p=u(d,n),t.point(p[0],p[1])):(p=u(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(i&&n&&r^v){var _;g&e||!(_=u(d,n,!0))||(s=0,r?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!v||n&&Wf(n,d)||t.point(d[0],d[1]),n=d,c=v,e=g},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){Hf(o,t,e,i,n,r)}),r?[0,-t]:[-Ha,t-Ha])}var is=1e9,os=-is;function us(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,f){var s=0,l=0;if(null==i||(s=u(i,a))!==(l=u(o,a))||c(i,o)<0^a>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+a+4)%4)!==l);else f.point(o[0],o[1])}function u(r,i){return Za(r[0]-t)<ja?i>0?0:3:Za(r[0]-e)<ja?i>0?2:1:Za(r[1]-n)<ja?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){var c,f,s,l,h,p,d,v,g,_,y,m=u,x=Xf(),b={point:w,lineStart:function(){b.point=M,f&&f.push(s=[]),_=!0,g=!1,d=v=NaN},lineEnd:function(){c&&(M(l,h),p&&g&&x.rejoin(),c.push(x.result())),b.point=w,g&&m.lineEnd()},polygonStart:function(){m=x,c=[],f=[],y=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;e<i;++e)for(var o,u,a=f[e],c=1,s=a.length,l=a[0],h=l[0],p=l[1];c<s;++c)o=h,u=p,h=(l=a[c])[0],p=l[1],u<=r?p>r&&(h-o)*(r-u)>(p-u)*(t-o)&&++n:p<=r&&(h-o)*(r-u)<(p-u)*(t-o)&&--n;return n}(),e=y&&n,i=(c=D(c)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&Zf(c,a,n,o,u),u.polygonEnd()),m=u,c=f=s=null}};function w(t,n){i(t,n)&&m.point(t,n)}function M(o,u){var a=i(o,u);if(f&&s.push([o,u]),_)l=o,h=u,p=a,_=!1,a&&(m.lineStart(),m.point(o,u));else if(a&&g)m.point(o,u);else{var c=[d=Math.max(os,Math.min(is,d)),v=Math.max(os,Math.min(is,v))],x=[o=Math.max(os,Math.min(is,o)),u=Math.max(os,Math.min(is,u))];!function(t,n,e,r,i,o){var u,a=t[0],c=t[1],f=0,s=1,l=n[0]-a,h=n[1]-c;if(u=e-a,l||!(u>0)){if(u/=l,l<0){if(u<f)return;u<s&&(s=u)}else if(l>0){if(u>s)return;u>f&&(f=u)}if(u=i-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u<f)return;u<s&&(s=u)}if(u=r-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<s&&(s=u)}else if(h>0){if(u>s)return;u>f&&(f=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<s&&(s=u)}return f>0&&(t[0]=a+f*l,t[1]=c+f*h),s<1&&(n[0]=a+s*l,n[1]=c+s*h),!0}}}}}(c,x,t,n,e,r)?a&&(m.lineStart(),m.point(o,u),y=!1):(g||(m.lineStart(),m.point(c[0],c[1])),m.point(x[0],x[1]),a||m.lineEnd(),y=!1)}d=o,v=u,g=a}return b}}function as(){var t,n,e,r=0,i=0,o=960,u=500;
1return e={stream:function(e){return t&&n===e?t:t=us(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}}var cs,fs,ss,ls=Da(),hs={sphere:sc,point:sc,lineStart:function(){hs.point=ds,hs.lineEnd=ps},lineEnd:sc,polygonStart:sc,polygonEnd:sc};function ps(){hs.point=hs.lineEnd=sc}function ds(t,n){cs=t*=$a,fs=rc(n*=$a),ss=Ja(n),hs.point=vs}function vs(t,n){t*=$a;var e=rc(n*=$a),r=Ja(n),i=Za(t-cs),o=Ja(i),u=r*rc(i),a=ss*e-fs*r*o,c=fs*e+ss*r*o;ls.add(Qa(oc(u*u+a*a),c)),cs=t,fs=e,ss=r}function gs(t){return ls.reset(),gc(t,hs),+ls}var _s=[null,null],ys={type:"LineString",coordinates:_s};function ms(t,n){return _s[0]=t,_s[1]=n,gs(ys)}var xs={Feature:function(t,n){return ws(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(ws(e[r].geometry,n))return!0;return!1}},bs={Sphere:function(){return!0},Point:function(t,n){return Ms(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Ms(e[r],n))return!0;return!1},LineString:function(t,n){return Ss(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Ss(e[r],n))return!0;return!1},Polygon:function(t,n){return As(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(As(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(ws(e[r],n))return!0;return!1}};function ws(t,n){return!(!t||!bs.hasOwnProperty(t.type))&&bs[t.type](t,n)}function Ms(t,n){return 0===ms(t,n)}function Ss(t,n){var e=ms(t[0],t[1]);return ms(t[0],n)+ms(n,t[1])<=e+ja}function As(t,n){return!!Jf(t.map(Ts),ks(n))}function Ts(t){return(t=t.map(ks)).pop(),t}function ks(t){return[t[0]*$a,t[1]*$a]}function Ns(t,n){return(t&&xs.hasOwnProperty(t.type)?xs[t.type]:ws)(t,n)}function Cs(t,n,e){var r=M(t,n-ja,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function Es(t,n,e){var r=M(t,n-ja,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function zs(){var t,n,e,r,i,o,u,a,c,f,s,l,h=10,p=h,d=90,v=360,g=2.5;function _(){return{type:"MultiLineString",coordinates:y()}}function y(){return M(Ka(r/d)*d,e,d).map(s).concat(M(Ka(a/v)*v,u,v).map(l)).concat(M(Ka(n/h)*h,t,h).filter((function(t){return Za(t%d)>ja})).map(c)).concat(M(Ka(o/p)*p,i,p).filter((function(t){return Za(t%v)>ja})).map(f))}return _.lines=function(){return y().map((function(t){return{type:"LineString",coordinates:t}}))},_.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(u).slice(1),s(e).reverse().slice(1),l(a).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),_.precision(g)):[[r,a],[e,u]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),_.precision(g)):[[n,o],[t,i]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(d=+t[0],v=+t[1],_):[d,v]},_.stepMinor=function(t){return arguments.length?(h=+t[0],p=+t[1],_):[h,p]},_.precision=function(h){return arguments.length?(g=+h,c=Cs(o,i,90),f=Es(n,t,g),s=Cs(a,u,90),l=Es(r,e,g),_):g},_.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Ps(){return zs()()}function Rs(t,n){var e=t[0]*$a,r=t[1]*$a,i=n[0]*$a,o=n[1]*$a,u=Ja(r),a=rc(r),c=Ja(o),f=rc(o),s=u*Ja(e),l=u*rc(e),h=c*Ja(i),p=c*rc(i),d=2*cc(oc(fc(o-r)+u*c*fc(i-e))),v=rc(d),g=d?function(t){var n=rc(t*=d)/v,e=rc(d-t)/v,r=e*s+n*h,i=e*l+n*p,o=e*a+n*f;return[Qa(i,r)*Wa,Qa(o,oc(r*r+i*i))*Wa]}:function(){return[e*Wa,r*Wa]};return g.distance=d,g}function Ls(t){return t}var Os,qs,Us,Ds,Fs=Da(),Is=Da(),Ys={point:sc,lineStart:sc,lineEnd:sc,polygonStart:function(){Ys.lineStart=js,Ys.lineEnd=Vs},polygonEnd:function(){Ys.lineStart=Ys.lineEnd=Ys.point=sc,Fs.add(Za(Is)),Is.reset()},result:function(){var t=Fs/2;return Fs.reset(),t}};function js(){Ys.point=Hs}
vendor: 5,321 bytes, line 1
1function Hs(t,n){Ys.point=Bs,Os=Us=t,qs=Ds=n}function Bs(t,n){Is.add(Ds*t-Us*n),Us=t,Ds=n}function Vs(){Bs(Os,qs)}var Xs,Ws,$s,Zs,Gs=Ys,Qs=1/0,Js=Qs,Ks=-Qs,tl=Ks,nl={point:function(t,n){t<Qs&&(Qs=t),t>Ks&&(Ks=t),n<Js&&(Js=n),n>tl&&(tl=n)},lineStart:sc,lineEnd:sc,polygonStart:sc,polygonEnd:sc,result:function(){var t=[[Qs,Js],[Ks,tl]];return Ks=tl=-(Js=Qs=1/0),t}},el=nl,rl=0,il=0,ol=0,ul=0,al=0,cl=0,fl=0,sl=0,ll=0,hl={point:pl,lineStart:dl,lineEnd:_l,polygonStart:function(){hl.lineStart=yl,hl.lineEnd=ml},polygonEnd:function(){hl.point=pl,hl.lineStart=dl,hl.lineEnd=_l},result:function(){var t=ll?[fl/ll,sl/ll]:cl?[ul/cl,al/cl]:ol?[rl/ol,il/ol]:[NaN,NaN];return rl=il=ol=ul=al=cl=fl=sl=ll=0,t}};function pl(t,n){rl+=t,il+=n,++ol}function dl(){hl.point=vl}function vl(t,n){hl.point=gl,pl($s=t,Zs=n)}function gl(t,n){var e=t-$s,r=n-Zs,i=oc(e*e+r*r);ul+=i*($s+t)/2,al+=i*(Zs+n)/2,cl+=i,pl($s=t,Zs=n)}function _l(){hl.point=pl}function yl(){hl.point=xl}function ml(){bl(Xs,Ws)}function xl(t,n){hl.point=bl,pl(Xs=$s=t,Ws=Zs=n)}function bl(t,n){var e=t-$s,r=n-Zs,i=oc(e*e+r*r);ul+=i*($s+t)/2,al+=i*(Zs+n)/2,cl+=i,fl+=(i=Zs*t-$s*n)*($s+t),sl+=i*(Zs+n),ll+=3*i,pl($s=t,Zs=n)}var wl=hl;function Ml(t){this._context=t}Ml.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,Xa)}},result:sc};var Sl,Al,Tl,kl,Nl,Cl=Da(),El={point:sc,lineStart:function(){El.point=zl},lineEnd:function(){Sl&&Pl(Al,Tl),El.point=sc},polygonStart:function(){Sl=!0},polygonEnd:function(){Sl=null},result:function(){var t=+Cl;return Cl.reset(),t}};function zl(t,n){El.point=Pl,Al=kl=t,Tl=Nl=n}function Pl(t,n){kl-=t,Nl-=n,Cl.add(oc(kl*kl+Nl*Nl)),kl=t,Nl=n}var Rl=El;function Ll(){this._string=[]}function Ol(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function ql(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),gc(t,e(r))),r.result()}return o.area=function(t){return gc(t,e(Gs)),Gs.result()},o.measure=function(t){return gc(t,e(Rl)),Rl.result()},o.bounds=function(t){return gc(t,e(el)),el.result()},o.centroid=function(t){return gc(t,e(wl)),wl.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,Ls):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new Ll):new Ml(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)}function Ul(t){return{stream:Dl(t)}}function Dl(t){return function(n){var e=new Fl;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Fl(){}function Il(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),gc(e,t.stream(el)),n(el.result()),null!=r&&t.clipExtent(r),t}function Yl(t,n,e){return Il(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])}),e)}function jl(t,n,e){return Yl(t,[[0,0],n],e)}function Hl(t,n,e){return Il(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,u=-i*e[0][1];t.scale(150*i).translate([o,u])}),e)}function Bl(t,n,e){return Il(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],u=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,u])}),e)}Ll.prototype={_radius:4.5,_circle:Ol(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Ol(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Fl.prototype={constructor:Fl,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Vl=Ja(30*$a);function Xl(t,n){return+n?function(t,n){function e(r,i,o,u,a,c,f,s,l,h,p,d,v,g){var _=f-r,y=s-i,m=_*_+y*y;if(m>4*n&&v--){var x=u+h,b=a+p,w=c+d,M=oc(x*x+b*b+w*w),S=cc(w/=M),A=Za(Za(w)-1)<ja||Za(o-l)<ja?(o+l)/2:Qa(b,x),T=t(A,S),k=T[0],N=T[1],C=k-r,E=N-i,z=y*C-_*E;(z*z/m>n||Za((_*C+y*E)/m-.5)>.3||u*h+a*p+c*d<Vl)&&(e(r,i,o,u,a,c,k,N,A,x/=M,b/=M,w,v,g),g.point(k,N),e(k,N,A,x,b,w,f,s,l,h,p,d,v,g))}}return function(n){var r,i,o,u,a,c,f,s,l,h,p,d,v={point:g,lineStart:_,lineEnd:m,polygonStart:function(){n.pol
1ygonStart(),v.lineStart=x},polygonEnd:function(){n.polygonEnd(),v.lineStart=_}};function g(e,r){e=t(e,r),n.point(e[0],e[1])}function _(){s=NaN,v.point=y,n.lineStart()}function y(r,i){var o=zc([r,i]),u=t(r,i);e(s,l,f,h,p,d,s=u[0],l=u[1],f=r,h=o[0],p=o[1],d=o[2],16,n),n.point(s,l)}function m(){v.point=g,n.lineEnd()}function x(){_(),v.point=b,v.lineEnd=w}function b(t,n){y(r=t,n),i=s,o=l,u=h,a=p,c=d,v.point=y}function w(){e(s,l,f,h,p,d,i,o,r,u,a,c,16,n),v.lineEnd=m,m()}return v}}(t,n):function(t){return Dl({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}var Wl=Dl({point:function(t,n){this.stream.point(t*$a,n*$a)}});function $l(t){return Zl((function(){return t}))()}function Zl(t){var n,e,r,i,o,u,a,c,f,s,l=150,h=480,p=250,d=0,v=0,g=0,_=0,y=0,m=null,x=es,b=null,w=Ls,M=.5,S=Xl(k,M);function A(t){return[(t=o(t[0]*$a,t[1]*$a))[0]*l+e,r-t[1]*l]}function T(t){return(t=o.invert((t[0]-e)/l,(r-t[1])/l))&&[t[0]*Wa,t[1]*Wa]}function k(t,i){return[(t=n(t,i))[0]*l+e,r-t[1]*l]}function N(){o=qf(i=Df(g,_,y),n);var t=n(d,v);return e=h-t[0]*l,r=p+t[1]*l,C()}function C(){return f=s=null,A}return A.stream=function(t){return f&&s===t?f:f=Wl(function(t){return Dl({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(i)(x(S(w(s=t)))))},A.preclip=function(t){return arguments.length?(x=t,m=void 0,C()):x},A.postclip=function(t){return arguments.length?(w=t,b=u=a=c=null,C()):w},A.clipAngle=function(t){return arguments.length?(x=+t?rs(m=t*$a):(m=null,es),C()):m*Wa},A.clipExtent=function(t){return arguments.length?(w=null==t?(b=u=a=c=null,Ls):us(b=+t[0][0],u=+t[0][1],a=+t[1][0],c=+t[1][1]),C()):null==b?null:[[b,u],[a,c]]},A.scale=function(t){return arguments.length?(l=+t,N()):l},A.translate=function(t){return arguments.length?(h=+t[0],p=+t[1],N()):[h,p]},A.center=function(t){return arguments.length?(d=t[0]%360*$a,v=t[1]%360*$a,N()):[d*Wa,v*Wa]},A.rotate=function(t){return arguments.length?(g=t[0]%360*$a,_=t[1]%360*$a,y=t.length>2?t[2]%360*$a:0,N()):[g*Wa,_*Wa,y*Wa]},A.precision=function(t){return arguments.length?(S=Xl(k,M=t*t),C()):oc(M)},A.fitExtent=function(t,n){return Yl(A,t,n)},A.fitSize=function(t,n){return jl(A,t,n)},A.fitWidth=function(t,n){return Hl(A,t,n)},A.fitHeight=function(t,n){return Bl(A,t,n)},function(){return n=t.apply(this,arguments),A.invert=n.invert&&T,N()}}function Gl(t){var n=0,e=Ha/3,r=Zl(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*$a,e=t[1]*$a):[n*Wa,e*Wa]},i}function Ql(t,n){var e=rc(t),r=(e+rc(n))/2;if(Za(r)<ja)return function(t){var n=Ja(t);function e(t,e){return[t*n,rc(e)/n]}return e.invert=function(t,e){return[t/n,cc(e*n)]},e}(t);var i=1+e*(2*r-e),o=oc(i)/r;function u(t,n){var e=oc(i-2*r*rc(n))/r;return[e*rc(t*=r),o-e*Ja(t)]}return u.invert=function(t,n){var e=o-n;return[Qa(t,Za(e))/r*ic(e),cc((i-(t*t+e*e)*r*r)/(2*r))]},u}
vendor: 2,221 bytes, line 1
1function Jl(){return Gl(Ql).scale(155.424).center([0,33.6442])}function Kl(){return Jl().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function th(){var t,n,e,r,i,o,u=Kl(),a=Jl().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=Jl().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,n){o=[t,n]}};function s(t){var n=t[0],u=t[1];return o=null,e.point(n,u),o||(r.point(n,u),o)||(i.point(n,u),o)}function l(){return t=n=null,s}return s.invert=function(t){var n=u.scale(),e=u.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:u).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[u.stream(n=e),a.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},s.precision=function(t){return arguments.length?(u.precision(t),a.precision(t),c.precision(t),l()):u.precision()},s.scale=function(t){return arguments.length?(u.scale(t),a.scale(.35*t),c.scale(t),s.translate(u.translate())):u.scale()},s.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),o=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[o-.455*n,s-.238*n],[o+.455*n,s+.238*n]]).stream(f),r=a.translate([o-.307*n,s+.201*n]).clipExtent([[o-.425*n+ja,s+.12*n+ja],[o-.214*n-ja,s+.234*n-ja]]).stream(f),i=c.translate([o-.205*n,s+.212*n]).clipExtent([[o-.214*n+ja,s+.166*n+ja],[o-.115*n-ja,s+.234*n-ja]]).stream(f),l()},s.fitExtent=function(t,n){return Yl(s,t,n)},s.fitSize=function(t,n){return jl(s,t,n)},s.fitWidth=function(t,n){return Hl(s,t,n)},s.fitHeight=function(t,n){return Bl(s,t,n)},s.scale(1070)}function nh(t){return function(n,e){var r=Ja(n),i=Ja(e),o=t(r*i);return[o*i*rc(n),o*rc(e)]}}function eh(t){return function(n,e){var r=oc(n*n+e*e),i=t(r),o=rc(i),u=Ja(i);return[Qa(n*o,r*u),cc(r&&e*o/r)]}}var rh=nh((function(t){return oc(2/(1+t))}));
1function ih(){return $l(rh).scale(124.75).clipAngle(179.999)}rh.invert=eh((function(t){return 2*cc(t/2)}));var oh=nh((function(t){return(t=ac(t))&&t/rc(t)}));function uh(){return $l(oh).scale(79.4188).clipAngle(179.999)}function ah(t,n){return[t,nc(uc((Ba+n)/2))]}function ch(){return fh(ah).scale(961/Xa)}function fh(t){var n,e,r,i=$l(t),o=i.center,u=i.scale,a=i.translate,c=i.clipExtent,f=null;function s(){var o=Ha*u(),a=i(jf(i.rotate()).invert([0,0]));return c(null==f?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:t===ah?[[Math.max(a[0]-o,f),n],[Math.min(a[0]+o,e),r]]:[[f,Math.max(a[1]-o,n)],[e,Math.min(a[1]+o,r)]])}return i.scale=function(t){return arguments.length?(u(t),s()):u()},i.translate=function(t){return arguments.length?(a(t),s()):a()},i.center=function(t){return arguments.length?(o(t),s()):o()},i.clipExtent=function(t){return arguments.length?(null==t?f=n=e=r=null:(f=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),s()):null==f?null:[[f,n],[e,r]]},s()}function sh(t){return uc((Ba+t)/2)}function lh(t,n){var e=Ja(t),r=t===n?rc(t):nc(e/Ja(n))/nc(sh(n)/sh(t)),i=e*ec(sh(t),r)/r;if(!r)return ah;function o(t,n){i>0?n<-Ba+ja&&(n=-Ba+ja):n>Ba-ja&&(n=Ba-ja);var e=i/ec(sh(n),r);return[e*rc(r*t),i-e*Ja(r*t)]}return o.invert=function(t,n){var e=i-n,o=ic(r)*oc(t*t+e*e);return[Qa(t,Za(e))/r*ic(e),2*Ga(ec(i/o,1/r))-Ba]},o}function hh(){return Gl(lh).scale(109.5).parallels([30,30])}function ph(t,n){return[t,n]}
1function dh(){return $l(ph).scale(152.63)}function vh(t,n){var e=Ja(t),r=t===n?rc(t):(e-Ja(n))/(n-t),i=e/r+t;if(Za(r)<ja)return ph;function o(t,n){var e=i-n,o=r*t;return[e*rc(o),i-e*Ja(o)]}return o.invert=function(t,n){var e=i-n;return[Qa(t,Za(e))/r*ic(e),i-ic(r)*oc(t*t+e*e)]},o}function gh(){return Gl(vh).scale(131.154).center([0,13.9389])}function _h(t,n){var e=Ja(n),r=Ja(t)*e;return[e*rc(t)/r,rc(n)/r]}function yh(){return $l(_h).scale(144.049).clipAngle(60)}function mh(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?Ls:Dl({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}function xh(){var t,n,e,r,i,o,u=1,a=0,c=0,f=1,s=1,l=Ls,h=null,p=Ls;function d(){return r=i=null,o}return o={stream:function(t){return r&&i===t?r:r=l(p(i=t))},postclip:function(r){return arguments.length?(p=r,h=t=n=e=null,d()):p},clipExtent:function(r){return arguments.length?(p=null==r?(h=t=n=e=null,Ls):us(h=+r[0][0],t=+r[0][1],n=+r[1][0],e=+r[1][1]),d()):null==h?null:[[h,t],[n,e]]},scale:function(t){return arguments.length?(l=mh((u=+t)*f,u*s,a,c),d()):u},translate:function(t){return arguments.length?(l=mh(u*f,u*s,a=+t[0],c=+t[1]),d()):[a,c]},reflectX:function(t){return arguments.length?(l=mh(u*(f=t?-1:1),u*s,a,c),d()):f<0},reflectY:function(t){return arguments.length?(l=mh(u*f,u*(s=t?-1:1),a,c),d()):s<0},fitExtent:function(t,n){return Yl(o,t,n)},fitSize:function(t,n){return jl(o,t,n)},fitWidth:function(t,n){return Hl(o,t,n)},fitHeight:function(t,n){return Bl(o,t,n)}}}function bh(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}
vendor: 8,781 bytes, line 1
1function wh(){return $l(bh).scale(175.295)}function Mh(t,n){return[Ja(n)*rc(t),rc(n)]}function Sh(){return $l(Mh).scale(249.5).clipAngle(90.000001)}function Ah(t,n){var e=Ja(n),r=1+Ja(t)*e;return[e*rc(t)/r,rc(n)/r]}function Th(){return $l(Ah).scale(250).clipAngle(142)}function kh(t,n){return[nc(uc((Ba+n)/2)),-t]}function Nh(){var t=fh(kh),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function Ch(t,n){return t.parent===n.parent?1:2}function Eh(t,n){return t+n.x}function zh(t,n){return Math.max(t,n.y)}function Ph(){var t=Ch,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Eh,0)/t.length}(e),n.y=function(t){return 1+t.reduce(zh,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=a.x-t(a,c)/2,s=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Rh(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Lh(t,n){var e,r,i,o,u,a=new Dh(t),c=+t.value&&(a.value=t.value),f=[a];for(null==n&&(n=Oh);e=f.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)f.push(r=e.children[o]=new Dh(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(Uh)}function Oh(t){return t.children}function qh(t){t.data=t.data.data}function Uh(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Dh(t){this.data=t,this.depth=this.height=0,this.parent=null}oh.invert=eh((function(t){return t})),ah.invert=function(t,n){return[t,2*Ga(tc(n))-Ba]},ph.invert=ph,_h.invert=eh(Ga),bh.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(.028874*o-.044475-.005916*u)))-n)/(1.007226+o*(.045255+u*(.259866*o-.311325-.005916*11*u)))}while(Za(e)>ja&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},Mh.invert=eh(cc),Ah.invert=eh((function(t){return 2*Ga(t)})),kh.invert=function(t,n){return[-n,2*Ga(tc(t))-Ba]},Dh.prototype=Lh.prototype={constructor:Dh,count:function(){return this.eachAfter(Rh)},each:function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r])}while(u.length);return this},eachAfter:function(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=u.pop();)t(i);return this},eachBefore:function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Lh(this).eachBefore(qh)}};var Fh=Array.prototype.slice;function Ih(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(Fh.call(t))).length,o=[];r<i;)n=t[r],e&&Hh(e,n)?++r:(e=Vh(o=Yh(o,n)),r=0);return e}function Yh(t,n){var e,r;if(Bh(n,t))return[n];for(e=0;e<t.length;++e)if(jh(n,t[e])&&Bh(Xh(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(jh(Xh(t[e],t[r]),n)&&jh(Xh(t[e],n),t[r])&&jh(Xh(t[r],n),t[e])&&Bh(Wh(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function jh(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function Hh(t,n){var e=t.r-n.r+1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function Bh(t,n){for(var e=0;e<n.length;++e)if(!Hh(t,n[e]))return!1;return!0}function Vh(t){switch(t.length){case 1:return function(t){return{x:t.x,y:t.y,r:t.r}}(t[0]);case 2:return Xh(t[0],t[1]);case 3:return Wh(t[0],t[1],t[2])}}function Xh(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,f=u-r,s=a-i,l=Math.sqrt(c*c+f*f);return{x:(e+o+c/l*s)/2,y:(r+u+f/l*s)/2,r:(l+i+a)/2}}function Wh(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,f=e.x,s=e.y,l=e.r,h=r-u,p=r-f,d=i-a,v=i-s,g=c-o,_=l-o,y=r*r+i*i-o*o,m=y-u*u-a*a+c*c,x=y-f*f-s*s+l*l,b=p*d-h*v,w=(d*x-v*m)/(2*b)-r,M=(v*g-d*_)/b,S=(p*m-h*x)/(2*b)-i,A=(h*_-p*g)/b,T=M*M+A*A-1,k=2*(o+w*M+S*A),N=w*w+S*S-o*o,C=-(T?(k+Math.sqrt(k*k-4*T*N))/(2*T):N/k);return{x:r+w+M*C,y:i+S+A*C,r:C}}function $h(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,u=t.r+e.r,a=n.x-r,c=n.y-i,f=a*a+c*c;if(f){var s=.5+((u*=u)-(o*=o))/(2*f),l=Math.sqrt(Math.max(0,2*o*(u+f)-(u-=f)*u-o*o))/(2*f);e.x=r+s*a+l*c,e.y=i+s*c-l*a}else e.x=r+u,e.y=i}function Zh(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function Gh(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function Qh(t){this._=t,this.next=null,this.previous=null}function Jh(t){if(!(i=t.length))return 0;var n,e,r,i,o,u,a,c,f,s,l;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;$h(e,n,r=t[2]),n=new Qh(n),e=new Qh(e),r=new Qh(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a<i;++a){$h(n._,e._,r=t[a]),r=new Qh(r),c=e.next,f=n.previous,s=e._.r,l=n._.r;do{if(s<=l){if(Zh(c._,r._)){e=c,n.next=e,e.previous=n,--a;continue t}s+=c._.r,c=c.next}else{if(Zh(f._,r._)){(n=f).next=e,e.previous=n,--a;continue t}l+=f._.r,f=f.previous}}while(c!==f.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,o=Gh(n);(r=r.next)!==e;)(u=Gh(r))<o&&(n=r,o=u);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=Ih(n),a=0;a<i;++a)(n=t[a]).x-=r.x,n.y-=r.y;return r.r}function Kh(t){return Jh(t),t}function tp(t){return null==t?null:np(t)}function np(t){if("function"!=typeof t)throw new Error;return t}function ep(){return 0}function rp(t){return function(){return t}}function ip(t){return Math.sqrt(t.value)}function op(){var t=null,n=1,e=1,r=ep;function i(i){return i.x=n/2,i.y=e/2,t?i.eachBefore(up(t)).eachAfter(ap(r,.5)).eachBefore(cp(1)):i.eachBefore(up(ip)).eachAfter(ap(ep,1)).eachAfter(ap(r,i.r/Math.min(n,e))).eachBefore(cp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=tp(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:rp(+t),i):r},i}function up(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function ap(t,n){return function(e){if(r=e.children){var r,i,o,u=r.length,a=t(e)*n||0;if(a)for(i=0;i<u;++i)r[i].r+=a;if(o=Jh(r),a)for(i=0;i<u;++i)r[i].r-=a;e.r=o+a}}}function cp(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function fp(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function sp(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*f}function lp(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&sp(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,u=r.x1-e,a=r.y1-e;u<i&&(i=u=(i+u)/2),a<o&&(o=a=(o+a)/2),r.x0=i,r.y0=o,r.x1=u,r.y1=a}}(n,o)),r&&i.eachBefore(fp),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(t){return arguments.length?(e=+t,i):e},i}var hp={depth:-1},pp={};function dp(t){return t.id}function vp(t){return t.parentId}function gp(){var t=dp,n=vp;function e(e){var r,i,o,u,a,c,f,s=e.length,l=new Array(s),h={};for(i=0;i<s;++i)r=e[i],a=l[i]=new Dh(r),null!=(c=t(r,i,e))&&(c+="")&&(h[f="$"+(a.id=c)]=f in h?pp:a);for(i=0;i<s;
vendor: 4,953 bytes, line 1
1++i)if(a=l[i],null!=(c=n(e[i],i,e))&&(c+="")){if(!(u=h["$"+c]))throw new Error("missing: "+c);if(u===pp)throw new Error("ambiguous: "+c);u.children?u.children.push(a):u.children=[a],a.parent=u}else{if(o)throw new Error("multiple roots");o=a}if(!o)throw new Error("no root");if(o.parent=hp,o.eachBefore((function(t){t.depth=t.parent.depth+1,--s})).eachBefore(Uh),o.parent=null,s>0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=np(n),e):t},e.parentId=function(t){return arguments.length?(n=np(t),e):n},e}function _p(t,n){return t.parent===n.parent?1:2}function yp(t){var n=t.children;return n?n[0]:t.t}function mp(t){var n=t.children;return n?n[n.length-1]:t.t}function xp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function bp(t,n,e){return t.a.parent===n.parent?t.a:e}function wp(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Mp(){var t=_p,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,u=new wp(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new wp(r[i],i)),e.parent=n;return(u.parent=new wp(null,0)).children=[u],u}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(u),r)i.eachBefore(a);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.x<f.x&&(f=t),t.x>s.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,p=h-f.x,d=n/(s.x+h+p),v=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+p)*d,t.y=t.depth*v}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,u=n,a=e,c=o.parent.children[0],f=o.m,s=u.m,l=a.m,h=c.m;a=mp(a),o=yp(o),a&&o;)c=yp(c),(u=mp(u)).a=n,(i=a.z+l-o.z-f+t(a._,o._))>0&&(xp(bp(a,n,r),n,i),f+=i,s+=i),l+=a.m,f+=o.m,h+=c.m,s+=u.m;a&&!mp(u)&&(u.t=a,u.m+=l-s),o&&!yp(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Sp(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(i-e)/t.value;++a<c;)(o=u[a]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*f}wp.prototype=Object.create(Dh.prototype);var Ap=(1+Math.sqrt(5))/2;function Tp(t,n,e,r,i,o){for(var u,a,c,f,s,l,h,p,d,v,g,_=[],y=n.children,m=0,x=0,b=y.length,w=n.value;m<b;){c=i-e,f=o-r;do{s=y[x++].value}while(!s&&x<b);for(l=h=s,g=s*s*(v=Math.max(f/c,c/f)/(w*t)),d=Math.max(h/g,g/l);x<b;++x){if(s+=a=y[x].value,a<l&&(l=a),a>h&&(h=a),g=s*s*v,(p=Math.max(h/g,g/l))>d){s-=a;break}d=p}_.push(u={value:s,dice:c<f,children:y.slice(m,x)}),u.dice?sp(u,e,r,i,w?r+=f*s/w:o):Sp(u,e,r,w?e+=c*s/w:i,o),w-=s,m=x}return _}var kp=function t(n){function e(t,e,r,i,o){Tp(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Ap);function Np(){var t=kp,n=!1,e=1,r=1,i=[0],o=ep,u=ep,a=ep,c=ep,f=ep;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(fp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l<r&&(r=l=(r+l)/2),h<s&&(s=h=(s+h)/2),n.x0=r,n.y0=s,n.x1=l,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=f(n)-e,s+=u(n)-e,(l-=a(n)-e)<r&&(r=l=(r+l)/2),(h-=c(n)-e)<s&&(s=h=(s+h)/2),t(n,r,s,l,h))}return s.round=function(t){return arguments.length?(n=!!t,s):n},s.size=function(t){return arguments.length?(e=+t[0],r=+t[1],s):[e,r]},s.tile=function(n){return arguments.length?(t=np(n),s):t},s.padding=function(t){return arguments.length?s.paddingInner(t).paddingOuter(t):s.paddingInner()},s.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:rp(+t),s):o},s.paddingOuter=function(t){return arguments.length?s.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):s.paddingTop()},s.paddingTop=function(t){return arguments.length?(u="function"==typeof t?t:rp(+t),s):u},s.paddingRight=function(t){return arguments.length?(a="function"==typeof t?t:rp(+t),s):a},s.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:rp(+t),s):c},s.paddingLeft=function(t){return arguments.length?(f="function"==typeof t?t:rp(+t),s):f},s}function Cp(t,n,e,r,i){var o,u,a=t.children,c=a.length,f=new Array(c+1);for(f[0]=u=o=0;o<c;++o)f[o+1]=u+=a[o].value;!function t(n,e,r,i,o,u,c){if(n>=e-1){var s=a[n];return s.x0=i,s.y0=o,s.x1=u,void(s.y1=c)}for(var l=f[n],h=r/2+l,p=n+1,d=e-1;p<d;){var v=p+d>>>1;f[v]<h?p=v+1:d=v}h-f[p-1]<f[p]-h&&n+1<p&&--p;var g=f[p]-l,_=r-g;if(u-i>c-o){var y=(i*_+u*g)/r;t(n,p,g,i,o,y,c),t(p,e,_,y,o,u,c)}else{var m=(o*_+c*g)/r;
1t(n,p,g,i,o,u,m),t(p,e,_,i,m,u,c)}}(0,c,t.value,n,e,r,i)}function Ep(t,n,e,r,i){(1&t.depth?Sp:sp)(t,n,e,r,i)}var zp=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,f,s,l=-1,h=u.length,p=t.value;++l<h;){for(c=(a=u[l]).children,f=a.value=0,s=c.length;f<s;++f)a.value+=c[f].value;a.dice?sp(a,e,r,i,r+=(o-r)*a.value/p):Sp(a,e,r,e+=(i-e)*a.value/p,o),p-=a.value}else t._squarify=u=Tp(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Ap);function Pp(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2}function Rp(t){for(var n,e,r=-1,i=t.length,o=0,u=0,a=t[i-1],c=0;++r<i;)n=a,a=t[r],c+=e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return[o/(c*=3),u/c]}function Lp(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function Op(t,n){return t[0]-n[0]||t[1]-n[1]}function qp(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&Lp(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function Up(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(Op),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=qp(r),u=qp(i),a=u[0]===o[0],c=u[u.length-1]===o[o.length-1],f=[];for(n=o.length-1;n>=0;--n)f.push(t[r[o[n]][2]]);for(n=+a;n<u.length-c;++n)f.push(t[r[u[n]][2]]);return f}function Dp(t,n){for(var e,r,i=t.length,o=t[i-1],u=n[0],a=n[1],c=o[0],f=o[1],s=!1,l=0;l<i;++l)e=(o=t[l])[0],(r=o[1])>a!=f>a&&u<(c-e)*(a-r)/(f-r)+e&&(s=!s),c=e,f=r;return s}function Fp(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r<i;)n=u,e=a,n-=u=(o=t[r])[0],e-=a=o[1],c+=Math.sqrt(n*n+e*e);return c}var Ip=e(9298);function Yp(){return Math.random()}var jp=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(Yp),Hp=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(Yp),Bp=function t(n){function e(){var t=Hp.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(Yp),Vp=function t(n){function e(t){return function(){for(var e=0,r=0;r<t;++r)e+=n();return e}}return e.source=t,e}(Yp),Xp=function t(n){function e(t){var e=Vp.source(n)(t);return function(){return e()/t}}return e.source=t,e}(Yp),Wp=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(Yp),$p=e(8917),Zp=Array.prototype,Gp=Zp.map,Qp=Zp.slice,Jp={name:"implicit"};function Kp(t){var n=wu(),e=[],r=Jp;function i(i){var o=i+"",u=n.get(o);if(!u){if(r!==Jp)return r;n.set(o,u=e.push(i))}return t[(u-1)%t.length]}return t=null==t?[]:Qp.call(t),i.domain=function(t){if(!arguments.length)return e.slice();e=[],n=wu();for(var r,o,u=-1,a=t.length;++u<a;)n.has(o=(r=t[u])+"")||n.set(o,e.push(r));return i},i.range=function(n){return arguments.length?(t=Qp.call(n),i):t.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Kp().domain(e).range(t).unknown(r)},i}function td(){var t,n,e=Kp().unknown(void 0),r=e.domain,i=e.range,o=[0,1],u=!1,a=0,c=0,f=.5;function s(){var e=r().length,s=o[1]<o[0],l=o[s-0],h=o[1-s];t=(h-l)/Math.max(1,e-a+2*c),u&&(t=Math.floor(t)),l+=(h-l-t*(e-a))*f,n=t*(1-a),u&&(l=Math.round(l),n=Math.round(n));var p=M(e).map((function(n){return l+t*n}));return i(s?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),s()):r()},e.range=function(t){return arguments.length?(o=[+t[0],+t[1]],s()):o.slice()},e.rangeRound=function(t){return o=[+t[0],+t[1]],u=!0,s()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,s()):u},e.padding=function(t){return arguments.length?(a=c=Math.max(0,Math.min(1,t)),s()):a},e.paddingInner=function(t){return arguments.length?(a=Math.max(0,Math.min(1,t)),s()):a},e.paddingOuter=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),s()):c},e.align=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),s()):f},e.copy=function(){return td().domain(r()).range(o).round(u).paddingInner(a).paddingOuter(c).align(f)},s()}
1function nd(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return nd(n())},t}function ed(){return nd(td().paddingInner(1))}function rd(t){return function(){return t}}function id(t){return+t}var od=[0,1];function ud(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:rd(n)}function ad(t,n,e,r){var i=t[0],o=t[1],u=n[0],a=n[1];return o<i?(i=e(o,i),u=r(a,u)):(i=e(i,o),u=r(u,a)),function(t){return u(i(t))}}function cd(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),u=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<i;)o[a]=e(t[a],t[a+1]),u[a]=r(n[a],n[a+1]);return function(n){var e=f(t,n,1,i)-1;return u[e](o[e](n))}}function fd(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function sd(t,n){var e,r,i,o=od,u=od,a=gr,c=!1;function f(){return e=Math.min(o.length,u.length)>2?cd:ad,r=i=null,s}function s(n){return(r||(r=e(o,u,c?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,a)))(+n)}return s.invert=function(t){return(i||(i=e(u,o,ud,c?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},s.domain=function(t){return arguments.length?(o=Gp.call(t,id),f()):o.slice()},s.range=function(t){return arguments.length?(u=Qp.call(t),f()):u.slice()},s.rangeRound=function(t){return u=Qp.call(t),a=_r,f()},s.clamp=function(t){return arguments.length?(c=!!t,f()):c},s.interpolate=function(t){return arguments.length?(a=t,f()):a},f()}function ld(t){var n=t.domain;return t.ticks=function(t){var e=n();return k(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return function(t,n,e){var r,i=t[0],o=t[t.length-1],u=C(i,o,null==n?10:n);switch((e=Ta(null==e?",f":e)).type){case"s":var a=Math.max(Math.abs(i),Math.abs(o));return null!=e.precision||isNaN(r=qa(u,a))||(e.precision=r),za(e,a);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(r=Ua(u,Math.max(Math.abs(i),Math.abs(o))))||(e.precision=r-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(r=Oa(u))||(e.precision=r-2*("%"===e.type))}return Ea(e)}(n(),t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,u=i.length-1,a=i[o],c=i[u];return c<a&&(r=a,a=c,c=r,r=o,o=u,u=r),(r=N(a,c,e))>0?r=N(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,e):r<0&&(r=N(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[u]=Math.ceil(c/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[u]=Math.floor(c*r)/r,n(i)),t},t}function hd(){var t=sd(ud,lr);return t.copy=function(){return fd(t,hd())},ld(t)}function pd(){var t=[0,1];function n(t){return+t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Gp.call(e,id),n):t.slice()},n.copy=function(){return pd().domain(t)},ld(n)}function dd(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];
1return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}function vd(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:rd(n)}function gd(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function _d(t){return isFinite(t)?+("1e"+t):t<0?0:t}function yd(t){return 10===t?_d:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function md(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function xd(t){return function(n){return-t(-n)}}function bd(){var t=sd(vd,gd).domain([1,10]),n=t.domain,e=10,r=md(10),i=yd(10);function o(){return r=md(e),i=yd(e),n()[0]<0&&(r=xd(r),i=xd(i)),t}return t.base=function(t){return arguments.length?(e=+t,o()):e},t.domain=function(t){return arguments.length?(n(t),o()):n()},t.ticks=function(t){var o,u=n(),a=u[0],c=u[u.length-1];(o=c<a)&&(h=a,a=c,c=h);var f,s,l,h=r(a),p=r(c),d=null==t?10:+t,v=[];if(!(e%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,a>0){for(;h<p;++h)for(s=1,f=i(h);s<e;++s)if(!((l=f*s)<a)){if(l>c)break;v.push(l)}}else for(;h<p;++h)for(s=e-1,f=i(h);s>=1;--s)if(!((l=f*s)<a)){if(l>c)break;v.push(l)}}else v=k(h,p,Math.min(p-h,d)).map(i);return o?v.reverse():v},t.tickFormat=function(n,o){if(null==o&&(o=10===e?".0e":","),"function"!=typeof o&&(o=Ea(o)),n===1/0)return o;null==n&&(n=10);var u=Math.max(1,e*n/t.ticks().length);return function(t){var n=t/i(Math.round(r(t)));return n*e<e-.5&&(n*=e),n<=u?o(t):""}},t.nice=function(){return n(dd(n(),{floor:function(t){return i(Math.floor(r(t)))},ceil:function(t){return i(Math.ceil(r(t)))}}))},t.copy=function(){return fd(t,bd().base(e))},t}function wd(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function Md(){var t=1,n=sd((function(n,e){return(e=wd(e,t)-(n=wd(n,t)))?function(r){return(wd(r,t)-n)/e}:rd(e)}),(function(n,e){return e=wd(e,t)-(n=wd(n,t)),function(r){return wd(n+e*r,1/t)}})),e=n.domain;return n.exponent=function(n){return arguments.length?(t=+n,e(e())):t},n.copy=function(){return fd(n,Md().exponent(t))},ld(n)}function Sd(){return Md().exponent(.5)}function Ad(){var t=[],n=[],e=[];function r(){var r=0,i=Math.max(1,n.length);for(e=new Array(i-1);++r<i;)e[r-1]=P(t,r/i);return o}function o(t){if(!isNaN(t=+t))return n[f(e,t)]}return o.invertExtent=function(r){var i=n.indexOf(r);return i<0?[NaN,NaN]:[i>0?e[i-1]:t[0],i<e.length?e[i]:t[t.length-1]]},o.domain=function(n){if(!arguments.length)return t.slice();t=[];for(var e,o=0,u=n.length;o<u;++o)null==(e=n[o])||isNaN(e=+e)||t.push(e);return t.sort(i),r()},o.range=function(t){return arguments.length?(n=Qp.call(t),r()):n.slice()},o.quantiles=function(){return e.slice()},o.copy=function(){return Ad().domain(t).range(n)},o}function Td(){var t=0,n=1,e=1,r=[.5],i=[0,1];function o(t){if(t<=t)return i[f(r,t,0,e)]}function u(){var i=-1;for(r=new Array(e);++i<e;)r[i]=((i+1)*n-(i-e)*t)/(e+1);return o}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],u()):[t,n]},o.range=function(t){return arguments.length?(e=(i=Qp.call(t)).length-1,u()):i.slice()},o.invertExtent=function(o){var u=i.indexOf(o);return u<0?[NaN,NaN]:u<1?[t,r[0]]:u>=e?[r[e-1],n]:[r[u-1],r[u]]},o.copy=function(){return Td().domain([t,n]).range(i)},ld(o)}function kd(){var t=[.5],n=[0,1],e=1;function r(r){if(r<=r)return n[f(t,r,0,e)]}return r.domain=function(i){return arguments.length?(t=Qp.call(i),e=Math.min(t.length,n.length-1),r):t.slice()},r.range=function(i){return arguments.length?(n=Qp.call(i),e=Math.min(t.length,n.length-1),r):n.slice()},r.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},r.copy=function(){return kd().domain(t).range(n)},r}var Nd=new Date,Cd=new Date;function Ed(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var u,a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u<e&&e<r);return a},i.filter=function(e){return Ed((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return Nd.setTime(+n),Cd.setTime(+r),t(Nd),t(Cd),Math.floor(e(Nd,Cd))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var zd=Ed((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));zd.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ed((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):zd:null};var Pd=zd,Rd=zd.range,Ld=1e3,Od=6e4,qd=36e5,Ud=864e5,Dd=6048e5,Fd=Ed((function(t){t.setTime(Math.floor(t/Ld)*Ld)}),(function(t,n){t.setTime(+t+n*Ld)}),(function(t,n){return(n-t)/Ld}),(function(t){return t.getUTCSeconds()}
1)),Id=Fd,Yd=Fd.range,jd=Ed((function(t){t.setTime(Math.floor(t/Od)*Od)}),(function(t,n){t.setTime(+t+n*Od)}),(function(t,n){return(n-t)/Od}),(function(t){return t.getMinutes()})),Hd=jd,Bd=jd.range,Vd=Ed((function(t){var n=t.getTimezoneOffset()*Od%qd;n<0&&(n+=qd),t.setTime(Math.floor((+t-n)/qd)*qd+n)}),(function(t,n){t.setTime(+t+n*qd)}),(function(t,n){return(n-t)/qd}),(function(t){return t.getHours()})),Xd=Vd,Wd=Vd.range,$d=Ed((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Od)/Ud}),(function(t){return t.getDate()-1})),Zd=$d,Gd=$d.range;function Qd(t){return Ed((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Od)/Dd}))}var Jd=Qd(0),Kd=Qd(1),tv=Qd(2),nv=Qd(3),ev=Qd(4),rv=Qd(5),iv=Qd(6),ov=Jd.range,uv=Kd.range,av=tv.range,cv=nv.range,fv=ev.range,sv=rv.range,lv=iv.range,hv=Ed((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),pv=hv,dv=hv.range,vv=Ed((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));vv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ed((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var gv=vv,_v=vv.range,yv=Ed((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Od)}),(function(t,n){return(n-t)/Od}),(function(t){return t.getUTCMinutes()})),mv=yv,xv=yv.range,bv=Ed((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*qd)}),(function(t,n){return(n-t)/qd}),(function(t){return t.getUTCHours()})),wv=bv,Mv=bv.range,Sv=Ed((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ud}),(function(t){return t.getUTCDate()-1})),Av=Sv,Tv=Sv.range;function kv(t){return Ed((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Dd}))}var Nv=kv(0),Cv=kv(1),Ev=kv(2),zv=kv(3),Pv=kv(4),Rv=kv(5),Lv=kv(6),Ov=Nv.range,qv=Cv.range,Uv=Ev.range,Dv=zv.range,Fv=Pv.range,Iv=Rv.range,Yv=Lv.range,jv=Ed((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),Hv=jv,Bv=jv.range,Vv=Ed((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Vv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ed((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Xv=Vv,Wv=Vv.range;function $v(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Zv(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Gv(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Qv(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,a=t.months,c=t.shortMonths,f=fg(i),s=sg(i),l=fg(o),h=sg(o),p=fg(u),d=sg(u),v=fg(a),g=sg(a),_=fg(c),y=sg(c),m={a:function(t){return u[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:Eg,e:Eg,f:Og,H:zg,I:Pg,j:Rg,L:Lg,m:qg,M:Ug,p:function(t){return i[+(t.getHours()>=12)]},Q:l_,s:h_,S:Dg,u:Fg,U:Ig,V:Yg,w:jg,W:Hg,x:null,X:null,y:Bg,Y:Vg,Z:Xg,"%":s_},x={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Wg,e:Wg,f:Jg,H:$g,I:Zg,j:Gg,L:Qg,m:Kg,M:t_,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:l_,s:h_,S:n_,u:e_,U:r_,V:i_,w:o_,W:u_,x:null,X:null,y:a_,Y:c_,Z:f_,"%":s_},b={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=d[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=_.exec(n.slice(e));return r?(t.m=y[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=g[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return S(t,n,e,r)},d:xg,e:xg,f:Tg,H:wg,I:wg,j:bg,L:Ag,m:mg,M:Mg,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s[r[0].toLowerCase()],e+r[0].length):-1},Q:Ng,s:Cg,S:Sg,u:hg,U:pg,V:dg,w:lg,W:vg,x:function(t,n,r){return S(t,e,n,r)},X:function(t,n,e){return S(t,r,n,e)},y:_g,Y:gg,Z:yg,"%":kg};function w(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++a<f;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=rg[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function M(t,n){return function(e){var r,i,o=Gv(1900);if(S(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);
vendor: 5,529 bytes, line 1
1if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Zv(Gv(o.y))).getUTCDay(),r=i>4||0===i?Cv.ceil(r):Cv(r),r=Av.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=n(Gv(o.y))).getDay(),r=i>4||0===i?Kd.ceil(r):Kd(r),r=Zd.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Zv(Gv(o.y)).getUTCDay():n(Gv(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Zv(o)):n(o)}}function S(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=b[i in rg?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",$v);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t,Zv);return n.toString=function(){return t},n}}}var Jv,Kv,tg,ng,eg,rg={"-":"",_:" ",0:"0"},ig=/^\s*\d+/,og=/^%/,ug=/[\\^$*+?|[\]().{}]/g;function ag(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function cg(t){return t.replace(ug,"\\$&")}function fg(t){return new RegExp("^(?:"+t.map(cg).join("|")+")","i")}function sg(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function lg(t,n,e){var r=ig.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function hg(t,n,e){var r=ig.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function pg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function dg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function vg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function gg(t,n,e){var r=ig.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function _g(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function yg(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function mg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function xg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function bg(t,n,e){var r=ig.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function wg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Mg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Sg(t,n,e){var r=ig.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Ag(t,n,e){var r=ig.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Tg(t,n,e){var r=ig.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function kg(t,n,e){var r=og.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ng(t,n,e){var r=ig.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Cg(t,n,e){var r=ig.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function Eg(t,n){return ag(t.getDate(),n,2)}function zg(t,n){return ag(t.getHours(),n,2)}function Pg(t,n){return ag(t.getHours()%12||12,n,2)}function Rg(t,n){return ag(1+Zd.count(gv(t),t),n,3)}function Lg(t,n){return ag(t.getMilliseconds(),n,3)}function Og(t,n){return Lg(t,n)+"000"}function qg(t,n){return ag(t.getMonth()+1,n,2)}function Ug(t,n){return ag(t.getMinutes(),n,2)}function Dg(t,n){return ag(t.getSeconds(),n,2)}function Fg(t){var n=t.getDay();return 0===n?7:n}function Ig(t,n){return ag(Jd.count(gv(t),t),n,2)}function Yg(t,n){var e=t.getDay();return t=e>=4||0===e?ev(t):ev.ceil(t),ag(ev.count(gv(t),t)+(4===gv(t).getDay()),n,2)}function jg(t){return t.getDay()}function Hg(t,n){return ag(Kd.count(gv(t),t),n,2)}function Bg(t,n){return ag(t.getFullYear()%100,n,2)}function Vg(t,n){return ag(t.getFullYear()%1e4,n,4)}function Xg(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ag(n/60|0,"0",2)+ag(n%60,"0",2)}function Wg(t,n){return ag(t.getUTCDate(),n,2)}function $g(t,n){return ag(t.getUTCHours(),n,2)}function Zg(t,n){return ag(t.getUTCHours()%12||12,n,2)}function Gg(t,n){return ag(1+Av.count(Xv(t),t),n,3)}function Qg(t,n){return ag(t.getUTCMilliseconds(),n,3)}function Jg(t,n){return Qg(t,n)+"000"}function Kg(t,n){return ag(t.getUTCMonth()+1,n,2)}function t_(t,n){return ag(t.getUTCMinutes(),n,2)}function n_(t,n){return ag(t.getUTCSeconds(),n,2)}function e_(t){var n=t.getUTCDay();return 0===n?7:n}function r_(t,n){return ag(Nv.count(Xv(t),t),n,2)}function i_(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Pv(t):Pv.ceil(t),ag(Pv.count(Xv(t),t)+(4===Xv(t).getUTCDay()),n,2)}function o_(t){return t.getUTCDay()}function u_(t,n){return ag(Cv.count(Xv(t),t),n,2)}function a_(t,n){return ag(t.getUTCFullYear()%100,n,2)}function c_(t,n){return ag(t.getUTCFullYear()%1e4,n,4)}function f_(){return"+0000"}function s_(){return"%"}function l_(t){return+t}function h_(t){return Math.floor(+t/1e3)}function p_(t){return Jv=Qv(t),Kv=Jv.format,tg=Jv.parse,ng=Jv.utcFormat,eg=Jv.utcParse,Jv}p_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","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 d_="%Y-%m-%dT%H:%M:%S.%LZ",v_=Date.prototype.toISOString?function(t){return t.toISOString()}:ng(d_),g_=v_,__=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:eg(d_),y_=__,m_=31536e6;function x_(t){return new Date(t)}function b_(t){return t instanceof Date?+t:+new Date(+t)}function w_(t,n,e,r,i,u,a,c,f){var s=sd(ud,lr),l=s.invert,h=s.domain,p=f(".%L"),d=f(":%S"),v=f("%I:%M"),g=f("%I %p"),_=f("%a %d"),y=f("%b %d"),m=f("%B"),x=f("%Y"),b=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[u,1,6e4],[u,5,3e5],[u,15,9e5],[u,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,m_]];function w(o){return(a(o)<o?p:u(o)<o?d:i(o)<o?v:r(o)<o?g:n(o)<o?e(o)<o?_:y:t(o)<o?m:x)(o)}function M(n,e,r,i){if(null==n&&(n=10),"number"==typeof n){var u=Math.abs(r-e)/n,a=o((function(t){return t[2]})).right(b,u);a===b.length?(i=C(e/m_,r/m_,n),n=t):a?(i=(a=b[u/b[a-1][2]<b[a][2]/u?a-1:a])[1],n=a[0]):(i=Math.max(C(e,r,n),1),n=c)}return null==i?n:n.every(i)}return s.invert=function(t){return new Date(l(t))},s.domain=function(t){return arguments.length?h(Gp.call(t,b_)):h().map(x_)},s.ticks=function(t,n){var e,r=h(),i=r[0],o=r[r.length-1],u=o<i;return u&&(e=i,i=o,o=e),e=(e=M(t,i,o,n))?e.range(i,o+1):[],u?e.reverse():e},s.tickFormat=function(t,n){return null==n?w:f(n)},s.nice=function(t,n){var e=h();return(t=M(t,e[0],e[e.length-1],n))?h(dd(e,t)):s},s.copy=function(){return fd(s,w_(t,n,e,r,i,u,a,c,f))},s}function M_(){return w_(gv,pv,Jd,Zd,Xd,Hd,Id,Pd,Kv).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function S_(){return w_(Xv,Hv,Nv,Av,wv,mv,Id,Pd,ng).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function A_(t){return t.match(/.{6}/g).map((function(t){return"#"+t}))}var T_=A_("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),k_=A_("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),N_=A_("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),C_=A_("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),E_=Ir(Ge(300,.5,0),Ge(-240,.5,1)),z_=Ir(Ge(-100,.75,.35),Ge(80,1.5,.8)),P_=Ir(Ge(260,.75,.35),Ge(80,1.5,.8)),R_=Ge();function L_(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return R_.h=360*t-100,R_.s=1.5-1.5*n,R_.l=.8-.9*n,R_+""}function O_(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var q_=O_(A_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36
1a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),U_=O_(A_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),D_=O_(A_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),F_=O_(A_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function I_(t){var n=0,e=1,r=!1;function i(i){var o=(i-n)/(e-n);return t(r?Math.max(0,Math.min(1,o)):o)}return i.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.clamp=function(t){return arguments.length?(r=!!t,i):r},i.interpolator=function(n){return arguments.length?(t=n,i):t}
vendor: 21,798 bytes, line 1
1,i.copy=function(){return I_(t).domain([n,e]).clamp(r)},ld(i)}function Y_(t){return function(){return t}}var j_=Math.abs,H_=Math.atan2,B_=Math.cos,V_=Math.max,X_=Math.min,W_=Math.sin,$_=Math.sqrt,Z_=1e-12,G_=Math.PI,Q_=G_/2,J_=2*G_;function K_(t){return t>1?0:t<-1?G_:Math.acos(t)}function ty(t){return t>=1?Q_:t<=-1?-Q_:Math.asin(t)}function ny(t){return t.innerRadius}function ey(t){return t.outerRadius}function ry(t){return t.startAngle}function iy(t){return t.endAngle}function oy(t){return t&&t.padAngle}function uy(t,n,e,r,i,o,u,a){var c=e-t,f=r-n,s=u-i,l=a-o,h=(s*(n-o)-l*(t-i))/(l*c-s*f);return[t+h*c,n+h*f]}function ay(t,n,e,r,i,o,u){var a=t-e,c=n-r,f=(u?o:-o)/$_(a*a+c*c),s=f*c,l=-f*a,h=t+s,p=n+l,d=e+s,v=r+l,g=(h+d)/2,_=(p+v)/2,y=d-h,m=v-p,x=y*y+m*m,b=i-o,w=h*v-d*p,M=(m<0?-1:1)*$_(V_(0,b*b*x-w*w)),S=(w*m-y*M)/x,A=(-w*y-m*M)/x,T=(w*m+y*M)/x,k=(-w*y+m*M)/x,N=S-g,C=A-_,E=T-g,z=k-_;return N*N+C*C>E*E+z*z&&(S=T,A=k),{cx:S,cy:A,x01:-s,y01:-l,x11:S*(i/b-1),y11:A*(i/b-1)}}function cy(){var t=ny,n=ey,e=Y_(0),r=null,i=ry,o=iy,u=oy,a=null;function c(){var c,f,s=+t.apply(this,arguments),l=+n.apply(this,arguments),h=i.apply(this,arguments)-Q_,p=o.apply(this,arguments)-Q_,d=j_(p-h),v=p>h;if(a||(a=c=hu()),l<s&&(f=l,l=s,s=f),l>Z_)if(d>J_-Z_)a.moveTo(l*B_(h),l*W_(h)),a.arc(0,0,l,h,p,!v),s>Z_&&(a.moveTo(s*B_(p),s*W_(p)),a.arc(0,0,s,p,h,v));else{var g,_,y=h,m=p,x=h,b=p,w=d,M=d,S=u.apply(this,arguments)/2,A=S>Z_&&(r?+r.apply(this,arguments):$_(s*s+l*l)),T=X_(j_(l-s)/2,+e.apply(this,arguments)),k=T,N=T;if(A>Z_){var C=ty(A/s*W_(S)),E=ty(A/l*W_(S));(w-=2*C)>Z_?(x+=C*=v?1:-1,b-=C):(w=0,x=b=(h+p)/2),(M-=2*E)>Z_?(y+=E*=v?1:-1,m-=E):(M=0,y=m=(h+p)/2)}var z=l*B_(y),P=l*W_(y),R=s*B_(b),L=s*W_(b);if(T>Z_){var O=l*B_(m),q=l*W_(m),U=s*B_(x),D=s*W_(x);if(d<G_){var F=w>Z_?uy(z,P,U,D,O,q,R,L):[R,L],I=z-F[0],Y=P-F[1],j=O-F[0],H=q-F[1],B=1/W_(K_((I*j+Y*H)/($_(I*I+Y*Y)*$_(j*j+H*H)))/2),V=$_(F[0]*F[0]+F[1]*F[1]);k=X_(T,(s-V)/(B-1)),N=X_(T,(l-V)/(B+1))}}M>Z_?N>Z_?(g=ay(U,D,z,P,l,N,v),_=ay(O,q,R,L,l,N,v),a.moveTo(g.cx+g.x01,g.cy+g.y01),N<T?a.arc(g.cx,g.cy,N,H_(g.y01,g.x01),H_(_.y01,_.x01),!v):(a.arc(g.cx,g.cy,N,H_(g.y01,g.x01),H_(g.y11,g.x11),!v),a.arc(0,0,l,H_(g.cy+g.y11,g.cx+g.x11),H_(_.cy+_.y11,_.cx+_.x11),!v),a.arc(_.cx,_.cy,N,H_(_.y11,_.x11),H_(_.y01,_.x01),!v))):(a.moveTo(z,P),a.arc(0,0,l,y,m,!v)):a.moveTo(z,P),s>Z_&&w>Z_?k>Z_?(g=ay(R,L,O,q,s,-k,v),_=ay(z,P,U,D,s,-k,v),a.lineTo(g.cx+g.x01,g.cy+g.y01),k<T?a.arc(g.cx,g.cy,k,H_(g.y01,g.x01),H_(_.y01,_.x01),!v):(a.arc(g.cx,g.cy,k,H_(g.y01,g.x01),H_(g.y11,g.x11),!v),a.arc(0,0,s,H_(g.cy+g.y11,g.cx+g.x11),H_(_.cy+_.y11,_.cx+_.x11),v),a.arc(_.cx,_.cy,k,H_(_.y11,_.x11),H_(_.y01,_.x01),!v))):a.arc(0,0,s,b,x,v):a.lineTo(R,L)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-G_/2;return[B_(r)*e,W_(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Y_(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Y_(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Y_(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Y_(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Y_(+t),c):o},c.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:Y_(+t),c):u},c.context=function(t){return arguments.length?(a=null==t?null:t,c):a},c}function fy(t){this._context=t}function sy(t){return new fy(t)}function ly(t){return t[0]}function hy(t){return t[1]}function py(){var t=ly,n=hy,e=Y_(!0),r=null,i=sy,o=null;function u(u){var a,c,f,s=u.length,l=!1;for(null==r&&(o=i(f=hu())),a=0;a<=s;++a)!(a<s&&e(c=u[a],a,u))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+t(c,a,u),+n(c,a,u));if(f)return o=null,f+""||null}return u.x=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),u):t},u.y=function(t){return arguments.length?(n="function"==typeof t?t:Y_(+t),u):n},u.defined=function(t){return arguments.length?(e="function"==typeof t?t:Y_(!!t),u):e},u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u}function dy(){var t=ly,n=null,e=Y_(0),r=hy,i=Y_(!0),o=null,u=sy,a=null;function c(c){var f,s,l,h,p,d=c.length,v=!1,g=new Array(d),_=new Array(d);for(null==o&&(a=u(p=hu())),f=0;f<=d;++f){if(!(f<d&&i(h=c[f],f,c))===v)if(v=!v)s=f,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),l=f-1;l>=s;--l)a.point(g[l],_[l]);a.lineEnd(),a.areaEnd()}v&&(g[f]=+t(h,f,c),_[f]=+e(h,f,c),a.point(n?+n(h,f,c):g[f],r?+r(h,f,c):_[f]))}if(p)return a=null,p+""||null}function f(){return py().defined(i).curve(u).context(o)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:Y_(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Y_(+t),c):n},c.y=function(t){return arguments.length?(e="function"==typeof t?t:Y_(+t),r=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:Y_(+t),c):e},c.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Y_(+t),c):r},c.lineX0=c.lineY0=function(){return f().x(t).y(e)},c.lineY1=function(){return f().x(t).y(r)},c.lineX1=function(){return f().x(n).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:Y_(!!t),c):i},c.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),c):u},c.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),c):o},c}function vy(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function gy(t){return t}function _y(){var t=gy,n=vy,e=null,r=Y_(0),i=Y_(J_),o=Y_(0);function u(u){var a,c,f,s,l,h=u.length,p=0,d=new Array(h),v=new Array(h),g=+r.apply(this,arguments),_=Math.min(J_,Math.max(-J_,i.apply(this,arguments)-g)),y=Math.min(Math.abs(_)/h,o.apply(this,arguments)),m=y*(_<0?-1:1);for(a=0;a<h;++a)(l=v[d[a]=a]=+t(u[a],a,u))>0&&(p+=l);for(null!=n?d.sort((function(t,e){return n(v[t],v[e])})):null!=e&&d.sort((function(t,n){return e(u[t],u[n])})),a=0,f=p?(_-h*m)/p:0;a<h;++a,g=s)c=d[a],s=g+((l=v[c])>0?l*f:0)+m,v[c]={data:u[c],index:a,value:l,startAngle:g,endAngle:s,padAngle:y};return v}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:Y_(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Y_(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Y_(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Y_(+t),u):o},u}fy.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(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var yy=xy(sy);function my(t){this._curve=t}function xy(t){function n(n){return new my(t(n))}return n._curve=t,n}function by(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(xy(t)):n()._curve},t}function wy(){return by(py().curve(yy))}function My(){var t=dy().curve(yy),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return by(e())},delete t.lineX0,t.lineEndAngle=function(){return by(r())},delete t.lineX1,t.lineInnerRadius=function(){return by(i())},delete t.lineY0,t.lineOuterRadius=function(){return by(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(xy(t)):n()._curve},t}function Sy(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}my.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Ay=Array.prototype.slice;function Ty(t){return t.source}function ky(t){return t.target}function Ny(t){var n=Ty,e=ky,r=ly,i=hy,o=null;function u(){var u,a=Ay.call(arguments),c=n.apply(this,a),f=e.apply(this,a);if(o||(o=u=hu()),t(o,+r.apply(this,(a[0]=c,a)),+i.apply(this,a),+r.apply(this,(a[0]=f,a)),+i.apply(this,a)),u)return o=null,u+""||null}return u.source=function(t){return arguments.length?(n=t,u):n},u.target=function(t){return arguments.length?(e=t,u):e},u.x=function(t){return arguments.length?(r="function"==typeof t?t:Y_(+t),u):r},u.y=function(t){return arguments.length?(i="function"==typeof t?t:Y_(+t),u):i},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}function Cy(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function Ey(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function zy(t,n,e,r,i){var o=Sy(n,e),u=Sy(n,e=(e+i)/2),a=Sy(r,e),c=Sy(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],a[0],a[1],c[0],c[1])}function Py(){return Ny(Cy)}function Ry(){return Ny(Ey)}function Ly(){var t=Ny(zy);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var Oy={draw:function(t,n){var e=Math.sqrt(n/G_);t.moveTo(e,0),t.arc(0,0,e,0,J_)}},qy={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},Uy=Math.sqrt(1/3),Dy=2*Uy,Fy={draw:function(t,n){var e=Math.sqrt(n/Dy),r=e*Uy;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Iy=Math.sin(G_/10)/Math.sin(7*G_/10),Yy=Math.sin(J_/10)*Iy,jy=-Math.cos(J_/10)*Iy,Hy={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=Yy*e,i=jy*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var u=J_*o/5,a=Math.cos(u),c=Math.sin(u);t.lineTo(c*e,-a*e),t.lineTo(a*r-c*i,c*r+a*i)}t.closePath()}},By={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},Vy=Math.sqrt(3),Xy={draw:function(t,n){var e=-Math.sqrt(n/(3*Vy));t.moveTo(0,2*e),t.lineTo(-Vy*e,-e),t.lineTo(Vy*e,-e),t.closePath()}},Wy=-.5,$y=Math.sqrt(3)/2,Zy=1/Math.sqrt(12),Gy=3*(Zy/2+1),Qy={draw:function(t,n){var e=Math.sqrt(n/Gy),r=e/2,i=e*Zy,o=r,u=e*Zy+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(Wy*r-$y*i,$y*r+Wy*i),t.lineTo(Wy*o-$y*u,$y*o+Wy*u),t.lineTo(Wy*a-$y*c,$y*a+Wy*c),t.lineTo(Wy*r+$y*i,Wy*i-$y*r),t.lineTo(Wy*o+$y*u,Wy*u-$y*o),t.lineTo(Wy*a+$y*c,Wy*c-$y*a),t.closePath()}},Jy=[Oy,qy,Fy,By,Hy,Xy,Qy];function Ky(){var t=Y_(Oy),n=Y_(64),e=null;function r(){var r;if(e||(e=r=hu()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"==typeof n?n:Y_(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:Y_(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function tm(){}function nm(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function em(t){this._context=t}function rm(t){return new em(t)}function im(t){this._context=t}function om(t){return new im(t)}function um(t){this._context=t}function am(t){return new um(t)}function cm(t,n){this._basis=new em(t),this._beta=n}em.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:nm(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:nm(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},im.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:nm(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:nm(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},cm.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var fm=function t(n){function e(t){return 1===n?new em(t):new cm(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function sm(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function lm(t,n){this._context=t,this._k=(1-n)/6}lm.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:sm(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:sm(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var hm=function t(n){function e(t){return new lm(t,n)}return e.tension=function(n){return t(+n)},e}(0);function pm(t,n){this._context=t,this._k=(1-n)/6}pm.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:sm(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var dm=function t(n){function e(t){return new pm(t,n)}return e.tension=function(n){return t(+n)},e}(0);function vm(t,n){this._context=t,this._k=(1-n)/6}vm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:sm(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var gm=function t(n){function e(t){return new vm(t,n)}return e.tension=function(n){return t(+n)},e}(0);function _m(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>Z_){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Z_){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function ym(t,n){this._context=t,this._alpha=n}ym.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:_m(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var mm=function t(n){function e(t){return n?new ym(t,n):new lm(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function xm(t,n){this._context=t,this._alpha=n}xm.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:_m(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var bm=function t(n){function e(t){return n?new xm(t,n):new pm(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function wm(t,n){this._context=t,this._alpha=n}wm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:_m(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Mm=function t(n){function e(t){return n?new wm(t,n):new vm(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Sm(t){this._context=t}function Am(t){return new Sm(t)}function Tm(t){return t<0?-1:1}function km(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(Tm(o)+Tm(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a)
1)||0}function Nm(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Cm(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function Em(t){this._context=t}function zm(t){this._context=new Pm(t)}function Pm(t){this._context=t}function Rm(t){return new Em(t)}function Lm(t){return new zm(t)}function Om(t){this._context=t}function qm(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function Um(t){return new Om(t)}function Dm(t,n){this._context=t,this._t=n}function Fm(t){return new Dm(t,.5)}function Im(t){return new Dm(t,0)}function Ym(t){return new Dm(t,1)}function jm(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function Hm(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function Bm(t,n){return t[n]}function Vm(){var t=Y_([]),n=Hm,e=jm,r=Bm;function i(i){var o,u,a=t.apply(this,arguments),c=i.length,f=a.length,s=new Array(f);for(o=0;o<f;++o){for(var l,h=a[o],p=s[o]=new Array(c),d=0;d<c;++d)p[d]=l=[0,+r(i[d],h,d,i)],l.data=i[d];p.key=h}for(o=0,u=n(s);o<f;++o)s[u[o]].index=o;return e(s,u),s}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:Y_(Ay.call(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Y_(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?Hm:"function"==typeof t?t:Y_(Ay.call(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?jm:t,i):e},i}function Xm(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}jm(t,n)}}function Wm(t,n){if((a=t.length)>1)for(var e,r,i,o,u,a,c=0,f=t[n[0]].length;c<f;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):r[0]=o}function $m(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}jm(t,n)}}function Zm(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,f=0;a<i;++a){for(var s=t[n[a]],l=s[u][1]||0,h=(l-(s[u-1][1]||0))/2,p=0;p<a;++p){var d=t[n[p]];h+=(d[u][1]||0)-(d[u-1][1]||0)}c+=l,f+=h*l}e[u-1][1]+=e[u-1][0]=o,c&&(o-=f/c)}e[u-1][1]+=e[u-1][0]=o,jm(t,n)}}function Gm(t){var n=t.map(Qm);return Hm(t).sort((function(t,e){return n[t]-n[e]}))}function Qm(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function Jm(t){return Gm(t).reverse()}function Km(t){var n,e,r=t.length,i=t.map(Qm),o=Hm(t).sort((function(t,n){return i[n]-i[t]})),u=0,a=0,c=[],f=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],f.push(e));return f.reverse().concat(c)}function tx(t){return Hm(t).reverse()}function nx(t){return function(){return t}}function ex(t){return t[0]}function rx(t){return t[1]}function ix(){this._=null}function ox(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function ux(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function ax(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function cx(t){for(;t.L;)t=t.L;return t}Sm.prototype={areaStart:tm,areaEnd:tm,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Em.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:Cm(this,this._t0,Nm(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;
1if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Cm(this,Nm(this,e=km(this,t,n)),e);break;default:Cm(this,this._t0,e=km(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(zm.prototype=Object.create(Em.prototype)).point=function(t,n){Em.prototype.point.call(this,n,t)},Pm.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Om.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=qm(t),i=qm(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},Dm.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(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},ix.prototype={constructor:ix,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=cx(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(ux(this,e),e=(t=e).U),e.C=!1,r.C=!0,ax(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(ax(this,e),e=(t=e).U),e.C=!1,r.C=!0,ux(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?cx(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,ux(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,ax(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,ux(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,ax(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,ux(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,ax(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var fx=ix;function sx(t,n,e,r){var i=[null,null],o=Lx.push(i)-1;return i.left=t,i.right=n,e&&hx(i,t,n,e),r&&hx(i,n,t,r),Px[t.index].halfedges.push(o),Px[n.index].halfedges.push(o),i}function lx(t,n,e){var r=[n,e];return r.left=t,r}function hx(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function px(t,n,e,r,i){var o,u=t[0],a=t[1],c=u[0],f=u[1],s=0,l=1,h=a[0]-c,p=a[1]-f;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o<s)return;o<l&&(l=o)}else if(h>0){if(o>l)return;o>s&&(s=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>l)return;o>s&&(s=o)}else if(h>0){if(o<s)return;o<l&&(l=o)}if(o=e-f,p||!(o>0)){if(o/=p,p<0){if(o<s)return;o<l&&(l=o)}else if(p>0){if(o>l)return;o>s&&(s=o)}if(o=i-f,p||!(o<0)){if(o/=p,p<0){if(o>l)return;o>s&&(s=o)}else if(p>0){if(o<s)return;o<l&&(l=o)}return!(s>0||l<1)||(s>0&&(t[0]=[c+s*h,f+s*p]),l<1&&(t[1]=[c+l*h,f+l*p]),!0)}}}}}function dx(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],p=s[0],d=s[1],v=(l+p)/2,g=(h+d)/2;if(d===h){if(v<n||v>=r)return;if(l>p){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]<e)return}else c=[v,i];o=[v,e]}}else if(a=g-(u=(l-p)/(d-h))*v,u<-1||u>1)if(l>p){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]<e)return}else c=[(i-a)/u,i];o=[(e-a)/u,e]}else if(h<d){if(c){if(c[0]>=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]<n)return}else c=[r,u*r+a];o=[n,u*n+a]}return t[0]=c,t[1]=o,!0}function vx(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function gx(t,n){return n[+(n.left!==t.site)]}function _x(t,n){return n[+(n.left===t.site)]}var yx,mx=[];function xx(){ox(this),this.x=this.y=this.arc=this.site=this.cy=null}function bx(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var u=i[0],a=i[1],c=r[0]-u,f=r[1]-a,s=o[0]-u,l=o[1]-a,h=2*(c*l-f*s);if(!(h>=-qx)){var p=c*c+f*f,d=s*s+l*l,v=(l*p-f*d)/h,g=(c*d-s*p)/h,_=mx.pop()||new xx;_.arc=t,_.site=i,_.x=v+u,_.y=(_.cy=g+a)+Math.sqrt(v*v+g*g),t.circle=_;for(var y=null,m=Rx._;m;)if(_.y<m.y||_.y===m.y&&_.x<=m.x){if(!m.L){y=m.P;break}m=m.L}else{if(!m.R){y=m;break}m=m.R}Rx.insert(y,_),y||(yx=_)}}}}function wx(t){var n=t.circle;n&&(n.P||(yx=n.N),Rx.remove(n),mx.push(n),ox(n),t.circle=null)}var Mx=[];function Sx(){ox(this),this.edge=this.site=this.circle=null}function Ax(t){var n=Mx.pop()||new Sx;return n.site=t,n}function Tx(t){wx(t),zx.remove(t),Mx.push(t),ox(t)}function kx(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,u=t.N,a=[t];Tx(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<Ox&&Math.abs(r-c.circle.cy)<Ox;)o=c.P,a.unshift(c),Tx(c),c=o;a.unshift(c),wx(c);for(var f=u;
vendor: 4,118 bytes, line 1
1f.circle&&Math.abs(e-f.circle.x)<Ox&&Math.abs(r-f.circle.cy)<Ox;)u=f.N,a.push(f),Tx(f),f=u;a.push(f),wx(f);var s,l=a.length;for(s=1;s<l;++s)f=a[s],c=a[s-1],hx(f.edge,c.site,f.site,i);c=a[0],(f=a[l-1]).edge=sx(c.site,f.site,null,i),bx(c),bx(f)}function Nx(t){for(var n,e,r,i,o=t[0],u=t[1],a=zx._;a;)if((r=Cx(a,u)-o)>Ox)a=a.L;else{if(!((i=o-Ex(a,u))>Ox)){r>-Ox?(n=a.P,e=a):i>-Ox?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){Px[t.index]={site:t,halfedges:[]}}(t);var c=Ax(t);if(zx.insert(n,c),n||e){if(n===e)return wx(n),e=Ax(n.site),zx.insert(c,e),c.edge=e.edge=sx(n.site,c.site),bx(n),void bx(e);if(e){wx(n),wx(e);var f=n.site,s=f[0],l=f[1],h=t[0]-s,p=t[1]-l,d=e.site,v=d[0]-s,g=d[1]-l,_=2*(h*g-p*v),y=h*h+p*p,m=v*v+g*g,x=[(g*y-p*m)/_+s,(h*m-v*y)/_+l];hx(e.edge,f,d,x),c.edge=sx(f,t,null,x),e.edge=sx(t,d,null,x),bx(n),bx(e)}else c.edge=sx(n.site,c.site)}}function Cx(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],c=e[1],f=c-n;if(!f)return a;var s=a-r,l=1/o-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-o/2)))/l+r:(r+a)/2}function Ex(t,n){var e=t.N;if(e)return Cx(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var zx,Px,Rx,Lx,Ox=1e-6,qx=1e-12;function Ux(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function Dx(t,n){return n[1]-t[1]||n[0]-t[0]}function Fx(t,n){var e,r,i,o=t.sort(Dx).pop();for(Lx=[],Px=new Array(t.length),zx=new fx,Rx=new fx;;)if(i=yx,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(Nx(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;kx(i.arc)}if(function(){for(var t,n,e,r,i=0,o=Px.length;i<o;++i)if((t=Px[i])&&(r=(n=t.halfedges).length)){var u=new Array(r),a=new Array(r);for(e=0;e<r;++e)u[e]=e,a[e]=vx(t,Lx[n[e]]);for(u.sort((function(t,n){return a[n]-a[t]})),e=0;e<r;++e)a[e]=n[u[e]];for(e=0;e<r;++e)n[e]=a[e]}}(),n){var u=+n[0][0],a=+n[0][1],c=+n[1][0],f=+n[1][1];!function(t,n,e,r){for(var i,o=Lx.length;o--;)dx(i=Lx[o],t,n,e,r)&&px(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>Ox||Math.abs(i[0][1]-i[1][1])>Ox)||delete Lx[o]}(u,a,c,f),function(t,n,e,r){var i,o,u,a,c,f,s,l,h,p,d,v,g=Px.length,_=!0;for(i=0;i<g;++i)if(o=Px[i]){for(u=o.site,a=(c=o.halfedges).length;a--;)Lx[c[a]]||c.splice(a,1);for(a=0,f=c.length;a<f;)d=(p=_x(o,Lx[c[a]]))[0],v=p[1],l=(s=gx(o,Lx[c[++a%f]]))[0],h=s[1],(Math.abs(d-l)>Ox||Math.abs(v-h)>Ox)&&(c.splice(a,0,Lx.push(lx(u,p,Math.abs(d-t)<Ox&&r-v>Ox?[t,Math.abs(l-t)<Ox?h:r]:Math.abs(v-r)<Ox&&e-d>Ox?[Math.abs(h-r)<Ox?l:e,r]:Math.abs(d-e)<Ox&&v-n>Ox?[e,Math.abs(l-e)<Ox?h:n]:Math.abs(v-n)<Ox&&d-t>Ox?[Math.abs(h-n)<Ox?l:t,n]:null))-1),++f);f&&(_=!1)}if(_){var y,m,x,b=1/0;for(i=0,_=null;i<g;++i)(o=Px[i])&&(x=(y=(u=o.site)[0]-t)*y+(m=u[1]-n)*m)<b&&(b=x,_=o);if(_){var w=[t,n],M=[t,r],S=[e,r],A=[e,n];_.halfedges.push(Lx.push(lx(u=_.site,w,M))-1,Lx.push(lx(u,M,S))-1,Lx.push(lx(u,S,A))-1,Lx.push(lx(u,A,w))-1)}}for(i=0;i<g;++i)(o=Px[i])&&(o.halfedges.length||delete Px[i])}(u,a,c,f)}this.edges=Lx,this.cells=Px,zx=Rx=Lx=Px=null}function Ix(){var t=ex,n=rx,e=null;function r(r){return new Fx(r.map((function(e,i){var o=[Math.round(t(e,i,r)/Ox)*Ox,Math.round(n(e,i,r)/Ox)*Ox];return o.index=i,o.data=e,o})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:nx(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:nx(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}function Yx(t){return function(){return t}}function jx(t,n,e){this.target=t,this.type=n,this.transform=e}function Hx(t,n,e){this.k=t,this.x=n,this.y=e}Fx.prototype={constructor:Fx,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return gx(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;
1return this.cells.forEach((function(e,r){if(o=(i=e.halfedges).length)for(var i,o,u,a=e.site,c=-1,f=n[i[o-1]],s=f.left===a?f.right:f.left;++c<o;)u=s,s=(f=n[i[c]]).left===a?f.right:f.left,u&&s&&r<u.index&&r<s.index&&Ux(a,u,s)<0&&t.push([a.data,u.data,s.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,i,o=this,u=o._found||0,a=o.cells.length;!(i=o.cells[u]);)if(++u>=a)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=o.cells[r=u],u=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],f=n-a[1],l=c*c+f*f;l<s&&(s=l,u=a.index)}}))}while(null!==u);return o._found=r,null==e||s<=e*e?i.site:null}},Hx.prototype={constructor:Hx,scale:function(t){return 1===t?this:new Hx(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Hx(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Bx=new Hx(1,0,0);function Vx(t){return t.__zoom||Bx}function Xx(){dn.stopImmediatePropagation()}function Wx(){dn.preventDefault(),dn.stopImmediatePropagation()}function $x(){return!dn.button}function Zx(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function Gx(){return this.__zoom||Bx}function Qx(){return-dn.deltaY*(dn.deltaMode?120:1)/500}function Jx(){return"ontouchstart"in this}function Kx(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function tb(){var t,n,e=$x,r=Zx,i=Kx,o=Qx,u=Jx,a=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,s=Er,l=[],h=ht("start","zoom","end"),p=500,d=0;function v(t){t.property("__zoom",Gx).on("wheel.zoom",w).on("mousedown.zoom",M).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",A).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",k).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new Hx(n,t.x,t.y)}function _(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new Hx(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,n,e){t.on("start.zoom",(function(){x(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){x(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=x(t,i),u=r.apply(t,i),a=e||y(u),c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,i):n,h=s(f.invert(a).concat(c/f.k),l.invert(a).concat(c/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=c/n[2];t=new Hx(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}}))}function x(t,n){for(var e,r=0,i=l.length;r<i;++r)if((e=l[r]).that===t)return e;return new b(t,n)}function b(t,n){this.that=t,this.args=n,this.index=-1,this.active=0,this.extent=r.apply(t,n)}function w(){if(e.apply(this,arguments)){var t=x(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),u=On(this);if(t.wheel)t.mouse[0][0]===u[0]&&t.mouse[0][1]===u[1]||(t.mouse[1]=n.invert(t.mouse[0]=u)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[u,n.invert(u)],di(this),t.start()}Wx(),t.wheel=setTimeout(f,150),t.zoom("mouse",i(_(g(n,r),t.mouse[0],t.mouse[1]),t.extent,c))}function f(){t.wheel=null,t.end()}}
1function M(){if(!n&&e.apply(this,arguments)){var t=x(this,arguments),r=Nn(dn.view).on("mousemove.zoom",f,!0).on("mouseup.zoom",s,!0),o=On(this),u=dn.clientX,a=dn.clientY;Yn(dn.view),Xx(),t.mouse=[o,this.__zoom.invert(o)],di(this),t.start()}function f(){if(Wx(),!t.moved){var n=dn.clientX-u,e=dn.clientY-a;t.moved=n*n+e*e>d}t.zoom("mouse",i(_(t.that.__zoom,t.mouse[0]=On(t.that),t.mouse[1]),t.extent,c))}function s(){r.on("mousemove.zoom mouseup.zoom",null),jn(dn.view,t.moved),Wx(),t.end()}}function S(){if(e.apply(this,arguments)){var t=this.__zoom,n=On(this),o=t.invert(n),u=t.k*(dn.shiftKey?.5:2),a=i(_(g(t,u),n,o),r.apply(this,arguments),c);Wx(),f>0?Nn(this).transition().duration(f).call(m,a,n):Nn(this).call(v.transform,a)}}function A(){if(e.apply(this,arguments)){var n,r,i,o,u=x(this,arguments),a=dn.changedTouches,c=a.length;for(Xx(),r=0;r<c;++r)o=[o=Un(this,a,(i=a[r]).identifier),this.__zoom.invert(o),i.identifier],u.touch0?u.touch1||(u.touch1=o):(u.touch0=o,n=!0);if(t&&(t=clearTimeout(t),!u.touch1))return u.end(),void((o=Nn(this).on("dblclick.zoom"))&&o.apply(this,arguments));n&&(t=setTimeout((function(){t=null}),p),di(this),u.start())}}function T(){var n,e,r,o,u=x(this,arguments),a=dn.changedTouches,f=a.length;for(Wx(),t&&(t=clearTimeout(t)),n=0;n<f;++n)r=Un(this,a,(e=a[n]).identifier),u.touch0&&u.touch0[2]===e.identifier?u.touch0[0]=r:u.touch1&&u.touch1[2]===e.identifier&&(u.touch1[0]=r);if(e=u.that.__zoom,u.touch1){var s=u.touch0[0],l=u.touch0[1],h=u.touch1[0],p=u.touch1[1],d=(d=h[0]-s[0])*d+(d=h[1]-s[1])*d,v=(v=p[0]-l[0])*v+(v=p[1]-l[1])*v;e=g(e,Math.sqrt(d/v)),r=[(s[0]+h[0])/2,(s[1]+h[1])/2],o=[(l[0]+p[0])/2,(l[1]+p[1])/2]}else{if(!u.touch0)return;r=u.touch0[0],o=u.touch0[1]}u.zoom("touch",i(_(e,r,o),u.extent,c))}function k(){var t,e,r=x(this,arguments),i=dn.changedTouches,o=i.length;for(Xx(),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),t=0;t<o;++t)e=i[t],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}return v.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",Gx),t!==e?m(t,n):e.interrupt().each((function(){x(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},v.scaleBy=function(t,n){v.scaleTo(t,(function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e}))},v.scaleTo=function(t,n){v.transform(t,(function(){var t=r.apply(this,arguments),e=this.__zoom,o=y(t),u=e.invert(o),a="function"==typeof n?n.apply(this,arguments):n;return i(_(g(e,a),o,u),t,c)}))},v.translateBy=function(t,n,e){v.transform(t,(function(){return i(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),r.apply(this,arguments),c)}))},v.translateTo=function(t,n,e){v.transform(t,(function(){var t=r.apply(this,arguments),o=this.__zoom,u=y(t);return i(Bx.translate(u[0],u[1]).scale(o.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,c)}))},b.prototype={start:function(){return 1==++this.active&&(this.index=l.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(l.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){xn(new jx(v,t,this.that.__zoom),h.apply,h,[t,this.that,this.args])}},v.wheelDelta=function(t){return arguments.length?(o="function"==typeof t?t:Yx(+t),v):o},v.filter=function(t){return arguments.length?(e="function"==typeof t?t:Yx(!!t),v):e},v.touchable=function(t){return arguments.length?(u="function"==typeof t?t:Yx(!!t),v):u},v.extent=function(t){return arguments.length?(r="function"==typeof t?t:Yx([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):r},v.scaleExtent=function(t){return arguments.length?(a[0]=+t[0],a[1]=+t[1],v):[a[0],a[1]]},v.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(t){return arguments.length?(i=t,v):i},v.duration=function(t){return arguments.length?(f=+t,v):f},v.interpolate=function(t){return arguments.length?(s=t,v):s},v.on=function(){var t=h.on.apply(h,arguments);return t===h?v:t},v.clickDistance=function(t){return arguments.length?(d=(t=+t)*t,v):Math.sqrt(d)},v}Vx.prototype=Hx.prototype},3144:function(t,n,e){!function(){"use strict";var n=e(3017),r=e(4820);function i(t,e,i){r.call(this,t,e,i,{minValue:"auto",maxValue:"auto",zeroLineStyle:"stroke:#333;stroke-width:1;"});var o=n.scaleLinear().domain([this._options.minValue,this._options.maxValue]).range([this._options.height,0]);this._zeroLine=this._container.append("line").attr("x1",0).attr("y1",o(0)).attr("x2",this._options.width).attr("y2",o(0)).attr("style",this._options.zeroLineStyle),this._draw()}t.exports=i,i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype._processOptions=function(t){if("auto"===(t=r.prototype._processOptions.call(this,t,this._options)).minValue){var e=n.min(this._data),i="auto"===t.maxValue?n.max(this._data):t.maxValue;t.minValue=i>0&&e>0?0:e}return"auto"===t.maxValue&&(i="auto"===t.minValue?n.min(this._data):t.minValue,i=n.max(this._data),t.maxValue=i<0&&e<0?0:i),t},i.prototype._draw=function(){var t=this;r.prototype._draw.call(this);var e=(t._options.width-6)/t._data.length,i=n.scaleLinear().domain([t._options.minValue,t._options.maxValue]).range([t._options.height,0]);t._zeroLine.transition().duration(t._options.transitionTime).attr("x1",0).attr("y1",i(0)).attr("x2",t._options.width).attr("y2",i(0)).attr("style",t._options.zeroLineStyle);var o=t._chart.selectAll("path").data(t._data);function u(t,n,e,r){return"M"+t+" "+n+"l"+e+" 0l0 "+r+"l"+-e+" 0Z"}o.enter().append("path").attr("d",(function(t,n){return u((n+1)*e+3,i(0),0,0)})).merge(o).attr("class",t._options.shapeClass).transition().duration(t._options.transitionTime).attr("d",(function(t,n){return u(n*e+3,i(0),e,i(t)-i(0))})).attr("fill",t._options.colorFun),o.exit().transition().duration(t._options.transitionTime).attr("x",(function(t,n){return n*e+3})).attr("y",0).attr("width",0).attr("height",0).remove(),this._drawLabels((function(n,r,o){n.fillRect(o*e+3,i(0),e,0,t._options.labelPadding,"center",r>=0?"top":"bottom",0)}),(function(n,r,o){n.fillRect(o*e+3,i(r>=0?r:0),e,Math.abs(i(r)-i(0)),t._options.labelPadding,"center",r>=0?"top":"bottom",t._options.transitionTime)}))}}()},4820:function(t,n,e){!function(){"use strict";var n=e(3017),r=e(7621),i=e(8737),o=e(8595);function u(t,e,r,o){this._data=e,this._options={width:60,height:60,transitionTime:750,colors:n.schemeCategory10,labels:"none",labelColors:"auto",labelMinSize:8,labelMaxSize:24,labelPadding:2,labelClass:"",shapeClass:""},this._options=i.mergeOptions(this._options,o||{}),this._options=this._processOptions(r),n.select(t).select("*").remove(),this._container=n.select(t).append("svg").attr("width",this._options.width).attr("height",this._options.height),this._chart=this._container.append("g")}t.exports=u,u.prototype.update=function(t,n){this._data=t,this._options=this._processOptions(n),this._draw()},u.prototype.setOptions=function(t){this._options=this._processOptions(t),this._draw()},u.prototype.setData=function(t){this._data=t,this._draw()},u.prototype._draw=function(){var t=this;t._container.transition().duration(t._options.transitionTime).attr("width",t._options.width).attr("height",t._options.height)},u.prototype._processOptions=function(t){return(t=i.mergeOptions(t,this._options)).colorFun=i.toFunction(t.colors),t.labelClass=i.toFunction(t.labelClass),t.shapeClass=i.toFunction(t.shapeClass),"none"===t.labels?t.labelText=null:"auto"===t.labels?t.labelText=i.prettyNumber:t.labelText=i.toFunction(t.labels),"auto"===t.labelColors?t.labelColorFun=function(n,e){return r.mostReadable(t.colorFun(n,e),["white","black"])._originalInput}:t.labelColorFun=i.toFunction(t.labelColorFun),t},u.prototype._drawLabels=function(t,n){var e=this;"none"!==e._options.labels?(e._labels=e._chart.selectAll(".labels-container").data(e._data),e._labels.enter().append("g").attr("class","labels-container").each((function(n,r){this._label=new o(this,e._options.labelStyle,e._options.labelColorFun(n,r),e._options.labelMinSize,e._options.labelMaxSize),this._label.updateText(e._options.labelText(n,r)),t(this._label,n,r)})).merge(e._labels).each((function(t,r){this._label.updateText(e._options.labelText(t,r)),this._label._text.attr("fill",e._options.labelColorFun(t,r)).attr("class",e._options.labelClass(t,r)),n(this._label,t,r)})),e._labels.exit().remove()):e._chart.selectAll(".labels-container").remove()}}()},2112:function(t){!function(){"use strict";function n(t,n){this.x=t,this.y=n}function e(t,n){this.a=t,this.b=n}function r(t,e){return t.b==e.b?[]:[new n((e.a-t.a)/(t.b-e.b),(t.b*e.a-t.a*e.b)/(t.b-e.b))]}function i(t,n,e){var r=u(o(e,n),o(t,n)),i=u(o(e,n),o(e,n));return r>=0&&r<=i}function o(t,e){return new n(t.x-e.x,t.y-e.y)}function u(t,n){return t.x*n.x+t.y*n.y}
1t.exports.Point=n,t.exports.Line=e,t.exports.intersectionOfTwoLines=r,t.exports.intersectionLineAndCircle=function(t,e){return(r=t.b*t.b+1,i=2*t.a*t.b,o=t.a*t.a-e*e,u=i*i-4*r*o,u<0?[]:0==u?[-i/(2*r)]:[(-i-Math.sqrt(u))/(2*r),(-i+Math.sqrt(u))/(2*r)]).map((function(e){return new n(e,t.getY(e))}));var r,i,o,u},t.exports.pointInSegment=i,t.exports.intersectionLineRadius=function(t,o,u){var a=r(t,new e(0,Math.tan(o))),c=new n(0,0),f=new n(u*Math.cos(o),u*Math.sin(o));return 0!=a.length&&i(a[0],c,f)?a:[]},t.exports.distance=function(t,n){return Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2))},e.prototype.getY=function(t){return this.a+this.b*t}}()},8595:function(t,n,e){!function(){"use strict";var n=e(3017),r=e(2112);function i(t,e,r,i,o){this._el=t,this._minSize=i,this._maxSize=o,this._container=n.select(t),this._label=this._container.append("g").attr("class","label"),this._text=this._label.append("text").attr("dy","0.35em").attr("text-anchor","middle").attr("style",e||"").attr("fill",r||"black")}t.exports=i,i.prototype.innerSize=function(){return this._text.node().getBBox()},i.prototype.size=function(){var t=this.innerSize();return{width:t.width*this._scale,height:t.height*this._scale}},i.prototype.updateText=function(t){var n=this.size();this._text.text(t);var e=this.size(),r=Math.min(n.width/e.width,n.height/e.height);return this.updateScale(this._scale*r,0),this},i.prototype.updatePosition=function(t,n,e){return this._container.transition().duration(e||0).attr("transform","translate("+t+","+n+")"),this},i.prototype.updateScale=function(t,n){t&&!isNaN(t)&&isFinite(t)||(t=0);var e=this.innerSize().height*t;return this._minSize&&e<this._minSize&&(t=0),this._maxSize&&e>this._maxSize&&(t=this._maxSize/this.innerSize().height),this._label.transition().duration(n||0).attr("transform","scale("+t+")"),this._scale=t,this},i.prototype.fillRect=function(t,n,e,r,i,o,u,a){var c=this.innerSize();this.updateScale(Math.min((e-2*i)/c.width,Math.abs(r)/c.height),a);var f,s,l=this.size();switch(u){case"top":s=n+l.height/2;break;case"center":s=n+r/2;break;case"bottom":s=n+r-l.height/2}switch(o){case"left":f=t+i+l.width/2;break;case"center":f=t+e/2;break;case"right":f=t+e-i-l.width/2}return this.updatePosition(f,s,a),this},i.prototype.fillCircle=function(t,n){this.updatePosition(0,0,n);var e=this.innerSize(),r=e.height/e.width,i=2*t*Math.cos(Math.PI/2-Math.atan(r));this.updateScale(i/e.height,n)},i.prototype.fillSlice=function(t,e,i,o){var u=t.centroid(i);this.updatePosition(u[0],u[1],o);var a=this.innerSize(),c=a.height/a.width,f=new r.Line(u[1]-c*u[0],c),s=new r.Line(u[1]+c*u[0],-c),l=(new r.Line(0,Math.tan(i.startAngle+Math.PI/2)),new r.Line(0,Math.tan(i.endAngle+Math.PI/2)),[]);l=(l=(l=(l=(l=(l=l.concat(r.intersectionLineRadius(f,i.startAngle-Math.PI/2,e))).concat(r.intersectionLineRadius(f,i.endAngle-Math.PI/2,e))).concat(r.intersectionLineAndCircle(f,e))).concat(r.intersectionLineRadius(s,i.startAngle-Math.PI/2,e))).concat(r.intersectionLineRadius(s,i.endAngle-Math.PI/2,e))).concat(r.intersectionLineAndCircle(s,e));var h=new r.Point(u[0],u[1]),p=l.map((function(t){return r.distance(h,t)})),d=n.min(p),v=Math.sqrt(Math.pow(a.height/2,2)+Math.pow(a.width/2,2));this.updateScale(d/v,o)}}()},2269:function(t,n,e){!function(){"use strict";t.exports.Barchart=e(3144),t.exports.Polarchart=e(2819),t.exports.Piechart=e(7217),window&&(window.minicharts=t.exports)}()},7217:function(t,n,e){!function(){"use strict";var n=e(2819);function r(t,e,r){n.call(this,t,e,r)}t.exports=r,r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype._processOptions=function(t){return(t=t||{}).type="angle",n.prototype._processOptions.call(this,t)}}()},2819:function(t,n,e){!function(){"use strict";var n=e(3017),r=e(4820);function i(t,n,e){r.call(this,t,n,e,{type:"area",maxValue:"auto"}),this._chart.attr("transform","translate("+this._options.width/2+","+this._options.width/2+")"),this._draw()}t.exports=i,i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype._processOptions=function(t){(t=r.prototype._processOptions.call(this,t,this._options)).height=t.width,"auto"===t.maxValue&&(t.maxValue=n.max(this._data));var e,i=t.width/2,o=n.pie().sort(null),u=n.arc().innerRadius(0);return"angle"===t.type?(e=function(t){return i},o.value((function(t){return t}))):((e="radius"==t.type?n.scaleLinear():n.scalePow().exponent(.5)).range([0,i]).domain([0,t.maxValue]),o.value((function(t){return 1}))),u.outerRadius((function(t,n){return e(t.data)}
1)),t.radius=e,t.pie=o,t.arc=u,t},i.prototype._draw=function(){var t=this;r.prototype._draw.call(this),this._chart.transition().duration(t._options.transitionTime).attr("transform","translate("+t._options.width/2+","+t._options.width/2+")");var e,i,o=this._chart.selectAll("path").data(this._options.pie(this._data));if(o.enter().append("path").attr("class","leaflet-clickable").attr("d",this._options.arc).attr("fill",(function(n,e){return t._options.colorFun(n,e)})).each((function(n,e){1==t._data.length?this._current={startAngle:n.startAngle,endAngle:n.endAngle,data:0}:this._current={startAngle:n.endAngle,endAngle:n.endAngle}})).merge(o).attr("class",(function(n,e){return t._options.shapeClass(n.data,e)})).transition().duration(t._options.transitionTime).attrTween("d",(function(e){var r=n.interpolate(this._current,e);return this._current=r(0),function(n){return t._options.arc(r(n))}})).attr("fill",(function(n,e){return t._options.colorFun(n,e)})),o.exit().remove(),this._data.length>1){var u=this._options.pie(this._data);e=function(n,e,r){n.fillSlice(t._options.arc,t._options.radius(e),u[r],0)},i=function(n,e,r){n.fillSlice(t._options.arc,t._options.radius(e),u[r],t._options.transitionTime)}}else e=function(n,e,r){n.fillCircle(t._options.radius(e),0)},i=function(n,e,r){n.fillCircle(t._options.radius(e),t._options.transitionTime)};this._drawLabels(e,i)}}()},8737:function(t){!function(){"use strict";function n(t){return t.constructor!==Array&&(t=[t]),t}function e(t,n,e){return n=n||1,e?Math.round(t*n)/n:Math.round(t/n)*n}t.exports.mergeOptions=function(t,n){for(var e in t=t?JSON.parse(JSON.stringify(t)):{},n=n||{})n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e]);return t},t.exports.toArray=n,t.exports.toFunction=function(t){return"function"==typeof t?t:(t=n(t),function(n,e){return t[e%t.length]})},t.exports.prettyNumber=function(t){if(isNaN(t)||!isFinite(t))return"";var n,r=Math.abs(t);return r<1e3?n="":r<1e6?(n="K",r/=1e3):r<1e9?(n="M",r/=1e6):r<1e12?(n="B",r/=1e9):r<1e15&&(n="T",r/=1e12),(t<0?"-":"")+(r=r>10?e(r):e(r,r>1?10:100,!0))+n}}()},7621:function(t,n,e){var r;!function(i){var o=/^\s+/,u=/\s+$/,a=0,c=i.round,f=i.min,s=i.max,l=i.random;function h(t,n){if(n=n||{},(t=t||"")instanceof h)return t;if(!(this instanceof h))return new h(t,n);var e=function(t){var n,e,r,a={r:0,g:0,b:0},c=1,l=null,h=null,p=null,d=!1,v=!1;return"string"==typeof t&&(t=function(t){t=t.replace(o,"").replace(u,"").toLowerCase();var n,e=!1;if(E[t])t=E[t],e=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(n=H.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=H.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=H.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=H.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=H.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=H.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=H.hex8.exec(t))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),a:F(n[4]),format:e?"name":"hex8"}:(n=H.hex6.exec(t))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),format:e?"name":"hex"}:(n=H.hex4.exec(t))?{r:O(n[1]+""+n[1]),g:O(n[2]+""+n[2]),b:O(n[3]+""+n[3]),a:F(n[4]+""+n[4]),format:e?"name":"hex8"}:!!(n=H.hex3.exec(t))&&{r:O(n[1]+""+n[1]),g:O(n[2]+""+n[2]),b:O(n[3]+""+n[3]),format:e?"name":"hex"}}(t)),"object"==typeof t&&(B(t.r)&&B(t.g)&&B(t.b)?(n=t.r,e=t.g,r=t.b,a={r:255*R(n,255),g:255*R(e,255),b:255*R(r,255)},d=!0,v="%"===String(t.r).substr(-1)?"prgb":"rgb"):B(t.h)&&B(t.s)&&B(t.v)?(l=U(t.s),h=U(t.v),a=function(t,n,e){t=6*R(t,360),n=R(n,100),e=R(e,100);var r=i.floor(t),o=t-r,u=e*(1-n),a=e*(1-o*n),c=e*(1-(1-o)*n),f=r%6;return{r:255*[e,a,u,u,c,e][f],g:255*[c,e,e,a,u,u][f],b:255*[u,u,c,e,e,a][f]}}(t.h,l,h),d=!0,v="hsv"):B(t.h)&&B(t.s)&&B(t.l)&&(l=U(t.s),p=U(t.l),a=function(t,n,e){var r,i,o;function u(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(n-t)*e:e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}if(t=R(t,360),n=R(n,100),e=R(e,100),0===n)r=i=o=e;else{var a=e<.5?e*(1+n):e+n-e*n,c=2*e-a;r=u(c,a,t+1/3),i=u(c,a,t),o=u(c,a,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(t.h,l,p),d=!0,v="hsl"),t.hasOwnProperty("a")&&(c=t.a)),c=P(c),{ok:d,format:t.format||v,r:f(255,s(a.r,0)),g:f(255,s(a.g,0)),b:f(255,s(a.b,0)),a:c}}(t);this._originalInput=t,this._r=e.r,this._g=e.g,this._b=e.b,this._a=e.a,this._roundA=c(100*this._a)/100,this._format=n.format||e.format,this._gradientType=n.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=e.ok,this._tc_id=a++}
vendor: 7,729 bytes, line 1
1function p(t,n,e){t=R(t,255),n=R(n,255),e=R(e,255);var r,i,o=s(t,n,e),u=f(t,n,e),a=(o+u)/2;if(o==u)r=i=0;else{var c=o-u;switch(i=a>.5?c/(2-o-u):c/(o+u),o){case t:r=(n-e)/c+(n<e?6:0);break;case n:r=(e-t)/c+2;break;case e:r=(t-n)/c+4}r/=6}return{h:r,s:i,l:a}}function d(t,n,e){t=R(t,255),n=R(n,255),e=R(e,255);var r,i,o=s(t,n,e),u=f(t,n,e),a=o,c=o-u;if(i=0===o?0:c/o,o==u)r=0;else{switch(o){case t:r=(n-e)/c+(n<e?6:0);break;case n:r=(e-t)/c+2;break;case e:r=(t-n)/c+4}r/=6}return{h:r,s:i,v:a}}function v(t,n,e,r){var i=[q(c(t).toString(16)),q(c(n).toString(16)),q(c(e).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function g(t,n,e,r){return[q(D(r)),q(c(t).toString(16)),q(c(n).toString(16)),q(c(e).toString(16))].join("")}function _(t,n){n=0===n?0:n||10;var e=h(t).toHsl();return e.s-=n/100,e.s=L(e.s),h(e)}function y(t,n){n=0===n?0:n||10;var e=h(t).toHsl();return e.s+=n/100,e.s=L(e.s),h(e)}function m(t){return h(t).desaturate(100)}function x(t,n){n=0===n?0:n||10;var e=h(t).toHsl();return e.l+=n/100,e.l=L(e.l),h(e)}function b(t,n){n=0===n?0:n||10;var e=h(t).toRgb();return e.r=s(0,f(255,e.r-c(-n/100*255))),e.g=s(0,f(255,e.g-c(-n/100*255))),e.b=s(0,f(255,e.b-c(-n/100*255))),h(e)}function w(t,n){n=0===n?0:n||10;var e=h(t).toHsl();return e.l-=n/100,e.l=L(e.l),h(e)}function M(t,n){var e=h(t).toHsl(),r=(e.h+n)%360;return e.h=r<0?360+r:r,h(e)}function S(t){var n=h(t).toHsl();return n.h=(n.h+180)%360,h(n)}function A(t){var n=h(t).toHsl(),e=n.h;return[h(t),h({h:(e+120)%360,s:n.s,l:n.l}),h({h:(e+240)%360,s:n.s,l:n.l})]}function T(t){var n=h(t).toHsl(),e=n.h;return[h(t),h({h:(e+90)%360,s:n.s,l:n.l}),h({h:(e+180)%360,s:n.s,l:n.l}),h({h:(e+270)%360,s:n.s,l:n.l})]}function k(t){var n=h(t).toHsl(),e=n.h;return[h(t),h({h:(e+72)%360,s:n.s,l:n.l}),h({h:(e+216)%360,s:n.s,l:n.l})]}function N(t,n,e){n=n||6,e=e||30;var r=h(t).toHsl(),i=360/e,o=[h(t)];for(r.h=(r.h-(i*n>>1)+720)%360;--n;)r.h=(r.h+i)%360,o.push(h(r));return o}function C(t,n){n=n||6;for(var e=h(t).toHsv(),r=e.h,i=e.s,o=e.v,u=[],a=1/n;n--;)u.push(h({h:r,s:i,v:o})),o=(o+a)%1;return u}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,n,e,r=this.toRgb();return t=r.r/255,n=r.g/255,e=r.b/255,.2126*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4))+.0722*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))},setAlpha:function(t){return this._a=P(t),this._roundA=c(100*this._a)/100,this},toHsv:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=d(this._r,this._g,this._b),n=c(360*t.h),e=c(100*t.s),r=c(100*t.v);return 1==this._a?"hsv("+n+", "+e+"%, "+r+"%)":"hsva("+n+", "+e+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=p(this._r,this._g,this._b),n=c(360*t.h),e=c(100*t.s),r=c(100*t.l);return 1==this._a?"hsl("+n+", "+e+"%, "+r+"%)":"hsla("+n+", "+e+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return v(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,n,e,r,i){var o=[q(c(t).toString(16)),q(c(n).toString(16)),q(c(e).toString(16)),q(D(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*R(this._r,255))+"%",g:c(100*R(this._g,255))+"%",b:c(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*R(this._r,255))+"%, "+c(100*R(this._g,255))+"%, "+c(100*R(this._b,255))+"%)":"rgba("+c(100*R(this._r,255))+"%, "+c(100*R(this._g,255))+"%, "+c(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var n="#"+g(this._r,this._g,this._b,this._a),e=n,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=h(t);e="#"+g(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+n+",endColorstr="+e+")"},toString:function(t){var n=!!t;t=t||this._format;var e=!1,r=this._a<1&&this._a>=0;return n||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(e=this.toRgbString()),"prgb"===t&&(e=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(e=this.toHexString()),"hex3"===t&&(e=this.toHexString(!0)),"hex4"===t&&(e=this.toHex8String(!0)),"hex8"===t&&(e=this.toHex8String()),"name"===t&&(e=this.toName()),"hsl"===t&&(e=this.toHslString()),"hsv"===t&&(e=this.toHsvString()),e||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,n){var e=t.apply(null,[this].concat([].slice.call(n)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(b,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(M,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(N,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},h.fromRatio=function(t,n){if("object"==typeof t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]="a"===r?t[r]:U(t[r]));t=e}return h(t,n)},h.equals=function(t,n){return!(!t||!n)&&h(t).toRgbString()==h(n).toRgbString()},h.random=function(){return h.fromRatio({r:l(),g:l(),b:l()})},h.mix=function(t,n,e){e=0===e?0:e||50;var r=h(t).toRgb(),i=h(n).toRgb(),o=e/100;return h({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},h.readability=function(t,n){var e=h(t),r=h(n);return(i.max(e.getLuminance(),r.getLuminance())+.05)/(i.min(e.getLuminance(),r.getLuminance())+.05)},h.isReadable=function(t,n,e){var r,i,o,u,a,c=h.readability(t,n);switch(i=!1,(o=e,"AA"!==(u=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==u&&(u="AA"),"small"!==(a=(o.size||"small").toLowerCase())&&"large"!==a&&(a="small"),r={level:u,size:a}).level+r.size){case"AAsmall":case"AAAlarge":i=c>=4.5;break;case"AAlarge":i=c>=3;break;case"AAAsmall":i=c>=7}return i},h.mostReadable=function(t,n,e){var r,i,o,u,a=null,c=0;i=(e=e||{}).includeFallbackColors,o=e.level,u=e.size;
vendor: 1,583 bytes, line 1
1for(var f=0;f<n.length;f++)(r=h.readability(t,n[f]))>c&&(c=r,a=h(n[f]));return h.isReadable(t,a,{level:o,size:u})||!i?a:(e.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],e))};var E=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=h.hexNames=function(t){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}(E);function P(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function R(t,n){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var e=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=f(n,s(0,parseFloat(t))),e&&(t=parseInt(t*n,10)/100),i.abs(t-n)<1e-6?1:t%n/parseFloat(n)}function L(t){return f(1,s(0,t))}function O(t){return parseInt(t,16)}function q(t){return 1==t.length?"0"+t:""+t}function U(t){return t<=1&&(t=100*t+"%"),t}function D(t){return i.round(255*parseFloat(t)).toString(16)}function F(t){return O(t)/255}var I,Y,j,H=(Y="[\\s|\\(]+("+(I="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",j="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+Y),rgba:new RegExp("rgba"+j),hsl:new RegExp("hsl"+Y),hsla:new RegExp("hsla"+j),hsv:new RegExp("hsv"+Y),hsva:new RegExp("hsva"
1+j),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(t){return!!H.CSS_UNIT.exec(t)}t.exports?t.exports=h:void 0===(r=function(){return h}.call(n,e,n,t))||(t.exports=r)}(Math)}}]);
2//# sourceMappingURL=async-minichart.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.