PageSourceSearch

https://shop.dolfi.com/cdn/shop/t/80/assets/placeholder-image.js?v=97758057548568586831790181670

js dolfi.com collected 2026-10-02 13:17:21 UTC 1,800 bytes, 2 lines download raw bytes

1import{preloadImage,onDocumentReady}from"@theme/utilities";const cache={},shopName=window.Shopify.shop,shopPlaceholderSeed=shopName.split("-").reduce((acc,char)=>acc+char.charCodeAt(0),0),counters={product:0,general:shopPlaceholderSeed%Theme.placeholders.general.length},isEditorRequest=window.Shopify.visualPreviewMode||window.Shopify.designMode;isEditorRequest&&onDocumentReady(()=>{const placeholderUrls=Object.values(Theme.placeholders).flat();for(const url of placeholderUrls)preloadImage(url)});class PlaceholderImage extends HTMLElement{connectedCallback(){if(this.hasChildNodes())return;const type=this.dataset.type,blockId=this.dataset.blockId;if(!type||!(type in counters)||!blockId)return;const cached=cache[blockId];if(cached!=null&&Theme.placeholders[type][cached]){const image2=Theme.placeholders[type][cached],imageElement2=document.createElement("img");imageElement2.src=image2,imageElement2.alt=Theme.translations.placeholder_image||"Placeholder Image",this.appendChild(imageElement2);return}const counter=counters[type]||0;counters[type]=(counter+1)%Theme.placeholders[type].length;const image=Theme.placeholders[type][counter];if(!image)return;const sectionElement=this.closest("section"),sectionIndex=sectionElement?Array.from(sectionElement.parentElement?.children??[]).indexOf(sectionElement):-1,imageElement=document.createElement("img");imageElement.src=image,imageElement.alt=Theme.translations.placeholder_image||"Placeholder Image",(sectionIndex===-1||sectionIndex>3||isEditorRequest)&&(imageElement.loading="lazy"),this.appendChild(imageElement),cache[blockId]=counter}}customElements.get("placeholder-image")||customElements.define("placeholder-image",PlaceholderImage);
2//# sourceMappingURL=/cdn/shop/t/80/assets/placeholder-image.js.map?v=97758057548568586831790181670

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.