@opfr/utils-lang 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.d.ts +1 -0
- package/dist/array.d.ts.map +1 -1
- package/dist/array.js +65 -0
- package/dist/array.js.map +1 -0
- package/dist/common.js +14 -0
- package/dist/common.js.map +1 -0
- package/dist/date.js +56 -0
- package/dist/date.js.map +1 -0
- package/dist/duration.js +34 -0
- package/dist/duration.js.map +1 -0
- package/dist/function.js +4 -0
- package/dist/function.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1443 -1646
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.js +6 -6
- package/dist/locales/fr.js +85 -0
- package/dist/locales/fr.js.map +1 -0
- package/dist/number.js +23 -0
- package/dist/number.js.map +1 -0
- package/dist/object.d.ts +1 -0
- package/dist/object.d.ts.map +1 -1
- package/dist/object.js +25 -0
- package/dist/object.js.map +1 -0
- package/dist/string.js +62 -0
- package/dist/string.js.map +1 -0
- package/package.json +3 -3
- package/dist/emojis.d.ts +0 -206
- package/dist/emojis.d.ts.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Ii = (e) => new Intl.NumberFormat("de-DE").format(e), Os = (e, t, s = Math.random) => Math.floor(s() * (t - e) + e), Ui = (e) => {
|
|
2
2
|
let t = e;
|
|
3
|
-
const
|
|
4
|
-
return () => (t = (
|
|
5
|
-
},
|
|
6
|
-
const
|
|
7
|
-
return (
|
|
8
|
-
}, []),
|
|
9
|
-
(
|
|
3
|
+
const s = 2147483648, r = 1103515245, n = 12345;
|
|
4
|
+
return () => (t = (r * t + n) % s, t / (s - 1));
|
|
5
|
+
}, Hi = (e, t, s) => Math.max(t, Math.min(e, s)), Ei = (e) => typeof e == "number", Ai = (e, t) => e.reduce((s, r, n) => {
|
|
6
|
+
const a = Math.floor(n / t);
|
|
7
|
+
return (s[a] || (s[a] = [])).push(r), s;
|
|
8
|
+
}, []), ji = (e, t) => e.reduce(
|
|
9
|
+
(s, r) => ((s[t(r)] = s[t(r)] || []).push(r), s),
|
|
10
10
|
{}
|
|
11
|
-
),
|
|
11
|
+
), Vi = (e, t) => [...e].sort((s, r) => t(s) < t(r) ? -1 : t(s) > t(r) ? 1 : 0), Gi = (e, t, s = (r) => r) => e.filter((r) => t.some((n) => s(n) === s(r))), $i = (e, t, s = (r) => r) => e.filter((r) => !t.some((n) => s(n) === s(r))), zi = (e, t) => [...new Set(e.map((s) => t(s)))], Zi = (e) => {
|
|
12
12
|
for (let t = e.length - 1; t > 0; t--) {
|
|
13
|
-
const
|
|
14
|
-
[e[t], e[
|
|
13
|
+
const s = Math.floor(Math.random() * (t + 1));
|
|
14
|
+
[e[t], e[s]] = [e[s], e[t]];
|
|
15
15
|
}
|
|
16
16
|
return e;
|
|
17
|
-
},
|
|
17
|
+
}, Bi = (e) => e.filter((t) => t != null), qi = (e, t, s) => [
|
|
18
18
|
...e,
|
|
19
|
-
...
|
|
20
|
-
],
|
|
21
|
-
if (
|
|
19
|
+
...Rt(t, s)
|
|
20
|
+
], Ji = (e, t, s) => [...Rt(t, s), ...e], Qi = (e, t, s) => [...e, ...Ts(t, s)], Rt = (e, t) => t ? [e] : [], Ts = (e, t) => t ? e : [], Xi = (e) => e[Os(0, e.length)], Ki = ({ start: e = 0, stop: t, step: s = 1 }) => {
|
|
21
|
+
if (s === 0)
|
|
22
22
|
throw new RangeError("step cannot be equal to 0");
|
|
23
|
-
if (
|
|
23
|
+
if (s > 0 && e >= t || s < 0 && e <= t)
|
|
24
24
|
return [];
|
|
25
|
-
const
|
|
26
|
-
for (let
|
|
27
|
-
|
|
28
|
-
return
|
|
29
|
-
},
|
|
30
|
-
const t = e.split(" "),
|
|
31
|
-
let
|
|
32
|
-
for (let
|
|
25
|
+
const n = [];
|
|
26
|
+
for (let a = e; s > 0 ? a < t : a > t; a += s)
|
|
27
|
+
n.push(a);
|
|
28
|
+
return n;
|
|
29
|
+
}, eo = (e) => Object.fromEntries(e), bs = " ", xs = " ", to = (e, t = "") => e.split(t).join(bs), so = (e, t = "") => e.split(t).join(xs), ro = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Ws = (e) => e && e[0].toUpperCase() + e.slice(1), Ft = (e) => e.split(" ").map(Ws).join(" "), no = (e) => /^\d+$/.test(e), ao = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, io = (e) => e.trim().replace(/\s+/gi, " "), oo = (e) => {
|
|
30
|
+
const t = e.split(" "), r = ((n) => {
|
|
31
|
+
let a = 1 / 0;
|
|
32
|
+
for (let i = 0; i < n.length; i++) {
|
|
33
33
|
const u = Math.abs(
|
|
34
|
-
|
|
34
|
+
n.slice(0, i + 1).join(" ").length - n.slice(i + 1).join(" ").length
|
|
35
35
|
);
|
|
36
|
-
if (u <=
|
|
37
|
-
|
|
36
|
+
if (u <= a)
|
|
37
|
+
a = u;
|
|
38
38
|
else
|
|
39
|
-
return
|
|
39
|
+
return i - 1;
|
|
40
40
|
}
|
|
41
|
-
return
|
|
41
|
+
return a;
|
|
42
42
|
})(t);
|
|
43
|
-
return t.length === 1 ? [t[0]] : [t.slice(0,
|
|
44
|
-
(
|
|
43
|
+
return t.length === 1 ? [t[0]] : [t.slice(0, r + 1), t.slice(r + 1)].map(
|
|
44
|
+
(n) => n.join(" ")
|
|
45
45
|
);
|
|
46
|
-
},
|
|
46
|
+
}, Ns = (e) => typeof e == "string", Ps = (e) => {
|
|
47
47
|
const t = e.replace(
|
|
48
48
|
/[^a-zA-Z0-9]+(.)/g,
|
|
49
|
-
(
|
|
49
|
+
(s, r) => r.toUpperCase()
|
|
50
50
|
);
|
|
51
51
|
return `${t.charAt(0).toLowerCase()}${t.slice(1)}`;
|
|
52
|
-
},
|
|
53
|
-
const t =
|
|
52
|
+
}, lo = (e) => {
|
|
53
|
+
const t = Ps(e);
|
|
54
54
|
return `${t.charAt(0).toUpperCase()}${t.slice(1)}`;
|
|
55
|
-
},
|
|
55
|
+
}, uo = (e) => e != null, ho = (e) => Ns(e) ? /^[\],:{}\s]*$/.test(
|
|
56
56
|
e.replace(/\\["\\\/bfnrtu]/g, "@").replace(
|
|
57
57
|
/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
|
|
58
58
|
"]"
|
|
@@ -63,55 +63,55 @@ const In = (e) => new Intl.NumberFormat("de-DE").format(e), br = (e, t, r = Math
|
|
|
63
63
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
64
64
|
//! license : MIT
|
|
65
65
|
//! momentjs.com
|
|
66
|
-
var
|
|
66
|
+
var Lt;
|
|
67
67
|
function l() {
|
|
68
|
-
return
|
|
68
|
+
return Lt.apply(null, arguments);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
70
|
+
function Rs(e) {
|
|
71
|
+
Lt = e;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function R(e) {
|
|
74
74
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function se(e) {
|
|
77
77
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function w(e, t) {
|
|
80
80
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function rt(e) {
|
|
83
83
|
if (Object.getOwnPropertyNames)
|
|
84
84
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
85
85
|
var t;
|
|
86
86
|
for (t in e)
|
|
87
|
-
if (
|
|
87
|
+
if (w(e, t))
|
|
88
88
|
return !1;
|
|
89
89
|
return !0;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function T(e) {
|
|
92
92
|
return e === void 0;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Z(e) {
|
|
95
95
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Se(e) {
|
|
98
98
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
99
99
|
}
|
|
100
|
-
function
|
|
101
|
-
var
|
|
102
|
-
for (
|
|
103
|
-
|
|
104
|
-
return
|
|
100
|
+
function Ct(e, t) {
|
|
101
|
+
var s = [], r, n = e.length;
|
|
102
|
+
for (r = 0; r < n; ++r)
|
|
103
|
+
s.push(t(e[r], r));
|
|
104
|
+
return s;
|
|
105
105
|
}
|
|
106
106
|
function Q(e, t) {
|
|
107
|
-
for (var
|
|
108
|
-
|
|
109
|
-
return
|
|
107
|
+
for (var s in t)
|
|
108
|
+
w(t, s) && (e[s] = t[s]);
|
|
109
|
+
return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
110
110
|
}
|
|
111
|
-
function U(e, t,
|
|
112
|
-
return
|
|
111
|
+
function U(e, t, s, r) {
|
|
112
|
+
return as(e, t, s, r, !0).utc();
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Fs() {
|
|
115
115
|
return {
|
|
116
116
|
empty: !1,
|
|
117
117
|
unusedTokens: [],
|
|
@@ -131,109 +131,109 @@ function Fr() {
|
|
|
131
131
|
weekdayMismatch: !1
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return e._pf == null && (e._pf =
|
|
134
|
+
function c(e) {
|
|
135
|
+
return e._pf == null && (e._pf = Fs()), e._pf;
|
|
136
136
|
}
|
|
137
137
|
var Je;
|
|
138
138
|
Array.prototype.some ? Je = Array.prototype.some : Je = function(e) {
|
|
139
|
-
var t = Object(this),
|
|
140
|
-
for (
|
|
141
|
-
if (
|
|
139
|
+
var t = Object(this), s = t.length >>> 0, r;
|
|
140
|
+
for (r = 0; r < s; r++)
|
|
141
|
+
if (r in t && e.call(this, t[r], r, t))
|
|
142
142
|
return !0;
|
|
143
143
|
return !1;
|
|
144
144
|
};
|
|
145
|
-
function
|
|
146
|
-
var t = null,
|
|
147
|
-
if (
|
|
148
|
-
return
|
|
149
|
-
}),
|
|
150
|
-
e._isValid =
|
|
145
|
+
function nt(e) {
|
|
146
|
+
var t = null, s = !1, r = e._d && !isNaN(e._d.getTime());
|
|
147
|
+
if (r && (t = c(e), s = Je.call(t.parsedDateParts, function(n) {
|
|
148
|
+
return n != null;
|
|
149
|
+
}), r = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && s), e._strict && (r = r && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
150
|
+
e._isValid = r;
|
|
151
151
|
else
|
|
152
|
-
return
|
|
152
|
+
return r;
|
|
153
153
|
return e._isValid;
|
|
154
154
|
}
|
|
155
155
|
function Fe(e) {
|
|
156
156
|
var t = U(NaN);
|
|
157
|
-
return e != null ? Q(
|
|
158
|
-
}
|
|
159
|
-
var
|
|
160
|
-
function
|
|
161
|
-
var r,
|
|
162
|
-
if (
|
|
163
|
-
for (
|
|
164
|
-
|
|
157
|
+
return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
|
|
158
|
+
}
|
|
159
|
+
var Ot = l.momentProperties = [], $e = !1;
|
|
160
|
+
function at(e, t) {
|
|
161
|
+
var s, r, n, a = Ot.length;
|
|
162
|
+
if (T(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), T(t._i) || (e._i = t._i), T(t._f) || (e._f = t._f), T(t._l) || (e._l = t._l), T(t._strict) || (e._strict = t._strict), T(t._tzm) || (e._tzm = t._tzm), T(t._isUTC) || (e._isUTC = t._isUTC), T(t._offset) || (e._offset = t._offset), T(t._pf) || (e._pf = c(t)), T(t._locale) || (e._locale = t._locale), a > 0)
|
|
163
|
+
for (s = 0; s < a; s++)
|
|
164
|
+
r = Ot[s], n = t[r], T(n) || (e[r] = n);
|
|
165
165
|
return e;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
167
|
+
function ke(e) {
|
|
168
|
+
at(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);
|
|
169
169
|
}
|
|
170
170
|
function F(e) {
|
|
171
|
-
return e instanceof
|
|
171
|
+
return e instanceof ke || e != null && e._isAMomentObject != null;
|
|
172
172
|
}
|
|
173
173
|
function It(e) {
|
|
174
174
|
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
var
|
|
176
|
+
function W(e, t) {
|
|
177
|
+
var s = !0;
|
|
178
178
|
return Q(function() {
|
|
179
|
-
if (l.deprecationHandler != null && l.deprecationHandler(null, e),
|
|
180
|
-
var
|
|
181
|
-
for (
|
|
182
|
-
if (
|
|
183
|
-
|
|
184
|
-
[` +
|
|
185
|
-
for (
|
|
186
|
-
|
|
187
|
-
|
|
179
|
+
if (l.deprecationHandler != null && l.deprecationHandler(null, e), s) {
|
|
180
|
+
var r = [], n, a, i, u = arguments.length;
|
|
181
|
+
for (a = 0; a < u; a++) {
|
|
182
|
+
if (n = "", typeof arguments[a] == "object") {
|
|
183
|
+
n += `
|
|
184
|
+
[` + a + "] ";
|
|
185
|
+
for (i in arguments[0])
|
|
186
|
+
w(arguments[0], i) && (n += i + ": " + arguments[0][i] + ", ");
|
|
187
|
+
n = n.slice(0, -2);
|
|
188
188
|
} else
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
n = arguments[a];
|
|
190
|
+
r.push(n);
|
|
191
191
|
}
|
|
192
192
|
It(
|
|
193
193
|
e + `
|
|
194
|
-
Arguments: ` + Array.prototype.slice.call(
|
|
194
|
+
Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
195
195
|
` + new Error().stack
|
|
196
|
-
),
|
|
196
|
+
), s = !1;
|
|
197
197
|
}
|
|
198
198
|
return t.apply(this, arguments);
|
|
199
199
|
}, t);
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var Tt = {};
|
|
202
202
|
function Ut(e, t) {
|
|
203
|
-
l.deprecationHandler != null && l.deprecationHandler(e, t),
|
|
203
|
+
l.deprecationHandler != null && l.deprecationHandler(e, t), Tt[e] || (It(t), Tt[e] = !0);
|
|
204
204
|
}
|
|
205
205
|
l.suppressDeprecationWarnings = !1;
|
|
206
206
|
l.deprecationHandler = null;
|
|
207
207
|
function H(e) {
|
|
208
208
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
var t,
|
|
212
|
-
for (
|
|
213
|
-
|
|
210
|
+
function Ls(e) {
|
|
211
|
+
var t, s;
|
|
212
|
+
for (s in e)
|
|
213
|
+
w(e, s) && (t = e[s], H(t) ? this[s] = t : this["_" + s] = t);
|
|
214
214
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
215
215
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
218
|
function Qe(e, t) {
|
|
219
|
-
var
|
|
220
|
-
for (
|
|
221
|
-
|
|
222
|
-
for (
|
|
223
|
-
|
|
224
|
-
return
|
|
219
|
+
var s = Q({}, e), r;
|
|
220
|
+
for (r in t)
|
|
221
|
+
w(t, r) && (se(e[r]) && se(t[r]) ? (s[r] = {}, Q(s[r], e[r]), Q(s[r], t[r])) : t[r] != null ? s[r] = t[r] : delete s[r]);
|
|
222
|
+
for (r in e)
|
|
223
|
+
w(e, r) && !w(t, r) && se(e[r]) && (s[r] = Q({}, s[r]));
|
|
224
|
+
return s;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function it(e) {
|
|
227
227
|
e != null && this.set(e);
|
|
228
228
|
}
|
|
229
|
-
var
|
|
230
|
-
Object.keys ?
|
|
231
|
-
var t,
|
|
229
|
+
var Xe;
|
|
230
|
+
Object.keys ? Xe = Object.keys : Xe = function(e) {
|
|
231
|
+
var t, s = [];
|
|
232
232
|
for (t in e)
|
|
233
|
-
|
|
234
|
-
return
|
|
233
|
+
w(e, t) && s.push(t);
|
|
234
|
+
return s;
|
|
235
235
|
};
|
|
236
|
-
var
|
|
236
|
+
var Cs = {
|
|
237
237
|
sameDay: "[Today at] LT",
|
|
238
238
|
nextDay: "[Tomorrow at] LT",
|
|
239
239
|
nextWeek: "dddd [at] LT",
|
|
@@ -241,58 +241,58 @@ var Lr = {
|
|
|
241
241
|
lastWeek: "[Last] dddd [at] LT",
|
|
242
242
|
sameElse: "L"
|
|
243
243
|
};
|
|
244
|
-
function
|
|
245
|
-
var
|
|
246
|
-
return H(
|
|
247
|
-
}
|
|
248
|
-
function I(e, t,
|
|
249
|
-
var
|
|
250
|
-
return (
|
|
251
|
-
}
|
|
252
|
-
var ot = /(\[[^\[]*\])|(\\)?([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,
|
|
253
|
-
function
|
|
254
|
-
var
|
|
255
|
-
typeof
|
|
256
|
-
return this[
|
|
257
|
-
}), e && (oe[e] =
|
|
258
|
-
return I(
|
|
259
|
-
}),
|
|
244
|
+
function Is(e, t, s) {
|
|
245
|
+
var r = this._calendar[e] || this._calendar.sameElse;
|
|
246
|
+
return H(r) ? r.call(t, s) : r;
|
|
247
|
+
}
|
|
248
|
+
function I(e, t, s) {
|
|
249
|
+
var r = "" + Math.abs(e), n = t - r.length, a = e >= 0;
|
|
250
|
+
return (a ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + r;
|
|
251
|
+
}
|
|
252
|
+
var ot = /(\[[^\[]*\])|(\\)?([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, ze = {}, oe = {};
|
|
253
|
+
function h(e, t, s, r) {
|
|
254
|
+
var n = r;
|
|
255
|
+
typeof r == "string" && (n = function() {
|
|
256
|
+
return this[r]();
|
|
257
|
+
}), e && (oe[e] = n), t && (oe[t[0]] = function() {
|
|
258
|
+
return I(n.apply(this, arguments), t[1], t[2]);
|
|
259
|
+
}), s && (oe[s] = function() {
|
|
260
260
|
return this.localeData().ordinal(
|
|
261
|
-
|
|
261
|
+
n.apply(this, arguments),
|
|
262
262
|
e
|
|
263
263
|
);
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Us(e) {
|
|
267
267
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
var t = e.match(ot),
|
|
271
|
-
for (
|
|
272
|
-
oe[t[
|
|
273
|
-
return function(
|
|
274
|
-
var
|
|
275
|
-
for (
|
|
276
|
-
|
|
277
|
-
return
|
|
269
|
+
function Hs(e) {
|
|
270
|
+
var t = e.match(ot), s, r;
|
|
271
|
+
for (s = 0, r = t.length; s < r; s++)
|
|
272
|
+
oe[t[s]] ? t[s] = oe[t[s]] : t[s] = Us(t[s]);
|
|
273
|
+
return function(n) {
|
|
274
|
+
var a = "", i;
|
|
275
|
+
for (i = 0; i < r; i++)
|
|
276
|
+
a += H(t[i]) ? t[i].call(n, e) : t[i];
|
|
277
|
+
return a;
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return e.isValid() ? (t = Ht(t, e.localeData()),
|
|
280
|
+
function Oe(e, t) {
|
|
281
|
+
return e.isValid() ? (t = Ht(t, e.localeData()), ze[t] = ze[t] || Hs(t), ze[t](e)) : e.localeData().invalidDate();
|
|
282
282
|
}
|
|
283
283
|
function Ht(e, t) {
|
|
284
|
-
var
|
|
285
|
-
function
|
|
286
|
-
return t.longDateFormat(
|
|
284
|
+
var s = 5;
|
|
285
|
+
function r(n) {
|
|
286
|
+
return t.longDateFormat(n) || n;
|
|
287
287
|
}
|
|
288
|
-
for (
|
|
288
|
+
for (ve.lastIndex = 0; s >= 0 && ve.test(e); )
|
|
289
289
|
e = e.replace(
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
),
|
|
290
|
+
ve,
|
|
291
|
+
r
|
|
292
|
+
), ve.lastIndex = 0, s -= 1;
|
|
293
293
|
return e;
|
|
294
294
|
}
|
|
295
|
-
var
|
|
295
|
+
var Es = {
|
|
296
296
|
LTS: "h:mm:ss A",
|
|
297
297
|
LT: "h:mm A",
|
|
298
298
|
L: "MM/DD/YYYY",
|
|
@@ -300,21 +300,21 @@ var Er = {
|
|
|
300
300
|
LLL: "MMMM D, YYYY h:mm A",
|
|
301
301
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
302
302
|
};
|
|
303
|
-
function
|
|
304
|
-
var t = this._longDateFormat[e],
|
|
305
|
-
return t || !
|
|
306
|
-
return
|
|
303
|
+
function As(e) {
|
|
304
|
+
var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
|
|
305
|
+
return t || !s ? t : (this._longDateFormat[e] = s.match(ot).map(function(r) {
|
|
306
|
+
return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
|
|
307
307
|
}).join(""), this._longDateFormat[e]);
|
|
308
308
|
}
|
|
309
|
-
var
|
|
310
|
-
function
|
|
309
|
+
var js = "Invalid date";
|
|
310
|
+
function Vs() {
|
|
311
311
|
return this._invalidDate;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
function
|
|
313
|
+
var Gs = "%d", $s = /\d{1,2}/;
|
|
314
|
+
function zs(e) {
|
|
315
315
|
return this._ordinal.replace("%d", e);
|
|
316
316
|
}
|
|
317
|
-
var
|
|
317
|
+
var Zs = {
|
|
318
318
|
future: "in %s",
|
|
319
319
|
past: "%s ago",
|
|
320
320
|
s: "a few seconds",
|
|
@@ -332,15 +332,15 @@ var qr = {
|
|
|
332
332
|
y: "a year",
|
|
333
333
|
yy: "%d years"
|
|
334
334
|
};
|
|
335
|
-
function
|
|
336
|
-
var
|
|
337
|
-
return H(
|
|
335
|
+
function Bs(e, t, s, r) {
|
|
336
|
+
var n = this._relativeTime[s];
|
|
337
|
+
return H(n) ? n(e, t, s, r) : n.replace(/%d/i, e);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
340
|
-
var
|
|
341
|
-
return H(
|
|
339
|
+
function qs(e, t) {
|
|
340
|
+
var s = this._relativeTime[e > 0 ? "future" : "past"];
|
|
341
|
+
return H(s) ? s(t) : s.replace(/%s/i, t);
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var bt = {
|
|
344
344
|
D: "date",
|
|
345
345
|
dates: "date",
|
|
346
346
|
date: "date",
|
|
@@ -390,16 +390,16 @@ var Tt = {
|
|
|
390
390
|
years: "year",
|
|
391
391
|
year: "year"
|
|
392
392
|
};
|
|
393
|
-
function
|
|
394
|
-
return typeof e == "string" ?
|
|
393
|
+
function N(e) {
|
|
394
|
+
return typeof e == "string" ? bt[e] || bt[e.toLowerCase()] : void 0;
|
|
395
395
|
}
|
|
396
396
|
function lt(e) {
|
|
397
|
-
var t = {},
|
|
398
|
-
for (
|
|
399
|
-
|
|
397
|
+
var t = {}, s, r;
|
|
398
|
+
for (r in e)
|
|
399
|
+
w(e, r) && (s = N(r), s && (t[s] = e[r]));
|
|
400
400
|
return t;
|
|
401
401
|
}
|
|
402
|
-
var
|
|
402
|
+
var Js = {
|
|
403
403
|
date: 9,
|
|
404
404
|
day: 11,
|
|
405
405
|
weekday: 11,
|
|
@@ -417,169 +417,169 @@ var Jr = {
|
|
|
417
417
|
isoWeek: 5,
|
|
418
418
|
year: 1
|
|
419
419
|
};
|
|
420
|
-
function
|
|
421
|
-
var t = [],
|
|
422
|
-
for (
|
|
423
|
-
|
|
424
|
-
return t.sort(function(
|
|
425
|
-
return
|
|
420
|
+
function Qs(e) {
|
|
421
|
+
var t = [], s;
|
|
422
|
+
for (s in e)
|
|
423
|
+
w(e, s) && t.push({ unit: s, priority: Js[s] });
|
|
424
|
+
return t.sort(function(r, n) {
|
|
425
|
+
return r.priority - n.priority;
|
|
426
426
|
}), t;
|
|
427
427
|
}
|
|
428
|
-
var Et = /\d/,
|
|
428
|
+
var Et = /\d/, b = /\d\d/, At = /\d{3}/, ut = /\d{4}/, Le = /[+-]?\d{6}/, k = /\d\d?/, jt = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ce = /\d{1,3}/, dt = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, de = /\d+/, Ue = /[+-]?\d+/, Xs = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, Ks = /[+-]?\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?/, ht = /^([1-9]\d|\d)/, xe;
|
|
429
429
|
xe = {};
|
|
430
|
-
function d(e, t,
|
|
431
|
-
xe[e] = H(t) ? t : function(
|
|
432
|
-
return
|
|
430
|
+
function d(e, t, s) {
|
|
431
|
+
xe[e] = H(t) ? t : function(r, n) {
|
|
432
|
+
return r && s ? s : t;
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
return
|
|
435
|
+
function er(e, t) {
|
|
436
|
+
return w(xe, e) ? xe[e](t._strict, t._locale) : new RegExp(tr(e));
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
return
|
|
438
|
+
function tr(e) {
|
|
439
|
+
return $(
|
|
440
440
|
e.replace("\\", "").replace(
|
|
441
441
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
442
|
-
function(t, r,
|
|
443
|
-
return
|
|
442
|
+
function(t, s, r, n, a) {
|
|
443
|
+
return s || r || n || a;
|
|
444
444
|
}
|
|
445
445
|
)
|
|
446
446
|
);
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function $(e) {
|
|
449
449
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
450
450
|
}
|
|
451
451
|
function x(e) {
|
|
452
452
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
var t = +e,
|
|
456
|
-
return t !== 0 && isFinite(t) && (
|
|
457
|
-
}
|
|
458
|
-
var
|
|
459
|
-
function
|
|
460
|
-
var
|
|
461
|
-
for (typeof e == "string" && (e = [e]),
|
|
462
|
-
|
|
463
|
-
}),
|
|
464
|
-
|
|
465
|
-
}
|
|
466
|
-
function
|
|
467
|
-
|
|
468
|
-
|
|
454
|
+
function m(e) {
|
|
455
|
+
var t = +e, s = 0;
|
|
456
|
+
return t !== 0 && isFinite(t) && (s = x(t)), s;
|
|
457
|
+
}
|
|
458
|
+
var Ke = {};
|
|
459
|
+
function g(e, t) {
|
|
460
|
+
var s, r = t, n;
|
|
461
|
+
for (typeof e == "string" && (e = [e]), Z(t) && (r = function(a, i) {
|
|
462
|
+
i[t] = m(a);
|
|
463
|
+
}), n = e.length, s = 0; s < n; s++)
|
|
464
|
+
Ke[e[s]] = r;
|
|
465
|
+
}
|
|
466
|
+
function pe(e, t) {
|
|
467
|
+
g(e, function(s, r, n, a) {
|
|
468
|
+
n._w = n._w || {}, t(s, n._w, n, a);
|
|
469
469
|
});
|
|
470
470
|
}
|
|
471
|
-
function
|
|
472
|
-
t != null &&
|
|
471
|
+
function sr(e, t, s) {
|
|
472
|
+
t != null && w(Ke, e) && Ke[e](t, s._a, s, e);
|
|
473
473
|
}
|
|
474
474
|
function Ee(e) {
|
|
475
475
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
476
476
|
}
|
|
477
|
-
var Y = 0,
|
|
478
|
-
|
|
477
|
+
var Y = 0, V = 1, C = 2, v = 3, P = 4, G = 5, te = 6, rr = 7, nr = 8;
|
|
478
|
+
h("Y", 0, 0, function() {
|
|
479
479
|
var e = this.year();
|
|
480
480
|
return e <= 9999 ? I(e, 4) : "+" + e;
|
|
481
481
|
});
|
|
482
|
-
|
|
482
|
+
h(0, ["YY", 2], 0, function() {
|
|
483
483
|
return this.year() % 100;
|
|
484
484
|
});
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
485
|
+
h(0, ["YYYY", 4], 0, "year");
|
|
486
|
+
h(0, ["YYYYY", 5], 0, "year");
|
|
487
|
+
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
488
488
|
d("Y", Ue);
|
|
489
|
-
d("YY",
|
|
489
|
+
d("YY", k, b);
|
|
490
490
|
d("YYYY", dt, ut);
|
|
491
|
-
d("YYYYY", Ie,
|
|
492
|
-
d("YYYYYY", Ie,
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) :
|
|
491
|
+
d("YYYYY", Ie, Le);
|
|
492
|
+
d("YYYYYY", Ie, Le);
|
|
493
|
+
g(["YYYYY", "YYYYYY"], Y);
|
|
494
|
+
g("YYYY", function(e, t) {
|
|
495
|
+
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
|
496
496
|
});
|
|
497
|
-
|
|
497
|
+
g("YY", function(e, t) {
|
|
498
498
|
t[Y] = l.parseTwoDigitYear(e);
|
|
499
499
|
});
|
|
500
|
-
|
|
500
|
+
g("Y", function(e, t) {
|
|
501
501
|
t[Y] = parseInt(e, 10);
|
|
502
502
|
});
|
|
503
|
-
function
|
|
503
|
+
function _e(e) {
|
|
504
504
|
return Ee(e) ? 366 : 365;
|
|
505
505
|
}
|
|
506
506
|
l.parseTwoDigitYear = function(e) {
|
|
507
|
-
return
|
|
507
|
+
return m(e) + (m(e) > 68 ? 1900 : 2e3);
|
|
508
508
|
};
|
|
509
|
-
var
|
|
510
|
-
function
|
|
509
|
+
var Gt = fe("FullYear", !0);
|
|
510
|
+
function ar() {
|
|
511
511
|
return Ee(this.year());
|
|
512
512
|
}
|
|
513
513
|
function fe(e, t) {
|
|
514
|
-
return function(
|
|
515
|
-
return
|
|
514
|
+
return function(s) {
|
|
515
|
+
return s != null ? ($t(this, e, s), l.updateOffset(this, t), this) : ye(this, e);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
518
|
function ye(e, t) {
|
|
519
519
|
if (!e.isValid())
|
|
520
520
|
return NaN;
|
|
521
|
-
var
|
|
521
|
+
var s = e._d, r = e._isUTC;
|
|
522
522
|
switch (t) {
|
|
523
523
|
case "Milliseconds":
|
|
524
|
-
return
|
|
524
|
+
return r ? s.getUTCMilliseconds() : s.getMilliseconds();
|
|
525
525
|
case "Seconds":
|
|
526
|
-
return
|
|
526
|
+
return r ? s.getUTCSeconds() : s.getSeconds();
|
|
527
527
|
case "Minutes":
|
|
528
|
-
return
|
|
528
|
+
return r ? s.getUTCMinutes() : s.getMinutes();
|
|
529
529
|
case "Hours":
|
|
530
|
-
return
|
|
530
|
+
return r ? s.getUTCHours() : s.getHours();
|
|
531
531
|
case "Date":
|
|
532
|
-
return
|
|
532
|
+
return r ? s.getUTCDate() : s.getDate();
|
|
533
533
|
case "Day":
|
|
534
|
-
return
|
|
534
|
+
return r ? s.getUTCDay() : s.getDay();
|
|
535
535
|
case "Month":
|
|
536
|
-
return
|
|
536
|
+
return r ? s.getUTCMonth() : s.getMonth();
|
|
537
537
|
case "FullYear":
|
|
538
|
-
return
|
|
538
|
+
return r ? s.getUTCFullYear() : s.getFullYear();
|
|
539
539
|
default:
|
|
540
540
|
return NaN;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function
|
|
544
|
-
var
|
|
545
|
-
if (!(!e.isValid() || isNaN(
|
|
546
|
-
switch (
|
|
543
|
+
function $t(e, t, s) {
|
|
544
|
+
var r, n, a, i, u;
|
|
545
|
+
if (!(!e.isValid() || isNaN(s))) {
|
|
546
|
+
switch (r = e._d, n = e._isUTC, t) {
|
|
547
547
|
case "Milliseconds":
|
|
548
|
-
return void (
|
|
548
|
+
return void (n ? r.setUTCMilliseconds(s) : r.setMilliseconds(s));
|
|
549
549
|
case "Seconds":
|
|
550
|
-
return void (
|
|
550
|
+
return void (n ? r.setUTCSeconds(s) : r.setSeconds(s));
|
|
551
551
|
case "Minutes":
|
|
552
|
-
return void (
|
|
552
|
+
return void (n ? r.setUTCMinutes(s) : r.setMinutes(s));
|
|
553
553
|
case "Hours":
|
|
554
|
-
return void (
|
|
554
|
+
return void (n ? r.setUTCHours(s) : r.setHours(s));
|
|
555
555
|
case "Date":
|
|
556
|
-
return void (
|
|
556
|
+
return void (n ? r.setUTCDate(s) : r.setDate(s));
|
|
557
557
|
case "FullYear":
|
|
558
558
|
break;
|
|
559
559
|
default:
|
|
560
560
|
return;
|
|
561
561
|
}
|
|
562
|
-
|
|
562
|
+
a = s, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !Ee(a) ? 28 : u, n ? r.setUTCFullYear(a, i, u) : r.setFullYear(a, i, u);
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
function
|
|
566
|
-
return e =
|
|
565
|
+
function ir(e) {
|
|
566
|
+
return e = N(e), H(this[e]) ? this[e]() : this;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function or(e, t) {
|
|
569
569
|
if (typeof e == "object") {
|
|
570
570
|
e = lt(e);
|
|
571
|
-
var
|
|
572
|
-
for (
|
|
573
|
-
this[r
|
|
574
|
-
} else if (e =
|
|
571
|
+
var s = Qs(e), r, n = s.length;
|
|
572
|
+
for (r = 0; r < n; r++)
|
|
573
|
+
this[s[r].unit](e[s[r].unit]);
|
|
574
|
+
} else if (e = N(e), H(this[e]))
|
|
575
575
|
return this[e](t);
|
|
576
576
|
return this;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function lr(e, t) {
|
|
579
579
|
return (e % t + t) % t;
|
|
580
580
|
}
|
|
581
|
-
var
|
|
582
|
-
Array.prototype.indexOf ?
|
|
581
|
+
var p;
|
|
582
|
+
Array.prototype.indexOf ? p = Array.prototype.indexOf : p = function(e) {
|
|
583
583
|
var t;
|
|
584
584
|
for (t = 0; t < this.length; ++t)
|
|
585
585
|
if (this[t] === e)
|
|
@@ -589,190 +589,190 @@ Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
|
|
|
589
589
|
function ft(e, t) {
|
|
590
590
|
if (isNaN(e) || isNaN(t))
|
|
591
591
|
return NaN;
|
|
592
|
-
var
|
|
593
|
-
return e += (t -
|
|
592
|
+
var s = lr(t, 12);
|
|
593
|
+
return e += (t - s) / 12, s === 1 ? Ee(e) ? 29 : 28 : 31 - s % 7 % 2;
|
|
594
594
|
}
|
|
595
|
-
|
|
595
|
+
h("M", ["MM", 2], "Mo", function() {
|
|
596
596
|
return this.month() + 1;
|
|
597
597
|
});
|
|
598
|
-
|
|
598
|
+
h("MMM", 0, 0, function(e) {
|
|
599
599
|
return this.localeData().monthsShort(this, e);
|
|
600
600
|
});
|
|
601
|
-
|
|
601
|
+
h("MMMM", 0, 0, function(e) {
|
|
602
602
|
return this.localeData().months(this, e);
|
|
603
603
|
});
|
|
604
|
-
d("M",
|
|
605
|
-
d("MM",
|
|
604
|
+
d("M", k, he);
|
|
605
|
+
d("MM", k, b);
|
|
606
606
|
d("MMM", function(e, t) {
|
|
607
607
|
return t.monthsShortRegex(e);
|
|
608
608
|
});
|
|
609
609
|
d("MMMM", function(e, t) {
|
|
610
610
|
return t.monthsRegex(e);
|
|
611
611
|
});
|
|
612
|
-
|
|
613
|
-
t[
|
|
612
|
+
g(["M", "MM"], function(e, t) {
|
|
613
|
+
t[V] = m(e) - 1;
|
|
614
614
|
});
|
|
615
|
-
|
|
616
|
-
var
|
|
617
|
-
|
|
615
|
+
g(["MMM", "MMMM"], function(e, t, s, r) {
|
|
616
|
+
var n = s._locale.monthsParse(e, r, s._strict);
|
|
617
|
+
n != null ? t[V] = n : c(s).invalidMonth = e;
|
|
618
618
|
});
|
|
619
|
-
var
|
|
619
|
+
var ur = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
620
620
|
"_"
|
|
621
|
-
),
|
|
622
|
-
function
|
|
623
|
-
return e ?
|
|
621
|
+
), zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Zt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, dr = De, hr = De;
|
|
622
|
+
function fr(e, t) {
|
|
623
|
+
return e ? R(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Zt).test(t) ? "format" : "standalone"][e.month()] : R(this._months) ? this._months : this._months.standalone;
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return e ?
|
|
625
|
+
function cr(e, t) {
|
|
626
|
+
return e ? R(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Zt.test(t) ? "format" : "standalone"][e.month()] : R(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
var
|
|
628
|
+
function mr(e, t, s) {
|
|
629
|
+
var r, n, a, i = e.toLocaleLowerCase();
|
|
630
630
|
if (!this._monthsParse)
|
|
631
|
-
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [],
|
|
632
|
-
|
|
633
|
-
|
|
631
|
+
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
632
|
+
a = U([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
|
|
633
|
+
a,
|
|
634
634
|
""
|
|
635
|
-
).toLocaleLowerCase(), this._longMonthsParse[
|
|
636
|
-
return
|
|
635
|
+
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(a, "").toLocaleLowerCase();
|
|
636
|
+
return s ? t === "MMM" ? (n = p.call(this._shortMonthsParse, i), n !== -1 ? n : null) : (n = p.call(this._longMonthsParse, i), n !== -1 ? n : null) : t === "MMM" ? (n = p.call(this._shortMonthsParse, i), n !== -1 ? n : (n = p.call(this._longMonthsParse, i), n !== -1 ? n : null)) : (n = p.call(this._longMonthsParse, i), n !== -1 ? n : (n = p.call(this._shortMonthsParse, i), n !== -1 ? n : null));
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
var
|
|
638
|
+
function _r(e, t, s) {
|
|
639
|
+
var r, n, a;
|
|
640
640
|
if (this._monthsParseExact)
|
|
641
|
-
return
|
|
642
|
-
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []),
|
|
643
|
-
if (
|
|
644
|
-
"^" + this.months(
|
|
641
|
+
return mr.call(this, e, t, s);
|
|
642
|
+
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
|
|
643
|
+
if (n = U([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
644
|
+
"^" + this.months(n, "").replace(".", "") + "$",
|
|
645
645
|
"i"
|
|
646
|
-
), this._shortMonthsParse[
|
|
647
|
-
"^" + this.monthsShort(
|
|
646
|
+
), this._shortMonthsParse[r] = new RegExp(
|
|
647
|
+
"^" + this.monthsShort(n, "").replace(".", "") + "$",
|
|
648
648
|
"i"
|
|
649
|
-
)), !
|
|
650
|
-
return
|
|
651
|
-
if (
|
|
652
|
-
return
|
|
653
|
-
if (!
|
|
654
|
-
return
|
|
649
|
+
)), !s && !this._monthsParse[r] && (a = "^" + this.months(n, "") + "|^" + this.monthsShort(n, ""), this._monthsParse[r] = new RegExp(a.replace(".", ""), "i")), s && t === "MMMM" && this._longMonthsParse[r].test(e))
|
|
650
|
+
return r;
|
|
651
|
+
if (s && t === "MMM" && this._shortMonthsParse[r].test(e))
|
|
652
|
+
return r;
|
|
653
|
+
if (!s && this._monthsParse[r].test(e))
|
|
654
|
+
return r;
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function Bt(e, t) {
|
|
658
658
|
if (!e.isValid())
|
|
659
659
|
return e;
|
|
660
660
|
if (typeof t == "string") {
|
|
661
661
|
if (/^\d+$/.test(t))
|
|
662
|
-
t =
|
|
663
|
-
else if (t = e.localeData().monthsParse(t), !
|
|
662
|
+
t = m(t);
|
|
663
|
+
else if (t = e.localeData().monthsParse(t), !Z(t))
|
|
664
664
|
return e;
|
|
665
665
|
}
|
|
666
|
-
var
|
|
667
|
-
return
|
|
666
|
+
var s = t, r = e.date();
|
|
667
|
+
return r = r < 29 ? r : Math.min(r, ft(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
|
|
668
668
|
}
|
|
669
|
-
function
|
|
670
|
-
return e != null ? (
|
|
669
|
+
function qt(e) {
|
|
670
|
+
return e != null ? (Bt(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function yr() {
|
|
673
673
|
return ft(this.year(), this.month());
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
return this._monthsParseExact ? (
|
|
675
|
+
function wr(e) {
|
|
676
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Jt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = dr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
677
677
|
}
|
|
678
|
-
function
|
|
679
|
-
return this._monthsParseExact ? (
|
|
678
|
+
function Mr(e) {
|
|
679
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Jt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = hr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
680
680
|
}
|
|
681
681
|
function Jt() {
|
|
682
|
-
function e(f,
|
|
683
|
-
return
|
|
682
|
+
function e(f, _) {
|
|
683
|
+
return _.length - f.length;
|
|
684
684
|
}
|
|
685
|
-
var t = [],
|
|
686
|
-
for (
|
|
687
|
-
|
|
688
|
-
t.sort(e),
|
|
689
|
-
"^(" +
|
|
685
|
+
var t = [], s = [], r = [], n, a, i, u;
|
|
686
|
+
for (n = 0; n < 12; n++)
|
|
687
|
+
a = U([2e3, n]), i = $(this.monthsShort(a, "")), u = $(this.months(a, "")), t.push(i), s.push(u), r.push(u), r.push(i);
|
|
688
|
+
t.sort(e), s.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
689
|
+
"^(" + s.join("|") + ")",
|
|
690
690
|
"i"
|
|
691
691
|
), this._monthsShortStrictRegex = new RegExp(
|
|
692
692
|
"^(" + t.join("|") + ")",
|
|
693
693
|
"i"
|
|
694
694
|
);
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function gr(e, t, s, r, n, a, i) {
|
|
697
697
|
var u;
|
|
698
|
-
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r,
|
|
698
|
+
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, s, r, n, a, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, s, r, n, a, i), u;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
701
|
-
var t,
|
|
702
|
-
return e < 100 && e >= 0 ? (
|
|
700
|
+
function we(e) {
|
|
701
|
+
var t, s;
|
|
702
|
+
return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
703
703
|
}
|
|
704
|
-
function
|
|
705
|
-
var
|
|
706
|
-
return -
|
|
704
|
+
function We(e, t, s) {
|
|
705
|
+
var r = 7 + t - s, n = (7 + we(e, 0, r).getUTCDay() - t) % 7;
|
|
706
|
+
return -n + r - 1;
|
|
707
707
|
}
|
|
708
|
-
function Qt(e, t,
|
|
709
|
-
var
|
|
710
|
-
return u <= 0 ? (f = e - 1,
|
|
708
|
+
function Qt(e, t, s, r, n) {
|
|
709
|
+
var a = (7 + s - r) % 7, i = We(e, r, n), u = 1 + 7 * (t - 1) + a + i, f, _;
|
|
710
|
+
return u <= 0 ? (f = e - 1, _ = _e(f) + u) : u > _e(e) ? (f = e + 1, _ = u - _e(e)) : (f = e, _ = u), {
|
|
711
711
|
year: f,
|
|
712
|
-
dayOfYear:
|
|
712
|
+
dayOfYear: _
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
var
|
|
717
|
-
return
|
|
718
|
-
week:
|
|
719
|
-
year:
|
|
715
|
+
function Me(e, t, s) {
|
|
716
|
+
var r = We(e.year(), t, s), n = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, a, i;
|
|
717
|
+
return n < 1 ? (i = e.year() - 1, a = n + z(i, t, s)) : n > z(e.year(), t, s) ? (a = n - z(e.year(), t, s), i = e.year() + 1) : (i = e.year(), a = n), {
|
|
718
|
+
week: a,
|
|
719
|
+
year: i
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
|
-
function
|
|
723
|
-
var
|
|
724
|
-
return (
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
d("w",
|
|
729
|
-
d("ww",
|
|
730
|
-
d("W",
|
|
731
|
-
d("WW",
|
|
732
|
-
|
|
722
|
+
function z(e, t, s) {
|
|
723
|
+
var r = We(e, t, s), n = We(e + 1, t, s);
|
|
724
|
+
return (_e(e) - r + n) / 7;
|
|
725
|
+
}
|
|
726
|
+
h("w", ["ww", 2], "wo", "week");
|
|
727
|
+
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
728
|
+
d("w", k, he);
|
|
729
|
+
d("ww", k, b);
|
|
730
|
+
d("W", k, he);
|
|
731
|
+
d("WW", k, b);
|
|
732
|
+
pe(
|
|
733
733
|
["w", "ww", "W", "WW"],
|
|
734
|
-
function(e, t,
|
|
735
|
-
t[
|
|
734
|
+
function(e, t, s, r) {
|
|
735
|
+
t[r.substr(0, 1)] = m(e);
|
|
736
736
|
}
|
|
737
737
|
);
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function Sr(e) {
|
|
739
|
+
return Me(e, this._week.dow, this._week.doy).week;
|
|
740
740
|
}
|
|
741
|
-
var
|
|
741
|
+
var kr = {
|
|
742
742
|
dow: 0,
|
|
743
743
|
// Sunday is the first day of the week.
|
|
744
744
|
doy: 6
|
|
745
745
|
// The week that contains Jan 6th is the first week of the year.
|
|
746
746
|
};
|
|
747
|
-
function
|
|
747
|
+
function Dr() {
|
|
748
748
|
return this._week.dow;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function pr() {
|
|
751
751
|
return this._week.doy;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function vr(e) {
|
|
754
754
|
var t = this.localeData().week(this);
|
|
755
755
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
756
756
|
}
|
|
757
|
-
function
|
|
758
|
-
var t =
|
|
757
|
+
function Yr(e) {
|
|
758
|
+
var t = Me(this, 1, 4).week;
|
|
759
759
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
760
760
|
}
|
|
761
|
-
|
|
762
|
-
|
|
761
|
+
h("d", 0, "do", "day");
|
|
762
|
+
h("dd", 0, 0, function(e) {
|
|
763
763
|
return this.localeData().weekdaysMin(this, e);
|
|
764
764
|
});
|
|
765
|
-
|
|
765
|
+
h("ddd", 0, 0, function(e) {
|
|
766
766
|
return this.localeData().weekdaysShort(this, e);
|
|
767
767
|
});
|
|
768
|
-
|
|
768
|
+
h("dddd", 0, 0, function(e) {
|
|
769
769
|
return this.localeData().weekdays(this, e);
|
|
770
770
|
});
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
d("d",
|
|
774
|
-
d("e",
|
|
775
|
-
d("E",
|
|
771
|
+
h("e", 0, 0, "weekday");
|
|
772
|
+
h("E", 0, 0, "isoWeekday");
|
|
773
|
+
d("d", k);
|
|
774
|
+
d("e", k);
|
|
775
|
+
d("E", k);
|
|
776
776
|
d("dd", function(e, t) {
|
|
777
777
|
return t.weekdaysMinRegex(e);
|
|
778
778
|
});
|
|
@@ -782,141 +782,141 @@ d("ddd", function(e, t) {
|
|
|
782
782
|
d("dddd", function(e, t) {
|
|
783
783
|
return t.weekdaysRegex(e);
|
|
784
784
|
});
|
|
785
|
-
|
|
786
|
-
var
|
|
787
|
-
|
|
785
|
+
pe(["dd", "ddd", "dddd"], function(e, t, s, r) {
|
|
786
|
+
var n = s._locale.weekdaysParse(e, r, s._strict);
|
|
787
|
+
n != null ? t.d = n : c(s).invalidWeekday = e;
|
|
788
788
|
});
|
|
789
|
-
|
|
790
|
-
t[
|
|
789
|
+
pe(["d", "e", "E"], function(e, t, s, r) {
|
|
790
|
+
t[r] = m(e);
|
|
791
791
|
});
|
|
792
|
-
function
|
|
792
|
+
function Or(e, t) {
|
|
793
793
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Tr(e, t) {
|
|
796
796
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function ct(e, t) {
|
|
799
799
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
800
800
|
}
|
|
801
|
-
var
|
|
802
|
-
function
|
|
803
|
-
var
|
|
804
|
-
return e === !0 ?
|
|
801
|
+
var br = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), xr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Wr = De, Nr = De, Pr = De;
|
|
802
|
+
function Rr(e, t) {
|
|
803
|
+
var s = R(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
804
|
+
return e === !0 ? ct(s, this._week.dow) : e ? s[e.day()] : s;
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
return e === !0 ?
|
|
806
|
+
function Fr(e) {
|
|
807
|
+
return e === !0 ? ct(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
808
808
|
}
|
|
809
|
-
function
|
|
810
|
-
return e === !0 ?
|
|
809
|
+
function Lr(e) {
|
|
810
|
+
return e === !0 ? ct(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
811
811
|
}
|
|
812
|
-
function
|
|
813
|
-
var
|
|
812
|
+
function Cr(e, t, s) {
|
|
813
|
+
var r, n, a, i = e.toLocaleLowerCase();
|
|
814
814
|
if (!this._weekdaysParse)
|
|
815
|
-
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [],
|
|
816
|
-
|
|
817
|
-
|
|
815
|
+
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
816
|
+
a = U([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
|
|
817
|
+
a,
|
|
818
818
|
""
|
|
819
|
-
).toLocaleLowerCase(), this._shortWeekdaysParse[
|
|
820
|
-
|
|
819
|
+
).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
|
|
820
|
+
a,
|
|
821
821
|
""
|
|
822
|
-
).toLocaleLowerCase(), this._weekdaysParse[
|
|
823
|
-
return
|
|
822
|
+
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(a, "").toLocaleLowerCase();
|
|
823
|
+
return s ? t === "dddd" ? (n = p.call(this._weekdaysParse, i), n !== -1 ? n : null) : t === "ddd" ? (n = p.call(this._shortWeekdaysParse, i), n !== -1 ? n : null) : (n = p.call(this._minWeekdaysParse, i), n !== -1 ? n : null) : t === "dddd" ? (n = p.call(this._weekdaysParse, i), n !== -1 || (n = p.call(this._shortWeekdaysParse, i), n !== -1) ? n : (n = p.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : t === "ddd" ? (n = p.call(this._shortWeekdaysParse, i), n !== -1 || (n = p.call(this._weekdaysParse, i), n !== -1) ? n : (n = p.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : (n = p.call(this._minWeekdaysParse, i), n !== -1 || (n = p.call(this._weekdaysParse, i), n !== -1) ? n : (n = p.call(this._shortWeekdaysParse, i), n !== -1 ? n : null));
|
|
824
824
|
}
|
|
825
|
-
function
|
|
826
|
-
var
|
|
825
|
+
function Ir(e, t, s) {
|
|
826
|
+
var r, n, a;
|
|
827
827
|
if (this._weekdaysParseExact)
|
|
828
|
-
return
|
|
829
|
-
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []),
|
|
830
|
-
if (
|
|
831
|
-
"^" + this.weekdays(
|
|
828
|
+
return Cr.call(this, e, t, s);
|
|
829
|
+
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
|
|
830
|
+
if (n = U([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
831
|
+
"^" + this.weekdays(n, "").replace(".", "\\.?") + "$",
|
|
832
832
|
"i"
|
|
833
|
-
), this._shortWeekdaysParse[
|
|
834
|
-
"^" + this.weekdaysShort(
|
|
833
|
+
), this._shortWeekdaysParse[r] = new RegExp(
|
|
834
|
+
"^" + this.weekdaysShort(n, "").replace(".", "\\.?") + "$",
|
|
835
835
|
"i"
|
|
836
|
-
), this._minWeekdaysParse[
|
|
837
|
-
"^" + this.weekdaysMin(
|
|
836
|
+
), this._minWeekdaysParse[r] = new RegExp(
|
|
837
|
+
"^" + this.weekdaysMin(n, "").replace(".", "\\.?") + "$",
|
|
838
838
|
"i"
|
|
839
|
-
)), this._weekdaysParse[
|
|
840
|
-
return
|
|
841
|
-
if (
|
|
842
|
-
return
|
|
843
|
-
if (
|
|
844
|
-
return
|
|
845
|
-
if (!
|
|
846
|
-
return
|
|
839
|
+
)), this._weekdaysParse[r] || (a = "^" + this.weekdays(n, "") + "|^" + this.weekdaysShort(n, "") + "|^" + this.weekdaysMin(n, ""), this._weekdaysParse[r] = new RegExp(a.replace(".", ""), "i")), s && t === "dddd" && this._fullWeekdaysParse[r].test(e))
|
|
840
|
+
return r;
|
|
841
|
+
if (s && t === "ddd" && this._shortWeekdaysParse[r].test(e))
|
|
842
|
+
return r;
|
|
843
|
+
if (s && t === "dd" && this._minWeekdaysParse[r].test(e))
|
|
844
|
+
return r;
|
|
845
|
+
if (!s && this._weekdaysParse[r].test(e))
|
|
846
|
+
return r;
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Ur(e) {
|
|
850
850
|
if (!this.isValid())
|
|
851
851
|
return e != null ? this : NaN;
|
|
852
852
|
var t = ye(this, "Day");
|
|
853
|
-
return e != null ? (e =
|
|
853
|
+
return e != null ? (e = Or(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function Hr(e) {
|
|
856
856
|
if (!this.isValid())
|
|
857
857
|
return e != null ? this : NaN;
|
|
858
858
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
859
859
|
return e == null ? t : this.add(e - t, "d");
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Er(e) {
|
|
862
862
|
if (!this.isValid())
|
|
863
863
|
return e != null ? this : NaN;
|
|
864
864
|
if (e != null) {
|
|
865
|
-
var t =
|
|
865
|
+
var t = Tr(e, this.localeData());
|
|
866
866
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
867
867
|
} else
|
|
868
868
|
return this.day() || 7;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
871
|
-
return this._weekdaysParseExact ? (
|
|
870
|
+
function Ar(e) {
|
|
871
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = Wr), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
872
872
|
}
|
|
873
|
-
function
|
|
874
|
-
return this._weekdaysParseExact ? (
|
|
873
|
+
function jr(e) {
|
|
874
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Nr), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
875
875
|
}
|
|
876
|
-
function
|
|
877
|
-
return this._weekdaysParseExact ? (
|
|
876
|
+
function Vr(e) {
|
|
877
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Pr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
878
878
|
}
|
|
879
|
-
function
|
|
880
|
-
function e(
|
|
881
|
-
return E.length -
|
|
879
|
+
function mt() {
|
|
880
|
+
function e(O, E) {
|
|
881
|
+
return E.length - O.length;
|
|
882
882
|
}
|
|
883
|
-
var t = [],
|
|
884
|
-
for (
|
|
885
|
-
|
|
886
|
-
t.sort(e),
|
|
887
|
-
"^(" +
|
|
883
|
+
var t = [], s = [], r = [], n = [], a, i, u, f, _;
|
|
884
|
+
for (a = 0; a < 7; a++)
|
|
885
|
+
i = U([2e3, 1]).day(a), u = $(this.weekdaysMin(i, "")), f = $(this.weekdaysShort(i, "")), _ = $(this.weekdays(i, "")), t.push(u), s.push(f), r.push(_), n.push(u), n.push(f), n.push(_);
|
|
886
|
+
t.sort(e), s.sort(e), r.sort(e), n.sort(e), this._weekdaysRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
887
|
+
"^(" + r.join("|") + ")",
|
|
888
888
|
"i"
|
|
889
889
|
), this._weekdaysShortStrictRegex = new RegExp(
|
|
890
|
-
"^(" +
|
|
890
|
+
"^(" + s.join("|") + ")",
|
|
891
891
|
"i"
|
|
892
892
|
), this._weekdaysMinStrictRegex = new RegExp(
|
|
893
893
|
"^(" + t.join("|") + ")",
|
|
894
894
|
"i"
|
|
895
895
|
);
|
|
896
896
|
}
|
|
897
|
-
function
|
|
897
|
+
function _t() {
|
|
898
898
|
return this.hours() % 12 || 12;
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function Gr() {
|
|
901
901
|
return this.hours() || 24;
|
|
902
902
|
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
return "" +
|
|
903
|
+
h("H", ["HH", 2], 0, "hour");
|
|
904
|
+
h("h", ["hh", 2], 0, _t);
|
|
905
|
+
h("k", ["kk", 2], 0, Gr);
|
|
906
|
+
h("hmm", 0, 0, function() {
|
|
907
|
+
return "" + _t.apply(this) + I(this.minutes(), 2);
|
|
908
908
|
});
|
|
909
|
-
|
|
910
|
-
return "" +
|
|
909
|
+
h("hmmss", 0, 0, function() {
|
|
910
|
+
return "" + _t.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
911
911
|
});
|
|
912
|
-
|
|
912
|
+
h("Hmm", 0, 0, function() {
|
|
913
913
|
return "" + this.hours() + I(this.minutes(), 2);
|
|
914
914
|
});
|
|
915
|
-
|
|
915
|
+
h("Hmmss", 0, 0, function() {
|
|
916
916
|
return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
917
917
|
});
|
|
918
|
-
function
|
|
919
|
-
|
|
918
|
+
function Kt(e, t) {
|
|
919
|
+
h(e, 0, 0, function() {
|
|
920
920
|
return this.localeData().meridiem(
|
|
921
921
|
this.hours(),
|
|
922
922
|
this.minutes(),
|
|
@@ -924,165 +924,165 @@ function Xt(e, t) {
|
|
|
924
924
|
);
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
function
|
|
927
|
+
Kt("a", !0);
|
|
928
|
+
Kt("A", !1);
|
|
929
|
+
function es(e, t) {
|
|
930
930
|
return t._meridiemParse;
|
|
931
931
|
}
|
|
932
|
-
d("a",
|
|
933
|
-
d("A",
|
|
934
|
-
d("H",
|
|
935
|
-
d("h",
|
|
936
|
-
d("k",
|
|
937
|
-
d("HH",
|
|
938
|
-
d("hh",
|
|
939
|
-
d("kk",
|
|
932
|
+
d("a", es);
|
|
933
|
+
d("A", es);
|
|
934
|
+
d("H", k, ht);
|
|
935
|
+
d("h", k, he);
|
|
936
|
+
d("k", k, he);
|
|
937
|
+
d("HH", k, b);
|
|
938
|
+
d("hh", k, b);
|
|
939
|
+
d("kk", k, b);
|
|
940
940
|
d("hmm", jt);
|
|
941
|
-
d("hmmss",
|
|
941
|
+
d("hmmss", Vt);
|
|
942
942
|
d("Hmm", jt);
|
|
943
|
-
d("Hmmss",
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
var
|
|
947
|
-
t[
|
|
943
|
+
d("Hmmss", Vt);
|
|
944
|
+
g(["H", "HH"], v);
|
|
945
|
+
g(["k", "kk"], function(e, t, s) {
|
|
946
|
+
var r = m(e);
|
|
947
|
+
t[v] = r === 24 ? 0 : r;
|
|
948
948
|
});
|
|
949
|
-
|
|
950
|
-
|
|
949
|
+
g(["a", "A"], function(e, t, s) {
|
|
950
|
+
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
|
951
951
|
});
|
|
952
|
-
|
|
953
|
-
t[
|
|
952
|
+
g(["h", "hh"], function(e, t, s) {
|
|
953
|
+
t[v] = m(e), c(s).bigHour = !0;
|
|
954
954
|
});
|
|
955
|
-
|
|
956
|
-
var
|
|
957
|
-
t[
|
|
955
|
+
g("hmm", function(e, t, s) {
|
|
956
|
+
var r = e.length - 2;
|
|
957
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r)), c(s).bigHour = !0;
|
|
958
958
|
});
|
|
959
|
-
|
|
960
|
-
var
|
|
961
|
-
t[
|
|
959
|
+
g("hmmss", function(e, t, s) {
|
|
960
|
+
var r = e.length - 4, n = e.length - 2;
|
|
961
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[G] = m(e.substr(n)), c(s).bigHour = !0;
|
|
962
962
|
});
|
|
963
|
-
|
|
964
|
-
var
|
|
965
|
-
t[
|
|
963
|
+
g("Hmm", function(e, t, s) {
|
|
964
|
+
var r = e.length - 2;
|
|
965
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r));
|
|
966
966
|
});
|
|
967
|
-
|
|
968
|
-
var
|
|
969
|
-
t[
|
|
967
|
+
g("Hmmss", function(e, t, s) {
|
|
968
|
+
var r = e.length - 4, n = e.length - 2;
|
|
969
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[G] = m(e.substr(n));
|
|
970
970
|
});
|
|
971
|
-
function
|
|
971
|
+
function $r(e) {
|
|
972
972
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
973
973
|
}
|
|
974
|
-
var
|
|
975
|
-
function
|
|
976
|
-
return e > 11 ?
|
|
977
|
-
}
|
|
978
|
-
var
|
|
979
|
-
calendar:
|
|
980
|
-
longDateFormat:
|
|
981
|
-
invalidDate:
|
|
982
|
-
ordinal:
|
|
983
|
-
dayOfMonthOrdinalParse:
|
|
984
|
-
relativeTime:
|
|
985
|
-
months:
|
|
986
|
-
monthsShort:
|
|
987
|
-
week:
|
|
988
|
-
weekdays:
|
|
989
|
-
weekdaysMin:
|
|
990
|
-
weekdaysShort:
|
|
991
|
-
meridiemParse:
|
|
992
|
-
},
|
|
993
|
-
function
|
|
994
|
-
var
|
|
995
|
-
for (
|
|
996
|
-
if (e[
|
|
997
|
-
return
|
|
998
|
-
return
|
|
974
|
+
var zr = /[ap]\.?m?\.?/i, Zr = fe("Hours", !0);
|
|
975
|
+
function Br(e, t, s) {
|
|
976
|
+
return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
|
|
977
|
+
}
|
|
978
|
+
var ts = {
|
|
979
|
+
calendar: Cs,
|
|
980
|
+
longDateFormat: Es,
|
|
981
|
+
invalidDate: js,
|
|
982
|
+
ordinal: Gs,
|
|
983
|
+
dayOfMonthOrdinalParse: $s,
|
|
984
|
+
relativeTime: Zs,
|
|
985
|
+
months: ur,
|
|
986
|
+
monthsShort: zt,
|
|
987
|
+
week: kr,
|
|
988
|
+
weekdays: br,
|
|
989
|
+
weekdaysMin: xr,
|
|
990
|
+
weekdaysShort: Xt,
|
|
991
|
+
meridiemParse: zr
|
|
992
|
+
}, D = {}, ce = {}, ge;
|
|
993
|
+
function qr(e, t) {
|
|
994
|
+
var s, r = Math.min(e.length, t.length);
|
|
995
|
+
for (s = 0; s < r; s += 1)
|
|
996
|
+
if (e[s] !== t[s])
|
|
997
|
+
return s;
|
|
998
|
+
return r;
|
|
999
999
|
}
|
|
1000
1000
|
function xt(e) {
|
|
1001
1001
|
return e && e.toLowerCase().replace("_", "-");
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1004
|
-
for (var t = 0, r,
|
|
1005
|
-
for (
|
|
1006
|
-
if (
|
|
1007
|
-
return
|
|
1008
|
-
if (
|
|
1003
|
+
function Jr(e) {
|
|
1004
|
+
for (var t = 0, s, r, n, a; t < e.length; ) {
|
|
1005
|
+
for (a = xt(e[t]).split("-"), s = a.length, r = xt(e[t + 1]), r = r ? r.split("-") : null; s > 0; ) {
|
|
1006
|
+
if (n = Ae(a.slice(0, s).join("-")), n)
|
|
1007
|
+
return n;
|
|
1008
|
+
if (r && r.length >= s && qr(a, r) >= s - 1)
|
|
1009
1009
|
break;
|
|
1010
|
-
|
|
1010
|
+
s--;
|
|
1011
1011
|
}
|
|
1012
1012
|
t++;
|
|
1013
1013
|
}
|
|
1014
|
-
return
|
|
1014
|
+
return ge;
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function Qr(e) {
|
|
1017
1017
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1018
1018
|
}
|
|
1019
1019
|
function Ae(e) {
|
|
1020
|
-
var t = null,
|
|
1021
|
-
if (
|
|
1020
|
+
var t = null, s;
|
|
1021
|
+
if (D[e] === void 0 && typeof module < "u" && module && module.exports && Qr(e))
|
|
1022
1022
|
try {
|
|
1023
|
-
t =
|
|
1023
|
+
t = ge._abbr, s = require, s("./locale/" + e), K(t);
|
|
1024
1024
|
} catch {
|
|
1025
|
-
|
|
1025
|
+
D[e] = null;
|
|
1026
1026
|
}
|
|
1027
|
-
return
|
|
1027
|
+
return D[e];
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1030
|
-
var
|
|
1031
|
-
return e && (
|
|
1029
|
+
function K(e, t) {
|
|
1030
|
+
var s;
|
|
1031
|
+
return e && (T(t) ? s = B(e) : s = yt(e, t), s ? ge = s : typeof console < "u" && console.warn && console.warn(
|
|
1032
1032
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1033
|
-
)),
|
|
1033
|
+
)), ge._abbr;
|
|
1034
1034
|
}
|
|
1035
1035
|
function yt(e, t) {
|
|
1036
1036
|
if (t !== null) {
|
|
1037
|
-
var
|
|
1038
|
-
if (t.abbr = e,
|
|
1037
|
+
var s, r = ts;
|
|
1038
|
+
if (t.abbr = e, D[e] != null)
|
|
1039
1039
|
Ut(
|
|
1040
1040
|
"defineLocaleOverride",
|
|
1041
1041
|
"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."
|
|
1042
|
-
),
|
|
1042
|
+
), r = D[e]._config;
|
|
1043
1043
|
else if (t.parentLocale != null)
|
|
1044
|
-
if (
|
|
1045
|
-
|
|
1046
|
-
else if (
|
|
1047
|
-
|
|
1044
|
+
if (D[t.parentLocale] != null)
|
|
1045
|
+
r = D[t.parentLocale]._config;
|
|
1046
|
+
else if (s = Ae(t.parentLocale), s != null)
|
|
1047
|
+
r = s._config;
|
|
1048
1048
|
else
|
|
1049
|
-
return
|
|
1049
|
+
return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
|
|
1050
1050
|
name: e,
|
|
1051
1051
|
config: t
|
|
1052
1052
|
}), null;
|
|
1053
|
-
return
|
|
1054
|
-
yt(
|
|
1055
|
-
}),
|
|
1053
|
+
return D[e] = new it(Qe(r, t)), ce[e] && ce[e].forEach(function(n) {
|
|
1054
|
+
yt(n.name, n.config);
|
|
1055
|
+
}), K(e), D[e];
|
|
1056
1056
|
} else
|
|
1057
|
-
return delete
|
|
1057
|
+
return delete D[e], null;
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1059
|
+
function Xr(e, t) {
|
|
1060
1060
|
if (t != null) {
|
|
1061
|
-
var
|
|
1062
|
-
|
|
1061
|
+
var s, r, n = ts;
|
|
1062
|
+
D[e] != null && D[e].parentLocale != null ? D[e].set(Qe(D[e]._config, t)) : (r = Ae(e), r != null && (n = r._config), t = Qe(n, t), r == null && (t.abbr = e), s = new it(t), s.parentLocale = D[e], D[e] = s), K(e);
|
|
1063
1063
|
} else
|
|
1064
|
-
|
|
1065
|
-
return
|
|
1064
|
+
D[e] != null && (D[e].parentLocale != null ? (D[e] = D[e].parentLocale, e === K() && K(e)) : D[e] != null && delete D[e]);
|
|
1065
|
+
return D[e];
|
|
1066
1066
|
}
|
|
1067
|
-
function
|
|
1067
|
+
function B(e) {
|
|
1068
1068
|
var t;
|
|
1069
1069
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1070
|
-
return
|
|
1071
|
-
if (!
|
|
1070
|
+
return ge;
|
|
1071
|
+
if (!R(e)) {
|
|
1072
1072
|
if (t = Ae(e), t)
|
|
1073
1073
|
return t;
|
|
1074
1074
|
e = [e];
|
|
1075
1075
|
}
|
|
1076
|
-
return
|
|
1076
|
+
return Jr(e);
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return
|
|
1078
|
+
function Kr() {
|
|
1079
|
+
return Xe(D);
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1082
|
-
var t,
|
|
1083
|
-
return
|
|
1081
|
+
function wt(e) {
|
|
1082
|
+
var t, s = e._a;
|
|
1083
|
+
return s && c(e).overflow === -2 && (t = s[V] < 0 || s[V] > 11 ? V : s[C] < 1 || s[C] > ft(s[Y], s[V]) ? C : s[v] < 0 || s[v] > 24 || s[v] === 24 && (s[P] !== 0 || s[G] !== 0 || s[te] !== 0) ? v : s[P] < 0 || s[P] > 59 ? P : s[G] < 0 || s[G] > 59 ? G : s[te] < 0 || s[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > C) && (t = C), c(e)._overflowWeeks && t === -1 && (t = rr), c(e)._overflowWeekday && t === -1 && (t = nr), c(e).overflow = t), e;
|
|
1084
1084
|
}
|
|
1085
|
-
var
|
|
1085
|
+
var en = /^\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)?)?$/, tn = /^\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)?)?$/, sn = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
|
|
1086
1086
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1087
1087
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1088
1088
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1096,7 +1096,7 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1096
1096
|
["YYYYDDD", /\d{7}/],
|
|
1097
1097
|
["YYYYMM", /\d{6}/, !1],
|
|
1098
1098
|
["YYYY", /\d{4}/, !1]
|
|
1099
|
-
],
|
|
1099
|
+
], Ze = [
|
|
1100
1100
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1101
1101
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1102
1102
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1106,7 +1106,7 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1106
1106
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1107
1107
|
["HHmm", /\d\d\d\d/],
|
|
1108
1108
|
["HH", /\d\d/]
|
|
1109
|
-
],
|
|
1109
|
+
], rn = /^\/?Date\((-?\d+)/i, nn = /^(?:(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}))$/, an = {
|
|
1110
1110
|
UT: 0,
|
|
1111
1111
|
GMT: 0,
|
|
1112
1112
|
EDT: -4 * 60,
|
|
@@ -1118,22 +1118,22 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1118
1118
|
PDT: -7 * 60,
|
|
1119
1119
|
PST: -8 * 60
|
|
1120
1120
|
};
|
|
1121
|
-
function
|
|
1122
|
-
var t,
|
|
1123
|
-
if (
|
|
1124
|
-
for (
|
|
1125
|
-
if (Ye[t][1].exec(
|
|
1126
|
-
|
|
1121
|
+
function ss(e) {
|
|
1122
|
+
var t, s, r = e._i, n = en.exec(r) || tn.exec(r), a, i, u, f, _ = Ye.length, O = Ze.length;
|
|
1123
|
+
if (n) {
|
|
1124
|
+
for (c(e).iso = !0, t = 0, s = _; t < s; t++)
|
|
1125
|
+
if (Ye[t][1].exec(n[1])) {
|
|
1126
|
+
i = Ye[t][0], a = Ye[t][2] !== !1;
|
|
1127
1127
|
break;
|
|
1128
1128
|
}
|
|
1129
|
-
if (
|
|
1129
|
+
if (i == null) {
|
|
1130
1130
|
e._isValid = !1;
|
|
1131
1131
|
return;
|
|
1132
1132
|
}
|
|
1133
|
-
if (
|
|
1134
|
-
for (t = 0,
|
|
1135
|
-
if (
|
|
1136
|
-
u = (
|
|
1133
|
+
if (n[3]) {
|
|
1134
|
+
for (t = 0, s = O; t < s; t++)
|
|
1135
|
+
if (Ze[t][1].exec(n[3])) {
|
|
1136
|
+
u = (n[2] || " ") + Ze[t][0];
|
|
1137
1137
|
break;
|
|
1138
1138
|
}
|
|
1139
1139
|
if (u == null) {
|
|
@@ -1141,100 +1141,100 @@ function rr(e) {
|
|
|
1141
1141
|
return;
|
|
1142
1142
|
}
|
|
1143
1143
|
}
|
|
1144
|
-
if (!
|
|
1144
|
+
if (!a && u != null) {
|
|
1145
1145
|
e._isValid = !1;
|
|
1146
1146
|
return;
|
|
1147
1147
|
}
|
|
1148
|
-
if (
|
|
1149
|
-
if (
|
|
1148
|
+
if (n[4])
|
|
1149
|
+
if (sn.exec(n[4]))
|
|
1150
1150
|
f = "Z";
|
|
1151
1151
|
else {
|
|
1152
1152
|
e._isValid = !1;
|
|
1153
1153
|
return;
|
|
1154
1154
|
}
|
|
1155
|
-
e._f =
|
|
1155
|
+
e._f = i + (u || "") + (f || ""), gt(e);
|
|
1156
1156
|
} else
|
|
1157
1157
|
e._isValid = !1;
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
parseInt(r, 10),
|
|
1159
|
+
function on(e, t, s, r, n, a) {
|
|
1160
|
+
var i = [
|
|
1161
|
+
ln(e),
|
|
1162
|
+
zt.indexOf(t),
|
|
1164
1163
|
parseInt(s, 10),
|
|
1165
|
-
parseInt(
|
|
1164
|
+
parseInt(r, 10),
|
|
1165
|
+
parseInt(n, 10)
|
|
1166
1166
|
];
|
|
1167
|
-
return
|
|
1167
|
+
return a && i.push(parseInt(a, 10)), i;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function ln(e) {
|
|
1170
1170
|
var t = parseInt(e, 10);
|
|
1171
1171
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1172
1172
|
}
|
|
1173
|
-
function
|
|
1173
|
+
function un(e) {
|
|
1174
1174
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1176
|
+
function dn(e, t, s) {
|
|
1177
1177
|
if (e) {
|
|
1178
|
-
var
|
|
1178
|
+
var r = Xt.indexOf(e), n = new Date(
|
|
1179
1179
|
t[0],
|
|
1180
1180
|
t[1],
|
|
1181
1181
|
t[2]
|
|
1182
1182
|
).getDay();
|
|
1183
|
-
if (
|
|
1184
|
-
return
|
|
1183
|
+
if (r !== n)
|
|
1184
|
+
return c(s).weekdayMismatch = !0, s._isValid = !1, !1;
|
|
1185
1185
|
}
|
|
1186
1186
|
return !0;
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function hn(e, t, s) {
|
|
1189
1189
|
if (e)
|
|
1190
|
-
return
|
|
1190
|
+
return an[e];
|
|
1191
1191
|
if (t)
|
|
1192
1192
|
return 0;
|
|
1193
|
-
var
|
|
1194
|
-
return
|
|
1193
|
+
var r = parseInt(s, 10), n = r % 100, a = (r - n) / 100;
|
|
1194
|
+
return a * 60 + n;
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1197
|
-
var t =
|
|
1196
|
+
function rs(e) {
|
|
1197
|
+
var t = nn.exec(un(e._i)), s;
|
|
1198
1198
|
if (t) {
|
|
1199
|
-
if (
|
|
1199
|
+
if (s = on(
|
|
1200
1200
|
t[4],
|
|
1201
1201
|
t[3],
|
|
1202
1202
|
t[2],
|
|
1203
1203
|
t[5],
|
|
1204
1204
|
t[6],
|
|
1205
1205
|
t[7]
|
|
1206
|
-
), !
|
|
1206
|
+
), !dn(t[1], s, e))
|
|
1207
1207
|
return;
|
|
1208
|
-
e._a =
|
|
1208
|
+
e._a = s, e._tzm = hn(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;
|
|
1209
1209
|
} else
|
|
1210
1210
|
e._isValid = !1;
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1213
|
-
var t =
|
|
1212
|
+
function fn(e) {
|
|
1213
|
+
var t = rn.exec(e._i);
|
|
1214
1214
|
if (t !== null) {
|
|
1215
1215
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1216
1216
|
return;
|
|
1217
1217
|
}
|
|
1218
|
-
if (
|
|
1218
|
+
if (ss(e), e._isValid === !1)
|
|
1219
1219
|
delete e._isValid;
|
|
1220
1220
|
else
|
|
1221
1221
|
return;
|
|
1222
|
-
if (
|
|
1222
|
+
if (rs(e), e._isValid === !1)
|
|
1223
1223
|
delete e._isValid;
|
|
1224
1224
|
else
|
|
1225
1225
|
return;
|
|
1226
1226
|
e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
|
|
1227
1227
|
}
|
|
1228
|
-
l.createFromInputFallback =
|
|
1228
|
+
l.createFromInputFallback = W(
|
|
1229
1229
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1230
1230
|
function(e) {
|
|
1231
1231
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1232
1232
|
}
|
|
1233
1233
|
);
|
|
1234
|
-
function
|
|
1235
|
-
return e ?? t ??
|
|
1234
|
+
function ae(e, t, s) {
|
|
1235
|
+
return e ?? t ?? s;
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function cn(e) {
|
|
1238
1238
|
var t = new Date(l.now());
|
|
1239
1239
|
return e._useUTC ? [
|
|
1240
1240
|
t.getUTCFullYear(),
|
|
@@ -1242,130 +1242,130 @@ function fa(e) {
|
|
|
1242
1242
|
t.getUTCDate()
|
|
1243
1243
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
var t,
|
|
1245
|
+
function Mt(e) {
|
|
1246
|
+
var t, s, r = [], n, a, i;
|
|
1247
1247
|
if (!e._d) {
|
|
1248
|
-
for (
|
|
1249
|
-
e._a[t] =
|
|
1248
|
+
for (n = cn(e), e._w && e._a[C] == null && e._a[V] == null && mn(e), e._dayOfYear != null && (i = ae(e._a[Y], n[Y]), (e._dayOfYear > _e(i) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), s = we(i, 0, e._dayOfYear), e._a[V] = s.getUTCMonth(), e._a[C] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1249
|
+
e._a[t] = r[t] = n[t];
|
|
1250
1250
|
for (; t < 7; t++)
|
|
1251
|
-
e._a[t] =
|
|
1252
|
-
e._a[
|
|
1251
|
+
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1252
|
+
e._a[v] === 24 && e._a[P] === 0 && e._a[G] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[v] = 0), e._d = (e._useUTC ? we : gr).apply(
|
|
1253
1253
|
null,
|
|
1254
|
-
|
|
1255
|
-
),
|
|
1254
|
+
r
|
|
1255
|
+
), a = 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 !== a && (c(e).weekdayMismatch = !0);
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1259
|
-
var t, r,
|
|
1260
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (
|
|
1258
|
+
function mn(e) {
|
|
1259
|
+
var t, s, r, n, a, i, u, f, _;
|
|
1260
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (a = 1, i = 4, s = ae(
|
|
1261
1261
|
t.GG,
|
|
1262
1262
|
e._a[Y],
|
|
1263
|
-
|
|
1264
|
-
),
|
|
1263
|
+
Me(S(), 1, 4).year
|
|
1264
|
+
), r = ae(t.W, 1), n = ae(t.E, 1), (n < 1 || n > 7) && (f = !0)) : (a = e._locale._week.dow, i = e._locale._week.doy, _ = Me(S(), a, i), s = ae(t.gg, e._a[Y], _.year), r = ae(t.w, _.week), t.d != null ? (n = t.d, (n < 0 || n > 6) && (f = !0)) : t.e != null ? (n = t.e + a, (t.e < 0 || t.e > 6) && (f = !0)) : n = a), r < 1 || r > z(s, a, i) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = Qt(s, r, n, a, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1265
1265
|
}
|
|
1266
1266
|
l.ISO_8601 = function() {
|
|
1267
1267
|
};
|
|
1268
1268
|
l.RFC_2822 = function() {
|
|
1269
1269
|
};
|
|
1270
|
-
function
|
|
1270
|
+
function gt(e) {
|
|
1271
1271
|
if (e._f === l.ISO_8601) {
|
|
1272
|
-
|
|
1272
|
+
ss(e);
|
|
1273
1273
|
return;
|
|
1274
1274
|
}
|
|
1275
1275
|
if (e._f === l.RFC_2822) {
|
|
1276
|
-
|
|
1276
|
+
rs(e);
|
|
1277
1277
|
return;
|
|
1278
1278
|
}
|
|
1279
|
-
e._a = [],
|
|
1280
|
-
var t = "" + e._i, r,
|
|
1281
|
-
for (
|
|
1282
|
-
|
|
1283
|
-
t.indexOf(
|
|
1284
|
-
), f +=
|
|
1285
|
-
|
|
1279
|
+
e._a = [], c(e).empty = !0;
|
|
1280
|
+
var t = "" + e._i, s, r, n, a, i, u = t.length, f = 0, _, O;
|
|
1281
|
+
for (n = Ht(e._f, e._locale).match(ot) || [], O = n.length, s = 0; s < O; s++)
|
|
1282
|
+
a = n[s], r = (t.match(er(a, e)) || [])[0], r && (i = t.substr(0, t.indexOf(r)), i.length > 0 && c(e).unusedInput.push(i), t = t.slice(
|
|
1283
|
+
t.indexOf(r) + r.length
|
|
1284
|
+
), f += r.length), oe[a] ? (r ? c(e).empty = !1 : c(e).unusedTokens.push(a), sr(a, r, e)) : e._strict && !r && c(e).unusedTokens.push(a);
|
|
1285
|
+
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] = _n(
|
|
1286
1286
|
e._locale,
|
|
1287
|
-
e._a[
|
|
1287
|
+
e._a[v],
|
|
1288
1288
|
e._meridiem
|
|
1289
|
-
),
|
|
1289
|
+
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), Mt(e), wt(e);
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1292
|
-
var
|
|
1293
|
-
return
|
|
1291
|
+
function _n(e, t, s) {
|
|
1292
|
+
var r;
|
|
1293
|
+
return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (r = e.isPM(s), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
|
|
1294
1294
|
}
|
|
1295
|
-
function
|
|
1296
|
-
var t, r,
|
|
1295
|
+
function yn(e) {
|
|
1296
|
+
var t, s, r, n, a, i, u = !1, f = e._f.length;
|
|
1297
1297
|
if (f === 0) {
|
|
1298
|
-
|
|
1298
|
+
c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1299
1299
|
return;
|
|
1300
1300
|
}
|
|
1301
|
-
for (
|
|
1302
|
-
|
|
1303
|
-
Q(e,
|
|
1301
|
+
for (n = 0; n < f; n++)
|
|
1302
|
+
a = 0, i = !1, t = at({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[n], gt(t), nt(t) && (i = !0), a += c(t).charsLeftOver, a += c(t).unusedTokens.length * 10, c(t).score = a, u ? a < r && (r = a, s = t) : (r == null || a < r || i) && (r = a, s = t, i && (u = !0));
|
|
1303
|
+
Q(e, s || t);
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function wn(e) {
|
|
1306
1306
|
if (!e._d) {
|
|
1307
|
-
var t = lt(e._i),
|
|
1308
|
-
e._a =
|
|
1309
|
-
[t.year, t.month,
|
|
1310
|
-
function(
|
|
1311
|
-
return
|
|
1307
|
+
var t = lt(e._i), s = t.day === void 0 ? t.date : t.day;
|
|
1308
|
+
e._a = Ct(
|
|
1309
|
+
[t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
|
|
1310
|
+
function(r) {
|
|
1311
|
+
return r && parseInt(r, 10);
|
|
1312
1312
|
}
|
|
1313
|
-
),
|
|
1313
|
+
), Mt(e);
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1317
|
-
var t = new
|
|
1316
|
+
function Mn(e) {
|
|
1317
|
+
var t = new ke(wt(ns(e)));
|
|
1318
1318
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1321
|
-
var t = e._i,
|
|
1322
|
-
return e._locale = e._locale ||
|
|
1320
|
+
function ns(e) {
|
|
1321
|
+
var t = e._i, s = e._f;
|
|
1322
|
+
return e._locale = e._locale || B(e._l), t === null || s === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ke(wt(t)) : (Se(t) ? e._d = t : R(s) ? yn(e) : s ? gt(e) : gn(e), nt(e) || (e._d = null), e));
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function gn(e) {
|
|
1325
1325
|
var t = e._i;
|
|
1326
|
-
|
|
1327
|
-
return parseInt(
|
|
1328
|
-
}),
|
|
1326
|
+
T(t) ? e._d = new Date(l.now()) : Se(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? fn(e) : R(t) ? (e._a = Ct(t.slice(0), function(s) {
|
|
1327
|
+
return parseInt(s, 10);
|
|
1328
|
+
}), Mt(e)) : se(t) ? wn(e) : Z(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1331
|
-
var
|
|
1332
|
-
return (t === !0 || t === !1) && (
|
|
1330
|
+
function as(e, t, s, r, n) {
|
|
1331
|
+
var a = {};
|
|
1332
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (se(e) && rt(e) || R(e) && e.length === 0) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = n, a._l = s, a._i = e, a._f = t, a._strict = r, Mn(a);
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1335
|
-
return
|
|
1334
|
+
function S(e, t, s, r) {
|
|
1335
|
+
return as(e, t, s, r, !1);
|
|
1336
1336
|
}
|
|
1337
|
-
var
|
|
1337
|
+
var Sn = W(
|
|
1338
1338
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1339
1339
|
function() {
|
|
1340
|
-
var e =
|
|
1340
|
+
var e = S.apply(null, arguments);
|
|
1341
1341
|
return this.isValid() && e.isValid() ? e < this ? this : e : Fe();
|
|
1342
1342
|
}
|
|
1343
|
-
),
|
|
1343
|
+
), kn = W(
|
|
1344
1344
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1345
1345
|
function() {
|
|
1346
|
-
var e =
|
|
1346
|
+
var e = S.apply(null, arguments);
|
|
1347
1347
|
return this.isValid() && e.isValid() ? e > this ? this : e : Fe();
|
|
1348
1348
|
}
|
|
1349
1349
|
);
|
|
1350
|
-
function
|
|
1351
|
-
var
|
|
1352
|
-
if (t.length === 1 &&
|
|
1353
|
-
return
|
|
1354
|
-
for (
|
|
1355
|
-
(!t[
|
|
1356
|
-
return
|
|
1350
|
+
function is(e, t) {
|
|
1351
|
+
var s, r;
|
|
1352
|
+
if (t.length === 1 && R(t[0]) && (t = t[0]), !t.length)
|
|
1353
|
+
return S();
|
|
1354
|
+
for (s = t[0], r = 1; r < t.length; ++r)
|
|
1355
|
+
(!t[r].isValid() || t[r][e](s)) && (s = t[r]);
|
|
1356
|
+
return s;
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1358
|
+
function Dn() {
|
|
1359
1359
|
var e = [].slice.call(arguments, 0);
|
|
1360
|
-
return
|
|
1360
|
+
return is("isBefore", e);
|
|
1361
1361
|
}
|
|
1362
|
-
function
|
|
1362
|
+
function pn() {
|
|
1363
1363
|
var e = [].slice.call(arguments, 0);
|
|
1364
|
-
return
|
|
1364
|
+
return is("isAfter", e);
|
|
1365
1365
|
}
|
|
1366
|
-
var
|
|
1366
|
+
var vn = function() {
|
|
1367
1367
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1368
|
-
},
|
|
1368
|
+
}, me = [
|
|
1369
1369
|
"year",
|
|
1370
1370
|
"quarter",
|
|
1371
1371
|
"month",
|
|
@@ -1376,192 +1376,192 @@ var Sa = function() {
|
|
|
1376
1376
|
"second",
|
|
1377
1377
|
"millisecond"
|
|
1378
1378
|
];
|
|
1379
|
-
function
|
|
1380
|
-
var t,
|
|
1379
|
+
function Yn(e) {
|
|
1380
|
+
var t, s = !1, r, n = me.length;
|
|
1381
1381
|
for (t in e)
|
|
1382
|
-
if (
|
|
1382
|
+
if (w(e, t) && !(p.call(me, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1383
1383
|
return !1;
|
|
1384
|
-
for (
|
|
1385
|
-
if (e[
|
|
1386
|
-
if (
|
|
1384
|
+
for (r = 0; r < n; ++r)
|
|
1385
|
+
if (e[me[r]]) {
|
|
1386
|
+
if (s)
|
|
1387
1387
|
return !1;
|
|
1388
|
-
parseFloat(e[
|
|
1388
|
+
parseFloat(e[me[r]]) !== m(e[me[r]]) && (s = !0);
|
|
1389
1389
|
}
|
|
1390
1390
|
return !0;
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function On() {
|
|
1393
1393
|
return this._isValid;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1396
|
-
return
|
|
1395
|
+
function Tn() {
|
|
1396
|
+
return L(NaN);
|
|
1397
1397
|
}
|
|
1398
1398
|
function je(e) {
|
|
1399
|
-
var t = lt(e),
|
|
1400
|
-
this._isValid =
|
|
1399
|
+
var t = lt(e), s = t.year || 0, r = t.quarter || 0, n = t.month || 0, a = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, f = t.minute || 0, _ = t.second || 0, O = t.millisecond || 0;
|
|
1400
|
+
this._isValid = Yn(t), this._milliseconds = +O + _ * 1e3 + // 1000
|
|
1401
1401
|
f * 6e4 + // 1000 * 60
|
|
1402
|
-
u * 1e3 * 60 * 60, this._days = +
|
|
1402
|
+
u * 1e3 * 60 * 60, this._days = +i + a * 7, this._months = +n + r * 3 + s * 12, this._data = {}, this._locale = B(), this._bubble();
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1404
|
+
function Te(e) {
|
|
1405
1405
|
return e instanceof je;
|
|
1406
1406
|
}
|
|
1407
1407
|
function et(e) {
|
|
1408
1408
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1411
|
-
var
|
|
1412
|
-
for (
|
|
1413
|
-
|
|
1414
|
-
return
|
|
1410
|
+
function bn(e, t, s) {
|
|
1411
|
+
var r = Math.min(e.length, t.length), n = Math.abs(e.length - t.length), a = 0, i;
|
|
1412
|
+
for (i = 0; i < r; i++)
|
|
1413
|
+
m(e[i]) !== m(t[i]) && a++;
|
|
1414
|
+
return a + n;
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1417
|
-
|
|
1418
|
-
var
|
|
1419
|
-
return
|
|
1416
|
+
function os(e, t) {
|
|
1417
|
+
h(e, 0, 0, function() {
|
|
1418
|
+
var s = this.utcOffset(), r = "+";
|
|
1419
|
+
return s < 0 && (s = -s, r = "-"), r + I(~~(s / 60), 2) + t + I(~~s % 60, 2);
|
|
1420
1420
|
});
|
|
1421
1421
|
}
|
|
1422
|
-
|
|
1423
|
-
|
|
1422
|
+
os("Z", ":");
|
|
1423
|
+
os("ZZ", "");
|
|
1424
1424
|
d("Z", He);
|
|
1425
1425
|
d("ZZ", He);
|
|
1426
|
-
|
|
1427
|
-
|
|
1426
|
+
g(["Z", "ZZ"], function(e, t, s) {
|
|
1427
|
+
s._useUTC = !0, s._tzm = St(He, e);
|
|
1428
1428
|
});
|
|
1429
|
-
var
|
|
1430
|
-
function
|
|
1431
|
-
var
|
|
1432
|
-
return
|
|
1429
|
+
var xn = /([\+\-]|\d\d)/gi;
|
|
1430
|
+
function St(e, t) {
|
|
1431
|
+
var s = (t || "").match(e), r, n, a;
|
|
1432
|
+
return s === null ? null : (r = s[s.length - 1] || [], n = (r + "").match(xn) || ["-", 0, 0], a = +(n[1] * 60) + m(n[2]), a === 0 ? 0 : n[0] === "+" ? a : -a);
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1435
|
-
var
|
|
1436
|
-
return t._isUTC ? (
|
|
1434
|
+
function kt(e, t) {
|
|
1435
|
+
var s, r;
|
|
1436
|
+
return t._isUTC ? (s = t.clone(), r = (F(e) || Se(e) ? e.valueOf() : S(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + r), l.updateOffset(s, !1), s) : S(e).local();
|
|
1437
1437
|
}
|
|
1438
1438
|
function tt(e) {
|
|
1439
1439
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1440
1440
|
}
|
|
1441
1441
|
l.updateOffset = function() {
|
|
1442
1442
|
};
|
|
1443
|
-
function
|
|
1444
|
-
var
|
|
1443
|
+
function Wn(e, t, s) {
|
|
1444
|
+
var r = this._offset || 0, n;
|
|
1445
1445
|
if (!this.isValid())
|
|
1446
1446
|
return e != null ? this : NaN;
|
|
1447
1447
|
if (e != null) {
|
|
1448
1448
|
if (typeof e == "string") {
|
|
1449
|
-
if (e =
|
|
1449
|
+
if (e = St(He, e), e === null)
|
|
1450
1450
|
return this;
|
|
1451
1451
|
} else
|
|
1452
|
-
Math.abs(e) < 16 && !
|
|
1453
|
-
return !this._isUTC && t && (
|
|
1452
|
+
Math.abs(e) < 16 && !s && (e = e * 60);
|
|
1453
|
+
return !this._isUTC && t && (n = tt(this)), this._offset = e, this._isUTC = !0, n != null && this.add(n, "m"), r !== e && (!t || this._changeInProgress ? ds(
|
|
1454
1454
|
this,
|
|
1455
|
-
|
|
1455
|
+
L(e - r, "m"),
|
|
1456
1456
|
1,
|
|
1457
1457
|
!1
|
|
1458
1458
|
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1459
1459
|
} else
|
|
1460
|
-
return this._isUTC ?
|
|
1460
|
+
return this._isUTC ? r : tt(this);
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function Nn(e, t) {
|
|
1463
1463
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1465
|
+
function Pn(e) {
|
|
1466
1466
|
return this.utcOffset(0, e);
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1468
|
+
function Rn(e) {
|
|
1469
1469
|
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(tt(this), "m")), this;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Fn() {
|
|
1472
1472
|
if (this._tzm != null)
|
|
1473
1473
|
this.utcOffset(this._tzm, !1, !0);
|
|
1474
1474
|
else if (typeof this._i == "string") {
|
|
1475
|
-
var e =
|
|
1475
|
+
var e = St(Xs, this._i);
|
|
1476
1476
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1477
1477
|
}
|
|
1478
1478
|
return this;
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1481
|
-
return this.isValid() ? (e = e ?
|
|
1480
|
+
function Ln(e) {
|
|
1481
|
+
return this.isValid() ? (e = e ? S(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1483
|
+
function Cn() {
|
|
1484
1484
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1485
1485
|
}
|
|
1486
|
-
function
|
|
1487
|
-
if (!
|
|
1486
|
+
function In() {
|
|
1487
|
+
if (!T(this._isDSTShifted))
|
|
1488
1488
|
return this._isDSTShifted;
|
|
1489
1489
|
var e = {}, t;
|
|
1490
|
-
return
|
|
1490
|
+
return at(e, this), e = ns(e), e._a ? (t = e._isUTC ? U(e._a) : S(e._a), this._isDSTShifted = this.isValid() && bn(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1491
1491
|
}
|
|
1492
|
-
function
|
|
1492
|
+
function Un() {
|
|
1493
1493
|
return this.isValid() ? !this._isUTC : !1;
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function Hn() {
|
|
1496
1496
|
return this.isValid() ? this._isUTC : !1;
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1498
|
+
function ls() {
|
|
1499
1499
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1500
1500
|
}
|
|
1501
|
-
var
|
|
1502
|
-
function
|
|
1503
|
-
var
|
|
1504
|
-
return
|
|
1501
|
+
var En = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, An = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1502
|
+
function L(e, t) {
|
|
1503
|
+
var s = e, r = null, n, a, i;
|
|
1504
|
+
return Te(e) ? s = {
|
|
1505
1505
|
ms: e._milliseconds,
|
|
1506
1506
|
d: e._days,
|
|
1507
1507
|
M: e._months
|
|
1508
|
-
} :
|
|
1508
|
+
} : Z(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = En.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
|
|
1509
1509
|
y: 0,
|
|
1510
|
-
d:
|
|
1511
|
-
h:
|
|
1512
|
-
m:
|
|
1513
|
-
s:
|
|
1514
|
-
ms:
|
|
1510
|
+
d: m(r[C]) * n,
|
|
1511
|
+
h: m(r[v]) * n,
|
|
1512
|
+
m: m(r[P]) * n,
|
|
1513
|
+
s: m(r[G]) * n,
|
|
1514
|
+
ms: m(et(r[te] * 1e3)) * n
|
|
1515
1515
|
// the millisecond decimal point is included in the match
|
|
1516
|
-
}) : (
|
|
1517
|
-
y: ee(
|
|
1518
|
-
M: ee(
|
|
1519
|
-
w: ee(
|
|
1520
|
-
d: ee(
|
|
1521
|
-
h: ee(
|
|
1522
|
-
m: ee(
|
|
1523
|
-
s: ee(
|
|
1524
|
-
}) :
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
),
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
|
|
1516
|
+
}) : (r = An.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
|
|
1517
|
+
y: ee(r[2], n),
|
|
1518
|
+
M: ee(r[3], n),
|
|
1519
|
+
w: ee(r[4], n),
|
|
1520
|
+
d: ee(r[5], n),
|
|
1521
|
+
h: ee(r[6], n),
|
|
1522
|
+
m: ee(r[7], n),
|
|
1523
|
+
s: ee(r[8], n)
|
|
1524
|
+
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i = jn(
|
|
1525
|
+
S(s.from),
|
|
1526
|
+
S(s.to)
|
|
1527
|
+
), s = {}, s.ms = i.milliseconds, s.M = i.months), a = new je(s), Te(e) && w(e, "_locale") && (a._locale = e._locale), Te(e) && w(e, "_isValid") && (a._isValid = e._isValid), a;
|
|
1528
|
+
}
|
|
1529
|
+
L.fn = je.prototype;
|
|
1530
|
+
L.invalid = Tn;
|
|
1531
1531
|
function ee(e, t) {
|
|
1532
|
-
var
|
|
1533
|
-
return (isNaN(
|
|
1532
|
+
var s = e && parseFloat(e.replace(",", "."));
|
|
1533
|
+
return (isNaN(s) ? 0 : s) * t;
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1536
|
-
var
|
|
1537
|
-
return
|
|
1535
|
+
function Wt(e, t) {
|
|
1536
|
+
var s = {};
|
|
1537
|
+
return s.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(s.months, "M").isAfter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "M"), s;
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1540
|
-
var
|
|
1541
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1539
|
+
function jn(e, t) {
|
|
1540
|
+
var s;
|
|
1541
|
+
return e.isValid() && t.isValid() ? (t = kt(t, e), e.isBefore(t) ? s = Wt(e, t) : (s = Wt(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1544
|
-
return function(
|
|
1545
|
-
var
|
|
1546
|
-
return
|
|
1543
|
+
function us(e, t) {
|
|
1544
|
+
return function(s, r) {
|
|
1545
|
+
var n, a;
|
|
1546
|
+
return r !== null && !isNaN(+r) && (Ut(
|
|
1547
1547
|
t,
|
|
1548
1548
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1549
|
-
),
|
|
1549
|
+
), a = s, s = r, r = a), n = L(s, r), ds(this, n, e), this;
|
|
1550
1550
|
};
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1553
|
-
var
|
|
1554
|
-
e.isValid() && (
|
|
1552
|
+
function ds(e, t, s, r) {
|
|
1553
|
+
var n = t._milliseconds, a = et(t._days), i = et(t._months);
|
|
1554
|
+
e.isValid() && (r = r ?? !0, i && Bt(e, ye(e, "Month") + i * s), a && $t(e, "Date", ye(e, "Date") + a * s), n && e._d.setTime(e._d.valueOf() + n * s), r && l.updateOffset(e, a || i));
|
|
1555
1555
|
}
|
|
1556
|
-
var
|
|
1557
|
-
function
|
|
1556
|
+
var Vn = us(1, "add"), Gn = us(-1, "subtract");
|
|
1557
|
+
function hs(e) {
|
|
1558
1558
|
return typeof e == "string" || e instanceof String;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1561
|
-
return F(e) ||
|
|
1560
|
+
function $n(e) {
|
|
1561
|
+
return F(e) || Se(e) || hs(e) || Z(e) || Zn(e) || zn(e) || e === null || e === void 0;
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1564
|
-
var t =
|
|
1563
|
+
function zn(e) {
|
|
1564
|
+
var t = se(e) && !rt(e), s = !1, r = [
|
|
1565
1565
|
"years",
|
|
1566
1566
|
"year",
|
|
1567
1567
|
"y",
|
|
@@ -1586,198 +1586,198 @@ function za(e) {
|
|
|
1586
1586
|
"milliseconds",
|
|
1587
1587
|
"millisecond",
|
|
1588
1588
|
"ms"
|
|
1589
|
-
], a, i
|
|
1590
|
-
for (
|
|
1591
|
-
|
|
1592
|
-
return t &&
|
|
1593
|
-
}
|
|
1594
|
-
function
|
|
1595
|
-
var t =
|
|
1596
|
-
return t && (
|
|
1597
|
-
return !
|
|
1598
|
-
}).length === 0), t &&
|
|
1599
|
-
}
|
|
1600
|
-
function
|
|
1601
|
-
var t =
|
|
1589
|
+
], n, a, i = r.length;
|
|
1590
|
+
for (n = 0; n < i; n += 1)
|
|
1591
|
+
a = r[n], s = s || w(e, a);
|
|
1592
|
+
return t && s;
|
|
1593
|
+
}
|
|
1594
|
+
function Zn(e) {
|
|
1595
|
+
var t = R(e), s = !1;
|
|
1596
|
+
return t && (s = e.filter(function(r) {
|
|
1597
|
+
return !Z(r) && hs(e);
|
|
1598
|
+
}).length === 0), t && s;
|
|
1599
|
+
}
|
|
1600
|
+
function Bn(e) {
|
|
1601
|
+
var t = se(e) && !rt(e), s = !1, r = [
|
|
1602
1602
|
"sameDay",
|
|
1603
1603
|
"nextDay",
|
|
1604
1604
|
"lastDay",
|
|
1605
1605
|
"nextWeek",
|
|
1606
1606
|
"lastWeek",
|
|
1607
1607
|
"sameElse"
|
|
1608
|
-
],
|
|
1609
|
-
for (
|
|
1610
|
-
|
|
1611
|
-
return t &&
|
|
1612
|
-
}
|
|
1613
|
-
function
|
|
1614
|
-
var
|
|
1615
|
-
return
|
|
1616
|
-
}
|
|
1617
|
-
function
|
|
1618
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1619
|
-
var
|
|
1608
|
+
], n, a;
|
|
1609
|
+
for (n = 0; n < r.length; n += 1)
|
|
1610
|
+
a = r[n], s = s || w(e, a);
|
|
1611
|
+
return t && s;
|
|
1612
|
+
}
|
|
1613
|
+
function qn(e, t) {
|
|
1614
|
+
var s = e.diff(t, "days", !0);
|
|
1615
|
+
return s < -6 ? "sameElse" : s < -1 ? "lastWeek" : s < 0 ? "lastDay" : s < 1 ? "sameDay" : s < 2 ? "nextDay" : s < 7 ? "nextWeek" : "sameElse";
|
|
1616
|
+
}
|
|
1617
|
+
function Jn(e, t) {
|
|
1618
|
+
arguments.length === 1 && (arguments[0] ? $n(arguments[0]) ? (e = arguments[0], t = void 0) : Bn(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1619
|
+
var s = e || S(), r = kt(s, this).startOf("day"), n = l.calendarFormat(this, r) || "sameElse", a = t && (H(t[n]) ? t[n].call(this, s) : t[n]);
|
|
1620
1620
|
return this.format(
|
|
1621
|
-
|
|
1621
|
+
a || this.localeData().calendar(n, this, S(s))
|
|
1622
1622
|
);
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1625
|
-
return new
|
|
1624
|
+
function Qn() {
|
|
1625
|
+
return new ke(this);
|
|
1626
1626
|
}
|
|
1627
|
-
function
|
|
1628
|
-
var
|
|
1629
|
-
return this.isValid() &&
|
|
1627
|
+
function Xn(e, t) {
|
|
1628
|
+
var s = F(e) ? e : S(e);
|
|
1629
|
+
return this.isValid() && s.isValid() ? (t = N(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1632
|
-
var
|
|
1633
|
-
return this.isValid() &&
|
|
1631
|
+
function Kn(e, t) {
|
|
1632
|
+
var s = F(e) ? e : S(e);
|
|
1633
|
+
return this.isValid() && s.isValid() ? (t = N(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1636
|
-
var
|
|
1637
|
-
return this.isValid() &&
|
|
1635
|
+
function ea(e, t, s, r) {
|
|
1636
|
+
var n = F(e) ? e : S(e), a = F(t) ? t : S(t);
|
|
1637
|
+
return this.isValid() && n.isValid() && a.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(n, s) : !this.isBefore(n, s)) && (r[1] === ")" ? this.isBefore(a, s) : !this.isAfter(a, s))) : !1;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1640
|
-
var
|
|
1641
|
-
return this.isValid() &&
|
|
1639
|
+
function ta(e, t) {
|
|
1640
|
+
var s = F(e) ? e : S(e), r;
|
|
1641
|
+
return this.isValid() && s.isValid() ? (t = N(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function sa(e, t) {
|
|
1644
1644
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function ra(e, t) {
|
|
1647
1647
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1650
|
-
var
|
|
1649
|
+
function na(e, t, s) {
|
|
1650
|
+
var r, n, a;
|
|
1651
1651
|
if (!this.isValid())
|
|
1652
1652
|
return NaN;
|
|
1653
|
-
if (
|
|
1653
|
+
if (r = kt(e, this), !r.isValid())
|
|
1654
1654
|
return NaN;
|
|
1655
|
-
switch (
|
|
1655
|
+
switch (n = (r.utcOffset() - this.utcOffset()) * 6e4, t = N(t), t) {
|
|
1656
1656
|
case "year":
|
|
1657
|
-
|
|
1657
|
+
a = be(this, r) / 12;
|
|
1658
1658
|
break;
|
|
1659
1659
|
case "month":
|
|
1660
|
-
|
|
1660
|
+
a = be(this, r);
|
|
1661
1661
|
break;
|
|
1662
1662
|
case "quarter":
|
|
1663
|
-
|
|
1663
|
+
a = be(this, r) / 3;
|
|
1664
1664
|
break;
|
|
1665
1665
|
case "second":
|
|
1666
|
-
|
|
1666
|
+
a = (this - r) / 1e3;
|
|
1667
1667
|
break;
|
|
1668
1668
|
case "minute":
|
|
1669
|
-
|
|
1669
|
+
a = (this - r) / 6e4;
|
|
1670
1670
|
break;
|
|
1671
1671
|
case "hour":
|
|
1672
|
-
|
|
1672
|
+
a = (this - r) / 36e5;
|
|
1673
1673
|
break;
|
|
1674
1674
|
case "day":
|
|
1675
|
-
|
|
1675
|
+
a = (this - r - n) / 864e5;
|
|
1676
1676
|
break;
|
|
1677
1677
|
case "week":
|
|
1678
|
-
|
|
1678
|
+
a = (this - r - n) / 6048e5;
|
|
1679
1679
|
break;
|
|
1680
1680
|
default:
|
|
1681
|
-
|
|
1681
|
+
a = this - r;
|
|
1682
1682
|
}
|
|
1683
|
-
return
|
|
1683
|
+
return s ? a : x(a);
|
|
1684
1684
|
}
|
|
1685
|
-
function
|
|
1685
|
+
function be(e, t) {
|
|
1686
1686
|
if (e.date() < t.date())
|
|
1687
|
-
return -
|
|
1688
|
-
var
|
|
1689
|
-
return t -
|
|
1687
|
+
return -be(t, e);
|
|
1688
|
+
var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"), n, a;
|
|
1689
|
+
return t - r < 0 ? (n = e.clone().add(s - 1, "months"), a = (t - r) / (r - n)) : (n = e.clone().add(s + 1, "months"), a = (t - r) / (n - r)), -(s + a) || 0;
|
|
1690
1690
|
}
|
|
1691
1691
|
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1692
1692
|
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1693
|
-
function
|
|
1693
|
+
function aa() {
|
|
1694
1694
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1696
|
+
function ia(e) {
|
|
1697
1697
|
if (!this.isValid())
|
|
1698
1698
|
return null;
|
|
1699
|
-
var t = e !== !0,
|
|
1700
|
-
return
|
|
1701
|
-
|
|
1699
|
+
var t = e !== !0, s = t ? this.clone().utc() : this;
|
|
1700
|
+
return s.year() < 0 || s.year() > 9999 ? Oe(
|
|
1701
|
+
s,
|
|
1702
1702
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1703
|
-
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z",
|
|
1704
|
-
|
|
1703
|
+
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Oe(s, "Z")) : Oe(
|
|
1704
|
+
s,
|
|
1705
1705
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1706
1706
|
);
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function oa() {
|
|
1709
1709
|
if (!this.isValid())
|
|
1710
1710
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1711
|
-
var e = "moment", t = "", r,
|
|
1712
|
-
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"),
|
|
1711
|
+
var e = "moment", t = "", s, r, n, a;
|
|
1712
|
+
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", a = t + '[")]', this.format(s + r + n + a);
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function la(e) {
|
|
1715
1715
|
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1716
|
-
var t =
|
|
1716
|
+
var t = Oe(this, e);
|
|
1717
1717
|
return this.localeData().postformat(t);
|
|
1718
1718
|
}
|
|
1719
|
-
function
|
|
1720
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1719
|
+
function ua(e, t) {
|
|
1720
|
+
return this.isValid() && (F(e) && e.isValid() || S(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1723
|
-
return this.from(
|
|
1722
|
+
function da(e) {
|
|
1723
|
+
return this.from(S(), e);
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1726
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1725
|
+
function ha(e, t) {
|
|
1726
|
+
return this.isValid() && (F(e) && e.isValid() || S(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1727
1727
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return this.to(
|
|
1728
|
+
function fa(e) {
|
|
1729
|
+
return this.to(S(), e);
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1731
|
+
function fs(e) {
|
|
1732
1732
|
var t;
|
|
1733
|
-
return e === void 0 ? this._locale._abbr : (t =
|
|
1733
|
+
return e === void 0 ? this._locale._abbr : (t = B(e), t != null && (this._locale = t), this);
|
|
1734
1734
|
}
|
|
1735
|
-
var
|
|
1735
|
+
var cs = W(
|
|
1736
1736
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1737
1737
|
function(e) {
|
|
1738
1738
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1739
1739
|
}
|
|
1740
1740
|
);
|
|
1741
|
-
function
|
|
1741
|
+
function ms() {
|
|
1742
1742
|
return this._locale;
|
|
1743
1743
|
}
|
|
1744
|
-
var
|
|
1744
|
+
var Ne = 1e3, le = 60 * Ne, Pe = 60 * le, _s = (365 * 400 + 97) * 24 * Pe;
|
|
1745
1745
|
function ue(e, t) {
|
|
1746
1746
|
return (e % t + t) % t;
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1749
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t,
|
|
1748
|
+
function ys(e, t, s) {
|
|
1749
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, s) - _s : new Date(e, t, s).valueOf();
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1752
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t,
|
|
1751
|
+
function ws(e, t, s) {
|
|
1752
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - _s : Date.UTC(e, t, s);
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
var t,
|
|
1756
|
-
if (e =
|
|
1754
|
+
function ca(e) {
|
|
1755
|
+
var t, s;
|
|
1756
|
+
if (e = N(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1757
1757
|
return this;
|
|
1758
|
-
switch (
|
|
1758
|
+
switch (s = this._isUTC ? ws : ys, e) {
|
|
1759
1759
|
case "year":
|
|
1760
|
-
t =
|
|
1760
|
+
t = s(this.year(), 0, 1);
|
|
1761
1761
|
break;
|
|
1762
1762
|
case "quarter":
|
|
1763
|
-
t =
|
|
1763
|
+
t = s(
|
|
1764
1764
|
this.year(),
|
|
1765
1765
|
this.month() - this.month() % 3,
|
|
1766
1766
|
1
|
|
1767
1767
|
);
|
|
1768
1768
|
break;
|
|
1769
1769
|
case "month":
|
|
1770
|
-
t =
|
|
1770
|
+
t = s(this.year(), this.month(), 1);
|
|
1771
1771
|
break;
|
|
1772
1772
|
case "week":
|
|
1773
|
-
t =
|
|
1773
|
+
t = s(
|
|
1774
1774
|
this.year(),
|
|
1775
1775
|
this.month(),
|
|
1776
1776
|
this.date() - this.weekday()
|
|
1777
1777
|
);
|
|
1778
1778
|
break;
|
|
1779
1779
|
case "isoWeek":
|
|
1780
|
-
t =
|
|
1780
|
+
t = s(
|
|
1781
1781
|
this.year(),
|
|
1782
1782
|
this.month(),
|
|
1783
1783
|
this.date() - (this.isoWeekday() - 1)
|
|
@@ -1785,50 +1785,50 @@ function fi(e) {
|
|
|
1785
1785
|
break;
|
|
1786
1786
|
case "day":
|
|
1787
1787
|
case "date":
|
|
1788
|
-
t =
|
|
1788
|
+
t = s(this.year(), this.month(), this.date());
|
|
1789
1789
|
break;
|
|
1790
1790
|
case "hour":
|
|
1791
1791
|
t = this._d.valueOf(), t -= ue(
|
|
1792
1792
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1793
|
-
|
|
1793
|
+
Pe
|
|
1794
1794
|
);
|
|
1795
1795
|
break;
|
|
1796
1796
|
case "minute":
|
|
1797
1797
|
t = this._d.valueOf(), t -= ue(t, le);
|
|
1798
1798
|
break;
|
|
1799
1799
|
case "second":
|
|
1800
|
-
t = this._d.valueOf(), t -= ue(t,
|
|
1800
|
+
t = this._d.valueOf(), t -= ue(t, Ne);
|
|
1801
1801
|
break;
|
|
1802
1802
|
}
|
|
1803
1803
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1806
|
-
var t,
|
|
1807
|
-
if (e =
|
|
1805
|
+
function ma(e) {
|
|
1806
|
+
var t, s;
|
|
1807
|
+
if (e = N(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1808
1808
|
return this;
|
|
1809
|
-
switch (
|
|
1809
|
+
switch (s = this._isUTC ? ws : ys, e) {
|
|
1810
1810
|
case "year":
|
|
1811
|
-
t =
|
|
1811
|
+
t = s(this.year() + 1, 0, 1) - 1;
|
|
1812
1812
|
break;
|
|
1813
1813
|
case "quarter":
|
|
1814
|
-
t =
|
|
1814
|
+
t = s(
|
|
1815
1815
|
this.year(),
|
|
1816
1816
|
this.month() - this.month() % 3 + 3,
|
|
1817
1817
|
1
|
|
1818
1818
|
) - 1;
|
|
1819
1819
|
break;
|
|
1820
1820
|
case "month":
|
|
1821
|
-
t =
|
|
1821
|
+
t = s(this.year(), this.month() + 1, 1) - 1;
|
|
1822
1822
|
break;
|
|
1823
1823
|
case "week":
|
|
1824
|
-
t =
|
|
1824
|
+
t = s(
|
|
1825
1825
|
this.year(),
|
|
1826
1826
|
this.month(),
|
|
1827
1827
|
this.date() - this.weekday() + 7
|
|
1828
1828
|
) - 1;
|
|
1829
1829
|
break;
|
|
1830
1830
|
case "isoWeek":
|
|
1831
|
-
t =
|
|
1831
|
+
t = s(
|
|
1832
1832
|
this.year(),
|
|
1833
1833
|
this.month(),
|
|
1834
1834
|
this.date() - (this.isoWeekday() - 1) + 7
|
|
@@ -1836,33 +1836,33 @@ function hi(e) {
|
|
|
1836
1836
|
break;
|
|
1837
1837
|
case "day":
|
|
1838
1838
|
case "date":
|
|
1839
|
-
t =
|
|
1839
|
+
t = s(this.year(), this.month(), this.date() + 1) - 1;
|
|
1840
1840
|
break;
|
|
1841
1841
|
case "hour":
|
|
1842
|
-
t = this._d.valueOf(), t +=
|
|
1842
|
+
t = this._d.valueOf(), t += Pe - ue(
|
|
1843
1843
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1844
|
-
|
|
1844
|
+
Pe
|
|
1845
1845
|
) - 1;
|
|
1846
1846
|
break;
|
|
1847
1847
|
case "minute":
|
|
1848
1848
|
t = this._d.valueOf(), t += le - ue(t, le) - 1;
|
|
1849
1849
|
break;
|
|
1850
1850
|
case "second":
|
|
1851
|
-
t = this._d.valueOf(), t +=
|
|
1851
|
+
t = this._d.valueOf(), t += Ne - ue(t, Ne) - 1;
|
|
1852
1852
|
break;
|
|
1853
1853
|
}
|
|
1854
1854
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function _a() {
|
|
1857
1857
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1859
|
+
function ya() {
|
|
1860
1860
|
return Math.floor(this.valueOf() / 1e3);
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function wa() {
|
|
1863
1863
|
return new Date(this.valueOf());
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function Ma() {
|
|
1866
1866
|
var e = this;
|
|
1867
1867
|
return [
|
|
1868
1868
|
e.year(),
|
|
@@ -1874,7 +1874,7 @@ function pi() {
|
|
|
1874
1874
|
e.millisecond()
|
|
1875
1875
|
];
|
|
1876
1876
|
}
|
|
1877
|
-
function
|
|
1877
|
+
function ga() {
|
|
1878
1878
|
var e = this;
|
|
1879
1879
|
return {
|
|
1880
1880
|
years: e.year(),
|
|
@@ -1886,19 +1886,19 @@ function gi() {
|
|
|
1886
1886
|
milliseconds: e.milliseconds()
|
|
1887
1887
|
};
|
|
1888
1888
|
}
|
|
1889
|
-
function
|
|
1889
|
+
function Sa() {
|
|
1890
1890
|
return this.isValid() ? this.toISOString() : null;
|
|
1891
1891
|
}
|
|
1892
|
-
function
|
|
1893
|
-
return
|
|
1892
|
+
function ka() {
|
|
1893
|
+
return nt(this);
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1896
|
-
return Q({},
|
|
1895
|
+
function Da() {
|
|
1896
|
+
return Q({}, c(this));
|
|
1897
1897
|
}
|
|
1898
|
-
function
|
|
1899
|
-
return
|
|
1898
|
+
function pa() {
|
|
1899
|
+
return c(this).overflow;
|
|
1900
1900
|
}
|
|
1901
|
-
function
|
|
1901
|
+
function va() {
|
|
1902
1902
|
return {
|
|
1903
1903
|
input: this._i,
|
|
1904
1904
|
format: this._f,
|
|
@@ -1907,173 +1907,173 @@ function Si() {
|
|
|
1907
1907
|
strict: this._strict
|
|
1908
1908
|
};
|
|
1909
1909
|
}
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
d("N",
|
|
1920
|
-
d("NN",
|
|
1921
|
-
d("NNN",
|
|
1922
|
-
d("NNNN",
|
|
1923
|
-
d("NNNNN",
|
|
1924
|
-
|
|
1910
|
+
h("N", 0, 0, "eraAbbr");
|
|
1911
|
+
h("NN", 0, 0, "eraAbbr");
|
|
1912
|
+
h("NNN", 0, 0, "eraAbbr");
|
|
1913
|
+
h("NNNN", 0, 0, "eraName");
|
|
1914
|
+
h("NNNNN", 0, 0, "eraNarrow");
|
|
1915
|
+
h("y", ["y", 1], "yo", "eraYear");
|
|
1916
|
+
h("y", ["yy", 2], 0, "eraYear");
|
|
1917
|
+
h("y", ["yyy", 3], 0, "eraYear");
|
|
1918
|
+
h("y", ["yyyy", 4], 0, "eraYear");
|
|
1919
|
+
d("N", Dt);
|
|
1920
|
+
d("NN", Dt);
|
|
1921
|
+
d("NNN", Dt);
|
|
1922
|
+
d("NNNN", La);
|
|
1923
|
+
d("NNNNN", Ca);
|
|
1924
|
+
g(
|
|
1925
1925
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
1926
|
-
function(e, t,
|
|
1927
|
-
var
|
|
1928
|
-
|
|
1926
|
+
function(e, t, s, r) {
|
|
1927
|
+
var n = s._locale.erasParse(e, r, s._strict);
|
|
1928
|
+
n ? c(s).era = n : c(s).invalidEra = e;
|
|
1929
1929
|
}
|
|
1930
1930
|
);
|
|
1931
1931
|
d("y", de);
|
|
1932
1932
|
d("yy", de);
|
|
1933
1933
|
d("yyy", de);
|
|
1934
1934
|
d("yyyy", de);
|
|
1935
|
-
d("yo",
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
var
|
|
1939
|
-
|
|
1935
|
+
d("yo", Ia);
|
|
1936
|
+
g(["y", "yy", "yyy", "yyyy"], Y);
|
|
1937
|
+
g(["yo"], function(e, t, s, r) {
|
|
1938
|
+
var n;
|
|
1939
|
+
s._locale._eraYearOrdinalRegex && (n = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[Y] = s._locale.eraYearOrdinalParse(e, n) : t[Y] = parseInt(e, 10);
|
|
1940
1940
|
});
|
|
1941
|
-
function
|
|
1942
|
-
var r,
|
|
1943
|
-
for (
|
|
1944
|
-
switch (typeof
|
|
1941
|
+
function Ya(e, t) {
|
|
1942
|
+
var s, r, n, a = this._eras || B("en")._eras;
|
|
1943
|
+
for (s = 0, r = a.length; s < r; ++s) {
|
|
1944
|
+
switch (typeof a[s].since) {
|
|
1945
1945
|
case "string":
|
|
1946
|
-
|
|
1946
|
+
n = l(a[s].since).startOf("day"), a[s].since = n.valueOf();
|
|
1947
1947
|
break;
|
|
1948
1948
|
}
|
|
1949
|
-
switch (typeof
|
|
1949
|
+
switch (typeof a[s].until) {
|
|
1950
1950
|
case "undefined":
|
|
1951
|
-
|
|
1951
|
+
a[s].until = 1 / 0;
|
|
1952
1952
|
break;
|
|
1953
1953
|
case "string":
|
|
1954
|
-
|
|
1954
|
+
n = l(a[s].until).startOf("day").valueOf(), a[s].until = n.valueOf();
|
|
1955
1955
|
break;
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
|
-
return
|
|
1958
|
+
return a;
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1961
|
-
var
|
|
1962
|
-
for (e = e.toUpperCase(),
|
|
1963
|
-
if (
|
|
1960
|
+
function Oa(e, t, s) {
|
|
1961
|
+
var r, n, a = this.eras(), i, u, f;
|
|
1962
|
+
for (e = e.toUpperCase(), r = 0, n = a.length; r < n; ++r)
|
|
1963
|
+
if (i = a[r].name.toUpperCase(), u = a[r].abbr.toUpperCase(), f = a[r].narrow.toUpperCase(), s)
|
|
1964
1964
|
switch (t) {
|
|
1965
1965
|
case "N":
|
|
1966
1966
|
case "NN":
|
|
1967
1967
|
case "NNN":
|
|
1968
1968
|
if (u === e)
|
|
1969
|
-
return
|
|
1969
|
+
return a[r];
|
|
1970
1970
|
break;
|
|
1971
1971
|
case "NNNN":
|
|
1972
|
-
if (
|
|
1973
|
-
return
|
|
1972
|
+
if (i === e)
|
|
1973
|
+
return a[r];
|
|
1974
1974
|
break;
|
|
1975
1975
|
case "NNNNN":
|
|
1976
1976
|
if (f === e)
|
|
1977
|
-
return
|
|
1977
|
+
return a[r];
|
|
1978
1978
|
break;
|
|
1979
1979
|
}
|
|
1980
|
-
else if ([
|
|
1981
|
-
return
|
|
1982
|
-
}
|
|
1983
|
-
function
|
|
1984
|
-
var
|
|
1985
|
-
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) *
|
|
1986
|
-
}
|
|
1987
|
-
function
|
|
1988
|
-
var e, t,
|
|
1989
|
-
for (e = 0, t =
|
|
1990
|
-
if (
|
|
1991
|
-
return
|
|
1980
|
+
else if ([i, u, f].indexOf(e) >= 0)
|
|
1981
|
+
return a[r];
|
|
1982
|
+
}
|
|
1983
|
+
function Ta(e, t) {
|
|
1984
|
+
var s = e.since <= e.until ? 1 : -1;
|
|
1985
|
+
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * s;
|
|
1986
|
+
}
|
|
1987
|
+
function ba() {
|
|
1988
|
+
var e, t, s, r = this.localeData().eras();
|
|
1989
|
+
for (e = 0, t = r.length; e < t; ++e)
|
|
1990
|
+
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
1991
|
+
return r[e].name;
|
|
1992
1992
|
return "";
|
|
1993
1993
|
}
|
|
1994
|
-
function
|
|
1995
|
-
var e, t,
|
|
1996
|
-
for (e = 0, t =
|
|
1997
|
-
if (
|
|
1998
|
-
return
|
|
1994
|
+
function xa() {
|
|
1995
|
+
var e, t, s, r = this.localeData().eras();
|
|
1996
|
+
for (e = 0, t = r.length; e < t; ++e)
|
|
1997
|
+
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
1998
|
+
return r[e].narrow;
|
|
1999
1999
|
return "";
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2002
|
-
var e, t,
|
|
2003
|
-
for (e = 0, t =
|
|
2004
|
-
if (
|
|
2005
|
-
return
|
|
2001
|
+
function Wa() {
|
|
2002
|
+
var e, t, s, r = this.localeData().eras();
|
|
2003
|
+
for (e = 0, t = r.length; e < t; ++e)
|
|
2004
|
+
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2005
|
+
return r[e].abbr;
|
|
2006
2006
|
return "";
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2009
|
-
var e, t,
|
|
2010
|
-
for (e = 0, t =
|
|
2011
|
-
if (
|
|
2012
|
-
return (this.year() - l(
|
|
2008
|
+
function Na() {
|
|
2009
|
+
var e, t, s, r, n = this.localeData().eras();
|
|
2010
|
+
for (e = 0, t = n.length; e < t; ++e)
|
|
2011
|
+
if (s = n[e].since <= n[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
|
|
2012
|
+
return (this.year() - l(n[e].since).year()) * s + n[e].offset;
|
|
2013
2013
|
return this.year();
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2016
|
-
return
|
|
2015
|
+
function Pa(e) {
|
|
2016
|
+
return w(this, "_erasNameRegex") || pt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2017
2017
|
}
|
|
2018
|
-
function
|
|
2019
|
-
return
|
|
2018
|
+
function Ra(e) {
|
|
2019
|
+
return w(this, "_erasAbbrRegex") || pt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2020
2020
|
}
|
|
2021
|
-
function
|
|
2022
|
-
return
|
|
2021
|
+
function Fa(e) {
|
|
2022
|
+
return w(this, "_erasNarrowRegex") || pt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2023
2023
|
}
|
|
2024
|
-
function
|
|
2024
|
+
function Dt(e, t) {
|
|
2025
2025
|
return t.erasAbbrRegex(e);
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function La(e, t) {
|
|
2028
2028
|
return t.erasNameRegex(e);
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2030
|
+
function Ca(e, t) {
|
|
2031
2031
|
return t.erasNarrowRegex(e);
|
|
2032
2032
|
}
|
|
2033
|
-
function
|
|
2033
|
+
function Ia(e, t) {
|
|
2034
2034
|
return t._eraYearOrdinalRegex || de;
|
|
2035
2035
|
}
|
|
2036
|
-
function
|
|
2037
|
-
var e = [], t = [],
|
|
2038
|
-
for (
|
|
2039
|
-
|
|
2040
|
-
this._erasRegex = new RegExp("^(" +
|
|
2041
|
-
"^(" +
|
|
2036
|
+
function pt() {
|
|
2037
|
+
var e = [], t = [], s = [], r = [], n, a, i, u, f, _ = this.eras();
|
|
2038
|
+
for (n = 0, a = _.length; n < a; ++n)
|
|
2039
|
+
i = $(_[n].name), u = $(_[n].abbr), f = $(_[n].narrow), t.push(i), e.push(u), s.push(f), r.push(i), r.push(u), r.push(f);
|
|
2040
|
+
this._erasRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2041
|
+
"^(" + s.join("|") + ")",
|
|
2042
2042
|
"i"
|
|
2043
2043
|
);
|
|
2044
2044
|
}
|
|
2045
|
-
|
|
2045
|
+
h(0, ["gg", 2], 0, function() {
|
|
2046
2046
|
return this.weekYear() % 100;
|
|
2047
2047
|
});
|
|
2048
|
-
|
|
2048
|
+
h(0, ["GG", 2], 0, function() {
|
|
2049
2049
|
return this.isoWeekYear() % 100;
|
|
2050
2050
|
});
|
|
2051
|
-
function
|
|
2052
|
-
|
|
2051
|
+
function Ve(e, t) {
|
|
2052
|
+
h(0, [e, e.length], 0, t);
|
|
2053
2053
|
}
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2054
|
+
Ve("gggg", "weekYear");
|
|
2055
|
+
Ve("ggggg", "weekYear");
|
|
2056
|
+
Ve("GGGG", "isoWeekYear");
|
|
2057
|
+
Ve("GGGGG", "isoWeekYear");
|
|
2058
2058
|
d("G", Ue);
|
|
2059
2059
|
d("g", Ue);
|
|
2060
|
-
d("GG",
|
|
2061
|
-
d("gg",
|
|
2060
|
+
d("GG", k, b);
|
|
2061
|
+
d("gg", k, b);
|
|
2062
2062
|
d("GGGG", dt, ut);
|
|
2063
2063
|
d("gggg", dt, ut);
|
|
2064
|
-
d("GGGGG", Ie,
|
|
2065
|
-
d("ggggg", Ie,
|
|
2066
|
-
|
|
2064
|
+
d("GGGGG", Ie, Le);
|
|
2065
|
+
d("ggggg", Ie, Le);
|
|
2066
|
+
pe(
|
|
2067
2067
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2068
|
-
function(e, t,
|
|
2069
|
-
t[
|
|
2068
|
+
function(e, t, s, r) {
|
|
2069
|
+
t[r.substr(0, 2)] = m(e);
|
|
2070
2070
|
}
|
|
2071
2071
|
);
|
|
2072
|
-
|
|
2073
|
-
t[
|
|
2072
|
+
pe(["gg", "GG"], function(e, t, s, r) {
|
|
2073
|
+
t[r] = l.parseTwoDigitYear(e);
|
|
2074
2074
|
});
|
|
2075
|
-
function
|
|
2076
|
-
return
|
|
2075
|
+
function Ua(e) {
|
|
2076
|
+
return Ms.call(
|
|
2077
2077
|
this,
|
|
2078
2078
|
e,
|
|
2079
2079
|
this.week(),
|
|
@@ -2082,8 +2082,8 @@ function Ii(e) {
|
|
|
2082
2082
|
this.localeData()._week.doy
|
|
2083
2083
|
);
|
|
2084
2084
|
}
|
|
2085
|
-
function
|
|
2086
|
-
return
|
|
2085
|
+
function Ha(e) {
|
|
2086
|
+
return Ms.call(
|
|
2087
2087
|
this,
|
|
2088
2088
|
e,
|
|
2089
2089
|
this.isoWeek(),
|
|
@@ -2092,293 +2092,293 @@ function Ui(e) {
|
|
|
2092
2092
|
4
|
|
2093
2093
|
);
|
|
2094
2094
|
}
|
|
2095
|
-
function
|
|
2096
|
-
return
|
|
2095
|
+
function Ea() {
|
|
2096
|
+
return z(this.year(), 1, 4);
|
|
2097
2097
|
}
|
|
2098
|
-
function
|
|
2099
|
-
return
|
|
2098
|
+
function Aa() {
|
|
2099
|
+
return z(this.isoWeekYear(), 1, 4);
|
|
2100
2100
|
}
|
|
2101
|
-
function
|
|
2101
|
+
function ja() {
|
|
2102
2102
|
var e = this.localeData()._week;
|
|
2103
|
-
return
|
|
2103
|
+
return z(this.year(), e.dow, e.doy);
|
|
2104
2104
|
}
|
|
2105
|
-
function
|
|
2105
|
+
function Va() {
|
|
2106
2106
|
var e = this.localeData()._week;
|
|
2107
|
-
return
|
|
2107
|
+
return z(this.weekYear(), e.dow, e.doy);
|
|
2108
2108
|
}
|
|
2109
|
-
function
|
|
2110
|
-
var
|
|
2111
|
-
return e == null ?
|
|
2109
|
+
function Ms(e, t, s, r, n) {
|
|
2110
|
+
var a;
|
|
2111
|
+
return e == null ? Me(this, r, n).year : (a = z(e, r, n), t > a && (t = a), Ga.call(this, e, t, s, r, n));
|
|
2112
2112
|
}
|
|
2113
|
-
function
|
|
2114
|
-
var
|
|
2115
|
-
return this.year(
|
|
2113
|
+
function Ga(e, t, s, r, n) {
|
|
2114
|
+
var a = Qt(e, t, s, r, n), i = we(a.year, 0, a.dayOfYear);
|
|
2115
|
+
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2116
2116
|
}
|
|
2117
|
-
|
|
2117
|
+
h("Q", 0, "Qo", "quarter");
|
|
2118
2118
|
d("Q", Et);
|
|
2119
|
-
|
|
2120
|
-
t[
|
|
2119
|
+
g("Q", function(e, t) {
|
|
2120
|
+
t[V] = (m(e) - 1) * 3;
|
|
2121
2121
|
});
|
|
2122
|
-
function
|
|
2122
|
+
function $a(e) {
|
|
2123
2123
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2124
2124
|
}
|
|
2125
|
-
|
|
2126
|
-
d("D",
|
|
2127
|
-
d("DD",
|
|
2125
|
+
h("D", ["DD", 2], "Do", "date");
|
|
2126
|
+
d("D", k, he);
|
|
2127
|
+
d("DD", k, b);
|
|
2128
2128
|
d("Do", function(e, t) {
|
|
2129
2129
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2130
2130
|
});
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
t[
|
|
2131
|
+
g(["D", "DD"], C);
|
|
2132
|
+
g("Do", function(e, t) {
|
|
2133
|
+
t[C] = m(e.match(k)[0]);
|
|
2134
2134
|
});
|
|
2135
|
-
var
|
|
2136
|
-
|
|
2137
|
-
d("DDD",
|
|
2135
|
+
var gs = fe("Date", !0);
|
|
2136
|
+
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2137
|
+
d("DDD", Ce);
|
|
2138
2138
|
d("DDDD", At);
|
|
2139
|
-
|
|
2140
|
-
|
|
2139
|
+
g(["DDD", "DDDD"], function(e, t, s) {
|
|
2140
|
+
s._dayOfYear = m(e);
|
|
2141
2141
|
});
|
|
2142
|
-
function
|
|
2142
|
+
function za(e) {
|
|
2143
2143
|
var t = Math.round(
|
|
2144
2144
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2145
2145
|
) + 1;
|
|
2146
2146
|
return e == null ? t : this.add(e - t, "d");
|
|
2147
2147
|
}
|
|
2148
|
-
|
|
2149
|
-
d("m",
|
|
2150
|
-
d("mm",
|
|
2151
|
-
|
|
2152
|
-
var
|
|
2153
|
-
|
|
2154
|
-
d("s",
|
|
2155
|
-
d("ss",
|
|
2156
|
-
|
|
2157
|
-
var
|
|
2158
|
-
|
|
2148
|
+
h("m", ["mm", 2], 0, "minute");
|
|
2149
|
+
d("m", k, ht);
|
|
2150
|
+
d("mm", k, b);
|
|
2151
|
+
g(["m", "mm"], P);
|
|
2152
|
+
var Za = fe("Minutes", !1);
|
|
2153
|
+
h("s", ["ss", 2], 0, "second");
|
|
2154
|
+
d("s", k, ht);
|
|
2155
|
+
d("ss", k, b);
|
|
2156
|
+
g(["s", "ss"], G);
|
|
2157
|
+
var Ba = fe("Seconds", !1);
|
|
2158
|
+
h("S", 0, 0, function() {
|
|
2159
2159
|
return ~~(this.millisecond() / 100);
|
|
2160
2160
|
});
|
|
2161
|
-
|
|
2161
|
+
h(0, ["SS", 2], 0, function() {
|
|
2162
2162
|
return ~~(this.millisecond() / 10);
|
|
2163
2163
|
});
|
|
2164
|
-
|
|
2165
|
-
|
|
2164
|
+
h(0, ["SSS", 3], 0, "millisecond");
|
|
2165
|
+
h(0, ["SSSS", 4], 0, function() {
|
|
2166
2166
|
return this.millisecond() * 10;
|
|
2167
2167
|
});
|
|
2168
|
-
|
|
2168
|
+
h(0, ["SSSSS", 5], 0, function() {
|
|
2169
2169
|
return this.millisecond() * 100;
|
|
2170
2170
|
});
|
|
2171
|
-
|
|
2171
|
+
h(0, ["SSSSSS", 6], 0, function() {
|
|
2172
2172
|
return this.millisecond() * 1e3;
|
|
2173
2173
|
});
|
|
2174
|
-
|
|
2174
|
+
h(0, ["SSSSSSS", 7], 0, function() {
|
|
2175
2175
|
return this.millisecond() * 1e4;
|
|
2176
2176
|
});
|
|
2177
|
-
|
|
2177
|
+
h(0, ["SSSSSSSS", 8], 0, function() {
|
|
2178
2178
|
return this.millisecond() * 1e5;
|
|
2179
2179
|
});
|
|
2180
|
-
|
|
2180
|
+
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2181
2181
|
return this.millisecond() * 1e6;
|
|
2182
2182
|
});
|
|
2183
|
-
d("S",
|
|
2184
|
-
d("SS",
|
|
2185
|
-
d("SSS",
|
|
2186
|
-
var
|
|
2187
|
-
for (
|
|
2188
|
-
d(
|
|
2189
|
-
function
|
|
2190
|
-
t[te] =
|
|
2191
|
-
}
|
|
2192
|
-
for (
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
function
|
|
2183
|
+
d("S", Ce, Et);
|
|
2184
|
+
d("SS", Ce, b);
|
|
2185
|
+
d("SSS", Ce, At);
|
|
2186
|
+
var X, Ss;
|
|
2187
|
+
for (X = "SSSS"; X.length <= 9; X += "S")
|
|
2188
|
+
d(X, de);
|
|
2189
|
+
function qa(e, t) {
|
|
2190
|
+
t[te] = m(("0." + e) * 1e3);
|
|
2191
|
+
}
|
|
2192
|
+
for (X = "S"; X.length <= 9; X += "S")
|
|
2193
|
+
g(X, qa);
|
|
2194
|
+
Ss = fe("Milliseconds", !1);
|
|
2195
|
+
h("z", 0, 0, "zoneAbbr");
|
|
2196
|
+
h("zz", 0, 0, "zoneName");
|
|
2197
|
+
function Ja() {
|
|
2198
2198
|
return this._isUTC ? "UTC" : "";
|
|
2199
2199
|
}
|
|
2200
|
-
function
|
|
2200
|
+
function Qa() {
|
|
2201
2201
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2202
2202
|
}
|
|
2203
|
-
var o =
|
|
2204
|
-
o.add =
|
|
2205
|
-
o.calendar =
|
|
2206
|
-
o.clone =
|
|
2207
|
-
o.diff =
|
|
2208
|
-
o.endOf =
|
|
2209
|
-
o.format =
|
|
2210
|
-
o.from =
|
|
2211
|
-
o.fromNow =
|
|
2212
|
-
o.to =
|
|
2213
|
-
o.toNow =
|
|
2214
|
-
o.get =
|
|
2215
|
-
o.invalidAt =
|
|
2216
|
-
o.isAfter =
|
|
2217
|
-
o.isBefore =
|
|
2218
|
-
o.isBetween =
|
|
2219
|
-
o.isSame =
|
|
2220
|
-
o.isSameOrAfter =
|
|
2221
|
-
o.isSameOrBefore =
|
|
2222
|
-
o.isValid =
|
|
2223
|
-
o.lang =
|
|
2224
|
-
o.locale =
|
|
2225
|
-
o.localeData =
|
|
2226
|
-
o.max =
|
|
2227
|
-
o.min =
|
|
2228
|
-
o.parsingFlags =
|
|
2229
|
-
o.set =
|
|
2230
|
-
o.startOf =
|
|
2231
|
-
o.subtract =
|
|
2232
|
-
o.toArray =
|
|
2233
|
-
o.toObject =
|
|
2234
|
-
o.toDate =
|
|
2235
|
-
o.toISOString =
|
|
2236
|
-
o.inspect =
|
|
2203
|
+
var o = ke.prototype;
|
|
2204
|
+
o.add = Vn;
|
|
2205
|
+
o.calendar = Jn;
|
|
2206
|
+
o.clone = Qn;
|
|
2207
|
+
o.diff = na;
|
|
2208
|
+
o.endOf = ma;
|
|
2209
|
+
o.format = la;
|
|
2210
|
+
o.from = ua;
|
|
2211
|
+
o.fromNow = da;
|
|
2212
|
+
o.to = ha;
|
|
2213
|
+
o.toNow = fa;
|
|
2214
|
+
o.get = ir;
|
|
2215
|
+
o.invalidAt = pa;
|
|
2216
|
+
o.isAfter = Xn;
|
|
2217
|
+
o.isBefore = Kn;
|
|
2218
|
+
o.isBetween = ea;
|
|
2219
|
+
o.isSame = ta;
|
|
2220
|
+
o.isSameOrAfter = sa;
|
|
2221
|
+
o.isSameOrBefore = ra;
|
|
2222
|
+
o.isValid = ka;
|
|
2223
|
+
o.lang = cs;
|
|
2224
|
+
o.locale = fs;
|
|
2225
|
+
o.localeData = ms;
|
|
2226
|
+
o.max = kn;
|
|
2227
|
+
o.min = Sn;
|
|
2228
|
+
o.parsingFlags = Da;
|
|
2229
|
+
o.set = or;
|
|
2230
|
+
o.startOf = ca;
|
|
2231
|
+
o.subtract = Gn;
|
|
2232
|
+
o.toArray = Ma;
|
|
2233
|
+
o.toObject = ga;
|
|
2234
|
+
o.toDate = wa;
|
|
2235
|
+
o.toISOString = ia;
|
|
2236
|
+
o.inspect = oa;
|
|
2237
2237
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2238
2238
|
return "Moment<" + this.format() + ">";
|
|
2239
2239
|
});
|
|
2240
|
-
o.toJSON =
|
|
2241
|
-
o.toString =
|
|
2242
|
-
o.unix =
|
|
2243
|
-
o.valueOf =
|
|
2244
|
-
o.creationData =
|
|
2245
|
-
o.eraName =
|
|
2246
|
-
o.eraNarrow =
|
|
2247
|
-
o.eraAbbr =
|
|
2248
|
-
o.eraYear =
|
|
2249
|
-
o.year =
|
|
2250
|
-
o.isLeapYear =
|
|
2251
|
-
o.weekYear =
|
|
2252
|
-
o.isoWeekYear =
|
|
2253
|
-
o.quarter = o.quarters =
|
|
2254
|
-
o.month =
|
|
2255
|
-
o.daysInMonth =
|
|
2256
|
-
o.week = o.weeks =
|
|
2257
|
-
o.isoWeek = o.isoWeeks =
|
|
2258
|
-
o.weeksInYear =
|
|
2259
|
-
o.weeksInWeekYear =
|
|
2260
|
-
o.isoWeeksInYear =
|
|
2261
|
-
o.isoWeeksInISOWeekYear =
|
|
2262
|
-
o.date =
|
|
2263
|
-
o.day = o.days =
|
|
2264
|
-
o.weekday =
|
|
2265
|
-
o.isoWeekday =
|
|
2266
|
-
o.dayOfYear =
|
|
2267
|
-
o.hour = o.hours =
|
|
2268
|
-
o.minute = o.minutes =
|
|
2269
|
-
o.second = o.seconds =
|
|
2270
|
-
o.millisecond = o.milliseconds =
|
|
2271
|
-
o.utcOffset =
|
|
2272
|
-
o.utc =
|
|
2273
|
-
o.local =
|
|
2274
|
-
o.parseZone =
|
|
2275
|
-
o.hasAlignedHourOffset =
|
|
2276
|
-
o.isDST =
|
|
2277
|
-
o.isLocal =
|
|
2278
|
-
o.isUtcOffset =
|
|
2279
|
-
o.isUtc =
|
|
2280
|
-
o.isUTC =
|
|
2281
|
-
o.zoneAbbr =
|
|
2282
|
-
o.zoneName =
|
|
2283
|
-
o.dates =
|
|
2240
|
+
o.toJSON = Sa;
|
|
2241
|
+
o.toString = aa;
|
|
2242
|
+
o.unix = ya;
|
|
2243
|
+
o.valueOf = _a;
|
|
2244
|
+
o.creationData = va;
|
|
2245
|
+
o.eraName = ba;
|
|
2246
|
+
o.eraNarrow = xa;
|
|
2247
|
+
o.eraAbbr = Wa;
|
|
2248
|
+
o.eraYear = Na;
|
|
2249
|
+
o.year = Gt;
|
|
2250
|
+
o.isLeapYear = ar;
|
|
2251
|
+
o.weekYear = Ua;
|
|
2252
|
+
o.isoWeekYear = Ha;
|
|
2253
|
+
o.quarter = o.quarters = $a;
|
|
2254
|
+
o.month = qt;
|
|
2255
|
+
o.daysInMonth = yr;
|
|
2256
|
+
o.week = o.weeks = vr;
|
|
2257
|
+
o.isoWeek = o.isoWeeks = Yr;
|
|
2258
|
+
o.weeksInYear = ja;
|
|
2259
|
+
o.weeksInWeekYear = Va;
|
|
2260
|
+
o.isoWeeksInYear = Ea;
|
|
2261
|
+
o.isoWeeksInISOWeekYear = Aa;
|
|
2262
|
+
o.date = gs;
|
|
2263
|
+
o.day = o.days = Ur;
|
|
2264
|
+
o.weekday = Hr;
|
|
2265
|
+
o.isoWeekday = Er;
|
|
2266
|
+
o.dayOfYear = za;
|
|
2267
|
+
o.hour = o.hours = Zr;
|
|
2268
|
+
o.minute = o.minutes = Za;
|
|
2269
|
+
o.second = o.seconds = Ba;
|
|
2270
|
+
o.millisecond = o.milliseconds = Ss;
|
|
2271
|
+
o.utcOffset = Wn;
|
|
2272
|
+
o.utc = Pn;
|
|
2273
|
+
o.local = Rn;
|
|
2274
|
+
o.parseZone = Fn;
|
|
2275
|
+
o.hasAlignedHourOffset = Ln;
|
|
2276
|
+
o.isDST = Cn;
|
|
2277
|
+
o.isLocal = Un;
|
|
2278
|
+
o.isUtcOffset = Hn;
|
|
2279
|
+
o.isUtc = ls;
|
|
2280
|
+
o.isUTC = ls;
|
|
2281
|
+
o.zoneAbbr = Ja;
|
|
2282
|
+
o.zoneName = Qa;
|
|
2283
|
+
o.dates = W(
|
|
2284
2284
|
"dates accessor is deprecated. Use date instead.",
|
|
2285
|
-
|
|
2285
|
+
gs
|
|
2286
2286
|
);
|
|
2287
|
-
o.months =
|
|
2287
|
+
o.months = W(
|
|
2288
2288
|
"months accessor is deprecated. Use month instead",
|
|
2289
|
-
|
|
2289
|
+
qt
|
|
2290
2290
|
);
|
|
2291
|
-
o.years =
|
|
2291
|
+
o.years = W(
|
|
2292
2292
|
"years accessor is deprecated. Use year instead",
|
|
2293
|
-
|
|
2293
|
+
Gt
|
|
2294
2294
|
);
|
|
2295
|
-
o.zone =
|
|
2295
|
+
o.zone = W(
|
|
2296
2296
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2297
|
-
|
|
2297
|
+
Nn
|
|
2298
2298
|
);
|
|
2299
|
-
o.isDSTShifted =
|
|
2299
|
+
o.isDSTShifted = W(
|
|
2300
2300
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2301
|
-
|
|
2301
|
+
In
|
|
2302
2302
|
);
|
|
2303
|
-
function
|
|
2304
|
-
return
|
|
2303
|
+
function Xa(e) {
|
|
2304
|
+
return S(e * 1e3);
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2307
|
-
return
|
|
2306
|
+
function Ka() {
|
|
2307
|
+
return S.apply(null, arguments).parseZone();
|
|
2308
2308
|
}
|
|
2309
|
-
function
|
|
2309
|
+
function ks(e) {
|
|
2310
2310
|
return e;
|
|
2311
2311
|
}
|
|
2312
|
-
var
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
function
|
|
2346
|
-
var
|
|
2347
|
-
return
|
|
2348
|
-
}
|
|
2349
|
-
function
|
|
2350
|
-
if (
|
|
2351
|
-
return
|
|
2352
|
-
var
|
|
2353
|
-
for (
|
|
2354
|
-
|
|
2355
|
-
return
|
|
2356
|
-
}
|
|
2357
|
-
function
|
|
2358
|
-
typeof e == "boolean" ? (
|
|
2359
|
-
var
|
|
2360
|
-
if (
|
|
2361
|
-
return
|
|
2362
|
-
for (
|
|
2363
|
-
u[
|
|
2312
|
+
var M = it.prototype;
|
|
2313
|
+
M.calendar = Is;
|
|
2314
|
+
M.longDateFormat = As;
|
|
2315
|
+
M.invalidDate = Vs;
|
|
2316
|
+
M.ordinal = zs;
|
|
2317
|
+
M.preparse = ks;
|
|
2318
|
+
M.postformat = ks;
|
|
2319
|
+
M.relativeTime = Bs;
|
|
2320
|
+
M.pastFuture = qs;
|
|
2321
|
+
M.set = Ls;
|
|
2322
|
+
M.eras = Ya;
|
|
2323
|
+
M.erasParse = Oa;
|
|
2324
|
+
M.erasConvertYear = Ta;
|
|
2325
|
+
M.erasAbbrRegex = Ra;
|
|
2326
|
+
M.erasNameRegex = Pa;
|
|
2327
|
+
M.erasNarrowRegex = Fa;
|
|
2328
|
+
M.months = fr;
|
|
2329
|
+
M.monthsShort = cr;
|
|
2330
|
+
M.monthsParse = _r;
|
|
2331
|
+
M.monthsRegex = Mr;
|
|
2332
|
+
M.monthsShortRegex = wr;
|
|
2333
|
+
M.week = Sr;
|
|
2334
|
+
M.firstDayOfYear = pr;
|
|
2335
|
+
M.firstDayOfWeek = Dr;
|
|
2336
|
+
M.weekdays = Rr;
|
|
2337
|
+
M.weekdaysMin = Lr;
|
|
2338
|
+
M.weekdaysShort = Fr;
|
|
2339
|
+
M.weekdaysParse = Ir;
|
|
2340
|
+
M.weekdaysRegex = Ar;
|
|
2341
|
+
M.weekdaysShortRegex = jr;
|
|
2342
|
+
M.weekdaysMinRegex = Vr;
|
|
2343
|
+
M.isPM = $r;
|
|
2344
|
+
M.meridiem = Br;
|
|
2345
|
+
function Re(e, t, s, r) {
|
|
2346
|
+
var n = B(), a = U().set(r, t);
|
|
2347
|
+
return n[s](a, e);
|
|
2348
|
+
}
|
|
2349
|
+
function Ds(e, t, s) {
|
|
2350
|
+
if (Z(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2351
|
+
return Re(e, t, s, "month");
|
|
2352
|
+
var r, n = [];
|
|
2353
|
+
for (r = 0; r < 12; r++)
|
|
2354
|
+
n[r] = Re(e, r, s, "month");
|
|
2355
|
+
return n;
|
|
2356
|
+
}
|
|
2357
|
+
function vt(e, t, s, r) {
|
|
2358
|
+
typeof e == "boolean" ? (Z(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, Z(t) && (s = t, t = void 0), t = t || "");
|
|
2359
|
+
var n = B(), a = e ? n._week.dow : 0, i, u = [];
|
|
2360
|
+
if (s != null)
|
|
2361
|
+
return Re(t, (s + a) % 7, r, "day");
|
|
2362
|
+
for (i = 0; i < 7; i++)
|
|
2363
|
+
u[i] = Re(t, (i + a) % 7, r, "day");
|
|
2364
2364
|
return u;
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2367
|
-
return
|
|
2366
|
+
function ei(e, t) {
|
|
2367
|
+
return Ds(e, t, "months");
|
|
2368
2368
|
}
|
|
2369
|
-
function
|
|
2370
|
-
return
|
|
2369
|
+
function ti(e, t) {
|
|
2370
|
+
return Ds(e, t, "monthsShort");
|
|
2371
2371
|
}
|
|
2372
|
-
function
|
|
2373
|
-
return
|
|
2372
|
+
function si(e, t, s) {
|
|
2373
|
+
return vt(e, t, s, "weekdays");
|
|
2374
2374
|
}
|
|
2375
|
-
function
|
|
2376
|
-
return
|
|
2375
|
+
function ri(e, t, s) {
|
|
2376
|
+
return vt(e, t, s, "weekdaysShort");
|
|
2377
2377
|
}
|
|
2378
|
-
function
|
|
2379
|
-
return
|
|
2378
|
+
function ni(e, t, s) {
|
|
2379
|
+
return vt(e, t, s, "weekdaysMin");
|
|
2380
2380
|
}
|
|
2381
|
-
|
|
2381
|
+
K("en", {
|
|
2382
2382
|
eras: [
|
|
2383
2383
|
{
|
|
2384
2384
|
since: "0001-01-01",
|
|
@@ -2399,99 +2399,99 @@ X("en", {
|
|
|
2399
2399
|
],
|
|
2400
2400
|
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
2401
2401
|
ordinal: function(e) {
|
|
2402
|
-
var t = e % 10,
|
|
2403
|
-
return e +
|
|
2402
|
+
var t = e % 10, s = m(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
|
|
2403
|
+
return e + s;
|
|
2404
2404
|
}
|
|
2405
2405
|
});
|
|
2406
|
-
l.lang =
|
|
2406
|
+
l.lang = W(
|
|
2407
2407
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2408
|
-
|
|
2408
|
+
K
|
|
2409
2409
|
);
|
|
2410
|
-
l.langData =
|
|
2410
|
+
l.langData = W(
|
|
2411
2411
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2412
|
-
|
|
2412
|
+
B
|
|
2413
2413
|
);
|
|
2414
2414
|
var A = Math.abs;
|
|
2415
|
-
function
|
|
2415
|
+
function ai() {
|
|
2416
2416
|
var e = this._data;
|
|
2417
2417
|
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;
|
|
2418
2418
|
}
|
|
2419
|
-
function
|
|
2420
|
-
var
|
|
2421
|
-
return e._milliseconds +=
|
|
2419
|
+
function ps(e, t, s, r) {
|
|
2420
|
+
var n = L(t, s);
|
|
2421
|
+
return e._milliseconds += r * n._milliseconds, e._days += r * n._days, e._months += r * n._months, e._bubble();
|
|
2422
2422
|
}
|
|
2423
|
-
function
|
|
2424
|
-
return
|
|
2423
|
+
function ii(e, t) {
|
|
2424
|
+
return ps(this, e, t, 1);
|
|
2425
2425
|
}
|
|
2426
|
-
function
|
|
2427
|
-
return
|
|
2426
|
+
function oi(e, t) {
|
|
2427
|
+
return ps(this, e, t, -1);
|
|
2428
2428
|
}
|
|
2429
|
-
function
|
|
2429
|
+
function Nt(e) {
|
|
2430
2430
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2431
2431
|
}
|
|
2432
|
-
function
|
|
2433
|
-
var e = this._milliseconds, t = this._days,
|
|
2434
|
-
return e >= 0 && t >= 0 &&
|
|
2432
|
+
function li() {
|
|
2433
|
+
var e = this._milliseconds, t = this._days, s = this._months, r = this._data, n, a, i, u, f;
|
|
2434
|
+
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Nt(st(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, n = x(e / 1e3), r.seconds = n % 60, a = x(n / 60), r.minutes = a % 60, i = x(a / 60), r.hours = i % 24, t += x(i / 24), f = x(vs(t)), s += f, t -= Nt(st(f)), u = x(s / 12), s %= 12, r.days = t, r.months = s, r.years = u, this;
|
|
2435
2435
|
}
|
|
2436
|
-
function
|
|
2436
|
+
function vs(e) {
|
|
2437
2437
|
return e * 4800 / 146097;
|
|
2438
2438
|
}
|
|
2439
|
-
function
|
|
2439
|
+
function st(e) {
|
|
2440
2440
|
return e * 146097 / 4800;
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function ui(e) {
|
|
2443
2443
|
if (!this.isValid())
|
|
2444
2444
|
return NaN;
|
|
2445
|
-
var t,
|
|
2446
|
-
if (e =
|
|
2447
|
-
switch (t = this._days +
|
|
2445
|
+
var t, s, r = this._milliseconds;
|
|
2446
|
+
if (e = N(e), e === "month" || e === "quarter" || e === "year")
|
|
2447
|
+
switch (t = this._days + r / 864e5, s = this._months + vs(t), e) {
|
|
2448
2448
|
case "month":
|
|
2449
|
-
return
|
|
2449
|
+
return s;
|
|
2450
2450
|
case "quarter":
|
|
2451
|
-
return
|
|
2451
|
+
return s / 3;
|
|
2452
2452
|
case "year":
|
|
2453
|
-
return
|
|
2453
|
+
return s / 12;
|
|
2454
2454
|
}
|
|
2455
2455
|
else
|
|
2456
|
-
switch (t = this._days + Math.round(
|
|
2456
|
+
switch (t = this._days + Math.round(st(this._months)), e) {
|
|
2457
2457
|
case "week":
|
|
2458
|
-
return t / 7 +
|
|
2458
|
+
return t / 7 + r / 6048e5;
|
|
2459
2459
|
case "day":
|
|
2460
|
-
return t +
|
|
2460
|
+
return t + r / 864e5;
|
|
2461
2461
|
case "hour":
|
|
2462
|
-
return t * 24 +
|
|
2462
|
+
return t * 24 + r / 36e5;
|
|
2463
2463
|
case "minute":
|
|
2464
|
-
return t * 1440 +
|
|
2464
|
+
return t * 1440 + r / 6e4;
|
|
2465
2465
|
case "second":
|
|
2466
|
-
return t * 86400 +
|
|
2466
|
+
return t * 86400 + r / 1e3;
|
|
2467
2467
|
case "millisecond":
|
|
2468
|
-
return Math.floor(t * 864e5) +
|
|
2468
|
+
return Math.floor(t * 864e5) + r;
|
|
2469
2469
|
default:
|
|
2470
2470
|
throw new Error("Unknown unit " + e);
|
|
2471
2471
|
}
|
|
2472
2472
|
}
|
|
2473
|
-
function
|
|
2473
|
+
function q(e) {
|
|
2474
2474
|
return function() {
|
|
2475
2475
|
return this.as(e);
|
|
2476
2476
|
};
|
|
2477
2477
|
}
|
|
2478
|
-
var
|
|
2479
|
-
function
|
|
2480
|
-
return
|
|
2478
|
+
var Ys = q("ms"), di = q("s"), hi = q("m"), fi = q("h"), ci = q("d"), mi = q("w"), _i = q("M"), yi = q("Q"), wi = q("y"), Mi = Ys;
|
|
2479
|
+
function gi() {
|
|
2480
|
+
return L(this);
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2483
|
-
return e =
|
|
2482
|
+
function Si(e) {
|
|
2483
|
+
return e = N(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2484
2484
|
}
|
|
2485
|
-
function
|
|
2485
|
+
function re(e) {
|
|
2486
2486
|
return function() {
|
|
2487
2487
|
return this.isValid() ? this._data[e] : NaN;
|
|
2488
2488
|
};
|
|
2489
2489
|
}
|
|
2490
|
-
var
|
|
2491
|
-
function
|
|
2490
|
+
var ki = re("milliseconds"), Di = re("seconds"), pi = re("minutes"), vi = re("hours"), Yi = re("days"), Oi = re("months"), Ti = re("years");
|
|
2491
|
+
function bi() {
|
|
2492
2492
|
return x(this.days() / 7);
|
|
2493
2493
|
}
|
|
2494
|
-
var j = Math.round,
|
|
2494
|
+
var j = Math.round, ie = {
|
|
2495
2495
|
ss: 44,
|
|
2496
2496
|
// a few seconds to seconds
|
|
2497
2497
|
s: 45,
|
|
@@ -2507,112 +2507,112 @@ var j = Math.round, ne = {
|
|
|
2507
2507
|
M: 11
|
|
2508
2508
|
// months to year
|
|
2509
2509
|
};
|
|
2510
|
-
function
|
|
2511
|
-
return
|
|
2510
|
+
function xi(e, t, s, r, n) {
|
|
2511
|
+
return n.relativeTime(t || 1, !!s, e, r);
|
|
2512
2512
|
}
|
|
2513
|
-
function
|
|
2514
|
-
var
|
|
2515
|
-
return
|
|
2513
|
+
function Wi(e, t, s, r) {
|
|
2514
|
+
var n = L(e).abs(), a = j(n.as("s")), i = j(n.as("m")), u = j(n.as("h")), f = j(n.as("d")), _ = j(n.as("M")), O = j(n.as("w")), E = j(n.as("y")), J = a <= s.ss && ["s", a] || a < s.s && ["ss", a] || i <= 1 && ["m"] || i < s.m && ["mm", i] || u <= 1 && ["h"] || u < s.h && ["hh", u] || f <= 1 && ["d"] || f < s.d && ["dd", f];
|
|
2515
|
+
return s.w != null && (J = J || O <= 1 && ["w"] || O < s.w && ["ww", O]), J = J || _ <= 1 && ["M"] || _ < s.M && ["MM", _] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = r, xi.apply(null, J);
|
|
2516
2516
|
}
|
|
2517
|
-
function
|
|
2517
|
+
function Ni(e) {
|
|
2518
2518
|
return e === void 0 ? j : typeof e == "function" ? (j = e, !0) : !1;
|
|
2519
2519
|
}
|
|
2520
|
-
function
|
|
2521
|
-
return
|
|
2520
|
+
function Pi(e, t) {
|
|
2521
|
+
return ie[e] === void 0 ? !1 : t === void 0 ? ie[e] : (ie[e] = t, e === "s" && (ie.ss = t - 1), !0);
|
|
2522
2522
|
}
|
|
2523
|
-
function
|
|
2523
|
+
function Ri(e, t) {
|
|
2524
2524
|
if (!this.isValid())
|
|
2525
2525
|
return this.localeData().invalidDate();
|
|
2526
|
-
var
|
|
2527
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (
|
|
2526
|
+
var s = !1, r = ie, n, a;
|
|
2527
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, ie, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), n = this.localeData(), a = Wi(this, !s, r, n), s && (a = n.pastFuture(+this, a)), n.postformat(a);
|
|
2528
2528
|
}
|
|
2529
|
-
var
|
|
2530
|
-
function
|
|
2529
|
+
var Be = Math.abs;
|
|
2530
|
+
function ne(e) {
|
|
2531
2531
|
return (e > 0) - (e < 0) || +e;
|
|
2532
2532
|
}
|
|
2533
|
-
function
|
|
2533
|
+
function Ge() {
|
|
2534
2534
|
if (!this.isValid())
|
|
2535
2535
|
return this.localeData().invalidDate();
|
|
2536
|
-
var e =
|
|
2537
|
-
return u ? (
|
|
2536
|
+
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), s = Be(this._months), r, n, a, i, u = this.asSeconds(), f, _, O, E;
|
|
2537
|
+
return u ? (r = x(e / 60), n = x(r / 60), e %= 60, r %= 60, a = x(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = ne(this._months) !== ne(u) ? "-" : "", O = ne(this._days) !== ne(u) ? "-" : "", E = ne(this._milliseconds) !== ne(u) ? "-" : "", f + "P" + (a ? _ + a + "Y" : "") + (s ? _ + s + "M" : "") + (t ? O + t + "D" : "") + (n || r || e ? "T" : "") + (n ? E + n + "H" : "") + (r ? E + r + "M" : "") + (e ? E + i + "S" : "")) : "P0D";
|
|
2538
2538
|
}
|
|
2539
2539
|
var y = je.prototype;
|
|
2540
|
-
y.isValid =
|
|
2541
|
-
y.abs =
|
|
2542
|
-
y.add =
|
|
2543
|
-
y.subtract =
|
|
2544
|
-
y.as =
|
|
2545
|
-
y.asMilliseconds =
|
|
2546
|
-
y.asSeconds =
|
|
2547
|
-
y.asMinutes =
|
|
2548
|
-
y.asHours =
|
|
2549
|
-
y.asDays =
|
|
2550
|
-
y.asWeeks =
|
|
2551
|
-
y.asMonths =
|
|
2552
|
-
y.asQuarters =
|
|
2553
|
-
y.asYears =
|
|
2554
|
-
y.valueOf =
|
|
2555
|
-
y._bubble =
|
|
2556
|
-
y.clone =
|
|
2557
|
-
y.get =
|
|
2558
|
-
y.milliseconds =
|
|
2559
|
-
y.seconds =
|
|
2560
|
-
y.minutes =
|
|
2561
|
-
y.hours =
|
|
2562
|
-
y.days =
|
|
2563
|
-
y.weeks =
|
|
2564
|
-
y.months =
|
|
2565
|
-
y.years =
|
|
2566
|
-
y.humanize =
|
|
2567
|
-
y.toISOString =
|
|
2568
|
-
y.toString =
|
|
2569
|
-
y.toJSON =
|
|
2570
|
-
y.locale =
|
|
2571
|
-
y.localeData =
|
|
2572
|
-
y.toIsoString =
|
|
2540
|
+
y.isValid = On;
|
|
2541
|
+
y.abs = ai;
|
|
2542
|
+
y.add = ii;
|
|
2543
|
+
y.subtract = oi;
|
|
2544
|
+
y.as = ui;
|
|
2545
|
+
y.asMilliseconds = Ys;
|
|
2546
|
+
y.asSeconds = di;
|
|
2547
|
+
y.asMinutes = hi;
|
|
2548
|
+
y.asHours = fi;
|
|
2549
|
+
y.asDays = ci;
|
|
2550
|
+
y.asWeeks = mi;
|
|
2551
|
+
y.asMonths = _i;
|
|
2552
|
+
y.asQuarters = yi;
|
|
2553
|
+
y.asYears = wi;
|
|
2554
|
+
y.valueOf = Mi;
|
|
2555
|
+
y._bubble = li;
|
|
2556
|
+
y.clone = gi;
|
|
2557
|
+
y.get = Si;
|
|
2558
|
+
y.milliseconds = ki;
|
|
2559
|
+
y.seconds = Di;
|
|
2560
|
+
y.minutes = pi;
|
|
2561
|
+
y.hours = vi;
|
|
2562
|
+
y.days = Yi;
|
|
2563
|
+
y.weeks = bi;
|
|
2564
|
+
y.months = Oi;
|
|
2565
|
+
y.years = Ti;
|
|
2566
|
+
y.humanize = Ri;
|
|
2567
|
+
y.toISOString = Ge;
|
|
2568
|
+
y.toString = Ge;
|
|
2569
|
+
y.toJSON = Ge;
|
|
2570
|
+
y.locale = fs;
|
|
2571
|
+
y.localeData = ms;
|
|
2572
|
+
y.toIsoString = W(
|
|
2573
2573
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2574
|
-
|
|
2574
|
+
Ge
|
|
2575
2575
|
);
|
|
2576
|
-
y.lang =
|
|
2577
|
-
|
|
2578
|
-
|
|
2576
|
+
y.lang = cs;
|
|
2577
|
+
h("X", 0, 0, "unix");
|
|
2578
|
+
h("x", 0, 0, "valueOf");
|
|
2579
2579
|
d("x", Ue);
|
|
2580
|
-
d("X",
|
|
2581
|
-
|
|
2582
|
-
|
|
2580
|
+
d("X", Ks);
|
|
2581
|
+
g("X", function(e, t, s) {
|
|
2582
|
+
s._d = new Date(parseFloat(e) * 1e3);
|
|
2583
2583
|
});
|
|
2584
|
-
|
|
2585
|
-
|
|
2584
|
+
g("x", function(e, t, s) {
|
|
2585
|
+
s._d = new Date(m(e));
|
|
2586
2586
|
});
|
|
2587
2587
|
//! moment.js
|
|
2588
2588
|
l.version = "2.30.1";
|
|
2589
|
-
|
|
2589
|
+
Rs(S);
|
|
2590
2590
|
l.fn = o;
|
|
2591
|
-
l.min =
|
|
2592
|
-
l.max =
|
|
2593
|
-
l.now =
|
|
2591
|
+
l.min = Dn;
|
|
2592
|
+
l.max = pn;
|
|
2593
|
+
l.now = vn;
|
|
2594
2594
|
l.utc = U;
|
|
2595
|
-
l.unix =
|
|
2596
|
-
l.months =
|
|
2597
|
-
l.isDate =
|
|
2598
|
-
l.locale =
|
|
2595
|
+
l.unix = Xa;
|
|
2596
|
+
l.months = ei;
|
|
2597
|
+
l.isDate = Se;
|
|
2598
|
+
l.locale = K;
|
|
2599
2599
|
l.invalid = Fe;
|
|
2600
|
-
l.duration =
|
|
2600
|
+
l.duration = L;
|
|
2601
2601
|
l.isMoment = F;
|
|
2602
|
-
l.weekdays =
|
|
2603
|
-
l.parseZone =
|
|
2604
|
-
l.localeData =
|
|
2605
|
-
l.isDuration =
|
|
2606
|
-
l.monthsShort =
|
|
2607
|
-
l.weekdaysMin =
|
|
2602
|
+
l.weekdays = si;
|
|
2603
|
+
l.parseZone = Ka;
|
|
2604
|
+
l.localeData = B;
|
|
2605
|
+
l.isDuration = Te;
|
|
2606
|
+
l.monthsShort = ti;
|
|
2607
|
+
l.weekdaysMin = ni;
|
|
2608
2608
|
l.defineLocale = yt;
|
|
2609
|
-
l.updateLocale =
|
|
2610
|
-
l.locales =
|
|
2611
|
-
l.weekdaysShort =
|
|
2612
|
-
l.normalizeUnits =
|
|
2613
|
-
l.relativeTimeRounding =
|
|
2614
|
-
l.relativeTimeThreshold =
|
|
2615
|
-
l.calendarFormat =
|
|
2609
|
+
l.updateLocale = Xr;
|
|
2610
|
+
l.locales = Kr;
|
|
2611
|
+
l.weekdaysShort = ri;
|
|
2612
|
+
l.normalizeUnits = N;
|
|
2613
|
+
l.relativeTimeRounding = Ni;
|
|
2614
|
+
l.relativeTimeThreshold = Pi;
|
|
2615
|
+
l.calendarFormat = qn;
|
|
2616
2616
|
l.prototype = o;
|
|
2617
2617
|
l.HTML5_FMT = {
|
|
2618
2618
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2634,7 +2634,7 @@ l.HTML5_FMT = {
|
|
|
2634
2634
|
MONTH: "YYYY-MM"
|
|
2635
2635
|
// <input type="month" />
|
|
2636
2636
|
};
|
|
2637
|
-
const
|
|
2637
|
+
const Fi = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Li = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Pt = /(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, qe = [
|
|
2638
2638
|
/^janv/i,
|
|
2639
2639
|
/^févr/i,
|
|
2640
2640
|
/^mars/i,
|
|
@@ -2647,18 +2647,18 @@ const Fn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2647
2647
|
/^oct/i,
|
|
2648
2648
|
/^nov/i,
|
|
2649
2649
|
/^déc/i
|
|
2650
|
-
],
|
|
2650
|
+
], Ci = {
|
|
2651
2651
|
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2652
2652
|
"_"
|
|
2653
2653
|
),
|
|
2654
2654
|
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2655
|
-
monthsRegex:
|
|
2656
|
-
monthsShortRegex:
|
|
2657
|
-
monthsStrictRegex:
|
|
2658
|
-
monthsShortStrictRegex:
|
|
2659
|
-
monthsParse:
|
|
2660
|
-
longMonthsParse:
|
|
2661
|
-
shortMonthsParse:
|
|
2655
|
+
monthsRegex: Pt,
|
|
2656
|
+
monthsShortRegex: Pt,
|
|
2657
|
+
monthsStrictRegex: Fi,
|
|
2658
|
+
monthsShortStrictRegex: Li,
|
|
2659
|
+
monthsParse: qe,
|
|
2660
|
+
longMonthsParse: qe,
|
|
2661
|
+
shortMonthsParse: qe,
|
|
2662
2662
|
weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
|
2663
2663
|
weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
|
|
2664
2664
|
weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
|
|
@@ -2718,328 +2718,125 @@ const Fn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2718
2718
|
doy: 4
|
|
2719
2719
|
}
|
|
2720
2720
|
};
|
|
2721
|
-
l.locale("fr",
|
|
2722
|
-
const
|
|
2721
|
+
l.locale("fr", Ci);
|
|
2722
|
+
const fo = (e) => new Date(e).toString() !== "Invalid Date", co = (e, t) => Math.abs(
|
|
2723
2723
|
Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
|
|
2724
|
-
),
|
|
2725
|
-
const t = [],
|
|
2726
|
-
if (!(!
|
|
2727
|
-
if (
|
|
2728
|
-
const
|
|
2729
|
-
t.push(
|
|
2724
|
+
), mo = (e) => Ft(l(e).format("DD MMMM YYYY")), _o = (e) => Ft(l(e).format("dddd DD MMMM YYYY")), yo = (e, t, s = !0) => (s ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), wo = () => l().locale("fr").subtract(1, "days").toDate(), Mo = (e) => {
|
|
2725
|
+
const t = [], s = l.duration(e);
|
|
2726
|
+
if (!(!s || s.toISOString() === "P0D")) {
|
|
2727
|
+
if (s.years() >= 1) {
|
|
2728
|
+
const r = Math.floor(s.years());
|
|
2729
|
+
t.push(r + " " + (r > 1 ? "années" : "année"));
|
|
2730
2730
|
}
|
|
2731
|
-
if (
|
|
2732
|
-
const
|
|
2733
|
-
t.push(
|
|
2731
|
+
if (s.months() >= 1) {
|
|
2732
|
+
const r = Math.floor(s.months());
|
|
2733
|
+
t.push(r + " mois");
|
|
2734
2734
|
}
|
|
2735
|
-
if (
|
|
2736
|
-
const
|
|
2737
|
-
t.push(
|
|
2735
|
+
if (s.days() >= 1) {
|
|
2736
|
+
const r = Math.floor(s.days());
|
|
2737
|
+
t.push(r + " " + (r > 1 ? "jours" : "jour"));
|
|
2738
2738
|
}
|
|
2739
|
-
if (
|
|
2740
|
-
const
|
|
2741
|
-
t.push(
|
|
2739
|
+
if (s.hours() >= 1) {
|
|
2740
|
+
const r = Math.floor(s.hours());
|
|
2741
|
+
t.push(r + " " + (r > 1 ? "heures" : "heure"));
|
|
2742
2742
|
}
|
|
2743
|
-
if (
|
|
2744
|
-
const
|
|
2745
|
-
t.push(
|
|
2743
|
+
if (s.minutes() >= 1) {
|
|
2744
|
+
const r = Math.floor(s.minutes());
|
|
2745
|
+
t.push(r + " " + (r > 1 ? "minutes" : "minute"));
|
|
2746
2746
|
}
|
|
2747
|
-
if (
|
|
2748
|
-
const
|
|
2749
|
-
t.push(
|
|
2747
|
+
if (s.seconds() >= 1) {
|
|
2748
|
+
const r = Math.floor(s.seconds());
|
|
2749
|
+
t.push(r + " " + (r > 1 ? "secondes" : "seconde"));
|
|
2750
2750
|
}
|
|
2751
2751
|
return t.join(", ");
|
|
2752
2752
|
}
|
|
2753
|
-
}, Yt = /^([1-9][0-9]?)([hmd])$/i, go = (e) => !!e && Yt.test(e),
|
|
2753
|
+
}, Yt = /^([1-9][0-9]?)([hmd])$/i, go = (e) => !!e && Yt.test(e), So = (e) => {
|
|
2754
2754
|
const t = Yt.exec(e);
|
|
2755
2755
|
if (!t)
|
|
2756
2756
|
return null;
|
|
2757
|
-
const [,
|
|
2758
|
-
if (
|
|
2759
|
-
return
|
|
2760
|
-
if (
|
|
2761
|
-
return
|
|
2762
|
-
if (
|
|
2763
|
-
return
|
|
2764
|
-
},
|
|
2757
|
+
const [, s, r] = t, n = parseInt(s, 10), a = 1e3 * 60;
|
|
2758
|
+
if (r === "m")
|
|
2759
|
+
return a * n;
|
|
2760
|
+
if (r === "h")
|
|
2761
|
+
return a * 60 * n;
|
|
2762
|
+
if (r === "d")
|
|
2763
|
+
return a * 60 * 24 * n;
|
|
2764
|
+
}, ko = (e) => {
|
|
2765
2765
|
const t = Yt.exec(e);
|
|
2766
2766
|
if (!t)
|
|
2767
2767
|
return null;
|
|
2768
|
-
const [,
|
|
2769
|
-
if (
|
|
2770
|
-
return `${
|
|
2771
|
-
if (
|
|
2772
|
-
return `${
|
|
2773
|
-
if (
|
|
2774
|
-
return `${
|
|
2775
|
-
},
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
d5: "<:d5:1159542078179651614>",
|
|
2781
|
-
d6: "<:d6:1159542079458910229>",
|
|
2782
|
-
revolutionary: "<:revolutionnaire:648245785133056020>",
|
|
2783
|
-
pirate: "<:pirate:648245785053626368>",
|
|
2784
|
-
marine: "<:marine:648245784407441429>",
|
|
2785
|
-
berry: "<:berry:1153734056035504158>",
|
|
2786
|
-
xp: "<:xp:1084914564379975772>",
|
|
2787
|
-
success: "<:success:1186707379534954506>",
|
|
2788
|
-
hp: "<:hp:1257776163955277824>",
|
|
2789
|
-
paper: "📄",
|
|
2790
|
-
rock: "🪨",
|
|
2791
|
-
scissor: "✂️",
|
|
2792
|
-
pray: "<:Ryokugyu_pray:1147542990844334280>",
|
|
2793
|
-
gun: "<:fujigun:1050120413243506688>",
|
|
2794
|
-
promise: "<:Luffy_Promise:1027626431565529099>",
|
|
2795
|
-
love: "<:Lawve:1050916817801072730>",
|
|
2796
|
-
note: "<:imsusnote:1136952496456224778>",
|
|
2797
|
-
watching: "<:Carrot_Watching:1024736915922104360>",
|
|
2798
|
-
card: "<:carteDos:1168580012258103387>",
|
|
2799
|
-
cards: {
|
|
2800
|
-
spades: {
|
|
2801
|
-
1: "<:asdepique:1168560615170768967>",
|
|
2802
|
-
2: "<:2depique:1168559430955184259>",
|
|
2803
|
-
3: "<:3depique:1168559437548638248>",
|
|
2804
|
-
4: "<:4depique:1168559679354445934>",
|
|
2805
|
-
5: "<:5depique:1168559725504372796>",
|
|
2806
|
-
6: "<:6depique:1168559764528185394>",
|
|
2807
|
-
7: "<:7depique:1168559459392553061>",
|
|
2808
|
-
8: "<:8depique:1168559887870083162>",
|
|
2809
|
-
9: "<:9depique:1168559471392464988>",
|
|
2810
|
-
10: "<:10depique:1168559958435053598>",
|
|
2811
|
-
J: "<:valetdepique:1168560676202086523>",
|
|
2812
|
-
Q: "<:reinedepique:1168560621722284083>",
|
|
2813
|
-
K: "<:roidepique:1168560628189888634>"
|
|
2814
|
-
},
|
|
2815
|
-
diamonds: {
|
|
2816
|
-
1: "<:asdecarreau:1168560612742279308>",
|
|
2817
|
-
2: "<:2decarreau:1168559427788472330>",
|
|
2818
|
-
3: "<:3decarreau:1168559434138669236>",
|
|
2819
|
-
4: "<:4decarreau:1168559440774041621>",
|
|
2820
|
-
5: "<:5decarreau:1168559445308084256>",
|
|
2821
|
-
6: "<:6decarreau:1168559763462819940>",
|
|
2822
|
-
7: "<:7decarreau:1168559845872517172>",
|
|
2823
|
-
8: "<:8decarreau:1168559888989949994>",
|
|
2824
|
-
9: "<:9decarreau:1168559942215667804>",
|
|
2825
|
-
10: "<:10decarreau:1168559475481907230>",
|
|
2826
|
-
J: "<:valetdecarreau:1168560633634095234>",
|
|
2827
|
-
Q: "<:reinedecarreau:1168560618182291577>",
|
|
2828
|
-
K: "<:roidecarreau:1168560626185011281>"
|
|
2829
|
-
},
|
|
2830
|
-
hearts: {
|
|
2831
|
-
1: "<:asdecoeur:1168560613971214368>",
|
|
2832
|
-
2: "<:2decoeur:1168559428681859073>",
|
|
2833
|
-
3: "<:3decoeur:1168559435950592060>",
|
|
2834
|
-
4: "<:4decoeur:1168559442074284073>",
|
|
2835
|
-
5: "<:5decoeur:1168559723226865725>",
|
|
2836
|
-
6: "<:6decoeur:1168559452509708298>",
|
|
2837
|
-
7: "<:7decoeur:1168559457769365684>",
|
|
2838
|
-
8: "<:8decoeur:1168559463368757339>",
|
|
2839
|
-
9: "<:9decoeur:1168559938897989672>",
|
|
2840
|
-
10: "<:10decoeur:1168559477658751006>",
|
|
2841
|
-
J: "<:valetdecoeur:1168560635991298160>",
|
|
2842
|
-
Q: "<:reinedecoeur:1168560619855822940>",
|
|
2843
|
-
K: "<:roidecoeur:1168560678378950716>"
|
|
2844
|
-
},
|
|
2845
|
-
clubs: {
|
|
2846
|
-
1: "<:asdetrfle:1168560617444081834>",
|
|
2847
|
-
2: "<:2detrfle:1168559432242831512>",
|
|
2848
|
-
3: "<:3detrfle:1168559439440269403>",
|
|
2849
|
-
4: "<:4detrfle:1168559677936762982>",
|
|
2850
|
-
5: "<:5detrfle:1168559449540145153>",
|
|
2851
|
-
6: "<:6detrfle:1168559761260818594>",
|
|
2852
|
-
7: "<:7detrfle:1168559844748435549>",
|
|
2853
|
-
8: "<:8detrfle:1168559466334142575>",
|
|
2854
|
-
9: "<:9detrfle:1168559940953194576>",
|
|
2855
|
-
10: "<:10detrfle:1168559959802380288>",
|
|
2856
|
-
J: "<:valetdetrfle:1168560610531885137>",
|
|
2857
|
-
Q: "<:reinedetrfle:1168560623228026972>",
|
|
2858
|
-
K: "<:roidetrfle:1168560675543580712>"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
factions: {
|
|
2862
|
-
b_citizen_Bronze: "<:BasiqueOPFRbois:1175507882188484761>",
|
|
2863
|
-
b_citizen_Silver: "<:BasiqueOPFRargent:1175507880724668488>",
|
|
2864
|
-
b_citizen_Gold: "<:BasiqueOPFRor:1175507883501289512>",
|
|
2865
|
-
b_citizen_Platinum: "<:BasiqueOPFRplatine:1175507886714134548>",
|
|
2866
|
-
b_citizen_Diamond: "<:BasiqueOPFRultime:1175507889553670264>",
|
|
2867
|
-
b_marine_Bronze: "<:Marinebois:1175507936953512036>",
|
|
2868
|
-
b_marine_Silver: "<:Marineargent:1175508322351321178>",
|
|
2869
|
-
b_marine_Gold: "<:Marineor:1175508300603863132>",
|
|
2870
|
-
b_marine_Platinum: "<:Marineplatine:1175507940803879012>",
|
|
2871
|
-
b_marine_Diamond: "<:Marineultime:1175508279590395977>",
|
|
2872
|
-
b_revolutionary_Bronze: "<:RvoBois:1175507954779295810>",
|
|
2873
|
-
b_revolutionary_Silver: "<:RvoArgent:1175508199118483457>",
|
|
2874
|
-
b_revolutionary_Gold: "<:RvoOr:1175508111885344819>",
|
|
2875
|
-
b_revolutionary_Platinum: "<:RvoPlatine:1175507958378008756>",
|
|
2876
|
-
b_revolutionary_Diamond: "<:RvoUltime:1175508127815319612>",
|
|
2877
|
-
b_pirate_Bronze: "<:Piratebois:1175508259768115272>",
|
|
2878
|
-
b_pirate_Silver: "<:Pirateargent:1175507943987363941>",
|
|
2879
|
-
b_pirate_Gold: "<:Pirateor:1175508240243621928>",
|
|
2880
|
-
b_pirate_Platinum: "<:Pirateplatine:1175507949578358804>",
|
|
2881
|
-
b_pirate_Diamond: "<:Pirateultime:1175507951709061150>"
|
|
2882
|
-
},
|
|
2883
|
-
characteristics: {
|
|
2884
|
-
vitality: "<:vitality:1251861015277338675>",
|
|
2885
|
-
strength: "<:strength:1251860738595618838>",
|
|
2886
|
-
agility: "<:agility:1251860734145728596>",
|
|
2887
|
-
intelligence: "<:intelligence:1251860736943194144>",
|
|
2888
|
-
chance: "<:chance:1251860735827513425>",
|
|
2889
|
-
wisdom: "<:wisdom:1251861017231884378>"
|
|
2890
|
-
},
|
|
2891
|
-
item_background: "<:background:1178465681809887334>",
|
|
2892
|
-
item_title: "<:title:1178465688915038208>",
|
|
2893
|
-
item_lootbox1: "<:lootbox1:1186689926167810088>",
|
|
2894
|
-
item_lootbox2: "<:lootbox2:1186258728882811051>",
|
|
2895
|
-
item_lootbox3: "<:lootbox3:1243963722259501216>",
|
|
2896
|
-
item_lootbox4: "<:lootbox3:1186259958216523786>",
|
|
2897
|
-
item_bottle_xp_1: "<:bottle_xp:1186204593667969035>",
|
|
2898
|
-
item_bottle_xp_2: "<:bottle_xp_2:1243980696083632208>",
|
|
2899
|
-
item_bottle_xp_3: "<:bottle_xp_3:1243980697773936740>",
|
|
2900
|
-
item_bottle_xp_4: "<:bottle_xp_4:1243980698927366256>",
|
|
2901
|
-
item_boost_week: "<:boost_week:1186258728073297971>",
|
|
2902
|
-
item_boost_day: "<:boost_day:1186258726030680145>",
|
|
2903
|
-
item_repair_wood_plank: "<:Planchesdebois:1233782418478071930>",
|
|
2904
|
-
item_repair_nail: "<:Clous:1233782384613261382>",
|
|
2905
|
-
item_repair_glue: "<:Colle:1233782388497186846>",
|
|
2906
|
-
item_repair_rope: "<:Corde:1233782392225927168>",
|
|
2907
|
-
item_repair_kit: "<:Kitderparation:1233782876223570011>",
|
|
2908
|
-
item_repair_tissue: "<:Tissus:1233784184099573852>",
|
|
2909
|
-
item_ship_lock: "<:Serrureclef:1233782436068982814>",
|
|
2910
|
-
item_ship_iron: "<:Ferbrut:1233782399125426207>",
|
|
2911
|
-
item_ship_clover: "<:Treflesixfeuilles:1233782439503990915> ",
|
|
2912
|
-
item_ship_glass_bottle: "<:Fioleenverre:1233782402233532496>",
|
|
2913
|
-
item_ship_pure_water: "<:Eaupure:1233782393572298802>",
|
|
2914
|
-
item_ship_sea_salt: "<:SelMarin:1233784181696233602>",
|
|
2915
|
-
item_ship_ebony_poppy: "<:Pavotebene:1233782416879915060>",
|
|
2916
|
-
item_ship_rose: "<:Roseimmaculee:1233784180215644180>",
|
|
2917
|
-
item_ship_poppy: "<:Coquelicotecarlate:1233782390099280023>",
|
|
2918
|
-
item_ship_manganese: "<:Manganesescintillante:1233784177221042196>",
|
|
2919
|
-
item_ship_cursed_hawthorn: "<:AubpineMaudite:1233782382872629329>",
|
|
2920
|
-
item_ship_mugwort: "<:Armoiseblanche:1233782381400424519>",
|
|
2921
|
-
item_ship_mandrake: "<:MandragoreAdulte:1233782409070247946>",
|
|
2922
|
-
item_ship_obsidian: "<:Obsidiennesombre:1233784178307371110>",
|
|
2923
|
-
item_ship_saffron: "<:Safranvermeille:1233782430385836124>",
|
|
2924
|
-
item_ship_edelweiss: "<:Edelweiss:1233782395019329546>",
|
|
2925
|
-
item_ship_emerald: "<:emeraude:1233782873165791273>",
|
|
2926
|
-
item_ship_ruby: "<:Rubis:1233782426174619679>",
|
|
2927
|
-
item_ship_sapphire: "<:Saphir:1233782432004837407>",
|
|
2928
|
-
item_ship_siren_tear: "<:Larmedesirene:1233782405538517095>",
|
|
2929
|
-
item_ship_compass: "<:Rosedesvents:1233782421892239360>",
|
|
2930
|
-
item_ship_dragon_heart: "<:CoeurdeDragon:1233782386580258848>",
|
|
2931
|
-
item_ship_fairy_wing: "<:Ailedefees:1233782379269722293>",
|
|
2932
|
-
item_ship_phoenix_feather: "<:PlumedePhoenix:1233784783822127167>",
|
|
2933
|
-
item_ship_mithril: "<:Mithril:1233782412434214974>",
|
|
2934
|
-
item_craft_cereal: "<:craft_cereal:1243963641204703405>",
|
|
2935
|
-
item_craft_cotton: "<:craft_cotton:1243963642567721080>",
|
|
2936
|
-
item_craft_empty_box: "<:craft_empty_box:1243963643834535966>",
|
|
2937
|
-
item_craft_enchanted_emerald: "<:craft_enchanted_emerald:1243963645092696105>",
|
|
2938
|
-
item_craft_enchanted_ruby: "<:craft_enchanted_ruby:1243963647097569330>",
|
|
2939
|
-
item_craft_enchanted_sapphire: "<:craft_enchanted_sapphire:1243963648486019082>",
|
|
2940
|
-
item_craft_enchanted_stone: "<:craft_enchanted_stone:1243963650893545637>",
|
|
2941
|
-
item_craft_flour: "<:craft_flour:1243963651719823451>",
|
|
2942
|
-
item_craft_hemp: "<:craft_hemp:1243963653238030387>",
|
|
2943
|
-
item_craft_scrap: "<:craft_scrap:1243963718895669268>",
|
|
2944
|
-
item_craft_strange_gem: "<:craft_strange_gem:1243963656539078686>",
|
|
2945
|
-
item_craft_strange_stone: "<:craft_strange_stone:1243963658766123192>",
|
|
2946
|
-
item_craft_tools: "<:craft_tools:1243963720179122217>",
|
|
2947
|
-
item_craft_wood: "<:craft_wood:1243963662763298897>",
|
|
2948
|
-
item_craft_wine: "<:craft_wine:1249242713442746501>",
|
|
2949
|
-
item_craft_toy: "<:craft_toy:1249242711907893278>",
|
|
2950
|
-
item_craft_rhum: "<:craft_rhum:1249242707961057361>",
|
|
2951
|
-
item_craft_milk: "<:craft_milk:1249242706501308488>",
|
|
2952
|
-
item_craft_fruit: "<:craft_fruit:1249242705612115968>",
|
|
2953
|
-
item_craft_sugar: "<:craft_sugar:1249242709684785184>",
|
|
2954
|
-
item_craft_egg: "<:craft_egg:1249242703972007986>",
|
|
2955
|
-
item_craft_bowl_cereal: "<:craft_bowl_cereal:1249242702462193686>",
|
|
2956
|
-
item_craft_beer: "<:craft_beer:1249242701300240434>",
|
|
2957
|
-
item_craft_bowl: "<:craft_bowl:1250116629275082873>",
|
|
2958
|
-
item_craft_rudder: "<:craft_rudder:1250435943253540895>",
|
|
2959
|
-
item_craft_rescue_boat: "<:craft_rescue_boat:1250435931635322950>",
|
|
2960
|
-
item_craft_sailing_boat: "<:craft_sailing_boat:1250435942162894849>",
|
|
2961
|
-
item_craft_salt_water: "<:craft_salt_water:1250435945216475317>",
|
|
2962
|
-
item_craft_anchor: "<:craft_anchor:1250435934843834409>",
|
|
2963
|
-
item_craft_hammock: "<:craft_hammock:1250435933300588687>",
|
|
2964
|
-
item_craft_leather: "<:craft_leather:1253034980133834752>",
|
|
2965
|
-
item_craft_ancient_key: "<:craft_ancient_key:1257447843355033742>",
|
|
2966
|
-
item_craft_iron_ore: "<:craft_iron_ore:1257475847271612497>",
|
|
2967
|
-
item_scroll_agility: "<:scroll_agility:1254081331365810289>",
|
|
2968
|
-
item_scroll_chance: "<:scroll_chance:1254081332422639657>",
|
|
2969
|
-
item_scroll_intelligence: "<:scroll_intelligence:1254081334264070174>",
|
|
2970
|
-
item_scroll_strength: "<:scroll_strength:1254081335862099980>",
|
|
2971
|
-
item_scroll_vitality: "<:scroll_vitality:1254081337711919185>",
|
|
2972
|
-
item_scroll_wisdom: "<:scroll_wisdom:1254081340115259454>",
|
|
2973
|
-
equipment_adventurer_strap: "<:adventurer_strap:1253041086147068035>",
|
|
2974
|
-
equipment_adventurer_collar: "<:adventurer_collar:1253041084611690567>",
|
|
2975
|
-
equipment_adventurer_boots: "<:adventurer_boots:1253041083252867123>",
|
|
2976
|
-
equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
|
|
2977
|
-
equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
|
|
2978
|
-
equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>"
|
|
2979
|
-
}, ko = (e) => typeof e == "function", So = (e, t, r) => {
|
|
2980
|
-
const s = {}, a = Object.entries(e);
|
|
2981
|
-
for (const [i, n] of a) {
|
|
2982
|
-
const u = t[i];
|
|
2983
|
-
u ? s[i] = r(n, u) : s[i] = n;
|
|
2768
|
+
const [, s, r] = t, n = parseInt(s, 10);
|
|
2769
|
+
if (r === "m")
|
|
2770
|
+
return `${n} minute${n > 1 ? "s" : ""}`;
|
|
2771
|
+
if (r === "h")
|
|
2772
|
+
return `${n} heure${n > 1 ? "s" : ""}`;
|
|
2773
|
+
if (r === "d")
|
|
2774
|
+
return `${n} jour${n > 1 ? "s" : ""}`;
|
|
2775
|
+
}, Do = (e) => typeof e == "function", po = (e, t, s) => {
|
|
2776
|
+
const r = {}, n = Object.entries(e);
|
|
2777
|
+
for (const [a, i] of n) {
|
|
2778
|
+
const u = t[a];
|
|
2779
|
+
u ? r[a] = s(i, u) : r[a] = i;
|
|
2984
2780
|
}
|
|
2985
|
-
return
|
|
2986
|
-
},
|
|
2987
|
-
(
|
|
2988
|
-
...
|
|
2989
|
-
[
|
|
2781
|
+
return r;
|
|
2782
|
+
}, vo = (e) => e instanceof Object, Yo = (e, t) => t.reduce(
|
|
2783
|
+
(s, r) => ({
|
|
2784
|
+
...s,
|
|
2785
|
+
[r]: e[r]
|
|
2990
2786
|
}),
|
|
2991
2787
|
{}
|
|
2992
|
-
);
|
|
2788
|
+
), Oo = (e) => Object.entries(e);
|
|
2993
2789
|
export {
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2790
|
+
bs as TIGHT_SPACE,
|
|
2791
|
+
xs as WIDE_SPACE,
|
|
2792
|
+
eo as arrayToRecord,
|
|
2793
|
+
oo as breakWords,
|
|
2794
|
+
Ps as camelcase,
|
|
2795
|
+
Ws as capitalize,
|
|
2999
2796
|
Ft as capitalizeAllWords,
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
2797
|
+
Hi as clamp,
|
|
2798
|
+
co as dateDiff,
|
|
2799
|
+
So as durationToMs,
|
|
3003
2800
|
ro as ellipsis,
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
to as fillWithWideSpaces,
|
|
2801
|
+
$i as exclude,
|
|
2802
|
+
to as fillWithTightSpaces,
|
|
2803
|
+
so as fillWithWideSpaces,
|
|
3008
2804
|
Yo as filterKeys,
|
|
3009
|
-
|
|
3010
|
-
|
|
2805
|
+
Bi as filterNullAndUndefined,
|
|
2806
|
+
mo as formatDate,
|
|
3011
2807
|
_o as formatDateWithDay,
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
2808
|
+
ko as formatDuration,
|
|
2809
|
+
Ii as formatNumber,
|
|
2810
|
+
ji as groupBy,
|
|
2811
|
+
Qi as includeArrayIf,
|
|
2812
|
+
Ji as includeBeginIf,
|
|
2813
|
+
qi as includeIf,
|
|
2814
|
+
Ts as insertArrayIf,
|
|
2815
|
+
Rt as insertIf,
|
|
2816
|
+
uo as isDefined,
|
|
3021
2817
|
go as isDuration,
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
2818
|
+
Do as isFunction,
|
|
2819
|
+
ho as isJSON,
|
|
2820
|
+
Ei as isNumber,
|
|
2821
|
+
vo as isObject,
|
|
2822
|
+
no as isPositiveInteger,
|
|
2823
|
+
Ns as isString,
|
|
2824
|
+
fo as isValidDate,
|
|
2825
|
+
po as mergeObjects,
|
|
2826
|
+
Gi as mutuallyInclusive,
|
|
3031
2827
|
ao as numberToOrdinal,
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
2828
|
+
Ai as paginate,
|
|
2829
|
+
lo as pascalCase,
|
|
2830
|
+
Xi as pickFrom,
|
|
2831
|
+
Mo as precise,
|
|
2832
|
+
Os as randomBetween,
|
|
2833
|
+
Ki as range,
|
|
2834
|
+
Oo as recordToArray,
|
|
2835
|
+
yo as sameDay,
|
|
2836
|
+
Ui as seededRandom,
|
|
2837
|
+
Zi as shuffle,
|
|
2838
|
+
Vi as sortBy,
|
|
3042
2839
|
io as trim,
|
|
3043
|
-
|
|
3044
|
-
|
|
2840
|
+
zi as unique,
|
|
2841
|
+
wo as yesterday
|
|
3045
2842
|
};
|