PageSourceSearch

https://theater-plauen-zwickau.de/javascript/scan_gmaps.js?v2

js theater-plauen-zwickau.de collected 2026-10-02 06:54:09 UTC 3,479 bytes, 1 lines download raw bytes

1var map,map_is_loaded=!1,MAPPING={location:{title:"Theater Plauen-Zwickau",lat:"50.7152318",lng:"12.4987005",street:"Gewandhausstr. 7",town:"08056 Zwickau",zoom:12}},gmap_cookie_name="theater-plauen-zwickau.gmaps",gmap_text=[],language=language||"de";function create_agree_windows(){$("div.gmap").each(function(){var e=$("<div>",{class:"agree_window",html:void 0!==gmap_text[language]&&""!=gmap_text[language][0]?gmap_text[language][0]:"<h3>Sollen Karten von Google Maps angezeigt werden?</h3><div>Mehr Informationen erhalten Sie in unserer Datenschutzerklärung.</div>"}).appendTo($(this));$("<span>",{class:"agree_gmaps_button",html:void 0!==gmap_text[language]&&""!=gmap_text[language][1]?gmap_text[language][1]:"Externe Inhalte anzeigen"}).appendTo(e)})}function create_gmaps(){map_is_loaded||(map_is_loaded=!0,$.loadScript(gm_api_url,function(){var g=0;$("div.gmap").each(function(){g=0,$(this).find(".agree_window").unbind().remove(),$(this).css("background","none");var e=$(this).find("span.txtLat"),t=$(this).find("span.txtLng"),a=$(this).find("span.txtZoom"),n=$(this).find("span.txtTitle"),o=$(this).find("span.txtStreet"),i=$(this).find("span.txtTown");MAPPING.location.lat=e.length&&""!=e.html()?e.html():MAPPING.location.lat,MAPPING.location.lng=t.length&&""!=t.html()?t.html():MAPPING.location.lng,MAPPING.location.zoom=a.length&&""!=a.html()?parseInt(a.html()):MAPPING.location.zoom,MAPPING.location.title=n.length&&""!=n.html()?n.html():MAPPING.location.title,MAPPING.location.street=o.length&&""!=o.html()?o.html():MAPPING.location.street,MAPPING.location.town=i.length&&""!=i.html()?i.html():MAPPING.location.town,MAPPING="undefined"==typeof MAPPING_WS?MAPPING:MAPPING_WS,map=new GMaps({el:this,lat:MAPPING.location.lat,lng:MAPPING.location.lng,zoom:MAPPING.location.zoom,zoomControl:!1,zoomControlOpt:{style:"SMALL",position:"TOP_LEFT"},panControl:!1,streetViewControl:!1,mapTypeControl:!1,overviewMapControl:!1});var l,r={};for(l in MAPPING){var s="https://www.google.de/maps/dir//"+encodeURI(MAPPING[l].street.replace(" ","+"))+","+encodeURI(MAPPING[l].town.replace(" ","+"))+"/@"+MAPPING[l].lat.replace(" ","")+","+MAPPING[l].lng.replace(" ","")+","+MAPPING[l].zoom+"z",s='<div class="infoWindow_container"><h3>'+MAPPING[l].title+'</h3><div class="adress_block">'+MAPPING[l].street+"<br>"+MAPPING[l].town+'</div><div class="text"><a href="'+s+'" target="_blank">Route berechnen</a></div></div>',s=MAPPING[l].teaser||s;r[g]=map.addMarker({lat:MAPPING[l].lat,lng:MAPPING[l].lng,title:MAPPING[l].title,infoWindow:{content:s},click:function(e){},icon:"grafiken/marker.svg"}),isMobile||0!=g||r[0].infoWindow.open(self.map,r[0]),g++}map.set("styles",[{stylers:[{saturation:-100}]}])})}))}gmap_text.de=["<h3>Sollen Karten von Google Maps angezeigt werden?</h3><div>Mehr Informationen erhalten Sie in unserer Datenschutzerklärung.</div>","Externe Inhalte anzeigen","Route berechnen"],gmap_text.en=["<h3>Do you want to see maps from Google Maps?</h3><div>For more information, please see our privacy policy.</div>","Show maps","calculate route"],$(document).ready(function(){"false"==(Cookies.get(gmap_cookie_name)||"false")?(create_agree_windows(),$("span.agree_gmaps_button").click(function(e){e.preventDefault(),Cookies.set(gmap_cookie_name,"true",{sameSite:"lax",secure:!0,path:"/"}),create_gmaps(),$("#cookie_form").length&&setOptionCookieHinweis()})):create_gmaps()}),jQuery.loadScript=function(e,t){jQuery.ajax({url:e,dataType:"script",success:t,async:!0})};

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.