16)throw Error(u+w(e));if(!e.s)return new p(a);for(null==t?(l=!1,s=h):s=t,i=new p(.03125);e.abs().gte(.1);)e=e.times(i),d+=5;for(s+=Math.log(f(2,d))/Math.LN10*2+5|0,n=r=o=new p(a),p.precision=s;;){if(r=C(r.times(e),s),n=n.times(++c),y((i=o.plus(b(r,n,s))).d).slice(0,s)===y(o.d).slice(0,s)){for(;d--;)o=C(o.times(o),s);return p.precision=h,null==t?(l=!0,C(o,h)):o}o=i}}function w(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function k(e,t,n){if(t>e.LN10.sd())throw l=!0,n&&(e.precision=n),Error(s+"LN10 precision limit exceeded");return C(new e(e.LN10),t)}function S(e){for(var t="";e--;)t+="0";return t}function E(e,t){var n,r,o,i,c,u,d,f,p,h=1,m=e,g=m.d,v=m.constructor,x=v.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(a))return new v(0);if(null==t?(l=!1,f=x):f=t,m.eq(10))return null==t&&(l=!0),k(v,f);if(f+=10,v.precision=f,r=(n=y(g)).charAt(0),!(15e14>Math.abs(i=w(m))))return d=k(v,f+2,x).times(i+""),m=E(new v(r+"."+n.slice(1)),f-10).plus(d),v.precision=x,null==t?(l=!0,C(m,x)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=y((m=m.times(e)).d)).charAt(0),h++;for(i=w(m),r>1?(m=new v("0."+n),i++):m=new v(r+"."+n.slice(1)),u=c=m=b(m.minus(a),m.plus(a),f),p=C(m.times(m),f),o=3;;){if(c=C(c.times(p),f),y((d=u.plus(b(c,new v(o),f))).d).slice(0,f)===y(u.d).slice(0,f))return u=u.times(2),0!==i&&(u=u.plus(k(v,f+2,x).times(i+""))),u=b(u,new v(h),f),v.precision=x,null==t?(l=!0,C(u,x)):u;u=d,o+=2}}function O(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=d(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r {if(null==e&&(e=10),null==o&&(o=10===i?"s":","),"function"!=typeof o&&(i%1||null!=(o=eO(o)).precision||(o.trim=!0),o=a(o)),e===1/0)return o;let l=Math.max(1,i*e/r.ticks().length);return e=>{let r=e/n(Math.round(t(e)));return r*i0;--o)c[s++]=0;for(o=f.length;o>i;){if(c[--o]a(t[l],i);)++l;for(;a(t[s],i)>0;)--s}0===a(t[r],i)?e3(t,r,s):e3(t,++s,o),s<=n&&(r=s+1),n<=s&&(o=s-1)}return t})(e,a).subarray(0,a+1));return i+(e6(e.subarray(a+1))-i)*(o-a)}})(t,r/e))},r.copy=function(){return e(n).domain(t)},eS.O.apply(r,arguments)}},scaleSequentialSqrt:function(){return nY},scaleSequentialSymlog:function(){return function e(){var t=e$(nV());return t.copy=function(){return nX(t,e()).constant(t.constant())},eS.O.apply(t,arguments)}},scaleSqrt:function(){return e0},scaleSymlog:function(){return function e(){var t=e$(ew());return t.copy=function(){return ex(t,e()).constant(t.constant())},eS.o.apply(t,arguments)}},scaleThreshold:function(){return function e(){var t,n=[.5],r=[0,1],o=1;function a(e){return null!=e&&e<=e?r[O(n,e,0,o)]:t}return a.domain=function(e){return arguments.length?(o=Math.min((n=Array.from(e)).length,r.length-1),a):n.slice()},a.range=function(e){return arguments.length?(r=Array.from(e),o=Math.min(n.length,r.length-1),a):r.slice()},a.invertExtent=function(e){var t=r.indexOf(e);return[n[t-1],n[t]]},a.unknown=function(e){return arguments.length?(t=e,a):t},a.copy=function(){return e().domain(n).range(r).unknown(t)},eS.o.apply(a,arguments)}},scaleTime:function(){return nK},scaleUtc:function(){return n$},tickFormat:function(){return eI}});var d=n(55284);let f=Math.sqrt(50),p=Math.sqrt(10),h=Math.sqrt(2);function m(e,t,n){let r,o,a;let i=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(i)),s=i/Math.pow(10,l),c=s>=f?10:s>=p?5:s>=h?2:1;return(l<0?(r=Math.round(e*(a=Math.pow(10,-l)/c)),o=Math.round(t*a),r/a0;){if((o=v(s,c,n))===r)return a[i]=s,a[l]=c,t(a);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else if(o<0)s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o;else break;r=o}return e},e}function eD(){var e=ek();return e.copy=function(){return ex(e,eD())},eS.o.apply(e,arguments),eR(e)}function eL(e,t){e=e.slice();var n,r=0,o=e.length-1,a=e[r],i=e[o];return i-e(-t,n)}function eW(e){let t,n;let r=e(eZ,ez),o=r.domain,i=10;function l(){var a,l;return t=(a=i)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),e=>Math.log(e)/a),n=10===(l=i)?eH:l===Math.E?Math.exp:e=>Math.pow(l,e),o()[0]<0?(t=eq(t),n=eq(n),e(eB,eF)):e(eZ,ez),r}return r.base=function(e){return arguments.length?(i=+e,l()):i},r.domain=function(e){return arguments.length?(o(e),l()):o()},r.ticks=e=>{let r,a;let l=o(),s=l[0],c=l[l.length-1],u=c0){for(;d<=f;++d)for(r=1;rc)break;h.push(a)}}else for(;d<=f;++d)for(r=i-1;r>=1;--r)if(!((a=d>0?r/n(-d):r*n(d))c)break;h.push(a)}2*h.length