PageSourceSearch

https://boutique.aja.fr/cdn/shop/t/4/assets/shipping-progress.js?v=178207632782217350981763718026

js aja.fr collected 2026-10-02 03:57:44 UTC 1,395 bytes, 1 lines download raw bytes

1var refreshInterval;function initShippingProgress(){var e,c,l,p,h,t=document.querySelector("#shipping-progress"),r=document.querySelector("#shipping-progress-section");function n(e){var r,t,n,s,i,a=e.total_price/100,e=c.findIndex(function(e){return a<e}),o=(-1===e?(r=p.replace("PRIX","0"),i=100):(n=((t=c[e])-a).toFixed(2),i=0===e?a/t*100:(s=c[e-1],(a-s)/(t-s)*100),r=l[e].replace("PRIX",n)),"".concat(Math.max(0,Math.min(i,100)),"%"));h.forEach(function(e){var t=e.querySelector(".shipping-progress__fill"),e=e.querySelector(".shipping-progress__text");t&&e&&(t.style.width=o,e.textContent=r)})}(t||r)&&(c=(e=t||r).dataset.thresholds.split(";").map(Number),l=e.dataset.messages.split(";"),p=e.dataset.lastword,h=[t,r].filter(Boolean),fetch("/cart.js").then(function(e){return e.json()}).then(n).catch(console.error))}document.addEventListener("DOMContentLoaded",function(){var e,t=document.querySelector("cart-drawer");initShippingProgress(),document.querySelector(".cart__contents")&&setInterval(initShippingProgress,1500),t&&(e=function(){var e=t.classList.contains("is-open")||t.classList.contains("active");e&&!refreshInterval?(initShippingProgress(),refreshInterval=setInterval(initShippingProgress,1e3)):!e&&refreshInterval&&(clearInterval(refreshInterval),refreshInterval=null)},initShippingProgress(),new MutationObserver(e).observe(t,{attributes:!0,attributeFilter:["class"]}),e())});

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.