PageSourceSearch

https://www.colpo.fr/sites/colpo/themes/createur/dist/js/maps.min.js?v=10.6.16

js colpo.fr collected 2026-10-02 10:06:38 UTC 2,823 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(e){function t(t){mapboxgl.accessToken="pk.eyJ1IjoiYWxlYy1ib3VzcXVldCIsImEiOiJjampmc202d2gwaW45M3JteHJjOHVwM2RmIn0.P0jzwgdT1e2oIhio3CbIMg";var a=[34,49],s={top:[0,25],"top-left":[0,25],"top-right":[0,25],bottom:[0,-25],"bottom-left":[0,-25],"bottom-right":[0,-25],left:[17,-10],right:[-17,-10]};if(0!=e(t).length){e(t).each(function(t){var o=e(this),i=e(this).data("points"),p=new mapboxgl.Map({container:o.attr("id"),style:"mapbox://styles/mapbox/streets-v9",zoom:13,center:[-2.810907,47.818047],zoomControl:!0,scrollZoom:!0,scaleControl:!0,scrollwheel:!0}),r=new mapboxgl.LngLatBounds,n=[-2.810907,47.818047];i.forEach(function(e){var t=document.createElement("div");if(t.className="marker",t.style.backgroundImage="url(/sites/colpo/themes/createur/dist/images/pin.png)",t.style.width=a[0]+"px",t.style.height=a[1]+"px",e.geoloc){var o=e.geoloc.split(",").reverse();if(i.length>1?r.extend(o):n=[o[0],o[1]],e.properties){var l="";l+=""!=e.properties.name?'<div class="title">'+e.properties.name+"</div>":"",l+=""!=e.properties.adress?'<div class="adress"><i class="icofont-location-pin"></i>'+e.properties.adress+"</div>":"",l+=""!=e.properties.telephone?'<div class="telephone"><i class="icofont-phone"></i>'+e.properties.telephone+"</div>":"",l+=""!=e.properties.url?'<div class="url"><i class="icofont-link"></i><a target="_blank" href="'+e.properties.url+'">'+e.properties.url+"</a></div>":"",l+=""!=e.properties.email?'<div class="email"><i class="icofont-envelope"></i><a href="mailto:'+e.properties.email+'">'+e.properties.email+"</a></div>":"";var c=new mapboxgl.Popup({closeButton:!0,offset:s,className:"marker_popup"}).setLngLat(o).setHTML(l).addTo(p);new mapboxgl.Marker(t).setLngLat(o).setPopup(c).addTo(p)}else if(e.title){var c=new mapboxgl.Popup({closeButton:!1,offset:s,className:"marker_popup"}).setLngLat(o).setHTML('<span class="title">'+e.title+'</span><span class="type">'+e.category+"</span>").addTo(p);new mapboxgl.Marker(t).setLngLat(o).setPopup(c).addTo(p)}else new mapboxgl.Marker(t).setLngLat(o).addTo(p)}}),i.length>1?p.fitBounds(r,{padding:{top:120,bottom:120,left:120,right:120}}):p.setCenter(n),p.resize(),e(".map_style_switch span").click(function(t){var a=e(this).data("style");p.setStyle("mapbox://styles/mapbox/"+a),e(".map_style_switch span").toggleClass("hidden"),e(".mapboxgl-canvas-container .marker").css("backgroundImage","url(/sites/colpo/themes/createur/dist/images/pin-"+e(this).data("style")+".png)")})})}}e(document).ready(function(a){t(e(".map_container")),t(e("#carto_map")),t(e(".actu_map"))}),e(document).ajaxComplete(function(a){t(e("#carto_map"))}),e(".map_resizer").click(function(a){e(this).siblings("div").find(".map_container_fancy").hasClass("mapboxgl-map")||setTimeout(t,300,e(this).siblings("div").find(".map_container_fancy"))})});

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.