text: !function(n){var r={};function t(e){if(r[e])return r[e].exports;var u=r[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,t),u.l=!0,u.exports}t.m=n,t.c=r,t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:e})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,r){if(1&r&&(n=t(n)),8&r)return n;if(4&r&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&r&&"string"!=typeof n)for(var u in n)t.d(e,u,function(r){return n[r]}.bind(null,u));return e},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},t.p="/dist",t(t.s=0)}([function(n,r,t){"use strict";t.r(r);var e={};t.r(e),t.d(e,"geoAiry",function(){return Me}),t.d(e,"geoAiryRaw",function(){return ye}),t.d(e,"geoAitoff",function(){return Ee}),t.d(e,"geoAitoffRaw",function(){return we}),t.d(e,"geoArmadillo",function(){return Pe}),t.d(e,"geoArmadilloRaw",function(){return Se}),t.d(e,"geoAugust",function(){return Re}),t.d(e,"geoAugustRaw",function(){return Ae}),t.d(e,"geoBaker",function(){return Fe}),t.d(e,"geoBakerRaw",function(){return ke}),t.d(e,"geoBerghaus",function(){return ze}),t.d(e,"geoBerghausRaw",function(){return Ce}),t.d(e,"geoBertin1953",function(){return We}),t.d(e,"geoBertin1953Raw",function(){return Ie}),t.d(e,"geoBoggs",function(){return Xe}),t.d(e,"geoBoggsRaw",function(){return Ue}),t.d(e,"geoBonne",function(){return Ke}),t.d(e,"geoBonneRaw",function(){return $e}),t.d(e,"geoBottomley",function(){return qe}),t.d(e,"geoBottomleyRaw",function(){return xe}),t.d(e,"geoBromley",function(){return me}),t.d(e,"geoBromleyRaw",function(){return be}),t.d(e,"geoChamberlin",function(){return ou}),t.d(e,"geoChamberlinRaw",function(){return tu}),t.d(e,"geoChamberlinAfrica",function(){return uu}),t.d(e,"geoCollignon",function(){return cu}),t.d(e,"geoCollignonRaw",function(){return iu}),t.d(e,"geoCraig",function(){return au}),t.d(e,"geoCraigRaw",function(){return fu}),t.d(e,"geoCraster",function(){return gu}),t.d(e,"geoCrasterRaw",function(){return vu}),t.d(e,"geoCylindricalEqualArea",function(){return pu}),t.d(e,"geoCylindricalEqualAreaRaw",function(){return hu}),t.d(e,"geoCylindricalStereographic",function(){return su}),t.d(e,"geoCylindricalStereographicRaw",function(){return du}),t.d(e,"geoEckert1",function(){return Mu}),t.d(e,"geoEckert1Raw",function(){return yu}),t.d(e,"geoEckert2",function(){return Eu}),t.d(e,"geoEckert2Raw",function(){return wu}),t.d(e,"geoEckert3",function(){return Pu}),t.d(e,"geoEckert3Raw",function(){return Su}),t.d(e,"geoEckert4",function(){return Ru}),t.d(e,"geoEckert4Raw",function(){return Au}),t.d(e,"geoEckert5",function(){return Nu}),t.d(e,"geoEckert5Raw",function(){return Gu}),t.d(e,"geoEckert6",function(){return Fu}),t.d(e,"geoEckert6Raw",function(){return ku}),t.d(e,"geoEisenlohr",function(){return Du}),t.d(e,"geoEisenlohrRaw",function(){return zu}),t.d(e,"geoFahey",function(){return Iu}),t.d(e,"geoFaheyRaw",function(){return Ou}),t.d(e,"geoFoucaut",function(){return Hu}),t.d(e,"geoFoucautRaw",function(){return Wu}),t.d(e,"geoFoucautSinusoidal",function(){return Bu}),t.d(e,"geoFoucautSinusoidalRaw",function(){return ju}),t.d(e,"geoGilbert",function(){return Uu}),t.d(e,"geoGingery",function(){return Ju}),t.d(e,"geoGingeryRaw",function(){return Xu}),t.d(e,"geoGinzburg4",function(){return xu}),t.d(e,"geoGinzburg4Raw",function(){return Ku}),t.d(e,"geoGinzburg5",function(){return bu}),t.d(e,"geoGinzburg5Raw",function(){return qu}),t.d(e,"geoGinzburg6",function(){return _u}),t.d(e,"geoGinzburg6Raw",function(){return mu}),t.d(e,"geoGinzburg8",function(){return ro}),t.d(e,"geoGinzburg8Raw",function(){return no}),t.d(e,"geoGinzburg9",function(){return eo}),t.d(e,"geoGinzburg9Raw",function(){return to}),t.d(e,"geoGringorten",function(){return io}),t.d(e,"geoGringortenRaw",function(){return oo}),t.d(e,"geoGuyou",function(){return lo}),t.d(e,"geoGuyouRaw",function(){return ao}),t.d(e,"geoHammer",function(){return Oe}),t.d(e,"geoHammerRaw",function(){return De}),t.d(e,"geoHammerRetroazimuthal",function(){return ho}),t.d(e,"geoHammerRetroazimuthalRaw",function(){return vo}),t.d(e,"geoHealpix",function(){return So}),t.d(e,"geoHealpixRaw",function(){return yo}),t.d(e,"geoHill",function(){return Ao}),t.d(e,"geoHillRaw",function(){return Po}),t.d(e,"geoHomolosine",function(){return Co}),t.d(e,"geoHomolosineRaw",function(){return Fo}),t.d(e,"geoHufnagel",function(){return Do}),t.d(e,"geoHufnagelRaw",function(){return zo}),t.d(e,"geoHyperelliptical",function(){return Io}),t.d(e,"geoHyperellipticalRaw",function(){return Oo}),t.d(e,"geoInterrupt",function(){return To}),t.d(e,"geoInterruptedBoggs",function(){return Bo}),t.d(e,"geoInterruptedHomolosine",function(){return Vo}),t.d(e,"geoInterruptedMollweide",function(){return Xo}),t.d(e,"geoInterruptedMollweideHemispheres",function(){return Zo}),t.d(e,"geoInterruptedSinuMollweide",function(){return $o}),t.d(e,"geoInterruptedSinusoidal",function(){return xo}),t.d(e,"geoKavrayskiy7",function(){return bo}),t.d(e,"geoKavrayskiy7Raw",function(){return qo}),t.d(e,"geoLagrange",function(){return _o}),t.d(e,"geoLagrangeRaw",function(){return mo}),t.d(e,"geoLarrivee",function(){return ti}),t.d(e,"geoLarriveeRaw",function(){return ri}),t.d(e,"geoLaskowski",function(){return ui}),t.d(e,"geoLaskowskiRaw",function(){return ei}),t.d(e,"geoLittrow",function(){return ii}),t.d(e,"geoLittrowRaw",function(){return oi}),t.d(e,"geoLoximuthal",function(){return fi}),t.d(e,"geoLoximuthalRaw",function(){return ci}),t.d(e,"geoMiller",function(){return li}),t.d(e,"geoMillerRaw",function(){return ai}),t.d(e,"geoModifiedStereographic",function(){return Pi}),t.d(e,"geoModifiedStereographicRaw",function(){return vi}),t.d(e,"geoModifiedStereographicAlaska",function(){return yi}),t.d(e,"geoModifiedStereographicGs48",function(){return Mi}),t.d(e,"geoModifiedStereographicGs50",function(){return wi}),t.d(e,"geoModifiedStereographicMiller",function(){return Ei}),t.d(e,"geoModifiedStereographicLee",function(){return Si}),t.d(e,"geoMollweide",function(){return Be}),t.d(e,"geoMollweideRaw",function(){return je}),t.d(e,"geoMtFlatPolarParabolic",function(){return Ni}),t.d(e,"geoMtFlatPolarParabolicRaw",function(){return Gi}),t.d(e,"geoMtFlatPolarQuartic",function(){return Fi}),t.d(e,"geoMtFlatPolarQuarticRaw",function(){return ki}),t.d(e,"geoMtFlatPolarSinusoidal",function(){return zi}),t.d(e,"geoMtFlatPolarSinusoidalRaw",function(){return Ci}),t.d(e,"geoNaturalEarth",function(){return Ht}),t.d(e,"geoNaturalEarthRaw",function(){return Wt}),t.d(e,"geoNaturalEarth2",function(){return Li}),t.d(e,"geoNaturalEarth2Raw",function(){return Di}),t.d(e,"geoNellHammer",function(){return Ii}),t.d(e,"geoNellHammerRaw",function(){return Oi}),t.d(e,"geoNicolosi",function(){return Hi}),t.d(e,"geoNicolosiRaw",function(){return Wi}),t.d(e,"geoPatterson",function(){return Ji}),t.d(e,"geoPattersonRaw",function(){return Zi}),t.d(e,"geoPolyconic",function(){return Ki}),t.d(e,"geoPolyconicRaw",function(){return $i}),t.d(e,"geoPolyhedral",function(){return _i}),t.d(e,"geoPolyhedralButterfly",function(){return uc}),t.d(e,"geoPolyhedralCollignon",function(){return cc}),t.d(e,"geoPolyhedralWaterman",function(){return fc}),t.d(e,"geoProject",function(){return hc}),t.d(e,"geoGringortenQuincuncial",function(){return Ac}),t.d(e,"geoPeirceQuincuncial",function(){return Rc}),t.d(e,"geoPierceQuincuncial",function(){return Rc}),t.d(e,"geoQuantize",function(){return Gc}),t.d(e,"geoQuincuncial",function(){return Pc}),t.d(e,"geoRectangularPolyconic",function(){return kc}),t.d(e,"geoRectangularPolyconicRaw",function(){return Nc}),t.d(e,"geoRobinson",function(){return zc}),t.d(e,"geoRobinsonRaw",function(){return Cc}),t.d(e,"geoSatellite",function(){return Lc}),t.d(e,"geoSatelliteRaw",function(){return Dc}),t.d(e,"geoSinuMollweide",function(){return ko}),t.d(e,"geoSinuMollweideRaw",function(){return No}),t.d(e,"geoSinusoidal",function(){return Je}),t.d(e,"geoSinusoidalRaw",function(){return Ze}),t.d(e,"geoStitch",function(){return qc}),t.d(e,"geoTimes",function(){return mc}),t.d(e,"geoTimesRaw",function(){return bc}),t.d(e,"geoTwoPointAzimuthal",function(){return tf}),t.d(e,"geoTwoPointAzimuthalRaw",function(){return nf}),t.d(e,"geoTwoPointAzimuthalUsa",function(){return rf}),t.d(e,"geoTwoPointEquidistant",function(){return of}),t.d(e,"geoTwoPointEquidistantRaw",function(){return ef}),t.d(e,"geoTwoPointEquidistantUsa",function(){return uf}),t.d(e,"geoVanDerGrinten",function(){return ff}),t.d(e,"geoVanDerGrintenRaw",function(){return cf}),t.d(e,"geoVanDerGrinten2",function(){return lf}),t.d(e,"geoVanDerGrinten2Raw",function(){return af}),t.d(e,"geoVanDerGrinten3",function(){return gf}),t.d(e,"geoVanDerGrinten3Raw",function(){return vf}),t.d(e,"geoVanDerGrinten4",function(){return pf}),t.d(e,"geoVanDerGrinten4Raw",function(){return hf}),t.d(e,"geoWagner",function(){return sf}),t.d(e,"geoWagnerRaw",function(){return df}),t.d(e,"geoWagner4",function(){return Ef}),t.d(e,"geoWagner4Raw",function(){return wf}),t.d(e,"geoWagner6",function(){return Pf}),t.d(e,"geoWagner6Raw",function(){return Sf}),t.d(e,"geoWagner7",function(){return Rf}),t.d(e,"geoWagner7Raw",function(){return Af}),t.d(e,"geoWiechel",function(){return Nf}),t.d(e,"geoWiechelRaw",function(){return Gf}),t.d(e,"geoWinkel3",function(){return Ff}),t.d(e,"geoWinkel3Raw",function(){return kf});var u={};t.r(u),t.d(u,"geoClipPolygon",function(){return Aa}),t.d(u,"geoPolyhedral",function(){return La}),t.d(u,"geoPolyhedralButterfly",function(){return Ta}),t.d(u,"geoPolyhedralCollignon",function(){return Qa}),t.d(u,"geoPolyhedralWaterman",function(){return Va}),t.d(u,"geoPolyhedralVoronoi",function(){return Za}),t.d(u,"geoDodecahedral",function(){return Ja}),t.d(u,"geoCox",function(){return el}),t.d(u,"geoCoxRaw",function(){return tl}),t.d(u,"geoTetrahedralLee",function(){return fl}),t.d(u,"geoLeeRaw",function(){return ul}),t.d(u,"geoGrayFullerRaw",function(){return al}),t.d(u,"geoAirocean",function(){return ll}),t.d(u,"geoIcosahedral",function(){return vl}),t.d(u,"geoCubic",function(){return dl}),t.d(u,"geoCahillKeyes",function(){return sl}),t.d(u,"geoCahillKeyesRaw",function(){return yl});var o=function(){return new i};function i(){this.reset()}i.prototype={constructor:i,reset:function(){this.s=this.t=0},add:function(n){f(c,n,this.t),f(this,c.s,this.s),this.s?this.t+=c.t:this.s=c.t},valueOf:function(){return this.s}};var c=new i;function f(n,r,t){var e=n.s=r+t,u=e-r,o=e-u;n.t=r-o+(t-u)}var a=1e-6,l=Math.PI,v=l/2,g=l/4,h=2*l,p=180/l,d=l/180,s=Math.abs,y=Math.atan,M=Math.atan2,w=Math.cos,E=(Math.ceil,Math.exp),S=(Math.floor,Math.log),P=(Math.pow,Math.sin),A=(Math.sign,Math.sqrt),R=Math.tan;function G(n){return n>1?0:n<-1?l:Math.acos(n)}function N(n){return n>1?v:n<-1?-v:Math.asin(n)}function k(n){return(n=P(n/2))*n}function F(){}function C(n,r){n&&D.hasOwnProperty(n.type)&&D[n.type](n,r)}var z={Feature:function(n,r){C(n.geometry,r)},FeatureCollection:function(n,r){for(var t=n.features,e=-1,u=t.length;++e<u;)C(t[e].geometry,r)}},D={Sphere:function(n,r){r.sphere()},Point:function(n,r){n=n.coordinates,r.point(n[0],n[1],n[2])},MultiPoint:function(n,r){for(var t=n.coordinates,e=-1,u=t.length;++e<u;)n=t[e],r.point(n[0],n[1],n[2])},LineString:function(n,r){L(n.coordinates,r,0)},MultiLineString:function(n,r){for(var t=n.coordinates,e=-1,u=t.length;++e<u;)L(t[e],r,0)},Polygon:function(n,r){O(n.coordinates,r)},MultiPolygon:function(n,r){for(var t=n.coordinates,e=-1,u=t.length;++e<u;)O(t[e],r)},GeometryCollection:function(n,r){for(var t=n.geometries,e=-1,u=t.length;++e<u;)C(t[e],r)}};function L(n,r,t){var e,u=-1,o=n.length-t;for(r.lineStart();++u<o;)e=n[u],r.point(e[0],e[1],e[2]);r.lineEnd()}function O(n,r){var t=-1,e=n.length;for(r.polygonStart();++t<e;)L(n[t],r,1);r.polygonEnd()}var I,W,H,T,j,B=function(n,r){n&&z.hasOwnProperty(n.type)?z[n.type](n,r):C(n,r)},Q=o(),V=o(),U={point:F,lineStart:F,lineEnd:F,polygonStart:function(){Q.reset(),U.lineStart=X,U.lineEnd=Y},polygonEnd:function(){var n=+Q;V.add(n<0?h+n:n),this.lineStart=this.lineEnd=this.point=F},sphere:function(){V.add(h)}};function X(){U.point=Z}function Y(){J(I,W)}function Z(n,r){U.point=J,I=n,W=r,H=n*=d,T=w(r=(r*=d)/2+g),j=P(r)}function J(n,r){var t=(n*=d)-H,e=t>=0?1:-1,u=e*t,o=w(r=(r*=d)/2+g),i=P(r),c=j*i,f=T*o+c*w(u),a=c*e*P(u);Q.add(M(a,f)),H=n,T=o,j=i}function $(n){return[M(n[1],n[0]),N(n[2])]}function K(n){var r=n[0],t=n[1],e=w(t);return[e*w(r),e*P(r),P(t)]}function x(n,r){return n[0]*r[0]+n[1]*r[1]+n[2]*r[2]}function q(n,r){return[n[1]*r[2]-n[2]*r[1],n[2]*r[0]-n[0]*r[2],n[0]*r[1]-n[1]*r[0]]}function b(n,r){n[0]+=r[0],n[1]+=r[1],n[2]+=r[2]}function m(n,r){return[n[0]*r,n[1]*r,n[2]*r]}function _(n){var r=A(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=r,n[1]/=r,n[2]/=r}var nn,rn,tn,en,un,on,cn,fn,an,ln,vn=o(),gn={point:hn,lineStart:dn,lineEnd:sn,polygonStart:function(){gn.point=yn,gn.lineStart=Mn,gn.lineEnd=wn,vn.reset(),U.polygonStart()},polygonEnd:function(){U.polygonEnd(),gn.point=hn,gn.lineStart=dn,gn.lineEnd=sn,Q<0?(nn=-(tn=180),rn=-(en=90)):vn>a?en=90:vn<-a&&(rn=-90),ln[0]=nn,ln[1]=tn}};function hn(n,r){an.push(ln=[nn=n,tn=n]),r<rn&&(rn=r),r>en&&(en=r)}function pn(n,r){var t=K([n*d,r*d]);if(fn){var e=q(fn,t),u=q([e[1],-e[0],0],e);_(u),u=$(u);var o,i=n-un,c=i>0?1:-1,f=u[0]*p*c,a=s(i)>180;a^(c*un<f&&f<c*n)?(o=u[1]*p)>en&&(en=o):a^(c*un<(f=(f+360)%360-180)&&f<c*n)?(o=-u[1]*p)<rn&&(rn=o):(r<rn&&(rn=r),r>en&&(en=r)),a?n<un?En(nn,n)>En(nn,tn)&&(tn=n):En(n,tn)>En(nn,tn)&&(nn=n):tn>=nn?(n<nn&&(nn=n),n>tn&&(tn=n)):n>un?En(nn,n)>En(nn,tn)&&(tn=n):En(n,tn)>En(nn,tn)&&(nn=n)}else an.push(ln=[nn=n,tn=n]);r<rn&&(rn=r),r>en&&(en=r),fn=t,un=n}function dn(){gn.point=pn}function sn(){ln[0]=nn,ln[1]=tn,gn.point=hn,fn=null}function yn(n,r){if(fn){var t=n-un;vn.add(s(t)>180?t+(t>0?360:-360):t)}else on=n,cn=r;U.point(n,r),pn(n,r)}function Mn(){U.lineStart()}function wn(){yn(on,cn),U.lineEnd(),s(vn)>a&&(nn=-(tn=180)),ln[0]=nn,ln[1]=tn,fn=null}function En(n,r){return(r-=n)<0?r+360:r}function Sn(n,r){return n[0]-r[0]}function Pn(n,r){return n[0]<=n[1]?n[0]<=r&&r<=n[1]:r<n[0]||n[1]<r}var An,Rn,Gn,Nn,kn,Fn,Cn,zn,Dn,Ln,On,In,Wn,Hn,Tn,jn,Bn=function(n){var r,t,e,u,o,i,c;if(en=tn=-(nn=rn=1/0),an=[],B(n,gn),t=an.length){for(an.sort(Sn),r=1,o=[e=an[0]];r<t;++r)Pn(e,(u=an[r])[0])||Pn(e,u[1])?(En(e[0],u[1])>En(e[0],e[1])&&(e[1]=u[1]),En(u[0],e[1])>En(e[0],e[1])&&(e[0]=u[0])):o.push(e=u);for(i=-1/0,r=0,e=o[t=o.length-1];r<=t;e=u,++r)u=o[r],(c=En(e[1],u[0]))>i&&(i=c,nn=u[0],tn=e[1])}return an=ln=null,nn===1/0||rn===1/0?[[NaN,NaN],[NaN,NaN]]:[[nn,rn],[tn,en]]},Qn={sphere:F,point:Vn,lineStart:Xn,lineEnd:Jn,polygonStart:function(){Qn.lineStart=$n,Qn.lineEnd=Kn},polygonEnd:function(){Qn.lineStart=Xn,Qn.lineEnd=Jn}};function Vn(n,r){n*=d;var t=w(r*=d);Un(t*w(n),t*P(n),P(r))}function Un(n,r,t){Gn+=(n-Gn)/++An,Nn+=(r-Nn)/An,kn+=(t-kn)/An}function Xn(){Qn.point=Yn}function Yn(n,r){n*=d;var t=w(r*=d);Hn=t*w(n),Tn=t*P(n),jn=P(r),Qn.point=Zn,Un(Hn,Tn,jn)}function Zn(n,r){n*=d;var t=w(r*=d),e=t*w(n),u=t*P(n),o=P(r),i=M(A((i=Tn*o-jn*u)*i+(i=jn*e-Hn*o)*i+(i=Hn*u-Tn*e)*i),Hn*e+Tn*u+jn*o);Rn+=i,Fn+=i*(Hn+(Hn=e)),Cn+=i*(Tn+(Tn=u)),zn+=i*(jn+(jn=o)),Un(Hn,Tn,jn)}function Jn(){Qn.point=Vn}function $n(){Qn.point=xn}function Kn(){qn(In,Wn),Qn.point=Vn}function xn(n,r){In=n,Wn=r,n*=d,r*=d,Qn.point=qn;var t=w(r);Hn=t*w(n),Tn=t*P(n),jn=P(r),Un(Hn,Tn,jn)}function qn(n,r){n*=d;var t=w(r*=d),e=t*w(n),u=t*P(n),o=P(r),i=Tn*o-jn*u,c=jn*e-Hn*o,f=Hn*u-Tn*e,a=A(i*i+c*c+f*f),l=N(a),v=a&&-l/a;Dn+=v*i,Ln+=v*c,On+=v*f,Rn+=l,Fn+=l*(Hn+(Hn=e)),Cn+=l*(Tn+(Tn=u)),zn+=l*(jn+(jn=o)),Un(Hn,Tn,jn)}var bn=function(n){An=Rn=Gn=Nn=kn=Fn=Cn=zn=Dn=Ln=On=0,B(n,Qn);var r=Dn,t=Ln,e=On,u=r*r+t*t+e*e;return u<1e-12&&(r=Fn,t=Cn,e=zn,Rn<a&&(r=Gn,t=Nn,e=kn),(u=r*r+t*t+e*e)<1e-12)?[NaN,NaN]:[M(t,r)*p,N(e/A(u))*p]},mn=function(n){return function(){return n}},_n=function(n,r){function t(t,e){return t=n(t,e),r(t[0],t[1])}return n.invert&&r.invert&&(t.invert=function(t,e){return(t=r.invert(t,e))&&n.invert(t[0],t[1])}),t};function nr(n,r){return[s(n)>l?n+Math.round(-n/h)*h:n,r]}function rr(n,r,t){return(n%=h)?r||t?_n(er(n),ur(r,t)):er(n):r||t?ur(r,t):nr}function tr(n){return function(r,t){return[(r+=n)>l?r-h:r<-l?r+h:r,t]}}function er(n){var r=tr(n);return r.invert=tr(-n),r}function ur(n,r){var t=w(n),e=P(n),u=w(r),o=P(r);function i(n,r){var i=w(r),c=w(n)*i,f=P(n)*i,a=P(r),l=a*t+c*e;return[M(f*u-l*o,c*t-a*e),N(l*u+f*o)]}return i.invert=function(n,r){var i=w(r),c=w(n)*i,f=P(n)*i,a=P(r),l=a*u-f*o;return[M(f*u+a*o,c*t+l*e),N(l*t-c*e)]},i}nr.invert=nr;var or=function(n){function r(r){return(r=n(r[0]*d,r[1]*d))[0]*=p,r[1]*=p,r}return n=rr(n[0]*d,n[1]*d,n.length>2?n[2]*d:0),r.invert=function(r){return(r=n.invert(r[0]*d,r[1]*d))[0]*=p,r[1]*=p,r},r};function ir(n,r,t,e,u,o){if(t){var i=w(r),c=P(r),f=e*t;null==u?(u=r+e*h,o=r-f/2):(u=cr(i,u),o=cr(i,o),(e>0?u<o:u>o)&&(u+=e*h));for(var a,l=u;e>0?l>o:l<o;l-=f)a=$([i,-c*w(l),-c*P(l)]),n.point(a[0],a[1])}}function cr(n,r){(r=K(r))[0]-=n,_(r);var t=G(-r[1]);return((-r[2]<0?-t:t)+h-a)%h}var fr=function(){var n,r=[];return{point:function(r,t){n.push([r,t])},lineStart:function(){r.push(n=[])},lineEnd:F,rejoin:function(){r.length>1&&r.push(r.pop().concat(r.shift()))},result:function(){var t=r;return r=[],n=null,t}}},ar=function(n,r){return s(n[0]-r[0])<a&&s(n[1]-r[1])<a};function lr(n,r,t,e){this.x=n,this.z=r,this.o=t,this.e=e,this.v=!1,this.n=this.p=null}var vr=function(n,r,t,e,u){var o,i,c=[],f=[];if(n.forEach(function(n){if(!((r=n.length-1)<=0)){var r,t,e=n[0],i=n[r];if(ar(e,i)){for(u.lineStart(),o=0;o<r;++o)u.point((e=n[o])[0],e[1]);u.lineEnd()}else c.push(t=new lr(e,n,null,!0)),f.push(t.o=new lr(e,null,t,!1)),c.push(t=new lr(i,n,null,!1)),f.push(t.o=new lr(i,null,t,!0))}}),c.length){for(f.sort(r),gr(c),gr(f),o=0,i=f.length;o<i;++o)f[o].e=t=!t;for(var a,l,v=c[0];;){for(var g=v,h=!0;g.v;)if((g=g.n)===v)return;a=g.z,u.lineStart();do{if(g.v=g.o.v=!0,g.e){if(h)for(o=0,i=a.length;o<i;++o)u.point((l=a[o])[0],l[1]);else e(g.x,g.n.x,1,u);g=g.n}else{if(h)for(a=g.p.z,o=a.length-1;o>=0;--o)u.point((l=a[o])[0],l[1]);else e(g.x,g.p.x,-1,u);g=g.p}a=(g=g.o).z,h=!h}while(!g.v);u.lineEnd()}}};function gr(n){if(r=n.length){for(var r,t,e=0,u=n[0];++e<r;)u.n=t=n[e],t.p=u,u=t;u.n=t=n[0],t.p=u}}var hr=o(),pr=function(n,r){var t=r[0],e=r[1],u=P(e),o=[P(t),-w(t),0],i=0,c=0;hr.reset(),1===u?e=v+a:-1===u&&(e=-v-a);for(var f=0,p=n.length;f<p;++f)if(s=(d=n[f]).length)for(var d,s,y=d[s-1],E=y[0],S=y[1]/2+g,A=P(S),R=w(S),G=0;G<s;++G,E=F,A=z,R=D,y=k){var k=d[G],F=k[0],C=k[1]/2+g,z=P(C),D=w(C),L=F-E,O=L>=0?1:-1,I=O*L,W=I>l,H=A*z;if(hr.add(M(H*O*P(I),R*D+H*w(I))),i+=W?L+O*h:L,W^E>=t^F>=t){var T=q(K(y),K(k));_(T);var j=q(o,T);_(j);var B=(W^L>=0?-1:1)*N(j[2]);(e>B||e===B&&(T[0]||T[1]))&&(c+=W^L>=0?1:-1)}}return(i<-a||i<a&&hr<-a)^1&c},dr=function(n,r){return n<r?-1:n>r?1:n>=r?0:NaN};var sr,yr;1===(sr=dr).length&&(yr=sr,sr=function(n,r){return dr(yr(n),r)});var Mr=Array.prototype,wr=(Mr.slice,Mr.map,function(n,r,t){n=+n,r=+r,t=(u=arguments.length)<2?(r=n,n=0,1):u<3?1:+t;for(var e=-1,u=0|Math.max(0,Math.ceil((r-n)/t)),o=new Array(u);++e<u;)o[e]=n+e*t;return o});Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);var Er=function(n){for(var r,t,e,u=n.length,o=-1,i=0;++o<u;)i+=n[o].length;for(t=new Array(i);--u>=0;)for(r=(e=n[u]).length;--r>=0;)t[--i]=e[r];return t},Sr=function(n,r){if(t=n.length){var t,e,u=0,o=0,i=n[o];for(null==r&&(r=dr);++u<t;)(r(e=n[u],i)<0||0!==r(i,i))&&(i=e,o=u);return 0===r(i,i)?o:void 0}};var Pr=function(n,r,t,e){return function(u){var o,i,c,f=r(u),a=fr(),l=r(a),v=!1,g={point:h,lineStart:d,lineEnd:s,polygonStart:function(){g.point=y,g.lineStart=M,g.lineEnd=w,i=[],o=[]},polygonEnd:function(){g.point=h,g.lineStart=d,g.lineEnd=s,i=Er(i);var n=pr(o,e);i.length?(v||(u.polygonStart(),v=!0),vr(i,Rr,n,t,u)):n&&(v||(u.polygonStart(),v=!0),u.lineStart(),t(null,null,1,u),u.lineEnd()),v&&(u.polygonEnd(),v=!1),i=o=null},sphere:function(){u.polygonStart(),u.lineStart(),t(null,null,1,u),u.lineEnd(),u.polygonEnd()}};function h(r,t){n(r,t)&&u.point(r,t)}function p(n,r){f.point(n,r)}function d(){g.point=p,f.lineStart()}function s(){g.point=h,f.lineEnd()}function y(n,r){c.push([n,r]),l.point(n,r)}function M(){l.lineStart(),c=[]}function w(){y(c[0][0],c[0][1]),l.lineEnd();var n,r,t,e,f=l.clean(),g=a.result(),h=g.length;if(c.pop(),o.push(c),c=null,h)if(1&f){if((r=(t=g[0]).length-1)>0){for(v||(u.polygonStart(),v=!0),u.lineStart(),n=0;n<r;++n)u.point((e=t[n])[0],e[1]);u.lineEnd()}}else h>1&&2&f&&g.push(g.pop().concat(g.shift())),i.push(g.filter(Ar))}return g}};function Ar(n){return n.length>1}function Rr(n,r){return((n=n.x)[0]<0?n[1]-v-a:v-n[1])-((r=r.x)[0]<0?r[1]-v-a:v-r[1])}var Gr=Pr(function(){return!0},function(n){var r,t=NaN,e=NaN,u=NaN;return{lineStart:function(){n.lineStart(),r=1},point:function(o,i){var c=o>0?l:-l,f=s(o-t);s(f-l)<a?(n.point(t,e=(e+i)/2>0?v:-v),n.point(u,e),n.lineEnd(),n.lineStart(),n.point(c,e),n.point(o,e),r=0):u!==c&&f>=l&&(s(t-u)<a&&(t-=u*a),s(o-c)<a&&(o-=c*a),e=function(n,r,t,e){var u,o,i=P(n-t);return s(i)>a?y((P(r)*(o=w(e))*P(t)-P(e)*(u=w(r))*P(n))/(u*o*i)):(r+e)/2}(t,e,o,i),n.point(u,e),n.lineEnd(),n.lineStart(),n.point(c,e),r=0),n.point(t=o,e=i),u=c},lineEnd:function(){n.lineEnd(),t=e=NaN},clean:function(){return 2-r}}},function(n,r,t,e){var u;if(null==n)u=t*v,e.point(-l,u),e.point(0,u),e.point(l,u),e.point(l,0),e.point(l,-u),e.point(0,-u),e.point(-l,-u),e.point(-l,0),e.point(-l,u);else if(s(n[0]-r[0])>a){var o=n[0]<r[0]?l:-l;u=t*o/2,e.point(-o,u),e.point(0,u),e.point(o,u)}else e.point(r[0],r[1])},[-l,-v]);var Nr=function(n){var r=w(n),t=6*d,e=r>0,u=s(r)>a;function o(n,t){return w(n)*w(t)>r}function i(n,t,e){var u=[1,0,0],o=q(K(n),K(t)),i=x(o,o),c=o[0],f=i-c*c;if(!f)return!e&&n;var v=r*i/f,g=-r*c/f,h=q(u,o),p=m(u,v);b(p,m(o,g));var d=h,y=x(p,d),M=x(d,d),w=y*y-M*(x(p,p)-1);if(!(w<0)){var E=A(w),S=m(d,(-y-E)/M);if(b(S,p),S=$(S),!e)return S;var P,R=n[0],G=t[0],N=n[1],k=t[1];G<R&&(P=R,R=G,G=P);var F=G-R,C=s(F-l)<a;if(!C&&k<N&&(P=N,N=k,k=P),C||F<a?C?N+k>0^S[1]<(s(S[0]-R)<a?N:k):N<=S[1]&&S[1]<=k:F>l^(R<=S[0]&&S[0]<=G)){var z=m(d,(-y+E)/M);return b(z,p),[S,$(z)]}}}function c(r,t){var u=e?n:l-n,o=0;return r<-u?o|=1:r>u&&(o|=2),t<-u?o|=4:t>u&&(o|=8),o}return Pr(o,function(n){var r,t,f,v,g;return{lineStart:function(){v=f=!1,g=1},point:function(h,p){var d,s=[h,p],y=o(h,p),M=e?y?0:c(h,p):y?c(h+(h<0?l:-l),p):0;if(!r&&(v=f=y)&&n.lineStart(),y!==f&&(!(d=i(r,s))||ar(r,d)||ar(s,d))&&(s[0]+=a,s[1]+=a,y=o(s[0],s[1])),y!==f)g=0,y?(n.lineStart(),d=i(s,r),n.point(d[0],d[1])):(d=i(r,s),n.point(d[0],d[1]),n.lineEnd()),r=d;else if(u&&r&&e^y){var w;M&t||!(w=i(s,r,!0))||(g=0,e?(n.lineStart(),n.point(w[0][0],w[0][1]),n.point(w[1][0],w[1][1]),n.lineEnd()):(n.point(w[1][0],w[1][1]),n.lineEnd(),n.lineStart(),n.point(w[0][0],w[0][1])))}!y||r&&ar(r,s)||n.point(s[0],s[1]),r=s,f=y,t=M},lineEnd:function(){f&&n.lineEnd(),r=null},clean:function(){return g|(v&&f)<<1}}},function(r,e,u,o){ir(o,n,t,u,r,e)},e?[0,-n]:[-l,n-l])},kr=function(n,r,t,e,u,o){var i,c=n[0],f=n[1],a=0,l=1,v=r[0]-c,g=r[1]-f;if(i=t-c,v||!(i>0)){if(i/=v,v<0){if(i<a)return;i<l&&(l=i)}else if(v>0){if(i>l)return;i>a&&(a=i)}if(i=u-c,v||!(i<0)){if(i/=v,v<0){if(i>l)return;i>a&&(a=i)}else if(v>0){if(i<a)return;i<l&&(l=i)}if(i=e-f,g||!(i>0)){if(i/=g,g<0){if(i<a)return;i<l&&(l=i)}else if(g>0){if(i>l)return;i>a&&(a=i)}if(i=o-f,g||!(i<0)){if(i/=g,g<0){if(i>l)return;i>a&&(a=i)}else if(g>0){if(i<a)return;i<l&&(l=i)}return a>0&&(n[0]=c+a*v,n[1]=f+a*g),l<1&&(r[0]=c+l*v,r[1]=f+l*g),!0}}}}},Fr=1e9,Cr=-Fr;function zr(n,r,t,e){function u(u,o){return n<=u&&u<=t&&r<=o&&o<=e}function o(u,o,c,a){var l=0,v=0;if(null==u||(l=i(u,c))!==(v=i(o,c))||f(u,o)<0^c>0)do{a.point(0===l||3===l?n:t,l>1?e:r)}while((l=(l+c+4)%4)!==v);else a.point(o[0],o[1])}function i(e,u){return s(e[0]-n)<a?u>0?0:3:s(e[0]-t)<a?u>0?2:1:s(e[1]-r)<a?u>0?1:0:u>0?3:2}function c(n,r){return f(n.x,r.x)}function f(n,r){var t=i(n,1),e=i(r,1);return t!==e?t-e:0===t?r[1]-n[1]:1===t?n[0]-r[0]:2===t?n[1]-r[1]:r[0]-n[0]}return function(i){var f,a,l,v,g,h,p,d,s,y,M,w=i,E=fr(),S={point:P,lineStart:function(){S.point=A,a&&a.push(l=[]);y=!0,s=!1,p=d=NaN},lineEnd:function(){f&&(A(v,g),h&&s&&E.rejoin(),f.push(E.result()));S.point=P,s&&w.lineEnd()},polygonStart:function(){w=E,f=[],a=[],M=!0},polygonEnd:function(){var r=function(){for(var r=0,t=0,u=a.length;t<u;++t)for(var o,i,c=a[t],f=1,l=c.length,v=c[0],g=v[0],h=v[1];f<l;++f)o=g,i=h,v=c[f],g=v[0],h=v[1],i<=e?h>e&&(g-o)*(e-i)>(h-i)*(n-o)&&++r:h<=e&&(g-o)*(e-i)<(h-i)*(n-o)&&--r;return r}(),t=M&&r,u=(f=Er(f)).length;(t||u)&&(i.polygonStart(),t&&(i.lineStart(),o(null,null,1,i),i.lineEnd()),u&&vr(f,c,r,o,i),i.polygonEnd());w=i,f=a=l=null}};function P(n,r){u(n,r)&&w.point(n,r)}function A(o,i){var c=u(o,i);if(a&&l.push([o,i]),y)v=o,g=i,h=c,y=!1,c&&(w.lineStart(),w.point(o,i));else if(c&&s)w.point(o,i);else{var f=[p=Math.max(Cr,Math.min(Fr,p)),d=Math.max(Cr,Math.min(Fr,d))],E=[o=Math.max(Cr,Math.min(Fr,o)),i=Math.max(Cr,Math.min(Fr,i))];kr(f,E,n,r,t,e)?(s||(w.lineStart(),w.point(f[0],f[1])),w.point(E[0],E[1]),c||w.lineEnd(),M=!1):c&&(w.lineStart(),w.point(o,i),M=!1)}p=o,d=i,s=c}return S}}var Dr,Lr,Or,Ir=o(),Wr={sphere:F,point:F,lineStart:function(){Wr.point=Tr,Wr.lineEnd=Hr},lineEnd:F,polygonStart:F,polygonEnd:F};function Hr(){Wr.point=Wr.lineEnd=F}function Tr(n,r){Dr=n*=d,Lr=P(r*=d),Or=w(r),Wr.point=jr}function jr(n,r){n*=d;var t=P(r*=d),e=w(r),u=s(n-Dr),o=w(u),i=e*P(u),c=Or*t-Lr*e*o,f=Lr*t+Or*e*o;Ir.add(M(A(i*i+c*c),f)),Dr=n,Lr=t,Or=e}var Br=[null,null],Qr={type:"LineString",coordinates:Br},Vr=function(n,r){return Br[0]=n,Br[1]=r,t=Qr,Ir.reset(),B(t,Wr),+Ir;var t},Ur={Feature:function(n,r){return Yr(n.geometry,r)},FeatureCollection:function(n,r){for(var t=n.features,e=-1,u=t.length;++e<u;)if(Yr(t[e].geometry,r))return!0;return!1}},Xr={Sphere:function(){return!0},Point:function(n,r){return Zr(n.coordinates,r)},MultiPoint:function(n,r){for(var t=n.coordinates,e=-1,u=t.length;++e<u;)if(Zr(t[e],r))return!0;return!1},LineString:function(n,r){return Jr(n.coordinates,r)},MultiLineString:function(n,r){for(var t=n.coordinates,e=-1,u=t.length;++e<u;)if(Jr(t[e],r))return!0;return!1},Polygon:function(n,r){return $r(n.coordinates,r)},MultiPolygon:function(n,r){for(var t=n.coordinates,e=-1,u=t.length;++e<u;)if($r(t[e],r))return!0;return!1},GeometryCollection:function(n,r){for(var t=n.geometries,e=-1,u=t.length;++e<u;)if(Yr(t[e],r))return!0;return!1}};function Yr(n,r){return!(!n||!Xr.hasOwnProperty(n.type))&&Xr[n.type](n,r)}function Zr(n,r){return 0===Vr(n,r)}function Jr(n,r){var t=Vr(n[0],n[1]);return Vr(n[0],r)+Vr(r,n[1])<=t+a}function $r(n,r){return!!pr(n.map(Kr),xr(r))}function Kr(n){return(n=n.map(xr)).pop(),n}function xr(n){return[n[0]*d,n[1]*d]}var qr=function(n,r){return(n&&Ur.hasOwnProperty(n.type)?Ur[n.type]:Yr)(n,r)};var br=function(n,r){var t=n[0]*d,e=n[1]*d,u=r[0]*d,o=r[1]*d,i=w(e),c=P(e),f=w(o),a=P(o),l=i*w(t),v=i*P(t),g=f*w(u),h=f*P(u),s=2*N(A(k(o-e)+i*f*k(u-t))),y=P(s),E=s?function(n){var r=P(n*=s)/y,t=P(s-n)/y,e=t*l+r*g,u=t*v+r*h,o=t*c+r*a;return[M(u,e)*p,M(o,A(e*e+u*u))*p]}:function(){return[t*p,e*p]};return E.distance=s,E},mr=function(n){return n};o(),o();var _r=1/0,nt=_r,rt=-_r,tt=rt;var et={point:function(n,r){n<_r&&(_r=n);n>rt&&(rt=n);r<nt&&(nt=r);r>tt&&(tt=r)},lineStart:F,lineEnd:F,polygonStart:F,polygonEnd:F,result:function(){var n=[[_r,nt],[rt,tt]];return rt=tt=-(nt=_r=1/0),n}};function ut(n){this._context=n}ut.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,r){switch(this._point){case 0:this._context.moveTo(n,r),this._point=1;break;case 1:this._context.lineTo(n,r);break;default:this._context.moveTo(n+this._radius,r),this._context.arc(n,r,this._radius,0,h)}},result:F};o();function ot(){this._string=[]}function it(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}ot.prototype={_radius:4.5,_circle:it(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,r){switch(this._point){case 0:this._string.push("M",n,",",r),this._point=1;break;case 1:this._string.push("L",n,",",r);break;default:null==this._circle&&(this._circle=it(this._radius)),this._string.push("M",n,",",r,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}};function ct(n){return function(r){var t=new ft;for(var e in n)t[e]=n[e];return t.stream=r,t}}function ft(){}function at(n,r,t){var e=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=e&&n.clipExtent(null),B(t,n.stream(et)),r(et.result()),null!=e&&n.clipExtent(e),n}function lt(n,r,t){return at(n,function(t){var e=r[1][0]-r[0][0],u=r[1][1]-r[0][1],o=Math.min(e/(t[1][0]-t[0][0]),u/(t[1][1]-t[0][1])),i=+r[0][0]+(e-o*(t[1][0]+t[0][0]))/2,c=+r[0][1]+(u-o*(t[1][1]+t[0][1]))/2;n.scale(150*o).translate([i,c])},t)}function vt(n,r,t){return lt(n,[[0,0],r],t)}function gt(n,r,t){return at(n,function(t){var e=+r,u=e/(t[1][0]-t[0][0]),o=(e-u*(t[1][0]+t[0][0]))/2,i=-u*t[0][1];n.scale(150*u).translate([o,i])},t)}function ht(n,r,t){return at(n,function(t){var e=+r,u=e/(t[1][1]-t[0][1]),o=-u*t[0][0],i=(e-u*(t[1][1]+t[0][1]))/2;n.scale(150*u).translate([o,i])},t)}ft.prototype={constructor:ft,point:function(n,r){this.stream.point(n,r)},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 pt=16,dt=w(30*d),st=function(n,r){return+r?function(n,r){function t(e,u,o,i,c,f,l,v,g,h,p,d,y,w){var E=l-e,S=v-u,P=E*E+S*S;if(P>4*r&&y--){var R=i+h,G=c+p,k=f+d,F=A(R*R+G*G+k*k),C=N(k/=F),z=s(s(k)-1)<a||s(o-g)<a?(o+g)/2:M(G,R),D=n(z,C),L=D[0],O=D[1],I=L-e,W=O-u,H=S*I-E*W;(H*H/P>r||s((E*I+S*W)/P-.5)>.3||i*h+c*p+f*d<dt)&&(t(e,u,o,i,c,f,L,O,z,R/=F,G/=F,k,y,w),w.point(L,O),t(L,O,z,R,G,k,l,v,g,h,p,d,y,w))}}return function(r){var e,u,o,i,c,f,a,l,v,g,h,p,d={point:s,lineStart:y,lineEnd:w,polygonStart:function(){r.polygonStart(),d.lineStart=E},polygonEnd:function(){r.polygonEnd(),d.lineStart=y}};function s(t,e){t=n(t,e),r.point(t[0],t[1])}function y(){l=NaN,d.point=M,r.lineStart()}function M(e,u){var o=K([e,u]),i=n(e,u);t(l,v,a,g,h,p,l=i[0],v=i[1],a=e,g=o[0],h=o[1],p=o[2],pt,r),r.point(l,v)}function w(){d.point=s,r.lineEnd()}function E(){y(),d.point=S,d.lineEnd=P}function S(n,r){M(e=n,r),u=l,o=v,i=g,c=h,f=p,d.point=M}function P(){t(l,v,a,g,h,p,u,o,e,i,c,f,pt,r),d.lineEnd=w,w()}return d}}(n,r):function(n){return ct({point:function(r,t){r=n(r,t),this.stream.point(r[0],r[1])}})}(n)};var yt=ct({point:function(n,r){this.stream.point(n*d,r*d)}});function Mt(n,r,t,e){var u=w(e),o=P(e),i=u*n,c=o*n,f=u/n,a=o/n,l=(o*t-u*r)/n,v=(o*r+u*t)/n;function g(n,e){return[i*n-c*e+r,t-c*n-i*e]}return g.invert=function(n,r){return[f*n-a*r+l,v-a*n-f*r]},g}function wt(n){return Et(function(){return n})()}function Et(n){var r,t,e,u,o,i,c,f,a,l,v=150,g=480,h=250,s=0,y=0,M=0,w=0,E=0,S=0,P=null,R=Gr,G=null,N=mr,k=.5;function F(n){return f(n[0]*d,n[1]*d)}function C(n){return(n=f.invert(n[0],n[1]))&&[n[0]*p,n[1]*p]}function z(){var n=Mt(v,0,0,S).apply(null,r(s,y)),e=(S?Mt:function(n,r,t){function e(e,u){return[r+n*e,t-n*u]}return e.invert=function(e,u){return[(e-r)/n,(t-u)/n]},e})(v,g-n[0],h-n[1],S);return t=rr(M,w,E),c=_n(r,e),f=_n(t,c),i=st(c,k),D()}function D(){return a=l=null,F}return F.stream=function(n){return a&&l===n?a:a=yt(function(n){return ct({point:function(r,t){var e=n(r,t);return this.stream.point(e[0],e[1])}})}(t)(R(i(N(l=n)))))},F.preclip=function(n){return arguments.length?(R=n,P=void 0,D()):R},F.postclip=function(n){return arguments.length?(N=n,G=e=u=o=null,D()):N},F.clipAngle=function(n){return arguments.length?(R=+n?Nr(P=n*d):(P=null,Gr),D()):P*p},F.clipExtent=function(n){return arguments.length?(N=null==n?(G=e=u=o=null,mr):zr(G=+n[0][0],e=+n[0][1],u=+n[1][0],o=+n[1][1]),D()):null==G?null:[[G,e],[u,o]]},F.scale=function(n){return arguments.length?(v=+n,z()):v},F.translate=function(n){return arguments.length?(g=+n[0],h=+n[1],z()):[g,h]},F.center=function(n){return arguments.length?(s=n[0]%360*d,y=n[1]%360*d,z()):[s*p,y*p]},F.rotate=function(n){return arguments.length?(M=n[0]%360*d,w=n[1]%360*d,E=n.length>2?n[2]%360*d:0,z()):[M*p,w*p,E*p]},F.angle=function(n){return arguments.length?(S=n%360*d,z()):S*p},F.precision=function(n){return arguments.length?(i=st(c,k=n*n),D()):A(k)},F.fitExtent=function(n,r){return lt(F,n,r)},F.fitSize=function(n,r){return vt(F,n,r)},F.fitWidth=function(n,r){return gt(F,n,r)},F.fitHeight=function(n,r){return ht(F,n,r)},function(){return r=n.apply(this,arguments),F.invert=r.invert&&C,z()}}function St(n){return function(r,t){var e=w(r),u=w(t),o=n(e*u);return[o*u*P(r),o*P(t)]}}function Pt(n){return function(r,t){var e=A(r*r+t*t),u=n(e),o=P(u),i=w(u);return[M(r*o,e*i),N(e&&t*o/e)]}}var At=St(function(n){return A(2/(1+n))});At.invert=Pt(function(n){return 2*N(n/2)});var Rt=St(function(n){return(n=G(n))&&n/P(n)});Rt.invert=Pt(function(n){return n});function Gt(n,r){return[n,S(R((v+r)/2))]}Gt.invert=function(n,r){return[n,2*y(E(r))-v]};function Nt(n,r){return[n,r]}Nt.invert=Nt;var kt=1.340264,Ft=-.081106,Ct=893e-6,zt=.003796,Dt=A(3)/2;function Lt(n,r){var t=N(Dt*P(r)),e=t*t,u=e*e*e;return[n*w(t)/(Dt*(kt+3*Ft*e+u*(7*Ct+9*zt*e))),t*(kt+Ft*e+u*(Ct+zt*e))]}Lt.invert=function(n,r){for(var t,e=r,u=e*e,o=u*u*u,i=0;i<12&&(o=(u=(e-=t=(e*(kt+Ft*u+o*(Ct+zt*u))-r)/(kt+3*Ft*u+o*(7*Ct+9*zt*u)))*e)*u*u,!(s(t)<1e-12));++i);return[Dt*n*(kt+3*Ft*u+o*(7*Ct+9*zt*u))/w(e),N(P(e)/Dt)]};function Ot(n,r){var t=w(r),e=w(n)*t;return[t*P(n)/e,P(r)/e]}Ot.invert=Pt(y);var It=function(){return wt(Ot).scale(144.049).clipAngle(60)};function Wt(n,r){var t=r*r,e=t*t;return[n*(.8707-.131979*t+e*(e*(.003971*t-.001529*e)-.013791)),r*(1.007226+t*(.015085+e*(.028874*t-.044475-.005916*e)))]}Wt.invert=function(n,r){var t,e=r,u=25;do{var o=e*e,i=o*o;e-=t=(e*(1.007226+o*(.015085+i*(.028874*o-.044475-.005916*i)))-r)/(1.007226+o*(.045255+i*(.259866*o-.311325-.005916*11*i)))}while(s(t)>a&&--u>0);return[n/(.8707+(o=e*e)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),e]};var Ht=function(){return wt(Wt).scale(175.295)};function Tt(n,r){return[w(r)*P(n),P(r)]}Tt.invert=Pt(N);var jt=function(){return wt(Tt).scale(249.5).clipAngle(90+a)};function Bt(n,r){var t=w(r),e=1+w(n)*t;return[t*P(n)/e,P(r)/e]}Bt.invert=Pt(function(n){return 2*y(n)});function Qt(n,r){return[S(R((v+r)/2)),-n]}Qt.invert=function(n,r){return[-r,2*y(E(n))-v]};var Vt=Math.abs,Ut=Math.atan,Xt=Math.atan2,Yt=(Math.ceil,Math.cos),Zt=Math.exp,Jt=Math.floor,$t=Math.log,Kt=Math.max,xt=Math.min,qt=Math.pow,bt=Math.round,mt=Math.sign||function(n){return n>0?1:n<0?-1:0},_t=Math.sin,ne=Math.tan,re=1e-6,te=1e-12,ee=Math.PI,ue=ee/2,oe=ee/4,ie=Math.SQRT1_2,ce=pe(2),fe=pe(ee),ae=2*ee,le=180/ee,ve=ee/180;function ge(n){return n>1?ue:n<-1?-ue:Math.asin(n)}function he(n){return n>1?0:n<-1?ee:Math.acos(n)}function pe(n){return n>0?Math.sqrt(n):0}function de(n){return(Zt(n)-Zt(-n))/2}function se(n){return(Zt(n)+Zt(-n))/2}function ye(n){var r=ne(n/2),t=2*$t(Yt(n/2))/(r*r);function e(n,r){var e=Yt(n),u=Yt(r),o=_t(r),i=u*e,c=-((1-i?$t((1+i)/2)/(1-i):-.5)+t/(1+i));return[c*u*_t(n),c*o]}return e.invert=function(r,e){var u,o=pe(r*r+e*e),i=-n/2,c=50;if(!o)return[0,0];do{var f=i/2,a=Yt(f),l=_t(f),v=ne(f),g=$t(1/a);i-=u=(2/v*g-t*v-o)/(-g/(l*l)+1-t/(2*a*a))}while(Vt(u)>re&&--c>0);var h=_t(i);return[Xt(r*h,o*Yt(i)),ge(e*h/o)]},e}var Me=function(){var n=ue,r=Et(ye),t=r(n);return t.radius=function(t){return arguments.length?r(n=t*ve):n*le},t.scale(179.976).clipAngle(147)};function we(n,r){var t=Yt(r),e=function(n){return n?n/Math.sin(n):1}(he(t*Yt(n/=2)));return[2*t*_t(n)*e,_t(r)*e]}we.invert=function(n,r){if(!(n*n+4*r*r>ee*ee+re)){var t=n,e=r,u=25;do{var o,i=_t(t),c=_t(t/2),f=Yt(t/2),a=_t(e),l=Yt(e),v=_t(2*e),g=a*a,h=l*l,p=c*c,d=1-h*f*f,s=d?he(l*f)*pe(o=1/d):o=0,y=2*s*l*c-n,M=s*a-r,w=o*(h*p+s*l*f*g),E=o*(.5*i*v-2*s*a*c),S=.25*o*(v*c-s*a*h*i),P=o*(g*f+s*p*l),A=E*S-P*w;if(!A)break;var R=(M*E-y*P)/A,G=(y*S-M*w)/A;t-=R,e-=G}while((Vt(R)>re||Vt(G)>re)&&--u>0);return[t,e]}};var Ee=function(){return wt(we).scale(152.63)};function Se(n){var r=_t(n),t=Yt(n),e=n>=0?1:-1,u=ne(e*n),o=(1+r-t)/2;function i(n,i){var c=Yt(i),f=Yt(n/=2);return[(1+c)*_t(n),(e*i>-Xt(f,u)-.001?0:10*-e)+o+_t(i)*t-(1+c)*r*f]}return i.invert=function(n,i){var c=0,f=0,a=50;do{var l=Yt(c),v=_t(c),g=Yt(f),h=_t(f),p=1+g,d=p*v-n,s=o+h*t-p*r*l-i,y=p*l/2,M=-v*h,w=r*p*v/2,E=t*g+r*l*h,S=M*w-E*y,P=(s*M-d*E)/S/2,A=(d*w-s*y)/S;c-=P,f-=A}while((Vt(P)>re||Vt(A)>re)&&--a>0);return e*f>-Xt(Yt(c),u)-.001?[2*c,f]:null},i}var Pe=function(){var n=20*ve,r=n>=0?1:-1,t=ne(r*n),e=Et(Se),u=e(n),o=u.stream;return u.parallel=function(u){return arguments.length?(t=ne((r=(n=u*ve)>=0?1:-1)*n),e(n)):n*le},u.stream=function(e){var i=u.rotate(),c=o(e),f=(u.rotate([0,0]),o(e));return u.rotate(i),c.sphere=function(){f.polygonStart(),f.lineStart();for(var e=-180*r;r*e<180;e+=90*r)f.point(e,90*r);for(;r*(e-=n)>=-180;)f.point(e,r*-Xt(Yt(e*ve/2),t)*le);f.lineEnd(),f.polygonEnd()},c},u.scale(218.695).center([0,28.0974])};function Ae(n,r){var t=ne(r/2),e=pe(1-t*t),u=1+e*Yt(n/=2),o=_t(n)*e/u,i=t/u,c=o*o,f=i*i;return[4/3*o*(3+c-3*f),4/3*i*(3+3*c-f)]}Ae.invert=function(n,r){if(r*=3/8,!(n*=3/8)&&Vt(r)>1)return null;var t=1+n*n+r*r,e=pe((t-pe(t*t-4*r*r))/2),u=ge(e)/3,o=e?function(n){return $t(n+pe(n*n-1))}(Vt(r/e))/3:function(n){return $t(n+pe(n*n+1))}(Vt(n))/3,i=Yt(u),c=se(o),f=c*c-i*i;return[2*mt(n)*Xt(de(o)*i,.25-f),2*mt(r)*Xt(c*_t(u),.25+f)]};var Re=function(){return wt(Ae).scale(66.1603)},Ge=pe(8),Ne=$t(1+ce);function ke(n,r){var t=Vt(r);return t<oe?[n,$t(ne(oe+r/2))]:[n*Yt(t)*(2*ce-1/_t(t)),mt(r)*(2*ce*(t-oe)-$t(ne(t/2)))]}ke.invert=function(n,r){if((e=Vt(r))<Ne)return[n,2*Ut(Zt(r))-ue];var t,e,u=oe,o=25;do{var i=Yt(u/2),c=ne(u/2);u-=t=(Ge*(u-oe)-$t(c)-e)/(Ge-i*i/(2*c))}while(Vt(t)>te&&--o>0);return[n/(Yt(u)*(Ge-1/_t(u))),mt(r)*u]};var Fe=function(){return wt(ke).scale(112.314)};function Ce(n){var r=2*ee/n;function t(n,t){var e=Rt(n,t);if(Vt(n)>ue){var u=Xt(e[1],e[0]),o=pe(e[0]*e[0]+e[1]*e[1]),i=r*bt((u-ue)/r)+ue,c=Xt(_t(u-=i),2-Yt(u));u=i+ge(ee/o*_t(c))-c,e[0]=o*Yt(u),e[1]=o*_t(u)}return e}return t.invert=function(n,t){var e=pe(n*n+t*t);if(e>ue){var u=Xt(t,n),o=r*bt((u-ue)/r)+ue,i=u>o?-1:1,c=e*Yt(o-u),f=1/ne(i*he((c-ee)/pe(ee*(ee-2*c)+e*e)));u=o+2*Ut((f+i*pe(f*f-3))/3),n=e*Yt(u),t=e*_t(u)}return Rt.invert(n,t)},t}var ze=function(){var n=5,r=Et(Ce),t=r(n),e=t.stream,u=-Yt(.01*ve),o=_t(.01*ve);return t.lobes=function(t){return arguments.length?r(n=+t):n},t.stream=function(r){var i=t.rotate(),c=e(r),f=(t.rotate([0,0]),e(r));return t.rotate(i),c.sphere=function(){f.polygonStart(),f.lineStart();for(var r=0,t=360/n,e=2*ee/n,i=90-180/n,c=ue;r<n;++r,i-=t,c-=e)f.point(Xt(o*Yt(c),u)*le,ge(o*_t(c))*le),i<-90?(f.point(-90,-180-i-.01),f.point(-90,-180-i+.01)):(f.point(90,i+.01),f.point(90,i-.01));f.lineEnd(),f.polygonEnd()},c},t.scale(87.8076).center([0,17.1875]).clipAngle(179.999)};function De(n,r){if(arguments.length<2&&(r=n),1===r)return At;if(r===1/0)return Le;function t(t,e){var u=At(t/r,e);return u[0]*=n,u}return t.invert=function(t,e){var u=At.invert(t/n,e);return u[0]*=r,u},t}function Le(n,r){return[n*Yt(r)/Yt(r/=2),2*_t(r)]}Le.invert=function(n,r){var t=2*ge(r/2);return[n*Yt(t/2)/Yt(t),t]};var Oe=function(){var n=2,r=Et(De),t=r(n);return t.coefficient=function(t){return arguments.length?r(n=+t):n},t.scale(169.529)};function Ie(){var n=De(1.68,2);return function(r,t){if(r+t<-1.4){var e=(r-t+1.6)*(r+t+1.4)/8;r+=e,t-=.8*e*_t(t+ee/2)}var u=n(r,t),o=(1-Yt(r*t))/12;return u[1]<0&&(u[0]*=1+o),u[1]>0&&(u[1]*=1+o/1.5*u[0]*u[0]),u}}var We=function(){var n=wt(Ie());return n.rotate([-16.5,-42]),delete n.rotate,n.scale(176.57).center([7.93,.09])};function He(n,r){var t,e=n*_t(r),u=30;do{r-=t=(r+_t(r)-e)/(1+Yt(r))}while(Vt(t)>re&&--u>0);return r/2}function Te(n,r,t){function e(e,u){return[n*e*Yt(u=He(t,u)),r*_t(u)]}return e.invert=function(e,u){return u=ge(u/r),[e/(n*Yt(u)),ge((2*u+_t(2*u))/t)]},e}var je=Te(ce/ue,ce,ee),Be=function(){return wt(je).scale(169.529)},Qe=2.00276,Ve=1.11072;function Ue(n,r){var t=He(ee,r);return[Qe*n/(1/Yt(r)+Ve/Yt(t)),(r+ce*_t(t))/Qe]}Ue.invert=function(n,r){var t,e,u=Qe*r,o=r<0?-oe:oe,i=25;do{e=u-ce*_t(o),o-=t=(_t(2*o)+2*o-ee*_t(e))/(2*Yt(2*o)+2+ee*Yt(e)*ce*Yt(o))}while(Vt(t)>re&&--i>0);return e=u-ce*_t(o),[n*(1/Yt(e)+Ve/Yt(o))/Qe,e]};var Xe=function(){return wt(Ue).scale(160.857)},Ye=function(n){var r=0,t=Et(n),e=t(r);return e.parallel=function(n){return arguments.length?t(r=n*ve):r*le},e};function Ze(n,r){return[n*Yt(r),r]}Ze.invert=function(n,r){return[n/Yt(r),r]};var Je=function(){return wt(Ze).scale(152.63)};function $e(n){if(!n)return Ze;var r=1/ne(n);function t(t,e){var u=r+n-e,o=u?t*Yt(e)/u:u;return[u*_t(o),r-u*Yt(o)]}return t.invert=function(t,e){var u=pe(t*t+(e=r-e)*e),o=r+n-u;return[u/Yt(o)*Xt(t,e),o]},t}var Ke=function(){return Ye($e).scale(123.082).center([0,26.1441]).parallel(45)};function xe(n){function r(r,t){var e=ue-t,u=e?r*n*_t(e)/e:e;return[e*_t(u)/n,ue-e*Yt(u)]}return r.invert=function(r,t){var e=r*n,u=ue-t,o=pe(e*e+u*u),i=Xt(e,u);return[(o?o/_t(o):1)*i/n,ue-o]},r}var qe=function(){var n=.5,r=Et(xe),t=r(n);return t.fraction=function(t){return arguments.length?r(n=+t):n},t.scale(158.837)},be=Te(1,4/ee,ee),me=function(){return wt(be).scale(152.63)};function _e(n,r,t,e,u,o){var i,c=Yt(o);if(Vt(n)>1||Vt(o)>1)i=he(t*u+r*e*c);else{var f=_t(n/2),a=_t(o/2);i=2*ge(pe(f*f+r*e*a*a))}return Vt(i)>re?[i,Xt(e*_t(o),r*u-t*e*c)]:[0,0]}function nu(n,r,t){return he((n*n+r*r-t*t)/(2*n*r))}function ru(n){return n-2*ee*Jt((n+ee)/(2*ee))}function tu(n,r,t){for(var e,u=[[n[0],n[1],_t(n[1]),Yt(n[1])],[r[0],r[1],_t(r[1]),Yt(r[1])],[t[0],t[1],_t(t[1]),Yt(t[1])]],o=u[2],i=0;i<3;++i,o=e)e=u[i],o.v=_e(e[1]-o[1],o[3],o[2],e[3],e[2],e[0]-o[0]),o.point=[0,0];var c=nu(u[0].v[0],u[2].v[0],u[1].v[0]),f=nu(u[0].v[0],u[1].v[0],u[2].v[0]),a=ee-c;u[2].point[1]=0,u[0].point[0]=-(u[1].point[0]=u[0].v[0]/2);var l=[u[2].point[0]=u[0].point[0]+u[2].v[0]*Yt(c),2*(u[0].point[1]=u[1].point[1]=u[2].v[0]*_t(c))];return function(n,r){var t,e=_t(r),o=Yt(r),i=new Array(3);for(t=0;t<3;++t){var c=u[t];if(i[t]=_e(r-c[1],c[3],c[2],o,e,n-c[0]),!i[t][0])return c.point;i[t][1]=ru(i[t][1]-c.v[1])}var v=l.slice();for(t=0;t<3;++t){var g=2==t?0:t+1,h=nu(u[t].v[0],i[t][0],i[g][0]);i[t][1]<0&&(h=-h),t?1==t?(h=f-h,v[0]-=i[t][0]*Yt(h),v[1]-=i[t][0]*_t(h)):(h=a-h,v[0]+=i[t][0]*Yt(h),v[1]+=i[t][0]*_t(h)):(v[0]+=i[t][0]*Yt(h),v[1]-=i[t][0]*_t(h))}return v[0]/=3,v[1]/=3,v}}function eu(n){return n[0]*=ve,n[1]*=ve,n}function uu(){return ou([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function ou(n,r,t){var e=bn({type:"MultiPoint",coordinates:[n,r,t]}),u=[-e[0],-e[1]],o=or(u),i=wt(tu(eu(o(n)),eu(o(r)),eu(o(t)))).rotate(u),c=i.center;return delete i.rotate,i.center=function(n){return arguments.length?c(o(n)):o.invert(c())},i.clipAngle(90)}function iu(n,r){var t=pe(1-_t(r));return[2/fe*n*t,fe*(1-t)]}iu.invert=function(n,r){var t=(t=r/fe-1)*t;return[t>0?n*pe(ee/t)/2:0,ge(1-t)]};var cu=function(){return wt(iu).scale(95.6464).center([0,30])};function fu(n){var r=ne(n);function t(n,t){return[n,(n?n/_t(n):1)*(_t(t)*Yt(n)-r*Yt(t))]}return t.invert=r?function(n,t){n&&(t*=_t(n)/n);var e=Yt(n);return[n,2*Xt(pe(e*e+r*r-t*t)-e,r-t)]}:function(n,r){return[n,ge(n?r*ne(n)/n:r)]},t}var au=function(){return Ye(fu).scale(249.828).clipAngle(90)},lu=pe(3);function vu(n,r){return[lu*n*(2*Yt(2*r/3)-1)/fe,lu*fe*_t(r/3)]}vu.invert=function(n,r){var t=3*ge(r/(lu*fe));return[fe*n/(lu*(2*Yt(2*t/3)-1)),t]};var gu=function(){return wt(vu).scale(156.19)};function hu(n){var r=Yt(n);function t(n,t){return[n*r,_t(t)/r]}return t.invert=function(n,t){return[n/r,ge(t*r)]},t}var pu=function(){return Ye(hu).parallel(38.58).scale(195.044)};function du(n){var r=Yt(n);function t(n,t){return[n*r,(1+r)*ne(t/2)]}return t.invert=function(n,t){return[n/r,2*Ut(t/(1+r))]},t}var su=function(){return Ye(du).scale(124.75)};function yu(n,r){var t=pe(8/(3*ee));return[t*n*(1-Vt(r)/ee),t*r]}yu.invert=function(n,r){var t=pe(8/(3*ee)),e=r/t;return[n/(t*(1-Vt(e)/ee)),e]};var Mu=function(){return wt(yu).scale(165.664)};function wu(n,r){var t=pe(4-3*_t(Vt(r)));return[2/pe(6*ee)*n*t,mt(r)*pe(2*ee/3)*(2-t)]}wu.invert=function(n,r){var t=2-Vt(r)/pe(2*ee/3);return[n*pe(6*ee)/(2*t),mt(r)*ge((4-t*t)/3)]};var Eu=function(){return wt(wu).scale(165.664)};function Su(n,r){var t=pe(ee*(4+ee));return[2/t*n*(1+pe(1-4*r*r/(ee*ee))),4/t*r]}Su.invert=function(n,r){var t=pe(ee*(4+ee))/2;return[n*t/(1+pe(1-r*r*(4+ee)/(4*ee))),r*t/2]};var Pu=function(){return wt(Su).scale(180.739)};function Au(n,r){var t=(2+ue)*_t(r);r/=2;for(var e=0,u=1/0;e<10&&Vt(u)>re;e++){var o=Yt(r);r-=u=(r+_t(r)*(o+2)-t)/(2*o*(1+o))}return[2/pe(ee*(4+ee))*n*(1+Yt(r)),2*pe(ee/(4+ee))*_t(r)]}Au.invert=function(n,r){var t=r*pe((4+ee)/ee)/2,e=ge(t),u=Yt(e);return[n/(2/pe(ee*(4+ee))*(1+u)),ge((e+t*(u+2))/(2+ue))]};var Ru=function(){return wt(Au).scale(180.739)};function Gu(n,r){return[n*(1+Yt(r))/pe(2+ee),2*r/pe(2+ee)]}Gu.invert=function(n,r){var t=pe(2+ee),e=r*t/2;return[t*n/(1+Yt(e)),e]};var Nu=function(){return wt(Gu).scale(173.044)};function ku(n,r){for(var t=(1+ue)*_t(r),e=0,u=1/0;e<10&&Vt(u)>re;e++)r-=u=(r+_t(r)-t)/(1+Yt(r));return t=pe(2+ee),[n*(1+Yt(r))/t,2*r/t]}ku.invert=function(n,r){var t=1+ue,e=pe(t/2);return[2*n*e/(1+Yt(r*=e)),ge((r+_t(r))/t)]};var Fu=function(){return wt(ku).scale(173.044)},Cu=3+2*ce;function zu(n,r){var t=_t(n/=2),e=Yt(n),u=pe(Yt(r)),o=Yt(r/=2),i=_t(r)/(o+ce*e*u),c=pe(2/(1+i*i)),f=pe((ce*o+(e+t)*u)/(ce*o+(e-t)*u));return[Cu*(c*(f-1/f)-2*$t(f)),Cu*(c*i*(f+1/f)-2*Ut(i))]}zu.invert=function(n,r){if(!(t=Ae.invert(n/1.2,1.065*r)))return null;var t,e=t[0],u=t[1],o=20;n/=Cu,r/=Cu;do{var i=e/2,c=u/2,f=_t(i),a=Yt(i),l=_t(c),v=Yt(c),g=Yt(u),h=pe(g),p=l/(v+ce*a*h),d=p*p,s=pe(2/(1+d)),y=(ce*v+(a+f)*h)/(ce*v+(a-f)*h),M=pe(y),w=M-1/M,E=M+1/M,S=s*w-2*$t(M)-n,P=s*p*E-2*Ut(p)-r,A=l&&ie*h*f*d/l,R=(ce*a*v+h)/(2*(v+ce*a*h)*(v+ce*a*h)*h),G=-.5*p*s*s*s,N=G*A,k=G*R,F=(F=2*v+ce*h*(a-f))*F*M,C=(ce*a*v*h+g)/F,z=-ce*f*l/(h*F),D=w*N-2*C/M+s*(C+C/y),L=w*k-2*z/M+s*(z+z/y),O=p*E*N-2*A/(1+d)+s*E*A+s*p*(C-C/y),I=p*E*k-2*R/(1+d)+s*E*R+s*p*(z-z/y),W=L*O-I*D;if(!W)break;var H=(P*L-S*I)/W,T=(S*O-P*D)/W;e-=H,u=Kt(-ue,xt(ue,u-T))}while((Vt(H)>re||Vt(T)>re)&&--o>0);return Vt(Vt(u)-ue)<re?[0,u]:o&&[e,u]};var Du=function(){return wt(zu).scale(62.5271)},Lu=Yt(35*ve);function Ou(n,r){var t=ne(r/2);return[n*Lu*pe(1-t*t),(1+Lu)*t]}Ou.invert=function(n,r){var t=r/(1+Lu);return[n&&n/(Lu*pe(1-t*t)),2*Ut(t)]};var Iu=function(){return wt(Ou).scale(137.152)};function Wu(n,r){var t=r/2,e=Yt(t);return[2*n/fe*Yt(r)*e*e,fe*ne(t)]}Wu.invert=function(n,r){var t=Ut(r/fe),e=Yt(t),u=2*t;return[n*fe/2/(Yt(u)*e*e),u]};var Hu=function(){return wt(Wu).scale(135.264)};function Tu(n,r,t){var e,u,o,i=100;t=void 0===t?0:+t,r=+r;do{(u=n(t))===(o=n(t+re))&&(o=u+re),t-=e=-1*re*(u-r)/(u-o)}while(i-- >0&&Vt(e)>re);return i<0?NaN:t}function ju(n){var r=1-n,t=u(ee,0)[0]-u(-ee,0)[0],e=pe(2*(u(0,ue)[1]-u(0,-ue)[1])/t);function u(t,e){var u=Yt(e),o=_t(e);return[u/(r+n*u)*t,r*e+n*o]}function o(n,r){var t=u(n,r);return[t[0]*e,t[1]/e]}function i(n){return o(0,n)[1]}return o.invert=function(t,u){var o=Tu(i,u);return[t/e*(n+r/Yt(o)),o]},o}var Bu=function(){var n=.5,r=Et(ju),t=r(n);return t.alpha=function(t){return arguments.length?r(n=+t):n},t.scale(168.725)};function Qu(n){return[n[0]/2,ge(ne(n[1]/2*ve))*le]}function Vu(n){return[2*n[0],2*Ut(_t(n[1]*ve))*le]}var Uu=function(n){null==n&&(n=jt);var r=n(),t=wt(Nt).scale(152.63).scale(le).precision(0).clipAngle(null).translate([0,0]);function e(n){return r(Qu(n))}function u(n){e[n]=function(t){return arguments.length?(r[n](t),e):r[n]()}}return r.invert&&(e.invert=function(n){return Vu(r.invert(n))}),e.stream=function(n){var e=r.stream(n),u=t.stream({point:function(n,r){e.point(n/2,ge(ne(-r/2*ve))*le)},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}});return u.sphere=e.sphere,u},e.rotate=function(n){return arguments.length?(t.rotate(n),e):t.rotate()},e.center=function(n){return arguments.length?(r.center(Qu(n)),e):Vu(r.center())},u("angle"),u("clipAngle"),u("clipExtent"),u("scale"),u("translate"),u("precision"),e.scale(249.5)};function Xu(n,r){var t=2*ee/r,e=n*n;function u(r,u){var o=Rt(r,u),i=o[0],c=o[1],f=i*i+c*c;if(f>e){var a=pe(f),l=Xt(c,i),v=t*bt(l/t),g=l-v,h=n*Yt(g),p=(n*_t(g)-g*_t(h))/(ue-h),d=Yu(g,p),s=(ee-n)/Zu(d,h,ee);i=a;var y,M=50;do{i-=y=(n+Zu(d,h,i)*s-a)/(d(i)*s)}while(Vt(y)>re&&--M>0);c=g*_t(i),i<ue&&(c-=p*(i-ue));var w=_t(v),E=Yt(v);o[0]=i*E-c*w,o[1]=i*w+c*E}return o}return u.invert=function(r,u){var o=r*r+u*u;if(o>e){var i=pe(o),c=Xt(u,r),f=t*bt(c/t),a=c-f;r=i*Yt(a),u=i*_t(a);for(var l=r-ue,v=_t(r),g=u/v,h=r<ue?1/0:0,p=10;;){var d=n*_t(g),s=n*Yt(g),y=_t(s),M=ue-s,w=(d-g*y)/M,E=Yu(g,w);if(Vt(h)<te||!--p)break;g-=h=(g*v-w*l-u)/(v-2*l*(M*(s+g*d*Yt(s)-y)-d*(d-g*y))/(M*M))}r=(i=n+Zu(E,s,r)*(ee-n)/Zu(E,s,ee))*Yt(c=f+g),u=i*_t(c)}return Rt.invert(r,u)},u}function Yu(n,r){return function(t){var e=n*Yt(t);return t<ue&&(e-=r),pe(1+e*e)}}function Zu(n,r,t){for(var e=(t-r)/50,u=n(r)+n(t),o=1,i=r;o<50;++o)u+=2*n(i+=e);return.5*u*e}var Ju=function(){var n=6,r=30*ve,t=Yt(r),e=_t(r),u=Et(Xu),o=u(r,n),i=o.stream,c=-Yt(.01*ve),f=_t(.01*ve);return o.radius=function(o){return arguments.length?(t=Yt(r=o*ve),e=_t(r),u(r,n)):r*le},o.lobes=function(t){return arguments.length?u(r,n=+t):n},o.stream=function(r){var u=o.rotate(),a=i(r),l=(o.rotate([0,0]),i(r));return o.rotate(u),a.sphere=function(){l.polygonStart(),l.lineStart();for(var r=0,u=2*ee/n,o=0;r<n;++r,o-=u)l.point(Xt(f*Yt(o),c)*le,ge(f*_t(o))*le),l.point(Xt(e*Yt(o-u/2),t)*le,ge(e*_t(o-u/2))*le);l.lineEnd(),l.polygonEnd()},a},o.rotate([90,-40]).scale(91.7095).clipAngle(179.999)},$u=function(n,r,t,e,u,o,i,c){function f(f,a){if(!a)return[n*f/ee,0];var l=a*a,v=n+l*(r+l*(t+l*e)),g=a*(u-1+l*(o-c+l*i)),h=(v*v+g*g)/(2*g),p=f*ge(v/h)/ee;return[h*_t(p),a*(1+l*c)+h*(1-Yt(p))]}return arguments.length<8&&(c=0),f.invert=function(f,a){var l,v,g=ee*f/n,h=a,p=50;do{var d=h*h,s=n+d*(r+d*(t+d*e)),y=h*(u-1+d*(o-c+d*i)),M=s*s+y*y,w=2*y,E=M/w,S=E*E,P=ge(s/E)/ee,A=g*P,R=s*s,G=(2*r+d*(4*t+6*d*e))*h,N=u+d*(3*o+5*d*i),k=(2*(s*G+y*(N-1))*w-M*(2*(N-1)))/(w*w),F=Yt(A),C=_t(A),z=E*F,D=E*C,L=g/ee*(1/pe(1-R/S))*(G*E-s*k)/S,O=D-f,I=h*(1+d*c)+E-z-a,W=k*C+z*L,H=z*P,T=1+k-(k*F-D*L),j=D*P,B=W*j-T*H;if(!B)break;g-=l=(I*W-O*T)/B,h-=v=(O*j-I*H)/B}while((Vt(l)>re||Vt(v)>re)&&--p>0);return[g,h]},f},Ku=$u(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),xu=function(){return wt(Ku).scale(149.995)},qu=$u(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),bu=function(){return wt(qu).scale(153.93)},mu=$u(5/6*ee,-.62636,-.0344,0,1.3493,-.05524,0,.045),_u=function(){return wt(mu).scale(130.945)};function no(n,r){var t=n*n,e=r*r;return[n*(1-.162388*e)*(.87-952426e-9*t*t),r*(1+e/12)]}no.invert=function(n,r){var t,e=n,u=r,o=50;do{var i=u*u;u-=t=(u*(1+i/12)-r)/(1+i/4)}while(Vt(t)>re&&--o>0);o=50,n/=1-.162388*i;do{var c=(c=e*e)*c;e-=t=(e*(.87-952426e-9*c)-n)/(.87-.00476213*c)}while(Vt(t)>re&&--o>0);return[e,u]};var ro=function(){return wt(no).scale(131.747)},to=$u(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),eo=function(){return wt(to).scale(131.087)},uo=function(n){var r=n(ue,0)[0]-n(-ue,0)[0];function t(t,e){var u=t>0?-.5:.5,o=n(t+u*ee,e);return o[0]-=u*r,o}return n.invert&&(t.invert=function(t,e){var u=t>0?-.5:.5,o=n.invert(t+u*r,e),i=o[0]-u*ee;return i<-ee?i+=2*ee:i>ee&&(i-=2*ee),o[0]=i,o}),t};function oo(n,r){var t=mt(n),e=mt(r),u=Yt(r),o=Yt(n)*u,i=_t(n)*u,c=_t(e*r);n=Vt(Xt(i,c)),r=ge(o),Vt(n-ue)>re&&(n%=ue);var f=function(n,r){if(r===ue)return[0,0];var t,e,u=_t(r),o=u*u,i=o*o,c=1+i,f=1+3*i,a=1-i,l=ge(1/pe(c)),v=a+o*c*l,g=(1-u)/v,h=pe(g),p=g*c,d=pe(p),s=h*a;if(0===n)return[0,-(s+o*d)];var y,M=Yt(r),w=1/M,E=2*u*M,S=(-v*M-(-3*o+l*f)*E*(1-u))/(v*v),P=-w*E,A=-w*(o*c*S+g*f*E),R=-2*w*(a*(.5*S/h)-2*o*h*E),G=4*n/ee;if(n>.222*ee||r<ee/4&&n>.175*ee){if(t=(s+o*pe(p*(1+i)-s*s))/(1+i),n>ee/4)return[t,t];var N=t,k=.5*t;t=.5*(k+N),e=50;do{var F=pe(p-t*t),C=t*(R+P*F)+A*ge(t/d)-G;if(!C)break;C<0?k=t:N=t,t=.5*(k+N)}while(Vt(N-k)>re&&--e>0)}else{t=re,e=25;do{var z=t*t,D=pe(p-z),L=R+P*D,O=t*L+A*ge(t/d)-G,I=L+(A-P*z)/D;t-=y=D?O/I:0}while(Vt(y)>re&&--e>0)}return[t,-s-o*pe(p-t*t)]}(n>ee/4?ue-n:n,r);return n>ee/4&&(c=f[0],f[0]=-f[1],f[1]=-c),f[0]*=t,f[1]*=-e,f}oo.invert=function(n,r){Vt(n)>1&&(n=2*mt(n)-n),Vt(r)>1&&(r=2*mt(r)-r);var t=mt(n),e=mt(r),u=-t*n,o=-e*r,i=o/u<1,c=function(n,r){var t=0,e=1,u=.5,o=50;for(;;){var i=u*u,c=pe(u),f=ge(1/pe(1+i)),a=1-i+u*(1+i)*f,l=(1-c)/a,v=pe(l),g=l*(1+i),h=v*(1-i),p=g-n*n,d=pe(p),s=r+h+u*d;if(Vt(e-t)<te||0==--o||0===s)break;s>0?t=u:e=u,u=.5*(t+e)}if(!o)return null;var y=ge(c),M=Yt(y),w=1/M,E=2*c*M,S=(-a*M-(-3*u+f*(1+3*i))*E*(1-c))/(a*a);return[ee/4*(n*(-2*w*(.5*S/v*(1-i)-2*u*v*E)+-w*E*d)+-w*(u*(1+i)*S+l*(1+3*i)*E)*ge(n/pe(g))),y]}(i?o:u,i?u:o),f=c[0],a=c[1],l=Yt(a);return i&&(f=-ue-f),[t*(Xt(_t(f)*l,-_t(a))+ee),e*ge(Yt(f)*l)]};var io=function(){return wt(uo(oo)).scale(239.75)};function co(n,r){var t,e,u,o,i,c;if(r<re)return[(o=_t(n))-(t=r*(n-o*(e=Yt(n)))/4)*e,e+t*o,1-r*o*o/2,n-t];if(r>=1-re)return t=(1-r)/4,u=1/(e=se(n)),[(o=((c=Zt(2*(c=n)))-1)/(c+1))+t*((i=e*de(n))-n)/(e*e),u-t*o*u*(i-n),u+t*o*u*(i+n),2*Ut(Zt(n))-ue+t*(i-n)/e];var f=[1,0,0,0,0,0,0,0,0],a=[pe(r),0,0,0,0,0,0,0,0],l=0;for(e=pe(1-r),i=1;Vt(a[l]/f[l])>re&&l<8;)t=f[l++],a[l]=(t-e)/2,f[l]=(t+e)/2,e=pe(t*e),i*=2;u=i*f[l]*n;do{u=(ge(o=a[l]*_t(e=u)/f[l])+u)/2}while(--l);return[_t(u),o=Yt(u),o/Yt(u-e),u]}function fo(n,r){if(!r)return n;if(1===r)return $t(ne(n/2+oe));for(var t=1,e=pe(1-r),u=pe(r),o=0;Vt(u)>re;o++){if(n%ee){var i=Ut(e*ne(n)/t);i<0&&(i+=ee),n+=i+~~(n/ee)*ee}else n+=n;u=(t+e)/2,e=pe(t*e),u=((t=u)-e)/2}return n/(qt(2,o)*t)}function ao(n,r){var t=(ce-1)/(ce+1),e=pe(1-t*t),u=fo(ue,e*e),o=$t(ne(ee/4+Vt(r)/2)),i=Zt(-1*o)/pe(t),c=function(n,r){var t=n*n,e=r+1,u=1-t-r*r;return[.5*((n>=0?ue:-ue)-Xt(u,2*n)),-.25*$t(u*u+4*t)+.5*$t(e*e+t)]}(i*Yt(-1*n),i*_t(-1*n)),f=function(n,r,t){var e=Vt(n),u=de(Vt(r));if(e){var o=1/_t(e),i=1/(ne(e)*ne(e)),c=-(i+t*(u*u*o*o)-1+t),f=(-c+pe(c*c-(t-1)*i*4))/2;return[fo(Ut(1/pe(f)),t)*mt(n),fo(Ut(pe((f/i-1)/t)),1-t)*mt(r)]}return[0,fo(Ut(u),1-t)*mt(r)]}(c[0],c[1],e*e);return[-f[1],(r>=0?1:-1)*(.5*u-f[0])]}ao.invert=function(n,r){var t,e,u,o,i,c,f=(ce-1)/(ce+1),a=pe(1-f*f),l=fo(ue,a*a),v=(e=-n,u=a*a,(t=.5*l-r)?(o=co(t,u),e?(c=(i=co(e,1-u))[1]*i[1]+u*o[0]*o[0]*i[0]*i[0],[[o[0]*i[2]/c,o[1]*o[2]*i[0]*i[1]/c],[o[1]*i[1]/c,-o[0]*o[2]*i[0]*i[2]/c],[o[2]*i[1]*i[2]/c,-u*o[0]*o[1]*i[0]/c]]):[[o[0],0],[o[1],0],[o[2],0]]):[[0,(i=co(e,1-u))[0]/i[1]],[1/i[1],0],[i[2]/i[1],0]]),g=function(n,r){var t=r[0]*r[0]+r[1]*r[1];return[(n[0]*r[0]+n[1]*r[1])/t,(n[1]*r[0]-n[0]*r[1])/t]}(v[0],v[1]);return[Xt(g[1],g[0])/-1,2*Ut(Zt(-.5*$t(f*g[0]*g[0]+f*g[1]*g[1])))-ue]};var lo=function(){return wt(uo(ao)).scale(151.496)};function vo(n){var r=_t(n),t=Yt(n),e=go(n);function u(n,u){var o=e(n,u);n=o[0],u=o[1];var i=_t(u),c=Yt(u),f=Yt(n),a=he(r*i+t*c*f),l=_t(a),v=Vt(l)>re?a/l:1;return[v*t*_t(n),(Vt(n)>ue?v:-v)*(r*c-t*i*f)]}return e.invert=go(-n),u.invert=function(n,t){var u=pe(n*n+t*t),o=-_t(u),i=Yt(u),c=u*i,f=-t*o,a=u*r,l=pe(c*c+f*f-a*a),v=Xt(c*a+f*l,f*a-c*l),g=(u>ue?-1:1)*Xt(n*o,u*Yt(v)*i+t*_t(v)*o);return e.invert(g,v)},u}function go(n){var r=_t(n),t=Yt(n);return function(n,e){var u=Yt(e),o=Yt(n)*u,i=_t(n)*u,c=_t(e);return[Xt(i,o*t-c*r),ge(c*t+o*r)]}}var ho=function(){var n=0,r=Et(vo),t=r(n),e=t.rotate,u=t.stream,o=function(){var n,r,t=mn([0,0]),e=mn(90),u=mn(6),o={point:function(t,e){n.push(t=r(t,e)),t[0]*=p,t[1]*=p}};function i(){var i=t.apply(this,arguments),c=e.apply(this,arguments)*d,f=u.apply(this,arguments)*d;return n=[],r=rr(-i[0]*d,-i[1]*d,0).invert,ir(o,c,f,1),i={type:"Polygon",coordinates:[n]},n=r=null,i}return i.center=function(n){return arguments.length?(t="function"==typeof n?n:mn([+n[0],+n[1]]),i):t},i.radius=function(n){return arguments.length?(e="function"==typeof n?n:mn(+n),i):e},i.precision=function(n){return arguments.length?(u="function"==typeof n?n:mn(+n),i):u},i}();return t.parallel=function(e){if(!arguments.length)return n*le;var u=t.rotate();return r(n=e*ve).rotate(u)},t.rotate=function(r){return arguments.length?(e.call(t,[r[0],r[1]-n*le]),o.center([-r[0],-r[1]]),t):((r=e.call(t))[1]+=n*le,r)},t.stream=function(n){return(n=u(n)).sphere=function(){n.polygonStart();var r,t=o.radius(89.99)().coordinates[0],e=t.length-1,u=-1;for(n.lineStart();++u<e;)n.point((r=t[u])[0],r[1]);for(n.lineEnd(),e=(t=o.radius(90.01)().coordinates[0]).length-1,n.lineStart();--u>=0;)n.point((r=t[u])[0],r[1]);n.lineEnd(),n.polygonEnd()},n},t.scale(79.4187).parallel(45).clipAngle(179.999)},po=41+48/36+37/3600,so=hu(0);function yo(n){var r=po*ve,t=iu(ee,r)[0]-iu(-ee,r)[0],e=so(0,r)[1],u=iu(0,r)[1],o=fe-u,i=ae/n,c=4/ae,f=e+o*o*4/ae;function a(a,l){var v,g=Vt(l);if(g>r){var h=xt(n-1,Kt(0,Jt((a+ee)/i)));(v=iu(a+=ee*(n-1)/n-h*i,g))[0]=v[0]*ae/t-ae*(n-1)/(2*n)+h*ae/n,v[1]=e+4*(v[1]-u)*o/ae,l<0&&(v[1]=-v[1])}else v=so(a,l);return v[0]*=c,v[1]/=f,v}return a.invert=function(r,a){r/=c;var l=Vt(a*=f);if(l>e){var v=xt(n-1,Kt(0,Jt((r+ee)/i)));r=(r+ee*(n-1)/n-v*i)*t/ae;var g=iu.invert(r,.25*(l-e)*ae/o+u);return g[0]-=ee*(n-1)/n-v*i,a<0&&(g[1]=-g[1]),g}return so.invert(r,a)},a}function Mo(n,r){return[n,1&r?90-re:po]}function wo(n,r){return[n,1&r?-90+re:-po]}function Eo(n){return[n[0]*(1-re),n[1]]}var So=function(){var n=4,r=Et(yo),t=r(n),e=t.stream;return t.lobes=function(t){return arguments.length?r(n=+t):n},t.stream=function(r){var u=t.rotate(),o=e(r),i=(t.rotate([0,0]),e(r));return t.rotate(u),o.sphere=function(){var r,t;B((t=[].concat(wr(-180,180+(r=180/n)/2,r).map(Mo),wr(180,-180-r/2,-r).map(wo)),{type:"Polygon",coordinates:[180===r?t.map(Eo):t]}),i)},o},t.scale(239.75)};function Po(n){var r,t=1+n,e=ge(_t(1/t)),u=2*pe(ee/(r=ee+4*e*t)),o=.5*u*(t+pe(n*(2+n))),i=n*n,c=t*t;function f(f,a){var l,v,g=1-_t(a);if(g&&g<2){var h,p=ue-a,d=25;do{var s=_t(p),y=Yt(p),M=e+Xt(s,t-y),w=1+c-2*t*y;p-=h=(p-i*e-t*s+w*M-.5*g*r)/(2*t*s*M)}while(Vt(h)>te&&--d>0);l=u*pe(w),v=f*M/ee}else l=u*(n+g),v=f*e/ee;return[l*_t(v),o-l*Yt(v)]}return f.invert=function(n,f){var a=n*n+(f-=o)*f,l=(1+c-a/(u*u))/(2*t),v=he(l),g=_t(v),h=e+Xt(g,t-l);return[ge(n/pe(a))*ee/h,ge(1-2*(v-i*e-t*g+(1+c-2*t*l)*h)/r)]},f}var Ao=function(){var n=1,r=Et(Po),t=r(n);return t.ratio=function(t){return arguments.length?r(n=+t):n},t.scale(167.774).center([0,18.67])},Ro=.7109889596207567,Go=.0528035274542;function No(n,r){return r>-Ro?((n=je(n,r))[1]+=Go,n):Ze(n,r)}No.invert=function(n,r){return r>-Ro?je.invert(n,r-Go):Ze.invert(n,r)};var ko=function(){return wt(No).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function Fo(n,r){return Vt(r)>Ro?((n=je(n,r))[1]-=r>0?Go:-Go,n):Ze(n,r)}Fo.invert=function(n,r){return Vt(r)>Ro?je.invert(n,r+(r>0?Go:-Go)):Ze.invert(n,r)};var Co=function(){return wt(Fo).scale(152.63)};function zo(n,r,t,e){var u=pe(4*ee/(2*t+(1+n-r/2)*_t(2*t)+(n+r)/2*_t(4*t)+r/2*_t(6*t))),o=pe(e*_t(t)*pe((1+n*Yt(2*t)+r*Yt(4*t))/(1+n+r))),i=t*f(1);function c(t){return pe(1+n*Yt(2*t)+r*Yt(4*t))}function f(e){var u=e*t;return(2*u+(1+n-r/2)*_t(2*u)+(n+r)/2*_t(4*u)+r/2*_t(6*u))/t}function a(n){return c(n)*_t(n)}var l=function(n,r){var e=t*Tu(f,i*_t(r)/t,r/ee);isNaN(e)&&(e=t*mt(r));var a=u*c(e);return[a*o*n/ee*Yt(e),a/o*_t(e)]};return l.invert=function(n,r){var e=Tu(a,r*o/u);return[n*ee/(Yt(e)*u*o*c(e)),ge(t*f(e/t)/i)]},0===t&&(u=pe(e/ee),(l=function(n,r){return[n*u,_t(r)/u]}).invert=function(n,r){return[n/u,ge(r*u)]}),l}var Do=function(){var n=1,r=0,t=45*ve,e=2,u=Et(zo),o=u(n,r,t,e);return o.a=function(o){return arguments.length?u(n=+o,r,t,e):n},o.b=function(o){return arguments.length?u(n,r=+o,t,e):r},o.psiMax=function(o){return arguments.length?u(n,r,t=+o*ve,e):t*le},o.ratio=function(o){return arguments.length?u(n,r,t,e=+o):e},o.scale(180.739)};function Lo(n,r,t,e,u){void 0===e&&(e=1e-8),void 0===u&&(u=20);var o=n(r),i=n(.5*(r+t)),c=n(t);return function n(r,t,e,u,o,i,c,f,a,l,v){if(v.nanEncountered)return NaN;var g,h,p,d,s,y,M,w,E,S;if(h=r(t+.25*(g=e-t)),p=r(e-.25*g),isNaN(h))v.nanEncountered=!0;else{if(!isNaN(p))return S=((y=(d=g*(u+4*h+o)/12)+(s=g*(o+4*p+i)/12))-c)/15,l>a?(v.maxDepthCount++,y+S):Math.abs(S)<f?y+S:(w=n(r,t,M=t+.5*g,u,h,o,d,.5*f,a,l+1,v),isNaN(w)?(v.nanEncountered=!0,NaN):(E=n(r,M,e,o,p,i,s,.5*f,a,l+1,v),isNaN(E)?(v.nanEncountered=!0,NaN):w+E));v.nanEncountered=!0}}(n,r,t,o,i,c,(o+4*i+c)*(t-r)/6,e,u,1,{maxDepthCount:0,nanEncountered:!1})}function Oo(n,r,t){function e(t){return n+(1-n)*qt(1-qt(t,r),1/r)}function u(n){return Lo(e,0,n,1e-4)}for(var o=1/u(1),i=1e3,c=(1+1e-8)*o,f=[],a=0;a<=i;a++)f.push(u(a/i)*c);function l(n){var r=0,t=i,e=i>>1;do{f[e]>n?t=e:r=e,e=r+t>>1}while(e>r);var u=f[e+1]-f[e];return u&&(u=(n-f[e+1])/u),(e+1+u)/i}var v=2*l(1)/ee*o/t,g=function(n,r){var t=l(Vt(_t(r))),u=e(t)*n;return t/=v,[u,r>=0?t:-t]};return g.invert=function(n,r){var t;return Vt(r*=v)<1&&(t=mt(r)*ge(u(Vt(r))*o)),[n/e(Vt(r)),t]},g}var Io=function(){var n=0,r=2.5,t=1.183136,e=Et(Oo),u=e(n,r,t);return u.alpha=function(u){return arguments.length?e(n=+u,r,t):n},u.k=function(u){return arguments.length?e(n,r=+u,t):r},u.gamma=function(u){return arguments.length?e(n,r,t=+u):t},u.scale(152.63)};function Wo(n,r){return Vt(n[0]-r[0])<re&&Vt(n[1]-r[1])<re}function Ho(n,r){for(var t,e,u,o=-1,i=n.length,c=n[0],f=[];++o<i;){e=((t=n[o])[0]-c[0])/r,u=(t[1]-c[1])/r;for(var a=0;a<r;++a)f.push([c[0]+a*e,c[1]+a*u]);c=t}return f.push(t),f}var To=function(n,r){var t,e;function u(t,e){for(var u=e<0?-1:1,o=r[+(e<0)],i=0,c=o.length-1;i<c&&t>o[i][2][0];++i);var f=n(t-o[i][1][0],e);return f[0]+=n(o[i][1][0],u*e>u*o[i][0][1]?o[i][0][1]:e)[0],f}n.invert&&(u.invert=function(t,o){for(var i=e[+(o<0)],c=r[+(o<0)],f=0,a=i.length;f<a;++f){var l=i[f];if(l[0][0]<=t&&t<l[1][0]&&l[0][1]<=o&&o<l[1][1]){var v=n.invert(t-n(c[f][1][0],0)[0],o);return v[0]+=c[f][1][0],Wo(u(v[0],v[1]),[t,o])?v:null}}});var o=wt(u),i=o.stream;return o.stream=function(n){var r=o.rotate(),e=i(n),u=(o.rotate([0,0]),i(n));return o.rotate(r),e.sphere=function(){B(t,u)},e},o.lobes=function(u){return arguments.length?(t=function(n){var r,t,e,u,o,i,c,f=[],a=n[0].length;for(c=0;c<a;++c)t=(r=n[0][c])[0][0],e=r[0][1],u=r[1][1],o=r[2][0],i=r[2][1],f.push(Ho([[t+re,e+re],[t+re,u-re],[o-re,u-re],[o-re,i+re]],30));for(c=n[1].length-1;c>=0;--c)t=(r=n[1][c])[0][0],e=r[0][1],u=r[1][1],o=r[2][0],i=r[2][1],f.push(Ho([[o-re,i-re],[o-re,u+re],[t+re,u+re],[t+re,e-re]],30));return{type:"Polygon",coordinates:[Er(f)]}}(u),r=u.map(function(n){return n.map(function(n){return[[n[0][0]*ve,n[0][1]*ve],[n[1][0]*ve,n[1][1]*ve],[n[2][0]*ve,n[2][1]*ve]]})}),e=r.map(function(r){return r.map(function(r){var t,e=n(r[0][0],r[0][1])[0],u=n(r[2][0],r[2][1])[0],o=n(r[1][0],r[0][1])[1],i=n(r[1][0],r[1][1])[1];return o>i&&(t=o,o=i,i=t),[[e,o],[u,i]]})}),o):r.map(function(n){return n.map(function(n){return[[n[0][0]*le,n[0][1]*le],[n[1][0]*le,n[1][1]*le],[n[2][0]*le,n[2][1]*le]]})})},null!=r&&o.lobes(r),o},jo=[[[[-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]]]],Bo=function(){return To(Ue,jo).scale(160.857)},Qo=[[[[-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]]]],Vo=function(){return To(Fo,Qo).scale(152.63)},Uo=[[[[-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]]]],Xo=function(){return To(je,Uo).scale(169.529)},Yo=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]],Zo=function(){return To(je,Yo).scale(169.529).rotate([20,0])},Jo=[[[[-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]]]],$o=function(){return To(No,Jo).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},Ko=[[[[-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]]]],xo=function(){return To(Ze,Ko).scale(152.63).rotate([-20,0])};function qo(n,r){return[3/ae*n*pe(ee*ee/3-r*r),r]}qo.invert=function(n,r){return[ae/3*n/pe(ee*ee/3-r*r),r]};var bo=function(){return wt(qo).scale(158.837)};function mo(n){function r(r,t){if(Vt(Vt(t)-ue)<re)return[0,t<0?-2:2];var e=_t(t),u=qt((1+e)/(1-e),n/2),o=.5*(u+1/u)+Yt(r*=n);return[2*_t(r)/o,(u-1/u)/o]}return r.invert=function(r,t){var e=Vt(t);if(Vt(e-2)<re)return r?null:[0,mt(t)*ue];if(e>2)return null;var u=(r/=2)*r,o=(t/=2)*t,i=2*t/(1+u+o);return i=qt((1+i)/(1-i),1/n),[Xt(2*r,1-u-o)/n,ge((i-1)/(i+1))]},r}var _o=function(){var n=.5,r=Et(mo),t=r(n);return t.spacing=function(t){return arguments.length?r(n=+t):n},t.scale(124.75)},ni=ee/ce;function ri(n,r){return[n*(1+pe(Yt(r)))/2,r/(Yt(r/2)*Yt(n/6))]}ri.invert=function(n,r){var t=Vt(n),e=Vt(r),u=re,o=ue;e<ni?o*=e/ni:u+=6*he(ni/e);for(var i=0;i<25;i++){var c=_t(o),f=pe(Yt(o)),a=_t(o/2),l=Yt(o/2),v=_t(u/6),g=Yt(u/6),h=.5*u*(1+f)-t,p=o/(l*g)-e,d=f?-.25*u*c/f:0,s=.5*(1+f),y=(1+.5*o*a/l)/(l*g),M=o/l*(v/6)/(g*g),w=d*M-y*s,E=(h*M-p*s)/w,S=(p*d-h*y)/w;if(o-=E,u-=S,Vt(E)<re&&Vt(S)<re)break}return[n<0?-u:u,r<0?-o:o]};var ti=function(){return wt(ri).scale(97.2672)};function ei(n,r){var t=n*n,e=r*r;return[n*(.975534+e*(-.0143059*t-.119161+-.0547009*e)),r*(1.00384+t*(.0802894+-.02855*e+199025e-9*t)+e*(.0998909+-.0491032*e))]}ei.invert=function(n,r){var t=mt(n)*ee,e=r/2,u=50;do{var o=t*t,i=e*e,c=t*e,f=t*(.975534+i*(-.0143059*o-.119161+-.0547009*i))-n,a=e*(1.00384+o*(.0802894+-.02855*i+199025e-9*o)+i*(.0998909+-.0491032*i))-r,l=.975534-i*(.119161+3*o*.0143059+.0547009*i),v=-c*(.238322+.2188036*i+.0286118*o),g=c*(.1605788+7961e-7*o+-.0571*i),h=1.00384+o*(.0802894+199025e-9*o)+i*(3*(.0998909-.02855*o)-.245516*i),p=v*g-h*l,d=(a*v-f*h)/p,s=(f*g-a*l)/p;t-=d,e-=s}while((Vt(d)>re||Vt(s)>re)&&--u>0);return u&&[t,e]};var ui=function(){return wt(ei).scale(139.98)};function oi(n,r){return[_t(n)/Yt(r),ne(r)*Yt(n)]}oi.invert=function(n,r){var t=n*n,e=r*r+1,u=t+e,o=n?ie*pe((u-pe(u*u-4*t))/t):1/pe(e);return[ge(n*o),mt(r)*he(o)]};var ii=function(){return wt(oi).scale(144.049).clipAngle(89.999)};function ci(n){var r=Yt(n),t=ne(oe+n/2);function e(e,u){var o=u-n,i=Vt(o)<re?e*r:Vt(i=oe+u/2)<re||Vt(Vt(i)-ue)<re?0:e*o/$t(ne(i)/t);return[i,o]}return e.invert=function(e,u){var o,i=u+n;return[Vt(u)<re?e/r:Vt(o=oe+i/2)<re||Vt(Vt(o)-ue)<re?0:e*$t(ne(o)/t)/u,i]},e}var fi=function(){return Ye(ci).parallel(40).scale(158.837)};function ai(n,r){return[n,1.25*$t(ne(oe+.4*r))]}ai.invert=function(n,r){return[n,2.5*Ut(Zt(.8*r))-.625*ee]};var li=function(){return wt(ai).scale(108.318)};function vi(n){var r=n.length-1;function t(t,e){for(var u,o=Yt(e),i=2/(1+o*Yt(t)),c=i*o*_t(t),f=i*_t(e),a=r,l=n[a],v=l[0],g=l[1];--a>=0;)v=(l=n[a])[0]+c*(u=v)-f*g,g=l[1]+c*g+f*u;return[v=c*(u=v)-f*g,g=c*g+f*u]}return t.invert=function(t,e){var u=20,o=t,i=e;do{for(var c,f=r,a=n[f],l=a[0],v=a[1],g=0,h=0;--f>=0;)g=l+o*(c=g)-i*h,h=v+o*h+i*c,l=(a=n[f])[0]+o*(c=l)-i*v,v=a[1]+o*v+i*c;var p,d,s=(g=l+o*(c=g)-i*h)*g+(h=v+o*h+i*c)*h;o-=p=((l=o*(c=l)-i*v-t)*g+(v=o*v+i*c-e)*h)/s,i-=d=(v*g-l*h)/s}while(Vt(p)+Vt(d)>re*re&&--u>0);if(u){var y=pe(o*o+i*i),M=2*Ut(.5*y),w=_t(M);return[Xt(o*w,y*Yt(M)),y?ge(i*w/y):0]}},t}var gi=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],hi=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],pi=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],di=[[.9245,0],[0,0],[.01943,0]],si=[[.721316,0],[0,0],[-.00881625,-.00617325]];function yi(){return Pi(gi,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function Mi(){return Pi(hi,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function wi(){return Pi(pi,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Ei(){return Pi(di,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Si(){return Pi(si,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Pi(n,r){var t=wt(vi(n)).rotate(r).clipAngle(90),e=or(r),u=t.center;return delete t.rotate,t.center=function(n){return arguments.length?u(e(n)):e.invert(u())},t}var Ai=pe(6),Ri=pe(7);function Gi(n,r){var t=ge(7*_t(r)/(3*Ai));return[Ai*n*(2*Yt(2*t/3)-1)/Ri,9*_t(t/3)/Ri]}Gi.invert=function(n,r){var t=3*ge(r*Ri/9);return[n*Ri/(Ai*(2*Yt(2*t/3)-1)),ge(3*_t(t)*Ai/7)]};var Ni=function(){return wt(Gi).scale(164.859)};function ki(n,r){for(var t,e=(1+ie)*_t(r),u=r,o=0;o<25&&(u-=t=(_t(u/2)+_t(u)-e)/(.5*Yt(u/2)+Yt(u)),!(Vt(t)<re));o++);return[n*(1+2*Yt(u)/Yt(u/2))/(3*ce),2*pe(3)*_t(u/2)/pe(2+ce)]}ki.invert=function(n,r){var t=r*pe(2+ce)/(2*pe(3)),e=2*ge(t);return[3*ce*n/(1+2*Yt(e)/Yt(e/2)),ge((t+_t(e))/(1+ie))]};var Fi=function(){return wt(ki).scale(188.209)};function Ci(n,r){for(var t,e=pe(6/(4+ee)),u=(1+ee/4)*_t(r),o=r/2,i=0;i<25&&(o-=t=(o/2+_t(o)-u)/(.5+Yt(o)),!(Vt(t)<re));i++);return[e*(.5+Yt(o))*n/1.5,e*o]}Ci.invert=function(n,r){var t=pe(6/(4+ee)),e=r/t;return Vt(Vt(e)-ue)<re&&(e=e<0?-ue:ue),[1.5*n/(t*(.5+Yt(e))),ge((e/2+_t(e))/(1+ee/4))]};var zi=function(){return wt(Ci).scale(166.518)};function Di(n,r){var t=r*r,e=t*t,u=t*e;return[n*(.84719-.13063*t+u*u*(.05494*t-.04515-.02326*e+.00331*u)),r*(1.01183+e*e*(.01926*t-.02625-.00396*e))]}Di.invert=function(n,r){var t,e,u,o,i=r,c=25;do{i-=t=(i*(1.01183+(u=(e=i*i)*e)*u*(.01926*e-.02625-.00396*u))-r)/(1.01183+u*u*(.21186*e-.23625+-.05148*u))}while(Vt(t)>te&&--c>0);return[n/(.84719-.13063*(e=i*i)+(o=e*(u=e*e))*o*(.05494*e-.04515-.02326*u+.00331*o)),i]};var Li=function(){return wt(Di).scale(175.295)};function Oi(n,r){return[n*(1+Yt(r))/2,2*(r-ne(r/2))]}Oi.invert=function(n,r){for(var t=r/2,e=0,u=1/0;e<10&&Vt(u)>re;++e){var o=Yt(r/2);r-=u=(r-ne(r/2)-t)/(1-.5/(o*o))}return[2*n/(1+Yt(r)),r]};var Ii=function(){return wt(Oi).scale(152.63)};function Wi(n,r){var t=_t(r),e=Yt(r),u=mt(n);if(0===n||Vt(r)===ue)return[0,r];if(0===r)return[n,0];if(Vt(n)===ue)return[n*e,ue*t];var o=ee/(2*n)-2*n/ee,i=2*r/ee,c=(1-i*i)/(t-i),f=o*o,a=c*c,l=1+f/a,v=1+a/f,g=(o*t/c-o/2)/l,h=(a*t/f+c/2)/v,p=h*h-(a*t*t/f+c*t-1)/v;return[ue*(g+pe(g*g+e*e/l)*u),ue*(h+pe(p<0?0:p)*mt(-r*o)*u)]}Wi.invert=function(n,r){var t=(n/=ue)*n,e=t+(r/=ue)*r,u=ee*ee;return[n?(e-1+pe((1-e)*(1-e)+4*t))/(2*n)*ue:0,Tu(function(n){return e*(ee*_t(n)-2*n)*ee+4*n*n*(r-_t(n))+2*ee*n-u*r},0)]};var Hi=function(){return wt(Wi).scale(127.267)},Ti=1.0148,ji=.23185,Bi=-.14499,Qi=.02406,Vi=Ti,Ui=5*ji,Xi=7*Bi,Yi=9*Qi;function Zi(n,r){var t=r*r;return[n,r*(Ti+t*t*(ji+t*(Bi+Qi*t)))]}Zi.invert=function(n,r){r>1.790857183?r=1.790857183:r<-1.790857183&&(r=-1.790857183);var t,e=r;do{var u=e*e;e-=t=(e*(Ti+u*u*(ji+u*(Bi+Qi*u)))-r)/(Vi+u*u*(Ui+u*(Xi+Yi*u)))}while(Vt(t)>re);return[n,e]};var Ji=function(){return wt(Zi).scale(139.319)};function $i(n,r){if(Vt(r)<re)return[n,0];var t=ne(r),e=n*_t(r);return[_t(e)/t,r+(1-Yt(e))/t]}$i.invert=function(n,r){if(Vt(r)<re)return[n,0];var t,e=n*n+r*r,u=.5*r,o=10;do{var i=ne(u),c=1/Yt(u),f=e-2*r*u+u*u;u-=t=(i*f+2*(u-r))/(2+f*c*c+2*(u-r)*i)}while(Vt(t)>re&&--o>0);return i=ne(u),[(Vt(r)<Vt(u+1/i)?ge(n*i):mt(n)*(he(Vt(n*i))+ue))/_t(u),u]};var Ki=function(){return wt($i).scale(103.74)},xi=function(n,r){var t=bi(n[1],n[0]),e=bi(r[1],r[0]),u=function(n,r){return Xt(n[0]*r[1]-n[1]*r[0],n[0]*r[0]+n[1]*r[1])}(t,e),o=mi(t)/mi(e);return qi([1,0,n[0][0],0,1,n[0][1]],qi([o,0,0,0,o,0],qi([Yt(u),_t(u),0,-_t(u),Yt(u),0],[1,0,-r[0][0],0,1,-r[0][1]])))};function qi(n,r){return[n[0]*r[0]+n[1]*r[3],n[0]*r[1]+n[1]*r[4],n[0]*r[2]+n[1]*r[5]+n[2],n[3]*r[0]+n[4]*r[3],n[3]*r[1]+n[4]*r[4],n[3]*r[2]+n[4]*r[5]+n[5]]}function bi(n,r){return[n[0]-r[0],n[1]-r[1]]}function mi(n){return pe(n[0]*n[0]+n[1]*n[1])}var _i=function(n,r,t){function e(n,t){var e,u=r(n,t),o=u.project([n*le,t*le]);return(e=u.transform)?[e[0]*o[0]+e[1]*o[1]+e[2],-(e[3]*o[0]+e[4]*o[1]+e[5])]:(o[1]=-o[1],o)}!function n(r,t){r.edges=function(n){for(var r=n.length,t=[],e=n[r-1],u=0;u<r;++u)t.push([e,e=n[u]]);return t}(r.face);if(t.face){var e=r.shared=function(n,r){for(var t,e,u=n.length,o=null,i=0;i<u;++i){t=n[i];for(var c=r.length;--c>=0;)if(e=r[c],t[0]===e[0]&&t[1]===e[1]){if(o)return[o,t];o=t}}}(r.face,t.face),u=xi(e.map(t.project),e.map(r.project));r.transform=t.transform?qi(t.transform,u):u;for(var o=t.edges,i=0,c=o.length;i<c;++i)nc(e[0],o[i][1])&&nc(e[1],o[i][0])&&(o[i]=r),nc(e[0],o[i][0])&&nc(e[1],o[i][1])&&(o[i]=r);for(o=r.edges,i=0,c=o.length;i<c;++i)nc(e[0],o[i][0])&&nc(e[1],o[i][1])&&(o[i]=t),nc(e[0],o[i][1])&&nc(e[1],o[i][0])&&(o[i]=t)}else r.transform=t.transform;r.children&&r.children.forEach(function(t){n(t,r)});return r}(n,{transform:null}),rc(n)&&(e.invert=function(t,e){var u=function n(t,e){var u=t.project.invert,o=t.transform,i=e;o&&(f=1/((c=o)[0]*c[4]-c[1]*c[3]),o=[f*c[4],-f*c[1],f*(c[1]*c[5]-c[2]*c[4]),-f*c[3],f*c[0],f*(c[2]*c[3]-c[0]*c[5])],i=[o[0]*i[0]+o[1]*i[1]+o[2],o[3]*i[0]+o[4]*i[1]+o[5]]);var c,f;if(u&&t===function(n){return r(n[0]*ve,n[1]*ve)}(a=u(i)))return a;var a,l=t.children;for(var v=0,g=l&&l.length;v<g;++v)if(a=n(l[v],e))return a}(n,[t,-e]);return u&&(u[0]*=ve,u[1]*=ve,u)});var u=wt(e),o=u.stream;return u.stream=function(r){var t=u.rotate(),e=o(r),i=(u.rotate([0,0]),o(r));return u.rotate(t),e.sphere=function(){i.polygonStart(),i.lineStart(),function n(r,t,e){var u,o,i=t.edges,c=i.length,f={type:"MultiPoint",coordinates:t.face},a=t.face.filter(function(n){return 90!==Vt(n[1])}),l=Bn({type:"MultiPoint",coordinates:a}),v=!1,g=-1,h=l[1][0]-l[0][0];var p=180===h||360===h?[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]:bn(f);if(e)for(;++g<c&&i[g]!==e;);++g;for(var d=0;d<c;++d)o=i[(d+g)%c],Array.isArray(o)?(v||(r.point((u=br(o[0],p)(re))[0],u[1]),v=!0),r.point((u=br(o[1],p)(re))[0],u[1])):(v=!1,o!==e&&n(r,o,t))}(i,n),i.lineEnd(),i.polygonEnd()},e},u.angle(null==t?-30:t*le)};function nc(n,r){return n&&r&&n[0]===r[0]&&n[1]===r[1]}function rc(n){return n.project.invert||n.children&&n.children.some(rc)}var tc=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],ec=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(n){return n.map(function(n){return tc[n]})}),uc=function(n){n=n||function(n){var r=bn({type:"MultiPoint",coordinates:n});return It().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=ec.map(function(r){return{face:r,project:n(r)}});return[-1,0,0,1,0,1,4,5].forEach(function(n,t){var e=r[n];e&&(e.children||(e.children=[])).push(r[t])}),_i(r[0],function(n,t){return r[n<-ee/2?t<0?6:4:n<0?t<0?2:0:n<ee/2?t<0?3:1:t<0?7:5]}).angle(-30).scale(101.858).center([0,45])},oc=2/pe(3);function ic(n,r){var t=iu(n,r);return[t[0]*oc,t[1]]}ic.invert=function(n,r){return iu.invert(n/oc,r)};var cc=function(n){n=n||function(n){var r=bn({type:"MultiPoint",coordinates:n});return wt(ic).translate([0,0]).scale(1).rotate(r[1]>0?[-r[0],0]:[180-r[0],180])};var r=ec.map(function(r){return{face:r,project:n(r)}});return[-1,0,0,1,0,1,4,5].forEach(function(n,t){var e=r[n];e&&(e.children||(e.children=[])).push(r[t])}),_i(r[0],function(n,t){return r[n<-ee/2?t<0?6:4:n<0?t<0?2:0:n<ee/2?t<0?3:1:t<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])},fc=function(n){n=n||function(n){var r=6===n.length?bn({type:"MultiPoint",coordinates:n}):n[0];return It().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=ec.map(function(n){for(var r,t=n.map(vc),e=t.length,u=t[e-1],o=[],i=0;i<e;++i)r=t[i],o.push(lc([.9486832980505138*u[0]+.31622776601683794*r[0],.9486832980505138*u[1]+.31622776601683794*r[1],.9486832980505138*u[2]+.31622776601683794*r[2]]),lc([.9486832980505138*r[0]+.31622776601683794*u[0],.9486832980505138*r[1]+.31622776601683794*u[1],.9486832980505138*r[2]+.31622776601683794*u[2]])),u=r;return o}),t=[],e=[-1,0,0,1,0,1,4,5];r.forEach(function(n,u){for(var o,i,c=ec[u],f=c.length,a=t[u]=[],l=0;l<f;++l)r.push([c[l],n[(2*l+2)%(2*f)],n[(2*l+1)%(2*f)]]),e.push(u),a.push((o=vc(n[(2*l+2)%(2*f)]),i=vc(n[(2*l+1)%(2*f)]),[o[1]*i[2]-o[2]*i[1],o[2]*i[0]-o[0]*i[2],o[0]*i[1]-o[1]*i[0]]))});var u=r.map(function(r){return{project:n(r),face:r}});return e.forEach(function(n,r){var t=u[n];t&&(t.children||(t.children=[])).push(u[r])}),_i(u[0],function(n,r){var e=Yt(r),o=[e*Yt(n),e*_t(n),_t(r)],i=n<-ee/2?r<0?6:4:n<0?r<0?2:0:n<ee/2?r<0?3:1:r<0?7:5,c=t[i];return u[ac(c[0],o)<0?8+3*i:ac(c[1],o)<0?8+3*i+1:ac(c[2],o)<0?8+3*i+2:i]}).angle(-30).scale(110.625).center([0,45])};function ac(n,r){for(var t=0,e=n.length,u=0;t<e;++t)u+=n[t]*r[t];return u}function lc(n){return[Xt(n[1],n[0])*le,ge(Kt(-1,xt(1,n[2])))*le]}function vc(n){var r=n[0]*ve,t=n[1]*ve,e=Yt(t);return[e*Yt(r),e*_t(r),_t(t)]}var gc=function(){},hc=function(n,r){var t,e=r.stream;if(!e)throw new Error("invalid projection");switch(n&&n.type){case"Feature":t=dc;break;case"FeatureCollection":t=pc;break;default:t=sc}return t(n,e)};function pc(n,r){return{type:"FeatureCollection",features:n.features.map(function(n){return dc(n,r)})}}function dc(n,r){return{type:"Feature",id:n.id,properties:n.properties,geometry:sc(n.geometry,r)}}function sc(n,r){if(!n)return null;if("GeometryCollection"===n.type)return function(n,r){return{type:"GeometryCollection",geometries:n.geometries.map(function(n){return sc(n,r)})}}(n,r);var t;switch(n.type){case"Point":case"MultiPoint":t=wc;break;case"LineString":case"MultiLineString":t=Ec;break;case"Polygon":case"MultiPolygon":case"Sphere":t=Sc;break;default:return null}return B(n,r(t)),t.result()}var yc=[],Mc=[],wc={point:function(n,r){yc.push([n,r])},result:function(){var n=yc.length?yc.length<2?{type:"Point",coordinates:yc[0]}:{type:"MultiPoint",coordinates:yc}:null;return yc=[],n}},Ec={lineStart:gc,point:function(n,r){yc.push([n,r])},lineEnd:function(){yc.length&&(Mc.push(yc),yc=[])},result:function(){var n=Mc.length?Mc.length<2?{type:"LineString",coordinates:Mc[0]}:{type:"MultiLineString",coordinates:Mc}:null;return Mc=[],n}},Sc={polygonStart:gc,lineStart:gc,point:function(n,r){yc.push([n,r])},lineEnd:function(){var n=yc.length;if(n){do{yc.push(yc[0].slice())}while(++n<4);Mc.push(yc),yc=[]}},polygonEnd:gc,result:function(){if(!Mc.length)return null;var n=[],r=[];return Mc.forEach(function(t){!function(n){if((r=n.length)<4)return!1;for(var r,t=0,e=n[r-1][1]*n[0][0]-n[r-1][0]*n[0][1];++t<r;)e+=n[t-1][1]*n[t][0]-n[t-1][0]*n[t][1];return e<=0}(t)?r.push(t):n.push([t])}),r.forEach(function(r){var t=r[0];n.some(function(n){if(function(n,r){for(var t=r[0],e=r[1],u=!1,o=0,i=n.length,c=i-1;o<i;c=o++){var f=n[o],a=f[0],l=f[1],v=n[c],g=v[0],h=v[1];l>e^h>e&&t<(g-a)*(e-l)/(h-l)+a&&(u=!u)}return u}(n[0],t))return n.push(r),!0})||n.push([r])}),Mc=[],n.length?n.length>1?{type:"MultiPolygon",coordinates:n}:{type:"Polygon",coordinates:n[0]}:null}},Pc=function(n){var r=n(ue,0)[0]-n(-ue,0)[0];function t(t,e){var u=Vt(t)<ue,o=n(u?t:t>0?t-ee:t+ee,e),i=(o[0]-o[1])*ie,c=(o[0]+o[1])*ie;if(u)return[i,c];var f=r*ie,a=i>0^c>0?-1:1;return[a*i-mt(c)*f,a*c-mt(i)*f]}return n.invert&&(t.invert=function(t,e){var u=(t+e)*ie,o=(e-t)*ie,i=Vt(u)<.5*r&&Vt(o)<.5*r;if(!i){var c=r*ie,f=u>0^o>0?-1:1,a=-f*t+(o>0?1:-1)*c,l=-f*e+(u>0?1:-1)*c;u=(-a-l)*ie,o=(a-l)*ie}var v=n.invert(u,o);return i||(v[0]+=u>0?ee:-ee),v}),wt(t).rotate([-90,-90,45]).clipAngle(179.999)},Ac=function(){return Pc(oo).scale(176.423)},Rc=function(){return Pc(ao).scale(111.48)},Gc=function(n,r){if(!(0<=(r=+r)&&r<=20))throw new Error("invalid digits");function t(n){var t=n.length,e=2,u=new Array(t);for(u[0]=+n[0].toFixed(r),u[1]=+n[1].toFixed(r);e<t;)u[e]=n[e],++e;return u}function e(n){return n.map(t)}function u(n){for(var r=t(n[0]),e=[r],u=1;u<n.length;u++){var o=t(n[u]);(o.length>2||o[0]!=r[0]||o[1]!=r[1])&&(e.push(o),r=o)}return 1===e.length&&n.length>1&&e.push(t(n[n.length-1])),e}function o(n){return n.map(u)}function i(n){if(null==n)return n;var r;switch(n.type){case"GeometryCollection":r={type:"GeometryCollection",geometries:n.geometries.map(i)};break;case"Point":r={type:"Point",coordinates:t(n.coordinates)};break;case"MultiPoint":r={type:n.type,coordinates:e(n.coordinates)};break;case"LineString":r={type:n.type,coordinates:u(n.coordinates)};break;case"MultiLineString":case"Polygon":r={type:n.type,coordinates:o(n.coordinates)};break;case"MultiPolygon":r={type:"MultiPolygon",coordinates:n.coordinates.map(o)};break;default:return n}return null!=n.bbox&&(r.bbox=n.bbox),r}function c(n){var r={type:"Feature",properties:n.properties,geometry:i(n.geometry)};return null!=n.id&&(r.id=n.id),null!=n.bbox&&(r.bbox=n.bbox),r}if(null!=n)switch(n.type){case"Feature":return c(n);case"FeatureCollection":var f={type:"FeatureCollection",features:n.features.map(c)};return null!=n.bbox&&(f.bbox=n.bbox),f;default:return i(n)}return n};function Nc(n){var r=_t(n);function t(t,e){var u=r?ne(t*r/2)/r:t/2;if(!e)return[2*u,-n];var o=2*Ut(u*_t(e)),i=1/ne(e);return[_t(o)*i,e+(1-Yt(o))*i-n]}return t.invert=function(t,e){if(Vt(e+=n)<re)return[r?2*Ut(r*t/2)/r:t,0];var u,o=t*t+e*e,i=0,c=10;do{var f=ne(i),a=1/Yt(i),l=o-2*e*i+i*i;i-=u=(f*l+2*(i-e))/(2+l*a*a+2*(i-e)*f)}while(Vt(u)>re&&--c>0);var v=t*(f=ne(i)),g=ne(Vt(e)<Vt(i+1/f)?.5*ge(v):.5*he(v)+ee/4)/_t(i);return[r?2*Ut(r*g)/r:2*g,i]},t}var kc=function(){return Ye(Nc).scale(131.215)},Fc=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function Cc(n,r){var t,e=xt(18,36*Vt(r)/ee),u=Jt(e),o=e-u,i=(t=Fc[u])[0],c=t[1],f=(t=Fc[++u])[0],a=t[1],l=(t=Fc[xt(19,++u)])[0],v=t[1];return[n*(f+o*(l-i)/2+o*o*(l-2*f+i)/2),(r>0?ue:-ue)*(a+o*(v-c)/2+o*o*(v-2*a+c)/2)]}Fc.forEach(function(n){n[1]*=1.0144}),Cc.invert=function(n,r){var t=r/ue,e=90*t,u=xt(18,Vt(e/5)),o=Kt(0,Jt(u));do{var i=Fc[o][1],c=Fc[o+1][1],f=Fc[xt(19,o+2)][1],a=f-i,l=f-2*c+i,v=2*(Vt(t)-c)/a,g=l/a,h=v*(1-g*v*(1-2*g*v));if(h>=0||1===o){e=(r>=0?5:-5)*(h+u);var p,d=50;do{h=(u=xt(18,Vt(e)/5))-(o=Jt(u)),i=Fc[o][1],c=Fc[o+1][1],f=Fc[xt(19,o+2)][1],e-=(p=(r>=0?ue:-ue)*(c+h*(f-i)/2+h*h*(f-2*c+i)/2)-r)*le}while(Vt(p)>te&&--d>0);break}}while(--o>=0);var s=Fc[o][0],y=Fc[o+1][0],M=Fc[xt(19,o+2)][0];return[n/(y+h*(M-s)/2+h*h*(M-2*y+s)/2),e*ve]};var zc=function(){return wt(Cc).scale(152.63)};function Dc(n,r){var t=function(n){function r(r,t){var e=Yt(t),u=(n-1)/(n-e*Yt(r));return[u*e*_t(r),u*_t(t)]}return r.invert=function(r,t){var e=r*r+t*t,u=pe(e),o=(n-pe(1-e*(n+1)/(n-1)))/((n-1)/u+u/(n-1));return[Xt(r*o,u*pe(1-o*o)),u?ge(t*o/u):0]},r}(n);if(!r)return t;var e=Yt(r),u=_t(r);function o(r,o){var i=t(r,o),c=i[1],f=c*u/(n-1)+e;return[i[0]*e/f,c/f]}return o.invert=function(r,o){var i=(n-1)/(n-1-o*u);return t.invert(i*r,i*o*e)},o}var Lc=function(){var n=2,r=0,t=Et(Dc),e=t(n,r);return e.distance=function(e){return arguments.length?t(n=+e,r):n},e.tilt=function(e){return arguments.length?t(n,r=e*ve):r*le},e.scale(432.147).clipAngle(he(1/n)*le-1e-6)},Oc=1e4,Ic=-180,Wc=Ic+1e-4,Hc=180,Tc=Hc-1e-4,jc=-90,Bc=jc+1e-4,Qc=90,Vc=Qc-1e-4;function Uc(n){return n.length>0}function Xc(n){return n===jc||n===Qc?[0,n]:[Ic,(r=n,Math.floor(r*Oc)/Oc)];var r}function Yc(n){var r=n[0],t=n[1],e=!1;return r<=Wc?(r=Ic,e=!0):r>=Tc&&(r=Hc,e=!0),t<=Bc?(t=jc,e=!0):t>=Vc&&(t=Qc,e=!0),e?[r,t]:n}function Zc(n){return n.map(Yc)}function Jc(n,r,t){for(var e=0,u=n.length;e<u;++e){var o=n[e].slice();t.push({index:-1,polygon:r,ring:o});for(var i=0,c=o.length;i<c;++i){var f=o[i],a=f[0],l=f[1];if(a<=Wc||a>=Tc||l<=Bc||l>=Vc){o[i]=Yc(f);for(var v=i+1;v<c;++v){var g=o[v],h=g[0],p=g[1];if(h>Wc&&h<Tc&&p>Bc&&p<Vc)break}if(v===i+1)continue;if(i){var d={index:-1,polygon:r,ring:o.slice(0,i+1)};d.ring[d.ring.length-1]=Xc(l),t[t.length-1]=d}else t.pop();if(v>=c)break;t.push({index:-1,polygon:r,ring:o=o.slice(v-1)}),o[0]=Xc(o[0][1]),i=-1,c=o.length}}}}function $c(n){var r,t,e,u,o,i,c=n.length,f={},a={};for(r=0;r<c;++r)e=(t=n[r]).ring[0],o=t.ring[t.ring.length-1],e[0]!==o[0]||e[1]!==o[1]?(t.index=r,f[e]=a[o]=t):(t.polygon.push(t.ring),n[r]=null);for(r=0;r<c;++r)if(t=n[r]){if(e=t.ring[0],o=t.ring[t.ring.length-1],u=a[e],i=f[o],delete f[e],delete a[o],e[0]===o[0]&&e[1]===o[1]){t.polygon.push(t.ring);continue}u?(delete a[e],delete f[u.ring[0]],u.ring.pop(),n[u.index]=null,t={index:-1,polygon:u.polygon,ring:u.ring.concat(t.ring)},u===i?t.polygon.push(t.ring):(t.index=c++,n.push(f[t.ring[0]]=a[t.ring[t.ring.length-1]]=t))):i?(delete f[o],delete a[i.ring[i.ring.length-1]],t.ring.pop(),t={index:c++,polygon:i.polygon,ring:t.ring.concat(i.ring)},n[i.index]=null,n.push(f[t.ring[0]]=a[t.ring[t.ring.length-1]]=t)):(t.ring.push(t.ring[0]),t.polygon.push(t.ring))}}function Kc(n){var r={type:"Feature",geometry:xc(n.geometry)};return null!=n.id&&(r.id=n.id),null!=n.bbox&&(r.bbox=n.bbox),null!=n.properties&&(r.properties=n.properties),r}function xc(n){if(null==n)return n;var r,t,e,u;switch(n.type){case"GeometryCollection":r={type:"GeometryCollection",geometries:n.geometries.map(xc)};break;case"Point":r={type:"Point",coordinates:Yc(n.coordinates)};break;case"MultiPoint":case"LineString":r={type:n.type,coordinates:Zc(n.coordinates)};break;case"MultiLineString":r={type:"MultiLineString",coordinates:n.coordinates.map(Zc)};break;case"Polygon":var o=[];Jc(n.coordinates,o,t=[]),$c(t),r={type:"Polygon",coordinates:o};break;case"MultiPolygon":t=[],e=-1,u=n.coordinates.length;for(var i=new Array(u);++e<u;)Jc(n.coordinates[e],i[e]=[],t);$c(t),r={type:"MultiPolygon",coordinates:i.filter(Uc)};break;default:return n}return null!=n.bbox&&(r.bbox=n.bbox),r}var qc=function(n){if(null==n)return n;switch(n.type){case"Feature":return Kc(n);case"FeatureCollection":var r={type:"FeatureCollection",features:n.features.map(Kc)};return null!=n.bbox&&(r.bbox=n.bbox),r;default:return xc(n)}};function bc(n,r){var t=ne(r/2),e=_t(oe*t);return[n*(.74482-.34588*e*e),1.70711*t]}bc.invert=function(n,r){var t=r/1.70711,e=_t(oe*t);return[n/(.74482-.34588*e*e),2*Ut(t)]};var mc=function(){return wt(bc).scale(146.153)},_c=function(n,r,t){var e=br(r,t),u=e(.5),o=or([-u[0],-u[1]])(r),i=e.distance/2,c=-ge(_t(o[1]*ve)/_t(i)),f=[-u[0],-u[1],-(o[0]>0?ee-c:c)*le],a=wt(n(i)).rotate(f),l=or(f),v=a.center;return delete a.rotate,a.center=function(n){return arguments.length?v(l(n)):l.invert(v())},a.clipAngle(90)};function nf(n){var r=Yt(n);function t(n,t){var e=Ot(n,t);return e[0]*=r,e}return t.invert=function(n,t){return Ot.invert(n/r,t)},t}function rf(){return tf([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function tf(n,r){return _c(nf,n,r)}function ef(n){if(!(n*=2))return Rt;var r=-n/2,t=-r,e=n*n,u=ne(t),o=.5/_t(t);function i(u,o){var i=he(Yt(o)*Yt(u-r)),c=he(Yt(o)*Yt(u-t));return[((i*=i)-(c*=c))/(2*n),(o<0?-1:1)*pe(4*e*c-(e-i+c)*(e-i+c))/(2*n)]}return i.invert=function(n,e){var i,c,f=e*e,a=Yt(pe(f+(i=n+r)*i)),l=Yt(pe(f+(i=n+t)*i));return[Xt(c=a-l,i=(a+l)*u),(e<0?-1:1)*he(pe(i*i+c*c)*o)]},i}function uf(){return of([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function of(n,r){return _c(ef,n,r)}function cf(n,r){if(Vt(r)<re)return[n,0];var t=Vt(r/ue),e=ge(t);if(Vt(n)<re||Vt(Vt(r)-ue)<re)return[0,mt(r)*ee*ne(e/2)];var u=Yt(e),o=Vt(ee/n-n/ee)/2,i=o*o,c=u/(t+u-1),f=c*(2/t-1),a=f*f,l=a+i,v=c-a,g=i+c;return[mt(n)*ee*(o*v+pe(i*v*v-l*(c*c-a)))/l,mt(r)*ee*(f*g-o*pe((i+1)*l-g*g))/l]}cf.invert=function(n,r){if(Vt(r)<re)return[n,0];if(Vt(n)<re)return[0,ue*_t(2*Ut(r/ee))];var t=(n/=ee)*n,e=(r/=ee)*r,u=t+e,o=u*u,i=-Vt(r)*(1+u),c=i-2*e+t,f=-2*i+1+2*e+o,a=e/f+(2*c*c*c/(f*f*f)-9*i*c/(f*f))/27,l=(i-c*c/(3*f))/f,v=2*pe(-l/3),g=he(3*a/(l*v))/3;return[ee*(u-1+pe(1+2*(t-e)+o))/(2*n),mt(r)*ee*(-v*Yt(g+ee/3)-c/(3*f))]};var ff=function(){return wt(cf).scale(79.4183)};function af(n,r){if(Vt(r)<re)return[n,0];var t=Vt(r/ue),e=ge(t);if(Vt(n)<re||Vt(Vt(r)-ue)<re)return[0,mt(r)*ee*ne(e/2)];var u=Yt(e),o=Vt(ee/n-n/ee)/2,i=o*o,c=u*(pe(1+i)-o*u)/(1+i*t*t);return[mt(n)*ee*c,mt(r)*ee*pe(1-c*(2*o+c))]}af.invert=function(n,r){if(!n)return[0,ue*_t(2*Ut(r/ee))];var t=Vt(n/ee),e=(1-t*t-(r/=ee)*r)/(2*t),u=pe(e*e+1);return[mt(n)*ee*(u-e),mt(r)*ue*_t(2*Xt(pe((1-2*e*t)*(e+u)-t),pe(u+e+t)))]};var lf=function(){return wt(af).scale(79.4183)};function vf(n,r){if(Vt(r)<re)return[n,0];var t=r/ue,e=ge(t);if(Vt(n)<re||Vt(Vt(r)-ue)<re)return[0,ee*ne(e/2)];var u=(ee/n-n/ee)/2,o=t/(1+Yt(e));return[ee*(mt(n)*pe(u*u+1-o*o)-u),ee*o]}vf.invert=function(n,r){if(!r)return[n,0];var t=r/ee,e=(ee*ee*(1-t*t)-n*n)/(2*ee*n);return[n?ee*(mt(n)*pe(e*e+1)-e):0,ue*_t(2*Ut(t))]};var gf=function(){return wt(vf).scale(79.4183)};function hf(n,r){if(!r)return[n,0];var t=Vt(r);if(!n||t===ue)return[0,r];var e=t/ue,u=e*e,o=(8*e-u*(u+2)-5)/(2*u*(e-1)),i=o*o,c=e*o,f=u+i+2*c,a=e+3*o,l=n/ue,v=l+1/l,g=mt(Vt(n)-ue)*pe(v*v-4),h=g*g,p=(g*(f+i-1)+2*pe(f*(u+i*h-1)+(1-u)*(u*(a*a+4*i)+12*c*i+4*i*i)))/(4*f+h);return[mt(n)*ue*p,mt(r)*ue*pe(1+g*Vt(p)-p*p)]}hf.invert=function(n,r){var t;if(!n||!r)return[n,r];r/=ee;var e=mt(n)*n/ue,u=(e*e-1+4*r*r)/Vt(e),o=u*u,i=2*r,c=50;do{var f=i*i,a=(8*i-f*(f+2)-5)/(2*f*(i-1)),l=(3*i-f*i-10)/(2*f*i),v=a*a,g=i*a,h=i+a,p=h*h,d=i+3*a,s=-2*h*(4*g*v+(1-4*f+3*f*f)*(1+l)+v*(14*f-6-o+(8*f-8-2*o)*l)+g*(12*f-8+(10*f-10-o)*l)),y=pe(p*(f+v*o-1)+(1-f)*(f*(d*d+4*v)+v*(12*g+4*v)));i-=t=(u*(p+v-1)+2*y-e*(4*p+o))/(u*(2*a*l+2*h*(1+l))+s/y-8*h*(u*(-1+v+p)+2*y)*(1+l)/(o+4*p))}while(t>re&&--c>0);return[mt(n)*(pe(u*u+4)+u)*ee/4,ue*i]};var pf=function(){return wt(hf).scale(127.16)};function df(n,r,t,e){var u=ee/3;n=Kt(n,re),r=Kt(r,re),n=xt(n,ue),r=xt(r,ee-re),t=Kt(t,0),t=xt(t,100-re);var o=(e=Kt(e,re))/100,i=he((t/100+1)*Yt(u))/u,c=_t(n)/_t(i*ue),f=r/ee,a=pe(o*_t(n/2)/_t(r/2));return function(n,r,t,e,u){function o(o,i){var c=t*_t(e*i),f=pe(1-c*c),a=pe(2/(1+f*Yt(o*=u)));return[n*f*a*_t(o),r*c*a]}return o.invert=function(o,i){var c=o/n,f=i/r,a=pe(c*c+f*f),l=2*ge(a/2);return[Xt(o*ne(l),n*a)/u,a&&ge(i*_t(l)/(r*t*a))/e]},o}(a/pe(f*c*i),1/(a*pe(f*c*i)),c,i,f)}var sf=function(){var n=65*ve,r=60*ve,t=20,e=200,u=Et(df),o=u(n,r,t,e);return o.poleline=function(o){return arguments.length?u(n=+o*ve,r,t,e):n*le},o.parallels=function(o){return arguments.length?u(n,r=+o*ve,t,e):r*le},o.inflation=function(o){return arguments.length?u(n,r,t=+o,e):t},o.ratio=function(o){return arguments.length?u(n,r,t,e=+o):e},o.scale(163.775)},yf=4*ee+3*pe(3),Mf=2*pe(2*ee*pe(3)/yf),wf=Te(Mf*pe(3)/ee,Mf,yf/6),Ef=function(){return wt(wf).scale(176.84)};function Sf(n,r){return[n*pe(1-3*r*r/(ee*ee)),r]}Sf.invert=function(n,r){return[n/pe(1-3*r*r/(ee*ee)),r]};var Pf=function(){return wt(Sf).scale(152.63)};function Af(n,r){var t=.90631*_t(r),e=pe(1-t*t),u=pe(2/(1+e*Yt(n/=3)));return[2.66723*e*u*_t(n),1.24104*t*u]}Af.invert=function(n,r){var t=n/2.66723,e=r/1.24104,u=pe(t*t+e*e),o=2*ge(u/2);return[3*Xt(n*ne(o),2.66723*u),u&&ge(r*_t(o)/(1.24104*.90631*u))]};var Rf=function(){return wt(Af).scale(172.632)};function Gf(n,r){var t=Yt(r),e=Yt(n)*t,u=1-e,o=Yt(n=Xt(_t(n)*t,-_t(r))),i=_t(n);return[i*(t=pe(1-e*e))-o*u,-o*t-i*u]}Gf.invert=function(n,r){var t=(n*n+r*r)/-2,e=pe(-t*(2+t)),u=r*t+n*e,o=n*t-r*e,i=pe(o*o+u*u);return[Xt(e*u,i*(1+t)),i?-ge(e*o/i):0]};var Nf=function(){return wt(Gf).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function kf(n,r){var t=we(n,r);return[(t[0]+n/ue)/2,(t[1]+r)/2]}kf.invert=function(n,r){var t=n,e=r,u=25;do{var o,i=Yt(e),c=_t(e),f=_t(2*e),a=c*c,l=i*i,v=_t(t),g=Yt(t/2),h=_t(t/2),p=h*h,d=1-l*g*g,s=d?he(i*g)*pe(o=1/d):o=0,y=.5*(2*s*i*h+t/ue)-n,M=.5*(s*c+e)-r,w=.5*o*(l*p+s*i*g*a)+.5/ue,E=o*(v*f/4-s*c*h),S=.125*o*(f*h-s*c*l*v),P=.5*o*(a*g+s*p*i)+.5,A=E*S-P*w,R=(M*E-y*P)/A,G=(y*S-M*w)/A;t-=R,e-=G}while((Vt(R)>re||Vt(G)>re)&&--u>0);return[t,e]};var Ff=function(){return wt(kf).scale(158.837)};function Cf(){}var zf=Math.abs,Df=Math.atan,Lf=Math.atan2,Of=(Math.ceil,Math.cos),If=Math.exp,Wf=(Math.floor,Math.log),Hf=Math.max,Tf=Math.min,jf=Math.pow,Bf=(Math.round,Math.sign||function(n){return n>0?1:n<0?-1:0}),Qf=Math.sin,Vf=Math.tan,Uf=1e-6,Xf=1e-12,Yf=Math.PI,Zf=Yf/2,Jf=Yf/4,$f=Math.SQRT1_2,Kf=(_f(2),_f(Yf),2*Yf),xf=180/Yf,qf=Yf/180;function bf(n){return n>1?Zf:n<-1?-Zf:Math.asin(n)}function mf(n){return n>1?0:n<-1?Yf:Math.acos(n)}function _f(n){return n>0?Math.sqrt(n):0}function na(n,r,t,e){this.x=n,this.z=r,this.o=t,this.e=e,this.v=!1,this.n=this.p=null}var ra=function(n,r,t,e,u){var o,i,c=[],f=[];if(n.forEach(function(n){if(!((r=n.length-1)<=0)){var r,t,e=n[0],i=n[r];if(l=i,zf((a=e)[0]-l[0])<Uf&&zf(a[1]-l[1])<Uf){for(u.lineStart(),o=0;o<r;++o)u.point((e=n[o])[0],e[1]);u.lineEnd()}else{var a,l;c.push(t=new na(e,n,null,!0)),f.push(t.o=new na(e,null,t,!1)),c.push(t=new na(i,n,null,!1)),f.push(t.o=new na(i,null,t,!0))}}}),c.length){for(f.sort(r),ta(c),ta(f),o=0,i=f.length;o<i;++o)f[o].e=t=!t;for(var a,l,v=c[0];;){for(var g=v,h=!0;g.v;)if((g=g.n)===v)return;a=g.z,u.lineStart();do{if(g.v=g.o.v=!0,g.e){if(h)for(o=0,i=a.length;o<i;++o)u.point((l=a[o])[0],l[1]);else e(g.x,g.n.x,1,u);g=g.n}else{if(h)for(a=g.p.z,o=a.length-1;o>=0;--o)u.point((l=a[o])[0],l[1]);else e(g.x,g.p.x,-1,u);g=g.p}a=(g=g.o).z,h=!h}while(!g.v);u.lineEnd()}}};function ta(n){if(r=n.length){for(var r,t,e=0,u=n[0];++e<r;)u.n=t=n[e],t.p=u,u=t;u.n=t=n[0],t.p=u}}function ea(){this.reset()}ea.prototype={constructor:ea,reset:function(){this.s=this.t=0},add:function(n){oa(ua,n,this.t),oa(this,ua.s,this.s),this.s?this.t+=ua.t:this.s=ua.t},valueOf:function(){return this.s}};var ua=new ea;function oa(n,r,t){var e=n.s=r+t,u=e-r,o=e-u;n.t=r-o+(t-u)}function ia(n){return[Lf(n[1],n[0]),bf(n[2])]}function ca(n){var r=ia(n);return[r[0]*xf,r[1]*xf]}function fa(n){var r=n[0],t=n[1],e=Of(t);return[e*Of(r),e*Qf(r),Qf(t)]}function aa(n){return fa([n[0]*qf,n[1]*qf])}function la(n,r){return n[0]*r[0]+n[1]*r[1]+n[2]*r[2]}function va(n,r){return[n[1]*r[2]-n[2]*r[1],n[2]*r[0]-n[0]*r[2],n[0]*r[1]-n[1]*r[0]]}function ga(n){var r=_f(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=r,n[1]/=r,n[2]/=r}function ha(n,r){var t=r[0]-n[0],e=r[1]-n[1],u=r[2]-n[2];return t*t+e*e+u*u<Xf*Xf}var pa=new ea,da=function(n,r){var t=r[0],e=r[1],u=[Qf(t),-Of(t),0],o=0,i=0;pa.reset();for(var c=0,f=n.length;c<f;++c)if(l=(a=n[c]).length)for(var a,l,v=a[l-1],g=v[0],h=v[1]/2+Jf,p=Qf(h),d=Of(h),s=0;s<l;++s,g=M,p=E,d=S,v=y){var y=a[s],M=y[0],w=y[1]/2+Jf,E=Qf(w),S=Of(w),P=M-g,A=P>=0?1:-1,R=A*P,G=R>Yf,N=p*E;if(pa.add(Lf(N*A*Qf(R),d*S+N*Of(R))),o+=G?P+A*Kf:P,G^g>=t^M>=t){var k=va(fa(v),fa(y));ga(k);var F=va(u,k);ga(F);var C=(G^P>=0?-1:1)*bf(F[2]);(e>C||e===C&&(k[0]||k[1]))&&(i+=G^P>=0?1:-1)}}return(o<-Uf||o<Uf&&pa<-Uf)^1&i},sa=function(n,r,t,e,u){return void 0===u&&(u=Ma),function(o){var i,c,f,a=r(o),l=function(){var n,r=[];return{point:function(r,t,e,u){var o=[r,t];arguments.length>2&&(o.index=e,o.t=u),n.push(o)},lineStart:function(){r.push(n=[])},lineEnd:Cf,rejoin:function(){r.length>1&&r.push(r.pop().concat(r.shift()))},result:function(){var t=r;return r=[],n=null,t}}}(),v=r(l),g=!1,h={point:p,lineStart:s,lineEnd:y,polygonStart:function(){h.point=M,h.lineStart=w,h.lineEnd=E,c=[],i=[]},polygonEnd:function(){h.point=p,h.lineStart=s,h.lineEnd=y,c=Er(c);var n=da(i,e);c.length?(g||(o.polygonStart(),g=!0),ra(c,u,n,t,o)):n&&(g||(o.polygonStart(),g=!0),t(null,null,1,o)),g&&(o.polygonEnd(),g=!1),c=i=null},sphere:function(){t(null,null,1,o)}};function p(r,t){n(r,t)&&o.point(r,t)}function d(n,r){a.point(n,r)}function s(){h.point=d,a.lineStart()}function y(){h.point=p,a.lineEnd()}function M(n,r,t){f.push([n,r]),v.point(n,r,t)}function w(){v.lineStart(),f=[]}function E(){M(f[0][0],f[0][1],!0),v.lineEnd();var n,r,t,e,u=v.clean(),a=l.result(),h=a.length;if(f.pop(),i.push(f),f=null,h)if(1&u){if((r=(t=a[0]).length-1)>0){for(g||(o.polygonStart(),g=!0),o.lineStart(),n=0;n<r;++n)o.point((e=t[n])[0],e[1]);o.lineEnd()}}else h>1&&2&u&&a.push(a.pop().concat(a.shift())),c.push(a.filter(ya))}return h}};function ya(n){return n.length>1}function Ma(n,r){return((n=n.x)[0]<0?n[1]-Zf-Uf:Zf-n[1])-((r=r.x)[0]<0?r[1]-Zf-Uf:Zf-r[1])}function wa(n,r){this.from=n,this.to=r,this.normal=va(n,r),this.fromNormal=va(this.normal,n),this.toNormal=va(this.normal,r),this.l=mf(la(n,r))}function Ea(n,r){var t=Of(n.l+r.l)-Uf;if(!(la(n.from,r.from)<t||la(n.from,r.to)<t||la(n.to,r.from)<t||la(n.to,r.to)<t)){var e=va(n.normal,r.normal);ga(e);var u=la(e,n.fromNormal),o=la(e,n.toNormal),i=la(e,r.fromNormal),c=la(e,r.toNormal);return u>0&&o<0&&i>0&&c<0||ha(e,n.from)||ha(e,n.to)||ha(e,r.from)||ha(e,r.to)?e:(e[0]=-e[0],e[1]=-e[1],e[2]=-e[2],o=-o,i=-i,c=-c,(u=-u)>0&&o<0&&i>0&&c<0||ha(e,n.from)||ha(e,n.to)||ha(e,r.from)||ha(e,r.to)?e:void 0)}}var Sa={},Pa=function(n){return n},Aa=function(n){return function n(r){var t;if("MultiPolygon"===r.type)t=r.coordinates;else{if("Polygon"!==r.type)return Pa;t=[r.coordinates]}var e=t.map(function(n){var r=function(n){return function(r,t){return da(n,[r,t])}}(n=n.map(Ra)),t=function(n){var r,t,e=[];return n.forEach(function(n,u){return r=fa(n),u&&e.push(new wa(t,r)),t=r,n}),e}(n[0]);return sa(r,function(n,r){return function(t){var e,u,o,i,c,f,a,l=[];return{lineStart:function(){e=null,f=1,a=[]},lineEnd:function(){c&&l.push(a),l.forEach(function(n){t.lineStart(),n.forEach(function(n){t.point(...n)}),t.lineEnd()}),l=[]},point:function(t,v,g){-1==Of(t)&&(t-=1e-5*Bf(Qf(t))),g&&(t=u,v=o);var h,p,d,s,y,M,w,E,S,P=fa([t,v]),A=c;if(e){var R=new wa(e,P),G=[];for(p=0,d=100;p<n.length&&d>0;++p)if(s=n[p],h=Ea(R,s)){if(h===Sa||ha(h,e)||ha(h,P)||ha(h,s.from)||ha(h,s.to)){y=1e-4,t=(t+3*Yf+ka(p,d)*y)%(2*Yf)-Yf,v=Tf(Yf/2-1e-4,Hf(1e-4-Yf/2,v+ka(p,d)*y)),R=new wa(e,P=fa([t,v])),p=-1,--d,G.length=0;continue}var N=ia(h);h.distance=Na(e,h),h.index=p,h.t=Na(s.from,h),h[0]=N[0],h[1]=N[1],h.pop(),G.push(h)}if(G.length)for(f=0,G.sort(function(n,r){return n.distance-r.distance}),p=0;p<G.length;++p)h=G[p],(A=!A)?(a=[]).push([h[0],h[1],h.index,h.t]):(a.push([h[0],h[1],h.index,h.t]),l.push(a));A&&a.push([t,v])}else{for(p=0,d=100;p<n.length&&d>0;++p)s=n[p],E=void 0,S=void 0,E=la(M=P,(w=s).fromNormal),S=la(M,w.toNormal),M=la(M,w.normal),zf(M)<Xf&&(E>-Xf&&S<Xf||E<Xf&&S>-Xf)&&(y=1e-4,t=(t+3*Yf+ka(p,d)*y)%(2*Yf)-Yf,v=Tf(Yf/2-1e-4,Hf(1e-4-Yf/2,v+ka(p,d)*y)),P=fa([t,v]),p=-1,--d);i=A=r(u=t,o=v),A&&(a=[]).push([t,v])}e=P,c=A},clean:function(){return f|(i&&c)<<1}}}}(t,r),function(n,r){return function(t,e,u,o){if(null==t)o.polygonStart(),r.forEach(function(n){o.lineStart(),n.forEach(function(n){o.point(n[0],n[1])}),o.lineEnd()}),o.polygonEnd();else if(t.index!==e.index&&null!=t.index&&null!=e.index)for(var i=t.index;i!==e.index;i=(i+u+n.length)%n.length){var c=n[i],f=ia(u>0?c.to:c.from);o.point(f[0],f[1])}else if(t.index===e.index&&t.t>e.t&&null!=t.index&&null!=e.index)for(i=0;i<n.length;i++)c=n[(t.index+i*u+n.length)%n.length],f=ia(u>0?c.to:c.from),o.point(f[0],f[1])}}(t,n),n[0][0],Ga)}),u=function(n){var r=e.map(r=>r(n));return{point:function(n,t){r.forEach(r=>r.point(n,t))},lineStart:function(){r.forEach(n=>n.lineStart())},lineEnd:function(){r.forEach(n=>n.lineEnd())},polygonStart:function(){r.forEach(n=>n.polygonStart())},polygonEnd:function(){r.forEach(n=>n.polygonEnd())},sphere:function(){r.forEach(n=>n.sphere())}}};return u.polygon=function(t){return t?n(r=t):r},u}(n)};function Ra(n){return n.map(function(n){return[n[0]*qf,n[1]*qf]})}function Ga(n,r){return n=n.x,r=r.x,n.index-r.index||n.t-r.t}function Na(n,r){var t=va(n,r);return Lf(_f(la(t,t)),la(n,r))}function ka(n,r){return Bf(Qf(100*n+r))}var Fa=function(n,r){var t=za(n[1],n[0]),e=za(r[1],r[0]),u=function(n,r){return Lf(n[0]*r[1]-n[1]*r[0],n[0]*r[0]+n[1]*r[1])}(t,e),o=Da(t)/Da(e);return Ca([1,0,n[0][0],0,1,n[0][1]],Ca([o,0,0,0,o,0],Ca([Of(u),Qf(u),0,-Qf(u),Of(u),0],[1,0,-r[0][0],0,1,-r[0][1]])))};function Ca(n,r){return[n[0]*r[0]+n[1]*r[3],n[0]*r[1]+n[1]*r[4],n[0]*r[2]+n[1]*r[5]+n[2],n[3]*r[0]+n[4]*r[3],n[3]*r[1]+n[4]*r[4],n[3]*r[2]+n[4]*r[5]+n[5]]}function za(n,r){return[n[0]-r[0],n[1]-r[1]]}function Da(n){return _f(n[0]*n[0]+n[1]*n[1])}var La=function(n,r){function t(n,t){var e,u=r(n,t),o=u.project([n*xf,t*xf]);return(e=u.transform)?[e[0]*o[0]+e[1]*o[1]+e[2],-(e[3]*o[0]+e[4]*o[1]+e[5])]:(o[1]=-o[1],o)}!function n(r,t){r.edges=function(n){for(var r=n.length,t=[],e=n[r-1],u=0;u<r;++u)t.push([e,e=n[u]]);return t}(r.face);if(t.face){var e=r.shared=function(n,r){for(var t,e,u=n.length,o=null,i=0;i<u;++i){t=n[i];for(var c=r.length;--c>=0;)if(e=r[c],t[0]===e[0]&&t[1]===e[1]){if(o)return[o,t];o=t}}}(r.face,t.face),u=Fa(e.map(t.project),e.map(r.project));r.transform=t.transform?Ca(t.transform,u):u;for(var o=t.edges,i=0,c=o.length;i<c;++i)Oa(e[0],o[i][1])&&Oa(e[1],o[i][0])&&(o[i]=r),Oa(e[0],o[i][0])&&Oa(e[1],o[i][1])&&(o[i]=r);for(o=r.edges,i=0,c=o.length;i<c;++i)Oa(e[0],o[i][0])&&Oa(e[1],o[i][1])&&(o[i]=t),Oa(e[0],o[i][1])&&Oa(e[1],o[i][0])&&(o[i]=t)}else r.transform=t.transform;r.children&&r.children.forEach(function(t){n(t,r)});return r}(n,{transform:null}),Ia(n)&&(t.invert=function(t,e){var u=function n(t,e){var u=t.project.invert,o=t.transform,i=e;o&&(f=1/((c=o)[0]*c[4]-c[1]*c[3]),o=[f*c[4],-f*c[1],f*(c[1]*c[5]-c[2]*c[4]),-f*c[3],f*c[0],f*(c[2]*c[3]-c[0]*c[5])],i=[o[0]*i[0]+o[1]*i[1]+o[2],o[3]*i[0]+o[4]*i[1]+o[5]]);var c,f;if(u&&t===function(n){return r(n[0]*qf,n[1]*qf)}(a=u(i)))return a;var a,l=t.children;for(var v=0,g=l&&l.length;v<g;++v)if(a=n(l[v],e))return a}(n,[t,-e]);return u&&(u[0]*=qf,u[1]*=qf,u)});var e=wt(t),u=[];return function n(r,t,e){var u,o,i=t.edges,c=i.length,f={type:"MultiPoint",coordinates:t.face},a=t.face.filter(function(n){return 90!==zf(n[1])}),l=Bn({type:"MultiPoint",coordinates:a}),v=!1,g=-1,h=l[1][0]-l[0][0];t.centroid=180===h||360===h?[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]:bn(f);if(e)for(;++g<c&&i[g]!==e;);++g;for(var p=0;p<c;++p)o=i[(p+g)%c],Array.isArray(o)?(v||(r.point((u=br(o[0],t.centroid)(Uf))[0],u[1]),v=!0),r.point((u=br(o[1],t.centroid)(Uf))[0],u[1])):(v=!1,o!==e&&n(r,o,t))}({point:function(n,r){u.push([n,r])}},n),u.push(u[0]),e.preclip(Aa({type:"Polygon",coordinates:[u]})),e.tree=function(){return n},e};function Oa(n,r){return n&&r&&n[0]===r[0]&&n[1]===r[1]}function Ia(n){return n.project.invert||n.children&&n.children.some(Ia)}var Wa=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Ha=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(n){return n.map(function(n){return Wa[n]})}),Ta=function(n){n=n||function(n){var r=bn({type:"MultiPoint",coordinates:n});return It().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=Ha.map(function(r){return{face:r,project:n(r)}});return[-1,0,0,1,0,1,4,5].forEach(function(n,t){var e=r[n];e&&(e.children||(e.children=[])).push(r[t])}),La(r[0],function(n,t){return r[n<-Yf/2?t<0?6:4:n<0?t<0?2:0:n<Yf/2?t<0?3:1:t<0?7:5]}).angle(-30).scale(101.858).center([0,45])},ja=2/_f(3);function Ba(n,r){var t=iu(n,r);return[t[0]*ja,t[1]]}Ba.invert=function(n,r){return iu.invert(n/ja,r)};var Qa=function(n){n=n||function(n){var r=bn({type:"MultiPoint",coordinates:n});return wt(Ba).translate([0,0]).scale(1).rotate(r[1]>0?[-r[0],0]:[180-r[0],180])};var r=Ha.map(function(r){return{face:r,project:n(r)}});return[-1,0,0,1,0,1,4,5].forEach(function(n,t){var e=r[n];e&&(e.children||(e.children=[])).push(r[t])}),La(r[0],function(n,t){return r[n<-Yf/2?t<0?6:4:n<0?t<0?2:0:n<Yf/2?t<0?3:1:t<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])},Va=function(n){n=n||function(n){var r=6===n.length?bn({type:"MultiPoint",coordinates:n}):n[0];return It().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=Ha.map(function(n){for(var r,t=n.map(Ya),e=t.length,u=t[e-1],o=[],i=0;i<e;++i)r=t[i],o.push(Xa([.9486832980505138*u[0]+.31622776601683794*r[0],.9486832980505138*u[1]+.31622776601683794*r[1],.9486832980505138*u[2]+.31622776601683794*r[2]]),Xa([.9486832980505138*r[0]+.31622776601683794*u[0],.9486832980505138*r[1]+.31622776601683794*u[1],.9486832980505138*r[2]+.31622776601683794*u[2]])),u=r;return o}),t=[],e=[-1,0,0,1,0,1,4,5];r.forEach(function(n,u){for(var o,i,c=Ha[u],f=c.length,a=t[u]=[],l=0;l<f;++l)r.push([c[l],n[(2*l+2)%(2*f)],n[(2*l+1)%(2*f)]]),e.push(u),a.push((o=Ya(n[(2*l+2)%(2*f)]),i=Ya(n[(2*l+1)%(2*f)]),[o[1]*i[2]-o[2]*i[1],o[2]*i[0]-o[0]*i[2],o[0]*i[1]-o[1]*i[0]]))});var u=r.map(function(r){return{project:n(r),face:r}});return e.forEach(function(n,r){var t=u[n];t&&(t.children||(t.children=[])).push(u[r])}),La(u[0],function(n,r){var e=Of(r),o=[e*Of(n),e*Qf(n),Qf(r)],i=n<-Yf/2?r<0?6:4:n<0?r<0?2:0:n<Yf/2?r<0?3:1:r<0?7:5,c=t[i];return u[Ua(c[0],o)<0?8+3*i:Ua(c[1],o)<0?8+3*i+1:Ua(c[2],o)<0?8+3*i+2:i]}).angle(-30).scale(110.625).center([0,45])};function Ua(n,r){for(var t=0,e=n.length,u=0;t<e;++t)u+=n[t]*r[t];return u}function Xa(n){return[Lf(n[1],n[0])*xf,bf(Hf(-1,Tf(1,n[2])))*xf]}function Ya(n){var r=n[0]*qf,t=n[1]*qf,e=Of(t);return[e*Of(r),e*Qf(r),Qf(t)]}var Za=function(n,r,t,e){n=n||[],r=r||{features:[]},e=e||function(n,r){for(var t=1/0,e=-1,o=0;o<u.length;o++){var i=Vr(u[o].site,[n,r]);i<t&&(t=i,e=o)}return e},t=t||function(n){return It().scale(1).translate([0,0]).rotate([-n.site[0],-n.site[1]])};var u=[];function o(){u=r.features.map(function(n,r){var e=n.geometry.coordinates[0].slice(0,-1);return e.site=n.properties&&n.properties.sitecoordinates?n.properties.sitecoordinates:bn(n.geometry),{face:e,site:e.site,id:r,project:t(e)}}),n.forEach(function(n,r){var t=u[n];t&&(t.children||(t.children=[])).push(u[r])})}function i(n,r){return u[e(n*xf,r*xf)]}var c=It();return o(),function f(){var a=c.rotate(),l=c.translate(),v=c.center(),g=c.scale(),h=c.angle();return u.length&&(c=La(u[0],i)),c.parents=function(r){return arguments.length?(n=r,o(),f()):n},c.polygons=function(n){return arguments.length?(r=n,o(),f()):r},c.faceProjection=function(n){return arguments.length?(t=n,o(),f()):t},c.faceFind=function(n){return arguments.length?(e=n,f()):e},c.rotate(a).translate(l).center(v).scale(g).angle(h)}()},Ja=function(){var n=bf(1/_f(3))*xf,r=mf((_f(5)-1)/_f(3)/2)*xf,t=90-r,e=mf(-(1+_f(5))/_f(3)/2)*xf,u={type:"FeatureCollection",features:[[[45,n],[0,r],[180,r],[135,n],[90,t]],[[45,n],[t,0],[-t,0],[-45,n],[0,r]],[[45,n],[90,t],[90,-t],[45,-n],[t,0]],[[0,r],[-45,n],[-90,t],[-135,n],[180,r]],[[t,0],[45,-n],[0,-r],[-45,-n],[-t,0]],[[90,t],[135,n],[e,0],[135,-n],[90,-t]],[[45,-n],[90,-t],[135,-n],[180,-r],[0,-r]],[[135,n],[180,r],[-135,n],[-e,0],[e,0]],[[-45,n],[-t,0],[-45,-n],[-90,-t],[-90,t]],[[-45,-n],[0,-r],[180,-r],[-135,-n],[-90,-t]],[[135,-n],[e,0],[-e,0],[-135,-n],[180,-r]],[[-135,n],[-90,t],[-90,-t],[-135,-n],[-e,0]]].map(function(n){return n.push(n[0]),{geometry:{type:"Polygon",coordinates:[n]}}})};return Za().parents([-1,0,4,8,1,2,2,3,1,8,6,3]).angle(108).polygons(u).scale(99.8).rotate([-8,0,-32])};function $a(n,r){return[n[0]*r[0]-n[1]*r[1],n[1]*r[0]+n[0]*r[1]]}function Ka(n,r){return[n[0]+r[0],n[1]+r[1]]}function xa(n,r){return[n[0]-r[0],n[1]-r[1]]}function qa(n){return n[0]*n[0]+n[1]*n[1]}function ba(n,r){var t,e,u=n[1];if(0===(n=n[0])&&0===u)return[0,0];if("number"==typeof r&&(r=[r,0]),!r[1]){if(0===u&&n>=0)return[jf(n,r[0]),0];if(0===n)switch((r[1]%4+4)%4){case 0:return[jf(u,r[0]),0];case 1:return[0,jf(u,r[0])];case 2:return[-jf(u,r[0]),0];case 3:return[0,-jf(u,r[0])]}}return t=Lf(u,n),e=function(n,r){var t=zf(n),e=zf(r);return 0===n?Wf(e):0===r?Wf(t):t<3e3&&e<3e3?.5*Wf(n*n+r*r):Wf(n/Of(Lf(r,n)))}(n,u),n=If(r[0]*e-r[1]*t),u=r[1]*e+r[0]*t,[n*Of(u),n*Qf(u)]}var ma=[-.5,_f(3)/2],_a=[1.7666387502854533,0],nl=.09;var rl=mo?mo(.5):null;function tl(n,r){var t=rl(n,r),e=function(n){var r=[0,0],t=ba(ma,Sr([0,1,2].map(function(r){return-$a(n,ba(ma,[r,0]))[0]}))),e=$a(t,n);e=[1-e[0],-e[1]];for(var u=[1.44224957030741,.240374928384568,.0686785509670194,.0178055502507087,.00228276285265497,-.00148379585422573,-.00164287728109203,-.00102583417082273,-.000483607537673571,-.000167030822094781,-245024395166263e-19,214092375450951e-19,255897270486771e-19,173086854400834e-19,872756299984649e-20,318304486798473e-20,2.0355504999826998e-8,-5.62970586787826e-7,-3.92135372833465e-7],o=[0,0],i=u.length;i--;)o=Ka([u[i],0],$a(o,e));r=$a(Ka(_a,$a([-o[0],-o[1]],ba(e,1-2/3))),$a(t,t));var c=qa(n);if(c<nl){var f=[1,1/3,5/27,10/81,22/243],a=ba(n,[3,0]),l=[0,0];for(i=f.length;i--;)l=Ka([f[i],0],$a(l,a));l=$a(l,n),r=Ka($a(r,[c/nl,0]),$a(l,[1-c/nl,0]))}return r}([t[1]/2,t[0]/2]);return[e[1],e[0]]}var el=function(){var n=wt(tl),r=n.stream;return n.stream=function(t){var e=n.rotate(),u=r(t),o=(n.rotate([0,0]),r(t));return n.rotate(e),u.sphere=function(){var n;B({type:"Polygon",coordinates:[[[0,90],[-180,-(n=2*bf(1/_f(5))*xf)+Uf],[0,-90],[180,-n+Uf],[0,90]]]},o)},u},n.scale(188.305).translate([480,333.167])};function ul(n,r){var t,e=[-.5,_f(3)/2],u=[0,0],o=[0,0],i=$a(Bt(n,r),[_f(2),0]),c=Sr([0,1,2].map(function(n){return-$a(i,ba(e,[n,0]))[0]})),f=ba(e,[c,0]),a=_f(qa(i));if(a>.3){var l=xa([1,0],$a(f,i)),v=[1.15470053837925,.192450089729875,.0481125224324687,.010309826235529,.000334114739114366,-.00150351632601465,-.0012304417796231,-.000675190201960282,-.000284084537293856,-821205120500051e-19,-159257630018706e-20,191691805888369e-19,173095888028726e-19,103865580818367e-19,470614523937179e-20,14413500104181e-19,1.92757960170179e-8,-3.82869799649063e-7,-3.57526015225576e-7,-2.2175964844211e-7],g=[0,0];for(t=v.length;t--;)g=Ka([v[t],0],$a(g,l));u=xa([1.4021821053254548,0],$a(ba(l,.5),g)),u=$a(u,f),u=$a(u,f)}if(a<.5){var h=[1,1/8,3/56,1/32,35/1664,63/4096,231/19456],p=ba(i,[3,0]);for(t=h.length;t--;)o=Ka([h[t],0],$a(o,p));o=$a(o,i)}if(a<.3)return o;if(a>.5)return u;var d=(a-.3)/.2;return Ka($a(u,[d,0]),$a(o,[1-d,0]))}var ol=bf(1/3),il=[[0,90],[-180,-ol*xf],[-60,-ol*xf],[60,-ol*xf]],cl=[[1,2,3],[0,2,1],[0,3,2],[0,1,3]].map(function(n){return n.map(function(n){return il[n]})}),fl=function(){var n=function(n){var r=bn({type:"MultiPoint",coordinates:n}),t=[-r[0],-r[1],30];return 90==zf(r[1])&&(t=[0,-r[1],-30]),wt(ul).scale(1).translate([0,0]).rotate(t)},r=cl.map(function(r){return{face:r,project:n(r)}});return[-1,0,0,0].forEach(function(n,t){var e=r[n];e&&(e.children||(e.children=[])).push(r[t])}),La(r[0],function(n,t){n*=xf,t*=xf;for(var e=0;e<r.length;e++)if(qr({type:"Polygon",coordinates:[[cl[e][0],cl[e][1],cl[e][2],cl[e][0]]]},[n,t]))return r[e]}).rotate([30,180]).angle(30).scale(118.662).translate([480,195.47])};function al(){var n=_f(3),r=_f(5+2*_f(5))/_f(15),t=_f(8)/_f(5+_f(5)),e=_f(3+_f(5))/_f(5+_f(5)),u=function(u,o){var i=Of(o),c=r/(i*Of(u)),f=i*Qf(u)*c,a=Qf(o)*c,l=Lf(2*a/n+t/3-t/2,e),v=Lf(f-a/n+t/3-t/2,e),g=Lf(t/3-f-a/n-t/2,e);return[n*(v-g),2*l-v-g]};return u.invert=function(n,r){if(n*n+r*r>5)return[0,3];var t=2.9309936378128416,e=Ot.invert(n/t,r/t),o=0;do{var i=u(e[0],e[1]),c=n-i[0],f=r-i[1];e[0]+=.2*c,e[1]+=.2*f}while(o++<30&&zf(c)+zf(f)>Uf);return e},u}var ll=function(){var n,r,t,e;return(n=function(n){var r=n.centroid;return n.direction=Math.abs(r[1]-52.62)<1||Math.abs(r[1]+10.81)<1?0:60,wt(al()).scale(1).translate([0,0]).rotate([-r[0],-r[1],n.direction||0])},r=Df(.5)*xf,t=[[0,90],[0,-90]].concat(wr(10).map(function(n){return[(36*n+180)%360-180,1&n?r:-r]})),(e=[[0,3,11],[0,5,3],[0,7,5],[0,9,7],[0,11,9],[2,11,3],[3,4,2],[4,3,5],[5,6,4],[6,5,7],[7,8,6],[8,7,9],[9,10,8],[10,9,11],[11,2,10],[1,2,4],[1,4,6],[1,6,8],[1,8,10],[1,10,2]].map(function(n){return n.map(function(n){return t[n]})})).forEach(function(n){n.centroid=bn({type:"MultiPoint",coordinates:n})}),function(){var n,r,t,u;u=(n=e[15]).centroid,r=n.slice(),n[0]=u,(n=[r[0],u,r[2]]).centroid=u,e.push(n),(n=[r[0],r[1],u]).centroid=u,e.push(n),u=(n=e[14]).centroid,r=n.slice();var o=It().scale(1).translate([0,0]).rotate([-u[0],-u[1]]),i=o(n[1]),c=o(n[2]);t=o.invert([(i[0]+c[0])/2,(i[1]+c[1])/2]),n[1]=t,(n=[r[0],r[1],t]).centroid=u,e.push(n),u=(n=e[19]).centroid,r=n.slice(),n[1]=t,(n=[t,r[0],r[1]]).centroid=u,e.push(n)}(),function(n){n=n||function(n){var r=n.centroid;return It().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=e.map(function(r,t){var e=r.slice();return e.push(e[0]),{face:r,site:r.centroid,id:t,contains:function(n,r){return qr({type:"Polygon",coordinates:[e]},[n*xf,r*xf])},project:n(r)}});[-1,0,1,11,13,6,7,1,7,8,9,10,11,12,13,6,8,10,17,21,16,15,19,19].forEach(function(n,t){var e=r[n];e&&(e.children||(e.children=[])).push(r[t])});var t=La(r[0],function(n,t){for(var e=0;e<r.length;e++)if(r[e].contains(n,t))return r[e]});return t.faces=r,t}(n)).rotate([-83.65929,25.44458,-87.45184]).angle(-60).scale(45.4631).center([126,0])},vl=function(){var n=Df(.5)*xf,r=[[0,90],[0,-90]].concat([0,1,2,3,4,5,6,7,8,9].map(function(r){return[(36*r+180)%360-180,1&r?n:-n]})),t={type:"FeatureCollection",features:[[0,3,11],[0,5,3],[0,7,5],[0,9,7],[0,11,9],[2,11,3],[3,4,2],[4,3,5],[5,6,4],[6,5,7],[7,8,6],[8,7,9],[9,10,8],[10,9,11],[11,2,10],[1,2,4],[1,4,6],[1,6,8],[1,8,10],[1,10,2]].map(function(n){return n.map(function(n){return r[n]})}).map(function(n){return n.push(n[0]),{geometry:{type:"Polygon",coordinates:[n]}}})};return Za().parents([-1,7,9,11,13,0,5,6,7,8,9,10,11,12,13,6,8,10,12,14]).angle(0).polygons(t).rotate([108,0]).scale(131.777).center([162,0])},gl=Df($f)*xf,hl=[[0,gl],[90,gl],[180,gl],[-90,gl],[0,-gl],[90,-gl],[180,-gl],[-90,-gl]],pl=[[0,3,2,1],[0,1,5,4],[1,2,6,5],[2,3,7,6],[3,0,4,7],[4,5,6,7]].map(function(n){return n.map(function(n){return hl[n]})}),dl=function(){var n={type:"FeatureCollection",features:pl.map(function(n){return(n=n.slice()).push(n[0]),{geometry:{type:"Polygon",coordinates:[n]}}})};return Za().polygons(n).parents([-1,0,1,5,3,2]).angle(0).scale(96.8737).center([135,-45]).rotate([120,0])},sl=function(n){n=n||function(){return Et(yl)(1e4).scale(1)};var r=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],t=(r=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(n){return n.map(function(n){return r[n]})})).map(function(n){for(var r,t=n.map(aa),e=t.length,u=t[e-1],o=17*qf,i=Of(o),c=Qf(o),f=[],a=0;a<e;++a)r=t[a],f.push(ca([u[0]*i+r[0]*c,u[1]*i+r[1]*c,u[2]*i+r[2]*c]),ca([r[0]*i+u[0]*c,r[1]*i+u[1]*c,r[2]*i+u[2]*c])),u=r;return f}),e=[],u=[-1,3,0,2,0,1,4,5];t.forEach(function(n,o){for(var i=r[o],c=i.length,f=e[o]=[],a=0;a<c;++a)t.push([i[a],n[(2*a+2)%(2*c)],n[(2*a+1)%(2*c)]]),u.push(o),f.push(va(aa(n[(2*a+2)%(2*c)]),aa(n[(2*a+1)%(2*c)])))});var o=t.map(function(r){return{project:n(r),face:r}});return u.forEach(function(n,r){var t=o[n];t&&(t.children||(t.children=[])).push(o[r])}),La(o[0],function(n,r){var t=Of(r),u=[t*Of(n),t*Qf(n),Qf(r)],i=n<-Yf/2?r<0?6:4:n<0?r<0?2:0:n<Yf/2?r<0?3:1:r<0?7:5,c=e[i];return o[la(c[0],u)<0?8+3*i:la(c[1],u)<0?8+3*i+1:la(c[2],u)<0?8+3*i+2:i]},0,!0).scale(.023975).rotate([20,0]).center([0,-17])};function yl(n){var r,t,e,u,o,i,c,f,a,l,v,g,h={lengthMG:n};function p(n,r){var t=n[0]-r[0],e=n[1]-r[1];return _f(t*t+e*e)}function d(n,r,t,e){return[t[0]+(e[0]-t[0])*n/r,t[1]+(e[1]-t[1])*n/r]}function s(n,r,t,e){var u=Vf(r*qf),o=Vf(e*qf),i=[0,0];return i[0]=(u*n[0]-o*t[0]-n[1]+t[1])/(u-o),i[1]=u*(i[0]-n[0])+n[1],i}function y(n,r,t,e){var u,o,i=t[0],c=t[1],f=e[0],a=e[1],l=n[0],v=n[1],g=(f-i)*(f-i)+(a-c)*(a-c),h=2*((f-i)*(i-l)+(a-c)*(c-v)),p=h*h-4*g*(l*l+v*v+i*i+c*c-2*(l*i+v*c)-r*r);return 0===g?[0,[0,0]]:p<0?[0,[0,0]]:(u=(-h+_f(p))/(2*g),o=(-h-_f(p))/(2*g),0<=u&&u<=1?[1,[i+u*(f-i),c+u*(a-c)]]:0<=o&&o<=1?[1,[i+o*(f-i),c+o*(a-c)]]:[0,[0,0]])}function M(n,r){var t=[0,0];return-60===r?(t[0]=n[0]*h.cos60+n[1]*h.sin60,t[1]=-n[0]*h.sin60+n[1]*h.cos60):-120===r?(t[0]=-n[0]*h.cos60+n[1]*h.sin60,t[1]=-n[0]*h.sin60-n[1]*h.cos60):(t[0]=n[0]*Of(r*qf)-n[1]*Qf(r*qf),t[1]=n[0]*Qf(r*qf)+n[1]*Of(r*qf)),t}function w(n){var r=h.deltaMEq*n;return r<=h.lengthGF?[h.pointG[0],r]:d(r-=h.lengthGF,h.lengthAB,h.pointF,h.pointE)}function E(n){return w(n)}function S(n){return s(h.pointM,2*n/3,E(n),n/3)}function P(n){return 0===n?[h.pointA+h.lengthAB,0]:s(h.pointA,n,h.pointM,2*n/3)}function A(n){return p(E(n),S(n))}function R(n){return p(S(n),P(n))}function G(n){var r=[0,0],t=P(n),e=0,u=[0,0];return n<=30?(r[0]=h.pointA[0]+h.lengthAP73*Of(n*qf),r[1]=h.pointA[1]+h.lengthAP73*Qf(n*qf),e=p(t,r)):(e=p(t,r=s(h.pointT,-60,t,n)),n>44&&(u=s(h.pointT,-60,t,2/3*n))[0]>r[0]&&(e=-p(t,r=u))),{parallel73:r,lengthParallel73:e}}function N(n){return[h.pointA[0]+h.lengthAP75*Of(n*qf),h.pointA[1]+h.lengthAP75*Qf(n*qf)]}function k(n,r){var t,e=(t=(n+180)/90+1,Math[t>0?"floor":"ceil"](t)),u=(n+720)%90-45,o=Bf(u);return u=zf(u),5===e&&(e=1),r<0&&(e=[0,6,7,8,5][e]),[u,zf(r),o,e]}function F(n,r){var t,e,u,o,i,c=[0,0];return 0===n?c=r>=75?function(n,r){return[h.pointA[0]+104*(90-r),0]}(0,r):function(n,r){return[h.pointG[0]-100*r,0]}(0,r):r>=75?c=function(n,r){var t=104*(90-r);return[h.pointA[0]+t*Of(n*qf),h.pointA[1]+t*Qf(n*qf)]}(n,r):0===r?c=function(n){return w(n)}(n):r>=73&&n<=30?c=function(n,r){var t=1560+100*(75-r);return[h.pointA[0]+t*Of(n*qf),h.pointA[1]+t*Qf(n*qf)]}(n,r):45===n?c=r<=15?function(n,r){return d(r,15,h.pointE,h.pointD)}(0,r):r<=73?function(n,r){return d(r-15,58,h.pointD,h.pointT)}(0,r):function(n,r){var t=N(45),e=G(n).parallel73,u=p(h.pointT,h.pointB),o=p(h.pointB,t),i=(75-r)*(o+u)/2;return i<=o?d(i,o,t,h.pointB):d(i-=o,u,h.pointB,e)}(n,r):n<=29?c=function(n,r){var t=G(n),e=A(n),u=R(n),o=r*(e+u+t.lengthParallel73)/73;return o<=e?d(o,e,E(n),S(n)):o<=e+u?d(o-=e,u,S(n),P(n)):d(o=o-e-u,t.lengthParallel73,P(n),t.parallel73)}(n,r):r>=73?c=function(n,r){var t=N(n),e=p(P(n),t),u=G(n),o=u.parallel73,i=u.lengthParallel73,c=(75-r)*(e-i)/2;return c<=e?d(c,e,t,P(n)):d(c-=e,-i,P(n),o)}(n,r):(o=(e=y(h.pointC,h.radius,S(n),P(n)))[0],u=e[1],t=A(n),1===o?i=t+p(S(n),u):(o=(e=y(h.pointC,h.radius,E(n),S(n)))[0],u=e[1],i=t-p(S(n),u)),c=r<=15?function(n,r,t){var e=r*t/15,u=A(n),o=R(n);return e<=u?d(e,u,E(n),S(n)):d(e-=u,o,S(n),P(n))}(n,r,i):function(n,r,t){var e=G(n),u=e.parallel73,o=A(n),i=R(n),c=e.lengthParallel73,f=t+(r-15)*(o+i+c-t)/58;return f<=o?d(f,o,E(n),P(n)):f<=o+i?d(f-=o,i,S(n),P(n)):d(f=f-o-i,c,P(n),u)}(n,r,i)),c}return g=_f(3),h.lengthMA=.094*h.lengthMG,h.lengthParallel0to73At0=h.lengthMG/100,h.lengthParallel73to90At0=(h.lengthMG-h.lengthMA-73*h.lengthParallel0to73At0)/17,h.sin60=g/2,h.cos60=.5,h.pointM=[0,0],h.pointG=[h.lengthMG,0],r=[h.lengthMG,h.lengthMG*Vf(30*qf)],h.pointA=[h.lengthMA,0],h.pointB=s(h.pointM,30,h.pointA,45),h.lengthAG=p(h.pointA,h.pointG),h.lengthAB=p(h.pointA,h.pointB),t=p(h.pointM,h.pointB),e=p(h.pointM,r),u=p(r,h.pointG),h.pointD=d(t,e,r,h.pointM),h.pointF=[h.lengthMG,u-t],h.pointE=[r[0]-h.lengthMA*Qf(30*qf),r[1]-h.lengthMA*Of(30*qf)],h.lengthGF=p(h.pointG,h.pointF),h.lengthBD=p(h.pointB,h.pointD),h.lengthBDE=h.lengthBD+h.lengthAB,h.lengthGFE=h.lengthGF+h.lengthAB,h.deltaMEq=h.lengthGFE/45,h.lengthAP75=15*h.lengthParallel73to90At0,h.lengthAP73=h.lengthMG-h.lengthMA-73*h.lengthParallel0to73At0,o=[h.pointA[0]+h.lengthAP73*Of(30*qf),h.pointA[1]+h.lengthAP73*Qf(30*qf)],h.pointT=s(o,-60,h.pointB,30),i=G(29),c=i.lengthParallel73,f=A(29),a=R(29),l=15*(f+a+c)/73,v=[0,0],h.pointC=[0,0],h.radius=0,v=d(l-=f,a,S(29),P(29)),h.pointC[1]=(v[0]*v[0]+v[1]*v[1]-h.pointD[0]*h.pointD[0]-h.pointD[1]*h.pointD[1])/(2*(g*v[0]+v[1]-g*h.pointD[0]-h.pointD[1])),h.pointC[0]=g*h.pointC[1],h.radius=p(h.pointC,h.pointD),function(n,r){var t=k(n*xf,r*xf),e=t[0],u=t[1],o=t[2],i=t[3],c=F(e,u);return function(n,r){var t=[0,0];if(0===r)t=M(n,-60);else if(1===r)(t=M(n,-120))[0]-=h.lengthMG;else if(2===r)(t=M(n,-60))[0]-=h.lengthMG;else if(3===r)(t=M(n,-120))[0]+=h.lengthMG;else if(4===r)(t=M(n,-60))[0]+=h.lengthMG;else if(5===r)(t=M([2*h.lengthMG-n[0],n[1]],-60))[0]+=h.lengthMG;else if(6===r)(t=M([2*h.lengthMG-n[0],n[1]],-120))[0]-=h.lengthMG;else if(7===r)(t=M([2*h.lengthMG-n[0],n[1]],-60))[0]-=h.lengthMG;else{if(8!==r)return t;(t=M([2*h.lengthMG-n[0],n[1]],-120))[0]+=h.lengthMG}return t}([c[0],o*c[1]],i)}}function Ml(n,r){return function(n){if(Array.isArray(n))return n}(n)||function(n,r){var t=[],e=!0,u=!1,o=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(t.push(i.value),!r||t.length!==r);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==c.return||c.return()}finally{if(u)throw o}}return t}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function wl(n){return function(n){if(Array.isArray(n)){for(var r=0,t=new Array(n.length);r<n.length;r++)t[r]=n[r];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function El(n,r,t){return r in n?Object.defineProperty(n,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[r]=t,n}var Sl=document.body,Pl=document.createElement("div");Pl.setAttribute("class","toolbar"),Sl.appendChild(Pl);var Al=document.createElement("div");Al.setAttribute("class","content"),Sl.appendChild(Al);var Rl="geoAirocean",Gl="gioconda4326.png",Nl=.351579,kl=.351595,Fl=-180.00833333333333,Cl=90.00833333333334,zl=function(n){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},e=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t).filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.forEach(function(r){El(n,r,t[r])})}return n}({},e,u),Dl=["geoAiry","geoAitoff","geoArmadillo","geoAugust","geoBaker","geoBerghaus","geoBertin1953","geoBoggs","geoBonne","geoBottomley","geoBromley","geoChamberlin","geoChamberlinAfrica","geoCollignon","geoCraig","geoCraster","geoCylindricalEqualArea","geoCylindricalStereographic","geoEckert1","geoEckert2","geoEckert3","geoEckert4","geoEckert5","geoEckert6","geoEisenlohr","geoFahey","geoFoucaut","geoFoucautSinusoidal","geoGilbert","geoGingery","geoGinzburg4","geoGinzburg5","geoGinzburg6","geoGinzburg8","geoGinzburg9","geoGringorten","geoGuyou","geoHammer","geoHammerRetroazimuthal","geoHealpix","geoHill","geoHomolosine","geoHufnagel","geoHyperelliptical","geoInterrupt","geoInterruptedBoggs","geoInterruptedHomolosine","geoInterruptedMollweide","geoInterruptedMollweideHemispheres","geoInterruptedSinuMollweide","geoInterruptedSinusoidal","geoKavrayskiy7","geoLagrange","geoLarrivee","geoLaskowski","geoLittrow","geoLoximuthal","geoMiller","geoModifiedStereographic","geoModifiedStereographicAlaska","geoModifiedStereographicGs48","geoModifiedStereographicGs50","geoModifiedStereographicMiller","geoModifiedStereographicLee","geoMollweide","geoMtFlatPolarParabolic","geoMtFlatPolarQuartic","geoMtFlatPolarSinusoidal","geoNaturalEarth","geoNaturalEarth2","geoNellHammer","geoPatterson","geoPolyconic","geoPolyhedral","geoPolyhedralButterfly","geoPolyhedralCollignon","geoPolyhedralWaterman","geoGringortenQuincuncial","geoPeirceQuincuncial","geoPierceQuincuncial","geoQuantize","geoQuincuncial","geoRectangularPolyconic","geoRobinson","geoSatellite","geoSinuMollweide","geoSinusoidal","geoStitch","geoTimes","geoTwoPointAzimuthal","geoTwoPointAzimuthalUsa","geoTwoPointEquidistant","geoTwoPointEquidistantUsa","geoVanDerGrinten","geoVanDerGrinten2","geoVanDerGrinten3","geoVanDerGrinten4","geoWagner","geoWagner4","geoWagner6","geoWagner7","geoWiechel","geoWinkel3","geoPolyhedral","geoPolyhedralButterfly","geoPolyhedralCollignon","geoPolyhedralWaterman","geoPolyhedralVoronoi","geoDodecahedral","geoCox","geoTetrahedralLee","geoAirocean","geoIcosahedral","geoCubic","geoCahillKeyes"].sort(function(n,r){return n>r?1:-1}).map(function(n){return{value:n,label:(n.match(/[A-Z][a-z0-9]+/g)||[]).join(" ")}}),Ll=document.createElement("select");[{key:"imgSrc",value:Gl,label:"Image Source"},{key:"resX",value:Nl,label:"Resolution X"},{key:"resY",value:kl,label:"Resolution Y"},{key:"left",value:Fl,label:"Left Coordinate"},{key:"top",value:Cl,label:"Top Coordinate"}].forEach(function(n){var r=n.value,t=n.label,e=document.createElement("div"),u=document.createElement("div");u.innerHTML=t;var o=document.createElement("input");o.setAttribute("value",r),e.appendChild(u),e.appendChild(o),Pl.appendChild(e),o.onchange=function(n){Rl=n.target.value}}),Dl.forEach(function(n){var r=n.label,t=n.value,e=document.createElement("option");e.innerHTML=r,e.setAttribute("value",t),Ll.appendChild(e)}),Ll.onchange=function(n){Rl=n.target.value},Pl.appendChild(Ll);var Ol=document.createElement("button");Ol.innerHTML="PROJECT",Ol.onclick=function(){return Il()},Pl.appendChild(Ol);var Il=function(){var n=Fl,r=Cl,t=Nl,e=kl,u=Gl,o=zl[Rl]&&zl[Rl]();if(!(o&&void 0!==n&&void 0!==r&&t&&e&&u))return null;var i=document.createElement("div");i.setAttribute("class","loader"),i.innerHTML="",Sl.appendChild(i);var c=new Image,f=document.getElementById("output");f&&Al.removeChild(f);var a=function(n,r,t){var e=document.createElement("canvas");return e.style.width="".concat(n,"px"),e.style.height="".concat(r,"px"),e.setAttribute("width",n),e.setAttribute("height",r),e.setAttribute("id",t),e};c.onload=function(){var u=c.naturalWidth,f=c.naturalHeight,l=a(u,f).getContext("2d");l.drawImage(c,0,0);var v=a(u,f,"output"),g=v.getContext("2d"),h=wl(Array(u*f).keys()),p=parseFloat(n),d=parseFloat(r),s=parseFloat(t),y=parseFloat(e),M=h.length;h.forEach(function(n){new Promise(function(){var r=n%u,t=Math.floor(n/u),e=Ml(l.getImageData(r,t,1,1).data,4),c=e[0],f=e[1],a=e[2],h=e[3],w=o([p+r*s,d-t*y]);g.fillRect(w[0],w[1],1,1),g.fillStyle="rgba(".concat(c,", ").concat(f,", ").concat(a,", ").concat(h,")"),g.fill("evenodd"),0===--M&&(Al.appendChild(v),Sl.removeChild(i))})})},c.onerror=function(){return Sl.removeChild(i)},c.crossOrigin="anonymous",c.src=u}}]);