$(document).ready((function(){var i=!1;"rtl"==$("html").data("textdirection")&&(i=!0),$(".knob").knob({rtl:i,change:function(t){},release:function(t){},cancel:function(){},draw:function(){if("tron"==this.$.data("skin")){this.cursorExt=.3;var t,i=this.arc(this.cv);return this.g.lineWidth=this.lineWidth,this.o.displayPrevious&&(t=this.arc(this.v),this.g.beginPath(),this.g.strokeStyle=this.pColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,t.s,t.e,t.d),this.g.stroke()),this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,i.s,i.e,i.d),this.g.stroke(),this.g.lineWidth=2,this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+2*this.lineWidth/3,0,2*Math.PI,!1),this.g.stroke(),!1}}}),function i(){var h=$(".second"),s=$(".minute"),e=$(".hour"),n=new Date,r=n.getSeconds(),o=n.getMinutes(),a=n.getHours();h.val(r).trigger("change"),s.val(o).trigger("change"),e.val(a).trigger("change"),t=setTimeout((function(){i()}),1e3)}();var h,s=0,e=0,n=0,r=$(".idir"),o=$(".ival");$(".infinite").knob({min:0,max:20,stopper:!1,change:function(){h>this.cv?s?(n--,r.show().html("-").fadeOut(),o.html(n),s=0):(s=1,e=0):h