c4283891d93635f42c929a86c67df1d32517432d.svn-base
18.8 KB
google.maps.__gjsload__('marker', 'var AC="stop",BC=[],CC=j,DC={linear:function(a){return a},"ease-out":function(a){return 1-o.pow(a-1,2)},"ease-in":function(a){return o.pow(a,2)}};function EC(a){return!a?j:a.__gm_at||of}function FC(){for(var a=[],b=0;b<BC[B];b++){var c=BC[b];GC(c);c.tb||a[q](c)}BC=a;0==BC[B]&&(l[nk](CC),CC=j)}function HC(a,b,c){Yd(function(){yq(a,i);a[F].WebkitAnimationDuration=c[Xj]?c[Xj]+"ms":j;a[F].WebkitAnimationIterationCount=c.ub;a[F].WebkitAnimationName=b})}\nfunction IC(a,b,c){this.j=a;this.e=b;this.b=-1;"infinity"!=c.ub&&(this.b=c.ub||1);this.n=c[Xj]||1E3;this.tb=k}IC[D].D=function(){BC[q](this);CC||(CC=l[Yj](FC,10));this.f=Pd();GC(this)};Hi(IC[D],function(){this.tb||(this.tb=i,JC(this,1),R[s](this,"done"))});IC[D].stop=function(){this.tb||(this.b=1)};function GC(a){if(!a.tb){var b=Pd();JC(a,(b-a.f)/a.n);b>=a.f+a.n&&(a.f=Pd(),"infinite"!=a.b&&(a.b--,a.b||a[nj]()))}}\nfunction JC(a,b){var c=1,d=a.e.b[KC(a.e,b)],e=a.e.b[KC(a.e,b)+1];e&&(c=(b-d[Oj])/(e[Oj]-d[Oj]));var f=EC(a.j),g=a.j;if(e)var c=(0,DC[d.na||"linear"])(c),d=d[Jp],e=e[Jp],h=c*e[1]-c*d[1]+d[1],c=new T(o[w](c*e[0]-c*d[0]+d[0]),o[w](h));else c=new T(d[Jp][0],d[Jp][1]);c=g.__gm_at=c;g=c.x-f.x;f=c.y-f.y;if(0!=g||0!=f)c=a.j,e=new T(Al(c[F].left)||0,Al(c[F].top)||0),e.x=e.x+g,e.y+=f,cm(c,e);R[s](a,"tick")}function LC(a,b,c){this.b=a;this.e=b;this.f=c;this.tb=k}\nLC[D].D=function(){this.f.ub=this.f.ub||1;this.f.duration=this.f[Xj]||1;R.addDomListenerOnce(this.b,"webkitAnimationEnd",P(this,function(){this.tb=i;R[s](this,"done")}));yq(this.b,k);HC(this.b,MC(this.e),this.f)};Hi(LC[D],function(){HC(this.b,j,{});R[s](this,"done")});LC[D].stop=function(){this.tb||R.addDomListenerOnce(this.b,"webkitAnimationIteration",P(this,this[nj]))};var NC;function OC(a,b){this.e=a;this.j=b||0;this.b=[]}\nOC[D].X=function(a){if(zk(this.e,a))if(this.f)for(var b=0;4>b;++b)this.f[b].X(a);else if(this.b[q](a),10<this.b[B]&&30>this.j){for(var a=this.e,b=this.f=[],c=[a.H,(a.H+a.I)/2,a.I],d=[a.G,(a.G+a.K)/2,a.K],e=this.j+1,a=0;4>a;++a){var f=rf(c[a&1],d[a>>1],c[(a&1)+1],d[(a>>1)+1]);b[q](new OC(f,e))}b=this.b;delete this.b;a=0;for(c=b[B];a<c;++a)this.X(b[a])}};za(OC[D],function(a){if(zk(this.e,a))if(this.f)for(var b=0;4>b;++b)this.f[b][tb](a);else Dk(this.b,a,1)});\nOa(OC[D],function(a,b){var c=b||[];if(!cl(this.e,a))return c;if(this.f)for(var d=0;4>d;++d)this.f[d][cq](a,c);else if(this.b)for(var d=0,e=this.b[B];d<e;++d){var f=this.b[d];zk(a,f)&&c[q](f)}return c});function PC(a,b,c){var d;if(d=c.qg!=k)d=am,d=5==d.f.b||6==d.f.b||3==d.f[y]&&7<=d.f[lj]?i:k;a=d?new LC(a,b,c):new IC(a,b,c);a.D();return a}function QC(a){this.b=a}\nfunction RC(a,b){var c=[];c[q]("@-webkit-keyframes ",b," {\\n");O(a.b,function(a){c[q](100*a[Oj],"% { ");c[q]("-webkit-transform: translate3d(",a[Jp][0],"px,",a[Jp][1],"px,0); ");c[q]("-webkit-animation-timing-function: ",a.na,"; ");c[q]("}\\n")});c[q]("}\\n");return c[Dc]("")}function KC(a,b){for(var c=0;c<a.b[B]-1;c++){var d=a.b[c+1];if(b>=a.b[c][Oj]&&b<d[Oj])return c}return a.b[B]-1}\nfunction MC(a){if(a.f)return a.f;a.f="_gm"+o[w](1E4*o[lc]());var b=RC(a,a.f);NC||(NC=n[wb]("style"),Ri(NC,"text/css"),Gq()[Va](NC));NC.textContent+=b;return a.f}function SC(a,b){Jd(Qm).ua[qj](a,function(a){b(a&&a[Tj])})}var TC={};\nTC[1]={options:{duration:700,ub:"infinite"},Kb:new QC([{time:0,translate:[0,0],na:"ease-out"},{time:0.5,translate:[0,-20],na:"ease-in"},{time:1,translate:[0,0],na:"ease-out"}]),Lb:new QC([{time:0,translate:[0,0],na:"ease-out"},{time:0.5,translate:[15,-15],na:"ease-in"},{time:1,translate:[0,0],na:"ease-out"}])};\nTC[2]={options:{duration:500,ub:1},Kb:new QC([{time:0,translate:[0,-500],na:"ease-in"},{time:0.5,translate:[0,0],na:"ease-out"},{time:0.75,translate:[0,-20],na:"ease-in"},{time:1,translate:[0,0],na:"ease-out"}]),Lb:new QC([{time:0,translate:[375,-375],na:"ease-in"},{time:0.5,translate:[0,0],na:"ease-out"},{time:0.75,translate:[15,-15],na:"ease-in"},{time:1,translate:[0,0],na:"ease-out"}])};\nTC[3]={options:{duration:200,fd:20,ub:1,qg:k},Kb:new QC([{time:0,translate:[0,0],na:"ease-in"},{time:1,translate:[0,-20],na:"ease-out"}]),Lb:new QC([{time:0,translate:[0,0],na:"ease-in"},{time:1,translate:[15,-15],na:"ease-out"}])};\nTC[4]={options:{duration:500,fd:20,ub:1,qg:k},Kb:new QC([{time:0,translate:[0,-20],na:"ease-in"},{time:0.5,translate:[0,0],na:"ease-out"},{time:0.75,translate:[0,-10],na:"ease-in"},{time:1,translate:[0,0],na:"ease-out"}]),Lb:new QC([{time:0,translate:[15,-15],na:"ease-in"},{time:0.5,translate:[0,0],na:"ease-out"},{time:0.75,translate:[7.5,-7.5],na:"ease-in"},{time:1,translate:[0,0],na:"ease-out"}])};function UC(){this.Kb=new Yf(El("markers2/marker_sprite"),new U(20,34),new T(0,0),new T(10,34));this.Lb=new Yf(El("markers2/marker_sprite"),new U(37,34),new T(20,0),new T(10,34));this.b=new Yf(El("drag_cross_67_16"),new U(16,16),new T(0,0),new T(7,9));this.shape={coords:[9,0,6,1,4,2,2,4,0,8,0,12,1,14,2,16,5,19,7,23,8,26,9,30,9,34,11,34,11,30,12,26,13,24,14,21,16,18,18,16,20,12,20,8,18,4,16,2,15,1,13,0],type:"poly"}};function VC(){Ug[ic](this);WC||(WC=new UC)}var WC;L(VC,Ug);Fa(VC[D],function(a){("modelIcon"==a||"modelShadow"==a||"modelShape"==a||"modelCross"==a)&&this.P()});VC[D].Z=function(){var a=this.get("modelIcon");XC(this,"viewIcon",a||WC.Kb);var b=this.get("useDefaults"),c=this.get("modelShadow");if(!c&&(!a||b))c=WC.Lb;XC(this,"viewShadow",c);XC(this,"viewCross",WC.b);c=this.get("modelShape");if(!c&&(!a||b))c=WC[kj];this.get("viewShape")!=c&&this.set("viewShape",c)};\nfunction XC(a,b,c){YC(c,function(c){a.set(b,c)})}function YC(a,b){!a||a[Tj]?b(a):(a.url||(a=new Yf(a)),SC(a.url,function(c){Na(a,c||new U(24,24));b(a)}))};function ZC(){Ug[ic](this);this.sa=new T(0,0);this.Q=new U(0,0);this.ca=new T(0,0);this.ka=i;this.Ba=[R[G](this,jl,this.Bj),R[G](this,hl,this.Aj),R[G](this,ml,this.L)];this.e=j}L(ZC,Ug);I=ZC[D];ip(I,function(){$C(this);this.P()});Fa(I,function(a){"anchorPoint"==a||"size"==a||(("shape"==a||"clickable"==a||"draggable"==a)&&aD(this),this.P())});\nI.Z=function(){var a=this.get("panes"),b=this.get("scale");if(!a||!this[eq]()||!this.yh()||N(b)&&0.1>b&&!this.get("dragging"))$C(this);else{var c=a.overlayImage;if(b=this.vf()){this.A=bD(this,c,this.A,b,EC(this.A));var c=am.b?o.min(1,this.get("scale")||1):1,d=b[Tj];qa(this.Q,c*d[u]);Ta(this.Q,c*d[H]);b=b[fq];this.ca.x=c*(b?d[u]/2-b.x:0);this.ca.y=-c*(b?b.y:d[H]);this.set("size",this.Q);this.set("anchorPoint",this.ca)}b=a.overlayShadow;c=this.Ah();!c||this.getFlat()?(this.b&&Zk(this.b,i),this.b=j):\n(this.b=bD(this,b,this.b,c,EC(this.b)),2==Z[y]&&Nq(this.b));if(d=this.vf())if(b=this.zh(),c=this[zp](),b||c){var e={};if(Wl())var f=d[Tj][u],g=d[Tj][H],d=new Yf(d.url,new U(f+16,g+16),j,d[fq]?new T(d[fq].x+8,d[fq].y+8):new T(qd(f/2)+8,g+8));else if(Z.f||Z.e)e.shape=this.get("shape"),e[kj]&&(d=new Yf(d.url,j,j,d[fq],d[Fp]||d[Tj]));d=this.F=bD(this,this.getPanes()[op],this.F,d,j,e);Rl()||lm(d,0.01);Nq(d);var e=d,h;if((f=e[gq]("usemap")||e[yb]&&e[yb][gq]("usemap"))&&f[B])(e=bm(e)[tp](f[Pb](1)))&&(h=\ne[yb]);d=h||d;d.title=this.get("title")||"";c&&!this.e&&(h=this.e=new lr(d),h[t]("position",this),h[t]("containerPixelBounds",this,"mapPixelBounds"),h[t]("anchorPoint",this),h[t]("size",this),h[t]("panningEnabled",this),h&&!this.C&&(this.C=[R.xa(h,Le,this),R.xa(h,ul,this),R.xa(h,rl,this,i),R.xa(h,tl,this,i),R[E](h,jl,this),R[E](h,il,this),R[E](h,hl,this),R[E](h,ml,this)]));h=this.get("cursor")||"pointer";c?this.e.set("draggableCursor",h):im(d,b?h:"");cD(this,d)}a=a.overlayLayer;h=this.get("cross");\n!h||!dD(this)||!this.get("dragging")?(this.n&&Zk(this.n,i),this.n=j):this.n=bD(this,a,this.n,h);eD(this)}};function $C(a){fD(a);a.A&&Zk(a.A,i);a.A=j;a.b&&Zk(a.b,i);a.b=j;a.n&&Zk(a.n,i);a.n=j;aD(a)}function aD(a){fD(a);a.F&&Zk(a.F,i);a.F=j;a.e&&(a.e[Aj](),a.e.S(),a.e=j,gD(a.C),a.C=j)}\nfunction bD(a,b,c,d,e,f){var g=d[pp]||of;c?(c[yb].__src__!=d.url&&Rm(c[yb],d.url,c[yb].jb),Kq(c,d[Tj],g,d[Fp])):(c=f||{},c.ue=2!=Z[y],kp(c,i),c.b=i,c=Lq(d.url,j,g,d[Tj],j,d[Fp],c),Qq(c),b[Va](c));var b=c,g=am.b?o.min(1,a.get("scale")||1):1,f=a[eq](),h=d[Tj],d=d[fq],e=e||of,m=qd((d?d.x:h[u]/2)-((d?d.x:h[u]/2)-h[u]/2)*(1-g));a.sa.x=f.x+e.x-m;d=qd((d?d.y:h[H])-((d?d.y:h[H])-h[H]/2)*(1-g));a.sa.y=f.y+e.y-d;cm(b,a.sa);(e=am.b)&&(b[F][e]=1!=g?"scale("+g+") ":"");e=a.get("zIndex");a.get("dragging")&&(e=\n1E6);N(e)||(e=o.min(a[eq]().y,999999));jm(b,e);fm(c);return c}function cD(a,b){a[zp]()?hD(a):iD(a,b);b&&!a.J&&(a.J=[R.xa(b,Bk,a),R.xa(b,Ak,a),R.T(b,Me,a,function(a){Td(a);R[s](this,"rightclick",a)})])}function fD(a){gD(a.C);a.C=j;hD(a);gD(a.J);a.J=j}function gD(a){if(a)for(var b=0,c=a[B];b<c;b++)R[jb](a[b])}function iD(a,b){b&&!a.va&&(a.va=[R.xa(b,Le,a),R.xa(b,ul,a),R.xa(b,rl,a),R.xa(b,tl,a)])}function hD(a){gD(a.va);a.va=j}I.getPosition=Gf("position");I.getPanes=Gf("panes");I.yh=Gf("visible");\nI.zh=Gf("clickable");I.getDraggable=Gf("draggable");I.getFlat=Gf("flat");I.S=function(){this.ib&&this.ib[AC]();this.mb&&this.mb[AC]();this.B&&(R[jb](this.B),this.B=j);this.mb=this.ib=j;gD(this.Ba);this.Ba=j;$C(this);aD(this)};function dD(a){return!Rl()&&a[zp]()&&a.get("raiseOnDrag")!=k}I.Bj=function(){this.set("dragging",i);dD(this)&&this.set("animation",3)};I.Aj=function(){dD(this)&&this.set("animation",4);this.set("dragging",k)};\nfunction eD(a){if(!Rl()&&!a.ka){a.ib&&(a.B&&R[jb](a.B),a.ib[nj](),a.ib=j);a.mb&&(a.mb[nj](),a.mb=j);var b=a.get("animation");if(b=TC[b]){var c=b.options;if(a.A&&(a.ka=i,a.set("animating",i),a.ib=PC(a.A,b.Kb,c),a.get("dragging")||(a.B=R[Gb](a.ib,"done",P(a,function(){this.set("animating",k);this.mb=this.ib=j;this.set("animation",j)}))),a.b))a.mb=PC(a.b,b.Lb,c)}}}I.animation_changed=function(){this.ka=k;this.get("animation")?eD(this):(this.ib&&this.ib[AC](),this.mb&&this.mb[AC]())};I.vf=Gf("icon");\nI.Ah=Gf("shadow");function jD(a,b,c,d){var e=d.Ed=[R[E](a,ml,c.N()),R[E](c,Ne,a)];O([Le,ul,rl,tl,Bk,Ak,"rightclick",jl,il,hl],function(c){e[q](R[G](a,c,function(d){d=new bl(b[eq](),d,a[eq]());R[s](b,c,d)}))})};function kD(a,b){function c(a){d[Df(a)]={};if(b instanceof Uf||!a.get("mapOnly")){var c=d[Df(a)],g=c.Bc=c.Bc||new VC;g[t]("modelIcon",a,"icon");g[t]("modelShadow",a,"shadow");g[t]("modelCross",a,"cross");g[t]("modelShape",a,"shape");g[t]("useDefaults",a,"useDefaults");var h=c.Se=c.Se||new ZC;h[t]("icon",g,"viewIcon");h[t]("shadow",g,"viewShadow");h[t]("cross",g,"viewCross");h[t]("shape",g,"viewShape");h[t]("title",a);h[t]("cursor",a);h[t]("draggable",a);h[t]("dragging",a);h[t]("clickable",a);h[t]("visible",\na);h[t]("flat",a);h[t]("zIndex",a);h[t]("anchorPoint",a);h[t]("animation",a);h[t]("raiseOnDrag",a);h[t]("animating",a);g=b.N();h[t]("mapPixelBounds",g,"pixelBounds");h[t]("panningEnabled",b,"draggable");var m=c.Zb||new Cr;h[t]("scale",m);h[t]("position",m,"pixelPosition");m[t]("latLngPosition",a,"position");m[t]("focus",b,"position");m[t]("zoom",g);m[t]("offset",g);m[t]("center",g,"projectionCenterQ");m[t]("projection",b);c.Zb=m;h[t]("panes",g);O(c.Ed,R[jb]);delete c.Ed;jD(h,a,b,c)}}var d={};R[G](a,\nRe,c);R[G](a,Se,function(a){var b=d[Df(a)],c=b.Se;c&&(c[Aj](),c.set("panes",j),c.S(),delete b.Se);if(c=b.Zb)c[Aj](),delete b.Zb;if(c=b.Bc)c[Aj](),c.S(),delete b.Bc;O(b.Ed,R[jb]);delete b.Ed;delete d[Df(a)]});a[zb](c)};function lD(a,b,c){var d=this;this.D=b;this.e=c;this.f={};var e={animation:1,animating:1,clickable:1,cursor:1,draggable:1,flat:1,icon:1,optimized:1,position:1,shadow:1,shape:1,title:1,visible:1,zIndex:1};d.j=function(a){a in e&&(delete this[Jb],d.f[Df(this)]=this,mD(d))};d=this;a.b=function(a){nD(d,a)};gp(a,function(a){d.Ha(a)});var a=a.wa,f;for(f in a)nD(this,a[f])}function nD(a,b){a.f[Df(b)]=b;mD(a)}lD[D].Ha=function(a){delete a[Jb];delete this.f[Df(a)];this.D[tb](a);this.e[tb](a)};\nfunction mD(a){a.b||(a.b=Yd(function(){delete a.b;var b=a.f;a.f={};for(var c in b){var d=b[c];Fa(d,a.j);if(!d.get("animating"))if(a.D[tb](d),!d.get("position")||d.get("visible")==k)a.e[tb](d);else{var e=d.get("optimized")!=k,f=!!d.get("draggable"),g=!!d.get("animation");e&&!f&&!g?(a.e[tb](d),a.D.X(d)):a.e.X(d)}}}))};function oD(a,b,c){var d=a.coords;switch(a[y][Ec]()){case "rect":return d[0]<=b&&b<=d[2]&&d[1]<=c&&c<=d[3];case "circle":return a=d[2],b-=d[0],c-=d[1],b*b+c*c<=a*a;default:return a=d[B],d[0]==d[a-2]&&d[1]==d[a-1]||d[q](d[0],d[1]),0!=Dr(b,c,d)}};function pD(a,b,c,d){this.b=a;this.e=b;this.D=c;Z.f&&(this.f=d[wb]("div"),qa(this.f[F],"1px"),Ta(this.f[F],"1px"))}pD[D].n=function(a,b){return b?qD(this,a,-8,0)||qD(this,a,0,-8)||qD(this,a,8,0)||qD(this,a,0,8):qD(this,a,0,0)};\nfunction qD(a,b,c,d){var e=b.ta,f=j,g=new T(0,0),h=new T(0,0),m,a=a.b,p;for(p in a){var r=a[p];m=r[sk];m=1<<m;var v=r.oa.y;h.x=256*Bd(r.oa.x,0,m);h.y=256*v;v=g.x=e.x*m+c-h.x;m=g.y=e.y*m+d-h.y;if(0<=v&&256>v&&0<=m&&256>m){f=r;break}}if(!f)return j;var z=[];f.pa[zb](function(a){z[q](a)});z[kk](function(a,b){return b[Mp]-a[Mp]});c=j;for(e=0;d=z[e];++e)if(f=d.Db,f[Xp]!=k&&(f=f.Vd,d.Ja>g.x||d.Ka>g.y||d.Ja+d.Wa<g.x||d.Ka+d.Va<g.y?0:oD(d.Db[kj],g.x-d.Ja,g.y-d.Ka))){c=f;break}c&&(b.f=d);return c}\npD[D].j=function(a,b,c){var d=b.f;if(a==Ak)this.D.set("cursor",""),this.D.set("title",j);else if(a==Bk){var e=d.Db;this.D.set("cursor",e.cursor);this.f&&(cm(this.f,new T(b.b.layerX,b.b.layerY)),b.b[gc][yc][Va](this.f));(e=e[Pp])&&this.D.set("title",e)}d=d&&a!=Ak?d.Db.qa:b.latLng;Wd(b.b);R[s](c,a,new bl(d))};Vi(pD[D],4);function rD(a,b,c,d,e){var f=this;a.b=function(a){sD(f,a)};gp(a,function(a){f.Ha(a)});this.e=b;this.j=c;this.b={};this.f=d;this.D=e}\nfunction sD(a,b){var c=b.me={Vd:b,clickable:b.get("clickable")!=k,title:b.get("title")||j,cursor:b.get("cursor")||"pointer"},d=b.ne={},e=b.get("useDefaults"),f=b.get("icon"),g=b.get("shadow");if(!g&&(!f||e))g=a.f.Lb;b.get("flat")&&(g=j);var h=g?Ld(g)?a.b[g]=a.b[g]||new Yf(g):g:j,m=b.get("shape");if(!m&&(!f||e))m=a.f[kj];var p=f?Ld(f)?a.b[f]=a.b[f]||new Yf(f):f:a.f.Kb,r=b.get("position"),v=b.get("zIndex"),z,C,J=Qd(h?2:1,function(){c==b.me&&d==b.ne&&z&&(c.fa=z,d.fa=C,a.Hc(b,c,d,p,h,m,r,v))});tD(a,p,\nfunction(a){z=a;J()});h&&tD(a,h,function(a){C=a;J()})}rD[D].Ha=function(a){this.e[tb](a.me);this.j[tb](a.ne);delete a.me;delete a.ne};\nrD[D].Hc=function(a,b,c,d,e,f,g,h){var m=d[Tj]||pf,p=d[fq]||new T(m[u]/2,m[H]);a.set("anchorPoint",new T(m[u]/2-p.x,-p.y));f?f.coords=f.coords||f.coord:f={type:"rect",coords:[0,0,m[u],m[H]]};uD(b,d,p,g,h,f);jp(b,a.get("clickable")!=k);b.title=a.get("title")||j;b.cursor=a.get("cursor")||"pointer";vD(b)?(this.e.X(b),c.fa&&(b=e[Tj]||pf,uD(c,e,e[fq]||new T(b[u]/2,b[H]),g,0,j),vD(c)?this.j.X(c):a.set("optimized",k))):a.set("optimized",k)};\nfunction vD(a){return-64<=a.Ja&&-64<=a.Ka&&64>=a.Ja+a.Wa&&64>=a.Ka+a.Va}function uD(a,b,c,d,e,f){var g=a.fa[Tj],h=b[Fp]||g,m=h[u]/g[u],p=h[H]/g[H],r=b[Tj];a.Ic=b[pp]?b[pp].x/m:0;a.Jc=b[pp]?b[pp].y/p:0;a.Ja=-c.x;a.Ka=-c.y;a.qa=d;Vi(a,e);a.shape=f;a.pa={};a.b={};r[u]>h[u]?(a.jc=g[u],a.Wa=h[u]):(a.jc=r[u]/m,a.Wa=r[u]);r[H]>h[H]?(a.ic=g[H],a.Va=h[H]):(a.ic=r[H]/p,a.Va=r[H])}function tD(a,b,c){a.D[qj](b.url,function(a){a&&!b[Tj]&&Na(b,a[Tj]);c(a)})};function wD(a,b){this.e=b;var c=this;a.b=function(a){xD(c,a,i)};gp(a,function(a){c.Ha(a)});this.b=j;this.n=P(this,this.j);this.f=k;this.D=0;sq(a)&&(this.f=i,this.j())}wD[D].Ha=function(a){xD(this,a,k)};function xD(a,b,c){4>a.D++?c?a.e.f(b):a.e.j(b):a.f=i;a.b||(a.b=Yd(a.n))}wD[D].j=function(){this.f&&this.e.D();this.f=k;this.b=j;this.D=0};function yD(a,b,c){this.b=a;a=rf(-100,-300,100,300);this.e=new vr(a);a=rf(-90,-180,90,180);this.j=new OC(a);this.n=c;var d=this;b.b=function(a){var b=a.qa,b=new T(b.lat(),b.lng());a.ta=b;b.Db=a;d.j.X(b);for(var b=d.e[cq](rf(b.x,b.y,b.x+1.0E-8,b.y+1.0E-8)),c=d.get("projection"),h=0,m=b[B];h<m;++h){var p=b[h],r=p.ia;if(p=zD(r,p.b,a,c))a.pa[Df(p)]=p,r.pa.X(p)}};gp(b,function(a){AD(d,a)})}L(yD,W);aj(yD[D],j);Ca(yD[D],new U(256,256));\nJa(yD[D],function(a,b,c){c=c[wb]("div");Vg(c,this[Eb]);Ia(c[F],"hidden");a={ea:c,zoom:b,oa:a,e:{},pa:new Ff};c.ia=a;BD(this,a);return c});Pa(yD[D],function(a){var b=a.ia;a.ia=j;CD(this,b);Ki(a,"")});\nfunction BD(a,b){a.b[Df(b)]=b;var c=a.get("projection"),d=b.oa,e=1<<b[sk],f=new T(256*d.x/e,256*d.y/e),d=rf((256*d.x-64)/e,(256*d.y-64)/e,(256*(d.x+1)+64)/e,(256*(d.y+1)+64)/e);Er(d,c,f,function(d,e){d.b=e;d.ia=b;b.e[Df(d)]=d;a.e.X(d);for(var f=a.j[cq](d),p=0,r=f[B];p<r;++p){var v=f[p].Db,z=zD(b,d.b,v,c);z&&(v.pa[Df(z)]=z,b.pa.X(z))}});a.n(b.ea,b.pa)}function CD(a,b){delete a.b[Df(b)];b.pa[zb](function(a){b.pa[tb](a);delete a.Db.pa[Df(a)]});var c=a.e;yd(b.e,function(a,b){c[tb](b)})}\nfunction AD(a,b){a.j[tb](b.ta);yd(b.pa,function(a,d){delete b.pa[a];d.ia.pa[tb](d)})}function zD(a,b,c,d){b=d[ab](b);d=d[ab](c.qa);d.x-=b.x;d.y-=b.y;b=1<<a[sk];d.x*=b;d.y*=b;b=c[Mp];N(b)||(b=d.y);b=o[w](1E3*b)+Df(c)%1E3;a={fa:c.fa,Ic:c.Ic,Jc:c.Jc,jc:c.jc,ic:c.ic,Ja:o[w](c.Ja+d.x),Ka:o[w](c.Ka+d.y),Wa:c.Wa,Va:c.Va,zIndex:b,ia:a,Db:c};return 256<a.Ja||256<a.Ka||0>a.Ja+a.Wa||0>a.Ka+a.Va?j:a};function DD(a){return function(b,c){var d=a(b,c);return new wD(c,d)}};function ED(a,b,c){this.b=a;this.n=b;this.A=c}function FD(a){if(!a.e){var b=a.b,c=b[fk][wb]("canvas");Yi(c[F],"absolute");c[F].top=bp(c[F],"0px");qa(c,Ta(c,256));b[Va](c);a.e=c.context=c[Ip]("2d")}return a.e}function GD(a,b,c){a=a.A;qa(a,b);Ta(a,c);return a}ED[D].f=ED[D].j=function(a){var b=HD(this),c=FD(this),d=a.Ja,e=a.Ka,f=o[eb](a.Wa),a=o[eb](a.Va),g=GD(this,f,a),h=g[Ip]("2d");h[Jp](-d,-e);b[zb](function(a){h[Up](a.fa,a.Ic,a.Jc,a.jc,a.ic,a.Ja,a.Ka,a.Wa,a.Va)});c[Cp](d,e,f,a);c[Up](g,d,e)};\nED[D].D=function(){var a=HD(this),b=FD(this);b[Cp](0,0,256,256);a[zb](function(a){b[Up](a.fa,a.Ic,a.Jc,a.jc,a.ic,a.Ja,a.Ka,a.Wa,a.Va)})};function HD(a){var b=[];a.n[zb](function(a){b[q](a)});b[kk](function(a,b){return a[Mp]-b[Mp]});return b};function ID(a,b){this.b=a;this.e=b}ID[D].f=function(a){var b=[];JD(a,b);this.b.insertAdjacentHTML("BeforeEnd",b[Dc](""))};ID[D].j=function(a){(a=bm(this.b)[tp]("gm_marker_"+Df(a)))&&a[yc][ec](a)};ID[D].D=function(){var a=[];this.e[zb](function(b){JD(b,a)});Ki(this.b,a[Dc](""))};\nfunction JD(a,b){var c=a.fa,d=c.src,e=a[Mp],f=Df(a),g=a.Wa/a.jc,h=a.Va/a.ic;b[q]("<div id=gm_marker_",f,\' style="\'," position:absolute;"," overflow:hidden;"," width:",X(a.Wa),";height:",X(a.Va),";"," top:",X(a.Ka),";"," left:",X(a.Ja),";"," z-index:",e,";",\'">\');b[q](\'<img src="\',d,\'"\',\' style="\'," position:absolute;"," top:",X(-a.Jc*h),";"," left:",X(-a.Ic*g),";"," width:",X(c[u]*g),";"," height:",X(c[H]*h),";",\'"/>\');b[q]("</div>")};function KD(a){if(Hq()){var b=a[wb]("canvas");return function(a,d){return new ED(a,d,b)}}return function(a,b){return new ID(a,b)}};function LD(){}function MD(a){var b=0;yd(a.b,function(a,d){b+=sq(d.pa)});return b};function ND(a,b,c){var d=new Ff,e=new Ff;new rD(a,d,e,new UC,Jd(Qm).ua);var a=bm(b[Wj]()),f=KD(a),f=DD(f),g={},h=new yD(g,d,f);h[t]("projection",b);c.b=g;var m=new yD({},e,f);m[t]("projection",b);c=new pD(g,new U(256,256),b.N(),a);rq(b.n,c);S(ze,function(a){a.dc(b,h,"overlayImage",-1);a.dc(b,m,"overlayShadow")})};function OD(){}OD[D].b=function(a,b){if(b instanceof Of||2==Z[y]&&7>Z[lj])kD(a,b);else{var c=new Ff;kD(c,b);var d=new Ff,e=new LD;ND(d,b,e);new lD(a,d,c);l[Vb](function(){S(Ge,function(b){function d(a){return""+(a?o[eb](o.log(a)*o.LOG2E):0)}var h=sq(a),m=sq(c),p=MD(e),h={src:"apiv3",m:d(h),d:d(m),s:d(p)};b.ab.fc("ev=api_marker&cad="+xl(h))})},1E4)}};var PD=new OD;ff[Ae]=function(a){eval(a)};jf(Ae,PD);\n')