moment.js 68 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631
  1. ! function (e, t) {
  2. "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : e.moment = t()
  3. }(this, function () {
  4. "use strict";
  5. var e, i;
  6. function c() {
  7. return e.apply(null, arguments)
  8. }
  9. function o(e) {
  10. return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e)
  11. }
  12. function u(e) {
  13. return null != e && "[object Object]" === Object.prototype.toString.call(e)
  14. }
  15. function l(e) {
  16. return void 0 === e
  17. }
  18. function h(e) {
  19. return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e)
  20. }
  21. function d(e) {
  22. return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
  23. }
  24. function f(e, t) {
  25. var n, s = [];
  26. for (n = 0; n < e.length; ++n) s.push(t(e[n], n));
  27. return s
  28. }
  29. function m(e, t) {
  30. return Object.prototype.hasOwnProperty.call(e, t)
  31. }
  32. function _(e, t) {
  33. for (var n in t) m(t, n) && (e[n] = t[n]);
  34. return m(t, "toString") && (e.toString = t.toString), m(t, "valueOf") && (e.valueOf = t.valueOf), e
  35. }
  36. function y(e, t, n, s) {
  37. return Tt(e, t, n, s, !0).utc()
  38. }
  39. function g(e) {
  40. return null == e._pf && (e._pf = {
  41. empty: !1,
  42. unusedTokens: [],
  43. unusedInput: [],
  44. overflow: -2,
  45. charsLeftOver: 0,
  46. nullInput: !1,
  47. invalidMonth: null,
  48. invalidFormat: !1,
  49. userInvalidated: !1,
  50. iso: !1,
  51. parsedDateParts: [],
  52. meridiem: null,
  53. rfc2822: !1,
  54. weekdayMismatch: !1
  55. }), e._pf
  56. }
  57. function v(e) {
  58. if (null == e._isValid) {
  59. var t = g(e),
  60. n = i.call(t.parsedDateParts, function (e) {
  61. return null != e
  62. }),
  63. s = !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);
  64. if (e._strict && (s = s && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return s;
  65. e._isValid = s
  66. }
  67. return e._isValid
  68. }
  69. function p(e) {
  70. var t = y(NaN);
  71. return null != e ? _(g(t), e) : g(t).userInvalidated = !0, t
  72. }
  73. i = Array.prototype.some ? Array.prototype.some : function (e) {
  74. for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++)
  75. if (s in t && e.call(this, t[s], s, t)) return !0;
  76. return !1
  77. };
  78. var r = c.momentProperties = [];
  79. function w(e, t) {
  80. var n, s, i;
  81. if (l(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), l(t._i) || (e._i = t._i), l(t._f) || (e._f = t._f), l(t._l) || (e._l = t._l), l(t._strict) || (e._strict = t._strict), l(t._tzm) || (e._tzm = t._tzm), l(t._isUTC) || (e._isUTC = t._isUTC), l(t._offset) || (e._offset = t._offset), l(t._pf) || (e._pf = g(t)), l(t._locale) || (e._locale = t._locale), 0 < r.length)
  82. for (n = 0; n < r.length; n++) l(i = t[s = r[n]]) || (e[s] = i);
  83. return e
  84. }
  85. var t = !1;
  86. function M(e) {
  87. w(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === t && (t = !0, c.updateOffset(this), t = !1)
  88. }
  89. function k(e) {
  90. return e instanceof M || null != e && null != e._isAMomentObject
  91. }
  92. function S(e) {
  93. return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
  94. }
  95. function D(e) {
  96. var t = +e,
  97. n = 0;
  98. return 0 !== t && isFinite(t) && (n = S(t)), n
  99. }
  100. function a(e, t, n) {
  101. var s, i = Math.min(e.length, t.length),
  102. r = Math.abs(e.length - t.length),
  103. a = 0;
  104. for (s = 0; s < i; s++)(n && e[s] !== t[s] || !n && D(e[s]) !== D(t[s])) && a++;
  105. return a + r
  106. }
  107. function Y(e) {
  108. !1 === c.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e)
  109. }
  110. function n(i, r) {
  111. var a = !0;
  112. return _(function () {
  113. if (null != c.deprecationHandler && c.deprecationHandler(null, i), a) {
  114. for (var e, t = [], n = 0; n < arguments.length; n++) {
  115. if (e = "", "object" == typeof arguments[n]) {
  116. for (var s in e += "\n[" + n + "] ", arguments[0]) e += s + ": " + arguments[0][s] + ", ";
  117. e = e.slice(0, -2)
  118. } else e = arguments[n];
  119. t.push(e)
  120. }
  121. Y(i + "\nArguments: " + Array.prototype.slice.call(t).join("") + "\n" + (new Error).stack), a = !1
  122. }
  123. return r.apply(this, arguments)
  124. }, r)
  125. }
  126. var s, O = {};
  127. function T(e, t) {
  128. null != c.deprecationHandler && c.deprecationHandler(e, t), O[e] || (Y(t), O[e] = !0)
  129. }
  130. function b(e) {
  131. return e instanceof Function || "[object Function]" === Object.prototype.toString.call(e)
  132. }
  133. function x(e, t) {
  134. var n, s = _({}, e);
  135. for (n in t) m(t, n) && (u(e[n]) && u(t[n]) ? (s[n] = {}, _(s[n], e[n]), _(s[n], t[n])) : null != t[n] ? s[n] = t[n] : delete s[n]);
  136. for (n in e) m(e, n) && !m(t, n) && u(e[n]) && (s[n] = _({}, s[n]));
  137. return s
  138. }
  139. function P(e) {
  140. null != e && this.set(e)
  141. }
  142. c.suppressDeprecationWarnings = !1, c.deprecationHandler = null, s = Object.keys ? Object.keys : function (e) {
  143. var t, n = [];
  144. for (t in e) m(e, t) && n.push(t);
  145. return n
  146. };
  147. var W = {};
  148. function C(e, t) {
  149. var n = e.toLowerCase();
  150. W[n] = W[n + "s"] = W[t] = e
  151. }
  152. function H(e) {
  153. return "string" == typeof e ? W[e] || W[e.toLowerCase()] : void 0
  154. }
  155. function R(e) {
  156. var t, n, s = {};
  157. for (n in e) m(e, n) && (t = H(n)) && (s[t] = e[n]);
  158. return s
  159. }
  160. var U = {};
  161. function F(e, t) {
  162. U[e] = t
  163. }
  164. function L(e, t, n) {
  165. var s = "" + Math.abs(e),
  166. i = t - s.length;
  167. return (0 <= e ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, i)).toString().substr(1) + s
  168. }
  169. var N = /(\[[^\[]*\])|(\\)?([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,
  170. G = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
  171. V = {},
  172. E = {};
  173. function I(e, t, n, s) {
  174. var i = s;
  175. "string" == typeof s && (i = function () {
  176. return this[s]()
  177. }), e && (E[e] = i), t && (E[t[0]] = function () {
  178. return L(i.apply(this, arguments), t[1], t[2])
  179. }), n && (E[n] = function () {
  180. return this.localeData().ordinal(i.apply(this, arguments), e)
  181. })
  182. }
  183. function A(e, t) {
  184. return e.isValid() ? (t = j(t, e.localeData()), V[t] = V[t] || function (s) {
  185. var e, i, t, r = s.match(N);
  186. for (e = 0, i = r.length; e < i; e++) E[r[e]] ? r[e] = E[r[e]] : r[e] = (t = r[e]).match(/\[[\s\S]/) ? t.replace(/^\[|\]$/g, "") : t.replace(/\\/g, "");
  187. return function (e) {
  188. var t, n = "";
  189. for (t = 0; t < i; t++) n += b(r[t]) ? r[t].call(e, s) : r[t];
  190. return n
  191. }
  192. }(t), V[t](e)) : e.localeData().invalidDate()
  193. }
  194. function j(e, t) {
  195. var n = 5;
  196. function s(e) {
  197. return t.longDateFormat(e) || e
  198. }
  199. for (G.lastIndex = 0; 0 <= n && G.test(e);) e = e.replace(G, s), G.lastIndex = 0, n -= 1;
  200. return e
  201. }
  202. var Z = /\d/,
  203. z = /\d\d/,
  204. $ = /\d{3}/,
  205. q = /\d{4}/,
  206. J = /[+-]?\d{6}/,
  207. B = /\d\d?/,
  208. Q = /\d\d\d\d?/,
  209. X = /\d\d\d\d\d\d?/,
  210. K = /\d{1,3}/,
  211. ee = /\d{1,4}/,
  212. te = /[+-]?\d{1,6}/,
  213. ne = /\d+/,
  214. se = /[+-]?\d+/,
  215. ie = /Z|[+-]\d\d:?\d\d/gi,
  216. re = /Z|[+-]\d\d(?::?\d\d)?/gi,
  217. ae = /[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,
  218. oe = {};
  219. function ue(e, n, s) {
  220. oe[e] = b(n) ? n : function (e, t) {
  221. return e && s ? s : n
  222. }
  223. }
  224. function le(e, t) {
  225. return m(oe, e) ? oe[e](t._strict, t._locale) : new RegExp(he(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (e, t, n, s, i) {
  226. return t || n || s || i
  227. })))
  228. }
  229. function he(e) {
  230. return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
  231. }
  232. var de = {};
  233. function ce(e, n) {
  234. var t, s = n;
  235. for ("string" == typeof e && (e = [e]), h(n) && (s = function (e, t) {
  236. t[n] = D(e)
  237. }), t = 0; t < e.length; t++) de[e[t]] = s
  238. }
  239. function fe(e, i) {
  240. ce(e, function (e, t, n, s) {
  241. n._w = n._w || {}, i(e, n._w, n, s)
  242. })
  243. }
  244. var me = 0,
  245. _e = 1,
  246. ye = 2,
  247. ge = 3,
  248. ve = 4,
  249. pe = 5,
  250. we = 6,
  251. Me = 7,
  252. ke = 8;
  253. function Se(e) {
  254. return De(e) ? 366 : 365
  255. }
  256. function De(e) {
  257. return e % 4 == 0 && e % 100 != 0 || e % 400 == 0
  258. }
  259. I("Y", 0, 0, function () {
  260. var e = this.year();
  261. return e <= 9999 ? "" + e : "+" + e
  262. }), I(0, ["YY", 2], 0, function () {
  263. return this.year() % 100
  264. }), I(0, ["YYYY", 4], 0, "year"), I(0, ["YYYYY", 5], 0, "year"), I(0, ["YYYYYY", 6, !0], 0, "year"), C("year", "y"), F("year", 1), ue("Y", se), ue("YY", B, z), ue("YYYY", ee, q), ue("YYYYY", te, J), ue("YYYYYY", te, J), ce(["YYYYY", "YYYYYY"], me), ce("YYYY", function (e, t) {
  265. t[me] = 2 === e.length ? c.parseTwoDigitYear(e) : D(e)
  266. }), ce("YY", function (e, t) {
  267. t[me] = c.parseTwoDigitYear(e)
  268. }), ce("Y", function (e, t) {
  269. t[me] = parseInt(e, 10)
  270. }), c.parseTwoDigitYear = function (e) {
  271. return D(e) + (68 < D(e) ? 1900 : 2e3)
  272. };
  273. var Ye, Oe = Te("FullYear", !0);
  274. function Te(t, n) {
  275. return function (e) {
  276. return null != e ? (xe(this, t, e), c.updateOffset(this, n), this) : be(this, t)
  277. }
  278. }
  279. function be(e, t) {
  280. return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN
  281. }
  282. function xe(e, t, n) {
  283. e.isValid() && !isNaN(n) && ("FullYear" === t && De(e.year()) && 1 === e.month() && 29 === e.date() ? e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), Pe(n, e.month())) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n))
  284. }
  285. function Pe(e, t) {
  286. if (isNaN(e) || isNaN(t)) return NaN;
  287. var n, s = (t % (n = 12) + n) % n;
  288. return e += (t - s) / 12, 1 === s ? De(e) ? 29 : 28 : 31 - s % 7 % 2
  289. }
  290. Ye = Array.prototype.indexOf ? Array.prototype.indexOf : function (e) {
  291. var t;
  292. for (t = 0; t < this.length; ++t)
  293. if (this[t] === e) return t;
  294. return -1
  295. }, I("M", ["MM", 2], "Mo", function () {
  296. return this.month() + 1
  297. }), I("MMM", 0, 0, function (e) {
  298. return this.localeData().monthsShort(this, e)
  299. }), I("MMMM", 0, 0, function (e) {
  300. return this.localeData().months(this, e)
  301. }), C("month", "M"), F("month", 8), ue("M", B), ue("MM", B, z), ue("MMM", function (e, t) {
  302. return t.monthsShortRegex(e)
  303. }), ue("MMMM", function (e, t) {
  304. return t.monthsRegex(e)
  305. }), ce(["M", "MM"], function (e, t) {
  306. t[_e] = D(e) - 1
  307. }), ce(["MMM", "MMMM"], function (e, t, n, s) {
  308. var i = n._locale.monthsParse(e, s, n._strict);
  309. null != i ? t[_e] = i : g(n).invalidMonth = e
  310. });
  311. var We = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
  312. Ce = "January_February_March_April_May_June_July_August_September_October_November_December".split("_");
  313. var He = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");
  314. function Re(e, t) {
  315. var n;
  316. if (!e.isValid()) return e;
  317. if ("string" == typeof t)
  318. if (/^\d+$/.test(t)) t = D(t);
  319. else if (!h(t = e.localeData().monthsParse(t))) return e;
  320. return n = Math.min(e.date(), Pe(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e
  321. }
  322. function Ue(e) {
  323. return null != e ? (Re(this, e), c.updateOffset(this, !0), this) : be(this, "Month")
  324. }
  325. var Fe = ae;
  326. var Le = ae;
  327. function Ne() {
  328. function e(e, t) {
  329. return t.length - e.length
  330. }
  331. var t, n, s = [],
  332. i = [],
  333. r = [];
  334. for (t = 0; t < 12; t++) n = y([2e3, t]), s.push(this.monthsShort(n, "")), i.push(this.months(n, "")), r.push(this.months(n, "")), r.push(this.monthsShort(n, ""));
  335. for (s.sort(e), i.sort(e), r.sort(e), t = 0; t < 12; t++) s[t] = he(s[t]), i[t] = he(i[t]);
  336. for (t = 0; t < 24; t++) r[t] = he(r[t]);
  337. this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i")
  338. }
  339. function Ge(e) {
  340. var t;
  341. if (e < 100 && 0 <= e) {
  342. var n = Array.prototype.slice.call(arguments);
  343. n[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)
  344. } else t = new Date(Date.UTC.apply(null, arguments));
  345. return t
  346. }
  347. function Ve(e, t, n) {
  348. var s = 7 + t - n;
  349. return -((7 + Ge(e, 0, s).getUTCDay() - t) % 7) + s - 1
  350. }
  351. function Ee(e, t, n, s, i) {
  352. var r, a, o = 1 + 7 * (t - 1) + (7 + n - s) % 7 + Ve(e, s, i);
  353. return a = o <= 0 ? Se(r = e - 1) + o : o > Se(e) ? (r = e + 1, o - Se(e)) : (r = e, o), {
  354. year: r,
  355. dayOfYear: a
  356. }
  357. }
  358. function Ie(e, t, n) {
  359. var s, i, r = Ve(e.year(), t, n),
  360. a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1;
  361. return a < 1 ? s = a + Ae(i = e.year() - 1, t, n) : a > Ae(e.year(), t, n) ? (s = a - Ae(e.year(), t, n), i = e.year() + 1) : (i = e.year(), s = a), {
  362. week: s,
  363. year: i
  364. }
  365. }
  366. function Ae(e, t, n) {
  367. var s = Ve(e, t, n),
  368. i = Ve(e + 1, t, n);
  369. return (Se(e) - s + i) / 7
  370. }
  371. I("w", ["ww", 2], "wo", "week"), I("W", ["WW", 2], "Wo", "isoWeek"), C("week", "w"), C("isoWeek", "W"), F("week", 5), F("isoWeek", 5), ue("w", B), ue("ww", B, z), ue("W", B), ue("WW", B, z), fe(["w", "ww", "W", "WW"], function (e, t, n, s) {
  372. t[s.substr(0, 1)] = D(e)
  373. });
  374. function je(e, t) {
  375. return e.slice(t, 7).concat(e.slice(0, t))
  376. }
  377. I("d", 0, "do", "day"), I("dd", 0, 0, function (e) {
  378. return this.localeData().weekdaysMin(this, e)
  379. }), I("ddd", 0, 0, function (e) {
  380. return this.localeData().weekdaysShort(this, e)
  381. }), I("dddd", 0, 0, function (e) {
  382. return this.localeData().weekdays(this, e)
  383. }), I("e", 0, 0, "weekday"), I("E", 0, 0, "isoWeekday"), C("day", "d"), C("weekday", "e"), C("isoWeekday", "E"), F("day", 11), F("weekday", 11), F("isoWeekday", 11), ue("d", B), ue("e", B), ue("E", B), ue("dd", function (e, t) {
  384. return t.weekdaysMinRegex(e)
  385. }), ue("ddd", function (e, t) {
  386. return t.weekdaysShortRegex(e)
  387. }), ue("dddd", function (e, t) {
  388. return t.weekdaysRegex(e)
  389. }), fe(["dd", "ddd", "dddd"], function (e, t, n, s) {
  390. var i = n._locale.weekdaysParse(e, s, n._strict);
  391. null != i ? t.d = i : g(n).invalidWeekday = e
  392. }), fe(["d", "e", "E"], function (e, t, n, s) {
  393. t[s] = D(e)
  394. });
  395. var Ze = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");
  396. var ze = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");
  397. var $e = "Su_Mo_Tu_We_Th_Fr_Sa".split("_");
  398. var qe = ae;
  399. var Je = ae;
  400. var Be = ae;
  401. function Qe() {
  402. function e(e, t) {
  403. return t.length - e.length
  404. }
  405. var t, n, s, i, r, a = [],
  406. o = [],
  407. u = [],
  408. l = [];
  409. for (t = 0; t < 7; t++) n = y([2e3, 1]).day(t), s = this.weekdaysMin(n, ""), i = this.weekdaysShort(n, ""), r = this.weekdays(n, ""), a.push(s), o.push(i), u.push(r), l.push(s), l.push(i), l.push(r);
  410. for (a.sort(e), o.sort(e), u.sort(e), l.sort(e), t = 0; t < 7; t++) o[t] = he(o[t]), u[t] = he(u[t]), l[t] = he(l[t]);
  411. this._weekdaysRegex = new RegExp("^(" + l.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + u.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + o.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + a.join("|") + ")", "i")
  412. }
  413. function Xe() {
  414. return this.hours() % 12 || 12
  415. }
  416. function Ke(e, t) {
  417. I(e, 0, 0, function () {
  418. return this.localeData().meridiem(this.hours(), this.minutes(), t)
  419. })
  420. }
  421. function et(e, t) {
  422. return t._meridiemParse
  423. }
  424. I("H", ["HH", 2], 0, "hour"), I("h", ["hh", 2], 0, Xe), I("k", ["kk", 2], 0, function () {
  425. return this.hours() || 24
  426. }), I("hmm", 0, 0, function () {
  427. return "" + Xe.apply(this) + L(this.minutes(), 2)
  428. }), I("hmmss", 0, 0, function () {
  429. return "" + Xe.apply(this) + L(this.minutes(), 2) + L(this.seconds(), 2)
  430. }), I("Hmm", 0, 0, function () {
  431. return "" + this.hours() + L(this.minutes(), 2)
  432. }), I("Hmmss", 0, 0, function () {
  433. return "" + this.hours() + L(this.minutes(), 2) + L(this.seconds(), 2)
  434. }), Ke("a", !0), Ke("A", !1), C("hour", "h"), F("hour", 13), ue("a", et), ue("A", et), ue("H", B), ue("h", B), ue("k", B), ue("HH", B, z), ue("hh", B, z), ue("kk", B, z), ue("hmm", Q), ue("hmmss", X), ue("Hmm", Q), ue("Hmmss", X), ce(["H", "HH"], ge), ce(["k", "kk"], function (e, t, n) {
  435. var s = D(e);
  436. t[ge] = 24 === s ? 0 : s
  437. }), ce(["a", "A"], function (e, t, n) {
  438. n._isPm = n._locale.isPM(e), n._meridiem = e
  439. }), ce(["h", "hh"], function (e, t, n) {
  440. t[ge] = D(e), g(n).bigHour = !0
  441. }), ce("hmm", function (e, t, n) {
  442. var s = e.length - 2;
  443. t[ge] = D(e.substr(0, s)), t[ve] = D(e.substr(s)), g(n).bigHour = !0
  444. }), ce("hmmss", function (e, t, n) {
  445. var s = e.length - 4,
  446. i = e.length - 2;
  447. t[ge] = D(e.substr(0, s)), t[ve] = D(e.substr(s, 2)), t[pe] = D(e.substr(i)), g(n).bigHour = !0
  448. }), ce("Hmm", function (e, t, n) {
  449. var s = e.length - 2;
  450. t[ge] = D(e.substr(0, s)), t[ve] = D(e.substr(s))
  451. }), ce("Hmmss", function (e, t, n) {
  452. var s = e.length - 4,
  453. i = e.length - 2;
  454. t[ge] = D(e.substr(0, s)), t[ve] = D(e.substr(s, 2)), t[pe] = D(e.substr(i))
  455. });
  456. var tt, nt = Te("Hours", !0),
  457. st = {
  458. calendar: {
  459. sameDay: "[Today at] LT",
  460. nextDay: "[Tomorrow at] LT",
  461. nextWeek: "dddd [at] LT",
  462. lastDay: "[Yesterday at] LT",
  463. lastWeek: "[Last] dddd [at] LT",
  464. sameElse: "L"
  465. },
  466. longDateFormat: {
  467. LTS: "h:mm:ss A",
  468. LT: "h:mm A",
  469. L: "MM/DD/YYYY",
  470. LL: "MMMM D, YYYY",
  471. LLL: "MMMM D, YYYY h:mm A",
  472. LLLL: "dddd, MMMM D, YYYY h:mm A"
  473. },
  474. invalidDate: "Invalid date",
  475. ordinal: "%d",
  476. dayOfMonthOrdinalParse: /\d{1,2}/,
  477. relativeTime: {
  478. future: "in %s",
  479. past: "%s ago",
  480. s: "a few seconds",
  481. ss: "%d seconds",
  482. m: "a minute",
  483. mm: "%d minutes",
  484. h: "an hour",
  485. hh: "%d hours",
  486. d: "a day",
  487. dd: "%d days",
  488. M: "a month",
  489. MM: "%d months",
  490. y: "a year",
  491. yy: "%d years"
  492. },
  493. months: Ce,
  494. monthsShort: He,
  495. week: {
  496. dow: 0,
  497. doy: 6
  498. },
  499. weekdays: Ze,
  500. weekdaysMin: $e,
  501. weekdaysShort: ze,
  502. meridiemParse: /[ap]\.?m?\.?/i
  503. },
  504. it = {},
  505. rt = {};
  506. function at(e) {
  507. return e ? e.toLowerCase().replace("_", "-") : e
  508. }
  509. function ot(e) {
  510. var t = null;
  511. if (!it[e] && "undefined" != typeof module && module && module.exports) try {
  512. t = tt._abbr, require("./locale/" + e), ut(t)
  513. } catch (e) {}
  514. return it[e]
  515. }
  516. function ut(e, t) {
  517. var n;
  518. return e && ((n = l(t) ? ht(e) : lt(e, t)) ? tt = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), tt._abbr
  519. }
  520. function lt(e, t) {
  521. if (null === t) return delete it[e], null;
  522. var n, s = st;
  523. if (t.abbr = e, null != it[e]) 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."), s = it[e]._config;
  524. else if (null != t.parentLocale)
  525. if (null != it[t.parentLocale]) s = it[t.parentLocale]._config;
  526. else {
  527. if (null == (n = ot(t.parentLocale))) return rt[t.parentLocale] || (rt[t.parentLocale] = []), rt[t.parentLocale].push({
  528. name: e,
  529. config: t
  530. }), null;
  531. s = n._config
  532. } return it[e] = new P(x(s, t)), rt[e] && rt[e].forEach(function (e) {
  533. lt(e.name, e.config)
  534. }), ut(e), it[e]
  535. }
  536. function ht(e) {
  537. var t;
  538. if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return tt;
  539. if (!o(e)) {
  540. if (t = ot(e)) return t;
  541. e = [e]
  542. }
  543. return function (e) {
  544. for (var t, n, s, i, r = 0; r < e.length;) {
  545. for (t = (i = at(e[r]).split("-")).length, n = (n = at(e[r + 1])) ? n.split("-") : null; 0 < t;) {
  546. if (s = ot(i.slice(0, t).join("-"))) return s;
  547. if (n && n.length >= t && a(i, n, !0) >= t - 1) break;
  548. t--
  549. }
  550. r++
  551. }
  552. return tt
  553. }(e)
  554. }
  555. function dt(e) {
  556. var t, n = e._a;
  557. return n && -2 === g(e).overflow && (t = n[_e] < 0 || 11 < n[_e] ? _e : n[ye] < 1 || n[ye] > Pe(n[me], n[_e]) ? ye : n[ge] < 0 || 24 < n[ge] || 24 === n[ge] && (0 !== n[ve] || 0 !== n[pe] || 0 !== n[we]) ? ge : n[ve] < 0 || 59 < n[ve] ? ve : n[pe] < 0 || 59 < n[pe] ? pe : n[we] < 0 || 999 < n[we] ? we : -1, g(e)._overflowDayOfYear && (t < me || ye < t) && (t = ye), g(e)._overflowWeeks && -1 === t && (t = Me), g(e)._overflowWeekday && -1 === t && (t = ke), g(e).overflow = t), e
  558. }
  559. function ct(e, t, n) {
  560. return null != e ? e : null != t ? t : n
  561. }
  562. function ft(e) {
  563. var t, n, s, i, r, a = [];
  564. if (!e._d) {
  565. var o, u;
  566. for (o = e, u = new Date(c.now()), s = o._useUTC ? [u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()] : [u.getFullYear(), u.getMonth(), u.getDate()], e._w && null == e._a[ye] && null == e._a[_e] && function (e) {
  567. var t, n, s, i, r, a, o, u;
  568. if (null != (t = e._w).GG || null != t.W || null != t.E) r = 1, a = 4, n = ct(t.GG, e._a[me], Ie(bt(), 1, 4).year), s = ct(t.W, 1), ((i = ct(t.E, 1)) < 1 || 7 < i) && (u = !0);
  569. else {
  570. r = e._locale._week.dow, a = e._locale._week.doy;
  571. var l = Ie(bt(), r, a);
  572. n = ct(t.gg, e._a[me], l.year), s = ct(t.w, l.week), null != t.d ? ((i = t.d) < 0 || 6 < i) && (u = !0) : null != t.e ? (i = t.e + r, (t.e < 0 || 6 < t.e) && (u = !0)) : i = r
  573. }
  574. s < 1 || s > Ae(n, r, a) ? g(e)._overflowWeeks = !0 : null != u ? g(e)._overflowWeekday = !0 : (o = Ee(n, s, i, r, a), e._a[me] = o.year, e._dayOfYear = o.dayOfYear)
  575. }(e), null != e._dayOfYear && (r = ct(e._a[me], s[me]), (e._dayOfYear > Se(r) || 0 === e._dayOfYear) && (g(e)._overflowDayOfYear = !0), n = Ge(r, 0, e._dayOfYear), e._a[_e] = n.getUTCMonth(), e._a[ye] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = a[t] = s[t];
  576. for (; t < 7; t++) e._a[t] = a[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t];
  577. 24 === e._a[ge] && 0 === e._a[ve] && 0 === e._a[pe] && 0 === e._a[we] && (e._nextDay = !0, e._a[ge] = 0), e._d = (e._useUTC ? Ge : function (e, t, n, s, i, r, a) {
  578. var o;
  579. return e < 100 && 0 <= e ? (o = new Date(e + 400, t, n, s, i, r, a), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, n, s, i, r, a), o
  580. }).apply(null, a), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[ge] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (g(e).weekdayMismatch = !0)
  581. }
  582. }
  583. var mt = /^\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)?)?$/,
  584. _t = /^\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)?)?$/,
  585. yt = /Z|[+-]\d\d(?::?\d\d)?/,
  586. gt = [
  587. ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
  588. ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
  589. ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
  590. ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
  591. ["YYYY-DDD", /\d{4}-\d{3}/],
  592. ["YYYY-MM", /\d{4}-\d\d/, !1],
  593. ["YYYYYYMMDD", /[+-]\d{10}/],
  594. ["YYYYMMDD", /\d{8}/],
  595. ["GGGG[W]WWE", /\d{4}W\d{3}/],
  596. ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
  597. ["YYYYDDD", /\d{7}/]
  598. ],
  599. vt = [
  600. ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
  601. ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
  602. ["HH:mm:ss", /\d\d:\d\d:\d\d/],
  603. ["HH:mm", /\d\d:\d\d/],
  604. ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
  605. ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
  606. ["HHmmss", /\d\d\d\d\d\d/],
  607. ["HHmm", /\d\d\d\d/],
  608. ["HH", /\d\d/]
  609. ],
  610. pt = /^\/?Date\((\-?\d+)/i;
  611. function wt(e) {
  612. var t, n, s, i, r, a, o = e._i,
  613. u = mt.exec(o) || _t.exec(o);
  614. if (u) {
  615. for (g(e).iso = !0, t = 0, n = gt.length; t < n; t++)
  616. if (gt[t][1].exec(u[1])) {
  617. i = gt[t][0], s = !1 !== gt[t][2];
  618. break
  619. } if (null == i) return void(e._isValid = !1);
  620. if (u[3]) {
  621. for (t = 0, n = vt.length; t < n; t++)
  622. if (vt[t][1].exec(u[3])) {
  623. r = (u[2] || " ") + vt[t][0];
  624. break
  625. } if (null == r) return void(e._isValid = !1)
  626. }
  627. if (!s && null != r) return void(e._isValid = !1);
  628. if (u[4]) {
  629. if (!yt.exec(u[4])) return void(e._isValid = !1);
  630. a = "Z"
  631. }
  632. e._f = i + (r || "") + (a || ""), Yt(e)
  633. } else e._isValid = !1
  634. }
  635. var Mt = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;
  636. function kt(e, t, n, s, i, r) {
  637. var a = [function (e) {
  638. var t = parseInt(e, 10); {
  639. if (t <= 49) return 2e3 + t;
  640. if (t <= 999) return 1900 + t
  641. }
  642. return t
  643. }(e), He.indexOf(t), parseInt(n, 10), parseInt(s, 10), parseInt(i, 10)];
  644. return r && a.push(parseInt(r, 10)), a
  645. }
  646. var St = {
  647. UT: 0,
  648. GMT: 0,
  649. EDT: -240,
  650. EST: -300,
  651. CDT: -300,
  652. CST: -360,
  653. MDT: -360,
  654. MST: -420,
  655. PDT: -420,
  656. PST: -480
  657. };
  658. function Dt(e) {
  659. var t, n, s, i = Mt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, ""));
  660. if (i) {
  661. var r = kt(i[4], i[3], i[2], i[5], i[6], i[7]);
  662. if (t = i[1], n = r, s = e, t && ze.indexOf(t) !== new Date(n[0], n[1], n[2]).getDay() && (g(s).weekdayMismatch = !0, !(s._isValid = !1))) return;
  663. e._a = r, e._tzm = function (e, t, n) {
  664. if (e) return St[e];
  665. if (t) return 0;
  666. var s = parseInt(n, 10),
  667. i = s % 100;
  668. return (s - i) / 100 * 60 + i
  669. }(i[8], i[9], i[10]), e._d = Ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), g(e).rfc2822 = !0
  670. } else e._isValid = !1
  671. }
  672. function Yt(e) {
  673. if (e._f !== c.ISO_8601)
  674. if (e._f !== c.RFC_2822) {
  675. e._a = [], g(e).empty = !0;
  676. var t, n, s, i, r, a, o, u, l = "" + e._i,
  677. h = l.length,
  678. d = 0;
  679. for (s = j(e._f, e._locale).match(N) || [], t = 0; t < s.length; t++) i = s[t], (n = (l.match(le(i, e)) || [])[0]) && (0 < (r = l.substr(0, l.indexOf(n))).length && g(e).unusedInput.push(r), l = l.slice(l.indexOf(n) + n.length), d += n.length), E[i] ? (n ? g(e).empty = !1 : g(e).unusedTokens.push(i), a = i, u = e, null != (o = n) && m(de, a) && de[a](o, u._a, u, a)) : e._strict && !n && g(e).unusedTokens.push(i);
  680. g(e).charsLeftOver = h - d, 0 < l.length && g(e).unusedInput.push(l), e._a[ge] <= 12 && !0 === g(e).bigHour && 0 < e._a[ge] && (g(e).bigHour = void 0), g(e).parsedDateParts = e._a.slice(0), g(e).meridiem = e._meridiem, e._a[ge] = function (e, t, n) {
  681. var s;
  682. if (null == n) return t;
  683. return null != e.meridiemHour ? e.meridiemHour(t, n) : (null != e.isPM && ((s = e.isPM(n)) && t < 12 && (t += 12), s || 12 !== t || (t = 0)), t)
  684. }(e._locale, e._a[ge], e._meridiem), ft(e), dt(e)
  685. } else Dt(e);
  686. else wt(e)
  687. }
  688. function Ot(e) {
  689. var t, n, s, i, r = e._i,
  690. a = e._f;
  691. return e._locale = e._locale || ht(e._l), null === r || void 0 === a && "" === r ? p({
  692. nullInput: !0
  693. }) : ("string" == typeof r && (e._i = r = e._locale.preparse(r)), k(r) ? new M(dt(r)) : (d(r) ? e._d = r : o(a) ? function (e) {
  694. var t, n, s, i, r;
  695. if (0 === e._f.length) return g(e).invalidFormat = !0, e._d = new Date(NaN);
  696. for (i = 0; i < e._f.length; i++) r = 0, t = w({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[i], Yt(t), v(t) && (r += g(t).charsLeftOver, r += 10 * g(t).unusedTokens.length, g(t).score = r, (null == s || r < s) && (s = r, n = t));
  697. _(e, n || t)
  698. }(e) : a ? Yt(e) : l(n = (t = e)._i) ? t._d = new Date(c.now()) : d(n) ? t._d = new Date(n.valueOf()) : "string" == typeof n ? (s = t, null === (i = pt.exec(s._i)) ? (wt(s), !1 === s._isValid && (delete s._isValid, Dt(s), !1 === s._isValid && (delete s._isValid, c.createFromInputFallback(s)))) : s._d = new Date(+i[1])) : o(n) ? (t._a = f(n.slice(0), function (e) {
  699. return parseInt(e, 10)
  700. }), ft(t)) : u(n) ? function (e) {
  701. if (!e._d) {
  702. var t = R(e._i);
  703. e._a = f([t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], function (e) {
  704. return e && parseInt(e, 10)
  705. }), ft(e)
  706. }
  707. }(t) : h(n) ? t._d = new Date(n) : c.createFromInputFallback(t), v(e) || (e._d = null), e))
  708. }
  709. function Tt(e, t, n, s, i) {
  710. var r, a = {};
  711. return !0 !== n && !1 !== n || (s = n, n = void 0), (u(e) && function (e) {
  712. if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length;
  713. var t;
  714. for (t in e)
  715. if (e.hasOwnProperty(t)) return !1;
  716. return !0
  717. }(e) || o(e) && 0 === e.length) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = i, a._l = n, a._i = e, a._f = t, a._strict = s, (r = new M(dt(Ot(a))))._nextDay && (r.add(1, "d"), r._nextDay = void 0), r
  718. }
  719. function bt(e, t, n, s) {
  720. return Tt(e, t, n, s, !1)
  721. }
  722. c.createFromInputFallback = n("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) {
  723. e._d = new Date(e._i + (e._useUTC ? " UTC" : ""))
  724. }), c.ISO_8601 = function () {}, c.RFC_2822 = function () {};
  725. var xt = n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function () {
  726. var e = bt.apply(null, arguments);
  727. return this.isValid() && e.isValid() ? e < this ? this : e : p()
  728. }),
  729. Pt = n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function () {
  730. var e = bt.apply(null, arguments);
  731. return this.isValid() && e.isValid() ? this < e ? this : e : p()
  732. });
  733. function Wt(e, t) {
  734. var n, s;
  735. if (1 === t.length && o(t[0]) && (t = t[0]), !t.length) return bt();
  736. for (n = t[0], s = 1; s < t.length; ++s) t[s].isValid() && !t[s][e](n) || (n = t[s]);
  737. return n
  738. }
  739. var Ct = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
  740. function Ht(e) {
  741. var t = R(e),
  742. n = t.year || 0,
  743. s = t.quarter || 0,
  744. i = t.month || 0,
  745. r = t.week || t.isoWeek || 0,
  746. a = t.day || 0,
  747. o = t.hour || 0,
  748. u = t.minute || 0,
  749. l = t.second || 0,
  750. h = t.millisecond || 0;
  751. this._isValid = function (e) {
  752. for (var t in e)
  753. if (-1 === Ye.call(Ct, t) || null != e[t] && isNaN(e[t])) return !1;
  754. for (var n = !1, s = 0; s < Ct.length; ++s)
  755. if (e[Ct[s]]) {
  756. if (n) return !1;
  757. parseFloat(e[Ct[s]]) !== D(e[Ct[s]]) && (n = !0)
  758. } return !0
  759. }(t), this._milliseconds = +h + 1e3 * l + 6e4 * u + 1e3 * o * 60 * 60, this._days = +a + 7 * r, this._months = +i + 3 * s + 12 * n, this._data = {}, this._locale = ht(), this._bubble()
  760. }
  761. function Rt(e) {
  762. return e instanceof Ht
  763. }
  764. function Ut(e) {
  765. return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e)
  766. }
  767. function Ft(e, n) {
  768. I(e, 0, 0, function () {
  769. var e = this.utcOffset(),
  770. t = "+";
  771. return e < 0 && (e = -e, t = "-"), t + L(~~(e / 60), 2) + n + L(~~e % 60, 2)
  772. })
  773. }
  774. Ft("Z", ":"), Ft("ZZ", ""), ue("Z", re), ue("ZZ", re), ce(["Z", "ZZ"], function (e, t, n) {
  775. n._useUTC = !0, n._tzm = Nt(re, e)
  776. });
  777. var Lt = /([\+\-]|\d\d)/gi;
  778. function Nt(e, t) {
  779. var n = (t || "").match(e);
  780. if (null === n) return null;
  781. var s = ((n[n.length - 1] || []) + "").match(Lt) || ["-", 0, 0],
  782. i = 60 * s[1] + D(s[2]);
  783. return 0 === i ? 0 : "+" === s[0] ? i : -i
  784. }
  785. function Gt(e, t) {
  786. var n, s;
  787. return t._isUTC ? (n = t.clone(), s = (k(e) || d(e) ? e.valueOf() : bt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), c.updateOffset(n, !1), n) : bt(e).local()
  788. }
  789. function Vt(e) {
  790. return 15 * -Math.round(e._d.getTimezoneOffset() / 15)
  791. }
  792. function Et() {
  793. return !!this.isValid() && (this._isUTC && 0 === this._offset)
  794. }
  795. c.updateOffset = function () {};
  796. var It = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,
  797. At = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
  798. function jt(e, t) {
  799. var n, s, i, r = e,
  800. a = null;
  801. return Rt(e) ? r = {
  802. ms: e._milliseconds,
  803. d: e._days,
  804. M: e._months
  805. } : h(e) ? (r = {}, t ? r[t] = e : r.milliseconds = e) : (a = It.exec(e)) ? (n = "-" === a[1] ? -1 : 1, r = {
  806. y: 0,
  807. d: D(a[ye]) * n,
  808. h: D(a[ge]) * n,
  809. m: D(a[ve]) * n,
  810. s: D(a[pe]) * n,
  811. ms: D(Ut(1e3 * a[we])) * n
  812. }) : (a = At.exec(e)) ? (n = "-" === a[1] ? -1 : 1, r = {
  813. y: Zt(a[2], n),
  814. M: Zt(a[3], n),
  815. w: Zt(a[4], n),
  816. d: Zt(a[5], n),
  817. h: Zt(a[6], n),
  818. m: Zt(a[7], n),
  819. s: Zt(a[8], n)
  820. }) : null == r ? r = {} : "object" == typeof r && ("from" in r || "to" in r) && (i = function (e, t) {
  821. var n;
  822. if (!e.isValid() || !t.isValid()) return {
  823. milliseconds: 0,
  824. months: 0
  825. };
  826. t = Gt(t, e), e.isBefore(t) ? n = zt(e, t) : ((n = zt(t, e)).milliseconds = -n.milliseconds, n.months = -n.months);
  827. return n
  828. }(bt(r.from), bt(r.to)), (r = {}).ms = i.milliseconds, r.M = i.months), s = new Ht(r), Rt(e) && m(e, "_locale") && (s._locale = e._locale), s
  829. }
  830. function Zt(e, t) {
  831. var n = e && parseFloat(e.replace(",", "."));
  832. return (isNaN(n) ? 0 : n) * t
  833. }
  834. function zt(e, t) {
  835. var n = {};
  836. return n.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n
  837. }
  838. function $t(s, i) {
  839. return function (e, t) {
  840. var n;
  841. return null === t || isNaN(+t) || (T(i, "moment()." + i + "(period, number) is deprecated. Please use moment()." + i + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), n = e, e = t, t = n), qt(this, jt(e = "string" == typeof e ? +e : e, t), s), this
  842. }
  843. }
  844. function qt(e, t, n, s) {
  845. var i = t._milliseconds,
  846. r = Ut(t._days),
  847. a = Ut(t._months);
  848. e.isValid() && (s = null == s || s, a && Re(e, be(e, "Month") + a * n), r && xe(e, "Date", be(e, "Date") + r * n), i && e._d.setTime(e._d.valueOf() + i * n), s && c.updateOffset(e, r || a))
  849. }
  850. jt.fn = Ht.prototype, jt.invalid = function () {
  851. return jt(NaN)
  852. };
  853. var Jt = $t(1, "add"),
  854. Bt = $t(-1, "subtract");
  855. function Qt(e, t) {
  856. var n = 12 * (t.year() - e.year()) + (t.month() - e.month()),
  857. s = e.clone().add(n, "months");
  858. return -(n + (t - s < 0 ? (t - s) / (s - e.clone().add(n - 1, "months")) : (t - s) / (e.clone().add(n + 1, "months") - s))) || 0
  859. }
  860. function Xt(e) {
  861. var t;
  862. return void 0 === e ? this._locale._abbr : (null != (t = ht(e)) && (this._locale = t), this)
  863. }
  864. c.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", c.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
  865. var Kt = n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function (e) {
  866. return void 0 === e ? this.localeData() : this.locale(e)
  867. });
  868. function en() {
  869. return this._locale
  870. }
  871. var tn = 126227808e5;
  872. function nn(e, t) {
  873. return (e % t + t) % t
  874. }
  875. function sn(e, t, n) {
  876. return e < 100 && 0 <= e ? new Date(e + 400, t, n) - tn : new Date(e, t, n).valueOf()
  877. }
  878. function rn(e, t, n) {
  879. return e < 100 && 0 <= e ? Date.UTC(e + 400, t, n) - tn : Date.UTC(e, t, n)
  880. }
  881. function an(e, t) {
  882. I(0, [e, e.length], 0, t)
  883. }
  884. function on(e, t, n, s, i) {
  885. var r;
  886. return null == e ? Ie(this, s, i).year : ((r = Ae(e, s, i)) < t && (t = r), function (e, t, n, s, i) {
  887. var r = Ee(e, t, n, s, i),
  888. a = Ge(r.year, 0, r.dayOfYear);
  889. return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this
  890. }.call(this, e, t, n, s, i))
  891. }
  892. I(0, ["gg", 2], 0, function () {
  893. return this.weekYear() % 100
  894. }), I(0, ["GG", 2], 0, function () {
  895. return this.isoWeekYear() % 100
  896. }), an("gggg", "weekYear"), an("ggggg", "weekYear"), an("GGGG", "isoWeekYear"), an("GGGGG", "isoWeekYear"), C("weekYear", "gg"), C("isoWeekYear", "GG"), F("weekYear", 1), F("isoWeekYear", 1), ue("G", se), ue("g", se), ue("GG", B, z), ue("gg", B, z), ue("GGGG", ee, q), ue("gggg", ee, q), ue("GGGGG", te, J), ue("ggggg", te, J), fe(["gggg", "ggggg", "GGGG", "GGGGG"], function (e, t, n, s) {
  897. t[s.substr(0, 2)] = D(e)
  898. }), fe(["gg", "GG"], function (e, t, n, s) {
  899. t[s] = c.parseTwoDigitYear(e)
  900. }), I("Q", 0, "Qo", "quarter"), C("quarter", "Q"), F("quarter", 7), ue("Q", Z), ce("Q", function (e, t) {
  901. t[_e] = 3 * (D(e) - 1)
  902. }), I("D", ["DD", 2], "Do", "date"), C("date", "D"), F("date", 9), ue("D", B), ue("DD", B, z), ue("Do", function (e, t) {
  903. return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient
  904. }), ce(["D", "DD"], ye), ce("Do", function (e, t) {
  905. t[ye] = D(e.match(B)[0])
  906. });
  907. var un = Te("Date", !0);
  908. I("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), C("dayOfYear", "DDD"), F("dayOfYear", 4), ue("DDD", K), ue("DDDD", $), ce(["DDD", "DDDD"], function (e, t, n) {
  909. n._dayOfYear = D(e)
  910. }), I("m", ["mm", 2], 0, "minute"), C("minute", "m"), F("minute", 14), ue("m", B), ue("mm", B, z), ce(["m", "mm"], ve);
  911. var ln = Te("Minutes", !1);
  912. I("s", ["ss", 2], 0, "second"), C("second", "s"), F("second", 15), ue("s", B), ue("ss", B, z), ce(["s", "ss"], pe);
  913. var hn, dn = Te("Seconds", !1);
  914. for (I("S", 0, 0, function () {
  915. return ~~(this.millisecond() / 100)
  916. }), I(0, ["SS", 2], 0, function () {
  917. return ~~(this.millisecond() / 10)
  918. }), I(0, ["SSS", 3], 0, "millisecond"), I(0, ["SSSS", 4], 0, function () {
  919. return 10 * this.millisecond()
  920. }), I(0, ["SSSSS", 5], 0, function () {
  921. return 100 * this.millisecond()
  922. }), I(0, ["SSSSSS", 6], 0, function () {
  923. return 1e3 * this.millisecond()
  924. }), I(0, ["SSSSSSS", 7], 0, function () {
  925. return 1e4 * this.millisecond()
  926. }), I(0, ["SSSSSSSS", 8], 0, function () {
  927. return 1e5 * this.millisecond()
  928. }), I(0, ["SSSSSSSSS", 9], 0, function () {
  929. return 1e6 * this.millisecond()
  930. }), C("millisecond", "ms"), F("millisecond", 16), ue("S", K, Z), ue("SS", K, z), ue("SSS", K, $), hn = "SSSS"; hn.length <= 9; hn += "S") ue(hn, ne);
  931. function cn(e, t) {
  932. t[we] = D(1e3 * ("0." + e))
  933. }
  934. for (hn = "S"; hn.length <= 9; hn += "S") ce(hn, cn);
  935. var fn = Te("Milliseconds", !1);
  936. I("z", 0, 0, "zoneAbbr"), I("zz", 0, 0, "zoneName");
  937. var mn = M.prototype;
  938. function _n(e) {
  939. return e
  940. }
  941. mn.add = Jt, mn.calendar = function (e, t) {
  942. var n = e || bt(),
  943. s = Gt(n, this).startOf("day"),
  944. i = c.calendarFormat(this, s) || "sameElse",
  945. r = t && (b(t[i]) ? t[i].call(this, n) : t[i]);
  946. return this.format(r || this.localeData().calendar(i, this, bt(n)))
  947. }, mn.clone = function () {
  948. return new M(this)
  949. }, mn.diff = function (e, t, n) {
  950. var s, i, r;
  951. if (!this.isValid()) return NaN;
  952. if (!(s = Gt(e, this)).isValid()) return NaN;
  953. switch (i = 6e4 * (s.utcOffset() - this.utcOffset()), t = H(t)) {
  954. case "year":
  955. r = Qt(this, s) / 12;
  956. break;
  957. case "month":
  958. r = Qt(this, s);
  959. break;
  960. case "quarter":
  961. r = Qt(this, s) / 3;
  962. break;
  963. case "second":
  964. r = (this - s) / 1e3;
  965. break;
  966. case "minute":
  967. r = (this - s) / 6e4;
  968. break;
  969. case "hour":
  970. r = (this - s) / 36e5;
  971. break;
  972. case "day":
  973. r = (this - s - i) / 864e5;
  974. break;
  975. case "week":
  976. r = (this - s - i) / 6048e5;
  977. break;
  978. default:
  979. r = this - s
  980. }
  981. return n ? r : S(r)
  982. }, mn.endOf = function (e) {
  983. var t;
  984. if (void 0 === (e = H(e)) || "millisecond" === e || !this.isValid()) return this;
  985. var n = this._isUTC ? rn : sn;
  986. switch (e) {
  987. case "year":
  988. t = n(this.year() + 1, 0, 1) - 1;
  989. break;
  990. case "quarter":
  991. t = n(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
  992. break;
  993. case "month":
  994. t = n(this.year(), this.month() + 1, 1) - 1;
  995. break;
  996. case "week":
  997. t = n(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
  998. break;
  999. case "isoWeek":
  1000. t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
  1001. break;
  1002. case "day":
  1003. case "date":
  1004. t = n(this.year(), this.month(), this.date() + 1) - 1;
  1005. break;
  1006. case "hour":
  1007. t = this._d.valueOf(), t += 36e5 - nn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5) - 1;
  1008. break;
  1009. case "minute":
  1010. t = this._d.valueOf(), t += 6e4 - nn(t, 6e4) - 1;
  1011. break;
  1012. case "second":
  1013. t = this._d.valueOf(), t += 1e3 - nn(t, 1e3) - 1;
  1014. break
  1015. }
  1016. return this._d.setTime(t), c.updateOffset(this, !0), this
  1017. }, mn.format = function (e) {
  1018. e || (e = this.isUtc() ? c.defaultFormatUtc : c.defaultFormat);
  1019. var t = A(this, e);
  1020. return this.localeData().postformat(t)
  1021. }, mn.from = function (e, t) {
  1022. return this.isValid() && (k(e) && e.isValid() || bt(e).isValid()) ? jt({
  1023. to: this,
  1024. from: e
  1025. }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
  1026. }, mn.fromNow = function (e) {
  1027. return this.from(bt(), e)
  1028. }, mn.to = function (e, t) {
  1029. return this.isValid() && (k(e) && e.isValid() || bt(e).isValid()) ? jt({
  1030. from: this,
  1031. to: e
  1032. }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
  1033. }, mn.toNow = function (e) {
  1034. return this.to(bt(), e)
  1035. }, mn.get = function (e) {
  1036. return b(this[e = H(e)]) ? this[e]() : this
  1037. }, mn.invalidAt = function () {
  1038. return g(this).overflow
  1039. }, mn.isAfter = function (e, t) {
  1040. var n = k(e) ? e : bt(e);
  1041. return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = H(t) || "millisecond") ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf())
  1042. }, mn.isBefore = function (e, t) {
  1043. var n = k(e) ? e : bt(e);
  1044. return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = H(t) || "millisecond") ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf())
  1045. }, mn.isBetween = function (e, t, n, s) {
  1046. var i = k(e) ? e : bt(e),
  1047. r = k(t) ? t : bt(t);
  1048. return !!(this.isValid() && i.isValid() && r.isValid()) && ("(" === (s = s || "()")[0] ? this.isAfter(i, n) : !this.isBefore(i, n)) && (")" === s[1] ? this.isBefore(r, n) : !this.isAfter(r, n))
  1049. }, mn.isSame = function (e, t) {
  1050. var n, s = k(e) ? e : bt(e);
  1051. return !(!this.isValid() || !s.isValid()) && ("millisecond" === (t = H(t) || "millisecond") ? this.valueOf() === s.valueOf() : (n = s.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf()))
  1052. }, mn.isSameOrAfter = function (e, t) {
  1053. return this.isSame(e, t) || this.isAfter(e, t)
  1054. }, mn.isSameOrBefore = function (e, t) {
  1055. return this.isSame(e, t) || this.isBefore(e, t)
  1056. }, mn.isValid = function () {
  1057. return v(this)
  1058. }, mn.lang = Kt, mn.locale = Xt, mn.localeData = en, mn.max = Pt, mn.min = xt, mn.parsingFlags = function () {
  1059. return _({}, g(this))
  1060. }, mn.set = function (e, t) {
  1061. if ("object" == typeof e)
  1062. for (var n = function (e) {
  1063. var t = [];
  1064. for (var n in e) t.push({
  1065. unit: n,
  1066. priority: U[n]
  1067. });
  1068. return t.sort(function (e, t) {
  1069. return e.priority - t.priority
  1070. }), t
  1071. }(e = R(e)), s = 0; s < n.length; s++) this[n[s].unit](e[n[s].unit]);
  1072. else if (b(this[e = H(e)])) return this[e](t);
  1073. return this
  1074. }, mn.startOf = function (e) {
  1075. var t;
  1076. if (void 0 === (e = H(e)) || "millisecond" === e || !this.isValid()) return this;
  1077. var n = this._isUTC ? rn : sn;
  1078. switch (e) {
  1079. case "year":
  1080. t = n(this.year(), 0, 1);
  1081. break;
  1082. case "quarter":
  1083. t = n(this.year(), this.month() - this.month() % 3, 1);
  1084. break;
  1085. case "month":
  1086. t = n(this.year(), this.month(), 1);
  1087. break;
  1088. case "week":
  1089. t = n(this.year(), this.month(), this.date() - this.weekday());
  1090. break;
  1091. case "isoWeek":
  1092. t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
  1093. break;
  1094. case "day":
  1095. case "date":
  1096. t = n(this.year(), this.month(), this.date());
  1097. break;
  1098. case "hour":
  1099. t = this._d.valueOf(), t -= nn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5);
  1100. break;
  1101. case "minute":
  1102. t = this._d.valueOf(), t -= nn(t, 6e4);
  1103. break;
  1104. case "second":
  1105. t = this._d.valueOf(), t -= nn(t, 1e3);
  1106. break
  1107. }
  1108. return this._d.setTime(t), c.updateOffset(this, !0), this
  1109. }, mn.subtract = Bt, mn.toArray = function () {
  1110. var e = this;
  1111. return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()]
  1112. }, mn.toObject = function () {
  1113. var e = this;
  1114. return {
  1115. years: e.year(),
  1116. months: e.month(),
  1117. date: e.date(),
  1118. hours: e.hours(),
  1119. minutes: e.minutes(),
  1120. seconds: e.seconds(),
  1121. milliseconds: e.milliseconds()
  1122. }
  1123. }, mn.toDate = function () {
  1124. return new Date(this.valueOf())
  1125. }, mn.toISOString = function (e) {
  1126. if (!this.isValid()) return null;
  1127. var t = !0 !== e,
  1128. n = t ? this.clone().utc() : this;
  1129. return n.year() < 0 || 9999 < n.year() ? A(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : b(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", A(n, "Z")) : A(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ")
  1130. }, mn.inspect = function () {
  1131. if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
  1132. var e = "moment",
  1133. t = "";
  1134. this.isLocal() || (e = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", t = "Z");
  1135. var n = "[" + e + '("]',
  1136. s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY",
  1137. i = t + '[")]';
  1138. return this.format(n + s + "-MM-DD[T]HH:mm:ss.SSS" + i)
  1139. }, mn.toJSON = function () {
  1140. return this.isValid() ? this.toISOString() : null
  1141. }, mn.toString = function () {
  1142. return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
  1143. }, mn.unix = function () {
  1144. return Math.floor(this.valueOf() / 1e3)
  1145. }, mn.valueOf = function () {
  1146. return this._d.valueOf() - 6e4 * (this._offset || 0)
  1147. }, mn.creationData = function () {
  1148. return {
  1149. input: this._i,
  1150. format: this._f,
  1151. locale: this._locale,
  1152. isUTC: this._isUTC,
  1153. strict: this._strict
  1154. }
  1155. }, mn.year = Oe, mn.isLeapYear = function () {
  1156. return De(this.year())
  1157. }, mn.weekYear = function (e) {
  1158. return on.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
  1159. }, mn.isoWeekYear = function (e) {
  1160. return on.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4)
  1161. }, mn.quarter = mn.quarters = function (e) {
  1162. return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3)
  1163. }, mn.month = Ue, mn.daysInMonth = function () {
  1164. return Pe(this.year(), this.month())
  1165. }, mn.week = mn.weeks = function (e) {
  1166. var t = this.localeData().week(this);
  1167. return null == e ? t : this.add(7 * (e - t), "d")
  1168. }, mn.isoWeek = mn.isoWeeks = function (e) {
  1169. var t = Ie(this, 1, 4).week;
  1170. return null == e ? t : this.add(7 * (e - t), "d")
  1171. }, mn.weeksInYear = function () {
  1172. var e = this.localeData()._week;
  1173. return Ae(this.year(), e.dow, e.doy)
  1174. }, mn.isoWeeksInYear = function () {
  1175. return Ae(this.year(), 1, 4)
  1176. }, mn.date = un, mn.day = mn.days = function (e) {
  1177. if (!this.isValid()) return null != e ? this : NaN;
  1178. var t, n, s = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
  1179. return null != e ? (t = e, n = this.localeData(), e = "string" != typeof t ? t : isNaN(t) ? "number" == typeof (t = n.weekdaysParse(t)) ? t : null : parseInt(t, 10), this.add(e - s, "d")) : s
  1180. }, mn.weekday = function (e) {
  1181. if (!this.isValid()) return null != e ? this : NaN;
  1182. var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
  1183. return null == e ? t : this.add(e - t, "d")
  1184. }, mn.isoWeekday = function (e) {
  1185. if (!this.isValid()) return null != e ? this : NaN;
  1186. if (null == e) return this.day() || 7;
  1187. var t, n, s = (t = e, n = this.localeData(), "string" == typeof t ? n.weekdaysParse(t) % 7 || 7 : isNaN(t) ? null : t);
  1188. return this.day(this.day() % 7 ? s : s - 7)
  1189. }, mn.dayOfYear = function (e) {
  1190. var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1;
  1191. return null == e ? t : this.add(e - t, "d")
  1192. }, mn.hour = mn.hours = nt, mn.minute = mn.minutes = ln, mn.second = mn.seconds = dn, mn.millisecond = mn.milliseconds = fn, mn.utcOffset = function (e, t, n) {
  1193. var s, i = this._offset || 0;
  1194. if (!this.isValid()) return null != e ? this : NaN;
  1195. if (null == e) return this._isUTC ? i : Vt(this);
  1196. if ("string" == typeof e) {
  1197. if (null === (e = Nt(re, e))) return this
  1198. } else Math.abs(e) < 16 && !n && (e *= 60);
  1199. return !this._isUTC && t && (s = Vt(this)), this._offset = e, this._isUTC = !0, null != s && this.add(s, "m"), i !== e && (!t || this._changeInProgress ? qt(this, jt(e - i, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, c.updateOffset(this, !0), this._changeInProgress = null)), this
  1200. }, mn.utc = function (e) {
  1201. return this.utcOffset(0, e)
  1202. }, mn.local = function (e) {
  1203. return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Vt(this), "m")), this
  1204. }, mn.parseZone = function () {
  1205. if (null != this._tzm) this.utcOffset(this._tzm, !1, !0);
  1206. else if ("string" == typeof this._i) {
  1207. var e = Nt(ie, this._i);
  1208. null != e ? this.utcOffset(e) : this.utcOffset(0, !0)
  1209. }
  1210. return this
  1211. }, mn.hasAlignedHourOffset = function (e) {
  1212. return !!this.isValid() && (e = e ? bt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0)
  1213. }, mn.isDST = function () {
  1214. return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset()
  1215. }, mn.isLocal = function () {
  1216. return !!this.isValid() && !this._isUTC
  1217. }, mn.isUtcOffset = function () {
  1218. return !!this.isValid() && this._isUTC
  1219. }, mn.isUtc = Et, mn.isUTC = Et, mn.zoneAbbr = function () {
  1220. return this._isUTC ? "UTC" : ""
  1221. }, mn.zoneName = function () {
  1222. return this._isUTC ? "Coordinated Universal Time" : ""
  1223. }, mn.dates = n("dates accessor is deprecated. Use date instead.", un), mn.months = n("months accessor is deprecated. Use month instead", Ue), mn.years = n("years accessor is deprecated. Use year instead", Oe), mn.zone = n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", function (e, t) {
  1224. return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset()
  1225. }), mn.isDSTShifted = n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", function () {
  1226. if (!l(this._isDSTShifted)) return this._isDSTShifted;
  1227. var e = {};
  1228. if (w(e, this), (e = Ot(e))._a) {
  1229. var t = e._isUTC ? y(e._a) : bt(e._a);
  1230. this._isDSTShifted = this.isValid() && 0 < a(e._a, t.toArray())
  1231. } else this._isDSTShifted = !1;
  1232. return this._isDSTShifted
  1233. });
  1234. var yn = P.prototype;
  1235. function gn(e, t, n, s) {
  1236. var i = ht(),
  1237. r = y().set(s, t);
  1238. return i[n](r, e)
  1239. }
  1240. function vn(e, t, n) {
  1241. if (h(e) && (t = e, e = void 0), e = e || "", null != t) return gn(e, t, n, "month");
  1242. var s, i = [];
  1243. for (s = 0; s < 12; s++) i[s] = gn(e, s, n, "month");
  1244. return i
  1245. }
  1246. function pn(e, t, n, s) {
  1247. t = ("boolean" == typeof e ? h(t) && (n = t, t = void 0) : (t = e, e = !1, h(n = t) && (n = t, t = void 0)), t || "");
  1248. var i, r = ht(),
  1249. a = e ? r._week.dow : 0;
  1250. if (null != n) return gn(t, (n + a) % 7, s, "day");
  1251. var o = [];
  1252. for (i = 0; i < 7; i++) o[i] = gn(t, (i + a) % 7, s, "day");
  1253. return o
  1254. }
  1255. yn.calendar = function (e, t, n) {
  1256. var s = this._calendar[e] || this._calendar.sameElse;
  1257. return b(s) ? s.call(t, n) : s
  1258. }, yn.longDateFormat = function (e) {
  1259. var t = this._longDateFormat[e],
  1260. n = this._longDateFormat[e.toUpperCase()];
  1261. return t || !n ? t : (this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function (e) {
  1262. return e.slice(1)
  1263. }), this._longDateFormat[e])
  1264. }, yn.invalidDate = function () {
  1265. return this._invalidDate
  1266. }, yn.ordinal = function (e) {
  1267. return this._ordinal.replace("%d", e)
  1268. }, yn.preparse = _n, yn.postformat = _n, yn.relativeTime = function (e, t, n, s) {
  1269. var i = this._relativeTime[n];
  1270. return b(i) ? i(e, t, n, s) : i.replace(/%d/i, e)
  1271. }, yn.pastFuture = function (e, t) {
  1272. var n = this._relativeTime[0 < e ? "future" : "past"];
  1273. return b(n) ? n(t) : n.replace(/%s/i, t)
  1274. }, yn.set = function (e) {
  1275. var t, n;
  1276. for (n in e) b(t = e[n]) ? this[n] = t : this["_" + n] = t;
  1277. this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source)
  1278. }, yn.months = function (e, t) {
  1279. return e ? o(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || We).test(t) ? "format" : "standalone"][e.month()] : o(this._months) ? this._months : this._months.standalone
  1280. }, yn.monthsShort = function (e, t) {
  1281. return e ? o(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[We.test(t) ? "format" : "standalone"][e.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone
  1282. }, yn.monthsParse = function (e, t, n) {
  1283. var s, i, r;
  1284. if (this._monthsParseExact) return function (e, t, n) {
  1285. var s, i, r, a = e.toLocaleLowerCase();
  1286. if (!this._monthsParse)
  1287. for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s) r = y([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(r, "").toLocaleLowerCase(), this._longMonthsParse[s] = this.months(r, "").toLocaleLowerCase();
  1288. return n ? "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null
  1289. }.call(this, e, t, n);
  1290. for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
  1291. if (i = y([2e3, s]), n && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp("^" + this.months(i, "").replace(".", "") + "$", "i"), this._shortMonthsParse[s] = new RegExp("^" + this.monthsShort(i, "").replace(".", "") + "$", "i")), n || this._monthsParse[s] || (r = "^" + this.months(i, "") + "|^" + this.monthsShort(i, ""), this._monthsParse[s] = new RegExp(r.replace(".", ""), "i")), n && "MMMM" === t && this._longMonthsParse[s].test(e)) return s;
  1292. if (n && "MMM" === t && this._shortMonthsParse[s].test(e)) return s;
  1293. if (!n && this._monthsParse[s].test(e)) return s
  1294. }
  1295. }, yn.monthsRegex = function (e) {
  1296. return this._monthsParseExact ? (m(this, "_monthsRegex") || Ne.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (m(this, "_monthsRegex") || (this._monthsRegex = Le), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex)
  1297. }, yn.monthsShortRegex = function (e) {
  1298. return this._monthsParseExact ? (m(this, "_monthsRegex") || Ne.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (m(this, "_monthsShortRegex") || (this._monthsShortRegex = Fe), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex)
  1299. }, yn.week = function (e) {
  1300. return Ie(e, this._week.dow, this._week.doy).week
  1301. }, yn.firstDayOfYear = function () {
  1302. return this._week.doy
  1303. }, yn.firstDayOfWeek = function () {
  1304. return this._week.dow
  1305. }, yn.weekdays = function (e, t) {
  1306. var n = o(this._weekdays) ? this._weekdays : this._weekdays[e && !0 !== e && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
  1307. return !0 === e ? je(n, this._week.dow) : e ? n[e.day()] : n
  1308. }, yn.weekdaysMin = function (e) {
  1309. return !0 === e ? je(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin
  1310. }, yn.weekdaysShort = function (e) {
  1311. return !0 === e ? je(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort
  1312. }, yn.weekdaysParse = function (e, t, n) {
  1313. var s, i, r;
  1314. if (this._weekdaysParseExact) return function (e, t, n) {
  1315. var s, i, r, a = e.toLocaleLowerCase();
  1316. if (!this._weekdaysParse)
  1317. for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s) r = y([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(r, "").toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(r, "").toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(r, "").toLocaleLowerCase();
  1318. return n ? "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null
  1319. }.call(this, e, t, n);
  1320. for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
  1321. if (i = y([2e3, 1]).day(s), n && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp("^" + this.weekdays(i, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[s] = new RegExp("^" + this.weekdaysShort(i, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[s] = new RegExp("^" + this.weekdaysMin(i, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[s] || (r = "^" + this.weekdays(i, "") + "|^" + this.weekdaysShort(i, "") + "|^" + this.weekdaysMin(i, ""), this._weekdaysParse[s] = new RegExp(r.replace(".", ""), "i")), n && "dddd" === t && this._fullWeekdaysParse[s].test(e)) return s;
  1322. if (n && "ddd" === t && this._shortWeekdaysParse[s].test(e)) return s;
  1323. if (n && "dd" === t && this._minWeekdaysParse[s].test(e)) return s;
  1324. if (!n && this._weekdaysParse[s].test(e)) return s
  1325. }
  1326. }, yn.weekdaysRegex = function (e) {
  1327. return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Qe.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (m(this, "_weekdaysRegex") || (this._weekdaysRegex = qe), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex)
  1328. }, yn.weekdaysShortRegex = function (e) {
  1329. return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Qe.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (m(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Je), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
  1330. }, yn.weekdaysMinRegex = function (e) {
  1331. return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Qe.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (m(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Be), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
  1332. }, yn.isPM = function (e) {
  1333. return "p" === (e + "").toLowerCase().charAt(0)
  1334. }, yn.meridiem = function (e, t, n) {
  1335. return 11 < e ? n ? "pm" : "PM" : n ? "am" : "AM"
  1336. }, ut("en", {
  1337. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  1338. ordinal: function (e) {
  1339. var t = e % 10;
  1340. return e + (1 === D(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th")
  1341. }
  1342. }), c.lang = n("moment.lang is deprecated. Use moment.locale instead.", ut), c.langData = n("moment.langData is deprecated. Use moment.localeData instead.", ht);
  1343. var wn = Math.abs;
  1344. function Mn(e, t, n, s) {
  1345. var i = jt(t, n);
  1346. return e._milliseconds += s * i._milliseconds, e._days += s * i._days, e._months += s * i._months, e._bubble()
  1347. }
  1348. function kn(e) {
  1349. return e < 0 ? Math.floor(e) : Math.ceil(e)
  1350. }
  1351. function Sn(e) {
  1352. return 4800 * e / 146097
  1353. }
  1354. function Dn(e) {
  1355. return 146097 * e / 4800
  1356. }
  1357. function Yn(e) {
  1358. return function () {
  1359. return this.as(e)
  1360. }
  1361. }
  1362. var On = Yn("ms"),
  1363. Tn = Yn("s"),
  1364. bn = Yn("m"),
  1365. xn = Yn("h"),
  1366. Pn = Yn("d"),
  1367. Wn = Yn("w"),
  1368. Cn = Yn("M"),
  1369. Hn = Yn("Q"),
  1370. Rn = Yn("y");
  1371. function Un(e) {
  1372. return function () {
  1373. return this.isValid() ? this._data[e] : NaN
  1374. }
  1375. }
  1376. var Fn = Un("milliseconds"),
  1377. Ln = Un("seconds"),
  1378. Nn = Un("minutes"),
  1379. Gn = Un("hours"),
  1380. Vn = Un("days"),
  1381. En = Un("months"),
  1382. In = Un("years");
  1383. var An = Math.round,
  1384. jn = {
  1385. ss: 44,
  1386. s: 45,
  1387. m: 45,
  1388. h: 22,
  1389. d: 26,
  1390. M: 11
  1391. };
  1392. var Zn = Math.abs;
  1393. function zn(e) {
  1394. return (0 < e) - (e < 0) || +e
  1395. }
  1396. function $n() {
  1397. if (!this.isValid()) return this.localeData().invalidDate();
  1398. var e, t, n = Zn(this._milliseconds) / 1e3,
  1399. s = Zn(this._days),
  1400. i = Zn(this._months);
  1401. t = S((e = S(n / 60)) / 60), n %= 60, e %= 60;
  1402. var r = S(i / 12),
  1403. a = i %= 12,
  1404. o = s,
  1405. u = t,
  1406. l = e,
  1407. h = n ? n.toFixed(3).replace(/\.?0+$/, "") : "",
  1408. d = this.asSeconds();
  1409. if (!d) return "P0D";
  1410. var c = d < 0 ? "-" : "",
  1411. f = zn(this._months) !== zn(d) ? "-" : "",
  1412. m = zn(this._days) !== zn(d) ? "-" : "",
  1413. _ = zn(this._milliseconds) !== zn(d) ? "-" : "";
  1414. return c + "P" + (r ? f + r + "Y" : "") + (a ? f + a + "M" : "") + (o ? m + o + "D" : "") + (u || l || h ? "T" : "") + (u ? _ + u + "H" : "") + (l ? _ + l + "M" : "") + (h ? _ + h + "S" : "")
  1415. }
  1416. var qn = Ht.prototype;
  1417. return qn.isValid = function () {
  1418. return this._isValid
  1419. }, qn.abs = function () {
  1420. var e = this._data;
  1421. return this._milliseconds = wn(this._milliseconds), this._days = wn(this._days), this._months = wn(this._months), e.milliseconds = wn(e.milliseconds), e.seconds = wn(e.seconds), e.minutes = wn(e.minutes), e.hours = wn(e.hours), e.months = wn(e.months), e.years = wn(e.years), this
  1422. }, qn.add = function (e, t) {
  1423. return Mn(this, e, t, 1)
  1424. }, qn.subtract = function (e, t) {
  1425. return Mn(this, e, t, -1)
  1426. }, qn.as = function (e) {
  1427. if (!this.isValid()) return NaN;
  1428. var t, n, s = this._milliseconds;
  1429. if ("month" === (e = H(e)) || "quarter" === e || "year" === e) switch (t = this._days + s / 864e5, n = this._months + Sn(t), e) {
  1430. case "month":
  1431. return n;
  1432. case "quarter":
  1433. return n / 3;
  1434. case "year":
  1435. return n / 12
  1436. } else switch (t = this._days + Math.round(Dn(this._months)), e) {
  1437. case "week":
  1438. return t / 7 + s / 6048e5;
  1439. case "day":
  1440. return t + s / 864e5;
  1441. case "hour":
  1442. return 24 * t + s / 36e5;
  1443. case "minute":
  1444. return 1440 * t + s / 6e4;
  1445. case "second":
  1446. return 86400 * t + s / 1e3;
  1447. case "millisecond":
  1448. return Math.floor(864e5 * t) + s;
  1449. default:
  1450. throw new Error("Unknown unit " + e)
  1451. }
  1452. }, qn.asMilliseconds = On, qn.asSeconds = Tn, qn.asMinutes = bn, qn.asHours = xn, qn.asDays = Pn, qn.asWeeks = Wn, qn.asMonths = Cn, qn.asQuarters = Hn, qn.asYears = Rn, qn.valueOf = function () {
  1453. return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * D(this._months / 12) : NaN
  1454. }, qn._bubble = function () {
  1455. var e, t, n, s, i, r = this._milliseconds,
  1456. a = this._days,
  1457. o = this._months,
  1458. u = this._data;
  1459. return 0 <= r && 0 <= a && 0 <= o || r <= 0 && a <= 0 && o <= 0 || (r += 864e5 * kn(Dn(o) + a), o = a = 0), u.milliseconds = r % 1e3, e = S(r / 1e3), u.seconds = e % 60, t = S(e / 60), u.minutes = t % 60, n = S(t / 60), u.hours = n % 24, o += i = S(Sn(a += S(n / 24))), a -= kn(Dn(i)), s = S(o / 12), o %= 12, u.days = a, u.months = o, u.years = s, this
  1460. }, qn.clone = function () {
  1461. return jt(this)
  1462. }, qn.get = function (e) {
  1463. return e = H(e), this.isValid() ? this[e + "s"]() : NaN
  1464. }, qn.milliseconds = Fn, qn.seconds = Ln, qn.minutes = Nn, qn.hours = Gn, qn.days = Vn, qn.weeks = function () {
  1465. return S(this.days() / 7)
  1466. }, qn.months = En, qn.years = In, qn.humanize = function (e) {
  1467. if (!this.isValid()) return this.localeData().invalidDate();
  1468. var t, n, s, i, r, a, o, u, l, h, d, c = this.localeData(),
  1469. f = (n = !e, s = c, i = jt(t = this).abs(), r = An(i.as("s")), a = An(i.as("m")), o = An(i.as("h")), u = An(i.as("d")), l = An(i.as("M")), h = An(i.as("y")), (d = r <= jn.ss && ["s", r] || r < jn.s && ["ss", r] || a <= 1 && ["m"] || a < jn.m && ["mm", a] || o <= 1 && ["h"] || o < jn.h && ["hh", o] || u <= 1 && ["d"] || u < jn.d && ["dd", u] || l <= 1 && ["M"] || l < jn.M && ["MM", l] || h <= 1 && ["y"] || ["yy", h])[2] = n, d[3] = 0 < +t, d[4] = s, function (e, t, n, s, i) {
  1470. return i.relativeTime(t || 1, !!n, e, s)
  1471. }.apply(null, d));
  1472. return e && (f = c.pastFuture(+this, f)), c.postformat(f)
  1473. }, qn.toISOString = $n, qn.toString = $n, qn.toJSON = $n, qn.locale = Xt, qn.localeData = en, qn.toIsoString = n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", $n), qn.lang = Kt, I("X", 0, 0, "unix"), I("x", 0, 0, "valueOf"), ue("x", se), ue("X", /[+-]?\d+(\.\d{1,3})?/), ce("X", function (e, t, n) {
  1474. n._d = new Date(1e3 * parseFloat(e, 10))
  1475. }), ce("x", function (e, t, n) {
  1476. n._d = new Date(D(e))
  1477. }), c.version = "2.24.0", e = bt, c.fn = mn, c.min = function () {
  1478. return Wt("isBefore", [].slice.call(arguments, 0))
  1479. }, c.max = function () {
  1480. return Wt("isAfter", [].slice.call(arguments, 0))
  1481. }, c.now = function () {
  1482. return Date.now ? Date.now() : +new Date
  1483. }, c.utc = y, c.unix = function (e) {
  1484. return bt(1e3 * e)
  1485. }, c.months = function (e, t) {
  1486. return vn(e, t, "months")
  1487. }, c.isDate = d, c.locale = ut, c.invalid = p, c.duration = jt, c.isMoment = k, c.weekdays = function (e, t, n) {
  1488. return pn(e, t, n, "weekdays")
  1489. }, c.parseZone = function () {
  1490. return bt.apply(null, arguments).parseZone()
  1491. }, c.localeData = ht, c.isDuration = Rt, c.monthsShort = function (e, t) {
  1492. return vn(e, t, "monthsShort")
  1493. }, c.weekdaysMin = function (e, t, n) {
  1494. return pn(e, t, n, "weekdaysMin")
  1495. }, c.defineLocale = lt, c.updateLocale = function (e, t) {
  1496. if (null != t) {
  1497. var n, s, i = st;
  1498. null != (s = ot(e)) && (i = s._config), (n = new P(t = x(i, t))).parentLocale = it[e], it[e] = n, ut(e)
  1499. } else null != it[e] && (null != it[e].parentLocale ? it[e] = it[e].parentLocale : null != it[e] && delete it[e]);
  1500. return it[e]
  1501. }, c.locales = function () {
  1502. return s(it)
  1503. }, c.weekdaysShort = function (e, t, n) {
  1504. return pn(e, t, n, "weekdaysShort")
  1505. }, c.normalizeUnits = H, c.relativeTimeRounding = function (e) {
  1506. return void 0 === e ? An : "function" == typeof e && (An = e, !0)
  1507. }, c.relativeTimeThreshold = function (e, t) {
  1508. return void 0 !== jn[e] && (void 0 === t ? jn[e] : (jn[e] = t, "s" === e && (jn.ss = t - 1), !0))
  1509. }, c.calendarFormat = function (e, t) {
  1510. var n = e.diff(t, "days", !0);
  1511. return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse"
  1512. }, c.prototype = mn, c.HTML5_FMT = {
  1513. DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
  1514. DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
  1515. DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
  1516. DATE: "YYYY-MM-DD",
  1517. TIME: "HH:mm",
  1518. TIME_SECONDS: "HH:mm:ss",
  1519. TIME_MS: "HH:mm:ss.SSS",
  1520. WEEK: "GGGG-[W]WW",
  1521. MONTH: "YYYY-MM"
  1522. }, c
  1523. });