1$((()=>{const t=$(".sc-sp-search-form-container"),e=$(".sc-sp-search-form"),n=t.find(".examples"),r=e.find(".sc-ssf-field"),i=e.find(".reset-search"),s=t.find(".results"),o=new URL(e.data("quick-search-url"));if(n.on("click",".example",(function(t){return e.find(".sc-ssf-field").val($(t.currentTarget).text()),r.trigger("input"),r.trigger("focus"),!1})),i.on("click",(function(){r.val("").trigger("input")})),r.on("input",(function(){let e=r.val();e=e.trim();const n=e!==t.data("lastQuery");o.searchParams.set("query",e);const a=Math.random().toString(16);if(t.data("lastRequestId",a),t.data("lastQuery",e),n){if(window.history.replaceState&&window.history.replaceState({query:e},"","#query="+e),""===e)return t.removeClass("with-results"),s.html(""),void i.hide();i.show().position({my:"right center",at:"right-4 center",of:r}),s.addClass("loading"),$.get(o.toString(),(function(e){t.data("lastRequestId")===a&&(s.removeClass("loading"),""===e?t.removeClass("with-results"):t.addClass("with-results"),s.html(e))}))}})),r.on("keydown",(t=>{const e=s.find("a").toArray();if(0===e.length)return;const n=s.find("a.current");if(13===t.which)return 1!==n.length||(document.location.href=n.attr("href"),!1);if(38===t.which||40===t.which){const r=38===t.which;let i=0;if(n.removeClass("current"),0===n.length)i=r?e.length-1:0;else{const t=e.indexOf(n.get(0));if(t>=0)if(r){if(i=t-1,i<0)return}else if(i=t+1,i>=e.length)return}const s=e[i];return $(s).addClass("current"),s.getBoundingClientRect().bottom>window.innerHeight&&s.scrollIntoView(!1),s.getBoundingClientRect().top<0&&s.scrollIntoView(),!1}return!0})),"1"===r.attr("data-focus-after-rendering")&&r.trigger("focus"),""!==window.location.hash){const t=window.location.hash.match(/#query=(.+)/);null!==t&&(r.val(decodeURIComponent(t[1])),r.trigger("input"))}}));
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.