google.maps.__gjsload__('marker', function(_){var fVa=function(a,b){const c=_.Da(b);a.mh.set(c,b);_.yq(a.nh)},gVa=function(a,b){if(a.nh.has(b)){_.Jn(b,"UPDATE_BASEMAP_COLLISION");_.Jn(b,"UPDATE_MARKER_COLLISION");_.Jn(b,"REMOVE_COLLISION");a.nh.delete(b);var c=a.oh;const d=_.Da(b);c.mh.has(d)&&(c.mh.delete(d),b.Wo=null,_.yq(c.nh));_.pca(a.mh,b)}},hVa=function(a,b){a.nh.has(b)||(a.nh.add(b),_.Fn(b,"UPDATE_BASEMAP_COLLISION",()=>{a.ph.add(b);a.qh.eq()}),_.Fn(b,"UPDATE_MARKER_COLLISION",()=>{a.qh.eq()}),_.Fn(b,"REMOVE_COLLISION",()=>{gVa(a,b)}),
fVa(a.oh,b),_.oca(a.mh,b))},iVa=function(a){return`${_.Jm(a)}-internal-${a}`},jVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.kD)},kVa=function(a,b,c){return new _.En(a,`${b}${"_removed"}`,c,0,!1)},lVa=function(a,b,c){return new _.En(a,`${b}${"_added"}`,c,0,!1)},CR=function(a){return a?_.lr.has(a)?_.lr.get(a):a instanceof ShadowRoot?CR(a.host):CR(a.parentNode):null},mVa=function(a){var b=1;return()=>{--b||a()}},DR=function(a){return a instanceof _.jC},ER=function(a){return DR(a)?
a.getSize():a.size},nVa=function(a,b){if(!(a&&b&&a.isConnected&&b.isConnected))return!1;a=a.getBoundingClientRect();b=b.getBoundingClientRect();return b.x+b.width<a.x-0||b.x>a.x+a.width+0||b.y+b.height<a.y-0||b.y>a.y+a.height+0?!1:!0},oVa=function(a,b){_.SI().mh.load(new _.rL(a),c=>{b(c&&c.size)})},pVa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Ho(b.x-a.x,b.y-a.y),size:new _.Lo(b.width,b.height)}},FR=function(a){a=new DOMMatrixReadOnly(a.transform);
return{offsetX:a.m41,offsetY:a.m42}},GR=function(a){const b=window.devicePixelRatio||1;return Math.round(a*b)/b},qVa=function(a,{clientX:b,clientY:c}){const {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{Sh:GR(b-(e+g/2)),Th:GR(c-(f+d/2))}},rVa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.Jx(b,a)},sVa=function(a,b){const c=_.WL(a);if(!b||!c)return!1;a=Math.abs(c.clientX-b.clientX);b=Math.abs(c.clientY-b.clientY);return a*a+b*b>=4},tVa=function(a,b){const c=[];
c.push("@-webkit-keyframes ",b," {\n");_.Jb(a.frames,d=>{c.push(d.time*100+"% { ");c.push("-webkit-transform: translate3d("+d.translate[0]+"px,",d.translate[1]+"px,0); ");c.push("-webkit-animation-timing-function: ",d.qn,"; ");c.push("}\n")});c.push("}\n");return c.join("")},uVa=function(a,b){for(let c=0;c<a.frames.length-1;c++){const d=a.frames[c+1];if(b>=a.frames[c].time&&b<d.time)return c}return a.frames.length-1},vVa=function(a){if(a.mh)return a.mh;a.mh="_gm"+Math.round(Math.random()*1E4);var b=
tVa(a,a.mh);HR||(HR=_.Al("style"),HR.type="text/css",document.querySelectorAll("HEAD")[0].appendChild(HR));b=HR.textContent+b;b=_.Gl(b);HR.textContent=_.Ui(new _.Ti(b));return a.mh},wVa=function(a){a=a.get("collisionBehavior");return a==="REQUIRED_AND_HIDES_OPTIONAL"||a==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"},xVa=function(a,b,c=!1){if(!b.get("internalMarker")){_.N(a,149055);c?_.N(a,149060):a instanceof _.no?_.N(a,149057):a instanceof _.Yo&&(_.N(a,149059),a.get("standAlone")&&_.N(a,149058));c=a.get("styles")||
[];Array.isArray(c)&&c.some(e=>"stylers"in e)&&_.N(a,174113);wVa(b)&&_.N(a,149062);b.get("anchorPoint")&&_.N(a,149064);c=b.get("animation");c===1&&_.N(a,149065);c===2&&_.N(a,149066);b.get("clickable")===!1&&(_.N(a,149091),b.get("title")&&_.N(a,149063));b.get("draggable")&&(_.N(a,149069),b.get("clickable")===!1&&_.N(a,149070));b.get("visible")===!1&&_.N(a,149081);b.get("crossOnDrag")&&_.N(a,149067);b.get("cursor")&&_.N(a,149068);b.get("label")&&_.N(a,149080);b.get("title")&&_.N(a,149090);b.get("opacity")!=
null&&_.N(a,149082);b.get("optimized")===!0?_.N(a,149085):b.get("optimized")===!1&&_.N(a,149071);b.get("zIndex")!=null&&_.N(a,149092);c=b.get("icon");var d=new IR;(d=!c||c===d.icon.url||c.url===d.icon.url)?_.N(a,173084):_.N(a,173083);typeof c==="string"?_.N(a,149079):c&&c.url!=null?(c.anchor&&_.N(a,149074),c.labelOrigin&&_.N(a,149075),c.origin&&_.N(a,149076),c.scaledSize&&_.N(a,149077),c.size&&_.N(a,149078)):c&&c.path!=null?(c=c.path,c===0?_.N(a,149088):c===1?_.N(a,149072):c===2?_.N(a,149073):c===
3?_.N(a,149086):c===4?_.N(a,149087):_.N(a,149089)):DR(c)&&_.N(a,149083);b.get("shape")&&(_.N(a,149084),d&&_.N(a,162762));if(c=b.get("place"))c.placeId?_.N(a,149093):_.N(a,149094),b.get("attribution")&&_.N(a,149061)}},zVa=function(a,b,c){yVa(a,c,d=>{a.set(b,d);const e=d?ER(d):null;b==="viewIcon"&&d&&e&&a.mh&&a.mh(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.xm(d.color,"#000000"),fontWeight:_.xm(d.fontWeight,""),fontSize:_.xm(d.fontSize,"14px"),fontFamily:_.xm(d.fontFamily,
"Roboto,Arial,sans-serif"),className:d.className||""}:null)})},yVa=function(a,b,c){b?DR(b)?c(b):b.path!=null?c(a.nh(b)):(_.zm(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),oVa(b.url,d=>{b.size=d||new _.Lo(24,24);c(b)}))):c(null)},AVa=function(a){const b=a.get("mapPixelBoundsQ");var c=a.get("icon");const d=a.get("position");if(!b||!c||!d)return a.get("visible")!==!1;const e=c.anchor||_.ap,f=c.size.width+Math.abs(e.x);c=c.size.height+Math.abs(e.y);return d.x>b.minX-f&&d.y>b.minY-
c&&d.x<b.maxX+f&&d.y<b.maxY+c?a.get("visible")!==!1:!1},BVa=function(a,b){a.origin=b;_.yq(a.nh)},JR=function(a){a.mh&&(_.Hx(a.mh),a.mh=null)},CVa=function(a,b,c){_.UI(()=>{a.style.webkitAnimationDuration=c.duration?c.duration+"ms":"";a.style.webkitAnimationIterationCount=`${c.ln}`;a.style.webkitAnimationName=b||""})},DVa=function(){const a=[];for(let b=0;b<KR.length;b++){const c=KR[b];c.tick();c.mh||a.push(c)}KR=a;KR.length===0&&(window.clearInterval(LR),LR=null)},MR=function(a){return a?a.__gm_at||
_.ap:null},FVa=function(a,b){var c=1,d=a.animation;var e=d.frames[uVa(d,b)];var f;d=a.animation;(f=d.frames[uVa(d,b)+1])&&(c=(b-e.time)/(f.time-e.time));b=MR(a.element);d=a.element;f?(c=(0,EVa[e.qn||"linear"])(c),e=e.translate,f=f.translate,c=new _.Ho(Math.round(c*f[0]-c*e[0]+e[0]),Math.round(c*f[1]-c*e[1]+e[1]))):c=new _.Ho(e.translate[0],e.translate[1]);c=d.__gm_at=c;d=c.x-b.x;b=c.y-b.y;if(d!==0||b!==0)c=a.element,e=new _.Ho(_.wm(c.style.left)||0,_.wm(c.style.top)||0),e.x+=d,e.y+=b,_.wx(c,e);_.Un(a,
"tick")},IVa=function(a,b,c){let d;var e;if(e=c.OH!==!1)e=_.Nq(),e=e.mh.uh||e.mh.rh&&_.pw(e.mh.version,7);e?d=new GVa(a,b,c):d=new HVa(a,b,c);d.start();return d},PR=function(a){a.qh&&(NR(a.Uh),a.qh.release(),a.qh=null);a.mh&&_.Hx(a.mh);a.mh=null;a.ph&&_.Hx(a.ph);a.ph=null;OR(a,!0);a.elements=[]},QR=function(a){return a.get("clickable")!==!1},OR=function(a,b=!1){a.wh?a.Ah=!0:(_.Un(a,b?"ELEMENTS_REMOVED":"CLEAR_TARGET"),a.targetElement&&_.Hx(a.targetElement),a.targetElement=null,a.sh&&(a.sh.unbindAll(),
a.sh.release(),a.sh=null,NR(a.xh),a.xh=null),a.wj&&a.wj.remove(),a.th&&a.th.remove())},KVa=function(a,b){const c=a.getIcon();if(c){var d=c.url!=null;a.mh&&a.Nh===d&&(_.Hx(a.mh),a.mh=null);a.Nh=!d;var e;d&&(e={wt:()=>{}});a.mh=RR(a,b,a.mh,c,e);JVa(a,c,SR(a))}},OVa=function(a){var b=a.getLabel();if(b){if(!a.qh){const e=a.qh=new LVa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.ri);a.Uh=[_.Fn(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.Fn(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}),
_.Fn(a,"panes_changed",()=>{var f=a.get("panes");e.xm=f;JR(e);_.yq(e.nh)}),_.Fn(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.mh,d=SR(a);c=MVa(a,b,d,MR(c)||_.ap);d=ER(b);d=b.labelOrigin||new _.Ho(d.width/2,d.height/2);DR(b)&&(b=b.getSize().width,d=new _.Ho(b/2,b/2));BVa(a.qh,new _.Ho(c.x+d.x,c.y+d.y));a.qh.setZIndex(NVa(a));_.zq(a.qh.nh)}}},QVa=function(a){if(!a.zh){a.oh&&(a.uh&&_.Hn(a.uh),a.oh.cancel(),a.oh=null);var b=a.get("animation");if(b=PVa[b]){var c=
b.options;a.mh&&(a.zh=!0,a.set("animating",!0),b=IVa(a.mh,b.icon,c),a.oh=b,a.uh=_.Qn(b,"done",()=>{a.set("animating",!1);a.oh=null;a.set("animation",null)}))}}},NR=function(a){if(a)for(let b=0,c=a.length;b<c;b++)_.Hn(a[b])},SR=function(a){return _.Nq().transform?Math.min(1,a.get("scale")||1):1},MVa=function(a,b,c,d){const e=a.getPosition(),f=ER(b);var g=(b=TR(b))?b.x:f.width/2;a.Ch.x=e.x+d.x-Math.round(g-(g-f.width/2)*(1-c));b=b?b.y:f.height;a.Ch.y=e.y+d.y-Math.round(b-(b-f.height/2)*(1-c));return a.Ch},
NVa=function(a){let b=a.get("zIndex");a.Ll&&(b=1E6);_.um(b)||(b=Math.min(a.getPosition().y,999999));return b},TR=function(a){return DR(a)?a.getAnchor():a.anchor},JVa=function(a,b,c){const d=ER(b);a.size.width=c*d.width;a.size.height=c*d.height;a.set("size",a.size);const e=a.get("anchorPoint");if(!e||e.mh)b=TR(b),a.anchorPoint.x=c*(b?d.width/2-b.x:0),a.anchorPoint.y=-c*(b?b.y:d.height),a.anchorPoint.mh=!0,a.set("anchorPoint",a.anchorPoint)},RR=function(a,b,c,d,e){if(DR(d))a=RVa(a,b,c,d);else if(d.url!=
null){const f=d.origin||_.ap;a=a.get("opacity");const g=_.xm(a,1);c?(c.firstChild.__src__!==d.url&&_.tL(c.firstChild,d.url),_.vL(c,d.size,f,d.scaledSize),c.firstChild.style.opacity=`${g}`):(e=e||{},e.eB=!_.Lq.th,e.alpha=!0,e.opacity=a,c=_.uL(d.url,null,f,d.size,null,d.scaledSize,e),c.style.display="none",b.appendChild(c));a=c}else b=c||_.xx("div",b),b.textContent="",c=_.gs(),e=_.sx(b).createElement("canvas"),e.width=d.size.width*c,e.height=d.size.height*c,e.style.width=_.Dm(d.size.width),e.style.height=
_.Dm(d.size.height),_.Oq(b,d.size),b.appendChild(e),_.wx(e,_.ap),_.Rq(e),e=e.getContext("2d"),e.lineCap=e.lineJoin="round",e.scale(c,c),c=new _.UGa(e),e.beginPath(),c.pi(d.QG,d.anchor.x,d.anchor.y,d.rotation||0,d.scale),d.fillOpacity&&(e.fillStyle=d.fillColor,e.globalAlpha=d.fillOpacity,e.fill()),d.strokeWeight&&(e.lineWidth=d.strokeWeight,e.strokeStyle=d.strokeColor,e.globalAlpha=d.strokeOpacity,e.stroke()),_.bJ(b,_.xm(a.get("opacity"),1)),a=b;c=a;c.Vy=d;return c},SVa=function(a,b){a.wj&&a.th&&a.element===
b||(a.element=b,a.wj&&a.wj.remove(),a.th&&a.th.remove(),a.wj=_.ny(b,{xl(c){a.wh++;_.Zx(c);_.Un(a,"mousedown",c.mh)},Ml(c){a.wh--;!a.wh&&a.Ah&&_.TI(this,()=>{a.Ah=!1;OR(a);_.zq(a.rh)},0);_.ay(c);_.Un(a,"mouseup",c.mh)},nl:({event:c,Eq:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.cx(c.mh),c.button===3?d||c.button===3&&_.Un(a,"rightclick",c.mh):d?_.Un(a,"dblclick",c.mh):(_.Un(a,"click",c.mh),_.N(window,171150))},Gu:c=>{_.by(c);_.Un(a,"contextmenu",c.mh)}}),a.th=new _.MB(b,b,{xt(c){_.Un(a,"mouseout",
c)},yt(c){_.Un(a,"mouseover",c)}}))},RVa=function(a,b,c,d){c=c||_.xx("div",b);_.gr(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.bJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Jo(b);c.style.height=_.Ko(b);c.style.pointerEvents="none";c.style.userSelect="none";_.Qn(d,"changed",()=>{a.nh()});return c},UR=function(a){const b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},VR=function(a,b){a.ph&&a.ph.has(b)&&({marker:a}=
a.ph.get(b),b.xn=TVa(a),b.xn&&(b=a.getMap())&&_.N(b,184438))},VVa=function(a,b){if(a.ph){var {vF:c,marker:d}=a.ph.get(b);for(const e of UVa)c.push(lVa(d,e,()=>{VR(a,b)})),c.push(kVa(d,e,()=>{!TVa(d)&&b.xn&&VR(a,b)}))}},WVa=function(a){const b=a.nh.__gm;a.mh.bindTo("mapPixelBounds",b,"pixelBounds");a.mh.bindTo("panningEnabled",a.nh,"draggable");a.mh.bindTo("panes",b)},XVa=function(a){const b=a.nh.__gm;_.Fn(a.uh,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging",
b.get("markerDragging")||a.marker.get("dragging"))},ZVa=function(a){a.rh.push(_.Tn(a.mh,"panbynow",a.nh.__gm));YVa.forEach(b=>{a.rh.push(_.Fn(a.mh,b,c=>{const d=a.wh?UR(a):a.marker.get("internalPosition");c=new _.NB(d,c,a.mh.get("position"));_.Un(a.marker,b,c)}))})},$Va=function(a){const b=()=>{a.marker.get("place")?a.mh.set("draggable",!1):a.mh.set("draggable",!!a.marker.get("draggable"))};a.rh.push(_.Fn(a.uh,"draggable_changed",b));a.rh.push(_.Fn(a.uh,"place_changed",b));b()},aWa=function(a){a.rh.push(_.Fn(a.nh,
"projection_changed",()=>{WR(a)}));a.rh.push(_.Fn(a.uh,"position_changed",()=>{WR(a)}));a.rh.push(_.Fn(a.uh,"place_changed",()=>{WR(a)}))},cWa=function(a){a.rh.push(_.Fn(a.mh,"dragging_changed",()=>{if(a.mh.get("dragging"))a.zh=a.qh.ho(),a.zh&&_.BM(a.qh,a.zh);else{a.zh=null;a.yh=null;var b=a.qh.getPosition();if(b&&(b=_.Kr(b,a.nh.get("projection")),b=bWa(a,b))){const c=_.Jx(b,a.nh.get("projection"));a.marker.get("place")||(a.xh=!1,a.marker.set("position",b),a.xh=!0);a.qh.setPosition(c)}}}));a.rh.push(_.Fn(a.mh,
"deltaclientposition_changed",()=>{var b=a.mh.get("deltaClientPosition");if(b&&(a.zh||a.yh)){var c=a.yh||a.zh;a.yh={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.Kh.Nm(a.yh);b=_.Kr(b,a.nh.get("projection"));c=a.yh;var d=bWa(a,b);d&&(a.marker.get("place")||(a.xh=!1,a.marker.set("position",d),a.xh=!0),d.equals(b)||(b=_.Jx(d,a.nh.get("projection")),c=a.qh.ho(b)));c&&_.BM(a.qh,c)}}))},dWa=function(a){if(a.oh){a.mh.bindTo("scale",a.oh);a.mh.bindTo("position",a.oh,"pixelPosition");const b=
a.nh.__gm;a.oh.bindTo("latLngPosition",a.marker,"internalPosition");a.oh.bindTo("focus",a.nh,"position");a.oh.bindTo("zoom",b);a.oh.bindTo("offset",b);a.oh.bindTo("center",b,"projectionCenterQ");a.oh.bindTo("projection",a.nh)}},fWa=function(a){if(a.oh){const b=new eWa(a.nh instanceof _.Yo);b.bindTo("internalPosition",a.oh,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.mh.bindTo("draggable",b,"actuallyDraggable")}},WR=function(a){if(a.xh){var b=
UR(a);b&&a.qh.setPosition(_.Jx(b,a.nh.get("projection")))}},bWa=function(a,b){const c=a.nh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},TVa=function(a){return UVa.some(b=>jVa(a,b))},hWa=function(a,b,c){if(b instanceof _.no){const d=b.__gm;Promise.all([d.nh,d.oh]).then(([{Kh:e},f])=>{gWa(a,b,c,e,f)})}else gWa(a,b,c,null)},gWa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var k=b instanceof _.no;const m=k?h.__gm.Tr.map:h.__gm.Tr.streetView,p=m&&m.nh===b,r=p!==a.contains(h);
m&&r&&(k?(h.__gm.Tr.map.dispose(),h.__gm.Tr.map=null):(h.__gm.Tr.streetView.dispose(),h.__gm.Tr.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.no?(k=b.__gm,h.__gm.Tr.map=new iWa(h,b,c,_.sM(k,h),d,k.Bh,f)):h.__gm.Tr.streetView=new iWa(h,b,c,_.Kk,null,null,null),xVa(b,h,e))};_.Fn(a,"insert",g);_.Fn(a,"remove",g);a.forEach(g)},YR=function(a){return _.gs()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio||
1)},jWa=function(a,b,c){a=a.mh;a.width=b;a.height=c;return a},kWa=function(a){const b=[];a.Bj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},lWa=function(a){const b=kWa(a),c=a.getContext(),d=YR(c);a=a.ki.size;c.clearRect(0,0,Math.ceil(a.Sh*d),Math.ceil(a.Th*d));b.forEach(e=>{c.globalAlpha=_.xm(e.opacity,1);c.drawImage(e.image,e.Pz,e.Qz,e.Oz,e.Iz,Math.round(e.dx*d),Math.round(e.dy*d),e.vr*d,e.rr*d)})},mWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.vr<a||c.dy+c.rr<b)a=!1;else a:{var d=
c.Cw.shape;a-=c.dx;b-=c.dy;if(!d)throw Error("Shape cannot be null.");c=d.coords||[];switch(d.type.toLowerCase()){case "rect":a=c[0]<=a&&a<=c[2]&&c[1]<=b&&b<=c[3];break a;case "circle":d=c[2];a-=c[0];b-=c[1];a=a*a+b*b<=d*d;break a;default:d=c,c=d.length,d[0]==d[c-2]&&d[1]==d[c-1]||d.push(d[0],d[1]),a=_.zFa(a,b,d)!=0}}return a},ZR=function(a,b,c,d){var e=b.gj,f=a.nh.get();if(!f)return null;f=f.ki.size;c=_.CM(a.oh,e,new _.Ho(c,d));if(!c)return null;a=new _.Ho(c.ou.Zh*f.Sh,c.ou.ai*f.Th);const g=[];c.fl.Bj.forEach(h=>
g.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.Cw;if(f.clickable===!1)continue;f=f.UA;if(mWa(a.x,a.y,d)){c=f;break}}c&&(b.ik=d);return c},oWa=function(a,b){if(!b.NB){b.NB=!0;var c=_.Jr(a.get("projection")),d=b.yu;d.dx<-64||d.dy<-64||d.dx+d.vr>64||d.dy+d.rr>64?(_.Bq(a.ph,b),d=a.oh.search(_.yt)):(d=b.latLng,d=new _.Ho(d.lat(),d.lng()),b.gj=d,_.vM(a.qh,{gj:d,marker:b}),d=_.vFa(a.oh,d));for(let f=0,g=d.length;f<g;++f){var e=d[f];const h=e.fl||null;if(e=nWa(a,h,e.GH||null,b,
c))b.Bj[_.Xn(e)]=e,_.Bq(h.Bj,e)}}},pWa=function(a,b){b.NB&&(b.NB=!1,a.ph.contains(b)?a.ph.remove(b):a.qh.remove({gj:b.gj,marker:b}),_.pm(b.Bj,(c,d)=>{delete b.Bj[c];d.fl.Bj.remove(d)}))},qWa=function(a,b){a.rh[_.Xn(b)]=b;var c={Zh:b.dj.x,ai:b.dj.y,fi:b.zoom};const d=_.Jr(a.get("projection"));var e=_.Ry(a.nh,c);e=new _.Ho(e.mh,e.nh);const {min:f,max:g}=_.yI(a.nh,c,64/a.nh.size.Sh);c=_.up(f.mh,f.nh,g.mh,g.nh);_.yFa(c,d,e,(h,k)=>{h.GH=k;h.fl=b;b.aq[_.Xn(h)]=h;_.tM(a.oh,h);k=(a.qh.search(h)||[]).map(m=>
m.marker);a.ph.forEach((0,_.Fa)(k.push,k));for(let m=0,p=k.length;m<p;++m){const r=k[m],t=nWa(a,b,h.GH,r,d);t&&(r.Bj[_.Xn(t)]=t,_.Bq(b.Bj,t))}});b.div&&b.Bj&&a.th(b.div,b.Bj)},rWa=function(a,b){b&&(delete a.rh[_.Xn(b)],b.Bj.forEach(function(c){b.Bj.remove(c);delete c.Cw.Bj[_.Xn(c)]}),_.pm(b.aq,(c,d)=>{a.oh.remove(d)}))},nWa=function(a,b,c,d,e){if(!e||!c||!d.latLng)return null;var f=e.fromLatLngToPoint(c);c=e.fromLatLngToPoint(d.latLng);e=a.nh.size;a=_.dBa(a.nh,new _.Yq(c.x,c.y),new _.Yq(f.x,f.y),
b.zoom);c.x=a.Zh*e.Sh;c.y=a.ai*e.Th;a=d.zIndex;_.um(a)||(a=c.y);a=Math.round(a*1E3)+_.Xn(d)%1E3;f=d.yu;b={image:f.image,Pz:f.Pz,Qz:f.Qz,Oz:f.Oz,Iz:f.Iz,dx:f.dx+c.x,dy:f.dy+c.y,vr:f.vr,rr:f.rr,zIndex:a,opacity:d.opacity,fl:b,Cw:d};return b.dx>e.Sh||b.dy>e.Th||b.dx+b.vr<0||b.dy+b.rr<0?null:b},sWa=function(a,b,c){a.ph++<4?c?a.nh.pE(b):a.nh.gN(b):a.mh=!0;a.kp||(a.kp=_.UI((0,_.Fa)(a.oh,a)))},tWa=function(a){return typeof a==="string"?($R.has(a)||$R.set(a,{url:a}),$R.get(a)):a},zWa=function(a,b,c){const d=
new _.vr,e=new _.vr,f=new uWa;new vWa(a,d,new IR,f,c);const g=_.sx(b.getDiv()).createElement("canvas"),h={};a=_.up(-100,-300,100,300);const k=new _.fN(a);a=_.up(-90,-180,90,180);const m=_.xFa(a,(w,y)=>w.marker===y.marker);let p=null,r=null;const t=new _.Wo(null),v=b.__gm;v.nh.then(w=>{v.sh.register(new wWa(h,v,t,w.Kh.vk));_.nw(w.zs,y=>{if(y&&p!==y.ki){r&&r.unbindAll();var D=p=y.ki;r=new xWa(h,d,e,function(G,L){return new yWa(L,new aS(G,L,g,D),G)},k,m,p);r.bindTo("projection",b);t.set(r.mh())}})});
_.DM(b,t,"markerLayer",-1)},BWa=function(a){a.kp||(a.kp=_.UI(()=>{a.kp=0;const b=a.Ov;a.Ov={};const c=a.Uw;for(const d of Object.values(b))AWa(a,d);c&&!a.Uw&&a.mu.forEach(d=>{AWa(a,d)})}))},AWa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.EM;if(!b.get("animating"))if(a.pD.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.Wo)a.mu.remove(b);else{a.Uw&&!a.wF&&a.mu.getSize()>=256&&(a.Uw=!1);c=b.get("optimized");const e=b.get("draggable"),
f=!!b.get("animation");var d=b.get("icon");const g=!!d&&d.path!=null;d=DR(d);const h=b.get("label")!=null;a.wF||c==0||e||f||g||d||h||!c&&a.Uw?_.Bq(a.mu,b):(a.mu.remove(b),_.Bq(a.pD,b))}},CWa=function(a,b){const c=new _.nq;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.au.add(c);c.setMap(b);return c},DWa=function(a){a.sh||(a.sh=setTimeout(()=>{const b=[...a.ph].filter(c=>!c.Op).length;b>0&&a.ii.Eh(a.map,b);a.sh=0},0))},
GWa=function(a,b){a.qh.has(b)||(a.qh.add(b),_.uz(_.tz(),()=>{if(a.map){var c=[];for(const d of a.qh){if(!d.map)continue;const e=d.targetElement;e.parentNode||c.push(d);const f=d.Wo!==!1&&bS(d)||d.dt,g=_.oo(a.map);g||(a.th||(a.th=a.nh.attachShadow({mode:_.Jq[166]?"open":"closed"}),a.th.append(a.rh,a.mh)),a.nh.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.nh?e.setAttribute("slot",f?EWa:FWa):e.style.visibility=f?"hidden":"";d.Xm(!f);d.Fw=!1}a.qh.clear();for(const d of c)d.Vz(!0)}}))},HWa=
function(a){cS||(cS=new ResizeObserver(b=>{for(const c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))}));cS.observe(a)},KWa=function(a,b){const c=_.Da(b);let d=dS.get(c);d||(d=new IWa(b),dS.set(c,d));b=d;JWa(a,b.Xn);b.ph.add(a);DWa(b);HWa(a.targetElement)},LWa=function(a){a=_.Da(a);(a=dS.get(a))&&a.requestRedraw()},MWa=function(a,b){b=_.Da(b);(b=dS.get(b))&&GWa(b,a)},NWa=function(a){let b=0,c=0;for(const d of a)switch(d){case "ArrowLeft":--b;break;case "ArrowRight":b+=
1;break;case "ArrowDown":c+=1;break;case "ArrowUp":--c}return{deltaX:b,deltaY:c}},fS=function(a,b,c=!0){a.mh.position=a.yh;eS(a,b,c)},eS=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();gS(a);OWa(a);a.nh&&(a.nh.release(),a.nh=null);c&&hS(a.mh,"dragend",b)},iS=function(a,b){if(b){a.oh.style.display="";b=a.mh.anchorTop||"-100%";let c=a.mh.anchorLeft||"-50%";b==="0"&&(b="0px");c==="0"&&(c="0px");a.oh.style.left=`calc(-1 * ${c})`;a.oh.style.top=`calc(-1 * ${b})`}else a.oh.style.display=
"none"},QWa=function(a){a.oh.style.opacity="0.5";a.oh.style.position="absolute";iS(a,!1);a.oh.style.transform="translate(-50%, -50%)";a.oh.style.zIndex="-1";PWa(a);const b=a.mh.Dp;b.addEventListener("pointerenter",a.Ch);b.addEventListener("pointerleave",a.Gh);b.addEventListener("focus",a.Ch);b.addEventListener("blur",a.Gh)},RWa=function(a,b=!1){return a.ph?_.Ez:b?"pointer":_.cma},jS=function(a){const b=a.mh.Ak;b&&b.appendChild(a.oh)},PWa=function(a){a.oh.children[0]?.remove();var b=a.mh,c;if(!(c=
b.dragIndicator)){if(!b.Lv){const {url:d,scaledSize:e}=(new IR).mh;b.Lv=new Image(e.width,e.height);b.Lv.src=d;b.Lv.alt=""}c=b.Lv}a.oh.appendChild(c);jS(a)},TWa=function(a){if(!a.mh.NA){a.nh=new _.gN((c,d)=>{var e=a.mh;e.ti&&_.Un(e.ti,"panbynow",c,d)});_.AM(a.nh,!0);var b=SWa(a.mh);_.zM(a.nh,b);a.nh.ph=a.qh}},UWa=function(a,b){gS(a);a.qh=!1;a.nh&&(a.nh.ph=!1);a.rh=a.mh.ho();a.wh=_.WL(b)},VWa=function(a,b){var c=_.WL(b);if(c){b=c.clientX;c=c.clientY;var d=b-a.wh.clientX,e=c-a.wh.clientY;a.wh={clientX:b,
clientY:c};b={clientX:a.rh.clientX+d,clientY:a.rh.clientY+e};a.rh=b;a.mh.dD(b)}},WWa=function(a,b){a.rh=a.mh.ho();a.yh=a.mh.position;a.wh=_.WL(b);a.ph=!0;TWa(a);a.mh.Dp.setAttribute("aria-grabbed","true");kS(a.mh);a.mh.Dp.style.zIndex="2147483647";a.oh.style.opacity="1";iS(a,!0);hS(a.mh,"dragstart",b)},XWa=function(a){a.qh&&(a.rh=a.mh.ho())},lS=function(a){_.my!==2?(document.removeEventListener("pointermove",a.Ah),document.removeEventListener("pointerup",a.sh),document.removeEventListener("pointercancel",
a.sh)):(document.removeEventListener("touchmove",a.Ah,{passive:!1}),document.removeEventListener("touchend",a.sh),document.removeEventListener("touchcancel",a.sh),document.removeEventListener("touchstart",a.sh));gS(a);OWa(a);a.nh&&(a.nh.release(),a.nh=null)},gS=function(a){const b=a.mh.Dp;b.removeEventListener("keydown",a.Uh);b.removeEventListener("keyup",a.Yh);b.removeEventListener("blur",a.Oh)},YWa=function(a){if(a.zh.size===0)a.xh=0;else{var {deltaX:b,deltaY:c}=NWa(a.zh),d=1;_.eM(a.Hh)&&(d=a.Hh.next());
var e=Math.round(3*d*b);d=Math.round(3*d*c);e===0&&(e=b);d===0&&(d=c);e={clientX:a.rh.clientX+e,clientY:a.rh.clientY+d};a.rh=e;a.mh.dD(e);a.xh=window.setTimeout(()=>{YWa(a)},10)}},OWa=function(a){a.ph=!1;a.qh=!1;a.wh=null;a.rh=null;clearTimeout(a.xh);a.xh=0;a.yh=null;a.Eh=null;a.uh=null;const b=a.mh.Dp,c=a.mh.zIndex;a.oh.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex=c==null?"":`${c}`;ZWa(a.mh)},JWa=function(a,b){a.QA=b;if(a.kv){var c=a.getAttribute("aria-describedby");
c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},bS=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Ll&&!!a.map&&!!a.position},SWa=function(a){return a.ti?a.ti.get("pixelBounds"):null},hS=function(a,b,c){_.Un(a,b,new _.NB(a.Rp,c,a.xw?new _.Ho(a.xw.Sh,a.xw.Th):null))},kS=function(a){_.Un(a,"REMOVE_COLLISION")},ZWa=function(a){a.style.cursor=a.Gj?RWa(a.Gj,a.nw):a.nw?"pointer":""},mS=function(a,b=!1){bS(a)&&(a.ti&&hVa(a.ti.Hh,a),_.Un(a,"UPDATE_MARKER_COLLISION"),
b&&a.Ix&&_.Un(a,"UPDATE_BASEMAP_COLLISION"))},$Wa=function(a){a.bq.then(()=>{_.Qr(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},aXa=function(a){if(a.En.get("isOpen")){var {width:b}=a.getBoundingClientRect();a.En.set("anchorPoint",new _.Ho(b?b/2:0,0))}},nS=function(a){a.style.pointerEvents=a.cz?"none":a.bG?"auto":""},oS=function(a){a.xn=a.nw||!!a.kv},bXa=function(a,b=!1){if(a.dt||!a.bl)a.En.set("pixelPosition",null);else if(a.En.get("isOpen"))if(b)requestAnimationFrame(()=>{const {offsetX:c,
offsetY:d}=FR(a.ny);a.En.set("pixelPosition",new _.Ho(c,d))});else{const {offsetX:c,offsetY:d}=FR(a.ny);a.En.set("pixelPosition",new _.Ho(c,d))}},cXa=function(a,b){var c;if(c=a.Gj)c=a.Gj,c=c.uh&&b.timeStamp-c.uh>=500?!0:c.th;if(!c&&a.Rp){a.gmpDraggable||a.focus();hS(a,"click",b);if(a.gmpClickable||_.Gn(a,"gmp-click"))c=new pS,_.Un(a,"gmp-click",c),a.dispatchEvent(c);a.ii.th(b)}},dXa=function(a){!a.wj&&a.map&&a.ti&&(a.jD=!0,a.wj=_.ny(a,{nl:({event:b,Eq:c})=>{a.bG?(_.cx(b.mh),b.button===3||c||cXa(a,
b.mh)):a===b.mh.target||a.cz||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'),a.ii.wh(a.map))}}),a.fB=_.jma({draggable:a.LF,bF:new _.dC(a.map,"gestureHandling"),vl:a.ti.rm}),_.nw(a.fB,a.zF),a.jD=!1)},qS=function(a){const b=c=>c.nodeType===Node.TEXT_NODE&&c.nodeValue!=null&&!/\S/.test(c.nodeValue);return a.childNodes.length>0?([...a.childNodes].every(b)&&_.zn(_.gq(a,
"AdvancedMarkerElement is displaying empty text content. If you want a pin to appear, make sure to remove any whitespace between the <gmp-advanced-marker> tags.")),[...a.childNodes]):a.kl&&a.kl.contains(a.pm)?[a.pm]:[]},eXa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Kp(b),b>0||b<0))throw a.ii.xh(window),_.Qm("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},rS=function(a){if(a.Mk){const b=_.Da(a.Mk),c=dS.get(b);c&&(c.ph.delete(a),c.isEmpty()&&(c.dispose(),dS.delete(b)));
cS&&cS.unobserve(a.targetElement);_.Un(a,"REMOVE_FOCUS");_.Un(a,"REMOVE_COLLISION");a.Kh&&(a.Kk&&(a.Kh.Ol(a.Kk),a.Kk=null),a.Kh=null);a.Gj&&lS(a.Gj);a.EE?.remove();a.bI?.remove();a.XG?.remove();a.xG?.remove();a.fB?.removeListener(a.zF);a.wj&&(a.wj.remove(),a.wj=null);a.En.set("map",null);a.Ix=null;a.ti=null;a.Mk=null;a.Fw=!0}},sS=function(a){if(a.ti&&!a.Ll){var b=a.ti.Bh;b&&(a.xn&&a.bl&&!a.Wo?b.Hh(a):_.Un(a,"REMOVE_FOCUS"))}},gXa=function(a){var b=a.ti.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.Ts).includes(b.mapTypeId));
a.Ix=a.dG&&!b;if(!a.Op||a.position)a.Ix?LWa(a.map):fXa(a)},hXa=function(a){if(!a.Op){var b=a.ti.mh;b.cC.then(()=>{const c=_.jq(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.ti&&a.ti.ei();for(const d of c.mh)b.log(d);a.ii.uh(a.map);a.dispose()}})}},iXa=function(a){a.ii.Ch(a.map);a.ii.ph(a.map,a.cz);if(a.nw){const b=_.Gn(a,"gmp-click");a.ii.nh(a.map,b)}a.gmpDraggable&&a.ii.qh(a.map);a.title&&a.ii.rh(a.map);a.zIndex!==null&&a.ii.sh(a.map);a.Yl()>0&&a.ii.mh(a.map);a.ii.oh(a.map,a.collisionBehavior)},tS=
function(a,b){a.Gj&&XWa(a.Gj);if(b){a.style.transform=`${`translate(${a.anchorLeft||"-50%"}, ${a.anchorTop||"-100%"})`} ${`translate(${b.x}px, ${b.y}px)`}`;const c=a.style.willChange?a.style.willChange.replace(/\s+/g,"").split(","):[];c.includes("transform")||_.uz(_.tz(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.bl=b;sS(a)},fXa=function(a){var b=rVa(a.Mk,a.Rp);a.Kk?a.Kk.setPosition(b,a.Yl()):a.Kh&&(b=new _.iN(a.Kh.vk,a,b,a.Kh,null,a.Yl(),a.VK),a.Kh.zj(b),a.Kk=b)};
_.Ho.prototype.kz=_.da(15,function(){return Math.sqrt(this.x*this.x+this.y*this.y)});
var UVa=["click","dblclick","rightclick","contextmenu"],jXa=class extends _.Yn{constructor(){super();this.constraint=0;this.mh=!1}position_changed(){this.mh||(this.mh=!0,this.set("rawPosition",this.get("position")),this.mh=!1)}rawPosition_changed(){if(!this.mh){this.mh=!0;var a=this.set,b;var c=this.get("rawPosition");if(c){(b=this.get("snappingCallback"))&&(c=b(c));b=c.x;c=c.y;var d=this.get("referencePosition");d&&(this.constraint===2?b=d.x:this.constraint===1&&(c=d.y));b=new _.Ho(b,c)}else b=null;
a.call(this,"position",b);this.mh=!1}}},kXa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.nh=new Float64Array(2);this.nh[0]=a;this.nh[1]=b;this.mh=new Float32Array(2)}transform(a){a.Zu(1,this.nh,this.mh,0,0,0);this.mh[0]+=this.offsetX;this.mh[1]+=this.offsetY}isVisible(a){return this.mh[0]>=-this.width&&this.mh[0]<=a.width+this.width&&this.mh[1]>=-this.height&&this.mh[1]<=a.height+this.height}equals(a){return this.nh[0]===a.nh[0]&&this.nh[1]===a.nh[1]&&
this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}oh(a){return this.mh[0]>a.right||this.mh[0]+this.width<a.left||this.mh[1]>a.bottom||this.mh[1]+this.height<a.top?!1:!0}},EVa={linear:a=>a,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},uS=class{constructor(a){this.frames=a;this.mh=""}},HR;var PVa={[1]:{options:{duration:700,ln:"infinite"},icon:new uS([{time:0,translate:[0,0],qn:"ease-out"},{time:.5,translate:[0,-20],qn:"ease-in"},{time:1,translate:[0,0],qn:"ease-out"}])},[2]:{options:{duration:500,ln:1},icon:new uS([{time:0,translate:[0,-500],qn:"ease-in"},{time:.5,translate:[0,0],qn:"ease-out"},{time:.75,translate:[0,-20],qn:"ease-in"},{time:1,translate:[0,0],qn:"ease-out"}])},[3]:{options:{duration:200,kz:20,ln:1,OH:!1},icon:new uS([{time:0,translate:[0,0],qn:"ease-in"},{time:1,
translate:[0,-20],qn:"ease-out"}])},[4]:{options:{duration:500,kz:20,ln:1,OH:!1},icon:new uS([{time:0,translate:[0,-20],qn:"ease-in"},{time:.5,translate:[0,0],qn:"ease-out"},{time:.75,translate:[0,-10],qn:"ease-in"},{time:1,translate:[0,0],qn:"ease-out"}])}};var IR=class{constructor(){this.icon={url:_.hs("api-3/images/spotlight-poi3",!0),scaledSize:new _.Lo(26,37),origin:new _.Ho(0,0),anchor:new _.Ho(13,37),labelOrigin:new _.Ho(13,14)};this.nh={url:_.hs("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.Lo(26,37),origin:new _.Ho(0,0),anchor:new _.Ho(13,37),labelOrigin:new _.Ho(13,14)};this.mh={url:_.hs("api-3/images/drag-cross",!0),scaledSize:new _.Lo(13,11),origin:new _.Ho(0,0),anchor:new _.Ho(7,6)};this.shape={coords:[13,0,4,3.5,0,12,2.75,21,
13,37,23.5,21,26,12,22,3.5],type:"poly"}}};var lXa=class extends _.Yn{constructor(a,b){super();this.nh=a;this.mh=b;vS||(vS=new IR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.uz(_.tz(),this.oh,this,this)}oh(){const a=this.get("modelIcon");var b=this.get("modelLabel");zVa(this,"viewIcon",a||b&&vS.nh||vS.icon);zVa(this,"viewCross",vS.mh);b=this.get("useDefaults");let c=this.get("modelShape");c||a&&!b||(c=vS.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},vS;var mXa=class extends _.Yn{constructor(){super();this.nh=!1;this.mh=AVa(this);this.set("shouldRender",this.mh)}changed(){if(!this.nh){var a=AVa(this);this.mh!==a&&(this.mh=a,this.nh=!0,this.set("shouldRender",this.mh),this.nh=!1)}}};var eWa=class extends _.Yn{constructor(a){super();this.nh=a;this.mh=!1}internalPosition_changed(){if(!this.mh){this.mh=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.mh=!1}}draggable_changed(){if(!this.mh){this.mh=!0;if(this.nh){const a=this.get("place");a?this.set("internalPosition",a.location):this.set("internalPosition",this.get("position"))}this.get("place")?this.set("actuallyDraggable",!1):this.set("actuallyDraggable",
this.get("draggable"));this.mh=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var LVa=class{constructor(a,b,c,d,e){this.xm=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.ph=this.qh=this.mh=null;this.nh=new _.xq(this.rh,0,this);this.oh=e;this.xm=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;_.yq(this.nh)}setLabel(a){this.label=a;_.yq(this.nh)}setVisible(a){this.visible=a;_.yq(this.nh)}setZIndex(a){this.zIndex=a;_.yq(this.nh)}release(){this.xm=null;JR(this)}rh(){if(this.xm&&this.label&&this.visible!==!1){var a=this.xm.markerLayer,
b=this.label;this.mh?a.appendChild(this.mh):(this.mh=document.createElement("div"),a.appendChild(this.mh),this.mh.style.transform="translateZ(0)");a=this.mh;this.origin&&_.wx(a,this.origin);var c=a.firstElementChild;c||(c=document.createElement("div"),a.appendChild(c),c.style.height="100px",c.style.transform="translate(-50%, -50px)",c.style.display="table",c.style.borderSpacing="0");let d=c.firstElementChild;d||(d=document.createElement("div"),c.appendChild(d),d.style.display="table-cell",d.style.verticalAlign=
"middle",d.style.whiteSpace="nowrap",d.style.textAlign="center");c=d.firstElementChild||_.xx("div",d);c.textContent=b.text;c.style.color=b.color;c.style.fontSize=b.fontSize;c.style.fontWeight=b.fontWeight;c.style.fontFamily=b.fontFamily;c.className=b.className;c.setAttribute("aria-hidden","true");if(this.oh&&b!==this.ph){this.ph=b;const {width:e,height:f}=c.getBoundingClientRect();b=new _.Lo(e,f);b.equals(this.qh)||(this.qh=b,this.oh(b))}_.bJ(c,_.xm(this.opacity,1));_.yx(a,this.zIndex)}else JR(this)}};var GVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.nh=!1;this.mh=null}start(){this.options.ln=this.options.ln||1;this.options.duration=this.options.duration||1;_.On(this.element,"webkitAnimationEnd",()=>{this.nh=!0;_.Un(this,"done")});CVa(this.element,vVa(this.animation),this.options)}cancel(){this.mh&&(this.mh.remove(),this.mh=null);CVa(this.element,null,{});_.Un(this,"done")}stop(){this.nh||(this.mh=_.On(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var KR=[],LR=null,HVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.ln=-1;this.mh=!1;this.startTime=0;c.ln!=="infinity"&&(this.ln=c.ln||1);this.duration=c.duration||1E3}start(){KR.push(this);LR||(LR=window.setInterval(DVa,10));this.startTime=Date.now();this.tick()}cancel(){this.mh||(this.mh=!0,FVa(this,1),_.Un(this,"done"))}stop(){this.mh||(this.ln=1)}tick(){if(!this.mh){var a=Date.now();FVa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(),
this.ln!=="infinite"&&(this.ln--,this.ln||this.cancel()))}}};var nXa=_.ra.DEF_DEBUG_MARKERS,wS=class extends _.Yn{constructor(a,b,c){super();this.qh=this.mh=null;this.Uh=[];this.Nh=!1;this.targetElement=null;this.Oh=!1;this.ph=null;this.elements=[];this.zh=!0;this.wh=0;this.oh=this.Ph=this.ei=this.Yh=null;this.Ah=!1;this.element=this.th=this.wj=this.sh=this.uh=this.xh=null;this.Bh=!1;this.sq=null;this.rh=new _.xq(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.um(e)&&e<.1&&!this.Ll)PR(this);else{KVa(this,
d.markerLayer);if(!this.wh){var f=this.getIcon();if(f){var g=f.url;e=QR(this);var h=this.getDraggable(),k=this.get("title")||"",m=k;m||(m=(m=this.getLabel())?m.text:"");if(e||h||m){var p=!e&&!h&&!k,r=DR(f),t=TR(f),v=this.get("shape"),w=ER(f),y={};if(_.Ax())f=w.width,w=w.height,r=new _.Lo(f+16,w+16),f={url:_.KB,size:r,anchor:t?new _.Ho(t.x+8,t.y+8):new _.Ho(Math.round(f/2)+8,w+8),scaledSize:r};else{const D=f.scaledSize||w;(_.Lq.nh||_.Lq.mh)&&v&&(y.shape=v,w=D);if(!r||v)f={url:_.KB,size:w,anchor:t,
scaledSize:D}}t=f.url!=null;this.Oh===t&&OR(this);this.Oh=!t;y=this.targetElement=RR(this,this.getPanes().overlayMouseTarget,this.targetElement,f,y);this.targetElement.style.pointerEvents=p?"none":"";if(p=y.querySelector("img"))p.style.removeProperty("position"),p.style.removeProperty("opacity"),p.style.removeProperty("left"),p.style.removeProperty("top");t=y;p=null;(f=t.getAttribute("usemap")||t.firstChild&&t.firstChild.getAttribute("usemap"))&&f.length&&(t=_.sx(t).getElementById(f.substring(1)))&&
(p=t.firstChild);p&&(p.tabIndex=-1,p.style.display="inline",p.style.position="absolute",p.style.left="0px",p.style.top="0px");nXa&&(y.dataset.debugMarkerImage=g);y=p||y;y.title=k;m&&this.wq().setAttribute("aria-label",m);this.ox();h&&!this.sh&&(g=this.sh=new _.VGa(y,this.Eh,this.targetElement),this.Eh?(g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.yh,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size",
this),g.bindTo("panningEnabled",this),this.xh||(this.xh=[_.Tn(g,"dragstart",this),_.Tn(g,"drag",this),_.Tn(g,"dragend",this),_.Tn(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.sh.set("draggableCursor",g):y.style.cursor=e?g:"";SVa(this,y)}}}d=d.overlayLayer;if(h=e=this.get("cross"))h=this.get("crossOnDrag"),h===void 0&&(h=this.get("raiseOnDrag")),h=h!==!1&&this.getDraggable()&&this.Ll;h?this.ph=RR(this,d,this.ph,e):(this.ph&&_.Hx(this.ph),this.ph=null);this.elements=[this.mh,this.ph,
this.targetElement];OVa(this);for(e=0;e<this.elements.length;++e)if(h=this.elements[e])d=h,g=h.Vy,k=MR(h)||_.ap,h=SR(this),g=MVa(this,g,h,k),_.wx(d,g),(g=_.Nq().transform)&&d.style.setProperty(g,h!==1?`scale(${h}) `:""),d&&_.yx(d,NVa(this));QVa(this);for(d=0;d<this.elements.length;++d)(e=this.elements[d])&&_.$I(e);_.Un(this,"UPDATE_FOCUS")}},0);this.Hh=a;this.ri=c;this.Eh=b||!1;this.yh=new jXa;this.yh.bindTo("position",this);this.Ch=new _.Ho(0,0);this.size=new _.Lo(0,0);this.anchorPoint=new _.Ho(0,
0);this.Ih=[_.Fn(this,"dragstart",this.ni),_.Fn(this,"dragend",this.ci),_.Fn(this,"panbynow",()=>{_.zq(this.rh)})];this.getPosition=_.yo("position");this.getPanes=_.yo("panes");this.getVisible=_.yo("visible");this.getIcon=_.yo("icon");this.getLabel=_.yo("label")}ZG(){}get xn(){return this.Bh}set xn(a){this.Bh!==a&&(this.Bh=a,_.Un(this,"UPDATE_FOCUS"))}get Ll(){return this.get("dragging")}panes_changed(){PR(this);_.yq(this.rh)}ip(a){this.set("position",a&&new _.Ho(a.Sh,a.Th))}Et(){this.unbindAll();
this.set("panes",null);this.oh&&this.oh.stop();this.uh&&(_.Hn(this.uh),this.uh=null);this.oh=null;NR(this.Ih);this.Ih=[];PR(this);_.Un(this,"RELEASED")}Gh(){var a;if(!(a=this.Yh!==QR(this)||this.ei!==this.getDraggable())){a=this.Ph;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.CI(a.coords,b.coords))}a&&(this.Yh=QR(this),this.ei=this.getDraggable(),this.Ph=this.get("shape"),OR(this),_.yq(this.rh))}nh(){_.yq(this.rh)}position_changed(){this.Eh?_.zq(this.rh):_.yq(this.rh)}wq(){return this.targetElement}ox(){const a=
this.wq();if(a){var b=!!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.xn?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}Py(a){_.Un(this,"click",a);_.N(window,171149)}Mt(){}Us(a){_.cx(a);_.Un(this,"click",a);_.N(window,171150)}Oy(){}getDraggable(){return!!this.get("draggable")}ni(){this.set("dragging",!0);this.yh.set("snappingCallback",this.Hh)}ci(){this.yh.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.zh=!1;
this.get("animation")?QVa(this):(this.set("animating",!1),this.oh&&this.oh.stop())}aG(a){const b=this.get("markerPosition");return this.sq&&b&&this.sq.size?nVa(a,this.targetElement):!1}};_.z=wS.prototype;_.z.shape_changed=wS.prototype.Gh;_.z.clickable_changed=wS.prototype.Gh;_.z.draggable_changed=wS.prototype.Gh;_.z.cursor_changed=wS.prototype.nh;_.z.scale_changed=wS.prototype.nh;_.z.raiseOnDrag_changed=wS.prototype.nh;_.z.crossOnDrag_changed=wS.prototype.nh;_.z.zIndex_changed=wS.prototype.nh;
_.z.opacity_changed=wS.prototype.nh;_.z.title_changed=wS.prototype.nh;_.z.cross_changed=wS.prototype.nh;_.z.icon_changed=wS.prototype.nh;_.z.visible_changed=wS.prototype.nh;_.z.dragging_changed=wS.prototype.nh;var YVa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),iWa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.nh=b;this.Kh=e;this.Ah=f;this.ph=g;this.xh=!0;this.yh=this.zh=null;this.rh=[];this.wh=b instanceof _.no;f=UR(this);b=this.wh&&f?_.Jx(f,b.getProjection()):null;this.mh=new wS(d,!!this.wh,h=>{this.mh.sq=a.__gm.sq={...a.__gm.sq,hR:h};a.__gm.Ay&&a.__gm.Ay()});_.Fn(this.mh,"RELEASED",()=>{var h=this.mh;if(this.ph&&this.ph.has(h)){({vF:h}=
this.ph.get(h));for(const k of h)k.remove()}this.ph&&this.ph.delete(this.mh)});this.Ah&&this.ph&&!this.ph.has(this.mh)&&(this.ph.set(this.mh,{marker:this.marker,vF:[]}),this.Ah.Ah(this.mh),VR(this,this.mh),VVa(this,this.mh));(this.qh=this.wh?new _.iN(e.vk,this.mh,b,e,()=>{if(this.mh.get("dragging")&&!this.marker.get("place")){var h=this.qh.getPosition();h&&(h=_.Kr(h,this.nh.get("projection")),this.xh=!1,this.marker.set("position",h),this.xh=!0)}}):null)&&e.zj(this.qh);this.sh=new lXa(c,(h,k,m)=>{this.mh.sq=
a.__gm.sq={...a.__gm.sq,size:h,anchor:k,labelOrigin:m};a.__gm.Ay&&a.__gm.Ay()});this.oh=this.wh?null:new _.XM;this.th=this.wh?null:new mXa;this.uh=new _.Yn;this.uh.bindTo("position",this.marker);this.uh.bindTo("place",this.marker);this.uh.bindTo("draggable",this.marker);this.uh.bindTo("dragging",this.marker);this.sh.bindTo("modelIcon",this.marker,"icon");this.sh.bindTo("modelLabel",this.marker,"label");this.sh.bindTo("modelCross",this.marker,"cross");this.sh.bindTo("modelShape",this.marker,"shape");
this.sh.bindTo("useDefaults",this.marker,"useDefaults");this.mh.bindTo("icon",this.sh,"viewIcon");this.mh.bindTo("label",this.sh,"viewLabel");this.mh.bindTo("cross",this.sh,"viewCross");this.mh.bindTo("shape",this.sh,"viewShape");this.mh.bindTo("title",this.marker);this.mh.bindTo("cursor",this.marker);this.mh.bindTo("dragging",this.marker);this.mh.bindTo("clickable",this.marker);this.mh.bindTo("zIndex",this.marker);this.mh.bindTo("opacity",this.marker);this.mh.bindTo("anchorPoint",this.marker);this.mh.bindTo("markerPosition",
this.marker,"position");this.mh.bindTo("animation",this.marker);this.mh.bindTo("crossOnDrag",this.marker);this.mh.bindTo("raiseOnDrag",this.marker);this.mh.bindTo("animating",this.marker);this.th||this.mh.bindTo("visible",this.marker);WVa(this);XVa(this);ZVa(this);this.wh?($Va(this),aWa(this),cWa(this)):(dWa(this),this.oh&&(this.th.bindTo("visible",this.marker),this.th.bindTo("cursor",this.marker),this.th.bindTo("icon",this.marker),this.th.bindTo("icon",this.sh,"viewIcon"),this.th.bindTo("mapPixelBoundsQ",
this.nh.__gm,"pixelBoundsQ"),this.th.bindTo("position",this.oh,"pixelPosition"),this.mh.bindTo("visible",this.th,"shouldRender")),fWa(this))}dispose(){this.mh.set("animation",null);this.mh.Et();this.Kh&&this.qh?this.Kh.Ol(this.qh):this.mh.Et();this.th&&this.th.unbindAll();this.oh&&this.oh.unbindAll();this.sh.unbindAll();this.uh.unbindAll();this.rh.forEach(_.Hn);this.rh.length=0}};var aS=class{constructor(a,b,c,d){this.div=a;this.Bj=b;this.mh=c;this.ki=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.Rq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=YR(c),e=this.ki.size;b.width=Math.ceil(e.Sh*d);b.height=Math.ceil(e.Th*d);b.style.width=_.Dm(e.Sh);b.style.height=_.Dm(e.Th);a.appendChild(b);this.context=c}return this.context}pE(a){const b=kWa(this),c=this.getContext(),d=YR(c),e=Math.round(a.dx*
d),f=Math.round(a.dy*d),g=Math.ceil(a.vr*d);a=Math.ceil(a.rr*d);const h=jWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(m=>{k.globalAlpha=_.xm(m.opacity,1);k.drawImage(m.image,m.Pz,m.Qz,m.Oz,m.Iz,Math.round(m.dx*d),Math.round(m.dy*d),m.vr*d,m.rr*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};aS.prototype.gN=aS.prototype.pE;var uWa=class{constructor(){this.mh=_.SI().mh}load(a,b){return this.mh.load(new _.rL(a.url),c=>{if(c){var d=c.size,e=a.size||a.scaledSize||d;a.size=e;var f=a.scaledSize||d,g=a.anchor||new _.Ho(e.width/2,e.height),h=f.width/d.width,k=f.height/d.height,m=a.origin?a.origin.x/h:0,p=a.origin?a.origin.y/k:0,r=-g.x;g=-g.y;var t=e.width/h,v=e.width,w=e.height/k,y=e.height;m*h+e.width>f.width&&(t=d.width-m*h,v=f.width);p*k+e.height>f.height&&(w=d.height-p*k,y=f.height);b({image:c,Pz:m,Qz:p,Oz:t,Iz:w,dx:r,
dy:g,vr:v,rr:y})}else b(null)})}cancel(a){this.mh.cancel(a)}};var wWa=class{constructor(a,b,c,d){this.mh=b;this.nh=c;this.zIndex=40;this.oh=new _.jN(a,d,c)}Kt(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}St(a,b){return b?ZR(this,a,-8,0)||ZR(this,a,0,-8)||ZR(this,a,8,0)||ZR(this,a,0,8):ZR(this,a,0,0)}handleEvent(a,b,c){const d=b.ik;if(a==="mouseout")this.mh.set("cursor",""),this.mh.set("title",null);else if(a==="mouseover"){var e=d.Cw;this.mh.set("cursor",e.cursor);(e=e.title)&&this.mh.set("title",e)}let f;d&&a!=="mouseout"?f=d.Cw.latLng:f=b.latLng;a===
"dblclick"&&_.Dn(b.domEvent);_.Un(c,a,new _.NB(f,b.domEvent))}};var xWa=class extends _.yr{constructor(a,b,c,d,e,f,g){super();this.rh=a;this.th=d;this.ph=c;this.oh=e;this.qh=f;this.nh=g||_.YB;b.mh=h=>{oWa(this,h)};b.onRemove=h=>{pWa(this,h)};b.forEach(h=>{oWa(this,h)})}mh(){return{ki:this.nh,sm:2,Tl:this.sh.bind(this)}}sh(a,b={}){const c=document.createElement("div"),d=this.nh.size;c.style.width=`${d.Sh}px`;c.style.height=`${d.Th}px`;c.style.overflow="hidden";a={div:c,zoom:a.fi,dj:new _.Ho(a.Zh,a.ai),aq:{},Bj:new _.vr};c.fl=a;qWa(this,a);let e=!1;return{Aj:()=>
c,jn:()=>e,loaded:new Promise(f=>{_.Qn(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.fl;c.fl=null;rWa(this,f);c.textContent="";b.Zj&&b.Zj()}}}};var yWa=class{constructor(a,b,c){this.nh=b;this.kp=null;this.mh=!1;this.ph=0;const d=this;a.mh=e=>{d.Or(e)};a.onRemove=e=>{d.zt(e)};this.qh=c;a.getSize()?(this.mh=!0,this.oh()):_.vq(_.lI(_.Un,c,"load"))}Or(a){sWa(this,a,!0)}zt(a){sWa(this,a,!1)}oh(){this.mh&&lWa(this.nh);this.mh=!1;this.kp=null;this.ph=0;_.vq(_.lI(_.Un,this.qh,"load"))}};var vWa=class{constructor(a,b,c,d,e){var f=tWa;this.markers=a;this.nh=b;this.mh=c;this.qh=f;this.ph=d;this.oh=e;this.markers.mh=g=>{this.Or(g)};this.markers.onRemove=g=>{this.zt(g)}}Or(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.Uy={UA:a,latLng:b,zIndex:c,opacity:d,Bj:{}};b=a.get("useDefaults");c=a.get("icon");const f=a.get("shape")||c&&!b?a.get("shape"):this.mh.shape,g=c?this.qh(c):this.mh.icon,h=mVa(()=>{e===a.__gm.Uy&&(e.yu||e.zH)&&this.vm(a,e,g,f)});
g.url?this.ph.load(g,k=>{e.yu=k;h()}):(e.zH=this.oh(g),h())}zt(a){this.nh.remove(a.__gm.Uy);a.__gm.Uy=null}vm(a,b,c,d){if(b.yu){c=c.size;var e=a.get("anchorPoint");if(!e||e.mh)e=new _.Ho(b.yu.dx+c.width/2,b.yu.dy),e.mh=!0,a.set("anchorPoint",e)}else c=b.zH.size;d?d.coords=d.coords||d.coord:d={type:"rect",coords:[0,0,c.width,c.height]};b.shape=d;b.clickable=a.get("clickable");b.title=a.get("title")||null;b.cursor=a.get("cursor")||"pointer";_.Bq(this.nh,b)}};var $R=new Map;var oXa=class{constructor(a,b,c,d){this.Ov={};this.kp=0;this.Uw=!0;const e=this;this.pD=b;this.mu=c;this.wF=d;const f={animating:1,animation:1,attribution:1,clickable:1,cursor:1,draggable:1,flat:1,icon:1,label:1,opacity:1,optimized:1,place:1,position:1,shape:1,__gmHiddenByCollision:1,title:1,visible:1,zIndex:1};this.EM=function(g){g in f&&(delete this.changed,e.Ov[_.Xn(this)]=this,BWa(e))};a.mh=g=>{e.Or(g)};a.onRemove=g=>{e.zt(g)};a=a.elements;for(const g of Object.values(a))this.Or(g)}Or(a){this.Ov[_.Xn(a)]=
a;BWa(this)}zt(a){delete a.changed;delete this.Ov[_.Xn(a)];this.pD.remove(a);this.mu.remove(a)}};var pS=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var pXa=class{Ch(){}zh(){}nh(){}oh(){}ph(){}uh(){}xh(){}sh(){}qh(){}rh(){}wh(){}yh(){}mh(){}Ah(){}Bh(){}Gh(){}Eh(){}th(){}};var qXa=(0,_.$i)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var FWa=iVa("visible-gmp-advanced-markers"),EWa=iVa("hidden-gmp-advanced-markers"),IWa=class{constructor(a){this.ii=rXa;this.sp=null;this.wh=!1;this.th=null;this.sh=0;this.uh=null;this.map=a;this.ph=new Set;this.qh=new Set;this.Xn=`maps-aria-${_.mo()}`;this.oh=document.createElement("span");this.oh.id=this.Xn;this.oh.textContent="To activate drag with keyboard, press Alt + Enter. Once in keyboard drag state, use the arrow keys to move the marker. To complete the drag, press the Enter key. To cancel, press Escape.";
this.oh.style.display="none";this.rh=document.createElement("div");this.mh=document.createElement("div");CSS.supports("content-visibility: hidden")?this.mh.style.contentVisibility="hidden":this.mh.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",FWa);this.rh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",EWa);this.mh.appendChild(b);this.nh=document.createElement("div");this.nh.append(this.rh,this.mh);const c=a.__gm;this.yh=c.tq;this.xh=new Promise(d=>
{c.oh.then(e=>{this.map&&(e&&(this.sp=CWa(this,a)),this.wh=!0);d()})});_.Qu(qXa,this.map.getDiv());Promise.all([c.nh,this.xh]).then(([{xm:d}])=>{this.map&&d.overlayMouseTarget.append(this.oh,this.nh);this.uh=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.oh,this.nh)})})}dispose(){this.sp&&(this.sp.setMap(null),this.sp=null);this.uh&&this.uh.remove();this.oh.remove();this.mh.remove();this.rh.remove();this.nh.remove();this.mh.textContent="";this.rh.textContent="";this.ph.clear();
this.qh.clear();this.map=null}isEmpty(){return this.ph.size===0}requestRedraw(){this.wh?this.sp&&this.sp.requestRedraw():this.xh.then(()=>{this.sp&&this.sp.requestRedraw()})}onDraw(a){if(this.map){var b=this.yh.offsetWidth,c=this.yh.offsetHeight,d=_.Xq(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.ph.values()){a:{var e=h.ZL;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.sm(f.lng(),-180,180);var g=_.sm(e.lng,-180,180);f>0&&g<f-180?g+=360:f<0&&g>
f+180&&(g-=360);e=new _.Kp({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.ip(null,d);continue}e=a.fromLatLngAltitude(e);f=Array.from(e);e=g=[0,0,0];const k=e[0],m=e[1],p=e[2],r=1/(f[3]*k+f[7]*m+f[11]*p+f[15]);e[0]=(f[0]*k+f[4]*m+f[8]*p+f[12])*r;e[1]=(f[1]*k+f[5]*m+f[9]*p+f[13])*r;e[2]=(f[2]*k+f[6]*m+f[10]*p+f[14])*r;const {SL:t,yO:v}={SL:f[14]<0&&f[15]<0,yO:g};t?h.ip(null,d):h.ip({Sh:GR(v[0]/2*b),Th:GR(-v[1]/2*c)},d,{Sh:b,Th:c})}}}};var dS=new Map,rXa=new class extends pXa{Ch(a){a&&this.Pj(a,181191)}zh(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&this.Pj(a,159713);b==="RASTER"?this.Pj(a,157416):b==="VECTOR"&&this.Pj(a,157417)}}nh(a,b=!1){this.Pj(a,158896);b&&this.Pj(a,185214)}oh(a,b){b&&(b!=="REQUIRED"&&this.Pj(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?this.Pj(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&this.Pj(a,160099))}ph(a,b){b?this.Pj(a,159404):this.Pj(a,159405)}uh(a){this.Pj(a,159484)}xh(a){this.Pj(a,
160438)}sh(a){this.Pj(a,159521)}qh(a){this.Pj(a,160103)}rh(a){this.Pj(a,159805)}wh(a){this.Pj(a,159490)}yh(a){this.Pj(a,159812)}mh(a){this.Pj(a,159609)}Ah(a){this.Pj(a,160122)}Bh(a){this.Pj(a,160106)}Gh(a){this.Pj(a,160478)}Eh(a,b){const c=[{threshold:1E4,Gp:160636},{threshold:5E3,Gp:160635},{threshold:2E3,Gp:160634},{threshold:1E3,Gp:160633},{threshold:500,Gp:160632},{threshold:200,Gp:160631},{threshold:100,Gp:160630},{threshold:50,Gp:159732},{threshold:10,Gp:160629},{threshold:1,Gp:160628}];for(const {threshold:d,
Gp:e}of c)if(b>=d){this.Pj(a,e);break}}th(a){this.Pj(window,a instanceof KeyboardEvent?171152:171153)}Pj(a,b){a&&_.N(a,b)}},sXa=new pXa,cS=null;var tXa=class{constructor(a){this.mh=a;this.qh=this.ph=!1;this.uh=this.nh=this.rh=this.wh=this.yh=this.Eh=null;this.xh=0;this.Hh=null;this.Nh=b=>{this.Lt(b)};this.Ph=b=>{b.touches.length===1&&this.Lt(b)};this.Ih=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Bh=b=>{if(this.qh||this.th||sVa(b,this.Eh))this.th=!0};a=this.mh.Dp;_.my!==2?(a.addEventListener("pointerdown",this.Nh),a.addEventListener("pointermove",this.Bh)):(a.addEventListener("touchstart",this.Ph,{passive:!1}),a.addEventListener("touchmove",
this.Bh,{passive:!1}));a.addEventListener("mousedown",this.Ih);this.Ah=b=>{b.preventDefault();b.stopImmediatePropagation();this.qh?UWa(this,b):this.ph?(VWa(this,b),hS(this.mh,"drag",b)):(WWa(this,b),b=this.mh,b.ii.Gh(b.map))};this.sh=b=>{this.uh&&b.timeStamp-this.uh>=500&&(!this.ph||this.qh)?(this.qh?UWa(this,b):(WWa(this,b),b=this.mh,b.ii.Bh(b.map),b.Op&&_.Un(b,"longpressdragstart")),this.th=!0):(this.ph&&(this.qh||this.th||sVa(b,this.Eh))&&(this.th=!0),this.qh&&eS(this,b),b.type==="touchend"&&iS(this,
!1),this.ph?(b.stopImmediatePropagation(),VWa(this,b),lS(this),mS(this.mh,!0),hS(this.mh,"dragend",b)):lS(this))};this.Uh=b=>{this.ei(b)};this.Yh=b=>{this.ci(b)};this.Oh=b=>{fS(this,b)};this.ei=b=>{if(b.altKey&&(_.wz(b)||b.key===_.opa))fS(this,b);else if(!b.altKey&&_.wz(b))this.th=!0,eS(this,b);else if(_.xz(b)||_.zz(b)||_.yz(b)||_.Az(b))b.preventDefault(),this.zh.add(b.key),this.xh||(this.Hh=new _.wM(100),YWa(this)),hS(this.mh,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.mh;b=
b.code==="Equal"?1:-1;const d=rVa(c.Mk,c.Rp);d&&c.Kh.aI(b,d)}};this.ci=b=>{(_.xz(b)||_.zz(b)||_.yz(b)||_.Az(b))&&this.zh.delete(b.key)};this.Ch=()=>{iS(this,!0)};this.Gh=()=>{this.ph||iS(this,!1)};this.oh=document.createElement("div");QWa(this);this.th=!1;this.zh=new Set}Vz(a){this.nh&&_.xM(this.nh,a)}Lt(a){this.th=!1;if(this.mh.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.mh.Dp;b.focus();const c=document;_.my!==2||a.preventDefault();a.stopImmediatePropagation();this.uh=a.timeStamp;
_.my!==2?(c.addEventListener("pointermove",this.Ah),c.addEventListener("pointerup",this.sh),c.addEventListener("pointercancel",this.sh)):(c.addEventListener("touchmove",this.Ah,{passive:!1}),c.addEventListener("touchend",this.sh),c.addEventListener("touchcancel",this.sh),c.addEventListener("touchstart",this.sh));this.ph||(this.Eh=_.WL(a));b.style.cursor=_.Ez}}Py(){this.ph||(this.th=!1)}Mt(a){if(this.mh.gmpDraggable&&!this.qh&&!this.ph){var b=this.mh.Dp;b.addEventListener("keydown",this.Uh);b.addEventListener("keyup",
this.Yh);b.addEventListener("blur",this.Oh);this.rh=this.mh.ho();this.yh=this.mh.position;this.qh=this.ph=!0;TWa(this);b=this.mh.Dp;b.setAttribute("aria-grabbed","true");kS(this.mh);b.style.zIndex="2147483647";this.oh.style.opacity="1";hS(this.mh,"dragstart",a);a=this.mh;a.ii.Ah(a.map)}}Oy(a,b=!0){this.qh?fS(this,a,b):this.ph&&(this.mh.position=this.yh,a.stopImmediatePropagation(),lS(this),b&&hS(this.mh,"dragend",a))}Ll(){return this.ph}dispose(){lS(this);const a=this.mh.Dp;_.my!==2?(a.removeEventListener("pointerdown",
this.Nh),a.removeEventListener("pointermove",this.Bh)):(a.removeEventListener("touchstart",this.Ph,{passive:!1}),a.removeEventListener("touchmove",this.Bh,{passive:!1}));a.removeEventListener("mousedown",this.Ih);a.removeEventListener("pointerenter",this.Ch);a.removeEventListener("pointerleave",this.Gh);a.removeEventListener("focus",this.Ch);a.removeEventListener("blur",this.Gh);this.oh.remove()}};var xS=!1,yS=class extends _.Zt{set anchorTop(a){this.OL=this.Lh("anchorTop",_.$s,a);tS(this,this.bl);mS(this,!0)}get anchorTop(){return this.OL}set anchorLeft(a){this.NL=this.Lh("anchorLeft",_.$s,a);tS(this,this.bl);mS(this,!0)}get anchorLeft(){return this.NL}constructor(a={}){super(a);this.Lv=this.wj=this.Gj=null;this.QA="";this.Nl=this.xw=this.ZD=this.Kh=this.Kk=this.kl=null;this.UD=!1;this.Zz=null;this.EC=this.dG=this.aA=this.WD=!1;this.ti=this.Ix=this.xG=this.XG=this.bI=this.EE=null;this.TD=
void 0;this.kv=this.VD=!1;this.LF=_.Xo(!1);this.Rp=this.lv=this.fB=null;this.ns="";this.Mk=this.bA=void 0;this.CA=this.DA=!0;this.LB=this.jD=!1;this.Fw=!0;document.createElement("div");$Wa(this);this.targetElement=this;this.Dp=this;this.Op=xS;Object.defineProperties(this,{Op:{value:xS,writable:!1}});this.ii=this.Op?sXa:rXa;this.addEventListener("focus",e=>{this.tB(e)},!0);this.addEventListener("marker-resize",()=>{aXa(this)});this.pm=new _.jC;this.Fj=document.createElement("div");_.Qr(this.Fj,"content-container");
this.kl=document.createElement("slot");this.kl.addEventListener("slotchange",()=>{this.Vs()});this.Fj.appendChild(this.kl);this.kl.prepend(this.pm);this.Vs();Promise.resolve().then(()=>{nS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.ny=getComputedStyle(this);this.VK=(e,f,g)=>this.Ey(e,f,g);const b=()=>{nS(this);oS(this);const e=_.Gn(this,"gmp-click");this.ii.nh(this.map,e)},c=()=>{nS(this);oS(this)},d=["click"];d.push("gmp-click");for(const e of d)lVa(this,
e,b),kVa(this,e,c);this.En=new _.Yn;this.En.addListener("isopen_changed",()=>{bXa(this);aXa(this)});this.zF=e=>{this.wj?.Zr(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.NA=!!a.NA;this.gmpClickable=a.gmpClickable;this.gmpDraggable=a.gmpDraggable;this.position=a.position;this.title=a.title??"";this.zIndex=a.zIndex;this.map=a.map;this.yi(a,yS,"AdvancedMarkerElement")}addEventListener(a,b,c){a!=="click"||this.jD||_.zn(_.gq(this,
"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.zn(_.gq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.Fn(this,a,b)}tB(a){var b=a.target,c=a.relatedTarget;if(this!==b)if(a.stopPropagation(),a.stopImmediatePropagation(),console.debug('Focusable child elements in AdvancedMarkerElement are not supported. To make AdvancedMarkerElement focusable, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'),
this.ii.yh(this.map),a=[document.body,..._.Fx(document.body)],b=a.indexOf(b),c=a.indexOf(c),b===-1||c===-1)this.focus();else for(c=b>c?1:-1,b+=c;b>=0&&b<a.length;b+=c){const d=a[b];if(this.xn&&d===this||!this.contains(d)){(d instanceof HTMLElement||d instanceof SVGElement)&&d.focus();break}}}Py(a){this.Gj&&this.Gj.Py();cXa(this,a)}Mt(a){this.Gj&&this.Gj.Mt(a)}Lt(a){this.Gj&&this.Gj.Lt(a)}uF(){return new Promise(a=>{if(this.xn){var b=()=>{this.isConnected&&this.bl?setTimeout(()=>{this.focus();a()},
0):_.uz(_.tz(),b)};b()}})}Us(){}Oy(a){this.Gj&&(this.Gj.Oy(a,!this.Op),this.Op&&_.Un(this,"dragcancel"))}get collisionBehavior(){return this.TD}set collisionBehavior(a){a=this.Lh("collisionBehavior",_.bn(_.Vm(_.pt)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.TD=a,this.ii.oh(this.map,this.TD),this.map&&(!bS(this)&&this.ti?gVa(this.ti.Hh,this):mS(this,!0)))}get element(){return this}get cz(){return qS(this)[0]===this.pm}get content(){const a=qS(this);a.length>1&&console.debug("The content getter of AdvancedMarkerElement only returns the first content when there are multiple contents, use childNodes or children to get all the contents.");
return a[0]}set content(a){a=this.Lh("content",_.bn(_.$m([_.Um(Node,"Node"),_.Zm(_.Tm)])),a)||this.pm;const b=qS(this);if(b.length!==1||b[0]!==a)a!==this.pm?this.replaceChildren(a):a===this.pm&&this.replaceChildren(),this.Vs()}Vs(){const a=()=>{this.kl&&!this.kl.contains(this.pm)&&this.kl.prepend(this.pm);this.Nl=null;this.Gj&&jS(this.Gj);mS(this,!0);nS(this)};this.ii.ph(this.map,this.cz);this.bq.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.VD}set gmpClickable(a){a=
this.Lh("gmpClickable",_.at,a)||!1;this.VD!==a&&(this.VD=a,nS(this),oS(this))}get gmpDraggable(){return this.kv}set gmpDraggable(a){a=this.Lh("gmpDraggable",_.at,a)||!1;eXa(this,this.position,a);this.LF.set(a);this.kv!==a&&((this.kv=a)?(this.ii.qh(this.map),this.setAttribute("aria-grabbed","false"),JWa(this,this.QA),this.Gj=new tXa(this),PWa(this.Gj)):(this.removeAttribute("aria-grabbed"),this.ZG(this.QA),this.Gj.dispose(),this.Gj=null),nS(this),oS(this))}ZG(a){var b=this.getAttribute("aria-describedby");
b=(b?b.split(" "):[]).filter(c=>c!==a);b.length>0?this.setAttribute("aria-describedby",b.join(" ")):this.removeAttribute("aria-describedby")}get map(){return this.Mk}set map(a){this.setMap(a);this.Mk&&(a=_.oo(this.Mk))&&this.parentElement!==a&&a.append(this)}setMap(a){this.Mk!==a&&(a=this.Lh("map",_.bn(_.Um(_.no,"MapsApiMap")),a),a instanceof _.no&&(a=a.HN),a&&this.isConnected?rS(this):this.dispose(),this.Mk=a,this.En.set("map",this.Mk),this.Mk instanceof _.no?(this.Mk&&KWa(this,this.Mk),this.ti=
this.Mk.__gm,dXa(this),this.EE=this.Mk.addListener("bounds_changed",()=>{sS(this)}),this.bI=this.Mk.addListener("zoom_changed",()=>{sS(this)}),this.XG=this.Mk.addListener("projection_changed",()=>{sS(this)}),this.xG=this.Mk.addListener("maptypeid_changed",()=>{gXa(this)}),Promise.all([this.ti.nh,this.ti.oh]).then(([b,c])=>{this.Mk===b.map&&(this.dG=c,this.ii.zh(b.map),c=this.ti.mh,this.Op||_.jq(c,"ADVANCED_MARKERS").isAvailable)&&(this.Kh=b.Kh,gXa(this))}),hXa(this),iXa(this)):this.ti=null)}get position(){return this.lv}set position(a){a=
(a=this.Lh("position",_.bn(_.Hr),a)||null)&&new _.Kp(a);const b=this.lv;eXa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Kp(b,!0);const d=new _.Kp(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Rp=(this.lv=a)?new _.on(a):null,this.EC=!0,a||tS(this,null),this.En.set("position",this.Rp),this.Ix?LWa(this.map):fXa(this),this.Yl()>0&&this.ii.mh(this.map),_.bq(this,"position",b))}get ZL(){return this.lv}get title(){return this.ns}set title(a){a=this.Lh("title",_.Yr,a);const b=this.ns;a!==this.title&&(this.ns=
a,this.title&&this.ii.rh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.ox(),_.bq(this,"title",b))}get zIndex(){return this.bA}set zIndex(a){a=this.Lh("zIndex",_.bn(_.Ws),a);this.bA=a==null?null:a;this.style.zIndex=this.bA==null?"":`${this.bA}`;this.zIndex!==null&&this.ii.sh(this.map);mS(this)}get nw(){const a=_.Gn(this,"click"),b=_.Gn(this,"gmp-click");return a||b||
!!this.gmpClickable}get bG(){return this.nw||!!this.gmpDraggable}get xn(){return this.UD}set xn(a){ZWa(this);this.UD!==a&&(this.UD=a,sS(this))}get dt(){return this.aA}set dt(a){if(a!==this.aA){if(this.aA=a)this.CA=this.DA=!1,kS(this);this.map&&MWa(this,this.map)}}get Wo(){return this.Zz}set Wo(a){a!==this.Zz&&(this.Zz=a,this.map&&MWa(this,this.map),sS(this),_.Un(this,"UPDATE_BASEMAP_COLLISION"))}ew(){if(!this.bl)return null;if(!this.Nl)for(const c of qS(this)){var a=this.ny;const {offset:d,size:e}=
pVa(this,c);var b=FR(a);a=b.offsetY+d.y;b=b.offsetX+d.x;a=_.up(b,a,b+e.width,a+e.height);this.Nl?this.Nl.extendByBounds(a):this.Nl=a}return this.Nl}get bl(){return this.ZD}set bl(a){const b=this.ZD==null&&!!a;this.ZD=a;bXa(this,b)}Yl(){return this.lv?this.lv.altitude:0}Ey(a,b,c){return this.Mk?(c=_.PDa(this.Mk.getProjection(),this.Rp,c))?a/c*Math.sin(b*Math.PI/180):0:0}ip(a,b,c){if(a){if(this.Gj){b=this.Gj;var d=b.mh;b=(d=d.ti?d.ti.tq:null)&&b.rh&&b.ph&&!b.qh?qVa(d,b.rh):null}else b=null;b&&(a=b);
this.xw=a;b=this.dt;this.dt=!(!c||!(Math.abs(a.Sh)>c.Sh/2+512||Math.abs(a.Th)>c.Th/2+512));b&&this.dt||(this.Fw&&this.map&&(c=_.Da(this.map),(c=dS.get(c))&&GWa(c,this)),(new _.Ho(a.Sh,a.Th)).equals(this.bl)||(tS(this,new _.Ho(a.Sh,a.Th)),this.Vz(this.EC)),this.EC=!1,this.CA=this.DA=!0)}else this.dt=!0,this.xw=null,tS(this,null)}Vz(a){this.Nl=null;this.Gj&&this.Gj.nh&&this.Gj.Vz(this.ew());mS(this,a)}Xm(a){this.WD!==a&&(this.WD=a,this.En.set("map",this.WD?this.map:null))}Jy(){if(!bS(this)||this.Wo||
!qS(this).length)return null;var a=this.map.getProjection();if(!a)return null;a=a.fromLatLngToPoint(this.Rp);const b=[];for(const f of qS(this)){a:{var c=f;var d=this.bl;var e=this.ny;if(!d){d={size:new _.Lo(0,0),offset:new _.Ho(0,0)};break a}const {size:k,offset:m}=pVa(this,c);c=FR(e);d={size:k,offset:new _.Ho(c.offsetX-d.x+m.x,c.offsetY-d.y+m.y)}}const {size:g,offset:h}=d;d=new kXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}Et(){}wq(){return this}aG(a){return!this.position||this.Zz?!1:
nVa(a,this)}ox(){const a=this.wq();this.xn?a.setAttribute("role","button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Ll(){return this.Gj?this.Gj.Ll():!1}Um(){tS(this,null);kS(this);this.DA&&this.Kh&&this.Kk&&(this.Kh.Ol(this.Kk),this.Kk=null);this.remove();this.Fw=!0}dispose(){if(!this.LB){this.LB=!0;try{this.Mk&&(rS(this),this.Um())}finally{this.LB=!1}}}dD(a){{const c=this.ti?.get("projectionController");if(this.ti&&a&&c){var b=this.ti.tq.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.Ho(a.clientX-
b.left,a.clientY-b.top))}else a=null}a&&(this.position=a)}ho(){var a=this.ti?.get("projectionController");if(!this.ti||!a||!this.Rp)return null;a=a.fromLatLngToContainerPixel(this.Rp);const b=this.ti.tq.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Ak.appendChild(this.Fj);this.Gj&&jS(this.Gj);if(this.isConnected&&this.parentNode){const a=CR(this);a?this.setMap(a):(rS(this),console.error("AdvancedMarkerElement: parent element must be a <gmp-map>."))}}disconnectedCallback(){!this.isConnected&&
this.CA&&(this.map=null);this.Fw=!0;super.disconnectedCallback()}};yS.prototype.addListener=yS.prototype.addListener;yS.prototype.addEventListener=yS.prototype.addEventListener;yS.prototype.constructor=yS.prototype.constructor;yS.Ii={Ki:181577,Ji:181576};_.A([_.qr({Jh:"anchor-top",type:String,Mh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorTop",null);
_.A([_.qr({Jh:"anchor-left",type:String,Mh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorLeft",null);_.A([_.qr({Jh:"gmp-clickable",type:Boolean,Mh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"gmpClickable",null);_.A([_.qr({li:_.At,sj:_.Rp,Mh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"position",null);
_.A([_.qr({li:{Fk:a=>a||"",tk:a=>a||null},Mh:!0}),_.B("design:type",String),_.B("design:paramtypes",[String])],yS.prototype,"title",null);var uXa=!1,vXa=class extends yS{constructor(a={}){super(a);if(!xS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.sp("gmp-internal-use-am",vXa);var zS={Marker:_.st,CollisionBehavior:_.pt,Animation:_.pha,bK:()=>{},zA:function(a,b,c){const d=_.SFa();if(b instanceof _.Yo)hWa(a,b,d);else{const e=new _.vr;hWa(e,b,d);const f=new _.vr;c||zWa(f,b,d);new oXa(a,f,e,c)}},OE:function(a={}){xS=!0;a=new vXa(a);xS=!1;return a},AdvancedMarkerElement:yS,PinElement:_.jC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:yS,PinElement:_.jC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0,
PinView:void 0};_.Gm(a);_.ra.google.maps.marker=a;uXa||(uXa=!0,_.sp("gmp-advanced-marker",yS))}};_.Hm(zS,["bK","zA","OE","connectForExplicitThirdPartyLoad"]);_.Gm(zS);_.Rl("marker",zS);});
