PageSourceSearch

https://www.skinnydiplondon.com/cdn/shop/t/914/assets/recently-viewed.js?v=29133143020748290231787651064

js skinnydiplondon.com collected 2026-09-24 08:44:35 UTC 976 bytes, 2 lines download raw bytes

1const RECENTLY_VIEWED_LIMIT=12,RECENTLY_VIEWED_KEY="recently_viewed";class RecentlyViewed extends window.BAO.CustomElement(){static get requiredAttributes(){return["handle"]}connectedCallback(){super.connectedCallback(),this.storeHandle()}get handle(){return this.getAttribute("handle")}get viewedHandles(){return(this.getAttribute("viewed")||"").split(",").map(handle=>handle.trim()).filter(Boolean)}async storeHandle(){const handle=this.handle;if(!handle)return;const viewed=this.viewedHandles;if(viewed[0]===handle)return;const handles=[handle,...viewed.filter(item=>item!==handle)].slice(0,12);try{await window.BAO.Cart.updateCartAttributes({[RECENTLY_VIEWED_KEY]:handles.join(",")},{sections:[]})}catch(error){console.error("Recently viewed: unable to store product",error)}}}customElements.get("recently-viewed")||customElements.define("recently-viewed",RecentlyViewed);
2//# sourceMappingURL=/cdn/shop/t/914/assets/recently-viewed.js.map?v=29133143020748290231787651064

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.