PageSourceSearch

https://komplektadr.ru/bitrix/templates/aspro_max/js/blocks/blocks.min.js?17630191864838

js komplektadr.ru collected 2026-10-08 15:20:10 UTC 4,838 bytes, 1 lines download raw bytes

1function updateProgressBar(){let e="nodelist"===typeofExt(window.asproAllProgressBar)&&window.asproAllProgressBar;if(e&&e.length){let t=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),o=window.pageYOffset||document.documentElement.scrollTop,s=document.documentElement.clientHeight,i=Math.round(o/(t-s)*100);if(e.length)for(let t=0;t<e.length;t++)e[t].style.width=i+"%"}}InitMenuNavigationAim=function(){var e=$(".menu-navigation__sections-wrapper .menu-navigation__sections:not(.aim-init)");e.length&&(e.addClass("aim-init"),loadScripts(arAsproOptions.SITE_TEMPLATE_PATH+"/vendor/js/jquery.menu-aim.js",(function(){e.menuAim({firstActiveRow:!0,rowSelector:"> .menu-navigation__sections-item",activate:function(e){var t=$(e),o=t.index(),s=t.closest(".menu-navigation__sections-wrapper").next(),i=t.find("> a");t.siblings().find("> a").addClass("dark_link"),i.addClass("colored_theme_text").removeClass("dark_link"),s.find(".parent-items").siblings().hide(),s.find(".parent-items").eq(o).show()},deactivate:function(e){var t=$(e),o=(t.index(),t.closest(".menu-navigation__sections-wrapper").next());t.find("> a").removeClass("colored_theme_text").addClass("dark_link"),o.find(".parent-items").siblings().hide()}})})))},readyDOM((function(){window.asproAllProgressBar=document.querySelectorAll(".header-progress-bar__inner")})),$(document).ready((function(){$(document).on("click",".dropdown-select .dropdown-select__title",(function(){var e=$
1(this),t=e.parent().find("> .dropdown-select__list");BX.onCustomEvent("onCloseDropDown"),e.toggleClass("dropdown-select__title--opened",t.is(":hidden")),t.stop().slideToggle()})),$("html, body").on("mousedown",(function(e){e.target.className.toString().indexOf("adm")<0&&(e.stopPropagation(),$(e.target).closest(".dropdown-select").length||BX.onCustomEvent("onCloseDropDown"))})),BX.addCustomEvent("onCloseDropDown",(function(){$(".dropdown-select .dropdown-select__title").removeClass("dropdown-select__title--opened"),$(".dropdown-select__list:visible").stop().slideUp()})),$(document).on("click",".slide-block .slide-block__head",(function(e){var t=$(this),o=t.siblings(".slide-block__body"),s=o.is(":visible");if(!t.hasClass("clicked")&&o.length&&!t.hasClass("ignore")&&!$(e.target).attr("href")){var i=t.data("id");t.addClass("clicked"),s?$.cookie(i+"_CLOSED","Y"):$.removeCookie(i+"_CLOSED"),o.stop().slideToggle({duration:150,start:function(){t.toggleClass("closed")},complete:function(){t.removeClass("clicked"),void 0!==window.stickySidebar&&window.stickySidebar.updateSticky()}})}})),$(".switch-item-block .switch-item-block__icons").on("click",(function(){var e=$
1(this),t=200;e.hasClass("switch-item-block__icons--small")&&!e.hasClass("active")?(e.addClass("active"),e.siblings(".switch-item-block__icons--big").removeClass("active"),e.closest(".switch-item-block").find(".switch-item-block__count-wrapper--big").fadeOut(t,(function(){e.closest(".switch-item-block").find(".switch-item-block__count-wrapper--small").fadeIn(t)})),e.closest(".switch-item-block").siblings(".big-gallery-block").fadeOut(t,(function(){e.closest(".switch-item-block").siblings(".small-gallery-block").fadeIn(t)}))):e.hasClass("switch-item-block__icons--big")&&!e.hasClass("active")&&(e.addClass("active"),e.siblings(".switch-item-block__icons--small").removeClass("active"),e.closest(".switch-item-block").find(".switch-item-block__count-wrapper--small").fadeOut(t,(function(){e.closest(".switch-item-block").find(".switch-item-block__count-wrapper--big").fadeIn(t)})),e.closest(".switch-item-block").siblings(".small-gallery-block").fadeOut(t,(function(){e.closest(".switch-item-block").siblings(".big-gallery-block").fadeIn(t)}))),setTimeout((function(){InitLazyLoad()}),300)})),window.addEventListener("scroll",throttle(updateProgressBar,200)),$(".form-control:not(.eye-password-ignore) [type=password]").each((function(e){let t=$(this).closest(".form-control"),o=t.find(".label_block");o.length?o.addClass("eye-password"):t.addClass("eye-password")})),$(document).on("click",".eye-password:not(.eye-password-ignore)",(function(e){let t=this.querySelector("input");this.clientWidth-56<e.offsetX&&("password"==t.type?(t.type="text",this.classList.add("password-show")):"text"==t.type&&(t.type="password",this.classList.remove("password-show")))}))})),$(document).ready((function(){$(".phone.with_dropdown").hover((function(e){if(!$(this).closest(".mobileheader").length){let e=$(this).find(".dropdown");if(e.length){let t=e[0].getBoundingClientRect(),o=e.closest(".right_menu_block").length?28:48;t.right>document.body.clientWidth&&e.css("left",document.body.clientWidth-t.right-o+"px")}}}),(function(){$(this).find(".dropdown").css("left","")}))}));

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.