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