1var DateFormatter;!function(){"use strict";var _compare=function(str1,str2){return"string"==typeof str1&&"string"==typeof str2&&str1.toLowerCase()===str2.toLowerCase()},_lpad=function(value,length,char){char=char||"0",value=value.toString();return value.length<length?_lpad(char+value,length):value},_extend=function(out){var i,obj;for(out=out||{},i=1;i<arguments.length;i++)if(obj=arguments[i])for(var key in obj)obj.hasOwnProperty(key)&&("object"==typeof obj[key]?_extend(out[key],obj[key]):out[key]=obj[key]);return out},defaultSettings={dateSettings:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["AM","PM"],ordinal:function(number){var n=number%10,suffixes={1:"st",2:"nd",3:"rd"};return 1!==Math.floor(number%100/10)&&suffixes[n]?suffixes[n]:"th"}},separators:/[ \-+\/\.T:@]/g,validParts:/[dDjlNSwzWFmMntLoYyaABgGhHisueTIOPZcrU]/g,intParts:/[djwNzmnyYhHgGis]/g,tzParts:/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,tzClip:/[^-+\dA-Z]/g};(DateFormatter=function(options){options=_extend(defaultSettings,options);this.dateSettings=options.dateSettings,this.separators=options.separators,this.validParts=options.validParts,this.intParts=options.intParts,this.tzParts=options.tzParts,this.tzClip=options.tzClip}).prototype={constructor:DateFormatter,parseDate:function(vDate,vFormat){var vFormatParts,vDateParts,i,vDatePart,iDatePart,vMeriIndex,len,mer,vDateFlag=!1,vTimeFlag=!1,vSettings=this.dateSettings,out={date:null,year:null,month:null,day:null,hour:0,min:0,sec:0};if(vDate){if(vDate instanceof Date)return vDate;if("number"==typeof vDate)return new Date(vDate);if("U"===vFormat)return(i=parseInt(vDate))?new Date(1e3*i):vDate;if("string"!=typeof vDate)return"";if(!(vFormatParts=vFormat.match(this.validParts))||0===vFormatParts.length)throw new Error("Invalid date format definition.");for(vDateParts=vDate.replace(this.separators,"\0").split("\0"),i=0;i<vDateParts.length;i++)switch(vDatePart=vDateParts[i],iDatePart=parseInt(vDatePart),vFormatParts[i]){case"y":case"Y":2===(len=vDatePart.length)?out.year=parseInt((iDatePart<70?"20":"19")+vDatePart):4===len&&(out.year=iDatePart),vDateFlag=!0;break;case"m":case"n":case"M":case"F":isNaN(vDatePart)?(-1<(len=vSettings.monthsShort.indexOf(vDatePart))&&(out.month=len+1),-1<(len=vSettings.months.indexOf(vDatePart))&&(out.month=len+1)):1<=iDatePart&&iDatePart<=12&&(out.month=iDatePart),vDateFlag=!0;break;case"d":case"j":1<=iDatePart&&iDatePart<=31&&(out.day=iDatePart),vDateFlag=!0;break;case"g":case"h":mer=vDateParts[vMeriIndex=-1<vFormatParts.indexOf("a")?vFormatParts.indexOf("a"):-1<vFormatParts.indexOf("A")?vFormatParts.indexOf("A"):-1],-1<vMeriIndex&&(vMeriIndex=_compare(mer,vSettings.meridiem[0])?0:_compare(mer,vSettings.meridiem[1])?12:-1,1<=iDatePart)&&iDatePart<=12&&-1<vMeriIndex?out.hour=iDatePart+vMeriIndex-1:0<=iDatePart&&iDatePart<=23&&(out.hour=iDatePart),vTimeFlag=!0;break;case"G":case"H":0<=iDatePart&&iDatePart<=23&&(out.hour=iDatePart),vTimeFlag=!0;break;case"i":0<=iDatePart&&iDatePart<=59&&(out.min=iDatePart),vTimeFlag=!0;break;case"s":0<=iDatePart&&iDatePart<=59&&(out.sec=iDatePart),vTimeFlag=!0}if(!0===vDateFlag&&out.year&&out.month&&out.day)out.date=new Date(out.year,out.month-1,out.day,out.hour,out.min,out.sec,0);else{if(!0!==vTimeFlag)return!1;out.date=new Date(0,0,0,out.hour,out.min,out.sec,0)}return out.date}},guessDate:function(vDateStr,vFormat){if("string"!=typeof vDateStr)return vDateStr;var vYear,i,iPart,iSec,vParts=vDateStr.replace(this.separators,"\0").split("\0"),vFormatParts=vFormat.match(this.validParts),vDate=new Date,vDigit=0;if(!/^[djmn]/g.test(vFormatParts[0]))return vDateStr;for(i=0;i<vParts.length;i++){switch(vDigit=2,iPart=vParts[i],iSec=parseInt(iPart.substr(0,2)),i){case 0:"m"===vFormatParts[0]||"n"===vFormatParts[0]?vDate.setMonth(iSec-1):vDate.setDate(iSec);break;case 1:"m"===vFormatParts[0]||"n"===vFormatParts[0]?vDate.setDate(iSec):vDate.setMonth(iSec-1);break;case 2:vYear=vDate.getFullYear(),vDigit=iPart.length<4?(vDate.setFullYear(parseInt(vYear.toString().substr(0,4-iPart.length)+iPart)),iPart.length):(vDate.setFullYear=parseInt(iPart.substr(0,4)),4);break;case 3:vDate.setHours(iSec);break;case 4:vDate.setMinutes(iSec);break;case 5:vDate.setSeconds(iSec)}0<iPart.substr(vDigit).length&&vParts.splice(i+1,0,iPart.substr(vDigit))}return vDate},parseFormat:function(vChar,vDate){function doFormat(t,s){return fmt[t]?fmt[t]():s}var self=this,vSettings=self.dateSettings,backspace=/\\?(.?)/gi,fmt={d:function(){return _lpad(fmt.j(),2)},D:function(){return vSettings.daysShort[fmt.w()]},j:function(){return vDate.getDate()},l:function(){return vSettings.days[fmt.w()]},N:function(){return fmt.w()||7},w:function(){return vDate.getDay()},z:function(){var a=new Date(fmt.Y(),fmt.n()-1,fmt.j()),b=new Date(fmt.Y(),0,1);return Math.round((a-b)/864e5)},W:function(){var a=new Date(fmt.Y(),fmt.n()-1,fmt.j()-fmt.N()+3),b=new Date(a.getFullYear(),0,4);return _lpad(1+Math.round((a-b)/864e5/7),2)},F:function(){return vSettings.months[vDate.getMonth()]},m:function(){return _lpad(fmt.n(),2)},M:function(){return vSettings.monthsShort[vDate.getMonth()]},n:function(){return vDate.getMonth()+1},t:function(){return new Date(fmt.Y(),fmt.n(),0).getDate()},L:function(){var Y=fmt.Y();return Y%4==0&&Y%100!=0||Y%400==0?1:0},o:function(){var n=fmt.n(),W=fmt.W();return fmt.Y()+(12===n&&W<9?1:1===n&&9<W?-1:0)},Y:function(){return vDate.getFullYear()},y:function(){return fmt.Y().toString().slice(-2)},a:function(){return fmt.A().toLowerCase()},A:function(){var n=fmt.G()<12?0:1;return vSettings.meridiem[n]},B:function(){var H=3600*vDate.getUTCHours(),i=60*vDate.getUTCMinutes(),s=vDate.getUTCSeconds();return _lpad(Math.floor((H+i+s+3600)/86.4)%1e3,3)},g:function(){return fmt.G()%12||12},G:function(){return vDate.getHours()},h:function(){return _lpad(fmt.g(),2)},H:function(){return _lpad(fmt.G(),2)},i:function(){return _lpad(vDate.getMinutes(),2)},s:function(){return _lpad(vDate.getSeconds(),2)},u:function(){return _lpad(1e3*vDate.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(vDate))[1]||"Coordinated Universal Time"},T:function(){return(String(vDate).match(self.tzParts)||[""]).pop().replace(self.tzClip,"")||"UTC"},I:function(){return new Date(fmt.Y(),0)-Date.UTC(fmt.Y(),0)!=new Date(fmt.Y(),6)-Date.UTC(fmt.Y(),6)?1:0},O:function(){var tzo=vDate.getTimezoneOffset(),a=Math.abs(tzo);return(0<tzo?"-":"+")+_lpad(100*Math.floor(a/60)+a%60,4)},P:function(){var O=fmt.O();return O.substr(0,3)+":"+O.substr(3,2)},Z:function(){return 60*-vDate.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(backspace,doFormat)},r:function(){return"D, d M Y H:i:s O".replace(backspace,doFormat)},U:function(){return vDate.getTime()/1e3||0}};return doFormat(vChar,vChar)},formatDate:function(vDate,vFormat){var i,len,str,vChar,vDateStr="";if("string"==typeof vDate&&!1===(vDate=this.parseDate(vDate,vFormat)))return!1;if(vDate instanceof Date){for(len=vFormat.length,i=0;i<len;i++)"S"!==(vChar=vFormat.charAt(i))&&(str=this.parseFormat(vChar,vDate),i!==len-1&&this.intParts.test(vChar)&&"S"===vFormat.charAt(i+1)&&(vChar=parseInt(str),str+=this.dateSettings.ordinal(vChar)),vDateStr+=str);return vDateStr}return""}}}(),function(factory){"function"==typeof define&&define.amd?define(["jquery","jquery-mousewheel"],factory):"object"==typeof exports?module.exports=factory:factory(jQuery)}(function($){"use strict";function initDateFormatter(){var locale={days:(locale=default_options.i18n[globalLocale]).dayOfWeek,daysShort:locale.dayOfWeekShort,months:locale.months,monthsShort:$.map(locale.months,function(n){return n.substring(0,3)})};dateHelper=new DateFormatter({dateSettings:$.extend({},dateFormatterOptionsDefault,locale)})}var default_options={i18n:{ar:{months:["ÙØ§ÙÙÙ Ø§ÙØ«Ø§ÙÙ","شباط","آذار","ÙÙØ³Ø§Ù","Ù
اÙÙ","ØØ²ÙراÙ","تÙ
ÙØ²","آب","Ø£ÙÙÙÙ","تشرÙÙ Ø§ÙØ£ÙÙ","تشرÙÙ Ø§ÙØ«Ø§ÙÙ","ÙØ§ÙÙÙ Ø§ÙØ£ÙÙ"],dayOfWeekShort:["Ù","Ø«","ع","Ø®","ج","س","Ø"],dayOfWeek:["Ø§ÙØ£ØØ¯","Ø§ÙØ§Ø«ÙÙÙ","Ø§ÙØ«Ùاثاء","Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡","Ø§ÙØ®Ù
ÙØ³","Ø§ÙØ¬Ù
عة","Ø§ÙØ³Ø¨Øª","Ø§ÙØ£ØØ¯"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],dayOfWeek:["DuminicÄ","Luni","MarÅ£i","Miercuri","Joi","Vineri","SâmbÄtÄ"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Janúar","Febrúar","Mars","AprÃl","MaÃ","JúnÃ","JúlÃ","Ãgúst","September","Október","Nóvember","Desember"],dayOfWeekShort:["Sun","Mán","Ãrið","Mið","Fim","Fös","Lau"],dayOfWeek:["Sunnudagur","Mánudagur","Ãriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"]},bg:{months:["ЯнÑаÑи","ФевÑÑаÑи","ÐаÑÑ","ÐпÑил","Ðай","Юни","Юли","ÐвгÑÑÑ","СепÑемвÑи","ÐкÑомвÑи","ÐоемвÑи","ÐекемвÑи"],dayOfWeekShort:["Ðд","Ðн","ÐÑ","СÑ","ЧÑ","ÐÑ","Сб"],dayOfWeek:["ÐеделÑ","Ðонеделник","ÐÑоÑник","СÑÑда","ЧеÑвÑÑÑÑк","ÐеÑÑк","СÑбоÑа"]},fa:{months:["ÙØ±ÙردÛÙ","Ø§Ø±Ø¯ÛØ¨Ùشت","خرداد","ØªÛØ±","Ù
رداد","Ø´ÙØ±ÛÙØ±","Ù
ÙØ±","آباÙ","آذر","دÛ","بÙÙ
Ù","اسÙÙØ¯"],dayOfWeekShort:["ÛÚ©Ø´ÙØ¨Ù","Ø¯ÙØ´ÙبÙ","Ø³Ù Ø´ÙØ¨Ù","ÚÙØ§Ø±Ø´ÙبÙ","Ù¾ÙØ¬Ø´ÙبÙ","جÙ
عÙ","Ø´ÙØ¨Ù"],dayOfWeek:["ÛÚ©âØ´ÙØ¨Ù","Ø¯ÙØ´ÙبÙ","سÙâØ´ÙØ¨Ù","ÚÙØ§Ø±Ø´ÙبÙ","Ù¾ÙØ¬âØ´ÙØ¨Ù","جÙ
عÙ","Ø´ÙØ¨Ù","ÛÚ©âØ´ÙØ¨Ù"]},ru:{months:["ЯнваÑÑ","ФевÑалÑ","ÐаÑÑ","ÐпÑелÑ","Ðай","ÐÑнÑ","ÐÑлÑ","ÐвгÑÑÑ","СенÑÑбÑÑ","ÐкÑÑбÑÑ","ÐоÑбÑÑ","ÐекабÑÑ"],dayOfWeekShort:["ÐÑ","Ðн","ÐÑ","СÑ","ЧÑ","ÐÑ","Сб"],dayOfWeek:["ÐоÑкÑеÑенÑе","ÐонеделÑник","ÐÑоÑник","СÑеда","ЧеÑвеÑг","ÐÑÑниÑа","СÑббоÑа"]},uk:{months:["СÑÑенÑ","ÐÑÑий","ÐеÑезенÑ","ÐвÑÑенÑ","ТÑавенÑ","ЧеÑвенÑ","ÐипенÑ","СеÑпенÑ","ÐеÑеÑенÑ","ÐовÑенÑ","ÐиÑÑопад","ÐÑÑденÑ"],dayOfWeekShort:["Ðдл","Ðнд","ÐÑÑ","СÑд","ЧÑв","ÐÑн","СбÑ"],dayOfWeek:["ÐедÑлÑ","ÐонедÑлок","ÐÑвÑоÑок","СеÑеда","ЧеÑвеÑ","Ð'ÑÑниÑÑ","СÑбоÑа"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},el:{months:["ÎανοÏ
άÏιοÏ","ΦεβÏοÏ
άÏιοÏ","ÎάÏÏιοÏ","ÎÏÏίλιοÏ","ÎάιοÏ","ÎοÏνιοÏ","ÎοÏλιοÏ","ÎÏγοÏ
ÏÏοÏ","ΣεÏÏÎμβÏιοÏ","ÎκÏÏβÏιοÏ","ÎοÎμβÏιοÏ","ÎεκÎμβÏιοÏ"],dayOfWeekShort:["ÎÏ
Ï","ÎεÏ
","ΤÏι","ΤεÏ","Πεμ","ΠαÏ","Σαβ"],dayOfWeek:["ÎÏ
Ïιακή","ÎεÏ
ÏÎÏα","ΤÏίÏη","ΤεÏάÏÏη","Î ÎμÏÏη","ΠαÏαÏκεÏ
ή","ΣάββαÏο"]},de:{months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","Åubat","Mart","Nisan","Mayıs","Haziran","Temmuz","AÄustos","Eylül","Ekim","Kasım","Aralık"],dayOfWeekShort:["Paz","Pts","Sal","Ãar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Salı","ÃarÅamba","PerÅembe","Cuma","Cumartesi"]},fr:{months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],dayOfWeek:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"]},th:{months:["มà¸à¸£à¸²à¸à¸¡","à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹","มีà¸à¸²à¸à¸¡","à¹à¸¡à¸©à¸²à¸¢à¸","à¸à¸¤à¸©à¸ าà¸à¸¡","มิà¸à¸¸à¸à¸²à¸¢à¸","à¸à¸£à¸à¸à¸²à¸à¸¡","สิà¸à¸«à¸²à¸à¸¡","à¸à¸±à¸à¸¢à¸²à¸¢à¸","à¸à¸¸à¸¥à¸²à¸à¸¡","à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸","à¸à¸±à¸à¸§à¸²à¸à¸¡"],dayOfWeekShort:["à¸à¸².","à¸.","à¸.","à¸.","à¸à¸¤.","ศ.","ส."],dayOfWeek:["à¸à¸²à¸à¸´à¸à¸¢à¹","à¸à¸±à¸à¸à¸£à¹","à¸à¸±à¸à¸à¸²à¸£","à¸à¸¸à¸","à¸à¸¤à¸«à¸±à¸ª","ศุà¸à¸£à¹","à¹à¸ªà¸²à¸£à¹","à¸à¸²à¸à¸´à¸à¸¢à¹"]},pl:{months:["styczeÅ","luty","marzec","kwiecieÅ","maj","czerwiec","lipiec","sierpieÅ","wrzesieÅ","październik","listopad","grudzieÅ"],dayOfWeekShort:["nd","pn","wt","År","cz","pt","sb"],dayOfWeek:["niedziela","poniedziaÅek","wtorek","Åroda","czwartek","piÄ
tek","sobota"]},pt:{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},ch:{months:["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],dayOfWeekShort:["æ¥","ä¸","äº","ä¸","å","äº","å
"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","MÃ¥n","Tis","Ons","Tor","Fre","Lör"]},kr:{months:["1ì","2ì","3ì","4ì","5ì","6ì","7ì","8ì","9ì","10ì","11ì","12ì"],dayOfWeekShort:["ì¼","ì","í","ì","목","ê¸","í "],dayOfWeek:["ì¼ìì¼","ììì¼","íìì¼","ììì¼","목ìì¼","ê¸ìì¼","í ìì¼"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]},da:{months:["January","Februar","Marts","April","Maj","Juni","July","August","September","Oktober","November","December"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"]},ja:{months:["1æ","2æ","3æ","4æ","5æ","6æ","7æ","8æ","9æ","10æ","11æ","12æ"],dayOfWeekShort:["æ¥","æ","ç«","æ°´","æ¨","é","å"],dayOfWeek:["æ¥æ","ææ","ç«æ","æ°´æ","æ¨æ","éæ","åæ"]},vi:{months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Chá»§ nháºt","Thứ hai","Thứ ba","Thứ tư","Thứ nÄm","Thứ sáu","Thứ bảy"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","Äet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","Äetrtek","Petek","Sobota"]},cs:{months:["Leden","Ãnor","BÅezen","Duben","KvÄten","Äerven","Äervenec","Srpen","ZáÅÃ","ÅÃjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","Ãt","St","Ät","Pá","So"]},hu:{months:["Január","Február","Március","Ãprilis","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],dayOfWeekShort:["Va","Hé","Ke","Sze","Cs","Pé","Szo"],dayOfWeek:["vasárnap","hétfÅ","kedd","szerda","csütörtök","péntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","Ãa","Ã","Ca","C","Å"],dayOfWeek:["Bazar","Bazar ertÉsi","ÃÉrÅÉnbÉ axÅamı","ÃÉrÅÉnbÉ","CümÉ axÅamı","CümÉ","ÅÉnbÉ"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Äet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Äetvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},et:{months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"]},hr:{months:["SijeÄanj","VeljaÄa","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Äet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Äetvrtak","Petak","Subota"]},ko:{months:["1ì","2ì","3ì","4ì","5ì","6ì","7ì","8ì","9ì","10ì","11ì","12ì"],dayOfWeekShort:["ì¼","ì","í","ì","목","ê¸","í "],dayOfWeek:["ì¼ìì¼","ììì¼","íìì¼","ììì¼","목ìì¼","ê¸ìì¼","í ìì¼"]},lt:{months:["Sausio","Vasario","Kovo","Balandžio","GegužÄs","Birželio","Liepos","RugpjÅ«Äio","RugsÄjo","Spalio","LapkriÄio","Gruodžio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","Å eÅ¡"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","TreÄiadienis","Ketvirtadienis","Penktadienis","Å eÅ¡tadienis"]},lv:{months:["JanvÄris","FebruÄris","Marts","AprÄ«lis ","Maijs","JÅ«nijs","JÅ«lijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["SvÄtdiena","Pirmdiena","Otrdiena","TreÅ¡diena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["ÑанÑаÑи","ÑевÑÑаÑи","маÑÑ","апÑил","маÑ","ÑÑни","ÑÑли","авгÑÑÑ","ÑепÑемвÑи","окÑомвÑи","ноемвÑи","декемвÑи"],dayOfWeekShort:["нед","пон","вÑо","ÑÑе","ÑеÑ","пеÑ","Ñаб"],dayOfWeek:["Ðедела","Ðонеделник","ÐÑоÑник","СÑеда","ЧеÑвÑÑок","ÐеÑок","СабоÑа"]},mn:{months:["1-Ñ ÑаÑ","2-Ñ ÑаÑ","3-Ñ ÑаÑ","4-Ñ ÑаÑ","5-Ñ ÑаÑ","6-Ñ ÑаÑ","7-Ñ ÑаÑ","8-Ñ ÑаÑ","9-Ñ ÑаÑ","10-Ñ ÑаÑ","11-Ñ ÑаÑ","12-Ñ ÑаÑ"],dayOfWeekShort:["Ðав","ÐÑг","ÐÑ
а","ÐÒ¯Ñ","ÐÑн","ÐÑм","ÐÑм"],dayOfWeek:["Ðаваа","ÐÑгмаÑ","ÐÑ
агва","ÐÒ¯ÑÑв","ÐааÑан","ÐÑмба","ÐÑм"]},"pt-BR":{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},sk:{months:["Január","Február","Marec","AprÃl","Máj","Jún","Júl","August","September","Október","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","Å t","Pi","So"],dayOfWeek:["Nedeľa","Pondelok","Utorok","Streda","Å tvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],dayOfWeekShort:["Die","Hën","Mar","Mër","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E Hënë","E MartÄ","E Mërkurë","E Enjte","E Premte","E Shtunë"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","Äet","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","Äetvrtak","Petak","Subota"]},sr:{months:["ÑанÑаÑ","ÑебÑÑаÑ","маÑÑ","апÑил","маÑ","ÑÑн","ÑÑл","авгÑÑÑ","ÑепÑембаÑ","окÑобаÑ","новембаÑ","деÑембаÑ"],dayOfWeekShort:["нед","пон","ÑÑо","ÑÑе","ÑеÑ","пеÑ","ÑÑб"],dayOfWeek:["ÐедеÑа","ÐонедеÑак","УÑоÑак","СÑеда","ЧеÑвÑÑак","ÐеÑак","СÑбоÑа"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","MÃ¥n","Tis","Ons","Tor","Fre","Lör"],dayOfWeek:["Söndag","MÃ¥ndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"]},"zh-TW":{months:["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],dayOfWeekShort:["æ¥","ä¸","äº","ä¸","å","äº","å
"],dayOfWeek:["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"]},zh:{months:["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],dayOfWeekShort:["æ¥","ä¸","äº","ä¸","å","äº","å
"],dayOfWeek:["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"]},he:{months:["×× ××ר","פ×ר××ר","×רץ","×פר××","×××","××× ×","××××","××××ס×","ספ×××ר","×××§×××ר","× ××××ר","×צ××ר"],dayOfWeekShort:["×'","×'","×'","×'","×'","×'","ש×ת"],dayOfWeek:["ר×ש××","×©× ×","ש××ש×","ר×××¢×","×××ש×","ש×ש×","ש×ת","ר×ש××"]},hy:{months:["ÕÕ¸ÖÕ¶Õ¾Õ¡Ö","ÕÕ¥Õ¿ÖÕ¾Õ¡Ö","ÕÕ¡ÖÕ¿","Ô±ÕºÖÕ«Õ¬","ÕÕ¡ÕµÕ«Õ½","ÕÕ¸ÖÕ¶Õ«Õ½","ÕÕ¸ÖÕ¬Õ«Õ½","ÕÕ£Õ¸Õ½Õ¿Õ¸Õ½","ÕÕ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö","ÕÕ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö","ÕÕ¸ÕµÕ¥Õ´Õ¢Õ¥Ö","Ô´Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö"],dayOfWeekShort:["Ô¿Õ«","ÔµÖÕ¯","ÔµÖÖ","ÕÕ¸Ö","ÕÕ¶Õ£","ÕÖÖÕ¢","ÕÕ¢Õ©"],dayOfWeek:["Ô¿Õ«ÖÕ¡Õ¯Õ«","ÔµÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«","ÔµÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«","ÕÕ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«","ÕÕ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«","ÕÖÖÕ¢Õ¡Õ©","ÕÕ¡Õ¢Õ¡Õ©"]}
1,kg:{months:["Ò®ÑÑүн айÑ","ÐиÑдин айÑ","Ðалган ÐÑÑан","ЧÑн ÐÑÑан","ÐÑгÑ","ÐÑлжа","Теке","ÐÐ°Ñ Ðона","ÐÑк Ðона","ТогÑздÑн айÑ","ÐеÑинин айÑ","ÐеÑÑин айÑ"],dayOfWeekShort:["Ðек","Ðүй","Шей","ШаÑ","Ðей","ÐÑм","ÐÑе"],dayOfWeek:["ÐекÑемб","ÐүйÑөмб","ШейÑемб","ШаÑÑемб","ÐейÑемби","ÐÑма","ÐÑенб"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:["áááááá á","ááááá áááá","ááá á¢á","ááá ááá","áááá¡á","ááááá¡á","ááááá¡á","ááááá¡á¢á","á¡áá¥á¢ááááá á","áá¥á¢ááááá á","ááááááá á","áááááááá á"],dayOfWeekShort:["áá","áá á¨","á¡ááá¨","ááá®","á®á£á","ááá ","á¨áá"],dayOfWeek:["áááá á","áá á¨ááááá","á¡ááá¨ááááá","ááá®á¨ááááá","á®á£áá¨ááááá","ááá áá¡áááá","á¨ááááá"]}},value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,disabledMinTime:!1,disabledMaxTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1},dateHelper=null,globalLocale="en",dateFormatterOptionsDefault={meridiem:["AM","PM"]};function HighlightedDate(date,desc,style){this.date=date,this.desc=desc,this.style=style}$.datetimepicker={setLocale:function(locale){locale=default_options.i18n[locale]?locale:"en";globalLocale!=locale&&(globalLocale=locale,initDateFormatter())},setDateFormatter:function(dateFormatter){dateHelper=dateFormatter},RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},initDateFormatter(),window.getComputedStyle||(window.getComputedStyle=function(el,pseudo){return this.el=el,this.getPropertyValue=function(prop){var re=/(\-([a-z]){1})/g;return re.test(prop="float"===prop?"styleFloat":prop)&&(prop=prop.replace(re,function(a,b,c){return c.toUpperCase()})),el.currentStyle[prop]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(obj,start){for(var i=start||0,j=this.length;i<j;i+=1)if(this[i]===obj)return i;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},$.fn.xdsoftScroller=function(percent){return this.each(function(){var timebox,parentHeight,height,scrollbar,scroller,timeboxparent=$(this),pointerEventToXY=function(e){var touch,out={x:0,y:0};return"touchstart"===e.type||"touchmove"===e.type||"touchend"===e.type||"touchcancel"===e.type?(touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],out.x=touch.clientX,out.y=touch.clientY):"mousedown"!==e.type&&"mouseup"!==e.type&&"mousemove"!==e.type&&"mouseover"!==e.type&&"mouseout"!==e.type&&"mouseenter"!==e.type&&"mouseleave"!==e.type||(out.x=e.clientX,out.y=e.clientY),out},maximumOffset=100,start=!1,startY=0,startTop=0,h1=0,touchStart=!1,startTopScroll=0,calcOffset=function(){};"hide"===percent?timeboxparent.find(".xdsoft_scrollbar").hide():($(this).hasClass("xdsoft_scroller_box")||(timebox=timeboxparent.children().eq(0),parentHeight=timeboxparent[0].clientHeight,height=timebox[0].offsetHeight,scrollbar=$('<div class="xdsoft_scrollbar"></div>'),scroller=$('<div class="xdsoft_scroller"></div>'),scrollbar.append(scroller),timeboxparent.addClass("xdsoft_scroller_box").append(scrollbar),calcOffset=function(event){event=pointerEventToXY(event).y-startY+startTopScroll;(event=event<0?0:event)+scroller[0].offsetHeight>h1&&(event=h1-scroller[0].offsetHeight),timeboxparent.trigger("scroll_element.xdsoft_scroller",[maximumOffset?event/maximumOffset:0])},scroller.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(event){parentHeight||timeboxparent.trigger("resize_scroll.xdsoft_scroller",[percent]),startY=pointerEventToXY(event).y,startTopScroll=parseInt(scroller.css("margin-top"),10),h1=scrollbar[0].offsetHeight,"mousedown"===event.type||"touchstart"===event.type?(document&&$(document.body).addClass("xdsoft_noselect"),$([document.body,window]).on("touchend mouseup.xdsoft_scroller",function arguments_callee(){$([document.body,window]).off("touchend mouseup.xdsoft_scroller",arguments_callee).off("mousemove.xdsoft_scroller",calcOffset).removeClass("xdsoft_noselect")}),$(document.body).on("mousemove.xdsoft_scroller",calcOffset)):(touchStart=!0,event.stopPropagation(),event.preventDefault())}).on("touchmove",function(event){touchStart&&(event.preventDefault(),calcOffset(event))}).on("touchend touchcancel",function(){touchStart=!1,startTopScroll=0}),timeboxparent.on("scroll_element.xdsoft_scroller",function(event,percentage){parentHeight||timeboxparent.trigger("resize_scroll.xdsoft_scroller",[percentage,!0]),percentage=1<percentage?1:percentage<0||isNaN(percentage)?0:percentage,scroller.css("margin-top",maximumOffset*percentage),setTimeout(function(){timebox.css("marginTop",-parseInt((timebox[0].offsetHeight-parentHeight)*percentage,10))},10)}).on("resize_scroll.xdsoft_scroller",function(event,percentage,noTriggerScroll){var percent,sh;parentHeight=timeboxparent[0].clientHeight,height=timebox[0].offsetHeight,sh=(percent=parentHeight/height)*scrollbar[0].offsetHeight,1<percent?scroller.hide():(scroller.show(),scroller.css("height",parseInt(10<sh?sh:10,10)),maximumOffset=scrollbar[0].offsetHeight-scroller[0].offsetHeight,!0!==noTriggerScroll&&timeboxparent.trigger("scroll_element.xdsoft_scroller",[percentage||Math.abs(parseInt(timebox.css("marginTop"),10))/(height-parentHeight)]))}),timeboxparent.on("mousewheel",function(event){var top=Math.abs(parseInt(timebox.css("marginTop"),10));return top-=20*event.deltaY,timeboxparent.trigger("scroll_element.xdsoft_scroller",[(top=top<0?0:top)/(height-parentHeight)]),event.stopPropagation(),!1}),timeboxparent.on("touchstart",function(event){start=pointerEventToXY(event),startTop=Math.abs(parseInt(timebox.css("marginTop"),10))}),timeboxparent.on("touchmove",function(event){start&&(event.preventDefault(),event=pointerEventToXY(event),timeboxparent.trigger("scroll_element.xdsoft_scroller",[(startTop-(event.y-start.y))/(height-parentHeight)]))}),timeboxparent.on("touchend touchcancel",function(){start=!1,startTop=0})),timeboxparent.trigger("resize_scroll.xdsoft_scroller",[percent]))})},$.fn.datetimepicker=function(opt,opt2){var result=this,KEY0=48,KEY9=57,_KEY0=96,_KEY9=105,CTRLKEY=17,DEL=46,ENTER=13,ESC=27,BACKSPACE=8,ARROWLEFT=37,ARROWUP=38,ARROWRIGHT=39,ARROWDOWN=40,TAB=9,F5=116,AKEY=65,CKEY=67,VKEY=86,ZKEY=90,YKEY=89,ctrlDown=!1,options=$.isPlainObject(opt)||!opt?$.extend(!0,{},default_options,opt):$.extend(!0,{},default_options),lazyInitTimer=0,createDateTimePicker=function(input){var xchangeTimer,timerclick,current_time_index,setPos,_xdsoft_datetime,forEachAncestorOf,datetimepicker=$('<div class="xdsoft_datetimepicker xdsoft_noselect"></div>'),xdsoft_copyright=$('<div class="xdsoft_copyright"><a target="_blank" href="http://xdsoft.net/jqplugins/datetimepicker/">xdsoft.net</a></div>'),datepicker=$('<div class="xdsoft_datepicker active"></div>'),mounth_picker=$('<div class="xdsoft_mounthpicker"><button type="button" class="xdsoft_prev"></button><button type="button" class="xdsoft_today_button"></button><div class="xdsoft_label xdsoft_month"><span></span><i></i></div><div class="xdsoft_label xdsoft_year"><span></span><i></i></div><button type="button" class="xdsoft_next"></button></div>'),calendar=$('<div class="xdsoft_calendar"></div>'),timepicker=$('<div class="xdsoft_timepicker active"><button type="button" class="xdsoft_prev"></button><div class="xdsoft_time_box"></div><button type="button" class="xdsoft_next"></button></div>'),timeboxparent=timepicker.find(".xdsoft_time_box").eq(0),timebox=$('<div class="xdsoft_time_variant"></div>
1'),applyButton=$('<button type="button" class="xdsoft_save_selected blue-gradient-button">Save Selected</button>'),monthselect=$('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),yearselect=$('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>'),triggerAfterOpen=!1,timer=0;function getCurrentValue(){var time,ct=!1;return options.startDate?ct=_xdsoft_datetime.strToDate(options.startDate):(ct=options.value||(input&&input.val&&input.val()?input.val():""))?ct=_xdsoft_datetime.strToDateTime(ct):options.defaultDate&&(ct=_xdsoft_datetime.strToDateTime(options.defaultDate),options.defaultTime)&&(time=_xdsoft_datetime.strtotime(options.defaultTime),ct.setHours(time.getHours()),ct.setMinutes(time.getMinutes())),ct&&_xdsoft_datetime.isValidDate(ct)?datetimepicker.data("changed",!0):ct="",ct||0}function setMask(options){function isValidValue(mask,value){return mask=mask.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}"),new RegExp(mask).test(value)}function setCaretPos(node,pos){var textRange;(node="string"==typeof node||node instanceof String?document.getElementById(node):node)&&(node.createTextRange?((textRange=node.createTextRange()).collapse(!0),textRange.moveEnd("character",pos),textRange.moveStart("character",pos),textRange.select()):node.setSelectionRange&&node.setSelectionRange(pos,pos))}options.mask&&input.off("keydown.xdsoft"),!0===options.mask&&("undefined"!=typeof moment?options.mask=options.format.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59"):options.mask=options.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===$.type(options.mask)&&(isValidValue(options.mask,input.val())||(input.val(options.mask.replace(/[0-9]/g,"_")),setCaretPos(input[0],0)),input.on("keydown.xdsoft",function(event){var pos,digit,val=this.value,key=event.which;if(KEY0<=key&&key<=KEY9||_KEY0<=key&&key<=_KEY9||key===BACKSPACE||key===DEL){for(pos=function(input){try{return document.selection&&document.selection.createRange?document.selection.createRange().getBookmark().charCodeAt(2)-2:input.setSelectionRange?input.selectionStart:void 0}catch(e){return 0}}(this),digit=key!==BACKSPACE&&key!==DEL?String.fromCharCode(_KEY0<=key&&key<=_KEY9?key-KEY0:key):"_",key!==BACKSPACE&&key!==DEL||!pos||(--pos,digit="_");/[^0-9_]/.test(options.mask.substr(pos,1))&&pos<options.mask.length&&0<pos;)pos+=key===BACKSPACE||key===DEL?-1:1;if(val=val.substr(0,pos)+digit+val.substr(pos+1),""===$.trim(val))val=options.mask.replace(/[0-9]/g,"_");else if(pos===options.mask.length)return event.preventDefault(),!1;for(pos+=key===BACKSPACE||key===DEL?0:1;/[^0-9_]/.test(options.mask.substr(pos,1))&&pos<options.mask.length&&0<pos;)pos+=key===BACKSPACE||key===DEL?-1:1;isValidValue(options.mask,val)?(this.value=val,setCaretPos(this,pos)):""===$.trim(val)?this.value=options.mask.replace(/[0-9]/g,"_"):input.trigger("error_input.xdsoft")}else if(-1!==[AKEY,CKEY,VKEY,ZKEY,YKEY].indexOf(key)&&ctrlDown||-1!==[ESC,ARROWUP,ARROWDOWN,ARROWLEFT,ARROWRIGHT,F5,
vendor: 1,029 bytes, line 1
1CTRLKEY,TAB,ENTER].indexOf(key))return!0;return event.preventDefault(),!1}))}options.id&&datetimepicker.attr("id",options.id),options.style&&datetimepicker.attr("style",options.style),options.weeks&&datetimepicker.addClass("xdsoft_showweeks"),options.rtl&&datetimepicker.addClass("xdsoft_rtl"),datetimepicker.addClass("xdsoft_"+options.theme),datetimepicker.addClass(options.className),mounth_picker.find(".xdsoft_month span").after(monthselect),mounth_picker.find(".xdsoft_year span").after(yearselect),mounth_picker.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(event){var items,i,select=$(this).find(".xdsoft_select").eq(0),val=0,top=0,visible=select.is(":visible");for(mounth_picker.find(".xdsoft_select").hide(),_xdsoft_datetime.currentTime&&(val=_xdsoft_datetime.currentTime[$(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),select[visible?"hide":"show"](),items=select.find("div.xdsoft_option"),i=0;i<items.length&&items.eq(i).data("value")!==val;i+=1)top+=items[0].offsetHeight;
1return select.xdsoftScroller(top/(select.children()[0].offsetHeight-select[0].clientHeight)),event.stopPropagation(),!1}),mounth_picker.find(".xdsoft_select").xdsoftScroller().on("touchstart mousedown.xdsoft",function(event){event.stopPropagation(),event.preventDefault()}).on("touchstart mousedown.xdsoft",".xdsoft_option",function(){void 0!==_xdsoft_datetime.currentTime&&null!==_xdsoft_datetime.currentTime||(_xdsoft_datetime.currentTime=_xdsoft_datetime.now());var year=_xdsoft_datetime.currentTime.getFullYear();_xdsoft_datetime&&_xdsoft_datetime.currentTime&&_xdsoft_datetime.currentTime[$(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"]($(this).data("value")),$(this).parent().parent().hide(),datetimepicker.trigger("xchange.xdsoft"),options.onChangeMonth&&$.isFunction(options.onChangeMonth)&&options.onChangeMonth.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input")),year!==_xdsoft_datetime.currentTime.getFullYear()&&$.isFunction(options.onChangeYear)&&options.onChangeYear.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input"))}),datetimepicker.getValue=function(){return _xdsoft_datetime.getCurrentTime()},datetimepicker.setOptions=function(_options){var highlightedDates={};options=$.extend(!0,{},options,_options),_options.allowTimes&&$.isArray(_options.allowTimes)&&_options.allowTimes.length&&(options.allowTimes=$.extend(!0,[],_options.allowTimes)),_options.weekends&&$.isArray(_options.weekends)&&_options.weekends.length&&(options.weekends=$.extend(!0,[],_options.weekends)),_options.allowDates&&$.isArray(_options.allowDates)&&_options.allowDates.length&&(options.allowDates=$.extend(!0,[],_options.allowDates)),_options.allowDateRe&&"[object String]"===Object.prototype.toString.call(_options.allowDateRe)&&(options.allowDateRe=new RegExp(_options.allowDateRe)),_options.highlightedDates&&$.isArray(_options.highlightedDates)&&_options.highlightedDates.length&&($.each(_options.highlightedDates,function(index,value){var exDesc,value=$.map(value.split(","),$.trim),value=new HighlightedDate(dateHelper.parseDate(value[0],options.formatDate),value[1],value[2]),keyDate=dateHelper.formatDate(value.date,options.formatDate);void 0!==highlightedDates[keyDate]?(exDesc=highlightedDates[keyDate].desc)&&exDesc.length&&value.desc&&value.desc.length&&(highlightedDates[keyDate].desc=exDesc+"\n"+value.desc):highlightedDates[keyDate]=value}),options.highlightedDates=$.extend(!0,[],highlightedDates)),_options.highlightedPeriods&&$.isArray(_options.highlightedPeriods)&&_options.highlightedPeriods.length&&(highlightedDates=$.extend(!0,[],options.highlightedDates),$.each(_options.highlightedPeriods,function(index,value){var hDate,keyDate,exDesc,dateTest,dateEnd,desc,style;for(style=($.isArray(value)?(dateTest=value[0],dateEnd=value[1],desc=value[2],value):(value=$.map(value.split(","),$.trim),dateTest=dateHelper.parseDate(value[0],options.formatDate),dateEnd=dateHelper.parseDate(value[1],options.formatDate),desc=value[2],value))[3];dateTest<=dateEnd;)hDate=new HighlightedDate(dateTest,desc,style),keyDate=dateHelper.formatDate(dateTest,options.formatDate),dateTest.setDate(dateTest.getDate()+1),void 0!==highlightedDates[keyDate]?(exDesc=highlightedDates[keyDate].desc)&&exDesc.length&&hDate.desc&&hDate.desc.length&&(highlightedDates[keyDate].desc=exDesc+"\n"+hDate.desc):highlightedDates[keyDate]=hDate}),options.highlightedDates=$.extend(!0,[],highlightedDates)),_options.disabledDates&&$.isArray(_options.disabledDates)&&_options.disabledDates.length&&(options.disabledDates=$.extend(!0,[],_options.disabledDates)),_options.disabledWeekDays&&$.isArray(_options.disabledWeekDays)&&_options.disabledWeekDays.length&&(options.disabledWeekDays=$.extend(!0,[],_options.disabledWeekDays)),!options.open&&!options.opened||options.inline||input.trigger("open.xdsoft"),options.inline&&(triggerAfterOpen=!0,datetimepicker.addClass("xdsoft_inline"),input.after(datetimepicker).hide()),options.inverseButton&&(options.next="xdsoft_prev",options.prev="xdsoft_next"),options.datepicker?datepicker.addClass("active"):datepicker.removeClass("active"),options.timepicker?timepicker.addClass("active"):timepicker.removeClass("active"),options.value&&(_xdsoft_datetime.setCurrentTime(options.value),input)&&input.val&&input.val(_xdsoft_datetime.str),isNaN(options.dayOfWeekStart)?options.dayOfWeekStart=0:options.dayOfWeekStart=parseInt(options.dayOfWeekStart,10)%7,options.timepickerScrollbar||timeboxparent.xdsoft
1Scroller("hide"),options.minDate&&/^[\+\-](.*)$/.test(options.minDate)&&(options.minDate=dateHelper.formatDate(_xdsoft_datetime.strToDateTime(options.minDate),options.formatDate)),options.maxDate&&/^[\+\-](.*)$/.test(options.maxDate)&&(options.maxDate=dateHelper.formatDate(_xdsoft_datetime.strToDateTime(options.maxDate),options.formatDate)),applyButton.toggle(options.showApplyButton),mounth_picker.find(".xdsoft_today_button").css("visibility",options.todayButton?"visible":"hidden"),mounth_picker.find("."+options.prev).css("visibility",options.prevButton?"visible":"hidden"),mounth_picker.find("."+options.next).css("visibility",options.nextButton?"visible":"hidden"),setMask(options),options.validateOnBlur&&input.off("blur.xdsoft").on("blur.xdsoft",function(){var d,splittedMinutes;options.allowBlank&&(!$.trim($(this).val()).length||"string"==typeof options.mask&&$.trim($(this).val())===options.mask.replace(/[0-9]/g,"_"))?($(this).val(null),datetimepicker.data("xdsoft_datetime").empty()):((d=dateHelper.parseDate($(this).val(),options.format))?$(this).val(dateHelper.formatDate(d,options.format)):(d=+[$(this).val()[0],$(this).val()[1]].join(""),splittedMinutes=+[$(this).val()[2],$(this).val()[3]].join(""),!options.datepicker&&options.timepicker&&0<=d&&d<24&&0<=splittedMinutes&&splittedMinutes<60?$(this).val([d,splittedMinutes].map(function(item){return 9<item?item:"0"+item}).join(":")):$(this).val(dateHelper.formatDate(_xdsoft_datetime.now(),options.format))),datetimepicker.data("xdsoft_datetime").setCurrentTime($(this).val())),datetimepicker.trigger("changedatetime.xdsoft"),datetimepicker.trigger("close.xdsoft")}),options.dayOfWeekStartPrev=0===options.dayOfWeekStart?6:options.dayOfWeekStart-1,datetimepicker.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},datetimepicker.data("options",options).on("touchstart mousedown.xdsoft",function(event){return event.stopPropagation(),event.preventDefault(),yearselect.hide(),monthselect.hide(),!1}),timeboxparent.append(timebox),timeboxparent.xdsoftScroller(),datetimepicker.on("afterOpen.xdsoft",function(){timeboxparent.xdsoftScroller()}),datetimepicker.append(datepicker).append(timepicker),!0!==options.withoutCopyright&&datetimepicker.append(xdsoft_copyright),datepicker.append(mounth_picker).append(calendar).append(applyButton),$(options.parentID).append(datetimepicker),_xdsoft_datetime=new function(){var _this=this;_this.now=function(norecursion){var date,d=new Date;return!norecursion&&options.defaultDate&&(date=_this.strToDateTime(options.defaultDate),d.setFullYear(date.getFullYear()),d.setMonth(date.getMonth()),d.setDate(date.getDate())),options.yearOffset&&d.setFullYear(d.getFullYear()+options.yearOffset),!norecursion&&options.defaultTime&&(date=_this.strtotime(options.defaultTime),d.setHours(date.getHours()),d.setMinutes(date.getMinutes())),d},_this.isValidDate=function(d){return"[object Date]"===Object.prototype.toString.call(d)&&!isNaN(d.getTime())},_this.setCurrentTime=function(dTime,requireValidDate){"string"==typeof dTime?_this.currentTime=_this.strToDateTime(dTime):_this.isValidDate(dTime)?_this.currentTime=dTime:dTime||requireValidDate||!options.allowBlank?_this.currentTime=_this.now():_this.currentTime=null,datetimepicker.trigger("xchange.xdsoft")},_this.empty=function(){_this.currentTime=null},_this.getCurrentTime=function(dTime){return _this.currentTime},_this.nextMonth=function(){void 0!==_this.currentTime&&null!==_this.currentTime||(_this.currentTime=_this.now());var year,month=_this.currentTime.getMonth()+1;return 12===month&&(_this.currentTime.setFullYear(_this.currentTime.getFullYear()+1),month=0),year=_this.currentTime.getFullYear(),_this.currentTime.setDate(Math.min(new Date(_this.currentTime.getFullYear(),month+1,0).getDate(),_this.currentTime.getDate())),_this.currentTime.setMonth(month),options.onChangeMonth&&$.isFunction(options.onChangeMonth)&&options.onChangeMonth.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input")),year!==_this.currentTime.getFullYear()&&$.isFunction(options.onChangeYear)&&options.onChangeYear.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input")),datetimepicker.trigger("xchange.xdsoft"),month},_this.prevMonth=function(){void 0!==_this.currentTime&&null!==_this.currentTime||(_this.currentTime=_this.now());var month=_this.currentTime.getMonth()-1;return-1===month&&(_this.currentTime.setFullYear(_this.currentTime.getFullYear()-1),month=11),_this.currentTime.setDate(Math.min(new Date(_this.currentTime.getFullYear(),month+1,0).getDate(),_this.currentTime.getDate())),_this.currentTime.setMonth(month),options.onChangeMonth&&$.isFunction(options.onChangeMonth)&&options.onChangeMonth.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input")),datetimepicker.trigger("xchange.xdsoft"),month},_this.getWeekOfYear=function(datetime){if(options.onGetWeekOfYear&&$.isFunction(options.onGetWeekOfYear)){var week=options.onGetWeekOfYear.call(datetimepicker,datetime);if(void 0!==week)return week}week=new Date(datetime.getFullYear(),0,1);return 4!=week.getDay()&&week.setMonth(0,1+(4-week.getDay()+7)%7),Math.ceil(((datetime-week)/864e5+week.getDay()+1)/7)},_this.strToDateTime=function(sDateTime){var timeOffset,tmpDate=[];return sDateTime&&sDateTime instanceof Date&&_this.isValidDate(sDateTime)?sDateTime:((tmpDate=/^(\+|\-)(.*)$/.exec(sDateTime))&&(tmpDate[2]=dateHelper.parseDate(tmpDate[2],options.formatDate)),tmpDate=tmpDate&&tmpDate[2]?(timeOffset=tmpDate[2].getTime()-6e4*tmpDate[2].getTimezoneOffset(),new Date(_this.now(!0).getTime()+parseInt(tmpDate[1]+"1",10)*timeOffset)):sDateTime?dateHelper.parseDate(sDateTime,options.format):_this.now(),_this.isValidDate(tmpDate)?tmpDate:_this.now())},_this.strToDate=function(sDate){return sDate&&sDate instanceof Date&&_this.isValidDate(sDate)||(sDate=sDate?dateHelper.parseDate(sDate,options.formatDate):_this.now(!0),_this.isValidDate(sDate))?sDate:_this.now(!0)},_this.strtotime=function(sTime){return sTime&&sTime instanceof Date&&_this.isValidDate(sTime)||(sTime=sTime?dateHelper.parseDate(sTime,options.formatTime):_this.now(!0),_this.isValidDate(sTime))?sTime:_this.now(!0)},_this.str=function(){return dateHelper.formatDate(_this.currentTime,options.format)},_this.currentTime=this.now()},applyButton.on("touchend click",function(e){e.preventDefault(),datetimepicker.data("changed",!0),_xdsoft_datetime.setCurrentTime(getCurrentValue()),input.val(_xdsoft_datetime.str()),datetimepicker.trigger("close.xdsoft")}),mounth_picker.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){datetimepicker.data("changed",!0),_xdsoft_datetime.setCurrentTime(0,!0),datetimepicker.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var currentDate=_xdsoft_datetime.getCurrentTime(),currentDate=new Date(currentDate.getFullYear(),currentDate.getMonth(),currentDate.getDate()),minDate=_xdsoft_datetime.strToDate(options.minDate);currentDate<(minDate=new Date(minDate.getFullYear(),minDate.getMonth(),minDate.getDate()))||(minDate=_xdsoft_datetime.strToDate(options.maxDate),(minDate=new Date(minDate.getFullYear(),minDate.getMonth(),minDate.getDate()))<currentDate)||(input.val(_xdsoft_datetime.str()),input.trigger("change"),datetimepicker.trigger("close.xdsoft"))}
1),mounth_picker.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var $this=$(this),timer=0,stop=!1;!function arguments_callee1(v){$this.hasClass(options.next)?_xdsoft_datetime.nextMonth():$this.hasClass(options.prev)&&_xdsoft_datetime.prevMonth(),options.monthChangeSpinner&&!stop&&(timer=setTimeout(arguments_callee1,v||100))}(500),$([document.body,window]).on("touchend mouseup.xdsoft",function arguments_callee2(){clearTimeout(timer),stop=!0,$([document.body,window]).off("touchend mouseup.xdsoft",arguments_callee2)})}),timepicker.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var $this=$(this),timer=0,stop=!1,period=110;!function arguments_callee4(v){var pheight=timeboxparent[0].clientHeight,height=timebox[0].offsetHeight,top=Math.abs(parseInt(timebox.css("marginTop"),10));$this.hasClass(options.next)&&height-pheight-options.timeHeightInTimePicker>=top?timebox.css("marginTop","-"+(top+options.timeHeightInTimePicker)+"px"):$this.hasClass(options.prev)&&0<=top-options.timeHeightInTimePicker&&timebox.css("marginTop","-"+(top-options.timeHeightInTimePicker)+"px"),timeboxparent.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(timebox[0].style.marginTop,10)/(height-pheight))]),period=10<period?10:period-10,stop||(timer=setTimeout(arguments_callee4,v||period))}(500),$([document.body,window]).on("touchend mouseup.xdsoft",function arguments_callee5(){clearTimeout(timer),stop=!0,$([document.body,window]).off("touchend mouseup.xdsoft",arguments_callee5)})}),xchangeTimer=0,datetimepicker.on("xchange.xdsoft",function(event){clearTimeout(xchangeTimer),xchangeTimer=setTimeout(function(){if(void 0===_xdsoft_datetime.currentTime||null===_xdsoft_datetime.currentTime){if(options.allowBlank)return;_xdsoft_datetime.currentTime=_xdsoft_datetime.now()}for(var j,day,d,y,m,w,customDateSettings,line_time,description,table="",start=new Date(_xdsoft_datetime.currentTime.getFullYear(),_xdsoft_datetime.currentTime.getMonth(),1,12,0,0),i=0,today=_xdsoft_datetime.now(),maxDate=!1,minDate=!1,classes=[],newRow=!0,time="";start.getDay()!==options.dayOfWeekStart;)start.setDate(start.getDate()-1);for(table+="<table><thead><tr>",options.weeks&&(table+="<th></th>"),j=0;j<7;j+=1)table+="<th>"+options.i18n[globalLocale].dayOfWeekShort[(j+options.dayOfWeekStart)%7]+"</th>";for(table=table+"</tr></thead>"+"<tbody>",!1!==options.maxDate&&(maxDate=_xdsoft_datetime.strToDate(options.maxDate),maxDate=new Date(maxDate.getFullYear(),maxDate.getMonth(),maxDate.getDate(),23,59,59,999)),!1!==options.minDate&&(minDate=_xdsoft_datetime.strToDate(options.minDate),minDate=new Date(minDate.getFullYear(),minDate.getMonth(),minDate.getDate()));i<_xdsoft_datetime.currentTime.countDaysInMonth()||start.getDay()!==options.dayOfWeekStart||_xdsoft_datetime.currentTime.getMonth()===start.getMonth();)classes=[],i+=1,day=start.getDay(),d=start.getDate(),y=start.getFullYear(),m=start.getMonth(),w=_xdsoft_datetime.getWeekOfYear(start),description="",classes.push("xdsoft_date"),customDateSettings=options.beforeShowDay&&$.isFunction(options.beforeShowDay.call)?options.beforeShowDay.call(datetimepicker,start):null,options.allowDateRe&&"[object RegExp]"===Object.prototype.toString.call(options.allowDateRe)?options.allowDateRe.test(dateHelper.formatDate(start,options.formatDate))||classes.push("xdsoft_disabled"):options.allowDates&&0<options.allowDates.length?-1===options.allowDates.indexOf(dateHelper.formatDate(start,options.formatDate))&&classes.push("xdsoft_disabled"):(!1!==maxDate&&maxDate<start||!1!==minDate&&start<minDate||customDateSettings&&!1===customDateSettings[0]||-1!==options.disabledDates.indexOf(dateHelper.formatDate(start,options.formatDate))||-1!==options.disabledWeekDays.indexOf(day)||input.is("[readonly]"))&&classes.push("xdsoft_disabled"),customDateSettings&&""!==customDateSettings[1]&&classes.push(customDateSettings[1]),_xdsoft_datetime.currentTime.getMonth()!==m&&classes.push("xdsoft_other_month"),(options.defaultSelect||datetimepicker.data("changed"))&&dateHelper.formatDate(_xdsoft_datetime.currentTime,options.formatDate)===dateHelper.formatDate(start,options.formatDate)&&classes.push("xdsoft_current"),dateHelper.formatDate(today,options.formatDate)===dateHelper.formatDate(start,options.formatDate)&&classes.push("xdsoft_today"),0!==start.getDay()&&6!==start.getDay()&&-1===options.weekends.indexOf(dateHelper.formatDate(start,options.formatDate))||classes.push("xdsoft_weekend"),void 0!==options.highlightedDates[dateHelper.formatDate(start,options.formatDate)]&&(day=options.highlightedDates[dateHelper.formatDate(start,options.formatDate)],classes.push(void 0===day.style?"xdsoft_highlighted_default":day.style),description=void 0===day.desc?"":day.desc),options.beforeShowDay&&$.isFunction(options.beforeShowDay)&&classes.push(options.beforeShowDay(start)),newRow&&(table+="<tr>",newRow=!1,options.weeks)&&(table+="<th>"+w+"</th>"),table+='<td data-date="'+d+'" data-month="'+m+'" data-year="'+y+'" class="xdsoft_date xdsoft_day_of_week'+start.getDay()+" "+classes.join(" ")+'" title="'+description+'"><div>'+d+"</div></td>
vendor: 7,635 bytes, line 1
1",start.getDay()===options.dayOfWeekStartPrev&&(table+="</tr>",newRow=!0),start.setDate(d+1);if(calendar.html(table+="</tbody></table>"),mounth_picker.find(".xdsoft_label span").eq(0).text(options.i18n[globalLocale].months[_xdsoft_datetime.currentTime.getMonth()]),mounth_picker.find(".xdsoft_label span").eq(1).text(_xdsoft_datetime.currentTime.getFullYear()),m=time="",line_time=function(h,m){var optionDateTime,now=_xdsoft_datetime.now(),isALlowTimesInit=options.allowTimes&&$.isArray(options.allowTimes)&&options.allowTimes.length;now.setHours(h),h=parseInt(now.getHours(),10),now.setMinutes(m),m=parseInt(now.getMinutes(),10),(optionDateTime=new Date(_xdsoft_datetime.currentTime)).setHours(h),optionDateTime.setMinutes(m),(!(classes=[])!==options.minDateTime&&options.minDateTime>optionDateTime||!1!==options.maxTime&&_xdsoft_datetime.strtotime(options.maxTime).getTime()<now.getTime()||!1!==options.minTime&&_xdsoft_datetime.strtotime(options.minTime).getTime()>now.getTime()||!1!==options.minDateTime&&options.minDateTime>optionDateTime||!1!==options.disabledMinTime&&now.getTime()>_xdsoft_datetime.strtotime(options.disabledMinTime).getTime()&&!1!==options.disabledMaxTime&&now.getTime()<_xdsoft_datetime.strtotime(options.disabledMaxTime).getTime()||input.is("[readonly]"))&&classes.push("xdsoft_disabled"),(optionDateTime=new Date(_xdsoft_datetime.currentTime)).setHours(parseInt(_xdsoft_datetime.currentTime.getHours(),10)),isALlowTimesInit||optionDateTime.setMinutes(Math[options.roundTime](_xdsoft_datetime.currentTime.getMinutes()/options.step)*options.step),(options.initTime||options.defaultSelect||datetimepicker.data("changed"))&&optionDateTime.getHours()===parseInt(h,10)&&(!isALlowTimesInit&&59<options.step||optionDateTime.getMinutes()===parseInt(m,10))&&(options.defaultSelect||datetimepicker.data("changed")?classes.push("xdsoft_current"):options.initTime&&classes.push("xdsoft_init_time")),parseInt(today.getHours(),10)===parseInt(h,10)&&parseInt(today.getMinutes(),10)===parseInt(m,10)&&classes.push("xdsoft_today"),time+='<div class="xdsoft_time '+classes.join(" ")+'" data-hour="'+h+'" data-minute="'+m+'">'+dateHelper.formatDate(now,options.formatTime)+"</div>"},options.allowTimes&&$.isArray(options.allowTimes)&&options.allowTimes.length)for(i=0;i<options.allowTimes.length;i+=1)line_time(_xdsoft_datetime.strtotime(options.allowTimes[i]).getHours(),m=_xdsoft_datetime.strtotime(options.allowTimes[i]).getMinutes());else for(j=i=0;i<(options.hours12?12:24);i+=1)for(j=0;j<60;j+=options.step)line_time((i<10?"0":"")+i,m=(j<10?"0":"")+j);for(timebox.html(time),opt="",i=0,i=parseInt(options.yearStart,10)+options.yearOffset;i<=parseInt(options.yearEnd,10)+options.yearOffset;i+=1)opt+='<div class="xdsoft_option '+(_xdsoft_datetime.currentTime.getFullYear()===i?"xdsoft_current":"")+'" data-value="'+i+'">'+i+"</div>";for(yearselect.children().eq(0).html(opt),i=parseInt(options.monthStart,10),opt="";i<=parseInt(options.monthEnd,10);i+=1)opt+='<div class="xdsoft_option '+(_xdsoft_datetime.currentTime.getMonth()===i?"xdsoft_current":"")+'" data-value="'+i+'">'+options.i18n[globalLocale].months[i]+"</div>";monthselect.children().eq(0).html(opt),$(datetimepicker).trigger("generate.xdsoft")},10),event.stopPropagation()}).on("afterOpen.xdsoft",function(){var pheight,height,classType;options.timepicker&&(timebox.find(".xdsoft_current").length?classType=".xdsoft_current":timebox.find(".xdsoft_init_time").length&&(classType=".xdsoft_init_time"),classType?(pheight=timeboxparent[0].clientHeight,(height=timebox[0].offsetHeight)-pheight<(classType=timebox.find(classType).index()*options.timeHeightInTimePicker+1)&&(classType=height-pheight),timeboxparent.trigger("scroll_element.xdsoft_scroller",[parseInt(classType,10)/(height-pheight)])):timeboxparent.trigger("scroll_element.xdsoft_scroller",[0]))}),timerclick=0,calendar.on("touchend click.xdsoft","td",function(xdevent){xdevent.stopPropagation(),timerclick+=1;var $this=$(this),currentTime=_xdsoft_datetime.currentTime;if(null==currentTime&&(_xdsoft_datetime.currentTime=_xdsoft_datetime.now(),currentTime=_xdsoft_datetime.currentTime),$this.hasClass("xdsoft_disabled"))return!1;currentTime.setDate(1),currentTime.setFullYear($this.data("year")),currentTime.setMonth($this.data("month")),currentTime.setDate($this.data("date")),datetimepicker.trigger("select.xdsoft",[currentTime]),input.val(_xdsoft_datetime.str()),options.onSelectDate&&$.isFunction(options.onSelectDate)&&options.onSelectDate.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input"),xdevent),datetimepicker.data("changed",!0),datetimepicker.trigger("xchange.xdsoft"),datetimepicker.trigger("changedatetime.xdsoft"),(1<timerclick||!0===options.closeOnDateSelect||!1===options.closeOnDateSelect&&!options.timepicker)&&!options.inline&&datetimepicker.trigger("close.xdsoft"),setTimeout(function(){timerclick=0},200)}),timebox.on("touchend click.xdsoft","div",function(xdevent){xdevent.stopPropagation();var $this=$(this),currentTime=_xdsoft_datetime.currentTime;if(null==currentTime&&(_xdsoft_datetime.currentTime=_xdsoft_datetime.now(),currentTime=_xdsoft_datetime.currentTime),$this.hasClass("xdsoft_disabled"))return!1;currentTime.setHours($this.data("hour")),currentTime.setMinutes($this.data("minute")),datetimepicker.trigger("select.xdsoft",[currentTime]),datetimepicker.data("input").val(_xdsoft_datetime.str()),options.onSelectTime&&$.isFunction(options.onSelectTime)&&options.onSelectTime.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input"),xdevent),datetimepicker.data("changed",!0),datetimepicker.trigger("xchange.xdsoft"),datetimepicker.trigger("changedatetime.xdsoft"),!0!==options.inline&&!0===options.closeOnTimeSelect&&datetimepicker.trigger("close.xdsoft")}),datepicker.on("mousewheel.xdsoft",function(event){return!options.scrollMonth||(event.deltaY<0?_xdsoft_datetime.nextMonth():_xdsoft_datetime.prevMonth(),!1)}),input.on("mousewheel.xdsoft",function(event){return!options.scrollInput||(!options.datepicker&&options.timepicker?(0<=(current_time_index=timebox.find(".xdsoft_current").length?timebox.find(".xdsoft_current").eq(0).index():0)+event.deltaY&¤t_time_index+event.deltaY<timebox.children().length&&(current_time_index+=event.deltaY),timebox.children().eq(current_time_index).length&&timebox.children().eq(current_time_index).trigger("mousedown"),!1):options.datepicker&&!options.timepicker?(datepicker.trigger(event,[event.deltaY,event.deltaX,event.deltaY]),input.val&&input.val(_xdsoft_datetime.str()),datetimepicker.trigger("changedatetime.xdsoft"),!1):void 0)}),datetimepicker.on("changedatetime.xdsoft",function(event){var $input;options.onChangeDateTime&&$.isFunction(options.onChangeDateTime)&&($input=datetimepicker.data("input"),options.onChangeDateTime.call(datetimepicker,_xdsoft_datetime.currentTime,$input,event),delete options.value,$input.trigger("change"))}).on("generate.xdsoft",function(){options.onGenerate&&$.isFunction(options.onGenerate)&&options.onGenerate.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input")),triggerAfterOpen&&(datetimepicker.trigger("afterOpen.xdsoft"),triggerAfterOpen=!1)}).on("click.xdsoft",function(xdevent){xdevent.stopPropagation()}),current_time_index=0,forEachAncestorOf=function(node,callback){do{if(!1===callback(node=node.parentNode))break}while("HTML"!==node.nodeName)},setPos=function(){var dateInputHasFixedAncestor,diff,$dateInput=datetimepicker.data("input"),dateInputOffset=$dateInput.offset(),dateInputElem=$dateInput[0],verticalAnchorEdge="top",verticalPosition=dateInputOffset.top+dateInputElem.offsetHeight-1,left
1=dateInputOffset.left,position="absolute",windowWidth=$(window).width(),windowHeight=$(window).height(),windowScrollTop=$(window).scrollTop();document.documentElement.clientWidth-dateInputOffset.left<datepicker.parent().outerWidth(!0)&&(diff=datepicker.parent().outerWidth(!0)-dateInputElem.offsetWidth,left-=diff),"rtl"===$dateInput.parent().css("direction")&&(left-=datetimepicker.outerWidth()-$dateInput.outerWidth()),options.fixed?(verticalPosition-=windowScrollTop,left-=$(window).scrollLeft(),position="fixed"):(dateInputHasFixedAncestor=!1,forEachAncestorOf(dateInputElem,function(ancestorNode){if("fixed"===window.getComputedStyle(ancestorNode).getPropertyValue("position"))return!(dateInputHasFixedAncestor=!0)}),dateInputHasFixedAncestor?(position="fixed",verticalPosition+datetimepicker.outerHeight()>windowHeight+windowScrollTop?(verticalAnchorEdge="bottom",verticalPosition=windowHeight+windowScrollTop-dateInputOffset.top):verticalPosition-=windowScrollTop):verticalPosition+dateInputElem.offsetHeight>windowHeight+windowScrollTop&&(verticalPosition=dateInputOffset.top-dateInputElem.offsetHeight+1),verticalPosition<0&&(verticalPosition=0),left+dateInputElem.offsetWidth>windowWidth&&(left=windowWidth-dateInputElem.offsetWidth)),diff=datetimepicker[0],forEachAncestorOf(diff,function(ancestorNode){if("relative"===window.getComputedStyle(ancestorNode).getPropertyValue("position")&&windowWidth>=ancestorNode.offsetWidth)return left-=(windowWidth-ancestorNode.offsetWidth)/2,!1}),($dateInput={position:position,left:left,top:"",bottom:""})[verticalAnchorEdge]=verticalPosition,datetimepicker.css($dateInput)},datetimepicker.on("open.xdsoft",function(event){var onShow=!0;!1!==(onShow=options.onShow&&$.isFunction(options.onShow)?options.onShow.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input"),event):onShow)&&(datetimepicker.show(),setPos(),$(window).off("resize.xdsoft",setPos).on("resize.xdsoft",setPos),options.closeOnWithoutClick)&&$([document.body,window]).on("touchstart mousedown.xdsoft",function arguments_callee6(){datetimepicker.trigger("close.xdsoft"),$([document.body,window]).off("touchstart mousedown.xdsoft",arguments_callee6)})}).on("close.xdsoft",function(event){var onClose=!0;mounth_picker.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),!1===(onClose=options.onClose&&$.isFunction(options.onClose)?options.onClose.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data("input"),event):onClose)||options.opened||options.inline||datetimepicker.hide(),event.stopPropagation()}).on("toggle.xdsoft",function(){datetimepicker.is(":visible")?datetimepicker.trigger("close.xdsoft"):datetimepicker.trigger("open.xdsoft")}).data("input",input),timer=0,datetimepicker.data("xdsoft_datetime",_xdsoft_datetime),datetimepicker.setOptions(options),_xdsoft_datetime.setCurrentTime(getCurrentValue()),input.data("xdsoft_datetimepicker",datetimepicker).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){input.is(":disabled")||input.data("xdsoft_datetimepicker").is(":visible")&&options.closeOnInputClick||(clearTimeout(timer),timer=setTimeout(function(){input.is(":disabled")||(triggerAfterOpen=!0,_xdsoft_datetime.setCurrentTime(getCurrentValue(),!0),options.mask&&setMask(options),datetimepicker.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(event){var elementSelector,event=event.which;return-1!==[ENTER].indexOf(event)&&options.enterLikeTab?(elementSelector=$("input:visible,textarea:visible,button:visible,a:visible"),datetimepicker.trigger("close.xdsoft"),elementSelector.eq(elementSelector.index(this)+1).focus(),!1):-1!==[TAB].indexOf(event)?(datetimepicker.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){datetimepicker.trigger("close.xdsoft")})},destroyDateTimePicker=function(input){var datetimepicker=input.data("xdsoft_datetimepicker");datetimepicker&&(datetimepicker.data("xdsoft_datetime",null),datetimepicker.remove(),input.data("xdsoft_datetimepicker",null).off(".xdsoft"),$(window).off("resize.xdsoft"),$([window,document.body]).off("mousedown.xdsoft touchstart"),input.unmousewheel)&&input.unmousewheel()};return $(document).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(e){e.keyCode===CTRLKEY&&(ctrlDown=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===CTRLKEY&&(ctrlDown=!1)}),this.each(function(){var input,datetimepicker=$(this).data("xdsoft_datetimepicker");if(datetimepicker){if("string"===$.type(opt))switch(opt){case"show":$(this).select().focus(),datetimepicker.trigger("open.xdsoft");break;case"hide":datetimepicker.trigger("close.xdsoft");break;case"toggle":datetimepicker.trigger("toggle.xdsoft");break;
1case"destroy":destroyDateTimePicker($(this));break;case"reset":this.value=this.defaultValue,this.value&&datetimepicker.data("xdsoft_datetime").isValidDate(dateHelper.parseDate(this.value,options.format))||datetimepicker.data("changed",!1),datetimepicker.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":datetimepicker.data("input").trigger("blur.xdsoft");break;default:datetimepicker[opt]&&$.isFunction(datetimepicker[opt])&&(result=datetimepicker[opt](opt2))}else datetimepicker.setOptions(opt);return 0}"string"!==$.type(opt)&&(!options.lazyInit||options.open||options.inline?createDateTimePicker($(this)):(input=$(this)).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function initOnActionCallback(){input.is(":disabled")||input.data("xdsoft_datetimepicker")||(clearTimeout(lazyInitTimer),lazyInitTimer=setTimeout(function(){input.data("xdsoft_datetimepicker")||createDateTimePicker(input),input.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",initOnActionCallback).trigger("open.xdsoft")},100))}))}),result},$.fn.datetimepicker.defaults=default_options}),function(factory){"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof exports?module.exports=factory:factory(jQuery)}(function($){var nullLowestDeltaTimeout,lowestDelta,toFix=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],toBind="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],slice=Array.prototype.slice;if($.event.fixHooks)for(var i=toFix.length;i;)$.event.fixHooks[toFix[--i]]=$.event.mouseHooks;var special=$.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=toBind.length;i;)this.addEventListener(toBind[--i],handler,!1);else this.onmousewheel=handler;$.data(this,"mousewheel-line-height",special.getLineHeight(this)),$.data(this,"mousewheel-page-height",special.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=toBind.length;i;)this.removeEventListener(toBind[--i],handler,!1);else this.onmousewheel=null;$.removeData(this,"mousewheel-line-height"),$.removeData(this,"mousewheel-page-height")},getLineHeight:function(elem){var elem=$(elem),$parent=elem["offsetParent"in $.fn?"offsetParent":"parent"]();return $parent.length||($parent=$("body")),parseInt($parent.css("fontSize"),10)||parseInt(elem.css("fontSize"),10)||16},getPageHeight:function(elem){return $(elem).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function handler(event){var lineHeight,orgEvent=event||window.event,args=slice.call(arguments,1),delta=0,deltaX=0,deltaY=0,offsetX=0,offsetY=0;if((event=$.event.fix(orgEvent)).type="mousewheel","detail"in orgEvent&&(deltaY=-1*orgEvent.detail),"wheelDelta"in orgEvent&&(deltaY=orgEvent.wheelDelta),"wheelDeltaY"in orgEvent&&(deltaY=orgEvent.wheelDeltaY),"wheelDeltaX"in orgEvent&&(deltaX=-1*orgEvent.wheelDeltaX),"axis"in orgEvent&&orgEvent.axis===orgEvent.HORIZONTAL_AXIS&&(deltaX=-1*deltaY,deltaY=0),delta=0===deltaY?deltaX:deltaY,"deltaY"in orgEvent&&(delta=deltaY=-1*orgEvent.deltaY),"deltaX"in orgEvent&&(deltaX=orgEvent.deltaX,0===deltaY)&&(delta=-1*deltaX),0!==deltaY||0!==deltaX)return 1===orgEvent.deltaMode?(delta*=lineHeight=$.data(this,"mousewheel-line-height"),deltaY*=lineHeight,deltaX*=lineHeight):2===orgEvent.deltaMode&&(delta*=lineHeight=$.data(this,"mousewheel-page-height"),deltaY*=lineHeight,deltaX*=lineHeight),lineHeight=Math.max(Math.abs(deltaY),Math.abs(deltaX)),(!lowestDelta||lineHeight<lowestDelta)&&shouldAdjustOldDeltas(orgEvent,lowestDelta=lineHeight)&&(lowestDelta/=40),shouldAdjustOldDeltas(orgEvent,lineHeight)&&(delta/=40,deltaX/=40,deltaY/=40),delta=Math[1<=delta?"floor":"ceil"](delta/lowestDelta),deltaX=Math[1<=deltaX?"floor":"ceil"](deltaX/lowestDelta),deltaY=Math[1<=deltaY?"floor":"ceil"](deltaY/lowestDelta),special.settings.normalizeOffset&&this.getBoundingClientRect&&(orgEvent=this.getBoundingClientRect(),offsetX=event.clientX-orgEvent.left,offsetY=event.clientY-orgEvent.top),event.deltaX=deltaX,event.deltaY=deltaY,event.deltaFactor=lowestDelta,event.offsetX=offsetX,event.offsetY=offsetY,event.deltaMode=0,args.unshift(event,delta,deltaX,deltaY),nullLowestDeltaT
1imeout&&clearTimeout(nullLowestDeltaTimeout),nullLowestDeltaTimeout=setTimeout(nullLowestDelta,200),($.event.dispatch||$.event.handle).apply(this,args)}function nullLowestDelta(){lowestDelta=null}function shouldAdjustOldDeltas(orgEvent,absDelta){return special.settings.adjustOldDeltas&&"mousewheel"===orgEvent.type&&absDelta%120==0}$.fn.extend({mousewheel:function(fn){return fn?this.bind("mousewheel",fn):this.trigger("mousewheel")},unmousewheel:function(fn){return this.unbind("mousewheel",fn)}})}),function($){"use strict";function UniFilter(container,list,options){this.container=$(container),this.options=options,this.list=$(list),this.items=this.list.children(options.selector),this.filters={},this.search={},this.range={},this.sort=null,this.data=[],this.init()}UniFilter.prototype.getCSS3Property=function(name){var prefix=["Webkit","Moz","O","ms"],style=document.createElement("div").style;if(""===style[name])return name;var p,ucname=name.charAt(0).toUpperCase()+name.substr(1);for(p in prefix)if(""===style[prefix[p]+ucname])return prefix[p]+ucname},UniFilter.prototype.getCSS3Event=function(){return{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"}[this.getCSS3Property("transition")]},UniFilter.prototype.init=function(){var that=this;this.list.addClass("uf-list"),this.items.addClass("uf-item").each(function(n){that.data.push({item:this,index:n,display:!0,filters:that.getItemFilters(this),search:that.getItemSearch(this),sort:that.getItemSort(this),range:that.getItemRange(this),filters_match:0,search_match:0,range_match:0})}),this.leading_filters=this.getLeadingFilters(),this.options.order.trim().split(/\s*,\s*/).forEach(function(entry){switch(entry){case"filters":that.options.filters&&(that.displayFilters(),that.addFilterEvents(),window.setTimeout(function(){that.addDeepLinking()},50));break;case"search":that.options.search&&(that.displaySearch(),that.addSearchEvents());break;case"sort":that.options.sort&&(that.displaySort(),that.addSortEvents());break;case"range":that.options.range&&(that.displayRange(),that.addRangeEvents())}}),this.options.autoScroll&&$(window).on("scroll.unifilter",function(){window.clearTimeout(that.scrollTimer)})},UniFilter.prototype.getItemFilters=function(item){var filter_name,filter_tags={};if(!this.options.filters)return null;for(filter_name in this.options.filters){var data,filter=this.options.filters[filter_name];filter_tags[filter_name]=[],filter.getFilterData&&"function"==typeof filter.getFilterData?(data=filter.getFilterData.call(item,filter_name),Array.isArray(data)&&(filter_tags[filter_name]=data)):(data=$(item).data(filter_name))&&data.length&&(filter_tags[filter_name]=data.split(/\s*,\s*/))}return filter_tags},UniFilter.prototype.uniqueFilterTags=function(){var filter_name,tags={};for(filter_name in this.options.filters){for(var all_tags=[],unique_tags=[],i=0;i<this.data.length;i++)all_tags=all_tags.concat(this.data[i].filters[filter_name]);for(;all_tags.length;){var tag=all_tags.pop();-1===unique_tags.indexOf(tag)&&""!==tag&&unique_tags.push(tag)}var filter_options=this.options.filters[filter_name];"function"==typeof filter_options.sortFilterTags&&(unique_tags=filter_options.sortFilterTags(unique_tags)),tags[filter_name]=unique_tags}return tags},UniFilter.prototype.getFilterNumItems=function(filter,tag){if(this.options.filters[filter]){for(var n=0,i=0;i<this.data.length;i++)-1!==this.data[i].filters[filter].indexOf(tag)&&n++;return n}return 0},UniFilter.prototype.displayFilters=function(){var filter_name,filter_tags=this.uniqueFilterTags(),markup=$('<div class="uf-filter-wrap"></div>');for(filter_name in this.options.filters){var filter_option=this.options.filters[filter_name];if(filter_option.display&&filter_tags[filter_name].length){for(var title,filter_markup=$('<div id="uf-'+filter_name+'" class="uf-filter"></div>'),tags_markup=(filter_option.title&&(title=$('<div class="uf-title">'+filter_option.title+"</div>"),filter_option.subtitle&&title.append("<span>"+filter_option.subtitle+"</span>"),filter_markup.append(title)),$('<ul class="uf-tags"></ul>')),i=0;i<filter_tags[filter_name].length;i++){var tag=filter_tags[filter_name][i],tag_markup=$('<li><a href="#'+tag+'">'+tag+"</a></li>");filter_option.tooltip&&tag_markup.append('<span class="uf-tooltip">'+this.getFilterNumItems(filter_name,tag)+"</span>"),tags_markup.append(tag_markup)}tags_markup.append('<li class="uf-reset" title="Reset filters"></li>'),filter_markup.append(tags_markup),markup.append(filter_markup)}}this.container.append(markup)},UniFilter.prototype.displaySearch=function(){var search,markup=$('<div class="uf-search-wrap"></div>');for(search in this.options.search){var search_markup,title,search_option=this.options.search[search];search_option.display&&(search_markup=$('<div id="uf-'+search+'" class="uf-search"></div>'),search_option.title&&(title=$('<div class="uf-title">'+search_option.title+"</div>"),search_option.subtitle&&title.append("<span>"+search_option.subtitle+"</span>"),search_markup.append(title)),$('<div class="uf-search-box"></div>').append('<input type="search" placeholder="'+search_option.placeholder+'"/>').append('<div class="uf-reset" title="Reset"></div>').appendTo(search_markup),markup.append(search_markup))}this.container.append(markup)},UniFilter.prototype.displaySort=function(){var sort_option=this.options.sort;if(sort_option.display){var option_name,markup=$('<div class="uf-sort-wrap"><div class="uf-sort"></div></div>'),title=(sort_option.title&&(title=$('<div class="uf-title">'+sort_option.title+"</div>"),sort_option.subtitle&&title.append("<span>"+sort_option.subtitle+"</span>"),markup.find(".uf-sort").append(title)),$('<div class="uf-sort-box"><div class="uf-select"><span>'+sort_option.placeholder+' …</span><a class="uf-order" href="#" title="Reverse sorting order"></a></div></div>')),options_markup=$('<ul class="uf-options"></ul>');for(option_name in sort_option.options){var option=sort_option.options[option_name];options_markup.append('<li><a href="#'+option_name+'">'+(option.label||option_name)+"</a></li>")}options_markup.append('<li><a href="" title="Click to reset sorting">None</a></li>'),title.append(options_markup),markup.find(".uf-sort").append(title),this.container.append(markup)}},UniFilter.prototype.displayRange=function(){var range_name,markup=$('<div class="uf-range-wrap"></div>');for(range_name in this.options.range){var range_markup,title,range_option=this.options.range[range_name];range_option.display&&range_option.scale&&(range_markup=$('<div id="uf-'+range_name+'" class="uf-range"></div>'),range_option.title&&(title=$('<div class="uf-title">'+range_option.title+"</div>"),range_option.subtitle&&title.append("<span>"+range_option.subtitle+"</span>"),range_markup.append(title)),title=range_option.scale.replace(/[^\d-\.]+/g,"").split("-"),range_option=$('<div class="uf-slider"><div class="uf-path"><a href="#" class="uf-handle-left"><span class="uf-tooltip">'+range_option.prefix+Number(title[0]).toFixed(range_option.precision)+'</span></a><a href="#" class="uf-handle-right"><span class="uf-tooltip">'+range_option.prefix+Number(title[1]).toFixed(range_option.precision)+'</span></a></div><span class="uf-start">'+range_option.prefix+Number(title[0]).toFixed(range_option.precision)+'</span><span class="uf-end">'+range_option.prefix+Number(title[1]).toFixed(range_option.precision)+"</span></div>"),range_markup.append(range_option),markup.append(range_markup))}this.container.append(markup)},UniFilter.prototype.addSortEvents=function(){var that=this,sortbox=$(".uf-sort .uf-sort-box"),sortbox_text=$(".uf-sort .uf-select span"),options=$(".uf-sort .uf-options");sortbox_text.on("click",function(){sortbox.toggleClass("uf-show-options")}).on("mousedown",function(e){e.preventDefault()}),options.on("click","a",function(e){var order,option=$(this).attr("href").substr(1);
1sortbox.removeClass("uf-order-asc uf-order-desc"),option?(order=that.options.sort.options[option].order,that.sort=[option,order.toUpperCase()],sortbox_text.text($(this).text()),sortbox.addClass("uf-order-"+order.toLowerCase())):(that.sort=null,sortbox_text.html(that.options.sort.placeholder+" …")),sortbox.removeClass("uf-show-options"),that.updateList(),e.preventDefault()}),$(".uf-sort .uf-order").on("click",function(e){var order;null!==that.sort&&(order="ASC"==that.sort[1]?"DESC":"ASC",that.sort=[that.sort[0],order],sortbox.removeClass("uf-order-asc uf-order-desc").addClass("uf-order-"+order.toLowerCase()),that.updateList()),sortbox.removeClass("uf-show-options"),e.preventDefault()})},UniFilter.prototype.addFilterEvents=function(){var filter_name,that=this;for(filter_name in this.options.filters){var filter_option=this.options.filters[filter_name];this.filters[filter_name]=[],!function(name,option){$("#uf-"+name+" .uf-tags").on("click","a",function(e){if(e.preventDefault(),!$(this).parent().hasClass("uf-tag-hidden")){e=$(this).attr("href").substr(1);if(option.multiple){$(this).parent().toggleClass("uf-selected");var tag_index=that.filters[name].indexOf(e);-1==tag_index?that.filters[name].push(e):that.filters[name].splice(tag_index,1)}else{if($(this).parent().hasClass("uf-selected"))return;$(this).parent().addClass("uf-selected").siblings().removeClass("uf-selected"),that.filters[name]=[e]}that.hideEmptyFilters(),that.filterItems()}}),$(".uf-reset-all").on("click",function(){$(this).prev().find(".uf-tags > li").removeClass("uf-selected"),that.filters.terminal=[],that.filters.location=[],that.filters.concourse=[],that.filters.primary=[],that.filters.secondary=[],that.container.find(".uf-tags > li").removeClass("uf-tag-hidden"),that.filterItems(),window.location.hash="uf-search"}),$("#uf-"+name+" .uf-reset").on("click",function(){var leading_filters;that.list.children(".uf-item").length!==that.items.length&&($(this).siblings().removeClass("uf-selected"),that.filters[name]=[],that.options.hideEmptyFilters&&(leading_filters=that.getLeadingFilters(),$(this).closest(".uf-filter").is("#uf-"+leading_filters[0]))&&that.container.find(".uf-tags > li").removeClass("uf-tag-hidden"),that.filterItems())})}(filter_name,filter_option)}},UniFilter.prototype.addSearchEvents=function(){var search,that=this;for(search in this.options.search)that.search[search]=[],!function(search_name){var timer;$("#uf-"+search_name+' input[type="search"]').on("keyup",function(e){var input=this;window.clearTimeout(timer),timer=window.setTimeout(function(){var query=$(input).val().trim();that.search[search_name]=""===query?[]:query.replace(/[^\w\s']/g,"").split(/\s+/),that.searchItems()},500)}),$("#uf-"+search_name+" .uf-reset").on("click",function(){var input=$(this).siblings('input[type="search"]');""!==input.val()&&(input.val(""),that.search[search_name]=[],that.searchItems())})}(search)},UniFilter.prototype.addRangeEvents=function(){var range_name,that=this;for(range_name in this.options.range)!function(name){var timer,range_option=that.options.range[name],slider=$("#uf-"+name+" .uf-slider"),path=$(".uf-path",slider),handle_left=$(".uf-handle-left",slider),handle_right=$(".uf-handle-right",slider),handle_grab=0,dragging=!1,scale=range_option.scale.replace(/[^\d-\.]+/g,"").split("-"),min_scale=parseFloat(scale[0]),max_scale=parseFloat(scale[1]);that.range[name]=[],handle_right.on("mousedown touchstart",function(e){var tooltip=$(this).find(".uf-tooltip"),page_x=(void 0===that.range[name][0]&&(that.range[name][0]=min_scale),(e.originalEvent.touches?e.originalEvent.touches[0]:e).pageX);handle_grab=page_x-path.offset().left-handle_right.position().left,$(document).on("mousemove.unifilter touchmove.unifilter",function(e){var max_left;dragging&&(max_left=path.width()-handle_right.width(),e=(e.originalEvent.touches?e.originalEvent.touches[0]:e).pageX-path.offset().left-handle_grab,e=Math.max(handle_left.position().left,Math.min(max_left,e)),handle_right.css("left",e),e=e/max_left*(max_scale-min_scale)+min_scale,tooltip.css("margin-left",-tooltip.outerWidth()/2),tooltip.text(range_option.prefix+e.toFixed(range_option.precision)),that.range[name][1]=e,window.clearTimeout(timer),timer=window.setTimeout(function(){that.rangeItems()},500))}),e.preventDefault(),dragging=!0,slider.addClass("uf-dragging-right")}),handle_left.on("mousedown touchstart",function(e){var tooltip=$(this).find(".uf-tooltip"),page_x=(void 0===that.range[name][1]&&(that.range[name][1]=max_scale),(e.originalEvent.touches?e.originalEvent.touches[0]:e).pageX);handle_grab=page_x-path.offset().left-handle_left.position().left,$(document).on("mousemove.unifilter touchmove.unifilter",function(e){var max_left;dragging&&(max_left=handle_right.position().left,e=(e.originalEvent.touches?e.originalEvent.touches[0]:e).pageX-path.offset().left-handle_grab,e=Math.max(0,Math.min(max_left,e)),handle_left.css("left",e),e=(that.range[name][1]-min_scale)*(e/max_left)+min_scale,tooltip.css("margin-left",-tooltip.outerWidth()/2),tooltip.text(range_option.prefix+e.toFixed(range_option.precision)),that.range[name][0]=e,window.clearTimeout(timer),timer=window.setTimeout(function(){that.rangeItems()},500))}),e.preventDefault(),dragging=!0,slider.addClass("uf-dragging-left")}),handle_left.add(handle_right).on("click",function(e){e.preventDefault()}),$(document).on("mouseup.unifilter touchend.unifiltert",function(){dragging&&(slider.removeClass("uf-dragging-right uf-dragging-left"),window.setTimeout(function(){dragging=!1},10),$(document).off("mousemove.unifilter touchmove.unifilter"))})}(range_name)},UniFilter.prototype.filterItems=function(){for(var i=0;i<this.data.length;i++){var selected_filter,item=this.data[i];for(selected_filter in item.filters_match=0,this.filters){var is_filter_leading=!1,has_leading_tag=!1;this.options.bestMatch&&-1!==this.leading_filters.indexOf(selected_filter)&&this.filters[selected_filter].length&&(is_filter_leading=!0);for(var k=0;k<this.filters[selected_filter].length;k++){var tag=this.filters[selected_filter][k];-1!==item.filters[selected_filter].indexOf(tag)&&(item.filters_match++,is_filter_leading)&&(has_leading_tag=!0)}is_filter_leading&&!has_leading_tag&&(item.filters_match=-100)}}if(this.updateList(),this.options.deepLinking){var active_filter,url_hash="#uf-search?";for(active_filter in this.filters)this.filters[active_filter].length&&(1<url_hash.length&&(url_hash+="&"),url_hash+=active_filter+"="+this.filters[active_filter].join(","));window.location.hash=url_hash}},UniFilter.prototype.updateList=function(){var that=this;if(!this.list.hasClass("uf-animate")){var filter_name,max_filters=0;for(filter_name in this.filters)this.options.filters[filter_name].multiple&&this.filters[filter_name].length?max_filters+=1:max_filters+=this.filters[filter_name].length;var search_name,max_search=0;for(search_name in this.search)max_search+=this.search[search_name].length;var range_name,max_range=0;for(range_name in this.range)this.range[range_name].length&&max_range++;var total_active=max_filters+max_search+max_range;if(that.options.animationType&&"none"!==that.options.animationType&&(this.list.addClass("uf-animate"),this.items.css(this.getCSS3Property("transitionDuration"),this.options.animationTime+"ms"),window.setTimeout(function(){that.list.removeClass("uf-animate"),that.items.removeClass("uf-animate-opacity uf-animate-"+that.options.animationType),that.items.css(that.getCSS3Property("transitionDuration"),"")},this.options.animationTime+50)),that.options.animationType&&"none"!==that.options.animationType?$.each(this.list.children(".uf
1-item:not(.uf-clone)"),function(){var item=$(this),clone=item.clone(),left=item.position().left,item=item.position().top;clone.addClass("uf-clone").css({position:"absolute",left:left,top:item}).appendTo(that.list),clone.one(that.getCSS3Event(),function(){$(this).remove()}),window.setTimeout(function(){_animate(clone,!1)},0)}):this.items.detach(),this.list.find("#uf-separator, #uf-empty").remove(),0===total_active)if(this.sort){var visible_items=this.data.slice(0);for(this.sortItems(visible_items);visible_items.length;){var item_data=visible_items.pop();this.list.prepend(item_data.item),_animate(item_data.item,!0)}}else for(var i=0;i<this.data.length;i++)(item_data=this.data[i]).display=!0,this.list.append(item_data.item),_animate(item_data.item,!0);else{if(!1===this.options.bestMatch){for(i=0;i<this.data.length;i++){var total_match=(item_data=this.data[i]).search_match+item_data.filters_match+item_data.range_match;item_data.display=total_match==total_active}for(visible_items=[],i=0;i<this.data.length;i++)(item_data=this.data[i]).display?visible_items.push(item_data):$(item_data.item).detach();for(this.sort&&this.sortItems(visible_items);visible_items.length;){item_data=visible_items.pop();this.list.prepend(item_data.item),_animate(item_data.item,!0)}}else{var visible_items=[],bestmatch_items=[];this.items.removeClass("uf-bestmatch");for(i=0;i<this.data.length;i++){var item_data=this.data[i],item=$(item_data.item);if(0<(total_match=item_data.filters_match+item_data.search_match+item_data.range_match))for(var k=1;k<=total_active;k++)total_match==k&&(item_data.display=!0,k==total_active?(bestmatch_items.push(item_data),item.addClass("uf-bestmatch")):visible_items.push(item_data));else item.detach()}this.sort&&(bestmatch_items.length?this.sortItems(bestmatch_items):this.sortItems(visible_items));for(var all_items=bestmatch_items.concat(visible_items);all_items.length;){item_data=all_items.pop(),item=$(item_data.item);this.list.prepend(item),_animate(item,!0)}visible_items.length&&(bestmatch_items.length?this.list.children(".uf-bestmatch:not(.uf-clone)").last().after('<li id="uf-separator">'+this.options.bestMatchText+"</li>"):this.list.prepend('<li id="uf-separator">'+this.options.bestMatchText+"</li>")),0===bestmatch_items.length&&this.list.prepend('<li id="uf-empty">'+this.options.bestMatchEmpty+"</li>")}this.options.autoScroll&&total_active&&(window.clearTimeout(this.scrollTimer),this.scrollTimer=window.setTimeout(function(){$("body, html").stop().animate({scrollTop:$(that.list).offset().top},300,"swing")},this.options.autoScrollDelay))}window.setTimeout(function(){that.container.trigger("onListUpdate")},50)}function _animate(item,toggle){var animation_class;that.options.animationType&&"none"!==that.options.animationType&&(item=$(item),animation_class="uf-animate-opacity",that.options.animationType&&"opacity"!==that.options.animationType&&(animation_class+=" uf-animate-"+that.options.animationType),item.addClass(animation_class),item.get(0).offsetHeight,toggle)&&item.removeClass(animation_class)}},UniFilter.prototype.sortItems=function(items_data){var that=this;items_data.sort(function(data1,data2){data1=data1.sort[that.sort[0]],data2=data2.sort[that.sort[0]];return data1==data2?0:"ASC"==that.sort[1]?data2<data1?1:-1:data1<data2?1:-1})},UniFilter.prototype.searchItems=function(){for(var i=0;i<this.data.length;i++){var search_name,item_data=this.data[i];for(search_name in item_data.search_match=0,this.search)for(var k=0;k<this.search[search_name].length;k++){var query=this.search[search_name][k];new RegExp("\\b"+query,"gi").test(item_data.search[search_name].join(" "))&&item_data.search_match++}}this.updateList()},UniFilter.prototype.rangeItems=function(){for(var i=0;i<this.data.length;i++){var range_name,item_data=this.data[i];for(range_name in item_data.range_match=0,this.range){var min=this.range[range_name][0],max=this.range[range_name][1];item_data.range[range_name]>=min&&item_data.range[range_name]<=max&&item_data.range_match++}}this.updateList()},UniFilter.prototype.getLeadingFilters=function(){var filter_name,leading=[];for(filter_name in this.options.filters)!0===this.options.filters[filter_name].leading&&leading.push(filter_name);return leading},UniFilter.prototype.getItemSearch=function(item){var search_name,search_params={};if(!this.options.search)return null;for(search_name in this.options.search){var data,search=this.options.search[search_name];search_params[search_name]=[],search.getSearchData&&"function"==typeof search.getSearchData?(data=search.getSearchData.call(item,search_name),Array.isArray(data)&&(search_params[search_name]=data)):(data=$(item).data(search_name))&&data.length&&(search_params[search_name]=data.split(/\s*,\s*/))}return search_params},UniFilter.prototype.getItemSort=function(item){var sort_name,sort_data={};if(!this.options.sort)return null;for(sort_name in this.options.sort.options){var sort=this.options.sort.options[sort_name];sort.getSortData&&"function"==typeof sort.getSortData?sort_data[sort_name]=sort.getSortData.call(item,sort_name):sort_data[sort_name]=$(item).data(sort_name)}return sort_data},UniFilter.prototype.getItemRange=function(item){var range_name,range_data={};if(!this.options.range)return null;for(range_name in this.options.range){var range=this.options.range[range_name];range.getRangeData&&"function"==typeof range.getRangeData?range_data[range_name]=range.getRangeData.call(item,range_name):range_data[range_name]=$(item).data(range_name)}return range_data},UniFilter.prototype.addDeepLinking=function(){if(this.options.deepLinking){for(var hash_parts=location.hash.substr(1).split("&"),i=0;i<hash_parts.length;
1i++)if(/^\w+=(\w+\,?)+$/.test(hash_parts[i])){var hash_split=hash_parts[i].split("=");this.filters[hash_split[0]]=hash_split[1].split(",");for(var k=0;k<this.filters[hash_split[0]].length;k++){var tag=this.filters[hash_split[0]][k];$("#uf-"+hash_split[0]+" .uf-tags > li").has('a[href="#'+tag+'"]').addClass("uf-selected")}}this.hideEmptyFilters(),this.filterItems()}},UniFilter.prototype.hideEmptyFilters=function(){if(this.options.hideEmptyFilters){for(var leading=this.getLeadingFilters(),leading_filter="",i=0;i<leading.length;i++)if(this.filters.hasOwnProperty(leading[i])&&this.filters[leading[i]].length){leading_filter=leading[i];break}if(""!==leading_filter){for(var filter_name,leading_tags=this.filters[leading_filter],visible_filters={},k=0;k<this.data.length;k++){var item_filters=this.data[k].filters;if(0<item_filters[leading_filter].length)for(var m=0;m<item_filters[leading_filter].length;m++){var item_tag=item_filters[leading_filter][m];if(-1!==leading_tags.indexOf(item_tag))for(var item_filter in item_filters)visible_filters.hasOwnProperty(item_filter)?visible_filters[item_filter]=visible_filters[item_filter].concat(item_filters[item_filter]):visible_filters[item_filter]=item_filters[item_filter]}}for(filter_name in delete visible_filters[leading_filter],visible_filters){for(var unique_tags=[],all_tags=visible_filters[filter_name];all_tags.length;){var tag=all_tags.pop();-1===unique_tags.indexOf(tag)&&unique_tags.push(tag)}visible_filters[filter_name]=unique_tags}for(filter_name in visible_filters){var filter_markup=this.container.find("#uf-"+filter_name+" .uf-tags");filter_markup.children(":not(.uf-reset)").addClass("uf-tag-hidden");for(k=0;k<visible_filters[filter_name].length;k++){var visible_tag=visible_filters[filter_name][k];filter_markup.find('[href="#'+visible_tag+'"]').parent().removeClass("uf-tag-hidden")}}}}},$.fn.unifilter=function(list,options){var filter_options={display:!0,title:"",subtitle:"",multiple:!1,tooltip:!1,leading:!1,getFilterData:null,sortFilterTags:null},search_options={display:!0,title:"",subtitle:"",placeholder:"Type here..",getSearchData:null},sort_options={display:!0,title:"",subtitle:"",placeholder:"Sort by",options:{_dummy:{label:"",order:"DESC",getSortData:null}}},range_options={display:!0,title:"",subtitle:"",scale:"0-100",precision:0,prefix:"",getRangeData:null};if(options.range&&"object"==typeof options.range)for(var entry in options.range)options.range[entry]=$.extend($.extend({},range_options),options.range[entry]);if(options.filters&&"object"==typeof options.filters)for(var entry in options.filters)options.filters[entry]=$.extend($.extend({},filter_options),options.filters[entry]);if(options.search&&"object"==typeof options.search)for(var entry in options.search)options.search[entry]=$.extend($.extend({},search_options),options.search[entry]);if(options.sort&&"object"==typeof options.sort&&options.sort.options&&"object"==typeof options.sort.options){var option_name,extended={};for(option_name in options.sort.options)extended[option_name]=$.extend($.extend({},sort_options.options._dummy),options.sort.options[option_name]);options.sort.options=extended,options.sort=$.extend(sort_options,options.sort)}return options=$.extend({selector:"",animationType:"opacity",animationTime:500,order:"filters, search, sort, range",bestMatch:!1,bestMatchText:"You may also like",bestMatchEmpty:"No items found",autoScroll:!1,autoScrollDelay:1e3,deepLinking:!0,hideEmptyFilters:!1,filters:null,search:null,sort:null,range:null},options),this.each(function(){new UniFilter(this,list,options)})}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var H;function f(){return H.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function L(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(c(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function V(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){for(var n=[],s=e.length,i=0;i<s;++i)n.push(t(e[i],i));return n}function E(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return Pt(e,t,n,s,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
1dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function A(e){if(null==e._isValid){var t=m(e),n=j.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function I(e){var t=l(NaN);return null!=e?E(m(t),e):m(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1},Z=f.momentProperties=[],z=!1;function $(e,t){var n,s,i,r=Z.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),0<r)for(n=0;n<r;n++)o(i=t[s=Z[n]])||(e[s]=i);return e}function q(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,f.updateOffset(this),z=!1)}function h(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function B(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,a){var o=!0;return E(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,r),o){for(var e,t,n=[],s=arguments.length,i=0;i<s;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])c(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}B(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var J={};function Q(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),J[e]||(B(t),J[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function X(e,t){var n,s=E({},e);for(n in t)c(t,n)&&(F(e[n])&&F(t[n])?(s[n]={},E(s[n],e[n]),E(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)c(e,n)&&!c(t,n)&&F(e[n])&&(s[n]=E({},s[n]));return s}function K(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var ee=Object.keys||function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};function r(e,t,n){var s=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,se={},ie={};function s(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(ie[e]=i),t&&(ie[t[0]]=function(){return r(i.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function re(e,t){return e.isValid()?(t=ae(t,e.localeData()),se[t]=se[t]||function(s){for(var e,i=s.match(te),t=0,r=i.length;t<r;t++)ie[i[t]]?i[t]=ie[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(i[n])?i[n].call(e,s):i[n];return t}}(t),se[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=n&&ne.test(e);)e=e.replace(ne,s),ne.lastIndex=0,--n;return e}var oe={};function t(e,t){var n=e.toLowerCase();oe[n]=oe[n+"s"]=oe[t]=e}function _(e){return"string"==typeof e?oe[e]||oe[e.toLowerCase()]:void 0}function ue(e){var t,n,s={};for(n in e)c(e,n)&&(t=_(n))&&(s[t]=e[n]);return s}var le={};function n(e,t){le[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){return 0!=(e=+e)&&isFinite(e)?y(e):0}function de(t,n){return function(e){return null!=e?(fe(this,t,e),f.updateOffset(this,n),this):ce(this,t)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=g(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),We(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,w=/\d\d/,me=/\d{3}/,_e=/\d{4}/,ye=/[+-]?\d{6}/,p=/\d\d?/,ge=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,ke=/\d{1,4}/,ve=/[+-]?\d{1,6}/,Me=/\d+/,De=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Ye=/Z|[+-]\d\d(?::?\d\d)?/gi,k=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function v(e,n,s){be[e]=d(n)?n:function(e,t){return e&&s?s:n}}function M(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var be={},xe={};function D(e,n){var t,s,i=n;for("string"==typeof e&&(e=[e]),u(n)&&(i=function(e,t){t[n]=g(e)}),s=e.length,t=0;t<s;t++)xe[e[t]]=i}function Te(e,i){D(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var S,Y=0,O=1,b=2,x=3,T=4,N=5,Ne=6,Pe=7,Re=8;function We(e,t){return isNaN(e)||isNaN(t)?NaN:(e+=(t-(t=(t%(t=12)+12)%12))/12,1==t?he(e)?29:28:31-t%7%2)}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",p),v("MM",p,w),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[O]=g(e)-1}),D(["MMM","MMMM"],function(e,t,n,s){null!=(s=n._locale.monthsParse(e,s,n._strict))?t[O]=s:m(n).invalidMonth=e});var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ue="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=k,Le=k;function Ve(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!u(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),We(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ge(e){return null!=e?(Ve(this,e),f.updateOffset(this,!0),this):ce(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=l([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=M(n[r]),s[r]=M(s[r]);for(r=0;r<24;r++)i[r]=M(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return he(e)?366:365}s("Y",0,0,function(){var e=this.year();
vendor: 7,064 bytes, line 1
1return e<=9999?r(e,4):"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",De),v("YY",p,w),v("YYYY",ke,_e),v("YYYYY",ve,ye),v("YYYYYY",ve,ye),D(["YYYYY","YYYYYY"],Y),D("YYYY",function(e,t){t[Y]=2===e.length?f.parseTwoDigitYear(e):g(e)}),D("YY",function(e,t){t[Y]=f.parseTwoDigitYear(e)}),D("Y",function(e,t){t[Y]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var Ie=de("FullYear",!0);function je(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function Ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){return(n=7+t-n)-(7+Ze(e,0,n).getUTCDay()-t)%7-1}function $e(e,t,n,s,i){var r,n=(t=1+7*(t-1)+(7+n-s)%7+ze(e,s,i))<=0?Ae(r=e-1)+t:t>Ae(e)?(r=e+1,t-Ae(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var s,i,r=ze(e.year(),t,n);return(r=Math.floor((e.dayOfYear()-r-1)/7)+1)<1?s=r+P(i=e.year()-1,t,n):r>P(e.year(),t,n)?(s=r-P(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function P(e,t,n){var s=ze(e,t,n),t=ze(e+1,t,n);return(Ae(e)-s+t)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",p),v("ww",p,w),v("W",p),v("WW",p,w),Te(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=g(e)}),s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",p),v("e",p),v("E",p),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,s){null!=(s=n._locale.weekdaysParse(e,s,n._strict))?t.d=s:m(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,s){t[s]=g(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=k,et=k,tt=k;function nt(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=M(this.weekdaysMin(s,"")),n=M(this.weekdaysShort(s,"")),s=M(this.weekdays(s,"")),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);i.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function st(){return this.hours()%12||12}function it(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,st),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)}),s("hmmss",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),v("a",rt),v("A",rt),v("H",p),v("h",p),v("k",p),v("HH",p,w),v("hh",p,w),v("kk",p,w),v("hmm",ge),v("hmmss",we),v("Hmm",ge),v("Hmmss",we),D(["H","HH"],x),D(["k","kk"],function(e,t,n){e=g(e),t[x]=24===e?0:e}),D(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),D(["h","hh"],function(e,t,n){t[x]=g(e),m(n).bigHour=!0}),D("hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s)),m(n).bigHour=!0}),D("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i)),m(n).bigHour=!0}),D("Hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s))}),D("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i))});var at,k=de("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ue,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Xe,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},R={},ut={};function lt(e){return e&&e.toLowerCase().replace("_","-")}function dt(t){var e;if(void 0===R[t]&&"undefined"!=typeof module&&module&&module.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,require("./locale/"+t),ct(e)}catch(e){R[t]=null}return R[t]}function ct(e,t){return e&&((t=o(t)?mt(e):ft(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ft(e,t){if(null===t)return delete R[e],null;var n,s=ot;if(t.abbr=e,null!=R[e])Q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=R[e]._config;else if(null!=t.parentLocale)if(null!=R[t.parentLocale])s=R[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;s=n._config}return R[e]=new K(X(s,t)),ut[e]&&ut[e].forEach(function(e){ft(e.name,e.config)}),ct(e),R[e]}function mt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!a(e)){if(t=dt(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=lt(e[r]).split("-")).length,n=(n=lt(e[r+1]))?n.split("-"):null;0<t;){if(s=dt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(i,n)>=t-1)break;t--}r++}return at}(e)}function _t(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[O]<0||11<t[O]?O:t[b]<1||t[b]>
1We(t[Y],t[O])?b:t[x]<0||24<t[x]||24===t[x]&&(0!==t[T]||0!==t[N]||0!==t[Ne])?x:t[T]<0||59<t[T]?T:t[N]<0||59<t[N]?N:t[Ne]<0||999<t[Ne]?Ne:-1,m(e)._overflowDayOfYear&&(t<Y||b<t)&&(t=b),m(e)._overflowWeeks&&-1===t&&(t=Pe),m(e)._overflowWeekday&&-1===t&&(t=Re),m(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,s,i,r,a,o=e._i,u=yt.exec(o)||gt.exec(o),o=pt.length,l=kt.length;if(u){for(m(e).iso=!0,t=0,n=o;t<n;t++)if(pt[t][1].exec(u[1])){i=pt[t][0],s=!1!==pt[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=l;t<n;t++)if(kt[t][1].exec(u[3])){r=(u[2]||" ")+kt[t][0];break}if(null==r)return e._isValid=!1}if(s||null==r){if(u[4]){if(!wt.exec(u[4]))return e._isValid=!1;a="Z"}e._f=i+(r||"")+(a||""),Tt(e)}else e._isValid=!1}}else e._isValid=!1}function Ot(e){var t,n,s,i,r=Mt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(s=t=function(e,t,n,s,i,r){return e=[function(e){return(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e}(e),Ue.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)],r&&e.push(parseInt(r,10)),e}(r[4],r[3],r[2],r[5],r[6],r[7]),i=e,(n=r[1])&&Qe.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()?(m(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=r[8],s=r[9],i=r[10],n?Dt[n]:s?0:((n=parseInt(i,10))-(s=n%100))/100*60+s),e._d=Ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,s,i,r,a,o,u,l,h,d,c=[];if(!e._d){for(s=e,i=new Date(f.now()),n=s._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()],e._w&&null==e._a[b]&&null==e._a[O]&&(null!=(i=(s=e)._w).GG||null!=i.W||null!=i.E?(u=1,l=4,r=bt(i.GG,s._a[Y],qe(W(),1,4).year),a=bt(i.W,1),((o=bt(i.E,1))<1||7<o)&&(h=!0)):(u=s._locale._week.dow,l=s._locale._week.doy,d=qe(W(),u,l),r=bt(i.gg,s._a[Y],d.year),a=bt(i.w,d.week),null!=i.d?((o=i.d)<0||6<o)&&(h=!0):null!=i.e?(o=i.e+u,(i.e<0||6<i.e)&&(h=!0)):o=u),a<1||a>P(r,u,l)?m(s)._overflowWeeks=!0:null!=h?m(s)._overflowWeekday=!0:(d=$e(r,a,o,u,l),s._a[Y]=d.year,s._dayOfYear=d.dayOfYear)),null!=e._dayOfYear&&(i=bt(e._a[Y],n[Y]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),h=Ze(i,0,e._dayOfYear),e._a[O]=h.getUTCMonth(),e._a[b]=h.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[x]&&0===e._a[T]&&0===e._a[N]&&0===e._a[Ne]&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?Ze:je).apply(null,c),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Tt(e){if(e._f===f.ISO_8601)St(e);else if(e._f===f.RFC_2822)Ot(e);else{e._a=[],m(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=ae(e._f,e._locale).match(te)||[],h=l.length,d=0;d<h;d++)n=l[d],(t=(a.match(function(e,t){return c(be,e)?be[e](t._strict,t._locale):new RegExp(M(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}(n,e))||[])[0])&&(0<(s=a.substr(0,a.indexOf(t))).length&&m(e).unusedInput.push(s),a=a.slice(a.indexOf(t)+t.length),u+=t.length),ie[n]?(t?m(e).empty=!1:m(e).unusedTokens.push(n),s=n,r=e,null!=(i=t)&&c(xe,s)&&xe[s](i,r._a,r,s)):e._strict&&!t&&m(e).unusedTokens.push(n);m(e).charsLeftOver=o-u,0<a.length&&m(e).unusedInput.push(a),e._a[x]<=12&&!0===m(e).bigHour&&0<e._a[x]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[x]=function(e,t,n){return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null==e.isPM||((e=e.isPM(n))&&t<12&&(t+=12),e)||12!==t?t:0}(e._locale,e._a[x],e._meridiem),null!==(o=m(e).era)&&(e._a[Y]=e._locale.erasConvertYear(o,e._a[Y])),xt(e),_t(e)}}function Nt(e){var t,n,s,i=e._i,r=e._f;return e._locale=e._locale||mt(e._l),null===i||void 0===r&&""===i?I({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),h(i)?new q(_t(i)):(V(i)?e._d=i:a(r)?function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<u;i++)r=0,a=!1,t=$({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Tt(t),A(t)&&(a=!0),r=(r+=m(t).charsLeftOver)+10*m(t).unusedTokens.length,m(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a)&&(o=!0);E(e,n||t)}(e):r?Tt(e):o(r=(i=e)._i)?i._d=new Date(f.now()):V(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null!==(t=vt.exec(n._i))?n._d=new Date(+t[1]):(St(n),!1===n._isValid&&
1(delete n._isValid,Ot(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:f.createFromInputFallback(n)))):a(r)?(i._a=G(r.slice(0),function(e){return parseInt(e,10)}),xt(i)):F(r)?(t=i)._d||(s=void 0===(n=ue(t._i)).day?n.date:n.day,t._a=G([n.year,n.month,s,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),xt(t)):u(r)?i._d=new Date(r):f.createFromInputFallback(i),A(e)||(e._d=null),e))}function Pt(e,t,n,s,i){var r={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(F(e)&&L(e)||a(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,(i=new q(_t(Nt(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function W(e,t,n,s){return Pt(e,t,n,s,!1)}function Rt(e,t){var n,s;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return W();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}f.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:I()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:I()}),Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var t=(e=ue(e)).year||0,n=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,r=e.day||0,a=e.hour||0,o=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=function(e){var t,n,s=!1,i=Wt.length;for(t in e)if(c(e,t)&&(-1===S.call(Wt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Wt[n]]){if(s)return!1;parseFloat(e[Wt[n]])!==g(e[Wt[n]])&&(s=!0)}return!0}(e),this._milliseconds=+l+1e3*u+6e4*o+1e3*a*60*60,this._days=+r+7*i,this._months=+s+3*n+12*t,this._data={},this._locale=mt(),this._bubble()}function Ut(e){return e instanceof Ct}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){s(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+r(~~(e/60),2)+n+r(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),v("Z",Ye),v("ZZ",Ye),D(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Vt(Ye,e)});var Lt=/([\+\-]|\d\d)/gi;function Vt(e,t){return null===(t=(t||"").match(e))?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Lt)||["-",0,0])[1]+g(e[2]))?0:"+"===e[0]?t:-t}function Gt(e,t){var n;return t._isUTC?(t=t.clone(),n=(h(e)||V(e)?e:W(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),f.updateOffset(t,!1),t):W(e).local()}function Et(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var It=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var n,s=e,i=null;return Ut(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(i=It.exec(e))?(n="-"===i[1]?-1:1,s={y:0,d:g(i[b])*n,h:g(i[x])*n,m:g(i[T])*n,s:g(i[N])*n,ms:g(Ht(1e3*i[Ne]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,s={y:Zt(i[2],n),M:Zt(i[3],n),w:Zt(i[4],n),d:Zt(i[5],n),h:Zt(i[6],n),m:Zt(i[7],n),s:Zt(i[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(t=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Gt(t,e),e.isBefore(t)?n=zt(e,t):((n=zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(W(s.from),W(s.to)),(s={}).ms=t.milliseconds,s.M=t.months),i=new Ct(s),Ut(e)&&c(e,"_locale")&&(i._locale=e._locale),Ut(e)&&c(e,"_isValid")&&(i._isValid=e._isValid),i}function Zt(e,t){return e=e&&parseFloat(e.replace(",",".")),(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $t(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(Q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,C(e,t),s),this}}function qt(e,t,n,s){var i=t._milliseconds,r=Ht(t._days),t=Ht(t._months);e.isValid()&&(s=null==s||s,t&&Ve(e,ce(e,"Month")+t*n),r&&fe(e,"Date",ce(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s)&&f.updateOffset(e,r||t)}function Bt(e){return"string"==typeof e||e instanceof String}function Qt(e,t){var n,s;return e.date()<t.date()?-Qt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t=t-(s=e.clone().add(n,"months"))<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=mt(e))&&(this._locale=e),this)}function Kt(){return this._locale}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)},Ce=$t(1,"add"),Je=$t(-1,"subtract"),f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n
1)}function rn(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],s=[],i=this.eras(),r=0,a=i.length;r<a;++r)t.push(M(i[r].name)),e.push(M(i[r].abbr)),n.push(M(i[r].narrow)),s.push(M(i[r].name)),s.push(M(i[r].abbr)),s.push(M(i[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function on(e,t){s(0,[e,e.length],0,t)}function un(e,t,n,s,i){var r;return null==e?qe(this,s,i).year:(r=P(e,s,i),function(e,t,n,s,i){return t=Ze((e=$e(e,t,n,s,i)).year,0,e.dayOfYear),this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,n,s,i))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),v("N",rn),v("NN",rn),v("NNN",rn),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){(s=n._locale.erasParse(e,s,n._strict))?m(n).era=s:m(n).invalidEra=e}),v("y",Me),v("yy",Me),v("yyy",Me),v("yyyy",Me),v("yo",function(e,t){return t._eraYearOrdinalRegex||Me}),D(["y","yy","yyy","yyyy"],Y),D(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Y]=n._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)}),s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",De),v("g",De),v("GG",p,w),v("gg",p,w),v("GGGG",ke,_e),v("gggg",ke,_e),v("GGGGG",ve,ye),v("ggggg",ve,ye),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=g(e)}),Te(["gg","GG"],function(e,t,n,s){t[s]=f.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),D("Q",function(e,t){t[O]=3*(g(e)-1)}),s("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",p),v("DD",p,w),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],b),D("Do",function(e,t){t[b]=g(e.match(p)[0])}),ke=de("Date",!0),s("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",pe),v("DDDD",me),D(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),s("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",p),v("mm",p,w),D(["m","mm"],T);var ln,_e=de("Minutes",!1),ve=(s("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",p),v("ss",p,w),D(["s","ss"],N),de("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",pe,i),v("SS",pe,w),v("SSS",pe,me),ln="SSSS";ln.length<=9;ln+="S")v(ln,Me);function hn(e,t){t[Ne]=g(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")D(ln,hn);function dn(e){return e}function cn(e,t,n,s){var i=mt(),s=l().set(s,t);return i[n](s,e)}function fn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=cn(e,i,n,"month");return s}function mn(e,t,n,s){"boolean"==typeof e?u(t)&&(n=t,t=void 0):(t=e,e=!1,u(n=t)&&(n=t,t=void 0)),t=t||"";var i,r=mt(),a=e?r._week.dow:0,o=[];if(null!=n)return cn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");return o}ye=de("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName"),(i=q.prototype).add=Ce,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?function(e){return h(e)||V(e)||Bt(e)||u(e)||function(t){var e=a(t),n=!1;return e&&(n=0===t.filter(function(e){return!u(e)&&Bt(t)}).length),e&&n}(e)||function(e){for(var s=F(e)&&!L(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=r.length,t=0;t<a;t+=1)i=i||c(e,r[t]);return s&&i}(e)||null==e}(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!L(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<s.length;i+=1)n=n||c(e,s[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||W(),n=Gt(e,this).startOf("day"),n=f.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,W(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Gt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=_(t)){case"year":r=Qt(this,s)/12;break;case"month":r=Qt(this,s);break;case"quarter":r=Qt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:y(r)},i.endOf=function(e){var t,n;if(void 0!==(e=_(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;
vendor: 12,182 bytes, line 1
1case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),f.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=re(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(W(),e)},i.to=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(W(),e)},i.get=function(e){return d(this[e=_(e)])?this[e]():this},i.invalidAt=function(){return m(this).overflow},i.isAfter=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,s){return e=h(e)?e:W(e),t=h(t)?t:W(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){e=h(e)?e:W(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return A(this)},i.lang=Xe,i.locale=Xt,i.localeData=Kt,i.max=we,i.min=ge,i.parsingFlags=function(){return E({},m(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:le[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),s=n.length,i=0;i<s;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=_(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=_(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),f.updateOffset(this,!0)}return this},i.subtract=Je,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?re(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",re(t,"Z")):re(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),s=0,i=n.length;s<i;++s)if(e=n[s].since<=n[s].until?1:-1,t=this.clone().startOf("day").valueOf(),n[s].since<=t&&t<=n[s].until||n[s].until<=t&&t<=n[s].since)return(this.year()-f(n[s].since).year())*e+n[s].offset;return this.year()},i.year=Ie,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ge,i.daysInMonth=function(){return We(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return P(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return P(this.isoWeekYear(),1,4)},i.date=ke,i.day=i.days=function(e){var t,n,s;return this.isValid()?(s=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=k,i.minute=i.minutes=_e,i.second=i.seconds=ve,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Et(this);if("string"==typeof e){if(null===(e=Vt(Ye,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Et(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?qt(this,C(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Et(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Vt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=At,i.isUTC=At,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",ke),i.months=e("months accessor is deprecated. Use month instead",Ge),i.years=e("years accessor is deprecated. Use year instead",Ie),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return o(this._isDSTShifted)&&($(t={},this),(t=Nt(t))._a?(e=(t._isUTC?l:W)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)g(e[a])!==g(t[a])&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(w=K.prototype).calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},w.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},w.invalidDate=function(){return this._invalidDate},w.ordinal=function(e){return this._ordinal.replace("%d",e)},w.preparse=dn,w.postformat=dn,w.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return d(i)?i(e,t,n,s):i.replace(/%d/i,e)},w.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},w.set=function(e){var t,n;for(n in e)c(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},w.eras=function(e,t){for(var n,s=this._eras||mt("en")._eras,i=0,r=s.length;i<r;++i)switch("string"==typeof s[i].since&&(n=f(s[i].since).startOf("day"),s[i].since=n.valueOf()),typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":n=f(s[i].until).startOf("day").valueOf(),s[i].until=n.valueOf()}return s},w.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s]}else if(0<=[r,a,o].indexOf(e))return u[s]},w.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},w.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},w.erasNameRegex=function(e){return c(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},w.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex}
vendor: 12,375 bytes, line 1
1,w.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||He).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},w.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[He.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},w.monthsParse=function(e,t,n){var s,i;if(this._monthsParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},w.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},w.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},w.week=function(e){return qe(e,this._week.dow,this._week.doy).week},w.firstDayOfYear=function(){return this._week.doy},w.firstDayOfWeek=function(){return this._week.dow},w.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Be(t,this._week.dow):e?t[e.day()]:t},w.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},w.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},w.weekdaysParse=function(e,t,n){var s,i;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},w.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},w.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},w.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},w.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},w.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===g(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",ct),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",mt);var _n=Math.abs;function yn(e,t,n,s){return t=C(t,n),e._milliseconds+=s*t._milliseconds,e._days+=s*t._days,e._months+=s*t._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function pn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}function vn(e){return function(){return this.isValid()?this._data[e]:NaN}}pe=kn("ms"),me=kn("s"),Ce=kn("m"),we=kn("h"),ge=kn("d"),Je=kn("w"),k=kn("M"),_e=kn("Q"),ve=kn("y");var ye=vn("milliseconds"),ke=vn("seconds"),Ie=vn("minutes"),w=vn("hours"),Mn=vn("days"),Dn=vn("months"),Sn=vn("years"),Yn=Math.round,On={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var xn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Nn(){var e,t,n,s,i,r,a,o,u,l,h;return this.isValid()?(o=xn(this._milliseconds)/1e3,u=xn(this._days),l=xn(this._months),(h=this.asSeconds())?(e=y(o/60),t=y(e/60),o%=60,e%=60,n=y(l/12),l%=12,s=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Tn(this._months)!==Tn(h)?"-":"",r=Tn(this._days)!==Tn(h)?"-":"",a=Tn(this._milliseconds)!==Tn(h)?"-":"",(h<0?"-":"")+"P"+(n?i+n+"Y":"")+(l?i+l+"M":"")+(u?r+u+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+s+"S":"")):"P0D"):this.localeData().invalidDate()}var U=Ct.prototype;return U.isValid=function(){return this._isValid},U.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},U.add=function(e,t){return yn(this,e,t,1)},U.subtract=function(e,t){return yn(this,e,t,-1)},U.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=_(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(pn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},U.asMilliseconds=pe,U.asSeconds=me,U.asMinutes=Ce,U.asHours=we,U.asDays=ge,U.asWeeks=Je,U.asMonths=k,U.asQuarters=_e,U.asYears=ve,U.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},U._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*gn(pn(n)+t),n=t=0),s.milliseconds=e%1e3,e=y(e/1e3),s.seconds=e%60,e=y(e/60),s.minutes=e%60,e=y(e/60),s.hours=e%24,t+=y(e/24),n+=e=y(wn(t)),t-=gn(pn(e)),e=y(n/12),n%=12,s.days=t,s.months=n,s.years=e,this},U.clone=function(){return C(this)},U.get=function(e){return e=_(e),this.isValid()?this[e+"s"]():NaN},U.milliseconds=ye,U.seconds=ke,U.minutes=Ie,U.hours=w,U.days=Mn,U.weeks=function(){return y(this.days()/7)},U.months=Dn,U.years=Sn,U.humanize=function(e,t){var n,s;return this.isValid()?(n=!1,s=On,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(s=Object.assign({},On,t),null!=t.s)&&null==t.ss&&(s.ss=t.s-1),e=this.localeData(),t=function(e,t,n,s){var i=C(e).abs(),r=Yn(i.as("s")),a=Yn(i.as("m")),o=Yn(i.as("h")),u=Yn(i.as("d")),l=Yn(i.as("M")),h=Yn(i.as("w")),i=Yn(i.as("y")),r=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||(a<=1?["m"]:a<n.m&&["mm",a])||(o<=1?["h"]:o<n.h&&["hh",o])||(u<=1?["d"]:u<n.d&&["dd",u]);return(r=(r=null!=n.w?r||(h<=1?["w"]:h<n.w&&["ww",h]):r)||(l<=1?["M"]:l<n.M&&["MM",l])||(i<=1?["y"]:["yy",i]))[2]=t,r[3]=0<+e,r[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,r)}(this,!n,s,e),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},U.toISOString=Nn,U.toString=Nn,U.toJSON=Nn,U.locale=Xt,U.localeData=Kt,U.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn),U.lang=Xe,s("X",0,0,"unix"),s("x",0,0,"valueOf"),v("x",De),v("X",/[+-]?\d+(\.\d{1,3})?/),D("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),D("x",function(e,t,n){n._d=new Date(g(e))}),f.version="2.29.4",H=W,f.fn=i,f.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=l,f.unix=function(e){return W(1e3*e)},f.months=function(e,t){return fn(e,t,"months")},f.isDate=V,f.locale=ct,f.invalid=I,f.duration=C,f.isMoment=h,f.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},f.parseZone=function(){return W.apply(null,arguments).parseZone()},f.localeData=mt,f.isDuration=Ut,f.monthsShort=function(e,t){return fn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var n,s;return null!=t?(s=ot,null!=R[e]&&null!=R[e].parentLocale?R[e].set(X(R[e]._config,t)):(t=X(s=null!=(n=dt(e))?n._config:s,t),null==n&&(t.abbr=e),(s=new K(t)).parentLocale=R[e],R[e]=s),ct(e)):null!=R[e]&&(null!=R[e].parentLocale?(R[e]=R[e].parentLocale,e===ct()&&ct(e)):null!=R[e]&&delete R[e]),R[e]},f.locales=function(){return ee(R)},f.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},f.normalizeUnits=_,f.relativeTimeRounding=function(e){return void 0===e?Yn:"function"==typeof e&&(Yn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==On[e]&&(void 0===t?On[e]:(On[e]=t,"s"===e&&(On.ss=t-1),!0))},f.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},f.prototype=i,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f});
2//# sourceMappingURL=plugins.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.