1"use strict";(self.webpackChunkuniprot_website=self.webpackChunkuniprot_website||[]).push([[4814],{84814(t,n,e){function r(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function i(t){var n;return 1===t.length&&(n=t,t=function(t,e){return r(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}e.d(n,{JLW:()=>os,l78:()=>N,V4s:()=>U,bzR:()=>po,gHU:()=>Fi,GPZ:()=>oo,Sk5:()=>To,GWP:()=>Ro,n8j:()=>ls,T9B:()=>y,grR:()=>Dc,rLf:()=>ds,WH:()=>Io,m4Y:()=>cu,UMr:()=>Bo,w7C:()=>Ac,Hux:()=>Tc,UoH:()=>Nc,Ltv:()=>Ec,DCK:()=>na,hed:()=>du}),e.dn(r),e.dn(i);var o=i(r),u=o.right;o.left;const a=u;var c=Array.prototype;c.slice,c.map,e.dn(p);var s,l,f=Math.sqrt(50),h=Math.sqrt(10),d=Math.sqrt(2);function p(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=v(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++a<i;)o[a]=(t+a)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),o=new Array(i=Math.ceil(t-n+1));++a<i;)o[a]=(t-a)/u;return r&&o.reverse(),o}function v(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=f?10:o>=h?5:o>=d?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=f?10:o>=h?5:o>=d?2:1)}function g(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=f?i*=10:o>=h?i*=5:o>=d&&(i*=2),n<t?-i:i}function y(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r}function m(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}e.dn(function(){var t=void 0,n=void 0,e=void 0;function r(r){var i,o,u=r.length,a=new Array(u);for(i=0;i<u;++i)a[i]=t(r[i],i,r);var c=n(a),s=c[0],l=c[1],f=e(a,s,l);Array.isArray(f)||(f=(void 0)(s,l,f),f=(void 0)(Math.ceil(s/f)*f,l,f));for(var h=f.length;f[0]<=s;)f.shift(),--h;for(;f[h-1]>l;)f.pop(),--h;var d,p=new Array(h+1);for(i=0;i<=h;++i)(d=p[i]=[]).x0=i>0?f[i-1]:s,d.x1=i<h?f[i]:l;for(i=0;i<u;++i)s<=(o=a[i])&&o<=l&&p[(void 0)(f,o,0,h)].push(r[i]);return p}return r.value=function(n){return arguments.length?(t="function"==typeof n?n:s(n),r):t},r.domain=function(t){return arguments.length?(n="function"==typeof t?t:s([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?s((void 0).call(t)):s(t),r):e},r}),e.dn(function(t,n,e){return t=(void 0).call(t,void 0).sort(void 0),Math.ceil((e-n)/(2*(l(t,.75)-l(t,.25))*Math.pow(t.length,-1/3)))}),e.dn(y),e.dn(m);var w=Array.prototype.slice;function _(t){return t}e.dn(_);var x=1e-6;function M(t){return"translate("+(t+.5)+",0)"}function b(t){return"translate(0,"+(t+.5)+")"}function A(t){return function(n){return+t(n)}}function k(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function C(){return!this.__axis}function T(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,c=1===t||4===t?-1:1,s=4===t||2===t?"x":"y",l=1===t||3===t?M:b;function f(f){var h=r??(n.ticks?n.ticks.apply(n,e):n.domain()),d=i??(n.tickFormat?n.tickFormat.apply(n,e):_),p=Math.max(o,0)+a,v=n.range(),g=+v[0]+.5,y=+v[v.length-1]+.5,m=(n.bandwidth?k:A)(n.copy()),w=f.selection?f.selection():f,M=w.selectAll(".domain").data([null]),b=w.selectAll(".tick").data(h,n).order(),T=b.exit(),N=b.enter().append("g").attr("class","tick"),U=b.select("line"),z=b.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),b=b.merge(N),U=U.merge
1(N.append("line").attr("stroke","currentColor").attr(s+"2",c*o)),z=z.merge(N.append("text").attr("fill","currentColor").attr(s,c*p).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),f!==w&&(M=M.transition(f),b=b.transition(f),U=U.transition(f),z=z.transition(f),T=T.transition(f).attr("opacity",x).attr("transform",function(t){return isFinite(t=m(t))?l(t):this.getAttribute("transform")}),N.attr("opacity",x).attr("transform",function(t){var n=this.parentNode.__axis;return l(n&&isFinite(n=n(t))?n:m(t))})),T.remove(),M.attr("d",4===t||2==t?u?"M"+c*u+","+g+"H0.5V"+y+"H"+c*u:"M0.5,"+g+"V"+y:u?"M"+g+","+c*u+"V0.5H"+y+"V"+c*u:"M"+g+",0.5H"+y),b.attr("opacity",1).attr("transform",function(t){return l(m(t))}),U.attr(s+"2",c*o),z.attr(s,c*p).text(d),w.filter(C).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=m})}return f.scale=function(t){return arguments.length?(n=t,f):n},f.ticks=function(){return e=w.call(arguments),f},f.tickArguments=function(t){return arguments.length?(e=null==t?[]:w.call(t),f):e.slice()},f.tickValues=function(t){return arguments.length?(r=null==t?null:w.call(t),f):r&&r.slice()},f.tickFormat=function(t){return arguments.length?(i=t,f):i},f.tickSize=function(t){return arguments.length?(o=u=+t,f):o},f.tickSizeInner=function(t){return arguments.length?(o=+t,f):o},f.tickSizeOuter=function(t){return arguments.length?(u=+t,f):u},f.tickPadding=function(t){return arguments.length?(a=+t,f):a},f}function N(t){return T(3,t)}function U(t){return T(4,t)}function z(){}function D(t){return null==t?z:function(){return this.querySelector(t)}}function E(t){"function"!=typeof t&&(t=D(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,s=r[i]=new Array(c),l=0;l<c;++l)(o=a[l])&&(u=t.call(o,o.__data__,l,a))&&("__data__"in o&&(u.__data__=o.__data__),s[l]=u);return new vn(r,this._parents)}function S(){return[]}function L(t){return null==t?S:function(){return this.querySelectorAll(t)}}function P(t){"function"!=typeof t&&(t=L(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,s=0;s<c;++s)(u=a[s])&&(r.push(t.call(u,u.__data__,s,a)),i.push(u));return new vn(r,i)}function R(t){return function(){return this.matches(t)}}function Y(t){"function"!=typeof t&&(t=R(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new vn(r,this._parents)}function F(t){return new Array(t.length)}function q(){return new vn(this._enter||this._groups.map(F),this._parents)}function H(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function V(t){return function(){return t}}function X(t,n,e,r,i,o){for(var u,a=0,c=n.length,s=o.length;a<s;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new H(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function j(t,n,e,r,i,o,u){var a,c,s,l={},f=n.length,h=o.length,d=new Array(f);for(a=0;a<f;++a)(c=n[a])&&(d[a]=s="$"+u.call(c,c.__data__,a,n),s in l?i[a]=c:l[s]=c);for(a=0;a<h;++a)(c=l[s="$"+u.call(t,o[a],a,o)])?(r[a]=c,c.__data__=o[a],l[s]=null):e[a]=new H(t,o[a]);for(a=0;a<f;++a)(c=n[a])&&l[d[a]]===c&&(i[a]=c)}function O(t,n){if(!t)return d=new Array(this.size()),s=-1,this.each(function(t){d[++s]=t}),d;var e=n?j:X,r=this._parents,i=this._groups;"function"!=typeof t&&(t=V(t));for(var o=i.length,u=new Array(o),a=new Array(o),c=new Array(o),s=0;s<o;++s){var l=r[s],f=i[s],h=f.length,d=t.call(l,l&&l.__data__,s,r),p=d.length,v=a[s]=new Array(p),g=u[s]=new Array(p);e(l,f,v,g,c[s]=new Array(h),d,n);for(var y,m,w=0,_=0;w<p;++w)if(y=v[w]){for(w>=_&&(_=w+1);!(m=g[_])&&++_<p;);y._next=m||null}}return(u=new vn(u,r))._enter=a,u._exit=c,u}function B(){return new vn(this._exit||this._groups.map(F),this._parents)}function I(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i}function $(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,s=n[a],l=e[a],f=s.length,h=u[a]=new Array(f),d=0;d<f;++d)(c=s[d]||l[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new vn(u,this._parents)}function Z(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this}function W(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=G);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,s=i[o]=new Array(c),l=0;l<c;++l)(u=a[l])&&(s[l]=u);s.sort(n)}return new vn(i,this._parents).order()}function G(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function K(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function J(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t}function Q(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null}function tt(){var t=0;return this.each(function(){++t}),t}function nt(){return!this.node()}function et(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this}e.dn(D),e.dn(E),e.dn(L),e.dn(P),e.dn(R),e.dn(Y),e.dn(F),e.dn(q),H.prototype={constructor:H,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},e.dn(V),e.dn(O),e.dn(B),e.dn(I),e.dn($),e.dn(Z),e.dn(W),e.dn(K),e.dn(J),e.dn(Q),e.dn(tt),e.dn(nt),e.dn(et);var rt="http://www.w3.org/1999/xhtml";const it={svg:"http://www.w3.org/2000/svg",xhtml:rt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ot(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),it.hasOwnProperty(n)?{space:it[n],local:t}:t}function ut(t){return function(){this.removeAttribute(t)}}function at(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ct(t,n){return function(){this.setAttribute(t,n)}}function st(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function lt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function ft(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function ht(t,n){var e=ot(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?at:ut:"function"==typeof n?e.local?ft:lt:e.local?st:ct)(e,n))}function dt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function pt(t){return function(){this.style.removeProperty(t)}}function vt(t,n,e){return function(){this.style.setProperty(t,n,e)}}function gt(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function yt(t,n,e){return arguments.length>1?this.each((null==n?pt:"function"==typeof n?gt:vt)(t,n,e??"")):mt(this.node(),t)}function mt(t,n){return t.style.getPropertyValue(n)||dt(t).getComputedStyle(t,null).getPropertyValue(n)}function wt(t){return function(){delete this[t]}}function _t(t,n){return function(){this[t]=n}}function xt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Mt(t,n){return arguments.length>1?this.each((null==n?wt:"function"==typeof n?xt:_t)(t,n)):this.node()[t]}function bt(t){return t.trim().split(/^|\s+/)}function At(t){return t.classList||new kt(t)}function kt(t){this._node=t,this._names=bt(t.getAttribute("class")||"")}function Ct(t,n){for(var e=At(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function Tt(t,n){for(var e=At(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function Nt(t){return function(){Ct(this,t)}}function Ut(t){return function(){Tt(this,t)}}function zt(t,n){return function(){(n.apply(this,arguments)?Ct:Tt)(this,t)}}function Dt(t,n){var e=bt(t+"");
1if(arguments.length<2){for(var r=At(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?zt:n?Nt:Ut)(e,n))}function Et(){this.textContent=""}function St(t){return function(){this.textContent=t}}function Lt(t){return function(){var n=t.apply(this,arguments);this.textContent=n??""}}function Pt(t){return arguments.length?this.each(null==t?Et:("function"==typeof t?Lt:St)(t)):this.node().textContent}function Rt(){this.innerHTML=""}function Yt(t){return function(){this.innerHTML=t}}function Ft(t){return function(){var n=t.apply(this,arguments);this.innerHTML=n??""}}function qt(t){return arguments.length?this.each(null==t?Rt:("function"==typeof t?Ft:Yt)(t)):this.node().innerHTML}function Ht(){this.nextSibling&&this.parentNode.appendChild(this)}function Vt(){return this.each(Ht)}function Xt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function jt(){return this.each(Xt)}function Ot(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===rt&&n.documentElement.namespaceURI===rt?n.createElement(t):n.createElementNS(e,t)}}function Bt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function It(t){var n=ot(t);return(n.local?Bt:Ot)(n)}function $t(t){var n="function"==typeof t?t:It(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})}function Zt(){return null}function Wt(t,n){var e="function"==typeof t?t:It(t),r=null==n?Zt:"function"==typeof n?n:D(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})}function Gt(){var t=this.parentNode;t&&t.removeChild(this)}function Kt(){return this.each(Gt)}function Jt(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Qt(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function tn(t){return this.select(t?Qt:Jt)}function nn(t){return arguments.length?this.property("__data__",t):this.node().__data__}e.dn(ot),e.dn(ht),e.dn(dt),e.dn(yt),e.dn(Mt),e.dn(Dt),kt.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},e.dn(Pt),e.dn(qt),e.dn(Vt),e.dn(jt),e.dn(It),e.dn($t),e.dn(Wt),e.dn(Kt),e.dn(tn),e.dn(nn),e.dn(sn);var en={},rn=null;function on(t,n,e){return t=un(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function un(t,n,e){return function(r){var i=rn;rn=r;try{t.call(this,this.__data__,n,e)}finally{rn=i}}}function an(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function cn(t,n,e){var r=en.hasOwnProperty(t.type)?on:un;return function(i,o,u){var a,c=this.__on,s=r(n,o,u);if(c)for(var l=0,f=c.length;l<f;++l)if((a=c[l]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=e),void(a.value=n);this.addEventListener(t.type,s,e),a={type:t.type,name:t.name,value:n,listener:s,capture:e},c?c.push(a):this.__on=[a]}}function sn(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?cn:an,null==e&&(e=!1),r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,s=0,l=a.length;s<l;++s)for(r=0,c=a[s];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value}function ln(t,n,e){var r=dt(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dis
1patchEvent(i)}function fn(t,n){return function(){return ln(this,t,n)}}function hn(t,n){return function(){return ln(this,t,n.apply(this,arguments))}}function dn(t,n){return this.each(("function"==typeof n?hn:fn)(t,n))}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(en={mouseenter:"mouseover",mouseleave:"mouseout"})),e.dn(dn);var pn=[null];function vn(t,n){this._groups=t,this._parents=n}function gn(){return new vn([[document.documentElement]],pn)}vn.prototype=gn.prototype={constructor:vn,select:E,selectAll:P,filter:Y,data:O,enter:q,exit:B,join:I,merge:$,order:Z,sort:W,call:K,nodes:J,node:Q,size:tt,empty:nt,each:et,attr:ht,style:yt,property:Mt,classed:Dt,text:Pt,html:qt,raise:Vt,lower:jt,append:$t,insert:Wt,remove:Kt,clone:tn,datum:nn,on:sn,dispatch:dn};const yn=gn;var mn={value:function(){}};function wn(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new _n(r)}function _n(t){this._=t}function xn(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function Mn(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=mn,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}_n.prototype=wn.prototype={constructor:_n,on:function(t,n){var e,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),u=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++u<a;)if(e=(t=o[u]).type)i[e]=Mn(i[e],t.name,n);else if(null==n)for(e in i)i[e]=Mn(i[e],t.name,null);return this}for(;++u<a;)if((e=(t=o[u]).type)&&(e=xn(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new _n(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};const bn=wn;var An,kn,Cn=0,Tn=0,Nn=0,Un=0,zn=0,Dn=0,En="object"==typeof performance&&performance.now?performance:Date,Sn="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Ln(){return zn||(Sn(Pn),zn=En.now()+Dn)}function Pn(){zn=0}function Rn(){this._call=this._time=this._next=null}function Yn(t,n,e){var r=new Rn;return r.restart(t,n,e),r}function Fn(){zn=(Un=En.now())+Dn,Cn=Tn=0;try{!function(){Ln(),++Cn;for(var t,n=An;n;)(t=zn-n._time)>=0&&n._call.call(null,t),n=n._next;--Cn}()}finally{Cn=0,function(){for(var t,n,e=An,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:An=n);kn=t,Hn(r)}(),zn=0}}function qn(){var t=En.now(),n=t-Un;n>1e3&&(Dn-=n,Un=t)}function Hn(t){Cn||(Tn&&(Tn=clearTimeout(Tn)),t-zn>24?(t<1/0&&(Tn=setTimeout(Fn,t-En.now()-Dn)),Nn&&(Nn=clearInterval(Nn))):(Nn||(Un=En.now(),Nn=setInterval(qn,1e3)),Cn=1,Sn(Fn)))}function Vn(t,n,e){var r=new Rn;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r}Rn.prototype=Yn.prototype={constructor:Rn,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ln():+e)+(null==n?0:+n),this._next||kn===this||(kn?kn._next=this:An=this,kn=this),this._call=t,this._time=e,Hn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Hn())}},e.dn(Vn),e.dn(On);var Xn=bn("start","end","cancel","interrupt"),jn=[];function On(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(c){var s,l,f,h;if(1!==e.state)return a();for(s in i)if((h=i[s]).name===e.name){if(3===h.state)return Vn(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[s]):+s<n&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[s])}if(Vn(function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(c))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,r=new Array(f=e.tween.length),s=0,l=-1;s<f;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(r[++l]=h);r.length=l+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1
1),o=-1,u=r.length;++o<u;)r[o].call(t,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=Yn(function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:i,on:Xn,tween:jn,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function Bn(t,n){var e=$n(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function In(t,n){var e=$n(t,n);if(e.state>3)throw new Error("too late; already running");return e}function $n(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Zn(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}}function Wn(t){return this.each(function(){Zn(this,t)})}function Gn(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}e.dn(Zn),e.dn(Wn),e.dn(Gn),e.dn(re);var Kn,Jn,Qn,te,ne=180/Math.PI,ee={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function re(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*ne,skewX:Math.atan(c)*ne,scaleX:u,scaleY:a}}function ie(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:Gn(t,i)},{i:c-2,x:Gn(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Gn(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Gn(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:Gn(t,e)},{i:a-2,x:Gn(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var oe=ie(function(t){return"none"===t?ee:(Kn||(Kn=document.createElement("DIV"),Jn=document.documentElement,Qn=document.defaultView),Kn.style.transform=t,t=Qn.getComputedStyle(Jn.appendChild(Kn),null).getPropertyValue("transform"),Jn.removeChild(Kn),re(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),ue=ie(function(t){return null==t?ee:(te||(te=document.createElementNS("http://www.w3.org/2000/svg","g")),te.setAttribute("transform",t),(t=te.transform.baseVal.consolidate())?re((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ee)},", ",")",")");function ae(t,n){var e,r;return function(){var i=In(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function ce(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=In(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,s=i.length;c<s;++c)if(i[c].name===n){i[c]=a;break}c===s&&i.push(a)}o.tween=i}}function se(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=$n(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?ae:ce)(e,t,n))}function le(t,n,e){var r=t._id;return t.each(function(){var t=In(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return $n(t,r).value[n]}}function fe(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function he(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function de(){}e.dn(se),e.dn(fe);var pe=.7,ve=1/pe,ge="\\s*([+-]?\\d+)\\s*",ye="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",me="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",we=/^#([0-9a-f]{3,8})$/,_e=new RegExp("^rgb\\("+[ge,ge,ge]+"\\)$"),xe=new RegExp("^rgb\\("+[me,me,me]+"\\)$"),Me=new RegExp("^rgba\\("+[ge,ge,ge,ye]+"\\)$"),be=new RegExp("^rgba\\("+[me,me,me,ye]+"\\)$"),Ae=new RegExp("^hsl\\("+[ye,me,me]+"\\)$"),ke=new RegExp("^hsla\\("+[ye,me,me,ye]+"\\)$"),Ce={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Te(){return this.rgb().formatHex()}function Ne(){return this.rgb().formatRgb()}function Ue(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=we.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?ze(n):3===e?new Se(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?De(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?De(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=_e.exec(t))?new Se(n[1],n[2],n[3],1):(n=xe.exec(t))?new Se(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Me.exec(t))?De(n[1],n[2],n[3],n[4]):(n=be.exec(t))?De(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ae.exec(t))?Ye(n[1],n[2]/100,n[3]/100,1):(n=ke.exec(t))?Ye(n[1],n[2]/100,n[3]/100,n[4]):Ce.hasOwnProperty(t)?ze(Ce[t]):"transparent"===t?new Se(NaN,NaN,NaN,0):null}function ze(t){return new Se(t>>16&255,t>>8&255,255&t,1)}function De(t,n,e,r){return r<=0&&(t=n=e=NaN),new Se(t,n,e,r)}function Ee(t,n,e,r){return 1===arguments.length?((i=t)instanceof de||(i=Ue(i)),i?new Se((i=i.rgb()).r,i.g,i.b,i.opacity):new Se):new Se(t,n,e,r??1);var i}function Se(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Le(){return"#"+Re(this.r)+Re(this.g)+Re(this.b)}function Pe(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+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+")")}function Re(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Ye(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new qe(t,n,e,r)}function Fe(t){if(t instanceof qe)return new qe(t.h,t.s,t.l,t.opacity);if(t instanceof de||(t=Ue(t)),!t)return new qe;if(t instanceof qe)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e<r):e===o?(r-n)/a+2:(n-e)/a+4,a/=c<.5?o+i:2-o-i,u*=60):a=c>0&&c<1?0:u,new qe(u,a,c,t.opacity)}function qe(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function He(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Ve(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function Xe(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r<n-1?t[r+2]:2*o-i;return Ve((e-r/n)*n,u,i,o,a)}}function je(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],u=t[(r+1)%n],a=t[(r+2)%n];return Ve((e-r/n)*n,i,o,u,a)}}function Oe(t){return function(){return t}}function Be(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Oe(isNaN(t)?n:t)}fe(de,Ue,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Te,formatHex:Te,formatHsl:function(){return Fe(this).formatHsl()},formatRgb:Ne,toString:Ne}),fe(Se,Ee,he(de,{brighter:function(t){return t=null==t?ve:Math.pow(ve,t),new Se(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?pe:Math.pow(pe,t),new Se(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:Le,formatHex:Le,formatRgb:Pe,toString:Pe})),fe(qe,function(t,n,e,r){return 1===arguments.length?Fe(t):new qe(t,n,e,r??1)},he(de,{brighter:function(t){return t=null==t?ve:Math.pow(ve,t),new qe(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?pe:Math.pow(pe,t),new qe(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 Se(He(t>=240?t-240:t+120,i,r),He(t,i,r),He(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},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}})),e.dn(Xe),e.dn(je),e.dn(Oe);const Ie=function t(n){var e=function(t){return 1===(t=+t)?Be:function(n,e){return e-n?function(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)}}(n,e,t):Oe(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Ee(t)).r,(n=Ee(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=Be(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function $e(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e<i;++e)r=Ee(n[e]),o[e]=r.r||0,u[e]=r.g||0,a[e]=r.b||0;return o=t(o),u=t(u),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=a(t),r+""}}}var Ze=$e(Xe);$e(je),e.dn(Ke);var We=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ge=new RegExp(We.source,"g");function Ke(t,n){var e,r,i,o=We.lastIndex=Ge.lastIndex=0,u=-1,a=[],c=[];for(t+="",n+="";(e=We.exec(t))&&(r=Ge.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:Gn(e,r)})),o=Ge.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)a[(e=c[r]).i]=e.x(t);return a.join("")})}function Je(t,n){var e;return("number"==typeof n?Gn:n instanceof Ue?Ie:(e=Ue(n))?(n=e,Ie):Ke)(t,n)}function Qe(t){return function(){this.removeAttribute(t)}}function tr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function nr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}
vendor: 4,928 bytes, line 1
1}function er(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}function rr(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttribute(t))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttribute(t)}}function ir(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttributeNS(t.space,t.local))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttributeNS(t.space,t.local)}}function or(t,n){var e=ot(t),r="transform"===e?ue:Je;return this.attrTween(t,"function"==typeof n?(e.local?ir:rr)(e,r,le(this,"attr."+t,n)):null==n?(e.local?tr:Qe)(e):(e.local?er:nr)(e,r,n))}function ur(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,i)),e}return i._value=n,i}function ar(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,i)),e}return i._value=n,i}function cr(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=ot(t);return this.tween(e,(r.local?ur:ar)(r,n))}function sr(t,n){return function(){Bn(this,t).delay=+n.apply(this,arguments)}}function lr(t,n){return n=+n,function(){Bn(this,t).delay=n}}function fr(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?sr:lr)(n,t)):$n(this.node(),n).delay}function hr(t,n){return function(){In(this,t).duration=+n.apply(this,arguments)}}function dr(t,n){return n=+n,function(){In(this,t).duration=n}}function pr(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?hr:dr)(n,t)):$n(this.node(),n).duration}function vr(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw new Error;return function(){In(this,t).ease=n}}(n,t)):$n(this.node(),n).ease}function gr(t){"function"!=typeof t&&(t=R(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new Er(r,this._parents,this._name,this._id)}function yr(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,s=n[a],l=e[a],f=s.length,h=u[a]=new Array(f),d=0;d<f;++d)(c=s[d]||l[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new Er(u,this._parents,this._name,this._id)}function mr(t,n){var e=this._id;return arguments.length<2?$n(this.node(),e).on.on(t):this.each(function(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?Bn:In;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}(e,t,n))}function wr(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))}function _r(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=D(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,s=r[u],l=s.length,f=o[u]=new Array(l),h=0;h<l;++h)(a=s[h])&&(c=t.call(a,a.__data__,h,s))&&("__data__"in a&&(c.__data__=a.__data__),f[h]=c,On(f[h],n,e,h,f,$n(a,e)));return new Er(o,this._parents,n,e)}function xr(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=L(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,s=r[a],l=s.length,f=0;f<l;++f)if(c=s[f]){for(var h,d=t.call(c,c.__data__,f,s),p=$n(c,e),v=0,g=d.length;v<g;++v)(h=d[v])&&On(h,n,e,v,d,p);o.push(d),u.push(c)}return new Er(o,u,n,e)}e.dn(Je),e.dn(or),e.dn(cr),e.dn(fr),e.dn(pr),e.dn(vr),e.dn(gr),e.dn(yr),e.dn(mr),e.dn(wr),e.dn(_r),e.dn(xr),e.dn(br);var Mr=yn.prototype.constructor;function br(){return new Mr(this._groups,this._parents)}function Ar(t){return function(){this.style.removeProperty(t)}}function kr(t,n,e){var r="transform"==(t+="")?oe:Je;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=mt(this,t),u=(this.style.removeProperty(t),mt(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,Ar(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var u=mt(this,t),a=e(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=mt(this,t)),u===c?null:u===r&&c===i?o:(i=c,o=n(r=u,a))}}(t,r,le(this,"style."+t,n))).each(function(t,n){var e,r,i,o,u="style."+n,a="end."+u;return function(){var c=In(this,t),s=c.on,l=null==c.value[u]?o||(o=Ar(n)):void 0;s===e&&i===l||(r=(e=s).copy()).on(a,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var u=mt(this,t);return u===o?null:u===r?i:i=n(r=u,e)}
1}(t,r,n),e).on("end.style."+t,null)}function Cr(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,e??""))}function Tr(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=n??""}}(le(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))}function Nr(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))}function Ur(){for(var t=this._name,n=this._id,e=Sr(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,s=0;s<c;++s)if(u=a[s]){var l=$n(u,n);On(u,t,e,s,a,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Er(r,this._parents,t,e)}function zr(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,u){var a={value:u},c={value:function(){0===--i&&o()}};e.each(function(){var e=In(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(c)),e.on=n})})}e.dn(kr),e.dn(Cr),e.dn(Tr),e.dn(Nr),e.dn(Ur),e.dn(zr);var Dr=0;function Er(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Sr(){return++Dr}var Lr=yn.prototype;Er.prototype=function(t){return yn().transition(t)}.prototype={constructor:Er,select:_r,selectAll:xr,filter:gr,merge:yr,selection:br,transition:Ur,call:Lr.call,nodes:Lr.nodes,node:Lr.node,size:Lr.size,empty:Lr.empty,each:Lr.each,on:mr,attr:or,attrTween:cr,style:kr,styleTween:Cr,text:Tr,textTween:Nr,remove:wr,tween:se,delay:fr,duration:pr,ease:vr,end:zr},e.dn(Yr);var Pr={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Rr(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return Pr.time=Ln(),Pr;return e}function Yr(t){var n,e;t instanceof Er?(n=t._id,t=t._name):(n=Sr(),(e=Pr).time=Ln(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,s=0;s<c;++s)(u=a[s])&&On(u,t,n,s,a,e||Rr(u,n));return new Er(r,this._parents,t,n)}yn.prototype.interrupt=Wn,yn.prototype.transition=Yr,e.dn(function(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>void 0&&e.name===n)return new(void 0)([[t]],Or,n,+r);return null});var Fr,qr,Hr,Vr,Xr,jr,Or=null;e.dn(function(){return function(t){var n,e=si,r=ci,i=li,o=!0,u=(void 0)("start","brush","end"),a=6;function c(n){var e=n.property("__brush",v).selectAll(".overlay").data([ai("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ui.overlay).merge(e).each(function(){var t=fi(this).extent;Fr(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),n.selectAll(".selection").data([ai("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ui.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return ui[t.type]}),n.each(s).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function s(){var t=Fr(this),n=fi(this).selection;
1n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new f(t,n,e):r}function f(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(){if((!n||qr.touches)&&r.apply(this,arguments)){var e,i,u,a,c,f,h,d,p,v,g,y,m=this,w=qr.target.__data__.type,_="selection"===(o&&qr.metaKey?w="overlay":w)?null:o&&qr.altKey?$r:Ir,x=t===ii?null:null[w],M=t===ri?null:null[w],b=fi(m),A=b.extent,k=b.selection,C=A[0][0],T=A[0][1],N=A[1][0],U=A[1][1],z=0,D=0,E=x&&M&&o&&qr.shiftKey,S=qr.touches?(y=qr.changedTouches[0].identifier,function(t){return(void 0)(t,qr.touches,y)}):void 0,L=S(m),P=L,R=l(m,arguments,!0).beforestart();"overlay"===w?(k&&(p=!0),b.selection=k=[[e=t===ii?C:L[0],u=t===ri?T:L[1]],[c=t===ii?N:e,h=t===ri?U:u]]):(e=k[0][0],u=k[0][1],c=k[1][0],h=k[1][1]),i=e,a=u,f=c,d=h;var Y=Fr(m).attr("pointer-events","none"),F=Y.selectAll(".overlay").attr("cursor",ui[w]);if(qr.touches)R.moved=H,R.ended=X;else{var q=Fr(qr.view).on("mousemove.brush",H,!0).on("mouseup.brush",X,!0);o&&q.on("keydown.brush",function(){switch(qr.keyCode){case 16:E=x&&M;break;case 18:_===Ir&&(x&&(c=f-z*x,e=i+z*x),M&&(h=d-D*M,u=a+D*M),_=$r,V());break;case 32:_!==Ir&&_!==$r||(x<0?c=f-z:x>0&&(e=i-z),M<0?h=d-D:M>0&&(u=a-D),_=Br,F.attr("cursor",ui.selection),V());break;default:return}jr()},!0).on("keyup.brush",function(){switch(qr.keyCode){case 16:E&&(v=g=E=!1,V());break;case 18:_===$r&&(x<0?c=f:x>0&&(e=i),M<0?h=d:M>0&&(u=a),_=Ir,V());break;case 32:_===Br&&(qr.altKey?(x&&(c=f-z*x,e=i+z*x),M&&(h=d-D*M,u=a+D*M),_=$r):(x<0?c=f:x>0&&(e=i),M<0?h=d:M>0&&(u=a),_=Ir),F.attr("cursor",ui[w]),V());break;default:return}jr()},!0),(void 0)(qr.view)}Xr(),Hr(m),s.call(m),R.start()}function H(){var t=S(m);!E||v||g||(Math.abs(t[0]-P[0])>Math.abs(t[1]-P[1])?g=!0:v=!0),P=t,p=!0,jr(),V()}function V(){var t;switch(z=P[0]-L[0],D=P[1]-L[1],_){case Br:case null:x&&(z=Math.max(C-e,Math.min(N-c,z)),i=e+z,f=c+z),M&&(D=Math.max(T-u,Math.min(U-h,D)),a=u+D,d=h+D);break;case Ir:x<0?(z=Math.max(C-e,Math.min(N-e,z)),i=e+z,f=c):x>0&&(z=Math.max(C-c,Math.min(N-c,z)),i=e,f=c+z),M<0?(D=Math.max(T-u,Math.min(U-u,D)),a=u+D,d=h):M>0&&(D=Math.max(T-h,Math.min(U-h,D)),a=u,d=h+D);break;case $r:x&&(i=Math.max(C,Math.min(N,e-z*x)),f=Math.max(C,Math.min(N,c+z*x))),M&&(a=Math.max(T,Math.min(U,u-D*M)),d=Math.max(T,Math.min(U,h+D*M)))}f<i&&(x*=-1,t=e,e=c,c=t,t=i,i=f,f=t,w in null&&F.attr("cursor",ui[w=null[w]])),d<a&&(M*=-1,t=u,u=h,h=t,t=a,a=d,d=t,w in null&&F.attr("cursor",ui[w=null[w]])),b.selection&&(k=b.selection),v&&(i=k[0][0],f=k[1][0]),g&&(a=k[0][1],d=k[1][1]),k[0][0]===i&&k[0][1]===a&&k[1][0]===f&&k[1][1]===d||(b.selection=[[i,a],[f,d]],s.call(m),R.brush())}function X(){if(Xr(),qr.touches){if(qr.touches.length)return;n&&clearTimeout(n),n=setTimeout(function(){n=null},500)}else(void 0)(qr.view,p),q.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Y.attr("pointer-events","all"),F.attr("cursor",ui.overlay),b.selection&&(k=b.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(k)&&(b.selection=null,s.call(m)),R.end()}}function d(){l(this,arguments).moved()}function p(){l(this,arguments).ended()}function v(){var n=this.__brush||{selection:null};return n.extent=Wr(e.apply(this,arguments)),n.dim=t,n}return c.move=function(n,e){n.selection?n.on("start.brush",function(){l(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){l(this,arguments).end()}).tween("brush",function(){var n=this,r=n.__brush,i=l(n,arguments),o=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),a=(void 0)(o,u);function c(t){r.selection=1===t&&null===u?null:a(t),s.call(n),i.brush()}return null!==o&&null!==u?c:c(1)}):n.each(function(){var n=this,r=arguments,i=n.__brush,o=t.input("function"==typeof e?e.apply(n,r):e,i.extent),u=l(n,r).beforestart();Hr(n),i.selection=null===o?null:o,s.call(n),u.start().brush().end()})},c.clear=function(t){c.move(t,null)},f.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit
1("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(n){(void 0)(new(void 0)(c,n,t.output(this.state.selection)),u.apply,u,[n,this.that,this.args])}},c.extent=function(t){return arguments.length?(e="function"==typeof t?t:Vr(Wr(t)),c):e},c.filter=function(t){return arguments.length?(r="function"==typeof t?t:Vr(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"==typeof t?t:Vr(!!t),c):i},c.handleSize=function(t){return arguments.length?(a=+t,c):a},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=u.on.apply(u,arguments);return t===u?c:t},c}(oi)});var Br=null,Ir=null,$r=null;function Zr(t){return[+t[0],+t[1]]}function Wr(t){return[Zr(t[0]),Zr(t[1])]}var Gr,Kr,Jr,Qr,ti,ni,ei,ri={name:"x",handles:["w","e"].map(ai),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},ii={name:"y",handles:["n","s"].map(ai),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},oi={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(ai),input:function(t){return null==t?null:Wr(t)},output:function(t){return t}},ui=null;function ai(t){return{type:t}}function ci(){return!qr.ctrlKey&&!qr.button}function si(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function li(){return navigator.maxTouchPoints||"ontouchstart"in this}function fi(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function hi(t){return t.source}function di(t){return t.target}function pi(t){return t.radius}function vi(t){return t.startAngle}function gi(t){return t.endAngle}Math.cos,Math.sin,Math.PI,Math.max,e.dn(function(){var t=0,n=null,e=null,r=null;function i(i){var o,u,a,c,s,l,f=i.length,h=[],d=Gr(f),p=[],v=[],g=v.groups=new Array(f),y=new Array(f*f);for(o=0,s=-1;++s<f;){for(u=0,l=-1;++l<f;)u+=i[s][l];h.push(u),p.push(Gr(f)),o+=u}for(n&&d.sort(function(t,e){return n(h[t],h[e])}),e&&p.forEach(function(t,n){t.sort(function(t,r){return e(i[n][t],i[n][r])})}),c=(o=Kr(0,Jr-t*f)/o)?t:Jr/f,u=0,s=-1;++s<f;){for(a=u,l=-1;++l<f;){var m=d[s],w=p[m][l],_=i[m][w],x=u,M=u+=_*o;y[w*f+m]={index:m,subindex:w,startAngle:x,endAngle:M,value:_}}g[m]={index:m,startAngle:a,endAngle:u,value:h[m]},u+=c}for(s=-1;++s<f;)for(l=s-1;++l<f;){var b=y[l*f+s],A=y[s*f+l];(b.value||A.value)&&v.push(b.value<A.value?{source:A,target:b}:{source:b,target:A})}return r?v.sort(r):v}return i.padAngle=function(n){return arguments.length?(t=Kr(0,n),i):t},i.sortGroups=function(t){return arguments.length?(n=t,i):n},i.sortSubgroups=function(t){return arguments.length?(e=t,i):e},i.sortChords=function(t){return arguments.length?(null==t?r=null:(n=t,r=function(t,e){return n(t.source.value+t.target.value,e.source.value+e.target.value)})._=t,i):r&&r._;var n},i}),Array.prototype.slice,e.dn(function(){var t=hi,n=di,e=pi,r=vi,i=gi,o=null;function u(){var u,a=(void 0).call(arguments),c=t.apply(this,a),s=n.apply(this,a),l=+e.apply(this,(a[0]=c,a)),f=r.apply(this,a)-ti,h=i.apply(this,a)-ti,d=l*ni(f),p=l*ei(f),v=+e.apply(this,(a[0]=s,a)),g=r.apply(this,a)-ti,y=i.apply(this,a)-ti;if(o||(o=u=(void 0)()),o.moveTo(d,p),o.arc(0,0,l,f,h),f===g&&h===y||(o.quadraticCurveTo(0,0,v*ni(g),v*ei(g)),o.arc(0,0,v,g,y)),o.quadraticCurveTo(0,0,d,p),o.closePath(),u)return o=null,u+""||null}return u.radius=function(t){return arguments.length?(e="function"==typeof t?t:Qr(+t),u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Qr(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Qr(+t),u):i},u.source=function(n){return arguments.length?(t=n,u):t},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(o=t??null,u):o},u});var yi="$";function mi(){}function wi(t,n){var e=new mi;if(t instanceof mi)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}mi.prototype=wi.prototype={constructor:mi,has:function(t){return yi+t in this},get:function(t){return this[yi+t]},set:function(t,n){return this[yi+t]=n,this},remove:function(t){var n=yi+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===yi&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===yi&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===yi&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===yi&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===yi&&++t;return t},empty:function(){for(var t in this)if(t[0]===yi)return!1;return!0},each:function(t){for(var n in this)n[0]===yi&&t(this[n],n.slice(1),this)}};const _i=wi;var xi;function Mi(){return{}}function bi(t,n,e){t[n]=e}function Ai(){return xi()}function ki(t,n,e){t.set(n,e)}function Ci(){}e.dn(function(){var t,n,e,r=[],i=[];function o(e,i,u,a){if(i>=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,s,l,f=-1,h=e.length,d=r[i++],p=xi(),v=u();++f<h;)(l=p.get(c=d(s=e[f])+""))?l.push(s):p.set(c,[s]);return p.each(function(t,n){a(v,n,o(t,i,u,a))}),v}function u(t,e){if(++e>r.length)return t;var o,a=i[e-1];return null!=n&&e>=r.length?o=t.entries():(o=[],t.each(function(t,n){o.push({key:n,values:u(t,e)})})),null!=a?o.sort(function(t,n){return a(t.key,n.key)}):o}return e={object:function(t){return o(t,0,Mi,bi)},map:function(t){return o(t,0,Ai,ki)}
1,entries:function(t){return u(o(t,0,Ai,ki),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}});var Ti,Ni=_i.prototype;Ci.prototype=function(t,n){var e=new Ci;if(t instanceof Ci)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}.prototype={constructor:Ci,has:Ni.has,add:function(t){return this[yi+(t+="")]=t,this},remove:Ni.remove,clear:Ni.clear,values:Ni.keys,size:Ni.size,empty:Ni.empty,each:Ni.each},Array.prototype.slice,e.dn(function(){var t=1,n=1,e=void 0,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(void 0);else{var r=(void 0)(t),i=r[0],u=r[1];n=(void 0)(i,u,n),n=(void 0)(Math.floor(i/n)*n,Math.floor(u/n)*n,n)}return n.map(function(n){return o(t,n)})}function o(e,i){var o=[],a=[];return function(e,r,i){var o,a,c,s,l,f,h=new Array,d=new Array;for(o=a=-1,s=e[0]>=r,Li[s<<1].forEach(p);++o<t-1;)c=s,s=e[o+1]>=r,Li[c|s<<1].forEach(p);for(Li[0|s].forEach(p);++a<n-1;){for(o=-1,s=e[a*t+t]>=r,l=e[a*t]>=r,Li[s<<1|l<<2].forEach(p);++o<t-1;)c=s,s=e[a*t+t+o+1]>=r,f=l,l=e[a*t+o+1]>=r,Li[c|s<<1|l<<2|f<<3].forEach(p);Li[s|l<<3].forEach(p)}for(o=-1,l=e[a*t]>=r,Li[l<<2].forEach(p);++o<t-1;)f=l,l=e[a*t+o+1]>=r,Li[l<<2|f<<3].forEach(p);function p(t){var n,e,r=[t[0][0]+o,t[0][1]+a],c=[t[1][0]+o,t[1][1]+a],s=u(r),l=u(c);(n=d[s])?(e=h[l])?(delete d[n.end],delete h[e.start],n===e?(n.ring.push(c),i(n.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(c),d[n.end=l]=n):(n=h[l])?(e=d[s])?(delete h[n.start],delete d[e.end],n===e?(n.ring.push(c),i(n.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete h[n.start],n.ring.unshift(r),h[n.start=s]=n):h[s]=d[l]={start:s,end:l,ring:[r,c]}}Li[l<<3].forEach(p)}(e,i,function(t){r(t,e,i),(void 0)(t)>0?o.push([t]):a.push(t)}),a.forEach(function(t){for(var n,e=0,r=o.length;e<r;++e)if(-1!==(void 0)((n=o[e])[0],t))return void n.push(t)}),{type:"MultiPolygon",value:i,coordinates:o}}function u(n){return 2*n[0]+n[1]*(t+1)*4}function a(e,r,i){e.forEach(function(e){var o,u=e[0],a=e[1],c=0|u,s=0|a,l=r[s*t+c];u>0&&u<t&&c===u&&(o=r[s*t+c-1],e[0]=u+(i-o)/(l-o)-.5),a>0&&a<n&&s===a&&(o=r[(s-1)*t+c],e[1]=a+(i-o)/(l-o)-.5)})}return i.contour=o,i.size=function(e){if(!arguments.length)return[t,n];var r=Math.ceil(e[0]),o=Math.ceil(e[1]);if(!(r>0&&o>0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Ti((void 0).call(t)):Ti(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:void 0,i):r===a},i});var Ui,zi,Di,Ei,Si,Li=null;function Pi(t){return t[0]}function Ri(t){return t[1]}function Yi(){return 1}function Fi(t){return t*(2-t)}function qi(t){return t.index}function Hi(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}e.dn(function(){var t=Pi,n=Ri,e=Yi,r=960,i=500,o=20,u=2,a=3*o,c=r+2*a>>u,s=i+2*a>>u,l=Di(20);function f(r){var i=new Float32Array(c*s),f=new Float32Array(c*s);r.forEach(function(r,o,l){var f=+t(r,o,l)+a>>u,h=+n(r,o,l)+a>>u,d=+e(r,o,l);f>=0&&f<c&&h>=0&&h<s&&(i[f+h*c]+=d)}),Ui({width:c,height:s,data:i},{width:c,height:s,data:f},o>>u),zi({width:c,height:s,data:f},{width:c,height:s,data:i},o>>u),Ui({width:c,height:s,data:i},{width:c,height:s,data:f},o>>u),zi({width:c,height:s,data:f},{width:c,height:s,data:i},o>>u),Ui({width:c,height:s,data:i},{width:c,height:s,data:f},o>>u),zi({width:c,height:s,data:f},{width:c,height:s,data:i},o>>u);var d=l(i);if(!Array.isArray(d)){var p=(void 0)(i);d=(void 0)(0,p,d),(d=(void 0)(0,Math.floor(p/d)*d,d)).shift()}return(void 0)().thresholds(d).size([c,s])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*u),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,u)-a,t[1]=t[1]*Math.pow(2,u)-a}function g(){return c=r+2*(a=3*o)>>u,s=i+2*a>>u,f}return f.x=function(n){return arguments.length?(t="function"==typeof n?n:Di(+n),f):t},f.y=function(t){return arguments.length?(n="function"==typeof t?t:Di(+t),f):n},f.weight=function(t){return arguments.length?(e="function"==typeof t?t:Di(+t),f):e},f.size=function(t){if(!arguments.length)return[r,i];var n=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(n>=0||n>=0))throw new Error("invalid size");return r=n,i=e,g()},f.cellSize=function(t){if(!arguments.length)return 1<<u;if(!((t=+t)>=1))throw new Error("invalid cell size");return u=Math.floor(Math.log(t)/Math.LN2),g()},f.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?Di((void 0).call(t)):Di(t),f):l},f.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),g()},f}),e.dn(function(t){var n,e,r,i,o,u=qi,a=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},c=Ei(30),s=1;function l(r){for(var i=0,u=t.length;i<s;++i)for(var a,c,l,f,h,d,p,v=0;v<u;++v)c=(a=t[v]).source,f=(l=a.target).x+l.vx-c.x-c.vx||Si(),h=l.y+l.vy-c.y-c.vy||Si(),f*=d=((d=Math.sqrt(f*f+h*h))-e[v])/d*r*n[v],h*=d,l.vx-=f*(p=o[v]),l.vy-=h*p,c.vx+=f*(p=1-p),c.vy+=h*p}function f(){if(r){var a,c,s=r.length,l=t.length,f=(void 0)(r,u);for(a=0,i=new Array(s);a<l;++a)(c=t[a]).index=a,"object"!=typeof c.source&&(c.source=Hi(f,c.source)),"object"!=typeof c.target&&(c.target=Hi(f,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(l);a<l;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);n=new Array(l),h(),e=new Array(l),d()}}function h(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+a(t[e],e,t)}function d(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+c(t[n],n,t)}return null==t&&(t=[]),l.initialize=function(t){r=t,f()},l.links=function(n){return arguments.length?(t=n,f(),l):t},l.id=function(t){return arguments.length?(u=t,l):u},l.iterations=function(t){return arguments.length?(s=+t,l):s},l.strength=function(t){return arguments.length?(a="function"==typeof t?t:Ei(+t),h(),l):a},l.distance=function(t){return arguments.length?(c="function"==typeof t?t:Ei(+t),d(),l):c},l}),e.dn(function(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,u=.6,a=(void 0)(),c=(void 0)(l),s=(void 0)("tick","end");function l(){f(),s.call("tick",n),e<r&&(c.stop(),s.call("end",n))}function f(r){var c,s,l=t.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(e+=(o-e)*i,a.each(function(t){t(e)}),c=0;c<l;++c)null==(s=t[c]).fx?s.x+=s.vx*=u:(s.x=s.fx,s.vx=0),null==s.fy?s.y+=s.vy*=u:(s.y=s.fy,s.vy=0);return n}function h(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,null!=n.fx&&(n.x=n.fx),null!=n.fy&&(n.y=n.fy),isNaN(n.x)||isNaN(n.y)
vendor: 4,402 bytes, line 1
1){var i=10*Math.sqrt(e),o=e*ji;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function d(n){return n.initialize&&n.initialize(t),n}return null==t&&(t=[]),h(),n={tick:f,restart:function(){return c.restart(l),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,h(),a.each(d),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(u=1-t,n):1-u},force:function(t,e){return arguments.length>1?(null==e?a.remove(t):a.set(t,d(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,s=0,l=t.length;for(null==r?r=1/0:r*=r,s=0;s<l;++s)(u=(i=n-(a=t[s]).x)*i+(o=e-a.y)*o)<r&&(c=a,r=u);return c},on:function(t,e){return arguments.length>1?(s.on(t,e),n):s.on(t)}}});var Vi,Xi,ji=Math.PI*(3-Math.sqrt(5));function Oi(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Bi(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 Ii(t){return(t=Bi(Math.abs(t)))?t[1]:NaN}function $i(t,n){return function(e,r){for(var i=e.length,o=[],u=0,a=t[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(e.substring(i-=a,i+a)),!((c+=a+1)>r));)a=t[u=(u+1)%t.length];return o.reverse().join(n)}}function Zi(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}e.dn(function(){var t,n,e,r,i=Vi(-30),o=1,u=1/0,a=.81;function c(r){var i,o=t.length,u=(void 0)(t,void 0,void 0).visitAfter(l);for(e=r,i=0;i<o;++i)n=t[i],u.visit(f)}function s(){if(t){var n,e,o=t.length;for(r=new Array(o),n=0;n<o;++n)e=t[n],r[e.index]=+i(e,n,t)}}function l(t){var n,e,i,o,u,a=0,c=0;if(t.length){for(i=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,i+=e*n.x,o+=e*n.y);t.x=i/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=r[n.data.index]}while(n=n.next)}t.value=a}function f(t,i,c,s){if(!t.value)return!0;var l=t.x-n.x,f=t.y-n.y,h=s-i,d=l*l+f*f;if(h*h/a<d)return d<u&&(0===l&&(d+=(l=Xi())*l),0===f&&(d+=(f=Xi())*f),d<o&&(d=Math.sqrt(o*d)),n.vx+=l*t.value*e/d,n.vy+=f*t.value*e/d),!0;if(!(t.length||d>=u)){(t.data!==n||t.next)&&(0===l&&(d+=(l=Xi())*l),0===f&&(d+=(f=Xi())*f),d<o&&(d=Math.sqrt(o*d)));do{t.data!==n&&(h=r[t.data.index]*e/d,n.vx+=l*h,n.vy+=f*h)}while(t=t.next)}}return c.initialize=function(n){t=n,s()},c.strength=function(t){return arguments.length?(i="function"==typeof t?t:Vi(+t),s(),c):i},c.distanceMin=function(t){return arguments.length?(o=t*t,c):Math.sqrt(o)},c.distanceMax=function(t){return arguments.length?(u=t*t,c):Math.sqrt(u)},c.theta=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c}),e.dn(Oi),e.dn(Ii),e.dn($i),e.dn(Zi);var Wi,Gi=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ki(t){if(!(n=Gi.exec(t)))throw new Error("invalid format: "+t);var n;return new Ji({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Ji(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Qi(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}function to(t,n){var e=Bi(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Wi=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Bi(t,Math.max(0,n+o-1))[0]}function no(t,n){var e=Bi(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Ki.prototype=Ji.prototype,Ji.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
1:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type},e.dn(Qi),e.dn(to),e.dn(no);const eo={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:Oi,e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return no(100*t,n)},r:no,s:to,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function ro(t){return t}e.dn(ro),e.dn(so);var io,oo,uo,ao=Array.prototype.map,co=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function so(t){var n=void 0===t.grouping||void 0===t.thousands?ro:$i(ao.call(t.grouping,Number),t.thousands+""),e=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",o=void 0===t.numerals?ro:Zi(ao.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",a=void 0===t.minus?"-":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function s(t){var s=(t=Ki(t)).fill,l=t.align,f=t.sign,h=t.symbol,d=t.zero,p=t.width,v=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(v=!0,m="g"):eo[m]||(void 0===g&&(g=12),y=!0,m="g"),(d||"0"===s&&"="===l)&&(d=!0,s="0",l="=");var w="$"===h?e:"#"===h&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",_="$"===h?r:/[%p]/.test(m)?u:"",x=eo[m],M=/[defgprs%]/.test(m);function b(t){var e,r,u,h=w,b=_;if("c"===m)b=x(t)+b,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:x(Math.abs(t),g),y&&(t=Qi(t)),A&&0===+t&&"+"!==f&&(A=!1),h=(A?"("===f?f:a:"-"===f||"("===f?"":f)+h,b=("s"===m?co[8+Wi/3]:"")+b+(A&&"("===f?")":""),M)for(e=-1,r=t.length;++e<r;)if(48>(u=t.charCodeAt(e))||u>57){b=(46===u?i+t.slice(e+1):t.slice(e))+b,t=t.slice(0,e);break}}v&&!d&&(t=n(t,1/0));var k=h.length+t.length+b.length,C=k<p?new Array(p-k+1).join(s):"";switch(v&&d&&(t=n(C+t,C.length?p-b.length:1/0),C=""),l){case"<":t=h+t+b+C;break;case"=":t=h+C+t+b;break;case"^":t=C.slice(0,k=C.length>>1)+h+t+b+C.slice(k);break;default:t=C+h+t+b}return o(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),b.toString=function(){return t+""},b}return{format:s,formatPrefix:function(t,n){var e=s(((t=Ki(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Ii(n)/3))),i=Math.pow(10,-r),o=co[8+r/3];return function(t){return e(i*t)+o}}}}function lo(t,n){return t.parent===n.parent?1:2}function fo(t,n){return t+n.x}function ho(t,n){return Math.max(t,n.y)}function po(){var t=lo,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(fo,0)/t.length}(e),n.y=function(t){return 1+t.reduce(ho,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)});var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),s=a.x-t(a,c)/2,l=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-s)/(l-s)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function vo(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function go(){return this.eachAfter(vo)}function yo(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r])}while(u.length);return this}function mo(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this}function wo(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=u.pop();)t(i);return this}function _o(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})}function xo(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}function Mo(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}function bo(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}function Ao(){var t=[];return this.each(function(n){t.push(n)}),t}function ko(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}function Co(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}
1function To(t,n){var e,r,i,o,u,a=new Do(t),c=+t.value&&(a.value=t.value),s=[a];for(null==n&&(n=No);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)s.push(r=e.children[o]=new Do(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(zo)}function No(t){return t.children}function Uo(t){t.data=t.data.data}function zo(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Do(t){this.data=t,this.depth=this.height=0,this.parent=null}function Eo(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),u=new Array(r);for(e=0;e<i;++e)o[e]=Ro(t[e],n[e]);for(;e<r;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=o[e](t);return u}}function So(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Lo(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=Ro(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}function Po(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function Ro(t,n){var e,r,i=typeof n;return null==n||"boolean"===i?Oe(n):("number"===i?Gn:"string"===i?(e=Ue(n))?(n=e,Ie):Ke:n instanceof Ue?Ie:n instanceof Date?So:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Eo:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Lo:Gn:Po))(t,n)}function Yo(){return Math.random()}io=so({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),oo=io.format,uo=io.formatPrefix,e.dn(po),e.dn(go),e.dn(yo),e.dn(mo),e.dn(wo),e.dn(_o),e.dn(xo),e.dn(Mo),e.dn(bo),e.dn(Ao),e.dn(ko),e.dn(Co),Do.prototype=To.prototype={constructor:Do,count:go,each:yo,eachAfter:wo,eachBefore:mo,sum:_o,sort:xo,path:Mo,ancestors:bo,descendants:Ao,leaves:ko,links:Co,copy:function(){return To(this).eachBefore(Uo)}},e.dn(function(t,n){return((void 0)(n)?void 0:Eo)(t,n)}),e.dn(So),e.dn(Lo),e.dn(Po),e.dn(Ro),e.dn(Yo),function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(Yo);const Fo=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(Yo),qo=(function t(n){function e(){var t=Fo.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(Yo),function t(n){function e(t){return function(){for(var e=0,r=0;r<t;++r)e+=n();return e}}return e.source=t,e}(Yo));function Ho(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}(function t(n){function e(t){var e=qo.source(n)(t);return function(){return e()/t}}return e.source=t,e})(Yo),function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(Yo);var Vo=Array.prototype,Xo=Vo.map,jo=Vo.slice,Oo={name:"implicit"};function Bo(){var t=_i(),n=[],e=[],r=Oo;function i(i){var o=i+"",u=t.get(o);if(!u){if(r!==Oo)return r;t.set(o,u=n.push(i))}return e[(u-1)%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=_i();for(var r,o,u=-1,a=e.length;++u<a;)t.has(o=(r=e[u])+"")||t.set(o,n.push(r));return i},i.range=function(t){return arguments.length?(e=jo.call(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Bo(n,e).unknown(r)},Ho.apply(i,arguments),i}function Io(){var t,n,e=Bo().unknown(void 0),r=e.domain,i=e.range,o=[0,1],u=!1,a=0,c=0,s=.5;function l(){var e=r().length,l=o[1]<o[0],f=o[l-0],h=o[1-l];t=(h-f)/Math.max(1,e-a+2*c),u&&(t=Math.floor(t)),f+=(h-f-t*(e-a))*s,n=t*(1-a),u&&(f=Math.round(f),n=Math.round(n));var d=m(e).map(function(n){return f+t*n});return i(l?d.reverse():d)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),l()):r()},e.range=function(t){return arguments.length?(o=[+t[0],+t[1]],l()):o.slice()},e.rangeRound=function(t){return o=[+t[0],+t[1]],u=!0,l()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,l()):u},e.padding=function(t){return arguments.length?(a=Math.min(1,c=+t),l()):a},e.paddingInner=function(t){return arguments.length?(a=Math.min(1,t),l()):a},e.paddingOuter=function(t){return arguments.length?(c=+t,l()):c},e.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),l()):s}
1,e.copy=function(){return Io(r(),o).round(u).paddingInner(a).paddingOuter(c).align(s)},Ho.apply(l(),arguments)}function $o(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Zo(t){return function(){return t}}function Wo(t){return+t}e.dn($o),e.dn(Zo),e.dn(Wo);var Go=[0,1];function Ko(t){return t}function Jo(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Zo(isNaN(n)?NaN:.5)}function Qo(t){var n,e=t[0],r=t[t.length-1];return e>r&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function tu(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i<r?(r=Jo(i,r),o=e(u,o)):(r=Jo(r,i),o=e(o,u)),function(t){return o(r(t))}}function nu(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),u=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<r;)i[u]=Jo(t[u],t[u+1]),o[u]=e(n[u],n[u+1]);return function(n){var e=a(t,n,1,r)-1;return o[e](i[e](n))}}function eu(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ru(t,n){return function(){var t,n,e,r,i,o,u=Go,a=Go,c=Ro,s=Ko;function l(){return r=Math.min(u.length,a.length)>2?nu:tu,i=o=null,f}function f(n){return isNaN(n=+n)?e:(i||(i=r(u.map(t),a,c)))(t(s(n)))}return f.invert=function(e){return s(n((o||(o=r(a,u.map(t),Gn)))(e)))},f.domain=function(t){return arguments.length?(u=Xo.call(t,Wo),s===Ko||(s=Qo(u)),l()):u.slice()},f.range=function(t){return arguments.length?(a=jo.call(t),l()):a.slice()},f.rangeRound=function(t){return a=jo.call(t),c=$o,l()},f.clamp=function(t){return arguments.length?(s=t?Qo(u):Ko,f):s!==Ko},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}()(t,n)}function iu(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ii(n)/3)))-Ii(Math.abs(t)))}function ou(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Ii(n)-Ii(t))+1}function uu(t){return Math.max(0,-Ii(Math.abs(t)))}function au(t,n,e,r){var i,o=g(t,n,e);switch((r=Ki(r??",f")).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=iu(o,u))||(r.precision=i),uo(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=ou(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=uu(o))||(r.precision=i-2*("%"===r.type))}return oo(r)}function cu(){var t=ru(Ko,Ko);return t.copy=function(){return eu(t,cu())},Ho.apply(t,arguments),function(t){var n=t.domain;return t.ticks=function(t){var e=n();return p(e[0],e[e.length-1],t??10)},t.tickFormat=function(t,e){var r=n();return au(r[0],r[r.length-1],t??10,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,u=i.length-1,a=i[o],c=i[u];return c<a&&(r=a,a=c,c=r,r=o,o=u,u=r),(r=v(a,c,e))>0?r=v(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,e):r<0&&(r=v(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[u]=Math.ceil(c/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[u]=Math.floor(c*r)/r,n(i)),t},t}(t)}e.dn(iu),e.dn(ou),e.dn(uu),e.dn(au);var su=new Date,lu=new Date;function fu(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var u,a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u<e&&e<r);return a},i.filter=function(e){return fu(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&&(i.count=function(n,r){return su.setTime(+n),lu.setTime(+r),t(su),t(lu),Math.floor(e(su,lu))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t===0}:function(n){return i.count(0,n)%t===0}):i:null}),i}var hu=fu(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});hu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?fu(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};const du=hu;hu.range;var pu=fu(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});const vu=pu;pu.range;var gu=1e3,yu=6e4,mu=36e5,wu=864e5,_u=6048e5;function xu(t){return fu(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*yu)/_u})}var Mu=xu(0),bu=xu(1),Au=xu(2),ku=xu(3),Cu=xu(4),Tu=xu(5),Nu=xu(6),Uu=(Mu.range,bu.range,Au.range,ku.range,Cu.range,Tu.range,Nu.range,fu(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*yu)/wu},function(t){return t.getDate()-1}));const zu=Uu;Uu.range;var Du=fu(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*gu-t.getMinutes()*yu)},function(t,n){t.setTime(+t+n*mu)},function(t,n){return(n-t)/mu},function(t){return t.getHours()});const Eu=Du;Du.range;var Su=fu(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*gu)},function(t,n){t.setTime(+t+n*yu)},function(t,n){return(n-t)/yu},function(t){return t.getMinutes()});const Lu=Su;Su.range;var Pu=fu(function(t){t.setTime(t-t.getMilliseconds())},function(t,n){t.setTime(+t+n*gu)},function(t,n){return(n-t)/gu},function(t){return t.getUTCSeconds()});const Ru=Pu;Pu.range;var Yu=fu(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});Yu.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?fu(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Yu:null};const Fu=Yu;function qu(t){return fu(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/_u})}Yu.range;var Hu=qu(0),Vu=qu(1),Xu=qu(2),ju=qu(3),Ou=qu(4),Bu=qu(5),Iu=qu(6),$u=(Hu.range,Vu.range,Xu.range,ju.range,Ou.range,Bu.range,Iu.range,fu(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/wu},function(t){return t.getUTCDate()-1}
1));const Zu=$u;$u.range;var Wu=fu(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Wu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?fu(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};const Gu=Wu;function Ku(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Ju(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Qu(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}Wu.range;var ta,na,ea={"-":"",_:" ",0:"0"},ra=/^\s*\d+/,ia=/^%/,oa=/[\\^$*+?|[\]().{}]/g;function ua(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function aa(t){return t.replace(oa,"\\$&")}function ca(t){return new RegExp("^(?:"+t.map(aa).join("|")+")","i")}function sa(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function la(t,n,e){var r=ra.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function fa(t,n,e){var r=ra.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function ha(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function da(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function pa(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function va(t,n,e){var r=ra.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function ga(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function ya(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function ma(t,n,e){var r=ra.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function wa(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function _a(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function xa(t,n,e){var r=ra.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Ma(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function ba(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Aa(t,n,e){var r=ra.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function ka(t,n,e){var r=ra.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Ca(t,n,e){var r=ra.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Ta(t,n,e){var r=ia.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Na(t,n,e){var r=ra.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Ua(t,n,e){var r=ra.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function za(t,n){return ua(t.getDate(),n,2)}function Da(t,n){return ua(t.getHours(),n,2)}function Ea(t,n){return ua(t.getHours()%12||12,n,2)}function Sa(t,n){return ua(1+zu.count(du(t),t),n,3)}function La(t,n){return ua(t.getMilliseconds(),n,3)}function Pa(t,n){return La(t,n)+"000"}function Ra(t,n){return ua(t.getMonth()+1,n,2)}function Ya(t,n){return ua(t.getMinutes(),n,2)}function Fa(t,n){return ua(t.getSeconds(),n,2)}function qa(t){var n=t.getDay();return 0===n?7:n}function Ha(t,n){return ua(Mu.count(du(t)-1,t),n,2)}function Va(t){var n=t.getDay();return n>=4||0===n?Cu(t):Cu.ceil(t)}function Xa(t,n){return t=Va(t),ua(Cu.count(du(t),t)+(4===du(t).getDay()),n,2)}function ja(t){return t.getDay()}function Oa(t,n){return ua(bu.count(du(t)-1,t),n,2)}function Ba(t,n){return ua(t.getFullYear()%100,n,2)}function Ia(t,n){return ua((t=Va(t)).getFullYear()%100,n,2)}function $a(t,n){return ua(t.getFullYear()%1e4,n,4)}function Za(t,n){var e=t.getDay();return ua((t=e>=4||0===e?Cu(t):Cu.ceil(t)).getFullYear()%1e4,n,4)}function Wa(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ua(n/60|0,"0",2)+ua(n%60,"0",2)}function Ga(t,n){return ua(t.getUTCDate(),n,2)}function Ka(t,n){return ua(t.getUTCHours(),n,2)}function Ja(t,n){return ua(t.getUTCHours()%12||12,n,2)}function Qa(t,n){return ua(1+Zu.count(Gu(t),t),n,3)}function tc(t,n){return ua(t.getUTCMilliseconds(),n,3)}function nc(t,n){return tc(t,n)+"000"}function ec(t,n){return ua(t.getUTCMonth()+1,n,2)}function rc(t,n){return ua(t.getUTCMinutes(),n,2)}function ic(t,n){return ua(t.getUTCSeconds(),n,2)}function oc(t){var n=t.getUTCDay();return 0===n?7:n}function uc(t,n){return ua(Hu.count(Gu(t)-1,t),n,2)}function ac(t){var n=t.getUTCDay();return n>=4||0===n?Ou(t):Ou.ceil(t)}function cc(t,n){return t=ac(t),ua(Ou.count(Gu(t),t)+(4===Gu(t).getUTCDay()),n,2)}function sc(t){return t.getUTCDay()}function lc(t,n){return ua(Vu.count(Gu(t)-1,t),n,2)}function fc(t,n){return ua(t.getUTCFullYear()%100,n,2)}function hc(t,n){return ua((t=ac(t)).getUTCFullYear()%100,n,2)}function dc(t,n){return ua(t.getUTCFullYear()%1e4,n,4)}function pc(t,n){var e=t.getUTCDay();return ua((t=e>=4||0===e?Ou(t):Ou.ceil(t)).getUTCFullYear()%1e4,n,4)}function vc(){return"+0000"}function gc(){return"%"}function yc(t){return+t}function mc(t){return Math.floor(+t/1e3)}function wc(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];
1return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}ta=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,a=t.months,c=t.shortMonths,s=ca(i),l=sa(i),f=ca(o),h=sa(o),d=ca(u),p=sa(u),v=ca(a),g=sa(a),y=ca(c),m=sa(c),w={a:function(t){return u[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:za,e:za,f:Pa,g:Ia,G:Za,H:Da,I:Ea,j:Sa,L:La,m:Ra,M:Ya,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:yc,s:mc,S:Fa,u:qa,U:Ha,V:Xa,w:ja,W:Oa,x:null,X:null,y:Ba,Y:$a,Z:Wa,"%":gc},_={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Ga,e:Ga,f:nc,g:hc,G:pc,H:Ka,I:Ja,j:Qa,L:tc,m:ec,M:rc,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:yc,s:mc,S:ic,u:oc,U:uc,V:cc,w:sc,W:lc,x:null,X:null,y:fc,Y:dc,Z:vc,"%":gc},x={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=h[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=m[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=g[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return A(t,n,e,r)},d:_a,e:_a,f:Ca,g:ga,G:va,H:Ma,I:Ma,j:xa,L:ka,m:wa,M:ba,p:function(t,n,e){var r=s.exec(n.slice(e));return r?(t.p=l[r[0].toLowerCase()],e+r[0].length):-1},q:ma,Q:Na,s:Ua,S:Aa,u:fa,U:ha,V:da,w:la,W:pa,x:function(t,n,r){return A(t,e,n,r)},X:function(t,n,e){return A(t,r,n,e)},y:ga,Y:va,Z:ya,"%":Ta};function M(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a<s;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=ea[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function b(t,n){return function(e){var r,i,o=Qu(1900,void 0,1);if(A(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(n&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Ju(Qu(o.y,0,1))).getUTCDay(),r=i>4||0===i?Vu.ceil(r):Vu(r),r=Zu.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Ku(Qu(o.y,0,1))).getDay(),r=i>4||0===i?bu.ceil(r):bu(r),r=zu.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Ju(Qu(o.y,0,1)).getUTCDay():Ku(Qu(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Ju(o)):Ku(o)}}function A(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=x[i in ea?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return w.x=M(e,w),w.X=M(r,w),w.c=M(n,w),_.x=M(e,_),_.X=M(r,_),_.c=M(n,_),{format:function(t){var n=M(t+="",w);return n.toString=function(){return t},n},parse:function(t){var n=b(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",_);return n.toString=function(){return t},n},utcParse:function(t){var n=b(t+="",!0);return n.toString=function(){return t},n}}}({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"]}),na=ta.format,ta.parse,ta.utcFormat,ta.utcParse,e.dn(wc),e.dn(Ac);var _c=31536e6;function xc(t){return new Date(t)}function Mc(t){return t instanceof Date?+t:+new Date(+t)}function bc(t,n,e,r,o,u,a,c,s){var l=ru(Ko,Ko),f=l.invert,h=l.domain,d=s(".%L"),p=s(":%S"),v=s("%I:%M"),y=s("%I %p"),m=s("%a %d"),w=s("%b %d"),_=s("%B"),x=s("%Y"),M=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[u,1,6e4],[u,5,3e5],[u,15,9e5],[u,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,_c]];function b(i){return(a(i)<i?d:u(i)<i?p:o(i)<i?v:r(i)<i?y:n(i)<i?e(i)<i?m:w:t(i)<i?_:x)(i)}function A(n,e,r,o){if(null==n&&(n=10),"number"==typeof n){var u=Math.abs(r-e)/n,a=i(function(t){return t[2]}).right(M,u);a===M.length?(o=g(e/_c,r/_c,n),n=t):a?(o=(a=M[u/M[a-1][2]<M[a][2]/u?a-1:a])[1],n=a[0]):(o=Math.max(g(e,r,n),1),n=c)}return null==o?n:n.every(o)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Xo.call(t,Mc)):h().map(xc)},l.ticks=function(t,n){var e,r=h(),i=r[0],o=r[r.length-1],u=o<i;return u&&(e=i,i=o,o=e),e=(e=A(t,i,o,n))?e.range(i,o+1):[],u?e.reverse():e},l.tickFormat=function(t,n){return null==n?b:s(n)},l.nice=function(t,n){var e=h();return(t=A(t,e[0],e[e.length-1],n))?h(wc(e,t)):l},l.copy=function(){return eu(l,bc(t,n,e,r,o,u,a,c,s))},l}function Ac(){return Ho.apply(bc(du,vu,Mu,zu,Eu,Lu,Ru,Fu,na).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function kc(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 Cc(t){return Ze(t[t.length-1])}e.dn(function(){return(void 0).apply((void 0)(void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}),e.dn(kc),e.dn(Cc);var Tc=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ec
1ae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(kc);Cc(Tc);var Nc=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(kc);function Uc(){for(var t,n=rn;t=n.sourceEvent;)n=t;return n}function zc(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())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}function Dc(t){var n=Uc();return n.changedTouches&&(n=n.changedTouches[0]),zc(t,n)}function Ec(t){return"string"==typeof t?new vn([[document.querySelector(t)]],[document.documentElement]):new vn([[t]],pn)}Cc(Nc),e.dn(Uc),e.dn(zc),e.dn(Dc),e.dn(Ec);var Sc=Math.PI,Lc=2*Sc,Pc=1e-6,Rc=Lc-Pc;function Yc(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Fc(){return new Yc}Yc.prototype=Fc.prototype={constructor:Yc,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,c=r-n,s=o-t,l=u-n,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>Pc)if(Math.abs(l*a-c*s)>Pc&&i){var h=e-o,d=r-u,p=a*a+c*c,v=h*h+d*d,g=Math.sqrt(p),y=Math.sqrt(f),m=i*Math.tan((Sc-Math.acos((p+f-v)/(2*g*y)))/2),w=m/y,_=m/g;Math.abs(w-1)>Pc&&(this._+="L"+(t+w*s)+","+(n+w*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>s*d)+","+(this._x1=t+_*a)+","+(this._y1=n+_*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),c=t+u,s=n+a,l=1^o,f=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>Pc||Math.abs(this._y1-s)>Pc)&&(this._+="L"+c+","+s),e&&(f<0&&(f=f%Lc+Lc),f>Rc?this._+="A"+e+","+e+",0,1,"+l+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+l+","+(this._x1=c)+","+(this._y1=s):f>Pc&&(this._+="A"+e+","+e+",0,"+ +(f>=Sc)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};const qc=Fc;function Hc(t){return function(){return t}}e.dn(Hc);var Vc=Math.abs,Xc=Math.atan2,jc=Math.cos,Oc=Math.max,Bc=Math.min,Ic=Math.sin,$c=Math.sqrt,Zc=1e-12,Wc=Math.PI,Gc=Wc/2,Kc=2*Wc;function Jc(t){return t>=1?Gc:t<=-1?-Gc:Math.asin(t)}function Qc(t){return t.innerRadius}function ts(t){return t.outerRadius}function ns(t){return t.startAngle}function es(t){return t.endAngle}function rs(t){return t&&t.padAngle}function is(t,n,e,r,i,o,u){var a=t-e,c=n-r,s=(u?o:-o)/$c(a*a+c*c),l=s*c,f=-s*a,h=t+l,d=n+f,p=e+l,v=r+f,g=(h+p)/2,y=(d+v)/2,m=p-h,w=v-d,_=m*m+w*w,x=i-o,M=h*v-p*d,b=(w<0?-1:1)*$c(Oc(0,x*x*_-M*M)),A=(M*w-m*b)/_,k=(-M*m-w*b)/_,C=(M*w+m*b)/_,T=(-M*m+w*b)/_,N=A-g,U=k-y,z=C-g,D=T-y;return N*N+U*U>z*z+D*D&&(A=C,k=T),{cx:A,cy:k,x01:-l,y01:-f,x11:A*(i/x-1),y11:k*(i/x-1)}}function os(){var t=Qc,n=ts,e=Hc(0),r=null,i=ns,o=es,u=rs,a=null;function c(){var c,s,l,f=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-Gc,p=o.apply(this,arguments)-Gc,v=Vc(p-d),g=p>d;if(a||(a=c=qc()),h<f&&(s=h,h=f,f=s),h>Zc)if(v>Kc-Zc)a.moveTo(h*jc(d),h*Ic(d)),a.arc(0,0,h,d,p,!g),f>Zc&&(a.moveTo(f*jc(p),f*Ic(p)),a.arc(0,0,f,p,d,g));else{var y,m,w=d,_=p,x=d,M=p,b=v,A=v,k=u.apply(this,arguments)/2,C=k>
1Zc&&(r?+r.apply(this,arguments):$c(f*f+h*h)),T=Bc(Vc(h-f)/2,+e.apply(this,arguments)),N=T,U=T;if(C>Zc){var z=Jc(C/f*Ic(k)),D=Jc(C/h*Ic(k));(b-=2*z)>Zc?(x+=z*=g?1:-1,M-=z):(b=0,x=M=(d+p)/2),(A-=2*D)>Zc?(w+=D*=g?1:-1,_-=D):(A=0,w=_=(d+p)/2)}var E=h*jc(w),S=h*Ic(w),L=f*jc(M),P=f*Ic(M);if(T>Zc){var R,Y=h*jc(_),F=h*Ic(_),q=f*jc(x),H=f*Ic(x);if(v<Wc&&(R=function(t,n,e,r,i,o,u,a){var c=e-t,s=r-n,l=u-i,f=a-o,h=f*c-l*s;if(!(h*h<Zc))return[t+(h=(l*(n-o)-f*(t-i))/h)*c,n+h*s]}(E,S,q,H,Y,F,L,P))){var V=E-R[0],X=S-R[1],j=Y-R[0],O=F-R[1],B=1/Ic(((l=(V*j+X*O)/($c(V*V+X*X)*$c(j*j+O*O)))>1?0:l<-1?Wc:Math.acos(l))/2),I=$c(R[0]*R[0]+R[1]*R[1]);N=Bc(T,(f-I)/(B-1)),U=Bc(T,(h-I)/(B+1))}}A>Zc?U>Zc?(y=is(q,H,E,S,h,U,g),m=is(Y,F,L,P,h,U,g),a.moveTo(y.cx+y.x01,y.cy+y.y01),U<T?a.arc(y.cx,y.cy,U,Xc(y.y01,y.x01),Xc(m.y01,m.x01),!g):(a.arc(y.cx,y.cy,U,Xc(y.y01,y.x01),Xc(y.y11,y.x11),!g),a.arc(0,0,h,Xc(y.cy+y.y11,y.cx+y.x11),Xc(m.cy+m.y11,m.cx+m.x11),!g),a.arc(m.cx,m.cy,U,Xc(m.y11,m.x11),Xc(m.y01,m.x01),!g))):(a.moveTo(E,S),a.arc(0,0,h,w,_,!g)):a.moveTo(E,S),f>Zc&&b>Zc?N>Zc?(y=is(L,P,Y,F,f,-N,g),m=is(E,S,q,H,f,-N,g),a.lineTo(y.cx+y.x01,y.cy+y.y01),N<T?a.arc(y.cx,y.cy,N,Xc(y.y01,y.x01),Xc(m.y01,m.x01),!g):(a.arc(y.cx,y.cy,N,Xc(y.y01,y.x01),Xc(y.y11,y.x11),!g),a.arc(0,0,f,Xc(y.cy+y.y11,y.cx+y.x11),Xc(m.cy+m.y11,m.cx+m.x11),g),a.arc(m.cx,m.cy,N,Xc(m.y11,m.x11),Xc(m.y01,m.x01),!g))):a.arc(0,0,f,M,x,g):a.lineTo(L,P)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Wc/2;return[jc(r)*e,Ic(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Hc(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Hc(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Hc(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Hc(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Hc(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Hc(+t),c):o},c.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:Hc(+t),c):u},c.context=function(t){return arguments.length?(a=t??null,c):a},c}function us(t){this._context=t}function as(t){return new us(t)}function cs(t){return t[0]}function ss(t){return t[1]}function ls(){var t=cs,n=ss,e=Hc(!0),r=null,i=as,o=null;function u(u){var a,c,s,l=u.length,f=!1;for(null==r&&(o=i(s=qc())),a=0;a<=l;++a)!(a<l&&e(c=u[a],a,u))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(c,a,u),+n(c,a,u));if(s)return o=null,s+""||null}return u.x=function(n){return arguments.length?(t="function"==typeof n?n:Hc(+n),u):t},u.y=function(t){return arguments.length?(n="function"==typeof t?t:Hc(+t),u):n},u.defined=function(t){return arguments.length?(e="function"==typeof t?t:Hc(!!t),u):e},u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u}function fs(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function hs(t){return t}function ds(){var t=hs,n=fs,e=null,r=Hc(0),i=Hc(Kc),o=Hc(0);function u(u){var a,c,s,l,f,h=u.length,d=0,p=new Array(h),v=new Array(h),g=+r.apply(this,arguments),y=Math.min(Kc,Math.max(-Kc,i.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/h,o.apply(this,arguments)),w=m*(y<0?-1:1);for(a=0;a<h;++a)(f=v[p[a]=a]=+t(u[a],a,u))>0&&(d+=f);for(null!=n?p.sort(function(t,e){return n(v[t],v[e])}):null!=e&&p.sort(function(t,n){return e(u[t],u[n])}),a=0,s=d?(y-h*w)/d:0;a<h;++a,g=l)c=p[a],l=g+((f=v[c])>0?f*s:0)+w,v[c]={data:u[c],index:a,value:f,startAngle:g,endAngle:l,padAngle:m};return v}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:Hc(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Hc(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Hc(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Hc(+t),u):o},u}function ps(){this._=null}function vs(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function gs(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function ys(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function ms(t){for(;t.L;)t=t.L;return t}e.dn(os),e.dn(as),us.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)}}},e.dn(ls),e.dn(fs),e.dn(hs),e.dn(ds),ps.prototype={constructor:ps,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=ms(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(gs(this,e),e=(t=e).U),e.C=!1,r.C=!0,ys(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(ys(this,e),e=(t=e).U),e.C=!1,r.C=!0,gs(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?ms(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;
vendor: 4,250 bytes, line 1
1if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,gs(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,ys(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,gs(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,ys(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,gs(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,ys(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};const ws=ps;function _s(t,n,e,r){var i=[null,null],o=Os.push(i)-1;return i.left=t,i.right=n,e&&Ms(i,t,n,e),r&&Ms(i,n,t,r),Xs[t.index].halfedges.push(o),Xs[n.index].halfedges.push(o),i}function xs(t,n,e){var r=[n,e];return r.left=t,r}function Ms(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function bs(t,n,e,r,i){var o,u=t[0],a=t[1],c=u[0],s=u[1],l=0,f=1,h=a[0]-c,d=a[1]-s;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>l&&(l=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<f&&(f=o)}if(o=e-s,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=i-s,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(t[0]=[c+l*h,s+l*d]),f<1&&(t[1]=[c+f*h,s+f*d]),!0)}}}}}function As(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],s=t.left,l=t.right,f=s[0],h=s[1],d=l[0],p=l[1],v=(f+d)/2,g=(h+p)/2;if(p===h){if(v<n||v>=r)return;if(f>d){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]<e)return}else c=[v,i];o=[v,e]}}else if(a=g-(u=(f-d)/(p-h))*v,u<-1||u>1)if(f>d){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]<e)return}else c=[(i-a)/u,i];o=[(e-a)/u,e]}else if(h<p){if(c){if(c[0]>=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]<n)return}else c=[r,u*r+a];o=[n,u*n+a]}return t[0]=c,t[1]=o,!0}function ks(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function Cs(t,n){return n[+(n.left!==t.site)]}function Ts(t,n){return n[+(n.left===t.site)]}var Ns,Us=[];function zs(){vs(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ds(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var u=i[0],a=i[1],c=r[0]-u,s=r[1]-a,l=o[0]-u,f=o[1]-a,h=2*(c*f-s*l);if(!(h>=-il)){var d=c*c+s*s,p=l*l+f*f,v=(f*d-s*p)/h,g=(c*p-l*d)/h,y=Us.pop()||new zs;y.arc=t,y.site=i,y.x=v+u,y.y=(y.cy=g+a)+Math.sqrt(v*v+g*g),t.circle=y;for(var m=null,w=js._;w;)if(y.y<w.y||y.y===w.y&&y.x<=w.x){if(!w.L){m=w.P;break}w=w.L}else{if(!w.R){m=w;break}w=w.R}js.insert(m,y),m||(Ns=y)}}}}function Es(t){var n=t.circle;n&&(n.P||(Ns=n.N),js.remove(n),Us.push(n),vs(n),t.circle=null)}var Ss=[];function Ls(){vs(this),this.edge=this.site=this.circle=null}function Ps(t){var n=Ss.pop()||new Ls;return n.site=t,n}function Rs(t){Es(t),Vs.remove(t),Ss.push(t),vs(t)}function Ys(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,u=t.N,a=[t];Rs(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<rl&&Math.abs(r-c.circle.cy)<rl;)o=c.P,a.unshift(c),Rs(c),c=o;a.unshift(c),Es(c);for(var s=u;s.circle&&Math.abs(e-s.circle.x)<rl&&Math.abs(r-s.circle.cy)<rl;)u=s.N,a.push(s),Rs(s),s=u;a.push(s),Es(s);var l,f=a.length;for(l=1;l<f;++l)s=a[l],c=a[l-1],Ms(s.edge,c.site,s.site,i);c=a[0],(s=a[f-1]).edge=_s(c.site,s.site,null,i),Ds(c),Ds(s)}function Fs(t){for(var n,e,r,i,o=t[0],u=t[1],a=Vs._;a;)if((r=qs(a,u)-o)>rl)a=a.L;else{if(!((i=o-Hs(a,u))>rl)){r>-rl?(n=a.P,e=a):i>-rl?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){Xs[t.index]={site:t,halfedges:[]}}(t);var c=Ps(t);if(Vs.insert(n,c),n||e){if(n===e)return Es(n),e=Ps(n.site),Vs.insert(c,e),c.edge=e.edge=_s(n.site,c.site),Ds(n),void Ds(e);if(e){Es(n),Es(e);var s=n.site,l=s[0],f=s[1],h=t[0]-l,d=t[1]-f,p=e.site,v=p[0]-l,g=p[1]-f,y=2*(h*g-d*v),m=h*h+d*d,w=v*v+g*g,_=[(g*m-d*w)/y+l,(h*w-v*m)/y+f];Ms(e.edge,s,p,_),c.edge=_s(s,t,null,_),e.edge=_s(t,p,null,_),Ds(n),Ds(e)}else c.edge=_s(n.site,c.site)}}function qs(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],c=e[1],s=c-n;if(!s)return a;var l=a-r,f=1/o-1/s,h=l/s;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*s)-c+s/2+i-o/2)))/f+r:(r+a)/2}function Hs(t,n){var e=t.N;
1if(e)return qs(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var Vs,Xs,js,Os,Bs,Is,$s,Zs,Ws,Gs,Ks,Js,Qs,tl,nl,el,rl=1e-6,il=1e-12;function ol(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function ul(t,n){return n[1]-t[1]||n[0]-t[0]}function al(t,n){var e,r,i,o=t.sort(ul).pop();for(Os=[],Xs=new Array(t.length),Vs=new ws,js=new ws;;)if(i=Ns,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(Fs(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;Ys(i.arc)}if(function(){for(var t,n,e,r,i=0,o=Xs.length;i<o;++i)if((t=Xs[i])&&(r=(n=t.halfedges).length)){var u=new Array(r),a=new Array(r);for(e=0;e<r;++e)u[e]=e,a[e]=ks(t,Os[n[e]]);for(u.sort(function(t,n){return a[n]-a[t]}),e=0;e<r;++e)a[e]=n[u[e]];for(e=0;e<r;++e)n[e]=a[e]}}(),n){var u=+n[0][0],a=+n[0][1],c=+n[1][0],s=+n[1][1];!function(t,n,e,r){for(var i,o=Os.length;o--;)As(i=Os[o],t,n,e,r)&&bs(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>rl||Math.abs(i[0][1]-i[1][1])>rl)||delete Os[o]}(u,a,c,s),function(t,n,e,r){var i,o,u,a,c,s,l,f,h,d,p,v,g=Xs.length,y=!0;for(i=0;i<g;++i)if(o=Xs[i]){for(u=o.site,a=(c=o.halfedges).length;a--;)Os[c[a]]||c.splice(a,1);for(a=0,s=c.length;a<s;)p=(d=Ts(o,Os[c[a]]))[0],v=d[1],f=(l=Cs(o,Os[c[++a%s]]))[0],h=l[1],(Math.abs(p-f)>rl||Math.abs(v-h)>rl)&&(c.splice(a,0,Os.push(xs(u,d,Math.abs(p-t)<rl&&r-v>rl?[t,Math.abs(f-t)<rl?h:r]:Math.abs(v-r)<rl&&e-p>rl?[Math.abs(h-r)<rl?f:e,r]:Math.abs(p-e)<rl&&v-n>rl?[e,Math.abs(f-e)<rl?h:n]:Math.abs(v-n)<rl&&p-t>rl?[Math.abs(h-n)<rl?f:t,n]:null))-1),++s);s&&(y=!1)}if(y){var m,w,_,x=1/0;for(i=0,y=null;i<g;++i)(o=Xs[i])&&(_=(m=(u=o.site)[0]-t)*m+(w=u[1]-n)*w)<x&&(x=_,y=o);if(y){var M=[t,n],b=[t,r],A=[e,r],k=[e,n];y.halfedges.push(Os.push(xs(u=y.site,M,b))-1,Os.push(xs(u,b,A))-1,Os.push(xs(u,A,k))-1,Os.push(xs(u,k,M))-1)}}for(i=0;i<g;++i)(o=Xs[i])&&(o.halfedges.length||delete Xs[i])}(u,a,c,s)}this.edges=Os,this.cells=Xs,Vs=js=Os=Xs=null}function cl(t,n,e){this.k=t,this.x=n,this.y=e}function sl(){return!Gs.ctrlKey&&!Gs.button}function ll(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function fl(){return this.__zoom||Qs}function hl(){return-Gs.deltaY*(1===Gs.deltaMode?.05:Gs.deltaMode?1:.002)}function dl(){return navigator.maxTouchPoints||"ontouchstart"in this}function pl(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}al.prototype={constructor:al,polygons:function(){var t=this.edges;return this.cells.map(function(n){var e=n.halfedges.map(function(e){return Cs(n,t[e])});return e.data=n.site.data,e})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){if(o=(i=e.halfedges).length)for(var i,o,u,a=e.site,c=-1,s=n[i[o-1]],l=s.left===a?s.right:s.left;++c<o;)u=l,l=(s=n[i[c]]).left===a?s.right:s.left,u&&l&&r<u.index&&r<l.index&&ol(a,u,l)<0&&t.push([a.data,u.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,o=this,u=o._found||0,a=o.cells.length;!(i=o.cells[u]);)if(++u>=a)return null;var c=t-i.site[0],s=n-i.site[1],l=c*c+s*s;
1do{i=o.cells[r=u],u=null,i.halfedges.forEach(function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],s=n-a[1],f=c*c+s*s;f<l&&(l=f,u=a.index)}})}while(null!==u);return o._found=r,null==e||l<=e*e?i.site:null}},e.dn(function(){var t=void 0,n=void 0,e=null;function r(r){return new(void 0)(r.map(function(e,i){var o=[Math.round(t(e,i,r)/Is)*Is,Math.round(n(e,i,r)/Is)*Is];return o.index=i,o.data=e,o}),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:Bs(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:Bs(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}),cl.prototype={constructor:cl,scale:function(t){return 1===t?this:new cl(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new cl(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new cl(1,0,0),cl.prototype,e.dn(function(){var t,n,e=sl,r=ll,i=pl,o=hl,u=dl,a=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],s=250,l=void 0,f=(void 0)("start","zoom","end"),h=0;function d(t){t.property("__zoom",fl).on("wheel.zoom",_).on("mousedown.zoom",x).on("dblclick.zoom",M).filter(u).on("touchstart.zoom",b).on("touchmove.zoom",A).on("touchend.zoom touchcancel.zoom",k).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new tl(n,t.x,t.y)}function v(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new tl(t.k,r,i)}function g(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function y(t,n,e){t.on("start.zoom",function(){m(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){m(this,arguments).end()}).tween("zoom",function(){var t=this,i=arguments,o=m(t,i),u=r.apply(t,i),a=null==e?g(u):"function"==typeof e?e.apply(t,i):e,c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),s=t.__zoom,f="function"==typeof n?n.apply(t,i):n,h=l(s.invert(a).concat(c/s.k),f.invert(a).concat(c/f.k));return function(t){if(1===t)t=f;else{var n=h(t),e=c/n[2];t=new tl(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}})}function m(t,n,e){return!e&&t.__zooming||new w(t,n)}function w(t,n){this.that=t,this.args=n,this.active=0,this.extent=r.apply(t,n),this.taps=0}function _(){if(e.apply(this,arguments)){var t=m(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),u=$s(this);if(t.wheel)t.mouse[0][0]===u[0]&&t.mouse[0][1]===u[1]||(t.mouse[1]=n.invert(t.mouse[0]=u)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[u,n.invert(u)],Ks(this),t.start()}nl(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},150),t.zoom("mouse",i(v(p(n,r),t.mouse[0],t.mouse[1]),t.extent,c))}}function x(){if(!n&&e.apply(this,arguments)){var t=m(this,arguments,!0),r=Zs(Gs.view).on("mousemove.zoom",function(){if(nl(),!t.moved){var n=Gs.clientX-u,e=Gs.clientY-a;t.moved=n*n+e*e>h}t.zoom("mouse",i(v(t.that.__zoom,t.mouse[0]=$s(t.that),t.mouse[1]),t.extent,c))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(void 0)(Gs.view,t.moved),nl(),t.end()},!0),o=$s(this),u=Gs.clientX,a=Gs.clientY;(void 0)(Gs.view),el(),t.mouse=[o,this.__zoom.invert(o)],Ks(this),t.start()}}function M(){if(e.apply(this,arguments)){var t=this.__zoom,n=$s(this),o=t.invert(n),u=t.k*(Gs.shiftKey?.5:2),a=i(v(p(t,u),n,o),r.apply(this,arguments),c);nl(),s>0?Zs(this).transition().duration(s).call(y,a,n):Zs(this).call(d.transform,a)}}function b(){if(e.apply(this,arguments)){var n,r,i,o,u=Gs.touches,a=u.length,c=m(this,arguments,Gs.changedTouches.length===a);for(el(),r=0;r<a;++r)i=u[r],o=[o=Ws(this,u,i.identifier),this.__zoom.invert(o),i.identifier],c.touch0?c.touch1||c.touch0[2]===o[2]||(c.touch1=o,c.taps=0):(c.touch0=o,n=!0,c.taps=1+!!t);t&&(t=clearTimeout(t)),n&&(c.taps<2&&(t=setTimeout(function(){t=null},500)),Ks(this),c.start())}}function A(){if(this.__zooming){var n,e,r,o,u=m(this,arguments),a=Gs.changedTouches,s=a.length;for(nl(),t&&(t=clearTimeout(t)),u.taps=0,n=0;n<s;++n)e=a[n],r=Ws(this,a,e.identifier),u.touch0&&u.touch0[2]===e.identifier?u.touch0[0]=r:u.touch1&&u.touch1[2]===e.identifier&&(u.touch1[0]=r);if(e=u.that.__zoom,u.touch1){var l=u.touch0[0],f=u.touch0[1],h=u.touch1[0],d=u.touch1[1],g=(g=h[0]-l[0])*g+(g=h[1]-l[1])*g,y=(y=d[0]-f[0])*y+(y=d[1]-f[1])*y;e=p(e,Math.sqrt(g/y)),r=[(l[0]+h[0])/2,(l[1]+h[1])/2],o=[(f[0]+d[0])/2,(f[1]+d[1])/2]}else{if(!u.touch0)return;r=u.touch0[0],o=u.touch0[1]}u.zoom("touch",i(v(e,r,o),u.extent,c))}}function k(){if(this.__zooming){var t,e,r=m(this,arguments),i=Gs.changedTouches,o=i.length;for(el(),n&&clearTimeout(n),n=setTimeout(function(){n=null},500),t=0;t<o;++t)e=i[t],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0]);else if(r.end(),2===r.taps){var u=Zs(this).on("dblclick.zoom");
1u&&u.apply(this,arguments)}}}return d.transform=function(t,n,e){var r=t.selection?t.selection():t;r.property("__zoom",fl),t!==r?y(t,n,e):r.interrupt().each(function(){m(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},d.scaleBy=function(t,n,e){d.scaleTo(t,function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)},e)},d.scaleTo=function(t,n,e){d.transform(t,function(){var t=r.apply(this,arguments),o=this.__zoom,u=null==e?g(t):"function"==typeof e?e.apply(this,arguments):e,a=o.invert(u),s="function"==typeof n?n.apply(this,arguments):n;return i(v(p(o,s),u,a),t,c)},e)},d.translateBy=function(t,n,e){d.transform(t,function(){return i(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),r.apply(this,arguments),c)})},d.translateTo=function(t,n,e,o){d.transform(t,function(){var t=r.apply(this,arguments),u=this.__zoom,a=null==o?g(t):"function"==typeof o?o.apply(this,arguments):o;return i(Qs.translate(a[0],a[1]).scale(u.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,c)},o)},w.prototype={start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){(void 0)(new(void 0)(d,t,this.that.__zoom),f.apply,f,[t,this.that,this.args])}},d.wheelDelta=function(t){return arguments.length?(o="function"==typeof t?t:Js(+t),d):o},d.filter=function(t){return arguments.length?(e="function"==typeof t?t:Js(!!t),d):e},d.touchable=function(t){return arguments.length?(u="function"==typeof t?t:Js(!!t),d):u},d.extent=function(t){return arguments.length?(r="function"==typeof t?t:Js([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),d):r},d.scaleExtent=function(t){return arguments.length?(a[0]=+t[0],a[1]=+t[1],d):[a[0],a[1]]},d.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],d):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},d.constrain=function(t){return arguments.length?(i=t,d):i},d.duration=function(t){return arguments.length?(s=+t,d):s},d.interpolate=function(t){return arguments.length?(l=t,d):l},d.on=function(){var t=f.on.apply(f,arguments);return t===f?d:t},d.clickDistance=function(t){return arguments.length?(h=(t=+t)*t,d):Math.sqrt(h)},d})}}]); 2//# sourceMappingURL=modern.4814.cad80e.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.