UNPKG

sui-explorer-local

Version:
1 lines 146 kB
import{R as k,G as q2,_ as K,c as E3,j,r as z1,u as M3,a as w3,b as x3,d as N3,e as R3,C as j3,T as s1,P as q1,N as A3,f as I3,g as L3,H as T3}from"./index-aa07e5e1.js";class a1{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const r=this._partials;let t=0;for(let o=0;o<this._n&&o<32;o++){const a=r[o],l=e+a,s=Math.abs(e)<Math.abs(a)?e-(l-a):a-(l-e);s&&(r[t++]=s),e=l}return r[t]=e,this._n=t+1,this}valueOf(){const e=this._partials;let r=this._n,t,o,a,l=0;if(r>0){for(l=e[--r];r>0&&(t=l,o=e[--r],l=t+o,a=o-(l-t),!a););r>0&&(a<0&&e[r-1]<0||a>0&&e[r-1]>0)&&(o=a*2,t=l+o,o==t-l&&(l=t))}return l}}function*G3(n){for(const e of n)yield*e}function W2(n){return Array.from(G3(n))}function f1(n,e,r){n=+n,e=+e,r=(o=arguments.length)<2?(e=n,n=0,1):o<3?1:+r;for(var t=-1,o=Math.max(0,Math.ceil((e-n)/r))|0,a=new Array(o);++t<o;)a[t]=n+t*r;return a}var N=1e-6,X2=1e-12,I=Math.PI,Z=I/2,S2=I/4,H=I*2,U=180/I,b=I/180,z=Math.abs,J2=Math.atan,u1=Math.atan2,$=Math.cos,A1=Math.ceil,O3=Math.exp,B3=Math.log,O=Math.sin,O1=Math.sign||function(n){return n>0?1:n<0?-1:0},X=Math.sqrt,z3=Math.tan;function F3(n){return n>1?0:n<-1?I:Math.acos(n)}function J(n){return n>1?Z:n<-1?-Z:Math.asin(n)}function q(){}function F1(n,e){n&&M2.hasOwnProperty(n.type)&&M2[n.type](n,e)}var E2={Feature:function(n,e){F1(n.geometry,e)},FeatureCollection:function(n,e){for(var r=n.features,t=-1,o=r.length;++t<o;)F1(r[t].geometry,e)}},M2={Sphere:function(n,e){e.sphere()},Point:function(n,e){n=n.coordinates,e.point(n[0],n[1],n[2])},MultiPoint:function(n,e){for(var r=n.coordinates,t=-1,o=r.length;++t<o;)n=r[t],e.point(n[0],n[1],n[2])},LineString:function(n,e){n2(n.coordinates,e,0)},MultiLineString:function(n,e){for(var r=n.coordinates,t=-1,o=r.length;++t<o;)n2(r[t],e,0)},Polygon:function(n,e){w2(n.coordinates,e)},MultiPolygon:function(n,e){for(var r=n.coordinates,t=-1,o=r.length;++t<o;)w2(r[t],e)},GeometryCollection:function(n,e){for(var r=n.geometries,t=-1,o=r.length;++t<o;)F1(r[t],e)}};function n2(n,e,r){var t=-1,o=n.length-r,a;for(e.lineStart();++t<o;)a=n[t],e.point(a[0],a[1],a[2]);e.lineEnd()}function w2(n,e){var r=-1,t=n.length;for(e.polygonStart();++r<t;)n2(n[r],e,1);e.polygonEnd()}function p1(n,e){n&&E2.hasOwnProperty(n.type)?E2[n.type](n,e):F1(n,e)}function e2(n){return[u1(n[1],n[0]),J(n[2])]}function d1(n){var e=n[0],r=n[1],t=$(r);return[t*$(e),t*O(e),O(r)]}function I1(n,e){return n[0]*e[0]+n[1]*e[1]+n[2]*e[2]}function $1(n,e){return[n[1]*e[2]-n[2]*e[1],n[2]*e[0]-n[0]*e[2],n[0]*e[1]-n[1]*e[0]]}function W1(n,e){n[0]+=e[0],n[1]+=e[1],n[2]+=e[2]}function L1(n,e){return[n[0]*e,n[1]*e,n[2]*e]}function t2(n){var e=X(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=e,n[1]/=e,n[2]/=e}function r2(n,e){function r(t,o){return t=n(t,o),e(t[0],t[1])}return n.invert&&e.invert&&(r.invert=function(t,o){return t=e.invert(t,o),t&&n.invert(t[0],t[1])}),r}function o2(n,e){return z(n)>I&&(n-=Math.round(n/H)*H),[n,e]}o2.invert=o2;function Q2(n,e,r){return(n%=H)?e||r?r2(N2(n),R2(e,r)):N2(n):e||r?R2(e,r):o2}function x2(n){return function(e,r){return e+=n,z(e)>I&&(e-=Math.round(e/H)*H),[e,r]}}function N2(n){var e=x2(n);return e.invert=x2(-n),e}function R2(n,e){var r=$(n),t=O(n),o=$(e),a=O(e);function l(s,d){var f=$(d),i=$(s)*f,u=O(s)*f,c=O(d),p=c*r+i*t;return[u1(u*o-p*a,i*r-c*t),J(p*o+u*a)]}return l.invert=function(s,d){var f=$(d),i=$(s)*f,u=O(s)*f,c=O(d),p=c*o-u*a;return[u1(u*o+c*a,i*r+p*t),J(p*r-i*t)]},l}function $3(n){n=Q2(n[0]*b,n[1]*b,n.length>2?n[2]*b:0);function e(r){return r=n(r[0]*b,r[1]*b),r[0]*=U,r[1]*=U,r}return e.invert=function(r){return r=n.invert(r[0]*b,r[1]*b),r[0]*=U,r[1]*=U,r},e}function b3(n,e,r,t,o,a){if(r){var l=$(e),s=O(e),d=t*r;o==null?(o=e+t*H,a=e-d/2):(o=j2(l,o),a=j2(l,a),(t>0?o<a:o>a)&&(o+=t*H));for(var f,i=o;t>0?i>a:i<a;i-=d)f=e2([l,-s*$(i),-s*O(i)]),n.point(f[0],f[1])}}function j2(n,e){e=d1(e),e[0]-=n,t2(e);var r=F3(-e[1]);return((-e[2]<0?-r:r)+H-N)%H}function _2(){var n=[],e;return{point:function(r,t,o){e.push([r,t,o])},lineStart:function(){n.push(e=[])},lineEnd:q,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var r=n;return n=[],e=null,r}}}function B1(n,e){return z(n[0]-e[0])<N&&z(n[1]-e[1])<N}function T1(n,e,r,t){this.x=n,this.z=e,this.o=r,this.e=t,this.v=!1,this.n=this.p=null}function n3(n,e,r,t,o){var a=[],l=[],s,d;if(n.forEach(function(y){if(!((v=y.length-1)<=0)){var v,m=y[0],C=y[v],E;if(B1(m,C)){if(!m[2]&&!C[2]){for(o.lineStart(),s=0;s<v;++s)o.point((m=y[s])[0],m[1]);o.lineEnd();return}C[0]+=2*N}a.push(E=new T1(m,y,null,!0)),l.push(E.o=new T1(m,null,E,!1)),a.push(E=new T1(C,y,null,!1)),l.push(E.o=new T1(C,null,E,!0))}}),!!a.length){for(l.sort(e),A2(a),A2(l),s=0,d=l.length;s<d;++s)l[s].e=r=!r;for(var f=a[0],i,u;;){for(var c=f,p=!0;c.v;)if((c=c.n)===f)return;i=c.z,o.lineStart();do{if(c.v=c.o.v=!0,c.e){if(p)for(s=0,d=i.length;s<d;++s)o.point((u=i[s])[0],u[1]);else t(c.x,c.n.x,1,o);c=c.n}else{if(p)for(i=c.p.z,s=i.length-1;s>=0;--s)o.point((u=i[s])[0],u[1]);else t(c.x,c.p.x,-1,o);c=c.p}c=c.o,i=c.z,p=!p}while(!c.v);o.lineEnd()}}}function A2(n){if(e=n.length){for(var e,r=0,t=n[0],o;++r<e;)t.n=o=n[r],o.p=t,t=o;t.n=o=n[0],o.p=t}}function X1(n){return z(n[0])<=I?n[0]:O1(n[0])*((z(n[0])+I)%H-I)}function k3(n,e){var r=X1(e),t=e[1],o=O(t),a=[O(r),-$(r),0],l=0,s=0,d=new a1;o===1?t=Z+N:o===-1&&(t=-Z-N);for(var f=0,i=n.length;f<i;++f)if(c=(u=n[f]).length)for(var u,c,p=u[c-1],y=X1(p),v=p[1]/2+S2,m=O(v),C=$(v),E=0;E<c;++E,y=P,m=M,C=L,p=h){var h=u[E],P=X1(h),w=h[1]/2+S2,M=O(w),L=$(w),G=P-y,S=G>=0?1:-1,A=S*G,x=A>I,B=m*M;if(d.add(u1(B*S*O(A),C*L+B*$(A))),l+=x?G+S*H:G,x^y>=r^P>=r){var R=$1(d1(p),d1(h));t2(R);var F=$1(a,R);t2(F);var g=(x^G>=0?-1:1)*J(F[2]);(t>g||t===g&&(R[0]||R[1]))&&(s+=x^G>=0?1:-1)}}return(l<-N||l<N&&d<-X2)^s&1}function e3(n,e,r,t){return function(o){var a=e(o),l=_2(),s=e(l),d=!1,f,i,u,c={point:p,lineStart:v,lineEnd:m,polygonStart:function(){c.point=C,c.lineStart=E,c.lineEnd=h,i=[],f=[]},polygonEnd:function(){c.point=p,c.lineStart=v,c.lineEnd=m,i=W2(i);var P=k3(f,t);i.length?(d||(o.polygonStart(),d=!0),n3(i,K3,P,r,o)):P&&(d||(o.polygonStart(),d=!0),o.lineStart(),r(null,null,1,o),o.lineEnd()),d&&(o.polygonEnd(),d=!1),i=f=null},sphere:function(){o.polygonStart(),o.lineStart(),r(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function p(P,w){n(P,w)&&o.point(P,w)}function y(P,w){a.point(P,w)}function v(){c.point=y,a.lineStart()}function m(){c.point=p,a.lineEnd()}function C(P,w){u.push([P,w]),s.point(P,w)}function E(){s.lineStart(),u=[]}function h(){C(u[0][0],u[0][1]),s.lineEnd();var P=s.clean(),w=l.result(),M,L=w.length,G,S,A;if(u.pop(),f.push(u),u=null,!!L){if(P&1){if(S=w[0],(G=S.length-1)>0){for(d||(o.polygonStart(),d=!0),o.lineStart(),M=0;M<G;++M)o.point((A=S[M])[0],A[1]);o.lineEnd()}return}L>1&&P&2&&w.push(w.pop().concat(w.shift())),i.push(w.filter(D3))}}return c}}function D3(n){return n.length>1}function K3(n,e){return((n=n.x)[0]<0?n[1]-Z-N:Z-n[1])-((e=e.x)[0]<0?e[1]-Z-N:Z-e[1])}const I2=e3(function(){return!0},U3,Z3,[-I,-Z]);function U3(n){var e=NaN,r=NaN,t=NaN,o;return{lineStart:function(){n.lineStart(),o=1},point:function(a,l){var s=a>0?I:-I,d=z(a-e);z(d-I)<N?(n.point(e,r=(r+l)/2>0?Z:-Z),n.point(t,r),n.lineEnd(),n.lineStart(),n.point(s,r),n.point(a,r),o=0):t!==s&&d>=I&&(z(e-t)<N&&(e-=t*N),z(a-s)<N&&(a-=s*N),r=Y3(e,r,a,l),n.point(t,r),n.lineEnd(),n.lineStart(),n.point(s,r),o=0),n.point(e=a,r=l),t=s},lineEnd:function(){n.lineEnd(),e=r=NaN},clean:function(){return 2-o}}}function Y3(n,e,r,t){var o,a,l=O(n-r);return z(l)>N?J2((O(e)*(a=$(t))*O(r)-O(t)*(o=$(e))*O(n))/(o*a*l)):(e+t)/2}function Z3(n,e,r,t){var o;if(n==null)o=r*Z,t.point(-I,o),t.point(0,o),t.point(I,o),t.point(I,0),t.point(I,-o),t.point(0,-o),t.point(-I,-o),t.point(-I,0),t.point(-I,o);else if(z(n[0]-e[0])>N){var a=n[0]<e[0]?I:-I;o=r*a/2,t.point(-a,o),t.point(0,o),t.point(a,o)}else t.point(e[0],e[1])}function H3(n){var e=$(n),r=6*b,t=e>0,o=z(e)>N;function a(i,u,c,p){b3(p,n,r,c,i,u)}function l(i,u){return $(i)*$(u)>e}function s(i){var u,c,p,y,v;return{lineStart:function(){y=p=!1,v=1},point:function(m,C){var E=[m,C],h,P=l(m,C),w=t?P?0:f(m,C):P?f(m+(m<0?I:-I),C):0;if(!u&&(y=p=P)&&i.lineStart(),P!==p&&(h=d(u,E),(!h||B1(u,h)||B1(E,h))&&(E[2]=1)),P!==p)v=0,P?(i.lineStart(),h=d(E,u),i.point(h[0],h[1])):(h=d(u,E),i.point(h[0],h[1],2),i.lineEnd()),u=h;else if(o&&u&&t^P){var M;!(w&c)&&(M=d(E,u,!0))&&(v=0,t?(i.lineStart(),i.point(M[0][0],M[0][1]),i.point(M[1][0],M[1][1]),i.lineEnd()):(i.point(M[1][0],M[1][1]),i.lineEnd(),i.lineStart(),i.point(M[0][0],M[0][1],3)))}P&&(!u||!B1(u,E))&&i.point(E[0],E[1]),u=E,p=P,c=w},lineEnd:function(){p&&i.lineEnd(),u=null},clean:function(){return v|(y&&p)<<1}}}function d(i,u,c){var p=d1(i),y=d1(u),v=[1,0,0],m=$1(p,y),C=I1(m,m),E=m[0],h=C-E*E;if(!h)return!c&&i;var P=e*C/h,w=-e*E/h,M=$1(v,m),L=L1(v,P),G=L1(m,w);W1(L,G);var S=M,A=I1(L,S),x=I1(S,S),B=A*A-x*(I1(L,L)-1);if(!(B<0)){var R=X(B),F=L1(S,(-A-R)/x);if(W1(F,L),F=e2(F),!c)return F;var g=i[0],T=u[0],D=i[1],Y=u[1],V;T<g&&(V=g,g=T,T=V);var h1=T-g,n1=z(h1-I)<N,o1=n1||h1<N;if(!n1&&Y<D&&(V=D,D=Y,Y=V),o1?n1?D+Y>0^F[1]<(z(F[0]-g)<N?D:Y):D<=F[1]&&F[1]<=Y:h1>I^(g<=F[0]&&F[0]<=T)){var e1=L1(S,(-A+R)/x);return W1(e1,L),[F,e2(e1)]}}}function f(i,u){var c=t?n:I-n,p=0;return i<-c?p|=1:i>c&&(p|=2),u<-c?p|=4:u>c&&(p|=8),p}return e3(l,s,a,t?[0,-n]:[-I,n-I])}function V3(n,e,r,t,o,a){var l=n[0],s=n[1],d=e[0],f=e[1],i=0,u=1,c=d-l,p=f-s,y;if(y=r-l,!(!c&&y>0)){if(y/=c,c<0){if(y<i)return;y<u&&(u=y)}else if(c>0){if(y>u)return;y>i&&(i=y)}if(y=o-l,!(!c&&y<0)){if(y/=c,c<0){if(y>u)return;y>i&&(i=y)}else if(c>0){if(y<i)return;y<u&&(u=y)}if(y=t-s,!(!p&&y>0)){if(y/=p,p<0){if(y<i)return;y<u&&(u=y)}else if(p>0){if(y>u)return;y>i&&(i=y)}if(y=a-s,!(!p&&y<0)){if(y/=p,p<0){if(y>u)return;y>i&&(i=y)}else if(p>0){if(y<i)return;y<u&&(u=y)}return i>0&&(n[0]=l+i*c,n[1]=s+i*p),u<1&&(e[0]=l+u*c,e[1]=s+u*p),!0}}}}}var m1=1e9,G1=-m1;function q3(n,e,r,t){function o(f,i){return n<=f&&f<=r&&e<=i&&i<=t}function a(f,i,u,c){var p=0,y=0;if(f==null||(p=l(f,u))!==(y=l(i,u))||d(f,i)<0^u>0)do c.point(p===0||p===3?n:r,p>1?t:e);while((p=(p+u+4)%4)!==y);else c.point(i[0],i[1])}function l(f,i){return z(f[0]-n)<N?i>0?0:3:z(f[0]-r)<N?i>0?2:1:z(f[1]-e)<N?i>0?1:0:i>0?3:2}function s(f,i){return d(f.x,i.x)}function d(f,i){var u=l(f,1),c=l(i,1);return u!==c?u-c:u===0?i[1]-f[1]:u===1?f[0]-i[0]:u===2?f[1]-i[1]:i[0]-f[0]}return function(f){var i=f,u=_2(),c,p,y,v,m,C,E,h,P,w,M,L={point:G,lineStart:B,lineEnd:R,polygonStart:A,polygonEnd:x};function G(g,T){o(g,T)&&i.point(g,T)}function S(){for(var g=0,T=0,D=p.length;T<D;++T)for(var Y=p[T],V=1,h1=Y.length,n1=Y[0],o1,e1,j1=n1[0],l1=n1[1];V<h1;++V)o1=j1,e1=l1,n1=Y[V],j1=n1[0],l1=n1[1],e1<=t?l1>t&&(j1-o1)*(t-e1)>(l1-e1)*(n-o1)&&++g:l1<=t&&(j1-o1)*(t-e1)<(l1-e1)*(n-o1)&&--g;return g}function A(){i=u,c=[],p=[],M=!0}function x(){var g=S(),T=M&&g,D=(c=W2(c)).length;(T||D)&&(f.polygonStart(),T&&(f.lineStart(),a(null,null,1,f),f.lineEnd()),D&&n3(c,s,g,a,f),f.polygonEnd()),i=f,c=p=y=null}function B(){L.point=F,p&&p.push(y=[]),w=!0,P=!1,E=h=NaN}function R(){c&&(F(v,m),C&&P&&u.rejoin(),c.push(u.result())),L.point=G,P&&i.lineEnd()}function F(g,T){var D=o(g,T);if(p&&y.push([g,T]),w)v=g,m=T,C=D,w=!1,D&&(i.lineStart(),i.point(g,T));else if(D&&P)i.point(g,T);else{var Y=[E=Math.max(G1,Math.min(m1,E)),h=Math.max(G1,Math.min(m1,h))],V=[g=Math.max(G1,Math.min(m1,g)),T=Math.max(G1,Math.min(m1,T))];V3(Y,V,n,e,r,t)?(P||(i.lineStart(),i.point(Y[0],Y[1])),i.point(V[0],V[1]),D||i.lineEnd(),M=!1):D&&(i.lineStart(),i.point(g,T),M=!1)}E=g,h=T,P=D}return L}}function L2(n,e,r){var t=f1(n,e-N,r).concat(e);return function(o){return t.map(function(a){return[o,a]})}}function T2(n,e,r){var t=f1(n,e-N,r).concat(e);return function(o){return t.map(function(a){return[a,o]})}}function W3(){var n,e,r,t,o,a,l,s,d=10,f=d,i=90,u=360,c,p,y,v,m=2.5;function C(){return{type:"MultiLineString",coordinates:E()}}function E(){return f1(A1(t/i)*i,r,i).map(y).concat(f1(A1(s/u)*u,l,u).map(v)).concat(f1(A1(e/d)*d,n,d).filter(function(h){return z(h%i)>N}).map(c)).concat(f1(A1(a/f)*f,o,f).filter(function(h){return z(h%u)>N}).map(p))}return C.lines=function(){return E().map(function(h){return{type:"LineString",coordinates:h}})},C.outline=function(){return{type:"Polygon",coordinates:[y(t).concat(v(l).slice(1),y(r).reverse().slice(1),v(s).reverse().slice(1))]}},C.extent=function(h){return arguments.length?C.extentMajor(h).extentMinor(h):C.extentMinor()},C.extentMajor=function(h){return arguments.length?(t=+h[0][0],r=+h[1][0],s=+h[0][1],l=+h[1][1],t>r&&(h=t,t=r,r=h),s>l&&(h=s,s=l,l=h),C.precision(m)):[[t,s],[r,l]]},C.extentMinor=function(h){return arguments.length?(e=+h[0][0],n=+h[1][0],a=+h[0][1],o=+h[1][1],e>n&&(h=e,e=n,n=h),a>o&&(h=a,a=o,o=h),C.precision(m)):[[e,a],[n,o]]},C.step=function(h){return arguments.length?C.stepMajor(h).stepMinor(h):C.stepMinor()},C.stepMajor=function(h){return arguments.length?(i=+h[0],u=+h[1],C):[i,u]},C.stepMinor=function(h){return arguments.length?(d=+h[0],f=+h[1],C):[d,f]},C.precision=function(h){return arguments.length?(m=+h,c=L2(a,o,90),p=T2(e,n,m),y=L2(s,l,90),v=T2(t,r,m),C):m},C.extentMajor([[-180,-90+N],[180,90-N]]).extentMinor([[-180,-80-N],[180,80+N]])}const i2=n=>n;var J1=new a1,a2=new a1,t3,r3,u2,c2,r1={point:q,lineStart:q,lineEnd:q,polygonStart:function(){r1.lineStart=X3,r1.lineEnd=Q3},polygonEnd:function(){r1.lineStart=r1.lineEnd=r1.point=q,J1.add(z(a2)),a2=new a1},result:function(){var n=J1/2;return J1=new a1,n}};function X3(){r1.point=J3}function J3(n,e){r1.point=o3,t3=u2=n,r3=c2=e}function o3(n,e){a2.add(c2*n-u2*e),u2=n,c2=e}function Q3(){o3(t3,r3)}const G2=r1;var g1=1/0,b1=g1,R1=-g1,k1=R1,_3={point:n4,lineStart:q,lineEnd:q,polygonStart:q,polygonEnd:q,result:function(){var n=[[g1,b1],[R1,k1]];return R1=k1=-(b1=g1=1/0),n}};function n4(n,e){n<g1&&(g1=n),n>R1&&(R1=n),e<b1&&(b1=e),e>k1&&(k1=e)}const D1=_3;var l2=0,s2=0,v1=0,K1=0,U1=0,y1=0,p2=0,f2=0,P1=0,i3,a3,Q,_,W={point:c1,lineStart:O2,lineEnd:B2,polygonStart:function(){W.lineStart=r4,W.lineEnd=o4},polygonEnd:function(){W.point=c1,W.lineStart=O2,W.lineEnd=B2},result:function(){var n=P1?[p2/P1,f2/P1]:y1?[K1/y1,U1/y1]:v1?[l2/v1,s2/v1]:[NaN,NaN];return l2=s2=v1=K1=U1=y1=p2=f2=P1=0,n}};function c1(n,e){l2+=n,s2+=e,++v1}function O2(){W.point=e4}function e4(n,e){W.point=t4,c1(Q=n,_=e)}function t4(n,e){var r=n-Q,t=e-_,o=X(r*r+t*t);K1+=o*(Q+n)/2,U1+=o*(_+e)/2,y1+=o,c1(Q=n,_=e)}function B2(){W.point=c1}function r4(){W.point=i4}function o4(){u3(i3,a3)}function i4(n,e){W.point=u3,c1(i3=Q=n,a3=_=e)}function u3(n,e){var r=n-Q,t=e-_,o=X(r*r+t*t);K1+=o*(Q+n)/2,U1+=o*(_+e)/2,y1+=o,o=_*n-Q*e,p2+=o*(Q+n),f2+=o*(_+e),P1+=o*3,c1(Q=n,_=e)}const z2=W;function c3(n){this._context=n}c3.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(n,e){switch(this._point){case 0:{this._context.moveTo(n,e),this._point=1;break}case 1:{this._context.lineTo(n,e);break}default:{this._context.moveTo(n+this._radius,e),this._context.arc(n,e,this._radius,0,H);break}}},result:q};var y2=new a1,Q1,l3,s3,C1,S1,Y1={point:q,lineStart:function(){Y1.point=a4},lineEnd:function(){Q1&&p3(l3,s3),Y1.point=q},polygonStart:function(){Q1=!0},polygonEnd:function(){Q1=null},result:function(){var n=+y2;return y2=new a1,n}};function a4(n,e){Y1.point=p3,l3=C1=n,s3=S1=e}function p3(n,e){C1-=n,S1-=e,y2.add(X(C1*C1+S1*S1)),C1=n,S1=e}const F2=Y1;let $2,Z1,b2,k2;class D2{constructor(e){this._append=e==null?f3:u4(e),this._radius=4.5,this._=""}pointRadius(e){return this._radius=+e,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(e,r){switch(this._point){case 0:{this._append`M${e},${r}`,this._point=1;break}case 1:{this._append`L${e},${r}`;break}default:{if(this._append`M${e},${r}`,this._radius!==b2||this._append!==Z1){const t=this._radius,o=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,b2=t,Z1=this._append,k2=this._,this._=o}this._+=k2;break}}}result(){const e=this._;return this._="",e.length?e:null}}function f3(n){let e=1;this._+=n[0];for(const r=n.length;e<r;++e)this._+=arguments[e]+n[e]}function u4(n){const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);if(e>15)return f3;if(e!==$2){const r=10**e;$2=e,Z1=function(o){let a=1;this._+=o[0];for(const l=o.length;a<l;++a)this._+=Math.round(arguments[a]*r)/r+o[a]}}return Z1}function c4(n,e){let r=3,t=4.5,o,a;function l(s){return s&&(typeof t=="function"&&a.pointRadius(+t.apply(this,arguments)),p1(s,o(a))),a.result()}return l.area=function(s){return p1(s,o(G2)),G2.result()},l.measure=function(s){return p1(s,o(F2)),F2.result()},l.bounds=function(s){return p1(s,o(D1)),D1.result()},l.centroid=function(s){return p1(s,o(z2)),z2.result()},l.projection=function(s){return arguments.length?(o=s==null?(n=null,i2):(n=s).stream,l):n},l.context=function(s){return arguments.length?(a=s==null?(e=null,new D2(r)):new c3(e=s),typeof t!="function"&&a.pointRadius(t),l):e},l.pointRadius=function(s){return arguments.length?(t=typeof s=="function"?s:(a.pointRadius(+s),+s),l):t},l.digits=function(s){if(!arguments.length)return r;if(s==null)r=null;else{const d=Math.floor(s);if(!(d>=0))throw new RangeError(`invalid digits: ${s}`);r=d}return e===null&&(a=new D2(r)),l},l.projection(n).digits(r).context(e)}function m2(n){return function(e){var r=new d2;for(var t in n)r[t]=n[t];return r.stream=e,r}}function d2(){}d2.prototype={constructor:d2,point:function(n,e){this.stream.point(n,e)},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()}};function v2(n,e,r){var t=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),t!=null&&n.clipExtent(null),p1(r,n.stream(D1)),e(D1.result()),t!=null&&n.clipExtent(t),n}function P2(n,e,r){return v2(n,function(t){var o=e[1][0]-e[0][0],a=e[1][1]-e[0][1],l=Math.min(o/(t[1][0]-t[0][0]),a/(t[1][1]-t[0][1])),s=+e[0][0]+(o-l*(t[1][0]+t[0][0]))/2,d=+e[0][1]+(a-l*(t[1][1]+t[0][1]))/2;n.scale(150*l).translate([s,d])},r)}function y3(n,e,r){return P2(n,[[0,0],e],r)}function d3(n,e,r){return v2(n,function(t){var o=+e,a=o/(t[1][0]-t[0][0]),l=(o-a*(t[1][0]+t[0][0]))/2,s=-a*t[0][1];n.scale(150*a).translate([l,s])},r)}function g3(n,e,r){return v2(n,function(t){var o=+e,a=o/(t[1][1]-t[0][1]),l=-a*t[0][0],s=(o-a*(t[1][1]+t[0][1]))/2;n.scale(150*a).translate([l,s])},r)}var K2=16,l4=$(30*b);function U2(n,e){return+e?p4(n,e):s4(n)}function s4(n){return m2({point:function(e,r){e=n(e,r),this.stream.point(e[0],e[1])}})}function p4(n,e){function r(t,o,a,l,s,d,f,i,u,c,p,y,v,m){var C=f-t,E=i-o,h=C*C+E*E;if(h>4*e&&v--){var P=l+c,w=s+p,M=d+y,L=X(P*P+w*w+M*M),G=J(M/=L),S=z(z(M)-1)<N||z(a-u)<N?(a+u)/2:u1(w,P),A=n(S,G),x=A[0],B=A[1],R=x-t,F=B-o,g=E*R-C*F;(g*g/h>e||z((C*R+E*F)/h-.5)>.3||l*c+s*p+d*y<l4)&&(r(t,o,a,l,s,d,x,B,S,P/=L,w/=L,M,v,m),m.point(x,B),r(x,B,S,P,w,M,f,i,u,c,p,y,v,m))}}return function(t){var o,a,l,s,d,f,i,u,c,p,y,v,m={point:C,lineStart:E,lineEnd:P,polygonStart:function(){t.polygonStart(),m.lineStart=w},polygonEnd:function(){t.polygonEnd(),m.lineStart=E}};function C(G,S){G=n(G,S),t.point(G[0],G[1])}function E(){u=NaN,m.point=h,t.lineStart()}function h(G,S){var A=d1([G,S]),x=n(G,S);r(u,c,i,p,y,v,u=x[0],c=x[1],i=G,p=A[0],y=A[1],v=A[2],K2,t),t.point(u,c)}function P(){m.point=C,t.lineEnd()}function w(){E(),m.point=M,m.lineEnd=L}function M(G,S){h(o=G,S),a=u,l=c,s=p,d=y,f=v,m.point=h}function L(){r(u,c,i,p,y,v,a,l,o,s,d,f,K2,t),m.lineEnd=P,P()}return m}}var f4=m2({point:function(n,e){this.stream.point(n*b,e*b)}});function y4(n){return m2({point:function(e,r){var t=n(e,r);return this.stream.point(t[0],t[1])}})}function d4(n,e,r,t,o){function a(l,s){return l*=t,s*=o,[e+n*l,r-n*s]}return a.invert=function(l,s){return[(l-e)/n*t,(r-s)/n*o]},a}function Y2(n,e,r,t,o,a){if(!a)return d4(n,e,r,t,o);var l=$(a),s=O(a),d=l*n,f=s*n,i=l/n,u=s/n,c=(s*r-l*e)/n,p=(s*e+l*r)/n;function y(v,m){return v*=t,m*=o,[d*v-f*m+e,r-f*v-d*m]}return y.invert=function(v,m){return[t*(i*v-u*m+c),o*(p-u*v-i*m)]},y}function V1(n){return h3(function(){return n})()}function h3(n){var e,r=150,t=480,o=250,a=0,l=0,s=0,d=0,f=0,i,u=0,c=1,p=1,y=null,v=I2,m=null,C,E,h,P=i2,w=.5,M,L,G,S,A;function x(g){return G(g[0]*b,g[1]*b)}function B(g){return g=G.invert(g[0],g[1]),g&&[g[0]*U,g[1]*U]}x.stream=function(g){return S&&A===g?S:S=f4(y4(i)(v(M(P(A=g)))))},x.preclip=function(g){return arguments.length?(v=g,y=void 0,F()):v},x.postclip=function(g){return arguments.length?(P=g,m=C=E=h=null,F()):P},x.clipAngle=function(g){return arguments.length?(v=+g?H3(y=g*b):(y=null,I2),F()):y*U},x.clipExtent=function(g){return arguments.length?(P=g==null?(m=C=E=h=null,i2):q3(m=+g[0][0],C=+g[0][1],E=+g[1][0],h=+g[1][1]),F()):m==null?null:[[m,C],[E,h]]},x.scale=function(g){return arguments.length?(r=+g,R()):r},x.translate=function(g){return arguments.length?(t=+g[0],o=+g[1],R()):[t,o]},x.center=function(g){return arguments.length?(a=g[0]%360*b,l=g[1]%360*b,R()):[a*U,l*U]},x.rotate=function(g){return arguments.length?(s=g[0]%360*b,d=g[1]%360*b,f=g.length>2?g[2]%360*b:0,R()):[s*U,d*U,f*U]},x.angle=function(g){return arguments.length?(u=g%360*b,R()):u*U},x.reflectX=function(g){return arguments.length?(c=g?-1:1,R()):c<0},x.reflectY=function(g){return arguments.length?(p=g?-1:1,R()):p<0},x.precision=function(g){return arguments.length?(M=U2(L,w=g*g),F()):X(w)},x.fitExtent=function(g,T){return P2(x,g,T)},x.fitSize=function(g,T){return y3(x,g,T)},x.fitWidth=function(g,T){return d3(x,g,T)},x.fitHeight=function(g,T){return g3(x,g,T)};function R(){var g=Y2(r,0,0,c,p,u).apply(null,e(a,l)),T=Y2(r,t-g[0],o-g[1],c,p,u);return i=Q2(s,d,f),L=r2(e,T),G=r2(i,L),M=U2(L,w),F()}function F(){return S=A=null,x}return function(){return e=n.apply(this,arguments),x.invert=e.invert&&B,R()}}function g4(n){var e=0,r=I/3,t=h3(n),o=t(e,r);return o.parallels=function(a){return arguments.length?t(e=a[0]*b,r=a[1]*b):[e*U,r*U]},o}function h4(n){var e=$(n);function r(t,o){return[t*e,O(o)/e]}return r.invert=function(t,o){return[t/e,J(o*e)]},r}function m4(n,e){var r=O(n),t=(r+O(e))/2;if(z(t)<N)return h4(n);var o=1+r*(2*t-r),a=X(o)/t;function l(s,d){var f=X(o-2*t*O(d))/t;return[f*O(s*=t),a-f*$(s)]}return l.invert=function(s,d){var f=a-d,i=u1(s,z(f))*O1(f);return f*t<0&&(i-=I*O1(s)*O1(f)),[i/t,J((o-(s*s+f*f)*t*t)/(2*t))]},l}function g2(){return g4(m4).scale(155.424).center([0,33.6442])}function m3(){return g2().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function v4(n){var e=n.length;return{point:function(r,t){for(var o=-1;++o<e;)n[o].point(r,t)},sphere:function(){for(var r=-1;++r<e;)n[r].sphere()},lineStart:function(){for(var r=-1;++r<e;)n[r].lineStart()},lineEnd:function(){for(var r=-1;++r<e;)n[r].lineEnd()},polygonStart:function(){for(var r=-1;++r<e;)n[r].polygonStart()},polygonEnd:function(){for(var r=-1;++r<e;)n[r].polygonEnd()}}}function P4(){var n,e,r=m3(),t,o=g2().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a,l=g2().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s,d,f={point:function(c,p){d=[c,p]}};function i(c){var p=c[0],y=c[1];return d=null,t.point(p,y),d||(a.point(p,y),d)||(s.point(p,y),d)}i.invert=function(c){var p=r.scale(),y=r.translate(),v=(c[0]-y[0])/p,m=(c[1]-y[1])/p;return(m>=.12&&m<.234&&v>=-.425&&v<-.214?o:m>=.166&&m<.234&&v>=-.214&&v<-.115?l:r).invert(c)},i.stream=function(c){return n&&e===c?n:n=v4([r.stream(e=c),o.stream(c),l.stream(c)])},i.precision=function(c){return arguments.length?(r.precision(c),o.precision(c),l.precision(c),u()):r.precision()},i.scale=function(c){return arguments.length?(r.scale(c),o.scale(c*.35),l.scale(c),i.translate(r.translate())):r.scale()},i.translate=function(c){if(!arguments.length)return r.translate();var p=r.scale(),y=+c[0],v=+c[1];return t=r.translate(c).clipExtent([[y-.455*p,v-.238*p],[y+.455*p,v+.238*p]]).stream(f),a=o.translate([y-.307*p,v+.201*p]).clipExtent([[y-.425*p+N,v+.12*p+N],[y-.214*p-N,v+.234*p-N]]).stream(f),s=l.translate([y-.205*p,v+.212*p]).clipExtent([[y-.214*p+N,v+.166*p+N],[y-.115*p-N,v+.234*p-N]]).stream(f),u()},i.fitExtent=function(c,p){return P2(i,c,p)},i.fitSize=function(c,p){return y3(i,c,p)},i.fitWidth=function(c,p){return d3(i,c,p)},i.fitHeight=function(c,p){return g3(i,c,p)};function u(){return n=e=null,i}return i.scale(1070)}function C4(n){return function(e,r){var t=X(e*e+r*r),o=n(t),a=O(o),l=$(o);return[u1(e*a,t*l),J(t&&r*a/t)]}}function C2(n,e){return[n,B3(z3((Z+e)/2))]}C2.invert=function(n,e){return[n,2*J2(O3(e))-Z]};function S4(){return E4(C2).scale(961/H)}function E4(n){var e=V1(n),r=e.center,t=e.scale,o=e.translate,a=e.clipExtent,l=null,s,d,f;e.scale=function(u){return arguments.length?(t(u),i()):t()},e.translate=function(u){return arguments.length?(o(u),i()):o()},e.center=function(u){return arguments.length?(r(u),i()):r()},e.clipExtent=function(u){return arguments.length?(u==null?l=s=d=f=null:(l=+u[0][0],s=+u[0][1],d=+u[1][0],f=+u[1][1]),i()):l==null?null:[[l,s],[d,f]]};function i(){var u=I*t(),c=e($3(e.rotate()).invert([0,0]));return a(l==null?[[c[0]-u,c[1]-u],[c[0]+u,c[1]+u]]:n===C2?[[Math.max(c[0]-u,l),s],[Math.min(c[0]+u,d),f]]:[[l,Math.max(c[1]-u,s)],[d,Math.min(c[1]+u,f)]])}return i()}var E1=1.340264,M1=-.081106,w1=893e-6,x1=.003796,H1=X(3)/2,M4=12;function v3(n,e){var r=J(H1*O(e)),t=r*r,o=t*t*t;return[n*$(r)/(H1*(E1+3*M1*t+o*(7*w1+9*x1*t))),r*(E1+M1*t+o*(w1+x1*t))]}v3.invert=function(n,e){for(var r=e,t=r*r,o=t*t*t,a=0,l,s,d;a<M4&&(s=r*(E1+M1*t+o*(w1+x1*t))-e,d=E1+3*M1*t+o*(7*w1+9*x1*t),r-=l=s/d,t=r*r,o=t*t*t,!(z(l)<X2));++a);return[H1*n*(E1+3*M1*t+o*(7*w1+9*x1*t))/$(r),J(O(r)/H1)]};function w4(){return V1(v3).scale(177.158)}function P3(n,e){var r=e*e,t=r*r;return[n*(.8707-.131979*r+t*(-.013791+t*(.003971*r-.001529*t))),e*(1.007226+r*(.015085+t*(-.044475+.028874*r-.005916*t)))]}P3.invert=function(n,e){var r=e,t=25,o;do{var a=r*r,l=a*a;r-=o=(r*(1.007226+a*(.015085+l*(-.044475+.028874*a-.005916*l)))-e)/(1.007226+a*(.015085*3+l*(-.044475*7+.028874*9*a-.005916*11*l)))}while(z(o)>N&&--t>0);return[n/(.8707+(a=r*r)*(-.131979+a*(-.013791+a*a*a*(.003971-.001529*a)))),r]};function x4(){return V1(P3).scale(175.295)}function C3(n,e){return[$(e)*O(n),O(e)]}C3.invert=C4(J);function N4(){return V1(C3).scale(249.5).clipAngle(90+N)}var R4=["graticule","lines","outline","extent","extentMajor","extentMinor","step","stepMajor","stepMinor","precision","children"];function N1(){return N1=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])}return n},N1.apply(this,arguments)}function j4(n,e){if(n==null)return{};var r={},t=Object.keys(n),o,a;for(a=0;a<t.length;a++)o=t[a],!(e.indexOf(o)>=0)&&(r[o]=n[o]);return r}function i1(n){var e=n.graticule,r=n.lines,t=n.outline,o=n.extent,a=n.extentMajor,l=n.extentMinor,s=n.step,d=n.stepMajor,f=n.stepMinor,i=n.precision,u=n.children,c=j4(n,R4),p=W3();return o&&p.extent(o),a&&p.extentMajor(a),l&&p.extentMinor(l),s&&p.step(s),d&&p.stepMajor(d),f&&p.stepMinor(f),i&&p.precision(i),u?k.createElement(k.Fragment,null,u({graticule:p})):k.createElement(q2,{className:"visx-geo-graticule"},e&&k.createElement("path",N1({d:e(p()),fill:"none",stroke:"black"},c)),r&&p.lines().map(function(y,v){return k.createElement("g",{key:v},k.createElement("path",N1({d:r(y),fill:"none",stroke:"black"},c)))}),t&&k.createElement("path",N1({d:t(p.outline()),fill:"none",stroke:"black"},c)))}i1.propTypes={graticule:K.func,lines:K.func,outline:K.func,children:K.func,precision:K.number};var A4=["data","projection","projectionFunc","clipAngle","clipExtent","scale","translate","center","rotate","precision","fitExtent","fitSize","centroid","graticule","graticuleLines","graticuleOutline","className","innerRef","digits","pointRadius","children"];function t1(){return t1=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])}return n},t1.apply(this,arguments)}function I4(n,e){if(n==null)return{};var r={},t=Object.keys(n),o,a;for(a=0;a<t.length;a++)o=t[a],!(e.indexOf(o)>=0)&&(r[o]=n[o]);return r}var L4={orthographic:function(){return N4()},albers:function(){return m3()},albersUsa:function(){return P4()},mercator:function(){return S4()},naturalEarth:function(){return x4()},equalEarth:function(){return w4()}};function S3(n){var e=n.data,r=n.projection,t=r===void 0?"mercator":r,o=n.projectionFunc,a=n.clipAngle,l=n.clipExtent,s=n.scale,d=n.translate,f=n.center,i=n.rotate,u=n.precision,c=n.fitExtent,p=n.fitSize,y=n.centroid,v=n.graticule,m=n.graticuleLines,C=n.graticuleOutline,E=n.className,h=n.innerRef,P=n.digits,w=n.pointRadius,M=n.children,L=I4(n,A4),G=typeof t=="string"?L4[t]:t,S=G();a&&S.clipAngle&&S.clipAngle(a),l&&S.clipExtent&&S.clipExtent(l),s&&S.scale&&S.scale(s),d&&S.translate&&S.translate(d),f&&S.center&&S.center(f),i&&S.rotate&&S.rotate(i),u&&S.precision&&S.precision(u),c&&S.fitExtent&&S.fitExtent.apply(S,c),p&&S.fitSize&&S.fitSize.apply(S,p);var A=c4().projection(S);P!==void 0&&A.digits(P),w!==void 0&&A.pointRadius(w);var x=e.map(function(B,R){return{feature:B,type:t,projection:S,index:R,centroid:A.centroid(B),path:A(B)}});return M?k.createElement(k.Fragment,null,M({path:A,features:x,projection:S})):k.createElement(q2,{className:"visx-geo"},v&&!v.foreground&&k.createElement(i1,t1({graticule:function(R){return A(R)||""}},v)),m&&!m.foreground&&k.createElement(i1,t1({lines:function(R){return A(R)||""}},m)),C&&!C.foreground&&k.createElement(i1,t1({outline:function(R){return A(R)||""}},C)),x.map(function(B,R){return k.createElement("g",{key:t+"-"+R},k.createElement("path",t1({className:E3("visx-geo-"+t,E),d:B.path||"",ref:h==null?void 0:h(B,R)},L)),y==null?void 0:y(B.centroid,B))}),o==null?void 0:o(S),(v==null?void 0:v.foreground)&&k.createElement(i1,t1({graticule:function(R){return A(R)||""}},v)),(m==null?void 0:m.foreground)&&k.createElement(i1,t1({lines:function(R){return A(R)||""}},m)),(C==null?void 0:C.foreground)&&k.createElement(i1,t1({outline:function(R){return A(R)||""}},C)))}S3.propTypes={data:K.array.isRequired,projectionFunc:K.func,clipAngle:K.number,scale:K.number,precision:K.number,centroid:K.func,className:K.string,children:K.func,innerRef:K.func,digits:K.number,pointRadius:K.number};function h2(){return h2=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])}return n},h2.apply(this,arguments)}function T4(n){return k.createElement(S3,h2({projection:"mercator"},n))}function G4(n){return n}function O4(n){if(n==null)return G4;var e,r,t=n.scale[0],o=n.scale[1],a=n.translate[0],l=n.translate[1];return function(s,d){d||(e=r=0);var f=2,i=s.length,u=new Array(i);for(u[0]=(e+=s[0])*t+a,u[1]=(r+=s[1])*o+l;f<i;)u[f]=s[f],++f;return u}}function B4(n,e){for(var r,t=n.length,o=t-e;o<--t;)r=n[o],n[o++]=n[t],n[t]=r}function z4(n,e){return typeof e=="string"&&(e=n.objects[e]),e.type==="GeometryCollection"?{type:"FeatureCollection",features:e.geometries.map(function(r){return Z2(n,r)})}:Z2(n,e)}function Z2(n,e){var r=e.id,t=e.bbox,o=e.properties==null?{}:e.properties,a=F4(n,e);return r==null&&t==null?{type:"Feature",properties:o,geometry:a}:t==null?{type:"Feature",id:r,properties:o,geometry:a}:{type:"Feature",id:r,bbox:t,properties:o,geometry:a}}function F4(n,e){var r=O4(n.transform),t=n.arcs;function o(i,u){u.length&&u.pop();for(var c=t[i<0?~i:i],p=0,y=c.length;p<y;++p)u.push(r(c[p],p));i<0&&B4(u,y)}function a(i){return r(i)}function l(i){for(var u=[],c=0,p=i.length;c<p;++c)o(i[c],u);return u.length<2&&u.push(u[0]),u}function s(i){for(var u=l(i);u.length<4;)u.push(u[0]);return u}function d(i){return i.map(s)}function f(i){var u=i.type,c;switch(u){case"GeometryCollection":return{type:u,geometries:i.geometries.map(f)};case"Point":c=a(i.coordinates);break;case"MultiPoint":c=i.coordinates.map(a);break;case"LineString":c=l(i.arcs);break;case"MultiLineString":c=i.arcs.map(l);break;case"Polygon":c=d(i.arcs);break;case"MultiPolygon":c=i.arcs.map(d);break;default:return null}return{type:u,coordinates:c}}return f(e)}function $4({path:n}){return n?j.jsx("path",{d:n,fill:"white",strokeWidth:.2,stroke:"var(--steel-dark)"}):null}const b4=20,k4=2.5,D4=10,K4=.5;function U4({validator:n,projection:e,onMouseOut:r,onMouseOver:t}){const o=z1.useCallback(d=>{n&&t(d,n.suiAddress)},[n,t]);if(!n.ipInfo)return null;const a=e(n.ipInfo.loc.split(",").reverse().map(d=>parseFloat(d))),l=Math.max(Math.min(Math.floor(parseInt(n.votingPower)/b4),D4),k4);if(!a)return null;const s=K4-parseInt(n.votingPower)/1e3;return j.jsx("g",{children:j.jsx("circle",{onMouseOver:o,onMouseMove:o,onMouseOut:r,cx:a[0],cy:a[1],r:l,fill:"#6FBCF0",opacity:s})})}const Y4="Topology",Z4={countries:{type:"GeometryCollection",geometries:[{type:"MultiPolygon",arcs:[[[0]],[[1]]],id:"242",properties:{name:"Fiji",countryCode:"FJ"}},{type:"Polygon",arcs:[[2,3,4,5,6,7,8,9,10]],id:"834",properties:{name:"Tanzania",countryCode:"TZ"}},{type:"Polygon",arcs:[[11,12,13,14]],id:"732",properties:{name:"Western Sahara",countryCode:"EH"}},{type:"MultiPolygon",arcs:[[[15,16,17,18]],[[19]],[[20]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]]],id:"124",properties:{name:"Canada",countryCode:"CA"}},{type:"MultiPolygon",arcs:[[[-19,48,49,50]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[-17,58]],[[59]]],id:"840",properties:{name:"United States",countryCode:"US"}},{type:"Polygon",arcs:[[60,61,62,63,64,65]],id:"398",properties:{name:"Kazakhstan",countryCode:"KZ"}},{type:"Polygon",arcs:[[-63,66,67,68,69]],id:"860",properties:{name:"Uzbekistan",countryCode:"UZ"}},{type:"MultiPolygon",arcs:[[[70,71]],[[72]],[[73]],[[74]]],id:"598",properties:{name:"Papua New Guinea",countryCode:"PG"}},{type:"MultiPolygon",arcs:[[[-72,75]],[[76,77]],[[78]],[[79,80]],[[81]],[[82]],[[83]],[[84]],[[85]],[[86]],[[87]],[[88]],[[89]]],id:"360",properties:{name:"Indonesia",countryCode:"ID"}},{type:"MultiPolygon",arcs:[[[90,91]],[[92,93,94,95,96,97]]],id:"032",properties:{name:"Argentina",countryCode:"AR"}},{type:"MultiPolygon",arcs:[[[-92,98]],[[99,-95,100,101]]],id:"152",properties:{name:"Chile",countryCode:"CL"}},{type:"Polygon",arcs:[[-8,102,103,104,105,106,107,108,109,110,111]],id:"180",properties:{name:"Congo - Brazzaville",countryCode:"CG"}},{type:"Polygon",arcs:[[112,113,114,115]],id:"706",properties:{name:"Somalia",countryCode:"SO"}},{type:"Polygon",arcs:[[-3,116,117,118,-113,119]],id:"404",properties:{name:"Kenya",countryCode:"KE"}},{type:"Polygon",arcs:[[120,121,122,123,124,125,126,127]],id:"729",properties:{name:"Sudan",countryCode:"SD"}},{type:"Polygon",arcs:[[-122,128,129,130,131]],id:"148",properties:{name:"Chad",countryCode:"TD"}},{type:"Polygon",arcs:[[132,133]],id:"332",properties:{name:"Haiti",countryCode:"HT"}},{type:"Polygon",arcs:[[-133,134]],id:"214",properties:{name:"Dominican Republic",countryCode:"DO"}},{type:"MultiPolygon",arcs:[[[135]],[[136]],[[137]],[[138]],[[139]],[[140]],[[141,142,143]],[[144]],[[145]],[[146,147,148,149,-66,150,151,152,153,154,155,156,157,158,159,160,161]],[[162]],[[163,164]]],id:"643",properties:{name:"Russia",countryCode:"RU"}},{type:"MultiPolygon",arcs:[[[165]],[[166]],[[167]]],id:"044",properties:{name:"Bahamas",countryCode:"BS"}},{type:"Polygon",arcs:[[168]],id:"238",properties:{name:"Falkland Islands",countryCode:"FK"}},{type:"MultiPolygon",arcs:[[[169]],[[-161,170,171,172]],[[173]],[[174]]],id:"578",properties:{name:"Norway",countryCode:"NO"}},{type:"Polygon",arcs:[[175]],id:"304",properties:{name:"Greenland",countryCode:"GL"}},{type:"Polygon",arcs:[[176]],id:"260",properties:{name:"French Southern Territories",countryCode:"TF"}},{type:"Polygon",arcs:[[177,-77]],id:"626",properties:{name:"Timor-Leste",countryCode:"TL"}},{type:"Polygon",arcs:[[178,179,180,181,182,183,184],[185]],id:"710",properties:{name:"South Africa",countryCode:"ZA"}},{type:"Polygon",arcs:[[-186]],id:"426",properties:{name:"Lesotho",countryCode:"LS"}},{type:"Polygon",arcs:[[-50,186,187,188,189]],id:"484",properties:{name:"Mexico",countryCode:"MX"}},{type:"Polygon",arcs:[[190,191,-93]],id:"858",properties:{name:"Uruguay",countryCode:"UY"}},{type:"Polygon",arcs:[[-191,-98,192,193,194,195,196,197,198,199,200]],id:"076",properties:{name:"Brazil",countryCode:"BR"}},{type:"Polygon",arcs:[[-194,201,-96,-100,202]],id:"068",properties:{name:"Bolivia",countryCode:"BO"}},{type:"Polygon",arcs:[[-195,-203,-102,203,204,205]],id:"604",properties:{name:"Peru",countryCode:"PE"}},{type:"Polygon",arcs:[[-196,-206,206,207,208,209,210]],id:"170",properties:{name:"Colombia",countryCode:"CO"}},{type:"Polygon",arcs:[[-209,211,212,213]],id:"591",properties:{name:"Panama",countryCode:"PA"}},{type:"Polygon",arcs:[[-213,214,215,216]],id:"188",properties:{name:"Costa Rica",countryCode:"CR"}},{type:"Polygon",arcs:[[-216,217,218,219]],id:"558",properties:{name:"Nicaragua",countryCode:"NI"}},{type:"Polygon",arcs:[[-219,220,221,222,223]],id:"340",properties:{name:"Honduras",countryCode:"HN"}},{type:"Polygon",arcs:[[-222,224,225]],id:"222",properties:{name:"El Salvador",countryCode:"SV"}},{type:"Polygon",arcs:[[-189,226,227,-223,-226,228]],id:"320",properties:{name:"Guatemala",countryCode:"GT"}},{type:"Polygon",arcs:[[-188,229,-227]],id:"084",properties:{name:"Belize",countryCode:"BZ"}},{type:"Polygon",arcs:[[-197,-211,230,231]],id:"862",properties:{name:"Venezuela",countryCode:"VE"}},{type:"Polygon",arcs:[[-198,-232,232,233]],id:"328",properties:{name:"Guyana",countryCode:"GY"}},{type:"Polygon",arcs:[[-199,-234,234,235]],id:"740",properties:{name:"Suriname",countryCode:"SR"}},{type:"MultiPolygon",arcs:[[[-200,-236,236]],[[237,238,239,240,241,242,243,244]],[[245]]],id:"250",properties:{name:"France",countryCode:"FR"}},{type:"Polygon",arcs:[[-205,246,-207]],id:"218",properties:{name:"Ecuador",countryCode:"EC"}},{type:"Polygon",arcs:[[247]],id:"630",properties:{name:"Puerto Rico",countryCode:"PR"}},{type:"Polygon",arcs:[[248]],id:"388",properties:{name:"Jamaica",countryCode:"JM"}},{type:"Polygon",arcs:[[249]],id:"192",properties:{name:"Cuba",countryCode:"CU"}},{type:"Polygon",arcs:[[-181,250,251,252]],id:"716",properties:{name:"Zimbabwe",countryCode:"ZW"}},{type:"Polygon",arcs:[[-180,253,254,-251]],id:"072",properties:{name:"Botswana",countryCode:"BW"}},{type:"Polygon",arcs:[[-179,255,256,257,-254]],id:"516",properties:{name:"Namibia",countryCode:"NA"}},{type:"Polygon",arcs:[[258,259,260,261,262,263,264]],id:"686",properties:{name:"Senegal",countryCode:"SN"}},{type:"Polygon",arcs:[[-261,265,266,267,268,269,270]],id:"466",properties:{name:"Mali",countryCode:"ML"}},{type:"Polygon",arcs:[[-13,271,-266,-260,272]],id:"478",properties:{name:"Mauritania",countryCode:"MR"}},{type:"Polygon",arcs:[[273,274,275,276,277]],id:"204",properties:{name:"Benin",countryCode:"BJ"}},{type:"Polygon",arcs:[[-131,278,279,-277,280,-268,281,282]],id:"562",properties:{name:"Niger",countryCode:"NE"}},{type:"Polygon",arcs:[[-278,-280,283,284]],id:"566",properties:{name:"Nigeria",countryCode:"NG"}},{type:"Polygon",arcs:[[-130,285,286,287,288,289,-284,-279]],id:"120",properties:{name:"Cameroon",countryCode:"CM"}},{type:"Polygon",arcs:[[-275,290,291,292]],id:"768",properties:{name:"Togo",countryCode:"TG"}},{type:"Polygon",arcs:[[-292,293,294,295]],id:"288",properties:{name:"Ghana",countryCode:"GH"}},{type:"Polygon",arcs:[[-270,296,-295,297,298,299]],id:"384",properties:{name:"Côte d’Ivoire",countryCode:"CI"}},{type:"Polygon",arcs:[[-262,-271,-300,300,301,302,303]],id:"324",properties:{name:"Guinea",countryCode:"GN"}},{type:"Polygon",arcs:[[-263,-304,304]],id:"624",properties:{name:"Guinea-Bissau",countryCode:"GW"}},{type:"Polygon",arcs:[[-299,305,306,-301]],id:"430",properties:{name:"Liberia",countryCode:"LR"}},{type:"Polygon",arcs:[[-302,-307,307]],id:"694",properties:{name:"Sierra Leone",countryCode:"SL"}},{type:"Polygon",arcs:[[-269,-281,-276,-293,-296,-297]],id:"854",properties:{name:"Burkina Faso",countryCode:"BF"}},{type:"Polygon",arcs:[[-108,308,-286,-129,-121,309]],id:"140",properties:{name:"Central African Republic",countryCode:"CF"}},{type:"Polygon",arcs:[[-107,310,311,312,-287,-309]],id:"178",properties:{name:"Congo - Brazzaville",countryCode:"CG"}},{type:"Polygon",arcs:[[-288,-313,313,314]],id:"266",properties:{name:"Gabon",countryCode:"GA"}},{type:"Polygon",arcs:[[-289,-315,315]],id:"226",properties:{name:"Equatorial Guinea",countryCode:"GQ"}},{type:"Polygon",arcs:[[-7,316,317,-252,-255,-258,318,-103]],id:"894",properties:{name:"Zambia",countryCode:"ZM"}},{type:"Polygon",arcs:[[-6,319,-317]],id:"454",properties:{name:"Malawi",countryCode:"MW"}},{type:"Polygon",arcs:[[-5,320,-184,321,-182,-253,-318,-320]],id:"508",properties:{name:"Mozambique",countryCode:"MZ"}},{type:"Polygon",arcs:[[-183,-322]],id:"748",properties:{name:"Eswatini",countryCode:"SZ"}},{type:"MultiPolygon",arcs:[[[-106,322,-311]],[[-104,-319,-257,323]]],id:"024",properties:{name:"Angola",countryCode:"AO"}},{type:"Polygon",arcs:[[-9,-112,324]],id:"108",properties:{name:"Burundi",countryCode:"BI"}},{type:"Polygon",arcs:[[325,326,327,328,329,330,331]],id:"376",properties:{name:"Israel",countryCode:"IL"}},{type:"Polygon",arcs:[[-331,332,333]],id:"422",properties:{name:"Lebanon",countryCode:"LB"}},{type:"Polygon",arcs:[[334]],id:"450",properties:{name:"Madagascar",countryCode:"MG"}},{type:"Polygon",arcs:[[-327,335]],id:"275",properties:{name:"Palestinian Territories",countryCode:"PS"}},{type:"Polygon",arcs:[[-265,336]],id:"270",properties:{name:"Gambia",countryCode:"GM"}},{type:"Polygon",arcs:[[337,338,339]],id:"788",properties:{name:"Tunisia",countryCode:"TN"}},{type:"Polygon",arcs:[[-12,340,341,-338,342,-282,-267,-272]],id:"012",properties:{name:"Algeria",countryCode:"DZ"}},{type:"Polygon",arcs:[[-326,343,344,345,346,-328,-336]],id:"400",properties:{name:"Jordan",countryCode:"JO"}},{type:"Polygon",arcs:[[347,348,349,350,351]],id:"784",properties:{name:"United Arab Emirates",countryCode:"AE"}},{type:"Polygon",arcs:[[352,353]],id:"634",properties:{name:"Qatar",countryCode:"QA"}},{type:"Polygon",arcs:[[354,355,356]],id:"414",properties:{name:"Kuwait",countryCode:"KW"}},{type:"Polygon",arcs:[[-345,357,358,359,360,-357,361]],id:"368",properties:{name:"Iraq",countryCode:"IQ"}},{type:"MultiPolygon",arcs:[[[-351,362,363,364]],[[-349,365]]],id:"512",properties:{name:"Oman",countryCode:"OM"}},{type:"MultiPolygon",arcs:[[[366]],[[367]]],id:"548",properties:{name:"Vanuatu",countryCode:"VU"}},{type:"Polygon",arcs:[[368,369,370,371]],id:"116",properties:{name:"Cambodia",countryCode:"KH"}},{type:"Polygon",arcs:[[-369,372,373,374,375,376]],id:"764",properties:{name:"Thailand",countryCode:"TH"}},{type:"Polygon",arcs:[[-370,-377,377,378,379]],id:"418",properties:{name:"Laos",countryCode:"LA"}},{type:"Polygon",arcs:[[-376,380,381,382,383,-378]],id:"104",properties:{name:"Myanmar (Burma)",countryCode:"MM"}},{type:"Polygon",arcs:[[-371,-380,384,385]],id:"704",properties:{name:"Vietnam",countryCode:"VN"}},{type:"MultiPolygon",arcs:[[[386,386,386]],[[-147,387,388,389,390]]],id:"408",properties:{name:"North Korea",countryCode:"KP"}},{type:"Polygon",arcs:[[-389,391]],id:"410",properties:{name:"South Korea",countryCode:"KR"}},{type:"Polygon",arcs:[[-149,392]],id:"496",properties:{name:"Mongolia",countryCode:"MN"}},{type:"Polygon",arcs:[[-383,393,394,395,396,397,398,399,400]],id:"356",properties:{name:"India",countryCode:"IN"}},{type:"Polygon",arcs:[[-382,401,-394]],id:"050",properties:{name:"Bangladesh",countryCode:"BD"}},{type:"Polygon",arcs:[[-400,402]],id:"064",properties:{name:"Bhutan",countryCode:"BT"}},{type:"Polygon",arcs:[[-398,403]],id:"524",properties:{name:"Nepal",countryCode:"NP"}},{type:"Polygon",arcs:[[-396,404,405,406,407]],id:"586",properties:{name:"Pakistan",countryCode:"PK"}},{type:"Polygon",arcs:[[-69,408,409,-407,410,411]],id:"004",properties:{name:"Afghanistan",countryCode:"AF"}},{type:"Polygon",arcs:[[-68,412,413,-409]],id:"762",properties:{name:"Tajikistan",countryCode:"TJ"}},{type:"Polygon",arcs:[[-62,414,-413,-67]],id:"417",properties:{name:"Kyrgyzstan",countryCode:"KG"}},{type:"Polygon",arcs:[[-64,-70,-412,415,416]],id:"795",properties:{name:"Turkmenistan",countryCode:"TM"}},{type:"Polygon",arcs:[[-360,417,418,419,420,421,-416,-411,-406,422]],id:"364",properties:{name:"Iran",countryCode:"IR"}},{type:"Polygon",arcs:[[-332,-334,423,424,-358,-344]],id:"760",properties:{name:"Syria",countryCode:"SY"}},{type:"Polygon",arcs:[[-420,425,426,427,428]],id:"051",properties:{name:"Armenia",countryCode:"AM"}},{type:"Polygon",arcs:[[-172,429,430]],id:"752",properties:{name:"Sweden",countryCode:"SE"}},{type:"Polygon",arcs:[[-156,431,432,433,434]],id:"112",properties:{name:"Belarus",countryCode:"BY"}},{type:"Polygon",arcs:[[-155,435,-164,436,437,438,439,440,441,442,-432]],id:"804",properties:{name:"Ukraine",countryCode:"UA"}},{type:"Polygon",arcs:[[-433,-443,443,444,445,446,-142,447]],id:"616",properties:{name:"Poland",countryCode:"PL"}},{type:"Polygon",arcs:[[448,449,450,451,452,453,454]],id:"040",properties:{name:"Austria",countryCode:"AT"}},{type:"Polygon",arcs:[[-441,455,456,457,458,-449,459]],id:"348",properties:{name:"Hungary",countryCode:"HU"}},{type:"Polygon",arcs:[[-439,460]],id:"498",properties:{name:"Moldova",countryCode:"MD"}},{type:"Polygon",arcs:[[-438,461,462,463,-456,-440,-461]],id:"642",properties:{name:"Romania",countryCode:"RO"}},{type:"Polygon",arcs:[[-434,-448,-144,464,465]],id:"440",properties:{name:"Lithuania",countryCode:"LT"}},{type:"Polygon",arcs:[[-157,-435,-466,466,467]],id:"428",properties:{name:"Latvia",countryCode:"LV"}},{type:"Polygon",arcs:[[-158,-468,468]],id:"233",properties:{name:"Estonia",countryCode:"EE"}},{type:"Polygon",arcs:[[-446,469,-453,470,-238,471,472,473,474,475,476]],id:"276",properties:{name:"Germany",countryCode:"DE"}},{type:"Polygon",arcs:[[-463,477,478,479,480,481]],id:"100",properties:{name:"Bulgaria",countryCode:"BG"}},{type:"MultiPolygon",arcs:[[[482]],[[-480,483,484,485,486]]],id:"300",properties:{name:"Greece",countryCode:"GR"}},{type:"MultiPolygon",arcs:[[[-359,-425,487,488,-427,-418]],[[-479,489,-484]]],id:"792",properties:{name:"Turkey",countryCode:"TR"}},{type:"Polygon",arcs:[[-486,490,491,492,493]],id:"008",properties:{name:"Albania",countryCode:"AL"}},{type:"Polygon",arcs:[[-458,494,495,496,497,498]],id:"191",properties:{name:"Croatia",countryCode:"HR"}},{type:"Polygon",arcs:[[-452,499,-239,-471]],id:"756",properties:{name:"Switzerland",countryCode:"CH"}},{type:"Polygon",arcs:[[-472,-245,500]],id:"442",properties:{name:"Luxembourg",countryCode:"LU"}},{type:"Polygon",arcs:[[-473,-501,-244,501,502]],id:"056",properties:{name:"Belgium",countryCode:"BE"}},{type:"Polygon",arcs:[[-474,-503,503]],id:"528",properties:{name:"Netherlands",countryCode:"NL"}},{type:"Polygon",arcs:[[504,505]],id:"620",properties:{name:"Portugal",countryCode:"PT"}},{type:"Polygon",arcs:[[-505,506,-242,507]],id:"724",properties:{name:"Spain",countryCode:"ES"}},{type:"Polygon",arcs:[[508,509]],id:"372",properties:{name:"Ireland",countryCode:"IE"}},{type:"Polygon",arcs:[[510]],id:"540",properties:{name:"New Caledonia",countryCode:"NC"}},{type:"MultiPolygon",arcs:[[[511]],[[512]],[[513]],[[514]],[[515]]],id:"090",properties:{name:"Solomon Islands",countryCode:"SB"}},{type:"MultiPolygon",arcs:[[[516]],[[517]]],id:"554",properties:{name:"New Zealand",countryCode:"NZ"}},{type:"MultiPolygon",arcs:[[[518]],[[519]]],id:"036",properties:{name:"Australia",countryCode:"AU"}},{type:"Polygon",arcs:[[520]],id:"144",properties:{name:"Sri Lanka",countryCode:"LK"}},{type:"MultiPolygon",arcs:[[[521]],[[-61,-150,-393,-148,-391,522,-385,-379,-384,-401,-403,-399,-404,-397,-408,-410,-414,-415]]],id:"156",properties:{name:"China",countryCode:"CN"}},{type:"Polygon",arcs:[[523]],id:"158",properties:{name:"Taiwan",countryCode:"TW"}},{type:"MultiPolygon",arcs:[[[-451,524,525,-240,-500]],[[526]],[[527]]],id:"380",properties:{name:"Italy",countryCode:"IT"}},{type:"MultiPolygon",arcs:[[[-476,528]],[[529]]],id:"208",properties:{name:"Denmark",countryCode:"DK"}},{type:"MultiPolygon",arcs:[[[-510,530]],[[531]]],id:"826",properties:{name:"United Kingdom",countryCode:"GB"}},{type:"Polygon",arcs:[[532]],id:"352",properties:{name:"Iceland",countryCode:"IS"}},{type:"MultiPolygon",arcs:[[[-152,533,-421,-429,534]],[[-419,-426]]],id:"031",properties:{name:"Azerbaijan",countryCode:"AZ"}},{type:"Polygon",arcs:[[-153,-535,-428,-489,535]],id:"268",properties:{name:"Georgia",countryCode:"GE"}},{type:"MultiPolygon",arcs:[[[536]],[[537]],[[538]],[[539]],[[540]],[[541]],[[542]]],id:"608",properties:{name:"Philippines",countryCode:"PH"}},{type:"MultiPolygon",arcs:[[[-374,543]],[[-81,544,545,546]]],id:"458",properties:{name:"Malaysia",countryCode:"MY"}},{type:"Polygon",arcs:[[-546,547]],id:"096",properties:{name:"Brunei",countryCode:"BN"}},{type:"Polygon",arcs:[[-450,-459,-499,548,-525]],id:"705",properties:{name:"Slovenia",countryCode:"SI"}},{type:"Polygon",arcs:[[-160,549,-430,-171]],id:"246",properties:{name:"Finland",countryCode:"FI"}},{type:"Polygon",arcs:[[-442,-460,-455,550,-444]],id:"703",properties:{name:"Slovakia",countryCode:"SK"}},{type:"Polygon",arcs:[[-445,-551,-454,-470]],id:"203",properties:{name:"Czechia",countryCode:"CZ"}},{type:"Polygon",arcs:[[-126,551,552,553]],id:"232",properties:{name:"Eritrea",countryCode:"ER"}},{type:"MultiPolygon",arcs:[[[554]],[[555]],[[556]]],id:"392",properties:{name:"Japan",countryCode:"JP"}},{type:"Polygon",arcs:[[-193,-97,-202]],id:"600",properties:{name:"Paraguay",countryCode:"PY"}},{type:"Polygon",arcs:[[-364,557,558]],id:"887",properties:{name:"Yemen",countryCode:"YE"}},{type:"Polygon",arcs:[[-346,-362,-356,559,-354,560,-3