PageSourceSearch

https://www.hotel-cloitre-saintlouis-avignon.fr/res/js/template/social-wall/grid/ui.js?q=1789641728320

js hotel-cloitre-saintlouis-avignon.fr collected 2026-10-07 19:00:31 UTC 1,318 bytes, 51 lines download raw bytes

1var initSocialWallGrid = async () => {
2  if (typeof doT != 'object') {
3    await lazy.loadScript('/res/js/social-wall/doT.js')
4  }
5
6  if(typeof socialFeed != 'function') {
7    await lazy.loadScript( '/res/js/social-wall/social-wall.js')
8  }
9
10  initSW()
11}
12
13function initSW() {
14  document.querySelectorAll('.lazy-social-wall-grid').forEach(container => {
15    let feedLimit = parseInt(container.dataset.limit, 10)
16    if (isNaN(feedLimit)) {
17      console.warn("La valeur de data-limit est invalide, fallback à 6")
18      feedLimit = 6
19    }
20
21    if(window.matchMedia("(max-width: 768px)").matches) {
22      feedLimit = Math.min(feedLimit, 4)
23    }
24
25    const accountName = container.dataset.name
26
27    if (!accountName) {
28      console.error("Aucun nom de compte fourni dans data-name")
29      return
30    }
31
32    const socialFeedContainer = container.querySelector('.social-feed-container')
33
34    if (!socialFeedContainer) {
35      console.error("Container .social-feed-container introuvable")
36      return
37    }
38
39    socialFeed([{
40      elem: socialFeedContainer,
41      opt: {
42        instagram: {
43          limit: feedLimit,
44          accounts: [accountName],
45          publicToken: "9a6db5a1c42e0fe6730125016fb32bba",
46        },
47        template: '/res/js/social-wall/templates/mosaic.html?v=1.0.15'
48      }
49    }])
50  })
51}

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.