PageSourceSearch

https://brassiere-shorts.jp/cdn/shop/t/48/assets/recently-viewed-products.js?v=163880616844799296091764550841

js brassiere-shorts.jp collected 2026-10-04 18:28:26 UTC 2,314 bytes, 2 lines download raw bytes

1customElements.get("recently-viewed-products")||customElements.define("recently-viewed-products",class extends HTMLElement{constructor(){super()}connectedCallback(){this.section=this.closest(".f-recently-viewed");const handleIntersection=(entries,observer)=>{entries[0].isIntersecting&&(observer.unobserve(this.section),this.init())};new IntersectionObserver(handleIntersection.bind(this.section),{rootMargin:"0px 0px 400px 0px"}).observe(this.section)}init(){this.enableSlider=this.dataset.enableSlider==="true",fetch(this.dataset.url+this.getQueryString()).then(response=>response.text()).then(text=>{const html=document.createElement("div");html.innerHTML=text;const recommendations=html.querySelector("recently-viewed-products");if(this.products=recommendations.querySelectorAll(".product-card").length,this.products<=0&&this.classList.add("f-hidden"),recommendations&&recommendations.innerHTML.trim().length){this.innerHTML=recommendations.innerHTML;const productContainer=this.querySelector(".f-recently-viewed-flickity");this.enableSlider&&!FoxThemeSettings.isMobile&&(this.slider=new window.FoxTheme.Slider(productContainer));const column=productContainer.dataset.sliderColumns;this.products<=Number(column)&&typeof this.slider.instance=="object"&&(this.slider.instance.destroy(),this.classList.add("flickity-destroyed"),this.slider.instance.off("pointerMove"),this.slider.instance.off("pointerUp")),this.sendTrekkieEvent(this.products),__reInitTooltip(this.productContainer)}}).catch(e=>{console.error(e)})}getQueryString(){const items=JSON.parse(window.localStorage.getItem("zest-recently-viewed")||"[]");return this.dataset.productId&&items.includes(parseInt(this.dataset.productId))&&items.splice(items.indexOf(parseInt(this.dataset.productId)),1),items.map(item=>"id:"+item).slice(0,this.productsToshow).join(" OR ")}sendTrekkieEvent(numberProducts){if(!window.ShopifyAnalytics||!window.ShopifyAnalytics.lib||!window.ShopifyAnalytics.lib.track)return;let didPageJumpOccur=this.getBoundingClientRect().top<=window.innerHeight;window.ShopifyAnalytics.lib.track("Recently Viewed Products Displayed",{theme:Shopify.theme.name,didPageJumpOccur,numberOfRecommendationsDisplayed:numberProducts})}});
2//# sourceMappingURL=/cdn/shop/t/48/assets/recently-viewed-products.js.map?v=163880616844799296091764550841

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.