PageSourceSearch

https://allf0rdj.ru/local/templates/aspro_max_local/components/bitrix/news.list/front_news/script.js

js allf0rdj.ru collected 2026-09-26 13:10:24 UTC 1,749 bytes, 69 lines download raw bytes

1$(document).ready(function(){
2	if($('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').length)
3	{
4		
5		var scrollItemsType6 = function(){
6			if(window.matchMedia('(min-width: 601px)').matches) {
7				$('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').removeClass('destroyed').mCustomScrollbarDeferred({
8					mouseWheel: {
9						scrollAmount: 150,
10						preventDefault: true
11					}
12				})
13			} else {
14				$('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').addClass('destroyed').mCustomScrollbar('destroy')
15			}
16		}
17
18		// $(window).resize(throttle(scrollItemsType6, 200))
19		$(window).resize(debounce(scrollItemsType6, 200))
20	}
21
22	var containerEl = document.querySelector('.mixitup-container');
23	if(containerEl)
24	{
25		var config = {
26			selectors:{
27				target: '[data-ref="mixitup-target"]'
28			},
29			animation:{
30				effects: 'fade scale stagger(50ms)' // Set a 'stagger' effect for the loading animation
31			},
32			load:{
33				filter: 'none' // Ensure all targets start from hidden (i.e. display: none;)
34			},
35			animation:{
36				duration: 350
37			},
38			controls:{
39				scope: 'local'
40			},
41			callbacks: {
42				onMixStart:function(state) {
43				},
44				onMixEnd:function() {
45					InitLazyLoad();
46				}
47			}
48		};
49		var mixer = mixitup(containerEl, config);
50
51		// Add a class to the container to remove 'visibility: hidden;' from targets. This
52	    // prevents any flickr of content before the page's JavaScript has loaded.
53
54	    containerEl.classList.add('mixitup-ready');
55
56	    // Show all targets in the container
57
58	    mixer.show()
59		.then(function(){
60			// Remove the stagger effect for any subsequent operations
61			mixer.configure({
62				animation: {
63					effects: 'fade scale'
64				}
65			});
66		});
67	}
68
69})

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.