"use strict";function animationHover(e,o){(e=$(e)).hover(function(){e.addClass("animated "+o)},function(){window.setTimeout(function(){e.removeClass("animated "+o)},2e3)})}function SmoothlyMenu(){!$("body").hasClass("mini-navbar")||$("body").hasClass("body-small")?($("#side-menu").hide(),setTimeout(function(){$("#side-menu").fadeIn(500)},100)):$("body").hasClass("fixed-sidebar")?($("#side-menu").hide(),setTimeout(function(){$("#side-menu").fadeIn(500)},300)):$("#side-menu").removeAttr("style")}$(document).ready(function(){function e(){var e=$("body > #wrapper").height()-61;$(".sidebard-panel").css("min-height",e+"px")}$("#side-menu").metisMenu(),$(".collapse-link").click(function(){var e=$(this).closest("div.ibox"),o=$(this).find("i");e.find("div.ibox-content").slideToggle(200),o.toggleClass("fa-chevron-up").toggleClass("fa-chevron-down"),e.toggleClass("").toggleClass("border-bottom"),setTimeout(function(){e.resize(),e.find("[id^=map-]").resize()},50)}),$(".close-link").click(function(){$(this).closest("div.ibox").remove()}),$(".check-link").click(function(){var e=$(this).find("i"),o=$(this).next("span");return e.toggleClass("fa-check-square").toggleClass("fa-square-o"),o.toggleClass("todo-completed"),!1}),$(".navbar-minimalize").click(function(){$("body").toggleClass("mini-navbar"),SmoothlyMenu()}),$(".tooltip-demo").tooltip({selector:"[data-toggle=tooltip]",container:"body"}),$(".modal").appendTo("body"),e(),$(window).bind("load resize click scroll",function(){$("body").hasClass("body-small")||e()}),$("[data-toggle=popover]").popover();var o=$('#side-menu a[href="'+window.location.pathname+'"]').parent();o.addClass("active"),0<o.parent("ul.nav-second-level").length&&o.parent("ul.nav-second-level").addClass("in").parent().addClass("active")}),$(function(){$(window).bind("load resize",function(){$(this).width()<769?$("body").addClass("body-small"):$("body").removeClass("body-small")})});