function htmlDecode(e){var t=document.createElement("textarea");return t.innerHTML=e,t.childNodes.length===0?"":t.childNodes[0].nodeValue}SimpleJekyllSearch({searchInput:document.getElementById("search-input"),resultsContainer:document.getElementById("search-results"),json:"/index.json",searchResultTemplate:'
',noResultsText:"No results",limit:50,fuzzy:!1,templateMiddleware:function(e,t){if(e==="subtitle"||e==="title")return t.indexOf("code")?htmlDecode(t):t}}),$(document).ready(function(){var e=$(".search-page"),n=$(".search-icon"),s=$(".search-icon-close"),o=$("#search-input"),t=$("body");n.on("click",function(n){n.preventDefault(),e.toggleClass("search-active");var i=t.attr("class")||"";setTimeout(function(){t.addClass("no-scroll")},400),e.hasClass("search-active")&&(s.on("click",function(n){n.preventDefault(),e.removeClass("search-active"),t.attr("class",i)}),o.focus())})})