google.maps.__gjsload__('marker', function(_){var kVa=function(a,b){var c=_.kb(b);a.qh.set(c,b);a.rh.Di()},lVa=function(a,b){if(a.rh.has(b)){_.Lm(b,"UPDATE_BASEMAP_COLLISION");_.Lm(b,"UPDATE_MARKER_COLLISION");_.Lm(b,"REMOVE_COLLISION");a.rh.delete(b);var c=a.sh;let d=_.kb(b);c.qh.has(d)&&(c.qh.delete(d),b.Sp=null,c.rh.Di());_.Iea(a.qh,b)}},mVa=function(a,b){a.rh.has(b)||(a.rh.add(b),_.Hm(b,"UPDATE_BASEMAP_COLLISION",()=>{a.th.add(b);a.wh.tv()}),_.Hm(b,"UPDATE_MARKER_COLLISION",()=>{a.wh.tv()}),_.Hm(b,"REMOVE_COLLISION",()=>{lVa(a,b)}),kVa(a.sh, b),_.Hea(a.qh,b))},nVa=function(a,b,c,d){b=_.Bx(a,b,d,e=>e);a=_.Bx(a,c,d,e=>e);return{li:b.li-a.li,ni:b.ni-a.ni,wi:d}},oVa=function(a,b){var c=c||[];_.sI(a,d=>{c.push(d)},d=>d.containsPoint(b));return c},pVa=function(a){return`${_.hda(a)}-internal-${a}`},qVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.pF)},rVa=function(a,b,c){return new _.Gm(a,`${b}_removed`,c,0,!1)},sVa=function(a,b,c){return new _.Gm(a,`${b}_added`,c,0,!1)},GN=function(a){return a?_.Np.has(a)?_.Np.get(a): a instanceof ShadowRoot?GN(a.host):GN(a.parentNode):null},tVa=function(a){var b=1;return()=>{--b||a()}},HN=function(a){return a instanceof _.cB},IN=function(a){return HN(a)?a.getSize():a.size},uVa=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},vVa=function(a,b){_.PE().qh.load(new _.qH(a),c=>{b(c&&c.size)})},wVa=function(a,b){a=a.getBoundingClientRect(); b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.En(b.x-a.x,b.y-a.y),size:new _.In(b.width,b.height)}},JN=function(a){a=new DOMMatrixReadOnly(a.transform);return{offsetX:a.m41,offsetY:a.m42}},KN=function(a){var b=window.devicePixelRatio||1;return Math.round(a*b)/b},xVa=function(a,{clientX:b,clientY:c}){var {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{Xh:KN(b-(e+g/2)),Zh:KN(c-(f+d/2))}},yVa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.jw(b, a)},zVa=function(a,b){var c=_.WH(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},LN=function(a,b){if(a.bounds.containsPoint(b.Sj))if(a.children)for(let c=0;c<4;++c)LN(a.children[c],b);else a.items.push(b),a.items.length>10&&a.depth<30&&a.split()},BVa=function(a,b){return new AVa(a,b)},CVa=function(a,b,c,d){var e=b.fromPointToLatLng(c,!0);c=e.lat();e=e.lng();var f=b.fromPointToLatLng(new _.En(a.minX,a.minY),!0);a=b.fromPointToLatLng(new _.En(a.maxX, a.maxY),!0);b=Math.min(f.lat(),a.lat());var g=Math.min(f.lng(),a.lng()),h=Math.max(f.lat(),a.lat());for(f=Math.max(f.lng(),a.lng());f>180;)f-=360,g-=360,e-=360;for(;g<180;){a=_.ao(b,g,h,f);let k=new _.sm(c,e,!0);d(a,k);g+=360;f+=360;e+=360}},DVa=function(a,b){var c=[];c.push("@-webkit-keyframes ",b," {\n");_.wc(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.uo,"; ");c.push("}\n")}); c.push("}\n");return c.join("")},EVa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.M(a,174113);GVa(b)&&_.M(a,149062);b.get("anchorPoint")&&_.M(a,149064);c=b.get("animation");c===1&&_.M(a,149065);c===2&&_.M(a,149066);b.get("clickable")===!1&&(_.M(a,149091),b.get("title")&&_.M(a,149063));b.get("draggable")&& (_.M(a,149069),b.get("clickable")===!1&&_.M(a,149070));b.get("visible")===!1&&_.M(a,149081);b.get("crossOnDrag")&&_.M(a,149067);b.get("cursor")&&_.M(a,149068);b.get("label")&&_.M(a,149080);b.get("title")&&_.M(a,149090);b.get("opacity")!=null&&_.M(a,149082);b.get("optimized")===!0?_.M(a,149085):b.get("optimized")===!1&&_.M(a,149071);b.get("zIndex")!=null&&_.M(a,149092);c=b.get("icon");var d=new NN;(d=!c||c===d.icon.url||c.url===d.icon.url)?_.M(a,173084):_.M(a,173083);typeof c==="string"?_.M(a,149079): c&&c.url!=null?(c.anchor&&_.M(a,149074),c.labelOrigin&&_.M(a,149075),c.origin&&_.M(a,149076),c.scaledSize&&_.M(a,149077),c.size&&_.M(a,149078)):c&&c.path!=null?(c=c.path,c===0?_.M(a,149088):c===1?_.M(a,149072):c===2?_.M(a,149073):c===3?_.M(a,149086):c===4?_.M(a,149087):_.M(a,149089)):HN(c)&&_.M(a,149083);b.get("shape")&&(_.M(a,149084),d&&_.M(a,162762));if(c=b.get("place"))c.placeId?_.M(a,149093):_.M(a,149094),b.get("attribution")&&_.M(a,149061)}},JVa=function(a,b,c){IVa(a,c,d=>{a.set(b,d);var e=d? IN(d):null;b==="viewIcon"&&d&&e&&a.qh&&a.qh(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.Hl(d.color,"#000000"),fontWeight:_.Hl(d.fontWeight,""),fontSize:_.Hl(d.fontSize,"14px"),fontFamily:_.Hl(d.fontFamily,"Roboto,Arial,sans-serif"),className:d.className||""}:null)})},IVa=function(a,b,c){b?HN(b)?c(b):b.path!=null?c(a.rh(b)):(_.Il(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),vVa(b.url,d=>{b.size=d||new _.In(24,24);c(b)}))):c(null)}, KVa=function(a){var b=a.get("mapPixelBoundsQ"),c=a.get("icon"),d=a.get("position");if(!b||!c||!d)return a.get("visible")!==!1;var e=c.anchor||_.Rn,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.bo}`;a.style.webkitAnimationName=b||""})},NVa=function(){var a=[];for(let b=0;b{}});a.qh=WN(a,b,a.qh,c,e);TVa(a,c,XN(a))}},YVa=function(a){var b= a.getLabel();if(b){if(!a.wh){let e=a.wh=new VVa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.ui);a.Wh=[_.Hm(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.Hm(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}),_.Hm(a,"panes_changed",()=>{var f=a.get("panes");e.mn=f;ON(e);e.rh.Di()}),_.Hm(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.qh,d=XN(a);c=WVa(a,b,d,RN(c)||_.Rn);d=IN(b);d=b.labelOrigin||new _.En(d.width/2,d.height/2);HN(b)&&(b=b.getSize().width, d=new _.En(b/2,b/2));LVa(a.wh,new _.En(c.x+d.x,c.y+d.y));a.wh.setZIndex(XVa(a));_.fp(a.wh.rh)}}},$Va=function(a){if(!a.Gh){a.sh&&(a.Ah&&_.Jm(a.Ah),a.sh.cancel(),a.sh=null);var b=a.get("animation");if(b=ZVa[b]){var c=b.options;a.qh&&(a.Gh=!0,a.set("animating",!0),b=SVa(a.qh,b.icon,c),a.sh=b,a.Ah=_.Qm(b,"done",()=>{a.set("animating",!1);a.sh=null;a.set("animation",null)}))}}},SN=function(a){if(a)for(let b=0,c=a.length;b{a.Jh=!1;TN(a);_.fp(a.xh)},0);_.Jw(c);_.Tm(a,"mouseup",c.qh)},Pl:({event:c,Qr:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.Lv(c.qh), c.button===3?d||c.button===3&&_.Tm(a,"rightclick",c.qh):d?_.Tm(a,"dblclick",c.qh):(_.Tm(a,"click",c.qh),_.M(window,171150))},ow:c=>{_.Kw(c);_.Tm(a,"contextmenu",c.qh)}}),a.zh=new _.FA(b,b,{Su(c){_.Tm(a,"mouseout",c)},Tu(c){_.Tm(a,"mouseover",c)}}))},aWa=function(a,b,c,d){c=c||_.aw("div",b);_.Jp(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.cF(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Gn(b);c.style.height=_.Hn(b);c.style.pointerEvents="none"; c.style.userSelect="none";_.Qm(d,"changed",()=>{a.rh()});return c},ZN=function(a){var b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},$N=function(a,b){a.th&&a.th.has(b)&&({marker:a}=a.th.get(b),b.Do=cWa(a),b.Do&&(b=a.getMap())&&_.M(b,184438))},eWa=function(a,b){if(a.th){var {DH:c,marker:d}=a.th.get(b);for(let e of dWa)c.push(sVa(d,e,()=>{$N(a,b)})),c.push(rVa(d,e,()=>{!cWa(d)&&b.Do&&$N(a,b)}))}},fWa=function(a){var b=a.rh.__gm;a.qh.bindTo("mapPixelBounds",b,"pixelBounds"); a.qh.bindTo("panningEnabled",a.rh,"draggable");a.qh.bindTo("panes",b)},gWa=function(a){var b=a.rh.__gm;_.Hm(a.Ah,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging",b.get("markerDragging")||a.marker.get("dragging"))},iWa=function(a){a.xh.push(_.Sm(a.qh,"panbynow",a.rh.__gm));hWa.forEach(b=>{a.xh.push(_.Hm(a.qh,b,c=>{var d=a.Bh?ZN(a):a.marker.get("internalPosition");c=new _.GA(d,c,a.qh.get("position"));_.Tm(a.marker,b,c)}))})},jWa=function(a){var b=()=> {a.marker.get("place")?a.qh.set("draggable",!1):a.qh.set("draggable",!!a.marker.get("draggable"))};a.xh.push(_.Hm(a.Ah,"draggable_changed",b));a.xh.push(_.Hm(a.Ah,"place_changed",b));b()},kWa=function(a){a.xh.push(_.Hm(a.rh,"projection_changed",()=>{aO(a)}));a.xh.push(_.Hm(a.Ah,"position_changed",()=>{aO(a)}));a.xh.push(_.Hm(a.Ah,"place_changed",()=>{aO(a)}))},mWa=function(a){a.xh.push(_.Hm(a.qh,"dragging_changed",()=>{if(a.qh.get("dragging"))a.Fh=a.wh.Xo(),a.Fh&&_.yI(a.wh,a.Fh);else{a.Fh=null;a.Eh= null;var b=a.wh.getPosition();if(b&&(b=_.mq(b,a.rh.get("projection")),b=lWa(a,b))){let c=_.jw(b,a.rh.get("projection"));a.marker.get("place")||(a.Dh=!1,a.marker.set("position",b),a.Dh=!0);a.wh.setPosition(c)}}}));a.xh.push(_.Hm(a.qh,"deltaclientposition_changed",()=>{var b=a.qh.get("deltaClientPosition");if(b&&(a.Fh||a.Eh)){var c=a.Eh||a.Fh;a.Eh={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.Sh.An(a.Eh);b=_.mq(b,a.rh.get("projection"));c=a.Eh;var d=lWa(a,b);d&&(a.marker.get("place")|| (a.Dh=!1,a.marker.set("position",d),a.Dh=!0),d.equals(b)||(b=_.jw(d,a.rh.get("projection")),c=a.wh.Xo(b)));c&&_.yI(a.wh,c)}}))},nWa=function(a){if(a.sh){a.qh.bindTo("scale",a.sh);a.qh.bindTo("position",a.sh,"pixelPosition");let b=a.rh.__gm;a.sh.bindTo("latLngPosition",a.marker,"internalPosition");a.sh.bindTo("focus",a.rh,"position");a.sh.bindTo("zoom",b);a.sh.bindTo("offset",b);a.sh.bindTo("center",b,"projectionCenterQ");a.sh.bindTo("projection",a.rh)}},pWa=function(a){if(a.sh){let b=new oWa(a.rh instanceof _.Pn);b.bindTo("internalPosition",a.sh,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.qh.bindTo("draggable",b,"actuallyDraggable")}},aO=function(a){if(a.Dh){var b=ZN(a);b&&a.wh.setPosition(_.jw(b,a.rh.get("projection")))}},lWa=function(a,b){var c=a.rh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},cWa=function(a){return dWa.some(b=>qVa(a,b))},rWa=function(a,b,c){if(b instanceof _.hn){let d=b.__gm;Promise.all([d.rh, d.sh]).then(([{Sh:e},f])=>{qWa(a,b,c,e,f)})}else qWa(a,b,c,null)},qWa=function(a,b,c,d,e=!1){var f=new Map,g=h=>{var k=b instanceof _.hn,m=k?h.__gm.nt.map:h.__gm.nt.streetView,p=m&&m.rh===b,q=p!==a.contains(h);m&&q&&(k?(h.__gm.nt.map.dispose(),h.__gm.nt.map=null):(h.__gm.nt.streetView.dispose(),h.__gm.nt.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.hn?(k=b.__gm,h.__gm.nt.map=new sWa(h,b,c,_.qI(k,h),d,k.Jh,f)):h.__gm.nt.streetView=new sWa(h,b,c,_.ol,null,null,null),HVa(b, h,e))};_.Hm(a,"insert",g);_.Hm(a,"remove",g);a.forEach(g)},bO=function(a){return _.Dw()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio||1)},tWa=function(a,b,c){a=a.qh;a.width=b;a.height=c;return a},uWa=function(a){var b=[];a.Nj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},vWa=function(a){var b=uWa(a),c=a.getContext(),d=bO(c);a=a.Ci.size;c.clearRect(0,0,Math.ceil(a.Xh*d),Math.ceil(a.Zh* d));b.forEach(e=>{c.globalAlpha=_.Hl(e.opacity,1);c.drawImage(e.image,e.sx,e.sy,e.aC,e.TB,Math.round(e.dx*d),Math.round(e.dy*d),e.Bs*d,e.ys*d)})},wWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.Bsg.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.Qy;if(f.clickable===!1)continue;f=f.kD;if(wWa(a.x,a.y,d)){c=f;break}}c&&(b.Ak=d);return c},yWa=function(a,b){if(!b.XD){b.XD=!0;var c=_.lq(a.get("projection")),d=b.bw;if(d){d.dx<-64||d.dy< -64||d.dx+d.Bs>64||d.dy+d.ys>64?(_.hp(a.sh,b),d=a.rh.search(_.ds)):(d=b.latLng,d=new _.En(d.lat(),d.lng()),b.Sj=d,LN(a.th,{Sj:d,marker:b}),d=oVa(a.rh,d));for(let f=0,g=d.length;f{delete b.Nj[c];d.zm.Nj.remove(d)}))},AWa=function(a,b){a.tiles[_.Um(b)]=b;var c={li:b.uj.x,ni:b.uj.y,wi:b.zoom}, d=_.lq(a.get("projection")),e=_.Ax(a.Ci,c);e=new _.En(e.qh,e.rh);var {min:f,max:g}=_.MAa(a.Ci,c,64/a.Ci.size.Xh);c=_.ao(f.qh,f.rh,g.qh,g.rh);CVa(c,d,e,(h,k)=>{h.eK=k;h.zm=b;b.kK[_.Um(h)]=h;_.rI(a.rh,h);var m=(a.th.search(h)||[]).map(p=>p.marker);a.sh.forEach(p=>{m.push(p)});for(let p=0,q=m.length;p{b.Nj.remove(c);delete c.Qy.Nj[_.Um(c)]}), _.Al(b.kK,(c,d)=>{a.rh.remove(d)}))},xWa=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.Ci.size;a=nVa(a.Ci,new _.Ap(c.x,c.y),new _.Ap(f.x,f.y),b.zoom);c.x=a.li*e.Xh;c.y=a.ni*e.Zh;a=d.zIndex;_.Fl(a)||(a=c.y);a=Math.round(a*1E3)+Number(_.Um(d))%1E3;f=d.bw;b={image:f.image,sx:f.sx,sy:f.sy,aC:f.aC,TB:f.TB,dx:f.dx+c.x,dy:f.dy+c.y,Bs:f.Bs,ys:f.ys,zIndex:a,opacity:d.opacity,zm:b,Qy:d};return b.dx>e.Xh||b.dy>e.Zh|| b.dx+b.Bs<0||b.dy+b.ys<0?null:b},CWa=function(a){return typeof a==="string"?(dO.has(a)||dO.set(a,{url:a}),dO.get(a)):a},IWa=function(a,b,c){var d=new _.Yp,e=new _.Yp,f=new DWa;new EWa(a,d,new NN,f,c);var g=_.Xv(b.getDiv()).createElement("canvas"),h={};a=_.ao(-100,-300,100,300);var k=new _.fJ(a);a=_.ao(-90,-180,90,180);var m=BVa(a,(z,B)=>z.marker===B.marker),p=null,q=null,u=new _.Nn(null),x=b.__gm;x.rh.then(z=>{x.zh.register(new FWa(h,x,u,z.Sh.topology));_.Vu(z.Cv,B=>{if(B&&p!==B.Ci){q&&q.unbindAll(); var L=p=B.Ci;q=new GWa(h,d,e,function(O,U){return new HWa(U,new eO(O,U,g,L),O)},k,m,p);q.bindTo("projection",b);u.set(q.qh())}})});_.AI(b,u,"markerLayer",-1)},KWa=function(a){a.pv||(a.pv=_.RE(()=>{a.pv=0;var b=a.Tx;a.Tx={};var c=a.jz;for(let d of Object.values(b))JWa(a,d);c&&!a.jz&&a.Mv.forEach(d=>{JWa(a,d)})}))},JWa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.PO;if(!b.get("animating"))if(a.uF.remove(b),!c||b.get("visible")==0||b.__gm&& b.__gm.Sp)a.Mv.remove(b);else{a.jz&&!a.EH&&a.Mv.getSize()>=256&&(a.jz=!1);c=b.get("optimized");let e=b.get("draggable"),f=!!b.get("animation");var d=b.get("icon");let g=!!d&&d.path!=null;d=HN(d);let h=b.get("label")!=null;a.EH||c==0||e||f||g||d||h||!c&&a.jz?_.hp(a.Mv,b):(a.Mv.remove(b),_.hp(a.uF,b))}},LWa=function(a,b){var c=new _.Mo;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.Js.add(c);c.setMap(b);return c},MWa=function(a){a.yh|| (a.yh=setTimeout(()=>{var b=[...a.th].filter(c=>!c.Sq).length;b>0&&a.ri.Lh(a.map,b);a.yh=0},0))},PWa=function(a,b){a.wh.has(b)||(a.wh.add(b),_.kw(_.lw(),()=>{if(a.map){var c=[];for(let d of a.wh){if(!d.map)continue;let e=d.targetElement;e.parentNode||c.push(d);let f=d.Sp!==!1&&fO(d)||d.Hu,g=_.on(a.map);g||(a.zh||(a.zh=a.rh.attachShadow({mode:_.pp[166]?"open":"closed"}),a.zh.append(a.xh,a.qh)),a.rh.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.rh?e.setAttribute("slot",f?NWa:OWa):e.style.visibility= f?"hidden":"";d.Ln(!f);d.Ty=!1}a.wh.clear();for(let d of c)d.gC(!0)}}))},QWa=function(a){gO||(gO=new ResizeObserver(b=>{for(let c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))}));gO.observe(a)},TWa=function(a,b){var c=_.kb(b),d=hO.get(c);d||(d=new RWa(b),hO.set(c,d));b=d;SWa(a,b.So);b.th.add(a);MWa(b);QWa(a.targetElement)},UWa=function(a){a=_.kb(a);(a=hO.get(a))&&a.requestRedraw()},VWa=function(a,b){b=_.kb(b);(b=hO.get(b))&&PWa(b,a)},WWa=function(a){var b=0, c=0;for(let 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}},jO=function(a,b,c=!0){a.qh.position=a.Eh;iO(a,b,c)},iO=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();kO(a);XWa(a);a.rh&&(a.rh.release(),a.rh=null);c&&lO(a,"dragend",b)},mO=function(a,b){if(b){a.sh.style.display="";b=a.qh.anchorTop||"-100%";let c=a.qh.anchorLeft||"-50%";b==="0"&&(b="0px");c==="0"&&(c="0px");a.sh.style.left= `calc(-1 * ${c})`;a.sh.style.top=`calc(-1 * ${b})`}else a.sh.style.display="none"},ZWa=function(a){a.sh.style.opacity="0.5";a.sh.style.position="absolute";mO(a,!1);a.sh.style.transform="translate(-50%, -50%)";a.sh.style.zIndex="-1";YWa(a);var b=a.qh.Kp;b.addEventListener("pointerenter",a.Ih);b.addEventListener("pointerleave",a.Nh);b.addEventListener("focus",a.Ih);b.addEventListener("blur",a.Nh)},$Wa=function(a,b=!1){return a.th?_.my:b?"pointer":_.zoa},nO=function(a){var b=a.qh.Pk;b&&b.appendChild(a.sh)}, YWa=function(a){a.sh.children[0]?.remove();var b=a.qh,c;if(!(c=b.dragIndicator)){if(!b.Qx){let {url:d,scaledSize:e}=(new NN).qh;b.Qx=new Image(e.width,e.height);b.Qx.src=d;b.Qx.alt=""}c=b.Qx}a.sh.appendChild(c);nO(a)},bXa=function(a){if(!a.qh.cD){a.rh=new _.gJ((c,d)=>{var e=a.qh;e.Hi&&_.Tm(e.Hi,"panbynow",c,d)});_.xI(a.rh,!0);var b=aXa(a.qh);_.wI(a.rh,b);a.rh.th=a.wh}},cXa=function(a,b){kO(a);a.wh=!1;a.rh&&(a.rh.th=!1);a.xh=a.qh.Xo();a.Bh=_.WH(b)},dXa=function(a,b){var c=_.WH(b);if(c){b=c.clientX; c=c.clientY;var d=b-a.Bh.clientX,e=c-a.Bh.clientY;a.Bh={clientX:b,clientY:c};b={clientX:a.xh.clientX+d,clientY:a.xh.clientY+e};a.xh=b;a.qh.kF(b)}},lO=function(a,b,c){eXa(a.qh,b,c);a.qh.Kp.dispatchEvent(new Event(`gmp-${b}`,{bubbles:!0}))},fXa=function(a,b){a.xh=a.qh.Xo();a.Eh=a.qh.position;a.Bh=_.WH(b);a.th=!0;bXa(a);a.qh.Kp.setAttribute("aria-grabbed","true");oO(a.qh);a.qh.Kp.style.zIndex="2147483647";a.sh.style.opacity="1";mO(a,!0);lO(a,"dragstart",b)},gXa=function(a){a.wh&&(a.xh=a.qh.Xo())},pO= function(a){var b=a.Wh;_.Vw!==2?(b.removeEventListener("pointermove",a.Gh),b.removeEventListener("pointerup",a.yh),b.removeEventListener("pointercancel",a.yh)):(b.removeEventListener("touchmove",a.Gh,{passive:!1}),b.removeEventListener("touchend",a.yh),b.removeEventListener("touchcancel",a.yh),b.removeEventListener("touchstart",a.yh));kO(a);XWa(a);a.rh&&(a.rh.release(),a.rh=null)},kO=function(a){var b=a.qh.Kp;b.removeEventListener("keydown",a.ii);b.removeEventListener("keyup",a.pi);b.removeEventListener("blur", a.ai)},hXa=function(a){if(a.Fh.size===0)a.Dh=0;else{var {deltaX:b,deltaY:c}=WWa(a.Fh),d=1;_.dI(a.Oh)&&(d=a.Oh.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.xh.clientX+e,clientY:a.xh.clientY+d};a.xh=e;a.qh.kF(e);a.Dh=window.setTimeout(()=>{hXa(a)},10)}},XWa=function(a){a.th=!1;a.wh=!1;a.Bh=null;a.xh=null;clearTimeout(a.Dh);a.Dh=0;a.Eh=null;a.Lh=null;a.Ah=null;var b=a.qh.Kp,c=a.qh.zIndex;a.sh.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex= c==null?"":`${c}`;iXa(a.qh)},SWa=function(a,b){a.fD=b;if(a.ix){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},fO=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Yk&&!!a.map&&!!a.position},aXa=function(a){return a.Hi?a.Hi.get("pixelBounds"):null},oO=function(a){_.Tm(a,"REMOVE_COLLISION")},iXa=function(a){a.style.cursor=a.Uj?$Wa(a.Uj,a.Cy):a.Cy?"pointer":""},qO=function(a,b=!1){fO(a)&&(a.Hi&&mVa(a.Hi.Oh,a),_.Tm(a,"UPDATE_MARKER_COLLISION"), b&&a.Sz&&_.Tm(a,"UPDATE_BASEMAP_COLLISION"))},eXa=function(a,b,c){_.Tm(a,b,new _.GA(a.Vq,c,a.Jy?new _.En(a.Jy.Xh,a.Jy.Zh):null))},jXa=function(a){a.tp.then(()=>{_.sq(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},kXa=function(a){if(a.Zn.get("isOpen")){var {width:b}=a.getBoundingClientRect();a.Zn.set("anchorPoint",new _.En(b?b/2:0,0))}},rO=function(a){a.style.pointerEvents=a.iB?"none":a.pI?"auto":""},sO=function(a){a.Do=a.Cy||!!a.ix},lXa=function(a,b=!1){if(a.Hu||!a.ul)a.Zn.set("pixelPosition", null);else if(a.Zn.get("isOpen"))if(b)requestAnimationFrame(()=>{var {offsetX:c,offsetY:d}=JN(a.oA);a.Zn.set("pixelPosition",new _.En(c,d))});else{let {offsetX:c,offsetY:d}=JN(a.oA);a.Zn.set("pixelPosition",new _.En(c,d))}},mXa=function(a,b){var c;if(c=a.Uj)c=a.Uj,c=c.Ah&&b.timeStamp-c.Ah>=500?!0:c.zh;if(!c&&a.Vq){a.gmpDraggable||a.focus();eXa(a,"click",b);if(a.gmpClickable||_.Im(a,"gmp-click"))c=new tO,_.Tm(a,"gmp-click",c),a.dispatchEvent(c);a.ri.zh(b)}},nXa=function(a){!a.Bj&&a.map&&a.Hi&&(a.oF= !0,a.Bj=_.Ww(a,{Pl:({event:b,Qr:c})=>{a.pI?(_.Lv(b.qh),b.button===3||c||mXa(a,b.qh)):a===b.qh.target||a.iB||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'),a.ri.Bh(a.map))}}),a.Lq=_.Goa({draggable:a.eI,hH:new _.XA(a.map,"gestureHandling"),Nl:a.Hi.en,Ar:a}),_.Vu(a.Lq,a.HH),a.oF=!1)},uO=function(a){var b=c=>c.nodeType===Node.TEXT_NODE&&c.nodeValue!=null&&!/\S/.test(c.nodeValue); return a.childNodes.length>0?([...a.childNodes].every(b)&&_.Bm(_.Do(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.sj)?[a.sj]:[]},oXa=function(a,b,c){if(b&&c&&({altitude:b}=new _.lo(b),b>0||b<0))throw a.ri.Dh(window),_.Wl("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},vO=function(a){if(a.ol){let b=_.kb(a.ol),c= hO.get(b);c&&(c.th.delete(a),c.isEmpty()&&(c.dispose(),hO.delete(b)));gO&&gO.unobserve(a.targetElement);_.Tm(a,"REMOVE_FOCUS");_.Tm(a,"REMOVE_COLLISION");a.Sh&&(a.al&&(a.Sh.ym(a.al),a.al=null),a.Sh=null);a.Uj&&pO(a.Uj);a.CG?.remove();a.FK?.remove();a.lJ?.remove();a.JI?.remove();a.Lq?.removeListener(a.HH);a.Bj&&(a.Bj.remove(),a.Bj=null);a.Zn.set("map",null);a.Sz=null;a.Hi=null;a.ol=null;a.Ty=!0}},wO=function(a){if(a.Hi&&!a.Yk){var b=a.Hi.Jh;b&&(a.Do&&a.ul&&!a.Sp?b.Oh(a):_.Tm(a,"REMOVE_FOCUS"))}},qXa= function(a){var b=a.Hi.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.tr).includes(b.mapTypeId));a.Sz=a.rI&&!b;if(!a.Sq||a.position)a.Sz?UWa(a.map):pXa(a)},rXa=function(a){if(!a.Sq){var b=a.Hi.qh;b.nE.then(()=>{var c=_.Io(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.Hi&&a.Hi.pi();for(let d of c.qh)b.log(d);a.ri.Ah(a.map);a.dispose()}})}},sXa=function(a){a.ri.Ih(a.map);a.ri.th(a.map,a.iB);if(a.Cy){let b=_.Im(a,"gmp-click");a.ri.rh(a.map,b)}a.gmpDraggable&&a.ri.wh(a.map);a.title&&a.ri.xh(a.map); a.zIndex!==null&&a.ri.yh(a.map);a.Jm()>0&&a.ri.qh(a.map);a.ri.sh(a.map,a.collisionBehavior)},xO=function(a,b){a.Uj&&gXa(a.Uj);if(b){a.style.transform=`${`translate(${a.anchorLeft||"-50%"}, ${a.anchorTop||"-100%"})`} ${`translate(${b.x}px, ${b.y}px)`}`;let c=a.style.willChange?a.style.willChange.replace(/\s+/g,"").split(","):[];c.includes("transform")||_.kw(_.lw(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.aG=b?Math.round(b.y):null;tXa(a);a.ul=b;wO(a)},tXa=function(a){a.style.zIndex= a.pC!=null?`${a.pC}`:a.aG!=null?`${a.aG}`:""},pXa=function(a){var b=yVa(a.ol,a.Vq);a.al?a.al.setPosition(b,a.Jm()):a.Sh&&(b=new _.iJ(a.Sh.topology,a,b,a.Sh,null,a.Jm(),a.bN),a.Sh.Qj(b),a.al=b)};_.En.prototype.rB=_.fa(22,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var dWa=["click","dblclick","rightclick","contextmenu"],uXa=class extends _.Vm{constructor(){super();this.constraint=0;this.qh=!1}position_changed(){this.qh||(this.qh=!0,this.set("rawPosition",this.get("position")),this.qh=!1)}rawPosition_changed(){if(!this.qh){this.qh=!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 _.En(b,c)}else b=null; a.call(this,"position",b);this.qh=!1}}},vXa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.rh=new Float64Array(2);this.rh[0]=a;this.rh[1]=b;this.qh=new Float32Array(2)}transform(a){a.Uw(1,this.rh,this.qh,0,0,0);this.qh[0]+=this.offsetX;this.qh[1]+=this.offsetY}isVisible(a){return this.qh[0]>=-this.width&&this.qh[0]<=a.width+this.width&&this.qh[1]>=-this.height&&this.qh[1]<=a.height+this.height}equals(a){return this.rh[0]===a.rh[0]&&this.rh[1]===a.rh[1]&& this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}sh(a){return this.qh[0]>a.right||this.qh[0]+this.widtha.bottom||this.qh[1]+this.height>1],c[(e&1)+1],a[(e>>1)+1]);b.push(new AVa(f,this.qh,d))}b=this.items;delete this.items;for(let e=0,f=b.length;ea,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},yO=class{constructor(a){this.frames=a;this.qh=""}},MN;var ZVa={[1]:{options:{duration:700,bo:"infinite"},icon:new yO([{time:0,translate:[0,0],uo:"ease-out"},{time:.5,translate:[0,-20],uo:"ease-in"},{time:1,translate:[0,0],uo:"ease-out"}])},[2]:{options:{duration:500,bo:1},icon:new yO([{time:0,translate:[0,-500],uo:"ease-in"},{time:.5,translate:[0,0],uo:"ease-out"},{time:.75,translate:[0,-20],uo:"ease-in"},{time:1,translate:[0,0],uo:"ease-out"}])},[3]:{options:{duration:200,rB:20,bo:1,oK:!1},icon:new yO([{time:0,translate:[0,0],uo:"ease-in"},{time:1, translate:[0,-20],uo:"ease-out"}])},[4]:{options:{duration:500,rB:20,bo:1,oK:!1},icon:new yO([{time:0,translate:[0,-20],uo:"ease-in"},{time:.5,translate:[0,0],uo:"ease-out"},{time:.75,translate:[0,-10],uo:"ease-in"},{time:1,translate:[0,0],uo:"ease-out"}])}};var NN=class{constructor(){this.icon={url:_.Ew("api-3/images/spotlight-poi3",!0),scaledSize:new _.In(26,37),origin:new _.En(0,0),anchor:new _.En(13,37),labelOrigin:new _.En(13,14)};this.rh={url:_.Ew("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.In(26,37),origin:new _.En(0,0),anchor:new _.En(13,37),labelOrigin:new _.En(13,14)};this.qh={url:_.Ew("api-3/images/drag-cross",!0),scaledSize:new _.In(13,11),origin:new _.En(0,0),anchor:new _.En(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 wXa=class extends _.Vm{constructor(a,b){super();this.rh=a;this.qh=b;zO||(zO=new NN)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.kw(_.lw(),this.sh,this,this)}sh(){var a=this.get("modelIcon"),b=this.get("modelLabel");JVa(this,"viewIcon",a||b&&zO.rh||zO.icon);JVa(this,"viewCross",zO.qh);b=this.get("useDefaults");var c=this.get("modelShape");c||a&&!b||(c=zO.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},zO;var xXa=class extends _.Vm{constructor(){super();this.rh=!1;this.qh=KVa(this);this.set("shouldRender",this.qh)}changed(){if(!this.rh){var a=KVa(this);this.qh!==a&&(this.qh=a,this.rh=!0,this.set("shouldRender",this.qh),this.rh=!1)}}};var oWa=class extends _.Vm{constructor(a){super();this.rh=a;this.qh=!1}internalPosition_changed(){if(!this.qh){this.qh=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.qh=!1}}draggable_changed(){if(!this.qh){this.qh=!0;if(this.rh){let 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.qh=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var VVa=class{constructor(a,b,c,d,e){this.mn=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.th=this.wh=this.qh=null;this.rh=new _.ep(this.xh,0,this);this.sh=e;this.mn=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;this.rh.Di()}setLabel(a){this.label=a;this.rh.Di()}setVisible(a){this.visible=a;this.rh.Di()}setZIndex(a){this.zIndex=a;this.rh.Di()}release(){this.mn=null;ON(this)}xh(){if(this.mn&&this.label&&this.visible!==!1){var a=this.mn.markerLayer, b=this.label;this.qh?a.appendChild(this.qh):(this.qh=document.createElement("div"),a.appendChild(this.qh),this.qh.style.transform="translateZ(0)");a=this.qh;this.origin&&_.$v(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||_.aw("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.sh&&b!==this.th){this.th=b;let {width:e,height:f}=c.getBoundingClientRect();b=new _.In(e,f);b.equals(this.wh)||(this.wh=b,this.sh(b))}_.cF(c,_.Hl(this.opacity,1));_.bw(a,this.zIndex)}else ON(this)}};var QVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.rh=!1;this.qh=null}start(){this.options.bo=this.options.bo||1;this.options.duration=this.options.duration||1;_.Om(this.element,"webkitAnimationEnd",()=>{this.rh=!0;_.Tm(this,"done")});MVa(this.element,FVa(this.animation),this.options)}cancel(){this.qh&&(this.qh.remove(),this.qh=null);MVa(this.element,null,{});_.Tm(this,"done")}stop(){this.rh||(this.qh=_.Om(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var PN=[],QN=null,RVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.bo=-1;this.qh=!1;this.startTime=0;c.bo!=="infinity"&&(this.bo=c.bo||1);this.duration=c.duration||1E3}start(){PN.push(this);QN||(QN=window.setInterval(NVa,10));this.startTime=Date.now();this.tick()}cancel(){this.qh||(this.qh=!0,PVa(this,1),_.Tm(this,"done"))}stop(){this.qh||(this.bo=1)}tick(){if(!this.qh){var a=Date.now();PVa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.bo!=="infinite"&&(this.bo--,this.bo||this.cancel()))}}};var yXa=_.Xa.DEF_DEBUG_MARKERS,AO=class extends _.Vm{constructor(a,b,c){super();this.wh=this.qh=null;this.Wh=[];this.Ph=!1;this.targetElement=null;this.Uh=!1;this.th=null;this.elements=[];this.Gh=!0;this.Bh=0;this.sh=this.Rh=this.ii=this.ai=null;this.Jh=!1;this.element=this.zh=this.Bj=this.yh=this.Ah=this.Dh=null;this.Ih=!1;this.Er=null;this.xh=new _.ep(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.Fl(e)&&e<.1&&!this.Yk)UN(this);else{UVa(this, d.markerLayer);if(!this.Bh){var f=this.getIcon();if(f){var g=f.url;e=VN(this);var h=this.getDraggable(),k=this.get("title")||"",m=k;m||(m=(m=this.getLabel())?m.text:"");if(e||h||m){var p=!e&&!h&&!k,q=HN(f),u=YN(f),x=this.get("shape"),z=IN(f),B={};if(_.dw())f=z.width,z=z.height,q=new _.In(f+16,z+16),f={url:_.CA,size:q,anchor:u?new _.En(u.x+8,u.y+8):new _.En(Math.round(f/2)+8,z+8),scaledSize:q};else{let L=f.scaledSize||z;(_.rp.wh||_.rp.qh)&&x&&(B.shape=x,z=L);if(!q||x)f={url:_.CA,size:z,anchor:u,scaledSize:L}}u= f.url!=null;this.Uh===u&&TN(this);this.Uh=!u;B=this.targetElement=WN(this,this.getPanes().overlayMouseTarget,this.targetElement,f,B);this.targetElement.style.pointerEvents=p?"none":"";if(p=B.querySelector("img"))p.style.removeProperty("position"),p.style.removeProperty("opacity"),p.style.removeProperty("left"),p.style.removeProperty("top");u=B;p=null;(f=u.getAttribute("usemap")||u.firstChild&&u.firstChild.getAttribute("usemap"))&&f.length&&(u=_.Xv(u).getElementById(f.substring(1)))&&(p=u.firstChild); p&&(p.tabIndex=-1,p.style.display="inline",p.style.position="absolute",p.style.left="0px",p.style.top="0px");yXa&&(B.dataset.debugMarkerImage=g);B=p||B;B.title=k;m&&this.Ir().setAttribute("aria-label",m);this.Cz();h&&!this.yh&&(g=this.yh=new _.NGa(B,this.Fh,this.targetElement),this.Fh?(g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.Eh,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size",this),g.bindTo("panningEnabled", this),this.Dh||(this.Dh=[_.Sm(g,"dragstart",this),_.Sm(g,"drag",this),_.Sm(g,"dragend",this),_.Sm(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.yh.set("draggableCursor",g):B.style.cursor=e?g:"";bWa(this,B)}}}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.Yk;h?this.th=WN(this,d,this.th,e):(this.th&&_.hw(this.th),this.th=null);this.elements=[this.qh,this.th,this.targetElement];YVa(this);for(e= 0;e{_.fp(this.xh)})];this.getPosition=_.wn("position");this.getPanes=_.wn("panes");this.getVisible=_.wn("visible");this.getIcon=_.wn("icon");this.getLabel=_.wn("label")}oJ(){}get Do(){return this.Ih}set Do(a){this.Ih!==a&&(this.Ih=a,_.Tm(this,"UPDATE_FOCUS"))}get Yk(){return this.get("dragging")}panes_changed(){UN(this);this.xh.Di()}sq(a){this.set("position",a&&new _.En(a.Xh,a.Zh))}Xu(){this.unbindAll();this.set("panes",null);this.sh&&this.sh.stop(); this.Ah&&(_.Jm(this.Ah),this.Ah=null);this.sh=null;SN(this.Oh);this.Oh=[];UN(this);_.Tm(this,"RELEASED")}Nh(){var a;if(!(a=this.ai!==VN(this)||this.ii!==this.getDraggable())){a=this.Rh;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.yE(a.coords,b.coords))}a&&(this.ai=VN(this),this.ii=this.getDraggable(),this.Rh=this.get("shape"),TN(this),this.xh.Di())}rh(){this.xh.Di()}position_changed(){this.Fh?_.fp(this.xh):this.xh.Di()}Ir(){return this.targetElement}Cz(){var a=this.Ir();if(a){var b= !!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.Do?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}TA(a){_.Tm(this,"click",a);_.M(window,171149)}hv(){}Au(a){_.Lv(a);_.Tm(this,"click",a);_.M(window,171150)}SA(){}getDraggable(){return!!this.get("draggable")}fi(){this.set("dragging",!0);this.Eh.set("snappingCallback",this.Li)}pi(){this.Eh.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.Gh=!1;this.get("animation")? $Va(this):(this.set("animating",!1),this.sh&&this.sh.stop())}oI(a){var b=this.get("markerPosition");return this.Er&&b&&this.Er.size?uVa(a,this.targetElement):!1}};_.aa=AO.prototype;_.aa.shape_changed=AO.prototype.Nh;_.aa.clickable_changed=AO.prototype.Nh;_.aa.draggable_changed=AO.prototype.Nh;_.aa.cursor_changed=AO.prototype.rh;_.aa.scale_changed=AO.prototype.rh;_.aa.raiseOnDrag_changed=AO.prototype.rh;_.aa.crossOnDrag_changed=AO.prototype.rh;_.aa.zIndex_changed=AO.prototype.rh; _.aa.opacity_changed=AO.prototype.rh;_.aa.title_changed=AO.prototype.rh;_.aa.cross_changed=AO.prototype.rh;_.aa.icon_changed=AO.prototype.rh;_.aa.visible_changed=AO.prototype.rh;_.aa.dragging_changed=AO.prototype.rh;var hWa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),sWa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.rh=b;this.Sh=e;this.Gh=f;this.th=g;this.Dh=!0;this.Eh=this.Fh=null;this.xh=[];this.Bh=b instanceof _.hn;f=ZN(this);b=this.Bh&&f?_.jw(f,b.getProjection()):null;this.qh=new AO(d,!!this.Bh,h=>{this.qh.Er=a.__gm.Er={...a.__gm.Er,hT:h};a.__gm.zA&&a.__gm.zA()});_.Hm(this.qh,"RELEASED",()=>{var h=this.qh;if(this.th&&this.th.has(h)){({DH:h}= this.th.get(h));for(let k of h)k.remove()}this.th&&this.th.delete(this.qh)});this.Gh&&this.th&&!this.th.has(this.qh)&&(this.th.set(this.qh,{marker:this.marker,DH:[]}),this.Gh.Gh(this.qh),$N(this,this.qh),eWa(this,this.qh));(this.wh=this.Bh?new _.iJ(e.topology,this.qh,b,e,()=>{if(this.qh.get("dragging")&&!this.marker.get("place")){var h=this.wh.getPosition();h&&(h=_.mq(h,this.rh.get("projection")),this.Dh=!1,this.marker.set("position",h),this.Dh=!0)}}):null)&&e.Qj(this.wh);this.yh=new wXa(c,(h,k,m)=> {this.qh.Er=a.__gm.Er={...a.__gm.Er,size:h,anchor:k,labelOrigin:m};a.__gm.zA&&a.__gm.zA()});this.sh=this.Bh?null:new _.WI;this.zh=this.Bh?null:new xXa;this.Ah=new _.Vm;this.Ah.bindTo("position",this.marker);this.Ah.bindTo("place",this.marker);this.Ah.bindTo("draggable",this.marker);this.Ah.bindTo("dragging",this.marker);this.yh.bindTo("modelIcon",this.marker,"icon");this.yh.bindTo("modelLabel",this.marker,"label");this.yh.bindTo("modelCross",this.marker,"cross");this.yh.bindTo("modelShape",this.marker, "shape");this.yh.bindTo("useDefaults",this.marker,"useDefaults");this.qh.bindTo("icon",this.yh,"viewIcon");this.qh.bindTo("label",this.yh,"viewLabel");this.qh.bindTo("cross",this.yh,"viewCross");this.qh.bindTo("shape",this.yh,"viewShape");this.qh.bindTo("title",this.marker);this.qh.bindTo("cursor",this.marker);this.qh.bindTo("dragging",this.marker);this.qh.bindTo("clickable",this.marker);this.qh.bindTo("zIndex",this.marker);this.qh.bindTo("opacity",this.marker);this.qh.bindTo("anchorPoint",this.marker); this.qh.bindTo("markerPosition",this.marker,"position");this.qh.bindTo("animation",this.marker);this.qh.bindTo("crossOnDrag",this.marker);this.qh.bindTo("raiseOnDrag",this.marker);this.qh.bindTo("animating",this.marker);this.zh||this.qh.bindTo("visible",this.marker);fWa(this);gWa(this);iWa(this);this.Bh?(jWa(this),kWa(this),mWa(this)):(nWa(this),this.sh&&(this.zh.bindTo("visible",this.marker),this.zh.bindTo("cursor",this.marker),this.zh.bindTo("icon",this.marker),this.zh.bindTo("icon",this.yh,"viewIcon"), this.zh.bindTo("mapPixelBoundsQ",this.rh.__gm,"pixelBoundsQ"),this.zh.bindTo("position",this.sh,"pixelPosition"),this.qh.bindTo("visible",this.zh,"shouldRender")),pWa(this))}dispose(){this.qh.set("animation",null);this.qh.Xu();this.Sh&&this.wh?this.Sh.ym(this.wh):this.qh.Xu();this.zh&&this.zh.unbindAll();this.sh&&this.sh.unbindAll();this.yh.unbindAll();this.Ah.unbindAll();this.xh.forEach(_.Jm);this.xh.length=0}};var eO=class{constructor(a,b,c,d){this.div=a;this.Nj=b;this.qh=c;this.Ci=d}getContext(){if(!this.context){let a=this.div,b=a.ownerDocument.createElement("canvas");_.xp(b);b.style.position="absolute";b.style.top=b.style.left="0";let c=b.getContext("2d"),d=bO(c),e=this.Ci.size;b.width=Math.ceil(e.Xh*d);b.height=Math.ceil(e.Zh*d);b.style.width=_.Ll(e.Xh);b.style.height=_.Ll(e.Zh);a.appendChild(b);this.context=c}return this.context}pG(a){var b=uWa(this),c=this.getContext(),d=bO(c),e=Math.round(a.dx*d), f=Math.round(a.dy*d),g=Math.ceil(a.Bs*d);a=Math.ceil(a.ys*d);var h=tWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(m=>{k.globalAlpha=_.Hl(m.opacity,1);k.drawImage(m.image,m.sx,m.sy,m.aC,m.TB,Math.round(m.dx*d),Math.round(m.dy*d),m.Bs*d,m.ys*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};eO.prototype.uP=eO.prototype.pG;var DWa=class{constructor(){this.qh=_.PE().qh}load(a,b){return this.qh.load(new _.qH(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 _.En(e.width/2,e.height),h=f.width/d.width,k=f.height/d.height,m=a.origin?a.origin.x/h:0,p=a.origin?a.origin.y/k:0,q=-g.x;g=-g.y;var u=e.width/h,x=e.width,z=e.height/k,B=e.height;m*h+e.width>f.width&&(u=d.width-m*h,x=f.width);p*k+e.height>f.height&&(z=d.height-p*k,B=f.height);b({image:c,sx:m,sy:p,aC:u,TB:z,dx:q, dy:g,Bs:x,ys:B})}else b(null)})}cancel(a){this.qh.cancel(a)}};var FWa=class{constructor(a,b,c,d){this.qh=b;this.rh=c;this.zIndex=40;this.sh=new _.jJ(a,d,c)}fv(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}mv(a,b){return b?cO(this,a,-8,0)||cO(this,a,0,-8)||cO(this,a,8,0)||cO(this,a,0,8):cO(this,a,0,0)}handleEvent(a,b,c){var d=b.Ak;if(a==="mouseout")this.qh.set("cursor",""),this.qh.set("title",null);else if(a==="mouseover"){var e=d.Qy;this.qh.set("cursor",e.cursor);(e=e.title)&&this.qh.set("title",e)}var f;d&&a!=="mouseout"?f=d.Qy.latLng:f=b.latLng;a=== "dblclick"&&_.Fm(b.domEvent);_.Tm(c,a,new _.GA(f,b.domEvent))}};var GWa=class extends _.ct{constructor(a,b,c,d,e,f,g){super();this.tiles=a;this.wh=d;this.sh=c;this.rh=e;this.th=f;this.Ci=g||_.RA;b.qh=h=>{yWa(this,h)};b.onRemove=h=>{zWa(this,h)};b.forEach(h=>{yWa(this,h)})}qh(){return{Ci:this.Ci,Fn:2,qm:this.qm.bind(this)}}qm(a,b={}){var c=document.createElement("div"),d=this.Ci.size;c.style.width=`${d.Xh}px`;c.style.height=`${d.Zh}px`;c.style.overflow="hidden";a={div:c,zoom:a.wi,uj:new _.En(a.li,a.ni),kK:{},Nj:new _.Yp};c.zm=a;AWa(this,a);var e=!1;return{nk:()=> c,Jo:()=>e,loaded:new Promise(f=>{_.Qm(c,"load",()=>{e=!0;f()})}),release:()=>{var f=c.zm;c.zm=null;BWa(this,f);c.textContent="";b.zk&&b.zk()}}}};var HWa=class{constructor(a,b,c){this.rh=b;this.timeout=null;this.qh=!1;this.sh=0;this.Nj=a;var d=this;a.qh=e=>{d.Ur(e,!0)};a.onRemove=e=>{d.onRemove(e)};this.div=c;a.getSize()?(this.qh=!0,this.fq()):queueMicrotask(()=>{_.Tm(c,"load")})}onRemove(a){this.Ur(a,!1)}Ur(a,b){this.sh++<4?b?this.rh.pG(a):this.rh.uP(a):this.qh=!0;this.timeout||(this.timeout=_.RE(this.fq.bind(this)))}fq(){this.qh&&vWa(this.rh);this.qh=!1;this.timeout=null;this.sh=0;queueMicrotask(()=>{_.Tm(this.div,"load")})}};var EWa=class{constructor(a,b,c,d,e){var f=CWa;this.markers=a;this.rh=b;this.qh=c;this.wh=f;this.th=d;this.sh=e;this.markers.qh=g=>{this.rw(g)};this.markers.onRemove=g=>{this.cz(g)}}rw(a){var b=a.get("internalPosition"),c=a.get("zIndex"),d=a.get("opacity"),e=a.__gm.aB={kD:a,latLng:b,zIndex:c,opacity:d,Nj:{}};b=a.get("useDefaults");c=a.get("icon");var f=a.get("shape")||c&&!b?a.get("shape"):this.qh.shape,g=c?this.wh(c):this.qh.icon,h=tVa(()=>{e===a.__gm.aB&&(e.bw||e.WJ)&&this.jn(a,e,g,f)});g.url?this.th.load(g, k=>{e.bw=k;h()}):(e.WJ=this.sh(g),h())}cz(a){this.rh.remove(a.__gm.aB);a.__gm.aB=null}jn(a,b,c,d){if(b.bw){c=c.size;var e=a.get("anchorPoint");if(!e||e.qh)e=new _.En(b.bw.dx+c.width/2,b.bw.dy),e.qh=!0,a.set("anchorPoint",e)}else c=b.WJ.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";_.hp(this.rh,b)}};var dO=new Map;var zXa=class{constructor(a,b,c,d){this.Tx={};this.pv=0;this.jz=!0;var e=this;this.uF=b;this.Mv=c;this.EH=d;var 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.PO=function(g){g in f&&(delete this.changed,e.Tx[_.Um(this)]=this,KWa(e))};a.qh=g=>{e.rw(g)};a.onRemove=g=>{e.cz(g)};a=a.elements;for(let g of Object.values(a))this.rw(g)}rw(a){this.Tx[_.Um(a)]= a;KWa(this)}cz(a){delete a.changed;delete this.Tx[_.Um(a)];this.uF.remove(a);this.Mv.remove(a)}};var tO=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var AXa=class{Ih(){}Fh(){}rh(){}sh(){}th(){}Ah(){}Dh(){}yh(){}wh(){}xh(){}Bh(){}Eh(){}qh(){}Gh(){}Jh(){}Nh(){}Lh(){}zh(){}};var BXa=(0,_.Zi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var OWa=pVa("visible-gmp-advanced-markers"),NWa=pVa("hidden-gmp-advanced-markers"),RWa=class{constructor(a){this.ri=CXa;this.wq=null;this.Bh=!1;this.zh=null;this.yh=0;this.Ah=null;this.map=a;this.th=new Set;this.wh=new Set;this.So=`maps-aria-${_.gn()}`;this.sh=document.createElement("span");this.sh.id=this.So;this.sh.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.sh.style.display="none";this.xh=document.createElement("div");this.qh=document.createElement("div");CSS.supports("content-visibility: hidden")?this.qh.style.contentVisibility="hidden":this.qh.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",OWa);this.xh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",NWa);this.qh.appendChild(b);this.rh=document.createElement("div");this.rh.append(this.xh,this.qh);var c=a.__gm;this.Eh=c.Gr;this.Dh=new Promise(d=> {c.sh.then(e=>{this.map&&(e&&(this.wq=LWa(this,a)),this.Bh=!0);d()})});_.xt(BXa,this.map.getDiv());Promise.all([c.rh,this.Dh]).then(([{mn:d}])=>{this.map&&d.overlayMouseTarget.append(this.sh,this.rh);this.Ah=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.sh,this.rh)})})}dispose(){this.wq&&(this.wq.setMap(null),this.wq=null);this.Ah&&this.Ah.remove();this.sh.remove();this.qh.remove();this.xh.remove();this.rh.remove();this.qh.textContent="";this.xh.textContent="";this.th.clear(); this.wh.clear();this.map=null}isEmpty(){return this.th.size===0}requestRedraw(){this.Bh?this.wq&&this.wq.requestRedraw():this.Dh.then(()=>{this.wq&&this.wq.requestRedraw()})}onDraw(a){if(this.map){var b=this.Eh.offsetWidth,c=this.Eh.offsetHeight,d=_.zp(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(let h of this.th.values()){a:{var e=h.gO;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.Dl(f.lng(),-180,180);var g=_.Dl(e.lng,-180,180);f>0&&gf+ 180&&(g-=360);e=new _.lo({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.sq(null,d);continue}f=a.fromLatLngAltitude(e);e=g=[0,0,0];let [k,m,p]=e,q=1/(f[3]*k+f[7]*m+f[11]*p+f[15]);e[0]=(f[0]*k+f[4]*m+f[8]*p+f[12])*q;e[1]=(f[1]*k+f[5]*m+f[9]*p+f[13])*q;e[2]=(f[2]*k+f[6]*m+f[10]*p+f[14])*q;let {YN:u,HQ:x}={YN:f[14]<0&&f[15]<0,HQ:g};u?h.sq(null,d):h.sq({Xh:KN(x[0]/2*b),Zh:KN(-x[1]/2*c)},d,{Xh:b,Zh:c})}}}};var hO=new Map,CXa=new class extends AXa{Ih(a){a&&a&&_.M(a,181191)}Fh(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&a&&_.M(a,159713);b==="RASTER"?a&&_.M(a,157416):b==="VECTOR"&&a&&_.M(a,157417)}}rh(a,b=!1){a&&_.M(a,158896);b&&a&&_.M(a,185214)}sh(a,b){b&&(b!=="REQUIRED"&&a&&_.M(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?a&&_.M(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&a&&_.M(a,160099))}th(a,b){b?a&&_.M(a,159404):a&&_.M(a,159405)}Ah(a){a&&_.M(a,159484)}Dh(a){a&&_.M(a,160438)}yh(a){a&& _.M(a,159521)}wh(a){a&&_.M(a,160103)}xh(a){a&&_.M(a,159805)}Bh(a){a&&_.M(a,159490)}Eh(a){a&&_.M(a,159812)}qh(a){a&&_.M(a,159609)}Gh(a){a&&_.M(a,160122)}Jh(a){a&&_.M(a,160106)}Nh(a){a&&_.M(a,160478)}Lh(a,b){var c=[{threshold:1E4,Iq:160636},{threshold:5E3,Iq:160635},{threshold:2E3,Iq:160634},{threshold:1E3,Iq:160633},{threshold:500,Iq:160632},{threshold:200,Iq:160631},{threshold:100,Iq:160630},{threshold:50,Iq:159732},{threshold:10,Iq:160629},{threshold:1,Iq:160628}];for(let {threshold:d,Iq:e}of c)if(b>= d){a&&_.M(a,e);break}}zh(a){window&&_.M(window,a instanceof KeyboardEvent?171152:171153)}},DXa=new AXa,gO=null;var EXa=class{constructor(a){this.qh=a;this.Wh=document;this.wh=this.th=!1;this.Ah=this.rh=this.xh=this.Bh=this.Eh=this.Lh=null;this.Dh=0;this.Oh=null;this.Rh=b=>{this.gv(b)};this.Uh=b=>{b.touches.length===1&&this.gv(b)};this.Ph=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Jh=b=>{if(this.wh||this.zh||zVa(b,this.Lh))this.zh=!0};a=this.qh.Kp;a instanceof HTMLElement&&(a.style.touchAction="none");_.Vw!==2?(a.addEventListener("pointerdown",this.Rh),a.addEventListener("pointermove",this.Jh)): (a.addEventListener("touchstart",this.Uh,{passive:!1}),a.addEventListener("touchmove",this.Jh,{passive:!1}));a.addEventListener("mousedown",this.Ph);this.Gh=b=>{b.preventDefault();b.stopImmediatePropagation();this.wh?cXa(this,b):this.th?(dXa(this,b),lO(this,"drag",b)):(fXa(this,b),b=this.qh,b.ri.Nh(b.map))};this.yh=b=>{this.Ah&&b.timeStamp-this.Ah>=500&&(!this.th||this.wh)?(this.wh?cXa(this,b):(fXa(this,b),b=this.qh,b.ri.Jh(b.map),b.Sq&&_.Tm(b,"longpressdragstart")),this.zh=!0):(this.th&&(this.wh|| this.zh||zVa(b,this.Lh))&&(this.zh=!0),this.wh&&iO(this,b),b.type==="touchend"&&mO(this,!1),this.th?(b.stopImmediatePropagation(),dXa(this,b),pO(this),qO(this.qh,!0),lO(this,"dragend",b)):pO(this))};this.ii=b=>{this.fi(b)};this.pi=b=>{this.ui(b)};this.ai=b=>{jO(this,b)};this.fi=b=>{if(b.altKey&&(_.ey(b)||b.key===_.Lra))jO(this,b);else if(!b.altKey&&_.ey(b))this.zh=!0,iO(this,b);else if(_.fy(b)||_.hy(b)||_.gy(b)||_.iy(b))b.preventDefault(),this.Fh.add(b.key),this.Dh||(this.Oh=new _.tI(100),hXa(this)), lO(this,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.qh;b=b.code==="Equal"?1:-1;let d=yVa(c.ol,c.Vq);d&&c.Sh.EK(b,d)}};this.ui=b=>{(_.fy(b)||_.hy(b)||_.gy(b)||_.iy(b))&&this.Fh.delete(b.key)};this.Ih=()=>{mO(this,!0)};this.Nh=()=>{this.th||mO(this,!1)};this.sh=document.createElement("div");ZWa(this);this.zh=!1;this.Fh=new Set}gC(a){this.rh&&_.uI(this.rh,a)}gv(a){this.zh=!1;if(this.qh.gmpDraggable&&(a.button===0||a.type==="touchstart")){let b=this.qh.Kp;b.focus();let c=_.Xv(a.target)|| document;this.Wh=c;_.Vw!==2||a.preventDefault();a.stopImmediatePropagation();this.Ah=a.timeStamp;_.Vw!==2?(c.addEventListener("pointermove",this.Gh),c.addEventListener("pointerup",this.yh),c.addEventListener("pointercancel",this.yh)):(c.addEventListener("touchmove",this.Gh,{passive:!1}),c.addEventListener("touchend",this.yh),c.addEventListener("touchcancel",this.yh),c.addEventListener("touchstart",this.yh));this.th||(this.Lh=_.WH(a));b.style.cursor=_.my}}TA(){this.th||(this.zh=!1)}hv(a){if(this.qh.gmpDraggable&& !this.wh&&!this.th){var b=this.qh.Kp;b.addEventListener("keydown",this.ii);b.addEventListener("keyup",this.pi);b.addEventListener("blur",this.ai);this.xh=this.qh.Xo();this.Eh=this.qh.position;this.wh=this.th=!0;bXa(this);b=this.qh.Kp;b.setAttribute("aria-grabbed","true");oO(this.qh);b.style.zIndex="2147483647";this.sh.style.opacity="1";lO(this,"dragstart",a);a=this.qh;a.ri.Gh(a.map)}}SA(a,b=!0){this.wh?jO(this,a,b):this.th&&(this.qh.position=this.Eh,a.stopImmediatePropagation(),pO(this),b&&lO(this, "dragend",a))}Yk(){return this.th}dispose(){pO(this);var a=this.qh.Kp;a instanceof HTMLElement&&(a.style.touchAction="");_.Vw!==2?(a.removeEventListener("pointerdown",this.Rh),a.removeEventListener("pointermove",this.Jh)):(a.removeEventListener("touchstart",this.Uh,{passive:!1}),a.removeEventListener("touchmove",this.Jh,{passive:!1}));a.removeEventListener("mousedown",this.Ph);a.removeEventListener("pointerenter",this.Ih);a.removeEventListener("pointerleave",this.Nh);a.removeEventListener("focus", this.Ih);a.removeEventListener("blur",this.Nh);this.sh.remove()}};var FXa={click:"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...).",drag:"Please use addEventListener('gmp-drag', ...) instead of addEventListener('drag', ...).",dragstart:"Please use addEventListener('gmp-dragstart', ...) instead of addEventListener('dragstart', ...).",dragend:"Please use addEventListener('gmp-dragend', ...) instead of addEventListener('dragend', ...)."},BO=!1,CO=class extends _.Hs{set anchorTop(a){this.UN=_.Go(this,"anchorTop",_.Dr,a);xO(this, this.ul);qO(this,!0)}get anchorTop(){return this.UN}set anchorLeft(a){this.TN=_.Go(this,"anchorLeft",_.Dr,a);xO(this,this.ul);qO(this,!0)}get anchorLeft(){return this.TN}constructor(a={}){super(a);this.Qx=this.Bj=this.Uj=null;this.fD="";this.xm=this.Jy=this.ZF=this.Sh=this.al=this.Kl=null;this.WF=!1;this.nC=null;this.SE=this.rI=this.oC=this.YF=!1;this.Hi=this.Sz=this.JI=this.lJ=this.FK=this.CG=null;this.hx=void 0;this.ix=this.XF=!1;this.eI=_.On(!1);this.Vq=this.jx=this.Lq=null;this.Ot="";this.ol= this.aG=this.pC=void 0;this.RC=this.SC=!0;this.VD=this.oF=!1;this.Ty=!0;document.createElement("div");jXa(this);this.targetElement=this;this.Kp=this;this.Sq=BO;Object.defineProperties(this,{Sq:{value:BO,writable:!1}});this.ri=this.Sq?DXa:CXa;this.addEventListener("focus",e=>{this.ED(e)},{capture:!0});this.addEventListener("marker-resize",()=>{kXa(this);qO(this,!0)});this.sj=new _.cB;this.Rj=document.createElement("div");_.sq(this.Rj,"content-container");this.Kl=document.createElement("slot");this.Kl.addEventListener("slotchange", ()=>{this.Qq()});this.Rj.appendChild(this.Kl);this.Kl.prepend(this.sj);this.Qq();Promise.resolve().then(()=>{rO(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.oA=getComputedStyle(this);this.bN=(e,f,g)=>this.IA(e,f,g);var b=()=>{rO(this);sO(this);var e=_.Im(this,"gmp-click");this.ri.rh(this.map,e)},c=()=>{rO(this);sO(this)},d=["click"];d.push("gmp-click");for(let e of d)sVa(this,e,b),rVa(this,e,c);this.Zn=new _.Vm;this.Zn.addListener("isopen_changed", ()=>{lXa(this);kXa(this)});this.HH=e=>{this.Bj?.xt(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.cD=!!a.cD;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,CO,"AdvancedMarkerElement")}addEventListener(a,b,c){var d=FXa[a];!d||a==="click"&&this.oF||_.Bm(_.Do(this,d));super.addEventListener(a,b,c)}addListener(a,b){_.Bm(_.Do(this, "Please use addEventListener with 'gmp-' events instead of addListener."));return _.Hm(this,a,b)}ED(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.ri.Eh(this.map),a=[document.body,..._.fw(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.Do){var b=()=>{this.isConnected&&this.ul?setTimeout(()=>{this.focus();a()},0):_.kw(_.lw(),b)};b()}})}Au(){}SA(a){this.Uj&&(this.Uj.SA(a,!this.Sq),this.Sq&&_.Tm(this,"dragcancel"))}get collisionBehavior(){return this.hx}set collisionBehavior(a){a= _.Go(this,"collisionBehavior",_.hm(_.am(_.Tr)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.hx=a,this.ri.sh(this.map,this.hx),this.map&&(!fO(this)&&this.Hi?lVa(this.Hi.Oh,this):qO(this,!0)))}get element(){return this}get iB(){return uO(this)[0]===this.sj}get content(){var a=uO(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= _.Go(this,"content",_.hm(_.fm([_.$l(Node,"Node"),_.em(_.Zl)])),a)||this.sj;var b=uO(this);if(b.length!==1||b[0]!==a)a!==this.sj?this.replaceChildren(a):a===this.sj&&this.replaceChildren(),this.Qq()}Qq(){var a=()=>{this.Kl&&!this.Kl.contains(this.sj)&&this.Kl.prepend(this.sj);this.xm=null;this.Uj&&nO(this.Uj);qO(this,!0);rO(this)};this.ri.th(this.map,this.iB);this.tp.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.XF}set gmpClickable(a){a=_.Go(this,"gmpClickable", _.Er,a)||!1;this.XF!==a&&(this.XF=a,rO(this),sO(this))}get gmpDraggable(){return this.ix}set gmpDraggable(a){a=_.Go(this,"gmpDraggable",_.Er,a)||!1;oXa(this,this.position,a);this.eI.set(a);this.ix!==a&&((this.ix=a)?(this.ri.wh(this.map),this.setAttribute("aria-grabbed","false"),SWa(this,this.fD),this.Uj=new EXa(this),YWa(this.Uj)):(this.removeAttribute("aria-grabbed"),this.oJ(this.fD),this.Uj.dispose(),this.Uj=null),rO(this),sO(this))}oJ(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.ol}set map(a){this.setMap(a);this.ol&&(a=_.on(this.ol))&&this.parentElement!==a&&a.append(this)}setMap(a){this.ol!==a&&(a=_.Go(this,"map",_.hm(_.$l(_.hn,"MapsApiMap")),a),a instanceof _.hn&&(a=a.RP),a&&this.isConnected?vO(this):this.dispose(),this.ol=a,this.Zn.set("map",this.ol),this.ol instanceof _.hn?(this.ol&&TWa(this,this.ol),this.Hi=this.ol.__gm,nXa(this), this.CG=this.ol.addListener("bounds_changed",()=>{wO(this)}),this.FK=this.ol.addListener("zoom_changed",()=>{wO(this)}),this.lJ=this.ol.addListener("projection_changed",()=>{wO(this)}),this.JI=this.ol.addListener("maptypeid_changed",()=>{qXa(this)}),Promise.all([this.Hi.rh,this.Hi.sh]).then(([b,c])=>{this.ol===b.map&&(this.rI=c,this.ri.Fh(b.map),c=this.Hi.qh,this.Sq||_.Io(c,"ADVANCED_MARKERS").isAvailable)&&(this.Sh=b.Sh,qXa(this))}),rXa(this),sXa(this)):this.Hi=null)}get position(){return this.jx}set position(a){a= (a=_.Go(this,"position",_.hm(_.hq),a)||null)&&new _.lo(a);var b=this.jx;oXa(this,a,this.gmpDraggable);if(b&&a){var c=new _.lo(b,!0);let d=new _.lo(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Vq=(this.jx=a)?new _.sm(a):null,this.SE=!0,a||xO(this,null),this.Zn.set("position",this.Vq),this.Zn.set("map",this.map),this.Sz?UWa(this.map):pXa(this),this.Jm()>0&&this.ri.qh(this.map),_.yo(this,"position",b))}get gO(){return this.jx}get title(){return this.Ot}set title(a){a=_.Go(this,"title",_.Bq,a);var b=this.Ot; a!==this.title&&(this.Ot=a,this.title&&this.ri.xh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.Cz(),_.yo(this,"title",b))}get zIndex(){return this.pC}set zIndex(a){a=_.Go(this,"zIndex",_.hm(_.yr),a);this.pC=a==null?null:a;tXa(this);this.zIndex!==null&&this.ri.yh(this.map);qO(this)}get Cy(){var a=_.Im(this,"click"),b=_.Im(this,"gmp-click");return a||b||!!this.gmpClickable}get pI(){return this.Cy|| !!this.gmpDraggable}get Do(){return this.WF}set Do(a){iXa(this);this.WF!==a&&(this.WF=a,wO(this))}get Hu(){return this.oC}set Hu(a){if(a!==this.oC){if(this.oC=a)this.RC=this.SC=!1,oO(this);this.map&&VWa(this,this.map)}}get Sp(){return this.nC}set Sp(a){a!==this.nC&&(this.nC=a,this.map&&VWa(this,this.map),wO(this),_.Tm(this,"UPDATE_BASEMAP_COLLISION"))}ny(){if(!this.ul)return null;if(!this.xm)for(let c of uO(this)){var a=this.oA;let {offset:d,size:e}=wVa(this,c);var b=JN(a);a=b.offsetY+d.y;b=b.offsetX+ d.x;a=_.ao(b,a,b+e.width,a+e.height);this.xm?this.xm.extendByBounds(a):this.xm=a}return this.xm}get ul(){return this.ZF}set ul(a){var b=this.ZF==null&&!!a;this.ZF=a;lXa(this,b)}Jm(){return this.jx?this.jx.altitude:0}IA(a,b,c){return this.ol?(c=_.CDa(this.ol.getProjection(),this.Vq,c))?a/c*Math.sin(b*Math.PI/180):0:0}sq(a,b,c){if(a){if(this.Uj){b=this.Uj;var d=b.qh;b=(d=d.Hi?d.Hi.Gr:null)&&b.xh&&b.th&&!b.wh?xVa(d,b.xh):null}else b=null;b&&(a=b);this.Jy=a;b=this.Hu;this.Hu=!(!c||!(Math.abs(a.Xh)>c.Xh/ 2+512||Math.abs(a.Zh)>c.Zh/2+512));b&&this.Hu||(this.Ty&&this.map&&(c=_.kb(this.map),(c=hO.get(c))&&PWa(c,this)),(new _.En(a.Xh,a.Zh)).equals(this.ul)||(xO(this,new _.En(a.Xh,a.Zh)),this.gC(this.SE)),this.SE=!1,this.RC=this.SC=!0)}else this.Hu=!0,this.Jy=null,xO(this,null)}gC(a){this.xm=null;this.Uj&&this.Uj.rh&&this.Uj.gC(this.ny());qO(this,a)}Ln(a){this.YF!==a&&(this.YF=a,this.Zn.set("map",this.YF?this.map:null))}MA(){if(!fO(this)||this.Sp||!uO(this).length)return null;var a=this.map.getProjection(); if(!a)return null;a=a.fromLatLngToPoint(this.Vq);var b=[];for(let f of uO(this)){a:{var c=f;var d=this.ul;var e=this.oA;if(!d){d={size:new _.In(0,0),offset:new _.En(0,0)};break a}let {size:k,offset:m}=wVa(this,c);c=JN(e);d={size:k,offset:new _.En(c.offsetX-d.x+m.x,c.offsetY-d.y+m.y)}}let {size:g,offset:h}=d;d=new vXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}Xu(){}Ir(){return this}oI(a){return!this.position||this.nC?!1:uVa(a,this)}Cz(){var a=this.Ir();this.Do?a.setAttribute("role","button"): this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Yk(){return this.Uj?this.Uj.Yk():!1}removeElement(){xO(this,null);oO(this);this.SC&&this.Sh&&this.al&&(this.Sh.ym(this.al),this.al=null);this.remove();this.Ty=!0}dispose(){if(!this.VD){this.VD=!0;try{this.ol&&(vO(this),this.removeElement())}finally{this.VD=!1}}}kF(a){{let c=this.Hi?.get("projectionController");if(this.Hi&&a&&c){var b=this.Hi.Gr.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.En(a.clientX-b.left,a.clientY- b.top))}else a=null}a&&(this.position=a)}Xo(){var a=this.Hi?.get("projectionController");if(!this.Hi||!a||!this.Vq)return null;a=a.fromLatLngToContainerPixel(this.Vq);var b=this.Hi.Gr.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Pk.appendChild(this.Rj);this.Uj&&nO(this.Uj);if(this.isConnected&&this.parentNode){let a=GN(this);a?this.setMap(a):(vO(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&& this.RC&&(this.map=null);this.Ty=!0;super.disconnectedCallback()}};CO.prototype.addListener=CO.prototype.addListener;CO.prototype.addEventListener=CO.prototype.addEventListener;CO.prototype.constructor=CO.prototype.constructor;CO.Gi={Ji:181577,Ii:181576};_.C([_.Up({Kh:"anchor-top",type:String,Mh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"anchorTop",null); _.C([_.Up({Kh:"anchor-left",type:String,Mh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"anchorLeft",null);_.C([_.Up({Kh:"gmp-clickable",type:Boolean,Mh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"gmpClickable",null);_.C([_.Up({di:_.fs,nj:_.XE,Mh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"position",null); _.C([_.Up({di:{Wj:a=>a||"",Gj:a=>a||null},Mh:!0}),_.E("design:type",String),_.E("design:paramtypes",[String])],CO.prototype,"title",null);var GXa=!1,HXa=class extends CO{constructor(a={}){super(a);if(!BO)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.Zn("gmp-internal-use-am",HXa);var DO={Marker:_.Xr,CollisionBehavior:_.Tr,Animation:_.Gja,iM:()=>{},OC:function(a,b,c){var d=_.JFa();if(b instanceof _.Pn)rWa(a,b,d);else{let e=new _.Yp;rWa(e,b,d);let f=new _.Yp;c||IWa(f,b,d);new zXa(a,f,e,c)}},TG:function(a={}){BO=!0;a=new HXa(a);BO=!1;return a},AdvancedMarkerElement:CO,PinElement:_.cB,AdvancedMarkerClickEvent:tO,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{var a={AdvancedMarkerElement:CO,PinElement:_.cB,AdvancedMarkerClickEvent:tO,AdvancedMarkerView:void 0, PinView:void 0};_.Ol(a);_.Xa.google.maps.marker=a;GXa||(GXa=!0,_.Zn("gmp-advanced-marker",CO))}};_.Pl(DO,["iM","OC","TG","connectForExplicitThirdPartyLoad"]);_.Ol(DO);_.el("marker",DO);});