PageSourceSearch

https://static.leslibraires.fr/websites/design_2024/js/fetch_offers.min.js?v=a664f292

js leslibraires.fr collected 2026-10-01 10:24:15 UTC 532 bytes, 1 lines download raw bytes

1"use strict";const FETCH_OFFER_CLASS_NAME="fetch-offer",fetch_offers_collection=document.getElementsByClassName("fetch-offer");async function fetch_offers(){const t=[],o=[];for(const f of fetch_offers_collection)o.push(f.dataset.product),t.push(f);if(0===o.length)return;for(const o of t)o.classList.remove("fetch-offer");const f=await fetch("/product/thumbnail-offers/",{method:"POST",body:JSON.stringify(o)});if(!f.ok)return;const e=await f.json();for(const o of t){const t=e[o.dataset.product];t&&(o.innerHTML=t)}}fetch_offers();

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.