test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
19 KiB

(function(s){function t(e,n){return function(t){return i(e.call(this,t),n)}}function e(e,n){return function(t){return this.lang().ordinal(e.call(this,t),n)}}function n(){}function o(t){h(this,t)}function u(t){var e=t.years||t.year||t.y||0,n=t.months||t.month||t.M||0,s=t.weeks||t.week||t.w||0,i=t.days||t.day||t.d||0,r=t.hours||t.hour||t.h||0,a=t.minutes||t.minute||t.m||0,o=t.seconds||t.second||t.s||0,u=t.milliseconds||t.millisecond||t.ms||0;this._input=t,this._milliseconds=u+1e3*o+6e4*a+36e5*r,this._days=i+7*s,this._months=n+12*e,this._data={},this._bubble()}function h(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function d(t){return t<0?Math.ceil(t):Math.floor(t)}function i(t,e){for(var n=t+"";n.length<e;)n="0"+n;return n}function r(t,e,n,s){var i,r,a=e._milliseconds,o=e._days,u=e._months;a&&t._d.setTime(+t._d+a*n),(o||u)&&(i=t.minute(),r=t.hour()),o&&t.date(t.date()+o*n),u&&t.month(t.month()+u*n),a&&!s&&S.updateOffset(t),(o||u)&&(t.minute(i),t.hour(r))}function a(t){return"[object Array]"===Object.prototype.toString.call(t)}function c(t,e){var n,s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),r=0;for(n=0;n<s;n++)~~t[n]!=~~e[n]&&r++;return r+i}function f(t){return t?j[t]||t.toLowerCase().replace(/(.)s$/,"$1"):t}function l(t){if(!t)return S.fn._lang;if(!F[t]&&O)try{require("./lang/"+t)}catch(t){return S.fn._lang}return F[t]}function _(e,t){function n(t){return e.lang().longDateFormat(t)||t}for(var s=5;s--&&P.test(t);)t=t.replace(P,n);return q[t]||(q[t]=function(n){var s,i,t,r=n.match(H);for(s=0,i=r.length;s<i;s++)r[s]=Q[r[s]]?Q[r[s]]:(t=r[s]).match(/\[.*\]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var e="";for(s=0;s<i;s++)e+=r[s]instanceof Function?r[s].call(t,n):r[s];return e}}(t)),q[t](e)}function m(t,e){switch(t){case"DDDD":return x;case"YYYY":return A;case"YYYYY":return G;case"S":case"SS":case"SSS":case"DDD":return U;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Z;case"a":case"A":return l(e._l)._meridiemParse;case"X":return J;case"Z":case"ZZ":return E;case"T":return N;case"MM":case"DD":case"YY":case"HH":case"hh":case"mm":case"ss":case"M":case"D":case"d":case"H":case"h":case"m":case"s":return W;default:return new RegExp(t.replace("\\",""))}}function y(t){var e=((E.exec(t)||[])[0]+"").match(X)||["-",0,0],n=60*e[1]+~~e[2];return"+"===e[0]?-n:n}function M(t,e,n){var s,i=n._a;switch(t){case"M":case"MM":i[1]=null==e?0:~~e-1;break;case"MMM":case"MMMM":null!=(s=l(n._l).monthsParse(e))?i[1]=s:n._isValid=!1;break;case"D":case"DD":case"DDD":case"DDDD":null!=e&&(i[2]=~~e);break;case"YY":i[0]=~~e+(68<~~e?1900:2e3);break;case"YYYY":case"YYYYY":i[0]=~~e;break;case"a":case"A":n._isPm=l(n._l).isPM(e);break;case"H":case"HH":case"h":case"hh":i[3]=~~e;break;case"m":case"mm":i[4]=~~e;break;case"s":case"ss":i[5]=~~e;break;case"S":case"SS":case"SSS":i[6]=~~(1e3*("0."+e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=y(e)}null==e&&(n._isValid=!1)}function Y(t){var e,n,s=[];if(!t._d){for(e=0;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];s[3]+=~~((t._tzm||0)/60),s[4]+=~~((t._tzm||0)%60),n=new Date(0),t._useUTC?(n.setUTCFullYear(s[0],s[1],s[2]),n.setUTCHours(s[3],s[4],s[5],s[6])):(n.setFullYear(s[0],s[1],s[2]),n.setHours(s[3],s[4],s[5],s[6])),t._d=n}}function D(t){var e,n,s=t._f.match(H),i=t._i;for(t._a=[],e=0;e<s.length;e++)(n=(m(s[e],t).exec(i)||[])[0])&&(i=i.slice(i.indexOf(n)+n.length)),Q[s[e]]&&M(s[e],n,t);i&&(t._il=i),t._isPm&&t._a[3]<12&&(t._a[3]+=12),!1===t._isPm&&12===t._a[3]&&(t._a[3]=0),Y(t)}function g(t){var e=t._i,n=z.exec(e);e===s?t._d=new Date:n?t._d=new Date(+n[1]):"string"==typeof e?function(t){var e,n=t._i,s=I.exec(n);if(s){for(t._f="YYYY-MM-DD"+(s[2]||" "),e=0;e<4;e++)if(V[e][1].exec(n)){t._f+=V[e][0];break}E.exec(n)&&(t._f+=" Z"),D(t)}else t._d=new Date(n)}(t):a(e)?(t._a=e.slice(0),Y(t)):t._d=e instanceof Date?new Date(+e):new Date(e)}function p(t,e,n){var s,i=n-e,r=n-t.day();return i<r&&(r-=7),r<i-7&&(r+=7),s=S(t).add("d",r),{week:Math.ceil(s.dayOfYear()/7),year:s.year()}}function w(t){var e=t._i,n=t._f;return null===e||""===e?null:("string"==typeof e&&(t._i=e=l().preparse(e)),S.isMoment(e)?(t=h({},e))._d=new Date(+e._d):n?a(n)?function(t){var e,n,s,i,r,a=99;for(i=0;i<t._f.length;i++)(e=h({},t))._f=t._f[i],D(e),n=new o(e),r=c(e._a,n.toArray()),n._il&&(r+=n._il.length),r<a&&(a=r,s=n);h(t,s)}(t):D(t):g(t),new o(t))}function k(t,n){S.fn[t]=S.fn[t+"s"]=function(t){var e=this._isUTC?"UTC":"";return null!=t?(this._d["set"+e+n](t),S.updateOffset(this),this):this._d["get"+e+n]()}}function T(t){S.duration.fn[t]=function(){return this._data[t]}}function v(t,e){S.duration.fn["as"+t]=function(){return+this/e}}for(var S,b,L=Math.round,F={},O="undefined"!=typeof module&&module.exports,z=/^\/?Date\((\-?\d+)/i,C=/(\-)?(\d*)?\.?(\d+)\:(\d+)\:(\d+)\.?(\d{3})?/,H=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|SS?S?|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,W=/\d\d?/,U=/\d{1,3}/,x=/\d{3}/,A=/\d{1,4}/,G=/[+\-]?\d{1,6}/,Z=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,E=/Z|[\+\-]\d\d:?\d\d/i,N=/T/i,J=/[\+\-]?\d+(\.\d{1,3})?/,I=/^\s*\d{4}-\d\d-\d\d((T| )(\d\d(:\d\d(:\d\d(\.\d\d?\d?)?)?)?)?([\+\-]\d\d:?\d\d)?)?/,V=[["HH:mm:ss.S",/(T| )\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],X=/([\+\-]|\d\d)/gi,$="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),R={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},j={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",w:"week",M:"month",y:"year"},q={},B="DDD w W M D d".split(" "),K="M D H h m s w W".split(" "),Q={M:function(){return this.month()+1},MMM:function(t){return this.lang().monthsShort(this,t)},MMMM:function(t){return this.lang().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.lang().weekdaysMin(this,t)},ddd:function(t){return this.lang().weekdaysShort(this,t)},dddd:function(t){return this.lang().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return i(this.year()%100,2)},YYYY:function(){return i(this.year(),4)},YYYYY:function(){return i(this.year(),5)},gg:function(){return i(this.weekYear()%100,2)},gggg:function(){return this.weekYear()},ggggg:function(){return i(this.weekYear(),5)},GG:function(){return i(this.isoWeekYear()%100,2)},GGGG:function(){return this.isoWeekYear()},GGGGG:function(){return i(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return~~(this.milliseconds()/100)},SS:function(){return i(~~(this.milliseconds()/10),2)},SSS:function(){return i(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return t<0&&(t=-t,e="-"),e+i(~~(t/60),2)+":"+i(~~t%60,2)},ZZ:function(){var t=-this.zone(),e="+";return t<0&&(t=-t,e="-"),e+i(~~(10*t/6),4)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()}};B.length;)b=B.pop(),Q[b+"o"]=e(Q[b],b);for(;K.length;)b=K.pop(),Q[b+b]=t(Q[b],2);for(Q.DDDD=t(Q.DDD,3),n.prototype={set:function(t){var e,n;for(n in t)"function"==typeof(e=t[n])?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,s;for(this._monthsParse||(this._monthsParse=[]),e=0;e<12;e++)if(this._monthsParse[e]||(n=S([2e3,e]),s="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,s;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;e<7;e++)if(this._weekdaysParse[e]||(n=S([2e3,1]).day(e),s="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase()[0]},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,s){var i=this._relativeTime[n];return"function"==typeof i?i(t,e,n,s):i.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[0<t?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return p(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6}},(S=function(t,e,n){return w({_i:t,_f:e,_l:n,_isUTC:!1})}).utc=function(t,e,n){return w({_useUTC:!0,_isUTC:!0,_l:n,_i:t,_f:e})},S.unix=function(t){return S(1e3*t)},S.duration=function(t,e){var n,s,i=S.isDuration(t),r="number"==typeof t,a=i?t._input:r?{}:t,o=C.exec(t);return r?e?a[e]=t:a.milliseconds=t:o&&(n="-"===o[1]?-1:1,a={y:0,d:~~o[2]*n,h:~~o[3]*n,m:~~o[4]*n,s:~~o[5]*n,ms:~~o[6]*n}),s=new u(a),i&&t.hasOwnProperty("_lang")&&(s._lang=t._lang),s},S.version="2.1.0",S.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",S.updateOffset=function(){},S.lang=function(t,e){return t?(e?function(t,e){e.abbr=t,F[t]||(F[t]=new n),F[t].set(e),F[t]}(t,e):F[t]||l(t),void(S.duration.fn._lang=S.fn._lang=l(t))):S.fn._lang._abbr},S.langData=function(t){return t&&t._lang&&t._lang._abbr&&(t=t._lang._abbr),l(t)},S.isMoment=function(t){return t instanceof o},S.isDuration=function(t){return t instanceof u},S.fn=o.prototype={clone:function(){return S(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDateStr:function(){return this.format("YYYY-MM-DD")},toDateTimeStr:function(){return this.format("YYYY-MM-DD HH:mm")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){return _(S(this).utc(),"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return null==this._isValid&&(this._isValid=this._a?!c(this._a,(this._isUTC?S.utc(this._a):S(this._a)).toArray()):!isNaN(this._d.getTime())),!!this._isValid},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(t){var e=_(this,t||S.defaultFormat);return this.lang().postformat(e)},add:function(t,e){return r(this,"string"==typeof t?S.duration(+e,t):S.duration(t,e),1),this},subtract:function(t,e){return r(this,"string"==typeof t?S.duration(+e,t):S.duration(t,e),-1),this},diff:function(t,e,n){var s,i,r=this._isUTC?S(t).zone(this._offset||0):S(t).local(),a=6e4*(this.zone()-r.zone());return"year"===(e=f(e))||"month"===e?(s=432e5*(this.daysInMonth()+r.daysInMonth()),i=12*(this.year()-r.year())+(this.month()-r.month()),i+=(this-S(this).startOf("month")-(r-S(r).startOf("month")))/s,i-=6e4*(this.zone()-S(this).startOf("month").zone()-(r.zone()-S(r).startOf("month").zone()))/s,"year"===e&&(i/=12)):(s=this-r,i="second"===e?s/1e3:"minute"===e?s/6e4:"hour"===e?s/36e5:"day"===e?(s-a)/864e5:"week"===e?(s-a)/6048e5:s),n?i:d(i)},from:function(t,e){return S.duration(this.diff(t)).lang(this.lang()._abbr).humanize(!e)},fromNow:function(t){return this.from(S(),t)},calendar:function(){var t=this.diff(S().startOf("day"),"days",!0),e=t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse";return this.format(this.lang().calendar(e,this))},isLeapYear:function(){var t=this.year();return 0==t%4&&0!=t%100||0==t%400},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?"string"==typeof t&&"number"!=typeof(t=this.lang().weekdaysParse(t))?this:this.add({d:t-e}):e},month:function(t){var e,n=this._isUTC?"UTC":"";return null!=t?("string"==typeof t&&"number"!=typeof(t=this.lang().monthsParse(t))||(e=this.date(),this.date(1),this._d["set"+n+"Month"](t),this.date(Math.min(e,this.daysInMonth())),S.updateOffset(this)),this):this._d["get"+n+"Month"]()},startOf:function(t){switch(t=f(t)){case"year":this.month(0);case"month":this.date(1);case"week":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),this},endOf:function(t){return this.startOf(t).add(t,1).subtract("ms",1)},isAfter:function(t,e){return e=void 0!==e?e:"millisecond",+this.clone().startOf(e)>+S(t).startOf(e)},isBefore:function(t,e){return e=void 0!==e?e:"millisecond",+this.clone().startOf(e)<+S(t).startOf(e)},isSame:function(t,e){return e=void 0!==e?e:"millisecond",+this.clone().startOf(e)==+S(t).startOf(e)},min:function(t){return(t=S.apply(null,arguments))<this?this:t},max:function(t){return this<(t=S.apply(null,arguments))?this:t},zone:function(t){var e=this._offset||0;return null==t?this._isUTC?e:this._d.getTimezoneOffset():("string"==typeof t&&(t=y(t)),Math.abs(t)<16&&(t*=60),this._offset=t,this._isUTC=!0,e!==t&&r(this,S.duration(e-t,"m"),1,!0),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},daysInMonth:function(){return S.utc([this.year(),this.month()+1,0]).date()},dayOfYear:function(t){var e=L((S(this).startOf("day")-S(this).startOf("year"))/864e5)+1;return null==t?e:this.add("d",t-e)},weekYear:function(t){var e=p(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==t?e:this.add("y",t-e)},isoWeekYear:function(t){var e=p(this,1,4).year;return null==t?e:this.add("y",t-e)},week:function(t){var e=this.lang().week(this);return null==t?e:this.add("d",7*(t-e))},isoWeek:function(t){var e=p(this,1,4).week;return null==t?e:this.add("d",7*(t-e))},weekday:function(t){var e=(this._d.getDay()+7-this.lang()._week.dow)%7;return null==t?e:this.add("d",t-e)},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},lang:function(t){return t===s?this._lang:(this._lang=l(t),this)}},b=0;b<$.length;b++)k($[b].toLowerCase().replace(/s$/,""),$[b]);for(b in k("year","FullYear"),S.fn.days=S.fn.day,S.fn.months=S.fn.month,S.fn.weeks=S.fn.week,S.fn.isoWeeks=S.fn.isoWeek,S.fn.toJSON=S.fn.toISOString,S.duration.fn=u.prototype={_bubble:function(){var t,e,n,s,i=this._milliseconds,r=this._days,a=this._months,o=this._data;o.milliseconds=i%1e3,t=d(i/1e3),o.seconds=t%60,e=d(t/60),o.minutes=e%60,n=d(e/60),o.hours=n%24,r+=d(n/24),o.days=r%30,a+=d(r/30),o.months=a%12,s=d(a/12),o.years=s},weeks:function(){return d(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*~~(this._months/12)},humanize:function(t){var e=+this,n=function(t,e,n){var s=L(Math.abs(t)/1e3),i=L(s/60),r=L(i/60),a=L(r/24),o=L(a/365),u=s<45&&["s",s]||1===i&&["m"]||i<45&&["mm",i]||1===r&&["h"]||r<22&&["hh",r]||1===a&&["d"]||a<=25&&["dd",a]||a<=45&&["M"]||a<345&&["MM",L(a/30)]||1===o&&["y"]||["yy",o];return u[2]=e,u[3]=0<t,u[4]=n,function(t,e,n,s,i){return i.relativeTime(e||1,!!n,t,s)}.apply({},u)}(e,!t,this.lang());return t&&(n=this.lang().pastFuture(e,n)),this.lang().postformat(n)},add:function(t,e){var n=S.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=S.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return this[(t=f(t)).toLowerCase()+"s"]()},as:function(t){return this["as"+(t=f(t)).charAt(0).toUpperCase()+t.slice(1)+"s"]()},lang:S.fn.lang},R)R.hasOwnProperty(b)&&(v(b,R[b]),T(b.toLowerCase()));v("Weeks",6048e5),S.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},S.lang("en",{ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),O&&(module.exports=S),"undefined"==typeof ender&&(this.moment=S),"function"==typeof define&&define.amd&&define("moment",[],function(){return S})}).call(this),moment.lang("zh-cn",{months:"___________".split("_"),monthsShort:"1_2_3_4_5_6_7_8_9_10_11_12".split("_"),weekdays:"______".split("_"),weekdaysShort:"______".split("_"),weekdaysMin:"______".split("_"),longDateFormat:{LT:"Ahmm",L:"YYYYMMMD",LL:"YYYYMMMD",LLL:"YYYYMMMDLT",LLLL:"YYYYMMMDddddLT",l:"YYYYMMMD",ll:"YYYYMMMD",lll:"YYYYMMMDLT",llll:"YYYYMMMDddddLT"},meridiem:function(t,e,n){return t<9?"":t<11&&e<30?"":t<13&&e<30?"":t<18?"":""},calendar:{sameDay:"[]LT",nextDay:"[]LT",nextWeek:"[]ddddLT",lastDay:"[]LT",lastWeek:"[]ddddLT",sameElse:"L"},ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"";case"M":return t+"";case"w":case"W":return t+"";default:return t}},relativeTime:{future:"%s",past:"%s",s:"",m:"1",mm:"%d",h:"1",hh:"%d",d:"1",dd:"%d",M:"1",MM:"%d",y:"1",yy:"%d"}});