1/** 2 * 3 * ÐÑновной Ñайл ÑкÑипÑов. 4 * 5 */ 6(function ($, root, undefined) { 7 $(function () { 8 "use strict"; 9 10 $(document).ready(function(){ 11 12 /** 13 * Table of contents 14 */ 15 var toc_path = ".toc-wrapper .toc"; 16 if($(toc_path).length != 0){ 17 18 var toc_selectors = "h1,h2,h3,h4";//$(toc_path).attr("toc-selectors"); 19 if (typeof toc_selectors !== typeof undefined && toc_selectors !== false) { 20 if($(".toc-wrapper .toc-title").length == 0) $(".toc-wrapper").addClass('toc-hm'); 21 22 $(".toc").toc({ 23 'container': $(".toc-wrapper").parent().get(0), 24 'selectors': toc_selectors, 25 'highlightOnScroll':false, 26 }); 27 } 28 $(".toc-title").on('click', function(event) { 29 event.preventDefault(); 30 let tx = $(this).text(); 31 if(tx.indexOf("[ÐоказаÑÑ]") >= 0){ 32 tx = tx.replace("[ÐоказаÑÑ]","[СкÑÑÑÑ]"); 33 }else { 34 tx = tx.replace("[СкÑÑÑÑ]","[ÐоказаÑÑ]"); 35 } 36 $(this).text(tx); 37 $(".toc-wrapper").toggleClass('toc-hm'); 38 }); 39 } 40 41 $('span[data-go]').replaceWith(function() { 42 let link = $(this).attr('data-go'); 43 let text = $(this).text(); 44 return '<a href="' + link + '" target="_blank">' + text + '</a>'; 45 }); 46 47 $.post(ajaxurl, { // ÐÑÐ¸Ð½Ñ Ñонно вÑполнÑем запÑÑк оÑложеннÑÑ Ð¾Ð¿ÐµÑаÑий, Ð´Ð°Ð±Ñ Ð½Ðµ ÑÑавмиÑоваÑÑ Ð¿Ð¾Ð»ÑзоваÑÐµÐ»Ñ Ð´Ð¾Ð»Ð¾Ð¹ загÑÑзкой ÑÑÑаниÑÑ. 48 action : 'aft_docron', 49 data : 'run' 50 }); 51 52 }); 53 54 55 }); 56})(jQuery, this);
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.