PageSourceSearch

https://www.naturalcurelabs.com/cdn/shop/t/96/assets/recently-view…?v=94729125001750262651789423852

js naturalcurelabs.com collected 2026-10-02 18:13:57 UTC 634 bytes, 2 lines download raw bytes

1export class RecentlyViewed{static#STORAGE_KEY="viewedProducts";static#MAX_PRODUCTS=4;static addProduct(productId){let viewedProducts=this.getProducts();viewedProducts=viewedProducts.filter(id=>id!==productId),viewedProducts.unshift(productId),viewedProducts=viewedProducts.slice(0,this.#MAX_PRODUCTS),localStorage.setItem(this.#STORAGE_KEY,JSON.stringify(viewedProducts))}static clearProducts(){localStorage.removeItem(this.#STORAGE_KEY)}static getProducts(){return JSON.parse(localStorage.getItem(this.#STORAGE_KEY)||"[]")}}
2//# sourceMappingURL=/cdn/shop/t/96/assets/recently-viewed-products.js.map?v=94729125001750262651789423852

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.