1var cookiesItemsToKeep=["euconsent-v2","didomi_token"];window.viewPortWidth=window.innerWidth,window.addEventListener("resize",()=>{window.viewPortWidth=window.innerWidth});export function getPageDeclinationName(){return viewPortWidth>=640?"large":"small"}export function runOnUserConsent(e){window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(function(){Didomi.shouldConsentBeCollected()==!1&&e(),window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:function(){e()}})})}export function checkPurposeConsent(e){return Didomi.getUserConsentStatusForPurpose(e)??!1}export function checkVendorConsent(e){return Didomi.getUserConsentStatusForVendor(e)??!1}export function cookieWall(){var e,t=Didomi.getUserStatus().purposes.global.disabled.length==0;t==!1&&Didomi.shouldConsentBeCollected()==!1&&getCookieValue("cw_displayed")==null&&(Didomi.preferences.hide(),e=document.querySelector(".CookieWallModal"),e.addEventListener("cancel",e=>{e.preventDefault()}),e.addEventListener("keydown",e=>{e.key==="Escape"&&e.preventDefault()}),e.querySelector(".CookieWallModal-Accept").addEventListener("click",t=>{t.preventDefault(),Didomi.setUserAgreeToAll(),deleteCookie("cw_displayed"),e.close()}),e.querySelector(".CookieWallModal-Refuse").addEventListener("click",t=>{t.preventDefault(),setCookieValue("cw_displayed","true",7),e.close()}),e.showModal())}function getCookieValue(e){return document.cookie.split("; ").find(t=>t.startsWith(e+"="))?.split("=")[1]??null}function setCookieValue(e,t,n=365,s="/"){const o=new Date(Date.now()+n*864e5).toUTCString();document.cookie=`${e}=${t}; expires=${o}; path=${s}`}function deleteCookie(e,t="/"){var n=window.location.hostname.replace("www","");document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=${t}`,document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=${n}; path=${t}`}function getObjectValues(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");var n,t=[];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(e[n]);return t}export function changeConsentManager(){window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:function(){var e,t,n=window.Didomi.getCurrentUserStatus(),s=getObjectValues(n.purposes).filter(function(e){return e.enabled}).length;s==0&&(e=document.cookie.split(";").map(function(e){return e.split("=")[0].trim()}).filter(function(e){return cookiesItemsToKeep.indexOf(e)===-1}),console.log(e),e.forEach(function(e){deleteCookie(e)}),t=Object.keys(window.localStorage).filter(function(e){return cookiesItemsToKeep.indexOf(e)===-1&&!e.match(cookiesItemsToKeep)}),console.log(t),t.forEach(function(e){window.localStorage.removeItem(e)}))}})}export function formatDuration(e){const t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${n.toString().padStart(2,"0")}`}function toggleBodyOverlay(){document.querySelector(".BodyContainer-Overlay").classList.toggle("IsDisplayed")}function base64_decode(e){try{return decodeURIComponent(window.atob(e))}catch{return null}}function decodeURLs(){document.querySelectorAll("[data-uri]").forEach(function(e){e.addEventListener("click",function(t){t.preventDefault(),window.location.href=base64_decode(e.dataset.uri)})})}function trackPurchaseLinksClick(){document.querySelectorAll(".Button.Retailer").forEach(function(e){e.addEventListener("click",function(){pa.sendEvent("click.action",{click:"Lien d'achat",click_chapter1:e.href})})})}function buildMenus(){document.querySelector(".MenuHorizontal")&&document.querySelectorAll(".MenuHorizontal .Link").forEach(function(e){var n,s=e.dataset.sectionHash,t=document.querySelector('.MenuBurger ul[data-section-hash="'+s+'"]');t&&(n=t.cloneNode(!0),e.after(n))}),document.querySelector(".MenuBurger")&&(document.querySelectorAll(".MenuBurger .ToggleSubMenu").forEach(function(e){e.addEventListener("click",function(){e.classList.toggle("IsOpened");var n=e.parentNode.querySelector(".Link").dataset.sectionHash;document.querySelector('.MenuBurger ul[data-section-hash="'+n+'"]').classList.toggle("IsOpened")})}),document.querySelectorAll(".MenuBurger-Toggle").forEach(function(e){e.addEventListener("click",function(){toggleBodyOverlay(),document.querySelector(".MenuBurger").classList.toggle("IsOpened")})}),document.querySelectorAll(".MenuBurger .Link.Active").forEach(function(e){var t,n=e.dataset.sectionHash,s=document.querySelector('.MenuBurger ul[data-section-hash="'+n+'"]');s&&s.classList.toggle("IsOpened"),t=document.querySelector('.MenuBurger .ToggleSubMenu[data-section-hash="'+n+'"]'),t&&t.classList.toggle("IsOpened")})),document.querySelector(".MenuTrending")&&document.querySelectorAll(".MenuTrending .Link").forEach(function(e){var n=e.cloneNode(!0),t=document.createElement("li");t.appendChild(n),document.querySelector(".MenuBurger nav ul").prepend(t)})}export function buildPage(){buildMenus(),decodeURLs(),trackPurchaseLinksClick();const e=document.querySelector(".Header");if(e){window.headerHeight=e.offsetHeight;const t=document.querySelector(".BodyContainer"),n=document.querySelector(".Advert
1isingSlot-Square-2");document.addEventListener("scroll",()=>{window.scrollY>=headerHeight&&(viewPortWidth>=640&&(e.classList.add("IsReduced"),t.style.paddingTop=headerHeight+"px",n&&(n.style.top=e.offsetHeight+20+"px")),t.classList.add("IsScrolled"),t.classList.add("HasScrolled")),window.scrollY==0&&(viewPortWidth>=640&&(e.classList.remove("IsReduced"),t.style.paddingTop="0px"),t.classList.remove("IsScrolled"))})}document.querySelector(".SearchModal")&&document.querySelector(".Header-OpenSearch")&&(document.querySelector(".Header-OpenSearch").addEventListener("click",function(){document.querySelector(".SearchModal").showModal()}),document.querySelector(".SearchModal .SearchModal-Close").addEventListener("click",function(){document.querySelector(".SearchModal").close()}))}
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.