vis-timeline
Version:
Create a fully customizable, interactive timeline with items and ranges.
26 lines • 464 kB
JavaScript
/**
* vis-timeline - timeline-graph2d
* https://github.com/visjs/vis-timeline
*
* Create a fully customizable, interactive timeline with items and ranges.
*
* @version 5.0.0
* @date 2019-07-19T14:26:29Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2018-2019 visjs contributors, https://github.com/visjs
*
* @license
* vis.js is dual licensed under both
*
* 1. The Apache 2.0 License
* http://www.apache.org/licenses/LICENSE-2.0
*
* and
*
* 2. The MIT License
* http://opensource.org/licenses/MIT
*
* vis.js may be distributed under either license.
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).vis={})}(this,function(t){"use strict";function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(e,t){var i=Object.keys(e);return Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(e)),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i}function i(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function tn(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}for(var e,s=(function(Ki,t){Ki.exports=function(){var e,s;function l(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function n(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){for(var i in e)u(e,i)&&(t[i]=e[i]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,i,n){return Ye(t,e,i,n,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function f(t){if(null==t._isValid){var e=m(t),i=s.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function g(t){var e=p(NaN);return null!=t?c(m(e),t):m(e).userInvalidated=!0,e}s=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var v=l.momentProperties=[];function y(t,e){var i,n,s;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=m(e)),o(e._locale)||(t._locale=e._locale),0<v.length)for(i=0;i<v.length;i++)n=v[i],o(s=e[n])||(t[n]=s);return t}var i=!1;function _(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===i&&(i=!0,l.updateOffset(this),i=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function D(t){var e=+t,i=0;return 0!=e&&isFinite(e)&&(i=w(e)),i}function S(t,e,i){var n,s=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),r=0;for(n=0;n<s;n++)(i&&t[n]!==e[n]||!i&&D(t[n])!==D(e[n]))&&r++;return r+o}function k(t){!1===l.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(s,o){var r=!0;return c(function(){if(null!=l.deprecationHandler&&l.deprecationHandler(null,s),r){for(var t,e=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(var n in t+="\n["+i+"] ",arguments[0])t+=n+": "+arguments[0][n]+", ";t=t.slice(0,-2)}else t=arguments[i];e.push(t)}k(s+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),r=!1}return o.apply(this,arguments)},o)}var x,M={};function T(t,e){null!=l.deprecationHandler&&l.deprecationHandler(t,e),M[t]||(k(e),M[t]=!0)}function O(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var i,n=c({},t);for(i in e)u(e,i)&&(a(t[i])&&a(e[i])?(n[i]={},c(n[i],t[i]),c(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)u(t,i)&&!u(e,i)&&a(t[i])&&(n[i]=c({},n[i]));return n}function E(t){null!=t&&this.set(t)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null,x=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)u(t,e)&&i.push(e);return i};var P={};function Y(t,e){var i=t.toLowerCase();P[i]=P[i+"s"]=P[e]=t}function N(t){return"string"==typeof t?P[t]||P[t.toLowerCase()]:void 0}function A(t){var e,i,n={};for(i in t)u(t,i)&&(e=N(i))&&(n[e]=t[i]);return n}var I={};function R(t,e){I[t]=e}function L(t){var e=[];for(var i in t)e.push({unit:i,priority:I[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}function H(t,e,i){var n=""+Math.abs(t),s=e-n.length,o=0<=t;return(o?i?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},G={};function U(t,e,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),t&&(G[t]=s),e&&(G[e[0]]=function(){return H(s.apply(this,arguments),e[1],e[2])}),i&&(G[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function V(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function z(t,e){return t.isValid()?(e=B(e,t.localeData()),W[e]=W[e]||function(n){var t,s,o=n.match(F);for(t=0,s=o.length;t<s;t++)G[o[t]]?o[t]=G[o[t]]:o[t]=V(o[t]);return function(t){var e,i="";for(e=0;e<s;e++)i+=O(o[e])?o[e].call(t,n):o[e];return i}}(e),W[e](t)):t.localeData().invalidDate()}function B(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;0<=i&&j.test(t);)t=t.replace(j,n),j.lastIndex=0,i-=1;return t}var q=/\d/,Z=/\d\d/,X=/\d{3}/,$=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,K=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,it=/\d{1,4}/,nt=/[+-]?\d{1,6}/,st=/\d+/,ot=/[+-]?\d+/,rt=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,ht=/[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,lt={};function dt(t,i,n){lt[t]=O(i)?i:function(t,e){return t&&n?n:i}}function ut(t,e){return u(lt,t)?lt[t](e._strict,e._locale):new RegExp(function(t){return ct(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,s){return e||i||n||s}))}(t))}function ct(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function mt(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),h(i)&&(n=function(t,e){e[i]=D(t)}),e=0;e<t.length;e++)pt[t[e]]=n}function ft(t,s){mt(t,function(t,e,i,n){i._w=i._w||{},s(t,i._w,i,n)})}function gt(t,e,i){null!=e&&u(pt,t)&&pt[t](e,i._a,i,t)}var vt=0,yt=1,_t=2,bt=3,wt=4,Dt=5,St=6,kt=7,xt=8;function Mt(t){return Tt(t)?366:365}function Tt(t){return t%4==0&&t%100!=0||t%400==0}U("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),R("year",1),dt("Y",ot),dt("YY",Q,Z),dt("YYYY",it,$),dt("YYYYY",nt,J),dt("YYYYYY",nt,J),mt(["YYYYY","YYYYYY"],vt),mt("YYYY",function(t,e){e[vt]=2===t.length?l.parseTwoDigitYear(t):D(t)}),mt("YY",function(t,e){e[vt]=l.parseTwoDigitYear(t)}),mt("Y",function(t,e){e[vt]=parseInt(t,10)}),l.parseTwoDigitYear=function(t){return D(t)+(68<D(t)?1900:2e3)};var Ot,Ct=Et("FullYear",!0);function Et(e,i){return function(t){return null!=t?(Yt(this,e,t),l.updateOffset(this,i),this):Pt(this,e)}}function Pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Yt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&Tt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Nt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Nt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-i)/12,1===i?Tt(t)?29:28:31-i%7%2}Ot=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),U("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Y("month","M"),R("month",8),dt("M",Q),dt("MM",Q,Z),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),mt(["M","MM"],function(t,e){e[yt]=D(t)-1}),mt(["MMM","MMMM"],function(t,e,i,n){var s=i._locale.monthsParse(t,n,i._strict);null!=s?e[yt]=s:m(i).invalidMonth=t});var At=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,It="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Lt(t,e,i){var n,s,o,r=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(s=Ot.call(this._shortMonthsParse,r))?s:null:-1!==(s=Ot.call(this._longMonthsParse,r))?s:null:"MMM"===e?-1!==(s=Ot.call(this._shortMonthsParse,r))?s:-1!==(s=Ot.call(this._longMonthsParse,r))?s:null:-1!==(s=Ot.call(this._longMonthsParse,r))?s:-1!==(s=Ot.call(this._shortMonthsParse,r))?s:null}function Ht(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=D(e);else if(!h(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Nt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Ft(t){return null!=t?(Ht(this,t),l.updateOffset(this,!0),this):Pt(this,"Month")}var jt=ht;var Wt=ht;function Gt(){function t(t,e){return e.length-t.length}var e,i,n=[],s=[],o=[];for(e=0;e<12;e++)i=p([2e3,e]),n.push(this.monthsShort(i,"")),s.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(n.sort(t),s.sort(t),o.sort(t),e=0;e<12;e++)n[e]=ct(n[e]),s[e]=ct(s[e]);for(e=0;e<24;e++)o[e]=ct(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ut(t){var e;if(t<100&&0<=t){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Vt(t,e,i){var n=7+e-i,s=(7+Ut(t,0,n).getUTCDay()-e)%7;return n-s-1}function zt(t,e,i,n,s){var o,r,a=(7+i-n)%7,h=Vt(t,n,s),l=1+7*(e-1)+a+h;return r=l<=0?Mt(o=t-1)+l:l>Mt(t)?(o=t+1,l-Mt(t)):(o=t,l),{year:o,dayOfYear:r}}function Bt(t,e,i){var n,s,o=Vt(t.year(),e,i),r=Math.floor((t.dayOfYear()-o-1)/7)+1;return r<1?(s=t.year()-1,n=r+qt(s,e,i)):r>qt(t.year(),e,i)?(n=r-qt(t.year(),e,i),s=t.year()+1):(s=t.year(),n=r),{week:n,year:s}}function qt(t,e,i){var n=Vt(t,e,i),s=Vt(t+1,e,i);return(Mt(t)-n+s)/7}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),R("week",5),R("isoWeek",5),dt("w",Q),dt("ww",Q,Z),dt("W",Q),dt("WW",Q,Z),ft(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=D(t)});function Zt(t,e){return t.slice(e,7).concat(t.slice(0,e))}U("d",0,"do","day"),U("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),U("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),U("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),dt("d",Q),dt("e",Q),dt("E",Q),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),ft(["dd","ddd","dddd"],function(t,e,i,n){var s=i._locale.weekdaysParse(t,n,i._strict);null!=s?e.d=s:m(i).invalidWeekday=t}),ft(["d","e","E"],function(t,e,i,n){e[n]=D(t)});var Xt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var $t="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Qt(t,e,i){var n,s,o,r=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(s=Ot.call(this._weekdaysParse,r))?s:null:"ddd"===e?-1!==(s=Ot.call(this._shortWeekdaysParse,r))?s:null:-1!==(s=Ot.call(this._minWeekdaysParse,r))?s:null:"dddd"===e?-1!==(s=Ot.call(this._weekdaysParse,r))?s:-1!==(s=Ot.call(this._shortWeekdaysParse,r))?s:-1!==(s=Ot.call(this._minWeekdaysParse,r))?s:null:"ddd"===e?-1!==(s=Ot.call(this._shortWeekdaysParse,r))?s:-1!==(s=Ot.call(this._weekdaysParse,r))?s:-1!==(s=Ot.call(this._minWeekdaysParse,r))?s:null:-1!==(s=Ot.call(this._minWeekdaysParse,r))?s:-1!==(s=Ot.call(this._weekdaysParse,r))?s:-1!==(s=Ot.call(this._shortWeekdaysParse,r))?s:null}var Kt=ht;var te=ht;var ee=ht;function ie(){function t(t,e){return e.length-t.length}var e,i,n,s,o,r=[],a=[],h=[],l=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),s=this.weekdaysShort(i,""),o=this.weekdays(i,""),r.push(n),a.push(s),h.push(o),l.push(n),l.push(s),l.push(o);for(r.sort(t),a.sort(t),h.sort(t),l.sort(t),e=0;e<7;e++)a[e]=ct(a[e]),h[e]=ct(h[e]),l[e]=ct(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ne(){return this.hours()%12||12}function se(t,e){U(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function oe(t,e){return e._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,ne),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+ne.apply(this)+H(this.minutes(),2)}),U("hmmss",0,0,function(){return""+ne.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),se("a",!0),se("A",!1),Y("hour","h"),R("hour",13),dt("a",oe),dt("A",oe),dt("H",Q),dt("h",Q),dt("k",Q),dt("HH",Q,Z),dt("hh",Q,Z),dt("kk",Q,Z),dt("hmm",K),dt("hmmss",tt),dt("Hmm",K),dt("Hmmss",tt),mt(["H","HH"],bt),mt(["k","kk"],function(t,e,i){var n=D(t);e[bt]=24===n?0:n}),mt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),mt(["h","hh"],function(t,e,i){e[bt]=D(t),m(i).bigHour=!0}),mt("hmm",function(t,e,i){var n=t.length-2;e[bt]=D(t.substr(0,n)),e[wt]=D(t.substr(n)),m(i).bigHour=!0}),mt("hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[bt]=D(t.substr(0,n)),e[wt]=D(t.substr(n,2)),e[Dt]=D(t.substr(s)),m(i).bigHour=!0}),mt("Hmm",function(t,e,i){var n=t.length-2;e[bt]=D(t.substr(0,n)),e[wt]=D(t.substr(n))}),mt("Hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[bt]=D(t.substr(0,n)),e[wt]=D(t.substr(n,2)),e[Dt]=D(t.substr(s))});var re,ae=Et("Hours",!0),he={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:It,monthsShort:Rt,week:{dow:0,doy:6},weekdays:Xt,weekdaysMin:Jt,weekdaysShort:$t,meridiemParse:/[ap]\.?m?\.?/i},le={},de={};function ue(t){return t?t.toLowerCase().replace("_","-"):t}function ce(t){var e=null;if(!le[t]&&Ki&&Ki.exports)try{e=re._abbr;var i=tn;i("./locale/"+t),pe(e)}catch(t){}return le[t]}function pe(t,e){var i;return t&&((i=o(e)?fe(t):me(t,e))?re=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),re._abbr}function me(t,e){if(null===e)return delete le[t],null;var i,n=he;if(e.abbr=t,null!=le[t])T("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."),n=le[t]._config;else if(null!=e.parentLocale)if(null!=le[e.parentLocale])n=le[e.parentLocale]._config;else{if(null==(i=ce(e.parentLocale)))return de[e.parentLocale]||(de[e.parentLocale]=[]),de[e.parentLocale].push({name:t,config:e}),null;n=i._config}return le[t]=new E(C(n,e)),de[t]&&de[t].forEach(function(t){me(t.name,t.config)}),pe(t),le[t]}function fe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return re;if(!r(t)){if(e=ce(t))return e;t=[t]}return function(t){var e,i,n,s,o=0;for(;o<t.length;){for(s=ue(t[o]).split("-"),e=s.length,i=(i=ue(t[o+1]))?i.split("-"):null;0<e;){if(n=ce(s.slice(0,e).join("-")))return n;if(i&&i.length>=e&&S(s,i,!0)>=e-1)break;e--}o++}return re}(t)}function ge(t){var e,i=t._a;return i&&-2===m(t).overflow&&(e=i[yt]<0||11<i[yt]?yt:i[_t]<1||i[_t]>Nt(i[vt],i[yt])?_t:i[bt]<0||24<i[bt]||24===i[bt]&&(0!==i[wt]||0!==i[Dt]||0!==i[St])?bt:i[wt]<0||59<i[wt]?wt:i[Dt]<0||59<i[Dt]?Dt:i[St]<0||999<i[St]?St:-1,m(t)._overflowDayOfYear&&(e<vt||_t<e)&&(e=_t),m(t)._overflowWeeks&&-1===e&&(e=kt),m(t)._overflowWeekday&&-1===e&&(e=xt),m(t).overflow=e),t}function ve(t,e,i){return null!=t?t:null!=e?e:i}function ye(t){var e,i,n,s,o,r=[];if(!t._d){for(n=function(t){var e=new Date(l.now());if(t._useUTC)return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()];return[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[yt]&&function(t){var e,i,n,s,o,r,a,h;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,r=4,i=ve(e.GG,t._a[vt],Bt(Ne(),1,4).year),n=ve(e.W,1),((s=ve(e.E,1))<1||7<s)&&(h=!0);else{o=t._locale._week.dow,r=t._locale._week.doy;var l=Bt(Ne(),o,r);i=ve(e.gg,t._a[vt],l.year),n=ve(e.w,l.week),null!=e.d?((s=e.d)<0||6<s)&&(h=!0):null!=e.e?(s=e.e+o,(e.e<0||6<e.e)&&(h=!0)):s=o}n<1||n>qt(i,o,r)?m(t)._overflowWeeks=!0:null!=h?m(t)._overflowWeekday=!0:(a=zt(i,n,s,o,r),t._a[vt]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=ve(t._a[vt],n[vt]),(t._dayOfYear>Mt(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),i=Ut(o,0,t._dayOfYear),t._a[yt]=i.getUTCMonth(),t._a[_t]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=r[e]=n[e];for(;e<7;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[wt]&&0===t._a[Dt]&&0===t._a[St]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Ut:function(t,e,i,n,s,o,r){var a;t<100&&0<=t?(a=new Date(t+400,e,i,n,s,o,r),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,s,o,r);return a}).apply(null,r),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(m(t).weekdayMismatch=!0)}}var _e=/^\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)?)?$/,be=/^\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)?)?$/,we=/Z|[+-]\d\d(?::?\d\d)?/,De=[["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}/]],Se=[["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/]],ke=/^\/?Date\((\-?\d+)/i;function xe(t){var e,i,n,s,o,r,a=t._i,h=_e.exec(a)||be.exec(a);if(h){for(m(t).iso=!0,e=0,i=De.length;e<i;e++)if(De[e][1].exec(h[1])){s=De[e][0],n=!1!==De[e][2];break}if(null==s)return void(t._isValid=!1);if(h[3]){for(e=0,i=Se.length;e<i;e++)if(Se[e][1].exec(h[3])){o=(h[2]||" ")+Se[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(h[4]){if(!we.exec(h[4]))return void(t._isValid=!1);r="Z"}t._f=s+(o||"")+(r||""),Ee(t)}else t._isValid=!1}var Me=/^(?:(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 Te(t,e,i,n,s,o){var r=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),Rt.indexOf(e),parseInt(i,10),parseInt(n,10),parseInt(s,10)];return o&&r.push(parseInt(o,10)),r}var Oe={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ce(t){var e=Me.exec(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(e){var i=Te(e[4],e[3],e[2],e[5],e[6],e[7]);if(!function(t,e,i){if(t){var n=$t.indexOf(t),s=new Date(e[0],e[1],e[2]).getDay();if(n!==s)return m(i).weekdayMismatch=!0,i._isValid=!1}return!0}(e[1],i,t))return;t._a=i,t._tzm=function(t,e,i){{if(t)return Oe[t];if(e)return 0;var n=parseInt(i,10),s=n%100;return 60*((n-s)/100)+s}}(e[8],e[9],e[10]),t._d=Ut.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Ee(t){if(t._f!==l.ISO_8601)if(t._f!==l.RFC_2822){t._a=[],m(t).empty=!0;var e,i,n,s,o,r=""+t._i,a=r.length,h=0;for(n=B(t._f,t._locale).match(F)||[],e=0;e<n.length;e++)s=n[e],(i=(r.match(ut(s,t))||[])[0])&&(0<(o=r.substr(0,r.indexOf(i))).length&&m(t).unusedInput.push(o),r=r.slice(r.indexOf(i)+i.length),h+=i.length),G[s]?(i?m(t).empty=!1:m(t).unusedTokens.push(s),gt(s,i,t)):t._strict&&!i&&m(t).unusedTokens.push(s);m(t).charsLeftOver=a-h,0<r.length&&m(t).unusedInput.push(r),t._a[bt]<=12&&!0===m(t).bigHour&&0<t._a[bt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[bt]=function(t,e,i){var n;if(null==i)return e;return null!=t.meridiemHour?t.meridiemHour(e,i):(null!=t.isPM&&((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0)),e)}(t._locale,t._a[bt],t._meridiem),ye(t),ge(t)}else Ce(t);else xe(t)}function Pe(t){var e=t._i,i=t._f;return t._locale=t._locale||fe(t._l),null===e||void 0===i&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(ge(e)):(d(e)?t._d=e:r(i)?function(t){var e,i,n,s,o;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(s=0;s<t._f.length;s++)o=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[s],Ee(e),f(e)&&(o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,(null==n||o<n)&&(n=o,i=e));c(t,i||e)}(t):i?Ee(t):function(t){var e=t._i;o(e)?t._d=new Date(l.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ke.exec(t._i);if(null!==e)return t._d=new Date(+e[1]);{if(xe(t),!1!==t._isValid)return;delete t._isValid}{if(Ce(t),!1!==t._isValid)return;delete t._isValid}l.createFromInputFallback(t)}(t):r(e)?(t._a=n(e.slice(0),function(t){return parseInt(t,10)}),ye(t)):a(e)?function(t){if(t._d)return;var e=A(t._i);t._a=n([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ye(t)}(t):h(e)?t._d=new Date(e):l.createFromInputFallback(t)}(t),f(t)||(t._d=null),t))}function Ye(t,e,i,n,s){var o={};return!0!==i&&!1!==i||(n=i,i=void 0),(a(t)&&function(t){{if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}}(t)||r(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=s,o._l=i,o._i=t,o._f=e,o._strict=n,function(t){var e=new _(ge(Pe(t)));e._nextDay&&(e.add(1,"d"),e._nextDay=void 0);return e}(o)}function Ne(t,e,i,n){return Ye(t,e,i,n,!1)}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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),l.ISO_8601=function(){},l.RFC_2822=function(){};var Ae=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ne.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Ie=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ne.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:g()});function Re(t,e){var i,n;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Ne();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Le=["year","quarter","month","week","day","hour","minute","second","millisecond"];function He(t){var e=A(t),i=e.year||0,n=e.quarter||0,s=e.month||0,o=e.week||e.isoWeek||0,r=e.day||0,a=e.hour||0,h=e.minute||0,l=e.second||0,d=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Ot.call(Le,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Le.length;++n)if(t[Le[n]]){if(i)return!1;parseFloat(t[Le[n]])!==D(t[Le[n]])&&(i=!0)}return!0}(e),this._milliseconds=+d+1e3*l+6e4*h+1e3*a*60*60,this._days=+r+7*o,this._months=+s+3*n+12*i,this._data={},this._locale=fe(),this._bubble()}function Fe(t){return t instanceof He}function je(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function We(t,i){U(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+H(~~(t/60),2)+i+H(~~t%60,2)})}We("Z",":"),We("ZZ",""),dt("Z",at),dt("ZZ",at),mt(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Ue(at,t)});var Ge=/([\+\-]|\d\d)/gi;function Ue(t,e){var i=(e||"").match(t);if(null===i)return null;var n=i[i.length-1]||[],s=(n+"").match(Ge)||["-",0,0],o=60*s[1]+D(s[2]);return 0===o?0:"+"===s[0]?o:-o}function Ve(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(b(t)||d(t)?t.valueOf():Ne(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),l.updateOffset(i,!1),i):Ne(t).local()}function ze(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Be(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}l.updateOffset=function(){};var qe=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xe(t,e){var i,n,s,o=t,r=null;return Fe(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:h(t)?(o={},e?o[e]=t:o.milliseconds=t):(r=qe.exec(t))?(i="-"===r[1]?-1:1,o={y:0,d:D(r[_t])*i,h:D(r[bt])*i,m:D(r[wt])*i,s:D(r[Dt])*i,ms:D(je(1e3*r[St]))*i}):(r=Ze.exec(t))?(i="-"===r[1]?-1:1,o={y:$e(r[2],i),M:$e(r[3],i),w:$e(r[4],i),d:$e(r[5],i),h:$e(r[6],i),m:$e(r[7],i),s:$e(r[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(s=function(t,e){var i;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ve(e,t),t.isBefore(e)?i=Je(t,e):((i=Je(e,t)).milliseconds=-i.milliseconds,i.months=-i.months);return i}(Ne(o.from),Ne(o.to)),(o={}).ms=s.milliseconds,o.M=s.months),n=new He(o),Fe(t)&&u(t,"_locale")&&(n._locale=t._locale),n}function $e(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Je(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Qe(n,s){return function(t,e){var i;return null===e||isNaN(+e)||(T(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=t,t=e,e=i),Ke(this,Xe(t="string"==typeof t?+t:t,e),n),this}}function Ke(t,e,i,n){var s=e._milliseconds,o=je(e._days),r=je(e._months);t.isValid()&&(n=null==n||n,r&&Ht(t,Pt(t,"Month")+r*i),o&&Yt(t,"Date",Pt(t,"Date")+o*i),s&&t._d.setTime(t._d.valueOf()+s*i),n&&l.updateOffset(t,o||r))}Xe.fn=He.prototype,Xe.invalid=function(){return Xe(NaN)};var ti=Qe(1,"add"),ei=Qe(-1,"subtract");function ii(t,e){var i,n,s=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(s,"months");return n=e-o<0?(i=t.clone().add(s-1,"months"),(e-o)/(o-i)):(i=t.clone().add(1+s,"months"),(e-o)/(i-o)),-(s+n)||0}function ni(t){var e;return void 0===t?this._locale._abbr:(null!=(e=fe(t))&&(this._locale=e),this)}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function oi(){return this._locale}var ri=126227808e5;function ai(t,e){return(t%e+e)%e}function hi(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-ri:new Date(t,e,i).valueOf()}function li(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-ri:Date.UTC(t,e,i)}function di(t,e){U(0,[t,t.length],0,e)}function ui(t,e,i,n,s){var o;return null==t?Bt(this,n,s).year:((o=qt(t,n,s))<e&&(e=o),function(t,e,i,n,s){var o=zt(t,e,i,n,s),r=Ut(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,i,n,s))}U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),di("gggg","weekYear"),di("ggggg","weekYear"),di("GGGG","isoWeekYear"),di("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),dt("G",ot),dt("g",ot),dt("GG",Q,Z),dt("gg",Q,Z),dt("GGGG",it,$),dt("gggg",it,$),dt("GGGGG",nt,J),dt("ggggg",nt,J),ft(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=D(t)}),ft(["gg","GG"],function(t,e,i,n){e[n]=l.parseTwoDigitYear(t)}),U("Q",0,"Qo","quarter"),Y("quarter","Q"),R("quarter",7),dt("Q",q),mt("Q",function(t,e){e[yt]=3*(D(t)-1)}),U("D",["DD",2],"Do","date"),Y("date","D"),R("date",9),dt("D",Q),dt("DD",Q,Z),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],_t),mt("Do",function(t,e){e[_t]=D(t.match(Q)[0])});var ci=Et("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),R("dayOfYear",4),dt("DDD",et),dt("DDDD",X),mt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=D(t)}),U("m",["mm",2],0,"minute"),Y("minute","m"),R("minute",14),dt("m",Q),dt("mm",Q,Z),mt(["m","mm"],wt);var pi=Et("Minutes",!1);U("s",["ss",2],0,"second"),Y("second","s"),R("second",15),dt("s",Q),dt("ss",Q,Z),mt(["s","ss"],Dt);var mi,fi=Et("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),R("millisecond",16),dt("S",et,q),dt("SS",et,Z),dt("SSS",et,X),mi="SSSS";mi.length<=9;mi+="S")dt(mi,st);function gi(t,e){e[St]=D(1e3*("0."+t))}for(mi="S";mi.length<=9;mi+="S")mt(mi,gi);var vi=Et("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var yi=_.prototype;function _i(t){return t}yi.add=ti,yi.calendar=function(t,e){var i=t||Ne(),n=Ve(i,this).startOf("day"),s=l.calendarFormat(this,n)||"sameElse",o=e&&(O(e[s])?e[s].call(this,i):e[s]);return this.format(o||this.localeData().calendar(s,this,Ne(i)))},yi.clone=function(){return new _(this)},yi.diff=function(t,e,i){var n,s,o;if(!this.isValid())return NaN;if(!(n=Ve(t,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),e=N(e)){case"year":o=ii(this,n)/12;break;case"month":o=ii(this,n);break;case"quarter":o=ii(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-s)/864e5;break;case"week":o=(this-n-s)/6048e5;break;default:o=this-n}return i?o:w(o)},yi.endOf=function(t){var e;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?li:hi;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-ai(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-ai(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-ai(e,1e3)-1}return this._d.setTime(e),l.updateOffset(this,!0),this},yi.format=function(t){t=t||(this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var e=z(this,t);return this.localeData().postformat(e)},yi.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ne(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yi.fromNow=function(t){return this.from(Ne(),t)},yi.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ne(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yi.toNow=function(t){return this.to(Ne(),t)},yi.get=function(t){if(O(this[t=N(t)]))return this[t]();return this},yi.invalidAt=function(){return m(this).overflow},yi.isAfter=function(t,e){var i=b(t)?t:Ne(t);if(!this.isValid()||!i.isValid())return!1;return"millisecond"===(e=N(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf()},yi.isBefore=function(t,e){var i=b(t)?t:Ne(t);if(!this.isValid()||!i.isValid())return!1;return"millisecond"===(e=N(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf()},yi.isBetween=function(t,e,i,n){var s=b(t)?t:Ne(t),o=b(e)?e:Ne(e);return!!(this.isValid()&&s.isValid()&&o.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(s,i):!this.isBefore(s,i))&&(")"===n[1]?this.isBefore(o,i):!this.isAfter(o,i)))},yi.isSame=function(t,e){var i,n=b(t)?t:Ne(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=N(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf())},yi.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},yi.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},yi.isValid=function(){return f(this)},yi.lang=si,yi.locale=ni,yi.localeData=oi,yi.max=Ie,yi.min=Ae,yi.parsingFlags=function(){return c({},m(this))},yi.set=function(t,e){if("object"==typeof t)for(var i=L(t=A(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(O(this[t=N(t)]))return this[t](e);return this},yi.startOf=function(t){var e;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?li:hi;switch(t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ai(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=ai(e,6e4);break;case"second":e=this._d.valueOf(),e-=ai(e,1e3)}return this._d.setTime(e),l.updateOffset(this,!0),this},yi.subtract=ei,yi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},yi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},yi.toDate=function(){return new Date(this.valueOf())},yi.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;if(i.year()<0||9999<i.year())return z(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(O(Date.prototype.toISOString))return e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(i,"Z"));return z(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+s)},yi.toJSON=function(){return this.isValid()?this.toISOString():null},yi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yi.unix=function(){return Math.floor(this.valueOf()/1e3)},yi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yi.year=Ct,yi.isLeapYear=function(){return Tt(this.year())},yi.weekYear=function(t){return ui.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yi.isoWeekYear=function(t){return ui.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},yi.quarter=yi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},yi.month=Ft,yi.daysInMonth=function(){return Nt(this.year(),this.month())},yi.week=yi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},yi.isoWeek=yi.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},yi.weeksInYear=function(){var t=this.localeData()._week;return qt(this.year(),t.dow,t.doy)},yi.isoWeeksInYear=function(){return qt(this.year(),1,4)},yi.date=ci,yi.day=yi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(i=t,n=this.localeData(),t="string"==typeof i?isNaN(i)?"number"!=typeof(i=n.weekdaysParse(i))?null:i:parseInt(i,10):i,this.add(t-e,"d")):e;var i,n},yi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},yi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this.day()||7;var e=(i=t,n=this.localeData(),"string"!=typeof i?isNaN(i)?null:i:n.weekdaysParse(i)%7||7);return this.day(this.day()%7?e:e-7)}var i,n},yi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},yi.hour=yi.hours=ae,yi.minute=yi.minutes=pi,yi.second=yi.seconds=fi,yi.millisecond=yi.milliseconds=vi,yi.utcOffset=function(t,e,i){var n,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this._isUTC?s:ze(this);if("string"==typeof t){if(null===(t=Ue(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=ze(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==t&&(!e||this._changeInProgress?Ke(this,Xe(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}},yi.utc=function(t){return this.utcOffset(0,t)},yi.local=function(t){this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ze(this),"m"));return this},yi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ue(rt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},yi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ne(t).utcOffset():0,(this.utcOffset()-t)%60==0)},yi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yi.isLocal=function(){return!!this.isValid()&&!this._isUTC},yi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yi.isUtc=Be,yi.isUTC=Be,yi.zoneAbbr=function(){return this._isUTC?"UTC":""},yi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yi.dates=t("dates accessor is deprecated. Use date instead.",ci),yi.months=t("months accessor is deprecated. Use month instead",Ft),yi.years=t("years accessor is deprecated. Use year instead",Ct),yi.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),yi.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=Pe(t))._a){var e=t._isUTC?p(t._a):Ne(t._a);this._isDSTShifted=this.isValid()&&0<S(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var bi=E.prototype;function wi(t,e,i,n){var s=fe(),o=p().set(n,e);return s[i](o,t)}function Di(t,e,i){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return wi(t,e,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=wi(t,n,i,"month");return s}function Si(t,e,i,n){e=("boolean"==typeof t?h(e)&&(i=e,e=void 0):(e=t,t=!1,h(i=e)&&(i=e,e=void 0)),e||"");var s,o=fe(),r=t?o._week.dow:0;if(null!=i)return wi(e,(i+r)%7,n,"day");var a=[];for(s=0;s<7;s++)a[s]=wi(e,(s+r)%7,n,"day");return a}bi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return O(n)?n.call(e,i):n},bi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return!e&&i?(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]):e},bi.invalidDate=function(){return this._invalidDate},bi.ordinal=function(t){return this._ordinal.replace("%d",t)},bi.preparse=_i,bi.postformat=_i,bi.relativeTime=function(t,e,i,n){var s=this._relativeTime[i];return O(s)?s(t,e,i,n):s.replace(/%d/i,t)},bi.pastFuture=function(t,e){var i=this._relativeTime[0<t?"future":"past"];return O(i)?i(e):i.replace(/%s/i,e)},bi.set=function(t){var e,i;for(i in t)O(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bi.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||At).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},bi.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[At.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bi.monthsParse=function(t,e,i){var n,s,o;if(this._monthsParseExact)return Lt.call(this,t,e,i);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(n=0;n<12;n++){if(s=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},bi.monthsRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Gt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Wt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},bi.monthsShortRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Gt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=jt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},bi.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},bi.firstDayOfYear=function(){return this._week.doy},bi.firstDayOfWeek=function(){return this._week.dow},bi.weekdays=function(t,e){var i=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Zt(i,this._week.dow):t?i[t.day()]:i},bi.weekdaysMin=function(t){return!0===t?Zt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},bi.weekdaysShort=function(t){return!0===t?Zt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},bi.weekdaysParse=function(t,e,i){var n,s,o;if(this._weekdaysParseExact)return Qt.call(this,t,e,i);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]);for(n=0;n<7;n++){if(s=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},bi.weekdaysRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||ie.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Kt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},bi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||ie.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||ie.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},bi.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},pe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,i=1===D(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th";return t+i}}),l.lang=t("moment.lang is deprecated. Use moment.locale instead.",pe),l.langData=t("moment.langData is deprecated. Use moment.localeData instead.",fe);var ki=Math.abs;function xi(t,e,i,n){var s=Xe(e,i);return t._milliseconds+=n*s._milliseconds,t._days+=n*s._days,t._months+=n*s._months,t._bubble()}function Mi(t){return t<0?Math.floor(t):Math.ceil(t)}function Ti(t){return 4800*t/146097}function Oi(t){return 146097*t/4800}function Ci(t){return function(){return this.as(t)}}var Ei=Ci("ms"),Pi=Ci("s"),Yi=Ci("m"),Ni=Ci("h"),Ai=Ci("d"),Ii=Ci("w"),Ri=Ci("M"),Li=Ci("Q"),Hi