1customElements.get("product-share")||customElements.define("product-share",class extends HTMLElement{constructor(){super(),this.elements={urlInput:this.querySelector("input")},this.urlToShare=this.elements.urlInput?this.elements.urlInput.value:document.location.href}connectedCallback(){this.abortController=new AbortController,this.btnCopy=this.querySelector(".btn-copy"),this.btnCopy&&this.btnCopy.addEventListener("click",this.copyToClipboard.bind(this),{signal:this.abortController.signal})}copyToClipboard(evt){evt.preventDefault(),navigator.clipboard.writeText(evt.target.previousElementSibling.value),this.btnCopy.classList.add("copied"),this.btnCopy.innerText=evt.target.dataset.copiedText}updateUrl(url){this.urlToShare=url,this.elements.urlInput.value=url}disconnectedCallback(){this.abortController.abort()}}); 2//# sourceMappingURL=/cdn/shop/t/95/assets/product-share.js.map?v=137787694243731129911790747748
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.