1 2; /* Start:"a:4:{s:4:"full";s:105:"/bitrix/templates/aspro-premier/components/bitrix/catalog.smart.filter/main/script.min.js?175637310520119";s:6:"source";s:85:"/bitrix/templates/aspro-premier/components/bitrix/catalog.smart.filter/main/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3function setHtmlToBlock(t,e){$(e).html($(t).find(e).html())}function JCSmartFilter(t,e,i){this.ajaxURL=t,this.form=null,this.timer=null,this.cacheKey="",this.cache=[],this.viewMode=e,this.ajaxMode=i.AJAX,i&&(this.params=i),i&&i.SEF_SET_FILTER_URL&&(this.bindUrlToButton("set_filter",i.SEF_SET_FILTER_URL),this.sef=!0),i&&i.SEF_DEL_FILTER_URL&&this.bindUrlToButton("del_filter",i.SEF_DEL_FILTER_URL)}$(document).ready((function(){input_numeric(".bx_filter input[type=text]"),$(document).on("click",".btn-link-text.bx_filter_search_reset",(function(t){$(this).addClass("hidden"),$(".bx_filter_search_reset.btn").click()}))})),JCSmartFilter.prototype.keyup=function(t){this.timer&&clearTimeout(this.timer),$(t).hasClass("disabled")||(this.timer=setTimeout(BX.delegate((function(){this.reload(t)}),this),500))},JCSmartFilter.prototype.click=function(t){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(BX.delegate((function(){this.reload(t)}),this),500)},JCSmartFilter.prototype.reload=function(t){if(""!==this.cacheKey)return this.timer&&clearTimeout(this.timer),void(this.timer=setTimeout(BX.delegate((function(){this.reload(t)}),this),1e3));this.cacheKey="|";var e;if(e=$(t).closest(".bx_filter_select_container").length,this.position_input=0,this.label_input=$("label[for="+$(t).attr("id")+"]"),e&&(this.label_input=$(t).closest(".bx_filter_select_container")),this.label_input.length&&(this.position_input=this.label_input.offset().top-$(t).closest(".bx_filter_parameters_box").offset().top,this.label_input.hasClass("nab")&&(this.position_input+=7),e&&(this.position_input+=10)),this.position=BX.pos(t,!0),this.form=BX.findParent(t,{tag:"form"}),this.form){var i=[];i[0]={name:"ajax",value:"y"},this.gatherInputsValues(i,BX.findChildren(this.form,{tag:new RegExp("^(input|select)$","i")},!0)),$(".bx_filter_parameters_box").removeClass("set");for(var r=0;r<i.length;r++)this.cacheKey+=i[r].name+":"+i[r].value+"|",$("input[name="+i[r].name+"]").closest(".bx_filter_parameters_box").addClass("set");if(this.cache[this.cacheKey])this.curFilterinput=t,this.postHandler(this.cache[this.cacheKey],!0);else{if(this.sef)BX("set_filter").disabled=!0;this.curFilterinput=t,BX.ajax.loadJSON(this.ajaxURL,this.values2post(i),BX.delegate(this.postHandler,this))}}},JCSmartFilter.prototype.updateItem=function(t,e){if("N"===e.PROPERTY_TYPE||e.PRICE){var i=window["trackBar"+t];!i&&e.ENCODED_ID&&(i=window["trackBar"+e.ENCODED_ID]),i&&e.VALUES&&(e.VALUES.MIN&&(e.VALUES.MIN.FILTERED_VALUE?i.setMinFilteredValue(e.VALUES.MIN.FILTERED_VALUE):i.setMinFilteredValue(e.VALUES.MIN.VALUE)),e.VALUES.MAX&&(e.VALUES.MAX.FILTERED_VALUE?i.setMaxFilteredValue(e.VALUES.MAX.FILTERED_VALUE):i.setMaxFilteredValue(e.VALUES.MAX.VALUE)))}else if(e.VALUES)for(var r in e.VALUES)if(e.VALUES.hasOwnProperty(r)){var s=e.VALUES[r],l=BX(s.CONTROL_ID);if(l){var n=document.querySelector('[data-role="label_'+s.CONTROL_ID+'"]');input=document.querySelector('[id="'+s.CONTROL_ID+'"]'),s.DISABLED?n?(BX.addClass(n,"disabled"),input&&(input.setAttribute("disabled","disabled"),BX.addClass(input,"disabled"))):BX.addClass(l.parentNode,"disabled"):n?(BX.removeClass(n,"disabled"),input&&(input.removeAttribute("disabled"),BX.removeClass(input,"disabled"))):BX.removeClass(l.parentNode,"disabled"),s.hasOwnProperty("ELEMENT_COUNT")&&(n=document.querySelector('[data-role="count_'+s.CONTROL_ID+'"]'))&&(n.innerHTML=s.ELEMENT_COUNT)}}},JCSmartFilter.prototype.filterCatalog=function(t,e,i,r){window.History.enabled||null!=window.history.pushState?window.history.pushState(null,document.title,t):location.href=t,$(".js-load-wrapper .ajax_load").length&&$(".js-load-wrapper .ajax_load").addClass("loading-state-before"),$.ajax({url:t,type:"GET",data:{ajax_get:"Y",ajax_get_filter:"Y"},success:function(t){if(setHtmlToBlock(t,".top-content-block"),i?(setHtmlToBlock(t,".js-load-wrapper"),setHtmlToBlock(t,".sidearea .smartfilter")):(setHtmlToBlock(t,".js-load-wrapper .inner_wrapper"),setHtmlToBlock(t,".filter-panel__sort"),setHtmlToBlock(t,".toggle-panel")),$(t).find(".filter_title").hasClass("active-filter")?($(".filter_title").addClass("active-filter"),$(".bx_filter_search_reset ").removeClass("hidden")):($(".filter_title").removeClass("active-filter"),$(".bx_filter_search_reset ").addClass("hidden")),i&&$("#mobilefilter .bx_filter").length&&($("#mobilefilter").html(""),$(t).find(".bx_filter").appendTo($("#mobilefilter")),$("#mobilefilter .bx_filter_parameters").addClass("scrollbar"),mobileFilterNum($(".bottom_nav").data("c
3ount"))),smartFilter.params&&smartFilter.params.SEF_SET_FILTER_URL&&smartFilter.bindUrlToButton("set_filter",smartFilter.params.SEF_SET_FILTER_URL),smartFilter.params&&smartFilter.params.SEF_DEL_FILTER_URL&&smartFilter.bindUrlToButton("del_filter",smartFilter.params.SEF_DEL_FILTER_URL),"function"==typeof checkVisibleProps&&checkVisibleProps(),$(".fast_view_frame").remove(),BX.onCustomEvent("onAjaxSuccessFilter"),"Y"==e){var r=BX("set_filter"),s=BX("del_filter");r&&(r.disabled=!1),s&&(s.disabled=!1)}BX.onCustomEvent("onCompleteAction",[{action:"jsLoadBlock"},this]),$(".js-load-wrapper .ajax_load").length&&$(".js-load-wrapper .ajax_load").removeClass("loading-state-before")}})},JCSmartFilter.prototype.postHandler=function(t,e){var i,r,s=BX("modef"),l=BX("modef_mobile"),n=BX("modef_num"),a=BX("modef_num_mobile");if(t&&t.ITEMS){for(var o in t.ITEMS)t.ITEMS.hasOwnProperty(o)&&this.updateItem(o,t.ITEMS[o]);s&&n&&(this.position_input?$("#modef").css({top:this.position_input}):$("#modef").css({top:"auto"}),n.innerHTML=t.ELEMENT_COUNT,a.innerHTML=t.ELEMENT_COUNT,i=BX.findChildren(s,{tag:"A"},!0),hrefFILTER_mobile=BX.findChildren(l,{tag:"A"},!0),"function"==typeof mobileFilterNum&&mobileFilterNum(i[0].innerText,!0),t.FILTER_URL&&i&&(i[0].href=BX.util.htmlspecialcharsback(t.FILTER_URL.replace("/filter/clear/apply/","/")),hrefFILTER_mobile[0].href=BX.util.htmlspecialcharsback(t.FILTER_URL.replace("/filter/clear/apply/","/"))),t.FILTER_AJAX_URL&&t.COMPONENT_CONTAINER_ID&&(BX.unbindAll(i[0]),BX.unbindAll(hrefFILTER_mobile[0]),BX.bind(i[0],"click",(function(e){return r=BX.util.htmlspecialcharsback(t.FILTER_AJAX_URL),BX.ajax.insertToNode(r,t.COMPONENT_CONTAINER_ID),BX.PreventDefault(e)}))),t.INSTANT_RELOAD&&t.COMPONENT_CONTAINER_ID?(r=BX.util.htmlspecialcharsback(t.FILTER_AJAX_URL),BX.ajax.insertToNode(r,t.COMPONENT_CONTAINER_ID)):(r=BX.util.htmlspecialcharsback(t.FILTER_AJAX_URL),this.ajaxMode?this.filterCatalog(r,"N",this.reset,t.ELEMENT_COUNT):("none"===s.style.display&&(s.style.display="inline-block",l.style.display="inline-block"),$("#set_filter").removeClass("hidden"),"VERTICAL"==this.viewMode&&BX.findChild(BX.findParent(this.curFilterinput,{class:"bx_filter_parameters_box"}),{class:"bx_filter_container_modef"},!0,!1).appendChild(s)),t.SEF_SET_FILTER_URL&&this.bindUrlToButton("set_filter",t.SEF_SET_FILTER_URL)))}this.sef&&(BX("set_filter").disabled=!1);e||""===this.cacheKey||(this.cache[this.cacheKey]=t),this.cacheKey="",void 0!==window.FilterHelper&&FilterHelper.apply()},JCSmartFilter.prototype.bindUrlToButton=function(t,e){var i=BX(t);if(i){"submit"==i.type&&(i.type="button"),i.dataset.url=e,BX.unbindAll(i),BX.bind(i,"click",BX.proxy((function(){const t=i.dataset.url;return this.ajaxMode?"del_filter"===i.id&&this.filterCatalog(t,"Y","Y"):window.location.href=t,!1}),this))}},JCSmartFilter.prototype.gatherInputsValues=function(t,e){if(e)for(var i=0;i<e.length;i++){var r=e[i];if(r.type)switch(r.type.toLowerCase()){case"text":case"number":case"textarea":case"password":case"hidden":case"select-one":r.value.length&&(t[t.length]={name:r.name,value:r.value});break;case"radio":case"checkbox":r.checked&&(t[t.length]={name:r.name,value:r.value});break;case"select-multiple":for(var s=0;s<r.options.length;s++)r.options[s].selected&&(t[t.length]={name:r.name,value:r.options[s].value});break;default:break}}},JCSmartFilter.prototype.values2post=function(t){for(var e=[],i=e,r=0;r<t.length;){var s=t[r].name.indexOf("[");if(-1==s)i[t[r].name]=t[r].value,i=e,r++;else{var l=t[r].name.substring(0,s),n=t[r].name.substring(s+1);i[l]||(i[l]=[]);var a=n.indexOf("]");-1==a?(i=e,r++):0==a?(i=i[l],t[r].name=""+i.length):(i=i[l],t[r].name=n.substring(0,a)+n.substring(a+1))}}return e},JCSmartFilter.prototype.hideFilterProps=function(t){var e=t.parentNode,i=e.querySelector("[data-role='bx_filter_block']"),r=e.querySelector("[data-role='prop_angle']");if(BX.hasClass(e,"bx-active"))new BX.easing({duration:300,start:{opacity:1,height:i.offsetHeight},finish:{opacity:0,height:0},transition:BX.easing.transitions.quart,step:function(t){i.style.opacity=t.opacity,i.style.height=t.height+"px"},complete:function(){i.setAttribute("style",""),BX.removeClass(e,"bx-active")}}).animate(),BX.addClass(r,"fa-angle-down"),BX.removeClass(r,"fa-angle-up");else{i.style.display="block",i.style.opacity=0,i.style.height="auto";var s=i.offsetHeight;i.style.height=0,new BX.easing({duration:300,start:{opacity:0,height:0},finish:{opacity:1,height:s},transition:BX.easing.transitions.quart,step:function(t){i.style.opacity=t.opacity,i.style.height=t.height+"px"},complete:function(){}}).animate(),BX.addClass(e,"bx-active"),BX.removeClass(r,"fa-angle-down"),BX.addClass(r,"fa-angle-up")}},JCSmartFilter.prototype.showDropDownPopup=function(t,e){var i=t.querySelector('[data-role="dropdownContent"]');$(t).offset();BX.PopupWindowManager.create("smartFilterDropDown"+e,t,{autoHide:!0,offsetLeft:0,offsetTop:0,overlay:!1,draggable:{restrict:!0},closeByEsc:!0,content:i}).show(),$("#smartFilterDropDown"+e).insertAfter($(t).closest(".bx_filter_parameters_box_container")),$("#smartFilterDropDown"+e).addClass("dropdown-menu-wrapper dropdown-menu-wrapper--woffset").css({top:"auto",left:"auto"}),$("#smartFilterDropDown"+e+" .popup-window-content").addClass("dropdown-menu-inner rounded-x scrollbar scrolled ")},JCSmartFilter.prototype.selectDropDownItem=function(t,e){BX.hasClass(t,"disabled")||(this.keyup(BX(e)),BX.findParent(BX(e),{className:"bx_filter_select_container"},!1).querySelector('[data-role="currentOption"]').innerHTML=t.innerHTML,$(t).closest(".bx_filter_select_popup").find("label").removeClass("dropdown-menu-item--current active"),BX.addClass(t,"dropdown-menu-item--current active"),BX.PopupWindowManager.getCurrentPopup()&&BX.PopupWindowManager.getCurrentPopup().close())},BX.namespace("BX.Iblock.SmartFilter"),BX.Iblock.SmartFilter=function(){var t=function(t){"object"==typeof t&&(this.leftSlider=BX(t.leftSlider),this.rightSlider=BX(t.rightSlider),this.tracker=BX(t.tracker),this.trackerWrap=BX(t.trackerWrap),this.minInput=BX(t.minInputId),this.maxInput=BX(t.maxInputId),this.minPrice=parseFloat(t.minPrice),this.maxPrice=parseFloat(t.maxPrice),this.curMinPrice=parseFloat(t.curMinPrice),this.curMaxPrice=parseFloat(t.curMaxPrice),this.fltMinPrice=t.fltMinPrice?parseFloat(t.fltMinPrice):parseFloat(t.curMinPrice),this.fltMaxPrice=t.fltMaxPrice?parseFloat(t.fltMaxPrice):parseFloat(t.curMaxPrice),this.precision=t.precision||0,this.priceDiff=this.maxPrice-this.minPrice,this.leftPercent=t.leftPercent?parseFloat(t.leftPercent):0,this.rightPercent=t.rightPercent?parseFloat(t.rightPercent):0,this.fltMinPercent=0,this.fltMaxPercent=0,this.colorUnavailableActive=BX(t.colorUnavailableActive),this.colorAvailableActive=BX(t.colorAvailableActive),this.colorAvailableInactive=BX(t.colorAvailableInactive),this.isTouch=!1,this.init(),"ontouchstart"in document.documentElement||"ontouchstart"in window?(this.isTouch=!0,BX.bind(this.leftSlider,"touchstart",BX.proxy((function(t){this.onMoveLeftSlider(t)}),this)),BX.bind(this.rightSlider,"touchstart",BX.proxy((function(t){this.onMoveRightSlider(t)}),this)),BX.bind(this.colorAvailableActive,"touchstart",BX.proxy((function(t){this.onChangeLeftSlider(t)}),this)),BX.bind(this.colorUnavailableActive,"touchstart",BX.proxy((function(t){this.onChangeLeftSlider(t)}),this)),BX.bind(this.colorAvailableInactive,"touchstart",BX.proxy((function(t){this.onChangeLeftSlider(t)}),this))):(BX.bind(this.leftSlider,"mousedown",BX.proxy((function(t){this.onMoveLeftSlider(t)}),this)),BX.bind(this.rightSlider,"mousedown",BX.proxy((function(t){this.onMoveRightSlider(t)}),this)),BX.bind(this.colorAvailableActive,"mousedown",BX.proxy((function(t){this.onChangeLeftSlider(t)}),this)),BX.bind(this.colorUnavailableActive,"mousedown",BX.proxy((function(t){this.onChangeLeftSlider(t)}),this)),BX.bind(this.colorAvailableInactive,"mousedown",BX.proxy((function(t){this.onChangeLeftSlider(t)}),this))),BX.bind(this.minInput,"keyup",BX.proxy((function(t){this.onInputChange()}),this)),BX.bind(this.maxInput,"keyup",BX.proxy((function(t){this.onInputChange()}),this)))};return t.prototype.init=function(){var t;this.curMinPrice>this.minPrice&&(t=this.curMinPrice-this.minPrice,this.leftPercent=100*t/this.priceDiff,this.leftSlider.style.left=this.leftPercent+"%",this.colorUnavailableActive.style.left=this.leftPercent+"%"),this.setMinFilteredValue(this.fltMinPrice),this.curMaxPrice<this.maxPrice&&(t=this.maxPrice-this.curMaxPrice,this.rightPercent=100*t/this.priceDiff,this.rightSlider.style.right=this.rightPercent+"%",this.colorUnavailableActive.style.right=this.rightPercent+"%"),this.setMaxFilteredValue(this.fltMaxPrice),"function"==typeof asproFilterHelper&&(window.FilterHelper=new asproFilterHelper(this,!0),FilterHelper.show())},t.prototype.setMinFilteredValue=function(t){if(this.fltMinPrice=parseFloat(t),this.fltMinPrice>=this.minPrice){var e=this.fltMinPrice-this.minPrice;this.fltMinPercent=100*e/this.priceDiff,this.leftPercent>this.fltMinPercent?this.colorAvailableActive.style.left=this.leftPercent+"%":this.colorAvailableActive.style.left=this.fltMinPercent+"%",this.colorAvailableInactive.style.left=this.fltMinPercent+"%"}else this.colorAvailableActive.style.left="0%",this.colorAvailableInactive.style.left="0%"},t.prototype.setMaxFilteredValue=function(t){if(this.fltMaxPrice=parseFloat(t),this.fltMaxPrice<=this.maxPrice){var e=this.maxPrice-this.fltMaxPrice;this.fltMaxPercent=100*e/this.priceDiff,this.rightPercent>this.fltMaxPercent?this.colorAvailableActive.style.right=this.rightPercent+"%":this.colorAvailableActive.style.right=this.fltMaxPercent+"%",this.colorAvailableInactive.style.right=this.fltMaxPercent+"%"}else this.colorAvailableActive.style.right="0%",this.colorAvailableInactive.style.right="0%"},t.prototype.getXCoord=function(t){var e=t.getBoundingClientRect(),i=document.body,r=document.documentElement,s=window.pageXOffset||r.scrollLeft||i.scrollLeft,l=r.clientLeft||i.clientLeft||0,n=e.left+s-l;return Math.round(n)},t.prototype.getPageX=function(t){t=t||window.event;var e=null;if(this.isTouch&&null!=t.targetTouches[0])e=t.targetTouches[0].pageX;else if(null!=t.pageX)e=t.pageX;else if(null!=t.clientX){var i=document.documentElement,r=document.body;e=t.clientX+(i.scrollLeft||r&&r.scrollLeft||0),e-=i.clientLeft||0}return e},t.prototype.recountMinPrice=function(){var t=this.priceDiff*this.leftPercent/100;(t=(this.minPrice+t).toFixed(this.precision))!=this.minPrice?this.minInput.value=t:this.minInput.value="",smartFilter.keyup(this.minInput)},t.prototype.recountMaxPrice=function(){var t=this.priceDiff*this.rightPercent/100;(t=(this.maxPrice-t).toFixed(this.precision))!=this.maxPrice?this.maxInput.value=t:this.maxInput.value="",smartFilter.keyup(this.maxInput)},t.prototype.onInputChange=function(){var t;if(this.minInput.value){var e=this.minInput.value;e<this.minPrice&&(e=this.minPrice),e>this.maxPrice&&(e=this.maxPrice),t=e-this.minPrice,this.leftPercent=100*t/this.priceDiff,this.makeLeftSliderMove(!1)}if(this.maxInput.value){var i=this.maxInput.value;i<this.minPrice&&(i=this.minPrice),i>this.maxPrice&&(i=this.maxPrice),t=this.maxPrice-i,this.rightPercent=100*t/this.priceDiff,this.makeRightSliderMove(!1)}},t.prototype.makeLeftSliderMove=function(t){t=!1!==t,this.leftSlider.style.left=this.leftPercent+"%",this.colorUnavailableActive.style.left=this.leftPercent+"%";var e=!1;this.leftPercent+this.rightPercent>=100&&(e=!0,this.rightPercent=100-this.leftPercent,this.rightSlider.style.right=this.rightPercent+"%",this.colorUnavailableActive.style.right=this.rightPercent+"%"),this.leftPercent>=this.fltMinPercent&&this.leftPercent<=100-this.fltMaxPercent?(this.colorAvailableActive.style.left=this.leftPercent+"%",e&&(this.colorAvailableActive.style.right=100-this.leftPercent+"%")):this.leftPercent<=this.fltMinPercent?(this.colorAvailableActive.style.left=this.fltMinPercent+"%",e&&(this.colorAvailableActive.style.right=100-this.fltMinPercent+"%")):this.leftPercent>=this.fltMaxPercent&&(this.colorAvailableActive.style.left=100-this.fltMaxPercent+"%",e&&(this.colorAvailableActive.style.right=this.fltMaxPercent+"%")),t&&(this.recountMinPrice(),e&&this.recountMaxPrice())},t.prototype.countNewLeft=function(t){var e=this.getPageX(t),i=this.getXCoord(this.trackerWrap),r=this.trackerWrap.offsetWidth,s=e-i;return s<0?s=0:s>r&&(s=r),s},t.prototype.onMoveLeftSlider=function(t){if(this.isTouch||(this.leftSlider.ondragstart=function(){return!1}),$(".bx_filter .bx_filter_parameters_box_container input").prop("disabled",!1),this.isTouch){var e=BX.proxy((function(t){this.leftPercent=100*this.countNewLeft(t)/this.trackerWrap.offsetWidth,this.makeLeftSliderMove()}),this),i=BX.proxy((function(t){window.removeEventListener("touchmove",e,!1),window.removeEventListener("touchend",i,!1),e=i=null}),this);window.addEventListener("touchmove",e,!1),window.addEventListener("touchend",i,!1)}else document.onmousemove=BX.proxy((function(t){this.leftPercent=100*this.countNewLeft(t)/this.trackerWrap.offsetWidth,this.makeLeftSliderMove()}),this),document.onmouseup=function(){document.onmousemove=document.onmouseup=null};return!1},t.prototype.makeRightSliderMove=function(t){t=!1!==t,this.rightSlider.style.right=this.rightPercent+"%",this.colorUnavailableActive.style.right=this.rightPercent+"%";var e=!1;this.leftPercent+this.rightPercent>=100&&(e=!0,this.leftPercent=100-this.rightPercent,this.leftSlider.style.left=this.leftPercent+"%",this.colorUnavailableActive.style.left=this.leftPercent+"%"),100-this.rightPercent>=this.fltMinPercent&&this.rightPercent>=this.fltMaxPercent?(this.colorAvailableActive.style.right=this.rightPercent+"%",e&&(this.colorAvailableActive.style.left=100-this.rightPercent+"%")):this.rightPercent<=this.fltMaxPercent?(this.colorAvailableActive.style.right=this.fltMaxPercent+"%",e&&(this.colorAvailableActive.style.left=100-this.fltMaxPercent+"%")):100-this.rightPercent<=this.fltMinPercent&&(this.colorAvailableActive.style.right=100-this.fltMinPercent+"%",e&&(this.colorAvailableActive.style.left=this.fltMinPercent+"%")),t&&(this.recountMaxPrice(),e&&this.recountMinPrice())},t.prototype.onMoveRightSlider=function(t){if(this.isTouch||(this.rightSlider.ondragstart=function(){return!1}),$(".bx_filter .bx_filter_parameters_box_container input").prop("disabled",!1),this.isTouch){var e=BX.proxy((function(t){this.rightPercent=100-100*this.countNewLeft(t)/this.trackerWrap.offsetWidth,this.makeRightSliderMove()}),this),i=BX.proxy((function(t){window.removeEventListener("touchmove",e,!1),window.removeEventListener("touchend",i,!1),e=i=null}),this);window.addEventListener("touchmove",e,!1),window.addEventListener("touchend",i,!1)}else document.onmousemove=BX.proxy((function(t){this.rightPercent=100-100*this.countNewLeft(t)/this.trackerWrap.offsetWidth,this.makeRightSliderMove()}),this),document.onmouseup=function(){document.onmousemove=document.onmouseup=null};return!1},t.prototype.onChangeLeftSlider=function(t){if(this.isTouch||(this.leftSlider.ondragstart=function(){}),this.isTouch){e=100*this.countNewLeft(t)/this.trackerWrap.offsetWidth;if($(t.target).is(".bx_ui_slider_handle"))return;e<50?(this.leftPercent=e,this.makeLeftSliderMove()):(this.rightPercent=100-e,this.makeRightSliderMove())}else{var e=100*this.countNewLeft(event)/this.trackerWrap.offsetWidth;if($(event.target).is(".bx_ui_slider_handle")||!$(event.target).is("[class^=bx_ui_slider]"))return;e<50?(this.leftPercent=e+1,this.makeLeftSliderMove()):(this.rightPercent=100-e,this.makeRightSliderMove()),document.onmouseup=function(){document.onmousemove=document.onmouseup=null}}return!1},t}(); 4/* End */ 5; 6; /* Start:"a:4:{s:4:"full";s:81:"/bitrix/templates/aspro-premier/js/conditional/input_numeric.min.js?1756373105718";s:6:"source";s:63:"/bitrix/templates/aspro-premier/js/conditional/input_numeric.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 7function input_numeric(e,t){if(!e)return;try{Array.from(document.querySelectorAll(e),(e=>e.nodeType===e.ELEMENT_NODE&&e instanceof HTMLInputElement&&e)).forEac
7h((function(e){["input","keydown","keyup","mousedown","mouseup","select","contextmenu","drop","focusout"].forEach((function(t){e.addEventListener(t,n)}))}))}catch(e){}function n(e){if(i.test(this.value))this.oldValue=this.value,this.oldSelectionStart=this.selectionStart,this.oldSelectionEnd=this.selectionEnd;else if(this.oldValue)this.value=this.oldValue,this.setSelectionRange(this.oldSelectionStart,this.oldSelectionEnd);else{const e=parseFloat(this.value);Number.isNaN(e)?this.value="":this.value=e}}let i=/^-?\d*[.,]?\d*$/;t&&t instanceof RegExp&&(i=t)} 8/* End */ 9; 10; /* Start:"a:4:{s:4:"full";s:72:"/bitrix/templates/aspro-premier/js/conditional/hint.min.js?1756373105515";s:6:"source";s:58:"/bitrix/templates/aspro-premier/js/conditional/hint.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 11$(document).ready((function(){$("html, body").on("mousedown",(function(e){"string"==typeof e.target.className&&e.target.className.indexOf("adm")<0&&(e.stopPropagation(),$(e.target).closest(".hint.active").length||$(".hint.active .hint__icon").trigger("click"))})),$(document).on("click",".hint",(function(e){let _this=$(this),target=e.target;e.stopImmediatePropagation(),"A"!==target.tagName&&e.preventDefault(),target.closest(".tooltip")||_this.toggleClass("active").find(".tooltip").stop().slideToggle(200)}))})); 12/* End */ 13;; /* /bitrix/templates/aspro-premier/components/bitrix/catalog.smart.filter/main/script.min.js?175637310520119*/ 14; /* /bitrix/templates/aspro-premier/js/conditional/input_numeric.min.js?1756373105718*/ 15; /* /bitrix/templates/aspro-premier/js/conditional/hint.min.js?1756373105515*/
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.