vue-d3-sunburst
Version:
[](https://github.com/David-Desmaisons/Vue.D3.sunburst/issues) [](https://w
2 lines • 165 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-d3-sunburst"]=e():t["vue-d3-sunburst"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),a=n("2aba"),o=n("32e9"),c=n("84f2"),f=n("41a0"),u=n("7f20"),s=n("38fd"),h=n("2b4c")("iterator"),l=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",b="values",_=function(){return this};t.exports=function(t,e,n,v,y,g,m){f(n,e,v);var x,w,M,T=function(t){if(!l&&t in E)return E[t];switch(t){case p:return function(){return new n(this,t)};case b:return function(){return new n(this,t)}}return function(){return new n(this,t)}},A=e+" Iterator",N=y==b,S=!1,E=t.prototype,k=E[h]||E[d]||y&&E[y],C=k||T(y),O=y?N?T("entries"):C:void 0,j="Array"==e&&E.entries||k;if(j&&(M=s(j.call(new t)),M!==Object.prototype&&M.next&&(u(M,A,!0),r||"function"==typeof M[h]||o(M,h,_))),N&&k&&k.name!==b&&(S=!0,C=function(){return k.call(this)}),r&&!m||!l&&!S&&E[h]||o(E,h,C),c[e]=C,c[A]=_,y)if(x={values:N?C:T(b),keys:g?C:T(p),entries:O},m)for(w in x)w in E||a(E,w,x[w]);else i(i.P+i.F*(l||S),e,x);return x}},"0597":function(t,e,n){},"0a03":function(t,e,n){"use strict";var r=n("0597"),i=n.n(r);i.a},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),a=n("4bf8"),o=n("9def"),c=n("cd1c");t.exports=function(t,e){var n=1==t,f=2==t,u=3==t,s=4==t,h=6==t,l=5==t||h,d=e||c;return function(e,c,p){for(var b,_,v=a(e),y=i(v),g=r(c,p,3),m=o(y.length),x=0,w=n?d(e,m):f?d(e,0):void 0;m>x;x++)if((l||x in y)&&(b=y[x],_=g(b,x,v),t))if(n)w[x]=_;else if(_)switch(t){case 3:return!0;case 5:return b;case 6:return x;case 2:w.push(b)}else if(s)return!1;return h?-1:u||s?s:w}}},"0aad":function(t,e,n){"use strict";var r=n("c968"),i=n.n(r);i.a},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0d6d":function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),a=n("6821"),o=n("6a99"),c=n("69a8"),f=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=a(t),e=o(e,!0),f)try{return u(t,e)}catch(t){}if(c(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,o=a(e),c=o.length,f=0;while(c>f)r.f(t,n=o[f++],e[n]);return t}},"1eb2":function(t,e,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"214f":function(t,e,n){"use strict";var r=n("32e9"),i=n("2aba"),a=n("79e5"),o=n("be13"),c=n("2b4c");t.exports=function(t,e,n){var f=c(t),u=n(o,f,""[t]),s=u[0],h=u[1];a(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,s),r(RegExp.prototype,f,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}))}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),c="toString",f=Function[c],u=(""+f).split(c);n("8378").inspectSource=function(t){return f.call(t)},(t.exports=function(t,e,n,c){var f="function"==typeof n;f&&(a(n,"name")||i(n,"name",e)),t[e]!==n&&(f&&(a(n,o)||i(n,o,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,function(){return"function"==typeof this&&this[o]||f.call(this)})},"2ad6":function(t,e,n){"use strict";var r,i;(function(a,o){r=o,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i)})("undefined"!==typeof window&&window,function(){if("undefined"===typeof window)return null;var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function e(t,e){var n=Object.prototype.toString.call(t),r="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!==typeof jQuery&&t instanceof jQuery||"undefined"!==typeof Elements&&t instanceof Elements,i=0,a=t.length;if(r)for(;i<a;i++)e(t[i]);else e(t)}function n(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}var r=function(i,a){function o(){var t,e,n=[];this.add=function(t){n.push(t)},this.call=function(){for(t=0,e=n.length;t<e;t++)n[t].call()},this.remove=function(r){var i=[];for(t=0,e=n.length;t<e;t++)n[t]!==r&&i.push(n[t]);n=i},this.length=function(){return n.length}}function c(e,r){if(e)if(e.resizedAttached)e.resizedAttached.add(r);else{e.resizedAttached=new o,e.resizedAttached.add(r),e.resizeSensor=document.createElement("div"),e.resizeSensor.dir="ltr",e.resizeSensor.className="resize-sensor";var i="position: absolute; left: -10px; top: -10px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",a="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+a+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+a+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor);var c=window.getComputedStyle(e).getPropertyValue("position");"absolute"!==c&&"relative"!==c&&"fixed"!==c&&(e.style.position="relative");var f,u,s,h,l=e.resizeSensor.childNodes[0],d=l.childNodes[0],p=e.resizeSensor.childNodes[1],b=n(e),_=b.width,v=b.height,y=function(){var t=0===e.offsetWidth&&0===e.offsetHeight;if(t){var n=e.style.display;e.style.display="block"}d.style.width="100000px",d.style.height="100000px",l.scrollLeft=1e5,l.scrollTop=1e5,p.scrollLeft=1e5,p.scrollTop=1e5,t&&(e.style.display=n)};e.resizeSensor.resetSensor=y;var g=function(){u=0,f&&(_=s,v=h,e.resizedAttached&&e.resizedAttached.call())},m=function(){var r=n(e),i=r.width,a=r.height;f=i!=_||a!=v,f&&!u&&(u=t(g)),y()},x=function(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n)};x(l,"scroll",m),x(p,"scroll",m),t(y)}}e(i,function(t){c(t,a)}),this.detach=function(t){r.detach(i,t)},this.reset=function(){i.resizeSensor.resetSensor()}};return r.reset=function(t,n){e(t,function(t){t.resizeSensor.resetSensor()})},r.detach=function(t,n){e(t,function(t){t&&(t.resizedAttached&&"function"===typeof n&&(t.resizedAttached.remove(n),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))})},r})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),c=function(){},f="prototype",u=function(){var t,e=n("230e")("iframe"),r=a.length,i="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+o+"document.F=Object"+i+"/script"+o),t.close(),u=t.F;while(r--)delete u[f][a[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[f]=r(t),n=new c,c[f]=null,n[o]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,c=t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:i)("Symbol."+t))};c.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2f21":function(t,e,n){"use strict";var r=n("79e5");t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),a="includes";r(r.P+r.F*n("5147")(a),"String",{includes:function(t){return!!~i(this,t,a).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(o,{next:i(1,n)}),a(t,e+" Iterator")}},"428d":function(t,e,n){!function(e,r){t.exports=r(n("2ad6"),n("f7fe"))}(0,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/",e(0)}([function(t,e,n){var r,i,a;!function(o,c){i=[t,e,n(10),n(38),n(39),n(9),n(37)],r=c,a="function"==typeof r?r.apply(e,i):r,void 0===a||(t.exports=a)}(0,function(t,e,n,r,i){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}function o(t){if(!t)return{delay:p,initial:!1};var e=t.initial,n=void 0!==e&&e,r=(0,u.default)(t).map(function(t){return parseInt(t)}).find(function(t){return!isNaN(t)});return r=r||p,{delay:r,initial:n}}function c(t,e){var n={root:document.documentElement},r=new IntersectionObserver(function(t,n){t.forEach(function(t){t.isIntersecting&&(e(),n.disconnect())})},n);return r.observe(t),r}function f(t,e){var n=e.value,r=e.arg,i=e.options,a=function(){return n(t)};switch(r){case"debounce":a=d(function(){return n(t)},i.delay);break;case"throttle":a=d(function(){return n(t)},i.delay,{leading:!0,trailing:!0,maxWait:i.delay})}var o=new s.default(t,a);return i.initial&&n(t),o}Object.defineProperty(e,"__esModule",{value:!0});var u=a(n),s=a(r),h=a(i),l=h.default.debounce,d=void 0===l?h.default:l,p=150;e.default={inserted:function(t,e){var n=e.value,r=e.arg,i=e.modifiers;if(n&&"function"==typeof n){var a=o(i);return t.offsetParent?void f(t,{value:n,arg:r,options:a}):(a.initial=!0,void(t.__visibility__listener__=c(t,function(){return f(t,{value:n,arg:r,options:a})})))}console.warn("v-resize should received a function as value")},unbind:function(t){t.__visibility__listener__&&t.__visibility__listener__.disconnect(),t.resizeSensor&&s.default.detach(t)}},t.exports=e.default})},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(23),i=n(6);t.exports=function(t){return r(i(t))}},function(t,e,n){var r,i,a;!function(n,o){i=[],r=o,a="function"==typeof r?r.apply(e,i):r,void 0===a||(t.exports=a)}(0,function(){"use strict";Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i<n;){var a=e[i];if(t.call(r,a,i,e))return a;i++}},configurable:!0,writable:!0})})},function(t,e,n){t.exports={default:n(11),__esModule:!0}},function(t,e,n){n(36),t.exports=n(1).Object.keys},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(8),i=n(32),a=n(31);t.exports=function(t){return function(e,n,o){var c,f=r(e),u=i(f.length),s=a(o,u);if(t&&n!=n){for(;u>s;)if(c=f[s++],c!=c)return!0}else for(;u>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(12);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(5),i=n(4).document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(4),i=n(1),a=n(16),o=n(21),c="prototype",f=function(t,e,n){var u,s,h,l=t&f.F,d=t&f.G,p=t&f.S,b=t&f.P,_=t&f.B,v=t&f.W,y=d?i:i[e]||(i[e]={}),g=y[c],m=d?r:p?r[e]:(r[e]||{})[c];for(u in d&&(n=e),n)s=!l&&m&&void 0!==m[u],s&&u in y||(h=s?m[u]:n[u],y[u]=d&&"function"!=typeof m[u]?n[u]:_&&s?a(h,r):v&&m[u]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):b&&"function"==typeof h?a(Function.call,h):h,b&&((y.virtual||(y.virtual={}))[u]=h,t&f.R&&g&&!g[u]&&o(g,u,h)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(24),i=n(28);t.exports=n(2)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(2)&&!n(3)(function(){return 7!=Object.defineProperty(n(17)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(15);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(13),i=n(22),a=n(34),o=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(20),i=n(8),a=n(14)(!1),o=n(29)("IE_PROTO");t.exports=function(t,e){var n,c=i(t),f=0,u=[];for(n in c)n!=o&&r(c,n)&&u.push(n);for(;e.length>f;)r(c,n=e[f++])&&(~a(u,n)||u.push(n));return u}},function(t,e,n){var r=n(25),i=n(18);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(19),i=n(1),a=n(3);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],o={};o[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(30)("keys"),i=n(35);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(4),i="__core-js_shared__",a=r[i]||(r[i]={});t.exports=function(t){return a[t]||(a[t]={})}},function(t,e,n){var r=n(7),i=Math.max,a=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):a(t,e)}},function(t,e,n){var r=n(7),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(6);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(33),i=n(26);n(27)("keys",function(){return function(t){return i(r(t))}})},function(t,e){!function(t,e){"use strict";function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||s(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?i/n:this.isIntersecting?1:0}function r(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function i(){return t.performance&&performance.now&&performance.now()}function a(t,e){var n=null;return function(){n||(n=setTimeout(function(){t(),n=null},e))}}function o(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function c(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function f(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),i=Math.max(t.left,e.left),a=Math.min(t.right,e.right),o=a-i,c=r-n;return o>=0&&c>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:c}}function u(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):s()}function s(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,e){for(var n=e;n;){if(n==t)return!0;n=l(n)}return!1}function l(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var d=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){var e=this._observationTargets.some(function(e){return e.element==t});if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},r.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(t,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,c(t,"resize",this._checkForIntersections,!0),c(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():s();this._observationTargets.forEach(function(r){var a=r.element,o=u(a),c=this._rootContainsTarget(a),f=r.entry,s=t&&c&&this._computeTargetAndRootIntersection(a,e),h=r.entry=new n({time:i(),target:a,boundingClientRect:o,rootBounds:e,intersectionRect:s});f?t&&c?this._hasCrossedThreshold(f,h)&&this._queuedEntries.push(h):f&&f.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=t.getComputedStyle(n).display){for(var i=u(n),a=i,o=l(n),c=!1;!c;){var s=null,h=1==o.nodeType?t.getComputedStyle(o):{};if("none"==h.display)return;if(o==this.root||o==e?(c=!0,s=r):o!=e.body&&o!=e.documentElement&&"visible"!=h.overflow&&(s=u(o)),s&&(a=f(s,a),!a))break;o=l(o)}return a}},r.prototype._getRootRect=function(){var t;if(this.root)t=u(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==n||a==r||a<n!=a<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},r.prototype._rootContainsTarget=function(t){return h(this.root||e,t)},r.prototype._registerInstance=function(){d.indexOf(this)<0&&d.push(this)},r.prototype._unregisterInstance=function(){var t=d.indexOf(this);-1!=t&&d.splice(t,1)},t.IntersectionObserver=r,t.IntersectionObserverEntry=n}}(window,document)},function(e,n){e.exports=t},function(t,n){t.exports=e}])})},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(t){return i(r(t))}})},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),i=n("7726"),a="__core-js_shared__",o=i[a]||(i[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"55dd":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),a=n("4bf8"),o=n("79e5"),c=[].sort,f=[1,2,3];r(r.P+r.F*(o(function(){f.sort(void 0)})||!o(function(){f.sort(null)})||!n("2f21")(c)),"Array",{sort:function(t){return void 0===t?c.call(a(this)):c.call(a(this),i(t))}})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),a=n("32e9"),o=n("2aba"),c=n("9b43"),f="prototype",u=function(t,e,n){var s,h,l,d,p=t&u.F,b=t&u.G,_=t&u.S,v=t&u.P,y=t&u.B,g=b?r:_?r[e]||(r[e]={}):(r[e]||{})[f],m=b?i:i[e]||(i[e]={}),x=m[f]||(m[f]={});for(s in b&&(n=e),n)h=!p&&g&&void 0!==g[s],l=(h?g:n)[s],d=y&&h?c(l,r):v&&"function"==typeof l?c(Function.call,l):l,g&&o(g,s,l,t&u.U),m[s]!=l&&a(m,s,d),v&&x[s]!=l&&(x[s]=l)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var a,o=e.constructor;return o!==n&&"function"==typeof o&&(a=o.prototype)!==n.prototype&&r(a)&&i&&i(t,a),t}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),a=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],o={};o[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6281:function(t,e,n){"use strict";var r=n("6703"),i=n.n(r);i.a},6703:function(t,e,n){},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(t,e,n){var r=n("ca5a")("meta"),i=n("d3f4"),a=n("69a8"),o=n("86cc").f,c=0,f=Object.isExtensible||function(){return!0},u=!n("79e5")(function(){return f(Object.preventExtensions({}))}),s=function(t){o(t,r,{value:{i:"O"+ ++c,w:{}}})},h=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!f(t))return"F";if(!e)return"E";s(t)}return t[r].i},l=function(t,e){if(!a(t,r)){if(!f(t))return!0;if(!e)return!1;s(t)}return t[r].w},d=function(t){return u&&p.NEED&&f(t)&&!a(t,r)&&s(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:h,getWeak:l,onFreeze:d}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,a=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):a(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in i||n("9e1e")&&r(i,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86a9":function(t,e,n){"use strict";var r=n("8a90"),i=n.n(r);i.a},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8a90":function(t,e,n){},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),a=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(t,e,n){n("214f")("replace",2,function(t,e,n){return[function(r,i){"use strict";var a=t(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,a,i):n.call(String(a),r,i)},n]})},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),a=n("79e5"),o=n("fdef"),c="["+o+"]",f="
",u=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),h=function(t,e,n){var i={},c=a(function(){return!!o[t]()||f[t]()!=f}),u=i[t]=c?e(l):o[t];n&&(i[n]=u),r(r.P+r.F*c,"String",i)},l=h.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(s,"")),t};t.exports=h},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),a=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==i(t))}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),a=n("2aba"),o=n("7726"),c=n("32e9"),f=n("84f2"),u=n("2b4c"),s=u("iterator"),h=u("toStringTag"),l=f.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),b=0;b<p.length;b++){var _,v=p[b],y=d[v],g=o[v],m=g&&g.prototype;if(m&&(m[s]||c(m,s,l),m[h]||c(m,h,v),f[v]=l,y))for(_ in r)m[_]||a(m,_,r[_],!0)}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),a=n("77f1");t.exports=function(t){return function(e,n,o){var c,f=r(e),u=i(f.length),s=a(o,u);if(t&&n!=n){while(u>s)if(c=f[s++],c!=c)return!0}else for(;u>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),a=n("2d95"),o=n("5dbc"),c=n("6a99"),f=n("79e5"),u=n("9093").f,s=n("11e9").f,h=n("86cc").f,l=n("aa77").trim,d="Number",p=r[d],b=p,_=p.prototype,v=a(n("2aeb")(_))==d,y="trim"in String.prototype,g=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():l(e,3);var n,r,i,a=e.charCodeAt(0);if(43===a||45===a){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var o,f=e.slice(2),u=0,s=f.length;u<s;u++)if(o=f.charCodeAt(u),o<48||o>i)return NaN;return parseInt(f,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(v?f(function(){_.valueOf.call(n)}):a(n)!=d)?o(new b(g(e)),n,p):g(e)};for(var m,x=n("9e1e")?u(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;x.length>w;w++)i(b,m=x[w])&&!i(p,m)&&h(p,m,s(b,m));p.prototype=_,_.constructor=p,n("2aba")(r,d,p)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(n=window)}t.exports=n},c968:function(t,e,n){},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),a=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,c=i(t),f=0,u=[];for(n in c)n!=o&&r(c,n)&&u.push(n);while(e.length>f)r(c,n=e[f++])&&(~a(u,n)||u.push(n));return u}},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),a=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}},f7fe:function(t,e,n){(function(e){var n="Expected a function",r=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof e&&e&&e.Object===Object&&e,h="object"==typeof self&&self&&self.Object===Object&&self,l=s||h||Function("return this")(),d=Object.prototype,p=d.toString,b=Math.max,_=Math.min,v=function(){return l.Date.now()};function y(t,e,r){var i,a,o,c,f,u,s=0,h=!1,l=!1,d=!0;if("function"!=typeof t)throw new TypeError(n);function p(e){var n=i,r=a;return i=a=void 0,s=e,c=t.apply(r,n),c}function y(t){return s=t,f=setTimeout(M,e),h?p(t):c}function m(t){var n=t-u,r=t-s,i=e-n;return l?_(i,o-r):i}function x(t){var n=t-u,r=t-s;return void 0===u||n>=e||n<0||l&&r>=o}function M(){var t=v();if(x(t))return T(t);f=setTimeout(M,m(t))}function T(t){return f=void 0,d&&i?p(t):(i=a=void 0,c)}function A(){void 0!==f&&clearTimeout(f),s=0,i=u=a=f=void 0}function N(){return void 0===f?c:T(v())}function S(){var t=v(),n=x(t);if(i=arguments,a=this,u=t,n){if(void 0===f)return y(u);if(l)return f=setTimeout(M,e),p(u)}return void 0===f&&(f=setTimeout(M,e)),c}return e=w(e)||0,g(r)&&(h=!!r.leading,l="maxWait"in r,o=l?b(w(r.maxWait)||0,e):o,d="trailing"in r?!!r.trailing:d),S.cancel=A,S.flush=N,S}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function m(t){return!!t&&"object"==typeof t}function x(t){return"symbol"==typeof t||m(t)&&p.call(t)==i}function w(t){if("number"==typeof t)return t;if(x(t))return r;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||f.test(t)?u(t.slice(2),n?2:8):o.test(t)?r:+t}t.exports=y}).call(this,n("c8ba"))},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fae3:function(t,e,n){"use strict";n.r(e);n("1eb2");var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"graph"},[t._t("legend",null,{width:t.width,colorGetter:t.colorGetter,nodes:t.graphNodes,actions:t.actions}),n("div",{directives:[{name:"resize",rawName:"v-resize.throttle.250",value:t.resize,expression:"resize",modifiers:{250:!0,throttle:!0}}],staticClass:"viewport"},[n("div",{staticClass:"pop-up-tree",style:t.popUpStyle},[t.popUpNode?t._t("pop-up",null,{node:t.popUpNode,data:t.popUpNode.data,actions:t.actions}):t._e()],2),t._t("top",null,{colorGetter:t.colorGetter,nodes:t.graphNodes,actions:t.actions}),t._t("default",null,{on:t.on,actions:t.actions})],2)],2)},i=[];n("6762"),n("2fdb");function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function o(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function f(t){return a(t)||o(t)||c()}n("0d6d"),n("55dd");function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){u(t,e,n[e])})}return t}function h(t){if(Array.isArray(t))return t}function l(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=t[Symbol.iterator]();!(r=(o=c.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(t){i=!0,a=t}finally{try{r||null==c["return"]||c["return"]()}finally{if(i)throw a}}return n}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function p(t,e){return h(t)||l(t,e)||d()}n("c5f6"),n("ac6a"),n("cadf"),n("456d"),n("7f7f");var b=n("428d"),_=n.n(b),v="http://www.w3.org/1999/xhtml",y={svg:"http://www.w3.org/2000/svg",xhtml:v,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},g=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),y.hasOwnProperty(e)?{space:y[e],local:t}:t};function m(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===v&&e.documentElement.namespaceURI===v?e.createElement(t):e.createElementNS(n,t)}}function x(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var w=function(t){var e=g(t);return(e.local?x:m)(e)};function M(){}var T=function(t){return null==t?M:function(){return this.querySelector(t)}},A=function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o,c=e[i],f=c.length,u=r[i]=new Array(f),s=0;s<f;++s)(a=c[s])&&(o=t.call(a,a.__data__,s,c))&&("__data__"in a&&(o.__data__=a.__data__),u[s]=o);return new oe(r,this._parents)};function N(){return[]}var S=function(t){return null==t?N:function(){return this.querySelectorAll(t)}},E=function(t){"function"!==typeof t&&(t=S(t));for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var o,c=e[a],f=c.length,u=0;u<f;++u)(o=c[u])&&(r.push(t.call(o,o.__data__,u,c)),i.push(o));return new oe(r,i)},k=function(t){return function(){return this.matches(t)}};if("undefined"!==typeof document){var C=document.documentElement;if(!C.matches){var O=C.webkitMatchesSelector||C.msMatchesSelector||C.mozMatchesSelector||C.oMatchesSelector;k=function(t){return function(){return O.call(this,t)}}}}var j=k,I=function(t){"function"!==typeof t&&(t=j(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],c=o.length,f=r[i]=[],u=0;u<c;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&f.push(a);return new oe(r,this._parents)},P=function(t){return new Array(t.length)},z=function(){return new oe(this._enter||this._groups.map(P),this._parents)};function D(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}D.prototype={constructor:D,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var F=function(t){return function(){return t}},L="$";function U(t,e,n,r,i,a){for(var o,c=0,f=e.length,u=a.length;c<u;++c)(o=e[c])?(o.__data__=a[c],r[c]=o):n[c]=new D(t,a[c]);for(;c<f;++c)(o=e[c])&&(i[c]=o)}function R(t,e,n,r,i,a,o){var c,f,u,s={},h=e.length,l=a.length,d=new Array(h);for(c=0;c<h;++c)(f=e[c])&&(d[c]=u=L+o.call(f,f.__data__,c,e),u in s?i[c]=f:s[u]=f);for(c=0;c<l;++c)u=L+o.call(t,a[c],c,a),(f=s[u])?(r[c]=f,f.__data__=a[c],s[u]=null):n[c]=new D(t,a[c]);for(c=0;c<h;++c)(f=e[c])&&s[d[c]]===f&&(i[c]=f)}var q=function(t,e){if(!t)return d=new Array(this.size()),u=-1,this.each(function(t){d[++u]=t}),d;var n=e?R:U,r=this._parents,i=this._groups;"function"!==typeof t&&(t=F(t));for(var a=i.length,o=new Array(a),c=new Array(a),f=new Array(a),u=0;u<a;++u){var s=r[u],h=i[u],l=h.length,d=t.call(s,s&&s.__data__,u,r),p=d.length,b=c[u]=new Array(p),_=o[u]=new Array(p),v=f[u]=new Array(l);n(s,h,b,_,v,d,e);for(var y,g,m=0,x=0;m<p;++m)if(y=b[m]){m>=x&&(x=m+1);while(!(g=_[x])&&++x<p);y._next=g||null}}return o=new oe(o,r),o._enter=c,o._exit=f,o},H=function(){return new oe(this._exit||this._groups.map(P),this._parents)},Y=function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),c=0;c<a;++c)for(var f,u=e[c],s=n[c],h=u.length,l=o[c]=new Array(h),d=0;d<h;++d)(f=u[d]||s[d])&&(l[d]=f);for(;c<r;++c)o[c]=e[c];return new oe(o,this._parents)},V=function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this},$=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=W);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,c=n[a],f=c.length,u=i[a]=new Array(f),s=0;s<f;++s)(o=c[s])&&(u[s]=o);u.sort(e)}return new oe(i,this._parents).order()};function W(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var B=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},X=function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},G=function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},Z=function(){var t=0;return this.each(function(){++t}),t},Q=function(){return!this.node()},J=function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,c=a.length;o<c;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this};function K(t){return function(){this.removeAttribute(t)}}function tt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function et(t,e){return function(){this.setAttribute(t,e)}}function nt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function rt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function it(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var at=function(t,e){var n=g(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?tt:K:"function"===typeof e?n.local?it:rt:n.local?nt:et)(n,e))},ot=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function ct(t){return function(){this.style.removeProperty(t)}}function ft(t,e,n){return function(){this.style.setProperty(t,e,n)}}function ut(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}var st=function(t,e,n){return arguments.length>1?this.each((null==e?ct:"function"===typeof e?ut:ft)(t,e,null==n?"":n)):ht(this.node(),t)};function ht(t,e){return t.style.getPropertyValue(e)||ot(t).getComputedStyle(t,null).getPropertyValue(e)}function lt(t){return function(){delete this[t]}}function dt(t,e){return function(){this[t]=e}}function pt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}var bt=function(t,e){return arguments.length>1?this.each((null==e?lt:"function"===typeof e?pt:dt)(t,e)):this.node()[t]};function _t(t){return t.trim().split(/^|\s+/)}function vt(t){return t.classList||new yt(t)}function yt(t){this._node=t,this._names=_t(t.getAttribute("class")||"")}function gt(t,e){var n=vt(t),r=-1,i=e.length;while(++r<i)n.add(e[r])}function mt(t,e){var n=vt(t),r=-1,i=e.length;while(++r<i)n.remove(e[r])}function xt(t){return function(){gt(this,t)}}function wt(t){return function(){mt(this,t)}}function Mt(t,e){return function(){(e.apply(this,arguments)?gt:mt)(this,t)}}yt.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Tt=function(t,e){var n=_t(t+"");if(arguments.length<2){var r=vt(this.node()),i=-1,a=n.length;while(++i<a)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof e?Mt:e?xt:wt)(n,e))};function At(){this.textContent=""}function Nt(t){return function(){this.textContent=t}}function St(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}var Et=function(t){return arguments.length?this.each(null==t?At:("function"===typeof t?St:Nt)(t)):this.node().textContent};function kt(){this.innerHTML=""}function Ct(t){return function(){this.innerHTML=t}}function Ot(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}var jt=function(t){return arguments.length?this.each(null==t?kt:("function"===typeof t?Ot:Ct)(t)):this.node().innerHTML};function It(){this.nextSibling&&this.parentNode.appendChild(this)}var Pt=function(){return this.each(It)};function zt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var Dt=function(){return this.each(zt)},Ft=function(t){var e="function"===typeof t?t:w(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})};function Lt(){return null}var Ut=function(t,e){var n="function"===typeof t?t:w(t),r=null==e?Lt:"function"===typeof e?e:T(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})};function Rt(){var t=this.parentNode;t&&t.removeChild(this)}var qt=function(){return this.each(Rt)};function Ht(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function Yt(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var Vt=function(t){return this.select(t?Yt:Ht)},$t=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},Wt={},Bt=null;if("undefined"!==typeof document){var Xt=document.documentElement;"onmouseenter"in Xt||(Wt={mouseenter:"mouseover",mouseleave:"mouseout"})}function Gt(t,e,n){return t=Zt(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function Zt(t,e,n){return function(r){var i=Bt;Bt=r;try{t.call(this,this.__data__,e,n)}finally{Bt=i}}}function Qt(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function Jt(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function Kt(t,e,n){var r=Wt.hasOwnProperty(t.type)?Gt:Zt;return function(i,a,o){var c,f=this.__on,u=r(e,a,o);if(f)for(var s=0,h=f.length;s<h;++s)if((c=f[s]).type===t.type&&c.name===t.name)return this.removeEventListener(c.type,c.listener,c.capture),this.addEventListener(c.type,c.listener=u,c.capture=n),void(c.value=e);this.addEventListener(t.type,u,n),c={type:t.type,name:t.name,value:e,listener:u,capture:n},f?f.push(c):this.__on=[c]}}var te=function(t,e,n){var r,i,a=Qt(t+""),o=a.length;if(!(arguments.length<2)){for(c=e?Kt:Jt,null==n&&(n=!1),r=0;r<o;++r)this.each(c(a[r],e,n));return this}var c=this.node().__on;if(c)for(var f,u=0,s=c.length;u<s;++u)for(r=0,f=c[u];r<o;++r)if((i=a[r]).type===f.type&&i.name===f.name)return f.value};function ee(t,e,n){var r=ot(t),i=r.CustomEvent;"function"===typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function ne(t,e){return function(){return ee(this,t,e)}}function re(t,e){return function(){return ee(this,t,e.apply(this,arguments))}}var ie=function(t,e){return this.each(("function"===typeof e?re:ne)(t,e))},ae=[null];function oe(t,e){this._groups=t,this._parents=e}function ce(){return new oe([[document.documentElement]],ae)}oe.prototype=ce.prototype={constructor:oe,select:A,selectAll:E,filter:I,data:q,enter:z,exit:H,merge:Y,order:V,sort:$,call:B,nodes:X,node:G,size:Z,empty:Q,each:J,attr:at,style:st,property:bt,classed:Tt,text:Et,html:jt,raise:Pt,lower:Dt,append:Ft,insert:Ut,remove:qt,clone:Vt,datum:$t,on:te,dispatch:ie};var fe=ce,ue=function(t){return"string"===typeof t?new oe([[document.querySelector(t)]],[document.documentElement]):new oe([[t]],ae)},se=0;function he(){return new le}function le(){this._="@"+(++se).toString(36)}le.prototype=he.prototype={constructor:le,get:function(t){var e=this._;while(!(e in t))if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var de=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},pe=function(t){return 1===t.length&&(t=be(t)),{left:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);while(r<i){var a=r+i>>>1;t(e[a],n)<0?r=a+1:i=a}return r},right:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);while(r<i){var a=r+i>>>1;t(e[a],n)>0?i=a:r=a+1}return r}}};function be(t){return function(e,n){return de(t(e),n)}}var _e=pe(de),ve=_e.right,ye=(_e.left,ve);var ge=Array.prototype,me=(ge.slice,ge.map,Math.sqrt(50)),xe=Math.sqrt(10),we=Math.sqrt(2),Me=function(t,e,n){var r,i,a,o,c=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(o=Te(t,e,n))||!isFinite(o))return[];if(o>0){t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));while(++c<i)a[c]=(t+c)*o}else{t=Math.floor(t*o),e=Math.ceil(e*o),a=new Array(i=Math.ceil(t-e+1));while(++c<i)a[c]=(t-c)/o}return r&&a.reverse(),a};function Te(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=me?10:a>=xe?5:a>=we?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=me?10:a>=xe?5:a>=we?2:1)}function Ae(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=me?i*=10:a>=xe?i*=5:a>=we&&(i*=2),e<t?-i:i}var Ne="$";function Se(){}function Ee(t,e){var n=new Se;if(t instanceof Se)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,a=t.length;if(null==e)while(++i<a)n.set(i,t[i]);else while(++i<a)n.set(e(r=t[i],i,t),r)}else if(t)for(var o in t)n.set(o,t[o]);return n}Se.prototype=Ee.prototype={constructor:Se,has:function(t){return Ne+t in this},get:function(t){return this[Ne+t]},set:function(t,e){return this[Ne+t]=e,this},remove:function(t){var e=Ne+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===Ne&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===Ne&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===Ne&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===Ne&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===Ne&&++t;return t},empty:function(){for(var t in this)if(t[0]===Ne)return!1;return!0},each:function(t){for(var e in this)e[0]===Ne&&t(this[e],e.slice(1),this)}};var ke=Ee;function Ce(){}var Oe=ke.prototype;function je(t,e){var n=new Ce;if(t instanceof Ce)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)while(++r<i)n.add(t[r]);else while(++r<i)n.add(e(t[r],r,t))}return n}Ce.prototype=je.prototype={constructor:Ce,has:Oe.has,add:function(t){return t+="",this[Ne+t]=t,this},remove:Oe.remove,clear:Oe.clear,values:Oe.keys,size:Oe.size,empty:Oe.empty,each:Oe.each};var Ie=Array.prototype,Pe=Ie.map,ze=Ie.slice,De={name:"implicit"};function Fe(t){var e=ke(),n=[],r=De;function i(i){var a=i+"",o=e.get(a);if(!o){if(r!==De)return r;e.set(a,o=n.push(i))}return t[(o-1)%t.length]}return t=null==t?[]:ze.call(t),i.domain=function(t){if(!arguments.length)return n.slice();n=[],e=ke();var r,a,o=-1,c=t.length;while(++o<c)e.has(a=(r=t[o])+"")||e.set(a,n.push(r));return i},i.range=function(e){return arguments.length?(t=ze.call(e),i):t.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Fe().domain(n).range(t).unknown(r)},i}var Le=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function Ue(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Re(){}var qe=.7,He=1/qe,Ye="\\s*([+-]?\\d+)\\s*",Ve="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",$e="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",We=/^#([0-9a-f]{3})$/,Be=/^#([0-9a-f]{6})$/,Xe=new RegExp("^rgb\\("+[Ye,Ye,Ye]+"\\)$"),Ge=new RegExp("^rgb\\("+[$e,$e,$e]+"\\)$"),Ze=new RegExp("^rgba\\("+[Ye,Ye,Ye,Ve]+"\\)$"),Qe=new RegExp("^rgba\\("+[$e,$e,$e,Ve]+"\\)$"),Je=new RegExp("^hsl\\("+[Ve,$e,$e]+"\\)$"),Ke=new RegExp("^hsla\\("+[Ve,$e,$e,Ve]+"\\)$"),tn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function en(t){var e;return t=(t+"").trim().toLowerCase(),(e=We.exec(t))?(e=parseInt(e[1],16),new cn(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=Be.exec(t))?nn(parseInt(e[1],16)):(e=Xe.exec(t))?new cn(e[1],e[2],e[3],1):(e=Ge.exec(t))?new cn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ze.exec(t))?rn(e[1],e[2],e[3],e[4]):(e=Qe.exec(t))?rn(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Je.exec(t))?un(e[1],e[2]/100,e[3]/100,1):(e=Ke.exec(t))?un(e[1],e[2]/100,e[3]/100,e[4]):tn.hasOwnProperty(t)?nn(tn[t]):"transparent"===t?new cn(NaN,NaN,NaN,0):null}function nn(t){return new cn(t>>16&255,t>>8&255,255&t,1)}function rn(t,e,n,r){return r<=0&&(t=e=n=NaN),new cn(t,e,n,r)}function an(t){return t instanceof Re||(t=en(t)),t?(t=t.rgb(),new cn(t.r,t.g,t.b,t.opacity)):new cn}function on(t,e,n,r){return 1===arguments.length?an(t):new cn(t,e,n,null==r?1:r)}function cn(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function fn(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function un(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ln(t,e,n,r)}function sn(t){if(t instanceof ln)return new ln(t.h,t.s,t.l,t.opacity);if(t instanceof Re||(t=en(t)),!t)return new ln;if(t instanceof ln)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,c=a-i,f=(a+i)/2;return c?(o=e===a?(n-r)/c+6*(n<r):n===a?(r-e)/c+2:(e-n)/c+4,c/=f<.5?a+i:2-a-i,o*=60):c=f>0&&f<1?0:o,new ln(o,c,f,t.opacity)}function hn(t,e,n,r){return 1===arguments.length?sn(t):new ln(t,e,n,null==r?1:r)}function ln(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function dn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Le(Re,en,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Le(cn,on,Ue(Re,{brighter:function(t){return t=null==t?He:Math.pow(He,t),new cn(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?qe:Math.pow(qe,t),new cn(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},hex:function(){return"#"+fn(this.r)+fn(this.g)+fn(this.b)},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+")")}})),Le(ln,hn,Ue(Re,{brighter:function(t){return t=null==t?He:Math.pow(He,t),new ln(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?qe:Math.pow(qe,t),new ln(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new cn(dn(t>=240?t-240:t+120,i,r),dn(t,i,r),dn(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 pn=Math.PI/180,bn=180/Math.PI,_n=18,vn=.96422,yn=1,gn=.82521,mn=4/29,xn=6/29,wn=3*xn*xn,Mn=xn*xn*xn;function Tn(t){if(t instanceof Nn)return new Nn(t.l,t.a,t.b,t.opacity);if(t instanceof In){if(isNaN(t.h))return new Nn(t.l,0,0,t.opacity);var e=t.h*pn;return new Nn(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof cn||(t=an(t));var n,r,i=Cn(t.r),a=Cn(t.g),o=Cn(t.b),c=Sn((.2225045*i+.7168786*a+.0606169*o)/yn);return i===a&&a===o?n=r=c:(n=Sn((.4360747*i+.3850649*a+.1430804*o)/vn),r=Sn((.0139322*i+.0971045*a+.7141733*o)/gn)),new Nn(116*c-16,500*(n-c),200*(c-r),t.opacity)}function An(t,e,n,r){return 1===arguments.length?Tn(t):new Nn(t,e,n,null==r?1:r)}function Nn(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Sn(t){return t>Mn?Math.pow(t,1/3):t/wn+mn}function En(t){return t>xn?t*t*t:wn*(t-mn)}function kn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Cn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function On(t){if(t instanceof In)return new In(t.h,t.c,t.l,t.opacity);if(t instanceof Nn||(t=Tn(t)),0===t.a&&0===t.b)return new In(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*bn;return new In(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function jn(t,e,n,r){return 1===arguments.length?On(t):new In(t,e,n,null==r?1:r)}function In(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}Le(Nn,An,Ue(Re,{brighter:function(t){return new Nn(this.l+_n*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Nn(this.l-_n*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=vn*En(e),t=yn*En(t),n=gn*En(n),new cn(kn(3.1338561*e-1.6168667*t-.4906146*n),kn(-.9787684*e+1.9161415*t+.033454*n),kn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Le(In,jn,Ue(Re,{brighter:function(t){return new In(this.h,this.c,this.l+_n*(null==t?1:t),this.opacity)},darker:function(t){return new In(this.h,this.c,this.l-_n*(null==t?1:t),this.opacity)},rgb:function(){return Tn(this).rgb()}}));var Pn=-.14861,zn=1.78277,Dn=-.29227,Fn=-.90649,Ln=1.97294,Un=Ln*Fn,Rn=Ln*zn,qn=zn*Dn-Fn*Pn;function Hn(t){if(t instanceof Vn)return new Vn(t.h,t.s,t.l,t.opacity);t instanceof cn||(t=an(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(qn*r+Un*e-Rn*n)/(qn+Un-Rn),a=r-i,o=(Ln*(n-i)-Dn*a)/Fn,c=Math.sqrt(o*o+a*a)/(Ln*i*(1-i)),f=c?Math.atan2(o,a)*bn-120:NaN;return new Vn(f<0?f+360:f,c,i,t.opacity)}function Yn(t,e,n,r){return 1===arguments.length?Hn(t):new Vn(t,e,n,null==r?1:r)}function Vn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function $n(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}Le(Vn,Yn,Ue(Re,{brighter:function(t){return t=null==t?He:Math.pow(He,t),new Vn(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?qe:Math.pow(qe,t),new Vn(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*pn,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new cn(255*(e+n*(Pn*r+zn*i)),255*(e+n*(Dn*r+Fn*i)),255*(e+n*(Ln*r)),this.opacity)}}));var Wn=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,c=r<e-1?t[r+2]:2*a-i;return $n((n-r/e)*e,o,i,a,c)}},Bn=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],c=t[(r+2)%e];return $n((n-r/e)*e,i,a,o,c)}},Xn=function(t){return function(){return t}};function Gn(t,e){return function(n){return t+n*e}}function Zn(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function Qn(t,e){var n=e-t;return n?Gn(t,n>180||n<-180?n-360*Math.round(n/360):n):Xn(isNaN(t)?e:t)}function Jn(t){return 1===(t=+t)?Kn:function(e,n){return n-e?Zn(e,n,t):Xn(isNaN(e)?n:e)}}function Kn(t,e){var n=e-t;return n?Gn(t,n):Xn(isNaN(t)?e:t)}var tr=function t(e){var n=Jn(e);function r(t,e){var r=n((t=on(t)).r,(e=on(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=Kn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);function er(t){return function(e){var n,r,i=e.length,a=new Array(i),o=new Array(i),c=new Array(i);for(n=0;n<i;++n)r=on(e[n]),a[n]=r.r||0,o[n]=r.g||0,c[n]=r.b||0;return a=t(a),o=t(o),c=t(c),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=c(t),r+""}}}var nr=er(Wn),rr=(er(Bn),function(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=_r(t[n],e[n]);for(;n<r;++n)o[n]=e[n];return function(t){for(n=0;n<i;++n)o[n]=a[n](t);return o}}),ir=function(t,e){var n=new Date;return t=+t,e-=t,function(r){return n.setTime(t+e*r),n}},ar=function(t,e){return t=+t,e-=t,function(n){return t+e*n}},or=function(t,e){var n,r={},i={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?r[n]=_r(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},cr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,fr=new RegExp(cr.source,"g");function ur(t){return function(){return t}}function sr(t){return function(e){return t(e)+""}}var hr,lr,dr,pr,br=function(t,e){var n,r,i,a=cr.lastIndex=fr.lastIndex=0,o=-1,c=[],f=[];t+="",e+="";while((n=cr.exec(t))&&(r=fr.exec(e)))(i=r.index)>a&&(i=e.slice(a,i),c[o]?c[o]+=i:c[++o]=i),(n=n[0])===(r=r[0])?c[o]?c[o]+=r:c[++o]=r:(c[++o]=null,f.push({i:o,x:ar(n,r)})),a=fr.lastIndex;return a<e.length&&(i=e.slice(a),c[o]?c[o]+=i:c[++o]=i),c.length<2?f[0]?sr(f[0].x):ur(e):(e=f.length,function(t){for(var n,r=0;r<e;++r)c[(n=f[r]).i]=n.x(t);return c.join("")})},_r=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?Xn(e):("number"===r?ar:"string"===r?(n=en(e))?(e=n,tr):br:e instanceof en?tr:e instanceof Date?ir:Array.isArray(e)?rr:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?or:ar)(t,e)},vr=function(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}},yr=180/Math.PI,gr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},mr=function(t,e,n,r,i,a){var o,c,f;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(f=t*n+e*r)&&(n-=t*f,r-=e*f),(c=Math.sqrt(n*n+r*r))&&(n/=c,r/=c,f/=c),t*r<e*n&&(t=-t,e=-e,f=-f,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*yr,skewX:Math.atan(f)*yr,scaleX:o,scaleY:c}};function xr(t){return"none"===t?gr:(hr||(hr=document.createElement("DIV"),lr=document.documentElement,dr=document.defaultView),hr.style.transform=t,t=dr.getComputedStyle(lr.appendChild(hr),null).getPropertyValue("transform"),lr.removeChild(hr),t=t.slice(7,-1).split(","),mr(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function wr(t){return null==t?gr:(pr||(pr=document.createElementNS("http://www.w3.org/2000/svg","g")),pr.setAttribute("transform",t),(t=pr.transform.baseVal.consolidate())?(t=t.matrix,mr(t.a,t.b,t.c,t.d,t.e,t.f)):gr)}function Mr(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function a(t,r,i,a,o,c){if(t!==i||r!==a){var f=o.push("translate(",null,e,null,n);c.push({i:f-4,x:ar(t,i)},{i:f-2,x:ar(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}function o(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:ar(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function c(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:ar(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function f(t,e,n,r,a,o){if(t!==n||e!==r){var c=a.push(i(a)+"scale(",null,",",null,")");o.push({i:c-4,x:ar(t,n)},{i:c-2,x:ar(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),a(e.translateX,e.translateY,n.translateX,n.translateY,r,i),o(e.rotate,n.rotate,r,i),c(e.skewX,n.skewX,r,i),f(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){var e,n=-1,a=i.length;while(++n<a)r[(e=i[n]).i]=e.x(t);return r.join("")}}}var Tr=Mr(xr,"px, ","px)","deg)"),Ar=Mr(wr,", ",")",")");Math.SQRT2;function Nr(t){return function(e,n){var r=t((e=hn(e)).h,(n=hn(n)).h),i=Kn(e.s,n.s),a=Kn(e.l,n.l),o=Kn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=a(t),e.opacity=o(t),e+""}}}Nr(Qn),Nr(Kn);function Sr(t){return function(e,n){var r=t((e=jn(e)).h,(n=jn(n)).h),i=Kn(e.c,n.c),a=Kn(e.l,n.l),o=Kn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}Sr(Qn),Sr(Kn);function Er(t){return function e(n){function r(e,r){var i=t((e=Yn(e)).h,(r=Yn(r)).h),a=Kn(e.s,r.s),o=Kn(e.l,r.l),c=Kn(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=c(t),e+""}}return n=+n,r.gamma=e,r}(1)}Er(Qn);var kr=Er(Kn);var Cr=function(t){return function(){return t}},Or=function(t){return+t},jr=[0,1];function Ir(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Cr(e)}function Pr(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}function zr(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}function Dr(t,e,n,r){var i=t[0],a=t[1],o=e[0],c=e[1];return a<i?(i=n(a,i),o=r(c,o)):(i=n(i,a),o=r(o,c)),function(t){return o(i(t))}}function Fr(t,e,n,r){var i=Math.min(t.length,e.length)-1,a=new Array(i),o=new Array(i),c=-1;t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());while(++c<i)a[c]=n(t[c],t[c+1]),o[c]=r(e[c],e[c+1]);return function(e){var n=ye(t,e,1,i)-1;return o[n](a[n](e))}}function Lr(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Ur(t,e){var n,r,i,a=jr,o=jr,c=_r,f=!1;function u(){return n=Math.min(a.length,o.length)>2?Fr:Dr,r=i=null,s}function s(e){return(r||(r=n(a,o,f?Pr(t):t,c)))(+e)}return s.invert=function(t){return(i||(i=n(o,a,Ir,f?zr(e):e)))(+t)},s.domain=function(t){return arguments.length?(a=Pe.call(t,Or),u()):a.slice()},s.range=function(t){return arguments.length?(o=ze.call(t),u()):o.slice()},s.rangeRound=function(t){return o=ze.call(t),c=vr,u()},s.clamp=function(t){return arguments.length?(f=!!t,u()):f},s.interpolate=function(t){return arguments.length?(c=t,u()):c},u()}var Rr=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]},qr=function(t){return t=Rr(Math.abs(t)),t?t[1]:NaN},Hr=function(t,e){return function(n,r){var i=n.length,a=[],o=0,c=t[0],f=0;while(i>0&&c>0){if(f+c+1>r&&(c=Math.max(1,r-f)),a.push(n.substring(i-=c,i+c)),(f+=c+1)>r)break;c=t[o=(o+1)%t.length]}return a.reverse().join(e)}},Yr=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}},Vr=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function $r(t){return new Wr(t)}function Wr(t){if(!(e=Vr.exec(t)))throw new Error("invalid format: "+t);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}$r.prototype=Wr.prototype,Wr.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.trim?"~":"")+this.type};var Br,Xr,Gr,Zr,Qr=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(i>0){if(!+t[r])break t;i=0}break}return i>0?t.slice(0,i)+t.slice(e+1):t},Jr=function(t,e){var n=Rr(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(Br=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Rr(t,Math.max(0,e+a-1))[0]},Kr=function(t,e){var n=Rr(t,e);if(!n)return t+"";var r=n[0],i=n[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")},ti={"%":function(t,e){return(100*t).toFixed(e)},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,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Kr(100*t,e)},r:Kr,s:Jr,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},ei=function(t){return t},ni=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],ri=function(t){var e=t.grouping&&t.thousands?Hr(t.grouping,t.thousands):ei,n=t.currency,r=t.decimal,i=t.numerals?Yr(t.numerals):ei,a=t.percent||"%";function o(t){t=$r(t);var o=t.fill,c=t.align,f=t.sign,u=t.symbol,s=t.zero,h=t.width,l=t.comma,d=t.precision,p=t.trim,b=t.type;"n"===b?(l=!0,b="g"):ti[b]||(null==d&&(d=12),p=!0,b="g"),(s||"0"===o&&"="===c)&&(s=!0,o="0",c="=");var _="$"===u?n[0]:"#"===u&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",v="$"===u?n[1]:/[%p]/.test(b)?a:"",y=ti[b],g=/[defgprs%]/.test(b);function m(t){var n,a,u,m=_,x=v;if("c"===b)x=y(t)+x,t="";else{t=+t;var w=t<0;if(t=y(Math.abs(t),d),p&&(t=Qr(t)),w&&0===+t&&(w=!1),m=(w?"("===f?f:"-":"-"===f||"("===f?"":f)+m,x=("s"===b?ni[8+Br/3]:"")+x+(w&&"("===f?")":""),g){n=-1,a=t.length;while(++n<a)if(u=t.charCodeAt(n),48>u||u>57){x=(46===u?r+t.slice(n+1):t.slice(n))+x,t=t.slice(0,n);break}}}l&&!s&&(t=e(t,1/0));var M=m.length+t.length+x.length,T=M<h?new Array(h-M+1).join(o):"";switch(l&&s&&(t=e(T+t,T.length?h-x.length:1/0),T=""),c){case"<":t=m+t+x+T;break;case"=":t=m+T+t+x;break;case"^":t=T.slice(0,M=T.length>>1)+m+t+x+T.slice(M);break;default:t=T+m+t+x;break}return i(t)}return d=null==d?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),m.toString=function(){return t+""},m}function c(t,e){var n=o((t=$r(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(qr(e)/3))),i=Math.pow(10,-r),a=ni[8+r/3];return function(t){return n(i*t)+a}}return{format:o,formatPrefix:c}};function ii(t){return Xr=ri(t),Gr=Xr.format,Zr=Xr.formatPrefix,Xr}ii({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var ai=function(t){return Math.max(0,-qr(Math.abs(t)))},oi=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(qr(e)/3)))-qr(Math.abs(t)))},ci=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,qr(e)-qr(t))+1},fi=function(t,e,n){var r,i=t[0],a=t[t.length-1],o=Ae(i,a,null==e?10:e);switch(n=$r(null==n?",f":n),n.type){case"s":var c=Math.max(Math.abs(i),Math.abs(a));return null!=n.precision||isNaN(r=oi(o,c))||(n.precision=r),Zr(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=ci(o,Math.max(Math.abs(i),Math.abs(a))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=ai(o))||(n.precision=r-2*("%"===n.type));break}return Gr(n)};function ui(t){var e=t.domain;return t.ticks=function(t){var n=e();return Me(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return fi(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,c=i[a],f=i[o];return f<c&&(r=c,c=f,f=r,r=a,a=o,o=r),r=Te(c,f,n),r>0?(c=Math.floor(c/r)*r,f=Math.ceil(f/r)*r,r=Te(c,f,n)):r<0&&(c=Math.ceil(c*r)/r,f=Math.floor(f*r)/r,r=Te(c,f,n)),r>0?(i[a]=Math.floor(c/r)*r,i[o]=Math.ceil(f/r)*r,e(i)):r<0&&(i[a]=Math.ceil(c*r)/r,i[o]=Math.floor(f*r)/r,e(i)),t},t}function si(){var t=Ur(Ir,ar);return t.copy=function(){return Lr(t,si())},ui(t)}function hi(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function li(){var t=1,e=Ur(r,i),n=e.domain;function r(e,n){return(n=hi(n,t)-(e=hi(e,t)))?function(r){return(hi(r,t)-e)/n}:Cr(n)}function i(e,n){return n=hi(n,t)-(e=hi(e,t)),function(r){return hi(e+n*r,1/t)}}return e.exponent=function(e){return arguments.length?(t=+e,n(n())):t},e.copy=function(){return Lr(e,li().exponent(t))},ui(e)}function di(){return li().exponent(.5)}var pi=new Date,bi=new Date;function _i(t,e,n,r){function i(e){return t(e=new Date(+e)),e}return i.floor=i,i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var o,c=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r)||!(a>0))return c;do{c.push(o=new Date(+n)),e(n,a),t(n)}while(o<n&&n<r);return c},i.filter=function(n){return _i(function(e){if(e>=e)while(t(e),!n(e))e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)while(++r<=0)while(e(t,-1),!n(t));else while(--r>=0)while(e(t,1),!n(t));})},n&&(i.count=function(e,r){return pi.setTime(+e),bi.setTime(+r),t(pi),t(bi),Math.floor(n(pi,bi))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t===0}:function(e){return i.count(0,e)%t===0}):i:null}),i}var vi=_i(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});vi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?_i(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):vi:null};vi.range;var yi=1e3,gi=6e4,mi=36e5,xi=864e5,wi=6048e5,Mi=_i(function(t){t.setTime(Math.floor(t/yi)*yi)},function(t,e){t.setTime(+t+e*yi)},function(t,e){return(e-t)/yi},function(t){return t.getUTCSeconds()}),Ti=(Mi.range,_i(function(t){t.setTime(Math.floor(t/gi)*gi)},function(t,e){t.setTime(+t+e*gi)},function(t,e){return(e-t)/gi},function(t){return t.getMinutes()})),Ai=(Ti.range,_i(function(t){var e=t.getTimezoneOffset()*gi%mi;e<0&&(e+=mi),t.setTime(Math.floor((+t-e)/mi)*mi+e)},function(t,e){t.setTime(+t+e*mi)},function(t,e){return(e-t)/mi},function(t){return t.getHours()})),Ni=(Ai.range,_i(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*gi)/xi},function(t){return t.getDate()-1})),Si=Ni;Ni.range;function Ei(t){return _i(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*gi)/wi})}var ki=Ei(0),Ci=Ei(1),Oi=Ei(2),ji=Ei(3),Ii=Ei(4),Pi=Ei(5),zi=Ei(6),Di=(ki.range,Ci.range,Oi.range,ji.range,Ii.range,Pi.range,zi.range,_i(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),Fi=(Di.range,_i(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}));Fi.every=function(t){return isFinite(t=Math.floor(t))&&t>0?_i(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Li=Fi,Ui=(Fi.range,_i(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*gi)},function(t,e){return(e-t)/gi},function(t){return t.getUTCMinutes()})),Ri=(Ui.range,_i(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*mi)},function(t,e){return(e-t)/mi},function(t){return t.getUTCHours()})),qi=(Ri.range,_i(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/xi},function(t){return t.getUTCDate()-1})),Hi=qi;qi.range;function Yi(t){return _i(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/wi})}var Vi=Yi(0),$i=Yi(1),Wi=Yi(2),Bi=Yi(3),Xi=Yi(4),Gi=Yi(5),Zi=Yi(6),Qi=(Vi.range,$i.range,Wi.range,Bi.range,Xi.range,Gi.range,Zi.range,_i(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),Ji=(Qi.range,_i(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));Ji.every=function(t){return isFinite(t=Math.floor(t))&&t>0?_i(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Ki=Ji;Ji.range;function ta(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ea(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function na(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function ra(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,c=t.months,f=t.shortMonths,u=da(i),s=pa(i),h=da(a),l=pa(a),d=da(o),p=pa(o),b=da(c),_=pa(c),v=da(f),y=pa(f),g={a:I,A:P,b:z,B:D,c:null,d:Pa,e:Pa,f:Ua,H:za,I:Da,j:Fa,L:La,m:Ra,M:qa,p:F,Q:_o,s:vo,S:Ha,u:Ya,U:Va,V:$a,w:Wa,W:Ba,x:null,X:null,y:Xa,Y:Ga,Z:Za,"%":bo},m={a:L,A:U,b:R,B:q,c:null,d:Qa,e:Qa,f:no,H:Ja,I:Ka,j:to,L:eo,m:ro,M:io,p:H,Q:_o,s:vo,S:ao,u:oo,U:co,V:fo,w:uo,W:so,x:null,X:null,y:ho,Y:lo,Z:po,"%":bo},x={a:N,A:S,b:E,B:k,c:C,d:Ta,e:Ta,f:Ca,H:Na,I:Na,j:Aa,L:ka,m:Ma,M:Sa,p:A,Q:ja,s:Ia,S:Ea,u:_a,U:va,V:ya,w:ba,W:ga,x:O,X:j,y:xa,Y:ma,Z:wa,"%":Oa};function w(t,e){return function(n){var r,i,a,o=[],c=-1,f=0,u=t.length;n instanceof Date||(n=new Date(+n));while(++c<u)37===t.charCodeAt(c)&&(o.push(t.slice(f,c)),null!=(i=ca[r=t.charAt(++c)])?r=t.charAt(++c):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),f=c+1);return o.push(t.slice(f,c)),o.join("")}}function M(t,e){return function(n){var r,i,a=na(1900),o=T(a,t,n+="",0);if(o!=n.length)return null;if("Q"in a)return new Date(a.Q);if("p"in a&&(a.H=a.H%12+12*a.p),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=ea(na(a.y)),i=r.getUTCDay(),r=i>4||0===i?$i.ceil(r):$i(r),r=Hi.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=e(na(a.y)),i=r.getDay(),r=i>4||0===i?Ci.ceil(r):Ci(r),r=Si.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?ea(na(a.y)).getUTCDay():e(na(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ea(a)):e(a)}}function T(t,e,n,r){var i,a,o=0,c=e.length,f=n.length;while(o<c){if(r>=f)return-1;if(i=e.charCodeAt(o++),37===i){if(i=e.charAt(o++),a=x[i in ca?e.charAt(o++):i],!a||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function A(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=s[r[0].toLowerCase()],n+r[0].length):-1}function N(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1}function S(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=l[r[0].toLowerCase()],n+r[0].length):-1}function E(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1}function k(t,e,n){var r=b.exec(e.slice(n));return r?(t.m=_[r[0].toLowerCase()],n+r[0].length):-1}function C(t,n,r){return T(t,e,n,r)}function O(t,e,r){return T(t,n,e,r)}function j(t,e,n){return T(t,r,e,n)}function I(t){return o[t.getDay()]}function P(t){return a[t.getDay()]}function z(t){return f[t.getMonth()]}function D(t){return c[t.getMonth()]}function F(t){return i[+(t.getHours()>=12)]}function L(t){return o[t.getUTCDay()]}function U(t){return a[t.getUTCDay()]}function R(t){return f[t.getUTCMonth()]}function q(t){return c[t.getUTCMonth()]}function H(t){return i[+(t.getUTCHours()>=12)]}return g.x=w(n,g),g.X=w(r,g),g.c=w(e,g),m.x=w(n,m),m.X=w(r,m),m.c=w(e,m),{format:function(t){var e=w(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=M(t+="",ta);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",m);return e.toString=function(){return t},e},utcParse:function(t){var e=M(t,ea);return e.toString=function(){return t},e}}}var ia,aa,oa,ca={"-":"",_:" ",0:"0"},fa=/^\s*\d+/,ua=/^%/,sa=/[\\^$*+?|[\]().{}]/g;function ha(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function la(t){return t.replace(sa,"\\$&")}function da(t){return new RegExp("^(?:"+t.map(la).join("|")+")","i")}function pa(t){var e={},n=-1,r=t.length;while(++n<r)e[t[n].toLowerCase()]=n;return e}function ba(t,e,n){var r=fa.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function _a(t,e,n){var r=fa.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function va(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function ya(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function ga(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ma(t,e,n){var r=fa.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function xa(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function wa(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ma(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ta(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Aa(t,e,n){var r=fa.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Na(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Sa(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Ea(t,e,n){var r=fa.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ka(t,e,n){var r=fa.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ca(t,e,n){var r=fa.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Oa(t,e,n){var r=ua.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function ja(t,e,n){var r=fa.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Ia(t,e,n){var r=fa.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function Pa(t,e){return ha(t.getDate(),e,2)}function za(t,e){return ha(t.getHours(),e,2)}function Da(t,e){return ha(t.getHours()%12||12,e,2)}function Fa(t,e){return ha(1+Si.count(Li(t),t),e,3)}function La(t,e){return ha(t.getMilliseconds(),e,3)}function Ua(t,e){return La(t,e)+"000"}function Ra(t,e){return ha(t.getMonth()+1,e,2)}function qa(t,e){return ha(t.getMinutes(),e,2)}function Ha(t,e){return ha(t.getSeconds(),e,2)}function Ya(t){var e=t.getDay();return 0===e?7:e}function Va(t,e){return ha(ki.count(Li(t),t),e,2)}function $a(t,e){var n=t.getDay();return t=n>=4||0===n?Ii(t):Ii.ceil(t),ha(Ii.count(Li(t),t)+(4===Li(t).getDay()),e,2)}function Wa(t){return t.getDay()}function Ba(t,e){return ha(Ci.count(Li(t),t),e,2)}function Xa(t,e){return ha(t.getFullYear()%100,e,2)}function Ga(t,e){return ha(t.getFullYear()%1e4,e,4)}function Za(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ha(e/60|0,"0",2)+ha(e%60,"0",2)}function Qa(t,e){return ha(t.getUTCDate(),e,2)}function Ja(t,e){return ha(t.getUTCHours(),e,2)}function Ka(t,e){return ha(t.getUTCHours()%12||12,e,2)}function to(t,e){return ha(1+Hi.count(Ki(t),t),e,3)}function eo(t,e){return ha(t.getUTCMilliseconds(),e,3)}function no(t,e){return eo(t,e)+"000"}function ro(t,e){return ha(t.getUTCMonth()+1,e,2)}function io(t,e){return ha(t.getUTCMinutes(),e,2)}function ao(t,e){return ha(t.getUTCSeconds(),e,2)}function oo(t){var e=t.getUTCDay();return 0===e?7:e}function co(t,e){return ha(Vi.count(Ki(t),t),e,2)}function fo(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Xi(t):Xi.ceil(t),ha(Xi.count(Ki(t),t)+(4===Ki(t).getUTCDay()),e,2)}function uo(t){return t.getUTCDay()}function so(t,e){return ha($i.count(Ki(t),t),e,2)}function ho(t,e){return ha(t.getUTCFullYear()%100,e,2)}function lo(t,e){return ha(t.getUTCFullYear()%1e4,e,4)}function po(){return"+0000"}function bo(){return"%"}function _o(t){return+t}function vo(t){return Math.floor(+t/1e3)}function yo(t){return ia=ra(t),ia.format,ia.parse,aa=ia.utcFormat,oa=ia.utcParse,ia}yo({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 go="%Y-%m-%dT%H:%M:%S.%LZ";function mo(t){return t.toISOString()}Date.prototype.toISOString||aa(go);function xo(t){var e=new Date(t);return isNaN(e)?null:e}+new Date("2000-01-01T00:00:00.000Z")||oa(go);function wo(t){var e=0,n=t.children,r=n&&n.length;if(r)while(--r>=0)e+=n[r].value;else e=1;t.value=e}var Mo=function(){return this.eachAfter(wo)},To=function(t){var e,n,r,i,a=this,o=[a];do{e=o.reverse(),o=[];while(a=e.pop())if(t(a),n=a.children,n)for(r=0,i=n.length;r<i;++r)o.push(n[r])}while(o.length);return this},Ao=function(t){var e,n,r=this,i=[r];while(r=i.pop())if(t(r),e=r.children,e)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},No=function(t){var e,n,r,i=this,a=[i],o=[];while(i=a.pop())if(o.push(i),e=i.children,e)for(n=0,r=e.length;n<r;++n)a.push(e[n]);while(i=o.pop())t(i);return this},So=function(t){return this.eachAfter(function(e){var n=+t(e.data)||0,r=e.children,i=r&&r.length;while(--i>=0)n+=r[i].value;e.value=n})},Eo=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},ko=function(t){var e=this,n=Co(e,t),r=[e];while(e!==n)e=e.parent,r.push(e);var i=r.length;while(t!==n)r.splice(i,0,t),t=t.parent;return r};function Co(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();while(t===e)i=t,t=n.pop(),e=r.pop();return i}var Oo=function(){var t=this,e=[t];while(t=t.parent)e.push(t);return e},jo=function(){var t=[];return this.each(function(e){t.push(e)}),t},Io=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},Po=function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e};function zo(t,e){var n,r,i,a,o,c=new Ro(t),f=+t.value&&(c.value=t.value),u=[c];null==e&&(e=Fo);while(n=u.pop())if(f&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)u.push(r=n.children[a]=new Ro(i[a])),r.parent=n,r.depth=n.depth+1;return c.eachBefore(Uo)}function Do(){return zo(this).eachBefore(Lo)}function Fo(t){return t.children}function Lo(t){t.data=t.data.data}function Uo(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Ro(t){this.data=t,this.depth=this.height=0,this.parent=null}Ro.prototype=zo.prototype={constructor:Ro,count:Mo,each:To,eachAfter:No,eachBefore:Ao,sum:So,sort:Eo,path:ko,ancestors:Oo,descendants:jo,leaves:Io,links:Po,copy:Do};Array.prototype.slice;var qo=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)},Ho=function(t,e,n,r,i){var a,o=t.children,c=-1,f=o.length,u=t.value&&(r-e)/t.value;while(++c<f)a=o[c],a.y0=n,a.y1=i,a.x0=e,a.x1=e+=a.value*u},Yo=function(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(a(e,o)),r&&i.eachBefore(qo),i}function a(t,e){return function(r){r.children&&Ho(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,a=r.y0,o=r.x1-n,c=r.y1-n;o<i&&(i=o=(i+o)/2),c<a&&(a=c=(a+c)/2),r.x0=i,r.y0=a,r.x1=o,r.y1=c}}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i};function Vo(t,e){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=e}Vo.prototype=Object.create(Ro.prototype);var $o=function(t,e,n,r,i){var a,o=t.children,c=-1,f=o.length,u=t.value&&(i-n)/t.value;while(++c<f)a=o[c],a.x0=e,a.x1=r,a.y0=n,a.y1=n+=a.value*u},Wo=(1+Math.sqrt(5))/2;function Bo(t,e,n,r,i,a){var o,c,f,u,s,h,l,d,p,b,_,v=[],y=e.children,g=0,m=0,x=y.length,w=e.value;while(g<x){f=i-n,u=a-r;do{s=y[m++].value}while(!s&&m<x);for(h=l=s,b=Math.max(u/f,f/u)/(w*t),_=s*s*b,p=Math.max(l/_,_/h);m<x;++m){if(s+=c=y[m].value,c<h&&(h=c),c>l&&(l=c),_=s*s*b,d=Math.max(l/_,_/h),d>p){s-=c;break}p=d}v.push(o={value:s,dice:f<u,children:y.slice(g,m)}),o.dice?Ho(o,n,r,i,w?r+=u*s/w:a):$o(o,n,r,w?n+=f*s/w:i,a),w-=s,g=m}return v}(function t(e){function n(t,n,r,i,a){Bo(e,t,n,r,i,a)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n})(Wo),function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e){var o,c,f,u,s,h=-1,l=o.length,d=t.value;while(++h<l){for(c=o[h],f=c.children,u=c.value=0,s=f.length;u<s;++u)c.value+=f[u].value;c.dice?Ho(c,n,r,i,r+=(a-r)*c.value/d):$o(c,n,r,n+=(i-n)*c.value/d,a),d-=c.value}}else t._squarify=o=Bo(e,t,n,r,i,a),o.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Wo);var Xo=Math.PI,Go=2*Xo,Zo=1e-6,Qo=Go-Zo;function Jo(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ko(){return new Jo}Jo.prototype=Ko.prototype={constructor:Jo,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var a=this._x1,o=this._y1,c=n-t,f=r-e,u=a-t,s=o-e,h=u*u+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>Zo)if(Math.abs(s*c-f*u)>Zo&&i){var l=n-a,d=r-o,p=c*c+f*f,b=l*l+d*d,_=Math.sqrt(p),v=Math.sqrt(h),y=i*Math.tan((Xo-Math.acos((p+h-b)/(2*_*v)))/2),g=y/v,m=y/_;Math.abs(g-1)>Zo&&(this._+="L"+(t+g*u)+","+(e+g*s)),this._+="A"+i+","+i+",0,0,"+ +(s*l>u*d)+","+(this._x1=t+m*c)+","+(this._y1=e+m*f)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,a){t=+t,e=+e,n=+n;var o=n*Math.cos(r),c=n*Math.sin(r),f=t+o,u=e+c,s=1^a,h=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+u:(Math.abs(this._x1-f)>Zo||Math.abs(this._y1-u)>Zo)&&(this._+="L"+f+","+u),n&&(h<0&&(h=h%Go+Go),h>Qo?this._+="A"+n+","+n+",0,1,"+s+","+(t-o)+","+(e-c)+"A"+n+","+n+",0,1,"+s+","+(this._x1=f)+","+(this._y1=u):h>Zo&&(this._+="A"+n+","+n+",0,"+ +(h>=Xo)+","+s+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var tc=Ko,ec=function(t){return function(){return t}},nc=Math.abs,rc=Math.atan2,ic=Math.cos,ac=Math.max,oc=Math.min,cc=Math.sin,fc=Math.sqrt,uc=1e-12,sc=Math.PI,hc=sc/2,lc=2*sc;function dc(t){return t>1?0:t<-1?sc:Math.acos(t)}function pc(t){return t>=1?hc:t<=-1?-hc:Math.asin(t)}function bc(t){return t.innerRadius}function _c(t){return t.outerRadius}function vc(t){return t.startAngle}function yc(t){return t.endAngle}function gc(t){return t&&t.padAngle}function mc(t,e,n,r,i,a,o,c){var f=n-t,u=r-e,s=o-i,h=c-a,l=(s*(e-a)-h*(t-i))/(h*f-s*u);return[t+l*f,e+l*u]}function xc(t,e,n,r,i,a,o){var c=t-n,f=e-r,u=(o?a:-a)/fc(c*c+f*f),s=u*f,h=-u*c,l=t+s,d=e+h,p=n+s,b=r+h,_=(l+p)/2,v=(d+b)/2,y=p-l,g=b-d,m=y*y+g*g,x=i-a,w=l*b-p*d,M=(g<0?-1:1)*fc(ac(0,x*x*m-w*w)),T=(w*g-y*M)/m,A=(-w*y-g*M)/m,N=(w*g+y*M)/m,S=(-w*y+g*M)/m,E=T-_,k=A-v,C=N-_,O=S-v;return E*E+k*k>C*C+O*O&&(T=N,A=S),{cx:T,cy:A,x01:-s,y01:-h,x11:T*(i/x-1),y11:A*(i/x-1)}}var wc=function(){var t=bc,e=_c,n=ec(0),r=null,i=vc,a=yc,o=gc,c=null;function f(){var f,u,s=+t.apply(this,arguments),h=+e.apply(this,arguments),l=i.apply(this,arguments)-hc,d=a.apply(this,arguments)-hc,p=nc(d-l),b=d>l;if(c||(c=f=tc()),h<s&&(u=h,h=s,s=u),h>uc)if(p>lc-uc)c.moveTo(h*ic(l),h*cc(l)),c.arc(0,0,h,l,d,!b),s>uc&&(c.moveTo(s*ic(d),s*cc(d)),c.arc(0,0,s,d,l,b));else{var _,v,y=l,g=d,m=l,x=d,w=p,M=p,T=o.apply(this,arguments)/2,A=T>uc&&(r?+r.apply(this,arguments):fc(s*s+h*h)),N=oc(nc(h-s)/2,+n.apply(this,arguments)),S=N,E=N;if(A>uc){var k=pc(A/s*cc(T)),C=pc(A/h*cc(T));(w-=2*k)>uc?(k*=b?1:-1,m+=k,x-=k):(w=0,m=x=(l+d)/2),(M-=2*C)>uc?(C*=b?1:-1,y+=C,g-=C):(M=0,y=g=(l+d)/2)}var O=h*ic(y),j=h*cc(y),I=s*ic(x),P=s*cc(x);if(N>uc){var z=h*ic(g),D=h*cc(g),F=s*ic(m),L=s*cc(m);if(p<sc){var U=w>uc?mc(O,j,F,L,z,D,I,P):[I,P],R=O-U[0],q=j-U[1],H=z-U[0],Y=D-U[1],V=1/cc(dc((R*H+q*Y)/(fc(R*R+q*q)*fc(H*H+Y*Y)))/2),$=fc(U[0]*U[0]+U[1]*U[1]);S=oc(N,(s-$)/(V-1)),E=oc(N,(h-$)/(V+1))}}M>uc?E>uc?(_=xc(F,L,O,j,h,E,b),v=xc(z,D,I,P,h,E,b),c.moveTo(_.cx+_.x01,_.cy+_.y01),E<N?c.arc(_.cx,_.cy,E,rc(_.y01,_.x01),rc(v.y01,v.x01),!b):(c.arc(_.cx,_.cy,E,rc(_.y01,_.x01),rc(_.y11,_.x11),!b),c.arc(0,0,h,rc(_.cy+_.y11,_.cx+_.x11),rc(v.cy+v.y11,v.cx+v.x11),!b),c.arc(v.cx,v.cy,E,rc(v.y11,v.x11),rc(v.y01,v.x01),!b))):(c.moveTo(O,j),c.arc(0,0,h,y,g,!b)):c.moveTo(O,j),s>uc&&w>uc?S>uc?(_=xc(I,P,z,D,s,-S,b),v=xc(O,j,F,L,s,-S,b),c.lineTo(_.cx+_.x01,_.cy+_.y01),S<N?c.arc(_.cx,_.cy,S,rc(_.y01,_.x01),rc(v.y01,v.x01),!b):(c.arc(_.cx,_.cy,S,rc(_.y01,_.x01),rc(_.y11,_.x11),!b),c.arc(0,0,s,rc(_.cy+_.y11,_.cx+_.x11),rc(v.cy+v.y11,v.cx+v.x11),b),c.arc(v.cx,v.cy,S,rc(v.y11,v.x11),rc(v.y01,v.x01),!b))):c.arc(0,0,s,x,m,b):c.lineTo(I,P)}else c.moveTo(0,0);if(c.closePath(),f)return c=null,f+""||null}return f.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-sc/2;return[ic(r)*n,cc(r)*n]},f.innerRadius=function(e){return arguments.length?(t="function"===typeof e?e:ec(+e),f):t},f.outerRadius=function(t){return arguments.length?(e="function"===typeof t?t:ec(+t),f):e},f.cornerRadius=function(t){return arguments.length?(n="function"===typeof t?t:ec(+t),f):n},f.padRadius=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:ec(+t),f):r},f.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:ec(+t),f):i},f.endAngle=function(t){return arguments.length?(a="function"===typeof t?t:ec(+t),f):a},f.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:ec(+t),f):o},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f};function Mc(t){this._context=t}Mc.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,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};var Tc=function(t){return new Mc(t)};Nc(Tc);function Ac(t){this._curve=t}function Nc(t){function e(e){return new Ac(t(e))}return e._curve=t,e}Ac.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};Array.prototype.slice;Math.sqrt(1/3);var Sc=Math.sin(sc/10)/Math.sin(7*sc/10),Ec=(Math.sin(lc/10),Math.cos(lc/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function kc(t,e,n){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+e)/6,(t._y0+4*t._y1+n)/6)}function Cc(t){this._context=t}Cc.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:kc(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:kc(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Oc(t){this._context=t}Oc.prototype={areaStart:Ec,areaEnd:Ec,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);break}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:kc(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function jc(t){this._context=t}jc.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,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:kc(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Ic(t,e){this._basis=new Cc(t),this._beta=e}Ic.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0){var r,i=t[0],a=e[0],o=t[n]-i,c=e[n]-a,f=-1;while(++f<=n)r=f/n,this._basis.point(this._beta*t[f]+(1-this._beta)*(i+r*o),this._beta*e[f]+(1-this._beta)*(a+r*c))}this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};(function t(e){function n(t){return 1===e?new Cc(t):new Ic(t,e)}return n.beta=function(e){return t(+e)},n})(.85);function Pc(t,e,n){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-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function zc(t,e){this._context=t,this._k=(1-e)/6}zc.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:Pc(this,this._x1,this._y1);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Pc(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(t){return new zc(t,e)}return n.tension=function(e){return t(+e)},n})(0);function Dc(t,e){this._context=t,this._k=(1-e)/6}Dc.prototype={areaStart:Ec,areaEnd:Ec,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);break}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Pc(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(t){return new Dc(t,e)}return n.tension=function(e){return t(+e)},n})(0);function Fc(t,e){this._context=t,this._k=(1-e)/6}Fc.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,e){switch(t=+t,e=+e,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:Pc(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(t){return new Fc(t,e)}return n.tension=function(e){return t(+e)},n})(0);function Lc(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>uc){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,i=(i*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>uc){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/s,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/s}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function Uc(t,e){this._context=t,this._alpha=e}Uc.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);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Lc(this,t,e);break}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=e}};(function t(e){function n(t){return e?new Uc(t,e):new zc(t,0)}return n.alpha=function(e){return t(+e)},n})(.5);function Rc(t,e){this._context=t,this._alpha=e}Rc.prototype={areaStart:Ec,areaEnd:Ec,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);break}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Lc(this,t,e);break}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=e}};(function t(e){function n(t){return e?new Rc(t,e):new Dc(t,0)}return n.alpha=function(e){return t(+e)},n})(.5);function qc(t,e){this._context=t,this._alpha=e}qc.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,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+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:Lc(this,t,e);break}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=e}};(function t(e){function n(t){return e?new qc(t,e):new Fc(t,0)}return n.alpha=function(e){return t(+e)},n})(.5);function Hc(t){this._context=t}Hc.prototype={areaStart:Ec,areaEnd:Ec,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Yc(t){return t<0?-1:1}function Vc(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),c=(a*i+o*r)/(r+i);return(Yc(a)+Yc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(c))||0}function $c(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Wc(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,c=(a-r)/3;t._context.bezierCurveTo(r+c,i+c*e,a-c,o-c*n,a,o)}function Bc(t){this._context=t}function Xc(t){this._context=new Gc(t)}function Gc(t){this._context=t}function Zc(t){this._context=t}function Qc(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(i[r-1]=o[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}Bc.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:Wc(this,this._t0,$c(this,this._t0));break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,t!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Wc(this,$c(this,n=Vc(this,t,e)),n);break;default:Wc(this,this._t0,n=Vc(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Xc.prototype=Object.create(Bc.prototype)).point=function(t,e){Bc.prototype.point.call(this,e,t)},Gc.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}},Zc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Qc(t),i=Qc(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function Jc(t,e){this._context=t,this._t=e}Jc.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,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}this._x=t,this._y=e}};var Kc={value:function(){}};function tf(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ef(r)}function ef(t){this._=t}function nf(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function rf(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function af(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Kc,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}ef.prototype=tf.prototype={constructor:ef,on:function(t,e){var n,r=this._,i=nf(t+"",r),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);while(++a<o)if(n=(t=i[a]).type)r[n]=af(r[n],t.name,e);else if(null==e)for(n in r)r[n]=af(r[n],t.name,null);return this}while(++a<o)if((n=(t=i[a]).type)&&(n=rf(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ef(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],a=0,n=r.length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var of,cf,ff=tf,uf=0,sf=0,hf=0,lf=1e3,df=0,pf=0,bf=0,_f="object"===typeof performance&&performance.now?performance:Date,vf="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function yf(){return pf||(vf(gf),pf=_f.now()+bf)}function gf(){pf=0}function mf(){this._call=this._time=this._next=null}function xf(t,e,n){var r=new mf;return r.restart(t,e,n),r}function wf(){yf(),++uf;var t,e=of;while(e)(t=pf-e._time)>=0&&e._call.call(null,t),e=e._next;--uf}function Mf(){pf=(df=_f.now())+bf,uf=sf=0;try{wf()}finally{uf=0,Af(),pf=0}}function Tf(){var t=_f.now(),e=t-df;e>lf&&(bf-=e,df=t)}function Af(){var t,e,n=of,r=1/0;while(n)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:of=e);cf=t,Nf(r)}function Nf(t){if(!uf){sf&&(sf=clearTimeout(sf));var e=t-pf;e>24?(t<1/0&&(sf=setTimeout(Mf,t-_f.now()-bf)),hf&&(hf=clearInterval(hf))):(hf||(df=_f.now(),hf=setInterval(Tf,lf)),uf=1,vf(Mf))}}mf.prototype=xf.prototype={constructor:mf,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?yf():+n)+(null==e?0:+e),this._next||cf===this||(cf?cf._next=this:of=this,cf=this),this._call=t,this._time=n,Nf()},stop:function(){this._call&&(this._call=null,this._time=1/0,Nf())}};var Sf=function(t,e,n){var r=new mf;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r},Ef=ff("start","end","interrupt"),kf=[],Cf=0,Of=1,jf=2,If=3,Pf=4,zf=5,Df=6,Ff=function(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};qf(t,n,{name:e,index:r,group:i,on:Ef,tween:kf,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:Cf})};function Lf(t,e){var n=Rf(t,e);if(n.state>Cf)throw new Error("too late; already scheduled");return n}function Uf(t,e){var n=Rf(t,e);if(n.state>jf)throw new Error("too late; already started");return n}function Rf(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function qf(t,e,n){var r,i=t.__transition;function a(t){n.state=Of,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var u,s,h,l;if(n.state!==Of)return f();for(u in i)if(l=i[u],l.name===n.name){if(l.state===If)return Sf(o);l.state===Pf?(l.state=Df,l.timer.stop(),l.on.call("interrupt",t,t.__data__,l.index,l.group),delete i[u]):+u<e&&(l.state=Df,l.timer.stop(),delete i[u])}if(Sf(function(){n.state===If&&(n.state=Pf,n.timer.restart(c,n.delay,n.time),c(a))}),n.state=jf,n.on.call("start",t,t.__data__,n.index,n.group),n.state===jf){for(n.state=If,r=new Array(h=n.tween.length),u=0,s=-1;u<h;++u)(l=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++s]=l);r.length=s+1}}function c(e){var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(f),n.state=zf,1),a=-1,o=r.length;while(++a<o)r[a].call(null,i);n.state===zf&&(n.on.call("end",t,t.__data__,n.index,n.group),f())}function f(){for(var r in n.state=Df,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=xf(a,0,n.time)}var Hf=function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>jf&&n.state<zf,n.state=Df,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}},Yf=function(t){return this.each(function(){Hf(this,t)})};function Vf(t,e){var n,r;return function(){var i=Uf(this,t),a=i.tween;if(a!==n){r=n=a;for(var o=0,c=r.length;o<c;++o)if(r[o].name===e){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function $f(t,e,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var a=Uf(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var c={name:e,value:n},f=0,u=i.length;f<u;++f)if(i[f].name===e){i[f]=c;break}f===u&&i.push(c)}a.tween=i}}var Wf=function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Rf(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?Vf:$f)(n,t,e))};function Bf(t,e,n){var r=t._id;return t.each(function(){var t=Uf(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return Rf(t,r).value[e]}}var Xf=function(t,e){var n;return("number"===typeof e?ar:e instanceof en?tr:(n=en(e))?(e=n,tr):br)(t,e)};function Gf(t){return function(){this.removeAttribute(t)}}function Zf(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Qf(t,e,n){var r,i;return function(){var a=this.getAttribute(t);return a===n?null:a===r?i:i=e(r=a,n)}}function Jf(t,e,n){var r,i;return function(){var a=this.getAttributeNS(t.space,t.local);return a===n?null:a===r?i:i=e(r=a,n)}}function Kf(t,e,n){var r,i,a;return function(){var o,c=n(this);if(null!=c)return o=this.getAttribute(t),o===c?null:o===r&&c===i?a:a=e(r=o,i=c);this.removeAttribute(t)}}function tu(t,e,n){var r,i,a;return function(){var o,c=n(this);if(null!=c)return o=this.getAttributeNS(t.space,t.local),o===c?null:o===r&&c===i?a:a=e(r=o,i=c);this.removeAttributeNS(t.space,t.local)}}var eu=function(t,e){var n=g(t),r="transform"===n?Ar:Xf;return this.attrTween(t,"function"===typeof e?(n.local?tu:Kf)(n,r,Bf(this,"attr."+t,e)):null==e?(n.local?Zf:Gf)(n):(n.local?Jf:Qf)(n,r,e+""))};function nu(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttributeNS(t.space,t.local,r(e))}}return n._value=e,n}function ru(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttribute(t,r(e))}}return n._value=e,n}var iu=function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;var r=g(t);return this.tween(n,(r.local?nu:ru)(r,e))};function au(t,e){return function(){Lf(this,t).delay=+e.apply(this,arguments)}}function ou(t,e){return e=+e,function(){Lf(this,t).delay=e}}var cu=function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?au:ou)(e,t)):Rf(this.node(),e).delay};function fu(t,e){return function(){Uf(this,t).duration=+e.apply(this,arguments)}}function uu(t,e){return e=+e,function(){Uf(this,t).duration=e}}var su=function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?fu:uu)(e,t)):Rf(this.node(),e).duration};function hu(t,e){if("function"!==typeof e)throw new Error;return function(){Uf(this,t).ease=e}}var lu=function(t){var e=this._id;return arguments.length?this.each(hu(e,t)):Rf(this.node(),e).ease},du=function(t){"function"!==typeof t&&(t=j(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],c=o.length,f=r[i]=[],u=0;u<c;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&f.push(a);return new Du(r,this._parents,this._name,this._id)},pu=function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),c=0;c<a;++c)for(var f,u=e[c],s=n[c],h=u.length,l=o[c]=new Array(h),d=0;d<h;++d)(f=u[d]||s[d])&&(l[d]=f);for(;c<r;++c)o[c]=e[c];return new Du(o,this._parents,this._name,this._id)};function bu(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}function _u(t,e,n){var r,i,a=bu(e)?Lf:Uf;return function(){var o=a(this,t),c=o.on;c!==r&&(i=(r=c).copy()).on(e,n),o.on=i}}var vu=function(t,e){var n=this._id;return arguments.length<2?Rf(this.node(),n).on.on(t):this.each(_u(n,t,e))};function yu(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}var gu=function(){return this.on("end.remove",yu(this._id))},mu=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=T(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var c,f,u=r[o],s=u.length,h=a[o]=new Array(s),l=0;l<s;++l)(c=u[l])&&(f=t.call(c,c.__data__,l,u))&&("__data__"in c&&(f.__data__=c.__data__),h[l]=f,Ff(h[l],e,n,l,h,Rf(c,n)));return new Du(a,this._parents,e,n)},xu=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=S(t));for(var r=this._groups,i=r.length,a=[],o=[],c=0;c<i;++c)for(var f,u=r[c],s=u.length,h=0;h<s;++h)if(f=u[h]){for(var l,d=t.call(f,f.__data__,h,u),p=Rf(f,n),b=0,_=d.length;b<_;++b)(l=d[b])&&Ff(l,e,n,b,d,p);a.push(d),o.push(f)}return new Du(a,o,e,n)},wu=fe.prototype.constructor,Mu=function(){return new wu(this._groups,this._parents)};function Tu(t,e){var n,r,i;return function(){var a=ht(this,t),o=(this.style.removeProperty(t),ht(this,t));return a===o?null:a===n&&o===r?i:i=e(n=a,r=o)}}function Au(t){return function(){this.style.removeProperty(t)}}function Nu(t,e,n){var r,i;return function(){var a=ht(this,t);return a===n?null:a===r?i:i=e(r=a,n)}}function Su(t,e,n){var r,i,a;return function(){var o=ht(this,t),c=n(this);return null==c&&(this.style.removeProperty(t),c=ht(this,t)),o===c?null:o===r&&c===i?a:a=e(r=o,i=c)}}var Eu=function(t,e,n){var r="transform"===(t+="")?Tr:Xf;return null==e?this.styleTween(t,Tu(t,r)).on("end.style."+t,Au(t)):this.styleTween(t,"function"===typeof e?Su(t,r,Bf(this,"style."+t,e)):Nu(t,r,e+""),n)};function ku(t,e,n){function r(){var r=this,i=e.apply(r,arguments);return i&&function(e){r.style.setProperty(t,i(e),n)}}return r._value=e,r}var Cu=function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;return this.tween(r,ku(t,e,null==n?"":n))};function Ou(t){return function(){this.textContent=t}}function ju(t){return function(){var e=t(this);this.textContent=null==e?"":e}}var Iu=function(t){return this.tween("text","function"===typeof t?ju(Bf(this,"text",t)):Ou(null==t?"":t+""))},Pu=function(){for(var t=this._name,e=this._id,n=Lu(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,c=r[a],f=c.length,u=0;u<f;++u)if(o=c[u]){var s=Rf(o,e);Ff(o,t,n,u,c,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new Du(r,this._parents,t,n)},zu=0;function Du(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Fu(t){return fe().transition(t)}function Lu(){return++zu}var Uu=fe.prototype;function Ru(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Du.prototype=Fu.prototype={constructor:Du,select:mu,selectAll:xu,filter:du,merge:pu,selection:Mu,transition:Pu,call:Uu.call,nodes:Uu.nodes,node:Uu.node,size:Uu.size,empty:Uu.empty,each:Uu.each,on:vu,attr:eu,attrTween:iu,style:Eu,styleTween:Cu,text:Iu,remove:gu,tween:Wf,delay:cu,duration:su,ease:lu};var qu=3;(function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n})(qu),function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(qu),function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(qu),Math.PI;var Hu=1.70158,Yu=(function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(Hu),function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(Hu),function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(Hu),2*Math.PI),Vu=1,$u=.3,Wu=(function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Yu);function i(t){return e*Math.pow(2,10*--t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Yu)},i.period=function(n){return t(e,n)},i}(Vu,$u),function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Yu);function i(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Yu)},i.period=function(n){return t(e,n)},i}(Vu,$u),function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Yu);function i(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Yu)},i.period=function(n){return t(e,n)},i}(Vu,$u),{time:null,delay:0,duration:250,ease:Ru});function Bu(t,e){var n;while(!(n=t.__transition)||!(n=n[e]))if(!(t=t.parentNode))return Wu.time=yf(),Wu;return n}var Xu=function(t){var e,n;t instanceof Du?(e=t._id,t=t._name):(e=Lu(),(n=Wu).time=yf(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,c=r[a],f=c.length,u=0;u<f;++u)(o=c[u])&&Ff(o,t,e,u,c,n||Bu(o,e));return new Du(r,this._parents,t,e)};fe.prototype.interrupt=Yf,fe.prototype.transition=Xu;n("a481");var Gu=function(t){var e=t.length/6|0,n=new Array(e),r=0;while(r<e)n[r]="#"+t.slice(6*r,6*++r);return n},Zu=Gu("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Qu=Gu("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Ju=(Gu("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Gu("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928")),Ku=Gu("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),ts=Gu("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),es=Gu("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),ns=Gu("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),rs=Gu("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),is=function(t){return nr(t[t.length-1])},as=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Gu),os=(is(as),new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Gu)),cs=(is(os),new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Gu)),fs=(is(cs),new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Gu)),us=(is(fs),new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Gu)),ss=(is(us),new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Gu)),hs=(is(ss),new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Gu)),ls=(is(hs),new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Gu)),ds=(is(ls),new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Gu)),ps=(is(ds),new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Gu)),bs=(is(ps),new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Gu)),_s=(is(bs),new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Gu)),vs=(is(_s),new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Gu)),ys=(is(vs),new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Gu)),gs=(is(ys),new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Gu)),ms=(is(gs),new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Gu)),xs=(is(ms),new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Gu)),ws=(is(xs),new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Gu)),Ms=(is(ws),new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Gu)),Ts=(is(Ms),new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Gu)),As=(is(Ts),new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Gu)),Ns=(is(As),new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Gu)),Ss=(is(Ns),new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Gu)),Es=(is(Ss),new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Gu)),ks=(is(Es),new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Gu)),Cs=(is(ks),new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Gu)),Os=(is(Cs),new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Gu));is(Os),kr(Yn(300,.5,0),Yn(-240,.5,1)),kr(Yn(-100,.75,.35),Yn(80,1.5,.8)),kr(Yn(260,.75,.35),Yn(80,1.5,.8)),Yn(),on(),Math.PI,Math.PI;function js(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}js(Gu("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),js(Gu("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),js(Gu("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),js(Gu("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));var Is={schemeAccent:Qu,schemeCategory10:Zu,schemePaired:Ju,schemePastel1:Ku,schemePastel2:ts,schemeSet1:es,schemeSet2:ns,schemeSet3:rs};function Ps(t){return t.replace(/(^.+)([A-Z])/g,function(t,e,n){return e+" "+n}).replace(/(^.+)([1-9])(?:[0-9]*)/g,function(t,e,n){return e+" "+n}).replace(/^\w/,function(t){return t.toUpperCase()})}var zs={};function Ds(t){var e=t.ancestors().map(function(t){return t.data.name}).join("-");return e}function Fs(t,e){var n=e.x0,r=e.x1,i=e.y0,a=e.y1;t._current={x0:n,x1:r,y0:i,y1:a}}function Ls(t,e,n){var r=this,i=["x0","x1","y0","y1"],a={};return i.forEach(function(t){a[t]=_r(r._current[t],e[t])}),Fs(this,e),function(e){var r={};return i.forEach(function(t){r[t]=a[t](e)}),t(r,n)}}function Us(t){var e=t.textAngle,n=t.currentDx;return e<=180?5:n&&n<-5?n:-5}function Rs(t,e){var n=e.getNodeValue(t),r=Us(n);return n.currentDx=r,r}Object.keys(Is).forEach(function(t){zs[t]={name:Ps(t),scale:Fe(Is[t])}});var qs=function(t){return t.name},Hs=20,Ys={name:"sunburst",inject:{defaultSchemeColor:{default:Object.keys(zs)[0]}},props:{data:{type:Object,required:!1},colorScheme:{type:String,required:!1,default:function(){return this.defaultSchemeColor},validator:function(t){return-1!==Object.keys(zs).indexOf(t)}},colorScale:{type:Function,required:!1},getCategoryForColor:{type:Function,required:!1,default:qs},minAngleDisplayed:{type:Number,required:!1,default:.005},arcIdentification:{type:Function,required:!1,default:Ds},inAnimationDuration:{type:Number,required:!1,default:100},outAnimationDuration:{type:Number,required:!1,default:1e3},showLabels:{type:[Boolean,Function],required:!1,default:!1},maxLabelText:{type:Number,required:!1,default:45},centralCircleRelativeSize:{type:Number,required:!1,default:0,validator:function(t){return t>=0&&t<100}},highlightOpacity:{type:Number,required:!1,default:.3,validator:function(t){return t>=0&&t<1}}},directives:{resize:_.a},data:function(){var t=this.centralCircleRelativeSize,e=si().range([0,2*Math.PI]).clamp(!0),n=di().clamp(t>0);return this.scaleX=e,this.scaleY=n,this.arcSunburst=wc().startAngle(function(t){return e(t.x0)}).endAngle(function(t){return e(t.x1)}).innerRadius(function(t){return Math.max(0,n(t.y0))}).outerRadius(function(t){return Math.max(0,n(t.y1))}),{graphNodes:{clicked:null,mouseOver:null,zoomed:null,root:null,highlighted:null},width:null,height:null,radius:null,popUpNode:null}},created:function(){this._cachedNodes={}},mounted:function(){var t=this,e=this.$el.getElementsByClassName("viewport"),n=p(e,1),r=n[0];this.viewport=r,this.vis=ue(r).append("svg").style("overflow","visible").attr("class","root").attr("width","100%").attr("height","100%").append("g"),this.vis.append("defs"),ue(r).on("mouseleave",function(){t.$emit("mouseLeave"),t.graphNodes.mouseOver=null}),this.resize(!0)},methods:{getSize:function(){var t=this.viewport.clientWidth,e=this.viewport.clientHeight;return{width:t,height:e}},getTextAngle:function(t){var e=this.scaleX;return 180*e((t.x0+t.x1)/2)/Math.PI},getTextTransform:function(t){var e=this.scaleY,n=e(t.y0),r=this.getNodeValue(t),i=r.textAngle;return"rotate(".concat(i-90,") translate(").concat(n,",0) rotate(").concat(i<180?0:180,")")},getTextAnchor:function(t){var e=this.getNodeValue(t),n=e.textAngle;return n<180?"start":"end"},arcClass:function(t){var e=t.depth,n=t.height;return"slice-".concat(e-this.zoomedDepth," depth-").concat(e," height-").concat(n)},getNodeContext:function(t){var e=this.zoomedDepth,n=this.scaleX,r=180*(n(t.x1)-n(t.x0))/Math.PI,i=t.depth-e;return s({},t,{context:{angle:r,relativeDepth:i}})},getCircleClass:function(){return"central-circle depth-".concat(this.zoomedDepth)},addTextAttribute:function(t){var e=this,n=this.getTextAngle,r=this.getTextTransform,i=this.getTextAnchor,a=this.getNodeValue,o=this.getTextExtractor(),c=t.each(function(t){return a(t).textValue=o(t)}).attr("display",function(t){return null===a(t).textValue||0===t.depth?"none":null}).filter(function(t){return null!==a(t).textValue}).each(function(t){return a(t).textAngle=n(t)}).attr("transform",function(t){return r(t)}).attr("text-anchor",function(t){return i(t)}).attr("dx",function(t){return Rs(t,e)}).text(function(t){return a(t).textValue});this.adjustText(c)},getNodeValue:function(t){var e=t.id,n=this._cachedNodes,r=n[e];if(r)return r;var i={};return n[e]=i,i},onData:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.onlyRedraw,i=void 0!==r&&r;if(!t)return this.vis.selectAll("g").remove(),void Object.keys(this.graphNodes).forEach(function(t){return e.graphNodes[t]=null});if(!i){this.root=zo(t).sum(function(t){return t.size}).sort(function(t,e){return e.value-t.value}),this.nodes=Yo()(this.root).descendants();var a=this.arcIdentification;this.nodes.forEach(function(t){t.id=a(t),Object.freeze(t)}),this._cachedNodes={}}var o=this.zoomedNode,c=this.hasCentralCircle,u=this.getCircle,s=this.minAngleDisplayed,h=this.scaleX;this.scaleY.domain([c?o.y1:o.y0,1]);var l=this.nodes[0],d=l.height+1,p=this.vis.select("defs").selectAll("clipPath").data(f(Array(d).keys()));p.enter().append("clipPath").attr("id",function(t){return"clip-".concat(t)}).append("path").attr("clip-rule","evenodd").merge(p.select("path")).attr("d",function(t){return u(t,d)}),p.exit().remove();var b=this.getGroups(),_=this.colorGetter,v=this.mouseOver.bind(this),y=this.click.bind(this),g=this.arcSunburst,m=this.arcClass,x=this,w=b.enter().append("g").attr("fill-opacity",1),M=w.merge(b).attr("class",m).attr("display",function(t){return h(t.x1)-h(t.x0)>s?null:"none"});if(this.showLabels&&null!==this.maxLabelText&&M.attr("clip-path",function(t){return"url(#clip-".concat(t.depth,")")}),M.on("mouseover",function(t){v({node:t}),ue(this).attr("clip-path",null)}).on("mouseleave",function(t){x.showLabels&&null!==x.maxLabelText&&ue(this).attr("clip-path","url(#clip-".concat(t.depth,")"))}).on("click",y),w.append("path").each(function(t){Fs(this,t)}).merge(b.select("path")).attr("fill",function(t){return _(t.data,t)}).transition("enter").duration(this.inAnimationDuration).attrTween("d",function(t,e){return Ls.call(this,g,t,e)}),this.showLabels){var T=w.append("text").attr("class","node-info").attr("dy",".35em");this.addTextAttribute(T.merge(b.select("text")))}b.exit().remove(),i||(this.graphNodes.root=l,this.$emit("rootChanged",{node:l,sunburst:this}))},getTextExtractor:function(){if(!this.showLabelsIsFunction)return function(t){return t.data.name};var t=this.showLabels,e=this.getNodeContext;return function(n){return t(e(n))}},getGroups:function(){return this.vis.selectAll("g").data(this.nodes,function(t){var e=t.id;return e})},resize:function(t){var e=this,n=!0===t,r=this.getSize(),i=r.width,a=r.height;this.vis.attr("width",i).attr("height",a).attr("transform","translate(".concat(i/2,", ").concat(a/2," )")),this.width=i,this.height=a,this.radius=Math.min(i,a)/2,this.updateScaleY();var o=this.hasCentralCircle;if(o){var c=this.mouseOver,f=n?this.vis.append("circle").attr("cx",0).attr("cy",0).attr("fill","none").attr("pointer-events","bounding-box").on("mouseover",function(){var t=e.graphNodes.zoomed;null!==t&&c({node:t,center:!0})}).on("click",function(){var t=e.getZoomParent();null!==t&&e.click(t)}):this.vis.select("circle.central-circle");f.attr("r",this.scaleY.range()[0]).attr("class",this.getCircleClass())}this.onData(this.data,{onlyRedraw:!n})},adjustText:function(t){var e=this.scaleY,n=this.maxLabelText,r=this.getNodeValue;null!==n&&t.filter(function(t){var i=r(t);if(null===i.textValue||i.textAngle<=180)return!1;var a=ue(this).node().getComputedTextLength(),o=e(t.y1)-e(t.y0)+n;return!(a+5<=o)&&(i.currentDx=a-o,!0)}).attr("dx",function(t){return r(t).currentDx})},reDraw:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.onData(this.data,s({onlyRedraw:!0},t))},mouseOver:function(t){var e=t.node,n=t.center,r=void 0!==n&&n;this.graphNodes.mouseOver=e,this.$emit("mouseOverNode",{node:e,center:r,sunburst:this})},click:function(t){this.graphNodes.clicked=t,this.$emit("clickNode",{node:t,sunburst:this})},getZoomParent:function(){var t=this.graphNodes.zoomed;return null===t?null:t.parent},highlightPath:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null===e?this.highlightOpacity:e;if(t===this.graphNodes.zoomed&&this.hasCentralCircle)this.resetHighlight();else{var r=t.ancestors(),i=this.vis.selectAll("g");i.filter(function(t){return-1===r.indexOf(t)}).attr("fill-opacity",n),i.filter(function(t){return r.indexOf(t)>=0}).attr("fill-opacity",1),this.setHighligth(t)}},zoomToNode:function(t){var e=this;this.hasCentralCircle&&0===t.height&&(t=t.parent),this.graphNodes.zoomed=t,this.$emit("zoomedChanged",{node:t,sunburst:this});var n=t.descendants(),r=this.vis.selectAll("text"),i=function(){var i=r.filter(function(e){return e!==t&&n.includes(e)}).attr("display",null);e.showLabelsIsFunction?e.addTextAttribute(i):e.adjustText(r)};r.filter(function(e){return e===t||-1===n.indexOf(e)}).attr("display","none");var a=this.getNodeValue,o=this.getTextAngle,c=this.getTextTransform,f=this.arcSunburst,u=this.getTextAnchor,s=this.hasCentralCircle,h=this.minAngleDisplayed,l=this.arcClass;this.vis.selectAll("g").attr("class",l),this.vis.select("circle.central-circle").attr("class",this.getCircleClass());var d=this.vis.transition("zoom").duration(750).tween("scale",function(){var n=e.scaleX,r=e.scaleY,i=e.radius,a=e.centralCircleRelativeSize,o=_r(n.domain(),[t.x0,t.x1]),c=_r(r.domain(),[s?t.y1:t.y0,1]),f=i*a/100,u=0===f&&t.y0>0?Hs:f,h=_r(r.range(),[u,i]);return function(t){n.domain(o(t)),r.domain(c(t)).range(h(t))}}),p=0;d.selectAll("text").filter(function(t){return null!==a(t).textValue}).each(function(){return p++}).tween("text.angle",function(t){return function(){return a(t).textAngle=o(t)}}).attrTween("transform",function(t){return function(){return c(t)}}).attrTween("text-anchor",function(t){return function(){return u(t)}}).attrTween("dx",function(t){return function(){return Rs(t,e)}}).on("end",function(){0===--p&&i()}),d.selectAll("path").attrTween("d",function(t){return function(){return f(t)}}),h>0&&d.selectAll("g").filter(function(t){return n.includes(t)}).attrTween("display",function(t){return function(){var n=e.scaleX;return n(t.x1)-n(t.x0)>h?null:"none"}});var b=this.getCircle;this.vis.select("defs").selectAll("path").transition("zoom").duration(750).attrTween("d",function(t){return function(){return b(t)}})},getCircle:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null!=e?e:this.graphNodes.root.height+1,r=this.maxLabelText,i=this.scaleY,a=r||0,o=i((t+1)/n);return wc().innerRadius(i(t/n)).outerRadius(o+a).startAngle(0).endAngle(360)()},resetHighlight:function(){this.vis.selectAll("g").attr("fill-opacity",1),this.setHighligth(null)},setHighligth:function(t){this.graphNodes.highlighted=t,this.$emit("highlightedChanged",{node:t,sunburst:this})},updateScaleY:function(){var t=this.radius,e=this.scaleY,n=this.zoomedDepth,r=this.centralCircleRelativeSize,i=0===r&&n>0?Hs:t*r/100;return e.range([i,t])},closeContextMenu:function(){this.popUpNode=null},setContextMenu:function(t){this.popUpNode=t}},computed:{actions:function(){var t=this.highlightPath,e=this.zoomToNode,n=this.resetHighlight,r=this.closeContextMenu,i=this.setContextMenu;return{highlightPath:t,zoomToNode:e,resetHighlight:n,setContextMenu:i,closeContextMenu:r}},on:function(){return this.$on.bind(this)},colorGetter:function(){var t=this,e=this.colorScale||zs[this.colorScheme].scale;return function(n){return e(t.getCategoryForColor(n))}},zoomedDepth:function(){var t=this.graphNodes.zoomed;return null===t?0:t.depth},zoomedNode:function(){var t=this.graphNodes.zoomed;return t||this.root},hasCentralCircle:function(){var t=this.centralCircleRelativeSize;return t>0},showLabelsIsFunction:function(){return"function"===typeof this.showLabels},popUpStyle:function(){var t=this.popUpNode;if(null===t)return null;var e=this.width,n=this.height,r=this.arcSunburst.centroid(t),i=p(r,2),a=i[0],o=i[1];return{transform:"translate(".concat(e/2+a,"px, ").concat(n/2+o,"px)")}}},watch:{data:{handler:function(t){this.onData(t)},deep:!0},colorGetter:function(t){this.getGroups().select("path").attr("fill",function(e){return t(e.data)})},showLabels:function(t){if(this.vis.selectAll("text").remove(),t){null!==this.maxLabelText&&this.getGroups().attr("clip-path",function(t){return"url(#clip-".concat(t.depth,")")});var e=this.vis.selectAll("g").append("text").attr("class","node-info").attr("dy",".35em");this.addTextAttribute(e)}},minAngleDisplayed:function(){this.reDraw()},centralCircleRelativeSize:function(){var t=this.hasCentralCircle;this.updateScaleY().clamp(t),this.reDraw()},radius:function(t){var e=this.height,n=this.width;this.$emit("resize",{radius:t,height:e,width:n})}}},Vs=Ys;n("86a9"),n("0a03");function $s(t,e,n,r,i,a,o,c){var f,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=f):i&&(f=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(u.functional){u._injectStyles=f;var s=u.render;u.render=function(t,e){return f.call(e),s(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:u}}var Ws=$s(Vs,r,i,!1,null,"5467ffc3",null);Ws.options.__file="sunburst.vue";var Bs=Ws.exports,Xs=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",{staticClass:"infornation-sunburst"},[n("span",[t._v(t._s(t.displayPercentage))]),n("br"),t._v("\n "+t._s(t.description)+" "),n("br"),t.showAllNumber?n("span",{staticClass:"detail"},[t._v("("+t._s(t.current.value)+" / "+t._s(t.base)+")")]):t._e()]):t._e()},Gs=[],Zs={name:"nodeInfoDisplayer",props:{root:{required:!1,type:Object},current:{required:!1,type:Object},clicked:{required:!1,type:Object},description:{required:!0,type:String},showAllNumber:{required:!1,type:Boolean,default:!0}},computed:{base:function(){return this.clicked?this.clicked.value:this.root.value},percentage:function(){return null==this.current||null==this.root?null:100*this.current.value/this.base},displayPercentage:function(){var t=this.percentage;return null===t?null:"".concat(t.toPrecision(3)," %")},show:function(){var t=this.percentage;return null!==t&&t<=100}}},Qs=Zs,Js=(n("0aad"),$s(Qs,Xs,Gs,!1,null,"ff4afe60",null));Js.options.__file="nodeInfoDisplayer.vue";var Ks=Js.exports,th=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("breadcrumb",t._b({style:{order:t.order}},"breadcrumb",{colorGetter:t.colorGetter,endText:t.endText,from:t.fromItem,itemHeight:t.itemHeight,itemWidth:t.itemWidth,items:t.items,spacing:t.spacing,tailWidth:t.tailWidth,width:t.width},!1))},eh=[],nh=(n("7514"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bread-sequence"})}),rh=[],ih={name:"breadcrumb",props:{items:{required:!0,type:Array},from:{required:!1,type:Object},endText:{required:!1,type:String,default:""},colorGetter:{required:!0,type:Function},width:{required:!1,type:Number},itemWidth:{required:!1,type:Number,default:80},itemHeight:{required:!1,type:Number,default:30},spacing:{required:!1,type:Number,default:3},tailWidth:{required:!1,type:Number,default:10}},mounted:function(){var t=ue(this.$el).append("svg:svg").attr("width",this.width).attr("height",50).attr("class","trail").style("overflow","visible");t.append("svg:text").attr("class","endlabel").style("fill","#000")},methods:{breadcrumbPoints:function(t,e){var n=[];return n.push("0,0"),n.push(this.itemWidth+",0"),n.push(this.itemWidth+this.tailWidth+","+this.itemHeight/2),n.push(this.itemWidth+","+this.itemHeight),n.push("0,"+this.itemHeight),e>0&&n.push(this.tailWidth+","+this.itemHeight/2),n.join(" ")},draw:function(){var t=this;if(0!==this.items.length){var e=ue(this.$el).select(".trail").selectAll("g").data(this.items,function(t){return t.id});e.exit().remove();var n=e.enter().append("svg:g");n.append("svg:polygon").attr("points",this.breadcrumbPoints).style("fill",this.colorGetter),n.append("svg").attr("x",this.tailWidth).attr("y",0).attr("width",this.itemWidth-this.tailWidth).attr("heigth",this.itemHeight).insert("svg:text").attr("x",this.itemWidth/2).attr("y",this.itemHeight/2).attr("dy","0.25em").attr("text-anchor","middle").text(function(t){return t.name});var r=null===this.from?0:this.items.indexOf(this.from);r=r<0?this.items.length:r,n.merge(e).attr("transform",function(e,n){return"translate("+n*(t.itemWidth+t.spacing)+", 0)"}).transition(500).style("opacity",function(e){return t.items.indexOf(e)>=r?1:.5}),ue(this.$el).select(".trail").select(".endlabel").attr("x",this.items.length*(this.itemWidth+this.tailWidth/2)+2*this.spacing).attr("y",this.itemHeight/2).attr("dy","0.25em").attr("text-anchor","left").text(this.endText),ue(this.$el).select(".trail").style("visibility","")}else ue(this.$el).select(".trail").style("visibility","hidden")}},watch:{width:function(){ue(this.$el).select(".trail").attr("width",this.width)},items:{deep:!0,handler:function(){this.draw()}},from:function(){this.draw()}}},ah=ih,oh=(n("6281"),$s(ah,nh,rh,!1,null,"3a20131a",null));oh.options.__file="breadcrumb.vue";var ch=oh.exports,fh={name:"breadcrumbTrail",components:{breadcrumb:ch},props:{root:{required:!1,type:Object},current:{required:!1,type:Object},from:{required:!1,type:Object},colorGetter:{required:!0,type:Function},width:{required:!1,type:Number},order:{required:!1,type:Number,default:1},itemWidth:{required:!1,type:Number,default:80},itemHeight:{required:!1,type:Number,default:30},spacing:{required:!1,type:Number,default:3},tailWidth:{required:!1,type:Number,default:10}},computed:{items:function(){var t=this.current;return t?t.ancestors().reverse().map(function(t){return{id:t.data.name+t.depth,data:t.data,name:t.data.name}}):[]},fromItem:function(){var t=this.from;return t?this.items.find(function(e){return e.data===t.data}):null},endText:function(){var t=this.current;if(!t)return"";var e=100*t.value/this.root.value;return"".concat(e.toPrecision(3),"% of total")}}},uh=fh,sh=$s(uh,th,eh,!1,null,null,null);sh.options.__file="breadcrumbTrail.vue";var hh=sh.exports,lh={name:"highlightOnHover",props:{on:{required:!0,type:Function},actions:{required:!0,type:Object}},render:function(){return null},created:function(){var t=this.on,e=this.actions;t("mouseOverNode",function(t){var n=t.node;e.highlightPath(n)}),t("mouseLeave",function(){e.resetHighlight()})}},dh={name:"zoomOnClick",props:{on:{required:!0,type:Function},actions:{required:!0,type:Object}},render:function(){return null},created:function(){var t=this;this.on("clickNode",function(e){var n=e.node;t.actions.zoomToNode(n)})}},ph={name:"popUpOnHover",props:{on:{required:!0,type:Function},actions:{required:!0,type:Object}},render:function(){return null},created:function(){var t=this.on,e=this.actions;t("mouseOverNode",function(t){var n=t.node,r=t.center;r?e.closeContextMenu():e.setContextMenu(n)}),t("mouseLeave",function(){e.closeContextMenu()}),t("clickNode",function(){e.closeContextMenu()})}};n.d(e,"breadcrumbTrail",function(){return hh}),n.d(e,"colorSchemes",function(){return zs}),n.d(e,"highlightOnHover",function(){return lh}),n.d(e,"popUpOnHover",function(){return ph}),n.d(e,"nodeInfoDisplayer",function(){return Ks}),n.d(e,"sunburst",function(){return Bs}),n.d(e,"zoomOnClick",function(){return dh})},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})});
//# sourceMappingURL=vue-d3-sunburst.umd.min.js.map