PageSourceSearch

https://www.elternschule-speyer.de/typo3conf/ext/as_template/Resources/Public/JavaScript/maps.min.js

js elternschule-speyer.de collected 2026-10-01 23:52:26 UTC 4,104 bytes, 1 lines download raw bytes

1"use strict";var map,markersArray=[];function bindInfoWindow(a,t,s){"undefined"!=typeof google&&google.maps.event.addListener(a,"click",function(){function o(e){e.ib.close(),e.infoWindowVisible=!1,e.ib=null}var e,i;!0===s.infoWindowVisible?o(s):(e=function(e,i,o,a){if(""===e[o])return"";if(!e.iw[o])return"";switch(i){case"photo":return e.photo?'<div class="iw-photo" style="background-image: url('+e.photo+');"></div>':"";case"iw-toolbar":return'<div class="iw-toolbar"><h3 class="md-subhead">'+e.title+"</h3></div>";case"div":switch(o){case"email":return'<div class="iw-details"><i class="material-icons" style="color:#4285f4;"><img src="//cdn.mapkit.io/v1/icons/'+a+'.svg"/></i><span><a href="mailto:'+e.email+'" target="_blank">'+e.email+"</a></span></div>";case"web":return'<div class="iw-details"><i class="material-icons" style="color:#4285f4;"><img src="//cdn.mapkit.io/v1/icons/'+a+'.svg"/></i><span><a href="'+e.web+'" target="_blank">'+e.web_formatted+"</a></span></div>";case"desc":return'<label class="iw-desc" for="cb_details"><input type="checkbox" id="cb_details"/><h3 class="iw-x-details">Details</h3><i class="material-icons toggle-open-details"><img src="//cdn.mapkit.io/v1/icons/'+a+'.svg"/></i><p class="iw-x-details">'+e.desc+"</p></label>";default:return'<div class="iw-details"><i class="material-icons"><img src="//cdn.mapkit.io/v1/icons/'+a+'.svg"/></i><span>'+e[o]+"</span></div>"}case"open_hours":var t="";if(0<e.open_hours.length){for(var s=0;s<e.open_hours.length;++s){0!==s&&(t+="<li><strong>"+e.open_hours[s].day+"</strong><strong>"+e.open_hours[s].hours+"</strong></li>");var n='<li><label for="cb_hours"><input type="checkbox" id="cb_hours"/><strong>'+e.open_hours[0].day+"</strong><strong>"+e.open_hours[0].hours+'</strong><i class="material-icons toggle-open-hours"><img src="//cdn.mapkit.io/v1/icons/keyboard_arrow_down.svg"/></i><ul>'+t+"</ul></label></li>"}return'<div class="iw-list"><i class="material-icons first-material-icons" style="color:#4285f4;"><img src="//cdn.mapkit.io/v1/icons/'+a+'.svg"/></i><ul>'+n+"</ul></div>"}return""}},markersArray.forEach(function(e,i){e.ib&&null!==e.ib&&o(e)}),(i=document.createElement("div")).style.cssText="background: #fff;",i.classList.add("md-whiteframe-2dp"),i.innerHTML=e(s,"photo","photo","")+e(s,"iw-toolbar","title","")+e(s,"div","address","location_on")+e(s,"div","web","public")+e(s,"div","email","email")+e(s,"div","tel","phone")+e(s,"div","int_tel","phone")+e(s,"open_hours","open_hours","access_time")+e(s,"div","desc","keyboard_arrow_down"),i={alignBottom:!0,content:i,disableAutoPan:!0,maxWidth:0,pixelOffset:new google.maps.Size(-140,-40),zIndex:null,boxStyle:{opacity:1,width:"280px"},closeBoxMargin:"0px 0px 0px 0px",infoBoxClearance:new google.maps.Size(1,1),isHidden:!1,pane:"floatPane",enableEventPropagation:!1},s.ib=new InfoBox(i),s.ib.open(t,a),s.infoWindowVisible=!0)})}function init(){if("undefined"!=typeof google&&null!==document.getElementById("map")){var e={center:new google.maps.LatLng($("#map").attr("data-lat"),$("#map").attr("data-lng")),zoom:14,gestureHandling:"auto",fullscreenControl:!1,zoomControl:!0,disableDoubleClickZoom:!1,mapTypeControl:!1,scaleControl:!1,scrollwheel:!1,streetViewControl:!1,draggable:!1,clickableIcons:!1,mapTypeId:google.maps.MapTypeId.ROADMAP,styles:[]},o=document.getElementById("map"),a=new google.maps.Map(o,e),t=[{title:$("#map").attr("data-title"),address:"",desc:"",tel:"",int_tel:"",email:"",web:"",web_formatted:"",open:"",time:"",lat:$("#map").attr("data-lat"),lng:$("#map").attr("data-lng"),open_hours:"",iw:{address:!0,desc:!0,email:!0,enable:!1,int_tel:!0,open:!0,open_hours:!0,photo:!0,tel:!0,title:!0,web:!0}}];for(i=0;i<t.length;i++)marker=new google.maps.Marker({icon:t[i].marker,position:new google.maps.LatLng(t[i].lat,t[i].lng),map:a,title:t[i].title,address:t[i].address,desc:t[i].desc,tel:t[i].tel,int_tel:t[i].int_tel,vicinity:t[i].vicinity,open:t[i].open,open_hours:t[i].open_hours,photo:t[i].photo,time:t[i].time,email:t[i].email,web:t[i].web,iw:t[i].iw}),markersArray.push(marker),!0===t[i].iw.enable&&bindInfoWindow(marker,a,t[i])}}

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.