1import{LitElement,html}from"@hh/global.js";class HHBroadcast extends LitElement{static properties={on:{},event:{},data:{}};constructor(){super(),this.method="document",this.on="click"}connectedCallback(){super.connectedCallback();const hash=this.getAttribute("hash");if(hash&&document.addEventListener(`${hash}:open`,event=>{document.body.setAttribute(this.event,JSON.stringify(event?.detail))}),this.on==="click")return!0;this.addEventListener(this.on,event=>{document.body.setAttribute(this.event,JSON.stringify(event.detail))})}onClick(event){if(this.on!=="click")return!0;this.method==="document"&&document.body.setAttribute(this.event,this.data)}render(){return html`<slot @click="${this.onClick}"></slot>`}}customElements.define("hh-broadcast",HHBroadcast); 2//# sourceMappingURL=/cdn/shop/t/116/assets/component-broadcast.js.map?v=571348443940644541787244068
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.