mirror of
https://github.com/osmarks/website
synced 2024-12-25 01:20:33 +00:00
4 lines
56 KiB
JavaScript
4 lines
56 KiB
JavaScript
// Moment.js 2.24.0
|
|
// MIT-licensed
|
|
(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t():typeof define==="function"&&define.amd?define(t):e.moment=t()})(this,function(){"use strict";var t;function l(){return t.apply(null,arguments)}function e(e){t=e}function a(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function o(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function u(e){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(e).length===0}else{var t;for(t in e){if(e.hasOwnProperty(t)){return false}}return true}}function s(e){return e===void 0}function f(e){return typeof e==="number"||Object.prototype.toString.call(e)==="[object Number]"}function r(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function n(e,t){var n=[],i;for(i=0;i<e.length;++i){n.push(t(e[i],i))}return n}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t){if(d(t,n)){e[n]=t[n]}}if(d(t,"toString")){e.toString=t.toString}if(d(t,"valueOf")){e.valueOf=t.valueOf}return e}function c(e,t,n,i){return zn(e,t,n,i,true).utc()}function i(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],meridiem:null,rfc2822:false,weekdayMismatch:false}}function m(e){if(e._pf==null){e._pf=i()}return e._pf}var _;if(Array.prototype.some){_=Array.prototype.some}else{_=function(e){var t=Object(this);var n=t.length>>>0;for(var i=0;i<n;i++){if(i in t&&e.call(this,t[i],i,t)){return true}}return false}}function y(e){if(e._isValid==null){var t=m(e);var n=_.call(t.parsedDateParts,function(e){return e!=null});var i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict){i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined}if(Object.isFrozen==null||!Object.isFrozen(e)){e._isValid=i}else{return i}}return e._isValid}function v(e){var t=c(NaN);if(e!=null){h(m(t),e)}else{m(t).userInvalidated=true}return t}var g=l.momentProperties=[];function p(e,t){var n,i,r;if(!s(t._isAMomentObject)){e._isAMomentObject=t._isAMomentObject}if(!s(t._i)){e._i=t._i}if(!s(t._f)){e._f=t._f}if(!s(t._l)){e._l=t._l}if(!s(t._strict)){e._strict=t._strict}if(!s(t._tzm)){e._tzm=t._tzm}if(!s(t._isUTC)){e._isUTC=t._isUTC}if(!s(t._offset)){e._offset=t._offset}if(!s(t._pf)){e._pf=m(t)}if(!s(t._locale)){e._locale=t._locale}if(g.length>0){for(n=0;n<g.length;n++){i=g[n];r=t[i];if(!s(r)){e[i]=r}}}return e}var w=false;function M(e){p(this,e);this._d=new Date(e._d!=null?e._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(w===false){w=true;l.updateOffset(this);w=false}}function k(e){return e instanceof M||e!=null&&e._isAMomentObject!=null}function S(e){if(e<0){return Math.ceil(e)||0}else{return Math.floor(e)}}function D(e){var t=+e,n=0;if(t!==0&&isFinite(t)){n=S(t)}return n}function Y(e,t,n){var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0,a;for(a=0;a<i;a++){if(n&&e[a]!==t[a]||!n&&D(e[a])!==D(t[a])){s++}}return s+r}function O(e){if(l.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+e)}}function T(r,s){var a=true;return h(function(){if(l.deprecationHandler!=null){l.deprecationHandler(null,r)}if(a){var e=[];var t;for(var n=0;n<arguments.length;n++){t="";if(typeof arguments[n]==="object"){t+="\n["+n+"] ";for(var i in arguments[0]){t+=i+": "+arguments[0][i]+", "}t=t.slice(0,-2)}else{t=arguments[n]}e.push(t)}O(r+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);a=false}return s.apply(this,arguments)},s)}var b={};function x(e,t){if(l.deprecationHandler!=null){l.deprecationHandler(e,t)}if(!b[e]){O(t);b[e]=true}}l.suppressDeprecationWarnings=false;l.deprecationHandler=null;function P(e){return e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function W(e){var t,n;for(n in e){t=e[n];if(P(t)){this[n]=t}else{this["_"+n]=t}}this._config=e;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function C(e,t){var n=h({},e),i;for(i in t){if(d(t,i)){if(o(e[i])&&o(t[i])){n[i]={};h(n[i],e[i]);h(n[i],t[i])}else if(t[i]!=null){n[i]=t[i]}else{delete n[i]}}}for(i in e){if(d(e,i)&&!d(t,i)&&o(e[i])){n[i]=h({},n[i])}}return n}function H(e){if(e!=null){this.set(e)}}var R;if(Object.keys){R=Object.keys}else{R=function(e){var t,n=[];for(t in e){if(d(e,t)){n.push(t)}}return n}}var U={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(e,t,n){var i=this._calendar[e]||this._calendar["sameElse"];return P(i)?i.call(t,n):i}var L={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"};function N(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];if(t||!n){return t}this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)});return this._longDateFormat[e]}var G="Invalid date";function V(){return this._invalidDate}var E="%d";var I=/\d{1,2}/;function A(e){return this._ordinal.replace("%d",e)}var j={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Z(e,t,n,i){var r=this._relativeTime[n];return P(r)?r(e,t,n,i):r.replace(/%d/i,e)}function z(e,t){var n=this._relativeTime[e>0?"future":"past"];return P(n)?n(t):n.replace(/%s/i,t)}var $={};function q(e,t){var n=e.toLowerCase();$[n]=$[n+"s"]=$[t]=e}function J(e){return typeof e==="string"?$[e]||$[e.toLowerCase()]:undefined}function B(e){var t={},n,i;for(i in e){if(d(e,i)){n=J(i);if(n){t[n]=e[i]}}}return t}var Q={};function X(e,t){Q[e]=t}function K(e){var t=[];for(var n in e){t.push({unit:n,priority:Q[n]})}t.sort(function(e,t){return e.priority-t.priority});return t}function ee(e,t,n){var i=""+Math.abs(e),r=t-i.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;var ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g;var ie={};var re={};function se(e,t,n,i){var r=i;if(typeof i==="string"){r=function(){return this[i]()}}if(e){re[e]=r}if(t){re[t[0]]=function(){return ee(r.apply(this,arguments),t[1],t[2])}}if(n){re[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)}}}function ae(e){if(e.match(/\[[\s\S]/)){return e.replace(/^\[|\]$/g,"")}return e.replace(/\\/g,"")}function oe(i){var r=i.match(te),e,s;for(e=0,s=r.length;e<s;e++){if(re[r[e]]){r[e]=re[r[e]]}else{r[e]=ae(r[e])}}return function(e){var t="",n;for(n=0;n<s;n++){t+=P(r[n])?r[n].call(e,i):r[n]}return t}}function ue(e,t){if(!e.isValid()){return e.localeData().invalidDate()}t=le(t,e.localeData());ie[t]=ie[t]||oe(t);return ie[t](e)}function le(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}ne.lastIndex=0;while(n>=0&&ne.test(e)){e=e.replace(ne,i);ne.lastIndex=0;n-=1}return e}var fe=/\d/;var de=/\d\d/;var he=/\d{3}/;var ce=/\d{4}/;var me=/[+-]?\d{6}/;var _e=/\d\d?/;var ye=/\d\d\d\d?/;var ve=/\d\d\d\d\d\d?/;var ge=/\d{1,3}/;var pe=/\d{1,4}/;var we=/[+-]?\d{1,6}/;var Me=/\d+/;var ke=/[+-]?\d+/;var Se=/Z|[+-]\d\d:?\d\d/gi;var De=/Z|[+-]\d\d(?::?\d\d)?/gi;var Ye=/[+-]?\d+(\.\d{1,3})?/;var Oe=/[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;var Te={};function be(e,n,i){Te[e]=P(n)?n:function(e,t){return e&&i?i:n}}function xe(e,t){if(!d(Te,e)){return new RegExp(Pe(e))}return Te[e](t._strict,t._locale)}function Pe(e){return We(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function We(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ce={};function He(e,n){var t,i=n;if(typeof e==="string"){e=[e]}if(f(n)){i=function(e,t){t[n]=D(e)}}for(t=0;t<e.length;t++){Ce[e[t]]=i}}function Re(e,r){He(e,function(e,t,n,i){n._w=n._w||{};r(e,n._w,n,i)})}function Ue(e,t,n){if(t!=null&&d(Ce,e)){Ce[e](t,n._a,n,e)}}var Fe=0;var Le=1;var Ne=2;var Ge=3;var Ve=4;var Ee=5;var Ie=6;var Ae=7;var je=8;se("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e});se(0,["YY",2],0,function(){return this.year()%100});se(0,["YYYY",4],0,"year");se(0,["YYYYY",5],0,"year");se(0,["YYYYYY",6,true],0,"year");q("year","y");X("year",1);be("Y",ke);be("YY",_e,de);be("YYYY",pe,ce);be("YYYYY",we,me);be("YYYYYY",we,me);He(["YYYYY","YYYYYY"],Fe);He("YYYY",function(e,t){t[Fe]=e.length===2?l.parseTwoDigitYear(e):D(e)});He("YY",function(e,t){t[Fe]=l.parseTwoDigitYear(e)});He("Y",function(e,t){t[Fe]=parseInt(e,10)});function Ze(e){return ze(e)?366:365}function ze(e){return e%4===0&&e%100!==0||e%400===0}l.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var $e=Je("FullYear",true);function qe(){return ze(this.year())}function Je(t,n){return function(e){if(e!=null){Qe(this,t,e);l.updateOffset(this,n);return this}else{return Be(this,t)}}}function Be(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Qe(e,t,n){if(e.isValid()&&!isNaN(n)){if(t==="FullYear"&&ze(e.year())&&e.month()===1&&e.date()===29){e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),nt(n,e.month()))}else{e._d["set"+(e._isUTC?"UTC":"")+t](n)}}}function Xe(e){e=J(e);if(P(this[e])){return this[e]()}return this}function Ke(e,t){if(typeof e==="object"){e=B(e);var n=K(e);for(var i=0;i<n.length;i++){this[n[i].unit](e[n[i].unit])}}else{e=J(e);if(P(this[e])){return this[e](t)}}return this}function et(e,t){return(e%t+t)%t}var tt;if(Array.prototype.indexOf){tt=Array.prototype.indexOf}else{tt=function(e){var t;for(t=0;t<this.length;++t){if(this[t]===e){return t}}return-1}}function nt(e,t){if(isNaN(e)||isNaN(t)){return NaN}var n=et(t,12);e+=(t-n)/12;return n===1?ze(e)?29:28:31-n%7%2}se("M",["MM",2],"Mo",function(){return this.month()+1});se("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});se("MMMM",0,0,function(e){return this.localeData().months(this,e)});q("month","M");X("month",8);be("M",_e);be("MM",_e,de);be("MMM",function(e,t){return t.monthsShortRegex(e)});be("MMMM",function(e,t){return t.monthsRegex(e)});He(["M","MM"],function(e,t){t[Le]=D(e)-1});He(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);if(r!=null){t[Le]=r}else{m(n).invalidMonth=e}});var it=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function st(e,t){if(!e){return a(this._months)?this._months:this._months["standalone"]}return a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||it).test(t)?"format":"standalone"][e.month()]}var at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ot(e,t){if(!e){return a(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}return a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[it.test(t)?"format":"standalone"][e.month()]}function ut(e,t,n){var i,r,s,a=e.toLocaleLowerCase();if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[];for(i=0;i<12;++i){s=c([2e3,i]);this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase();this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase()}}if(n){if(t==="MMM"){r=tt.call(this._shortMonthsParse,a);return r!==-1?r:null}else{r=tt.call(this._longMonthsParse,a);return r!==-1?r:null}}else{if(t==="MMM"){r=tt.call(this._shortMonthsParse,a);if(r!==-1){return r}r=tt.call(this._longMonthsParse,a);return r!==-1?r:null}else{r=tt.call(this._longMonthsParse,a);if(r!==-1){return r}r=tt.call(this._shortMonthsParse,a);return r!==-1?r:null}}}function lt(e,t,n){var i,r,s;if(this._monthsParseExact){return ut.call(this,e,t,n)}if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(i=0;i<12;i++){r=c([2e3,i]);if(n&&!this._longMonthsParse[i]){this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i");this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")}if(!n&&!this._monthsParse[i]){s="^"+this.months(r,"")+"|^"+this.monthsShort(r,"");this._monthsParse[i]=new RegExp(s.replace(".",""),"i")}if(n&&t==="MMMM"&&this._longMonthsParse[i].test(e)){return i}else if(n&&t==="MMM"&&this._shortMonthsParse[i].test(e)){return i}else if(!n&&this._monthsParse[i].test(e)){return i}}}function ft(e,t){var n;if(!e.isValid()){return e}if(typeof t==="string"){if(/^\d+$/.test(t)){t=D(t)}else{t=e.localeData().monthsParse(t);if(!f(t)){return e}}}n=Math.min(e.date(),nt(e.year(),t));e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n);return e}function dt(e){if(e!=null){ft(this,e);l.updateOffset(this,true);return this}else{return Be(this,"Month")}}function ht(){return nt(this.year(),this.month())}var ct=Oe;function mt(e){if(this._monthsParseExact){if(!d(this,"_monthsRegex")){vt.call(this)}if(e){return this._monthsShortStrictRegex}else{return this._monthsShortRegex}}else{if(!d(this,"_monthsShortRegex")){this._monthsShortRegex=ct}return this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}}var _t=Oe;function yt(e){if(this._monthsParseExact){if(!d(this,"_monthsRegex")){vt.call(this)}if(e){return this._monthsStrictRegex}else{return this._monthsRegex}}else{if(!d(this,"_monthsRegex")){this._monthsRegex=_t}return this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}}function vt(){function e(e,t){return t.length-e.length}var t=[],n=[],i=[],r,s;for(r=0;r<12;r++){s=c([2e3,r]);t.push(this.monthsShort(s,""));n.push(this.months(s,""));i.push(this.months(s,""));i.push(this.monthsShort(s,""))}t.sort(e);n.sort(e);i.sort(e);for(r=0;r<12;r++){t[r]=We(t[r]);n[r]=We(n[r])}for(r=0;r<24;r++){i[r]=We(i[r])}this._monthsRegex=new RegExp("^("+i.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function gt(e,t,n,i,r,s,a){var o;if(e<100&&e>=0){o=new Date(e+400,t,n,i,r,s,a);if(isFinite(o.getFullYear())){o.setFullYear(e)}}else{o=new Date(e,t,n,i,r,s,a)}return o}function pt(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400;t=new Date(Date.UTC.apply(null,n));if(isFinite(t.getUTCFullYear())){t.setUTCFullYear(e)}}else{t=new Date(Date.UTC.apply(null,arguments))}return t}function wt(e,t,n){var i=7+t-n,r=(7+pt(e,0,i).getUTCDay()-t)%7;return-r+i-1}function Mt(e,t,n,i,r){var s=(7+n-i)%7,a=wt(e,i,r),o=1+7*(t-1)+s+a,u,l;if(o<=0){u=e-1;l=Ze(u)+o}else if(o>Ze(e)){u=e+1;l=o-Ze(e)}else{u=e;l=o}return{year:u,dayOfYear:l}}function kt(e,t,n){var i=wt(e.year(),t,n),r=Math.floor((e.dayOfYear()-i-1)/7)+1,s,a;if(r<1){a=e.year()-1;s=r+St(a,t,n)}else if(r>St(e.year(),t,n)){s=r-St(e.year(),t,n);a=e.year()+1}else{a=e.year();s=r}return{week:s,year:a}}function St(e,t,n){var i=wt(e,t,n),r=wt(e+1,t,n);return(Ze(e)-i+r)/7}se("w",["ww",2],"wo","week");se("W",["WW",2],"Wo","isoWeek");q("week","w");q("isoWeek","W");X("week",5);X("isoWeek",5);be("w",_e);be("ww",_e,de);be("W",_e);be("WW",_e,de);Re(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=D(e)});function Dt(e){return kt(e,this._week.dow,this._week.doy).week}var Yt={dow:0,doy:6};function Ot(){return this._week.dow}function Tt(){return this._week.doy}function bt(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function xt(e){var t=kt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}se("d",0,"do","day");se("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});se("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});se("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});se("e",0,0,"weekday");se("E",0,0,"isoWeekday");q("day","d");q("weekday","e");q("isoWeekday","E");X("day",11);X("weekday",11);X("isoWeekday",11);be("d",_e);be("e",_e);be("E",_e);be("dd",function(e,t){return t.weekdaysMinRegex(e)});be("ddd",function(e,t){return t.weekdaysShortRegex(e)});be("dddd",function(e,t){return t.weekdaysRegex(e)});Re(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);if(r!=null){t.d=r}else{m(n).invalidWeekday=e}});Re(["d","e","E"],function(e,t,n,i){t[i]=D(e)});function Pt(e,t){if(typeof e!=="string"){return e}if(!isNaN(e)){return parseInt(e,10)}e=t.weekdaysParse(e);if(typeof e==="number"){return e}return null}function Wt(e,t){if(typeof e==="string"){return t.weekdaysParse(e)%7||7}return isNaN(e)?null:e}function Ct(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Rt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&e!==true&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===true?Ct(n,this._week.dow):e?n[e.day()]:n}var Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Ft(e){return e===true?Ct(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Lt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Nt(e){return e===true?Ct(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var i,r,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(i=0;i<7;++i){s=c([2e3,1]).day(i);this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase();this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase();this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase()}}if(n){if(t==="dddd"){r=tt.call(this._weekdaysParse,a);return r!==-1?r:null}else if(t==="ddd"){r=tt.call(this._shortWeekdaysParse,a);return r!==-1?r:null}else{r=tt.call(this._minWeekdaysParse,a);return r!==-1?r:null}}else{if(t==="dddd"){r=tt.call(this._weekdaysParse,a);if(r!==-1){return r}r=tt.call(this._shortWeekdaysParse,a);if(r!==-1){return r}r=tt.call(this._minWeekdaysParse,a);return r!==-1?r:null}else if(t==="ddd"){r=tt.call(this._shortWeekdaysParse,a);if(r!==-1){return r}r=tt.call(this._weekdaysParse,a);if(r!==-1){return r}r=tt.call(this._minWeekdaysParse,a);return r!==-1?r:null}else{r=tt.call(this._minWeekdaysParse,a);if(r!==-1){return r}r=tt.call(this._weekdaysParse,a);if(r!==-1){return r}r=tt.call(this._shortWeekdaysParse,a);return r!==-1?r:null}}}function Vt(e,t,n){var i,r,s;if(this._weekdaysParseExact){return Gt.call(this,e,t,n)}if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(i=0;i<7;i++){r=c([2e3,1]).day(i);if(n&&!this._fullWeekdaysParse[i]){this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[i]){s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,"");this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")}if(n&&t==="dddd"&&this._fullWeekdaysParse[i].test(e)){return i}else if(n&&t==="ddd"&&this._shortWeekdaysParse[i].test(e)){return i}else if(n&&t==="dd"&&this._minWeekdaysParse[i].test(e)){return i}else if(!n&&this._weekdaysParse[i].test(e)){return i}}}function Et(e){if(!this.isValid()){return e!=null?this:NaN}var t=this._isUTC?this._d.getUTCDay():this._d.getDay();if(e!=null){e=Pt(e,this.localeData());return this.add(e-t,"d")}else{return t}}function It(e){if(!this.isValid()){return e!=null?this:NaN}var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function At(e){if(!this.isValid()){return e!=null?this:NaN}if(e!=null){var t=Wt(e,this.localeData());return this.day(this.day()%7?t:t-7)}else{return this.day()||7}}var jt=Oe;function Zt(e){if(this._weekdaysParseExact){if(!d(this,"_weekdaysRegex")){Bt.call(this)}if(e){return this._weekdaysStrictRegex}else{return this._weekdaysRegex}}else{if(!d(this,"_weekdaysRegex")){this._weekdaysRegex=jt}return this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}}var zt=Oe;function $t(e){if(this._weekdaysParseExact){if(!d(this,"_weekdaysRegex")){Bt.call(this)}if(e){return this._weekdaysShortStrictRegex}else{return this._weekdaysShortRegex}}else{if(!d(this,"_weekdaysShortRegex")){this._weekdaysShortRegex=zt}return this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}var qt=Oe;function Jt(e){if(this._weekdaysParseExact){if(!d(this,"_weekdaysRegex")){Bt.call(this)}if(e){return this._weekdaysMinStrictRegex}else{return this._weekdaysMinRegex}}else{if(!d(this,"_weekdaysMinRegex")){this._weekdaysMinRegex=qt}return this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function Bt(){function e(e,t){return t.length-e.length}var t=[],n=[],i=[],r=[],s,a,o,u,l;for(s=0;s<7;s++){a=c([2e3,1]).day(s);o=this.weekdaysMin(a,"");u=this.weekdaysShort(a,"");l=this.weekdays(a,"");t.push(o);n.push(u);i.push(l);r.push(o);r.push(u);r.push(l)}t.sort(e);n.sort(e);i.sort(e);r.sort(e);for(s=0;s<7;s++){n[s]=We(n[s]);i[s]=We(i[s]);r[s]=We(r[s])}this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(){return this.hours()||24}se("H",["HH",2],0,"hour");se("h",["hh",2],0,Qt);se("k",["kk",2],0,Xt);se("hmm",0,0,function(){return""+Qt.apply(this)+ee(this.minutes(),2)});se("hmmss",0,0,function(){return""+Qt.apply(this)+ee(this.minutes(),2)+ee(this.seconds(),2)});se("Hmm",0,0,function(){return""+this.hours()+ee(this.minutes(),2)});se("Hmmss",0,0,function(){return""+this.hours()+ee(this.minutes(),2)+ee(this.seconds(),2)});function Kt(e,t){se(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kt("a",true);Kt("A",false);q("hour","h");X("hour",13);function en(e,t){return t._meridiemParse}be("a",en);be("A",en);be("H",_e);be("h",_e);be("k",_e);be("HH",_e,de);be("hh",_e,de);be("kk",_e,de);be("hmm",ye);be("hmmss",ve);be("Hmm",ye);be("Hmmss",ve);He(["H","HH"],Ge);He(["k","kk"],function(e,t,n){var i=D(e);t[Ge]=i===24?0:i});He(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e);n._meridiem=e});He(["h","hh"],function(e,t,n){t[Ge]=D(e);m(n).bigHour=true});He("hmm",function(e,t,n){var i=e.length-2;t[Ge]=D(e.substr(0,i));t[Ve]=D(e.substr(i));m(n).bigHour=true});He("hmmss",function(e,t,n){var i=e.length-4;var r=e.length-2;t[Ge]=D(e.substr(0,i));t[Ve]=D(e.substr(i,2));t[Ee]=D(e.substr(r));m(n).bigHour=true});He("Hmm",function(e,t,n){var i=e.length-2;t[Ge]=D(e.substr(0,i));t[Ve]=D(e.substr(i))});He("Hmmss",function(e,t,n){var i=e.length-4;var r=e.length-2;t[Ge]=D(e.substr(0,i));t[Ve]=D(e.substr(i,2));t[Ee]=D(e.substr(r))});function tn(e){return(e+"").toLowerCase().charAt(0)==="p"}var nn=/[ap]\.?m?\.?/i;function rn(e,t,n){if(e>11){return n?"pm":"PM"}else{return n?"am":"AM"}}var sn=Je("Hours",true);var an={calendar:U,longDateFormat:L,invalidDate:G,ordinal:E,dayOfMonthOrdinalParse:I,relativeTime:j,months:rt,monthsShort:at,week:Yt,weekdays:Ht,weekdaysMin:Lt,weekdaysShort:Ut,meridiemParse:nn};var on={};var un={};var ln;function fn(e){return e?e.toLowerCase().replace("_","-"):e}function dn(e){var t=0,n,i,r,s;while(t<e.length){s=fn(e[t]).split("-");n=s.length;i=fn(e[t+1]);i=i?i.split("-"):null;while(n>0){r=hn(s.slice(0,n).join("-"));if(r){return r}if(i&&i.length>=n&&Y(s,i,true)>=n-1){break}n--}t++}return ln}function hn(e){var t=null;if(!on[e]&&typeof module!=="undefined"&&module&&module.exports){try{t=ln._abbr;var n=require;n("./locale/"+e);cn(t)}catch(e){}}return on[e]}function cn(e,t){var n;if(e){if(s(t)){n=yn(e)}else{n=mn(e,t)}if(n){ln=n}else{if(typeof console!=="undefined"&&console.warn){console.warn("Locale "+e+" not found. Did you forget to load it?")}}}return ln._abbr}function mn(e,t){if(t!==null){var n,i=an;t.abbr=e;if(on[e]!=null){x("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.");i=on[e]._config}else if(t.parentLocale!=null){if(on[t.parentLocale]!=null){i=on[t.parentLocale]._config}else{n=hn(t.parentLocale);if(n!=null){i=n._config}else{if(!un[t.parentLocale]){un[t.parentLocale]=[]}un[t.parentLocale].push({name:e,config:t});return null}}}on[e]=new H(C(i,t));if(un[e]){un[e].forEach(function(e){mn(e.name,e.config)})}cn(e);return on[e]}else{delete on[e];return null}}function _n(e,t){if(t!=null){var n,i,r=an;i=hn(e);if(i!=null){r=i._config}t=C(r,t);n=new H(t);n.parentLocale=on[e];on[e]=n;cn(e)}else{if(on[e]!=null){if(on[e].parentLocale!=null){on[e]=on[e].parentLocale}else if(on[e]!=null){delete on[e]}}}return on[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr){e=e._locale._abbr}if(!e){return ln}if(!a(e)){t=hn(e);if(t){return t}e=[e]}return dn(e)}function vn(){return R(on)}function gn(e){var t;var n=e._a;if(n&&m(e).overflow===-2){t=n[Le]<0||n[Le]>11?Le:n[Ne]<1||n[Ne]>nt(n[Fe],n[Le])?Ne:n[Ge]<0||n[Ge]>24||n[Ge]===24&&(n[Ve]!==0||n[Ee]!==0||n[Ie]!==0)?Ge:n[Ve]<0||n[Ve]>59?Ve:n[Ee]<0||n[Ee]>59?Ee:n[Ie]<0||n[Ie]>999?Ie:-1;if(m(e)._overflowDayOfYear&&(t<Fe||t>Ne)){t=Ne}if(m(e)._overflowWeeks&&t===-1){t=Ae}if(m(e)._overflowWeekday&&t===-1){t=je}m(e).overflow=t}return e}function pn(e,t,n){if(e!=null){return e}if(t!=null){return t}return n}function wn(e){var t=new Date(l.now());if(e._useUTC){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]}return[t.getFullYear(),t.getMonth(),t.getDate()]}function Mn(e){var t,n,i=[],r,s,a;if(e._d){return}r=wn(e);if(e._w&&e._a[Ne]==null&&e._a[Le]==null){kn(e)}if(e._dayOfYear!=null){a=pn(e._a[Fe],r[Fe]);if(e._dayOfYear>Ze(a)||e._dayOfYear===0){m(e)._overflowDayOfYear=true}n=pt(a,0,e._dayOfYear);e._a[Le]=n.getUTCMonth();e._a[Ne]=n.getUTCDate()}for(t=0;t<3&&e._a[t]==null;++t){e._a[t]=i[t]=r[t]}for(;t<7;t++){e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t]}if(e._a[Ge]===24&&e._a[Ve]===0&&e._a[Ee]===0&&e._a[Ie]===0){e._nextDay=true;e._a[Ge]=0}e._d=(e._useUTC?pt:gt).apply(null,i);s=e._useUTC?e._d.getUTCDay():e._d.getDay();if(e._tzm!=null){e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm)}if(e._nextDay){e._a[Ge]=24}if(e._w&&typeof e._w.d!=="undefined"&&e._w.d!==s){m(e).weekdayMismatch=true}}function kn(e){var t,n,i,r,s,a,o,u;t=e._w;if(t.GG!=null||t.W!=null||t.E!=null){s=1;a=4;n=pn(t.GG,e._a[Fe],kt($n(),1,4).year);i=pn(t.W,1);r=pn(t.E,1);if(r<1||r>7){u=true}}else{s=e._locale._week.dow;a=e._locale._week.doy;var l=kt($n(),s,a);n=pn(t.gg,e._a[Fe],l.year);i=pn(t.w,l.week);if(t.d!=null){r=t.d;if(r<0||r>6){u=true}}else if(t.e!=null){r=t.e+s;if(t.e<0||t.e>6){u=true}}else{r=s}}if(i<1||i>St(n,s,a)){m(e)._overflowWeeks=true}else if(u!=null){m(e)._overflowWeekday=true}else{o=Mt(n,i,r,s,a);e._a[Fe]=o.year;e._dayOfYear=o.dayOfYear}}var Sn=/^\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)?)?$/;var Dn=/^\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)?)?$/;var Yn=/Z|[+-]\d\d(?::?\d\d)?/;var On=[["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/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/]];var Tn=[["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/]];var bn=/^\/?Date\((\-?\d+)/i;function xn(e){var t,n,i=e._i,r=Sn.exec(i)||Dn.exec(i),s,a,o,u;if(r){m(e).iso=true;for(t=0,n=On.length;t<n;t++){if(On[t][1].exec(r[1])){a=On[t][0];s=On[t][2]!==false;break}}if(a==null){e._isValid=false;return}if(r[3]){for(t=0,n=Tn.length;t<n;t++){if(Tn[t][1].exec(r[3])){o=(r[2]||" ")+Tn[t][0];break}}if(o==null){e._isValid=false;return}}if(!s&&o!=null){e._isValid=false;return}if(r[4]){if(Yn.exec(r[4])){u="Z"}else{e._isValid=false;return}}e._f=a+(o||"")+(u||"");Gn(e)}else{e._isValid=false}}var Pn=/^(?:(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}))$/;function Wn(e,t,n,i,r,s){var a=[Cn(e),at.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];if(s){a.push(parseInt(s,10))}return a}function Cn(e){var t=parseInt(e,10);if(t<=49){return 2e3+t}else if(t<=999){return 1900+t}return t}function Hn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rn(e,t,n){if(e){var i=Ut.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(i!==r){m(n).weekdayMismatch=true;n._isValid=false;return false}}return true}var Un={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Fn(e,t,n){if(e){return Un[e]}else if(t){return 0}else{var i=parseInt(n,10);var r=i%100,s=(i-r)/100;return s*60+r}}function Ln(e){var t=Pn.exec(Hn(e._i));if(t){var n=Wn(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Rn(t[1],n,e)){return}e._a=n;e._tzm=Fn(t[8],t[9],t[10]);e._d=pt.apply(null,e._a);e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);m(e).rfc2822=true}else{e._isValid=false}}function Nn(e){var t=bn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}xn(e);if(e._isValid===false){delete e._isValid}else{return}Ln(e);if(e._isValid===false){delete e._isValid}else{return}l.createFromInputFallback(e)}l.createFromInputFallback=T("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 and will be removed in an upcoming major release. Please refer to "+"http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});l.ISO_8601=function(){};l.RFC_2822=function(){};function Gn(e){if(e._f===l.ISO_8601){xn(e);return}if(e._f===l.RFC_2822){Ln(e);return}e._a=[];m(e).empty=true;var t=""+e._i,n,i,r,s,a,o=t.length,u=0;r=le(e._f,e._locale).match(te)||[];for(n=0;n<r.length;n++){s=r[n];i=(t.match(xe(s,e))||[])[0];if(i){a=t.substr(0,t.indexOf(i));if(a.length>0){m(e).unusedInput.push(a)}t=t.slice(t.indexOf(i)+i.length);u+=i.length}if(re[s]){if(i){m(e).empty=false}else{m(e).unusedTokens.push(s)}Ue(s,i,e)}else if(e._strict&&!i){m(e).unusedTokens.push(s)}}m(e).charsLeftOver=o-u;if(t.length>0){m(e).unusedInput.push(t)}if(e._a[Ge]<=12&&m(e).bigHour===true&&e._a[Ge]>0){m(e).bigHour=undefined}m(e).parsedDateParts=e._a.slice(0);m(e).meridiem=e._meridiem;e._a[Ge]=Vn(e._locale,e._a[Ge],e._meridiem);Mn(e);gn(e)}function Vn(e,t,n){var i;if(n==null){return t}if(e.meridiemHour!=null){return e.meridiemHour(t,n)}else if(e.isPM!=null){i=e.isPM(n);if(i&&t<12){t+=12}if(!i&&t===12){t=0}return t}else{return t}}function En(e){var t,n,i,r,s;if(e._f.length===0){m(e).invalidFormat=true;e._d=new Date(NaN);return}for(r=0;r<e._f.length;r++){s=0;t=p({},e);if(e._useUTC!=null){t._useUTC=e._useUTC}t._f=e._f[r];Gn(t);if(!y(t)){continue}s+=m(t).charsLeftOver;s+=m(t).unusedTokens.length*10;m(t).score=s;if(i==null||s<i){i=s;n=t}}h(e,n||t)}function In(e){if(e._d){return}var t=B(e._i);e._a=n([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)});Mn(e)}function An(e){var t=new M(gn(jn(e)));if(t._nextDay){t.add(1,"d");t._nextDay=undefined}return t}function jn(e){var t=e._i,n=e._f;e._locale=e._locale||yn(e._l);if(t===null||n===undefined&&t===""){return v({nullInput:true})}if(typeof t==="string"){e._i=t=e._locale.preparse(t)}if(k(t)){return new M(gn(t))}else if(r(t)){e._d=t}else if(a(n)){En(e)}else if(n){Gn(e)}else{Zn(e)}if(!y(e)){e._d=null}return e}function Zn(e){var t=e._i;if(s(t)){e._d=new Date(l.now())}else if(r(t)){e._d=new Date(t.valueOf())}else if(typeof t==="string"){Nn(e)}else if(a(t)){e._a=n(t.slice(0),function(e){return parseInt(e,10)});Mn(e)}else if(o(t)){In(e)}else if(f(t)){e._d=new Date(t)}else{l.createFromInputFallback(e)}}function zn(e,t,n,i,r){var s={};if(n===true||n===false){i=n;n=undefined}if(o(e)&&u(e)||a(e)&&e.length===0){e=undefined}s._isAMomentObject=true;s._useUTC=s._isUTC=r;s._l=n;s._i=e;s._f=t;s._strict=i;return An(s)}function $n(e,t,n,i){return zn(e,t,n,i,false)}var qn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$n.apply(null,arguments);if(this.isValid()&&e.isValid()){return e<this?this:e}else{return v()}});var Jn=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$n.apply(null,arguments);if(this.isValid()&&e.isValid()){return e>this?this:e}else{return v()}});function Bn(e,t){var n,i;if(t.length===1&&a(t[0])){t=t[0]}if(!t.length){return $n()}n=t[0];for(i=1;i<t.length;++i){if(!t[i].isValid()||t[i][e](n)){n=t[i]}}return n}function Qn(){var e=[].slice.call(arguments,0);return Bn("isBefore",e)}function Xn(){var e=[].slice.call(arguments,0);return Bn("isAfter",e)}var Kn=function(){return Date.now?Date.now():+new Date};var ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ti(e){for(var t in e){if(!(tt.call(ei,t)!==-1&&(e[t]==null||!isNaN(e[t])))){return false}}var n=false;for(var i=0;i<ei.length;++i){if(e[ei[i]]){if(n){return false}if(parseFloat(e[ei[i]])!==D(e[ei[i]])){n=true}}}return true}function ni(){return this._isValid}function ii(){return Yi(NaN)}function ri(e){var t=B(e),n=t.year||0,i=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,f=t.millisecond||0;this._isValid=ti(t);this._milliseconds=+f+l*1e3+u*6e4+o*1e3*60*60;this._days=+a+s*7;this._months=+r+i*3+n*12;this._data={};this._locale=yn();this._bubble()}function si(e){return e instanceof ri}function ai(e){if(e<0){return Math.round(-1*e)*-1}else{return Math.round(e)}}function oi(e,n){se(e,0,0,function(){var e=this.utcOffset();var t="+";if(e<0){e=-e;t="-"}return t+ee(~~(e/60),2)+n+ee(~~e%60,2)})}oi("Z",":");oi("ZZ","");be("Z",De);be("ZZ",De);He(["Z","ZZ"],function(e,t,n){n._useUTC=true;n._tzm=li(De,e)});var ui=/([\+\-]|\d\d)/gi;function li(e,t){var n=(t||"").match(e);if(n===null){return null}var i=n[n.length-1]||[];var r=(i+"").match(ui)||["-",0,0];var s=+(r[1]*60)+D(r[2]);return s===0?0:r[0]==="+"?s:-s}function fi(e,t){var n,i;if(t._isUTC){n=t.clone();i=(k(e)||r(e)?e.valueOf():$n(e).valueOf())-n.valueOf();n._d.setTime(n._d.valueOf()+i);l.updateOffset(n,false);return n}else{return $n(e).local()}}function di(e){return-Math.round(e._d.getTimezoneOffset()/15)*15}l.updateOffset=function(){};function hi(e,t,n){var i=this._offset||0,r;if(!this.isValid()){return e!=null?this:NaN}if(e!=null){if(typeof e==="string"){e=li(De,e);if(e===null){return this}}else if(Math.abs(e)<16&&!n){e=e*60}if(!this._isUTC&&t){r=di(this)}this._offset=e;this._isUTC=true;if(r!=null){this.add(r,"m")}if(i!==e){if(!t||this._changeInProgress){Pi(this,Yi(e-i,"m"),1,false)}else if(!this._changeInProgress){this._changeInProgress=true;l.updateOffset(this,true);this._changeInProgress=null}}return this}else{return this._isUTC?i:di(this)}}function ci(e,t){if(e!=null){if(typeof e!=="string"){e=-e}this.utcOffset(e,t);return this}else{return-this.utcOffset()}}function mi(e){return this.utcOffset(0,e)}function _i(e){if(this._isUTC){this.utcOffset(0,e);this._isUTC=false;if(e){this.subtract(di(this),"m")}}return this}function yi(){if(this._tzm!=null){this.utcOffset(this._tzm,false,true)}else if(typeof this._i==="string"){var e=li(Se,this._i);if(e!=null){this.utcOffset(e)}else{this.utcOffset(0,true)}}return this}function vi(e){if(!this.isValid()){return false}e=e?$n(e).utcOffset():0;return(this.utcOffset()-e)%60===0}function gi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pi(){if(!s(this._isDSTShifted)){return this._isDSTShifted}var e={};p(e,this);e=jn(e);if(e._a){var t=e._isUTC?c(e._a):$n(e._a);this._isDSTShifted=this.isValid()&&Y(e._a,t.toArray())>0}else{this._isDSTShifted=false}return this._isDSTShifted}function wi(){return this.isValid()?!this._isUTC:false}function Mi(){return this.isValid()?this._isUTC:false}function ki(){return this.isValid()?this._isUTC&&this._offset===0:false}var Si=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/;var Di=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yi(e,t){var n=e,i=null,r,s,a;if(si(e)){n={ms:e._milliseconds,d:e._days,M:e._months}}else if(f(e)){n={};if(t){n[t]=e}else{n.milliseconds=e}}else if(!!(i=Si.exec(e))){r=i[1]==="-"?-1:1;n={y:0,d:D(i[Ne])*r,h:D(i[Ge])*r,m:D(i[Ve])*r,s:D(i[Ee])*r,ms:D(ai(i[Ie]*1e3))*r}}else if(!!(i=Di.exec(e))){r=i[1]==="-"?-1:1;n={y:Oi(i[2],r),M:Oi(i[3],r),w:Oi(i[4],r),d:Oi(i[5],r),h:Oi(i[6],r),m:Oi(i[7],r),s:Oi(i[8],r)}}else if(n==null){n={}}else if(typeof n==="object"&&("from"in n||"to"in n)){a=bi($n(n.from),$n(n.to));n={};n.ms=a.milliseconds;n.M=a.months}s=new ri(n);if(si(e)&&d(e,"_locale")){s._locale=e._locale}return s}Yi.fn=ri.prototype;Yi.invalid=ii;function Oi(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ti(e,t){var n={};n.months=t.month()-e.month()+(t.year()-e.year())*12;if(e.clone().add(n.months,"M").isAfter(t)){--n.months}n.milliseconds=+t-+e.clone().add(n.months,"M");return n}function bi(e,t){var n;if(!(e.isValid()&&t.isValid())){return{milliseconds:0,months:0}}t=fi(t,e);if(e.isBefore(t)){n=Ti(e,t)}else{n=Ti(t,e);n.milliseconds=-n.milliseconds;n.months=-n.months}return n}function xi(r,s){return function(e,t){var n,i;if(t!==null&&!isNaN(+t)){x(s,"moment()."+s+"(period, number) is deprecated. Please use moment()."+s+"(number, period). "+"See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");i=e;e=t;t=i}e=typeof e==="string"?+e:e;n=Yi(e,t);Pi(this,n,r);return this}}function Pi(e,t,n,i){var r=t._milliseconds,s=ai(t._days),a=ai(t._months);if(!e.isValid()){return}i=i==null?true:i;if(a){ft(e,Be(e,"Month")+a*n)}if(s){Qe(e,"Date",Be(e,"Date")+s*n)}if(r){e._d.setTime(e._d.valueOf()+r*n)}if(i){l.updateOffset(e,s||a)}}var Wi=xi(1,"add");var Ci=xi(-1,"subtract");function Hi(e,t){var n=e.diff(t,"days",true);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ri(e,t){var n=e||$n(),i=fi(n,this).startOf("day"),r=l.calendarFormat(this,i)||"sameElse";var s=t&&(P(t[r])?t[r].call(this,n):t[r]);return this.format(s||this.localeData().calendar(r,this,$n(n)))}function Ui(){return new M(this)}function Fi(e,t){var n=k(e)?e:$n(e);if(!(this.isValid()&&n.isValid())){return false}t=J(t)||"millisecond";if(t==="millisecond"){return this.valueOf()>n.valueOf()}else{return n.valueOf()<this.clone().startOf(t).valueOf()}}function Li(e,t){var n=k(e)?e:$n(e);if(!(this.isValid()&&n.isValid())){return false}t=J(t)||"millisecond";if(t==="millisecond"){return this.valueOf()<n.valueOf()}else{return this.clone().endOf(t).valueOf()<n.valueOf()}}function Ni(e,t,n,i){var r=k(e)?e:$n(e),s=k(t)?t:$n(t);if(!(this.isValid()&&r.isValid()&&s.isValid())){return false}i=i||"()";return(i[0]==="("?this.isAfter(r,n):!this.isBefore(r,n))&&(i[1]===")"?this.isBefore(s,n):!this.isAfter(s,n))}function Gi(e,t){var n=k(e)?e:$n(e),i;if(!(this.isValid()&&n.isValid())){return false}t=J(t)||"millisecond";if(t==="millisecond"){return this.valueOf()===n.valueOf()}else{i=n.valueOf();return this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()}}function Vi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ei(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ii(e,t,n){var i,r,s;if(!this.isValid()){return NaN}i=fi(e,this);if(!i.isValid()){return NaN}r=(i.utcOffset()-this.utcOffset())*6e4;t=J(t);switch(t){case"year":s=Ai(this,i)/12;break;case"month":s=Ai(this,i);break;case"quarter":s=Ai(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:S(s)}function Ai(e,t){var n=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(n,"months"),r,s;if(t-i<0){r=e.clone().add(n-1,"months");s=(t-i)/(i-r)}else{r=e.clone().add(n+1,"months");s=(t-i)/(r-i)}return-(n+s)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ji(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Zi(e){if(!this.isValid()){return null}var t=e!==true;var n=t?this.clone().utc():this;if(n.year()<0||n.year()>9999){return ue(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ")}if(P(Date.prototype.toISOString)){if(t){return this.toDate().toISOString()}else{return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ue(n,"Z"))}}return ue(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function zi(){if(!this.isValid()){return"moment.invalid(/* "+this._i+" */)"}var e="moment";var t="";if(!this.isLocal()){e=this.utcOffset()===0?"moment.utc":"moment.parseZone";t="Z"}var n="["+e+'("]';var i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";var r="-MM-DD[T]HH:mm:ss.SSS";var s=t+'[")]';return this.format(n+i+r+s)}function $i(e){if(!e){e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat}var t=ue(this,e);return this.localeData().postformat(t)}function qi(e,t){if(this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())){return Yi({to:this,from:e}).locale(this.locale()).humanize(!t)}else{return this.localeData().invalidDate()}}function Ji(e){return this.from($n(),e)}function Bi(e,t){if(this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())){return Yi({from:this,to:e}).locale(this.locale()).humanize(!t)}else{return this.localeData().invalidDate()}}function Qi(e){return this.to($n(),e)}function Xi(e){var t;if(e===undefined){return this._locale._abbr}else{t=yn(e);if(t!=null){this._locale=t}return this}}var Ki=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){if(e===undefined){return this.localeData()}else{return this.locale(e)}});function er(){return this._locale}var tr=1e3;var nr=60*tr;var ir=60*nr;var rr=(365*400+97)*24*ir;function sr(e,t){return(e%t+t)%t}function ar(e,t,n){if(e<100&&e>=0){return new Date(e+400,t,n)-rr}else{return new Date(e,t,n).valueOf()}}function or(e,t,n){if(e<100&&e>=0){return Date.UTC(e+400,t,n)-rr}else{return Date.UTC(e,t,n)}}function ur(e){var t;e=J(e);if(e===undefined||e==="millisecond"||!this.isValid()){return this}var n=this._isUTC?or:ar;switch(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-=sr(t+(this._isUTC?0:this.utcOffset()*nr),ir);break;case"minute":t=this._d.valueOf();t-=sr(t,nr);break;case"second":t=this._d.valueOf();t-=sr(t,tr);break}this._d.setTime(t);l.updateOffset(this,true);return this}function lr(e){var t;e=J(e);if(e===undefined||e==="millisecond"||!this.isValid()){return this}var n=this._isUTC?or:ar;switch(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;case"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+=ir-sr(t+(this._isUTC?0:this.utcOffset()*nr),ir)-1;break;case"minute":t=this._d.valueOf();t+=nr-sr(t,nr)-1;break;case"second":t=this._d.valueOf();t+=tr-sr(t,tr)-1;break}this._d.setTime(t);l.updateOffset(this,true);return this}function fr(){return this._d.valueOf()-(this._offset||0)*6e4}function dr(){return Math.floor(this.valueOf()/1e3)}function hr(){return new Date(this.valueOf())}function cr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function mr(){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()}}function _r(){return this.isValid()?this.toISOString():null}function yr(){return y(this)}function vr(){return h({},m(this))}function gr(){return m(this).overflow}function pr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}se(0,["gg",2],0,function(){return this.weekYear()%100});se(0,["GG",2],0,function(){return this.isoWeekYear()%100});function wr(e,t){se(0,[e,e.length],0,t)}wr("gggg","weekYear");wr("ggggg","weekYear");wr("GGGG","isoWeekYear");wr("GGGGG","isoWeekYear");q("weekYear","gg");q("isoWeekYear","GG");X("weekYear",1);X("isoWeekYear",1);be("G",ke);be("g",ke);be("GG",_e,de);be("gg",_e,de);be("GGGG",pe,ce);be("gggg",pe,ce);be("GGGGG",we,me);be("ggggg",we,me);Re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=D(e)});Re(["gg","GG"],function(e,t,n,i){t[i]=l.parseTwoDigitYear(e)});function Mr(e){return Yr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function kr(e){return Yr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Sr(){return St(this.year(),1,4)}function Dr(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Yr(e,t,n,i,r){var s;if(e==null){return kt(this,i,r).year}else{s=St(e,i,r);if(t>s){t=s}return Or.call(this,e,t,n,i,r)}}function Or(e,t,n,i,r){var s=Mt(e,t,n,i,r),a=pt(s.year,0,s.dayOfYear);this.year(a.getUTCFullYear());this.month(a.getUTCMonth());this.date(a.getUTCDate());return this}se("Q",0,"Qo","quarter");q("quarter","Q");X("quarter",7);be("Q",fe);He("Q",function(e,t){t[Le]=(D(e)-1)*3});function Tr(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}se("D",["DD",2],"Do","date");q("date","D");X("date",9);be("D",_e);be("DD",_e,de);be("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});He(["D","DD"],Ne);He("Do",function(e,t){t[Ne]=D(e.match(_e)[0])});var br=Je("Date",true);se("DDD",["DDDD",3],"DDDo","dayOfYear");q("dayOfYear","DDD");X("dayOfYear",4);be("DDD",ge);be("DDDD",he);He(["DDD","DDDD"],function(e,t,n){n._dayOfYear=D(e)});function xr(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}se("m",["mm",2],0,"minute");q("minute","m");X("minute",14);be("m",_e);be("mm",_e,de);He(["m","mm"],Ve);var Pr=Je("Minutes",false);se("s",["ss",2],0,"second");q("second","s");X("second",15);be("s",_e);be("ss",_e,de);He(["s","ss"],Ee);var Wr=Je("Seconds",false);se("S",0,0,function(){return~~(this.millisecond()/100)});se(0,["SS",2],0,function(){return~~(this.millisecond()/10)});se(0,["SSS",3],0,"millisecond");se(0,["SSSS",4],0,function(){return this.millisecond()*10});se(0,["SSSSS",5],0,function(){return this.millisecond()*100});se(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});se(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});se(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});se(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});q("millisecond","ms");X("millisecond",16);be("S",ge,fe);be("SS",ge,de);be("SSS",ge,he);var Cr;for(Cr="SSSS";Cr.length<=9;Cr+="S"){be(Cr,Me)}function Hr(e,t){t[Ie]=D(("0."+e)*1e3)}for(Cr="S";Cr.length<=9;Cr+="S"){He(Cr,Hr)}var Rr=Je("Milliseconds",false);se("z",0,0,"zoneAbbr");se("zz",0,0,"zoneName");function Ur(){return this._isUTC?"UTC":""}function Fr(){return this._isUTC?"Coordinated Universal Time":""}var Lr=M.prototype;Lr.add=Wi;Lr.calendar=Ri;Lr.clone=Ui;Lr.diff=Ii;Lr.endOf=lr;Lr.format=$i;Lr.from=qi;Lr.fromNow=Ji;Lr.to=Bi;Lr.toNow=Qi;Lr.get=Xe;Lr.invalidAt=gr;Lr.isAfter=Fi;Lr.isBefore=Li;Lr.isBetween=Ni;Lr.isSame=Gi;Lr.isSameOrAfter=Vi;Lr.isSameOrBefore=Ei;Lr.isValid=yr;Lr.lang=Ki;Lr.locale=Xi;Lr.localeData=er;Lr.max=Jn;Lr.min=qn;Lr.parsingFlags=vr;Lr.set=Ke;Lr.startOf=ur;Lr.subtract=Ci;Lr.toArray=cr;Lr.toObject=mr;Lr.toDate=hr;Lr.toISOString=Zi;Lr.inspect=zi;Lr.toJSON=_r;Lr.toString=ji;Lr.unix=dr;Lr.valueOf=fr;Lr.creationData=pr;Lr.year=$e;Lr.isLeapYear=qe;Lr.weekYear=Mr;Lr.isoWeekYear=kr;Lr.quarter=Lr.quarters=Tr;Lr.month=dt;Lr.daysInMonth=ht;Lr.week=Lr.weeks=bt;Lr.isoWeek=Lr.isoWeeks=xt;Lr.weeksInYear=Dr;Lr.isoWeeksInYear=Sr;Lr.date=br;Lr.day=Lr.days=Et;Lr.weekday=It;Lr.isoWeekday=At;Lr.dayOfYear=xr;Lr.hour=Lr.hours=sn;Lr.minute=Lr.minutes=Pr;Lr.second=Lr.seconds=Wr;Lr.millisecond=Lr.milliseconds=Rr;Lr.utcOffset=hi;Lr.utc=mi;Lr.local=_i;Lr.parseZone=yi;Lr.hasAlignedHourOffset=vi;Lr.isDST=gi;Lr.isLocal=wi;Lr.isUtcOffset=Mi;Lr.isUtc=ki;Lr.isUTC=ki;Lr.zoneAbbr=Ur;Lr.zoneName=Fr;Lr.dates=T("dates accessor is deprecated. Use date instead.",br);Lr.months=T("months accessor is deprecated. Use month instead",dt);Lr.years=T("years accessor is deprecated. Use year instead",$e);Lr.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ci);Lr.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pi);function Nr(e){return $n(e*1e3)}function Gr(){return $n.apply(null,arguments).parseZone()}function Vr(e){return e}var Er=H.prototype;Er.calendar=F;Er.longDateFormat=N;Er.invalidDate=V;Er.ordinal=A;Er.preparse=Vr;Er.postformat=Vr;Er.relativeTime=Z;Er.pastFuture=z;Er.set=W;Er.months=st;Er.monthsShort=ot;Er.monthsParse=lt;Er.monthsRegex=yt;Er.monthsShortRegex=mt;Er.week=Dt;Er.firstDayOfYear=Tt;Er.firstDayOfWeek=Ot;Er.weekdays=Rt;Er.weekdaysMin=Nt;Er.weekdaysShort=Ft;Er.weekdaysParse=Vt;Er.weekdaysRegex=Zt;Er.weekdaysShortRegex=$t;Er.weekdaysMinRegex=Jt;Er.isPM=tn;Er.meridiem=rn;function Ir(e,t,n,i){var r=yn();var s=c().set(i,t);return r[n](s,e)}function Ar(e,t,n){if(f(e)){t=e;e=undefined}e=e||"";if(t!=null){return Ir(e,t,n,"month")}var i;var r=[];for(i=0;i<12;i++){r[i]=Ir(e,i,n,"month")}return r}function jr(e,t,n,i){if(typeof e==="boolean"){if(f(t)){n=t;t=undefined}t=t||""}else{t=e;n=t;e=false;if(f(t)){n=t;t=undefined}t=t||""}var r=yn(),s=e?r._week.dow:0;if(n!=null){return Ir(t,(n+s)%7,i,"day")}var a;var o=[];for(a=0;a<7;a++){o[a]=Ir(t,(a+s)%7,i,"day")}return o}function Zr(e,t){return Ar(e,t,"months")}function zr(e,t){return Ar(e,t,"monthsShort")}function $r(e,t,n){return jr(e,t,n,"weekdays")}function qr(e,t,n){return jr(e,t,n,"weekdaysShort")}function Jr(e,t,n){return jr(e,t,n,"weekdaysMin")}cn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});l.lang=T("moment.lang is deprecated. Use moment.locale instead.",cn);l.langData=T("moment.langData is deprecated. Use moment.localeData instead.",yn);var Br=Math.abs;function Qr(){var e=this._data;this._milliseconds=Br(this._milliseconds);this._days=Br(this._days);this._months=Br(this._months);e.milliseconds=Br(e.milliseconds);e.seconds=Br(e.seconds);e.minutes=Br(e.minutes);e.hours=Br(e.hours);e.months=Br(e.months);e.years=Br(e.years);return this}function Xr(e,t,n,i){var r=Yi(t,n);e._milliseconds+=i*r._milliseconds;e._days+=i*r._days;e._months+=i*r._months;return e._bubble()}function Kr(e,t){return Xr(this,e,t,1)}function es(e,t){return Xr(this,e,t,-1)}function ts(e){if(e<0){return Math.floor(e)}else{return Math.ceil(e)}}function ns(){var e=this._milliseconds;var t=this._days;var n=this._months;var i=this._data;var r,s,a,o,u;if(!(e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0)){e+=ts(rs(n)+t)*864e5;t=0;n=0}i.milliseconds=e%1e3;r=S(e/1e3);i.seconds=r%60;s=S(r/60);i.minutes=s%60;a=S(s/60);i.hours=a%24;t+=S(a/24);u=S(is(t));n+=u;t-=ts(rs(u));o=S(n/12);n%=12;i.days=t;i.months=n;i.years=o;return this}function is(e){return e*4800/146097}function rs(e){return e*146097/4800}function ss(e){if(!this.isValid()){return NaN}var t;var n;var i=this._milliseconds;e=J(e);if(e==="month"||e==="quarter"||e==="year"){t=this._days+i/864e5;n=this._months+is(t);switch(e){case"month":return n;case"quarter":return n/3;case"year":return n/12}}else{t=this._days+Math.round(rs(this._months));switch(e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+e)}}}function as(){if(!this.isValid()){return NaN}return this._milliseconds+this._days*864e5+this._months%12*2592e6+D(this._months/12)*31536e6}function os(e){return function(){return this.as(e)}}var us=os("ms");var ls=os("s");var fs=os("m");var ds=os("h");var hs=os("d");var cs=os("w");var ms=os("M");var _s=os("Q");var ys=os("y");function vs(){return Yi(this)}function gs(e){e=J(e);return this.isValid()?this[e+"s"]():NaN}function ps(e){return function(){return this.isValid()?this._data[e]:NaN}}var ws=ps("milliseconds");var Ms=ps("seconds");var ks=ps("minutes");var Ss=ps("hours");var Ds=ps("days");var Ys=ps("months");var Os=ps("years");function Ts(){return S(this.days()/7)}var bs=Math.round;var xs={ss:44,s:45,m:45,h:22,d:26,M:11};function Ps(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Ws(e,t,n){var i=Yi(e).abs();var r=bs(i.as("s"));var s=bs(i.as("m"));var a=bs(i.as("h"));var o=bs(i.as("d"));var u=bs(i.as("M"));var l=bs(i.as("y"));var f=r<=xs.ss&&["s",r]||r<xs.s&&["ss",r]||s<=1&&["m"]||s<xs.m&&["mm",s]||a<=1&&["h"]||a<xs.h&&["hh",a]||o<=1&&["d"]||o<xs.d&&["dd",o]||u<=1&&["M"]||u<xs.M&&["MM",u]||l<=1&&["y"]||["yy",l];f[2]=t;f[3]=+e>0;f[4]=n;return Ps.apply(null,f)}function Cs(e){if(e===undefined){return bs}if(typeof e==="function"){bs=e;return true}return false}function Hs(e,t){if(xs[e]===undefined){return false}if(t===undefined){return xs[e]}xs[e]=t;if(e==="s"){xs.ss=t-1}return true}function Rs(e){if(!this.isValid()){return this.localeData().invalidDate()}var t=this.localeData();var n=Ws(this,!e,t);if(e){n=t.pastFuture(+this,n)}return t.postformat(n)}var Us=Math.abs;function Fs(e){return(e>0)-(e<0)||+e}function Ls(){if(!this.isValid()){return this.localeData().invalidDate()}var e=Us(this._milliseconds)/1e3;var t=Us(this._days);var n=Us(this._months);var i,r,s;i=S(e/60);r=S(i/60);e%=60;i%=60;s=S(n/12);n%=12;var a=s;var o=n;var u=t;var l=r;var f=i;var d=e?e.toFixed(3).replace(/\.?0+$/,""):"";var h=this.asSeconds();if(!h){return"P0D"}var c=h<0?"-":"";var m=Fs(this._months)!==Fs(h)?"-":"";var _=Fs(this._days)!==Fs(h)?"-":"";var y=Fs(this._milliseconds)!==Fs(h)?"-":"";return c+"P"+(a?m+a+"Y":"")+(o?m+o+"M":"")+(u?_+u+"D":"")+(l||f||d?"T":"")+(l?y+l+"H":"")+(f?y+f+"M":"")+(d?y+d+"S":"")}var Ns=ri.prototype;Ns.isValid=ni;Ns.abs=Qr;Ns.add=Kr;Ns.subtract=es;Ns.as=ss;Ns.asMilliseconds=us;Ns.asSeconds=ls;Ns.asMinutes=fs;Ns.asHours=ds;Ns.asDays=hs;Ns.asWeeks=cs;Ns.asMonths=ms;Ns.asQuarters=_s;Ns.asYears=ys;Ns.valueOf=as;Ns._bubble=ns;Ns.clone=vs;Ns.get=gs;Ns.milliseconds=ws;Ns.seconds=Ms;Ns.minutes=ks;Ns.hours=Ss;Ns.days=Ds;Ns.weeks=Ts;Ns.months=Ys;Ns.years=Os;Ns.humanize=Rs;Ns.toISOString=Ls;Ns.toString=Ls;Ns.toJSON=Ls;Ns.locale=Xi;Ns.localeData=er;Ns.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ls);Ns.lang=Ki;se("X",0,0,"unix");se("x",0,0,"valueOf");be("x",ke);be("X",Ye);He("X",function(e,t,n){n._d=new Date(parseFloat(e,10)*1e3)});He("x",function(e,t,n){n._d=new Date(D(e))});l.version="2.24.0";e($n);l.fn=Lr;l.min=Qn;l.max=Xn;l.now=Kn;l.utc=c;l.unix=Nr;l.months=Zr;l.isDate=r;l.locale=cn;l.invalid=v;l.duration=Yi;l.isMoment=k;l.weekdays=$r;l.parseZone=Gr;l.localeData=yn;l.isDuration=si;l.monthsShort=zr;l.weekdaysMin=Jr;l.defineLocale=mn;l.updateLocale=_n;l.locales=vn;l.weekdaysShort=qr;l.normalizeUnits=J;l.relativeTimeRounding=Cs;l.relativeTimeThreshold=Hs;l.calendarFormat=Hi;l.prototype=Lr;l.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"};return l});
|