text: function setActiveTab(t){var i=$(".tabs").find("[data-target='"+t+"']");$.each(i,function(t,i){$(i).hasClass("tabs__item")?($(i).siblings().removeClass("tabs__item--active"),$(i).addClass("tabs__item--active")):$(i).hasClass("tabs__itemv")&&($(i).siblings().removeClass("tabs__itemv--active"),$(i).addClass("tabs__itemv--active"))}),$("html, body").animate({scrollTop:$(t).offset().top},1e3)}function initTab(t,i,a){$("."+t).on("click",function(){var t=$(this).attr("data-target");return setActiveTab(t),window.location.hash=t,!1})}function modalShow(t){$("#"+modalId).show()}function modalHide(t){$("#"+modalId).hide()}var initDropdown=function(){var t=$(".button--dropdown");t.on("click",function(){var t=$(this).find(".button__menu");$(t).stop(!0,!0).delay(50).slideToggle(200)}),t.hover(function(){$(this).stop(!0,!0)},function(){var t=$(this).find(".button__menu");$(t).stop(!0,!0).delay(1e3).slideUp(200)}),$(".button__menu").hover(function(){$(this).stop(!0,!0)},function(){$(this).stop(!0,!0).delay(1e3).slideUp(200)})}(),initTabsEvent=function(){initTab("tabs__item","tabs__item--active","tabs__itemv--active"),initTab("tabs__itemv","tabs__itemv--active","tabs__item--active");var t=window.location.hash;""!==t&&setActiveTab(t)}(),initAlertClose=void $(".alert__close").on("click",function(){return $(this).parent().hide(),!1}),initTableSort=void $(".table__sort--asc, .table__sort--desc").on("click",function(){var t=$(this).attr("sortable");return t&&"true"===t&&$(this).toggleClass("table__sort--asc table__sort--desc"),!1}),initPagination=void $(".pager__page").on("click",function(){var t=$(this).parent().siblings().find(".pager__page");return $(t).removeClass("pager__page--active"),$(this).addClass("pager__page--active"),!1}),initModal=function(){$("[data-show=modal]").click(function(t){var i=$(this).attr("data-target");$("#"+i).show()});$(".modal__close").click(function(t){$(this).parents(".modal").hide()}),$(window).click(function(t){"modal"===t.target.className&&$(t.target).hide()})}();$(document).ready(function(){"use strict"}),$(window).load(function(){"use strict"});