1import{g as i}from"../../../../vendor/event-tag.js";const d=e=>{if(!e)return;const c=e.querySelector(".search-field-icon");if(!c)return;e.classList.contains("collapsible")&&c.addEventListener("click",()=>{e.classList.toggle("collapsed")});const t=e.querySelector(".search-field-input");if(!t)return;t.addEventListener("keydown",a=>{const{searchPath:l}=t.dataset,r=t.value,o=`${l}?keywords=${r}`;if(a.key==="Enter"){const s={...i(),click_text:r,user_action:"select",target_url:o};window.dataLayer.push(s),console.log(s),window.location=o}});const n=e.querySelector(".search-field-clear");n&&n.addEventListener("click",()=>{t.value=""})},u=()=>{document.querySelectorAll(".search-field").forEach(c=>{d(c)})};document.addEventListener("DOMContentLoaded",u);
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.