text: webpackJsonp([0xd4fcda823f3e],{379:function(n,t,e){!function(n,r){r(t,e(123))}(this,function(n,t){"use strict";function e(){this.reset()}function r(n,t,e){var r=n.s=t+e,o=r-t,i=r-o;n.t=t-i+(e-o)}function o(n){return n>1?0:n<-1?Zt:Math.acos(n)}function i(n){return n>1?Xt:n<-1?-Xt:Math.asin(n)}function u(n){return(n=ce(n/2))*n}function a(){}function c(n,t){n&&he.hasOwnProperty(n.type)&&he[n.type](n,t)}function l(n,t,e){var r,o=-1,i=n.length-e;for(t.lineStart();++o<i;)r=n[o],t.point(r[0],r[1],r[2]);t.lineEnd()}function f(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)l(n[e],t,1);t.polygonEnd()}function s(){me.point=h}function p(){g(gt,dt)}function h(n,t){me.point=g,gt=n,dt=t,n*=$t,t*=$t,vt=n,mt=re(t=t/2+Yt),yt=ce(t)}function g(n,t){n*=$t,t*=$t,t=t/2+Yt;var e=n-vt,r=e>=0?1:-1,o=r*e,i=re(t),u=ce(t),a=yt*u,c=mt*i+a*re(o),l=a*r*ce(o);de.add(ee(l,c)),vt=n,mt=i,yt=u}function d(n){return[ee(n[1],n[0]),i(n[2])]}function v(n){var t=n[0],e=n[1],r=re(e);return[r*re(t),r*ce(t),ce(e)]}function m(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function y(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function E(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function b(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function S(n){var t=fe(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function M(n,t){Pt.push(Nt=[Et=n,St=n]),t<bt&&(bt=t),t>Mt&&(Mt=t)}function w(n,t){var e=v([n*$t,t*$t]);if(Tt){var r=y(Tt,e),o=[r[1],-r[0],0],i=y(o,r);S(i),i=d(i);var u,a=n-wt,c=a>0?1:-1,l=i[0]*Qt*c,f=ne(a)>180;f^(c*wt<l&&l<c*n)?(u=i[1]*Qt,u>Mt&&(Mt=u)):(l=(l+360)%360-180,f^(c*wt<l&&l<c*n)?(u=-i[1]*Qt,u<bt&&(bt=u)):(t<bt&&(bt=t),t>Mt&&(Mt=t))),f?n<wt?j(Et,n)>j(Et,St)&&(St=n):j(n,St)>j(Et,St)&&(Et=n):St>=Et?(n<Et&&(Et=n),n>St&&(St=n)):n>wt?j(Et,n)>j(Et,St)&&(St=n):j(n,St)>j(Et,St)&&(Et=n)}else Pt.push(Nt=[Et=n,St=n]);t<bt&&(bt=t),t>Mt&&(Mt=t),Tt=e,wt=n}function _(){be.point=w}function x(){Nt[0]=Et,Nt[1]=St,be.point=M,Tt=null}function T(n,t){if(Tt){var e=n-wt;Ee.add(ne(e)>180?e+(e>0?360:-360):e)}else _t=n,xt=t;me.point(n,t),w(n,t)}function P(){me.lineStart()}function N(){T(_t,xt),me.lineEnd(),ne(Ee)>Vt&&(Et=-(St=180)),Nt[0]=Et,Nt[1]=St,Tt=null}function j(n,t){return(t-=n)<0?t+360:t}function C(n,t){return n[0]-t[0]}function O(n,t){return n[0]<=n[1]?n[0]<=t&&t<=n[1]:t<n[0]||n[1]<t}function A(n,t){n*=$t,t*=$t;var e=re(t);L(e*re(n),e*ce(n),ce(t))}function L(n,t,e){++jt,Ot+=(n-Ot)/jt,At+=(t-At)/jt,Lt+=(e-Lt)/jt}function k(){Me.point=R}function R(n,t){n*=$t,t*=$t;var e=re(t);Ht=e*re(n),Jt=e*ce(n),Wt=ce(t),Me.point=F,L(Ht,Jt,Wt)}function F(n,t){n*=$t,t*=$t;var e=re(t),r=e*re(n),o=e*ce(n),i=ce(t),u=ee(fe((u=Jt*i-Wt*o)*u+(u=Wt*r-Ht*i)*u+(u=Ht*o-Jt*r)*u),Ht*r+Jt*o+Wt*i);Ct+=u,kt+=u*(Ht+(Ht=r)),Rt+=u*(Jt+(Jt=o)),Ft+=u*(Wt+(Wt=i)),L(Ht,Jt,Wt)}function G(){Me.point=A}function I(){Me.point=z}function q(){D(zt,Dt),Me.point=A}function z(n,t){zt=n,Dt=t,n*=$t,t*=$t,Me.point=D;var e=re(t);Ht=e*re(n),Jt=e*ce(n),Wt=ce(t),L(Ht,Jt,Wt)}function D(n,t){n*=$t,t*=$t;var e=re(t),r=e*re(n),o=e*ce(n),u=ce(t),a=Jt*u-Wt*o,c=Wt*r-Ht*u,l=Ht*o-Jt*r,f=fe(a*a+c*c+l*l),s=i(f),p=f&&-s/f;Gt+=p*a,It+=p*c,qt+=p*l,Ct+=s,kt+=s*(Ht+(Ht=r)),Rt+=s*(Jt+(Jt=o)),Ft+=s*(Wt+(Wt=u)),L(Ht,Jt,Wt)}function H(n,t){return[n>Zt?n-Kt:n<-Zt?n+Kt:n,t]}function J(n,t,e){return(n%=Kt)?t||e?xe(B(n),V(t,e)):B(n):t||e?V(t,e):H}function W(n){return function(t,e){return t+=n,[t>Zt?t-Kt:t<-Zt?t+Kt:t,e]}}function B(n){var t=W(n);return t.invert=W(-n),t}function V(n,t){function e(n,t){var e=re(t),c=re(n)*e,l=ce(n)*e,f=ce(t),s=f*r+c*o;return[ee(l*u-s*a,c*r-f*o),i(s*u+l*a)]}var r=re(n),o=ce(n),u=re(t),a=ce(t);return e.invert=function(n,t){var e=re(t),c=re(n)*e,l=ce(n)*e,f=ce(t),s=f*u-l*a;return[ee(l*u+f*a,c*r+s*o),i(s*r-c*o)]},e}function U(n,t,e,r,o,i){if(e){var u=re(t),a=ce(t),c=r*e;null==o?(o=t+r*Kt,i=t-c/2):(o=Z(u,o),i=Z(u,i),(r>0?o<i:o>i)&&(o+=r*Kt));for(var l,f=o;r>0?f>i:f<i;f-=c)l=d([u,-a*re(f),-a*ce(f)]),n.point(l[0],l[1])}}function Z(n,t){t=v(t),t[0]-=n,S(t);var e=o(-t[1]);return((-t[2]<0?-e:e)+Kt-Vt)%Kt}function X(n,t,e,r){this.x=n,this.z=t,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function Y(n){if(t=n.length){for(var t,e,r=0,o=n[0];++r<t;)o.n=e=n[r],e.p=o,o=e;o.n=e=n[0],e.p=o}}function K(n){return n.length>1}function Q(n,t){return((n=n.x)[0]<0?n[1]-Xt-Vt:Xt-n[1])-((t=t.x)[0]<0?t[1]-Xt-Vt:Xt-t[1])}function $(n){var t,e=NaN,r=NaN,o=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(i,u){var a=i>0?Zt:-Zt,c=ne(i-e);ne(c-Zt)<Vt?(n.point(e,r=(r+u)/2>0?Xt:-Xt),n.point(o,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(i,r),t=0):o!==a&&c>=Zt&&(ne(e-o)<Vt&&(e-=o*Vt),ne(i-a)<Vt&&(i-=a*Vt),r=nn(e,r,i,u),n.point(o,r),n.lineEnd(),n.lineStart(),n.point(a,r),t=0),n.point(e=i,r=u),o=a},lineEnd:function(){n.lineEnd(),e=r=NaN},clean:function(){return 2-t}}}function nn(n,t,e,r){var o,i,u=ce(n-e);return ne(u)>Vt?te((ce(t)*(i=re(r))*ce(e)-ce(r)*(o=re(t))*ce(n))/(o*i*u)):(t+r)/2}function tn(n,t,e,r){var o;if(null==n)o=e*Xt,r.point(-Zt,o),r.point(0,o),r.point(Zt,o),r.point(Zt,0),r.point(Zt,-o),r.point(0,-o),r.point(-Zt,-o),r.point(-Zt,0),r.point(-Zt,o);else if(ne(n[0]-t[0])>Vt){var i=n[0]<t[0]?Zt:-Zt;o=e*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(t[0],t[1])}function en(n,e,r,o){function i(t,i){return n<=t&&t<=r&&e<=i&&i<=o}function u(t,i,u,c){var f=0,s=0;if(null==t||(f=a(t,u))!==(s=a(i,u))||l(t,i)<0^u>0){do c.point(0===f||3===f?n:r,f>1?o:e);while((f=(f+u+4)%4)!==s)}else c.point(i[0],i[1])}function a(t,o){return ne(t[0]-n)<Vt?o>0?0:3:ne(t[0]-r)<Vt?o>0?2:1:ne(t[1]-e)<Vt?o>0?1:0:o>0?3:2}function c(n,t){return l(n.x,t.x)}function l(n,t){var e=a(n,1),r=a(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n,t){i(n,t)&&P.point(n,t)}function f(){for(var t=0,e=0,r=m.length;e<r;++e)for(var i,u,a=m[e],c=1,l=a.length,f=a[0],s=f[0],p=f[1];c<l;++c)i=s,u=p,f=a[c],s=f[0],p=f[1],u<=o?p>o&&(s-i)*(o-u)>(p-u)*(n-i)&&++t:p<=o&&(s-i)*(o-u)<(p-u)*(n-i)&&--t;return t}function s(){P=N,v=[],m=[],T=!0}function p(){var n=f(),e=T&&n,r=(v=t.merge(v)).length;(e||r)&&(a.polygonStart(),e&&(a.lineStart(),u(null,null,1,a),a.lineEnd()),r&&De(v,c,n,u,a),a.polygonEnd()),P=a,v=m=y=null}function h(){j.point=d,m&&m.push(y=[]),x=!0,_=!1,M=w=NaN}function g(){v&&(d(E,b),S&&_&&N.rejoin(),v.push(N.result())),j.point=l,_&&P.lineEnd()}function d(t,u){var a=i(t,u);if(m&&y.push([t,u]),x)E=t,b=u,S=a,x=!1,a&&(P.lineStart(),P.point(t,u));else if(a&&_)P.point(t,u);else{var c=[M=Math.max(Xe,Math.min(Ze,M)),w=Math.max(Xe,Math.min(Ze,w))],l=[t=Math.max(Xe,Math.min(Ze,t)),u=Math.max(Xe,Math.min(Ze,u))];Ue(c,l,n,e,r,o)?(_||(P.lineStart(),P.point(c[0],c[1])),P.point(l[0],l[1]),a||P.lineEnd(),T=!1):a&&(P.lineStart(),P.point(t,u),T=!1)}M=t,w=u,_=a}var v,m,y,E,b,S,M,w,_,x,T,P=a,N=qe(),j={point:l,lineStart:h,lineEnd:g,polygonStart:s,polygonEnd:p};return j}}function rn(){Qe.point=un,Qe.lineEnd=on}function on(){Qe.point=Qe.lineEnd=a}function un(n,t){n*=$t,t*=$t,Te=n,Pe=ce(t),Ne=re(t),Qe.point=an}function an(n,t){n*=$t,t*=$t;var e=ce(t),r=re(t),o=ne(n-Te),i=re(o),u=ce(o),a=r*u,c=Ne*e-Pe*r*i,l=Pe*e+Ne*r*i;Ke.add(ee(fe(a*a+c*c),l)),Te=n,Pe=e,Ne=r}function cn(n,t){return!(!n||!or.hasOwnProperty(n.type))&&or[n.type](n,t)}function ln(n,t){return 0===er(n,t)}function fn(n,t){var e=er(n[0],n[1]),r=er(n[0],t),o=er(t,n[1]);return r+o<=e+Vt}function sn(n,t){return!!Je(n.map(pn),hn(t))}function pn(n){return n=n.map(hn),n.pop(),n}function hn(n){return[n[0]*$t,n[1]*$t]}function gn(n,e,r){var o=t.range(n,e-Vt,r).concat(e);return function(n){return o.map(function(t){return[n,t]})}}function dn(n,e,r){var o=t.range(n,e-Vt,r).concat(e);return function(n){return o.map(function(t){return[t,n]})}}function vn(){function n(){return{type:"MultiLineString",coordinates:e()}}function e(){return t.range(oe(u/m)*m,i,m).map(h).concat(t.range(oe(f/y)*y,l,y).map(g)).concat(t.range(oe(o/d)*d,r,d).filter(function(n){return ne(n%m)>Vt}).map(s)).concat(t.range(oe(c/v)*v,a,v).filter(function(n){return ne(n%y)>Vt}).map(p))}var r,o,i,u,a,c,l,f,s,p,h,g,d=10,v=d,m=90,y=360,E=2.5;return n.lines=function(){return e().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(g(l).slice(1),h(i).reverse().slice(1),g(f).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.extentMajor(t).extentMinor(t):n.extentMinor()},n.extentMajor=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],f=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),f>l&&(t=f,f=l,l=t),n.precision(E)):[[u,f],[i,l]]},n.extentMinor=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],c=+t[0][1],a=+t[1][1],o>r&&(t=o,o=r,r=t),c>a&&(t=c,c=a,a=t),n.precision(E)):[[o,c],[r,a]]},n.step=function(t){return arguments.length?n.stepMajor(t).stepMinor(t):n.stepMinor()},n.stepMajor=function(t){return arguments.length?(m=+t[0],y=+t[1],n):[m,y]},n.stepMinor=function(t){return arguments.length?(d=+t[0],v=+t[1],n):[d,v]},n.precision=function(t){return arguments.length?(E=+t,s=gn(c,a,90),p=dn(o,r,E),h=gn(f,l,90),g=dn(u,i,E),n):E},n.extentMajor([[-180,-90+Vt],[180,90-Vt]]).extentMinor([[-180,-80-Vt],[180,80+Vt]])}function mn(){return vn()()}function yn(){fr.point=En}function En(n,t){fr.point=bn,je=Oe=n,Ce=Ae=t}function bn(n,t){lr.add(Ae*n-Oe*t),Oe=n,Ae=t}function Sn(){bn(je,Ce)}function Mn(n,t){n<sr&&(sr=n),n>hr&&(hr=n),t<pr&&(pr=t),t>gr&&(gr=t)}function wn(n,t){vr+=n,mr+=t,++yr}function _n(){xr.point=xn}function xn(n,t){xr.point=Tn,wn(Re=n,Fe=t)}function Tn(n,t){var e=n-Re,r=t-Fe,o=fe(e*e+r*r);Er+=o*(Re+n)/2,br+=o*(Fe+t)/2,Sr+=o,wn(Re=n,Fe=t)}function Pn(){xr.point=wn}function Nn(){xr.point=Cn}function jn(){On(Le,ke)}function Cn(n,t){xr.point=On,wn(Le=Re=n,ke=Fe=t)}function On(n,t){var e=n-Re,r=t-Fe,o=fe(e*e+r*r);Er+=o*(Re+n)/2,br+=o*(Fe+t)/2,Sr+=o,o=Fe*n-Re*t,Mr+=o*(Re+n),wr+=o*(Fe+t),_r+=3*o,wn(Re=n,Fe=t)}function An(n){this._context=n}function Ln(n,t){Ar.point=kn,Pr=jr=n,Nr=Cr=t}function kn(n,t){jr-=n,Cr-=t,Or.add(fe(jr*jr+Cr*Cr)),jr=n,Cr=t}function Rn(){this._string=[]}function Fn(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gn(n){return function(t){var e=new In;for(var r in n)e[r]=n[r];return e.stream=t,e}}function In(){}function qn(n,t,e){var r=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=r&&n.clipExtent(null),ge(e,n.stream(dr)),t(dr.result()),null!=r&&n.clipExtent(r),n}function zn(n,t,e){return qn(n,function(e){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=Math.min(r/(e[1][0]-e[0][0]),o/(e[1][1]-e[0][1])),u=+t[0][0]+(r-i*(e[1][0]+e[0][0]))/2,a=+t[0][1]+(o-i*(e[1][1]+e[0][1]))/2;n.scale(150*i).translate([u,a])},e)}function Dn(n,t,e){return zn(n,[[0,0],t],e)}function Hn(n,t,e){return qn(n,function(e){var r=+t,o=r/(e[1][0]-e[0][0]),i=(r-o*(e[1][0]+e[0][0]))/2,u=-o*e[0][1];n.scale(150*o).translate([i,u])},e)}function Jn(n,t,e){return qn(n,function(e){var r=+t,o=r/(e[1][1]-e[0][1]),i=-o*e[0][0],u=(r-o*(e[1][1]+e[0][1]))/2;n.scale(150*o).translate([i,u])},e)}function Wn(n){return Gn({point:function(t,e){t=n(t,e),this.stream.point(t[0],t[1])}})}function Bn(n,t){function e(r,o,u,a,c,l,f,s,p,h,g,d,v,m){var y=f-r,E=s-o,b=y*y+E*E;if(b>4*t&&v--){var S=a+h,M=c+g,w=l+d,_=fe(S*S+M*M+w*w),x=i(w/=_),T=ne(ne(w)-1)<Vt||ne(u-p)<Vt?(u+p)/2:ee(M,S),P=n(T,x),N=P[0],j=P[1],C=N-r,O=j-o,A=E*C-y*O;(A*A/b>t||ne((y*C+E*O)/b-.5)>.3||a*h+c*g+l*d<Fr)&&(e(r,o,u,a,c,l,N,j,T,S/=_,M/=_,w,v,m),m.point(N,j),e(N,j,T,S,M,w,f,s,p,h,g,d,v,m))}}return function(t){function r(e,r){e=n(e,r),t.point(e[0],e[1])}function o(){y=NaN,w.point=i,t.lineStart()}function i(r,o){var i=v([r,o]),u=n(r,o);e(y,E,m,b,S,M,y=u[0],E=u[1],m=r,b=i[0],S=i[1],M=i[2],Rr,t),t.point(y,E)}function u(){w.point=r,t.lineEnd()}function a(){o(),w.point=c,w.lineEnd=l}function c(n,t){i(f=n,t),s=y,p=E,h=b,g=S,d=M,w.point=i}function l(){e(y,E,m,b,S,M,s,p,f,h,g,d,Rr,t),w.lineEnd=u,u()}var f,s,p,h,g,d,m,y,E,b,S,M,w={point:r,lineStart:o,lineEnd:u,polygonStart:function(){t.polygonStart(),w.lineStart=a},polygonEnd:function(){t.polygonEnd(),w.lineStart=o}};return w}}function Vn(n){return Gn({point:function(t,e){var r=n(t,e);return this.stream.point(r[0],r[1])}})}function Un(n){return Zn(function(){return n})()}function Zn(n){function t(n){return n=f(n[0]*$t,n[1]*$t),[n[0]*v+a,c-n[1]*v]}function e(n){return n=f.invert((n[0]-a)/v,(c-n[1])/v),n&&[n[0]*Qt,n[1]*Qt]}function r(n,t){return n=u(n,t),[n[0]*v+a,c-n[1]*v]}function o(){f=xe(l=J(S,M,w),u);var n=u(E,b);return a=m-n[0]*v,c=y+n[1]*v,i()}function i(){return g=d=null,t}var u,a,c,l,f,s,p,h,g,d,v=150,m=480,y=250,E=0,b=0,S=0,M=0,w=0,_=null,x=Be,T=null,P=ar,N=.5,j=Gr(r,N);return t.stream=function(n){return g&&d===n?g:g=Ir(Vn(l)(x(j(P(d=n)))))},t.preclip=function(n){return arguments.length?(x=n,_=void 0,i()):x},t.postclip=function(n){return arguments.length?(P=n,T=s=p=h=null,i()):P},t.clipAngle=function(n){return arguments.length?(x=+n?Ve(_=n*$t):(_=null,Be),i()):_*Qt},t.clipExtent=function(n){return arguments.length?(P=null==n?(T=s=p=h=null,ar):en(T=+n[0][0],s=+n[0][1],p=+n[1][0],h=+n[1][1]),i()):null==T?null:[[T,s],[p,h]]},t.scale=function(n){return arguments.length?(v=+n,o()):v},t.translate=function(n){return arguments.length?(m=+n[0],y=+n[1],o()):[m,y]},t.center=function(n){return arguments.length?(E=n[0]%360*$t,b=n[1]%360*$t,o()):[E*Qt,b*Qt]},t.rotate=function(n){return arguments.length?(S=n[0]%360*$t,M=n[1]%360*$t,w=n.length>2?n[2]%360*$t:0,o()):[S*Qt,M*Qt,w*Qt]},t.precision=function(n){return arguments.length?(j=Gr(r,N=n*n),i()):fe(N)},t.fitExtent=function(n,e){return zn(t,n,e)},t.fitSize=function(n,e){return Dn(t,n,e)},t.fitWidth=function(n,e){return Hn(t,n,e)},t.fitHeight=function(n,e){return Jn(t,n,e)},function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,o()}}function Xn(n){var t=0,e=Zt/3,r=Zn(n),o=r(t,e);return o.parallels=function(n){return arguments.length?r(t=n[0]*$t,e=n[1]*$t):[t*Qt,e*Qt]},o}function Yn(n){function t(n,t){return[n*e,ce(t)/e]}var e=re(n);return t.invert=function(n,t){return[n/e,i(t*e)]},t}function Kn(n,t){function e(n,t){var e=fe(u-2*o*ce(t))/o;return[e*ce(n*=o),a-e*re(n)]}var r=ce(n),o=(r+ce(t))/2;if(ne(o)<Vt)return Yn(n);var u=1+r*(2*o-r),a=fe(u)/o;return e.invert=function(n,t){var e=a-t;return[ee(n,ne(e))/o*le(e),i((u-(n*n+e*e)*o*o)/(2*o))]},e}function Qn(n){var t=n.length;return{point:function(e,r){for(var o=-1;++o<t;)n[o].point(e,r)},sphere:function(){for(var e=-1;++e<t;)n[e].sphere()},lineStart:function(){for(var e=-1;++e<t;)n[e].lineStart()},lineEnd:function(){for(var e=-1;++e<t;)n[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<t;)n[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<t;)n[e].polygonEnd()}}}function $n(n){return function(t,e){var r=re(t),o=re(e),i=n(r*o);return[i*o*ce(t),i*ce(e)]}}function nt(n){return function(t,e){var r=fe(t*t+e*e),o=n(r),u=ce(o),a=re(o);return[ee(t*u,r*a),i(r&&e*u/r)]}}function tt(n,t){return[n,ue(se((Xt+t)/2))]}function et(n){function t(){var t=Zt*a(),u=i(Ge(i.rotate()).invert([0,0]));return l(null==f?[[u[0]-t,u[1]-t],[u[0]+t,u[1]+t]]:n===tt?[[Math.max(u[0]-t,f),e],[Math.min(u[0]+t,r),o]]:[[f,Math.max(u[1]-t,e)],[r,Math.min(u[1]+t,o)]])}var e,r,o,i=Un(n),u=i.center,a=i.scale,c=i.translate,l=i.clipExtent,f=null;return i.scale=function(n){return arguments.length?(a(n),t()):a()},i.translate=function(n){return arguments.length?(c(n),t()):c()},i.center=function(n){return arguments.length?(u(n),t()):u()},i.clipExtent=function(n){return arguments.length?(null==n?f=e=r=o=null:(f=+n[0][0],e=+n[0][1],r=+n[1][0],o=+n[1][1]),t()):null==f?null:[[f,e],[r,o]]},t()}function rt(n){return se((Xt+n)/2)}function ot(n,t){function e(n,t){i>0?t<-Xt+Vt&&(t=-Xt+Vt):t>Xt-Vt&&(t=Xt-Vt);var e=i/ae(rt(t),o);return[e*ce(o*n),i-e*re(o*n)]}var r=re(n),o=n===t?ce(n):ue(r/re(t))/ue(rt(t)/rt(n)),i=r*ae(rt(n),o)/o;return o?(e.invert=function(n,t){var e=i-t,r=le(o)*fe(n*n+e*e);return[ee(n,ne(e))/o*le(e),2*te(ae(i/r,1/o))-Xt]},e):tt}function it(n,t){return[n,t]}function ut(n,t){function e(n,t){var e=i-t,r=o*n;return[e*ce(r),i-e*re(r)]}var r=re(n),o=n===t?ce(n):(r-re(t))/(t-n),i=r/o+n;return ne(o)<Vt?it:(e.invert=function(n,t){var e=i-t;return[ee(n,ne(e))/o*le(e),i-le(o)*fe(n*n+e*e)]},e)}function at(n,t){var e=re(t),r=re(n)*e;return[e*ce(n)/r,ce(t)/r]}function ct(n,t,e,r){return 1===n&&1===t&&0===e&&0===r?ar:Gn({point:function(o,i){this.stream.point(o*n+e,i*t+r)}})}function lt(n,t){var e=t*t,r=e*e;return[n*(.8707-.131979*e+r*(-.013791+r*(.003971*e-.001529*r))),t*(1.007226+e*(.015085+r*(-.044475+.028874*e-.005916*r)))]}function ft(n,t){return[re(t)*ce(n),ce(t)]}function st(n,t){var e=re(t),r=1+re(n)*e;return[e*ce(n)/r,ce(t)/r]}function pt(n,t){return[ue(se((Xt+t)/2)),-n]}var ht=function(){return new e};e.prototype={constructor:e,reset:function(){this.s=this.t=0},add:function(n){r(Bt,n,this.t),r(this,Bt.s,this.s),this.s?this.t+=Bt.t:this.s=Bt.t},valueOf:function(){return this.s}};var gt,dt,vt,mt,yt,Et,bt,St,Mt,wt,_t,xt,Tt,Pt,Nt,jt,Ct,Ot,At,Lt,kt,Rt,Ft,Gt,It,qt,zt,Dt,Ht,Jt,Wt,Bt=new e,Vt=1e-6,Ut=1e-12,Zt=Math.PI,Xt=Zt/2,Yt=Zt/4,Kt=2*Zt,Qt=180/Zt,$t=Zt/180,ne=Math.abs,te=Math.atan,ee=Math.atan2,re=Math.cos,oe=Math.ceil,ie=Math.exp,ue=Math.log,ae=Math.pow,ce=Math.sin,le=Math.sign||function(n){return n>0?1:n<0?-1:0},fe=Math.sqrt,se=Math.tan,pe={Feature:function(n,t){c(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,o=e.length;++r<o;)c(e[r].geometry,t)}},he={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var e=n.coordinates,r=-1,o=e.length;++r<o;)n=e[r],t.point(n[0],n[1],n[2])},LineString:function(n,t){l(n.coordinates,t,0)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,o=e.length;++r<o;)l(e[r],t,0)},Polygon:function(n,t){f(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,o=e.length;++r<o;)f(e[r],t)},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,o=e.length;++r<o;)c(e[r],t)}},ge=function(n,t){n&&pe.hasOwnProperty(n.type)?pe[n.type](n,t):c(n,t)},de=ht(),ve=ht(),me={point:a,lineStart:a,lineEnd:a,polygonStart:function(){de.reset(),me.lineStart=s,me.lineEnd=p},polygonEnd:function(){var n=+de;ve.add(n<0?Kt+n:n),this.lineStart=this.lineEnd=this.point=a},sphere:function(){ve.add(Kt)}},ye=function(n){return ve.reset(),ge(n,me),2*ve},Ee=ht(),be={point:M,lineStart:_,lineEnd:x,polygonStart:function(){be.point=T,be.lineStart=P,be.lineEnd=N,Ee.reset(),me.polygonStart()},polygonEnd:function(){me.polygonEnd(),be.point=M,be.lineStart=_,be.lineEnd=x,de<0?(Et=-(St=180),bt=-(Mt=90)):Ee>Vt?Mt=90:Ee<-Vt&&(bt=-90),Nt[0]=Et,Nt[1]=St}},Se=function(n){var t,e,r,o,i,u,a;if(Mt=St=-(Et=bt=1/0),Pt=[],ge(n,be),e=Pt.length){for(Pt.sort(C),t=1,r=Pt[0],i=[r];t<e;++t)o=Pt[t],O(r,o[0])||O(r,o[1])?(j(r[0],o[1])>j(r[0],r[1])&&(r[1]=o[1]),j(o[0],r[1])>j(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(u=-(1/0),e=i.length-1,t=0,r=i[e];t<=e;r=o,++t)o=i[t],(a=j(r[1],o[0]))>u&&(u=a,Et=o[0],St=r[1])}return Pt=Nt=null,Et===1/0||bt===1/0?[[NaN,NaN],[NaN,NaN]]:[[Et,bt],[St,Mt]]},Me={sphere:a,point:A,lineStart:k,lineEnd:G,polygonStart:function(){Me.lineStart=I,Me.lineEnd=q},polygonEnd:function(){Me.lineStart=k,Me.lineEnd=G}},we=function(n){jt=Ct=Ot=At=Lt=kt=Rt=Ft=Gt=It=qt=0,ge(n,Me);var t=Gt,e=It,r=qt,o=t*t+e*e+r*r;return o<Ut&&(t=kt,e=Rt,r=Ft,Ct<Vt&&(t=Ot,e=At,r=Lt),o=t*t+e*e+r*r,o<Ut)?[NaN,NaN]:[ee(e,t)*Qt,i(r/fe(o))*Qt]},_e=function(n){return function(){return n}},xe=function(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return e=t.invert(e,r),e&&n.invert(e[0],e[1])}),e};H.invert=H;var Te,Pe,Ne,je,Ce,Oe,Ae,Le,ke,Re,Fe,Ge=function(n){function t(t){return t=n(t[0]*$t,t[1]*$t),t[0]*=Qt,t[1]*=Qt,t}return n=J(n[0]*$t,n[1]*$t,n.length>2?n[2]*$t:0),t.invert=function(t){return t=n.invert(t[0]*$t,t[1]*$t),t[0]*=Qt,t[1]*=Qt,t},t},Ie=function(){function n(n,t){e.push(n=r(n,t)),n[0]*=Qt,n[1]*=Qt}function t(){var n=o.apply(this,arguments),t=i.apply(this,arguments)*$t,c=u.apply(this,arguments)*$t;return e=[],r=J(-n[0]*$t,-n[1]*$t,0).invert,U(a,t,c,1),n={type:"Polygon",coordinates:[e]},e=r=null,n}var e,r,o=_e([0,0]),i=_e(90),u=_e(6),a={point:n};return t.center=function(n){return arguments.length?(o="function"==typeof n?n:_e([+n[0],+n[1]]),t):o},t.radius=function(n){return arguments.length?(i="function"==typeof n?n:_e(+n),t):i},t.precision=function(n){return arguments.length?(u="function"==typeof n?n:_e(+n),t):u},t},qe=function(){var n,t=[];return{point:function(t,e){n.push([t,e])},lineStart:function(){t.push(n=[])},lineEnd:a,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var e=t;return t=[],n=null,e}}},ze=function(n,t){return ne(n[0]-t[0])<Vt&&ne(n[1]-t[1])<Vt},De=function(n,t,e,r,o){var i,u,a=[],c=[];if(n.forEach(function(n){if(!((t=n.length-1)<=0)){var t,e,r=n[0],u=n[t];if(ze(r,u)){for(o.lineStart(),i=0;i<t;++i)o.point((r=n[i])[0],r[1]);return void o.lineEnd()}a.push(e=new X(r,n,null,!0)),c.push(e.o=new X(r,null,e,!1)),a.push(e=new X(u,n,null,!1)),c.push(e.o=new X(u,null,e,!0))}}),a.length){for(c.sort(t),Y(a),Y(c),i=0,u=c.length;i<u;++i)c[i].e=e=!e;for(var l,f,s=a[0];;){for(var p=s,h=!0;p.v;)if((p=p.n)===s)return;l=p.z,o.lineStart();do{if(p.v=p.o.v=!0,p.e){if(h)for(i=0,u=l.length;i<u;++i)o.point((f=l[i])[0],f[1]);else r(p.x,p.n.x,1,o);p=p.n}else{if(h)for(l=p.p.z,i=l.length-1;i>=0;--i)o.point((f=l[i])[0],f[1]);else r(p.x,p.p.x,-1,o);p=p.p}p=p.o,l=p.z,h=!h}while(!p.v);o.lineEnd()}}},He=ht(),Je=function(n,t){var e=t[0],r=t[1],o=[ce(e),-re(e),0],u=0,a=0;He.reset();for(var c=0,l=n.length;c<l;++c)if(s=(f=n[c]).length)for(var f,s,p=f[s-1],h=p[0],g=p[1]/2+Yt,d=ce(g),m=re(g),E=0;E<s;++E,h=M,d=_,m=x,p=b){var b=f[E],M=b[0],w=b[1]/2+Yt,_=ce(w),x=re(w),T=M-h,P=T>=0?1:-1,N=P*T,j=N>Zt,C=d*_;if(He.add(ee(C*P*ce(N),m*x+C*re(N))),u+=j?T+P*Kt:T,j^h>=e^M>=e){var O=y(v(p),v(b));S(O);var A=y(o,O);S(A);var L=(j^T>=0?-1:1)*i(A[2]);(r>L||r===L&&(O[0]||O[1]))&&(a+=j^T>=0?1:-1)}}return(u<-Vt||u<Vt&&He<-Vt)^1&a},We=function(n,e,r,o){return function(i){function u(t,e){n(t,e)&&i.point(t,e)}function a(n,t){v.point(n,t)}function c(){b.point=a,v.lineStart()}function l(){b.point=u,v.lineEnd()}function f(n,t){d.push([n,t]),y.point(n,t)}function s(){y.lineStart(),d=[]}function p(){f(d[0][0],d[0][1]),y.lineEnd();var n,t,e,r,o=y.clean(),u=m.result(),a=u.length;if(d.pop(),h.push(d),d=null,a)if(1&o){if(e=u[0],(t=e.length-1)>0){for(E||(i.polygonStart(),E=!0),i.lineStart(),n=0;n<t;++n)i.point((r=e[n])[0],r[1]);i.lineEnd()}}else a>1&&2&o&&u.push(u.pop().concat(u.shift())),g.push(u.filter(K))}var h,g,d,v=e(i),m=qe(),y=e(m),E=!1,b={point:u,lineStart:c,lineEnd:l,polygonStart:function(){b.point=f,b.lineStart=s,b.lineEnd=p,g=[],h=[]},polygonEnd:function(){b.point=u,b.lineStart=c,b.lineEnd=l,g=t.merge(g);var n=Je(h,o);g.length?(E||(i.polygonStart(),E=!0),De(g,Q,n,r,i)):n&&(E||(i.polygonStart(),E=!0),i.lineStart(),r(null,null,1,i),i.lineEnd()),E&&(i.polygonEnd(),E=!1),g=h=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}};return b}},Be=We(function(){return!0},$,tn,[-Zt,-Xt]),Ve=function(n){function t(t,e,r,o){U(o,n,a,r,t,e)}function e(n,t){return re(n)*re(t)>u}function r(n){var t,r,u,a,f;return{lineStart:function(){a=u=!1,f=1},point:function(s,p){var h,g=[s,p],d=e(s,p),v=c?d?0:i(s,p):d?i(s+(s<0?Zt:-Zt),p):0;if(!t&&(a=u=d)&&n.lineStart(),d!==u&&(h=o(t,g),(!h||ze(t,h)||ze(g,h))&&(g[0]+=Vt,g[1]+=Vt,d=e(g[0],g[1]))),d!==u)f=0,d?(n.lineStart(),h=o(g,t),n.point(h[0],h[1])):(h=o(t,g),n.point(h[0],h[1]),n.lineEnd()),t=h;else if(l&&t&&c^d){var m;v&r||!(m=o(g,t,!0))||(f=0,c?(n.lineStart(),n.point(m[0][0],m[0][1]),n.point(m[1][0],m[1][1]),n.lineEnd()):(n.point(m[1][0],m[1][1]),n.lineEnd(),n.lineStart(),n.point(m[0][0],m[0][1])))}!d||t&&ze(t,g)||n.point(g[0],g[1]),t=g,u=d,r=v},lineEnd:function(){u&&n.lineEnd(),t=null},clean:function(){return f|(a&&u)<<1}}}function o(n,t,e){var r=v(n),o=v(t),i=[1,0,0],a=y(r,o),c=m(a,a),l=a[0],f=c-l*l;if(!f)return!e&&n;var s=u*c/f,p=-u*l/f,h=y(i,a),g=b(i,s),S=b(a,p);E(g,S);var M=h,w=m(g,M),_=m(M,M),x=w*w-_*(m(g,g)-1);if(!(x<0)){var T=fe(x),P=b(M,(-w-T)/_);if(E(P,g),P=d(P),!e)return P;var N,j=n[0],C=t[0],O=n[1],A=t[1];C<j&&(N=j,j=C,C=N);var L=C-j,k=ne(L-Zt)<Vt,R=k||L<Vt;if(!k&&A<O&&(N=O,O=A,A=N),R?k?O+A>0^P[1]<(ne(P[0]-j)<Vt?O:A):O<=P[1]&&P[1]<=A:L>Zt^(j<=P[0]&&P[0]<=C)){var F=b(M,(-w+T)/_);return E(F,g),[P,d(F)]}}}function i(t,e){var r=c?n:Zt-n,o=0;return t<-r?o|=1:t>r&&(o|=2),e<-r?o|=4:e>r&&(o|=8),o}var u=re(n),a=6*$t,c=u>0,l=ne(u)>Vt;return We(e,r,t,c?[0,-n]:[-Zt,n-Zt])},Ue=function(n,t,e,r,o,i){var u,a=n[0],c=n[1],l=t[0],f=t[1],s=0,p=1,h=l-a,g=f-c;if(u=e-a,h||!(u>0)){if(u/=h,h<0){if(u<s)return;u<p&&(p=u)}else if(h>0){if(u>p)return;u>s&&(s=u)}if(u=o-a,h||!(u<0)){if(u/=h,h<0){if(u>p)return;u>s&&(s=u)}else if(h>0){if(u<s)return;u<p&&(p=u)}if(u=r-c,g||!(u>0)){if(u/=g,g<0){if(u<s)return;u<p&&(p=u)}else if(g>0){if(u>p)return;u>s&&(s=u)}if(u=i-c,g||!(u<0)){if(u/=g,g<0){if(u>p)return;u>s&&(s=u)}else if(g>0){if(u<s)return;u<p&&(p=u)}return s>0&&(n[0]=a+s*h,n[1]=c+s*g),p<1&&(t[0]=a+p*h,t[1]=c+p*g),!0}}}}},Ze=1e9,Xe=-Ze,Ye=function(){var n,t,e,r=0,o=0,i=960,u=500;return e={stream:function(e){return n&&t===e?n:n=en(r,o,i,u)(t=e)},extent:function(a){return arguments.length?(r=+a[0][0],o=+a[0][1],i=+a[1][0],u=+a[1][1],n=t=null,e):[[r,o],[i,u]]}}},Ke=ht(),Qe={sphere:a,point:a,lineStart:rn,lineEnd:a,polygonStart:a,polygonEnd:a},$e=function(n){return Ke.reset(),ge(n,Qe),+Ke},nr=[null,null],tr={type:"LineString",coordinates:nr},er=function(n,t){return nr[0]=n,nr[1]=t,$e(tr)},rr={Feature:function(n,t){return cn(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,o=e.length;++r<o;)if(cn(e[r].geometry,t))return!0;return!1}},or={Sphere:function(){return!0},Point:function(n,t){return ln(n.coordinates,t)},MultiPoint:function(n,t){for(var e=n.coordinates,r=-1,o=e.length;++r<o;)if(ln(e[r],t))return!0;return!1},LineString:function(n,t){return fn(n.coordinates,t)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,o=e.length;++r<o;)if(fn(e[r],t))return!0;return!1},Polygon:function(n,t){return sn(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,o=e.length;++r<o;)if(sn(e[r],t))return!0;return!1},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,o=e.length;++r<o;)if(cn(e[r],t))return!0;return!1}},ir=function(n,t){return(n&&rr.hasOwnProperty(n.type)?rr[n.type]:cn)(n,t)},ur=function(n,t){var e=n[0]*$t,r=n[1]*$t,o=t[0]*$t,a=t[1]*$t,c=re(r),l=ce(r),f=re(a),s=ce(a),p=c*re(e),h=c*ce(e),g=f*re(o),d=f*ce(o),v=2*i(fe(u(a-r)+c*f*u(o-e))),m=ce(v),y=v?function(n){var t=ce(n*=v)/m,e=ce(v-n)/m,r=e*p+t*g,o=e*h+t*d,i=e*l+t*s;return[ee(o,r)*Qt,ee(i,fe(r*r+o*o))*Qt]}:function(){return[e*Qt,r*Qt]};return y.distance=v,y},ar=function(n){return n},cr=ht(),lr=ht(),fr={point:a,lineStart:a,lineEnd:a,polygonStart:function(){fr.lineStart=yn,fr.lineEnd=Sn},polygonEnd:function(){fr.lineStart=fr.lineEnd=fr.point=a,cr.add(ne(lr)),lr.reset()},result:function(){var n=cr/2;return cr.reset(),n}},sr=1/0,pr=sr,hr=-sr,gr=hr,dr={point:Mn,lineStart:a,lineEnd:a,polygonStart:a,polygonEnd:a,result:function(){var n=[[sr,pr],[hr,gr]];return hr=gr=-(pr=sr=1/0),n}},vr=0,mr=0,yr=0,Er=0,br=0,Sr=0,Mr=0,wr=0,_r=0,xr={point:wn,lineStart:_n,lineEnd:Pn,polygonStart:function(){xr.lineStart=Nn,xr.lineEnd=jn},polygonEnd:function(){xr.point=wn,xr.lineStart=_n,xr.lineEnd=Pn},result:function(){var n=_r?[Mr/_r,wr/_r]:Sr?[Er/Sr,br/Sr]:yr?[vr/yr,mr/yr]:[NaN,NaN];return vr=mr=yr=Er=br=Sr=Mr=wr=_r=0,n}};An.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(n,t){switch(this._point){case 0:this._context.moveTo(n,t),this._point=1;break;case 1:this._context.lineTo(n,t);break;default:this._context.moveTo(n+this._radius,t),this._context.arc(n,t,this._radius,0,Kt)}},result:a};var Tr,Pr,Nr,jr,Cr,Or=ht(),Ar={point:a,lineStart:function(){Ar.point=Ln},lineEnd:function(){Tr&&kn(Pr,Nr),Ar.point=a},polygonStart:function(){Tr=!0},polygonEnd:function(){Tr=null},result:function(){var n=+Or;return Or.reset(),n}};Rn.prototype={_radius:4.5,_circle:Fn(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(n,t){switch(this._point){case 0:this._string.push("M",n,",",t),this._point=1;break;case 1:this._string.push("L",n,",",t);break;default:null==this._circle&&(this._circle=Fn(this._radius)),this._string.push("M",n,",",t,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}};var Lr=function(n,t){function e(n){return n&&("function"==typeof i&&o.pointRadius(+i.apply(this,arguments)),ge(n,r(o))),o.result()}var r,o,i=4.5;return e.area=function(n){return ge(n,r(fr)),fr.result()},e.measure=function(n){return ge(n,r(Ar)),Ar.result()},e.bounds=function(n){return ge(n,r(dr)),dr.result()},e.centroid=function(n){return ge(n,r(xr)),xr.result()},e.projection=function(t){return arguments.length?(r=null==t?(n=null,ar):(n=t).stream,e):n},e.context=function(n){return arguments.length?(o=null==n?(t=null,new Rn):new An(t=n),"function"!=typeof i&&o.pointRadius(i),e):t},e.pointRadius=function(n){return arguments.length?(i="function"==typeof n?n:(o.pointRadius(+n),+n),e):i},e.projection(n).context(t)},kr=function(n){return{stream:Gn(n)}};In.prototype={constructor:In,point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Rr=16,Fr=re(30*$t),Gr=function(n,t){return+t?Bn(n,t):Wn(n)},Ir=Gn({point:function(n,t){this.stream.point(n*$t,t*$t)}}),qr=function(){return Xn(Kn).scale(155.424).center([0,33.6442])},zr=function(){return qr().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},Dr=function(){function n(n){var t=n[0],e=n[1];return a=null,o.point(t,e),a||(i.point(t,e),a)||(u.point(t,e),a)}function t(){return e=r=null,n}var e,r,o,i,u,a,c=zr(),l=qr().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=qr().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(n,t){a=[n,t]}};return n.invert=function(n){var t=c.scale(),e=c.translate(),r=(n[0]-e[0])/t,o=(n[1]-e[1])/t;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?l:o>=.166&&o<.234&&r>=-.214&&r<-.115?f:c).invert(n)},n.stream=function(n){return e&&r===n?e:e=Qn([c.stream(r=n),l.stream(n),f.stream(n)])},n.precision=function(n){return arguments.length?(c.precision(n),l.precision(n),f.precision(n),t()):c.precision()},n.scale=function(t){return arguments.length?(c.scale(t),l.scale(.35*t),f.scale(t),n.translate(c.translate())):c.scale()},n.translate=function(n){if(!arguments.length)return c.translate();var e=c.scale(),r=+n[0],a=+n[1];return o=c.translate(n).clipExtent([[r-.455*e,a-.238*e],[r+.455*e,a+.238*e]]).stream(s),i=l.translate([r-.307*e,a+.201*e]).clipExtent([[r-.425*e+Vt,a+.12*e+Vt],[r-.214*e-Vt,a+.234*e-Vt]]).stream(s),u=f.translate([r-.205*e,a+.212*e]).clipExtent([[r-.214*e+Vt,a+.166*e+Vt],[r-.115*e-Vt,a+.234*e-Vt]]).stream(s),t()},n.fitExtent=function(t,e){return zn(n,t,e)},n.fitSize=function(t,e){return Dn(n,t,e)},n.fitWidth=function(t,e){return Hn(n,t,e)},n.fitHeight=function(t,e){return Jn(n,t,e)},n.scale(1070)},Hr=$n(function(n){return fe(2/(1+n))});Hr.invert=nt(function(n){return 2*i(n/2)});var Jr=function(){return Un(Hr).scale(124.75).clipAngle(179.999)},Wr=$n(function(n){return(n=o(n))&&n/ce(n)});Wr.invert=nt(function(n){return n});var Br=function(){return Un(Wr).scale(79.4188).clipAngle(179.999)};tt.invert=function(n,t){return[n,2*te(ie(t))-Xt]};var Vr=function(){return et(tt).scale(961/Kt)},Ur=function(){return Xn(ot).scale(109.5).parallels([30,30]);
  };it.invert=it;var Zr=function(){return Un(it).scale(152.63)},Xr=function(){return Xn(ut).scale(131.154).center([0,13.9389])};at.invert=nt(te);var Yr=function(){return Un(at).scale(144.049).clipAngle(60)},Kr=function(){function n(){return o=i=null,u}var t,e,r,o,i,u,a=1,c=0,l=0,f=1,s=1,p=ar,h=null,g=ar;return u={stream:function(n){return o&&i===n?o:o=p(g(i=n))},postclip:function(o){return arguments.length?(g=o,h=t=e=r=null,n()):g},clipExtent:function(o){return arguments.length?(g=null==o?(h=t=e=r=null,ar):en(h=+o[0][0],t=+o[0][1],e=+o[1][0],r=+o[1][1]),n()):null==h?null:[[h,t],[e,r]]},scale:function(t){return arguments.length?(p=ct((a=+t)*f,a*s,c,l),n()):a},translate:function(t){return arguments.length?(p=ct(a*f,a*s,c=+t[0],l=+t[1]),n()):[c,l]},reflectX:function(t){return arguments.length?(p=ct(a*(f=t?-1:1),a*s,c,l),n()):f<0},reflectY:function(t){return arguments.length?(p=ct(a*f,a*(s=t?-1:1),c,l),n()):s<0},fitExtent:function(n,t){return zn(u,n,t)},fitSize:function(n,t){return Dn(u,n,t)},fitWidth:function(n,t){return Hn(u,n,t)},fitHeight:function(n,t){return Jn(u,n,t)}}};lt.invert=function(n,t){var e,r=t,o=25;do{var i=r*r,u=i*i;r-=e=(r*(1.007226+i*(.015085+u*(-.044475+.028874*i-.005916*u)))-t)/(1.007226+i*(.045255+u*(-.311325+.259866*i-.005916*11*u)))}while(ne(e)>Vt&&--o>0);return[n/(.8707+(i=r*r)*(-.131979+i*(-.013791+i*i*i*(.003971-.001529*i)))),r]};var Qr=function(){return Un(lt).scale(175.295)};ft.invert=nt(i);var $r=function(){return Un(ft).scale(249.5).clipAngle(90+Vt)};st.invert=nt(function(n){return 2*te(n)});var no=function(){return Un(st).scale(250).clipAngle(142)};pt.invert=function(n,t){return[-t,2*te(ie(n))-Xt]};var to=function(){var n=et(pt),t=n.center,e=n.rotate;return n.center=function(n){return arguments.length?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return arguments.length?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90]).scale(159.155)};n.geoArea=ye,n.geoBounds=Se,n.geoCentroid=we,n.geoCircle=Ie,n.geoClipAntimeridian=Be,n.geoClipCircle=Ve,n.geoClipExtent=Ye,n.geoClipRectangle=en,n.geoContains=ir,n.geoDistance=er,n.geoGraticule=vn,n.geoGraticule10=mn,n.geoInterpolate=ur,n.geoLength=$e,n.geoPath=Lr,n.geoAlbers=zr,n.geoAlbersUsa=Dr,n.geoAzimuthalEqualArea=Jr,n.geoAzimuthalEqualAreaRaw=Hr,n.geoAzimuthalEquidistant=Br,n.geoAzimuthalEquidistantRaw=Wr,n.geoConicConformal=Ur,n.geoConicConformalRaw=ot,n.geoConicEqualArea=qr,n.geoConicEqualAreaRaw=Kn,n.geoConicEquidistant=Xr,n.geoConicEquidistantRaw=ut,n.geoEquirectangular=Zr,n.geoEquirectangularRaw=it,n.geoGnomonic=Yr,n.geoGnomonicRaw=at,n.geoIdentity=Kr,n.geoProjection=Un,n.geoProjectionMutator=Zn,n.geoMercator=Vr,n.geoMercatorRaw=tt,n.geoNaturalEarth1=Qr,n.geoNaturalEarth1Raw=lt,n.geoOrthographic=$r,n.geoOrthographicRaw=ft,n.geoStereographic=no,n.geoStereographicRaw=st,n.geoTransverseMercator=to,n.geoTransverseMercatorRaw=pt,n.geoRotation=Ge,n.geoStream=ge,n.geoTransform=kr,Object.defineProperty(n,"__esModule",{value:!0})})},555:function(n,t,e){!function(n,e){e(t)}(this,function(n){"use strict";function t(n,t){var r=t.id,o=t.bbox,i=null==t.properties?{}:t.properties,u=e(n,t);return null==r&&null==o?{type:"Feature",properties:i,geometry:u}:null==o?{type:"Feature",id:r,properties:i,geometry:u}:{type:"Feature",id:r,bbox:o,properties:i,geometry:u}}function e(n,t){function e(n,t){t.length&&t.pop();for(var e=s[n<0?~n:n],r=0,o=e.length;r<o;++r)t.push(l(e[r],r));n<0&&f(t,o)}function r(n){return l(n)}function o(n){for(var t=[],r=0,o=n.length;r<o;++r)e(n[r],t);return t.length<2&&t.push(t[0]),t}function i(n){for(var t=o(n);t.length<4;)t.push(t[0]);return t}function u(n){return n.map(i)}function a(n){var t,e=n.type;switch(e){case"GeometryCollection":return{type:e,geometries:n.geometries.map(a)};case"Point":t=r(n.coordinates);break;case"MultiPoint":t=n.coordinates.map(r);break;case"LineString":t=o(n.arcs);break;case"MultiLineString":t=n.arcs.map(o);break;case"Polygon":t=u(n.arcs);break;case"MultiPolygon":t=n.arcs.map(u);break;default:return null}return{type:e,coordinates:t}}var l=c(n.transform),s=n.arcs;return a(t)}function r(n,t,e){var r,i,u;if(arguments.length>1)r=o(n,t,e);else for(i=0,r=new Array(u=n.arcs.length);i<u;++i)r[i]=i;return{type:"MultiLineString",arcs:p(n,r)}}function o(n,t,e){function r(n){var t=n<0?~n:n;(f[t]||(f[t]=[])).push({i:n,g:c})}function o(n){n.forEach(r)}function i(n){n.forEach(o)}function u(n){n.forEach(i)}function a(n){switch(c=n,n.type){case"GeometryCollection":n.geometries.forEach(a);break;case"LineString":o(n.arcs);break;case"MultiLineString":case"Polygon":i(n.arcs);break;case"MultiPolygon":u(n.arcs)}}var c,l=[],f=[];return a(t),f.forEach(null==e?function(n){l.push(n[0].i)}:function(n){e(n[0].g,n[n.length-1].g)&&l.push(n[0].i)}),l}function i(n){for(var t,e=-1,r=n.length,o=n[r-1],i=0;++e<r;)t=o,o=n[e],i+=t[0]*o[1]-t[1]*o[0];return Math.abs(i)}function u(n,t){function r(n){switch(n.type){case"GeometryCollection":n.geometries.forEach(r);break;case"Polygon":o(n.arcs);break;case"MultiPolygon":n.arcs.forEach(o)}}function o(n){n.forEach(function(t){t.forEach(function(t){(a[t=t<0?~t:t]||(a[t]=[])).push(n)})}),c.push(n)}function u(t){return i(e(n,{type:"Polygon",arcs:[t]}).coordinates[0])}var a={},c=[],l=[];return t.forEach(r),c.forEach(function(n){if(!n._){var t=[],e=[n];for(n._=1,l.push(t);n=e.pop();)t.push(n),n.forEach(function(n){n.forEach(function(n){a[n<0?~n:n].forEach(function(n){n._||(n._=1,e.push(n))})})})}}),c.forEach(function(n){delete n._}),{type:"MultiPolygon",arcs:l.map(function(t){var e,r=[];if(t.forEach(function(n){n.forEach(function(n){n.forEach(function(n){a[n<0?~n:n].length<2&&r.push(n)})})}),r=p(n,r),(e=r.length)>1)for(var o,i,c=1,l=u(r[0]);c<e;++c)(o=u(r[c]))>l&&(i=r[0],r[0]=r[c],r[c]=i,l=o);return r})}}var a=function(n){return n},c=function(n){if(null==n)return a;var t,e,r=n.scale[0],o=n.scale[1],i=n.translate[0],u=n.translate[1];return function(n,a){a||(t=e=0);var c=2,l=n.length,f=new Array(l);for(f[0]=(t+=n[0])*r+i,f[1]=(e+=n[1])*o+u;c<l;)f[c]=n[c],++c;return f}},l=function(n){function t(n){n=o(n),n[0]<i&&(i=n[0]),n[0]>a&&(a=n[0]),n[1]<u&&(u=n[1]),n[1]>l&&(l=n[1])}function e(n){switch(n.type){case"GeometryCollection":n.geometries.forEach(e);break;case"Point":t(n.coordinates);break;case"MultiPoint":n.coordinates.forEach(t)}}var r,o=c(n.transform),i=1/0,u=i,a=-i,l=-i;n.arcs.forEach(function(n){for(var t,e=-1,r=n.length;++e<r;)t=o(n[e],e),t[0]<i&&(i=t[0]),t[0]>a&&(a=t[0]),t[1]<u&&(u=t[1]),t[1]>l&&(l=t[1])});for(r in n.objects)e(n.objects[r]);return[i,u,a,l]},f=function(n,t){for(var e,r=n.length,o=r-t;o<--r;)e=n[o],n[o++]=n[r],n[r]=e},s=function(n,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(e){return t(n,e)})}:t(n,e)},p=function(n,t){function e(t){var e,r=n.arcs[t<0?~t:t],o=r[0];return n.transform?(e=[0,0],r.forEach(function(n){e[0]+=n[0],e[1]+=n[1]})):e=r[r.length-1],t<0?[e,o]:[o,e]}function r(n,t){for(var e in n){var r=n[e];delete t[r.start],delete r.start,delete r.end,r.forEach(function(n){o[n<0?~n:n]=1}),a.push(r)}}var o={},i={},u={},a=[],c=-1;return t.forEach(function(e,r){var o,i=n.arcs[e<0?~e:e];i.length<3&&!i[1][0]&&!i[1][1]&&(o=t[++c],t[c]=e,t[r]=o)}),t.forEach(function(n){var t,r,o=e(n),a=o[0],c=o[1];if(t=u[a])if(delete u[t.end],t.push(n),t.end=c,r=i[c]){delete i[r.start];var l=r===t?t:t.concat(r);i[l.start=t.start]=u[l.end=r.end]=l}else i[t.start]=u[t.end]=t;else if(t=i[c])if(delete i[t.start],t.unshift(n),t.start=a,r=u[a]){delete u[r.end];var f=r===t?t:r.concat(t);i[f.start=r.start]=u[f.end=t.end]=f}else i[t.start]=u[t.end]=t;else t=[n],i[t.start=a]=u[t.end=c]=t}),r(u,i),r(i,u),t.forEach(function(n){o[n<0?~n:n]||a.push([n])}),a},h=function(n){return e(n,r.apply(this,arguments))},g=function(n){return e(n,u.apply(this,arguments))},d=function(n,t){for(var e=0,r=n.length;e<r;){var o=e+r>>>1;n[o]<t?e=o+1:r=o}return e},v=function(n){function t(n,t){n.forEach(function(n){n<0&&(n=~n);var e=o[n];e?e.push(t):o[n]=[t]})}function e(n,e){n.forEach(function(n){t(n,e)})}function r(n,t){"GeometryCollection"===n.type?n.geometries.forEach(function(n){r(n,t)}):n.type in u&&u[n.type](n.arcs,t)}var o={},i=n.map(function(){return[]}),u={LineString:t,MultiLineString:e,Polygon:e,MultiPolygon:function(n,t){n.forEach(function(n){e(n,t)})}};n.forEach(r);for(var a in o)for(var c=o[a],l=c.length,f=0;f<l;++f)for(var s=f+1;s<l;++s){var p,h=c[f],g=c[s];(p=i[h])[a=d(p,g)]!==g&&p.splice(a,0,g),(p=i[g])[a=d(p,h)]!==h&&p.splice(a,0,h)}return i},m=function(n){if(null==n)return a;var t,e,r=n.scale[0],o=n.scale[1],i=n.translate[0],u=n.translate[1];return function(n,a){a||(t=e=0);var c=2,l=n.length,f=new Array(l),s=Math.round((n[0]-i)/r),p=Math.round((n[1]-u)/o);for(f[0]=s-t,t=s,f[1]=p-e,e=p;c<l;)f[c]=n[c],++c;return f}},y=function(n,t){function e(n){return h(n)}function r(n){var t;switch(n.type){case"GeometryCollection":t={type:"GeometryCollection",geometries:n.geometries.map(r)};break;case"Point":t={type:"Point",coordinates:e(n.coordinates)};break;case"MultiPoint":t={type:"MultiPoint",coordinates:n.coordinates.map(e)};break;default:return n}return null!=n.id&&(t.id=n.id),null!=n.bbox&&(t.bbox=n.bbox),null!=n.properties&&(t.properties=n.properties),t}function o(n){var t,e=0,r=1,o=n.length,i=new Array(o);for(i[0]=h(n[0],0);++e<o;)((t=h(n[e],e))[0]||t[1])&&(i[r++]=t);return 1===r&&(i[r++]=[0,0]),i.length=r,i}if(n.transform)throw new Error("already quantized");if(t&&t.scale)s=n.bbox;else{if(!((i=Math.floor(t))>=2))throw new Error("n must be ≥2");s=n.bbox||l(n);var i,u=s[0],a=s[1],c=s[2],f=s[3];t={scale:[c-u?(c-u)/(i-1):1,f-a?(f-a)/(i-1):1],translate:[u,a]}}var s,p,h=m(t),g=n.objects,d={};for(p in g)d[p]=r(g[p]);return{type:"Topology",bbox:s,transform:t,objects:d,arcs:n.arcs.map(o)}};n.bbox=l,n.feature=s,n.mesh=h,n.meshArcs=r,n.merge=g,n.mergeArcs=u,n.neighbors=v,n.quantize=y,n.transform=c,n.untransform=m,Object.defineProperty(n,"__esModule",{value:!0})})},390:function(n,t){},305:function(n,t,e){"use strict";function r(n){return n&&n.__esModule?n:{default:n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function i(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}t.__esModule=!0;var a=e(1),c=r(a),l=e(2),f=(r(l),e(309)),s=r(f),p=function(n){function t(){var e,r,u;o(this,t);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return e=r=i(this,n.call.apply(n,[this].concat(c))),r.showToolTipInfo=function(n){var t=r.props.showToolTip;t(n)},r.hideToolTipInfo=function(){var n=r.props.hideToolTip;n()},u=e,i(r,u)}return u(t,n),t.prototype.render=function(){var n=this.props,t=n.globeData,e=n.meteorsInfo,r={width:820,height:550};return c.default.createElement("svg",{width:r.width,height:r.height,viewBox:"0 0 "+r.width+" "+r.height},c.default.createElement(s.default,{width:r.width,height:r.height,world:t,meteorfall:e,pointEnter:this.showToolTipInfo,pointExit:this.hideToolTipInfo}))},t}(a.Component);p.propTypes={},t.default=p,n.exports=t.default},306:function(n,t,e){"use strict";function r(n){return n&&n.__esModule?n:{default:n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function i(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}t.__esModule=!0;var a=e(1),c=r(a),l=e(555),f=e(305),s=r(f),p=e(308),h=r(p),g=e(81),d=r(g);e(390);var v=e(389),m=(r(v),function(n){function t(){o(this,t);var e=i(this,n.call(this));return e.activateToolTip=function(n){e.setState({isToolTipActive:!0,meteorInfo:n})},e.disableToolTip=function(){e.setState({isToolTipActive:!1,meteorInfo:{}})},e.state={isLoading:!0,isError:!1,meteors:{},globeMap:[],isToolTipActive:!1,meteorInfo:{}},e}return u(t,n),t.prototype.componentDidMount=function(){var n=this;setTimeout(function(){var t=JSON.parse(d.default.getStorageData("globeMap")),e=JSON.parse(d.default.getStorageData("meteors"));t?n.setState(function(n){return{globeMap:(0,l.feature)(t,t.objects.countries).features,meteors:e,isLoading:!1}}):(n.fetchData(),n.fetchDataMeteor())},2500)},t.prototype.fetchDataMeteor=function(){var n=this;fetch("https://data.nasa.gov/resource/y77d-th95.geojson").then(function(n){return n.json()}).then(function(t){d.default.setStorageData("meteors",t),n.setState({meteors:t,isLoading:!1})}).catch(function(t){console.log("===================================="),console.log("error getting the meteors data:"+JSON.stringify(t,null,2)),console.log("===================================="),n.setState({isError:!0})})},t.prototype.fetchData=function(){var n=this;fetch("https://d3js.org/world-50m.v1.json").then(function(n){return n.json()}).then(function(t){d.default.setStorageData("globeMap",t),n.setState({globeMap:(0,l.feature)(t,t.objects.countries).features})}).catch(function(t){console.log("===================================="),console.log("error getting the chart data:"+JSON.stringify(t,null,2)),console.log("===================================="),n.setState({isError:!0})})},t.prototype.render=function(){var n=this.state,t=n.isError,e=n.isLoading,r=n.globeMap,o=n.meteors,i=n.isToolTipActive,u=n.meteorInfo;return t?c.default.createElement("div",null,"Lights up the sirens.....Something went wrong"):e?c.default.createElement("div",null,"Hold on to your hat...i'm getting the data at lightspeed"):r.length?c.default.createElement("div",null,c.default.createElement("div",{className:style.globeTitle},"Meteor hits across the globe"),c.default.createElement("div",{className:style.containerGlobe},c.default.createElement("div",null,c.default.createElement(s.default,{globeData:r,meteorsInfo:o.features,showToolTip:this.activateToolTip,hideToolTip:this.disableToolTip})),c.default.createElement("div",null,c.default.createElement(h.default,{data:i?u:null})))):void 0},t}(a.Component));t.default=m,n.exports=t.default},307:function(n,t,e){"use strict";function r(n){return n&&n.__esModule?n:{default:n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function i(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}t.__esModule=!0;var a=e(1),c=r(a),l=e(2),f=r(l),s=function(n){function t(){var e,r,u;o(this,t);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return e=r=i(this,n.call.apply(n,[this].concat(c))),r.calculateRadius=function(n){var t=179687.5;return n<=t?2:n<=2*t?4:n<=3*t?6:n<=20*t?8:n<=100*t?10:12},r.onEnter=function(){var n=r.props,t=n.meteorPointEnter,e=n.data,o=n.mass,i=n.rectangleLat,u=n.rectangleLong;t({name:e.meteorname,meteorclass:e.meteorclass,dateofhit:e.datefell,meteormass:o,latitude:i,longitude:u})},r.onExit=function(){var n=r.props.meteorPointExit;n()},u=e,i(r,u)}return u(t,n),t.prototype.render=function(){var n=this.props,t=n.mass,e=n.rectangleLat,r=n.rectangleLong,o=n.circleId;return c.default.createElement("circle",{key:"marker_"+o+" ",fill:"#E91E63",fillOpacity:t<=179687.5?1:.5,stroke:"#FFFFFF",className:"marker",cx:e,cy:r,r:this.calculateRadius(t),onMouseOver:this.onEnter,onMouseOut:this.onExit})},t}(a.PureComponent);s.propTypes={data:f.default.shape({meteorname:f.default.string,meteorclass:f.default.string,datefell:f.default.string}),mass:f.default.number,rectangleLat:f.default.number,rectangleLong:f.default.number,circleId:f.default.number,meteorPointEnter:f.default.func,meteorPointExit:f.default.func},t.default=s,n.exports=t.default},308:function(n,t,e){"use strict";function r(n){return n&&n.__esModule?n:{default:n}}t.__esModule=!0;var o=e(1),i=r(o),u=e(2),a=r(u),c=function(){return i.default.createElement("div",null,i.default.createElement("div",{className:"tooltipText"},"Mouse over map",i.default.createElement("br",null),"to show information"))},l=function(n){return i.default.createElement("div",null,i.default.createElement("div",{className:"tooltipText"},n.dateofhit),i.default.createElement("div",{className:"tooltipText"},"meteor with mass of ",n.meteormass," "),i.default.createElement("div",{className:"tooltipText"},"and class ",n.meteorclass),i.default.createElement("div",{className:"tooltipText"},"fell on latitude ",n.latitude," "),i.default.createElement("div",{className:"tooltipText"},"and longitude:",n.longitude))},f=function(n){var t=n.data;return i.default.createElement("div",{className:"containerToolTip"},t?l(t):c())};f.propTypes={data:a.default.shape({name:a.default.string,meteorclass:a.default.string,dateofhit:a.default.string,meteormass:a.default.number,latitude:a.default.number,longitude:a.default.number})},t.default=f,n.exports=t.default},309:function(n,t,e){"use strict";function r(n){return n&&n.__esModule?n:{default:n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function i(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}t.__esModule=!0;var a=e(1),c=r(a),l=e(2),f=r(l),s=e(379),p=e(307),h=r(p),g=function(n){function t(){var e,r,u;o(this,t);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return e=r=i(this,n.call.apply(n,[this].concat(c))),r.onPointHover=function(n){console.log("===================================="),console.log("onPointHover value:"+JSON.stringify(n,null,2)),console.log("====================================");var t=r.props.pointEnter;t(n)},r.onPointLeave=function(){var n=r.props.pointExit;n()},u=e,i(r,u)}return u(t,n),t.prototype.project=function(){var n=this.props,t=n.width,e=n.height;return(0,s.geoMercator)().scale(100).translate([t/2,e/2])},t.prototype.render=function(){var n=this,t=this.props,e=t.world,r=t.meteorfall,o=(t.width,t.height,e.map(function(t,r){return c.default.createElement("path",{key:"path_"+r,d:(0,s.geoPath)().projection(n.project())(t),fill:"rgba(38,50,56,"+1/e.length*r+")",stroke:"#FFFFFF",strokeWidth:.5})})),i=r.map(function(t,e){return c.default.createElement(h.default,{key:"mpoint_"+e,data:{meteorname:t.properties.name,meteorclass:t.properties.recclass,datefell:t.properties.year},mass:parseInt(t.properties.mass),rectangleLat:n.project()([Number(t.properties.reclong),Number(t.properties.reclat)])[0],rectangleLong:n.project()([Number(t.properties.reclong),Number(t.properties.reclat)])[1],circleId:e,meteorPointEnter:n.onPointHover,meteorPointExit:n.onPointLeave})});return c.default.createElement("g",null,o,i)},t}(a.Component);g.propTypes={width:f.default.number,height:f.default.number},t.default=g,n.exports=t.default},389:function(n,t){n.exports={containerGlobe:"src-components-Challenges-GlobeChartView----globe-style-module---containerGlobe---3awqv",globeTitle:"src-components-Challenges-GlobeChartView----globe-style-module---globeTitle---clqfa",tooltipText:"src-components-Challenges-GlobeChartView----globe-style-module---tooltipText---1ZgBU"}},329:function(n,t,e){"use strict";function r(n){return n&&n.__esModule?n:{default:n}}t.__esModule=!0;var o=e(1),i=r(o),u=e(306),a=r(u),c=function(){return i.default.createElement("div",null,i.default.createElement(a.default,null))};t.default=c,n.exports=t.default}});
  //# sourceMappingURL=component---src-pages-globeview-js-d81c54cac17ac8358146.js.map