if(void 0===MMONIT||!MMONIT)var MMONIT={};MMONIT.ui={hfbyte:function(a,t,f){var n,r=["","k","M","G","T","P","E","Z"];for(n=0;n<r.length&&Math.abs(a)>f;n++)a/=f;return(n>0?MMONIT.math.round(a,t):Math.round(a))+" "+r[n]+(1024==f?"B":"b")},hftime:function(a,t){var f,n=[{base:1e3,suffix:"ms"},{base:60,suffix:"s"},{base:60,suffix:"m"},{base:60,suffix:"h"}];for(f=0;f<n.length-1&&Math.abs(a)>=n[f].base;f++)a/=n[f].base;return MMONIT.math.round(a,t)+" "+n[f].suffix},location:function(a){var t=window.location.href.split("?")[0];return"/"!=t.charAt(t.length-1)&&(t+="/"),t+a}};