1 2; /* Start:"a:4:{s:4:"full";s:80:"/bitrix/templates/aspro_max/components/bitrix/news/blog/script.js?17164655371034";s:6:"source";s:65:"/bitrix/templates/aspro_max/components/bitrix/news/blog/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3$(document).ready(function(){ 4 InitScrollBar(); 5 6 $('.select_head_wrap .menu_item_selected span').text($('.select_head_wrap .head-block .item-link.active').text()) ; 7 $('.select_head_wrap .menu_item_selected').on('click', function(){ 8 if(window.matchMedia('(max-width: 767px)').matches){ 9 $(this).toggleClass('opened'); 10 $(this).closest('.select_head_wrap').find('.head-block').slideToggle(200); 11 } 12 }); 13 14 $('.select_head_wrap .btn-inline').on('click', function(){ 15 var text = $(this).text(); 16 var head_wrap = $(this).closest('.select_head_wrap'); 17 18 head_wrap.find('.menu_item_selected span').text(text); 19 head_wrap.find('.menu_item_selected').removeClass('opened'); 20 if(window.matchMedia('(max-width: 767px)').matches){ 21 head_wrap.find('.head-block').slideUp(200); 22 } 23 }); 24 25 // close select 26 $("html, body").on('mousedown', function(e){ 27 if(!$(e.target).closest('.select_head_wrap').length) 28 { 29 $('.select_head_wrap .menu_item_selected.opened').click(); 30 } 31 }); 32}); 33/* End */ 34; 35; /* Start:"a:4:{s:4:"full";s:91:"/bitrix/templates/aspro_max/components/bitrix/news.list/front_news/script.js?17164655371413";s:6:"source";s:76:"/bitrix/templates/aspro_max/components/bitrix/news.list/front_news/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 36$(document).ready(function(){ 37 if($('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').length) 38 { 39 $('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').mCustomScrollbar({ 40 mouseWheel: { 41 scrollAmount: 150, 42 preventDefault: true 43 } 44 }) 45 } 46 47 var containerEl = document.querySelector('.mixitup-container'); 48 if(containerEl) 49 { 50 var config = { 51 selectors:{ 52 target: '[data-ref="mixitup-target"]' 53 }, 54 animation:{ 55 effects: 'fade scale stagger(50ms)' // Set a 'stagger' effect for the loading animation 56 }, 57 load:{ 58 filter: 'none' // Ensure all targets start from hidden (i.e. display: none;) 59 }, 60 animation:{ 61 duration: 350 62 }, 63 controls:{ 64 scope: 'local' 65 }, 66 callbacks: { 67 onMixStart:function(state) { 68 }, 69 onMixEnd:function() { 70 InitLazyLoad(); 71 } 72 } 73 }; 74 var mixer = mixitup(containerEl, config); 75 76 // Add a class to the container to remove 'visibility: hidden;' from targets. This 77 // prevents any flickr of content before the page's JavaScript has loaded. 78 79 containerEl.classList.add('mixitup-ready'); 80 81 // Show all targets in the container 82 83 mixer.show() 84 .then(function(){ 85 // Remove the stagger effect for any subsequent operations 86 mixer.configure({ 87 animation: { 88 effects: 'fade scale' 89 } 90 }); 91 }); 92 } 93 94}) 95/* End */ 96;; /* /bitrix/templates/aspro_max/components/bitrix/news/blog/script.js?17164655371034*/ 97; /* /bitrix/templates/aspro_max/components/bitrix/news.list/front_news/script.js?17164655371413*/
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.