1function strip_html(t){if(!t)return t;var e=new DOMParser().parseFromString(t,"text/html");return e.body.textContent||""}function extract_map_label(t){if(!t)return null;var e=t.match(/<strong>([\s\S]*?)<\/strong>/i);return strip_html(e?e[1]:t)}var google_map_manager={map:null,maps_info:[],options:{gestureHandling:"cooperative",mapTypeId:google.maps.MapTypeId.ROADMAP,disableDefaultUI:!0,scrollwheel:!1,disableDoubleClickZoom:!0,mapTypeControl:!0,panControl:!0,zoom:$("#hdn_default_backoffice_map_zoom").val()||12,center:new google.maps.LatLng(parseFloat($("#hdn_default_backoffice_map_latitude").val())||"41.2156095",parseFloat($("#hdn_default_backoffice_map_longitude").val())||"-8.6237248"),zoomControl:!0,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,google.maps.MapTypeId.SATELLITE,"mymaps"]}},create_map:function(t){var e={};e.element=t;var a=$(e.element).attr("data-lat"),o=$(e.element).attr("data-long"),n=$(e.element).attr("data-zoom"),p=$(e.element).attr("data-icon"),m=extract_map_label($(e.element).attr("data-text"));e.options=this.options,e.marker_log=[],e.image=p,a&&o&&(e.options.center=new google.maps.LatLng(parseFloat(a),parseFloat(o)),e.options.zoom=parseInt(n)),e.map=new google.maps.Map(e.element,e.options),google_map_manager.map=e.map,google_map_manager.maps_info.push(e),google.maps.event.addListener(e.map,"tilesloaded",function(c){$(e.element).find("iframe").css("display","none"),$(this.getDiv()).find("map[id^='gmimap']").each(function(d,r){$(r).remove()}),m&&$(this.getDiv()).find('[role="region"][aria-roledescription="map"]').attr("aria-label","Mapa: "+m),setTimeout(()=>{$(this.getDiv()).find("table").each(function(d,r){r.dataset.a11yShortcutsFixed||(r.dataset.a11yShortcutsFixed="true",r.hidden=!0,r.innerHTML="<thead><tr><th>symbol</th><th>description</th></tr></thead>"+r.innerHTML,r.createCaption().textContent="Google Shortcuts")})},1e3)}),a&&o&&google_map_manager.marker(e)},create_pois_map:function(t){var e,a,o,n={};n.element=t;var p=$(n.element).attr("data-lat"),m=$(n.element).attr("data-lng"),c=$(n.element).attr("data-zoom");n.options=this.options,p&&m&&(n.options.center=new google.maps.LatLng(parseFloat(p),parseFloat(m)),n.options.zoom=parseInt(c)),n.map=new google.maps.Map(n.element,n.options),google_map_manager.map=n.map,google_map_manager.maps_info.push(n),n.marker_log=[],o=new google.maps.InfoWindow({content:"holding..."}),_info_window_id=null;var d=new google.maps.LatLngBounds;$.each($("."+$(n.element).data("points")+">li"),function(r,l){a=new google.maps.Marker({position:new google.maps.LatLng($(l).find(".lat").html(),$(l).find(".long").html()),icon:$(l).find(".icon").html().indexOf(".")>0?$(l).find(".icon").html():null,map:n.map,draggable:!1});var s=a.html=$(l).find(".title").html(),g=a.html=$(l).find(".url").html(),f=a.html=$(l).find(".id").html();a.html=$(l).find(".text").html(),a.id=f,a.url=g,a.title=strip_html(s)||"Google Map Marker",n.marker_log.push(a),google.maps.event.addListener(a,"click",function(){g!==void 0?o.setContent('<a href="'+g+'">'+this.title+"</a>"):o.setContent("<a>"+this.title+"</a>"),o.open(n.map,this)}),d.extend(a.getPosition())}),google.maps.event.addListener(n.map,"tilesloaded",function(r){$(n.element).find("iframe").css("display","none"),$(this.getDiv()).find("map[id^='gmimap']").each(function(l,s){$(s).remove()}),setTimeout(()=>{$(this.getDiv()).find("table").each(function(l,s){s.dataset.a11yShortcutsFixed||(s.dataset.a11yShortcutsFixed="true",s.hidden=!0,s.innerHTML="<thead><tr><th>symbol</th><th>description</th></tr></thead>"+s.innerHTML,s.createCaption().textContent="Google Shortcuts")})},1e3)}),n.map.fitBounds(d)},centerMap:function(t){var e=new google.maps.LatLngBounds;$.each(t.marker_log,function(a,o){e.extend(o.position)}),t.map.fitBounds(e)},marker:function(t){if(t.marker_log.length>0){for(i=0;i<t.marker_log.length;i++)t.marker_log[i].setMap(null);t.marker_log=[]}var e=$(t.element).attr("data-text"),a=new google.maps.Marker({map:t.map,position:t.options.center,icon:t.image,title:strip_html(e)||"Google Map Marker"});if(!(!e||e==="")){var o=new google.maps.InfoWindow({content:$(t.element).attr("data-text")});google.maps.event.addListener(a,"click",function(){o.open(t.map,a)}),t.marker_log.push(a)}}},map_refresher={resize_direction:"up",refresh_all:function(){if(!(!google_map_manager||!google_map_manager.maps_info)){var t=google_map_manager.maps_info,e=0;switch(map_refresher.resize_direction){case"up":e=-1,map_refresher.resize_direction="down";break;case"down":e=1,map_refresher.resize_direction="up";break}for(var a=t.length-1;a>=0;a--)this.refresh_instance(t[a],e)}},centerMap:function(t){t.marker_log.length===1&&t.map.setCenter(t.marker_log[0].position)},refresh_instance:function(t,e){var a=$(t.map.getDiv());a.height()!=0&&a.height(a.height()+e),google.maps.event.trigger(t.map,"resize"),this.centerMap(t)}};$(function(){$(".pois_map_map:not(.pois_map_static_map)").each(function(){google_map_manager.create_pois_map(this)}),$(".google_map_map:not(.google_map_static_map)").each(function(){google_map_manager.create_map(this)}),$(document).on("click",".question.opened",function(){$(".google_map_map:not(.google_map_static_map)").each(function(){google_map_manager.create_map(this)})}),$(".faqs_list .question").click(function(){setTimeout(function(){map_refresher.refresh_all()},100)})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.