vue-gauge
Version:
VueJs Gauge Plugin
1 lines • 324 kB
JavaScript
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.GaugeChart=n():t.GaugeChart=n()}(this,function(){return function(t){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}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=196)}([function(t,n,e){"use strict";function r(t){return t>1?0:t<-1?c:Math.acos(t)}function i(t){return t>1?f:t<-1?-f:Math.asin(t)}function u(t){return(t=w(t/2))*t}e.d(n,"o",function(){return a}),e.d(n,"w",function(){return o}),e.d(n,"a",function(){return c}),e.d(n,"k",function(){return f}),e.d(n,"v",function(){return s}),e.d(n,"b",function(){return l}),e.d(n,"h",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"p",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"e",function(){return b}),e.d(n,"c",function(){return g}),e.d(n,"u",function(){return y}),e.d(n,"m",function(){return _}),e.d(n,"i",function(){return m}),e.d(n,"r",function(){return x}),e.d(n,"d",function(){return w}),e.d(n,"q",function(){return M}),e.d(n,"n",function(){return k}),e.d(n,"j",function(){return N}),n.s=r,n.f=i,n.t=u;var a=1e-6,o=1e-12,c=Math.PI,f=c/2,s=c/4,l=2*c,h=180/c,d=c/180,p=Math.abs,v=Math.atan,b=Math.atan2,g=Math.cos,y=Math.ceil,_=Math.exp,m=(Math.floor,Math.log),x=Math.pow,w=Math.sin,M=Math.sign||function(t){return t>0?1:t<0?-1:0},k=Math.sqrt,N=Math.tan},function(t,n,e){"use strict";n.a=function(t){for(var n=t.length/6|0,e=new Array(n),r=0;r<n;)e[r]="#"+t.slice(6*r,6*++r);return e}},function(t,n,e){"use strict";var r=e(366);n.a=function(t){return e.i(r.a)(t[t.length-1])}},function(t,n,e){"use strict";var r=e(431);e.d(n,"a",function(){return r.a});var i=e(46);e.d(n,"b",function(){return i.a});var u=e(432);e.d(n,"c",function(){return u.a});var a=e(165);e.d(n,"d",function(){return a.a});var o=e(433);e.d(n,"e",function(){return o.a});var c=e(84);e.d(n,"f",function(){return c.a});var f=e(85);e.d(n,"g",function(){return f.a});var s=e(47);e.d(n,"h",function(){return s.a});var l=e(166);e.d(n,"i",function(){return l.a});var h=e(434);e.d(n,"j",function(){return h.a});var d=e(7);e.d(n,"k",function(){return d.a});var p=e(87);e.d(n,"l",function(){return p.a});var v=e(170);e.d(n,"m",function(){return v.a});var b=e(169);e.d(n,"n",function(){return b.a});var g=e(462);e.d(n,"o",function(){return g.a});var y=e(463);e.d(n,"p",function(){return y.a});var _=e(89);e.d(n,"q",function(){return _.a});var m=e(86);e.d(n,"r",function(){return m.a}),e.d(n,"s",function(){return m.b})},function(t,n,e){"use strict";function r(t,n,e,a){function o(n){return t(n=new Date(+n)),n}return o.floor=o,o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var u,a=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return a;do{a.push(u=new Date(+e)),n(e,i),t(e)}while(u<e&&e<r);return a},o.filter=function(e){return r(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(o.count=function(n,r){return i.setTime(+n),u.setTime(+r),t(i),t(u),Math.floor(e(i,u))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(a?function(n){return a(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}n.a=r;var i=new Date,u=new Date},function(t,n,e){"use strict";var r=e(103);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b}),e.d(n,"c",function(){return r.c});var i=e(19);e.d(n,"d",function(){return i.a});var u=e(104);e.d(n,"e",function(){return u.a});var a=e(198);e.d(n,"f",function(){return a.a});var o=e(199);e.d(n,"g",function(){return o.a});var c=e(105);e.d(n,"h",function(){return c.a});var f=e(106);e.d(n,"i",function(){return f.a});var s=e(200);e.d(n,"j",function(){return s.a});var l=e(210);e.d(n,"k",function(){return l.a});var h=e(211);e.d(n,"l",function(){return h.a});var d=e(110);e.d(n,"m",function(){return d.a});var p=e(202);e.d(n,"n",function(){return p.a});var v=e(203);e.d(n,"o",function(){return v.a});var b=e(204);e.d(n,"p",function(){return b.a});var g=e(205);e.d(n,"q",function(){return g.a});var y=e(107);e.d(n,"r",function(){return y.a});var _=e(108);e.d(n,"s",function(){return _.a});var m=e(206);e.d(n,"t",function(){return m.a});var x=e(56);e.d(n,"u",function(){return x.a});var w=e(109);e.d(n,"v",function(){return w.a});var M=e(207);e.d(n,"w",function(){return M.a});var k=e(208);e.d(n,"x",function(){return k.a});var N=e(209);e.d(n,"y",function(){return N.a});var A=e(111);e.d(n,"z",function(){return A.a}),e.d(n,"A",function(){return A.b}),e.d(n,"B",function(){return A.c});var S=e(112);e.d(n,"C",function(){return S.a});var T=e(113);e.d(n,"D",function(){return T.a});var E=e(212);e.d(n,"E",function(){return E.a})},function(t,n,e){"use strict";var r=e(75);e.d(n,"a",function(){return r.a});var i=e(143);e.d(n,"b",function(){return i.a});var u=e(74);e.d(n,"c",function(){return u.a});var a=e(144);e.d(n,"d",function(){return a.a});var o=e(146);e.d(n,"e",function(){return o.a});var c=e(42);e.d(n,"f",function(){return c.a});var f=e(147);e.d(n,"g",function(){return f.a});var s=e(322);e.d(n,"h",function(){return s.a});var l=e(149);e.d(n,"i",function(){return l.a});var h=e(324);e.d(n,"j",function(){return h.a}),e.d(n,"k",function(){return h.b});var d=e(326);e.d(n,"l",function(){return d.a});var p=e(148);e.d(n,"m",function(){return p.a}),e.d(n,"n",function(){return p.b}),e.d(n,"o",function(){return p.c});var v=e(319);e.d(n,"p",function(){return v.a}),e.d(n,"q",function(){return v.b});var b=e(320);e.d(n,"r",function(){return b.a});var g=e(318);e.d(n,"s",function(){return g.a}),e.d(n,"t",function(){return g.b});var y=e(317);e.d(n,"u",function(){return y.a}),e.d(n,"v",function(){return y.b});var _=e(321);e.d(n,"w",function(){return _.a})},function(t,n,e){"use strict";function r(t,n){this._groups=t,this._parents=n}function i(){return new r([[document.documentElement]],L)}e.d(n,"c",function(){return L}),n.b=r;var u=e(457),a=e(458),o=e(446),c=e(440),f=e(167),s=e(445),l=e(450),h=e(453),d=e(460),p=e(437),v=e(452),b=e(451),g=e(459),y=e(444),_=e(443),m=e(436),x=e(169),w=e(454),M=e(438),k=e(461),N=e(447),A=e(455),S=e(449),T=e(435),E=e(448),C=e(456),P=e(439),z=e(441),R=e(86),q=e(442),L=[null];r.prototype=i.prototype={constructor:r,select:u.a,selectAll:a.a,filter:o.a,data:c.a,enter:f.a,exit:s.a,merge:l.a,order:h.a,sort:d.a,call:p.a,nodes:v.a,node:b.a,size:g.a,empty:y.a,each:_.a,attr:m.a,style:x.b,property:w.a,classed:M.a,text:k.a,html:N.a,raise:A.a,lower:S.a,append:T.a,insert:E.a,remove:C.a,clone:P.a,datum:z.a,on:R.c,dispatch:q.a},n.a=i},function(t,n,e){"use strict";function r(t,n){var e=u(t,n);if(e.state>l)throw new Error("too late; already scheduled");return e}function i(t,n){var e=u(t,n);if(e.state>d)throw new Error("too late; already started");return e}function u(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function a(t,n,r){function i(t){r.state=h,r.timer.restart(u,r.delay,r.time),r.delay<=t&&u(t-r.delay)}function u(i){var l,b,y,_;if(r.state!==h)return o();for(l in s)if(_=s[l],_.name===r.name){if(_.state===p)return e.i(c.d)(u);_.state===v?(_.state=g,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete s[l]):+l<n&&(_.state=g,_.timer.stop(),delete s[l])}if(e.i(c.d)(function(){r.state===p&&(r.state=v,r.timer.restart(a,r.delay,r.time),a(i))}),r.state=d,r.on.call("start",t,t.__data__,r.index,r.group),r.state===d){for(r.state=p,f=new Array(y=r.tween.length),l=0,b=-1;l<y;++l)(_=r.tween[l].value.call(t,t.__data__,r.index,r.group))&&(f[++b]=_);f.length=b+1}}function a(n){for(var e=n<r.duration?r.ease.call(null,n/r.duration):(r.timer.restart(o),r.state=b,1),i=-1,u=f.length;++i<u;)f[i].call(null,e);r.state===b&&(r.on.call("end",t,t.__data__,r.index,r.group),o())}function o(){r.state=g,r.timer.stop(),delete s[n];for(var e in s)return;delete t.__transition}var f,s=t.__transition;s[n]=r,r.timer=e.i(c.b)(i,0,r.time)}e.d(n,"d",function(){return h}),e.d(n,"a",function(){return d}),e.d(n,"b",function(){return b}),e.d(n,"c",function(){return g}),n.g=r,n.e=i,n.f=u;var o=e(14),c=e(53),f=e.i(o.a)("start","end","interrupt"),s=[],l=0,h=1,d=2,p=3,v=4,b=5,g=6;n.h=function(t,n,e,r,i,u){var o=t.__transition;if(o){if(e in o)return}else t.__transition={};a(t,e,{name:n,index:r,group:i,on:f,tween:s,time:u.time,delay:u.delay,duration:u.duration,ease:u.ease,timer:null,state:l})}},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b}),e.d(n,"c",function(){return r.c});var i=e(233);e.d(n,"d",function(){return i.a}),e.d(n,"e",function(){return i.b});var u=e(232);e.d(n,"f",function(){return u.a})},function(t,n,e){"use strict";function r(t){return e.i(d.b)({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}function i(t){return u(function(){return t})()}function u(t){function n(t){return t=w(t[0]*l.g,t[1]*l.g),[t[0]*T+_,m-t[1]*T]}function i(t){return(t=w.invert((t[0]-_)/T,(m-t[1])/T))&&[t[0]*l.h,t[1]*l.h]}function u(t,n){return t=y(t,n),[t[0]*T+_,m-t[1]*T]}function d(){w=e.i(f.a)(x=e.i(h.b)(R,q,L),y);var t=y(P,z);return _=E-t[0]*T,m=C+t[1]*T,g()}function g(){return A=S=null,n}var y,_,m,x,w,M,k,N,A,S,T=150,E=480,C=250,P=0,z=0,R=0,q=0,L=0,O=null,D=a.a,U=null,j=s.a,I=.5,B=e.i(v.a)(u,I);return n.stream=function(t){return A&&S===t?A:A=b(r(x)(D(B(j(S=t)))))},n.preclip=function(t){return arguments.length?(D=t,O=void 0,g()):D},n.postclip=function(t){return arguments.length?(j=t,U=M=k=N=null,g()):j},n.clipAngle=function(t){return arguments.length?(D=+t?e.i(o.a)(O=t*l.g):(O=null,a.a),g()):O*l.h},n.clipExtent=function(t){return arguments.length?(j=null==t?(U=M=k=N=null,s.a):e.i(c.a)(U=+t[0][0],M=+t[0][1],k=+t[1][0],N=+t[1][1]),g()):null==U?null:[[U,M],[k,N]]},n.scale=function(t){return arguments.length?(T=+t,d()):T},n.translate=function(t){return arguments.length?(E=+t[0],C=+t[1],d()):[E,C]},n.center=function(t){return arguments.length?(P=t[0]%360*l.g,z=t[1]%360*l.g,d()):[P*l.h,z*l.h]},n.rotate=function(t){return arguments.length?(R=t[0]%360*l.g,q=t[1]%360*l.g,L=t.length>2?t[2]%360*l.g:0,d()):[R*l.h,q*l.h,L*l.h]},n.precision=function(t){return arguments.length?(B=e.i(v.a)(u,I=t*t),g()):e.i(l.n)(I)},n.fitExtent=function(t,r){return e.i(p.a)(n,t,r)},n.fitSize=function(t,r){return e.i(p.b)(n,t,r)},n.fitWidth=function(t,r){return e.i(p.c)(n,t,r)},n.fitHeight=function(t,r){return e.i(p.d)(n,t,r)},function(){return y=t.apply(this,arguments),n.invert=y.invert&&i,d()}}n.a=i,n.b=u;var a=e(126),o=e(128),c=e(38),f=e(131),s=e(66),l=e(0),h=e(39),d=e(40),p=e(69),v=e(292),b=e.i(d.b)({point:function(t,n){this.stream.point(t*l.g,n*l.g)}})},function(t,n,e){"use strict";e.d(n,"e",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"b",function(){return a}),e.d(n,"a",function(){return o});var r=1e3,i=6e4,u=36e5,a=864e5,o=6048e5},function(t,n,e){"use strict";function r(){}n.a=r},function(t,n,e){"use strict";function r(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function i(t){return e.i(a.k)().transition(t)}function u(){return++k}n.b=r,n.a=i,n.c=u;var a=e(3),o=e(510),c=e(511),f=e(512),s=e(513),l=e(514),h=e(515),d=e(516),p=e(517),v=e(518),b=e(519),g=e(520),y=e(521),_=e(522),m=e(523),x=e(524),w=e(525),M=e(54),k=0,N=a.k.prototype;r.prototype=i.prototype={constructor:r,select:b.a,selectAll:g.a,filter:h.a,merge:d.a,selection:y.a,transition:w.a,call:N.call,nodes:N.nodes,node:N.node,size:N.size,empty:N.empty,each:N.each,on:p.a,attr:o.a,attrTween:c.a,style:_.a,styleTween:m.a,text:x.a,remove:v.a,tween:M.a,delay:f.a,duration:s.a,ease:l.a}},function(t,n,e){"use strict";var r=e(234);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}function i(t,n,e){var r,i=-1,u=t.length-e;for(n.lineStart();++i<u;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function u(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)i(t[e],n,1);n.polygonEnd()}var a={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++i<u;)r(e[i].geometry,n)}},o={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){i(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,u=e.length;++r<u;)i(e[r],n,0)},Polygon:function(t,n){u(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)u(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,i=-1,u=e.length;++i<u;)r(e[i],n)}};n.a=function(t,n){t&&a.hasOwnProperty(t.type)?a[t.type](t,n):r(t,n)}},function(t,n,e){"use strict";var r=e(327);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=Array.prototype,i=r.map,u=r.slice},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}function i(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){i(u,t,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new r},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(79);e.d(n,"f",function(){return r.h}),e.d(n,"e",function(){return r.g}),e.d(n,"d",function(){return r.f});var i=e(365);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.a});var u=e(364);e.d(n,"a",function(){return u.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";var r=e(229);e.d(n,"a",function(){return r.a});var i=e(230);e.d(n,"b",function(){return i.a});var u=e(57);e.d(n,"c",function(){return u.a});var a=e(228);e.d(n,"d",function(){return a.a});var o=e(231);e.d(n,"e",function(){return o.a});var c=e(227);e.d(n,"f",function(){return c.a})},function(t,n,e){"use strict";function r(t){return[e.i(s.e)(t[1],t[0]),e.i(s.f)(t[2])]}function i(t){var n=t[0],r=t[1],i=e.i(s.c)(r);return[i*e.i(s.c)(n),i*e.i(s.d)(n),e.i(s.d)(r)]}function u(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function a(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function o(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function c(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function f(t){var n=e.i(s.n)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}n.g=r,n.a=i,n.d=u,n.b=a,n.f=o,n.e=c,n.c=f;var s=e(0)},function(t,n,e){"use strict";function r(t){return function(n,r){var i=e.i(u.c)(n),a=e.i(u.c)(r),o=t(i*a);return[o*a*e.i(u.d)(n),o*e.i(u.d)(r)]}}function i(t){return function(n,r){var i=e.i(u.n)(n*n+r*r),a=t(i),o=e.i(u.d)(a),c=e.i(u.c)(a);return[e.i(u.e)(n*o,i*c),e.i(u.f)(i&&r*o/i)]}}n.b=r,n.a=i;var u=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,a=t.children,o=-1,c=a.length,f=t.value&&(r-n)/t.value;++o<c;)u=a[o],u.y0=e,u.y1=i,u.x0=n,u.x1=n+=u.value*f}},function(t,n,e){"use strict";function r(t,n){return function(e){return t+e*n}}function i(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function u(t,n){var i=n-t;return i?r(t,i>180||i<-180?i-360*Math.round(i/360):i):e.i(c.a)(isNaN(t)?n:t)}function a(t){return 1==(t=+t)?o:function(n,r){return r-n?i(n,r,t):e.i(c.a)(isNaN(n)?r:n)}}function o(t,n){var i=n-t;return i?r(t,i):e.i(c.a)(isNaN(t)?n:t)}n.b=u,n.c=a,n.a=o;var c=e(145)},function(t,n,e){"use strict";function r(t,n){return function(e){return t+e*n}}function i(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function u(t,n){var i=n-t;return i?r(t,i>180||i<-180?i-360*Math.round(i/360):i):e.i(c.a)(isNaN(t)?n:t)}function a(t){return 1==(t=+t)?o:function(n,r){return r-n?i(n,r,t):e.i(c.a)(isNaN(n)?r:n)}}function o(t,n){var i=n-t;return i?r(t,i):e.i(c.a)(isNaN(t)?n:t)}n.b=u,n.c=a,n.a=o;var c=e(156)},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";function r(t){var n=t.domain;return t.ticks=function(t){var r=n();return e.i(u.z)(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){return e.i(c.a)(n(),t,r)},t.nice=function(r){null==r&&(r=10);var i,a=n(),o=0,c=a.length-1,f=a[o],s=a[c];return s<f&&(i=f,f=s,s=i,i=o,o=c,c=i),i=e.i(u.A)(f,s,r),i>0?(f=Math.floor(f/i)*i,s=Math.ceil(s/i)*i,i=e.i(u.A)(f,s,r)):i<0&&(f=Math.ceil(f*i)/i,s=Math.floor(s*i)/i,i=e.i(u.A)(f,s,r)),i>0?(a[o]=Math.floor(f/i)*i,a[c]=Math.ceil(s/i)*i,n(a)):i<0&&(a[o]=Math.ceil(f*i)/i,a[c]=Math.floor(s*i)/i,n(a)),t},t}function i(){var t=e.i(o.a)(o.b,a.f);return t.copy=function(){return e.i(o.c)(t,i())},r(t)}n.b=r,n.a=i;var u=e(5),a=e(6),o=e(45),c=e(427)},function(t,n,e){"use strict";function r(t){return t>1?0:t<-1?d:Math.acos(t)}function i(t){return t>=1?p:t<=-1?-p:Math.asin(t)}e.d(n,"g",function(){return u}),e.d(n,"m",function(){return a}),e.d(n,"h",function(){return o}),e.d(n,"e",function(){return c}),e.d(n,"j",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"d",function(){return l}),e.d(n,"a",function(){return h}),e.d(n,"b",function(){return d}),e.d(n,"f",function(){return p}),e.d(n,"c",function(){return v}),n.l=r,n.k=i;var u=Math.abs,a=Math.atan2,o=Math.cos,c=Math.max,f=Math.min,s=Math.sin,l=Math.sqrt,h=1e-12,d=Math.PI,p=d/2,v=2*d},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,a=t[n[0]],o=a.length;u<i;++u)for(r=a,a=t[n[u]],e=0;e<o;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}},function(t,n,e){"use strict";n.a=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}},function(t,n,e){"use strict";function r(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function i(t,n){return n[1]-t[1]||n[0]-t[0]}function u(t,n){var r,u,v,b=t.sort(i).pop();for(f=[],o=new Array(t.length),a=new p.a,c=new p.a;;)if(v=h.a,b&&(!v||b[1]<v.y||b[1]===v.y&&b[0]<v.x))b[0]===r&&b[1]===u||(e.i(s.a)(b),r=b[0],u=b[1]),b=t.pop();else{if(!v)break;e.i(s.b)(v.arc)}if(e.i(l.a)(),n){var g=+n[0][0],y=+n[0][1],_=+n[1][0],m=+n[1][1];e.i(d.a)(g,y,_,m),e.i(l.b)(g,y,_,m)}this.edges=f,this.cells=o,a=c=f=o=null}e.d(n,"b",function(){return v}),e.d(n,"f",function(){return b}),e.d(n,"e",function(){return a}),e.d(n,"c",function(){return o}),e.d(n,"g",function(){return c}),e.d(n,"d",function(){return f}),n.a=u;var a,o,c,f,s=e(527),l=e(189),h=e(190),d=e(98),p=e(99),v=1e-6,b=1e-12;u.prototype={constructor:u,polygons:function(){var t=this.edges;return this.cells.map(function(n){var r=n.halfedges.map(function(r){return e.i(l.c)(n,t[r])});return r.data=n.site.data,r})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,i){if(a=(u=e.halfedges).length)for(var u,a,o,c=e.site,f=-1,s=n[u[a-1]],l=s.left===c?s.right:s.left;++f<a;)o=l,s=n[u[f]],l=s.left===c?s.right:s.left,o&&l&&i<o.index&&i<l.index&&r(c,o,l)<0&&t.push([c.data,o.data,l.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,n,e){for(var r,i,u=this,a=u._found||0,o=u.cells.length;!(i=u.cells[a]);)if(++a>=o)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=u.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var c=t-o[0],f=n-o[1],l=c*c+f*f;l<s&&(s=l,a=o.index)}})}while(null!==a);return u._found=r,null==e||s<=e*e?i.site:null}}},function(t,n,e){"use strict";var r=e(65);n.a=function(t){return t=e.i(r.a)(Math.abs(t)),t?t[1]:NaN}},function(t,n,e){"use strict";function r(t,n,r,l){function h(e,i){return t<=e&&e<=r&&n<=i&&i<=l}function d(e,i,u,a){var o=0,c=0;if(null==e||(o=p(e,u))!==(c=p(i,u))||b(e,i)<0^u>0)do{a.point(0===o||3===o?t:r,o>1?l:n)}while((o=(o+u+4)%4)!==c);else a.point(i[0],i[1])}function p(u,a){return e.i(i.p)(u[0]-t)<i.o?a>0?0:3:e.i(i.p)(u[0]-r)<i.o?a>0?2:1:e.i(i.p)(u[1]-n)<i.o?a>0?1:0:a>0?3:2}function v(t,n){return b(t.x,n.x)}function b(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(i){function p(t,n){h(t,n)&&R.point(t,n)}function b(){for(var n=0,e=0,r=M.length;e<r;++e)for(var i,u,a=M[e],o=1,c=a.length,f=a[0],s=f[0],h=f[1];o<c;++o)i=s,u=h,f=a[o],s=f[0],h=f[1],u<=l?h>l&&(s-i)*(l-u)>(h-u)*(t-i)&&++n:h<=l&&(s-i)*(l-u)<(h-u)*(t-i)&&--n;return n}function g(){R=q,w=[],M=[],z=!0}function y(){var t=b(),n=z&&t,r=(w=e.i(c.q)(w)).length;(n||r)&&(i.polygonStart(),n&&(i.lineStart(),d(null,null,1,i),i.lineEnd()),r&&e.i(o.a)(w,v,t,d,i),i.polygonEnd()),R=i,w=M=k=null}function _(){L.point=x,M&&M.push(k=[]),P=!0,C=!1,T=E=NaN}function m(){w&&(x(N,A),S&&C&&q.rejoin(),w.push(q.result())),L.point=p,C&&R.lineEnd()}function x(i,u){var o=h(i,u);if(M&&k.push([i,u]),P)N=i,A=u,S=o,P=!1,o&&(R.lineStart(),R.point(i,u));else if(o&&C)R.point(i,u);else{var c=[T=Math.max(s,Math.min(f,T)),E=Math.max(s,Math.min(f,E))],d=[i=Math.max(s,Math.min(f,i)),u=Math.max(s,Math.min(f,u))];e.i(a.a)(c,d,t,n,r,l)?(C||(R.lineStart(),R.point(c[0],c[1])),R.point(d[0],d[1]),o||R.lineEnd(),z=!1):o&&(R.lineStart(),R.point(i,u),z=!1)}T=i,E=u,C=o}var w,M,k,N,A,S,T,E,C,P,z,R=i,q=e.i(u.a)(),L={point:p,lineStart:_,lineEnd:m,polygonStart:g,polygonEnd:y};return L}}n.a=r;var i=e(0),u=e(127),a=e(271),o=e(130),c=e(5),f=1e9,s=-f},function(t,n,e){"use strict";function r(t,n){return[t>f.a?t-f.b:t<-f.a?t+f.b:t,n]}function i(t,n,i){return(t%=f.b)?n||i?e.i(c.a)(a(t),o(n,i)):a(t):n||i?o(n,i):r}function u(t){return function(n,e){return n+=t,[n>f.a?n-f.b:n<-f.a?n+f.b:n,e]}}function a(t){var n=u(t);return n.invert=u(-t),n}function o(t,n){function r(t,n){var r=e.i(f.c)(n),c=e.i(f.c)(t)*r,s=e.i(f.d)(t)*r,l=e.i(f.d)(n),h=l*i+c*u;return[e.i(f.e)(s*a-h*o,c*i-l*u),e.i(f.f)(h*a+s*o)]}var i=e.i(f.c)(t),u=e.i(f.d)(t),a=e.i(f.c)(n),o=e.i(f.d)(n);return r.invert=function(t,n){var r=e.i(f.c)(n),c=e.i(f.c)(t)*r,s=e.i(f.d)(t)*r,l=e.i(f.d)(n),h=l*a-s*o;return[e.i(f.e)(s*a+l*o,c*i+h*u),e.i(f.f)(h*i-c*u)]},r}n.b=i;var c=e(131),f=e(0);r.invert=r,n.a=function(t){function n(n){return n=t(n[0]*f.g,n[1]*f.g),n[0]*=f.h,n[1]*=f.h,n}return t=i(t[0]*f.g,t[1]*f.g,t.length>2?t[2]*f.g:0),n.invert=function(n){return n=t.invert(n[0]*f.g,n[1]*f.g),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,a=t.children,o=-1,c=a.length,f=t.value&&(i-e)/t.value;++o<c;)u=a[o],u.x0=n,u.x1=r,u.y0=e,u.y1=e+=u.value*f}},function(t,n,e){"use strict";n.a=function(t,n){return t=+t,n-=t,function(e){return t+n*e}}},function(t,n,e){"use strict";var r=e(78);n.a=function(t,n){return function(i,u){var a=e.i(r.a)(i).mimeType(t).response(n);if(null!=u){if("function"!=typeof u)throw new Error("invalid callback: "+u);return a.get(u)}return a}}},function(t,n,e){"use strict";n.a=function(t,n){return t=+t,n-=t,function(e){return t+n*e}}},function(t,n,e){"use strict";function r(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:e.i(d.a)(n)}function i(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}function u(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function a(t,n,e,r){var i=t[0],u=t[1],a=n[0],o=n[1];return u<i?(i=e(u,i),a=r(o,a)):(i=e(i,u),a=r(a,o)),function(t){return a(i(t))}}function o(t,n,r,i){var u=Math.min(t.length,n.length)-1,a=new Array(u),o=new Array(u),c=-1;for(t[u]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++c<u;)a[c]=r(t[c],t[c+1]),o[c]=i(n[c],n[c+1]);return function(n){var r=e.i(s.a)(t,n,1,u)-1;return o[r](a[r](n))}}function c(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function f(t,n){function e(){return f=Math.min(b.length,g.length)>2?o:a,s=d=null,c}function c(n){return(s||(s=f(b,g,_?i(t):t,y)))(+n)}var f,s,d,b=v,g=v,y=l.a,_=!1;return c.invert=function(t){return(d||(d=f(g,b,r,_?u(n):n)))(+t)},c.domain=function(t){return arguments.length?(b=h.a.call(t,p.a),e()):b.slice()},c.range=function(t){return arguments.length?(g=h.b.call(t),e()):g.slice()},c.rangeRound=function(t){return g=h.b.call(t),y=l.h,e()},c.clamp=function(t){return arguments.length?(_=!!t,e()):_},c.interpolate=function(t){return arguments.length?(y=t,e()):y},e()}n.b=r,n.c=c,n.a=f;var s=e(5),l=e(6),h=e(17),d=e(83),p=e(162),v=[0,1]},function(t,n,e){"use strict";function r(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===a.b&&n.documentElement.namespaceURI===a.b?n.createElement(t):n.createElementNS(e,t)}}function i(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var u=e(84),a=e(85);n.a=function(t){var n=e.i(u.a)(t);return(n.local?i:r)(n)}},function(t,n,e){"use strict";n.a=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}},function(t,n,e){"use strict";function r(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function i(t){this._context=t}n.c=r,n.b=i,i.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:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function i(t,n){this._context=t,this._k=(1-n)/6}n.c=r,n.b=i,i.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:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:r(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.a=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";function r(t){this._context=t}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}},n.a=function(t){return new r(t)}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(4);e.d(n,"a",function(){return r.a});var i=e(492);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b}),e.d(n,"d",function(){return i.a}),e.d(n,"e",function(){return i.b});var u=e(495);e.d(n,"f",function(){return u.a}),e.d(n,"g",function(){return u.b}),e.d(n,"h",function(){return u.a}),e.d(n,"i",function(){return u.b});var a=e(493);e.d(n,"j",function(){return a.a}),e.d(n,"k",function(){return a.b});var o=e(491);e.d(n,"l",function(){return o.a}),e.d(n,"m",function(){return o.b});var c=e(490);e.d(n,"n",function(){return c.a}),e.d(n,"o",function(){return c.b});var f=e(502);e.d(n,"p",function(){return f.a}),e.d(n,"q",function(){return f.b}),e.d(n,"r",function(){return f.a}),e.d(n,"s",function(){return f.b}),e.d(n,"t",function(){return f.c}),e.d(n,"u",function(){return f.d}),e.d(n,"v",function(){return f.e}),e.d(n,"w",function(){return f.f}),e.d(n,"x",function(){return f.g}),e.d(n,"y",function(){return f.h}),e.d(n,"z",function(){return f.i}),e.d(n,"A",function(){return f.j}),e.d(n,"B",function(){return f.k}),e.d(n,"C",function(){return f.l}),e.d(n,"D",function(){return f.m}),e.d(n,"E",function(){return f.n});var s=e(494);e.d(n,"F",function(){return s.a}),e.d(n,"G",function(){return s.b});var l=e(503);e.d(n,"H",function(){return l.a}),e.d(n,"I",function(){return l.b});var h=e(498);e.d(n,"J",function(){return h.a}),e.d(n,"K",function(){return h.b});var d=e(497);e.d(n,"L",function(){return d.a}),e.d(n,"M",function(){return d.b});var p=e(496);e.d(n,"N",function(){return p.a}),e.d(n,"O",function(){return p.b});var v=e(500);e.d(n,"P",function(){return v.a}),e.d(n,"Q",function(){return v.b}),e.d(n,"R",function(){return v.a}),e.d(n,"S",function(){return v.b}),e.d(n,"T",function(){return v.c}),e.d(n,"U",function(){return v.d}),e.d(n,"V",function(){return v.e}),e.d(n,"W",function(){return v.f}),e.d(n,"X",function(){return v.g}),e.d(n,"Y",function(){return v.h}),e.d(n,"Z",function(){return v.i}),e.d(n,"_0",function(){return v.j}),e.d(n,"_1",function(){return v.k}),e.d(n,"_2",function(){return v.l}),e.d(n,"_3",function(){return v.m}),e.d(n,"_4",function(){return v.n});var b=e(499);e.d(n,"_5",function(){return b.a}),e.d(n,"_6",function(){return b.b});var g=e(501);e.d(n,"_7",function(){return g.a}),e.d(n,"_8",function(){return g.b})},function(t,n,e){"use strict";var r=e(96);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b}),e.d(n,"c",function(){return r.c});var i=e(505);e.d(n,"d",function(){return i.a});var u=e(504);e.d(n,"e",function(){return u.a})},function(t,n,e){"use strict";function r(t,n){var r,i;return function(){var u=e.i(a.e)(this,t),o=u.tween;if(o!==r){i=r=o;for(var c=0,f=i.length;c<f;++c)if(i[c].name===n){i=i.slice(),i.splice(c,1);break}}u.tween=i}}function i(t,n,r){var i,u;if("function"!=typeof r)throw new Error;return function(){var o=e.i(a.e)(this,t),c=o.tween;if(c!==i){u=(i=c).slice();for(var f={name:n,value:r},s=0,l=u.length;s<l;++s)if(u[s].name===n){u[s]=f;break}s===l&&u.push(f)}o.tween=u}}function u(t,n,r){var i=t._id;return t.each(function(){var t=e.i(a.e)(this,i);(t.value||(t.value={}))[n]=r.apply(this,arguments)}),function(t){return e.i(a.f)(t,i).value[n]}}n.b=u;var a=e(8);n.a=function(t,n){var u=this._id;if(t+="",arguments.length<2){for(var o,c=e.i(a.f)(this.node(),u).tween,f=0,s=c.length;f<s;++f)if((o=c[f]).name===t)return o.value;return null}return this.each((null==n?r:i)(u,t,n))}},function(t,n,e){"use strict";function r(t,n){if(t.length>n.length-1)for(var e=t.length-n.length+1,r=0;r<e;r++)n.push(h.schemePaired[r%h.schemePaired.length]);else t.length<n.length-1&&(n=n.slice(0,t.length+1));return n}function i(t){return t<0?0:t>100?100:t}function u(t){return(t/100-.5)*Math.PI}function a(t,n,e,r,i,a,o,c,f,s,h,d){r.forEach(function(r,c){var f=u(c?a[c-1]:0),s=u(a[c]||100),h=l.arc().innerRadius(n).outerRadius(i).startAngle(f).endAngle(s),d=t.append("path").attr("d",h).attr("fill",r).attr("transform","translate("+(n+2*e)+", "+(n+e)+")");if(o){h=l.arc().innerRadius(n).outerRadius(n+.1*n).startAngle(f).endAngle(s);var p=t.append("path").attr("d",h).attr("fill","transparent").attr("opacity","0.2").attr("transform","translate("+(n+2*e)+", "+(n+e)+")");d.on("mouseover",function(){d.style("opacity",.8),p.transition().duration(50).ease(l.easeLinear).attr("fill",r)}).on("mouseout",function(){d.style("opacity",1),p.transition().duration(300).ease(l.easeLinear).attr("fill","transparent")})}}),r.forEach(function(r,i){if(a[i]){var o=u(a[i]);if(c&&f){var l=n+2*e,p=e-n*(1.1-1);t.append("rect").attr("x",0).attr("y",0).attr("fill",f).attr("width",c).attr("height",1.1*n).attr("transform","translate("+l+","+p+") rotate("+180*o/Math.PI+", 0,"+1.1*n+")")}if(s[i]){var v=n+2*e+Math.cos(o-Math.PI/2)*(1.07*n),b=n+e+Math.sin(o-Math.PI/2)*(1.07*n);h=h||Math.round(.09*n);var g=document.createElement("canvas"),y=g.getContext("2d");y.font=h+"px";var _=y.measureText(s[i]),m=(o-Math.PI/2)/Math.PI*(_.width+4);t.append("text").attr("x",v+m).attr("y",b).text(s[i]).attr("align","center").attr("font-size",h+"px").attr("font-family",d)}}})}function o(t,n,e,r,i,a){var o=i||a?.5*n:.1*n,c=l.arc().innerRadius(o).outerRadius(0).startAngle(u(0)).endAngle(u(200));t.append("path").attr("d",c).attr("fill",i||a?"transparent":r).attr("transform","translate("+(n+2*e)+", "+(n+e)+")").attr("class","bar")}function c(t,n,e,r,i,u,a,o){var c=o,f=new p.Needle(t,c,u,n,i,e,r,a);return f.setValue(c),f.getSelection(),f}function f(t,n,e,r,i,u,a,o,c){var f=e-i;o=o||Math.round(.18*e);var s=.6*o,l=1.5*o,h=.56*l,d=u[0]?n/2-i-f/2-s*u[0].length/2:0,p=u[1]?n/2+i+f/2-s*u[1].length/2:0,v=r+e+2*s,b=n/2-h*a.length/2,g=r+e;t.append("text").attr("x",d).attr("y",v).text(u?u[0]:"").attr("font-size",o+"px").attr("font-family",c),t.append("text").attr("x",p).attr("y",v).text(u?u[1]:"").attr("font-size",o+"px").attr("font-family",c),t.append("text").attr("x",b).attr("y",g).text(a).attr("font-size",l+"px").attr("font-family",c)}function s(t,n,e){var i={hasNeedle:!1,outerNeedle:!1,needleColor:"gray",needleStartValue:0,needleUpdateSpeed:1e3,arcColors:[],arcDelimiters:[],arcOverEffect:!0,arcPadding:0,arcPaddingColor:void 0,arcLabels:[],arcLabelFontSize:void 0,rangeLabel:[],centralLabel:"",rangeLabelFontSize:void 0,labelsFont:"Roboto,Helvetica Neue,sans-serif"},u=Object.assign(i,e),s=u.hasNeedle,h=u.needleColor,p=u.needleUpdateSpeed,b=u.arcColors,g=u.arcDelimiters,y=u.arcOverEffect,_=u.arcPadding,m=u.arcPaddingColor,x=u.arcLabels,w=u.arcLabelFontSize,M=u.rangeLabel,k=u.centralLabel,N=u.rangeLabelFontSize,A=u.labelsFont,S=u.outerNeedle,T=u.needleStartValue;if(v.paramChecker(g,b,M)){b=r(g,b);var E=.075*n,C=.5*n-2*E,P=n-2*E,z=.75*C,R=l.select(t).append("svg").attr("width",P+2*E).attr("height",C+4*E);a(R,C,E,b,z,g,y,_,m,x,w,A);var q=null;return s&&(q=c(R,C,E,h,z,k,S,T),o(R,C,E,h,k,S)),f(R,n,C,E,z,M,k,N,A),new d.Gauge(R,p,q)}}Object.defineProperty(n,"__esModule",{value:!0});var l=e(100),h=e(363);e(537);var d=e(193),p=e(194),v=e(195);n.arcColorsModifier=r,n.needleValueModifier=i,n.perc2RadWithShift=u,n.arcOutline=a,n.needleBaseOutline=o,n.needleOutline=c,n.labelOutline=f,n.gaugeChart=s},function(t,n,e){"use strict";var r=e(24);n.a=function(t,n,e){if(null==e&&(e=r.a),i=t.length){if((n=+n)<=0||i<2)return+e(t[0],0,t);if(n>=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,a=Math.floor(u),o=+e(t[a],a,t);return o+(+e(t[a+1],a+1,t)-o)*(u-a)}}},function(t,n,e){"use strict";function r(){}function i(t,n){var e=new r;if(t instanceof r)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var i,u=-1,a=t.length;if(null==n)for(;++u<a;)e.set(u,t[u]);else for(;++u<a;)e.set(n(i=t[u],u,t),i)}else if(t)for(var o in t)e.set(o,t[o]);return e}e.d(n,"b",function(){return u});var u="$";r.prototype=i.prototype={constructor:r,has:function(t){return u+t in this},get:function(t){return this[u+t]},set:function(t,n){return this[u+t]=n,this},remove:function(t){var n=u+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===u&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===u&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===u&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===u&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===u&&++t;return t},empty:function(){for(var t in this)if(t[0]===u)return!1;return!0},each:function(t){for(var n in this)n[0]===u&&t(this[n],n.slice(1),this)}},n.a=i},function(t,n,e){"use strict";function r(){}function i(t){var n;return t=(t+"").trim().toLowerCase(),(n=x.exec(t))?(n=parseInt(n[1],16),new f(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=w.exec(t))?u(parseInt(n[1],16)):(n=M.exec(t))?new f(n[1],n[2],n[3],1):(n=k.exec(t))?new f(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=N.exec(t))?a(n[1],n[2],n[3],n[4]):(n=A.exec(t))?a(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=S.exec(t))?s(n[1],n[2]/100,n[3]/100,1):(n=T.exec(t))?s(n[1],n[2]/100,n[3]/100,n[4]):E.hasOwnProperty(t)?u(E[t]):"transparent"===t?new f(NaN,NaN,NaN,0):null}function u(t){return new f(t>>16&255,t>>8&255,255&t,1)}function a(t,n,e,r){return r<=0&&(t=n=e=NaN),new f(t,n,e,r)}function o(t){return t instanceof r||(t=i(t)),t?(t=t.rgb(),new f(t.r,t.g,t.b,t.opacity)):new f}function c(t,n,e,r){return 1===arguments.length?o(t):new f(t,n,e,null==r?1:r)}function f(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function s(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new d(t,n,e,r)}function l(t){if(t instanceof d)return new d(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=i(t)),!t)return new d;if(t instanceof d)return t;t=t.rgb();var n=t.r/255,e=t.g/255,u=t.b/255,a=Math.min(n,e,u),o=Math.max(n,e,u),c=NaN,f=o-a,s=(o+a)/2;return f?(c=n===o?(e-u)/f+6*(e<u):e===o?(u-n)/f+2:(n-e)/f+4,f/=s<.5?o+a:2-o-a,c*=60):f=s>0&&s<1?0:c,new d(c,f,s,t.opacity)}function h(t,n,e,r){return 1===arguments.length?l(t):new d(t,n,e,null==r?1:r)}function d(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function p(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}n.f=r,e.d(n,"h",function(){return b}),e.d(n,"g",function(){return g}),n.a=i,n.e=o,n.b=c,n.d=f,n.c=h;var v=e(59),b=.7,g=1/b,y="\\s*([+-]?\\d+)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",m="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,w=/^#([0-9a-f]{6})$/,M=new RegExp("^rgb\\("+[y,y,y]+"\\)$"),k=new RegExp("^rgb\\("+[m,m,m]+"\\)$"),N=new RegExp("^rgba\\("+[y,y,y,_]+"\\)$"),A=new RegExp("^rgba\\("+[m,m,m,_]+"\\)$"),S=new RegExp("^hsl\\("+[_,m,m]+"\\)$"),T=new RegExp("^hsla\\("+[_,m,m,_]+"\\)$"),E={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};e.i(v.a)(r,i,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),e.i(v.a)(f,c,e.i(v.b)(r,{brighter:function(t){return t=null==t?g:Math.pow(g,t),new f(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?b:Math.pow(b,t),new f(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),e.i(v.a)(d,h,e.i(v.b)(r,{brighter:function(t){return t=null==t?g:Math.pow(g,t),new d(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?b:Math.pow(b,t),new d(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new f(p(t>=240?t-240:t+120,i,r),p(t,i,r),p(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}}))},function(t,n,e){"use strict";function r(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}n.b=r,n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";var r=e(236);e.d(n,"a",function(){return r.a});var i=e(116);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(62);e.d(n,"a",function(){return r.a});var i=e(238);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b}),e.d(n,"d",function(){return i.c}),e.d(n,"e",function(){return i.d});var u=e(239);e.d(n,"f",function(){return u.a}),e.d(n,"g",function(){return u.b}),e.d(n,"h",function(){return u.c}),e.d(n,"i",function(){return u.d})},function(t,n,e){"use strict";function r(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function i(t,n){var e=r(t);return function(r,i){return n(e(r),i,t)}}function u(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}var a={},o={},c=34,f=10,s=13;n.a=function(t){function n(t,n){var u,a,o=e(t,function(t,e){if(u)return u(t,e-1);a=t,u=n?i(t,n):r(t)});return o.columns=a||[],o}function e(t,n){function e(){if(d)return o;if(p)return p=!1,a;var n,e,r=l;if(t.charCodeAt(r)===c){for(;l++<u&&t.charCodeAt(l)!==c||t.charCodeAt(++l)===c;);return(n=l)>=u?d=!0:(e=t.charCodeAt(l++))===f?p=!0:e===s&&(p=!0,t.charCodeAt(l)===f&&++l),t.slice(r+1,n-1).replace(/""/g,'"')}for(;l<u;){if((e=t.charCodeAt(n=l++))===f)p=!0;else if(e===s)p=!0,t.charCodeAt(l)===f&&++l;else if(e!==b)continue;return t.slice(r,n)}return d=!0,t.slice(r,u)}var r,i=[],u=t.length,l=0,h=0,d=u<=0,p=!1;for(t.charCodeAt(u-1)===f&&--u,t.charCodeAt(u-1)===s&&--u;(r=e())!==o;){for(var v=[];r!==a&&r!==o;)v.push(r),r=e();n&&null==(v=n(v,h++))||i.push(v)}return i}function l(n,e){return null==e&&(e=u(n)),[e.map(p).join(t)].concat(n.map(function(n){return e.map(function(t){return p(n[t])}).join(t)})).join("\n")}function h(t){return t.map(d).join("\n")}function d(n){return n.map(p).join(t)}function p(t){return null==t?"":v.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}var v=new RegExp('["'+t+"\n\r]"),b=t.charCodeAt(0);return{parse:n,parseRows:e,format:l,formatRows:h}}},function(t,n,e){"use strict";n.a=function(){return 1e-6*(Math.random()-.5)}},function(t,n,e){"use strict";var r=e(258);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b}),e.d(n,"c",function(){return r.c});var i=e(123);e.d(n,"d",function(){return i.a});var u=e(121);e.d(n,"e",function(){return u.a});var a=e(264);e.d(n,"f",function(){return a.a});var o=e(265);e.d(n,"g",function(){return o.a});var c=e(266);e.d(n,"h",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";function r(t){var n=0,r=i.a/3,a=e.i(u.b)(t),o=a(n,r);return o.parallels=function(t){return arguments.length?a(n=t[0]*i.g,r=t[1]*i.g):[n*i.h,r*i.h]},o}n.a=r;var i=e(0),u=e(10)},function(t,n,e){"use strict";function r(t,n){function r(t,n){var r=e.i(i.n)(c-2*o*e.i(i.d)(n))/o;return[r*e.i(i.d)(t*=o),f-r*e.i(i.c)(t)]}var u=e.i(i.d)(t),o=(u+e.i(i.d)(n))/2;if(e.i(i.p)(o)<i.o)return e.i(a.a)(t);var c=1+u*(2*o-u),f=e.i(i.n)(c)/o;return r.invert=function(t,n){var r=f-n;return[e.i(i.e)(t,e.i(i.p)(r))/o*e.i(i.q)(r),e.i(i.f)((c-(t*t+r*r)*o*o)/(2*o))]},r}n.b=r;var i=e(0),u=e(67),a=e(287);n.a=function(){return e.i(u.a)(r).scale(155.424).center([0,33.6442])}},function(t,n,e){"use strict";function r(t,n,r){var i=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=i&&t.clipExtent(null),e.i(c.a)(r,t.stream(f.a)),n(f.a.result()),null!=i&&t.clipExtent(i),t}function i(t,n,e){return r(t,function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],u=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),a=+n[0][0]+(r-u*(e[1][0]+e[0][0]))/2,o=+n[0][1]+(i-u*(e[1][1]+e[0][1]))/2;t.scale(150*u).translate([a,o])},e)}function u(t,n,e){return i(t,[[0,0],n],e)}function a(t,n,e){return r(t,function(e){var r=+n,i=r/(e[1][0]-e[0][0]),u=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([u,a])},e)}function o(t,n,e){return r(t,function(e){var r=+n,i=r/(e[1][1]-e[0][1]),u=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([u,a])},e)}n.a=i,n.b=u,n.c=a,n.d=o;var c=e(15),f=e(134)},function(t,n,e){"use strict";function r(t,n){return[t,e.i(u.i)(e.i(u.j)((u.k+n)/2))]}function i(t){function n(){var n=u.a*h(),o=s(e.i(a.a)(s.rotate()).invert([0,0]));return p(null==v?[[o[0]-n,o[1]-n],[o[0]+n,o[1]+n]]:t===r?[[Math.max(o[0]-n,v),i],[Math.min(o[0]+n,c),f]]:[[v,Math.max(o[1]-n,i)],[c,Math.min(o[1]+n,f)]])}var i,c,f,s=e.i(o.a)(t),l=s.center,h=s.scale,d=s.translate,p=s.clipExtent,v=null;return s.scale=function(t){return arguments.length?(h(t),n()):h()},s.translate=function(t){return arguments.length?(d(t),n()):d()},s.center=function(t){return arguments.length?(l(t),n()):l()},s.clipExtent=function(t){return arguments.length?(null==t?v=i=c=f=null:(v=+t[0][0],i=+t[0][1],c=+t[1][0],f=+t[1][1]),n()):null==v?null:[[v,i],[c,f]]},n()}n.b=r,n.c=i;var u=e(0),a=e(39),o=e(10);r.invert=function(t,n){return[t,2*e.i(u.l)(e.i(u.m)(n))-u.k]},n.a=function(){return i(r).scale(961/u.b)}},function(t,n,e){"use strict";function r(t){return null==t?null:i(t)}function i(t){if("function"!=typeof t)throw new Error;return t}n.b=r,n.a=i},function(t,n,e){"use strict";function r(t,n){var e,r,i,a,f,s=new c(t),l=+t.value&&(s.value=t.value),h=[s];for(null==n&&(n=u);e=h.pop();)if(l&&(e.value=+e.data.value),(i=n(e.data))&&(f=i.length))for(e.children=new Array(f),a=f-1;a>=0;--a)h.push(r=e.children[a]=new c(i[a])),r.parent=e,r.depth=e.depth+1;return s.eachBefore(o)}function i(){return r(this).eachBefore(a)}function u(t){return t.children}function a(t){t.data=t.data.data}function o(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}n.a=r,n.c=o,n.b=c;var f=e(299),s=e(301),l=e(303),h=e(302),d=e(308),p=e(307),v=e(306),b=e(298),g=e(300),y=e(304),_=e(305);c.prototype=r.prototype={constructor:c,count:f.a,each:s.a,eachAfter:h.a,eachBefore:l.a,sum:d.a,sort:p.a,path:v.a,ancestors:b.a,descendants:g.a,leaves:y.a,links:_.a,copy:i}},function(t,n,e){"use strict";function r(t,n,r,a,o,c){for(var f,s,l,h,d,p,v,b,g,y,_,m=[],x=n.children,w=0,M=0,k=x.length,N=n.value;w<k;){l