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

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.type)||""!==u&&u!==li(t)||(u=!0)),void 0===u){u=U(r,i,t);var s=Ii.shouldConvert;Ii.shouldConvert=!0,S(u),Ii.shouldConvert=s}return u}function U(t,n,e){if(a(n,"default")){var r=n.default;return h(r),t&&t.$options.propsData&&void 0===t.$options.propsData[e]&&void 0!==t[e]?t[e]:"function"==typeof r&&n.type!==Function?r.call(t):r}}function q(t){var n=t&&t.toString().match(/^\s*function (\w+)/);return n&&n[1]}function F(t,n){if(!Array.isArray(n))return q(n)===q(t);for(var e=0,r=n.length;e<r;e++)if(q(n[e])===q(t))return!0;return!1}function B(t){return new Fi(void 0,void 0,void 0,String(t))}function H(t){var n=new Fi(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isCloned=!0,n}function Y(t){for(var n=new Array(t.length),e=0;e<t.length;e++)n[e]=H(t[e]);return n}function V(t,n,e,r,i){if(t){var o=e.$options._base;if(h(t)&&(t=o.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=Q(t,o,function(){e.$forceUpdate()}),!t)return;Ft(t),n=n||{};var a=tt(n,t);if(t.options.functional)return X(t,a,n,e,r);var u=n.on;n.on=n.nativeOn,t.options.abstract&&(n={}),et(n);var s=t.options.name||i,c=new Fi("vue-component-"+t.cid+(s?"-"+s:""),n,void 0,void 0,void 0,e,{Ctor:t,propsData:a,listeners:u,tag:i,children:r});return c}}}function X(t,n,e,r,i){var o={},a=t.options.props;if(a)for(var u in a)o[u]=D(u,a,n);var s=Object.create(r),c=function(t,n,e,r){return lt(s,t,n,e,r,!0)},f=t.options.render.call(null,c,{props:o,data:e,parent:r,children:i,slots:function(){return yt(i,r)}});return f instanceof Fi&&(f.functionalContext=r,e.slot&&((f.data||(f.data={})).slot=e.slot)),f}function W(t,n,e,r){var i=t.componentOptions,o={_isComponent:!0,parent:n,propsData:i.propsData,_componentTag:i.tag,_parentVnode:t,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:e||null,_refElm:r||null},a=t.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function J(t,n,e,r){if(!t.componentInstance||t.componentInstance._isDestroyed){var i=t.componentInstance=W(t,Zi,e,r);i.$mount(n?t.elm:void 0,n)}else if(t.data.keepAlive){var o=t;K(o,o)}}function K(t,n){var e=n.componentOptions,r=n.componentInstance=t.componentInstance;r._updateFromParent(e.propsData,e.listeners,n,e.children)}function Z(t){t.componentInstance._isMounted||(t.componentInstance._isMounted=!0,kt(t.componentInstance,"mounted")),t.data.keepAlive&&(t.componentInstance._inactive=!1,kt(t.componentInstance,"activated"))}function G(t){t.componentInstance._isDestroyed||(t.data.keepAlive?(t.componentInstance._inactive=!0,kt(t.componentInstance,"deactivated")):t.componentInstance.$destroy())}function Q(t,n,e){if(!t.requested){t.requested=!0;var r=t.pendingCallbacks=[e],i=!0,o=function(e){if(h(e)&&(e=n.extend(e)),t.resolved=e,!i)for(var o=0,a=r.length;o<a;o++)r[o](e)},a=function(t){},u=t(o,a);return u&&"function"==typeof u.then&&!t.resolved&&u.then(o,a),i=!1,t.resolved}t.pendingCallbacks.push(e)}function tt(t,n){var e=n.options.props;if(e){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var u in e){var s=li(u);nt(r,o,u,s,!0)||nt(r,i,u,s)||nt(r,a,u,s)}return r}}function nt(t,n,e,r,i){if(n){if(a(n,e))return t[e]=n[e],i||delete n[e],!0;if(a(n,r))return t[e]=n[r],i||delete n[r],!0}return!1}function et(t){t.hook||(t.hook={});for(var n=0;n<Xi.length;n++){var e=Xi[n],r=t.hook[e],i=Vi[e];t.hook[e]=r?rt(i,r):i}}function rt(t,n){return function(e,r,i,o){t(e,r,i,o),n(e,r,i,o)}}function it(t,n,e,r){r+=n;var i=t.__injected||(t.__injected={});if(!i[r]){i[r]=!0;var o=t[n];o?t[n]=function(){o.apply(this,arguments),e.apply(this,arguments)}:t[n]=e}}function ot(t){var n={fn:t,invoker:function(){var t=arguments,e=n.fn;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r].apply(null,t);else e.apply(null,arguments)}};return n}function at(t,n,e,r,i){var o,a,u,s;for(o in t)a=t[o],u=n[o],s=Wi(o),a&&(u?a!==u&&(u.fn=a,t[o]=u):(a.invoker||(a=t[o]=ot(a)),e(s.name,a.invoker,s.once,s.capture)));for(o in n)t[o]||(s=Wi(o),r(s.name,n[o].invoker,s.capture))}function ut(t){for(var n=0;n<t.length;n++)if(Array.isArray(t[n]))return Array.prototype.concat.apply([],t);return t}function st(t){return u(t)?[B(t)]:Array.isArray(t)?ct(t):void 0}function ct(t,n){var e,r,i,o=[];for(e=0;e<t.length;e++)r=t[e],null!=r&&"boolean"!=typeof r&&(i=o[o.length-1],Array.isArray(r)?o.push.apply(o,ct(r,(n||"")+"_"+e)):u(r)?i&&i.text?i.text+=String(r):""!==r&&o.push(B(r)):r.text&&i&&i.text?o[o.length-1]=B(i.text+r.text):(r.tag&&null==r.key&&null!=n&&(r.key="__vlist"+n+"_"+e+"__"),o.push(r)));return o}function ft(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function lt(t,n,e,r,i,o){return(Array.isArray(e)||u(e))&&(i=r,r=e,e=void 0),o&&(i=Ki),ht(t,n,e,r,i)}function ht(t,n,e,r,i){if(e&&e.__ob__)return Yi();if(!n)return Yi();Array.isArray(r)&&"function"==typeof r[0]&&(e=e||{},e.scopedSlots={default:r[0]},r.length=0),i===Ki?r=st(r):i===Ji&&(r=ut(r));var o,a;if("string"==typeof n){var u;a=yi.getTagNamespace(n),o=yi.isReservedTag(n)?new Fi(yi.parsePlatformTagName(n),e,r,void 0,void 0,t):(u=z(t.$options,"components",n))?V(u,e,t,r,n):new Fi(n,e,r,void 0,void 0,t)}else o=V(n,e,t,r);return o?(a&&pt(o,a),o):Yi()}function pt(t,n){if(t.ns=n,"foreignObject"!==t.tag&&t.children)for(var e=0,r=t.children.length;e<r;e++){var i=t.children[e];i.tag&&!i.ns&&pt(i,n)}}function dt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var n=t.$options._parentVnode,e=n&&n.context;t.$slots=yt(t.$options._renderChildren,e),t.$scopedSlots={},t._c=function(n,e,r,i){return lt(t,n,e,r,i,!1)},t.$createElement=function(n,e,r,i){return lt(t,n,e,r,i,!0)}}function vt(t){function n(t,n,e){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&i(t[r],n+"_"+r,e);else i(t,n,e)}function i(t,n,e){t.isStatic=!0,t.key=n,t.isOnce=e}t.prototype.$nextTick=function(t){return Ti(t,this)},t.prototype._render=function(){var t=this,n=t.$options,e=n.render,r=n.staticRenderFns,i=n._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=Y(t.$slots[o]);i&&i.data.scopedSlots&&(t.$scopedSlots=i.data.scopedSlots),r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=e.call(t._renderProxy,t.$createElement)}catch(n){if(!yi.errorHandler)throw n;yi.errorHandler.call(null,n,t),a=t._vnode}return a instanceof Fi||(a=Yi()),a.parent=i,a},t.prototype._s=e,t.prototype._v=B,t.prototype._n=r,t.prototype._e=Yi,t.prototype._q=g,t.prototype._i=_,t.prototype._m=function(t,e){var r=this._staticTrees[t];return r&&!e?Array.isArray(r)?Y(r):H(r):(r=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),n(r,"__static__"+t,!1),r)},t.prototype._o=function(t,e,r){return n(t,"__once__"+e+(r?"_"+r:""),!0),t},t.prototype._f=function(t){return z(this.$options,"filters",t,!0)||vi},t.prototype._l=function(t,n){var e,r,i,o,a;if(Array.isArray(t)||"string"==typeof t)for(e=new Array(t.length),r=0,i=t.length;r<i;r++)e[r]=n(t[r],r);else if("number"==typeof t)for(e=new Array(t),r=0;r<t;r++)e[r]=n(r+1,r);else if(h(t))for(o=Object.keys(t),e=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],e[r]=n(t[a],a,r);return e},t.prototype._t=function(t,n,e,r){var i=this.$scopedSlots[t];if(i)return e=e||{},r&&l(e,r),i(e)||n;var o=this.$slots[t];return o||n},t.prototype._b=function(t,n,e,r){if(e)if(h(e)){Array.isArray(e)&&(e=d(e));for(var i in e)if("class"===i||"style"===i)t[i]=e[i];else{var o=t.attrs&&t.attrs.type,a=r||yi.mustUseProp(n,o,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});a[i]=e[i]}}else;return t},t.prototype._k=function(t,n,e){var r=yi.keyCodes[n]||e;return Array.isArray(r)?r.indexOf(t)===-1:r!==t}}function yt(t,n){var e={};if(!t)return e;for(var r,i,o=[],a=0,u=t.length;a<u;a++)if(i=t[a],(i.context===n||i.functionalContext===n)&&i.data&&(r=i.data.slot)){var s=e[r]||(e[r]=[]);"template"===i.tag?s.push.apply(s,i.children):s.push(i)}else o.push(i);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(e.default=o),e}function gt(t){t._events=Object.create(null),t._hasHookEvent=!1;var n=t.$options._parentListeners;n&&xt(t,n)}function _t(t,n,e){e?Hi.$once(t,n):Hi.$on(t,n)}function mt(t,n){Hi.$off(t,n)}function xt(t,n,e){Hi=t,at(n,e||{},_t,mt,t)}function bt(t){var n=/^hook:/;t.prototype.$on=function(t,e){var r=this;return(r._events[t]||(r._events[t]=[])).push(e),n.test(t)&&(r._hasHookEvent=!0),r},t.prototype.$once=function(t,n){function e(){r.$off(t,e),n.apply(r,arguments)}var r=this;return e.fn=n,r.$on(t,e),r},t.prototype.$off=function(t,n){var e=this;if(!arguments.length)return e._events=Object.create(null),e;var r=e._events[t];if(!r)return e;if(1===arguments.length)return e._events[t]=null,e;for(var i,o=r.length;o--;)if(i=r[o],i===n||i.fn===n){r.splice(o,1);break}return e},t.prototype.$emit=function(t){var n=this,e=n._events[t];if(e){e=e.length>1?f(e):e;for(var r=f(arguments,1),i=0,o=e.length;i<o;i++)e[i].apply(n,r)}return n}}function wt(t){var n=t.$options,e=n.parent;if(e&&!n.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(t)}t.$parent=e,t.$root=e?e.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Mt(t){t.prototype._mount=function(t,n){var e=this;return e.$el=t,e.$options.render||(e.$options.render=Yi),kt(e,"beforeMount"),e._watcher=new io(e,function(){e._update(e._render(),n)},v),n=!1,null==e.$vnode&&(e._isMounted=!0,kt(e,"mounted")),e},t.prototype._update=function(t,n){var e=this;e._isMounted&&kt(e,"beforeUpdate");var r=e.$el,i=e._vnode,o=Zi;Zi=e,e._vnode=t,i?e.$el=e.__patch__(i,t):e.$el=e.__patch__(e.$el,t,n,!1,e.$options._parentElm,e.$options._refElm),Zi=o,r&&(r.__vue__=null),e.$el&&(e.$el.__vue__=e),e.$vnode&&e.$parent&&e.$vnode===e.$parent._vnode&&(e.$parent.$el=e.$el)},t.prototype._updateFromParent=function(t,n,e,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=e,i.$vnode=e,i._vnode&&(i._vnode.parent=e),i.$options._renderChildren=r,t&&i.$options.props){Ii.shouldConvert=!1;for(var a=i.$options._propKeys||[],u=0;u<a.length;u++){var s=a[u];i[s]=D(s,i.$options.props,t,i)}Ii.shouldConvert=!0,i.$options.propsData=t}if(n){var c=i.$options._parentListeners;i.$options._parentListeners=n,xt(i,n,c)}o&&(i.$slots=yt(r,e.context),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){kt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;!n||n._isBeingDestroyed||t.$options.abstract||o(n.$children,t),t._watcher&&t._watcher.teardown();for(var e=t._watchers.length;e--;)t._watchers[e].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,kt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function kt(t,n){var e=t.$options[n];if(e)for(var r=0,i=e.length;r<i;r++)e[r].call(t);t._hasHookEvent&&t.$emit("hook:"+n)}function At(){Gi.length=0,Qi={},to=no=!1}function Ct(){no=!0;var t,n,e;for(Gi.sort(function(t,n){return t.id-n.id}),eo=0;eo<Gi.length;eo++)t=Gi[eo],n=t.id,Qi[n]=null,t.run();for(eo=Gi.length;eo--;)t=Gi[eo],e=t.vm,e._watcher===t&&e._isMounted&&kt(e,"updated");Si&&yi.devtools&&Si.emit("flush"),At()}function St(t){var n=t.id;if(null==Qi[n]){if(Qi[n]=!0,no){for(var e=Gi.length-1;e>=0&&Gi[e].id>t.id;)e--;Gi.splice(Math.max(e,eo)+1,0,t)}else Gi.push(t);to||(to=!0,Ti(Ct))}}function Tt(t){oo.clear(),Et(t,oo)}function Et(t,n){var e,r,i=Array.isArray(t);if((i||h(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(i)for(e=t.length;e--;)Et(t[e],n);else for(r=Object.keys(t),e=r.length;e--;)Et(t[r[e]],n)}}function Nt(t){t._watchers=[];var n=t.$options;n.props&&Ot(t,n.props),n.methods&&Lt(t,n.methods),n.data?$t(t):S(t._data={},!0),n.computed&&Pt(t,n.computed),n.watch&&jt(t,n.watch)}function Ot(t,n){var e=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(n),i=!t.$parent;Ii.shouldConvert=i;for(var o=function(i){var o=r[i];T(t,o,D(o,n,e,t))},a=0;a<r.length;a++)o(a);Ii.shouldConvert=!0}function $t(t){var n=t.$options.data;n=t._data="function"==typeof n?n.call(t):n||{},p(n)||(n={});for(var e=Object.keys(n),r=t.$options.props,i=e.length;i--;)r&&a(r,e[i])||Dt(t,e[i]);S(n,!0)}function Pt(t,n){for(var e in n){var r=n[e];"function"==typeof r?(ao.get=Rt(r,t),ao.set=v):(ao.get=r.get?r.cache!==!1?Rt(r.get,t):c(r.get,t):v,ao.set=r.set?c(r.set,t):v),Object.defineProperty(t,e,ao)}}function Rt(t,n){var e=new io(n,t,v,{lazy:!0});return function(){return e.dirty&&e.evaluate(),$i.target&&e.depend(),e.value}}function Lt(t,n){for(var e in n)t[e]=null==n[e]?v:c(n[e],t)}function jt(t,n){for(var e in n){var r=n[e];if(Array.isArray(r))for(var i=0;i<r.length;i++)It(t,e,r[i]);else It(t,e,r)}}function It(t,n,e){var r;p(e)&&(r=e,e=e.handler),"string"==typeof e&&(e=t[e]),t.$watch(n,e,r)}function zt(t){var n={};n.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",n),t.prototype.$set=E,t.prototype.$delete=N,t.prototype.$watch=function(t,n,e){var r=this;e=e||{},e.user=!0;var i=new io(r,t,n,e);return e.immediate&&n.call(r,i.value),function(){i.teardown()}}}function Dt(t,n){m(n)||Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get:function(){return t._data[n]},set:function(e){t._data[n]=e}})}function Ut(t){t.prototype._init=function(t){var n=this;n._uid=uo++,n._isVue=!0,t&&t._isComponent?qt(n,t):n.$options=I(Ft(n.constructor),t||{},n),n._renderProxy=n,n._self=n,wt(n),gt(n),dt(n),kt(n,"beforeCreate"),Nt(n),kt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function qt(t,n){var e=t.$options=Object.create(t.constructor.options);e.parent=n.parent,e.propsData=n.propsData,e._parentVnode=n._parentVnode,e._parentListeners=n._parentListeners,e._renderChildren=n._renderChildren,e._componentTag=n._componentTag,e._parentElm=n._parentElm,e._refElm=n._refElm,n.render&&(e.render=n.render,e.staticRenderFns=n.staticRenderFns)}function Ft(t){var n=t.options;if(t.super){var e=t.super.options,r=t.superOptions,i=t.extendOptions;e!==r&&(t.superOptions=e,i.render=n.render,i.staticRenderFns=n.staticRenderFns,i._scopeId=n._scopeId,n=t.options=I(e,i),n.name&&(n.components[n.name]=t))}return n}function Bt(t){this._init(t)}function Ht(t){t.use=function(t){if(!t.installed){var n=f(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):t.apply(null,n),t.installed=!0,this}}}function Yt(t){t.mixin=function(t){this.options=I(this.options,t)}}function Vt(t){t.cid=0;var n=1;t.extend=function(t){t=t||{};var e=this,r=e.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||e.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.cid=n++,a.options=I(e.options,t),a.super=e,a.extend=e.extend,a.mixin=e.mixin,a.use=e.use,yi._assetTypes.forEach(function(t){a[t]=e[t]}),o&&(a.options.components[o]=a),a.superOptions=e.options,a.extendOptions=t,i[r]=a,a}}function Xt(t){yi._assetTypes.forEach(function(n){t[n]=function(t,e){return e?("component"===n&&p(e)&&(e.name=e.name||t,e=this.options._base.extend(e)),"directive"===n&&"function"==typeof e&&(e={bind:e,update:e}),this.options[n+"s"][t]=e,e):this.options[n+"s"][t]}})}function Wt(t){return t&&(t.Ctor.options.name||t.tag)}function Jt(t,n){return"string"==typeof t?t.split(",").indexOf(n)>-1:t.test(n)}function Kt(t,n){for(var e in t){var r=t[e];if(r){var i=Wt(r.componentOptions);i&&!n(i)&&(Zt(r),t[e]=null)}}}function Zt(t){t&&(t.componentInstance._inactive||kt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Gt(t){var n={};n.get=function(){return yi},Object.defineProperty(t,"config",n),t.util=qi,t.set=E,t.delete=N,t.nextTick=Ti,t.options=Object.create(null),yi._assetTypes.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,fo),Ht(t),Yt(t),Vt(t),Xt(t)}function Qt(t){for(var n=t.data,e=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(n=tn(r.data,n));for(;e=e.parent;)e.data&&(n=tn(n,e.data));return nn(n)}function tn(t,n){return{staticClass:en(t.staticClass,n.staticClass),class:t.class?[t.class,n.class]:n.class}}function nn(t){var n=t.class,e=t.staticClass;return e||n?en(e,rn(n)):""}function en(t,n){return t?n?t+" "+n:t:n||""}function rn(t){var n="";if(!t)return n;if("string"==typeof t)return t;if(Array.isArray(t)){for(var e,r=0,i=t.length;r<i;r++)t[r]&&(e=rn(t[r]))&&(n+=e+" ");return n.slice(0,-1)}if(h(t)){for(var o in t)t[o]&&(n+=o+" ");return n.slice(0,-1)}return n}function on(t){return ko(t)?"svg":"math"===t?"math":void 0}function an(t){if(!mi)return!0;if(Co(t))return!1;if(t=t.toLowerCase(),null!=So[t])return So[t];var n=document.createElement(t);return t.indexOf("-")>-1?So[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:So[t]=/HTMLUnknownElement/.test(n.toString())}function un(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function sn(t,n){var e=document.createElement(t);return"select"!==t?e:(n.data&&n.data.attrs&&"multiple"in n.data.attrs&&e.setAttribute("multiple","multiple"),e)}function cn(t,n){return document.createElementNS(wo[t],n)}function fn(t){return document.createTextNode(t)}function ln(t){return document.createComment(t)}function hn(t,n,e){t.insertBefore(n,e)}function pn(t,n){t.removeChild(n)}function dn(t,n){t.appendChild(n)}function vn(t){return t.parentNode}function yn(t){return t.nextSibling}function gn(t){return t.tagName}function _n(t,n){t.textContent=n}function mn(t,n,e){t.setAttribute(n,e)}function xn(t,n){var e=t.data.ref;if(e){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;n?Array.isArray(a[e])?o(a[e],i):a[e]===i&&(a[e]=void 0):t.data.refInFor?Array.isArray(a[e])&&a[e].indexOf(i)<0?a[e].push(i):a[e]=[i]:a[e]=i}}function bn(t){return null==t}function wn(t){return null!=t}function Mn(t,n){return t.key===n.key&&t.tag===n.tag&&t.isComment===n.isComment&&!t.data==!n.data}function kn(t,n,e){var r,i,o={};for(r=n;r<=e;++r)i=t[r].key,wn(i)&&(o[i]=r);return o}function An(t){function n(t){return new Fi(S.tagName(t).toLowerCase(),{},[],void 0,t)}function e(t,n){function e(){0===--e.listeners&&r(t)}return e.listeners=n,e}function r(t){var n=S.parentNode(t);n&&S.removeChild(n,t)}function o(t,n,e,r,i){if(t.isRootInsert=!i,!a(t,n,e,r)){var o=t.data,u=t.children,s=t.tag;wn(s)?(t.elm=t.ns?S.createElementNS(t.ns,s):S.createElement(s,t),d(t),l(t,u,n),wn(o)&&p(t,n),f(e,t.elm,r)):t.isComment?(t.elm=S.createComment(t.text),f(e,t.elm,r)):(t.elm=S.createTextNode(t.text),f(e,t.elm,r))}}function a(t,n,e,r){var i=t.data;if(wn(i)){var o=wn(t.componentInstance)&&i.keepAlive;if(wn(i=i.hook)&&wn(i=i.init)&&i(t,!1,e,r),wn(t.componentInstance))return s(t,n),o&&c(t,n,e,r),!0}}function s(t,n){t.data.pendingInsert&&n.push.apply(n,t.data.pendingInsert),t.elm=t.componentInstance.$el,h(t)?(p(t,n),d(t)):(xn(t),n.push(t))}function c(t,n,e,r){for(var i,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,wn(i=o.data)&&wn(i=i.transition)){for(i=0;i<A.activate.length;++i)A.activate[i](No,o);n.push(o);break}f(e,t.elm,r)}function f(t,n,e){t&&(e?S.insertBefore(t,n,e):S.appendChild(t,n))}function l(t,n,e){if(Array.isArray(n))for(var r=0;r<n.length;++r)o(n[r],e,t.elm,null,!0);else u(t.text)&&S.appendChild(t.elm,S.createTextNode(t.text))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return wn(t.tag)}function p(t,n){for(var e=0;e<A.create.length;++e)A.create[e](No,t);M=t.data.hook,wn(M)&&(M.create&&M.create(No,t),M.insert&&n.push(t))}function d(t){var n;wn(n=t.context)&&wn(n=n.$options._scopeId)&&S.setAttribute(t.elm,n,""),wn(n=Zi)&&n!==t.context&&wn(n=n.$options._scopeId)&&S.setAttribute(t.elm,n,"")}function v(t,n,e,r,i,a){for(;r<=i;++r)o(e[r],a,t,n)}function y(t){var n,e,r=t.data;if(wn(r))for(wn(n=r.hook)&&wn(n=n.destroy)&&n(t),n=0;n<A.destroy.length;++n)A.destroy[n](t);if(wn(n=t.children))for(e=0;e<t.children.length;++e)y(t.children[e])}function g(t,n,e,i){for(;e<=i;++e){var o=n[e];wn(o)&&(wn(o.tag)?(_(o),y(o)):r(o.elm))}}function _(t,n){if(n||wn(t.data)){var i=A.remove.length+1;for(n?n.listeners+=i:n=e(t.elm,i),wn(M=t.componentInstance)&&wn(M=M._vnode)&&wn(M.data)&&_(M,n),M=0;M<A.remove.length;++M)A.remove[M](t,n);wn(M=t.data.hook)&&wn(M=M.remove)?M(t,n):n()}else r(t.elm)}function m(t,n,e,r,i){for(var a,u,s,c,f=0,l=0,h=n.length-1,p=n[0],d=n[h],y=e.length-1,_=e[0],m=e[y],b=!i;f<=h&&l<=y;)bn(p)?p=n[++f]:bn(d)?d=n[--h]:Mn(p,_)?(x(p,_,r),p=n[++f],_=e[++l]):Mn(d,m)?(x(d,m,r),d=n[--h],m=e[--y]):Mn(p,m)?(x(p,m,r),b&&S.insertBefore(t,p.elm,S.nextSibling(d.elm)),p=n[++f],m=e[--y]):Mn(d,_)?(x(d,_,r),b&&S.insertBefore(t,d.elm,p.elm),d=n[--h],_=e[++l]):(bn(a)&&(a=kn(n,f,h)),u=wn(_.key)?a[_.key]:null,bn(u)?(o(_,r,t,p.elm),_=e[++l]):(s=n[u],Mn(s,_)?(x(s,_,r),n[u]=void 0,b&&S.insertBefore(t,_.elm,p.elm),_=e[++l]):(o(_,r,t,p.elm),_=e[++l])));f>h?(c=bn(e[y+1])?null:e[y+1].elm,v(t,c,e,l,y,r)):l>y&&g(t,n,f,h)}function x(t,n,e,r){if(t!==n){if(n.isStatic&&t.isStatic&&n.key===t.key&&(n.isCloned||n.isOnce))return n.elm=t.elm,void(n.componentInstance=t.componentInstance);var i,o=n.data,a=wn(o);a&&wn(i=o.hook)&&wn(i=i.prepatch)&&i(t,n);var u=n.elm=t.elm,s=t.children,c=n.children;if(a&&h(n)){for(i=0;i<A.update.length;++i)A.update[i](t,n);wn(i=o.hook)&&wn(i=i.update)&&i(t,n)}bn(n.text)?wn(s)&&wn(c)?s!==c&&m(u,s,c,e,r):wn(c)?(wn(t.text)&&S.setTextContent(u,""),v(u,null,c,0,c.length-1,e)):wn(s)?g(u,s,0,s.length-1):wn(t.text)&&S.setTextContent(u,""):t.text!==n.text&&S.setTextContent(u,n.text),a&&wn(i=o.hook)&&wn(i=i.postpatch)&&i(t,n)}}function b(t,n,e){if(e&&t.parent)t.parent.data.pendingInsert=n;else for(var r=0;r<n.length;++r)n[r].data.hook.insert(n[r])}function w(t,n,e){n.elm=t;var r=n.tag,i=n.data,o=n.children;if(wn(i)&&(wn(M=i.hook)&&wn(M=M.init)&&M(n,!0),wn(M=n.componentInstance)))return s(n,e),!0;if(wn(r)){if(wn(o))if(t.hasChildNodes()){for(var a=!0,u=t.firstChild,c=0;c<o.length;c++){if(!u||!w(u,o[c],e)){a=!1;break}u=u.nextSibling}if(!a||u)return!1}else l(n,o,e);if(wn(i))for(var f in i)if(!T(f)){p(n,e);break}}else t.data!==n.text&&(t.data=n.text);return!0}var M,k,A={},C=t.modules,S=t.nodeOps;for(M=0;M<Oo.length;++M)for(A[Oo[M]]=[],k=0;k<C.length;++k)void 0!==C[k][Oo[M]]&&A[Oo[M]].push(C[k][Oo[M]]);var T=i("attrs,style,class,staticClass,staticStyle,key");return function(t,e,r,i,a,u){if(!e)return void(t&&y(t));var s=!1,c=[];if(t){var f=wn(t.nodeType);if(!f&&Mn(t,e))x(t,e,c,i);else{if(f){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&w(t,e,c))return b(e,c,!0),t;t=n(t)}var l=t.elm,p=S.parentNode(l);if(o(e,c,l._leaveCb?null:p,S.nextSibling(l)),e.parent){for(var d=e.parent;d;)d.elm=e.elm,d=d.parent;if(h(e))for(var v=0;v<A.create.length;++v)A.create[v](No,e.parent)}null!==p?g(p,[t],0,0):wn(t.tag)&&y(t)}}else s=!0,o(e,c,a,u);return b(e,c,s),e.elm}}function Cn(t,n){(t.data.directives||n.data.directives)&&Sn(t,n)}function Sn(t,n){var e,r,i,o=t===No,a=n===No,u=Tn(t.data.directives,t.context),s=Tn(n.data.directives,n.context),c=[],f=[];for(e in s)r=u[e],i=s[e],r?(i.oldValue=r.value,Nn(i,"update",n,t),i.def&&i.def.componentUpdated&&f.push(i)):(Nn(i,"bind",n,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var e=0;e<c.length;e++)Nn(c[e],"inserted",n,t)};o?it(n.data.hook||(n.data.hook={}),"insert",l,"dir-insert"):l()}if(f.length&&it(n.data.hook||(n.data.hook={}),"postpatch",function(){for(var e=0;e<f.length;e++)Nn(f[e],"componentUpdated",n,t)},"dir-postpatch"),!o)for(e in u)s[e]||Nn(u[e],"unbind",t,t,a)}function Tn(t,n){var e=Object.create(null);if(!t)return e;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=Po),e[En(i)]=i,i.def=z(n.$options,"directives",i.name,!0);return e}function En(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Nn(t,n,e,r,i){var o=t.def&&t.def[n];o&&o(e.elm,t,e,r,i)}function On(t,n){if(t.data.attrs||n.data.attrs){var e,r,i,o=n.elm,a=t.data.attrs||{},u=n.data.attrs||{};u.__ob__&&(u=n.data.attrs=l({},u));for(e in u)r=u[e],i=a[e],i!==r&&$n(o,e,r);wi&&u.value!==a.value&&$n(o,"value",u.value);for(e in a)null==u[e]&&(mo(e)?o.removeAttributeNS(_o,xo(e)):yo(e)||o.removeAttribute(e))}}function $n(t,n,e){go(n)?bo(e)?t.removeAttribute(n):t.setAttribute(n,n):yo(n)?t.setAttribute(n,bo(e)||"false"===e?"false":"true"):mo(n)?bo(e)?t.removeAttributeNS(_o,xo(n)):t.setAttributeNS(_o,n,e):bo(e)?t.removeAttribute(n):t.setAttribute(n,e)}function Pn(t,n){var e=n.elm,r=n.data,i=t.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=Qt(n),a=e._transitionClasses;a&&(o=en(o,rn(a))),o!==e._prevClass&&(e.setAttribute("class",o),e._prevClass=o)}}function Rn(t,n,e,r){if(e){var i=n,o=lo;n=function(e){Ln(t,n,r,o),1===arguments.length?i(e):i.apply(null,arguments)}}lo.addEventListener(t,n,r)}function Ln(t,n,e,r){(r||lo).removeEventListener(t,n,e)}function jn(t,n){if(t.data.on||n.data.on){var e=n.data.on||{},r=t.data.on||{};lo=n.elm,at(e,r,Rn,Ln,n.context)}}function In(t,n){if(t.data.domProps||n.data.domProps){var e,r,i=n.elm,o=t.data.domProps||{},a=n.data.domProps||{};a.__ob__&&(a=n.data.domProps=l({},a));for(e in o)null==a[e]&&(i[e]="");for(e in a)if(r=a[e],"textContent"!==e&&"innerHTML"!==e||(n.children&&(n.children.length=0),r!==o[e]))if("value"===e){i._value=r;var u=null==r?"":String(r);zn(i,n,u)&&(i.value=u)}else i[e]=r}}function zn(t,n,e){return!t.composing&&("option"===n.tag||Dn(t,e)||Un(n,e))}function Dn(t,n){return document.activeElement!==t&&t.value!==n}function Un(t,n){var e=t.elm.value,i=t.elm._vModifiers;return i&&i.number||"number"===t.elm.type?r(e)!==r(n):i&&i.trim?e.trim()!==n.trim():e!==n}function qn(t){var n=Fn(t.style);return t.staticStyle?l(t.staticStyle,n):n}function Fn(t){return Array.isArray(t)?d(t):"string"==typeof t?Do(t):t}function Bn(t,n){var e,r={};if(n)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(e=qn(i.data))&&l(r,e);(e=qn(t.data))&&l(r,e);for(var o=t;o=o.parent;)o.data&&(e=qn(o.data))&&l(r,e);return r}function Hn(t,n){var e=n.data,r=t.data;if(e.staticStyle||e.style||r.staticStyle||r.style){var i,o,a=n.elm,u=t.data.staticStyle,s=t.data.style||{},c=u||s,f=Fn(n.data.style)||{};n.data.style=f.__ob__?l({},f):f;var h=Bn(n,!0);for(o in c)null==h[o]&&Fo(a,o,"");for(o in h)i=h[o],i!==c[o]&&Fo(a,o,null==i?"":i)}}function Yn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+t.getAttribute("class")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function Vn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n);else{for(var e=" "+t.getAttribute("class")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");t.setAttribute("class",e.trim())}}function Xn(t){Qo(function(){Qo(t)})}function Wn(t,n){(t._transitionClasses||(t._transitionClasses=[])).push(n),Yn(t,n)}function Jn(t,n){t._transitionClasses&&o(t._transitionClasses,n),Vn(t,n)}function Kn(t,n,e){var r=Zn(t,n),i=r.type,o=r.timeout,a=r.propCount;if(!i)return e();var u=i===Xo?Ko:Go,s=0,c=function(){t.removeEventListener(u,f),e()},f=function(n){n.target===t&&++s>=a&&c()};setTimeout(function(){s<a&&c()},o+1),t.addEventListener(u,f)}function Zn(t,n){var e,r=window.getComputedStyle(t),i=r[Jo+"Delay"].split(", "),o=r[Jo+"Duration"].split(", "),a=Gn(i,o),u=r[Zo+"Delay"].split(", "),s=r[Zo+"Duration"].split(", "),c=Gn(u,s),f=0,l=0;n===Xo?a>0&&(e=Xo,f=a,l=o.length):n===Wo?c>0&&(e=Wo,f=c,l=s.length):(f=Math.max(a,c),e=f>0?a>c?Xo:Wo:null,l=e?e===Xo?o.length:s.length:0);var h=e===Xo&&ta.test(r[Jo+"Property"]);return{type:e,timeout:f,propCount:l,hasTransform:h}}function Gn(t,n){for(;t.length<n.length;)t=t.concat(t);return Math.max.apply(null,n.map(function(n,e){return Qn(n)+Qn(t[e])}))}function Qn(t){return 1e3*Number(t.slice(0,-1))}function te(t,n){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,
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(t){var e=t.tagName,r=t.unarySlash;c&&("p"===u&&_a(e)&&o(u),ga(e)&&u===e&&o(e));for(var i=f(e)||"html"===e&&"head"===u||!!r,a=t.attrs.length,l=new Array(a),h=0;h<a;h++){var p=t.attrs[h];Oa&&p[0].indexOf('""')===-1&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var d=p[3]||p[4]||p[5]||"";l[h]={name:p[1],value:we(d,n.shouldDecodeNewlines)}}i||(s.push({tag:e,lowerCasedTag:e.toLowerCase(),attrs:l}),u=e,r=""),n.start&&n.start(e,l,i,t.start,t.end)}function o(t,e,r){var i,o;if(null==e&&(e=l),null==r&&(r=l),t&&(o=t.toLowerCase()),t)for(i=s.length-1;i>=0&&s[i].lowerCasedTag!==o;i--);else i=0;if(i>=0){for(var a=s.length-1;a>=i;a--)n.end&&n.end(s[a].tag,e,r);s.length=i,u=i&&s[i-1].tag}else"br"===o?n.start&&n.start(t,[],!0,e,r):"p"===o&&(n.start&&n.start(t,[],!1,e,r),n.end&&n.end(t,e,r))}for(var a,u,s=[],c=n.expectHTML,f=n.isUnaryTag||di,l=0;t;){if(a=t,u&&ru(u)){var h=u.toLowerCase(),p=iu[h]||(iu[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i")),d=0,v=t.replace(p,function(t,e,r){return d=r.length,"script"!==h&&"style"!==h&&"noscript"!==h&&(e=e.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),n.chars&&n.chars(e),""});l+=t.length-v.length,t=v,o(h,l-d,l)}else{var y=t.indexOf("<");if(0===y){if(Ea.test(t)){var g=t.indexOf("-->");if(g>=0){e(g+3);continue}}if(Na.test(t)){var _=t.indexOf("]>");if(_>=0){e(_+2);continue}}var m=t.match(Ta);if(m){e(m[0].length);continue}var x=t.match(Sa);if(x){var b=l;e(x[0].length),o(x[1],b,l);continue}var w=r();if(w){i(w);continue}}var M=void 0,k=void 0,A=void 0;if(y>0){for(k=t.slice(y);!(Sa.test(k)||Aa.test(k)||Ea.test(k)||Na.test(k)||(A=k.indexOf("<",1),A<0));)y+=A,k=t.slice(y);M=t.substring(0,y),e(y)}y<0&&(M=t,t=""),n.chars&&M&&n.chars(M)}if(t===a&&n.chars){n.chars(t);break}}o()}function ke(t){function n(){(a||(a=[])).push(t.slice(d,i).trim()),d=i+1}var e,r,i,o,a,u=!1,s=!1,c=!1,f=!1,l=0,h=0,p=0,d=0;for(i=0;i<t.length;i++)if(r=e,e=t.charCodeAt(i),u)39===e&&92!==r&&(u=!1);else if(s)34===e&&92!==r&&(s=!1);else if(c)96===e&&92!==r&&(c=!1);else if(f)47===e&&92!==r&&(f=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||l||h||p){switch(e){case 34:s=!0;break;case 39:u=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:h++;break;case 93:h--;break;case 123:l++;break;case 125:l--}if(47===e){for(var v=i-1,y=void 0;v>=0&&(y=t.charAt(v)," "===y);v--);y&&/[\w$]/.test(y)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):n();if(void 0===o?o=t.slice(0,i).trim():0!==d&&n(),a)for(i=0;i<a.length;i++)o=Ae(o,a[i]);return o}function Ae(t,n){var e=n.indexOf("(");if(e<0)return'_f("'+n+'")('+t+")";var r=n.slice(0,e),i=n.slice(e+1);return'_f("'+r+'")('+t+","+i}function Ce(t,n){var e=n?hu(n):fu;if(e.test(t)){for(var r,i,o=[],a=e.lastIndex=0;r=e.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var u=ke(r[1].trim());o.push("_s("+u+")"),a=i+r[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function Se(t){console.error("[Vue parser]: "+t)}function Te(t,n){return t?t.map(function(t){return t[n]}).filter(function(t){return t}):[]}function Ee(t,n,e){(t.props||(t.props=[])).push({name:n,value:e})}function Ne(t,n,e){(t.attrs||(t.attrs=[])).push({name:n,value:e})}function Oe(t,n,e,r,i,o){(t.directives||(t.directives=[])).push({name:n,rawName:e,value:r,arg:i,modifiers:o})}function $e(t,n,e,r,i){r&&r.capture&&(delete r.capture,n="!"+n),r&&r.once&&(delete r.once,n="~"+n);var o;r&&r.native?(delete r.native,o=t.nativeEvents||(t.nativeEvents={})):o=t.events||(t.events={});var a={value:e,modifiers:r},u=o[n];Array.isArray(u)?i?u.unshift(a):u.push(a):u?o[n]=i?[a,u]:[u,a]:o[n]=a}function Pe(t,n,e){var r=Re(t,":"+n)||Re(t,"v-bind:"+n);if(null!=r)return ke(r);if(e!==!1){var i=Re(t,n);if(null!=i)return JSON.stringify(i)}}function Re(t,n){var e;if(null!=(e=t.attrsMap[n]))for(var r=t.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===n){r.splice(i,1);break}return e}function Le(t){if(Pa=t,$a=Pa.length,La=ja=Ia=0,t.indexOf("[")<0||t.lastIndexOf("]")<$a-1)return{exp:t,idx:null};for(;!Ie();)Ra=je(),ze(Ra)?Ue(Ra):91===Ra&&De(Ra);return{exp:t.substring(0,ja),idx:t.substring(ja+1,Ia)}}function je(){return Pa.charCodeAt(++La)}function Ie(){return La>=$a}function ze(t){return 34===t||39===t}function De(t){var n=1;for(ja=La;!Ie();)if(t=je(),ze(t))Ue(t);else if(91===t&&n++,93===t&&n--,0===n){Ia=La;break}}function Ue(t){for(var n=t;!Ie()&&(t=je(),t!==n););}function qe(t,n){za=n.warn||Se,Da=n.getTagNamespace||di,Ua=n.mustUseProp||di,qa=n.isPreTag||di,Fa=Te(n.modules,"preTransformNode"),Ba=Te(n.modules,"transformNode"),Ha=Te(n.modules,"postTransformNode"),Ya=n.delimiters;var e,r,i=[],o=n.preserveWhitespace!==!1,a=!1,u=!1;return Me(t,{expectHTML:n.expectHTML,isUnaryTag:n.isUnaryTag,shouldDecodeNewlines:n.shouldDecodeNewlines,start:function(t,o,s){function c(t){}var f=r&&r.ns||Da(t);bi&&"svg"===f&&(o=or(o));var l={type:1,tag:t,attrsList:o,attrsMap:rr(o),parent:r,children:[]};f&&(l.ns=f),ir(l)&&!Ci()&&(l.forbidden=!0);for(var h=0;h<Fa.length;h++)Fa[h](l,n);if(a||(Fe(l),l.pre&&(a=!0)),qa(l.tag)&&(u=!0),a)Be(l);else{Ve(l),Xe(l),Ze(l),He(l),l.plain=!l.key&&!o.length,Ye(l),Ge(l),Qe(l);for(var p=0;p<Ba.length;p++)Ba[p](l,n);tr(l)}if(e?i.length||e.if&&(l.elseif||l.else)&&(c(l),Ke(e,{exp:l.elseif,block:l})):(e=l,c(e)),r&&!l.forbidden)if(l.elseif||l.else)We(l,r);else if(l.slotScope){r.plain=!1;var d=l.slotTarget||"default";(r.scopedSlots||(r.scopedSlots={}))[d]=l}else r.children.push(l),l.parent=r;s||(r=l,i.push(l));for(var v=0;v<Ha.length;v++)Ha[v](l,n)},end:function(){var t=i[i.length-1],n=t.children[t.children.length-1];n&&3===n.type&&" "===n.text&&t.children.pop(),i.length-=1,r=i[i.length-1],t.pre&&(a=!1),qa(t.tag)&&(u=!1)},chars:function(t){if(r&&(!bi||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var n=r.children;if(t=u||t.trim()?xu(t):o&&n.length?" ":""){var e;!a&&" "!==t&&(e=Ce(t,Ya))?n.push({type:2,expression:e,text:t}):" "===t&&" "===n[n.length-1].text||r.children.push({type:3,text:t})}}}}),e}function Fe(t){null!=Re(t,"v-pre")&&(t.pre=!0)}function Be(t){var n=t.attrsList.length;if(n)for(var e=t.attrs=new Array(n),r=0;r<n;r++)e[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}function He(t){var n=Pe(t,"key");n&&(t.key=n)}function Ye(t){var n=Pe(t,"ref");n&&(t.ref=n,t.refInFor=nr(t))}function Ve(t){var n;if(n=Re(t,"v-for")){var e=n.match(du);if(!e)return;t.for=e[2].trim();var r=e[1].trim(),i=r.match(vu);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}function Xe(t){var n=Re(t,"v-if");if(n)t.if=n,Ke(t,{exp:n,block:t});else{null!=Re(t,"v-else")&&(t.else=!0);var e=Re(t,"v-else-if");e&&(t.elseif=e)}}function We(t,n){var e=Je(n.children);e&&e.if&&Ke(e,{exp:t.elseif,block:t})}function Je(t){for(var n=t.length;n--;){if(1===t[n].type)return t[n];t.pop()}}function Ke(t,n){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(n)}function Ze(t){var n=Re(t,"v-once");null!=n&&(t.once=!0)}function Ge(t){if("slot"===t.tag)t.slotName=Pe(t,"name");else{var n=Pe(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n),"template"===t.tag&&(t.slotScope=Re(t,"scope"))}}function Qe(t){var n;(n=Pe(t,"is"))&&(t.component=n),null!=Re(t,"inline-template")&&(t.inlineTemplate=!0)}function tr(t){var n,e,r,i,o,a,u,s,c=t.attrsList;for(n=0,e=c.length;n<e;n++)if(r=i=c[n].name,o=c[n].value,pu.test(r))if(t.hasBindings=!0,u=er(r),u&&(r=r.replace(mu,"")),yu.test(r))r=r.replace(yu,""),o=ke(o),s=!1,u&&(u.prop&&(s=!0,r=si(r),"innerHtml"===r&&(r="innerHTML")),u.camel&&(r=si(r))),s||Ua(t.tag,t.attrsMap.type,r)?Ee(t,r,o):Ne(t,r,o);else if(gu.test(r))r=r.replace(gu,""),$e(t,r,o,u);else{r=r.replace(pu,"");var f=r.match(_u);f&&(a=f[1])&&(r=r.slice(0,-(a.length+1))),Oe(t,r,i,o,a,u)}else{Ne(t,r,JSON.stringify(o))}}function nr(t){for(var n=t;n;){if(void 0!==n.for)return!0;n=n.parent}return!1}function er(t){var n=t.match(mu);if(n){var e={};return n.forEach(function(t){e[t.slice(1)]=!0}),e}}function rr(t){for(var n={},e=0,r=t.length;e<r;e++)n[t[e].name]=t[e].value;return n}function ir(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function or(t){for(var n=[],e=0;e<t.length;e++){var r=t[e];bu.test(r.name)||(r.name=r.name.replace(wu,""),n.push(r))}return n}function ar(t,n){t&&(Va=Mu(n.staticKeys||""),Xa=n.isReservedTag||di,sr(t),cr(t,!1))}function ur(t){return i("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function sr(t){if(t.static=lr(t),1===t.type){if(!Xa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,e=t.children.length;n<e;n++){var r=t.children[n];sr(r),r.static||(t.static=!1)}}}function cr(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var e=0,r=t.children.length;e<r;e++)cr(t.children[e],n||!!t.for);t.ifConditions&&fr(t.ifConditions,n)}}function fr(t,n){for(var e=1,r=t.length;e<r;e++)cr(t[e].block,n)}function lr(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||oi(t.tag)||!Xa(t.tag)||hr(t)||!Object.keys(t).every(Va))))}function hr(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function pr(t,n){var e=n?"nativeOn:{":"on:{";for(var r in t)e+='"'+r+'":'+dr(r,t[r])+",";return e.slice(0,-1)+"}"}function dr(t,n){if(n){if(Array.isArray(n))return"["+n.map(function(n){return dr(t,n)}).join(",")+"]";if(n.modifiers){var e="",r=[];for(var i in n.modifiers)Su[i]?e+=Su[i]:r.push(i);r.length&&(e=vr(r)+e);var o=Au.test(n.value)?n.value+"($event)":n.value;return"function($event){"+e+o+"}"}return ku.test(n.value)||Au.test(n.value)?n.value:"function($event){"+n.value+"}"}return"function(){}"}function vr(t){return"if("+t.map(yr).join("&&")+")return;"}function yr(t){var n=parseInt(t,10);if(n)return"$event.keyCode!=="+n;var e=Cu[t];return"_k($event.keyCode,"+JSON.stringify(t)+(e?","+JSON.stringify(e):"")+")"}function gr(t,n){t.wrapData=function(e){return"_b("+e+",'"+t.tag+"',"+n.value+(n.modifiers&&n.modifiers.prop?",true":"")+")"}}function _r(t,n){var e=Qa,r=Qa=[],i=tu;tu=0,nu=n,Wa=n.warn||Se,Ja=Te(n.modules,"transformCode"),Ka=Te(n.modules,"genData"),Za=n.directives||{},Ga=n.isReservedTag||di;var o=t?mr(t):'_c("div")';return Qa=e,tu=i,{render:"with(this){return "+o+"}",staticRenderFns:r}}function mr(t){if(t.staticRoot&&!t.staticProcessed)return xr(t);if(t.once&&!t.onceProcessed)return br(t);if(t.for&&!t.forProcessed)return kr(t);if(t.if&&!t.ifProcessed)return wr(t);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return jr(t);var n;if(t.component)n=Ir(t.component,t);else{var e=t.plain?void 0:Ar(t),r=t.inlineTemplate?null:Nr(t,!0);n="_c('"+t.tag+"'"+(e?","+e:"")+(r?","+r:"")+")"}for(var i=0;i<Ja.length;i++)n=Ja[i](t,n);return n}return Nr(t)||"void 0"}function xr(t){return t.staticProcessed=!0,Qa.push("with(this){return "+mr(t)+"}"),"_m("+(Qa.length-1)+(t.staticInFor?",true":"")+")"}function br(t){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return wr(t);if(t.staticInFor){for(var n="",e=t.parent;e;){if(e.for){n=e.key;break}e=e.parent}return n?"_o("+mr(t)+","+tu++ +(n?","+n:"")+")":mr(t)}return xr(t)}function wr(t){return t.ifProcessed=!0,Mr(t.ifConditions.slice())}function Mr(t){function n(t){return t.once?br(t):mr(t)}if(!t.length)return"_e()";var e=t.shift();return e.exp?"("+e.exp+")?"+n(e.block)+":"+Mr(t):""+n(e.block)}function kr(t){var n=t.for,e=t.alias,r=t.iterator1?","+t.iterator1:"",i=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+n+"),function("+e+r+i+"){return "+mr(t)+"})"}function Ar(t){var n="{",e=Cr(t);e&&(n+=e+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<Ka.length;r++)n+=Ka[r](t);if(t.attrs&&(n+="attrs:{"+zr(t.attrs)+"},"),t.props&&(n+="domProps:{"+zr(t.props)+"},"),t.events&&(n+=pr(t.events)+","),t.nativeEvents&&(n+=pr(t.nativeEvents,!0)+","),t.slotTarget&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=Tr(t.scopedSlots)+","),t.inlineTemplate){var i=Sr(t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),n}function Cr(t){var n=t.directives;if(n){var e,r,i,o,a="directives:[",u=!1;for(e=0,r=n.length;e<r;e++){i=n[e],o=!0;var s=Za[i.name]||Tu[i.name];s&&(o=!!s(t,i,Wa)),o&&(u=!0,a+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return u?a.slice(0,-1)+"]":void 0}}function Sr(t){var n=t.children[0];if(1===n.type){var e=_r(n,nu);return"inlineTemplate:{render:function(){"+e.render+"},staticRenderFns:["+e.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function Tr(t){return"scopedSlots:{"+Object.keys(t).map(function(n){return Er(n,t[n])}).join(",")+"}"}function Er(t,n){return t+":function("+String(n.attrsMap.scope)+"){return "+("template"===n.tag?Nr(n)||"void 0":mr(n))+"}"}function Nr(t,n){var e=t.children;if(e.length){var r=e[0];if(1===e.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return mr(r);var i=Or(e);return"["+e.map(Rr).join(",")+"]"+(n&&i?","+i:"")}}function Or(t){for(var n=0,e=0;e<t.length;e++){var r=t[e];if(1===r.type){if($r(r)||r.ifConditions&&r.ifConditions.some(function(t){return $r(t.block)})){n=2;break}(Pr(r)||r.ifConditions&&r.ifConditions.some(function(t){return Pr(t.block)}))&&(n=1)}}return n}function $r(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Pr(t){return!Ga(t.tag)}function Rr(t){return 1===t.type?mr(t):Lr(t)}function Lr(t){return"_v("+(2===t.type?t.expression:Dr(JSON.stringify(t.text)))+")"}function jr(t){var n=t.slotName||'"default"',e=Nr(t),r="_t("+n+(e?","+e:""),i=t.attrs&&"{"+t.attrs.map(function(t){return si(t.name)+":"+t.value}).join(",")+"}",o=t.attrsMap["v-bind"];return!i&&!o||e||(r+=",null"),i&&(r+=","+i),o&&(r+=(i?"":",null")+","+o),r+")"}function Ir(t,n){var e=n.inlineTemplate?null:Nr(n,!0);return"_c("+t+","+Ar(n)+(e?","+e:"")+")"}function zr(t){for(var n="",e=0;e<t.length;e++){var r=t[e];n+='"'+r.name+'":'+Dr(r.value)+","}return n.slice(0,-1)}function Dr(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Ur(t,n){var e=qe(t.trim(),n);ar(e,n);var r=_r(e,n);return{ast:e,render:r.render,staticRenderFns:r.staticRenderFns}}function qr(t,n){var e=(n.warn||Se,Re(t,"class"));e&&(t.staticClass=JSON.stringify(e));var r=Pe(t,"class",!1);r&&(t.classBinding=r)}function Fr(t){var n="";return t.staticClass&&(n+="staticClass:"+t.staticClass+","),t.classBinding&&(n+="class:"+t.classBinding+","),n}function Br(t,n){var e=(n.warn||Se,Re(t,"style"));if(e){t.staticStyle=JSON.stringify(Do(e))}var r=Pe(t,"style",!1);r&&(t.styleBinding=r)}function Hr(t){var n="";return t.staticStyle&&(n+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(n+="style:("+t.styleBinding+"),"),n}function Yr(t,n,e){eu=e;var r=n.value,i=n.modifiers,o=t.tag,a=t.attrsMap.type;return"select"===o?Jr(t,r,i):"input"===o&&"checkbox"===a?Vr(t,r,i):"input"===o&&"radio"===a?Xr(t,r,i):Wr(t,r,i),!0}function Vr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null",o=Pe(t,"true-value")||"true",a=Pe(t,"false-value")||"false";Ee(t,"checked","Array.isArray("+n+")?_i("+n+","+i+")>-1"+("true"===o?":("+n+")":":_q("+n+","+o+")")),$e(t,"click","var $$a="+n+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+n+"=$$a.concat($$v))}else{$$i>-1&&("+n+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+n+"=$$c}",null,!0)}function Xr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null";i=r?"_n("+i+")":i,Ee(t,"checked","_q("+n+","+i+")"),$e(t,"click",Kr(n,i),null,!0)}function Wr(t,n,e){var r=t.attrsMap.type,i=e||{},o=i.lazy,a=i.number,u=i.trim,s=o||bi&&"range"===r?"change":"input",c=!o&&"range"!==r,f="input"===t.tag||"textarea"===t.tag,l=f?"$event.target.value"+(u?".trim()":""):u?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";l=a||"number"===r?"_n("+l+")":l;var h=Kr(n,l);f&&c&&(h="if($event.target.composing)return;"+h),Ee(t,"value",f?"_s("+n+")":"("+n+")"),$e(t,s,h,null,!0),(u||a||"number"===r)&&$e(t,"blur","$forceUpdate()")}function Jr(t,n,e){var r=e&&e.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==t.attrsMap.multiple?"[0]":""),o=Kr(n,i);$e(t,"change",o,null,!0)}function Kr(t,n){var e=Le(t);return null===e.idx?t+"="+n:"var $$exp = "+e.exp+", $$idx = "+e.idx+";if (!Array.isArray($$exp)){"+t+"="+n+"}else{$$exp.splice($$idx, 1, "+n+")}"}function Zr(t,n){n.value&&Ee(t,"textContent","_s("+n.value+")")}function Gr(t,n){n.value&&Ee(t,"innerHTML","_s("+n.value+")")}function Qr(t,n){return n=n?l(l({},Ru),n):Ru,Ur(t,n)}function ti(t,n,e){var r=(n&&n.warn||Ni,n&&n.delimiters?String(n.delimiters)+t:t);if(Pu[r])return Pu[r];var i={},o=Qr(t,n);i.render=ni(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var u=0;u<a;u++)i.staticRenderFns[u]=ni(o.staticRenderFns[u]);return Pu[r]=i}function ni(t){try{return new Function(t)}catch(t){return v}}function ei(t){if(t.outerHTML)return t.outerHTML;var n=document.createElement("div");return n.appendChild(t.cloneNode(!0)),n.innerHTML}var ri,ii,oi=i("slot,component",!0),ai=Object.prototype.hasOwnProperty,ui=/-(\w)/g,si=s(function(t){return t.replace(ui,function(t,n){return n?n.toUpperCase():""})}),ci=s(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),fi=/([^-])([A-Z])/g,li=s(function(t){return t.replace(fi,"$1-$2").replace(fi,"$1-$2").toLowerCase()}),hi=Object.prototype.toString,pi="[object Object]",di=function(){return!1},vi=function(t){return t},yi={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:di,isUnknownElement:di,getTagNamespace:v,parsePlatformTagName:vi,mustUseProp:di,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},gi=/[^\w.$]/,_i="__proto__"in{},mi="undefined"!=typeof window,xi=mi&&window.navigator.userAgent.toLowerCase(),bi=xi&&/msie|trident/.test(xi),wi=xi&&xi.indexOf("msie 9.0")>0,Mi=xi&&xi.indexOf("edge/")>0,ki=xi&&xi.indexOf("android")>0,Ai=xi&&/iphone|ipad|ipod|ios/.test(xi),Ci=function(){return void 0===ri&&(ri=!mi&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),ri},Si=mi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ti=function(){function t(){r=!1;var t=e.slice(0);e.length=0;for(var n=0;n<t.length;n++)t[n]()}var n,e=[],r=!1;if("undefined"!=typeof Promise&&w(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};n=function(){i.then(t).catch(o),Ai&&setTimeout(v)}}else if("undefined"==typeof MutationObserver||!w(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())n=function(){setTimeout(t,0)};else{var a=1,u=new MutationObserver(t),s=document.createTextNode(String(a));u.observe(s,{characterData:!0}),n=function(){a=(a+1)%2,s.data=String(a)}}return function(t,i){var o;if(e.push(function(){t&&t.call(i),o&&o(i)}),r||(r=!0,n()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){o=t})}}();ii="undefined"!=typeof Set&&w(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Ei,Ni=v,Oi=0,$i=function(){this.id=Oi++,this.subs=[]};$i.prototype.addSub=function(t){this.subs.push(t)},$i.prototype.removeSub=function(t){o(this.subs,t)},$i.prototype.depend=function(){$i.target&&$i.target.addDep(this)},$i.prototype.notify=function(){for(var t=this.subs.slice(),n=0,e=t.length;n<e;n++)t[n].update()},$i.target=null;var Pi=[],Ri=Array.prototype,Li=Object.create(Ri);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var n=Ri[t];x(Li,t,function(){for(var e=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=e[r];var o,a=n.apply(this,i),u=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&u.observeArray(o),u.dep.notify(),a})});var ji=Object.getOwnPropertyNames(Li),Ii={shouldConvert:!0,isSettingProps:!1},zi=function(t){if(this.value=t,this.dep=new $i,this.vmCount=0,x(t,"__ob__",this),Array.isArray(t)){var n=_i?A:C;n(t,Li,ji),this.observeArray(t)}else this.walk(t)};zi.prototype.walk=function(t){for(var n=Object.keys(t),e=0;e<n.length;e++)T(t,n[e],t[n[e]])},zi.prototype.observeArray=function(t){for(var n=0,e=t.length;n<e;n++)S(t[n])};var Di=yi.optionMergeStrategies;Di.data=function(t,n,e){return e?t||n?function(){var r="function"==typeof n?n.call(e):n,i="function"==typeof t?t.call(e):void 0;return r?$(r,i):i}:void 0:n?"function"!=typeof n?t:t?function(){return $(n.call(this),t.call(this))}:n:t},yi._lifecycleHooks.forEach(function(t){Di[t]=P}),yi._assetTypes.forEach(function(t){Di[t+"s"]=R}),Di.watch=function(t,n){if(!n)return t;if(!t)return n;var e={};l(e,t);for(var r in n){var i=e[r],o=n[r];i&&!Array.isArray(i)&&(i=[i]),e[r]=i?i.concat(o):[o]}return e},Di.props=Di.methods=Di.computed=function(t,n){if(!n)return t;if(!t)return n;var e=Object.create(null);return l(e,t),l(e,n),e};var Ui=function(t,n){return void 0===n?t:n},qi=Object.freeze({defineReactive:T,_toString:e,toNumber:r,makeMap:i,isBuiltInTag:oi,remove:o,hasOwn:a,isPrimitive:u,cached:s,camelize:si,capitalize:ci,hyphenate:li,bind:c,toArray:f,extend:l,isObject:h,isPlainObject:p,toObject:d,noop:v,no:di,identity:vi,genStaticKeys:y,looseEqual:g,looseIndexOf:_,isReserved:m,def:x,parsePath:b,hasProto:_i,inBrowser:mi,UA:xi,isIE:bi,isIE9:wi,isEdge:Mi,isAndroid:ki,isIOS:Ai,isServerRendering:Ci,devtools:Si,nextTick:Ti,get _Set(){return ii},mergeOptions:I,resolveAsset:z,get warn(){return Ni},get formatComponentName(){return Ei},validateProp:D}),Fi=function(t,n,e,r,i,o,a){this.tag=t,this.data=n,this.children=e,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=n&&n.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},Bi={child:{}};Bi.child.get=function(){return this.componentInstance},Object.defineProperties(Fi.prototype,Bi);var Hi,Yi=function(){var t=new Fi;return t.text="",t.isComment=!0,t},Vi={init:J,prepatch:K,insert:Z,destroy:G},Xi=Object.keys(Vi),Wi=s(function(t){var n="~"===t.charAt(0);t=n?t.slice(1):t;var e="!"===t.charAt(0);return t=e?t.slice(1):t,{name:t,once:n,capture:e}}),Ji=1,Ki=2,Zi=null,Gi=[],Qi={},to=!1,no=!1,eo=0,ro=0,io=function(t,n,e,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=e,this.id=++ro,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ii,this.newDepIds=new ii,this.expression="","function"==typeof n?this.getter=n:(this.getter=b(n),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};io.prototype.get=function(){M(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&Tt(t),k(),this.cleanupDeps(),t},io.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},io.prototype.cleanupDeps=function(){for(var t=this,n=this.deps.length;n--;){var e=t.deps[n];t.newDepIds.has(e.id)||e.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},io.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():St(this)},io.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var n=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,n)}catch(t){if(!yi.errorHandler)throw t;yi.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,n)}}},io.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},io.prototype.depend=function(){for(var t=this,n=this.deps.length;n--;)t.deps[n].depend()},io.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||o(this.vm._watchers,this);for(var n=this.deps.length;n--;)t.deps[n].removeSub(t);this.active=!1}};var oo=new ii,ao={enumerable:!0,configurable:!0,get:v,set:v},uo=0;Ut(Bt),zt(Bt),bt(Bt),Mt(Bt),vt(Bt);var so=[String,RegExp],co={name:"keep-alive",abstract:!0,props:{include:so,exclude:so},created:function(){this.cache=Object.create(null)},destroyed:function(){var t=this;for(var n in this.cache)Zt(t.cache[n])},watch:{include:function(t){Kt(this.cache,function(n){return Jt(t,n)})},exclude:function(t){Kt(this.cache,function(n){return!Jt(t,n)})}},render:function(){var t=ft(this.$slots.default),n=t&&t.componentOptions;if(n){var e=Wt(n);if(e&&(this.include&&!Jt(this.include,e)||this.exclude&&Jt(this.exclude,e)))return t;var r=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;this.cache[r]?t.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}},fo={KeepAlive:co};Gt(Bt),Object.defineProperty(Bt.prototype,"$isServer",{get:Ci}),Bt.version="2.1.10";var lo,ho,po=i("input,textarea,option,select"),vo=function(t,n,e){return"value"===e&&po(t)&&"button"!==n||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},yo=i("contenteditable,draggable,spellcheck"),go=i("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),_o="http://www.w3.org/1999/xlink",mo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},xo=function(t){return mo(t)?t.slice(6,t.length):""},bo=function(t){return null==t||t===!1},wo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Mo=i("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),ko=i("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ao=function(t){return"pre"===t},Co=function(t){return Mo(t)||ko(t)},So=Object.create(null),To=Object.freeze({createElement:sn,createElementNS:cn,createTextNode:fn,createComment:ln,insertBefore:hn,removeChild:pn,appendChild:dn,parentNode:vn,nextSibling:yn,tagName:gn,setTextContent:_n,setAttribute:mn}),Eo={create:function(t,n){xn(n)},update:function(t,n){t.data.ref!==n.data.ref&&(xn(t,!0),xn(n))},destroy:function(t){xn(t,!0)}},No=new Fi("",{},[]),Oo=["create","activate","update","remove","destroy"],$o={create:Cn,update:Cn,destroy:function(t){Cn(t,No)}},Po=Object.create(null),Ro=[Eo,$o],Lo={create:On,update:On},jo={create:Pn,
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=this.children,i=this.$slots.default||[],o=this.children=[],a=pe(this),u=0;u<i.length;u++){var s=i[u];if(s.tag)if(null!=s.key&&0!==String(s.key).indexOf("__vlist"))o.push(s),e[s.key]=s,(s.data||(s.data={})).transition=a;else;}if(r){for(var c=[],f=[],l=0;l<r.length;l++){var h=r[l];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),e[h.key]?c.push(h):f.push(h)}this.kept=t(n,null,c),this.removed=f}return t(n,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,n=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,n)){t.forEach(ge),t.forEach(_e),t.forEach(me);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var e=t.elm,r=e.style;Wn(e,n),r.transform=r.WebkitTransform=r.transitionDuration="",e.addEventListener(Ko,e._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(e.removeEventListener(Ko,t),e._moveCb=null,Jn(e,n))})}})}},methods:{hasMove:function(t,n){if(!Vo)return!1;if(null!=this._hasMove)return this._hasMove;Wn(t,n);var e=Zn(t);return Jn(t,n),this._hasMove=e.hasTransform}}},pa={Transition:fa,TransitionGroup:ha};Bt.config.isUnknownElement=an,Bt.config.isReservedTag=Co,Bt.config.getTagNamespace=on,Bt.config.mustUseProp=vo,l(Bt.options.directives,sa),l(Bt.options.components,pa),Bt.prototype.__patch__=mi?oa:v,Bt.prototype.$mount=function(t,n){return t=t&&mi?un(t):void 0,this._mount(t,n)},setTimeout(function(){yi.devtools&&Si&&Si.emit("init",Bt)},0);var da,va=!!mi&&xe("\n","&#10;"),ya=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),ga=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),_a=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track",!0),ma=/([^\s"'<>\/=]+)/,xa=/(?:=)/,ba=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],wa=new RegExp("^\\s*"+ma.source+"(?:\\s*("+xa.source+")\\s*(?:"+ba.join("|")+"))?"),Ma="[a-zA-Z_][\\w\\-\\.]*",ka="((?:"+Ma+"\\:)?"+Ma+")",Aa=new RegExp("^<"+ka),Ca=/^\s*(\/?)>/,Sa=new RegExp("^<\\/"+ka+"[^>]*>"),Ta=/^<!DOCTYPE [^>]+>/i,Ea=/^<!--/,Na=/^<!\[/,Oa=!1;"x".replace(/x(.)?/g,function(t,n){Oa=""===n});var $a,Pa,Ra,La,ja,Ia,za,Da,Ua,qa,Fa,Ba,Ha,Ya,Va,Xa,Wa,Ja,Ka,Za,Ga,Qa,tu,nu,eu,ru=i("script,style",!0),iu={},ou=/&lt;/g,au=/&gt;/g,uu=/&#10;/g,su=/&amp;/g,cu=/&quot;/g,fu=/\{\{((?:.|\n)+?)\}\}/g,lu=/[-.*+?^${}()|[\]\/\\]/g,hu=s(function(t){var n=t[0].replace(lu,"\\$&"),e=t[1].replace(lu,"\\$&");return new RegExp(n+"((?:.|\\n)+?)"+e,"g")}),pu=/^v-|^@|^:/,du=/(.*?)\s+(?:in|of)\s+(.*)/,vu=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,yu=/^:|^v-bind:/,gu=/^@|^v-on:/,_u=/:(.*)$/,mu=/\.[^.]+/g,xu=s(be),bu=/^xmlns:NS\d+/,wu=/^NS\d+:/,Mu=s(ur),ku=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Au=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Cu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Su={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;",ctrl:"if(!$event.ctrlKey)return;",shift:"if(!$event.shiftKey)return;",alt:"if(!$event.altKey)return;",meta:"if(!$event.metaKey)return;"},Tu={bind:gr,cloak:v},Eu=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),{staticKeys:["staticClass"],transformNode:qr,genData:Fr}),Nu={staticKeys:["staticStyle"],transformNode:Br,genData:Hr},Ou=[Eu,Nu],$u={model:Yr,text:Zr,html:Gr},Pu=Object.create(null),Ru={expectHTML:!0,modules:Ou,staticKeys:y(Ou),directives:$u,isReservedTag:Co,isUnaryTag:ya,mustUseProp:vo,getTagNamespace:on,isPreTag:Ao},Lu=s(function(t){var n=un(t);return n&&n.innerHTML}),ju=Bt.prototype.$mount;Bt.prototype.$mount=function(t,n){if(t=t&&un(t),t===document.body||t===document.documentElement)return this;var e=this.$options;if(!e.render){var r=e.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Lu(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=ei(t));if(r){var i=ti(r,{warn:Ni,shouldDecodeNewlines:va,delimiters:e.delimiters},this),o=i.render,a=i.staticRenderFns;e.render=o,e.staticRenderFns=a}}return ju.call(this,t,n)},Bt.compile=ti,t.exports=Bt}).call(n,e(82))},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(41);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(11),i=e(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(1),i=e(9),o=e(18),a=e(6),u="prototype",s=function(t,n,e){var c,f,l,h=t&s.F,p=t&s.G,d=t&s.S,v=t&s.P,y=t&s.B,g=t&s.W,_=p?i:i[n]||(i[n]={}),m=_[u],x=p?r:d?r[n]:(r[n]||{})[u];p&&(e=n);for(c in e)f=!h&&x&&void 0!==x[c],f&&c in _||(l=f?x[c]:e[c],_[c]=p&&"function"!=typeof x[c]?e[c]:y&&f?o(l,r):g&&x[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[u]=t[u],n}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[c]=l,t&s.R&&m&&!m[c]&&a(m,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(7).f,i=e(5),o=e(0)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(1),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){var r=e(47),i=e(10);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(15),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(10);t.exports=function(t){return Object(r(t))}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){!function(t,e){e(n)}(this,function(t){"use strict";function n(t){return function(n,e){return Sc(t(n),e)}}function e(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Bc?i*=10:o>=Hc?i*=5:o>=Yc&&(i*=2),n<t?-i:i}function r(t){return t.length}function i(t,n,e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"}function o(t,n,e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"}function a(t){var n=t.bandwidth()/2;return t.round()&&(n=Math.round(n)),function(e){return t(e)+n}}function u(){return!this.__axis}function s(t,n){function e(e){var p,d=null==s?n.ticks?n.ticks.apply(n,r):n.domain():s,v=null==c?n.tickFormat?n.tickFormat.apply(n,r):hf:c,y=Math.max(f,0)+h,g=t===pf||t===vf?i:o,_=n.range(),m=_[0]+.5,x=_[_.length-1]+.5,b=(n.bandwidth?a:hf)(n.copy()),w=e.selection?e.selection():e,M=w.selectAll(".domain").data([null]),k=w.selectAll(".tick").data(d,n).order(),A=k.exit(),C=k.enter().append("g").attr("class","tick"),S=k.select("line"),T=k.select("text"),E=t===pf||t===yf?-1:1,N=t===yf||t===df?(p="x","y"):(p="y","x");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),k=k.merge(C),S=S.merge(C.append("line").attr("stroke","#000").attr(p+"2",E*f).attr(N+"1",.5).attr(N+"2",.5)),T=T.merge(C.append("text").attr("fill","#000").attr(p,E*y).attr(N,.5).attr("dy",t===pf?"0em":t===vf?"0.71em":"0.32em")),e!==w&&(M=M.transition(e),k=k.transition(e),S=S.transition(e),T=T.transition(e),A=A.transition(e).attr("opacity",gf).attr("transform",function(t){return g(b,this.parentNode.__axis||b,t)}),C.attr("opacity",gf).attr("transform",function(t){return g(this.parentNode.__axis||b,b,t)})),A.remove(),M.attr("d",t===yf||t==df?"M"+E*l+","+m+"H0.5V"+x+"H"+E*l:"M"+m+","+E*l+"V0.5H"+x+"V"+E*l),k.attr("opacity",1).attr("transform",function(t){return g(b,b,t)}),S.attr(p+"2",E*f),T.attr(p,E*y).text(v),w.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===df?"start":t===yf?"end":"middle"),w.each(function(){this.__axis=b})}var r=[],s=null,c=null,f=6,l=6,h=3;return e.scale=function(t){return arguments.length?(n=t,e):n},e.ticks=function(){return r=lf.call(arguments),e},e.tickArguments=function(t){return arguments.length?(r=null==t?[]:lf.call(t),e):r.slice()},e.tickValues=function(t){return arguments.length?(s=null==t?null:lf.call(t),e):s&&s.slice()},e.tickFormat=function(t){return arguments.length?(c=t,e):c},e.tickSize=function(t){return arguments.length?(f=l=+t,e):f},e.tickSizeInner=function(t){return arguments.length?(f=+t,e):f},e.tickSizeOuter=function(t){return arguments.length?(l=+t,e):l},e.tickPadding=function(t){return arguments.length?(h=+t,e):h},e}function c(t){return s(pf,t)}function f(t){return s(df,t)}function l(t){return s(vf,t)}function h(t){return s(yf,t)}function p(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new d(r)}function d(t){this._=t}function v(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 y(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function g(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=_f,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function _(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===mf&&n.documentElement.namespaceURI===mf?n.createElement(t):n.createElementNS(e,t)}}function m(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function x(){return new b}function b(){this._="@"+(++Mf).toString(36)}function w(t,n,e){return t=M(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function M(n,e,r){return function(i){var o=t.event;t.event=i;try{n.call(this,this.__data__,e,r)}finally{t.event=o}}}function k(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 A(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 C(t,n,e){var r=Tf.hasOwnProperty(t.type)?w:M;return function(i,o,a){var u,s=this.__on,c=r(n,o,a);if(s)for(var f=0,l=s.length;f<l;++f)if((u=s[f]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=e),void(u.value=n);this.addEventListener(t.type,c,e),u={type:t.type,name:t.name,value:n,listener:c,capture:e},s?s.push(u):this.__on=[u]}}function S(n,e,r,i){var o=t.event;n.sourceEvent=t.event,t.event=n;try{return e.apply(r,i)}finally{t.event=o}}function T(){}function E(){return[]}function N(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function O(t,n,e,r,i,o){for(var a,u=0,s=n.length,c=o.length;u<c;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new N(t,o[u]);for(;u<s;++u)(a=n[u])&&(i[u]=a)}function $(t,n,e,r,i,o,a){var u,s,c,f={},l=n.length,h=o.length,p=new Array(l);for(u=0;u<l;++u)(s=n[u])&&(p[u]=c=Ff+a.call(s,s.__data__,u,n),c in f?i[u]=s:f[c]=s);for(u=0;u<h;++u)c=Ff+a.call(t,o[u],u,o),(s=f[c])?(r[u]=s,s.__data__=o[u],f[c]=null):e[u]=new N(t,o[u]);for(u=0;u<l;++u)(s=n[u])&&f[p[u]]===s&&(i[u]=s)}function P(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function R(t){return function(){this.removeAttribute(t)}}function L(t){return function(){this.removeAttributeNS(t.space,t.local)}}function j(t,n){return function(){this.setAttribute(t,n)}}function I(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function z(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function D(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function U(t){return function(){this.style.removeProperty(t)}}function q(t,n,e){return function(){this.style.setProperty(t,n,e)}}function F(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){return function(){delete this[t]}}function H(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 V(t){return t.trim().split(/^|\s+/)}function X(t){return t.classList||new W(t)}function W(t){this._node=t,this._names=V(t.getAttribute("class")||"")}function J(t,n){for(var e=X(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function K(t,n){for(var e=X(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function Z(t){return function(){J(this,t)}}function G(t){return function(){K(this,t)}}function Q(t,n){return function(){(n.apply(this,arguments)?J:K)(this,t)}}function tt(){this.textContent=""}function nt(t){return function(){this.textContent=t}}function et(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function rt(){this.innerHTML=""}function it(t){return function(){this.innerHTML=t}}function ot(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function at(){this.nextSibling&&this.parentNode.appendChild(this)}function ut(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function st(){return null}function ct(){var t=this.parentNode;t&&t.removeChild(this)}function ft(t,n,e){var r=nl(t),i=r.CustomEvent;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 lt(t,n){return function(){return ft(this,t,n)}}function ht(t,n){return function(){return ft(this,t,n.apply(this,arguments))}}function pt(t,n){this._groups=t,this._parents=n}function dt(){return new pt([[document.documentElement]],dl)}function vt(){t.event.stopImmediatePropagation()}function yt(t,n){var e=t.document.documentElement,r=vl(t).on("dragstart.drag",null);n&&(r.on("click.drag",ml,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}function gt(t,n,e,r,i,o,a,u,s,c){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=s,this._=c}function _t(){return!t.event.button}function mt(){return this.parentNode}function xt(n){return null==n?{x:t.event.x,y:t.event.y}:n}function bt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function wt(){}function Mt(t){var n;return t=(t+"").trim().toLowerCase(),(n=El.exec(t))?(n=parseInt(n[1],16),new Tt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=Nl.exec(t))?kt(parseInt(n[1],16)):(n=Ol.exec(t))?new Tt(n[1],n[2],n[3],1):(n=$l.exec(t))?new Tt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Pl.exec(t))?At(n[1],n[2],n[3],n[4]):(n=Rl.exec(t))?At(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ll.exec(t))?Et(n[1],n[2]/100,n[3]/100,1):(n=jl.exec(t))?Et(n[1],n[2]/100,n[3]/100,n[4]):Il.hasOwnProperty(t)?kt(Il[t]):"transparent"===t?new Tt(NaN,NaN,NaN,0):null}function kt(t){return new Tt(t>>16&255,t>>8&255,255&t,1)}function At(t,n,e,r){return r<=0&&(t=n=e=NaN),new Tt(t,n,e,r)}function Ct(t){return t instanceof wt||(t=Mt(t)),t?(t=t.rgb(),new Tt(t.r,t.g,t.b,t.opacity)):new Tt}function St(t,n,e,r){return 1===arguments.length?Ct(t):new Tt(t,n,e,null==r?1:r)}function Tt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Et(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new $t(t,n,e,r)}function Nt(t){if(t instanceof $t)return new $t(t.h,t.s,t.l,t.opacity);if(t instanceof wt||(t=Mt(t)),!t)return new $t;if(t instanceof $t)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=s<.5?o+i:2-o-i,a*=60):u=s>0&&s<1?0:a,new $t(a,u,s,t.opacity)}function Ot(t,n,e,r){return 1===arguments.length?Nt(t):new $t(t,n,e,null==r?1:r)}function $t(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Pt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Rt(t){if(t instanceof jt)return new jt(t.l,t.a,t.b,t.opacity);if(t instanceof Bt){var n=t.h*zl;return new jt(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof Tt||(t=Ct(t));var e=Ut(t.r),r=Ut(t.g),i=Ut(t.b),o=It((.4124564*e+.3575761*r+.1804375*i)/ql),a=It((.2126729*e+.7151522*r+.072175*i)/Fl),u=It((.0193339*e+.119192*r+.9503041*i)/Bl);return new jt(116*a-16,500*(o-a),200*(a-u),t.opacity)}function Lt(t,n,e,r){return 1===arguments.length?Rt(t):new jt(t,n,e,null==r?1:r)}function jt(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function It(t){return t>Xl?Math.pow(t,1/3):t/Vl+Hl}function zt(t){return t>Yl?t*t*t:Vl*(t-Hl)}function Dt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ut(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function qt(t){if(t instanceof Bt)return new Bt(t.h,t.c,t.l,t.opacity);t instanceof jt||(t=Rt(t));var n=Math.atan2(t.b,t.a)*Dl;return new Bt(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ft(t,n,e,r){return 1===arguments.length?qt(t):new Bt(t,n,e,null==r?1:r)}function Bt(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Ht(t){if(t instanceof Vt)return new Vt(t.h,t.s,t.l,t.opacity);t instanceof Tt||(t=Ct(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(nh*r+Ql*n-th*e)/(nh+Ql-th),o=r-i,a=(Gl*(e-i)-Kl*o)/Zl,u=Math.sqrt(a*a+o*o)/(Gl*i*(1-i)),s=u?Math.atan2(a,o)*Dl-120:NaN;return new Vt(s<0?s+360:s,u,i,t.opacity)}function Yt(t,n,e,r){return 1===arguments.length?Ht(t):new Vt(t,n,e,null==r?1:r)}function Vt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Xt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}function Wt(t,n){return function(e){return t+e*n}}function Jt(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Kt(t,n){var e=n-t;return e?Wt(t,e>180||e<-180?e-360*Math.round(e/360):e):fh(isNaN(t)?n:t)}function Zt(t){return 1===(t=+t)?Gt:function(n,e){return e-n?Jt(n,e,t):fh(isNaN(n)?e:n)}}function Gt(t,n){var e=n-t;return e?Wt(t,e):fh(isNaN(t)?n:t)}function Qt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e<i;++e)r=St(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}function tn(t){return function(){return t}}function nn(t){return function(n){return t(n)+""}}function en(t){return"none"===t?kh:(eh||(eh=document.createElement("DIV"),rh=document.documentElement,ih=document.defaultView),eh.style.transform=t,t=ih.getComputedStyle(rh.appendChild(eh),null).getPropertyValue("transform"),rh.removeChild(eh),t=t.slice(7,-1).split(","),Ah(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function rn(t){return null==t?kh:(oh||(oh=document.createElementNS("http://www.w3.org/2000/svg","g")),oh.setAttribute("transform",t),(t=oh.transform.baseVal.consolidate())?(t=t.matrix,Ah(t.a,t.b,t.c,t.d,t.e,t.f)):kh)}function on(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,n,null,e);u.push({i:s-4,x:yh(t,i)},{i:s-2,x:yh(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}function a(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:yh(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function u(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:yh(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function s(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:yh(t,e)},{i:u-2,x:yh(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),a(n.rotate,e.rotate,r,i),u(n.skewX,e.skewX,r,i),s(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e<o;)r[(n=i[e]).i]=n.x(t);return r.join("")}}}function an(t){return((t=Math.exp(t))+1/t)/2}function un(t){return((t=Math.exp(t))-1/t)/2}function sn(t){return((t=Math.exp(2*t))-1)/(t+1)}function cn(t){return function(n,e){var r=t((n=Ot(n)).h,(e=Ot(e)).h),i=Gt(n.s,e.s),o=Gt(n.l,e.l),a=Gt(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=a(t),n+""}}}function fn(t,n){var e=Gt((t=Lt(t)).l,(n=Lt(n)).l),r=Gt(t.a,n.a),i=Gt(t.b,n.b),o=Gt(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function ln(t){return function(n,e){var r=t((n=Ft(n)).h,(e=Ft(e)).h),i=Gt(n.c,e.c),o=Gt(n.l,e.l),a=Gt(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=a(t),n+""}}}function hn(t){return function n(e){function r(n,r){var i=t((n=Yt(n)).h,(r=Yt(r)).h),o=Gt(n.s,r.s),a=Gt(n.l,r.l),u=Gt(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=a(Math.pow(t,e)),n.opacity=u(t),n+""}}return e=+e,r.gamma=n,r}(1)}function pn(){return Yh||(Wh(dn),Yh=Xh.now()+Vh)}function dn(){Yh=0}function vn(){this._call=this._time=this._next=null}function yn(t,n,e){var r=new vn;return r.restart(t,n,e),r}function gn(){pn(),++Uh;for(var t,n=ah;n;)(t=Yh-n._time)>=0&&n._call.call(null,t),n=n._next;--Uh}function _n(){Yh=(Hh=Xh.now())+Vh,Uh=qh=0;try{gn()}finally{Uh=0,xn(),Yh=0}}function mn(){var t=Xh.now(),n=t-Hh;n>Bh&&(Vh-=n,Hh=t)}function xn(){for(var t,n,e=ah,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ah=n);uh=t,bn(r)}function bn(t){if(!Uh){qh&&(qh=clearTimeout(qh));var n=t-Yh;n>24?(t<1/0&&(qh=setTimeout(_n,n)),Fh&&(Fh=clearInterval(Fh))):(Fh||(Hh=Yh,Fh=setInterval(mn,Bh)),Uh=1,Wh(_n))}}function wn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>Qh)throw new Error("too late");return e}function Mn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>np)throw new Error("too late");return e}function kn(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function An(t,n,e){function r(t){e.state=tp,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var c,f,l,h;if(e.state!==tp)return a();for(c in s)if(h=s[c],h.name===e.name){if(h.state===ep)return Jh(i);h.state===rp?(h.state=op,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete s[c]):+c<n&&(h.state=op,h.timer.stop(),delete s[c])}if(Jh(function(){e.state===ep&&(e.state=rp,e.timer.restart(o,e.delay,e.time),o(r))}),e.state=np,e.on.call("start",t,t.__data__,e.index,e.group),e.state===np){for(e.state=ep,u=new Array(l=e.tween.length),c=0,f=-1;c<l;++c)(h=e.tween[c].value.call(t,t.__data__,e.index,e.group))&&(u[++f]=h);u.length=f+1}}function o(n){for(var r=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=ip,1),i=-1,o=u.length;++i<o;)u[i].call(null,r);e.state===ip&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){e.state=op,e.timer.stop(),delete s[n];for(var r in s)return;delete t.__transition}var u,s=t.__transition;s[n]=e,e.timer=yn(r,0,e.time)}function Cn(t,n){var e,r;return function(){var i=Mn(this,t),o=i.tween;if(o!==e){r=e=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===n){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function Sn(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=Mn(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},s=0,c=i.length;s<c;++s)if(i[s].name===n){i[s]=u;break}s===c&&i.push(u)}o.tween=i}}function Tn(t,n,e){var r=t._id;return t.each(function(){var t=Mn(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return kn(t,r).value[n]}}function En(t){return function(){this.removeAttribute(t)}}function Nn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function On(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}}function $n(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}function Pn(t,n,e){var r,i,o;return function(){var a,u=e(this);return null==u?void this.removeAttribute(t):(a=this.getAttribute(t),a===u?null:a===r&&u===i?o:o=n(r=a,i=u))}}function Rn(t,n,e){var r,i,o;return function(){var a,u=e(this);return null==u?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),a===u?null:a===r&&u===i?o:o=n(r=a,i=u))}}function Ln(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}function jn(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e}function In(t,n){return function(){wn(this,t).delay=+n.apply(this,arguments)}}function zn(t,n){return n=+n,function(){wn(this,t).delay=n}}function Dn(t,n){return function(){Mn(this,t).duration=+n.apply(this,arguments)}}function Un(t,n){return n=+n,function(){Mn(this,t).duration=n}}function qn(t,n){if("function"!=typeof n)throw new Error;return function(){Mn(this,t).ease=n}}function Fn(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}function Bn(t,n,e){var r,i,o=Fn(n)?wn:Mn;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function Hn(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function Yn(t,n){var e,r,i;return function(){var o=nl(this).getComputedStyle(this,null),a=o.getPropertyValue(t),u=(this.style.removeProperty(t),o.getPropertyValue(t));return a===u?null:a===e&&u===r?i:i=n(e=a,r=u)}}function Vn(t){return function(){this.style.removeProperty(t)}}function Xn(t,n,e){var r,i;return function(){var o=nl(this).getComputedStyle(this,null).getPropertyValue(t);return o===e?null:o===r?i:i=n(r=o,e)}}function Wn(t,n,e){var r,i,o;return function(){var a=nl(this).getComputedStyle(this,null),u=a.getPropertyValue(t),s=e(this);return null==s&&(this.style.removeProperty(t),s=a.getPropertyValue(t)),u===s?null:u===r&&s===i?o:o=n(r=u,i=s)}}function Jn(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}function Kn(t){return function(){this.textContent=t}}function Zn(t){return function(){var n=t(this);this.textContent=null==n?"":n}}function Gn(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Qn(t){return dt().transition(t)}function te(){return++Tp}function ne(t){return+t}function ee(t){return t*t}function re(t){return t*(2-t)}function ie(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function oe(t){return t*t*t}function ae(t){return--t*t*t+1}function ue(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function se(t){return 1-Math.cos(t*Lp)}function ce(t){return Math.sin(t*Lp);
}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.event.view,b),F.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);U.attr("pointer-events","all"),q.attr("cursor",yd.overlay),E.selection&&(O=E.selection),Ce(O)&&(E.selection=null,r.call(k)),D.end()}function u(){switch(t.event.keyCode){case 16:j=S&&T;break;case 18:C===ld&&(S&&(v=y-m*S,l=h+m*S),T&&(g=_-x*T,p=d+x*T),C=hd,o());break;case 32:C!==ld&&C!==hd||(S<0?v=y-m:S>0&&(l=h-m),T<0?g=_-x:T>0&&(p=d-x),C=fd,q.attr("cursor",yd.selection),o());break;default:return}sd()}function c(){switch(t.event.keyCode){case 16:j&&(w=M=j=!1,o());break;case 18:C===hd&&(S<0?v=y:S>0&&(l=h),T<0?g=_:T>0&&(p=d),C=ld,o());break;case 32:C===fd&&(t.event.altKey?(S&&(v=y-m*S,l=h+m*S),T&&(g=_-x*T,p=d+x*T),C=hd):(S<0?v=y:S>0&&(l=h),T<0?g=_:T>0&&(p=d),C=ld),q.attr("cursor",yd[A]),o());break;default:return}sd()}if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return sd()}else if(s)return;if(f.apply(this,arguments)){var l,h,p,d,v,y,g,_,m,x,b,w,M,k=this,A=t.event.target.__data__.type,C="selection"===(t.event.metaKey?A="overlay":A)?cd:t.event.altKey?hd:ld,S=n===dd?null:md[A],T=n===pd?null:xd[A],E=Ae(k),N=E.extent,O=E.selection,$=N[0][0],P=N[0][1],R=N[1][0],L=N[1][1],j=S&&T&&t.event.shiftKey,I=Pf(k),z=I,D=i(k,arguments).beforestart();"overlay"===A?E.selection=O=[[l=n===dd?$:I[0],p=n===pd?P:I[1]],[v=n===dd?R:l,g=n===pd?L:p]]:(l=O[0][0],p=O[0][1],v=O[1][0],g=O[1][1]),h=l,d=p,y=v,_=g;var U=vl(k).attr("pointer-events","none"),q=U.selectAll(".overlay").attr("cursor",yd[A]);if(t.event.touches)U.on("touchmove.brush",e,!0).on("touchend.brush touchcancel.brush",a,!0);else{var F=vl(t.event.view).on("keydown.brush",u,!0).on("keyup.brush",c,!0).on("mousemove.brush",e,!0).on("mouseup.brush",a,!0);xl(t.event.view)}be(),up(k),r.call(k),D.start()}}function u(){var t=this.__brush||{selection:null};return t.extent=c.apply(this,arguments),t.dim=n,t}var s,c=ke,f=Me,l=p(e,"start","brush","end"),h=6;return e.move=function(t,e){t.selection?t.on("start.brush",function(){i(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){i(this,arguments).end()}).tween("brush",function(){function t(t){a.selection=1===t&&Ce(c)?null:f(t),r.call(o),u.brush()}var o=this,a=o.__brush,u=i(o,arguments),s=a.selection,c=n.input("function"==typeof e?e.apply(this,arguments):e,a.extent),f=bh(s,c);return s&&c?t:t(1)}):t.each(function(){var t=this,o=arguments,a=t.__brush,u=n.input("function"==typeof e?e.apply(t,o):e,a.extent),s=i(t,o).beforestart();up(t),a.selection=null==u||Ce(u)?null:u,r.call(t),s.start().brush().end()})},o.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){S(new ud(e,t,n.output(this.state.selection)),l.apply,l,[t,this.that,this.args])}},e.extent=function(t){return arguments.length?(c="function"==typeof t?t:ad([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):c},e.filter=function(t){return arguments.length?(f="function"==typeof t?t:ad(!!t),e):f},e.handleSize=function(t){return arguments.length?(h=+t,e):h},e.on=function(){var t=l.on.apply(l,arguments);return t===l?e:t},e}function Oe(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}function $e(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Pe(){return new $e}function Re(t){return t.source}function Le(t){return t.target}function je(t){return t.radius}function Ie(t){return t.startAngle}function ze(t){return t.endAngle}function De(){}function Ue(t,n){var e=new De;if(t instanceof De)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var a in t)e.set(a,t[a]);return e}function qe(){return{}}function Fe(t,n,e){t[n]=e}function Be(){return Ue()}function He(t,n,e){t.set(n,e)}function Ye(){}function Ve(t,n){var e=new Ye;if(t instanceof Ye)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}function Xe(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function We(t,n){var e=Xe(t);return function(r,i){return n(e(r),i,t)}}function Je(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}function Ke(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,s,c,f,l,h,p=t._root,d={data:r},v=t._x0,y=t._y0,g=t._x1,_=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((c=n>=(o=(v+g)/2))?v=o:g=o,(f=e>=(a=(y+_)/2))?y=a:_=a,i=p,!(p=p[l=f<<1|c]))return i[l]=d,t;if(u=+t._x.call(null,p.data),s=+t._y.call(null,p.data),n===u&&e===s)return d.next=p,i?i[l]=d:t._root=d,t;do i=i?i[l]=new Array(4):t._root=new Array(4),(c=n>=(o=(v+g)/2))?v=o:g=o,(f=e>=(a=(y+_)/2))?y=a:_=a;while((l=f<<1|c)===(h=(s>=a)<<1|u>=o));return i[h]=p,i[l]=d,t}function Ze(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,f=-(1/0),l=-(1/0);for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(a[e]=r,u[e]=i,r<s&&(s=r),r>f&&(f=r),i<c&&(c=i),i>l&&(l=i));for(f<s&&(s=this._x0,f=this._x1),l<c&&(c=this._y0,l=this._y1),this.cover(s,c).cover(f,l),e=0;e<o;++e)Ke(this,a[e],u[e],t[e]);return this}function Ge(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this}function Qe(t){return t[0]}function tr(t){return t[1]}function nr(t,n,e){var r=new er(null==n?Qe:n,null==e?tr:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function er(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function rr(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}function ir(t){return t.x+t.vx}function or(t){return t.y+t.vy}function ar(t){return t.index}function ur(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function sr(t){return t.x}function cr(t){return t.y}function fr(t){if(!(n=$v.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",a=!!n[5],u=n[6]&&+n[6],s=!!n[7],c=n[8]&&+n[8].slice(1),f=n[9]||"";"n"===f?(s=!0,f="g"):Ov[f]||(f=""),(a||"0"===e&&"="===r)&&(a=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=u,this.comma=s,this.precision=c,this.type=f}function lr(t){return t}function hr(n){return Rv=jv(n),t.format=Rv.format,t.formatPrefix=Rv.formatPrefix,Rv}function pr(){this.reset()}function dr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function vr(t){return t>1?0:t<-1?by:Math.acos(t)}function yr(t){return t>1?wy:t<-1?-wy:Math.asin(t)}function gr(t){return(t=Ly(t/2))*t}function _r(){}function mr(t,n){t&&Uy.hasOwnProperty(t.type)&&Uy[t.type](t,n)}function xr(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function br(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)xr(t[e],n,1);n.polygonEnd()}function wr(){Hy.point=kr}function Mr(){Ar(qv,Fv)}function kr(t,n){Hy.point=Ar,qv=t,Fv=n,t*=Cy,n*=Cy,Bv=t,Hv=Ny(n=n/2+My),Yv=Ly(n)}function Ar(t,n){t*=Cy,n*=Cy,n=n/2+My;var e=t-Bv,r=e>=0?1:-1,i=r*e,o=Ny(n),a=Ly(n),u=Yv*a,s=Hv*o+u*Ny(i),c=u*r*Ly(i);Fy.add(Ey(c,s)),Bv=t,Hv=o,Yv=a}function Cr(t){return[Ey(t[1],t[0]),yr(t[2])]}function Sr(t){var n=t[0],e=t[1],r=Ny(e);return[r*Ny(n),r*Ly(n),Ly(e)]}function Tr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Er(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Nr(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Or(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function $r(t){var n=Iy(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Pr(t,n){ty.push(ny=[Vv=t,Wv=t]),n<Xv&&(Xv=n),n>Jv&&(Jv=n)}function Rr(t,n){var e=Sr([t*Cy,n*Cy]);if(Qv){var r=Er(Qv,e),i=[r[1],-r[0],0],o=Er(i,r);$r(o),o=Cr(o);var a,u=t-Kv,s=u>0?1:-1,c=o[0]*Ay*s,f=Sy(u)>180;f^(s*Kv<c&&c<s*t)?(a=o[1]*Ay,a>Jv&&(Jv=a)):(c=(c+360)%360-180,f^(s*Kv<c&&c<s*t)?(a=-o[1]*Ay,a<Xv&&(Xv=a)):(n<Xv&&(Xv=n),n>Jv&&(Jv=n))),f?t<Kv?Ur(Vv,t)>Ur(Vv,Wv)&&(Wv=t):Ur(t,Wv)>Ur(Vv,Wv)&&(Vv=t):Wv>=Vv?(t<Vv&&(Vv=t),t>Wv&&(Wv=t)):t>Kv?Ur(Vv,t)>Ur(Vv,Wv)&&(Wv=t):Ur(t,Wv)>Ur(Vv,Wv)&&(Vv=t)}else ty.push(ny=[Vv=t,Wv=t]);n<Xv&&(Xv=n),n>Jv&&(Jv=n),Qv=e,Kv=t}function Lr(){Xy.point=Rr}function jr(){ny[0]=Vv,ny[1]=Wv,Xy.point=Pr,Qv=null}function Ir(t,n){if(Qv){var e=t-Kv;Vy.add(Sy(e)>180?e+(e>0?360:-360):e)}else Zv=t,Gv=n;Hy.point(t,n),Rr(t,n)}function zr(){Hy.lineStart()}function Dr(){Ir(Zv,Gv),Hy.lineEnd(),Sy(Vy)>my&&(Vv=-(Wv=180)),ny[0]=Vv,ny[1]=Wv,Qv=null}function Ur(t,n){return(n-=t)<0?n+360:n}function qr(t,n){return t[0]-n[0]}function Fr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function Br(t,n){t*=Cy,n*=Cy;var e=Ny(n);Hr(e*Ny(t),e*Ly(t),Ly(n))}function Hr(t,n,e){++ey,iy+=(t-iy)/ey,oy+=(n-oy)/ey,ay+=(e-ay)/ey}function Yr(){Jy.point=Vr}function Vr(t,n){t*=Cy,n*=Cy;var e=Ny(n);vy=e*Ny(t),yy=e*Ly(t),gy=Ly(n),Jy.point=Xr,Hr(vy,yy,gy)}function Xr(t,n){t*=Cy,n*=Cy;var e=Ny(n),r=e*Ny(t),i=e*Ly(t),o=Ly(n),a=Ey(Iy((a=yy*o-gy*i)*a+(a=gy*r-vy*o)*a+(a=vy*i-yy*r)*a),vy*r+yy*i+gy*o);ry+=a,uy+=a*(vy+(vy=r)),sy+=a*(yy+(yy=i)),cy+=a*(gy+(gy=o)),Hr(vy,yy,gy)}function Wr(){Jy.point=Br}function Jr(){Jy.point=Zr}function Kr(){Gr(py,dy),Jy.point=Br}function Zr(t,n){py=t,dy=n,t*=Cy,n*=Cy,Jy.point=Gr;var e=Ny(n);vy=e*Ny(t),yy=e*Ly(t),gy=Ly(n),Hr(vy,yy,gy)}function Gr(t,n){t*=Cy,n*=Cy;var e=Ny(n),r=e*Ny(t),i=e*Ly(t),o=Ly(n),a=yy*o-gy*i,u=gy*r-vy*o,s=vy*i-yy*r,c=Iy(a*a+u*u+s*s),f=vy*r+yy*i+gy*o,l=c&&-yr(c)/c,h=Ey(c,f);fy+=l*a,ly+=l*u,hy+=l*s,ry+=h,uy+=h*(vy+(vy=r)),sy+=h*(yy+(yy=i)),cy+=h*(gy+(gy=o)),Hr(vy,yy,gy)}function Qr(t,n){return[t>by?t-ky:t<-by?t+ky:t,n]}function ti(t,n,e){return(t%=ky)?n||e?Gy(ei(t),ri(n,e)):ei(t):n||e?ri(n,e):Qr}function ni(t){return function(n,e){return n+=t,[n>by?n-ky:n<-by?n+ky:n,e]}}function ei(t){var n=ni(t);return n.invert=ni(-t),n}function ri(t,n){function e(t,n){var e=Ny(n),u=Ny(t)*e,s=Ly(t)*e,c=Ly(n),f=c*r+u*i;return[Ey(s*o-f*a,u*r-c*i),yr(f*o+s*a)]}var r=Ny(t),i=Ly(t),o=Ny(n),a=Ly(n);return e.invert=function(t,n){var e=Ny(n),u=Ny(t)*e,s=Ly(t)*e,c=Ly(n),f=c*o-s*a;return[Ey(s*o+c*a,u*r+f*i),yr(f*r-u*i)]},e}function ii(t,n,e,r,i,o){if(e){var a=Ny(n),u=Ly(n),s=r*e;null==i?(i=n+r*ky,o=n-s/2):(i=oi(a,i),o=oi(a,o),(r>0?i<o:i>o)&&(i+=r*ky));for(var c,f=i;r>0?f>o:f<o;f-=s)c=Cr([a,-u*Ny(f),-u*Ly(f)]),t.point(c[0],c[1])}}function oi(t,n){n=Sr(n),n[0]-=t,$r(n);var e=vr(-n[1]);return((-n[2]<0?-e:e)+ky-my)%ky}function ai(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function ui(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function si(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,c){var f=0,l=0;if(null==i||(f=a(i,u))!==(l=a(o,u))||s(i,o)<0^u>0){do c.point(0===f||3===f?t:e,f>1?r:n);while((f=(f+u+4)%4)!==l)}else c.point(o[0],o[1])}function a(r,i){return Sy(r[0]-t)<my?i>0?0:3:Sy(r[0]-e)<my?i>0?2:1:Sy(r[1]-n)<my?i>0?1:0:i>0?3:2}function u(t,n){return s(t.x,n.x)}function s(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){function s(t,n){i(t,n)&&C.point(t,n)}function c(){for(var n=0,e=0,i=y.length;e<i;++e)for(var o,a,u=y[e],s=1,c=u.length,f=u[0],l=f[0],h=f[1];s<c;++s)o=l,a=h,f=u[s],l=f[0],h=f[1],a<=r?h>r&&(l-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(l-o)*(r-a)<(h-a)*(t-o)&&--n;return n}function f(){C=S,v=[],y=[],A=!0}function l(){var t=c(),n=A&&t,e=(v=nf(v)).length;(n||e)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),e&&vg(v,u,t,o,a),a.polygonEnd()),C=a,v=y=g=null}function h(){T.point=d,y&&y.push(g=[]),k=!0,M=!1,b=w=NaN}function p(){v&&(d(_,m),x&&M&&S.rejoin(),v.push(S.result())),T.point=s,M&&C.lineEnd()}function d(o,a){var u=i(o,a);if(y&&g.push([o,a]),k)_=o,m=a,x=u,k=!1,u&&(C.lineStart(),C.point(o,a));else if(u&&M)C.point(o,a);else{var s=[b=Math.max(gg,Math.min(yg,b)),w=Math.max(gg,Math.min(yg,w))],c=[o=Math.max(gg,Math.min(yg,o)),a=Math.max(gg,Math.min(yg,a))];pg(s,c,t,n,e,r)?(M||(C.lineStart(),C.point(s[0],s[1])),C.point(c[0],c[1]),u||C.lineEnd(),A=!1):u&&(C.lineStart(),C.point(o,a),A=!1)}b=o,w=a,M=u}var v,y,g,_,m,x,b,w,M,k,A,C=a,S=hg(),T={point:s,lineStart:h,lineEnd:p,polygonStart:f,polygonEnd:l};return T}}function ci(){xg.point=li,xg.lineEnd=fi}function fi(){xg.point=xg.lineEnd=_r}function li(t,n){t*=Cy,n*=Cy,Qy=t,tg=Ly(n),ng=Ny(n),xg.point=hi}function hi(t,n){t*=Cy,n*=Cy;var e=Ly(n),r=Ny(n),i=Sy(t-Qy),o=Ny(i),a=Ly(i),u=r*a,s=ng*e-tg*r*o,c=tg*e+ng*r*o;mg.add(Ey(Iy(u*u+s*s),c)),Qy=t,tg=e,ng=r}function pi(t,n,e){var r=Fc(t,n-my,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function di(t,n,e){var r=Fc(t,n-my,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function vi(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return Fc(Oy(o/y)*y,i,y).map(h).concat(Fc(Oy(c/g)*g,s,g).map(p)).concat(Fc(Oy(r/d)*d,e,d).filter(function(t){return Sy(t%y)>my}).map(f)).concat(Fc(Oy(u/v)*v,a,v).filter(function(t){return Sy(t%g)>my}).map(l))}var e,r,i,o,a,u,s,c,f,l,h,p,d=10,v=d,y=90,g=360,_=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(p(s).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],c=+n[0][1],s=+n[1][1],o>i&&(n=o,o=i,i=n),c>s&&(n=c,c=s,s=n),t.precision(_)):[[o,c],[i,s]]},t.extentMinor=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],u=+n[0][1],a=+n[1][1],r>e&&(n=r,r=e,e=n),u>a&&(n=u,u=a,a=n),t.precision(_)):[[r,u],[e,a]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(y=+n[0],g=+n[1],t):[y,g]},t.stepMinor=function(n){return arguments.length?(d=+n[0],v=+n[1],t):[d,v]},t.precision=function(n){return arguments.length?(_=+n,f=pi(u,a,90),l=di(r,e,_),h=pi(c,s,90),p=di(o,i,_),t):_},t.extentMajor([[-180,-90+my],[180,90-my]]).extentMinor([[-180,-80-my],[180,80+my]])}function yi(){return vi()()}function gi(){Eg.point=_i}function _i(t,n){Eg.point=mi,eg=ig=t,rg=og=n}function mi(t,n){Tg.add(og*t-ig*n),ig=t,og=n}function xi(){mi(eg,rg)}function bi(t,n){t<Ng&&(Ng=t),t>$g&&($g=t),n<Og&&(Og=n),n>Pg&&(Pg=n)}function wi(t,n){Lg+=t,jg+=n,++Ig}function Mi(){Hg.point=ki}function ki(t,n){Hg.point=Ai,wi(sg=t,cg=n)}function Ai(t,n){var e=t-sg,r=n-cg,i=Iy(e*e+r*r);zg+=i*(sg+t)/2,Dg+=i*(cg+n)/2,Ug+=i,wi(sg=t,cg=n)}function Ci(){Hg.point=wi}function Si(){Hg.point=Ei}function Ti(){Ni(ag,ug)}function Ei(t,n){Hg.point=Ni,wi(ag=sg=t,ug=cg=n)}function Ni(t,n){var e=t-sg,r=n-cg,i=Iy(e*e+r*r);zg+=i*(sg+t)/2,Dg+=i*(cg+n)/2,Ug+=i,i=cg*t-sg*n,qg+=i*(sg+t),Fg+=i*(cg+n),Bg+=3*i,wi(sg=t,cg=n)}function Oi(t){this._context=t}function $i(t,n){Zg.point=Pi,Vg=Wg=t,Xg=Jg=n}function Pi(t,n){Wg-=t,Jg-=n,Kg.add(Iy(Wg*Wg+Jg*Jg)),Wg=t,Jg=n}function Ri(){this._string=[]}function Li(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function ji(t){return t.length>1}function Ii(t,n){return((t=t.x)[0]<0?t[1]-wy-my:wy-t[1])-((n=n.x)[0]<0?n[1]-wy-my:wy-n[1])}function zi(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?by:-by,s=Sy(o-e);Sy(s-by)<my?(t.point(e,r=(r+a)/2>0?wy:-wy),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&s>=by&&(Sy(e-i)<my&&(e-=i*my),Sy(o-u)<my&&(o-=u*my),r=Di(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),n=0),t.point(e=o,r=a),i=u},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}function Di(t,n,e,r){var i,o,a=Ly(t-e);return Sy(a)>my?Ty((Ly(n)*(o=Ny(r))*Ly(e)-Ly(r)*(i=Ny(n))*Ly(t))/(i*o*a)):(n+r)/2}function Ui(t,n,e,r){var i;if(null==t)i=e*wy,r.point(-by,i),r.point(0,i),r.point(by,i),r.point(by,0),r.point(by,-i),r.point(0,-i),r.point(-by,-i),r.point(-by,0),r.point(-by,i);else if(Sy(t[0]-n[0])>my){var o=t[0]<n[0]?by:-by;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}function qi(t){return function(n){var e=new Fi;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Fi(){}function Bi(t,n,e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),qy(e,t.stream(Rg));var a=Rg.result(),u=Math.min(r/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),s=+n[0][0]+(r-u*(a[1][0]+a[0][0]))/2,c=+n[0][1]+(i-u*(a[1][1]+a[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*u).translate([s,c])}function Hi(t,n,e){return Bi(t,[[0,0],n],e)}function Yi(t){return qi({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function Vi(t,n){function e(r,i,o,a,u,s,c,f,l,h,p,d,v,y){var g=c-r,_=f-i,m=g*g+_*_;if(m>4*n&&v--){var x=a+h,b=u+p,w=s+d,M=Iy(x*x+b*b+w*w),k=yr(w/=M),A=Sy(Sy(w)-1)<my||Sy(o-l)<my?(o+l)/2:Ey(b,x),C=t(A,k),S=C[0],T=C[1],E=S-r,N=T-i,O=_*E-g*N;(O*O/m>n||Sy((g*E+_*N)/m-.5)>.3||a*h+u*p+s*d<a_)&&(e(r,i,o,a,u,s,S,T,A,x/=M,b/=M,w,v,y),y.point(S,T),e(S,T,A,x,b,w,c,f,l,h,p,d,v,y))}}return function(n){function r(e,r){e=t(e,r),n.point(e[0],e[1])}function i(){g=NaN,w.point=o,n.lineStart()}function o(r,i){var o=Sr([r,i]),a=t(r,i);e(g,_,y,m,x,b,g=a[0],_=a[1],y=r,m=o[0],x=o[1],b=o[2],o_,n),n.point(g,_)}function a(){w.point=r,n.lineEnd()}function u(){i(),w.point=s,w.lineEnd=c}function s(t,n){o(f=t,n),l=g,h=_,p=m,d=x,v=b,w.point=o}function c(){e(g,_,y,m,x,b,l,h,f,p,d,v,o_,n),w.lineEnd=a,a()}var f,l,h,p,d,v,y,g,_,m,x,b,w={point:r,lineStart:i,lineEnd:a,polygonStart:function(){n.polygonStart(),w.lineStart=u},polygonEnd:function(){n.polygonEnd(),w.lineStart=i}};return w}}function Xi(t){return Wi(function(){return t})()}function Wi(t){function n(t){return t=f(t[0]*Cy,t[1]*Cy),[t[0]*y+u,s-t[1]*y]}function e(t){return t=f.invert((t[0]-u)/y,(s-t[1])/y),t&&[t[0]*Ay,t[1]*Ay]}function r(t,n){return t=a(t,n),[t[0]*y+u,s-t[1]*y]}function i(){f=Gy(c=ti(b,w,M),a);var t=a(m,x);return u=g-t[0]*y,s=_+t[1]*y,o()}function o(){return d=v=null,n}var a,u,s,c,f,l,h,p,d,v,y=150,g=480,_=250,m=0,x=0,b=0,w=0,M=0,k=null,A=e_,C=null,S=Cg,T=.5,E=u_(r,T);return n.stream=function(t){return d&&v===t?d:d=s_(A(c,E(S(v=t))))},n.clipAngle=function(t){return arguments.length?(A=+t?r_(k=t*Cy,6*Cy):(k=null,e_),o()):k*Ay},n.clipExtent=function(t){return arguments.length?(S=null==t?(C=l=h=p=null,Cg):si(C=+t[0][0],l=+t[0][1],h=+t[1][0],p=+t[1][1]),o()):null==C?null:[[C,l],[h,p]]},n.scale=function(t){return arguments.length?(y=+t,i()):y},n.translate=function(t){return arguments.length?(g=+t[0],_=+t[1],i()):[g,_]},n.center=function(t){return arguments.length?(m=t[0]%360*Cy,x=t[1]%360*Cy,i()):[m*Ay,x*Ay]},n.rotate=function(t){return arguments.length?(b=t[0]%360*Cy,w=t[1]%360*Cy,M=t.length>2?t[2]%360*Cy:0,i()):[b*Ay,w*Ay,M*Ay]},n.precision=function(t){return arguments.length?(E=u_(r,T=t*t),o()):Iy(T)},n.fitExtent=function(t,e){return Bi(n,t,e)},n.fitSize=function(t,e){return Hi(n,t,e)},function(){return a=t.apply(this,arguments),n.invert=a.invert&&e,i()}}function Ji(t){var n=0,e=by/3,r=Wi(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Cy,e=t[1]*Cy):[n*Ay,e*Ay]},i}function Ki(t){function n(t,n){return[t*e,Ly(n)/e]}var e=Ny(t);return n.invert=function(t,n){return[t/e,yr(n*e)]},n}function Zi(t,n){function e(t,n){var e=Iy(o-2*i*Ly(n))/i;return[e*Ly(t*=i),a-e*Ny(t)]}var r=Ly(t),i=(r+Ly(n))/2;if(Sy(i)<my)return Ki(t);var o=1+r*(2*i-r),a=Iy(o)/i;return e.invert=function(t,n){var e=a-n;return[Ey(t,Sy(e))/i*jy(e),yr((o-(t*t+e*e)*i*i)/(2*i))]},e}function Gi(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i<n;)t[i].point(e,r)},sphere:function(){for(var e=-1;++e<n;)t[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)t[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)t[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)t[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<n;)t[e].polygonEnd()}}}function Qi(t){return function(n,e){var r=Ny(n),i=Ny(e),o=t(r*i);return[o*i*Ly(n),o*Ly(e)]}}function to(t){return function(n,e){var r=Iy(n*n+e*e),i=t(r),o=Ly(i),a=Ny(i);return[Ey(n*o,r*a),yr(r&&e*o/r)]}}function no(t,n){return[t,Py(zy((wy+n)/2))]}function eo(t){var n,e=Xi(t),r=e.scale,i=e.translate,o=e.clipExtent;return e.scale=function(t){return arguments.length?(r(t),n&&e.clipExtent(null),e):r()},e.translate=function(t){return arguments.length?(i(t),n&&e.clipExtent(null),e):i()},e.clipExtent=function(t){if(!arguments.length)return n?null:o();if(n=null==t){var a=by*r(),u=i();t=[[u[0]-a,u[1]-a],[u[0]+a,u[1]+a]]}return o(t),e},e.clipExtent(null)}function ro(t){return zy((wy+t)/2)}function io(t,n){function e(t,n){o>0?n<-wy+my&&(n=-wy+my):n>wy-my&&(n=wy-my);var e=o/Ry(ro(n),i);return[e*Ly(i*t),o-e*Ny(i*t)]}var r=Ny(t),i=t===n?Ly(t):Py(r/Ny(n))/Py(ro(n)/ro(t)),o=r*Ry(ro(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=jy(i)*Iy(t*t+e*e);return[Ey(t,Sy(e))/i*jy(e),2*Ty(Ry(o/r,1/i))-wy]},e):no}function oo(t,n){return[t,n]}function ao(t,n){function e(t,n){var e=o-n,r=i*t;return[e*Ly(r),o-e*Ny(r)]}var r=Ny(t),i=t===n?Ly(t):(r-Ny(n))/(n-t),o=r/i+t;return Sy(i)<my?oo:(e.invert=function(t,n){var e=o-n;return[Ey(t,Sy(e))/i*jy(e),o-jy(i)*Iy(t*t+e*e)]},e)}function uo(t,n){var e=Ny(n),r=Ny(t)*e;return[e*Ly(t)/r,Ly(n)/r]}function so(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?Cg:qi({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}function co(t,n){return[Ny(n)*Ly(t),Ly(n)]}function fo(t,n){var e=Ny(n),r=1+Ny(t)*e;return[e*Ly(t)/r,Ly(n)/r]}function lo(t,n){return[Py(zy((wy+n)/2)),-t]}function ho(t,n){return t.parent===n.parent?1:2}function po(t){return t.reduce(vo,0)/t.length}function vo(t,n){return t+n.x}function yo(t){return 1+t.reduce(go,0)}function go(t,n){return Math.max(t,n.y)}function _o(t){for(var n;n=t.children;)t=n[0];return t}function mo(t){for(var n;n=t.children;)t=n[n.length-1];return t}function xo(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function bo(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}function wo(t,n){var e,r,i,o,a,u=new So(t),s=+t.value&&(u.value=t.value),c=[u];for(null==n&&(n=ko);e=c.pop();)if(s&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)c.push(r=e.children[o]=new So(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Co)}function Mo(){return wo(this).eachBefore(Ao)}function ko(t){return t.children}function Ao(t){t.data=t.data.data}function Co(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function So(t){this.data=t,this.depth=this.height=0,this.parent=null}function To(t){this._=t,this.next=null}function Eo(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r-n.r;return i*i+1e-6>e*e+r*r}function No(t,n){var e,r,i,o=null,a=t.head;switch(n.length){case 1:e=Oo(n[0]);break;case 2:e=$o(n[0],n[1]);break;case 3:e=Po(n[0],n[1],n[2])}for(;a;)i=a._,r=a.next,e&&Eo(e,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=No(t,n),n.pop(),t.head?(a.next=t.head,t.head=a):(a.next=null,t.head=t.tail=a),o=t.tail,o.next=r),a=r;return t.tail=o,e}function Oo(t){return{x:t.x,y:t.y,r:t.r}}function $o(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,s=o-e,c=a-r,f=u-i,l=Math.sqrt(s*s+c*c);return{x:(e+o+s/l*f)/2,y:(r+a+c/l*f)/2,r:(l+i+u)/2}}function Po(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,s=n.r,c=e.x,f=e.y,l=e.r,h=2*(r-a),p=2*(i-u),d=2*(s-o),v=r*r+i*i-o*o-a*a-u*u+s*s,y=2*(r-c),g=2*(i-f),_=2*(l-o),m=r*r+i*i-o*o-c*c-f*f+l*l,x=y*p-h*g,b=(p*m-g*v)/x-r,w=(g*d-p*_)/x,M=(y*v-h*m)/x-i,k=(h*_-y*d)/x,A=w*w+k*k-1,C=2*(b*w+M*k+o),S=b*b+M*M-o*o,T=(-C-Math.sqrt(C*C-4*A*S))/(2*A);return{x:b+w*T+r,y:M+k*T+i,r:T}}function Ro(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,s=n.y-i,c=u*u+s*s;if(c){var f=.5+((a*=a)-(o*=o))/(2*c),l=Math.sqrt(Math.max(0,2*o*(a+c)-(a-=c)*a-o*o))/(2*c);e.x=r+f*u+l*s,e.y=i+f*s-l*u}else e.x=r+a,e.y=i}function Lo(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function jo(t,n){for(var e=t._.r;t!==n;)e+=2*(t=t.next)._.r;return e-n._.r}function Io(t,n,e){var r=t._,i=t.next._,o=r.r+i.r,a=(r.x*i.r+i.x*r.r)/o-n,u=(r.y*i.r+i.y*r.r)/o-e;return a*a+u*u}function zo(t){this._=t,this.next=null,this.previous=null}function Do(t){if(!(i=t.length))return 0;var n,e,r,i;if(n=t[0],n.x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;Ro(e,n,r=t[2]);var o,a,u,s,c,f,l,h=n.r*n.r,p=e.r*e.r,d=r.r*r.r,v=h+p+d,y=h*n.x+p*e.x+d*r.x,g=h*n.y+p*e.y+d*r.y;n=new zo(n),e=new zo(e),r=new zo(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;u<i;++u){Ro(n._,e._,r=t[u]),r=new zo(r),s=e.next,c=n.previous,f=e._.r,l=n._.r;do if(f<=l){if(Lo(s._,r._)){f+n._.r+e._.r>jo(s,e)?n=s:e=s,n.next=e,e.previous=n,--u;continue t}f+=s._.r,s=s.next}else{if(Lo(c._,r._)){jo(n,c)>l+n._.r+e._.r?n=c:e=c,n.next=e,e.previous=n,--u;continue t}l+=c._.r,c=c.previous}while(s!==c.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,v+=d=r._.r*r._.r,y+=d*r._.x,g+=d*r._.y,h=Io(n,o=y/v,a=g/v);(r=r.next)!==e;)(d=Io(r,o,a))<h&&(n=r,h=d);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=z_(n),u=0;u<i;++u)n=t[u],n.x-=r.x,n.y-=r.y;return r.r}function Uo(t){return null==t?null:qo(t)}function qo(t){if("function"!=typeof t)throw new Error;return t}function Fo(){return 0}function Bo(t){return Math.sqrt(t.value)}function Ho(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Yo(t,n){return function(e){if(r=e.children){var r,i,o,a=r.length,u=t(e)*n||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=Do(r),u)for(i=0;i<a;++i)r[i].r-=u;e.r=o+u}}}function Vo(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function Xo(t){return t.id}function Wo(t){return t.parentId}function Jo(t,n){return t.parent===n.parent?1:2}function Ko(t){var n=t.children;return n?n[0]:t.t}function Zo(t){var n=t.children;return n?n[n.length-1]:t.t}function Go(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function Qo(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function ta(t,n,e){return t.a.parent===n.parent?t.a:e}function na(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function ea(t){for(var n,e,r,i,o,a=new na(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new na(r[i],i)),e.parent=n;return(a.parent=new na(null,0)).children=[a],a}function ra(t,n,e,r,i,o){for(var a,u,s,c,f,l,h,p,d,v,y,g=[],_=n.children,m=0,x=0,b=_.length,w=n.value;m<b;){s=i-e,c=o-r;do f=_[x++].value;while(!f&&x<b);for(l=h=f,v=Math.max(c/s,s/c)/(w*t),y=f*f*v,d=Math.max(h/y,y/l);x<b;++x){if(f+=u=_[x].value,u<l&&(l=u),u>h&&(h=u),y=f*f*v,p=Math.max(h/y,y/l),p>d){f-=u;break}d=p}g.push(a={value:f,dice:s<c,children:_.slice(m,x)}),a.dice?B_(a,e,r,i,w?r+=c*f/w:o):K_(a,e,r,w?e+=s*f/w:i,o),w-=f,m=x}return g}function ia(t,n){return t[0]-n[0]||t[1]-n[1]}function oa(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&om(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function aa(t){if(!(t>=1))throw new Error;this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function ua(t){if(!t._start)try{sa(t)}catch(n){if(t._tasks[t._ended+t._active-1])fa(t,n);else if(!t._data)throw n}}function sa(t){for(;t._start=t._waiting&&t._active<t._size;){var n=t._ended+t._active,e=t._tasks[n],r=e.length-1,i=e[r];e[r]=ca(t,n),--t._waiting,++t._active,e=i.apply(null,e),t._tasks[n]&&(t._tasks[n]=e||fm)}}function ca(t,n){return function(e,r){t._tasks[n]&&(--t._active,
++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,a),i[0]=Math.floor(u/c)*c,i[o]=Math.ceil(s/c)*c,n(i)),t},t}function Ta(){var t=Ca(xa,yh);return t.copy=function(){return Aa(t,Ta())},Sa(t)}function Ea(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=Sm.call(e,Om),t):n.slice()},t.copy=function(){return Ea().domain(n)},Sa(t)}function Na(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Nm(n)}function Oa(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function $a(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Pa(t){return 10===t?$a:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function Ra(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function La(t){return function(n){return-t(-n)}}function ja(){function n(){return o=Ra(i),a=Pa(i),r()[0]<0&&(o=La(o),a=La(a)),e}var e=Ca(Na,Oa).domain([1,10]),r=e.domain,i=10,o=Ra(10),a=Pa(10);return e.base=function(t){return arguments.length?(i=+t,n()):i},e.domain=function(t){return arguments.length?(r(t),n()):r()},e.ticks=function(t){var n,e=r(),u=e[0],s=e[e.length-1];(n=s<u)&&(h=u,u=s,s=h);var c,f,l,h=o(u),p=o(s),d=null==t?10:+t,v=[];if(!(i%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,u>0){for(;h<p;++h)for(f=1,c=a(h);f<i;++f)if(l=c*f,!(l<u)){if(l>s)break;v.push(l)}}else for(;h<p;++h)for(f=i-1,c=a(h);f>=1;--f)if(l=c*f,!(l<u)){if(l>s)break;v.push(l)}}else v=Vc(h,p,Math.min(p-h,d)).map(a);return n?v.reverse():v},e.tickFormat=function(n,r){if(null==r&&(r=10===i?".0e":","),"function"!=typeof r&&(r=t.format(r)),n===1/0)return r;null==n&&(n=10);var u=Math.max(1,i*n/e.ticks().length);return function(t){var n=t/a(Math.round(o(t)));return n*i<i-.5&&(n*=i),n<=u?r(t):""}},e.nice=function(){return r(Rm(r(),{floor:function(t){return a(Math.floor(o(t)))},ceil:function(t){return a(Math.ceil(o(t)))}}))},e.copy=function(){return Aa(e,ja().base(i))},e}function Ia(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function za(){function t(t,n){return(n=Ia(n,e)-(t=Ia(t,e)))?function(r){return(Ia(r,e)-t)/n}:Nm(n)}function n(t,n){return n=Ia(n,e)-(t=Ia(t,e)),function(r){return Ia(t+n*r,1/e)}}var e=1,r=Ca(t,n),i=r.domain;return r.exponent=function(t){return arguments.length?(e=+t,i(i())):e},r.copy=function(){return Aa(r,za().exponent(e))},Sa(r)}function Da(){return za().exponent(.5)}function Ua(){function t(){var t=0,o=Math.max(1,r.length);for(i=new Array(o-1);++t<o;)i[t-1]=Jc(e,t/o);return n}function n(t){if(!isNaN(t=+t))return r[Nc(i,t)]}var e=[],r=[],i=[];return n.invertExtent=function(t){var n=r.indexOf(t);return n<0?[NaN,NaN]:[n>0?i[n-1]:e[0],n<i.length?i[n]:e[e.length-1]]},n.domain=function(n){if(!arguments.length)return e.slice();e=[];for(var r,i=0,o=n.length;i<o;++i)r=n[i],null==r||isNaN(r=+r)||e.push(r);return e.sort(Sc),t()},n.range=function(n){return arguments.length?(r=Tm.call(n),t()):r.slice()},n.quantiles=function(){return i.slice()},n.copy=function(){return Ua().domain(e).range(r)},n}function qa(){function t(t){if(t<=t)return a[Nc(o,t,0,i)]}function n(){var n=-1;for(o=new Array(i);++n<i;)o[n]=((n+1)*r-(n-i)*e)/(i+1);return t}var e=0,r=1,i=1,o=[.5],a=[0,1];return t.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n()):[e,r]},t.range=function(t){return arguments.length?(i=(a=Tm.call(t)).length-1,n()):a.slice()},t.invertExtent=function(t){var n=a.indexOf(t);return n<0?[NaN,NaN]:n<1?[e,o[0]]:n>=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return qa().domain([e,r]).range(a)},Sa(t)}function Fa(){function t(t){if(t<=t)return e[Nc(n,t,0,r)]}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=Tm.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=Tm.call(i),r=Math.min(n.length,e.length-1),t):e.slice()},t.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return Fa().domain(n).range(e)},t}function Ba(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return a;do a.push(new Date(+e));while(n(e,o),t(e),e<r);return a},i.filter=function(e){return Ba(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return Lm.setTime(+n),jm.setTime(+r),t(Lm),t(jm),Math.floor(e(Lm,jm))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t===0}:function(n){return i.count(0,n)%t===0}):i:null}),i}function Ha(t){return Ba(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Um)/Bm})}function Ya(t){return Ba(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Bm})}function Va(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Xa(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Wa(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Ja(t){function n(t,n){return function(e){var r,i,o,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=qx[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function e(t,n){return function(e){var i=Wa(1900),o=r(i,t,e+="",0);if(o!=e.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var a="Z"in i?Xa(Wa(i.y)).getUTCDay():n(Wa(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Xa(i)):n(i)}}function r(t,n,e,r){for(var i,o,a=0,u=n.length,s=e.length;a<u;){if(r>=s)return-1;if(i=n.charCodeAt(a++),37===i){if(i=n.charAt(a++),o=F[i in qx?n.charAt(a++):i],!o||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function i(t,n,e){var r=N.exec(n.slice(e));return r?(t.p=O[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=R.exec(n.slice(e));return r?(t.w=L[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=$.exec(n.slice(e));return r?(t.w=P[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=z.exec(n.slice(e));return r?(t.m=D[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){var r=j.exec(n.slice(e));return r?(t.m=I[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){return r(t,w,n,e)}function f(t,n,e){return r(t,M,n,e)}function l(t,n,e){return r(t,k,n,e)}function h(t){return S[t.getDay()]}function p(t){return C[t.getDay()]}function d(t){return E[t.getMonth()]}function v(t){return T[t.getMonth()]}function y(t){return A[+(t.getHours()>=12)]}function g(t){return S[t.getUTCDay()]}function _(t){return C[t.getUTCDay()]}function m(t){return E[t.getUTCMonth()]}function x(t){return T[t.getUTCMonth()]}function b(t){return A[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,k=t.time,A=t.periods,C=t.days,S=t.shortDays,T=t.months,E=t.shortMonths,N=Ga(A),O=Qa(A),$=Ga(C),P=Qa(C),R=Ga(S),L=Qa(S),j=Ga(T),I=Qa(T),z=Ga(E),D=Qa(E),U={a:h,A:p,b:d,B:v,c:null,d:du,e:du,H:vu,I:yu,j:gu,L:_u,m:mu,M:xu,p:y,S:bu,U:wu,w:Mu,W:ku,x:null,X:null,y:Au,Y:Cu,Z:Su,"%":Fu},q={a:g,A:_,b:m,B:x,c:null,d:Tu,e:Tu,H:Eu,I:Nu,j:Ou,L:$u,m:Pu,M:Ru,p:b,S:Lu,U:ju,w:Iu,W:zu,x:null,X:null,y:Du,Y:Uu,Z:qu,"%":Fu},F={a:o,A:a,b:u,B:s,c:c,d:uu,e:uu,H:cu,I:cu,j:su,L:hu,m:au,M:fu,p:i,S:lu,U:nu,w:tu,W:eu,x:f,X:l,y:iu,Y:ru,Z:ou,"%":pu};return U.x=n(M,U),U.X=n(k,U),U.c=n(w,U),q.x=n(M,q),q.X=n(k,q),q.c=n(w,q),{format:function(t){var e=n(t+="",U);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",Va);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",q);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,Xa);return n.toString=function(){return t},n}}}function Ka(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function Za(t){return t.replace(Hx,"\\$&")}function Ga(t){return new RegExp("^(?:"+t.map(Za).join("|")+")","i")}function Qa(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function tu(t,n,e){var r=Fx.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function nu(t,n,e){var r=Fx.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function eu(t,n,e){var r=Fx.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function ru(t,n,e){var r=Fx.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function iu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function ou(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function au(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function uu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function su(t,n,e){var r=Fx.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function cu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function fu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function lu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function hu(t,n,e){var r=Fx.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function pu(t,n,e){var r=Bx.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function du(t,n){return Ka(t.getDate(),n,2)}function vu(t,n){return Ka(t.getHours(),n,2)}function yu(t,n){return Ka(t.getHours()%12||12,n,2)}function gu(t,n){return Ka(1+Km.count(dx(t),t),n,3)}function _u(t,n){return Ka(t.getMilliseconds(),n,3)}function mu(t,n){return Ka(t.getMonth()+1,n,2)}function xu(t,n){return Ka(t.getMinutes(),n,2)}function bu(t,n){return Ka(t.getSeconds(),n,2)}function wu(t,n){return Ka(Gm.count(dx(t),t),n,2)}function Mu(t){return t.getDay()}function ku(t,n){return Ka(Qm.count(dx(t),t),n,2)}function Au(t,n){return Ka(t.getFullYear()%100,n,2)}function Cu(t,n){return Ka(t.getFullYear()%1e4,n,4)}function Su(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ka(n/60|0,"0",2)+Ka(n%60,"0",2)}function Tu(t,n){return Ka(t.getUTCDate(),n,2)}function Eu(t,n){return Ka(t.getUTCHours(),n,2)}function Nu(t,n){return Ka(t.getUTCHours()%12||12,n,2)}function Ou(t,n){return Ka(1+xx.count(zx(t),t),n,3)}function $u(t,n){return Ka(t.getUTCMilliseconds(),n,3)}function Pu(t,n){return Ka(t.getUTCMonth()+1,n,2)}function Ru(t,n){return Ka(t.getUTCMinutes(),n,2)}function Lu(t,n){return Ka(t.getUTCSeconds(),n,2)}function ju(t,n){return Ka(wx.count(zx(t),t),n,2)}function Iu(t){return t.getUTCDay()}function zu(t,n){return Ka(Mx.count(zx(t),t),n,2)}function Du(t,n){return Ka(t.getUTCFullYear()%100,n,2)}function Uu(t,n){return Ka(t.getUTCFullYear()%1e4,n,4)}function qu(){return"+0000"}function Fu(){return"%"}function Bu(n){return Dx=Ja(n),t.timeFormat=Dx.format,t.timeParse=Dx.parse,t.utcFormat=Dx.utcFormat,t.utcParse=Dx.utcParse,Dx}function Hu(t){return t.toISOString()}function Yu(t){var n=new Date(t);return isNaN(n)?null:n}function Vu(t){return new Date(t)}function Xu(t){return t instanceof Date?+t:+new Date(+t)}function Wu(t,n,r,i,o,a,u,s,c){function f(e){return(u(e)<e?v:a(e)<e?y:o(e)<e?g:i(e)<e?_:n(e)<e?r(e)<e?m:x:t(e)<e?b:w)(e)}function l(n,r,i,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(i-r)/n,u=Tc(function(t){return t[2]}).right(M,a);u===M.length?(o=e(r/tb,i/tb,n),n=t):u?(u=M[a/M[u-1][2]<M[u][2]/a?u-1:u],o=u[1],n=u[0]):(o=e(r,i,n),n=s)}return null==o?n:n.every(o)}var h=Ca(xa,yh),p=h.invert,d=h.domain,v=c(".%L"),y=c(":%S"),g=c("%I:%M"),_=c("%I %p"),m=c("%a %d"),x=c("%b %d"),b=c("%B"),w=c("%Y"),M=[[u,1,Wx],[u,5,5*Wx],[u,15,15*Wx],[u,30,30*Wx],[a,1,Jx],[a,5,5*Jx],[a,15,15*Jx],[a,30,30*Jx],[o,1,Kx],[o,3,3*Kx],[o,6,6*Kx],[o,12,12*Kx],[i,1,Zx],[i,2,2*Zx],[r,1,Gx],[n,1,Qx],[n,3,3*Qx],[t,1,tb]];return h.invert=function(t){return new Date(p(t))},h.domain=function(t){return arguments.length?d(Sm.call(t,Xu)):d().map(Vu)},h.ticks=function(t,n){var e,r=d(),i=r[0],o=r[r.length-1],a=o<i;return a&&(e=i,i=o,o=e),e=l(t,i,o,n),e=e?e.range(i,o+1):[],a?e.reverse():e},h.tickFormat=function(t,n){return null==n?f:c(n)},h.nice=function(t,n){var e=d();return(t=l(t,e[0],e[e.length-1],n))?d(Rm(e,t)):h},h.copy=function(){return Aa(h,Wu(t,n,r,i,o,a,u,s,c))},h}function Ju(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}function Ku(t){function n(n){var o=(n-e)/(r-e);return t(i?Math.max(0,Math.min(1,o)):o)}var e=0,r=1,i=!1;return n.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n):[e,r]},n.clamp=function(t){return arguments.length?(i=!!t,n):i},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Ku(t).domain([e,r]).clamp(i)},Sa(n)}function Zu(t){return t.innerRadius}function Gu(t){return t.outerRadius}function Qu(t){return t.startAngle}function ts(t){return t.endAngle}function ns(t){return t&&t.padAngle}function es(t){return t>=1?xb:t<=-1?-xb:Math.asin(t)}function rs(t,n,e,r,i,o,a,u){var s=e-t,c=r-n,f=a-i,l=u-o,h=(f*(n-o)-l*(t-i))/(l*s-f*c);return[t+h*s,n+h*c]}function is(t,n,e,r,i,o,a){var u=t-e,s=n-r,c=(a?o:-o)/Math.sqrt(u*u+s*s),f=c*s,l=-c*u,h=t+f,p=n+l,d=e+f,v=r+l,y=(h+d)/2,g=(p+v)/2,_=d-h,m=v-p,x=_*_+m*m,b=i-o,w=h*v-d*p,M=(m<0?-1:1)*Math.sqrt(Math.max(0,b*b*x-w*w)),k=(w*m-_*M)/x,A=(-w*_-m*M)/x,C=(w*m+_*M)/x,S=(-w*_+m*M)/x,T=k-y,E=A-g,N=C-y,O=S-g;return T*T+E*E>N*N+O*O&&(k=C,A=S),{cx:k,cy:A,x01:-f,y01:-l,x11:k*(i/b-1),y11:A*(i/b-1)}}function os(t){this._context=t}function as(t){return t[0]}function us(t){return t[1]}function ss(t){this._curve=t}function cs(t){function n(n){return new ss(t(n))}return n._curve=t,n}function fs(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(cs(t)):n()._curve},t}function ls(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function hs(t){this._context=t}function ps(t){this._context=t}function ds(t){this._context=t}function vs(t,n){this._basis=new hs(t),this._beta=n}function ys(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function gs(t,n){this._context=t,this._k=(1-n)/6}function _s(t,n){this._context=t,this._k=(1-n)/6}function ms(t,n){this._context=t,this._k=(1-n)/6}function xs(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>_b){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>_b){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/f,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function bs(t,n){this._context=t,this._alpha=n}function ws(t,n){this._context=t,this._alpha=n}function Ms(t,n){this._context=t,this._alpha=n}function ks(t){this._context=t}function As(t){return t<0?-1:1}function Cs(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(As(o)+As(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Ss(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ts(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function Es(t){this._context=t}function Ns(t){this._context=new Os(t)}function Os(t){this._context=t}function $s(t){return new Es(t)}function Ps(t){return new Ns(t)}function Rs(t){this._context=t}function Ls(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function js(t,n){this._context=t,this._t=n}function Is(t){return new js(t,0)}function zs(t){return new js(t,1)}function Ds(t,n){return t[n]}function Us(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function qs(t){return t[0]}function Fs(t){return t[1]}function Bs(){this._=null}function Hs(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Ys(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function Vs(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Xs(t){for(;t.L;)t=t.L;return t}function Ws(t,n,e,r){var i=[null,null],o=Tw.push(i)-1;return i.left=t,i.right=n,e&&Ks(i,t,n,e),r&&Ks(i,n,t,r),Cw[t.index].halfedges.push(o),Cw[n.index].halfedges.push(o),i}function Js(t,n,e){var r=[n,e];return r.left=t,r}function Ks(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Zs(t,n,e,r,i){var o,a=t[0],u=t[1],s=a[0],c=a[1],f=u[0],l=u[1],h=0,p=1,d=f-s,v=l-c;if(o=n-s,d||!(o>0)){if(o/=d,d<0){if(o<h)return;o<p&&(p=o)}else if(d>0){if(o>p)return;o>h&&(h=o)}if(o=r-s,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o<h)return;o<p&&(p=o)}if(o=e-c,v||!(o>0)){if(o/=v,v<0){if(o<h)return;o<p&&(p=o)}else if(v>0){if(o>p)return;o>h&&(h=o)}if(o=i-c,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o<h)return;o<p&&(p=o)}return!(h>0||p<1)||(h>0&&(t[0]=[s+h*d,c+h*v]),p<1&&(t[1]=[s+p*d,c+p*v]),!0)}}}}}function Gs(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,f=t.right,l=c[0],h=c[1],p=f[0],d=f[1],v=(l+p)/2,y=(h+d)/2;if(d===h){if(v<n||v>=r)return;if(l>p){if(s){if(s[1]>=i)return}else s=[v,e];o=[v,i]}else{if(s){if(s[1]<e)return}else s=[v,i];o=[v,e]}}else if(a=(l-p)/(d-h),u=y-a*v,a<-1||a>1)if(l>p){if(s){if(s[1]>=i)return}else s=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(s){if(s[1]<e)return}else s=[(i-u)/a,i];o=[(e-u)/a,e]}else if(h<d){if(s){if(s[0]>=r)return}else s=[n,a*n+u];o=[r,a*r+u]}else{if(s){if(s[0]<n)return}else s=[r,a*r+u];o=[n,a*n+u]}return t[0]=s,t[1]=o,!0}function Qs(t,n,e,r){for(var i,o=Tw.length;o--;)Gs(i=Tw[o],t,n,e,r)&&Zs(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>Ow||Math.abs(i[0][1]-i[1][1])>Ow)||delete Tw[o]}function tc(t){return Cw[t.index]={site:t,halfedges:[]}}function nc(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function ec(t,n){return n[+(n.left!==t.site)]}function rc(t,n){return n[+(n.left===t.site)]}function ic(){for(var t,n,e,r,i=0,o=Cw.length;i<o;++i)if((t=Cw[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=nc(t,Tw[n[e]]);for(a.sort(function(t,n){return u[n]-u[t]}),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}function oc(t,n,e,r){var i,o,a,u,s,c,f,l,h,p,d,v,y=Cw.length,g=!0;for(i=0;i<y;++i)if(o=Cw[i]){for(a=o.site,s=o.halfedges,u=s.length;u--;)Tw[s[u]]||s.splice(u,1);for(u=0,c=s.length;u<c;)p=rc(o,Tw[s[u]]),d=p[0],v=p[1],f=ec(o,Tw[s[++u%c]]),l=f[0],h=f[1],(Math.abs(d-l)>Ow||Math.abs(v-h)>Ow)&&(s.splice(u,0,Tw.push(Js(a,p,Math.abs(d-t)<Ow&&r-v>Ow?[t,Math.abs(l-t)<Ow?h:r]:Math.abs(v-r)<Ow&&e-d>Ow?[Math.abs(h-r)<Ow?l:e,r]:Math.abs(d-e)<Ow&&v-n>Ow?[e,Math.abs(l-e)<Ow?h:n]:Math.abs(v-n)<Ow&&d-t>Ow?[Math.abs(h-n)<Ow?l:t,n]:null))-1),++c);c&&(g=!1)}if(g){var _,m,x,b=1/0;for(i=0,g=null;i<y;++i)(o=Cw[i])&&(a=o.site,_=a[0]-t,m=a[1]-n,x=_*_+m*m,x<b&&(b=x,g=o));if(g){var w=[t,n],M=[t,r],k=[e,r],A=[e,n];g.halfedges.push(Tw.push(Js(a=g.site,w,M))-1,Tw.push(Js(a,M,k))-1,Tw.push(Js(a,k,A))-1,Tw.push(Js(a,A,w))-1)}}for(i=0;i<y;++i)(o=Cw[i])&&(o.halfedges.length||delete Cw[i])}function ac(){Hs(this),this.x=this.y=this.arc=this.site=this.cy=null}function uc(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var a=i[0],u=i[1],s=r[0]-a,c=r[1]-u,f=o[0]-a,l=o[1]-u,h=2*(s*l-c*f);if(!(h>=-$w)){var p=s*s+c*c,d=f*f+l*l,v=(l*p-c*d)/h,y=(s*d-f*p)/h,g=Ew.pop()||new ac;g.arc=t,g.site=i,g.x=v+a,g.y=(g.cy=y+u)+Math.sqrt(v*v+y*y),t.circle=g;for(var _=null,m=Sw._;m;)if(g.y<m.y||g.y===m.y&&g.x<=m.x){if(!m.L){_=m.P;break}m=m.L}else{if(!m.R){_=m;break}m=m.R}Sw.insert(_,g),_||(kw=g)}}}}function sc(t){var n=t.circle;n&&(n.P||(kw=n.N),Sw.remove(n),Ew.push(n),Hs(n),t.circle=null)}function cc(){Hs(this),this.edge=this.site=this.circle=null}function fc(t){var n=Nw.pop()||new cc;return n.site=t,n}function lc(t){sc(t),Aw.remove(t),Nw.push(t),Hs(t)}function hc(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];lc(t);for(var s=o;s.circle&&Math.abs(e-s.circle.x)<Ow&&Math.abs(r-s.circle.cy)<Ow;)o=s.P,u.unshift(s),lc(s),s=o;u.unshift(s),sc(s);for(var c=a;c.circle&&Math.abs(e-c.circle.x)<Ow&&Math.abs(r-c.circle.cy)<Ow;)a=c.N,u.push(c),lc(c),c=a;u.push(c),sc(c);var f,l=u.length;for(f=1;f<l;++f)c=u[f],s=u[f-1],Ks(c.edge,s.site,c.site,i);s=u[0],c=u[l-1],c.edge=Ws(s.site,c.site,null,i),uc(s),uc(c)}function pc(t){for(var n,e,r,i,o=t[0],a=t[1],u=Aw._;u;)if(r=dc(u,a)-o,r>Ow)u=u.L;else{if(i=o-vc(u,a),!(i>Ow)){r>-Ow?(n=u.P,e=u):i>-Ow?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}tc(t);var s=fc(t);if(Aw.insert(n,s),n||e){if(n===e)return sc(n),e=fc(n.site),Aw.insert(s,e),s.edge=e.edge=Ws(n.site,s.site),uc(n),void uc(e);if(!e)return void(s.edge=Ws(n.site,s.site));sc(n),sc(e);var c=n.site,f=c[0],l=c[1],h=t[0]-f,p=t[1]-l,d=e.site,v=d[0]-f,y=d[1]-l,g=2*(h*y-p*v),_=h*h+p*p,m=v*v+y*y,x=[(y*_-p*m)/g+f,(h*m-v*_)/g+l];Ks(e.edge,c,d,x),s.edge=Ws(c,t,null,x),e.edge=Ws(t,d,null,x),uc(n),uc(e)}}function dc(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-(1/0);e=a.site;var u=e[0],s=e[1],c=s-n;if(!c)return u;var f=u-r,l=1/o-1/c,h=f/c;return l?(-h+Math.sqrt(h*h-2*l*(f*f/(-2*c)-s+c/2+i-o/2)))/l+r:(r+u)/2}function vc(t,n){var e=t.N;if(e)return dc(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function yc(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function gc(t,n){return n[1]-t[1]||n[0]-t[0]}function _c(t,n){var e,r,i,o=t.sort(gc).pop();for(Tw=[],Cw=new Array(t.length),Aw=new Bs,Sw=new Bs;;)if(i=kw,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(pc(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;hc(i.arc)}if(ic(),n){var a=+n[0][0],u=+n[0][1],s=+n[1][0],c=+n[1][1];Qs(a,u,s,c),oc(a,u,s,c)}this.edges=Tw,this.cells=Cw,Aw=Sw=Tw=Cw=null}function mc(t,n,e){this.target=t,this.type=n,this.transform=e}function xc(t,n,e){this.k=t,this.x=n,this.y=e}function bc(t){return t.__zoom||Lw}function wc(){t.event.stopImmediatePropagation()}function Mc(){return!t.event.button}function kc(){var t,n,e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,t=e.width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function Ac(){return this.__zoom||Lw}var Cc="4.6.0",Sc=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},Tc=function(t){return 1===t.length&&(t=n(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}},Ec=Tc(Sc),Nc=Ec.right,Oc=Ec.left,$c=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Pc=function(t){return null===t?NaN:+t},Rc=function(t,n){var e,r,i=t.length,o=0,a=0,u=-1,s=0;if(null==n)for(;++u<i;)isNaN(e=Pc(t[u]))||(r=e-o,o+=r/++s,a+=r*(e-o));else for(;++u<i;)isNaN(e=Pc(n(t[u],u,t)))||(r=e-o,o+=r/++s,a+=r*(e-o));if(s>1)return a/(s-1)},Lc=function(t,n){var e=Rc(t,n);return e?Math.sqrt(e):e},jc=function(t,n){var e,r,i,o=-1,a=t.length;if(null==n){for(;++o<a;)if(null!=(r=t[o])&&r>=r){e=i=r;break}for(;++o<a;)null!=(r=t[o])&&(e>r&&(e=r),i<r&&(i=r))}else{for(;++o<a;)if(null!=(r=n(t[o],o,t))&&r>=r){e=i=r;break}for(;++o<a;)null!=(r=n(t[o],o,t))&&(e>r&&(e=r),i<r&&(i=r))}return[e,i]},Ic=Array.prototype,zc=Ic.slice,Dc=Ic.map,Uc=function(t){return function(){return t}},qc=function(t){return t},Fc=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o},Bc=Math.sqrt(50),Hc=Math.sqrt(10),Yc=Math.sqrt(2),Vc=function(t,n,r){var i=e(t,n,r);return Fc(Math.ceil(t/i)*i,Math.floor(n/i)*i+i/2,i)},Xc=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},Wc=function(){function t(t){var i,o,a=t.length,u=new Array(a);for(i=0;i<a;++i)u[i]=n(t[i],i,t);var s=e(u),c=s[0],f=s[1],l=r(u,c,f);Array.isArray(l)||(l=Vc(c,f,l));for(var h=l.length;l[0]<=c;)l.shift(),--h;for(;l[h-1]>=f;)l.pop(),--h;var p,d=new Array(h+1);for(i=0;i<=h;++i)p=d[i]=[],p.x0=i>0?l[i-1]:c,p.x1=i<h?l[i]:f;for(i=0;i<a;++i)o=u[i],c<=o&&o<=f&&d[Nc(l,o,0,h)].push(t[i]);return d}var n=qc,e=jc,r=Xc;return t.value=function(e){return arguments.length?(n="function"==typeof e?e:Uc(e),t):n},t.domain=function(n){return arguments.length?(e="function"==typeof n?n:Uc([n[0],n[1]]),t):e},t.thresholds=function(n){return arguments.length?(r="function"==typeof n?n:Uc(Array.isArray(n)?zc.call(n):n),t):r},t},Jc=function(t,n,e){if(null==e&&(e=Pc),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t),u=+e(t[o+1],o+1,t);return a+(u-a)*(i-o)}},Kc=function(t,n,e){return t=Dc.call(t,Pc).sort(Sc),Math.ceil((e-n)/(2*(Jc(t,.75)-Jc(t,.25))*Math.pow(t.length,-1/3)))},Zc=function(t,n,e){return Math.ceil((e-n)/(3.5*Lc(t)*Math.pow(t.length,-1/3)))},Gc=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&r>e&&(e=r)}else{for(;++i<o;)if(null!=(r=n(t[i],i,t))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n(t[i],i,t))&&r>e&&(e=r)}return e},Qc=function(t,n){var e,r=0,i=t.length,o=-1,a=i;if(null==n)for(;++o<i;)isNaN(e=Pc(t[o]))?--a:r+=e;else for(;++o<i;)isNaN(e=Pc(n(t[o],o,t)))?--a:r+=e;if(a)return r/a},tf=function(t,n){var e,r=[],i=t.length,o=-1;if(null==n)for(;++o<i;)isNaN(e=Pc(t[o]))||r.push(e);else for(;++o<i;)isNaN(e=Pc(n(t[o],o,t)))||r.push(e);return Jc(r.sort(Sc),.5)},nf=function(t){for(var n,e,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(e=new Array(a);--i>=0;)for(r=t[i],n=r.length;--n>=0;)e[--a]=r[n];return e},ef=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&e>r&&(e=r)}else{for(;++i<o;)if(null!=(r=n(t[i],i,t))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n(t[i],i,t))&&e>r&&(e=r)}return e},rf=function(t){for(var n=0,e=t.length-1,r=t[0],i=new Array(e<0?0:e);n<e;)i[n]=[r,r=t[++n]];return i},of=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},af=function(t,n){if(e=t.length){var e,r,i=0,o=0,a=t[o];for(n||(n=Sc);++i<e;)(n(r=t[i],a)<0||0!==n(a,a))&&(a=r,o=i);return 0===n(a,a)?o:void 0}},uf=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},sf=function(t,n){var e,r=0,i=t.length,o=-1;if(null==n)for(;++o<i;)(e=+t[o])&&(r+=e);else for(;++o<i;)(e=+n(t[o],o,t))&&(r+=e);return r},cf=function(t){if(!(o=t.length))return[];for(var n=-1,e=ef(t,r),i=new Array(e);++n<e;)for(var o,a=-1,u=i[n]=new Array(o);++a<o;)u[a]=t[a][n];return i},ff=function(){return cf(arguments)},lf=Array.prototype.slice,hf=function(t){return t},pf=1,df=2,vf=3,yf=4,gf=1e-6,_f={value:function(){}};d.prototype=p.prototype={constructor:d,on:function(t,n){var e,r=this._,i=v(t+"",r),o=-1,a=i.length;
{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._parents,i=this._groups;"function"!=typeof t&&(t=qf(t));for(var o=i.length,a=new Array(o),u=new Array(o),s=new Array(o),c=0;c<o;++c){var f=r[c],l=i[c],h=l.length,p=t.call(f,f&&f.__data__,c,r),d=p.length,v=u[c]=new Array(d),y=a[c]=new Array(d),g=s[c]=new Array(h);e(f,l,v,y,g,p,n);for(var _,m,x=0,b=0;x<d;++x)if(_=v[x]){for(x>=b&&(b=x+1);!(m=y[b])&&++b<d;);_._next=m||null}}return a=new pt(a,r),a._enter=u,a._exit=s,a},Hf=function(){return new pt(this._exit||this._groups.map(Df),this._parents)},Yf=function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=n[u],f=e[u],l=c.length,h=a[u]=new Array(l),p=0;p<l;++p)(s=c[p]||f[p])&&(h[p]=s);for(;u<r;++u)a[u]=n[u];return new pt(a,this._parents)},Vf=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},Xf=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=P);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,u=e[o],s=u.length,c=i[o]=new Array(s),f=0;f<s;++f)(a=u[f])&&(c[f]=a);c.sort(n)}return new pt(i,this._parents).order()},Wf=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},Jf=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},Kf=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 a=r[i];if(a)return a}return null},Zf=function(){var t=0;return this.each(function(){++t}),t},Gf=function(){return!this.node()},Qf=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},tl=function(t,n){var e=bf(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?L:R:"function"==typeof n?e.local?D:z:e.local?I:j)(e,n))},nl=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},el=function(t,n,e){var r;return arguments.length>1?this.each((null==n?U:"function"==typeof n?F:q)(t,n,null==e?"":e)):nl(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)},rl=function(t,n){return arguments.length>1?this.each((null==n?B:"function"==typeof n?Y:H)(t,n)):this.node()[t]};W.prototype={add:function(t){var n=this._names.indexOf(t);n<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var il=function(t,n){var e=V(t+"");if(arguments.length<2){for(var r=X(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:G)(e,n))},ol=function(t){return arguments.length?this.each(null==t?tt:("function"==typeof t?et:nt)(t)):this.node().textContent},al=function(t){return arguments.length?this.each(null==t?rt:("function"==typeof t?ot:it)(t)):this.node().innerHTML},ul=function(){return this.each(at)},sl=function(){return this.each(ut)},cl=function(t){var n="function"==typeof t?t:wf(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},fl=function(t,n){var e="function"==typeof t?t:wf(t),r=null==n?st:"function"==typeof n?n:Rf(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},ll=function(){return this.each(ct)},hl=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},pl=function(t,n){return this.each(("function"==typeof n?ht:lt)(t,n))},dl=[null];pt.prototype=dt.prototype={constructor:pt,select:Lf,selectAll:If,filter:zf,data:Bf,enter:Uf,exit:Hf,merge:Yf,order:Vf,sort:Xf,call:Wf,nodes:Jf,node:Kf,size:Zf,empty:Gf,each:Qf,attr:tl,style:el,property:rl,classed:il,text:ol,html:al,raise:ul,lower:sl,append:cl,insert:fl,remove:ll,datum:hl,on:Nf,dispatch:pl};var vl=function(t){return"string"==typeof t?new pt([[document.querySelector(t)]],[document.documentElement]):new pt([[t]],dl)},yl=function(t){return"string"==typeof t?new pt([document.querySelectorAll(t)],[document.documentElement]):new pt([null==t?[]:t],dl)},gl=function(t,n,e){arguments.length<3&&(e=n,n=Of().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return $f(t,r);return null},_l=function(t,n){null==n&&(n=Of().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=$f(t,n[e]);return i},ml=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},xl=function(t){var n=t.document.documentElement,e=vl(t).on("dragstart.drag",ml,!0);"onselectstart"in n?e.on("selectstart.drag",ml,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")},bl=function(t){return function(){return t}};gt.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var wl=function(){function n(t){t.on("mousedown.drag",e).on("touchstart.drag",o).on("touchmove.drag",a).on("touchend.drag touchcancel.drag",u).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function e(){if(!f&&l.apply(this,arguments)){var n=s("mouse",h.apply(this,arguments),Pf,this,arguments);n&&(vl(t.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",i,!0),xl(t.event.view),vt(),c=!1,n("start"))}}function r(){ml(),c=!0,v.mouse("drag")}function i(){vl(t.event.view).on("mousemove.drag mouseup.drag",null),yt(t.event.view,c),ml(),v.mouse("end")}function o(){if(l.apply(this,arguments)){var n,e,r=t.event.changedTouches,i=h.apply(this,arguments),o=r.length;for(n=0;n<o;++n)(e=s(r[n].identifier,i,gl,this,arguments))&&(vt(),e("start"))}}function a(){var n,e,r=t.event.changedTouches,i=r.length;for(n=0;n<i;++n)(e=v[r[n].identifier])&&(ml(),e("drag"))}function u(){var n,e,r=t.event.changedTouches,i=r.length;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),n=0;n<i;++n)(e=v[r[n].identifier])&&(vt(),e("end"))}function s(e,r,i,o,a){var u,s,c,f=i(r,e),l=y.copy();if(S(new gt(n,"beforestart",u,e,g,f[0],f[1],0,0,l),function(){return null!=(t.event.subject=u=d.apply(o,a))&&(s=u.x-f[0]||0,c=u.y-f[1]||0,!0)}))return function t(h){var p,d=f;switch(h){case"start":v[e]=t,p=g++;break;case"end":delete v[e],--g;case"drag":f=i(r,e),p=g}S(new gt(n,h,u,e,p,f[0]+s,f[1]+c,f[0]-d[0],f[1]-d[1],l),l.apply,l,[h,o,a])}}var c,f,l=_t,h=mt,d=xt,v={},y=p("start","drag","end"),g=0;return n.filter=function(t){return arguments.length?(l="function"==typeof t?t:bl(!!t),n):l},n.container=function(t){return arguments.length?(h="function"==typeof t?t:bl(t),n):h},n.subject=function(t){return arguments.length?(d="function"==typeof t?t:bl(t),n):d},n.on=function(){var t=y.on.apply(y,arguments);return t===y?n:t},n},Ml=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},kl=.7,Al=1/kl,Cl="\\s*([+-]?\\d+)\\s*",Sl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Tl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",El=/^#([0-9a-f]{3})$/,Nl=/^#([0-9a-f]{6})$/,Ol=new RegExp("^rgb\\("+[Cl,Cl,Cl]+"\\)$"),$l=new RegExp("^rgb\\("+[Tl,Tl,Tl]+"\\)$"),Pl=new RegExp("^rgba\\("+[Cl,Cl,Cl,Sl]+"\\)$"),Rl=new RegExp("^rgba\\("+[Tl,Tl,Tl,Sl]+"\\)$"),Ll=new RegExp("^hsl\\("+[Sl,Tl,Tl]+"\\)$"),jl=new RegExp("^hsla\\("+[Sl,Tl,Tl,Sl]+"\\)$"),Il={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ml(wt,Mt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ml(Tt,St,bt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new Tt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new Tt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Ml($t,Ot,bt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new $t(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new $t(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Tt(Pt(t>=240?t-240:t+120,i,r),Pt(t,i,r),Pt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var zl=Math.PI/180,Dl=180/Math.PI,Ul=18,ql=.95047,Fl=1,Bl=1.08883,Hl=4/29,Yl=6/29,Vl=3*Yl*Yl,Xl=Yl*Yl*Yl;Ml(jt,Lt,bt(wt,{brighter:function(t){return new jt(this.l+Ul*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new jt(this.l-Ul*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=Fl*zt(t),n=ql*zt(n),e=Bl*zt(e),new Tt(Dt(3.2404542*n-1.5371385*t-.4985314*e),Dt(-.969266*n+1.8760108*t+.041556*e),Dt(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Ml(Bt,Ft,bt(wt,{brighter:function(t){return new Bt(this.h,this.c,this.l+Ul*(null==t?1:t),this.opacity)},darker:function(t){return new Bt(this.h,this.c,this.l-Ul*(null==t?1:t),this.opacity)},rgb:function(){return Rt(this).rgb()}}));var Wl=-.14861,Jl=1.78277,Kl=-.29227,Zl=-.90649,Gl=1.97294,Ql=Gl*Zl,th=Gl*Jl,nh=Jl*Kl-Zl*Wl;Ml(Vt,Yt,bt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new Vt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new Vt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*zl,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Tt(255*(n+e*(Wl*r+Jl*i)),255*(n+e*(Kl*r+Zl*i)),255*(n+e*(Gl*r)),this.opacity)}}));var eh,rh,ih,oh,ah,uh,sh=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<n-1?t[r+2]:2*o-i;return Xt((e-r/n)*n,a,i,o,u)}},ch=function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Xt((e-r/n)*n,i,o,a,u)}},fh=function(t){return function(){return t}},lh=function t(n){function e(t,n){var e=r((t=St(t)).r,(n=St(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),a=Gt(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}var r=Zt(n);return e.gamma=t,e}(1),hh=Qt(sh),ph=Qt(ch),dh=function(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),a=new Array(r);for(e=0;e<i;++e)o[e]=bh(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}},vh=function(t,n){var e=new Date;return t=+t,n-=t,function(r){return e.setTime(t+n*r),e}},yh=function(t,n){return t=+t,n-=t,function(e){return t+n*e}},gh=function(t,n){var e,r={},i={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?r[e]=bh(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}},_h=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mh=new RegExp(_h.source,"g"),xh=function(t,n){var e,r,i,o=_h.lastIndex=mh.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=_h.exec(t))&&(r=mh.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:yh(e,r)})),o=mh.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?nn(s[0].x):tn(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})},bh=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?fh(n):("number"===r?yh:"string"===r?(e=Mt(n))?(n=e,lh):xh:n instanceof Mt?lh:n instanceof Date?vh:Array.isArray(n)?dh:isNaN(n)?gh:yh)(t,n)},wh=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}},Mh=180/Math.PI,kh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ah=function(t,n,e,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,s/=u),t*r<n*e&&(t=-t,n=-n,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Mh,skewX:Math.atan(s)*Mh,scaleX:a,scaleY:u}},Ch=on(en,"px, ","px)","deg)"),Sh=on(rn,", ",")",")"),Th=Math.SQRT2,Eh=2,Nh=4,Oh=1e-12,$h=function(t,n){var e,r,i=t[0],o=t[1],a=t[2],u=n[0],s=n[1],c=n[2],f=u-i,l=s-o,h=f*f+l*l;if(h<Oh)r=Math.log(c/a)/Th,e=function(t){return[i+t*f,o+t*l,a*Math.exp(Th*t*r)]};else{var p=Math.sqrt(h),d=(c*c-a*a+Nh*h)/(2*a*Eh*p),v=(c*c-a*a-Nh*h)/(2*c*Eh*p),y=Math.log(Math.sqrt(d*d+1)-d),g=Math.log(Math.sqrt(v*v+1)-v);r=(g-y)/Th,e=function(t){var n=t*r,e=an(y),u=a/(Eh*p)*(e*sn(Th*n+y)-un(y));return[i+u*f,o+u*l,a*e/an(Th*n+y)]}}return e.duration=1e3*r,e},Ph=cn(Kt),Rh=cn(Gt),Lh=ln(Kt),jh=ln(Gt),Ih=hn(Kt),zh=hn(Gt),Dh=function(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e},Uh=0,qh=0,Fh=0,Bh=1e3,Hh=0,Yh=0,Vh=0,Xh="object"==typeof performance&&performance.now?performance:Date,Wh="function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){setTimeout(t,17)};vn.prototype=yn.prototype={constructor:vn,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?pn():+e)+(null==n?0:+n),this._next||uh===this||(uh?uh._next=this:ah=this,uh=this),this._call=t,this._time=e,bn()},stop:function(){this._call&&(this._call=null,this._time=1/0,bn())}};var Jh=function(t,n,e){var r=new vn;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r},Kh=function(t,n,e){var r=new vn,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?pn():+e,r.restart(function o(a){a+=i,r.restart(o,i+=n,e),t(a)},n,e),r)},Zh=p("start","end","interrupt"),Gh=[],Qh=0,tp=1,np=2,ep=3,rp=4,ip=5,op=6,ap=function(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};An(t,e,{name:n,index:r,group:i,on:Zh,tween:Gh,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Qh})},up=function(t,n){var e,r,i,o=t.__transition,a=!0;if(o){n=null==n?null:n+"";for(i in o)(e=o[i]).name===n?(r=e.state>np&&e.state<ip,e.state=op,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}},sp=function(t){return this.each(function(){up(this,t)})},cp=function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=kn(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?Cn:Sn)(e,t,n))},fp=function(t,n){var e;return("number"==typeof n?yh:n instanceof Mt?lh:(e=Mt(n))?(n=e,lh):xh)(t,n)},lp=function(t,n){var e=bf(t),r="transform"===e?Sh:fp;return this.attrTween(t,"function"==typeof n?(e.local?Rn:Pn)(e,r,Tn(this,"attr."+t,n)):null==n?(e.local?Nn:En)(e):(e.local?$n:On)(e,r,n))},hp=function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=bf(t);return this.tween(e,(r.local?Ln:jn)(r,n))},pp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?In:zn)(n,t)):kn(this.node(),n).delay},dp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Dn:Un)(n,t)):kn(this.node(),n).duration},vp=function(t){var n=this._id;return arguments.length?this.each(qn(n,t)):kn(this.node(),n).ease},yp=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 Gn(r,this._parents,this._name,this._id)},gp=function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=n[u],f=e[u],l=c.length,h=a[u]=new Array(l),p=0;p<l;++p)(s=c[p]||f[p])&&(h[p]=s);for(;u<r;++u)a[u]=n[u];return new Gn(a,this._parents,this._name,this._id)},_p=function(t,n){var e=this._id;return arguments.length<2?kn(this.node(),e).on.on(t):this.each(Bn(e,t,n))},mp=function(){return this.on("end.remove",Hn(this._id))},xp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Rf(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,s,c=r[a],f=c.length,l=o[a]=new Array(f),h=0;h<f;++h)(u=c[h])&&(s=t.call(u,u.__data__,h,c))&&("__data__"in u&&(s.__data__=u.__data__),l[h]=s,ap(l[h],n,e,h,l,kn(u,e)));return new Gn(o,this._parents,n,e)},bp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=jf(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,c=r[u],f=c.length,l=0;l<f;++l)if(s=c[l]){for(var h,p=t.call(s,s.__data__,l,c),d=kn(s,e),v=0,y=p.length;v<y;++v)(h=p[v])&&ap(h,n,e,v,p,d);o.push(p),a.push(s)}return new Gn(o,a,n,e)},wp=dt.prototype.constructor,Mp=function(){return new wp(this._groups,this._parents)},kp=function(t,n,e){var r="transform"==(t+="")?Ch:fp;return null==n?this.styleTween(t,Yn(t,r)).on("end.style."+t,Vn(t)):this.styleTween(t,"function"==typeof n?Wn(t,r,Tn(this,"style."+t,n)):Xn(t,r,n),e)},Ap=function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Jn(t,n,null==e?"":e))},Cp=function(t){return this.tween("text","function"==typeof t?Zn(Tn(this,"text",t)):Kn(null==t?"":t+""))},Sp=function(){for(var t=this._name,n=this._id,e=te(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var f=kn(a,n);ap(a,t,e,c,u,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new Gn(r,this._parents,t,e)},Tp=0,Ep=dt.prototype;Gn.prototype=Qn.prototype={constructor:Gn,select:xp,selectAll:bp,filter:yp,merge:gp,selection:Mp,transition:Sp,call:Ep.call,nodes:Ep.nodes,node:Ep.node,size:Ep.size,empty:Ep.empty,each:Ep.each,on:_p,attr:lp,attrTween:hp,style:kp,styleTween:Ap,text:Cp,remove:mp,tween:cp,delay:pp,duration:dp,ease:vp};var Np=3,Op=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(Np),$p=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(Np),Pp=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(Np),Rp=Math.PI,Lp=Rp/2,jp=4/11,Ip=6/11,zp=8/11,Dp=.75,Up=9/11,qp=10/11,Fp=.9375,Bp=21/22,Hp=63/64,Yp=1/jp/jp,Vp=1.70158,Xp=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(Vp),Wp=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(Vp),Jp=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(Vp),Kp=2*Math.PI,Zp=1,Gp=.3,Qp=function t(n,e){function r(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Kp);return r.amplitude=function(n){return t(n,e*Kp)},r.period=function(e){return t(n,e)},r}(Zp,Gp),td=function t(n,e){function r(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Kp);return r.amplitude=function(n){return t(n,e*Kp)},r.period=function(e){return t(n,e)},r}(Zp,Gp),nd=function t(n,e){function r(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Kp);return r.amplitude=function(n){return t(n,e*Kp)},r.period=function(e){return t(n,e)},r}(Zp,Gp),ed={time:null,delay:0,duration:250,ease:ue},rd=function(t){var n,e;t instanceof Gn?(n=t._id,t=t._name):(n=te(),(e=ed).time=pn(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)(a=u[c])&&ap(a,t,n,c,u,e||xe(a,n));return new Gn(r,this._parents,t,n)};dt.prototype.interrupt=sp,dt.prototype.transition=rd;var id=[null],od=function(t,n){var e,r,i=t.__transition;if(i){n=null==n?null:n+"";for(r in i)if((e=i[r]).state>tp&&e.name===n)return new Gn([[t]],id,n,+r)}return null},ad=function(t){return function(){return t}},ud=function(t,n,e){this.target=t,this.type=n,this.selection=e},sd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},cd={name:"drag"},fd={name:"space"},ld={name:"handle"},hd={name:"center"},pd={name:"x",handles:["e","w"].map(we),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},dd={name:"y",handles:["n","s"].map(we),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},vd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(we),input:function(t){return t},output:function(t){return t}},yd={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},gd={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},_d={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},md={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},xd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},bd=function(){return Ne(vd)},wd=Math.cos,Md=Math.sin,kd=Math.PI,Ad=kd/2,Cd=2*kd,Sd=Math.max,Td=function(){function t(t){var o,a,u,s,c,f,l=t.length,h=[],p=Fc(l),d=[],v=[],y=v.groups=new Array(l),g=new Array(l*l);for(o=0,c=-1;++c<l;){for(a=0,f=-1;++f<l;)a+=t[c][f];h.push(a),d.push(Fc(l)),o+=a}for(e&&p.sort(function(t,n){return e(h[t],h[n])}),r&&d.forEach(function(n,e){n.sort(function(n,i){return r(t[e][n],t[e][i])})}),o=Sd(0,Cd-n*l)/o,s=o?n:Cd/l,a=0,c=-1;++c<l;){for(u=a,f=-1;++f<l;){var _=p[c],m=d[_][f],x=t[_][m],b=a,w=a+=x*o;g[m*l+_]={index:_,subindex:m,startAngle:b,endAngle:w,value:x}}y[_]={index:_,startAngle:u,endAngle:a,value:h[_]},a+=s}for(c=-1;++c<l;)for(f=c-1;++f<l;){var M=g[f*l+c],k=g[c*l+f];(M.value||k.value)&&v.push(M.value<k.value?{source:k,target:M}:{source:M,target:k})}return i?v.sort(i):v}var n=0,e=null,r=null,i=null;return t.padAngle=function(e){return arguments.length?(n=Sd(0,e),t):n},t.sortGroups=function(n){return arguments.length?(e=n,t):e},t.sortSubgroups=function(n){return arguments.length?(r=n,t):r},t.sortChords=function(n){return arguments.length?(null==n?i=null:(i=Oe(n))._=n,t):i&&i._},t},Ed=Array.prototype.slice,Nd=function(t){return function(){return t}},Od=Math.PI,$d=2*Od,Pd=1e-6,Rd=$d-Pd;$e.prototype=Pe.prototype={constructor:$e,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,u=e-t,s=r-n,c=o-t,f=a-n,l=c*c+f*f;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>Pd)if(Math.abs(f*u-s*c)>Pd&&i){var h=e-o,p=r-a,d=u*u+s*s,v=h*h+p*p,y=Math.sqrt(d),g=Math.sqrt(l),_=i*Math.tan((Od-Math.acos((d+l-v)/(2*y*g)))/2),m=_/g,x=_/y;Math.abs(m-1)>Pd&&(this._+="L"+(t+m*c)+","+(n+m*f)),this._+="A"+i+","+i+",0,0,"+ +(f*h>c*p)+","+(this._x1=t+x*u)+","+(this._y1=n+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,e=+e;var a=e*Math.cos(r),u=e*Math.sin(r),s=t+a,c=n+u,f=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>Pd||Math.abs(this._y1-c)>Pd)&&(this._+="L"+s+","+c),e&&(l>Rd?this._+="A"+e+","+e+",0,1,"+f+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+f+","+(this._x1=s)+","+(this._y1=c):(l<0&&(l=l%$d+$d),this._+="A"+e+","+e+",0,"+ +(l>=Od)+","+f+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Ld=function(){function t(){var t,u=Ed.call(arguments),s=n.apply(this,u),c=e.apply(this,u),f=+r.apply(this,(u[0]=s,u)),l=i.apply(this,u)-Ad,h=o.apply(this,u)-Ad,p=f*wd(l),d=f*Md(l),v=+r.apply(this,(u[0]=c,u)),y=i.apply(this,u)-Ad,g=o.apply(this,u)-Ad;if(a||(a=t=Pe()),a.moveTo(p,d),a.arc(0,0,f,l,h),l===y&&h===g||(a.quadraticCurveTo(0,0,v*wd(y),v*Md(y)),a.arc(0,0,v,y,g)),a.quadraticCurveTo(0,0,p,d),a.closePath(),t)return a=null,t+""||null}var n=Re,e=Le,r=je,i=Ie,o=ze,a=null;return t.radius=function(n){return arguments.length?(r="function"==typeof n?n:Nd(+n),t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:Nd(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:Nd(+n),t):o},t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(n){return arguments.length?(e=n,t):e},t.context=function(n){return arguments.length?(a=null==n?null:n,t):a},t},jd="$";De.prototype=Ue.prototype={constructor:De,has:function(t){return jd+t in 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;case 2:do a=new Array(4),a[u]=c,c=a;while(s*=2,i=e+s,r=o-s,t>i||r>n);break;case 3:do a=new Array(4),a[u]=c,c=a;while(s*=2,e=i-s,r=o-s,e>t||r>n)}this._root&&this._root.length&&(this._root=c)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},iv=function(){var t=[];return this.visit(function(n){if(!n.length)do t.push(n.data);while(n=n.next)}),t},ov=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},av=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i},uv=function(t,n,e){var r,i,o,a,u,s,c,f=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new av(v,f,l,h,p)),null==e?e=1/0:(f=t-e,l=n-e,h=t+e,p=n+e,e*=e);s=d.pop();)if(!(!(v=s.node)||(i=s.x0)>h||(o=s.y0)>p||(a=s.x1)<f||(u=s.y1)<l))if(v.length){var y=(i+a)/2,g=(o+u)/2;d.push(new av(v[3],y,g,a,u),new av(v[2],i,g,y,u),new av(v[1],y,o,a,g),new av(v[0],i,o,y,g)),(c=(n>=g)<<1|t>=y)&&(s=d[d.length-1],d[d.length-1]=d[d.length-1-c],d[d.length-1-c]=s)}else{var _=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),x=_*_+m*m;if(x<e){var b=Math.sqrt(e=x);f=t-b,l=n-b,h=t+b,p=n+b,r=v.data}}return r},sv=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var n,e,r,i,o,a,u,s,c,f,l,h,p=this._root,d=this._x0,v=this._y0,y=this._x1,g=this._y1;if(!p)return this;if(p.length)for(;;){if((c=o>=(u=(d+y)/2))?d=u:y=u,(f=a>=(s=(v+g)/2))?v=s:g=s,n=p,!(p=p[l=f<<1|c]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},cv=function(){return this._root},fv=function(){var t=0;return this.visit(function(n){if(!n.length)do++t;while(n=n.next)}),t},lv=function(t){var n,e,r,i,o,a,u=[],s=this._root;for(s&&u.push(new av(s,this._x0,this._y0,this._x1,this._y1));n=u.pop();)if(!t(s=n.node,r=n.x0,i=n.y0,o=n.x1,a=n.y1)&&s.length){var c=(r+o)/2,f=(i+a)/2;(e=s[3])&&u.push(new av(e,c,f,o,a)),(e=s[2])&&u.push(new av(e,r,f,c,a)),(e=s[1])&&u.push(new av(e,c,i,o,f)),(e=s[0])&&u.push(new av(e,r,i,c,f))}return this},hv=function(t){var n,e=[],r=[];for(this._root&&e.push(new av(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,a=n.x0,u=n.y0,s=n.x1,c=n.y1,f=(a+s)/2,l=(u+c)/2;(o=i[0])&&e.push(new av(o,a,u,f,l)),(o=i[1])&&e.push(new av(o,f,u,s,l)),(o=i[2])&&e.push(new av(o,a,l,f,c)),(o=i[3])&&e.push(new av(o,f,l,s,c))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},pv=function(t){return arguments.length?(this._x=t,this):this._x},dv=function(t){return arguments.length?(this._y=t,this):this._y},vv=nr.prototype=er.prototype;vv.copy=function(){var t,n,e=new er(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=rr(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=rr(n));return e},vv.add=ev,vv.addAll=Ze,vv.cover=rv,vv.data=iv,vv.extent=ov,vv.find=uv,vv.remove=sv,vv.removeAll=Ge,vv.root=cv,vv.size=fv,vv.visit=lv,vv.visitAfter=hv,vv.x=pv,vv.y=dv;var yv,gv=function(t){function n(){function t(t,n,e,r,i){var o=t.data,u=t.r,p=l+u;{if(!o)return n>c+p||r<c-p||e>f+p||i<f-p;if(o.index>s.index){var d=c-o.x-o.vx,v=f-o.y-o.vy,y=d*d+v*v;y<p*p&&(0===d&&(d=nv(),y+=d*d),0===v&&(v=nv(),y+=v*v),y=(p-(y=Math.sqrt(y)))/y*a,s.vx+=(d*=y)*(p=(u*=u)/(h+u)),s.vy+=(v*=y)*p,o.vx-=d*(p=1-p),o.vy-=v*p)}}}for(var n,r,s,c,f,l,h,p=i.length,d=0;d<u;++d)for(r=nr(i,ir,or).visitAfter(e),n=0;n<p;++n)s=i[n],l=o[s.index],h=l*l,c=s.x+s.vx,f=s.y+s.vy,r.visit(t)}function e(t){if(t.data)return t.r=o[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function r(){if(i){var n,e,r=i.length;for(o=new Array(r),n=0;n<r;++n)e=i[n],o[e.index]=+t(e,n,i)}}var i,o,a=1,u=1;return"function"!=typeof t&&(t=tv(null==t?1:+t)),n.initialize=function(t){i=t,r()},n.iterations=function(t){return arguments.length?(u=+t,n):u},n.strength=function(t){return arguments.length?(a=+t,n):a},n.radius=function(e){return arguments.length?(t="function"==typeof e?e:tv(+e),r(),n):t},n},_v=function(t){function n(t){return 1/Math.min(c[t.source.index],c[t.target.index])}function e(n){for(var e=0,r=t.length;e<d;++e)for(var i,o,s,c,l,h,p,v=0;v<r;++v)i=t[v],o=i.source,s=i.target,c=s.x+s.vx-o.x-o.vx||nv(),l=s.y+s.vy-o.y-o.vy||nv(),h=Math.sqrt(c*c+l*l),h=(h-u[v])/h*n*a[v],c*=h,l*=h,s.vx-=c*(p=f[v]),s.vy-=l*p,o.vx+=c*(p=1-p),o.vy+=l*p}function r(){if(s){var n,e,r=s.length,h=t.length,p=Ue(s,l);for(n=0,c=new Array(r);n<h;++n)e=t[n],e.index=n,"object"!=typeof e.source&&(e.source=ur(p,e.source)),"object"!=typeof e.target&&(e.target=ur(p,e.target)),c[e.source.index]=(c[e.source.index]||0)+1,c[e.target.index]=(c[e.target.index]||0)+1;for(n=0,f=new Array(h);n<h;++n)e=t[n],f[n]=c[e.source.index]/(c[e.source.index]+c[e.target.index]);a=new Array(h),i(),u=new Array(h),o()}}function i(){if(s)for(var n=0,e=t.length;n<e;++n)a[n]=+h(t[n],n,t)}function o(){if(s)for(var n=0,e=t.length;n<e;++n)u[n]=+p(t[n],n,t)}var a,u,s,c,f,l=ar,h=n,p=tv(30),d=1;return null==t&&(t=[]),e.initialize=function(t){s=t,r()},e.links=function(n){return arguments.length?(t=n,r(),e):t},e.id=function(t){return arguments.length?(l=t,e):l},e.iterations=function(t){return arguments.length?(d=+t,e):d},e.strength=function(t){return arguments.length?(h="function"==typeof t?t:tv(+t),i(),e):h},e.distance=function(t){return arguments.length?(p="function"==typeof t?t:tv(+t),o(),e):p},e},mv=10,xv=Math.PI*(3-Math.sqrt(5)),bv=function(t){function n(){e(),d.call("tick",o),a<u&&(h.stop(),d.call("end",o))}function e(){var n,e,r=t.length;for(a+=(c-a)*s,l.each(function(t){t(a)}),n=0;n<r;++n)e=t[n],null==e.fx?e.x+=e.vx*=f:(e.x=e.fx,e.vx=0),null==e.fy?e.y+=e.vy*=f:(e.y=e.fy,e.vy=0)}function r(){for(var n,e=0,r=t.length;e<r;++e){if(n=t[e],n.index=e,isNaN(n.x)||isNaN(n.y)){var i=mv*Math.sqrt(e),o=e*xv;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function i(n){return n.initialize&&n.initialize(t),n}var o,a=1,u=.001,s=1-Math.pow(u,1/300),c=0,f=.6,l=Ue(),h=yn(n),d=p("tick","end");return null==t&&(t=[]),r(),o={tick:e,restart:function(){return h.restart(n),o},stop:function(){return h.stop(),o},nodes:function(n){return arguments.length?(t=n,r(),l.each(i),o):t},alpha:function(t){return arguments.length?(a=+t,o):a},alphaMin:function(t){return arguments.length?(u=+t,o):u},alphaDecay:function(t){return arguments.length?(s=+t,o):+s},alphaTarget:function(t){return arguments.length?(c=+t,o):c},velocityDecay:function(t){return arguments.length?(f=1-t,o):1-f},force:function(t,n){return arguments.length>1?(null==n?l.remove(t):l.set(t,i(n)),o):l.get(t)},find:function(n,e,r){var i,o,a,u,s,c=0,f=t.length;for(null==r?r=1/0:r*=r,c=0;c<f;++c)u=t[c],i=n-u.x,o=e-u.y,a=i*i+o*o,a<r&&(s=u,r=a);return s},on:function(t,n){return arguments.length>1?(d.on(t,n),o):d.on(t)}}},wv=function(){function t(t){var n,u=i.length,s=nr(i,sr,cr).visitAfter(e);for(a=t,n=0;n<u;++n)o=i[n],s.visit(r)}function n(){if(i){var t,n,e=i.length;for(u=new Array(e),t=0;t<e;++t)n=i[t],u[n.index]=+s(n,t,i)}}function e(t){var n,e,r,i,o,a=0;if(t.length){for(r=i=o=0;o<4;++o)(n=t[o])&&(e=n.value)&&(a+=e,r+=e*n.x,i+=e*n.y);t.x=r/a,t.y=i/a}else{n=t,n.x=n.data.x,n.y=n.data.y;do a+=u[n.data.index];while(n=n.next)}t.value=a}function r(t,n,e,r){if(!t.value)return!0;var i=t.x-o.x,s=t.y-o.y,h=r-n,p=i*i+s*s;if(h*h/l<p)return p<f&&(0===i&&(i=nv(),p+=i*i),0===s&&(s=nv(),p+=s*s),p<c&&(p=Math.sqrt(c*p)),o.vx+=i*t.value*a/p,o.vy+=s*t.value*a/p),!0;if(!(t.length||p>=f)){(t.data!==o||t.next)&&(0===i&&(i=nv(),p+=i*i),0===s&&(s=nv(),p+=s*s),p<c&&(p=Math.sqrt(c*p)));do t.data!==o&&(h=u[t.data.index]*a/p,o.vx+=i*h,o.vy+=s*h);while(t=t.next)}}var i,o,a,u,s=tv(-30),c=1,f=1/0,l=.81;return t.initialize=function(t){i=t,n()},t.strength=function(e){return arguments.length?(s="function"==typeof e?e:tv(+e),n(),t):s},t.distanceMin=function(n){return arguments.length?(c=n*n,t):Math.sqrt(c)},t.distanceMax=function(n){return arguments.length?(f=n*n,t):Math.sqrt(f)},t.theta=function(n){return arguments.length?(l=n*n,t):Math.sqrt(l)},t},Mv=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vx+=(o[e]-n.x)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=tv(.1);return"function"!=typeof t&&(t=tv(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:tv(+t),e(),n):a},n.x=function(r){return arguments.length?(t="function"==typeof r?r:tv(+r),e(),n):t},n},kv=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vy+=(o[e]-n.y)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=tv(.1);return"function"!=typeof t&&(t=tv(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:tv(+t),e(),n):a},n.y=function(r){return arguments.length?(t="function"==typeof r?r:tv(+r),e(),n):t},n},Av=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},Cv=function(t){return t=Av(Math.abs(t)),t?t[1]:NaN},Sv=function(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(e.substring(i-=u,i+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}},Tv=function(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},Ev=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(yv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Av(t,Math.max(0,n+o-1))[0]},Nv=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Ov={"":Tv,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Nv(100*t,n)},r:Nv,s:Ev,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},$v=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,Pv=function(t){return new fr(t)};fr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Rv,Lv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],jv=function(t){function n(t){function n(t){var n,i,s,_=d,m=v;if("c"===p)m=y(t)+m,t="";else{t=+t;var x=(t<0||1/t<0)&&(t*=-1,!0);if(t=y(t,h),x)for(n=-1,i=t.length,x=!1;++n<i;)if(s=t.charCodeAt(n),48<s&&s<58||"x"===p&&96<s&&s<103||"X"===p&&64<s&&s<71){x=!0;break}if(_=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+_,m=m+("s"===p?Lv[8+yv/3]:"")+(x&&"("===u?")":""),g)for(n=-1,i=t.length;++n<i;)if(s=t.charCodeAt(n),48>s||s>57){m=(46===s?o+t.slice(n+1):t.slice(n))+m,t=t.slice(0,n);break}}l&&!c&&(t=r(t,1/0));var b=_.length+t.length+m.length,w=b<f?new Array(f-b+1).join(e):"";switch(l&&c&&(t=r(w+t,w.length?f-m.length:1/0),w=""),a){case"<":return _+t+m+w;case"=":return _+w+t+m;case"^":return w.slice(0,b=w.length>>1)+_+t+m+w.slice(b)}return w+_+t+m}t=Pv(t);var e=t.fill,a=t.align,u=t.sign,s=t.symbol,c=t.zero,f=t.width,l=t.comma,h=t.precision,p=t.type,d="$"===s?i[0]:"#"===s&&/[boxX]/.test(p)?"0"+p.toLowerCase():"",v="$"===s?i[1]:/[%p]/.test(p)?"%":"",y=Ov[p],g=!p||/[defgprs%]/.test(p);return h=null==h?p?6:12:/[gprs]/.test(p)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),n.toString=function(){return t+""},n}function e(t,e){var r=n((t=Pv(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Cv(e)/3))),o=Math.pow(10,-i),a=Lv[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?Sv(t.grouping,t.thousands):lr,i=t.currency,o=t.decimal;return{format:n,formatPrefix:e}};hr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Iv=function(t){return Math.max(0,-Cv(Math.abs(t)))},zv=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Cv(n)/3)))-Cv(Math.abs(t)))},Dv=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Cv(n)-Cv(t))+1},Uv=function(){return new pr};pr.prototype={constructor:pr,reset:function(){this.s=this.t=0},add:function(t){dr(_y,t,this.t),dr(this,_y.s,this.s),this.s?this.t+=_y.t:this.s=_y.t},valueOf:function(){return this.s}};var qv,Fv,Bv,Hv,Yv,Vv,Xv,Wv,Jv,Kv,Zv,Gv,Qv,ty,ny,ey,ry,iy,oy,ay,uy,sy,cy,fy,ly,hy,py,dy,vy,yy,gy,_y=new pr,my=1e-6,xy=1e-12,by=Math.PI,wy=by/2,My=by/4,ky=2*by,Ay=180/by,Cy=by/180,Sy=Math.abs,Ty=Math.atan,Ey=Math.atan2,Ny=Math.cos,Oy=Math.ceil,$y=Math.exp,Py=Math.log,Ry=Math.pow,Ly=Math.sin,jy=Math.sign||function(t){return t>0?1:t<0?-1:0},Iy=Math.sqrt,zy=Math.tan,Dy={Feature:function(t,n){mr(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)mr(e[r].geometry,n)}},Uy={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){xr(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)xr(e[r],n,0)},Polygon:function(t,n){br(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)br(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)mr(e[r],n)}},qy=function(t,n){t&&Dy.hasOwnProperty(t.type)?Dy[t.type](t,n):mr(t,n)},Fy=Uv(),By=Uv(),Hy={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Fy.reset(),Hy.lineStart=wr,Hy.lineEnd=Mr},polygonEnd:function(){var t=+Fy;By.add(t<0?ky+t:t),this.lineStart=this.lineEnd=this.point=_r},sphere:function(){By.add(ky)}},Yy=function(t){return By.reset(),qy(t,Hy),2*By},Vy=Uv(),Xy={point:Pr,lineStart:Lr,lineEnd:jr,polygonStart:function(){Xy.point=Ir,Xy.lineStart=zr,Xy.lineEnd=Dr,Vy.reset(),Hy.polygonStart()},polygonEnd:function(){Hy.polygonEnd(),Xy.point=Pr,Xy.lineStart=Lr,Xy.lineEnd=jr,Fy<0?(Vv=-(Wv=180),Xv=-(Jv=90)):Vy>my?Jv=90:Vy<-my&&(Xv=-90),ny[0]=Vv,ny[1]=Wv}},Wy=function(t){var n,e,r,i,o,a,u;if(Jv=Wv=-(Vv=Xv=1/0),ty=[],qy(t,Xy),e=ty.length){for(ty.sort(qr),n=1,r=ty[0],o=[r];n<e;++n)i=ty[n],Fr(r,i[0])||Fr(r,i[1])?(Ur(r[0],i[1])>Ur(r[0],r[1])&&(r[1]=i[1]),Ur(i[0],r[1])>Ur(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-(1/0),e=o.length-1,n=0,r=o[e];n<=e;r=i,++n)i=o[n],(u=Ur(r[1],i[0]))>a&&(a=u,Vv=i[0],Wv=r[1])}return ty=ny=null,Vv===1/0||Xv===1/0?[[NaN,NaN],[NaN,NaN]]:[[Vv,Xv],[Wv,Jv]]},Jy={sphere:_r,point:Br,lineStart:Yr,lineEnd:Wr,polygonStart:function(){Jy.lineStart=Jr,Jy.lineEnd=Kr},polygonEnd:function(){Jy.lineStart=Yr,Jy.lineEnd=Wr}},Ky=function(t){ey=ry=iy=oy=ay=uy=sy=cy=fy=ly=hy=0,qy(t,Jy);var n=fy,e=ly,r=hy,i=n*n+e*e+r*r;return i<xy&&(n=uy,e=sy,r=cy,ry<my&&(n=iy,e=oy,r=ay),i=n*n+e*e+r*r,i<xy)?[NaN,NaN]:[Ey(e,n)*Ay,yr(r/Iy(i))*Ay]},Zy=function(t){return function(){return t}},Gy=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return e=n.invert(e,r),e&&t.invert(e[0],e[1])}),e};Qr.invert=Qr;var Qy,tg,ng,eg,rg,ig,og,ag,ug,sg,cg,fg=function(t){function n(n){return n=t(n[0]*Cy,n[1]*Cy),n[0]*=Ay,n[1]*=Ay,n}return t=ti(t[0]*Cy,t[1]*Cy,t.length>2?t[2]*Cy:0),n.invert=function(n){return n=t.invert(n[0]*Cy,n[1]*Cy),n[0]*=Ay,n[1]*=Ay,n},n},lg=function(){function t(t,n){e.push(t=r(t,n)),t[0]*=Ay,t[1]*=Ay}function n(){var t=i.apply(this,arguments),n=o.apply(this,arguments)*Cy,s=a.apply(this,arguments)*Cy;return e=[],r=ti(-t[0]*Cy,-t[1]*Cy,0).invert,ii(u,n,s,1),t={type:"Polygon",coordinates:[e]},e=r=null,t}var e,r,i=Zy([0,0]),o=Zy(90),a=Zy(6),u={point:t};return n.center=function(t){return arguments.length?(i="function"==typeof t?t:Zy([+t[0],+t[1]]),n):i},n.radius=function(t){return arguments.length?(o="function"==typeof t?t:Zy(+t),n):o},n.precision=function(t){return arguments.length?(a="function"==typeof t?t:Zy(+t),n):a},n},hg=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:_r,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},pg=function(t,n,e,r,i,o){var a,u=t[0],s=t[1],c=n[0],f=n[1],l=0,h=1,p=c-u,d=f-s;if(a=e-u,p||!(a>0)){if(a/=p,p<0){if(a<l)return;a<h&&(h=a)}else if(p>0){if(a>h)return;a>l&&(l=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a<l)return;a<h&&(h=a)}if(a=r-s,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>l&&(l=a)}if(a=o-s,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<h&&(h=a)}return l>0&&(t[0]=u+l*p,t[1]=s+l*d),h<1&&(n[0]=u+h*p,n[1]=s+h*d),!0}}}}},dg=function(t,n){return Sy(t[0]-n[0])<my&&Sy(t[1]-n[1])<my},vg=function(t,n,e,r,i){var o,a,u=[],s=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(dg(r,a)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}u.push(e=new ai(r,t,null,!0)),s.push(e.o=new ai(r,null,e,!1)),u.push(e=new ai(a,t,null,!1)),s.push(e.o=new ai(a,null,e,!0))}}),u.length){for(s.sort(n),ui(u),ui(s),o=0,a=s.length;o<a;++o)s[o].e=e=!e;for(var c,f,l=u[0];;){for(var h=l,p=!0;h.v;)if((h=h.n)===l)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,a=c.length;o<a;++o)i.point((f=c[o])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(c=h.p.z,o=c.length-1;o>=0;--o)i.point((f=c[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,p=!p}while(!h.v);i.lineEnd()}}},yg=1e9,gg=-yg,_g=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=si(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}},mg=Uv(),xg={sphere:_r,point:_r,lineStart:ci,lineEnd:_r,polygonStart:_r,polygonEnd:_r},bg=function(t){return mg.reset(),qy(t,xg),+mg},wg=[null,null],Mg={type:"LineString",coordinates:wg},kg=function(t,n){return wg[0]=t,wg[1]=n,bg(Mg)},Ag=function(t,n){var e=t[0]*Cy,r=t[1]*Cy,i=n[0]*Cy,o=n[1]*Cy,a=Ny(r),u=Ly(r),s=Ny(o),c=Ly(o),f=a*Ny(e),l=a*Ly(e),h=s*Ny(i),p=s*Ly(i),d=2*yr(Iy(gr(o-r)+a*s*gr(i-e))),v=Ly(d),y=d?function(t){var n=Ly(t*=d)/v,e=Ly(d-t)/v,r=e*f+n*h,i=e*l+n*p,o=e*u+n*c;return[Ey(i,r)*Ay,Ey(o,Iy(r*r+i*i))*Ay]}:function(){return[e*Ay,r*Ay]};return y.distance=d,y},Cg=function(t){return t},Sg=Uv(),Tg=Uv(),Eg={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Eg.lineStart=gi,Eg.lineEnd=xi},polygonEnd:function(){Eg.lineStart=Eg.lineEnd=Eg.point=_r,Sg.add(Sy(Tg)),Tg.reset()},result:function(){var t=Sg/2;return Sg.reset(),t}},Ng=1/0,Og=Ng,$g=-Ng,Pg=$g,Rg={point:bi,lineStart:_r,lineEnd:_r,polygonStart:_r,polygonEnd:_r,result:function(){var t=[[Ng,Og],[$g,Pg]];return $g=Pg=-(Og=Ng=1/0),t}},Lg=0,jg=0,Ig=0,zg=0,Dg=0,Ug=0,qg=0,Fg=0,Bg=0,Hg={point:wi,lineStart:Mi,lineEnd:Ci,polygonStart:function(){Hg.lineStart=Si,Hg.lineEnd=Ti},polygonEnd:function(){Hg.point=wi,Hg.lineStart=Mi,Hg.lineEnd=Ci},result:function(){var t=Bg?[qg/Bg,Fg/Bg]:Ug?[zg/Ug,Dg/Ug]:Ig?[Lg/Ig,jg/Ig]:[NaN,NaN];return Lg=jg=Ig=zg=Dg=Ug=qg=Fg=Bg=0,t}};Oi.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,ky)}},result:_r};var Yg,Vg,Xg,Wg,Jg,Kg=Uv(),Zg={point:_r,lineStart:function(){Zg.point=$i},lineEnd:function(){Yg&&Pi(Vg,Xg),Zg.point=_r},polygonStart:function(){Yg=!0},polygonEnd:function(){Yg=null},result:function(){var t=+Kg;return Kg.reset(),t}};Ri.prototype={_circle:Li(4.5),pointRadius:function(t){return this._circle=Li(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}};var Gg=function(t,n){function e(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),qy(t,r(i))),i.result()}var r,i,o=4.5;return e.area=function(t){return qy(t,r(Eg)),Eg.result()},e.measure=function(t){return qy(t,r(Zg)),Zg.result()},e.bounds=function(t){return qy(t,r(Rg)),Rg.result()},e.centroid=function(t){return qy(t,r(Hg)),Hg.result()},e.projection=function(n){return arguments.length?(r=null==n?(t=null,Cg):(t=n).stream,e):t},e.context=function(t){return arguments.length?(i=null==t?(n=null,new Ri):new Oi(n=t),"function"!=typeof o&&i.pointRadius(o),e):n},e.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(i.pointRadius(+t),+t),e):o},e.projection(t).context(n)},Qg=Uv(),t_=function(t,n){var e=n[0],r=n[1],i=[Ly(e),-Ny(e),0],o=0,a=0;Qg.reset();for(var u=0,s=t.length;u<s;++u)if(f=(c=t[u]).length)for(var c,f,l=c[f-1],h=l[0],p=l[1]/2+My,d=Ly(p),v=Ny(p),y=0;y<f;++y,h=_,d=x,v=b,l=g){var g=c[y],_=g[0],m=g[1]/2+My,x=Ly(m),b=Ny(m),w=_-h,M=w>=0?1:-1,k=M*w,A=k>by,C=d*x;if(Qg.add(Ey(C*M*Ly(k),v*b+C*Ny(k))),o+=A?w+M*ky:w,A^h>=e^_>=e){var S=Er(Sr(l),Sr(g));$r(S);var T=Er(i,S);$r(T);var E=(A^w>=0?-1:1)*yr(T[2]);(r>E||r===E&&(S[0]||S[1]))&&(a+=A^w>=0?1:-1)}}return(o<-my||o<my&&Qg<-my)^1&a},n_=function(t,n,e,r){return function(i,o){function a(n,e){var r=i(n,e);t(n=r[0],e=r[1])&&o.point(n,e)}function u(t,n){var e=i(t,n);y.point(e[0],e[1])}function s(){b.point=u,y.lineStart()}function c(){b.point=a,y.lineEnd()}function f(t,n){v.push([t,n]);var e=i(t,n);m.point(e[0],e[1])}function l(){m.lineStart(),v=[]}function h(){f(v[0][0],v[0][1]),m.lineEnd();var t,n,e,r,i=m.clean(),a=_.result(),u=a.length;if(v.pop(),p.push(v),v=null,u)if(1&i){if(e=a[0],(n=e.length-1)>0){for(x||(o.polygonStart(),x=!0),o.lineStart(),t=0;t<n;++t)o.point((r=e[t])[0],r[1]);o.lineEnd()}}else u>1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(ji))}var p,d,v,y=n(o),g=i.invert(r[0],r[1]),_=hg(),m=n(_),x=!1,b={point:a,lineStart:s,lineEnd:c,polygonStart:function(){b.point=f,b.lineStart=l,b.lineEnd=h,d=[],p=[]},polygonEnd:function(){b.point=a,b.lineStart=s,b.lineEnd=c,d=nf(d);var t=t_(p,g);d.length?(x||(o.polygonStart(),x=!0),vg(d,Ii,t,e,o)):t&&(x||(o.polygonStart(),x=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),x&&(o.polygonEnd(),x=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return b}},e_=n_(function(){return!0},zi,Ui,[-by,-wy]),r_=function(t,n){function e(e,r,i,o){ii(o,t,n,i,e,r)}function r(t,n){return Ny(t)*Ny(n)>u}function i(t){var n,e,i,u,f;return{lineStart:function(){u=i=!1,f=1},point:function(l,h){var p,d=[l,h],v=r(l,h),y=s?v?0:a(l,h):v?a(l+(l<0?by:-by),h):0;if(!n&&(u=i=v)&&t.lineStart(),v!==i&&(p=o(n,d),(dg(n,p)||dg(d,p))&&(d[0]+=my,d[1]+=my,v=r(d[0],d[1]))),v!==i)f=0,v?(t.lineStart(),p=o(d,n),t.point(p[0],p[1])):(p=o(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(c&&n&&s^v){var g;y&e||!(g=o(d,n,!0))||(f=0,s?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!v||n&&dg(n,d)||t.point(d[0],d[1]),n=d,i=v,e=y},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(u&&i)<<1}}}function o(t,n,e){var r=Sr(t),i=Sr(n),o=[1,0,0],a=Er(r,i),s=Tr(a,a),c=a[0],f=s-c*c;if(!f)return!e&&t;var l=u*s/f,h=-u*c/f,p=Er(o,a),d=Or(o,l),v=Or(a,h);Nr(d,v);var y=p,g=Tr(d,y),_=Tr(y,y),m=g*g-_*(Tr(d,d)-1);if(!(m<0)){var x=Iy(m),b=Or(y,(-g-x)/_);if(Nr(b,d),b=Cr(b),!e)return b;var w,M=t[0],k=n[0],A=t[1],C=n[1];k<M&&(w=M,M=k,k=w);var S=k-M,T=Sy(S-by)<my,E=T||S<my;if(!T&&C<A&&(w=A,A=C,C=w),E?T?A+C>0^b[1]<(Sy(b[0]-M)<my?A:C):A<=b[1]&&b[1]<=C:S>by^(M<=b[0]&&b[0]<=k)){var N=Or(y,(-g+x)/_);return Nr(N,d),[b,Cr(N)]}}}function a(n,e){var r=s?t:by-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}var u=Ny(t),s=u>0,c=Sy(u)>my;return n_(r,i,e,s?[0,-t]:[-by,t-by])},i_=function(t){return{stream:qi(t)}};Fi.prototype={constructor:Fi,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var o_=16,a_=Ny(30*Cy),u_=function(t,n){return+n?Vi(t,n):Yi(t)},s_=qi({point:function(t,n){this.stream.point(t*Cy,n*Cy)}}),c_=function(){return Ji(Zi).scale(155.424).center([0,33.6442])},f_=function(){return c_().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},l_=function(){function t(t){var n=t[0],e=t[1];return u=null,i.point(n,e),u||(o.point(n,e),u)||(a.point(n,e),u)}function n(){return e=r=null,t}var e,r,i,o,a,u,s=f_(),c=c_().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=c_().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){u=[t,n]}};return t.invert=function(t){var n=s.scale(),e=s.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?c:i>=.166&&i<.234&&r>=-.214&&r<-.115?f:s).invert(t)},t.stream=function(t){return e&&r===t?e:e=Gi([s.stream(r=t),c.stream(t),f.stream(t)])},t.precision=function(t){return arguments.length?(s.precision(t),c.precision(t),f.precision(t),n()):s.precision()},t.scale=function(n){return arguments.length?(s.scale(n),c.scale(.35*n),f.scale(n),t.translate(s.translate())):s.scale()},t.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),r=+t[0],u=+t[1];return i=s.translate(t).clipExtent([[r-.455*e,u-.238*e],[r+.455*e,u+.238*e]]).stream(l),o=c.translate([r-.307*e,u+.201*e]).clipExtent([[r-.425*e+my,u+.12*e+my],[r-.214*e-my,u+.234*e-my]]).stream(l),a=f.translate([r-.205*e,u+.212*e]).clipExtent([[r-.214*e+my,u+.166*e+my],[r-.115*e-my,u+.234*e-my]]).stream(l),n()},t.fitExtent=function(n,e){return Bi(t,n,e)},t.fitSize=function(n,e){return Hi(t,n,e)},t.scale(1070)},h_=Qi(function(t){return Iy(2/(1+t))});h_.invert=to(function(t){return 2*yr(t/2)});var p_=function(){return Xi(h_).scale(124.75).clipAngle(179.999)},d_=Qi(function(t){return(t=vr(t))&&t/Ly(t)});d_.invert=to(function(t){return t});var v_=function(){return Xi(d_).scale(79.4188).clipAngle(179.999)};no.invert=function(t,n){return[t,2*Ty($y(n))-wy]};var y_=function(){return eo(no).scale(961/ky)},g_=function(){return Ji(io).scale(109.5).parallels([30,30])};oo.invert=oo;var __=function(){return Xi(oo).scale(152.63)},m_=function(){return Ji(ao).scale(131.154).center([0,13.9389])};uo.invert=to(Ty);var x_=function(){return Xi(uo).scale(144.049).clipAngle(60)},b_=function(){function t(){
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_=function(){function t(t){var a=t.height+1;return t.x0=t.y0=i,t.x1=e,t.y1=r/a,t.eachBefore(n(r,a)),o&&t.eachBefore(F_),t}function n(t,n){return function(e){e.children&&B_(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var r=e.x0,o=e.y0,a=e.x1-i,u=e.y1-i;a<r&&(r=a=(r+a)/2),u<o&&(o=u=(o+u)/2),e.x0=r,e.y0=o,e.x1=a,e.y1=u}}var e=1,r=1,i=0,o=!1;return t.round=function(n){return arguments.length?(o=!!n,t):o},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i=+n,t):i},t},Y_="$",V_={depth:-1},X_={},W_=function(){function t(t){var r,i,o,a,u,s,c,f=t.length,l=new Array(f),h={};for(i=0;i<f;++i)r=t[i],u=l[i]=new So(r),null!=(s=n(r,i,t))&&(s+="")&&(c=Y_+(u.id=s),h[c]=c in h?X_:u);for(i=0;i<f;++i)if(u=l[i],s=e(t[i],i,t),null!=s&&(s+="")){if(a=h[Y_+s],!a)throw new Error("missing: "+s);if(a===X_)throw new Error("ambiguous: "+s);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=V_,o.eachBefore(function(t){t.depth=t.parent.depth+1,--f}).eachBefore(Co),o.parent=null,f>0)throw new Error("cycle");return o}var n=Xo,e=Wo;return t.id=function(e){return arguments.length?(n=qo(e),t):n},t.parentId=function(n){return arguments.length?(e=qo(n),t):e},t};na.prototype=Object.create(So.prototype);var J_=function(){function t(t){var r=ea(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),s)t.eachBefore(i);else{var c=t,f=t,l=t;t.eachBefore(function(t){t.x<c.x&&(c=t),t.x>f.x&&(f=t),t.depth>l.depth&&(l=t)});var h=c===f?1:o(c,f)/2,p=h-c.x,d=a/(f.x+h+p),v=u/(l.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*v})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){Qo(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+o(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+o(t._,i._));t.parent.A=r(t,i,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,n,e){if(n){for(var r,i=t,a=t,u=n,s=i.parent.children[0],c=i.m,f=a.m,l=u.m,h=s.m;u=Zo(u),i=Ko(i),u&&i;)s=Ko(s),a=Zo(a),a.a=t,r=u.z+l-i.z-c+o(u._,i._),r>0&&(Go(ta(u,t,e),t,r),c+=r,f+=r),l+=u.m,c+=i.m,h+=s.m,f+=a.m;u&&!Zo(a)&&(a.t=u,a.m+=l-f),i&&!Ko(s)&&(s.t=i,s.m+=c-h,e=t)}return e}function i(t){t.x*=a,t.y=t.depth*u}var o=Jo,a=1,u=1,s=null;return t.separation=function(n){return arguments.length?(o=n,t):o},t.size=function(n){return arguments.length?(s=!1,a=+n[0],u=+n[1],t):s?null:[a,u]},t.nodeSize=function(n){return arguments.length?(s=!0,a=+n[0],u=+n[1],t):s?[a,u]:null},t},K_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-e)/t.value;++u<s;)o=a[u],o.x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*c},Z_=(1+Math.sqrt(5))/2,G_=function t(n){function e(t,e,r,i,o){ra(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Z_),Q_=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),a=[0],r&&t.eachBefore(F_),t}function n(t){var n=a[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,h=t.y1-n;o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=h,t.children&&(n=a[t.depth+1]=u(t)/2,r+=l(t)-n,i+=s(t)-n,o-=c(t)-n,h-=f(t)-n,o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),e(t,r,i,o,h))}var e=G_,r=!1,i=1,o=1,a=[0],u=Fo,s=Fo,c=Fo,f=Fo,l=Fo;return t.round=function(n){return arguments.length?(r=!!n,t):r},t.size=function(n){return arguments.length?(i=+n[0],o=+n[1],t):[i,o]},t.tile=function(n){return arguments.length?(e=qo(n),t):e},t.padding=function(n){return arguments.length?t.paddingInner(n).paddingOuter(n):t.paddingInner()},t.paddingInner=function(n){return arguments.length?(u="function"==typeof n?n:U_(+n),t):u},t.paddingOuter=function(n){return arguments.length?t.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):t.paddingTop()},t.paddingTop=function(n){return arguments.length?(s="function"==typeof n?n:U_(+n),t):s},t.paddingRight=function(n){return arguments.length?(c="function"==typeof n?n:U_(+n),t):c},t.paddingBottom=function(n){return arguments.length?(f="function"==typeof n?n:U_(+n),t):f},t.paddingLeft=function(n){return arguments.length?(l="function"==typeof n?n:U_(+n),t):l},t},tm=function(t,n,e,r,i){function o(t,n,e,r,i,a,u){if(t>=n-1){var c=s[t];return c.x0=r,c.y0=i,c.x1=a,c.y1=u,void 0}for(var l=f[t],h=e/2+l,p=t+1,d=n-1;p<d;){var v=p+d>>>1;f[v]<h?p=v+1:d=v}var y=f[p]-l,g=e-y;if(u-i>a-r){var _=(i*g+u*y)/e;o(t,p,y,r,i,a,_),o(p,n,g,r,_,a,u)}else{var m=(r*g+a*y)/e;o(t,p,y,r,i,m,u),o(p,n,g,m,i,a,u)}}var a,u,s=t.children,c=s.length,f=new Array(c+1);for(f[0]=u=a=0;a<c;++a)f[a+1]=u+=s[a].value;o(0,c,t.value,n,e,r,i)},nm=function(t,n,e,r,i){(1&t.depth?K_:B_)(t,n,e,r,i)},em=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,s,c,f,l=-1,h=a.length,p=t.value;++l<h;){for(u=a[l],s=u.children,c=u.value=0,f=s.length;c<f;++c)u.value+=s[c].value;u.dice?B_(u,e,r,i,r+=(o-r)*u.value/p):K_(u,e,r,e+=(i-e)*u.value/p,o),p-=u.value}else t._squarify=a=ra(n,t,e,r,i,o),a.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Z_),rm=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2},im=function(t){for(var n,e,r=-1,i=t.length,o=0,a=0,u=t[i-1],s=0;++r<i;)n=u,u=t[r],s+=e=n[0]*u[1]-u[0]*n[1],o+=(n[0]+u[0])*e,a+=(n[1]+u[1])*e;return s*=3,[o/s,a/s]},om=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])},am=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(ia),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=oa(r),a=oa(i),u=a[0]===o[0],s=a[a.length-1]===o[o.length-1],c=[];for(n=o.length-1;n>=0;--n)c.push(t[r[o[n]][2]]);for(n=+u;n<a.length-s;++n)c.push(t[r[a[n]][2]]);return c},um=function(t,n){for(var e,r,i=t.length,o=t[i-1],a=n[0],u=n[1],s=o[0],c=o[1],f=!1,l=0;l<i;++l)o=t[l],e=o[0],r=o[1],r>u!=c>u&&a<(s-e)*(u-r)/(c-r)+e&&(f=!f),s=e,c=r;return f},sm=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],s=0;++r<i;)n=a,e=u,o=t[r],a=o[0],u=o[1],n-=a,e-=u,s+=Math.sqrt(n*n+e*e);return s},cm=[].slice,fm={};aa.prototype=ha.prototype={constructor:aa,defer:function(t){if("function"!=typeof t||this._call)throw new Error;if(null!=this._error)return this;var n=cm.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),ua(this),this},abort:function(){return null==this._error&&fa(this,new Error("abort")),this},await:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=function(n,e){t.apply(null,[n].concat(e))},la(this),this},awaitAll:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=t,la(this),this}};var lm=function(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return Math.random()*n+t}},hm=function(t,n){var e,r;return t=null==t?0:+t,n=null==n?1:+n,function(){var i;if(null!=e)i=e,e=null;else do e=2*Math.random()-1,i=2*Math.random()-1,r=e*e+i*i;while(!r||r>1);return t+n*i*Math.sqrt(-2*Math.log(r)/r)}},pm=function(){var t=hm.apply(this,arguments);return function(){return Math.exp(t())}},dm=function(t){return function(){for(var n=0,e=0;e<t;++e)n+=Math.random();return n}},vm=function(t){var n=dm(t);return function(){return n()/t}},ym=function(t){return function(){return-Math.log(1-Math.random())/t}},gm=function(t,n){function e(t){var n,e=c.status;if(!e&&da(c)||e>=200&&e<300||304===e){if(o)try{n=o.call(r,c)}catch(t){return void u.call("error",r,t)}else n=c;u.call("load",r,n)}else u.call("error",r,t)}var r,i,o,a,u=p("beforesend","progress","load","error"),s=Ue(),c=new XMLHttpRequest,f=null,l=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(t)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=e:c.onreadystatechange=function(t){c.readyState>3&&e(t)},c.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return c.open(n,t,!0,f,l),null==i||s.has("accept")||s.set("accept",i+",*/*"),c.setRequestHeader&&s.each(function(t,n){c.setRequestHeader(n,t)}),null!=i&&c.overrideMimeType&&c.overrideMimeType(i),null!=a&&(c.responseType=a),h>0&&(c.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=pa(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,c),c.send(null==e?null:e),r},abort:function(){return c.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r},_m=function(t,n){return function(e,r){var i=gm(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},mm=_m("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),xm=_m("application/json",function(t){return JSON.parse(t.responseText)}),bm=_m("text/plain",function(t){return t.responseText}),wm=_m("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),Mm=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=gm(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(va(n,r=t)):r},o.row(r),i?o.get(i):o}},km=Mm("text/csv",Hd),Am=Mm("text/tab-separated-values",Jd),Cm=Array.prototype,Sm=Cm.map,Tm=Cm.slice,Em={name:"implicit"},Nm=function(t){return function(){return t}},Om=function(t){return+t},$m=[0,1],Pm=function(n,r,i){var o,a=n[0],u=n[n.length-1],s=e(a,u,null==r?10:r);switch(i=Pv(null==i?",f":i),i.type){case"s":var c=Math.max(Math.abs(a),Math.abs(u));return null!=i.precision||isNaN(o=zv(s,c))||(i.precision=o),t.formatPrefix(i,c);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Dv(s,Math.max(Math.abs(a),Math.abs(u))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Iv(s))||(i.precision=o-2*("%"===i.type))}return t.format(i)},Rm=function(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t},Lm=new Date,jm=new Date,Im=Ba(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});Im.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ba(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Im:null};var zm=Im.range,Dm=1e3,Um=6e4,qm=36e5,Fm=864e5,Bm=6048e5,Hm=Ba(function(t){t.setTime(Math.floor(t/Dm)*Dm)},function(t,n){t.setTime(+t+n*Dm)},function(t,n){return(n-t)/Dm},function(t){return t.getUTCSeconds()}),Ym=Hm.range,Vm=Ba(function(t){t.setTime(Math.floor(t/Um)*Um)},function(t,n){t.setTime(+t+n*Um)},function(t,n){return(n-t)/Um},function(t){return t.getMinutes()}),Xm=Vm.range,Wm=Ba(function(t){var n=t.getTimezoneOffset()*Um%qm;n<0&&(n+=qm),t.setTime(Math.floor((+t-n)/qm)*qm+n)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getHours()}),Jm=Wm.range,Km=Ba(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Um)/Fm},function(t){return t.getDate()-1}),Zm=Km.range,Gm=Ha(0),Qm=Ha(1),tx=Ha(2),nx=Ha(3),ex=Ha(4),rx=Ha(5),ix=Ha(6),ox=Gm.range,ax=Qm.range,ux=tx.range,sx=nx.range,cx=ex.range,fx=rx.range,lx=ix.range,hx=Ba(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),px=hx.range,dx=Ba(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});dx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var vx=dx.range,yx=Ba(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*Um)},function(t,n){return(n-t)/Um},function(t){return t.getUTCMinutes()}),gx=yx.range,_x=Ba(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getUTCHours()}),mx=_x.range,xx=Ba(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/Fm},function(t){return t.getUTCDate()-1}),bx=xx.range,wx=Ya(0),Mx=Ya(1),kx=Ya(2),Ax=Ya(3),Cx=Ya(4),Sx=Ya(5),Tx=Ya(6),Ex=wx.range,Nx=Mx.range,Ox=kx.range,$x=Ax.range,Px=Cx.range,Rx=Sx.range,Lx=Tx.range,jx=Ba(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Ix=jx.range,zx=Ba(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});zx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var Dx,Ux=zx.range,qx={"-":"",_:" ",0:"0"},Fx=/^\s*\d+/,Bx=/^%/,Hx=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;Bu({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Yx="%Y-%m-%dT%H:%M:%S.%LZ",Vx=Date.prototype.toISOString?Hu:t.utcFormat(Yx),Xx=+new Date("2000-01-01T00:00:00.000Z")?Yu:t.utcParse(Yx),Wx=1e3,Jx=60*Wx,Kx=60*Jx,Zx=24*Kx,Gx=7*Zx,Qx=30*Zx,tb=365*Zx,nb=function(){return Wu(dx,hx,Gm,Km,Wm,Vm,Hm,Im,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},eb=function(){return Wu(zx,jx,wx,xx,_x,yx,Hm,Im,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},rb=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},ib=rb("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),ob=rb("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),ab=rb("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),ub=rb("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),sb=zh(Yt(300,.5,0),Yt(-240,.5,1)),cb=zh(Yt(-100,.75,.35),Yt(80,1.5,.8)),fb=zh(Yt(260,.75,.35),Yt(80,1.5,.8)),lb=Yt(),hb=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return lb.h=360*t-100,lb.s=1.5-1.5*n,lb.l=.8-.9*n,lb+""},pb=Ju(rb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),db=Ju(rb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),vb=Ju(rb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),yb=Ju(rb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),gb=function(t){return function(){return t}},_b=1e-12,mb=Math.PI,xb=mb/2,bb=2*mb,wb=function(){function t(){var t,c,f=+n.apply(this,arguments),l=+e.apply(this,arguments),h=o.apply(this,arguments)-xb,p=a.apply(this,arguments)-xb,d=Math.abs(p-h),v=p>h;if(s||(s=t=Pe()),l<f&&(c=l,l=f,f=c),l>_b)if(d>bb-_b)s.moveTo(l*Math.cos(h),l*Math.sin(h)),s.arc(0,0,l,h,p,!v),f>_b&&(s.moveTo(f*Math.cos(p),f*Math.sin(p)),s.arc(0,0,f,p,h,v));else{var y,g,_=h,m=p,x=h,b=p,w=d,M=d,k=u.apply(this,arguments)/2,A=k>_b&&(i?+i.apply(this,arguments):Math.sqrt(f*f+l*l)),C=Math.min(Math.abs(l-f)/2,+r.apply(this,arguments)),S=C,T=C;if(A>_b){var E=es(A/f*Math.sin(k)),N=es(A/l*Math.sin(k));(w-=2*E)>_b?(E*=v?1:-1,x+=E,b-=E):(w=0,x=b=(h+p)/2),(M-=2*N)>_b?(N*=v?1:-1,_+=N,m-=N):(M=0,_=m=(h+p)/2)}var O=l*Math.cos(_),$=l*Math.sin(_),P=f*Math.cos(b),R=f*Math.sin(b);if(C>_b){var L=l*Math.cos(m),j=l*Math.sin(m),I=f*Math.cos(x),z=f*Math.sin(x);if(d<mb){var D=w>_b?rs(O,$,I,z,L,j,P,R):[P,R],U=O-D[0],q=$-D[1],F=L-D[0],B=j-D[1],H=1/Math.sin(Math.acos((U*F+q*B)/(Math.sqrt(U*U+q*q)*Math.sqrt(F*F+B*B)))/2),Y=Math.sqrt(D[0]*D[0]+D[1]*D[1]);S=Math.min(C,(f-Y)/(H-1)),T=Math.min(C,(l-Y)/(H+1))}}M>_b?T>_b?(y=is(I,z,O,$,l,T,v),g=is(L,j,P,R,l,T,v),s.moveTo(y.cx+y.x01,y.cy+y.y01),T<C?s.arc(y.cx,y.cy,T,Math.atan2(y.y01,y.x01),Math.atan2(g.y01,g.x01),!v):(s.arc(y.cx,y.cy,T,Math.atan2(y.y01,y.x01),Math.atan2(y.y11,y.x11),!v),s.arc(0,0,l,Math.atan2(y.cy+y.y11,y.cx+y.x11),Math.atan2(g.cy+g.y11,g.cx+g.x11),!v),s.arc(g.cx,g.cy,T,Math.atan2(g.y11,g.x11),Math.atan2(g.y01,g.x01),!v))):(s.moveTo(O,$),s.arc(0,0,l,_,m,!v)):s.moveTo(O,$),f>_b&&w>_b?S>_b?(y=is(P,R,L,j,f,-S,v),g=is(O,$,I,z,f,-S,v),s.lineTo(y.cx+y.x01,y.cy+y.y01),S<C?s.arc(y.cx,y.cy,S,Math.atan2(y.y01,y.x01),Math.atan2(g.y01,g.x01),!v):(s.arc(y.cx,y.cy,S,Math.atan2(y.y01,y.x01),Math.atan2(y.y11,y.x11),!v),s.arc(0,0,f,Math.atan2(y.cy+y.y11,y.cx+y.x11),Math.atan2(g.cy+g.y11,g.cx+g.x11),v),s.arc(g.cx,g.cy,S,Math.atan2(g.y11,g.x11),Math.atan2(g.y01,g.x01),!v))):s.arc(0,0,f,b,x,v):s.lineTo(P,R)}else s.moveTo(0,0);if(s.closePath(),t)return s=null,t+""||null}var n=Zu,e=Gu,r=gb(0),i=null,o=Qu,a=ts,u=ns,s=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-mb/2;return[Math.cos(r)*t,Math.sin(r)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:gb(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),t):e},t.cornerRadius=function(n){return arguments.length?(r="function"==typeof n?n:gb(+n),t):r},t.padRadius=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:gb(+n),t):i},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:gb(+n),t):o},t.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:gb(+n),t):a},t.padAngle=function(n){return arguments.length?(u="function"==typeof n?n:gb(+n),t):u},t.context=function(n){return arguments.length?(s=null==n?null:n,t):s},t};os.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Mb=function(t){return new os(t)},kb=function(){function t(t){var u,s,c,f=t.length,l=!1;for(null==i&&(a=o(c=Pe())),u=0;u<=f;++u)!(u<f&&r(s=t[u],u,t))===l&&((l=!l)?a.lineStart():a.lineEnd()),l&&a.point(+n(s,u,t),+e(s,u,t));if(c)return a=null,c+""||null}var n=as,e=us,r=gb(!0),i=null,o=Mb,a=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:gb(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),t):e},t.defined=function(n){return arguments.length?(r="function"==typeof n?n:gb(!!n),t):r},t.curve=function(n){return arguments.length?(o=n,null!=i&&(a=o(i)),t):o},t.context=function(n){return arguments.length?(null==n?i=a=null:a=o(i=n),t):i},t},Ab=function(){function t(t){var n,f,l,h,p,d=t.length,v=!1,y=new Array(d),g=new Array(d);for(null==u&&(c=s(p=Pe())),n=0;n<=d;++n){if(!(n<d&&a(h=t[n],n,t))===v)if(v=!v)f=n,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),l=n-1;l>=f;--l)c.point(y[l],g[l]);c.lineEnd(),c.areaEnd()}v&&(y[n]=+e(h,n,t),g[n]=+i(h,n,t),c.point(r?+r(h,n,t):y[n],o?+o(h,n,t):g[n]))}if(p)return c=null,p+""||null}function n(){return kb().defined(a).curve(s).context(u)}var e=as,r=null,i=gb(0),o=us,a=gb(!0),u=null,s=Mb,c=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),r=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),t):e},t.x1=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:gb(+n),t):r},t.y=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),o=null,t):i},t.y0=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),t):i},t.y1=function(n){return arguments.length?(o=null==n?null:"function"==typeof n?n:gb(+n),t):o},t.lineX0=t.lineY0=function(){return n().x(e).y(i)},t.lineY1=function(){return n().x(e).y(o)},t.lineX1=function(){return n().x(r).y(i)},t.defined=function(n){return arguments.length?(a="function"==typeof n?n:gb(!!n),t):a},t.curve=function(n){return arguments.length?(s=n,null!=u&&(c=s(u)),t):s},t.context=function(n){return arguments.length?(null==n?u=c=null:c=s(u=n),t):u},t},Cb=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Sb=function(t){return t},Tb=function(){function t(t){var u,s,c,f,l,h=t.length,p=0,d=new Array(h),v=new Array(h),y=+i.apply(this,arguments),g=Math.min(bb,Math.max(-bb,o.apply(this,arguments)-y)),_=Math.min(Math.abs(g)/h,a.apply(this,arguments)),m=_*(g<0?-1:1);for(u=0;u<h;++u)(l=v[d[u]=u]=+n(t[u],u,t))>0&&(p+=l);for(null!=e?d.sort(function(t,n){return e(v[t],v[n])}):null!=r&&d.sort(function(n,e){return r(t[n],t[e])}),u=0,c=p?(g-h*m)/p:0;u<h;++u,y=f)s=d[u],l=v[s],f=y+(l>0?l*c:0)+m,v[s]={data:t[s],index:u,value:l,startAngle:y,endAngle:f,padAngle:_};return v}var n=Sb,e=Cb,r=null,i=gb(0),o=gb(bb),a=gb(0);
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._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:ls(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var tw=function(t){return new ps(t)};ds.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:ls(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var nw=function(t){return new ds(t)};vs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,s=-1;++s<=e;)r=s/e,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*a),this._beta*n[s]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var ew=function t(n){function e(t){return 1===n?new hs(t):new vs(t,n)}return e.beta=function(n){return t(+n)},e}(.85);gs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ys(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:ys(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var rw=function t(n){function e(t){return new gs(t,n)}return e.tension=function(n){return t(+n)},e}(0);_s.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:ys(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var iw=function t(n){function e(t){return new _s(t,n)}return e.tension=function(n){return t(+n)},e}(0);ms.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ys(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var ow=function t(n){function e(t){return new ms(t,n)}return e.tension=function(n){return t(+n)},e}(0);bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:xs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var aw=function t(n){function e(t){return n?new bs(t,n):new gs(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);ws.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:xs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var uw=function t(n){function e(t){return n?new ws(t,n):new _s(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Ms.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:xs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var sw=function t(n){function e(t){return n?new Ms(t,n):new ms(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);ks.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var cw=function(t){return new ks(t)};Es.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ts(this,this._t0,Ss(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ts(this,Ss(this,e=Cs(this,t,n)),e);break;default:Ts(this,this._t0,e=Cs(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Ns.prototype=Object.create(Es.prototype)).point=function(t,n){Es.prototype.point.call(this,n,t)},Os.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Rs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=Ls(t),i=Ls(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var fw=function(t){return new Rs(t)};js.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var lw=function(t){return new js(t,.5)},hw=Array.prototype.slice,pw=function(t,n){if((r=t.length)>1)for(var e,r,i=1,o=t[n[0]],a=o.length;i<r;++i){e=o,o=t[n[i]];for(var u=0;u<a;++u)o[u][1]+=o[u][0]=isNaN(e[u][1])?e[u][0]:e[u][1]}},dw=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e},vw=function(){function t(t){var o,a,u=n.apply(this,arguments),s=t.length,c=u.length,f=new Array(c);for(o=0;o<c;++o){for(var l,h=u[o],p=f[o]=new Array(s),d=0;d<s;++d)p[d]=l=[0,+i(t[d],h,d,t)],l.data=t[d];p.key=h}for(o=0,a=e(f);o<c;++o)f[a[o]].index=o;return r(f,a),f}var n=gb([]),e=dw,r=pw,i=Ds;return t.keys=function(e){return arguments.length?(n="function"==typeof e?e:gb(hw.call(e)),t):n},t.value=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),t):i},t.order=function(n){return arguments.length?(e=null==n?dw:"function"==typeof n?n:gb(hw.call(n)),t):e},t.offset=function(n){return arguments.length?(r=null==n?pw:n,t):r},t},yw=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o<a;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}pw(t,n)}},gw=function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<e;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}pw(t,n)}},_w=function(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var u=0,s=0,c=0;u<i;++u){for(var f=t[n[u]],l=f[a][1]||0,h=f[a-1][1]||0,p=(l-h)/2,d=0;d<u;++d){var v=t[n[d]],y=v[a][1]||0,g=v[a-1][1]||0;p+=y-g}s+=l,c+=p*l}e[a-1][1]+=e[a-1][0]=o,s&&(o-=c/s)}e[a-1][1]+=e[a-1][0]=o,pw(t,n)}},mw=function(t){var n=t.map(Us);return dw(t).sort(function(t,e){return n[t]-n[e]})},xw=function(t){return mw(t).reverse()},bw=function(t){var n,e,r=t.length,i=t.map(Us),o=dw(t).sort(function(t,n){return i[n]-i[t]}),a=0,u=0,s=[],c=[];for(n=0;n<r;++n)e=o[n],a<u?(a+=i[e],s.push(e)):(u+=i[e],c.push(e));return c.reverse().concat(s)},ww=function(t){return dw(t).reverse()},Mw=function(t){return function(){return t}};Bs.prototype={constructor:Bs,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Xs(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(Ys(this,e),t=e,e=t.U),e.C=!1,r.C=!0,Vs(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(Vs(this,e),t=e,e=t.U),e.C=!1,r.C=!0,Ys(this,r))),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?Xs(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,Ys(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,Vs(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,Ys(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,Vs(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Ys(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,Vs(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var kw,Aw,Cw,Sw,Tw,Ew=[],Nw=[],Ow=1e-6,$w=1e-12;_c.prototype={constructor:_c,polygons:function(){var t=this.edges;return this.cells.map(function(n){var e=n.halfedges.map(function(e){return ec(n,t[e])});return e.data=n.site.data,e})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u=e.site,s=-1,c=n[i[o-1]],f=c.left===u?c.right:c.left;++s<o;)a=f,c=n[i[s]],f=c.left===u?c.right:c.left,a&&f&&r<a.index&&r<f.index&&yc(u,a,f)<0&&t.push([u.data,a.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,n,e){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var s=t-i.site[0],c=n-i.site[1],f=s*s+c*c;do i=o.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=n-u[1],l=s*s+c*c;l<f&&(f=l,a=u.index)}});while(null!==a);return o._found=r,null==e||f<=e*e?i.site:null}};var Pw=function(){function t(t){return new _c(t.map(function(r,i){var o=[Math.round(n(r,i,t)/Ow)*Ow,Math.round(e(r,i,t)/Ow)*Ow];return o.index=i,o.data=r,o}),r)}var n=qs,e=Fs,r=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(e){return arguments.length?(n="function"==typeof e?e:Mw(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:Mw(+n),t):e},t.extent=function(n){return arguments.length?(r=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},t.size=function(n){return arguments.length?(r=null==n?null:[[0,0],[+n[0],+n[1]]],t):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},t},Rw=function(t){return function(){return t}};xc.prototype={constructor:xc,scale:function(t){return 1===t?this:new xc(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new xc(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Lw=new xc(1,0,0);bc.prototype=xc.prototype;var jw=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},Iw=function(){function n(t){t.on("wheel.zoom",c).on("mousedown.zoom",f).on("dblclick.zoom",l).on("touchstart.zoom",h).on("touchmove.zoom",d).on("touchend.zoom touchcancel.zoom",v).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",Ac)}function e(t,n){return n=Math.max(x,Math.min(b,n)),n===t.k?t:new xc(n,t.x,t.y)}function r(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new xc(t.k,r,i)}function i(t,n){var e=t.invertX(n[0][0])-w,r=t.invertX(n[1][0])-M,i=t.invertY(n[0][1])-k,o=t.invertY(n[1][1])-A;return t.translate(r>e?(e+r)/2:Math.min(0,e)||Math.max(0,r),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function a(t,n,e){t.on("start.zoom",function(){u(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){u(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=u(t,r),a=m.apply(t,r),s=e||o(a),c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,r):n,h=T(f.invert(s).concat(c/f.k),l.invert(s).concat(c/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=c/n[2];t=new xc(e,s[0]-n[0]*e,s[1]-n[1]*e)}i.zoom(null,t)}})}function u(t,n){for(var e,r=0,i=E.length;r<i;++r)if((e=E[r]).that===t)return e;return new s(t,n)}function s(t,n){this.that=t,this.args=n,this.index=-1,this.active=0,this.extent=m.apply(t,n)}function c(){function n(){o.wheel=null,o.end()}if(_.apply(this,arguments)){var o=u(this,arguments),a=this.__zoom,s=Math.max(x,Math.min(b,a.k*Math.pow(2,-t.event.deltaY*(t.event.deltaMode?120:1)/500))),c=Pf(this);if(o.wheel)o.mouse[0][0]===c[0]&&o.mouse[0][1]===c[1]||(o.mouse[1]=a.invert(o.mouse[0]=c)),clearTimeout(o.wheel);else{if(a.k===s)return;o.mouse=[c,a.invert(c)],up(this),o.start()}jw(),o.wheel=setTimeout(n,$),o.zoom("mouse",i(r(e(a,s),o.mouse[0],o.mouse[1]),o.extent))}}function f(){function n(){jw(),o.moved=!0,o.zoom("mouse",i(r(o.that.__zoom,o.mouse[0]=Pf(o.that),o.mouse[1]),o.extent))}function e(){a.on("mousemove.zoom mouseup.zoom",null),yt(t.event.view,o.moved),jw(),o.end()}if(!g&&_.apply(this,arguments)){var o=u(this,arguments),a=vl(t.event.view).on("mousemove.zoom",n,!0).on("mouseup.zoom",e,!0),s=Pf(this);xl(t.event.view),wc(),o.mouse=[s,this.__zoom.invert(s)],up(this),o.start()}}function l(){if(_.apply(this,arguments)){var o=this.__zoom,u=Pf(this),s=o.invert(u),c=o.k*(t.event.shiftKey?.5:2),f=i(r(e(o,c),u,s),m.apply(this,arguments));jw(),C>0?vl(this).transition().duration(C).call(a,f,u):vl(this).call(n.transform,f)}}function h(){if(_.apply(this,arguments)){var n,e,r,i,o=u(this,arguments),a=t.event.changedTouches,s=a.length;for(wc(),e=0;e<s;++e)r=a[e],i=gl(this,a,r.identifier),i=[i,this.__zoom.invert(i),r.identifier],o.touch0?o.touch1||(o.touch1=i):(o.touch0=i,n=!0);return y&&(y=clearTimeout(y),!o.touch1)?(o.end(),i=vl(this).on("dblclick.zoom"),void(i&&i.apply(this,arguments))):void(n&&(y=setTimeout(function(){y=null},O),up(this),o.start()))}}function d(){var n,o,a,s,c=u(this,arguments),f=t.event.changedTouches,l=f.length;for(jw(),y&&(y=clearTimeout(y)),n=0;n<l;++n)o=f[n],a=gl(this,f,o.identifier),c.touch0&&c.touch0[2]===o.identifier?c.touch0[0]=a:c.touch1&&c.touch1[2]===o.identifier&&(c.touch1[0]=a);if(o=c.that.__zoom,c.touch1){var h=c.touch0[0],p=c.touch0[1],d=c.touch1[0],v=c.touch1[1],g=(g=d[0]-h[0])*g+(g=d[1]-h[1])*g,_=(_=v[0]-p[0])*_+(_=v[1]-p[1])*_;o=e(o,Math.sqrt(g/_)),a=[(h[0]+d[0])/2,(h[1]+d[1])/2],s=[(p[0]+v[0])/2,(p[1]+v[1])/2]}else{if(!c.touch0)return;a=c.touch0[0],s=c.touch0[1]}c.zoom("touch",i(r(o,a,s),c.extent))}function v(){var n,e,r=u(this,arguments),i=t.event.changedTouches,o=i.length;for(wc(),g&&clearTimeout(g),g=setTimeout(function(){g=null},O),n=0;n<o;++n)e=i[n],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0||r.end()}var y,g,_=Mc,m=kc,x=0,b=1/0,w=-b,M=b,k=w,A=M,C=250,T=$h,E=[],N=p("start","zoom","end"),O=500,$=150;return n.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",Ac),t!==e?a(t,n):e.interrupt().each(function(){u(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},n.scaleBy=function(t,e){n.scaleTo(t,function(){var t=this.__zoom.k,n="function"==typeof e?e.apply(this,arguments):e;return t*n})},n.scaleTo=function(t,a){n.transform(t,function(){var t=m.apply(this,arguments),n=this.__zoom,u=o(t),s=n.invert(u),c="function"==typeof a?a.apply(this,arguments):a;return i(r(e(n,c),u,s),t)})},n.translateBy=function(t,e,r){n.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof r?r.apply(this,arguments):r),m.apply(this,arguments))})},s.prototype={start:function(){return 1===++this.active&&(this.index=E.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0===--this.active&&(E.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){S(new mc(n,t,this.that.__zoom),N.apply,N,[t,this.that,this.args])}},n.filter=function(t){return arguments.length?(_="function"==typeof t?t:Rw(!!t),n):_},n.extent=function(t){return arguments.length?(m="function"==typeof t?t:Rw([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),n):m},n.scaleExtent=function(t){return arguments.length?(x=+t[0],b=+t[1],n):[x,b]},n.translateExtent=function(t){return arguments.length?(w=+t[0][0],M=+t[1][0],k=+t[0][1],A=+t[1][1],n):[[w,k],[M,A]]},n.duration=function(t){return arguments.length?(C=+t,n):C},n.interpolate=function(t){return arguments.length?(T=t,n):T},n.on=function(){var t=N.on.apply(N,arguments);return t===N?n:t},n};t.version=Cc,t.bisect=Nc,t.bisectRight=Nc,t.bisectLeft=Oc,t.ascending=Sc,t.bisector=Tc,t.descending=$c,t.deviation=Lc,t.extent=jc,t.histogram=Wc,t.thresholdFreedmanDiaconis=Kc,t.thresholdScott=Zc,t.thresholdSturges=Xc,t.max=Gc,t.mean=Qc,t.median=tf,t.merge=nf,t.min=ef,t.pairs=rf,t.permute=of,t.quantile=Jc,t.range=Fc,t.scan=af,t.shuffle=uf,t.sum=sf,t.ticks=Vc,t.tickStep=e,t.transpose=cf,t.variance=Rc,t.zip=ff,t.axisTop=c,t.axisRight=f,t.axisBottom=l,t.axisLeft=h,t.brush=bd,t.brushX=Te,t.brushY=Ee,t.brushSelection=Se,t.chord=Td,t.ribbon=Ld,t.nest=Id,t.set=Ve,t.map=Ue,t.keys=Dd,t.values=Ud,t.entries=qd,t.color=Mt,t.rgb=St,t.hsl=Ot,t.lab=Lt,t.hcl=Ft,t.cubehelix=Yt,t.dispatch=p,t.drag=wl,t.dragDisable=xl,t.dragEnable=yt,t.dsvFormat=Fd,t.csvParse=Hd,t.csvParseRows=Yd,t.csvFormat=Vd,t.csvFormatRows=Xd,t.tsvParse=Jd,t.tsvParseRows=Kd,t.tsvFormat=Zd,t.tsvFormatRows=Gd,t.easeLinear=ne,t.easeQuad=ie,t.easeQuadIn=ee,t.easeQuadOut=re,t.easeQuadInOut=ie,t.easeCubic=ue,t.easeCubicIn=oe,t.easeCubicOut=ae,t.easeCubicInOut=ue,t.easePoly=Pp,t.easePolyIn=Op,t.easePolyOut=$p,t.easePolyInOut=Pp,t.easeSin=fe,t.easeSinIn=se,t.easeSinOut=ce,t.easeSinInOut=fe,t.easeExp=pe,t.easeExpIn=le,t.easeExpOut=he,t.easeExpInOut=pe,t.easeCircle=ye,t.easeCircleIn=de,t.easeCircleOut=ve,t.easeCircleInOut=ye,t.easeBounce=_e,t.easeBounceIn=ge,t.easeBounceOut=_e,t.easeBounceInOut=me,t.easeBack=Jp,t.easeBackIn=Xp,t.easeBackOut=Wp,t.easeBackInOut=Jp,t.easeElastic=td,t.easeElasticIn=Qp,t.easeElasticOut=td,t.easeElasticInOut=nd,t.forceCenter=Qd,t.forceCollide=gv,t.forceLink=_v,t.forceManyBody=wv,t.forceSimulation=bv,t.forceX=Mv,t.forceY=kv,t.formatDefaultLocale=hr,t.formatLocale=jv,t.formatSpecifier=Pv,t.precisionFixed=Iv,t.precisionPrefix=zv,t.precisionRound=Dv,t.geoArea=Yy,t.geoBounds=Wy,t.geoCentroid=Ky,t.geoCircle=lg,t.geoClipExtent=_g,t.geoDistance=kg,t.geoGraticule=vi,t.geoGraticule10=yi,t.geoInterpolate=Ag,t.geoLength=bg,t.geoPath=Gg,t.geoAlbers=f_,t.geoAlbersUsa=l_,t.geoAzimuthalEqualArea=p_,t.geoAzimuthalEqualAreaRaw=h_,t.geoAzimuthalEquidistant=v_,t.geoAzimuthalEquidistantRaw=d_,t.geoConicConformal=g_,t.geoConicConformalRaw=io,t.geoConicEqualArea=c_,t.geoConicEqualAreaRaw=Zi,t.geoConicEquidistant=m_,t.geoConicEquidistantRaw=ao,t.geoEquirectangular=__,t.geoEquirectangularRaw=oo,t.geoGnomonic=x_,t.geoGnomonicRaw=uo,t.geoIdentity=b_,t.geoProjection=Xi,t.geoProjectionMutator=Wi,t.geoMercator=y_,t.geoMercatorRaw=no,t.geoOrthographic=w_,t.geoOrthographicRaw=co,t.geoStereographic=M_,t.geoStereographicRaw=fo,t.geoTransverseMercator=k_,t.geoTransverseMercatorRaw=lo,t.geoRotation=fg,t.geoStream=qy,t.geoTransform=i_,t.cluster=A_,t.hierarchy=wo,t.pack=q_,t.packSiblings=D_,t.packEnclose=z_,t.partition=H_,t.stratify=W_,t.tree=J_,t.treemap=Q_,t.treemapBinary=tm,t.treemapDice=B_,t.treemapSlice=K_,t.treemapSliceDice=nm,t.treemapSquarify=G_,t.treemapResquarify=em,t.interpolate=bh,t.interpolateArray=dh,t.interpolateBasis=sh,t.interpolateBasisClosed=ch,t.interpolateDate=vh,t.interpolateNumber=yh,t.interpolateObject=gh,t.interpolateRound=wh,t.interpolateString=xh,t.interpolateTransformCss=Ch,t.interpolateTransformSvg=Sh,t.interpolateZoom=$h,t.interpolateRgb=lh,t.interpolateRgbBasis=hh,t.interpolateRgbBasisClosed=ph,t.interpolateHsl=Ph,t.interpolateHslLong=Rh,t.interpolateLab=fn,t.interpolateHcl=Lh,t.interpolateHclLong=jh,t.interpolateCubehelix=Ih,t.interpolateCubehelixLong=zh,t.quantize=Dh,t.path=Pe,t.polygonArea=rm,t.polygonCentroid=im,t.polygonHull=am,t.polygonContains=um,t.polygonLength=sm;t.quadtree=nr;t.queue=ha,t.randomUniform=lm,t.randomNormal=hm,t.randomLogNormal=pm,t.randomBates=vm,t.randomIrwinHall=dm,t.randomExponential=ym,t.request=gm,t.html=mm,t.json=xm,t.text=bm,t.xml=wm,t.csv=km,t.tsv=Am,t.scaleBand=ga,t.scalePoint=ma,t.scaleIdentity=Ea,t.scaleLinear=Ta,t.scaleLog=ja,t.scaleOrdinal=ya,t.scaleImplicit=Em,t.scalePow=za,t.scaleSqrt=Da,t.scaleQuantile=Ua,t.scaleQuantize=qa,t.scaleThreshold=Fa,t.scaleTime=nb,t.scaleUtc=eb,t.schemeCategory10=ib,t.schemeCategory20b=ob,t.schemeCategory20c=ab,t.schemeCategory20=ub,t.interpolateCubehelixDefault=sb,t.interpolateRainbow=hb,t.interpolateWarm=cb,t.interpolateCool=fb,t.interpolateViridis=pb,t.interpolateMagma=db,t.interpolateInferno=vb,t.interpolatePlasma=yb,t.scaleSequential=Ku,t.creator=wf,t.local=x,t.matcher=Sf,t.mouse=Pf,t.namespace=bf,t.namespaces=xf,t.select=vl,t.selectAll=yl,t.selection=dt,t.selector=Rf,t.selectorAll=jf,t.touch=gl,t.touches=_l,t.window=nl,t.customEvent=S,t.arc=wb,t.area=Ab,t.line=kb,t.pie=Tb,t.radialArea=Ob,t.radialLine=Nb,t.symbol=Zb,t.symbols=Kb,t.symbolCircle=$b,t.symbolCross=Pb,t.symbolDiamond=jb,t.symbolSquare=Fb,t.symbolStar=qb,t.symbolTriangle=Hb,t.symbolWye=Jb,t.curveBasisClosed=tw,t.curveBasisOpen=nw,t.curveBasis=Qb,t.curveBundle=ew,t.curveCardinalClosed=iw,t.curveCardinalOpen=ow,t.curveCardinal=rw,t.curveCatmullRomClosed=uw,t.curveCatmullRomOpen=sw,t.curveCatmullRom=aw,t.curveLinearClosed=cw,t.curveLinear=Mb,t.curveMonotoneX=$s,t.curveMonotoneY=Ps,t.curveNatural=fw,t.curveStep=lw,t.curveStepAfter=zs,t.curveStepBefore=Is,t.stack=vw,t.stackOffsetExpand=yw,t.stackOffsetNone=pw,t.stackOffsetSilhouette=gw,t.stackOffsetWiggle=_w,t.stackOrderAscending=mw,t.stackOrderDescending=xw,t.stackOrderInsideOut=bw,t.stackOrderNone=dw,t.stackOrderReverse=ww,t.timeInterval=Ba,t.timeMillisecond=Im,t.timeMilliseconds=zm,t.utcMillisecond=Im,t.utcMilliseconds=zm,
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 o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:e=!0}},o[r]=function(){return a},t(o)}catch(t){}return e}},function(t,n){t.exports=!0},function(t,n,e){var r=e(3),i=e(55),o=e(20),a=e(14)("IE_PROTO"),u=function(){},s="prototype",c=function(){var t,n=e(19)("iframe"),r=o.length,i="<",a=">";for(n.style.display="none",e(45).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),c=t.F;r--;)delete c[s][o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(u[s]=r(t),e=new u,u[s]=null,e[a]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(7),i=e(3),o=e(58);t.exports=e(4)?Object.defineProperties:function(t,n){i(t);for(var e,a=o(n),u=a.length,s=0;u>s;)r.f(t,e=a[s++],n[e]);return t}},function(t,n,e){var r=e(5),i=e(27),o=e(14)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r=e(5),i=e(25),o=e(42)(!1),a=e(14)("IE_PROTO");t.exports=function(t,n){var e,u=i(t),s=0,c=[];for(e in u)e!=a&&r(u,e)&&c.push(e);for(;n.length>s;)r(u,e=n[s++])&&(~o(c,e)||c.push(e));return c}},function(t,n,e){var r=e(57),i=e(20);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){t.exports=e(6)},function(t,n,e){var r=e(15),i=e(10);t.exports=function(t){return function(n,e){var o,a,u=String(i(n)),s=r(e),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s),o<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):(o-55296<<10)+(a-56320)+65536)}}},function(t,n,e){var r=e(15),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(11);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(43),i=e(0)("iterator"),o=e(12);t.exports=e(9).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){"use strict";var r=e(18),i=e(21),o=e(27),a=e(49),u=e(48),s=e(26),c=e(44),f=e(63);i(i.S+i.F*!e(52)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,_=f(h);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),void 0==_||p==Array&&u(_))for(n=s(h.length),e=new p(n);n>g;g++)c(e,g,y?v(h[g],g):h[g]);else for(l=_.call(h),e=new p;!(i=l.next()).done;g++)c(e,g,y?a(l,v,[i.value,g],!0):i.value);return e.length=g,e}})},function(t,n,e){"use strict";var r=e(60)(!0);e(51)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},,,,,,,,,,,,,,,function(t,n,e){"use strict";function r(t,n){t||"undefined"!=typeof console&&console.warn("[vue-router] "+n)}function i(t,n){switch(typeof n){case"undefined":return;case"object":return n;case"function":return n(t);case"boolean":return n?t.params:void 0;default:r(!1,'props in "'+t.path+'" is a '+typeof n+", expecting an object, function or boolean.")}}function o(t,n){if(void 0===n&&(n={}),t){var e;try{e=a(t)}catch(t){e={}}for(var r in n)e[r]=n[r];return e}return n}function a(t){var n={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),r=$t(e.shift()),i=e.length>0?$t(e.join("=")):null;void 0===n[r]?n[r]=i:Array.isArray(n[r])?n[r].push(i):n[r]=[n[r],i]}),n):n}function u(t){var n=t?Object.keys(t).map(function(n){var e=t[n];if(void 0===e)return"";if(null===e)return Ot(n);if(Array.isArray(e)){var r=[];return e.slice().forEach(function(t){void 0!==t&&(null===t?r.push(Ot(n)):r.push(Ot(n)+"="+Ot(t)))}),r.join("&")}return Ot(n)+"="+Ot(e)}).filter(function(t){return t.length>0}).join("&"):null;return n?"?"+n:""}function s(t,n,e){var r={name:n.name||t&&t.name,meta:t&&t.meta||{},path:n.path||"/",hash:n.hash||"",query:n.query||{},params:n.params||{},fullPath:f(n),matched:t?c(t):[]};return e&&(r.redirectedFrom=f(e)),Object.freeze(r)}function c(t){for(var n=[];t;)n.unshift(t),t=t.parent;return n}function f(t){var n=t.path,e=t.query;void 0===e&&(e={});var r=t.hash;return void 0===r&&(r=""),(n||"/")+u(e)+r}function l(t,n){return n===Rt?t===n:!!n&&(t.path&&n.path?t.path.replace(Pt,"")===n.path.replace(Pt,"")&&t.hash===n.hash&&h(t.query,n.query):!(!t.name||!n.name)&&(t.name===n.name&&t.hash===n.hash&&h(t.query,n.query)&&h(t.params,n.params)))}function h(t,n){void 0===t&&(t={}),void 0===n&&(n={});var e=Object.keys(t),r=Object.keys(n);return e.length===r.length&&e.every(function(e){return String(t[e])===String(n[e])})}function p(t,n){return 0===t.path.replace(Pt,"/").indexOf(n.path.replace(Pt,"/"))&&(!n.hash||t.hash===n.hash)&&d(t.query,n.query)}function d(t,n){for(var e in n)if(!(e in t))return!1;return!0}function v(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.target&&t.target.getAttribute){var n=t.target.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function y(t){if(t)for(var n,e=0;e<t.length;e++){if(n=t[e],"a"===n.tag)return n;if(n.children&&(n=y(n.children)))return n}}function g(t){if(!g.installed){g.installed=!0,Ct=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",St),t.component("router-link",It);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.created}}function _(t,n,e){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return n+t;var r=n.split("/");e&&r[r.length-1]||r.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var a=i[o];"."!==a&&(".."===a?r.pop():r.push(a))}return""!==r[0]&&r.unshift(""),r.join("/")}function m(t){var n="",e="",r=t.indexOf("#");r>=0&&(n=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(e=t.slice(i+1),t=t.slice(0,i)),{path:t,query:e,hash:n}}function x(t){return t.replace(/\/\//g,"/")}function b(t,n,e){var r=n||Object.create(null),i=e||Object.create(null);return t.forEach(function(t){w(r,i,t)}),{pathMap:r,nameMap:i}}function w(t,n,e,r,i){var o=e.path,a=e.name,u={path:M(o,r),components:e.components||{default:e.component},instances:{},name:a,parent:r,matchAs:i,redirect:e.redirect,beforeEnter:e.beforeEnter,meta:e.meta||{},props:null==e.props?{}:e.components?e.props:{default:e.props}};if(e.children&&e.children.forEach(function(e){var r=i?x(i+"/"+e.path):void 0;w(t,n,e,u,r)}),void 0!==e.alias)if(Array.isArray(e.alias))e.alias.forEach(function(i){var o={path:i,children:e.children};w(t,n,o,r,u.path)});else{var s={path:e.alias,children:e.children};w(t,n,s,r,u.path)}t[u.path]||(t[u.path]=u),a&&(n[a]||(n[a]=u))}function M(t,n){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==n?t:x(n.path+"/"+t)}function k(t,n){for(var e,r=[],i=0,o=0,a="",u=n&&n.delimiter||"/";null!=(e=Vt.exec(t));){var s=e[0],c=e[1],f=e.index;if(a+=t.slice(o,f),o=f+s.length,c)a+=c[1];else{var l=t[o],h=e[2],p=e[3],d=e[4],v=e[5],y=e[6],g=e[7];a&&(r.push(a),a="");var _=null!=h&&null!=l&&l!==h,m="+"===y||"*"===y,x="?"===y||"*"===y,b=e[2]||u,w=d||v;r.push({name:p||i++,prefix:h||"",delimiter:b,optional:x,repeat:m,partial:_,asterisk:!!g,pattern:w?N(w):g?".*":"[^"+E(b)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function A(t,n){return T(k(t,n))}function C(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function S(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function T(t){for(var n=new Array(t.length),e=0;e<t.length;e++)"object"==typeof t[e]&&(n[e]=new RegExp("^(?:"+t[e].pattern+")$"));return function(e,r){for(var i="",o=e||{},a=r||{},u=a.pretty?C:encodeURIComponent,s=0;s<t.length;s++){var c=t[s];if("string"!=typeof c){var f,l=o[c.name];if(null==l){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Ut(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(f=u(l[h]),!n[s].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===h?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?S(l):u(l),!n[s].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');i+=c.prefix+f}}else i+=c}return i}}function E(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function N(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function O(t,n){return t.keys=n,t}function $(t){return t.sensitive?"":"i"}function P(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return O(t,n)}function R(t,n,e){for(var r=[],i=0;i<t.length;i++)r.push(I(t[i],n,e).source);var o=new RegExp("(?:"+r.join("|")+")",$(e));return O(o,n)}function L(t,n,e){return j(k(t,e),n,e)}function j(t,n,e){Ut(n)||(e=n||e,n=[]),e=e||{};for(var r=e.strict,i=e.end!==!1,o="",a=0;a<t.length;a++){var u=t[a];if("string"==typeof u)o+=E(u);else{var s=E(u.prefix),c="(?:"+u.pattern+")";n.push(u),u.repeat&&(c+="(?:"+s+c+")*"),c=u.optional?u.partial?s+"("+c+")?":"(?:"+s+"("+c+"))?":s+"("+c+")",o+=c}}var f=E(e.delimiter||"/"),l=o.slice(-f.length)===f;return r||(o=(l?o.slice(0,-f.length):o)+"(?:"+f+"(?=$))?"),o+=i?"$":r&&l?"":"(?="+f+"|$)",O(new RegExp("^"+o,$(e)),n)}function I(t,n,e){return Ut(n)||(e=n||e,n=[]),e=e||{},t instanceof RegExp?P(t,n):Ut(t)?R(t,n,e):L(t,n,e)}function z(t){var n,e,r=Xt[t];return r?(n=r.keys,e=r.regexp):(n=[],e=qt(t,n),Xt[t]={keys:n,regexp:e}),{keys:n,regexp:e}}function D(t,n,e){try{var r=Wt[t]||(Wt[t]=qt.compile(t));return r(n||{},{pretty:!0})}catch(t){return""}}function U(t,n,e){var r="string"==typeof t?{path:t}:t;if(r.name||r._normalized)return r;if(!r.path&&r.params&&n){r=q({},r),r._normalized=!0;var i=q(q({},n.params),r.params);if(n.name)r.name=n.name,r.params=i;else if(n.matched){var a=n.matched[n.matched.length-1].path;r.path=D(a,i,"path "+n.path)}return r}var u=m(r.path||""),s=n&&n.path||"/",c=u.path?_(u.path,s,e||r.append):n&&n.path||"/",f=o(u.query,r.query),l=r.hash||u.hash;return l&&"#"!==l.charAt(0)&&(l="#"+l),{_normalized:!0,path:c,query:f,hash:l}}function q(t,n){for(var e in n)t[e]=n[e];return t}function F(t){function n(t){b(t,c,f)}function e(t,n,e){var r=U(t,n),i=r.name;if(i){var o=f[i],u=z(o.path).keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof r.params&&(r.params={}),n&&"object"==typeof n.params)for(var s in n.params)!(s in r.params)&&u.indexOf(s)>-1&&(r.params[s]=n.params[s]);if(o)return r.path=D(o.path,r.params,'named route "'+i+'"'),a(o,r,e)}else if(r.path){r.params={};for(var l in c)if(B(l,r.params,r.path))return a(c[l],r,e)}return a(null,r)}function i(t,n){var i=t.redirect,o="function"==typeof i?i(s(t,n)):i;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return a(null,n);var u=o,c=u.name,l=u.path,h=n.query,p=n.hash,d=n.params;if(h=u.hasOwnProperty("query")?u.query:h,p=u.hasOwnProperty("hash")?u.hash:p,d=u.hasOwnProperty("params")?u.params:d,c){f[c];return e({_normalized:!0,name:c,query:h,hash:p,params:d},void 0,n)}if(l){var v=H(l,t),y=D(v,d,'redirect route with path "'+v+'"');return e({_normalized:!0,path:y,query:h,hash:p},void 0,n)}return r(!1,"invalid redirect option: "+JSON.stringify(o)),a(null,n)}function o(t,n,r){var i=D(r,n.params,'aliased route with path "'+r+'"'),o=e({_normalized:!0,path:i});if(o){var u=o.matched,s=u[u.length-1];return n.params=o.params,a(s,n)}return a(null,n)}function a(t,n,e){return t&&t.redirect?i(t,e||n):t&&t.matchAs?o(t,n,t.matchAs):s(t,n,e)}var u=b(t),c=u.pathMap,f=u.nameMap;return{match:e,addRoutes:n}}function B(t,n,e){var r=z(t),i=r.regexp,o=r.keys,a=e.match(i);if(!a)return!1;if(!n)return!0;for(var u=1,s=a.length;u<s;++u){var c=o[u-1],f="string"==typeof a[u]?decodeURIComponent(a[u]):a[u];c&&(n[c.name]=f)}return!0}function H(t,n){return _(t,n.parent?n.parent.path:"/",!0)}function Y(){window.addEventListener("popstate",function(t){X(),t.state&&t.state.key&&nt(t.state.key)})}function V(t,n,e,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var t=W(),o=i(n,e,r?t:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var u=document.querySelector(o.selector);u?t=J(u):K(o)&&(t=Z(o))}else a&&K(o)&&(t=Z(o));t&&window.scrollTo(t.x,t.y)}})}}function X(){var t=tt();t&&(Jt[t]={x:window.pageXOffset,y:window.pageYOffset})}function W(){var t=tt();if(t)return Jt[t]}function J(t){var n=document.documentElement.getBoundingClientRect(),e=t.getBoundingClientRect();return{x:e.left-n.left,y:e.top-n.top}}function K(t){return G(t.x)||G(t.y)}function Z(t){return{x:G(t.x)?t.x:window.pageXOffset,y:G(t.y)?t.y:window.pageYOffset}}function G(t){return"number"==typeof t}function Q(){return Zt.now().toFixed(3)}function tt(){return Gt}function nt(t){Gt=t}function et(t,n){X();var e=window.history;try{n?e.replaceState({key:Gt},"",t):(Gt=Q(),e.pushState({key:Gt},"",t))}catch(e){window.location[n?"replace":"assign"](t)}}function rt(t){et(t,!0)}function it(t,n,e){var r=function(i){i>=t.length?e():t[i]?n(t[i],function(){r(i+1)}):r(i+1)};r(0)}function ot(t){if(!t)if(zt){var n=document.querySelector("base");t=n?n.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function at(t,n){var e,r=Math.max(t.length,n.length);for(e=0;e<r&&t[e]===n[e];e++);return{updated:n.slice(0,e),activated:n.slice(e),deactivated:t.slice(e)}}function ut(t,n,e,r){var i=yt(t,function(t,r,i,o){var a=st(t,n);if(a)return Array.isArray(a)?a.map(function(t){return e(t,r,i,o)}):e(a,r,i,o)});return gt(r?i.reverse():i)}function st(t,n){return"function"!=typeof t&&(t=Ct.extend(t)),t.options[n]}function ct(t){return ut(t,"beforeRouteLeave",lt,!0)}function ft(t){return ut(t,"beforeRouteUpdate",lt)}function lt(t,n){return function(){return t.apply(n,arguments)}}function ht(t,n,e){return ut(t,"beforeRouteEnter",function(t,r,i,o){return pt(t,i,o,n,e)})}function pt(t,n,e,r,i){return function(o,a,u){return t(o,a,function(t){u(t),"function"==typeof t&&r.push(function(){dt(t,n.instances,e,i)})})}}function dt(t,n,e,r){n[e]?t(n[e]):r()&&setTimeout(function(){dt(t,n,e,r)},16)}function vt(t){return yt(t,function(t,n,e,i){if("function"==typeof t&&!t.options)return function(n,o,a){var u=_t(function(t){e.components[i]=t,a()}),s=_t(function(t){r(!1,"Failed to resolve async component "+i+": "+t),a(!1)}),c=t(u,s);c&&"function"==typeof c.then&&c.then(u,s)}})}function yt(t,n){return gt(t.map(function(t){return Object.keys(t.components).map(function(e){return n(t.components[e],t.instances[e],t,e)})}))}function gt(t){return Array.prototype.concat.apply([],t)}function _t(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function mt(t){var n=window.location.pathname;return t&&0===n.indexOf(t)&&(n=n.slice(t.length)),(n||"/")+window.location.search+window.location.hash}function xt(t){var n=mt(t);if(!/^\/#/.test(n))return window.location.replace(x(t+"/#"+n)),!0}function bt(){var t=wt();return"/"===t.charAt(0)||(kt("/"+t),!1)}function wt(){var t=window.location.href,n=t.indexOf("#");return n===-1?"":t.slice(n+1)}function Mt(t){window.location.hash=t}function kt(t){var n=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,n>=0?n:0)+"#"+t)}function At(t,n,e){var r="hash"===e?"#"+n:n;return t?x(t+"/"+r):r}var Ct,St={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,n){var e=n.props,r=n.children,o=n.parent,a=n.data;a.routerView=!0;for(var u=e.name,s=o.$route,c=o._routerViewCache||(o._routerViewCache={}),f=0,l=!1;o;)o.$vnode&&o.$vnode.data.routerView&&f++,o._inactive&&(l=!0),o=o.$parent;if(a.routerViewDepth=f,l)return t(c[u],a,r);var h=s.matched[f];if(!h)return c[u]=null,t();var p=c[u]=h.components[u],d=a.hook||(a.hook={});return d.init=function(t){h.instances[u]=t.child},d.prepatch=function(t,n){h.instances[u]=n.child},d.destroy=function(t){h.instances[u]===t.child&&(h.instances[u]=void 0)},a.props=i(s,h.props&&h.props[u]),t(p,a,r)}},Tt=/[!'()*]/g,Et=function(t){return"%"+t.charCodeAt(0).toString(16)},Nt=/%2C/g,Ot=function(t){return encodeURIComponent(t).replace(Tt,Et).replace(Nt,",")},$t=decodeURIComponent,Pt=/\/?$/,Rt=s(null,{path:"/"}),Lt=[String,Object],jt=[String,Array],It={name:"router-link",props:{to:{type:Lt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:jt,default:"click"}},render:function(t){var n=this,e=this.$router,r=this.$route,i=e.resolve(this.to,r,this.append),o=i.location,a=i.route,u=i.href,c={},f=this.activeClass||e.options.linkActiveClass||"router-link-active",h=o.path?s(null,o):a;c[f]=this.exact?l(r,h):p(r,h);var d=function(t){v(t)&&(n.replace?e.replace(o):e.push(o))},g={click:v};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=d}):g[this.event]=d;var _={class:c};if("a"===this.tag)_.on=g,_.attrs={href:u};else{var m=y(this.$slots.default);if(m){m.isStatic=!1;var x=Ct.util.extend,b=m.data=x({},m.data);b.on=g;var w=m.data.attrs=x({},m.data.attrs);w.href=u}else _.on=g}return t(this.tag,_,this.$slots.default)}},zt="undefined"!=typeof window,Dt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Ut=Dt,qt=I,Ft=k,Bt=A,Ht=T,Yt=j,Vt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");qt.parse=Ft,qt.compile=Bt,qt.tokensToFunction=Ht,qt.tokensToRegExp=Yt;var Xt=Object.create(null),Wt=Object.create(null),Jt=Object.create(null),Kt=zt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Zt=zt&&window.performance&&window.performance.now?window.performance:Date,Gt=Q(),Qt=function(t,n){this.router=t,this.base=ot(n),this.current=Rt,this.pending=null,this.ready=!1,this.readyCbs=[]};Qt.prototype.listen=function(t){this.cb=t},Qt.prototype.onReady=function(t){this.ready?t():this.readyCbs.push(t)},Qt.prototype.transitionTo=function(t,n,e){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),n&&n(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},e)},Qt.prototype.confirmTransition=function(t,n,e){var r=this,i=this.current,o=function(){e&&e()};if(l(t,i)&&t.matched.length===i.matched.length)return this.ensureURL(),o();var a=at(this.current.matched,t.matched),u=a.updated,s=a.deactivated,c=a.activated,f=[].concat(ct(s),this.router.beforeHooks,ft(u),c.map(function(t){return t.beforeEnter}),vt(c));this.pending=t;var h=function(n,e){return r.pending!==t?o():void n(t,i,function(t){t===!1?(r.ensureURL(!0),o()):"string"==typeof t||"object"==typeof t?("object"==typeof t&&t.replace?r.replace(t):r.push(t),o()):e(t)})};it(f,h,function(){var e=[],i=function(){return r.current===t},a=ht(c,e,i);it(a,h,function(){return r.pending!==t?o():(r.pending=null,n(t),void(r.router.app&&r.router.app.$nextTick(function(){e.forEach(function(t){return t()})})))})})},Qt.prototype.updateRoute=function(t){var n=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(e){e&&e(t,n)})};var tn=function(t){function n(n,e){var r=this;t.call(this,n,e);var i=n.options.scrollBehavior;i&&Y(),window.addEventListener("popstate",function(t){r.transitionTo(mt(r.base),function(t){i&&V(n,t,r.current,!0)})})}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.go=function(t){window.history.go(t)},n.prototype.push=function(t,n,e){var r=this;this.transitionTo(t,function(t){et(x(r.base+t.fullPath)),V(r.router,t,r.current,!1),n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this;this.transitionTo(t,function(t){rt(x(r.base+t.fullPath)),V(r.router,t,r.current,!1),n&&n(t)},e)},n.prototype.ensureURL=function(t){if(mt(this.base)!==this.current.fullPath){var n=x(this.base+this.current.fullPath);t?et(n):rt(n)}},n.prototype.getCurrentLocation=function(){return mt(this.base)},n}(Qt),nn=function(t){function n(n,e,r){t.call(this,n,e),r&&xt(this.base)||bt()}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.setupListeners=function(){var t=this;window.addEventListener("hashchange",function(){bt()&&t.transitionTo(wt(),function(t){kt(t.fullPath)})})},n.prototype.push=function(t,n,e){this.transitionTo(t,function(t){Mt(t.fullPath),n&&n(t)},e)},n.prototype.replace=function(t,n,e){this.transitionTo(t,function(t){kt(t.fullPath),n&&n(t)},e)},n.prototype.go=function(t){window.history.go(t)},n.prototype.ensureURL=function(t){var n=this.current.fullPath;wt()!==n&&(t?Mt(n):kt(n))},n.prototype.getCurrentLocation=function(){return wt()},n}(Qt),en=function(t){function n(n,e){t.call(this,n,e),this.stack=[],this.index=-1}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.push=function(t,n,e){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),n&&n(t)},e)},n.prototype.go=function(t){var n=this,e=this.index+t;if(!(e<0||e>=this.stack.length)){var r=this.stack[e];this.confirmTransition(r,function(){n.index=e,n.updateRoute(r)})}},n.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},n.prototype.ensureURL=function(){},n}(Qt),rn=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.afterHooks=[],this.matcher=F(t.routes||[]);var n=t.mode||"hash";switch(this.fallback="history"===n&&!Kt,this.fallback&&(n="hash"),zt||(n="abstract"),this.mode=n,n){case"history":this.history=new tn(this,t.base);break;case"hash":this.history=new nn(this,t.base,this.fallback);break;case"abstract":this.history=new en(this,t.base)}},on={currentRoute:{}};rn.prototype.match=function(t,n,e){return this.matcher.match(t,n,e)},on.currentRoute.get=function(){return this.history&&this.history.current},rn.prototype.init=function(t){var n=this;if(this.apps.push(t),!this.app){this.app=t;var e=this.history;if(e instanceof tn)e.transitionTo(e.getCurrentLocation());else if(e instanceof nn){var r=function(){e.setupListeners()};e.transitionTo(e.getCurrentLocation(),r,r)}e.listen(function(t){n.apps.forEach(function(n){n._route=t})})}},rn.prototype.beforeEach=function(t){this.beforeHooks.push(t)},rn.prototype.afterEach=function(t){this.afterHooks.push(t)},rn.prototype.onReady=function(t){this.history.onReady(t)},rn.prototype.push=function(t,n,e){this.history.push(t,n,e)},rn.prototype.replace=function(t,n,e){this.history.replace(t,n,e)},rn.prototype.go=function(t){this.history.go(t)},rn.prototype.back=function(){this.go(-1)},rn.prototype.forward=function(){this.go(1)},rn.prototype.getMatchedComponents=function(t){var n=t?this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(t){return Object.keys(t.components).map(function(n){return t.components[n]})})):[]},rn.prototype.resolve=function(t,n,e){var r=U(t,n||this.history.current,e),i=this.match(r,n),o=i.redirectedFrom||i.fullPath,a=this.history.base,u=At(a,o,this.mode);return{location:r,route:i,href:u,normalizedTo:r,resolved:i}},rn.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Rt&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(rn.prototype,on),rn.install=g,rn.version="2.2.1",zt&&window.Vue&&window.Vue.use(rn),t.exports=rn},function(t,n){t.exports=function(t,n){for(var e=[],r={},i=0;i<n.length;i++){var o=n[i],a=o[0],u=o[1],s=o[2],c=o[3],f={id:t+":"+i,css:u,media:s,sourceMap:c};r[a]?r[a].parts.push(f):e.push(r[a]={id:a,parts:[f]})}return e}},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},,function(t,n){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],n=0;n<this.length;n++){var e=this[n];e[2]?t.push("@media "+e[2]+"{"+e[1]+"}"):t.push(e[1])}return t.join("")},t.i=function(n,e){"string"==typeof n&&(n=[[null,n,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<n.length;i++){var a=n[i];"number"==typeof a[0]&&r[a[0]]||(e&&!a[2]?a[2]=e:e&&(a[2]="("+a[2]+") and ("+e+")"),t.push(a))}},t}},function(t,n,e){function r(t){for(var n=0;n<t.length;n++){var e=t[n],r=f[e.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](e.parts[i]);for(;i<e.parts.length;i++)r.parts.push(a(e.parts[i]));r.parts.length>e.parts.length&&(r.parts.length=e.parts.length)}else{for(var o=[],i=0;i<e.parts.length;i++)o.push(a(e.parts[i]));f[e.id]={id:e.id,refs:1,parts:o}}}}function i(t,n){for(var e=[],r={},i=0;i<n.length;i++){var o=n[i],a=o[0],u=o[1],s=o[2],c=o[3],f={css:u,media:s,sourceMap:c};r[a]?(f.id=t+":"+r[a].parts.length,r[a].parts.push(f)):(f.id=t+":0",e.push(r[a]={id:a,parts:[f]}))}return e}function o(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function a(t){var n,e,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]'),i=null!=r;if(i&&d)return v;if(y){var a=p++;r=h||(h=o()),n=u.bind(null,r,a,!1),e=u.bind(null,r,a,!0)}else r=r||o(),n=s.bind(null,r),e=function(){r.parentNode.removeChild(r)};return i||n(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;n(t=r)}else e()}}function u(t,n,e,r){var i=e?"":r.css;if(t.styleSheet)t.styleSheet.cssText=g(n,i);else{var o=document.createTextNode(i),a=t.childNodes;a[n]&&t.removeChild(a[n]),a.length?t.insertBefore(o,a[n]):t.appendChild(o)}}function s(t,n){var e=n.css,r=n.media,i=n.sourceMap;if(r&&t.setAttribute("media",r),i&&(e+="\n/*# sourceURL="+i.sources[0]+" */",e+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i=e(81),f={},l=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,p=0,d=!1,v=function(){},y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,n,e){d=e;var o=i(t,n);return r(o),function(n){for(var e=[],a=0;a<o.length;a++){var u=o[a],s=f[u.id];s.refs--,e.push(s)}n?(o=i(t,n),r(o)):o=[];for(var a=0;a<e.length;a++){
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