text: //     HR Time Picker
  //     (c) 2017 Md Hidaytullah Rahmani
  //     HR Time Picker may be freely distributed under the MIT license.
  //     For all details and documentation:
  //     https://github.com/hidaytrahman/hr-timePicker
  
  $.fn.hrTimePicker=function(a){var c,d,e,b=$.extend({disableColor:"#989c9c",enableColor:"#ff5722",arrowTopSymbol:"&#9650;",arrowBottomSymbol:"&#9660;",hoursPos:684},a);c=new Date,d=c.getHours(),e=c.getMinutes()/*,$(".picked-time").val(d+":"+e)*/;var f,g,h,i,j;f=".hr-time-picker",g=".hr-timer",h=f+" "+g,i=".hours",j=".minutes",$(".picked-time-wrapper .picked-time").on("click",function(){$(this).parent().next().slideToggle()}),$(h+i).prepend('<span class="time-type" title="Current Hours : '+d+'">HH</span>'),$(h+j).prepend('<span class="time-type" title="Current Minutes : '+e+'">MM</span>'),$(".pick-time-now").append('<div class="set-time-wrapper"><a href="javascript:void(0);">Set It</a></div><div class="set-time-wrapper"><a href="javascript:void(0);" id="settimenow">Send Now</a></div>'),$(".set-time-wrapper a").on("click",function(){$(this).parents(".pick-time-now").hide()});for(var k,l,m=0;m<=23;m++)k=m<=9?"0":"",l=d==m?"current-hour":"normal-hour",$(i+" ul").append("<li class='"+l+"' data-value='"+m+"'>"+k+m+"</li>");for(var n,m=0;m<=59;m+=10)k=m<=9?"0":"",n=d==m?"current-minutes":"normal-minutes",$(j+" ul").append("<li class='"+n+"' data-value='"+k+m+"'>"+k+m+"</li>");var p,q;p="arrow-top",q="arrow-bottom",$(g+i+" .movable-area").before('<span class="'+p+'">'+b.arrowTopSymbol+"</span>"),$(g+i+" .movable-area").after('<span class="'+q+'">'+b.arrowBottomSymbol+"</span>"),$("."+p+",."+q).css("color",b.enableColor);var r=0;$(h+" span").on("click",function(){var a=$(h+".hours li").innerHeight();0==r?$("."+q).css({color:b.disableColor,cursor:"not-allowed"}):$("."+q).css({color:b.enableColor,cursor:"pointer"}),r==b.hoursPos?$("."+p).css({color:b.disableColor,cursor:"not-allowed"}):$("."+p).css({color:b.enableColor,cursor:"pointer"}),r!=b.hoursPos&&this.className===p&&(r+=a+1),0!=r&&this.className===q&&(r-=a+1),$(h+i+" ul").css({top:-r+"px",bottom:"auto"})}),$(f).on("click",i+" li,"+j+" li",function(){var b=($(this).text(),$(".picked-time")),c=b.val().split(":"),d=c[0],e=c[1],h="";$(this).closest("ul").is(f+" "+i+" ul")?(this.textContent,d=this.textContent,h=d+":"+e,b.val(h),$(this).parents(i+g).find("li").removeClass("current-hour"),$(this).addClass("current-hour")):(this.textContent,e=this.textContent,h=d+":"+e,b.val(h),$(this).parents(j+g).find("li").removeClass("current-minutes"),$(this).addClass("current-minutes"))})};