PageSourceSearch

https://motirunning.com/cdn/shop/t/13/assets/custom-product-labels.js?v=98457543201504694991789723511

js motirunning.com collected 2026-10-09 23:38:03 UTC 1,305 bytes, 2 lines download raw bytes

1(()=>{if(window.__cornerstoneProductLabelsInitialised)return;window.__cornerstoneProductLabelsInitialised=!0;const syncProductLabels=activeMediaId=>{document.querySelectorAll('[data-section-type="product"]').forEach(section=>{const source=section.querySelector("[data-product-pdp-label-source]");if(!source)return;const markup=source.innerHTML.trim();activeMediaId&&section.querySelectorAll("[data-product-pdp-label-slot]").forEach(slot=>{slot.dataset.labelMediaId===String(activeMediaId)?slot.dataset.labelMediaActive="true":delete slot.dataset.labelMediaActive}),section.querySelectorAll("[data-product-pdp-overlay-labels]").forEach(target=>{target.innerHTML=markup;const slot=target.closest("[data-product-pdp-label-slot]");target.hidden=markup===""||slot&&slot.dataset.labelMediaActive!=="true"})})};document.addEventListener("product:variant-change",event=>{const mediaId=event.detail?.variant?.featured_media?.id;requestAnimationFrame(()=>syncProductLabels(mediaId))}),document.addEventListener("shopify:section:load",()=>requestAnimationFrame(syncProductLabels)),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",syncProductLabels,{once:!0}):syncProductLabels()})();
2//# sourceMappingURL=/cdn/shop/t/13/assets/custom-product-labels.js.map?v=98457543201504694991789723511

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.