returnthis;};Date._validate=function(value,min,max,name){if(typeofvalue!="number"){thrownewTypeError(value+" is not a Number.");}elseif(value<min||value>max){thrownewRangeError(value+" is not a valid value for "+name+".");}
Date.now=function(){returnnewDate();};Date.today=function(){returnDate.now().clearTime();};Date.prototype._orient=+1;Date.prototype.next=function(){this._orient=+1;returnthis;};Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){this._orient=-1;returnthis;};Date.prototype._is=false;Date.prototype.is=function(){this._is=true;returnthis;};Number.prototype._dateElement="day";Number.prototype.fromNow=function(){varc={};c[this._dateElement]=this;returnDate.now().add(c);};Number.prototype.ago=function(){varc={};c[this._dateElement]=this*-1;returnDate.now().add(c);};(function(){var$D=Date.prototype,$N=Number.prototype;vardx=("sunday monday tuesday wednesday thursday friday saturday").split(/\s/),mx=("january february march april may june july august september october november december").split(/\s/),px=("Millisecond Second Minute Hour Day Week Month Year").split(/\s/),de;vardf=function(n){returnfunction(){if(this._is){this._is=false;returnthis.getDay()==n;}
(function(){Date.Parsing={Exception:function(s){this.message="Parse error at '"+s.substring(0,10)+" ...'";}};var$P=Date.Parsing;var_=$P.Operators={rtoken:function(r){returnfunction(s){varmx=s.match(r);if(mx){return([mx[0],s.substring(mx[0].length)]);}else{thrownew$P.Exception(s);}};},token:function(s){returnfunction(s){return_.rtoken(newRegExp("^\s*"+s+"\s*"))(s);};},stoken:function(s){return_.rtoken(newRegExp("^"+s));},until:function(p){returnfunction(s){varqx=[],rx=null;while(s.length){try{rx=p.call(this,s);}catch(e){qx.push(rx[0]);s=rx[1];continue;}
if(args){for(vari=0,px=args.shift();i<px.length;i++){args.unshift(px[i]);rx.push(op.apply(null,args));args.shift();returnrx;}}else{returnop.apply(null,arguments);}};};vargx="optional not ignore cache".split(/\s/);for(vari=0;i<gx.length;i++){_[gx[i]]=_generator(_[gx[i]]);}
var_vector=function(op){returnfunction(){if(arguments[0]instanceofArray){returnop.apply(null,arguments[0]);}else{returnop.apply(null,arguments);}};};varvx="each any all".split(/\s/);for(varj=0;j<vx.length;j++){_[vx[j]]=_vector(_[vx[j]]);}}());(function(){varflattenAndCompact=function(ax){varrx=[];for(vari=0;i<ax.length;i++){if(ax[i]instanceofArray){rx=rx.concat(flattenAndCompact(ax[i]));}else{if(ax[i]){rx.push(ax[i]);}}}
this.hour=(this.meridian=="p"&&this.hour<13)?this.hour+12:this.hour;if(this.day>Date.getDaysInMonth(this.year,this.month)){thrownewRangeError(this.day+" is not a valid value for days.");}
returnfn;};g.ctoken2=function(key){return_.rtoken(Date.CultureInfo.regexPatterns[key]);};g.h=_.cache(_.process(_.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour));g.hh=_.cache(_.process(_.rtoken(/^(0[0-9]|1[0-2])/),t.hour));g.H=_.cache(_.process(_.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour));g.HH=_.cache(_.process(_.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour));g.m=_.cache(_.process(_.rtoken(/^([0-5][0-9]|[0-9])/),t.minute));g.mm=_.cache(_.process(_.rtoken(/^[0-5][0-9]/),t.minute));g.s=_.cache(_.process(_.rtoken(/^([0-5][0-9]|[0-9])/),t.second));g.ss=_.cache(_.process(_.rtoken(/^[0-5][0-9]/),t.second));g.hms=_.cache(_.sequence([g.H,g.mm,g.ss],g.timePartDelimiter));g.t=_.cache(_.process(g.ctoken2("shortMeridian"),t.meridian));g.tt=_.cache(_.process(g.ctoken2("longMeridian"),t.meridian));g.z=_.cache(_.process(_.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone));g.zz=_.cache(_.process(_.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone));g.zzz=_.cache(_.process(g.ctoken2("timezone"),t.timezone));g.timeSuffix=_.each(_.ignore(g.whiteSpace),_.set([g.tt,g.zzz]));g.time=_.each(_.optional(_.ignore(_.stoken("T"))),g.hms,g.timeSuffix);g.d=_.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1]|\d)/),_.optional(g.ctoken2("ordinalSuffix"))),t.day));g.dd=_.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1])/),_.optional(g.ctoken2("ordinalSuffix"))),t.day));g.ddd=g.dddd=_.cache(_.process(g.ctoken("sun mon tue wed thu fri sat"),function(s){returnfunction(){this.weekday=s;};}));g.M=_.cache(_.process(_.rtoken(/^(1[0-2]|0\d|\d)/),t.month));g.MM=_.cache(_.process(_.rtoken(/^(1[0-2]|0\d)/),t.month));g.MMM=g.MMMM=_.cache(_.process(g.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month));g.y=_.cache(_.process(_.rtoken(/^(\d\d?)/),t.year));g.yy=_.cache(_.process(_.rtoken(/^(\d\d)/),t.year));g.yyy=_.cache(_.process(_.rtoken(/^(\d\d?\d?\d?)/),t.year));g.yyyy=_.cache(_.process(_.rtoken(/^(\d\d\d\d)/),t.year));_fn=function(){return_.each(_.any.apply(null,arguments),_.not(g.ctoken2("timeContext")));};g.day=_fn(g.d,g.dd);g.month=_fn(g.M,g.MMM);g.year=_fn(g.yyyy,g.yy);g.orientation=_.process(g.ctoken("past future"),function(s){returnfunction(){this.orient=s;};});g.operator=_.process(g.ctoken("add subtract"),function(s){returnfunction(){this.operator=s;};});g.rday=_.process(g.ctoken("yesterday tomorrow today now"),t.rday);g.unit=_.process(g.ctoken("minute hour day week month year"),function(s){returnfunction(){this.unit=s;};});g.value=_.process(_.rtoken(/^\d\d?(st|nd|rd|th)?/),function(s){returnfunction(){this.value=s.replace(/\D/g,"");};});g.expression=_.set([g.rday,g.operator,g.value,g.unit,g.orientation,g.ddd,g.MMM]);_fn=function(){return_.set(arguments,g.datePartDelimiter);};g.mdy=_fn(g.ddd,g.month,g.day,g.year);g.ymd=_fn(g.ddd,g.year,g.month,g.day);g.dmy=_fn(g.ddd,g.day,g.month,g.year);g.date=function(s){return((g[Date.CultureInfo.dateElementOrder]||g.mdy).call(this,s));};g.format=_.process(_.many(_.any(_.process(_.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(fmt){if(g[fmt]){returng[fmt];}else{throwDate.Parsing.Exception(fmt);}}),_.process(_.rtoken(/^[^dMyhHmstz]+/),function(s){return_.ignore(_.stoken(s));}))),function(rules){return_.process(_.each.apply(null,rules),t.finishExact);});var_F={};var_get=function(f){return_F[f]=(_F[f]||g.format(f)[0]);};g.formats=function(fx){if(fxinstanceofArray){varrx=[];for(vari=0;i<fx.length;i++){rx.push(_get(fx[i]));}
$y=$m=$d=null;returnw;};$P.getISOWeek=function(){$y=this.getUTCFullYear();$m=this.getUTCMonth()+1;$d=this.getUTCDate();returnp(this.getWeek());};$P.setWeek=function(n){returnthis.moveToDayOfWeek(1).addWeeks(n-this.getWeek());};$D._validate=function(n,min,max,name){if(typeofn=="undefined"){returnfalse;}elseif(typeofn!="number"){thrownewTypeError(n+" is not a Number.");}elseif(n<min||n>max){thrownewRangeError(n+" is not a valid value for "+name+".");}
<selectclass="input-small"ng-model="panel.micropanel_position"ng-options="f for f in ['top','right','bottom','left']"ng-change="reload_list();"></select></span>