@opfr/utils-lang 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.d.ts +3 -1
- package/dist/utils-lang.js +87 -82
- package/dist/utils-lang.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/array.d.ts
CHANGED
|
@@ -5,4 +5,6 @@ export declare const mutuallyInclusive: <T>(array1: T[], array2: T[], key?: (i:
|
|
|
5
5
|
export declare const exclude: <T>(array: T[], exclude: T[], key?: (i: T) => T | string | number) => T[];
|
|
6
6
|
export declare const unique: <T extends object, K extends string | number>(array: T[], key: (i: T) => K) => K[];
|
|
7
7
|
export declare const shuffle: <T>(array: T[]) => T[];
|
|
8
|
-
export declare const filterNullAndUndefined: <T>(array: (T | null | undefined)[]) =>
|
|
8
|
+
export declare const filterNullAndUndefined: <T>(array: (T | null | undefined)[]) => T[];
|
|
9
|
+
export declare const includeIf: <T>(array: T[], element: T, include: boolean) => T[];
|
|
10
|
+
export declare const includeArrayIf: <T>(array: T[], elements: T[], include: boolean) => T[];
|
package/dist/utils-lang.js
CHANGED
|
@@ -4,13 +4,16 @@ const Fn = (e, t) => e.reduce((r, s, a) => {
|
|
|
4
4
|
}, []), Ln = (e, t) => e.reduce(
|
|
5
5
|
(r, s) => ((r[t(s)] = r[t(s)] || []).push(s), r),
|
|
6
6
|
{}
|
|
7
|
-
), Cn = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0),
|
|
7
|
+
), Cn = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0), In = (e, t, r = (s) => s) => e.filter((s) => t.some((a) => r(a) === r(s))), Un = (e, t, r = (s) => s) => e.filter((s) => !t.some((a) => r(a) === r(s))), Hn = (e, t) => [...new Set(e.map((r) => t(r)))], En = (e) => {
|
|
8
8
|
for (let t = e.length - 1; t > 0; t--) {
|
|
9
9
|
const r = Math.floor(Math.random() * (t + 1));
|
|
10
10
|
[e[t], e[r]] = [e[r], e[t]];
|
|
11
11
|
}
|
|
12
12
|
return e;
|
|
13
|
-
}, An = (e) => e.filter((t) => t != null)
|
|
13
|
+
}, An = (e) => e.filter((t) => t != null), jn = (e, t, r) => [
|
|
14
|
+
...e,
|
|
15
|
+
...r ? [t] : []
|
|
16
|
+
], Vn = (e, t, r) => [...e, ...r ? t : []];
|
|
14
17
|
//! moment.js
|
|
15
18
|
//! version : 2.30.1
|
|
16
19
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
@@ -61,7 +64,7 @@ function Q(e, t) {
|
|
|
61
64
|
p(t, r) && (e[r] = t[r]);
|
|
62
65
|
return p(t, "toString") && (e.toString = t.toString), p(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
63
66
|
}
|
|
64
|
-
function
|
|
67
|
+
function U(e, t, r, s) {
|
|
65
68
|
return ar(e, t, r, s, !0).utc();
|
|
66
69
|
}
|
|
67
70
|
function br() {
|
|
@@ -106,7 +109,7 @@ function it(e) {
|
|
|
106
109
|
return e._isValid;
|
|
107
110
|
}
|
|
108
111
|
function Le(e) {
|
|
109
|
-
var t =
|
|
112
|
+
var t = U(NaN);
|
|
110
113
|
return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
|
|
111
114
|
}
|
|
112
115
|
var bt = l.momentProperties = [], $e = !1;
|
|
@@ -152,7 +155,7 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
|
152
155
|
}, t);
|
|
153
156
|
}
|
|
154
157
|
var Tt = {};
|
|
155
|
-
function
|
|
158
|
+
function It(e, t) {
|
|
156
159
|
l.deprecationHandler != null && l.deprecationHandler(e, t), Tt[e] || (Ct(t), Tt[e] = !0);
|
|
157
160
|
}
|
|
158
161
|
l.suppressDeprecationWarnings = !1;
|
|
@@ -198,7 +201,7 @@ function Pr(e, t, r) {
|
|
|
198
201
|
var s = this._calendar[e] || this._calendar.sameElse;
|
|
199
202
|
return H(s) ? s.call(t, r) : s;
|
|
200
203
|
}
|
|
201
|
-
function
|
|
204
|
+
function I(e, t, r) {
|
|
202
205
|
var s = "" + Math.abs(e), a = t - s.length, i = e >= 0;
|
|
203
206
|
return (i ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
|
|
204
207
|
}
|
|
@@ -208,7 +211,7 @@ function h(e, t, r, s) {
|
|
|
208
211
|
typeof s == "string" && (a = function() {
|
|
209
212
|
return this[s]();
|
|
210
213
|
}), e && (oe[e] = a), t && (oe[t[0]] = function() {
|
|
211
|
-
return
|
|
214
|
+
return I(a.apply(this, arguments), t[1], t[2]);
|
|
212
215
|
}), r && (oe[r] = function() {
|
|
213
216
|
return this.localeData().ordinal(
|
|
214
217
|
a.apply(this, arguments),
|
|
@@ -231,9 +234,9 @@ function Rr(e) {
|
|
|
231
234
|
};
|
|
232
235
|
}
|
|
233
236
|
function be(e, t) {
|
|
234
|
-
return e.isValid() ? (t =
|
|
237
|
+
return e.isValid() ? (t = Ut(t, e.localeData()), qe[t] = qe[t] || Rr(t), qe[t](e)) : e.localeData().invalidDate();
|
|
235
238
|
}
|
|
236
|
-
function
|
|
239
|
+
function Ut(e, t) {
|
|
237
240
|
var r = 5;
|
|
238
241
|
function s(a) {
|
|
239
242
|
return t.longDateFormat(a) || a;
|
|
@@ -263,7 +266,7 @@ var Lr = "Invalid date";
|
|
|
263
266
|
function Cr() {
|
|
264
267
|
return this._invalidDate;
|
|
265
268
|
}
|
|
266
|
-
var
|
|
269
|
+
var Ir = "%d", Ur = /\d{1,2}/;
|
|
267
270
|
function Hr(e) {
|
|
268
271
|
return this._ordinal.replace("%d", e);
|
|
269
272
|
}
|
|
@@ -378,7 +381,7 @@ function Gr(e) {
|
|
|
378
381
|
return s.priority - a.priority;
|
|
379
382
|
}), t;
|
|
380
383
|
}
|
|
381
|
-
var Ht = /\d/, T = /\d\d/, Et = /\d{3}/, dt = /\d{4}/, Ce = /[+-]?\d{6}/, k = /\d\d?/, At = /\d\d\d\d?/, jt = /\d\d\d\d\d\d?/,
|
|
384
|
+
var Ht = /\d/, T = /\d\d/, Et = /\d{3}/, dt = /\d{4}/, Ce = /[+-]?\d{6}/, k = /\d\d?/, At = /\d\d\d\d?/, jt = /\d\d\d\d\d\d?/, Ie = /\d{1,3}/, ht = /\d{1,4}/, Ue = /[+-]?\d{1,6}/, de = /\d+/, He = /[+-]?\d+/, zr = /Z|[+-]\d\d:?\d\d/gi, Ee = /Z|[+-]\d\d(?::?\d\d)?/gi, $r = /[+-]?\d+(\.\d{1,3})?/, ve = /[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, he = /^[1-9]\d?/, ft = /^([1-9]\d|\d)/, Pe;
|
|
382
385
|
Pe = {};
|
|
383
386
|
function d(e, t, r) {
|
|
384
387
|
Pe[e] = H(t) ? t : function(s, a) {
|
|
@@ -430,7 +433,7 @@ function Ae(e) {
|
|
|
430
433
|
var Y = 0, V = 1, C = 2, D = 3, R = 4, G = 5, te = 6, Jr = 7, Qr = 8;
|
|
431
434
|
h("Y", 0, 0, function() {
|
|
432
435
|
var e = this.year();
|
|
433
|
-
return e <= 9999 ?
|
|
436
|
+
return e <= 9999 ? I(e, 4) : "+" + e;
|
|
434
437
|
});
|
|
435
438
|
h(0, ["YY", 2], 0, function() {
|
|
436
439
|
return this.year() % 100;
|
|
@@ -441,8 +444,8 @@ h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
|
441
444
|
d("Y", He);
|
|
442
445
|
d("YY", k, T);
|
|
443
446
|
d("YYYY", ht, dt);
|
|
444
|
-
d("YYYYY",
|
|
445
|
-
d("YYYYYY",
|
|
447
|
+
d("YYYYY", Ue, Ce);
|
|
448
|
+
d("YYYYYY", Ue, Ce);
|
|
446
449
|
M(["YYYYY", "YYYYYY"], Y);
|
|
447
450
|
M("YYYY", function(e, t) {
|
|
448
451
|
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
|
@@ -582,7 +585,7 @@ function os(e, t, r) {
|
|
|
582
585
|
var s, a, i, n = e.toLocaleLowerCase();
|
|
583
586
|
if (!this._monthsParse)
|
|
584
587
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
585
|
-
i =
|
|
588
|
+
i = U([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
586
589
|
i,
|
|
587
590
|
""
|
|
588
591
|
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(i, "").toLocaleLowerCase();
|
|
@@ -593,7 +596,7 @@ function ls(e, t, r) {
|
|
|
593
596
|
if (this._monthsParseExact)
|
|
594
597
|
return os.call(this, e, t, r);
|
|
595
598
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
596
|
-
if (a =
|
|
599
|
+
if (a = U([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
597
600
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
598
601
|
"i"
|
|
599
602
|
), this._shortMonthsParse[s] = new RegExp(
|
|
@@ -637,7 +640,7 @@ function Bt() {
|
|
|
637
640
|
}
|
|
638
641
|
var t = [], r = [], s = [], a, i, n, u;
|
|
639
642
|
for (a = 0; a < 12; a++)
|
|
640
|
-
i =
|
|
643
|
+
i = U([2e3, a]), n = z(this.monthsShort(i, "")), u = z(this.months(i, "")), t.push(n), r.push(u), s.push(u), s.push(n);
|
|
641
644
|
t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
642
645
|
"^(" + r.join("|") + ")",
|
|
643
646
|
"i"
|
|
@@ -766,7 +769,7 @@ function xs(e, t, r) {
|
|
|
766
769
|
var s, a, i, n = e.toLocaleLowerCase();
|
|
767
770
|
if (!this._weekdaysParse)
|
|
768
771
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
769
|
-
i =
|
|
772
|
+
i = U([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
770
773
|
i,
|
|
771
774
|
""
|
|
772
775
|
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
@@ -780,7 +783,7 @@ function Ps(e, t, r) {
|
|
|
780
783
|
if (this._weekdaysParseExact)
|
|
781
784
|
return xs.call(this, e, t, r);
|
|
782
785
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
783
|
-
if (a =
|
|
786
|
+
if (a = U([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
784
787
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
785
788
|
"i"
|
|
786
789
|
), this._shortWeekdaysParse[s] = new RegExp(
|
|
@@ -835,7 +838,7 @@ function _t() {
|
|
|
835
838
|
}
|
|
836
839
|
var t = [], r = [], s = [], a = [], i, n, u, f, _;
|
|
837
840
|
for (i = 0; i < 7; i++)
|
|
838
|
-
n =
|
|
841
|
+
n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")), f = z(this.weekdaysShort(n, "")), _ = z(this.weekdays(n, "")), t.push(u), r.push(f), s.push(_), a.push(u), a.push(f), a.push(_);
|
|
839
842
|
t.sort(e), r.sort(e), s.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
840
843
|
"^(" + s.join("|") + ")",
|
|
841
844
|
"i"
|
|
@@ -850,23 +853,23 @@ function _t() {
|
|
|
850
853
|
function yt() {
|
|
851
854
|
return this.hours() % 12 || 12;
|
|
852
855
|
}
|
|
853
|
-
function
|
|
856
|
+
function Is() {
|
|
854
857
|
return this.hours() || 24;
|
|
855
858
|
}
|
|
856
859
|
h("H", ["HH", 2], 0, "hour");
|
|
857
860
|
h("h", ["hh", 2], 0, yt);
|
|
858
|
-
h("k", ["kk", 2], 0,
|
|
861
|
+
h("k", ["kk", 2], 0, Is);
|
|
859
862
|
h("hmm", 0, 0, function() {
|
|
860
|
-
return "" + yt.apply(this) +
|
|
863
|
+
return "" + yt.apply(this) + I(this.minutes(), 2);
|
|
861
864
|
});
|
|
862
865
|
h("hmmss", 0, 0, function() {
|
|
863
|
-
return "" + yt.apply(this) +
|
|
866
|
+
return "" + yt.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
864
867
|
});
|
|
865
868
|
h("Hmm", 0, 0, function() {
|
|
866
|
-
return "" + this.hours() +
|
|
869
|
+
return "" + this.hours() + I(this.minutes(), 2);
|
|
867
870
|
});
|
|
868
871
|
h("Hmmss", 0, 0, function() {
|
|
869
|
-
return "" + this.hours() +
|
|
872
|
+
return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
870
873
|
});
|
|
871
874
|
function Kt(e, t) {
|
|
872
875
|
h(e, 0, 0, function() {
|
|
@@ -921,7 +924,7 @@ M("Hmmss", function(e, t, r) {
|
|
|
921
924
|
var s = e.length - 4, a = e.length - 2;
|
|
922
925
|
t[D] = m(e.substr(0, s)), t[R] = m(e.substr(s, 2)), t[G] = m(e.substr(a));
|
|
923
926
|
});
|
|
924
|
-
function
|
|
927
|
+
function Us(e) {
|
|
925
928
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
926
929
|
}
|
|
927
930
|
var Hs = /[ap]\.?m?\.?/i, Es = fe("Hours", !0);
|
|
@@ -932,8 +935,8 @@ var er = {
|
|
|
932
935
|
calendar: xr,
|
|
933
936
|
longDateFormat: Nr,
|
|
934
937
|
invalidDate: Lr,
|
|
935
|
-
ordinal:
|
|
936
|
-
dayOfMonthOrdinalParse:
|
|
938
|
+
ordinal: Ir,
|
|
939
|
+
dayOfMonthOrdinalParse: Ur,
|
|
937
940
|
relativeTime: Er,
|
|
938
941
|
months: rs,
|
|
939
942
|
monthsShort: zt,
|
|
@@ -989,7 +992,7 @@ function pt(e, t) {
|
|
|
989
992
|
if (t !== null) {
|
|
990
993
|
var r, s = er;
|
|
991
994
|
if (t.abbr = e, v[e] != null)
|
|
992
|
-
|
|
995
|
+
It(
|
|
993
996
|
"defineLocaleOverride",
|
|
994
997
|
"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."
|
|
995
998
|
), s = v[e]._config;
|
|
@@ -1231,7 +1234,7 @@ function gt(e) {
|
|
|
1231
1234
|
}
|
|
1232
1235
|
e._a = [], c(e).empty = !0;
|
|
1233
1236
|
var t = "" + e._i, r, s, a, i, n, u = t.length, f = 0, _, O;
|
|
1234
|
-
for (a =
|
|
1237
|
+
for (a = Ut(e._f, e._locale).match(lt) || [], O = a.length, r = 0; r < O; r++)
|
|
1235
1238
|
i = a[r], s = (t.match(qr(i, e)) || [])[0], s && (n = t.substr(0, t.indexOf(s)), n.length > 0 && c(e).unusedInput.push(n), t = t.slice(
|
|
1236
1239
|
t.indexOf(s) + s.length
|
|
1237
1240
|
), f += s.length), oe[i] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(i), Br(i, s, e)) : e._strict && !s && c(e).unusedTokens.push(i);
|
|
@@ -1369,7 +1372,7 @@ function ga(e, t, r) {
|
|
|
1369
1372
|
function nr(e, t) {
|
|
1370
1373
|
h(e, 0, 0, function() {
|
|
1371
1374
|
var r = this.utcOffset(), s = "+";
|
|
1372
|
-
return r < 0 && (r = -r, s = "-"), s +
|
|
1375
|
+
return r < 0 && (r = -r, s = "-"), s + I(~~(r / 60), 2) + t + I(~~r % 60, 2);
|
|
1373
1376
|
});
|
|
1374
1377
|
}
|
|
1375
1378
|
nr("Z", ":");
|
|
@@ -1440,7 +1443,7 @@ function xa() {
|
|
|
1440
1443
|
if (!b(this._isDSTShifted))
|
|
1441
1444
|
return this._isDSTShifted;
|
|
1442
1445
|
var e = {}, t;
|
|
1443
|
-
return nt(e, this), e = sr(e), e._a ? (t = e._isUTC ?
|
|
1446
|
+
return nt(e, this), e = sr(e), e._a ? (t = e._isUTC ? U(e._a) : g(e._a), this._isDSTShifted = this.isValid() && ga(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1444
1447
|
}
|
|
1445
1448
|
function Pa() {
|
|
1446
1449
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -1496,7 +1499,7 @@ function Fa(e, t) {
|
|
|
1496
1499
|
function lr(e, t) {
|
|
1497
1500
|
return function(r, s) {
|
|
1498
1501
|
var a, i;
|
|
1499
|
-
return s !== null && !isNaN(+s) && (
|
|
1502
|
+
return s !== null && !isNaN(+s) && (It(
|
|
1500
1503
|
t,
|
|
1501
1504
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1502
1505
|
), i = r, r = s, s = i), a = L(r, s), ur(this, a, e), this;
|
|
@@ -1510,10 +1513,10 @@ var La = lr(1, "add"), Ca = lr(-1, "subtract");
|
|
|
1510
1513
|
function dr(e) {
|
|
1511
1514
|
return typeof e == "string" || e instanceof String;
|
|
1512
1515
|
}
|
|
1513
|
-
function Ua(e) {
|
|
1514
|
-
return F(e) || ge(e) || dr(e) || q(e) || Ha(e) || Ia(e) || e === null || e === void 0;
|
|
1515
|
-
}
|
|
1516
1516
|
function Ia(e) {
|
|
1517
|
+
return F(e) || ge(e) || dr(e) || q(e) || Ha(e) || Ua(e) || e === null || e === void 0;
|
|
1518
|
+
}
|
|
1519
|
+
function Ua(e) {
|
|
1517
1520
|
var t = re(e) && !at(e), r = !1, s = [
|
|
1518
1521
|
"years",
|
|
1519
1522
|
"year",
|
|
@@ -1568,7 +1571,7 @@ function Aa(e, t) {
|
|
|
1568
1571
|
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1569
1572
|
}
|
|
1570
1573
|
function ja(e, t) {
|
|
1571
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1574
|
+
arguments.length === 1 && (arguments[0] ? Ia(arguments[0]) ? (e = arguments[0], t = void 0) : Ea(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1572
1575
|
var r = e || g(), s = vt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", i = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
|
|
1573
1576
|
return this.format(
|
|
1574
1577
|
i || this.localeData().calendar(a, this, g(r))
|
|
@@ -2014,8 +2017,8 @@ d("GG", k, T);
|
|
|
2014
2017
|
d("gg", k, T);
|
|
2015
2018
|
d("GGGG", ht, dt);
|
|
2016
2019
|
d("gggg", ht, dt);
|
|
2017
|
-
d("GGGGG",
|
|
2018
|
-
d("ggggg",
|
|
2020
|
+
d("GGGGG", Ue, Ce);
|
|
2021
|
+
d("ggggg", Ue, Ce);
|
|
2019
2022
|
Se(
|
|
2020
2023
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2021
2024
|
function(e, t, r, s) {
|
|
@@ -2072,7 +2075,7 @@ d("Q", Ht);
|
|
|
2072
2075
|
M("Q", function(e, t) {
|
|
2073
2076
|
t[V] = (m(e) - 1) * 3;
|
|
2074
2077
|
});
|
|
2075
|
-
function
|
|
2078
|
+
function Ii(e) {
|
|
2076
2079
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2077
2080
|
}
|
|
2078
2081
|
h("D", ["DD", 2], "Do", "date");
|
|
@@ -2087,12 +2090,12 @@ M("Do", function(e, t) {
|
|
|
2087
2090
|
});
|
|
2088
2091
|
var wr = fe("Date", !0);
|
|
2089
2092
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2090
|
-
d("DDD",
|
|
2093
|
+
d("DDD", Ie);
|
|
2091
2094
|
d("DDDD", Et);
|
|
2092
2095
|
M(["DDD", "DDDD"], function(e, t, r) {
|
|
2093
2096
|
r._dayOfYear = m(e);
|
|
2094
2097
|
});
|
|
2095
|
-
function
|
|
2098
|
+
function Ui(e) {
|
|
2096
2099
|
var t = Math.round(
|
|
2097
2100
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2098
2101
|
) + 1;
|
|
@@ -2133,9 +2136,9 @@ h(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2133
2136
|
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2134
2137
|
return this.millisecond() * 1e6;
|
|
2135
2138
|
});
|
|
2136
|
-
d("S",
|
|
2137
|
-
d("SS",
|
|
2138
|
-
d("SSS",
|
|
2139
|
+
d("S", Ie, Ht);
|
|
2140
|
+
d("SS", Ie, T);
|
|
2141
|
+
d("SSS", Ie, Et);
|
|
2139
2142
|
var K, Mr;
|
|
2140
2143
|
for (K = "SSSS"; K.length <= 9; K += "S")
|
|
2141
2144
|
d(K, de);
|
|
@@ -2203,7 +2206,7 @@ o.year = Vt;
|
|
|
2203
2206
|
o.isLeapYear = Kr;
|
|
2204
2207
|
o.weekYear = Pi;
|
|
2205
2208
|
o.isoWeekYear = Wi;
|
|
2206
|
-
o.quarter = o.quarters =
|
|
2209
|
+
o.quarter = o.quarters = Ii;
|
|
2207
2210
|
o.month = Zt;
|
|
2208
2211
|
o.daysInMonth = us;
|
|
2209
2212
|
o.week = o.weeks = ps;
|
|
@@ -2216,7 +2219,7 @@ o.date = wr;
|
|
|
2216
2219
|
o.day = o.days = Ws;
|
|
2217
2220
|
o.weekday = Rs;
|
|
2218
2221
|
o.isoWeekday = Ns;
|
|
2219
|
-
o.dayOfYear =
|
|
2222
|
+
o.dayOfYear = Ui;
|
|
2220
2223
|
o.hour = o.hours = Es;
|
|
2221
2224
|
o.minute = o.minutes = Hi;
|
|
2222
2225
|
o.second = o.seconds = Ei;
|
|
@@ -2293,10 +2296,10 @@ w.weekdaysParse = Ps;
|
|
|
2293
2296
|
w.weekdaysRegex = Fs;
|
|
2294
2297
|
w.weekdaysShortRegex = Ls;
|
|
2295
2298
|
w.weekdaysMinRegex = Cs;
|
|
2296
|
-
w.isPM =
|
|
2299
|
+
w.isPM = Us;
|
|
2297
2300
|
w.meridiem = As;
|
|
2298
2301
|
function Fe(e, t, r, s) {
|
|
2299
|
-
var a = Z(), i =
|
|
2302
|
+
var a = Z(), i = U().set(s, t);
|
|
2300
2303
|
return a[r](i, e);
|
|
2301
2304
|
}
|
|
2302
2305
|
function kr(e, t, r) {
|
|
@@ -2544,7 +2547,7 @@ l.fn = o;
|
|
|
2544
2547
|
l.min = ma;
|
|
2545
2548
|
l.max = _a;
|
|
2546
2549
|
l.now = ya;
|
|
2547
|
-
l.utc =
|
|
2550
|
+
l.utc = U;
|
|
2548
2551
|
l.unix = Gi;
|
|
2549
2552
|
l.months = $i;
|
|
2550
2553
|
l.isDate = ge;
|
|
@@ -2670,7 +2673,7 @@ const bn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2670
2673
|
dow: 1,
|
|
2671
2674
|
doy: 4
|
|
2672
2675
|
}
|
|
2673
|
-
}, Pn = " ", Wn = " ",
|
|
2676
|
+
}, Pn = " ", Wn = " ", Gn = (e, t = "") => e.split(t).join(Pn), zn = (e, t = "") => e.split(t).join(Wn), $n = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Rn = (e) => e && e[0].toUpperCase() + e.slice(1), Yr = (e) => e.split(" ").map(Rn).join(" "), qn = (e) => /^\d+$/.test(e), Zn = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, Bn = (e) => e.trim().replace(/\s+/gi, " "), Jn = (e) => {
|
|
2674
2677
|
const t = e.split(" "), s = ((a) => {
|
|
2675
2678
|
let i = 1 / 0;
|
|
2676
2679
|
for (let n = 0; n < a.length; n++) {
|
|
@@ -2689,9 +2692,9 @@ const bn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2689
2692
|
);
|
|
2690
2693
|
};
|
|
2691
2694
|
l.locale("fr", xn);
|
|
2692
|
-
const
|
|
2695
|
+
const Qn = (e) => new Date(e).toString() !== "Invalid Date", Kn = (e, t) => Math.abs(
|
|
2693
2696
|
Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
|
|
2694
|
-
),
|
|
2697
|
+
), Xn = (e) => Yr(l(e).format("DD MMMM YYYY")), eo = (e) => Yr(l(e).format("dddd DD MMMM YYYY")), to = (e, t, r = !0) => (r ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), ro = () => l().locale("fr").subtract(1, "days").toDate(), so = (e) => {
|
|
2695
2698
|
const t = [], r = l.duration(e);
|
|
2696
2699
|
if (!(!r || r.toISOString() === "P0D")) {
|
|
2697
2700
|
if (r.years() >= 1) {
|
|
@@ -2720,7 +2723,7 @@ const Bn = (e) => new Date(e).toString() !== "Invalid Date", Jn = (e, t) => Math
|
|
|
2720
2723
|
}
|
|
2721
2724
|
return t.join(", ");
|
|
2722
2725
|
}
|
|
2723
|
-
}, Ot = /^([1-9][0-9]?)([hmd])$/i,
|
|
2726
|
+
}, Ot = /^([1-9][0-9]?)([hmd])$/i, ao = (e) => !!e && Ot.test(e), io = (e) => {
|
|
2724
2727
|
const t = Ot.exec(e);
|
|
2725
2728
|
if (!t)
|
|
2726
2729
|
return null;
|
|
@@ -2731,7 +2734,7 @@ const Bn = (e) => new Date(e).toString() !== "Invalid Date", Jn = (e, t) => Math
|
|
|
2731
2734
|
return i * 60 * a;
|
|
2732
2735
|
if (s === "d")
|
|
2733
2736
|
return i * 60 * 24 * a;
|
|
2734
|
-
},
|
|
2737
|
+
}, no = (e) => {
|
|
2735
2738
|
const t = Ot.exec(e);
|
|
2736
2739
|
if (!t)
|
|
2737
2740
|
return null;
|
|
@@ -2742,7 +2745,7 @@ const Bn = (e) => new Date(e).toString() !== "Invalid Date", Jn = (e, t) => Math
|
|
|
2742
2745
|
return `${a} heure${a > 1 ? "s" : ""}`;
|
|
2743
2746
|
if (s === "d")
|
|
2744
2747
|
return `${a} jour${a > 1 ? "s" : ""}`;
|
|
2745
|
-
},
|
|
2748
|
+
}, oo = {
|
|
2746
2749
|
d1: "<:d1:1159542168738873455>",
|
|
2747
2750
|
d2: "<:d2:1159542071049334814>",
|
|
2748
2751
|
d3: "<:d3:1159542073914032191>",
|
|
@@ -2888,7 +2891,7 @@ const Bn = (e) => new Date(e).toString() !== "Invalid Date", Jn = (e, t) => Math
|
|
|
2888
2891
|
item_ship_fairy_wing: "<:Ailedefees:1233782379269722293>",
|
|
2889
2892
|
item_ship_phoenix_feather: "<:PlumedePhoenix:1233784783822127167>",
|
|
2890
2893
|
item_ship_mithril: "<:MandragoreAdulte:1233782409070247946>"
|
|
2891
|
-
}, Nn = (e) => new Intl.NumberFormat("de-DE").format(e),
|
|
2894
|
+
}, Nn = (e) => new Intl.NumberFormat("de-DE").format(e), lo = (e, t) => Math.floor(Math.random() * (t - e) + e), Oe = (e) => `${Nn(Math.round(e / 1024 / 1024 * 100) / 100)} MB`, uo = () => {
|
|
2892
2895
|
const e = process.memoryUsage(), t = {
|
|
2893
2896
|
rss: `${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,
|
|
2894
2897
|
heapTotal: `${Oe(e.heapTotal)} -> total size of the allocated heap`,
|
|
@@ -2896,41 +2899,43 @@ const Bn = (e) => new Date(e).toString() !== "Invalid Date", Jn = (e, t) => Math
|
|
|
2896
2899
|
external: `${Oe(e.external)} -> V8 external memory`
|
|
2897
2900
|
};
|
|
2898
2901
|
console.log(t);
|
|
2899
|
-
},
|
|
2902
|
+
}, ho = (e) => typeof e == "function";
|
|
2900
2903
|
export {
|
|
2901
2904
|
Pn as TIGHT_SPACE,
|
|
2902
2905
|
Wn as WIDE_SPACE,
|
|
2903
|
-
|
|
2906
|
+
Jn as breakWords,
|
|
2904
2907
|
Rn as capitalize,
|
|
2905
2908
|
Yr as capitalizeAllWords,
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2909
|
+
Kn as dateDiff,
|
|
2910
|
+
io as durationToMs,
|
|
2911
|
+
$n as ellipsis,
|
|
2912
|
+
oo as emojis,
|
|
2913
|
+
Un as exclude,
|
|
2914
|
+
Gn as fillWithTightSpaces,
|
|
2915
|
+
zn as fillWithWideSpaces,
|
|
2913
2916
|
An as filterNullAndUndefined,
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
+
Xn as formatDate,
|
|
2918
|
+
eo as formatDateWithDay,
|
|
2919
|
+
no as formatDuration,
|
|
2917
2920
|
Oe as formatMemoryUsage,
|
|
2918
2921
|
Nn as formatNumber,
|
|
2919
2922
|
Ln as groupBy,
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2923
|
+
Vn as includeArrayIf,
|
|
2924
|
+
jn as includeIf,
|
|
2925
|
+
ao as isDuration,
|
|
2926
|
+
ho as isFunction,
|
|
2927
|
+
qn as isPositiveInteger,
|
|
2928
|
+
Qn as isValidDate,
|
|
2929
|
+
In as mutuallyInclusive,
|
|
2930
|
+
Zn as numberToOrdinal,
|
|
2926
2931
|
Fn as paginate,
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2932
|
+
so as precise,
|
|
2933
|
+
uo as printMemoryUsage,
|
|
2934
|
+
lo as randomBetween,
|
|
2935
|
+
to as sameDay,
|
|
2931
2936
|
En as shuffle,
|
|
2932
2937
|
Cn as sortBy,
|
|
2933
|
-
|
|
2938
|
+
Bn as trim,
|
|
2934
2939
|
Hn as unique,
|
|
2935
|
-
|
|
2940
|
+
ro as yesterday
|
|
2936
2941
|
};
|
package/dist/utils-lang.umd.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(c,me){typeof exports=="object"&&typeof module<"u"?me(exports):typeof define=="function"&&define.amd?define(["exports"],me):(c=typeof globalThis<"u"?globalThis:c||self,me(c["@opfr/utils-lang"]={}))})(this,function(c){"use strict";const me=(e,t)=>e.reduce((r,s,a)=>{const i=Math.floor(a/t);return(r[i]||(r[i]=[])).push(s),r},[]),Rr=(e,t)=>e.reduce((r,s)=>((r[t(s)]=r[t(s)]||[]).push(s),r),{}),Nr=(e,t)=>[...e].sort((r,s)=>t(r)<t(s)?-1:t(r)>t(s)?1:0),Fr=(e,t,r=s=>s)=>e.filter(s=>t.some(a=>r(a)===r(s))),Lr=(e,t,r=s=>s)=>e.filter(s=>!t.some(a=>r(a)===r(s))),Cr=(e,t)=>[...new Set(e.map(r=>t(r)))],Ir=e=>{for(let t=e.length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e},Ur=e=>e.filter(t=>t!=null),Hr=(e,t,r)=>[...e,...r?[t]:[]],Ar=(e,t,r)=>[...e,...r?t:[]];//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
6
|
+
var Wt;function l(){return Wt.apply(null,arguments)}function Er(e){Wt=e}function N(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function te(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ze(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(g(e,t))return!1;return!0}function T(e){return e===void 0}function E(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function _e(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function xt(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function Q(e,t){for(var r in t)g(t,r)&&(e[r]=t[r]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function I(e,t,r,s){return ar(e,t,r,s,!0).utc()}function jr(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(e){return e._pf==null&&(e._pf=jr()),e._pf}var Be;Array.prototype.some?Be=Array.prototype.some:Be=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Je(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=m(e),r=Be.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function be(e){var t=I(NaN);return e!=null?Q(m(t),e):m(t).userInvalidated=!0,t}var Rt=l.momentProperties=[],Qe=!1;function Ke(e,t){var r,s,a,i=Rt.length;if(T(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),T(t._i)||(e._i=t._i),T(t._f)||(e._f=t._f),T(t._l)||(e._l=t._l),T(t._strict)||(e._strict=t._strict),T(t._tzm)||(e._tzm=t._tzm),T(t._isUTC)||(e._isUTC=t._isUTC),T(t._offset)||(e._offset=t._offset),T(t._pf)||(e._pf=m(t)),T(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)s=Rt[r],a=t[s],T(a)||(e[s]=a);return e}function ye(e){Ke(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Qe===!1&&(Qe=!0,l.updateOffset(this),Qe=!1)}function F(e){return e instanceof ye||e!=null&&e._isAMomentObject!=null}function Nt(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function W(e,t){var r=!0;return Q(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),r){var s=[],a,i,n,u=arguments.length;for(i=0;i<u;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
7
7
|
[`+i+"] ";for(n in arguments[0])g(arguments[0],n)&&(a+=n+": "+arguments[0][n]+", ");a=a.slice(0,-2)}else a=arguments[i];s.push(a)}Nt(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ft={};function Lt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Ft[e]||(Nt(t),Ft[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function I(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Ar(e){var t,r;for(r in e)g(e,r)&&(t=e[r],I(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Xe(e,t){var r=Q({},e),s;for(s in t)g(t,s)&&(te(e[s])&&te(t[s])?(r[s]={},Q(r[s],e[s]),Q(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)g(e,s)&&!g(t,s)&&te(e[s])&&(r[s]=Q({},r[s]));return r}function et(e){e!=null&&this.set(e)}var tt;Object.keys?tt=Object.keys:tt=function(e){var t,r=[];for(t in e)g(e,t)&&r.push(t);return r};var jr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Vr(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return I(s)?s.call(t,r):s}function H(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var rt=/(\[[^\[]*\])|(\\)?([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,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,st={},ie={};function h(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(ie[e]=a),t&&(ie[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Gr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function zr(e){var t=e.match(rt),r,s;for(r=0,s=t.length;r<s;r++)ie[t[r]]?t[r]=ie[t[r]]:t[r]=Gr(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=I(t[n])?t[n].call(a,e):t[n];return i}}function Pe(e,t){return e.isValid()?(t=Ct(t,e.localeData()),st[t]=st[t]||zr(t),st[t](e)):e.localeData().invalidDate()}function Ct(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Te.lastIndex=0;r>=0&&Te.test(e);)e=e.replace(Te,s),Te.lastIndex=0,r-=1;return e}var $r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function qr(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(rt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Zr="Invalid date";function Br(){return this._invalidDate}var Jr="%d",Qr=/\d{1,2}/;function Kr(e){return this._ordinal.replace("%d",e)}var Xr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function es(e,t,r,s){var a=this._relativeTime[r];return I(a)?a(e,t,r,s):a.replace(/%d/i,e)}function ts(e,t){var r=this._relativeTime[e>0?"future":"past"];return I(r)?r(t):r.replace(/%s/i,t)}var Ut={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function W(e){return typeof e=="string"?Ut[e]||Ut[e.toLowerCase()]:void 0}function at(e){var t={},r,s;for(s in e)g(e,s)&&(r=W(s),r&&(t[r]=e[s]));return t}var rs={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ss(e){var t=[],r;for(r in e)g(e,r)&&t.push({unit:r,priority:rs[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var It=/\d/,P=/\d\d/,Ht=/\d{3}/,it=/\d{4}/,xe=/[+-]?\d{6}/,D=/\d\d?/,Et=/\d\d\d\d?/,At=/\d\d\d\d\d\d?/,We=/\d{1,3}/,nt=/\d{1,4}/,Re=/[+-]?\d{1,6}/,ne=/\d+/,Ne=/[+-]?\d+/,as=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,is=/[+-]?\d+(\.\d{1,3})?/,we=/[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,oe=/^[1-9]\d?/,ot=/^([1-9]\d|\d)/,Le;Le={};function d(e,t,r){Le[e]=I(t)?t:function(s,a){return s&&r?r:t}}function ns(e,t){return g(Le,e)?Le[e](t._strict,t._locale):new RegExp(os(e))}function os(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=R(t)),r}var lt={};function M(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),A(t)&&(s=function(i,n){n[t]=_(i)}),a=e.length,r=0;r<a;r++)lt[e[r]]=s}function ge(e,t){M(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function ls(e,t,r){t!=null&&g(lt,e)&<[e](t,r._a,r,e)}function Ce(e){return e%4===0&&e%100!==0||e%400===0}var O=0,V=1,E=2,Y=3,L=4,G=5,re=6,us=7,ds=8;h("Y",0,0,function(){var e=this.year();return e<=9999?H(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Ne),d("YY",D,P),d("YYYY",nt,it),d("YYYYY",Re,xe),d("YYYYYY",Re,xe),M(["YYYYY","YYYYYY"],O),M("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):_(e)}),M("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),M("Y",function(e,t){t[O]=parseInt(e,10)});function pe(e){return Ce(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var jt=le("FullYear",!0);function hs(){return Ce(this.year())}function le(e,t){return function(r){return r!=null?(Vt(this,e,r),l.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Vt(e,t,r){var s,a,i,n,u;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}i=r,n=e.month(),u=e.date(),u=u===29&&n===1&&!Ce(i)?28:u,a?s.setUTCFullYear(i,n,u):s.setFullYear(i,n,u)}}function fs(e){return e=W(e),I(this[e])?this[e]():this}function cs(e,t){if(typeof e=="object"){e=at(e);var r=ss(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=W(e),I(this[e]))return this[e](t);return this}function ms(e,t){return(e%t+t)%t}var k;Array.prototype.indexOf?k=Array.prototype.indexOf:k=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=ms(t,12);return e+=(t-r)/12,r===1?Ce(e)?29:28:31-r%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",D,oe),d("MM",D,P),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),M(["M","MM"],function(e,t){t[V]=_(e)-1}),M(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[V]=a:c(r).invalidMonth=e});var _s="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ys=we,ws=we;function gs(e,t){return e?N(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||zt).test(t)?"format":"standalone"][e.month()]:N(this._months)?this._months:this._months.standalone}function ps(e,t){return e?N(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[zt.test(t)?"format":"standalone"][e.month()]:N(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ms(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=U([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=k.call(this._shortMonthsParse,n),a!==-1?a:null):(a=k.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=k.call(this._shortMonthsParse,n),a!==-1?a:(a=k.call(this._longMonthsParse,n),a!==-1?a:null)):(a=k.call(this._longMonthsParse,n),a!==-1?a:(a=k.call(this._shortMonthsParse,n),a!==-1?a:null))}function Ds(e,t,r){var s,a,i;if(this._monthsParseExact)return Ms.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=U([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function $t(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!A(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ut(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function qt(e){return e!=null?($t(this,e),l.updateOffset(this,!0),this):Me(this,"Month")}function Ss(){return ut(this.year(),this.month())}function vs(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Zt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=ys),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ks(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Zt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=ws),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Zt(){function e(f,y){return y.length-f.length}var t=[],r=[],s=[],a,i,n,u;for(a=0;a<12;a++)i=U([2e3,a]),n=j(this.monthsShort(i,"")),u=j(this.months(i,"")),t.push(n),r.push(u),s.push(u),s.push(n);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ys(e,t,r,s,a,i,n){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,a,i,n),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,a,i,n),u}function De(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,r){var s=7+t-r,a=(7+De(e,0,s).getUTCDay()-t)%7;return-a+s-1}function Bt(e,t,r,s,a){var i=(7+r-s)%7,n=Ue(e,s,a),u=1+7*(t-1)+i+n,f,y;return u<=0?(f=e-1,y=pe(f)+u):u>pe(e)?(f=e+1,y=u-pe(e)):(f=e,y=u),{year:f,dayOfYear:y}}function Se(e,t,r){var s=Ue(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+z(n,t,r)):a>z(e.year(),t,r)?(i=a-z(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function z(e,t,r){var s=Ue(e,t,r),a=Ue(e+1,t,r);return(pe(e)-s+a)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",D,oe),d("ww",D,P),d("W",D,oe),d("WW",D,P),ge(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Os(e){return Se(e,this._week.dow,this._week.doy).week}var bs={dow:0,doy:6};function Ts(){return this._week.dow}function Ps(){return this._week.doy}function xs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ws(e){var t=Se(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",D),d("e",D),d("E",D),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:c(r).invalidWeekday=e}),ge(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function Rs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ns(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function dt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Fs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ls="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Cs=we,Us=we,Is=we;function Hs(e,t){var r=N(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?dt(r,this._week.dow):e?r[e.day()]:r}function Es(e){return e===!0?dt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function As(e){return e===!0?dt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function js(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=U([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=k.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=k.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=k.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=k.call(this._weekdaysParse,n),a!==-1||(a=k.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=k.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=k.call(this._shortWeekdaysParse,n),a!==-1||(a=k.call(this._weekdaysParse,n),a!==-1)?a:(a=k.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=k.call(this._minWeekdaysParse,n),a!==-1||(a=k.call(this._weekdaysParse,n),a!==-1)?a:(a=k.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function Vs(e,t,r){var s,a,i;if(this._weekdaysParseExact)return js.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=U([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function Gs(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=Rs(e,this.localeData()),this.add(e-t,"d")):t}function zs(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function $s(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ns(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function qs(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Cs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zs(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Us),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bs(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Is),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(b,J){return J.length-b.length}var t=[],r=[],s=[],a=[],i,n,u,f,y;for(i=0;i<7;i++)n=U([2e3,1]).day(i),u=j(this.weekdaysMin(n,"")),f=j(this.weekdaysShort(n,"")),y=j(this.weekdays(n,"")),t.push(u),r.push(f),s.push(y),a.push(u),a.push(f),a.push(y);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ft(){return this.hours()%12||12}function Js(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ft),h("k",["kk",2],0,Js),h("hmm",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)});function Qt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Qt("a",!0),Qt("A",!1);function Kt(e,t){return t._meridiemParse}d("a",Kt),d("A",Kt),d("H",D,ot),d("h",D,oe),d("k",D,oe),d("HH",D,P),d("hh",D,P),d("kk",D,P),d("hmm",Et),d("hmmss",At),d("Hmm",Et),d("Hmmss",At),M(["H","HH"],Y),M(["k","kk"],function(e,t,r){var s=_(e);t[Y]=s===24?0:s}),M(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),M(["h","hh"],function(e,t,r){t[Y]=_(e),c(r).bigHour=!0}),M("hmm",function(e,t,r){var s=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s)),c(r).bigHour=!0}),M("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[G]=_(e.substr(a)),c(r).bigHour=!0}),M("Hmm",function(e,t,r){var s=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s))}),M("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[G]=_(e.substr(a))});function Qs(e){return(e+"").toLowerCase().charAt(0)==="p"}var Ks=/[ap]\.?m?\.?/i,Xs=le("Hours",!0);function ea(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Xt={calendar:jr,longDateFormat:$r,invalidDate:Zr,ordinal:Jr,dayOfMonthOrdinalParse:Qr,relativeTime:Xr,months:_s,monthsShort:Gt,week:bs,weekdays:Fs,weekdaysMin:Ls,weekdaysShort:Jt,meridiemParse:Ks},v={},ve={},ke;function ta(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function er(e){return e&&e.toLowerCase().replace("_","-")}function ra(e){for(var t=0,r,s,a,i;t<e.length;){for(i=er(e[t]).split("-"),r=i.length,s=er(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Ie(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&ta(i,s)>=r-1)break;r--}t++}return ke}function sa(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ie(e){var t=null,r;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&sa(e))try{t=ke._abbr,r=require,r("./locale/"+e),K(t)}catch{v[e]=null}return v[e]}function K(e,t){var r;return e&&(T(t)?r=$(e):r=ct(e,t),r?ke=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ke._abbr}function ct(e,t){if(t!==null){var r,s=Xt;if(t.abbr=e,v[e]!=null)Lt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=Ie(t.parentLocale),r!=null)s=r._config;else return ve[t.parentLocale]||(ve[t.parentLocale]=[]),ve[t.parentLocale].push({name:e,config:t}),null;return v[e]=new et(Xe(s,t)),ve[e]&&ve[e].forEach(function(a){ct(a.name,a.config)}),K(e),v[e]}else return delete v[e],null}function aa(e,t){if(t!=null){var r,s,a=Xt;v[e]!=null&&v[e].parentLocale!=null?v[e].set(Xe(v[e]._config,t)):(s=Ie(e),s!=null&&(a=s._config),t=Xe(a,t),s==null&&(t.abbr=e),r=new et(t),r.parentLocale=v[e],v[e]=r),K(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===K()&&K(e)):v[e]!=null&&delete v[e]);return v[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ke;if(!N(e)){if(t=Ie(e),t)return t;e=[e]}return ra(e)}function ia(){return tt(v)}function mt(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[V]<0||r[V]>11?V:r[E]<1||r[E]>ut(r[O],r[V])?E:r[Y]<0||r[Y]>24||r[Y]===24&&(r[L]!==0||r[G]!==0||r[re]!==0)?Y:r[L]<0||r[L]>59?L:r[G]<0||r[G]>59?G:r[re]<0||r[re]>999?re:-1,c(e)._overflowDayOfYear&&(t<O||t>E)&&(t=E),c(e)._overflowWeeks&&t===-1&&(t=us),c(e)._overflowWeekday&&t===-1&&(t=ds),c(e).overflow=t),e}var na=/^\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)?)?$/,oa=/^\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)?)?$/,la=/Z|[+-]\d\d(?::?\d\d)?/,He=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ua=/^\/?Date\((-?\d+)/i,da=/^(?:(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}))$/,ha={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function tr(e){var t,r,s=e._i,a=na.exec(s)||oa.exec(s),i,n,u,f,y=He.length,b=_t.length;if(a){for(c(e).iso=!0,t=0,r=y;t<r;t++)if(He[t][1].exec(a[1])){n=He[t][0],i=He[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=b;t<r;t++)if(_t[t][1].exec(a[3])){u=(a[2]||" ")+_t[t][0];break}if(u==null){e._isValid=!1;return}}if(!i&&u!=null){e._isValid=!1;return}if(a[4])if(la.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=n+(u||"")+(f||""),wt(e)}else e._isValid=!1}function fa(e,t,r,s,a,i){var n=[ca(e),Gt.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function ca(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ma(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _a(e,t,r){if(e){var s=Jt.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function ya(e,t,r){if(e)return ha[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function rr(e){var t=da.exec(ma(e._i)),r;if(t){if(r=fa(t[4],t[3],t[2],t[5],t[6],t[7]),!_a(t[1],r,e))return;e._a=r,e._tzm=ya(t[8],t[9],t[10]),e._d=De.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function wa(e){var t=ua.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(tr(e),e._isValid===!1)delete e._isValid;else return;if(rr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=x("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.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ue(e,t,r){return e??t??r}function ga(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function yt(e){var t,r,s=[],a,i,n;if(!e._d){for(a=ga(e),e._w&&e._a[E]==null&&e._a[V]==null&&pa(e),e._dayOfYear!=null&&(n=ue(e._a[O],a[O]),(e._dayOfYear>pe(n)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=De(n,0,e._dayOfYear),e._a[V]=r.getUTCMonth(),e._a[E]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[L]===0&&e._a[G]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?De:Ys).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(c(e).weekdayMismatch=!0)}}function pa(e){var t,r,s,a,i,n,u,f,y;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=ue(t.GG,e._a[O],Se(S(),1,4).year),s=ue(t.W,1),a=ue(t.E,1),(a<1||a>7)&&(f=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,y=Se(S(),i,n),r=ue(t.gg,e._a[O],y.year),s=ue(t.w,y.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(f=!0)):a=i),s<1||s>z(r,i,n)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=Bt(r,s,a,i,n),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function wt(e){if(e._f===l.ISO_8601){tr(e);return}if(e._f===l.RFC_2822){rr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,a,i,n,u=t.length,f=0,y,b;for(a=Ct(e._f,e._locale).match(rt)||[],b=a.length,r=0;r<b;r++)i=a[r],s=(t.match(ns(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&c(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ie[i]?(s?c(e).empty=!1:c(e).unusedTokens.push(i),ls(i,s,e)):e._strict&&!s&&c(e).unusedTokens.push(i);c(e).charsLeftOver=u-f,t.length>0&&c(e).unusedInput.push(t),e._a[Y]<=12&&c(e).bigHour===!0&&e._a[Y]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[Y]=Ma(e._locale,e._a[Y],e._meridiem),y=c(e).era,y!==null&&(e._a[O]=e._locale.erasConvertYear(y,e._a[O])),yt(e),mt(e)}function Ma(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Da(e){var t,r,s,a,i,n,u=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,n=!1,t=Ke({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],wt(t),Je(t)&&(n=!0),i+=c(t).charsLeftOver,i+=c(t).unusedTokens.length*10,c(t).score=i,u?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(u=!0));Q(e,r||t)}function Sa(e){if(!e._d){var t=at(e._i),r=t.day===void 0?t.date:t.day;e._a=Wt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),yt(e)}}function va(e){var t=new ye(mt(sr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function sr(e){var t=e._i,r=e._f;return e._locale=e._locale||$(e._l),t===null||r===void 0&&t===""?be({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new ye(mt(t)):(_e(t)?e._d=t:N(r)?Da(e):r?wt(e):ka(e),Je(e)||(e._d=null),e))}function ka(e){var t=e._i;T(t)?e._d=new Date(l.now()):_e(t)?e._d=new Date(t.valueOf()):typeof t=="string"?wa(e):N(t)?(e._a=Wt(t.slice(0),function(r){return parseInt(r,10)}),yt(e)):te(t)?Sa(e):A(t)?e._d=new Date(t):l.createFromInputFallback(e)}function ar(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(te(e)&&Ze(e)||N(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,va(i)}function S(e,t,r,s){return ar(e,t,r,s,!1)}var Ya=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:be()}),Oa=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:be()});function ir(e,t){var r,s;if(t.length===1&&N(t[0])&&(t=t[0]),!t.length)return S();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function ba(){var e=[].slice.call(arguments,0);return ir("isBefore",e)}function Ta(){var e=[].slice.call(arguments,0);return ir("isAfter",e)}var Pa=function(){return Date.now?Date.now():+new Date},Ye=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xa(e){var t,r=!1,s,a=Ye.length;for(t in e)if(g(e,t)&&!(k.call(Ye,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Ye[s]]){if(r)return!1;parseFloat(e[Ye[s]])!==_(e[Ye[s]])&&(r=!0)}return!0}function Wa(){return this._isValid}function Ra(){return C(NaN)}function Ee(e){var t=at(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,u=t.hour||0,f=t.minute||0,y=t.second||0,b=t.millisecond||0;this._isValid=xa(t),this._milliseconds=+b+y*1e3+f*6e4+u*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=$(),this._bubble()}function Ae(e){return e instanceof Ee}function gt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Na(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)(r&&e[n]!==t[n]||!r&&_(e[n])!==_(t[n]))&&i++;return i+a}function nr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+H(~~(r/60),2)+t+H(~~r%60,2)})}nr("Z",":"),nr("ZZ",""),d("Z",Fe),d("ZZ",Fe),M(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=pt(Fe,e)});var Fa=/([\+\-]|\d\d)/gi;function pt(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(Fa)||["-",0,0],i=+(a[1]*60)+_(a[2]),i===0?0:a[0]==="+"?i:-i)}function Mt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(F(e)||_e(e)?e.valueOf():S(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):S(e).local()}function Dt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function La(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=pt(Fe,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Dt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?dr(this,C(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Dt(this)}function Ca(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ua(e){return this.utcOffset(0,e)}function Ia(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dt(this),"m")),this}function Ha(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=pt(as,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ea(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Aa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ja(){if(!T(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ke(e,this),e=sr(e),e._a?(t=e._isUTC?U(e._a):S(e._a),this._isDSTShifted=this.isValid()&&Na(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Va(){return this.isValid()?!this._isUTC:!1}function Ga(){return this.isValid()?this._isUTC:!1}function or(){return this.isValid()?this._isUTC&&this._offset===0:!1}var za=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var r=e,s=null,a,i,n;return Ae(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=za.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:_(s[E])*a,h:_(s[Y])*a,m:_(s[L])*a,s:_(s[G])*a,ms:_(gt(s[re]*1e3))*a}):(s=$a.exec(e))?(a=s[1]==="-"?-1:1,r={y:se(s[2],a),M:se(s[3],a),w:se(s[4],a),d:se(s[5],a),h:se(s[6],a),m:se(s[7],a),s:se(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=qa(S(r.from),S(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new Ee(r),Ae(e)&&g(e,"_locale")&&(i._locale=e._locale),Ae(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}C.fn=Ee.prototype,C.invalid=Ra;function se(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function lr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function qa(e,t){var r;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?r=lr(e,t):(r=lr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ur(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Lt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=s,s=i),a=C(r,s),dr(this,a,e),this}}function dr(e,t,r,s){var a=t._milliseconds,i=gt(t._days),n=gt(t._months);e.isValid()&&(s=s??!0,n&&$t(e,Me(e,"Month")+n*r),i&&Vt(e,"Date",Me(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&l.updateOffset(e,i||n))}var Za=ur(1,"add"),Ba=ur(-1,"subtract");function hr(e){return typeof e=="string"||e instanceof String}function Ja(e){return F(e)||_e(e)||hr(e)||A(e)||Ka(e)||Qa(e)||e===null||e===void 0}function Qa(e){var t=te(e)&&!Ze(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||g(e,i);return t&&r}function Ka(e){var t=N(e),r=!1;return t&&(r=e.filter(function(s){return!A(s)&&hr(e)}).length===0),t&&r}function Xa(e){var t=te(e)&&!Ze(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||g(e,i);return t&&r}function ei(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function ti(e,t){arguments.length===1&&(arguments[0]?Ja(arguments[0])?(e=arguments[0],t=void 0):Xa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||S(),s=Mt(r,this).startOf("day"),a=l.calendarFormat(this,s)||"sameElse",i=t&&(I(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,S(r)))}function ri(){return new ye(this)}function si(e,t){var r=F(e)?e:S(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function ai(e,t){var r=F(e)?e:S(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function ii(e,t,r,s){var a=F(e)?e:S(e),i=F(t)?t:S(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function ni(e,t){var r=F(e)?e:S(e),s;return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function oi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function li(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ui(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=Mt(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":i=je(this,s)/12;break;case"month":i=je(this,s);break;case"quarter":i=je(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:R(i)}function je(e,t){if(e.date()<t.date())return-je(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function di(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function hi(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Pe(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Pe(r,"Z")):Pe(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function fi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function ci(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Pe(this,e);return this.localeData().postformat(t)}function mi(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _i(e){return this.from(S(),e)}function yi(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wi(e){return this.to(S(),e)}function fr(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var cr=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function mr(){return this._locale}var Ve=1e3,de=60*Ve,Ge=60*de,_r=(365*400+97)*24*Ge;function he(e,t){return(e%t+t)%t}function yr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-_r:new Date(e,t,r).valueOf()}function wr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-_r:Date.UTC(e,t,r)}function gi(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?wr:yr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=he(t+(this._isUTC?0:this.utcOffset()*de),Ge);break;case"minute":t=this._d.valueOf(),t-=he(t,de);break;case"second":t=this._d.valueOf(),t-=he(t,Ve);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function pi(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?wr:yr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ge-he(t+(this._isUTC?0:this.utcOffset()*de),Ge)-1;break;case"minute":t=this._d.valueOf(),t+=de-he(t,de)-1;break;case"second":t=this._d.valueOf(),t+=Ve-he(t,Ve)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Mi(){return this._d.valueOf()-(this._offset||0)*6e4}function Di(){return Math.floor(this.valueOf()/1e3)}function Si(){return new Date(this.valueOf())}function vi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ki(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Yi(){return this.isValid()?this.toISOString():null}function Oi(){return Je(this)}function bi(){return Q({},c(this))}function Ti(){return c(this).overflow}function Pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",St),d("NN",St),d("NNN",St),d("NNNN",Ei),d("NNNNN",Ai),M(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?c(r).era=a:c(r).invalidEra=e}),d("y",ne),d("yy",ne),d("yyy",ne),d("yyyy",ne),d("yo",ji),M(["y","yy","yyy","yyyy"],O),M(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[O]=r._locale.eraYearOrdinalParse(e,a):t[O]=parseInt(e,10)});function xi(e,t){var r,s,a,i=this._eras||$("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=l(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=l(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Wi(e,t,r){var s,a,i=this.eras(),n,u,f;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),u=i[s].abbr.toUpperCase(),f=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(f===e)return i[s];break}else if([n,u,f].indexOf(e)>=0)return i[s]}function Ri(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function Ni(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Fi(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Li(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Ci(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-l(a[e].since).year())*r+a[e].offset;return this.year()}function Ui(e){return g(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function Ii(e){return g(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Hi(e){return g(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function St(e,t){return t.erasAbbrRegex(e)}function Ei(e,t){return t.erasNameRegex(e)}function Ai(e,t){return t.erasNarrowRegex(e)}function ji(e,t){return t._eraYearOrdinalRegex||ne}function vt(){var e=[],t=[],r=[],s=[],a,i,n,u,f,y=this.eras();for(a=0,i=y.length;a<i;++a)n=j(y[a].name),u=j(y[a].abbr),f=j(y[a].narrow),t.push(n),e.push(u),r.push(f),s.push(n),s.push(u),s.push(f);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),d("G",Ne),d("g",Ne),d("GG",D,P),d("gg",D,P),d("GGGG",nt,it),d("gggg",nt,it),d("GGGGG",Re,xe),d("ggggg",Re,xe),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),ge(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function Vi(e){return gr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gi(e){return gr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zi(){return z(this.year(),1,4)}function $i(){return z(this.isoWeekYear(),1,4)}function qi(){var e=this.localeData()._week;return z(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return z(this.weekYear(),e.dow,e.doy)}function gr(e,t,r,s,a){var i;return e==null?Se(this,s,a).year:(i=z(e,s,a),t>i&&(t=i),Bi.call(this,e,t,r,s,a))}function Bi(e,t,r,s,a){var i=Bt(e,t,r,s,a),n=De(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",It),M("Q",function(e,t){t[V]=(_(e)-1)*3});function Ji(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",D,oe),d("DD",D,P),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),M(["D","DD"],E),M("Do",function(e,t){t[E]=_(e.match(D)[0])});var pr=le("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",We),d("DDDD",Ht),M(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function Qi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",D,ot),d("mm",D,P),M(["m","mm"],L);var Ki=le("Minutes",!1);h("s",["ss",2],0,"second"),d("s",D,ot),d("ss",D,P),M(["s","ss"],G);var Xi=le("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",We,It),d("SS",We,P),d("SSS",We,Ht);var X,Mr;for(X="SSSS";X.length<=9;X+="S")d(X,ne);function en(e,t){t[re]=_(("0."+e)*1e3)}for(X="S";X.length<=9;X+="S")M(X,en);Mr=le("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function tn(){return this._isUTC?"UTC":""}function rn(){return this._isUTC?"Coordinated Universal Time":""}var o=ye.prototype;o.add=Za,o.calendar=ti,o.clone=ri,o.diff=ui,o.endOf=pi,o.format=ci,o.from=mi,o.fromNow=_i,o.to=yi,o.toNow=wi,o.get=fs,o.invalidAt=Ti,o.isAfter=si,o.isBefore=ai,o.isBetween=ii,o.isSame=ni,o.isSameOrAfter=oi,o.isSameOrBefore=li,o.isValid=Oi,o.lang=cr,o.locale=fr,o.localeData=mr,o.max=Oa,o.min=Ya,o.parsingFlags=bi,o.set=cs,o.startOf=gi,o.subtract=Ba,o.toArray=vi,o.toObject=ki,o.toDate=Si,o.toISOString=hi,o.inspect=fi,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Yi,o.toString=di,o.unix=Di,o.valueOf=Mi,o.creationData=Pi,o.eraName=Ni,o.eraNarrow=Fi,o.eraAbbr=Li,o.eraYear=Ci,o.year=jt,o.isLeapYear=hs,o.weekYear=Vi,o.isoWeekYear=Gi,o.quarter=o.quarters=Ji,o.month=qt,o.daysInMonth=Ss,o.week=o.weeks=xs,o.isoWeek=o.isoWeeks=Ws,o.weeksInYear=qi,o.weeksInWeekYear=Zi,o.isoWeeksInYear=zi,o.isoWeeksInISOWeekYear=$i,o.date=pr,o.day=o.days=Gs,o.weekday=zs,o.isoWeekday=$s,o.dayOfYear=Qi,o.hour=o.hours=Xs,o.minute=o.minutes=Ki,o.second=o.seconds=Xi,o.millisecond=o.milliseconds=Mr,o.utcOffset=La,o.utc=Ua,o.local=Ia,o.parseZone=Ha,o.hasAlignedHourOffset=Ea,o.isDST=Aa,o.isLocal=Va,o.isUtcOffset=Ga,o.isUtc=or,o.isUTC=or,o.zoneAbbr=tn,o.zoneName=rn,o.dates=x("dates accessor is deprecated. Use date instead.",pr),o.months=x("months accessor is deprecated. Use month instead",qt),o.years=x("years accessor is deprecated. Use year instead",jt),o.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ca),o.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ja);function sn(e){return S(e*1e3)}function an(){return S.apply(null,arguments).parseZone()}function Dr(e){return e}var p=et.prototype;p.calendar=Vr,p.longDateFormat=qr,p.invalidDate=Br,p.ordinal=Kr,p.preparse=Dr,p.postformat=Dr,p.relativeTime=es,p.pastFuture=ts,p.set=Ar,p.eras=xi,p.erasParse=Wi,p.erasConvertYear=Ri,p.erasAbbrRegex=Ii,p.erasNameRegex=Ui,p.erasNarrowRegex=Hi,p.months=gs,p.monthsShort=ps,p.monthsParse=Ds,p.monthsRegex=ks,p.monthsShortRegex=vs,p.week=Os,p.firstDayOfYear=Ps,p.firstDayOfWeek=Ts,p.weekdays=Hs,p.weekdaysMin=As,p.weekdaysShort=Es,p.weekdaysParse=Vs,p.weekdaysRegex=qs,p.weekdaysShortRegex=Zs,p.weekdaysMinRegex=Bs,p.isPM=Qs,p.meridiem=ea;function $e(e,t,r,s){var a=$(),i=U().set(s,t);return a[r](i,e)}function Sr(e,t,r){if(A(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=$e(e,s,r,"month");return a}function kt(e,t,r,s){typeof e=="boolean"?(A(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,A(t)&&(r=t,t=void 0),t=t||"");var a=$(),i=e?a._week.dow:0,n,u=[];if(r!=null)return $e(t,(r+i)%7,s,"day");for(n=0;n<7;n++)u[n]=$e(t,(n+i)%7,s,"day");return u}function nn(e,t){return Sr(e,t,"months")}function on(e,t){return Sr(e,t,"monthsShort")}function ln(e,t,r){return kt(e,t,r,"weekdays")}function un(e,t,r){return kt(e,t,r,"weekdaysShort")}function dn(e,t,r){return kt(e,t,r,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),l.lang=x("moment.lang is deprecated. Use moment.locale instead.",K),l.langData=x("moment.langData is deprecated. Use moment.localeData instead.",$);var q=Math.abs;function hn(){var e=this._data;return this._milliseconds=q(this._milliseconds),this._days=q(this._days),this._months=q(this._months),e.milliseconds=q(e.milliseconds),e.seconds=q(e.seconds),e.minutes=q(e.minutes),e.hours=q(e.hours),e.months=q(e.months),e.years=q(e.years),this}function vr(e,t,r,s){var a=C(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function fn(e,t){return vr(this,e,t,1)}function cn(e,t){return vr(this,e,t,-1)}function kr(e){return e<0?Math.floor(e):Math.ceil(e)}function mn(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,u,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=kr(Yt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=R(e/1e3),s.seconds=a%60,i=R(a/60),s.minutes=i%60,n=R(i/60),s.hours=n%24,t+=R(n/24),f=R(Yr(t)),r+=f,t-=kr(Yt(f)),u=R(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Yr(e){return e*4800/146097}function Yt(e){return e*146097/4800}function _n(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=W(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Yt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Z(e){return function(){return this.as(e)}}var Or=Z("ms"),yn=Z("s"),wn=Z("m"),gn=Z("h"),pn=Z("d"),Mn=Z("w"),Dn=Z("M"),Sn=Z("Q"),vn=Z("y"),kn=Or;function Yn(){return C(this)}function On(e){return e=W(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var bn=ae("milliseconds"),Tn=ae("seconds"),Pn=ae("minutes"),xn=ae("hours"),Wn=ae("days"),Rn=ae("months"),Nn=ae("years");function Fn(){return R(this.days()/7)}var B=Math.round,fe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ln(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Cn(e,t,r,s){var a=C(e).abs(),i=B(a.as("s")),n=B(a.as("m")),u=B(a.as("h")),f=B(a.as("d")),y=B(a.as("M")),b=B(a.as("w")),J=B(a.as("y")),ee=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||u<=1&&["h"]||u<r.h&&["hh",u]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(ee=ee||b<=1&&["w"]||b<r.w&&["ww",b]),ee=ee||y<=1&&["M"]||y<r.M&&["MM",y]||J<=1&&["y"]||["yy",J],ee[2]=t,ee[3]=+e>0,ee[4]=s,Ln.apply(null,ee)}function Un(e){return e===void 0?B:typeof e=="function"?(B=e,!0):!1}function In(e,t){return fe[e]===void 0?!1:t===void 0?fe[e]:(fe[e]=t,e==="s"&&(fe.ss=t-1),!0)}function Hn(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=fe,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},fe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=Cn(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Ot=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function qe(){if(!this.isValid())return this.localeData().invalidDate();var e=Ot(this._milliseconds)/1e3,t=Ot(this._days),r=Ot(this._months),s,a,i,n,u=this.asSeconds(),f,y,b,J;return u?(s=R(e/60),a=R(s/60),e%=60,s%=60,i=R(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",y=ce(this._months)!==ce(u)?"-":"",b=ce(this._days)!==ce(u)?"-":"",J=ce(this._milliseconds)!==ce(u)?"-":"",f+"P"+(i?y+i+"Y":"")+(r?y+r+"M":"")+(t?b+t+"D":"")+(a||s||e?"T":"")+(a?J+a+"H":"")+(s?J+s+"M":"")+(e?J+n+"S":"")):"P0D"}var w=Ee.prototype;w.isValid=Wa,w.abs=hn,w.add=fn,w.subtract=cn,w.as=_n,w.asMilliseconds=Or,w.asSeconds=yn,w.asMinutes=wn,w.asHours=gn,w.asDays=pn,w.asWeeks=Mn,w.asMonths=Dn,w.asQuarters=Sn,w.asYears=vn,w.valueOf=kn,w._bubble=mn,w.clone=Yn,w.get=On,w.milliseconds=bn,w.seconds=Tn,w.minutes=Pn,w.hours=xn,w.days=Wn,w.weeks=Fn,w.months=Rn,w.years=Nn,w.humanize=Hn,w.toISOString=qe,w.toString=qe,w.toJSON=qe,w.locale=fr,w.localeData=mr,w.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qe),w.lang=cr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Ne),d("X",is),M("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),M("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
10
|
-
l.version="2.30.1",Hr(S),l.fn=o,l.min=ba,l.max=Ta,l.now=Pa,l.utc=U,l.unix=sn,l.months=nn,l.isDate=_e,l.locale=K,l.invalid=be,l.duration=C,l.isMoment=F,l.weekdays=ln,l.parseZone=an,l.localeData=$,l.isDuration=Ae,l.monthsShort=on,l.weekdaysMin=dn,l.defineLocale=ct,l.updateLocale=aa,l.locales=ia,l.weekdaysShort=un,l.normalizeUnits=W,l.relativeTimeRounding=Un,l.relativeTimeThreshold=In,l.calendarFormat=ei,l.prototype=o,l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const En=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,An=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,br=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,bt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],jn={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:br,monthsShortRegex:br,monthsStrictRegex:En,monthsShortStrictRegex:An,monthsParse:bt,longMonthsParse:bt,shortMonthsParse:bt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}},Tr=" ",Pr=" ",Vn=(e,t="")=>e.split(t).join(Tr),Gn=(e,t="")=>e.split(t).join(Pr),zn=(e,t)=>e.length>t?e.slice(0,t-3)+"...":e,xr=e=>e&&e[0].toUpperCase()+e.slice(1),Tt=e=>e.split(" ").map(xr).join(" "),$n=e=>/^\d+$/.test(e),qn=e=>e!==Math.round(e)||e<1||e===1/0||e===-1/0?null:e===1?"1er":`${e}ème`,Zn=e=>e.trim().replace(/\s+/gi," "),Bn=e=>{const t=e.split(" "),s=(a=>{let i=1/0;for(let n=0;n<a.length;n++){const u=Math.abs(a.slice(0,n+1).join(" ").length-a.slice(n+1).join(" ").length);if(u<=i)i=u;else return n-1}return i})(t);return t.length===1?[t[0]]:[t.slice(0,s+1),t.slice(s+1)].map(a=>a.join(" "))};l.locale("fr",jn);const Jn=e=>new Date(e).toString()!=="Invalid Date",Qn=(e,t)=>Math.abs(Math.ceil((t.getTime()-e.getTime())/(1e3*60*60*24))),Kn=e=>Tt(l(e).format("DD MMMM YYYY")),Xn=e=>Tt(l(e).format("dddd DD MMMM YYYY")),eo=(e,t,r=!0)=>(r?e.getFullYear()===t.getFullYear():!0)&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),to=()=>l().locale("fr").subtract(1,"days").toDate(),ro=e=>{const t=[],r=l.duration(e);if(!(!r||r.toISOString()==="P0D")){if(r.years()>=1){const s=Math.floor(r.years());t.push(s+" "+(s>1?"années":"année"))}if(r.months()>=1){const s=Math.floor(r.months());t.push(s+" mois")}if(r.days()>=1){const s=Math.floor(r.days());t.push(s+" "+(s>1?"jours":"jour"))}if(r.hours()>=1){const s=Math.floor(r.hours());t.push(s+" "+(s>1?"heures":"heure"))}if(r.minutes()>=1){const s=Math.floor(r.minutes());t.push(s+" "+(s>1?"minutes":"minute"))}if(r.seconds()>=1){const s=Math.floor(r.seconds());t.push(s+" "+(s>1?"secondes":"seconde"))}return t.join(", ")}},Pt=/^([1-9][0-9]?)([hmd])$/i,so=e=>!!e&&Pt.test(e),ao=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10),i=1e3*60;if(s==="m")return i*a;if(s==="h")return i*60*a;if(s==="d")return i*60*24*a},io=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10);if(s==="m")return`${a} minute${a>1?"s":""}`;if(s==="h")return`${a} heure${a>1?"s":""}`;if(s==="d")return`${a} jour${a>1?"s":""}`},no={d1:"<:d1:1159542168738873455>",d2:"<:d2:1159542071049334814>",d3:"<:d3:1159542073914032191>",d4:"<:d4:1159542075512082543>",d5:"<:d5:1159542078179651614>",d6:"<:d6:1159542079458910229>",revolutionary:"<:revolutionnaire:648245785133056020>",pirate:"<:pirate:648245785053626368>",marine:"<:marine:648245784407441429>",berry:"<:berry:1153734056035504158>",xp:"<:xp:1084914564379975772>",success:"<:success:1186707379534954506>",paper:"📄",rock:"🪨",scissor:"✂️",pray:"<:Ryokugyu_pray:1147542990844334280>",gun:"<:fujigun:1050120413243506688>",promise:"<:Luffy_Promise:1027626431565529099>",love:"<:Lawve:1050916817801072730>",note:"<:imsusnote:1136952496456224778>",watching:"<:Carrot_Watching:1024736915922104360>",card:"<:carteDos:1168580012258103387>",cards:{spades:{1:"<:asdepique:1168560615170768967>",2:"<:2depique:1168559430955184259>",3:"<:3depique:1168559437548638248>",4:"<:4depique:1168559679354445934>",5:"<:5depique:1168559725504372796>",6:"<:6depique:1168559764528185394>",7:"<:7depique:1168559459392553061>",8:"<:8depique:1168559887870083162>",9:"<:9depique:1168559471392464988>",10:"<:10depique:1168559958435053598>",J:"<:valetdepique:1168560676202086523>",Q:"<:reinedepique:1168560621722284083>",K:"<:roidepique:1168560628189888634>"},diamonds:{1:"<:asdecarreau:1168560612742279308>",2:"<:2decarreau:1168559427788472330>",3:"<:3decarreau:1168559434138669236>",4:"<:4decarreau:1168559440774041621>",5:"<:5decarreau:1168559445308084256>",6:"<:6decarreau:1168559763462819940>",7:"<:7decarreau:1168559845872517172>",8:"<:8decarreau:1168559888989949994>",9:"<:9decarreau:1168559942215667804>",10:"<:10decarreau:1168559475481907230>",J:"<:valetdecarreau:1168560633634095234>",Q:"<:reinedecarreau:1168560618182291577>",K:"<:roidecarreau:1168560626185011281>"},hearts:{1:"<:asdecoeur:1168560613971214368>",2:"<:2decoeur:1168559428681859073>",3:"<:3decoeur:1168559435950592060>",4:"<:4decoeur:1168559442074284073>",5:"<:5decoeur:1168559723226865725>",6:"<:6decoeur:1168559452509708298>",7:"<:7decoeur:1168559457769365684>",8:"<:8decoeur:1168559463368757339>",9:"<:9decoeur:1168559938897989672>",10:"<:10decoeur:1168559477658751006>",J:"<:valetdecoeur:1168560635991298160>",Q:"<:reinedecoeur:1168560619855822940>",K:"<:roidecoeur:1168560678378950716>"},clubs:{1:"<:asdetrfle:1168560617444081834>",2:"<:2detrfle:1168559432242831512>",3:"<:3detrfle:1168559439440269403>",4:"<:4detrfle:1168559677936762982>",5:"<:5detrfle:1168559449540145153>",6:"<:6detrfle:1168559761260818594>",7:"<:7detrfle:1168559844748435549>",8:"<:8detrfle:1168559466334142575>",9:"<:9detrfle:1168559940953194576>",10:"<:10detrfle:1168559959802380288>",J:"<:valetdetrfle:1168560610531885137>",Q:"<:reinedetrfle:1168560623228026972>",K:"<:roidetrfle:1168560675543580712>"}},factions:{b_citizen_Bronze:"<:BasiqueOPFRbois:1175507882188484761>",b_citizen_Silver:"<:BasiqueOPFRargent:1175507880724668488>",b_citizen_Gold:"<:BasiqueOPFRor:1175507883501289512>",b_citizen_Platinum:"<:BasiqueOPFRplatine:1175507886714134548>",b_citizen_Diamond:"<:BasiqueOPFRultime:1175507889553670264>",b_marine_Bronze:"<:Marinebois:1175507936953512036>",b_marine_Silver:"<:Marineargent:1175508322351321178>",b_marine_Gold:"<:Marineor:1175508300603863132>",b_marine_Platinum:"<:Marineplatine:1175507940803879012>",b_marine_Diamond:"<:Marineultime:1175508279590395977>",b_revolutionary_Bronze:"<:RvoBois:1175507954779295810>",b_revolutionary_Silver:"<:RvoArgent:1175508199118483457>",b_revolutionary_Gold:"<:RvoOr:1175508111885344819>",b_revolutionary_Platinum:"<:RvoPlatine:1175507958378008756>",b_revolutionary_Diamond:"<:RvoUltime:1175508127815319612>",b_pirate_Bronze:"<:Piratebois:1175508259768115272>",b_pirate_Silver:"<:Pirateargent:1175507943987363941>",b_pirate_Gold:"<:Pirateor:1175508240243621928>",b_pirate_Platinum:"<:Pirateplatine:1175507949578358804>",b_pirate_Diamond:"<:Pirateultime:1175507951709061150>"},item_background:"<:background:1178465681809887334>",item_title:"<:title:1178465688915038208>",item_lootbox1:"<:lootbox1:1186689926167810088>",item_lootbox2:"<:lootbox2:1186258728882811051>",item_lootbox3:"<:lootbox3:1186259958216523786>",item_bottle_xp:"<:bottle_xp:1186204593667969035>",item_boost_week:"<:boost_week:1186258728073297971>",item_boost_day:"<:boost_day:1186258726030680145>",item_repair_wood_plank:"<:Planchesdebois:1233782418478071930>",item_repair_nail:"<:Clous:1233782384613261382>",item_repair_glue:"<:Colle:1233782388497186846>",item_repair_rope:"<:Corde:1233782392225927168>",item_repair_kit:"<:Kitderparation:1233782876223570011>",item_repair_tissue:"<:Tissus:1233784184099573852>",item_ship_lock:"<:Serrureclef:1233782436068982814>",item_ship_iron:"<:Ferbrut:1233782399125426207>",item_ship_clover:"<:Treflesixfeuilles:1233782439503990915> ",item_ship_glass_bottle:"<:Fioleenverre:1233782402233532496>",item_ship_pure_water:"<:Eaupure:1233782393572298802>",item_ship_sea_salt:"<:SelMarin:1233784181696233602>",item_ship_ebony_poppy:"<:MandragoreAdulte:1233782409070247946>",item_ship_rose:"<:Roseimmaculee:1233784180215644180>",item_ship_poppy:"<:Coquelicotecarlate:1233782390099280023>",item_ship_manganese:"<:Manganesescintillante:1233784177221042196>",item_ship_cursed_hawthorn:"<:AubpineMaudite:1233782382872629329>",item_ship_mugwort:"<:Armoiseblanche:1233782381400424519>",item_ship_mandrake:"<:MandragoreAdulte:1233782409070247946>",item_ship_obsidian:"<:Obsidiennesombre:1233784178307371110>",item_ship_saffron:"<:Safranvermeille:1233782430385836124>",item_ship_edelweiss:"<:Edelweiss:1233782395019329546>",item_ship_emerald:"<:emeraude:1233782873165791273>",item_ship_ruby:"<:Rubis:1233782426174619679>",item_ship_sapphire:"<:Safranvermeille:1233782430385836124>",item_ship_siren_tear:"<:Larmedesirene:1233782405538517095>",item_ship_compass:"<:Rosedesvents:1233782421892239360>",item_ship_dragon_heart:"<:CoeurdeDragon:1233782386580258848>",item_ship_fairy_wing:"<:Ailedefees:1233782379269722293>",item_ship_phoenix_feather:"<:PlumedePhoenix:1233784783822127167>",item_ship_mithril:"<:MandragoreAdulte:1233782409070247946>"},Wr=e=>new Intl.NumberFormat("de-DE").format(e),oo=(e,t)=>Math.floor(Math.random()*(t-e)+e),Oe=e=>`${Wr(Math.round(e/1024/1024*100)/100)} MB`,lo=()=>{const e=process.memoryUsage(),t={rss:`${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,heapTotal:`${Oe(e.heapTotal)} -> total size of the allocated heap`,heapUsed:`${Oe(e.heapUsed)} -> actual memory used during the execution`,external:`${Oe(e.external)} -> V8 external memory`};console.log(t)},uo=e=>typeof e=="function";m.TIGHT_SPACE=Tr,m.WIDE_SPACE=Pr,m.breakWords=Bn,m.capitalize=xr,m.capitalizeAllWords=Tt,m.dateDiff=Qn,m.durationToMs=ao,m.ellipsis=zn,m.emojis=no,m.exclude=Lr,m.fillWithTightSpaces=Vn,m.fillWithWideSpaces=Gn,m.filterNullAndUndefined=Ir,m.formatDate=Kn,m.formatDateWithDay=Xn,m.formatDuration=io,m.formatMemoryUsage=Oe,m.formatNumber=Wr,m.groupBy=Rr,m.isDuration=so,m.isFunction=uo,m.isPositiveInteger=$n,m.isValidDate=Jn,m.mutuallyInclusive=Fr,m.numberToOrdinal=qn,m.paginate=me,m.precise=ro,m.printMemoryUsage=lo,m.randomBetween=oo,m.sameDay=eo,m.shuffle=Ur,m.sortBy=Nr,m.trim=Zn,m.unique=Cr,m.yesterday=to,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ft={};function Lt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Ft[e]||(Nt(t),Ft[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Vr(e){var t,r;for(r in e)g(e,r)&&(t=e[r],U(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Xe(e,t){var r=Q({},e),s;for(s in t)g(t,s)&&(te(e[s])&&te(t[s])?(r[s]={},Q(r[s],e[s]),Q(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)g(e,s)&&!g(t,s)&&te(e[s])&&(r[s]=Q({},r[s]));return r}function et(e){e!=null&&this.set(e)}var tt;Object.keys?tt=Object.keys:tt=function(e){var t,r=[];for(t in e)g(e,t)&&r.push(t);return r};var Gr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function zr(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return U(s)?s.call(t,r):s}function H(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var rt=/(\[[^\[]*\])|(\\)?([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,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,st={},ie={};function h(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(ie[e]=a),t&&(ie[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function $r(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function qr(e){var t=e.match(rt),r,s;for(r=0,s=t.length;r<s;r++)ie[t[r]]?t[r]=ie[t[r]]:t[r]=$r(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=U(t[n])?t[n].call(a,e):t[n];return i}}function Pe(e,t){return e.isValid()?(t=Ct(t,e.localeData()),st[t]=st[t]||qr(t),st[t](e)):e.localeData().invalidDate()}function Ct(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Te.lastIndex=0;r>=0&&Te.test(e);)e=e.replace(Te,s),Te.lastIndex=0,r-=1;return e}var Zr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Br(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(rt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Jr="Invalid date";function Qr(){return this._invalidDate}var Kr="%d",Xr=/\d{1,2}/;function es(e){return this._ordinal.replace("%d",e)}var ts={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function rs(e,t,r,s){var a=this._relativeTime[r];return U(a)?a(e,t,r,s):a.replace(/%d/i,e)}function ss(e,t){var r=this._relativeTime[e>0?"future":"past"];return U(r)?r(t):r.replace(/%s/i,t)}var It={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function x(e){return typeof e=="string"?It[e]||It[e.toLowerCase()]:void 0}function at(e){var t={},r,s;for(s in e)g(e,s)&&(r=x(s),r&&(t[r]=e[s]));return t}var as={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function is(e){var t=[],r;for(r in e)g(e,r)&&t.push({unit:r,priority:as[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Ut=/\d/,P=/\d\d/,Ht=/\d{3}/,it=/\d{4}/,We=/[+-]?\d{6}/,D=/\d\d?/,At=/\d\d\d\d?/,Et=/\d\d\d\d\d\d?/,xe=/\d{1,3}/,nt=/\d{1,4}/,Re=/[+-]?\d{1,6}/,ne=/\d+/,Ne=/[+-]?\d+/,ns=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,os=/[+-]?\d+(\.\d{1,3})?/,we=/[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,oe=/^[1-9]\d?/,ot=/^([1-9]\d|\d)/,Le;Le={};function d(e,t,r){Le[e]=U(t)?t:function(s,a){return s&&r?r:t}}function ls(e,t){return g(Le,e)?Le[e](t._strict,t._locale):new RegExp(us(e))}function us(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=R(t)),r}var lt={};function p(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),E(t)&&(s=function(i,n){n[t]=_(i)}),a=e.length,r=0;r<a;r++)lt[e[r]]=s}function ge(e,t){p(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function ds(e,t,r){t!=null&&g(lt,e)&<[e](t,r._a,r,e)}function Ce(e){return e%4===0&&e%100!==0||e%400===0}var O=0,V=1,A=2,Y=3,L=4,G=5,re=6,hs=7,fs=8;h("Y",0,0,function(){var e=this.year();return e<=9999?H(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Ne),d("YY",D,P),d("YYYY",nt,it),d("YYYYY",Re,We),d("YYYYYY",Re,We),p(["YYYYY","YYYYYY"],O),p("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):_(e)}),p("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),p("Y",function(e,t){t[O]=parseInt(e,10)});function Me(e){return Ce(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var jt=le("FullYear",!0);function cs(){return Ce(this.year())}function le(e,t){return function(r){return r!=null?(Vt(this,e,r),l.updateOffset(this,t),this):pe(this,e)}}function pe(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Vt(e,t,r){var s,a,i,n,u;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}i=r,n=e.month(),u=e.date(),u=u===29&&n===1&&!Ce(i)?28:u,a?s.setUTCFullYear(i,n,u):s.setFullYear(i,n,u)}}function ms(e){return e=x(e),U(this[e])?this[e]():this}function _s(e,t){if(typeof e=="object"){e=at(e);var r=is(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=x(e),U(this[e]))return this[e](t);return this}function ys(e,t){return(e%t+t)%t}var k;Array.prototype.indexOf?k=Array.prototype.indexOf:k=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=ys(t,12);return e+=(t-r)/12,r===1?Ce(e)?29:28:31-r%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",D,oe),d("MM",D,P),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),p(["M","MM"],function(e,t){t[V]=_(e)-1}),p(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[V]=a:m(r).invalidMonth=e});var ws="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,gs=we,Ms=we;function ps(e,t){return e?N(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||zt).test(t)?"format":"standalone"][e.month()]:N(this._months)?this._months:this._months.standalone}function Ds(e,t){return e?N(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[zt.test(t)?"format":"standalone"][e.month()]:N(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ss(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=I([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=k.call(this._shortMonthsParse,n),a!==-1?a:null):(a=k.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=k.call(this._shortMonthsParse,n),a!==-1?a:(a=k.call(this._longMonthsParse,n),a!==-1?a:null)):(a=k.call(this._longMonthsParse,n),a!==-1?a:(a=k.call(this._shortMonthsParse,n),a!==-1?a:null))}function vs(e,t,r){var s,a,i;if(this._monthsParseExact)return Ss.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=I([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function $t(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!E(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ut(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function qt(e){return e!=null?($t(this,e),l.updateOffset(this,!0),this):pe(this,"Month")}function ks(){return ut(this.year(),this.month())}function Ys(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Zt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=gs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Os(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Zt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ms),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Zt(){function e(f,y){return y.length-f.length}var t=[],r=[],s=[],a,i,n,u;for(a=0;a<12;a++)i=I([2e3,a]),n=j(this.monthsShort(i,"")),u=j(this.months(i,"")),t.push(n),r.push(u),s.push(u),s.push(n);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function bs(e,t,r,s,a,i,n){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,a,i,n),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,a,i,n),u}function De(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,r){var s=7+t-r,a=(7+De(e,0,s).getUTCDay()-t)%7;return-a+s-1}function Bt(e,t,r,s,a){var i=(7+r-s)%7,n=Ie(e,s,a),u=1+7*(t-1)+i+n,f,y;return u<=0?(f=e-1,y=Me(f)+u):u>Me(e)?(f=e+1,y=u-Me(e)):(f=e,y=u),{year:f,dayOfYear:y}}function Se(e,t,r){var s=Ie(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+z(n,t,r)):a>z(e.year(),t,r)?(i=a-z(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function z(e,t,r){var s=Ie(e,t,r),a=Ie(e+1,t,r);return(Me(e)-s+a)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",D,oe),d("ww",D,P),d("W",D,oe),d("WW",D,P),ge(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Ts(e){return Se(e,this._week.dow,this._week.doy).week}var Ps={dow:0,doy:6};function Ws(){return this._week.dow}function xs(){return this._week.doy}function Rs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ns(e){var t=Se(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",D),d("e",D),d("E",D),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:m(r).invalidWeekday=e}),ge(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function Fs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ls(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function dt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Cs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Is="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Us=we,Hs=we,As=we;function Es(e,t){var r=N(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?dt(r,this._week.dow):e?r[e.day()]:r}function js(e){return e===!0?dt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vs(e){return e===!0?dt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gs(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=I([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=k.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=k.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=k.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=k.call(this._weekdaysParse,n),a!==-1||(a=k.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=k.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=k.call(this._shortWeekdaysParse,n),a!==-1||(a=k.call(this._weekdaysParse,n),a!==-1)?a:(a=k.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=k.call(this._minWeekdaysParse,n),a!==-1||(a=k.call(this._weekdaysParse,n),a!==-1)?a:(a=k.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function zs(e,t,r){var s,a,i;if(this._weekdaysParseExact)return Gs.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=I([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function $s(e){if(!this.isValid())return e!=null?this:NaN;var t=pe(this,"Day");return e!=null?(e=Fs(e,this.localeData()),this.add(e-t,"d")):t}function qs(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Zs(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ls(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Bs(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Us),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Js(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Qs(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=As),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(b,J){return J.length-b.length}var t=[],r=[],s=[],a=[],i,n,u,f,y;for(i=0;i<7;i++)n=I([2e3,1]).day(i),u=j(this.weekdaysMin(n,"")),f=j(this.weekdaysShort(n,"")),y=j(this.weekdays(n,"")),t.push(u),r.push(f),s.push(y),a.push(u),a.push(f),a.push(y);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ft(){return this.hours()%12||12}function Ks(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ft),h("k",["kk",2],0,Ks),h("hmm",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)});function Qt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Qt("a",!0),Qt("A",!1);function Kt(e,t){return t._meridiemParse}d("a",Kt),d("A",Kt),d("H",D,ot),d("h",D,oe),d("k",D,oe),d("HH",D,P),d("hh",D,P),d("kk",D,P),d("hmm",At),d("hmmss",Et),d("Hmm",At),d("Hmmss",Et),p(["H","HH"],Y),p(["k","kk"],function(e,t,r){var s=_(e);t[Y]=s===24?0:s}),p(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),p(["h","hh"],function(e,t,r){t[Y]=_(e),m(r).bigHour=!0}),p("hmm",function(e,t,r){var s=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s)),m(r).bigHour=!0}),p("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[G]=_(e.substr(a)),m(r).bigHour=!0}),p("Hmm",function(e,t,r){var s=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s))}),p("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[G]=_(e.substr(a))});function Xs(e){return(e+"").toLowerCase().charAt(0)==="p"}var ea=/[ap]\.?m?\.?/i,ta=le("Hours",!0);function ra(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Xt={calendar:Gr,longDateFormat:Zr,invalidDate:Jr,ordinal:Kr,dayOfMonthOrdinalParse:Xr,relativeTime:ts,months:ws,monthsShort:Gt,week:Ps,weekdays:Cs,weekdaysMin:Is,weekdaysShort:Jt,meridiemParse:ea},v={},ve={},ke;function sa(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function er(e){return e&&e.toLowerCase().replace("_","-")}function aa(e){for(var t=0,r,s,a,i;t<e.length;){for(i=er(e[t]).split("-"),r=i.length,s=er(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Ue(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&sa(i,s)>=r-1)break;r--}t++}return ke}function ia(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ue(e){var t=null,r;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&ia(e))try{t=ke._abbr,r=require,r("./locale/"+e),K(t)}catch{v[e]=null}return v[e]}function K(e,t){var r;return e&&(T(t)?r=$(e):r=ct(e,t),r?ke=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ke._abbr}function ct(e,t){if(t!==null){var r,s=Xt;if(t.abbr=e,v[e]!=null)Lt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=Ue(t.parentLocale),r!=null)s=r._config;else return ve[t.parentLocale]||(ve[t.parentLocale]=[]),ve[t.parentLocale].push({name:e,config:t}),null;return v[e]=new et(Xe(s,t)),ve[e]&&ve[e].forEach(function(a){ct(a.name,a.config)}),K(e),v[e]}else return delete v[e],null}function na(e,t){if(t!=null){var r,s,a=Xt;v[e]!=null&&v[e].parentLocale!=null?v[e].set(Xe(v[e]._config,t)):(s=Ue(e),s!=null&&(a=s._config),t=Xe(a,t),s==null&&(t.abbr=e),r=new et(t),r.parentLocale=v[e],v[e]=r),K(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===K()&&K(e)):v[e]!=null&&delete v[e]);return v[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ke;if(!N(e)){if(t=Ue(e),t)return t;e=[e]}return aa(e)}function oa(){return tt(v)}function mt(e){var t,r=e._a;return r&&m(e).overflow===-2&&(t=r[V]<0||r[V]>11?V:r[A]<1||r[A]>ut(r[O],r[V])?A:r[Y]<0||r[Y]>24||r[Y]===24&&(r[L]!==0||r[G]!==0||r[re]!==0)?Y:r[L]<0||r[L]>59?L:r[G]<0||r[G]>59?G:r[re]<0||r[re]>999?re:-1,m(e)._overflowDayOfYear&&(t<O||t>A)&&(t=A),m(e)._overflowWeeks&&t===-1&&(t=hs),m(e)._overflowWeekday&&t===-1&&(t=fs),m(e).overflow=t),e}var la=/^\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)?)?$/,ua=/^\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)?)?$/,da=/Z|[+-]\d\d(?::?\d\d)?/,He=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ha=/^\/?Date\((-?\d+)/i,fa=/^(?:(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}))$/,ca={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function tr(e){var t,r,s=e._i,a=la.exec(s)||ua.exec(s),i,n,u,f,y=He.length,b=_t.length;if(a){for(m(e).iso=!0,t=0,r=y;t<r;t++)if(He[t][1].exec(a[1])){n=He[t][0],i=He[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=b;t<r;t++)if(_t[t][1].exec(a[3])){u=(a[2]||" ")+_t[t][0];break}if(u==null){e._isValid=!1;return}}if(!i&&u!=null){e._isValid=!1;return}if(a[4])if(da.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=n+(u||"")+(f||""),wt(e)}else e._isValid=!1}function ma(e,t,r,s,a,i){var n=[_a(e),Gt.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function _a(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ya(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function wa(e,t,r){if(e){var s=Jt.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return m(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function ga(e,t,r){if(e)return ca[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function rr(e){var t=fa.exec(ya(e._i)),r;if(t){if(r=ma(t[4],t[3],t[2],t[5],t[6],t[7]),!wa(t[1],r,e))return;e._a=r,e._tzm=ga(t[8],t[9],t[10]),e._d=De.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Ma(e){var t=ha.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(tr(e),e._isValid===!1)delete e._isValid;else return;if(rr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=W("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.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ue(e,t,r){return e??t??r}function pa(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function yt(e){var t,r,s=[],a,i,n;if(!e._d){for(a=pa(e),e._w&&e._a[A]==null&&e._a[V]==null&&Da(e),e._dayOfYear!=null&&(n=ue(e._a[O],a[O]),(e._dayOfYear>Me(n)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),r=De(n,0,e._dayOfYear),e._a[V]=r.getUTCMonth(),e._a[A]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[L]===0&&e._a[G]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?De:bs).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function Da(e){var t,r,s,a,i,n,u,f,y;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=ue(t.GG,e._a[O],Se(S(),1,4).year),s=ue(t.W,1),a=ue(t.E,1),(a<1||a>7)&&(f=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,y=Se(S(),i,n),r=ue(t.gg,e._a[O],y.year),s=ue(t.w,y.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(f=!0)):a=i),s<1||s>z(r,i,n)?m(e)._overflowWeeks=!0:f!=null?m(e)._overflowWeekday=!0:(u=Bt(r,s,a,i,n),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function wt(e){if(e._f===l.ISO_8601){tr(e);return}if(e._f===l.RFC_2822){rr(e);return}e._a=[],m(e).empty=!0;var t=""+e._i,r,s,a,i,n,u=t.length,f=0,y,b;for(a=Ct(e._f,e._locale).match(rt)||[],b=a.length,r=0;r<b;r++)i=a[r],s=(t.match(ls(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&m(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ie[i]?(s?m(e).empty=!1:m(e).unusedTokens.push(i),ds(i,s,e)):e._strict&&!s&&m(e).unusedTokens.push(i);m(e).charsLeftOver=u-f,t.length>0&&m(e).unusedInput.push(t),e._a[Y]<=12&&m(e).bigHour===!0&&e._a[Y]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Y]=Sa(e._locale,e._a[Y],e._meridiem),y=m(e).era,y!==null&&(e._a[O]=e._locale.erasConvertYear(y,e._a[O])),yt(e),mt(e)}function Sa(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function va(e){var t,r,s,a,i,n,u=!1,f=e._f.length;if(f===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,n=!1,t=Ke({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],wt(t),Je(t)&&(n=!0),i+=m(t).charsLeftOver,i+=m(t).unusedTokens.length*10,m(t).score=i,u?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(u=!0));Q(e,r||t)}function ka(e){if(!e._d){var t=at(e._i),r=t.day===void 0?t.date:t.day;e._a=xt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),yt(e)}}function Ya(e){var t=new ye(mt(sr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function sr(e){var t=e._i,r=e._f;return e._locale=e._locale||$(e._l),t===null||r===void 0&&t===""?be({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new ye(mt(t)):(_e(t)?e._d=t:N(r)?va(e):r?wt(e):Oa(e),Je(e)||(e._d=null),e))}function Oa(e){var t=e._i;T(t)?e._d=new Date(l.now()):_e(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ma(e):N(t)?(e._a=xt(t.slice(0),function(r){return parseInt(r,10)}),yt(e)):te(t)?ka(e):E(t)?e._d=new Date(t):l.createFromInputFallback(e)}function ar(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(te(e)&&Ze(e)||N(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,Ya(i)}function S(e,t,r,s){return ar(e,t,r,s,!1)}var ba=W("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:be()}),Ta=W("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:be()});function ir(e,t){var r,s;if(t.length===1&&N(t[0])&&(t=t[0]),!t.length)return S();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Pa(){var e=[].slice.call(arguments,0);return ir("isBefore",e)}function Wa(){var e=[].slice.call(arguments,0);return ir("isAfter",e)}var xa=function(){return Date.now?Date.now():+new Date},Ye=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ra(e){var t,r=!1,s,a=Ye.length;for(t in e)if(g(e,t)&&!(k.call(Ye,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Ye[s]]){if(r)return!1;parseFloat(e[Ye[s]])!==_(e[Ye[s]])&&(r=!0)}return!0}function Na(){return this._isValid}function Fa(){return C(NaN)}function Ae(e){var t=at(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,u=t.hour||0,f=t.minute||0,y=t.second||0,b=t.millisecond||0;this._isValid=Ra(t),this._milliseconds=+b+y*1e3+f*6e4+u*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=$(),this._bubble()}function Ee(e){return e instanceof Ae}function gt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function La(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)(r&&e[n]!==t[n]||!r&&_(e[n])!==_(t[n]))&&i++;return i+a}function nr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+H(~~(r/60),2)+t+H(~~r%60,2)})}nr("Z",":"),nr("ZZ",""),d("Z",Fe),d("ZZ",Fe),p(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Mt(Fe,e)});var Ca=/([\+\-]|\d\d)/gi;function Mt(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(Ca)||["-",0,0],i=+(a[1]*60)+_(a[2]),i===0?0:a[0]==="+"?i:-i)}function pt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(F(e)||_e(e)?e.valueOf():S(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):S(e).local()}function Dt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Ia(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Mt(Fe,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Dt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?dr(this,C(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Dt(this)}function Ua(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ha(e){return this.utcOffset(0,e)}function Aa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dt(this),"m")),this}function Ea(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Mt(ns,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ja(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Va(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ga(){if(!T(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ke(e,this),e=sr(e),e._a?(t=e._isUTC?I(e._a):S(e._a),this._isDSTShifted=this.isValid()&&La(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function za(){return this.isValid()?!this._isUTC:!1}function $a(){return this.isValid()?this._isUTC:!1}function or(){return this.isValid()?this._isUTC&&this._offset===0:!1}var qa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Za=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var r=e,s=null,a,i,n;return Ee(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:E(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=qa.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:_(s[A])*a,h:_(s[Y])*a,m:_(s[L])*a,s:_(s[G])*a,ms:_(gt(s[re]*1e3))*a}):(s=Za.exec(e))?(a=s[1]==="-"?-1:1,r={y:se(s[2],a),M:se(s[3],a),w:se(s[4],a),d:se(s[5],a),h:se(s[6],a),m:se(s[7],a),s:se(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=Ba(S(r.from),S(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new Ae(r),Ee(e)&&g(e,"_locale")&&(i._locale=e._locale),Ee(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}C.fn=Ae.prototype,C.invalid=Fa;function se(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function lr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Ba(e,t){var r;return e.isValid()&&t.isValid()?(t=pt(t,e),e.isBefore(t)?r=lr(e,t):(r=lr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ur(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Lt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=s,s=i),a=C(r,s),dr(this,a,e),this}}function dr(e,t,r,s){var a=t._milliseconds,i=gt(t._days),n=gt(t._months);e.isValid()&&(s=s??!0,n&&$t(e,pe(e,"Month")+n*r),i&&Vt(e,"Date",pe(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&l.updateOffset(e,i||n))}var Ja=ur(1,"add"),Qa=ur(-1,"subtract");function hr(e){return typeof e=="string"||e instanceof String}function Ka(e){return F(e)||_e(e)||hr(e)||E(e)||ei(e)||Xa(e)||e===null||e===void 0}function Xa(e){var t=te(e)&&!Ze(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||g(e,i);return t&&r}function ei(e){var t=N(e),r=!1;return t&&(r=e.filter(function(s){return!E(s)&&hr(e)}).length===0),t&&r}function ti(e){var t=te(e)&&!Ze(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||g(e,i);return t&&r}function ri(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function si(e,t){arguments.length===1&&(arguments[0]?Ka(arguments[0])?(e=arguments[0],t=void 0):ti(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||S(),s=pt(r,this).startOf("day"),a=l.calendarFormat(this,s)||"sameElse",i=t&&(U(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,S(r)))}function ai(){return new ye(this)}function ii(e,t){var r=F(e)?e:S(e);return this.isValid()&&r.isValid()?(t=x(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function ni(e,t){var r=F(e)?e:S(e);return this.isValid()&&r.isValid()?(t=x(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function oi(e,t,r,s){var a=F(e)?e:S(e),i=F(t)?t:S(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function li(e,t){var r=F(e)?e:S(e),s;return this.isValid()&&r.isValid()?(t=x(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function ui(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function di(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function hi(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=pt(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=x(t),t){case"year":i=je(this,s)/12;break;case"month":i=je(this,s);break;case"quarter":i=je(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:R(i)}function je(e,t){if(e.date()<t.date())return-je(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function fi(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ci(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Pe(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Pe(r,"Z")):Pe(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function mi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function _i(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Pe(this,e);return this.localeData().postformat(t)}function yi(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wi(e){return this.from(S(),e)}function gi(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Mi(e){return this.to(S(),e)}function fr(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var cr=W("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function mr(){return this._locale}var Ve=1e3,de=60*Ve,Ge=60*de,_r=(365*400+97)*24*Ge;function he(e,t){return(e%t+t)%t}function yr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-_r:new Date(e,t,r).valueOf()}function wr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-_r:Date.UTC(e,t,r)}function pi(e){var t,r;if(e=x(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?wr:yr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=he(t+(this._isUTC?0:this.utcOffset()*de),Ge);break;case"minute":t=this._d.valueOf(),t-=he(t,de);break;case"second":t=this._d.valueOf(),t-=he(t,Ve);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Di(e){var t,r;if(e=x(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?wr:yr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ge-he(t+(this._isUTC?0:this.utcOffset()*de),Ge)-1;break;case"minute":t=this._d.valueOf(),t+=de-he(t,de)-1;break;case"second":t=this._d.valueOf(),t+=Ve-he(t,Ve)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Si(){return this._d.valueOf()-(this._offset||0)*6e4}function vi(){return Math.floor(this.valueOf()/1e3)}function ki(){return new Date(this.valueOf())}function Yi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Oi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function bi(){return this.isValid()?this.toISOString():null}function Ti(){return Je(this)}function Pi(){return Q({},m(this))}function Wi(){return m(this).overflow}function xi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",St),d("NN",St),d("NNN",St),d("NNNN",ji),d("NNNNN",Vi),p(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?m(r).era=a:m(r).invalidEra=e}),d("y",ne),d("yy",ne),d("yyy",ne),d("yyyy",ne),d("yo",Gi),p(["y","yy","yyy","yyyy"],O),p(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[O]=r._locale.eraYearOrdinalParse(e,a):t[O]=parseInt(e,10)});function Ri(e,t){var r,s,a,i=this._eras||$("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=l(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=l(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Ni(e,t,r){var s,a,i=this.eras(),n,u,f;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),u=i[s].abbr.toUpperCase(),f=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(f===e)return i[s];break}else if([n,u,f].indexOf(e)>=0)return i[s]}function Fi(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function Li(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Ci(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Ii(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Ui(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-l(a[e].since).year())*r+a[e].offset;return this.year()}function Hi(e){return g(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function Ai(e){return g(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ei(e){return g(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function St(e,t){return t.erasAbbrRegex(e)}function ji(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Gi(e,t){return t._eraYearOrdinalRegex||ne}function vt(){var e=[],t=[],r=[],s=[],a,i,n,u,f,y=this.eras();for(a=0,i=y.length;a<i;++a)n=j(y[a].name),u=j(y[a].abbr),f=j(y[a].narrow),t.push(n),e.push(u),r.push(f),s.push(n),s.push(u),s.push(f);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),d("G",Ne),d("g",Ne),d("GG",D,P),d("gg",D,P),d("GGGG",nt,it),d("gggg",nt,it),d("GGGGG",Re,We),d("ggggg",Re,We),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),ge(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function zi(e){return gr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function $i(e){return gr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qi(){return z(this.year(),1,4)}function Zi(){return z(this.isoWeekYear(),1,4)}function Bi(){var e=this.localeData()._week;return z(this.year(),e.dow,e.doy)}function Ji(){var e=this.localeData()._week;return z(this.weekYear(),e.dow,e.doy)}function gr(e,t,r,s,a){var i;return e==null?Se(this,s,a).year:(i=z(e,s,a),t>i&&(t=i),Qi.call(this,e,t,r,s,a))}function Qi(e,t,r,s,a){var i=Bt(e,t,r,s,a),n=De(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",Ut),p("Q",function(e,t){t[V]=(_(e)-1)*3});function Ki(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",D,oe),d("DD",D,P),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),p(["D","DD"],A),p("Do",function(e,t){t[A]=_(e.match(D)[0])});var Mr=le("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",xe),d("DDDD",Ht),p(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function Xi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",D,ot),d("mm",D,P),p(["m","mm"],L);var en=le("Minutes",!1);h("s",["ss",2],0,"second"),d("s",D,ot),d("ss",D,P),p(["s","ss"],G);var tn=le("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",xe,Ut),d("SS",xe,P),d("SSS",xe,Ht);var X,pr;for(X="SSSS";X.length<=9;X+="S")d(X,ne);function rn(e,t){t[re]=_(("0."+e)*1e3)}for(X="S";X.length<=9;X+="S")p(X,rn);pr=le("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function sn(){return this._isUTC?"UTC":""}function an(){return this._isUTC?"Coordinated Universal Time":""}var o=ye.prototype;o.add=Ja,o.calendar=si,o.clone=ai,o.diff=hi,o.endOf=Di,o.format=_i,o.from=yi,o.fromNow=wi,o.to=gi,o.toNow=Mi,o.get=ms,o.invalidAt=Wi,o.isAfter=ii,o.isBefore=ni,o.isBetween=oi,o.isSame=li,o.isSameOrAfter=ui,o.isSameOrBefore=di,o.isValid=Ti,o.lang=cr,o.locale=fr,o.localeData=mr,o.max=Ta,o.min=ba,o.parsingFlags=Pi,o.set=_s,o.startOf=pi,o.subtract=Qa,o.toArray=Yi,o.toObject=Oi,o.toDate=ki,o.toISOString=ci,o.inspect=mi,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=bi,o.toString=fi,o.unix=vi,o.valueOf=Si,o.creationData=xi,o.eraName=Li,o.eraNarrow=Ci,o.eraAbbr=Ii,o.eraYear=Ui,o.year=jt,o.isLeapYear=cs,o.weekYear=zi,o.isoWeekYear=$i,o.quarter=o.quarters=Ki,o.month=qt,o.daysInMonth=ks,o.week=o.weeks=Rs,o.isoWeek=o.isoWeeks=Ns,o.weeksInYear=Bi,o.weeksInWeekYear=Ji,o.isoWeeksInYear=qi,o.isoWeeksInISOWeekYear=Zi,o.date=Mr,o.day=o.days=$s,o.weekday=qs,o.isoWeekday=Zs,o.dayOfYear=Xi,o.hour=o.hours=ta,o.minute=o.minutes=en,o.second=o.seconds=tn,o.millisecond=o.milliseconds=pr,o.utcOffset=Ia,o.utc=Ha,o.local=Aa,o.parseZone=Ea,o.hasAlignedHourOffset=ja,o.isDST=Va,o.isLocal=za,o.isUtcOffset=$a,o.isUtc=or,o.isUTC=or,o.zoneAbbr=sn,o.zoneName=an,o.dates=W("dates accessor is deprecated. Use date instead.",Mr),o.months=W("months accessor is deprecated. Use month instead",qt),o.years=W("years accessor is deprecated. Use year instead",jt),o.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ua),o.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ga);function nn(e){return S(e*1e3)}function on(){return S.apply(null,arguments).parseZone()}function Dr(e){return e}var M=et.prototype;M.calendar=zr,M.longDateFormat=Br,M.invalidDate=Qr,M.ordinal=es,M.preparse=Dr,M.postformat=Dr,M.relativeTime=rs,M.pastFuture=ss,M.set=Vr,M.eras=Ri,M.erasParse=Ni,M.erasConvertYear=Fi,M.erasAbbrRegex=Ai,M.erasNameRegex=Hi,M.erasNarrowRegex=Ei,M.months=ps,M.monthsShort=Ds,M.monthsParse=vs,M.monthsRegex=Os,M.monthsShortRegex=Ys,M.week=Ts,M.firstDayOfYear=xs,M.firstDayOfWeek=Ws,M.weekdays=Es,M.weekdaysMin=Vs,M.weekdaysShort=js,M.weekdaysParse=zs,M.weekdaysRegex=Bs,M.weekdaysShortRegex=Js,M.weekdaysMinRegex=Qs,M.isPM=Xs,M.meridiem=ra;function $e(e,t,r,s){var a=$(),i=I().set(s,t);return a[r](i,e)}function Sr(e,t,r){if(E(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=$e(e,s,r,"month");return a}function kt(e,t,r,s){typeof e=="boolean"?(E(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,E(t)&&(r=t,t=void 0),t=t||"");var a=$(),i=e?a._week.dow:0,n,u=[];if(r!=null)return $e(t,(r+i)%7,s,"day");for(n=0;n<7;n++)u[n]=$e(t,(n+i)%7,s,"day");return u}function ln(e,t){return Sr(e,t,"months")}function un(e,t){return Sr(e,t,"monthsShort")}function dn(e,t,r){return kt(e,t,r,"weekdays")}function hn(e,t,r){return kt(e,t,r,"weekdaysShort")}function fn(e,t,r){return kt(e,t,r,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),l.lang=W("moment.lang is deprecated. Use moment.locale instead.",K),l.langData=W("moment.langData is deprecated. Use moment.localeData instead.",$);var q=Math.abs;function cn(){var e=this._data;return this._milliseconds=q(this._milliseconds),this._days=q(this._days),this._months=q(this._months),e.milliseconds=q(e.milliseconds),e.seconds=q(e.seconds),e.minutes=q(e.minutes),e.hours=q(e.hours),e.months=q(e.months),e.years=q(e.years),this}function vr(e,t,r,s){var a=C(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function mn(e,t){return vr(this,e,t,1)}function _n(e,t){return vr(this,e,t,-1)}function kr(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,u,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=kr(Yt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=R(e/1e3),s.seconds=a%60,i=R(a/60),s.minutes=i%60,n=R(i/60),s.hours=n%24,t+=R(n/24),f=R(Yr(t)),r+=f,t-=kr(Yt(f)),u=R(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Yr(e){return e*4800/146097}function Yt(e){return e*146097/4800}function wn(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=x(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Yt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Z(e){return function(){return this.as(e)}}var Or=Z("ms"),gn=Z("s"),Mn=Z("m"),pn=Z("h"),Dn=Z("d"),Sn=Z("w"),vn=Z("M"),kn=Z("Q"),Yn=Z("y"),On=Or;function bn(){return C(this)}function Tn(e){return e=x(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=ae("milliseconds"),Wn=ae("seconds"),xn=ae("minutes"),Rn=ae("hours"),Nn=ae("days"),Fn=ae("months"),Ln=ae("years");function Cn(){return R(this.days()/7)}var B=Math.round,fe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function In(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Un(e,t,r,s){var a=C(e).abs(),i=B(a.as("s")),n=B(a.as("m")),u=B(a.as("h")),f=B(a.as("d")),y=B(a.as("M")),b=B(a.as("w")),J=B(a.as("y")),ee=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||u<=1&&["h"]||u<r.h&&["hh",u]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(ee=ee||b<=1&&["w"]||b<r.w&&["ww",b]),ee=ee||y<=1&&["M"]||y<r.M&&["MM",y]||J<=1&&["y"]||["yy",J],ee[2]=t,ee[3]=+e>0,ee[4]=s,In.apply(null,ee)}function Hn(e){return e===void 0?B:typeof e=="function"?(B=e,!0):!1}function An(e,t){return fe[e]===void 0?!1:t===void 0?fe[e]:(fe[e]=t,e==="s"&&(fe.ss=t-1),!0)}function En(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=fe,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},fe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=Un(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Ot=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function qe(){if(!this.isValid())return this.localeData().invalidDate();var e=Ot(this._milliseconds)/1e3,t=Ot(this._days),r=Ot(this._months),s,a,i,n,u=this.asSeconds(),f,y,b,J;return u?(s=R(e/60),a=R(s/60),e%=60,s%=60,i=R(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",y=ce(this._months)!==ce(u)?"-":"",b=ce(this._days)!==ce(u)?"-":"",J=ce(this._milliseconds)!==ce(u)?"-":"",f+"P"+(i?y+i+"Y":"")+(r?y+r+"M":"")+(t?b+t+"D":"")+(a||s||e?"T":"")+(a?J+a+"H":"")+(s?J+s+"M":"")+(e?J+n+"S":"")):"P0D"}var w=Ae.prototype;w.isValid=Na,w.abs=cn,w.add=mn,w.subtract=_n,w.as=wn,w.asMilliseconds=Or,w.asSeconds=gn,w.asMinutes=Mn,w.asHours=pn,w.asDays=Dn,w.asWeeks=Sn,w.asMonths=vn,w.asQuarters=kn,w.asYears=Yn,w.valueOf=On,w._bubble=yn,w.clone=bn,w.get=Tn,w.milliseconds=Pn,w.seconds=Wn,w.minutes=xn,w.hours=Rn,w.days=Nn,w.weeks=Cn,w.months=Fn,w.years=Ln,w.humanize=En,w.toISOString=qe,w.toString=qe,w.toJSON=qe,w.locale=fr,w.localeData=mr,w.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qe),w.lang=cr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Ne),d("X",os),p("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),p("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
10
|
+
l.version="2.30.1",Er(S),l.fn=o,l.min=Pa,l.max=Wa,l.now=xa,l.utc=I,l.unix=nn,l.months=ln,l.isDate=_e,l.locale=K,l.invalid=be,l.duration=C,l.isMoment=F,l.weekdays=dn,l.parseZone=on,l.localeData=$,l.isDuration=Ee,l.monthsShort=un,l.weekdaysMin=fn,l.defineLocale=ct,l.updateLocale=na,l.locales=oa,l.weekdaysShort=hn,l.normalizeUnits=x,l.relativeTimeRounding=Hn,l.relativeTimeThreshold=An,l.calendarFormat=ri,l.prototype=o,l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const jn=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Vn=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,br=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,bt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],Gn={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:br,monthsShortRegex:br,monthsStrictRegex:jn,monthsShortStrictRegex:Vn,monthsParse:bt,longMonthsParse:bt,shortMonthsParse:bt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}},Tr=" ",Pr=" ",zn=(e,t="")=>e.split(t).join(Tr),$n=(e,t="")=>e.split(t).join(Pr),qn=(e,t)=>e.length>t?e.slice(0,t-3)+"...":e,Wr=e=>e&&e[0].toUpperCase()+e.slice(1),Tt=e=>e.split(" ").map(Wr).join(" "),Zn=e=>/^\d+$/.test(e),Bn=e=>e!==Math.round(e)||e<1||e===1/0||e===-1/0?null:e===1?"1er":`${e}ème`,Jn=e=>e.trim().replace(/\s+/gi," "),Qn=e=>{const t=e.split(" "),s=(a=>{let i=1/0;for(let n=0;n<a.length;n++){const u=Math.abs(a.slice(0,n+1).join(" ").length-a.slice(n+1).join(" ").length);if(u<=i)i=u;else return n-1}return i})(t);return t.length===1?[t[0]]:[t.slice(0,s+1),t.slice(s+1)].map(a=>a.join(" "))};l.locale("fr",Gn);const Kn=e=>new Date(e).toString()!=="Invalid Date",Xn=(e,t)=>Math.abs(Math.ceil((t.getTime()-e.getTime())/(1e3*60*60*24))),eo=e=>Tt(l(e).format("DD MMMM YYYY")),to=e=>Tt(l(e).format("dddd DD MMMM YYYY")),ro=(e,t,r=!0)=>(r?e.getFullYear()===t.getFullYear():!0)&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),so=()=>l().locale("fr").subtract(1,"days").toDate(),ao=e=>{const t=[],r=l.duration(e);if(!(!r||r.toISOString()==="P0D")){if(r.years()>=1){const s=Math.floor(r.years());t.push(s+" "+(s>1?"années":"année"))}if(r.months()>=1){const s=Math.floor(r.months());t.push(s+" mois")}if(r.days()>=1){const s=Math.floor(r.days());t.push(s+" "+(s>1?"jours":"jour"))}if(r.hours()>=1){const s=Math.floor(r.hours());t.push(s+" "+(s>1?"heures":"heure"))}if(r.minutes()>=1){const s=Math.floor(r.minutes());t.push(s+" "+(s>1?"minutes":"minute"))}if(r.seconds()>=1){const s=Math.floor(r.seconds());t.push(s+" "+(s>1?"secondes":"seconde"))}return t.join(", ")}},Pt=/^([1-9][0-9]?)([hmd])$/i,io=e=>!!e&&Pt.test(e),no=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10),i=1e3*60;if(s==="m")return i*a;if(s==="h")return i*60*a;if(s==="d")return i*60*24*a},oo=e=>{const t=Pt.exec(e);if(!t)return null;const[,r,s]=t,a=parseInt(r,10);if(s==="m")return`${a} minute${a>1?"s":""}`;if(s==="h")return`${a} heure${a>1?"s":""}`;if(s==="d")return`${a} jour${a>1?"s":""}`},lo={d1:"<:d1:1159542168738873455>",d2:"<:d2:1159542071049334814>",d3:"<:d3:1159542073914032191>",d4:"<:d4:1159542075512082543>",d5:"<:d5:1159542078179651614>",d6:"<:d6:1159542079458910229>",revolutionary:"<:revolutionnaire:648245785133056020>",pirate:"<:pirate:648245785053626368>",marine:"<:marine:648245784407441429>",berry:"<:berry:1153734056035504158>",xp:"<:xp:1084914564379975772>",success:"<:success:1186707379534954506>",paper:"📄",rock:"🪨",scissor:"✂️",pray:"<:Ryokugyu_pray:1147542990844334280>",gun:"<:fujigun:1050120413243506688>",promise:"<:Luffy_Promise:1027626431565529099>",love:"<:Lawve:1050916817801072730>",note:"<:imsusnote:1136952496456224778>",watching:"<:Carrot_Watching:1024736915922104360>",card:"<:carteDos:1168580012258103387>",cards:{spades:{1:"<:asdepique:1168560615170768967>",2:"<:2depique:1168559430955184259>",3:"<:3depique:1168559437548638248>",4:"<:4depique:1168559679354445934>",5:"<:5depique:1168559725504372796>",6:"<:6depique:1168559764528185394>",7:"<:7depique:1168559459392553061>",8:"<:8depique:1168559887870083162>",9:"<:9depique:1168559471392464988>",10:"<:10depique:1168559958435053598>",J:"<:valetdepique:1168560676202086523>",Q:"<:reinedepique:1168560621722284083>",K:"<:roidepique:1168560628189888634>"},diamonds:{1:"<:asdecarreau:1168560612742279308>",2:"<:2decarreau:1168559427788472330>",3:"<:3decarreau:1168559434138669236>",4:"<:4decarreau:1168559440774041621>",5:"<:5decarreau:1168559445308084256>",6:"<:6decarreau:1168559763462819940>",7:"<:7decarreau:1168559845872517172>",8:"<:8decarreau:1168559888989949994>",9:"<:9decarreau:1168559942215667804>",10:"<:10decarreau:1168559475481907230>",J:"<:valetdecarreau:1168560633634095234>",Q:"<:reinedecarreau:1168560618182291577>",K:"<:roidecarreau:1168560626185011281>"},hearts:{1:"<:asdecoeur:1168560613971214368>",2:"<:2decoeur:1168559428681859073>",3:"<:3decoeur:1168559435950592060>",4:"<:4decoeur:1168559442074284073>",5:"<:5decoeur:1168559723226865725>",6:"<:6decoeur:1168559452509708298>",7:"<:7decoeur:1168559457769365684>",8:"<:8decoeur:1168559463368757339>",9:"<:9decoeur:1168559938897989672>",10:"<:10decoeur:1168559477658751006>",J:"<:valetdecoeur:1168560635991298160>",Q:"<:reinedecoeur:1168560619855822940>",K:"<:roidecoeur:1168560678378950716>"},clubs:{1:"<:asdetrfle:1168560617444081834>",2:"<:2detrfle:1168559432242831512>",3:"<:3detrfle:1168559439440269403>",4:"<:4detrfle:1168559677936762982>",5:"<:5detrfle:1168559449540145153>",6:"<:6detrfle:1168559761260818594>",7:"<:7detrfle:1168559844748435549>",8:"<:8detrfle:1168559466334142575>",9:"<:9detrfle:1168559940953194576>",10:"<:10detrfle:1168559959802380288>",J:"<:valetdetrfle:1168560610531885137>",Q:"<:reinedetrfle:1168560623228026972>",K:"<:roidetrfle:1168560675543580712>"}},factions:{b_citizen_Bronze:"<:BasiqueOPFRbois:1175507882188484761>",b_citizen_Silver:"<:BasiqueOPFRargent:1175507880724668488>",b_citizen_Gold:"<:BasiqueOPFRor:1175507883501289512>",b_citizen_Platinum:"<:BasiqueOPFRplatine:1175507886714134548>",b_citizen_Diamond:"<:BasiqueOPFRultime:1175507889553670264>",b_marine_Bronze:"<:Marinebois:1175507936953512036>",b_marine_Silver:"<:Marineargent:1175508322351321178>",b_marine_Gold:"<:Marineor:1175508300603863132>",b_marine_Platinum:"<:Marineplatine:1175507940803879012>",b_marine_Diamond:"<:Marineultime:1175508279590395977>",b_revolutionary_Bronze:"<:RvoBois:1175507954779295810>",b_revolutionary_Silver:"<:RvoArgent:1175508199118483457>",b_revolutionary_Gold:"<:RvoOr:1175508111885344819>",b_revolutionary_Platinum:"<:RvoPlatine:1175507958378008756>",b_revolutionary_Diamond:"<:RvoUltime:1175508127815319612>",b_pirate_Bronze:"<:Piratebois:1175508259768115272>",b_pirate_Silver:"<:Pirateargent:1175507943987363941>",b_pirate_Gold:"<:Pirateor:1175508240243621928>",b_pirate_Platinum:"<:Pirateplatine:1175507949578358804>",b_pirate_Diamond:"<:Pirateultime:1175507951709061150>"},item_background:"<:background:1178465681809887334>",item_title:"<:title:1178465688915038208>",item_lootbox1:"<:lootbox1:1186689926167810088>",item_lootbox2:"<:lootbox2:1186258728882811051>",item_lootbox3:"<:lootbox3:1186259958216523786>",item_bottle_xp:"<:bottle_xp:1186204593667969035>",item_boost_week:"<:boost_week:1186258728073297971>",item_boost_day:"<:boost_day:1186258726030680145>",item_repair_wood_plank:"<:Planchesdebois:1233782418478071930>",item_repair_nail:"<:Clous:1233782384613261382>",item_repair_glue:"<:Colle:1233782388497186846>",item_repair_rope:"<:Corde:1233782392225927168>",item_repair_kit:"<:Kitderparation:1233782876223570011>",item_repair_tissue:"<:Tissus:1233784184099573852>",item_ship_lock:"<:Serrureclef:1233782436068982814>",item_ship_iron:"<:Ferbrut:1233782399125426207>",item_ship_clover:"<:Treflesixfeuilles:1233782439503990915> ",item_ship_glass_bottle:"<:Fioleenverre:1233782402233532496>",item_ship_pure_water:"<:Eaupure:1233782393572298802>",item_ship_sea_salt:"<:SelMarin:1233784181696233602>",item_ship_ebony_poppy:"<:MandragoreAdulte:1233782409070247946>",item_ship_rose:"<:Roseimmaculee:1233784180215644180>",item_ship_poppy:"<:Coquelicotecarlate:1233782390099280023>",item_ship_manganese:"<:Manganesescintillante:1233784177221042196>",item_ship_cursed_hawthorn:"<:AubpineMaudite:1233782382872629329>",item_ship_mugwort:"<:Armoiseblanche:1233782381400424519>",item_ship_mandrake:"<:MandragoreAdulte:1233782409070247946>",item_ship_obsidian:"<:Obsidiennesombre:1233784178307371110>",item_ship_saffron:"<:Safranvermeille:1233782430385836124>",item_ship_edelweiss:"<:Edelweiss:1233782395019329546>",item_ship_emerald:"<:emeraude:1233782873165791273>",item_ship_ruby:"<:Rubis:1233782426174619679>",item_ship_sapphire:"<:Safranvermeille:1233782430385836124>",item_ship_siren_tear:"<:Larmedesirene:1233782405538517095>",item_ship_compass:"<:Rosedesvents:1233782421892239360>",item_ship_dragon_heart:"<:CoeurdeDragon:1233782386580258848>",item_ship_fairy_wing:"<:Ailedefees:1233782379269722293>",item_ship_phoenix_feather:"<:PlumedePhoenix:1233784783822127167>",item_ship_mithril:"<:MandragoreAdulte:1233782409070247946>"},xr=e=>new Intl.NumberFormat("de-DE").format(e),uo=(e,t)=>Math.floor(Math.random()*(t-e)+e),Oe=e=>`${xr(Math.round(e/1024/1024*100)/100)} MB`,ho=()=>{const e=process.memoryUsage(),t={rss:`${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,heapTotal:`${Oe(e.heapTotal)} -> total size of the allocated heap`,heapUsed:`${Oe(e.heapUsed)} -> actual memory used during the execution`,external:`${Oe(e.external)} -> V8 external memory`};console.log(t)},fo=e=>typeof e=="function";c.TIGHT_SPACE=Tr,c.WIDE_SPACE=Pr,c.breakWords=Qn,c.capitalize=Wr,c.capitalizeAllWords=Tt,c.dateDiff=Xn,c.durationToMs=no,c.ellipsis=qn,c.emojis=lo,c.exclude=Lr,c.fillWithTightSpaces=zn,c.fillWithWideSpaces=$n,c.filterNullAndUndefined=Ur,c.formatDate=eo,c.formatDateWithDay=to,c.formatDuration=oo,c.formatMemoryUsage=Oe,c.formatNumber=xr,c.groupBy=Rr,c.includeArrayIf=Ar,c.includeIf=Hr,c.isDuration=io,c.isFunction=fo,c.isPositiveInteger=Zn,c.isValidDate=Kn,c.mutuallyInclusive=Fr,c.numberToOrdinal=Bn,c.paginate=me,c.precise=ao,c.printMemoryUsage=ho,c.randomBetween=uo,c.sameDay=ro,c.shuffle=Ir,c.sortBy=Nr,c.trim=Jn,c.unique=Cr,c.yesterday=so,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
|