File Manager
Viewing File: apps.min.js
/*
Template Name: Infinite Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
Version: 1.0
Author: Sean Ngu
Website: http://www.seantheme.com/infinite-admin/admin/html/
*/var MUTED_COLOR="#8A8A8F",MUTED_TRANSPARENT_1_COLOR="rgba(138, 138, 143, 0.1)",MUTED_TRANSPARENT_2_COLOR="rgba(138, 138, 143, 0.2)",MUTED_TRANSPARENT_3_COLOR="rgba(138, 138, 143, 0.3)",MUTED_TRANSPARENT_4_COLOR="rgba(138, 138, 143, 0.4)",MUTED_TRANSPARENT_5_COLOR="rgba(138, 138, 143, 0.5)",MUTED_TRANSPARENT_6_COLOR="rgba(138, 138, 143, 0.6)",MUTED_TRANSPARENT_7_COLOR="rgba(138, 138, 143, 0.7)",MUTED_TRANSPARENT_8_COLOR="rgba(138, 138, 143, 0.8)",MUTED_TRANSPARENT_9_COLOR="rgba(138, 138, 143, 0.9)",PRIMARY_COLOR="#007AFF",PRIMARY_TRANSPARENT_1_COLOR="rgba(0, 122, 255, 0.1)",PRIMARY_TRANSPARENT_2_COLOR="rgba(0, 122, 255, 0.2)",PRIMARY_TRANSPARENT_3_COLOR="rgba(0, 122, 255, 0.3)",PRIMARY_TRANSPARENT_4_COLOR="rgba(0, 122, 255, 0.4)",PRIMARY_TRANSPARENT_5_COLOR="rgba(0, 122, 255, 0.5)",PRIMARY_TRANSPARENT_6_COLOR="rgba(0, 122, 255, 0.6)",PRIMARY_TRANSPARENT_7_COLOR="rgba(0, 122, 255, 0.7)",PRIMARY_TRANSPARENT_8_COLOR="rgba(0, 122, 255, 0.8)",PRIMARY_TRANSPARENT_9_COLOR="rgba(0, 122, 255, 0.9)",SUCCESS_COLOR="#4CD964",SUCCESS_TRANSPARENT_1_COLOR="rgba(76, 217, 100, 0.1)",SUCCESS_TRANSPARENT_2_COLOR="rgba(76, 217, 100, 0.2)",SUCCESS_TRANSPARENT_3_COLOR="rgba(76, 217, 100, 0.3)",SUCCESS_TRANSPARENT_4_COLOR="rgba(76, 217, 100, 0.4)",SUCCESS_TRANSPARENT_5_COLOR="rgba(76, 217, 100, 0.5)",SUCCESS_TRANSPARENT_6_COLOR="rgba(76, 217, 100, 0.6)",SUCCESS_TRANSPARENT_7_COLOR="rgba(76, 217, 100, 0.7)",SUCCESS_TRANSPARENT_8_COLOR="rgba(76, 217, 100, 0.8)",SUCCESS_TRANSPARENT_9_COLOR="rgba(76, 217, 100, 0.9)",INFO_COLOR="#5AC8FA",INFO_TRANSPARENT_1_COLOR="rgba(90, 200, 250, 0.1)",INFO_TRANSPARENT_2_COLOR="rgba(90, 200, 250, 0.2)",INFO_TRANSPARENT_3_COLOR="rgba(90, 200, 250, 0.3)",INFO_TRANSPARENT_4_COLOR="rgba(90, 200, 250, 0.4)",INFO_TRANSPARENT_5_COLOR="rgba(90, 200, 250, 0.5)",INFO_TRANSPARENT_6_COLOR="rgba(90, 200, 250, 0.6)",INFO_TRANSPARENT_7_COLOR="rgba(90, 200, 250, 0.7)",INFO_TRANSPARENT_8_COLOR="rgba(90, 200, 250, 0.8)",INFO_TRANSPARENT_9_COLOR="rgba(90, 200, 250, 0.9)",WARNING_COLOR="#FF9500",WARNING_TRANSPARENT_1_COLOR="rgba(255, 149, 0, 0.1)",WARNING_TRANSPARENT_2_COLOR="rgba(255, 149, 0, 0.2)",WARNING_TRANSPARENT_3_COLOR="rgba(255, 149, 0, 0.3)",WARNING_TRANSPARENT_4_COLOR="rgba(255, 149, 0, 0.4)",WARNING_TRANSPARENT_5_COLOR="rgba(255, 149, 0, 0.5)",WARNING_TRANSPARENT_6_COLOR="rgba(255, 149, 0, 0.6)",WARNING_TRANSPARENT_7_COLOR="rgba(255, 149, 0, 0.7)",WARNING_TRANSPARENT_8_COLOR="rgba(255, 149, 0, 0.8)",WARNING_TRANSPARENT_9_COLOR="rgba(255, 149, 0, 0.9)",DANGER_COLOR="#FF3B30",DANGER_TRANSPARENT_1_COLOR="rgba(255, 59, 48, 0.1)",DANGER_TRANSPARENT_2_COLOR="rgba(255, 59, 48, 0.2)",DANGER_TRANSPARENT_3_COLOR="rgba(255, 59, 48, 0.3)",DANGER_TRANSPARENT_4_COLOR="rgba(255, 59, 48, 0.4)",DANGER_TRANSPARENT_5_COLOR="rgba(255, 59, 48, 0.5)",DANGER_TRANSPARENT_6_COLOR="rgba(255, 59, 48, 0.6)",DANGER_TRANSPARENT_7_COLOR="rgba(255, 59, 48, 0.7)",DANGER_TRANSPARENT_8_COLOR="rgba(255, 59, 48, 0.8)",DANGER_TRANSPARENT_9_COLOR="rgba(255, 59, 48, 0.9)",PINK_COLOR="#FF2D55",PINK_TRANSPARENT_1_COLOR="rgba(255, 45, 85, 0.1)",PINK_TRANSPARENT_2_COLOR="rgba(255, 45, 85, 0.2)",PINK_TRANSPARENT_3_COLOR="rgba(255, 45, 85, 0.3)",PINK_TRANSPARENT_4_COLOR="rgba(255, 45, 85, 0.4)",PINK_TRANSPARENT_5_COLOR="rgba(255, 45, 85, 0.5)",PINK_TRANSPARENT_6_COLOR="rgba(255, 45, 85, 0.6)",PINK_TRANSPARENT_7_COLOR="rgba(255, 45, 85, 0.7)",PINK_TRANSPARENT_8_COLOR="rgba(255, 45, 85, 0.8)",PINK_TRANSPARENT_9_COLOR="rgba(255, 45, 85, 0.9)",PURPLE_COLOR="#5856D6",PURPLE_TRANSPARENT_1_COLOR="rgba(88, 86, 214, 0.1)",PURPLE_TRANSPARENT_2_COLOR="rgba(88, 86, 214, 0.2)",PURPLE_TRANSPARENT_3_COLOR="rgba(88, 86, 214, 0.3)",PURPLE_TRANSPARENT_4_COLOR="rgba(88, 86, 214, 0.4)",PURPLE_TRANSPARENT_5_COLOR="rgba(88, 86, 214, 0.5)",PURPLE_TRANSPARENT_6_COLOR="rgba(88, 86, 214, 0.6)",PURPLE_TRANSPARENT_7_COLOR="rgba(88, 86, 214, 0.7)",PURPLE_TRANSPARENT_8_COLOR="rgba(88, 86, 214, 0.8)",PURPLE_TRANSPARENT_9_COLOR="rgba(88, 86, 214, 0.9)",YELLOW_COLOR="#FFCC00",YELLOW_TRANSPARENT_1_COLOR="rgba(255, 204, 0, 0.1)",YELLOW_TRANSPARENT_2_COLOR="rgba(255, 204, 0, 0.2)",YELLOW_TRANSPARENT_3_COLOR="rgba(255, 204, 0, 0.3)",YELLOW_TRANSPARENT_4_COLOR="rgba(255, 204, 0, 0.4)",YELLOW_TRANSPARENT_5_COLOR="rgba(255, 204, 0, 0.5)",YELLOW_TRANSPARENT_6_COLOR="rgba(255, 204, 0, 0.6)",YELLOW_TRANSPARENT_7_COLOR="rgba(255, 204, 0, 0.7)",YELLOW_TRANSPARENT_8_COLOR="rgba(255, 204, 0, 0.8)",YELLOW_TRANSPARENT_9_COLOR="rgba(255, 204, 0, 0.9)",INVERSE_COLOR="#000000",INVERSE_TRANSPARENT_1_COLOR="rgba(0, 0, 0, 0.1)",INVERSE_TRANSPARENT_2_COLOR="rgba(0, 0, 0, 0.2)",INVERSE_TRANSPARENT_3_COLOR="rgba(0, 0, 0, 0.3)",INVERSE_TRANSPARENT_4_COLOR="rgba(0, 0, 0, 0.4)",INVERSE_TRANSPARENT_5_COLOR="rgba(0, 0, 0, 0.5)",INVERSE_TRANSPARENT_6_COLOR="rgba(0, 0, 0, 0.6)",INVERSE_TRANSPARENT_7_COLOR="rgba(0, 0, 0, 0.7)",INVERSE_TRANSPARENT_8_COLOR="rgba(0, 0, 0, 0.8)",INVERSE_TRANSPARENT_9_COLOR="rgba(0, 0, 0, 0.9)",WHITE_COLOR="#FFFFFF",WHITE_TRANSPARENT_1_COLOR="rgba(255, 255, 255, 0.1)",WHITE_TRANSPARENT_2_COLOR="rgba(255, 255, 255, 0.2)",WHITE_TRANSPARENT_3_COLOR="rgba(255, 255, 255, 0.3)",WHITE_TRANSPARENT_4_COLOR="rgba(255, 255, 255, 0.4)",WHITE_TRANSPARENT_5_COLOR="rgba(255, 255, 255, 0.5)",WHITE_TRANSPARENT_6_COLOR="rgba(255, 255, 255, 0.6)",WHITE_TRANSPARENT_7_COLOR="rgba(255, 255, 255, 0.7)",WHITE_TRANSPARENT_8_COLOR="rgba(255, 255, 255, 0.8)",WHITE_TRANSPARENT_9_COLOR="rgba(255, 255, 255, 0.9)",handleSlimScroll=function(){"use strict";$("[data-scrollbar=true]").each(function(){generateSlimScroll($(this))})},generateSlimScroll=function(e){if(!$(e).attr("data-init")){var t=$(e).attr("data-height"),a={height:t=t||$(e).height(),alwaysVisible:!0};/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?($(e).css("height",t),$(e).css("overflow-x","scroll")):$(e).slimScroll(a),$(e).attr("data-init",!0)}},handleHeaderSearchBar=function(){$('[data-toggle="search-bar"]').live("click",function(e){e.preventDefault(),$(".header-search-bar").addClass("active"),$("body").append('<a href="javascript:;" data-dismiss="search-bar" id="search-bar-backdrop" class="search-bar-backdrop"></a>'),$("#search-bar-backdrop").fadeIn(200),setTimeout(function(){$("#header-search").focus()},200)}),$('[data-dismiss="search-bar"]').live("click",function(e){e.preventDefault(),$(".header-search-bar").addClass("inactive"),setTimeout(function(){$(".header-search-bar").removeClass("active inactive")},200),$("#search-bar-backdrop").fadeOut(function(){$(this).remove()})}),$.widget("custom.autocompletewithheader",$.ui.autocomplete,{_renderMenu:function(e,t){var a=this;$.each(t,function(t,i){a._renderItem(e,i),0==t&&e.prepend('<li class="ui-autocomplete-header">Suggested Search:</li>')})}});var e=["Report","Analytic","Product","Project","Sales","Mobile App Development","Build Website","Helper","Profile","Setting"];$("#header-search").autocompletewithheader({source:e,minLength:0}).on("focus",function(){$(this).autocompletewithheader("search")}),$("#header-search").autocompletewithheader("widget").addClass("search-bar-autocomplete animated fadeIn")},handleSidebarMenu=function(){"use strict";$(".sidebar .nav > .has-sub > a").click(function(){var e=$(this).next(".sub-menu");0===$(".page-sidebar-minified").length&&($(".sidebar .nav > li.has-sub > .sub-menu").not(e).slideUp(250,function(){$(this).closest("li").removeClass("expand")}),$(e).slideToggle(250,function(){var e=$(this).closest("li");$(e).hasClass("expand")?$(e).removeClass("expand"):$(e).addClass("expand")}))}),$(".sidebar .nav > .has-sub .sub-menu li.has-sub > a").click(function(){if(0===$(".page-sidebar-minified").length){var e=$(this).next(".sub-menu");$(e).slideToggle(250)}}),$('[data-click="sidebar-toggled"]').live("click",function(e){e.preventDefault();$("#page-container").hasClass("page-sidebar-toggled")?($("#page-container").removeClass("page-sidebar-toggled"),$(this).removeClass("active")):($("#page-container").addClass("page-sidebar-toggled"),$(this).addClass("active"))})},floatSubMenuTimeout,targetFloatMenu,handleMouseoverFloatSubMenu=function(e){clearTimeout(floatSubMenuTimeout)},handleMouseoutFloatSubMenu=function(e){floatSubMenuTimeout=setTimeout(function(){$(".float-sub-menu").remove()},250)},handleSidebarMinifyFloatMenu=function(){$(".float-sub-menu li.has-sub > a").live("click",function(){var e=$(this).next(".sub-menu");$(e).slideToggle(250,function(){var e=$(".float-sub-menu"),t=$(e).height()+20,a=($(e).offset(),$(e).attr("data-offset-top"));$(window).height()-a>t?$(".float-sub-menu").css({top:a,bottom:"auto",overflow:"initial"}):$(".float-sub-menu").css({bottom:0,overflow:"scroll"})})}),$(".sidebar .nav > li.has-sub > a").hover(function(){if($("#page-container").hasClass("page-sidebar-minified")){clearTimeout(floatSubMenuTimeout);var e=$(this).closest("li").find(".sub-menu").first();if(targetFloatMenu==this)return!1;targetFloatMenu=this;var t=$(e).html();if(t){var a=$(e).height()+20,i=$(this).offset().top-$(window).scrollTop(),n=$("#page-container").hasClass("page-sidebar-right")?"auto":60,o=$("#page-container").hasClass("page-sidebar-right")?60:"auto",s=$(window).height();0==$(".float-sub-menu").length?(t='<ul class="float-sub-menu" data-offset-top="'+i+'" onmouseover="handleMouseoverFloatSubMenu(this)" onmouseout="handleMouseoutFloatSubMenu(this)">'+t+"</ul>",$("body").append(t)):$(".float-sub-menu").html(t),s-i>a?$(".float-sub-menu").css({top:i,left:n,bottom:"auto",right:o}):$(".float-sub-menu").css({bottom:0,top:"auto",left:n,right:o})}else $(".float-sub-menu").remove(),targetFloatMenu=""}},function(){floatSubMenuTimeout=setTimeout(function(){$(".float-sub-menu").remove(),targetFloatMenu=""},250)})},handleDropdownClose=function(){$('[data-dropdown-close="false"]').live("click",function(e){e.stopPropagation()})},handleAppNotification=function(){$.extend({notification:function(e){var t=e.title?e.title:"",a=e.content?e.content:"",i=e.icon?e.icon:"",n=e.iconClass?e.iconClass:"",o=e.img?e.img:"",s=e.imgClass?e.imgClass:"",r=e.closeBtn?e.closeBtn:"",d=(e.closeBtnText&&e.closeBtnText,e.btn?e.btn:""),l=e.btnText?e.btnText:"",c=e.btnAttr?e.btnAttr:"",R=e.btnUrl?e.btnUrl:"#",_=e.autoclose?e.autoclose:"",g=e.autocloseTime?e.autocloseTime:5e3,h=e.class?e.class:"",b=e.inverseMode?"page-notification-inverse":"",N=t?'<h4 class="notification-title">'+t+"</h4>":"",T=a?'<p class="notification-desc">'+a+"</p>":"",A=i?'<div class="notification-media"><i class="'+i+" "+n+'"></i></div>':"";A=o?'<div class="notification-media"><img src="'+o+'" class="'+s+'"></i></div>':A;var u=d&&l?'<a href="'+R+'" '+c+">"+l+"</a>":"",O=r&&"disabled"==r?"":'<a href="#" data-dismiss="notification">Close</a>',p='<div class="page-notification '+h+" bounceInRight animated "+b+'">'+A+(N||T?'<div class="notification-info">'+N+T+"</div>":"")+('<div class="notification-btn '+(!u&&O||u&&!O?"single-btn":"")+'">'+u+O+"</div>")+"</div>";if(0===$("#page-notification-container").length&&$("body").append('<div id="page-notification-container" class="page-notification-container"></div>'),$("#page-notification-container").append(p),_){var f=$("#page-notification-container").find(".page-notification").last();setTimeout(function(){$(f).notification("destroy")},g)}}}),$('[data-toggle="notification"]').live("click",function(e){e.preventDefault();var t={title:$(this).attr("data-title")?$(this).attr("data-title"):"",content:$(this).attr("data-content")?$(this).attr("data-content"):"",icon:$(this).attr("data-icon")?$(this).attr("data-icon"):"",iconClass:$(this).attr("data-icon-class")?$(this).attr("data-icon-class"):"",img:$(this).attr("data-img")?$(this).attr("data-img"):"",imgClass:$(this).attr("data-img-class")?$(this).attr("data-img-class"):"",btn:$(this).attr("data-btn")?$(this).attr("data-btn"):"",btnText:$(this).attr("data-btn-text")?$(this).attr("data-btn-text"):"",btnAttr:$(this).attr("data-btn-attr")?$(this).attr("data-btn-attr"):"",btnUrl:$(this).attr("data-btn-url")?$(this).attr("data-btn-url"):"",autoclose:$(this).attr("data-autoclose")?$(this).attr("data-autoclose"):"",autocloseTime:$(this).attr("data-autoclose-time")?$(this).attr("data-autoclose-time"):"",customClass:$(this).attr("data-class")?$(this).attr("data-class"):"",inverseMode:$(this).attr("data-inverse-mode")?$(this).attr("data-inverse-mode"):""};$.notification(t)}),$('[data-dismiss="notification"]').live("click",function(e){e.preventDefault(),$(this).closest(".page-notification").fadeOut(function(){$(this).remove()})})},handleSettingCookie=function(){$("#setting_sidebar_inverse").live("change",function(){$(this).is(":checked")?(Cookies.set("sidebar-inverse","true"),$("#sidebar").addClass("sidebar-inverse")):(Cookies.set("sidebar-inverse","false"),$("#sidebar").removeClass("sidebar-inverse"))}),"false"==Cookies.get("sidebar-inverse")?($("#setting_sidebar_inverse").prop("checked",!1),$("#setting_sidebar_inverse").trigger("change")):($("#setting_sidebar_inverse").prop("checked",!0),$("#setting_sidebar_inverse").trigger("change")),$("#setting_sidebar_minified").live("change",function(){$(this).is(":checked")?(Cookies.set("sidebar-minified","true"),$("#page-container").addClass("page-sidebar-minified")):(Cookies.set("sidebar-minified","false"),$("#page-container").removeClass("page-sidebar-minified"))}),"true"==Cookies.get("sidebar-minified")?($("#setting_sidebar_minified").prop("checked",!0),$("#setting_sidebar_minified").trigger("change")):($("#setting_sidebar_minified").prop("checked",!1),$("#setting_sidebar_minified").trigger("change")),$("#setting_header_inverse").live("change",function(){$(this).is(":checked")?(Cookies.set("header-inverse","true"),$("#header").removeClass("navbar-default").addClass("navbar-inverse")):(Cookies.set("header-inverse","false"),$("#header").removeClass("navbar-inverse").addClass("navbar-default"))}),"false"==Cookies.get("header-inverse")?($("#setting_header_inverse").prop("checked",!1),$("#setting_header_inverse").trigger("change")):($("#setting_header_inverse").prop("checked",!0),$("#setting_header_inverse").trigger("change")),$("#setting_fixed_header").live("change",function(){$(this).is(":checked")?(Cookies.set("header-fixed","true"),$("#header").addClass("navbar-fixed-top"),$("#page-container").addClass("page-header-fixed")):($("#setting_fixed_sidebar").is(":checked")&&(alert("Default Header with Fixed Sidebar option is not supported. Proceed with Default Header with Default Sidebar."),$("#setting_fixed_sidebar").prop("checked",!1),$("#setting_fixed_sidebar").trigger("change")),Cookies.set("header-fixed","false"),$("#header").removeClass("navbar-fixed-top"),$("#page-container").removeClass("page-header-fixed"))}),"false"==Cookies.get("header-fixed")?($("#setting_fixed_header").prop("checked",!1),$("#setting_fixed_header").trigger("change")):($("#setting_fixed_header").prop("checked",!0),$("#setting_fixed_header").trigger("change")),$("#setting_fixed_sidebar").live("change",function(){$(this).is(":checked")?($("#setting_fixed_header").is(":checked")||(alert("Default Header with Fixed Sidebar option is not supported. Proceed with Fixed Header with Fixed Sidebar."),$("#setting_fixed_header").prop("checked",!0),$("#setting_fixed_header").trigger("change")),Cookies.set("sidebar-fixed","true"),$("#page-container").addClass("page-sidebar-fixed"),$('.sidebar [data-scrollbar="true"]').removeAttr("data-init"),generateSlimScroll($('.sidebar [data-scrollbar="true"]'))):(Cookies.set("sidebar-fixed","false"),$("#page-container").removeClass("page-sidebar-fixed"),$('.sidebar [data-scrollbar="true"]').slimScroll({destroy:!0}),$('.sidebar [data-scrollbar="true"]').removeAttr("style"))}),"false"==Cookies.get("sidebar-fixed")?($("#setting_fixed_sidebar").prop("checked",!1),$("#setting_fixed_sidebar").trigger("change")):($("#setting_fixed_sidebar").prop("checked",!0),$("#setting_fixed_sidebar").trigger("change"))},panelActionRunning=!1,handlePanelAction=function(){"use strict";if(panelActionRunning)return!1;panelActionRunning=!0,$(document).on("hover","[data-toggle=panel-remove]",function(e){$(this).attr("data-init")||($(this).tooltip({title:"Remove",placement:"bottom",trigger:"hover",container:"body"}),$(this).tooltip("show"),$(this).attr("data-init",!0))}),$(document).on("click","[data-toggle=panel-remove]",function(e){e.preventDefault(),$(this).tooltip("destroy"),$(this).closest(".panel").remove()}),$(document).on("hover","[data-toggle=panel-collapse]",function(e){$(this).attr("data-init")||($(this).tooltip({title:"Collapse / Expand",placement:"bottom",trigger:"hover",container:"body"}),$(this).tooltip("show"),$(this).attr("data-init",!0))}),$(document).on("click","[data-toggle=panel-collapse]",function(e){e.preventDefault(),$(this).closest(".panel").find(".panel-body").slideToggle()}),$(document).on("hover","[data-toggle=panel-reload]",function(e){$(this).attr("data-init")||($(this).tooltip({title:"Reload",placement:"bottom",trigger:"hover",container:"body"}),$(this).tooltip("show"),$(this).attr("data-init",!0))}),$(document).on("click","[data-toggle=panel-reload]",function(e){e.preventDefault();var t=$(this).closest(".panel");if(!$(t).hasClass("panel-loading")){var a=$(t).find(".panel-body");$(t).addClass("panel-loading"),$(a).prepend('<div class="panel-loading"><div class="spinner"></div></div>'),setTimeout(function(){$(t).removeClass("panel-loading"),$(t).find(".panel-loading").remove()},2e3)}}),$(document).on("hover","[data-toggle=panel-expand]",function(e){$(this).attr("data-init")||($(this).tooltip({title:"Expand / Compress",placement:"bottom",trigger:"hover",container:"body"}),$(this).tooltip("show"),$(this).attr("data-init",!0))}),$(document).on("click","[data-toggle=panel-expand]",function(e){e.preventDefault();var t=$(this).closest(".panel"),a=$(t).find(".panel-body"),i=40;if(0!==$(a).length){var n=$(t).offset().top;i=$(a).offset().top-n}if($("body").hasClass("panel-expand")&&$(t).hasClass("panel-expand"))$("body, .panel").removeClass("panel-expand"),$(".panel").removeAttr("style"),$(a).removeAttr("style");else if($("body").addClass("panel-expand"),$(this).closest(".panel").addClass("panel-expand"),0!==$(a).length&&40!=i){var o=40;$(t).find(" > *").each(function(){var e=$(this).attr("class");"panel-heading"!=e&&"panel-body"!=e&&(o+=$(this).height()+30)}),40!=o&&$(a).css("top",o+"px")}$(window).trigger("resize")})},handelTooltipPopoverActivation=function(){"use strict";0!==$('[data-toggle="tooltip"]').length&&$("[data-toggle=tooltip]").tooltip(),0!==$('[data-toggle="popover"]').length&&$("[data-toggle=popover]").popover()},handleScrollToTopButton=function(){"use strict";$(document).scroll(function(){$(document).scrollTop()>=200?$("[data-click=scroll-top]").addClass("in"):$("[data-click=scroll-top]").removeClass("in")}),$(".content").scroll(function(){$(".content").scrollTop()>=200?$("[data-click=scroll-top]").addClass("in"):$("[data-click=scroll-top]").removeClass("in")}),$("[data-click=scroll-top]").click(function(e){e.preventDefault(),$("html, body, .content").animate({scrollTop:$("body").offset().top},500)})},App=function(){"use strict";return{init:function(){this.initSidebar(),this.initHeader(),this.initComponent(),this.initCookie()},initSidebar:function(){handleSidebarMinifyFloatMenu(),handleSidebarMenu()},initHeader:function(){handleHeaderSearchBar()},initComponent:function(){handleSlimScroll(),handlePanelAction(),handelTooltipPopoverActivation(),handleScrollToTopButton(),handleDropdownClose(),handleAppNotification()},initCookie:function(){handleSettingCookie()},scrollTop:function(){$("html, body, .content").animate({scrollTop:$("body").offset().top},0)}}}();