1$(function () { 2 3 $('.example').click(function () { 4 $('#keywords_lite').val($(this).text()); 5 }); 6 7 $('[data-ajax]').each(function () { 8 var element = $(this).data('ajax'), 9 t = $(this); 10 $.ajax({ 11 url: '/ajax/content/', 12 type: 'POST', 13 data: { 14 part: element 15 }, 16 success: function (response) { 17 t.html(response); 18 Bc.WidgetManager.initIn(t); 19 } 20 }); 21 }); 22 23 /*кнопка-ÑаÑкÑÑвалка Ð´Ð»Ñ Ð±Ð»Ð¾ÐºÐ° "УÑаÑÑникам ÑендеÑов" */ 24 $(".zag i").click(function () { 25 if ($(window).width() > 480)return; 26 if ($("ul.tenderHelpLeft").is(':animated')) { 27 return; 28 } 29 $("ul.tenderHelpLeft").slideToggle(300); 30 }); 31 32 /*кнопка-ÑаÑкÑÑвалка Ð´Ð»Ñ Ð²ÐµÑÑ Ð½ÐµÐ³Ð¾ блока */ 33 $("img.top-menu-mobile").click(function (e) { 34 $(".hd1 .header-list").slideToggle(300); 35 }); 36 37 $(".enter_lk").click(function () { 38 if ($(window).width() > 480)return; 39 if ($(".infoblok.login").is(':animated')) { 40 return; 41 } 42 $(".infoblok.login").slideToggle(300); 43 }); 44 45 /*--------------в ÐЦРÑпиÑок плоÑадок--------------*/ 46 $(".mp_list").click(function () { 47 if ($(".marketplace").is(':animated')) { 48 return; 49 } 50 $(".marketplace").slideToggle(300); 51 52 if ($(this).find('span').html() == '(ÑазвеÑнÑÑÑ)') { 53 $(this).find('span').html('(ÑвеÑнÑÑÑ)'); 54 } else { 55 $(this).find('span').html('(ÑазвеÑнÑÑÑ)'); 56 } 57 }); 58}); 59 60$(document).on('copy', function () { 61 var selection = window.getSelection(); 62 var selectionText = selection.toString(); 63 64 if (selectionText.length >= 300) { 65 Bc.Ajax({ 66 indicate: false, 67 url: '/article/oncopy/', 68 data: { 69 text: selectionText, 70 url: document.location.href 71 }, 72 success: function (response) { 73 } 74 }); 75 } 76}); 77 78$(document).ready(function () { 79 if (!Bc.Cookie.get('bicoEnterCounter')) { 80 var enterDate = new Date(); 81 Bc.Cookie.set('bicoEnterCounter', enterDate.getTime(), 0.3); 82 } 83 84 if (!Bc.Cookie.get('bicoRegistered')) { 85 if (!Bc.Cookie.get('manyTenders')) { 86 if (Bc.Cookie.get('manyTendersSet')) { 87 $('.have-many-tender').show(); 88 Bc.Cookie.set('manyTenders', 1, 24); 89 } 90 } 91 } 92 93 $(document).mouseleave(function (e) { 94 if (e.clientY <= 0) { 95 if (Bc.Cookie.get('bicoRegistered')) return; 96 if (Bc.Cookie.get('callBackShow')) return; 97 Bc.Cookie.set('callBackShow', 1, 72); 98 $('.close-the-window').show(); 99 } 100 }); 101});
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.