PageSourceSearch

https://www.waterdrop.com/cdn/shop/t/30/assets/product-inventory-uj2xC83R.js

js waterdrop.com collected 2026-09-24 08:58:13 UTC 628 bytes, 1 lines download raw bytes

1const i=class extends HTMLElement{connectedCallback(){var t;const e=this.querySelector("script");e&&(this.inventories=JSON.parse(e.innerHTML),(t=document.getElementById(this.getAttribute("form-id")))==null||t.addEventListener("variant:changed",this._onVariantChanged.bind(this)))}_onVariantChanged(t){var e;(e=this.querySelector("span"))==null||e.remove(),t.detail.variant&&this.inventories[t.detail.variant.id]!==""?(this.hidden=!1,this.insertAdjacentHTML("afterbegin",this.inventories[t.detail.variant.id])):this.hidden=!0}};window.customElements.get("product-inventory")||window.customElements.define("product-inventory",i);

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.