import{n as e}from"./chunk-Bj-mKKzh.js";function t(){for(var e=0,t=arguments.length,r={},i;e=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}function i(e,t){for(var n=0,r=e.length,i;n{o={value:()=>{}},n.prototype=t.prototype={constructor:n,on:function(e,t){var n=this._,o=r(e+``,n),s,c=-1,l=o.length;if(arguments.length<2){for(;++c0)for(var n=Array(i),r=0,i,a;r{s()})),l,u,d=e((()=>{l=`http://www.w3.org/1999/xhtml`,u={svg:`http://www.w3.org/2000/svg`,xhtml:l,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`}}));function f(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),u.hasOwnProperty(t)?{space:u[t],local:e}:e}var p=e((()=>{d()}));function m(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function h(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function g(e){var t=f(e);return(t.local?h:m)(t)}var _=e((()=>{p(),d()}));function v(){}function y(e){return e==null?v:function(){return this.querySelector(e)}}var b=e((()=>{}));function ee(e){typeof e!=`function`&&(e=y(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i{w(),b()}));function x(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}var ne=e((()=>{}));function re(){return[]}function ie(e){return e==null?re:function(){return this.querySelectorAll(e)}}var ae=e((()=>{}));function oe(e){return function(){return x(e.apply(this,arguments))}}function se(e){e=typeof e==`function`?oe(e):ie(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a{w(),ne(),ae()}));function le(e){return function(){return this.matches(e)}}function ue(e){return function(t){return t.matches(e)}}var de=e((()=>{}));function fe(e){return function(){return he.call(this.children,e)}}function pe(){return this.firstElementChild}function me(e){return this.select(e==null?pe:fe(typeof e==`function`?e:ue(e)))}var he,ge=e((()=>{de(),he=Array.prototype.find}));function _e(){return Array.from(this.children)}function ve(e){return function(){return be.call(this.children,e)}}function ye(e){return this.selectAll(e==null?_e:ve(typeof e==`function`?e:ue(e)))}var be,xe=e((()=>{de(),be=Array.prototype.filter}));function Se(e){typeof e!=`function`&&(e=le(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i{w(),de()}));function we(e){return Array(e.length)}var Te=e((()=>{}));function Ee(){return new C(this._enter||this._groups.map(we),this._parents)}function De(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}var Oe=e((()=>{Te(),w(),De.prototype={constructor:De,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}}}));function ke(e){return function(){return e}}var Ae=e((()=>{}));function je(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o=v&&(v=_+1);!(b=g[v])&&++v{w(),Oe(),Ae()}));function Le(){return new C(this._exit||this._groups.map(we),this._parents)}var Re=e((()=>{Te(),w()}));function ze(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}var Be=e((()=>{}));function Ve(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c{w()}));function Ue(){for(var e=this._groups,t=-1,n=e.length;++t=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}var We=e((()=>{}));function Ge(e){e||=Ke;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;at?1:e>=t?0:NaN}var qe=e((()=>{w()}));function Je(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}var Ye=e((()=>{}));function Xe(){return Array.from(this)}var Ze=e((()=>{}));function Qe(){for(var e=this._groups,t=0,n=e.length;t{}));function et(){let e=0;for(let t of this)++e;return e}var tt=e((()=>{}));function nt(){return!this.node()}var rt=e((()=>{}));function it(e){for(var t=this._groups,n=0,r=t.length;n{}));function ot(e){return function(){this.removeAttribute(e)}}function st(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ct(e,t){return function(){this.setAttribute(e,t)}}function lt(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function ut(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function dt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function ft(e,t){var n=f(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?st:ot:typeof t==`function`?n.local?dt:ut:n.local?lt:ct)(n,t))}var pt=e((()=>{p()}));function mt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}var ht=e((()=>{}));function gt(e){return function(){this.style.removeProperty(e)}}function _t(e,t,n){return function(){this.style.setProperty(e,t,n)}}function vt(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function yt(e,t,n){return arguments.length>1?this.each((t==null?gt:typeof t==`function`?vt:_t)(e,t,n??``)):S(this.node(),e)}function S(e,t){return e.style.getPropertyValue(t)||mt(e).getComputedStyle(e,null).getPropertyValue(t)}var bt=e((()=>{ht()}));function xt(e){return function(){delete this[e]}}function St(e,t){return function(){this[e]=t}}function Ct(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function wt(e,t){return arguments.length>1?this.each((t==null?xt:typeof t==`function`?Ct:St)(e,t)):this.node()[e]}var Tt=e((()=>{}));function Et(e){return e.trim().split(/^|\s+/)}function Dt(e){return e.classList||new Ot(e)}function Ot(e){this._node=e,this._names=Et(e.getAttribute(`class`)||``)}function kt(e,t){for(var n=Dt(e),r=-1,i=t.length;++r{Ot.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setattribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}}}));function It(){this.textContent=``}function Lt(e){return function(){this.textContent=e}}function Rt(e){return function(){this.textContent=e.apply(this,arguments)??``}}function zt(e){return arguments.length?this.each(e==null?It:(typeof e==`function`?Rt:Lt)(e)):this.node().textContent}var Bt=e((()=>{}));function Vt(){this.innerHTML=``}function Ht(e){return function(){this.innerHTML=e}}function Ut(e){return function(){this.innerHTML=e.apply(this,arguments)??``}}function Wt(e){return arguments.length?this.each(e==null?Vt:(typeof e==`function`?Ut:Ht)(e)):this.node().innerHTML}var Gt=e((()=>{}));function Kt(){this.nextSibling&&this.parentNode.appendChild(this)}function qt(){return this.each(Kt)}var Jt=e((()=>{}));function Yt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Xt(){return this.each(Yt)}var Zt=e((()=>{}));function Qt(e){var t=typeof e==`function`?e:g(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}var $t=e((()=>{_()}));function en(){return null}function tn(e,t){var n=typeof e==`function`?e:g(e),r=t==null?en:typeof t==`function`?t:y(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}var nn=e((()=>{_(),b()}));function rn(){var e=this.parentNode;e&&e.removeChild(this)}function an(){return this.each(rn)}var on=e((()=>{}));function sn(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function cn(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ln(e){return this.select(e?cn:sn)}var un=e((()=>{}));function dn(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}var fn=e((()=>{}));function pn(e){return function(t){e.call(this,t,this.__data__)}}function mn(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function hn(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n{}));function yn(e,t,n){var r=mt(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function bn(e,t){return function(){return yn(this,e,t)}}function xn(e,t){return function(){return yn(this,e,t.apply(this,arguments))}}function Sn(e,t){return this.each((typeof t==`function`?xn:bn)(e,t))}var Cn=e((()=>{ht()}));function*wn(){for(var e=this._groups,t=0,n=e.length;t{}));function C(e,t){this._groups=e,this._parents=t}function En(){return new C([[document.documentElement]],On)}function Dn(){return this}var On,w=e((()=>{te(),ce(),ge(),xe(),Ce(),Ie(),Oe(),Re(),Be(),He(),We(),qe(),Ye(),Ze(),$e(),tt(),rt(),at(),pt(),bt(),Tt(),Ft(),Bt(),Gt(),Jt(),Zt(),$t(),nn(),on(),un(),fn(),vn(),Cn(),Tn(),On=[null],C.prototype=En.prototype={constructor:C,select:ee,selectAll:se,selectChild:me,selectChildren:ye,filter:Se,data:Pe,enter:Ee,exit:Le,join:ze,merge:Ve,selection:Dn,order:Ue,sort:Ge,call:Je,nodes:Xe,node:Qe,size:et,empty:nt,each:it,attr:ft,style:yt,property:wt,classed:Pt,text:zt,html:Wt,raise:qt,lower:Xt,append:Qt,insert:tn,remove:an,clone:ln,datum:dn,on:_n,dispatch:Sn,[Symbol.iterator]:wn}}));function T(e){return typeof e==`string`?new C([[document.querySelector(e)]],[document.documentElement]):new C([[e]],On)}var kn=e((()=>{w()}));function An(e){return T(g(e).call(document.documentElement))}var jn=e((()=>{_(),kn()}));function Mn(){return new Nn}function Nn(){this._=`@`+(++Pn).toString(36)}var Pn,Fn=e((()=>{Pn=0,Nn.prototype=Mn.prototype={constructor:Nn,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}}));function In(e){let t;for(;t=e.sourceEvent;)e=t;return e}var Ln=e((()=>{}));function E(e,t){if(e=In(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}var Rn=e((()=>{Ln()}));function zn(e,t){return e.target&&(e=In(e),t===void 0&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,e=>E(e,t))}var Bn=e((()=>{Rn(),Ln()}));function Vn(e){return typeof e==`string`?new C([document.querySelectorAll(e)],[document.documentElement]):new C([x(e)],On)}var Hn=e((()=>{ne(),w()})),D=e((()=>{jn(),_(),Fn(),de(),p(),d(),Rn(),Bn(),kn(),Hn(),w(),b(),ae(),bt(),ht()}));function Un(e){e.stopImmediatePropagation()}function Wn(e){e.preventDefault(),e.stopImmediatePropagation()}var Gn,Kn,qn=e((()=>{Gn={passive:!1},Kn={capture:!0,passive:!1}}));function Jn(e){var t=e.document.documentElement,n=T(e).on(`dragstart.drag`,Wn,Kn);`onselectstart`in t?n.on(`selectstart.drag`,Wn,Kn):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect=`none`)}function Yn(e,t){var n=e.document.documentElement,r=T(e).on(`dragstart.drag`,null);t&&(r.on(`click.drag`,Wn,Kn),setTimeout(function(){r.on(`click.drag`,null)},0)),`onselectstart`in n?r.on(`selectstart.drag`,null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var Xn=e((()=>{D(),qn()})),Zn,Qn=e((()=>{Zn=e=>()=>e}));function $n(e,{sourceEvent:t,subject:n,target:r,identifier:i,active:a,x:o,y:s,dx:c,dy:l,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:o,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:u}})}var er=e((()=>{$n.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e}}));function tr(e){return!e.ctrlKey&&!e.button}function nr(){return this.parentNode}function rr(e,t){return t??{x:e.x,y:e.y}}function ir(){return navigator.maxTouchPoints||`ontouchstart`in this}function ar(){var e=tr,n=nr,r=rr,i=ir,a={},o=t(`start`,`drag`,`end`),s=0,c,l,u,d,f=0;function p(e){e.on(`mousedown.drag`,m).filter(i).on(`touchstart.drag`,_).on(`touchmove.drag`,v,Gn).on(`touchend.drag touchcancel.drag`,y).style(`touch-action`,`none`).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}function m(t,r){if(!(d||!e.call(this,t,r))){var i=b(this,n.call(this,t,r),t,r,`mouse`);i&&(T(t.view).on(`mousemove.drag`,h,Kn).on(`mouseup.drag`,g,Kn),Jn(t.view),Un(t),u=!1,c=t.clientX,l=t.clientY,i(`start`,t))}}function h(e){if(Wn(e),!u){var t=e.clientX-c,n=e.clientY-l;u=t*t+n*n>f}a.mouse(`drag`,e)}function g(e){T(e.view).on(`mousemove.drag mouseup.drag`,null),Yn(e.view,u),Wn(e),a.mouse(`end`,e)}function _(t,r){if(e.call(this,t,r)){var i=t.changedTouches,a=n.call(this,t,r),o=i.length,s,c;for(s=0;s{c(),D(),Xn(),qn(),Qn(),er()})),sr=e((()=>{or(),Xn()}));function cr(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function lr(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}var ur=e((()=>{}));function O(){}function dr(){return this.rgb().formatHex()}function fr(){return this.rgb().formatHex8()}function pr(){return wr(this).formatHsl()}function mr(){return this.rgb().formatRgb()}function k(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=Ar.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?hr(t):n===3?new A(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?gr(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?gr(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=jr.exec(e))?new A(t[1],t[2],t[3],1):(t=Mr.exec(e))?new A(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Nr.exec(e))?gr(t[1],t[2],t[3],t[4]):(t=Pr.exec(e))?gr(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Fr.exec(e))?Cr(t[1],t[2]/100,t[3]/100,1):(t=Ir.exec(e))?Cr(t[1],t[2]/100,t[3]/100,t[4]):Lr.hasOwnProperty(e)?hr(Lr[e]):e===`transparent`?new A(NaN,NaN,NaN,0):null}function hr(e){return new A(e>>16&255,e>>8&255,e&255,1)}function gr(e,t,n,r){return r<=0&&(e=t=n=nan),new A(e,t,n,r)}function _r(e){return e instanceof O||(e=k(e)),e?(e=e.rgb(),new A(e.r,e.g,e.b,e.opacity)):new A}function vr(e,t,n,r){return arguments.length===1?_r(e):new A(e,t,n,r??1)}function A(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function yr(){return`#${M(this.r)}${M(this.g)}${M(this.b)}`}function br(){return`#${M(this.r)}${M(this.g)}${M(this.b)}${M((isNaN(this.opacity)?1:this.opacity)*255)}`}function xr(){let e=Sr(this.opacity);return`${e===1?`rgb(`:`rgba(`}${j(this.r)}, ${j(this.g)}, ${j(this.b)}${e===1?`)`:`, ${e})`}`}function Sr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function j(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function M(e){return e=j(e),(e<16?`0`:``)+e.tostring(16)}function Cr(e,t,n,r){return r<=0?e=t=n=nan:n<=0||n>=1?e=t=NaN:t<=0&&(e=nan),new N(e,t,n,r)}function wr(e){if(e instanceof N)return new N(e.h,e.s,e.l,e.opacity);if(e instanceof O||(e=k(e)),!e)return new N;if(e instanceof N)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n0&&c<1?0:o,new N(o,s,c,e.opacity)}function Tr(e,t,n,r){return arguments.length===1?wr(e):new N(e,t,n,r??1)}function N(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Er(e){return e=(e||0)%360,e<0?e+360:e}function Dr(e){return Math.max(0,Math.min(1,e||0))}function Or(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var P,F,I,kr,L,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr=e((()=>{ur(),P=.7,F=1/P,I=`\\s*([+-]?\\d+)\\s*`,kr=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,L=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,Ar=/^#([0-9a-f]{3,8})$/,jr=RegExp(`^rgb\\(${I},${I},${I}\\)$`),Mr=RegExp(`^rgb\\(${L},${L},${L}\\)$`),Nr=RegExp(`^rgba\\(${I},${I},${I},${kr}\\)$`),Pr=RegExp(`^rgba\\(${L},${L},${L},${kr}\\)$`),Fr=RegExp(`^hsl\\(${kr},${L},${L}\\)$`),Ir=RegExp(`^hsla\\(${kr},${L},${L},${kr}\\)$`),Lr={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},cr(O,k,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:dr,formatHex:dr,formatHex8:fr,formatHsl:pr,formatRgb:mr,toString:mr}),cr(A,vr,lr(O,{brighter(e){return e=e==null?F:F**+e,new A(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?P:P**+e,new A(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new A(j(this.r),j(this.g),j(this.b),Sr(this.opacity))},displayable(){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:yr,formathex:yr,formathex8:br,formatrgb:xr,tostring:xr})),cr(n,tr,lr(o,{brighter(e){return e=e==null?F:F**+e,new N(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?P:P**+e,new N(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isnan(e)||isnan(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new A(Or(e>=240?e-240:e+120,i,r),Or(e,i,r),Or(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new N(Er(this.h),Dr(this.s),Dr(this.l),Sr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isnan(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formathsl(){let e=Sr(this.opacity);return`${e===1?`hsl(`:`hsla(`}${Er(this.h)}, ${Dr(this.s)*100}%, ${Dr(this.l)*100}%${e===1?`)`:`, ${e})`}`}}))})),zr,Br,Vr=e((()=>{zr=Math.PI/180,Br=180/Math.PI}));function Hr(e){if(e instanceof R)return new R(e.l,e.a,e.b,e.opacity);if(e instanceof z)return Qr(e);e instanceof A||(e=_r(e));var t=Jr(e.r),n=Jr(e.g),r=Jr(e.b),i=Gr((.2225045*t+.7168786*n+.0606169*r)/ti),a,o;return t===n&&n===r?a=o=i:(a=Gr((.4360747*t+.3850649*n+.1430804*r)/ei),o=Gr((.0139322*t+.0971045*n+.7141733*r)/ni)),new R(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Ur(e,t){return new R(e,0,0,t??1)}function Wr(e,t,n,r){return arguments.length===1?Hr(e):new R(e,t,n,r??1)}function R(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Gr(e){return e>ai?e**(1/3):e/ii+ri}function Kr(e){return e>B?e*e*e:ii*(e-ri)}function qr(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function Jr(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function Yr(e){if(e instanceof z)return new z(e.h,e.c,e.l,e.opacity);if(e instanceof R||(e=Hr(e)),e.a===0&&e.b===0)return new z(NaN,0{ur(),Rr(),Vr(),$r=18,ei=.96422,ti=1,ni=.82521,ri=4/29,B=6/29,ii=3*B*B,ai=B*B*B,cr(R,Wr,lr(O,{brighter(e){return new R(this.l+$r*(e??1),this.a,this.b,this.opacity)},darker(e){return new R(this.l-$r*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=ei*Kr(t),e=ti*Kr(e),n=ni*Kr(n),new A(qr(3.1338561*t-1.6168667*e-.4906146*n),qr(-.9787684*t+1.9161415*e+.033454*n),qr(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),cr(z,Zr,lr(O,{brighter(e){return new z(this.h,this.c,this.l+$r*(e??1),this.opacity)},darker(e){return new z(this.h,this.c,this.l-$r*(e??1),this.opacity)},rgb(){return Qr(this).rgb()}}))}));function si(e){if(e instanceof V)return new V(e.h,e.s,e.l,e.opacity);e instanceof A||(e=_r(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(gi*r+mi*t-hi*n)/(gi+mi-hi),a=r-i,o=(pi*(n-i)-di*a)/fi,s=Math.sqrt(o*o+a*a)/(pi*i*(1-i)),c=s?Math.atan2(o,a)*Br-120:NaN;return new V(c<0?c+360:c,s,i,e.opacity)}function ci(e,t,n,r){return arguments.length===1?si(e):new V(e,t,n,r??1)}function V(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}var li,ui,di,fi,pi,mi,hi,gi,_i=e((()=>{ur(),Rr(),Vr(),li=-.14861,ui=1.78277,di=-.29227,fi=-.90649,pi=1.97294,mi=pi*fi,hi=pi*ui,gi=ui*di-fi*li,cr(V,ci,lr(O,{brighter(e){return e=e==null?F:F**+e,new V(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?P:P**+e,new V(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*zr,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new A(255*(t+n*(li*r+ui*i)),255*(t+n*(di*r+fi*i)),255*(t+pi*r*n),this.opacity)}}))})),H=e((()=>{Rr(),oi(),_i()}));function vi(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}function yi(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r{}));function xi(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],a=e[r%t],o=e[(r+1)%t],s=e[(r+2)%t];return vi((n-r/t)*t,i,a,o,s)}}var Si=e((()=>{bi()})),Ci,wi=e((()=>{Ci=e=>()=>e}));function Ti(e,t){return function(n){return e+n*t}}function Ei(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Di(e,t){var n=t-e;return n?Ti(e,n>180||n<-180?n-360*math.round(n/360):n):ci(isnan(e)?t:e)}function Oi(e){return(e=+e)==1?U:function(t,n){return n-t?Ei(t,n,e):Ci(isNaN(t)?n:t)}}function U(e,t){var n=t-e;return n?Ti(e,n):Ci(isNaN(e)?t:e)}var ki=e((()=>{wi()}));function Ai(e){return function(t){var n=t.length,r=Array(n),i=Array(n),a=Array(n),o,s;for(o=0;o{H(),bi(),Si(),ki(),ji=(function e(t){var n=Oi(t);function r(e,t){var r=n((e=vr(e)).r,(t=vr(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=U(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1),Mi=Ai(yi),Ni=Ai(xi)}));function Fi(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i{}));function Ri(e,t){return(Ii(t)?Fi:zi)(e,t)}function zi(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o{$i(),Li()}));function Vi(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}var Hi=e((()=>{}));function W(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Ui=e((()=>{}));function Wi(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=Qi(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var Gi=e((()=>{$i()}));function Ki(e){return function(){return e}}function qi(e){return function(t){return e(t)+``}}function Ji(e,t){var n=Yi.lastIndex=Xi.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=Yi.exec(e))&&(i=Xi.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:W(r,i)})),n=Xi.lastIndex;return n{Ui(),Yi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Xi=new RegExp(Yi.source,`g`)}));function Qi(e,t){var n=typeof t,r;return t==null||n===`boolean`?Ci(t):(n===`number`?W:n===`string`?(r=k(t))?(t=r,ji):Ji:t instanceof k?ji:t instanceof Date?Vi:Ii(t)?Fi:Array.isArray(t)?zi:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?Wi:W)(e,t)}var $i=e((()=>{H(),Pi(),Bi(),Hi(),Ui(),Gi(),Zi(),wi(),Li()}));function ea(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var ta=e((()=>{}));function na(e,t){var n=Di(+e,+t);return function(e){var t=n(e);return t-360*Math.floor(t/360)}}var ra=e((()=>{ki()}));function ia(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var aa=e((()=>{}));function oa(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r{sa=180/Math.PI,ca={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}}));function ua(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?ca:oa(t.a,t.b,t.c,t.d,t.e,t.f)}function da(e){return e==null||(fa||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),fa.setAttribute(`transform`,e),!(e=fa.transform.baseVal.consolidate()))?ca:(e=e.matrix,oa(e.a,e.b,e.c,e.d,e.e,e.f))}var fa,pa=e((()=>{la()}));function ma(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:W(e,i)},{i:c-2,x:W(r,a)})}else (i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:W(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:W(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:W(e,n)},{i:s-2,x:W(t,r)})}else (n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t{Ui(),pa(),ha=ma(ua,`px, `,`px)`,`deg)`),ga=ma(da,`, `,`)`,`)`)}));function va(e){return((e=Math.exp(e))+1/e)/2}function ya(e){return((e=Math.exp(e))-1/e)/2}function ba(e){return((e=Math.exp(2*e))-1)/(e+1)}var xa,Sa,Ca=e((()=>{xa=1e-12,Sa=(function e(t,n,r){function i(e,i){var a=e[0],o=e[1],s=e[2],c=i[0],l=i[1],u=i[2],d=c-a,f=l-o,p=d*d+f*f,m,h;if(p{H(),ki(),Ta=wa(Di),Ea=wa(U)}));function Oa(e,t){var n=U((e=Wr(e)).l,(t=Wr(t)).l),r=U(e.a,t.a),i=U(e.b,t.b),a=U(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=a(t),e+``}}var ka=e((()=>{H(),ki()}));function Aa(e){return function(t,n){var r=e((t=Zr(t)).h,(n=Zr(n)).h),i=U(t.c,n.c),a=U(t.l,n.l),o=U(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=a(e),t.opacity=o(e),t+``}}}var ja,Ma,Na=e((()=>{H(),ki(),ja=Aa(Di),Ma=Aa(U)}));function Pa(e){return(function t(n){n=+n;function r(t,r){var i=e((t=ci(t)).h,(r=ci(r)).h),a=U(t.s,r.s),o=U(t.l,r.l),s=U(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=a(e),t.l=o(e**+n),t.opacity=s(e),t+``}}return r.gamma=t,r})(1)}var Fa,Ia,La=e((()=>{H(),ki(),Fa=Pa(Di),Ia=Pa(U)}));function Ra(e,t){t===void 0&&(t=e,e=Qi);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n{$i()}));function Ba(e,t){for(var n=Array(t),r=0;r{})),Ha=e((()=>{$i(),Bi(),bi(),Si(),Hi(),ta(),ra(),Ui(),Li(),Gi(),aa(),Zi(),_a(),Ca(),Pi(),Da(),ka(),Na(),La(),za(),Va()}));function Ua(){return io||=(so(Wa),oo.now()+ao)}function Wa(){io=0}function Ga(){this._call=this._time=this._next=null}function Ka(e,t,n){var r=new Ga;return r.restart(e,t,n),r}function qa(){Ua(),++G;for(var e=to,t;e;)(t=io-e._time)>=0&&e._call.call(void 0,t),e=e._next;--G}function Ja(){io=(ro=oo.now())+ao,G=Qa=0;try{qa()}finally{G=0,Xa(),io=0}}function Ya(){var e=oo.now(),t=e-ro;t>eo&&(ao-=t,ro=e)}function Xa(){for(var e,t=to,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:to=n);no=e,Za(r)}function Za(e){G||(Qa&&=clearTimeout(Qa),e-io>24?(e<1/0&&(qa=settimeout(ja,e-oo.now()-ao)),$a&&=clearinterval($a)):($a||=(ro=oo.now(),setinterval(ya,eo)),g=1,so(ja)))}var G,Qa,$a,eo,to,no,ro,io,ao,oo,so,co=e((()=>{G=0,Qa=0,$a=0,eo=1e3,ro=0,io=0,ao=0,oo=typeof performance==`object`&&performance.now?performance:Date,so=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)},Ga.prototype=Ka.prototype={constructor:Ga,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?Ua():+n)+(t==null?0:+t),!this._next&&no!==this&&(no?no._next=this:to=this,no=this),this._call=e,this._time=n,Za()},stop:function(){this._call&&(this._call=null,this._time=1/0,Za())}}}));function lo(e,t,n){var r=new Ga;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var uo=e((()=>{co()}));function fo(e,t,n){var r=new Ga,i=t;return t==null?(r.restart(e,t,n),r):(r._restart=r.restart,r.restart=function(e,t,n){t=+t,n=n==null?Ua():+n,r._restart(function a(o){o+=i,r._restart(a,i+=t,n),e(o)},t,n)},r.restart(e,t,n),r)}var po=e((()=>{co()})),mo=e((()=>{co(),uo(),po()}));function ho(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;_o(e,n,{name:t,index:r,group:i,on:vo,tween:yo,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function go(e,t){var n=q(e,t);if(n.state>0)throw Error(`too late; already scheduled`);return n}function K(e,t){var n=q(e,t);if(n.state>3)throw Error(`too late; already running`);return n}function q(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function _o(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=Ka(a,0,n.time);function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==1)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===3)return lo(o);f.state===4?(f.state=6,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l{c(),mo(),vo=t(`start`,`end`,`cancel`,`interrupt`),yo=[]}));function bo(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}var xo=e((()=>{J()}));function So(e){return this.each(function(){bo(this,e)})}var Co=e((()=>{xo()}));function wo(e,t){var n,r;return function(){var i=K(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o{J()}));function ko(e,t){var n;return(typeof t==`number`?W:t instanceof k?ji:(n=k(t))?(t=n,ji):Ji)(e,t)}var Ao=e((()=>{H(),Ha()}));function jo(e){return function(){this.removeAttribute(e)}}function Mo(e){return function(){this.removeAttributeNS(e.space,e.local)}}function No(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function Po(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function Fo(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Io(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Lo(e,t){var n=f(e),r=n===`transform`?ga:ko;return this.attrTween(e,typeof t==`function`?(n.local?Io:Fo)(n,r,Do(this,`attr.`+e,t)):t==null?(n.local?Mo:jo)(n):(n.local?Po:No)(n,r,t))}var Ro=e((()=>{Ha(),D(),Oo(),Ao()}));function zo(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Bo(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Vo(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Bo(e,i)),n}return i._value=t,i}function Ho(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&zo(e,i)),n}return i._value=t,i}function Uo(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=f(e);return this.tween(n,(r.local?Vo:Ho)(r,t))}var Wo=e((()=>{D()}));function Go(e,t){return function(){go(this,e).delay=+t.apply(this,arguments)}}function Ko(e,t){return t=+t,function(){go(this,e).delay=t}}function qo(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Go:Ko)(t,e)):q(this.node(),t).delay}var Jo=e((()=>{J()}));function Yo(e,t){return function(){K(this,e).duration=+t.apply(this,arguments)}}function Xo(e,t){return t=+t,function(){K(this,e).duration=t}}function Zo(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Yo:Xo)(t,e)):q(this.node(),t).duration}var Qo=e((()=>{J()}));function $o(e,t){if(typeof t!=`function`)throw Error();return function(){K(this,e).ease=t}}function es(e){var t=this._id;return arguments.length?this.each($o(t,e)):q(this.node(),t).ease}var ts=e((()=>{J()}));function ns(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();K(this,e).ease=n}}function rs(e){if(typeof e!=`function`)throw Error();return this.each(ns(this._id,e))}var is=e((()=>{J()}));function as(e){typeof e!=`function`&&(e=le(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i{D(),Z()}));function ss(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s{Z()}));function ls(e){return(e+``).trim().split(/^|\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function us(e,t,n){var r,i,a=ls(t)?go:K;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function ds(e,t){var n=this._id;return arguments.length<2?q(this.node(),n).on.on(e):this.each(us(n,e,t))}var fs=e((()=>{J()}));function ps(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function ms(){return this.on(`end.remove`,ps(this._id))}var hs=e((()=>{}));function gs(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=y(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o{D(),Z(),J()}));function vs(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=ie(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s{D(),Z(),J()}));function bs(){return new xs(this._groups,this._parents)}var xs,Ss=e((()=>{D(),xs=En.prototype.constructor}));function Cs(e,t){var n,r,i;return function(){var a=S(this,e),o=(this.style.removeProperty(e),S(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function ws(e){return function(){this.style.removeProperty(e)}}function Ts(e,t,n){var r,i=n+``,a;return function(){var o=S(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function Es(e,t,n){var r,i,a;return function(){var o=S(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),S(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function Ds(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=K(this,e),l=c.on,u=c.value[a]==null?s||=ws(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function Os(e,t,n){var r=(e+=``)==`transform`?ha:ko;return t==null?this.styleTween(e,Cs(e,r)).on(`end.style.`+e,ws(e)):typeof t==`function`?this.styleTween(e,Es(e,r,Do(this,`style.`+e,t))).each(Ds(this._id,e)):this.styleTween(e,Ts(e,r,t),n).on(`end.style.`+e,null)}var ks=e((()=>{Ha(),D(),J(),Oo(),Ao()}));function As(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function js(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&As(e,a,n)),r}return a._value=t,a}function Ms(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,js(e,t,n??``))}var Ns=e((()=>{}));function Ps(e){return function(){this.textContent=e}}function Fs(e){return function(){this.textContent=e(this)??``}}function Is(e){return this.tween(`text`,typeof e==`function`?Fs(Do(this,`text`,e)):Ps(e==null?``:e+``))}var Ls=e((()=>{Oo()}));function Rs(e){return function(t){this.textContent=e.call(this,t)}}function zs(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&Rs(r)),t}return r._value=e,r}function Bs(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,zs(e))}var Vs=e((()=>{}));function Hs(){for(var e=this._name,t=this._id,n=qs(),r=this._groups,i=r.length,a=0;a{Z(),J()}));function Ws(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=K(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var Gs=e((()=>{J()}));function Y(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Ks(e){return En().transition(e)}function qs(){return++Js}var Js,X,Z=e((()=>{D(),Ro(),Wo(),Jo(),Qo(),ts(),is(),os(),cs(),fs(),hs(),_s(),ys(),Ss(),ks(),Ns(),Ls(),Vs(),Us(),Oo(),Gs(),Js=0,X=En.prototype,Y.prototype=Ks.prototype={constructor:Y,select:gs,selectAll:vs,selectChild:X.selectChild,selectChildren:X.selectChildren,filter:as,merge:ss,selection:bs,transition:Hs,call:X.call,nodes:X.nodes,node:X.node,size:X.size,empty:X.empty,each:X.each,on:ds,attr:Lo,attrTween:Uo,style:Os,styleTween:Ms,text:Is,textTween:Bs,remove:ms,tween:Eo,delay:qo,duration:Zo,ease:es,easeVarying:rs,end:Ws,[Symbol.iterator]:X[Symbol.iterator]}})),Ys,Xs=e((()=>{Ys=e=>+e}));function Zs(e){return e*e}function Qs(e){return e*(2-e)}function $s(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}var ec=e((()=>{}));function tc(e){return e*e*e}function nc(e){return--e*e*e+1}function rc(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var ic=e((()=>{})),ac,oc,sc,cc,lc=e((()=>{ac=3,oc=(function e(t){t=+t;function n(e){return e**+t}return n.exponent=e,n})(ac),sc=(function e(t){t=+t;function n(e){return 1-(1-e)**t}return n.exponent=e,n})(ac),cc=(function e(t){t=+t;function n(e){return((e*=2)<=1?e**+t:2-(2-e)**t)/2}return n.exponent=e,n})(ac)}));function uc(e){return+e==1?1:1-Math.cos(e*mc)}function dc(e){return Math.sin(e*mc)}function fc(e){return(1-Math.cos(pc*e))/2}var pc,mc,hc=e((()=>{pc=Math.PI,mc=pc/2}));function Q(e){return(2**(-10*e)-.0009765625)*1.0009775171065494}var gc=e((()=>{}));function _c(e){return Q(1-e)}function vc(e){return 1-Q(e)}function yc(e){return((e*=2)<=1?q(1-e):2-q(e-1))/2}var bc=e((()=>{gc()}));function xc(e){return 1-Math.sqrt(1-e*e)}function Sc(e){return Math.sqrt(1- --e*e)}function Cc(e){return((e*=2)<=1?1-math.sqrt(1-e*e):math.sqrt(1-(e-=2)*e)+1)/2}var wc=e((()=>{}));function Tc(e){return 1-Ec(1-e)}function Ec(e){return(e=+e){Oc=4/11,kc=6/11,Ac=8/11,jc=3/4,Mc=9/11,Nc=10/11,Pc=15/16,Fc=21/22,Ic=63/64,Lc=1/Oc/Oc})),zc,Bc,Vc,Hc,Uc=e((()=>{zc=1.70158,Bc=(function e(t){t=+t;function n(e){return(e=+e)*e*(t*(e-1)+e)}return n.overshoot=e,n})(zc),Vc=(function e(t){t=+t;function n(e){return--e*e*((e+1)*t+e)+1}return n.overshoot=e,n})(zc),Hc=(function e(t){t=+t;function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return n.overshoot=e,n})(zc)})),Wc,Gc,Kc,qc,Jc,Yc,Xc=e((()=>{gc(),Wc=2*Math.PI,Gc=1,Kc=.3,qc=(function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Wc);function i(e){return t*Q(- --e)*Math.sin((r-e)/n)}return i.amplitude=function(t){return e(t,n*Wc)},i.period=function(n){return e(t,n)},i})(Gc,Kc),Jc=(function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Wc);function i(e){return 1-t*Q(e=+e)*Math.sin((e+r)/n)}return i.amplitude=function(t){return e(t,n*Wc)},i.period=function(n){return e(t,n)},i})(Gc,Kc),Yc=(function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Wc);function i(e){return((e=e*2-1)<0?t*q(-e)*math.sin((r-e)/n):2-t*q(e)*math.sin((r+e)/n))/2}return i.amplitude=function(t){return e(t,n*Wc)},i.period=function(n){return e(t,n)},i})(Gc,Kc)})),Zc=e((()=>{Xs(),ec(),ic(),lc(),hc(),bc(),wc(),Rc(),Uc(),Xc()}));function Qc(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function $c(e){var t,n;e instanceof Y?(t=e._id,e=e._name):(t=qs(),(n=el).time=Ua(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a{Z(),J(),Zc(),mo(),el={time:null,delay:0,duration:250,ease:rc}})),nl=e((()=>{D(),Co(),tl(),En.prototype.interrupt=So,En.prototype.transition=$c}));function rl(e,t){var n=e.__transition,r,i;if(n){for(i in t=t==null?null:t+``,n)if((r=n[i]).state>1&&r.name===t)return new Y([[e]],il,t,+i)}return null}var il,al=e((()=>{Z(),J(),il=[null]})),ol=e((()=>{nl(),Z(),al(),xo()})),sl,cl=e((()=>{sl=e=>()=>e}));function ll(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}var ul=e((()=>{}));function $(e,t,n){this.k=e,this.x=t,this.y=n}function dl(e){for(;!e.__zoom;)if(!(e=e.parentNode))return fl;return e.__zoom}var fl,pl=e((()=>{$.prototype={constructor:,ドルscale:function(e){return e===1?this:new $(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new $(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}},fl=new $(1,0,0),dl.prototype=$.prototype}));function ml(e){e.stopImmediatePropagation()}function hl(e){e.preventDefault(),e.stopImmediatePropagation()}var gl=e((()=>{}));function _l(e){return(!e.ctrlKey||e.type===`wheel`)&&!e.button}function vl(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute(`viewBox`)?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function yl(){return this.__zoom||fl}function bl(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function xl(){return navigator.maxTouchPoints||`ontouchstart`in this}function Sl(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],a=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function Cl(){var e=_l,n=vl,r=Sl,i=bl,a=xl,o=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],c=250,l=Sa,u=t(`start`,`zoom`,`end`),d,f,p,m=500,h=150,g=0,_=10;function v(e){e.property(`__zoom`,yl).on(`wheel.zoom`,re,{passive:!1}).on(`mousedown.zoom`,ie).on(`dblclick.zoom`,ae).filter(a).on(`touchstart.zoom`,oe).on(`touchmove.zoom`,se).on(`touchend.zoom touchcancel.zoom`,ce).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}v.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property(`__zoom`,yl),e===i?i.interrupt().each(function(){x(this,arguments).event(r).start().zoom(null,typeof t==`function`?t.apply(this,arguments):t).end()}):te(e,t,n,r)},v.scaleBy=function(e,t,n,r){v.scaleTo(e,function(){return this.__zoom.k*(typeof t==`function`?t.apply(this,arguments):t)},n,r)},v.scaleTo=function(e,t,i,a){v.transform(e,function(){var e=n.apply(this,arguments),a=this.__zoom,o=i==null?ee(e):typeof i==`function`?i.apply(this,arguments):i,c=a.invert(o),l=typeof t==`function`?t.apply(this,arguments):t;return r(b(y(a,l),o,c),e,s)},i,a)},v.translateBy=function(e,t,i,a){v.transform(e,function(){return r(this.__zoom.translate(typeof t==`function`?t.apply(this,arguments):t,typeof i==`function`?i.apply(this,arguments):i),n.apply(this,arguments),s)},null,a)},v.translateTo=function(e,t,i,a,o){v.transform(e,function(){var e=n.apply(this,arguments),o=this.__zoom,c=a==null?ee(e):typeof a==`function`?a.apply(this,arguments):a;return r(fl.translate(c[0],c[1]).scale(o.k).translate(typeof t==`function`?-t.apply(this,arguments):-t,typeof i==`function`?-i.apply(this,arguments):-i),e,s)},a,o)};function y(e,t){return t=Math.max(o[0],Math.min(o[1],t)),t===e.k?e:new $(t,e.x,e.y)}function b(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new $(e.k,r,i)}function ee(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function te(e,t,r,i){e.on(`start.zoom`,function(){x(this,arguments).event(i).start()}).on(`interrupt.zoom end.zoom`,function(){x(this,arguments).event(i).end()}).tween(`zoom`,function(){var e=this,a=arguments,o=x(e,a).event(i),s=n.apply(e,a),c=r==null?ee(s):typeof r==`function`?r.apply(e,a):r,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),d=e.__zoom,f=typeof t==`function`?t.apply(e,a):t,p=l(d.invert(c).concat(u/d.k),f.invert(c).concat(u/f.k));return function(e){if(e===1)e=f;else{var t=p(e),n=u/t[2];e=new $(n,c[0]-t[0]*n,c[1]-t[1]*n)}o.zoom(null,e)}})}function x(e,t,n){return!n&&e.__zooming||new ne(e,t)}function ne(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=n.apply(e,t),this.taps=0}ne.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit(`start`)),this},zoom:function(e,t){return this.mouse&&e!==`mouse`&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&e!==`touch`&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&e!==`touch`&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit(`zoom`),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit(`end`)),this},emit:function(e){var t=T(this.that).datum();u.call(e,this.that,new ll(e,{sourceEvent:this.sourceEvent,target:v,type:e,transform:this.that.__zoom,dispatch:u}),t)}};function re(t,...n){if(!e.apply(this,arguments))return;var a=x(this,n).event(t),c=this.__zoom,l=Math.max(o[0],Math.min(o[1],c.k*2**i.apply(this,arguments))),u=E(t);if(a.wheel)(a.mouse[0][0]!==u[0]||a.mouse[0][1]!==u[1])&&(a.mouse[1]=c.invert(a.mouse[0]=u)),clearTimeout(a.wheel);else if(c.k===l)return;else a.mouse=[u,c.invert(u)],bo(this),a.start();hl(t),a.wheel=setTimeout(d,h),a.zoom(`mouse`,r(b(y(c,l),a.mouse[0],a.mouse[1]),a.extent,s));function d(){a.wheel=null,a.end()}}function ie(t,...n){if(p||!e.apply(this,arguments))return;var i=t.currentTarget,a=x(this,n,!0).event(t),o=T(t.view).on(`mousemove.zoom`,d,!0).on(`mouseup.zoom`,f,!0),c=E(t,i),l=t.clientX,u=t.clientY;Jn(t.view),ml(t),a.mouse=[c,this.__zoom.invert(c)],bo(this),a.start();function d(e){if(hl(e),!a.moved){var t=e.clientX-l,n=e.clientY-u;a.moved=t*t+n*n>g}a.event(e).zoom(`mouse`,r(b(a.that.__zoom,a.mouse[0]=E(e,i),a.mouse[1]),a.extent,s))}function f(e){o.on(`mousemove.zoom mouseup.zoom`,null),Yn(e.view,a.moved),hl(e),a.event(e).end()}}function ae(t,...i){if(e.apply(this,arguments)){var a=this.__zoom,o=E(t.changedTouches?t.changedTouches[0]:t,this),l=a.invert(o),u=a.k*(t.shiftKey?.5:2),d=r(b(y(a,u),o,l),n.apply(this,i),s);hl(t),c>0?T(this).transition().duration(c).call(te,d,o,t):T(this).call(v.transform,d,o,t)}}function oe(t,...n){if(e.apply(this,arguments)){var r=t.touches,i=r.length,a=x(this,n,t.changedTouches.length===i).event(t),o,s,c,l;for(ml(t),s=0;s{c(),sr(),Ha(),D(),ol(),cl(),ul(),pl(),gl()})),Tl=e((()=>{wl(),pl()}));export{Ea as ,ドルtc as A,Jn as At,fo as B,S as Bt,vc as C,Wr as Ct,oc as D,vr as Dt,dc as E,Tr as Et,Qs as F,E as Ft,Ha as G,g as Gt,Ua as H,le as Ht,Ys as I,Mn as It,Ia as J,c as Jt,Ba as K,f as Kt,Ks as L,An as Lt,nc as M,D as Mt,Zs as N,Vn as Nt,cc as O,sr as Ot,$s as P,zn as Pt,Oa as Q,bo as R,T as Rt,yc as S,Zr as St,fc as T,k as Tt,Ka as U,ie as Ut,lo as V,mt as Vt,qa as W,y as Wt,Ma as X,Fa as Y,t as Yt,ja as Z,Ec as _,xi as _t,dl as a,na as at,Sc as b,ci as bt,Zc as c,Ji as ct,Jc as d,Vi as dt,Ta as et,Bc as f,Ri as ft,Dc as g,ji as gt,Tc as h,Ni as ht,fl as i,ia as it,rc as j,Yn as jt,sc as k,ar as kt,qc as l,Wi as lt,Vc as m,Mi as mt,Cl as n,ha as nt,ol as o,ea as ot,Hc as p,Fi as pt,Ra as q,u as qt,$ as r,ga as rt,rl as s,Qi as st,Tl as t,Sa as tt,Yc as u,W as ut,xc as v,yi as vt,uc as w,Xr as wt,_c as x,Ur as xt,Cc as y,H as yt,mo as z,En as zt};

AltStyle によって変換されたページ (->オリジナル) /