1import{a7 as Os,r as L,R as ie,i as et,j as C,h as qs,L as $s}from"./index-DuBrVlzG.js";var co={exports:{}},Is="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",js=Is,Ls=js;function fo(){}function ho(){}ho.resetWarningCache=fo;var Ds=function(){function e(r,i,o,s,l,u){if(u!==Ls){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return 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:ho,resetWarningCache:fo};return n.PropTypes=n,n};co.exports=Ds();var zs=co.exports;const A=Os(zs);class ae{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let r=0;for(let i=0;i<this._n&&i<32;i++){const o=n[i],s=t+o,l=Math.abs(t)<Math.abs(o)?t-(s-o):o-(s-t);l&&(n[r++]=l),t=s}return n[r]=t,this._n=r+1,this}valueOf(){const t=this._partials;let n=this._n,r,i,o,s=0;if(n>0){for(s=t[--n];n>0&&(r=s,i=t[--n],s=r+i,o=i-(s-r),!o););n>0&&(o<0&&t[n-1]<0||o>0&&t[n-1]>0)&&(i=o*2,r=s+i,i==r-s&&(s=r))}return s}}function*Us(e){for(const t of e)yield*t}function po(e){return Array.from(Us(e))}function it(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r<i;)o[r]=e+r*n;return o}var q=1e-6,Tt=1e-12,W=Math.PI,ne=W/2,cn=W/4,fe=W*2,B=180/W,$=W/180,Y=Math.abs,dt=Math.atan,he=Math.atan2,T=Math.cos,Kt=Math.ceil,mo=Math.exp,er=Math.hypot,fn=Math.log,Wn=Math.pow,M=Math.sin,Se=Math.sign||function(e){return e>0?1:e<0?-1:0},oe=Math.sqrt,Or=Math.tan;function go(e){return e>1?0:e<-1?W:Math.acos(e)}function pe(e){return e>1?ne:e<-1?-ne:Math.asin(e)}function hi(e){return(e=M(e/2))*e}function ee(){}function hn(e,t){e&&di.hasOwnProperty(e.type)&&di[e.type](e,t)}var pi={Feature:function(e,t){hn(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)hn(n[r].geometry,t)}},di={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){tr(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)tr(n[r],t,0)},Polygon:function(e,t){mi(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)mi(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)hn(n[r],t)}};function tr(e,t,n){var r=-1,i=e.length-n,o;for(t.lineStart();++r<i;)o=e[r],t.point(o[0],o[1],o[2]);t.lineEnd()}function mi(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)tr(e[n],t,1);t.polygonEnd()}function Ae(e,t){e&&pi.hasOwnProperty(e.type)?pi[e.type](e,t):hn(e,t)}var pn=new ae,dn=new ae,yo,vo,nr,rr,ir,Oe={point:ee,lineStart:ee,lineEnd:ee,polygonStart:function(){pn=new ae,Oe.lineStart=Fs,Oe.lineEnd=Ws},polygonEnd:function(){var e=+pn;dn.add(e<0?fe+e:e),this.lineStart=this.lineEnd=this.point=ee},sphere:function(){dn.add(fe)}};function Fs(){Oe.point=Ys}function Ws(){wo(yo,vo)}function Ys(e,t){Oe.point=wo,yo=e,vo=t,e*=$,t*=$,nr=e,rr=T(t=t/2+cn),ir=M(t)}function wo(e,t){e*=$,t*=$,t=t/2+cn;var n=e-nr,r=n>=0?1:-1,i=r*n,o=T(t),s=M(t),l=ir*s,u=rr*o+l*T(i),c=l*r*M(i);pn.add(he(c,u)),nr=e,rr=o,ir=s}function Hs(e){return dn=new ae,Ae(e,Oe),dn*2}function mn(e){return[he(e[1],e[0]),pe(e[2])]}function Be(e){var t=e[0],n=e[1],r=T(n);return[r*T(t),r*M(t),M(n)]}function Xt(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function ut(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 Yn(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Gt(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function gn(e){var t=oe(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var Q,de,te,xe,Ge,xo,bo,at,Pt,He,Ue,je={point:or,lineStart:gi,lineEnd:yi,polygonStart:function(){je.point=No,je.lineStart=Vs,je.lineEnd=Ks,Pt
vendor: 16,232 bytes, line 1
1=new ae,Oe.polygonStart()},polygonEnd:function(){Oe.polygonEnd(),je.point=or,je.lineStart=gi,je.lineEnd=yi,pn<0?(Q=-(te=180),de=-(xe=90)):Pt>q?xe=90:Pt<-q&&(de=-90),Ue[0]=Q,Ue[1]=te},sphere:function(){Q=-(te=180),de=-(xe=90)}};function or(e,t){He.push(Ue=[Q=e,te=e]),t<de&&(de=t),t>xe&&(xe=t)}function _o(e,t){var n=Be([e*$,t*$]);if(at){var r=ut(at,n),i=[r[1],-r[0],0],o=ut(i,r);gn(o),o=mn(o);var s=e-Ge,l=s>0?1:-1,u=o[0]*B*l,c,a=Y(s)>180;a^(l*Ge<u&&u<l*e)?(c=o[1]*B,c>xe&&(xe=c)):(u=(u+360)%360-180,a^(l*Ge<u&&u<l*e)?(c=-o[1]*B,c<de&&(de=c)):(t<de&&(de=t),t>xe&&(xe=t))),a?e<Ge?we(Q,e)>we(Q,te)&&(te=e):we(e,te)>we(Q,te)&&(Q=e):te>=Q?(e<Q&&(Q=e),e>te&&(te=e)):e>Ge?we(Q,e)>we(Q,te)&&(te=e):we(e,te)>we(Q,te)&&(Q=e)}else He.push(Ue=[Q=e,te=e]);t<de&&(de=t),t>xe&&(xe=t),at=n,Ge=e}function gi(){je.point=_o}function yi(){Ue[0]=Q,Ue[1]=te,je.point=or,at=null}function No(e,t){if(at){var n=e-Ge;Pt.add(Y(n)>180?n+(n>0?360:-360):n)}else xo=e,bo=t;Oe.point(e,t),_o(e,t)}function Vs(){Oe.lineStart()}function Ks(){No(xo,bo),Oe.lineEnd(),Y(Pt)>q&&(Q=-(te=180)),Ue[0]=Q,Ue[1]=te,at=null}function we(e,t){return(t-=e)<0?t+360:t}function Xs(e,t){return e[0]-t[0]}function vi(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}function Gs(e){var t,n,r,i,o,s,l;if(xe=te=-(Q=de=1/0),He=[],Ae(e,je),n=He.length){for(He.sort(Xs),t=1,r=He[0],o=[r];t<n;++t)i=He[t],vi(r,i[0])||vi(r,i[1])?(we(r[0],i[1])>we(r[0],r[1])&&(r[1]=i[1]),we(i[0],r[1])>we(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(s=-1/0,n=o.length-1,t=0,r=o[n];t<=n;r=i,++t)i=o[t],(l=we(r[1],i[0]))>s&&(s=l,Q=i[0],te=r[1])}return He=Ue=null,Q===1/0||de===1/0?[[NaN,NaN],[NaN,NaN]]:[[Q,de],[te,xe]]}var wt,yn,vn,wn,xn,bn,_n,Nn,sr,ar,lr,So,Co,le,ue,ce,Pe={sphere:ee,point:qr,lineStart:wi,lineEnd:xi,polygonStart:function(){Pe.lineStart=Js,Pe.lineEnd=Qs},polygonEnd:function(){Pe.lineStart=wi,Pe.lineEnd=xi}};function qr(e,t){e*=$,t*=$;var n=T(t);Ut(n*T(e),n*M(e),M(t))}function Ut(e,t,n){++wt,vn+=(e-vn)/wt,wn+=(t-wn)/wt,xn+=(n-xn)/wt}function wi(){Pe.point=Bs}function Bs(e,t){e*=$,t*=$;var n=T(t);le=n*T(e),ue=n*M(e),ce=M(t),Pe.point=Zs,Ut(le,ue,ce)}function Zs(e,t){e*=$,t*=$;var n=T(t),r=n*T(e),i=n*M(e),o=M(t),s=he(oe((s=ue*o-ce*i)*s+(s=ce*r-le*o)*s+(s=le*i-ue*r)*s),le*r+ue*i+ce*o);yn+=s,bn+=s*(le+(le=r)),_n+=s*(ue+(ue=i)),Nn+=s*(ce+(ce=o)),Ut(le,ue,ce)}function xi(){Pe.point=qr}function Js(){Pe.point=ea}function Qs(){Ao(So,Co),Pe.point=qr}function ea(e,t){So=e,Co=t,e*=$,t*=$,Pe.point=Ao;var n=T(t);le=n*T(e),ue=n*M(e),ce=M(t),Ut(le,ue,ce)}function Ao(e,t){e*=$,t*=$;var n=T(t),r=n*T(e),i=n*M(e),o=M(t),s=ue*o-ce*i,l=ce*r-le*o,u=le*i-ue*r,c=er(s,l,u),a=pe(c),f=c&&-a/c;sr.add(f*s),ar.add(f*l),lr.add(f*u),yn+=a,bn+=a*(le+(le=r)),_n+=a*(ue+(ue=i)),Nn+=a*(ce+(ce=o)),Ut(le,ue,ce)}function ta(e){wt=yn=vn=wn=xn=bn=_n=Nn=0,sr=new ae,ar=new ae,lr=new ae,Ae(e,Pe);var t=+sr,n=+ar,r=+lr,i=er(t,n,r);return i<Tt&&(t=bn,n=_n,r=Nn,yn<q&&(t=vn,n=wn,r=xn),i=er(t,n,r),i<Tt)?[NaN,NaN]:[he(n,t)*B,pe(r/i)*B]}function Qe(e){return function(){return e}}function ur(e,t){function n(r,i){return r=e(r,i),t(r[0],r[1])}return e.invert&&t.invert&&(n.invert=function(r,i){return r=t.invert(r,i),r&&e.invert(r[0],r[1])}),n}function cr(e,t){return[Y(e)>W?e+Math.round(-e/fe)*fe:e,t]}cr.invert=cr;function $r(e,t,n){return(e%=fe)?t||n?ur(_i(e),Ni(t,n)):_i(e):t||n?Ni(t,n):cr}function bi(e){return function(t,n){return t+=e,[t>W?t-fe:t<-W?t+fe:t,n]}}function _i(e){var t=bi(e);return t.invert=bi(-e),t}function Ni(e,t){var n=T(e),r=M(e),i=T(t),o=M(t);function s(l,u){var c=T(u),a=T(l)*c,f=M(l)*c,h=M(u),p=h*n+a*r;return[he(f*i-p*o,a*n-h*r),pe(p*i+f*o)]}return s.invert=function(l,u){var c=T(u),a=T(l)*c,f=M(l)*c,h=M(u),p=h*i-f*o;return[he(f*i+h*o,a*n+p*r),pe(p*n-a*r)]},s}function Po(e){e=$r(e[0]*$,e[1]*$,e.length>2?e[2]*$:0);function t(n){return n=e(n[0]*$,n[1]*$),n[0]*=B,n[1]*=B,n}return t.invert=function(n){return n=e.invert(n[0]*$,n[1]*$),n[0]*=B,n[1]*=B,n},t}function Eo(e,t,n,r,i,o){if(n){var s=T(t),l=M(t),u=r*n;i==null?(i=t+r*fe,o=t-u/2):(i=Si(s,i),o=Si(s,o),(r>0?i<o:i>o)&&(i+=r*fe));for(var c,a=i;r>0?a>o:a<o;a-=u)c=mn([s,-l*T(a),-l*M(a)]),e.point(c[0],c[1])}}function Si(e,t){t=Be(t),t[0]-=e,gn(t);var n=go(-t[1]);return((-t[2]<0?-n:n)+fe-q)%fe}function na(){var e=Qe([0,0]),t=Qe(90),n=Qe(6),r,i,o={point:s};function s(u,c){r.push(u=i(u,c)),u[0]*=B,u[1]*=B}function l(){var u=e.apply(this,arguments),c=t.apply(this,arguments)*$,a=n.apply(this,arguments)*$;return r=[],i=$r(-u[0]*$,-u[1]*$,0).invert,Eo(o,c,a,1),u={type:"Polygon",coordinates:[r]},r=i=null,u}return l.center=function(u){return arguments.length?(e=typeof u=="function"?u:Qe([+u[0],+u[1]]),l):e},l.radius=function(u){return arguments.length?(t=typeof u=="function"?u:Qe(+u),l):t},l.precision=function(u){return arguments.length?(n=typeof u=="function"?u:Qe(+u),l):n},l}function Mo(){var e=[],t;return{point:function(n,r,i){t.push([n,r,i])},lineStart:function(){e.push(t=[])},lineEnd:ee,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function nn(e,t){return Y(e[0]-t[0])<q&&Y(e[1]-t[1])<q}function Bt(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Ro(e,t,n,r,i){var o=[],s=[],l,u;if(e.forEach(function(d){if(!((b=d.length-1)<=0)){var b,_=d[0],w=d[b],N;if(nn(_,w)){if(!_[2]&&!w[2]){for(i.lineStart(),l=0;l<b;++l)i.point((_=d[l])[0],_[1]);i.lineEnd();return}w[0]+=2*q}o.push(N=new Bt(_,d,null,!0)),s.push(N.o=new Bt(_,null,N,!1)),o.push(N=new Bt(w,d,null,!1)),s.push(N.o=new Bt(w,null,N,!0))}}),!!o.length){for(s.sort(t),Ci(o),Ci(s),l=0,u=s.length;l<u;++l)s[l].e=n=!n;for(var c=o[0],a,f;;){for(var h=c,p=!0;h.v;)if((h=h.n)===c)return;a=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(l=0,u=a.length;l<u;++l)i.point((f=a[l])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(a=h.p.z,l=a.length-1;l>=0;--l)i.point((f=a[l])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,a=h.z,p=!p}while(!h.v);i.lineEnd()}}}function Ci(e){if(t=e.length){for(var t,n=0,r=e[0],i;++n<t;)r.n=i=e[n],i.p=r,r=i;r.n=i=e[0],i.p=r}}function Hn(e){return Y(e[0])<=W?e[0]:Se(e[0])*((Y(e[0])+W)%fe-W)}function ko(e,t){var n=Hn(t),r=t[1],i=M(r),o=[M(n),-T(n),0],s=0,l=0,u=new ae;i===1?r=ne+q:i===-1&&(r=-ne-q);for(var c=0,a=e.length;c<a;++c)if(h=(f=e[c]).length)for(var f,h,p=f[h-1],d=Hn(p),b=p[1]/2+cn,_=M(b),w=T(b),N=0;N<h;++N,d=x,_=P,w=O,p=v){var v=f[N],x=Hn(v),S=v[1]/2+cn,P=M(S),O=T(S),j=x-d,z=j>=0?1:-1,U=z*j,I=U>W,H=_*P;if(u.add(he(H*z*M(U),w*O+H*T(U))),s+=I?j+z*fe:j,I^d>=n^x>=n){var X=ut(Be(p),Be(v));gn(X);var m=ut(o,X);gn(m);var g=(I^j>=0?-1:1)*pe(m[2]);(r>g||r===g&&(X[0]||X[1]))&&(l+=I^j>=0?1:-1)}}return(s<-q||s<q&&u<-Tt)^l&1}function To(e,t,n,r){return function(i){var o=t(i),s=Mo(),l=t(s),u=!1,c,a,f,h={point:p,lineStart:b,lineEnd:_,polygonStart:function(){h.point=w,h.lineStart=N,h.lineEnd=v,a=[],c=[]},polygonEnd:function(){h.point=p,h.lineStart=b,h.lineEnd=_,a=po(a);var x=ko(c,r);a.length?(u||(i.polygonStart(),u=!0),Ro(a,ia,x,n,i)):x&&(u||(i.polygonStart(),u=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),u&&(i.polygonEnd(),u=!1),a=c=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(x,S){e(x,S)&&i.point(x,S)}function d(x,S){o.point(x,S)}function b(){h.point=d,o.lineStart()}function _(){h.point=p,o.lineEnd()}function w(x,S){f.push([x,S]),l.point(x,S)}function N(){l.lineStart(),f=[]}function v(){w(f[0][0],f[0][1]),l.lineEnd();var x=l.clean(),S=s.result(),P,O=S.length,j,z,U;if(f.pop(),c.push(f),f=null,!!O){if(x&1){if(z=S[0],(j=z.length-1)>0){for(u||(i.polygonStart(),u=!0),i.lineStart(),P=0;P<j;++P)i.point((U=z[P])[0],U[1]);i.lineEnd()}return}O>1&&x&2&&S.push(S.pop().concat(S.shift())),a.push(S.filter(ra))}}return h}}function ra(e){return e.length>1}function ia(e,t){return((e=e.x)[0]<0?e[1]-ne-q:ne-e[1])-((t=t.x)[0]<0?t[1]-ne-q:ne-t[1])}const fr=To(function(){return!0},oa,aa,[-W,-ne]);function oa(e){var t=NaN,n=NaN,r=NaN,i;return{lineStart:function(){e.lineStart(),i=1},point:function(o,s){var l=o>0?W:-W,u=Y(o-t);Y(u-W)<q?(e.point(t,n=(n+s)/2>0?ne:-ne),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(l,n),e.point(o,n),i=0):r!==l&&u>=W&&(Y(t-r)<q&&(t-=r*q),Y(o-l)<q&&(o-=l*q),n=sa(t,n,o,s),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(l,n),i=0),e.point(t=o,n=s),r=l},lineEnd:function(){e.lineEnd(),t=n=NaN},clean:function(){return 2-i}}}function sa(e,t,n,r){var i,o,s=M(e-n);return Y(s)>q?dt((M(t)*(o=T(r))*M(n)-M(r)*(i=T(t))*M(e))/(i*o*s)):(t+r)/2}function aa(e,t,n,r){var i;if(e==null)i=n*ne,r.point(-W,i),r.point(0,i),r.point(W,i),r.point(W,0),r.point(W,-i),r.point(0,-i),r.point(-W,-i),r.point(-W,0),r.point(-W,i);else if(Y(e[0]-t[0])>q){var o=e[0]<t[0]?W:-W;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(t[0],t[1])}function Oo(e){var t=T(e),n=6*$,r=t>0,i=Y(t)>q;function o(a,f,h,p){Eo(p,e,n,h,a,f)}function s(a,f){return T(a)*T(f)>t}function l(a){var f,h,p,d,b;return{lineStart:function(){d=p=!1,b=1},point:function(_,w){var N=[_,w],v,x=s(_,w),S=r?x?0:c(_,w):x?c(_+(_<0?W:-W),w):0;if(!f&&(d=p=x)&&a.lineStart(),x!==p&&(v=u(f,N),(!v||nn(f,v)||nn(N,v))&&(N[2]=1)),x!==p)b=0,x?(a.lineStart(),v=u(N,f),a.point(v[0],v[1])):(v=u(f,N),a.point(v[0],v[1],2),a.lineEnd()),f=v;else if(i&&f&&r^x){var P;!(S&h)&&(P=u(N,f,!0))&&(b=0,r?(a.lineStart(),a.point(P[0][0],P[0][1]),a.point(P[1][0],P[1][1]),a.lineEnd()):(a.point(P[1][0],P[1][1]),a.lineEnd(),a.lineStart(),a.point(P[0][0],P[0][1],3)))}x&&(!f||!nn(f,N))&&a.point(N[0],N[1]),f=N,p=x,h=S},lineEnd:function(){p&&a.lineEnd(),f=null},clean:function(){return b|(d&&p)<<1}}}function u(a,f,h){var p=Be(a),d=Be(f),b=[1,0,0],_=ut(p,d),w=Xt(_,_),N=_[0],v=w-N*N;if(!v)return!h&&a;var x=t*w/v,S=-t*N/v,P=ut(b,_),O=Gt(b,x),j=Gt(_,S);Yn(O,j);var z=P,U=Xt(O,z),I=Xt(z,z),H=U*U-I*(Xt(O,O)-1);if(!(H<0)){var X=oe(H),m=Gt(z,(-U-X)/I);if(Yn(m,O),m=mn(m),!h)return m;var g=a[0],y=f[0],E=a[1],k=f[1],R;y<g&&(R=g,g=y,y=R);var D=y-g,F=Y(D-W)<q,V=F||D<q;if(!F&&k<E&&(R=E,E=k,k=R),V?F?E+k>0^m[1]<(Y(m[0]-g)<q?E:k):E<=m[1]&&m[1]<=k:D>W^(g<=m[0]&&m[0]<=y)){var Z=Gt(z,(-U+X)/I);return Yn(Z,O),[m,mn(Z)]}}}function c(a,f){var h=r?e:W-e,p=0;return a<-h?p|=1:a>h&&(p|=2),f<-h?p|=4:f>h&&(p|=8),p}return To(s,l,o,r?[0,-e]:[-W,e-W])}function la(e,t,n,r,i,o){var s=e[0],l=e[1],u=t[0],c=t[1],a=0,f=1,h=u-s,p=c-l,d;if(d=n-s,!(!h&&d>0)){if(d/=h,h<0){if(d<a)return;d<f&&(f=d)}else if(h>0){if(d>f)return;d>a&&(a=d)}if(d=i-s,!(!h&&d<0)){if(d/=h,h<0){if(d>f)return;d>a&&(a=d)}else if(h>0){if(d<a)return;d<f&&(f=d)}if(d=r-l,!(!p&&d>0)){if(d/=p,p<0){if(d<a)return;d<f&&(f=d)}else if(p>0){if(d>f)return;d>a&&(a=d)}if(d=o-l,!(!p&&d<0)){if(d/=p,p<0){if(d>f)return;d>a&&(a=d)}else if(p>0){if(d<a)return;d<f&&(f=d)}return a>0&&(e[0]=s+a*h,e[1]=l+a*p),f<1&&(t[0]=s+f*h,t[1]=l+f*p),!0}}}}}var xt=1e9,Zt=-xt;function Ln(e,t,n,r){function i(c,a){return e<=c&&c<=n&&t<=a&&a<=r}function o(c,a,f,h){var p=0,d=0;if(c==null||(p=s(c,f))!==(d=s(a,f))||u(c,a)<0^f>0)do h.point(p===0||p===3?e:n,p>1?r:t);while((p=(p+f+4)%4)!==d);else h.point(a[0],a[1])}function s(c,a){return Y(c[0]-e)<q?a>0?0:3:Y(c[0]-n)<q?a>0?2:1:Y(c[1]-t)<q?a>0?1:0:a>0?3:2}function l(c,a){return u(c.x,a.x)}function u(c,a){var f=s(c,1),h=s(a,1);return f!==h?f-h:f===0?a[1]-c[1]:f===1?c[0]-a[0]:f===2?c[1]-a[1]:a[0]-c[0]}return function(c){var a=c,f=Mo(),h,p,d,b,_,w,N,v,x,S,P,O={point:j,lineStart:H,lineEnd:X,polygonStart:U,polygonEnd:I};function j(g,y){i(g,y)&&a.point(g,y)}function z(){for(var g=0,y=0,E=p.length;y<E;++y)for(var k=p[y],R=1,D=k.length,F=k[0],V,Z,G=F[0],J=F[1];R<D;++R)V=G,Z=J,F=k[R],G=F[0],J=F[1],Z<=r?J>r&&(G-V)*(r-Z)>(J-Z)*(e-V)&&++g:J<=r&&(G-V)*(r-Z)<(J-Z)*(e-V)&&--g;return g}function U(){a=f,h=[],p=[],P=!0}function I(){var g=z(),y=P&&g,E=(h=po(h)).length;(y||E)&&(c.polygonStart(),y&&(c.lineStart(),o(null,null,1,c),c.lineEnd()),E&&Ro(h,l,g,o,c),c.polygonEnd()),a=c,h=p=d=null}function H(){O.point=m,p&&p.push(d=[]),S=!0,x=!1,N=v=NaN}function X(){h&&(m(b,_),w&&x&&f.rejoin(),h.push(f.result())),O.point=j,x&&a.lineEnd()}function m(g,y){var E=i(g,y);if(p&&d.push([g,y]),S)b=g,_=y,w=E,S=!1,E&&(a.lineStart(),a.point(g,y));else if(E&&x)a.point(g,y);else{var k=[N=Math.max(Zt,Math.min(xt,N)),v=Math.max(Zt,Math.min(xt,v))],R=[g=Math.max(Zt,Math.min(xt,g)),y=Math.max(Zt,Math.min(xt,y))];la(k,R,e,t,n,r)?(x||(a.lineStart(),a.point(k[0],k[1])),a.point(R[0],R[1]),E||a.lineEnd(),P=!1):E&&(a.lineStart(),a.point(g,y),P=!1)}N=g,v=y,x=E}return O}}function ua(){var e=0,t=0,n=960,r=500,i,o,s;return s={stream:function(l){return i&&o===l?i:i=Ln(e,t,n,r)(o=l)},extent:function(l){return arguments.length?(e=+l[0][0],t=+l[0][1],n=+l[1][0],r=+l[1][1],i=o=null,s):[[e,t],[n,r]]}}}var hr,pr,rn,on,ct={sphere:ee,point:ee,lineStart:ca,lineEnd:ee,polygonStart:ee,polygonEnd:ee};function ca(){ct.point=ha,ct.lineEnd=fa}function fa(){ct.point=ct.lineEnd=ee}function ha(e,t){e*=$,t*=$,pr=e,rn=M(t),on=T(t),ct.point=pa}function pa(e,t){e*=$,t*=$;var n=M(t),r=T(t),i=Y(e-pr),o=T(i),s=M(i),l=r*s,u=on*n-rn*r*o,c=rn*n+on*r*o;hr.add(he(oe(l*l+u*u),c)),pr=e,rn=n,on=r}function qo(e){return hr=new ae,Ae(e,ct),+hr}var dr=[null,null],da={type:"LineString",coordinates:dr};function Sn(e,t){return dr[0]=e,dr[1]=t,qo(da)}var Ai={Feature:function(e,t){return Cn(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)if(Cn(n[r].geometry,t))return!0;return!1}},Pi={Sphere:function(){return!0},Point:function(e,t){return Ei(e.coordinates,t)},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(Ei(n[r],t))return!0;return!1},LineString:function(e,t){return Mi(e.coordinates,t)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(Mi(n[r],t))return!0;return!1},Polygon:function(e,t){return Ri(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(Ri(n[r],t))return!0;return!1},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)if(Cn(n[r],t))return!0;return!1}};function Cn(e,t){return e&&Pi.hasOwnProperty(e.type)?Pi[e.type](e,t):!1}function Ei(e,t){return Sn(e,t)===0}function Mi(e,t){for(var n,r,i,o=0,s=e.length;o<s;o++){if(r=Sn(e[o],t),r===0||o>0&&(i=Sn(e[o],e[o-1]),i>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<Tt*i))return!0;n=r}return!1}function Ri(e,t){return!!ko(e.map(ma),$o(t))}function ma(e){return e=e.map($o),e.pop(),e}function $o(e){return[e[0]*$,e[1]*$]}function ga(e,t){return(e&&Ai.hasOwnProperty(e.type)?Ai[e.type]:Cn)(e,t)}function ki(e,t,n){var r=it(e,t-q,n).concat(t);return function(i){return r.map(function(o){return[i,o]})}}function Ti(e,t,n){var r=it(e,t-q,n).concat(t);return function(i){return r.map(function(o){return[o,i]})}}function Ir(){var e,t,n,r,i,o,s,l,u=10,c=u,a=90,f=360,h,p,d,b,_=2.5;function w(){return{type:"MultiLineString",coordinates:N()}}function N(){return it(Kt(r/a)*a,n,a).map(d).concat(it(Kt(l/f)*f,s,f).map(b)).concat(it(Kt(t/u)*u,e,u).filter(function(v){return Y(v%a)>q}).map(h)).concat(it(Kt(o/c)*c,i,c).filter(function(v){return Y(v%f)>q}).map(p))}return w.lines=function(){return N().map(function(v){return{type:"LineString",coordinates:v}})},w.outline=function(){return{type:"Polygon",coordinates:[d(r).concat(b(s).slice(1),d(n).reverse().slice(1),b(l).reverse().slice(1))]}},w.extent=function(v){return arguments.length?w.extentMajor(v).extentMinor(v):w.extentMinor()},w.extentMajor=function(v){return arguments.length?(r=+v[0][0],n=+v[1][0],l=+v[0][1],s=+v[1][1],r>n&&(v=r,r=n,n=v),l>s&&(v=l,l=s,s=v),w.precision(_)):[[r,l],[n,s]]},w.extentMinor=function(v){return arguments.length?(t=+v[0][0],e=+v[1][0],o=+v[0][1],i=+v[1][1],t>e&&(v=t,t=e,e=v),o>i&&(v=o,o=i,i=v),w.precision(_)):[[t,o],[e,i]]},w.step=function(v){return arguments.length?w.stepMajor(v).stepMinor(v):w.stepMinor()},w.stepMajor=function(v){return arguments.length?(a=+v[0],f=+v[1],w):[a,f]},w.stepMinor=function(v){return arguments.length?(u=+v[0],c=+v[1],w):[u,c]},w.precision=function(v){return arguments.length?(_=+v,h=ki(o,i,90),p=Ti(t,e,_),d=ki(l,s,90),b=Ti(r,n,_),w):_},w.extentMajor([[-180,-90+q],[180,90-q]]).extentMinor([[-180,-80-q],[180,80+q]])}function ya(){return Ir()()}function va(e,t){var n=e[0]*$,r=e[1]*$,i=t[0]*$,o=t[1]*$,s=T(r),l=M(r),u=T(o),c=M(o),a=s*T(n),f=s*M(n),h=u*T(i),p=u*M(i),d=2*pe(oe(hi(o-r)+s*u*hi(i-n))),b=M(d),_=d?function(w){var N=M(w*=d)/b,v=M(d-w)/b,x=v*a+N*h,S=v*f+N*p,P=v*l+N*c;
vendor: 8,694 bytes, line 1
1return[he(S,x)*B,he(P,oe(x*x+S*S))*B]}:function(){return[n*B,r*B]};return _.distance=d,_}const Ot=e=>e;var Vn=new ae,mr=new ae,Io,jo,gr,yr,Le={point:ee,lineStart:ee,lineEnd:ee,polygonStart:function(){Le.lineStart=wa,Le.lineEnd=ba},polygonEnd:function(){Le.lineStart=Le.lineEnd=Le.point=ee,Vn.add(Y(mr)),mr=new ae},result:function(){var e=Vn/2;return Vn=new ae,e}};function wa(){Le.point=xa}function xa(e,t){Le.point=Lo,Io=gr=e,jo=yr=t}function Lo(e,t){mr.add(yr*e-gr*t),gr=e,yr=t}function ba(){Lo(Io,jo)}var ft=1/0,An=ft,qt=-ft,Pn=qt,En={point:_a,lineStart:ee,lineEnd:ee,polygonStart:ee,polygonEnd:ee,result:function(){var e=[[ft,An],[qt,Pn]];return qt=Pn=-(An=ft=1/0),e}};function _a(e,t){e<ft&&(ft=e),e>qt&&(qt=e),t<An&&(An=t),t>Pn&&(Pn=t)}var vr=0,wr=0,bt=0,Mn=0,Rn=0,ot=0,xr=0,br=0,_t=0,Do,zo,Me,Re,Ne={point:Ze,lineStart:Oi,lineEnd:qi,polygonStart:function(){Ne.lineStart=Ca,Ne.lineEnd=Aa},polygonEnd:function(){Ne.point=Ze,Ne.lineStart=Oi,Ne.lineEnd=qi},result:function(){var e=_t?[xr/_t,br/_t]:ot?[Mn/ot,Rn/ot]:bt?[vr/bt,wr/bt]:[NaN,NaN];return vr=wr=bt=Mn=Rn=ot=xr=br=_t=0,e}};function Ze(e,t){vr+=e,wr+=t,++bt}function Oi(){Ne.point=Na}function Na(e,t){Ne.point=Sa,Ze(Me=e,Re=t)}function Sa(e,t){var n=e-Me,r=t-Re,i=oe(n*n+r*r);Mn+=i*(Me+e)/2,Rn+=i*(Re+t)/2,ot+=i,Ze(Me=e,Re=t)}function qi(){Ne.point=Ze}function Ca(){Ne.point=Pa}function Aa(){Uo(Do,zo)}function Pa(e,t){Ne.point=Uo,Ze(Do=Me=e,zo=Re=t)}function Uo(e,t){var n=e-Me,r=t-Re,i=oe(n*n+r*r);Mn+=i*(Me+e)/2,Rn+=i*(Re+t)/2,ot+=i,i=Re*e-Me*t,xr+=i*(Me+e),br+=i*(Re+t),_t+=i*3,Ze(Me=e,Re=t)}function Fo(e){this._context=e}Fo.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(){this._line===0&&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,fe);break}}},result:ee};var _r=new ae,Kn,Wo,Yo,Nt,St,$t={point:ee,lineStart:function(){$t.point=Ea},lineEnd:function(){Kn&&Ho(Wo,Yo),$t.point=ee},polygonStart:function(){Kn=!0},polygonEnd:function(){Kn=null},result:function(){var e=+_r;return _r=new ae,e}};function Ea(e,t){$t.point=Ho,Wo=Nt=e,Yo=St=t}function Ho(e,t){Nt-=e,St-=t,_r.add(oe(Nt*Nt+St*St)),Nt=e,St=t}function Vo(){this._string=[]}Vo.prototype={_radius:4.5,_circle:$i(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(){this._line===0&&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:{this._circle==null&&(this._circle=$i(this._radius)),this._string.push("M",e,",",t,this._circle);break}}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}else return null}};function $i(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Ko(e,t){var n=4.5,r,i;function o(s){return s&&(typeof n=="function"&&i.pointRadius(+n.apply(this,arguments)),Ae(s,r(i))),i.result()}return o.area=function(s){return Ae(s,r(Le)),Le.result()},o.measure=function(s){return Ae(s,r($t)),$t.result()},o.bounds=function(s){return Ae(s,r(En)),En.result()},o.centroid=function(s){return Ae(s,r(Ne)),Ne.result()},o.projection=function(s){return arguments.length?(r=s==null?(e=null,Ot):(e=s).stream,o):e},o.context=function(s){return arguments.length?(i=s==null?(t=null,new Vo):new Fo(t=s),typeof n!="function"&&i.pointRadius(n),o):t},o.pointRadius=function(s){return arguments.length?(n=typeof s=="function"?s:(i.pointRadius(+s),+s),o):n},o.projection(e).context(t)}function Ma(e){return{stream:Ft(e)}}function Ft(e){return function(t){var n=new Nr;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Nr(){}Nr.prototype={constructor:Nr,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()}};function jr(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),r!=null&&e.clipExtent(null),Ae(n,e.stream(En)),t(En.result()),r!=null&&e.clipExtent(r),e}function Dn(e,t,n){return jr(e,function(r){var i=t[1][0]-t[0][0],o=t[1][1]-t[0][1],s=Math.min(i/(r[1][0]-r[0][0]),o/(r[1][1]-r[0][1])),l=+t[0][0]+(i-s*(r[1][0]+r[0][0]))/2,u=+t[0][1]+(o-s*(r[1][1]+r[0][1]))/2;e.scale(150*s).translate([l,u])},n)}function Lr(e,t,n){return Dn(e,[[0,0],t],n)}function Dr(e,t,n){return jr(e,function(r){var i=+t,o=i/(r[1][0]-r[0][0]),s=(i-o*(r[1][0]+r[0][0]))/2,l=-o*r[0][1];e.scale(150*o).translate([s,l])},n)}function zr(e,t,n){return jr(e,function(r){var i=+t,o=i/(r[1][1]-r[0][1]),s=-o*r[0][0],l=(i-o*(r[1][1]+r[0][1]))/2;e.scale(150*o).translate([s,l])},n)}var Ii=16,Ra=T(30*$);function ji(e,t){return+t?Ta(e,t):ka(e)}function ka(e){return Ft({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function Ta(e,t){function n(r,i,o,s,l,u,c,a,f,h,p,d,b,_){var w=c-r,N=a-i,v=w*w+N*N;if(v>4*t&&b--){var x=s+h,S=l+p,P=u+d,O=oe(x*x+S*S+P*P),j=pe(P/=O),z=Y(Y(P)-1)<q||Y(o-f)<q?(o+f)/2:he(S,x),U=e(z,j),I=U[0],H=U[1],X=I-r,m=H-i,g=N*X-w*m;(g*g/v>t||Y((w*X+N*m)/v-.5)>.3||s*h+l*p+u*d<Ra)&&(n(r,i,o,s,l,u,I,H,z,x/=O,S/=O,P,b,_),_.point(I,H),n(I,H,z,x,S,P,c,a,f,h,p,d,b,_))}}return function(r){var i,o,s,l,u,c,a,f,h,p,d,b,_={point:w,lineStart:N,lineEnd:x,polygonStart:function(){r.polygonStart(),_.lineStart=S},polygonEnd:function(){r.polygonEnd(),_.lineStart=N}};function w(j,z){j=e(j,z),r.point(j[0],j[1])}function N(){f=NaN,_.point=v,r.lineStart()}function v(j,z){var U=Be([j,z]),I=e(j,z);n(f,h,a,p,d,b,f=I[0],h=I[1],a=j,p=U[0],d=U[1],b=U[2],Ii,r),r.point(f,h)}function x(){_.point=w,r.lineEnd()}function S(){N(),_.point=P,_.lineEnd=O}function P(j,z){v(i=j,z),o=f,s=h,l=p,u=d,c=b,_.point=v}function O(){n(f,h,a,p,d,b,o,s,i,l,u,c,Ii,r),_.lineEnd=x,x()}return _}}var Oa=Ft({point:function(e,t){this.stream.point(e*$,t*$)}});function qa(e){return Ft({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}function $a(e,t,n,r,i){function o(s,l){return s*=r,l*=i,[t+e*s,n-e*l]}return o.invert=function(s,l){return[(s-t)/e*r,(n-l)/e*i]},o}function Li(e,t,n,r,i,o){if(!o)return $a(e,t,n,r,i);var s=T(o),l=M(o),u=s*e,c=l*e,a=s/e,f=l/e,h=(l*n-s*t)/e,p=(l*t+s*n)/e;function d(b,_){return b*=r,_*=i,[u*b-c*_+t,n-c*b-u*_]}return d.invert=function(b,_){return[r*(a*b-f*_+h),i*(p-f*b-a*_)]},d}function qe(e){return Ur(function(){return e})()}function Ur(e){var t,n=150,r=480,i=250,o=0,s=0,l=0,u=0,c=0,a,f=0,h=1,p=1,d=null,b=fr,_=null,w,N,v,x=Ot,S=.5,P,O,j,z,U;function I(g){return j(g[0]*$,g[1]*$)}function H(g){return g=j.invert(g[0],g[1]),g&&[g[0]*B,g[1]*B]}I.stream=function(g){return z&&U===g?z:z=Oa(qa(a)(b(P(x(U=g)))))},I.preclip=function(g){return arguments.length?(b=g,d=void 0,m()):b},I.postclip=function(g){return arguments.length?(x=g,_=w=N=v=null,m()):x},I.clipAngle=function(g){return arguments.length?(b=+g?Oo(d=g*$):(d=null,fr),m()):d*B},I.clipExtent=function(g){return arguments.length?(x=g==null?(_=w=N=v=null,Ot):Ln(_=+g[0][0],w=+g[0][1],N=+g[1][0],v=+g[1][1]),m()):_==null?null:[[_,w],[N,v]]},I.scale=function(g){return arguments.length?(n=+g,X()):n},I.translate=function(g){return arguments.length?(r=+g[0],i=+g[1],X()):[r,i]},I.center=function(g){return arguments.length?(o=g[0]%360*$,s=g[1]%360*$,X()):[o*B,s*B]},I.rotate=function(g){return arguments.length?(l=g[0]%360*$,u=g[1]%360*$,c=g.length>2?g[2]%360*$:0,X()):[l*B,u*B,c*B]},I.angle=function(g){return arguments.length?(f=g%360*$,X()):f*B},I.reflectX=function(g){return arguments.length?(h=g?-1:1,X()):h<0},I.reflectY=function(g){return arguments.length?(p=g?-1:1,X()):p<0},I.precision=function(g){return arguments.length?(P=ji(O,S=g*g),m()):oe(S)},I.fitExtent=function(g,y){return Dn(I,g,y)},I.fitSize=function(g,y){return Lr(I,g,y)},I.fitWidth=function(g,y){return Dr(I,g,y)},I.fitHeight=function(g,y){return zr(I,g,y)};function X(){var g=Li(n,0,0,h,p,f).apply(null,t(o,s)),y=Li(n,r-g[0],i-g[1],h,p,f);return a=$r(l,u,c),O=ur(t,y),j=ur(a,O),P=ji(O,S),m()}function m(){return z=U=null,I}return function(){return t=e.apply(this,arguments),I.invert=t.invert&&H,X()}}function Fr(e){var t=0,n=W/3,r=Ur(e),i=r(t,n);return i.parallels=function(o){return arguments.length?r(t=o[0]*$,n=o[1]
vendor: 1,978 bytes, line 1
1*$):[t*B,n*B]},i}function Ia(e){var t=T(e);function n(r,i){return[r*t,M(i)/t]}return n.invert=function(r,i){return[r/t,pe(i*t)]},n}function Xo(e,t){var n=M(e),r=(n+M(t))/2;if(Y(r)<q)return Ia(e);var i=1+n*(2*r-n),o=oe(i)/r;function s(l,u){var c=oe(i-2*r*M(u))/r;return[c*M(l*=r),o-c*T(l)]}return s.invert=function(l,u){var c=o-u,a=he(l,Y(c))*Se(c);return c*r<0&&(a-=W*Se(l)*Se(c)),[a/r,pe((i-(l*l+c*c)*r*r)/(2*r))]},s}function kn(){return Fr(Xo).scale(155.424).center([0,33.6442])}function Go(){return kn().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function ja(e){var t=e.length;return{point:function(n,r){for(var i=-1;++i<t;)e[i].point(n,r)},sphere:function(){for(var n=-1;++n<t;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<t;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<t;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<t;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<t;)e[n].polygonEnd()}}}function La(){var e,t,n=Go(),r,i=kn().rotate([154,0]).center([-2,58.5]).parallels([55,65]),o,s=kn().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l,u,c={point:function(h,p){u=[h,p]}};function a(h){var p=h[0],d=h[1];return u=null,r.point(p,d),u||(o.point(p,d),u)||(l.point(p,d),u)}a.invert=function(h){var p=n.scale(),d=n.translate(),b=(h[0]-d[0])/p,_=(h[1]-d[1])/p;return(_>=.12&&_<.234&&b>=-.425&&b<-.214?i:_>=.166&&_<.234&&b>=-.214&&b<-.115?s:n).invert(h)},a.stream=function(h){return e&&t===h?e:e=ja([n.stream(t=h),i.stream(h),s.stream(h)])},a.precision=function(h){return arguments.length?(n.precision(h),i.precision(h),s.precision(h),f()):n.precision()},a.scale=function(h){return arguments.length?(n.scale(h),i.scale(h*.35),s.scale(h),a.translate(n.translate())):n.scale()},a.translate=function(h){if(!arguments.length)return n.translate();var p=n.scale(),d=+h[0],b=+h[1];return r=n.translate(h).clipExtent([[d-.455*p,b-.238*p],[d+.455*p,b+.238*p]]).stream(c),o=i.translate([d-.307
vendor: 8,916 bytes, line 1
1*p,b+.201*p]).clipExtent([[d-.425*p+q,b+.12*p+q],[d-.214*p-q,b+.234*p-q]]).stream(c),l=s.translate([d-.205*p,b+.212*p]).clipExtent([[d-.214*p+q,b+.166*p+q],[d-.115*p-q,b+.234*p-q]]).stream(c),f()},a.fitExtent=function(h,p){return Dn(a,h,p)},a.fitSize=function(h,p){return Lr(a,h,p)},a.fitWidth=function(h,p){return Dr(a,h,p)},a.fitHeight=function(h,p){return zr(a,h,p)};function f(){return e=t=null,a}return a.scale(1070)}function Bo(e){return function(t,n){var r=T(t),i=T(n),o=e(r*i);return o===1/0?[2,0]:[o*i*M(t),o*M(n)]}}function Wt(e){return function(t,n){var r=oe(t*t+n*n),i=e(r),o=M(i),s=T(i);return[he(t*o,r*s),pe(r&&n*o/r)]}}var Wr=Bo(function(e){return oe(2/(1+e))});Wr.invert=Wt(function(e){return 2*pe(e/2)});function Da(){return qe(Wr).scale(124.75).clipAngle(180-.001)}var Yr=Bo(function(e){return(e=go(e))&&e/M(e)});Yr.invert=Wt(function(e){return e});function za(){return qe(Yr).scale(79.4188).clipAngle(180-.001)}function Yt(e,t){return[e,fn(Or((ne+t)/2))]}Yt.invert=function(e,t){return[e,2*dt(mo(t))-ne]};function Ua(){return Zo(Yt).scale(961/fe)}function Zo(e){var t=qe(e),n=t.center,r=t.scale,i=t.translate,o=t.clipExtent,s=null,l,u,c;t.scale=function(f){return arguments.length?(r(f),a()):r()},t.translate=function(f){return arguments.length?(i(f),a()):i()},t.center=function(f){return arguments.length?(n(f),a()):n()},t.clipExtent=function(f){return arguments.length?(f==null?s=l=u=c=null:(s=+f[0][0],l=+f[0][1],u=+f[1][0],c=+f[1][1]),a()):s==null?null:[[s,l],[u,c]]};function a(){var f=W*r(),h=t(Po(t.rotate()).invert([0,0]));return o(s==null?[[h[0]-f,h[1]-f],[h[0]+f,h[1]+f]]:e===Yt?[[Math.max(h[0]-f,s),l],[Math.min(h[0]+f,u),c]]:[[s,Math.max(h[1]-f,l)],[u,Math.min(h[1]+f,c)]])}return a()}function Jt(e){return Or((ne+e)/2)}function Jo(e,t){var n=T(e),r=e===t?M(e):fn(n/T(t))/fn(Jt(t)/Jt(e)),i=n*Wn(Jt(e),r)/r;if(!r)return Yt;function o(s,l){i>0?l<-ne+q&&(l=-ne+q):l>ne-q&&(l=ne-q);var u=i/Wn(Jt(l),r);return[u*M(r*s),i-u*T(r*s)]}return o.invert=function(s,l){var u=i-l,c=Se(r)*oe(s*s+u*u),a=he(s,Y(u))*Se(u);return u*r<0&&(a-=W*Se(s)*Se(u)),[a/r,2*dt(Wn(i/c,1/r))-ne]},o}function Fa(){return Fr(Jo).scale(109.5).parallels([30,30])}function It(e,t){return[e,t]}It.invert=It;function Wa(){return qe(It).scale(152.63)}function Qo(e,t){var n=T(e),r=e===t?M(e):(n-T(t))/(t-e),i=n/r+e;if(Y(r)<q)return It;function o(s,l){var u=i-l,c=r*s;return[u*M(c),i-u*T(c)]}return o.invert=function(s,l){var u=i-l,c=he(s,Y(u))*Se(u);return u*r<0&&(c-=W*Se(s)*Se(u)),[c/r,i-Se(r)*oe(s*s+u*u)]},o}function Ya(){return Fr(Qo).scale(131.154).center([0,13.9389])}var Et=1.340264,Mt=-.081106,Rt=893e-6,kt=.003796,Tn=oe(3)/2,Ha=12;function Hr(e,t){var n=pe(Tn*M(t)),r=n*n,i=r*r*r;return[e*T(n)/(Tn*(Et+3*Mt*r+i*(7*Rt+9*kt*r))),n*(Et+Mt*r+i*(Rt+kt*r))]}Hr.invert=function(e,t){for(var n=t,r=n*n,i=r*r*r,o=0,s,l,u;o<Ha&&(l=n*(Et+Mt*r+i*(Rt+kt*r))-t,u=Et+3*Mt*r+i*(7*Rt+9*kt*r),n-=s=l/u,r=n*n,i=r*r*r,!(Y(s)<Tt));++o);return[Tn*e*(Et+3*Mt*r+i*(7*Rt+9*kt*r))/T(n),pe(M(n)/Tn)]};function Va(){return qe(Hr).scale(177.158)}function Vr(e,t){var n=T(t),r=T(e)*n;return[n*M(e)/r,M(t)/r]}Vr.invert=Wt(dt);function Ka(){return qe(Vr).scale(144.049).clipAngle(60)}function Xa(){var e=1,t=0,n=0,r=1,i=1,o=0,s,l,u=null,c,a,f,h=1,p=1,d=Ft({point:function(x,S){var P=v([x,S]);this.stream.point(P[0],P[1])}}),b=Ot,_,w;function N(){return h=e*r,p=e*i,_=w=null,v}function v(x){var S=x[0]*h,P=x[1]*p;if(o){var O=P*s-S*l;S=S*s+P*l,P=O}return[S+t,P+n]}return v.invert=function(x){var S=x[0]-t,P=x[1]-n;if(o){var O=P*s+S*l;S=S*s-P*l,P=O}return[S/h,P/p]},v.stream=function(x){return _&&w===x?_:_=d(b(w=x))},v.postclip=function(x){return arguments.length?(b=x,u=c=a=f=null,N()):b},v.clipExtent=function(x){return arguments.length?(b=x==null?(u=c=a=f=null,Ot):Ln(u=+x[0][0],c=+x[0][1],a=+x[1][0],f=+x[1][1]),N()):u==null?null:[[u,c],[a,f]]},v.scale=function(x){return arguments.length?(e=+x,N()):e},v.translate=function(x){return arguments.length?(t=+x[0],n=+x[1],N()):[t,n]},v.angle=function(x){return arguments.length?(o=x%360*$,l=M(o),s=T(o),N()):o*B},v.reflectX=function(x){return arguments.length?(r=x?-1:1,N()):r<0},v.reflectY=function(x){return arguments.length?(i=x?-1:1,N()):i<0},v.fitExtent=function(x,S){return Dn(v,x,S)},v.fitSize=function(x,S){return Lr(v,x,S)},v.fitWidth=function(x,S){return Dr(v,x,S)},v.fitHeight=function(x,S){return zr(v,x,S)},v}function Kr(e,t){var n=t*t,r=n*n;return[e*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),t*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}Kr.invert=function(e,t){var n=t,r=25,i;do{var o=n*n,s=o*o;n-=i=(n*(1.007226+o*(.015085+s*(-.044475+.028874*o-.005916*s)))-t)/(1.007226+o*(.015085*3+s*(-.044475*7+.028874*9*o-.005916*11*s)))}while(Y(i)>q&&--r>0);return[e/(.8707+(o=n*n)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),n]};function Ga(){return qe(Kr).scale(175.295)}function Xr(e,t){return[T(t)*M(e),M(t)]}Xr.invert=Wt(pe);function Ba(){return qe(Xr).scale(249.5).clipAngle(90+q)}function Gr(e,t){var n=T(t),r=1+T(e)*n;return[n*M(e)/r,M(t)/r]}Gr.invert=Wt(function(e){return 2*dt(e)});function Za(){return qe(Gr).scale(250).clipAngle(142)}function Br(e,t){return[fn(Or((ne+t)/2)),-e]}Br.invert=function(e,t){return[-t,2*dt(mo(e))-ne]};function Ja(){var e=Zo(Br),t=e.center,n=e.rotate;return e.center=function(r){return arguments.length?t([-r[1],r[0]]):(r=t(),[r[1],-r[0]])},e.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}const Qa=Object.freeze(Object.defineProperty({__proto__:null,geoAlbers:Go,geoAlbersUsa:La,geoArea:Hs,geoAzimuthalEqualArea:Da,geoAzimuthalEqualAreaRaw:Wr,geoAzimuthalEquidistant:za,geoAzimuthalEquidistantRaw:Yr,geoBounds:Gs,geoCentroid:ta,geoCircle:na,geoClipAntimeridian:fr,geoClipCircle:Oo,geoClipExtent:ua,geoClipRectangle:Ln,geoConicConformal:Fa,geoConicConformalRaw:Jo,geoConicEqualArea:kn,geoConicEqualAreaRaw:Xo,geoConicEquidistant:Ya,geoConicEquidistantRaw:Qo,geoContains:ga,geoDistance:Sn,geoEqualEarth:Va,geoEqualEarthRaw:Hr,geoEquirectangular:Wa,geoEquirectangularRaw:It,geoGnomonic:Ka,geoGnomonicRaw:Vr,geoGraticule:Ir,geoGraticule10:ya,geoIdentity:Xa,geoInterpolate:va,geoLength:qo,geoMercator:Ua,geoMercatorRaw:Yt,geoNaturalEarth1:Ga,geoNaturalEarth1Raw:Kr,geoOrthographic:Ba,geoOrthographicRaw:Xr,geoPath:Ko,geoProjection:qe,geoProjectionMutator:Ur,geoRotation:Po,geoStereographic:Za,geoStereographicRaw:Gr,geoStream:Ae,geoTransform:Ma,geoTransverseMercator:Ja,geoTransverseMercatorRaw:Br},Symbol.toStringTag,{value:"Module"}));function el(e){return e}function tl(e){if(e==null)return el;var t,n,r=e.scale[0],i=e.scale[1],o=e.translate[0],s=e.translate[1];return function(l,u){u||(t=n=0);var c=2,a=l.length,f=new Array(a);for(f[0]=(t+=l[0])*r+o,f[1]=(n+=l[1])*i+s;c<a;)f[c]=l[c],++c;return f}}function nl(e,t){for(var n,r=e.length,i=r-t;i<--r;)n=e[i],e[i++]=e[r],e[r]=n}function rl(e,t){return typeof t=="string"&&(t=e.objects[t]),t.type==="GeometryCollection"?{type:"FeatureCollection",features:t.geometries.map(function(n){return Di(e,n)})}:Di(e,t)}function Di(e,t){var n=t.id,r=t.bbox,i=t.properties==null?{}:t.properties,o=es(e,t);return n==null&&r==null?{type:"Feature",properties:i,geometry:o}:r==null?{type:"Feature",id:n,properties:i,geometry:o}:{type:"Feature",id:n,bbox:r,properties:i,geometry:o}}function es(e,t){var n=tl(e.transform),r=e.arcs;function i(a,f){f.length&&f.pop();for(var h=r[a<0?~a:a],p=0,d=h.length;p<d;++p)f.push(n(h[p],p));a<0&&nl(f,d)}function o(a){return n(a)}function s(a){for(var f=[],h=0,p=a.length;h<p;++h)i(a[h],f);return f.length<2&&f.push(f[0]),f}function l(a){for(var f=s(a);f.length<4;)f.push(f[0]);return f}function u(a){return a.map(l)}function c(a){var f=a.type,h;switch(f){case"GeometryCollection":return{type:f,geometries:a.geometries.map(c)};case"Point":h=o(a.coordinates);break;case"MultiPoint":h=a.coordinates.map(o);break;case"LineString":h=s(a.arcs);break;case"MultiLineString":h=a.arcs.map(s);break;case"Polygon":h=u(a.arcs);break;case"MultiPolygon":h=a.arcs.map(u);break;default:return null}return{type:f,coordinates:h}}return c(t)}function il(e,t){var n={},r={},i={},o=[],s=-1;t.forEach(function(c,a){var f=e.arcs[c<0?~c:c],h;f.length<3&&!f[1][0]&&!f[1][1]&&(h=t[++s],t[s]=c,t[a]=h)}),t.forEach(function(c){var a=l(c),f=a[0],h=a[1],p,d;if(p=i[f])if(delete i[p.end],p.push(c),p.end=h,d=r[h]){delete r[d.start];var b=d===p?p:p.concat(d);r[b.start=p.start]=i[b.end=d.end]=b}else r[p.start]=i[p.end]=p;else if(p=r[h])if(delete r[p.start],p.unshift(c),p.start=f,d=i[f]){delete i[d.end];var _=d===p?p:d.concat(p);r[_.start=d.start]=i[_.end=p.end]=_}else r[p.start]=i[p.end]=p;else p=[c],r[p.start=f]=i[p.end=h]=p});function l(c){var a=e.arcs[c<0?~c:c],f=a[0],h;return e.transform?(h=[0,0],a.forEach(function(p){h[0]+=p[0],h[1]+=p[1]})):h=a[a.length-1],c<0?[h,f]:[f,h]}function u(c,a){for(var f in c){var h=c[f];delete a[h.start],delete h.start,delete h.end,h.forEach(function(p){
1n[p<0?~p:p]=1}),o.push(h)}}return u(i,r),u(r,i),t.forEach(function(c){n[c<0?~c:c]||o.push([c])}),o}function zi(e){return es(e,ol.apply(this,arguments))}function ol(e,t,n){var r,i,o;if(arguments.length>1)r=sl(e,t,n);else for(i=0,r=new Array(o=e.arcs.length);i<o;++i)r[i]=i;return{type:"MultiLineString",arcs:il(e,r)}}function sl(e,t,n){var r=[],i=[],o;function s(f){var h=f<0?~f:f;(i[h]||(i[h]=[])).push({i:f,g:o})}function l(f){f.forEach(s)}function u(f){f.forEach(l)}function c(f){f.forEach(u)}function a(f){switch(o=f,f.type){case"GeometryCollection":f.geometries.forEach(a);break;case"LineString":l(f.arcs);break;case"MultiLineString":case"Polygon":u(f.arcs);break;case"MultiPolygon":c(f.arcs);break}}return a(t),i.forEach(n==null?function(f){r.push(f[0].i)}:function(f){n(f[0].g,f[f.length-1].g)&&r.push(f[0].i)}),r}var al={value:()=>{}};function Zr(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new sn(n)}function sn(e){this._=e}function ll(e,t){return e.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}sn.prototype=Zr.prototype={constructor:sn,on:function(e,t){var n=this._,r=ll(e+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o<s;)if((i=(e=r[o]).type)&&(i=ul(n[i],e.name)))return i;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++o<s;)if(i=(e=r[o]).type)n[i]=Ui(n[i],e.name,t);else if(t==null)for(i in n)n[i]=Ui(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new sn(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,o;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=this._[e],r=0,i=o.length;r<i;++r)o[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};function ul(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function Ui(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=al,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var Sr="http://www.w3.org/1999/xhtml";const Fi={svg:"http://www.w3.org/2000/svg",xhtml:Sr,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function zn(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Fi.hasOwnProperty(t)?{space:Fi[t],local:e}:e}function cl(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Sr&&t.documentElement.namespaceURI===Sr?t.createElement(e):t.createElementNS(n,e)}}function fl(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function ts(e){var t=zn(e);return(t.local?fl:cl)(t)}function hl(){}function Jr(e){return e==null?hl:function(){return this.querySelector(e)}}function pl(e){typeof e!="function"&&(e=Jr(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o=t[i],s=o.length,l=r[i]=new Array(s),u,c,a=0;a<s;++a)(u=o[a])&&(c=e.call(u,u.__data__,a,o))&&("__data__"in u&&(c.__data__=u.__data__),l[a]=c);return new me(r,this._parents)}function ns(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function dl(){return[]}function rs(e){return e==null?dl:function(){return this.querySelectorAll(e)}}function ml(e){return function(){var t=e.apply(this,arguments);return t==null?[]:ns(t)}}function gl(e){typeof e=="function"?e=ml(e):e=rs(e);for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var s=t[o],l=s.length,u,c=0;c<l;++c)(u=s[c])&&(r.push(e.call(u,u.__data__,c,s)),i.push(u));return new me(r,i)}function is(e){return function(){return this.matches(e)}}function os(e){return function(t){return t.matches(e)}}var yl=Array.prototype.find;function vl(e){return function(){return yl.call(this.children,e)}}function wl(){return this.firstElementChild}function xl(e){return this.select(e==null?wl:vl(typeof e=="function"?e:os(e)))}var bl=Array.prototype.filter;function _l(){return this.children}function Nl(e){return function(){return bl.call(this.children,e)}}function Sl(e){return this.selectAll(e==null?_l:Nl(typeof e=="function"?e:os(e)))}function Cl(e){typeof e!="function"&&(e=is(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o=t[i],s=o.length,l=r[i]=[],u,c=0;c<s;++c)(u=o[c])&&e.call(u,u.__data__,c,o)&&l.push(u);return new me(r,this._parents)}function ss(e){return new Array(e.length)}function Al(){return new me(this._enter||this._groups.map(ss),this._parents)}function On(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}On.prototype={constructor:On,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function Pl(e){return function(){return e}}function El(e,t,n,r,i,o){for(var s=0,l,u=t.length,c=o.length;s<c;++s)(l=t[s])?(l.__data__=o[s],r[s]=l):n[s]=new On(e,o[s]);for(;s<u;++s)(l=t[s])&&(i[s]=l)}function Ml(e,t,n,r,i,o,s){var l,u,c=new Map,a=t.length,f=o.length,h=new Array(a),p;for(l=0;l<a;
vendor: 11,951 bytes, line 1
1++l)(u=t[l])&&(h[l]=p=s.call(u,u.__data__,l,t)+"",c.has(p)?i[l]=u:c.set(p,u));for(l=0;l<f;++l)p=s.call(e,o[l],l,o)+"",(u=c.get(p))?(r[l]=u,u.__data__=o[l],c.delete(p)):n[l]=new On(e,o[l]);for(l=0;l<a;++l)(u=t[l])&&c.get(h[l])===u&&(i[l]=u)}function Rl(e){return e.__data__}function kl(e,t){if(!arguments.length)return Array.from(this,Rl);var n=t?Ml:El,r=this._parents,i=this._groups;typeof e!="function"&&(e=Pl(e));for(var o=i.length,s=new Array(o),l=new Array(o),u=new Array(o),c=0;c<o;++c){var a=r[c],f=i[c],h=f.length,p=ns(e.call(a,a&&a.__data__,c,r)),d=p.length,b=l[c]=new Array(d),_=s[c]=new Array(d),w=u[c]=new Array(h);n(a,f,b,_,w,p,t);for(var N=0,v=0,x,S;N<d;++N)if(x=b[N]){for(N>=v&&(v=N+1);!(S=_[v])&&++v<d;);x._next=S||null}}return s=new me(s,r),s._enter=l,s._exit=u,s}function Tl(){return new me(this._exit||this._groups.map(ss),this._parents)}function Ol(e,t,n){var r=this.enter(),i=this,o=this.exit();return r=typeof e=="function"?e(r):r.append(e+""),t!=null&&(i=t(i)),n==null?o.remove():n(o),r&&i?r.merge(i).order():i}function ql(e){if(!(e instanceof me))throw new Error("invalid merge");for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),s=new Array(r),l=0;l<o;++l)for(var u=t[l],c=n[l],a=u.length,f=s[l]=new Array(a),h,p=0;p<a;++p)(h=u[p]||c[p])&&(f[p]=h);for(;l<r;++l)s[l]=t[l];return new me(s,this._parents)}function $l(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,o=r[i],s;--i>=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function Il(e){e||(e=jl);function t(f,h){return f&&h?e(f.__data__,h.__data__):!f-!h}for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var s=n[o],l=s.length,u=i[o]=new Array(l),c,a=0;a<l;++a)(c=s[a])&&(u[a]=c);u.sort(t)}return new me(i,this._parents).order()}function jl(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Ll(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Dl(){return Array.from(this)}function zl(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var s=r[i];if(s)return s}return null}function Ul(){let e=0;for(const t of this)++e;return e}function Fl(){return!this.node()}function Wl(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],o=0,s=i.length,l;o<s;++o)(l=i[o])&&e.call(l,l.__data__,o,i);return this}function Yl(e){return function(){this.removeAttribute(e)}}function Hl(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Vl(e,t){return function(){this.setAttribute(e,t)}}function Kl(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Xl(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Gl(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Bl(e,t){var n=zn(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?Hl:Yl:typeof t=="function"?n.local?Gl:Xl:n.local?Kl:Vl)(n,t))}function as(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Zl(e){return function(){this.style.removeProperty(e)}}function Jl(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Ql(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function eu(e,t,n){return arguments.length>1?this.each((t==null?Zl:typeof t=="function"?Ql:Jl)(e,t,n??"")):ht(this.node(),e)}function ht(e,t){return e.style.getPropertyValue(t)||as(e).getComputedStyle(e,null).getPropertyValue(t)}function tu(e){return function(){delete this[e]}}function nu(e,t){return function(){this[e]=t}}function ru(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function iu(e,t){return arguments.length>1?this.each((t==null?tu:typeof t=="function"?ru:nu)(e,t)):this.node()[e]}function ls(e){return e.trim().split(/^|\s+/)}function Qr(e){return e.classList||new us(e)}function us(e){this._node=e,this._names=ls(e.getAttribute("class")||"")}us.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function cs(e,t){for(var n=Qr(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function fs(e,t){for(var n=Qr(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function ou(e){return function(){cs(this,e)}}function su(e){return function(){fs(this,e)}}function au(e,t){return function(){(t.apply(this,arguments)?cs:fs)(this,e)}}function lu(e,t){var n=ls(e+"");if(arguments.length<2){for(var r=Qr(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t=="function"?au:t?ou:su)(n,t))}function uu(){this.textContent=""}function cu(e){return function(){this.textContent=e}}function fu(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function hu(e){return arguments.length?this.each(e==null?uu:(typeof e=="function"?fu:cu)(e)):this.node().textContent}function pu(){this.innerHTML=""}function du(e){return function(){this.innerHTML=e}}function mu(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function gu(e){return arguments.length?this.each(e==null?pu:(typeof e=="function"?mu:du)(e)):this.node().innerHTML}function yu(){this.nextSibling&&this.parentNode.appendChild(this)}function vu(){return this.each(yu)}function wu(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function xu(){return this.each(wu)}function bu(e){var t=typeof e=="function"?e:ts(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function _u(){return null}function Nu(e,t){var n=typeof e=="function"?e:ts(e),r=t==null?_u:typeof t=="function"?t:Jr(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Su(){var e=this.parentNode;e&&e.removeChild(this)}function Cu(){return this.each(Su)}function Au(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Pu(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Eu(e){return this.select(e?Pu:Au)}function Mu(e){return arguments.length?this.property("__data__",e):this.node().__data__}function Ru(e){return function(t){e.call(this,t,this.__data__)}}function ku(e){return e.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function Tu(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n<i;++n)o=t[n],(!e.type||o.type===e.type)&&o.name===e.name?this.removeEventListener(o.type,o.listener,o.options):t[++r]=o;++r?t.length=r:delete this.__on}}}function Ou(e,t,n){return function(){var r=this.__on,i,o=Ru(t);if(r){for(var s=0,l=r.length;s<l;++s)if((i=r[s]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),i.value=t;return}}this.addEventListener(e.type,o,n),i={type:e.type,name:e.name,value:t,listener:o,options:n},r?r.push(i):this.__on=[i]}}function qu(e,t,n){var r=ku(e+""),i,o=r.length,s;if(arguments.length<2){var l=this.node().__on;if(l){for(var u=0,c=l.length,a;u<c;++u)for(i=0,a=l[u];i<o;++i)if((s=r[i]).type===a.type&&s.name===a.name)return a.value}return}for(l=t?Ou:Tu,i=0;i<o;++i)this.each(l(r[i],t,n));return this}function hs(e,t,n){var r=as(e),i=r.CustomEvent;typeof i=="function"?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function $u(e,t){return function(){return hs(this,e,t)}}function Iu(e,t){return function(){return hs(this,e,t.apply(this,arguments))}}function ju(e,t){return this.each((typeof t=="function"?Iu:$u)(e,t))}function*Lu(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length,s;i<o;++i)(s=r[i])&&(yield s)}var ps=[null];function me(e,t){this._groups=e,this._parents=t}function Ht(){return new me([[document.documentElement]],ps)}function Du(){return this}me.prototype=Ht.prototype={constructor:me,select:pl,selectAll:gl,selectChild:xl,selectChildren:Sl,filter:Cl,data:kl,enter:Al,exit:Tl,join:Ol,merge:ql,selection:Du,order:$l,sort:Il,call:Ll,nodes:Dl,node:zl,size:Ul,empty:Fl,each:Wl,attr:Bl,style:eu,property:iu,classed:lu,text:hu,html:gu,raise:vu,lower:xu,append:bu,insert:Nu,remove:Cu,clone:Eu,datum:Mu,on:qu,dispatch:ju,[Symbol.iterator]:Lu};function De(e){return typeof e=="string"?new me([[document.querySelector(e)]],[document.documentElement]):new me([[e]],ps)}function zu(e){let t;for(;t=e.sourceEvent;)e=t;return e}function Ke(e,t){if(e=zu(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}function Cr(e){e.preventDefault(),e.stopImmediatePropagation()}function Uu(e){var t=e.document.documentElement,n=De(e).on("dragstart.drag",Cr,!0);"onselectstart"in t?n.on("selectstart.drag",Cr,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function Fu(e,t){var n=e.document.documentElement,r=De(e).on("dragstart.drag",null);t&&(r.on("click.drag",Cr,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var Wu=1e-12;function Wi(e){return((e=Math.exp(e))+1/e)/2}function Yu(e){return((e=Math.exp(e))-1/e)/2}function Hu(e){return((e=Math.exp(2*e))-1)/(e+1)}const Vu=function e(t,n,r){function i(o,s){var l=o[0],u=o[1],c=o[2],a=s[0],f=s[1],h=s[2],p=a-l,d=f-u,b=p*p+d*d,_,w;if(b<Wu)w=Math.log(h/c)/t,_=function(O){return[l+O*p,u+O*d,c*Math.exp(t*O*w)]};else{var N=Math.sqrt(b),v=(h*h-c*c+r*b)/(2*c*n*N),x=(h*h-c*c-r*b)/(2*h*n*N),S=Math.log(Math.sqrt(v*v+1)-v),P=Math.log(Math.sqrt(x*x+1)-x);w=(P-S)/t,_=function(O){var j=O*w,z=Wi(S),U=c/(n*N)*(z*Hu(t*j+S)-Yu(S));return[l+U*p,u+U*d,c*z/Wi(t*j+S)]}}return _.duration=w*1e3*t/Math.SQRT2,_}return i.rho=function(o){var s=Math.max(.001,+o),l=s*s,u=l*l;return e(s,l,u)},i}(Math.SQRT2,2,4);var pt=0,Ct=0,gt=0,ds=1e3,qn,At,$n=0,Je=0,Un=0,jt=typeof performance=="object"&&performance.now?performance:Date,ms=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function ei(){return Je||(ms(Ku),Je=jt.now()+Un)}function Ku(){Je=0}function In(){this._call=this._time=this._next=null}In.prototype=gs.prototype={constructor:In,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?ei():+n)+(t==null?0:+t),!this._next&&At!==this&&(At?At._next=this:qn=this,At=this),this._call=e,this._time=n,Ar()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ar())}};function gs(e,t,n){var r=new In;return r.restart(e,t,n),r}function Xu(){ei(),++pt;for(var e=qn,t;e;)(t=Je-e._time)>=0&&e._call.call(null,t),e=e._next;--pt}function Yi(){Je=($n=jt.now())+Un,pt=Ct=0;try{Xu()}finally{pt=0,Bu(),Je=0}}function Gu(){var e=jt.now(),t=e-$n;t>ds&&(Un-=t,$n=e)}function Bu(){for(var e,t=qn,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:qn=n);At=e,Ar(r)}function Ar(e){if(!pt){Ct&&(Ct=clearTimeout(Ct));var t=e-Je;t>24?(e<1/0&&(Ct=setTimeout(Yi,e-jt.now()-Un)),gt&&(gt=clearInterval(gt))):(gt||($n=jt.now(),gt
vendor: 11,478 bytes, line 1
1=setInterval(Gu,ds)),pt=1,ms(Yi))}}function Hi(e,t,n){var r=new In;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var Zu=Zr("start","end","cancel","interrupt"),Ju=[],ys=0,Vi=1,Pr=2,an=3,Ki=4,Er=5,ln=6;function Fn(e,t,n,r,i,o){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;Qu(e,n,{name:t,index:r,group:i,on:Zu,tween:Ju,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ys})}function ti(e,t){var n=Ee(e,t);if(n.state>ys)throw new Error("too late; already scheduled");return n}function $e(e,t){var n=Ee(e,t);if(n.state>an)throw new Error("too late; already running");return n}function Ee(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Qu(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=gs(o,0,n.time);function o(c){n.state=Vi,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var a,f,h,p;if(n.state!==Vi)return u();for(a in r)if(p=r[a],p.name===n.name){if(p.state===an)return Hi(s);p.state===Ki?(p.state=ln,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete r[a]):+a<t&&(p.state=ln,p.timer.stop(),p.on.call("cancel",e,e.__data__,p.index,p.group),delete r[a])}if(Hi(function(){n.state===an&&(n.state=Ki,n.timer.restart(l,n.delay,n.time),l(c))}),n.state=Pr,n.on.call("start",e,e.__data__,n.index,n.group),n.state===Pr){for(n.state=an,i=new Array(h=n.tween.length),a=0,f=-1;a<h;++a)(p=n.tween[a].value.call(e,e.__data__,n.index,n.group))&&(i[++f]=p);i.length=f+1}}function l(c){for(var a=c<n.duration?n.ease.call(null,c/n.duration):(n.timer.restart(u),n.state=Er,1),f=-1,h=i.length;++f<h;)i[f].call(e,a);n.state===Er&&(n.on.call("end",e,e.__data__,n.index,n.group),u())}function u(){n.state=ln,n.timer.stop(),delete r[t];for(var c in r)return;delete e.__transition}}function un(e,t){var n=e.__transition,r,i,o=!0,s;if(n){t=t==null?null:t+"";for(s in n){if((r=n[s]).name!==t){o=!1;continue}i=r.state>Pr&&r.state<Er,r.state=ln,r.timer.stop(),r.on.call(i?"interrupt":"cancel",e,e.__data__,r.index,r.group),delete n[s]}o&&delete e.__transition}}function ec(e){return this.each(function(){un(this,e)})}function ni(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function vs(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Vt(){}var Lt=.7,jn=1/Lt,lt="\\s*([+-]?\\d+)\\s*",Dt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Te="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tc=/^#([0-9a-f]{3,8})$/,nc=new RegExp("^rgb\\("+[lt,lt,lt]+"\\)$"),rc=new RegExp("^rgb\\("+[Te,Te,Te]+"\\)$"),ic=new RegExp("^rgba\\("+[lt,lt,lt,Dt]+"\\)$"),oc=new RegExp("^rgba\\("+[Te,Te,Te,Dt]+"\\)$"),sc=new RegExp("^hsl\\("+[Dt,Te,Te]+"\\)$"),ac=new RegExp("^hsla\\("+[Dt,Te,Te,Dt]+"\\)$"),Xi={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ni(Vt,zt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Gi,formatHex:Gi,formatHsl:lc,formatRgb:Bi,toString:Bi});function Gi(){return this.rgb().formatHex()}function lc(){return ws(this).formatHsl()}function Bi(){return this.rgb().formatRgb()}function zt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=tc.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Zi(t):n===3?new be(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Qt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Qt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=nc.exec(e))?new be(t[1],t[2],t[3],1):(t=rc.exec(e))?new be(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=ic.exec(e))?Qt(t[1],t[2],t[3],t[4]):(t=oc.exec(e))?Qt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=sc.exec(e))?eo(t[1],t[2]/100,t[3]/100,1):(t=ac.exec(e))?eo(t[1],t[2]/100,t[3]/100,t[4]):Xi.hasOwnProperty(e)?Zi(Xi[e]):e==="transparent"?new be(NaN,NaN,NaN,0):null}function Zi(e){return new be(e>>16&255,e>>8&255,e&255,1)}function Qt(e,t,n,r){return r<=0&&(e=t=n=NaN),new be(e,t,n,r)}function uc(e){return e instanceof Vt||(e=zt(e)),e?(e=e.rgb(),new be(e.r,e.g,e.b,e.opacity)):new be}function Mr(e,t,n,r){return arguments.length===1?uc(e):new be(e,t,n,r??1)}function be(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ni(be,Mr,vs(Vt,{brighter:function(e){return e=e==null?jn:Math.pow(jn,e),new be(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?Lt:Math.pow(Lt,e),new be(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:Ji,formatHex:Ji,formatRgb:Qi,toString:Qi}));function Ji(){return"#"+Xn(this.r)+Xn(this.g)+Xn(this.b)}function Qi(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"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))+(e===1?")":", "+e+")")}function Xn(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function eo(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ke(e,t,n,r)}function ws(e){if(e instanceof ke)return new ke(e.h,e.s,e.l,e.opacity);if(e instanceof Vt||(e=zt(e)),!e)return new ke;if(e instanceof ke)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-i,u=(o+i)/2;return l?(t===o?s=(n-r)/l+(n<r)*6:n===o?s=(r-t)/l+2:s=(t-n)/l+4,l/=u<.5?o+i:2-o-i,s*=60):l=u>0&&u<1?0:s,new ke(s,l,u,e.opacity)}function cc(e,t,n,r){return arguments.length===1?ws(e):new ke(e,t,n,r??1)}function ke(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ni(ke,cc,vs(Vt,{brighter:function(e){return e=e==null?jn:Math.pow(jn,e),new ke(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?Lt:Math.pow(Lt,e),new ke(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new be(Gn(e>=240?e-240:e+120,i,r),Gn(e,i,r),Gn(e<120?e+240:e-120,i,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 e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function Gn(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const xs=e=>()=>e;function fc(e,t){return function(n){return e+n*t}}function hc(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)}}function pc(e){return(e=+e)==1?bs:function(t,n){return n-t?hc(t,n,e):xs(isNaN(t)?n:t)}}function bs(e,t){var n=t-e;return n?fc(e,n):xs(isNaN(e)?t:e)}const to=function e(t){var n=pc(t);function r(i,o){var s=n((i=Mr(i)).r,(o=Mr(o)).r),l=n(i.g,o.g),u=n(i.b,o.b),c=bs(i.opacity,o.opacity);return function(a){return i.r=s(a),i.g=l(a),i.b=u(a),i.opacity=c(a),i+""}}return r.gamma=e,r}(1);function Ve(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Rr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Bn=new RegExp(Rr.source,"g");function dc(e){return function(){return e}}function mc(e){return function(t){return e(t)+""}}function gc(e,t){var n=Rr.lastIndex=Bn.lastIndex=0,r,i,o,s=-1,l=[],u=[];for(e=e+"",t=t+"";(r=Rr.exec(e))&&(i=Bn.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),l[s]?l[s]+=o:l[++s]=o),(r=r[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,u.push({i:s,x:Ve(r,i)})),n=Bn.lastIndex;return n<t.length&&(o=t.slice(n),l[s]?l[s]+=o:l[++s]=o),l.length<2?u[0]?mc(u[0].x):dc(t):(t=u.length,function(c){for(var a=0,f;a<t;++a)l[(f=u[a]).i]=f.x(c);return l.join("")})}var no=180/Math.PI,kr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _s(e,t,n,r,i,o){var s,l,u;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(u=e*n+t*r)&&(n-=e*u,r-=t*u),(l=Math.sqrt(n*n+r*r))&&(n/=l,r/=l,u/=l),e*r<t*n&&(e=-e,t=-t,u=-u,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*no,skewX:Math.atan(u)*no,scaleX:s,scaleY:l}}var en;function yc(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?kr:_s(t.a,t.b,t.c,t.d,t.e,t.f)}function vc(e){return e==null||(en||(en=document.createElementNS("http://www.w3.org/2000/svg","g")),en.setAttribute("transform",e),!(e=en.transform.baseVal.consolidate()))?kr:(e=e.matrix,_s(e.a,e.b,e.c,e.d,e.e,e.f))}function Ns(e,t,n,r){function i(c){return c.length?c.pop()+" ":""}function o(c,a,f,h,p,d){if(c!==f||a!==h){var b=p.push("translate(",null,t,null,n);d.push({i:b-4,x:Ve(c,f)},{i:b-2,x:Ve(a,h)})}else(f||h)&&p.push("translate("+f+t+h+n)}function s(c,a,f,h){c!==a?(c-a>180?a+=360:a-c>180&&(c+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:Ve(c,a)})):a&&f.push(i(f)+"rotate("+a+r)}
vendor: 15,665 bytes, line 1
1function l(c,a,f,h){c!==a?h.push({i:f.push(i(f)+"skewX(",null,r)-2,x:Ve(c,a)}):a&&f.push(i(f)+"skewX("+a+r)}function u(c,a,f,h,p,d){if(c!==f||a!==h){var b=p.push(i(p)+"scale(",null,",",null,")");d.push({i:b-4,x:Ve(c,f)},{i:b-2,x:Ve(a,h)})}else(f!==1||h!==1)&&p.push(i(p)+"scale("+f+","+h+")")}return function(c,a){var f=[],h=[];return c=e(c),a=e(a),o(c.translateX,c.translateY,a.translateX,a.translateY,f,h),s(c.rotate,a.rotate,f,h),l(c.skewX,a.skewX,f,h),u(c.scaleX,c.scaleY,a.scaleX,a.scaleY,f,h),c=a=null,function(p){for(var d=-1,b=h.length,_;++d<b;)f[(_=h[d]).i]=_.x(p);return f.join("")}}}var wc=Ns(yc,"px, ","px)","deg)"),xc=Ns(vc,", ",")",")");function bc(e,t){var n,r;return function(){var i=$e(this,e),o=i.tween;if(o!==n){r=n=o;for(var s=0,l=r.length;s<l;++s)if(r[s].name===t){r=r.slice(),r.splice(s,1);break}}i.tween=r}}function _c(e,t,n){var r,i;if(typeof n!="function")throw new Error;return function(){var o=$e(this,e),s=o.tween;if(s!==r){i=(r=s).slice();for(var l={name:t,value:n},u=0,c=i.length;u<c;++u)if(i[u].name===t){i[u]=l;break}u===c&&i.push(l)}o.tween=i}}function Nc(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r=Ee(this.node(),n).tween,i=0,o=r.length,s;i<o;++i)if((s=r[i]).name===e)return s.value;return null}return this.each((t==null?bc:_c)(n,e,t))}function ri(e,t,n){var r=e._id;return e.each(function(){var i=$e(this,r);(i.value||(i.value={}))[t]=n.apply(this,arguments)}),function(i){return Ee(i,r).value[t]}}function Ss(e,t){var n;return(typeof t=="number"?Ve:t instanceof zt?to:(n=zt(t))?(t=n,to):gc)(e,t)}function Sc(e){return function(){this.removeAttribute(e)}}function Cc(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Ac(e,t,n){var r,i=n+"",o;return function(){var s=this.getAttribute(e);return s===i?null:s===r?o:o=t(r=s,n)}}function Pc(e,t,n){var r,i=n+"",o;return function(){var s=this.getAttributeNS(e.space,e.local);return s===i?null:s===r?o:o=t(r=s,n)}}function Ec(e,t,n){var r,i,o;return function(){var s,l=n(this),u;return l==null?void this.removeAttribute(e):(s=this.getAttribute(e),u=l+"",s===u?null:s===r&&u===i?o:(i=u,o=t(r=s,l)))}}function Mc(e,t,n){var r,i,o;return function(){var s,l=n(this),u;return l==null?void this.removeAttributeNS(e.space,e.local):(s=this.getAttributeNS(e.space,e.local),u=l+"",s===u?null:s===r&&u===i?o:(i=u,o=t(r=s,l)))}}function Rc(e,t){var n=zn(e),r=n==="transform"?xc:Ss;return this.attrTween(e,typeof t=="function"?(n.local?Mc:Ec)(n,r,ri(this,"attr."+e,t)):t==null?(n.local?Cc:Sc)(n):(n.local?Pc:Ac)(n,r,t))}function kc(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Tc(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Oc(e,t){var n,r;function i(){var o=t.apply(this,arguments);return o!==r&&(n=(r=o)&&Tc(e,o)),n}return i._value=t,i}function qc(e,t){var n,r;function i(){var o=t.apply(this,arguments);return o!==r&&(n=(r=o)&&kc(e,o)),n}return i._value=t,i}function $c(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var r=zn(e);return this.tween(n,(r.local?Oc:qc)(r,t))}function Ic(e,t){return function(){ti(this,e).delay=+t.apply(this,arguments)}}function jc(e,t){return t=+t,function(){ti(this,e).delay=t}}function Lc(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Ic:jc)(t,e)):Ee(this.node(),t).delay}function Dc(e,t){return function(){$e(this,e).duration=+t.apply(this,arguments)}}function zc(e,t){return t=+t,function(){$e(this,e).duration=t}}function Uc(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Dc:zc)(t,e)):Ee(this.node(),t).duration}function Fc(e,t){if(typeof t!="function")throw new Error;return function(){$e(this,e).ease=t}}function Wc(e){var t=this._id;return arguments.length?this.each(Fc(t,e)):Ee(this.node(),t).ease}function Yc(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;$e(this,e).ease=n}}function Hc(e){if(typeof e!="function")throw new Error;return this.each(Yc(this._id,e))}function Vc(e){typeof e!="function"&&(e=is(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o=t[i],s=o.length,l=r[i]=[],u,c=0;c<s;++c)(u=o[c])&&e.call(u,u.__data__,c,o)&&l.push(u);return new Fe(r,this._parents,this._name,this._id)}function Kc(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),s=new Array(r),l=0;l<o;++l)for(var u=t[l],c=n[l],a=u.length,f=s[l]=new Array(a),h,p=0;p<a;++p)(h=u[p]||c[p])&&(f[p]=h);for(;l<r;++l)s[l]=t[l];return new Fe(s,this._parents,this._name,this._id)}function Xc(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function Gc(e,t,n){var r,i,o=Xc(t)?ti:$e;return function(){var s=o(this,e),l=s.on;l!==r&&(i=(r=l).copy()).on(t,n),s.on=i}}function Bc(e,t){var n=this._id;return arguments.length<2?Ee(this.node(),n).on.on(e):this.each(Gc(n,e,t))}function Zc(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Jc(){return this.on("end.remove",Zc(this._id))}function Qc(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Jr(e));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s<i;++s)for(var l=r[s],u=l.length,c=o[s]=new Array(u),a,f,h=0;h<u;++h)(a=l[h])&&(f=e.call(a,a.__data__,h,l))&&("__data__"in a&&(f.__data__=a.__data__),c[h]=f,Fn(c[h],t,n,h,c,Ee(a,n)));return new Fe(o,this._parents,t,n)}function ef(e){var t=this._name,n=this._id;typeof e!="function"&&(e=rs(e));for(var r=this._groups,i=r.length,o=[],s=[],l=0;l<i;++l)for(var u=r[l],c=u.length,a,f=0;f<c;++f)if(a=u[f]){for(var h=e.call(a,a.__data__,f,u),p,d=Ee(a,n),b=0,_=h.length;b<_;++b)(p=h[b])&&Fn(p,t,n,b,h,d);o.push(h),s.push(a)}return new Fe(o,s,t,n)}var tf=Ht.prototype.constructor;function nf(){return new tf(this._groups,this._parents)}function rf(e,t){var n,r,i;return function(){var o=ht(this,e),s=(this.style.removeProperty(e),ht(this,e));return o===s?null:o===n&&s===r?i:i=t(n=o,r=s)}}function Cs(e){return function(){this.style.removeProperty(e)}}function of(e,t,n){var r,i=n+"",o;return function(){var s=ht(this,e);return s===i?null:s===r?o:o=t(r=s,n)}}function sf(e,t,n){var r,i,o;return function(){var s=ht(this,e),l=n(this),u=l+"";return l==null&&(u=l=(this.style.removeProperty(e),ht(this,e))),s===u?null:s===r&&u===i?o:(i=u,o=t(r=s,l))}}function af(e,t){var n,r,i,o="style."+t,s="end."+o,l;return function(){var u=$e(this,e),c=u.on,a=u.value[o]==null?l||(l=Cs(t)):void 0;(c!==n||i!==a)&&(r=(n=c).copy()).on(s,i=a),u.on=r}}function lf(e,t,n){var r=(e+="")=="transform"?wc:Ss;return t==null?this.styleTween(e,rf(e,r)).on("end.style."+e,Cs(e)):typeof t=="function"?this.styleTween(e,sf(e,r,ri(this,"style."+e,t))).each(af(this._id,e)):this.styleTween(e,of(e,r,t),n).on("end.style."+e,null)}function uf(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function cf(e,t,n){var r,i;function o(){var s=t.apply(this,arguments);return s!==i&&(r=(i=s)&&uf(e,s,n)),r}return o._value=t,o}function ff(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!="function")throw new Error;return this.tween(r,cf(e,t,n??""))}function hf(e){return function(){this.textContent=e}}function pf(e){return function(){var t=e(this);this.textContent=t??""}}function df(e){return this.tween("text",typeof e=="function"?pf(ri(this,"text",e)):hf(e==null?"":e+""))}function mf(e){return function(t){this.textContent=e.call(this,t)}}function gf(e){var t,n;function r(){var i=e.apply(this,arguments);return i!==n&&(t=(n=i)&&mf(i)),t}return r._value=e,r}function yf(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,gf(e))}function vf(){for(var e=this._name,t=this._id,n=As(),r=this._groups,i=r.length,o=0;o<i;++o)for(var s=r[o],l=s.length,u,c=0;c<l;++c)if(u=s[c]){var a=Ee(u,t);Fn(u,e,n,c,s,{time:a.time+a.delay+a.duration,delay:0,duration:a.duration,ease:a.ease})}return new Fe(r,this._parents,e,n)}function wf(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(o,s){var l={value:s},u={value:function(){--i===0&&o()}};n.each(function(){var c=$e(this,r),a=c.on;a!==e&&(t=(e=a).copy(),t._.cancel.push(l),t._.interrupt.push(l),t._.end.push(u)),c.on=t}),i===0&&o()})}var xf=0;function Fe(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function As(){return++xf}var Xe=Ht.prototype;Fe.prototype={constructor:Fe,select:Qc,selectAll:ef,filter:Vc,merge:Kc,selection:nf,transition:vf,call:Xe.call,nodes:Xe.nodes,node:Xe.node,size:Xe.size,empty:Xe.empty,each:Xe.each,on:Bc,attr:Rc,attrTween:$c,style:lf,styleTween:ff,text:df,textTween:yf,remove:Jc,tween:Nc,delay:Lc,duration:Uc,ease:Wc,easeVarying:Hc,end:wf,[Symbol.iterator]:Xe[Symbol.iterator]};function bf(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var _f={time:null,delay:0,duration:250,ease:bf};function Nf(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function Sf(e){var t,n;e instanceof Fe?(t=e._id,e=e._name):(t=As(),(n=_f).time=ei(),e=e==null?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var s=r[o],l=s.length,u,c=0;c<l;++c)(u=s[c])&&Fn(u,e,t,c,s,n||Nf(u,t));return new Fe(r,this._parents,e,t)}Ht.prototype.interrupt=ec;Ht.prototype.transition=Sf;const tn=e=>()=>e;function Cf(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ze(e,t,n){this.k=e,this.x=t,this.y=n}ze.prototype={constructor:ze,scale:function(e){return e===1?this:new ze(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new ze(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 ii=new ze(1,0,0);ze.prototype;function Zn(e){e.stopImmediatePropagation()}function yt(e){e.preventDefault(),e.stopImmediatePropagation()}function Af(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function Pf(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function ro(){return this.__zoom||ii}function Ef(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function Mf(){return navigator.maxTouchPoints||"ontouchstart"in this}function Rf(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],o=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}function kf(){var e=Af,t=Pf,n=Rf,r=Ef,i=Mf,o=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],l=250,u=Vu,c=Zr("start","zoom","end"),a,f,h,p=500,d=150,b=0,_=10;function w(m){m.property("__zoom",ro).on("wheel.zoom",j).on("mousedown.zoom",z).on("dblclick.zoom",U).filter(i).on("touchstart.zoom",I).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",X).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}w.transform=function(m,g,y,E){var k=m.selection?m.selection():m;k.property("__zoom",ro),m!==k?S(m,g,y,E):k.interrupt().each(function(){P(this,arguments).event(E).start().zoom(null,typeof g=="function"?g.apply(this,arguments):g).end()})},w.scaleBy=function(m,g,y,E){w.scaleTo(m,function(){var k=this.__zoom.k,R=typeof g=="function"?g.apply(this,arguments):g;return k*R},y,E)},w.scaleTo=function(m,g,y,E){w.transform(m,function(){var k=t.apply(this,arguments),R=this.__zoom,D=y==null?x(k):typeof y=="function"?y.apply(this,arguments):y,F=R.invert(D),V=typeof g=="function"?g.apply(this,arguments):g;return n(v(N(R,V),D,F),k,s)},y,E)},w.translateBy=function(m,g,y,E){w.transform(m,function(){return n(this.__zoom.translate(typeof g=="function"?g.apply(this,arguments):g,typeof y=="function"?y.apply(this,arguments):y),t.apply(this,arguments),s)},null,E)},w.translateTo=function(m,g,y,E,k){w.transform(m,function(){var R=t.apply(this,arguments),D=this.__zoom,F=E==null?x(R):typeof E=="function"?E.apply(this,arguments):E;return n(ii.translate(F[0],F[1]).scale(D.k).translate(typeof g=="function"?-g.apply(this,arguments):-g,typeof y=="function"?-y.apply(this,arguments):-y),R,s)},E,k)};function N(m,g){return g=Math.max(o[0],Math.min(o[1],g)),g===m.k?m:new ze(g,m.x,m.y)}function v(m,g,y){var E=g[0]-y[0]*m.k,k=g[1]-y[1]*m.k;return E===m.x&&k===m.y?m:new ze(m.k,E,k)}function x(m){return[(+m[0][0]+ +m[1][0])/2,(+m[0][1]+ +m[1][1])/2]}function S(m,g,y,E){m.on("start.zoom",function(){P(this,arguments).event(E).start()}).on("interrupt.zoom end.zoom",function(){P(this,arguments).event(E).end()}).tween("zoom",function(){var k=this,R=arguments,D=P(k,R).event(E),F=t.apply(k,R),V=y==null?x(F):typeof y=="function"?y.apply(k,R):y,Z=Math.max(F[1][0]-F[0][0],F[1][1]-F[0][1]),G=k.__zoom,J=typeof g=="function"?g.apply(k,R):g,ye=u(G.invert(V).concat(Z/G.k),J.invert(V).concat(Z/J.k));return function(ve){if(ve===1)ve=J;else{var _e=ye(ve),re=Z/_e[2];ve=new ze(re,V[0]-_e[0]*re,V[1]-_e[1]*re)}D.zoom(null,ve)}})}function P(m,g,y){return!y&&m.__zooming||new O(m,g)}function O(m,g){this.that=m,this.args=g,this.active=0,this.sourceEvent=null,this.extent=t.apply(m,g),this.taps=0}O.prototype={event:function(m){return m&&(this.sourceEvent=m),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(m,g){return this.mouse&&m!=="mouse"&&(this.mouse[1]=g.invert(this.mouse[0])),this.touch0&&m!=="touch"&&(this.touch0[1]=g.invert(this.touch0[0])),this.touch1&&m!=="touch"&&(this.touch1[1]=g.invert(this.touch1[0])),this.that.__zoom=g,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(m){var g=De(this.that).datum();c.call(m,this.that,new Cf(m,{sourceEvent:this.sourceEvent,target:w,type:m,transform:this.that.__zoom,dispatch:c}),g)}};function j(m,...g){if(!e.apply(this,arguments))return;var y=P(this,g).event(m),E=this.__zoom,k=Math.max(o[0],Math.min(o[1],E.k*Math.pow(2,r.apply(this,arguments)))),R=Ke(m);if(y.wheel)(y.mouse[0][0]!==R[0]||y.mouse[0][1]!==R[1])&&(y.mouse[1]=E.invert(y.mouse[0]=R)),clearTimeout(y.wheel);else{if(E.k===k)return;y.mouse=[R,E.invert(R)],un(this),y.start()}yt(m),y.wheel=setTimeout(D,d),y.zoom("mouse",n(v(N(E,k),y.mouse[0],y.mouse[1]),y.extent,s));function D(){y.wheel=null,y.end()}}function z(m,...g){if(h||!e.apply(this,arguments))return;var y=P(this,g,!0).event(m),E=De(m.view).on("mousemove.zoom",V,!0).on("mouseup.zoom",Z,!0),k=Ke(m,R),R=m.currentTarget,D=m.clientX,F=m.clientY;Uu(m.view),Zn(m),y.mouse=[k,this.__zoom.invert(k)],un(this),y.start();function V(G){if(yt(G),!y.moved){var J=G.clientX-D,ye=G.clientY-F;y.moved=J*J+ye*ye>b}
1y.event(G).zoom("mouse",n(v(y.that.__zoom,y.mouse[0]=Ke(G,R),y.mouse[1]),y.extent,s))}function Z(G){E.on("mousemove.zoom mouseup.zoom",null),Fu(G.view,y.moved),yt(G),y.event(G).end()}}function U(m,...g){if(e.apply(this,arguments)){var y=this.__zoom,E=Ke(m.changedTouches?m.changedTouches[0]:m,this),k=y.invert(E),R=y.k*(m.shiftKey?.5:2),D=n(v(N(y,R),E,k),t.apply(this,g),s);yt(m),l>0?De(this).transition().duration(l).call(S,D,E,m):De(this).call(w.transform,D,E,m)}}function I(m,...g){if(e.apply(this,arguments)){var y=m.touches,E=y.length,k=P(this,g,m.changedTouches.length===E).event(m),R,D,F,V;for(Zn(m),D=0;D<E;++D)F=y[D],V=Ke(F,this),V=[V,this.__zoom.invert(V),F.identifier],k.touch0?!k.touch1&&k.touch0[2]!==V[2]&&(k.touch1=V,k.taps=0):(k.touch0=V,R=!0,k.taps=1+!!a);a&&(a=clearTimeout(a)),R&&(k.taps<2&&(f=V[0],a=setTimeout(function(){a=null},p)),un(this),k.start())}}function H(m,...g){if(this.__zooming){var y=P(this,g).event(m),E=m.changedTouches,k=E.length,R,D,F,V;for(yt(m),R=0;R<k;++R)D=E[R],F=Ke(D,this),y.touch0&&y.touch0[2]===D.identifier?y.touch0[0]=F:y.touch1&&y.touch1[2]===D.identifier&&(y.touch1[0]=F);if(D=y.that.__zoom,y.touch1){var Z=y.touch0[0],G=y.touch0[1],J=y.touch1[0],ye=y.touch1[1],ve=(ve=J[0]-Z[0])*ve+(ve=J[1]-Z[1])*ve,_e=(_e=ye[0]-G[0])*_e+(_e=ye[1]-G[1])*_e;D=N(D,Math.sqrt(ve/_e)),F=[(Z[0]+J[0])/2,(Z[1]+J[1])/2],V=[(G[0]+ye[0])/2,(G[1]+ye[1])/2]}else if(y.touch0)F=y.touch0[0],V=y.touch0[1];else return;y.zoom("touch",n(v(D,F,V),y.extent,s))}}function X(m,...g){if(this.__zooming){var y=P(this,g).event(m),E=m.changedTouches,k=E.length,R,D;for(Zn(m),h&&clearTimeout(h),h=setTimeout(function(){h=null},p),R=0;R<k;++R)D=E[R],y.touch0&&y.touch0[2]===D.identifier?delete y.touch0:y.touch1&&y.touch1[2]===D.identifier&&delete y.touch1;if(y.touch1&&!y.touch0&&(y.touch0=y.touch1,delete y.touch1),y.touch0)y.touch0[1]=this.__zoom.invert(y.touch0[0]);else if(y.end(),y.taps===2&&(D=Ke(D,this),Math.hypot(f[0]-D[0],f[1]-D[1])<_)){var F=De(this).on("dblclick.zoom");F&&F.apply(this,arguments)}}}return w.wheelDelta=function(m){return arguments.length?(r=typeof m=="function"?m:tn(+m),w):r},w.filter=function(m){return arguments.length?(e=typeof m=="function"?m:tn(!!m),w):e},w.touchable=function(m){return arguments.length?(i=typeof m=="function"?m:tn(!!m),w):i},w.extent=function(m){return arguments.length?(t=typeof m=="function"?m:tn([[+m[0][0],+m[0][1]],[+m[1][0],+m[1][1]]]),w):t},w.scaleExtent=function(m){return arguments.length?(o[0]=+m[0],o[1]=+m[1],w):[o[0],o[1]]},w.translateExtent=function(m){return arguments.length?(s[0][0]=+m[0][0],s[1][0]=+m[1][0],s[0][1]=+m[0][1],s[1][1]=+m[1][1],w):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},w.constrain=function(m){return arguments.length?(n=m,w):n},w.duration=function(m){return arguments.length?(l=+m,w):l},w.interpolate=function(m){return arguments.length?(u=m,w):u},w.on=function(){var m=c.on.apply(c,arguments);return m===c?w:m},w.clickDistance=function(m){return arguments.length?(b=(m=+m)*m,w):Math.sqrt(b)},w.tapDistance=function(m){return arguments.length?(_=+m,w):_},w}function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?io(Object(n),!0).forEach(function(r){Tf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tr(e){"@babel/helpers - typeof";return Tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tr(e)}function Tf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}function Of(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ce(e,t){if(e==null)return{};var n=Of(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function se(e,t){return qf(e)||$f(e,t)||If(e,t)||jf()}function qf(e){if(Array.isArray(e))return e}function $f(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,s,l;try{for(n=n.call(e);!(i=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));i=!0);}catch(u){o=!0,l=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function If(e,t){if(e){if(typeof e=="string")return oo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oo(e,t)}}function oo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
1function jf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Lf=["width","height","projection","projectionConfig"],Df=Ko,zf=Ce(Qa,["geoPath"]),Ie=L.createContext(),Uf=function(t){var n=t.projectionConfig,r=n===void 0?{}:n,i=t.projection,o=i===void 0?"geoEqualEarth":i,s=t.width,l=s===void 0?800:s,u=t.height,c=u===void 0?600:u,a=typeof o=="function";if(a)return o;var f=zf[o]().translate([l/2,c/2]),h=[f.center?"center":null,f.rotate?"rotate":null,f.scale?"scale":null,f.parallels?"parallels":null];return h.forEach(function(p){p&&(f=f[p](r[p]||f[p]()))}),f},Ps=function(t){var n=t.width,r=t.height,i=t.projection,o=t.projectionConfig,s=Ce(t,Lf),l=o.center||[],u=se(l,2),c=u[0],a=u[1],f=o.rotate||[],h=se(f,3),p=h[0],d=h[1],b=h[2],_=o.parallels||[],w=se(_,2),N=w[0],v=w[1],x=o.scale||null,S=L.useMemo(function(){return Uf({projectionConfig:{center:c||c===0||a||a===0?[c,a]:null,rotate:p||p===0||d||d===0?[p,d,b]:null,parallels:N||N===0||v||v===0?[N,v]:null,scale:x},projection:i,width:n,height:r})},[n,r,i,c,a,p,d,b,N,v,x]),P=L.useCallback(S,[S]),O=L.useMemo(function(){return{width:n,height:r,projection:P,path:Df().projection(P)}},[n,r,P]);return ie.createElement(Ie.Provider,ge({value:O},s))};Ps.propTypes={width:A.number,height:A.number,projection:A.oneOfType([A.string,A.func]),projectionConfig:A.object};var Ff=["width","height","projection","projectionConfig","className"],oi=L.forwardRef(function(e,t){var n=e.width,r=n===void 0?800:n,i=e.he
2ight,o=i===void 0?600:i,s=e.projection,l=s===void 0?"geoEqualEarth":s,u=e.projectionConfig,c=u===void 0?{}:u,a=e.className,f=a===void 0?"":a,h=Ce(e,Ff);return ie.createElement(Ps,{width:r,height:o,projection:l,projectionConfig:c},ie.createElement("svg",ge({ref:t,viewBox:"0 0 ".concat(r," ").concat(o),className:"rsm-svg ".concat(f)},h)))});oi.displayName="ComposableMap";oi.propTypes={width:A.number,height:A.number,projection:A.oneOfType([A.string,A.func]),projectionConfig:A.object,className:A.string};function so(e,t,n){var r=(e*n.k-e)/2,i=(t*n.k-t)/2;return[e/2-(r+n.x)/n.k,t/2-(i+n.y)/n.k]}function Wf(e){return fetch(e).then(function(t){if(!t.ok)throw Error(t.statusText);return t.json()}).catch(function(t){console.log("There was a problem when fetching the data: ",t)})}function ao(e,t){var n=e.type==="Topology";if(!n)return t?t(e.features||e):e.features||e;var r=rl(e,e.objects[Object.keys(e.objects)[0]]).features;return t?t(r):r}function lo(e){var t=e.type==="Topology";if(!t)return null;var n=zi(e,e.objects[Object.keys(e.objects)[0]],function(i,o){return i===o}),r=zi(e,e.objects[Object.keys(e.objects)[0]],function(i,o){return i!==o});return{outline:n,borders:r}}function Yf(e,t,n){return e&&t?{outline:st(st({},e),{},{rsmKey:"outline",svgPath:n(e)}),borders:st(st({},t),{},{rsmKey:"borders",svgPath:n(t)})}:{}}function Hf(e,t){return e?e.map(function(n,r){return st(st({},n),{},{rsmKey:"geo-".concat(r),svgPath:t(n)})}):[]}function Vf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:30,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:30,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,r=Array.isArray(n)?n:[n,n],i=e/2*r[0],o=t/2*r[1];return"M".concat(0,",",0," Q",-e/2-i,",").concat(-t/2+o," ").concat(-e,",").concat(-t)}function Kf(e){return typeof e=="string"}function Xf(e){var t=e.geography,n=e.parseGeographies,r=L.useContext(Ie),i=r.path,o=L.useState({}),s=se(o,2),l=s[0],u=s[1];L.useEffect(function(){(typeof window>"u"?"undefined":Tr(window))!=="undefined"&&t&&(Kf(t)?Wf(t).then(function(p){p&&u({geographies:ao(p,n),mesh:lo(p)})}):u({geographies:ao(t,n),mesh:lo(t)}))},[t,n]);var c=L.useMemo(function(){var p=l.mesh||{},d=Yf(p.outline,p.borders,i);return{geographies:Hf(l.geographies,i),outline:d.outline,borders:d.borders}},[l,i]),a=c.geographies,f=c.outline,h=c.borders;return{geographies:a,outline:f,borders:h}}var Gf=["geography","children","parseGeographies","className"],si=L.forwardRef(function(e,t){var n=e.geography,r=e.children,i=e.parseGeographies,o=e.className,s=o===void 0?"":o,l=Ce(e,Gf),u=L.useContext(Ie),c=u.path,a=u.projection,f=Xf({geography:n,parseGeographies:i}),h=f.geographies,p=f.outline,d=f.borders;return ie.createElement("g",ge({ref:t,className:"rsm-geographies ".concat(s)},l),h&&h.length>0&&r({geographies:h,outline:p,borders:d,path:c,projection:a}))});si.displayName="Geographies";si.propTypes={geography:A.oneOfType([A.string,A.object,A.array]),children:A.func,parseGeographies:A.func,className:A.string};var Bf=["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],ai=L.forwardRef(function(e,t){var n=e.geography,r=e.onMouseEnter,i=e.onMouseLeave,o=e.onMouseDown,s=e.onMouseUp,l=e.onFocus,u=e.onBlur,c=e.style,a=c===void 0?{}:c,f=e.className,h=f===void 0?"":f,p=Ce(e,Bf),d=L.useState(!1),b=se(d,2),_=b[0],w=b[1],N=L.useState(!1),v=se(N,2),x=v[0],S=v[1];function P(H){S(!0),r&&r(H)}
2function O(H){S(!1),_&&w(!1),i&&i(H)}function j(H){S(!0),l&&l(H)}function z(H){S(!1),_&&w(!1),u&&u(H)}function U(H){w(!0),o&&o(H)}function I(H){w(!1),s&&s(H)}return ie.createElement("path",ge({ref:t,tabIndex:"0",className:"rsm-geography ".concat(h),d:n.svgPath,onMouseEnter:P,onMouseLeave:O,onFocus:j,onBlur:z,onMouseDown:U,onMouseUp:I,style:a[_||x?_?"pressed":"hover":"default"]},p))});ai.displayName="Geography";ai.propTypes={geography:A.object,onMouseEnter:A.func,onMouseLeave:A.func,onMouseDown:A.func,onMouseUp:A.func,onFocus:A.func,onBlur:A.func,style:A.object,className:A.string};var Zf=L.memo(ai),Jf=["fill","stroke","step","className"],li=L.forwardRef(function(e,t){var n=e.fill,r=n===void 0?"transparent":n,i=e.stroke,o=i===void 0?"currentcolor":i,s=e.step,l=s===void 0?[10,10]:s,u=e.className,c=u===void 0?"":u,a=Ce(e,Jf),f=L.useContext(Ie),h=f.path;return ie.createElement("path",ge({ref:t,d:h(Ir().step(l)()),fill:r,stroke:o,className:"rsm-graticule ".concat(c)},a))});li.displayName="Graticule";li.propTypes={fill:A.string,stroke:A.string,step:A.array,className:A.string};L.memo(li);var Qf=["value"],eh=L.createContext(),th={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"},Es=function(t){var n=t.value,r=n===void 0?th:n,i=Ce(t,Qf);return ie.createElement(eh.Provider,ge({value:r},i))};Es.propTypes={x:A.number,y:A.number,k:A.number,transformString:A.string};function nh(e){var t=e.center,n=e.filterZoomEvent,r=e.onMoveStart,i=e.onMoveEnd,o=e.onMove,s=e.translateExtent,l=s===void 0?[[-1/0,-1/0],[1/0,1/0]]:s,u=e.scaleExtent,c=u===void 0?[1,8]:u,a=e.zoom,f=a===void 0?1:a,h=L.useContext(Ie),p=h.width,d=h.height,b=h.projection,_=se(t,2),w=_[0],N=_[1],v=L.useState({x:0,y:0,k:1}),x=se(v,2),S=x[0],P=x[1],O=L.useRef({x:0,y:0,k:1}),j=L.useRef(),z=L.useRef(),U=L.useRef(!1),I=se(l,2),H=I[0],X=I[1],m=se(H,2),g=m[0],y=m[1],E=se(X,2),k=E[0],R=E[1],D=se(c,2),F=D[0],V=D[1];return L.useEffect(function(){var Z=De(j.current);function G(re){!r||U.current||r({coordinates:b.invert(so(p,d,re.transform)),zoom:re.transform.k},re)}function J(re){if(!U.current){var We=re.transform,mt=re.sourceEvent;P({x:We.x,y:We.y,k:We.k,dragging:mt}),o&&o({x:We.x,y:We.y,zoom:We.k,dragging:mt},re)}}function ye(re){if(U.current){U.current=!1;return}var We=b.invert(so(p,d,re.transform)),mt=se(We,2),ci=mt[0],fi=mt[1];O.current={x:ci,y:fi,k:re.transform.k},i&&i({coordinates:[ci,fi],zoom:re.transform.k},re)}function ve(re){return n?n(re):re?!re.ctrlKey&&!re.button:!1}var _e=kf().filter(ve).scaleExtent([F,V]).translateExtent([[g,y],[k,R]]).on("start",G).on("zoom",J).on("end",ye);z.current=_e,Z.call(_e)},[p,d,g,y,k,R,F,V,b,r,o,i,n]),L.useEffect(function(){if(!(w===O.current.x&&N===O.current.y&&f===O.current.k)){var Z=b([w,N]),G=Z[0]*f,J=Z[1]*f,ye=De(j.current);U.current=!0,ye.call(z.current.transform,ii.translate(p/2-G,d/2-J).scale(f)),P({x:p/2-G,y:d/2-J,k:f}),O.current={x:w,y:N,k:f}}},[w,N,f,p,d,b]),{mapRef:j,position:S,transformString:"translate(".concat(S.x," ").concat(S.y,") scale(").concat(S.k,")")}}var rh=["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"],Ms=L.forwardRef(function(e,t){var n=e.center,r=n===void 0?[0,0]:n,i=e.zoom,o=i===void 0?1:i,s=e.minZoom,l=s===void 0?1:s,u=e.maxZoom,c=u===void 0?8:u,a=e.translateExtent,f=e.filterZoomEvent,h=e.onMoveStart,p=e.onMove,d=e.onMoveEnd,b=e.className,_=Ce(e,rh),w=L.useContext(Ie),N=w.width,v=w.height,x=nh({center:r,filterZoomEvent:f,onMoveStart:h,onMove:p,onMoveEnd:d,scaleExtent:[l,c],translateExtent:a,zoom:o}),S=x.mapRef,P=x.transformString,O=x.position;return ie.createElement(Es,{value:{x:O.x,y:O.y,k:O.k,transformString:P}},ie.createElement("g",{ref:S},ie.createElement("rect",{width:N,height:v,fill:"transparent"}),ie.createElement("g",ge({ref:t,transform:P,className:"rsm-zoomable-group ".concat(b)},_))))});Ms.displayName="ZoomableGroup";Ms.propTypes={center:A.array,zoom:A.number,minZoom:A.number,maxZoom:A.number,translateExtent:A.arrayOf(A.array),onMoveStart:A.func,onMove:A.func,onMoveEnd:A.func,className:A.string};var ih=["id","fill","stroke","strokeWidth","className"],ui=L.forwardRef(function(e,t){var n=e.id,r=n===void 0?"rsm-sphere":n,i=e.fill,o=i===void 0?"transparent":i,s=e.stroke,l=s===void 0?"currentcolor":s,u=e.strokeWidth,c=u===void 0?.5:u,a=e.className,f=a===void 0?"":a,h=Ce(e,ih),p=L.useContext(Ie),d=p.path,b=L.useMemo(function(){return d({type:"Sphere"})},[d]);return ie.createElement(L.Fragment,null,ie.createElement("defs",null,ie.createElement("clipPath",{id:r},ie.createElement("path",{d:b}
2))),ie.createElement("path",ge({ref:t,d:b,fill:o,stroke:l,strokeWidth:c,style:{pointerEvents:"none"},className:"rsm-sphere ".concat(f)},h)))});ui.displayName="Sphere";ui.propTypes={id:A.string,fill:A.string,stroke:A.string,strokeWidth:A.number,className:A.string};L.memo(ui);var oh=["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],Rs=L.forwardRef(function(e,t){var n=e.coordinates,r=e.children,i=e.onMouseEnter,o=e.onMouseLeave,s=e.onMouseDown,l=e.onMouseUp,u=e.onFocus,c=e.onBlur,a=e.style,f=a===void 0?{}:a,h=e.className,p=h===void 0?"":h,d=Ce(e,oh),b=L.useContext(Ie),_=b.projection,w=L.useState(!1),N=se(w,2),v=N[0],x=N[1],S=L.useState(!1),P=se(S,2),O=P[0],j=P[1],z=_(n),U=se(z,2),I=U[0],H=U[1];function X(R){j(!0),i&&i(R)}function m(R){j(!1),v&&x(!1),o&&o(R)}function g(R){j(!0),u&&u(R)}function y(R){j(!1),v&&x(!1),c&&c(R)}function E(R){x(!0),s&&s(R)}function k(R){x(!1),l&&l(R)}return ie.createElement("g",ge({ref:t,transform:"translate(".concat(I,", ").concat(H,")"),className:"rsm-marker ".concat(p),onMouseEnter:X,onMouseLeave:m,onFocus:g,onBlur:y,onMouseDown:E,onMouseUp:k,style:f[v||O?v?"pressed":"hover":"default"]},d),r)});Rs.displayName="Marker";Rs.propTypes={coordinates:A.array,children:A.oneOfType([A.node,A.arrayOf(A.node)]),onMouseEnter:A.func,onMouseLeave:A.func,onMouseDown:A.func,onMouseUp:A.func,onFocus:A.func,onBlur:A.func,style:A.object,className:A.string};var sh=["from","to","coordinates","stroke","strokeWidth","fill","className"],ks=L.forwardRef(function(e,t){var n=e.from,r=n===void 0?[0,0]:n,i=e.to,o=i===void 0?[0,0]:i,s=e.coordinates,l=e.stroke,u=l===void 0?"currentcolor":l,c=e.strokeWidth,a=c===void 0?3:c,f=e.fill,h=f===void 0?"transparent":f,p=e.className,d=p===void 0?"":p,b=Ce(e,sh),_=L.useContext(Ie),w=_.path,N={type:"LineString",coordinates:s||[r,o]};return ie.createElement("path",ge({ref:t,d:w(N),className:"rsm-line ".concat(d),stroke:u,strokeWidth:a,fill:h},b))});ks.displayName="Line";ks.propTypes={from:A.array,to:A.array,coordinates:A.array,stroke:A.string,strokeWidth:A.number,fill:A.string,className:A.string};var ah=["subject","children","connectorProps","dx","dy","curve","className"],Ts=L.forwardRef(function(e,t){var n=e.subject,r=e.children,i=e.connectorProps,o=e.dx,s=o===void 0?30:o,l=e.dy,u=l===void 0?30:l,c=e.curve,a=c===void 0?0:c,f=e.className,h=f===void 0?"":f,p=Ce(e,ah),d=L.useContext(Ie),b=d.projection,_=b(n),w=se(_,2),N=w[0],v=w[1],x=Vf(s,u,a);return ie.createElement("g",ge({ref:t,transform:"translate(".concat(N+s,", ").concat(v+u,")"),className:"rsm-annotation ".concat(h)},p),ie.createElement("path",ge({d:x,fill:"transparent",stroke:"#000"},i)),r)});Ts.displayName="Annotation";Ts.propTypes={subject:A.array,children:A.oneOfType([A.node,A.arrayOf(A.node)]),dx:A.number,dy:A.number,curve:A.number,connectorProps:A.object,className:A.string};const K=["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],Jn=(e=[])=>K.filter(t=>!e.includes(t)),tt={AL:{name:"Alabama",abbr:"AL",grid:[6,6],honors:Jn(["CA","CT","HI","IL","MA","MD","NJ","NY","OR","RI","WA"]),permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless concealed carry for adults 19+.",minAge:19,nonResidentPermits:!0,residentRequirements:"Permitless carry 19+. Optional permit via county sheriff for reciprocity.",restrictions:"No carry in schools, courthouses, police stations, athletic events, or where posted.",notes:"Constitutional carry effective Jan 1, 2023.",officialUrl:"https://www.alea.gov/"},AK:{name:"Alaska",abbr:"AK",grid:[0,7],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 21+.",constitutionalCarry:"Yes â permitless carry since 2003.",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+. Optional permit via Dept. of Public Safety.",restrictions:"Must inform LEO. No carry in schools, courts, bars.",notes:"Constitutional carry since 2003.",officialUrl:"https://dps.alaska.gov/"},AZ:{name:"Arizona",abbr:"AZ",grid:[2,5],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless concealed carry for adults 21+.",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+. Optional CCW via AZ DPS with training.",restrictions:"No carry in schools, polling places, nuclear facilities, or where posted.",notes:"Recognizes any valid permit from any state.",officialUrl:"https://www.azdps.gov/"},AR:{name:"Arkansas",abbr:"AR",grid:[5,5],honors:K,permitless:"full",openCarry:"Generally allowed without a permit for adults 18+.",constitutionalCarry:"Yes â permitless carry clarified by Act 777 (2023).",minAge:18,nonResidentPermits:!0,residentRequirements:"Standard or Enhanced CHCL via Arkansas State Police.",restrictions:"No carry in schools (without enhanced), courthouses, bars, or where posted.",notes:"Act 777 clarified permitless carry (2023).",officialUrl:"https://www.dps.arkansas.gov/"},CA:{name:"California",abbr:"CA",grid:[0,4],honors:[],permitless:"no",o
2penCarry:"Prohibited in most populated areas; limited exceptions in unincorporated rural areas with a permit.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"Shall-issue post-Bruen via county sheriff or PD. Training, live-fire, background, good moral character.",restrictions:"Extensive sensitive-place restrictions under SB 2: schools, hospitals, parks, bars, transit, more.",notes:"Does NOT honor any out-of-state permit.",officialUrl:"https://oag.ca.gov/firearms"},CO:{name:"Colorado",abbr:"CO",grid:[3,4],honors:["AK","AL","AR","AZ","FL","GA","IA","ID","IN","KS","KY","LA","MI","MO","MS","MT","NC","ND","NE","NV","OH","OK","SC","SD","TN","TX","UT","VA","WV","WY"],permitless:"no",openCarry:"Allowed in unincorporated areas; generally prohibited in Denver and many municipalities.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"Shall-issue via county sheriff; training required.",restrictions:"No carry in K-12, courthouses, or where posted. Local rules may add restrictions.",notes:"Only honors resident permits from reciprocal states.",officialUrl:"https://coag.gov/"},CT:{name:"Connecticut",abbr:"CT",grid:[10,2],honors:[],permitless:"no",openCarry:"Prohibited in most circumstances; requires a carry permit.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Temporary permit from local authority, then state permit via CSP. Training, prints, interview.",restrictions:"No carry in schools, state buildings, and many sensitive places.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://portal.ct.gov/despp"},DE:{name:"Delaware",abbr:"DE",grid:[9,3],honors:["AK","AR","AZ","CO","FL","ID","IN","KS","KY","LA","ME","MI","MO","MS","NC","ND","NM","OH","OK","SC","SD","TN","TX","UT","WV"],permitless:"no",openCarry:"Allowed with a carry permit in many areas; local restrictions apply.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"May-issue via Superior Court; newspaper notice, 5 references, training.",restrictions:"No carry in schools, courthouses, or where posted.",notes:"Only honors resident permits from reciprocal states.",officialUrl:"https://attorneygeneral.delaware.gov/"},FL:{name:"Florida",abbr:"FL",grid:[7,7],honors:Jn(["CA","CT","HI","IL","MA","NJ","NY","OR","RI"]),permitless:"full",openCarry:"Prohibited except for limited activities like hunting/fishing/camping with a permit.",constitutionalCarry:"Yes â permitless concealed carry for adults 21+ (July 2023).",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless concealed carry 21+ (July 2023). CWFL optional for reciprocity.",restrictions:"No carry in schools, courthouses, polling places, bars, or where posted.",notes:"License via FL Dept. of Agriculture & Consumer Services.",officialUrl:"https://www.fdacs.gov/"},GA:{name:"Georgia",abbr:"GA",grid:[7,6],honors:Jn(["CA","CT","HI","IL","MA","MD","NJ","NY","OR","RI","WA"]),permitless:"full",openCarry:"Allowed with a weapons carry license for adults 21+; permitless carry is concealed only.",constitutionalCarry:"Yes â permitless concealed carry for lawful weapons carriers 21+ (April 2022).",minAge:21,nonResidentPermits:!1,residentRequirements:"Permitless carry for lawful weapons carriers 21+. Optional license via probate court.",restrictions:"No carry in courthouses, jails, mental health facilities, polling places.",notes:"Constitutional carry effective April 2022.",officialUrl:"https://georgiacarry.org/"},HI:{name:"Hawaii",abbr:"HI",grid:[1,8],honors:[],permitless:"no",openCarry:"Prohibited in practice; permits are extremely rare and discretionary.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue post-Bruen via county chief of police; training, prints, live-fire.",restrictions:"Extensive sensitive places, including beaches, banks, businesses without permission.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://ag.hawaii.gov/"},ID:{name:"Idaho",abbr:"ID",grid:[2,3],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless concealed carry for residents 18+.",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless carry for residents 18+. Enhanced CWL optional.",restrictions:"No carry in courthouses, jails, schools (unless enhanced), or where posted.",notes:"Recognizes any valid state permit.",officialUrl:"https://isp.idaho.gov/"},IL:{name:"Illinois",abbr:"IL",grid:[6,3],honors:[],permitless:"no",o
2penCarry:"Prohibited in most public areas; limited exceptions on private property or while hunting.",constitutionalCarry:"No â FOID and CCL required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue with 16 hours training via ISP. FOID card also required.",restrictions:"Many prohibited places under FCCA: transit, parks, bars, schools.",notes:"Non-residents from AR, ID, MS, NV, SC, TX, VA may apply.",officialUrl:"https://isp.illinois.gov/"},IN:{name:"Indiana",abbr:"IN",grid:[7,3],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless carry 18+ (July 2022).",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless carry 18+ (July 2022). Optional lifetime license from ISP.",restrictions:"No carry in schools, courtrooms, or where prohibited by federal law.",notes:"Recognizes all valid state permits.",officialUrl:"https://www.in.gov/isp/"},IA:{name:"Iowa",abbr:"IA",grid:[5,3],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+ (2021).",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+ (2021). Optional Professional Permit via sheriff.",restrictions:"No carry in schools, courthouses, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://dps.iowa.gov/"},KS:{name:"Kansas",abbr:"KS",grid:[4,4],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+.",minAge:21,nonResidentPermits:!1,residentRequirements:"Permitless 21+. Optional CCH via Attorney General.",restrictions:"No carry in state/local government buildings with adequate security.",notes:"Provisional license for 18-20.",officialUrl:"https://ag.ks.gov/"},KY:{name:"Kentucky",abbr:"KY",grid:[7,4],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+.",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+. CCDW optional via KSP.",restrictions:"No carry in schools, courthouses, police stations, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://kentuckystatepolice.org/"},LA:{name:"Louisiana",abbr:"LA",grid:[5,6],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless concealed carry 18+ (July 4, 2024).",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless concealed carry 18+ (July 4, 2024). Optional CHP via LSP.",restrictions:"No carry in schools, courthouses, polling places, bars, houses of worship.",notes:"Constitutional carry enacted 2024.",officialUrl:"https://www.lsp.org/"},ME:{name:"Maine",abbr:"ME",grid:[11,1],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+ (18+ military).",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+ (18+ military). Optional permit via municipal PD or state police.",restrictions:"No carry in courthouses, some state parks, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://www.maine.gov/dps/"},MD:{name:"Maryland",abbr:"MD",grid:[9,3],honors:[],permitless:"no",openCarry:"Prohibited in most public areas; wear/carry permit required.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue post-Bruen via MSP. 16 hours training, live-fire, prints.",restrictions:"Sweeping sensitive-place law (SB1) covers restaurants serving alcohol, museums, more.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://mdsp.maryland.gov/"},MA:{name:"Massachusetts",abbr:"MA",grid:[11,2],honors:[],permitless:"no",openCarry:"Prohibited in most public areas; LTC required and local restrictions common.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"License to Carry via local PD. Training, references, background, discretionary approval.",restrictions:"Many sensitive places restricted under Chapter 135 (2024).",notes:"Does not honor any out-of-state permit.",officialUrl:"https://www.mass.gov/orgs/firearms-records-bureau"},MI:{name:"Michigan",abbr:"MI",grid:[7,2],honors:K,permitless:"no",o
2penCarry:"Allowed without permit in many unincorporated areas; local restrictions and vehicle carry rules apply.",constitutionalCarry:"No â CPL required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"Shall-issue CPL via county clerk. 8 hours training with live-fire.",restrictions:"Pistol-free zones: schools, day-care, arenas, bars, courts.",notes:"Recognizes valid permits held by residents of the issuing state.",officialUrl:"https://www.michigan.gov/msp"},MN:{name:"Minnesota",abbr:"MN",grid:[5,2],honors:["AK","AR","CO","FL","ID","IA","KS","KY","MI","MS","MT","ND","NE","NC","OH","OK","PA","SC","SD","TN","TX","UT","WI","WV","WY"],permitless:"no",openCarry:"Allowed with a permit to carry in most areas; prohibited without a permit.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue Permit to Carry via county sheriff; training required.",restrictions:"No carry in schools, government buildings, or where posted.",notes:"Only honors permits from listed reciprocal states.",officialUrl:"https://dps.mn.gov/"},MS:{name:"Mississippi",abbr:"MS",grid:[6,6],honors:K,permitless:"full",openCarry:"Allowed without a permit in a belt/shoulder holster; purse/bag carry requires a permit if not in a holster.",constitutionalCarry:"Yes â permitless concealed carry 18+ if in a belt/shoulder holster or purse/bag (2016).",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless 18+ (concealed in belt/holster/purse). Enhanced Permit optional.",restrictions:"No carry in courthouses, police stations, schools (without enhanced), or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://www.dps.ms.gov/"},MO:{name:"Missouri",abbr:"MO",grid:[5,4],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 19+; local ordinances may restrict in certain areas.",constitutionalCarry:"Yes â permitless 19+ (18+ military).",minAge:19,nonResidentPermits:!0,residentRequirements:"Permitless 19+ (18+ military). Optional CCW via sheriff.",restrictions:"No carry in LE offices, jails, courthouses, polling places.",notes:"Constitutional carry since 2017.",officialUrl:"https://ago.mo.gov/"},MT:{name:"Montana",abbr:"MT",grid:[3,2],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 18+ (expanded 2021).",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless 18+. Optional CWP via sheriff.",restrictions:"No carry in schools, courthouses, or where posted.",notes:"Constitutional carry expanded 2021.",officialUrl:"https://dojmt.gov/"},NE:{name:"Nebraska",abbr:"NE",grid:[4,3],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+ (Sept 2023).",minAge:21,nonResidentPermits:!1,residentRequirements:"Permitless 21+ (Sept 2023). Optional CHP via State Patrol.",restrictions:"No carry in schools, courthouses, polling places, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://statepatrol.nebraska.gov/"},NV:{name:"Nevada",abbr:"NV",grid:[1,4],honors:["AK","AR","AZ","CO","FL","ID","IN","KS","KY","LA","ME","MI","MO","MS","NC","ND","NE","NM","OH","OK","SD","TN","TX","UT","VA","WV"],permitless:"no",openCarry:"Allowed without permit for adults 18+ in most areas (local restrictions in some counties).",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue via sheriff. Training with semi-auto and revolver required.",restrictions:"No carry in schools, child-care, or where posted.",notes:"Only recognizes resident permits from reciprocal states.",officialUrl:"https://ag.nv.gov/"},NH:{name:"New Hampshire",abbr:"NH",grid:[10,2],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 18+.",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless 18+. Optional Pistol/Revolver License via local PD.",restrictions:"No carry in courthouses.",notes:"Recognizes all state permits.",officialUrl:"https://www.nh.gov/safety/"},NJ:{name:"New Jersey",abbr:"NJ",grid:[10,3],honors:[],permitless:"no",o
2penCarry:"Prohibited in public; permit required for any carry.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue post-Bruen via municipal PD or NJSP. Training, prints, 4 refs, live-fire.",restrictions:"Extensive sensitive-place law (Ch. 131) restricts most public locations.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://www.njsp.org/"},NM:{name:"New Mexico",abbr:"NM",grid:[3,5],honors:["AK","AR","AZ","CO","FL","GA","IA","ID","KS","KY","LA","MI","MO","MS","MT","NC","ND","NE","NV","OH","OK","PA","SC","SD","TN","TX","UT","VA","WV","WY"],permitless:"no",openCarry:"Allowed without permit for adults 19+ in most areas; restricted in cities/towns with a population over 1,000 unless unloaded.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"Shall-issue via NM DPS. Training with specific caliber required.",restrictions:"No carry in schools, courthouses, tribal land, or licensed liquor establishments.",notes:"Only honors resident permits from reciprocal states.",officialUrl:"https://www.dps.nm.gov/"},NY:{name:"New York",abbr:"NY",grid:[9,2],honors:[],permitless:"no",openCarry:"Prohibited in most public areas; pistol license required.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue post-Bruen via county judge or NYPD. 16+ hours training, prints, refs, social media review, interview.",restrictions:"CCIA restricts sensitive locations broadly: transit, parks, bars, houses of worship, Times Square.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://www.nysp.gov/"},NC:{name:"North Carolina",abbr:"NC",grid:[8,5],honors:K,permitless:"no",openCarry:"Allowed without permit in most areas; local restrictions may apply in some municipalities.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"Shall-issue via county sheriff. 8-hour training with live-fire.",restrictions:"No carry in schools, courthouses, state government buildings, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://ncdoj.gov/"},ND:{name:"North Dakota",abbr:"ND",grid:[4,2],honors:K,permitless:"residents-only",openCarry:"Allowed without permit for residents 18+; visitors need a recognized permit.",constitutionalCarry:"Residents only â permitless concealed carry for residents 18+; visitors need a permit.",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless carry for residents 18+. Class 1 or 2 license via BCI for reciprocity.",restrictions:"No carry in schools, government buildings, or where posted.",notes:"Non-residents need a permit.",officialUrl:"https://attorneygeneral.nd.gov/"},OH:{name:"Ohio",abbr:"OH",grid:[8,3],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+ (June 2022).",minAge:21,nonResidentPermits:!1,residentRequirements:"Permitless 21+. Optional CHL via sheriff for reciprocity.",restrictions:"No carry in schools, courthouses, government buildings, day cares, or where posted.",notes:"Constitutional carry since June 2022.",officialUrl:"https://www.ohioattorneygeneral.gov/"},OK:{name:"Oklahoma",abbr:"OK",grid:[4,5],honors:K,permitless:"full",openCarry:"Allowed with a permit (SDA license) for adults 21+; permitless carry is concealed only.",constitutionalCarry:"Yes â permitless concealed carry 21+ (18+ military/veteran).",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+ (18+ military/veteran). SDA license optional via OSBI.",restrictions:"No carry in schools, colleges, courthouses, jails, sports arenas.",notes:"Recognizes all state permits.",officialUrl:"https://oklahoma.gov/osbi.html"},OR:{name:"Oregon",abbr:"OR",grid:[1,2],honors:[],permitless:"no",openCarry:"Allowed without permit in unincorporated areas; cities may require a CHL for loaded open carry.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!1,residentRequirements:"Shall-issue via county sheriff; training required. Measure 114 rules pending litigation.",restrictions:"No carry in schools, courts, or where posted; local ordinances may add limits.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://www.oregon.gov/osp/"},PA:{name:"Pennsylvania",abbr:"PA",grid:[9,3],honors:["AK","AL","AR","AZ","CO","FL","GA","ID","IN","IA","KS","KY","LA","MI","MS","MO","MT","NE","NV","NH","NM","NC","ND","OH","OK","SC","SD","TN","TX","UT","VA","WV","WY"],permitless:"no",o
2penCarry:"Allowed without permit in most areas except Philadelphia, where a LTCF is required; vehicle carry requires a LTCF.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue LTCF via sheriff (PD in Philadelphia).",restrictions:"No carry in courts, schools, or Philadelphia streets without LTCF.",notes:"Only honors resident permits from reciprocal states.",officialUrl:"https://www.attorneygeneral.gov/"},RI:{name:"Rhode Island",abbr:"RI",grid:[11,2],honors:[],permitless:"no",openCarry:"Prohibited without a permit; permits are discretionar./may-issue.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Dual system: shall-issue via AG or discretionary via city/town.",restrictions:"Many sensitive-place restrictions.",notes:"Does not honor any out-of-state permit.",officialUrl:"https://riag.ri.gov/"},SC:{name:"South Carolina",abbr:"SC",grid:[8,6],honors:K,permitless:"full",openCarry:"Allowed with a CWP for adults 21+; permitless carry is concealed only.",constitutionalCarry:"Yes â permitless concealed carry 18+ (March 2024).",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless 18+ (March 2024). Optional CWP via SLED.",restrictions:"No carry in schools, courthouses, police stations, or where posted.",notes:"Constitutional carry enacted 2024.",officialUrl:"https://www.sled.sc.gov/"},SD:{name:"South Dakota",abbr:"SD",grid:[4,2],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 18+.",minAge:18,nonResidentPermits:!0,residentRequirements:"Permitless 18+. Regular, Gold, or Enhanced permit optional via sheriff.",restrictions:"No carry in schools, courthouses, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://atg.sd.gov/"},TN:{name:"Tennessee",abbr:"TN",grid:[6,5],honors:K,permitless:"full",openCarry:"Allowed with a permit for adults 21+; permitless carry is concealed only.",constitutionalCarry:"Yes â permitless 18+ (expanded 2024).",minAge:18,nonResidentPermits:!1,residentRequirements:"Permitless 18+ (expanded 2024). Enhanced or concealed-only HCP via DOS for reciprocity.",restrictions:"No carry in schools, some parks, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://www.tn.gov/safety/"},TX:{name:"Texas",abbr:"TX",grid:[4,6],honors:K,permitless:"full",openCarry:"Allowed with a LTC for adults 21+; permitless carry is concealed only.",constitutionalCarry:"Yes â permitless 21+ (18+ per court ruling).",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+ (18+ per court ruling). Optional LTC via DPS with training.",restrictions:"51% (bars), 30.06/30.07 signage, schools, courts, polling places.",notes:"Recognizes all state permits.",officialUrl:"https://www.dps.texas.gov/"},UT:{name:"Utah",abbr:"UT",grid:[2,4],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+ except in 'secure areas' where a permit is required.",constitutionalCarry:"Yes â permitless 21+.",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+. Regular or Provisional CFP via BCI (widely reciprocal).",restrictions:"No carry in secure areas, courthouses, or houses of worship that post.",notes:"Utah permit is among the most widely honored in the U.S.",officialUrl:"https://bci.utah.gov/"},VT:{name:"Vermont",abbr:"VT",grid:[10,1],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 16+.",constitutionalCarry:"Yes â Vermont has never required a permit for concealed carry.",minAge:18,nonResidentPermits:!1,residentRequirements:"No permit required or issued for concealed carry. 16+ for open carry.",restrictions:"Federal restrictions apply. No carry in schools, courthouses.",notes:"Vermont does not issue any concealed carry permit.",officialUrl:"https://vsp.vermont.gov/"},VA:{name:"Virginia",abbr:"VA",grid:[9,4],honors:K,permitless:"no",openCarry:"Allowed without permit for adults 18+ in most areas; cities may restrict loaded open carry in certain areas.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue via circuit court; training required (online accepted).",restrictions:"No carry in schools, courthouses, Capitol grounds, or where posted.",notes:"Recognizes valid permits from residents of the issuing state.",officialUrl:"https://www.vsp.virginia.gov/"},WA:{name:"Washington",abbr:"WA",grid:[1,1],honors:["AZ","AR","CO","FL","ID","IA","KS","KY","LA","MI","MS","NC","ND","NE","OH","OK","TN","TX","UT","VA","WY"],permitless:"no",o
2penCarry:"Allowed without permit in unincorporated areas; local restrictions may apply in cities.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue via local PD or sheriff; fingerprints required (no training mandate).",restrictions:"No carry in schools, jails, courthouses, bars, or stadiums.",notes:"Only honors resident permits from listed reciprocal states.",officialUrl:"https://www.atg.wa.gov/"},WV:{name:"West Virginia",abbr:"WV",grid:[8,4],honors:K,permitless:"full",openCarry:"Allowed without permit for adults 18+.",constitutionalCarry:"Yes â permitless 21+ (18-20 provisional).",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless 21+ (18-20 provisional). Optional CHL via sheriff.",restrictions:"No carry in courthouses, schools, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://ago.wv.gov/"},WI:{name:"Wisconsin",abbr:"WI",grid:[6,2],honors:K,permitless:"no",openCarry:"Allowed without permit for adults 18+ in most areas; vehicle carry requires a license.",constitutionalCarry:"No â permit required for concealed carry.",minAge:21,nonResidentPermits:!0,residentRequirements:"Shall-issue via DOJ; training required.",restrictions:"No carry in schools, police stations, courthouses, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://www.doj.state.wi.us/"},WY:{name:"Wyoming",abbr:"WY",grid:[3,3],honors:K,permitless:"full",openCarry:"Allowed without permit for U.S. citizens 18+.",constitutionalCarry:"Yes â permitless carry for U.S. citizens 21+.",minAge:21,nonResidentPermits:!0,residentRequirements:"Permitless carry for U.S. citizens 21+. Optional CFP via AG.",restrictions:"No carry in schools, courthouses, government meetings, or where posted.",notes:"Recognizes all state permits.",officialUrl:"https://ag.wyo.gov/"}},nt=Object.values(tt).sort((e,t)=>e.name.localeCompare(t.name)),rt="January 2025",Ye=`${et}/ccw-reciprocity-map`,uo=[{question:"What is concealed carry reciprocity?",answer:"Concealed carry reciprocity is a legal agreement in which one U.S. state recognizes a concealed carry weapon (CCW) permit issued by another state. If your home state's permit is honored, you may lawfully carry a concealed handgun in that state while following its local laws."},{question:"How do I use this CCW reciprocity map?",answer:"Select your home (issuing) state from the dropdown. The map instantly recolors: green states honor your permit, gold states have permitless (constitutional) carry that visitors may qualify for, and red states do not honor your permit. Click any state for permit rules, age requirements, restrictions, and the official source."},{question:"Which states have constitutional (permitless) carry?",answer:"As of the last review, roughly 29 states allow some form of permitless concealed carry for eligible adults, including Alabama, Alaska, Arizona, Arkansas, Florida, Georgia, Idaho, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Mississippi, Missouri, Montana, Nebraska, New Hampshire, North Dakota, Ohio, Oklahoma, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, West Virginia, and Wyoming. Age and residency rules vary â always check the destination state's official source."},{question:"Does a CCW permit let me carry anywhere in a state that honors it?",answer:"No. Even in a state that recognizes your permit you must follow that state's laws on sensitive/prohibited places (schools, courthouses, government buildings, bars, polling places, private property that posts against carry, etc.), magazine capacity, and duty to inform law enforcement."},{question:"How often does reciprocity data change?",answer:`Reciprocity agreements, permitless-carry laws, and prohibited-place rules change frequently through legislation, attorney general opinions, and court rulings. This map was last reviewed ${rt}. Always verify with the destination state's Attorney General or Department of Public Safety before you travel.`},{question:"Is this legal advice?",answer:"No. This reciprocity map is informational only and is not legal advice. Firearms laws are complex and location-specific. Consult the official state source linked in each state's detail panel, or a licensed attorney in that jurisdiction."}],lh="https://cdn.jsdelivr.net/npm/us-atlas@3/states-10m.json",uh=Object.fromEntries(nt.map(e=>[e.name,e.abbr])),vt={home:{bg:"#c17f6a",text:"#fff",label:"Your home state"},honors:{bg:"#4a7a4a",text:"#fff",label:"Honors your permit"},partial:{bg:"#c9a24b",text:"#1a1a1a",label:"Permitless carry (visitors may qualify)"},none:{bg:"#8b3a3a",text:"#fff",label:"Does not honor your permit"},neutral:{bg:"#3a3a3d",text:"#e0e0e0",label:"Select a home state"}};function Qn(e,t){return e?e.abbr===t.abbr?"home":t.honors.includes(e.abbr)?"honors":t.permitless==="full"?"partial":"none":"neutral"}function fh(){const[e,t]=L.useState("TX"),[n,r]=L.useState(null),i=e?tt[e]:null,o=n?tt[n]:null,s=o&&i?Qn(i,o):null,l=L.useMemo(()=>
2{if(!i)return{honors:0,none:0,partial:0};let a=0,f=0,h=0;return nt.forEach(p=>{if(p.abbr===i.abbr)return;const d=Qn(i,p);d==="honors"?a++:d==="partial"?h++:d==="none"&&f++}),{honors:a,none:f,partial:h}},[i]),u=nt.filter(a=>tt[a.abbr].permitless==="full").length,c={"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":`${Ye}#webpage`,url:Ye,name:"CCW Reciprocity Map â Concealed Carry Laws by State",description:"Interactive U.S. concealed carry reciprocity map. Select your home state to instantly see which of the 50 states honor your CCW permit, plus permitless carry, open carry, minimum age, and restriction details for every state.",isPartOf:{"@id":`${et}/#website`},about:{"@type":"Thing",name:"Concealed Carry Weapon (CCW) Reciprocity"},primaryImageOfPage:{"@type":"ImageObject",url:`${et}/assets/wgoaa-logo.webp`},dateModified:rt,inLanguage:"en-US"},{"@type":"Dataset","@id":`${Ye}#dataset`,name:"U.S. State-by-State Concealed Carry Reciprocity Dataset",description:"Structured dataset of concealed carry reciprocity, permitless (constitutional) carry status, open carry rules, minimum age, non-resident permit availability, resident permit requirements, and prohibited-place restrictions for all 50 U.S. states.",url:Ye,keywords:["CCW reciprocity","concealed carry","constitutional carry","permitless carry","open carry","state gun laws"],creator:{"@id":`${et}/#organization`},license:"https://www.wgoaa.org/terms-conditions",dateModified:rt,spatialCoverage:{"@type":"Country",name:"United States"},variableMeasured:["Reciprocity (states that honor the permit)","Permitless / constitutional carry status","Open carry rules","Minimum age","Non-resident permit availability","Resident permit requirements","Prohibited places and restrictions"]},{"@type":"ItemList","@id":`${Ye}#states`,name:"U.S. States â CCW Reciprocity & Carry Laws",numberOfItems:nt.length,itemListElement:nt.map((a,f)=>{const h=tt[a.abbr];return{"@type":"ListItem",position:f+1,item:{"@type":"Place",name:h.name,address:{"@type":"PostalAddress",addressRegion:h.abbr,addressCountry:"US"},url:h.officialUrl,additionalProperty:[{"@type":"PropertyValue",name:"Constitutional Carry",value:h.constitutionalCarry},{"@type":"PropertyValue",name:"Open Carry",value:h.openCarry},{"@type":"PropertyValue",name:"Permitless Carry",value:h.permitless==="full"?"Yes":h.permitless==="residents-only"?"Residents only":"No"},{"@type":"PropertyValue",name:"Minimum Age",value:String(h.minAge)},{"@type":"PropertyValue",name:"Non-Resident Permits",value:h.nonResidentPermits?"Available":"Residents only"},{"@type":"PropertyValue",name:"Honors Permits From",value:h.honors.length===0?"None":h.honors.length>=49?"All U.S. states":h.honors.join(", ")},{"@type":"PropertyValue",name:"Restrictions",value:h.restrictions}]}}})}]};return C.jsxs("div",{className:"min-h-screen bg-[#1f1f22] text-white",children:[C.jsx(qs,{title:"CCW Reciprocity Map â Concealed Carry Laws by State",description:`Interactive 2025 CCW reciprocity map. Pick your home state to see which of the 50 U.S. states honor your concealed carry permit, plus permitless/constitutional carry, open carry, minimum age, and restrictions for every state. Reviewed ${rt}.`,keywords:"CCW reciprocity map, concealed carry reciprocity, constitutional carry states, permitless carry states, open carry by state, gun laws by state, CCW permit reciprocity, state by state concealed carry",canonicalUrl:Ye,ogUrl:Ye,ogType:"website",ogTitle:"CCW Reciprocity Map â Concealed Carry Laws for All 50 States",ogDescription:"See exactly which states honor your CCW permit. Interactive map with permitless carry, open carry, age, and restriction details for every U.S. state.",breadcrumbs:[{name:"Home",url:et},{name:"Resources",url:`${et}/preferred-providers`},{name:"CCW Reciprocity Map",url:Ye}],faqSchema:uo,jsonLd:c}),C.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-10",children:[C.jsxs("div",{className:"mb-8 text-center",children:[C.jsx("h1",{className:"font-serif text-4xl md:text-5xl mb-3",children:"CCW Reciprocity Map"}),C.jsx("p",{className:"text-lg text-white/70 max-w-2xl mx-auto
2speakable-intro",children:"Select your home (issuing) state to see where your concealed carry permit is honored. Click any state for its permit rules, permitless carry status, and key restrictions."}),C.jsxs("p",{className:"mt-3 text-sm text-white/80 max-w-2xl mx-auto",children:["Covers all 50 U.S. states · ",u," permitless-carry states · Reviewed ",rt]})]}),C.jsxs("div",{className:"grid lg:grid-cols-[minmax(0,1fr)_360px] gap-8",children:[C.jsxs("div",{children:[C.jsxs("div",{className:"bg-[#2a2a2e] rounded-xl p-5 mb-5 border border-white/10",children:[C.jsx("label",{className:"block text-sm uppercase tracking-widest text-white/60 mb-2",children:"Home state (permit issued by)"}),C.jsxs("select",{value:e,onChange:a=>t(a.target.value),className:"w-full bg-[#1f1f22] border border-white/20 rounded-md px-4 py-3 text-lg focus:outline-none focus:ring-2 focus:ring-[#c17f6a]",children:[C.jsx("option",{value:"",children:"â Choose a state â"}),nt.map(a=>C.jsx("option",{value:a.abbr,children:a.name},a.abbr))]}),i&&C.jsxs("div",{className:"mt-4 grid grid-cols-3 gap-3 text-center",children:[C.jsxs("div",{className:"bg-[#4a7a4a]/20 border border-[#4a7a4a] rounded-lg p-3",children:[C.jsx("div",{className:"text-2xl font-bold text-[#8fc78f]",children:l.honors}),C.jsx("div",{className:"text-xs uppercase tracking-wider text-white/70",children:"Honor"})]}),C.jsxs("div",{className:"bg-[#c9a24b]/20 border border-[#c9a24b] rounded-lg p-3",children:[C.jsx("div",{className:"text-2xl font-bold text-[#e6c47a]",children:l.partial}),C.jsx("div",{className:"text-xs uppercase tracking-wider text-white/70",children:"Permitless"})]}),C.jsxs("div",{className:"bg-[#8b3a3a]/20 border border-[#8b3a3a] rounded-lg p-3",children:[C.jsx("div",{className:"text-2xl font-bold text-[#e08a8a]",children:l.none}),C.jsx("div",{className:"text-xs uppercase tracking-wider text-white/70",children:"Do Not Honor"})]})]})]}),C.jsx("div",{className:"bg-[#2a2a2e] rounded-xl p-5 border border-white/10 overflow-x-auto",children:C.jsx(oi,{projection:"geoAlbersUsa",projectionConfig:{scale:1e3},width:975,height:610,className:"w-full h-auto",role:"img","aria-label":"US CCW reciprocity map",children:C.jsx(si,{geography:lh,children:({geographies:a})=>a.map(f=>{const h=f.properties.name,p=uh[h],d=p?tt[p]:null,b=d?Qn(i,d):"neutral",_=vt[b],w=p&&n===p;return C.jsx(Zf,{geography:f,onClick:()=>p&&r(p),style:{default:{fill:_.bg,stroke:w?"#ffffff":"rgba(255,255,255,0.35)",strokeWidth:w?2:.6,outline:"none",cursor:p?"pointer":"default"},hover:{fill:_.bg,stroke:"#ffffff",strokeWidth:1.5,outline:"none",cursor:p?"pointer":"default",filter:"brightness(1.15)"},pressed:{fill:_.bg,stroke:"#ffffff",strokeWidth:2,outline:"none"}},children:C.jsx("title",{children:h})},f.rsmKey)})})})}),C.jsxs("div",{className:"mt-5 bg-[#2a2a2e] rounded-xl p-5 border border-white/10",children:[C.jsx("div",{className:"text-sm uppercase tracking-widest text-white/60 mb-3",children:"Legend"}),C.jsx("div",{className:"grid sm:grid-cols-2 gap-3 text-sm",children:["home","honors","partial","none"].map(a=>C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx("span",{className:"inline-block w-6 h-6 rounded",style:{background:vt[a].bg,border:"1px solid rgba(255,255,255,0.1)"}}),C.jsx("span",{children:vt[a].label})]},a))}),C.jsxs("p",{className:"mt-4 text-xs text-white/80",children:["Data last reviewed: ",rt,". Laws change often â always verify with the destination state's official source before carrying."]})]})]}),C.jsxs("aside",{className:"lg:sticky lg:top-6 self-start",children:[C.jsx("div",{className:"bg-[#2a2a2e] rounded-xl p-6 border border-white/10 min-h-[400px]",children:o?C.jsxs("div",{children:[C.jsxs("div",{className:"flex items-baseline justify-between mb-2",children:[C.jsx("h2",{className:"font-serif text-3xl",children:o.name}),C.jsx("span",{className:"text-white/80 font-mono",children:o.abbr})]}),i&&s&&C.jsxs("div",{className:"rounded-lg px-4 py-3 mb-4 text-sm font-semibold",style:{background:vt[s].bg,color:vt[s].text},children:[s==="home"&&"This is your home state.",s==="honors"&&`${o.name} honors your ${i.name} permit.`,s==="partial"&&`${o.name} does not formally honor ${i.name} permits, but has permitless carry â visitors may carry if they meet age & eligibility.`,s==="none"&&`${o.name} does NOT honor your ${i.name} permit.`]}),C.jsxs("dl",{className:"space-y-4 text-sm",children:[C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Constitutional Carry (Permitless Concealed)"}),C.jsx("dd",{children:o.constitutionalCarry})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Open Carry"}),C.jsx("dd",{children:o.openCarry})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Permitless Carry"}),C.jsxs("dd",{children:[o.permitless==="full"&&"Yes â for eligible adults.",o.permitless==="residents-only"&&"Residents only.",o.permitless==="no"&&"No â permit required."]})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Minimum Age"}),C.jsxs("dd",{children:[o.minAge,"+"]})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Non-Resident Permits"}),C.jsx("dd",{children:o.nonResidentPermits?"Available to non-residents":"Residents only"})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Resident Permit Requirements"}),C.jsx("dd",{className:"text-white/90",children:o.residentRequirements})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Restrictions & Prohibited Places"}),C.jsx("dd",{className:"text-white/90",children:o.restrictions})]}),C.jsxs("div",{children:[C.jsx("dt",{className:"uppercase tracking-widest text-white/80 text-xs mb-1",children:"Notes"}),C.jsx("dd",{className:"text-white/90",children:o.notes})]}),C.jsx("div",{children:C.jsx("a",{href:o.officialUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-2 text-[#e6a48f] underline hover:text-[#f2c3b3]",children:"Official state source â"})})]}),i&&o.abbr!==i.abbr&&C.jsxs("div",{className:"mt-6 pt-4 border-t border-white/10 text-xs text-white/60",children:[C.jsxs("strong",{className:"text-white/80",children:["Reciprocity from ",o.name,"'s side:"]})," ",o.name," recognizes permits from"," ",o.honors.length===49?"nearly all U.S. states":o.honors.length===0?"no other U.S. states":`${o.honors.length} state${o.honors.length===1?"":"s"}`,"."]})]}):C.jsxs("div",{className:"text-white/60 text-center py-16",children:[C.jsx("div",{className:"text-6xl mb-4",children:"ð"}),C.jsx("p",{children:"Click any state on the map to see its permit rules and reciprocity details."})]})}),C.jsxs("div",{className:"mt-4 text-xs text-white/80 text-center",children:["This tool is
2informational only and not legal advice."," ",C.jsx($s,{to:"/support",className:"underline",children:"Contact us"})," with corrections."]})]})]}),C.jsxs("section",{className:"mt-16 max-w-3xl mx-auto","aria-labelledby":"ccw-faq-heading",children:[C.jsx("h2",{id:"ccw-faq-heading",className:"font-serif text-3xl md:text-4xl text-center mb-8",children:"Frequently Asked Questions"}),C.jsx("div",{className:"space-y-4",children:uo.map(a=>C.jsxs("details",{className:"bg-[#2a2a2e] rounded-xl border border-white/10 p-5 group",children:[C.jsxs("summary",{className:"cursor-pointer font-semibold text-lg list-none flex justify-between items-center gap-4",children:[C.jsx("span",{children:a.question}),C.jsx("span",{className:"text-white/80 group-open:rotate-45 transition-transform",children:"+"})]}),C.jsx("p",{className:"mt-3 text-white/80 leading-relaxed",children:a.answer})]},a.question))})]})]})]})}export{fh as default}; 3//# sourceMappingURL=CCWReciprocityMap-bhIlTmTh.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.