1"use strict";function collapseCurrencyTable(){var t=$(".js-curtable");if(!t.length)return!1;t.each(function(){var t=$(this),e=t.find(".currency_more"),n=t.find(".currency_wrap"),i=t.find("table"),a=i.innerHeight();e.off("click.cur"),n.innerHeight()<a&&(e.show(),e.on("click.cur",function(){n.hasClass("open")?(n.removeClass("open"),n.css({height:""}),e.text("ÐÑе кÑÑÑÑ")):(n.addClass("open"),n.css({height:a}),e.text("СкÑÑÑÑ"))}))})}function waveButton(t){var e=$("input.button",t);if(!e.length)return!1;e.each(function(){var t=$(this);0==t.parent(".buttonWrap").length&&t.wrap('<div class="buttonWrap"></div>')})}function scrollAnchorLocal(){var t=$('[href^="#"]');if(!t.length)return!1;t.each(function(){var t=$(this);if(!(t.hasClass("accordion__head")||t.attr("data-toggle")||t.hasClass("popup-modal"))){var e=t.attr("href");if("#"!==e){var n=$(e);n.length&&t.off("click.anch").on("click.anch",function(e){if(t.parents(".vacancies").length){var i=t.parents(".accordion__panel").find(".ttl"),a=n.find("#WORK"),o=a.find("option");o.each(function(){$(this).attr("selected",!1)}),o.each(function(){$(this).attr("data-formtarg")==i.attr("data-formtarg")&&($(this).attr("selected",!0),setTimeout(function(){a.trigger("refresh")},1))})}if(window.location.hash){var s=window.location.hash;"#"===s||$("body, html").animate({scrollTop:$(s).offset().top-50},1e3)}else $("body, html").animate({scrollTop:n.offset().top-50},1e3);e.preventDefault()})}}})}function bannerWarning(){var t=$(".js-warning");t.length&&("hidden"===getCookie("cookieNotification")?(t.hide(),$("body").removeClass("warningInit")):$("body").addClass("warningInit"));$(document).on("click",".js-warning-close",function(e){if(e.preventDefault(),t.length){t.hide(),$("body").addClass("warningClose").removeClass("warningInit");var n=new Date((new Date).getTime()+5184e6);document.cookie="cookieNotification=hidden; path=/; expires="+n.toUTCString()}})}function initRubricator(){var t=$(".js-rubricator");if(!t.length)return!1;var e=t.find(".rubricator-menu__item"),n=t.find(".rubricator-section");e.length&&n.length&&e.each(function(){var t=$(this);t.on("click",function(i){i.preventDefault(),e.each(function(){$(this).removeClass("active")}),$(this).addClass("active"),n.each(function(){$(this).removeClass("active")}
1),n.each(function(){var e=$(this);e.index()===t.index()&&e.addClass("active")})})})}function initNavBtn(){var t=$(".js-navBtn"),e=$(".js-navBtn-list"),n=$(".rubricator-section");t.length&&e.length&&n.length&&n.each(function(){var t=$(this).find(".js-navBtn .button"),e=$(this).find(".js-navBtn-list span");t.each(function(){var n=$(this),i=n.index();n.on("click",function(){$(this).hasClass("active")||(t.each(function(){$(this).removeClass("active")}),$(this).addClass("active"),e.each(function(){$(this).removeClass("active")}),e.each(function(){var t=$(this);t.index()===i&&t.addClass("active")}))})})})}function initPopup(){$(".popup-modal").magnificPopup({preloader:!1,callbacks:{open:function(){$("body").addClass("popup-open")},close:function(){$("body").removeClass("popup-open")}}})}function positionTooltip(){var t=$(".tooltip");t.length&&t.each(function(){var t=$(this);t.removeClass("tooltip_right");var e=t.offset().left;window.innerWidth-e<300&&t.addClass("tooltip_right")})}function initTooltip(){var t=$(".tooltip");t.length&&t.each(function(){var t=$(this),e=t.find(".tooltip__info");e.length&&(t.off("mouseover.tooltip, mouseout.tooltip, touchstart.tooltip"),t.off("touchstart.tooltip").on("touchstart.tooltip",function(){t.hasClass("active")?(t.removeClass("active"),e.hide()):(t.addClass("active"),e.fadeIn(50))}),setTimeout(function(){t.off("mouseover.tooltip").on("mouseover.tooltip",function(){t.hasClass("active")||(t.addClass("active"),e.fadeIn(50))}),t.off("mouseout.tooltip").on("mouseout.tooltip",function(n){$(n.relatedTarget).closest(".tooltip").length||(t.removeClass("active"),e.hide())})},1e3))})}function getCookie(t){var e=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e,n){function i(t,e){return(void 0===t?"undefined":_typeof(t))===e}function a(t,e){return!!~(""+t).indexOf(e)}function o(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,n){return e+n.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):y?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function r(t,e){return function(){return t.apply(e,arguments)}}function l(t,e,n){var a;for(var o in t)if(t[o]in e)return!1===n?t[o]:(a=e[t[o]],i(a,"function")?r(a,n||e):a);return!1}function c(e,n,i){var a;if("getComputedStyle"in t){a=getComputedStyle.call(t,e,n);var o=t.console;if(null!==a)i&&(a=a.getPropertyValue(i));else if(o){var s=o.error?"error":"log";o[s].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else a=!n&&e.currentStyle&&e.currentStyle[i];return a}function d(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function h(){var t=e.body;return t||(t=s(y?"svg":"body"),t.fake=!0),t}function f(t,n,i,a){var o,r,l,c,d="modernizr",f=s("div"),u=h();if(parseInt(i,10))for(;i--;)l=s("div"),l.id=a?a[i]:d+(i+1),f.appendChild(l);return o=s("style"),o.type="text/css",o.id="s"+d,(u.fake?u:f).appendChild(o),u.appendChild(f),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(e.createTextNode(t)),f.id=d,u.fake&&(u.style.background="",u.style.overflow="hidden",c=C.style.overflow,C.style.overflow="hidden",C.appendChild(u)),r=n(f,t),u.fake?(u.parentNode.removeChild(u),C.style.overflow=c,C.offsetHeight):f.parentNode.removeChild(f),!!r}function u(e,i){var a=e.length;if("CSS"in t&&"supports"in t.CSS){for(;a--;)if(t.CSS.supports(d(e[a]),i))return!0;return!1}if("CSSSupportsRule"in t){for(var o=[];a--;)o.push("("+d(e[a])+":"+i+")");return o=o.join(" or "),f("@supports ("+o+") { #modernizr { position: absolute; } }",function(t){return"absolute"==c(t,null,"position")})}return n}function p(t,e,r,l){function c(){h&&(delete A.style,delete A.modElem)}if(l=!i(l,"undefined")&&l,!i(r,"undefined")){var d=u(t,r);
1if(!i(d,"undefined"))return d}for(var h,f,p,v,m,g=["modernizr","tspan","samp"];!A.style&&g.length;)h=!0,A.modElem=s(g.shift()),A.style=A.modElem.style;for(p=t.length,f=0;p>f;f++)if(v=t[f],m=A.style[v],a(v,"-")&&(v=o(v)),A.style[v]!==n){if(l||i(r,"undefined"))return c(),"pfx"!=e||v;try{A.style[v]=r}catch(t){}if(A.style[v]!=m)return c(),"pfx"!=e||v}return c(),!1}function v(t,e,n,a,o){var s=t.charAt(0).toUpperCase()+t.slice(1),r=(t+" "+T.join(s+" ")+s).split(" ");return i(e,"string")||i(e,"undefined")?p(r,e,a,o):(r=(t+" "+x.join(s+" ")+s).split(" "),l(r,e,n))}function m(t,e,i){return v(t,n,n,e,i)}var g=[],$=[],b={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var n=this;setTimeout(function(){e(n[t])},0)},addTest:function(t,e,n){$.push({name:t,fn:e,options:n})},addAsyncTest:function(t){$.push({name:null,fn:t})}},w=function(){};w.prototype=b,w=new w;var C=e.documentElement,y="svg"===C.nodeName.toLowerCase(),_="Moz O ms Webkit",T=b._config.usePrefixes?_.split(" "):[];b._cssomPrefixes=T;var x=b._config.usePrefixes?_.toLowerCase().split(" "):[];b._domPrefixes=x;var k={elem:s("modernizr")};w._q.push(function(){delete k.elem});var A={style:k.elem.style};w._q.unshift(function(){delete A.style}),b.testAllProps=v,b.testAllProps=m,w.addTest("csstransitions",m("transition","all",!0)),function(){var t,e,n,a,o,s,r;for(var l in $)if($.hasOwnProperty(l)){if(t=[],e=$[l],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(n=0;n<e.options.aliases.length;n++)t.push(e.options.aliases[n].toLowerCase());for(a=i(e.fn,"function")?e.fn():e.fn,o=0;o<t.length;o++)s=t[o],r=s.split("."),1===r.length?w[r[0]]=a:(!w[r[0]]||w[r[0]]instanceof Boolean||(w[r[0]]=new Boolean(w[r[0]])),w[r[0]][r[1]]=a),g.push((a?"":"no-")+r.join("-"))}}(),function(t){var e=C.className,n=w._config.classPrefix||"";if(y&&(e=e.baseVal),w._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");e=e.replace(i,"$1"+n+"js$2")}w._config.enableClasses&&(e+=" "+n+t.join(" "+n),y?C.className.baseVal=e:C.className=e)}(g),delete b.addTest,delete b.addAsyncTest;for(var j=0;j<w._q.length;j++)w._q[j]();t.Modernizr=w}(window,document),function(t){function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var a=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(a,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),a=n.data("bs.collapse"),o=t.extend({},i.DEFAULTS,n.data(),"object"==(void 0===e?"undefined":_typeof(e))&&e);!a&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),a||n.data("bs.collapse",a=new i(this,o)),"string"==typeof e&&a[e]()})}var i=function e(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,a=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(a&&a.length&&(e=a.data("bs.collapse"))&&e.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){a&&a.length&&(n.call(a,"hide"),e||a.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var a=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return a.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var a=t(i);this.addAriaAndCollapsedClass(e(a),a)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var a=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=a,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var a=t(this);a.attr("data-target")||i.preventDefault();var o=e(a),s=o.data("bs.collapse"),r=s?"toggle":a.data();n.call(o,r)})}(jQuery),function(t){function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(a).remove(),t(o).each(function(){var i=t(this),a=e(i),o={relatedTarget:this};a.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(a[0],n.target)||(a.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(i.attr("aria-expanded","fal
1se"),a.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var a=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.7",s.prototype.toggle=function(i){var a=t(this);if(!a.is(".disabled, :disabled")){var o=e(a),s=o.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var r={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",r)),i.isDefaultPrevented())return;a.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",r))}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var a=e(i),s=a.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&a.find(o).trigger("focus"),i.trigger("click");var r=a.find(".dropdown-menu li:not(.disabled):visible a");if(r.length){var l=r.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<r.length-1&&l++,~l||(l=0),r.eq(l).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",o,s.prototype.toggle).on("keydown.bs.dropdown.data-api",o,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),function(t){function e(e){return this.each(function(){var i=t(this),a=i.data("bs.tab");a||i.data("bs.tab",a=new n(this)),"string"==typeof e&&a[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var a=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:a[0]});if(a.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var r=t(i);this.activate(e.closest("li"),n),this.activate(r,r.parent(),function(){a.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:a[0]})})}}},n.prototype.activate=function(e,i,a){function o(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),a&&a()}var s=i.find("> .active"),r=a&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&r?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var a=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',a).on("click.bs.tab.data-api",'[data-toggle="pill"]',a)}(jQuery);var BNB=function(){var t={delay:0,useDelay:!1,useTransition:!0,transitionName:function(){var t,e=document.createElement("div"),n={transition:"transitionend",oTransition:"oTransitionEnd",mozTransition:"transitionend",webkitTransition:"webkitTransitionEnd"};for(var i in n)if(void 0!==e.style[i]){t=n[i];break}return void 0===t&&(t=!1),t}(),cb:function(t){return t&&"function"==typeof t?t:function(){}},open:function(t,e,n,i){i=this.cb(i),Modernizr.csstransitions&&this.useTransition?(t.addClass(e).one(this.transitionName,function(t){t.stopPropagation(),i()}),this.useDelay?setTimeout(function(){t.addClass(n)},this.delay):t.addClass(n)):(t.addClass(e).addClass(n),i())},close:function(t,e,n,i){i=this.cb(i),Modernizr.csstransitions&&this.useTransition?(t.one(this.transitionName,function(n){n.stopPropagation(),t.removeClass(e),i()}),this.useDelay?setTimeout(function(){t.removeClass(n)},this.delay):t.removeClass(n)):(t.removeClass(n).removeClass(e),i())}};return{init:function(){this.buttons(),this.matchHeight(),this.parallax(),this.gallery(".js-gallery"),this.mobileMunu(),this.mobileMenuStart()},prefix:function(t,e,n){for(var i={},a=0;a<n.length;a++)i[n[a]+t]=e;return i[t]=e,i},scrollEach:function(t){function e(t,e){var n=t.height(),i=t.scrollTop(),a=e.offset(),o=e.outerHeight();if(i<=a.top+o&&i+n>=a.top){var s=a.top-n;return{status:!0,dt:(i-s)/((a.top+o-s)/2)-1}}return{status:!1}}var n=this;$(".leaders-bg.js-parallax").each(function(){var i=$(window).width(),a=$(this);if(i>767){var o=a.parent(),s=(o.height(),o.offset().top),r=(a.attr("data-dt"),~~((t-s)/4));if(e($(window),o).status){var l=n.prefix("transform","translate3d(0px, "+r+"px, 0px)",["-webkit-","-moz-","-ms-"]);a.css(l)}}else a.css({transform:""})})},parallax:function(){var t=this;
1$(window).on("scroll",function(){var e=$(this).scrollTop();t.scrollEach(e)})},buttons:function(t){t=t||"body",Waves.attach($("a.button-text, a.link-more__lnk",t),["waves-not-overflow"]),Waves.init()},matchHeight:function(){$(".js-mh").each(function(){var t=$(this).find(".js-mh-target");t.length&&t.matchHeight({byRow:!0})})},gallery:function(t,e){e=e||"small";var n=$(t);if(n.length){var i=!1;switch(n.parents(".home-news__item").length&&(!0,i=!0),e){case"small":n.slick({arrows:!1,dots:!0,accessibility:!1,infinite:i,autoplay:!0,autoplaySpeed:7e3,fade:!0,cssEase:"linear"})}}},mobileMenuStart:function(){var t=this,e=$(".js-mobile-nav");e.length&&e.each(function(){var e=$(this),n=e.attr("data-start");e.data("history")||e.data("history",t.mobileHistory()),n&&(["#","."].indexOf(n.charAt(0))>=0?(n=$(n),n.length&&(n=n.attr("data-start"))&&n.length&&(n=n.split(","),t.mobileMenuAjaxLoad(e,n))):(n=n.split(","),t.mobileMenuAjaxLoad(e,n)))})},mobileMenuAjaxLoad:function(t,e){var n=this;!function i(a){var o=e[a];if(o){var s=t.data("history"),r=t.attr("id"),l=$("#"+r+o,t);l.length?(s.push(l),l.addClass("opened").addClass("move").appendTo(t),n.mobileMenuItemHeight(t),i(a+1)):n.mobileMenuAjaxRequest("/api/menu/","json",{navId:o},function(){t.addClass("mobile-nav_preload")},function(e){if(t.removeClass("mobile-nav_preload"),e.status){e.id=r+o,t.append(n.mobileMenuAjaxTemplate(e));var l=$("#"+r+o,t);l.length?(l.addClass("opened").addClass("move"),n.mobileMenuItemHeight(t),s.push(l),i(a+1)):i(a+1)}else i(a+1)})}}(0)},mobileMenuAjaxRequest:function(t,e,n,i,a){return $.ajax({url:t,method:"post",data:n||{},dataType:e,success:function(t){a(t)},beforeSend:function(){i()}})},mobileMenuAjaxTemplate:function(t){var e=document.getElementById("mobile-nav-sub-menu-ajax-template"),n=e.innerHTML;return Mustache.render(n,t)},mobileHistory:function(){return{list:[],push:function(t){this.list.push(t)},pop:function(){var t,e=this.list.length-1,n=this.list[e];return t=1===this.list.length?null:this.list[e-1],this.list.splice(e,1),{currentPage:n,nextPage:t}}}},mobileMenuItemHeight:function(t){var e=$(".mobile-nav__scroll-content",t);if(e.length){var n=0;e.css({minHeight:""}),e.each(function(){var t=$(this),e=t.outerHeight();e>n&&(n=e)}),e.css({minHeight:n}),t.scrollTop(0)}},mobileMunu:function(){function e(e,i,a,o,s,r){var l=i.find(a);if(l.length){i.scrollTop(0),r.data("disabledEvent",!0),e.preventDefault(),l.appendTo(i);var c=i.data("history");window.requestAnimationFrame(function(){i.hasClass("mobile-nav_preload")&&i.removeClass("mobile-nav_preload"),t.open(l,"opened","move",function(){n.mobileMenuItemHeight(i),r.data("disabledEvent",!1),c.push(l)})})}}var n=this,i=$("body");$(document).on("click",".js-nav-toggle-mobile",function(e){var n=$(this),a=n.attr("data-mobile"),o=$(a);if(o.length){var s=o.attr("data-cls");i.hasClass(s)?t.close(o,"mobile-nav-open","mobile-nav-move",function(){i.removeClass(s)}):(i.addClass(s),t.open(o,"mobile-nav-open","mobile-nav-move"))}}),$(document).on("click",".js-mobile-nav-close",function(e){var n=$(this),a=n.closest(".js-mobile-nav");if(a.length){var o=a.attr("data-cls");i.hasClass(o)&&t.close(a,"mobile-nav-open","mobile-nav-move",function(){i.removeClass(o)})}}),$(document).on("click",".js-mobile-next",function(t){var i=$(this);if(!i.data("disabledEvent")){var a=i.closest(".js-mobile-nav");if(a.length){var o,s=a.attr("id"),r=i.attr("data-nav-type"),l=i.attr("data-nav-href"),c=i.attr("data-nav-id"),d=i.closest(".mobile-nav__item"),h=d.attr("id"),f=new RegExp("^[0-9]+$").test(c);if(f){if(o=s+c,h===o)return}else if(c==="#"+h)return;if(["#"].indexOf(c.charAt(0))>=0)e(t,a,c,h,d,i);else if(f){var u=document.getElementById(o);u?e(t,a,"#"+o,h,d,i):n.mobileMenuAjaxRequest(l||"/api/menu/",r||"json",{navId:c},function(){a.addClass("mobile-nav_preload"),i.data("disabledEvent",!0)},function(s){"html"===r?(a.append(s),e(t,a,"#"+o,h,d,i)):s.status?(s.id=o,a.append(n.mobileMenuAjaxTemplate(s)),e(t,a,"#"+o,h,d,i)):(a.removeClass("mobile-nav_preload"),i.data("disabledEvent",!1))})}}}}),$(document).on("click",".js-mobile-nav-prev",function(e){e.preventDefault();
1var i=$(this).closest(".js-mobile-nav"),a=i.data("history"),o=a.pop();i.scrollTop(0),o.nextPage?(o.nextPage.appendTo(i),o.currentPage.appendTo(i),n.mobileMenuItemHeight(i),window.requestAnimationFrame(function(){t.open(o.nextPage,"opened","move",function(){}),t.close(o.currentPage,"opened","move",function(){})})):(o.currentPage.appendTo(i),n.mobileMenuItemHeight(i),window.requestAnimationFrame(function(){t.close(o.currentPage,"opened","move",function(){})}))})}}}();!function(t){t(function(){BNB.init()})}(jQuery),function(){function t(){var t=$(".formstyler");if(t.length&&$.fn.styler){t.each(function(){$(this).hasClass("select-search")?$(this).styler({selectSearch:!0}):$(this).styler()});var e=$(".init-formstyler");e.length&&e.each(function(){$(this).removeClass("init-formstyler")})}}function e(){var t=$(".mask_phone");/*t.length&&t.mask("+375 (99) 999-99-99")*/}function n(){if($(".wow").length){new WOW({boxClass:"wow",animateClass:"animated",offset:0,scrollContainer:null}).init()}}function i(t,e,n){t.each(function(){var t=$(this).innerWidth(),i=e.innerWidth();e.find(n).each(function(){$(this).css({height:""})});var a=(t-t%i)/i;if(a>1)for(var o=0;o<e.length;o+=a){var s=$(e.slice(o,o+a)),r=s.find(n),l=0;r.each(function(){var t=$(this),e=t.innerHeight();e>l&&(l=e)}),r.css({height:l})}})}function a(){var t=$(".tlist__list"),e=t.find(".tlist__item"),n=e.find(".wrap");t&&e&&n&&i(t,e,n)}function o(){var t=$(".slist__list"),e=t.find(".slist__item"),n=e.find(".wrap");t&&e&&n&&i(t,e,n)}function s(){var t=$(".news_list");if(!t.hasClass("news_list-flex")){var e=t.find(".news_item"),n=e.find(".news_wrap");t&&e&&n&&i(t,e,n)}}function r(){var t=$(".dot");t.length&&$.fn.dotdotdot&&t.each(function(){$(this).dotdotdot()})}function l(){var t=$(".dot");t.length&&$.fn.dotdotdot&&t.each(function(){$(this).trigger("update.dot")})}function c(){var t=$("#toBottom");if(t){var e=window.innerHeight;t.on("click",function(){$("html, body").animate({scrollTop:e},"slow")})}}function d(){var t=$(".home-curr_btn"),e=$(".home-curr");if(!t.length||!e.length)return!1;var n=e.find(".home-curr_drop");window.innerWidth>1023?t.off("click.curr").on("click.curr",function(){e.hasClass("open")?(e.removeClass("open"),n.fadeIn(200)):(e.addClass("open"),n.fadeOut(200))}):(e.removeClass("open"),n.fadeIn(200))}function h(){if($("body").hasClass("index-page")){var t=$(".header"),e=t.find(".home-curr");window.innerWidth<1024?e.length?t.css({"margin-bottom":e.innerHeight()}):t.css({"margin-bottom":0}):t.css({"margin-bottom":"","min-height":""})}}function f(){if(!$("body").hasClass("index-page"))return!1;var t=$(".header__bg-wrap");if(!t.length)return!1;var e=window.innerHeight,n=window.innerWidth,i=$(".header");i.css({"min-height":""}),t.css({height:""}),n<1024&&(i.css({"min-height":e}),t.css({height:e}))}function u(){return window.innerWidth-document.body.clientWidth}function p(){var t=$(".menu-main");if(!t.length)return!1;var e=window.innerWidth,n=t.find(".item-1"),i=t.find(".level-4"),a=t.offset(),o=t.find(".menu-main_selected"),s=t.find(".submenu"),r=$(".header_gallery"),l=$(".menu-main_substrate"),c=t.innerHeight(),d=$(".header__bottom").innerHeight(),h=Math.ceil((d-c)/2);s.length&&(s.each(function(){var t=$(this),n=t.parents(".item-1");n.find("a.item-1_text").on("touchstart.a",function(t){t.preventDefault()});var i=n.offset();t.css({width:e-u(),left:-i.left})}),l.css({height:"",width:e,left:-a.left,top:-h}
1)),n.each(function(){var e=$(this),i=e.find(".submenu"),s=e.find(".item-1_text"),f=$(".blackout");e.off("mouseleave.menu").off("touchstart.menu, mouseenter.menu"),e.on("touchstart.menu",function(){i.length&&(i.each(function(){$(this).stop()}),n.each(function(){$(this).removeClass("submenuActive"),$(this).find("a.item-1_text").on("touchstart.a",function(t){t.preventDefault()})})),r.length&&r.addClass("header_hover"),i.length?(e.addClass("submenuActive"),e.find("a.item-1_text").off("touchstart.a"),l.css({opacity:1,height:i.innerHeight()+h+c})):l.css({opacity:1,height:d}),t.addClass("menuMainActive"),f.addClass("active"),o.css({opacity:1,left:s.offset().left-a.left,width:s.innerWidth()})}),e.on("mouseenter.menu",function(){r.length&&r.addClass("header_hover"),i.length?(e.addClass("submenuActive"),l.css({opacity:1,height:i.innerHeight()+h+c})):l.css({opacity:1,height:d}),t.addClass("menuMainActive"),f.addClass("active"),o.css({opacity:1,left:s.offset().left-a.left,width:s.innerWidth()})}),e.on("mouseleave.menu",function(){i.length&&(i.stop(),e.removeClass("submenuActive")),r.length&&r.removeClass("header_hover"),o.css({opacity:""}),l.css({opacity:"",height:""}),t.removeClass("menuMainActive"),f.removeClass("active")})}),i.length&&i.each(function(){var t=$(this),e=t.parents(".submenu");t.on("hidden.bs.collapse",function(){l.css({height:e.innerHeight()+h+c})}),t.on("shown.bs.collapse",function(){l.css({height:e.innerHeight()+h+c})})})}function v(t,e){t.each(function(){var t=$(this);t.parent(e).length&&t.unwrap()})}function m(t,e){var n=e.height(),i=0;e.each(function(){$(this).height()<n&&(n=$(this).height(),i=$(this).index())}),t.appendTo(e[i])}function g(){var t=$(".menu-main");if(!t.length)return!1;var e=$("body"),n=t.find(".submenu_wrap"),i=".item-2",a=t.find(".level-2");if(!n.length)return!1;n.each(function(){var t=$(this),n=t.find(i);if(n.length){v(n,".level-2");var a=n.length;if(a>3){n.each(function(){$(this).index()<3&&$(this).wrapAll('<ul class="level-2">')}),e.addClass("activeMenuDrop");t.children(i).each(function(){m($(this),t.find(".level-2"))}),e.removeClass("activeMenuDrop")}else for(var o=Math.ceil(a/3);t.children(i).length;)t.children(i+":lt("+o+")").wrapAll('<ul class="level-2">')}}),a.removeClass("level-2").replaceWith(function(t,e){return $("<div class='level-2'>").html(e)})}function b(){var t=$(".card-filter");if(!t.length)return!1;var e=t.find(".card-filter_close"),n=t.find(".card-filter_data");if(!e.length||!n.length)return!1;n.css({height:""});var i=n.innerHeight();n.css({height:i}),e.on("click",function(){t.hasClass("close")?(t.removeClass("close"),n.css({height:i})):(t.addClass("close"),n.css({height:0}))})}function w(t,e){if(!t.length)return!1;t.each(function(){var t=$(this);t.find(e).on("click",function(){t.fadeOut(200)})})}function C(){w($(".map-panel"),".map-panel_close")}function y(){w($(".blockquote"),".btn-close")}function _(t){var e=t.find(".slider-wrapper");t.removeClass("initSlider"),e.slick({accessibility:!1,infinite:!1})}function T(t){var e=window.innerWidth,n=t.find(".pic");if(n.each(function(){$(this).css({height:""})}),e<1024){var i=0;n.each(function(){var t=$(this);t.css({height:""});var e=t.innerHeight();e>i&&(i=e)}),n.each(function(){$(this).css({height:i})})}}function x(){var t=$(".slider");t.length&&$.fn.slick&&t.each(function(){T($(this)),_($(this))})}function k(){var t=$(".slider");t.length&&$.fn.slick&&t.each(function(){T($(this))})}function A(){var t=$(".accordion");if(!t.length)return!1;t.each(function(){$(this).find(".accordion__body").each(function(){$(this).find(".slider").length&&$(this).on("shown.bs.collapse",function(){$(this).find(".slider-wrapper").slick("reinit"),T($(this))})})})}function j(){var t=$(".video");if(!t.length)return!1;var e=t.find("video"),n=window.innerHeight,i=~~e.height();window.innerWidth>1279?(i>800||i>n)&&(i=n<800?n:800):(i>700||i>n)&&(i=n<700?n:700),t.css({height:i})}function E(){var t=$(".video");if(!t.length)return!1;var e=t.find(".video_play"),n=t.find(".video_stop"),i=t.find(".video_poster"),a=t.find(".video_bg"),o=t.find("video");e.on("click",function(){$(this).hide(),a.hide(),i.hide(),o.attr("controls","controls"),o[0].play(),n.show()}),n.on("click",function(){$(this).hide(),o.removeAttr("controls"),o[0].pause(),e.show(),a.show()})}function S(){var t=$(".js-tab-scroll");
1if(!t||!$.fn.mCustomScrollbar)return!1;t.mCustomScrollbar({theme:"dark-2",axis:"y"})}function D(){var t=window.innerWidth,e=$(".js-wide");e.length&&e.each(function(){var e=t-u(),n=e/2;n!==~~n&&(e+=1),$(this).css("width",e).addClass("jsWideActive")})}function P(){var t=$(".col-flex"),e=t.find(".tabs-tbl");if(!e.length)return!1;var n=e.find(".js-tab-scroll");if(n.length){var i=window.innerWidth,a="";if(n.each(function(){$(this).css({height:a})}),i>1023){var o=t.innerHeight(),s=e.find(".nav-tabs").innerHeight();a=o-s,n.each(function(){$(this).css({height:a})})}else n.each(function(){var t=$(this);t.innerHeight()>460&&t.css({height:460})})}}function H(){var t=$('input[type="number"]');if(!t.length)return!1;t.each(function(){var t=$(this),e=+t.attr("min"),n=+t.attr("max");t.on("keyup",function(){var e=+t.val().replace(/\D+/g,"");!isNaN(n)&&e>n&&t.val(n)}),t.on("change",function(){var n=+t.val().replace(/\D+/g,"");!isNaN(e)&&n<e&&t.val(e)})})}function N(){var t=$(".about-gallery");if(!t.length||!$.fn.magnificPopup.length)return!1;t.each(function(){$(this).magnificPopup({delegate:"a",type:"image",tLoading:"Loading image #%curr%...",mainClass:"mfp-img-mobile",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',titleSrc:function(t){return t.el.attr("title")}}})})}function I(){var t=$(".info-tooltip");if(!t.length)return!1;t.each(function(){ 2var e=$(this),n=e.find(".info-tooltip_btn"),i=e.find(".info-tooltip_info");n.off("click.tooltip").on("click.tooltip",function(){t.each(function(){var t=$(this);t.hasClass("active")&&(t.removeClass("active"),t.find(".info-tooltip_info").fadeOut(100))}),i.fadeIn(100),e.addClass("active")})})}function M(){var t=$(".info-tooltip");if(!t.length)return!1;var e=window.innerWidth,n=$(".p-info").width();t.each(function(){$(this).find(".info-tooltip_info").removeClass("right").css({"max-width":"",width:"",left:""})}),e<1024&&t.each(function(){var t=$(this),i=t.find(".info-tooltip_info");if(t.find(".info-tooltip_btn").length){var a=t.find(".info-tooltip_btn").offset().left;if(e<481)i.removeClass("right").css({width:e-48,left:-(a-24)});else{var o=n-a+20;o<300?i.css({"max-width":300}).addClass("right"):i.removeClass("right").css({"max-width":o})}}});var i=$(".accordion__body");i.length&&i.each(function(){$(this).on("shown.bs.collapse",function(){var t=$(this).find(".info-tooltip");e<1024&&t.each(function(){var t=$(this),i=t.find(".info-tooltip_info");if(t.find(".info-tooltip_btn").length){var a=t.find(".info-tooltip_btn").offset().left;if(e<481)i.removeClass("right").css({width:e-48,left:-(a-24)});else{var o=n-a+20;o<300?i.css({"max-width":300}).addClass("right"):i.removeClass("right").css({"max-width":o})}}})})})}function W(t,e){var n=window.innerHeight;t.each(function(){var t=$(this),i=t.offset().top;e+n>i&&!t.hasClass("active")&&t.addClass("active").countTo({speed:1e3,refreshInterval:2,formatter:function(t,e){return t.toFixed(e.decimals)}})})}function O(){var t=$(".timer");if(!t.length)return!1;var e=$(window).scrollTop();W(t,e),$(window).off("scroll.num").on("scroll.num",function(){var e=$
2(this).scrollTop();W(t,e)})}function R(){var t=$("#searchDropBtn"),e=$("#searchDrop");if(t.length&&e.length){var n=$("body"),i=e.find(".search-drop_inp-close");i.off("click.srch").off("touchstart.srch"),t.off("click.srch").off("touchstart.srch"),i.on("click.srch",function(){n.hasClass("searchActive")?n.removeClass("searchActive"):n.addClass("searchActive")}),i.on("touchstart.srch",function(){n.hasClass("searchActive")?n.removeClass("searchActive"):n.addClass("searchActive")}),t.on("click.srch",function(){n.hasClass("searchActive")?n.removeClass("searchActive"):n.addClass("searchActive")}),t.on("touchstart.srch",function(){n.hasClass("searchActive")?n.removeClass("searchActive"):n.addClass("searchActive")})}}function B(){var t=$(".js-ld");t.length&&(t.each(function(){var t=$(this),e=t.find(".js-ld_item"),n=t.find(".js-ld_name"),i=1250,a=window.innerWidth;e.each(function(){$(this).off("click.drop")}),n.off("click.drop"),t.hasClass("offices-nav_type")&&(i=1024),e.length>5||a<i?(t.addClass("js-ld_drop"),e.each(function(){var i=$(this);(i.find("input").prop("checked")||i.hasClass("active"))&&n.html(i.find(".name").html()),i.on("click.drop",function(){t.removeClass("open"),n.html($(this).find(".name").html()),e.each(function(){$(this).removeClass("active")}),i.addClass("active")})}).addClass("close"),n.on("click.drop",function(){t.hasClass("open")?t.removeClass("open"):t.addClass("open")})):t.removeClass("open").removeClass("js-ld_drop")}),$(document).off("click.drop").on("click.drop",function(t){if(!$(t.target).closest(".js-ld_name").length&&!$(t.target).closest(".js-ld_item").length){$(".js-ld").each(function(){$(this).removeClass("open")}),t.stopPropagation()}}));var e=$(".offices-nav");e.length&&e.removeClass("init-officesNav")}function z(t,e){G=(t-e)/1e3/60/60,G-=G%1,X=Math.ceil((t-e)/1e3/60-60*G),X-=X%1}function L(){var t=$(".offices-work");if(t.length){var e=new Date,n=e.getDay(),i=new Array(7);i[0]="data-day-7",i[1]="data-day-1",i[2]="data-day-2",i[3]="data-day-3",i[4]="data-day-4",i[5]="data-day-5",i[6]="data-day-6",t.each(function(){var t=$(this),a=t.find(".offices-work_time").empty(),o=t.parents("td").attr(i[n]);if(void 0!==o&&!1!==o){var s=o.replace(/\s+/g,"");if("-"===s)a.append("ÐÑÑ
одной");else{var r=s.split("â"),l=r[0],c=r[1],d=l.split(":"),h=d[0],f=d[1],u=new Date(e.getFullYear(),e.getMonth(),e.getDate(),h,f,0,0),p=c.split(":"),v=p[0],m=p[1],g=new Date(e.getFullYear(),e.getMonth(),e.getDate(),v,m,0,0);e<u?(z(u,e),a.append("Ðо оÑкÑÑÑиÑ: <span>"+G+" Ñ. "+X+" мин.</span>")):e<g?(z(g,e),a.append("Ðо закÑÑÑиÑ: <span>"+G+" Ñ. "+X+" мин.</span>")):e>=g&&a.append("ÐакÑÑÑо")}}})}}function q(){var t=$(".table-overflow, .table-responsive, .table-fix");if(t.length){t.each(function(){$(this).mCustomScrollbar({theme:"dark-5",axis:"x"}),$(this).hasClass("addHelpText")||($(this).hasClass("table-p")?$(this).wrap('<div class="table-overflow__wrap table-p"></div>'):$(this).wrap('<div class="table-overflow__wrap"></div>'),$(this).addClass("addHelpText").after("<div class='table-helptext'>ÑÑÐ¾Ð±Ñ ÑзнаÑÑ Ð±Ð¾Ð»ÑÑе, пÑоведи палÑÑем ÑпÑава налево</div>"))});var e=$(".accordion__body");e.length&&e.each(function(){$(this).on("shown.bs.collapse",function(){var t=$(this).find(".table-overflow, .table-responsive, .table-fix");t.mCustomScrollbar("destroy"),t.mCustomScrollbar({theme:"dark-5",axis:"x"})})});var n=$('a[data-toggle="tab"]');n.length&&n.each(function(){$(this).off("shown.bs.tab").on("shown.bs.tab",function(t){var e=$($(this).attr("href")).find(".table-overflow, .table-responsive, .table-fix");e.mCustomScrollbar("destroy"),e.mCustomScrollbar({theme:"dark-5",axis:"x"})})})}}function U(){var t=$(".btn-scroll"),e=$("#toBottomPage"),n=$("#toTopPage"),i=window.innerHeight;e.length&&n.length&&(0==$(window).scrollTop()&&e.addClass("active"),$(window).off("scroll.btn").on("scroll.btn",function(){$(window).scrollTop()==$(document).innerHeight()-i-160?(e.removeClass("active"),n.addClass("active")):(n.removeClass("active"),e.addClass("active"))}),e.on("click",function(){var e=t.offset().top;$("html, body").animate({scrollTop:e},"slow")}),n.on("click",function(){$("html, body").animate({scrollTop:0},"slow")}))}function F(){$("#iconPhone").removeClass("active"),$("#iconSmartphone").addClass("active"),setTimeout(V,2500)}function V(){$("#iconSmartphone").removeClass("active"),$("#iconMail").addClass("active"),setTimeout(Q,2500)}function Q(){$("#iconMail").removeClass("active"),$("#iconPhone").addClass("active"),setTimeout(F,2500)}function J(){var t=$(window).width(),e=$(".m-parallax");if(!e.length)return!1;e.each(function(){var e,n=$(this);e=t<1024?n.height()>0?n.height():n.children("img").height():n.height()>0?n.height():500;var i=n.children("img").first(),a=i.height(),o=a-e,s=n.offset().top+e,r=n.offset().top,l=$(window).scrollTop(),c=window.innerHeight,d=l+c,h=(d-r)/(e+c),f=Math.round(o*h);s>l&&r<l+c&&i.css("transform","translate3D(-50%,"+f+"px, 0)")})}function Y(){svg4everybody()}function Z(){$(".offices-lnk-map").each(function(){var t=$(this);t.on("click.anch",function(){var e=t.parents(".tr-info");$("body, html").animate({scrollTop:e.offset().top},500)})})}var K=$(window);
2$(document).off("click.doc").on("click.doc",function(t){var e=$(".info-tooltip");e.length&&"info-tooltip_btn"!==$(t.target).attr("class")&&"info-tooltip_info"!==$(t.target).attr("class")&&e.each(function(){var t=$(this);t.hasClass("active")&&(t.find(".info-tooltip_info").fadeOut(100),t.removeClass("active"))}),t.stopPropagation()}),$(document).on("touchstart.doc",function(t){var e=$(".menu-main");if(e.length&&!$(t.target).parents(".menu-main").length){var n=e.find(".item-1"),i=$(".header_gallery"),a=$(".menu-main_substrate"),o=e.find(".menu-main_selected"),s=$(".blackout");n.each(function(){var t=$(this),e=t.find(".submenu");t.find("a.item-1_text").on("touchstart.a",function(t){t.preventDefault()}),e.length&&(e.stop(),t.removeClass("submenuActive"))}),i.removeClass("header_hover"),o.css({opacity:""}),a.css({opacity:"",height:""}),e.removeClass("menuMainActive"),s.removeClass("active")}});var G=0,X=0;$(window).scroll(function(){J()});var tt=$(window).width();$(function(){c(),t(),f(),r(),E(),D(),e(),N(),I(),M(),R(),L(),J(),scrollAnchorLocal(),n(),O(),Z()}),K.on("load",function(){Y(),t(),g(),p(),h(),d(),a(),o(),s(),b(),C(),y(),x(),A(),S(),j(),D(),P(),H(),B(),q(),U(),F()}),K.on("resize",function(){g(),p(),h(),d(),a(),o(),s(),l(),b(),k(),A(),j(),D(),P(),M(),R(),B(),q(),J(),$(this).width()!=tt&&(tt=$(this).width(),f())})}(),$(function(){collapseCurrencyTable(),waveButton("body"),bannerWarning()}),$(window).on("load",function(){initRubricator(),initNavBtn(),initPopup(),positionTooltip(),initTooltip()}),$(window).on("resize",function(){positionTooltip()}); 3$(document).ready(function(){ 4 /*imbanking btn*/ 5 //mobile 6 $('#show-imbank-select_mobile').click(function(){ //btn click 7 $('#imbank-select_mobile').toggle(100); //show / hide list 8 }); 9 $(document).mouseup(function (e){ // ÑобÑÑие клика по веб-докÑменÑÑ 10 var div = $("#imbank-block_mobile"); // ÑÑÑ ÑказÑваем ID ÑлеменÑа 11 if (!div.is(e.target) // еÑли клик бÑл не по наÑÐµÐ¼Ñ Ð±Ð»Ð¾ÐºÑ 12 && div.has(e.target).length === 0) { // и не по его доÑеÑним ÑлеменÑам 13 $('#imbank-select_mobile').hide(); // ÑкÑÑваем его 14 } 15 var divC = $(".imbank-block_mobile"); // ÑÑÑ ÑказÑваем ID ÑлеменÑа 16 if (!divC.is(e.target) // еÑли клик бÑл не по наÑÐµÐ¼Ñ Ð±Ð»Ð¾ÐºÑ 17 && divC.has(e.target).length === 0) { // и не по его доÑеÑним ÑлеменÑам 18 divC.find('.imbank-select_mobile').hide(); // ÑкÑÑваем его 19 } 20 }); 21 //desctop 22 $('#show-imbank-select').click(function(){ //btn click 23 $('#imbank-select').toggle(100); //show / hide list 24 }); 25 $(document).mouseup(function (e){ // ÑобÑÑие клика по веб-докÑменÑÑ 26 var div = $("#imbank-block"); // ÑÑÑ ÑказÑваем ID ÑлеменÑа 27 if (!div.is(e.target) // еÑли клик бÑл не по наÑÐµÐ¼Ñ Ð±Ð»Ð¾ÐºÑ 28 && div.has(e.target).length === 0) { // и не по его доÑеÑним ÑлеменÑам 29 $('#imbank-select').hide(); // ÑкÑÑваем его 30 } 31 }); 32 /*end imbanking btn*/ 33}); 34 35function openImbankSelect(e){ 36 console.log($(e.target)); 37 $(e.target).parent().siblings('.imbank-select_mobile').toggle(100); //show / hide list 38}
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.