1const count = () => { 2 const countContainers = document.querySelectorAll(".count-container"); 3 if (!count) { 4 return; 5 } 6 7 countContainers.forEach((countContainer) => { 8 const countIput = countContainer.querySelector("input"); 9 const minCount = countContainer.querySelector(".mincount"); 10 const maxCount = countContainer.querySelector(".maxcount"); 11 12 minCount.addEventListener("click", () => { 13 let currentValue = parseInt(countIput.value); 14 if (currentValue === 0 || currentValue < 0) { 15 if (currentValue === 0) { 16 currentValue = 1; 17 } else { 18 currentValue = 0; 19 } 20 } else { 21 currentValue--; 22 } 23 countIput.value = currentValue; 24 }); 25 maxCount.addEventListener("click", () => { 26 let currentValue = parseInt(countIput.value); 27 currentValue++; 28 countIput.value = currentValue; 29 }); 30 }); 31}; 32
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.