PageSourceSearch

https://major-watch.ru/bitrix/templates/aspro-lite-mobile/js/general.min.js?17461768598028

js major-watch.ru collected 2026-10-04 00:23:25 UTC 8,028 bytes, 1 lines download raw bytes

1const funcDefined=t=>{try{return"function"==typeof t||"function"==typeof window[t]}catch(t){return!1}},readyDOM=t=>{"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)},typeofExt=t=>Object.prototype.toString.call(t).slice(8,-1).toLowerCase(),throttle=(t,e)=>{let a,o,n;const r=function(){if(a)return o=this,void(n=arguments);a=!0,t.apply(this,arguments),setTimeout((function(){a=!1,n&&(r.apply(o,n),o=n=null)}),e)};return r},debounce=(t,e)=>function(a){var o=this.lastCall;this.lastCall=Date.now(),o&&this.lastCall-o<=e&&clearTimeout(this.lastCallTimer),this.lastCallTimer=setTimeout((function(){t(a)}),e)},InitFancyBox=()=>{},InitFancyBoxVideo=()=>{};function parseUrlQuery(){const t={};if(location.search){const e=location.search.substr(1).split("&");for(let a=0;a<e.length;a++){const o=e[a].split("=");t[o[0]]=o[1]}}return t}appAspro.loadScript=(t,e)=>{BX.loadScript(t,(function(){"function"==typeof e&&e()}))},appAspro.loadCSS=(t,e)=>{BX.loadCSS(t)},appAspro.addOverlay=(t="body",e="overlay")=>{if(!document.querySelector(`.${e}`)){const a=document.createElement("div");a.classList.add(e),document.querySelector(t).append(a),$("body").addClass("jqm-initied"),BX.onCustomEvent("onAddOverlay")}},appAspro.removeOverlay=(t="overlay")=>{const e=document.querySelector(`.${t}`);e&&(e.remove(),$("body").removeClass("jqm-initied"))},appAspro.closeOverlay=t=>{appAspro.headerPhones.close((()=>{appAspro.headerMenu.close(),appAspro.headerSearch.close(),BX.onCustomEvent("onCloseOverlay"),"function"==typeof t&&t()}))},$(document).on("click",".overlay",(function(t){appAspro.closeOverlay()})),$(document).on("click",".ajax_load_btn",(function(){let t=$(this).closest(".bottom_nav").find(".arrows-pagination__next").attr("href");const e=$(this).find(".more_text_ajax"),a=$(this);let o=$(this).closest(".bottom_nav");if(!e.hasClass("loadings")){e.addClass("loadings");const r=parseUrlQuery(),i={AJAX_REQUEST:"Y",ajax_get:"Y",bitrix_include_areas:"N"};"clear_cache"in r&&"Y"==r.clear_cache&&(i.clear_cache="Y");let s=e.closest(".drag-block");if(s.length){let e=s.data("class").replace("_drag","");if(e=e.replace(/\s/g,""),i.BLOCK=e,$jsParamsBlock=s[0].querySelector(".js-request-data"),$jsParamsBlock&&$jsParamsBlock.dataset.action){let e=new URL(window.location.origin+t);t=window.location.origin+$jsParamsBlock.dataset.action+e.search}}if(a.closest(".ajax-pagination-wrapper").length&&(i.BLOCK=a.closest(".ajax-pagination-wrapper").data("class")),$(".banners-small.front").length&&(i.MD=$(".banners-small.front").find(".items").data("colmd"),i.SM=$(".banners-small.front").find(".items").data("colsm")),a.closest(".tab-content-block").length){var n=e.closest(".tab-content-block").data("filter");i.GLOBAL_FILTER=n}$.ajax({url:t,data:BX.ajax.prepareData(i),success:function(t){t=t.trim();var a=o.hasClass("mobile_slider"),n=$(t).find(".bottom_nav.mobile_slider"),r=n.length?n:$(t).find(".bottom_nav"),i=r.html(),s=r.data("scroll-class"),c=$(t).find(".ajax_load_btn").length,l={action:"ajaxContentLoaded",content:t};if($(".banners-small.front").length)$(".banners-small .items.row").append(t),$(".bottom_nav").html($(".banners-small .items.row .bottom_nav").html()),$(".banners-small .items.row .bottom_nav").remove();else if(void 0!==o.data("append")&&void 0!==o.data("parent")){var d=e.closest(o.data("parent")).find(".owl-carousel");if(d.length){var p=BX.processHTML(t);t=p.HTML,$("<div>"+t+"</div>").find(">*").each((function(){$(this).hasClass("wrap_nav")||d.trigger("add.owl.carousel",[$(this).wrap("<div></div>").parent().html()])})),d.trigger("refresh.owl.carousel"),setTimeout((function(){BX.ajax.processScripts(p.SCRIPT)}),100)}else{var f=t;if(void 0!==o.data("target")&&(f=$(t).find(o.data("target"))),a||n.length){var m=e.closest(o.data("parent")).find(".bottom_nav.mobile_slider");m.length?m.before(f):o.before(f)}else e.closest(o.data("parent")).find(o.data("append")).append(f);e.closest(o.data("parent")).find(o.data("append")).find(".bottom_nav_wrapper").remove(),c?(void 0!==s&&e.closest(o.data("parent")).find(s).addClass("has-bottom-nav"),e.closest(o.data("parent")).find(o.data("append")).addClass("has-bottom-nav")):(void 0!==s&&e.closest(o.data("parent")).find(s).removeClass("has-bottom-nav"),e.closest(o.data("parent")).find(o.data("append")).removeClass("has-bottom-nav"))}o=e.closest(o.data("parent")).find(".bottom_nav"),o.html(i),o.find(".svg-inline-bottom_nav-icon").css("display",""),l.container=e.closest(o.data("parent"))}else $(t).insertBefore($(".blog .bottom_nav")),$(".bottom_nav").html($(".blog .bottom_nav:hidden").html()),$(".blog .bottom_nav:hidden").remove();setTimeout((function(){BX.onCustomEvent("onCompleteAction",[l,e[0]]),e.removeClass("loading")}),100)}})}})),$.fn.iAppear=function(t,e){if(void 0===$.fn.iAppear.useObserver&&($.fn.iAppear.useObserver="function"==typeof window.IntersectionObserver),$.fn.iAppear.useObserver){e=$.extend({root:null,rootMargin:"150px 0px 150px 0px",threshold:0},e);$(this).each((function(a,o){new IntersectionObserver((function(e,a){e.forEach((function(e){e.intersectionRatio>0&&!e.target.dataset.iAppeared&&(e.target.dataset.iAppeared=!0,"function"==typeof t&&t.call(e.target))}))}),e).observe(o)}))}},scrollToBlock=t=>{if($(t).length){scrollToBlock.last=t,void 0!==$(t).data("toggle")&&$(t).click();var e=-145;void 0!==$(t).data("offset")?e=$(t).data("offset"):"undefined"!=typeof arAsproOptions&&(e="Y"!==arAsproOptions.THEME.HEADER_MOBILE_FIXED||"ALWAYS"!==arAsproOptions.THEME.HEADER_MOBILE_SHOW?-43:-105,$(t).hasClass("drag-block")&&(e+=43)),e=$(t).offset().top+e,$("body").addClass("scrolling-state"),$("body, html").animate({scrollTop:e},500),setTimeout((function(){$("body").removeClass("scrolling-state")}),500)}},$(document).on("click",".print-link",(function(){window.print()})),BX.ready((()=>
1{if($(".js-load-block").length){var t=parseUrlQuery(),e=!1;"clear_cache"in t&&"Y"==t.clear_cache&&(e=!0);var a=[],o=!0,n=function(){if(o&&a.length){o=!1;var t=a.pop();t.content=$.trim(t.content),-1!==t.content.indexOf("/bitrix/js/main/core/core_window.")&&BX.WindowManager&&(t.content=t.content.replace(/<script src="\/bitrix\/js\/main\/core\/core_window\.[^>]*><\/script>/gm,"")),-1!==t.content.indexOf("/bitrix/js/currency/core_currency.")&&"object"==typeof BX.Currency&&BX.Currency.defaultFormat&&(t.content=t.content.replace(/<script src="\/bitrix\/js\/currency\/core_currency\.[^>]*><\/script>/gm,"")),-1!==t.content.indexOf("/bitrix/js/main/pageobject/pageobject.")&&BX.PageObject&&(t.content=t.content.replace(/<script src="\/bitrix\/js\/main\/pageobject\/pageobject\.[^>]*><\/script>/gm,"")),-1!==t.content.indexOf("/bitrix/js/main/polyfill/promise/js/promise.")&&void 0!==window.Promise&&-1!==window.Promise.toString().indexOf("[native code]")&&(t.content=t.content.replace(/<script src="\/bitrix\/js\/main\/polyfill\/promise\/js\/promise\.[^>]*><\/script>/gm,""));var e=BX.processHTML(t.content);t.block.removeAttr("data-file").removeClass("loader_circle"),t.block.data("appendTo")?t.block.find(t.block.data("appendTo"))[0].innerHTML=e.HTML:t.block.find('> div[id*="bx_incl_"]').length?t.block.find('> div[id*="bx_incl_"]')[0].innerHTML=e.HTML:t.block[0].innerHTML=e.HTML,BX.ajax.processScripts(e.SCRIPT);BX.onCustomEvent("onCompleteAction",[{action:"jsLoadBlock"},t.block]),o=!0,n()}};$(".js-load-block").iAppear((function(){var t=$(this);if(t.data("file")){var o=e?"?clear_cache=Y":"";t.data("block")&&(o+=(e?"&":"?")+"BLOCK="+t.data("block")),$.get(t.data("file")+o).done((function(e){a.push({block:t,content:e}),1==a.length&&setTimeout(n,100)}))}}),{rootMargin:"300px 0px 300px 0px",accX:0,accY:300})}$(".appear-block").iAppear((function(){$(this).removeClass("appear-block"),initSwiperSlider()})),$("table.table").each((function(){var t=$(this),e=t.find("thead tr th");e.length||(e=t.find("thead tr td")),e.length&&t.find("tbody tr:not(.nomobile)").each((function(t){$(this).find("td").each((function(t){void 0!==e[t]&&$('<div class="th-mobile">'+e[t].textContent+"</div>").appendTo($(this))}))}))}))}));

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.