response/target/classes/static/assets/transform-fbfc3254.js
2025-06-27 10:04:22 +08:00

2 lines
53 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function gt(t,n){return t==null||n==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function ce(t,n){return t==null||n==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function Rn(t){let n,e,r;t.length!==2?(n=gt,e=(a,f)=>gt(t(a),f),r=(a,f)=>t(a)-f):(n=t===gt||t===ce?t:le,e=t,r=t);function i(a,f,s=0,c=a.length){if(s<c){if(n(f,f)!==0)return c;do{const l=s+c>>>1;e(a[l],f)<0?s=l+1:c=l}while(s<c)}return s}function o(a,f,s=0,c=a.length){if(s<c){if(n(f,f)!==0)return c;do{const l=s+c>>>1;e(a[l],f)<=0?s=l+1:c=l}while(s<c)}return s}function u(a,f,s=0,c=a.length){const l=i(a,f,s,c-1);return l>s&&r(a[l-1],f)>-r(a[l],f)?l-1:l}return{left:i,center:u,right:o}}function le(){return 0}function he(t){return t===null?NaN:+t}const de=Rn(gt),pe=de.right;Rn(he).center;const ge=pe,ye=Math.sqrt(50),me=Math.sqrt(10),xe=Math.sqrt(2);function _t(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),u=o>=ye?10:o>=me?5:o>=xe?2:1;let a,f,s;return i<0?(s=Math.pow(10,-i)/u,a=Math.round(t*s),f=Math.round(n*s),a/s<t&&++a,f/s>n&&--f,s=-s):(s=Math.pow(10,i)*u,a=Math.round(t/s),f=Math.round(n/s),a*s<t&&++a,f*s>n&&--f),f<a&&.5<=e&&e<2?_t(t,n,e*2):[a,f,s]}function _e(t,n,e){if(n=+n,t=+t,e=+e,!(e>0))return[];if(t===n)return[t];const r=n<t,[i,o,u]=r?_t(n,t,e):_t(t,n,e);if(!(o>=i))return[];const a=o-i+1,f=new Array(a);if(r)if(u<0)for(let s=0;s<a;++s)f[s]=(o-s)/-u;else for(let s=0;s<a;++s)f[s]=(o-s)*u;else if(u<0)for(let s=0;s<a;++s)f[s]=(i+s)/-u;else for(let s=0;s<a;++s)f[s]=(i+s)*u;return f}function Dt(t,n,e){return n=+n,t=+t,e=+e,_t(t,n,e)[2]}function we(t,n,e){n=+n,t=+t,e=+e;const r=n<t,i=r?Dt(n,t,e):Dt(t,n,e);return(r?-1:1)*(i<0?1/-i:i)}function Uu(t,n){let e;if(n===void 0)for(const r of t)r!=null&&(e<r||e===void 0&&r>=r)&&(e=r);else{let r=-1;for(let i of t)(i=n(i,++r,t))!=null&&(e<i||e===void 0&&i>=i)&&(e=i)}return e}var ve={value:()=>{}};function Tn(){for(var t=0,n=arguments.length,e={},r;t<n;++t){if(!(r=arguments[t]+"")||r in e||/[\s.]/.test(r))throw new Error("illegal type: "+r);e[r]=[]}return new yt(e)}function yt(t){this._=t}function be(t,n){return t.trim().split(/^|\s+/).map(function(e){var r="",i=e.indexOf(".");if(i>=0&&(r=e.slice(i+1),e=e.slice(0,i)),e&&!n.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:r}})}yt.prototype=Tn.prototype={constructor:yt,on:function(t,n){var e=this._,r=be(t+"",e),i,o=-1,u=r.length;if(arguments.length<2){for(;++o<u;)if((i=(t=r[o]).type)&&(i=Ne(e[i],t.name)))return i;return}if(n!=null&&typeof n!="function")throw new Error("invalid callback: "+n);for(;++o<u;)if(i=(t=r[o]).type)e[i]=en(e[i],t.name,n);else if(n==null)for(i in e)e[i]=en(e[i],t.name,null);return this},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new yt(t)},call:function(t,n){if((i=arguments.length-2)>0)for(var e=new Array(i),r=0,i,o;r<i;++r)e[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],r=0,i=o.length;r<i;++r)o[r].value.apply(n,e)},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)}};function Ne(t,n){for(var e=0,r=t.length,i;e<r;++e)if((i=t[e]).name===n)return i.value}function en(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=ve,t=t.slice(0,r).concat(t.slice(r+1));break}return e!=null&&t.push({name:n,value:e}),t}var Ht="http://www.w3.org/1999/xhtml";const rn={svg:"http://www.w3.org/2000/svg",xhtml:Ht,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ct(t){var n=t+="",e=n.indexOf(":");return e>=0&&(n=t.slice(0,e))!=="xmlns"&&(t=t.slice(e+1)),rn.hasOwnProperty(n)?{space:rn[n],local:t}:t}function Me(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===Ht&&n.documentElement.namespaceURI===Ht?n.createElement(t):n.createElementNS(e,t)}}function Ae(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Fn(t){var n=Ct(t);return(n.local?Ae:Me)(n)}function ke(){}function Bt(t){return t==null?ke:function(){return this.querySelector(t)}}function $e(t){typeof t!="function"&&(t=Bt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o=n[i],u=o.length,a=r[i]=new Array(u),f,s,c=0;c<u;++c)(f=o[c])&&(s=t.call(f,f.__data__,c,o))&&("__data__"in f&&(s.__data__=f.__data__),a[c]=s);return new b(r,this._parents)}function Se(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Ee(){return[]}function In(t){return t==null?Ee:function(){return this.querySelectorAll(t)}}function Ce(t){return function(){return Se(t.apply(this,arguments))}}function Re(t){typeof t=="function"?t=Ce(t):t=In(t);for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u=n[o],a=u.length,f,s=0;s<a;++s)(f=u[s])&&(r.push(t.call(f,f.__data__,s,u)),i.push(f));return new b(r,i)}function qn(t){return function(){return this.matches(t)}}function Pn(t){return function(n){return n.matches(t)}}var Te=Array.prototype.find;function Fe(t){return function(){return Te.call(this.children,t)}}function Ie(){return this.firstElementChild}function qe(t){return this.select(t==null?Ie:Fe(typeof t=="function"?t:Pn(t)))}var Pe=Array.prototype.filter;function De(){return Array.from(this.children)}function He(t){return function(){return Pe.call(this.children,t)}}function Xe(t){return this.selectAll(t==null?De:He(typeof t=="function"?t:Pn(t)))}function Le(t){typeof t!="function"&&(t=qn(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o=n[i],u=o.length,a=r[i]=[],f,s=0;s<u;++s)(f=o[s])&&t.call(f,f.__data__,s,o)&&a.push(f);return new b(r,this._parents)}function Dn(t){return new Array(t.length)}function ze(){return new b(this._enter||this._groups.map(Dn),this._parents)}function wt(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}wt.prototype={constructor:wt,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)}};function Oe(t){return function(){return t}}function Ve(t,n,e,r,i,o){for(var u=0,a,f=n.length,s=o.length;u<s;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new wt(t,o[u]);for(;u<f;++u)(a=n[u])&&(i[u]=a)}function Ye(t,n,e,r,i,o,u){var a,f,s=new Map,c=n.length,l=o.length,h=new Array(c),d;for(a=0;a<c;++a)(f=n[a])&&(h[a]=d=u.call(f,f.__data__,a,n)+"",s.has(d)?i[a]=f:s.set(d,f));for(a=0;a<l;++a)d=u.call(t,o[a],a,o)+"",(f=s.get(d))?(r[a]=f,f.__data__=o[a],s.delete(d)):e[a]=new wt(t,o[a]);for(a=0;a<c;++a)(f=n[a])&&s.get(h[a])===f&&(i[a]=f)}function Ue(t){return t.__data__}function Be(t,n){if(!arguments.length)return Array.from(this,Ue);var e=n?Ye:Ve,r=this._parents,i=this._groups;typeof t!="function"&&(t=Oe(t));for(var o=i.length,u=new Array(o),a=new Array(o),f=new Array(o),s=0;s<o;++s){var c=r[s],l=i[s],h=l.length,d=Ge(t.call(c,c&&c.__data__,s,r)),g=d.length,y=a[s]=new Array(g),x=u[s]=new Array(g),$=f[s]=new Array(h);e(c,l,y,x,$,d,n);for(var N=0,w=0,I,m;N<g;++N)if(I=y[N]){for(N>=w&&(w=N+1);!(m=x[w])&&++w<g;);I._next=m||null}}return u=new b(u,r),u._enter=a,u._exit=f,u}function Ge(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Ke(){return new b(this._exit||this._groups.map(Dn),this._parents)}function We(t,n,e){var r=this.enter(),i=this,o=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),n!=null&&(i=n(i),i&&(i=i.selection())),e==null?o.remove():e(o),r&&i?r.merge(i).order():i}function Ze(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,u=Math.min(i,o),a=new Array(i),f=0;f<u;++f)for(var s=e[f],c=r[f],l=s.length,h=a[f]=new Array(l),d,g=0;g<l;++g)(d=s[g]||c[g])&&(h[g]=d);for(;f<i;++f)a[f]=e[f];return new b(a,this._parents)}function Je(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r=t[n],i=r.length-1,o=r[i],u;--i>=0;)(u=r[i])&&(o&&u.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(u,o),o=u);return this}function Qe(t){t||(t=je);function n(l,h){return l&&h?t(l.__data__,h.__data__):!l-!h}for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u=e[o],a=u.length,f=i[o]=new Array(a),s,c=0;c<a;++c)(s=u[c])&&(f[c]=s);f.sort(n)}return new b(i,this._parents).order()}function je(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function tr(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function nr(){return Array.from(this)}function er(){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 rr(){let t=0;for(const n of this)++t;return t}function ir(){return!this.node()}function or(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i=n[e],o=0,u=i.length,a;o<u;++o)(a=i[o])&&t.call(a,a.__data__,o,i);return this}function ur(t){return function(){this.removeAttribute(t)}}function ar(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sr(t,n){return function(){this.setAttribute(t,n)}}function fr(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function cr(t,n){return function(){var e=n.apply(this,arguments);e==null?this.removeAttribute(t):this.setAttribute(t,e)}}function lr(t,n){return function(){var e=n.apply(this,arguments);e==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function hr(t,n){var e=Ct(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((n==null?e.local?ar:ur:typeof n=="function"?e.local?lr:cr:e.local?fr:sr)(e,n))}function Hn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function dr(t){return function(){this.style.removeProperty(t)}}function pr(t,n,e){return function(){this.style.setProperty(t,n,e)}}function gr(t,n,e){return function(){var r=n.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function yr(t,n,e){return arguments.length>1?this.each((n==null?dr:typeof n=="function"?gr:pr)(t,n,e??"")):K(this.node(),t)}function K(t,n){return t.style.getPropertyValue(n)||Hn(t).getComputedStyle(t,null).getPropertyValue(n)}function mr(t){return function(){delete this[t]}}function xr(t,n){return function(){this[t]=n}}function _r(t,n){return function(){var e=n.apply(this,arguments);e==null?delete this[t]:this[t]=e}}function wr(t,n){return arguments.length>1?this.each((n==null?mr:typeof n=="function"?_r:xr)(t,n)):this.node()[t]}function Xn(t){return t.trim().split(/^|\s+/)}function Gt(t){return t.classList||new Ln(t)}function Ln(t){this._node=t,this._names=Xn(t.getAttribute("class")||"")}Ln.prototype={add:function(t){var n=this._names.indexOf(t);n<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}};function zn(t,n){for(var e=Gt(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function On(t,n){for(var e=Gt(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function vr(t){return function(){zn(this,t)}}function br(t){return function(){On(this,t)}}function Nr(t,n){return function(){(n.apply(this,arguments)?zn:On)(this,t)}}function Mr(t,n){var e=Xn(t+"");if(arguments.length<2){for(var r=Gt(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each((typeof n=="function"?Nr:n?vr:br)(e,n))}function Ar(){this.textContent=""}function kr(t){return function(){this.textContent=t}}function $r(t){return function(){var n=t.apply(this,arguments);this.textContent=n??""}}function Sr(t){return arguments.length?this.each(t==null?Ar:(typeof t=="function"?$r:kr)(t)):this.node().textContent}function Er(){this.innerHTML=""}function Cr(t){return function(){this.innerHTML=t}}function Rr(t){return function(){var n=t.apply(this,arguments);this.innerHTML=n??""}}function Tr(t){return arguments.length?this.each(t==null?Er:(typeof t=="function"?Rr:Cr)(t)):this.node().innerHTML}function Fr(){this.nextSibling&&this.parentNode.appendChild(this)}function Ir(){return this.each(Fr)}function qr(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Pr(){return this.each(qr)}function Dr(t){var n=typeof t=="function"?t:Fn(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})}function Hr(){return null}function Xr(t,n){var e=typeof t=="function"?t:Fn(t),r=n==null?Hr:typeof n=="function"?n:Bt(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})}function Lr(){var t=this.parentNode;t&&t.removeChild(this)}function zr(){return this.each(Lr)}function Or(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Vr(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Yr(t){return this.select(t?Vr:Or)}function Ur(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Br(t){return function(n){t.call(this,n,this.__data__)}}function Gr(t){return t.trim().split(/^|\s+/).map(function(n){var e="",r=n.indexOf(".");return r>=0&&(e=n.slice(r+1),n=n.slice(0,r)),{type:n,name:e}})}function Kr(t){return function(){var n=this.__on;if(n){for(var e=0,r=-1,i=n.length,o;e<i;++e)o=n[e],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):n[++r]=o;++r?n.length=r:delete this.__on}}}function Wr(t,n,e){return function(){var r=this.__on,i,o=Br(n);if(r){for(var u=0,a=r.length;u<a;++u)if((i=r[u]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=e),i.value=n;return}}this.addEventListener(t.type,o,e),i={type:t.type,name:t.name,value:n,listener:o,options:e},r?r.push(i):this.__on=[i]}}function Zr(t,n,e){var r=Gr(t+""),i,o=r.length,u;if(arguments.length<2){var a=this.node().__on;if(a){for(var f=0,s=a.length,c;f<s;++f)for(i=0,c=a[f];i<o;++i)if((u=r[i]).type===c.type&&u.name===c.name)return c.value}return}for(a=n?Wr:Kr,i=0;i<o;++i)this.each(a(r[i],n,e));return this}function Vn(t,n,e){var r=Hn(t),i=r.CustomEvent;typeof i=="function"?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.dispatchEvent(i)}function Jr(t,n){return function(){return Vn(this,t,n)}}function Qr(t,n){return function(){return Vn(this,t,n.apply(this,arguments))}}function jr(t,n){return this.each((typeof n=="function"?Qr:Jr)(t,n))}function*ti(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length,u;i<o;++i)(u=r[i])&&(yield u)}var Yn=[null];function b(t,n){this._groups=t,this._parents=n}function it(){return new b([[document.documentElement]],Yn)}function ni(){return this}b.prototype=it.prototype={constructor:b,select:$e,selectAll:Re,selectChild:qe,selectChildren:Xe,filter:Le,data:Be,enter:ze,exit:Ke,join:We,merge:Ze,selection:ni,order:Je,sort:Qe,call:tr,nodes:nr,node:er,size:rr,empty:ir,each:or,attr:hr,style:yr,property:wr,classed:Mr,text:Sr,html:Tr,raise:Ir,lower:Pr,append:Dr,insert:Xr,remove:zr,clone:Yr,datum:Ur,on:Zr,dispatch:jr,[Symbol.iterator]:ti};function Bu(t){return typeof t=="string"?new b([[document.querySelector(t)]],[document.documentElement]):new b([[t]],Yn)}function Kt(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Un(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function ot(){}var nt=.7,vt=1/nt,G="\\s*([+-]?\\d+)\\s*",et="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",E="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ei=/^#([0-9a-f]{3,8})$/,ri=new RegExp(`^rgb\\(${G},${G},${G}\\)$`),ii=new RegExp(`^rgb\\(${E},${E},${E}\\)$`),oi=new RegExp(`^rgba\\(${G},${G},${G},${et}\\)$`),ui=new RegExp(`^rgba\\(${E},${E},${E},${et}\\)$`),ai=new RegExp(`^hsl\\(${et},${E},${E}\\)$`),si=new RegExp(`^hsla\\(${et},${E},${E},${et}\\)$`),on={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};Kt(ot,H,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:un,formatHex:un,formatHex8:fi,formatHsl:ci,formatRgb:an,toString:an});function un(){return this.rgb().formatHex()}function fi(){return this.rgb().formatHex8()}function ci(){return Bn(this).formatHsl()}function an(){return this.rgb().formatRgb()}function H(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=ei.exec(t))?(e=n[1].length,n=parseInt(n[1],16),e===6?sn(n):e===3?new v(n>>8&15|n>>4&240,n>>4&15|n&240,(n&15)<<4|n&15,1):e===8?ft(n>>24&255,n>>16&255,n>>8&255,(n&255)/255):e===4?ft(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|n&240,((n&15)<<4|n&15)/255):null):(n=ri.exec(t))?new v(n[1],n[2],n[3],1):(n=ii.exec(t))?new v(n[1]*255/100,n[2]*255/100,n[3]*255/100,1):(n=oi.exec(t))?ft(n[1],n[2],n[3],n[4]):(n=ui.exec(t))?ft(n[1]*255/100,n[2]*255/100,n[3]*255/100,n[4]):(n=ai.exec(t))?ln(n[1],n[2]/100,n[3]/100,1):(n=si.exec(t))?ln(n[1],n[2]/100,n[3]/100,n[4]):on.hasOwnProperty(t)?sn(on[t]):t==="transparent"?new v(NaN,NaN,NaN,0):null}function sn(t){return new v(t>>16&255,t>>8&255,t&255,1)}function ft(t,n,e,r){return r<=0&&(t=n=e=NaN),new v(t,n,e,r)}function li(t){return t instanceof ot||(t=H(t)),t?(t=t.rgb(),new v(t.r,t.g,t.b,t.opacity)):new v}function Xt(t,n,e,r){return arguments.length===1?li(t):new v(t,n,e,r??1)}function v(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}Kt(v,Xt,Un(ot,{brighter(t){return t=t==null?vt:Math.pow(vt,t),new v(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?nt:Math.pow(nt,t),new v(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new v(D(this.r),D(this.g),D(this.b),bt(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:fn,formatHex:fn,formatHex8:hi,formatRgb:cn,toString:cn}));function fn(){return`#${P(this.r)}${P(this.g)}${P(this.b)}`}function hi(){return`#${P(this.r)}${P(this.g)}${P(this.b)}${P((isNaN(this.opacity)?1:this.opacity)*255)}`}function cn(){const t=bt(this.opacity);return`${t===1?"rgb(":"rgba("}${D(this.r)}, ${D(this.g)}, ${D(this.b)}${t===1?")":`, ${t})`}`}function bt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function D(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function P(t){return t=D(t),(t<16?"0":"")+t.toString(16)}function ln(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new A(t,n,e,r)}function Bn(t){if(t instanceof A)return new A(t.h,t.s,t.l,t.opacity);if(t instanceof ot||(t=H(t)),!t)return new A;if(t instanceof A)return t;t=t.rgb();var n=t.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,f=(o+i)/2;return a?(n===o?u=(e-r)/a+(e<r)*6:e===o?u=(r-n)/a+2:u=(n-e)/a+4,a/=f<.5?o+i:2-o-i,u*=60):a=f>0&&f<1?0:u,new A(u,a,f,t.opacity)}function di(t,n,e,r){return arguments.length===1?Bn(t):new A(t,n,e,r??1)}function A(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Kt(A,di,Un(ot,{brighter(t){return t=t==null?vt:Math.pow(vt,t),new A(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?nt:Math.pow(nt,t),new A(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,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 v(Ft(t>=240?t-240:t+120,i,r),Ft(t,i,r),Ft(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new A(hn(this.h),ct(this.s),ct(this.l),bt(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(){const t=bt(this.opacity);return`${t===1?"hsl(":"hsla("}${hn(this.h)}, ${ct(this.s)*100}%, ${ct(this.l)*100}%${t===1?")":`, ${t})`}`}}));function hn(t){return t=(t||0)%360,t<0?t+360:t}function ct(t){return Math.max(0,Math.min(1,t||0))}function Ft(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}const Wt=t=>()=>t;function pi(t,n){return function(e){return t+e*n}}function gi(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function yi(t){return(t=+t)==1?Gn:function(n,e){return e-n?gi(n,e,t):Wt(isNaN(n)?e:n)}}function Gn(t,n){var e=n-t;return e?pi(t,e):Wt(isNaN(t)?n:t)}const Nt=function t(n){var e=yi(n);function r(i,o){var u=e((i=Xt(i)).r,(o=Xt(o)).r),a=e(i.g,o.g),f=e(i.b,o.b),s=Gn(i.opacity,o.opacity);return function(c){return i.r=u(c),i.g=a(c),i.b=f(c),i.opacity=s(c),i+""}}return r.gamma=t,r}(1);function mi(t,n){n||(n=[]);var e=t?Math.min(n.length,t.length):0,r=n.slice(),i;return function(o){for(i=0;i<e;++i)r[i]=t[i]*(1-o)+n[i]*o;return r}}function xi(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function _i(t,n){var e=n?n.length:0,r=t?Math.min(e,t.length):0,i=new Array(r),o=new Array(e),u;for(u=0;u<r;++u)i[u]=Zt(t[u],n[u]);for(;u<e;++u)o[u]=n[u];return function(a){for(u=0;u<r;++u)o[u]=i[u](a);return o}}function wi(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function M(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function vi(t,n){var e={},r={},i;(t===null||typeof t!="object")&&(t={}),(n===null||typeof n!="object")&&(n={});for(i in n)i in t?e[i]=Zt(t[i],n[i]):r[i]=n[i];return function(o){for(i in e)r[i]=e[i](o);return r}}var Lt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,It=new RegExp(Lt.source,"g");function bi(t){return function(){return t}}function Ni(t){return function(n){return t(n)+""}}function Kn(t,n){var e=Lt.lastIndex=It.lastIndex=0,r,i,o,u=-1,a=[],f=[];for(t=t+"",n=n+"";(r=Lt.exec(t))&&(i=It.exec(n));)(o=i.index)>e&&(o=n.slice(e,o),a[u]?a[u]+=o:a[++u]=o),(r=r[0])===(i=i[0])?a[u]?a[u]+=i:a[++u]=i:(a[++u]=null,f.push({i:u,x:M(r,i)})),e=It.lastIndex;return e<n.length&&(o=n.slice(e),a[u]?a[u]+=o:a[++u]=o),a.length<2?f[0]?Ni(f[0].x):bi(n):(n=f.length,function(s){for(var c=0,l;c<n;++c)a[(l=f[c]).i]=l.x(s);return a.join("")})}function Zt(t,n){var e=typeof n,r;return n==null||e==="boolean"?Wt(n):(e==="number"?M:e==="string"?(r=H(n))?(n=r,Nt):Kn:n instanceof H?Nt:n instanceof Date?wi:xi(n)?mi:Array.isArray(n)?_i:typeof n.valueOf!="function"&&typeof n.toString!="function"||isNaN(n)?vi:M)(t,n)}function Mi(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}var dn=180/Math.PI,zt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Wn(t,n,e,r,i,o){var u,a,f;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(f=t*e+n*r)&&(e-=t*f,r-=n*f),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,f/=a),t*r<n*e&&(t=-t,n=-n,f=-f,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*dn,skewX:Math.atan(f)*dn,scaleX:u,scaleY:a}}var lt;function Ai(t){const n=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?zt:Wn(n.a,n.b,n.c,n.d,n.e,n.f)}function ki(t){return t==null||(lt||(lt=document.createElementNS("http://www.w3.org/2000/svg","g")),lt.setAttribute("transform",t),!(t=lt.transform.baseVal.consolidate()))?zt:(t=t.matrix,Wn(t.a,t.b,t.c,t.d,t.e,t.f))}function Zn(t,n,e,r){function i(s){return s.length?s.pop()+" ":""}function o(s,c,l,h,d,g){if(s!==l||c!==h){var y=d.push("translate(",null,n,null,e);g.push({i:y-4,x:M(s,l)},{i:y-2,x:M(c,h)})}else(l||h)&&d.push("translate("+l+n+h+e)}function u(s,c,l,h){s!==c?(s-c>180?c+=360:c-s>180&&(s+=360),h.push({i:l.push(i(l)+"rotate(",null,r)-2,x:M(s,c)})):c&&l.push(i(l)+"rotate("+c+r)}function a(s,c,l,h){s!==c?h.push({i:l.push(i(l)+"skewX(",null,r)-2,x:M(s,c)}):c&&l.push(i(l)+"skewX("+c+r)}function f(s,c,l,h,d,g){if(s!==l||c!==h){var y=d.push(i(d)+"scale(",null,",",null,")");g.push({i:y-4,x:M(s,l)},{i:y-2,x:M(c,h)})}else(l!==1||h!==1)&&d.push(i(d)+"scale("+l+","+h+")")}return function(s,c){var l=[],h=[];return s=t(s),c=t(c),o(s.translateX,s.translateY,c.translateX,c.translateY,l,h),u(s.rotate,c.rotate,l,h),a(s.skewX,c.skewX,l,h),f(s.scaleX,s.scaleY,c.scaleX,c.scaleY,l,h),s=c=null,function(d){for(var g=-1,y=h.length,x;++g<y;)l[(x=h[g]).i]=x.x(d);return l.join("")}}}var $i=Zn(Ai,"px, ","px)","deg)"),Si=Zn(ki,", ",")",")"),W=0,Q=0,J=0,Jn=1e3,Mt,j,At=0,X=0,Rt=0,rt=typeof performance=="object"&&performance.now?performance:Date,Qn=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Jt(){return X||(Qn(Ei),X=rt.now()+Rt)}function Ei(){X=0}function kt(){this._call=this._time=this._next=null}kt.prototype=jn.prototype={constructor:kt,restart:function(t,n,e){if(typeof t!="function")throw new TypeError("callback is not a function");e=(e==null?Jt():+e)+(n==null?0:+n),!this._next&&j!==this&&(j?j._next=this:Mt=this,j=this),this._call=t,this._time=e,Ot()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ot())}};function jn(t,n,e){var r=new kt;return r.restart(t,n,e),r}function Ci(){Jt(),++W;for(var t=Mt,n;t;)(n=X-t._time)>=0&&t._call.call(void 0,n),t=t._next;--W}function pn(){X=(At=rt.now())+Rt,W=Q=0;try{Ci()}finally{W=0,Ti(),X=0}}function Ri(){var t=rt.now(),n=t-At;n>Jn&&(Rt-=n,At=t)}function Ti(){for(var t,n=Mt,e,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Mt=e);j=t,Ot(r)}function Ot(t){if(!W){Q&&(Q=clearTimeout(Q));var n=t-X;n>24?(t<1/0&&(Q=setTimeout(pn,t-rt.now()-Rt)),J&&(J=clearInterval(J))):(J||(At=rt.now(),J=setInterval(Ri,Jn)),W=1,Qn(pn))}}function gn(t,n,e){var r=new kt;return n=n==null?0:+n,r.restart(i=>{r.stop(),t(i+n)},n,e),r}var Fi=Tn("start","end","cancel","interrupt"),Ii=[],te=0,yn=1,Vt=2,mt=3,mn=4,Yt=5,xt=6;function Tt(t,n,e,r,i,o){var u=t.__transition;if(!u)t.__transition={};else if(e in u)return;qi(t,e,{name:n,index:r,group:i,on:Fi,tween:Ii,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:te})}function Qt(t,n){var e=k(t,n);if(e.state>te)throw new Error("too late; already scheduled");return e}function C(t,n){var e=k(t,n);if(e.state>mt)throw new Error("too late; already running");return e}function k(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function qi(t,n,e){var r=t.__transition,i;r[n]=e,e.timer=jn(o,0,e.time);function o(s){e.state=yn,e.timer.restart(u,e.delay,e.time),e.delay<=s&&u(s-e.delay)}function u(s){var c,l,h,d;if(e.state!==yn)return f();for(c in r)if(d=r[c],d.name===e.name){if(d.state===mt)return gn(u);d.state===mn?(d.state=xt,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[c]):+c<n&&(d.state=xt,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete r[c])}if(gn(function(){e.state===mt&&(e.state=mn,e.timer.restart(a,e.delay,e.time),a(s))}),e.state=Vt,e.on.call("start",t,t.__data__,e.index,e.group),e.state===Vt){for(e.state=mt,i=new Array(h=e.tween.length),c=0,l=-1;c<h;++c)(d=e.tween[c].value.call(t,t.__data__,e.index,e.group))&&(i[++l]=d);i.length=l+1}}function a(s){for(var c=s<e.duration?e.ease.call(null,s/e.duration):(e.timer.restart(f),e.state=Yt,1),l=-1,h=i.length;++l<h;)i[l].call(t,c);e.state===Yt&&(e.on.call("end",t,t.__data__,e.index,e.group),f())}function f(){e.state=xt,e.timer.stop(),delete r[n];for(var s in r)return;delete t.__transition}}function Pi(t,n){var e=t.__transition,r,i,o=!0,u;if(e){n=n==null?null:n+"";for(u in e){if((r=e[u]).name!==n){o=!1;continue}i=r.state>Vt&&r.state<Yt,r.state=xt,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete e[u]}o&&delete t.__transition}}function Di(t){return this.each(function(){Pi(this,t)})}function Hi(t,n){var e,r;return function(){var i=C(this,t),o=i.tween;if(o!==e){r=e=o;for(var u=0,a=r.length;u<a;++u)if(r[u].name===n){r=r.slice(),r.splice(u,1);break}}i.tween=r}}function Xi(t,n,e){var r,i;if(typeof e!="function")throw new Error;return function(){var o=C(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},f=0,s=i.length;f<s;++f)if(i[f].name===n){i[f]=a;break}f===s&&i.push(a)}o.tween=i}}function Li(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r=k(this.node(),e).tween,i=0,o=r.length,u;i<o;++i)if((u=r[i]).name===t)return u.value;return null}return this.each((n==null?Hi:Xi)(e,t,n))}function jt(t,n,e){var r=t._id;return t.each(function(){var i=C(this,r);(i.value||(i.value={}))[n]=e.apply(this,arguments)}),function(i){return k(i,r).value[n]}}function ne(t,n){var e;return(typeof n=="number"?M:n instanceof H?Nt:(e=H(n))?(n=e,Nt):Kn)(t,n)}function zi(t){return function(){this.removeAttribute(t)}}function Oi(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Vi(t,n,e){var r,i=e+"",o;return function(){var u=this.getAttribute(t);return u===i?null:u===r?o:o=n(r=u,e)}}function Yi(t,n,e){var r,i=e+"",o;return function(){var u=this.getAttributeNS(t.space,t.local);return u===i?null:u===r?o:o=n(r=u,e)}}function Ui(t,n,e){var r,i,o;return function(){var u,a=e(this),f;return a==null?void this.removeAttribute(t):(u=this.getAttribute(t),f=a+"",u===f?null:u===r&&f===i?o:(i=f,o=n(r=u,a)))}}function Bi(t,n,e){var r,i,o;return function(){var u,a=e(this),f;return a==null?void this.removeAttributeNS(t.space,t.local):(u=this.getAttributeNS(t.space,t.local),f=a+"",u===f?null:u===r&&f===i?o:(i=f,o=n(r=u,a)))}}function Gi(t,n){var e=Ct(t),r=e==="transform"?Si:ne;return this.attrTween(t,typeof n=="function"?(e.local?Bi:Ui)(e,r,jt(this,"attr."+t,n)):n==null?(e.local?Oi:zi)(e):(e.local?Yi:Vi)(e,r,n))}function Ki(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}function Wi(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}function Zi(t,n){var e,r;function i(){var o=n.apply(this,arguments);return o!==r&&(e=(r=o)&&Wi(t,o)),e}return i._value=n,i}function Ji(t,n){var e,r;function i(){var o=n.apply(this,arguments);return o!==r&&(e=(r=o)&&Ki(t,o)),e}return i._value=n,i}function Qi(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(n==null)return this.tween(e,null);if(typeof n!="function")throw new Error;var r=Ct(t);return this.tween(e,(r.local?Zi:Ji)(r,n))}function ji(t,n){return function(){Qt(this,t).delay=+n.apply(this,arguments)}}function to(t,n){return n=+n,function(){Qt(this,t).delay=n}}function no(t){var n=this._id;return arguments.length?this.each((typeof t=="function"?ji:to)(n,t)):k(this.node(),n).delay}function eo(t,n){return function(){C(this,t).duration=+n.apply(this,arguments)}}function ro(t,n){return n=+n,function(){C(this,t).duration=n}}function io(t){var n=this._id;return arguments.length?this.each((typeof t=="function"?eo:ro)(n,t)):k(this.node(),n).duration}function oo(t,n){if(typeof n!="function")throw new Error;return function(){C(this,t).ease=n}}function uo(t){var n=this._id;return arguments.length?this.each(oo(n,t)):k(this.node(),n).ease}function ao(t,n){return function(){var e=n.apply(this,arguments);if(typeof e!="function")throw new Error;C(this,t).ease=e}}function so(t){if(typeof t!="function")throw new Error;return this.each(ao(this._id,t))}function fo(t){typeof t!="function"&&(t=qn(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o=n[i],u=o.length,a=r[i]=[],f,s=0;s<u;++s)(f=o[s])&&t.call(f,f.__data__,s,o)&&a.push(f);return new F(r,this._parents,this._name,this._id)}function co(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 f=n[a],s=e[a],c=f.length,l=u[a]=new Array(c),h,d=0;d<c;++d)(h=f[d]||s[d])&&(l[d]=h);for(;a<r;++a)u[a]=n[a];return new F(u,this._parents,this._name,this._id)}function lo(t){return(t+"").trim().split(/^|\s+/).every(function(n){var e=n.indexOf(".");return e>=0&&(n=n.slice(0,e)),!n||n==="start"})}function ho(t,n,e){var r,i,o=lo(n)?Qt:C;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}function po(t,n){var e=this._id;return arguments.length<2?k(this.node(),e).on.on(t):this.each(ho(e,t,n))}function go(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function yo(){return this.on("end.remove",go(this._id))}function mo(t){var n=this._name,e=this._id;typeof t!="function"&&(t=Bt(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a=r[u],f=a.length,s=o[u]=new Array(f),c,l,h=0;h<f;++h)(c=a[h])&&(l=t.call(c,c.__data__,h,a))&&("__data__"in c&&(l.__data__=c.__data__),s[h]=l,Tt(s[h],n,e,h,s,k(c,e)));return new F(o,this._parents,n,e)}function xo(t){var n=this._name,e=this._id;typeof t!="function"&&(t=In(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var f=r[a],s=f.length,c,l=0;l<s;++l)if(c=f[l]){for(var h=t.call(c,c.__data__,l,f),d,g=k(c,e),y=0,x=h.length;y<x;++y)(d=h[y])&&Tt(d,n,e,y,h,g);o.push(h),u.push(c)}return new F(o,u,n,e)}var _o=it.prototype.constructor;function wo(){return new _o(this._groups,this._parents)}function vo(t,n){var e,r,i;return function(){var o=K(this,t),u=(this.style.removeProperty(t),K(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}function ee(t){return function(){this.style.removeProperty(t)}}function bo(t,n,e){var r,i=e+"",o;return function(){var u=K(this,t);return u===i?null:u===r?o:o=n(r=u,e)}}function No(t,n,e){var r,i,o;return function(){var u=K(this,t),a=e(this),f=a+"";return a==null&&(f=a=(this.style.removeProperty(t),K(this,t))),u===f?null:u===r&&f===i?o:(i=f,o=n(r=u,a))}}function Mo(t,n){var e,r,i,o="style."+n,u="end."+o,a;return function(){var f=C(this,t),s=f.on,c=f.value[o]==null?a||(a=ee(n)):void 0;(s!==e||i!==c)&&(r=(e=s).copy()).on(u,i=c),f.on=r}}function Ao(t,n,e){var r=(t+="")=="transform"?$i:ne;return n==null?this.styleTween(t,vo(t,r)).on("end.style."+t,ee(t)):typeof n=="function"?this.styleTween(t,No(t,r,jt(this,"style."+t,n))).each(Mo(this._id,t)):this.styleTween(t,bo(t,r,n),e).on("end.style."+t,null)}function ko(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}function $o(t,n,e){var r,i;function o(){var u=n.apply(this,arguments);return u!==i&&(r=(i=u)&&ko(t,u,e)),r}return o._value=n,o}function So(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(n==null)return this.tween(r,null);if(typeof n!="function")throw new Error;return this.tween(r,$o(t,n,e??""))}function Eo(t){return function(){this.textContent=t}}function Co(t){return function(){var n=t(this);this.textContent=n??""}}function Ro(t){return this.tween("text",typeof t=="function"?Co(jt(this,"text",t)):Eo(t==null?"":t+""))}function To(t){return function(n){this.textContent=t.call(this,n)}}function Fo(t){var n,e;function r(){var i=t.apply(this,arguments);return i!==e&&(n=(e=i)&&To(i)),n}return r._value=t,r}function Io(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;return this.tween(n,Fo(t))}function qo(){for(var t=this._name,n=this._id,e=re(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u=r[o],a=u.length,f,s=0;s<a;++s)if(f=u[s]){var c=k(f,n);Tt(f,t,e,s,u,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new F(r,this._parents,t,e)}function Po(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,u){var a={value:u},f={value:function(){--i===0&&o()}};e.each(function(){var s=C(this,r),c=s.on;c!==t&&(n=(t=c).copy(),n._.cancel.push(a),n._.interrupt.push(a),n._.end.push(f)),s.on=n}),i===0&&o()})}var Do=0;function F(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function re(){return++Do}var T=it.prototype;F.prototype={constructor:F,select:mo,selectAll:xo,selectChild:T.selectChild,selectChildren:T.selectChildren,filter:fo,merge:co,selection:wo,transition:qo,call:T.call,nodes:T.nodes,node:T.node,size:T.size,empty:T.empty,each:T.each,on:po,attr:Gi,attrTween:Qi,style:Ao,styleTween:So,text:Ro,textTween:Io,remove:yo,tween:Li,delay:no,duration:io,ease:uo,easeVarying:so,end:Po,[Symbol.iterator]:T[Symbol.iterator]};function Ho(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Xo={time:null,delay:0,duration:250,ease:Ho};function Lo(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}function zo(t){var n,e;t instanceof F?(n=t._id,t=t._name):(n=re(),(e=Xo).time=Jt(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u=r[o],a=u.length,f,s=0;s<a;++s)(f=u[s])&&Tt(f,t,n,s,u,e||Lo(f,n));return new F(r,this._parents,t,n)}it.prototype.interrupt=Di;it.prototype.transition=zo;function Oo(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function $t(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 Z(t){return t=$t(Math.abs(t)),t?t[1]:NaN}function Vo(t,n){return function(e,r){for(var i=e.length,o=[],u=0,a=t[0],f=0;i>0&&a>0&&(f+a+1>r&&(a=Math.max(1,r-f)),o.push(e.substring(i-=a,i+a)),!((f+=a+1)>r));)a=t[u=(u+1)%t.length];return o.reverse().join(n)}}function Yo(t){return function(n){return n.replace(/[0-9]/g,function(e){return t[+e]})}}var Uo=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function St(t){if(!(n=Uo.exec(t)))throw new Error("invalid format: "+t);var n;return new tn({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]})}St.prototype=tn.prototype;function tn(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}tn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Bo(t){t:for(var n=t.length,e=1,r=-1,i;e<n;++e)switch(t[e]){case".":r=i=e;break;case"0":r===0&&(r=e),i=e;break;default:if(!+t[e])break t;r>0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var ie;function Go(t,n){var e=$t(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(ie=Math.max(-8,Math.min(8,Math.floor(i/3)))*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")+$t(t,Math.max(0,n+o-1))[0]}function xn(t,n){var e=$t(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")}const _n={"%":(t,n)=>(t*100).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Oo,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>xn(t*100,n),r:xn,s:Go,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function wn(t){return t}var vn=Array.prototype.map,bn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ko(t){var n=t.grouping===void 0||t.thousands===void 0?wn:Vo(vn.call(t.grouping,Number),t.thousands+""),e=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?wn:Yo(vn.call(t.numerals,String)),u=t.percent===void 0?"%":t.percent+"",a=t.minus===void 0?"":t.minus+"",f=t.nan===void 0?"NaN":t.nan+"";function s(l){l=St(l);var h=l.fill,d=l.align,g=l.sign,y=l.symbol,x=l.zero,$=l.width,N=l.comma,w=l.precision,I=l.trim,m=l.type;m==="n"?(N=!0,m="g"):_n[m]||(w===void 0&&(w=12),I=!0,m="g"),(x||h==="0"&&d==="=")&&(x=!0,h="0",d="=");var L=y==="$"?e:y==="#"&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",z=y==="$"?r:/[%p]/.test(m)?u:"",q=_n[m],O=/[defgprs%]/.test(m);w=w===void 0?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(p){var S=L,_=z,Y,nn,ut;if(m==="c")_=q(p)+_,p="";else{p=+p;var at=p<0||1/p<0;if(p=isNaN(p)?f:q(Math.abs(p),w),I&&(p=Bo(p)),at&&+p==0&&g!=="+"&&(at=!1),S=(at?g==="("?g:a:g==="-"||g==="("?"":g)+S,_=(m==="s"?bn[8+ie/3]:"")+_+(at&&g==="("?")":""),O){for(Y=-1,nn=p.length;++Y<nn;)if(ut=p.charCodeAt(Y),48>ut||ut>57){_=(ut===46?i+p.slice(Y+1):p.slice(Y))+_,p=p.slice(0,Y);break}}}N&&!x&&(p=n(p,1/0));var st=S.length+p.length+_.length,R=st<$?new Array($-st+1).join(h):"";switch(N&&x&&(p=n(R+p,R.length?$-_.length:1/0),R=""),d){case"<":p=S+p+_+R;break;case"=":p=S+R+p+_;break;case"^":p=R.slice(0,st=R.length>>1)+S+p+_+R.slice(st);break;default:p=R+S+p+_;break}return o(p)}return V.toString=function(){return l+""},V}function c(l,h){var d=s((l=St(l),l.type="f",l)),g=Math.max(-8,Math.min(8,Math.floor(Z(h)/3)))*3,y=Math.pow(10,-g),x=bn[8+g/3];return function($){return d(y*$)+x}}return{format:s,formatPrefix:c}}var ht,oe,ue;Wo({thousands:",",grouping:[3],currency:["$",""]});function Wo(t){return ht=Ko(t),oe=ht.format,ue=ht.formatPrefix,ht}function Zo(t){return Math.max(0,-Z(Math.abs(t)))}function Jo(t,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Z(n)/3)))*3-Z(Math.abs(t)))}function Qo(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Z(n)-Z(t))+1}function jo(t){var n=0,e=t.children,r=e&&e.length;if(!r)n=1;else for(;--r>=0;)n+=e[r].value;t.value=n}function tu(){return this.eachAfter(jo)}function nu(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this}function eu(t,n){for(var e=this,r=[e],i,o,u=-1;e=r.pop();)if(t.call(n,e,++u,this),i=e.children)for(o=i.length-1;o>=0;--o)r.push(i[o]);return this}function ru(t,n){for(var e=this,r=[e],i=[],o,u,a,f=-1;e=r.pop();)if(i.push(e),o=e.children)for(u=0,a=o.length;u<a;++u)r.push(o[u]);for(;e=i.pop();)t.call(n,e,++f,this);return this}function iu(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r}function ou(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 uu(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}function au(t){for(var n=this,e=su(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 su(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}function fu(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}function cu(){return Array.from(this)}function lu(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}function hu(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}function*du(){var t=this,n,e=[t],r,i,o;do for(n=e.reverse(),e=[];t=n.pop();)if(yield t,r=t.children)for(i=0,o=r.length;i<o;++i)e.push(r[i]);while(e.length)}function ae(t,n){t instanceof Map?(t=[void 0,t],n===void 0&&(n=yu)):n===void 0&&(n=gu);for(var e=new Et(t),r,i=[e],o,u,a,f;r=i.pop();)if((u=n(r.data))&&(f=(u=Array.from(u)).length))for(r.children=u,a=f-1;a>=0;--a)i.push(o=u[a]=new Et(u[a])),o.parent=r,o.depth=r.depth+1;return e.eachBefore(xu)}function pu(){return ae(this).eachBefore(mu)}function gu(t){return t.children}function yu(t){return Array.isArray(t)?t[1]:null}function mu(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function xu(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function Et(t){this.data=t,this.depth=this.height=0,this.parent=null}Et.prototype=ae.prototype={constructor:Et,count:tu,each:nu,eachAfter:ru,eachBefore:eu,find:iu,sum:ou,sort:uu,path:au,ancestors:fu,descendants:cu,leaves:lu,links:hu,copy:pu,[Symbol.iterator]:du};function _u(t){return t==null?null:wu(t)}function wu(t){if(typeof t!="function")throw new Error;return t}function Nn(){return 0}function vu(t){return function(){return t}}const bu=1664525,Nu=1013904223,Mn=4294967296;function Mu(){let t=1;return()=>(t=(bu*t+Nu)%Mn)/Mn}function Au(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function ku(t,n){let e=t.length,r,i;for(;e;)i=n()*e--|0,r=t[e],t[e]=t[i],t[i]=r;return t}function $u(t,n){for(var e=0,r=(t=ku(Array.from(t),n)).length,i=[],o,u;e<r;)o=t[e],u&&se(u,o)?++e:(u=Eu(i=Su(i,o)),e=0);return u}function Su(t,n){var e,r;if(qt(n,t))return[n];for(e=0;e<t.length;++e)if(dt(n,t[e])&&qt(tt(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(dt(tt(t[e],t[r]),n)&&dt(tt(t[e],n),t[r])&&dt(tt(t[r],n),t[e])&&qt(fe(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function dt(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function se(t,n){var e=t.r-n.r+Math.max(t.r,n.r,1)*1e-9,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function qt(t,n){for(var e=0;e<n.length;++e)if(!se(t,n[e]))return!1;return!0}function Eu(t){switch(t.length){case 1:return Cu(t[0]);case 2:return tt(t[0],t[1]);case 3:return fe(t[0],t[1],t[2])}}function Cu(t){return{x:t.x,y:t.y,r:t.r}}function tt(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,f=o-e,s=u-r,c=a-i,l=Math.sqrt(f*f+s*s);return{x:(e+o+f/l*c)/2,y:(r+u+s/l*c)/2,r:(l+i+a)/2}}function fe(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,f=n.r,s=e.x,c=e.y,l=e.r,h=r-u,d=r-s,g=i-a,y=i-c,x=f-o,$=l-o,N=r*r+i*i-o*o,w=N-u*u-a*a+f*f,I=N-s*s-c*c+l*l,m=d*g-h*y,L=(g*I-y*w)/(m*2)-r,z=(y*x-g*$)/m,q=(d*w-h*I)/(m*2)-i,O=(h*$-d*x)/m,V=z*z+O*O-1,p=2*(o+L*z+q*O),S=L*L+q*q-o*o,_=-(Math.abs(V)>1e-6?(p+Math.sqrt(p*p-4*V*S))/(2*V):S/p);return{x:r+L+z*_,y:i+q+O*_,r:_}}function An(t,n,e){var r=t.x-n.x,i,o,u=t.y-n.y,a,f,s=r*r+u*u;s?(o=n.r+e.r,o*=o,f=t.r+e.r,f*=f,o>f?(i=(s+f-o)/(2*s),a=Math.sqrt(Math.max(0,f/s-i*i)),e.x=t.x-i*r-a*u,e.y=t.y-i*u+a*r):(i=(s+o-f)/(2*s),a=Math.sqrt(Math.max(0,o/s-i*i)),e.x=n.x+i*r-a*u,e.y=n.y+i*u+a*r)):(e.x=n.x+e.r,e.y=n.y)}function kn(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function $n(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function pt(t){this._=t,this.next=null,this.previous=null}function Ru(t,n){if(!(o=(t=Au(t)).length))return 0;var e,r,i,o,u,a,f,s,c,l,h;if(e=t[0],e.x=0,e.y=0,!(o>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(o>2))return e.r+r.r;An(r,e,i=t[2]),e=new pt(e),r=new pt(r),i=new pt(i),e.next=i.previous=r,r.next=e.previous=i,i.next=r.previous=e;t:for(f=3;f<o;++f){An(e._,r._,i=t[f]),i=new pt(i),s=r.next,c=e.previous,l=r._.r,h=e._.r;do if(l<=h){if(kn(s._,i._)){r=s,e.next=r,r.previous=e,--f;continue t}l+=s._.r,s=s.next}else{if(kn(c._,i._)){e=c,e.next=r,r.previous=e,--f;continue t}h+=c._.r,c=c.previous}while(s!==c.next);for(i.previous=e,i.next=r,e.next=r.previous=r=i,u=$n(e);(i=i.next)!==r;)(a=$n(i))<u&&(e=i,u=a);r=e.next}for(e=[r._],i=r;(i=i.next)!==r;)e.push(i._);for(i=$u(e,n),f=0;f<o;++f)e=t[f],e.x-=i.x,e.y-=i.y;return i.r}function Tu(t){return Math.sqrt(t.value)}function Gu(){var t=null,n=1,e=1,r=Nn;function i(o){const u=Mu();return o.x=n/2,o.y=e/2,t?o.eachBefore(Sn(t)).eachAfter(Pt(r,.5,u)).eachBefore(En(1)):o.eachBefore(Sn(Tu)).eachAfter(Pt(Nn,1,u)).eachAfter(Pt(r,o.r/Math.min(n,e),u)).eachBefore(En(Math.min(n,e)/(2*o.r))),o}return i.radius=function(o){return arguments.length?(t=_u(o),i):t},i.size=function(o){return arguments.length?(n=+o[0],e=+o[1],i):[n,e]},i.padding=function(o){return arguments.length?(r=typeof o=="function"?o:vu(+o),i):r},i}function Sn(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Pt(t,n,e){return function(r){if(i=r.children){var i,o,u=i.length,a=t(r)*n||0,f;if(a)for(o=0;o<u;++o)i[o].r+=a;if(f=Ru(i,e),a)for(o=0;o<u;++o)i[o].r-=a;r.r=f+a}}}function En(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function Fu(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t);break}return this}function Iu(t){return function(){return t}}function qu(t){return+t}var Cn=[0,1];function U(t){return t}function Ut(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Iu(isNaN(n)?NaN:.5)}function Pu(t,n){var e;return t>n&&(e=t,t=n,n=e),function(r){return Math.max(t,Math.min(n,r))}}function Du(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i<r?(r=Ut(i,r),o=e(u,o)):(r=Ut(r,i),o=e(o,u)),function(a){return o(r(a))}}function Hu(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]=Ut(t[u],t[u+1]),o[u]=e(n[u],n[u+1]);return function(a){var f=ge(t,a,1,r)-1;return o[f](i[f](a))}}function Xu(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Lu(){var t=Cn,n=Cn,e=Zt,r,i,o,u=U,a,f,s;function c(){var h=Math.min(t.length,n.length);return u!==U&&(u=Pu(t[0],t[h-1])),a=h>2?Hu:Du,f=s=null,l}function l(h){return h==null||isNaN(h=+h)?o:(f||(f=a(t.map(r),n,e)))(r(u(h)))}return l.invert=function(h){return u(i((s||(s=a(n,t.map(r),M)))(h)))},l.domain=function(h){return arguments.length?(t=Array.from(h,qu),c()):t.slice()},l.range=function(h){return arguments.length?(n=Array.from(h),c()):n.slice()},l.rangeRound=function(h){return n=Array.from(h),e=Mi,c()},l.clamp=function(h){return arguments.length?(u=h?!0:U,c()):u!==U},l.interpolate=function(h){return arguments.length?(e=h,c()):e},l.unknown=function(h){return arguments.length?(o=h,l):o},function(h,d){return r=h,i=d,c()}}function zu(){return Lu()(U,U)}function Ou(t,n,e,r){var i=we(t,n,e),o;switch(r=St(r??",f"),r.type){case"s":{var u=Math.max(Math.abs(t),Math.abs(n));return r.precision==null&&!isNaN(o=Jo(i,u))&&(r.precision=o),ue(r,u)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Qo(i,Math.max(Math.abs(t),Math.abs(n))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Zo(i))&&(r.precision=o-(r.type==="%")*2);break}}return oe(r)}function Vu(t){var n=t.domain;return t.ticks=function(e){var r=n();return _e(r[0],r[r.length-1],e??10)},t.tickFormat=function(e,r){var i=n();return Ou(i[0],i[i.length-1],e??10,r)},t.nice=function(e){e==null&&(e=10);var r=n(),i=0,o=r.length-1,u=r[i],a=r[o],f,s,c=10;for(a<u&&(s=u,u=a,a=s,s=i,i=o,o=s);c-- >0;){if(s=Dt(u,a,e),s===f)return r[i]=u,r[o]=a,n(r);if(s>0)u=Math.floor(u/s)*s,a=Math.ceil(a/s)*s;else if(s<0)u=Math.ceil(u*s)/s,a=Math.floor(a*s)/s;else break;f=s}return t},t}function Yu(){var t=zu();return t.copy=function(){return Xu(t,Yu())},Fu.apply(t,arguments),Vu(t)}function B(t,n,e){this.k=t,this.x=n,this.y=e}B.prototype={constructor:B,scale:function(t){return t===1?this:new B(this.k*t,this.x,this.y)},translate:function(t,n){return t===0&n===0?this:new B(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 B(1,0,0);B.prototype;export{ae as h,Gu as i,Yu as l,Uu as m,Bu as s};