stats.js 3.23 KB
google.maps.__gjsload__('stats', 'function wy(a,b){this.e={};this.b={};this.j=a+"/csi";this.f=b||"";this.D=so+"/maps/gen_204"}I=wy[D];I.Gj="mapsapi3";I.xj=0;I.uf=function(a,b,c){lh&&!this.e[a]&&(this.e[a]=i,xy(this,yy(this,a,b.b,c)))};function xy(a,b){var c=new Image,d=a.xj++;a.b[d]=c;ma(c,sa(c,function(){ma(c,sa(c,Id));delete a.b[d]}));l[Vb](function(){c.src=b},1E3)}\nfunction yy(a,b,c,d){var e=[a.j];e[q]("?v=2&s=",a.Gj,"&action=",b,"&rt=");var f=[];O(c,function(a){f[q](a[0]+"."+a[1])});K(f)&&e[q](f[Dc](","));yd(d,function(a,b){e[q]("&"+ca(a)+"="+ca(b))});a.f&&e[q]("&e="+ca(a.f));return e[Dc]("")}I.fc=function(a){xy(this,this.D+"?"+a)};I.Zi=function(a){xy(this,a)};function zy(){this.b={}}zy[D].X=function(a){var a=Df(a),b=this.b;a in b||(b[a]=0);++b[a]};za(zy[D],function(a){var a=Df(a),b=this.b;a in b&&(--b[a],b[a]||delete b[a])});zy[D].count=function(a){return this.b[Df(a)]||0};function Ay(){this.b=[];this.f=[]};function By(a,b,c){this.b=a;this.f=b;this.e=c}Sa(By[D],function(a){return!!this.f.count(a)});function Cy(a,b){a.b.b[q](b);a.f.X(b);if(a.b.b[B]+a.b.f[B]>a.e){var c,d=a.b;c=d.f;d=d.b;if(!c[B])for(;d[B];)c[q](d.pop());(c=c.pop())&&a.f[tb](c)}};function Dy(a,b,c,d){this.C=new By(new Ay,new zy,100);this.B=a;this.j=b;this.b=[];this.L=c;this.F=d;R[A](this.j,Re,this,this.e);sq(this.j)&&this.e();this.n=0}L(Dy,W);\nDy[D].e=function(){var a=this.get("bounds");if(!this.get("projection")||!a||!this.xf)zl(this,this.e,1E3);else{var b={};this.j[zb](P(this,function(c){if(c){var d=c.rawData;if(0==(""+d.layer)[qb](this.xf[Pb](0,5))&&d[gk])for(var c=d.id[B],g=xr(d.id),d=d[gk],h=0,m;m=d[h];h++){var p=m.id,r;a:{r=m;if(!r.latLngCached){var v=r.a;if(!v){r=j;break a}var z=new T(v[0],v[1]),v=g,z=[z.x,z.y],C=(1<<c)/8388608;z[0]/=C;z[1]/=C;z[0]+=v.H;z[1]+=v.G;z[0]/=8388608;z[1]/=8388608;v=new T(z[0],z[1]);z=this.get("projection");\nr.latLngCached=z&&z[Dj](v)}r=r.latLngCached}r&&a[uc](r)&&(b[p]=m)}}}));var c=this.C,d;for(d in b)c[uc](d)||(this.b[q](b[d]),Cy(c,d));!this.n&&this.b[B]&&(this.n=zl(this,this.A,0))}};\nDy[D].A=function(){this.n=0;if(this.b[B]){var a=[],b=[],c=-1;this.b[kk]();for(var d=0,e=this.b[B];d<e;++d){var f=this.L(this.b[d]);1800<c+f[B]+1&&(a[q](b[Dc](",")),b=[],c=-1);b[q](f);c+=f[B]+1}a[q](b[Dc](","));b="&z="+this.get("zoom");for(d=0;d<a[B];++d)c="imp="+ca(this.B+"="+a[d]+b)[cb](/%7C/g,"|")[cb](/%2C/g,","),c+="&cad=client:apiv3",this.F(c);La(this.b,0)}};Dy[D].mapType_changed=function(){var a=this.get("mapType");this.xf=a&&a.sd};lp(Dy[D],function(){this.e()});function Ey(){var a;Ao[15]&&(a=xk(mf));var b=Fg(mf).l[7];this.ab=new wy(b!=j?b:"",a)}\nfunction Fy(a){var b=a.id,a=10,c=b.match(/0x[0-9a-f]+:0x([0-9a-f]+)/);c&&(b=c[1],a=16);for(var d=b,b=a,c=[],a=d[B]-1;0<=a;--a)c[q](Di(d[a],b));d=[];for(a=c[B]-1;0<=a;--a){for(var e=0,f=0,g=d[B];f<g;++f){var h=d[f],h=h*b+e,m=h&63,e=h>>6;d[f]=m}for(;e;++f)m=e&63,d[f]=m,e>>=6;e=c[a];for(f=0;e;++f)f>=d[B]&&d[q](0),h=d[f],h+=e,m=h&63,e=h>>6,d[f]=m}if(0==d[B])a="A";else{b=fa(d[B]);for(a=d[B]-1;0<=a;--a)b[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_."[lb](d[a]);b.reverse();a=b[Dc]("")}return a}\nEy[D].Xj=function(a,b){var c=new Dy("smimps",b,Fy,P(this.ab,this.ab.fc));c[t]("mapType",a.N());c[t]("zoom",a);c[t]("bounds",a);c[t]("projection",a)};var Gy=new Ey;ff[Ge]=function(a){eval(a)};jf(Ge,Gy);\n')