PageSourceSearch

https://www.amirootyet.com/en/js/wowchemy.min.ead4a376bcf2c4714888c770ea9b0040.js

js amirootyet.com collected 2026-09-29 15:35:38 UTC 22,830 bytes, 8 lines download raw bytes

1/*! Wowchemy v5.7.0 | https://wowchemy.com/ */
2/*! Copyright 2016-present George Cushen (https://georgecushen.com/) */
3/*! License: https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/LICENSE.md */
4
5;
6(()=>{(()=>{var t,i,c,l,d,m,p,y,_,O,E,e=Object.assign||function(e){for(var t,s,n=1;n<arguments.length;n++){t=arguments[n];for(s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},s=function(t){return t.tagName==="IMG"},A=function(t){return NodeList.prototype.isPrototypeOf(t)},o=function(t){return t&&t.nodeType===1},v=function(t){var n=t.currentSrc||t.src;return n.substr(-4).toLowerCase()===".svg"},C=function(t){try{return Array.isArray(t)?t.filter(s):A(t)?[].slice.call(t).filter(s):o(t)?[t].filter(s):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(s):[]}catch{throw new TypeError(`The provided selector is invalid.
7Expects a CSS selector, a Node element, a NodeList or an array.
8See: https://github.com/francoischalifour/medium-zoom`)}},R=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},T=function(t){var s=t.getBoundingClientRect(),o=s.top,i=s.left,a=s.width,r=s.height,n=t.cloneNode(),c=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return n.removeAttribute("id"),n.style.position="absolute",n.style.top=o+c+"px",n.style.left=i+l+"px",n.style.width=a+"px",n.style.height=r+"px",n.style.transform="",n},n=function(n,s){var i,o=e({bubbles:!1,cancelable:!1,detail:void 0},s);return typeof window.CustomEvent=="function"?new CustomEvent(n,o):(i=document.createEvent("CustomEvent"),i.initCustomEvent(n,o.bubbles,o.cancelable,o.detail),i)},L=function t(s){var r,u,_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=window.Promise||function(t){function n(){}t(n,n)},M=function(t){var n=t.target;if(n===u){l();return}if(c.indexOf(n)===-1)return;b({target:n})},S=function(){if(d||!i.original)return;var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(m-t)>a.scrollOffset&&setTimeout(l,150)},A=function(t){var n=t.key||t.keyCode;(n==="Escape"||n==="Esc"||n===27)&&l()},E=function(){var l,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=s;return s.background&&(u.style.background=s.background),s.container&&s.container instanceof Object&&(i.container=e({},a.container,s.container)),s.template&&(l=o(s.template)?s.template:document.querySelector(s.template),i.template=l),a=e({},a,i),c.forEach(function(e){e.dispatchEvent(n("medium-zoom:update",{detail:{zoom:r}}))}),r},j=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(e({},a,s))},f=function(){for(var n,s=arguments.length,o=Array(s),t=0;t<s;t++)o[t]=arguments[t];return n=o.reduce(function(e,t){return[].concat(e,C(t))},[]),n.filter(function(e){return c.indexOf(e)===-1}).forEach(function(e){c.push(e),e.classList.add("medium-zoom-image")}),h.forEach(function(e){var t=e.type,s=e.listener,o=e.options;n.forEach(function(e){e.addEventListener(t,s,o)})}),r},k=function(){for(var o,a=arguments.length,s=Array(a),t=0;t<a;t++)s[t]=arguments[t];return i.zoomed&&l(),o=s.length>0?s.reduce(function(e,t){return[].concat(e,C(t))},[]):c,o.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(n("medium-zoom:detach",{detail:{zoom:r}}))}),c=c.filter(function(e){return o.indexOf(e)===-1}),r},O=function(t,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return c.forEach(function(e){e.addEventListener("medium-zoom:"+t,n,s)}),h.push({type:"medium-zoom:"+t,listener:n,options:s}),r},w=function(t,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return c.forEach(function(e){e.removeEventListener("medium-zoom:"+t,n,s)}),h=h.filter(function(e){return e.type!=="medium-zoom:"+t||e.listener.toString()!==n.toString()}),r},g=function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=f.target,h=function(){if(n={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},s=void 0,r=void 0,a.container)if(a.container instanceof Object)n=e({}
8,n,a.container),s=n.width-n.left-n.right-a.margin*2,r=n.height-n.top-n.bottom-a.margin*2;else{var n,A=o(a.container)?a.container:document.querySelector(a.container),d=A.getBoundingClientRect(),p=d.width,C=d.height,w=d.left,_=d.top;n=e({},n,{width:p,height:C,left:w,top:_})}var s=s||n.width-a.margin*2,r=r||n.height-a.margin*2,c=i.zoomedHd||i.original,b=v(c)?s:c.naturalWidth||s,g=v(c)?r:c.naturalHeight||r,l=c.getBoundingClientRect(),j=l.top,y=l.left,m=l.width,h=l.height,O=Math.min(Math.max(m,b),s)/m,x=Math.min(Math.max(h,g),r)/h,u=Math.min(O,x),E=(-y+(s-m)/2+a.margin+n.left)/u,k=(-j+(r-h)/2+a.margin+n.top)/u,f="scale("+u+") translate3d("+E+"px, "+k+"px, 0)";i.zoomed.style.transform=f,i.zoomedHd&&(i.zoomedHd.style.transform=f)};return new p(function(e){if(s&&c.indexOf(s)===-1){e(r);return}var t,f,p,g,v=function t(){d=!1,i.zoomed.removeEventListener("transitionend",t),i.original.dispatchEvent(n("medium-zoom:opened",{detail:{zoom:r}})),e(r)};if(i.zoomed){e(r);return}if(s)i.original=s;else if(c.length>0)f=c,i.original=f[0];else{e(r);return}i.original.dispatchEvent(n("medium-zoom:open",{detail:{zoom:r}})),m=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,d=!0,i.zoomed=T(i.original),document.body.appendChild(u),a.template&&(p=o(a.template)?a.template:document.querySelector(a.template),i.template=document.createElement("div"),i.template.appendChild(p.content.cloneNode(!0)),document.body.appendChild(i.template)),i.original.parentElement&&i.original.parentElement.tagName==="PICTURE"&&i.original.currentSrc&&(i.zoomed.src=i.original.currentSrc),document.body.appendChild(i.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),i.original.classList.add("medium-zoom-image--hidden"),i.zoomed.classList.add("medium-zoom-image--opened"),i.zoomed.addEventListener("click",l),i.zoomed.addEventListener("transitionend",v),i.original.getAttribute("data-zoom-src")?(i.zoomedHd=i.zoomed.cloneNode(),i.zoomedHd.removeAttribute("srcset"),i.zoomedHd.removeAttribute("sizes"),i.zoomedHd.removeAttribute("loading"),i.zoomedHd.src=i.zoomed.getAttribute("data-zoom-src"),i.zoomedHd.onerror=function(){clearInterval(t),console.warn("Unable to reach the zoom image target "+i.zoomedHd.src),i.zoomedHd=null,h()},t=setInterval(function(){i.zoomedHd.complete&&(clearInterval(t),i.zoomedHd.classList.add("medium-zoom-image--opened"),i.zoomedHd.addEventListener("click",l),document.body.appendChild(i.zoomedHd),h())},10)):i.original.hasAttribute("srcset")?(i.zoomedHd=i.zoomed.cloneNode(),i.zoomedHd.removeAttribute("sizes"),i.zoomedHd.removeAttribute("loading"),g=i.zoomedHd.addEventListener("load",function(){i.zoomedHd.removeEventListener("load",g),i.zoomedHd.classList.add("medium-zoom-image--opened"),i.zoomedHd.addEventListener("click",l),document.body.appendChild(i.zoomedHd),h()})):h()})},l=function(){return new p(function(e){if(d||!i.original){e(r);return}var t=function t(){i.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(i.zoomed),i.zoomedHd&&document.body.removeChild(i.zoomedHd),document.body.removeChild(u),i.zoomed.classList.remove("medium-zoom-image--opened"),i.template&&document.body.removeChild(i.template),d=!1,i.zoomed.removeEventListener("transitionend",t),i.original.dispatchEvent(n("medium-zoom:closed",{detail:{zoom:r}})),i.original=null,i.zoomed=null,i.zoomedHd=null,i.template=null,e(r)};d=!0,document.body.classList.remove("medium-zoom--opened"),i.zoomed.style.transform="",i.zoomedHd&&(i.zoomedHd.style.transform=""),i.template&&(i.template.style.transition="opacity 150ms",i.template.style.opacity=0),i.original.dispatchEvent(n("medium-zoom:close",{detail:{zoom:r}})),i.zoomed.addEventListener("transitionend",t)})},b=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.target;return i.original?l():g({target:n})},y=function(){return a},x=function(){return c},F=function(){return i.original},c=[],h=[],d=!1,m=0,a=_,i={original:null,zoomed:null,zoomedHd:null,template:null};return Object.prototype.toString.call(s)==="[object Object]"?a=s:(s||typeof s=="string")&&f(s),a=e({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},a),u=R(a.background),document.addEventListener("click",M),document.addEventListener("keyup",A),document.addEventListener("scroll",S),window.addEventListener("resize",l),r={open:g,close:l,toggle:b,update:E,clone:j,attach:f,detach:k,on:O,off:w,getOptions:y,getImages:x,getZoomedImage:F},r};
8function N(e,t){t===void 0&&(t={});var n,s,o=t.insertAt;if(!e||typeof document=="undefined")return;s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style"),n.type="text/css",o==="top"?s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}O=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}",N(O),E=L,m="production",i={copied:"Copied",copy:"Copy"},p=!0;function b(e,t){const n=e.getBoundingClientRect(),o={height:e.clientHeight,width:e.clientWidth},s=t.getBoundingClientRect(),i=s.top>=n.top&&s.bottom<=n.top+o.height;i||(e.scrollTop=s.top+e.scrollTop-n.top)}function r(){let e=document.getElementById("navbar-main"),t=e?e.getBoundingClientRect().height:0;return console.debug("Navbar height: "+t),t}function g(e,t=0){if(e=typeof e=="undefined"||typeof e=="object"?decodeURIComponent(window.location.hash):e,$(e).length){e="#"+$.escapeSelector(e.substring(1));let n=Math.ceil($(e).offset().top-r());$("body").addClass("scrolling"),$("html, body").animate({scrollTop:n},t,function(){$("body").removeClass("scrolling")})}else console.debug("Cannot scroll to target `#"+e+"`. ID not found!")}function j(){let e=$("body"),t=e.data("bs.scrollspy");t&&(t._config.offset=r(),e.data("bs.scrollspy",t),e.scrollspy("refresh"))}$("#navbar-main li.nav-item a.nav-link, .js-scroll").on("click",function(e){let t=this.hash;if(this.pathname===window.location.pathname&&t&&$(t).length&&$(".js-widget-page").length>0){e.preventDefault();let n=Math.ceil($(t).offset().top-r());$("html, body").animate({scrollTop:n},800)}}),$(document).on("click",".navbar-collapse.show",function(e){let t=$(e.target).is("a")?$(e.target):$(e.target).parent();t.is("a")&&t.attr("class")!="dropdown-toggle"&&$(this).collapse("hide")}),$("body").on("mouseenter mouseleave",".dropdown",function(e){var t=$(e.target).closest(".dropdown"),n=$(".dropdown-menu",t);t.addClass("show"),n.addClass("show"),setTimeout(function(){t[t.is(":hover")?"addClass":"removeClass"]("show"),n[t.is(":hover")?"addClass":"removeClass"]("show")},300)}),$(window).resize(function(){clearTimeout(y),y=setTimeout(j,200)}),window.addEventListener("hashchange",g);function P(e,t){m==="production"&&$.getJSON("https://api.github.com/repos/"+t+"/tags").done(function(t){let n=t[0];$(e).append(" "+n.name)}).fail(function(e,t,n){let s=t+", "+n;console.log("Request Failed: "+s)})}function w(e,t=600){e.style.display="",e.style.opacity="0";let s=+new Date,n=function(){e.style.opacity=(+e.style.opacity+(new Date-s)/t).toString(),s=+new Date,+e.style.opacity<1&&(window.requestAnimationFrame&&requestAnimationFrame(n)||setTimeout(n,16))};n()}t=document.body;function x(){return parseInt(localStorage.getItem("wcTheme")||2)}function f(){return Boolean(window.wc.darkLightEnabled)}function S(){if(!f())return console.debug("User theming disabled."),{isDarkTheme:window.wc.isSiteThemeDark,themeMode:window.wc.isSiteThemeDark?1:0};console.debug("User theming enabled.");let e,n=x();switch(console.debug(`User's theme variation: ${n}`),n){case 0:e=!1;break;case 1:e=!0;break;default:window.matchMedia("(prefers-color-scheme: dark)").matches?e=!0:window.matchMedia("(prefers-color-scheme: light)").matches?e=!1:e=window.wc.isSiteThemeDark;break}return e&&!t.classList.contains("dark")?(console.debug("Applying Wowchemy dark theme"),document.body.classList.add("dark")):!e&&t.classList.contains("dark")&&(console.debug("Applying Wowchemy light theme"),document.body.classList.remove("dark")),{isDarkTheme:e,themeMode:n}}function a(e){if(!f()){console.debug("Cannot change theme - user theming disabled.");return}let t;switch(e){case 0:localStorage.setItem("wcTheme","0"),t=!1,console.debug("User changed theme variation to Light.");break;case 1:localStorage.setItem("wcTheme","1"),t=!0,console.debug("User changed theme variation to Dark.");break;default:localStorage.setItem("wcTheme","2"),window.matchMedia("(prefers-color-scheme: dark)").matches?t=!0:window.matchMedia("(prefers-color-scheme: light)").matches?t=!1:t=window.wc.isSiteThemeDark,console.debug("User changed theme variation to Auto.");break}h(t,e)}function k(e){let t=document.querySelector(".js-set-theme-light"),n=document.querySelector(".js-set-theme-dark"),s=document.querySelector(".js-set-theme-auto");if(t===null)return;switch(e){case 0:t.classList.add("dropdown-item-active"),n.classList.remove("dropdown-item-active"),s.classList.remove("dropdown-item-active");break;case 1:t.classList.remove("dropdown-item-active"),n.classList.add("dropdown-item-active"),s.classList.remove("dropdown-item-active");break;default:t.classList.remove("dropdown-item-active"),n.classList.remove("dropdown-item-active"),s.classList.add("dropdown-item-active");break}}function h(e,n=2,s=!1){const o=document.querySelector("link[title=hl-light]"),i=document.querySelector("link[title=hl-dark]"),a=o!==null||i!==null,r=document.querySelector("script[title=mermaid]")!==null;k(n);const c=new CustomEvent("wcThemeChange",{detail:{isDarkTheme:()=>e}});if(document.dispatchEvent(c),!s&&(e===!1&&!t.classList.contains("dark")||e===!0&&t.classList.contains("dark")))return;e===!1?(s||(Object.assign(document.body.style,{opacity:0,visibility:"visible"}),w(document.body,600)),t.classList.remove("dark"),a&&(console.debug("Setting HLJS theme to light"),o&&(o.disabled=!1),i&&(i.disabled=!0)),r&&(console.debug("Initializing Mermaid with light theme"),s?window.mermaid.initialize({startOnLoad:!0,theme:"default",securityLevel:"loose"}):location.reload())):e===!0&&(s||(Object.assign(document.body.style,{opacity:0,visibility:"visible"}),w(document.body,600)),t.classList.add("dark"),a&&(console.debug("Setting HLJS theme to dark"),o&&(o.disabled=!0),i&&(i.disabled=!1)),r&&(console.debug("Initializing Mermaid with dark theme"),s?window.mermaid.initialize({startOnLoad:!0,theme:"dark",securityLevel:"loose"}):location.reload()))}function M(e){if(!f())return;const s=e.matches;console.debug(`OS dark mode preference changed to ${s?"🌒 on":"☀️ off"}.`);let n=x(),t;n===2&&(window.matchMedia("(prefers-color-scheme: dark)").matches?t=!0:window.matchMedia("(prefers-color-scheme: light)").matches?t=!1:t=window.wc.isSiteThemeDark,h(t,n))}console.debug(`Environment: ${m}`);function F(){if(window.history.replaceState){let e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;window.history.replaceState({path:e},"",e)}}function u(){if($("body").hasClass("searching"))$("[id=search-query]").blur(),$("body").removeClass("searching compensate-for-scrollbar"),F(),$("#fancybox-style-noscroll").remove();else{!$("#fancybox-style-noscroll").length&&document.body.scrollHeight>window.innerHeight&&($("head").append('<style id="fancybox-style-noscroll">.compensate-for-scrollbar{margin-right:'+(window.innerWidth-document.documentElement.clientWidth)+"px;}</style>"),$("body").addClass("compensate-for-scrollbar")),$("body").addClass("searching"),$(".search-results").css({opacity:0,visibility:"visible"}).animate({opacity:1},200);let e=document.querySelector(".ais-SearchBox-input");e?e.focus():$("#search-query").focus()}}function z(){$("#TableOfContents").addClass("nav flex-column"),$("#TableOfContents li").addClass("nav-item"),$("#TableOfContents li a").addClass("nav-link"),$("input[type='checkbox'][disabled]").parents("ul").addClass("task-list"),$("table").addClass("table")}function D(e){return Array.prototype.filter.call(e.parentNode.children,function(t){return t!==e})}document.addEventListener("DOMContentLoaded",function(){z();let{isDarkTheme:s,themeMode:o}=S();h(s,o,!0);let t=document.querySelector(".docs-links .active"),n=document.querySelector(".docs-links");t&&n&&b(n,t);let e=".js-github-release";$(e).length>0&&P(e,$(e).data("repo"))}),$(window).on("load",function(){j();let t=document.querySelectorAll(".projects-container"),n=t.length;window.location.hash&&n===0&&g(decodeURIComponent(window.location.hash),0);let s=document.querySelector(".docs-toc .nav-link.active"),o=document.querySelector(".docs-toc");s&&o&&b(o,s);let e={};document.body.classList.contains("dark")?e.background="rgba(0,0,0,0.9)":e.background="rgba(255,255,255,0.9)",E("[data-zoomable]",e);let i=0;t.forEach(function(e,t){console.debug(`Loading Isotope instance ${t}`);let i,n=e.closest("section"),s="";n.querySelector(".isotope").classList.contains("js-layout-row")?s="fitRows":s="masonry";let r=n.querySelector(".default-project-filter"),o="*";r!==null&&(o=r.textContent),console.debug(`Default Isotope filter: ${o}`),imagesLoaded(e,function(){i=new Isotope(e,{itemSelector:".isotope-item",layoutMode:s,masonry:{gutter:20},filter:o});let t=n.querySelectorAll(".project-filters a");
8t.forEach(e=>e.addEventListener("click",t=>{t.preventDefault();let n=e.getAttribute("data-filter");console.debug(`Updating Isotope filter to ${n}`),i.arrange({filter:n}),e.classList.remove("active"),e.classList.add("active");let s=D(e);s.forEach(e=>{e.classList.remove("active"),e.classList.remove("all")})})),a()})});function a(){i++,i===n&&(console.debug(`All Portfolio Isotope instances loaded.`),window.location.hash&&g(decodeURIComponent(window.location.hash),0))}document.addEventListener("keyup",e=>{if(e.code==="Escape"){const e=document.body;e.classList.contains("searching")&&u()}if(e.key==="/"){let t=document.hasFocus()&&document.activeElement!==document.body&&document.activeElement!==document.documentElement&&document.activeElement||null,n=t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement;p&&!n&&(e.preventDefault(),u())}}),p&&$(".js-search").click(function(e){e.preventDefault(),u()}),$('[data-toggle="tooltip"]').tooltip()}),d=document.querySelector(".js-set-theme-light"),l=document.querySelector(".js-set-theme-dark"),c=document.querySelector(".js-set-theme-auto"),d&&l&&c&&(d.addEventListener("click",e=>{e.preventDefault(),a(0)}),l.addEventListener("click",e=>{e.preventDefault(),a(1)}),c.addEventListener("click",e=>{e.preventDefault(),a(2)})),_=window.matchMedia("(prefers-color-scheme: dark)"),_.addEventListener("change",e=>{M(e)}),document.querySelectorAll("pre > code").forEach(e=>{const n=e.parentNode.parentNode,t=document.createElement("button");let o=["btn","btn-primary","btn-copy-code"];t.classList.add(...o),t.innerHTML=i.copy;function s(){t.innerHTML=i.copied,setTimeout(()=>{t.innerHTML=i.copy},2e3)}t.addEventListener("click",()=>{if(console.debug("Code block copy click. Is secure context for Clipboard API? "+window.isSecureContext),"clipboard"in navigator){navigator.clipboard.writeText(e.textContent),s();return}console.debug("Falling back to legacy clipboard copy");const t=document.createRange();t.selectNodeContents(e);const n=window.getSelection();n.removeAllRanges(),n.addRange(t);try{document.execCommand("copy"),s()}catch(e){console.error(e)}n.removeRange(t)}),n.classList.contains("highlight")?n.appendChild(t):e.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName=="TABLE"?e.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(t):e.parentNode.appendChild(t)})})(),(()=>{var o={authors:"Authors",event:"Events",post:"Posts",project:"Projects",publication:"Publications",slides:"Slides"},i={no_results:"No results found",placeholder:"Search...",results:"results found"},t={indexURI:"/index.json",minLength:1,threshold:.3},n={shouldSort:!0,includeMatches:!0,tokenize:!0,threshold:t.threshold,location:0,distance:100,maxPatternLength:32,minMatchCharLength:t.minLength,keys:[{name:"title",weight:.99},{name:"summary",weight:.6},{name:"authors",weight:.5},{name:"content",weight:.2},{name:"tags",weight:.5},{name:"categories",weight:.5}]},e=60;function a(e){return decodeURIComponent((location.search.split(e+"=")[1]||"").split("&")[0]).replace(/\+/g," ")}function r(e){history.replaceState&&window.history.replaceState({path:e},"",e)}function s(e,t){let s=$("#search-query").val();if(s.length<1&&($("#search-hits").empty(),$("#search-common-queries").show()),!e&&s.length<n.minMatchCharLength)return;$("#search-hits").empty(),$("#search-common-queries").hide(),c(s,t);let o=window.location.protocol+"//"+window.location.host+window.location.pathname+"?q="+encodeURIComponent(s)+window.location.hash;r(o)}function c(e,t){let n=t.search(e);n.length>0?($("#search-hits").append('<h3 class="mt-0">'+n.length+" "+i.results+"</h3>"),l(e,n)):$("#search-hits").append('<div class="search-no-results">'+i.no_results+"</div>")}function l(t,s){$.each(s,function(s,i){let a=i.item.section,r="",c="",l=[];["publication","event"].includes(a)?r=i.item.summary:r=i.item.content,n.tokenize?l.push(t):$.each(i.matches,function(t,n){if(n.key=="content"){let t=n.indices[
80][0]-e>0?n.indices[0][0]-e:0,s=n.indices[0][1]+e<r.length?n.indices[0][1]+e:r.length;c+=r.substring(t,s),l.push(n.value.substring(n.indices[0][0],n.indices[0][1]-n.indices[0][0]+1))}}),c.length<1&&(c+=i.item.summary);let u=$("#search-hit-fuse-template").html();a in o&&(a=o[a]);let h={key:s,title:i.item.title,type:a,relpermalink:i.item.relpermalink,snippet:c},m=d(u,h);$("#search-hits").append(m),$.each(l,function(e,t){$("#summary-"+s).mark(t)})})}function d(e,t){let n,s,o;for(n in t)s="\\{\\{\\s*"+n+"\\s*\\}\\}",o=new RegExp(s,"g"),e=e.replace(o,t[n]);return e}typeof Fuse=="function"&&$.getJSON(t.indexURI,function(e){let t=new Fuse(e,n),o=a("q");o&&($("body").addClass("searching"),$(".search-results").css({opacity:0,visibility:"visible"}).animate({opacity:1},200),$("#search-query").val(o),$("#search-query").focus(),s(!0,t)),$("#search-query").keyup(function(e){clearTimeout($.data(this,"searchTimer")),e.keyCode==13?s(!0,t):$(this).data("searchTimer",setTimeout(function(){s(!1,t)},250))})})})()})()

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.