PageSourceSearch

https://www.affiches-moniteur.com/parution-numerique

html affiches-moniteur.com collected 2026-10-08 06:10:30 UTC 97,027 bytes, 1,524 lines download raw bytes

1
2
3<!DOCTYPE html>
4<html lang="fr">
5
6    
7
8<head>  
9    	
9<script>
10		function getCookie(t){for(var n=t+"=",r=document.cookie.split(";"),e=0;e<r.length;e++){for(var i=r[e];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(n))return i.substring(n.length,i.length)}return null}
11		function getCookieXCONNECT(){var e=getCookie(".XCONNECT");if(e==null)return getCookie("IdSes");else return e;}
12		function getCookieXCONNECTForEnv(t){var i=getCookieXCONNECT();if(null!==i){var r,e=i.split("&");for(r=0;r<e.length;r+=1)if(e[r].split("=")[0]===t)return e[r].split("=")[1]}return""}
13		function IsConnected(n){return""!==getCookieXCONNECTForEnv(n)}
14		function IsAnomymousConnected(){return null!==getCookie(".PRF")}
15		function RedirectDomain(e,c,i){window.location.replace(e.replace(c,i))}
16					function SwitchAuthDomain(n,i,o){(IsConnected(o)||IsAnomymousConnected())&&RedirectDomain(window.location.href,n,i)}
17			SwitchAuthDomain('www.affiches-moniteur.com', 'c.affiches-moniteur.com', '2');
18			</script>
18
19
20    <meta charset="UTF-8">
21    <meta name="language" content="FR-fr" />
22        <meta property="og:title" content="Toutes nos parutions" />
23        <meta name="twitter:title" content="Toutes nos parutions" />
24        <meta property="og:url" content="https://www.affiches-moniteur.com/parution-numerique" />
25        <meta name="twitter:site" content="" />
26        <meta name="twitter:card" content="summary_large_image" />
27        <meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
28        <meta name="viewport" content="initial-scale=1, maximum-scale=1" />
29    <link rel="canonical" href="https://www.affiches-moniteur.com/parution-numerique" />
30    <title>AFDAL - Toutes nos parutions</title>
31
32    <link rel="shortcut icon" href="https://files.prsmedia.fr/files/AAL/fr/images/favicon.ico" type="image/x-icon" />
33    
33<script>
34        var bufferScript = [], head = {}; head.ready = function (f) { bufferScript.push(f) }; var bufferLoad = []; head.load = function (f) { bufferLoad.push(f) };
35        (function (t) { var m; "undefined" !== typeof window ? m = window : "undefined" !== typeof self && (m = self); m.lazyload = t() })(function () { return function m(e, k, c) { function p(l, d) { if (!k[l]) { if (!e[l]) { var f = "function" == typeof require && require; if (!d && f) return f(l, !0); if (n) return n(l, !0); f = Error("Cannot find module '" + l + "'"); throw f.code = "MODULE_NOT_FOUND", f; } f = k[l] = { exports: {} }; e[l][0].call(f.exports, function (c) { var a = e[l][1][c]; return p(a ? a : c) }, f, f.exports, m, e, k, c) } return k[l].exports } for (var n = "function" == typeof require && require, d = 0; d < c.length; d++) p(c[d]); return p }({ 1: [function (m, e, k) { (function (c) { function p(a) { -1 === k.call(q, a) && q.push(a) } function n(a) { function b(b) { var h; h = "function" === typeof a.src ? a.src(b) : b.getAttribute(a.src); h && (b.src = h); b["data-lzled"] = !0; c[k.call(c, b)] = null } a = l({ offset: 333, src: "data-src", container: !1 }, a || {}); "string" === typeof a.src && p(a.src); var c = []; return function (g) { g.onload = null; g.removeAttribute("onload"); g.onerror = null; g.removeAttribute("onerror"); -1 === k.call(c, g) && f(g, a, b) } } function d(a) { a = "HTML" + a + "Element"; if (!1 !== a in c) { var b = c[a].prototype.getAttribute; c[a].prototype.getAttribute = function (a) { if ("src" === a) { for (var c, h = 0, f = q.length; h < f && !(c = b.call(this, q[h])) ; h++); return c || b.call(this, a) } return b.call(this, a) } } } function l(a, b) { for (var c in a) void 0 === b[c] && (b[c] = a[c]); return b } function k(a) { for (var b = this.length; b-- && this[b] !== a;); return b } e.exports = n; var f = m("in-viewport"), q = ["data-src"]; c.lzld = n(); d("Image"); d("IFrame") }).call(this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}) }, { "in-viewport": 2 }], 2: [function (m, e, k) { (function (c) { function k(a, b, c) { a.attachEvent ? a.attachEvent("on" + b, c) : a.addEventListener(b, c, !1) } function m(a, b, c) { var g; return function () { var h = this, f = arguments, l = c && !g; clearTimeout(g); g = setTimeout(function () { g = null; c || a.apply(h, f) }, b); l && a.apply(h, f) } } function d(a) { function b(b, g, k) { var d; if (q(c.document.documentElement, b) && q(c.document.documentElement, a)) if (b.offsetWidth && b.offsetHeight) { d = b.getBoundingClientRect(); var e = a.getBoundingClientRect(), m = d.left, p = d.top, n = g, r = g; a === c.document.body ? (n += c.document.documentElement.clientWidth, r += c.document.documentElement.clientHeight, e = { bottom: a.scrollHeight, top: 0, left: 0, right: a.scrollWidth }) : (m -= e.left, p -= e.top, n += a.clientWidth, r += a.clientHeight); d = !(d.right < e.left || d.left > e.right || d.bottom < e.top || d.top > e.bottom) && p <= r && m <= n } else d = !1; else d = !1; if (d) return k && (h.splice(l.call(h, b), 1), k(b)), !0; k && setTimeout(f(b, g, k), 0); return !1 } function f(a, c, d) { -1 === l.call(h, a) && h.push(a); return function () { g.push(function () { b(a, c, d) }) } } var g = [], h = [], d = a === c.document.body ? c : a, e = m(function () { for (var a; a = g.shift() ;) a() }, 15); k(d, "scroll", e); d === c && k(c, "resize", e); "function" === typeof c.MutationObserver && u(h, a, e); return { container: a, isInViewport: b } } function l(a) { for (var b = this.length; b-- && this[b] !== a;); return b } function u(a, b, c) { function d(b) { return -1 !== l.call(a, b) } function f(a) { return 0 < k.call(a.addedNodes, d).length } var e = new MutationObserver(function (a) { !0 === a.some(f) && setTimeout(c, 0) }), k = Array.prototype.filter; e.observe(b, { childList: !0, subtree: !0 }) } e.exports = function (a, b, e) { var g = c.document.body; if (void 0 === b || "function" === typeof b) e = b, b = {}; g = b.container || g; b = b.offset || 0; for (var h = 0; h < f.length; h++) if (f[h].container === g) return f[h].isInViewport(a, b, e); return f[f.push(d(g)) - 1].isInViewport(a, b, e) }; var f = [], q = c.document.documentElement.compareDocumentPosition ? function (a, b) { return !!(a.compareDocumentPosition(b) & 16) } : c.document.documentElement.contains ? function (a, b) { return a !== b && (a.contains ? a.contains(b) : !1) } : function (a, b) { for (; b = b.parentNode;) if (b === a) return !0; return !1 } }).call(this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}) }, {}] }, {}, [1])(1) });
36	    var lzld = lazyload({ offset: 250, src: hidpi }); var typePattern = ""; var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
37	    if (w < 840) typePattern = "mobile"; else if (w < 1025) typePattern = "tablet";
38	    function hidpi(img) {
39		    if(img.getAttribute('desktop-only')!=null && typePattern != '') return false;
40		    if(typePattern!="" && img.getAttribute('data-'+typePattern)!=null && img.getAttribute('data-'+typePattern)!="")
41			{
42				var infosPattern = img.getAttribute('data-'+typePattern).split('|');
43				var infosbase = img.getAttribute('data-base').split('|');
44				return img.getAttribute('data-src').replace("/"+infosbase[0]+"/", "/"+infosPattern[0]+"/").replace("-"+infosbase[1]+".", "-"+infosPattern[1]+".");
45			}
46		    return img.getAttribute('data-src');
47	    }
48    </script>
48
49
50    
50<script>
51  dataLayer = [{
52    'dimension10' : 'Non',
53    'dimension11' : 'Non',
54        'dimension33' : navigator.userAgent
55  }];
56</script>
56<script type="text/javascript">
57    //Google Tag Manager
vendor: 353 bytes, lines 57-62
57
58    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
59    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
60    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
61    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
62    })(window,document,'script','dataLayer','
62GTM-5S5X2TX
vendor: 9 bytes, lines 62-63
62');
63    
63//End Google Tag Manager
64</script>
64     
65    
65<script>
66    /*! lazysizes - v5.1.0 - https://github.com/aFarkas/lazysizes */
67    !function (a, b) { var c = b(a, a.document); a.lazySizes = c, "object" == typeof module && module.exports && (module.exports = c) }("undefined" != typeof window ? window : {}, function (a, b) { "use strict"; var c, d; if (function () { var b, c = { lazyClass: "lazyload", loadedClass: "lazyloaded", loadingClass: "lazyloading", preloadClass: "lazypreload", errorClass: "lazyerror", autosizesClass: "lazyautosizes", srcAttr: "data-src", srcsetAttr: "data-srcset", sizesAttr: "data-sizes", minSize: 40, customMedia: {}, init: !0, expFactor: 1.5, hFac: .8, loadMode: 2, loadHidden: !0, ricTimeout: 0, throttleDelay: 125 }; d = a.lazySizesConfig || a.lazysizesConfig || {}; for (b in c) b in d || (d[b] = c[b]) }(), !b || !b.getElementsByClassName) return { init: function () { }, cfg: d, noSupport: !0 }; var e = b.documentElement, f = a.Date, g = a.HTMLPictureElement, h = "addEventListener", i = "getAttribute", j = a[h], k = a.setTimeout, l = a.requestAnimationFrame || k, m = a.requestIdleCallback, n = /^picture$/i, o = ["load", "error", "lazyincluded", "_lazyloaded"], p = {}, q = Array.prototype.forEach, r = function (a, b) { return p[b] || (p[b] = new RegExp("(\\s|^)" + b + "(\\s|$)")), p[b].test(a[i]("class") || "") && p[b] }, s = function (a, b) { r(a, b) || a.setAttribute("class", (a[i]("class") || "").trim() + " " + b) }, t = function (a, b) { var c; (c = r(a, b)) && a.setAttribute("class", (a[i]("class") || "").replace(c, " ")) }, u = function (a, b, c) { var d = c ? h : "removeEventListener"; c && u(a, b), o.forEach(function (c) { a[d](c, b) }) }, v = function (a, d, e, f, g) { var h = b.createEvent("Event"); return e || (e = {}), e.instance = c, h.initEvent(d, !f, !g), h.detail = e, a.dispatchEvent(h), h }, w = function (b, c) { var e; !g && (e = a.picturefill || d.pf) ? (c && c.src && !b[i]("srcset") && b.setAttribute("srcset", c.src), e({ reevaluate: !0, elements: [b] })) : c && c.src && (b.src = c.src) }, x = function (a, b) { return (getComputedStyle(a, null) || {})[b] }, y = function (a, b, c) { for (c = c || a.offsetWidth; c < d.minSize && b && !a._lazysizesWidth;) c = b.offsetWidth, b = b.parentNode; return c }, z = function () { var a, c, d = [], e = [], f = d, g = function () { var b = f; for (f = d.length ? e : d, a = !0, c = !1; b.length;) b.shift()(); a = !1 }, h = function (d, e) { a && !e ? d.apply(this, arguments) : (f.push(d), c || (c = !0, (b.hidden ? k : l)(g))) }; return h._lsFlush = g, h }(), A = function (a, b) { return b ? function () { z(a) } : function () { var b = this, c = arguments; z(function () { a.apply(b, c) }) } }, B = function (a) { var b, c = 0, e = d.throttleDelay, g = d.ricTimeout, h = function () { b = !1, c = f.now(), a() }, i = m && g > 49 ? function () { m(h, { timeout: g }), g !== d.ricTimeout && (g = d.ricTimeout) } : A(function () { k(h) }, !0); return function (a) { var d; (a = !0 === a) && (g = 33), b || (b = !0, d = e - (f.now() - c), d < 0 && (d = 0), a || d < 9 ? i() : k(i, d)) } }, C = function (a) { var b, c, d = 99, e = function () { b = null, a() }, g = function () { var a = f.now() - c; a < d ? k(g, d - a) : (m || e)(e) }; return function () { c = f.now(), b || (b = k(g, d)) } }, D = function () { var g, l, m, o, p, y, D, F, G, H, I, J, K = /^img$/i, L = /^iframe$/i, M = "onscroll" in a && !/(gle|ing)bot/.test(navigator.userAgent), N = 0, O = 0, P = 0, Q = -1, R = function (a) { P--, (!a || P < 0 || !a.target) && (P = 0) }, S = function (a) { return null == J && (J = "hidden" == x(b.body, "visibility")), J || "hidden" != x(a.parentNode, "visibility") && "hidden" != x(a, "visibility") }, T = function (a, c) { var d, f = a, g = S(a); for (F -= c, I += c, G -= c, H += c; g && (f = f.offsetParent) && f != b.body && f != e;) (g = (x(f, "opacity") || 1) > 0) && "visible" != x(f, "overflow") && (d = f.getBoundingClientRect(), g = H > d.left && G < d.right && I > d.top - 1 && F < d.bottom + 1); return g }, U = function () { var a, f, h, j, k, m, n, p, q, r, s, t, u = c.elements; if ((o = d.loadMode) && P < 8 && (a = u.length)) { for (f = 0, Q++; f < a; f++) if (u[f] && !u[f]._lazyRace) if (!M || c.prematureUnveil && c.prematureUnveil(u[f])) aa(u[f]); else if ((p = u[f][i]("data-expand")) && (m = 1 * p) || (m = O), r || (r = !d.expand || d.expand < 1 ? e.clientHeight > 500 && e.clientWidth > 500 ? 500 : 370 : d.expand, c._defEx = r, s = r * d.expFactor, t = d.hFac, J = null, O < s && P < 1 && Q > 2 && o > 2 && !b.hidden ? (O = s, Q = 0) : O = o > 1 && Q > 1 && P < 6 ? r : N), q !== m && (y = innerWidth + m * t, D = innerHe
67ight + m, n = -1 * m, q = m), h = u[f].getBoundingClientRect(), (I = h.bottom) >= n && (F = h.top) <= D && (H = h.right) >= n * t && (G = h.left) <= y && (I || H || G || F) && (d.loadHidden || S(u[f])) && (l && P < 3 && !p && (o < 3 || Q < 4) || T(u[f], m))) { if (aa(u[f]), k = !0, P > 9) break } else !k && l && !j && P < 4 && Q < 4 && o > 2 && (g[0] || d.preloadAfterLoad) && (g[0] || !p && (I || H || G || F || "auto" != u[f][i](d.sizesAttr))) && (j = g[0] || u[f]); j && !k && aa(j) } }, V = B(U), W = function (a) { var b = a.target; if (b._lazyCache) return void delete b._lazyCache; R(a), s(b, d.loadedClass), t(b, d.loadingClass), u(b, Y), v(b, "lazyloaded") }, X = A(W), Y = function (a) { X({ target: a.target }) }, Z = function (a, b) { try { a.contentWindow.location.replace(b) } catch (c) { a.src = b } }, $ = function (a) { var b, c = a[i](d.srcsetAttr); (b = d.customMedia[a[i]("data-media") || a[i]("media")]) && a.setAttribute("media", b), c && a.setAttribute("srcset", c) }, _ = A(function (a, b, c, e, f) { var g, h, j, l, o, p; (o = v(a, "lazybeforeunveil", b)).defaultPrevented || (e && (c ? s(a, d.autosizesClass) : a.setAttribute("sizes", e)), h = a[i](d.srcsetAttr), g = a[i](d.srcAttr), f && (j = a.parentNode, l = j && n.test(j.nodeName || "")), p = b.firesLoad || "src" in a && (h || g || l), o = { target: a }, s(a, d.loadingClass), p && (clearTimeout(m), m = k(R, 2500), u(a, Y, !0)), l && q.call(j.getElementsByTagName("source"), $), h ? a.setAttribute("srcset", h) : g && !l && (L.test(a.nodeName) ? Z(a, g) : a.src = g), f && (h || l) && w(a, { src: g })), a._lazyRace && delete a._lazyRace, t(a, d.lazyClass), z(function () { var b = a.complete && a.naturalWidth > 1; p && !b || (b && s(a, "ls-is-cached"), W(o), a._lazyCache = !0, k(function () { "_lazyCache" in a && delete a._lazyCache }, 9)), "lazy" == a.loading && P-- }, !0) }), aa = function (a) { if (!a._lazyRace) { var b, c = K.test(a.nodeName), e = c && (a[i](d.sizesAttr) || a[i]("sizes")), f = "auto" == e; (!f && l || !c || !a[i]("src") && !a.srcset || a.complete || r(a, d.errorClass) || !r(a, d.lazyClass)) && (b = v(a, "lazyunveilread").detail, f && E.updateElem(a, !0, a.offsetWidth), a._lazyRace = !0, P++, _(a, b, f, e, c)) } }, ba = C(function () { d.loadMode = 3, V() }), ca = function () { 3 == d.loadMode && (d.loadMode = 2), ba() }, da = function () { if (!l) { if (f.now() - p < 999) return void k(da, 999); l = !0, d.loadMode = 3, V(), j("scroll", ca, !0) } }; return { _: function () { p = f.now(), c.elements = b.getElementsByClassName(d.lazyClass), g = b.getElementsByClassName(d.lazyClass + " " + d.preloadClass), j("scroll", V, !0), j("resize", V, !0), a.MutationObserver ? new MutationObserver(V).observe(e, { childList: !0, subtree: !0, attributes: !0 }) : (e[h]("DOMNodeInserted", V, !0), e[h]("DOMAttrModified", V, !0), setInterval(V, 999)), j("hashchange", V, !0), ["focus", "mouseover", "click", "load", "transitionend", "animationend"].forEach(function (a) { b[h](a, V, !0) }), /d$|^c/.test(b.readyState) ? da() : (j("load", da), b[h]("DOMContentLoaded", V), k(da, 2e4)), c.elements.length ? (U(), z._lsFlush()) : V() }, checkElems: V, unveil: aa, _aLSL: ca } }(), E = function () { var a, c = A(function (a, b, c, d) { var e, f, g; if (a._lazysizesWidth = d, d += "px", a.setAttribute("sizes", d), n.test(b.nodeName || "")) for (e = b.getElementsByTagName("source"), f = 0, g = e.length; f < g; f++) e[f].setAttribute("sizes", d); c.detail.dataAttr || w(a, c.detail) }), e = function (a, b, d) { var e, f = a.parentNode; f && (d = y(a, f, d), e = v(a, "lazybeforesizes", { width: d, dataAttr: !!b }), e.defaultPrevented || (d = e.detail.width) && d !== a._lazysizesWidth && c(a, f, e, d)) }, f = function () { var b, c = a.length; if (c) for (b = 0; b < c; b++) e(a[b]) }, g = C(f); return { _: function () { a = b.getElementsByClassName(d.autosizesClass), j("resize", g) }, checkElems: g, updateElem: e } }(), F = function () { !F.i && b.getElementsByClassName && (F.i = !0, E._(), D._()) }; return k(function () { d.init && F() }), c = { cfg: d, autoSizer: E, loader: D, init: F, uP: w, aC: s, rC: t, hC: r, fire: v, gW: y, rAF: z } });
68
69    document.addEventListener('lazybeforeunveil', function (e) {
70        var typePattern = "";
71        var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
72
73        if (w < 1000) (typePattern = "data-mobile");
74
75        hidpi(e.target, typePattern);
76
77        function hidpi(img, typePattern) {
78            if (img.getAttribute('data-desktop_only') != null && typePattern != '') return false;
79            if (typePattern != "" && (img.getAttribute(typePattern) != null && img.getAttribute(typePattern) != "")) {
80                var infosPattern = img.getAttribute(typePattern).split('|');
81                var infosbase = img.getAttribute('data-base').split('|');
82
83                var final = img.getAttribute('data-src').replace("/" + infosbase[0] + "/", "/" + infosPattern[0] + "/").replace("-" + infosbase[1] + ".", "-" + infosPattern[1] + ".");
84                return img.setAttribute('data-src', final);
85            }
86            return img.getAttribute('data-src');
87        }
88    });</script>
88
89          
89<script type="text/javascript">window.gdprAppliesGlobally=true;(function(){function a(e){if(!window.frames[e]){if(document.body&&document.body.firstChild){var t=document.body;var n=document.createElement("iframe");n.style.display="none";n.name=e;n.title=e;t.insertBefore(n,t.firstChild)}
90else{setTimeout(function(){a(e)},5)}}}function e(n,r,o,c,s){function e(e,t,n,a){if(typeof n!=="function"){return}if(!window[r]){window[r]=[]}var i=false;if(s){i=s(e,t,n)}if(!i){window[r].push({command:e,parameter:t,callback:n,version:a})}}e.stub=true;function t(a){if(!window[n]||window[n].stub!==true){return}if(!a.data){return}
91var i=typeof a.data==="string";var e;try{e=i?JSON.parse(a.data):a.data}catch(t){return}if(e[o]){var r=e[o];window[n](r.command,r.parameter,function(e,t){var n={};n[c]={returnValue:e,success:t,callId:r.callId};a.source.postMessage(i?JSON.stringify(n):n,"*")},r.version)}}
92if(typeof window[n]!=="function"){window[n]=e;if(window.addEventListener){window.addEventListener("message",t,false)}else{window.attachEvent("onmessage",t)}}}e("__tcfapi","__tcfapiBuffer","__tcfapiCall","__tcfapiReturn");a("__tcfapiLocator");(function(e){
93var t=document.createElement("script");t.id="spcloader";t.type="text/javascript";t.async=true;t.src="https://sdk.privacy-center.org/"+e+"/loader.js?target="+document.location.hostname;t.charset="utf-8";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)})("ca08d6ad-65e3-410b-943d-97d9e2081851")})();</script>
93
94    
95            
96                    	        
97    <link rel='stylesheet' type='text/css' href='https://files.prsmedia.fr/files/AAL/min/fr/css/fonts.94F935066A34A53F830C2767E64DCC84.min.css' /><link rel='stylesheet' type='text/css' href='https://files.prsmedia.fr/files/AAL/min/fr/css/style.472C5FE719C90D1AC37233A5CBFEFC0D.min.css' /><link rel='stylesheet' type='text/css' href='https://files.prsmedia.fr/files/AAL/min/fr/css/lightslider.D3B5F4516D1E0796A4D8B196736A34B4.min.css' />
98</head>
99    <body class=" ProductListNewComponent">
100        <!-- Google Tag Manager (noscript) -->
vendor: 69 bytes, lines 100-101
100
101<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
101GTM-5S5X2TX
vendor: 85 bytes, lines 101-102
101"
102height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
103<!-- End Google Tag Manager (noscript) -->
104<header id="header" role="banner" class="noprint">
105    <div class="headerTop">
106        <div class="headerTopLeft noPrint">
107            <div class="mod GJNU_PDFWidget" id="lastPost">
108    <div class="modContent">
109                                <div class="item">
110                <div class="book">
111                                        <a href="/connexion" title="N°80 du 6 octobre 2026" class="UA-trackEvent" data-UAval1="clic-entree-tunnel" data-UAval2="clic-module-offres-pdf" data-UAval3="clic-vignette-pdf">
112                       <img src="https://s-www.affiches-moniteur.com/images/3c86c6ea-68db-4f01-bd71-3e9f380b118a/JNU_01/n-80-du-6-octobre-2026-1791194799.jpg" alt="N°80 du 6 octobre 2026" />
113                    </a>
114                                                                <a href="/parution-numerique#N80" title="N°80 du 6 octobre 2026" class="UA-trackEvent" data-UAval1="clic-entree-tunnel" data-UAval2="clic-module-offres-pdf" data-UAval3="clic-vignette-pdf">
115                            <span class="label"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 7" width="10" height="10"><path d="M1.4.7l.7-.7 3.5 3.5L2.1 7l-.7-.7 2.8-2.8L1.4.7z" fill="#3D5AA9"></path></svg> Consulter le journal</span>
116                        </a>
117                                    </div>
118                            </div>
119                        </div>
120     </div>            <i class="icon_menu menu_mobile"></i>
121        </div>
122        <div class="headerTopMid">
123            <a class="GA-tracking logoAFDAL" href="/" title="AFDAL - Les affiches d'Alsace et de Lorraine" data-GA_type="click" data-GA_category="Navigation" data-GA_action="naviguer par entete" data-GA_label="lien par le logo">
124                <span class="ei_sronly">AFDAL - Les affiches d'Alsace et de Lorraine</span>
125                <img src="https://files.prsmedia.fr/files/AAL/fr/images/logoAFDAL.png" alt="Accueil AFDAL - Les affiches d'Alsace et de Lorraine" />
126            </a>
127        </div>
128        <div class="headerTopRight noPrint">
129            
130    <!--<a href="/abonnements" class="button red light">Abonnez-vous</a>-->
131    <a class="Connect" href="/connexion">
132        <i class="icon_profil_rounded"></i>
133        <span class="userLabel">Se connecter</span>
134    </a>
135        </div>
136    </div>
137    <div class="headerBottom">
138        <div class="navContainer">
139        <nav>
140    <ul class="nav_model01 nav_niv1 noprint  mobileScroll">
141                <li class="itemLevel1 selected haveChild">
142                            <a href="#" >Services</a>
143                                    <ul class="nav_niv2">
144                                <li class="itemLevel2 "><a href="/publier-annonce" class="linkLevel2">Publier une annonce</a>                                <li class="itemLevel2 menu-lock"><a href="/annonces" class="linkLevel2">Consulter une annonce</a>                                <li class="itemLevel2 menu-lock"><a href="/parution-numerique" class="linkLevel2">Consulter nos parutions</a>                                <li class="itemLevel2 "><a href="/nos-services" class="linkLevel2">Tous nos services</a>                                </li>
145            </ul> 
146                    </li>
147                <li class="itemLevel1 ">
148                            <a href="/dossier" >Dossier</a>
149                                </li>
150                <li class="itemLevel1 ">
151                            <a href="/interview" >Interview</a>
152                                </li>
153                <li class="itemLevel1 ">
154                            <a href="/droit" >Droit</a>
155                                </li>
156                <li class="itemLevel1 ">
157                            <a href="/economie" >Économie</a>
158                                </li>
159                <li class="itemLevel1 ">
160                            <a href="/grand-est" >Grand Est</a>
161                                </li>
162                <li class="itemLevel1 search">
163                                                <i class="icon_search"></i>
164                                                </li>
165                <li class="itemLevel1 contact-menu">
166                            <a href="/contact" >Contact</a>
167                                </li>
168            </ul>
169                                                                                                <div class="boxSearch" role="search">
170                <form action="/recherche" method="get" id="form1">
171                <i class="icon_close"></i>
172                <label for="searchInput">Rechercher</label>
173                <div class="searchBar">
174                    <input type="text" id="searchInput" name="q" value="" class="inputSearch" title="Rechercher" placeholder="Rechercher" autocomplete="off" />
175                    <div class="btnSearch">
176                        <input type="submit" role="button" value="Ok" class="btSearch" />
177                        <i class="icon_search"></i>
178                    </div>
179                </div>
180                <input type="hidden" value="1" name="x" />
181                <input type="hidden" value="1" name="y" />
182                </form>
183            </div>
184                        </nav>        </div>
185    </div>
186    <div class="header_mobile">
187        
188                <div class="mod GJNU_PDFWidget" id="lastPostMobile">
189    <div class="modContent">
190                                <div class="item">
191                <div class="book">
192                                        <a href="/connexion" title="N°80 du 6 octobre 2026" class="UA-trackEvent" data-UAval1="clic-entree-tunnel" data-UAval2="clic-module-offres-pdf" data-UAval3="clic-vignette-pdf">
193                       <img src="https://s-www.affiches-moniteur.com/images/3c86c6ea-68db-4f01-bd71-3e9f380b118a/JNU_01/n-80-du-6-octobre-2026-1791194799.jpg" alt="N°80 du 6 octobre 2026" />
194                    </a>
195                                                                <a href="/parution-numerique#N80" title="N°80 du 6 octobre 2026" class="UA-trackEvent" data-UAval1="clic-entree-tunnel" data-UAval2="clic-module-offres-pdf" data-UAval3="clic-vignette-pdf">
196                            <span class="label"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 7" width="10" height="10"><path d="M1.4.7l.7-.7 3.5 3.5L2.1 7l-.7-.7 2.8-2.8L1.4.7z" fill="#3D5AA9"></path></svg> Consulter le journal</span>
197                        </a>
198                                    </div>
199                            </div>
200                        </div>
201     </div><nav>
202    <ul class="nav_model01 nav_niv1 noprint  mobileScroll">
203                <li class="itemLevel1 ">
204                            <a href="/" >Accueil</a>
205                                </li>
206                <li class="itemLevel1 ">
207                            <a href="/selection-de-la-redaction" >Tous les articles</a>
208                                </li>
209                <li class="itemLevel1 selected haveChild">
210                            <a href="#" >Services</a>
211                                    <ul class="nav_niv2">
212                                <li class="itemLevel2 "><a href="/publier-annonce" class="linkLevel2">Publier une annonce</a>                                <li class="itemLevel2 menu-lock"><a href="/annonces" class="linkLevel2">Consulter une annonce</a>                                <li class="itemLevel2 menu-lock"><a href="/parution-numerique" class="linkLevel2">Consulter nos parutions</a>                                <li class="itemLevel2 "><a href="/nos-services" class="linkLevel2">Tous nos services</a>                                </li>
213            </ul> 
214                    </li>
215                <li class="itemLevel1 ">
216                            <a href="/dossier" >Dossier</a>
217                                </li>
218                <li class="itemLevel1 ">
219                            <a href="/interview" >Interview</a>
220                                </li>
221                <li class="itemLevel1 ">
222                            <a href="/droit" >Droit</a>
223                                </li>
224                <li class="itemLevel1 ">
225                            <a href="/economie" >Économie</a>
226                                </li>
227                <li class="itemLevel1 ">
228                            <a href="/grand-est" >Grand Est</a>
229                                </li>
230                <li class="itemLevel1 search">
231                                                <i class="icon_search"></i>
232                                                </li>
233                <li class="itemLevel1 contact-menu">
234                            <a href="/contact" >Contact</a>
235                                </li>
236            </ul>
237                                                                                                                        <div class="boxSearch" role="search">
238                <form action="/recherche" method="get" id="form1">
239                <i class="icon_close"></i>
240                <label for="searchInput">Rechercher</label>
241                <div class="searchBar">
242                    <input type="text" id="searchInput" name="q" value="" class="inputSearch" title="Rechercher" placeholder="Rechercher" autocomplete="off" />
243                    <div class="btnSearch">
244                        <input type="submit" role="button" value="Ok" class="btSearch" />
245                        <i class="icon_search"></i>
246                    </div>
247                </div>
248                <input type="hidden" value="1" name="x" />
249                <input type="hidden" value="1" name="y" />
250                </form>
251            </div>
252                        </nav>    </div>
253</header>        
254        <main id="wrapper" class="layout_1c" role="main">
255            <div class="constrain">
256                                                    <section class="section_top"><ul id="ariane" class="GFWK_breadcrumb noPrint">
257      <li class="accueil">
258        <a href="/" class="UA-trackEvent" data-uaval1="Navigation" data-uaval2="clic-fil-ariane" data-uaval3="clic-lien-accueil" title="accueil AFDAL : LES AFFICHES D'ALSACE LORRAINE">
259            Accueil
260        </a>
261      </li>
262            <li class="last">
263                  <span class="icon_arrowMenu right before has_svg">
264            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 7" width="7" height="7"><path d="M1.4.7l.7-.7 3.5 3.5L2.1 7l-.7-.7 2.8-2.8L1.4.7z" fill="#757575"></path></svg>
265            Nos parutions
266          </span>
267              </li>
268          </ul></section>
269                
270                
271                <section class="section_main">
272                    <h1>Toutes nos parutions</h1>                                                                                    <div class="commonSiteUrl" style="display: none;">https://files.prsmedia.fr/files</div>
273<div class="connectionUrl" style="display:none;"></div>
274<div class="editionsByPage" style="display: none;"></div>
275<div class="productCode" style="display: none;"></div>
276<div class="widthByEdition" style="display: none;"></div>
277
278<!-- Bloc "Highlight" -->
279<div class="editionsBlock highlightedEdition">
280</div>
281
282<!-- Bloc "Edition favorite" -->
283<div class="editionsBlock favoriteEditions" id="MAIN" data-page="1" data-maxpage="1" data-nthitem="0">
284    <div class="constrain">
285        <div class="editionsBlockSlider rightFog">
286            <a class="navButtons prevEdition" href="#"></a>
287            <a class="navButtons nextEdition" href="#"></a>
288            <div class="editionsBlockWrapper">
289            </div> <!-- /editionsBlockWrapper -->
290        </div> <!-- /editionsBlockSlider -->
291    </div> <!-- /favoriteEditions -->
292</div> <!-- /constrain -->
293
294                </section>
295
296                                            </div>
297        </main>
298        
299        <a href="#wrapper" class="goToAnchor" title="Retour en haut de page"><span class='ei_sronly'>Retour en haut de page</span></a>
300<footer id="footer" role="contentinfo" class="noprint">
301    <div class="constrain">
302        <nav>
303    <ul class="nav_model01 nav_niv1 noprint footer mobileScroll">
304                <li class="itemLevel1 ">
305                            <a href="/nos-services" >Nos Services</a>
306                                </li>
307                <li class="itemLevel1 ">
308                            <a href="/contact" >Contact</a>
309                                </li>
310                <li class="itemLevel1 ">
311                            <a href="/mentions-legales" >Mentions légales</a>
312                                </li>
313                <li class="itemLevel1 ">
314                            <a href="/cgu" >CGU / CGV</a>
315                                </li>
316                <li class="itemLevel1 ">
317                            <a href="/protection-des-donnees" >Protection des données</a>
318                                </li>
319            </ul>
320                                                                </nav>    </div>
321</footer>
322<script>var CommonFilesBaseUrl = 'https://files.prsmedia.fr/files'; var trigramme = 'AAL'; var cookieDomain = 'affiches-moniteur.com';
323</script>
323<script src='https://files.prsmedia.fr/files/min/fr/javascript/lib/jquery.1.11.1min.js'></script>
323<script src='https://files.prsmedia.fr/files/min/fr/javascript/lib/jquery-ui.min.js'></script>
323<script src='https://files.prsmedia.fr/files/AAL/fr/javascript/lib/jquery-3.3.1.min.js' ></script>
vendor: 1 bytes, line 323
323
324<script src='https://files.prsmedia.fr/files/AAL/fr/javascript/lib/jquery-ui-1.10.4.min.js' ></script>
vendor: 1 bytes, line 324
324
325<script src='https://files.prsmedia.fr/files/AAL/min/fr/javascript/global.081CC571B511FA9BAE7B8983DBF503D1.min.js' ></script>
vendor: 1 bytes, line 325
325
326<script src='https://files.prsmedia.fr/files/AAL/min/fr/javascript/lib/lightSlider.39AEF66E01B6A214EFB13F445D6AE34C.min.js' ></script>
vendor: 1 bytes, line 326
326
327<script src='https://files.prsmedia.fr/files/AAL/min/fr/javascript/lib/jquery-validation.1.12.0.B872096CEDDC2EE7C20600085121EA2C.min.js' ></script>
vendor: 1 bytes, line 327
327
328<script>$(window).on('load',function(){$.each(bufferLoad,function(){$.ajax({url:this,dataType:'script',cache:true});});});
329$(document).ready(function() {$(document).ready(function () {
330    var pageUrl = window.location.href.toLowerCase(),
331        nocache = "";
332
333    if (pageUrl.indexOf("?nocache=true") > -1) {
334        var nocache = "?nocache=true";
335    }
336
337    /*
338     * Nouveau kiosque
339     * Chargement du json
340     */
341
342    if(trigramme == "ALS" || trigramme == "DNA" || trigramme == "LDL") {
343        var editionsByPage = 6;
344        var widthByEdition = 172;
345    }
346    else if(trigramme == "LBP" || trigramme == "JSL" || trigramme == "LPR") {
347        var editionsByPage = 5.5;
348        var widthByEdition = 185;
349    }
350    else {
351        var editionsByPage = 5;
352        var widthByEdition = 198;
353    }
354    //var editionsByPage = 6;
355    $(".editionsByPage").html(editionsByPage);
356    $(".widthByEdition").html(widthByEdition);
357    /*console.log("editionsByPage",editionsByPage);
358    console.log("widthByEdition", widthByEdition);*/
359
360    getFavoriteCode(nocache);
361
362    var codeProduct = "";
363
364    if (getCookie('KiosqueEditionFavorite')) {
365        codeProduct = JSON.parse(decodeURIComponent(getCookie('KiosqueEditionFavorite'))).code;
366    }
367
368    //var codeProduct = getCookie('KiosqueEditionFavorite') != "" ? JSON.parse(decodeURIComponent(getCookie('KiosqueEditionFavorite'))).code : JSON.parse(decodeURIComponent(getCookie('Edition'))).code.substring(4);
369	var codeDigitaledition = getCookie('KiosqueEditionFavorite') ? JSON.parse(decodeURIComponent(getCookie('KiosqueEditionFavorite'))).code : "";
370
371	$ .ajax({
372        type: "POST",
373        url: "/webservices/CDM.GJNU/CDM.GJNU.Web.Services.ProductQueryService.asmx/GetFavorites" + nocache,
374        cache: "true",
375        dataType: "json",
376        contentType: "application/json; charset=utf-8",
377        success: function (data) {
378            createFavoritesList(data.d);
379        }
380    });
381
382	getKiosque(nocache, codeProduct, codeDigitaledition, false);
383
384    /* Changement de l'édition favorite dans le kiosque */
385    $(".favoriteEditions select").on("change", function() {
386        var chosenEdition =  $(this).find(":selected").val();
387        //$(this).find('option[value="' + chosenEdition + '"]').attr('selected','selected');
388
389        setFavorite(nocache, chosenEdition);
390
391        $(".editionsBlock").removeClass("fullyLoaded");
392        $(".editionsBlock .editionsBlockWrapper").css("transform", "translateX(0)");
393
394        getKiosque(nocache, chosenEdition, codeDigitaledition, true); 
395    });
396
397    function createFavoritesList(jsonFavorites) 
398    {
399	    jsonFavorites.forEach(createFavoritesChoicesList);
400    }
401
402    function createFavoritesChoicesList(item, index) {
403        var favoritesChoicesList = '', 
404            favKiosqueEdition = $(".productCode").html(),
405            selected = "";
406
407        favoritesChoicesList += '<option value="" disabled="disabled">' + item.Label + '</option>';
408
409        item.Favorites.forEach(function (subItem, subIndex) {
410            /*if(favKiosqueEdition != "") {
411                if(subItem.Code == favKiosqueEdition)
412                    selected = 'selected="selected"';
413                else
414                    selected = "";
415            }*/
416
417            //favoritesChoicesList += '<option value="' + subItem.Code + '" ' + selected + '>' + subItem.Label + '</option>';
418            favoritesChoicesList += '<option value="' + subItem.Code + '">' + subItem.Label + '</option>';
419        });
420	    $("#liste").append(favoritesChoicesList);
421    }
422
423}); // document.ready()
424
425$(window).on("load", function () {
426}); // $(window).on("load")    
427
428function getFavoriteCode(nocache) {
429    $ .ajax({
430        type: "POST",
431        url: "/webservices/CDM.GJNU/CDM.GJNU.Web.Services.ProductQueryService.asmx/GetFavoriteCode" + nocache,
432        cache: "true",
433        dataType: "json",
434        contentType: "application/json; charset=utf-8",
435        success: function (data) {
436            var favoriteCode = '';
437            if (data.d == null || data.d == "") {
438                favoriteCode = '';
439            } else {
440                favoriteCode = data.d;
441            }
442
443            var KiosqueEdFavCookie = getCookie('KiosqueEditionFavorite') ? JSON.parse(decodeURIComponent(getCookie('KiosqueEditionFavorite'))).code : "";
444
445            if(KiosqueEdFavCookie != favoriteCode && favoriteCode != "") {
446                setCookie('KiosqueEditionFavorite', JSON.stringify({ code: favoriteCode }), 30);
447                $(".productCode").html(favoriteCode);
448            }
449            else {
450                setCookie('KiosqueEditionFavorite', JSON.stringify({ code: KiosqueEdFavCookie }), 30);
451                //$(".productCode").html(KiosqueEdFavCookie);
452            }
453            //console.log("ready : getFavoriteCode",favoriteCode);
454        }
455    });
456}
457
458function setFavorite(nocache, code, codeDigitaledition) {
459    /* Récupère l'édition favorite du kiosque de l'utilisateur connecté */
460    $ .ajax({
461        type: "POST",
462        url: "/webservices/CDM.GJNU/CDM.GJNU.Web.Services.ProductQueryService.asmx/SetFavorite2" + nocache,
463        cache: "true",
464        dataType: "json",
465        contentType: "application/json; charset=utf-8",
466        data: "{code: \"" + code + "\"}",
467        success: function () {
468            setCookie('KiosqueEditionFavorite', JSON.stringify({ code: code }), 30);
469            $(".productCode").html(code);
470            //getKiosque(code, codeDigitaledition, true);
471        }
472    });
473}
474
475function getKiosque(nocache, codeProduct, codeDigitaledition, update, nthItem, pageSize) {
476    var editionsByPage = parseInt($(".editionsByPage").html()),
477        nthItem = typeof nthItem !== 'undefined' ? nthItem : 0,
478        pageSize = typeof pageSize !== 'undefined' ? pageSize : editionsByPage;
479    $ .ajax({
480        type: "POST",
481        url: "/webservices/CDM.GJNU/CDM.GJNU.Web.Services.ProductQueryService.asmx/GetKiosqueWithPager" + nocache,
482        cache: "true",
483        dataType: "json",
484        contentType: "application/json; charset=utf-8",
485		data: "{codeProduct: \"" + codeProduct + "\", codeDigitaledition: \"" + codeDigitaledition + "\", nthItem: \"" + nthItem + "\", pageSize: \"" + pageSize + "\"}",
486        beforeSend: function () {
487            emptyBlocks();
488            addSkeletons(editionsByPage);
489        },
490        success: function (data) {
491
492            //Prise en compte du favori renvoyé par l'ajax
493            $('#MAIN #liste option').removeProp("selected").removeAttr("selected");
494            $('#MAIN #liste option[value="' + data.d.HighLightLinkedEditionCode + '"]').prop('selected',true).attr("selected", "selected");
495
496            removeSkeletons();
497            if(update) {
498                emptyBlocks();
499                $(".navButtons.nextEdition").show();
500            }
501            if(data.d.Highlight != null) {
502				generateHighlightBlock(data.d.Highlight, data.d.IsAuthenticated);
503            }
504
505            generateBlocks(data.d.Universes, update, data.d.IsAuthenticated, nthItem);            
506        
507            var debounce_timer;    
508            var el = $(window),
509                lastX = el.scrollLeft();
510
511            /* Chargement de plus d'éditions */
512            var endDiv = "<div class='endDiv'>Aucune parution supplémentaire n'est disponible.</div>";
513
514            /* Desktop */
515            $('.editionsBlock:not(.highlightedEdition) .editionsBlockSli
515der .navButtons.nextEdition').off('click').on('click', function(e) {
516	            e.preventDefault();
517
518	            var usedBlock = $(e.target).parents(".editionsBlock"),
519		            usedOverflowedBlock = usedBlock.find(".editionsBlockWrapper"), 
520		            universeCode = usedBlock.attr("id") != undefined ? usedBlock.attr("id") : "MAIN",
521		            actualNthItem = parseInt(usedBlock.attr("data-nthitem")), 
522		            actualTranslateXValue = parseInt(usedOverflowedBlock.attr("data-translateXValue")),
523		            page = parseInt(usedBlock.attr("data-page")), 
524		            maxPage = parseInt(usedBlock.attr("data-maxPage")),
525                    nbTotal = parseInt(usedBlock.attr("data-nbTotal")),
526                    widthByEdition = parseInt($(".widthByEdition").html());
527
528                //Cas particuliers des magazines des DNA
529                if(trigramme == "DNA" && usedBlock.attr("id") == "VER") {
530                    widthByEdition = 170;
531                }
532
533
534                    //var codeProduct = getCookie('KiosqueEditionFavorite') != "" ? JSON.parse(decodeURIComponent(getCookie('KiosqueEditionFavorite'))).code : "";
535                    var codeCookieEditionFavorite = JSON.parse(decodeURIComponent(getCookie('KiosqueEditionFavorite'))).code;
536                    if(codeCookieEditionFavorite != "" && codeCookieEditionFavorite != codeProduct) {
537                        codeProduct = codeCookieEditionFavorite;
538                    }
539
540
541                    $(e.target).siblings(".prevEdition").show();
542
543	            if(page < maxPage) {
544                    // navigation entre les pages déjà chargées
545                    var translateXValue = actualTranslateXValue + (editionsByPage*widthByEdition);
546                    
547                    usedBlock.find('.navButtons.nextEdition').show();
548                    usedBlock.find('.editionsBlockSlider').addClass("rightFog");
549                    
550                    if((page+1) < maxPage) {
551
552
553                        // si la page suivante n'est pas la dernière
554                        usedBlock.find('.navButtons.nextEdition').show();
555                    }
556                    else if((page+1) == maxPage && usedBlock.hasClass("fullyLoaded")) {
557                        // si on est à la fin
558                        usedBlock.find('.navButtons.nextEdition').attr( "style", "display: none !important;" );
559                        usedBlock.find('.navButtons.prevEdition').attr( "style", "display: block !important;" );
560                        if(usedBlock.find('.editionsBlockSlider').hasClass("rightFog")) {
561                            usedBlock.find('.editionsBlockSlider').removeClass("rightFog");
562                        }
563                        if(usedOverflowedBlock.find('.endDiv').length == 0){
564                        	usedOverflowedBlock.append(endDiv);
565                        } 
566                    }
567                    else {
568                        usedBlock.find('.navButtons.nextEdition').show();
569                        if(!usedBlock.find('.editionsBlockSlider').hasClass("rightFog")) {
570                            usedBlock.find('.editionsBlockSlider').hasClass("rightFog");
571                        }
572                    }
573
574			        page = page + 1;
575                    if(viewPortWidth > 768){
576		                usedOverflowedBlock.css("transform", "translateX(-" + translateXValue + "px)").css("transition", "transform 2s");
577                    }
578		            usedOverflowedBlock.attr("data-translatexvalue", translateXValue);
579		            usedBlock.attr("data-page", page);
580	            }
581	            else if(page == maxPage && usedOverflowedBlock.find(".loadingSkeleton").length == 0 && !usedBlock.hasClass("fullyLoaded")) {
582                    // lorsqu'on charge la page suivante
583		            usedBlock.attr("data-page", page+1);
584		            usedBlock.attr("data-maxPage", maxPage+1);
585
586                    //if(actualNthItem+1 == $("#" + universeCode).attr("data-nbTotal")) {
587                    if(actualNthItem+1  >= nbTotal) {
588 
589                        // si on est au bout
590                        usedOverflowedBlock.css("width", parseInt(usedOverflowedBlock.width()+160+15) +"px");
591                        usedOverflowedBlock.append(endDiv);
592                        usedBlock.find('.editionsBlockSlider').removeClass("rightFog");
593                        usedBlock.addClass("fullyLoaded");
594                        usedOverflowedBlock.css("transform", "translateX(-"+parseInt(actualTranslateXValue+175)+"px)").css("transition", "transform 2s");
595                        if(universeCode == "SUP") {
596                            //usedOverflowedBlock.css("transform", "translateX(-1000px)").css("transition", "transform 2s");
597                            //usedOverflowedBlock.attr("data-translatexvalue", 1000);
598                        }
599                        usedBlock.find('.navButtons.nextEdition').hide();
600                    }
601                    else {
602
603                        getUniverseWithPager(codeProduct, codeDigitaledition, universeCode, parseInt(actualNthItem+1), editionsByPage, nocache);
604                        usedBlock.find('.navButtons.nextEdition').show();
605                        if(!usedBlock.find('.editionsBlockSlider').hasClass("rightFog")) {
606                            usedBlock.find('.editionsBlockSlider').addClass("rightFog");
607                        }
608                    }
609		            
610                    usedBlock.attr("data-nthitem", parseInt(actualNthItem+editionsByPage));
611	            }
612                else if (page == maxPage && usedBlock.hasClass("fullyLoaded")) {
613                    // si on est vraiment au bout
614                    if(usedOverflowedBlock.width() > 1000 && nbTotal <= pageSize) { //concerne les suppléments
615                		usedBlock.find('.navButtons.nextEdition').hide();
616                		usedBlock.find('.navButtons.prevEdition').attr( "style", "display: block !important;" );
617                        if(!usedBlock.find('.editionsBlockSlider').hasClass("rightFog")) {
618                            usedBlock.find('.editionsBlockSlider').addClass("rightFog");
619                        }
620                		if(viewPortWidth > 768) {
621		                    //usedOverflowedBlock.css("transform", "translateX(-" + translateXValue + "px)").css("transition", "transform 2s");
622		                    usedOverflowedBlock.css("transform", "translateX(-1000px)").css("transition", "transform 2s");
623                            usedOverflowedBlock.attr("data-translatexvalue", 1000);
624                        }
625                        else {
626		                    usedOverflowedBlock.attr("data-translatexvalue", translateXValue);
627                        }
628                    }
629                    else if (page == 11 && usedBlock.hasClass("fullyLoaded")) { // 11ème page = page avec endDiv
630                    	//usedOverflowedBlock.css("transform", "translateX(-"+parseInt(actualTranslateXValue+175)+"px)").css("transition", "transform 2s");
631                    	usedBlock.find('.navButtons.nextEdition').hide();
632                    }
633                    else {                   	
634                        usedBlock.find('.navButtons.nextEdition').hide();
635                        usedBlock.find('.editionsBlockSlider').removeClass("rightFog");
636                    }
637                    if(usedOverflowedBlock.find('.endDiv').length == 0) {
638                        usedOverflowedBlock.css("width", parseInt(usedOverflowedBlock.width()+175) +"px");
639                        usedOverflowedBlock.append(endDiv);
640                        usedBlock.find('.editionsBlockSlider').removeClass("rightFog");
641                    }
642                }
643	            else {
644                    //usedBlock.find('.navButtons.nextEdition').hide();
645                    //usedBlock.find('.editionsBlockSlider').removeClass("rightFog");
646        
647                   
648	            }
649
650
651            });
652
653            $('.editionsBlock:not(.highlightedEdition) .editionsBlockSlider .navButtons.prevEdition').off('click').on('click', function(e) {
654               e.preventDefault();
655	            var usedBlock = $(e.target).parents(".editionsBlock"),
656		            usedOverflowedBlock = usedBlock.find(".editionsBlockWrapper"), 
657		            oldTranslateXValue = usedOverflowedBlock.attr("data-translatexvalue"), 
658                    widthByEdition = parseInt($(".widthByEdition").html()),
659		            actualTranslateXValue = (parseInt(oldTranslateXValue) - (editionsByPage*widthByEdition)) < 0 ? 0 : parseInt(oldTranslateXValue) - (editionsByPage*widthByEdition), //usedBlock.attr("id") != undefined ? usedBlock.attr("id") : "MAIN",
660		            page = parseInt(usedBlock.attr("data-page")), 
661		            maxPage = parseInt(usedBlock.attr("data-maxPage"));
662
663                    //console.log("test actualTranslateXValue",actualTranslateXValue);
664
665		            if(actualTranslateXValue > 0 || usedOverflowedBlock.find(".endDiv").length > 0) {
666                        //console.log("ici actualTranslateXValue > 0 : "+actualTranslateXValue);
667			            $(e.target).show();
668			            $(e.target).siblings(".nextEdition").attr( "style", "display: block !important;" );
669                        if(viewPortWidth > 768)
670			                usedOverflowedBlock.css("transform", "translateX(-" + actualTranslateXValue + "px)").css("transition", "transform 2s"); /* 470px correspond à 3 squelettes */
671                        if(actualTranslateXValue == 0){
672                            $(e.target).attr( "style", "display: none !important;" );
673                        }
674		            }
675		            else {
676                        //console.log("ici actualTranslateXValue <= 0 : "+actualTranslateXValue);
677			            $(e.target).attr( "style", "display: none !important;" );
678                        actualTranslateXValue = 0;
679                        if(viewPortWidth > 768)
680			                usedOverflowedBlock.css("transform", "translateX(" + actualTranslateXValue + "px)").css("transition", "transform 2s");
681		            }
682
683                    usedOverflowedBlock.attr("data-translatexvalue", actualTranslateXValue);
684		
685		            usedBlock.attr("data-page", page-1);
686            });
687            
688            /* Smartphone et tablette */
689            $('.editionsBlock:not(.highlightedEdition) .editionsBlockSli
689der').on('scroll', function(e) { 
690                var usedBlock = $(e.target),
691                    usedOverflowedBlock = usedBlock.find(".editionsBlockWrapper"), 
692                    usedEditionBlock = usedBlock.parents(".editionsBlock"),
693                    universeCode = usedBlock.parents(".editionsBlock").attr("id") != undefined ? usedBlock.parents(".editionsBlock").attr("id") : "MAIN", 
694                    page = parseInt(usedEditionBlock.attr("data-page")), 
695                    maxpage = parseInt(usedEditionBlock.attr("data-maxPage")), 
696                    nbTotal = parseInt(usedEditionBlock.attr("data-nbTotal")), 
697                    codeProduct = $("#liste").val();
698
699                if(debounce_timer) {
700                    window.clearTimeout(debounce_timer);
701                }
702        
703                debounce_timer = window.setTimeout(function() {
704                    var currX = usedBlock.scrollLeft(),
705                    x = (currX > lastX) ? 'right' : ((currX === lastX) ? 'none' : 'left'),
706                    scrollOffset = usedOverflowedBlock.offset().left + usedBlock.offset().left - usedBlock.scrollLeft();
707                    
708                    if(viewPortWidth < 768) {
709                        var testWidth = usedOverflowedBlock.width()*0.8;
710                        //console.log("Math.abs(scrollOffset) > usedOverflowedBlock.width()*0.8" + Math.abs(scrollOffset) + " > " + testWidth);
711                    }
712                    else {
713                        var testWidth = viewPortWidth*0.6;
714                        //console.log("Math.abs(scrollOffset) > viewPortWidth*0.6" + Math.abs(scrollOffset) + " > " + testWidth);
715                    }
716
717                    if(Math.abs(scrollOffset) > testWidth || page == maxpage) {
718                        var actualNthItem = parseInt(usedBlock.parents(".editionsBlock").attr("data-nthitem"));
719        
720                        if(actualNthItem+1 == nbTotal) {
721                            if(usedOverflowedBlock.find('.endDiv').length == 0) {
722                                usedOverflowedBlock.css("width", parseInt(usedOverflowedBlock.width()+240) +"px");
723                                usedOverflowedBlock.append(endDiv);
724                             }
725                        }
726                        
727                        // limiter le nombre d'appels ajax, si un appel est en chargement, pas d'autre appel
728                        if(usedOverflowedBlock.find(".loadingSkeleton").length == 0 && actualNthItem+1 < nbTotal && !usedEditionBlock.hasClass(".fullyLoaded")) {
729                            getUniverseWithPager(codeProduct, codeDigitaledition, universeCode, parseInt(actualNthItem+1), editionsByPage, nocache);
730                  
731                            usedBlock.parents(".editionsBlock").attr("data-nthitem", parseInt(actualNthItem+editionsByPage)).attr("data-page", page+1).attr("data-maxpage", maxpage+1);
732                            //console.log("exécution getUniverseWithPager("+codeProduct+", "+codeDigitaledition+", "+universeCode+", " + actualNthItem + ", " + actualNthItem + ")");
733                        }
734                        else if (usedEditionBlock.hasClass("fullyLoaded") && (actualNthItem == nbTotal || actualNthItem > nbTotal)) {
735                             //if(usedOverflowedBlock.find('.endDiv').length == 0) {
736                                usedOverflowedBlock.css("width", parseInt(usedOverflowedBlock.width()+240) +"px");
737                                usedOverflowedBlock.append(endDiv);
738                             //}
739                        }
740                    }
741                    lastX = currX;
742                }, 500);
743            });
744
745            /*if(update)
746                console.log("les données ont été regénérées");
747            else
748                console.log("les données ont été générées");*/
749        }
750    });
751}
752
753function getUniverseWithPager(codeProduct, codeDigitaledition, universeCode, nthItem, pageSize, nocache) {
754    var editionsByPage = parseInt($(".editionsByPage").html()),
755    nthItem = typeof nthItem !== 'undefined' ? nthItem : 0,
756    pageSize = typeof pageSize !== 'undefined' ? pageSize : editionsByPage;
757    if(trigramme == "DNA" && universeCode == "VER") {
758		widthByEdition = 170;
759		pageSize = 5;
760	}
761	else {
762		widthByEdition = parseInt($(".widthByEdition").html());
763	}
764    $ .ajax({
765        type: "POST",
766        url: "/webservices/CDM.GJNU/CDM.GJNU.Web.Services.ProductQueryService.asmx/GetUniverseWithPager" + nocache,
767        cache: "true",
768        dataType: "json",
769        contentType: "application/json; charset=utf-8",
770		data: "{codeProduct: \"" + codeProduct + "\", codeUniverse: \"" + universeCode + "\", codeDigitaledition: \"" + codeDigitaledition + "\", nthItem: \"" + nthItem + "\", pageSize: \"" + pageSize + "\"}",
771        beforeSend: function () {
772            addSkeletons(pageSize, "#" + universeCode); 
773        },
774        success: function (data) {
775            //console.log("data success getUniverseWithPager : ",data);
776
777            if(viewPortWidth >= 1000)
778                var halfChosenNumberByPages = pageSize;
779            else
780                var halfChosenNumberByPages = Math.ceil(pageSize / 3);
781
782            var newNthItem = (nthItem+pageSize)-1, 
783                oldTranslateXValue = $("#" + universeCode).find(".editionsBlockWrapper").attr("data-translatexvalue") != undefined ? $("#" + universeCode).find(".editionsBlockWrapper").attr("data-translatexvalue") : 0, 
784                translateXValue = parseInt(oldTranslateXValue) + (halfChosenNumberByPages*widthByEdition);    
785
786            $("#" + universeCode).attr("data-nthItem", newNthItem);
787            $("#" + universeCode).find(".editionsBlockWrapper").attr("data-translateXValue", translateXValue);
788
789            generateNewEditions(data.d.Universes, data.d.IsAuthenticated, "#" + universeCode, pageSize);           
790
791            if(nthItem+1 >= data.d.Universes[0].nbTotal) { //nthItem part de 0, pas nbTotal
792                $("#" + universeCode).addClass("fullyLoaded");
793            }
794            else {
795                $("#" + universeCode).removeClass("fullyLoaded");
796            }
797
798            //$("#" + universeCode).find(".editionsBlockWrapper").css("transform", "translateX(-" + translateXValue + "px)").css("transition", "transform 2s");
799
800            removeSkeletons("#" + universeCode);
801            if($("#" + universeCode + " .endDiv").length > 0) {
802                $("#" + universeCode + " .endDiv").appendTo("#" + universeCode + " .editionsBlockWrapper");
803                var actualWidth = $("#" + universeCode + " .editionsBlockWrapper").width();
804                $("#" + universeCode + " .editionsBlockWrapper").css("width", parseInt(actualWidth + 240) + "px");
805                // pk pas de fully loaded?
806            }
807        }
808    });
809}
810
811/*
812 * Bloc "Mise en avant
813 */
814function generateHighlightBlock(jsonKioskHighlight, IsAuthenticated) {
815    //console.log("jsonKioskHighlight",jsonKioskHighlight);
816    var highlightedCoverHigh = "", highlightedCoverLow = "";
817    var highlightedTitle = "";
818
819    var highlightedDay = jsonKioskHighlight.Date.Value.split("/")[1];
820    var highlightedMonth = jsonKioskHighlight.Date.Value.split("/")[0] - 1; //les mois en js sont zero-based
821    var highlightedYear = jsonKioskHighlight.Date.Value.split("/")[2];
822    var highlightedDate = new Date(highlightedYear, highlightedMonth, highlightedDay, 0, 0, 0);
823    var highlightedFormattedDate = highlightedDate.toLocaleDateString("fr-FR", { weekday: "short", day: "
823numeric", month: "numeric", year: "numeric" });
824    var highlightedFormattedDate = highlightedDate.toLocaleDateString("fr-FR", { "weekday": "short" }) + " " + highlightedDate.toLocaleDateString("fr-FR", {day: "2-digit", month: "2-digit", year: "numeric" }).replace(/\s/g, '/').replace(/\u200E/g, '');
825
826    var highlightedPaying = "";
827    var highlightedUrl = "", highlightedUrlText = "LIRE", highlightedUrlTitle = "Lire dans la liseuse";
828
829    if (jsonKioskHighlight.IsDemo) {
830        if (jsonKioskHighlight.Demo.HasImage) {
831            highlightedCoverHigh = getDeclinationPatterns(jsonKioskHighlight.Demo.ImageHighWeb);
832            highlightedCoverLow = getDeclinationPatterns(jsonKioskHighlight.Demo.ImageLowWeb);
833        }
834        highlightedTitle = jsonKioskHighlight.Demo.Label;
835
836        if (jsonKioskHighlight.Demo.HasLiseuse) {
837            highlightedUrl = jsonKioskHighlight.Demo.LiseuseWeb;
838            if (jsonKioskHighlight.Demo.LiseuseIsSecured) {
839                highlightedPaying = "<span class='flagPaid'></span>";;
840            }
841        }
842        else {
843            if (jsonKioskHighlight.Demo.HasFile) {
844                highlightedUrl = jsonKioskHighlight.Demo.FileWeb;
845                //highlightedUrlText = "TÉLÉCHARGER (" + jsonKioskHighlight.Demo.SizeWeb.replace(" ", "\xa0") + ")";
846                //highlightedUrlText = "TÉLÉCHARGER (pdf)";
847                highlightedUrlText = "TÉLÉCHARGER";
848                //highlightedUrlTitle = "Télécharger le fichier PDF";
849                highlightedUrlTitle = "Télécharger";
850                if (jsonKioskHighlight.Demo.FileIsSecured) {
851                    highlightedPaying = "<span class='flagPaid'></span>";;
852                }
853            }
854        }
855    }
856    else {
857        if (jsonKioskHighlight.HasImage) {
858            highlightedCoverHigh = getDeclinationPatterns(jsonKioskHighlight.ImageHighWeb);
859            highlightedCoverLow = getDeclinationPatterns(jsonKioskHighlight.ImageLowWeb);
860        }
861        highlightedTitle = jsonKioskHighlight.Label;
862
863        if (jsonKioskHighlight.HasLiseuse) {
864            if (jsonKioskHighlight.LiseuseIsSecured) {
865                highlightedPaying = "<span class='flagPaid'></span>";;
866            }
867
868            if(jsonKioskHighlight.LiseuseIsAllowed) {
869                if (jsonKioskHighlight.HasTrackingCode) {
870			        highlightedUrl = "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.LiseuseWeb;
871		        }
872		        else {
873			        highlightedUrl = jsonKioskHighlight.LiseuseWeb;
874		        }
875            }
876            else {
877                if (IsAuthenticated) {
878			        if (jsonKioskHighlight.HasTrackingCode) {
879				        highlightedUrl = "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.LiseuseWeb;
880			        }
881			        else {
882				        highlightedUrl = jsonKioskHighlight.LiseuseWeb;
883			        }
884			        highlightedUrlTitle = "Consulter les offres d'abonnements";
885		        }
886		        else {
887			        //var signinUrl = $(".connectionUrl").val() != "" ? $(".connectionUrl").val() : "/connexion"; 
888			        if (jsonKioskHighlight.HasTrackingCode) {
889				        //highlightedUrl = signinUrl + "?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.LiseuseWeb;
890                        highlightedUrl = "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.LiseuseWeb;
891			        }
892			        else {
893				        //highlightedUrl = signinUrl + "?_cm_callback=" + jsonKioskHighlight.LiseuseWeb;
894				        highlightedUrl = jsonKioskHighlight.LiseuseWeb;
895			        }
896			        highlightedUrlTitle = "Se connecter";
897		        }
898            }
899        }
900        else if (jsonKioskHighlight.HasFile) {
901            //highlightedUrlText = "TÉLÉCHARGER (pdf)";
902            highlightedUrlText = "TÉLÉCHARGER";
903            //highlightedUrlTitle = "Télécharger le fichier PDF";
904            highlightedUrlTitle = "Télécharger";
905
906            if (jsonKioskHighlight.FileIsSecured) {
907                highlightedPaying = "<span class='flagPaid'></span>";
908                
909                if (jsonKioskHighlight.FileIsAllowed) {
910                    if (jsonKioskHighlight.HasTrackingCode) {                        
911				        highlightedUrl = "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.FileWeb;
912			        }
913			        else {
914				        highlightedUrl = jsonKioskHighlight.FileWeb;
915			        }
916			        //highlightedUrlTitle = "Télécharger le PDF";
917			        highlightedUrlTitle = "Télécharger";
918                }
919                else {
920                    if (IsAuthenticated) {
921				        if(jsonKioskHighlight.FileIsAllowed) {                            
922					        if (jsonKioskHighlight.HasTrackingCode) {                        
923						        highlightedUrl = "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.FileWeb;
924					        }
925					        else {
926						        highlightedUrl = jsonKioskHighlight.FileWeb;
927					        }
928					        //highlightedUrlTitle = "Télécharger le PDF";
929					        highlightedUrlTitle = "Télécharger";
930				        }
931				        else {
932					        if (jsonKioskHighlight.HasTrackingCode) {
933						        highlightedUrl = "/nos-offres-abonnements?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.FileWeb;
934					        }
935					        else {
936						        highlightedUrl = "/nos-offres-abonnements?_cm_callback=" +jsonKioskHighlight.FileWeb;
937					        }
938					        highlightedUrlTitle = "Consulter les offres d'abonnements";
939				        }
940			        }
941			        else {
942				        var signinUrl = $(".connectionUrl").val() != "" ? $(".connectionUrl").val() : "/connexion";
943				        if (jsonKioskHighlight.HasTrackingCode) {
944					        highlightedUrl = signinUrl + "?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + jsonKioskHighlight.TrackingCode + "&n=&" + jsonKioskHighlight.TrackingDate + "&cible=" + window.location.origin + jsonKioskHighlight.FileWeb;
945				        }
946				        else 
947				        {
948					        highlightedUrl = signinUrl + "?_cm_callback=" + jsonKioskHighlight.FileWeb;
949				        }
950				        highlightedUrlTitle = "Se connecter";
951			        }
952                }
953            }
954        }
955    }
956
957    /*
958     * Génération du bloc Highlight
959    */
960    var insideHighlightBlock = "";
961    insideHighlightBlock += "<figure class='editionCover'>";
962        insideHighlightBlock += "<img class='lazyload' src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' data-src='" + highlightedCoverHigh + "' alt='Couverture du journal \"" + highlightedTitle + "\"' />";
963        insideHighlightBlock += "<noscript>";
964            insideHighlightBlock += "<img src='" + highlightedCoverHigh + "' alt='Couverture du journal \"" + highlightedTitle + "\"' />";
965        insideHighlightBlock += "</noscript>";
966    insideHighlightBlock += "</figure><div class='editionInfos'>";
967        insideHighlightBlock += "<h1>" + highlightedPaying + highlightedTitle + "</h1>";
968        insideHighlightBlock += "<p class='editionDate'>" + highlightedFormattedDate + "</p>";
969        insideHighlightBlock += "<a class='bt_default editionUrl' href='" + highlightedUrl + "' title='" + highlightedUrlTitle + "'>" + highlightedUrlText + "</a>";
970    insideHighlightBlock += "</div>"; // /editionsInfos
971
972    $(".highlightedEdition").empty().append(insideHighlightBlock);
973} /* Fin generateHighlightBlock */
974
975function generateBlocks(Universes, update, IsAuthenticated, nthItem) {
976    var editionsByPage = parseInt($(".editionsByPage").html()),
977        pageSize = typeof pageSize !== 'undefined' ? pageSize : editionsByPage, 
978        widthByEdition = parseInt($(".widthByEdition").html());
979	
980    /*
981     * Mise en place des différents blocs
982     * à partir du JSON fourni
983     */
984    //var currentPdfClass = "";
985
986    var currentCoverHigh = "", currentCoverLow = "";
987    var currentTitle = "";
988
989    var currentDay = "", currentMonth = "", currentYear = "", currentDate = "";
990
991    var currentPaying = "";
992    var currentUrl = "", currentUrlText = "LIRE", currentUrlTitle = "Lire avec la liseuse";
993
994    var currentBlockTitle = "";
995    var currentBlockId = "";
996
997    Universes.forEach(function (item, index) {
998        var currentBlock = "";
999
1000        var currentBlockTitle = item.Label.replace(/"/g, '');
1001        var currentBlockId = item.Code.replace(/"/g, ''); //code de l'univers, "MAIN" pour les éditions favorites
1002
1003        var fullyLoaded = "";
1004        // cas particulier magazines des DNA
1005        if(trigramme == "DNA" && currentBlockId == "VER") {
1006            pageSize = 5;
1007			widthByEdition = 170;
1008        }
1009        if(item.nbTotal <= pageSize) {
1010            fullyLoaded = " fullyLoaded";
1011        }
1012
1013        $("#" + currentBlockId).find(".editionsBlockWrapper").css("transform", "translateX(0)");
1014
1015        if(currentBlockId != "MAIN") {
1016            currentBlock += "<div class='editionsBlock" + fullyLoaded + "' id='" + currentBlockId + "' data-page='1' data-maxpage='1' data-nbtotal='" + item.nbTotal + "'>";
1017                    currentBlock += "<div class='editionsBlockSlider rightFog'>";
1018                        currentBlock += "<a class='navButtons prevEdition' href='#'></a>";
1019                        if(currentBlockId == "SUP") {
1020                            if(item.nbTotal <= 5) {
1021                                currentBlock += "<a class='navButtons nextEdition SUPArrow' style='display: none;' href='#'></a>";
1022                            }
1023                            else {
1024                                currentBlock += "<a class='navButtons nextEdition SUPArrow' href='#'></a>";
1025                            }
1026                        }
1027                        else {
1028                            if(item.nbTotal <= pageSize) { 
1029                                currentBlock += "<a class='navButtons nextEdition' style='display: none;' href='#'></a>";
1030                            }
1031                            else {
1032                                currentBlock += "<a class='navButtons nextEdition button light green' href='#'>Charger plus de parutions</a>";
1033                            }
1034                        }
1035                        currentBlock += "<div class='editionsBlockWrapper'>";
1036                        currentBlock += "</div>"; // /editionsBlockWrapper
1037                    currentBlock += "</div>";
1037 // /editionsBlockSlider
1038            currentBlock += "</div>"; // /editionsBlock
1039
1040            if ($(".editionsBlock:not(.highlightedEdition)").length > 1)
1041                $(".editionsBlock").last().after(currentBlock)
1042            else
1043                $(currentBlock).insertAfter(".favoriteEditions");
1044        }
1045
1046        item.DatedProducts.forEach(function (subItem, subIndex, array) {
1047            var insideCurrentBlock = "";
1048
1049            var currentDay = subItem.Date.Value.split("/")[1];
1050            var currentMonth = subItem.Date.Value.split("/")[0] - 1; //les mois en js sont zero-based
1051            var currentYear = subItem.Date.Value.split("/")[2];
1052            var currentDate = new Date(currentYear, currentMonth, currentDay, 0, 0, 0);
1053            var currentFormattedDate = currentDate.toLocaleDateString("fr-FR", {day: "2-digit", month: "2-digit", year: "numeric" }).replace(/\s/g, '/').replace(/\u200E/g, '');
1054            var currentTitle = subItem.Label;
1055			
1056			//Hack pour traiter le problème de carousel lorsqu'il y a plus de 5 magasines des DNA
1057			if(trigramme == "DNA" && currentBlockId == "VER" && subIndex == array.length - 1 && subIndex >4) {
1058				return false;
1059			}
1060
1061            if (subItem.HasImage) {
1062                currentCoverHigh = getDeclinationPatterns(subItem.ImageHighWeb);
1063                currentCoverLow = getDeclinationPatterns(subItem.ImageLowWeb);
1064            }
1065
1066            if (subItem.HasLiseuse) {
1067                if (subItem.LiseuseIsSecured)
1068                    currentPaying = "<span class='flagPaid'></span>";
1069                else
1070                    currentPaying = "";
1071
1072                if (subItem.LiseuseIsAllowed) {
1073                    if (subItem.HasTrackingCode) {
1074                        currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.LiseuseWeb;
1075                    }
1076                    else {
1077                        currentUrl = subItem.LiseuseWeb;
1078                    }
1079                    currentUrlTitle = "Lire avec la liseuse";
1080                }
1081                else {
1082                    if (IsAuthenticated) {
1083                        if (subItem.HasTrackingCode) {
1084                            //currentUrl = "/nos-offres-abonnements?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.LiseuseWeb;
1085                            currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.LiseuseWeb;
1086                        }
1087                        else {
1088                            //currentUrl = "/nos-offres-abonnements?_cm_callback=" + subItem.LiseuseWeb;
1089                            currentUrl = subItem.LiseuseWeb;
1090                        }
1091                        currentUrlTitle = "Consulter les offres d'abonnements";
1092                    }
1093                    else {
1094                        //var signinUrl = $(".connectionUrl").val() != "" ? $(".connectionUrl").val() : "/connexion"; 
1095                        if (subItem.HasTrackingCode) {
1096                            //currentUrl = signinUrl + "?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.LiseuseWeb;
1097                            currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.LiseuseWeb;
1098
1099                        }
1100                        else {
1101                            //currentUrl = signinUrl + "?_cm_callback=" + subItem.LiseuseWeb;
1102                            currentUrl = subItem.LiseuseWeb;
1103                        }
1104                        currentUrlTitle = "Se connecter";
1105                    }
1106                }
1107            }
1108            else if (subItem.HasFile) {
1109                //var currentPdfClass = " isPdf";
1110
1111                if (subItem.FileIsSecured) {
1112                    currentPaying = "<span class='flagPaid'></span>";
1113
1114		            if (subItem.FileIsAllowed) {
1115			            if (subItem.HasTrackingCode) {                        
1116				            currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1117			            }
1118			            else {
1119				            currentUrl = subItem.FileWeb;
1120			            }
1121			            //currentUrlTitle = "Télécharger le PDF";
1122			            currentUrlTitle = "Télécharger";
1123		            }
1124		            else {
1125			            if (IsAuthenticated) {
1126				            if(subItem.FileIsAllowed) {                            
1127					            if (subItem.HasTrackingCode) {                        
1128						            currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1129					            }
1130					            else {
1131						            currentUrl = subItem.FileWeb;
1132					            }
1133					            //currentUrlTitle = "Télécharger le PDF";
1134					            currentUrlTitle = "Télécharger";
1135				            }
1136				            else {
1137					            if (subItem.HasTrackingCode) {
1138						            currentUrl = "/nos-offres-abonnements?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1139					            }
1140					            else {
1141						            currentUrl = "/nos-offres-abonnements?_cm_callback=" +subItem.FileWeb;
1142					            }
1143					            currentUrlTitle = "Consulter les offres d'abonnements";
1144				            }
1145			            }
1146			            else {
1147				            var signinUrl = $(".connectionUrl").val() != "" ? $(".connectionUrl").val() : "/connexion";
1148				            if (subItem.HasTrackingCode) {
1149					            currentUrl = signinUrl + "?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1150				            }
1151				            else 
1152				            {
1153					            currentUrl = signinUrl + "?_cm_callback=" + window.location;
1154				            }
1155				            currentUrlTitle = "Se connecter";
1156			            }
1157		            }
1158	            }
1159	            else {
1160                    currentPaying = "";
1161		            if (subItem.HasTrackingCode) {                        
1162			            currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1163		            }
1164		            else {
1165			            currentUrl = subItem.FileWeb;
1166		            }
1167		            currentUrlTitle = "Télécharger le PDF";
1168	            }
1169            }
1170            insideCurrentBlock += "<div class='editionBlock'>";
1171                //insideCurrentBlock += "<div id='" + currentBlockId + "' class='edition" + currentPdfClass + "'>";
1172                insideCurrentBlock += "<div class='edition'>";
1173                    insideCurrentBlock += "<a href=\"" + currentUrl + "\" title=\"" + currentTitle + "\">";
1174                        insideCurrentBlock += "<figure class='editionCover'>";
1175                            //insideCurrentBlock += "<img src='" + currentCoverLow + "' alt='" + currentTitle + "' />";
1176                            insideCurrentBlock += "<img class='lazyload' src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' data-src=\"" + currentCoverHigh + "\" alt=\"" + currentTitle + "\" />";
1177                            insideCurrentBlock += "<noscript>";
1178                                insideCurrentBlock += "<img src=\"" + currentCoverHigh + "\" alt=\"" + currentTitle + "\" />";
1179                            insideCurrentBlock += "</noscript>";
1180                        insideCurrentBlock += "</figure>";
1181                    insideCurrentBlock += "</a>";
1182                    insideCurrentBlock += "<div class='editionsInfos'>";
1183                        insideCurrentBlock += "<h3>" + currentPaying + currentTitle + "</h3>";
1184                        insideCurrentBlock += "<p class='editionDate'>du " + currentFormattedDate + "</p>";
1185                        insideCurrentBlock += "<a href=\"" + currentUrl + "\" title=\"" + currentTitle + "\">";
1186                            insideCurrentBlock += "<button class='button light'><i class='icon_download'></i> Lire le PDF</button>";
1187                        insideCurrentBlock += "</a>";
1188                    insideCurrentBlock += "</div>"; // /editionsInfos
1189                insideCurrentBlock += "</div>"; // /edition
1190            insideCurrentBlock += "</div>";
1191
1192            if(currentBlockId != "MAIN") {
1193                $("#" + currentBlockId).attr("data-nthItem", parseInt(nthItem+pageSize-1));
1194                $("#" + currentBlockId).find(".editionsBlockWrapper").append(insideCurrentBlock);
1195            }
1196            else {
1197                if(update) {
1198                    $(".editionsBlock.favoriteEditions").attr("data-page", 1).attr("data-maxpage", 1).attr("data-nthItem", parseInt(pageSize-1));
1199                    $(".editionsBlock.favoriteEditions .editionsBlockWrapper").css("width", parseInt(pageSize * widthByEdition));
1200                    $(".editionsBlock.favoriteEditions .editionsBlockWrapper").css("transform", "translateX(0px)").removeAttr("data-translatexvalue");
1201                }
1202                else {
1203                    $(".editionsBlock.favoriteEditions").attr("data-nthItem", parseInt(nthItem+pageSize-1));
1204                }
1205                $(".editionsBlock.favoriteEditions").attr("data-nbtotal", item.nbTotal);
1206                $(".editionsBlock.favoriteEditions").find(".editionsBlockWrapper").append(insideCurrentBlock);
1207            }
1208
1209        }); // boucle sur les datés du bloc en cours
1210    }); // boucle sur les blocs du json
1211}
1212
1213function generateNewEditions(Universes, IsAuthenticated, where, pageSize) {
1214
1215    var where = $(where).find(".editionsBlockWrapper");
1216
1217	var currentCoverHigh = "", currentCoverLow = "";
1218    var currentTitle = "";
1219
1220    var currentDay = "", currentMonth = "", currentYear = "", currentDate = "";
1221
1222    var currentPaying = "";
1223    var currentUrl = "", currentUrlText = "LIRE", currentUrlTitle = "Lire avec la liseuse";
1224
1225    var currentBlockTitle = "";
1226    var currentBlockId = "";
1227
1228    var endDiv = "<div class='endDiv'>Aucune parution supplémentaire n'est disponible.</div>";
1229	
1230    if(Universes[0].DatedProducts !== null) {
1231	    Universes.forEach(function (item, index) {
1232		    item.DatedProducts.forEach(function (subItem, subIndex) {
1233
1234                if(item.DatedProducts.length < pageSize) {
1235	                where.parents(".editionsBlock").addClass('fullyLoaded');
1236                }
1237		
1238			    var insideCurrentBlock = "";
1239	
1240                //var currentPdfClass = "";
1241                var currentPaying = "";
1242			    var currentDay = subItem.Date.Value.split("/")[1];
1243                var currentMonth = subItem.Date.Value.split("/")[0] - 1; //les mois en js sont zero-based
1244                var currentYear = subItem.Date.Value.split("/")[2];
1245                var currentDate = new Date(currentYear, currentMonth, currentDay, 0, 0, 0);
1246                var currentFormattedDate = currentDate.toLocaleDateString("fr-FR", {day: "2-digit", month: "2-digit", year: "numeric" }).replace(/\s/g, '/').replace(/\u200E/g, '');
1247                var currentTitle = subItem.Label;
1248			
1249			    if (subItem.HasImage) {
1250                    currentCoverHigh = getDeclinationPatterns(subItem.ImageHighWeb);
1251                    currentCoverLow = getDeclinationPatterns(subItem.ImageLowWeb);
1252                }
1253
1254                if (subItem.HasLiseuse) {
1255                    if (subItem.LiseuseIsSecured)
1256                        currentPaying = "<span class='flagPaid'></span>";
1257                    else
1258                        currentPaying = "";
1259
1260                    if (subItem.LiseuseIsAllowed) {
1261                        if (subItem.HasTrackingCode) {
1262                            currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.LiseuseWeb;
1263                        }
1264                        else {
1265                            currentUrl = subItem.LiseuseWeb;
1266                        }
1267                        currentUrlTitle = "Lire avec la liseuse";
1268                    }
1269                    else {
1270                        if (IsAuthenticated) {
1271                            //currentUrl = "/nos-offres-abonnements?_cm_callback=" + window.location;
1272                            //currentUrl = "/nos-offres-liseuses?_cm_callback=" + window.location;
1273                            currentUrl = subItem.LiseuseWeb;
1274                            currentUrlTitle = "Consulter les offres d'abonnements";
1275                        }
1276                        else {
1277                            //var signinUrl = $(".connectionUrl").val() != "" ? $(".connectionUrl").val() : "/connexion"; 
1278                            //currentUrl = signinUrl + "?_cm_callback=" + window.location;
1279                            currentUrl = subItem.LiseuseWeb;
1280                            currentUrlTitle = "Se connecter";
1281                        }
1282                    }
1283                }
1284                else if (subItem.HasFile) {
1285                    //var currentPdfClass = " isPdf";
1286                
1287                    if (subItem.FileIsSecured) {
1288                        currentPaying = "<span class='flagPaid'></span>";
1289                        if (subItem.FileIsAllowed) {
1290                            if (subItem.HasTrackingCode) {                        
1291                                currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1292                            }
1293                            else {
1294                                currentUrl = subItem.FileWeb;
1295                            }
1296                            //currentUrlTitle = "Télécharger le PDF";
1297                            currentUrlTitle = "Télécharger";
1298                        }
1299                        else {
1300                            if (IsAuthenticated) {
1301		                        if(subItem.FileIsAllowed) {                            
1302			                        if (subItem.HasTrackingCode) {                        
1303				                        currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1304			                        }
1305			                        else {
1306				                        currentUrl = subItem.FileWeb;
1307			                        }
1308			                        //currentUrlTitle = "Télécharger le PDF";
1309			                        currentUrlTitle = "Télécharger";
1310
1311		                        }
1312		                        else {
1313			                        if (subItem.HasTrackingCode) {
1314				                        currentUrl = "/nos-offres-abonnements?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1315			                        }
1316			                        else {
1317				                        currentUrl = "/nos-offres-abonnements?_cm_callback=" +subItem.FileWeb;
1318			                        }
1319			                        currentUrlTitle = "Consulter les offres d'abonnements";
1320		                        }
1321	                        }
1322	                        else {
1323		                        var signinUrl = $(".connectionUrl").val() != "" ? $(".connectionUrl").val() : "/connexion";
1324		                        if (subItem.HasTrackingCode) {
1325			                        currentUrl = signinUrl + "?_cm_callback=" + "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1326		                        }
1327		                        else 
1328		                        {
1329			                        currentUrl = signinUrl + "?_cm_callback=" + subItem.FileWeb;
1330		                        }
1331		                        currentUrlTitle = "Se connecter";
1332	                        }
1333                        }
1334                    }
1335                    else {
1336                        currentPaying = "";
1337                        if (subItem.HasTrackingCode) {                        
1338			                currentUrl = "https://acpm-suivivn.com/track?link=" + subItem.TrackingCode + "&n=&" + subItem.TrackingDate + "&cible=" + window.location.origin + subItem.FileWeb;
1339		                }
1340		                else {
1341			                currentUrl = subItem.FileWeb;
1342		                }
1343		                //currentUrlTitle = "Télécharger le PDF";
1344		                currentUrlTitle = "Télécharger";
1345                    }
1346                }
1347
1348                //insideCurrentBlock += "<a href='" + currentUrl + "' title='" + currentUrlTitle.replace(/'/g, "\'") + "'>";
1349                insideCurrentBlock += "<div class='editionBlock'>";
1350                    //insideCurrentBlock += "<div class='edition" + currentPdfClass + "'>";
1351                    insideCurrentBlock += "<div class='edition'>";
1352                        insideCurrentBlock += '<a href="' + currentUrl + '" title="' + currentUrlTitle + '">';
1353                            insideCurrentBlock += "<figure class='editionCover'>";
1354                                //insideCurrentBlock += "<img src='" + currentCoverLow + "' alt='" + currentTitle.replace(/'/g, "''") + "' />";
1355                                insideCurrentBlock += "<img class='lazyload' src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' data-src='" + currentCoverHigh + "' alt=\"" + currentTitle + "\" />";
1356                                insideCurrentBlock += "<noscript>";
1357                                    insideCurrentBlock += "<img src='" + currentCoverHigh + "' alt='" + currentTitle + "' />";
1358                                insideCurrentBlock += "</noscript>";
1359                            insideCurrentBlock += "</figure>";
1360                        insideCurrentBlock += "</a>";
1361                        insideCurrentBlock += "<div class='editionsInfos'>";
1362                            insideCurrentBlock += "<h3>" + currentPaying + currentTitle + "</h3>";
1363                            insideCurrentBlock += "<p class='editionDate'>" + currentFormattedDate + "</p>";
1364                            insideCurrentBlock += '<a href="' + currentUrl + '" title="' + currentUrlTitle + '">';
1365                                insideCurrentBlock += "<button class='button light'>Lire le PDF</button>";
1366                            insideCurrentBlock += "</a>";
1367                        insideCurrentBlock += "</div>"; // /editionsInfos
1368                    insideCurrentBlock += "</div>"; // /edition
1369                
1370                insideCurrentBlock += "</div>";
1371			
1372			    where.append(insideCurrentBlock);
1373
1374                if(item.DatedProducts.length < pageSize && subIndex == item.DatedProducts.length) {
1375                    //where.parents(".editionsBlock").addClass('fullyLoaded');
1376                    where.siblings(".nextEdition").hide();
1377                    if(where.find('.endDiv').length == 0) {
1378					    where.css("width", parseInt(where.width()+175) +"px");
1379					    where.append(endDiv);
1380                    }
1381                }
1382		    }); // boucle sur les datés du bloc en cours
1383        }); // boucle sur les blocs du json
1384    }
1385}
1386
1387function emptyBlocks() {
1388    $(".favoriteEditions .editionsBlockWrapper").empty();
1389    $(".editionsBlock.highlightedEdition").empty();
1390    $(".editionsBlock:not(.highlightedEdition):not(.favoriteEditions)").remove();
1391    //console.log("emptyBlocks");
1392}
1393
1394function addSkeletons(skeletonsNumber, where) {
1395    //console.log("addskeleton where",where);
1396    var chosenNumberByPage = skeletonsNumber != 0 ? skeletonsNumber : editionsByPage, 
1397    widthByEdition = parseInt($(".widthByEdition").html());
1398    
1399    if(where != undefined && where != "") {
1400        var where = $(where);
1401        var oldWidth = where.find(".editionsBlockWrapper").width();
1402        var newWidth = oldWidth + (chosenNumberByPage * widthByEdition);
1403
1404        var loadingSkeletons = "";
1405        for (var i = 0 ; i < chosenNumberByPage ; i++) {
1406            loadingSkeletons += "<div class=\"loadingSkeleton \"></div>";
1407        }
1408        where.find(".editionsBlockWrapper").css("width", newWidth+"px");
1409        where.find(".editionsBlockWrapper").append(loadingSkeletons);
1410
1411        /* Translate pour déplacer la vue de l'utilisateur pour qu'il voit que ça charge */
1412        if(viewPortWidth >= 1000)
1413            var halfChosenNumberByPages = chosenNumberByPage;
1414        else
1415            var halfChosenNumberByPages = Math.ceil(chosenNumberByPage / 3);
1416            
1417        var oldTranslateXValue = where.find(".editionsBlockWrapper").attr("data-translatexvalue") != undefined ? where.find(".editionsBlockWrapper").attr("data-translatexvalue") : 0,
1418            translateXValue = parseInt(oldTranslateXValue) + (halfChosenNumberByPages * widthByEdition);
1419        if(viewPortWidth > 768)
1420            where.find(".editionsBlockWrapper").css("transform", "translateX(-" + translateXValue + "px)").css("transition", "transform 2s"); /* 470px correspond à 3 squelettes */
1421    }
1422    else {
1423        var loadingHighlightSkeleton = "";
1424        loadingHighlightSkeleton = "<div class=\"loadingSkeleton \"></div>";
1425        $(".highlightedEdition").prepend(loadingHighlightSkeleton);
1426
1427        var loadingSkeletons = "";
1428        for (var i = 0 ; i < chosenNumberByPage ; i++) {
1429            loadingSkeletons += "<div class=\"loadingSkeleton \"></div>";
1430        }
1431        $(".editionsBlockWrapper").append(loadingSkeletons);
1432    }
1433}
1434
1435function removeSkeletons(where) {
1436    if(where) {
1437        $(where).find(".loadingSkeleton").remove();
1438    }
1439    else
1440        $(".loadingSkeleton").remove();
1441}
1442
1443function getDeclinationPatterns(imgUrl) {
1444    //var originalPattern = imgUrl.split("/")[5]; // si bouchon
1445    var originalPattern = imgUrl.split("/")[4]; // si pas bouchon -> ex : /liseuse/67L/20200101/JNU_01/i-1581300697.jpg
1446    var newPattern = "";
1447
1448    if (viewPortWidth <= 480) {
1449        newPattern = originalPattern + "_T";
1450    }
1451    else if (viewPortWidth > 480 && viewPortWidth < 1000) {
1452        // pas de pattern_T pour JNU_05 (petites vignettes)
1453        if (originalPattern == "JNU_04") {
1454            newPattern = "JNU_AAL";
1455        }
1456        else {
1457            newPattern = "JNU_AAL";
1458        }
1459    }
1460    else {
1461        newPattern = "JNU_AAL";
1462    }
1463
1464    if (originalPattern != newPattern) {
1465        //return imgUrl.replace("/" + infosbase[0] + "/", "/" + infosPattern[0] + "/").replace("-" + infosbase[1] + ".", "-" + infosPattern[1] + ".");
1466        //var test = imgUrl.replace(originalPattern, newPattern);
1467        return imgUrl.replace(originalPattern, newPattern);
1468    }
1469    else {
1470        return imgUrl;
1471    }
1472}
1473
1474/*
1475 * Lorsque les images ont été lazyloadées, on calcule leur largeur
1476 * afin de pouvoir calculer la largeur du scroll horizontal
1477 */
1478document.addEventListener('lazyloaded', function (e) {
1479    var currentWidth = 0;
1480        currentWidth = e.target.width,
1481        referenceWidth = 157;
1482
1483    if($(e.target).parents(".highlightedEdition").length == 0) {
1484        if(e.target.naturalWidth > 1 && currentWidth > 1) {
1485            $(e.target).parents(".edition").css("width", currentWidth);
1486            $(e.target).css("width", currentWidth);
1487        }
1488        else {
1489            $(e.target).parents(".edition").find("img").each(function() {
1490                if($(this).width() > 1 && $(this).height() < 240) {
1491                    referenceWidth = $(this).width();
1492                }
1493            });
1494            $(e.target).parents(".edition").css("width", referenceWidth);
1495            $(e.target).css("width", referenceWidth);
1496        }
1497    }
1498
1499
1500    /*
1501     * Scroll horizontal pour les différents blocks d'éditions
1502     * Comportement pour smartphone, tablette et desktop
1503     */
1504    var mainWidth = 0;
1505    //var currentWidth = 0;
1506
1507    var block = $(e.target).parents(".editionsBlockWrapper");
1508
1509    block.find(".edition").each(function () {
1510        currentWidth = $(this).find("img").outerWidth();
1511        mainWidth += currentWidth;
1512    });
1513    mainWidth += (block.find(".editionCover").length - 1) * 15; //ajout des marges entre les magazines
1514    block.css("width", mainWidth);
1515    if(viewPortWidth <= 768) {
1516        if(block.parents(".editionsBlock").hasClass("fullyLoaded")) {
1517            block.css("width", mainWidth+175);
1518        }
1519    }
1520});
1521
1522$.each(bufferScript,function(){this()});});
1523</script>
1523	</body>
1524</html>

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.