google.maps.__gjsload__('search', function(_){var lta=function(){},fD=function(a){this.setValues(a);_.Hk("search_impl")},nta=function(a){let b=_.on,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.ji,c=e.zoom)});if(c===-1)return[];const d=[];a.Wu().forEach(e=>{e.a&&e.a.length>=2&&d.push(new mta(e,b,c))});return d},ota=function(a){const b=[];a.data.forEach(c=>{b.push(...nta(c))});return b};_.Ka(lta,_.pm);var pta={["1"]:{}},mta=class{constructor(a,b,c){this.nn=b;this.zoom=c;this.bounds=this.anchor=null;this.Eg=pta;this.source=a;this.featureId=this.source.id||"0";this.infoWindowOffset=(this.source.io||[]).length===2?new google.maps.Point(this.source.io[0],this.source.io[1]):null}getAnchor(){if(!this.anchor){const a=1<{a.extendByBounds(b);return a},_.Zn(0,0,0,0))}getBounds(){if(this.bounds===null){this.bounds=[];const a=this.source.bb||[];if(a.length%4===0)for(let b=0;b{d.Eg(a);c&&(d=c.get("blockingLayerCount")||0,c.set("blockingLayerCount",d-1))})}; fD.enableFeatureMapEventsRasterOnly=function(a){if(_.Mo[15]){var b=a.__gm.Xg;if(!qta.has(a)){qta.add(a);var c=[],d=(f,g)=>{f=nta(f);f.length&&_.P(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.bm(f,"insert",g=>d(g,"addfeatures"))),c.push(_.bm(f,"remove",g=>d(g,"removefeatures")))})};b.addListener("insert_at",e);b.addListener("remove_at",e);b.addListener("set_at",e);e()}(()=>{const f=[];b.forEach(g=>{f.push(...ota(g))});f.length&&_.P(a,"addfeatures",f)})()}}; _.Ha("module$contents$mapsapi$onionLayers$search$googleLayer_GoogleLayer.enableFeatureMapEventsRasterOnly",fD.enableFeatureMapEventsRasterOnly);_.Qm(fD.prototype,{map:_.Kq});_.ra.google.maps.search={GoogleLayer:fD};_.Ik("search",{});});