$.fn.scrollToBottom=function(){return this.scrollTop(this[0].scrollHeight),this},jQuery("#alert").click(function(){return alert("Hello!"),!1}),function(l){l(document).on("idle.idleTimer",function(t,e,o){l("#docStatus").val(function(t,e){return e+"Idle @ "+moment().format()+" \n"}).removeClass("alert-soft-success").addClass("alert-soft-secondary").scrollToBottom()}),l(document).on("active.idleTimer",function(t,e,o,s){l("#docStatus").val(function(t,e){return e+"Active ["+s.type+"] ["+s.target.nodeName+"] @ "+moment().format()+" \n"}).addClass("alert-soft-success").removeClass("alert-soft-secondary").scrollToBottom()}),l("#btPause").click(function(){return l(document).idleTimer("pause"),l("#docStatus").val(function(t,e){return e+"Paused @ "+moment().format()+" \n"}).scrollToBottom(),l(this).blur(),!1}),l("#btResume").click(function(){return l(document).idleTimer("resume"),l("#docStatus").val(function(t,e){return e+"Resumed @ "+moment().format()+" \n"}).scrollToBottom(),l(this).blur(),!1}),l("#btElapsed").click(function(){return l("#docStatus").val(function(t,e){return e+"Elapsed (since becoming active): "+l(document).idleTimer("getElapsedTime")+" \n"}).scrollToBottom(),l(this).blur(),!1}),l("#btDestroy").click(function(){return l(document).idleTimer("destroy"),l("#docStatus").val(function(t,e){return e+"Destroyed: @ "+moment().format()+" \n"}).removeClass("alert-soft-success").removeClass("alert-soft-secondary").scrollToBottom(),l(this).blur(),!1}),l("#btInit").click(function(){return l(document).idleTimer({timeout:5e3}),l("#docStatus").val(function(t,e){return e+"Init: @ "+moment().format()+" \n"}).scrollToBottom(),l(document).idleTimer("isIdle")?l("#docStatus").removeClass("alert-soft-success").addClass("alert-soft-secondary"):l("#docStatus").addClass("alert-soft-success").removeClass("alert-soft-secondary"),l(this).blur(),!1}),l("#docStatus").val(""),l(document).idleTimer({timeout:5e3,timerSyncId:"document-timer-demo"}),l(document).idleTimer("isIdle")?l("#docStatus").val(function(t,e){return e+"Initial Idle State @ "+moment().format()+" \n"}).removeClass("alert-soft-success").addClass("alert-soft-secondary").scrollToBottom():l("#docStatus").val(function(t,e){return e+"Initial Active State @ "+moment().format()+" \n"}).addClass("alert-soft-success").removeClass("alert-soft-secondary").scrollToBottom(),l("#docTimeout").text(5)}(jQuery),function(s){s("#elStatus").on("idle.idleTimer",function(t,e,o){t.stopPropagation(),s("#elStatus").val(function(t,e){return e+"Idle @ "+moment().format()+" \n"}).removeClass("alert-soft-success").addClass("alert-soft-secondary").scrollToBottom()}),s("#elStatus").on("active.idleTimer",function(t){t.stopPropagation(),s("#elStatus").val(function(t,e){return e+"Active @ "+moment().format()+" \n"}).addClass("alert-soft-success").removeClass("alert-soft-secondary").scrollToBottom()}),s("#btReset").click(function(){return s("#elStatus").idleTimer("reset").val(function(t,e){return e+"Reset @ "+moment().format()+" \n"}).scrollToBottom(),s("#elStatus").idleTimer("isIdle")?s("#elStatus").removeClass("alert-soft-success").addClass("alert-soft-secondary"):s("#elStatus").addClass("alert-soft-success").removeClass("alert-soft-secondary"),s(this).blur(),!1}),s("#btRemaining").click(function(){return s("#elStatus").val(function(t,e){return e+"Remaining: "+s("#elStatus").idleTimer("getRemainingTime")+" \n"}).scrollToBottom(),s(this).blur(),!1}),s("#btLastActive").click(function(){return s("#elStatus").val(function(t,e){return e+"LastActive: "+s("#elStatus").idleTimer("getLastActiveTime")+" \n"}).scrollToBottom(),s(this).blur(),!1}),s("#btState").click(function(){return s("#elStatus").val(function(t,e){return e+"State: "+(s("#elStatus").idleTimer("isIdle")?"idle":"active")+" \n"}).scrollToBottom(),s(this).blur(),!1}),s("#elStatus").val("").idleTimer({timeout:3e3,timerSyncId:"element-timer-demo"}),s("#elStatus").idleTimer("isIdle")?s("#elStatus").val(function(t,e){return e+"Initial Idle @ "+moment().format()+" \n"}).removeClass("alert-soft-success").addClass("alert-soft-secondary").scrollToBottom():s("#elStatus").val(function(t,e){return e+"Initial Active @ "+moment().format()+" \n"}).addClass("alert-soft-success").removeClass("alert-soft-secondary").scrollToBottom(),s("#elTimeout").text(3)}(jQuery);