PageSourceSearch

https://vesta-decor.ru/bitrix/templates/aspro-priority2/js/blocks/controls.min.js?17556751515358

js vesta-decor.ru collected 2026-10-04 12:17:46 UTC 5,358 bytes, 1 lines download raw bytes

1function optBuyBasketAction(basketItems,itemsToNotice){const basketParams={type:"multiple",ajaxPost:"Y",action:"buy",items:[]};basketItems&&(basketParams.items=basketItems),basketParams.items.length&&$.ajax({url:arAsproOptions.SITE_DIR+"include/footer/basket.php",type:"POST",data:basketParams}).done((function(html){$(".ajax_basket").replaceWith(html),"undefined"==typeof JNoticeSurface?bBasketTop?($(".header-cart").addClass("opened"),"undefined"!=typeof headerCartHideTimer&&clearTimeout(headerCartHideTimer),headerCartHideTimer=setTimeout((function(){$(".header-cart").removeClass("opened")}),2e3)):bBasketFly&&setTimeout((function(){$(".ajax_basket").hasClass("opened")||$(".ajax_basket").addClass("opened")}),50):JNoticeSurface.get().onAdd2cart(itemsToNotice);var eventdata={action:"loadBasket"};BX.onCustomEvent("onCompleteAction",[eventdata,$(html)]),setBasketItemsClasses()}))}$(document).ready((function(){$(document).on("click",".dropdown-select .dropdown-select__title",(function(){var _this=$(this),menu=_this.parent().find("> .dropdown-select__list");_this.hasClass("clicked")||(_this.addClass("clicked"),_this.toggleClass("opened"),menu.stop().slideToggle(100,(function(){_this.removeClass("clicked")})))})),$(document).on("click",".dropdown-select__list .mixitup-item",(function(){var $select=$(this).closest(".dropdown-select");$select.find(".dropdown-select__title span").text($(this).text()),$select.find(".dropdown-select__title.opened").click()})),$("html, body").on("mousedown",(function(e){"string"==typeof e.target.className&&e.target.className.indexOf("adm")<0&&(e.stopPropagation(),$(".dropdown-select .dropdown-select__title.opened").each((function(){if(!$(this).closest("#mobilefilter").length){var $select=$(this).closest(".dropdown-select");$select.data("visible_by_class")&&$($select.data("visible_by_class")).is(":visible")||$(e.target).closest($select).length||$(this).click()}})))})),$(document).on("click",".hint__icon",(function(e){e.stopImmediatePropagation();var tooltipWrapp=$(this).closest(".hint");tooltipWrapp.hasClass("active")?tooltipWrapp.removeClass("active").find(".tooltip").slideUp(200):(tooltipWrapp.addClass("active"),tooltipWrapp.find(".tooltip").slideDown(200),tooltipWrapp.find(".tooltip_close").click((function(e){e.stopPropagation(),e.stopImmediatePropagation(),tooltipWrapp.removeClass("active").find(".tooltip").slideUp(100)}))),e.stopPropagation()}));const containerEl=document.querySelector(".mixitup-container");if(containerEl){var config,mixer=mixitup(containerEl,{selectors:{target:'[data-ref="mixitup-target"]'},animation:{effects:""},load:{filter:"none"},animation:{duration:350},controls:{scope:"local"},callbacks:{onMixStart:function(state){},onMixClick:function(state,event){let $item=event.target.children.length?event.target:event.target.parentElement;$($item).siblings().removeClass("color-theme head-block__item--active active"),$($item).addClass("color-theme head-block__item--active active")},onMixEnd:function(){}}});containerEl.classList.add("mixitup-ready"),mixer.show().then((function(){mixer.configure({animation:{effects:"fade scale"}})}))}$(".form-group:not(.eye-password-ignore) [type=password]").each((function(item){let passBlock=$(this).closest(".form-group"),labelBlock=passBlock.find(".label_block");labelBlock.length?labelBlock.addClass("eye-password"):passBlock.addClass("eye-password")})),$(document).on("click",".eye-password:not(.eye-password-ignore)",(function(event){let input=this.querySelector("input"),eyeWidth=56;this.clientWidth-56<event.offsetX&&("password"==input.type?(input.type="text",this.classList.add("password-show")):"text"==input.type&&(input.type="password",this.classList.remove("password-show")),event.stopPropagation())}))})),$(document).on("click",".gallery-view_switch__icons:not(.active)",(function(){var $this=$(this),animationTime=200,bSmall=$this.hasClass("gallery-view_switch__icons--small"),$switchGallery=$this.closest(".gallery-view_switch"),$bigGallery=($this.closest(".big_gallery").length?$this.closest(".big_gallery"):$this.closest(".gallery")).find(".gallery-big"),$b
1igGalleryCounter=$switchGallery.find(".gallery-view_switch__count-wrapper--big"),$smallGallery=($this.closest(".big_gallery").length?$this.closest(".big_gallery"):$this.closest(".gallery")).find(".gallery-small"),$smallGalleryCounter=$switchGallery.find(".gallery-view_switch__count-wrapper--small"),$toHideGallery=bSmall?$bigGallery:$smallGallery,$toHideGalleryCounter=bSmall?$bigGalleryCounter:$smallGalleryCounter,$toShowGallery=bSmall?$smallGallery:$bigGallery,$toShowGalleryCounter=bSmall?$smallGalleryCounter:$bigGalleryCounter;$this.addClass("active"),$this.siblings(".active").removeClass("active"),$toHideGalleryCounter.fadeOut(200,(function(){$toShowGalleryCounter.fadeIn(200)})),$toHideGallery.fadeOut(200,(function(){$toShowGallery.fadeIn(200)}))})),BX.addCustomEvent("onSlideChanges",(function(eventdata){if("slider"in eventdata&&eventdata.slider){const slider=eventdata.slider;slider&&slider.params&&"type"in slider.params&&"detail_bottom_gallery_big"===slider.params.type&&slider.pagination&&slider.pagination.bullets&&slider.pagination.bullets[slider.activeIndex]&&(slider.pagination.el.closest(".big_gallery").querySelector(".gallery-view_switch__count-wrapper--big .gallery-view_switch__count-value span").textContent=slider.activeIndex+1)}}));

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.