D3.js vs Vue.js examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
315 KiB

8 years ago
webpackJsonp([0,2],[function(t,n,e){var r=e(24)("wks"),i=e(28),o=e(1).Symbol,a="function"==typeof o,u=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};u.store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t,n,e,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),r){var s=u.computed||(u.computed={});Object.keys(r).forEach(function(t){var n=r[t];s[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(22)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),i=e(13);t.exports=e(4)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(3),i=e(46),o=e(62),a=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},,function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(24)("keys"),i=e(28);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";(function(n){/*!
* Vue.js v2.1.10
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
function e(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var n=parseFloat(t);return isNaN(n)?t:n}function i(t,n){for(var e=Object.create(null),r=t.split(","),i=0;i<r.length;i++)e[r[i]]=!0;return n?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}function o(t,n){if(t.length){var e=t.indexOf(n);if(e>-1)return t.splice(e,1)}}function a(t,n){return ai.call(t,n)}function u(t){return"string"==typeof t||"number"==typeof t}function s(t){var n=Object.create(null);return function(e){var r=n[e];return r||(n[e]=t(e))}}function c(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e}function f(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function l(t,n){for(var e in n)t[e]=n[e];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return hi.call(t)===pi}function d(t){for(var n={},e=0;e<t.length;e++)t[e]&&l(n,t[e]);return n}function v(){}function y(t){return t.reduce(function(t,n){return t.concat(n.staticKeys||[])},[]).join(",")}function g(t,n){var e=h(t),r=h(n);return e&&r?JSON.stringify(t)===JSON.stringify(n):!e&&!r&&String(t)===String(n)}function _(t,n){for(var e=0;e<t.length;e++)if(g(t[e],n))return e;return-1}function m(t){var n=(t+"").charCodeAt(0);return 36===n||95===n}function x(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}function b(t){if(!gi.test(t)){var n=t.split(".");return function(t){for(var e=0;e<n.length;e++){if(!t)return;t=t[n[e]]}return t}}}function w(t){return/native code/.test(t.toString())}function M(t){$i.target&&Pi.push($i.target),$i.target=t}function k(){$i.target=Pi.pop()}function A(t,n){t.__proto__=n}function C(t,n,e){for(var r=0,i=e.length;r<i;r++){var o=e[r];x(t,o,n[o])}}function S(t,n){if(h(t)){var e;return a(t,"__ob__")&&t.__ob__ instanceof zi?e=t.__ob__:Ii.shouldConvert&&!Ci()&&(Array.isArray(t)||p(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new zi(t)),n&&e&&e.vmCount++,e}}function T(t,n,e,r){var i=new $i,o=Object.getOwnPropertyDescriptor(t,n);if(!o||o.configurable!==!1){var a=o&&o.get,u=o&&o.set,s=S(e);Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var n=a?a.call(t):e;return $i.target&&(i.depend(),s&&s.dep.depend(),Array.isArray(n)&&O(n)),n},set:function(n){var r=a?a.call(t):e;n===r||n!==n&&r!==r||(u?u.call(t,n):e=n,s=S(n),i.notify())}})}}function E(t,n,e){if(Array.isArray(t))return t.length=Math.max(t.length,n),t.splice(n,1,e),e;if(a(t,n))return void(t[n]=e);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(T(r.value,n,e),r.dep.notify(),e):void(t[n]=e)}function N(t,n){var e=t.__ob__;t._isVue||e&&e.vmCount||a(t,n)&&(delete t[n],e&&e.dep.notify())}function O(t){for(var n=void 0,e=0,r=t.length;e<r;e++)n=t[e],n&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&O(n)}function $(t,n){if(!n)return t;for(var e,r,i,o=Object.keys(n),u=0;u<o.length;u++)e=o[u],r=t[e],i=n[e],a(t,e)?p(r)&&p(i)&&$(r,i):E(t,e,i);return t}function P(t,n){return n?t?t.concat(n):Array.isArray(n)?n:[n]:t}function R(t,n){var e=Object.create(t||null);return n?l(e,n):e}function L(t){var n=t.props;if(n){var e,r,i,o={};if(Array.isArray(n))for(e=n.length;e--;)r=n[e],"string"==typeof r&&(i=si(r),o[i]={type:null});else if(p(n))for(var a in n)r=n[a],i=si(a),o[i]=p(r)?r:{type:r};t.props=o}}function j(t){var n=t.directives;if(n)for(var e in n){var r=n[e];"function"==typeof r&&(n[e]={bind:r,update:r})}}function I(t,n,e){function r(r){var i=Di[r]||Ui;f[r]=i(t[r],n[r],e,r)}L(n),j(n);var i=n.extends;if(i&&(t="function"==typeof i?I(t,i.options,e):I(t,i,e)),n.mixins)for(var o=0,u=n.mixins.length;o<u;o++){var s=n.mixins[o];s.prototype instanceof Bt&&(s=s.options),t=I(t,s,e)}var c,f={};for(c in t)r(c);for(c in n)a(t,c)||r(c);return f}function z(t,n,e,r){if("string"==typeof e){var i=t[n];if(a(i,e))return i[e];var o=si(e);if(a(i,o))return i[o];var u=ci(o);if(a(i,u))return i[u];var s=i[e]||i[o]||i[u];return s}}function D(t,n,e,r){var i=n[t],o=!a(e,t),u=e[t];if(F(Boolean,i.type)&&(o&&!a(i,"default")?u=!1:F(String,i.
e._leaveCb());var r=ee(t.data.transition);if(r&&!e._enterCb&&1===e.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,u=r.enterToClass,s=r.enterActiveClass,c=r.appearClass,f=r.appearToClass,l=r.appearActiveClass,h=r.beforeEnter,p=r.enter,d=r.afterEnter,v=r.enterCancelled,y=r.beforeAppear,g=r.appear,_=r.afterAppear,m=r.appearCancelled,x=Zi,b=Zi.$vnode;b&&b.parent;)b=b.parent,x=b.context;var w=!x._isMounted||!t.isRootInsert;if(!w||g||""===g){var M=w?c:a,k=w?l:s,A=w?f:u,C=w?y||h:h,S=w&&"function"==typeof g?g:p,T=w?_||d:d,E=w?m||v:v,N=i!==!1&&!wi,O=S&&(S._length||S.length)>1,$=e._enterCb=re(function(){N&&(Jn(e,A),Jn(e,k)),$.cancelled?(N&&Jn(e,M),E&&E(e)):T&&T(e),e._enterCb=null});t.data.show||it(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),S&&S(e,$)},"transition-insert"),C&&C(e),N&&(Wn(e,M),Wn(e,k),Xn(function(){Wn(e,A),Jn(e,M),$.cancelled||O||Kn(e,o,$)})),t.data.show&&(n&&n(),S&&S(e,$)),N||O||$()}}}function ne(t,n){function e(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Wn(r,u),Wn(r,c),Xn(function(){Wn(r,s),Jn(r,u),g.cancelled||y||Kn(r,a,g)})),l&&l(r,g),v||y||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=ee(t.data.transition);if(!i)return n();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,u=i.leaveClass,s=i.leaveToClass,c=i.leaveActiveClass,f=i.beforeLeave,l=i.leave,h=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,v=o!==!1&&!wi,y=l&&(l._length||l.length)>1,g=r._leaveCb=re(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Jn(r,s),Jn(r,c)),g.cancelled?(v&&Jn(r,u),p&&p(r)):(n(),h&&h(r)),r._leaveCb=null});d?d(e):e()}}function ee(t){if(t){if("object"==typeof t){var n={};return t.css!==!1&&l(n,na(t.name||"v")),l(n,t),n}return"string"==typeof t?na(t):void 0}}function re(t){var n=!1;return function(){n||(n=!0,t())}}function ie(t,n){n.data.show||te(n)}function oe(t,n,e){var r=n.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,u=0,s=t.options.length;u<s;u++)if(a=t.options[u],i)o=_(r,ue(a))>-1,a.selected!==o&&(a.selected=o);else if(g(ue(a),r))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}}function ae(t,n){for(var e=0,r=n.length;e<r;e++)if(g(ue(n[e]),t))return!1;return!0}function ue(t){return"_value"in t?t._value:t.value}function se(t){t.target.composing=!0}function ce(t){t.target.composing=!1,fe(t.target,"input")}function fe(t,n){var e=document.createEvent("HTMLEvents");e.initEvent(n,!0,!0),t.dispatchEvent(e)}function le(t){return!t.componentInstance||t.data&&t.data.transition?t:le(t.componentInstance._vnode)}function he(t){var n=t&&t.componentOptions;return n&&n.Ctor.options.abstract?he(ft(n.children)):t}function pe(t){var n={},e=t.$options;for(var r in e.propsData)n[r]=t[r];var i=e._parentListeners;for(var o in i)n[si(o)]=i[o].fn;return n}function de(t,n){return/\d-keep-alive$/.test(n.tag)?t("keep-alive"):null}function ve(t){for(;t=t.parent;)if(t.data.transition)return!0}function ye(t,n){return n.key===t.key&&n.tag===t.tag}function ge(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function _e(t){t.data.newPos=t.elm.getBoundingClientRect()}function me(t){var n=t.data.pos,e=t.data.newPos,r=n.left-e.left,i=n.top-e.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function xe(t,n){var e=document.createElement("div");return e.innerHTML='<div a="'+t+'">',e.innerHTML.indexOf(n)>0}function be(t){return da=da||document.createElement("div"),da.innerHTML=t,da.textContent}function we(t,n){return n&&(t=t.replace(uu,"\n")),t.replace(ou,"<").replace(au,">").replace(su,"&").replace(cu,'"')}function Me(t,n){function e(n){l+=n,t=t.substring(n)}function r(){var n=t.match(Aa);if(n){var r={tagName:n[1],attrs:[],start:l};e(n[0].length);for(var i,o;!(i=t.match(Ca))&&(o=t.match(wa));)e(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],e(i[0].length),r.end=l,r}}function i(
update:Pn},Io={create:jn,update:jn},zo={create:In,update:In},Do=s(function(t){var n={},e=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(e).forEach(function(t){if(t){var e=t.split(r);e.length>1&&(n[e[0].trim()]=e[1].trim())}}),n}),Uo=/^--/,qo=/\s*!important$/,Fo=function(t,n,e){Uo.test(n)?t.style.setProperty(n,e):qo.test(e)?t.style.setProperty(n,e.replace(qo,""),"important"):t.style[Ho(n)]=e},Bo=["Webkit","Moz","ms"],Ho=s(function(t){if(ho=ho||document.createElement("div"),t=si(t),"filter"!==t&&t in ho.style)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e<Bo.length;e++){var r=Bo[e]+n;if(r in ho.style)return r}}),Yo={create:Hn,update:Hn},Vo=mi&&!wi,Xo="transition",Wo="animation",Jo="transition",Ko="transitionend",Zo="animation",Go="animationend";Vo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Jo="WebkitTransition",Ko="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Zo="WebkitAnimation",Go="webkitAnimationEnd"));var Qo=mi&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,ta=/\b(transform|all)(,|$)/,na=s(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterToClass:t+"-enter-to",leaveToClass:t+"-leave-to",appearToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),ea=mi?{create:ie,activate:ie,remove:function(t,n){t.data.show?n():ne(t,n)}}:{},ra=[Lo,jo,Io,zo,Yo,ea],ia=ra.concat(Ro),oa=An({nodeOps:To,modules:ia});wi&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&fe(t,"input")});var aa={inserted:function(t,n,e){if("select"===e.tag){var r=function(){oe(t,n,e.context)};r(),(bi||Mi)&&setTimeout(r,0)}else"textarea"!==e.tag&&"text"!==t.type||(t._vModifiers=n.modifiers,n.modifiers.lazy||(ki||(t.addEventListener("compositionstart",se),t.addEventListener("compositionend",ce)),wi&&(t.vmodel=!0)))},componentUpdated:function(t,n,e){if("select"===e.tag){oe(t,n,e.context);var r=t.multiple?n.value.some(function(n){return ae(n,t.options)}):n.value!==n.oldValue&&ae(n.value,t.options);r&&fe(t,"change")}}},ua={bind:function(t,n,e){var r=n.value;e=le(e);var i=e.data&&e.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i&&!wi?(e.data.show=!0,te(e,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,n,e){var r=n.value,i=n.oldValue;if(r!==i){e=le(e);var o=e.data&&e.data.transition;o&&!wi?(e.data.show=!0,r?te(e,function(){t.style.display=t.__vOriginalDisplay}):ne(e,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,n,e,r,i){i||(t.style.display=t.__vOriginalDisplay)}},sa={model:aa,show:ua},ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},fa={name:"transition",props:ca,abstract:!0,render:function(t){var n=this,e=this.$slots.default;if(e&&(e=e.filter(function(t){return t.tag}),e.length)){var r=this.mode,i=e[0];if(ve(this.$vnode))return i;var o=he(i);if(!o)return i;if(this._leaving)return de(t,i);var a="__transition-"+this._uid+"-",s=o.key=null==o.key?a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key,c=(o.data||(o.data={})).transition=pe(this),f=this._vnode,h=he(f);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),h&&h.data&&!ye(o,h)){var p=h&&(h.data.transition=l({},c));if("out-in"===r)return this._leaving=!0,it(p,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()},s),de(t,i);if("in-out"===r){var d,v=function(){d()};it(c,"afterEnter",v,s),it(c,"enterCancelled",v,s),it(p,"delayLeave",function(t){d=t},s)}}return i}}},la=l({tag:String,moveClass:String},ca);delete la.mode;var ha={props:la,render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=t
}function fe(t){return(1-Math.cos(Rp*t))/2}function le(t){return Math.pow(2,10*t-10)}function he(t){return 1-Math.pow(2,-10*t)}function pe(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function de(t){return 1-Math.sqrt(1-t*t)}function ve(t){return Math.sqrt(1- --t*t)}function ye(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function ge(t){return 1-_e(1-t)}function _e(t){return(t=+t)<jp?Yp*t*t:t<zp?Yp*(t-=Ip)*t+Dp:t<qp?Yp*(t-=Up)*t+Fp:Yp*(t-=Bp)*t+Hp}function me(t){return((t*=2)<=1?1-_e(1-t):_e(t-1)+1)/2}function xe(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return ed.time=pn(),ed;return e}function be(){t.event.stopImmediatePropagation()}function we(t){return{type:t}}function Me(){return!t.event.button}function ke(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Ae(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ce(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Se(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Te(){return Ne(pd)}function Ee(){return Ne(dd)}function Ne(n){function e(t){var e=t.property("__brush",u).selectAll(".overlay").data([we("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",yd.overlay).merge(e).each(function(){var t=Ae(this).extent;vl(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])}),t.selectAll(".selection").data([we("selection")]).enter().append("rect").attr("class","selection").attr("cursor",yd.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=t.selectAll(".handle").data(n.handles,function(t){return t.type});i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return yd[t.type]}),t.each(r).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",a)}function r(){var t=vl(this),n=Ae(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]-h/2:n[0][0]-h/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-h/2:n[0][1]-h/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+h:h}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+h:h})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function i(t,n){return t.__brush.emitter||new o(t,n)}function o(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function a(){function e(){var t=Pf(k);!j||w||M||(Math.abs(t[0]-z[0])>Math.abs(t[1]-z[1])?M=!0:w=!0),z=t,b=!0,sd(),o()}function o(){var t;switch(m=z[0]-I[0],x=z[1]-I[1],C){case fd:case cd:S&&(m=Math.max($-l,Math.min(R-v,m)),h=l+m,y=v+m),T&&(x=Math.max(P-p,Math.min(L-g,x)),d=p+x,_=g+x);break;case ld:S<0?(m=Math.max($-l,Math.min(R-l,m)),h=l+m,y=v):S>0&&(m=Math.max($-v,Math.min(R-v,m)),h=l,y=v+m),T<0?(x=Math.max(P-p,Math.min(L-p,x)),d=p+x,_=g):T>0&&(x=Math.max(P-g,Math.min(L-g,x)),d=p,_=g+x);break;case hd:S&&(h=Math.max($,Math.min(R,l-m*S)),y=Math.max($,Math.min(R,v+m*S))),T&&(d=Math.max(P,Math.min(L,p-x*T)),_=Math.max(P,Math.min(L,g+x*T)))}y<h&&(S*=-1,t=l,l=v,v=t,t=h,h=y,y=t,A in gd&&q.attr("cursor",yd[A=gd[A]])),_<d&&(T*=-1,t=p,p=g,g=t,t=d,d=_,_=t,A in _d&&q.attr("cursor",yd[A=_d[A]])),E.selection&&(O=E.selection),w&&(h=O[0][0],y=O[1][0]),M&&(d=O[0][1],_=O[1][1]),O[0][0]===h&&O[0][1]===d&&O[1][0]===y&&O[1][1]===_||(E.selection=[[h,d],[y,_]],r.call(k),D.brush())}function a(){if(be(),t.event.touches){if(t.event.touches.length)return;s&&clearTimeout(s),s=setTimeout(function(){s=null},500),U.on("touchmove.brush touchend.brush touchcancel.brush",null)}else yt(t.e
++t._ended,t._tasks[n]=null,null==t._error&&(null!=e?fa(t,e):(t._data[n]=r,t._waiting?ua(t):la(t))))}}function fa(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(t){}t._active=NaN,la(t)}function la(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function ha(t){return new aa(arguments.length?+t:1/0)}function pa(t){return function(n,e){t(null==n?e:null)}}function da(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function va(t,n){return function(e){return t(e.responseText,n)}}function ya(t){function n(n){var o=n+"",a=e.get(o);if(!a){if(i!==Em)return i;e.set(o,a=r.push(n))}return t[(a-1)%t.length]}var e=Ue(),r=[],i=Em;return t=null==t?[]:Tm.call(t),n.domain=function(t){if(!arguments.length)return r.slice();r=[],e=Ue();for(var i,o,a=-1,u=t.length;++a<u;)e.has(o=(i=t[a])+"")||e.set(o,r.push(i));return n},n.range=function(e){return arguments.length?(t=Tm.call(e),n):t.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return ya().domain(r).range(t).unknown(i)},n}function ga(){function t(){var t=i().length,r=a[1]<a[0],l=a[r-0],h=a[1-r];n=(h-l)/Math.max(1,t-s+2*c),u&&(n=Math.floor(n)),l+=(h-l-n*(t-s))*f,e=n*(1-s),u&&(l=Math.round(l),e=Math.round(e));var p=Fc(t).map(function(t){return l+n*t});return o(r?p.reverse():p)}var n,e,r=ya().unknown(void 0),i=r.domain,o=r.range,a=[0,1],u=!1,s=0,c=0,f=.5;return delete r.unknown,r.domain=function(n){return arguments.length?(i(n),t()):i()},r.range=function(n){return arguments.length?(a=[+n[0],+n[1]],t()):a.slice()},r.rangeRound=function(n){return a=[+n[0],+n[1]],u=!0,t()},r.bandwidth=function(){return e},r.step=function(){return n},r.round=function(n){return arguments.length?(u=!!n,t()):u},r.padding=function(n){return arguments.length?(s=c=Math.max(0,Math.min(1,n)),t()):s},r.paddingInner=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),t()):s},r.paddingOuter=function(n){return arguments.length?(c=Math.max(0,Math.min(1,n)),t()):c},r.align=function(n){return arguments.length?(f=Math.max(0,Math.min(1,n)),t()):f},r.copy=function(){return ga().domain(i()).range(a).round(u).paddingInner(s).paddingOuter(c).align(f)},t()}function _a(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return _a(n())},t}function ma(){return _a(ga().paddingInner(1))}function xa(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Nm(n)}function ba(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}function wa(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function Ma(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o<i?(i=e(o,i),a=r(u,a)):(i=e(i,o),a=r(a,u)),function(t){return a(i(t))}}function ka(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<i;)o[u]=e(t[u],t[u+1]),a[u]=r(n[u],n[u+1]);return function(n){var e=Nc(t,n,1,i)-1;return a[e](o[e](n))}}function Aa(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Ca(t,n){function e(){return i=Math.min(u.length,s.length)>2?ka:Ma,o=a=null,r}function r(n){return(o||(o=i(u,s,f?ba(t):t,c)))(+n)}var i,o,a,u=$m,s=$m,c=bh,f=!1;return r.invert=function(t){return(a||(a=i(s,u,xa,f?wa(n):n)))(+t)},r.domain=function(t){return arguments.length?(u=Sm.call(t,Om),e()):u.slice()},r.range=function(t){return arguments.length?(s=Tm.call(t),e()):s.slice()},r.rangeRound=function(t){return s=Tm.call(t),c=wh,e()},r.clamp=function(t){return arguments.length?(f=!!t,e()):f},r.interpolate=function(t){return arguments.length?(c=t,e()):c},e()}function Sa(t){var n=t.domain;return t.ticks=function(t){var e=n();return Vc(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Pm(n(),t,e)},t.nice=function(r){var i=n(),o=i.length-1,a=null==r?10:r,u=i[0],s=i[o],c=e(u,s,a);return c&&(c=e(Math.floor(u/c)*c,Math.ceil(s/c)*c
{if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<a;)if(e=(t=i[o]).type)r[e]=g(r[e],t.name,n);else if(null==n)for(e in r)r[e]=g(r[e],t.name,null);return this}for(;++o<a;)if((e=(t=i[o]).type)&&(e=y(r[e],t.name)))return e}},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new d(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(r=this._[t],o=0,e=r.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 mf="http://www.w3.org/1999/xhtml",xf={svg:"http://www.w3.org/2000/svg",xhtml:mf,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},bf=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),xf.hasOwnProperty(n)?{space:xf[n],local:t}:t},wf=function(t){var n=bf(t);return(n.local?m:_)(n)},Mf=0;b.prototype=x.prototype={constructor:b,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._}};var kf=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Af=document.documentElement;if(!Af.matches){var Cf=Af.webkitMatchesSelector||Af.msMatchesSelector||Af.mozMatchesSelector||Af.oMatchesSelector;kf=function(t){return function(){return Cf.call(this,t)}}}}var Sf=kf,Tf={};if(t.event=null,"undefined"!=typeof document){var Ef=document.documentElement;"onmouseenter"in Ef||(Tf={mouseenter:"mouseover",mouseleave:"mouseout"})}var Nf=function(t,n,e){var r,i,o=k(t+""),a=o.length;{if(!(arguments.length<2)){for(u=n?C:A,null==e&&(e=!1),r=0;r<a;++r)this.each(u(o[r],n,e));return this}var u=this.node().__on;if(u)for(var s,c=0,f=u.length;c<f;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}},Of=function(){for(var n,e=t.event;n=e.sourceEvent;)e=n;return e},$f=function(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()),[r.x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]},Pf=function(t){var n=Of();return n.changedTouches&&(n=n.changedTouches[0]),$f(t,n)},Rf=function(t){return null==t?T:function(){return this.querySelector(t)}},Lf=function(t){"function"!=typeof t&&(t=Rf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a,u=n[i],s=u.length,c=r[i]=new Array(s),f=0;f<s;++f)(o=u[f])&&(a=t.call(o,o.__data__,f,u))&&("__data__"in o&&(a.__data__=o.__data__),c[f]=a);return new pt(r,this._parents)},jf=function(t){return null==t?E:function(){return this.querySelectorAll(t)}},If=function(t){"function"!=typeof t&&(t=jf(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var a,u=n[o],s=u.length,c=0;c<s;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new pt(r,i)},zf=function(t){"function"!=typeof t&&(t=Sf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new pt(r,this._parents)},Df=function(t){return new Array(t.length)},Uf=function(){return new pt(this._enter||this._groups.map(Df),this._parents)};N.prototype={constructor:N,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)}};var qf=function(t){return function(){return t}},Ff="$",Bf=function(t,n){if(!t)return p=new Array(this.size()),c=-1,this.each(function(t){p[++c]=t}),p;var e=n?$:O,r=this
},get:function(t){return this[jd+t]},set:function(t,n){return this[jd+t]=n,this},remove:function(t){var n=jd+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===jd&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===jd&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===jd&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===jd&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===jd&&++t;return t},empty:function(){for(var t in this)if(t[0]===jd)return!1;return!0},each:function(t){for(var n in this)n[0]===jd&&t(this[n],n.slice(1),this)}};var Id=function(){function t(n,i,a,u){if(i>=o.length)return null!=r?r(n):null!=e?n.sort(e):n;for(var s,c,f,l=-1,h=n.length,p=o[i++],d=Ue(),v=a();++l<h;)(f=d.get(s=p(c=n[l])+""))?f.push(c):d.set(s,[c]);return d.each(function(n,e){u(v,e,t(n,i,a,u))}),v}function n(t,e){if(++e>o.length)return t;var i,u=a[e-1];return null!=r&&e>=o.length?i=t.entries():(i=[],t.each(function(t,r){i.push({key:r,values:n(t,e)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}var e,r,i,o=[],a=[];return i={object:function(n){return t(n,0,qe,Fe)},map:function(n){return t(n,0,Be,He)},entries:function(e){return n(t(e,0,Be,He),0)},key:function(t){return o.push(t),i},sortKeys:function(t){return a[o.length-1]=t,i},sortValues:function(t){return e=t,i},rollup:function(t){return r=t,i}}},zd=Ue.prototype;Ye.prototype=Ve.prototype={constructor:Ye,has:zd.has,add:function(t){return t+="",this[jd+t]=t,this},remove:zd.remove,clear:zd.clear,values:zd.keys,size:zd.size,empty:zd.empty,each:zd.each};var Dd=function(t){var n=[];for(var e in t)n.push(e);return n},Ud=function(t){var n=[];for(var e in t)n.push(t[e]);return n},qd=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Fd=function(t){function n(t,n){var r,i,o=e(t,function(t,e){return r?r(t,e-1):(i=t,void(r=n?We(t,n):Xe(t)))});return o.columns=i,o}function e(t,n){function e(){if(f>=c)return a;if(i)return i=!1,o;var n,e=f;if(34===t.charCodeAt(e)){for(var r=e;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return f=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++f):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;f<c;){var u=1;if(n=t.charCodeAt(f++),10===n)i=!0;else if(13===n)i=!0,10===t.charCodeAt(f)&&(++f,++u);else if(n!==s)continue;return t.slice(e,f-u)}return t.slice(e)}for(var r,i,o={},a={},u=[],c=t.length,f=0,l=0;(r=e())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=e();n&&null==(h=n(h,l++))||u.push(h)}return u}function r(n,e){return null==e&&(e=Je(n)),[e.map(a).join(t)].concat(n.map(function(n){return e.map(function(t){return a(n[t])}).join(t)})).join("\n")}function i(t){return t.map(o).join("\n")}function o(n){return n.map(a).join(t)}function a(t){return null==t?"":u.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var u=new RegExp('["'+t+"\n]"),s=t.charCodeAt(0);return{parse:n,parseRows:e,format:r,formatRows:i}},Bd=Fd(","),Hd=Bd.parse,Yd=Bd.parseRows,Vd=Bd.format,Xd=Bd.formatRows,Wd=Fd("\t"),Jd=Wd.parse,Kd=Wd.parseRows,Zd=Wd.format,Gd=Wd.formatRows,Qd=function(t,n){function e(){var e,i,o=r.length,a=0,u=0;for(e=0;e<o;++e)i=r[e],a+=i.x,u+=i.y;for(a=a/o-t,u=u/o-n,e=0;e<o;++e)i=r[e],i.x-=a,i.y-=u}var r;return null==t&&(t=0),null==n&&(n=0),e.initialize=function(t){r=t},e.x=function(n){return arguments.length?(t=+n,e):t},e.y=function(t){return arguments.length?(n=+t,e):n},e},tv=function(t){return function(){return t}},nv=function(){return 1e-6*(Math.random()-.5)},ev=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Ke(this.cover(n,e),n,e,t)},rv=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 a,u,s=i-e,c=this._root;switch(u=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do a=new Array(4),a[u]=c,c=a;while(s*=2,i=e+s,o=r+s,t>i||n>o);break;case 1:do a=new Array(4),a[u]=c,c=a;while(s*=2,e=i-s,o=r+s,e>t||n>o);break;ca
return i=o=null,a}var n,e,r,i,o,a,u=1,s=0,c=0,f=1,l=1,h=Cg,p=null,d=Cg;return a={stream:function(t){return i&&o===t?i:i=h(d(o=t))},clipExtent:function(i){return arguments.length?(d=null==i?(p=n=e=r=null,Cg):si(p=+i[0][0],n=+i[0][1],e=+i[1][0],r=+i[1][1]),t()):null==p?null:[[p,n],[e,r]]},scale:function(n){return arguments.length?(h=so((u=+n)*f,u*l,s,c),t()):u},translate:function(n){return arguments.length?(h=so(u*f,u*l,s=+n[0],c=+n[1]),t()):[s,c]},reflectX:function(n){return arguments.length?(h=so(u*(f=n?-1:1),u*l,s,c),t()):f<0},reflectY:function(n){return arguments.length?(h=so(u*f,u*(l=n?-1:1),s,c),t()):l<0},fitExtent:function(t,n){return Bi(a,t,n)},fitSize:function(t,n){return Hi(a,t,n)}}};co.invert=to(yr);var w_=function(){return Xi(co).scale(249.5).clipAngle(90+my)};fo.invert=to(function(t){return 2*Ty(t)});var M_=function(){return Xi(fo).scale(250).clipAngle(142)};lo.invert=function(t,n){return[-n,2*Ty($y(t))-wy]};var k_=function(){var t=eo(lo),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):(t=n(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)},A_=function(){function t(t){var o,a=0;t.eachAfter(function(t){var e=t.children;e?(t.x=po(e),t.y=yo(e)):(t.x=o?a+=n(t,o):0,t.y=0,o=t)});var u=_o(t),s=mo(t),c=u.x-n(u,s)/2,f=s.x+n(s,u)/2;return t.eachAfter(i?function(n){n.x=(n.x-t.x)*e,n.y=(t.y-n.y)*r}:function(n){n.x=(n.x-c)/(f-c)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=ho,e=1,r=1,i=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(n){return arguments.length?(i=!1,e=+n[0],r=+n[1],t):i?null:[e,r]},t.nodeSize=function(n){return arguments.length?(i=!0,e=+n[0],r=+n[1],t):i?[e,r]:null},t},C_=function(){return this.eachAfter(xo)},S_=function(t){var n,e,r,i,o=this,a=[o];do for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)a.push(e[r]);while(a.length);return this},T_=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},E_=function(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=a.pop();)t(i);return this},N_=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})},O_=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},$_=function(t){for(var n=this,e=bo(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},P_=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},R_=function(){var t=[];return this.each(function(n){t.push(n)}),t},L_=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},j_=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};So.prototype=wo.prototype={constructor:So,count:C_,each:S_,eachAfter:E_,eachBefore:T_,sum:N_,sort:O_,path:$_,ancestors:P_,descendants:R_,leaves:L_,links:j_,copy:Mo};var I_=function(t){for(var n,e=(t=t.slice()).length,r=null,i=r;e;){var o=new To(t[e-1]);i=i?i.next=o:r=o,t[n]=t[--e]}return{head:r,tail:i}},z_=function(t){return No(I_(t),[])},D_=function(t){return Do(t),t},U_=function(t){return function(){return t}},q_=function(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Ho(n)).eachAfter(Yo(i,.5)).eachBefore(Vo(1)):t.eachBefore(Ho(Bo)).eachAfter(Yo(Fo,1)).eachAfter(Yo(i,t.r/Math.min(e,r))).eachBefore(Vo(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Fo;return t.radius=function(e){return arguments.length?(n=Uo(e),t):n},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i="function"==typeof n?n:U_(+n),t):i},t},F_=function(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)},B_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-n)/t.value;++u<s;)o=a[u],o.y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*c},H_=f
return t.value=function(e){return arguments.length?(n="function"==typeof e?e:gb(+e),t):n},t.sortValues=function(n){return arguments.length?(e=n,r=null,t):e},t.sort=function(n){return arguments.length?(r=n,e=null,t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:gb(+n),t):o},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:gb(+n),t):a},t},Eb=cs(Mb);ss.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 Nb=function(){return fs(kb().curve(Eb))},Ob=function(){var t=Ab().curve(Eb),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 fs(e())},delete t.lineX0,t.lineEndAngle=function(){return fs(r())},delete t.lineX1,t.lineInnerRadius=function(){return fs(i())},delete t.lineY0,t.lineOuterRadius=function(){return fs(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(cs(t)):n()._curve},t},$b={draw:function(t,n){var e=Math.sqrt(n/mb);t.moveTo(e,0),t.arc(0,0,e,0,bb)}},Pb={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()}},Rb=Math.sqrt(1/3),Lb=2*Rb,jb={draw:function(t,n){var e=Math.sqrt(n/Lb),r=e*Rb;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Ib=.8908130915292852,zb=Math.sin(mb/10)/Math.sin(7*mb/10),Db=Math.sin(bb/10)*zb,Ub=-Math.cos(bb/10)*zb,qb={draw:function(t,n){var e=Math.sqrt(n*Ib),r=Db*e,i=Ub*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var a=bb*o/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*e,-u*e),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},Fb={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},Bb=Math.sqrt(3),Hb={draw:function(t,n){var e=-Math.sqrt(n/(3*Bb));t.moveTo(0,2*e),t.lineTo(-Bb*e,-e),t.lineTo(Bb*e,-e),t.closePath()}},Yb=-.5,Vb=Math.sqrt(3)/2,Xb=1/Math.sqrt(12),Wb=3*(Xb/2+1),Jb={draw:function(t,n){var e=Math.sqrt(n/Wb),r=e/2,i=e*Xb,o=r,a=e*Xb+e,u=-o,s=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,s),t.lineTo(Yb*r-Vb*i,Vb*r+Yb*i),t.lineTo(Yb*o-Vb*a,Vb*o+Yb*a),t.lineTo(Yb*u-Vb*s,Vb*u+Yb*s),t.lineTo(Yb*r+Vb*i,Yb*i-Vb*r),t.lineTo(Yb*o+Vb*a,Yb*a-Vb*o),t.lineTo(Yb*u+Vb*s,Yb*s-Vb*u),t.closePath()}},Kb=[$b,Pb,jb,Fb,qb,Hb,Jb],Zb=function(){function t(){var t;if(r||(r=t=Pe()),n.apply(this,arguments).draw(r,+e.apply(this,arguments)),t)return r=null,t+""||null}var n=gb($b),e=gb(64),r=null;return t.type=function(e){return arguments.length?(n="function"==typeof e?e:gb(e),t):n},t.size=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),t):e},t.context=function(n){return arguments.length?(r=null==n?null:n,t):r},t},Gb=function(){};hs.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:ls(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:ls(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Qb=function(t){return new hs(t)};ps.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this.
t.timeSecond=Hm,t.timeSeconds=Ym,t.utcSecond=Hm,t.utcSeconds=Ym,t.timeMinute=Vm,t.timeMinutes=Xm,t.timeHour=Wm,t.timeHours=Jm,t.timeDay=Km,t.timeDays=Zm,t.timeWeek=Gm,t.timeWeeks=ox,t.timeSunday=Gm,t.timeSundays=ox,t.timeMonday=Qm,t.timeMondays=ax,t.timeTuesday=tx,t.timeTuesdays=ux,t.timeWednesday=nx,t.timeWednesdays=sx,t.timeThursday=ex,t.timeThursdays=cx,t.timeFriday=rx,t.timeFridays=fx,t.timeSaturday=ix,t.timeSaturdays=lx,t.timeMonth=hx,t.timeMonths=px,t.timeYear=dx,t.timeYears=vx,t.utcMinute=yx,t.utcMinutes=gx,t.utcHour=_x,t.utcHours=mx,t.utcDay=xx,t.utcDays=bx,t.utcWeek=wx,t.utcWeeks=Ex,t.utcSunday=wx,t.utcSundays=Ex,t.utcMonday=Mx,t.utcMondays=Nx,t.utcTuesday=kx,t.utcTuesdays=Ox,t.utcWednesday=Ax,t.utcWednesdays=$x,t.utcThursday=Cx,t.utcThursdays=Px,t.utcFriday=Sx,t.utcFridays=Rx,t.utcSaturday=Tx,t.utcSaturdays=Lx,t.utcMonth=jx,t.utcMonths=Ix,t.utcYear=zx,t.utcYears=Ux,t.timeFormatDefaultLocale=Bu,t.timeFormatLocale=Ja,t.isoFormat=Vx,t.isoParse=Xx,t.now=pn,t.timer=yn,t.timerFlush=gn,t.timeout=Jh,t.interval=Kh,t.transition=Qn,t.active=od,t.interrupt=up,t.voronoi=Pw,t.zoom=Iw,t.zoomTransform=bc,t.zoomIdentity=Lw,Object.defineProperty(t,"__esModule",{value:!0})})},,,,,,,,,function(t,n,e){t.exports={default:e(40),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(38),o=r(i);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,o.default)(t)}},function(t,n,e){e(65),e(64),t.exports=e(9).Array.from},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(25),i=e(26),o=e(61);t.exports=function(t){return function(n,e,a){var u,s=r(n),c=i(s.length),f=o(a,c);if(t&&e!=e){for(;c>f;)if(u=s[f++],u!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(17),i=e(0)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=a(n=Object(t),i))?e:o?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){"use strict";var r=e(7),i=e(13);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){t.exports=e(1).document&&document.documentElement},function(t,n,e){t.exports=!e(4)&&!e(22)(function(){return 7!=Object.defineProperty(e(19)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(17);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(12),i=e(0)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){var r=e(3);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){"use strict";var r=e(54),i=e(13),o=e(23),a={};e(6)(a,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(a,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){"use strict";var r=e(53),i=e(21),o=e(59),a=e(6),u=e(5),s=e(12),c=e(50),f=e(23),l=e(56),h=e(0)("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",y="values",g=function(){return this};t.exports=function(t,n,e,_,m,x,b){c(e,n,_);var w,M,k,A=function(t){if(!p&&t in E)return E[t];switch(t){case v:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},C=n+" Iterator",S=m==y,T=!1,E=t.prototype,N=E[h]||E[d]||m&&E[m],O=N||A(m),$=m?S?A("entries"):O:void 0,P="Array"==n?E.entries||N:N;if(P&&(k=l(P.call(new t)),k!==Object.prototype&&(f(k,C,!0),r||u(k,h)||a(k,h,g))),S&&N&&N.name!==y&&(T=!0,O=function(){return N.call(this)}),r&&!b||!p&&!T&&E[h]||a(E,h,O),s[n]=O,s[C]=g,m)if(w={values:S?O:A(y),keys:x?O:A(v),entries:$},b)for(M in w)M in E||o(E,M,w[M]);else i(i.P+i.F*(p||T),n,w);return w}},function(t,n,e){var r=e(0)("iterator"),i=!1;try{var
var s=e[a];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete f[s.id]}}}};var g=function(){var t=[];return function(n,e){return t[n]=e,t.filter(Boolean).join("\n")}}()}]);
//# sourceMappingURL=vendor.969602d126b5ff83a532.js.map