@opfr/utils-lang 0.0.6 → 0.0.8
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/locales/fr.d.ts +56 -0
- package/dist/utils-lang.js +877 -794
- package/dist/utils-lang.umd.cjs +5 -5
- package/package.json +2 -4
package/dist/utils-lang.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Fi = (e, t) => e.reduce((r, s, a) => {
|
|
2
2
|
const n = Math.floor(a / t);
|
|
3
3
|
return (r[n] || (r[n] = [])).push(s), r;
|
|
4
|
-
}, []),
|
|
4
|
+
}, []), Li = (e, t) => e.reduce(
|
|
5
5
|
(r, s) => ((r[t(s)] = r[t(s)] || []).push(s), r),
|
|
6
6
|
{}
|
|
7
|
-
),
|
|
7
|
+
), Ci = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0), Ui = (e, t, r = (s) => s) => e.filter((s) => t.some((a) => r(a) === r(s))), Ii = (e, t, r = (s) => s) => e.filter((s) => !t.some((a) => r(a) === r(s))), Hi = (e, t) => [...new Set(e.map((r) => t(r)))];
|
|
8
8
|
//! moment.js
|
|
9
9
|
//! version : 2.30.1
|
|
10
10
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
11
11
|
//! license : MIT
|
|
12
12
|
//! momentjs.com
|
|
13
|
-
var
|
|
13
|
+
var Ft;
|
|
14
14
|
function l() {
|
|
15
|
-
return
|
|
15
|
+
return Ft.apply(null, arguments);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
17
|
+
function Or(e) {
|
|
18
|
+
Ft = e;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function N(e) {
|
|
21
21
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
22
22
|
}
|
|
23
23
|
function re(e) {
|
|
@@ -26,7 +26,7 @@ function re(e) {
|
|
|
26
26
|
function w(e, t) {
|
|
27
27
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function at(e) {
|
|
30
30
|
if (Object.getOwnPropertyNames)
|
|
31
31
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
32
32
|
var t;
|
|
@@ -44,7 +44,7 @@ function q(e) {
|
|
|
44
44
|
function pe(e) {
|
|
45
45
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Lt(e, t) {
|
|
48
48
|
var r = [], s, a = e.length;
|
|
49
49
|
for (s = 0; s < a; ++s)
|
|
50
50
|
r.push(t(e[s], s));
|
|
@@ -55,10 +55,10 @@ function Q(e, t) {
|
|
|
55
55
|
w(t, r) && (e[r] = t[r]);
|
|
56
56
|
return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return
|
|
58
|
+
function I(e, t, r, s) {
|
|
59
|
+
return ar(e, t, r, s, !0).utc();
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function br() {
|
|
62
62
|
return {
|
|
63
63
|
empty: !1,
|
|
64
64
|
unusedTokens: [],
|
|
@@ -79,19 +79,19 @@ function Yr() {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
function c(e) {
|
|
82
|
-
return e._pf == null && (e._pf =
|
|
82
|
+
return e._pf == null && (e._pf = br()), e._pf;
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
Array.prototype.some ?
|
|
84
|
+
var Qe;
|
|
85
|
+
Array.prototype.some ? Qe = Array.prototype.some : Qe = function(e) {
|
|
86
86
|
var t = Object(this), r = t.length >>> 0, s;
|
|
87
87
|
for (s = 0; s < r; s++)
|
|
88
88
|
if (s in t && e.call(this, t[s], s, t))
|
|
89
89
|
return !0;
|
|
90
90
|
return !1;
|
|
91
91
|
};
|
|
92
|
-
function
|
|
92
|
+
function nt(e) {
|
|
93
93
|
var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
|
|
94
|
-
if (s && (t = c(e), r =
|
|
94
|
+
if (s && (t = c(e), r = Qe.call(t.parsedDateParts, function(a) {
|
|
95
95
|
return a != null;
|
|
96
96
|
}), 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))
|
|
97
97
|
e._isValid = s;
|
|
@@ -99,25 +99,25 @@ function at(e) {
|
|
|
99
99
|
return s;
|
|
100
100
|
return e._isValid;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
var t =
|
|
102
|
+
function Le(e) {
|
|
103
|
+
var t = I(NaN);
|
|
104
104
|
return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
|
|
105
105
|
}
|
|
106
|
-
var
|
|
107
|
-
function
|
|
108
|
-
var r, s, a, n =
|
|
106
|
+
var bt = l.momentProperties = [], $e = !1;
|
|
107
|
+
function it(e, t) {
|
|
108
|
+
var r, s, a, n = bt.length;
|
|
109
109
|
if (b(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), b(t._i) || (e._i = t._i), b(t._f) || (e._f = t._f), b(t._l) || (e._l = t._l), b(t._strict) || (e._strict = t._strict), b(t._tzm) || (e._tzm = t._tzm), b(t._isUTC) || (e._isUTC = t._isUTC), b(t._offset) || (e._offset = t._offset), b(t._pf) || (e._pf = c(t)), b(t._locale) || (e._locale = t._locale), n > 0)
|
|
110
110
|
for (r = 0; r < n; r++)
|
|
111
|
-
s =
|
|
111
|
+
s = bt[r], a = t[s], b(a) || (e[s] = a);
|
|
112
112
|
return e;
|
|
113
113
|
}
|
|
114
114
|
function ke(e) {
|
|
115
|
-
|
|
115
|
+
it(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), $e === !1 && ($e = !0, l.updateOffset(this), $e = !1);
|
|
116
116
|
}
|
|
117
117
|
function F(e) {
|
|
118
118
|
return e instanceof ke || e != null && e._isAMomentObject != null;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ct(e) {
|
|
121
121
|
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
122
122
|
}
|
|
123
123
|
function P(e, t) {
|
|
@@ -136,7 +136,7 @@ function P(e, t) {
|
|
|
136
136
|
a = arguments[n];
|
|
137
137
|
s.push(a);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
Ct(
|
|
140
140
|
e + `
|
|
141
141
|
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
142
142
|
` + new Error().stack
|
|
@@ -145,24 +145,24 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
|
145
145
|
return t.apply(this, arguments);
|
|
146
146
|
}, t);
|
|
147
147
|
}
|
|
148
|
-
var
|
|
149
|
-
function
|
|
150
|
-
l.deprecationHandler != null && l.deprecationHandler(e, t),
|
|
148
|
+
var Tt = {};
|
|
149
|
+
function Ut(e, t) {
|
|
150
|
+
l.deprecationHandler != null && l.deprecationHandler(e, t), Tt[e] || (Ct(t), Tt[e] = !0);
|
|
151
151
|
}
|
|
152
152
|
l.suppressDeprecationWarnings = !1;
|
|
153
153
|
l.deprecationHandler = null;
|
|
154
|
-
function
|
|
154
|
+
function H(e) {
|
|
155
155
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Tr(e) {
|
|
158
158
|
var t, r;
|
|
159
159
|
for (r in e)
|
|
160
|
-
w(e, r) && (t = e[r],
|
|
160
|
+
w(e, r) && (t = e[r], H(t) ? this[r] = t : this["_" + r] = t);
|
|
161
161
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
162
162
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Ke(e, t) {
|
|
166
166
|
var r = Q({}, e), s;
|
|
167
167
|
for (s in t)
|
|
168
168
|
w(t, s) && (re(e[s]) && re(t[s]) ? (r[s] = {}, Q(r[s], e[s]), Q(r[s], t[s])) : t[s] != null ? r[s] = t[s] : delete r[s]);
|
|
@@ -170,17 +170,17 @@ function Qe(e, t) {
|
|
|
170
170
|
w(e, s) && !w(t, s) && re(e[s]) && (r[s] = Q({}, r[s]));
|
|
171
171
|
return r;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function ot(e) {
|
|
174
174
|
e != null && this.set(e);
|
|
175
175
|
}
|
|
176
|
-
var
|
|
177
|
-
Object.keys ?
|
|
176
|
+
var Xe;
|
|
177
|
+
Object.keys ? Xe = Object.keys : Xe = function(e) {
|
|
178
178
|
var t, r = [];
|
|
179
179
|
for (t in e)
|
|
180
180
|
w(e, t) && r.push(t);
|
|
181
181
|
return r;
|
|
182
182
|
};
|
|
183
|
-
var
|
|
183
|
+
var xr = {
|
|
184
184
|
sameDay: "[Today at] LT",
|
|
185
185
|
nextDay: "[Tomorrow at] LT",
|
|
186
186
|
nextWeek: "dddd [at] LT",
|
|
@@ -188,21 +188,21 @@ var br = {
|
|
|
188
188
|
lastWeek: "[Last] dddd [at] LT",
|
|
189
189
|
sameElse: "L"
|
|
190
190
|
};
|
|
191
|
-
function
|
|
191
|
+
function Pr(e, t, r) {
|
|
192
192
|
var s = this._calendar[e] || this._calendar.sameElse;
|
|
193
|
-
return
|
|
193
|
+
return H(s) ? s.call(t, r) : s;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function U(e, t, r) {
|
|
196
196
|
var s = "" + Math.abs(e), a = t - s.length, n = e >= 0;
|
|
197
197
|
return (n ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
199
|
+
var lt = /(\[[^\[]*\])|(\\)?([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, ve = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, qe = {}, oe = {};
|
|
200
200
|
function h(e, t, r, s) {
|
|
201
201
|
var a = s;
|
|
202
202
|
typeof s == "string" && (a = function() {
|
|
203
203
|
return this[s]();
|
|
204
204
|
}), e && (oe[e] = a), t && (oe[t[0]] = function() {
|
|
205
|
-
return
|
|
205
|
+
return U(a.apply(this, arguments), t[1], t[2]);
|
|
206
206
|
}), r && (oe[r] = function() {
|
|
207
207
|
return this.localeData().ordinal(
|
|
208
208
|
a.apply(this, arguments),
|
|
@@ -210,24 +210,24 @@ function h(e, t, r, s) {
|
|
|
210
210
|
);
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Wr(e) {
|
|
214
214
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
var t = e.match(
|
|
216
|
+
function Rr(e) {
|
|
217
|
+
var t = e.match(lt), r, s;
|
|
218
218
|
for (r = 0, s = t.length; r < s; r++)
|
|
219
|
-
oe[t[r]] ? t[r] = oe[t[r]] : t[r] =
|
|
219
|
+
oe[t[r]] ? t[r] = oe[t[r]] : t[r] = Wr(t[r]);
|
|
220
220
|
return function(a) {
|
|
221
221
|
var n = "", i;
|
|
222
222
|
for (i = 0; i < s; i++)
|
|
223
|
-
n +=
|
|
223
|
+
n += H(t[i]) ? t[i].call(a, e) : t[i];
|
|
224
224
|
return n;
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
227
|
function be(e, t) {
|
|
228
|
-
return e.isValid() ? (t =
|
|
228
|
+
return e.isValid() ? (t = It(t, e.localeData()), qe[t] = qe[t] || Rr(t), qe[t](e)) : e.localeData().invalidDate();
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function It(e, t) {
|
|
231
231
|
var r = 5;
|
|
232
232
|
function s(a) {
|
|
233
233
|
return t.longDateFormat(a) || a;
|
|
@@ -239,7 +239,7 @@ function Ut(e, t) {
|
|
|
239
239
|
), ve.lastIndex = 0, r -= 1;
|
|
240
240
|
return e;
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var Nr = {
|
|
243
243
|
LTS: "h:mm:ss A",
|
|
244
244
|
LT: "h:mm A",
|
|
245
245
|
L: "MM/DD/YYYY",
|
|
@@ -247,21 +247,21 @@ var Wr = {
|
|
|
247
247
|
LLL: "MMMM D, YYYY h:mm A",
|
|
248
248
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
249
249
|
};
|
|
250
|
-
function
|
|
250
|
+
function Fr(e) {
|
|
251
251
|
var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
|
|
252
|
-
return t || !r ? t : (this._longDateFormat[e] = r.match(
|
|
252
|
+
return t || !r ? t : (this._longDateFormat[e] = r.match(lt).map(function(s) {
|
|
253
253
|
return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
|
|
254
254
|
}).join(""), this._longDateFormat[e]);
|
|
255
255
|
}
|
|
256
|
-
var
|
|
257
|
-
function
|
|
256
|
+
var Lr = "Invalid date";
|
|
257
|
+
function Cr() {
|
|
258
258
|
return this._invalidDate;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
261
|
-
function
|
|
260
|
+
var Ur = "%d", Ir = /\d{1,2}/;
|
|
261
|
+
function Hr(e) {
|
|
262
262
|
return this._ordinal.replace("%d", e);
|
|
263
263
|
}
|
|
264
|
-
var
|
|
264
|
+
var Er = {
|
|
265
265
|
future: "in %s",
|
|
266
266
|
past: "%s ago",
|
|
267
267
|
s: "a few seconds",
|
|
@@ -279,15 +279,15 @@ var Lr = {
|
|
|
279
279
|
y: "a year",
|
|
280
280
|
yy: "%d years"
|
|
281
281
|
};
|
|
282
|
-
function
|
|
282
|
+
function Ar(e, t, r, s) {
|
|
283
283
|
var a = this._relativeTime[r];
|
|
284
|
-
return
|
|
284
|
+
return H(a) ? a(e, t, r, s) : a.replace(/%d/i, e);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function jr(e, t) {
|
|
287
287
|
var r = this._relativeTime[e > 0 ? "future" : "past"];
|
|
288
|
-
return
|
|
288
|
+
return H(r) ? r(t) : r.replace(/%s/i, t);
|
|
289
289
|
}
|
|
290
|
-
var
|
|
290
|
+
var xt = {
|
|
291
291
|
D: "date",
|
|
292
292
|
dates: "date",
|
|
293
293
|
date: "date",
|
|
@@ -338,15 +338,15 @@ var Tt = {
|
|
|
338
338
|
year: "year"
|
|
339
339
|
};
|
|
340
340
|
function W(e) {
|
|
341
|
-
return typeof e == "string" ?
|
|
341
|
+
return typeof e == "string" ? xt[e] || xt[e.toLowerCase()] : void 0;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function ut(e) {
|
|
344
344
|
var t = {}, r, s;
|
|
345
345
|
for (s in e)
|
|
346
346
|
w(e, s) && (r = W(s), r && (t[r] = e[s]));
|
|
347
347
|
return t;
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Vr = {
|
|
350
350
|
date: 9,
|
|
351
351
|
day: 11,
|
|
352
352
|
weekday: 11,
|
|
@@ -364,25 +364,25 @@ var Ar = {
|
|
|
364
364
|
isoWeek: 5,
|
|
365
365
|
year: 1
|
|
366
366
|
};
|
|
367
|
-
function
|
|
367
|
+
function Gr(e) {
|
|
368
368
|
var t = [], r;
|
|
369
369
|
for (r in e)
|
|
370
|
-
w(e, r) && t.push({ unit: r, priority:
|
|
370
|
+
w(e, r) && t.push({ unit: r, priority: Vr[r] });
|
|
371
371
|
return t.sort(function(s, a) {
|
|
372
372
|
return s.priority - a.priority;
|
|
373
373
|
}), t;
|
|
374
374
|
}
|
|
375
|
-
var
|
|
375
|
+
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?/, Ue = /\d{1,3}/, ht = /\d{1,4}/, Ie = /[+-]?\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})?/, De = /[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;
|
|
376
376
|
Pe = {};
|
|
377
377
|
function d(e, t, r) {
|
|
378
|
-
Pe[e] =
|
|
378
|
+
Pe[e] = H(t) ? t : function(s, a) {
|
|
379
379
|
return s && r ? r : t;
|
|
380
380
|
};
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
return w(Pe, e) ? Pe[e](t._strict, t._locale) : new RegExp(
|
|
382
|
+
function qr(e, t) {
|
|
383
|
+
return w(Pe, e) ? Pe[e](t._strict, t._locale) : new RegExp(Zr(e));
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Zr(e) {
|
|
386
386
|
return z(
|
|
387
387
|
e.replace("\\", "").replace(
|
|
388
388
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
@@ -402,29 +402,29 @@ function m(e) {
|
|
|
402
402
|
var t = +e, r = 0;
|
|
403
403
|
return t !== 0 && isFinite(t) && (r = x(t)), r;
|
|
404
404
|
}
|
|
405
|
-
var
|
|
406
|
-
function
|
|
405
|
+
var et = {};
|
|
406
|
+
function g(e, t) {
|
|
407
407
|
var r, s = t, a;
|
|
408
408
|
for (typeof e == "string" && (e = [e]), q(t) && (s = function(n, i) {
|
|
409
409
|
i[t] = m(n);
|
|
410
410
|
}), a = e.length, r = 0; r < a; r++)
|
|
411
|
-
|
|
411
|
+
et[e[r]] = s;
|
|
412
412
|
}
|
|
413
|
-
function
|
|
414
|
-
|
|
413
|
+
function Se(e, t) {
|
|
414
|
+
g(e, function(r, s, a, n) {
|
|
415
415
|
a._w = a._w || {}, t(r, a._w, a, n);
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
t != null && w(
|
|
418
|
+
function Br(e, t, r) {
|
|
419
|
+
t != null && w(et, e) && et[e](t, r._a, r, e);
|
|
420
420
|
}
|
|
421
421
|
function Ae(e) {
|
|
422
422
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
423
423
|
}
|
|
424
|
-
var Y = 0,
|
|
424
|
+
var Y = 0, V = 1, C = 2, v = 3, R = 4, G = 5, te = 6, Jr = 7, Qr = 8;
|
|
425
425
|
h("Y", 0, 0, function() {
|
|
426
426
|
var e = this.year();
|
|
427
|
-
return e <= 9999 ?
|
|
427
|
+
return e <= 9999 ? U(e, 4) : "+" + e;
|
|
428
428
|
});
|
|
429
429
|
h(0, ["YY", 2], 0, function() {
|
|
430
430
|
return this.year() % 100;
|
|
@@ -432,19 +432,19 @@ h(0, ["YY", 2], 0, function() {
|
|
|
432
432
|
h(0, ["YYYY", 4], 0, "year");
|
|
433
433
|
h(0, ["YYYYY", 5], 0, "year");
|
|
434
434
|
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
435
|
-
d("Y",
|
|
435
|
+
d("Y", He);
|
|
436
436
|
d("YY", k, T);
|
|
437
|
-
d("YYYY",
|
|
438
|
-
d("YYYYY",
|
|
439
|
-
d("YYYYYY",
|
|
440
|
-
|
|
441
|
-
|
|
437
|
+
d("YYYY", ht, dt);
|
|
438
|
+
d("YYYYY", Ie, Ce);
|
|
439
|
+
d("YYYYYY", Ie, Ce);
|
|
440
|
+
g(["YYYYY", "YYYYYY"], Y);
|
|
441
|
+
g("YYYY", function(e, t) {
|
|
442
442
|
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
|
443
443
|
});
|
|
444
|
-
|
|
444
|
+
g("YY", function(e, t) {
|
|
445
445
|
t[Y] = l.parseTwoDigitYear(e);
|
|
446
446
|
});
|
|
447
|
-
|
|
447
|
+
g("Y", function(e, t) {
|
|
448
448
|
t[Y] = parseInt(e, 10);
|
|
449
449
|
});
|
|
450
450
|
function _e(e) {
|
|
@@ -453,13 +453,13 @@ function _e(e) {
|
|
|
453
453
|
l.parseTwoDigitYear = function(e) {
|
|
454
454
|
return m(e) + (m(e) > 68 ? 1900 : 2e3);
|
|
455
455
|
};
|
|
456
|
-
var
|
|
457
|
-
function
|
|
456
|
+
var Vt = fe("FullYear", !0);
|
|
457
|
+
function Kr() {
|
|
458
458
|
return Ae(this.year());
|
|
459
459
|
}
|
|
460
460
|
function fe(e, t) {
|
|
461
461
|
return function(r) {
|
|
462
|
-
return r != null ? (
|
|
462
|
+
return r != null ? (Gt(this, e, r), l.updateOffset(this, t), this) : ye(this, e);
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
465
|
function ye(e, t) {
|
|
@@ -487,7 +487,7 @@ function ye(e, t) {
|
|
|
487
487
|
return NaN;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function Gt(e, t, r) {
|
|
491
491
|
var s, a, n, i, u;
|
|
492
492
|
if (!(!e.isValid() || isNaN(r))) {
|
|
493
493
|
switch (s = e._d, a = e._isUTC, t) {
|
|
@@ -509,34 +509,34 @@ function Vt(e, t, r) {
|
|
|
509
509
|
n = r, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !Ae(n) ? 28 : u, a ? s.setUTCFullYear(n, i, u) : s.setFullYear(n, i, u);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
function
|
|
513
|
-
return e = W(e),
|
|
512
|
+
function Xr(e) {
|
|
513
|
+
return e = W(e), H(this[e]) ? this[e]() : this;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function es(e, t) {
|
|
516
516
|
if (typeof e == "object") {
|
|
517
|
-
e =
|
|
518
|
-
var r =
|
|
517
|
+
e = ut(e);
|
|
518
|
+
var r = Gr(e), s, a = r.length;
|
|
519
519
|
for (s = 0; s < a; s++)
|
|
520
520
|
this[r[s].unit](e[r[s].unit]);
|
|
521
|
-
} else if (e = W(e),
|
|
521
|
+
} else if (e = W(e), H(this[e]))
|
|
522
522
|
return this[e](t);
|
|
523
523
|
return this;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function ts(e, t) {
|
|
526
526
|
return (e % t + t) % t;
|
|
527
527
|
}
|
|
528
|
-
var
|
|
529
|
-
Array.prototype.indexOf ?
|
|
528
|
+
var S;
|
|
529
|
+
Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
|
|
530
530
|
var t;
|
|
531
531
|
for (t = 0; t < this.length; ++t)
|
|
532
532
|
if (this[t] === e)
|
|
533
533
|
return t;
|
|
534
534
|
return -1;
|
|
535
535
|
};
|
|
536
|
-
function
|
|
536
|
+
function ct(e, t) {
|
|
537
537
|
if (isNaN(e) || isNaN(t))
|
|
538
538
|
return NaN;
|
|
539
|
-
var r =
|
|
539
|
+
var r = ts(t, 12);
|
|
540
540
|
return e += (t - r) / 12, r === 1 ? Ae(e) ? 29 : 28 : 31 - r % 7 % 2;
|
|
541
541
|
}
|
|
542
542
|
h("M", ["MM", 2], "Mo", function() {
|
|
@@ -556,38 +556,38 @@ d("MMM", function(e, t) {
|
|
|
556
556
|
d("MMMM", function(e, t) {
|
|
557
557
|
return t.monthsRegex(e);
|
|
558
558
|
});
|
|
559
|
-
|
|
560
|
-
t[
|
|
559
|
+
g(["M", "MM"], function(e, t) {
|
|
560
|
+
t[V] = m(e) - 1;
|
|
561
561
|
});
|
|
562
|
-
|
|
562
|
+
g(["MMM", "MMMM"], function(e, t, r, s) {
|
|
563
563
|
var a = r._locale.monthsParse(e, s, r._strict);
|
|
564
|
-
a != null ? t[
|
|
564
|
+
a != null ? t[V] = a : c(r).invalidMonth = e;
|
|
565
565
|
});
|
|
566
|
-
var
|
|
566
|
+
var rs = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
567
567
|
"_"
|
|
568
|
-
),
|
|
569
|
-
function
|
|
570
|
-
return e ?
|
|
568
|
+
), zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), $t = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, ss = De, as = De;
|
|
569
|
+
function ns(e, t) {
|
|
570
|
+
return e ? N(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || $t).test(t) ? "format" : "standalone"][e.month()] : N(this._months) ? this._months : this._months.standalone;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return e ?
|
|
572
|
+
function is(e, t) {
|
|
573
|
+
return e ? N(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[$t.test(t) ? "format" : "standalone"][e.month()] : N(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function os(e, t, r) {
|
|
576
576
|
var s, a, n, i = e.toLocaleLowerCase();
|
|
577
577
|
if (!this._monthsParse)
|
|
578
578
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
579
|
-
n =
|
|
579
|
+
n = I([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
580
580
|
n,
|
|
581
581
|
""
|
|
582
582
|
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(n, "").toLocaleLowerCase();
|
|
583
|
-
return r ? t === "MMM" ? (a =
|
|
583
|
+
return r ? t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null));
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function ls(e, t, r) {
|
|
586
586
|
var s, a, n;
|
|
587
587
|
if (this._monthsParseExact)
|
|
588
|
-
return
|
|
588
|
+
return os.call(this, e, t, r);
|
|
589
589
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
590
|
-
if (a =
|
|
590
|
+
if (a = I([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
591
591
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
592
592
|
"i"
|
|
593
593
|
), this._shortMonthsParse[s] = new RegExp(
|
|
@@ -601,7 +601,7 @@ function is(e, t, r) {
|
|
|
601
601
|
return s;
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function qt(e, t) {
|
|
605
605
|
if (!e.isValid())
|
|
606
606
|
return e;
|
|
607
607
|
if (typeof t == "string") {
|
|
@@ -611,27 +611,27 @@ function zt(e, t) {
|
|
|
611
611
|
return e;
|
|
612
612
|
}
|
|
613
613
|
var r = t, s = e.date();
|
|
614
|
-
return s = s < 29 ? s : Math.min(s,
|
|
614
|
+
return s = s < 29 ? s : Math.min(s, ct(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return e != null ? (
|
|
616
|
+
function Zt(e) {
|
|
617
|
+
return e != null ? (qt(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
return
|
|
619
|
+
function us() {
|
|
620
|
+
return ct(this.year(), this.month());
|
|
621
621
|
}
|
|
622
|
-
function
|
|
623
|
-
return this._monthsParseExact ? (w(this, "_monthsRegex") ||
|
|
622
|
+
function ds(e) {
|
|
623
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Bt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = ss), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return this._monthsParseExact ? (w(this, "_monthsRegex") ||
|
|
625
|
+
function hs(e) {
|
|
626
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Bt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = as), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function Bt() {
|
|
629
629
|
function e(f, _) {
|
|
630
630
|
return _.length - f.length;
|
|
631
631
|
}
|
|
632
632
|
var t = [], r = [], s = [], a, n, i, u;
|
|
633
633
|
for (a = 0; a < 12; a++)
|
|
634
|
-
n =
|
|
634
|
+
n = I([2e3, a]), i = z(this.monthsShort(n, "")), u = z(this.months(n, "")), t.push(i), r.push(u), s.push(u), s.push(i);
|
|
635
635
|
t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
636
636
|
"^(" + r.join("|") + ")",
|
|
637
637
|
"i"
|
|
@@ -640,7 +640,7 @@ function qt() {
|
|
|
640
640
|
"i"
|
|
641
641
|
);
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function fs(e, t, r, s, a, n, i) {
|
|
644
644
|
var u;
|
|
645
645
|
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r, s, a, n, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, r, s, a, n, i), u;
|
|
646
646
|
}
|
|
@@ -652,14 +652,14 @@ function We(e, t, r) {
|
|
|
652
652
|
var s = 7 + t - r, a = (7 + we(e, 0, s).getUTCDay() - t) % 7;
|
|
653
653
|
return -a + s - 1;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Jt(e, t, r, s, a) {
|
|
656
656
|
var n = (7 + r - s) % 7, i = We(e, s, a), u = 1 + 7 * (t - 1) + n + i, f, _;
|
|
657
657
|
return u <= 0 ? (f = e - 1, _ = _e(f) + u) : u > _e(e) ? (f = e + 1, _ = u - _e(e)) : (f = e, _ = u), {
|
|
658
658
|
year: f,
|
|
659
659
|
dayOfYear: _
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Me(e, t, r) {
|
|
663
663
|
var s = We(e.year(), t, r), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, n, i;
|
|
664
664
|
return a < 1 ? (i = e.year() - 1, n = a + $(i, t, r)) : a > $(e.year(), t, r) ? (n = a - $(e.year(), t, r), i = e.year() + 1) : (i = e.year(), n = a), {
|
|
665
665
|
week: n,
|
|
@@ -676,33 +676,33 @@ d("w", k, he);
|
|
|
676
676
|
d("ww", k, T);
|
|
677
677
|
d("W", k, he);
|
|
678
678
|
d("WW", k, T);
|
|
679
|
-
|
|
679
|
+
Se(
|
|
680
680
|
["w", "ww", "W", "WW"],
|
|
681
681
|
function(e, t, r, s) {
|
|
682
682
|
t[s.substr(0, 1)] = m(e);
|
|
683
683
|
}
|
|
684
684
|
);
|
|
685
|
-
function
|
|
686
|
-
return
|
|
685
|
+
function cs(e) {
|
|
686
|
+
return Me(e, this._week.dow, this._week.doy).week;
|
|
687
687
|
}
|
|
688
|
-
var
|
|
688
|
+
var ms = {
|
|
689
689
|
dow: 0,
|
|
690
690
|
// Sunday is the first day of the week.
|
|
691
691
|
doy: 6
|
|
692
692
|
// The week that contains Jan 6th is the first week of the year.
|
|
693
693
|
};
|
|
694
|
-
function
|
|
694
|
+
function _s() {
|
|
695
695
|
return this._week.dow;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function ys() {
|
|
698
698
|
return this._week.doy;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function ws(e) {
|
|
701
701
|
var t = this.localeData().week(this);
|
|
702
702
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
703
703
|
}
|
|
704
|
-
function
|
|
705
|
-
var t =
|
|
704
|
+
function Ms(e) {
|
|
705
|
+
var t = Me(this, 1, 4).week;
|
|
706
706
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
707
707
|
}
|
|
708
708
|
h("d", 0, "do", "day");
|
|
@@ -729,52 +729,52 @@ d("ddd", function(e, t) {
|
|
|
729
729
|
d("dddd", function(e, t) {
|
|
730
730
|
return t.weekdaysRegex(e);
|
|
731
731
|
});
|
|
732
|
-
|
|
732
|
+
Se(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
733
733
|
var a = r._locale.weekdaysParse(e, s, r._strict);
|
|
734
734
|
a != null ? t.d = a : c(r).invalidWeekday = e;
|
|
735
735
|
});
|
|
736
|
-
|
|
736
|
+
Se(["d", "e", "E"], function(e, t, r, s) {
|
|
737
737
|
t[s] = m(e);
|
|
738
738
|
});
|
|
739
|
-
function
|
|
739
|
+
function gs(e, t) {
|
|
740
740
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function ps(e, t) {
|
|
743
743
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function mt(e, t) {
|
|
746
746
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
747
747
|
}
|
|
748
|
-
var
|
|
749
|
-
function
|
|
750
|
-
var r =
|
|
751
|
-
return e === !0 ?
|
|
748
|
+
var ks = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Qt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ds = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ss = De, vs = De, Ys = De;
|
|
749
|
+
function Os(e, t) {
|
|
750
|
+
var r = N(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
751
|
+
return e === !0 ? mt(r, this._week.dow) : e ? r[e.day()] : r;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
return e === !0 ?
|
|
753
|
+
function bs(e) {
|
|
754
|
+
return e === !0 ? mt(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return e === !0 ?
|
|
756
|
+
function Ts(e) {
|
|
757
|
+
return e === !0 ? mt(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function xs(e, t, r) {
|
|
760
760
|
var s, a, n, i = e.toLocaleLowerCase();
|
|
761
761
|
if (!this._weekdaysParse)
|
|
762
762
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
763
|
-
n =
|
|
763
|
+
n = I([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
764
764
|
n,
|
|
765
765
|
""
|
|
766
766
|
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
767
767
|
n,
|
|
768
768
|
""
|
|
769
769
|
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(n, "").toLocaleLowerCase();
|
|
770
|
-
return r ? t === "dddd" ? (a =
|
|
770
|
+
return r ? t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 || (a = S.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = S.call(this._minWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function Ps(e, t, r) {
|
|
773
773
|
var s, a, n;
|
|
774
774
|
if (this._weekdaysParseExact)
|
|
775
|
-
return
|
|
775
|
+
return xs.call(this, e, t, r);
|
|
776
776
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
777
|
-
if (a =
|
|
777
|
+
if (a = I([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
778
778
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
779
779
|
"i"
|
|
780
780
|
), this._shortWeekdaysParse[s] = new RegExp(
|
|
@@ -793,43 +793,43 @@ function Ts(e, t, r) {
|
|
|
793
793
|
return s;
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function Ws(e) {
|
|
797
797
|
if (!this.isValid())
|
|
798
798
|
return e != null ? this : NaN;
|
|
799
799
|
var t = ye(this, "Day");
|
|
800
|
-
return e != null ? (e =
|
|
800
|
+
return e != null ? (e = gs(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function Rs(e) {
|
|
803
803
|
if (!this.isValid())
|
|
804
804
|
return e != null ? this : NaN;
|
|
805
805
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
806
806
|
return e == null ? t : this.add(e - t, "d");
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function Ns(e) {
|
|
809
809
|
if (!this.isValid())
|
|
810
810
|
return e != null ? this : NaN;
|
|
811
811
|
if (e != null) {
|
|
812
|
-
var t =
|
|
812
|
+
var t = ps(e, this.localeData());
|
|
813
813
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
814
814
|
} else
|
|
815
815
|
return this.day() || 7;
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") ||
|
|
817
|
+
function Fs(e) {
|
|
818
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = Ss), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
819
819
|
}
|
|
820
|
-
function
|
|
821
|
-
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") ||
|
|
820
|
+
function Ls(e) {
|
|
821
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = vs), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") ||
|
|
823
|
+
function Cs(e) {
|
|
824
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ys), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
825
825
|
}
|
|
826
|
-
function
|
|
827
|
-
function e(O,
|
|
828
|
-
return
|
|
826
|
+
function _t() {
|
|
827
|
+
function e(O, E) {
|
|
828
|
+
return E.length - O.length;
|
|
829
829
|
}
|
|
830
830
|
var t = [], r = [], s = [], a = [], n, i, u, f, _;
|
|
831
831
|
for (n = 0; n < 7; n++)
|
|
832
|
-
i =
|
|
832
|
+
i = I([2e3, 1]).day(n), u = z(this.weekdaysMin(i, "")), f = z(this.weekdaysShort(i, "")), _ = z(this.weekdays(i, "")), t.push(u), r.push(f), s.push(_), a.push(u), a.push(f), a.push(_);
|
|
833
833
|
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(
|
|
834
834
|
"^(" + s.join("|") + ")",
|
|
835
835
|
"i"
|
|
@@ -841,28 +841,28 @@ function mt() {
|
|
|
841
841
|
"i"
|
|
842
842
|
);
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function yt() {
|
|
845
845
|
return this.hours() % 12 || 12;
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function Us() {
|
|
848
848
|
return this.hours() || 24;
|
|
849
849
|
}
|
|
850
850
|
h("H", ["HH", 2], 0, "hour");
|
|
851
|
-
h("h", ["hh", 2], 0,
|
|
852
|
-
h("k", ["kk", 2], 0,
|
|
851
|
+
h("h", ["hh", 2], 0, yt);
|
|
852
|
+
h("k", ["kk", 2], 0, Us);
|
|
853
853
|
h("hmm", 0, 0, function() {
|
|
854
|
-
return "" +
|
|
854
|
+
return "" + yt.apply(this) + U(this.minutes(), 2);
|
|
855
855
|
});
|
|
856
856
|
h("hmmss", 0, 0, function() {
|
|
857
|
-
return "" +
|
|
857
|
+
return "" + yt.apply(this) + U(this.minutes(), 2) + U(this.seconds(), 2);
|
|
858
858
|
});
|
|
859
859
|
h("Hmm", 0, 0, function() {
|
|
860
|
-
return "" + this.hours() +
|
|
860
|
+
return "" + this.hours() + U(this.minutes(), 2);
|
|
861
861
|
});
|
|
862
862
|
h("Hmmss", 0, 0, function() {
|
|
863
|
-
return "" + this.hours() +
|
|
863
|
+
return "" + this.hours() + U(this.minutes(), 2) + U(this.seconds(), 2);
|
|
864
864
|
});
|
|
865
|
-
function
|
|
865
|
+
function Kt(e, t) {
|
|
866
866
|
h(e, 0, 0, function() {
|
|
867
867
|
return this.localeData().meridiem(
|
|
868
868
|
this.hours(),
|
|
@@ -871,165 +871,165 @@ function Jt(e, t) {
|
|
|
871
871
|
);
|
|
872
872
|
});
|
|
873
873
|
}
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
function
|
|
874
|
+
Kt("a", !0);
|
|
875
|
+
Kt("A", !1);
|
|
876
|
+
function Xt(e, t) {
|
|
877
877
|
return t._meridiemParse;
|
|
878
878
|
}
|
|
879
|
-
d("a",
|
|
880
|
-
d("A",
|
|
881
|
-
d("H", k,
|
|
879
|
+
d("a", Xt);
|
|
880
|
+
d("A", Xt);
|
|
881
|
+
d("H", k, ft);
|
|
882
882
|
d("h", k, he);
|
|
883
883
|
d("k", k, he);
|
|
884
884
|
d("HH", k, T);
|
|
885
885
|
d("hh", k, T);
|
|
886
886
|
d("kk", k, T);
|
|
887
|
-
d("hmm",
|
|
888
|
-
d("hmmss",
|
|
889
|
-
d("Hmm",
|
|
890
|
-
d("Hmmss",
|
|
891
|
-
|
|
892
|
-
|
|
887
|
+
d("hmm", At);
|
|
888
|
+
d("hmmss", jt);
|
|
889
|
+
d("Hmm", At);
|
|
890
|
+
d("Hmmss", jt);
|
|
891
|
+
g(["H", "HH"], v);
|
|
892
|
+
g(["k", "kk"], function(e, t, r) {
|
|
893
893
|
var s = m(e);
|
|
894
894
|
t[v] = s === 24 ? 0 : s;
|
|
895
895
|
});
|
|
896
|
-
|
|
896
|
+
g(["a", "A"], function(e, t, r) {
|
|
897
897
|
r._isPm = r._locale.isPM(e), r._meridiem = e;
|
|
898
898
|
});
|
|
899
|
-
|
|
899
|
+
g(["h", "hh"], function(e, t, r) {
|
|
900
900
|
t[v] = m(e), c(r).bigHour = !0;
|
|
901
901
|
});
|
|
902
|
-
|
|
902
|
+
g("hmm", function(e, t, r) {
|
|
903
903
|
var s = e.length - 2;
|
|
904
|
-
t[v] = m(e.substr(0, s)), t[
|
|
904
|
+
t[v] = m(e.substr(0, s)), t[R] = m(e.substr(s)), c(r).bigHour = !0;
|
|
905
905
|
});
|
|
906
|
-
|
|
906
|
+
g("hmmss", function(e, t, r) {
|
|
907
907
|
var s = e.length - 4, a = e.length - 2;
|
|
908
|
-
t[v] = m(e.substr(0, s)), t[
|
|
908
|
+
t[v] = m(e.substr(0, s)), t[R] = m(e.substr(s, 2)), t[G] = m(e.substr(a)), c(r).bigHour = !0;
|
|
909
909
|
});
|
|
910
|
-
|
|
910
|
+
g("Hmm", function(e, t, r) {
|
|
911
911
|
var s = e.length - 2;
|
|
912
|
-
t[v] = m(e.substr(0, s)), t[
|
|
912
|
+
t[v] = m(e.substr(0, s)), t[R] = m(e.substr(s));
|
|
913
913
|
});
|
|
914
|
-
|
|
914
|
+
g("Hmmss", function(e, t, r) {
|
|
915
915
|
var s = e.length - 4, a = e.length - 2;
|
|
916
|
-
t[v] = m(e.substr(0, s)), t[
|
|
916
|
+
t[v] = m(e.substr(0, s)), t[R] = m(e.substr(s, 2)), t[G] = m(e.substr(a));
|
|
917
917
|
});
|
|
918
|
-
function
|
|
918
|
+
function Is(e) {
|
|
919
919
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
920
920
|
}
|
|
921
|
-
var
|
|
922
|
-
function
|
|
921
|
+
var Hs = /[ap]\.?m?\.?/i, Es = fe("Hours", !0);
|
|
922
|
+
function As(e, t, r) {
|
|
923
923
|
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
924
924
|
}
|
|
925
|
-
var
|
|
926
|
-
calendar:
|
|
927
|
-
longDateFormat:
|
|
928
|
-
invalidDate:
|
|
929
|
-
ordinal:
|
|
930
|
-
dayOfMonthOrdinalParse:
|
|
931
|
-
relativeTime:
|
|
932
|
-
months:
|
|
933
|
-
monthsShort:
|
|
934
|
-
week:
|
|
935
|
-
weekdays:
|
|
936
|
-
weekdaysMin:
|
|
937
|
-
weekdaysShort:
|
|
938
|
-
meridiemParse:
|
|
939
|
-
},
|
|
940
|
-
function
|
|
925
|
+
var er = {
|
|
926
|
+
calendar: xr,
|
|
927
|
+
longDateFormat: Nr,
|
|
928
|
+
invalidDate: Lr,
|
|
929
|
+
ordinal: Ur,
|
|
930
|
+
dayOfMonthOrdinalParse: Ir,
|
|
931
|
+
relativeTime: Er,
|
|
932
|
+
months: rs,
|
|
933
|
+
monthsShort: zt,
|
|
934
|
+
week: ms,
|
|
935
|
+
weekdays: ks,
|
|
936
|
+
weekdaysMin: Ds,
|
|
937
|
+
weekdaysShort: Qt,
|
|
938
|
+
meridiemParse: Hs
|
|
939
|
+
}, D = {}, ce = {}, ge;
|
|
940
|
+
function js(e, t) {
|
|
941
941
|
var r, s = Math.min(e.length, t.length);
|
|
942
942
|
for (r = 0; r < s; r += 1)
|
|
943
943
|
if (e[r] !== t[r])
|
|
944
944
|
return r;
|
|
945
945
|
return s;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function Pt(e) {
|
|
948
948
|
return e && e.toLowerCase().replace("_", "-");
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Vs(e) {
|
|
951
951
|
for (var t = 0, r, s, a, n; t < e.length; ) {
|
|
952
|
-
for (n =
|
|
953
|
-
if (a =
|
|
952
|
+
for (n = Pt(e[t]).split("-"), r = n.length, s = Pt(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
|
|
953
|
+
if (a = je(n.slice(0, r).join("-")), a)
|
|
954
954
|
return a;
|
|
955
|
-
if (s && s.length >= r &&
|
|
955
|
+
if (s && s.length >= r && js(n, s) >= r - 1)
|
|
956
956
|
break;
|
|
957
957
|
r--;
|
|
958
958
|
}
|
|
959
959
|
t++;
|
|
960
960
|
}
|
|
961
|
-
return
|
|
961
|
+
return ge;
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function Gs(e) {
|
|
964
964
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function je(e) {
|
|
967
967
|
var t = null, r;
|
|
968
|
-
if (
|
|
968
|
+
if (D[e] === void 0 && typeof module < "u" && module && module.exports && Gs(e))
|
|
969
969
|
try {
|
|
970
|
-
t =
|
|
970
|
+
t = ge._abbr, r = require, r("./locale/" + e), X(t);
|
|
971
971
|
} catch {
|
|
972
|
-
|
|
972
|
+
D[e] = null;
|
|
973
973
|
}
|
|
974
|
-
return
|
|
974
|
+
return D[e];
|
|
975
975
|
}
|
|
976
976
|
function X(e, t) {
|
|
977
977
|
var r;
|
|
978
|
-
return e && (b(t) ? r = Z(e) : r =
|
|
978
|
+
return e && (b(t) ? r = Z(e) : r = wt(e, t), r ? ge = r : typeof console < "u" && console.warn && console.warn(
|
|
979
979
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
980
|
-
)),
|
|
980
|
+
)), ge._abbr;
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function wt(e, t) {
|
|
983
983
|
if (t !== null) {
|
|
984
|
-
var r, s =
|
|
985
|
-
if (t.abbr = e,
|
|
986
|
-
|
|
984
|
+
var r, s = er;
|
|
985
|
+
if (t.abbr = e, D[e] != null)
|
|
986
|
+
Ut(
|
|
987
987
|
"defineLocaleOverride",
|
|
988
988
|
"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."
|
|
989
|
-
), s =
|
|
989
|
+
), s = D[e]._config;
|
|
990
990
|
else if (t.parentLocale != null)
|
|
991
|
-
if (
|
|
992
|
-
s =
|
|
993
|
-
else if (r =
|
|
991
|
+
if (D[t.parentLocale] != null)
|
|
992
|
+
s = D[t.parentLocale]._config;
|
|
993
|
+
else if (r = je(t.parentLocale), r != null)
|
|
994
994
|
s = r._config;
|
|
995
995
|
else
|
|
996
996
|
return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
|
|
997
997
|
name: e,
|
|
998
998
|
config: t
|
|
999
999
|
}), null;
|
|
1000
|
-
return
|
|
1001
|
-
|
|
1002
|
-
}), X(e),
|
|
1000
|
+
return D[e] = new ot(Ke(s, t)), ce[e] && ce[e].forEach(function(a) {
|
|
1001
|
+
wt(a.name, a.config);
|
|
1002
|
+
}), X(e), D[e];
|
|
1003
1003
|
} else
|
|
1004
|
-
return delete
|
|
1004
|
+
return delete D[e], null;
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function zs(e, t) {
|
|
1007
1007
|
if (t != null) {
|
|
1008
|
-
var r, s, a =
|
|
1009
|
-
|
|
1008
|
+
var r, s, a = er;
|
|
1009
|
+
D[e] != null && D[e].parentLocale != null ? D[e].set(Ke(D[e]._config, t)) : (s = je(e), s != null && (a = s._config), t = Ke(a, t), s == null && (t.abbr = e), r = new ot(t), r.parentLocale = D[e], D[e] = r), X(e);
|
|
1010
1010
|
} else
|
|
1011
|
-
|
|
1012
|
-
return
|
|
1011
|
+
D[e] != null && (D[e].parentLocale != null ? (D[e] = D[e].parentLocale, e === X() && X(e)) : D[e] != null && delete D[e]);
|
|
1012
|
+
return D[e];
|
|
1013
1013
|
}
|
|
1014
1014
|
function Z(e) {
|
|
1015
1015
|
var t;
|
|
1016
1016
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1017
|
-
return
|
|
1018
|
-
if (!
|
|
1019
|
-
if (t =
|
|
1017
|
+
return ge;
|
|
1018
|
+
if (!N(e)) {
|
|
1019
|
+
if (t = je(e), t)
|
|
1020
1020
|
return t;
|
|
1021
1021
|
e = [e];
|
|
1022
1022
|
}
|
|
1023
|
-
return
|
|
1023
|
+
return Vs(e);
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1026
|
-
return
|
|
1025
|
+
function $s() {
|
|
1026
|
+
return Xe(D);
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function Mt(e) {
|
|
1029
1029
|
var t, r = e._a;
|
|
1030
|
-
return r && c(e).overflow === -2 && (t = r[
|
|
1030
|
+
return r && c(e).overflow === -2 && (t = r[V] < 0 || r[V] > 11 ? V : r[C] < 1 || r[C] > ct(r[Y], r[V]) ? C : r[v] < 0 || r[v] > 24 || r[v] === 24 && (r[R] !== 0 || r[G] !== 0 || r[te] !== 0) ? v : r[R] < 0 || r[R] > 59 ? R : r[G] < 0 || r[G] > 59 ? G : r[te] < 0 || r[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > C) && (t = C), c(e)._overflowWeeks && t === -1 && (t = Jr), c(e)._overflowWeekday && t === -1 && (t = Qr), c(e).overflow = t), e;
|
|
1031
1031
|
}
|
|
1032
|
-
var
|
|
1032
|
+
var qs = /^\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)?)?$/, Zs = /^\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)?)?$/, Bs = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
|
|
1033
1033
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1034
1034
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1035
1035
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1053,7 +1053,7 @@ var zs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1053
1053
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1054
1054
|
["HHmm", /\d\d\d\d/],
|
|
1055
1055
|
["HH", /\d\d/]
|
|
1056
|
-
],
|
|
1056
|
+
], Js = /^\/?Date\((-?\d+)/i, Qs = /^(?:(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}))$/, Ks = {
|
|
1057
1057
|
UT: 0,
|
|
1058
1058
|
GMT: 0,
|
|
1059
1059
|
EDT: -4 * 60,
|
|
@@ -1065,8 +1065,8 @@ var zs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1065
1065
|
PDT: -7 * 60,
|
|
1066
1066
|
PST: -8 * 60
|
|
1067
1067
|
};
|
|
1068
|
-
function
|
|
1069
|
-
var t, r, s = e._i, a =
|
|
1068
|
+
function tr(e) {
|
|
1069
|
+
var t, r, s = e._i, a = qs.exec(s) || Zs.exec(s), n, i, u, f, _ = Ye.length, O = Ze.length;
|
|
1070
1070
|
if (a) {
|
|
1071
1071
|
for (c(e).iso = !0, t = 0, r = _; t < r; t++)
|
|
1072
1072
|
if (Ye[t][1].exec(a[1])) {
|
|
@@ -1093,36 +1093,36 @@ function Xt(e) {
|
|
|
1093
1093
|
return;
|
|
1094
1094
|
}
|
|
1095
1095
|
if (a[4])
|
|
1096
|
-
if (
|
|
1096
|
+
if (Bs.exec(a[4]))
|
|
1097
1097
|
f = "Z";
|
|
1098
1098
|
else {
|
|
1099
1099
|
e._isValid = !1;
|
|
1100
1100
|
return;
|
|
1101
1101
|
}
|
|
1102
|
-
e._f = i + (u || "") + (f || ""),
|
|
1102
|
+
e._f = i + (u || "") + (f || ""), pt(e);
|
|
1103
1103
|
} else
|
|
1104
1104
|
e._isValid = !1;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1106
|
+
function Xs(e, t, r, s, a, n) {
|
|
1107
1107
|
var i = [
|
|
1108
|
-
|
|
1109
|
-
|
|
1108
|
+
ea(e),
|
|
1109
|
+
zt.indexOf(t),
|
|
1110
1110
|
parseInt(r, 10),
|
|
1111
1111
|
parseInt(s, 10),
|
|
1112
1112
|
parseInt(a, 10)
|
|
1113
1113
|
];
|
|
1114
1114
|
return n && i.push(parseInt(n, 10)), i;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function ea(e) {
|
|
1117
1117
|
var t = parseInt(e, 10);
|
|
1118
1118
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function ta(e) {
|
|
1121
1121
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function ra(e, t, r) {
|
|
1124
1124
|
if (e) {
|
|
1125
|
-
var s =
|
|
1125
|
+
var s = Qt.indexOf(e), a = new Date(
|
|
1126
1126
|
t[0],
|
|
1127
1127
|
t[1],
|
|
1128
1128
|
t[2]
|
|
@@ -1132,41 +1132,41 @@ function ea(e, t, r) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
return !0;
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function sa(e, t, r) {
|
|
1136
1136
|
if (e)
|
|
1137
|
-
return
|
|
1137
|
+
return Ks[e];
|
|
1138
1138
|
if (t)
|
|
1139
1139
|
return 0;
|
|
1140
1140
|
var s = parseInt(r, 10), a = s % 100, n = (s - a) / 100;
|
|
1141
1141
|
return n * 60 + a;
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
var t =
|
|
1143
|
+
function rr(e) {
|
|
1144
|
+
var t = Qs.exec(ta(e._i)), r;
|
|
1145
1145
|
if (t) {
|
|
1146
|
-
if (r =
|
|
1146
|
+
if (r = Xs(
|
|
1147
1147
|
t[4],
|
|
1148
1148
|
t[3],
|
|
1149
1149
|
t[2],
|
|
1150
1150
|
t[5],
|
|
1151
1151
|
t[6],
|
|
1152
1152
|
t[7]
|
|
1153
|
-
), !
|
|
1153
|
+
), !ra(t[1], r, e))
|
|
1154
1154
|
return;
|
|
1155
|
-
e._a = r, e._tzm =
|
|
1155
|
+
e._a = r, e._tzm = sa(t[8], t[9], t[10]), e._d = we.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
|
|
1156
1156
|
} else
|
|
1157
1157
|
e._isValid = !1;
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var t =
|
|
1159
|
+
function aa(e) {
|
|
1160
|
+
var t = Js.exec(e._i);
|
|
1161
1161
|
if (t !== null) {
|
|
1162
1162
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1163
1163
|
return;
|
|
1164
1164
|
}
|
|
1165
|
-
if (
|
|
1165
|
+
if (tr(e), e._isValid === !1)
|
|
1166
1166
|
delete e._isValid;
|
|
1167
1167
|
else
|
|
1168
1168
|
return;
|
|
1169
|
-
if (
|
|
1169
|
+
if (rr(e), e._isValid === !1)
|
|
1170
1170
|
delete e._isValid;
|
|
1171
1171
|
else
|
|
1172
1172
|
return;
|
|
@@ -1181,7 +1181,7 @@ l.createFromInputFallback = P(
|
|
|
1181
1181
|
function ne(e, t, r) {
|
|
1182
1182
|
return e ?? t ?? r;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function na(e) {
|
|
1185
1185
|
var t = new Date(l.now());
|
|
1186
1186
|
return e._useUTC ? [
|
|
1187
1187
|
t.getUTCFullYear(),
|
|
@@ -1192,67 +1192,67 @@ function sa(e) {
|
|
|
1192
1192
|
function gt(e) {
|
|
1193
1193
|
var t, r, s = [], a, n, i;
|
|
1194
1194
|
if (!e._d) {
|
|
1195
|
-
for (a =
|
|
1195
|
+
for (a = na(e), e._w && e._a[C] == null && e._a[V] == null && ia(e), e._dayOfYear != null && (i = ne(e._a[Y], a[Y]), (e._dayOfYear > _e(i) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), r = we(i, 0, e._dayOfYear), e._a[V] = r.getUTCMonth(), e._a[C] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1196
1196
|
e._a[t] = s[t] = a[t];
|
|
1197
1197
|
for (; t < 7; t++)
|
|
1198
1198
|
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1199
|
-
e._a[v] === 24 && e._a[
|
|
1199
|
+
e._a[v] === 24 && e._a[R] === 0 && e._a[G] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[v] = 0), e._d = (e._useUTC ? we : fs).apply(
|
|
1200
1200
|
null,
|
|
1201
1201
|
s
|
|
1202
1202
|
), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[v] = 24), e._w && typeof e._w.d < "u" && e._w.d !== n && (c(e).weekdayMismatch = !0);
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function ia(e) {
|
|
1206
1206
|
var t, r, s, a, n, i, u, f, _;
|
|
1207
1207
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (n = 1, i = 4, r = ne(
|
|
1208
1208
|
t.GG,
|
|
1209
1209
|
e._a[Y],
|
|
1210
|
-
|
|
1211
|
-
), s = ne(t.W, 1), a = ne(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, _ =
|
|
1210
|
+
Me(p(), 1, 4).year
|
|
1211
|
+
), s = ne(t.W, 1), a = ne(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, _ = Me(p(), n, i), r = ne(t.gg, e._a[Y], _.year), s = ne(t.w, _.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (f = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (f = !0)) : a = n), s < 1 || s > $(r, n, i) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = Jt(r, s, a, n, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1212
1212
|
}
|
|
1213
1213
|
l.ISO_8601 = function() {
|
|
1214
1214
|
};
|
|
1215
1215
|
l.RFC_2822 = function() {
|
|
1216
1216
|
};
|
|
1217
|
-
function
|
|
1217
|
+
function pt(e) {
|
|
1218
1218
|
if (e._f === l.ISO_8601) {
|
|
1219
|
-
|
|
1219
|
+
tr(e);
|
|
1220
1220
|
return;
|
|
1221
1221
|
}
|
|
1222
1222
|
if (e._f === l.RFC_2822) {
|
|
1223
|
-
|
|
1223
|
+
rr(e);
|
|
1224
1224
|
return;
|
|
1225
1225
|
}
|
|
1226
1226
|
e._a = [], c(e).empty = !0;
|
|
1227
1227
|
var t = "" + e._i, r, s, a, n, i, u = t.length, f = 0, _, O;
|
|
1228
|
-
for (a =
|
|
1229
|
-
n = a[r], s = (t.match(
|
|
1228
|
+
for (a = It(e._f, e._locale).match(lt) || [], O = a.length, r = 0; r < O; r++)
|
|
1229
|
+
n = a[r], s = (t.match(qr(n, e)) || [])[0], s && (i = t.substr(0, t.indexOf(s)), i.length > 0 && c(e).unusedInput.push(i), t = t.slice(
|
|
1230
1230
|
t.indexOf(s) + s.length
|
|
1231
|
-
), f += s.length), oe[n] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(n),
|
|
1232
|
-
c(e).charsLeftOver = u - f, t.length > 0 && c(e).unusedInput.push(t), e._a[v] <= 12 && c(e).bigHour === !0 && e._a[v] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[v] =
|
|
1231
|
+
), f += s.length), oe[n] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(n), Br(n, s, e)) : e._strict && !s && c(e).unusedTokens.push(n);
|
|
1232
|
+
c(e).charsLeftOver = u - f, t.length > 0 && c(e).unusedInput.push(t), e._a[v] <= 12 && c(e).bigHour === !0 && e._a[v] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[v] = oa(
|
|
1233
1233
|
e._locale,
|
|
1234
1234
|
e._a[v],
|
|
1235
1235
|
e._meridiem
|
|
1236
|
-
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), gt(e),
|
|
1236
|
+
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), gt(e), Mt(e);
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function oa(e, t, r) {
|
|
1239
1239
|
var s;
|
|
1240
1240
|
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);
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function la(e) {
|
|
1243
1243
|
var t, r, s, a, n, i, u = !1, f = e._f.length;
|
|
1244
1244
|
if (f === 0) {
|
|
1245
1245
|
c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1246
1246
|
return;
|
|
1247
1247
|
}
|
|
1248
1248
|
for (a = 0; a < f; a++)
|
|
1249
|
-
n = 0, i = !1, t =
|
|
1249
|
+
n = 0, i = !1, t = it({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], pt(t), nt(t) && (i = !0), n += c(t).charsLeftOver, n += c(t).unusedTokens.length * 10, c(t).score = n, u ? n < s && (s = n, r = t) : (s == null || n < s || i) && (s = n, r = t, i && (u = !0));
|
|
1250
1250
|
Q(e, r || t);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function ua(e) {
|
|
1253
1253
|
if (!e._d) {
|
|
1254
|
-
var t =
|
|
1255
|
-
e._a =
|
|
1254
|
+
var t = ut(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
1255
|
+
e._a = Lt(
|
|
1256
1256
|
[t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
|
|
1257
1257
|
function(s) {
|
|
1258
1258
|
return s && parseInt(s, 10);
|
|
@@ -1260,57 +1260,57 @@ function oa(e) {
|
|
|
1260
1260
|
), gt(e);
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1264
|
-
var t = new ke(
|
|
1263
|
+
function da(e) {
|
|
1264
|
+
var t = new ke(Mt(sr(e)));
|
|
1265
1265
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function sr(e) {
|
|
1268
1268
|
var t = e._i, r = e._f;
|
|
1269
|
-
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ?
|
|
1269
|
+
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Le({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ke(Mt(t)) : (pe(t) ? e._d = t : N(r) ? la(e) : r ? pt(e) : ha(e), nt(e) || (e._d = null), e));
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function ha(e) {
|
|
1272
1272
|
var t = e._i;
|
|
1273
|
-
b(t) ? e._d = new Date(l.now()) : pe(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ?
|
|
1273
|
+
b(t) ? e._d = new Date(l.now()) : pe(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? aa(e) : N(t) ? (e._a = Lt(t.slice(0), function(r) {
|
|
1274
1274
|
return parseInt(r, 10);
|
|
1275
|
-
}), gt(e)) : re(t) ?
|
|
1275
|
+
}), gt(e)) : re(t) ? ua(e) : q(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function ar(e, t, r, s, a) {
|
|
1278
1278
|
var n = {};
|
|
1279
|
-
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) &&
|
|
1279
|
+
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) && at(e) || N(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = r, n._i = e, n._f = t, n._strict = s, da(n);
|
|
1280
1280
|
}
|
|
1281
1281
|
function p(e, t, r, s) {
|
|
1282
|
-
return
|
|
1282
|
+
return ar(e, t, r, s, !1);
|
|
1283
1283
|
}
|
|
1284
|
-
var
|
|
1284
|
+
var fa = P(
|
|
1285
1285
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1286
1286
|
function() {
|
|
1287
1287
|
var e = p.apply(null, arguments);
|
|
1288
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1288
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Le();
|
|
1289
1289
|
}
|
|
1290
|
-
),
|
|
1290
|
+
), ca = P(
|
|
1291
1291
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1292
1292
|
function() {
|
|
1293
1293
|
var e = p.apply(null, arguments);
|
|
1294
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1294
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Le();
|
|
1295
1295
|
}
|
|
1296
1296
|
);
|
|
1297
|
-
function
|
|
1297
|
+
function nr(e, t) {
|
|
1298
1298
|
var r, s;
|
|
1299
|
-
if (t.length === 1 &&
|
|
1299
|
+
if (t.length === 1 && N(t[0]) && (t = t[0]), !t.length)
|
|
1300
1300
|
return p();
|
|
1301
1301
|
for (r = t[0], s = 1; s < t.length; ++s)
|
|
1302
1302
|
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1303
1303
|
return r;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function ma() {
|
|
1306
1306
|
var e = [].slice.call(arguments, 0);
|
|
1307
|
-
return
|
|
1307
|
+
return nr("isBefore", e);
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function _a() {
|
|
1310
1310
|
var e = [].slice.call(arguments, 0);
|
|
1311
|
-
return
|
|
1311
|
+
return nr("isAfter", e);
|
|
1312
1312
|
}
|
|
1313
|
-
var
|
|
1313
|
+
var ya = function() {
|
|
1314
1314
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1315
1315
|
}, me = [
|
|
1316
1316
|
"year",
|
|
@@ -1323,10 +1323,10 @@ var ma = function() {
|
|
|
1323
1323
|
"second",
|
|
1324
1324
|
"millisecond"
|
|
1325
1325
|
];
|
|
1326
|
-
function
|
|
1326
|
+
function wa(e) {
|
|
1327
1327
|
var t, r = !1, s, a = me.length;
|
|
1328
1328
|
for (t in e)
|
|
1329
|
-
if (w(e, t) && !(
|
|
1329
|
+
if (w(e, t) && !(S.call(me, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1330
1330
|
return !1;
|
|
1331
1331
|
for (s = 0; s < a; ++s)
|
|
1332
1332
|
if (e[me[s]]) {
|
|
@@ -1336,131 +1336,131 @@ function _a(e) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
return !0;
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function Ma() {
|
|
1340
1340
|
return this._isValid;
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1343
|
-
return
|
|
1342
|
+
function ga() {
|
|
1343
|
+
return L(NaN);
|
|
1344
1344
|
}
|
|
1345
|
-
function
|
|
1346
|
-
var t =
|
|
1347
|
-
this._isValid =
|
|
1345
|
+
function Ve(e) {
|
|
1346
|
+
var t = ut(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, n = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, f = t.minute || 0, _ = t.second || 0, O = t.millisecond || 0;
|
|
1347
|
+
this._isValid = wa(t), this._milliseconds = +O + _ * 1e3 + // 1000
|
|
1348
1348
|
f * 6e4 + // 1000 * 60
|
|
1349
1349
|
u * 1e3 * 60 * 60, this._days = +i + n * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = Z(), this._bubble();
|
|
1350
1350
|
}
|
|
1351
1351
|
function Te(e) {
|
|
1352
|
-
return e instanceof
|
|
1352
|
+
return e instanceof Ve;
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1354
|
+
function tt(e) {
|
|
1355
1355
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function pa(e, t, r) {
|
|
1358
1358
|
var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), n = 0, i;
|
|
1359
1359
|
for (i = 0; i < s; i++)
|
|
1360
1360
|
(r && e[i] !== t[i] || !r && m(e[i]) !== m(t[i])) && n++;
|
|
1361
1361
|
return n + a;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function ir(e, t) {
|
|
1364
1364
|
h(e, 0, 0, function() {
|
|
1365
1365
|
var r = this.utcOffset(), s = "+";
|
|
1366
|
-
return r < 0 && (r = -r, s = "-"), s +
|
|
1366
|
+
return r < 0 && (r = -r, s = "-"), s + U(~~(r / 60), 2) + t + U(~~r % 60, 2);
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
d("Z",
|
|
1372
|
-
d("ZZ",
|
|
1373
|
-
|
|
1374
|
-
r._useUTC = !0, r._tzm =
|
|
1369
|
+
ir("Z", ":");
|
|
1370
|
+
ir("ZZ", "");
|
|
1371
|
+
d("Z", Ee);
|
|
1372
|
+
d("ZZ", Ee);
|
|
1373
|
+
g(["Z", "ZZ"], function(e, t, r) {
|
|
1374
|
+
r._useUTC = !0, r._tzm = kt(Ee, e);
|
|
1375
1375
|
});
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1376
|
+
var ka = /([\+\-]|\d\d)/gi;
|
|
1377
|
+
function kt(e, t) {
|
|
1378
1378
|
var r = (t || "").match(e), s, a, n;
|
|
1379
|
-
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(
|
|
1379
|
+
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(ka) || ["-", 0, 0], n = +(a[1] * 60) + m(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function Dt(e, t) {
|
|
1382
1382
|
var r, s;
|
|
1383
1383
|
return t._isUTC ? (r = t.clone(), s = (F(e) || pe(e) ? e.valueOf() : p(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), l.updateOffset(r, !1), r) : p(e).local();
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function rt(e) {
|
|
1386
1386
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1387
1387
|
}
|
|
1388
1388
|
l.updateOffset = function() {
|
|
1389
1389
|
};
|
|
1390
|
-
function
|
|
1390
|
+
function Da(e, t, r) {
|
|
1391
1391
|
var s = this._offset || 0, a;
|
|
1392
1392
|
if (!this.isValid())
|
|
1393
1393
|
return e != null ? this : NaN;
|
|
1394
1394
|
if (e != null) {
|
|
1395
1395
|
if (typeof e == "string") {
|
|
1396
|
-
if (e =
|
|
1396
|
+
if (e = kt(Ee, e), e === null)
|
|
1397
1397
|
return this;
|
|
1398
1398
|
} else
|
|
1399
1399
|
Math.abs(e) < 16 && !r && (e = e * 60);
|
|
1400
|
-
return !this._isUTC && t && (a =
|
|
1400
|
+
return !this._isUTC && t && (a = rt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!t || this._changeInProgress ? ur(
|
|
1401
1401
|
this,
|
|
1402
|
-
|
|
1402
|
+
L(e - s, "m"),
|
|
1403
1403
|
1,
|
|
1404
1404
|
!1
|
|
1405
1405
|
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1406
1406
|
} else
|
|
1407
|
-
return this._isUTC ? s :
|
|
1407
|
+
return this._isUTC ? s : rt(this);
|
|
1408
1408
|
}
|
|
1409
|
-
function
|
|
1409
|
+
function Sa(e, t) {
|
|
1410
1410
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function va(e) {
|
|
1413
1413
|
return this.utcOffset(0, e);
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1416
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1415
|
+
function Ya(e) {
|
|
1416
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(rt(this), "m")), this;
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function Oa() {
|
|
1419
1419
|
if (this._tzm != null)
|
|
1420
1420
|
this.utcOffset(this._tzm, !1, !0);
|
|
1421
1421
|
else if (typeof this._i == "string") {
|
|
1422
|
-
var e =
|
|
1422
|
+
var e = kt(zr, this._i);
|
|
1423
1423
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1424
1424
|
}
|
|
1425
1425
|
return this;
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1427
|
+
function ba(e) {
|
|
1428
1428
|
return this.isValid() ? (e = e ? p(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function Ta() {
|
|
1431
1431
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function xa() {
|
|
1434
1434
|
if (!b(this._isDSTShifted))
|
|
1435
1435
|
return this._isDSTShifted;
|
|
1436
1436
|
var e = {}, t;
|
|
1437
|
-
return
|
|
1437
|
+
return it(e, this), e = sr(e), e._a ? (t = e._isUTC ? I(e._a) : p(e._a), this._isDSTShifted = this.isValid() && pa(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function Pa() {
|
|
1440
1440
|
return this.isValid() ? !this._isUTC : !1;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function Wa() {
|
|
1443
1443
|
return this.isValid() ? this._isUTC : !1;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function or() {
|
|
1446
1446
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1447
1447
|
}
|
|
1448
|
-
var
|
|
1449
|
-
function
|
|
1448
|
+
var Ra = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Na = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1449
|
+
function L(e, t) {
|
|
1450
1450
|
var r = e, s = null, a, n, i;
|
|
1451
1451
|
return Te(e) ? r = {
|
|
1452
1452
|
ms: e._milliseconds,
|
|
1453
1453
|
d: e._days,
|
|
1454
1454
|
M: e._months
|
|
1455
|
-
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s =
|
|
1455
|
+
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Ra.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1456
1456
|
y: 0,
|
|
1457
|
-
d: m(s[
|
|
1457
|
+
d: m(s[C]) * a,
|
|
1458
1458
|
h: m(s[v]) * a,
|
|
1459
|
-
m: m(s[
|
|
1460
|
-
s: m(s[
|
|
1461
|
-
ms: m(
|
|
1459
|
+
m: m(s[R]) * a,
|
|
1460
|
+
s: m(s[G]) * a,
|
|
1461
|
+
ms: m(tt(s[te] * 1e3)) * a
|
|
1462
1462
|
// the millisecond decimal point is included in the match
|
|
1463
|
-
}) : (s =
|
|
1463
|
+
}) : (s = Na.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1464
1464
|
y: ee(s[2], a),
|
|
1465
1465
|
M: ee(s[3], a),
|
|
1466
1466
|
w: ee(s[4], a),
|
|
@@ -1468,47 +1468,47 @@ function C(e, t) {
|
|
|
1468
1468
|
h: ee(s[6], a),
|
|
1469
1469
|
m: ee(s[7], a),
|
|
1470
1470
|
s: ee(s[8], a)
|
|
1471
|
-
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i =
|
|
1471
|
+
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i = Fa(
|
|
1472
1472
|
p(r.from),
|
|
1473
1473
|
p(r.to)
|
|
1474
|
-
), r = {}, r.ms = i.milliseconds, r.M = i.months), n = new
|
|
1474
|
+
), r = {}, r.ms = i.milliseconds, r.M = i.months), n = new Ve(r), Te(e) && w(e, "_locale") && (n._locale = e._locale), Te(e) && w(e, "_isValid") && (n._isValid = e._isValid), n;
|
|
1475
1475
|
}
|
|
1476
|
-
|
|
1477
|
-
|
|
1476
|
+
L.fn = Ve.prototype;
|
|
1477
|
+
L.invalid = ga;
|
|
1478
1478
|
function ee(e, t) {
|
|
1479
1479
|
var r = e && parseFloat(e.replace(",", "."));
|
|
1480
1480
|
return (isNaN(r) ? 0 : r) * t;
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function Wt(e, t) {
|
|
1483
1483
|
var r = {};
|
|
1484
1484
|
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;
|
|
1485
1485
|
}
|
|
1486
|
-
function
|
|
1486
|
+
function Fa(e, t) {
|
|
1487
1487
|
var r;
|
|
1488
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1488
|
+
return e.isValid() && t.isValid() ? (t = Dt(t, e), e.isBefore(t) ? r = Wt(e, t) : (r = Wt(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function lr(e, t) {
|
|
1491
1491
|
return function(r, s) {
|
|
1492
1492
|
var a, n;
|
|
1493
|
-
return s !== null && !isNaN(+s) && (
|
|
1493
|
+
return s !== null && !isNaN(+s) && (Ut(
|
|
1494
1494
|
t,
|
|
1495
1495
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1496
|
-
), n = r, r = s, s = n), a =
|
|
1496
|
+
), n = r, r = s, s = n), a = L(r, s), ur(this, a, e), this;
|
|
1497
1497
|
};
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1500
|
-
var a = t._milliseconds, n =
|
|
1501
|
-
e.isValid() && (s = s ?? !0, i &&
|
|
1499
|
+
function ur(e, t, r, s) {
|
|
1500
|
+
var a = t._milliseconds, n = tt(t._days), i = tt(t._months);
|
|
1501
|
+
e.isValid() && (s = s ?? !0, i && qt(e, ye(e, "Month") + i * r), n && Gt(e, "Date", ye(e, "Date") + n * r), a && e._d.setTime(e._d.valueOf() + a * r), s && l.updateOffset(e, n || i));
|
|
1502
1502
|
}
|
|
1503
|
-
var
|
|
1504
|
-
function
|
|
1503
|
+
var La = lr(1, "add"), Ca = lr(-1, "subtract");
|
|
1504
|
+
function dr(e) {
|
|
1505
1505
|
return typeof e == "string" || e instanceof String;
|
|
1506
1506
|
}
|
|
1507
|
-
function Ca(e) {
|
|
1508
|
-
return F(e) || pe(e) || lr(e) || q(e) || Ia(e) || Ua(e) || e === null || e === void 0;
|
|
1509
|
-
}
|
|
1510
1507
|
function Ua(e) {
|
|
1511
|
-
|
|
1508
|
+
return F(e) || pe(e) || dr(e) || q(e) || Ha(e) || Ia(e) || e === null || e === void 0;
|
|
1509
|
+
}
|
|
1510
|
+
function Ia(e) {
|
|
1511
|
+
var t = re(e) && !at(e), r = !1, s = [
|
|
1512
1512
|
"years",
|
|
1513
1513
|
"year",
|
|
1514
1514
|
"y",
|
|
@@ -1538,14 +1538,14 @@ function Ua(e) {
|
|
|
1538
1538
|
n = s[a], r = r || w(e, n);
|
|
1539
1539
|
return t && r;
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1542
|
-
var t =
|
|
1541
|
+
function Ha(e) {
|
|
1542
|
+
var t = N(e), r = !1;
|
|
1543
1543
|
return t && (r = e.filter(function(s) {
|
|
1544
|
-
return !q(s) &&
|
|
1544
|
+
return !q(s) && dr(e);
|
|
1545
1545
|
}).length === 0), t && r;
|
|
1546
1546
|
}
|
|
1547
|
-
function
|
|
1548
|
-
var t = re(e) && !
|
|
1547
|
+
function Ea(e) {
|
|
1548
|
+
var t = re(e) && !at(e), r = !1, s = [
|
|
1549
1549
|
"sameDay",
|
|
1550
1550
|
"nextDay",
|
|
1551
1551
|
"lastDay",
|
|
@@ -1557,47 +1557,47 @@ function La(e) {
|
|
|
1557
1557
|
n = s[a], r = r || w(e, n);
|
|
1558
1558
|
return t && r;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function Aa(e, t) {
|
|
1561
1561
|
var r = e.diff(t, "days", !0);
|
|
1562
1562
|
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1563
1563
|
}
|
|
1564
|
-
function
|
|
1565
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1566
|
-
var r = e || p(), s =
|
|
1564
|
+
function ja(e, t) {
|
|
1565
|
+
arguments.length === 1 && (arguments[0] ? Ua(arguments[0]) ? (e = arguments[0], t = void 0) : Ea(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1566
|
+
var r = e || p(), s = Dt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", n = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
|
|
1567
1567
|
return this.format(
|
|
1568
1568
|
n || this.localeData().calendar(a, this, p(r))
|
|
1569
1569
|
);
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1571
|
+
function Va() {
|
|
1572
1572
|
return new ke(this);
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1574
|
+
function Ga(e, t) {
|
|
1575
1575
|
var r = F(e) ? e : p(e);
|
|
1576
1576
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function za(e, t) {
|
|
1579
1579
|
var r = F(e) ? e : p(e);
|
|
1580
1580
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function $a(e, t, r, s) {
|
|
1583
1583
|
var a = F(e) ? e : p(e), n = F(t) ? t : p(t);
|
|
1584
1584
|
return this.isValid() && a.isValid() && n.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (s[1] === ")" ? this.isBefore(n, r) : !this.isAfter(n, r))) : !1;
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function qa(e, t) {
|
|
1587
1587
|
var r = F(e) ? e : p(e), s;
|
|
1588
1588
|
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;
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function Za(e, t) {
|
|
1591
1591
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function Ba(e, t) {
|
|
1594
1594
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function Ja(e, t, r) {
|
|
1597
1597
|
var s, a, n;
|
|
1598
1598
|
if (!this.isValid())
|
|
1599
1599
|
return NaN;
|
|
1600
|
-
if (s =
|
|
1600
|
+
if (s = Dt(e, this), !s.isValid())
|
|
1601
1601
|
return NaN;
|
|
1602
1602
|
switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, t = W(t), t) {
|
|
1603
1603
|
case "year":
|
|
@@ -1637,72 +1637,72 @@ function xe(e, t) {
|
|
|
1637
1637
|
}
|
|
1638
1638
|
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1639
1639
|
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1640
|
-
function
|
|
1640
|
+
function Qa() {
|
|
1641
1641
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Ka(e) {
|
|
1644
1644
|
if (!this.isValid())
|
|
1645
1645
|
return null;
|
|
1646
1646
|
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
1647
1647
|
return r.year() < 0 || r.year() > 9999 ? be(
|
|
1648
1648
|
r,
|
|
1649
1649
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1650
|
-
) :
|
|
1650
|
+
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", be(r, "Z")) : be(
|
|
1651
1651
|
r,
|
|
1652
1652
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1653
1653
|
);
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1655
|
+
function Xa() {
|
|
1656
1656
|
if (!this.isValid())
|
|
1657
1657
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1658
1658
|
var e = "moment", t = "", r, s, a, n;
|
|
1659
1659
|
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", n = t + '[")]', this.format(r + s + a + n);
|
|
1660
1660
|
}
|
|
1661
|
-
function
|
|
1661
|
+
function en(e) {
|
|
1662
1662
|
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1663
1663
|
var t = be(this, e);
|
|
1664
1664
|
return this.localeData().postformat(t);
|
|
1665
1665
|
}
|
|
1666
|
-
function
|
|
1667
|
-
return this.isValid() && (F(e) && e.isValid() || p(e).isValid()) ?
|
|
1666
|
+
function tn(e, t) {
|
|
1667
|
+
return this.isValid() && (F(e) && e.isValid() || p(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1669
|
+
function rn(e) {
|
|
1670
1670
|
return this.from(p(), e);
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1673
|
-
return this.isValid() && (F(e) && e.isValid() || p(e).isValid()) ?
|
|
1672
|
+
function sn(e, t) {
|
|
1673
|
+
return this.isValid() && (F(e) && e.isValid() || p(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1674
1674
|
}
|
|
1675
|
-
function
|
|
1675
|
+
function an(e) {
|
|
1676
1676
|
return this.to(p(), e);
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function hr(e) {
|
|
1679
1679
|
var t;
|
|
1680
1680
|
return e === void 0 ? this._locale._abbr : (t = Z(e), t != null && (this._locale = t), this);
|
|
1681
1681
|
}
|
|
1682
|
-
var
|
|
1682
|
+
var fr = P(
|
|
1683
1683
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1684
1684
|
function(e) {
|
|
1685
1685
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1686
1686
|
}
|
|
1687
1687
|
);
|
|
1688
|
-
function
|
|
1688
|
+
function cr() {
|
|
1689
1689
|
return this._locale;
|
|
1690
1690
|
}
|
|
1691
|
-
var
|
|
1691
|
+
var Re = 1e3, le = 60 * Re, Ne = 60 * le, mr = (365 * 400 + 97) * 24 * Ne;
|
|
1692
1692
|
function ue(e, t) {
|
|
1693
1693
|
return (e % t + t) % t;
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1696
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) -
|
|
1695
|
+
function _r(e, t, r) {
|
|
1696
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - mr : new Date(e, t, r).valueOf();
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1699
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) -
|
|
1698
|
+
function yr(e, t, r) {
|
|
1699
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - mr : Date.UTC(e, t, r);
|
|
1700
1700
|
}
|
|
1701
|
-
function
|
|
1701
|
+
function nn(e) {
|
|
1702
1702
|
var t, r;
|
|
1703
1703
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1704
1704
|
return this;
|
|
1705
|
-
switch (r = this._isUTC ?
|
|
1705
|
+
switch (r = this._isUTC ? yr : _r, e) {
|
|
1706
1706
|
case "year":
|
|
1707
1707
|
t = r(this.year(), 0, 1);
|
|
1708
1708
|
break;
|
|
@@ -1737,23 +1737,23 @@ function sn(e) {
|
|
|
1737
1737
|
case "hour":
|
|
1738
1738
|
t = this._d.valueOf(), t -= ue(
|
|
1739
1739
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1740
|
-
|
|
1740
|
+
Ne
|
|
1741
1741
|
);
|
|
1742
1742
|
break;
|
|
1743
1743
|
case "minute":
|
|
1744
1744
|
t = this._d.valueOf(), t -= ue(t, le);
|
|
1745
1745
|
break;
|
|
1746
1746
|
case "second":
|
|
1747
|
-
t = this._d.valueOf(), t -= ue(t,
|
|
1747
|
+
t = this._d.valueOf(), t -= ue(t, Re);
|
|
1748
1748
|
break;
|
|
1749
1749
|
}
|
|
1750
1750
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1751
1751
|
}
|
|
1752
|
-
function
|
|
1752
|
+
function on(e) {
|
|
1753
1753
|
var t, r;
|
|
1754
1754
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1755
1755
|
return this;
|
|
1756
|
-
switch (r = this._isUTC ?
|
|
1756
|
+
switch (r = this._isUTC ? yr : _r, e) {
|
|
1757
1757
|
case "year":
|
|
1758
1758
|
t = r(this.year() + 1, 0, 1) - 1;
|
|
1759
1759
|
break;
|
|
@@ -1786,30 +1786,30 @@ function an(e) {
|
|
|
1786
1786
|
t = r(this.year(), this.month(), this.date() + 1) - 1;
|
|
1787
1787
|
break;
|
|
1788
1788
|
case "hour":
|
|
1789
|
-
t = this._d.valueOf(), t +=
|
|
1789
|
+
t = this._d.valueOf(), t += Ne - ue(
|
|
1790
1790
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1791
|
-
|
|
1791
|
+
Ne
|
|
1792
1792
|
) - 1;
|
|
1793
1793
|
break;
|
|
1794
1794
|
case "minute":
|
|
1795
1795
|
t = this._d.valueOf(), t += le - ue(t, le) - 1;
|
|
1796
1796
|
break;
|
|
1797
1797
|
case "second":
|
|
1798
|
-
t = this._d.valueOf(), t +=
|
|
1798
|
+
t = this._d.valueOf(), t += Re - ue(t, Re) - 1;
|
|
1799
1799
|
break;
|
|
1800
1800
|
}
|
|
1801
1801
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function ln() {
|
|
1804
1804
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function un() {
|
|
1807
1807
|
return Math.floor(this.valueOf() / 1e3);
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function dn() {
|
|
1810
1810
|
return new Date(this.valueOf());
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function hn() {
|
|
1813
1813
|
var e = this;
|
|
1814
1814
|
return [
|
|
1815
1815
|
e.year(),
|
|
@@ -1821,7 +1821,7 @@ function un() {
|
|
|
1821
1821
|
e.millisecond()
|
|
1822
1822
|
];
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1824
|
+
function fn() {
|
|
1825
1825
|
var e = this;
|
|
1826
1826
|
return {
|
|
1827
1827
|
years: e.year(),
|
|
@@ -1833,19 +1833,19 @@ function dn() {
|
|
|
1833
1833
|
milliseconds: e.milliseconds()
|
|
1834
1834
|
};
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1836
|
+
function cn() {
|
|
1837
1837
|
return this.isValid() ? this.toISOString() : null;
|
|
1838
1838
|
}
|
|
1839
|
-
function
|
|
1840
|
-
return
|
|
1839
|
+
function mn() {
|
|
1840
|
+
return nt(this);
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function _n() {
|
|
1843
1843
|
return Q({}, c(this));
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function yn() {
|
|
1846
1846
|
return c(this).overflow;
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function wn() {
|
|
1849
1849
|
return {
|
|
1850
1850
|
input: this._i,
|
|
1851
1851
|
format: this._f,
|
|
@@ -1866,9 +1866,9 @@ h("y", ["yyyy", 4], 0, "eraYear");
|
|
|
1866
1866
|
d("N", St);
|
|
1867
1867
|
d("NN", St);
|
|
1868
1868
|
d("NNN", St);
|
|
1869
|
-
d("NNNN",
|
|
1870
|
-
d("NNNNN",
|
|
1871
|
-
|
|
1869
|
+
d("NNNN", Tn);
|
|
1870
|
+
d("NNNNN", xn);
|
|
1871
|
+
g(
|
|
1872
1872
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
1873
1873
|
function(e, t, r, s) {
|
|
1874
1874
|
var a = r._locale.erasParse(e, s, r._strict);
|
|
@@ -1879,13 +1879,13 @@ d("y", de);
|
|
|
1879
1879
|
d("yy", de);
|
|
1880
1880
|
d("yyy", de);
|
|
1881
1881
|
d("yyyy", de);
|
|
1882
|
-
d("yo",
|
|
1883
|
-
|
|
1884
|
-
|
|
1882
|
+
d("yo", Pn);
|
|
1883
|
+
g(["y", "yy", "yyy", "yyyy"], Y);
|
|
1884
|
+
g(["yo"], function(e, t, r, s) {
|
|
1885
1885
|
var a;
|
|
1886
1886
|
r._locale._eraYearOrdinalRegex && (a = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Y] = r._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
|
1887
1887
|
});
|
|
1888
|
-
function
|
|
1888
|
+
function Mn(e, t) {
|
|
1889
1889
|
var r, s, a, n = this._eras || Z("en")._eras;
|
|
1890
1890
|
for (r = 0, s = n.length; r < s; ++r) {
|
|
1891
1891
|
switch (typeof n[r].since) {
|
|
@@ -1904,7 +1904,7 @@ function yn(e, t) {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
return n;
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1907
|
+
function gn(e, t, r) {
|
|
1908
1908
|
var s, a, n = this.eras(), i, u, f;
|
|
1909
1909
|
for (e = e.toUpperCase(), s = 0, a = n.length; s < a; ++s)
|
|
1910
1910
|
if (i = n[s].name.toUpperCase(), u = n[s].abbr.toUpperCase(), f = n[s].narrow.toUpperCase(), r)
|
|
@@ -1927,60 +1927,60 @@ function wn(e, t, r) {
|
|
|
1927
1927
|
else if ([i, u, f].indexOf(e) >= 0)
|
|
1928
1928
|
return n[s];
|
|
1929
1929
|
}
|
|
1930
|
-
function
|
|
1930
|
+
function pn(e, t) {
|
|
1931
1931
|
var r = e.since <= e.until ? 1 : -1;
|
|
1932
1932
|
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * r;
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1934
|
+
function kn() {
|
|
1935
1935
|
var e, t, r, s = this.localeData().eras();
|
|
1936
1936
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1937
1937
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1938
1938
|
return s[e].name;
|
|
1939
1939
|
return "";
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function Dn() {
|
|
1942
1942
|
var e, t, r, s = this.localeData().eras();
|
|
1943
1943
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1944
1944
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1945
1945
|
return s[e].narrow;
|
|
1946
1946
|
return "";
|
|
1947
1947
|
}
|
|
1948
|
-
function
|
|
1948
|
+
function Sn() {
|
|
1949
1949
|
var e, t, r, s = this.localeData().eras();
|
|
1950
1950
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1951
1951
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1952
1952
|
return s[e].abbr;
|
|
1953
1953
|
return "";
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1955
|
+
function vn() {
|
|
1956
1956
|
var e, t, r, s, a = this.localeData().eras();
|
|
1957
1957
|
for (e = 0, t = a.length; e < t; ++e)
|
|
1958
1958
|
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)
|
|
1959
1959
|
return (this.year() - l(a[e].since).year()) * r + a[e].offset;
|
|
1960
1960
|
return this.year();
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1963
|
-
return w(this, "_erasNameRegex") ||
|
|
1962
|
+
function Yn(e) {
|
|
1963
|
+
return w(this, "_erasNameRegex") || vt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
1964
1964
|
}
|
|
1965
|
-
function
|
|
1966
|
-
return w(this, "_erasAbbrRegex") ||
|
|
1965
|
+
function On(e) {
|
|
1966
|
+
return w(this, "_erasAbbrRegex") || vt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
1967
1967
|
}
|
|
1968
|
-
function
|
|
1969
|
-
return w(this, "_erasNarrowRegex") ||
|
|
1968
|
+
function bn(e) {
|
|
1969
|
+
return w(this, "_erasNarrowRegex") || vt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
1970
1970
|
}
|
|
1971
1971
|
function St(e, t) {
|
|
1972
1972
|
return t.erasAbbrRegex(e);
|
|
1973
1973
|
}
|
|
1974
|
-
function
|
|
1974
|
+
function Tn(e, t) {
|
|
1975
1975
|
return t.erasNameRegex(e);
|
|
1976
1976
|
}
|
|
1977
|
-
function
|
|
1977
|
+
function xn(e, t) {
|
|
1978
1978
|
return t.erasNarrowRegex(e);
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1980
|
+
function Pn(e, t) {
|
|
1981
1981
|
return t._eraYearOrdinalRegex || de;
|
|
1982
1982
|
}
|
|
1983
|
-
function
|
|
1983
|
+
function vt() {
|
|
1984
1984
|
var e = [], t = [], r = [], s = [], a, n, i, u, f, _ = this.eras();
|
|
1985
1985
|
for (a = 0, n = _.length; a < n; ++a)
|
|
1986
1986
|
i = z(_[a].name), u = z(_[a].abbr), f = z(_[a].narrow), t.push(i), e.push(u), r.push(f), s.push(i), s.push(u), s.push(f);
|
|
@@ -1995,32 +1995,32 @@ h(0, ["gg", 2], 0, function() {
|
|
|
1995
1995
|
h(0, ["GG", 2], 0, function() {
|
|
1996
1996
|
return this.isoWeekYear() % 100;
|
|
1997
1997
|
});
|
|
1998
|
-
function
|
|
1998
|
+
function Ge(e, t) {
|
|
1999
1999
|
h(0, [e, e.length], 0, t);
|
|
2000
2000
|
}
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
d("G",
|
|
2006
|
-
d("g",
|
|
2001
|
+
Ge("gggg", "weekYear");
|
|
2002
|
+
Ge("ggggg", "weekYear");
|
|
2003
|
+
Ge("GGGG", "isoWeekYear");
|
|
2004
|
+
Ge("GGGGG", "isoWeekYear");
|
|
2005
|
+
d("G", He);
|
|
2006
|
+
d("g", He);
|
|
2007
2007
|
d("GG", k, T);
|
|
2008
2008
|
d("gg", k, T);
|
|
2009
|
-
d("GGGG",
|
|
2010
|
-
d("gggg",
|
|
2011
|
-
d("GGGGG",
|
|
2012
|
-
d("ggggg",
|
|
2013
|
-
|
|
2009
|
+
d("GGGG", ht, dt);
|
|
2010
|
+
d("gggg", ht, dt);
|
|
2011
|
+
d("GGGGG", Ie, Ce);
|
|
2012
|
+
d("ggggg", Ie, Ce);
|
|
2013
|
+
Se(
|
|
2014
2014
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2015
2015
|
function(e, t, r, s) {
|
|
2016
2016
|
t[s.substr(0, 2)] = m(e);
|
|
2017
2017
|
}
|
|
2018
2018
|
);
|
|
2019
|
-
|
|
2019
|
+
Se(["gg", "GG"], function(e, t, r, s) {
|
|
2020
2020
|
t[s] = l.parseTwoDigitYear(e);
|
|
2021
2021
|
});
|
|
2022
|
-
function
|
|
2023
|
-
return
|
|
2022
|
+
function Wn(e) {
|
|
2023
|
+
return wr.call(
|
|
2024
2024
|
this,
|
|
2025
2025
|
e,
|
|
2026
2026
|
this.week(),
|
|
@@ -2029,8 +2029,8 @@ function xn(e) {
|
|
|
2029
2029
|
this.localeData()._week.doy
|
|
2030
2030
|
);
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return
|
|
2032
|
+
function Rn(e) {
|
|
2033
|
+
return wr.call(
|
|
2034
2034
|
this,
|
|
2035
2035
|
e,
|
|
2036
2036
|
this.isoWeek(),
|
|
@@ -2039,34 +2039,34 @@ function Pn(e) {
|
|
|
2039
2039
|
4
|
|
2040
2040
|
);
|
|
2041
2041
|
}
|
|
2042
|
-
function
|
|
2042
|
+
function Nn() {
|
|
2043
2043
|
return $(this.year(), 1, 4);
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2045
|
+
function Fn() {
|
|
2046
2046
|
return $(this.isoWeekYear(), 1, 4);
|
|
2047
2047
|
}
|
|
2048
|
-
function
|
|
2048
|
+
function Ln() {
|
|
2049
2049
|
var e = this.localeData()._week;
|
|
2050
2050
|
return $(this.year(), e.dow, e.doy);
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function Cn() {
|
|
2053
2053
|
var e = this.localeData()._week;
|
|
2054
2054
|
return $(this.weekYear(), e.dow, e.doy);
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2056
|
+
function wr(e, t, r, s, a) {
|
|
2057
2057
|
var n;
|
|
2058
|
-
return e == null ?
|
|
2058
|
+
return e == null ? Me(this, s, a).year : (n = $(e, s, a), t > n && (t = n), Un.call(this, e, t, r, s, a));
|
|
2059
2059
|
}
|
|
2060
|
-
function
|
|
2061
|
-
var n =
|
|
2060
|
+
function Un(e, t, r, s, a) {
|
|
2061
|
+
var n = Jt(e, t, r, s, a), i = we(n.year, 0, n.dayOfYear);
|
|
2062
2062
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2063
2063
|
}
|
|
2064
2064
|
h("Q", 0, "Qo", "quarter");
|
|
2065
|
-
d("Q",
|
|
2066
|
-
|
|
2067
|
-
t[
|
|
2065
|
+
d("Q", Ht);
|
|
2066
|
+
g("Q", function(e, t) {
|
|
2067
|
+
t[V] = (m(e) - 1) * 3;
|
|
2068
2068
|
});
|
|
2069
|
-
function
|
|
2069
|
+
function In(e) {
|
|
2070
2070
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2071
2071
|
}
|
|
2072
2072
|
h("D", ["DD", 2], "Do", "date");
|
|
@@ -2075,33 +2075,33 @@ d("DD", k, T);
|
|
|
2075
2075
|
d("Do", function(e, t) {
|
|
2076
2076
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2077
2077
|
});
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
t[
|
|
2078
|
+
g(["D", "DD"], C);
|
|
2079
|
+
g("Do", function(e, t) {
|
|
2080
|
+
t[C] = m(e.match(k)[0]);
|
|
2081
2081
|
});
|
|
2082
|
-
var
|
|
2082
|
+
var Mr = fe("Date", !0);
|
|
2083
2083
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2084
|
-
d("DDD",
|
|
2085
|
-
d("DDDD",
|
|
2086
|
-
|
|
2084
|
+
d("DDD", Ue);
|
|
2085
|
+
d("DDDD", Et);
|
|
2086
|
+
g(["DDD", "DDDD"], function(e, t, r) {
|
|
2087
2087
|
r._dayOfYear = m(e);
|
|
2088
2088
|
});
|
|
2089
|
-
function
|
|
2089
|
+
function Hn(e) {
|
|
2090
2090
|
var t = Math.round(
|
|
2091
2091
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2092
2092
|
) + 1;
|
|
2093
2093
|
return e == null ? t : this.add(e - t, "d");
|
|
2094
2094
|
}
|
|
2095
2095
|
h("m", ["mm", 2], 0, "minute");
|
|
2096
|
-
d("m", k,
|
|
2096
|
+
d("m", k, ft);
|
|
2097
2097
|
d("mm", k, T);
|
|
2098
|
-
|
|
2099
|
-
var
|
|
2098
|
+
g(["m", "mm"], R);
|
|
2099
|
+
var En = fe("Minutes", !1);
|
|
2100
2100
|
h("s", ["ss", 2], 0, "second");
|
|
2101
|
-
d("s", k,
|
|
2101
|
+
d("s", k, ft);
|
|
2102
2102
|
d("ss", k, T);
|
|
2103
|
-
|
|
2104
|
-
var
|
|
2103
|
+
g(["s", "ss"], G);
|
|
2104
|
+
var An = fe("Seconds", !1);
|
|
2105
2105
|
h("S", 0, 0, function() {
|
|
2106
2106
|
return ~~(this.millisecond() / 100);
|
|
2107
2107
|
});
|
|
@@ -2127,173 +2127,173 @@ h(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2127
2127
|
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2128
2128
|
return this.millisecond() * 1e6;
|
|
2129
2129
|
});
|
|
2130
|
-
d("S",
|
|
2131
|
-
d("SS",
|
|
2132
|
-
d("SSS",
|
|
2133
|
-
var K,
|
|
2130
|
+
d("S", Ue, Ht);
|
|
2131
|
+
d("SS", Ue, T);
|
|
2132
|
+
d("SSS", Ue, Et);
|
|
2133
|
+
var K, gr;
|
|
2134
2134
|
for (K = "SSSS"; K.length <= 9; K += "S")
|
|
2135
2135
|
d(K, de);
|
|
2136
|
-
function
|
|
2136
|
+
function jn(e, t) {
|
|
2137
2137
|
t[te] = m(("0." + e) * 1e3);
|
|
2138
2138
|
}
|
|
2139
2139
|
for (K = "S"; K.length <= 9; K += "S")
|
|
2140
|
-
|
|
2141
|
-
|
|
2140
|
+
g(K, jn);
|
|
2141
|
+
gr = fe("Milliseconds", !1);
|
|
2142
2142
|
h("z", 0, 0, "zoneAbbr");
|
|
2143
2143
|
h("zz", 0, 0, "zoneName");
|
|
2144
|
-
function
|
|
2144
|
+
function Vn() {
|
|
2145
2145
|
return this._isUTC ? "UTC" : "";
|
|
2146
2146
|
}
|
|
2147
|
-
function
|
|
2147
|
+
function Gn() {
|
|
2148
2148
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2149
2149
|
}
|
|
2150
2150
|
var o = ke.prototype;
|
|
2151
|
-
o.add =
|
|
2152
|
-
o.calendar =
|
|
2153
|
-
o.clone =
|
|
2154
|
-
o.diff =
|
|
2155
|
-
o.endOf =
|
|
2156
|
-
o.format =
|
|
2157
|
-
o.from =
|
|
2158
|
-
o.fromNow =
|
|
2159
|
-
o.to =
|
|
2160
|
-
o.toNow =
|
|
2161
|
-
o.get =
|
|
2162
|
-
o.invalidAt =
|
|
2163
|
-
o.isAfter =
|
|
2164
|
-
o.isBefore =
|
|
2165
|
-
o.isBetween =
|
|
2166
|
-
o.isSame =
|
|
2167
|
-
o.isSameOrAfter =
|
|
2168
|
-
o.isSameOrBefore =
|
|
2169
|
-
o.isValid =
|
|
2170
|
-
o.lang =
|
|
2171
|
-
o.locale =
|
|
2172
|
-
o.localeData =
|
|
2173
|
-
o.max =
|
|
2174
|
-
o.min =
|
|
2175
|
-
o.parsingFlags =
|
|
2176
|
-
o.set =
|
|
2177
|
-
o.startOf =
|
|
2178
|
-
o.subtract =
|
|
2179
|
-
o.toArray =
|
|
2180
|
-
o.toObject =
|
|
2181
|
-
o.toDate =
|
|
2182
|
-
o.toISOString =
|
|
2183
|
-
o.inspect =
|
|
2151
|
+
o.add = La;
|
|
2152
|
+
o.calendar = ja;
|
|
2153
|
+
o.clone = Va;
|
|
2154
|
+
o.diff = Ja;
|
|
2155
|
+
o.endOf = on;
|
|
2156
|
+
o.format = en;
|
|
2157
|
+
o.from = tn;
|
|
2158
|
+
o.fromNow = rn;
|
|
2159
|
+
o.to = sn;
|
|
2160
|
+
o.toNow = an;
|
|
2161
|
+
o.get = Xr;
|
|
2162
|
+
o.invalidAt = yn;
|
|
2163
|
+
o.isAfter = Ga;
|
|
2164
|
+
o.isBefore = za;
|
|
2165
|
+
o.isBetween = $a;
|
|
2166
|
+
o.isSame = qa;
|
|
2167
|
+
o.isSameOrAfter = Za;
|
|
2168
|
+
o.isSameOrBefore = Ba;
|
|
2169
|
+
o.isValid = mn;
|
|
2170
|
+
o.lang = fr;
|
|
2171
|
+
o.locale = hr;
|
|
2172
|
+
o.localeData = cr;
|
|
2173
|
+
o.max = ca;
|
|
2174
|
+
o.min = fa;
|
|
2175
|
+
o.parsingFlags = _n;
|
|
2176
|
+
o.set = es;
|
|
2177
|
+
o.startOf = nn;
|
|
2178
|
+
o.subtract = Ca;
|
|
2179
|
+
o.toArray = hn;
|
|
2180
|
+
o.toObject = fn;
|
|
2181
|
+
o.toDate = dn;
|
|
2182
|
+
o.toISOString = Ka;
|
|
2183
|
+
o.inspect = Xa;
|
|
2184
2184
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2185
2185
|
return "Moment<" + this.format() + ">";
|
|
2186
2186
|
});
|
|
2187
|
-
o.toJSON =
|
|
2188
|
-
o.toString =
|
|
2189
|
-
o.unix =
|
|
2190
|
-
o.valueOf =
|
|
2191
|
-
o.creationData =
|
|
2192
|
-
o.eraName =
|
|
2193
|
-
o.eraNarrow =
|
|
2194
|
-
o.eraAbbr =
|
|
2195
|
-
o.eraYear =
|
|
2196
|
-
o.year =
|
|
2197
|
-
o.isLeapYear =
|
|
2198
|
-
o.weekYear =
|
|
2199
|
-
o.isoWeekYear =
|
|
2200
|
-
o.quarter = o.quarters =
|
|
2201
|
-
o.month =
|
|
2202
|
-
o.daysInMonth =
|
|
2203
|
-
o.week = o.weeks =
|
|
2204
|
-
o.isoWeek = o.isoWeeks =
|
|
2205
|
-
o.weeksInYear =
|
|
2206
|
-
o.weeksInWeekYear =
|
|
2207
|
-
o.isoWeeksInYear =
|
|
2208
|
-
o.isoWeeksInISOWeekYear =
|
|
2209
|
-
o.date =
|
|
2210
|
-
o.day = o.days =
|
|
2211
|
-
o.weekday =
|
|
2212
|
-
o.isoWeekday =
|
|
2213
|
-
o.dayOfYear =
|
|
2214
|
-
o.hour = o.hours =
|
|
2215
|
-
o.minute = o.minutes =
|
|
2216
|
-
o.second = o.seconds =
|
|
2217
|
-
o.millisecond = o.milliseconds =
|
|
2218
|
-
o.utcOffset =
|
|
2219
|
-
o.utc =
|
|
2220
|
-
o.local =
|
|
2221
|
-
o.parseZone =
|
|
2222
|
-
o.hasAlignedHourOffset =
|
|
2223
|
-
o.isDST =
|
|
2224
|
-
o.isLocal =
|
|
2225
|
-
o.isUtcOffset =
|
|
2226
|
-
o.isUtc =
|
|
2227
|
-
o.isUTC =
|
|
2228
|
-
o.zoneAbbr =
|
|
2229
|
-
o.zoneName =
|
|
2187
|
+
o.toJSON = cn;
|
|
2188
|
+
o.toString = Qa;
|
|
2189
|
+
o.unix = un;
|
|
2190
|
+
o.valueOf = ln;
|
|
2191
|
+
o.creationData = wn;
|
|
2192
|
+
o.eraName = kn;
|
|
2193
|
+
o.eraNarrow = Dn;
|
|
2194
|
+
o.eraAbbr = Sn;
|
|
2195
|
+
o.eraYear = vn;
|
|
2196
|
+
o.year = Vt;
|
|
2197
|
+
o.isLeapYear = Kr;
|
|
2198
|
+
o.weekYear = Wn;
|
|
2199
|
+
o.isoWeekYear = Rn;
|
|
2200
|
+
o.quarter = o.quarters = In;
|
|
2201
|
+
o.month = Zt;
|
|
2202
|
+
o.daysInMonth = us;
|
|
2203
|
+
o.week = o.weeks = ws;
|
|
2204
|
+
o.isoWeek = o.isoWeeks = Ms;
|
|
2205
|
+
o.weeksInYear = Ln;
|
|
2206
|
+
o.weeksInWeekYear = Cn;
|
|
2207
|
+
o.isoWeeksInYear = Nn;
|
|
2208
|
+
o.isoWeeksInISOWeekYear = Fn;
|
|
2209
|
+
o.date = Mr;
|
|
2210
|
+
o.day = o.days = Ws;
|
|
2211
|
+
o.weekday = Rs;
|
|
2212
|
+
o.isoWeekday = Ns;
|
|
2213
|
+
o.dayOfYear = Hn;
|
|
2214
|
+
o.hour = o.hours = Es;
|
|
2215
|
+
o.minute = o.minutes = En;
|
|
2216
|
+
o.second = o.seconds = An;
|
|
2217
|
+
o.millisecond = o.milliseconds = gr;
|
|
2218
|
+
o.utcOffset = Da;
|
|
2219
|
+
o.utc = va;
|
|
2220
|
+
o.local = Ya;
|
|
2221
|
+
o.parseZone = Oa;
|
|
2222
|
+
o.hasAlignedHourOffset = ba;
|
|
2223
|
+
o.isDST = Ta;
|
|
2224
|
+
o.isLocal = Pa;
|
|
2225
|
+
o.isUtcOffset = Wa;
|
|
2226
|
+
o.isUtc = or;
|
|
2227
|
+
o.isUTC = or;
|
|
2228
|
+
o.zoneAbbr = Vn;
|
|
2229
|
+
o.zoneName = Gn;
|
|
2230
2230
|
o.dates = P(
|
|
2231
2231
|
"dates accessor is deprecated. Use date instead.",
|
|
2232
|
-
|
|
2232
|
+
Mr
|
|
2233
2233
|
);
|
|
2234
2234
|
o.months = P(
|
|
2235
2235
|
"months accessor is deprecated. Use month instead",
|
|
2236
|
-
|
|
2236
|
+
Zt
|
|
2237
2237
|
);
|
|
2238
2238
|
o.years = P(
|
|
2239
2239
|
"years accessor is deprecated. Use year instead",
|
|
2240
|
-
|
|
2240
|
+
Vt
|
|
2241
2241
|
);
|
|
2242
2242
|
o.zone = P(
|
|
2243
2243
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2244
|
-
|
|
2244
|
+
Sa
|
|
2245
2245
|
);
|
|
2246
2246
|
o.isDSTShifted = P(
|
|
2247
2247
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2248
|
-
|
|
2248
|
+
xa
|
|
2249
2249
|
);
|
|
2250
|
-
function
|
|
2250
|
+
function zn(e) {
|
|
2251
2251
|
return p(e * 1e3);
|
|
2252
2252
|
}
|
|
2253
|
-
function
|
|
2253
|
+
function $n() {
|
|
2254
2254
|
return p.apply(null, arguments).parseZone();
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2256
|
+
function pr(e) {
|
|
2257
2257
|
return e;
|
|
2258
2258
|
}
|
|
2259
|
-
var
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2259
|
+
var M = ot.prototype;
|
|
2260
|
+
M.calendar = Pr;
|
|
2261
|
+
M.longDateFormat = Fr;
|
|
2262
|
+
M.invalidDate = Cr;
|
|
2263
|
+
M.ordinal = Hr;
|
|
2264
|
+
M.preparse = pr;
|
|
2265
|
+
M.postformat = pr;
|
|
2266
|
+
M.relativeTime = Ar;
|
|
2267
|
+
M.pastFuture = jr;
|
|
2268
|
+
M.set = Tr;
|
|
2269
|
+
M.eras = Mn;
|
|
2270
|
+
M.erasParse = gn;
|
|
2271
|
+
M.erasConvertYear = pn;
|
|
2272
|
+
M.erasAbbrRegex = On;
|
|
2273
|
+
M.erasNameRegex = Yn;
|
|
2274
|
+
M.erasNarrowRegex = bn;
|
|
2275
|
+
M.months = ns;
|
|
2276
|
+
M.monthsShort = is;
|
|
2277
|
+
M.monthsParse = ls;
|
|
2278
|
+
M.monthsRegex = hs;
|
|
2279
|
+
M.monthsShortRegex = ds;
|
|
2280
|
+
M.week = cs;
|
|
2281
|
+
M.firstDayOfYear = ys;
|
|
2282
|
+
M.firstDayOfWeek = _s;
|
|
2283
|
+
M.weekdays = Os;
|
|
2284
|
+
M.weekdaysMin = Ts;
|
|
2285
|
+
M.weekdaysShort = bs;
|
|
2286
|
+
M.weekdaysParse = Ps;
|
|
2287
|
+
M.weekdaysRegex = Fs;
|
|
2288
|
+
M.weekdaysShortRegex = Ls;
|
|
2289
|
+
M.weekdaysMinRegex = Cs;
|
|
2290
|
+
M.isPM = Is;
|
|
2291
|
+
M.meridiem = As;
|
|
2292
2292
|
function Fe(e, t, r, s) {
|
|
2293
|
-
var a = Z(), n =
|
|
2293
|
+
var a = Z(), n = I().set(s, t);
|
|
2294
2294
|
return a[r](n, e);
|
|
2295
2295
|
}
|
|
2296
|
-
function
|
|
2296
|
+
function kr(e, t, r) {
|
|
2297
2297
|
if (q(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2298
2298
|
return Fe(e, t, r, "month");
|
|
2299
2299
|
var s, a = [];
|
|
@@ -2301,7 +2301,7 @@ function Mr(e, t, r) {
|
|
|
2301
2301
|
a[s] = Fe(e, s, r, "month");
|
|
2302
2302
|
return a;
|
|
2303
2303
|
}
|
|
2304
|
-
function
|
|
2304
|
+
function Yt(e, t, r, s) {
|
|
2305
2305
|
typeof e == "boolean" ? (q(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, q(t) && (r = t, t = void 0), t = t || "");
|
|
2306
2306
|
var a = Z(), n = e ? a._week.dow : 0, i, u = [];
|
|
2307
2307
|
if (r != null)
|
|
@@ -2310,20 +2310,20 @@ function vt(e, t, r, s) {
|
|
|
2310
2310
|
u[i] = Fe(t, (i + n) % 7, s, "day");
|
|
2311
2311
|
return u;
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2314
|
-
return
|
|
2313
|
+
function qn(e, t) {
|
|
2314
|
+
return kr(e, t, "months");
|
|
2315
2315
|
}
|
|
2316
|
-
function
|
|
2317
|
-
return
|
|
2316
|
+
function Zn(e, t) {
|
|
2317
|
+
return kr(e, t, "monthsShort");
|
|
2318
2318
|
}
|
|
2319
|
-
function
|
|
2320
|
-
return
|
|
2319
|
+
function Bn(e, t, r) {
|
|
2320
|
+
return Yt(e, t, r, "weekdays");
|
|
2321
2321
|
}
|
|
2322
|
-
function
|
|
2323
|
-
return
|
|
2322
|
+
function Jn(e, t, r) {
|
|
2323
|
+
return Yt(e, t, r, "weekdaysShort");
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2326
|
-
return
|
|
2325
|
+
function Qn(e, t, r) {
|
|
2326
|
+
return Yt(e, t, r, "weekdaysMin");
|
|
2327
2327
|
}
|
|
2328
2328
|
X("en", {
|
|
2329
2329
|
eras: [
|
|
@@ -2359,39 +2359,39 @@ l.langData = P(
|
|
|
2359
2359
|
Z
|
|
2360
2360
|
);
|
|
2361
2361
|
var A = Math.abs;
|
|
2362
|
-
function
|
|
2362
|
+
function Kn() {
|
|
2363
2363
|
var e = this._data;
|
|
2364
2364
|
return this._milliseconds = A(this._milliseconds), this._days = A(this._days), this._months = A(this._months), e.milliseconds = A(e.milliseconds), e.seconds = A(e.seconds), e.minutes = A(e.minutes), e.hours = A(e.hours), e.months = A(e.months), e.years = A(e.years), this;
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2367
|
-
var a =
|
|
2366
|
+
function Dr(e, t, r, s) {
|
|
2367
|
+
var a = L(t, r);
|
|
2368
2368
|
return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2371
|
-
return
|
|
2370
|
+
function Xn(e, t) {
|
|
2371
|
+
return Dr(this, e, t, 1);
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
2374
|
-
return
|
|
2373
|
+
function ei(e, t) {
|
|
2374
|
+
return Dr(this, e, t, -1);
|
|
2375
2375
|
}
|
|
2376
|
-
function
|
|
2376
|
+
function Rt(e) {
|
|
2377
2377
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2378
2378
|
}
|
|
2379
|
-
function
|
|
2379
|
+
function ti() {
|
|
2380
2380
|
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, n, i, u, f;
|
|
2381
|
-
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e +=
|
|
2381
|
+
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += Rt(st(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, a = x(e / 1e3), s.seconds = a % 60, n = x(a / 60), s.minutes = n % 60, i = x(n / 60), s.hours = i % 24, t += x(i / 24), f = x(Sr(t)), r += f, t -= Rt(st(f)), u = x(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
|
|
2382
2382
|
}
|
|
2383
|
-
function
|
|
2383
|
+
function Sr(e) {
|
|
2384
2384
|
return e * 4800 / 146097;
|
|
2385
2385
|
}
|
|
2386
|
-
function
|
|
2386
|
+
function st(e) {
|
|
2387
2387
|
return e * 146097 / 4800;
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2389
|
+
function ri(e) {
|
|
2390
2390
|
if (!this.isValid())
|
|
2391
2391
|
return NaN;
|
|
2392
2392
|
var t, r, s = this._milliseconds;
|
|
2393
2393
|
if (e = W(e), e === "month" || e === "quarter" || e === "year")
|
|
2394
|
-
switch (t = this._days + s / 864e5, r = this._months +
|
|
2394
|
+
switch (t = this._days + s / 864e5, r = this._months + Sr(t), e) {
|
|
2395
2395
|
case "month":
|
|
2396
2396
|
return r;
|
|
2397
2397
|
case "quarter":
|
|
@@ -2400,7 +2400,7 @@ function ei(e) {
|
|
|
2400
2400
|
return r / 12;
|
|
2401
2401
|
}
|
|
2402
2402
|
else
|
|
2403
|
-
switch (t = this._days + Math.round(
|
|
2403
|
+
switch (t = this._days + Math.round(st(this._months)), e) {
|
|
2404
2404
|
case "week":
|
|
2405
2405
|
return t / 7 + s / 6048e5;
|
|
2406
2406
|
case "day":
|
|
@@ -2422,11 +2422,11 @@ function B(e) {
|
|
|
2422
2422
|
return this.as(e);
|
|
2423
2423
|
};
|
|
2424
2424
|
}
|
|
2425
|
-
var
|
|
2426
|
-
function
|
|
2427
|
-
return
|
|
2425
|
+
var vr = B("ms"), si = B("s"), ai = B("m"), ni = B("h"), ii = B("d"), oi = B("w"), li = B("M"), ui = B("Q"), di = B("y"), hi = vr;
|
|
2426
|
+
function fi() {
|
|
2427
|
+
return L(this);
|
|
2428
2428
|
}
|
|
2429
|
-
function
|
|
2429
|
+
function ci(e) {
|
|
2430
2430
|
return e = W(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2431
2431
|
}
|
|
2432
2432
|
function se(e) {
|
|
@@ -2434,11 +2434,11 @@ function se(e) {
|
|
|
2434
2434
|
return this.isValid() ? this._data[e] : NaN;
|
|
2435
2435
|
};
|
|
2436
2436
|
}
|
|
2437
|
-
var
|
|
2438
|
-
function
|
|
2437
|
+
var mi = se("milliseconds"), _i = se("seconds"), yi = se("minutes"), wi = se("hours"), Mi = se("days"), gi = se("months"), pi = se("years");
|
|
2438
|
+
function ki() {
|
|
2439
2439
|
return x(this.days() / 7);
|
|
2440
2440
|
}
|
|
2441
|
-
var
|
|
2441
|
+
var j = Math.round, ie = {
|
|
2442
2442
|
ss: 44,
|
|
2443
2443
|
// a few seconds to seconds
|
|
2444
2444
|
s: 45,
|
|
@@ -2454,24 +2454,24 @@ var V = Math.round, ie = {
|
|
|
2454
2454
|
M: 11
|
|
2455
2455
|
// months to year
|
|
2456
2456
|
};
|
|
2457
|
-
function
|
|
2457
|
+
function Di(e, t, r, s, a) {
|
|
2458
2458
|
return a.relativeTime(t || 1, !!r, e, s);
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2461
|
-
var a =
|
|
2462
|
-
return r.w != null && (J = J || O <= 1 && ["w"] || O < r.w && ["ww", O]), J = J || _ <= 1 && ["M"] || _ < r.M && ["MM", _] ||
|
|
2460
|
+
function Si(e, t, r, s) {
|
|
2461
|
+
var a = L(e).abs(), n = j(a.as("s")), i = j(a.as("m")), u = j(a.as("h")), f = j(a.as("d")), _ = j(a.as("M")), O = j(a.as("w")), E = j(a.as("y")), J = n <= r.ss && ["s", n] || n < r.s && ["ss", n] || i <= 1 && ["m"] || i < r.m && ["mm", i] || u <= 1 && ["h"] || u < r.h && ["hh", u] || f <= 1 && ["d"] || f < r.d && ["dd", f];
|
|
2462
|
+
return r.w != null && (J = J || O <= 1 && ["w"] || O < r.w && ["ww", O]), J = J || _ <= 1 && ["M"] || _ < r.M && ["MM", _] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = s, Di.apply(null, J);
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2465
|
-
return e === void 0 ?
|
|
2464
|
+
function vi(e) {
|
|
2465
|
+
return e === void 0 ? j : typeof e == "function" ? (j = e, !0) : !1;
|
|
2466
2466
|
}
|
|
2467
|
-
function
|
|
2467
|
+
function Yi(e, t) {
|
|
2468
2468
|
return ie[e] === void 0 ? !1 : t === void 0 ? ie[e] : (ie[e] = t, e === "s" && (ie.ss = t - 1), !0);
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function Oi(e, t) {
|
|
2471
2471
|
if (!this.isValid())
|
|
2472
2472
|
return this.localeData().invalidDate();
|
|
2473
2473
|
var r = !1, s = ie, a, n;
|
|
2474
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ie, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), n =
|
|
2474
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ie, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), n = Si(this, !r, s, a), r && (n = a.pastFuture(+this, n)), a.postformat(n);
|
|
2475
2475
|
}
|
|
2476
2476
|
var Be = Math.abs;
|
|
2477
2477
|
function ae(e) {
|
|
@@ -2480,86 +2480,86 @@ function ae(e) {
|
|
|
2480
2480
|
function ze() {
|
|
2481
2481
|
if (!this.isValid())
|
|
2482
2482
|
return this.localeData().invalidDate();
|
|
2483
|
-
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), r = Be(this._months), s, a, n, i, u = this.asSeconds(), f, _, O,
|
|
2484
|
-
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, n = x(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = ae(this._months) !== ae(u) ? "-" : "", O = ae(this._days) !== ae(u) ? "-" : "",
|
|
2485
|
-
}
|
|
2486
|
-
var y =
|
|
2487
|
-
y.isValid =
|
|
2488
|
-
y.abs =
|
|
2489
|
-
y.add =
|
|
2490
|
-
y.subtract =
|
|
2491
|
-
y.as =
|
|
2492
|
-
y.asMilliseconds =
|
|
2493
|
-
y.asSeconds =
|
|
2494
|
-
y.asMinutes =
|
|
2495
|
-
y.asHours =
|
|
2496
|
-
y.asDays =
|
|
2497
|
-
y.asWeeks =
|
|
2498
|
-
y.asMonths =
|
|
2499
|
-
y.asQuarters =
|
|
2500
|
-
y.asYears =
|
|
2501
|
-
y.valueOf =
|
|
2502
|
-
y._bubble =
|
|
2503
|
-
y.clone =
|
|
2504
|
-
y.get =
|
|
2505
|
-
y.milliseconds =
|
|
2506
|
-
y.seconds =
|
|
2507
|
-
y.minutes =
|
|
2508
|
-
y.hours =
|
|
2509
|
-
y.days =
|
|
2510
|
-
y.weeks =
|
|
2511
|
-
y.months =
|
|
2512
|
-
y.years =
|
|
2513
|
-
y.humanize =
|
|
2483
|
+
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), r = Be(this._months), s, a, n, i, u = this.asSeconds(), f, _, O, E;
|
|
2484
|
+
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, n = x(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = ae(this._months) !== ae(u) ? "-" : "", O = ae(this._days) !== ae(u) ? "-" : "", E = ae(this._milliseconds) !== ae(u) ? "-" : "", f + "P" + (n ? _ + n + "Y" : "") + (r ? _ + r + "M" : "") + (t ? O + t + "D" : "") + (a || s || e ? "T" : "") + (a ? E + a + "H" : "") + (s ? E + s + "M" : "") + (e ? E + i + "S" : "")) : "P0D";
|
|
2485
|
+
}
|
|
2486
|
+
var y = Ve.prototype;
|
|
2487
|
+
y.isValid = Ma;
|
|
2488
|
+
y.abs = Kn;
|
|
2489
|
+
y.add = Xn;
|
|
2490
|
+
y.subtract = ei;
|
|
2491
|
+
y.as = ri;
|
|
2492
|
+
y.asMilliseconds = vr;
|
|
2493
|
+
y.asSeconds = si;
|
|
2494
|
+
y.asMinutes = ai;
|
|
2495
|
+
y.asHours = ni;
|
|
2496
|
+
y.asDays = ii;
|
|
2497
|
+
y.asWeeks = oi;
|
|
2498
|
+
y.asMonths = li;
|
|
2499
|
+
y.asQuarters = ui;
|
|
2500
|
+
y.asYears = di;
|
|
2501
|
+
y.valueOf = hi;
|
|
2502
|
+
y._bubble = ti;
|
|
2503
|
+
y.clone = fi;
|
|
2504
|
+
y.get = ci;
|
|
2505
|
+
y.milliseconds = mi;
|
|
2506
|
+
y.seconds = _i;
|
|
2507
|
+
y.minutes = yi;
|
|
2508
|
+
y.hours = wi;
|
|
2509
|
+
y.days = Mi;
|
|
2510
|
+
y.weeks = ki;
|
|
2511
|
+
y.months = gi;
|
|
2512
|
+
y.years = pi;
|
|
2513
|
+
y.humanize = Oi;
|
|
2514
2514
|
y.toISOString = ze;
|
|
2515
2515
|
y.toString = ze;
|
|
2516
2516
|
y.toJSON = ze;
|
|
2517
|
-
y.locale =
|
|
2518
|
-
y.localeData =
|
|
2517
|
+
y.locale = hr;
|
|
2518
|
+
y.localeData = cr;
|
|
2519
2519
|
y.toIsoString = P(
|
|
2520
2520
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2521
2521
|
ze
|
|
2522
2522
|
);
|
|
2523
|
-
y.lang =
|
|
2523
|
+
y.lang = fr;
|
|
2524
2524
|
h("X", 0, 0, "unix");
|
|
2525
2525
|
h("x", 0, 0, "valueOf");
|
|
2526
|
-
d("x",
|
|
2527
|
-
d("X",
|
|
2528
|
-
|
|
2526
|
+
d("x", He);
|
|
2527
|
+
d("X", $r);
|
|
2528
|
+
g("X", function(e, t, r) {
|
|
2529
2529
|
r._d = new Date(parseFloat(e) * 1e3);
|
|
2530
2530
|
});
|
|
2531
|
-
|
|
2531
|
+
g("x", function(e, t, r) {
|
|
2532
2532
|
r._d = new Date(m(e));
|
|
2533
2533
|
});
|
|
2534
2534
|
//! moment.js
|
|
2535
2535
|
l.version = "2.30.1";
|
|
2536
|
-
|
|
2536
|
+
Or(p);
|
|
2537
2537
|
l.fn = o;
|
|
2538
|
-
l.min =
|
|
2539
|
-
l.max =
|
|
2540
|
-
l.now =
|
|
2541
|
-
l.utc =
|
|
2542
|
-
l.unix =
|
|
2543
|
-
l.months =
|
|
2538
|
+
l.min = ma;
|
|
2539
|
+
l.max = _a;
|
|
2540
|
+
l.now = ya;
|
|
2541
|
+
l.utc = I;
|
|
2542
|
+
l.unix = zn;
|
|
2543
|
+
l.months = qn;
|
|
2544
2544
|
l.isDate = pe;
|
|
2545
2545
|
l.locale = X;
|
|
2546
|
-
l.invalid =
|
|
2547
|
-
l.duration =
|
|
2546
|
+
l.invalid = Le;
|
|
2547
|
+
l.duration = L;
|
|
2548
2548
|
l.isMoment = F;
|
|
2549
|
-
l.weekdays =
|
|
2550
|
-
l.parseZone =
|
|
2549
|
+
l.weekdays = Bn;
|
|
2550
|
+
l.parseZone = $n;
|
|
2551
2551
|
l.localeData = Z;
|
|
2552
2552
|
l.isDuration = Te;
|
|
2553
|
-
l.monthsShort =
|
|
2554
|
-
l.weekdaysMin =
|
|
2555
|
-
l.defineLocale =
|
|
2556
|
-
l.updateLocale =
|
|
2557
|
-
l.locales =
|
|
2558
|
-
l.weekdaysShort =
|
|
2553
|
+
l.monthsShort = Zn;
|
|
2554
|
+
l.weekdaysMin = Qn;
|
|
2555
|
+
l.defineLocale = wt;
|
|
2556
|
+
l.updateLocale = zs;
|
|
2557
|
+
l.locales = $s;
|
|
2558
|
+
l.weekdaysShort = Jn;
|
|
2559
2559
|
l.normalizeUnits = W;
|
|
2560
|
-
l.relativeTimeRounding =
|
|
2561
|
-
l.relativeTimeThreshold =
|
|
2562
|
-
l.calendarFormat =
|
|
2560
|
+
l.relativeTimeRounding = vi;
|
|
2561
|
+
l.relativeTimeThreshold = Yi;
|
|
2562
|
+
l.calendarFormat = Aa;
|
|
2563
2563
|
l.prototype = o;
|
|
2564
2564
|
l.HTML5_FMT = {
|
|
2565
2565
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2581,7 +2581,90 @@ l.HTML5_FMT = {
|
|
|
2581
2581
|
MONTH: "YYYY-MM"
|
|
2582
2582
|
// <input type="month" />
|
|
2583
2583
|
};
|
|
2584
|
-
const
|
|
2584
|
+
const bi = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Ti = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Nt = /(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, Je = [
|
|
2585
|
+
/^janv/i,
|
|
2586
|
+
/^févr/i,
|
|
2587
|
+
/^mars/i,
|
|
2588
|
+
/^avr/i,
|
|
2589
|
+
/^mai/i,
|
|
2590
|
+
/^juin/i,
|
|
2591
|
+
/^juil/i,
|
|
2592
|
+
/^août/i,
|
|
2593
|
+
/^sept/i,
|
|
2594
|
+
/^oct/i,
|
|
2595
|
+
/^nov/i,
|
|
2596
|
+
/^déc/i
|
|
2597
|
+
], xi = {
|
|
2598
|
+
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2599
|
+
"_"
|
|
2600
|
+
),
|
|
2601
|
+
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2602
|
+
monthsRegex: Nt,
|
|
2603
|
+
monthsShortRegex: Nt,
|
|
2604
|
+
monthsStrictRegex: bi,
|
|
2605
|
+
monthsShortStrictRegex: Ti,
|
|
2606
|
+
monthsParse: Je,
|
|
2607
|
+
longMonthsParse: Je,
|
|
2608
|
+
shortMonthsParse: Je,
|
|
2609
|
+
weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
|
2610
|
+
weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
|
|
2611
|
+
weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
|
|
2612
|
+
weekdaysParseExact: !0,
|
|
2613
|
+
longDateFormat: {
|
|
2614
|
+
LT: "HH:mm",
|
|
2615
|
+
LTS: "HH:mm:ss",
|
|
2616
|
+
L: "DD/MM/YYYY",
|
|
2617
|
+
LL: "D MMMM YYYY",
|
|
2618
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
2619
|
+
LLLL: "dddd D MMMM YYYY HH:mm"
|
|
2620
|
+
},
|
|
2621
|
+
calendar: {
|
|
2622
|
+
sameDay: "[Aujourd’hui à] LT",
|
|
2623
|
+
nextDay: "[Demain à] LT",
|
|
2624
|
+
nextWeek: "dddd [à] LT",
|
|
2625
|
+
lastDay: "[Hier à] LT",
|
|
2626
|
+
lastWeek: "dddd [dernier à] LT",
|
|
2627
|
+
sameElse: "L"
|
|
2628
|
+
},
|
|
2629
|
+
relativeTime: {
|
|
2630
|
+
future: "dans %s",
|
|
2631
|
+
past: "il y a %s",
|
|
2632
|
+
s: "quelques secondes",
|
|
2633
|
+
ss: "%d secondes",
|
|
2634
|
+
m: "une minute",
|
|
2635
|
+
mm: "%d minutes",
|
|
2636
|
+
h: "une heure",
|
|
2637
|
+
hh: "%d heures",
|
|
2638
|
+
d: "un jour",
|
|
2639
|
+
dd: "%d jours",
|
|
2640
|
+
w: "une semaine",
|
|
2641
|
+
ww: "%d semaines",
|
|
2642
|
+
M: "un mois",
|
|
2643
|
+
MM: "%d mois",
|
|
2644
|
+
y: "un an",
|
|
2645
|
+
yy: "%d ans"
|
|
2646
|
+
},
|
|
2647
|
+
dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
|
|
2648
|
+
ordinal: (e, t) => {
|
|
2649
|
+
switch (t) {
|
|
2650
|
+
case "D":
|
|
2651
|
+
return e + (e === 1 ? "er" : "");
|
|
2652
|
+
default:
|
|
2653
|
+
case "M":
|
|
2654
|
+
case "Q":
|
|
2655
|
+
case "DDD":
|
|
2656
|
+
case "d":
|
|
2657
|
+
return e + (e === 1 ? "er" : "e");
|
|
2658
|
+
case "w":
|
|
2659
|
+
case "W":
|
|
2660
|
+
return e + (e === 1 ? "re" : "e");
|
|
2661
|
+
}
|
|
2662
|
+
},
|
|
2663
|
+
week: {
|
|
2664
|
+
dow: 1,
|
|
2665
|
+
doy: 4
|
|
2666
|
+
}
|
|
2667
|
+
}, Pi = " ", Wi = " ", Ei = (e) => e.split("").join(Pi), Ai = (e) => e.split("").join(Wi), ji = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Ri = (e) => e && e[0].toUpperCase() + e.slice(1), Yr = (e) => e.split(" ").map(Ri).join(" "), Vi = (e) => /^\d+$/.test(e), Gi = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, zi = (e) => e.trim().replace(/\s+/gi, " "), $i = (e) => {
|
|
2585
2668
|
const t = e.split(" "), s = ((a) => {
|
|
2586
2669
|
let n = 1 / 0;
|
|
2587
2670
|
for (let i = 0; i < a.length; i++) {
|
|
@@ -2599,10 +2682,10 @@ const Yi = " ", Oi = " ", Ci = (e) => e.split("").join(Yi), Ui = (e) => e.sp
|
|
|
2599
2682
|
(a) => a.join(" ")
|
|
2600
2683
|
);
|
|
2601
2684
|
};
|
|
2602
|
-
l.locale("fr");
|
|
2603
|
-
const
|
|
2685
|
+
l.locale("fr", xi);
|
|
2686
|
+
const qi = (e) => new Date(e).toString() !== "Invalid Date", Zi = (e, t) => Math.abs(
|
|
2604
2687
|
Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
|
|
2605
|
-
),
|
|
2688
|
+
), Bi = (e) => Yr(l(e).format("DD MMMM YYYY")), Ji = (e) => Yr(l(e).format("dddd DD MMMM YYYY")), Qi = (e, t, r = !0) => (r ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Ki = () => l().locale("fr").subtract(1, "days").toDate(), Xi = (e) => {
|
|
2606
2689
|
const t = [], r = l.duration(e);
|
|
2607
2690
|
if (!(!r || r.toISOString() === "P0D")) {
|
|
2608
2691
|
if (r.years() >= 1) {
|
|
@@ -2631,8 +2714,8 @@ const Vi = (e) => new Date(e).toString() !== "Invalid Date", Gi = (e, t) => Math
|
|
|
2631
2714
|
}
|
|
2632
2715
|
return t.join(", ");
|
|
2633
2716
|
}
|
|
2634
|
-
},
|
|
2635
|
-
const t =
|
|
2717
|
+
}, Ot = /^([1-9][0-9]?)([hmd])$/i, eo = (e) => !!e && Ot.test(e), to = (e) => {
|
|
2718
|
+
const t = Ot.exec(e);
|
|
2636
2719
|
if (!t)
|
|
2637
2720
|
return null;
|
|
2638
2721
|
const [, r, s] = t, a = parseInt(r, 10), n = 1e3 * 60;
|
|
@@ -2642,8 +2725,8 @@ const Vi = (e) => new Date(e).toString() !== "Invalid Date", Gi = (e, t) => Math
|
|
|
2642
2725
|
return n * 60 * a;
|
|
2643
2726
|
if (s === "d")
|
|
2644
2727
|
return n * 60 * 24 * a;
|
|
2645
|
-
},
|
|
2646
|
-
const t =
|
|
2728
|
+
}, ro = (e) => {
|
|
2729
|
+
const t = Ot.exec(e);
|
|
2647
2730
|
if (!t)
|
|
2648
2731
|
return null;
|
|
2649
2732
|
const [, r, s] = t, a = parseInt(r, 10);
|
|
@@ -2653,7 +2736,7 @@ const Vi = (e) => new Date(e).toString() !== "Invalid Date", Gi = (e, t) => Math
|
|
|
2653
2736
|
return `${a} heure${a > 1 ? "s" : ""}`;
|
|
2654
2737
|
if (s === "d")
|
|
2655
2738
|
return `${a} jour${a > 1 ? "s" : ""}`;
|
|
2656
|
-
},
|
|
2739
|
+
}, so = {
|
|
2657
2740
|
d1: "<:d1:1159542168738873455>",
|
|
2658
2741
|
d2: "<:d2:1159542071049334814>",
|
|
2659
2742
|
d3: "<:d3:1159542073914032191>",
|
|
@@ -2768,7 +2851,7 @@ const Vi = (e) => new Date(e).toString() !== "Invalid Date", Gi = (e, t) => Math
|
|
|
2768
2851
|
item_bottle_xp: "<:bottle_xp:1186204593667969035>",
|
|
2769
2852
|
item_boost_week: "<:boost_week:1186258728073297971>",
|
|
2770
2853
|
item_boost_day: "<:boost_day:1186258726030680145>"
|
|
2771
|
-
},
|
|
2854
|
+
}, Ni = (e) => new Intl.NumberFormat("de-DE").format(e), ao = (e, t) => Math.floor(Math.random() * (t - e) + e), Oe = (e) => `${Ni(Math.round(e / 1024 / 1024 * 100) / 100)} MB`, no = () => {
|
|
2772
2855
|
const e = process.memoryUsage(), t = {
|
|
2773
2856
|
rss: `${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,
|
|
2774
2857
|
heapTotal: `${Oe(e.heapTotal)} -> total size of the allocated heap`,
|
|
@@ -2778,36 +2861,36 @@ const Vi = (e) => new Date(e).toString() !== "Invalid Date", Gi = (e, t) => Math
|
|
|
2778
2861
|
console.log(t);
|
|
2779
2862
|
};
|
|
2780
2863
|
export {
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2864
|
+
Pi as TIGHT_SPACE,
|
|
2865
|
+
Wi as WIDE_SPACE,
|
|
2866
|
+
$i as breakWords,
|
|
2867
|
+
Ri as capitalize,
|
|
2868
|
+
Yr as capitalizeAllWords,
|
|
2869
|
+
Zi as dateDiff,
|
|
2870
|
+
to as durationToMs,
|
|
2871
|
+
ji as ellipsis,
|
|
2872
|
+
so as emojis,
|
|
2873
|
+
Ii as exclude,
|
|
2874
|
+
Ei as fillWithTightSpaces,
|
|
2875
|
+
Ai as fillWithWideSpaces,
|
|
2876
|
+
Bi as formatDate,
|
|
2877
|
+
Ji as formatDateWithDay,
|
|
2878
|
+
ro as formatDuration,
|
|
2796
2879
|
Oe as formatMemoryUsage,
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2880
|
+
Ni as formatNumber,
|
|
2881
|
+
Li as groupBy,
|
|
2882
|
+
eo as isDuration,
|
|
2883
|
+
Vi as isPositiveInteger,
|
|
2884
|
+
qi as isValidDate,
|
|
2885
|
+
Ui as mutuallyInclusive,
|
|
2886
|
+
Gi as numberToOrdinal,
|
|
2887
|
+
Fi as paginate,
|
|
2888
|
+
Xi as precise,
|
|
2889
|
+
no as printMemoryUsage,
|
|
2890
|
+
ao as randomBetween,
|
|
2891
|
+
Qi as sameDay,
|
|
2892
|
+
Ci as sortBy,
|
|
2893
|
+
zi as trim,
|
|
2894
|
+
Hi as unique,
|
|
2895
|
+
Ki as yesterday
|
|
2813
2896
|
};
|