d3-project-template
Version:
Template for d3 project
1 lines • 301 kB
JavaScript
!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=11)}([function(t,n,e){var r=e(8),i=e(9),o=e(10);t.exports=function(t,n){return r(t)||i(t,n)||o()}},function(t,n,e){t.exports=e(6)},function(t,n){function e(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}t.exports=function(t){return function(){var n=this,r=arguments;return new Promise((function(i,o){var u=t.apply(n,r);function a(t){e(u,i,o,a,c,"next",t)}function c(t){e(u,i,o,a,c,"throw",t)}a(void 0)}))}}},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n){function e(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)}}t.exports=function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},function(t,n){t.exports=function(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}},function(t,n,e){var r=function(t){"use strict";var n=Object.prototype,e=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",u=r.toStringTag||"@@toStringTag";function a(t,n,e,r){var i=n&&n.prototype instanceof s?n:s,o=Object.create(i.prototype),u=new w(r||[]);return o._invoke=function(t,n,e){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return k()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var a=b(u,e);if(a){if(a===f)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var s=c(t,n,e);if("normal"===s.type){if(r=e.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(r="completed",e.method="throw",e.arg=s.arg)}}}(t,e,u),o}function c(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var f={};function s(){}function l(){}function h(){}var d={};d[i]=function(){return this};var p=Object.getPrototypeOf,v=p&&p(p(M([])));v&&v!==n&&e.call(v,i)&&(d=v);var g=h.prototype=s.prototype=Object.create(d);function y(t){["next","throw","return"].forEach((function(n){t[n]=function(t){return this._invoke(n,t)}}))}function m(t,n){var r;this._invoke=function(i,o){function u(){return new n((function(r,u){!function r(i,o,u,a){var f=c(t[i],t,o);if("throw"!==f.type){var s=f.arg,l=s.value;return l&&"object"==typeof l&&e.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,u,a)}),(function(t){r("throw",t,u,a)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,a)}))}a(f.arg)}(i,o,r,u)}))}return r=r?r.then(u,u):u()}}function b(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,b(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=c(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function x(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function M(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return l.prototype=g.constructor=h,h.constructor=l,h[u]=l.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===l||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(m.prototype),m.prototype[o]=function(){return this},t.AsyncIterator=m,t.async=function(n,e,r,i,o){void 0===o&&(o=Promise);var u=new m(a(n,e,r,i),o);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},y(g),g[u]="Generator",g[i]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=M,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e,r){return u.type="throw",u.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=e.call(o,"catchLoc"),c=e.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),f},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),x(e),f}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;x(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:M(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,n,e){},function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n){t.exports=function(t,n){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var e=[],r=!0,i=!1,o=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(e.push(u.value),!n||e.length!==n);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return e}}},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"version",(function(){return $e})),e.d(r,"bisect",(function(){return nr})),e.d(r,"bisectRight",(function(){return Je})),e.d(r,"bisectLeft",(function(){return tr})),e.d(r,"ascending",(function(){return Ze})),e.d(r,"bisector",(function(){return Qe})),e.d(r,"cross",(function(){return ir})),e.d(r,"descending",(function(){return or})),e.d(r,"deviation",(function(){return cr})),e.d(r,"extent",(function(){return fr})),e.d(r,"histogram",(function(){return Mr})),e.d(r,"thresholdFreedmanDiaconis",(function(){return Ar})),e.d(r,"thresholdScott",(function(){return Nr})),e.d(r,"thresholdSturges",(function(){return wr})),e.d(r,"max",(function(){return Sr})),e.d(r,"mean",(function(){return Tr})),e.d(r,"median",(function(){return Er})),e.d(r,"merge",(function(){return Cr})),e.d(r,"min",(function(){return Pr})),e.d(r,"pairs",(function(){return er})),e.d(r,"permute",(function(){return Lr})),e.d(r,"quantile",(function(){return kr})),e.d(r,"range",(function(){return vr})),e.d(r,"scan",(function(){return zr})),e.d(r,"shuffle",(function(){return Dr})),e.d(r,"sum",(function(){return Rr})),e.d(r,"ticks",(function(){return br})),e.d(r,"tickIncrement",(function(){return _r})),e.d(r,"tickStep",(function(){return xr})),e.d(r,"transpose",(function(){return Or})),e.d(r,"variance",(function(){return ar})),e.d(r,"zip",(function(){return Fr})),e.d(r,"axisTop",(function(){return Xr})),e.d(r,"axisRight",(function(){return Wr})),e.d(r,"axisBottom",(function(){return $r})),e.d(r,"axisLeft",(function(){return Zr})),e.d(r,"brush",(function(){return Bi})),e.d(r,"brushX",(function(){return Fi})),e.d(r,"brushY",(function(){return Ui})),e.d(r,"brushSelection",(function(){return qi})),e.d(r,"chord",(function(){return to})),e.d(r,"ribbon",(function(){return vo})),e.d(r,"nest",(function(){return bo})),e.d(r,"set",(function(){return So})),e.d(r,"map",(function(){return mo})),e.d(r,"keys",(function(){return To})),e.d(r,"values",(function(){return Eo})),e.d(r,"entries",(function(){return Co})),e.d(r,"color",(function(){return Un})),e.d(r,"rgb",(function(){return Yn})),e.d(r,"hsl",(function(){return Zn})),e.d(r,"lab",(function(){return Ro})),e.d(r,"hcl",(function(){return Yo})),e.d(r,"lch",(function(){return jo})),e.d(r,"gray",(function(){return Do})),e.d(r,"cubehelix",(function(){return Qo})),e.d(r,"contours",(function(){return yu})),e.d(r,"contourDensity",(function(){return Mu})),e.d(r,"dispatch",(function(){return qt})),e.d(r,"drag",(function(){return Cu})),e.d(r,"dragDisable",(function(){return Jr})),e.d(r,"dragEnable",(function(){return ti})),e.d(r,"dsvFormat",(function(){return qu})),e.d(r,"csvParse",(function(){return Uu})),e.d(r,"csvParseRows",(function(){return Bu})),e.d(r,"csvFormat",(function(){return Iu})),e.d(r,"csvFormatBody",(function(){return ju})),e.d(r,"csvFormatRows",(function(){return Yu})),e.d(r,"csvFormatRow",(function(){return Hu})),e.d(r,"csvFormatValue",(function(){return Vu})),e.d(r,"tsvParse",(function(){return Xu})),e.d(r,"tsvParseRows",(function(){return Wu})),e.d(r,"tsvFormat",(function(){return $u})),e.d(r,"tsvFormatBody",(function(){return Zu})),e.d(r,"tsvFormatRows",(function(){return Qu})),e.d(r,"tsvFormatRow",(function(){return Ku})),e.d(r,"tsvFormatValue",(function(){return Ju})),e.d(r,"autoType",(function(){return ta})),e.d(r,"easeLinear",(function(){return ea})),e.d(r,"easeQuad",(function(){return oa})),e.d(r,"easeQuadIn",(function(){return ra})),e.d(r,"easeQuadOut",(function(){return ia})),e.d(r,"easeQuadInOut",(function(){return oa})),e.d(r,"easeCubic",(function(){return He})),e.d(r,"easeCubicIn",(function(){return je})),e.d(r,"easeCubicOut",(function(){return Ye})),e.d(r,"easeCubicInOut",(function(){return He})),e.d(r,"easePoly",(function(){return ca})),e.d(r,"easePolyIn",(function(){return ua})),e.d(r,"easePolyOut",(function(){return aa})),e.d(r,"easePolyInOut",(function(){return ca})),e.d(r,"easeSin",(function(){return da})),e.d(r,"easeSinIn",(function(){return la})),e.d(r,"easeSinOut",(function(){return ha})),e.d(r,"easeSinInOut",(function(){return da})),e.d(r,"easeExp",(function(){return ga})),e.d(r,"easeExpIn",(function(){return pa})),e.d(r,"easeExpOut",(function(){return va})),e.d(r,"easeExpInOut",(function(){return ga})),e.d(r,"easeCircle",(function(){return ba})),e.d(r,"easeCircleIn",(function(){return ya})),e.d(r,"easeCircleOut",(function(){return ma})),e.d(r,"easeCircleInOut",(function(){return ba})),e.d(r,"easeBounce",(function(){return xa})),e.d(r,"easeBounceIn",(function(){return _a})),e.d(r,"easeBounceOut",(function(){return xa})),e.d(r,"easeBounceInOut",(function(){return wa})),e.d(r,"easeBack",(function(){return Aa})),e.d(r,"easeBackIn",(function(){return Ma})),e.d(r,"easeBackOut",(function(){return ka})),e.d(r,"easeBackInOut",(function(){return Aa})),e.d(r,"easeElastic",(function(){return Ta})),e.d(r,"easeElasticIn",(function(){return Sa})),e.d(r,"easeElasticOut",(function(){return Ta})),e.d(r,"easeElasticInOut",(function(){return Ea})),e.d(r,"blob",(function(){return Pa})),e.d(r,"buffer",(function(){return za})),e.d(r,"dsv",(function(){return qa})),e.d(r,"csv",(function(){return Fa})),e.d(r,"tsv",(function(){return Ua})),e.d(r,"image",(function(){return Ba})),e.d(r,"json",(function(){return ja})),e.d(r,"text",(function(){return Ra})),e.d(r,"xml",(function(){return Ha})),e.d(r,"html",(function(){return Va})),e.d(r,"svg",(function(){return Ga})),e.d(r,"forceCenter",(function(){return Xa})),e.d(r,"forceCollide",(function(){return uc})),e.d(r,"forceLink",(function(){return fc})),e.d(r,"forceManyBody",(function(){return pc})),e.d(r,"forceRadial",(function(){return vc})),e.d(r,"forceSimulation",(function(){return dc})),e.d(r,"forceX",(function(){return gc})),e.d(r,"forceY",(function(){return yc})),e.d(r,"formatDefaultLocale",(function(){return zc})),e.d(r,"format",(function(){return Ac})),e.d(r,"formatPrefix",(function(){return Nc})),e.d(r,"formatLocale",(function(){return Lc})),e.d(r,"formatSpecifier",(function(){return xc})),e.d(r,"FormatSpecifier",(function(){return wc})),e.d(r,"precisionFixed",(function(){return Dc})),e.d(r,"precisionPrefix",(function(){return Rc})),e.d(r,"precisionRound",(function(){return Oc})),e.d(r,"geoArea",(function(){return Tf})),e.d(r,"geoBounds",(function(){return _s})),e.d(r,"geoCentroid",(function(){return Ls})),e.d(r,"geoCircle",(function(){return Ys})),e.d(r,"geoClipAntimeridian",(function(){return ul})),e.d(r,"geoClipCircle",(function(){return al})),e.d(r,"geoClipExtent",(function(){return hl})),e.d(r,"geoClipRectangle",(function(){return cl})),e.d(r,"geoContains",(function(){return Cl})),e.d(r,"geoDistance",(function(){return xl})),e.d(r,"geoGraticule",(function(){return zl})),e.d(r,"geoGraticule10",(function(){return Dl})),e.d(r,"geoInterpolate",(function(){return Ul})),e.d(r,"geoLength",(function(){return ml})),e.d(r,"geoPath",(function(){return qh})),e.d(r,"geoAlbers",(function(){return ed})),e.d(r,"geoAlbersUsa",(function(){return rd})),e.d(r,"geoAzimuthalEqualArea",(function(){return ad})),e.d(r,"geoAzimuthalEqualAreaRaw",(function(){return ud})),e.d(r,"geoAzimuthalEquidistant",(function(){return fd})),e.d(r,"geoAzimuthalEquidistantRaw",(function(){return cd})),e.d(r,"geoConicConformal",(function(){return vd})),e.d(r,"geoConicConformalRaw",(function(){return pd})),e.d(r,"geoConicEqualArea",(function(){return nd})),e.d(r,"geoConicEqualAreaRaw",(function(){return td})),e.d(r,"geoConicEquidistant",(function(){return bd})),e.d(r,"geoConicEquidistantRaw",(function(){return md})),e.d(r,"geoEqualEarth",(function(){return Nd})),e.d(r,"geoEqualEarthRaw",(function(){return Ad})),e.d(r,"geoEquirectangular",(function(){return yd})),e.d(r,"geoEquirectangularRaw",(function(){return gd})),e.d(r,"geoGnomonic",(function(){return Td})),e.d(r,"geoGnomonicRaw",(function(){return Sd})),e.d(r,"geoIdentity",(function(){return Cd})),e.d(r,"geoProjection",(function(){return Qh})),e.d(r,"geoProjectionMutator",(function(){return Kh})),e.d(r,"geoMercator",(function(){return ld})),e.d(r,"geoMercatorRaw",(function(){return sd})),e.d(r,"geoNaturalEarth1",(function(){return Ld})),e.d(r,"geoNaturalEarth1Raw",(function(){return Pd})),e.d(r,"geoOrthographic",(function(){return Dd})),e.d(r,"geoOrthographicRaw",(function(){return zd})),e.d(r,"geoStereographic",(function(){return Od})),e.d(r,"geoStereographicRaw",(function(){return Rd})),e.d(r,"geoTransverseMercator",(function(){return Fd})),e.d(r,"geoTransverseMercatorRaw",(function(){return qd})),e.d(r,"geoRotation",(function(){return Bs})),e.d(r,"geoStream",(function(){return _f})),e.d(r,"geoTransform",(function(){return Fh})),e.d(r,"cluster",(function(){return jd})),e.d(r,"hierarchy",(function(){return Hd})),e.d(r,"pack",(function(){return vp})),e.d(r,"packSiblings",(function(){return fp})),e.d(r,"packEnclose",(function(){return Zd})),e.d(r,"partition",(function(){return xp})),e.d(r,"stratify",(function(){return Np})),e.d(r,"tree",(function(){return zp})),e.d(r,"treemap",(function(){return Fp})),e.d(r,"treemapBinary",(function(){return Up})),e.d(r,"treemapDice",(function(){return _p})),e.d(r,"treemapSlice",(function(){return Dp})),e.d(r,"treemapSliceDice",(function(){return Bp})),e.d(r,"treemapSquarify",(function(){return qp})),e.d(r,"treemapResquarify",(function(){return Ip})),e.d(r,"interpolate",(function(){return ai})),e.d(r,"interpolateArray",(function(){return ri})),e.d(r,"interpolateBasis",(function(){return te})),e.d(r,"interpolateBasisClosed",(function(){return ne})),e.d(r,"interpolateDate",(function(){return oi})),e.d(r,"interpolateDiscrete",(function(){return jp})),e.d(r,"interpolateHue",(function(){return Yp})),e.d(r,"interpolateNumber",(function(){return dn})),e.d(r,"interpolateNumberArray",(function(){return ni})),e.d(r,"interpolateObject",(function(){return ui})),e.d(r,"interpolateRound",(function(){return Hp})),e.d(r,"interpolateString",(function(){return de})),e.d(r,"interpolateTransformCss",(function(){return mn})),e.d(r,"interpolateTransformSvg",(function(){return bn})),e.d(r,"interpolateZoom",(function(){return Xp})),e.d(r,"interpolateRgb",(function(){return ae})),e.d(r,"interpolateRgbBasis",(function(){return fe})),e.d(r,"interpolateRgbBasisClosed",(function(){return se})),e.d(r,"interpolateHsl",(function(){return $p})),e.d(r,"interpolateHslLong",(function(){return Zp})),e.d(r,"interpolateLab",(function(){return Qp})),e.d(r,"interpolateHcl",(function(){return Jp})),e.d(r,"interpolateHclLong",(function(){return tv})),e.d(r,"interpolateCubehelix",(function(){return ev})),e.d(r,"interpolateCubehelixLong",(function(){return rv})),e.d(r,"piecewise",(function(){return iv})),e.d(r,"quantize",(function(){return ov})),e.d(r,"path",(function(){return co})),e.d(r,"polygonArea",(function(){return uv})),e.d(r,"polygonCentroid",(function(){return av})),e.d(r,"polygonHull",(function(){return sv})),e.d(r,"polygonContains",(function(){return lv})),e.d(r,"polygonLength",(function(){return hv})),e.d(r,"quadtree",(function(){return tc})),e.d(r,"randomUniform",(function(){return pv})),e.d(r,"randomNormal",(function(){return vv})),e.d(r,"randomLogNormal",(function(){return gv})),e.d(r,"randomBates",(function(){return mv})),e.d(r,"randomIrwinHall",(function(){return yv})),e.d(r,"randomExponential",(function(){return bv})),e.d(r,"scaleBand",(function(){return jv})),e.d(r,"scalePoint",(function(){return Hv})),e.d(r,"scaleIdentity",(function(){return ig})),e.d(r,"scaleLinear",(function(){return rg})),e.d(r,"scaleLog",(function(){return dg})),e.d(r,"scaleSymlog",(function(){return yg})),e.d(r,"scaleOrdinal",(function(){return Iv})),e.d(r,"scaleImplicit",(function(){return Bv})),e.d(r,"scalePow",(function(){return wg})),e.d(r,"scaleSqrt",(function(){return Mg})),e.d(r,"scaleQuantile",(function(){return kg})),e.d(r,"scaleQuantize",(function(){return Ag})),e.d(r,"scaleThreshold",(function(){return Ng})),e.d(r,"scaleTime",(function(){return rb})),e.d(r,"scaleUtc",(function(){return db})),e.d(r,"scaleSequential",(function(){return gb})),e.d(r,"scaleSequentialLog",(function(){return yb})),e.d(r,"scaleSequentialPow",(function(){return bb})),e.d(r,"scaleSequentialSqrt",(function(){return _b})),e.d(r,"scaleSequentialSymlog",(function(){return mb})),e.d(r,"scaleSequentialQuantile",(function(){return xb})),e.d(r,"scaleDiverging",(function(){return Mb})),e.d(r,"scaleDivergingLog",(function(){return kb})),e.d(r,"scaleDivergingPow",(function(){return Nb})),e.d(r,"scaleDivergingSqrt",(function(){return Sb})),e.d(r,"scaleDivergingSymlog",(function(){return Ab})),e.d(r,"tickFormat",(function(){return ng})),e.d(r,"schemeCategory10",(function(){return Eb})),e.d(r,"schemeAccent",(function(){return Cb})),e.d(r,"schemeDark2",(function(){return Pb})),e.d(r,"schemePaired",(function(){return Lb})),e.d(r,"schemePastel1",(function(){return zb})),e.d(r,"schemePastel2",(function(){return Db})),e.d(r,"schemeSet1",(function(){return Rb})),e.d(r,"schemeSet2",(function(){return Ob})),e.d(r,"schemeSet3",(function(){return qb})),e.d(r,"schemeTableau10",(function(){return Fb})),e.d(r,"interpolateBrBG",(function(){return Ib})),e.d(r,"schemeBrBG",(function(){return Bb})),e.d(r,"interpolatePRGn",(function(){return Yb})),e.d(r,"schemePRGn",(function(){return jb})),e.d(r,"interpolatePiYG",(function(){return Vb})),e.d(r,"schemePiYG",(function(){return Hb})),e.d(r,"interpolatePuOr",(function(){return Xb})),e.d(r,"schemePuOr",(function(){return Gb})),e.d(r,"interpolateRdBu",(function(){return $b})),e.d(r,"schemeRdBu",(function(){return Wb})),e.d(r,"interpolateRdGy",(function(){return Qb})),e.d(r,"schemeRdGy",(function(){return Zb})),e.d(r,"interpolateRdYlBu",(function(){return Jb})),e.d(r,"schemeRdYlBu",(function(){return Kb})),e.d(r,"interpolateRdYlGn",(function(){return n_})),e.d(r,"schemeRdYlGn",(function(){return t_})),e.d(r,"interpolateSpectral",(function(){return r_})),e.d(r,"schemeSpectral",(function(){return e_})),e.d(r,"interpolateBuGn",(function(){return o_})),e.d(r,"schemeBuGn",(function(){return i_})),e.d(r,"interpolateBuPu",(function(){return a_})),e.d(r,"schemeBuPu",(function(){return u_})),e.d(r,"interpolateGnBu",(function(){return f_})),e.d(r,"schemeGnBu",(function(){return c_})),e.d(r,"interpolateOrRd",(function(){return l_})),e.d(r,"schemeOrRd",(function(){return s_})),e.d(r,"interpolatePuBuGn",(function(){return d_})),e.d(r,"schemePuBuGn",(function(){return h_})),e.d(r,"interpolatePuBu",(function(){return v_})),e.d(r,"schemePuBu",(function(){return p_})),e.d(r,"interpolatePuRd",(function(){return y_})),e.d(r,"schemePuRd",(function(){return g_})),e.d(r,"interpolateRdPu",(function(){return b_})),e.d(r,"schemeRdPu",(function(){return m_})),e.d(r,"interpolateYlGnBu",(function(){return x_})),e.d(r,"schemeYlGnBu",(function(){return __})),e.d(r,"interpolateYlGn",(function(){return M_})),e.d(r,"schemeYlGn",(function(){return w_})),e.d(r,"interpolateYlOrBr",(function(){return A_})),e.d(r,"schemeYlOrBr",(function(){return k_})),e.d(r,"interpolateYlOrRd",(function(){return S_})),e.d(r,"schemeYlOrRd",(function(){return N_})),e.d(r,"interpolateBlues",(function(){return E_})),e.d(r,"schemeBlues",(function(){return T_})),e.d(r,"interpolateGreens",(function(){return P_})),e.d(r,"schemeGreens",(function(){return C_})),e.d(r,"interpolateGreys",(function(){return z_})),e.d(r,"schemeGreys",(function(){return L_})),e.d(r,"interpolatePurples",(function(){return R_})),e.d(r,"schemePurples",(function(){return D_})),e.d(r,"interpolateReds",(function(){return q_})),e.d(r,"schemeReds",(function(){return O_})),e.d(r,"interpolateOranges",(function(){return U_})),e.d(r,"schemeOranges",(function(){return F_})),e.d(r,"interpolateCividis",(function(){return B_})),e.d(r,"interpolateCubehelixDefault",(function(){return I_})),e.d(r,"interpolateRainbow",(function(){return V_})),e.d(r,"interpolateWarm",(function(){return j_})),e.d(r,"interpolateCool",(function(){return Y_})),e.d(r,"interpolateSinebow",(function(){return $_})),e.d(r,"interpolateTurbo",(function(){return Z_})),e.d(r,"interpolateViridis",(function(){return K_})),e.d(r,"interpolateMagma",(function(){return J_})),e.d(r,"interpolateInferno",(function(){return tx})),e.d(r,"interpolatePlasma",(function(){return nx})),e.d(r,"create",(function(){return ex})),e.d(r,"creator",(function(){return ct})),e.d(r,"local",(function(){return ix})),e.d(r,"matcher",(function(){return x})),e.d(r,"mouse",(function(){return li})),e.d(r,"namespace",(function(){return E})),e.d(r,"namespaces",(function(){return T})),e.d(r,"clientPoint",(function(){return fi})),e.d(r,"select",(function(){return Tt})),e.d(r,"selectAll",(function(){return ux})),e.d(r,"selection",(function(){return St})),e.d(r,"selector",(function(){return m})),e.d(r,"selectorAll",(function(){return _})),e.d(r,"style",(function(){return B})),e.d(r,"touch",(function(){return si})),e.d(r,"touches",(function(){return ax})),e.d(r,"window",(function(){return O})),e.d(r,"event",(function(){return pt})),e.d(r,"customEvent",(function(){return _t})),e.d(r,"arc",(function(){return Tx})),e.d(r,"area",(function(){return Dx})),e.d(r,"line",(function(){return zx})),e.d(r,"pie",(function(){return qx})),e.d(r,"areaRadial",(function(){return Yx})),e.d(r,"radialArea",(function(){return Yx})),e.d(r,"lineRadial",(function(){return jx})),e.d(r,"radialLine",(function(){return jx})),e.d(r,"pointRadial",(function(){return Hx})),e.d(r,"linkHorizontal",(function(){return Kx})),e.d(r,"linkVertical",(function(){return Jx})),e.d(r,"linkRadial",(function(){return tw})),e.d(r,"symbol",(function(){return mw})),e.d(r,"symbols",(function(){return yw})),e.d(r,"symbolCircle",(function(){return nw})),e.d(r,"symbolCross",(function(){return ew})),e.d(r,"symbolDiamond",(function(){return ow})),e.d(r,"symbolSquare",(function(){return sw})),e.d(r,"symbolStar",(function(){return fw})),e.d(r,"symbolTriangle",(function(){return hw})),e.d(r,"symbolWye",(function(){return gw})),e.d(r,"curveBasisClosed",(function(){return kw})),e.d(r,"curveBasisOpen",(function(){return Nw})),e.d(r,"curveBasis",(function(){return ww})),e.d(r,"curveBundle",(function(){return Tw})),e.d(r,"curveCardinalClosed",(function(){return zw})),e.d(r,"curveCardinalOpen",(function(){return Rw})),e.d(r,"curveCardinal",(function(){return Pw})),e.d(r,"curveCatmullRomClosed",(function(){return Bw})),e.d(r,"curveCatmullRomOpen",(function(){return jw})),e.d(r,"curveCatmullRom",(function(){return Fw})),e.d(r,"curveLinearClosed",(function(){return Hw})),e.d(r,"curveLinear",(function(){return Cx})),e.d(r,"curveMonotoneX",(function(){return Kw})),e.d(r,"curveMonotoneY",(function(){return Jw})),e.d(r,"curveNatural",(function(){return eM})),e.d(r,"curveStep",(function(){return iM})),e.d(r,"curveStepAfter",(function(){return uM})),e.d(r,"curveStepBefore",(function(){return oM})),e.d(r,"stack",(function(){return sM})),e.d(r,"stackOffsetExpand",(function(){return lM})),e.d(r,"stackOffsetDiverging",(function(){return hM})),e.d(r,"stackOffsetNone",(function(){return aM})),e.d(r,"stackOffsetSilhouette",(function(){return dM})),e.d(r,"stackOffsetWiggle",(function(){return pM})),e.d(r,"stackOrderAppearance",(function(){return vM})),e.d(r,"stackOrderAscending",(function(){return yM})),e.d(r,"stackOrderDescending",(function(){return bM})),e.d(r,"stackOrderInsideOut",(function(){return _M})),e.d(r,"stackOrderNone",(function(){return cM})),e.d(r,"stackOrderReverse",(function(){return xM})),e.d(r,"timeInterval",(function(){return Eg})),e.d(r,"timeMillisecond",(function(){return sy})),e.d(r,"timeMilliseconds",(function(){return ly})),e.d(r,"utcMillisecond",(function(){return sy})),e.d(r,"utcMilliseconds",(function(){return ly})),e.d(r,"timeSecond",(function(){return ay})),e.d(r,"timeSeconds",(function(){return cy})),e.d(r,"utcSecond",(function(){return ay})),e.d(r,"utcSeconds",(function(){return cy})),e.d(r,"timeMinute",(function(){return iy})),e.d(r,"timeMinutes",(function(){return oy})),e.d(r,"timeHour",(function(){return ny})),e.d(r,"timeHours",(function(){return ey})),e.d(r,"timeDay",(function(){return Kg})),e.d(r,"timeDays",(function(){return Jg})),e.d(r,"timeWeek",(function(){return qg})),e.d(r,"timeWeeks",(function(){return Hg})),e.d(r,"timeSunday",(function(){return qg})),e.d(r,"timeSundays",(function(){return Hg})),e.d(r,"timeMonday",(function(){return Fg})),e.d(r,"timeMondays",(function(){return Vg})),e.d(r,"timeTuesday",(function(){return Ug})),e.d(r,"timeTuesdays",(function(){return Gg})),e.d(r,"timeWednesday",(function(){return Bg})),e.d(r,"timeWednesdays",(function(){return Xg})),e.d(r,"timeThursday",(function(){return Ig})),e.d(r,"timeThursdays",(function(){return Wg})),e.d(r,"timeFriday",(function(){return jg})),e.d(r,"timeFridays",(function(){return $g})),e.d(r,"timeSaturday",(function(){return Yg})),e.d(r,"timeSaturdays",(function(){return Zg})),e.d(r,"timeMonth",(function(){return Dg})),e.d(r,"timeMonths",(function(){return Rg})),e.d(r,"timeYear",(function(){return Pg})),e.d(r,"timeYears",(function(){return Lg})),e.d(r,"utcMinute",(function(){return lb})),e.d(r,"utcMinutes",(function(){return hb})),e.d(r,"utcHour",(function(){return cb})),e.d(r,"utcHours",(function(){return fb})),e.d(r,"utcDay",(function(){return Ty})),e.d(r,"utcDays",(function(){return Ey})),e.d(r,"utcWeek",(function(){return dy})),e.d(r,"utcWeeks",(function(){return _y})),e.d(r,"utcSunday",(function(){return dy})),e.d(r,"utcSundays",(function(){return _y})),e.d(r,"utcMonday",(function(){return py})),e.d(r,"utcMondays",(function(){return xy})),e.d(r,"utcTuesday",(function(){return vy})),e.d(r,"utcTuesdays",(function(){return wy})),e.d(r,"utcWednesday",(function(){return gy})),e.d(r,"utcWednesdays",(function(){return My})),e.d(r,"utcThursday",(function(){return yy})),e.d(r,"utcThursdays",(function(){return ky})),e.d(r,"utcFriday",(function(){return my})),e.d(r,"utcFridays",(function(){return Ay})),e.d(r,"utcSaturday",(function(){return by})),e.d(r,"utcSaturdays",(function(){return Ny})),e.d(r,"utcMonth",(function(){return ob})),e.d(r,"utcMonths",(function(){return ub})),e.d(r,"utcYear",(function(){return Py})),e.d(r,"utcYears",(function(){return Ly})),e.d(r,"timeFormatDefaultLocale",(function(){return Jm})),e.d(r,"timeFormat",(function(){return Fy})),e.d(r,"timeParse",(function(){return Uy})),e.d(r,"utcFormat",(function(){return By})),e.d(r,"utcParse",(function(){return Iy})),e.d(r,"timeFormatLocale",(function(){return Oy})),e.d(r,"isoFormat",(function(){return wM})),e.d(r,"isoParse",(function(){return MM})),e.d(r,"now",(function(){return Gt})),e.d(r,"timer",(function(){return $t})),e.d(r,"timerFlush",(function(){return Zt})),e.d(r,"timeout",(function(){return tn})),e.d(r,"interval",(function(){return kM})),e.d(r,"transition",(function(){return Ue})),e.d(r,"active",(function(){return We})),e.d(r,"interrupt",(function(){return hn})),e.d(r,"voronoi",(function(){return fk})),e.d(r,"zoom",(function(){return Mk})),e.d(r,"zoomTransform",(function(){return pk})),e.d(r,"zoomIdentity",(function(){return dk}));var i={};e.r(i),e.d(i,"bisect",(function(){return Ek})),e.d(i,"bisectRight",(function(){return Sk})),e.d(i,"bisectLeft",(function(){return Tk})),e.d(i,"ascending",(function(){return kk})),e.d(i,"bisector",(function(){return Ak})),e.d(i,"count",(function(){return Ck})),e.d(i,"cross",(function(){return Dk})),e.d(i,"cumsum",(function(){return Rk})),e.d(i,"descending",(function(){return Ok})),e.d(i,"deviation",(function(){return Fk})),e.d(i,"extent",(function(){return Uk})),e.d(i,"group",(function(){return Ik})),e.d(i,"groups",(function(){return jk})),e.d(i,"rollup",(function(){return Yk})),e.d(i,"rollups",(function(){return Hk})),e.d(i,"bin",(function(){return rA})),e.d(i,"histogram",(function(){return rA})),e.d(i,"thresholdFreedmanDiaconis",(function(){return lA})),e.d(i,"thresholdScott",(function(){return hA})),e.d(i,"thresholdSturges",(function(){return eA})),e.d(i,"max",(function(){return iA})),e.d(i,"maxIndex",(function(){return dA})),e.d(i,"mean",(function(){return pA})),e.d(i,"median",(function(){return vA})),e.d(i,"merge",(function(){return gA})),e.d(i,"min",(function(){return oA})),e.d(i,"minIndex",(function(){return yA})),e.d(i,"pairs",(function(){return mA})),e.d(i,"permute",(function(){return _A})),e.d(i,"quantile",(function(){return fA})),e.d(i,"quantileSorted",(function(){return sA})),e.d(i,"quickselect",(function(){return uA})),e.d(i,"range",(function(){return $k})),e.d(i,"least",(function(){return xA})),e.d(i,"leastIndex",(function(){return wA})),e.d(i,"greatest",(function(){return MA})),e.d(i,"greatestIndex",(function(){return kA})),e.d(i,"scan",(function(){return AA})),e.d(i,"shuffle",(function(){return NA})),e.d(i,"sum",(function(){return SA})),e.d(i,"ticks",(function(){return Jk})),e.d(i,"tickIncrement",(function(){return tA})),e.d(i,"tickStep",(function(){return nA})),e.d(i,"transpose",(function(){return TA})),e.d(i,"variance",(function(){return qk})),e.d(i,"zip",(function(){return CA}));var o=e(1),u=e.n(o),a=e(2),c=e.n(a),f=e(3),s=e.n(f),l=e(4),h=e.n(l),d=(e(7),e(5)),p=e.n(d),v=e(0),g=e.n(v);function y(){}var m=function(t){return null==t?y:function(){return this.querySelector(t)}};function b(){return[]}var _=function(t){return null==t?b:function(){return this.querySelectorAll(t)}},x=function(t){return function(){return this.matches(t)}},w=function(t){return new Array(t.length)};function M(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}M.prototype={constructor:M,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)}};function k(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 M(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function A(t,n,e,r,i,o,u){var a,c,f,s={},l=n.length,h=o.length,d=new Array(l);for(a=0;a<l;++a)(c=n[a])&&(d[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 M(t,o[a]);for(a=0;a<l;++a)(c=n[a])&&s[d[a]]===c&&(i[a]=c)}function N(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var S="http://www.w3.org/1999/xhtml",T={svg:"http://www.w3.org/2000/svg",xhtml:S,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},E=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),T.hasOwnProperty(n)?{space:T[n],local:t}:t};function C(t){return function(){this.removeAttribute(t)}}function P(t){return function(){this.removeAttributeNS(t.space,t.local)}}function L(t,n){return function(){this.setAttribute(t,n)}}function z(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function D(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function R(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)}}var O=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function q(t){return function(){this.style.removeProperty(t)}}function F(t,n,e){return function(){this.style.setProperty(t,n,e)}}function U(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function B(t,n){return t.style.getPropertyValue(n)||O(t).getComputedStyle(t,null).getPropertyValue(n)}function I(t){return function(){delete this[t]}}function j(t,n){return function(){this[t]=n}}function Y(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function H(t){return t.trim().split(/^|\s+/)}function V(t){return t.classList||new G(t)}function G(t){this._node=t,this._names=H(t.getAttribute("class")||"")}function X(t,n){for(var e=V(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function W(t,n){for(var e=V(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function $(t){return function(){X(this,t)}}function Z(t){return function(){W(this,t)}}function Q(t,n){return function(){(n.apply(this,arguments)?X:W)(this,t)}}G.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}};function K(){this.textContent=""}function J(t){return function(){this.textContent=t}}function tt(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function nt(){this.innerHTML=""}function et(t){return function(){this.innerHTML=t}}function rt(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function it(){this.nextSibling&&this.parentNode.appendChild(this)}function ot(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ut(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===S&&n.documentElement.namespaceURI===S?n.createElement(t):n.createElementNS(e,t)}}function at(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var ct=function(t){var n=E(t);return(n.local?at:ut)(n)};function ft(){return null}function st(){var t=this.parentNode;t&&t.removeChild(this)}function lt(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function ht(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var dt={},pt=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(dt={mouseenter:"mouseover",mouseleave:"mouseout"}));function vt(t,n,e){return t=gt(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function gt(t,n,e){return function(r){var i=pt;pt=r;try{t.call(this,this.__data__,n,e)}finally{pt=i}}}function yt(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 mt(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 bt(t,n,e){var r=dt.hasOwnProperty(t.type)?vt:gt;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 _t(t,n,e,r){var i=pt;t.sourceEvent=pt,pt=t;try{return n.apply(e,r)}finally{pt=i}}function xt(t,n,e){var r=O(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 wt(t,n){return function(){return xt(this,t,n)}}function Mt(t,n){return function(){return xt(this,t,n.apply(this,arguments))}}var kt=[null];function At(t,n){this._groups=t,this._parents=n}function Nt(){return new At([[document.documentElement]],kt)}At.prototype=Nt.prototype={constructor:At,select:function(t){"function"!=typeof t&&(t=m(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 At(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=_(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 At(r,i)},filter:function(t){"function"!=typeof t&&(t=x(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 At(r,this._parents)},data:function(t,n){if(!t)return p=new Array(this.size()),s=-1,this.each((function(t){p[++s]=t})),p;var e,r=n?A:k,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],d=h.length,p=t.call(l,l&&l.__data__,s,i),v=p.length,g=c[s]=new Array(v),y=a[s]=new Array(v);r(l,h,g,y,f[s]=new Array(d),p,n);for(var m,b,_=0,x=0;_<v;++_)if(m=g[_]){for(_>=x&&(x=_+1);!(b=y[x])&&++x<v;);m._next=b||null}}return(a=new At(a,i))._enter=c,a._exit=f,a},enter:function(){return new At(this._enter||this._groups.map(w),this._parents)},exit:function(){return new At(this._exit||this._groups.map(w),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},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),d=0;d<l;++d)(c=f[d]||s[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new At(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&&4^r.compareDocumentPosition(u)&&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=N);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 At(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=E(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?P:C:"function"==typeof n?e.local?R:D:e.local?z:L)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?q:"function"==typeof n?U:F)(t,n,null==e?"":e)):B(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?I:"function"==typeof n?Y:j)(t,n)):this.node()[t]},classed:function(t,n){var e=H(t+"");if(arguments.length<2){for(var r=V(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?Q:n?$:Z)(e,n))},text:function(t){return arguments.length?this.each(null==t?K:("function"==typeof t?tt:J)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?nt:("function"==typeof t?rt:et)(t)):this.node().innerHTML},raise:function(){return this.each(it)},lower:function(){return this.each(ot)},append:function(t){var n="function"==typeof t?t:ct(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:ct(t),r=null==n?ft:"function"==typeof n?n:m(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(st)},clone:function(t){return this.select(t?ht:lt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=yt(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?bt:mt,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?Mt:wt)(t,n))}};var St=Nt,Tt=function(t){return"string"==typeof t?new At([[document.querySelector(t)]],[document.documentElement]):new At([[t]],kt)},Et={value:function(){}};function Ct(){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 Pt(r)}function Pt(t){this._=t}function Lt(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 zt(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function Dt(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=Et,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}Pt.prototype=Ct.prototype={constructor:Pt,on:function(t,n){var e,r=this._,i=Lt(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]=Dt(r[e],t.name,n);else if(null==n)for(e in r)r[e]=Dt(r[e],t.name,null);return this}for(;++o<u;)if((e=(t=i[o]).type)&&(e=zt(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new Pt(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 Rt,Ot,qt=Ct,Ft=0,Ut=0,Bt=0,It=0,jt=0,Yt=0,Ht="object"==typeof performance&&performance.now?performance:Date,Vt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gt(){return jt||(Vt(Xt),jt=Ht.now()+Yt)}function Xt(){jt=0}function Wt(){this._call=this._time=this._next=null}function $t(t,n,e){var r=new Wt;return r.restart(t,n,e),r}function Zt(){Gt(),++Ft;for(var t,n=Rt;n;)(t=jt-n._time)>=0&&n._call.call(null,t),n=n._next;--Ft}function Qt(){jt=(It=Ht.now())+Yt,Ft=Ut=0;try{Zt()}finally{Ft=0,function(){var t,n,e=Rt,r=1/0;for(;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:Rt=n);Ot=t,Jt(r)}(),jt=0}}function Kt(){var t=Ht.now(),n=t-It;n>1e3&&(Yt-=n,It=t)}function Jt(t){Ft||(Ut&&(Ut=clearTimeout(Ut)),t-jt>24?(t<1/0&&(Ut=setTimeout(Qt,t-Ht.now()-Yt)),Bt&&(Bt=clearInterval(Bt))):(Bt||(It=Ht.now(),Bt=setInterval(Kt,1e3)),Ft=1,Vt(Qt)))}Wt.prototype=$t.prototype={constructor:Wt,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gt():+e)+(null==n?0:+n),this._next||Ot===this||(Ot?Ot._next=this:Rt=this,Ot=this),this._call=t,this._time=e,Jt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jt())}};var tn=function(t,n,e){var r=new Wt;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r},nn=qt("start","end","cancel","interrupt"),en=[],rn=function(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 tn(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(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[f])}if(tn((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(t,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=$t((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:nn,tween:en,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})};function on(t,n){var e=an(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function un(t,n){var e=an(t,n);if(e.state>3)throw new Error("too late; already running");return e}function an(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}var cn,fn,sn,ln,hn=function(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(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group