PageSourceSearch

https://www.logicmonitor.com/wp-content/themes/unicorntwentyfive/i…/dropdown/dropdown.min.js?ver=1790098673

js logicmonitor.com collected 2026-09-24 17:13:36 UTC 1,300 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".dropdown-group").forEach(o=>{let t=o.querySelector(".dropdown-trigger"),n=o.querySelector(".dropdown-view"),i=o.querySelector(".dropdown-input"),a=n.querySelectorAll("li"),c=o.hasAttribute("data-multiple");function r(e){if(c){e.classList.toggle("active");{let t=[];n.querySelectorAll("li.active").forEach(e=>{t.push(e.textContent.trim())}),i.value=t.join(", "),i.dispatchEvent(new Event("change"))}}else i.value=e.textContent.trim(),i.dispatchEvent(new Event("change")),d()}function d(){o.classList.remove("active"),t.setAttribute("data-state","closed"),i.setAttribute("data-state","closed")}t.addEventListener("click",function(){var e;t.disabled||(e=o.classList.toggle("active"),t.setAttribute("data-state",e?"open":"closed"),i.setAttribute("data-state",e?"open":"closed"),e&&0<a.length&&a[0].focus())}),document.addEventListener("click",function(e){o.contains(e.target)||d()}),a.forEach((t,n)=>{t.addEventListener("click",function(){r(t)}),t.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),r(t)),"Tab"===e.key&&(e.shiftKey&&0===n||!e.shiftKey&&n===a.length-1)&&d()}),t.addEventListener("blur",function(){setTimeout(()=>{o.contains(document.activeElement)||d()},10)})})})});

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.