PageSourceSearch

https://www.beatrix-potter-grundschule.de/wp-content/cache/autopti…?ver=e8fa5fbc5c010a6e4fd7

js beatrix-potter-grundschule.de collected 2026-10-05 19:26:17 UTC 3,025 bytes, 1 lines download raw bytes

1(()=>{"use strict";!function(){const t=ootb.providers,e=ootb.options,o=ootb.gestureHandlingOptions;document.querySelectorAll(".ootb-openstreetmap--map").forEach(function(n){try{const a=n.getAttribute("data-provider")||"openstreetmap",r=n.getAttribute("data-markers"),l=n.getAttribute("data-marker"),s=n.getAttribute("data-zoom"),i=n.getAttribute("data-minzoom"),u=n.getAttribute("data-maxzoom"),d=n.getAttribute("data-dragging"),p=n.getAttribute("data-touchzoom"),c=n.getAttribute("data-doubleclickzoom"),g=n.getAttribute("data-scrollwheelzoom"),b=n.getAttribute("data-fullscreen"),m=n.getAttribute("data-enableclustering"),f=JSON.parse(decodeURIComponent(l)),y=JSON.parse(decodeURIComponent(r)),h=n.getAttribute("data-maptype"),A=n.getAttribute("data-showmarkers"),x=n.getAttribute("data-shapestyle"),C=JSON.parse(decodeURIComponent(x)),O=n.getAttribute("data-shapetext"),k=n.getAttribute("data-mapboxstyle");let B="";if(k)B=k;else{const N=function(t,e){if(!t||!e||"string"!=typeof t||"string"!=typeof e||!t.startsWith("mapbox://"))return"";const o=t.split("/"),n=o[3],a=o[4];return n&&a&&"string"==typeof n&&"string"==typeof a?`https://api.mapbox.com/styles/v1/${n}/${a}/tiles/{z}/{x}/{y}?access_token=${e}`:""}(e.global_mapbox_style_url,e.api_mapbox);N&&(B=encodeURIComponent(JSON.stringify(N)))}let I="";"mapbox"===a&&(I=e.api_mapbox);let S=t[a].url;"mapbox"===a&&B?S=JSON.parse(decodeURIComponent(B)):S+=I;const U={minZoom:parseInt(i),maxZoom:parseInt(u)};e.prevent_default_gestures&&(U.gestureHandling=!0,o&&Object.keys(o).length>0&&(U.gestureHandlingOptions=o));const _="true"===m&&"function"==typeof L.markerClusterGroup?L.markerClusterGroup(ootb.clusterOptions??{}):null,z=function(t,e,o,n,a,r){const l=L.map(t,e),s=JSON.parse(t.getAttribute("data-bounds"));if(null!==s[0]&&null!==s[1])l.setView(s,parseInt(o));else if(r){const t=n.map(t=>[t.lat,t.lng]);t.length&&l.fitBounds(L.latLngBounds(t))}else{let t=[];if(n.forEach(e=>{const o=JSON.parse(decodeURIComponent(a)),n=structuredClone(o);e.icon&&(n.iconUrl=e.icon.url);let r=L.marker([e.lat,e.lng],{icon:L.icon(n)});e.text&&r.bindPopup(e.text),t.push(r),r.addTo(l)}),t.length){let e=new L.featureGroup(t);l.fitBounds(e.getBounds())}}return l}(n,U,s,y,l,_);if("false"===d&&z.dragging.disable(),"false"===p&&z.touchZoom.disable(),"false"===c&&z.doubleClickZoom.disable(),"false"===g&&z.scrollWheelZoom.disable(),"true"===b&&L.Control.Fullscreen&&z.addControl(new L.Control.Fullscreen),L.tileLayer(S,{attribution:t[a].attribution}).addTo(z),!y||!y.length)return;if("polygon"===h){const T=L.polygon(y,C).addTo(z);z.fitBounds(T.getBounds()),O.length&&T.bindPopup(O)}else if("polyline"===h){const R=L.polyline(y,C).addTo(z);z.fitBounds(R.getBounds()),O.length&&R.bindPopup(O)}function J(t){const e=structuredClone(f);t.icon&&(e.iconUrl=t.icon.url);let o=L.marker([t.lat,t.lng],{icon:L.icon(e)});t.text&&o.bindPopup(t.text),_?_.addLayer(o):o.addTo(z)}"false"!==A&&(y.forEach(J),_&&_.addTo(z))}catch(w){console.error("OOTB OpenStreetMap: failed to render map",w)}})}()})();

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.