map.js.завантаження 35.2 KB
google.maps.__gjsload__('map', function(_){var Sx=function(a,b){var c=Math.pow(2,b.$);b=new _.kc(a.size.b*b.T/c,a.size.f*(.5+(b.U/c-.5)/a.f));c=b.b;var d=b.f;switch((360+-1*a.heading)%360){case 90:c=b.f;d=a.size.f-b.b;break;case 180:c=a.size.b-b.b;d=a.size.f-b.f;break;case 270:c=a.size.b-b.f,d=b.b}return new _.kc(c,d)},Tx=function(a,b){a=_.Pd(new _.Kj(a.b.data[7]),0).slice();return _.Rj(a,function(a){return a+"deg="+b+"&"})},Ux=function(a){var b=Math.round(1E7*a);return 0>a?b+4294967296:b},Vx=function(a){this.data=a||[]},Wx=function(a,b){var c=
a.x,d=a.y;switch(b){case 90:a.x=d;a.y=256-c;break;case 180:a.x=256-c;a.y=256-d;break;case 270:a.x=256-d,a.y=c}},Xx=function(a,b){this.j=b||new _.Jf;this.b=new _.Wc(a%360,45);this.l=new _.z(0,0);this.f=!0},Yx=function(a){return _.Pw.fromPointToLatLng(new _.z(a.b,a.f),void 0)},Zx=function(a,b){return new _.No([a],b)},$x=function(a,b,c){return new _.No([a,b],c)},ay=_.qa(".gm-style-pbc{transition:opacity ease-in-out;background-color:rgba(0,0,0,0.45);text-align:center}.gm-style-pbt{font-size:22px;color:white;font-family:Roboto,Arial,sans-serif;position:relative;margin:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}\n"),
by=function(a){this.b=a;this.j=_.Y("p",a);this.l=0;_.Zl(a,"gm-style-pbc");_.Zl(this.j,"gm-style-pbt");_.Xm(ay);a.style.transitionDuration="0";a.style.opacity=0;_.ym(a)},cy=function(a,b){var c=2==_.X.b?"\u0429\u043e\u0431 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043a\u0430\u0440\u0442\u0438, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u2318 + \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0443\u0432\u0430\u043d\u043d\u044f":
"\u0429\u043e\u0431 \u0437\u043c\u0456\u043d\u044e\u0432\u0430\u0442\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043a\u0430\u0440\u0442\u0438, \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0443\u0439\u0442\u0435 \u043a\u043e\u043b\u0456\u0449\u0430\u0442\u043a\u043e \u043c\u0438\u0448\u0456, \u0443\u0442\u0440\u0438\u043c\u0443\u044e\u0447\u0438 \u043a\u043b\u0430\u0432\u0456\u0448\u0443 Ctrl";a.j.textContent=(void 0===b?0:b)?c:"\u041f\u0435\u0440\u0435\u043c\u0456\u0449\u0443\u0439\u0442\u0435 \u043a\u0430\u0440\u0442\u0443 \u0434\u0432\u043e\u043c\u0430 \u043f\u0430\u043b\u044c\u0446\u044f\u043c\u0438";
a.b.style.transitionDuration="0.3s";a.b.style.opacity=1},dy=function(a){a.b.style.transitionDuration="0.8s";a.b.style.opacity=0},ey=function(a){this.b=new _.Rf;this.f=a},fy=function(a,b){return(a.get("featureRects")||[]).some(function(a){return a.contains(b)})},gy=function(a,b){if(!b)return 0;var c=0,d=a.f,e=a.b;b=_.Da(b);for(var f=b.next();!f.done;f=b.next()){var g=f.value;if(a.intersects(g)){f=g.f;var h=g.b;if(_.wj(g,a))return 1;g=e.contains(h.b)&&h.contains(e.b)&&!e.W(h)?_.uc(h.b,e.f)+_.uc(e.b,
h.f):_.uc(e.contains(h.b)?h.b:e.b,e.contains(h.f)?h.f:e.f);c+=g*(Math.min(d.f,f.f)-Math.max(d.b,f.b))}}return c/=(d.isEmpty()?0:d.f-d.b)*_.vc(e)},hy=function(){return function(a,b){if(a&&b)return.9<=gy(a,b)}},iy=function(){var a=!1;return function(b,c){if(b&&c){if(.999999>gy(b,c))return a=!1;b=_.Uk(b,(_.jx-1)/2);return.999999<gy(b,c)?a=!0:a}}},jy=function(a,b,c,d,e,f,g){var h=new _.wu;_.xu(h,a,b);null!=c&&_.Au(h,c,0,d);g&&g.forEach(function(a){return _.Du(h,a,c)});e&&_.w(e,function(a){return _.Cu(h,
a)});f&&_.Eu(h,f);return h.b},ky=function(a,b,c,d,e,f,g,h,l){var n=[];if(e){var q=new _.tk;q.data[0]=e.type;if(e.params)for(var r in e.params){var v=_.uk(q);_.sk(v,r);var C=e.params[r];C&&(v.data[1]=C)}n.push(q)}e=new _.tk;e.data[0]=37;_.sk(_.uk(e),"smartmaps");n.push(e);return{Aa:jy(a,b,c,d,n,f,l),Ib:g,scale:h}},ly=function(a,b,c,d,e,f,g,h,l,n,q,r,v,C){_.Sg.call(this);this.B=a;this.l=b;this.projection=c;this.maxZoom=d;this.tileSize=new _.D(256,256);this.name=e;this.alt=f;this.G=g;this.heading=C;
this.F=_.x(C);this.Jc=h;this.__gmsd=l;this.sa=n;this.f=null;this.D=q;this.m=r;this.C=v;this.Oc=!0;this.j=_.vd({})},my=function(a,b,c,d,e){ly.call(this,a.B,a.l,a.projection,a.maxZoom,a.name,a.alt,a.G,a.Jc,a.__gmsd,a.sa,a.D,a.m,a.C,a.heading);this.l&&this.j.set(ky(this.m,this.C,this.sa,this.D,this.__gmsd,b,c,d,e))},ny=function(a,b,c,d){d=void 0===d?{}:d;this.Z=a;this.f=b;this.b=c.slice(0);this.j=d.za||_.Ia},oy=function(a){var b=this;this.tileSize=a[0].tileSize;this.Ca=a[0].Ca;this.Ua=a[0].Ua;this.b=
a;this.rb=a[0].rb;_.Sj(a,function(a){var c=a.tileSize,e=b.tileSize;return c.Na==e.Na&&c.Oa==e.Oa&&a.Ca==b.Ca})},qy=function(a,b,c,d,e,f,g,h){this.Z=a.Z;this.b=a;this.m=_.Rj(b||[],function(a){return a.replace(/&$/,"")});this.F=c;this.B=d;this.j=e;this.D=f;this.f=g;this.C=h||null;this.l=!1;py(this)},py=function(a){if(a.f){var b=Yx(Sx(a.D,{T:a.Z.T+.5,U:a.Z.U+.5,$:a.Z.$}));if(!fy(a.f,b)){a.l=!0;a.f.b.addListenerOnce(function(){return py(a)});return}}a.l=!1;b=2==a.j||4==a.j?a.j:1;b=Math.min(1<<a.Z.$,b);
for(var c=a.F&&4!=b,d=a.Z.$,e=b;1<e;e/=2)d--;if(e=a.B({T:a.Z.T,U:a.Z.U,$:a.Z.$}))d=_.Wl(_.Wl(_.Wl(new _.Ql(_.Gu(a.m,e)),"x",e.T),"y",e.U),"z",d),1!=b&&_.Wl(d,"w",256/b),c&&(b*=2),1!=b&&_.Wl(d,"scale",b),a.b.setUrl(d.toString(),a.C)},ry=function(a,b,c,d,e,f,g,h,l){this.tileSize={Na:b.width,Oa:b.height};this.m=c;this.b=a||[];this.C=b;this.l=d;this.D=e;this.f=f;this.B=g;this.Ca=!0;this.rb=1;this.Ua=h;this.j=l},sy=function(a,b){this.tileSize=a.tileSize;this.Ca=!0;this.f=a;this.b=b;this.Ua=_.$i;this.rb=
1},ty=function(a,b,c,d){var e=_.Nj(),f=_.zf(_.R);this.H=b;this.b=c;this.j=new _.Jf;this.f=_.wf(f);this.l=_.xf(f);this.B=_.N(e,14);this.m=_.N(e,15);this.C=new _.tu(a,e,f);this.D=d},uy=function(a,b,c,d){d=void 0===d?{Ga:null}:d;var e=_.x(d.heading),f=("hybrid"==b&&!e||"terrain"==b||"roadmap"==b)&&0!=d.zk,g=d.Ga;return"satellite"==b?(b=e?Tx(a.C,d.heading||0):_.Pd(new _.Kj(a.C.b.data[1]),0).slice(),c=new _.If(new _.kc(256,256),e?45:0,d.heading||0),new ry(b,new _.D(256,256),"\u0422\u0443\u0442 \u043d\u0435\u043c\u0430\u0454 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f.",
window.document,f&&1<_.Vk(),_.Ou(d.heading),g&&g.scale||null,c,e?a.D:null)):new _.Nu(_.uu(a.C),new _.D(256,256),"\u0422\u0443\u0442 \u043d\u0435\u043c\u0430\u0454 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f.",window.document,f&&1<_.Vk(),_.Ou(d.heading),c,g,d.heading)},vy=function(a){function b(a,b){if(!b||!b.Aa)return b;var c=[];_.Cj(c,b.Aa.data);c=new _.Kt(c);_.xt(_.qu(c)).data[0]=a;return{scale:b.scale,Ib:b.Ib,Aa:c}}return function(c){var d=uy(a,"roadmap",a.b,{zk:!1,Ga:b(3,c.Ga().get())}),
e=uy(a,"roadmap",a.b,{Ga:b(18,c.Ga().get())});d=new oy([d,e]);c=uy(a,"roadmap",a.b,{Ga:c.Ga().get()});return new sy(d,c)}},wy=function(a){return function(b){var c=b.Ga().get(),d=uy(a,"satellite",null,{heading:b.heading,Ga:c});b=uy(a,"hybrid",a.b,{heading:b.heading,Ga:c});return new oy([d,b])}},xy=function(a,b){return new ly(wy(a),a.b,_.Ha(b)?new Xx(b):a.j,_.Ha(b)?21:22,"\u041a\u043e\u043c\u0431\u0456\u043d\u043e\u0432\u0430\u043d\u0430","\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0437 \u043d\u0430\u0437\u0432\u0430\u043c\u0438 \u0432\u0443\u043b\u0438\u0446\u044c",
_.Iw.hybrid,"m@"+a.B,{type:68,params:{set:"RoadmapSatellite"}},"hybrid",a.m,a.f,a.l,b)},yy=function(a){return function(b){return uy(a,"satellite",null,{heading:b.heading,Ga:b.Ga().get()})}},zy=function(a,b){var c=_.Ha(b);return new ly(yy(a),null,_.Ha(b)?new Xx(b):a.j,c?21:22,"\u0421\u0443\u043f\u0443\u0442\u043d\u0438\u043a","\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0456\u0437 \u0441\u0443\u043f\u0443\u0442\u043d\u0438\u043a\u0430",
c?"a":_.Iw.satellite,null,null,"satellite",a.m,a.f,a.l,b)},Ay=function(a,b){return function(c){return uy(a,b,a.b,{Ga:c.Ga().get()})}},By=function(a,b,c){c=void 0===c?{}:c;var d=[0,90,180,270];if("hybrid"==b)for(b=xy(a),b.f={},d=_.Da(d),c=d.next();!c.done;c=d.next())c=c.value,b.f[c]=xy(a,c);else if("satellite"==b)for(b=zy(a),b.f={},d=_.Da(d),c=d.next();!c.done;c=d.next())c=c.value,b.f[c]=zy(a,c);else b="roadmap"==b&&1<_.Vk()&&c.bl?new ly(vy(a),a.b,a.j,22,"\u041a\u0430\u0440\u0442\u0430","\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043a\u0430\u0440\u0442\u0443 \u0432\u0443\u043b\u0438\u0446\u044c",
_.Iw.roadmap,"m@"+a.B,{type:68,params:{set:"Roadmap"}},"roadmap",a.m,a.f,a.l,void 0):"terrain"==b?new ly(Ay(a,"terrain"),a.b,a.j,21,"\u041b\u0430\u043d\u0434\u0448\u0430\u0444\u0442","\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043a\u0430\u0440\u0442\u0443 \u0432\u0443\u043b\u0438\u0446\u044c \u0456\u0437 \u043b\u0430\u043d\u0434\u0448\u0430\u0444\u0442\u043e\u043c",_.Iw.terrain,"r@"+a.B,{type:68,params:{set:"Terrain"}},"terrain",a.m,a.f,a.l,void 0):new ly(Ay(a,"roadmap"),a.b,a.j,22,"\u041a\u0430\u0440\u0442\u0430",
"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043a\u0430\u0440\u0442\u0443 \u0432\u0443\u043b\u0438\u0446\u044c",_.Iw.roadmap,"m@"+a.B,{type:68},"roadmap",a.m,a.f,a.l,void 0);return b},Cy=_.oa("b"),Dy=function(a,b,c,d){function e(){if(!g.b&&!g.f){var n=c.get(),q=b.get("center"),r=b.get("zoom");null!=r&&q&&n&&n.width&&n.height&&(c.removeListener(e),h.remove(),l.remove(),d.size=n.width+"x"+n.height,d.hadviewport=f,g.f=q,g.m=r,g.b=_.Df("map2",{startTime:f?a:void 0,en:d}))}}this.H=b;this.j={};this.m=
this.f=this.b=null;this.l=!1;var f=!0,g=this,h=b.addListener("center_changed",e),l=b.addListener("zoom_changed",e);c.addListener(e);e();f=!1},Ey=function(a,b,c){!a.b||a.j[b]||a.l||(a.f.W(a.H.get("center"))&&a.m==a.H.get("zoom")?(a.j[b]=!0,c.call(a)):a.l=!0)},Fy=function(a,b){Ey(a,"staticmap",function(){var a={staticmap:b};Ey(this,"firstpixel",function(){a.firstpixel=b});Ey(this,"allpixels",function(){a.allpixels=b});_.Bf(this.b,a)})},Hy=function(a){var b={};b.firstmap=Gy;b.hdpi=1<_.Vk();b.mob=!_.X.D;
b.staticmap=a;return b},Iy=function(a,b,c,d){var e=new Dy(a,b,c,Hy(!!d));Gy=!1;d&&_.zj(d,function h(a){a&&(d.removeListener(h),Fy(e,a))});_.G.addListenerOnce(b,"tilesloaded",(0,_.t)(e.C,e));return e},Jy=function(){var a,b=new _.K;b.bounds_changed=function(){var c=b.get("bounds");c?a&&_.tj(a,c)||(a=_.oc(c.I-512,c.J-512,c.K+512,c.L+512),b.set("boundsQ",a)):b.set("boundsQ",c)};return b},Ky=function(a){var b=window.document.createElement("div");_.qm(b);_.um(b,0);a.appendChild(b);this.set("div",b)},Ly=
function(a,b){var c=a.__gm;b=new Ky(b);b.bindTo("center",a);b.bindTo("projectionBounds",c);b.bindTo("offset",c);return b},My=function(a,b){this.j=a;this.m=b},Ny=function(a,b,c,d){return d?new My(a,function(){return b}):_.wg[23]?new My(a,function(a){var d=c.get("scale");return 2==d||4==d?b:a}):a},Ry=function(a,b,c,d,e,f,g,h,l,n){this.H=a;this.m=g;this.aa=e;this.j=f;this.F=h;this.f=n;this.G=c;this.b=b;this.C=d;this.B=this.l=0;_.G.X(this.b,"contextmenu",this,this.jg);a=new by(this.j.get("panBlock"));
Oy(this,a);a={dm:_.Qj(_.pn,this.H),Ra:this.j.get("eventCapturer"),mc:a,mode:this.f};l=new _.Ru(this.b,!0,a,l);Py(this,l);Qy(this,l);l.bindTo("draggable",this);l.bindTo("draggingCursor",this);l.bindTo("draggableCursor",this);_.G.forward(this.m,"forceredraw",this.H);_.G.forward(this.m,"tilesloaded",this.H)},Sy=function(a){var b=a.get("zoom");var c=b;var d=a.get("zoomRange");d&&(c=_.yv(d,c));b!=c&&a.set("zoom",c)},Py=function(a,b){_.G.bind(b,"click",a,a.lj);_.G.bind(b,"dblclick",a,a.Am);_.G.bind(b,"mousedown",
a,a.mj);_.w(["mouseover","mousemove","mouseout","mousedown","mouseup"],function(c){_.G.addListener(b,c,(0,_.t)(a.je,a,c))});var c=new _.aw(b);c.bindTo("disabled",a,"disablePanMomentum");var d=a.j.get("mouseEventTarget");_.w(["movestart","move","moveend"],function(b){_.G.addListener(d,b,function(c){Ty(a,b,c)});_.G.addListener(c,b,function(c){Ty(a,b,c)})});_.G.forward(b,"mousedown",a.m);_.G.addListener(d,"mousewheel",(0,_.t)(a.se,a))},Ty=function(a,b,c){c&&(c.latLng=a.aa.fromContainerPixelToLatLng(c.fa));
_.G.trigger(a.j,b,c);c&&_.jq(c)||_.G.trigger(a.m,b,c)},Qy=function(a,b){_.G.addListener(b,"movestart",(0,_.t)(function(){_.G.trigger(this.H,"dragstart")},a));_.G.addListener(b,"move",(0,_.t)(function(){_.G.trigger(this.H,"drag")},a));_.G.addListener(b,"moveend",(0,_.t)(function(){_.G.trigger(this.H,"dragend")},a))},Oy=function(a,b){var c=new _.fw(a.b);_.G.bind(c,"mousewheel",a,a.se);_.Bq(c,"scrollRequiresCtrlKey",Zx(a.f,function(a){return"cooperative"==a?b:null}));_.Bq(c,"enabled",$x(a.f,_.Dq(a,"scrollwheel"),
function(a,b){return null!=b?!!b:"none"!=a}))},Uy=function(a,b,c,d,e,f,g,h){var l=c.__gm,n=new Ry(c,a,b,!!c.Y,e,l,d,g,(0,_.t)(f.b,f),h);n.bindTo("draggingCursor",c);n.bindTo("draggableMap",c,"draggable");_.G.addListener(c,"zoom_changed",function(){n.get("zoom")!=c.get("zoom")&&n.set("zoom",c.get("zoom"))});n.set("zoom",c.get("zoom"));n.bindTo("disablePanMomentum",c);n.bindTo("projectionTopLeft",e);n.bindTo("draggableCursor",l,"cursor");d.bindTo("zoom",n);e.bindTo("zoom",n);return n},Vy=function(a,
b){_.G.Sa(window,"resize",a);_.G.forward(a,"resize",b);_.G.bind(b,"resize",this,this.b);this.f=b;this.b()},Yy=function(a,b){this.j=a;this.f=b;this.P=[_.G.bind(b,"insert_at",this,this.l),_.G.bind(b,"remove_at",this,this.m),_.G.bind(b,"set_at",this,this.B)];this.b=[];var c=this;this.f.forEach(function(a){a=Wy(c,a);c.b.push(a)});Xy(this)},Xy=function(a){_.w(a.b,function(a,c){a.set("zIndex",c)})},Wy=function(a,b){var c=new _.Yu(a.j,null);c.bindTo("size",a);c.bindTo("zoom",a);c.bindTo("offset",a);c.bindTo("projectionBounds",
a);_.av(c,b);c.listener=b&&_.G.forward(c,"tilesloaded",b);return c},Zy=function(a){a.release();a.listener&&(_.G.removeListener(a.listener),delete a.listener)},$y=function(a,b){this.j=a;this.f=b;_.G.bind(this,"tilesloaded",this,this.l);this.b=null},az=function(a){a.b&&(a.b.la(),a.b.unbindAll(),a.b=null)},bz=function(a){a.b||(a.b=new Yy(a.j,a.f),a.b.bindTo("size",a),a.b.bindTo("zoom",a),a.b.bindTo("offset",a),a.b.bindTo("projectionBounds",a))},cz=function(a){switch(a.sa){case "roadmap":return"Otm";
case "satellite":return"Otk";case "hybrid":return"Oth";case "terrain":return"Otr"}return a instanceof _.Tg?"Ots":"Oto"},dz=function(a,b){if(!a)return null;var c=!0,d=a.tileSize,e=a.Ca;_.w(b,function(a){if(!a)return null;c=c&&d.Na==a.tileSize.width&&d.Oa==a.tileSize.height&&e==a.Oc});if(!c)return null;if(0==b.length)return a;var f=[];_.w(b,function(a){if(!a)return null;f.push(a instanceof _.Sg?a.b():new _.Vu(a))});return new oy([a].concat(f))},ez=function(a,b){var c=null,d=null,e=null;return function(f,
g,h){if(h)return null;if(d==f&&e==g)return c;d=f;e=g;_.w(f,function(b){b&&a(cz(b))});c=null;g instanceof _.Sg?c=g.b():g&&(c=new _.Vu(g));b&&((f=dz(c,f))?(c=f,az(b)):bz(b));return c}},fz=function(a,b,c,d,e){this.f=a;var f=_.Dq(this,"apistyle"),g=_.Dq(this,"authUser"),h=_.Dq(this,"baseMapType"),l=_.Dq(this,"scale"),n=_.Dq(this,"tilt");a=_.Dq(this,"blockingLayerCount");this.b=null;var q=(0,_.t)(this.Hk,this);b=new _.No([f,g,b,h,l,n],q);_.Bq(this,"tileMapType",b);this.l=_.vd([]);f=(0,_.t)(this.Ln,this,
c);_.G.bind(c,"insert_at",this,f);_.G.bind(c,"remove_at",this,f);_.G.bind(c,"set_at",this,f);f();this.B=new _.No([this.l,b,a],ez(e,d))},gz=function(a,b){var c=a.__gm,d=a.mapTypes,e=a.__gm;b=new $y(b,a.overlayMapTypes);b.bindTo("size",e);b.bindTo("zoom",e);b.bindTo("offset",e);b.bindTo("projectionBounds",e);_.G.forward(a,"tilesloaded",b);d=new fz(d,c.b,a.overlayMapTypes,b,_.Qj(_.pn,a));d.bindTo("heading",a);d.bindTo("mapTypeId",a);_.wg[23]&&d.bindTo("scale",a);d.bindTo("apistyle",c);d.bindTo("authUser",
c);d.bindTo("tilt",c);d.bindTo("blockingLayerCount",c);return d},hz=_.k(),mz=function(a){if(!a)return"";var b=[];a=_.Da(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value,e=d.elementType,f=d.stylers;c=[];d=(d=d.featureType)&&iz[d.toLowerCase()];(d=null!=d?d:null)&&c.push("s.t:"+d);(e=e&&jz[e.toLowerCase()]||null)&&c.push("s.e:"+e);if(f)for(f=_.Da(f),d=f.next();!d.done;d=f.next()){a:{e=void 0;d=d.value;for(e in d){var g=d[e],h=e&&kz[e.toLowerCase()]||null;if(h&&(_.x(g)||_.Pb(g)||_.Qb(g))&&g){"color"==
e&&lz.test(g)&&(g="#ff"+g.substr(1));e="p."+h+":"+g;break a}}e=void 0}e&&c.push(e)}(c=c.join("|"))&&b.push(c)}b=b.join(",");return 1E3>=b.length?b:""},nz=_.k(),oz=function(){this.B=new _.Rf;this.m={};this.j={}},qz=function(){pz(this)},pz=function(a){var b=new _.xv(a.get("minZoom")||0,a.get("maxZoom")||30),c=a.get("mapTypeMinZoom"),d=a.get("mapTypeMaxZoom"),e=a.get("trackerMaxZoom");_.x(c)&&(b.min=Math.max(b.min,c));_.x(e)?b.max=Math.min(b.max,e):_.x(d)&&(b.max=Math.min(b.max,d));a.set("zoomRange",
b)},sz=function(a){var b=(b=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection||null)&&b.type;_.pn(a,"Nt",b&&rz[b]||"-na")},tz=function(a,b){function c(c){var d=b.getAt(c);if(d instanceof _.Tg){c=d.get("styles");var f=mz(c);d.b=function(){var b=By(a,d.f);return(new my(b,f,null,null,null)).b()}}}_.G.addListener(b,"insert_at",c);_.G.addListener(b,"set_at",c);b.forEach(function(a,b){return c(b)})},uz=function(a){var b=this;this.b=a;a.addListener(function(){return b.notify("style")})},
vz=function(a,b){this.b=a;this.f=b},wz=function(a,b,c){_.Fb(_.Sh,function(d,e){b.set(e,By(a,e,{bl:c}))})},xz=function(a,b){function c(a){switch(a.sa){case "roadmap":return"Tm";case "satellite":return a.F?"Ta":"Tk";case "hybrid":return a.F?"Ta":"Th";case "terrain":return"Tr";default:return"To"}}_.mk(b,"basemaptype_changed",function(){var d=b.get("baseMapType");d&&_.pn(a,c(d))});var d=a.__gm;_.mk(d,"hascustomstyles_changed",function(){d.get("hasCustomStyles")&&_.pn(a,"Ts")})},yz=function(a){if(a&&_.lm(a.getDiv())&&
(_.gm()||_.fm())){_.pn(a,"Tdev");var b=window.document.querySelector('meta[name="viewport"]');(b=b&&b.content)&&b.match(/width=device-width/)&&_.pn(a,"Mfp")}},zz=function(a){var b=new _.Mo(_.Qj(_.G.trigger,a,"idle"),300);b.f();_.G.addListener(a,"bounds_changed",(0,_.t)(b.f,b))},Az=function(){var a=new ey(hy()),b={};b.obliques=new ey(iy());b.report_map_issue=a;return b},Bz=function(a){var b=a.get("embedReportOnceLog");if(b){var c=function(){for(;b.getLength();){var c=b.pop();_.pn(a,c)}};_.G.addListener(b,
"insert_at",c);c()}else _.G.addListenerOnce(a,"embedreportoncelog_changed",function(){Bz(a)})},Cz=function(a){var b=a.get("embedFeatureLog");if(b){var c=function(){for(;b.getLength();){var c=b.pop();_.qn(a,c)}};_.G.addListener(b,"insert_at",c);c()}else _.G.addListenerOnce(a,"embedfeaturelog_changed",function(){Cz(a)})},Dz=_.k();_.Rf.prototype.b=_.oj(7,function(a){_.od(this.P,function(b){b(a)})});_.u(Vx,_.M);Vx.prototype.getTile=function(){return new _.yt(this.data[1])};
var kz={hue:"h",saturation:"s",lightness:"l",gamma:"g",invert_lightness:"il",visibility:"v",color:"c",weight:"w"},iz={all:0,administrative:1,"administrative.country":17,"administrative.province":18,"administrative.locality":19,"administrative.neighborhood":20,"administrative.land_parcel":21,poi:2,"poi.business":33,"poi.government":34,"poi.school":35,"poi.medical":36,"poi.attraction":37,"poi.place_of_worship":38,"poi.sports_complex":39,"poi.park":40,road:3,"road.highway":49,"road.highway.controlled_access":785,
"road.arterial":50,"road.local":51,transit:4,"transit.line":65,"transit.station":66,"transit.station.rail":1057,"transit.station.bus":1058,"transit.station.airport":1059,"transit.station.ferry":1060,landscape:5,"landscape.man_made":81,"landscape.natural":82,"landscape.natural.landcover":1313,"landscape.natural.terrain":1314,water:6},jz={all:"",geometry:"g","geometry.fill":"g.f","geometry.stroke":"g.s",labels:"l","labels.icon":"l.i","labels.text":"l.t","labels.text.fill":"l.t.f","labels.text.stroke":"l.t.s"};
Xx.prototype.fromLatLngToPoint=function(a,b){b=this.j.fromLatLngToPoint(a,b);Wx(b,this.b.heading());b.y=(b.y-128)/_.Ow+128;return b};Xx.prototype.fromPointToLatLng=function(a,b){var c=this.l;c.x=a.x;c.y=(a.y-128)*_.Ow+128;Wx(c,360-this.b.heading());return this.j.fromPointToLatLng(c,b)};Xx.prototype.getPov=_.pa("b");
by.prototype.f=function(a){var b=this;(0,window.clearTimeout)(this.l);1==a?(cy(this,!0),this.l=(0,window.setTimeout)(function(){return dy(b)},1500)):2==a?cy(this,!1):3==a?dy(this):4==a&&(this.b.style.transitionDuration="0.2s",this.b.style.opacity=0)};_.Oj(ey,_.K);ey.prototype.changed=function(a){if("available"!=a){"featureRects"==a&&this.b.b(null);a=this.get("viewport");var b=this.get("featureRects");a=this.f(a,b);null!=a&&a!=this.get("available")&&this.set("available",a)}};_.Oj(ly,_.Sg);
ly.prototype.b=function(){return this.B(this)};ly.prototype.Ga=_.pa("j");_.Oj(my,ly);ny.prototype.ga=_.pa("f");ny.prototype.lb=function(){return _.Sj(this.b,function(a){return a.lb()})};ny.prototype.release=function(){for(var a=_.Da(this.b),b=a.next();!b.done;b=a.next())b.value.release();this.j()};ny.prototype.freeze=function(){for(var a=_.Da(this.b),b=a.next();!b.done;b=a.next())b.value.freeze()};
oy.prototype.xa=function(a,b){function c(){b.na&&f.lb()&&b.na()}b=void 0===b?{}:b;var d=_.Jk(window.document,"DIV"),e=_.Rj(this.b,function(b,e){b=b.xa(a,{na:c});var f=b.ga();f.style.position="absolute";f.style.zIndex=e;d.appendChild(f);return b}),f=new ny(a,d,e,{za:b.za});return f};qy.prototype.ga=function(){return this.b.ga()};qy.prototype.lb=function(){return!this.l&&this.b.lb()};qy.prototype.release=function(){this.b.release()};qy.prototype.freeze=function(){this.b.freeze()};
ry.prototype.xa=function(a,b){a=new _.Hu(a,this.C,this.l.createElement("div"),{Zg:this.m||void 0,za:b&&b.za});return new qy(a,this.b,this.D,this.f,this.B,this.Ua,this.j,b&&b.na)};var Ez=[{pe:108.25,oe:109.625,re:49,qe:51.5},{pe:109.625,oe:109.75,re:49,qe:50.875},{pe:109.75,oe:110.5,re:49,qe:50.625},{pe:110.5,oe:110.625,re:49,qe:49.75}];
sy.prototype.xa=function(a,b){a:{var c=a.$;if(!(7>c)){var d=1<<c-7;c=a.T/d;d=a.U/d;for(var e=_.Da(Ez),f=e.next();!f.done;f=e.next())if(f=f.value,c>=f.pe&&c<=f.oe&&d>=f.re&&d<=f.qe){c=!0;break a}}c=!1}return c?this.b.xa(a,b):this.f.xa(a,b)};_.u(Cy,_.K);Cy.prototype.immutable_changed=function(){var a=this,b=a.get("immutable"),c=a.f;b!=c&&(_.Fb(a.b,function(d){(c&&c[d])!==(b&&b[d])&&a.set(d,b&&b[d])}),a.f=b)};Dy.prototype.D=function(){Ey(this,"visreq",function(){_.Cf(this.b,"visreq")})};
Dy.prototype.F=function(){Ey(this,"visres",function(){_.Cf(this.b,"visres")})};Dy.prototype.B=function(){Ey(this,"firsttile",function(){var a={firsttile:void 0};Ey(this,"firstpixel",function(){a.firstpixel=void 0});_.Bf(this.b,a)})};Dy.prototype.C=function(){Ey(this,"tilesloaded",function(){var a={tilesloaded:void 0};Ey(this,"allpixels",function(){a.allpixels=void 0});_.Bf(this.b,a)})};var Gy=!0;_.u(Ky,_.K);
Ky.prototype.offset_changed=function(){this.set("newCenter",this.get("center"));var a=this.get("projectionBounds"),b=this.get("offset");if(a&&b){var c=this.get("div");_.mm(c,new _.z(a.I-b.width,a.J-b.height));_.rm(c)}};My.prototype.l=function(a){return this.m(this.j.l(a))};My.prototype.f=function(a){return this.m(this.j.f(a))};My.prototype.b=function(){return this.j.b()};_.u(Ry,_.K);_.m=Ry.prototype;_.m.zoom_changed=function(){Sy(this)};_.m.zoomRange_changed=function(){Sy(this)};
_.m.jg=function(a){var b=_.ik();300>=b-this.B?(this.B=0,b="none"==this.f.get(),this.get("disableDoubleClickZoom")||b||this.se(_.on(a,this.b),-1)):(this.B=b,this.je("rightclick",a));_.Nc(a);_.Oc(a);this.D=!0};_.m.Am=function(a){if(!(1<a.button||_.xj(a)||(this.je("dblclick",a),_.xj(a)))){this.l=0;var b="none"==this.f.get();this.get("disableDoubleClickZoom")||b||(a=_.on(a,this.b),this.se(a,1))}};
_.m.lj=function(a){if(!_.xj(a)&&!this.D){var b=_.ik();300>=b-this.l?this.l=0:(this.l=b,this.je("click",a));_.rn("Mm","-i",this,this.C)}};
_.m.je=function(a,b){var c=_.on(b,this.G),d=_.on(b,this.b),e=this.aa.fromDivPixelToLatLng(c,!0);if(e){c=new _.F(e.lat(),e.lng());e=this.H.get("projection").fromLatLngToPoint(e);b=new _.nk(c,b,d,e);d=this.j.f;c=_.hm();e=d.l;var f=b.va&&_.xj(b.va);if(d.b){var g=d.b;var h=d.j}else if("mouseout"==a||f)h=g=null;else{for(var l=0;(g=e[l++])&&!(h=g.b(b,!1)););if(!h&&c)for(l=0;(g=e[l++])&&!(h=g.b(b,!0)););}if(g!=d.f||h!=d.m)d.f&&d.f.handleEvent("mouseout",b,d.m),d.f=g,d.m=h,g&&g.handleEvent("mouseover",b,
h);g?"mouseover"==a||"mouseout"==a?h=!1:(g.handleEvent(a,b,h),h=!0):h=!!f;h||(this.set("draggableCursor",this.H.get("draggableCursor")),this.F.get("title")&&this.F.set("title",null),delete b.va,_.G.trigger(this.H,a,b))}};_.m.mj=function(a){this.D=!1;5!=_.X.type||2!=_.X.b||2!=a.button||a.ctrlKey||this.jg(a)};
_.m.se=function(a,b){b=Math.pow(2,b);var c=new _.gq(0,0,b);_.hq(c,new _.z(-a.x,-a.y));a=new _.fq(b,new _.z(c.x,c.y),a);Ty(this,"movestart",null);Ty(this,"move",a);Ty(this,"moveend",a);_.rn("Mm","-i",this,this.C)};_.u(Vy,_.K);Vy.prototype.b=function(){var a=new _.D(this.f.clientWidth,this.f.clientHeight);a.W(this.get("size"))||this.set("size",a)};_.u(Yy,_.K);Yy.prototype.la=function(){_.w(this.b,function(a){Zy(a)},this);this.b.length=0;_.w(this.P,function(a){a.remove()})};
Yy.prototype.l=function(a){var b=this.b,c=Wy(this,this.f.getAt(a));b.splice(a,0,c);Xy(this)};Yy.prototype.m=function(a){var b=this.b;Zy(b[a]);b.splice(a,1);Xy(this)};Yy.prototype.B=function(a){Zy(this.b[a]);var b=Wy(this,this.f.getAt(a));b.set("zIndex",a);this.b[a]=b};_.u($y,_.K);$y.prototype.l=function(){this.b||this.f.forEach(function(a){a&&_.G.trigger(a,"tilesloaded")})};_.u(fz,_.K);_.m=fz.prototype;_.m.mapTypeId_changed=function(){var a=this.get("mapTypeId");this.sd(a)};
_.m.heading_changed=function(){var a=this.get("heading");if(_.Ha(a)){var b=_.Jb(90*Math.round(a/90),0,360);a!=b?this.set("heading",b):(a=this.get("mapTypeId"),this.sd(a))}};_.m.tilt_changed=function(){var a=this.get("mapTypeId");this.sd(a)};_.m.Ln=function(a){this.l.set(a.getArray().slice())};_.m.setMapTypeId=function(a){this.sd(a);this.set("mapTypeId",a)};
_.m.sd=function(a){var b=this.get("heading")||0,c=this.f.get(a),d=this.get("tilt");if(d&&c&&c instanceof ly&&c.f&&c.f[b])c=c.f[b];else if(0==d&&0!=b){this.set("heading",0);return}c&&c==this.m||(this.j&&(_.G.removeListener(this.j),this.j=null),b=(0,_.t)(this.sd,this,a),a&&(this.j=_.G.addListener(this.f,a.toLowerCase()+"_changed",b)),c&&c instanceof _.Tg?(a=c.f,this.set("styles",c.get("styles")),this.set("baseMapType",this.f.get(a))):(this.set("styles",null),this.set("baseMapType",c)),this.set("maxZoom",
c&&c.maxZoom),this.set("minZoom",c&&c.minZoom),this.m=c)};_.m.Hk=function(a,b,c,d,e,f){if(void 0==f)return null;if(d instanceof ly){a=new my(d,a,b,e,c);if(b=this.b instanceof my)if(b=this.b,b==a)b=!0;else if(b&&a){if(c=b.heading==a.heading&&b.projection==a.projection&&b.Jc==a.Jc)b=b.j.get(),c=a.j.get(),c=b==c?!0:b&&c?b.scale==c.scale&&b.Ib==c.Ib&&(b.Aa==c.Aa?!0:b.Aa&&c.Aa?b.Aa.W(c.Aa):!1):!1;b=c}else b=!1;b||(this.b=a)}else this.b=d;return this.b};_.u(hz,_.K);
hz.prototype.changed=function(a){if("maxZoomRects"==a||"latLng"==a){a=this.get("latLng");var b=this.get("maxZoomRects");if(a&&b){for(var c=void 0,d=0,e;e=b[d++];)e.Ea.contains(a)&&(c=Math.max(c||0,e.maxZoom));a=c;a!=this.get("maxZoom")&&this.set("maxZoom",a)}else this.set("maxZoom",void 0)}};var lz=/^#[0-9a-fA-F]{6}$/;_.u(nz,_.K);
nz.prototype.changed=function(a){if("apistyle"!=a&&"hasCustomStyles"!=a){var b=this.get("mapTypeStyles")||this.get("styles");this.set("hasCustomStyles",_.Eb(b));a=[];_.wg[13]&&a.push({featureType:"poi.business",elementType:"labels",stylers:[{visibility:"off"}]});_.Nb(a,b);b=mz(a);b!=this.b&&(this.b=b,this.notify("apistyle"));a.length&&!b&&_.vb(_.Qj(_.G.trigger,this,"styleerror"))}};nz.prototype.getApistyle=_.pa("b");
oz.prototype.C=function(a){if(_.Sd(a,0)){this.m={};this.j={};for(var b=0;b<_.Sd(a,0);++b){var c=new Vx(_.Ij(a,0,b)),d=c.getTile(),e=d.getZoom(),f=_.N(d,1);d=_.N(d,2);c=_.N(c,2);var g=this.m;g[e]=g[e]||{};g[e][f]=g[e][f]||{};g[e][f][d]=c;this.j[e]=Math.max(this.j[e]||0,c)}this.B.b(null)}};oz.prototype.l=function(a){var b=this.m,c=a.T,d=a.U;a=a.$;return b[a]&&b[a][c]&&b[a][c][d]||0};oz.prototype.f=function(a){return this.j[a]||0};oz.prototype.b=_.pa("B");_.u(qz,_.K);
qz.prototype.changed=function(a){"zoomRange"!=a&&pz(this)};var rz={bluetooth:"-b",cellular:"-c",ethernet:"-e",none:"-n",wifi:"-wf",wimax:"-wm",other:"-o"};_.Oj(uz,_.K);uz.prototype.changed=function(a){"tileMapType"!=a&&"style"!=a&&this.notify("style")};
uz.prototype.getStyle=function(){var a=[],b=this.get("tileMapType");if(b instanceof ly&&(b=b.__gmsd)){var c=new _.tk;c.data[0]=b.type;if(b.params)for(var d in b.params){var e=_.uk(c);_.sk(e,d);var f=b.params[d];f&&(e.data[1]=f)}a.push(c)}d=new _.tk;d.data[0]=37;_.sk(_.uk(d),"smartmaps");a.push(d);this.b.get().forEach(function(b){b.li&&a.push(b.li)});return a};_.Oj(vz,_.K);
vz.prototype.getPrintableImageUri=function(a,b,c,d,e){d=void 0===d?0:d;e=void 0===e?1:e;var f=this.get("tileMapType");if(2048<a*e||2048<b*e||!(f instanceof ly))return null;d=d||this.get("zoom");if(null==d)return null;c=c||this.get("center");if(!c)return null;var g=f.Ga().get();if(!g.Aa)return null;var h=new _.wu(g.Aa);_.yu(h,0);var l=this.f.f(d);l&&_.Bu(h,l);if("hybrid"==f.sa){_.ru(h.b);for(f=_.Sd(h.b,1)-1;0<f;--f)_.Jj(new _.Xs(_.Ij(h.b,1,f)),new _.Xs(_.Ij(h.b,1,f-1)));f=new _.Xs(_.Ij(h.b,1,0));f.data[0]=
1;_.Gj(f,1);_.Gj(f,2)}if(2==e||4==e)(new _.Zs(_.P(h.b,4))).data[4]=e;e=d;d=new _.Gt(_.P(new _.Dt(_.Rd(h.b,0)),3));d.setZoom(e);e=new _.dp(_.P(d,2));f=Ux(c.lat());e.data[0]=f;c=Ux(c.lng());e.data[1]=c;d=new _.Ht(_.P(d,0));d.data[0]=a;d.data[1]=b;a=this.b;a+="pb="+(0,window.encodeURIComponent)(_.pu(h.b)).replace(/%20/g,"+");null!=g.Ib&&(a+="&authuser="+g.Ib);return a};Dz.prototype.f=function(a,b,c,d,e,f,g){var h=_.wf(_.zf(_.R)),l=a.__gm,n=a.getDiv();if(n){_.G.forward(n,"resize",c);_.G.addDomListenerOnce(c,"mousedown",function(){_.pn(a,"Mi")},!0);var q=new _.Hw({Mg:c,Pg:n,Ng:!0,uh:_.Ej(_.zf(_.R),15),backgroundColor:b.backgroundColor,Tf:!1,Ul:1==_.X.type,Vl:!0}),r=q.f;n=new Vy(c,q.j);_.um(q.j,0);_.G.forward(a,"resize",c);l.set("panes",q.C);l.set("innerContainer",q.m);var v=Iy(f,a,_.Dq(n,"size"),d&&d.B),C=new hz,A=Az(),y,B;(function(){var b=_.N(_.Nj(),14),c=a.get("noPerTile")&&
_.wg[15],d=new oz;y=Ny(d,b,a,c);B=new _.sw(h,C,A,c?null:d,0,v)})();B.bindTo("tilt",a);B.bindTo("heading",a);B.bindTo("bounds",a);B.bindTo("zoom",a);f=new ty(new _.Mj(_.P(_.R,1)),a,y,A.obliques);wz(f,a.mapTypes,b.enableSplitTiles);l.set("eventCapturer",q.B);l.set("panBlock",q.mc);var E=gz(a,q.C.mapPane);B.bindTo("baseMapType",E);l.ca=null;var I=_.vd(!1);f=_.Qo({draggable:_.Dq(a,"draggable"),Qg:_.Dq(a,"gestureHandling"),cd:I});var H=null;var J=new _.Jv(r,q.b,E.B,v);J.set("panes",q.C);J.bindTo("styles",
a);_.wg[20]&&J.bindTo("animatedZoom",a);_.Q("onion",function(b){b.f(a,y)});_.wg[35]&&(Bz(a),Cz(a));var ea=new _.rw;ea.bindTo("tilt",a);ea.bindTo("zoom",a);ea.bindTo("mapTypeId",a);ea.bindTo("aerial",A.obliques,"available");l.bindTo("tilt",ea,"actualTilt");_.G.addListener(B,"attributiontext_changed",function(){a.set("mapDataProviders",B.get("attributionText"))});var ta=new nz;ta.bindTo("styles",a);ta.bindTo("mapTypeStyles",E,"styles");l.bindTo("apistyle",ta);l.bindTo("hasCustomStyles",ta);_.G.forward(ta,
"styleerror",a);ta=new uz(l.b);ta.bindTo("tileMapType",E);l.bindTo("style",ta);if(J){var Ba=new _.lw;l.set("projectionController",Ba);J.bindTo("size",n);J.bindTo("projection",Ba);J.bindTo("projectionBounds",Ba);Ba.bindTo("projectionTopLeft",J);Ba.bindTo("offset",J);Ba.bindTo("latLngCenter",a,"center");Ba.bindTo("size",n);Ba.bindTo("projection",a);J.bindTo("fixedPoint",Ba);a.bindTo("bounds",Ba,"latLngBounds",!0)}l.set("mouseEventTarget",{});ta=new _.kw(_.X.j,q.m);ta.bindTo("title",l);var za;J&&(za=
Uy(q.m,r,a,J,Ba,g,ta,f));d&&(g=Ly(a,r),d.bindTo("div",g),d.bindTo("center",g,"newCenter"),za&&d.bindTo("zoom",za),d.bindTo("tilt",l),d.bindTo("size",l));za?l.bindTo("zoom",za):l.bindTo("zoom",a);l.bindTo("center",a);l.bindTo("size",n);l.bindTo("baseMapType",E);J&&(l.bindTo("offset",J),l.bindTo("layoutPixelBounds",J),l.bindTo("pixelBounds",J),l.bindTo("projectionTopLeft",J),l.bindTo("projectionBounds",J,"viewProjectionBounds"),l.bindTo("projectionCenterQ",Ba));a.set("tosUrl",_.Uw);J&&(d=Jy(),d.bindTo("bounds",
J,"pixelBounds"),l.bindTo("pixelBoundsQ",d,"boundsQ"));d=new Cy({projection:1});d.bindTo("immutable",l,"baseMapType");g=new _.zw({projection:new _.Jf});g.bindTo("projection",d);a.bindTo("projection",g);J&&(_.G.forward(l,"panby",J),_.G.forward(l,"panbynow",J),_.G.forward(l,"panbyfraction",J));_.G.addListener(l,"panto",function(b){if(b instanceof _.F)if(!a.get("center"))a.set("center",b);else{if(J){b=Ba.fromLatLngToDivPixel(b);var c=Ba.get("offset")||_.$h;b.x+=Math.round(c.width)-c.width;b.y+=Math.round(c.height)-
c.height;_.G.trigger(J,"panto",b.x,b.y)}}else throw Error("panTo: latLng must be of type LatLng");});J&&(_.G.forward(l,"pantobounds",J),_.G.addListener(l,"pantolatlngbounds",function(a){if(a instanceof _.Dc)J&&_.G.trigger(J,"pantobounds",_.Tk(Ba.get("projection"),a,Ba.get("zoom"),Ba.get("offset"),Ba.get("center")));else throw Error("panToBounds: latLngBounds must be of type LatLngBounds");}));J&&za&&_.G.addListener(za,"zoom_changed",function(){za.get("zoom")!=a.get("zoom")&&(a.set("zoom",za.get("zoom")),
_.un(a,"Mm"))});var ab=new qz;ab.bindTo("mapTypeMaxZoom",E,"maxZoom");ab.bindTo("mapTypeMinZoom",E,"minZoom");ab.bindTo("maxZoom",a);ab.bindTo("minZoom",a);ab.bindTo("trackerMaxZoom",C,"maxZoom");J&&za&&(za.bindTo("zoomRange",ab),J.bindTo("zoomRange",ab),za.bindTo("draggable",a),za.bindTo("scrollwheel",a),za.bindTo("disableDoubleClickZoom",a));var pc=new _.Aw(_.lm(c));l.bindTo("fontLoaded",pc);d=l.j;d.bindTo("scrollwheel",a);d.bindTo("disableDoubleClickZoom",a);d=function(){var b=a.get("streetView");
b?(a.bindTo("svClient",b,"client"),b.__gm.bindTo("fontLoaded",pc)):(a.unbind("svClient"),a.set("svClient",null))};d();_.G.addListener(a,"streetview_changed",d);if(_.wg[71]){var xc=null;_.mk(a,"floor_changed",function(){var b=a.get("floor");if((xc&&xc.parameters.pid_lv)!=b){var c=xc,d=l.b.get();xc&&(c=null,d=d.gb(xc));b&&(c=new _.su,c.ma="indoor",c.parameters.pid_lv=b,d=_.yj(d,c));xc=c;l.b.set(d)}})}if(!a.Y){H=function(){H=null;_.Q("controls",function(b){var d=new b.ig(q.j);l.set("layoutManager",d);
J&&J.bindTo("layoutBounds",d,"bounds");b.fm(d,a,E,q.j,B,A.report_map_issue,ab,ea,c,I,Ba);b.gm(a,q.m);b.Uf(c)})};if(J){var Uf=_.G.addListener(J,"tilesloading_changed",function(){J.get("tilesloading")&&(Uf.remove(),H())});_.G.addListenerOnce(J,"tilesloaded",function(){_.Q("util",function(b){b.f.b();window.setTimeout((0,_.t)(b.b.f,b.b),5E3);b.l(a)})})}_.pn(a,"Mm");b.v2&&_.pn(a,"Mz");_.rn("Mm","-p",a,!(!a||!a.Y));xz(a,E);_.un(a,"Mm");_.Fm(function(){_.un(a,"Mm")});yz(a)}zz(a);var Ae=_.N(_.Nj(),14);b=
new ty(new _.Mj(_.P(_.R,1)),a,new My(y,function(a){return a||Ae}),A.obliques);tz(b,a.overlayMapTypes);_.wg[35]&&l.bindTo("card",a);a.Y||sz(a);e&&window.setTimeout(function(){_.G.trigger(a,"projection_changed");_.p(a.get("bounds"))&&_.G.trigger(a,"bounds_changed");_.G.trigger(a,"tilt_changed");_.p(a.get("heading"))&&_.G.trigger(a,"heading_changed")},0);_.wg[15]&&(e=_.uu(_.vu()),e=new vz(e[0],y),e.bindTo("tileMapType",E),e.bindTo("center",a),e.bindTo("zoom",l),a.getPrintableImageUri=(0,_.t)(e.getPrintableImageUri,
e),J&&(a.setFpsMeasurementCallback=(0,_.t)(J.setFpsMeasurementCallback,J),a.bindTo("tilesloading",J)),l.bindTo("authUser",a))}};
Dz.prototype.fitBounds=function(a,b,c){function d(){var c=a.getHeading();180==c?(g*=-1,h*=-1):90==c?(c=g,g=h,h=c):270==c&&(c=-g,g=-h,h=c);var d=_.cg(a.getDiv());d.width-=e;d.width=Math.max(1,d.width);d.height-=f;d.height=Math.max(1,d.height);c=a.getProjection();var l=b.getSouthWest(),n=b.getNorthEast(),q=l.lng(),B=n.lng();q>B&&(l=new _.F(l.lat(),q-360,!0));l=c.fromLatLngToPoint(l);q=c.fromLatLngToPoint(n);n=Math.max(l.x,q.x)-Math.min(l.x,q.x);l=Math.max(l.y,q.y)-Math.min(l.y,q.y);d=n>d.width||l>d.height?
0:Math.floor(Math.min(_.gk(d.width+1E-12)-_.gk(n+1E-12),_.gk(d.height+1E-12)-_.gk(l+1E-12)));n=_.Ok(c,b,0);n=_.Mk(c,new _.z((n.I+n.K)/2,(n.J+n.L)/2),0);_.x(d)&&(n=new _.F(n.lat()+h/(_.Rk(c,d)/360),n.lng()+g/(_.Rk(c,d)/360)),a.setCenter(n),a.setZoom(d))}var e=80,f=80,g=0,h=0;if(_.Ha(c))e=f=2*c-.01;else if(c){var l=c.left||0,n=c.right||0,q=c.bottom||0;c=c.top||0;e=l+n-.01;f=c+q-.01;h=c-q;g=l-n}a.getProjection()?d():_.G.addListenerOnce(a,"projection_changed",d)};
Dz.prototype.b=function(a,b,c,d,e){a=new _.Hu(a,b,c,{});a.setUrl(d,e);return a};_.je("map",new Dz);});