PageSourceSearch

https://www.reims-tourisme.com/assets/plugins/elementor-fs-widget//assets/js/fs-playlist.js

js reims-tourisme.com collected 2026-10-02 05:23:12 UTC 3,931 bytes, 1 lines download raw bytes

1jQuery(window).on("elementor/frontend/init",()=>{let t=function(t,e){e(".fs-widget-leaflet-map-playlist").each(function(){if(!e(this).hasClass("fs-playlist-loaded")){e(this).addClass("fs-playlist-loaded");var t=e(this).attr("id");if(void 0!==t){var a=e(this).attr("data-map-lat")||50.6333,o=e(this).attr("data-map-lon")||3.0619,r=e(this).attr("data-zoom")||13,s=e(this).attr("data-map-design")||"osm",i=e(this).attr("data-marker-numbering"),n=L.map(t,{center:[a,o],zoom:r,gestureHandling:!0});switch(n.scrollWheelZoom.disable(),n.dragging.enable(),s){case"google-roadmap":var l=new L.Google("ROADMAP");break;case"google-satellite":var l=new L.Google("");break;case"google-terrain":var l=new L.Google("TERRAIN");break;case"google-hybrid":var l=new L.Google("HYBRID");break;case"mapbox-street":var l=L.tileLayer("https://a.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}",{attribution:'&copy; <a href="https://www.mapbox.com/about/maps/" target="_blank">Mapbox</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors <a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a>',id:"mapbox.streets",accessToken:"pk.eyJ1IjoiZmFpcmUtc2F2b2lyIiwiYSI6ImNqcDQ3cTdqOTAxcGMzeG1ranV2NDlvb28ifQ.J-08viX3_VpEhkEg97VB0g",maxZoom:18});break;case"mapbox-satellite":var l=L.tileLayer("https://a.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}",{attribution:'&copy; <a href="https://www.mapbox.com/about/maps/" target="_blank">Mapbox</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors <a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a>',id:"mapbox.satellite",accessToken:"pk.eyJ1IjoiZmFpcmUtc2F2b2lyIiwiYSI6ImNqcDQ3cTdqOTAxcGMzeG1ranV2NDlvb28ifQ.J-08viX3_VpEhkEg97VB0g",maxZoom:18});break;case"osm":var l=L.tileLayer("https://{s}.tile.osm.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',maxZoom:19})}n.addLayer(l);var d=[],p=L.featureGroup();if(e(this).find(".point").each(function(t,a){var o=e(this).attr("data-id"),r=e(this).attr("data-lat"),s=e(this).attr("data-lon"),n=e(this).attr("data-marker"),l=e(this).attr("data-post_id");if(""!==o&&""!==r&&""!==s){var c=e(this).html(),m=L.divIcon({iconSize:[48,58],iconAnchor:[24,58],popupAnchor:[0,-60],className:"marker marker-id-"+o+" "+(""!=n&&void 0!=n?"marker-"+n:""),html:'<div class="pin" data-id="'+l+'"><span class="content">'+("yes"==i?o:"")+"<span></div>"}),h=new L.marker([r,s],{icon:m});void 0!==c&&h.bindPopup(c),d.push(h),h.addTo(p)}}),n.addLayer(p),d.length){var c=p.getBounds();n.fitBounds(c,{padding:[50,50]})}}}})};elementorFrontend.hooks.addAction("frontend/element_ready/fs-widget-playlist.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/s-widget-playlist-cpt.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/fs-widget-playlist-tag-cpt.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/fs-widget-playlist-tag.default",t)}),jQuery(function(t){t(document).ready(function(){t(".see_more_offers").click(function(e){e.preventDefault(),t(this).closest(".list").find(".more_offers").toggle("slow"),t(this).val()==translation.select_more?t(this).val(translation.select_less):t(this).val(translation.select_more)})}),t(window).load(function(){t(".map_side").addClass("map_loaded")});let e=document.querySelectorAll(".render-list_and_map");e.forEach(t=>{let e=new Swiper(t.querySelector(".swiper"),{navigation:{nextEl:".render-list_and_map .swiper-button-next",prevEl:".render-list_and_map .swiper-button-prev",slidesPerView:3}});function a(){let e=t.querySelector(".swiper-slide-active .card");t.querySelectorAll(".leaflet-marker-icon .pin").forEach(t=>{t.dataset.id==e.dataset.id?t.classList.add("active"):t.classList.remove("active")})}e.on("transitionEnd",()=>{a()}),a()})});

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.