PageSourceSearch

https://guttelus.no/cdn/shop/t/50/assets/custom-header.js?v=87811657497206606691789352145

js guttelus.no collected 2026-09-27 00:59:28 UTC 1,105 bytes, 2 lines download raw bytes

1(function(){const INLINE_SELECTOR=".header-search--inline";function initInlineSearch(wrapper){const form=wrapper.querySelector('form[role="search"]'),input=wrapper.querySelector('input[type="search"]'),predictive=wrapper.querySelector("predictive-search.predictive-search--inline");if(!form||!input||!predictive)return;const open=()=>predictive.classList.add("is-open"),close=()=>predictive.classList.remove("is-open");input.addEventListener("focus",open),input.addEventListener("input",()=>{input.value.trim().length>0?open():close()}),document.addEventListener("click",event=>{wrapper.contains(event.target)||close()}),document.addEventListener("keydown",event=>{event.key==="Escape"&&close()})}function init(){document.querySelectorAll(INLINE_SELECTOR).forEach(initInlineSearch)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",init):init(),document.addEventListener("shopify:section:load",event=>{event.target.querySelectorAll(INLINE_SELECTOR).forEach(initInlineSearch)})})();
2//# sourceMappingURL=/cdn/shop/t/50/assets/custom-header.js.map?v=87811657497206606691789352145

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.