PageSourceSearch

https://asiaparts.com.ua/assets/controllers/img-loading_controller-03ldC4R.js

js asiaparts.com.ua collected 2026-10-07 23:12:37 UTC 608 bytes, 2 lines download raw bytes

1/* stimulusFetch: 'lazy' */
2import{Controller as t}from"@hotwired/stimulus";export default class extends t{static targets=["item"];itemTargetConnected(s){s.addEventListener("load",()=>{const r=s.closest("div, a");r&&r.classList.contains("ske")&&r.classList.remove("ske")}),s.addEventListener("error",()=>this.showBroken(s)),s.complete&&(s.dispatchEvent(new Event("load")),s.naturalWidth===0&&this.showBroken(s))}showBroken(s){s.getAttribute("src")!==imgBroken&&(s.closest("picture")?.querySelectorAll("source").forEach(r=>r.remove()),s.removeAttribute("srcset"),s.removeAttribute("sizes"),s.src=imgBroken)}}

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.