s.index){var m=c-l.x-l.vx,g=d-l.y-l.vy,v=m*m+g*g;ve.r&&(e.r=e[t].r)}function c(){if(t){var n,i,o=t.length;for(r=new Array(o),n=0;nd&&(d=n),if&&(f=i));if(c>d||u>f)return this;for(this.cover(c,u).cover(d,f),r=0;re||e>=i||n>t||t>=o;)switch(s=(th||(o=c.y0)>p||(a=c.x1)=y)<<1|e>=v)&&(c=m[m.length-1],m[m.length-1]=m[m.length-1-u],m[m.length-1-u]=c)}else{var x=e-+this._x.call(null,g.data),b=t-+this._y.call(null,g.data),w=x*x+b*b;if(w=(s=(p+g)/2))?p=s:g=s,(u=a>=(l=(m+v)/2))?m=l:v=l,t=h,!(h=h[d=u<<1|c]))return this;if(!h.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(r=t,f=d)}for(;h.data!==e;)if(n=h,!(h=h.next))return this;return(i=h.next)&&delete h.next,n?(i?n.next=i:delete n.next,this):t?(i?t[d]=i:delete t[d],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(r?r[f]=h:this._root=h),this):(this._root=i,this)},h.removeAll=function(e){for(var t=0,r=e.length;t=0&&(t=e.slice(r+1),e=e.slice(0,r)),e&&!n.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!==typeof t)throw new Error("invalid callback: "+t);for(;++a0)for(var r,n,i=new Array(r),o=0;o=0&&t._call.call(null,e),t=t._next;--E}()}finally{E=0,function(){var e,t,r=C,n=1/0;for(;r;)r._call?(n>r._time&&(n=r._time),e=r,r=r._next):(t=r._next,r._next=null,r=e?e._next=t:C=t);A=e,H(n)}(),L=0}}function V(){var e=D.now(),t=e-R;t>P&&(j-=t,R=e)}function H(e){E||(I&&(I=clearTimeout(I)),e-L>24?(e<1/0&&(I=setTimeout(U,e-D.now()-j)),O&&(O=clearInterval(O))):(O||(R=D.now(),O=setInterval(V,P)),E=1,z(U)))}function W(e){return e.x}function G(e){return e.y}B.prototype=Z.prototype={constructor:B,restart:function(e,t,r){if("function"!==typeof e)throw new TypeError("callback is not a function");r=(null==r?N():+r)+(null==t?0:+t),this._next||A===this||(A?A._next=this:C=this,A=this),this._call=e,this._time=r,H()},stop:function(){this._call&&(this._call=null,this._time=1/0,H())}};var q=10,Y=Math.PI*(3-Math.sqrt(5));function X(e){var t,r=1,n=.001,i=1-Math.pow(n,1/300),o=0,a=.6,s=(0,v.UI)(),l=Z(u),c=M("tick","end");function u(){d(),c.call("tick",t),r1?(null==r?s.remove(e):s.set(e,h(r)),t):s.get(e)},find:function(t,r,n){var i,o,a,s,l,c=0,u=e.length;for(null==n?n=1/0:n*=n,c=0;c1?(c.on(e,r),t):c.on(e)}}}function K(){var e,t,r,n,a=i(-30),s=1,l=1/0,c=.81;function d(n){var i,o=e.length,a=u(e,W,G).visitAfter(h);for(r=n,i=0;i=l)){(e.data!==t||e.next)&&(0===d&&(p+=(d=o())*d),0===f&&(p+=(f=o())*f),p{"use strict";function n(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}r.d(t,{WU:()=>f,FF:()=>m});var i,o=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function a(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t;return new s({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function s(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function l(e,t){var r=n(e,t);if(!r)return e+"";var i=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}a.prototype=s.prototype,s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const c={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return l(100*e,t)},r:l,s:function(e,t){var r=n(e,t);if(!r)return e+"";var o=r[0],a=r[1],s=a-(i=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,l=o.length;return s===l?o:s>l?o+new Array(s-l+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+n(e,Math.max(0,t+s-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function u(e){return e}var d,f,h=Array.prototype.map,p=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function m(e){var t,r,o=void 0===e.grouping||void 0===e.thousands?u:(t=h.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>n));)s=t[a=(a+1)%t.length];return o.reverse().join(r)}),s=void 0===e.currency?"":e.currency[0]+"",l=void 0===e.currency?"":e.currency[1]+"",d=void 0===e.decimal?".":e.decimal+"",f=void 0===e.numerals?u:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(h.call(e.numerals,String)),m=void 0===e.percent?"%":e.percent+"",g=void 0===e.minus?"-":e.minus+"",v=void 0===e.nan?"NaN":e.nan+"";function y(e){var t=(e=a(e)).fill,r=e.align,n=e.sign,u=e.symbol,h=e.zero,y=e.width,x=e.comma,b=e.precision,w=e.trim,_=e.type;"n"===_?(x=!0,_="g"):c[_]||(void 0===b&&(b=12),w=!0,_="g"),(h||"0"===t&&"="===r)&&(h=!0,t="0",r="=");var k="$"===u?s:"#"===u&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",S="$"===u?l:/[%p]/.test(_)?m:"",T=c[_],M=/[defgprs%]/.test(_);function C(e){var a,s,l,c=k,u=S;if("c"===_)u=T(e)+u,e="";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?v:T(Math.abs(e),b),w&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),m&&0===+e&&"+"!==n&&(m=!1),c=(m?"("===n?n:g:"-"===n||"("===n?"":n)+c,u=("s"===_?p[8+i/3]:"")+u+(m&&"("===n?")":""),M)for(a=-1,s=e.length;++a(l=e.charCodeAt(a))||l>57){u=(46===l?d+e.slice(a+1):e.slice(a))+u,e=e.slice(0,a);break}}x&&!h&&(e=o(e,1/0));var C=c.length+e.length+u.length,A=C>1)+c+e+u+A.slice(C);break;default:e=A+c+e+u}return f(e)}return b=void 0===b?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),C.toString=function(){return e+""},C}return{format:y,formatPrefix:function(e,t){var r,i=y(((e=a(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor((r=t,((r=n(Math.abs(r)))?r[1]:NaN)/3)))),s=Math.pow(10,-o),l=p[8+o/3];return function(e){return i(s*e)+l}}}}d=m({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),f=d.format,d.formatPrefix},25715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{geoAiry:()=>j,geoAiryRaw:()=>L,geoAitoff:()=>z,geoAitoffRaw:()=>D,geoArmadillo:()=>F,geoArmadilloRaw:()=>N,geoAugust:()=>Z,geoAugustRaw:()=>B,geoBaker:()=>W,geoBakerRaw:()=>H,geoBerghaus:()=>Y,geoBerghausRaw:()=>q,geoBertin1953:()=>re,geoBertin1953Raw:()=>te,geoBoggs:()=>ue,geoBoggsRaw:()=>ce,geoBonne:()=>me,geoBonneRaw:()=>pe,geoBottomley:()=>ve,geoBottomleyRaw:()=>ge,geoBromley:()=>xe,geoBromleyRaw:()=>ye,geoChamberlin:()=>Ae,geoChamberlinAfrica:()=>Ce,geoChamberlinRaw:()=>Te,geoCollignon:()=>Ie,geoCollignonRaw:()=>Ee,geoCraig:()=>Pe,geoCraigRaw:()=>Oe,geoCraster:()=>je,geoCrasterRaw:()=>Le,geoCylindricalEqualArea:()=>ze,geoCylindricalEqualAreaRaw:()=>De,geoCylindricalStereographic:()=>Fe,geoCylindricalStereographicRaw:()=>Ne,geoEckert1:()=>Ze,geoEckert1Raw:()=>Be,geoEckert2:()=>Ve,geoEckert2Raw:()=>Ue,geoEckert3:()=>We,geoEckert3Raw:()=>He,geoEckert4:()=>qe,geoEckert4Raw:()=>Ge,geoEckert5:()=>Xe,geoEckert5Raw:()=>Ye,geoEckert6:()=>$e,geoEckert6Raw:()=>Ke,geoEisenlohr:()=>et,geoEisenlohrRaw:()=>Qe,geoFahey:()=>nt,geoFaheyRaw:()=>rt,geoFoucaut:()=>ot,geoFoucautRaw:()=>it,geoFoucautSinusoidal:()=>st,geoFoucautSinusoidalRaw:()=>at,geoGilbert:()=>ft,geoGingery:()=>gt,geoGingeryRaw:()=>ht,geoGinzburg4:()=>xt,geoGinzburg4Raw:()=>yt,geoGinzburg5:()=>wt,geoGinzburg5Raw:()=>bt,geoGinzburg6:()=>kt,geoGinzburg6Raw:()=>_t,geoGinzburg8:()=>Tt,geoGinzburg8Raw:()=>St,geoGinzburg9:()=>Ct,geoGinzburg9Raw:()=>Mt,geoGringorten:()=>It,geoGringortenQuincuncial:()=>oi,geoGringortenRaw:()=>Et,geoGuyou:()=>Lt,geoGuyouRaw:()=>Rt,geoHammer:()=>J,geoHammerRaw:()=>K,geoHammerRetroazimuthal:()=>Nt,geoHammerRetroazimuthalRaw:()=>Dt,geoHealpix:()=>qt,geoHealpixRaw:()=>Vt,geoHill:()=>Xt,geoHillRaw:()=>Yt,geoHomolosine:()=>tr,geoHomolosineRaw:()=>er,geoHufnagel:()=>nr,geoHufnagelRaw:()=>rr,geoHyperelliptical:()=>sr,geoHyperellipticalRaw:()=>ar,geoInterrupt:()=>ur,geoInterruptedBoggs:()=>fr,geoInterruptedHomolosine:()=>pr,geoInterruptedMollweide:()=>gr,geoInterruptedMollweideHemispheres:()=>yr,geoInterruptedQuarticAuthalic:()=>dn,geoInterruptedSinuMollweide:()=>br,geoInterruptedSinusoidal:()=>_r,geoKavrayskiy7:()=>Sr,geoKavrayskiy7Raw:()=>kr,geoLagrange:()=>Mr,geoLagrangeRaw:()=>Tr,geoLarrivee:()=>Er,geoLarriveeRaw:()=>Ar,geoLaskowski:()=>Or,geoLaskowskiRaw:()=>Ir,geoLittrow:()=>Rr,geoLittrowRaw:()=>Pr,geoLoximuthal:()=>jr,geoLoximuthalRaw:()=>Lr,geoMiller:()=>zr,geoMillerRaw:()=>Dr,geoModifiedStereographic:()=>Xr,geoModifiedStereographicAlaska:()=>Hr,geoModifiedStereographicGs48:()=>Wr,geoModifiedStereographicGs50:()=>Gr,geoModifiedStereographicLee:()=>Yr,geoModifiedStereographicMiller:()=>qr,geoModifiedStereographicRaw:()=>Nr,geoMollweide:()=>ae,geoMollweideRaw:()=>oe,geoMtFlatPolarParabolic:()=>Qr,geoMtFlatPolarParabolicRaw:()=>Jr,geoMtFlatPolarQuartic:()=>tn,geoMtFlatPolarQuarticRaw:()=>en,geoMtFlatPolarSinusoidal:()=>nn,geoMtFlatPolarSinusoidalRaw:()=>rn,geoNaturalEarth:()=>on.Z,geoNaturalEarth2:()=>sn,geoNaturalEarth2Raw:()=>an,geoNaturalEarthRaw:()=>on.K,geoNellHammer:()=>cn,geoNellHammerRaw:()=>ln,geoNicolosi:()=>hn,geoNicolosiRaw:()=>fn,geoPatterson:()=>Sn,geoPattersonRaw:()=>kn,geoPeirceQuincuncial:()=>ai,geoPierceQuincuncial:()=>ai,geoPolyconic:()=>Mn,geoPolyconicRaw:()=>Tn,geoPolyhedral:()=>Rn,geoPolyhedralButterfly:()=>Bn,geoPolyhedralCollignon:()=>Vn,geoPolyhedralWaterman:()=>Hn,geoProject:()=>Xn,geoQuantize:()=>si,geoQuincuncial:()=>ii,geoRectangularPolyconic:()=>ci,geoRectangularPolyconicRaw:()=>li,geoRobinson:()=>fi,geoRobinsonRaw:()=>di,geoSatellite:()=>pi,geoSatelliteRaw:()=>hi,geoSinuMollweide:()=>Qt,geoSinuMollweideRaw:()=>Jt,geoSinusoidal:()=>he,geoSinusoidalRaw:()=>fe,geoStitch:()=>Ri,geoTimes:()=>ji,geoTimesRaw:()=>Li,geoTwoPointAzimuthal:()=>Fi,geoTwoPointAzimuthalRaw:()=>zi,geoTwoPointAzimuthalUsa:()=>Ni,geoTwoPointEquidistant:()=>Ui,geoTwoPointEquidistantRaw:()=>Bi,geoTwoPointEquidistantUsa:()=>Zi,geoVanDerGrinten:()=>Hi,geoVanDerGrinten2:()=>Gi,geoVanDerGrinten2Raw:()=>Wi,geoVanDerGrinten3:()=>Yi,geoVanDerGrinten3Raw:()=>qi,geoVanDerGrinten4:()=>Ki,geoVanDerGrinten4Raw:()=>Xi,geoVanDerGrintenRaw:()=>Vi,geoWagner:()=>Ji,geoWagner4:()=>no,geoWagner4Raw:()=>ro,geoWagner6:()=>oo,geoWagner6Raw:()=>io,geoWagner7:()=>Qi,geoWagnerRaw:()=>$i,geoWiechel:()=>so,geoWiechelRaw:()=>ao,geoWinkel3:()=>co,geoWinkel3Raw:()=>lo});var n=r(43792),i=Math.abs,o=Math.atan,a=Math.atan2,s=(Math.ceil,Math.cos),l=Math.exp,c=Math.floor,u=Math.log,d=Math.max,f=Math.min,h=Math.pow,p=Math.round,m=Math.sign||function(e){return e>0?1:e<0?-1:0},g=Math.sin,v=Math.tan,y=1e-6,x=1e-12,b=Math.PI,w=b/2,_=b/4,k=Math.SQRT1_2,S=O(2),T=O(b),M=2*b,C=180/b,A=b/180;function E(e){return e>1?w:e<-1?-w:Math.asin(e)}function I(e){return e>1?0:e<-1?b:Math.acos(e)}function O(e){return e>0?Math.sqrt(e):0}function P(e){return(l(e)-l(-e))/2}function R(e){return(l(e)+l(-e))/2}function L(e){var t=v(e/2),r=2*u(s(e/2))/(t*t);function n(e,t){var n=s(e),i=s(t),o=g(t),a=i*n,l=-((1-a?u((1+a)/2)/(1-a):-.5)+r/(1+a));return[l*i*g(e),l*o]}return n.invert=function(t,n){var o,l=O(t*t+n*n),c=-e/2,d=50;if(!l)return[0,0];do{var f=c/2,h=s(f),p=g(f),m=p/h,v=-u(i(h));c-=o=(2/m*v-r*m-l)/(-v/(p*p)+1-r/(2*h*h))*(h<0?.7:1)}while(i(o)>y&&--d>0);var x=g(c);return[a(t*x,l*s(c)),E(n*x/l)]},n}function j(){var e=w,t=(0,n.r)(L),r=t(e);return r.radius=function(r){return arguments.length?t(e=r*A):e*C},r.scale(179.976).clipAngle(147)}function D(e,t){var r=s(t),n=function(e){return e?e/Math.sin(e):1}(I(r*s(e/=2)));return[2*r*g(e)*n,g(t)*n]}function z(){return(0,n.Z)(D).scale(152.63)}function N(e){var t=g(e),r=s(e),n=e>=0?1:-1,o=v(n*e),l=(1+t-r)/2;function c(e,i){var c=s(i),u=s(e/=2);return[(1+c)*g(e),(n*i>-a(u,o)-.001?0:10*-n)+l+g(i)*r-(1+c)*t*u]}return c.invert=function(e,c){var u=0,d=0,f=50;do{var h=s(u),p=g(u),m=s(d),v=g(d),x=1+m,b=x*p-e,w=l+v*r-x*t*h-c,_=x*h/2,k=-p*v,S=t*x*p/2,T=r*m+t*h*v,M=k*S-T*_,C=(w*k-b*T)/M/2,A=(b*S-w*_)/M;i(A)>2&&(A/=2),u-=C,d-=A}while((i(C)>y||i(A)>y)&&--f>0);return n*d>-a(s(u),o)-.001?[2*u,d]:null},c}function F(){var e=20*A,t=e>=0?1:-1,r=v(t*e),i=(0,n.r)(N),o=i(e),l=o.stream;return o.parallel=function(n){return arguments.length?(r=v((t=(e=n*A)>=0?1:-1)*e),i(e)):e*C},o.stream=function(n){var i=o.rotate(),c=l(n),u=(o.rotate([0,0]),l(n)),d=o.precision();return o.rotate(i),c.sphere=function(){u.polygonStart(),u.lineStart();for(var n=-180*t;t*n<180;n+=90*t)u.point(n,90*t);if(e)for(;t*(n-=3*t*d)>=-180;)u.point(n,t*-a(s(n*A/2),r)*C);u.lineEnd(),u.polygonEnd()},c},o.scale(218.695).center([0,28.0974])}function B(e,t){var r=v(t/2),n=O(1-r*r),i=1+n*s(e/=2),o=g(e)*n/i,a=r/i,l=o*o,c=a*a;return[4/3*o*(3+l-3*c),4/3*a*(3+3*l-c)]}function Z(){return(0,n.Z)(B).scale(66.1603)}D.invert=function(e,t){if(!(e*e+4*t*t>b*b+y)){var r=e,n=t,o=25;do{var a,l=g(r),c=g(r/2),u=s(r/2),d=g(n),f=s(n),h=g(2*n),p=d*d,m=f*f,v=c*c,x=1-m*u*u,w=x?I(f*u)*O(a=1/x):a=0,_=2*w*f*c-e,k=w*d-t,S=a*(m*v+w*f*u*p),T=a*(.5*l*h-2*w*d*c),M=.25*a*(h*c-w*d*m*l),C=a*(p*u+w*v*f),A=T*M-C*S;if(!A)break;var E=(k*T-_*C)/A,P=(_*M-k*S)/A;r-=E,n-=P}while((i(E)>y||i(P)>y)&&--o>0);return[r,n]}},B.invert=function(e,t){if(t*=3/8,!(e*=3/8)&&i(t)>1)return null;var r=1+e*e+t*t,n=O((r-O(r*r-4*t*t))/2),o=E(n)/3,l=n?function(e){return u(e+O(e*e-1))}(i(t/n))/3:function(e){return u(e+O(e*e+1))}(i(e))/3,c=s(o),d=R(l),f=d*d-c*c;return[2*m(e)*a(P(l)*c,.25-f),2*m(t)*a(d*g(o),.25+f)]};var U=O(8),V=u(1+S);function H(e,t){var r=i(t);return r<_?[e,u(v(_+t/2))]:[e*s(r)*(2*S-1/g(r)),m(t)*(2*S*(r-_)-u(v(r/2)))]}function W(){return(0,n.Z)(H).scale(112.314)}H.invert=function(e,t){if((n=i(t))x&&--c>0);return[e/(s(a)*(U-1/g(a))),m(t)*a]};var G=r(10136);function q(e){var t=2*b/e;function r(e,r){var n=(0,G.N)(e,r);if(i(e)>w){var o=a(n[1],n[0]),l=O(n[0]*n[0]+n[1]*n[1]),c=t*p((o-w)/t)+w,u=a(g(o-=c),2-s(o));o=c+E(b/l*g(u))-u,n[0]=l*s(o),n[1]=l*g(o)}return n}return r.invert=function(e,r){var n=O(e*e+r*r);if(n>w){var i=a(r,e),l=t*p((i-w)/t)+w,c=i>l?-1:1,u=n*s(l-i),d=1/v(c*I((u-b)/O(b*(b-2*u)+n*n)));i=l+2*o((d+c*O(d*d-3))/3),e=n*s(i),r=n*g(i)}return G.N.invert(e,r)},r}function Y(){var e=5,t=(0,n.r)(q),r=t(e),i=r.stream,o=.01,l=-s(o*A),c=g(o*A);return r.lobes=function(r){return arguments.length?t(e=+r):e},r.stream=function(t){var n=r.rotate(),u=i(t),d=(r.rotate([0,0]),i(t));return r.rotate(n),u.sphere=function(){d.polygonStart(),d.lineStart();for(var t=0,r=360/e,n=2*b/e,i=90-180/e,u=w;t0&&i(n)>y);return s<0?NaN:r}function ee(e,t,r){return void 0===t&&(t=40),void 0===r&&(r=x),function(n,o,a,s){var l,c,u;a=void 0===a?0:+a,s=void 0===s?0:+s;for(var d=0;dl)a-=c/=2,s-=u/=2;else{l=m;var g=(a>0?-1:1)*r,v=(s>0?-1:1)*r,y=e(a+g,s),x=e(a,s+v),b=(y[0]-f[0])/g,w=(y[1]-f[1])/g,_=(x[0]-f[0])/v,k=(x[1]-f[1])/v,S=k*b-w*_,T=(i(S)<.5?.5:1)/S;if(a+=c=(p*_-h*k)*T,s+=u=(h*w-p*b)*T,i(c)0&&(i[1]*=1+o/1.5*i[0]*i[0]),i}return t.invert=ee(t),t}function re(){return(0,n.Z)(te()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function ne(e,t){var r,n=e*g(t),o=30;do{t-=r=(t+g(t)-n)/(1+s(t))}while(i(r)>y&&--o>0);return t/2}function ie(e,t,r){function n(n,i){return[e*n*s(i=ne(r,i)),t*g(i)]}return n.invert=function(n,i){return i=E(i/t),[n/(e*s(i)),E((2*i+g(2*i))/r)]},n}$.invert=function(e,t){var r=2*E(t/2);return[e*s(r/2)/s(r),r]};var oe=ie(S/w,S,b);function ae(){return(0,n.Z)(oe).scale(169.529)}var se=2.00276,le=1.11072;function ce(e,t){var r=ne(b,t);return[se*e/(1/s(t)+le/s(r)),(t+S*g(r))/se]}function ue(){return(0,n.Z)(ce).scale(160.857)}function de(e){var t=0,r=(0,n.r)(e),i=r(t);return i.parallel=function(e){return arguments.length?r(t=e*A):t*C},i}function fe(e,t){return[e*s(t),t]}function he(){return(0,n.Z)(fe).scale(152.63)}function pe(e){if(!e)return fe;var t=1/v(e);function r(r,n){var i=t+e-n,o=i?r*s(n)/i:i;return[i*g(o),t-i*s(o)]}return r.invert=function(r,n){var i=O(r*r+(n=t-n)*n),o=t+e-i;return[i/s(o)*a(r,n),o]},r}function me(){return de(pe).scale(123.082).center([0,26.1441]).parallel(45)}function ge(e){function t(t,r){var n=w-r,i=n?t*e*g(n)/n:n;return[n*g(i)/e,w-n*s(i)]}return t.invert=function(t,r){var n=t*e,i=w-r,o=O(n*n+i*i),s=a(n,i);return[(o?o/g(o):1)*s/e,w-o]},t}function ve(){var e=.5,t=(0,n.r)(ge),r=t(e);return r.fraction=function(r){return arguments.length?t(e=+r):e},r.scale(158.837)}ce.invert=function(e,t){var r,n,o=se*t,a=t<0?-_:_,l=25;do{n=o-S*g(a),a-=r=(g(2*a)+2*a-b*g(n))/(2*s(2*a)+2+b*s(n)*S*s(a))}while(i(r)>y&&--l>0);return n=o-S*g(a),[e*(1/s(n)+le/s(a))/se,n]},fe.invert=function(e,t){return[e/s(t),t]};var ye=ie(1,4/b,b);function xe(){return(0,n.Z)(ye).scale(152.63)}var be=r(90903),we=r(83706);function _e(e,t,r,n,o,l){var c,u=s(l);if(i(e)>1||i(l)>1)c=I(r*o+t*n*u);else{var d=g(e/2),f=g(l/2);c=2*E(O(d*d+t*n*f*f))}return i(c)>y?[c,a(n*g(l),t*o-r*n*u)]:[0,0]}function ke(e,t,r){return I((e*e+t*t-r*r)/(2*e*t))}function Se(e){return e-2*b*c((e+b)/(2*b))}function Te(e,t,r){for(var n,i=[[e[0],e[1],g(e[1]),s(e[1])],[t[0],t[1],g(t[1]),s(t[1])],[r[0],r[1],g(r[1]),s(r[1])]],o=i[2],a=0;a<3;++a,o=n)n=i[a],o.v=_e(n[1]-o[1],o[3],o[2],n[3],n[2],n[0]-o[0]),o.point=[0,0];var l=ke(i[0].v[0],i[2].v[0],i[1].v[0]),c=ke(i[0].v[0],i[1].v[0],i[2].v[0]),u=b-l;i[2].point[1]=0,i[0].point[0]=-(i[1].point[0]=i[0].v[0]/2);var d=[i[2].point[0]=i[0].point[0]+i[2].v[0]*s(l),2*(i[0].point[1]=i[1].point[1]=i[2].v[0]*g(l))];return function(e,t){var r,n=g(t),o=s(t),a=new Array(3);for(r=0;r<3;++r){var l=i[r];if(a[r]=_e(t-l[1],l[3],l[2],o,n,e-l[0]),!a[r][0])return l.point;a[r][1]=Se(a[r][1]-l.v[1])}var f=d.slice();for(r=0;r<3;++r){var h=2==r?0:r+1,p=ke(i[r].v[0],a[r][0],a[h][0]);a[r][1]<0&&(p=-p),r?1==r?(p=c-p,f[0]-=a[r][0]*s(p),f[1]-=a[r][0]*g(p)):(p=u-p,f[0]+=a[r][0]*s(p),f[1]+=a[r][0]*g(p)):(f[0]+=a[r][0]*s(p),f[1]-=a[r][0]*g(p))}return f[0]/=3,f[1]/=3,f}}function Me(e){return e[0]*=A,e[1]*=A,e}function Ce(){return Ae([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ae(e,t,r){var i=(0,be.Z)({type:"MultiPoint",coordinates:[e,t,r]}),o=[-i[0],-i[1]],a=(0,we.Z)(o),s=Te(Me(a(e)),Me(a(t)),Me(a(r)));s.invert=ee(s);var l=(0,n.Z)(s).rotate(o),c=l.center;return delete l.rotate,l.center=function(e){return arguments.length?c(a(e)):a.invert(c())},l.clipAngle(90)}function Ee(e,t){var r=O(1-g(t));return[2/T*e*r,T*(1-r)]}function Ie(){return(0,n.Z)(Ee).scale(95.6464).center([0,30])}function Oe(e){var t=v(e);function r(e,r){return[e,(e?e/g(e):1)*(g(r)*s(e)-t*s(r))]}return r.invert=t?function(e,r){e&&(r*=g(e)/e);var n=s(e);return[e,2*a(O(n*n+t*t-r*r)-n,t-r)]}:function(e,t){return[e,E(e?t*v(e)/e:t)]},r}function Pe(){return de(Oe).scale(249.828).clipAngle(90)}Ee.invert=function(e,t){var r=(r=t/T-1)*r;return[r>0?e*O(b/r)/2:0,E(1-r)]};var Re=O(3);function Le(e,t){return[Re*e*(2*s(2*t/3)-1)/T,Re*T*g(t/3)]}function je(){return(0,n.Z)(Le).scale(156.19)}function De(e){var t=s(e);function r(e,r){return[e*t,g(r)/t]}return r.invert=function(e,r){return[e/t,E(r*t)]},r}function ze(){return de(De).parallel(38.58).scale(195.044)}function Ne(e){var t=s(e);function r(e,r){return[e*t,(1+t)*v(r/2)]}return r.invert=function(e,r){return[e/t,2*o(r/(1+t))]},r}function Fe(){return de(Ne).scale(124.75)}function Be(e,t){var r=O(8/(3*b));return[r*e*(1-i(t)/b),r*t]}function Ze(){return(0,n.Z)(Be).scale(165.664)}function Ue(e,t){var r=O(4-3*g(i(t)));return[2/O(6*b)*e*r,m(t)*O(2*b/3)*(2-r)]}function Ve(){return(0,n.Z)(Ue).scale(165.664)}function He(e,t){var r=O(b*(4+b));return[2/r*e*(1+O(1-4*t*t/(b*b))),4/r*t]}function We(){return(0,n.Z)(He).scale(180.739)}function Ge(e,t){var r=(2+w)*g(t);t/=2;for(var n=0,o=1/0;n<10&&i(o)>y;n++){var a=s(t);t-=o=(t+g(t)*(a+2)-r)/(2*a*(1+a))}return[2/O(b*(4+b))*e*(1+s(t)),2*O(b/(4+b))*g(t)]}function qe(){return(0,n.Z)(Ge).scale(180.739)}function Ye(e,t){return[e*(1+s(t))/O(2+b),2*t/O(2+b)]}function Xe(){return(0,n.Z)(Ye).scale(173.044)}function Ke(e,t){for(var r=(1+w)*g(t),n=0,o=1/0;n<10&&i(o)>y;n++)t-=o=(t+g(t)-r)/(1+s(t));return r=O(2+b),[e*(1+s(t))/r,2*t/r]}function $e(){return(0,n.Z)(Ke).scale(173.044)}Le.invert=function(e,t){var r=3*E(t/(Re*T));return[T*e/(Re*(2*s(2*r/3)-1)),r]},Be.invert=function(e,t){var r=O(8/(3*b)),n=t/r;return[e/(r*(1-i(n)/b)),n]},Ue.invert=function(e,t){var r=2-i(t)/O(2*b/3);return[e*O(6*b)/(2*r),m(t)*E((4-r*r)/3)]},He.invert=function(e,t){var r=O(b*(4+b))/2;return[e*r/(1+O(1-t*t*(4+b)/(4*b))),t*r/2]},Ge.invert=function(e,t){var r=t*O((4+b)/b)/2,n=E(r),i=s(n);return[e/(2/O(b*(4+b))*(1+i)),E((n+r*(i+2))/(2+w))]},Ye.invert=function(e,t){var r=O(2+b),n=t*r/2;return[r*e/(1+s(n)),n]},Ke.invert=function(e,t){var r=1+w,n=O(r/2);return[2*e*n/(1+s(t*=n)),E((t+g(t))/r)]};var Je=3+2*S;function Qe(e,t){var r=g(e/=2),n=s(e),i=O(s(t)),a=s(t/=2),l=g(t)/(a+S*n*i),c=O(2/(1+l*l)),d=O((S*a+(n+r)*i)/(S*a+(n-r)*i));return[Je*(c*(d-1/d)-2*u(d)),Je*(c*l*(d+1/d)-2*o(l))]}function et(){return(0,n.Z)(Qe).scale(62.5271)}Qe.invert=function(e,t){if(!(r=B.invert(e/1.2,1.065*t)))return null;var r,n=r[0],a=r[1],l=20;e/=Je,t/=Je;do{var c=n/2,h=a/2,p=g(c),m=s(c),v=g(h),x=s(h),b=s(a),_=O(b),T=v/(x+S*m*_),M=T*T,C=O(2/(1+M)),A=(S*x+(m+p)*_)/(S*x+(m-p)*_),E=O(A),I=E-1/E,P=E+1/E,R=C*I-2*u(E)-e,L=C*T*P-2*o(T)-t,j=v&&k*_*p*M/v,D=(S*m*x+_)/(2*(x+S*m*_)*(x+S*m*_)*_),z=-.5*T*C*C*C,N=z*j,F=z*D,Z=(Z=2*x+S*_*(m-p))*Z*E,U=(S*m*x*_+b)/Z,V=-S*p*v/(_*Z),H=I*N-2*U/E+C*(U+U/A),W=I*F-2*V/E+C*(V+V/A),G=T*P*N-2*j/(1+M)+C*P*j+C*T*(U-U/A),q=T*P*F-2*D/(1+M)+C*P*D+C*T*(V-V/A),Y=W*G-q*H;if(!Y)break;var X=(L*W-R*q)/Y,K=(R*G-L*H)/Y;n-=X,a=d(-w,f(w,a-K))}while((i(X)>y||i(K)>y)&&--l>0);return i(i(a)-w)n){var f=O(d),h=a(u,c),m=r*p(h/r),v=h-m,x=e*s(v),_=(e*g(v)-v*g(x))/(w-x),k=pt(v,_),S=(b-e)/mt(k,x,b);c=f;var T,M=50;do{c-=T=(e+mt(k,x,c)*S-f)/(k(c)*S)}while(i(T)>y&&--M>0);u=v*g(c),cn){var c=O(l),u=a(o,t),d=r*p(u/r),f=u-d;t=c*s(f),o=c*g(f);for(var h=t-w,m=g(t),v=o/m,y=ty||i(h)>y)&&--v>0);return[p,m]},u}var yt=vt(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function xt(){return(0,n.Z)(yt).scale(149.995)}var bt=vt(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function wt(){return(0,n.Z)(bt).scale(153.93)}var _t=vt(5/6*b,-.62636,-.0344,0,1.3493,-.05524,0,.045);function kt(){return(0,n.Z)(_t).scale(130.945)}function St(e,t){var r=e*e,n=t*t;return[e*(1-.162388*n)*(.87-952426e-9*r*r),t*(1+n/12)]}function Tt(){return(0,n.Z)(St).scale(131.747)}St.invert=function(e,t){var r,n=e,o=t,a=50;do{var s=o*o;o-=r=(o*(1+s/12)-t)/(1+s/4)}while(i(r)>y&&--a>0);a=50,e/=1-.162388*s;do{var l=(l=n*n)*l;n-=r=(n*(.87-952426e-9*l)-e)/(.87-.00476213*l)}while(i(r)>y&&--a>0);return[n,o]};var Mt=vt(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Ct(){return(0,n.Z)(Mt).scale(131.087)}function At(e){var t=e(w,0)[0]-e(-w,0)[0];function r(r,n){var i=r>0?-.5:.5,o=e(r+i*b,n);return o[0]-=i*t,o}return e.invert&&(r.invert=function(r,n){var i=r>0?-.5:.5,o=e.invert(r+i*t,n),a=o[0]-i*b;return a<-b?a+=2*b:a>b&&(a-=2*b),o[0]=a,o}),r}function Et(e,t){var r=m(e),n=m(t),o=s(t),l=s(e)*o,c=g(e)*o,u=g(n*t);e=i(a(c,u)),t=E(l),i(e-w)>y&&(e%=w);var d=function(e,t){if(t===w)return[0,0];var r,n,o=g(t),a=o*o,l=a*a,c=1+l,u=1+3*l,d=1-l,f=E(1/O(c)),h=d+a*c*f,p=(1-o)/h,m=O(p),v=p*c,x=O(v),_=m*d;if(0===e)return[0,-(_+a*x)];var k,S=s(t),T=1/S,M=2*o*S,C=(-3*a+f*u)*M,A=(-h*S-(1-o)*C)/(h*h),I=a*c*A+p*u*M,P=-T*M,R=-T*I,L=-2*T*(d*(.5*A/m)-2*a*m*M),j=4*e/b;if(e>.222*b||t.175*b){if(r=(_+a*O(v*(1+l)-_*_))/(1+l),e>b/4)return[r,r];var D=r,z=.5*r;r=.5*(z+D),n=50;do{var N=r*(L+P*O(v-r*r))+R*E(r/x)-j;if(!N)break;N<0?z=r:D=r,r=.5*(z+D)}while(i(D-z)>y&&--n>0)}else{r=y,n=25;do{var F=r*r,B=O(v-F),Z=L+P*B,U=r*Z+R*E(r/x)-j;r-=k=B?U/(Z+(R-P*F)/B):0}while(i(k)>y&&--n>0)}return[r,-_-a*O(v-r*r)]}(e>b/4?w-e:e,t);return e>b/4&&(u=d[0],d[0]=-d[1],d[1]=-u),d[0]*=r,d[1]*=-n,d}function It(){return(0,n.Z)(At(Et)).scale(239.75)}function Ot(e,t){var r,n,a,c,u,d;if(t=1-y)return r=(1-t)/4,a=1/(n=R(e)),[(c=((d=l(2*(d=e)))-1)/(d+1))+r*((u=n*P(e))-e)/(n*n),a-r*c*a*(u-e),a+r*c*a*(u+e),2*o(l(e))-w+r*(u-e)/n];var f=[1,0,0,0,0,0,0,0,0],h=[O(t),0,0,0,0,0,0,0,0],p=0;for(n=O(1-t),u=1;i(h[p]/f[p])>y&&p<8;)r=f[p++],h[p]=(r-n)/2,f[p]=(r+n)/2,n=O(r*n),u*=2;a=u*f[p]*e;do{a=(E(c=h[p]*g(n=a)/f[p])+a)/2}while(--p);return[g(a),c=s(a),c/s(a-n),a]}function Pt(e,t){if(!t)return e;if(1===t)return u(v(e/2+_));for(var r=1,n=O(1-t),a=O(t),s=0;i(a)>y;s++){if(e%b){var l=o(n*v(e)/r);l<0&&(l+=b),e+=l+~~(e/b)*b}else e+=e;a=(r+n)/2,n=O(r*n),a=((r=a)-n)/2}return e/(h(2,s)*r)}function Rt(e,t){var r=(S-1)/(S+1),n=O(1-r*r),c=Pt(w,n*n),d=u(v(b/4+i(t)/2)),f=l(-1*d)/O(r),h=function(e,t){var r=e*e,n=t+1,i=1-r-t*t;return[.5*((e>=0?w:-w)-a(i,2*e)),-.25*u(i*i+4*r)+.5*u(n*n+r)]}(f*s(-1*e),f*g(-1*e)),p=function(e,t,r){var n=i(e),a=P(i(t));if(n){var s=1/g(n),l=1/(v(n)*v(n)),c=-(l+r*(a*a*s*s)-1+r),u=(-c+O(c*c-(r-1)*l*4))/2;return[Pt(o(1/O(u)),r)*m(e),Pt(o(O((u/l-1)/r)),1-r)*m(t)]}return[0,Pt(o(a),1-r)*m(t)]}(h[0],h[1],n*n);return[-p[1],(t>=0?1:-1)*(.5*c-p[0])]}function Lt(){return(0,n.Z)(At(Rt)).scale(151.496)}Et.invert=function(e,t){i(e)>1&&(e=2*m(e)-e),i(t)>1&&(t=2*m(t)-t);var r=m(e),n=m(t),o=-r*e,l=-n*t,c=l/o<1,u=function(e,t){var r=0,n=1,o=.5,a=50;for(;;){var l=o*o,c=O(o),u=E(1/O(1+l)),d=1-l+o*(1+l)*u,f=(1-c)/d,h=O(f),p=f*(1+l),m=h*(1-l),g=O(p-e*e),v=t+m+o*g;if(i(n-r)0?r=o:n=o,o=.5*(r+n)}if(!a)return null;var y=E(c),w=s(y),_=1/w,k=2*c*w,S=(-d*w-(-3*o+u*(1+3*l))*k*(1-c))/(d*d),T=.5*S/h,M=(1-l)*T-2*o*h*k;return[b/4*(e*(-2*_*M+-_*k*g)+-_*(o*(1+l)*S+f*(1+3*l)*k)*E(e/O(p))),y]}(c?l:o,c?o:l),d=u[0],f=u[1],h=s(f);return c&&(d=-w-d),[r*(a(g(d)*h,-g(f))+b),n*E(s(d)*h)]},Rt.invert=function(e,t){var r=(S-1)/(S+1),n=O(1-r*r),i=function(e,t,r){var n,i,o;return e?(n=Ot(e,r),t?(o=(i=Ot(t,1-r))[1]*i[1]+r*n[0]*n[0]*i[0]*i[0],[[n[0]*i[2]/o,n[1]*n[2]*i[0]*i[1]/o],[n[1]*i[1]/o,-n[0]*n[2]*i[0]*i[2]/o],[n[2]*i[1]*i[2]/o,-r*n[0]*n[1]*i[0]/o]]):[[n[0],0],[n[1],0],[n[2],0]]):[[0,(i=Ot(t,1-r))[0]/i[1]],[1/i[1],0],[i[2]/i[1],0]]}(.5*Pt(w,n*n)-t,-e,n*n),s=function(e,t){var r=t[0]*t[0]+t[1]*t[1];return[(e[0]*t[0]+e[1]*t[1])/r,(e[1]*t[0]-e[0]*t[1])/r]}(i[0],i[1]);return[a(s[1],s[0])/-1,2*o(l(-.5*u(r*s[0]*s[0]+r*s[1]*s[1])))-w]};var jt=r(12727);function Dt(e){var t=g(e),r=s(e),n=zt(e);function o(e,o){var a=n(e,o);e=a[0],o=a[1];var l=g(o),c=s(o),u=s(e),d=I(t*l+r*c*u),f=g(d),h=i(f)>y?d/f:1;return[h*r*g(e),(i(e)>w?h:-h)*(t*c-r*l*u)]}return n.invert=zt(-e),o.invert=function(e,r){var i=O(e*e+r*r),o=-g(i),l=s(i),c=i*l,u=-r*o,d=i*t,f=O(c*c+u*u-d*d),h=a(c*d+u*f,u*d-c*f),p=(i>w?-1:1)*a(e*o,i*s(h)*l+r*g(h)*o);return n.invert(p,h)},o}function zt(e){var t=g(e),r=s(e);return function(e,n){var i=s(n),o=s(e)*i,l=g(e)*i,c=g(n);return[a(l,o*r-c*t),E(c*r+o*t)]}}function Nt(){var e=0,t=(0,n.r)(Dt),r=t(e),i=r.rotate,o=r.stream,a=(0,jt.Z)();return r.parallel=function(n){if(!arguments.length)return e*C;var i=r.rotate();return t(e=n*A).rotate(i)},r.rotate=function(t){return arguments.length?(i.call(r,[t[0],t[1]-e*C]),a.center([-t[0],-t[1]]),r):((t=i.call(r))[1]+=e*C,t)},r.stream=function(e){return(e=o(e)).sphere=function(){e.polygonStart();var t,r=a.radius(89.99)().coordinates[0],n=r.length-1,i=-1;for(e.lineStart();++i=0;)e.point((t=r[i])[0],t[1]);e.lineEnd(),e.polygonEnd()},e},r.scale(79.4187).parallel(45).clipAngle(179.999)}var Ft=r(74104),Bt=r(93321),Zt=E(1-1/3)*C,Ut=De(0);function Vt(e){var t=Zt*A,r=Ee(b,t)[0]-Ee(-b,t)[0],n=Ut(0,t)[1],o=Ee(0,t)[1],a=T-o,s=M/e,l=4/M,u=n+a*a*4/M;function h(h,p){var m,g=i(p);if(g>t){var v=f(e-1,d(0,c((h+b)/s)));(m=Ee(h+=b*(e-1)/e-v*s,g))[0]=m[0]*M/r-M*(e-1)/(2*e)+v*M/e,m[1]=n+4*(m[1]-o)*a/M,p<0&&(m[1]=-m[1])}else m=Ut(h,p);return m[0]*=l,m[1]/=u,m}return h.invert=function(t,h){t/=l;var p=i(h*=u);if(p>n){var m=f(e-1,d(0,c((t+b)/s)));t=(t+b*(e-1)/e-m*s)*r/M;var g=Ee.invert(t,.25*(p-n)*M/a+o);return g[0]-=b*(e-1)/e-m*s,h<0&&(g[1]=-g[1]),g}return Ut.invert(t,h)},h}function Ht(e,t){return[e,1&t?90-y:Zt]}function Wt(e,t){return[e,1&t?-90+y:-Zt]}function Gt(e){return[e[0]*(1-y),e[1]]}function qt(){var e=4,t=(0,n.r)(Vt),r=t(e),i=r.stream;return r.lobes=function(r){return arguments.length?t(e=+r):e},r.stream=function(t){var n=r.rotate(),o=i(t),a=(r.rotate([0,0]),i(t));return r.rotate(n),o.sphere=function(){(0,Bt.Z)(function(e){var t=[].concat((0,Ft.w6)(-180,180+e/2,e).map(Ht),(0,Ft.w6)(180,-180-e/2,-e).map(Wt));return{type:"Polygon",coordinates:[180===e?t.map(Gt):t]}}(180/e),a)},o},r.scale(239.75)}function Yt(e){var t,r=1+e,n=E(g(1/r)),o=2*O(b/(t=b+4*n*r)),l=.5*o*(r+O(e*(2+e))),c=e*e,u=r*r;function d(d,f){var h,p,m=1-g(f);if(m&&m<2){var v,y=w-f,_=25;do{var k=g(y),S=s(y),T=n+a(k,r-S),M=1+u-2*r*S;y-=v=(y-c*n-r*k+M*T-.5*m*t)/(2*r*k*T)}while(i(v)>x&&--_>0);h=o*O(M),p=d*T/b}else h=o*(e+m),p=d*n/b;return[h*g(p),l-h*s(p)]}return d.invert=function(e,i){var s=e*e+(i-=l)*i,d=(1+u-s/(o*o))/(2*r),f=I(d),h=g(f),p=n+a(h,r-d);return[E(e/O(s))*b/p,E(1-2*(f-c*n-r*h+(1+u-2*r*d)*p)/t)]},d}function Xt(){var e=1,t=(0,n.r)(Yt),r=t(e);return r.ratio=function(r){return arguments.length?t(e=+r):e},r.scale(167.774).center([0,18.67])}var Kt=.7109889596207567,$t=.0528035274542;function Jt(e,t){return t>-Kt?((e=oe(e,t))[1]+=$t,e):fe(e,t)}function Qt(){return(0,n.Z)(Jt).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function er(e,t){return i(t)>Kt?((e=oe(e,t))[1]-=t>0?$t:-$t,e):fe(e,t)}function tr(){return(0,n.Z)(er).scale(152.63)}function rr(e,t,r,n){var i=O(4*b/(2*r+(1+e-t/2)*g(2*r)+(e+t)/2*g(4*r)+t/2*g(6*r))),o=O(n*g(r)*O((1+e*s(2*r)+t*s(4*r))/(1+e+t))),a=r*c(1);function l(r){return O(1+e*s(2*r)+t*s(4*r))}function c(n){var i=n*r;return(2*i+(1+e-t/2)*g(2*i)+(e+t)/2*g(4*i)+t/2*g(6*i))/r}function u(e){return l(e)*g(e)}var d=function(e,t){var n=r*Q(c,a*g(t)/r,t/b);isNaN(n)&&(n=r*m(t));var u=i*l(n);return[u*o*e/b*s(n),u/o*g(n)]};return d.invert=function(e,t){var n=Q(u,t*o/i);return[e*b/(s(n)*i*o*l(n)),E(r*c(n/r)/a)]},0===r&&(i=O(n/b),(d=function(e,t){return[e*i,g(t)/i]}).invert=function(e,t){return[e/i,E(t*i)]}),d}function nr(){var e=1,t=0,r=45*A,i=2,o=(0,n.r)(rr),a=o(e,t,r,i);return a.a=function(n){return arguments.length?o(e=+n,t,r,i):e},a.b=function(n){return arguments.length?o(e,t=+n,r,i):t},a.psiMax=function(n){return arguments.length?o(e,t,r=+n*A,i):r*C},a.ratio=function(n){return arguments.length?o(e,t,r,i=+n):i},a.scale(180.739)}function ir(e,t,r,n,i,o,a,s,l,c,u){if(u.nanEncountered)return NaN;var d,f,h,p,m,g,v,y,x,b;if(f=e(t+.25*(d=r-t)),h=e(r-.25*d),isNaN(f))u.nanEncountered=!0;else{if(!isNaN(h))return b=((g=(p=d*(n+4*f+i)/12)+(m=d*(i+4*h+o)/12))-a)/15,c>l?(u.maxDepthCount++,g+b):Math.abs(b)e?r=n:t=n,n=t+r>>1}while(n>t);var i=c[n+1]-c[n];return i&&(i=(e-c[n+1])/i),(n+1+i)/s}var f=2*d(1)/b*a/r,p=function(e,t){var r=d(i(g(t))),o=n(r)*e;return r/=f,[o,t>=0?r:-r]};return p.invert=function(e,t){var r;return i(t*=f)<1&&(r=m(t)*E(o(i(t))*a)),[e/n(i(t)),r]},p}function sr(){var e=0,t=2.5,r=1.183136,i=(0,n.r)(ar),o=i(e,t,r);return o.alpha=function(n){return arguments.length?i(e=+n,t,r):e},o.k=function(n){return arguments.length?i(e,t=+n,r):t},o.gamma=function(n){return arguments.length?i(e,t,r=+n):r},o.scale(152.63)}function lr(e,t){return i(e[0]-t[0])o[a][2][0];++a);var l=e(r-o[a][1][0],n);return l[0]+=e(o[a][1][0],i*n>i*o[a][0][1]?o[a][0][1]:n)[0],l}r?a.invert=r(a):e.invert&&(a.invert=function(r,n){for(var i=o[+(n<0)],s=t[+(n<0)],l=0,c=i.length;l=0;--s)r=(t=e[1][s])[0][0],n=t[0][1],i=t[1][1],o=t[2][0],a=t[2][1],l.push(cr([[o-y,a-y],[o-y,i+y],[r+y,i+y],[r+y,n-y]],30));return{type:"Polygon",coordinates:[(0,Ft.TS)(l)]}}(r),t=r.map((function(e){return e.map((function(e){return[[e[0][0]*A,e[0][1]*A],[e[1][0]*A,e[1][1]*A],[e[2][0]*A,e[2][1]*A]]}))})),o=t.map((function(t){return t.map((function(t){var r,n=e(t[0][0],t[0][1])[0],i=e(t[2][0],t[2][1])[0],o=e(t[1][0],t[0][1])[1],a=e(t[1][0],t[1][1])[1];return o>a&&(r=o,o=a,a=r),[[n,o],[i,a]]}))})),s):t.map((function(e){return e.map((function(e){return[[e[0][0]*C,e[0][1]*C],[e[1][0]*C,e[1][1]*C],[e[2][0]*C,e[2][1]*C]]}))}))},null!=t&&s.lobes(t),s}Jt.invert=function(e,t){return t>-Kt?oe.invert(e,t-$t):fe.invert(e,t)},er.invert=function(e,t){return i(t)>Kt?oe.invert(e,t+(t>0?$t:-$t)):fe.invert(e,t)};var dr=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function fr(){return ur(ce,dr).scale(160.857)}var hr=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function pr(){return ur(er,hr).scale(152.63)}var mr=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function gr(){return ur(oe,mr).scale(169.529)}var vr=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function yr(){return ur(oe,vr).scale(169.529).rotate([20,0])}var xr=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function br(){return ur(Jt,xr,ee).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var wr=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function _r(){return ur(fe,wr).scale(152.63).rotate([-20,0])}function kr(e,t){return[3/M*e*O(b*b/3-t*t),t]}function Sr(){return(0,n.Z)(kr).scale(158.837)}function Tr(e){function t(t,r){if(i(i(r)-w)2)return null;var o=(t/=2)*t,s=(r/=2)*r,l=2*r/(1+o+s);return l=h((1+l)/(1-l),1/e),[a(2*t,1-o-s)/e,E((l-1)/(l+1))]},t}function Mr(){var e=.5,t=(0,n.r)(Tr),r=t(e);return r.spacing=function(r){return arguments.length?t(e=+r):e},r.scale(124.75)}kr.invert=function(e,t){return[M/3*e/O(b*b/3-t*t),t]};var Cr=b/S;function Ar(e,t){return[e*(1+O(s(t)))/2,t/(s(t/2)*s(e/6))]}function Er(){return(0,n.Z)(Ar).scale(97.2672)}function Ir(e,t){var r=e*e,n=t*t;return[e*(.975534+n*(-.0143059*r-.119161+-.0547009*n)),t*(1.00384+r*(.0802894+-.02855*n+199025e-9*r)+n*(.0998909+-.0491032*n))]}function Or(){return(0,n.Z)(Ir).scale(139.98)}function Pr(e,t){return[g(e)/s(t),v(t)*s(e)]}function Rr(){return(0,n.Z)(Pr).scale(144.049).clipAngle(89.999)}function Lr(e){var t=s(e),r=v(_+e/2);function n(n,o){var a=o-e,s=i(a)=0;)f=(d=e[u])[0]+l*(i=f)-c*h,h=d[1]+l*h+c*i;return[f=l*(i=f)-c*h,h=l*h+c*i]}return r.invert=function(r,n){var l=20,c=r,u=n;do{for(var d,f=t,h=e[f],p=h[0],m=h[1],v=0,x=0;--f>=0;)v=p+c*(d=v)-u*x,x=m+c*x+u*d,p=(h=e[f])[0]+c*(d=p)-u*m,m=h[1]+c*m+u*d;var b,w,_=(v=p+c*(d=v)-u*x)*v+(x=m+c*x+u*d)*x;c-=b=((p=c*(d=p)-u*m-r)*v+(m=c*m+u*d-n)*x)/_,u-=w=(m*v-p*x)/_}while(i(b)+i(w)>y*y&&--l>0);if(l){var k=O(c*c+u*u),S=2*o(.5*k),T=g(S);return[a(c*T,k*s(S)),k?E(u*T/k):0]}},r}Ar.invert=function(e,t){var r=i(e),n=i(t),o=y,a=w;ny||i(x)>y)&&--o>0);return o&&[r,n]},Pr.invert=function(e,t){var r=e*e,n=t*t+1,i=r+n,o=e?k*O((i-O(i*i-4*r))/r):1/O(n);return[E(e*o),m(t)*I(o)]},Dr.invert=function(e,t){return[e,2.5*o(l(.8*t))-.625*b]};var Fr=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Br=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Zr=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Ur=[[.9245,0],[0,0],[.01943,0]],Vr=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Hr(){return Xr(Fr,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Wr(){return Xr(Br,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Gr(){return Xr(Zr,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function qr(){return Xr(Ur,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Yr(){return Xr(Vr,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Xr(e,t){var r=(0,n.Z)(Nr(e)).rotate(t).clipAngle(90),i=(0,we.Z)(t),o=r.center;return delete r.rotate,r.center=function(e){return arguments.length?o(i(e)):i.invert(o())},r}var Kr=O(6),$r=O(7);function Jr(e,t){var r=E(7*g(t)/(3*Kr));return[Kr*e*(2*s(2*r/3)-1)/$r,9*g(r/3)/$r]}function Qr(){return(0,n.Z)(Jr).scale(164.859)}function en(e,t){for(var r,n=(1+k)*g(t),o=t,a=0;a<25&&(o-=r=(g(o/2)+g(o)-n)/(.5*s(o/2)+s(o)),!(i(r)x&&--l>0);return[e/(.84719-.13063*(n=s*s)+(a=n*(o=n*n))*a*(.05494*n-.04515-.02326*o+.00331*a)),s]},ln.invert=function(e,t){for(var r=t/2,n=0,o=1/0;n<10&&i(o)>y;++n){var a=s(t/2);t-=o=(t-v(t/2)-r)/(1-.5/(a*a))}return[2*e/(1+s(t)),t]};var un=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function dn(){return ur(K(1/0),un).rotate([20,0]).scale(152.63)}function fn(e,t){var r=g(t),n=s(t),o=m(e);if(0===e||i(t)===w)return[0,t];if(0===t)return[e,0];if(i(e)===w)return[e*n,w*r];var a=b/(2*e)-2*e/b,l=2*t/b,c=(1-l*l)/(r-l),u=a*a,d=c*c,f=1+u/d,h=1+d/u,p=(a*r/c-a/2)/f,v=(d*r/u+c/2)/h,y=v*v-(d*r*r/u+c*r-1)/h;return[w*(p+O(p*p+n*n/f)*o),w*(v+O(y<0?0:y)*m(-t*a)*o)]}function hn(){return(0,n.Z)(fn).scale(127.267)}fn.invert=function(e,t){var r=(e/=w)*e,n=r+(t/=w)*t,i=b*b;return[e?(n-1+O((1-n)*(1-n)+4*r))/(2*e)*w:0,Q((function(e){return n*(b*g(e)-2*e)*b+4*e*e*(t-g(e))+2*b*e-i*t}),0)]};var pn=1.0148,mn=.23185,gn=-.14499,vn=.02406,yn=pn,xn=5*mn,bn=7*gn,wn=9*vn,_n=1.790857183;function kn(e,t){var r=t*t;return[e,t*(pn+r*r*(mn+r*(gn+vn*r)))]}function Sn(){return(0,n.Z)(kn).scale(139.319)}function Tn(e,t){if(i(t)_n?t=_n:t<-1.790857183&&(t=-1.790857183);var r,n=t;do{var o=n*n;n-=r=(n*(pn+o*o*(mn+o*(gn+vn*o)))-t)/(yn+o*o*(xn+o*(bn+wn*o)))}while(i(r)>y);return[e,n]},Tn.invert=function(e,t){if(i(t)y&&--a>0);return l=v(o),[(i(t)=0;)if(n=t[s],r[0]===n[0]&&r[1]===n[1]){if(o)return[o,r];o=r}}}(t.face,r.face),i=En(n.map(r.project),n.map(t.project));t.transform=r.transform?In(r.transform,i):i;for(var o=r.edges,a=0,s=o.length;a0?[-t[0],0]:[180-t[0],180])};var t=Fn.map((function(t){return{face:t,project:e(t)}}));return[-1,0,0,1,0,1,4,5].forEach((function(e,r){var n=t[e];n&&(n.children||(n.children=[])).push(t[r])})),Rn(t[0],(function(e,r){return t[e<-b/2?r<0?6:4:e<0?r<0?2:0:en^h>n&&r<(f-c)*(n-u)/(h-u)+c&&(i=!i)}return i}(e[0],r))return e.push(t),!0}))||e.push([t])})),ei=[],e.length?e.length>1?{type:"MultiPolygon",coordinates:e}:{type:"Polygon",coordinates:e[0]}:null}};function ii(e){var t=e(w,0)[0]-e(-w,0)[0];function r(r,n){var o=i(r)0?r-b:r+b,n),s=(a[0]-a[1])*k,l=(a[0]+a[1])*k;if(o)return[s,l];var c=t*k,u=s>0^l>0?-1:1;return[u*s-m(l)*c,u*l-m(s)*c]}return e.invert&&(r.invert=function(r,n){var o=(r+n)*k,a=(n-r)*k,s=i(o)<.5*t&&i(a)<.5*t;if(!s){var l=t*k,c=o>0^a>0?-1:1,u=-c*r+(a>0?1:-1)*l,d=-c*n+(o>0?1:-1)*l;o=(-u-d)*k,a=(u-d)*k}var f=e.invert(o,a);return s||(f[0]+=o>0?b:-b),f}),(0,n.Z)(r).rotate([-90,-90,45]).clipAngle(179.999)}function oi(){return ii(Et).scale(176.423)}function ai(){return ii(Rt).scale(111.48)}function si(e,t){if(!(0<=(t=+t)&&t<=20))throw new Error("invalid digits");function r(e){var r=e.length,n=2,i=new Array(r);for(i[0]=+e[0].toFixed(t),i[1]=+e[1].toFixed(t);n2||o[0]!=t[0]||o[1]!=t[1])&&(n.push(o),t=o)}return 1===n.length&&e.length>1&&n.push(r(e[e.length-1])),n}function o(e){return e.map(i)}function a(e){if(null==e)return e;var t;switch(e.type){case"GeometryCollection":t={type:"GeometryCollection",geometries:e.geometries.map(a)};break;case"Point":t={type:"Point",coordinates:r(e.coordinates)};break;case"MultiPoint":t={type:e.type,coordinates:n(e.coordinates)};break;case"LineString":t={type:e.type,coordinates:i(e.coordinates)};break;case"MultiLineString":case"Polygon":t={type:e.type,coordinates:o(e.coordinates)};break;case"MultiPolygon":t={type:"MultiPolygon",coordinates:e.coordinates.map(o)};break;default:return e}return null!=e.bbox&&(t.bbox=e.bbox),t}function s(e){var t={type:"Feature",properties:e.properties,geometry:a(e.geometry)};return null!=e.id&&(t.id=e.id),null!=e.bbox&&(t.bbox=e.bbox),t}if(null!=e)switch(e.type){case"Feature":return s(e);case"FeatureCollection":var l={type:"FeatureCollection",features:e.features.map(s)};return null!=e.bbox&&(l.bbox=e.bbox),l;default:return a(e)}return e}function li(e){var t=g(e);function r(r,n){var i=t?v(r*t/2)/t:r/2;if(!n)return[2*i,-e];var a=2*o(i*g(n)),l=1/v(n);return[g(a)*l,n+(1-s(a))*l-e]}return r.invert=function(r,n){if(i(n+=e)y&&--u>0);var p=r*(d=v(c)),m=v(i(n)0?w:-w)*(d+a*(p-l)/2+a*a*(p-2*d+l)/2)]}function fi(){return(0,n.Z)(di).scale(152.63)}function hi(e,t){var r=function(e){function t(t,r){var n=s(r),i=(e-1)/(e-n*s(t));return[i*n*g(t),i*g(r)]}return t.invert=function(t,r){var n=t*t+r*r,i=O(n),o=(e-O(1-n*(e+1)/(e-1)))/((e-1)/i+i/(e-1));return[a(t*o,i*O(1-o*o)),i?E(r*o/i):0]},t}(e);if(!t)return r;var n=s(t),i=g(t);function o(t,o){var a=r(t,o),s=a[1],l=s*i/(e-1)+n;return[a[0]*n/l,s/l]}return o.invert=function(t,o){var a=(e-1)/(e-1-o*i);return r.invert(a*t,a*o*n)},o}function pi(){var e=2,t=0,r=(0,n.r)(hi),i=r(e,t);return i.distance=function(n){return arguments.length?r(e=+n,t):e},i.tilt=function(n){return arguments.length?r(e,t=n*A):t*C},i.scale(432.147).clipAngle(I(1/e)*C-1e-6)}ui.forEach((function(e){e[1]*=1.0144})),di.invert=function(e,t){var r=t/w,n=90*r,o=f(18,i(n/5)),a=d(0,c(o));do{var s=ui[a][1],l=ui[a+1][1],u=ui[f(19,a+2)][1],h=u-s,p=u-2*l+s,m=2*(i(r)-l)/h,g=p/h,v=m*(1-g*m*(1-2*g*m));if(v>=0||1===a){n=(t>=0?5:-5)*(v+o);var y,b=50;do{v=(o=f(18,i(n)/5))-(a=c(o)),s=ui[a][1],l=ui[a+1][1],u=ui[f(19,a+2)][1],n-=(y=(t>=0?w:-w)*(l+v*(u-s)/2+v*v*(u-2*l+s)/2)-t)*C}while(i(y)>x&&--b>0);break}}while(--a>=0);var _=ui[a][0],k=ui[a+1][0],S=ui[f(19,a+2)][0];return[e/(k+v*(S-_)/2+v*v*(S-2*k+_)/2),n*A]};var mi=1e-4,gi=1e4,vi=-180,yi=vi+mi,xi=180,bi=xi-mi,wi=-90,_i=wi+mi,ki=90,Si=ki-mi;function Ti(e){return e.length>0}function Mi(e){return e===wi||e===ki?[0,e]:[vi,(t=e,Math.floor(t*gi)/gi)];var t}function Ci(e){var t=e[0],r=e[1],n=!1;return t<=yi?(t=vi,n=!0):t>=bi&&(t=xi,n=!0),r<=_i?(r=wi,n=!0):r>=Si&&(r=ki,n=!0),n?[t,r]:e}function Ai(e){return e.map(Ci)}function Ei(e,t,r){for(var n=0,i=e.length;n=bi||u<=_i||u>=Si){o[a]=Ci(l);for(var d=a+1;dyi&&h_i&&p=s)break;r.push({index:-1,polygon:t,ring:o=o.slice(d-1)}),o[0]=Mi(o[0][1]),a=-1,s=o.length}}}}function Ii(e){var t,r,n,i,o,a,s=e.length,l={},c={};for(t=0;t