google.maps.__gjsload__('search', function(_){var Asa=function(){},iD=function(a){this.setValues(a);_.uk("search_impl")},Csa=function(a){let b=_.um,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.bi,c=e.zoom)});if(c===-1)return[];const d=[];a.Yt().forEach(e=>{e.a&&e.a.length>=2&&d.push(new Bsa(e,b,c))});return d},Dsa=function(a){const b=[];a.data.forEach(c=>{b.push(...Csa(c))});return b};_.Ha(Asa,_.$k);var Esa={["1"]:{}},Bsa=class{constructor(a,b,c){this.up=b;this.zoom=c;this.bounds=this.anchor=null;this.Eg=Esa;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},_.Ym(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.lF(a);c&&(d=c.get("blockingLayerCount")||0,c.set("blockingLayerCount",d-1))})}; iD.enableFeatureMapEventsRasterOnly=function(a){if(_.Ln[15]){var b=a.__gm.Yg;if(!Fsa.has(a)){Fsa.add(a);var c=[],d=(f,g)=>{f=Csa(f);f.length&&_.Rk(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.Dk(f,"insert",g=>d(g,"addfeatures"))),c.push(_.Dk(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(...Dsa(g))});f.length&&_.Rk(a,"addfeatures",f)})()}}; _.Ea("module$contents$mapsapi$onionLayers$search$googleLayer_GoogleLayer.enableFeatureMapEventsRasterOnly",iD.enableFeatureMapEventsRasterOnly);_.Dl(iD.prototype,{map:_.Wp});_.pa.google.maps.search={GoogleLayer:iD};_.vk("search",{});});