PageSourceSearch

https://www.ncsc.gov.uk/themes/custom/lakes/dist//search-dropdown-DkK2vT3H.js

js ncsc.gov.uk collected 2026-09-24 06:03:38 UTC 779 bytes, 1 lines download raw bytes

1import{D as t}from"./dropdown-toggle-Cjb_x3mc.js";import"./index-B6oLHIQH.js";import"./gsap-core-DxSJLJiy.js";const e=document.querySelector("[data-js-global-search-container]"),o=document.querySelector("[data-js-global-search-button]"),a=document.querySelector("[data-js-global-search-close]"),s=document.querySelector("[data-js-page-overlay]"),n=new t(o,{closeOnEsc:!0,openLabel:"Open search",closeLabel:"Close search",closeOnInit:!1,closeOnOutsideClick:!0,onOpenStart(){s?.classList.remove("hidden")},onOpenEnd(){window.dispatchEvent(new CustomEvent("search-dropdown-opened")),e.classList.remove("overflow-hidden")},onCloseStart(){s?.classList.add("hidden"),e.classList.add("overflow-hidden")},onCloseEnd(){o?.focus()}});n.init();a?.addEventListener("click",()=>{n.close()});

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.