PageSourceSearch

https://zavod-burmash.ru/bitrix/templates/aspro_max/js/custom.js?17879052701981

js zavod-burmash.ru collected 2026-10-08 10:19:51 UTC 1,981 bytes, 59 lines download raw bytes

1/*
2You can use this file with your scripts.
3It will not be overwritten when you upgrade solution.
4*/
5
6//window.onerror = function (msg, url, line, col, exception) { BX.ajax.get('/ajax/error_log_logic.php', { data: { msg: msg, exception: exception, url: url, line: line, col: col } }); }
7
8function initCookies() {
9	$('.js-cookies-confirm').on('click', function (e) {
10		e.preventDefault();
11		$.cookie('site_cookies_agreement', 'Y', { path: '/' });
12		$('.js-cookies').remove();
13	});
14}
15
16$(document).ready(function(){
17	$(document).on('click', '.mobile_regions .city_item', function(e){
18		e.preventDefault();
19		var _this = $(this);
20		$.removeCookie('current_region');
21		$.cookie('current_region', _this.data('id'), {path: '/',domain: 'next.aspro-partner.ru'});
22	});
23
24	$(document).on('click', '.region_wrapper .more_item:not(.current) span', function(e){
25		$.removeCookie('current_region');
26		$.cookie('current_region', $(this).data('region_id'), {path: '/',domain: 'next.aspro-partner.ru'});
27	});
28
29	$(document).on('click', '.confirm_region .aprove', function(e){
30		var _this = $(this);
31		$.removeCookie('current_region');
32		$.cookie('current_region', _this.data('id'), {path: '/',domain: 'next.aspro-partner.ru'});
33	});
34
35	$(document).on('click', '.cities .item a', function(e){
36    	e.preventDefault();
37    	var _this = $(this);
38    	$.removeCookie('current_region');
39		$.cookie('current_region', _this.data('id'), {path: '/',domain: 'next.aspro-partner.ru'});
40    });
41
42    $(document).on('click', '.popup_regions .ui-menu a', function(e){
43    	e.preventDefault();
44    	var _this = $(this);
45    	var href = _this.attr('href')
46    	if(typeof arRegions !== 'undefined' && arRegions.length){
47	    	$.removeCookie('current_region');
48	    	for(i in arRegions){
49	    		var region = arRegions[i];
50	    		if(region.HREF == href){
51					$.cookie('current_region', region.ID, {path: '/',domain: 'next.aspro-partner.ru'});
52	    		}
53	    	}
54    	}
55		location.href = href;
56    });
57
58	initCookies();
59});

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.