PageSourceSearch

https://lana1.ru/bitrix/cache/js/s1/aspro-medc2/page_b6aff5b6927f1…7f140b40a118eb2afedfda_v1.js?17860949184822

js lana1.ru collected 2026-09-28 18:56:28 UTC 4,822 bytes, 135 lines download raw bytes

1
2; /* Start:"a:4:{s:4:"full";s:81:"/bitrix/templates/aspro-medc2/components/bitrix/menu/left/script.js?1678781869176";s:6:"source";s:67:"/bitrix/templates/aspro-medc2/components/bitrix/menu/left/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
3$(document).ready(function(){
4	$('.side-menu .arrow').on('click', function(e){
5		console.log(123);
6		e.preventDefault();
7		openerFunc($(this), '>.hidden-block');
8	});
9});
10/* End */
11;
12; /* Start:"a:4:{s:4:"full";s:105:"/bitrix/templates/aspro-medc2/components/bitrix/news.list/elements-list-1-custom/script.js?17793822603882";s:6:"source";s:90:"/bitrix/templates/aspro-medc2/components/bitrix/news.list/elements-list-1-custom/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
13$(document).ready(function(){
14	if($('.galery-block .flexslider .item').length)
15	{
16		$('.galery-block .flexslider .item').sliceHeight({lineheight: -3});
17		if($('.galery #carousel').length)
18		{
19			$('.galery #carousel').flexslider({
20				animation: 'slide',
21				controlNav: false,
22				animationLoop: true,
23				slideshow: false,
24				itemWidth: 77,
25				itemMargin: 7.5,
26				minItems: 2,
27				maxItems: 4,
28				asNavFor: '.galery #slider'
29			});
30		}
31	}
32	if($('.docs-block .blocks').length)
33		$('.docs-block .blocks .inner-wrapper').sliceHeight({'row': '.blocks', 'item': '.inner-wrapper'});
34	if($('.projects.item-views').length)
35	{
36		$('.projects.item-views .item .image').sliceHeight({lineheight: -3});
37		$('.projects.item-views .item').sliceHeight();
38	}
39
40	$('.switch_gallery').on('click', function(){
41		var $this = $(this),
42			animationTime = 200;
43
44		if(!$this.hasClass('small')){
45			$this.addClass('small');
46			$this.closest('.galerys-block').find('.title.big-gallery').fadeOut(animationTime, function(){
47				$this.closest('.galerys-block').find('.title.small-gallery').fadeIn(animationTime);
48			});
49
50			$this.closest('.galerys-block').find('.big-gallery-block').fadeOut(animationTime, function(){
51				$this.closest('.galerys-block').find('.small-gallery-block').fadeIn(animationTime);
52			});
53		}
54		else{
55			$this.removeClass('small');
56			$this.closest('.galerys-block').find('.title.small-gallery').fadeOut(animationTime, function(){
57				$this.closest('.galerys-block').find('.title.big-gallery').fadeIn(animationTime);
58			});
59
60			$this.closest('.galerys-block').find('.small-gallery-block').fadeOut(animationTime, function(){
61				$this.closest('.galerys-block').find('.big-gallery-block').fadeIn(animationTime);
62			});
63
64			if(!$this.closest('.galerys-block').hasClass('initFlexslider')){
65				setTimeout(function(){
66					InitFlexSlider();
67				}, 300);
68
69				$this.closest('.galerys-block').addClass('initFlexslider');
70			}
71		}
72	});
73
74	$('.galerys-block').find('.big-gallery-block.flexslider')
75
76	$('.galerys-block .small-gallery-block .item').on('click', function(){
77		var $this = $(this),
78			index = $this.parent().index();
79
80		$this.closest('.galerys-block').find('.switch_gallery').click();
81
82		setTimeout(function(){
83			$this.closest('.galerys-block').find('.big-gallery-block.flexslider').flexslider(index);
84		}, 300);
85	});
86
87	if($('.wraps.prices-block').length && $('.tab-pane#prices').length){
88		var pricesBlock = $('.wraps.prices-block').detach();
89		$('.tab-pane#prices .toggle-block').html(pricesBlock).find('.prices-block').show();
90	}
91
92	if($('.wraps.questions-block').length && $('.tab-pane#faq').length){
93		var pricesBlock = $('.wraps.questions-block').detach();
94		$('.tab-pane#faq .toggle-block').html(pricesBlock).find('.questions-block').show();
95	}
96
97	if($('.wraps.reviews-block').length && $('.tab-pane#reviews').length){
98		var pricesBlock = $('.wraps.reviews-block').detach();
99		$('.tab-pane#reviews .toggle-block').html(pricesBlock).find('.reviews-block').show();
100	}
101
102
103	var reinitReviews = false;
104	$('.tabs li a[href="#prices"], #prices .title-tab-heading').on('click', function(){
105		var $pricesItems = $(this).closest('.tabs').find('#prices .prices-block');
106
107		$(window).resize();
108		setTimeout(function(){
109			$pricesItems.css('opacity', 1);
110		}, 100);
111	})
112
113	$('.tabs li a[href="#reviews"], #reviews .title-tab-heading').on('click', function(){
114		var $flexslider = $(this).closest('.tabs').find('#reviews .flexslider .flex-viewport');
115
116		if(!reinitReviews){
117			$flexslider.css('opacity', '0').css('max-height', '300px');
118
119			setTimeout(function(){
120				$flexslider.css('opacity', '1').css('max-height', 'none');
121			}, 1000);
122
123			reinitReviews = true;
124		}
125		$(window).resize();
126		$flexslider.height('auto').closest('.reviews-block').css('opacity', 1);
127	});;
128
129	if (!$(".detail.services .order-block").length) {
130		$(".detailimage.image-wide").css({"margin-bottom":"51px"});
131	}
132});
133/* End */
134;; /* /bitrix/templates/aspro-medc2/components/bitrix/menu/left/script.js?1678781869176*/
135; /* /bitrix/templates/aspro-medc2/components/bitrix/news.list/elements-list-1-custom/script.js?17793822603882*/

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.