$.root_=$("body"),$.navAsAjax=!1,$.sound_path="sound/",$.sound_on=!0;var root=this,debugState=!1,debugStyle="font-weight: bold; color: #00f;",debugStyle_green="font-weight: bold; font-style:italic; color: #46C246;",debugStyle_red="font-weight: bold; color: #ed1c24;",debugStyle_warning="background-color:yellow",debugStyle_success="background-color:green; font-weight:bold; color:#fff;",debugStyle_error="background-color:#ed1c24; font-weight:bold; color:#fff;",throttle_delay=350,menu_speed=235,menu_accordion=!0,enableJarvisWidgets=!0,localStorageJarvisWidgets=!0,sortableJarvisWidgets=!0,enableMobileWidgets=!1,fastClick=!1,boxList=[],showList=[],nameList=[],idList=[],chatbox_config={width:200,gap:35},ignore_key_elms=["#header, #left-panel, #right-panel, #main, div.page-footer, #shortcut, #divSmallBoxes, #divMiniIcons, #divbigBoxes, #voiceModal, script, .ui-chatbox"],voice_command=!0,voice_command_auto=!1,voice_command_lang="en-US",voice_localStorage=!0;function waitit(e){return new Promise(t=>{if(document.querySelector(e))return t(document.querySelector(e));let o=new MutationObserver(n=>{document.querySelector(e)&&(o.disconnect(),t(document.querySelector(e)))});o.observe(document.body,{childList:!0,subtree:!0})})}$(document).ready(function(){var e;pageSetUp(),$("header#header").detach().insertBefore("body>*:first"),$(".js-status-update a").click(function(){var e=$(this).text(),t=$(this);t.parents(".btn-group").find(".dropdown-toggle").html(e+' <span class="caret"></span>'),t.parents(".dropdown-menu").find("li").removeClass("active"),t.parent().addClass("active")}),$.filter_input=$("#filter-chat-list"),$.chat_users_container=$("#chat-container > .chat-list-body"),$.chat_users=$("#chat-users"),$.chat_list_btn=$("#chat-container > .chat-list-open-close"),$.chat_body=$("#chat-body"),jQuery.expr[":"].Contains=function(e,t,o){return(e.textContent||e.innerText||"").toUpperCase().indexOf(o[3].toUpperCase())>=0},$.chat_users,$.filter_input.change(function(){var e=$(this).val();return e?($.chat_users.find("a:not(:Contains("+e+"))").parent().slideUp(),$.chat_users.find("a:Contains("+e+")").parent().slideDown()):$.chat_users.find("li").slideDown(),!1}).keyup(function(){$(this).change()}),$.chat_list_btn.click(function(){$(this).parent("#chat-container").toggleClass("open")}),$.chat_body.animate({scrollTop:$.chat_body[0].scrollHeight},500)});
