1var u=Object.defineProperty;var d=(i,t,e)=>t in i?u(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var c=(i,t)=>u(i,"name",{value:t,configurable:!0});var a=(i,t,e)=>d(i,typeof t!="symbol"?t+"":t,e);const r=class r{constructor(){document.addEventListener("click",this.onClick)}onClick=c(t=>{if(t.redispatched===!0||window.getSelection().toString())return;const e=t.target,n=e.closest(`[${r.Attributes.CARD}]`);if(!n||e.hasAttribute(r.Attributes.CARD_LINK))return;const s=n.querySelector(`[${r.Attributes.CARD_LINK}]`);if(!s||n.querySelector(`[${r.Attributes.CARD_LINK_IGNORE}]`)?.contains(e)||e.closest(`a:not([${r.Attributes.CARD_LINK}]), button, details`))return;t.preventDefault();const o=new MouseEvent("click",t);o.redispatched=!0,s.dispatchEvent(o)},"onClick")};c(r,"Card"),a(r,"Attributes",{CARD:"data-card",CARD_LINK:"data-card-link",CARD_LINK_IGNORE:"data-card-link-ignore"});let l=r;export{l as default};
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.