PageSourceSearch

https://www.cbnews.fr/sites/cbnews.fr/themes/cbn1/library/componen…/strate-shortlist.js?tkoa95

js cbnews.fr collected 2026-10-01 10:12:44 UTC 634 bytes, 32 lines download raw bytes

1(function(){
2  var breakpoint = matchMedia('(max-width: 767px)');
3  var flickity;
4
5  breakpoint.addListener(function (breakpoint) {
6    breakpointChecker(breakpoint);
7  });
8
9  breakpointChecker(breakpoint);
10
11  function breakpointChecker (breakpoint) {
12    if (breakpoint.matches) {
13      init();
14    }
15    else {
16      destroy();
17    }
18  }
19
20  function init () {
21    flickity = new Flickity(document.querySelector('.strate-shortlist_agences'), {
22      pageDots: false,
23      imagesLoaded: true
24    });
25  }
26
27  function destroy () {
28    if (flickity && typeof flickity.destroy === 'function') {
29      flickity.destroy();
30    }
31  }
32})();

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.