PageSourceSearch

https://thomassabo.com.au/cdn/shop/t/542/assets/block.product-sku.js?v=175317592149418788051790693626

js thomassabo.com.au collected 2026-10-08 07:14:24 UTC 1,066 bytes, 2 lines download raw bytes

1import{EVENTS}from"util.events";class BlockSku extends HTMLElement{constructor(){super(),this.handleVariantChange=this.handleVariantChange.bind(this)}connectedCallback(){this.abortController=new AbortController,document.addEventListener(`${EVENTS.variantChange}:${this.dataset.sectionId}:${this.dataset.productId}`,this.handleVariantChange,{signal:this.abortController.signal})}disconnectedCallback(){this.abortController.abort()}handleVariantChange({detail}){const{html,variant}=detail;if(!variant||!html)return;const skuSourceBlock=html.querySelector(`block-sku[data-section-id="${this.dataset.sectionId}"][data-product-id="${this.dataset.productId}"]`);if(!skuSourceBlock)return;const skuSource=skuSourceBlock.querySelector("div"),skuDestination=this.querySelector("div");skuSource&&skuDestination&&(skuDestination.outerHTML=skuSource.outerHTML),this.toggleAttribute("hidden",skuSourceBlock.hasAttribute("hidden"))}}customElements.define("block-sku",BlockSku);
2//# sourceMappingURL=/cdn/shop/t/542/assets/block.product-sku.js.map?v=175317592149418788051790693626

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.