1$(function () { 2 /*show password*/ 3 $(".form-group:not(.eye-password-ignore) [type=password]").each(function () { 4 let passBlock = $(this).closest(".form-group"), 5 labelBlock = passBlock.find(".label_block"); 6 if (labelBlock.length) { 7 labelBlock.addClass("eye-password"); 8 } else { 9 passBlock.addClass("eye-password"); 10 } 11 }); 12 $(document).on( 13 "click", 14 ".eye-password:not(.eye-password-ignore)", 15 function (event) { 16 let input = this.querySelector("input"); 17 let eyeWidth = 56; 18 if (this.clientWidth - eyeWidth < event.offsetX) { 19 if (input.type == "password") { 20 input.type = "text"; 21 this.classList.add("password-show"); 22 } else if (input.type == "text") { 23 input.type = "password"; 24 this.classList.remove("password-show"); 25 } 26 event.stopPropagation(); 27 } 28 } 29 ); 30});
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.