1(function ($, Drupal, setting) { 2 'use strict'; 3 4 jQuery('#block-page-title').remove(); 5 jQuery('.web_journal__top__search__field input').on('change', function(){ 6 jQuery('.web_journal__top__search__tooltip').removeClass('active'); 7 8 var disabled = jQuery('[data-disabled]').data('disabled'); 9 $.get('/api/1/block_print_number/getAliasByDate/' + (disabled ? '!' : '') + jQuery(this).val(), function(data) { 10 if(data) { 11 if (data.uri == null) { 12 jQuery('.web_journal__top__search__tooltip__label').text('Ðа даннÑй пеÑиод Ð½ÐµÑ Ð²ÑпÑÑка газеÑÑ Â«ÐзвеÑÑиÑ»'); 13 jQuery('.web_journal__top__search__tooltip').addClass('active'); 14 setTimeout(function(){ 15 jQuery('.web_journal__top__search__tooltip').removeClass('active'); 16 }, 2000); 17 } else { 18 jQuery('.web_journal__top__search__tooltip__label').text('ÐÐ´ÐµÑ Ð·Ð°Ð³ÑÑзка...'); 19 jQuery('.web_journal__top__search__tooltip').addClass('active'); 20 window.location.href = window.location.origin + '' + data.uri; 21 } 22 } 23 }); 24 25 }); 26 27})(jQuery, Drupal, drupalSettings);
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.