=0&&(r=e.slice(o+1),e=e.slice(0,o)),{type:e,name:r}})}function En(t){return function(){var e=this.__on;if(e){for(var r,o=0,d=-1,p=e.length;o=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var nr=[null];function Nn(t,e){this._groups=t,this._parents=e}function Ln(){return new Nn([[document.documentElement]],nr)}Nn.prototype=Ln.prototype={constructor:Nn,select:function(t){typeof t!="function"&&(t=Et(t));for(var e=this._groups,r=e.length,o=new Array(r),d=0;d=Nt&&(Nt=Wt+1);!(ot=vt[Nt])&&++Nt=0;)(o=d[p])&&(m&&4^o.compareDocumentPosition(m)&&m.parentNode.insertBefore(o,m),m=o);return this},sort:function(t){function e(j,F){return j&&F?t(j.__data__,F.__data__):!j-!F}t||(t=ue);for(var r=this._groups,o=r.length,d=new Array(o),p=0;p1?this.each((e==null?Ht:typeof e=="function"?Dt:qt)(t,e,r==null?"":r)):ne(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?Ke:typeof e=="function"?Re:ye)(t,e)):this.node()[t]},classed:function(t,e){var r=un(t+"");if(arguments.length<2){for(var o=Ve(this.node()),d=-1,p=r.length;++d{}};function mn(){for(var t,e=0,r=arguments.length,o={};e=0&&(o=r.slice(d+1),r=r.slice(0,d)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:o}})}function Zi(t,e){for(var r,o=0,d=t.length;o0)for(var r,o,d=new Array(r),p=0;p=0&&e._call.call(void 0,t),e=e._next;--Rr})()}finally{Rr=0,function(){for(var t,e,r=da,o=1/0;r;)r._call?(o>r._time&&(o=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:da=e);ii=t,uo(o)}(),Nr=0}}function ga(){var t=Fr.now(),e=t-Qr;e>1e3&&(Jr-=e,Qr=t)}function uo(t){Rr||(Ur&&(Ur=clearTimeout(Ur)),t-Nr>24?(t<1/0&&(Ur=setTimeout(Kr,t-Fr.now()-Jr)),Gr&&(Gr=clearInterval(Gr))):(Gr||(Qr=Fr.now(),Gr=setInterval(ga,1e3)),Rr=1,Bi(Kr)))}function hi(t,e,r){var o=new qr;return e=e==null?0:+e,o.restart(d=>{o.stop(),t(d+e)},e,r),o}qr.prototype=pa.prototype={constructor:qr,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?li():+r)+(e==null?0:+e),this._next||ii===this||(ii?ii._next=this:da=this,ii=this),this._call=t,this._time=r,uo()},stop:function(){this._call&&(this._call=null,this._time=1/0,uo())}};var en=ko("start","end","cancel","interrupt"),Qn=[];function Mn(t,e,r,o,d,p){var m=t.__transition;if(m){if(r in m)return}else t.__transition={};(function(b,S,T){var B,j=b.__transition;function F(yt){var vt,xt,mt,ot;if(T.state!==1)return it();for(vt in j)if((ot=j[vt]).name===T.name){if(ot.state===3)return hi(F);ot.state===4?(ot.state=6,ot.timer.stop(),ot.on.call("interrupt",b,b.__data__,ot.index,ot.group),delete j[vt]):+vt0)throw new Error("too late; already scheduled");return r}function Jn(t,e){var r=gt(t,e);if(r.state>3)throw new Error("too late; already running");return r}function gt(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Xr(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var Zt,Li=180/Math.PI,ua={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Wa(t,e,r,o,d,p){var m,b,S;return(m=Math.sqrt(t*t+e*e))&&(t/=m,e/=m),(S=t*r+e*o)&&(r-=t*S,o-=e*S),(b=Math.sqrt(r*r+o*o))&&(r/=b,o/=b,S/=b),t*o180?B+=360:B-T>180&&(T+=360),F.push({i:j.push(d(j)+"rotate(",null,o)-2,x:Xr(T,B)})):B&&j.push(d(j)+"rotate("+B+o)}(p.rotate,m.rotate,b,S),function(T,B,j,F){T!==B?F.push({i:j.push(d(j)+"skewX(",null,o)-2,x:Xr(T,B)}):B&&j.push(d(j)+"skewX("+B+o)}(p.skewX,m.skewX,b,S),function(T,B,j,F,U,it){if(T!==j||B!==F){var yt=U.push(d(U)+"scale(",null,",",null,")");it.push({i:yt-4,x:Xr(T,j)},{i:yt-2,x:Xr(B,F)})}else j===1&&F===1||U.push(d(U)+"scale("+j+","+F+")")}(p.scaleX,p.scaleY,m.scaleX,m.scaleY,b,S),p=m=null,function(T){for(var B,j=-1,F=S.length;++j>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?ei(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?ei(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Zr.exec(t))?new Mi(e[1],e[2],e[3],1):(e=Ji.exec(t))?new Mi(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=zi.exec(t))?ei(e[1],e[2],e[3],e[4]):(e=Ii.exec(t))?ei(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ho.exec(t))?fo(e[1],e[2]/100,e[3]/100,1):(e=Rt.exec(t))?fo(e[1],e[2]/100,e[3]/100,e[4]):je.hasOwnProperty(t)?bi(je[t]):t==="transparent"?new Mi(NaN,NaN,NaN,0):null}function bi(t){return new Mi(t>>16&255,t>>8&255,255&t,1)}function ei(t,e,r,o){return o<=0&&(t=e=r=NaN),new Mi(t,e,r,o)}function cc(t){return t instanceof mr||(t=_r(t)),t?new Mi((t=t.rgb()).r,t.g,t.b,t.opacity):new Mi}function xi(t,e,r,o){return arguments.length===1?cc(t):new Mi(t,e,r,o==null?1:o)}function Mi(t,e,r,o){this.r=+t,this.g=+e,this.b=+r,this.opacity=+o}function uc(){return"#"+Kc(this.r)+Kc(this.g)+Kc(this.b)}function qa(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"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))+(t===1?")":", "+t+")")}function Kc(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function fo(t,e,r,o){return o<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Wi(t,e,r,o)}function tu(t){if(t instanceof Wi)return new Wi(t.h,t.s,t.l,t.opacity);if(t instanceof mr||(t=_r(t)),!t)return new Wi;if(t instanceof Wi)return t;var e=(t=t.rgb()).r/255,r=t.g/255,o=t.b/255,d=Math.min(e,r,o),p=Math.max(e,r,o),m=NaN,b=p-d,S=(p+d)/2;return b?(m=e===p?(r-o)/b+6*(r0&&S<1?0:m,new Wi(m,b,S,t.opacity)}function Wi(t,e,r,o){this.h=+t,this.s=+e,this.l=+r,this.opacity=+o}function ni(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Na(mr,_r,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Fe,formatHex:Fe,formatHsl:function(){return tu(this).formatHsl()},formatRgb:vr,toString:vr}),Na(Mi,xi,Ha(mr,{brighter:function(t){return t=t==null?_i:Math.pow(_i,t),new Mi(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Sr:Math.pow(Sr,t),new Mi(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:uc,formatHex:uc,formatRgb:qa,toString:qa})),Na(Wi,function(t,e,r,o){return arguments.length===1?tu(t):new Wi(t,e,r,o==null?1:o)},Ha(mr,{brighter:function(t){return t=t==null?_i:Math.pow(_i,t),new Wi(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Sr:Math.pow(Sr,t),new Wi(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,r=this.l,o=r+(r<.5?r:1-r)*e,d=2*r-o;return new Mi(ni(t>=240?t-240:t+120,d,o),ni(t,d,o),ni(t<120?t+240:t-120,d,o),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},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const tl=t=>()=>t;function el(t,e){var r=e-t;return r?function(o,d){return function(p){return o+p*d}}(t,r):tl(isNaN(t)?e:t)}const nl=function t(e){var r=function(d){return(d=+d)==1?el:function(p,m){return m-p?function(b,S,T){return b=Math.pow(b,T),S=Math.pow(S,T)-b,T=1/T,function(B){return Math.pow(b+B*S,T)}}(p,m,d):tl(isNaN(p)?m:p)}}(e);function o(d,p){var m=r((d=xi(d)).r,(p=xi(p)).r),b=r(d.g,p.g),S=r(d.b,p.b),T=el(d.opacity,p.opacity);return function(B){return d.r=m(B),d.g=b(B),d.b=S(B),d.opacity=T(B),d+""}}return o.gamma=t,o}(1);var $a=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rl=new RegExp($a.source,"g");function il(t,e){var r,o,d,p=$a.lastIndex=rl.lastIndex=0,m=-1,b=[],S=[];for(t+="",e+="";(r=$a.exec(t))&&(o=rl.exec(e));)(d=o.index)>p&&(d=e.slice(p,d),b[m]?b[m]+=d:b[++m]=d),(r=r[0])===(o=o[0])?b[m]?b[m]+=o:b[++m]=o:(b[++m]=null,S.push({i:m,x:Xr(r,o)})),p=rl.lastIndex;return p=0&&(b=b.slice(0,S)),!b||b==="start"})}(e)?Be:Jn;return function(){var m=p(this,t),b=m.on;b!==o&&(d=(o=b).copy()).on(e,r),m.on=d}}var Td=ln.prototype.constructor;function ya(t){return function(){this.style.removeProperty(t)}}function Ed(t,e,r){return function(o){this.style.setProperty(t,e.call(this,o),r)}}function Ah(t,e,r){var o,d;function p(){var m=e.apply(this,arguments);return m!==d&&(o=(d=m)&&Ed(t,m,r)),o}return p._value=e,p}function Dh(t){return function(e){this.textContent=t.call(this,e)}}function Co(t){var e,r;function o(){var d=t.apply(this,arguments);return d!==r&&(e=(r=d)&&Dh(d)),e}return o._value=t,o}var ru=0;function Ga(t,e,r,o){this._groups=t,this._parents=e,this._name=r,this._id=o}function iu(){return++ru}var ma=ln.prototype;Ga.prototype={constructor:Ga,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Et(t));for(var o=this._groups,d=o.length,p=new Array(d),m=0;m2&&o.state<5,o.state=6,o.timer.stop(),o.on.call(d?"interrupt":"cancel",e,e.__data__,o.index,o.group),delete m[p]):b=!1;b&&delete e.__transition}})(this,t)})},ln.prototype.transition=function(t){var e,r;t instanceof Ga?(e=t._id,t=t._name):(e=iu(),(r=As).time=li(),t=t==null?null:t+"");for(var o=this._groups,d=o.length,p=0;p>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?hr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?hr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=$.exec(t))?new ur(e[1],e[2],e[3],1):(e=at.exec(t))?new ur(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Vt.exec(t))?hr(e[1],e[2],e[3],e[4]):(e=fe.exec(t))?hr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=xe.exec(t))?vp(e[1],e[2]/100,e[3]/100,1):(e=Ee.exec(t))?vp(e[1],e[2]/100,e[3]/100,e[4]):Ce.hasOwnProperty(t)?dn(Ce[t]):t==="transparent"?new ur(NaN,NaN,NaN,0):null}function dn(t){return new ur(t>>16&255,t>>8&255,255&t,1)}function hr(t,e,r,o){return o<=0&&(t=e=r=NaN),new ur(t,e,r,o)}function dr(t){return t instanceof di||(t=kn(t)),t?new ur((t=t.rgb()).r,t.g,t.b,t.opacity):new ur}function Br(t,e,r,o){return arguments.length===1?dr(t):new ur(t,e,r,o==null?1:o)}function ur(t,e,r,o){this.r=+t,this.g=+e,this.b=+r,this.opacity=+o}function va(){return"#"+Nh(this.r)+Nh(this.g)+Nh(this.b)}function Ds(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"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))+(t===1?")":", "+t+")")}function Nh(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function vp(t,e,r,o){return o<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Ao(t,e,r,o)}function Oh(t){if(t instanceof Ao)return new Ao(t.h,t.s,t.l,t.opacity);if(t instanceof di||(t=kn(t)),!t)return new Ao;if(t instanceof Ao)return t;var e=(t=t.rgb()).r/255,r=t.g/255,o=t.b/255,d=Math.min(e,r,o),p=Math.max(e,r,o),m=NaN,b=p-d,S=(p+d)/2;return b?(m=e===p?(r-o)/b+6*(r0&&S<1?0:m,new Ao(m,b,S,t.opacity)}function Ao(t,e,r,o){this.h=+t,this.s=+e,this.l=+r,this.opacity=+o}function Bh(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Mo(di,kn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Pe,formatHex:Pe,formatHsl:function(){return Oh(this).formatHsl()},formatRgb:qe,toString:qe}),Mo(ur,Br,Hi(di,{brighter:function(t){return t=t==null?Ba:Math.pow(Ba,t),new ur(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Xa:Math.pow(Xa,t),new ur(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:va,formatHex:va,formatRgb:Ds,toString:Ds})),Mo(Ao,function(t,e,r,o){return arguments.length===1?Oh(t):new Ao(t,e,r,o==null?1:o)},Hi(di,{brighter:function(t){return t=t==null?Ba:Math.pow(Ba,t),new Ao(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Xa:Math.pow(Xa,t),new Ao(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,r=this.l,o=r+(r<.5?r:1-r)*e,d=2*r-o;return new ur(Bh(t>=240?t-240:t+120,d,o),Bh(t,d,o),Bh(t<120?t+240:t-120,d,o),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},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const gm=Math.PI/180,ym=180/Math.PI,_p=.96422,bp=.82521,mm=4/29,xp=6/29,Sd=3*xp*xp;function wp(t){if(t instanceof ts)return new ts(t.l,t.a,t.b,t.opacity);if(t instanceof Ns)return vm(t);t instanceof ur||(t=dr(t));var e,r,o=Sp(t.r),d=Sp(t.g),p=Sp(t.b),m=kp((.2225045*o+.7168786*d+.0606169*p)/1);return o===d&&d===p?e=r=m:(e=kp((.4360747*o+.3850649*d+.1430804*p)/_p),r=kp((.0139322*o+.0971045*d+.7141733*p)/bp)),new ts(116*m-16,500*(e-m),200*(m-r),t.opacity)}function ts(t,e,r,o){this.l=+t,this.a=+e,this.b=+r,this.opacity=+o}function kp(t){return t>.008856451679035631?Math.pow(t,1/3):t/Sd+mm}function Tp(t){return t>xp?t*t*t:Sd*(t-mm)}function Ep(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Sp(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function u4(t){if(t instanceof Ns)return new Ns(t.h,t.c,t.l,t.opacity);if(t instanceof ts||(t=wp(t)),t.a===0&&t.b===0)return new Ns(NaN,0()=>t;function _m(t,e){return function(r){return t+r*e}}function Lh(t,e){var r=e-t;return r?_m(t,r):Mp(isNaN(t)?e:t)}function l4(t){return function(e,r){var o=t((e=Cp(e)).h,(r=Cp(r)).h),d=Lh(e.c,r.c),p=Lh(e.l,r.l),m=Lh(e.opacity,r.opacity);return function(b){return e.h=o(b),e.c=d(b),e.l=p(b),e.opacity=m(b),e+""}}}const h4=l4(function(t,e){var r=e-t;return r?_m(t,r>180||r<-180?r-360*Math.round(r/360):r):Mp(isNaN(t)?e:t)});var Ap=Math.sqrt(50),Dp=Math.sqrt(10),Np=Math.sqrt(2);function Op(t,e,r){var o=(e-t)/Math.max(0,r),d=Math.floor(Math.log(o)/Math.LN10),p=o/Math.pow(10,d);return d>=0?(p>=Ap?10:p>=Dp?5:p>=Np?2:1)*Math.pow(10,d):-Math.pow(10,-d)/(p>=Ap?10:p>=Dp?5:p>=Np?2:1)}function Bp(t,e,r){var o=Math.abs(e-t)/Math.max(0,r),d=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),p=o/d;return p>=Ap?d*=10:p>=Dp?d*=5:p>=Np&&(d*=2),ee?1:t>=e?0:NaN}function Ip(t){let e=t,r=t,o=t;function d(p,m,b=0,S=p.length){if(b>>1;o(p[T],m)<0?b=T+1:S=T}while(bt(p)-m,r=Lp,o=(p,m)=>Lp(t(p),m)),{left:d,center:function(p,m,b=0,S=p.length){const T=d(p,m,b,S-1);return T>b&&e(p[T-1],m)>-e(p[T],m)?T-1:T},right:function(p,m,b=0,S=p.length){if(b>>1;o(p[T],m)<=0?b=T+1:S=T}while(b>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?Od(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?Od(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=g4.exec(t))?new Za(e[1],e[2],e[3],1):(e=Fp.exec(t))?new Za(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=y4.exec(t))?Od(e[1],e[2],e[3],e[4]):(e=bm.exec(t))?Od(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Pp.exec(t))?wm(e[1],e[2]/100,e[3]/100,1):(e=xm.exec(t))?wm(e[1],e[2]/100,e[3]/100,e[4]):Dd.hasOwnProperty(t)?Nd(Dd[t]):t==="transparent"?new Za(NaN,NaN,NaN,0):null}function Nd(t){return new Za(t>>16&255,t>>8&255,255&t,1)}function Od(t,e,r,o){return o<=0&&(t=e=r=NaN),new Za(t,e,r,o)}function Bd(t){return t instanceof ns||(t=cl(t)),t?new Za((t=t.rgb()).r,t.g,t.b,t.opacity):new Za}function ul(t,e,r,o){return arguments.length===1?Bd(t):new Za(t,e,r,o==null?1:o)}function Za(t,e,r,o){this.r=+t,this.g=+e,this.b=+r,this.opacity=+o}function is(){return"#"+Ld(this.r)+Ld(this.g)+Ld(this.b)}function Yp(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"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))+(t===1?")":", "+t+")")}function Ld(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function wm(t,e,r,o){return o<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new La(t,e,r,o)}function km(t){if(t instanceof La)return new La(t.h,t.s,t.l,t.opacity);if(t instanceof ns||(t=cl(t)),!t)return new La;if(t instanceof La)return t;var e=(t=t.rgb()).r/255,r=t.g/255,o=t.b/255,d=Math.min(e,r,o),p=Math.max(e,r,o),m=NaN,b=p-d,S=(p+d)/2;return b?(m=e===p?(r-o)/b+6*(r0&&S<1?0:m,new La(m,b,S,t.opacity)}function La(t,e,r,o){this.h=+t,this.s=+e,this.l=+r,this.opacity=+o}function jp(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Cd(ns,cl,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:ou,formatHex:ou,formatHsl:function(){return km(this).formatHsl()},formatRgb:su,toString:su}),Cd(Za,ul,Rp(ns,{brighter:function(t){return t=t==null?Ad:Math.pow(Ad,t),new Za(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Md:Math.pow(Md,t),new Za(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:is,formatHex:is,formatRgb:Yp,toString:Yp})),Cd(La,function(t,e,r,o){return arguments.length===1?km(t):new La(t,e,r,o==null?1:o)},Rp(ns,{brighter:function(t){return t=t==null?Ad:Math.pow(Ad,t),new La(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Md:Math.pow(Md,t),new La(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,r=this.l,o=r+(r<.5?r:1-r)*e,d=2*r-o;return new Za(jp(t>=240?t-240:t+120,d,o),jp(t,d,o),jp(t<120?t+240:t-120,d,o),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},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const Up=t=>()=>t;function Tm(t,e){var r=e-t;return r?function(o,d){return function(p){return o+p*d}}(t,r):Up(isNaN(t)?e:t)}const Id=function t(e){var r=function(d){return(d=+d)==1?Tm:function(p,m){return m-p?function(b,S,T){return b=Math.pow(b,T),S=Math.pow(S,T)-b,T=1/T,function(B){return Math.pow(b+B*S,T)}}(p,m,d):Up(isNaN(p)?m:p)}}(e);function o(d,p){var m=r((d=ul(d)).r,(p=ul(p)).r),b=r(d.g,p.g),S=r(d.b,p.b),T=Tm(d.opacity,p.opacity);return function(B){return d.r=m(B),d.g=b(B),d.b=S(B),d.opacity=T(B),d+""}}return o.gamma=t,o}(1);function m4(t,e){var r,o=e?e.length:0,d=t?Math.min(o,t.length):0,p=new Array(d),m=new Array(o);for(r=0;rp&&(d=e.slice(p,d),b[m]?b[m]+=d:b[++m]=d),(r=r[0])===(o=o[0])?b[m]?b[m]+=o:b[++m]=o:(b[++m]=null,S.push({i:m,x:Rd(r,o)})),p=Ih.lastIndex;return pU&&(it=F,F=U,U=it),T=function(vt){return Math.max(F,Math.min(U,vt))}),o=yt>2?qp:b4,d=p=null,j}function j(F){return F==null||isNaN(F=+F)?r:(d||(d=o(m.map(t),b,S)))(t(T(F)))}return j.invert=function(F){return T(e((p||(p=o(b,m.map(t),Rd)))(F)))},j.domain=function(F){return arguments.length?(m=Array.from(F,Cm),B()):m.slice()},j.range=function(F){return arguments.length?(b=Array.from(F),B()):b.slice()},j.rangeRound=function(F){return b=Array.from(F),S=Pd,B()},j.clamp=function(F){return arguments.length?(T=!!F||ll,B()):T!==ll},j.interpolate=function(F){return arguments.length?(S=F,B()):S},j.unknown=function(F){return arguments.length?(r=F,j):r},function(F,U){return t=F,e=U,B()}}()(ll,ll)}function Os(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Mm,$p=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rh(t){if(!(e=$p.exec(t)))throw new Error("invalid format: "+t);var e;return new Bs({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Bs(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}function Ud(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,o=t.slice(0,r);return[o.length>1?o[0]+o.slice(2):o,+t.slice(r+1)]}function hl(t){return(t=Ud(Math.abs(t)))?t[1]:NaN}function Am(t,e){var r=Ud(t,e);if(!r)return t+"";var o=r[0],d=r[1];return d<0?"0."+new Array(-d).join("0")+o:o.length>d+1?o.slice(0,d+1)+"."+o.slice(d+1):o+new Array(d-o.length+2).join("0")}Rh.prototype=Bs.prototype,Bs.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Dm={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Am(100*t,e),r:Am,s:function(t,e){var r=Ud(t,e);if(!r)return t+"";var o=r[0],d=r[1],p=d-(Mm=3*Math.max(-8,Math.min(8,Math.floor(d/3))))+1,m=o.length;return p===m?o:p>m?o+new Array(p-m+1).join("0"):p>0?o.slice(0,p)+"."+o.slice(p):"0."+new Array(1-p).join("0")+Ud(t,Math.max(0,e+p-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Nm(t){return t}var Vp,Qa,Fh,Gp=Array.prototype.map,Ls=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function x4(t){var e=t.domain;return t.ticks=function(r){var o=e();return function(d,p,m){var b,S,T,B,j=-1;if(m=+m,(d=+d)==(p=+p)&&m>0)return[d];if((b=p0){let F=Math.round(d/B),U=Math.round(p/B);for(F*Bp&&--U,T=new Array(S=U-F+1);++jp&&--U,T=new Array(S=U-F+1);++j0;){if((d=Op(S,T,r))===o)return p[m]=S,p[b]=T,e(p);if(d>0)S=Math.floor(S/d)*d,T=Math.ceil(T/d)*d;else{if(!(d<0))break;S=Math.ceil(S*d)/d,T=Math.floor(T*d)/d}o=d}return t},t}function Om(){var t=jd();return t.copy=function(){return Yd(t,Om())},Os.apply(t,arguments),x4(t)}Vp=function(t){var e,r,o=t.grouping===void 0||t.thousands===void 0?Nm:(e=Gp.call(t.grouping,Number),r=t.thousands+"",function(F,U){for(var it=F.length,yt=[],vt=0,xt=e[0],mt=0;it>0&&xt>0&&(mt+xt+1>U&&(xt=Math.max(1,U-mt)),yt.push(F.substring(it-=xt,it+xt)),!((mt+=xt+1)>U));)xt=e[vt=(vt+1)%e.length];return yt.reverse().join(r)}),d=t.currency===void 0?"":t.currency[0]+"",p=t.currency===void 0?"":t.currency[1]+"",m=t.decimal===void 0?".":t.decimal+"",b=t.numerals===void 0?Nm:function(F){return function(U){return U.replace(/[0-9]/g,function(it){return F[+it]})}}(Gp.call(t.numerals,String)),S=t.percent===void 0?"%":t.percent+"",T=t.minus===void 0?"\u2212":t.minus+"",B=t.nan===void 0?"NaN":t.nan+"";function j(F){var U=(F=Rh(F)).fill,it=F.align,yt=F.sign,vt=F.symbol,xt=F.zero,mt=F.width,ot=F.comma,Wt=F.precision,Nt=F.trim,ft=F.type;ft==="n"?(ot=!0,ft="g"):Dm[ft]||(Wt===void 0&&(Wt=12),Nt=!0,ft="g"),(xt||U==="0"&&it==="=")&&(xt=!0,U="0",it="=");var Ot=vt==="$"?d:vt==="#"&&/[boxX]/.test(ft)?"0"+ft.toLowerCase():"",te=vt==="$"?p:/[%p]/.test(ft)?S:"",Ct=Dm[ft],wt=/[defgprs%]/.test(ft);function Yt(Mt){var Kt,pt,le,ve=Ot,me=te;if(ft==="c")me=Ct(Mt)+me,Mt="";else{var Ae=(Mt=+Mt)<0||1/Mt<0;if(Mt=isNaN(Mt)?B:Ct(Math.abs(Mt),Wt),Nt&&(Mt=function(fn){t:for(var De,Gn=fn.length,vn=1,yn=-1;vn0&&(yn=0)}return yn>0?fn.slice(0,yn)+fn.slice(De+1):fn}(Mt)),Ae&&+Mt==0&&yt!=="+"&&(Ae=!1),ve=(Ae?yt==="("?yt:T:yt==="-"||yt==="("?"":yt)+ve,me=(ft==="s"?Ls[8+Mm/3]:"")+me+(Ae&&yt==="("?")":""),wt){for(Kt=-1,pt=Mt.length;++Kt(le=Mt.charCodeAt(Kt))||le>57){me=(le===46?m+Mt.slice(Kt+1):Mt.slice(Kt))+me,Mt=Mt.slice(0,Kt);break}}}ot&&!xt&&(Mt=o(Mt,1/0));var He=ve.length+Mt.length+me.length,ze=He>1)+ve+Mt+me+ze.slice(He);break;default:Mt=ze+ve+Mt+me}return b(Mt)}return Wt=Wt===void 0?6:/[gprs]/.test(ft)?Math.max(1,Math.min(21,Wt)):Math.max(0,Math.min(20,Wt)),Yt.toString=function(){return F+""},Yt}return{format:j,formatPrefix:function(F,U){var it=j(((F=Rh(F)).type="f",F)),yt=3*Math.max(-8,Math.min(8,Math.floor(hl(U)/3))),vt=Math.pow(10,-yt),xt=Ls[8+yt/3];return function(mt){return it(vt*mt)+xt}}}}({thousands:",",grouping:[3],currency:["$",""]}),Qa=Vp.format,Fh=Vp.formatPrefix;class Bm extends Map{constructor(e,r=Lm){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(const[o,d]of e)this.set(o,d)}get(e){return super.get(Xp(this,e))}has(e){return super.has(Xp(this,e))}set(e,r){return super.set(function({_intern:o,_key:d},p){const m=d(p);return o.has(m)?o.get(m):(o.set(m,p),p)}(this,e),r)}delete(e){return super.delete(function({_intern:r,_key:o},d){const p=o(d);return r.has(p)&&(d=r.get(p),r.delete(p)),d}(this,e))}}function Xp({_intern:t,_key:e},r){const o=e(r);return t.has(o)?t.get(o):r}function Lm(t){return t!==null&&typeof t=="object"?t.valueOf():t}const Ph=Symbol("implicit");function fc(){var t=new Bm,e=[],r=[],o=Ph;function d(p){let m=t.get(p);if(m===void 0){if(o!==Ph)return o;t.set(p,m=e.push(p)-1)}return r[m%r.length]}return d.domain=function(p){if(!arguments.length)return e.slice();e=[],t=new Bm;for(const m of p)t.has(m)||t.set(m,e.push(m)-1);return d},d.range=function(p){return arguments.length?(r=Array.from(p),d):r.slice()},d.unknown=function(p){return arguments.length?(o=p,d):o},d.copy=function(){return fc(e,r).unknown(o)},Os.apply(d,arguments),d}const fl=1e3,dc=6e4,Yh=36e5,Zp=864e5,Qp=6048e5,zd=31536e6;var Wd=new Date,Hd=new Date;function Ri(t,e,r,o){function d(p){return t(p=arguments.length===0?new Date:new Date(+p)),p}return d.floor=function(p){return t(p=new Date(+p)),p},d.ceil=function(p){return t(p=new Date(p-1)),e(p,1),t(p),p},d.round=function(p){var m=d(p),b=d.ceil(p);return p-m0))return T;do T.push(S=new Date(+p)),e(p,b),t(p);while(S=m)for(;t(m),!p(m);)m.setTime(m-1)},function(m,b){if(m>=m)if(b<0)for(;++b<=0;)for(;e(m,-1),!p(m););else for(;--b>=0;)for(;e(m,1),!p(m););})},r&&(d.count=function(p,m){return Wd.setTime(+p),Hd.setTime(+m),t(Wd),t(Hd),Math.floor(r(Wd,Hd))},d.every=function(p){return p=Math.floor(p),isFinite(p)&&p>0?p>1?d.filter(o?function(m){return o(m)%p==0}:function(m){return d.count(0,m)%p==0}):d:null}),d}var qd=Ri(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});qd.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ri(function(e){e.setTime(Math.floor(e/t)*t)},function(e,r){e.setTime(+e+r*t)},function(e,r){return(r-e)/t}):qd:null};const Jp=qd;var Im=Ri(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*fl)},function(t,e){return(e-t)/fl},function(t){return t.getUTCSeconds()});const dl=Im;var w4=Ri(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*fl)},function(t,e){t.setTime(+t+e*dc)},function(t,e){return(e-t)/dc},function(t){return t.getMinutes()});const jh=w4;var Do=Ri(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*fl-t.getMinutes()*dc)},function(t,e){t.setTime(+t+e*Yh)},function(t,e){return(e-t)/Yh},function(t){return t.getHours()});const $d=Do;var Kp=Ri(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*dc)/Zp,t=>t.getDate()-1);const pl=Kp;function Is(t){return Ri(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,r){return(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*dc)/Qp})}var Vd=Is(0),tg=Is(1);Is(2),Is(3);var pc=Is(4);Is(5),Is(6);var as=Ri(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()});const eg=as;var ng=Ri(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()});ng.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ri(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};const Rs=ng;Ri(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*dc)},function(t,e){return(e-t)/dc},function(t){return t.getUTCMinutes()}),Ri(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*Yh)},function(t,e){return(e-t)/Yh},function(t){return t.getUTCHours()});var rg=Ri(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/Zp},function(t){return t.getUTCDate()-1});const Uh=rg;function No(t){return Ri(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+7*r)},function(e,r){return(r-e)/Qp})}var Rm=No(0),Gd=No(1);No(2),No(3);var gl=No(4);No(5),No(6),Ri(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()});var Fm=Ri(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()});Fm.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ri(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};const _a=Fm;function cu(t,e,r,o,d,p){const m=[[dl,1,fl],[dl,5,5e3],[dl,15,15e3],[dl,30,3e4],[p,1,dc],[p,5,3e5],[p,15,9e5],[p,30,18e5],[d,1,Yh],[d,3,108e5],[d,6,216e5],[d,12,432e5],[o,1,Zp],[o,2,1728e5],[r,1,Qp],[e,1,2592e6],[e,3,7776e6],[t,1,zd]];function b(S,T,B){const j=Math.abs(T-S)/B,F=Ip(([,,yt])=>yt).right(m,j);if(F===m.length)return t.every(Bp(S/zd,T/zd,B));if(F===0)return Jp.every(Math.max(Bp(S,T,B),1));const[U,it]=m[j/m[F-1][2][e.toLowerCase(),r]))}function Xd(t,e,r){var o=Fi.exec(e.slice(r,r+1));return o?(t.w=+o[0],r+o[0].length):-1}function sg(t,e,r){var o=Fi.exec(e.slice(r,r+1));return o?(t.u=+o[0],r+o[0].length):-1}function E4(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.U=+o[0],r+o[0].length):-1}function S4(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.V=+o[0],r+o[0].length):-1}function C4(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.W=+o[0],r+o[0].length):-1}function jm(t,e,r){var o=Fi.exec(e.slice(r,r+4));return o?(t.y=+o[0],r+o[0].length):-1}function Um(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.y=+o[0]+(+o[0]>68?1900:2e3),r+o[0].length):-1}function zm(t,e,r){var o=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return o?(t.Z=o[1]?0:-(o[2]+(o[3]||"00")),r+o[0].length):-1}function cg(t,e,r){var o=Fi.exec(e.slice(r,r+1));return o?(t.q=3*o[0]-3,r+o[0].length):-1}function Wm(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.m=o[0]-1,r+o[0].length):-1}function ug(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.d=+o[0],r+o[0].length):-1}function Ia(t,e,r){var o=Fi.exec(e.slice(r,r+3));return o?(t.m=0,t.d=+o[0],r+o[0].length):-1}function $h(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.H=+o[0],r+o[0].length):-1}function uu(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.M=+o[0],r+o[0].length):-1}function Hm(t,e,r){var o=Fi.exec(e.slice(r,r+2));return o?(t.S=+o[0],r+o[0].length):-1}function M4(t,e,r){var o=Fi.exec(e.slice(r,r+3));return o?(t.L=+o[0],r+o[0].length):-1}function A4(t,e,r){var o=Fi.exec(e.slice(r,r+6));return o?(t.L=Math.floor(o[0]/1e3),r+o[0].length):-1}function D4(t,e,r){var o=ag.exec(e.slice(r,r+1));return o?r+o[0].length:-1}function N4(t,e,r){var o=Fi.exec(e.slice(r));return o?(t.Q=+o[0],r+o[0].length):-1}function O4(t,e,r){var o=Fi.exec(e.slice(r));return o?(t.s=+o[0],r+o[0].length):-1}function qm(t,e){return br(t.getDate(),e,2)}function lu(t,e){return br(t.getHours(),e,2)}function $m(t,e){return br(t.getHours()%12||12,e,2)}function B4(t,e){return br(1+pl.count(Rs(t),t),e,3)}function Vm(t,e){return br(t.getMilliseconds(),e,3)}function L4(t,e){return Vm(t,e)+"000"}function I4(t,e){return br(t.getMonth()+1,e,2)}function R4(t,e){return br(t.getMinutes(),e,2)}function F4(t,e){return br(t.getSeconds(),e,2)}function P4(t){var e=t.getDay();return e===0?7:e}function Y4(t,e){return br(Vd.count(Rs(t)-1,t),e,2)}function Gm(t){var e=t.getDay();return e>=4||e===0?pc(t):pc.ceil(t)}function j4(t,e){return t=Gm(t),br(pc.count(Rs(t),t)+(Rs(t).getDay()===4),e,2)}function U4(t){return t.getDay()}function Xm(t,e){return br(tg.count(Rs(t)-1,t),e,2)}function z4(t,e){return br(t.getFullYear()%100,e,2)}function W4(t,e){return br((t=Gm(t)).getFullYear()%100,e,2)}function Zm(t,e){return br(t.getFullYear()%1e4,e,4)}function Qm(t,e){var r=t.getDay();return br((t=r>=4||r===0?pc(t):pc.ceil(t)).getFullYear()%1e4,e,4)}function Jm(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+br(e/60|0,"0",2)+br(e%60,"0",2)}function Km(t,e){return br(t.getUTCDate(),e,2)}function H4(t,e){return br(t.getUTCHours(),e,2)}function tv(t,e){return br(t.getUTCHours()%12||12,e,2)}function gc(t,e){return br(1+Uh.count(_a(t),t),e,3)}function ev(t,e){return br(t.getUTCMilliseconds(),e,3)}function q4(t,e){return ev(t,e)+"000"}function nv(t,e){return br(t.getUTCMonth()+1,e,2)}function $4(t,e){return br(t.getUTCMinutes(),e,2)}function V4(t,e){return br(t.getUTCSeconds(),e,2)}function rv(t){var e=t.getUTCDay();return e===0?7:e}function Zd(t,e){return br(Rm.count(_a(t)-1,t),e,2)}function iv(t){var e=t.getUTCDay();return e>=4||e===0?gl(t):gl.ceil(t)}function Vh(t,e){return t=iv(t),br(gl.count(_a(t),t)+(_a(t).getUTCDay()===4),e,2)}function G4(t){return t.getUTCDay()}function lg(t,e){return br(Gd.count(_a(t)-1,t),e,2)}function X4(t,e){return br(t.getUTCFullYear()%100,e,2)}function Z4(t,e){return br((t=iv(t)).getUTCFullYear()%100,e,2)}function av(t,e){return br(t.getUTCFullYear()%1e4,e,4)}function yl(t,e){var r=t.getUTCDay();return br((t=r>=4||r===0?gl(t):gl.ceil(t)).getUTCFullYear()%1e4,e,4)}function Q4(){return"+0000"}function hg(){return"%"}function ov(t){return+t}function sv(t){return Math.floor(+t/1e3)}function J4(t){return new Date(t)}function K4(t){return t instanceof Date?+t:+new Date(+t)}function cv(t,e,r,o,d,p,m,b,S,T){var B=jd(),j=B.invert,F=B.domain,U=T(".%L"),it=T(":%S"),yt=T("%I:%M"),vt=T("%I %p"),xt=T("%a %d"),mt=T("%b %d"),ot=T("%B"),Wt=T("%Y");function Nt(ft){return(S(ft)=12)]},q:function(Ct){return 1+~~(Ct.getMonth()/3)},Q:ov,s:sv,S:F4,u:P4,U:Y4,V:j4,w:U4,W:Xm,x:null,X:null,y:z4,Y:Zm,Z:Jm,"%":hg},Wt={a:function(Ct){return m[Ct.getUTCDay()]},A:function(Ct){return p[Ct.getUTCDay()]},b:function(Ct){return S[Ct.getUTCMonth()]},B:function(Ct){return b[Ct.getUTCMonth()]},c:null,d:Km,e:Km,f:q4,g:Z4,G:yl,H:H4,I:tv,j:gc,L:ev,m:nv,M:$4,p:function(Ct){return d[+(Ct.getUTCHours()>=12)]},q:function(Ct){return 1+~~(Ct.getUTCMonth()/3)},Q:ov,s:sv,S:V4,u:rv,U:Zd,V:Vh,w:G4,W:lg,x:null,X:null,y:X4,Y:av,Z:Q4,"%":hg},Nt={a:function(Ct,wt,Yt){var Mt=U.exec(wt.slice(Yt));return Mt?(Ct.w=it.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},A:function(Ct,wt,Yt){var Mt=j.exec(wt.slice(Yt));return Mt?(Ct.w=F.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},b:function(Ct,wt,Yt){var Mt=xt.exec(wt.slice(Yt));return Mt?(Ct.m=mt.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},B:function(Ct,wt,Yt){var Mt=yt.exec(wt.slice(Yt));return Mt?(Ct.m=vt.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},c:function(Ct,wt,Yt){return te(Ct,e,wt,Yt)},d:ug,e:ug,f:A4,g:Um,G:jm,H:$h,I:$h,j:Ia,L:M4,m:Wm,M:uu,p:function(Ct,wt,Yt){var Mt=T.exec(wt.slice(Yt));return Mt?(Ct.p=B.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},q:cg,Q:N4,s:O4,S:Hm,u:sg,U:E4,V:S4,w:Xd,W:C4,x:function(Ct,wt,Yt){return te(Ct,r,wt,Yt)},X:function(Ct,wt,Yt){return te(Ct,o,wt,Yt)},y:Um,Y:jm,Z:zm,"%":D4};function ft(Ct,wt){return function(Yt){var Mt,Kt,pt,le=[],ve=-1,me=0,Ae=Ct.length;for(Yt instanceof Date||(Yt=new Date(+Yt));++ve53)return null;"w"in pt||(pt.w=1),"Z"in pt?(Kt=(Mt=ig(zh(pt.y,0,1))).getUTCDay(),Mt=Kt>4||Kt===0?Gd.ceil(Mt):Gd(Mt),Mt=Uh.offset(Mt,7*(pt.V-1)),pt.y=Mt.getUTCFullYear(),pt.m=Mt.getUTCMonth(),pt.d=Mt.getUTCDate()+(pt.w+6)%7):(Kt=(Mt=os(zh(pt.y,0,1))).getDay(),Mt=Kt>4||Kt===0?tg.ceil(Mt):tg(Mt),Mt=pl.offset(Mt,7*(pt.V-1)),pt.y=Mt.getFullYear(),pt.m=Mt.getMonth(),pt.d=Mt.getDate()+(pt.w+6)%7)}else("W"in pt||"U"in pt)&&("w"in pt||(pt.w="u"in pt?pt.u%7:"W"in pt?1:0),Kt="Z"in pt?ig(zh(pt.y,0,1)).getUTCDay():os(zh(pt.y,0,1)).getDay(),pt.m=0,pt.d="W"in pt?(pt.w+6)%7+7*pt.W-(Kt+5)%7:pt.w+7*pt.U-(Kt+6)%7);return"Z"in pt?(pt.H+=pt.Z/100|0,pt.M+=pt.Z%100,ig(pt)):os(pt)}}function te(Ct,wt,Yt,Mt){for(var Kt,pt,le=0,ve=wt.length,me=Yt.length;le=me)return-1;if((Kt=wt.charCodeAt(le++))===37){if(Kt=wt.charAt(le++),!(pt=Nt[Kt in ss?wt.charAt(le++):Kt])||(Mt=pt(Ct,Yt,Mt))<0)return-1}else if(Kt!=Yt.charCodeAt(Mt++))return-1}return Mt}return ot.x=ft(r,ot),ot.X=ft(o,ot),ot.c=ft(e,ot),Wt.x=ft(r,Wt),Wt.X=ft(o,Wt),Wt.c=ft(e,Wt),{format:function(Ct){var wt=ft(Ct+="",ot);return wt.toString=function(){return Ct},wt},parse:function(Ct){var wt=Ot(Ct+="",!1);return wt.toString=function(){return Ct},wt},utcFormat:function(Ct){var wt=ft(Ct+="",Wt);return wt.toString=function(){return Ct},wt},utcParse:function(Ct){var wt=Ot(Ct+="",!0);return wt.toString=function(){return Ct},wt}}}({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"]}),Ym=Wh.format,Wh.parse,Wh.utcFormat,Wh.utcParse;var n5=Array.prototype.find;function r5(){return this.firstElementChild}var dg=Array.prototype.filter;function i5(){return Array.from(this.children)}function fv(t){return new Array(t.length)}function Qd(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function a5(t){return function(){return t}}function Pi(t,e,r,o,d,p){for(var m,b=0,S=e.length,T=p.length;be?1:t>=e?0:NaN}Qd.prototype={constructor:Qd,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 pg="http://www.w3.org/1999/xhtml";const Gh={svg:"http://www.w3.org/2000/svg",xhtml:pg,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function vl(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),Gh.hasOwnProperty(e)?{space:Gh[e],local:t}:t}function pv(t){return function(){this.removeAttribute(t)}}function xa(t){return function(){this.removeAttributeNS(t.space,t.local)}}function s5(t,e){return function(){this.setAttribute(t,e)}}function c5(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function u5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function l5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function gg(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function h5(t){return function(){this.style.removeProperty(t)}}function f5(t,e,r){return function(){this.style.setProperty(t,e,r)}}function d5(t,e,r){return function(){var o=e.apply(this,arguments);o==null?this.style.removeProperty(t):this.style.setProperty(t,o,r)}}function _l(t,e){return t.style.getPropertyValue(e)||gg(t).getComputedStyle(t,null).getPropertyValue(e)}function p5(t){return function(){delete this[t]}}function g5(t,e){return function(){this[t]=e}}function y5(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function gv(t){return t.trim().split(/^|\s+/)}function yg(t){return t.classList||new Xh(t)}function Xh(t){this._node=t,this._names=gv(t.getAttribute("class")||"")}function hu(t,e){for(var r=yg(t),o=-1,d=e.length;++o=0&&(r=e.slice(o+1),e=e.slice(0,o)),{type:e,name:r}})}function Ev(t){return function(){var e=this.__on;if(e){for(var r,o=0,d=-1,p=e.length;o=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var bl=[null];function Lr(t,e){this._groups=t,this._parents=e}function Pr(){return new Lr([[document.documentElement]],bl)}Lr.prototype=Pr.prototype={constructor:Lr,select:function(t){typeof t!="function"&&(t=ml(t));for(var e=this._groups,r=e.length,o=new Array(r),d=0;d=Nt&&(Nt=Wt+1);!(ot=vt[Nt])&&++Nt=0;)(o=d[p])&&(m&&4^o.compareDocumentPosition(m)&&m.parentNode.insertBefore(o,m),m=o);return this},sort:function(t){function e(j,F){return j&&F?t(j.__data__,F.__data__):!j-!F}t||(t=o5);for(var r=this._groups,o=r.length,d=new Array(o),p=0;p1?this.each((e==null?h5:typeof e=="function"?d5:f5)(t,e,r==null?"":r)):_l(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?p5:typeof e=="function"?y5:g5)(t,e)):this.node()[t]},classed:function(t,e){var r=gv(t+"");if(arguments.length<2){for(var o=yg(this.node()),d=-1,p=r.length;++dcs)if(Math.abs(B*b-S*T)>cs&&d){var F=r-p,U=o-m,it=b*b+S*S,yt=F*F+U*U,vt=Math.sqrt(it),xt=Math.sqrt(j),mt=d*Math.tan((ta-Math.acos((it+j-yt)/(2*vt*xt)))/2),ot=mt/xt,Wt=mt/vt;Math.abs(ot-1)>cs&&(this._+="L"+(t+ot*T)+","+(e+ot*B)),this._+="A"+d+","+d+",0,0,"+ +(B*F>T*U)+","+(this._x1=t+Wt*b)+","+(this._y1=e+Wt*S)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,r,o,d,p){t=+t,e=+e,p=!!p;var m=(r=+r)*Math.cos(o),b=r*Math.sin(o),S=t+m,T=e+b,B=1^p,j=p?o-d:d-o;if(r<0)throw new Error("negative radius: "+r);this._x1===null?this._+="M"+S+","+T:(Math.abs(this._x1-S)>cs||Math.abs(this._y1-T)>cs)&&(this._+="L"+S+","+T),r&&(j<0&&(j=j%hn+hn),j>Sv?this._+="A"+r+","+r+",0,1,"+B+","+(t-m)+","+(e-b)+"A"+r+","+r+",0,1,"+B+","+(this._x1=S)+","+(this._y1=T):j>cs&&(this._+="A"+r+","+r+",0,"+ +(j>=ta)+","+B+","+(this._x1=t+r*Math.cos(d))+","+(this._y1=e+r*Math.sin(d))))},rect:function(t,e,r,o){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +o+"h"+-r+"Z"},toString:function(){return this._}};const an=r1;function xr(t){return function(){return t}}var ki=Math.abs,qi=Math.atan2,_c=Math.cos,wa=Math.max,i1=Math.min,wr=Math.sin,Fs=Math.sqrt,ka=1e-12,wl=Math.PI,kl=wl/2,Jh=2*wl;function Oo(t){return t>1?0:t<-1?wl:Math.acos(t)}function bg(t){return t>=1?kl:t<=-1?-kl:Math.asin(t)}function Cv(t){return t.innerRadius}function xg(t){return t.outerRadius}function wg(t){return t.startAngle}function kg(t){return t.endAngle}function a1(t){return t&&t.padAngle}function o1(t,e,r,o,d,p,m,b){var S=r-t,T=o-e,B=m-d,j=b-p,F=j*S-B*T;if(!(F*Fpt*pt+le*le&&(te=wt,Ct=Yt),{cx:te,cy:Ct,x01:-B,y01:-j,x11:te*(d/Nt-1),y11:Ct*(d/Nt-1)}}function Tg(){var t=Cv,e=xg,r=xr(0),o=null,d=wg,p=kg,m=a1,b=null;function S(){var T,B,j=+t.apply(this,arguments),F=+e.apply(this,arguments),U=d.apply(this,arguments)-kl,it=p.apply(this,arguments)-kl,yt=ki(it-U),vt=it>U;if(b||(b=T=an()),Fka)if(yt>Jh-ka)b.moveTo(F*_c(U),F*wr(U)),b.arc(0,0,F,U,it,!vt),j>ka&&(b.moveTo(j*_c(it),j*wr(it)),b.arc(0,0,j,it,U,vt));else{var xt,mt,ot=U,Wt=it,Nt=U,ft=it,Ot=yt,te=yt,Ct=m.apply(this,arguments)/2,wt=Ct>ka&&(o?+o.apply(this,arguments):Fs(j*j+F*F)),Yt=i1(ki(F-j)/2,+r.apply(this,arguments)),Mt=Yt,Kt=Yt;if(wt>ka){var pt=bg(wt/j*wr(Ct)),le=bg(wt/F*wr(Ct));(Ot-=2*pt)>ka?(Nt+=pt*=vt?1:-1,ft-=pt):(Ot=0,Nt=ft=(U+it)/2),(te-=2*le)>ka?(ot+=le*=vt?1:-1,Wt-=le):(te=0,ot=Wt=(U+it)/2)}var ve=F*_c(ot),me=F*wr(ot),Ae=j*_c(ft),He=j*wr(ft);if(Yt>ka){var ze,fn=F*_c(Wt),De=F*wr(Wt),Gn=j*_c(Nt),vn=j*wr(Nt);if(ytka?Kt>ka?(xt=Ja(Gn,vn,ve,me,F,Kt,vt),mt=Ja(fn,De,Ae,He,F,Kt,vt),b.moveTo(xt.cx+xt.x01,xt.cy+xt.y01),Ktka&&Ot>ka?Mt>ka?(xt=Ja(Ae,He,fn,De,j,-Mt,vt),mt=Ja(ve,me,Gn,vn,j,-Mt,vt),b.lineTo(xt.cx+xt.x01,xt.cy+xt.y01),Mtt?1:e>=t?0:NaN}function Tl(t){return t}function El(){}function fu(t,e,r){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+r)/6)}function Kh(t){this._context=t}function Yr(t){return new Kh(t)}function Ta(t){this._context=t}function ai(t){this._context=t}function Ra(t){this._context=t}function bc(t){return t<0?-1:1}function Eg(t,e,r){var o=t._x1-t._x0,d=e-t._x1,p=(t._y1-t._y0)/(o||d<0&&-0),m=(r-t._y1)/(d||o<0&&-0),b=(p*d+m*o)/(o+d);return(bc(p)+bc(m))*Math.min(Math.abs(p),Math.abs(m),.5*Math.abs(b))||0}function Sg(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function xc(t,e,r){var o=t._x0,d=t._y0,p=t._x1,m=t._y1,b=(p-o)/3;t._context.bezierCurveTo(o+b,d+b*e,p-b,m-b*r,p,m)}function Bo(t){this._context=t}function us(t){this._context=new Sl(t)}function Sl(t){this._context=t}function tf(t){this._context=t}function ef(t){var e,r,o=t.length-1,d=new Array(o),p=new Array(o),m=new Array(o);for(d[0]=0,p[0]=2,m[0]=t[0]+2*t[1],e=1;e=0;--e)d[e]=(m[e]-d[e+1])/p[e];for(p[o-1]=(t[o]+d[o-1])/2,e=0;e=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 r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var Cl=new Date,Ml=new Date;function yo(t,e,r,o){function d(p){return t(p=arguments.length===0?new Date:new Date(+p)),p}return d.floor=function(p){return t(p=new Date(+p)),p},d.ceil=function(p){return t(p=new Date(p-1)),e(p,1),t(p),p},d.round=function(p){var m=d(p),b=d.ceil(p);return p-m0))return T;do T.push(S=new Date(+p)),e(p,b),t(p);while(S=m)for(;t(m),!p(m);)m.setTime(m-1)},function(m,b){if(m>=m)if(b<0)for(;++b<=0;)for(;e(m,-1),!p(m););else for(;--b>=0;)for(;e(m,1),!p(m););})},r&&(d.count=function(p,m){return Cl.setTime(+p),Ml.setTime(+m),t(Cl),t(Ml),Math.floor(r(Cl,Ml))},d.every=function(p){return p=Math.floor(p),isFinite(p)&&p>0?p>1?d.filter(o?function(m){return o(m)%p==0}:function(m){return d.count(0,m)%p==0}):d:null}),d}const nf=864e5,u1=6048e5;function Ps(t){return yo(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+7*r)},function(e,r){return(r-e)/u1})}var Cg=Ps(0),l1=Ps(1);Ps(2),Ps(3);var Al=Ps(4);Ps(5),Ps(6);var Ea=yo(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/nf},function(t){return t.getUTCDate()-1});const la=Ea;function Ti(t){return yo(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,r){return(r-e-6e4*(r.getTimezoneOffset()-e.getTimezoneOffset()))/u1})}var rf=Ti(0),Lo=Ti(1);Ti(2),Ti(3);var pu=Ti(4);Ti(5),Ti(6);var Dv=yo(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/nf,t=>t.getDate()-1);const Mg=Dv;var Ag=yo(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()});Ag.every=function(t){return isFinite(t=Math.floor(t))&&t>0?yo(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};const Dl=Ag;var Nv=yo(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()});Nv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?yo(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};const af=Nv;function Sa(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 Dg(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 Nl(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var of,Ka,h1={"-":"",_:" ",0:"0"},gi=/^\s*\d+/,Ov=/^%/,_5=/[\\^$*+?|[\]().{}]/g;function kr(t,e,r){var o=t<0?"-":"",d=(o?-t:t)+"",p=d.length;return o+(p[e.toLowerCase(),r]))}function b5(t,e,r){var o=gi.exec(e.slice(r,r+1));return o?(t.w=+o[0],r+o[0].length):-1}function Lv(t,e,r){var o=gi.exec(e.slice(r,r+1));return o?(t.u=+o[0],r+o[0].length):-1}function x5(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.U=+o[0],r+o[0].length):-1}function Ol(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.V=+o[0],r+o[0].length):-1}function Ng(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.W=+o[0],r+o[0].length):-1}function f1(t,e,r){var o=gi.exec(e.slice(r,r+4));return o?(t.y=+o[0],r+o[0].length):-1}function d1(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.y=+o[0]+(+o[0]>68?1900:2e3),r+o[0].length):-1}function Iv(t,e,r){var o=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return o?(t.Z=o[1]?0:-(o[2]+(o[3]||"00")),r+o[0].length):-1}function Rv(t,e,r){var o=gi.exec(e.slice(r,r+1));return o?(t.q=3*o[0]-3,r+o[0].length):-1}function Fv(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.m=o[0]-1,r+o[0].length):-1}function Og(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.d=+o[0],r+o[0].length):-1}function Pv(t,e,r){var o=gi.exec(e.slice(r,r+3));return o?(t.m=0,t.d=+o[0],r+o[0].length):-1}function Bg(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.H=+o[0],r+o[0].length):-1}function w5(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.M=+o[0],r+o[0].length):-1}function Yv(t,e,r){var o=gi.exec(e.slice(r,r+2));return o?(t.S=+o[0],r+o[0].length):-1}function p1(t,e,r){var o=gi.exec(e.slice(r,r+3));return o?(t.L=+o[0],r+o[0].length):-1}function g1(t,e,r){var o=gi.exec(e.slice(r,r+6));return o?(t.L=Math.floor(o[0]/1e3),r+o[0].length):-1}function jv(t,e,r){var o=Ov.exec(e.slice(r,r+1));return o?r+o[0].length:-1}function Uv(t,e,r){var o=gi.exec(e.slice(r));return o?(t.Q=+o[0],r+o[0].length):-1}function Lg(t,e,r){var o=gi.exec(e.slice(r));return o?(t.s=+o[0],r+o[0].length):-1}function y1(t,e){return kr(t.getDate(),e,2)}function zv(t,e){return kr(t.getHours(),e,2)}function Wv(t,e){return kr(t.getHours()%12||12,e,2)}function k5(t,e){return kr(1+Mg.count(Dl(t),t),e,3)}function Hv(t,e){return kr(t.getMilliseconds(),e,3)}function Ig(t,e){return Hv(t,e)+"000"}function qv(t,e){return kr(t.getMonth()+1,e,2)}function uf(t,e){return kr(t.getMinutes(),e,2)}function m1(t,e){return kr(t.getSeconds(),e,2)}function v1(t){var e=t.getDay();return e===0?7:e}function T5(t,e){return kr(rf.count(Dl(t)-1,t),e,2)}function _1(t){var e=t.getDay();return e>=4||e===0?pu(t):pu.ceil(t)}function b1(t,e){return t=_1(t),kr(pu.count(Dl(t),t)+(Dl(t).getDay()===4),e,2)}function x1(t){return t.getDay()}function Rg(t,e){return kr(Lo.count(Dl(t)-1,t),e,2)}function Bl(t,e){return kr(t.getFullYear()%100,e,2)}function E5(t,e){return kr((t=_1(t)).getFullYear()%100,e,2)}function S5(t,e){return kr(t.getFullYear()%1e4,e,4)}function C5(t,e){var r=t.getDay();return kr((t=r>=4||r===0?pu(t):pu.ceil(t)).getFullYear()%1e4,e,4)}function $v(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+kr(e/60|0,"0",2)+kr(e%60,"0",2)}function w1(t,e){return kr(t.getUTCDate(),e,2)}function M5(t,e){return kr(t.getUTCHours(),e,2)}function k1(t,e){return kr(t.getUTCHours()%12||12,e,2)}function Vv(t,e){return kr(1+la.count(af(t),t),e,3)}function Fg(t,e){return kr(t.getUTCMilliseconds(),e,3)}function T1(t,e){return Fg(t,e)+"000"}function Gv(t,e){return kr(t.getUTCMonth()+1,e,2)}function Xv(t,e){return kr(t.getUTCMinutes(),e,2)}function Zv(t,e){return kr(t.getUTCSeconds(),e,2)}function A5(t){var e=t.getUTCDay();return e===0?7:e}function Qv(t,e){return kr(Cg.count(af(t)-1,t),e,2)}function Jv(t){var e=t.getUTCDay();return e>=4||e===0?Al(t):Al.ceil(t)}function Kv(t,e){return t=Jv(t),kr(Al.count(af(t),t)+(af(t).getUTCDay()===4),e,2)}function t_(t){return t.getUTCDay()}function e_(t,e){return kr(l1.count(af(t)-1,t),e,2)}function D5(t,e){return kr(t.getUTCFullYear()%100,e,2)}function N5(t,e){return kr((t=Jv(t)).getUTCFullYear()%100,e,2)}function lf(t,e){return kr(t.getUTCFullYear()%1e4,e,4)}function n_(t,e){var r=t.getUTCDay();return kr((t=r>=4||r===0?Al(t):Al.ceil(t)).getUTCFullYear()%1e4,e,4)}function r_(){return"+0000"}function E1(){return"%"}function S1(t){return+t}function C1(t){return Math.floor(+t/1e3)}of=function(t){var e=t.dateTime,r=t.date,o=t.time,d=t.periods,p=t.days,m=t.shortDays,b=t.months,S=t.shortMonths,T=sf(d),B=cf(d),j=sf(p),F=cf(p),U=sf(m),it=cf(m),yt=sf(b),vt=cf(b),xt=sf(S),mt=cf(S),ot={a:function(Ct){return m[Ct.getDay()]},A:function(Ct){return p[Ct.getDay()]},b:function(Ct){return S[Ct.getMonth()]},B:function(Ct){return b[Ct.getMonth()]},c:null,d:y1,e:y1,f:Ig,g:E5,G:C5,H:zv,I:Wv,j:k5,L:Hv,m:qv,M:uf,p:function(Ct){return d[+(Ct.getHours()>=12)]},q:function(Ct){return 1+~~(Ct.getMonth()/3)},Q:S1,s:C1,S:m1,u:v1,U:T5,V:b1,w:x1,W:Rg,x:null,X:null,y:Bl,Y:S5,Z:$v,"%":E1},Wt={a:function(Ct){return m[Ct.getUTCDay()]},A:function(Ct){return p[Ct.getUTCDay()]},b:function(Ct){return S[Ct.getUTCMonth()]},B:function(Ct){return b[Ct.getUTCMonth()]},c:null,d:w1,e:w1,f:T1,g:N5,G:n_,H:M5,I:k1,j:Vv,L:Fg,m:Gv,M:Xv,p:function(Ct){return d[+(Ct.getUTCHours()>=12)]},q:function(Ct){return 1+~~(Ct.getUTCMonth()/3)},Q:S1,s:C1,S:Zv,u:A5,U:Qv,V:Kv,w:t_,W:e_,x:null,X:null,y:D5,Y:lf,Z:r_,"%":E1},Nt={a:function(Ct,wt,Yt){var Mt=U.exec(wt.slice(Yt));return Mt?(Ct.w=it.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},A:function(Ct,wt,Yt){var Mt=j.exec(wt.slice(Yt));return Mt?(Ct.w=F.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},b:function(Ct,wt,Yt){var Mt=xt.exec(wt.slice(Yt));return Mt?(Ct.m=mt.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},B:function(Ct,wt,Yt){var Mt=yt.exec(wt.slice(Yt));return Mt?(Ct.m=vt.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},c:function(Ct,wt,Yt){return te(Ct,e,wt,Yt)},d:Og,e:Og,f:g1,g:d1,G:f1,H:Bg,I:Bg,j:Pv,L:p1,m:Fv,M:w5,p:function(Ct,wt,Yt){var Mt=T.exec(wt.slice(Yt));return Mt?(Ct.p=B.get(Mt[0].toLowerCase()),Yt+Mt[0].length):-1},q:Rv,Q:Uv,s:Lg,S:Yv,u:Lv,U:x5,V:Ol,w:b5,W:Ng,x:function(Ct,wt,Yt){return te(Ct,r,wt,Yt)},X:function(Ct,wt,Yt){return te(Ct,o,wt,Yt)},y:d1,Y:f1,Z:Iv,"%":jv};function ft(Ct,wt){return function(Yt){var Mt,Kt,pt,le=[],ve=-1,me=0,Ae=Ct.length;for(Yt instanceof Date||(Yt=new Date(+Yt));++ve53)return null;"w"in pt||(pt.w=1),"Z"in pt?(Kt=(Mt=Dg(Nl(pt.y,0,1))).getUTCDay(),Mt=Kt>4||Kt===0?l1.ceil(Mt):l1(Mt),Mt=la.offset(Mt,7*(pt.V-1)),pt.y=Mt.getUTCFullYear(),pt.m=Mt.getUTCMonth(),pt.d=Mt.getUTCDate()+(pt.w+6)%7):(Kt=(Mt=Sa(Nl(pt.y,0,1))).getDay(),Mt=Kt>4||Kt===0?Lo.ceil(Mt):Lo(Mt),Mt=Mg.offset(Mt,7*(pt.V-1)),pt.y=Mt.getFullYear(),pt.m=Mt.getMonth(),pt.d=Mt.getDate()+(pt.w+6)%7)}else("W"in pt||"U"in pt)&&("w"in pt||(pt.w="u"in pt?pt.u%7:"W"in pt?1:0),Kt="Z"in pt?Dg(Nl(pt.y,0,1)).getUTCDay():Sa(Nl(pt.y,0,1)).getDay(),pt.m=0,pt.d="W"in pt?(pt.w+6)%7+7*pt.W-(Kt+5)%7:pt.w+7*pt.U-(Kt+6)%7);return"Z"in pt?(pt.H+=pt.Z/100|0,pt.M+=pt.Z%100,Dg(pt)):Sa(pt)}}function te(Ct,wt,Yt,Mt){for(var Kt,pt,le=0,ve=wt.length,me=Yt.length;le=me)return-1;if((Kt=wt.charCodeAt(le++))===37){if(Kt=wt.charAt(le++),!(pt=Nt[Kt in h1?wt.charAt(le++):Kt])||(Mt=pt(Ct,Yt,Mt))<0)return-1}else if(Kt!=Yt.charCodeAt(Mt++))return-1}return Mt}return ot.x=ft(r,ot),ot.X=ft(o,ot),ot.c=ft(e,ot),Wt.x=ft(r,Wt),Wt.X=ft(o,Wt),Wt.c=ft(e,Wt),{format:function(Ct){var wt=ft(Ct+="",ot);return wt.toString=function(){return Ct},wt},parse:function(Ct){var wt=Ot(Ct+="",!1);return wt.toString=function(){return Ct},wt},utcFormat:function(Ct){var wt=ft(Ct+="",Wt);return wt.toString=function(){return Ct},wt},utcParse:function(Ct){var wt=Ot(Ct+="",!0);return wt.toString=function(){return Ct},wt}}}({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"]}),Ka=of.format,of.parse,of.utcFormat,of.utcParse;var Pg={value:()=>{}};function Ys(){for(var t,e=0,r=arguments.length,o={};e=0&&(o=r.slice(d+1),r=r.slice(0,d)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:o}})}function i_(t,e){for(var r,o=0,d=t.length;o0)for(var r,o,d=new Array(r),p=0;p=0&&e._call.call(void 0,t),e=e._next;--ls})()}finally{ls=0,function(){for(var t,e,r=js,o=1/0;r;)r._call?(o>r._time&&(o=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:js=e);wc=t,yf(o)}(),Tc=0}}function Ll(){var t=Fa.now(),e=t-gu;e>1e3&&(ff-=e,gu=t)}function yf(t){ls||(kc&&(kc=clearTimeout(kc)),t-Tc>24?(t<1/0&&(kc=setTimeout(gf,t-Fa.now()-ff)),hf&&(hf=clearInterval(hf))):(hf||(gu=Fa.now(),hf=setInterval(Ll,1e3)),ls=1,Io(gf)))}function A1(t,e,r){var o=new Ec;return e=e==null?0:+e,o.restart(d=>{o.stop(),t(d+e)},e,r),o}Ec.prototype=pf.prototype={constructor:Ec,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?df():+r)+(e==null?0:+e),this._next||wc===this||(wc?wc._next=this:js=this,wc=this),this._call=t,this._time=r,yf()},stop:function(){this._call&&(this._call=null,this._time=1/0,yf())}};var mf=o_("start","end","cancel","interrupt"),Ro=[];function hs(t,e,r,o,d,p){var m=t.__transition;if(m){if(r in m)return}else t.__transition={};(function(b,S,T){var B,j=b.__transition;function F(yt){var vt,xt,mt,ot;if(T.state!==1)return it();for(vt in j)if((ot=j[vt]).name===T.name){if(ot.state===3)return A1(F);ot.state===4?(ot.state=6,ot.timer.stop(),ot.on.call("interrupt",b,b.__data__,ot.index,ot.group),delete j[vt]):+vt0)throw new Error("too late; already scheduled");return r}function fs(t,e){var r=Fo(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Fo(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Us(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var N1,s_=180/Math.PI,jg={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ug(t,e,r,o,d,p){var m,b,S;return(m=Math.sqrt(t*t+e*e))&&(t/=m,e/=m),(S=t*r+e*o)&&(r-=t*S,o-=e*S),(b=Math.sqrt(r*r+o*o))&&(r/=b,o/=b,S/=b),t*o180?B+=360:B-T>180&&(T+=360),F.push({i:j.push(d(j)+"rotate(",null,o)-2,x:Us(T,B)})):B&&j.push(d(j)+"rotate("+B+o)}(p.rotate,m.rotate,b,S),function(T,B,j,F){T!==B?F.push({i:j.push(d(j)+"skewX(",null,o)-2,x:Us(T,B)}):B&&j.push(d(j)+"skewX("+B+o)}(p.skewX,m.skewX,b,S),function(T,B,j,F,U,it){if(T!==j||B!==F){var yt=U.push(d(U)+"scale(",null,",",null,")");it.push({i:yt-4,x:Us(T,j)},{i:yt-2,x:Us(B,F)})}else j===1&&F===1||U.push(d(U)+"scale("+j+","+F+")")}(p.scaleX,p.scaleY,m.scaleX,m.scaleY,b,S),p=m=null,function(T){for(var B,j=-1,F=S.length;++jp&&(d=e.slice(p,d),b[m]?b[m]+=d:b[++m]=d),(r=r[0])===(o=o[0])?b[m]?b[m]+=o:b[++m]=o:(b[++m]=null,S.push({i:m,x:Us(r,o)})),p=Rl.lastIndex;return p=0&&(b=b.slice(0,S)),!b||b==="start"})}(e)?D1:fs;return function(){var m=p(this,t),b=m.on;b!==o&&(d=(o=b).copy()).on(e,r),m.on=d}}var g_=xn.prototype.constructor;function Po(t){return function(){this.style.removeProperty(t)}}function Zg(t,e,r){return function(o){this.style.setProperty(t,e.call(this,o),r)}}function Qg(t,e,r){var o,d;function p(){var m=e.apply(this,arguments);return m!==d&&(o=(d=m)&&Zg(t,m,r)),o}return p._value=e,p}function y_(t){return function(e){this.textContent=t.call(this,e)}}function B1(t){var e,r;function o(){var d=t.apply(this,arguments);return d!==r&&(e=(r=d)&&y_(d)),e}return o._value=t,o}var m_=0;function zs(t,e,r,o){this._groups=t,this._parents=e,this._name=r,this._id=o}function Jg(){return++m_}var to=xn.prototype;zs.prototype={constructor:zs,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=ml(t));for(var o=this._groups,d=o.length,p=new Array(d),m=0;m2&&o.state<5,o.state=6,o.timer.stop(),o.on.call(d?"interrupt":"cancel",e,e.__data__,o.index,o.group),delete m[p]):b=!1;b&&delete e.__transition}})(this,t)})},xn.prototype.transition=function(t){var e,r;t instanceof zs?(e=t._id,t=t._name):(e=Jg(),(r=Kg).time=df(),t=t==null?null:t+"");for(var o=this._groups,d=o.length,p=0;pe?1:t>=e?0:NaN}Sc.prototype={constructor:Sc,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 Sf="http://www.w3.org/1999/xhtml";const b_={svg:"http://www.w3.org/2000/svg",xhtml:Sf,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function I1(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),b_.hasOwnProperty(e)?{space:b_[e],local:t}:t}function ay(t){return function(){this.removeAttribute(t)}}function H5(t){return function(){this.removeAttributeNS(t.space,t.local)}}function oy(t,e){return function(){this.setAttribute(t,e)}}function q5(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function sy(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function $5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function R1(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function V5(t){return function(){this.style.removeProperty(t)}}function G5(t,e,r){return function(){this.style.setProperty(t,e,r)}}function X5(t,e,r){return function(){var o=e.apply(this,arguments);o==null?this.style.removeProperty(t):this.style.setProperty(t,o,r)}}function Fl(t,e){return t.style.getPropertyValue(e)||R1(t).getComputedStyle(t,null).getPropertyValue(e)}function Z5(t){return function(){delete this[t]}}function Q5(t,e){return function(){this[t]=e}}function cy(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function x_(t){return t.trim().split(/^|\s+/)}function uy(t){return t.classList||new ly(t)}function ly(t){this._node=t,this._names=x_(t.getAttribute("class")||"")}function mu(t,e){for(var r=uy(t),o=-1,d=e.length;++o=0&&(r=e.slice(o+1),e=e.slice(0,o)),{type:e,name:r}})}function n6(t){return function(){var e=this.__on;if(e){for(var r,o=0,d=-1,p=e.length;o=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Mf=[null];function Yo(t,e){this._groups=t,this._parents=e}function L_(){return new Yo([[document.documentElement]],Mf)}Yo.prototype=L_.prototype={constructor:Yo,select:function(t){typeof t!="function"&&(t=ey(t));for(var e=this._groups,r=e.length,o=new Array(r),d=0;d=Nt&&(Nt=Wt+1);!(ot=vt[Nt])&&++Nt=0;)(o=d[p])&&(m&&4^o.compareDocumentPosition(m)&&m.parentNode.insertBefore(o,m),m=o);return this},sort:function(t){function e(j,F){return j&&F?t(j.__data__,F.__data__):!j-!F}t||(t=W5);for(var r=this._groups,o=r.length,d=new Array(o),p=0;p1?this.each((e==null?V5:typeof e=="function"?X5:G5)(t,e,r==null?"":r)):Fl(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?Z5:typeof e=="function"?cy:Q5)(t,e)):this.node()[t]},classed:function(t,e){var r=x_(t+"");if(arguments.length<2){for(var o=uy(this.node()),d=-1,p=r.length;++d{}};function I_(){for(var t,e=0,r=arguments.length,o={};e=0&&(o=r.slice(d+1),r=r.slice(0,d)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:o}})}function fy(t,e){for(var r,o=0,d=t.length;o0)for(var r,o,d=new Array(r),p=0;p=0&&e._call.call(void 0,t),e=e._next;--Yl})()}finally{Yl=0,function(){for(var t,e,r=W1,o=1/0;r;)r._call?(o>r._time&&(o=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:W1=e);Cc=t,$1(o)}(),Ac=0}}function F_(){var t=Nf.now(),e=t-Df;e>1e3&&(H1-=e,Df=t)}function $1(t){Yl||(Mc&&(Mc=clearTimeout(Mc)),t-Ac>24?(t<1/0&&(Mc=setTimeout(Ul,t-Nf.now()-H1)),jl&&(jl=clearInterval(jl))):(jl||(Df=Nf.now(),jl=setInterval(F_,1e3)),Yl=1,R_(Ul)))}function gy(t,e,r){var o=new q1;return e=e==null?0:+e,o.restart(d=>{o.stop(),t(d+e)},e,r),o}q1.prototype=py.prototype={constructor:q1,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?dy():+r)+(e==null?0:+e),this._next||Cc===this||(Cc?Cc._next=this:W1=this,Cc=this),this._call=t,this._time=r,$1()},stop:function(){this._call&&(this._call=null,this._time=1/0,$1())}};var s6=a6("start","end","cancel","interrupt"),c6=[];function V1(t,e,r,o,d,p){var m=t.__transition;if(m){if(r in m)return}else t.__transition={};(function(b,S,T){var B,j=b.__transition;function F(yt){var vt,xt,mt,ot;if(T.state!==1)return it();for(vt in j)if((ot=j[vt]).name===T.name){if(ot.state===3)return gy(F);ot.state===4?(ot.state=6,ot.timer.stop(),ot.on.call("interrupt",b,b.__data__,ot.index,ot.group),delete j[vt]):+vt0)throw new Error("too late; already scheduled");return r}function ds(t,e){var r=jo(t,e);if(r.state>3)throw new Error("too late; already running");return r}function jo(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Ws(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var X1,Of=180/Math.PI,yy={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function P_(t,e,r,o,d,p){var m,b,S;return(m=Math.sqrt(t*t+e*e))&&(t/=m,e/=m),(S=t*r+e*o)&&(r-=t*S,o-=e*S),(b=Math.sqrt(r*r+o*o))&&(r/=b,o/=b,S/=b),t*o180?B+=360:B-T>180&&(T+=360),F.push({i:j.push(d(j)+"rotate(",null,o)-2,x:Ws(T,B)})):B&&j.push(d(j)+"rotate("+B+o)}(p.rotate,m.rotate,b,S),function(T,B,j,F){T!==B?F.push({i:j.push(d(j)+"skewX(",null,o)-2,x:Ws(T,B)}):B&&j.push(d(j)+"skewX("+B+o)}(p.skewX,m.skewX,b,S),function(T,B,j,F,U,it){if(T!==j||B!==F){var yt=U.push(d(U)+"scale(",null,",",null,")");it.push({i:yt-4,x:Ws(T,j)},{i:yt-2,x:Ws(B,F)})}else j===1&&F===1||U.push(d(U)+"scale("+j+","+F+")")}(p.scaleX,p.scaleY,m.scaleX,m.scaleY,b,S),p=m=null,function(T){for(var B,j=-1,F=S.length;++j>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?If(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?If(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Uo.exec(t))?new Pa(e[1],e[2],e[3],1):(e=Hs.exec(t))?new Pa(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=z_.exec(t))?If(e[1],e[2],e[3],e[4]):(e=Q1.exec(t))?If(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=_u.exec(t))?Ff(e[1],e[2]/100,e[3]/100,1):(e=_y.exec(t))?Ff(e[1],e[2]/100,e[3]/100,e[4]):J1.hasOwnProperty(t)?t0(J1[t]):t==="transparent"?new Pa(NaN,NaN,NaN,0):null}function t0(t){return new Pa(t>>16&255,t>>8&255,255&t,1)}function If(t,e,r,o){return o<=0&&(t=e=r=NaN),new Pa(t,e,r,o)}function ea(t){return t instanceof ps||(t=Lf(t)),t?new Pa((t=t.rgb()).r,t.g,t.b,t.opacity):new Pa}function Rf(t,e,r,o){return arguments.length===1?ea(t):new Pa(t,e,r,o==null?1:o)}function Pa(t,e,r,o){this.r=+t,this.g=+e,this.b=+r,this.opacity=+o}function W_(){return"#"+bu(this.r)+bu(this.g)+bu(this.b)}function H_(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"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))+(t===1?")":", "+t+")")}function bu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Ff(t,e,r,o){return o<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new zo(t,e,r,o)}function xy(t){if(t instanceof zo)return new zo(t.h,t.s,t.l,t.opacity);if(t instanceof ps||(t=Lf(t)),!t)return new zo;if(t instanceof zo)return t;var e=(t=t.rgb()).r/255,r=t.g/255,o=t.b/255,d=Math.min(e,r,o),p=Math.max(e,r,o),m=NaN,b=p-d,S=(p+d)/2;return b?(m=e===p?(r-o)/b+6*(r0&&S<1?0:m,new zo(m,b,S,t.opacity)}function zo(t,e,r,o){this.h=+t,this.s=+e,this.l=+r,this.opacity=+o}function qs(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}vy(ps,Lf,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:K1,formatHex:K1,formatHsl:function(){return xy(this).formatHsl()},formatRgb:by,toString:by}),vy(Pa,Rf,U_(ps,{brighter:function(t){return t=t==null?Bf:Math.pow(Bf,t),new Pa(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Z1:Math.pow(Z1,t),new Pa(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:W_,formatHex:W_,formatRgb:H_,toString:H_})),vy(zo,function(t,e,r,o){return arguments.length===1?xy(t):new zo(t,e,r,o==null?1:o)},U_(ps,{brighter:function(t){return t=t==null?Bf:Math.pow(Bf,t),new zo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Z1:Math.pow(Z1,t),new zo(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,r=this.l,o=r+(r<.5?r:1-r)*e,d=2*r-o;return new Pa(qs(t>=240?t-240:t+120,d,o),qs(t,d,o),qs(t<120?t+240:t-120,d,o),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},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const wy=t=>()=>t;function ky(t,e){var r=e-t;return r?function(o,d){return function(p){return o+p*d}}(t,r):wy(isNaN(t)?e:t)}const Ty=function t(e){var r=function(d){return(d=+d)==1?ky:function(p,m){return m-p?function(b,S,T){return b=Math.pow(b,T),S=Math.pow(S,T)-b,T=1/T,function(B){return Math.pow(b+B*S,T)}}(p,m,d):wy(isNaN(p)?m:p)}}(e);function o(d,p){var m=r((d=Rf(d)).r,(p=Rf(p)).r),b=r(d.g,p.g),S=r(d.b,p.b),T=ky(d.opacity,p.opacity);return function(B){return d.r=m(B),d.g=b(B),d.b=S(B),d.opacity=T(B),d+""}}return o.gamma=t,o}(1);var e0=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,n0=new RegExp(e0.source,"g");function d6(t,e){var r,o,d,p=e0.lastIndex=n0.lastIndex=0,m=-1,b=[],S=[];for(t+="",e+="";(r=e0.exec(t))&&(o=n0.exec(e));)(d=o.index)>p&&(d=e.slice(p,d),b[m]?b[m]+=d:b[++m]=d),(r=r[0])===(o=o[0])?b[m]?b[m]+=o:b[++m]=o:(b[++m]=null,S.push({i:m,x:Ws(r,o)})),p=n0.lastIndex;return p=0&&(b=b.slice(0,S)),!b||b==="start"})}(e)?G1:ds;return function(){var m=p(this,t),b=m.on;b!==o&&(d=(o=b).copy()).on(e,r),m.on=d}}var t3=Af.prototype.constructor;function r0(t){return function(){this.style.removeProperty(t)}}function Ay(t,e,r){return function(o){this.style.setProperty(t,e.call(this,o),r)}}function Yi(t,e,r){var o,d;function p(){var m=e.apply(this,arguments);return m!==d&&(o=(d=m)&&Ay(t,m,r)),o}return p._value=e,p}function Dy(t){return function(e){this.textContent=t.call(this,e)}}function xu(t){var e,r;function o(){var d=t.apply(this,arguments);return d!==r&&(e=(r=d)&&Dy(d)),e}return o._value=t,o}var v6=0;function ys(t,e,r,o){this._groups=t,this._parents=e,this._name=r,this._id=o}function Ny(){return++v6}var $s=Af.prototype;ys.prototype={constructor:ys,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=ey(t));for(var o=this._groups,d=o.length,p=new Array(d),m=0;m2&&o.state<5,o.state=6,o.timer.stop(),o.on.call(d?"interrupt":"cancel",e,e.__data__,o.index,o.group),delete m[p]):b=!1;b&&delete e.__transition}})(this,t)})},Af.prototype.transition=function(t){var e,r;t instanceof ys?(e=t._id,t=t._name):(e=Ny(),(r=i0).time=dy(),t=t==null?null:t+"");for(var o=this._groups,d=o.length,p=0;p0?Vs(Vl,--eo):0,$l--,oi===10&&($l=1,s0--),oi}function Wo(){return oi=eo2||l0(oi)>3?"":" "}function h0(t,e){for(;--e&&Wo()&&!(oi<48||oi>102||oi>57&&oi<65||oi>70&&oi<97););return u0(t,Yf()+(e<6&&Dc()==32&&Wo()==32))}function Xl(t){for(;Wo();)switch(oi){case t:return eo;case 34:case 39:t!==34&&t!==39&&Xl(oi);break;case 40:t===41&&Xl(t);break;case 92:Wo()}return eo}function a3(t,e){for(;Wo()&&t+oi!==57&&(t+oi!==84||Dc()!==47););return"/*"+u0(e,eo-1)+"*"+Tu(t===47?t:Wo())}function Eu(t){for(;!l0(Dc());)Wo();return u0(t,eo)}function jf(t){return function(e){return Vl="",e}(Nc("",null,null,null,[""],t=function(e){return s0=$l=1,n3=Gs(Vl=e),eo=0,[]}(t),0,[0],t))}function Nc(t,e,r,o,d,p,m,b,S){for(var T=0,B=0,j=m,F=0,U=0,it=0,yt=1,vt=1,xt=1,mt=0,ot="",Wt=d,Nt=p,ft=o,Ot=ot;vt;)switch(it=mt,mt=Wo()){case 40:if(it!=108&&Ot.charCodeAt(j-1)==58){e3(Ot+=a0(Gl(mt),"&","&\f"),"&\f")!=-1&&(xt=-1);break}case 34:case 39:case 91:Ot+=Gl(mt);break;case 9:case 10:case 13:case 32:Ot+=i3(it);break;case 92:Ot+=h0(Yf()-1,7);continue;case 47:switch(Dc()){case 42:case 47:o0(o3(a3(Wo(),Yf()),e,r),S);break;default:Ot+="/"}break;case 123*yt:b[T++]=Gs(Ot)*xt;case 125*yt:case 59:case 0:switch(mt){case 0:case 125:vt=0;case 59+B:U>0&&Gs(Ot)-j&&o0(U>32?Oc(Ot+";",o,r,j-1):Oc(a0(Ot," ","")+";",o,r,j-2),S);break;case 59:Ot+=";";default:if(o0(ft=Ry(Ot,e,r,T,B,d,b,ot,Wt=[],Nt=[],j),p),mt===123)if(B===0)Nc(Ot,e,ft,ft,Wt,p,j,b,Nt);else switch(F){case 100:case 109:case 115:Nc(t,ft,ft,o&&o0(Ry(t,ft,ft,0,0,d,b,ot,d,Wt=[],j),Nt),d,Nt,j,b,o?Wt:Nt);break;default:Nc(Ot,ft,ft,ft,[""],Nt,0,b,Nt)}}T=B=U=0,yt=xt=1,ot=Ot="",j=m;break;case 58:j=1+Gs(Ot),U=it;default:if(yt<1){if(mt==123)--yt;else if(mt==125&&yt++==0&&r3()==125)continue}switch(Ot+=Tu(mt),mt*yt){case 38:xt=B>0?1:(Ot+="\f",-1);break;case 44:b[T++]=(Gs(Ot)-1)*xt,xt=1;break;case 64:Dc()===45&&(Ot+=Gl(Wo())),F=Dc(),B=j=Gs(ot=Ot+=Eu(Yf())),mt++;break;case 45:it===45&&Gs(Ot)==2&&(yt=0)}}return p}function Ry(t,e,r,o,d,p,m,b,S,T,B){for(var j=d-1,F=d===0?p:[""],U=Ly(F),it=0,yt=0,vt=0;it0?F[xt]+" "+mt:a0(mt,/&\f/g,F[xt])))&&(S[vt++]=ot);return c0(t,e,r,d===0?Oy:b,S,T,B)}function o3(t,e,r){return c0(t,e,r,Pf,Tu(oi),ql(t,2,-2),0)}function Oc(t,e,r,o){return c0(t,e,r,By,ql(t,0,o),ql(t,o+1,-1),o)}const Fy="8.13.8";var Su=s(9609),s3=s(7856),b6=s.n(s3),c3=function(t){var e=t.replace(/\\u[\dA-F]{4}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\u/g,""),16))});return console.log(e),e=(e=(e=e.replace(/\\x([0-9a-f]{2})/gi,function(r,o){return String.fromCharCode(parseInt(o,16))})).replace(/\\[\d\d\d]{3}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\/g,""),8))})},u3=function(t){for(var e="",r=0;r>=0;){if(!((r=t.indexOf("