"use strict";function toggleFullScreen(){$(window).height();document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}$(document).ready(function(){$(".card-header-right .close-card").on("click",function(){var e=$(this);e.parents(".card").animate({opacity:"0","-webkit-transform":"scale3d(.3, .3, .3)",transform:"scale3d(.3, .3, .3)"}),setTimeout(function(){e.parents(".card").remove()},800)}),$(".card-header-right .reload-card").on("click",function(){var e=$(this);e.parents(".card").addClass("card-load"),e.parents(".card").append('
'),setTimeout(function(){e.parents(".card").children(".card-loader").remove(),e.parents(".card").removeClass("card-load")},3e3)}),$(".card-header-right .card-option .open-card-option").on("click",function(){var e=$(this);e.hasClass("fa-times")?(e.parents(".card-option").animate({width:"30px"}),$(this).removeClass("fa-times").fadeIn("slow"),$(this).addClass("fa-wrench").fadeIn("slow")):(e.parents(".card-option").animate({width:"140px"}),$(this).addClass("fa-times").fadeIn("slow"),$(this).removeClass("fa-wrench").fadeIn("slow"))}),$(".card-header-right .minimize-card").on("click",function(){var e=$(this),t=$(e.parents(".card"));$(t).children(".card-block").slideToggle();$(this).toggleClass("fa-minus").fadeIn("slow"),$(this).toggleClass("fa-plus").fadeIn("slow")}),$(".card-header-right .full-card").on("click",function(){var e=$(this);$(e.parents(".card")).toggleClass("full-card"),$(this).toggleClass("fa-window-restore")}),$("#more-details").on("click",function(){$(".more-details").slideToggle(500)}),$(".mobile-options").on("click",function(){$(".navbar-container .nav-right").slideToggle("slow")}),$(".search-btn").on("click",function(){$(".main-search").addClass("open"),$(".main-search .form-control").animate({width:"200px"})}),$(".search-close").on("click",function(){$(".main-search .form-control").animate({width:"0"}),setTimeout(function(){$(".main-search").removeClass("open")},300)}),$(document).ready(function(){$(".header-notification").click(function(){$(this).find(".show-notification").slideToggle(500),$(this).toggleClass("active")})}),$(document).on("click",function(e){var t=$(".header-notification");t===e.target||t.has(e.target).length||($(".show-notification").slideUp(300),$(".header-notification").removeClass("active"))}),$.mCustomScrollbar.defaults.axis="yx",$("#styleSelector .style-cont").slimScroll({setTop:"1px",height:"calc(100vh - 520px)"}),$(".main-menu").mCustomScrollbar({setTop:"1px",setHeight:"calc(100% - 56px)"});var e=$(window).height()-80;$(".main-friend-list").slimScroll({height:e,allowPageScroll:!1,wheelStep:5,color:"#1b8bf9"}),$("#search-friends").on("keyup",function(){var e=$(this).val().toLowerCase();$(".userlist-box .media-body .chat-header").each(function(){var t=$(this).text().toLowerCase();$(this).closest(".userlist-box")[-1!==t.indexOf(e)?"show":"hide"]()})}),$(".displayChatbox").on("click",function(){if("right"==$(".pcoded").attr("vertical-placement"))var e={direction:"left"};else e={direction:"right"};$(".showChat").toggle("slide",e,500)}),$(".userlist-box").on("click",function(){if("right"==$(".pcoded").attr("vertical-placement"))var e={direction:"left"};else e={direction:"right"};$(".showChat_inner").toggle("slide",e,500)}),$(".back_chatBox").on("click",function(){if("right"==$(".pcoded").attr("vertical-placement"))var e={direction:"left"};else e={direction:"right"};$(".showChat_inner").toggle("slide",e,500),$(".showChat").css("display","block")}),$(".back_friendlist").on("click",function(){if("right"==$(".pcoded").attr("vertical-placement"))var e={direction:"left"};else e={direction:"right"};$(".p-chat-user").toggle("slide",e,500),$(".showChat").css("display","block")}),$('[data-toggle="tooltip"]').tooltip(),Waves.init(),Waves.attach(".flat-buttons",["waves-button"]),Waves.attach(".float-buttons",["waves-button","waves-float"]),Waves.attach(".float-button-light",["waves-button","waves-float","waves-light"]),Waves.attach(".flat-buttons",["waves-button","waves-float","waves-light","flat-buttons"])}),$(document).ready(function(){$(".theme-loader").animate({opacity:"0"},1e3),setTimeout(function(){$(".theme-loader").remove()},1e3)}),$("#styleSelector").append('Material able Customizer
Live customizer with tons of optionsMain layouts
Header color
Navbar image
Active link color
Menu Caption Color
');