All Downloads are FREE. Search and download functionalities are using the official Maven repository.

@kie-tools.dashbuilder-client.dist.dashbuilder.component.map.index.js Maven / Gradle / Ivy

There is a newer version: 0.32.0
Show newest version
/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={4389:(e,t,n)=>{"use strict";n.r(t),n.d(t,{geoAlbers:()=>wr,geoAlbersUsa:()=>kr,geoArea:()=>oe,geoAzimuthalEqualArea:()=>xr,geoAzimuthalEqualAreaRaw:()=>Sr,geoAzimuthalEquidistant:()=>Nr,geoAzimuthalEquidistantRaw:()=>Mr,geoBounds:()=>De,geoCentroid:()=>Xe,geoCircle:()=>lt,geoClipAntimeridian:()=>wt,geoClipCircle:()=>kt,geoClipExtent:()=>Pt,geoClipRectangle:()=>Ct,geoConicConformal:()=>Lr,geoConicConformalRaw:()=>zr,geoConicEqualArea:()=>br,geoConicEqualAreaRaw:()=>yr,geoConicEquidistant:()=>Ir,geoConicEquidistantRaw:()=>Ar,geoContains:()=>Wt,geoDistance:()=>It,geoEqualEarth:()=>Vr,geoEqualEarthRaw:()=>Zr,geoEquirectangular:()=>Rr,geoEquirectangularRaw:()=>jr,geoGnomonic:()=>Wr,geoGnomonicRaw:()=>qr,geoGraticule:()=>Yt,geoGraticule10:()=>Xt,geoIdentity:()=>Hr,geoInterpolate:()=>Kt,geoLength:()=>jt,geoMercator:()=>Pr,geoMercatorRaw:()=>Cr,geoNaturalEarth1:()=>Gr,geoNaturalEarth1Raw:()=>Qr,geoOrthographic:()=>Xr,geoOrthographicRaw:()=>Yr,geoPath:()=>nr,geoProjection:()=>gr,geoProjectionMutator:()=>mr,geoRotation:()=>it,geoStereographic:()=>Jr,geoStereographicRaw:()=>Kr,geoStream:()=>j,geoTransform:()=>rr,geoTransverseMercator:()=>to,geoTransverseMercatorRaw:()=>eo});class r{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let n=0;for(let r=0;r0){for(i=e[--o];o>0&&(t=i,n=e[--o],i=t+n,r=n-(i-t),!r););o>0&&(r<0&&e[o-1]<0||r>0&&e[o-1]>0)&&(n=2*r,t=i+n,n==t-i&&(i=t))}return i}}var o=1e-6,i=1e-12,a=Math.PI,u=a/2,l=a/4,s=2*a,c=180/a,f=a/180,d=Math.abs,p=Math.atan,h=Math.atan2,g=Math.cos,m=Math.ceil,v=Math.exp,y=(Math.floor,Math.hypot),b=Math.log,w=Math.pow,k=Math.sin,_=Math.sign||function(e){return e>0?1:e<0?-1:0},E=Math.sqrt,S=Math.tan;function x(e){return e>1?0:e<-1?a:Math.acos(e)}function M(e){return e>1?u:e<-1?-u:Math.asin(e)}function N(e){return(e=k(e/2))*e}function C(){}function P(e,t){e&&T.hasOwnProperty(e.type)&&T[e.type](e,t)}var O={Feature:function(e,t){P(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r=0?1:-1,o=r*n,i=g(t=(t*=f)/2+l),a=k(t),u=D*a,s=F*i+u*g(o),c=u*r*k(o);X.add(h(c,s)),I=e,F=i,D=a}function oe(e){return K=new r,j(e,J),2*K}function ie(e){return[h(e[1],e[0]),M(e[2])]}function ae(e){var t=e[0],n=e[1],r=g(n);return[r*g(t),r*k(t),k(n)]}function ue(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function le(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function se(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function ce(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function fe(e){var t=E(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var de,pe,he,ge,me,ve,ye,be,we,ke,_e,Ee,Se,xe,Me,Ne,Ce={point:Pe,lineStart:Te,lineEnd:ze,polygonStart:function(){Ce.point=Le,Ce.lineStart=je,Ce.lineEnd=Re,Q=new r,J.polygonStart()},polygonEnd:function(){J.polygonEnd(),Ce.point=Pe,Ce.lineStart=Te,Ce.lineEnd=ze,X<0?(U=-($=180),B=-(Z=90)):Q>o?Z=90:Q<-o&&(B=-90),Y[0]=U,Y[1]=$},sphere:function(){U=-($=180),B=-(Z=90)}};function Pe(e,t){G.push(Y=[U=e,$=e]),tZ&&(Z=t)}function Oe(e,t){var n=ae([e*f,t*f]);if(H){var r=le(H,n),o=le([r[1],-r[0],0],r);fe(o),o=ie(o);var i,a=e-V,u=a>0?1:-1,l=o[0]*c*u,s=d(a)>180;s^(u*VZ&&(Z=i):s^(u*V<(l=(l+360)%360-180)&&lZ&&(Z=t)),s?eAe(U,$)&&($=e):Ae(e,$)>Ae(U,$)&&(U=e):$>=U?(e$&&($=e)):e>V?Ae(U,e)>Ae(U,$)&&($=e):Ae(e,$)>Ae(U,$)&&(U=e)}else G.push(Y=[U=e,$=e]);tZ&&(Z=t),H=n,V=e}function Te(){Ce.point=Oe}function ze(){Y[0]=U,Y[1]=$,Ce.point=Pe,H=null}function Le(e,t){if(H){var n=e-V;Q.add(d(n)>180?n+(n>0?360:-360):n)}else q=e,W=t;J.point(e,t),Oe(e,t)}function je(){J.lineStart()}function Re(){Le(q,W),J.lineEnd(),d(Q)>o&&(U=-($=180)),Y[0]=U,Y[1]=$,H=null}function Ae(e,t){return(t-=e)<0?t+360:t}function Ie(e,t){return e[0]-t[0]}function Fe(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tAe(r[0],r[1])&&(r[1]=o[1]),Ae(o[0],r[1])>Ae(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,t=0,r=i[n=i.length-1];t<=n;r=o,++t)o=i[t],(u=Ae(r[1],o[0]))>a&&(a=u,U=o[0],$=r[1])}return G=Y=null,U===1/0||B===1/0?[[NaN,NaN],[NaN,NaN]]:[[U,B],[$,Z]]}var Ue={sphere:C,point:Be,lineStart:Ze,lineEnd:We,polygonStart:function(){Ue.lineStart=He,Ue.lineEnd=Qe},polygonEnd:function(){Ue.lineStart=Ze,Ue.lineEnd=We}};function Be(e,t){e*=f;var n=g(t*=f);$e(n*g(e),n*k(e),k(t))}function $e(e,t,n){++de,he+=(e-he)/de,ge+=(t-ge)/de,me+=(n-me)/de}function Ze(){Ue.point=Ve}function Ve(e,t){e*=f;var n=g(t*=f);xe=n*g(e),Me=n*k(e),Ne=k(t),Ue.point=qe,$e(xe,Me,Ne)}function qe(e,t){e*=f;var n=g(t*=f),r=n*g(e),o=n*k(e),i=k(t),a=h(E((a=Me*i-Ne*o)*a+(a=Ne*r-xe*i)*a+(a=xe*o-Me*r)*a),xe*r+Me*o+Ne*i);pe+=a,ve+=a*(xe+(xe=r)),ye+=a*(Me+(Me=o)),be+=a*(Ne+(Ne=i)),$e(xe,Me,Ne)}function We(){Ue.point=Be}function He(){Ue.point=Ge}function Qe(){Ye(Ee,Se),Ue.point=Be}function Ge(e,t){Ee=e,Se=t,e*=f,t*=f,Ue.point=Ye;var n=g(t);xe=n*g(e),Me=n*k(e),Ne=k(t),$e(xe,Me,Ne)}function Ye(e,t){e*=f;var n=g(t*=f),r=n*g(e),o=n*k(e),i=k(t),a=Me*i-Ne*o,u=Ne*r-xe*i,l=xe*o-Me*r,s=y(a,u,l),c=M(s),d=s&&-c/s;we.add(d*a),ke.add(d*u),_e.add(d*l),pe+=c,ve+=c*(xe+(xe=r)),ye+=c*(Me+(Me=o)),be+=c*(Ne+(Ne=i)),$e(xe,Me,Ne)}function Xe(e){de=pe=he=ge=me=ve=ye=be=0,we=new r,ke=new r,_e=new r,j(e,Ue);var t=+we,n=+ke,a=+_e,u=y(t,n,a);return ua?e+Math.round(-e/s)*s:e,t]}function tt(e,t,n){return(e%=s)?t||n?Je(rt(e),ot(t,n)):rt(e):t||n?ot(t,n):et}function nt(e){return function(t,n){return[(t+=e)>a?t-s:t<-a?t+s:t,n]}}function rt(e){var t=nt(e);return t.invert=nt(-e),t}function ot(e,t){var n=g(e),r=k(e),o=g(t),i=k(t);function a(e,t){var a=g(t),u=g(e)*a,l=k(e)*a,s=k(t),c=s*n+u*r;return[h(l*o-c*i,u*n-s*r),M(c*o+l*i)]}return a.invert=function(e,t){var a=g(t),u=g(e)*a,l=k(e)*a,s=k(t),c=s*o-l*i;return[h(l*o+s*i,u*n+c*r),M(c*n-u*r)]},a}function it(e){function t(t){return(t=e(t[0]*f,t[1]*f))[0]*=c,t[1]*=c,t}return e=tt(e[0]*f,e[1]*f,e.length>2?e[2]*f:0),t.invert=function(t){return(t=e.invert(t[0]*f,t[1]*f))[0]*=c,t[1]*=c,t},t}function at(e,t,n,r,o,i){if(n){var a=g(t),u=k(t),l=r*n;null==o?(o=t+r*s,i=t-l/2):(o=ut(a,o),i=ut(a,i),(r>0?oi)&&(o+=r*s));for(var c,f=o;r>0?f>i:f1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function ct(e,t){return d(e[0]-t[0])=0;--i)o.point((c=s[i])[0],c[1]);else r(d.x,d.p.x,-1,o);d=d.p}s=(d=d.o).z,p=!p}while(!d.v);o.lineEnd()}}}function pt(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r=0?1:-1,A=R*j,I=A>a,F=x*z;if(m.add(h(F*R*k(A),N*L+F*g(A))),d+=I?j+R*s:j,I^E>=n^O>=n){var D=le(ae(_),ae(P));fe(D);var U=le(f,D);fe(U);var B=(I^j>=0?-1:1)*M(U[2]);(i>B||i===B&&(D[0]||D[1]))&&(p+=I^j>=0?1:-1)}}return(d<-o||d0){for(f||(o.polygonStart(),f=!0),o.lineStart(),e=0;e1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(yt))}return d}}function yt(e){return e.length>1}function bt(e,t){return((e=e.x)[0]<0?e[1]-u-o:u-e[1])-((t=t.x)[0]<0?t[1]-u-o:u-t[1])}et.invert=et;const wt=vt((function(){return!0}),(function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(l,s){var c=l>0?a:-a,f=d(l-n);d(f-a)0?u:-u),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(c,r),e.point(l,r),t=0):i!==c&&f>=a&&(d(n-i)o?p((k(t)*(a=g(r))*k(n)-k(r)*(i=g(t))*k(e))/(i*a*u)):(t+r)/2}(n,r,l,s),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(c,r),t=0),e.point(n=l,r=s),i=c},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var i;if(null==e)i=n*u,r.point(-a,i),r.point(0,i),r.point(a,i),r.point(a,0),r.point(a,-i),r.point(0,-i),r.point(-a,-i),r.point(-a,0),r.point(-a,i);else if(d(e[0]-t[0])>o){var l=e[0]0,i=d(t)>o;function u(e,n){return g(e)*g(n)>t}function l(e,n,r){var i=[1,0,0],u=le(ae(e),ae(n)),l=ue(u,u),s=u[0],c=l-s*s;if(!c)return!r&&e;var f=t*l/c,p=-t*s/c,h=le(i,u),g=ce(i,f);se(g,ce(u,p));var m=h,v=ue(g,m),y=ue(m,m),b=v*v-y*(ue(g,g)-1);if(!(b<0)){var w=E(b),k=ce(m,(-v-w)/y);if(se(k,g),k=ie(k),!r)return k;var _,S=e[0],x=n[0],M=e[1],N=n[1];x0^k[1]<(d(k[0]-S)a^(S<=k[0]&&k[0]<=x)){var O=ce(m,(-v+w)/y);return se(O,g),[k,ie(O)]}}}function s(t,n){var o=r?e:a-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return vt(u,(function(e){var t,n,o,c,f;return{lineStart:function(){c=o=!1,f=1},point:function(d,p){var h,g=[d,p],m=u(d,p),v=r?m?0:s(d,p):m?s(d+(d<0?a:-a),p):0;if(!t&&(c=o=m)&&e.lineStart(),m!==o&&(!(h=l(t,g))||ct(t,h)||ct(g,h))&&(g[2]=1),m!==o)f=0,m?(e.lineStart(),h=l(g,t),e.point(h[0],h[1])):(h=l(t,g),e.point(h[0],h[1],2),e.lineEnd()),t=h;else if(i&&t&&r^m){var y;v&n||!(y=l(g,t,!0))||(f=0,r?(e.lineStart(),e.point(y[0][0],y[0][1]),e.point(y[1][0],y[1][1]),e.lineEnd()):(e.point(y[1][0],y[1][1]),e.lineEnd(),e.lineStart(),e.point(y[0][0],y[0][1],3)))}!m||t&&ct(t,g)||e.point(g[0],g[1]),t=g,o=m,n=v},lineEnd:function(){o&&e.lineEnd(),t=null},clean:function(){return f|(c&&o)<<1}}}),(function(t,r,o,i){at(i,e,n,o,t,r)}),r?[0,-e]:[-a,e-a])}var _t,Et,St,xt,Mt=1e9,Nt=-Mt;function Ct(e,t,n,r){function i(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function a(o,i,a,l){var c=0,f=0;if(null==o||(c=u(o,a))!==(f=u(i,a))||s(o,i)<0^a>0)do{l.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+a+4)%4)!==f);else l.point(i[0],i[1])}function u(r,i){return d(r[0]-e)0?0:3:d(r[0]-n)0?2:1:d(r[1]-t)0?1:0:i>0?3:2}function l(e,t){return s(e.x,t.x)}function s(e,t){var n=u(e,1),r=u(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(o){var u,s,c,f,d,p,h,g,m,v,y,b=o,w=st(),k={point:_,lineStart:function(){k.point=E,s&&s.push(c=[]),v=!0,m=!1,h=g=NaN},lineEnd:function(){u&&(E(f,d),p&&m&&w.rejoin(),u.push(w.result())),k.point=_,m&&b.lineEnd()},polygonStart:function(){b=w,u=[],s=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=s.length;nr&&(d-i)*(r-a)>(p-a)*(e-i)&&++t:p<=r&&(d-i)*(r-a)<(p-a)*(e-i)&&--t;return t}(),n=y&&t,i=(u=mt(u)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&dt(u,l,t,a,o),o.polygonEnd()),b=o,u=s=c=null}};function _(e,t){i(e,t)&&b.point(e,t)}function E(o,a){var u=i(o,a);if(s&&c.push([o,a]),v)f=o,d=a,p=u,v=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&m)b.point(o,a);else{var l=[h=Math.max(Nt,Math.min(Mt,h)),g=Math.max(Nt,Math.min(Mt,g))],w=[o=Math.max(Nt,Math.min(Mt,o)),a=Math.max(Nt,Math.min(Mt,a))];!function(e,t,n,r,o,i){var a,u=e[0],l=e[1],s=0,c=1,f=t[0]-u,d=t[1]-l;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>c)return;a>s&&(s=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>c)return;a>s&&(s=a)}else if(f>0){if(a0)){if(a/=d,d<0){if(a0){if(a>c)return;a>s&&(s=a)}if(a=i-l,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>s&&(s=a)}else if(d>0){if(a0&&(e[0]=u+s*f,e[1]=l+s*d),c<1&&(t[0]=u+c*f,t[1]=l+c*d),!0}}}}}(l,w,e,t,n,r)?u&&(b.lineStart(),b.point(o,a),y=!1):(m||(b.lineStart(),b.point(l[0],l[1])),b.point(w[0],w[1]),u||b.lineEnd(),y=!1)}h=o,g=a,m=u}return k}}function Pt(){var e,t,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return e&&t===n?e:e=Ct(r,o,i,a)(t=n)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],e=t=null,n):[[r,o],[i,a]]}}}var Ot={sphere:C,point:C,lineStart:function(){Ot.point=zt,Ot.lineEnd=Tt},lineEnd:C,polygonStart:C,polygonEnd:C};function Tt(){Ot.point=Ot.lineEnd=C}function zt(e,t){Et=e*=f,St=k(t*=f),xt=g(t),Ot.point=Lt}function Lt(e,t){e*=f;var n=k(t*=f),r=g(t),o=d(e-Et),i=g(o),a=r*k(o),u=xt*n-St*r*i,l=St*n+xt*r*i;_t.add(h(E(a*a+u*u),l)),Et=e,St=n,xt=r}function jt(e){return _t=new r,j(e,Ot),+_t}var Rt=[null,null],At={type:"LineString",coordinates:Rt};function It(e,t){return Rt[0]=e,Rt[1]=t,jt(At)}var Ft={Feature:function(e,t){return Ut(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r0&&(o=It(e[a],e[a-1]))>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))o})).map(s)).concat(Ht(m(a/g)*g,i,g).filter((function(e){return d(e%y)>o})).map(c))}return w.lines=function(){return k().map((function(e){return{type:"LineString",coordinates:e}}))},w.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(p(u).slice(1),f(n).reverse().slice(1),p(l).reverse().slice(1))]}},w.extent=function(e){return arguments.length?w.extentMajor(e).extentMinor(e):w.extentMinor()},w.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],l=+e[0][1],u=+e[1][1],r>n&&(e=r,r=n,n=e),l>u&&(e=l,l=u,u=e),w.precision(b)):[[r,l],[n,u]]},w.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],a=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),a>i&&(n=a,a=i,i=n),w.precision(b)):[[t,a],[e,i]]},w.step=function(e){return arguments.length?w.stepMajor(e).stepMinor(e):w.stepMinor()},w.stepMajor=function(e){return arguments.length?(v=+e[0],y=+e[1],w):[v,y]},w.stepMinor=function(e){return arguments.length?(h=+e[0],g=+e[1],w):[h,g]},w.precision=function(o){return arguments.length?(b=+o,s=Qt(a,i,90),c=Gt(t,e,b),f=Qt(l,u,90),p=Gt(r,n,b),w):b},w.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Xt(){return Yt()()}function Kt(e,t){var n=e[0]*f,r=e[1]*f,o=t[0]*f,i=t[1]*f,a=g(r),u=k(r),l=g(i),s=k(i),d=a*g(n),p=a*k(n),m=l*g(o),v=l*k(o),y=2*M(E(N(i-r)+a*l*N(o-n))),b=k(y),w=y?function(e){var t=k(e*=y)/b,n=k(y-e)/b,r=n*d+t*m,o=n*p+t*v,i=n*u+t*s;return[h(o,r)*c,h(i,E(r*r+o*o))*c]}:function(){return[n*c,r*c]};return w.distance=y,w}const Jt=e=>e;var en,tn,nn,rn,on=new r,an=new r,un={point:C,lineStart:C,lineEnd:C,polygonStart:function(){un.lineStart=ln,un.lineEnd=fn},polygonEnd:function(){un.lineStart=un.lineEnd=un.point=C,on.add(d(an)),an=new r},result:function(){var e=on/2;return on=new r,e}};function ln(){un.point=sn}function sn(e,t){un.point=cn,en=nn=e,tn=rn=t}function cn(e,t){an.add(rn*e-nn*t),nn=e,rn=t}function fn(){cn(en,tn)}const dn=un;var pn=1/0,hn=pn,gn=-pn,mn=gn,vn={point:function(e,t){egn&&(gn=e),tmn&&(mn=t)},lineStart:C,lineEnd:C,polygonStart:C,polygonEnd:C,result:function(){var e=[[pn,hn],[gn,mn]];return gn=mn=-(hn=pn=1/0),e}};const yn=vn;var bn,wn,kn,_n,En=0,Sn=0,xn=0,Mn=0,Nn=0,Cn=0,Pn=0,On=0,Tn=0,zn={point:Ln,lineStart:jn,lineEnd:In,polygonStart:function(){zn.lineStart=Fn,zn.lineEnd=Dn},polygonEnd:function(){zn.point=Ln,zn.lineStart=jn,zn.lineEnd=In},result:function(){var e=Tn?[Pn/Tn,On/Tn]:Cn?[Mn/Cn,Nn/Cn]:xn?[En/xn,Sn/xn]:[NaN,NaN];return En=Sn=xn=Mn=Nn=Cn=Pn=On=Tn=0,e}};function Ln(e,t){En+=e,Sn+=t,++xn}function jn(){zn.point=Rn}function Rn(e,t){zn.point=An,Ln(kn=e,_n=t)}function An(e,t){var n=e-kn,r=t-_n,o=E(n*n+r*r);Mn+=o*(kn+e)/2,Nn+=o*(_n+t)/2,Cn+=o,Ln(kn=e,_n=t)}function In(){zn.point=Ln}function Fn(){zn.point=Un}function Dn(){Bn(bn,wn)}function Un(e,t){zn.point=Bn,Ln(bn=kn=e,wn=_n=t)}function Bn(e,t){var n=e-kn,r=t-_n,o=E(n*n+r*r);Mn+=o*(kn+e)/2,Nn+=o*(_n+t)/2,Cn+=o,Pn+=(o=_n*e-kn*t)*(kn+e),On+=o*(_n+t),Tn+=3*o,Ln(kn=e,_n=t)}const $n=zn;function Zn(e){this._context=e}Zn.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,s)}},result:C};var Vn,qn,Wn,Hn,Qn,Gn=new r,Yn={point:C,lineStart:function(){Yn.point=Xn},lineEnd:function(){Vn&&Kn(qn,Wn),Yn.point=C},polygonStart:function(){Vn=!0},polygonEnd:function(){Vn=null},result:function(){var e=+Gn;return Gn=new r,e}};function Xn(e,t){Yn.point=Kn,qn=Hn=e,Wn=Qn=t}function Kn(e,t){Hn-=e,Qn-=t,Gn.add(E(Hn*Hn+Qn*Qn)),Hn=e,Qn=t}const Jn=Yn;function er(){this._string=[]}function tr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function nr(e,t){var n,r,o=4.5;function i(e){return e&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),j(e,n(r))),r.result()}return i.area=function(e){return j(e,n(dn)),dn.result()},i.measure=function(e){return j(e,n(Jn)),Jn.result()},i.bounds=function(e){return j(e,n(yn)),yn.result()},i.centroid=function(e){return j(e,n($n)),$n.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,Jt):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new er):new Zn(t=e),"function"!=typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)}function rr(e){return{stream:or(e)}}function or(e){return function(t){var n=new ir;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ir(){}function ar(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),j(n,e.stream(yn)),t(yn.result()),null!=r&&e.clipExtent(r),e}function ur(e,t,n){return ar(e,(function(n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),a=+t[0][0]+(r-i*(n[1][0]+n[0][0]))/2,u=+t[0][1]+(o-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,u])}),n)}function lr(e,t,n){return ur(e,[[0,0],t],n)}function sr(e,t,n){return ar(e,(function(n){var r=+t,o=r/(n[1][0]-n[0][0]),i=(r-o*(n[1][0]+n[0][0]))/2,a=-o*n[0][1];e.scale(150*o).translate([i,a])}),n)}function cr(e,t,n){return ar(e,(function(n){var r=+t,o=r/(n[1][1]-n[0][1]),i=-o*n[0][0],a=(r-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([i,a])}),n)}er.prototype={_radius:4.5,_circle:tr(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=tr(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}},ir.prototype={constructor:ir,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var fr=g(30*f);function dr(e,t){return+t?function(e,t){function n(r,i,a,u,l,s,c,f,p,g,m,v,y,b){var w=c-r,k=f-i,_=w*w+k*k;if(_>4*t&&y--){var S=u+g,x=l+m,N=s+v,C=E(S*S+x*x+N*N),P=M(N/=C),O=d(d(N)-1)t||d((w*j+k*R)/_-.5)>.3||u*g+l*m+s*v2?e[2]%360*f:0,z()):[y*c,b*c,w*c]},O.angle=function(e){return arguments.length?(k=e%360*f,z()):k*c},O.reflectX=function(e){return arguments.length?(_=e?-1:1,z()):_<0},O.reflectY=function(e){return arguments.length?(S=e?-1:1,z()):S<0},O.precision=function(e){return arguments.length?(a=dr(u,P=e*e),L()):E(P)},O.fitExtent=function(e,t){return ur(O,e,t)},O.fitSize=function(e,t){return lr(O,e,t)},O.fitWidth=function(e,t){return sr(O,e,t)},O.fitHeight=function(e,t){return cr(O,e,t)},function(){return t=e.apply(this,arguments),O.invert=t.invert&&T,z()}}function vr(e){var t=0,n=a/3,r=mr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*f,n=e[1]*f):[t*c,n*c]},o}function yr(e,t){var n=k(e),r=(n+k(t))/2;if(d(r)=.12&&o<.234&&r>=-.425&&r<-.214?l:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:u).invert(e)},f.stream=function(n){return e&&t===n?e:(r=[u.stream(t=n),l.stream(n),s.stream(n)],o=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-u+o&&(t=-u+o):t>u-o&&(t=u-o);var n=i/w(Tr(t),r);return[n*k(r*e),i-n*g(r*e)]}return l.invert=function(e,t){var n=i-t,o=_(r)*E(e*e+n*n),l=h(e,d(n))*_(n);return n*r<0&&(l-=a*_(e)*_(n)),[l/r,2*p(w(i/o,1/r))-u]},l}function Lr(){return vr(zr).scale(109.5).parallels([30,30])}function jr(e,t){return[e,t]}function Rr(){return gr(jr).scale(152.63)}function Ar(e,t){var n=g(e),r=e===t?k(e):(n-g(t))/(t-e),i=n/r+e;if(d(r)2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}Zr.invert=function(e,t){for(var n,r=t,o=r*r,a=o*o*o,u=0;u<12&&(a=(o=(r-=n=(r*(Fr+Dr*o+a*(Ur+Br*o))-t)/(Fr+3*Dr*o+a*(7*Ur+9*Br*o)))*r)*o*o,!(d(n)o&&--i>0);return[e/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},Yr.invert=Er(M),Kr.invert=Er((function(e){return 2*p(e)})),eo.invert=function(e,t){return[-t,2*p(v(e))-u]}},2032:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{Z:()=>r})},8076:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1748),o=n(5285);function i(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===o.P&&t.documentElement.namespaceURI===o.P?t.createElement(e):t.createElementNS(n,e)}}function a(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function u(e){var t=(0,r.Z)(e);return(t.local?a:i)(t)}},6360:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create:()=>i,creator:()=>r.Z,local:()=>u,matcher:()=>s.Z,namespace:()=>c.Z,namespaces:()=>f.Z,pointer:()=>d.Z,pointers:()=>h,select:()=>o.Z,selectAll:()=>v,selection:()=>m.ZP,selector:()=>y.Z,selectorAll:()=>b.Z,style:()=>w.S,window:()=>k.Z});var r=n(8076),o=n(6576);function i(e){return(0,o.Z)((0,r.Z)(e).call(document.documentElement))}var a=0;function u(){return new l}function l(){this._="@"+(++a).toString(36)}l.prototype=u.prototype={constructor:l,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._}};var s=n(74),c=n(1748),f=n(5285),d=n(3347),p=n(8780);function h(e,t){return e.target&&(e=(0,p.Z)(e),void 0===t&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,(e=>(0,d.Z)(e,t)))}var g=n(2032),m=n(5433);function v(e){return"string"==typeof e?new m.Y1([document.querySelectorAll(e)],[document.documentElement]):new m.Y1([null==e?[]:(0,g.Z)(e)],m.Jz)}var y=n(6339),b=n(5460),w=n(9123),k=n(9921)},74:(e,t,n)=>{"use strict";function r(e){return function(){return this.matches(e)}}function o(e){return function(t){return t.matches(e)}}n.d(t,{P:()=>o,Z:()=>r})},1748:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5285);function o(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),r.Z.hasOwnProperty(t)?{space:r.Z[t],local:e}:e}},5285:(e,t,n)=>{"use strict";n.d(t,{P:()=>r,Z:()=>o});var r="http://www.w3.org/1999/xhtml";const o={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},3347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8780);function o(e,t){if(e=(0,r.Z)(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var o=n.createSVGPoint();return o.x=e.clientX,o.y=e.clientY,[(o=o.matrixTransform(t.getScreenCTM().inverse())).x,o.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]}},6576:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5433);function o(e){return"string"==typeof e?new r.Y1([[document.querySelector(e)]],[document.documentElement]):new r.Y1([[e]],r.Jz)}},5433:(e,t,n)=>{"use strict";n.d(t,{Y1:()=>oe,ZP:()=>ae,Jz:()=>re});var r=n(6339),o=n(2032),i=n(5460),a=n(74),u=Array.prototype.find;function l(){return this.firstElementChild}var s=Array.prototype.filter;function c(){return this.children}function f(e){return new Array(e.length)}function d(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function p(e){return function(){return e}}function h(e,t,n,r,o,i){for(var a,u=0,l=t.length,s=i.length;ut?1:e>=t?0:NaN}d.prototype={constructor:d,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)}};var y=n(1748);function b(e){return function(){this.removeAttribute(e)}}function w(e){return function(){this.removeAttributeNS(e.space,e.local)}}function k(e,t){return function(){this.setAttribute(e,t)}}function _(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function E(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function S(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}var x=n(9123);function M(e){return function(){delete this[e]}}function N(e,t){return function(){this[e]=t}}function C(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function P(e){return e.trim().split(/^|\s+/)}function O(e){return e.classList||new T(e)}function T(e){this._node=e,this._names=P(e.getAttribute("class")||"")}function z(e,t){for(var n=O(e),r=-1,o=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var q=n(8076);function W(){return null}function H(){var e=this.parentNode;e&&e.removeChild(this)}function Q(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function G(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Y(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 X(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;r=M&&(M=x+1);!(S=k[M])&&++M=0;)(r=o[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=v);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i1?this.each((null==t?M:"function"==typeof t?C:N)(e,t)):this.node()[e]},classed:function(e,t){var n=P(e+"");if(arguments.length<2){for(var r=O(this.node()),o=-1,i=n.length;++o{"use strict";n.d(t,{S:()=>l,Z:()=>u});var r=n(9921);function o(e){return function(){this.style.removeProperty(e)}}function i(e,t,n){return function(){this.style.setProperty(e,t,n)}}function a(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function u(e,t,n){return arguments.length>1?this.each((null==t?o:"function"==typeof t?a:i)(e,t,null==n?"":n)):l(this.node(),e)}function l(e,t){return e.style.getPropertyValue(t)||(0,r.Z)(e).getComputedStyle(e,null).getPropertyValue(t)}},6339:(e,t,n)=>{"use strict";function r(){}function o(e){return null==e?r:function(){return this.querySelector(e)}}n.d(t,{Z:()=>o})},5460:(e,t,n)=>{"use strict";function r(){return[]}function o(e){return null==e?r:function(){return this.querySelectorAll(e)}}n.d(t,{Z:()=>o})},8780:(e,t,n)=>{"use strict";function r(e){let t;for(;t=e.sourceEvent;)e=t;return e}n.d(t,{Z:()=>r})},9921:(e,t,n)=>{"use strict";function r(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}n.d(t,{Z:()=>r})},2381:(e,t,n)=>{"use strict";n.r(t),n.d(t,{zoom:()=>At,zoomIdentity:()=>Mt,zoomTransform:()=>Nt});var r={value:function(){}};function o(){for(var e,t=0,n=arguments.length,r={};t=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function u(e,t){for(var n,r=0,o=e.length;r0)for(var n,r,o=new Array(n),i=0;i=0&&t._call.call(null,e),t=t._next;--k}()}finally{k=0,function(){for(var e,t,n=v,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:v=t);y=e,R(r)}(),x=0}}function j(){var e=N.now(),t=e-S;t>1e3&&(M-=t,S=e)}function R(e){k||(_&&(_=clearTimeout(_)),e-x>24?(e<1/0&&(_=setTimeout(L,e-N.now()-M)),E&&(E=clearInterval(E))):(E||(S=N.now(),E=setInterval(j,1e3)),k=1,C(L)))}function A(e,t,n){var r=new T;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r}T.prototype=z.prototype={constructor:T,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?P():+n)+(null==t?0:+t),this._next||y===this||(y?y._next=this:v=this,y=this),this._call=e,this._time=n,R()},stop:function(){this._call&&(this._call=null,this._time=1/0,R())}};var I=s("start","end","cancel","interrupt"),F=[];function D(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function i(l){var s,c,f,d;if(1!==n.state)return u();for(s in o)if((d=o[s]).name===n.name){if(3===d.state)return A(i);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete o[s]):+s0)throw new Error("too late; already scheduled");return n}function B(e,t){var n=$(e,t);if(n.state>3)throw new Error("too late; already running");return n}function $(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Z(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i)(n=i[o]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete i[o]):a=!1;a&&delete e.__transition}}function V(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var q,W,H,Q,G=180/Math.PI,Y={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function X(e,t,n,r,o,i){var a,u,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,l/=u),e*r180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:V(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,u,l),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:V(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,u,l),function(e,t,n,r,i,a){if(e!==n||t!==r){var u=i.push(o(i)+"scale(",null,",",null,")");a.push({i:u-4,x:V(e,n)},{i:u-2,x:V(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,u,l),i=a=null,function(e){for(var t,n=-1,r=l.length;++n>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?xe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?xe(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=he.exec(e))?new Ce(t[1],t[2],t[3],1):(t=ge.exec(e))?new Ce(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=me.exec(e))?xe(t[1],t[2],t[3],t[4]):(t=ve.exec(e))?xe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ye.exec(e))?ze(t[1],t[2]/100,t[3]/100,1):(t=be.exec(e))?ze(t[1],t[2]/100,t[3]/100,t[4]):we.hasOwnProperty(e)?Se(we[e]):"transparent"===e?new Ce(NaN,NaN,NaN,0):null}function Se(e){return new Ce(e>>16&255,e>>8&255,255&e,1)}function xe(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ce(e,t,n,r)}function Me(e){return e instanceof ue||(e=Ee(e)),e?new Ce((e=e.rgb()).r,e.g,e.b,e.opacity):new Ce}function Ne(e,t,n,r){return 1===arguments.length?Me(e):new Ce(e,t,n,null==r?1:r)}function Ce(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Pe(){return"#"+Te(this.r)+Te(this.g)+Te(this.b)}function Oe(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Te(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ze(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new je(e,t,n,r)}function Le(e){if(e instanceof je)return new je(e.h,e.s,e.l,e.opacity);if(e instanceof ue||(e=Ee(e)),!e)return new je;if(e instanceof je)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,l=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n0&&l<1?0:a,new je(a,u,l,e.opacity)}function je(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Re(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Ae(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}function Ie(e){return function(){return e}}function Fe(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Ie(isNaN(e)?t:e)}ie(ue,Ee,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ke,formatHex:ke,formatHsl:function(){return Le(this).formatHsl()},formatRgb:_e,toString:_e}),ie(Ce,Ne,ae(ue,{brighter:function(e){return e=null==e?se:Math.pow(se,e),new Ce(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?le:Math.pow(le,e),new Ce(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatRgb:Oe,toString:Oe})),ie(je,(function(e,t,n,r){return 1===arguments.length?Le(e):new je(e,t,n,null==r?1:r)}),ae(ue,{brighter:function(e){return e=null==e?se:Math.pow(se,e),new je(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?le:Math.pow(le,e),new je(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ce(Re(e>=240?e-240:e+120,o,r),Re(e,o,r),Re(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const De=function e(t){var n=function(e){return 1==(e=+e)?Fe:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ie(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Ne(e)).r,(t=Ne(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Fe(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Ue(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=ri&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,l.push({i:a,x:V(n,r)})),i=$e.lastIndex;return i=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?U:B;return function(){var a=i(this,e),u=a.on;u!==r&&(o=(r=u).copy()).on(t,n),a.on=o}}var lt=n(6339),st=n(5460),ct=w.ZP.prototype.constructor,ft=n(9123);function dt(e){return function(){this.style.removeProperty(e)}}function pt(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function ht(e,t,n){var r,o;function i(){var i=t.apply(this,arguments);return i!==o&&(r=(o=i)&&pt(e,i,n)),r}return i._value=t,i}function gt(e){return function(t){this.textContent=e.call(this,t)}}function mt(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&>(r)),t}return r._value=e,r}var vt=0;function yt(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function bt(){return++vt}var wt=w.ZP.prototype;yt.prototype=function(e){return(0,w.ZP)().transition(e)}.prototype={constructor:yt,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,lt.Z)(e));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a()=>e;function St(e,{sourceEvent:t,target:n,transform:r,dispatch:o}){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:o}})}function xt(e,t,n){this.k=e,this.x=t,this.y=n}xt.prototype={constructor:xt,scale:function(e){return 1===e?this:new xt(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new xt(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+")"}};var Mt=new xt(1,0,0);function Nt(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Mt;return e.__zoom}function Ct(e){e.stopImmediatePropagation()}function Pt(e){e.preventDefault(),e.stopImmediatePropagation()}function Ot(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function Tt(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).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 zt(){return this.__zoom||Mt}function Lt(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function jt(){return navigator.maxTouchPoints||"ontouchstart"in this}function Rt(e,t,n){var r=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}function At(){var e,t,n,r=Ot,o=Tt,i=Rt,a=Lt,u=jt,l=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],h=250,g=m,v=s("start","zoom","end"),y=500,w=0,k=10;function _(e){e.property("__zoom",zt).on("wheel.zoom",P).on("mousedown.zoom",O).on("dblclick.zoom",T).filter(u).on("touchstart.zoom",z).on("touchmove.zoom",L).on("touchend.zoom touchcancel.zoom",j).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new xt(t,e.x,e.y)}function S(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new xt(e.k,r,o)}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function M(e,t,n,r){e.on("start.zoom",(function(){N(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){N(this,arguments).event(r).end()})).tween("zoom",(function(){var e=this,i=arguments,a=N(e,i).event(r),u=o.apply(e,i),l=null==n?x(u):"function"==typeof n?n.apply(e,i):n,s=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),c=e.__zoom,f="function"==typeof t?t.apply(e,i):t,d=g(c.invert(l).concat(s/c.k),f.invert(l).concat(s/f.k));return function(e){if(1===e)e=f;else{var t=d(e),n=s/t[2];e=new xt(n,l[0]-t[0]*n,l[1]-t[1]*n)}a.zoom(null,e)}}))}function N(e,t,n){return!n&&e.__zooming||new C(e,t)}function C(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=o.apply(e,t),this.taps=0}function P(e,...t){if(r.apply(this,arguments)){var n=N(this,t).event(e),o=this.__zoom,u=Math.max(l[0],Math.min(l[1],o.k*Math.pow(2,a.apply(this,arguments)))),s=(0,b.Z)(e);if(n.wheel)n.mouse[0][0]===s[0]&&n.mouse[0][1]===s[1]||(n.mouse[1]=o.invert(n.mouse[0]=s)),clearTimeout(n.wheel);else{if(o.k===u)return;n.mouse=[s,o.invert(s)],Z(this),n.start()}Pt(e),n.wheel=setTimeout(c,150),n.zoom("mouse",i(S(E(o,u),n.mouse[0],n.mouse[1]),n.extent,f))}function c(){n.wheel=null,n.end()}}function O(e,...t){if(!n&&r.apply(this,arguments)){var o=N(this,t,!0).event(e),a=(0,c.Z)(e.view).on("mousemove.zoom",g,!0).on("mouseup.zoom",m,!0),u=(0,b.Z)(e,l),l=e.currentTarget,s=e.clientX,h=e.clientY;d(e.view),Ct(e),o.mouse=[u,this.__zoom.invert(u)],Z(this),o.start()}function g(e){if(Pt(e),!o.moved){var t=e.clientX-s,n=e.clientY-h;o.moved=t*t+n*n>w}o.event(e).zoom("mouse",i(S(o.that.__zoom,o.mouse[0]=(0,b.Z)(e,l),o.mouse[1]),o.extent,f))}function m(e){a.on("mousemove.zoom mouseup.zoom",null),p(e.view,o.moved),Pt(e),o.event(e).end()}}function T(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=(0,b.Z)(e.changedTouches?e.changedTouches[0]:e,this),u=n.invert(a),l=n.k*(e.shiftKey?.5:2),s=i(S(E(n,l),a,u),o.apply(this,t),f);Pt(e),h>0?(0,c.Z)(this).transition().duration(h).call(M,s,a,e):(0,c.Z)(this).call(_.transform,s,a,e)}}function z(n,...o){if(r.apply(this,arguments)){var i,a,u,l,s=n.touches,c=s.length,f=N(this,o,n.changedTouches.length===c).event(n);for(Ct(n),a=0;a{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,u,l=o(e),s=1;s{"use strict";var r=n(5148);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},7862:(e,t,n)=>{e.exports=n(1772)()},5148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2340:(e,t,n)=>{"use strict";var r=n(9901),o=n(2458),i=n(6803);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n




© 2015 - 2024 Weber Informatics LLC | Privacy Policy