1"use strict";(async function(){const e={},t=new Set,o=document.querySelector("[data-ghost-comments-counts-api]").dataset.ghostCommentsCountsApi,i=function(e,t=100){let n;return(...s)=>{clearTimeout(n),n=setTimeout(()=>e.apply(this,s),t)}},n=function(n){(n.querySelectorAll?.("[data-ghost-comment-count]")||[]).forEach(n=>{e[n.dataset.ghostCommentCount]||t.add(n.dataset.ghostCommentCount)})},a=function(){for(const[n,t]of Object.entries(e))document.querySelectorAll(`[data-ghost-comment-count="${n}"]`).forEach(e=>{let n=e.dataset.ghostCommentCountEmpty;if(t===1&&(e.dataset.ghostCommentCountSingular?n=`${t} ${e.dataset.ghostCommentCountSingular}`:n=t),t>1&&(e.dataset.ghostCommentCountPlural?n=`${t} ${e.dataset.ghostCommentCountPlural}`:n=t),n)if(e.dataset.ghostCommentCountAutowrap!=="false"){const t=document.createElement(e.dataset.ghostCommentCountTag);e.dataset.ghostCommentCountClassName&&t.classList.add(e.dataset.ghostCommentCountClassName),t.textContent=n,e.insertAdjacentElement("afterend",t)}else e.insertAdjacentText("afterend",n);e.remove()})},s=async function(){const n=Array.from(t);if(t.clear(),!n.length)return;const s=await fetch(`${o}?ids=${n.join(",")}`,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});if(s.status!==200)return;const i=await s.json();for(const[t,n]of Object.entries(i))e[t]=n;a()},r=i(s);new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{n(e)})}),r()}).observe(document.body,{subtree:!0,childList:!0}),n(document.body),s()})()
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.