1window.Main=new function(){var e={isAndroid:document.documentElement.classList.contains("android"),isIOS:document.documentElement.classList.contains("ios"),isIE:document.documentElement.classList.contains("ie"),isMobile:document.documentElement.classList.contains("device-mobile"),isDesktop:document.documentElement.classList.contains("device-desktop"),isTablet:document.documentElement.classList.contains("device-tablet"),isLogged:document.body.classList.contains("is-logged"),isStaff:document.body.classList.contains("is-staff"),isBlocked:document.body.classList.contains("is-blocked")},t={checkAmountOfRecommendations:function(){0===$(".recommendation-list li:visible").length&&$("#recommendation-header").text("ÐÐµÑ Ð°ÐºÑÑалÑнÑÑ
ÑекомендаÑий")},isMobile:function(){return e.isMobile},isDesktop:function(){return e.isDesktop},isTablet:function(){return e.isTablet},isLogged:function(){return e.isLogged},isBlocked:function(){return e.isBlocked},isAndroid:function(){return e.isAndroid},isIOS:function(){return e.isIOS},isIE:function(){return e.isIE},isFirefox:function(){return window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1},getUtm:function(e){var t=window.location.search;return!!(t=t.match(new RegExp(e+"=([^&=]+)")))&&t[1]},scrollToElem:function(e,t,o,n){var i=document.querySelector("header").getBoundingClientRect().height+25;const c=document.querySelector("#partnershipBanner"),s=document.querySelector(".mbh"),a=c?c.offsetHeight:0,r=s?s.offsetHeight:0;o=o||0,n=n||i+a+r;var l=(t=t||!1)?".":"#",d=document.querySelector(l+e);setTimeout((function(){if(d){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,t=document.documentElement.clientTop||document.body.clientTop||0,o=d.getBoundingClientRect().top+e+t;$("html, body").animate({scrollTop:Math.round(o)-n},400)}}),o)},searchEmail:function(e,t){var o=e.split("@",2);return o.length<2||0===o[0].length||0===o[1].length?[]:t.filter((function(e){return null!==e.match(new RegExp("^"+o[1],"i"))})).map((function(e){return o[0]+"@"+e}))},accountToYandexId:function(){if(!e.isStaff&&e.isLogged&&"undefined"!=typeof ym&&"undefined"!=typeof Ya){var t=localStorage.getItem("_yid_timestamp");t&&Math.abs(new Date-new Date(t))<36e5||ym(Ya._metrika.getCounters()[0].id,"getClientID",(function(e){e&&$.ajax({url:"/rest/account-to-yandex-id/insert",type:"POST",data:{yandexId:e},success:function(e){localStorage.setItem("_yid_timestamp",(new Date).format("yyyy-mm-dd hh:MM:ss"))}})}))}}},o={immediately:function(){var e=!1;try{e=window!=window.top||document!=top.document||self.location!=top.location}catch(t){e=!0}if(e&&new String(document.referrer).match(/(vorslov\.ru|kocac\.ru)/i)){var t=JSON.stringify(document.referrer);o.rosCreateCookie("iframeRef",t)}},init:function(){o.scrollToGetEl(),o.detectDeltaScroll(),domIsReady=!0,e.isMobile&&(window.NoScroll=ne
1w noScrollWidgetTest),$(".client-query-list").length||$("body > div.container.main-screen-adaptive").removeClass("main-screen-adaptive"),o.checkAllHidden(),o.checkRecomendetAllHidden(),$(".cabinetDetails-hide").each((function(){$(this).click((function(e){setCookie($(this).closest(".cabinetDetails").attr("id"),"hide",2e7),o.checkAllHidden()}))})),$(".cabinetRecomendet-hide").each((function(){$(this).click((function(e){setCookie($(this).closest(".cabinetRecomendet").attr("id"),"hide",2e7),o.checkRecomendetAllHidden()}))})),$(".id-autocomplete-kwd").attr("autocomplete","off"),void 0!==$.datepicker&&null!=$.datepicker.regional&&($.datepicker.regional.ru={clearText:"ÐÑиÑÑиÑÑ",clearStatus:"",closeText:"ÐакÑÑÑÑ",closeStatus:"",prevText:"<ÐÑед",prevStatus:"",prevBigText:"<<",prevBigStatus:"",nextText:"След>",nextStatus:"",nextBigText:">>",nextBigStatus:"",currentText:"СегоднÑ",currentStatus:"",monthNames:["ЯнваÑÑ","ФевÑалÑ","ÐаÑÑ","ÐпÑелÑ","Ðай","ÐÑнÑ","ÐÑлÑ","ÐвгÑÑÑ","СенÑÑбÑÑ","ÐкÑÑбÑÑ","ÐоÑбÑÑ","ÐекабÑÑ"],monthNamesShort:["Янв","Фев","ÐаÑ","ÐпÑ","Ðай","ÐÑн","ÐÑл","Ðвг","Сен","ÐкÑ","ÐоÑ","Ðек"],monthStatus:"",yearStatus:"",weekHeader:"Ðе",weekStatus:"",dayNames:["воÑкÑеÑенÑе","понеделÑник","вÑоÑник","ÑÑеда","ÑеÑвеÑг","пÑÑниÑа","ÑÑббоÑа"],dayNamesShort:["вÑк","пнд","вÑÑ","ÑÑд","ÑÑв","пÑн","ÑбÑ"],dayNamesMin:["ÐÑ","Ðн","ÐÑ","СÑ","ЧÑ","ÐÑ","Сб"],dayStatus:"DD",dateStatus:"D, M d",dateFormat:"dd.mm.yy",firstDay:1,initStatus:"",isRTL:!1},$.datepicker.setDefaults($.datepicker.regional.ru)),toggleTextCollapse(),t.checkAmountOfRecommendations(),n()},detectDeltaScroll:function(){function e(){$(window).scrollTop()>=100?$("body").addClass("scrolled"):$("body").removeClass("scrolled")}e();var t=0,o=window.innerHeight;$(window).on("scroll",(function(n){if(!$("body").hasClass("no-scroll")){e();var i=$(this).scrollTop(),c=window.innerHeight;$(this).scrollTop()<50?$("body").addClass("scrolled-bottom").removeClass("scrolled-top").trigger("scrolled-bottom"):i-t>0&&c==o?$("body").addClass("scrolled-top").removeClass("scrolled-bottom").trigger("scrolled-top"):i-t<0&&c==o&&$("body").addClass("scrolled-bottom").removeClass("scrolled-top").trigger("scrolled-bottom"),t=i,o=c}}))},scrollToGetEl:function(){var e=t.getUtm("scrollto");e&&("table-constructor"==e?$("body").hasClass("extsearch-page")||$("body").hasClass("cabinet-page")?t.scrollToElem(t.getUtm("scrollto"),!1,600,0):t.scrollToElem(t.getUtm("scrollto"),!1,600,80):t.scrollToElem(t.getUtm("scrollto"),!1,600,0))},rosGetCookie:function(e){return document.cookie.length>0&&(c_start=document.cookie.indexOf(e+"="),-1!=c_start)?(c_start=c_start+e.length+1,c_end=document.cookie.indexOf(";",c_start),-1==c_end&&(c_end=document.cookie.length),unescape(document.cookie.substring(c_start,c_end))):""},checkAllHidden:function(){var e=0,t=0;return $(".cabinetDetails").each((function(){t++,"none"==$(this).css("display")&&e++})),e==t?($("#cabinetDetails-header").html("ÐÐµÑ Ð°ÐºÑÑалÑнÑÑ
ÑекомендаÑий."),!0):($("#cabinetDetails-header").html("РекомендаÑии:"),!1)},checkRecomendetAllHidden:function(){var e=0,t=0;return $(".cabinetRecomendet").each((function(){t++,"none"==$(this).css("display")&&e++,1*$(this).attr("rel")<1*Math.round(new Date/1e3)&&($(this).css("display","none"),e++)})),e==t?($("#cabinetRecomendet-header").html(""),$("#cabinetRecomendet ul").css("display","none"),!0):($("#cabinetRecomendet-header").html("ÐÑедÑÑоÑÑие меÑопÑиÑÑиÑ"),!1)}
1,rosCreateCookie:function(e,t,o){var n;if(o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3),n="; expires="+i.toGMTString()}else n="";document.cookie=e+"="+t+n+"; path=/"}},n=function(){$("body").on("click",".alert-dismissible .close",(function(e){e.preventDefault(),e.stopPropagation();var t=$(this).closest(".alert-container");t.length||(t=$(this).closest(".alert")),t.animate({height:"toggle"},200,(function(){t.remove()}))})).on("click",".ajax-request",(function(e){e.preventDefault(),e.stopPropagation(),$.ajax({url:$(this).attr("href"),type:"GET",dataType:"json",success:function(e){e.message?alert(e.message):e.error&&alert("ÐÑибка: "+e.error)},error:function(e,t,o){alert("ÐÑоизоÑла оÑибка: "+o)}})})),window.onresize=function(){setCookie("windowwidth",window.innerWidth)},$(window).on("load",(function(){setTimeout((function(){setCookie("windowwidth",window.innerWidth)}),2e3)}))};return o.immediately(),$(document).ready((function(e){o.init()})),t};
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.