text: /*!
   * Dashmix - v2.1.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2019
   */
  !function(t){var r={};function a(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=t,a.c=r,a.d=function(t,r,n){a.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,r){if(1&r&&(t=a(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)a.d(n,o,function(r){return t[r]}.bind(null,o));return n},a.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(r,"a",r),r},a.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},a.p="",a(a.s=44)}({44:function(t,r,a){t.exports=a(45)},45:function(t,r){function a(t,r){for(var a=0;a<r.length;a++){var n=r[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var n=function(){function t(){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t)}var r,n,o;return r=t,o=[{key:"initLiveSparklines",value:function(){this._updateCpuInterval=1e3,this._updateRamInterval=3e3,this._normalColor="#9c9c9c",this._normalFill="rgba(0,0,0,.05)",this._warningColor="#ffb119",this._warningFill="rgba(255,177,25,.1)",this._dangerColor="#de4f28",this._dangerFill="rgba(224,79,26,.1)",this._chartCpu=jQuery("#dm-gaming-sl-cpu"),this._chartCpuCurrent=jQuery("#dm-gaming-sl-cpu-current"),this._chartRam=jQuery("#dm-gaming-sl-ram"),this._chartRamCurrent=jQuery("#dm-gaming-sl-ram-current")}},{key:"updateChartCpu",value:function(){var t=this,r=t._chartCpu.data("points"),a=(r[r.length-1],t.getRandomInt(15,85));r.shift(),r.push(a),a>=0&&a<=33?t._chartCpu.data("line-color",t._normalColor).data("fill-color",t._normalFill).data("highlight-spot-color",t._normalColor).data("highlight-line-color",t._normalColor):a>33&&a<=66?t._chartCpu.data("line-color",t._warningColor).data("fill-color",t._warningFill).data("highlight-spot-color",t._warningColor).data("highlight-line-color",t._warningColor):t._chartCpu.data("line-color",t._dangerColor).data("fill-color",t._dangerFill).data("highlight-spot-color",t._dangerColor).data("highlight-line-color",t._dangerColor),t._chartCpu.removeClass("js-sparkline-enabled").data("points",r),Dashmix.helpers("sparkline"),t._chartCpuCurrent.text(a),setTimeout(function(){return t.updateChartCpu()},t._updateCpuInterval)}},{key:"updateChartRam",value:function(){var t=this,r=this._chartRam.data("points"),a=(r[r.length-1],t.getRandomInt(150,850));r.shift(),r.push(a),a>=0&&a<=330?t._chartRam.data("line-color",t._normalColor).data("fill-color",t._normalFill).data("highlight-spot-color",t._normalColor).data("highlight-line-color",t._normalColor):a>330&&a<=660?t._chartRam.data("line-color",t._warningColor).data("fill-color",t._warningFill).data("highlight-spot-color",t._warningColor).data("highlight-line-color",t._warningColor):t._chartRam.data("line-color",t._dangerColor).data("fill-color",t._dangerFill).data("highlight-spot-color",t._dangerColor).data("highlight-line-color",t._dangerColor),t._chartRam.removeClass("js-sparkline-enabled").data("points",r),Dashmix.helpers("sparkline"),t._chartRamCurrent.text(a),setTimeout(function(){return t.updateChartRam()},t._updateRamInterval)}},{key:"getRandomInt",value:function(t,r){return Math.floor(Math.random()*(r-t+1)+t)}},{key:"init",value:function(){this.initLiveSparklines(),this.updateChartCpu(),this.updateChartRam()}}],(n=null)&&a(r.prototype,n),o&&a(r,o),t}();jQuery(function(){n.init()})}});