PageSourceSearch

https://icl-services.com/bitrix/templates/icl/js/subscr.js?22.4

js icl-services.com collected 2026-10-03 22:11:17 UTC 1,543 bytes, 43 lines download raw bytes

1if (typeof($) !== 'undefined') {
2	$(document).ready(function() {
3		$('#asd_subscribe_form').submit(function(event){
4			event.preventDefault(); // Предотвращаем стандартное поведение формы
5			
6			if ($('#asd_subscribe_form #asd_email').val() != "") {
7				var arPost = {};
8				var goal = $('#asd_subscribe_form input[name="analytics_goal"]').val(); // переменная с целью для аналитикса
9				
10				$.each($('#asd_subscribe_form input, #asd_subscribe_form select'), function() {
11					if ($(this).attr('type') != 'checkbox' || ($(this).attr('type') == 'checkbox' && $(this).is(':checked'))) {
12						arPost[$(this).attr('name')] = $(this).val();
13					}
14				});
15				
16				$('#asd_subscribe_submit').attr('disabled', 'disabled');
17				
18				$.post('/bitrix/components/asd/subscribe.quick.form/action.php', arPost, function(data) {
19					$('#asd_subscribe_submit').removeAttr('disabled');
20					
21					if (data.status == 'error') {
22						$('#asd_subscribe_res').css('color', 'red');
23						$("#asd_email").addClass("error");
24						$('#asd_subscribe_res').html(data.message);
25						$('#asd_subscribe_res').show();
26					} else {
27						$('#asd_subscribe_res').css('color', 'green');
28						$("#asd_email").removeClass("error");
29						$('#asd_subscribe_res').hide();
30						
31						$.fancybox.open($("#partnerok"));
32						
33						if (goal != '') {
34							sendAnalyticsGoal(goal);
35						}
36					}
37				}, 'json');
38			} else {
39				return false;
40			}
41		});
42	});
43}

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.