"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 .fa-chevron-left").on("click",function(){var e=$(this);e.hasClass("fa-chevron-right")?e.parents(".card-option").animate({width:"35px"}):e.parents(".card-option").animate({width:"190px"}),$(this).toggleClass("fa-chevron-right").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")}),$(".card-header-right .icofont-spinner-alt-5").on("mouseenter mouseleave",function(){$(this).toggleClass("rotate-refresh").fadeIn("slow")}),$("#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 - 495px)"}),$(".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")}),$(function(){$('[data-toggle="tooltip"]').tooltip()})}),$(document).ready(function(){$(".theme-loader").animate({opacity:"0"},1e3),setTimeout(function(){$(".theme-loader").remove()},800)});
/* --------------------------------------------------------
Color picker - demo only
-------------------------------------------------------- */
$('#styleSelector').append('' +
'' +
'' +
'- ' +
'
Gradient able Customizer
' +
'Live customizer with tons of options'+
' ' +
'- ' +
'
Main layouts
' +
' ' +
'- ' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
' ' +
'
' +
'' +
'
' +
'
' +
'
' +
'
' +
'- ' +
'
' +
'' +
'
' +
' ' +
'- ' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
' ' +
'- ' +
'
' +
'' +
'
' +
' ' +
'- ' +
'
' +
'' +
'
' +
' ' +
'
' +
'
' +
'' +
'
' +
'- ' +
'
Header color
' +
' ' +
'- ' +
'Dark' +
'
' +
'- ' +
'
' +
'' +
'' +
'' +
'' +
'' +
'' +
'
' +
' ' +
'- ' +
'light' +
'
' +
'- ' +
'
' +
'' +
'' +
'' +
'' +
'' +
'' +
'
' +
' ' +
'- ' +
'
Navbar image
' +
' ' +
'- ' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
' ' +
'- ' +
'
Active link color
' +
' ' +
'- ' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
' ' +
'- ' +
'
Menu Caption Color
' +
' ' +
'- ' +
'
' +
'' +
'' +
'' +
'' +
'' +
'' +
'
' +
' ' +
'
' +
'
' +
'
' +
''+
'');