google.maps.__gjsload__('marker', function(_){var bVa=function(a,b){const c=_.Da(b);a.mh.set(c,b);_.wq(a.nh)},cVa=function(a,b){if(a.nh.has(b)){_.In(b,"UPDATE_BASEMAP_COLLISION");_.In(b,"UPDATE_MARKER_COLLISION");_.In(b,"REMOVE_COLLISION");a.nh.delete(b);var c=a.oh;const d=_.Da(b);c.mh.has(d)&&(c.mh.delete(d),b.Vo=null,_.wq(c.nh));_.sca(a.mh,b)}},dVa=function(a,b){a.nh.has(b)||(a.nh.add(b),_.En(b,"UPDATE_BASEMAP_COLLISION",()=>{a.ph.add(b);a.qh.eq()}),_.En(b,"UPDATE_MARKER_COLLISION",()=>{a.qh.eq()}),_.En(b,"REMOVE_COLLISION",()=>{cVa(a,b)}), bVa(a.oh,b),_.rca(a.mh,b))},eVa=function(a){return`${_.Hm(a)}-internal-${a}`},fVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.ZC)},gVa=function(a,b,c){return new _.Dn(a,`${b}${"_removed"}`,c,0,!1)},hVa=function(a,b,c){return new _.Dn(a,`${b}${"_added"}`,c,0,!1)},CR=function(a){return a?_.ir.has(a)?_.ir.get(a):a instanceof ShadowRoot?CR(a.host):CR(a.parentNode):null},iVa=function(a){var b=1;return()=>{--b||a()}},DR=function(a){return a instanceof _.kC},ER=function(a){return DR(a)? a.getSize():a.size},jVa=function(a,b){if(!(a&&b&&a.isConnected&&b.isConnected))return!1;a=a.getBoundingClientRect();b=b.getBoundingClientRect();return b.x+b.widtha.x+a.width+0||b.y+b.heighta.y+a.height+0?!1:!0},kVa=function(a,b){_.VI().mh.load(new _.uL(a),c=>{b(c&&c.size)})},lVa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Go(b.x-a.x,b.y-a.y),size:new _.Ko(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},mVa=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))}},nVa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.Kx(b,a)},oVa=function(a,b){const c=_.ZL(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},pVa=function(a,b){const c=[]; c.push("@-webkit-keyframes ",b," {\n");_.Hb(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("")},qVa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.N(a,174113);sVa(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)}},vVa=function(a,b,c){uVa(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:_.vm(d.color,"#000000"),fontWeight:_.vm(d.fontWeight,""),fontSize:_.vm(d.fontSize,"14px"),fontFamily:_.vm(d.fontFamily, "Roboto,Arial,sans-serif"),className:d.className||""}:null)})},uVa=function(a,b,c){b?DR(b)?c(b):b.path!=null?c(a.nh(b)):(_.xm(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),kVa(b.url,d=>{b.size=d||new _.Ko(24,24);c(b)}))):c(null)},wVa=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||_.$o,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{a.style.webkitAnimationDuration=c.duration?c.duration+"ms":"";a.style.webkitAnimationIterationCount=`${c.ln}`;a.style.webkitAnimationName=b||""})},zVa=function(){const a=[];for(let b=0;b{}});a.mh=RR(a,b,a.mh,c,e);FVa(a,c,SR(a))}},KVa=function(a){var b=a.getLabel();if(b){if(!a.qh){const e=a.qh=new HVa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.ri);a.Vh=[_.En(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.En(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}), _.En(a,"panes_changed",()=>{var f=a.get("panes");e.wm=f;JR(e);_.wq(e.nh)}),_.En(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.mh,d=SR(a);c=IVa(a,b,d,MR(c)||_.$o);d=ER(b);d=b.labelOrigin||new _.Go(d.width/2,d.height/2);DR(b)&&(b=b.getSize().width,d=new _.Go(b/2,b/2));xVa(a.qh,new _.Go(c.x+d.x,c.y+d.y));a.qh.setZIndex(JVa(a));_.xq(a.qh.nh)}}},MVa=function(a){if(!a.zh){a.oh&&(a.uh&&_.Gn(a.uh),a.oh.cancel(),a.oh=null);var b=a.get("animation");if(b=LVa[b]){var c= b.options;a.mh&&(a.zh=!0,a.set("animating",!0),b=EVa(a.mh,b.icon,c),a.oh=b,a.uh=_.Pn(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{a.Ah=!1;OR(a);_.xq(a.rh)},0);_.by(c);_.Tn(a,"mouseup",c.mh)},ml:({event:c,Dq:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.dx(c.mh),c.button===3?d||c.button===3&&_.Tn(a,"rightclick",c.mh):d?_.Tn(a,"dblclick",c.mh):(_.Tn(a,"click",c.mh),_.N(window,171150))},yu:c=>{_.cy(c);_.Tn(a,"contextmenu",c.mh)}}),a.th=new _.NB(b,b,{st(c){_.Tn(a,"mouseout", c)},tt(c){_.Tn(a,"mouseover",c)}}))},NVa=function(a,b,c,d){c=c||_.yx("div",b);_.er(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.eJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Io(b);c.style.height=_.Jo(b);c.style.pointerEvents="none";c.style.userSelect="none";_.Pn(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=PVa(a),b.xn&&(b=a.getMap())&&_.N(b,184438))},RVa=function(a,b){if(a.ph){var {hF:c,marker:d}=a.ph.get(b);for(const e of QVa)c.push(hVa(d,e,()=>{VR(a,b)})),c.push(gVa(d,e,()=>{!PVa(d)&&b.xn&&VR(a,b)}))}},SVa=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)},TVa=function(a){const b=a.nh.__gm;_.En(a.uh,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging", b.get("markerDragging")||a.marker.get("dragging"))},VVa=function(a){a.rh.push(_.Sn(a.mh,"panbynow",a.nh.__gm));UVa.forEach(b=>{a.rh.push(_.En(a.mh,b,c=>{const d=a.wh?UR(a):a.marker.get("internalPosition");c=new _.OB(d,c,a.mh.get("position"));_.Tn(a.marker,b,c)}))})},WVa=function(a){const b=()=>{a.marker.get("place")?a.mh.set("draggable",!1):a.mh.set("draggable",!!a.marker.get("draggable"))};a.rh.push(_.En(a.uh,"draggable_changed",b));a.rh.push(_.En(a.uh,"place_changed",b));b()},XVa=function(a){a.rh.push(_.En(a.nh, "projection_changed",()=>{WR(a)}));a.rh.push(_.En(a.uh,"position_changed",()=>{WR(a)}));a.rh.push(_.En(a.uh,"place_changed",()=>{WR(a)}))},ZVa=function(a){a.rh.push(_.En(a.mh,"dragging_changed",()=>{if(a.mh.get("dragging"))a.zh=a.qh.fo(),a.zh&&_.EM(a.qh,a.zh);else{a.zh=null;a.yh=null;var b=a.qh.getPosition();if(b&&(b=_.Jr(b,a.nh.get("projection")),b=YVa(a,b))){const c=_.Kx(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(_.En(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.Mh.Mm(a.yh);b=_.Jr(b,a.nh.get("projection"));c=a.yh;var d=YVa(a,b);d&&(a.marker.get("place")||(a.xh=!1,a.marker.set("position",d),a.xh=!0),d.equals(b)||(b=_.Kx(d,a.nh.get("projection")),c=a.qh.fo(b)));c&&_.EM(a.qh,c)}}))},$Va=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)}},bWa=function(a){if(a.oh){const b=new aWa(a.nh instanceof _.Xo);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(_.Kx(b,a.nh.get("projection")))}},YVa=function(a,b){const c=a.nh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},PVa=function(a){return QVa.some(b=>fVa(a,b))},dWa=function(a,b,c){if(b instanceof _.mo){const d=b.__gm;Promise.all([d.nh,d.oh]).then(([{Mh:e},f])=>{cWa(a,b,c,e,f)})}else cWa(a,b,c,null)},cWa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var k=b instanceof _.mo;const n=k?h.__gm.Qr.map:h.__gm.Qr.streetView,p=n&&n.nh===b,r=p!==a.contains(h); n&&r&&(k?(h.__gm.Qr.map.dispose(),h.__gm.Qr.map=null):(h.__gm.Qr.streetView.dispose(),h.__gm.Qr.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.mo?(k=b.__gm,h.__gm.Qr.map=new eWa(h,b,c,_.vM(k,h),d,k.Bh,f)):h.__gm.Qr.streetView=new eWa(h,b,c,_.Ik,null,null,null),tVa(b,h,e))};_.En(a,"insert",g);_.En(a,"remove",g);a.forEach(g)},YR=function(a){return _.gs()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio|| 1)},fWa=function(a,b,c){a=a.mh;a.width=b;a.height=c;return a},gWa=function(a){const b=[];a.yj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},hWa=function(a){const b=gWa(a),c=a.getContext(),d=YR(c);a=a.fi.size;c.clearRect(0,0,Math.ceil(a.Sh*d),Math.ceil(a.Th*d));b.forEach(e=>{c.globalAlpha=_.vm(e.opacity,1);c.drawImage(e.image,e.Cz,e.Dz,e.Bz,e.vz,Math.round(e.dx*d),Math.round(e.dy*d),e.vr*d,e.rr*d)})},iWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.vr g.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.pw;if(f.clickable===!1)continue;f=f.JA;if(iWa(a.x,a.y,d)){c=f;break}}c&&(b.gk=d);return c},kWa=function(a,b){if(!b.FB){b.FB=!0;var c=_.Ir(a.get("projection")),d=b.qu;if(d){d.dx<-64||d.dy<-64||d.dx+d.vr>64||d.dy+d.rr>64?(_.zq(a.oh,b),d=a.nh.search(_.zt)):(d=b.latLng,d=new _.Go(d.lat(),d.lng()),b.gj=d,_.yM(a.ph,{gj:d,marker:b}),d=_.GFa(a.nh,d));for(let f=0,g=d.length;f{delete b.yj[c];d.dl.yj.remove(d)}))},mWa=function(a,b){a.tiles[_.Wn(b)]=b;var c={Zh:b.dj.x,ai:b.dj.y,ii:b.zoom};const d=_.Ir(a.get("projection"));var e=_.Sy(a.fi,c);e=new _.Go(e.mh,e.nh);const {min:f,max:g}=_.BI(a.fi,c,64/a.fi.size.Sh);c=_.tp(f.mh,f.nh,g.mh,g.nh);_.JFa(c,d,e,(h,k)=>{h.rH=k;h.dl=b;b.Zp[_.Wn(h)]=h;_.wM(a.nh,h);const n=(a.ph.search(h)|| []).map(p=>p.marker);a.oh.forEach(p=>{n.push(p)});for(let p=0,r=n.length;p{b.yj.remove(c);delete c.pw.yj[_.Wn(c)]}),_.nm(b.Zp,(c,d)=>{a.nh.remove(d)}))},jWa=function(a,b,c,d,e){if(!(e&&c&&d.latLng&&b))return null;var f=e.fromLatLngToPoint(c);c=e.fromLatLngToPoint(d.latLng);if(!c||!f)return null;e=a.fi.size;a=_.mBa(a.fi,new _.Wq(c.x, c.y),new _.Wq(f.x,f.y),b.zoom);c.x=a.Zh*e.Sh;c.y=a.ai*e.Th;a=d.zIndex;_.sm(a)||(a=c.y);a=Math.round(a*1E3)+Number(_.Wn(d))%1E3;f=d.qu;b={image:f.image,Cz:f.Cz,Dz:f.Dz,Bz:f.Bz,vz:f.vz,dx:f.dx+c.x,dy:f.dy+c.y,vr:f.vr,rr:f.rr,zIndex:a,opacity:d.opacity,dl:b,pw:d};return b.dx>e.Sh||b.dy>e.Th||b.dx+b.vr<0||b.dy+b.rr<0?null:b},oWa=function(a){return typeof a==="string"?($R.has(a)||$R.set(a,{url:a}),$R.get(a)):a},uWa=function(a,b,c){const d=new _.tr,e=new _.tr,f=new pWa;new qWa(a,d,new IR,f,c);const g=_.tx(b.getDiv()).createElement("canvas"), h={};a=_.tp(-100,-300,100,300);const k=new _.iN(a);a=_.tp(-90,-180,90,180);const n=_.IFa(a,(w,y)=>w.marker===y.marker);let p=null,r=null;const t=new _.Vo(null),v=b.__gm;v.nh.then(w=>{v.sh.register(new rWa(h,v,t,w.Mh.tk));_.ow(w.vs,y=>{if(y&&p!==y.fi){r&&r.unbindAll();var D=p=y.fi;r=new sWa(h,d,e,function(H,M){return new tWa(M,new aS(H,M,g,D),H)},k,n,p);r.bindTo("projection",b);t.set(r.mh())}})});_.GM(b,t,"markerLayer",-1)},wWa=function(a){a.Pt||(a.Pt=_.XI(()=>{a.Pt=0;const b=a.Dv;a.Dv={};const c= a.Kw;for(const d of Object.values(b))vWa(a,d);c&&!a.Kw&&a.gu.forEach(d=>{vWa(a,d)})}))},vWa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.mM;if(!b.get("animating"))if(a.eD.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.Vo)a.gu.remove(b);else{a.Kw&&!a.iF&&a.gu.getSize()>=256&&(a.Kw=!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.iF||c==0||e||f||g||d||h||!c&&a.Kw?_.zq(a.gu,b):(a.gu.remove(b),_.zq(a.eD,b))}},xWa=function(a,b){const c=new _.lq;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.bu.add(c);c.setMap(b);return c},yWa=function(a){a.sh||(a.sh=setTimeout(()=>{const b=[...a.ph].filter(c=>!c.Op).length;b>0&&a.ki.Eh(a.map,b);a.sh=0},0))},BWa=function(a,b){a.qh.has(b)||(a.qh.add(b),_.vz(_.uz(),()=>{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.Vo!==!1&&bS(d)||d.Ys,g=_.no(a.map);g||(a.th||(a.th=a.nh.attachShadow({mode:_.Hq[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?zWa:AWa):e.style.visibility=f?"hidden":"";d.Xm(!f);d.sw=!1}a.qh.clear();for(const d of c)d.Jz(!0)}}))},CWa=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)},FWa=function(a,b){const c=_.Da(b);let d=dS.get(c);d||(d=new DWa(b),dS.set(c,d));b=d;EWa(a,b.Wn);b.ph.add(a);yWa(b);CWa(a.targetElement)},GWa=function(a){a=_.Da(a);(a=dS.get(a))&&a.requestRedraw()},HWa=function(a,b){b=_.Da(b);(b=dS.get(b))&&BWa(b,a)},IWa=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);JWa(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"},LWa=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";KWa(a);const b=a.mh.Dp;b.addEventListener("pointerenter",a.Ch);b.addEventListener("pointerleave",a.Fh);b.addEventListener("focus",a.Ch);b.addEventListener("blur",a.Fh)},MWa=function(a,b=!1){return a.ph?_.Fz:b?"pointer":_.nma},jS=function(a){const b=a.mh.zk;b&&b.appendChild(a.oh)},KWa=function(a){a.oh.children[0]?.remove();var b=a.mh,c;if(!(c=b.dragIndicator)){if(!b.Av){const {url:d,scaledSize:e}=(new IR).mh;b.Av=new Image(e.width,e.height);b.Av.src=d;b.Av.alt=""}c=b.Av}a.oh.appendChild(c); jS(a)},OWa=function(a){if(!a.mh.CA){a.nh=new _.jN((c,d)=>{var e=a.mh;e.ti&&_.Tn(e.ti,"panbynow",c,d)});_.DM(a.nh,!0);var b=NWa(a.mh);_.CM(a.nh,b);a.nh.ph=a.qh}},PWa=function(a,b){gS(a);a.qh=!1;a.nh&&(a.nh.ph=!1);a.rh=a.mh.fo();a.wh=_.ZL(b)},QWa=function(a,b){var c=_.ZL(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.TC(b)}},RWa=function(a,b){a.rh=a.mh.fo();a.yh=a.mh.position;a.wh=_.ZL(b); a.ph=!0;OWa(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)},SWa=function(a){a.qh&&(a.rh=a.mh.fo())},lS=function(a){_.ny!==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);JWa(a);a.nh&&(a.nh.release(),a.nh=null)},gS=function(a){const b=a.mh.Dp;b.removeEventListener("keydown",a.Vh);b.removeEventListener("keyup",a.Yh);b.removeEventListener("blur",a.Oh)},TWa=function(a){if(a.zh.size===0)a.xh=0;else{var {deltaX:b,deltaY:c}=IWa(a.zh),d=1;_.hM(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.TC(e);a.xh=window.setTimeout(()=> {TWa(a)},10)}},JWa=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}`;UWa(a.mh)},EWa=function(a,b){a.FA=b;if(a.Zu){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}, NWa=function(a){return a.ti?a.ti.get("pixelBounds"):null},hS=function(a,b,c){_.Tn(a,b,new _.OB(a.Qp,c,a.jw?new _.Go(a.jw.Sh,a.jw.Th):null))},kS=function(a){_.Tn(a,"REMOVE_COLLISION")},UWa=function(a){a.style.cursor=a.Gj?MWa(a.Gj,a.bw):a.bw?"pointer":""},mS=function(a,b=!1){bS(a)&&(a.ti&&dVa(a.ti.Hh,a),_.Tn(a,"UPDATE_MARKER_COLLISION"),b&&a.yx&&_.Tn(a,"UPDATE_BASEMAP_COLLISION"))},VWa=function(a){a.aq.then(()=>{_.Pr(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},WWa=function(a){if(a.En.get("isOpen")){var {width:b}= a.getBoundingClientRect();a.En.set("anchorPoint",new _.Go(b?b/2:0,0))}},nS=function(a){a.style.pointerEvents=a.Py?"none":a.MF?"auto":""},oS=function(a){a.xn=a.bw||!!a.Zu},XWa=function(a,b=!1){if(a.Ys||!a.al)a.En.set("pixelPosition",null);else if(a.En.get("isOpen"))if(b)requestAnimationFrame(()=>{const {offsetX:c,offsetY:d}=FR(a.Vx);a.En.set("pixelPosition",new _.Go(c,d))});else{const {offsetX:c,offsetY:d}=FR(a.Vx);a.En.set("pixelPosition",new _.Go(c,d))}},YWa=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.Qp){a.gmpDraggable||a.focus();hS(a,"click",b);if(a.gmpClickable||_.Fn(a,"gmp-click"))c=new pS,_.Tn(a,"gmp-click",c),a.dispatchEvent(c);a.ki.th(b)}},ZWa=function(a){!a.wj&&a.map&&a.ti&&(a.YC=!0,a.wj=_.oy(a,{ml:({event:b,Dq:c})=>{a.MF?(_.dx(b.mh),b.button===3||c||YWa(a,b.mh)):a===b.mh.target||a.Py||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), a.ki.wh(a.map))}}),a.UA=_.uma({draggable:a.wF,NE:new _.eC(a.map,"gestureHandling"),vl:a.ti.qm}),_.ow(a.UA,a.lF),a.YC=!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)&&_.yn(_.dq(a,"AdvancedMarkerElement is displaying empty text content. If you want a pin to appear, make sure to remove any whitespace between the tags.")),[...a.childNodes]):a.jl&&a.jl.contains(a.nm)?[a.nm]: []},$Wa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Jp(b),b>0||b<0))throw a.ki.xh(window),_.Om("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},rS=function(a){if(a.Lk){const b=_.Da(a.Lk),c=dS.get(b);c&&(c.ph.delete(a),c.isEmpty()&&(c.dispose(),dS.delete(b)));cS&&cS.unobserve(a.targetElement);_.Tn(a,"REMOVE_FOCUS");_.Tn(a,"REMOVE_COLLISION");a.Mh&&(a.Jk&&(a.Mh.Ol(a.Jk),a.Jk=null),a.Mh=null);a.Gj&&lS(a.Gj);a.rE?.remove();a.MH?.remove();a.HG?.remove();a.iG?.remove();a.UA?.removeListener(a.lF); a.wj&&(a.wj.remove(),a.wj=null);a.En.set("map",null);a.yx=null;a.ti=null;a.Lk=null;a.sw=!0}},sS=function(a){if(a.ti&&!a.Ll){var b=a.ti.Bh;b&&(a.xn&&a.al&&!a.Vo?b.Hh(a):_.Tn(a,"REMOVE_FOCUS"))}},bXa=function(a){var b=a.ti.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.Ts).includes(b.mapTypeId));a.yx=a.OF&&!b;if(!a.Op||a.position)a.yx?GWa(a.map):aXa(a)},cXa=function(a){if(!a.Op){var b=a.ti.mh;b.TB.then(()=>{const c=_.hq(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.ti&&a.ti.ei();for(const d of c.mh)b.log(d); a.ki.uh(a.map);a.dispose()}})}},dXa=function(a){a.ki.Ch(a.map);a.ki.ph(a.map,a.Py);if(a.bw){const b=_.Fn(a,"gmp-click");a.ki.nh(a.map,b)}a.gmpDraggable&&a.ki.qh(a.map);a.title&&a.ki.rh(a.map);a.zIndex!==null&&a.ki.sh(a.map);a.Xl()>0&&a.ki.mh(a.map);a.ki.oh(a.map,a.collisionBehavior)},tS=function(a,b){a.Gj&&SWa(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")||_.vz(_.uz(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.al=b;sS(a)},aXa=function(a){var b=nVa(a.Lk,a.Qp);a.Jk?a.Jk.setPosition(b,a.Xl()):a.Mh&&(b=new _.lN(a.Mh.tk,a,b,a.Mh,null,a.Xl(),a.HK),a.Mh.Bj(b),a.Jk=b)};_.Go.prototype.Wy=_.da(14,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var QVa=["click","dblclick","rightclick","contextmenu"],eXa=class extends _.Xn{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 _.Go(b,c)}else b=null; a.call(this,"position",b);this.mh=!1}}},fXa=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.Su(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.widtha.bottom||this.mh[1]+this.heighta,["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 LVa={[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,Wy:20,ln:1,zH:!1},icon:new uS([{time:0,translate:[0,0],qn:"ease-in"},{time:1, translate:[0,-20],qn:"ease-out"}])},[4]:{options:{duration:500,Wy:20,ln:1,zH:!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 _.Ko(26,37),origin:new _.Go(0,0),anchor:new _.Go(13,37),labelOrigin:new _.Go(13,14)};this.nh={url:_.hs("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.Ko(26,37),origin:new _.Go(0,0),anchor:new _.Go(13,37),labelOrigin:new _.Go(13,14)};this.mh={url:_.hs("api-3/images/drag-cross",!0),scaledSize:new _.Ko(13,11),origin:new _.Go(0,0),anchor:new _.Go(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 gXa=class extends _.Xn{constructor(a,b){super();this.nh=a;this.mh=b;vS||(vS=new IR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.vz(_.uz(),this.oh,this,this)}oh(){const a=this.get("modelIcon");var b=this.get("modelLabel");vVa(this,"viewIcon",a||b&&vS.nh||vS.icon);vVa(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 hXa=class extends _.Xn{constructor(){super();this.nh=!1;this.mh=wVa(this);this.set("shouldRender",this.mh)}changed(){if(!this.nh){var a=wVa(this);this.mh!==a&&(this.mh=a,this.nh=!0,this.set("shouldRender",this.mh),this.nh=!1)}}};var aWa=class extends _.Xn{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 HVa=class{constructor(a,b,c,d,e){this.wm=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 _.vq(this.rh,0,this);this.oh=e;this.wm=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;_.wq(this.nh)}setLabel(a){this.label=a;_.wq(this.nh)}setVisible(a){this.visible=a;_.wq(this.nh)}setZIndex(a){this.zIndex=a;_.wq(this.nh)}release(){this.wm=null;JR(this)}rh(){if(this.wm&&this.label&&this.visible!==!1){var a=this.wm.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&&_.xx(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||_.yx("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 _.Ko(e,f);b.equals(this.qh)||(this.qh=b,this.oh(b))}_.eJ(c,_.vm(this.opacity,1));_.zx(a,this.zIndex)}else JR(this)}};var CVa=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;_.Nn(this.element,"webkitAnimationEnd",()=>{this.nh=!0;_.Tn(this,"done")});yVa(this.element,rVa(this.animation),this.options)}cancel(){this.mh&&(this.mh.remove(),this.mh=null);yVa(this.element,null,{});_.Tn(this,"done")}stop(){this.nh||(this.mh=_.Nn(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var KR=[],LR=null,DVa=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(zVa,10));this.startTime=Date.now();this.tick()}cancel(){this.mh||(this.mh=!0,BVa(this,1),_.Tn(this,"done"))}stop(){this.mh||(this.ln=1)}tick(){if(!this.mh){var a=Date.now();BVa(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 iXa=_.ra.DEF_DEBUG_MARKERS,wS=class extends _.Xn{constructor(a,b,c){super();this.qh=this.mh=null;this.Vh=[];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.rq=null;this.rh=new _.vq(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.sm(e)&&e<.1&&!this.Ll)PR(this);else{GVa(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")||"",n=k;n||(n=(n=this.getLabel())?n.text:"");if(e||h||n){var p=!e&&!h&&!k,r=DR(f),t=TR(f),v=this.get("shape"),w=ER(f),y={};if(_.Bx())f=w.width,w=w.height,r=new _.Ko(f+16,w+16),f={url:_.LB,size:r,anchor:t?new _.Go(t.x+8,t.y+8):new _.Go(Math.round(f/2)+8,w+8),scaledSize:r};else{const D=f.scaledSize||w;(_.Jq.nh||_.Jq.mh)&&v&&(y.shape=v,w=D);if(!r||v)f={url:_.LB,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=_.tx(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");iXa&&(y.dataset.debugMarkerImage=g);y=p||y;y.title=k;n&&this.vq().setAttribute("aria-label",n);this.Yw();h&&!this.sh&&(g=this.sh=new _.hHa(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=[_.Sn(g,"dragstart",this),_.Sn(g,"drag",this),_.Sn(g,"dragend",this),_.Sn(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.sh.set("draggableCursor",g):y.style.cursor=e?g:"";OVa(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&&_.Ix(this.ph),this.ph=null);this.elements=[this.mh,this.ph, this.targetElement];KVa(this);for(e=0;e{_.xq(this.rh)})];this.getPosition=_.xo("position");this.getPanes=_.xo("panes");this.getVisible=_.xo("visible");this.getIcon=_.xo("icon");this.getLabel=_.xo("label")}KG(){}get xn(){return this.Bh}set xn(a){this.Bh!==a&&(this.Bh=a,_.Tn(this,"UPDATE_FOCUS"))}get Ll(){return this.get("dragging")}panes_changed(){PR(this);_.wq(this.rh)}kp(a){this.set("position",a&&new _.Go(a.Sh,a.Th))}yt(){this.unbindAll(); this.set("panes",null);this.oh&&this.oh.stop();this.uh&&(_.Gn(this.uh),this.uh=null);this.oh=null;NR(this.Jh);this.Jh=[];PR(this);_.Tn(this,"RELEASED")}Fh(){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&&_.FI(a.coords,b.coords))}a&&(this.Yh=QR(this),this.ei=this.getDraggable(),this.Ph=this.get("shape"),OR(this),_.wq(this.rh))}nh(){_.wq(this.rh)}position_changed(){this.Eh?_.xq(this.rh):_.wq(this.rh)}vq(){return this.targetElement}Yw(){const a= this.vq();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")}}Dy(a){_.Tn(this,"click",a);_.N(window,171149)}Gt(){}Rs(a){_.dx(a);_.Tn(this,"click",a);_.N(window,171150)}Cy(){}getDraggable(){return!!this.get("draggable")}oi(){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")?MVa(this):(this.set("animating",!1),this.oh&&this.oh.stop())}LF(a){const b=this.get("markerPosition");return this.rq&&b&&this.rq.size?jVa(a,this.targetElement):!1}};_.z=wS.prototype;_.z.shape_changed=wS.prototype.Fh;_.z.clickable_changed=wS.prototype.Fh;_.z.draggable_changed=wS.prototype.Fh;_.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 UVa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),eWa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.nh=b;this.Mh=e;this.Ah=f;this.ph=g;this.xh=!0;this.yh=this.zh=null;this.rh=[];this.wh=b instanceof _.mo;f=UR(this);b=this.wh&&f?_.Kx(f,b.getProjection()):null;this.mh=new wS(d,!!this.wh,h=>{this.mh.rq=a.__gm.rq={...a.__gm.rq,PQ:h};a.__gm.ky&&a.__gm.ky()});_.En(this.mh,"RELEASED",()=>{var h=this.mh;if(this.ph&&this.ph.has(h)){({hF: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,hF:[]}),this.Ah.Ah(this.mh),VR(this,this.mh),RVa(this,this.mh));(this.qh=this.wh?new _.lN(e.tk,this.mh,b,e,()=>{if(this.mh.get("dragging")&&!this.marker.get("place")){var h=this.qh.getPosition();h&&(h=_.Jr(h,this.nh.get("projection")),this.xh=!1,this.marker.set("position",h),this.xh=!0)}}):null)&&e.Bj(this.qh);this.sh=new gXa(c,(h,k,n)=>{this.mh.rq= a.__gm.rq={...a.__gm.rq,size:h,anchor:k,labelOrigin:n};a.__gm.ky&&a.__gm.ky()});this.oh=this.wh?null:new _.$M;this.th=this.wh?null:new hXa;this.uh=new _.Xn;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);SVa(this);TVa(this);VVa(this);this.wh?(WVa(this),XVa(this),ZVa(this)):($Va(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")),bWa(this))}dispose(){this.mh.set("animation",null);this.mh.yt();this.Mh&&this.qh?this.Mh.Ol(this.qh):this.mh.yt();this.th&&this.th.unbindAll();this.oh&&this.oh.unbindAll();this.sh.unbindAll();this.uh.unbindAll();this.rh.forEach(_.Gn);this.rh.length=0}};var aS=class{constructor(a,b,c,d){this.div=a;this.yj=b;this.mh=c;this.fi=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.Pq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=YR(c),e=this.fi.size;b.width=Math.ceil(e.Sh*d);b.height=Math.ceil(e.Th*d);b.style.width=_.Bm(e.Sh);b.style.height=_.Bm(e.Th);a.appendChild(b);this.context=c}return this.context}cE(a){const b=gWa(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=fWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(n=>{k.globalAlpha=_.vm(n.opacity,1);k.drawImage(n.image,n.Cz,n.Dz,n.Bz,n.vz,Math.round(n.dx*d),Math.round(n.dy*d),n.vr*d,n.rr*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};aS.prototype.OM=aS.prototype.cE;var pWa=class{constructor(){this.mh=_.VI().mh}load(a,b){return this.mh.load(new _.uL(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 _.Go(e.width/2,e.height),h=f.width/d.width,k=f.height/d.height,n=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;n*h+e.width>f.width&&(t=d.width-n*h,v=f.width);p*k+e.height>f.height&&(w=d.height-p*k,y=f.height);b({image:c,Cz:n,Dz:p,Bz:t,vz:w,dx:r, dy:g,vr:v,rr:y})}else b(null)})}cancel(a){this.mh.cancel(a)}};var rWa=class{constructor(a,b,c,d){this.mh=b;this.nh=c;this.zIndex=40;this.oh=new _.mN(a,d,c)}Et(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}Mt(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.gk;if(a==="mouseout")this.mh.set("cursor",""),this.mh.set("title",null);else if(a==="mouseover"){var e=d.pw;this.mh.set("cursor",e.cursor);(e=e.title)&&this.mh.set("title",e)}let f;d&&a!=="mouseout"?f=d.pw.latLng:f=b.latLng;a=== "dblclick"&&_.Cn(b.domEvent);_.Tn(c,a,new _.OB(f,b.domEvent))}};var sWa=class extends _.wr{constructor(a,b,c,d,e,f,g){super();this.tiles=a;this.qh=d;this.oh=c;this.nh=e;this.ph=f;this.fi=g||_.ZB;b.mh=h=>{kWa(this,h)};b.onRemove=h=>{lWa(this,h)};b.forEach(h=>{kWa(this,h)})}mh(){return{fi:this.fi,rm:2,tl:this.tl.bind(this)}}tl(a,b={}){const c=document.createElement("div"),d=this.fi.size;c.style.width=`${d.Sh}px`;c.style.height=`${d.Th}px`;c.style.overflow="hidden";a={div:c,zoom:a.ii,dj:new _.Go(a.Zh,a.ai),Zp:{},yj:new _.tr};c.dl=a;mWa(this,a);let e=!1;return{Nj:()=> c,jn:()=>e,loaded:new Promise(f=>{_.Pn(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.dl;c.dl=null;nWa(this,f);c.textContent="";b.Yj&&b.Yj()}}}};var tWa=class{constructor(a,b,c){this.nh=b;this.timeout=null;this.mh=!1;this.oh=0;this.yj=a;const d=this;a.mh=e=>{d.Pq(e,!0)};a.onRemove=e=>{d.onRemove(e)};this.div=c;a.getSize()?(this.mh=!0,this.fp()):queueMicrotask(()=>{_.Tn(c,"load")})}onRemove(a){this.Pq(a,!1)}Pq(a,b){this.oh++<4?b?this.nh.cE(a):this.nh.OM(a):this.mh=!0;this.timeout||(this.timeout=_.XI(this.fp.bind(this)))}fp(){this.mh&&hWa(this.nh);this.mh=!1;this.timeout=null;this.oh=0;queueMicrotask(()=>{_.Tn(this.div,"load")})}};var qWa=class{constructor(a,b,c,d,e){var f=oWa;this.markers=a;this.nh=b;this.mh=c;this.qh=f;this.ph=d;this.oh=e;this.markers.mh=g=>{this.Bu(g)};this.markers.onRemove=g=>{this.Bw(g)}}Bu(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.Iy={JA:a,latLng:b,zIndex:c,opacity:d,yj:{}};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=iVa(()=>{e===a.__gm.Iy&&(e.qu||e.kH)&&this.um(a,e,g,f)}); g.url?this.ph.load(g,k=>{e.qu=k;h()}):(e.kH=this.oh(g),h())}Bw(a){this.nh.remove(a.__gm.Iy);a.__gm.Iy=null}um(a,b,c,d){if(b.qu){c=c.size;var e=a.get("anchorPoint");if(!e||e.mh)e=new _.Go(b.qu.dx+c.width/2,b.qu.dy),e.mh=!0,a.set("anchorPoint",e)}else c=b.kH.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";_.zq(this.nh,b)}};var $R=new Map;var jXa=class{constructor(a,b,c,d){this.Dv={};this.Pt=0;this.Kw=!0;const e=this;this.eD=b;this.gu=c;this.iF=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.mM=function(g){g in f&&(delete this.changed,e.Dv[_.Wn(this)]=this,wWa(e))};a.mh=g=>{e.Bu(g)};a.onRemove=g=>{e.Bw(g)};a=a.elements;for(const g of Object.values(a))this.Bu(g)}Bu(a){this.Dv[_.Wn(a)]= a;wWa(this)}Bw(a){delete a.changed;delete this.Dv[_.Wn(a)];this.eD.remove(a);this.gu.remove(a)}};var pS=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var kXa=class{Ch(){}zh(){}nh(){}oh(){}ph(){}uh(){}xh(){}sh(){}qh(){}rh(){}wh(){}yh(){}mh(){}Ah(){}Bh(){}Fh(){}Eh(){}th(){}};var lXa=(0,_.Yi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var AWa=eVa("visible-gmp-advanced-markers"),zWa=eVa("hidden-gmp-advanced-markers"),DWa=class{constructor(a){this.ki=mXa;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.Wn=`maps-aria-${_.lo()}`;this.oh=document.createElement("span");this.oh.id=this.Wn;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",AWa);this.rh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",zWa);this.mh.appendChild(b);this.nh=document.createElement("div");this.nh.append(this.rh,this.mh);const c=a.__gm;this.yh=c.sq;this.xh=new Promise(d=> {c.oh.then(e=>{this.map&&(e&&(this.sp=xWa(this,a)),this.wh=!0);d()})});_.Ru(lXa,this.map.getDiv());Promise.all([c.nh,this.xh]).then(([{wm: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=_.Vq(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.ph.values()){a:{var e=h.HL;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.qm(f.lng(),-180,180);var g=_.qm(e.lng,-180,180);f>0&&g f+180&&(g-=360);e=new _.Jp({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.kp(null,d);continue}e=a.fromLatLngAltitude(e);f=Array.from(e);e=g=[0,0,0];const k=e[0],n=e[1],p=e[2],r=1/(f[3]*k+f[7]*n+f[11]*p+f[15]);e[0]=(f[0]*k+f[4]*n+f[8]*p+f[12])*r;e[1]=(f[1]*k+f[5]*n+f[9]*p+f[13])*r;e[2]=(f[2]*k+f[6]*n+f[10]*p+f[14])*r;const {yL:t,fO:v}={yL:f[14]<0&&f[15]<0,fO:g};t?h.kp(null,d):h.kp({Sh:GR(v[0]/2*b),Th:GR(-v[1]/2*c)},d,{Sh:b,Th:c})}}}};var dS=new Map,mXa=new class extends kXa{Ch(a){a&&a&&_.N(a,181191)}zh(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&a&&_.N(a,159713);b==="RASTER"?a&&_.N(a,157416):b==="VECTOR"&&a&&_.N(a,157417)}}nh(a,b=!1){a&&_.N(a,158896);b&&a&&_.N(a,185214)}oh(a,b){b&&(b!=="REQUIRED"&&a&&_.N(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?a&&_.N(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&a&&_.N(a,160099))}ph(a,b){b?a&&_.N(a,159404):a&&_.N(a,159405)}uh(a){a&&_.N(a,159484)}xh(a){a&&_.N(a,160438)}sh(a){a&& _.N(a,159521)}qh(a){a&&_.N(a,160103)}rh(a){a&&_.N(a,159805)}wh(a){a&&_.N(a,159490)}yh(a){a&&_.N(a,159812)}mh(a){a&&_.N(a,159609)}Ah(a){a&&_.N(a,160122)}Bh(a){a&&_.N(a,160106)}Fh(a){a&&_.N(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){a&&_.N(a,e);break}}th(a){window&&_.N(window,a instanceof KeyboardEvent?171152:171153)}},nXa=new kXa,cS=null;var oXa=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.Ft(b)};this.Ph=b=>{b.touches.length===1&&this.Ft(b)};this.Jh=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Bh=b=>{if(this.qh||this.th||oVa(b,this.Eh))this.th=!0};a=this.mh.Dp;_.ny!==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.Jh);this.Ah=b=>{b.preventDefault();b.stopImmediatePropagation();this.qh?PWa(this,b):this.ph?(QWa(this,b),hS(this.mh,"drag",b)):(RWa(this,b),b=this.mh,b.ki.Fh(b.map))};this.sh=b=>{this.uh&&b.timeStamp-this.uh>=500&&(!this.ph||this.qh)?(this.qh?PWa(this,b):(RWa(this,b),b=this.mh,b.ki.Bh(b.map),b.Op&&_.Tn(b,"longpressdragstart")),this.th=!0):(this.ph&&(this.qh||this.th||oVa(b,this.Eh))&&(this.th=!0),this.qh&&eS(this,b),b.type==="touchend"&&iS(this, !1),this.ph?(b.stopImmediatePropagation(),QWa(this,b),lS(this),mS(this.mh,!0),hS(this.mh,"dragend",b)):lS(this))};this.Vh=b=>{this.ei(b)};this.Yh=b=>{this.ci(b)};this.Oh=b=>{fS(this,b)};this.ei=b=>{if(b.altKey&&(_.xz(b)||b.key===_.zpa))fS(this,b);else if(!b.altKey&&_.xz(b))this.th=!0,eS(this,b);else if(_.yz(b)||_.Az(b)||_.zz(b)||_.Bz(b))b.preventDefault(),this.zh.add(b.key),this.xh||(this.Hh=new _.zM(100),TWa(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=nVa(c.Lk,c.Qp);d&&c.Mh.LH(b,d)}};this.ci=b=>{(_.yz(b)||_.Az(b)||_.zz(b)||_.Bz(b))&&this.zh.delete(b.key)};this.Ch=()=>{iS(this,!0)};this.Fh=()=>{this.ph||iS(this,!1)};this.oh=document.createElement("div");LWa(this);this.th=!1;this.zh=new Set}Jz(a){this.nh&&_.AM(this.nh,a)}Ft(a){this.th=!1;if(this.mh.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.mh.Dp;b.focus();const c=document;_.ny!==2||a.preventDefault();a.stopImmediatePropagation();this.uh=a.timeStamp; _.ny!==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=_.ZL(a));b.style.cursor=_.Fz}}Dy(){this.ph||(this.th=!1)}Gt(a){if(this.mh.gmpDraggable&&!this.qh&&!this.ph){var b=this.mh.Dp;b.addEventListener("keydown",this.Vh);b.addEventListener("keyup", this.Yh);b.addEventListener("blur",this.Oh);this.rh=this.mh.fo();this.yh=this.mh.position;this.qh=this.ph=!0;OWa(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.ki.Ah(a.map)}}Cy(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;_.ny!==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.Jh);a.removeEventListener("pointerenter",this.Ch);a.removeEventListener("pointerleave",this.Fh);a.removeEventListener("focus",this.Ch);a.removeEventListener("blur",this.Fh);this.oh.remove()}};var xS=!1,yS=class extends _.$t{set anchorTop(a){this.uL=this.Kh("anchorTop",_.at,a);tS(this,this.al);mS(this,!0)}get anchorTop(){return this.uL}set anchorLeft(a){this.tL=this.Kh("anchorLeft",_.at,a);tS(this,this.al);mS(this,!0)}get anchorLeft(){return this.tL}constructor(a={}){super(a);this.Av=this.wj=this.Gj=null;this.FA="";this.Nl=this.jw=this.MD=this.Mh=this.Jk=this.jl=null;this.JD=!1;this.Nz=null;this.vC=this.OF=this.Oz=this.LD=!1;this.ti=this.yx=this.iG=this.HG=this.MH=this.rE=null;this.ID= void 0;this.Zu=this.KD=!1;this.wF=_.Wo(!1);this.Qp=this.av=this.UA=null;this.js="";this.Lk=this.Pz=void 0;this.rA=this.sA=!0;this.DB=this.YC=!1;this.sw=!0;document.createElement("div");VWa(this);this.targetElement=this;this.Dp=this;this.Op=xS;Object.defineProperties(this,{Op:{value:xS,writable:!1}});this.ki=this.Op?nXa:mXa;this.addEventListener("focus",e=>{this.iB(e)},!0);this.addEventListener("marker-resize",()=>{WWa(this);mS(this,!0)});this.nm=new _.kC;this.Fj=document.createElement("div");_.Pr(this.Fj, "content-container");this.jl=document.createElement("slot");this.jl.addEventListener("slotchange",()=>{this.Ss()});this.Fj.appendChild(this.jl);this.jl.prepend(this.nm);this.Ss();Promise.resolve().then(()=>{nS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.Vx=getComputedStyle(this);this.HK=(e,f,g)=>this.qy(e,f,g);const b=()=>{nS(this);oS(this);const e=_.Fn(this,"gmp-click");this.ki.nh(this.map,e)},c=()=>{nS(this);oS(this)},d=["click"];d.push("gmp-click"); for(const e of d)hVa(this,e,b),gVa(this,e,c);this.En=new _.Xn;this.En.addListener("isopen_changed",()=>{XWa(this);WWa(this)});this.lF=e=>{this.wj?.Wr(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.CA=!!a.CA;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.YC||_.yn(_.dq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.yn(_.dq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.En(this,a,b)}iB(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.ki.yh(this.map),a=[document.body,..._.Dx(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{if(this.xn){var b=()=>{this.isConnected&&this.al?setTimeout(()=>{this.focus();a()}, 0):_.vz(_.uz(),b)};b()}})}Rs(){}Cy(a){this.Gj&&(this.Gj.Cy(a,!this.Op),this.Op&&_.Tn(this,"dragcancel"))}get collisionBehavior(){return this.ID}set collisionBehavior(a){a=this.Kh("collisionBehavior",_.$m(_.Tm(_.qt)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.ID=a,this.ki.oh(this.map,this.ID),this.map&&(!bS(this)&&this.ti?cVa(this.ti.Hh,this):mS(this,!0)))}get element(){return this}get Py(){return qS(this)[0]===this.nm}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.Kh("content",_.$m(_.Ym([_.Sm(Node,"Node"),_.Xm(_.Rm)])),a)||this.nm;const b=qS(this);if(b.length!==1||b[0]!==a)a!==this.nm?this.replaceChildren(a):a===this.nm&&this.replaceChildren(),this.Ss()}Ss(){const a=()=>{this.jl&&!this.jl.contains(this.nm)&&this.jl.prepend(this.nm);this.Nl=null;this.Gj&&jS(this.Gj);mS(this,!0);nS(this)};this.ki.ph(this.map,this.Py);this.aq.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.KD}set gmpClickable(a){a= this.Kh("gmpClickable",_.bt,a)||!1;this.KD!==a&&(this.KD=a,nS(this),oS(this))}get gmpDraggable(){return this.Zu}set gmpDraggable(a){a=this.Kh("gmpDraggable",_.bt,a)||!1;$Wa(this,this.position,a);this.wF.set(a);this.Zu!==a&&((this.Zu=a)?(this.ki.qh(this.map),this.setAttribute("aria-grabbed","false"),EWa(this,this.FA),this.Gj=new oXa(this),KWa(this.Gj)):(this.removeAttribute("aria-grabbed"),this.KG(this.FA),this.Gj.dispose(),this.Gj=null),nS(this),oS(this))}KG(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.Lk}set map(a){this.setMap(a);this.Lk&&(a=_.no(this.Lk))&&this.parentElement!==a&&a.append(this)}setMap(a){this.Lk!==a&&(a=this.Kh("map",_.$m(_.Sm(_.mo,"MapsApiMap")),a),a instanceof _.mo&&(a=a.pN),a&&this.isConnected?rS(this):this.dispose(),this.Lk=a,this.En.set("map",this.Lk),this.Lk instanceof _.mo?(this.Lk&&FWa(this,this.Lk),this.ti= this.Lk.__gm,ZWa(this),this.rE=this.Lk.addListener("bounds_changed",()=>{sS(this)}),this.MH=this.Lk.addListener("zoom_changed",()=>{sS(this)}),this.HG=this.Lk.addListener("projection_changed",()=>{sS(this)}),this.iG=this.Lk.addListener("maptypeid_changed",()=>{bXa(this)}),Promise.all([this.ti.nh,this.ti.oh]).then(([b,c])=>{this.Lk===b.map&&(this.OF=c,this.ki.zh(b.map),c=this.ti.mh,this.Op||_.hq(c,"ADVANCED_MARKERS").isAvailable)&&(this.Mh=b.Mh,bXa(this))}),cXa(this),dXa(this)):this.ti=null)}get position(){return this.av}set position(a){a= (a=this.Kh("position",_.$m(_.Fr),a)||null)&&new _.Jp(a);const b=this.av;$Wa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Jp(b,!0);const d=new _.Jp(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Qp=(this.av=a)?new _.nn(a):null,this.vC=!0,a||tS(this,null),this.En.set("position",this.Qp),this.yx?GWa(this.map):aXa(this),this.Xl()>0&&this.ki.mh(this.map),_.Zp(this,"position",b))}get HL(){return this.av}get title(){return this.js}set title(a){a=this.Kh("title",_.Xr,a);const b=this.js;a!==this.title&&(this.js= a,this.title&&this.ki.rh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.Yw(),_.Zp(this,"title",b))}get zIndex(){return this.Pz}set zIndex(a){a=this.Kh("zIndex",_.$m(_.Ws),a);this.Pz=a==null?null:a;this.style.zIndex=this.Pz==null?"":`${this.Pz}`;this.zIndex!==null&&this.ki.sh(this.map);mS(this)}get bw(){const a=_.Fn(this,"click"),b=_.Fn(this,"gmp-click");return a||b|| !!this.gmpClickable}get MF(){return this.bw||!!this.gmpDraggable}get xn(){return this.JD}set xn(a){UWa(this);this.JD!==a&&(this.JD=a,sS(this))}get Ys(){return this.Oz}set Ys(a){if(a!==this.Oz){if(this.Oz=a)this.rA=this.sA=!1,kS(this);this.map&&HWa(this,this.map)}}get Vo(){return this.Nz}set Vo(a){a!==this.Nz&&(this.Nz=a,this.map&&HWa(this,this.map),sS(this),_.Tn(this,"UPDATE_BASEMAP_COLLISION"))}Tv(){if(!this.al)return null;if(!this.Nl)for(const c of qS(this)){var a=this.Vx;const {offset:d,size:e}= lVa(this,c);var b=FR(a);a=b.offsetY+d.y;b=b.offsetX+d.x;a=_.tp(b,a,b+e.width,a+e.height);this.Nl?this.Nl.extendByBounds(a):this.Nl=a}return this.Nl}get al(){return this.MD}set al(a){const b=this.MD==null&&!!a;this.MD=a;XWa(this,b)}Xl(){return this.av?this.av.altitude:0}qy(a,b,c){return this.Lk?(c=_.YDa(this.Lk.getProjection(),this.Qp,c))?a/c*Math.sin(b*Math.PI/180):0:0}kp(a,b,c){if(a){if(this.Gj){b=this.Gj;var d=b.mh;b=(d=d.ti?d.ti.sq:null)&&b.rh&&b.ph&&!b.qh?mVa(d,b.rh):null}else b=null;b&&(a=b); this.jw=a;b=this.Ys;this.Ys=!(!c||!(Math.abs(a.Sh)>c.Sh/2+512||Math.abs(a.Th)>c.Th/2+512));b&&this.Ys||(this.sw&&this.map&&(c=_.Da(this.map),(c=dS.get(c))&&BWa(c,this)),(new _.Go(a.Sh,a.Th)).equals(this.al)||(tS(this,new _.Go(a.Sh,a.Th)),this.Jz(this.vC)),this.vC=!1,this.rA=this.sA=!0)}else this.Ys=!0,this.jw=null,tS(this,null)}Jz(a){this.Nl=null;this.Gj&&this.Gj.nh&&this.Gj.Jz(this.Tv());mS(this,a)}Xm(a){this.LD!==a&&(this.LD=a,this.En.set("map",this.LD?this.map:null))}xy(){if(!bS(this)||this.Vo|| !qS(this).length)return null;var a=this.map.getProjection();if(!a)return null;a=a.fromLatLngToPoint(this.Qp);const b=[];for(const f of qS(this)){a:{var c=f;var d=this.al;var e=this.Vx;if(!d){d={size:new _.Ko(0,0),offset:new _.Go(0,0)};break a}const {size:k,offset:n}=lVa(this,c);c=FR(e);d={size:k,offset:new _.Go(c.offsetX-d.x+n.x,c.offsetY-d.y+n.y)}}const {size:g,offset:h}=d;d=new fXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}yt(){}vq(){return this}LF(a){return!this.position||this.Nz?!1: jVa(a,this)}Yw(){const a=this.vq();this.xn?a.setAttribute("role","button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Ll(){return this.Gj?this.Gj.Ll():!1}Tm(){tS(this,null);kS(this);this.sA&&this.Mh&&this.Jk&&(this.Mh.Ol(this.Jk),this.Jk=null);this.remove();this.sw=!0}dispose(){if(!this.DB){this.DB=!0;try{this.Lk&&(rS(this),this.Tm())}finally{this.DB=!1}}}TC(a){{const c=this.ti?.get("projectionController");if(this.ti&&a&&c){var b=this.ti.sq.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.Go(a.clientX- b.left,a.clientY-b.top))}else a=null}a&&(this.position=a)}fo(){var a=this.ti?.get("projectionController");if(!this.ti||!a||!this.Qp)return null;a=a.fromLatLngToContainerPixel(this.Qp);const b=this.ti.sq.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.zk.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 ."))}}disconnectedCallback(){!this.isConnected&& this.rA&&(this.map=null);this.sw=!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([_.nr({Ih:"anchor-top",type:String,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorTop",null); _.A([_.nr({Ih:"anchor-left",type:String,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorLeft",null);_.A([_.nr({Ih:"gmp-clickable",type:Boolean,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"gmpClickable",null);_.A([_.nr({li:_.Bt,lj:_.Qp,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"position",null); _.A([_.nr({li:{Ek:a=>a||"",sk:a=>a||null},Lh:!0}),_.B("design:type",String),_.B("design:paramtypes",[String])],yS.prototype,"title",null);var pXa=!1,qXa=class extends yS{constructor(a={}){super(a);if(!xS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.rp("gmp-internal-use-am",qXa);var zS={Marker:_.tt,CollisionBehavior:_.qt,Animation:_.wha,OJ:()=>{},oA:function(a,b,c){const d=_.cGa();if(b instanceof _.Xo)dWa(a,b,d);else{const e=new _.tr;dWa(e,b,d);const f=new _.tr;c||uWa(f,b,d);new jXa(a,f,e,c)}},BE:function(a={}){xS=!0;a=new qXa(a);xS=!1;return a},AdvancedMarkerElement:yS,PinElement:_.kC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:yS,PinElement:_.kC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0, PinView:void 0};_.Em(a);_.ra.google.maps.marker=a;pXa||(pXa=!0,_.rp("gmp-advanced-marker",yS))}};_.Fm(zS,["OJ","oA","BE","connectForExplicitThirdPartyLoad"]);_.Em(zS);_.Pl("marker",zS);});