google.maps.__gjsload__('marker', function(_){var OVa=function(a,b){const c=_.Ka(b);a.mh.set(c,b);a.nh.ri()},PVa=function(a,b){if(a.nh.has(b)){_.Qn(b,"UPDATE_BASEMAP_COLLISION");_.Qn(b,"UPDATE_MARKER_COLLISION");_.Qn(b,"REMOVE_COLLISION");a.nh.delete(b);var c=a.oh;const d=_.Ka(b);c.mh.has(d)&&(c.mh.delete(d),b.Vo=null,c.nh.ri());_.wca(a.mh,b)}},QVa=function(a,b){a.nh.has(b)||(a.nh.add(b),_.Mn(b,"UPDATE_BASEMAP_COLLISION",()=>{a.ph.add(b);a.qh.gq()}),_.Mn(b,"UPDATE_MARKER_COLLISION",()=>{a.qh.gq()}),_.Mn(b,"REMOVE_COLLISION",()=>{PVa(a,b)}),OVa(a.oh, b),_.vca(a.mh,b))},RVa=function(a){return`${_.Pm(a)}-internal-${a}`},SVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.bD)},TVa=function(a,b,c){return new _.Ln(a,`${b}_removed`,c,0,!1)},UVa=function(a,b,c){return new _.Ln(a,`${b}_added`,c,0,!1)},AR=function(a){return a?_.or.has(a)?_.or.get(a):a instanceof ShadowRoot?AR(a.host):AR(a.parentNode):null},VVa=function(a){var b=1;return()=>{--b||a()}},BR=function(a){return a instanceof _.rC},CR=function(a){return BR(a)?a.getSize(): a.size},WVa=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},XVa=function(a,b){_.VI().mh.load(new _.uL(a),c=>{b(c&&c.size)})},YVa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Oo(b.x-a.x,b.y-a.y),size:new _.So(b.width,b.height)}},DR=function(a){a=new DOMMatrixReadOnly(a.transform); return{offsetX:a.m41,offsetY:a.m42}},ER=function(a){const b=window.devicePixelRatio||1;return Math.round(a*b)/b},ZVa=function(a,{clientX:b,clientY:c}){const {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{Th:ER(b-(e+g/2)),Uh:ER(c-(f+d/2))}},$Va=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.Ox(b,a)},aWa=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},bWa=function(a,b){const c=[]; c.push("@-webkit-keyframes ",b," {\n");_.Ob(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.sn,"; ");c.push("}\n")});c.push("}\n");return c.join("")},cWa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.N(a,174113);eWa(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 GR;(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)):BR(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)}},hWa=function(a,b,c){gWa(a,c,d=>{a.set(b,d);const e=d?CR(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:_.Dm(d.color,"#000000"),fontWeight:_.Dm(d.fontWeight,""),fontSize:_.Dm(d.fontSize,"14px"),fontFamily:_.Dm(d.fontFamily, "Roboto,Arial,sans-serif"),className:d.className||""}:null)})},gWa=function(a,b,c){b?BR(b)?c(b):b.path!=null?c(a.nh(b)):(_.Fm(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),XVa(b.url,d=>{b.size=d||new _.So(24,24);c(b)}))):c(null)},iWa=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||_.np,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.nn}`;a.style.webkitAnimationName=b||""})},lWa=function(){const a=[];for(let b=0;b{}});a.mh=PR(a,b,a.mh,c,e);rWa(a,c,QR(a))}},wWa=function(a){var b=a.getLabel();if(b){if(!a.qh){const e=a.qh=new tWa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.si);a.Vh=[_.Mn(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.Mn(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}), _.Mn(a,"panes_changed",()=>{var f=a.get("panes");e.xm=f;HR(e);e.nh.ri()}),_.Mn(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.mh,d=QR(a);c=uWa(a,b,d,KR(c)||_.np);d=CR(b);d=b.labelOrigin||new _.Oo(d.width/2,d.height/2);BR(b)&&(b=b.getSize().width,d=new _.Oo(b/2,b/2));jWa(a.qh,new _.Oo(c.x+d.x,c.y+d.y));a.qh.setZIndex(vWa(a));_.Cq(a.qh.nh)}}},yWa=function(a){if(!a.zh){a.oh&&(a.uh&&_.On(a.uh),a.oh.cancel(),a.oh=null);var b=a.get("animation");if(b=xWa[b]){var c=b.options; a.mh&&(a.zh=!0,a.set("animating",!0),b=qWa(a.mh,b.icon,c),a.oh=b,a.uh=_.Xn(b,"done",()=>{a.set("animating",!1);a.oh=null;a.set("animation",null)}))}}},LR=function(a){if(a)for(let b=0,c=a.length;b{a.Ah=!1;MR(a);_.Cq(a.rh)},0);_.fy(c);_.ao(a,"mouseup",c.mh)},nl:({event:c,Gq:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.hx(c.mh),c.button===3?d||c.button===3&&_.ao(a,"rightclick",c.mh):d?_.ao(a,"dblclick",c.mh):(_.ao(a,"click",c.mh),_.N(window,171150))},Au:c=>{_.gy(c);_.ao(a,"contextmenu",c.mh)}}),a.th=new _.UB(b,b,{ut(c){_.ao(a,"mouseout", c)},vt(c){_.ao(a,"mouseover",c)}}))},zWa=function(a,b,c,d){c=c||_.Cx("div",b);_.kr(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.fJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Qo(b);c.style.height=_.Ro(b);c.style.pointerEvents="none";c.style.userSelect="none";_.Xn(d,"changed",()=>{a.nh()});return c},SR=function(a){const b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},TR=function(a,b){a.ph&&a.ph.has(b)&&({marker:a}= a.ph.get(b),b.zn=BWa(a),b.zn&&(b=a.getMap())&&_.N(b,184438))},DWa=function(a,b){if(a.ph){var {mF:c,marker:d}=a.ph.get(b);for(const e of CWa)c.push(UVa(d,e,()=>{TR(a,b)})),c.push(TVa(d,e,()=>{!BWa(d)&&b.zn&&TR(a,b)}))}},EWa=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)},FWa=function(a){const b=a.nh.__gm;_.Mn(a.uh,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging", b.get("markerDragging")||a.marker.get("dragging"))},HWa=function(a){a.rh.push(_.$n(a.mh,"panbynow",a.nh.__gm));GWa.forEach(b=>{a.rh.push(_.Mn(a.mh,b,c=>{const d=a.wh?SR(a):a.marker.get("internalPosition");c=new _.VB(d,c,a.mh.get("position"));_.ao(a.marker,b,c)}))})},IWa=function(a){const b=()=>{a.marker.get("place")?a.mh.set("draggable",!1):a.mh.set("draggable",!!a.marker.get("draggable"))};a.rh.push(_.Mn(a.uh,"draggable_changed",b));a.rh.push(_.Mn(a.uh,"place_changed",b));b()},JWa=function(a){a.rh.push(_.Mn(a.nh, "projection_changed",()=>{UR(a)}));a.rh.push(_.Mn(a.uh,"position_changed",()=>{UR(a)}));a.rh.push(_.Mn(a.uh,"place_changed",()=>{UR(a)}))},LWa=function(a){a.rh.push(_.Mn(a.mh,"dragging_changed",()=>{if(a.mh.get("dragging"))a.zh=a.qh.ko(),a.zh&&_.DM(a.qh,a.zh);else{a.zh=null;a.yh=null;var b=a.qh.getPosition();if(b&&(b=_.Mr(b,a.nh.get("projection")),b=KWa(a,b))){const c=_.Ox(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(_.Mn(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.Nm(a.yh);b=_.Mr(b,a.nh.get("projection"));c=a.yh;var d=KWa(a,b);d&&(a.marker.get("place")||(a.xh=!1,a.marker.set("position",d),a.xh=!0),d.equals(b)||(b=_.Ox(d,a.nh.get("projection")),c=a.qh.ko(b)));c&&_.DM(a.qh,c)}}))},MWa=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)}},OWa=function(a){if(a.oh){const b=new NWa(a.nh instanceof _.kp);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")}},UR=function(a){if(a.xh){var b= SR(a);b&&a.qh.setPosition(_.Ox(b,a.nh.get("projection")))}},KWa=function(a,b){const c=a.nh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},BWa=function(a){return CWa.some(b=>SVa(a,b))},QWa=function(a,b,c){if(b instanceof _.uo){const d=b.__gm;Promise.all([d.nh,d.oh]).then(([{Mh:e},f])=>{PWa(a,b,c,e,f)})}else PWa(a,b,c,null)},PWa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var k=b instanceof _.uo;const n=k?h.__gm.Ur.map:h.__gm.Ur.streetView,p=n&&n.nh===b,r=p!==a.contains(h); n&&r&&(k?(h.__gm.Ur.map.dispose(),h.__gm.Ur.map=null):(h.__gm.Ur.streetView.dispose(),h.__gm.Ur.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.uo?(k=b.__gm,h.__gm.Ur.map=new RWa(h,b,c,_.uM(k,h),d,k.Bh,f)):h.__gm.Ur.streetView=new RWa(h,b,c,_.Qk,null,null,null),fWa(b,h,e))};_.Mn(a,"insert",g);_.Mn(a,"remove",g);a.forEach(g)},VR=function(a){return _.ks()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio|| 1)},SWa=function(a,b,c){a=a.mh;a.width=b;a.height=c;return a},TWa=function(a){const b=[];a.zj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},UWa=function(a){const b=TWa(a),c=a.getContext(),d=VR(c);a=a.fi.size;c.clearRect(0,0,Math.ceil(a.Th*d),Math.ceil(a.Uh*d));b.forEach(e=>{c.globalAlpha=_.Dm(e.opacity,1);c.drawImage(e.image,e.Fz,e.Gz,e.Ez,e.yz,Math.round(e.dx*d),Math.round(e.dy*d),e.zr*d,e.wr*d)})},VWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.zr g.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.sw;if(f.clickable===!1)continue;f=f.MA;if(VWa(a.x,a.y,d)){c=f;break}}c&&(b.jk=d);return c},XWa=function(a,b){if(!b.IB){b.IB=!0;var c=_.Lr(a.get("projection")),d=b.tu;if(d){d.dx<-64||d.dy<-64||d.dx+d.zr>64||d.dy+d.wr>64?(_.Eq(a.oh,b),d=a.nh.search(_.Ct)):(d=b.latLng,d=new _.Oo(d.lat(),d.lng()),b.jj=d,_.xM(a.ph,{jj:d,marker:b}),d=_.eGa(a.nh,d));for(let f=0,g=d.length;f{delete b.zj[c];d.fl.zj.remove(d)}))},ZWa=function(a,b){a.tiles[_.eo(b)]=b;var c={Zh:b.fj.x,ai:b.fj.y,ki:b.zoom};const d=_.Lr(a.get("projection"));var e=_.Xy(a.fi,c);e=new _.Oo(e.mh,e.nh);const {min:f,max:g}=_.BI(a.fi,c,64/a.fi.size.Th);c=_.Bp(f.mh,f.nh,g.mh,g.nh);_.hGa(c,d,e,(h,k)=>{h.xH=k;h.fl=b;b.aq[_.eo(h)]=h;_.vM(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.zj.remove(c);delete c.sw.zj[_.eo(c)]}),_.vm(b.aq,(c,d)=>{a.nh.remove(d)}))},WWa=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=_.LBa(a.fi,new _.ar(c.x, c.y),new _.ar(f.x,f.y),b.zoom);c.x=a.Zh*e.Th;c.y=a.ai*e.Uh;a=d.zIndex;_.Am(a)||(a=c.y);a=Math.round(a*1E3)+Number(_.eo(d))%1E3;f=d.tu;b={image:f.image,Fz:f.Fz,Gz:f.Gz,Ez:f.Ez,yz:f.yz,dx:f.dx+c.x,dy:f.dy+c.y,zr:f.zr,wr:f.wr,zIndex:a,opacity:d.opacity,fl:b,sw:d};return b.dx>e.Th||b.dy>e.Uh||b.dx+b.zr<0||b.dy+b.wr<0?null:b},aXa=function(a){return typeof a==="string"?(YR.has(a)||YR.set(a,{url:a}),YR.get(a)):a},gXa=function(a,b,c){const d=new _.xr,e=new _.xr,f=new bXa;new cXa(a,d,new GR,f,c);const g=_.xx(b.getDiv()).createElement("canvas"), h={};a=_.Bp(-100,-300,100,300);const k=new _.hN(a);a=_.Bp(-90,-180,90,180);const n=_.gGa(a,(w,y)=>w.marker===y.marker);let p=null,r=null;const t=new _.ip(null),v=b.__gm;v.nh.then(w=>{v.sh.register(new dXa(h,v,t,w.Mh.wk));_.rw(w.ys,y=>{if(y&&p!==y.fi){r&&r.unbindAll();var E=p=y.fi;r=new eXa(h,d,e,function(H,M){return new fXa(M,new ZR(H,M,g,E),H)},k,n,p);r.bindTo("projection",b);t.set(r.mh())}})});_.FM(b,t,"markerLayer",-1)},iXa=function(a){a.Rt||(a.Rt=_.XI(()=>{a.Rt=0;const b=a.Fv;a.Fv={};const c= a.Nw;for(const d of Object.values(b))hXa(a,d);c&&!a.Nw&&a.iu.forEach(d=>{hXa(a,d)})}))},hXa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.wM;if(!b.get("animating"))if(a.gD.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.Vo)a.iu.remove(b);else{a.Nw&&!a.nF&&a.iu.getSize()>=256&&(a.Nw=!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=BR(d);const h=b.get("label")!=null; a.nF||c==0||e||f||g||d||h||!c&&a.Nw?_.Eq(a.iu,b):(a.iu.remove(b),_.Eq(a.gD,b))}},jXa=function(a,b){const c=new _.rq;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.ou.add(c);c.setMap(b);return c},kXa=function(a){a.sh||(a.sh=setTimeout(()=>{const b=[...a.ph].filter(c=>!c.Op).length;b>0&&a.li.Fh(a.map,b);a.sh=0},0))},nXa=function(a,b){a.qh.has(b)||(a.qh.add(b),_.Az(_.zz(),()=>{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&&$R(d)||d.bt,g=_.vo(a.map);g||(a.th||(a.th=a.nh.attachShadow({mode:_.Mq[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?lXa:mXa):e.style.visibility=f?"hidden":"";d.Ym(!f);d.xw=!1}a.qh.clear();for(const d of c)d.Mz(!0)}}))},oXa=function(a){aS||(aS=new ResizeObserver(b=>{for(const c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))})); aS.observe(a)},rXa=function(a,b){const c=_.Ka(b);let d=bS.get(c);d||(d=new pXa(b),bS.set(c,d));b=d;qXa(a,b.Xn);b.ph.add(a);kXa(b);oXa(a.targetElement)},sXa=function(a){a=_.Ka(a);(a=bS.get(a))&&a.requestRedraw()},tXa=function(a,b){b=_.Ka(b);(b=bS.get(b))&&nXa(b,a)},uXa=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}},dS=function(a,b,c=!0){a.mh.position=a.yh;cS(a,b,c)}, cS=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();eS(a);vXa(a);a.nh&&(a.nh.release(),a.nh=null);c&&fS(a.mh,"dragend",b)},gS=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"},xXa=function(a){a.oh.style.opacity="0.5";a.oh.style.position="absolute";gS(a,!1);a.oh.style.transform="translate(-50%, -50%)"; a.oh.style.zIndex="-1";wXa(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)},yXa=function(a,b=!1){return a.ph?_.Kz:b?"pointer":_.qma},hS=function(a){const b=a.mh.Bk;b&&b.appendChild(a.oh)},wXa=function(a){a.oh.children[0]?.remove();var b=a.mh,c;if(!(c=b.dragIndicator)){if(!b.Cv){const {url:d,scaledSize:e}=(new GR).mh;b.Cv=new Image(e.width,e.height);b.Cv.src=d;b.Cv.alt=""}c=b.Cv}a.oh.appendChild(c); hS(a)},AXa=function(a){if(!a.mh.FA){a.nh=new _.iN((c,d)=>{var e=a.mh;e.ui&&_.ao(e.ui,"panbynow",c,d)});_.CM(a.nh,!0);var b=zXa(a.mh);_.BM(a.nh,b);a.nh.ph=a.qh}},BXa=function(a,b){eS(a);a.qh=!1;a.nh&&(a.nh.ph=!1);a.rh=a.mh.ko();a.wh=_.ZL(b)},CXa=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.VC(b)}},DXa=function(a,b){a.rh=a.mh.ko();a.yh=a.mh.position;a.wh=_.ZL(b); a.ph=!0;AXa(a);a.mh.Dp.setAttribute("aria-grabbed","true");iS(a.mh);a.mh.Dp.style.zIndex="2147483647";a.oh.style.opacity="1";gS(a,!0);fS(a.mh,"dragstart",b)},EXa=function(a){a.qh&&(a.rh=a.mh.ko())},jS=function(a){_.ry!==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));eS(a);vXa(a);a.nh&&(a.nh.release(),a.nh=null)},eS=function(a){const b=a.mh.Dp;b.removeEventListener("keydown",a.Vh);b.removeEventListener("keyup",a.Xh);b.removeEventListener("blur",a.Ph)},FXa=function(a){if(a.zh.size===0)a.xh=0;else{var {deltaX:b,deltaY:c}=uXa(a.zh),d=1;_.gM(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.VC(e);a.xh=window.setTimeout(()=> {FXa(a)},10)}},vXa=function(a){a.ph=!1;a.qh=!1;a.wh=null;a.rh=null;clearTimeout(a.xh);a.xh=0;a.yh=null;a.Fh=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}`;GXa(a.mh)},qXa=function(a,b){a.IA=b;if(a.bv){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},$R=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Ml&&!!a.map&&!!a.position}, zXa=function(a){return a.ui?a.ui.get("pixelBounds"):null},fS=function(a,b,c){_.ao(a,b,new _.VB(a.Rp,c,a.mw?new _.Oo(a.mw.Th,a.mw.Uh):null))},iS=function(a){_.ao(a,"REMOVE_COLLISION")},GXa=function(a){a.style.cursor=a.Hj?yXa(a.Hj,a.dw):a.dw?"pointer":""},kS=function(a,b=!1){$R(a)&&(a.ui&&QVa(a.ui.Hh,a),_.ao(a,"UPDATE_MARKER_COLLISION"),b&&a.Bx&&_.ao(a,"UPDATE_BASEMAP_COLLISION"))},HXa=function(a){a.cq.then(()=>{_.Sr(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},IXa=function(a){if(a.kn.get("isOpen")){var {width:b}= a.getBoundingClientRect();a.kn.set("anchorPoint",new _.Oo(b?b/2:0,0))}},lS=function(a){a.style.pointerEvents=a.Ty?"none":a.QF?"auto":""},mS=function(a){a.zn=a.dw||!!a.bv},JXa=function(a,b=!1){if(a.bt||!a.Rk)a.kn.set("pixelPosition",null);else if(a.kn.get("isOpen"))if(b)requestAnimationFrame(()=>{const {offsetX:c,offsetY:d}=DR(a.Xx);a.kn.set("pixelPosition",new _.Oo(c,d))});else{const {offsetX:c,offsetY:d}=DR(a.Xx);a.kn.set("pixelPosition",new _.Oo(c,d))}},KXa=function(a,b){var c;if(c=a.Hj)c=a.Hj, c=c.uh&&b.timeStamp-c.uh>=500?!0:c.th;if(!c&&a.Rp){a.gmpDraggable||a.focus();fS(a,"click",b);if(a.gmpClickable||_.Nn(a,"gmp-click"))c=new nS,_.ao(a,"gmp-click",c),a.dispatchEvent(c);a.li.th(b)}},LXa=function(a){!a.xj&&a.map&&a.ui&&(a.aD=!0,a.xj=_.sy(a,{nl:({event:b,Gq:c})=>{a.QF?(_.hx(b.mh),b.button===3||c||KXa(a,b.mh)):a===b.mh.target||a.Ty||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), a.li.wh(a.map))}}),a.XA=_.xma({draggable:a.BF,SE:new _.lC(a.map,"gestureHandling"),xl:a.ui.rm,rq:a}),_.rw(a.XA,a.qF),a.aD=!1)},oS=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)&&_.Gn(_.iq(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.kl&&a.kl.contains(a.pm)? [a.pm]:[]},MXa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Rp(b),b>0||b<0))throw a.li.xh(window),_.Wm("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},pS=function(a){if(a.Mk){const b=_.Ka(a.Mk),c=bS.get(b);c&&(c.ph.delete(a),c.isEmpty()&&(c.dispose(),bS.delete(b)));aS&&aS.unobserve(a.targetElement);_.ao(a,"REMOVE_FOCUS");_.ao(a,"REMOVE_COLLISION");a.Mh&&(a.Kk&&(a.Mh.Pl(a.Kk),a.Kk=null),a.Mh=null);a.Hj&&jS(a.Hj);a.uE?.remove();a.SH?.remove();a.MG?.remove();a.nG?.remove(); a.XA?.removeListener(a.qF);a.xj&&(a.xj.remove(),a.xj=null);a.kn.set("map",null);a.Bx=null;a.ui=null;a.Mk=null;a.xw=!0}},qS=function(a){if(a.ui&&!a.Ml){var b=a.ui.Bh;b&&(a.zn&&a.Rk&&!a.Vo?b.Hh(a):_.ao(a,"REMOVE_FOCUS"))}},OXa=function(a){var b=a.ui.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.Ws).includes(b.mapTypeId));a.Bx=a.SF&&!b;if(!a.Op||a.position)a.Bx?sXa(a.map):NXa(a)},PXa=function(a){if(!a.Op){var b=a.ui.mh;b.WB.then(()=>{const c=_.nq(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.ui&& a.ui.bi();for(const d of c.mh)b.log(d);a.li.uh(a.map);a.dispose()}})}},QXa=function(a){a.li.Ch(a.map);a.li.ph(a.map,a.Ty);if(a.dw){const b=_.Nn(a,"gmp-click");a.li.nh(a.map,b)}a.gmpDraggable&&a.li.qh(a.map);a.title&&a.li.rh(a.map);a.zIndex!==null&&a.li.sh(a.map);a.Yl()>0&&a.li.mh(a.map);a.li.oh(a.map,a.collisionBehavior)},rS=function(a,b){a.Hj&&EXa(a.Hj);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")||_.Az(_.zz(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.Rk=b;qS(a)},NXa=function(a){var b=$Va(a.Mk,a.Rp);a.Kk?a.Kk.setPosition(b,a.Yl()):a.Mh&&(b=new _.kN(a.Mh.wk,a,b,a.Mh,null,a.Yl(),a.MK),a.Mh.Cj(b),a.Kk=b)};_.Oo.prototype.bz=_.da(18,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var CWa=["click","dblclick","rightclick","contextmenu"],RXa=class extends _.fo{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 _.Oo(b,c)}else b=null; a.call(this,"position",b);this.mh=!1}}},SXa=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.Uu(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)},sS=class{constructor(a){this.frames=a;this.mh=""}},FR;var xWa={[1]:{options:{duration:700,nn:"infinite"},icon:new sS([{time:0,translate:[0,0],sn:"ease-out"},{time:.5,translate:[0,-20],sn:"ease-in"},{time:1,translate:[0,0],sn:"ease-out"}])},[2]:{options:{duration:500,nn:1},icon:new sS([{time:0,translate:[0,-500],sn:"ease-in"},{time:.5,translate:[0,0],sn:"ease-out"},{time:.75,translate:[0,-20],sn:"ease-in"},{time:1,translate:[0,0],sn:"ease-out"}])},[3]:{options:{duration:200,bz:20,nn:1,FH:!1},icon:new sS([{time:0,translate:[0,0],sn:"ease-in"},{time:1, translate:[0,-20],sn:"ease-out"}])},[4]:{options:{duration:500,bz:20,nn:1,FH:!1},icon:new sS([{time:0,translate:[0,-20],sn:"ease-in"},{time:.5,translate:[0,0],sn:"ease-out"},{time:.75,translate:[0,-10],sn:"ease-in"},{time:1,translate:[0,0],sn:"ease-out"}])}};var GR=class{constructor(){this.icon={url:_.ls("api-3/images/spotlight-poi3",!0),scaledSize:new _.So(26,37),origin:new _.Oo(0,0),anchor:new _.Oo(13,37),labelOrigin:new _.Oo(13,14)};this.nh={url:_.ls("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.So(26,37),origin:new _.Oo(0,0),anchor:new _.Oo(13,37),labelOrigin:new _.Oo(13,14)};this.mh={url:_.ls("api-3/images/drag-cross",!0),scaledSize:new _.So(13,11),origin:new _.Oo(0,0),anchor:new _.Oo(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 TXa=class extends _.fo{constructor(a,b){super();this.nh=a;this.mh=b;tS||(tS=new GR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.Az(_.zz(),this.oh,this,this)}oh(){const a=this.get("modelIcon");var b=this.get("modelLabel");hWa(this,"viewIcon",a||b&&tS.nh||tS.icon);hWa(this,"viewCross",tS.mh);b=this.get("useDefaults");let c=this.get("modelShape");c||a&&!b||(c=tS.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},tS;var UXa=class extends _.fo{constructor(){super();this.nh=!1;this.mh=iWa(this);this.set("shouldRender",this.mh)}changed(){if(!this.nh){var a=iWa(this);this.mh!==a&&(this.mh=a,this.nh=!0,this.set("shouldRender",this.mh),this.nh=!1)}}};var NWa=class extends _.fo{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 tWa=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 _.Bq(this.rh,0,this);this.oh=e;this.xm=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;this.nh.ri()}setLabel(a){this.label=a;this.nh.ri()}setVisible(a){this.visible=a;this.nh.ri()}setZIndex(a){this.zIndex=a;this.nh.ri()}release(){this.xm=null;HR(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&&_.Bx(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||_.Cx("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 _.So(e,f);b.equals(this.qh)||(this.qh=b,this.oh(b))}_.fJ(c,_.Dm(this.opacity,1));_.Dx(a,this.zIndex)}else HR(this)}};var oWa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.nh=!1;this.mh=null}start(){this.options.nn=this.options.nn||1;this.options.duration=this.options.duration||1;_.Vn(this.element,"webkitAnimationEnd",()=>{this.nh=!0;_.ao(this,"done")});kWa(this.element,dWa(this.animation),this.options)}cancel(){this.mh&&(this.mh.remove(),this.mh=null);kWa(this.element,null,{});_.ao(this,"done")}stop(){this.nh||(this.mh=_.Vn(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var IR=[],JR=null,pWa=class{constructor(a,b,c){this.element=a;this.animation=b;this.nn=-1;this.mh=!1;this.startTime=0;c.nn!=="infinity"&&(this.nn=c.nn||1);this.duration=c.duration||1E3}start(){IR.push(this);JR||(JR=window.setInterval(lWa,10));this.startTime=Date.now();this.tick()}cancel(){this.mh||(this.mh=!0,nWa(this,1),_.ao(this,"done"))}stop(){this.mh||(this.nn=1)}tick(){if(!this.mh){var a=Date.now();nWa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.nn!=="infinite"&&(this.nn--,this.nn||this.cancel()))}}};var VXa=_.ya.DEF_DEBUG_MARKERS,uS=class extends _.fo{constructor(a,b,c){super();this.qh=this.mh=null;this.Vh=[];this.Nh=!1;this.targetElement=null;this.Ph=!1;this.ph=null;this.elements=[];this.zh=!0;this.wh=0;this.oh=this.Qh=this.bi=this.Xh=null;this.Ah=!1;this.element=this.th=this.xj=this.sh=this.uh=this.xh=null;this.Bh=!1;this.uq=null;this.rh=new _.Bq(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.Am(e)&&e<.1&&!this.Ml)NR(this);else{sWa(this, d.markerLayer);if(!this.wh){var f=this.getIcon();if(f){var g=f.url;e=OR(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=BR(f),t=RR(f),v=this.get("shape"),w=CR(f),y={};if(_.Ix())f=w.width,w=w.height,r=new _.So(f+16,w+16),f={url:_.SB,size:r,anchor:t?new _.Oo(t.x+8,t.y+8):new _.Oo(Math.round(f/2)+8,w+8),scaledSize:r};else{const E=f.scaledSize||w;(_.Oq.qh||_.Oq.mh)&&v&&(y.shape=v,w=E);if(!r||v)f={url:_.SB,size:w,anchor:t, scaledSize:E}}t=f.url!=null;this.Ph===t&&MR(this);this.Ph=!t;y=this.targetElement=PR(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=_.xx(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");VXa&&(y.dataset.debugMarkerImage=g);y=p||y;y.title=k;n&&this.yq().setAttribute("aria-label",n);this.gx();h&&!this.sh&&(g=this.sh=new _.GHa(y,this.Fh,this.targetElement),this.Fh?(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=[_.$n(g,"dragstart",this),_.$n(g,"drag",this),_.$n(g,"dragend",this),_.$n(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.sh.set("draggableCursor",g):y.style.cursor=e?g:"";AWa(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.Ml;h?this.ph=PR(this,d,this.ph,e):(this.ph&&_.Mx(this.ph),this.ph=null);this.elements=[this.mh,this.ph, this.targetElement];wWa(this);for(e=0;e{_.Cq(this.rh)})];this.getPosition=_.Fo("position");this.getPanes=_.Fo("panes");this.getVisible=_.Fo("visible");this.getIcon=_.Fo("icon");this.getLabel=_.Fo("label")}PG(){}get zn(){return this.Bh}set zn(a){this.Bh!==a&&(this.Bh=a,_.ao(this,"UPDATE_FOCUS"))}get Ml(){return this.get("dragging")}panes_changed(){NR(this);this.rh.ri()}ip(a){this.set("position",a&&new _.Oo(a.Th,a.Uh))}At(){this.unbindAll(); this.set("panes",null);this.oh&&this.oh.stop();this.uh&&(_.On(this.uh),this.uh=null);this.oh=null;LR(this.Kh);this.Kh=[];NR(this);_.ao(this,"RELEASED")}Gh(){var a;if(!(a=this.Xh!==OR(this)||this.bi!==this.getDraggable())){a=this.Qh;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.FI(a.coords,b.coords))}a&&(this.Xh=OR(this),this.bi=this.getDraggable(),this.Qh=this.get("shape"),MR(this),this.rh.ri())}nh(){this.rh.ri()}position_changed(){this.Fh?_.Cq(this.rh):this.rh.ri()}yq(){return this.targetElement}gx(){const a= this.yq();if(a){var b=!!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.zn?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}Gy(a){_.ao(this,"click",a);_.N(window,171149)}It(){}Ts(a){_.hx(a);_.ao(this,"click",a);_.N(window,171150)}Fy(){}getDraggable(){return!!this.get("draggable")}mi(){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")?yWa(this):(this.set("animating",!1),this.oh&&this.oh.stop())}PF(a){const b=this.get("markerPosition");return this.uq&&b&&this.uq.size?WVa(a,this.targetElement):!1}};_.z=uS.prototype;_.z.shape_changed=uS.prototype.Gh;_.z.clickable_changed=uS.prototype.Gh;_.z.draggable_changed=uS.prototype.Gh;_.z.cursor_changed=uS.prototype.nh;_.z.scale_changed=uS.prototype.nh;_.z.raiseOnDrag_changed=uS.prototype.nh;_.z.crossOnDrag_changed=uS.prototype.nh;_.z.zIndex_changed=uS.prototype.nh; _.z.opacity_changed=uS.prototype.nh;_.z.title_changed=uS.prototype.nh;_.z.cross_changed=uS.prototype.nh;_.z.icon_changed=uS.prototype.nh;_.z.visible_changed=uS.prototype.nh;_.z.dragging_changed=uS.prototype.nh;var GWa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),RWa=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 _.uo;f=SR(this);b=this.wh&&f?_.Ox(f,b.getProjection()):null;this.mh=new uS(d,!!this.wh,h=>{this.mh.uq=a.__gm.uq={...a.__gm.uq,aR:h};a.__gm.oy&&a.__gm.oy()});_.Mn(this.mh,"RELEASED",()=>{var h=this.mh;if(this.ph&&this.ph.has(h)){({mF: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,mF:[]}),this.Ah.Ah(this.mh),TR(this,this.mh),DWa(this,this.mh));(this.qh=this.wh?new _.kN(e.wk,this.mh,b,e,()=>{if(this.mh.get("dragging")&&!this.marker.get("place")){var h=this.qh.getPosition();h&&(h=_.Mr(h,this.nh.get("projection")),this.xh=!1,this.marker.set("position",h),this.xh=!0)}}):null)&&e.Cj(this.qh);this.sh=new TXa(c,(h,k,n)=>{this.mh.uq= a.__gm.uq={...a.__gm.uq,size:h,anchor:k,labelOrigin:n};a.__gm.oy&&a.__gm.oy()});this.oh=this.wh?null:new _.ZM;this.th=this.wh?null:new UXa;this.uh=new _.fo;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);EWa(this);FWa(this);HWa(this);this.wh?(IWa(this),JWa(this),LWa(this)):(MWa(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")),OWa(this))}dispose(){this.mh.set("animation",null);this.mh.At();this.Mh&&this.qh?this.Mh.Pl(this.qh):this.mh.At();this.th&&this.th.unbindAll();this.oh&&this.oh.unbindAll();this.sh.unbindAll();this.uh.unbindAll();this.rh.forEach(_.On);this.rh.length=0}};var ZR=class{constructor(a,b,c,d){this.div=a;this.zj=b;this.mh=c;this.fi=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.Uq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=VR(c),e=this.fi.size;b.width=Math.ceil(e.Th*d);b.height=Math.ceil(e.Uh*d);b.style.width=_.Jm(e.Th);b.style.height=_.Jm(e.Uh);a.appendChild(b);this.context=c}return this.context}gE(a){const b=TWa(this),c=this.getContext(),d=VR(c),e=Math.round(a.dx* d),f=Math.round(a.dy*d),g=Math.ceil(a.zr*d);a=Math.ceil(a.wr*d);const h=SWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(n=>{k.globalAlpha=_.Dm(n.opacity,1);k.drawImage(n.image,n.Fz,n.Gz,n.Ez,n.yz,Math.round(n.dx*d),Math.round(n.dy*d),n.zr*d,n.wr*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};ZR.prototype.YM=ZR.prototype.gE;var bXa=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 _.Oo(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,Fz:n,Gz:p,Ez:t,yz:w,dx:r, dy:g,zr:v,wr:y})}else b(null)})}cancel(a){this.mh.cancel(a)}};var dXa=class{constructor(a,b,c,d){this.mh=b;this.nh=c;this.zIndex=40;this.oh=new _.lN(a,d,c)}Gt(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}Ot(a,b){return b?WR(this,a,-8,0)||WR(this,a,0,-8)||WR(this,a,8,0)||WR(this,a,0,8):WR(this,a,0,0)}handleEvent(a,b,c){const d=b.jk;if(a==="mouseout")this.mh.set("cursor",""),this.mh.set("title",null);else if(a==="mouseover"){var e=d.sw;this.mh.set("cursor",e.cursor);(e=e.title)&&this.mh.set("title",e)}let f;d&&a!=="mouseout"?f=d.sw.latLng:f=b.latLng;a=== "dblclick"&&_.Kn(b.domEvent);_.ao(c,a,new _.VB(f,b.domEvent))}};var eXa=class extends _.Ar{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||_.fC;b.mh=h=>{XWa(this,h)};b.onRemove=h=>{YWa(this,h)};b.forEach(h=>{XWa(this,h)})}mh(){return{fi:this.fi,sm:2,vl:this.vl.bind(this)}}vl(a,b={}){const c=document.createElement("div"),d=this.fi.size;c.style.width=`${d.Th}px`;c.style.height=`${d.Uh}px`;c.style.overflow="hidden";a={div:c,zoom:a.ki,fj:new _.Oo(a.Zh,a.ai),aq:{},zj:new _.xr};c.fl=a;ZWa(this,a);let e=!1;return{Qj:()=> c,ln:()=>e,loaded:new Promise(f=>{_.Xn(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.fl;c.fl=null;$Wa(this,f);c.textContent="";b.ak&&b.ak()}}}};var fXa=class{constructor(a,b,c){this.nh=b;this.timeout=null;this.mh=!1;this.oh=0;this.zj=a;const d=this;a.mh=e=>{d.Sq(e,!0)};a.onRemove=e=>{d.onRemove(e)};this.div=c;a.getSize()?(this.mh=!0,this.ep()):queueMicrotask(()=>{_.ao(c,"load")})}onRemove(a){this.Sq(a,!1)}Sq(a,b){this.oh++<4?b?this.nh.gE(a):this.nh.YM(a):this.mh=!0;this.timeout||(this.timeout=_.XI(this.ep.bind(this)))}ep(){this.mh&&UWa(this.nh);this.mh=!1;this.timeout=null;this.oh=0;queueMicrotask(()=>{_.ao(this.div,"load")})}};var cXa=class{constructor(a,b,c,d,e){var f=aXa;this.markers=a;this.nh=b;this.mh=c;this.qh=f;this.ph=d;this.oh=e;this.markers.mh=g=>{this.Du(g)};this.markers.onRemove=g=>{this.Ew(g)}}Du(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.Ly={MA:a,latLng:b,zIndex:c,opacity:d,zj:{}};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=VVa(()=>{e===a.__gm.Ly&&(e.tu||e.qH)&&this.vm(a,e,g,f)}); g.url?this.ph.load(g,k=>{e.tu=k;h()}):(e.qH=this.oh(g),h())}Ew(a){this.nh.remove(a.__gm.Ly);a.__gm.Ly=null}vm(a,b,c,d){if(b.tu){c=c.size;var e=a.get("anchorPoint");if(!e||e.mh)e=new _.Oo(b.tu.dx+c.width/2,b.tu.dy),e.mh=!0,a.set("anchorPoint",e)}else c=b.qH.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";_.Eq(this.nh,b)}};var YR=new Map;var WXa=class{constructor(a,b,c,d){this.Fv={};this.Rt=0;this.Nw=!0;const e=this;this.gD=b;this.iu=c;this.nF=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.wM=function(g){g in f&&(delete this.changed,e.Fv[_.eo(this)]=this,iXa(e))};a.mh=g=>{e.Du(g)};a.onRemove=g=>{e.Ew(g)};a=a.elements;for(const g of Object.values(a))this.Du(g)}Du(a){this.Fv[_.eo(a)]= a;iXa(this)}Ew(a){delete a.changed;delete this.Fv[_.eo(a)];this.gD.remove(a);this.iu.remove(a)}};var nS=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var XXa=class{Ch(){}zh(){}nh(){}oh(){}ph(){}uh(){}xh(){}sh(){}qh(){}rh(){}wh(){}yh(){}mh(){}Ah(){}Bh(){}Gh(){}Fh(){}th(){}};var YXa=(0,_.Xi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var mXa=RVa("visible-gmp-advanced-markers"),lXa=RVa("hidden-gmp-advanced-markers"),pXa=class{constructor(a){this.li=ZXa;this.rp=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-${_.to()}`;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",mXa);this.rh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",lXa);this.mh.appendChild(b);this.nh=document.createElement("div");this.nh.append(this.rh,this.mh);const c=a.__gm;this.yh=c.vq;this.xh=new Promise(d=> {c.oh.then(e=>{this.map&&(e&&(this.rp=jXa(this,a)),this.wh=!0);d()})});_.Xu(YXa,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.rp&&(this.rp.setMap(null),this.rp=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.rp&&this.rp.requestRedraw():this.xh.then(()=>{this.rp&&this.rp.requestRedraw()})}onDraw(a){if(this.map){var b=this.yh.offsetWidth,c=this.yh.offsetHeight,d=_.$q(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.ph.values()){a:{var e=h.NL;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.ym(f.lng(),-180,180);var g=_.ym(e.lng,-180,180);f>0&&g f+180&&(g-=360);e=new _.Rp({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.ip(null,d);continue}f=a.fromLatLngAltitude(e);e=g=[0,0,0];const [k,n,p]=e,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 {DL:t,pO:v}={DL:f[14]<0&&f[15]<0,pO:g};t?h.ip(null,d):h.ip({Th:ER(v[0]/2*b),Uh:ER(-v[1]/2*c)},d,{Th:b,Uh:c})}}}};var bS=new Map,ZXa=new class extends XXa{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)}Gh(a){a&&_.N(a,160478)}Fh(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)}},$Xa=new XXa,aS=null;var aYa=class{constructor(a){this.mh=a;this.qh=this.ph=!1;this.uh=this.nh=this.rh=this.wh=this.yh=this.Fh=null;this.xh=0;this.Hh=null;this.Nh=b=>{this.Ht(b)};this.Qh=b=>{b.touches.length===1&&this.Ht(b)};this.Kh=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Bh=b=>{if(this.qh||this.th||aWa(b,this.Fh))this.th=!0};a=this.mh.Dp;_.ry!==2?(a.addEventListener("pointerdown",this.Nh),a.addEventListener("pointermove",this.Bh)):(a.addEventListener("touchstart",this.Qh,{passive:!1}),a.addEventListener("touchmove", this.Bh,{passive:!1}));a.addEventListener("mousedown",this.Kh);this.Ah=b=>{b.preventDefault();b.stopImmediatePropagation();this.qh?BXa(this,b):this.ph?(CXa(this,b),fS(this.mh,"drag",b)):(DXa(this,b),b=this.mh,b.li.Gh(b.map))};this.sh=b=>{this.uh&&b.timeStamp-this.uh>=500&&(!this.ph||this.qh)?(this.qh?BXa(this,b):(DXa(this,b),b=this.mh,b.li.Bh(b.map),b.Op&&_.ao(b,"longpressdragstart")),this.th=!0):(this.ph&&(this.qh||this.th||aWa(b,this.Fh))&&(this.th=!0),this.qh&&cS(this,b),b.type==="touchend"&&gS(this, !1),this.ph?(b.stopImmediatePropagation(),CXa(this,b),jS(this),kS(this.mh,!0),fS(this.mh,"dragend",b)):jS(this))};this.Vh=b=>{this.bi(b)};this.Xh=b=>{this.ci(b)};this.Ph=b=>{dS(this,b)};this.bi=b=>{if(b.altKey&&(_.Cz(b)||b.key===_.Cpa))dS(this,b);else if(!b.altKey&&_.Cz(b))this.th=!0,cS(this,b);else if(_.Dz(b)||_.Fz(b)||_.Ez(b)||_.Gz(b))b.preventDefault(),this.zh.add(b.key),this.xh||(this.Hh=new _.yM(100),FXa(this)),fS(this.mh,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.mh;b= b.code==="Equal"?1:-1;const d=$Va(c.Mk,c.Rp);d&&c.Mh.RH(b,d)}};this.ci=b=>{(_.Dz(b)||_.Fz(b)||_.Ez(b)||_.Gz(b))&&this.zh.delete(b.key)};this.Ch=()=>{gS(this,!0)};this.Gh=()=>{this.ph||gS(this,!1)};this.oh=document.createElement("div");xXa(this);this.th=!1;this.zh=new Set}Mz(a){this.nh&&_.zM(this.nh,a)}Ht(a){this.th=!1;if(this.mh.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.mh.Dp;b.focus();const c=document;_.ry!==2||a.preventDefault();a.stopImmediatePropagation();this.uh=a.timeStamp; _.ry!==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.Fh=_.ZL(a));b.style.cursor=_.Kz}}Gy(){this.ph||(this.th=!1)}It(a){if(this.mh.gmpDraggable&&!this.qh&&!this.ph){var b=this.mh.Dp;b.addEventListener("keydown",this.Vh);b.addEventListener("keyup", this.Xh);b.addEventListener("blur",this.Ph);this.rh=this.mh.ko();this.yh=this.mh.position;this.qh=this.ph=!0;AXa(this);b=this.mh.Dp;b.setAttribute("aria-grabbed","true");iS(this.mh);b.style.zIndex="2147483647";this.oh.style.opacity="1";fS(this.mh,"dragstart",a);a=this.mh;a.li.Ah(a.map)}}Fy(a,b=!0){this.qh?dS(this,a,b):this.ph&&(this.mh.position=this.yh,a.stopImmediatePropagation(),jS(this),b&&fS(this.mh,"dragend",a))}Ml(){return this.ph}dispose(){jS(this);const a=this.mh.Dp;_.ry!==2?(a.removeEventListener("pointerdown", this.Nh),a.removeEventListener("pointermove",this.Bh)):(a.removeEventListener("touchstart",this.Qh,{passive:!1}),a.removeEventListener("touchmove",this.Bh,{passive:!1}));a.removeEventListener("mousedown",this.Kh);a.removeEventListener("pointerenter",this.Ch);a.removeEventListener("pointerleave",this.Gh);a.removeEventListener("focus",this.Ch);a.removeEventListener("blur",this.Gh);this.oh.remove()}};var vS=!1,wS=class extends _.mu{set anchorTop(a){this.zL=this.Jh("anchorTop",_.dt,a);rS(this,this.Rk);kS(this,!0)}get anchorTop(){return this.zL}set anchorLeft(a){this.yL=this.Jh("anchorLeft",_.dt,a);rS(this,this.Rk);kS(this,!0)}get anchorLeft(){return this.yL}constructor(a={}){super(a);this.Cv=this.xj=this.Hj=null;this.IA="";this.Ol=this.mw=this.PD=this.Mh=this.Kk=this.kl=null;this.MD=!1;this.Qz=null;this.xC=this.SF=this.Rz=this.OD=!1;this.ui=this.Bx=this.nG=this.MG=this.SH=this.uE=null;this.LD= void 0;this.bv=this.ND=!1;this.BF=_.jp(!1);this.Rp=this.cv=this.XA=null;this.ns="";this.Mk=this.Sz=void 0;this.uA=this.vA=!0;this.GB=this.aD=!1;this.xw=!0;document.createElement("div");HXa(this);this.targetElement=this;this.Dp=this;this.Op=vS;Object.defineProperties(this,{Op:{value:vS,writable:!1}});this.li=this.Op?$Xa:ZXa;this.addEventListener("focus",e=>{this.lB(e)},!0);this.addEventListener("marker-resize",()=>{IXa(this);kS(this,!0)});this.pm=new _.rC;this.Gj=document.createElement("div");_.Sr(this.Gj, "content-container");this.kl=document.createElement("slot");this.kl.addEventListener("slotchange",()=>{this.Us()});this.Gj.appendChild(this.kl);this.kl.prepend(this.pm);this.Us();Promise.resolve().then(()=>{lS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.Xx=getComputedStyle(this);this.MK=(e,f,g)=>this.uy(e,f,g);const b=()=>{lS(this);mS(this);const e=_.Nn(this,"gmp-click");this.li.nh(this.map,e)},c=()=>{lS(this);mS(this)},d=["click"];d.push("gmp-click"); for(const e of d)UVa(this,e,b),TVa(this,e,c);this.kn=new _.fo;this.kn.addListener("isopen_changed",()=>{JXa(this);IXa(this)});this.qF=e=>{this.xj?.bs(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.FA=!!a.FA;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,wS,"AdvancedMarkerElement")}addEventListener(a,b,c){a!=="click"|| this.aD||_.Gn(_.iq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.Gn(_.iq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.Mn(this,a,b)}lB(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.li.yh(this.map),a=[document.body,..._.Kx(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.zn){var b=()=>{this.isConnected&&this.Rk?setTimeout(()=>{this.focus();a()}, 0):_.Az(_.zz(),b)};b()}})}Ts(){}Fy(a){this.Hj&&(this.Hj.Fy(a,!this.Op),this.Op&&_.ao(this,"dragcancel"))}get collisionBehavior(){return this.LD}set collisionBehavior(a){a=this.Jh("collisionBehavior",_.hn(_.an(_.tt)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.LD=a,this.li.oh(this.map,this.LD),this.map&&(!$R(this)&&this.ui?PVa(this.ui.Hh,this):kS(this,!0)))}get element(){return this}get Ty(){return oS(this)[0]===this.pm}get content(){const a=oS(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.Jh("content",_.hn(_.fn([_.$m(Node,"Node"),_.en(_.Zm)])),a)||this.pm;const b=oS(this);if(b.length!==1||b[0]!==a)a!==this.pm?this.replaceChildren(a):a===this.pm&&this.replaceChildren(),this.Us()}Us(){const a=()=>{this.kl&&!this.kl.contains(this.pm)&&this.kl.prepend(this.pm);this.Ol=null;this.Hj&&hS(this.Hj);kS(this,!0);lS(this)};this.li.ph(this.map,this.Ty);this.cq.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.ND}set gmpClickable(a){a= this.Jh("gmpClickable",_.et,a)||!1;this.ND!==a&&(this.ND=a,lS(this),mS(this))}get gmpDraggable(){return this.bv}set gmpDraggable(a){a=this.Jh("gmpDraggable",_.et,a)||!1;MXa(this,this.position,a);this.BF.set(a);this.bv!==a&&((this.bv=a)?(this.li.qh(this.map),this.setAttribute("aria-grabbed","false"),qXa(this,this.IA),this.Hj=new aYa(this),wXa(this.Hj)):(this.removeAttribute("aria-grabbed"),this.PG(this.IA),this.Hj.dispose(),this.Hj=null),lS(this),mS(this))}PG(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=_.vo(this.Mk))&&this.parentElement!==a&&a.append(this)}setMap(a){this.Mk!==a&&(a=this.Jh("map",_.hn(_.$m(_.uo,"MapsApiMap")),a),a instanceof _.uo&&(a=a.zN),a&&this.isConnected?pS(this):this.dispose(),this.Mk=a,this.kn.set("map",this.Mk),this.Mk instanceof _.uo?(this.Mk&&rXa(this,this.Mk),this.ui= this.Mk.__gm,LXa(this),this.uE=this.Mk.addListener("bounds_changed",()=>{qS(this)}),this.SH=this.Mk.addListener("zoom_changed",()=>{qS(this)}),this.MG=this.Mk.addListener("projection_changed",()=>{qS(this)}),this.nG=this.Mk.addListener("maptypeid_changed",()=>{OXa(this)}),Promise.all([this.ui.nh,this.ui.oh]).then(([b,c])=>{this.Mk===b.map&&(this.SF=c,this.li.zh(b.map),c=this.ui.mh,this.Op||_.nq(c,"ADVANCED_MARKERS").isAvailable)&&(this.Mh=b.Mh,OXa(this))}),PXa(this),QXa(this)):this.ui=null)}get position(){return this.cv}set position(a){a= (a=this.Jh("position",_.hn(_.Ir),a)||null)&&new _.Rp(a);const b=this.cv;MXa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Rp(b,!0);const d=new _.Rp(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Rp=(this.cv=a)?new _.un(a):null,this.xC=!0,a||rS(this,null),this.kn.set("position",this.Rp),this.kn.set("map",this.map),this.Bx?sXa(this.map):NXa(this),this.Yl()>0&&this.li.mh(this.map),_.dq(this,"position",b))}get NL(){return this.cv}get title(){return this.ns}set title(a){a=this.Jh("title",_.$r,a);const b= this.ns;a!==this.title&&(this.ns=a,this.title&&this.li.rh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.gx(),_.dq(this,"title",b))}get zIndex(){return this.Sz}set zIndex(a){a=this.Jh("zIndex",_.hn(_.Zs),a);this.Sz=a==null?null:a;this.style.zIndex=this.Sz==null?"":`${this.Sz}`;this.zIndex!==null&&this.li.sh(this.map);kS(this)}get dw(){const a=_.Nn(this,"click"),b=_.Nn(this, "gmp-click");return a||b||!!this.gmpClickable}get QF(){return this.dw||!!this.gmpDraggable}get zn(){return this.MD}set zn(a){GXa(this);this.MD!==a&&(this.MD=a,qS(this))}get bt(){return this.Rz}set bt(a){if(a!==this.Rz){if(this.Rz=a)this.uA=this.vA=!1,iS(this);this.map&&tXa(this,this.map)}}get Vo(){return this.Qz}set Vo(a){a!==this.Qz&&(this.Qz=a,this.map&&tXa(this,this.map),qS(this),_.ao(this,"UPDATE_BASEMAP_COLLISION"))}Vv(){if(!this.Rk)return null;if(!this.Ol)for(const c of oS(this)){var a=this.Xx; const {offset:d,size:e}=YVa(this,c);var b=DR(a);a=b.offsetY+d.y;b=b.offsetX+d.x;a=_.Bp(b,a,b+e.width,a+e.height);this.Ol?this.Ol.extendByBounds(a):this.Ol=a}return this.Ol}get Rk(){return this.PD}set Rk(a){const b=this.PD==null&&!!a;this.PD=a;JXa(this,b)}Yl(){return this.cv?this.cv.altitude:0}uy(a,b,c){return this.Mk?(c=_.wEa(this.Mk.getProjection(),this.Rp,c))?a/c*Math.sin(b*Math.PI/180):0:0}ip(a,b,c){if(a){if(this.Hj){b=this.Hj;var d=b.mh;b=(d=d.ui?d.ui.vq:null)&&b.rh&&b.ph&&!b.qh?ZVa(d,b.rh):null}else b= null;b&&(a=b);this.mw=a;b=this.bt;this.bt=!(!c||!(Math.abs(a.Th)>c.Th/2+512||Math.abs(a.Uh)>c.Uh/2+512));b&&this.bt||(this.xw&&this.map&&(c=_.Ka(this.map),(c=bS.get(c))&&nXa(c,this)),(new _.Oo(a.Th,a.Uh)).equals(this.Rk)||(rS(this,new _.Oo(a.Th,a.Uh)),this.Mz(this.xC)),this.xC=!1,this.uA=this.vA=!0)}else this.bt=!0,this.mw=null,rS(this,null)}Mz(a){this.Ol=null;this.Hj&&this.Hj.nh&&this.Hj.Mz(this.Vv());kS(this,a)}Ym(a){this.OD!==a&&(this.OD=a,this.kn.set("map",this.OD?this.map:null))}Ay(){if(!$R(this)|| this.Vo||!oS(this).length)return null;var a=this.map.getProjection();if(!a)return null;a=a.fromLatLngToPoint(this.Rp);const b=[];for(const f of oS(this)){a:{var c=f;var d=this.Rk;var e=this.Xx;if(!d){d={size:new _.So(0,0),offset:new _.Oo(0,0)};break a}const {size:k,offset:n}=YVa(this,c);c=DR(e);d={size:k,offset:new _.Oo(c.offsetX-d.x+n.x,c.offsetY-d.y+n.y)}}const {size:g,offset:h}=d;d=new SXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}At(){}yq(){return this}PF(a){return!this.position||this.Qz? !1:WVa(a,this)}gx(){const a=this.yq();this.zn?a.setAttribute("role","button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Ml(){return this.Hj?this.Hj.Ml():!1}Um(){rS(this,null);iS(this);this.vA&&this.Mh&&this.Kk&&(this.Mh.Pl(this.Kk),this.Kk=null);this.remove();this.xw=!0}dispose(){if(!this.GB){this.GB=!0;try{this.Mk&&(pS(this),this.Um())}finally{this.GB=!1}}}VC(a){{const c=this.ui?.get("projectionController");if(this.ui&&a&&c){var b=this.ui.vq.getBoundingClientRect();a= c.fromContainerPixelToLatLng(new _.Oo(a.clientX-b.left,a.clientY-b.top))}else a=null}a&&(this.position=a)}ko(){var a=this.ui?.get("projectionController");if(!this.ui||!a||!this.Rp)return null;a=a.fromLatLngToContainerPixel(this.Rp);const b=this.ui.vq.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Bk.appendChild(this.Gj);this.Hj&&hS(this.Hj);if(this.isConnected&&this.parentNode){const a=AR(this);a?this.setMap(a):(pS(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&& this.uA&&(this.map=null);this.xw=!0;super.disconnectedCallback()}};wS.prototype.addListener=wS.prototype.addListener;wS.prototype.addEventListener=wS.prototype.addEventListener;wS.prototype.constructor=wS.prototype.constructor;wS.Hi={Ki:181577,Ji:181576};_.A([_.tr({Ih:"anchor-top",type:String,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"anchorTop",null); _.A([_.tr({Ih:"anchor-left",type:String,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"anchorLeft",null);_.A([_.tr({Ih:"gmp-clickable",type:Boolean,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"gmpClickable",null);_.A([_.tr({ii:_.Et,ij:_.Wp,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"position",null); _.A([_.tr({ii:{rk:a=>a||"",Nj:a=>a||null},Lh:!0}),_.B("design:type",String),_.B("design:paramtypes",[String])],wS.prototype,"title",null);var bYa=!1,cYa=class extends wS{constructor(a={}){super(a);if(!vS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.zp("gmp-internal-use-am",cYa);var xS={Marker:_.wt,CollisionBehavior:_.tt,Animation:_.Dha,TJ:()=>{},rA:function(a,b,c){const d=_.BGa();if(b instanceof _.kp)QWa(a,b,d);else{const e=new _.xr;QWa(e,b,d);const f=new _.xr;c||gXa(f,b,d);new WXa(a,f,e,c)}},FE:function(a={}){vS=!0;a=new cYa(a);vS=!1;return a},AdvancedMarkerElement:wS,PinElement:_.rC,AdvancedMarkerClickEvent:nS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:wS,PinElement:_.rC,AdvancedMarkerClickEvent:nS,AdvancedMarkerView:void 0, PinView:void 0};_.Mm(a);_.ya.google.maps.marker=a;bYa||(bYa=!0,_.zp("gmp-advanced-marker",wS))}};_.Nm(xS,["TJ","rA","FE","connectForExplicitThirdPartyLoad"]);_.Mm(xS);_.Xl("marker",xS);});