PageSourceSearch

https://www.sorsoap.com/cdn/shop/t/7/assets/product-modal.js?v=158410101208797466201740229000

js sorsoap.com collected 2026-09-29 12:18:34 UTC 985 bytes, 6 lines download raw bytes

1if(!customElements.get('product-modal')){customElements.define('product-modal',class ProductModal extends ModalDialog{constructor(){super();}
2hide(){super.hide();}
3show(opener){super.show(opener);this.showActiveMedia();}
4showActiveMedia(){this.querySelectorAll(`[data-media-id]:not([data-media-id="${this.openedBy.getAttribute("data-media-id")}"])`).forEach((element)=>{element.classList.remove('active');})
5const activeMedia=this.querySelector(`[data-media-id="${this.openedBy.getAttribute("data-media-id")}"]`);const activeMediaTemplate=activeMedia.querySelector('template');const activeMediaContent=activeMediaTemplate?activeMediaTemplate.content:null;activeMedia.classList.add('active');activeMedia.scrollIntoView();const container=this.querySelector('[role="document"]');container.scrollLeft=(activeMedia.width-container.clientWidth)/ 2;if(activeMedia.nodeName=='DEFERRED-MEDIA'&&activeMediaContent&&activeMediaContent.querySelector('.js-youtube'))
6activeMedia.loadContent();}});}

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.