lavkach3

Форк
0
3386 строк · 94.3 Кб
1
!(function (e, t) {
2
  "object" == typeof exports && "undefined" != typeof module
3
    ? (module.exports = t())
4
    : "function" == typeof define && define.amd
5
    ? define(t)
6
    : (e.moment = t());
7
})(this, function () {
8
  "use strict";
9
  var H;
10
  function _() {
11
    return H.apply(null, arguments);
12
  }
13
  function y(e) {
14
    return (
15
      e instanceof Array ||
16
      "[object Array]" === Object.prototype.toString.call(e)
17
    );
18
  }
19
  function F(e) {
20
    return null != e && "[object Object]" === Object.prototype.toString.call(e);
21
  }
22
  function c(e, t) {
23
    return Object.prototype.hasOwnProperty.call(e, t);
24
  }
25
  function L(e) {
26
    if (Object.getOwnPropertyNames)
27
      return 0 === Object.getOwnPropertyNames(e).length;
28
    for (var t in e) if (c(e, t)) return;
29
    return 1;
30
  }
31
  function g(e) {
32
    return void 0 === e;
33
  }
34
  function w(e) {
35
    return (
36
      "number" == typeof e ||
37
      "[object Number]" === Object.prototype.toString.call(e)
38
    );
39
  }
40
  function V(e) {
41
    return (
42
      e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
43
    );
44
  }
45
  function G(e, t) {
46
    for (var n = [], s = e.length, i = 0; i < s; ++i) n.push(t(e[i], i));
47
    return n;
48
  }
49
  function E(e, t) {
50
    for (var n in t) c(t, n) && (e[n] = t[n]);
51
    return (
52
      c(t, "toString") && (e.toString = t.toString),
53
      c(t, "valueOf") && (e.valueOf = t.valueOf),
54
      e
55
    );
56
  }
57
  function l(e, t, n, s) {
58
    return Wt(e, t, n, s, !0).utc();
59
  }
60
  function p(e) {
61
    return (
62
      null == e._pf &&
63
        (e._pf = {
64
          empty: !1,
65
          unusedTokens: [],
66
          unusedInput: [],
67
          overflow: -2,
68
          charsLeftOver: 0,
69
          nullInput: !1,
70
          invalidEra: null,
71
          invalidMonth: null,
72
          invalidFormat: !1,
73
          userInvalidated: !1,
74
          iso: !1,
75
          parsedDateParts: [],
76
          era: null,
77
          meridiem: null,
78
          rfc2822: !1,
79
          weekdayMismatch: !1,
80
        }),
81
      e._pf
82
    );
83
  }
84
  function A(e) {
85
    var t,
86
      n,
87
      s = e._d && !isNaN(e._d.getTime());
88
    return (
89
      s &&
90
        ((t = p(e)),
91
        (n = j.call(t.parsedDateParts, function (e) {
92
          return null != e;
93
        })),
94
        (s =
95
          t.overflow < 0 &&
96
          !t.empty &&
97
          !t.invalidEra &&
98
          !t.invalidMonth &&
99
          !t.invalidWeekday &&
100
          !t.weekdayMismatch &&
101
          !t.nullInput &&
102
          !t.invalidFormat &&
103
          !t.userInvalidated &&
104
          (!t.meridiem || (t.meridiem && n))),
105
        e._strict) &&
106
        (s =
107
          s &&
108
          0 === t.charsLeftOver &&
109
          0 === t.unusedTokens.length &&
110
          void 0 === t.bigHour),
111
      null != Object.isFrozen && Object.isFrozen(e)
112
        ? s
113
        : ((e._isValid = s), e._isValid)
114
    );
115
  }
116
  function I(e) {
117
    var t = l(NaN);
118
    return null != e ? E(p(t), e) : (p(t).userInvalidated = !0), t;
119
  }
120
  var j =
121
      Array.prototype.some ||
122
      function (e) {
123
        for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++)
124
          if (s in t && e.call(this, t[s], s, t)) return !0;
125
        return !1;
126
      },
127
    Z = (_.momentProperties = []),
128
    z = !1;
129
  function q(e, t) {
130
    var n,
131
      s,
132
      i,
133
      r = Z.length;
134
    if (
135
      (g(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject),
136
      g(t._i) || (e._i = t._i),
137
      g(t._f) || (e._f = t._f),
138
      g(t._l) || (e._l = t._l),
139
      g(t._strict) || (e._strict = t._strict),
140
      g(t._tzm) || (e._tzm = t._tzm),
141
      g(t._isUTC) || (e._isUTC = t._isUTC),
142
      g(t._offset) || (e._offset = t._offset),
143
      g(t._pf) || (e._pf = p(t)),
144
      g(t._locale) || (e._locale = t._locale),
145
      0 < r)
146
    )
147
      for (n = 0; n < r; n++) g((i = t[(s = Z[n])])) || (e[s] = i);
148
    return e;
149
  }
150
  function $(e) {
151
    q(this, e),
152
      (this._d = new Date(null != e._d ? e._d.getTime() : NaN)),
153
      this.isValid() || (this._d = new Date(NaN)),
154
      !1 === z && ((z = !0), _.updateOffset(this), (z = !1));
155
  }
156
  function k(e) {
157
    return e instanceof $ || (null != e && null != e._isAMomentObject);
158
  }
159
  function B(e) {
160
    !1 === _.suppressDeprecationWarnings &&
161
      "undefined" != typeof console &&
162
      console.warn &&
163
      console.warn("Deprecation warning: " + e);
164
  }
165
  function e(r, a) {
166
    var o = !0;
167
    return E(function () {
168
      if ((null != _.deprecationHandler && _.deprecationHandler(null, r), o)) {
169
        for (var e, t, n = [], s = arguments.length, i = 0; i < s; i++) {
170
          if (((e = ""), "object" == typeof arguments[i])) {
171
            for (t in ((e += "\n[" + i + "] "), arguments[0]))
172
              c(arguments[0], t) && (e += t + ": " + arguments[0][t] + ", ");
173
            e = e.slice(0, -2);
174
          } else e = arguments[i];
175
          n.push(e);
176
        }
177
        B(
178
          r +
179
            "\nArguments: " +
180
            Array.prototype.slice.call(n).join("") +
181
            "\n" +
182
            new Error().stack
183
        ),
184
          (o = !1);
185
      }
186
      return a.apply(this, arguments);
187
    }, a);
188
  }
189
  var J = {};
190
  function Q(e, t) {
191
    null != _.deprecationHandler && _.deprecationHandler(e, t),
192
      J[e] || (B(t), (J[e] = !0));
193
  }
194
  function a(e) {
195
    return (
196
      ("undefined" != typeof Function && e instanceof Function) ||
197
      "[object Function]" === Object.prototype.toString.call(e)
198
    );
199
  }
200
  function X(e, t) {
201
    var n,
202
      s = E({}, e);
203
    for (n in t)
204
      c(t, n) &&
205
        (F(e[n]) && F(t[n])
206
          ? ((s[n] = {}), E(s[n], e[n]), E(s[n], t[n]))
207
          : null != t[n]
208
          ? (s[n] = t[n])
209
          : delete s[n]);
210
    for (n in e) c(e, n) && !c(t, n) && F(e[n]) && (s[n] = E({}, s[n]));
211
    return s;
212
  }
213
  function K(e) {
214
    null != e && this.set(e);
215
  }
216
  (_.suppressDeprecationWarnings = !1), (_.deprecationHandler = null);
217
  var ee =
218
    Object.keys ||
219
    function (e) {
220
      var t,
221
        n = [];
222
      for (t in e) c(e, t) && n.push(t);
223
      return n;
224
    };
225
  function r(e, t, n) {
226
    var s = "" + Math.abs(e);
227
    return (
228
      (0 <= e ? (n ? "+" : "") : "-") +
229
      Math.pow(10, Math.max(0, t - s.length))
230
        .toString()
231
        .substr(1) +
232
      s
233
    );
234
  }
235
  var te =
236
      /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
237
    ne = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
238
    se = {},
239
    ie = {};
240
  function s(e, t, n, s) {
241
    var i =
242
      "string" == typeof s
243
        ? function () {
244
            return this[s]();
245
          }
246
        : s;
247
    e && (ie[e] = i),
248
      t &&
249
        (ie[t[0]] = function () {
250
          return r(i.apply(this, arguments), t[1], t[2]);
251
        }),
252
      n &&
253
        (ie[n] = function () {
254
          return this.localeData().ordinal(i.apply(this, arguments), e);
255
        });
256
  }
257
  function re(e, t) {
258
    return e.isValid()
259
      ? ((t = ae(t, e.localeData())),
260
        (se[t] =
261
          se[t] ||
262
          (function (s) {
263
            for (var e, i = s.match(te), t = 0, r = i.length; t < r; t++)
264
              ie[i[t]]
265
                ? (i[t] = ie[i[t]])
266
                : (i[t] = (e = i[t]).match(/\[[\s\S]/)
267
                    ? e.replace(/^\[|\]$/g, "")
268
                    : e.replace(/\\/g, ""));
269
            return function (e) {
270
              for (var t = "", n = 0; n < r; n++)
271
                t += a(i[n]) ? i[n].call(e, s) : i[n];
272
              return t;
273
            };
274
          })(t)),
275
        se[t](e))
276
      : e.localeData().invalidDate();
277
  }
278
  function ae(e, t) {
279
    var n = 5;
280
    function s(e) {
281
      return t.longDateFormat(e) || e;
282
    }
283
    for (ne.lastIndex = 0; 0 <= n && ne.test(e); )
284
      (e = e.replace(ne, s)), (ne.lastIndex = 0), --n;
285
    return e;
286
  }
287
  var oe = {
288
    D: "date",
289
    dates: "date",
290
    date: "date",
291
    d: "day",
292
    days: "day",
293
    day: "day",
294
    e: "weekday",
295
    weekdays: "weekday",
296
    weekday: "weekday",
297
    E: "isoWeekday",
298
    isoweekdays: "isoWeekday",
299
    isoweekday: "isoWeekday",
300
    DDD: "dayOfYear",
301
    dayofyears: "dayOfYear",
302
    dayofyear: "dayOfYear",
303
    h: "hour",
304
    hours: "hour",
305
    hour: "hour",
306
    ms: "millisecond",
307
    milliseconds: "millisecond",
308
    millisecond: "millisecond",
309
    m: "minute",
310
    minutes: "minute",
311
    minute: "minute",
312
    M: "month",
313
    months: "month",
314
    month: "month",
315
    Q: "quarter",
316
    quarters: "quarter",
317
    quarter: "quarter",
318
    s: "second",
319
    seconds: "second",
320
    second: "second",
321
    gg: "weekYear",
322
    weekyears: "weekYear",
323
    weekyear: "weekYear",
324
    GG: "isoWeekYear",
325
    isoweekyears: "isoWeekYear",
326
    isoweekyear: "isoWeekYear",
327
    w: "week",
328
    weeks: "week",
329
    week: "week",
330
    W: "isoWeek",
331
    isoweeks: "isoWeek",
332
    isoweek: "isoWeek",
333
    y: "year",
334
    years: "year",
335
    year: "year",
336
  };
337
  function o(e) {
338
    return "string" == typeof e ? oe[e] || oe[e.toLowerCase()] : void 0;
339
  }
340
  function ue(e) {
341
    var t,
342
      n,
343
      s = {};
344
    for (n in e) c(e, n) && (t = o(n)) && (s[t] = e[n]);
345
    return s;
346
  }
347
  var le = {
348
    date: 9,
349
    day: 11,
350
    weekday: 11,
351
    isoWeekday: 11,
352
    dayOfYear: 4,
353
    hour: 13,
354
    millisecond: 16,
355
    minute: 14,
356
    month: 8,
357
    quarter: 7,
358
    second: 15,
359
    weekYear: 1,
360
    isoWeekYear: 1,
361
    week: 5,
362
    isoWeek: 5,
363
    year: 1,
364
  };
365
  var de = /\d/,
366
    t = /\d\d/,
367
    he = /\d{3}/,
368
    ce = /\d{4}/,
369
    fe = /[+-]?\d{6}/,
370
    n = /\d\d?/,
371
    me = /\d\d\d\d?/,
372
    _e = /\d\d\d\d\d\d?/,
373
    ye = /\d{1,3}/,
374
    ge = /\d{1,4}/,
375
    we = /[+-]?\d{1,6}/,
376
    pe = /\d+/,
377
    ke = /[+-]?\d+/,
378
    Me = /Z|[+-]\d\d:?\d\d/gi,
379
    ve = /Z|[+-]\d\d(?::?\d\d)?/gi,
380
    i =
381
      /[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,
382
    u = /^[1-9]\d?/,
383
    d = /^([1-9]\d|\d)/;
384
  function h(e, n, s) {
385
    Ye[e] = a(n)
386
      ? n
387
      : function (e, t) {
388
          return e && s ? s : n;
389
        };
390
  }
391
  function De(e, t) {
392
    return c(Ye, e)
393
      ? Ye[e](t._strict, t._locale)
394
      : new RegExp(
395
          f(
396
            e
397
              .replace("\\", "")
398
              .replace(
399
                /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
400
                function (e, t, n, s, i) {
401
                  return t || n || s || i;
402
                }
403
              )
404
          )
405
        );
406
  }
407
  function f(e) {
408
    return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
409
  }
410
  function m(e) {
411
    return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
412
  }
413
  function M(e) {
414
    var e = +e,
415
      t = 0;
416
    return (t = 0 != e && isFinite(e) ? m(e) : t);
417
  }
418
  var Ye = {},
419
    Se = {};
420
  function v(e, n) {
421
    var t,
422
      s,
423
      i = n;
424
    for (
425
      "string" == typeof e && (e = [e]),
426
        w(n) &&
427
          (i = function (e, t) {
428
            t[n] = M(e);
429
          }),
430
        s = e.length,
431
        t = 0;
432
      t < s;
433
      t++
434
    )
435
      Se[e[t]] = i;
436
  }
437
  function Oe(e, i) {
438
    v(e, function (e, t, n, s) {
439
      (n._w = n._w || {}), i(e, n._w, n, s);
440
    });
441
  }
442
  function be(e) {
443
    return (e % 4 == 0 && e % 100 != 0) || e % 400 == 0;
444
  }
445
  var D = 0,
446
    Y = 1,
447
    S = 2,
448
    O = 3,
449
    b = 4,
450
    T = 5,
451
    Te = 6,
452
    xe = 7,
453
    Ne = 8;
454
  function We(e) {
455
    return be(e) ? 366 : 365;
456
  }
457
  s("Y", 0, 0, function () {
458
    var e = this.year();
459
    return e <= 9999 ? r(e, 4) : "+" + e;
460
  }),
461
    s(0, ["YY", 2], 0, function () {
462
      return this.year() % 100;
463
    }),
464
    s(0, ["YYYY", 4], 0, "year"),
465
    s(0, ["YYYYY", 5], 0, "year"),
466
    s(0, ["YYYYYY", 6, !0], 0, "year"),
467
    h("Y", ke),
468
    h("YY", n, t),
469
    h("YYYY", ge, ce),
470
    h("YYYYY", we, fe),
471
    h("YYYYYY", we, fe),
472
    v(["YYYYY", "YYYYYY"], D),
473
    v("YYYY", function (e, t) {
474
      t[D] = 2 === e.length ? _.parseTwoDigitYear(e) : M(e);
475
    }),
476
    v("YY", function (e, t) {
477
      t[D] = _.parseTwoDigitYear(e);
478
    }),
479
    v("Y", function (e, t) {
480
      t[D] = parseInt(e, 10);
481
    }),
482
    (_.parseTwoDigitYear = function (e) {
483
      return M(e) + (68 < M(e) ? 1900 : 2e3);
484
    });
485
  var x,
486
    Pe = Re("FullYear", !0);
487
  function Re(t, n) {
488
    return function (e) {
489
      return null != e
490
        ? (Ue(this, t, e), _.updateOffset(this, n), this)
491
        : Ce(this, t);
492
    };
493
  }
494
  function Ce(e, t) {
495
    if (!e.isValid()) return NaN;
496
    var n = e._d,
497
      s = e._isUTC;
498
    switch (t) {
499
      case "Milliseconds":
500
        return s ? n.getUTCMilliseconds() : n.getMilliseconds();
501
      case "Seconds":
502
        return s ? n.getUTCSeconds() : n.getSeconds();
503
      case "Minutes":
504
        return s ? n.getUTCMinutes() : n.getMinutes();
505
      case "Hours":
506
        return s ? n.getUTCHours() : n.getHours();
507
      case "Date":
508
        return s ? n.getUTCDate() : n.getDate();
509
      case "Day":
510
        return s ? n.getUTCDay() : n.getDay();
511
      case "Month":
512
        return s ? n.getUTCMonth() : n.getMonth();
513
      case "FullYear":
514
        return s ? n.getUTCFullYear() : n.getFullYear();
515
      default:
516
        return NaN;
517
    }
518
  }
519
  function Ue(e, t, n) {
520
    var s, i, r;
521
    if (e.isValid() && !isNaN(n)) {
522
      switch (((s = e._d), (i = e._isUTC), t)) {
523
        case "Milliseconds":
524
          return i ? s.setUTCMilliseconds(n) : s.setMilliseconds(n);
525
        case "Seconds":
526
          return i ? s.setUTCSeconds(n) : s.setSeconds(n);
527
        case "Minutes":
528
          return i ? s.setUTCMinutes(n) : s.setMinutes(n);
529
        case "Hours":
530
          return i ? s.setUTCHours(n) : s.setHours(n);
531
        case "Date":
532
          return i ? s.setUTCDate(n) : s.setDate(n);
533
        case "FullYear":
534
          break;
535
        default:
536
          return;
537
      }
538
      (t = n),
539
        (r = e.month()),
540
        (e = 29 !== (e = e.date()) || 1 !== r || be(t) ? e : 28),
541
        i ? s.setUTCFullYear(t, r, e) : s.setFullYear(t, r, e);
542
    }
543
  }
544
  function He(e, t) {
545
    var n;
546
    return isNaN(e) || isNaN(t)
547
      ? NaN
548
      : ((n = ((t % (n = 12)) + n) % n),
549
        (e += (t - n) / 12),
550
        1 == n ? (be(e) ? 29 : 28) : 31 - ((n % 7) % 2));
551
  }
552
  (x =
553
    Array.prototype.indexOf ||
554
    function (e) {
555
      for (var t = 0; t < this.length; ++t) if (this[t] === e) return t;
556
      return -1;
557
    }),
558
    s("M", ["MM", 2], "Mo", function () {
559
      return this.month() + 1;
560
    }),
561
    s("MMM", 0, 0, function (e) {
562
      return this.localeData().monthsShort(this, e);
563
    }),
564
    s("MMMM", 0, 0, function (e) {
565
      return this.localeData().months(this, e);
566
    }),
567
    h("M", n, u),
568
    h("MM", n, t),
569
    h("MMM", function (e, t) {
570
      return t.monthsShortRegex(e);
571
    }),
572
    h("MMMM", function (e, t) {
573
      return t.monthsRegex(e);
574
    }),
575
    v(["M", "MM"], function (e, t) {
576
      t[Y] = M(e) - 1;
577
    }),
578
    v(["MMM", "MMMM"], function (e, t, n, s) {
579
      s = n._locale.monthsParse(e, s, n._strict);
580
      null != s ? (t[Y] = s) : (p(n).invalidMonth = e);
581
    });
582
  var Fe =
583
      "January_February_March_April_May_June_July_August_September_October_November_December".split(
584
        "_"
585
      ),
586
    Le = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
587
    Ve = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
588
    Ge = i,
589
    Ee = i;
590
  function Ae(e, t) {
591
    if (e.isValid()) {
592
      if ("string" == typeof t)
593
        if (/^\d+$/.test(t)) t = M(t);
594
        else if (!w((t = e.localeData().monthsParse(t)))) return;
595
      var n = (n = e.date()) < 29 ? n : Math.min(n, He(e.year(), t));
596
      e._isUTC ? e._d.setUTCMonth(t, n) : e._d.setMonth(t, n);
597
    }
598
  }
599
  function Ie(e) {
600
    return null != e
601
      ? (Ae(this, e), _.updateOffset(this, !0), this)
602
      : Ce(this, "Month");
603
  }
604
  function je() {
605
    function e(e, t) {
606
      return t.length - e.length;
607
    }
608
    for (var t, n, s = [], i = [], r = [], a = 0; a < 12; a++)
609
      (n = l([2e3, a])),
610
        (t = f(this.monthsShort(n, ""))),
611
        (n = f(this.months(n, ""))),
612
        s.push(t),
613
        i.push(n),
614
        r.push(n),
615
        r.push(t);
616
    s.sort(e),
617
      i.sort(e),
618
      r.sort(e),
619
      (this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i")),
620
      (this._monthsShortRegex = this._monthsRegex),
621
      (this._monthsStrictRegex = new RegExp("^(" + i.join("|") + ")", "i")),
622
      (this._monthsShortStrictRegex = new RegExp(
623
        "^(" + s.join("|") + ")",
624
        "i"
625
      ));
626
  }
627
  function Ze(e, t, n, s, i, r, a) {
628
    var o;
629
    return (
630
      e < 100 && 0 <= e
631
        ? ((o = new Date(e + 400, t, n, s, i, r, a)),
632
          isFinite(o.getFullYear()) && o.setFullYear(e))
633
        : (o = new Date(e, t, n, s, i, r, a)),
634
      o
635
    );
636
  }
637
  function ze(e) {
638
    var t;
639
    return (
640
      e < 100 && 0 <= e
641
        ? (((t = Array.prototype.slice.call(arguments))[0] = e + 400),
642
          (t = new Date(Date.UTC.apply(null, t))),
643
          isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e))
644
        : (t = new Date(Date.UTC.apply(null, arguments))),
645
      t
646
    );
647
  }
648
  function qe(e, t, n) {
649
    n = 7 + t - n;
650
    return n - ((7 + ze(e, 0, n).getUTCDay() - t) % 7) - 1;
651
  }
652
  function $e(e, t, n, s, i) {
653
    var r,
654
      t = 1 + 7 * (t - 1) + ((7 + n - s) % 7) + qe(e, s, i),
655
      n =
656
        t <= 0
657
          ? We((r = e - 1)) + t
658
          : t > We(e)
659
          ? ((r = e + 1), t - We(e))
660
          : ((r = e), t);
661
    return { year: r, dayOfYear: n };
662
  }
663
  function Be(e, t, n) {
664
    var s,
665
      i,
666
      r = qe(e.year(), t, n),
667
      r = Math.floor((e.dayOfYear() - r - 1) / 7) + 1;
668
    return (
669
      r < 1
670
        ? (s = r + N((i = e.year() - 1), t, n))
671
        : r > N(e.year(), t, n)
672
        ? ((s = r - N(e.year(), t, n)), (i = e.year() + 1))
673
        : ((i = e.year()), (s = r)),
674
      { week: s, year: i }
675
    );
676
  }
677
  function N(e, t, n) {
678
    var s = qe(e, t, n),
679
      t = qe(e + 1, t, n);
680
    return (We(e) - s + t) / 7;
681
  }
682
  s("w", ["ww", 2], "wo", "week"),
683
    s("W", ["WW", 2], "Wo", "isoWeek"),
684
    h("w", n, u),
685
    h("ww", n, t),
686
    h("W", n, u),
687
    h("WW", n, t),
688
    Oe(["w", "ww", "W", "WW"], function (e, t, n, s) {
689
      t[s.substr(0, 1)] = M(e);
690
    });
691
  function Je(e, t) {
692
    return e.slice(t, 7).concat(e.slice(0, t));
693
  }
694
  s("d", 0, "do", "day"),
695
    s("dd", 0, 0, function (e) {
696
      return this.localeData().weekdaysMin(this, e);
697
    }),
698
    s("ddd", 0, 0, function (e) {
699
      return this.localeData().weekdaysShort(this, e);
700
    }),
701
    s("dddd", 0, 0, function (e) {
702
      return this.localeData().weekdays(this, e);
703
    }),
704
    s("e", 0, 0, "weekday"),
705
    s("E", 0, 0, "isoWeekday"),
706
    h("d", n),
707
    h("e", n),
708
    h("E", n),
709
    h("dd", function (e, t) {
710
      return t.weekdaysMinRegex(e);
711
    }),
712
    h("ddd", function (e, t) {
713
      return t.weekdaysShortRegex(e);
714
    }),
715
    h("dddd", function (e, t) {
716
      return t.weekdaysRegex(e);
717
    }),
718
    Oe(["dd", "ddd", "dddd"], function (e, t, n, s) {
719
      s = n._locale.weekdaysParse(e, s, n._strict);
720
      null != s ? (t.d = s) : (p(n).invalidWeekday = e);
721
    }),
722
    Oe(["d", "e", "E"], function (e, t, n, s) {
723
      t[s] = M(e);
724
    });
725
  var Qe = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split(
726
      "_"
727
    ),
728
    Xe = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
729
    Ke = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
730
    et = i,
731
    tt = i,
732
    nt = i;
733
  function st() {
734
    function e(e, t) {
735
      return t.length - e.length;
736
    }
737
    for (var t, n, s, i = [], r = [], a = [], o = [], u = 0; u < 7; u++)
738
      (s = l([2e3, 1]).day(u)),
739
        (t = f(this.weekdaysMin(s, ""))),
740
        (n = f(this.weekdaysShort(s, ""))),
741
        (s = f(this.weekdays(s, ""))),
742
        i.push(t),
743
        r.push(n),
744
        a.push(s),
745
        o.push(t),
746
        o.push(n),
747
        o.push(s);
748
    i.sort(e),
749
      r.sort(e),
750
      a.sort(e),
751
      o.sort(e),
752
      (this._weekdaysRegex = new RegExp("^(" + o.join("|") + ")", "i")),
753
      (this._weekdaysShortRegex = this._weekdaysRegex),
754
      (this._weekdaysMinRegex = this._weekdaysRegex),
755
      (this._weekdaysStrictRegex = new RegExp("^(" + a.join("|") + ")", "i")),
756
      (this._weekdaysShortStrictRegex = new RegExp(
757
        "^(" + r.join("|") + ")",
758
        "i"
759
      )),
760
      (this._weekdaysMinStrictRegex = new RegExp(
761
        "^(" + i.join("|") + ")",
762
        "i"
763
      ));
764
  }
765
  function it() {
766
    return this.hours() % 12 || 12;
767
  }
768
  function rt(e, t) {
769
    s(e, 0, 0, function () {
770
      return this.localeData().meridiem(this.hours(), this.minutes(), t);
771
    });
772
  }
773
  function at(e, t) {
774
    return t._meridiemParse;
775
  }
776
  s("H", ["HH", 2], 0, "hour"),
777
    s("h", ["hh", 2], 0, it),
778
    s("k", ["kk", 2], 0, function () {
779
      return this.hours() || 24;
780
    }),
781
    s("hmm", 0, 0, function () {
782
      return "" + it.apply(this) + r(this.minutes(), 2);
783
    }),
784
    s("hmmss", 0, 0, function () {
785
      return "" + it.apply(this) + r(this.minutes(), 2) + r(this.seconds(), 2);
786
    }),
787
    s("Hmm", 0, 0, function () {
788
      return "" + this.hours() + r(this.minutes(), 2);
789
    }),
790
    s("Hmmss", 0, 0, function () {
791
      return "" + this.hours() + r(this.minutes(), 2) + r(this.seconds(), 2);
792
    }),
793
    rt("a", !0),
794
    rt("A", !1),
795
    h("a", at),
796
    h("A", at),
797
    h("H", n, d),
798
    h("h", n, u),
799
    h("k", n, u),
800
    h("HH", n, t),
801
    h("hh", n, t),
802
    h("kk", n, t),
803
    h("hmm", me),
804
    h("hmmss", _e),
805
    h("Hmm", me),
806
    h("Hmmss", _e),
807
    v(["H", "HH"], O),
808
    v(["k", "kk"], function (e, t, n) {
809
      e = M(e);
810
      t[O] = 24 === e ? 0 : e;
811
    }),
812
    v(["a", "A"], function (e, t, n) {
813
      (n._isPm = n._locale.isPM(e)), (n._meridiem = e);
814
    }),
815
    v(["h", "hh"], function (e, t, n) {
816
      (t[O] = M(e)), (p(n).bigHour = !0);
817
    }),
818
    v("hmm", function (e, t, n) {
819
      var s = e.length - 2;
820
      (t[O] = M(e.substr(0, s))), (t[b] = M(e.substr(s))), (p(n).bigHour = !0);
821
    }),
822
    v("hmmss", function (e, t, n) {
823
      var s = e.length - 4,
824
        i = e.length - 2;
825
      (t[O] = M(e.substr(0, s))),
826
        (t[b] = M(e.substr(s, 2))),
827
        (t[T] = M(e.substr(i))),
828
        (p(n).bigHour = !0);
829
    }),
830
    v("Hmm", function (e, t, n) {
831
      var s = e.length - 2;
832
      (t[O] = M(e.substr(0, s))), (t[b] = M(e.substr(s)));
833
    }),
834
    v("Hmmss", function (e, t, n) {
835
      var s = e.length - 4,
836
        i = e.length - 2;
837
      (t[O] = M(e.substr(0, s))),
838
        (t[b] = M(e.substr(s, 2))),
839
        (t[T] = M(e.substr(i)));
840
    });
841
  i = Re("Hours", !0);
842
  var ot,
843
    ut = {
844
      calendar: {
845
        sameDay: "[Today at] LT",
846
        nextDay: "[Tomorrow at] LT",
847
        nextWeek: "dddd [at] LT",
848
        lastDay: "[Yesterday at] LT",
849
        lastWeek: "[Last] dddd [at] LT",
850
        sameElse: "L",
851
      },
852
      longDateFormat: {
853
        LTS: "h:mm:ss A",
854
        LT: "h:mm A",
855
        L: "MM/DD/YYYY",
856
        LL: "MMMM D, YYYY",
857
        LLL: "MMMM D, YYYY h:mm A",
858
        LLLL: "dddd, MMMM D, YYYY h:mm A",
859
      },
860
      invalidDate: "Invalid date",
861
      ordinal: "%d",
862
      dayOfMonthOrdinalParse: /\d{1,2}/,
863
      relativeTime: {
864
        future: "in %s",
865
        past: "%s ago",
866
        s: "a few seconds",
867
        ss: "%d seconds",
868
        m: "a minute",
869
        mm: "%d minutes",
870
        h: "an hour",
871
        hh: "%d hours",
872
        d: "a day",
873
        dd: "%d days",
874
        w: "a week",
875
        ww: "%d weeks",
876
        M: "a month",
877
        MM: "%d months",
878
        y: "a year",
879
        yy: "%d years",
880
      },
881
      months: Fe,
882
      monthsShort: Le,
883
      week: { dow: 0, doy: 6 },
884
      weekdays: Qe,
885
      weekdaysMin: Ke,
886
      weekdaysShort: Xe,
887
      meridiemParse: /[ap]\.?m?\.?/i,
888
    },
889
    W = {},
890
    lt = {};
891
  function dt(e) {
892
    return e && e.toLowerCase().replace("_", "-");
893
  }
894
  function ht(e) {
895
    for (var t, n, s, i, r = 0; r < e.length; ) {
896
      for (
897
        t = (i = dt(e[r]).split("-")).length,
898
          n = (n = dt(e[r + 1])) ? n.split("-") : null;
899
        0 < t;
900

901
      ) {
902
        if ((s = ct(i.slice(0, t).join("-")))) return s;
903
        if (
904
          n &&
905
          n.length >= t &&
906
          (function (e, t) {
907
            for (var n = Math.min(e.length, t.length), s = 0; s < n; s += 1)
908
              if (e[s] !== t[s]) return s;
909
            return n;
910
          })(i, n) >=
911
            t - 1
912
        )
913
          break;
914
        t--;
915
      }
916
      r++;
917
    }
918
    return ot;
919
  }
920
  function ct(t) {
921
    var e, n;
922
    if (
923
      void 0 === W[t] &&
924
      "undefined" != typeof module &&
925
      module &&
926
      module.exports &&
927
      (n = t) &&
928
      n.match("^[^/\\\\]*$")
929
    )
930
      try {
931
        (e = ot._abbr), require("./locale/" + t), ft(e);
932
      } catch (e) {
933
        W[t] = null;
934
      }
935
    return W[t];
936
  }
937
  function ft(e, t) {
938
    return (
939
      e &&
940
        ((t = g(t) ? P(e) : mt(e, t))
941
          ? (ot = t)
942
          : "undefined" != typeof console &&
943
            console.warn &&
944
            console.warn(
945
              "Locale " + e + " not found. Did you forget to load it?"
946
            )),
947
      ot._abbr
948
    );
949
  }
950
  function mt(e, t) {
951
    if (null === t) return delete W[e], null;
952
    var n,
953
      s = ut;
954
    if (((t.abbr = e), null != W[e]))
955
      Q(
956
        "defineLocaleOverride",
957
        "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."
958
      ),
959
        (s = W[e]._config);
960
    else if (null != t.parentLocale)
961
      if (null != W[t.parentLocale]) s = W[t.parentLocale]._config;
962
      else {
963
        if (null == (n = ct(t.parentLocale)))
964
          return (
965
            lt[t.parentLocale] || (lt[t.parentLocale] = []),
966
            lt[t.parentLocale].push({ name: e, config: t }),
967
            null
968
          );
969
        s = n._config;
970
      }
971
    return (
972
      (W[e] = new K(X(s, t))),
973
      lt[e] &&
974
        lt[e].forEach(function (e) {
975
          mt(e.name, e.config);
976
        }),
977
      ft(e),
978
      W[e]
979
    );
980
  }
981
  function P(e) {
982
    var t;
983
    if (!(e = e && e._locale && e._locale._abbr ? e._locale._abbr : e))
984
      return ot;
985
    if (!y(e)) {
986
      if ((t = ct(e))) return t;
987
      e = [e];
988
    }
989
    return ht(e);
990
  }
991
  function _t(e) {
992
    var t = e._a;
993
    return (
994
      t &&
995
        -2 === p(e).overflow &&
996
        ((t =
997
          t[Y] < 0 || 11 < t[Y]
998
            ? Y
999
            : t[S] < 1 || t[S] > He(t[D], t[Y])
1000
            ? S
1001
            : t[O] < 0 ||
1002
              24 < t[O] ||
1003
              (24 === t[O] && (0 !== t[b] || 0 !== t[T] || 0 !== t[Te]))
1004
            ? O
1005
            : t[b] < 0 || 59 < t[b]
1006
            ? b
1007
            : t[T] < 0 || 59 < t[T]
1008
            ? T
1009
            : t[Te] < 0 || 999 < t[Te]
1010
            ? Te
1011
            : -1),
1012
        p(e)._overflowDayOfYear && (t < D || S < t) && (t = S),
1013
        p(e)._overflowWeeks && -1 === t && (t = xe),
1014
        p(e)._overflowWeekday && -1 === t && (t = Ne),
1015
        (p(e).overflow = t)),
1016
      e
1017
    );
1018
  }
1019
  var yt =
1020
      /^\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)?)?$/,
1021
    gt =
1022
      /^\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)?)?$/,
1023
    wt = /Z|[+-]\d\d(?::?\d\d)?/,
1024
    pt = [
1025
      ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1026
      ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1027
      ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
1028
      ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
1029
      ["YYYY-DDD", /\d{4}-\d{3}/],
1030
      ["YYYY-MM", /\d{4}-\d\d/, !1],
1031
      ["YYYYYYMMDD", /[+-]\d{10}/],
1032
      ["YYYYMMDD", /\d{8}/],
1033
      ["GGGG[W]WWE", /\d{4}W\d{3}/],
1034
      ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
1035
      ["YYYYDDD", /\d{7}/],
1036
      ["YYYYMM", /\d{6}/, !1],
1037
      ["YYYY", /\d{4}/, !1],
1038
    ],
1039
    kt = [
1040
      ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1041
      ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1042
      ["HH:mm:ss", /\d\d:\d\d:\d\d/],
1043
      ["HH:mm", /\d\d:\d\d/],
1044
      ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
1045
      ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
1046
      ["HHmmss", /\d\d\d\d\d\d/],
1047
      ["HHmm", /\d\d\d\d/],
1048
      ["HH", /\d\d/],
1049
    ],
1050
    Mt = /^\/?Date\((-?\d+)/i,
1051
    vt =
1052
      /^(?:(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}))$/,
1053
    Dt = {
1054
      UT: 0,
1055
      GMT: 0,
1056
      EDT: -240,
1057
      EST: -300,
1058
      CDT: -300,
1059
      CST: -360,
1060
      MDT: -360,
1061
      MST: -420,
1062
      PDT: -420,
1063
      PST: -480,
1064
    };
1065
  function Yt(e) {
1066
    var t,
1067
      n,
1068
      s,
1069
      i,
1070
      r,
1071
      a,
1072
      o = e._i,
1073
      u = yt.exec(o) || gt.exec(o),
1074
      o = pt.length,
1075
      l = kt.length;
1076
    if (u) {
1077
      for (p(e).iso = !0, t = 0, n = o; t < n; t++)
1078
        if (pt[t][1].exec(u[1])) {
1079
          (i = pt[t][0]), (s = !1 !== pt[t][2]);
1080
          break;
1081
        }
1082
      if (null == i) e._isValid = !1;
1083
      else {
1084
        if (u[3]) {
1085
          for (t = 0, n = l; t < n; t++)
1086
            if (kt[t][1].exec(u[3])) {
1087
              r = (u[2] || " ") + kt[t][0];
1088
              break;
1089
            }
1090
          if (null == r) return void (e._isValid = !1);
1091
        }
1092
        if (s || null == r) {
1093
          if (u[4]) {
1094
            if (!wt.exec(u[4])) return void (e._isValid = !1);
1095
            a = "Z";
1096
          }
1097
          (e._f = i + (r || "") + (a || "")), xt(e);
1098
        } else e._isValid = !1;
1099
      }
1100
    } else e._isValid = !1;
1101
  }
1102
  function St(e, t, n, s, i, r) {
1103
    e = [
1104
      (function (e) {
1105
        e = parseInt(e, 10);
1106
        {
1107
          if (e <= 49) return 2e3 + e;
1108
          if (e <= 999) return 1900 + e;
1109
        }
1110
        return e;
1111
      })(e),
1112
      Le.indexOf(t),
1113
      parseInt(n, 10),
1114
      parseInt(s, 10),
1115
      parseInt(i, 10),
1116
    ];
1117
    return r && e.push(parseInt(r, 10)), e;
1118
  }
1119
  function Ot(e) {
1120
    var t,
1121
      n,
1122
      s = vt.exec(
1123
        e._i
1124
          .replace(/\([^()]*\)|[\n\t]/g, " ")
1125
          .replace(/(\s\s+)/g, " ")
1126
          .replace(/^\s\s*/, "")
1127
          .replace(/\s\s*$/, "")
1128
      );
1129
    s
1130
      ? ((t = St(s[4], s[3], s[2], s[5], s[6], s[7])),
1131
        (function (e, t, n) {
1132
          if (!e || Xe.indexOf(e) === new Date(t[0], t[1], t[2]).getDay())
1133
            return 1;
1134
          (p(n).weekdayMismatch = !0), (n._isValid = !1);
1135
        })(s[1], t, e) &&
1136
          ((e._a = t),
1137
          (e._tzm =
1138
            ((t = s[8]),
1139
            (n = s[9]),
1140
            (s = s[10]),
1141
            t
1142
              ? Dt[t]
1143
              : n
1144
              ? 0
1145
              : 60 * (((t = parseInt(s, 10)) - (n = t % 100)) / 100) + n)),
1146
          (e._d = ze.apply(null, e._a)),
1147
          e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm),
1148
          (p(e).rfc2822 = !0)))
1149
      : (e._isValid = !1);
1150
  }
1151
  function bt(e, t, n) {
1152
    return null != e ? e : null != t ? t : n;
1153
  }
1154
  function Tt(e) {
1155
    var t,
1156
      n,
1157
      s,
1158
      i,
1159
      r,
1160
      a,
1161
      o,
1162
      u,
1163
      l,
1164
      d,
1165
      h,
1166
      c = [];
1167
    if (!e._d) {
1168
      for (
1169
        s = e,
1170
          i = new Date(_.now()),
1171
          n = s._useUTC
1172
            ? [i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()]
1173
            : [i.getFullYear(), i.getMonth(), i.getDate()],
1174
          e._w &&
1175
            null == e._a[S] &&
1176
            null == e._a[Y] &&
1177
            (null != (i = (s = e)._w).GG || null != i.W || null != i.E
1178
              ? ((u = 1),
1179
                (l = 4),
1180
                (r = bt(i.GG, s._a[D], Be(R(), 1, 4).year)),
1181
                (a = bt(i.W, 1)),
1182
                ((o = bt(i.E, 1)) < 1 || 7 < o) && (d = !0))
1183
              : ((u = s._locale._week.dow),
1184
                (l = s._locale._week.doy),
1185
                (h = Be(R(), u, l)),
1186
                (r = bt(i.gg, s._a[D], h.year)),
1187
                (a = bt(i.w, h.week)),
1188
                null != i.d
1189
                  ? ((o = i.d) < 0 || 6 < o) && (d = !0)
1190
                  : null != i.e
1191
                  ? ((o = i.e + u), (i.e < 0 || 6 < i.e) && (d = !0))
1192
                  : (o = u)),
1193
            a < 1 || a > N(r, u, l)
1194
              ? (p(s)._overflowWeeks = !0)
1195
              : null != d
1196
              ? (p(s)._overflowWeekday = !0)
1197
              : ((h = $e(r, a, o, u, l)),
1198
                (s._a[D] = h.year),
1199
                (s._dayOfYear = h.dayOfYear))),
1200
          null != e._dayOfYear &&
1201
            ((i = bt(e._a[D], n[D])),
1202
            (e._dayOfYear > We(i) || 0 === e._dayOfYear) &&
1203
              (p(e)._overflowDayOfYear = !0),
1204
            (d = ze(i, 0, e._dayOfYear)),
1205
            (e._a[Y] = d.getUTCMonth()),
1206
            (e._a[S] = d.getUTCDate())),
1207
          t = 0;
1208
        t < 3 && null == e._a[t];
1209
        ++t
1210
      )
1211
        e._a[t] = c[t] = n[t];
1212
      for (; t < 7; t++)
1213
        e._a[t] = c[t] = null == e._a[t] ? (2 === t ? 1 : 0) : e._a[t];
1214
      24 === e._a[O] &&
1215
        0 === e._a[b] &&
1216
        0 === e._a[T] &&
1217
        0 === e._a[Te] &&
1218
        ((e._nextDay = !0), (e._a[O] = 0)),
1219
        (e._d = (e._useUTC ? ze : Ze).apply(null, c)),
1220
        (r = e._useUTC ? e._d.getUTCDay() : e._d.getDay()),
1221
        null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm),
1222
        e._nextDay && (e._a[O] = 24),
1223
        e._w &&
1224
          void 0 !== e._w.d &&
1225
          e._w.d !== r &&
1226
          (p(e).weekdayMismatch = !0);
1227
    }
1228
  }
1229
  function xt(e) {
1230
    if (e._f === _.ISO_8601) Yt(e);
1231
    else if (e._f === _.RFC_2822) Ot(e);
1232
    else {
1233
      (e._a = []), (p(e).empty = !0);
1234
      for (
1235
        var t,
1236
          n,
1237
          s,
1238
          i,
1239
          r,
1240
          a = "" + e._i,
1241
          o = a.length,
1242
          u = 0,
1243
          l = ae(e._f, e._locale).match(te) || [],
1244
          d = l.length,
1245
          h = 0;
1246
        h < d;
1247
        h++
1248
      )
1249
        (n = l[h]),
1250
          (t = (a.match(De(n, e)) || [])[0]) &&
1251
            (0 < (s = a.substr(0, a.indexOf(t))).length &&
1252
              p(e).unusedInput.push(s),
1253
            (a = a.slice(a.indexOf(t) + t.length)),
1254
            (u += t.length)),
1255
          ie[n]
1256
            ? (t ? (p(e).empty = !1) : p(e).unusedTokens.push(n),
1257
              (s = n),
1258
              (r = e),
1259
              null != (i = t) && c(Se, s) && Se[s](i, r._a, r, s))
1260
            : e._strict && !t && p(e).unusedTokens.push(n);
1261
      (p(e).charsLeftOver = o - u),
1262
        0 < a.length && p(e).unusedInput.push(a),
1263
        e._a[O] <= 12 &&
1264
          !0 === p(e).bigHour &&
1265
          0 < e._a[O] &&
1266
          (p(e).bigHour = void 0),
1267
        (p(e).parsedDateParts = e._a.slice(0)),
1268
        (p(e).meridiem = e._meridiem),
1269
        (e._a[O] = (function (e, t, n) {
1270
          if (null == n) return t;
1271
          return null != e.meridiemHour
1272
            ? e.meridiemHour(t, n)
1273
            : null != e.isPM
1274
            ? ((e = e.isPM(n)) && t < 12 && (t += 12),
1275
              (t = e || 12 !== t ? t : 0))
1276
            : t;
1277
        })(e._locale, e._a[O], e._meridiem)),
1278
        null !== (o = p(e).era) &&
1279
          (e._a[D] = e._locale.erasConvertYear(o, e._a[D])),
1280
        Tt(e),
1281
        _t(e);
1282
    }
1283
  }
1284
  function Nt(e) {
1285
    var t,
1286
      n,
1287
      s,
1288
      i = e._i,
1289
      r = e._f;
1290
    if (
1291
      ((e._locale = e._locale || P(e._l)),
1292
      null === i || (void 0 === r && "" === i))
1293
    )
1294
      return I({ nullInput: !0 });
1295
    if (("string" == typeof i && (e._i = i = e._locale.preparse(i)), k(i)))
1296
      return new $(_t(i));
1297
    if (V(i)) e._d = i;
1298
    else if (y(r)) {
1299
      var a,
1300
        o,
1301
        u,
1302
        l,
1303
        d,
1304
        h,
1305
        c = e,
1306
        f = !1,
1307
        m = c._f.length;
1308
      if (0 === m) (p(c).invalidFormat = !0), (c._d = new Date(NaN));
1309
      else {
1310
        for (l = 0; l < m; l++)
1311
          (d = 0),
1312
            (h = !1),
1313
            (a = q({}, c)),
1314
            null != c._useUTC && (a._useUTC = c._useUTC),
1315
            (a._f = c._f[l]),
1316
            xt(a),
1317
            A(a) && (h = !0),
1318
            (d = (d += p(a).charsLeftOver) + 10 * p(a).unusedTokens.length),
1319
            (p(a).score = d),
1320
            f
1321
              ? d < u && ((u = d), (o = a))
1322
              : (null == u || d < u || h) && ((u = d), (o = a), h) && (f = !0);
1323
        E(c, o || a);
1324
      }
1325
    } else if (r) xt(e);
1326
    else if (g((r = (i = e)._i))) i._d = new Date(_.now());
1327
    else
1328
      V(r)
1329
        ? (i._d = new Date(r.valueOf()))
1330
        : "string" == typeof r
1331
        ? ((n = i),
1332
          null !== (t = Mt.exec(n._i))
1333
            ? (n._d = new Date(+t[1]))
1334
            : (Yt(n),
1335
              !1 === n._isValid &&
1336
                (delete n._isValid, Ot(n), !1 === n._isValid) &&
1337
                (delete n._isValid,
1338
                n._strict ? (n._isValid = !1) : _.createFromInputFallback(n))))
1339
        : y(r)
1340
        ? ((i._a = G(r.slice(0), function (e) {
1341
            return parseInt(e, 10);
1342
          })),
1343
          Tt(i))
1344
        : F(r)
1345
        ? (t = i)._d ||
1346
          ((s = void 0 === (n = ue(t._i)).day ? n.date : n.day),
1347
          (t._a = G(
1348
            [n.year, n.month, s, n.hour, n.minute, n.second, n.millisecond],
1349
            function (e) {
1350
              return e && parseInt(e, 10);
1351
            }
1352
          )),
1353
          Tt(t))
1354
        : w(r)
1355
        ? (i._d = new Date(r))
1356
        : _.createFromInputFallback(i);
1357
    return A(e) || (e._d = null), e;
1358
  }
1359
  function Wt(e, t, n, s, i) {
1360
    var r = {};
1361
    return (
1362
      (!0 !== t && !1 !== t) || ((s = t), (t = void 0)),
1363
      (!0 !== n && !1 !== n) || ((s = n), (n = void 0)),
1364
      ((F(e) && L(e)) || (y(e) && 0 === e.length)) && (e = void 0),
1365
      (r._isAMomentObject = !0),
1366
      (r._useUTC = r._isUTC = i),
1367
      (r._l = n),
1368
      (r._i = e),
1369
      (r._f = t),
1370
      (r._strict = s),
1371
      (i = new $(_t(Nt((i = r)))))._nextDay &&
1372
        (i.add(1, "d"), (i._nextDay = void 0)),
1373
      i
1374
    );
1375
  }
1376
  function R(e, t, n, s) {
1377
    return Wt(e, t, n, s, !1);
1378
  }
1379
  (_.createFromInputFallback = e(
1380
    "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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
1381
    function (e) {
1382
      e._d = new Date(e._i + (e._useUTC ? " UTC" : ""));
1383
    }
1384
  )),
1385
    (_.ISO_8601 = function () {}),
1386
    (_.RFC_2822 = function () {});
1387
  (me = e(
1388
    "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1389
    function () {
1390
      var e = R.apply(null, arguments);
1391
      return this.isValid() && e.isValid() ? (e < this ? this : e) : I();
1392
    }
1393
  )),
1394
    (_e = e(
1395
      "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1396
      function () {
1397
        var e = R.apply(null, arguments);
1398
        return this.isValid() && e.isValid() ? (this < e ? this : e) : I();
1399
      }
1400
    ));
1401
  function Pt(e, t) {
1402
    var n, s;
1403
    if (!(t = 1 === t.length && y(t[0]) ? t[0] : t).length) return R();
1404
    for (n = t[0], s = 1; s < t.length; ++s)
1405
      (t[s].isValid() && !t[s][e](n)) || (n = t[s]);
1406
    return n;
1407
  }
1408
  var Rt = [
1409
    "year",
1410
    "quarter",
1411
    "month",
1412
    "week",
1413
    "day",
1414
    "hour",
1415
    "minute",
1416
    "second",
1417
    "millisecond",
1418
  ];
1419
  function Ct(e) {
1420
    var e = ue(e),
1421
      t = e.year || 0,
1422
      n = e.quarter || 0,
1423
      s = e.month || 0,
1424
      i = e.week || e.isoWeek || 0,
1425
      r = e.day || 0,
1426
      a = e.hour || 0,
1427
      o = e.minute || 0,
1428
      u = e.second || 0,
1429
      l = e.millisecond || 0;
1430
    (this._isValid = (function (e) {
1431
      var t,
1432
        n,
1433
        s = !1,
1434
        i = Rt.length;
1435
      for (t in e)
1436
        if (c(e, t) && (-1 === x.call(Rt, t) || (null != e[t] && isNaN(e[t]))))
1437
          return !1;
1438
      for (n = 0; n < i; ++n)
1439
        if (e[Rt[n]]) {
1440
          if (s) return !1;
1441
          parseFloat(e[Rt[n]]) !== M(e[Rt[n]]) && (s = !0);
1442
        }
1443
      return !0;
1444
    })(e)),
1445
      (this._milliseconds = +l + 1e3 * u + 6e4 * o + 1e3 * a * 60 * 60),
1446
      (this._days = +r + 7 * i),
1447
      (this._months = +s + 3 * n + 12 * t),
1448
      (this._data = {}),
1449
      (this._locale = P()),
1450
      this._bubble();
1451
  }
1452
  function Ut(e) {
1453
    return e instanceof Ct;
1454
  }
1455
  function Ht(e) {
1456
    return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e);
1457
  }
1458
  function Ft(e, n) {
1459
    s(e, 0, 0, function () {
1460
      var e = this.utcOffset(),
1461
        t = "+";
1462
      return (
1463
        e < 0 && ((e = -e), (t = "-")),
1464
        t + r(~~(e / 60), 2) + n + r(~~e % 60, 2)
1465
      );
1466
    });
1467
  }
1468
  Ft("Z", ":"),
1469
    Ft("ZZ", ""),
1470
    h("Z", ve),
1471
    h("ZZ", ve),
1472
    v(["Z", "ZZ"], function (e, t, n) {
1473
      (n._useUTC = !0), (n._tzm = Vt(ve, e));
1474
    });
1475
  var Lt = /([\+\-]|\d\d)/gi;
1476
  function Vt(e, t) {
1477
    var t = (t || "").match(e);
1478
    return null === t
1479
      ? null
1480
      : 0 ===
1481
        (t =
1482
          60 *
1483
            (e = ((t[t.length - 1] || []) + "").match(Lt) || ["-", 0, 0])[1] +
1484
          M(e[2]))
1485
      ? 0
1486
      : "+" === e[0]
1487
      ? t
1488
      : -t;
1489
  }
1490
  function Gt(e, t) {
1491
    var n;
1492
    return t._isUTC
1493
      ? ((t = t.clone()),
1494
        (n = (k(e) || V(e) ? e : R(e)).valueOf() - t.valueOf()),
1495
        t._d.setTime(t._d.valueOf() + n),
1496
        _.updateOffset(t, !1),
1497
        t)
1498
      : R(e).local();
1499
  }
1500
  function Et(e) {
1501
    return -Math.round(e._d.getTimezoneOffset());
1502
  }
1503
  function At() {
1504
    return !!this.isValid() && this._isUTC && 0 === this._offset;
1505
  }
1506
  _.updateOffset = function () {};
1507
  var It = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1508
    jt =
1509
      /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1510
  function C(e, t) {
1511
    var n,
1512
      s = e;
1513
    return (
1514
      Ut(e)
1515
        ? (s = { ms: e._milliseconds, d: e._days, M: e._months })
1516
        : w(e) || !isNaN(+e)
1517
        ? ((s = {}), t ? (s[t] = +e) : (s.milliseconds = +e))
1518
        : (t = It.exec(e))
1519
        ? ((n = "-" === t[1] ? -1 : 1),
1520
          (s = {
1521
            y: 0,
1522
            d: M(t[S]) * n,
1523
            h: M(t[O]) * n,
1524
            m: M(t[b]) * n,
1525
            s: M(t[T]) * n,
1526
            ms: M(Ht(1e3 * t[Te])) * n,
1527
          }))
1528
        : (t = jt.exec(e))
1529
        ? ((n = "-" === t[1] ? -1 : 1),
1530
          (s = {
1531
            y: Zt(t[2], n),
1532
            M: Zt(t[3], n),
1533
            w: Zt(t[4], n),
1534
            d: Zt(t[5], n),
1535
            h: Zt(t[6], n),
1536
            m: Zt(t[7], n),
1537
            s: Zt(t[8], n),
1538
          }))
1539
        : null == s
1540
        ? (s = {})
1541
        : "object" == typeof s &&
1542
          ("from" in s || "to" in s) &&
1543
          ((t = (function (e, t) {
1544
            var n;
1545
            if (!e.isValid() || !t.isValid())
1546
              return { milliseconds: 0, months: 0 };
1547
            (t = Gt(t, e)),
1548
              e.isBefore(t)
1549
                ? (n = zt(e, t))
1550
                : (((n = zt(t, e)).milliseconds = -n.milliseconds),
1551
                  (n.months = -n.months));
1552
            return n;
1553
          })(R(s.from), R(s.to))),
1554
          ((s = {}).ms = t.milliseconds),
1555
          (s.M = t.months)),
1556
      (n = new Ct(s)),
1557
      Ut(e) && c(e, "_locale") && (n._locale = e._locale),
1558
      Ut(e) && c(e, "_isValid") && (n._isValid = e._isValid),
1559
      n
1560
    );
1561
  }
1562
  function Zt(e, t) {
1563
    e = e && parseFloat(e.replace(",", "."));
1564
    return (isNaN(e) ? 0 : e) * t;
1565
  }
1566
  function zt(e, t) {
1567
    var n = {};
1568
    return (
1569
      (n.months = t.month() - e.month() + 12 * (t.year() - e.year())),
1570
      e.clone().add(n.months, "M").isAfter(t) && --n.months,
1571
      (n.milliseconds = +t - +e.clone().add(n.months, "M")),
1572
      n
1573
    );
1574
  }
1575
  function qt(s, i) {
1576
    return function (e, t) {
1577
      var n;
1578
      return (
1579
        null === t ||
1580
          isNaN(+t) ||
1581
          (Q(
1582
            i,
1583
            "moment()." +
1584
              i +
1585
              "(period, number) is deprecated. Please use moment()." +
1586
              i +
1587
              "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
1588
          ),
1589
          (n = e),
1590
          (e = t),
1591
          (t = n)),
1592
        $t(this, C(e, t), s),
1593
        this
1594
      );
1595
    };
1596
  }
1597
  function $t(e, t, n, s) {
1598
    var i = t._milliseconds,
1599
      r = Ht(t._days),
1600
      t = Ht(t._months);
1601
    e.isValid() &&
1602
      ((s = null == s || s),
1603
      t && Ae(e, Ce(e, "Month") + t * n),
1604
      r && Ue(e, "Date", Ce(e, "Date") + r * n),
1605
      i && e._d.setTime(e._d.valueOf() + i * n),
1606
      s) &&
1607
      _.updateOffset(e, r || t);
1608
  }
1609
  (C.fn = Ct.prototype),
1610
    (C.invalid = function () {
1611
      return C(NaN);
1612
    });
1613
  (Fe = qt(1, "add")), (Qe = qt(-1, "subtract"));
1614
  function Bt(e) {
1615
    return "string" == typeof e || e instanceof String;
1616
  }
1617
  function Jt(e) {
1618
    return (
1619
      k(e) ||
1620
      V(e) ||
1621
      Bt(e) ||
1622
      w(e) ||
1623
      (function (t) {
1624
        var e = y(t),
1625
          n = !1;
1626
        e &&
1627
          (n =
1628
            0 ===
1629
            t.filter(function (e) {
1630
              return !w(e) && Bt(t);
1631
            }).length);
1632
        return e && n;
1633
      })(e) ||
1634
      (function (e) {
1635
        var t,
1636
          n,
1637
          s = F(e) && !L(e),
1638
          i = !1,
1639
          r = [
1640
            "years",
1641
            "year",
1642
            "y",
1643
            "months",
1644
            "month",
1645
            "M",
1646
            "days",
1647
            "day",
1648
            "d",
1649
            "dates",
1650
            "date",
1651
            "D",
1652
            "hours",
1653
            "hour",
1654
            "h",
1655
            "minutes",
1656
            "minute",
1657
            "m",
1658
            "seconds",
1659
            "second",
1660
            "s",
1661
            "milliseconds",
1662
            "millisecond",
1663
            "ms",
1664
          ],
1665
          a = r.length;
1666
        for (t = 0; t < a; t += 1) (n = r[t]), (i = i || c(e, n));
1667
        return s && i;
1668
      })(e) ||
1669
      null == e
1670
    );
1671
  }
1672
  function Qt(e, t) {
1673
    var n, s;
1674
    return e.date() < t.date()
1675
      ? -Qt(t, e)
1676
      : -(
1677
          (n = 12 * (t.year() - e.year()) + (t.month() - e.month())) +
1678
          (t - (s = e.clone().add(n, "months")) < 0
1679
            ? (t - s) / (s - e.clone().add(n - 1, "months"))
1680
            : (t - s) / (e.clone().add(1 + n, "months") - s))
1681
        ) || 0;
1682
  }
1683
  function Xt(e) {
1684
    return void 0 === e
1685
      ? this._locale._abbr
1686
      : (null != (e = P(e)) && (this._locale = e), this);
1687
  }
1688
  (_.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ"),
1689
    (_.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]");
1690
  Ke = e(
1691
    "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1692
    function (e) {
1693
      return void 0 === e ? this.localeData() : this.locale(e);
1694
    }
1695
  );
1696
  function Kt() {
1697
    return this._locale;
1698
  }
1699
  var en = 126227808e5;
1700
  function tn(e, t) {
1701
    return ((e % t) + t) % t;
1702
  }
1703
  function nn(e, t, n) {
1704
    return e < 100 && 0 <= e
1705
      ? new Date(e + 400, t, n) - en
1706
      : new Date(e, t, n).valueOf();
1707
  }
1708
  function sn(e, t, n) {
1709
    return e < 100 && 0 <= e ? Date.UTC(e + 400, t, n) - en : Date.UTC(e, t, n);
1710
  }
1711
  function rn(e, t) {
1712
    return t.erasAbbrRegex(e);
1713
  }
1714
  function an() {
1715
    for (
1716
      var e,
1717
        t,
1718
        n,
1719
        s = [],
1720
        i = [],
1721
        r = [],
1722
        a = [],
1723
        o = this.eras(),
1724
        u = 0,
1725
        l = o.length;
1726
      u < l;
1727
      ++u
1728
    )
1729
      (e = f(o[u].name)),
1730
        (t = f(o[u].abbr)),
1731
        (n = f(o[u].narrow)),
1732
        i.push(e),
1733
        s.push(t),
1734
        r.push(n),
1735
        a.push(e),
1736
        a.push(t),
1737
        a.push(n);
1738
    (this._erasRegex = new RegExp("^(" + a.join("|") + ")", "i")),
1739
      (this._erasNameRegex = new RegExp("^(" + i.join("|") + ")", "i")),
1740
      (this._erasAbbrRegex = new RegExp("^(" + s.join("|") + ")", "i")),
1741
      (this._erasNarrowRegex = new RegExp("^(" + r.join("|") + ")", "i"));
1742
  }
1743
  function on(e, t) {
1744
    s(0, [e, e.length], 0, t);
1745
  }
1746
  function un(e, t, n, s, i) {
1747
    var r;
1748
    return null == e
1749
      ? Be(this, s, i).year
1750
      : ((r = N(e, s, i)),
1751
        function (e, t, n, s, i) {
1752
          (e = $e(e, t, n, s, i)), (t = ze(e.year, 0, e.dayOfYear));
1753
          return (
1754
            this.year(t.getUTCFullYear()),
1755
            this.month(t.getUTCMonth()),
1756
            this.date(t.getUTCDate()),
1757
            this
1758
          );
1759
        }.call(this, e, (t = r < t ? r : t), n, s, i));
1760
  }
1761
  s("N", 0, 0, "eraAbbr"),
1762
    s("NN", 0, 0, "eraAbbr"),
1763
    s("NNN", 0, 0, "eraAbbr"),
1764
    s("NNNN", 0, 0, "eraName"),
1765
    s("NNNNN", 0, 0, "eraNarrow"),
1766
    s("y", ["y", 1], "yo", "eraYear"),
1767
    s("y", ["yy", 2], 0, "eraYear"),
1768
    s("y", ["yyy", 3], 0, "eraYear"),
1769
    s("y", ["yyyy", 4], 0, "eraYear"),
1770
    h("N", rn),
1771
    h("NN", rn),
1772
    h("NNN", rn),
1773
    h("NNNN", function (e, t) {
1774
      return t.erasNameRegex(e);
1775
    }),
1776
    h("NNNNN", function (e, t) {
1777
      return t.erasNarrowRegex(e);
1778
    }),
1779
    v(["N", "NN", "NNN", "NNNN", "NNNNN"], function (e, t, n, s) {
1780
      s = n._locale.erasParse(e, s, n._strict);
1781
      s ? (p(n).era = s) : (p(n).invalidEra = e);
1782
    }),
1783
    h("y", pe),
1784
    h("yy", pe),
1785
    h("yyy", pe),
1786
    h("yyyy", pe),
1787
    h("yo", function (e, t) {
1788
      return t._eraYearOrdinalRegex || pe;
1789
    }),
1790
    v(["y", "yy", "yyy", "yyyy"], D),
1791
    v(["yo"], function (e, t, n, s) {
1792
      var i;
1793
      n._locale._eraYearOrdinalRegex &&
1794
        (i = e.match(n._locale._eraYearOrdinalRegex)),
1795
        n._locale.eraYearOrdinalParse
1796
          ? (t[D] = n._locale.eraYearOrdinalParse(e, i))
1797
          : (t[D] = parseInt(e, 10));
1798
    }),
1799
    s(0, ["gg", 2], 0, function () {
1800
      return this.weekYear() % 100;
1801
    }),
1802
    s(0, ["GG", 2], 0, function () {
1803
      return this.isoWeekYear() % 100;
1804
    }),
1805
    on("gggg", "weekYear"),
1806
    on("ggggg", "weekYear"),
1807
    on("GGGG", "isoWeekYear"),
1808
    on("GGGGG", "isoWeekYear"),
1809
    h("G", ke),
1810
    h("g", ke),
1811
    h("GG", n, t),
1812
    h("gg", n, t),
1813
    h("GGGG", ge, ce),
1814
    h("gggg", ge, ce),
1815
    h("GGGGG", we, fe),
1816
    h("ggggg", we, fe),
1817
    Oe(["gggg", "ggggg", "GGGG", "GGGGG"], function (e, t, n, s) {
1818
      t[s.substr(0, 2)] = M(e);
1819
    }),
1820
    Oe(["gg", "GG"], function (e, t, n, s) {
1821
      t[s] = _.parseTwoDigitYear(e);
1822
    }),
1823
    s("Q", 0, "Qo", "quarter"),
1824
    h("Q", de),
1825
    v("Q", function (e, t) {
1826
      t[Y] = 3 * (M(e) - 1);
1827
    }),
1828
    s("D", ["DD", 2], "Do", "date"),
1829
    h("D", n, u),
1830
    h("DD", n, t),
1831
    h("Do", function (e, t) {
1832
      return e
1833
        ? t._dayOfMonthOrdinalParse || t._ordinalParse
1834
        : t._dayOfMonthOrdinalParseLenient;
1835
    }),
1836
    v(["D", "DD"], S),
1837
    v("Do", function (e, t) {
1838
      t[S] = M(e.match(n)[0]);
1839
    });
1840
  ge = Re("Date", !0);
1841
  s("DDD", ["DDDD", 3], "DDDo", "dayOfYear"),
1842
    h("DDD", ye),
1843
    h("DDDD", he),
1844
    v(["DDD", "DDDD"], function (e, t, n) {
1845
      n._dayOfYear = M(e);
1846
    }),
1847
    s("m", ["mm", 2], 0, "minute"),
1848
    h("m", n, d),
1849
    h("mm", n, t),
1850
    v(["m", "mm"], b);
1851
  var ln,
1852
    ce = Re("Minutes", !1),
1853
    we =
1854
      (s("s", ["ss", 2], 0, "second"),
1855
      h("s", n, d),
1856
      h("ss", n, t),
1857
      v(["s", "ss"], T),
1858
      Re("Seconds", !1));
1859
  for (
1860
    s("S", 0, 0, function () {
1861
      return ~~(this.millisecond() / 100);
1862
    }),
1863
      s(0, ["SS", 2], 0, function () {
1864
        return ~~(this.millisecond() / 10);
1865
      }),
1866
      s(0, ["SSS", 3], 0, "millisecond"),
1867
      s(0, ["SSSS", 4], 0, function () {
1868
        return 10 * this.millisecond();
1869
      }),
1870
      s(0, ["SSSSS", 5], 0, function () {
1871
        return 100 * this.millisecond();
1872
      }),
1873
      s(0, ["SSSSSS", 6], 0, function () {
1874
        return 1e3 * this.millisecond();
1875
      }),
1876
      s(0, ["SSSSSSS", 7], 0, function () {
1877
        return 1e4 * this.millisecond();
1878
      }),
1879
      s(0, ["SSSSSSSS", 8], 0, function () {
1880
        return 1e5 * this.millisecond();
1881
      }),
1882
      s(0, ["SSSSSSSSS", 9], 0, function () {
1883
        return 1e6 * this.millisecond();
1884
      }),
1885
      h("S", ye, de),
1886
      h("SS", ye, t),
1887
      h("SSS", ye, he),
1888
      ln = "SSSS";
1889
    ln.length <= 9;
1890
    ln += "S"
1891
  )
1892
    h(ln, pe);
1893
  function dn(e, t) {
1894
    t[Te] = M(1e3 * ("0." + e));
1895
  }
1896
  for (ln = "S"; ln.length <= 9; ln += "S") v(ln, dn);
1897
  (fe = Re("Milliseconds", !1)),
1898
    s("z", 0, 0, "zoneAbbr"),
1899
    s("zz", 0, 0, "zoneName");
1900
  u = $.prototype;
1901
  function hn(e) {
1902
    return e;
1903
  }
1904
  (u.add = Fe),
1905
    (u.calendar = function (e, t) {
1906
      1 === arguments.length &&
1907
        (arguments[0]
1908
          ? Jt(arguments[0])
1909
            ? ((e = arguments[0]), (t = void 0))
1910
            : (function (e) {
1911
                for (
1912
                  var t = F(e) && !L(e),
1913
                    n = !1,
1914
                    s = [
1915
                      "sameDay",
1916
                      "nextDay",
1917
                      "lastDay",
1918
                      "nextWeek",
1919
                      "lastWeek",
1920
                      "sameElse",
1921
                    ],
1922
                    i = 0;
1923
                  i < s.length;
1924
                  i += 1
1925
                )
1926
                  n = n || c(e, s[i]);
1927
                return t && n;
1928
              })(arguments[0]) && ((t = arguments[0]), (e = void 0))
1929
          : (t = e = void 0));
1930
      var e = e || R(),
1931
        n = Gt(e, this).startOf("day"),
1932
        n = _.calendarFormat(this, n) || "sameElse",
1933
        t = t && (a(t[n]) ? t[n].call(this, e) : t[n]);
1934
      return this.format(t || this.localeData().calendar(n, this, R(e)));
1935
    }),
1936
    (u.clone = function () {
1937
      return new $(this);
1938
    }),
1939
    (u.diff = function (e, t, n) {
1940
      var s, i, r;
1941
      if (!this.isValid()) return NaN;
1942
      if (!(s = Gt(e, this)).isValid()) return NaN;
1943
      switch (((i = 6e4 * (s.utcOffset() - this.utcOffset())), (t = o(t)))) {
1944
        case "year":
1945
          r = Qt(this, s) / 12;
1946
          break;
1947
        case "month":
1948
          r = Qt(this, s);
1949
          break;
1950
        case "quarter":
1951
          r = Qt(this, s) / 3;
1952
          break;
1953
        case "second":
1954
          r = (this - s) / 1e3;
1955
          break;
1956
        case "minute":
1957
          r = (this - s) / 6e4;
1958
          break;
1959
        case "hour":
1960
          r = (this - s) / 36e5;
1961
          break;
1962
        case "day":
1963
          r = (this - s - i) / 864e5;
1964
          break;
1965
        case "week":
1966
          r = (this - s - i) / 6048e5;
1967
          break;
1968
        default:
1969
          r = this - s;
1970
      }
1971
      return n ? r : m(r);
1972
    }),
1973
    (u.endOf = function (e) {
1974
      var t, n;
1975
      if (void 0 !== (e = o(e)) && "millisecond" !== e && this.isValid()) {
1976
        switch (((n = this._isUTC ? sn : nn), e)) {
1977
          case "year":
1978
            t = n(this.year() + 1, 0, 1) - 1;
1979
            break;
1980
          case "quarter":
1981
            t = n(this.year(), this.month() - (this.month() % 3) + 3, 1) - 1;
1982
            break;
1983
          case "month":
1984
            t = n(this.year(), this.month() + 1, 1) - 1;
1985
            break;
1986
          case "week":
1987
            t =
1988
              n(this.year(), this.month(), this.date() - this.weekday() + 7) -
1989
              1;
1990
            break;
1991
          case "isoWeek":
1992
            t =
1993
              n(
1994
                this.year(),
1995
                this.month(),
1996
                this.date() - (this.isoWeekday() - 1) + 7
1997
              ) - 1;
1998
            break;
1999
          case "day":
2000
          case "date":
2001
            t = n(this.year(), this.month(), this.date() + 1) - 1;
2002
            break;
2003
          case "hour":
2004
            (t = this._d.valueOf()),
2005
              (t +=
2006
                36e5 -
2007
                tn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5) -
2008
                1);
2009
            break;
2010
          case "minute":
2011
            (t = this._d.valueOf()), (t += 6e4 - tn(t, 6e4) - 1);
2012
            break;
2013
          case "second":
2014
            (t = this._d.valueOf()), (t += 1e3 - tn(t, 1e3) - 1);
2015
            break;
2016
        }
2017
        this._d.setTime(t), _.updateOffset(this, !0);
2018
      }
2019
      return this;
2020
    }),
2021
    (u.format = function (e) {
2022
      return (
2023
        (e = e || (this.isUtc() ? _.defaultFormatUtc : _.defaultFormat)),
2024
        (e = re(this, e)),
2025
        this.localeData().postformat(e)
2026
      );
2027
    }),
2028
    (u.from = function (e, t) {
2029
      return this.isValid() && ((k(e) && e.isValid()) || R(e).isValid())
2030
        ? C({ to: this, from: e }).locale(this.locale()).humanize(!t)
2031
        : this.localeData().invalidDate();
2032
    }),
2033
    (u.fromNow = function (e) {
2034
      return this.from(R(), e);
2035
    }),
2036
    (u.to = function (e, t) {
2037
      return this.isValid() && ((k(e) && e.isValid()) || R(e).isValid())
2038
        ? C({ from: this, to: e }).locale(this.locale()).humanize(!t)
2039
        : this.localeData().invalidDate();
2040
    }),
2041
    (u.toNow = function (e) {
2042
      return this.to(R(), e);
2043
    }),
2044
    (u.get = function (e) {
2045
      return a(this[(e = o(e))]) ? this[e]() : this;
2046
    }),
2047
    (u.invalidAt = function () {
2048
      return p(this).overflow;
2049
    }),
2050
    (u.isAfter = function (e, t) {
2051
      return (
2052
        (e = k(e) ? e : R(e)),
2053
        !(!this.isValid() || !e.isValid()) &&
2054
          ("millisecond" === (t = o(t) || "millisecond")
2055
            ? this.valueOf() > e.valueOf()
2056
            : e.valueOf() < this.clone().startOf(t).valueOf())
2057
      );
2058
    }),
2059
    (u.isBefore = function (e, t) {
2060
      return (
2061
        (e = k(e) ? e : R(e)),
2062
        !(!this.isValid() || !e.isValid()) &&
2063
          ("millisecond" === (t = o(t) || "millisecond")
2064
            ? this.valueOf() < e.valueOf()
2065
            : this.clone().endOf(t).valueOf() < e.valueOf())
2066
      );
2067
    }),
2068
    (u.isBetween = function (e, t, n, s) {
2069
      return (
2070
        (e = k(e) ? e : R(e)),
2071
        (t = k(t) ? t : R(t)),
2072
        !!(this.isValid() && e.isValid() && t.isValid()) &&
2073
          ("(" === (s = s || "()")[0]
2074
            ? this.isAfter(e, n)
2075
            : !this.isBefore(e, n)) &&
2076
          (")" === s[1] ? this.isBefore(t, n) : !this.isAfter(t, n))
2077
      );
2078
    }),
2079
    (u.isSame = function (e, t) {
2080
      var e = k(e) ? e : R(e);
2081
      return (
2082
        !(!this.isValid() || !e.isValid()) &&
2083
        ("millisecond" === (t = o(t) || "millisecond")
2084
          ? this.valueOf() === e.valueOf()
2085
          : ((e = e.valueOf()),
2086
            this.clone().startOf(t).valueOf() <= e &&
2087
              e <= this.clone().endOf(t).valueOf()))
2088
      );
2089
    }),
2090
    (u.isSameOrAfter = function (e, t) {
2091
      return this.isSame(e, t) || this.isAfter(e, t);
2092
    }),
2093
    (u.isSameOrBefore = function (e, t) {
2094
      return this.isSame(e, t) || this.isBefore(e, t);
2095
    }),
2096
    (u.isValid = function () {
2097
      return A(this);
2098
    }),
2099
    (u.lang = Ke),
2100
    (u.locale = Xt),
2101
    (u.localeData = Kt),
2102
    (u.max = _e),
2103
    (u.min = me),
2104
    (u.parsingFlags = function () {
2105
      return E({}, p(this));
2106
    }),
2107
    (u.set = function (e, t) {
2108
      if ("object" == typeof e)
2109
        for (
2110
          var n = (function (e) {
2111
              var t,
2112
                n = [];
2113
              for (t in e) c(e, t) && n.push({ unit: t, priority: le[t] });
2114
              return (
2115
                n.sort(function (e, t) {
2116
                  return e.priority - t.priority;
2117
                }),
2118
                n
2119
              );
2120
            })((e = ue(e))),
2121
            s = n.length,
2122
            i = 0;
2123
          i < s;
2124
          i++
2125
        )
2126
          this[n[i].unit](e[n[i].unit]);
2127
      else if (a(this[(e = o(e))])) return this[e](t);
2128
      return this;
2129
    }),
2130
    (u.startOf = function (e) {
2131
      var t, n;
2132
      if (void 0 !== (e = o(e)) && "millisecond" !== e && this.isValid()) {
2133
        switch (((n = this._isUTC ? sn : nn), e)) {
2134
          case "year":
2135
            t = n(this.year(), 0, 1);
2136
            break;
2137
          case "quarter":
2138
            t = n(this.year(), this.month() - (this.month() % 3), 1);
2139
            break;
2140
          case "month":
2141
            t = n(this.year(), this.month(), 1);
2142
            break;
2143
          case "week":
2144
            t = n(this.year(), this.month(), this.date() - this.weekday());
2145
            break;
2146
          case "isoWeek":
2147
            t = n(
2148
              this.year(),
2149
              this.month(),
2150
              this.date() - (this.isoWeekday() - 1)
2151
            );
2152
            break;
2153
          case "day":
2154
          case "date":
2155
            t = n(this.year(), this.month(), this.date());
2156
            break;
2157
          case "hour":
2158
            (t = this._d.valueOf()),
2159
              (t -= tn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5));
2160
            break;
2161
          case "minute":
2162
            (t = this._d.valueOf()), (t -= tn(t, 6e4));
2163
            break;
2164
          case "second":
2165
            (t = this._d.valueOf()), (t -= tn(t, 1e3));
2166
            break;
2167
        }
2168
        this._d.setTime(t), _.updateOffset(this, !0);
2169
      }
2170
      return this;
2171
    }),
2172
    (u.subtract = Qe),
2173
    (u.toArray = function () {
2174
      var e = this;
2175
      return [
2176
        e.year(),
2177
        e.month(),
2178
        e.date(),
2179
        e.hour(),
2180
        e.minute(),
2181
        e.second(),
2182
        e.millisecond(),
2183
      ];
2184
    }),
2185
    (u.toObject = function () {
2186
      var e = this;
2187
      return {
2188
        years: e.year(),
2189
        months: e.month(),
2190
        date: e.date(),
2191
        hours: e.hours(),
2192
        minutes: e.minutes(),
2193
        seconds: e.seconds(),
2194
        milliseconds: e.milliseconds(),
2195
      };
2196
    }),
2197
    (u.toDate = function () {
2198
      return new Date(this.valueOf());
2199
    }),
2200
    (u.toISOString = function (e) {
2201
      var t;
2202
      return this.isValid()
2203
        ? (t = (e = !0 !== e) ? this.clone().utc() : this).year() < 0 ||
2204
          9999 < t.year()
2205
          ? re(
2206
              t,
2207
              e
2208
                ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"
2209
                : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
2210
            )
2211
          : a(Date.prototype.toISOString)
2212
          ? e
2213
            ? this.toDate().toISOString()
2214
            : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3)
2215
                .toISOString()
2216
                .replace("Z", re(t, "Z"))
2217
          : re(
2218
              t,
2219
              e ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
2220
            )
2221
        : null;
2222
    }),
2223
    (u.inspect = function () {
2224
      var e, t, n;
2225
      return this.isValid()
2226
        ? ((t = "moment"),
2227
          (e = ""),
2228
          this.isLocal() ||
2229
            ((t = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone"),
2230
            (e = "Z")),
2231
          (t = "[" + t + '("]'),
2232
          (n = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY"),
2233
          this.format(t + n + "-MM-DD[T]HH:mm:ss.SSS" + (e + '[")]')))
2234
        : "moment.invalid(/* " + this._i + " */)";
2235
    }),
2236
    "undefined" != typeof Symbol &&
2237
      null != Symbol.for &&
2238
      (u[Symbol.for("nodejs.util.inspect.custom")] = function () {
2239
        return "Moment<" + this.format() + ">";
2240
      }),
2241
    (u.toJSON = function () {
2242
      return this.isValid() ? this.toISOString() : null;
2243
    }),
2244
    (u.toString = function () {
2245
      return this.clone()
2246
        .locale("en")
2247
        .format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
2248
    }),
2249
    (u.unix = function () {
2250
      return Math.floor(this.valueOf() / 1e3);
2251
    }),
2252
    (u.valueOf = function () {
2253
      return this._d.valueOf() - 6e4 * (this._offset || 0);
2254
    }),
2255
    (u.creationData = function () {
2256
      return {
2257
        input: this._i,
2258
        format: this._f,
2259
        locale: this._locale,
2260
        isUTC: this._isUTC,
2261
        strict: this._strict,
2262
      };
2263
    }),
2264
    (u.eraName = function () {
2265
      for (
2266
        var e, t = this.localeData().eras(), n = 0, s = t.length;
2267
        n < s;
2268
        ++n
2269
      ) {
2270
        if (
2271
          ((e = this.clone().startOf("day").valueOf()),
2272
          t[n].since <= e && e <= t[n].until)
2273
        )
2274
          return t[n].name;
2275
        if (t[n].until <= e && e <= t[n].since) return t[n].name;
2276
      }
2277
      return "";
2278
    }),
2279
    (u.eraNarrow = function () {
2280
      for (
2281
        var e, t = this.localeData().eras(), n = 0, s = t.length;
2282
        n < s;
2283
        ++n
2284
      ) {
2285
        if (
2286
          ((e = this.clone().startOf("day").valueOf()),
2287
          t[n].since <= e && e <= t[n].until)
2288
        )
2289
          return t[n].narrow;
2290
        if (t[n].until <= e && e <= t[n].since) return t[n].narrow;
2291
      }
2292
      return "";
2293
    }),
2294
    (u.eraAbbr = function () {
2295
      for (
2296
        var e, t = this.localeData().eras(), n = 0, s = t.length;
2297
        n < s;
2298
        ++n
2299
      ) {
2300
        if (
2301
          ((e = this.clone().startOf("day").valueOf()),
2302
          t[n].since <= e && e <= t[n].until)
2303
        )
2304
          return t[n].abbr;
2305
        if (t[n].until <= e && e <= t[n].since) return t[n].abbr;
2306
      }
2307
      return "";
2308
    }),
2309
    (u.eraYear = function () {
2310
      for (
2311
        var e, t, n = this.localeData().eras(), s = 0, i = n.length;
2312
        s < i;
2313
        ++s
2314
      )
2315
        if (
2316
          ((e = n[s].since <= n[s].until ? 1 : -1),
2317
          (t = this.clone().startOf("day").valueOf()),
2318
          (n[s].since <= t && t <= n[s].until) ||
2319
            (n[s].until <= t && t <= n[s].since))
2320
        )
2321
          return (this.year() - _(n[s].since).year()) * e + n[s].offset;
2322
      return this.year();
2323
    }),
2324
    (u.year = Pe),
2325
    (u.isLeapYear = function () {
2326
      return be(this.year());
2327
    }),
2328
    (u.weekYear = function (e) {
2329
      return un.call(
2330
        this,
2331
        e,
2332
        this.week(),
2333
        this.weekday() + this.localeData()._week.dow,
2334
        this.localeData()._week.dow,
2335
        this.localeData()._week.doy
2336
      );
2337
    }),
2338
    (u.isoWeekYear = function (e) {
2339
      return un.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4);
2340
    }),
2341
    (u.quarter = u.quarters =
2342
      function (e) {
2343
        return null == e
2344
          ? Math.ceil((this.month() + 1) / 3)
2345
          : this.month(3 * (e - 1) + (this.month() % 3));
2346
      }),
2347
    (u.month = Ie),
2348
    (u.daysInMonth = function () {
2349
      return He(this.year(), this.month());
2350
    }),
2351
    (u.week = u.weeks =
2352
      function (e) {
2353
        var t = this.localeData().week(this);
2354
        return null == e ? t : this.add(7 * (e - t), "d");
2355
      }),
2356
    (u.isoWeek = u.isoWeeks =
2357
      function (e) {
2358
        var t = Be(this, 1, 4).week;
2359
        return null == e ? t : this.add(7 * (e - t), "d");
2360
      }),
2361
    (u.weeksInYear = function () {
2362
      var e = this.localeData()._week;
2363
      return N(this.year(), e.dow, e.doy);
2364
    }),
2365
    (u.weeksInWeekYear = function () {
2366
      var e = this.localeData()._week;
2367
      return N(this.weekYear(), e.dow, e.doy);
2368
    }),
2369
    (u.isoWeeksInYear = function () {
2370
      return N(this.year(), 1, 4);
2371
    }),
2372
    (u.isoWeeksInISOWeekYear = function () {
2373
      return N(this.isoWeekYear(), 1, 4);
2374
    }),
2375
    (u.date = ge),
2376
    (u.day = u.days =
2377
      function (e) {
2378
        var t, n, s;
2379
        return this.isValid()
2380
          ? ((t = Ce(this, "Day")),
2381
            null != e
2382
              ? ((n = e),
2383
                (s = this.localeData()),
2384
                (e =
2385
                  "string" != typeof n
2386
                    ? n
2387
                    : isNaN(n)
2388
                    ? "number" == typeof (n = s.weekdaysParse(n))
2389
                      ? n
2390
                      : null
2391
                    : parseInt(n, 10)),
2392
                this.add(e - t, "d"))
2393
              : t)
2394
          : null != e
2395
          ? this
2396
          : NaN;
2397
      }),
2398
    (u.weekday = function (e) {
2399
      var t;
2400
      return this.isValid()
2401
        ? ((t = (this.day() + 7 - this.localeData()._week.dow) % 7),
2402
          null == e ? t : this.add(e - t, "d"))
2403
        : null != e
2404
        ? this
2405
        : NaN;
2406
    }),
2407
    (u.isoWeekday = function (e) {
2408
      var t, n;
2409
      return this.isValid()
2410
        ? null != e
2411
          ? ((t = e),
2412
            (n = this.localeData()),
2413
            (n =
2414
              "string" == typeof t
2415
                ? n.weekdaysParse(t) % 7 || 7
2416
                : isNaN(t)
2417
                ? null
2418
                : t),
2419
            this.day(this.day() % 7 ? n : n - 7))
2420
          : this.day() || 7
2421
        : null != e
2422
        ? this
2423
        : NaN;
2424
    }),
2425
    (u.dayOfYear = function (e) {
2426
      var t =
2427
        Math.round(
2428
          (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
2429
        ) + 1;
2430
      return null == e ? t : this.add(e - t, "d");
2431
    }),
2432
    (u.hour = u.hours = i),
2433
    (u.minute = u.minutes = ce),
2434
    (u.second = u.seconds = we),
2435
    (u.millisecond = u.milliseconds = fe),
2436
    (u.utcOffset = function (e, t, n) {
2437
      var s,
2438
        i = this._offset || 0;
2439
      if (!this.isValid()) return null != e ? this : NaN;
2440
      if (null == e) return this._isUTC ? i : Et(this);
2441
      if ("string" == typeof e) {
2442
        if (null === (e = Vt(ve, e))) return this;
2443
      } else Math.abs(e) < 16 && !n && (e *= 60);
2444
      return (
2445
        !this._isUTC && t && (s = Et(this)),
2446
        (this._offset = e),
2447
        (this._isUTC = !0),
2448
        null != s && this.add(s, "m"),
2449
        i !== e &&
2450
          (!t || this._changeInProgress
2451
            ? $t(this, C(e - i, "m"), 1, !1)
2452
            : this._changeInProgress ||
2453
              ((this._changeInProgress = !0),
2454
              _.updateOffset(this, !0),
2455
              (this._changeInProgress = null))),
2456
        this
2457
      );
2458
    }),
2459
    (u.utc = function (e) {
2460
      return this.utcOffset(0, e);
2461
    }),
2462
    (u.local = function (e) {
2463
      return (
2464
        this._isUTC &&
2465
          (this.utcOffset(0, e), (this._isUTC = !1), e) &&
2466
          this.subtract(Et(this), "m"),
2467
        this
2468
      );
2469
    }),
2470
    (u.parseZone = function () {
2471
      var e;
2472
      return (
2473
        null != this._tzm
2474
          ? this.utcOffset(this._tzm, !1, !0)
2475
          : "string" == typeof this._i &&
2476
            (null != (e = Vt(Me, this._i))
2477
              ? this.utcOffset(e)
2478
              : this.utcOffset(0, !0)),
2479
        this
2480
      );
2481
    }),
2482
    (u.hasAlignedHourOffset = function (e) {
2483
      return (
2484
        !!this.isValid() &&
2485
        ((e = e ? R(e).utcOffset() : 0), (this.utcOffset() - e) % 60 == 0)
2486
      );
2487
    }),
2488
    (u.isDST = function () {
2489
      return (
2490
        this.utcOffset() > this.clone().month(0).utcOffset() ||
2491
        this.utcOffset() > this.clone().month(5).utcOffset()
2492
      );
2493
    }),
2494
    (u.isLocal = function () {
2495
      return !!this.isValid() && !this._isUTC;
2496
    }),
2497
    (u.isUtcOffset = function () {
2498
      return !!this.isValid() && this._isUTC;
2499
    }),
2500
    (u.isUtc = At),
2501
    (u.isUTC = At),
2502
    (u.zoneAbbr = function () {
2503
      return this._isUTC ? "UTC" : "";
2504
    }),
2505
    (u.zoneName = function () {
2506
      return this._isUTC ? "Coordinated Universal Time" : "";
2507
    }),
2508
    (u.dates = e("dates accessor is deprecated. Use date instead.", ge)),
2509
    (u.months = e("months accessor is deprecated. Use month instead", Ie)),
2510
    (u.years = e("years accessor is deprecated. Use year instead", Pe)),
2511
    (u.zone = e(
2512
      "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2513
      function (e, t) {
2514
        return null != e
2515
          ? (this.utcOffset((e = "string" != typeof e ? -e : e), t), this)
2516
          : -this.utcOffset();
2517
      }
2518
    )),
2519
    (u.isDSTShifted = e(
2520
      "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2521
      function () {
2522
        var e, t;
2523
        return (
2524
          g(this._isDSTShifted) &&
2525
            (q((e = {}), this),
2526
            (e = Nt(e))._a
2527
              ? ((t = (e._isUTC ? l : R)(e._a)),
2528
                (this._isDSTShifted =
2529
                  this.isValid() &&
2530
                  0 <
2531
                    (function (e, t, n) {
2532
                      for (
2533
                        var s = Math.min(e.length, t.length),
2534
                          i = Math.abs(e.length - t.length),
2535
                          r = 0,
2536
                          a = 0;
2537
                        a < s;
2538
                        a++
2539
                      )
2540
                        ((n && e[a] !== t[a]) || (!n && M(e[a]) !== M(t[a]))) &&
2541
                          r++;
2542
                      return r + i;
2543
                    })(e._a, t.toArray())))
2544
              : (this._isDSTShifted = !1)),
2545
          this._isDSTShifted
2546
        );
2547
      }
2548
    ));
2549
  d = K.prototype;
2550
  function cn(e, t, n, s) {
2551
    var i = P(),
2552
      s = l().set(s, t);
2553
    return i[n](s, e);
2554
  }
2555
  function fn(e, t, n) {
2556
    if ((w(e) && ((t = e), (e = void 0)), (e = e || ""), null != t))
2557
      return cn(e, t, n, "month");
2558
    for (var s = [], i = 0; i < 12; i++) s[i] = cn(e, i, n, "month");
2559
    return s;
2560
  }
2561
  function mn(e, t, n, s) {
2562
    t =
2563
      ("boolean" == typeof e
2564
        ? w(t) && ((n = t), (t = void 0))
2565
        : ((t = e), (e = !1), w((n = t)) && ((n = t), (t = void 0))),
2566
      t || "");
2567
    var i,
2568
      r = P(),
2569
      a = e ? r._week.dow : 0,
2570
      o = [];
2571
    if (null != n) return cn(t, (n + a) % 7, s, "day");
2572
    for (i = 0; i < 7; i++) o[i] = cn(t, (i + a) % 7, s, "day");
2573
    return o;
2574
  }
2575
  (d.calendar = function (e, t, n) {
2576
    return a((e = this._calendar[e] || this._calendar.sameElse))
2577
      ? e.call(t, n)
2578
      : e;
2579
  }),
2580
    (d.longDateFormat = function (e) {
2581
      var t = this._longDateFormat[e],
2582
        n = this._longDateFormat[e.toUpperCase()];
2583
      return t || !n
2584
        ? t
2585
        : ((this._longDateFormat[e] = n
2586
            .match(te)
2587
            .map(function (e) {
2588
              return "MMMM" === e || "MM" === e || "DD" === e || "dddd" === e
2589
                ? e.slice(1)
2590
                : e;
2591
            })
2592
            .join("")),
2593
          this._longDateFormat[e]);
2594
    }),
2595
    (d.invalidDate = function () {
2596
      return this._invalidDate;
2597
    }),
2598
    (d.ordinal = function (e) {
2599
      return this._ordinal.replace("%d", e);
2600
    }),
2601
    (d.preparse = hn),
2602
    (d.postformat = hn),
2603
    (d.relativeTime = function (e, t, n, s) {
2604
      var i = this._relativeTime[n];
2605
      return a(i) ? i(e, t, n, s) : i.replace(/%d/i, e);
2606
    }),
2607
    (d.pastFuture = function (e, t) {
2608
      return a((e = this._relativeTime[0 < e ? "future" : "past"]))
2609
        ? e(t)
2610
        : e.replace(/%s/i, t);
2611
    }),
2612
    (d.set = function (e) {
2613
      var t, n;
2614
      for (n in e)
2615
        c(e, n) && (a((t = e[n])) ? (this[n] = t) : (this["_" + n] = t));
2616
      (this._config = e),
2617
        (this._dayOfMonthOrdinalParseLenient = new RegExp(
2618
          (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
2619
            "|" +
2620
            /\d{1,2}/.source
2621
        ));
2622
    }),
2623
    (d.eras = function (e, t) {
2624
      for (
2625
        var n, s = this._eras || P("en")._eras, i = 0, r = s.length;
2626
        i < r;
2627
        ++i
2628
      ) {
2629
        switch (typeof s[i].since) {
2630
          case "string":
2631
            (n = _(s[i].since).startOf("day")), (s[i].since = n.valueOf());
2632
            break;
2633
        }
2634
        switch (typeof s[i].until) {
2635
          case "undefined":
2636
            s[i].until = 1 / 0;
2637
            break;
2638
          case "string":
2639
            (n = _(s[i].until).startOf("day").valueOf()),
2640
              (s[i].until = n.valueOf());
2641
            break;
2642
        }
2643
      }
2644
      return s;
2645
    }),
2646
    (d.erasParse = function (e, t, n) {
2647
      var s,
2648
        i,
2649
        r,
2650
        a,
2651
        o,
2652
        u = this.eras();
2653
      for (e = e.toUpperCase(), s = 0, i = u.length; s < i; ++s)
2654
        if (
2655
          ((r = u[s].name.toUpperCase()),
2656
          (a = u[s].abbr.toUpperCase()),
2657
          (o = u[s].narrow.toUpperCase()),
2658
          n)
2659
        )
2660
          switch (t) {
2661
            case "N":
2662
            case "NN":
2663
            case "NNN":
2664
              if (a === e) return u[s];
2665
              break;
2666
            case "NNNN":
2667
              if (r === e) return u[s];
2668
              break;
2669
            case "NNNNN":
2670
              if (o === e) return u[s];
2671
              break;
2672
          }
2673
        else if (0 <= [r, a, o].indexOf(e)) return u[s];
2674
    }),
2675
    (d.erasConvertYear = function (e, t) {
2676
      var n = e.since <= e.until ? 1 : -1;
2677
      return void 0 === t
2678
        ? _(e.since).year()
2679
        : _(e.since).year() + (t - e.offset) * n;
2680
    }),
2681
    (d.erasAbbrRegex = function (e) {
2682
      return (
2683
        c(this, "_erasAbbrRegex") || an.call(this),
2684
        e ? this._erasAbbrRegex : this._erasRegex
2685
      );
2686
    }),
2687
    (d.erasNameRegex = function (e) {
2688
      return (
2689
        c(this, "_erasNameRegex") || an.call(this),
2690
        e ? this._erasNameRegex : this._erasRegex
2691
      );
2692
    }),
2693
    (d.erasNarrowRegex = function (e) {
2694
      return (
2695
        c(this, "_erasNarrowRegex") || an.call(this),
2696
        e ? this._erasNarrowRegex : this._erasRegex
2697
      );
2698
    }),
2699
    (d.months = function (e, t) {
2700
      return e
2701
        ? (y(this._months)
2702
            ? this._months
2703
            : this._months[
2704
                (this._months.isFormat || Ve).test(t) ? "format" : "standalone"
2705
              ])[e.month()]
2706
        : y(this._months)
2707
        ? this._months
2708
        : this._months.standalone;
2709
    }),
2710
    (d.monthsShort = function (e, t) {
2711
      return e
2712
        ? (y(this._monthsShort)
2713
            ? this._monthsShort
2714
            : this._monthsShort[Ve.test(t) ? "format" : "standalone"])[
2715
            e.month()
2716
          ]
2717
        : y(this._monthsShort)
2718
        ? this._monthsShort
2719
        : this._monthsShort.standalone;
2720
    }),
2721
    (d.monthsParse = function (e, t, n) {
2722
      var s, i;
2723
      if (this._monthsParseExact)
2724
        return function (e, t, n) {
2725
          var s,
2726
            i,
2727
            r,
2728
            e = e.toLocaleLowerCase();
2729
          if (!this._monthsParse)
2730
            for (
2731
              this._monthsParse = [],
2732
                this._longMonthsParse = [],
2733
                this._shortMonthsParse = [],
2734
                s = 0;
2735
              s < 12;
2736
              ++s
2737
            )
2738
              (r = l([2e3, s])),
2739
                (this._shortMonthsParse[s] = this.monthsShort(
2740
                  r,
2741
                  ""
2742
                ).toLocaleLowerCase()),
2743
                (this._longMonthsParse[s] = this.months(
2744
                  r,
2745
                  ""
2746
                ).toLocaleLowerCase());
2747
          return n
2748
            ? "MMM" === t
2749
              ? -1 !== (i = x.call(this._shortMonthsParse, e))
2750
                ? i
2751
                : null
2752
              : -1 !== (i = x.call(this._longMonthsParse, e))
2753
              ? i
2754
              : null
2755
            : "MMM" === t
2756
            ? -1 !== (i = x.call(this._shortMonthsParse, e)) ||
2757
              -1 !== (i = x.call(this._longMonthsParse, e))
2758
              ? i
2759
              : null
2760
            : -1 !== (i = x.call(this._longMonthsParse, e)) ||
2761
              -1 !== (i = x.call(this._shortMonthsParse, e))
2762
            ? i
2763
            : null;
2764
        }.call(this, e, t, n);
2765
      for (
2766
        this._monthsParse ||
2767
          ((this._monthsParse = []),
2768
          (this._longMonthsParse = []),
2769
          (this._shortMonthsParse = [])),
2770
          s = 0;
2771
        s < 12;
2772
        s++
2773
      ) {
2774
        if (
2775
          ((i = l([2e3, s])),
2776
          n &&
2777
            !this._longMonthsParse[s] &&
2778
            ((this._longMonthsParse[s] = new RegExp(
2779
              "^" + this.months(i, "").replace(".", "") + "$",
2780
              "i"
2781
            )),
2782
            (this._shortMonthsParse[s] = new RegExp(
2783
              "^" + this.monthsShort(i, "").replace(".", "") + "$",
2784
              "i"
2785
            ))),
2786
          n ||
2787
            this._monthsParse[s] ||
2788
            ((i = "^" + this.months(i, "") + "|^" + this.monthsShort(i, "")),
2789
            (this._monthsParse[s] = new RegExp(i.replace(".", ""), "i"))),
2790
          n && "MMMM" === t && this._longMonthsParse[s].test(e))
2791
        )
2792
          return s;
2793
        if (n && "MMM" === t && this._shortMonthsParse[s].test(e)) return s;
2794
        if (!n && this._monthsParse[s].test(e)) return s;
2795
      }
2796
    }),
2797
    (d.monthsRegex = function (e) {
2798
      return this._monthsParseExact
2799
        ? (c(this, "_monthsRegex") || je.call(this),
2800
          e ? this._monthsStrictRegex : this._monthsRegex)
2801
        : (c(this, "_monthsRegex") || (this._monthsRegex = Ee),
2802
          this._monthsStrictRegex && e
2803
            ? this._monthsStrictRegex
2804
            : this._monthsRegex);
2805
    }),
2806
    (d.monthsShortRegex = function (e) {
2807
      return this._monthsParseExact
2808
        ? (c(this, "_monthsRegex") || je.call(this),
2809
          e ? this._monthsShortStrictRegex : this._monthsShortRegex)
2810
        : (c(this, "_monthsShortRegex") || (this._monthsShortRegex = Ge),
2811
          this._monthsShortStrictRegex && e
2812
            ? this._monthsShortStrictRegex
2813
            : this._monthsShortRegex);
2814
    }),
2815
    (d.week = function (e) {
2816
      return Be(e, this._week.dow, this._week.doy).week;
2817
    }),
2818
    (d.firstDayOfYear = function () {
2819
      return this._week.doy;
2820
    }),
2821
    (d.firstDayOfWeek = function () {
2822
      return this._week.dow;
2823
    }),
2824
    (d.weekdays = function (e, t) {
2825
      return (
2826
        (t = y(this._weekdays)
2827
          ? this._weekdays
2828
          : this._weekdays[
2829
              e && !0 !== e && this._weekdays.isFormat.test(t)
2830
                ? "format"
2831
                : "standalone"
2832
            ]),
2833
        !0 === e ? Je(t, this._week.dow) : e ? t[e.day()] : t
2834
      );
2835
    }),
2836
    (d.weekdaysMin = function (e) {
2837
      return !0 === e
2838
        ? Je(this._weekdaysMin, this._week.dow)
2839
        : e
2840
        ? this._weekdaysMin[e.day()]
2841
        : this._weekdaysMin;
2842
    }),
2843
    (d.weekdaysShort = function (e) {
2844
      return !0 === e
2845
        ? Je(this._weekdaysShort, this._week.dow)
2846
        : e
2847
        ? this._weekdaysShort[e.day()]
2848
        : this._weekdaysShort;
2849
    }),
2850
    (d.weekdaysParse = function (e, t, n) {
2851
      var s, i;
2852
      if (this._weekdaysParseExact)
2853
        return function (e, t, n) {
2854
          var s,
2855
            i,
2856
            r,
2857
            e = e.toLocaleLowerCase();
2858
          if (!this._weekdaysParse)
2859
            for (
2860
              this._weekdaysParse = [],
2861
                this._shortWeekdaysParse = [],
2862
                this._minWeekdaysParse = [],
2863
                s = 0;
2864
              s < 7;
2865
              ++s
2866
            )
2867
              (r = l([2e3, 1]).day(s)),
2868
                (this._minWeekdaysParse[s] = this.weekdaysMin(
2869
                  r,
2870
                  ""
2871
                ).toLocaleLowerCase()),
2872
                (this._shortWeekdaysParse[s] = this.weekdaysShort(
2873
                  r,
2874
                  ""
2875
                ).toLocaleLowerCase()),
2876
                (this._weekdaysParse[s] = this.weekdays(
2877
                  r,
2878
                  ""
2879
                ).toLocaleLowerCase());
2880
          return n
2881
            ? "dddd" === t
2882
              ? -1 !== (i = x.call(this._weekdaysParse, e))
2883
                ? i
2884
                : null
2885
              : "ddd" === t
2886
              ? -1 !== (i = x.call(this._shortWeekdaysParse, e))
2887
                ? i
2888
                : null
2889
              : -1 !== (i = x.call(this._minWeekdaysParse, e))
2890
              ? i
2891
              : null
2892
            : "dddd" === t
2893
            ? -1 !== (i = x.call(this._weekdaysParse, e)) ||
2894
              -1 !== (i = x.call(this._shortWeekdaysParse, e)) ||
2895
              -1 !== (i = x.call(this._minWeekdaysParse, e))
2896
              ? i
2897
              : null
2898
            : "ddd" === t
2899
            ? -1 !== (i = x.call(this._shortWeekdaysParse, e)) ||
2900
              -1 !== (i = x.call(this._weekdaysParse, e)) ||
2901
              -1 !== (i = x.call(this._minWeekdaysParse, e))
2902
              ? i
2903
              : null
2904
            : -1 !== (i = x.call(this._minWeekdaysParse, e)) ||
2905
              -1 !== (i = x.call(this._weekdaysParse, e)) ||
2906
              -1 !== (i = x.call(this._shortWeekdaysParse, e))
2907
            ? i
2908
            : null;
2909
        }.call(this, e, t, n);
2910
      for (
2911
        this._weekdaysParse ||
2912
          ((this._weekdaysParse = []),
2913
          (this._minWeekdaysParse = []),
2914
          (this._shortWeekdaysParse = []),
2915
          (this._fullWeekdaysParse = [])),
2916
          s = 0;
2917
        s < 7;
2918
        s++
2919
      ) {
2920
        if (
2921
          ((i = l([2e3, 1]).day(s)),
2922
          n &&
2923
            !this._fullWeekdaysParse[s] &&
2924
            ((this._fullWeekdaysParse[s] = new RegExp(
2925
              "^" + this.weekdays(i, "").replace(".", "\\.?") + "$",
2926
              "i"
2927
            )),
2928
            (this._shortWeekdaysParse[s] = new RegExp(
2929
              "^" + this.weekdaysShort(i, "").replace(".", "\\.?") + "$",
2930
              "i"
2931
            )),
2932
            (this._minWeekdaysParse[s] = new RegExp(
2933
              "^" + this.weekdaysMin(i, "").replace(".", "\\.?") + "$",
2934
              "i"
2935
            ))),
2936
          this._weekdaysParse[s] ||
2937
            ((i =
2938
              "^" +
2939
              this.weekdays(i, "") +
2940
              "|^" +
2941
              this.weekdaysShort(i, "") +
2942
              "|^" +
2943
              this.weekdaysMin(i, "")),
2944
            (this._weekdaysParse[s] = new RegExp(i.replace(".", ""), "i"))),
2945
          n && "dddd" === t && this._fullWeekdaysParse[s].test(e))
2946
        )
2947
          return s;
2948
        if (n && "ddd" === t && this._shortWeekdaysParse[s].test(e)) return s;
2949
        if (n && "dd" === t && this._minWeekdaysParse[s].test(e)) return s;
2950
        if (!n && this._weekdaysParse[s].test(e)) return s;
2951
      }
2952
    }),
2953
    (d.weekdaysRegex = function (e) {
2954
      return this._weekdaysParseExact
2955
        ? (c(this, "_weekdaysRegex") || st.call(this),
2956
          e ? this._weekdaysStrictRegex : this._weekdaysRegex)
2957
        : (c(this, "_weekdaysRegex") || (this._weekdaysRegex = et),
2958
          this._weekdaysStrictRegex && e
2959
            ? this._weekdaysStrictRegex
2960
            : this._weekdaysRegex);
2961
    }),
2962
    (d.weekdaysShortRegex = function (e) {
2963
      return this._weekdaysParseExact
2964
        ? (c(this, "_weekdaysRegex") || st.call(this),
2965
          e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
2966
        : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = tt),
2967
          this._weekdaysShortStrictRegex && e
2968
            ? this._weekdaysShortStrictRegex
2969
            : this._weekdaysShortRegex);
2970
    }),
2971
    (d.weekdaysMinRegex = function (e) {
2972
      return this._weekdaysParseExact
2973
        ? (c(this, "_weekdaysRegex") || st.call(this),
2974
          e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
2975
        : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = nt),
2976
          this._weekdaysMinStrictRegex && e
2977
            ? this._weekdaysMinStrictRegex
2978
            : this._weekdaysMinRegex);
2979
    }),
2980
    (d.isPM = function (e) {
2981
      return "p" === (e + "").toLowerCase().charAt(0);
2982
    }),
2983
    (d.meridiem = function (e, t, n) {
2984
      return 11 < e ? (n ? "pm" : "PM") : n ? "am" : "AM";
2985
    }),
2986
    ft("en", {
2987
      eras: [
2988
        {
2989
          since: "0001-01-01",
2990
          until: 1 / 0,
2991
          offset: 1,
2992
          name: "Anno Domini",
2993
          narrow: "AD",
2994
          abbr: "AD",
2995
        },
2996
        {
2997
          since: "0000-12-31",
2998
          until: -1 / 0,
2999
          offset: 1,
3000
          name: "Before Christ",
3001
          narrow: "BC",
3002
          abbr: "BC",
3003
        },
3004
      ],
3005
      dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
3006
      ordinal: function (e) {
3007
        var t = e % 10;
3008
        return (
3009
          e +
3010
          (1 === M((e % 100) / 10)
3011
            ? "th"
3012
            : 1 == t
3013
            ? "st"
3014
            : 2 == t
3015
            ? "nd"
3016
            : 3 == t
3017
            ? "rd"
3018
            : "th")
3019
        );
3020
      },
3021
    }),
3022
    (_.lang = e("moment.lang is deprecated. Use moment.locale instead.", ft)),
3023
    (_.langData = e(
3024
      "moment.langData is deprecated. Use moment.localeData instead.",
3025
      P
3026
    ));
3027
  var _n = Math.abs;
3028
  function yn(e, t, n, s) {
3029
    t = C(t, n);
3030
    return (
3031
      (e._milliseconds += s * t._milliseconds),
3032
      (e._days += s * t._days),
3033
      (e._months += s * t._months),
3034
      e._bubble()
3035
    );
3036
  }
3037
  function gn(e) {
3038
    return e < 0 ? Math.floor(e) : Math.ceil(e);
3039
  }
3040
  function wn(e) {
3041
    return (4800 * e) / 146097;
3042
  }
3043
  function pn(e) {
3044
    return (146097 * e) / 4800;
3045
  }
3046
  function kn(e) {
3047
    return function () {
3048
      return this.as(e);
3049
    };
3050
  }
3051
  (de = kn("ms")),
3052
    (t = kn("s")),
3053
    (ye = kn("m")),
3054
    (he = kn("h")),
3055
    (Fe = kn("d")),
3056
    (_e = kn("w")),
3057
    (me = kn("M")),
3058
    (Qe = kn("Q")),
3059
    (i = kn("y")),
3060
    (ce = de);
3061
  function Mn(e) {
3062
    return function () {
3063
      return this.isValid() ? this._data[e] : NaN;
3064
    };
3065
  }
3066
  var we = Mn("milliseconds"),
3067
    fe = Mn("seconds"),
3068
    ge = Mn("minutes"),
3069
    Pe = Mn("hours"),
3070
    d = Mn("days"),
3071
    vn = Mn("months"),
3072
    Dn = Mn("years");
3073
  var Yn = Math.round,
3074
    Sn = { ss: 44, s: 45, m: 45, h: 22, d: 26, w: null, M: 11 };
3075
  function On(e, t, n, s) {
3076
    var i = C(e).abs(),
3077
      r = Yn(i.as("s")),
3078
      a = Yn(i.as("m")),
3079
      o = Yn(i.as("h")),
3080
      u = Yn(i.as("d")),
3081
      l = Yn(i.as("M")),
3082
      d = Yn(i.as("w")),
3083
      i = Yn(i.as("y")),
3084
      r =
3085
        (r <= n.ss ? ["s", r] : r < n.s && ["ss", r]) ||
3086
        (a <= 1 ? ["m"] : a < n.m && ["mm", a]) ||
3087
        (o <= 1 ? ["h"] : o < n.h && ["hh", o]) ||
3088
        (u <= 1 ? ["d"] : u < n.d && ["dd", u]);
3089
    return (
3090
      ((r =
3091
        (r = null != n.w ? r || (d <= 1 ? ["w"] : d < n.w && ["ww", d]) : r) ||
3092
        (l <= 1 ? ["M"] : l < n.M && ["MM", l]) ||
3093
        (i <= 1 ? ["y"] : ["yy", i]))[2] = t),
3094
      (r[3] = 0 < +e),
3095
      (r[4] = s),
3096
      function (e, t, n, s, i) {
3097
        return i.relativeTime(t || 1, !!n, e, s);
3098
      }.apply(null, r)
3099
    );
3100
  }
3101
  var bn = Math.abs;
3102
  function Tn(e) {
3103
    return (0 < e) - (e < 0) || +e;
3104
  }
3105
  function xn() {
3106
    var e, t, n, s, i, r, a, o, u, l, d;
3107
    return this.isValid()
3108
      ? ((e = bn(this._milliseconds) / 1e3),
3109
        (t = bn(this._days)),
3110
        (n = bn(this._months)),
3111
        (o = this.asSeconds())
3112
          ? ((s = m(e / 60)),
3113
            (i = m(s / 60)),
3114
            (e %= 60),
3115
            (s %= 60),
3116
            (r = m(n / 12)),
3117
            (n %= 12),
3118
            (a = e ? e.toFixed(3).replace(/\.?0+$/, "") : ""),
3119
            (u = Tn(this._months) !== Tn(o) ? "-" : ""),
3120
            (l = Tn(this._days) !== Tn(o) ? "-" : ""),
3121
            (d = Tn(this._milliseconds) !== Tn(o) ? "-" : ""),
3122
            (o < 0 ? "-" : "") +
3123
              "P" +
3124
              (r ? u + r + "Y" : "") +
3125
              (n ? u + n + "M" : "") +
3126
              (t ? l + t + "D" : "") +
3127
              (i || s || e ? "T" : "") +
3128
              (i ? d + i + "H" : "") +
3129
              (s ? d + s + "M" : "") +
3130
              (e ? d + a + "S" : ""))
3131
          : "P0D")
3132
      : this.localeData().invalidDate();
3133
  }
3134
  var U = Ct.prototype;
3135
  return (
3136
    (U.isValid = function () {
3137
      return this._isValid;
3138
    }),
3139
    (U.abs = function () {
3140
      var e = this._data;
3141
      return (
3142
        (this._milliseconds = _n(this._milliseconds)),
3143
        (this._days = _n(this._days)),
3144
        (this._months = _n(this._months)),
3145
        (e.milliseconds = _n(e.milliseconds)),
3146
        (e.seconds = _n(e.seconds)),
3147
        (e.minutes = _n(e.minutes)),
3148
        (e.hours = _n(e.hours)),
3149
        (e.months = _n(e.months)),
3150
        (e.years = _n(e.years)),
3151
        this
3152
      );
3153
    }),
3154
    (U.add = function (e, t) {
3155
      return yn(this, e, t, 1);
3156
    }),
3157
    (U.subtract = function (e, t) {
3158
      return yn(this, e, t, -1);
3159
    }),
3160
    (U.as = function (e) {
3161
      if (!this.isValid()) return NaN;
3162
      var t,
3163
        n,
3164
        s = this._milliseconds;
3165
      if ("month" === (e = o(e)) || "quarter" === e || "year" === e)
3166
        switch (((t = this._days + s / 864e5), (n = this._months + wn(t)), e)) {
3167
          case "month":
3168
            return n;
3169
          case "quarter":
3170
            return n / 3;
3171
          case "year":
3172
            return n / 12;
3173
        }
3174
      else
3175
        switch (((t = this._days + Math.round(pn(this._months))), e)) {
3176
          case "week":
3177
            return t / 7 + s / 6048e5;
3178
          case "day":
3179
            return t + s / 864e5;
3180
          case "hour":
3181
            return 24 * t + s / 36e5;
3182
          case "minute":
3183
            return 1440 * t + s / 6e4;
3184
          case "second":
3185
            return 86400 * t + s / 1e3;
3186
          case "millisecond":
3187
            return Math.floor(864e5 * t) + s;
3188
          default:
3189
            throw new Error("Unknown unit " + e);
3190
        }
3191
    }),
3192
    (U.asMilliseconds = de),
3193
    (U.asSeconds = t),
3194
    (U.asMinutes = ye),
3195
    (U.asHours = he),
3196
    (U.asDays = Fe),
3197
    (U.asWeeks = _e),
3198
    (U.asMonths = me),
3199
    (U.asQuarters = Qe),
3200
    (U.asYears = i),
3201
    (U.valueOf = ce),
3202
    (U._bubble = function () {
3203
      var e = this._milliseconds,
3204
        t = this._days,
3205
        n = this._months,
3206
        s = this._data;
3207
      return (
3208
        (0 <= e && 0 <= t && 0 <= n) ||
3209
          (e <= 0 && t <= 0 && n <= 0) ||
3210
          ((e += 864e5 * gn(pn(n) + t)), (n = t = 0)),
3211
        (s.milliseconds = e % 1e3),
3212
        (e = m(e / 1e3)),
3213
        (s.seconds = e % 60),
3214
        (e = m(e / 60)),
3215
        (s.minutes = e % 60),
3216
        (e = m(e / 60)),
3217
        (s.hours = e % 24),
3218
        (t += m(e / 24)),
3219
        (n += e = m(wn(t))),
3220
        (t -= gn(pn(e))),
3221
        (e = m(n / 12)),
3222
        (n %= 12),
3223
        (s.days = t),
3224
        (s.months = n),
3225
        (s.years = e),
3226
        this
3227
      );
3228
    }),
3229
    (U.clone = function () {
3230
      return C(this);
3231
    }),
3232
    (U.get = function (e) {
3233
      return (e = o(e)), this.isValid() ? this[e + "s"]() : NaN;
3234
    }),
3235
    (U.milliseconds = we),
3236
    (U.seconds = fe),
3237
    (U.minutes = ge),
3238
    (U.hours = Pe),
3239
    (U.days = d),
3240
    (U.weeks = function () {
3241
      return m(this.days() / 7);
3242
    }),
3243
    (U.months = vn),
3244
    (U.years = Dn),
3245
    (U.humanize = function (e, t) {
3246
      var n, s;
3247
      return this.isValid()
3248
        ? ((n = !1),
3249
          (s = Sn),
3250
          "object" == typeof e && ((t = e), (e = !1)),
3251
          "boolean" == typeof e && (n = e),
3252
          "object" == typeof t &&
3253
            ((s = Object.assign({}, Sn, t)), null != t.s) &&
3254
            null == t.ss &&
3255
            (s.ss = t.s - 1),
3256
          (e = this.localeData()),
3257
          (t = On(this, !n, s, e)),
3258
          n && (t = e.pastFuture(+this, t)),
3259
          e.postformat(t))
3260
        : this.localeData().invalidDate();
3261
    }),
3262
    (U.toISOString = xn),
3263
    (U.toString = xn),
3264
    (U.toJSON = xn),
3265
    (U.locale = Xt),
3266
    (U.localeData = Kt),
3267
    (U.toIsoString = e(
3268
      "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
3269
      xn
3270
    )),
3271
    (U.lang = Ke),
3272
    s("X", 0, 0, "unix"),
3273
    s("x", 0, 0, "valueOf"),
3274
    h("x", ke),
3275
    h("X", /[+-]?\d+(\.\d{1,3})?/),
3276
    v("X", function (e, t, n) {
3277
      n._d = new Date(1e3 * parseFloat(e));
3278
    }),
3279
    v("x", function (e, t, n) {
3280
      n._d = new Date(M(e));
3281
    }),
3282
    (_.version = "2.30.1"),
3283
    (H = R),
3284
    (_.fn = u),
3285
    (_.min = function () {
3286
      return Pt("isBefore", [].slice.call(arguments, 0));
3287
    }),
3288
    (_.max = function () {
3289
      return Pt("isAfter", [].slice.call(arguments, 0));
3290
    }),
3291
    (_.now = function () {
3292
      return Date.now ? Date.now() : +new Date();
3293
    }),
3294
    (_.utc = l),
3295
    (_.unix = function (e) {
3296
      return R(1e3 * e);
3297
    }),
3298
    (_.months = function (e, t) {
3299
      return fn(e, t, "months");
3300
    }),
3301
    (_.isDate = V),
3302
    (_.locale = ft),
3303
    (_.invalid = I),
3304
    (_.duration = C),
3305
    (_.isMoment = k),
3306
    (_.weekdays = function (e, t, n) {
3307
      return mn(e, t, n, "weekdays");
3308
    }),
3309
    (_.parseZone = function () {
3310
      return R.apply(null, arguments).parseZone();
3311
    }),
3312
    (_.localeData = P),
3313
    (_.isDuration = Ut),
3314
    (_.monthsShort = function (e, t) {
3315
      return fn(e, t, "monthsShort");
3316
    }),
3317
    (_.weekdaysMin = function (e, t, n) {
3318
      return mn(e, t, n, "weekdaysMin");
3319
    }),
3320
    (_.defineLocale = mt),
3321
    (_.updateLocale = function (e, t) {
3322
      var n, s;
3323
      return (
3324
        null != t
3325
          ? ((s = ut),
3326
            null != W[e] && null != W[e].parentLocale
3327
              ? W[e].set(X(W[e]._config, t))
3328
              : ((t = X((s = null != (n = ct(e)) ? n._config : s), t)),
3329
                null == n && (t.abbr = e),
3330
                ((s = new K(t)).parentLocale = W[e]),
3331
                (W[e] = s)),
3332
            ft(e))
3333
          : null != W[e] &&
3334
            (null != W[e].parentLocale
3335
              ? ((W[e] = W[e].parentLocale), e === ft() && ft(e))
3336
              : null != W[e] && delete W[e]),
3337
        W[e]
3338
      );
3339
    }),
3340
    (_.locales = function () {
3341
      return ee(W);
3342
    }),
3343
    (_.weekdaysShort = function (e, t, n) {
3344
      return mn(e, t, n, "weekdaysShort");
3345
    }),
3346
    (_.normalizeUnits = o),
3347
    (_.relativeTimeRounding = function (e) {
3348
      return void 0 === e ? Yn : "function" == typeof e && ((Yn = e), !0);
3349
    }),
3350
    (_.relativeTimeThreshold = function (e, t) {
3351
      return (
3352
        void 0 !== Sn[e] &&
3353
        (void 0 === t ? Sn[e] : ((Sn[e] = t), "s" === e && (Sn.ss = t - 1), !0))
3354
      );
3355
    }),
3356
    (_.calendarFormat = function (e, t) {
3357
      return (e = e.diff(t, "days", !0)) < -6
3358
        ? "sameElse"
3359
        : e < -1
3360
        ? "lastWeek"
3361
        : e < 0
3362
        ? "lastDay"
3363
        : e < 1
3364
        ? "sameDay"
3365
        : e < 2
3366
        ? "nextDay"
3367
        : e < 7
3368
        ? "nextWeek"
3369
        : "sameElse";
3370
    }),
3371
    (_.prototype = u),
3372
    (_.HTML5_FMT = {
3373
      DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
3374
      DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
3375
      DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
3376
      DATE: "YYYY-MM-DD",
3377
      TIME: "HH:mm",
3378
      TIME_SECONDS: "HH:mm:ss",
3379
      TIME_MS: "HH:mm:ss.SSS",
3380
      WEEK: "GGGG-[W]WW",
3381
      MONTH: "YYYY-MM",
3382
    }),
3383
    _
3384
  );
3385
});
3386
//# sourceMappingURL=moment.min.js.map
3387

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.