@opfr/utils-type 0.17.0 → 0.17.2
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/index.es.js +252 -251
- package/dist/index.umd.js +3 -3
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -346,6 +346,7 @@ const Ii = {
|
|
|
346
346
|
chance: "<:chance:1251860735827513425>",
|
|
347
347
|
wisdom: "<:wisdom:1251861017231884378>"
|
|
348
348
|
},
|
|
349
|
+
bag: "<:sacdosbleu:1320873412121460837>",
|
|
349
350
|
items: Rn,
|
|
350
351
|
equipments: Nn
|
|
351
352
|
}, Be = (e) => new Intl.NumberFormat("de-DE").format(e);
|
|
@@ -514,7 +515,7 @@ function tt(e, t) {
|
|
|
514
515
|
g(e, r) && !g(t, r) && ae(e[r]) && (n[r] = K({}, n[r]));
|
|
515
516
|
return n;
|
|
516
517
|
}
|
|
517
|
-
function
|
|
518
|
+
function dt(e) {
|
|
518
519
|
e != null && this.set(e);
|
|
519
520
|
}
|
|
520
521
|
var nt;
|
|
@@ -540,8 +541,8 @@ function A(e, t, n) {
|
|
|
540
541
|
var r = "" + Math.abs(e), a = t - r.length, s = e >= 0;
|
|
541
542
|
return (s ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + r;
|
|
542
543
|
}
|
|
543
|
-
var
|
|
544
|
-
function
|
|
544
|
+
var ct = /(\[[^\[]*\])|(\\)?([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, Se = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Je = {}, le = {};
|
|
545
|
+
function c(e, t, n, r) {
|
|
545
546
|
var a = r;
|
|
546
547
|
typeof r == "string" && (a = function() {
|
|
547
548
|
return this[r]();
|
|
@@ -558,7 +559,7 @@ function An(e) {
|
|
|
558
559
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
559
560
|
}
|
|
560
561
|
function Fn(e) {
|
|
561
|
-
var t = e.match(
|
|
562
|
+
var t = e.match(ct), n, r;
|
|
562
563
|
for (n = 0, r = t.length; n < r; n++)
|
|
563
564
|
le[t[n]] ? t[n] = le[t[n]] : t[n] = An(t[n]);
|
|
564
565
|
return function(a) {
|
|
@@ -593,7 +594,7 @@ var Un = {
|
|
|
593
594
|
};
|
|
594
595
|
function In(e) {
|
|
595
596
|
var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()];
|
|
596
|
-
return t || !n ? t : (this._longDateFormat[e] = n.match(
|
|
597
|
+
return t || !n ? t : (this._longDateFormat[e] = n.match(ct).map(function(r) {
|
|
597
598
|
return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
|
|
598
599
|
}).join(""), this._longDateFormat[e]);
|
|
599
600
|
}
|
|
@@ -718,7 +719,7 @@ function Qn(e) {
|
|
|
718
719
|
}
|
|
719
720
|
var It = /\d/, x = /\d\d/, jt = /\d{3}/, ft = /\d{4}/, He = /[+-]?\d{6}/, M = /\d\d?/, Gt = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ae = /\d{1,3}/, _t = /\d{1,4}/, Fe = /[+-]?\d{1,6}/, he = /\d+/, Ue = /[+-]?\d+/, Xn = /Z|[+-]\d\d:?\d\d/gi, Ie = /Z|[+-]\d\d(?::?\d\d)?/gi, Kn = /[+-]?\d+(\.\d{1,3})?/, Ye = /[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, fe = /^[1-9]\d?/, mt = /^([1-9]\d|\d)/, Ne;
|
|
720
721
|
Ne = {};
|
|
721
|
-
function
|
|
722
|
+
function d(e, t, n) {
|
|
722
723
|
Ne[e] = U(t) ? t : function(r, a) {
|
|
723
724
|
return r && n ? n : t;
|
|
724
725
|
};
|
|
@@ -747,7 +748,7 @@ function _(e) {
|
|
|
747
748
|
return t !== 0 && isFinite(t) && (n = C(t)), n;
|
|
748
749
|
}
|
|
749
750
|
var rt = {};
|
|
750
|
-
function
|
|
751
|
+
function w(e, t) {
|
|
751
752
|
var n, r = t, a;
|
|
752
753
|
for (typeof e == "string" && (e = [e]), $(t) && (r = function(s, i) {
|
|
753
754
|
i[t] = _(s);
|
|
@@ -755,7 +756,7 @@ function v(e, t) {
|
|
|
755
756
|
rt[e[n]] = r;
|
|
756
757
|
}
|
|
757
758
|
function De(e, t) {
|
|
758
|
-
|
|
759
|
+
w(e, function(n, r, a, s) {
|
|
759
760
|
a._w = a._w || {}, t(n, a._w, a, s);
|
|
760
761
|
});
|
|
761
762
|
}
|
|
@@ -766,29 +767,29 @@ function je(e) {
|
|
|
766
767
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
767
768
|
}
|
|
768
769
|
var D = 0, q = 1, H = 2, Y = 3, P = 4, z = 5, re = 6, rr = 7, ar = 8;
|
|
769
|
-
|
|
770
|
+
c("Y", 0, 0, function() {
|
|
770
771
|
var e = this.year();
|
|
771
772
|
return e <= 9999 ? A(e, 4) : "+" + e;
|
|
772
773
|
});
|
|
773
|
-
|
|
774
|
+
c(0, ["YY", 2], 0, function() {
|
|
774
775
|
return this.year() % 100;
|
|
775
776
|
});
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
777
|
+
c(0, ["YYYY", 4], 0, "year");
|
|
778
|
+
c(0, ["YYYYY", 5], 0, "year");
|
|
779
|
+
c(0, ["YYYYYY", 6, !0], 0, "year");
|
|
780
|
+
d("Y", Ue);
|
|
781
|
+
d("YY", M, x);
|
|
782
|
+
d("YYYY", _t, ft);
|
|
783
|
+
d("YYYYY", Fe, He);
|
|
784
|
+
d("YYYYYY", Fe, He);
|
|
785
|
+
w(["YYYYY", "YYYYYY"], D);
|
|
786
|
+
w("YYYY", function(e, t) {
|
|
786
787
|
t[D] = e.length === 2 ? u.parseTwoDigitYear(e) : _(e);
|
|
787
788
|
});
|
|
788
|
-
|
|
789
|
+
w("YY", function(e, t) {
|
|
789
790
|
t[D] = u.parseTwoDigitYear(e);
|
|
790
791
|
});
|
|
791
|
-
|
|
792
|
+
w("Y", function(e, t) {
|
|
792
793
|
t[D] = parseInt(e, 10);
|
|
793
794
|
});
|
|
794
795
|
function ge(e) {
|
|
@@ -883,33 +884,33 @@ function yt(e, t) {
|
|
|
883
884
|
var n = ur(t, 12);
|
|
884
885
|
return e += (t - n) / 12, n === 1 ? je(e) ? 29 : 28 : 31 - n % 7 % 2;
|
|
885
886
|
}
|
|
886
|
-
|
|
887
|
+
c("M", ["MM", 2], "Mo", function() {
|
|
887
888
|
return this.month() + 1;
|
|
888
889
|
});
|
|
889
|
-
|
|
890
|
+
c("MMM", 0, 0, function(e) {
|
|
890
891
|
return this.localeData().monthsShort(this, e);
|
|
891
892
|
});
|
|
892
|
-
|
|
893
|
+
c("MMMM", 0, 0, function(e) {
|
|
893
894
|
return this.localeData().months(this, e);
|
|
894
895
|
});
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
896
|
+
d("M", M, fe);
|
|
897
|
+
d("MM", M, x);
|
|
898
|
+
d("MMM", function(e, t) {
|
|
898
899
|
return t.monthsShortRegex(e);
|
|
899
900
|
});
|
|
900
|
-
|
|
901
|
+
d("MMMM", function(e, t) {
|
|
901
902
|
return t.monthsRegex(e);
|
|
902
903
|
});
|
|
903
|
-
|
|
904
|
+
w(["M", "MM"], function(e, t) {
|
|
904
905
|
t[q] = _(e) - 1;
|
|
905
906
|
});
|
|
906
|
-
|
|
907
|
+
w(["MMM", "MMMM"], function(e, t, n, r) {
|
|
907
908
|
var a = n._locale.monthsParse(e, r, n._strict);
|
|
908
909
|
a != null ? t[q] = a : f(n).invalidMonth = e;
|
|
909
910
|
});
|
|
910
911
|
var lr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
911
912
|
"_"
|
|
912
|
-
), Zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Bt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
|
|
913
|
+
), Zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Bt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, dr = Ye, cr = Ye;
|
|
913
914
|
function hr(e, t) {
|
|
914
915
|
return e ? E(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Bt).test(t) ? "format" : "standalone"][e.month()] : E(this._months) ? this._months : this._months.standalone;
|
|
915
916
|
}
|
|
@@ -959,10 +960,10 @@ function yr() {
|
|
|
959
960
|
return yt(this.year(), this.month());
|
|
960
961
|
}
|
|
961
962
|
function gr(e) {
|
|
962
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex =
|
|
963
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = dr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
963
964
|
}
|
|
964
965
|
function pr(e) {
|
|
965
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex =
|
|
966
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex = cr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
966
967
|
}
|
|
967
968
|
function Qt() {
|
|
968
969
|
function e(h, m) {
|
|
@@ -979,16 +980,16 @@ function Qt() {
|
|
|
979
980
|
"i"
|
|
980
981
|
);
|
|
981
982
|
}
|
|
982
|
-
function
|
|
983
|
+
function wr(e, t, n, r, a, s, i) {
|
|
983
984
|
var l;
|
|
984
985
|
return e < 100 && e >= 0 ? (l = new Date(e + 400, t, n, r, a, s, i), isFinite(l.getFullYear()) && l.setFullYear(e)) : l = new Date(e, t, n, r, a, s, i), l;
|
|
985
986
|
}
|
|
986
|
-
function
|
|
987
|
+
function we(e) {
|
|
987
988
|
var t, n;
|
|
988
989
|
return e < 100 && e >= 0 ? (n = Array.prototype.slice.call(arguments), n[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
989
990
|
}
|
|
990
991
|
function Re(e, t, n) {
|
|
991
|
-
var r = 7 + t - n, a = (7 +
|
|
992
|
+
var r = 7 + t - n, a = (7 + we(e, 0, r).getUTCDay() - t) % 7;
|
|
992
993
|
return -a + r - 1;
|
|
993
994
|
}
|
|
994
995
|
function Xt(e, t, n, r, a) {
|
|
@@ -998,7 +999,7 @@ function Xt(e, t, n, r, a) {
|
|
|
998
999
|
dayOfYear: m
|
|
999
1000
|
};
|
|
1000
1001
|
}
|
|
1001
|
-
function
|
|
1002
|
+
function ve(e, t, n) {
|
|
1002
1003
|
var r = Re(e.year(), t, n), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, s, i;
|
|
1003
1004
|
return a < 1 ? (i = e.year() - 1, s = a + B(i, t, n)) : a > B(e.year(), t, n) ? (s = a - B(e.year(), t, n), i = e.year() + 1) : (i = e.year(), s = a), {
|
|
1004
1005
|
week: s,
|
|
@@ -1009,20 +1010,20 @@ function B(e, t, n) {
|
|
|
1009
1010
|
var r = Re(e, t, n), a = Re(e + 1, t, n);
|
|
1010
1011
|
return (ge(e) - r + a) / 7;
|
|
1011
1012
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1013
|
+
c("w", ["ww", 2], "wo", "week");
|
|
1014
|
+
c("W", ["WW", 2], "Wo", "isoWeek");
|
|
1015
|
+
d("w", M, fe);
|
|
1016
|
+
d("ww", M, x);
|
|
1017
|
+
d("W", M, fe);
|
|
1018
|
+
d("WW", M, x);
|
|
1018
1019
|
De(
|
|
1019
1020
|
["w", "ww", "W", "WW"],
|
|
1020
1021
|
function(e, t, n, r) {
|
|
1021
1022
|
t[r.substr(0, 1)] = _(e);
|
|
1022
1023
|
}
|
|
1023
1024
|
);
|
|
1024
|
-
function
|
|
1025
|
-
return
|
|
1025
|
+
function vr(e) {
|
|
1026
|
+
return ve(e, this._week.dow, this._week.doy).week;
|
|
1026
1027
|
}
|
|
1027
1028
|
var Mr = {
|
|
1028
1029
|
dow: 0,
|
|
@@ -1041,31 +1042,31 @@ function Yr(e) {
|
|
|
1041
1042
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
1042
1043
|
}
|
|
1043
1044
|
function Dr(e) {
|
|
1044
|
-
var t =
|
|
1045
|
+
var t = ve(this, 1, 4).week;
|
|
1045
1046
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
1046
1047
|
}
|
|
1047
|
-
|
|
1048
|
-
|
|
1048
|
+
c("d", 0, "do", "day");
|
|
1049
|
+
c("dd", 0, 0, function(e) {
|
|
1049
1050
|
return this.localeData().weekdaysMin(this, e);
|
|
1050
1051
|
});
|
|
1051
|
-
|
|
1052
|
+
c("ddd", 0, 0, function(e) {
|
|
1052
1053
|
return this.localeData().weekdaysShort(this, e);
|
|
1053
1054
|
});
|
|
1054
|
-
|
|
1055
|
+
c("dddd", 0, 0, function(e) {
|
|
1055
1056
|
return this.localeData().weekdays(this, e);
|
|
1056
1057
|
});
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1058
|
+
c("e", 0, 0, "weekday");
|
|
1059
|
+
c("E", 0, 0, "isoWeekday");
|
|
1060
|
+
d("d", M);
|
|
1061
|
+
d("e", M);
|
|
1062
|
+
d("E", M);
|
|
1063
|
+
d("dd", function(e, t) {
|
|
1063
1064
|
return t.weekdaysMinRegex(e);
|
|
1064
1065
|
});
|
|
1065
|
-
|
|
1066
|
+
d("ddd", function(e, t) {
|
|
1066
1067
|
return t.weekdaysShortRegex(e);
|
|
1067
1068
|
});
|
|
1068
|
-
|
|
1069
|
+
d("dddd", function(e, t) {
|
|
1069
1070
|
return t.weekdaysRegex(e);
|
|
1070
1071
|
});
|
|
1071
1072
|
De(["dd", "ddd", "dddd"], function(e, t, n, r) {
|
|
@@ -1173,29 +1174,29 @@ function pt() {
|
|
|
1173
1174
|
"i"
|
|
1174
1175
|
);
|
|
1175
1176
|
}
|
|
1176
|
-
function
|
|
1177
|
+
function wt() {
|
|
1177
1178
|
return this.hours() % 12 || 12;
|
|
1178
1179
|
}
|
|
1179
1180
|
function Vr() {
|
|
1180
1181
|
return this.hours() || 24;
|
|
1181
1182
|
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
return "" +
|
|
1183
|
+
c("H", ["HH", 2], 0, "hour");
|
|
1184
|
+
c("h", ["hh", 2], 0, wt);
|
|
1185
|
+
c("k", ["kk", 2], 0, Vr);
|
|
1186
|
+
c("hmm", 0, 0, function() {
|
|
1187
|
+
return "" + wt.apply(this) + A(this.minutes(), 2);
|
|
1187
1188
|
});
|
|
1188
|
-
|
|
1189
|
-
return "" +
|
|
1189
|
+
c("hmmss", 0, 0, function() {
|
|
1190
|
+
return "" + wt.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1190
1191
|
});
|
|
1191
|
-
|
|
1192
|
+
c("Hmm", 0, 0, function() {
|
|
1192
1193
|
return "" + this.hours() + A(this.minutes(), 2);
|
|
1193
1194
|
});
|
|
1194
|
-
|
|
1195
|
+
c("Hmmss", 0, 0, function() {
|
|
1195
1196
|
return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1196
1197
|
});
|
|
1197
1198
|
function en(e, t) {
|
|
1198
|
-
|
|
1199
|
+
c(e, 0, 0, function() {
|
|
1199
1200
|
return this.localeData().meridiem(
|
|
1200
1201
|
this.hours(),
|
|
1201
1202
|
this.minutes(),
|
|
@@ -1208,42 +1209,42 @@ en("A", !1);
|
|
|
1208
1209
|
function tn(e, t) {
|
|
1209
1210
|
return t._meridiemParse;
|
|
1210
1211
|
}
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1212
|
+
d("a", tn);
|
|
1213
|
+
d("A", tn);
|
|
1214
|
+
d("H", M, mt);
|
|
1215
|
+
d("h", M, fe);
|
|
1216
|
+
d("k", M, fe);
|
|
1217
|
+
d("HH", M, x);
|
|
1218
|
+
d("hh", M, x);
|
|
1219
|
+
d("kk", M, x);
|
|
1220
|
+
d("hmm", Gt);
|
|
1221
|
+
d("hmmss", Vt);
|
|
1222
|
+
d("Hmm", Gt);
|
|
1223
|
+
d("Hmmss", Vt);
|
|
1224
|
+
w(["H", "HH"], Y);
|
|
1225
|
+
w(["k", "kk"], function(e, t, n) {
|
|
1225
1226
|
var r = _(e);
|
|
1226
1227
|
t[Y] = r === 24 ? 0 : r;
|
|
1227
1228
|
});
|
|
1228
|
-
|
|
1229
|
+
w(["a", "A"], function(e, t, n) {
|
|
1229
1230
|
n._isPm = n._locale.isPM(e), n._meridiem = e;
|
|
1230
1231
|
});
|
|
1231
|
-
|
|
1232
|
+
w(["h", "hh"], function(e, t, n) {
|
|
1232
1233
|
t[Y] = _(e), f(n).bigHour = !0;
|
|
1233
1234
|
});
|
|
1234
|
-
|
|
1235
|
+
w("hmm", function(e, t, n) {
|
|
1235
1236
|
var r = e.length - 2;
|
|
1236
1237
|
t[Y] = _(e.substr(0, r)), t[P] = _(e.substr(r)), f(n).bigHour = !0;
|
|
1237
1238
|
});
|
|
1238
|
-
|
|
1239
|
+
w("hmmss", function(e, t, n) {
|
|
1239
1240
|
var r = e.length - 4, a = e.length - 2;
|
|
1240
1241
|
t[Y] = _(e.substr(0, r)), t[P] = _(e.substr(r, 2)), t[z] = _(e.substr(a)), f(n).bigHour = !0;
|
|
1241
1242
|
});
|
|
1242
|
-
|
|
1243
|
+
w("Hmm", function(e, t, n) {
|
|
1243
1244
|
var r = e.length - 2;
|
|
1244
1245
|
t[Y] = _(e.substr(0, r)), t[P] = _(e.substr(r));
|
|
1245
1246
|
});
|
|
1246
|
-
|
|
1247
|
+
w("Hmmss", function(e, t, n) {
|
|
1247
1248
|
var r = e.length - 4, a = e.length - 2;
|
|
1248
1249
|
t[Y] = _(e.substr(0, r)), t[P] = _(e.substr(r, 2)), t[z] = _(e.substr(a));
|
|
1249
1250
|
});
|
|
@@ -1307,11 +1308,11 @@ function Ge(e) {
|
|
|
1307
1308
|
}
|
|
1308
1309
|
function te(e, t) {
|
|
1309
1310
|
var n;
|
|
1310
|
-
return e && (O(t) ? n = J(e) : n =
|
|
1311
|
+
return e && (O(t) ? n = J(e) : n = vt(e, t), n ? Me = n : typeof console < "u" && console.warn && console.warn(
|
|
1311
1312
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1312
1313
|
)), Me._abbr;
|
|
1313
1314
|
}
|
|
1314
|
-
function
|
|
1315
|
+
function vt(e, t) {
|
|
1315
1316
|
if (t !== null) {
|
|
1316
1317
|
var n, r = nn;
|
|
1317
1318
|
if (t.abbr = e, k[e] != null)
|
|
@@ -1329,8 +1330,8 @@ function wt(e, t) {
|
|
|
1329
1330
|
name: e,
|
|
1330
1331
|
config: t
|
|
1331
1332
|
}), null;
|
|
1332
|
-
return k[e] = new
|
|
1333
|
-
|
|
1333
|
+
return k[e] = new dt(tt(r, t)), me[e] && me[e].forEach(function(a) {
|
|
1334
|
+
vt(a.name, a.config);
|
|
1334
1335
|
}), te(e), k[e];
|
|
1335
1336
|
} else
|
|
1336
1337
|
return delete k[e], null;
|
|
@@ -1338,7 +1339,7 @@ function wt(e, t) {
|
|
|
1338
1339
|
function Xr(e, t) {
|
|
1339
1340
|
if (t != null) {
|
|
1340
1341
|
var n, r, a = nn;
|
|
1341
|
-
k[e] != null && k[e].parentLocale != null ? k[e].set(tt(k[e]._config, t)) : (r = Ge(e), r != null && (a = r._config), t = tt(a, t), r == null && (t.abbr = e), n = new
|
|
1342
|
+
k[e] != null && k[e].parentLocale != null ? k[e].set(tt(k[e]._config, t)) : (r = Ge(e), r != null && (a = r._config), t = tt(a, t), r == null && (t.abbr = e), n = new dt(t), n.parentLocale = k[e], k[e] = n), te(e);
|
|
1342
1343
|
} else
|
|
1343
1344
|
k[e] != null && (k[e].parentLocale != null ? (k[e] = k[e].parentLocale, e === te() && te(e)) : k[e] != null && delete k[e]);
|
|
1344
1345
|
return k[e];
|
|
@@ -1464,7 +1465,7 @@ function la(e, t, n) {
|
|
|
1464
1465
|
}
|
|
1465
1466
|
return !0;
|
|
1466
1467
|
}
|
|
1467
|
-
function
|
|
1468
|
+
function da(e, t, n) {
|
|
1468
1469
|
if (e)
|
|
1469
1470
|
return sa[e];
|
|
1470
1471
|
if (t)
|
|
@@ -1484,11 +1485,11 @@ function an(e) {
|
|
|
1484
1485
|
t[7]
|
|
1485
1486
|
), !la(t[1], n, e))
|
|
1486
1487
|
return;
|
|
1487
|
-
e._a = n, e._tzm =
|
|
1488
|
+
e._a = n, e._tzm = da(t[8], t[9], t[10]), e._d = we.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), f(e).rfc2822 = !0;
|
|
1488
1489
|
} else
|
|
1489
1490
|
e._isValid = !1;
|
|
1490
1491
|
}
|
|
1491
|
-
function
|
|
1492
|
+
function ca(e) {
|
|
1492
1493
|
var t = ra.exec(e._i);
|
|
1493
1494
|
if (t !== null) {
|
|
1494
1495
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
@@ -1524,11 +1525,11 @@ function ha(e) {
|
|
|
1524
1525
|
function kt(e) {
|
|
1525
1526
|
var t, n, r = [], a, s, i;
|
|
1526
1527
|
if (!e._d) {
|
|
1527
|
-
for (a = ha(e), e._w && e._a[H] == null && e._a[q] == null && fa(e), e._dayOfYear != null && (i = oe(e._a[D], a[D]), (e._dayOfYear > ge(i) || e._dayOfYear === 0) && (f(e)._overflowDayOfYear = !0), n =
|
|
1528
|
+
for (a = ha(e), e._w && e._a[H] == null && e._a[q] == null && fa(e), e._dayOfYear != null && (i = oe(e._a[D], a[D]), (e._dayOfYear > ge(i) || e._dayOfYear === 0) && (f(e)._overflowDayOfYear = !0), n = we(i, 0, e._dayOfYear), e._a[q] = n.getUTCMonth(), e._a[H] = n.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1528
1529
|
e._a[t] = r[t] = a[t];
|
|
1529
1530
|
for (; t < 7; t++)
|
|
1530
1531
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1531
|
-
e._a[Y] === 24 && e._a[P] === 0 && e._a[z] === 0 && e._a[re] === 0 && (e._nextDay = !0, e._a[Y] = 0), e._d = (e._useUTC ?
|
|
1532
|
+
e._a[Y] === 24 && e._a[P] === 0 && e._a[z] === 0 && e._a[re] === 0 && (e._nextDay = !0, e._a[Y] = 0), e._d = (e._useUTC ? we : wr).apply(
|
|
1532
1533
|
null,
|
|
1533
1534
|
r
|
|
1534
1535
|
), s = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[Y] = 24), e._w && typeof e._w.d < "u" && e._w.d !== s && (f(e).weekdayMismatch = !0);
|
|
@@ -1539,8 +1540,8 @@ function fa(e) {
|
|
|
1539
1540
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (s = 1, i = 4, n = oe(
|
|
1540
1541
|
t.GG,
|
|
1541
1542
|
e._a[D],
|
|
1542
|
-
|
|
1543
|
-
), r = oe(t.W, 1), a = oe(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (s = e._locale._week.dow, i = e._locale._week.doy, m =
|
|
1543
|
+
ve(v(), 1, 4).year
|
|
1544
|
+
), r = oe(t.W, 1), a = oe(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (s = e._locale._week.dow, i = e._locale._week.doy, m = ve(v(), s, i), n = oe(t.gg, e._a[D], m.year), r = oe(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + s, (t.e < 0 || t.e > 6) && (h = !0)) : a = s), r < 1 || r > B(n, s, i) ? f(e)._overflowWeeks = !0 : h != null ? f(e)._overflowWeekday = !0 : (l = Xt(n, r, a, s, i), e._a[D] = l.year, e._dayOfYear = l.dayOfYear);
|
|
1544
1545
|
}
|
|
1545
1546
|
u.ISO_8601 = function() {
|
|
1546
1547
|
};
|
|
@@ -1557,7 +1558,7 @@ function bt(e) {
|
|
|
1557
1558
|
}
|
|
1558
1559
|
e._a = [], f(e).empty = !0;
|
|
1559
1560
|
var t = "" + e._i, n, r, a, s, i, l = t.length, h = 0, m, S;
|
|
1560
|
-
for (a = Ut(e._f, e._locale).match(
|
|
1561
|
+
for (a = Ut(e._f, e._locale).match(ct) || [], S = a.length, n = 0; n < S; n++)
|
|
1561
1562
|
s = a[n], r = (t.match(er(s, e)) || [])[0], r && (i = t.substr(0, t.indexOf(r)), i.length > 0 && f(e).unusedInput.push(i), t = t.slice(
|
|
1562
1563
|
t.indexOf(r) + r.length
|
|
1563
1564
|
), h += r.length), le[s] ? (r ? f(e).empty = !1 : f(e).unusedTokens.push(s), nr(s, r, e)) : e._strict && !r && f(e).unusedTokens.push(s);
|
|
@@ -1602,7 +1603,7 @@ function sn(e) {
|
|
|
1602
1603
|
}
|
|
1603
1604
|
function pa(e) {
|
|
1604
1605
|
var t = e._i;
|
|
1605
|
-
O(t) ? e._d = new Date(u.now()) : ke(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ?
|
|
1606
|
+
O(t) ? e._d = new Date(u.now()) : ke(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ca(e) : E(t) ? (e._a = Ht(t.slice(0), function(n) {
|
|
1606
1607
|
return parseInt(n, 10);
|
|
1607
1608
|
}), kt(e)) : ae(t) ? ya(e) : $(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1608
1609
|
}
|
|
@@ -1610,26 +1611,26 @@ function on(e, t, n, r, a) {
|
|
|
1610
1611
|
var s = {};
|
|
1611
1612
|
return (t === !0 || t === !1) && (r = t, t = void 0), (n === !0 || n === !1) && (r = n, n = void 0), (ae(e) && ot(e) || E(e) && e.length === 0) && (e = void 0), s._isAMomentObject = !0, s._useUTC = s._isUTC = a, s._l = n, s._i = e, s._f = t, s._strict = r, ga(s);
|
|
1612
1613
|
}
|
|
1613
|
-
function
|
|
1614
|
+
function v(e, t, n, r) {
|
|
1614
1615
|
return on(e, t, n, r, !1);
|
|
1615
1616
|
}
|
|
1616
|
-
var
|
|
1617
|
+
var wa = N(
|
|
1617
1618
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1618
1619
|
function() {
|
|
1619
|
-
var e =
|
|
1620
|
+
var e = v.apply(null, arguments);
|
|
1620
1621
|
return this.isValid() && e.isValid() ? e < this ? this : e : We();
|
|
1621
1622
|
}
|
|
1622
|
-
),
|
|
1623
|
+
), va = N(
|
|
1623
1624
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1624
1625
|
function() {
|
|
1625
|
-
var e =
|
|
1626
|
+
var e = v.apply(null, arguments);
|
|
1626
1627
|
return this.isValid() && e.isValid() ? e > this ? this : e : We();
|
|
1627
1628
|
}
|
|
1628
1629
|
);
|
|
1629
1630
|
function un(e, t) {
|
|
1630
1631
|
var n, r;
|
|
1631
1632
|
if (t.length === 1 && E(t[0]) && (t = t[0]), !t.length)
|
|
1632
|
-
return
|
|
1633
|
+
return v();
|
|
1633
1634
|
for (n = t[0], r = 1; r < t.length; ++r)
|
|
1634
1635
|
(!t[r].isValid() || t[r][e](n)) && (n = t[r]);
|
|
1635
1636
|
return n;
|
|
@@ -1693,16 +1694,16 @@ function Oa(e, t, n) {
|
|
|
1693
1694
|
return s + a;
|
|
1694
1695
|
}
|
|
1695
1696
|
function ln(e, t) {
|
|
1696
|
-
|
|
1697
|
+
c(e, 0, 0, function() {
|
|
1697
1698
|
var n = this.utcOffset(), r = "+";
|
|
1698
1699
|
return n < 0 && (n = -n, r = "-"), r + A(~~(n / 60), 2) + t + A(~~n % 60, 2);
|
|
1699
1700
|
});
|
|
1700
1701
|
}
|
|
1701
1702
|
ln("Z", ":");
|
|
1702
1703
|
ln("ZZ", "");
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1704
|
+
d("Z", Ie);
|
|
1705
|
+
d("ZZ", Ie);
|
|
1706
|
+
w(["Z", "ZZ"], function(e, t, n) {
|
|
1706
1707
|
n._useUTC = !0, n._tzm = Yt(Ie, e);
|
|
1707
1708
|
});
|
|
1708
1709
|
var Ta = /([\+\-]|\d\d)/gi;
|
|
@@ -1712,7 +1713,7 @@ function Yt(e, t) {
|
|
|
1712
1713
|
}
|
|
1713
1714
|
function Dt(e, t) {
|
|
1714
1715
|
var n, r;
|
|
1715
|
-
return t._isUTC ? (n = t.clone(), r = (L(e) || ke(e) ? e.valueOf() :
|
|
1716
|
+
return t._isUTC ? (n = t.clone(), r = (L(e) || ke(e) ? e.valueOf() : v(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), u.updateOffset(n, !1), n) : v(e).local();
|
|
1716
1717
|
}
|
|
1717
1718
|
function st(e) {
|
|
1718
1719
|
return -Math.round(e._d.getTimezoneOffset());
|
|
@@ -1756,7 +1757,7 @@ function Pa() {
|
|
|
1756
1757
|
return this;
|
|
1757
1758
|
}
|
|
1758
1759
|
function Ea(e) {
|
|
1759
|
-
return this.isValid() ? (e = e ?
|
|
1760
|
+
return this.isValid() ? (e = e ? v(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1760
1761
|
}
|
|
1761
1762
|
function La() {
|
|
1762
1763
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
@@ -1765,7 +1766,7 @@ function Wa() {
|
|
|
1765
1766
|
if (!O(this._isDSTShifted))
|
|
1766
1767
|
return this._isDSTShifted;
|
|
1767
1768
|
var e = {}, t;
|
|
1768
|
-
return lt(e, this), e = sn(e), e._a ? (t = e._isUTC ? F(e._a) :
|
|
1769
|
+
return lt(e, this), e = sn(e), e._a ? (t = e._isUTC ? F(e._a) : v(e._a), this._isDSTShifted = this.isValid() && Oa(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1769
1770
|
}
|
|
1770
1771
|
function Ha() {
|
|
1771
1772
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -1773,7 +1774,7 @@ function Ha() {
|
|
|
1773
1774
|
function Aa() {
|
|
1774
1775
|
return this.isValid() ? this._isUTC : !1;
|
|
1775
1776
|
}
|
|
1776
|
-
function
|
|
1777
|
+
function dn() {
|
|
1777
1778
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1778
1779
|
}
|
|
1779
1780
|
var Fa = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Ua = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
@@ -1800,8 +1801,8 @@ function W(e, t) {
|
|
|
1800
1801
|
m: ne(r[7], a),
|
|
1801
1802
|
s: ne(r[8], a)
|
|
1802
1803
|
}) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (i = Ia(
|
|
1803
|
-
|
|
1804
|
-
|
|
1804
|
+
v(n.from),
|
|
1805
|
+
v(n.to)
|
|
1805
1806
|
), n = {}, n.ms = i.milliseconds, n.M = i.months), s = new Ve(n), xe(e) && g(e, "_locale") && (s._locale = e._locale), xe(e) && g(e, "_isValid") && (s._isValid = e._isValid), s;
|
|
1806
1807
|
}
|
|
1807
1808
|
W.fn = Ve.prototype;
|
|
@@ -1818,7 +1819,7 @@ function Ia(e, t) {
|
|
|
1818
1819
|
var n;
|
|
1819
1820
|
return e.isValid() && t.isValid() ? (t = Dt(t, e), e.isBefore(t) ? n = Pt(e, t) : (n = Pt(t, e), n.milliseconds = -n.milliseconds, n.months = -n.months), n) : { milliseconds: 0, months: 0 };
|
|
1820
1821
|
}
|
|
1821
|
-
function
|
|
1822
|
+
function cn(e, t) {
|
|
1822
1823
|
return function(n, r) {
|
|
1823
1824
|
var a, s;
|
|
1824
1825
|
return r !== null && !isNaN(+r) && (Ft(
|
|
@@ -1831,7 +1832,7 @@ function hn(e, t, n, r) {
|
|
|
1831
1832
|
var a = t._milliseconds, s = at(t._days), i = at(t._months);
|
|
1832
1833
|
e.isValid() && (r = r ?? !0, i && $t(e, pe(e, "Month") + i * n), s && zt(e, "Date", pe(e, "Date") + s * n), a && e._d.setTime(e._d.valueOf() + a * n), r && u.updateOffset(e, s || i));
|
|
1833
1834
|
}
|
|
1834
|
-
var ja =
|
|
1835
|
+
var ja = cn(1, "add"), Ga = cn(-1, "subtract");
|
|
1835
1836
|
function fn(e) {
|
|
1836
1837
|
return typeof e == "string" || e instanceof String;
|
|
1837
1838
|
}
|
|
@@ -1894,28 +1895,28 @@ function Ba(e, t) {
|
|
|
1894
1895
|
}
|
|
1895
1896
|
function $a(e, t) {
|
|
1896
1897
|
arguments.length === 1 && (arguments[0] ? Va(arguments[0]) ? (e = arguments[0], t = void 0) : Za(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1897
|
-
var n = e ||
|
|
1898
|
+
var n = e || v(), r = Dt(n, this).startOf("day"), a = u.calendarFormat(this, r) || "sameElse", s = t && (U(t[a]) ? t[a].call(this, n) : t[a]);
|
|
1898
1899
|
return this.format(
|
|
1899
|
-
s || this.localeData().calendar(a, this,
|
|
1900
|
+
s || this.localeData().calendar(a, this, v(n))
|
|
1900
1901
|
);
|
|
1901
1902
|
}
|
|
1902
1903
|
function Ja() {
|
|
1903
1904
|
return new be(this);
|
|
1904
1905
|
}
|
|
1905
1906
|
function Qa(e, t) {
|
|
1906
|
-
var n = L(e) ? e :
|
|
1907
|
+
var n = L(e) ? e : v(e);
|
|
1907
1908
|
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1908
1909
|
}
|
|
1909
1910
|
function Xa(e, t) {
|
|
1910
|
-
var n = L(e) ? e :
|
|
1911
|
+
var n = L(e) ? e : v(e);
|
|
1911
1912
|
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) : !1;
|
|
1912
1913
|
}
|
|
1913
1914
|
function Ka(e, t, n, r) {
|
|
1914
|
-
var a = L(e) ? e :
|
|
1915
|
+
var a = L(e) ? e : v(e), s = L(t) ? t : v(t);
|
|
1915
1916
|
return this.isValid() && a.isValid() && s.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(a, n) : !this.isBefore(a, n)) && (r[1] === ")" ? this.isBefore(s, n) : !this.isAfter(s, n))) : !1;
|
|
1916
1917
|
}
|
|
1917
1918
|
function es(e, t) {
|
|
1918
|
-
var n = L(e) ? e :
|
|
1919
|
+
var n = L(e) ? e : v(e), r;
|
|
1919
1920
|
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() === n.valueOf() : (r = n.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
|
|
1920
1921
|
}
|
|
1921
1922
|
function ts(e, t) {
|
|
@@ -1995,16 +1996,16 @@ function os(e) {
|
|
|
1995
1996
|
return this.localeData().postformat(t);
|
|
1996
1997
|
}
|
|
1997
1998
|
function us(e, t) {
|
|
1998
|
-
return this.isValid() && (L(e) && e.isValid() ||
|
|
1999
|
+
return this.isValid() && (L(e) && e.isValid() || v(e).isValid()) ? W({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1999
2000
|
}
|
|
2000
2001
|
function ls(e) {
|
|
2001
|
-
return this.from(
|
|
2002
|
+
return this.from(v(), e);
|
|
2002
2003
|
}
|
|
2003
|
-
function
|
|
2004
|
-
return this.isValid() && (L(e) && e.isValid() ||
|
|
2004
|
+
function ds(e, t) {
|
|
2005
|
+
return this.isValid() && (L(e) && e.isValid() || v(e).isValid()) ? W({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
2005
2006
|
}
|
|
2006
|
-
function
|
|
2007
|
-
return this.to(
|
|
2007
|
+
function cs(e) {
|
|
2008
|
+
return this.to(v(), e);
|
|
2008
2009
|
}
|
|
2009
2010
|
function _n(e) {
|
|
2010
2011
|
var t;
|
|
@@ -2019,21 +2020,21 @@ var mn = N(
|
|
|
2019
2020
|
function yn() {
|
|
2020
2021
|
return this._locale;
|
|
2021
2022
|
}
|
|
2022
|
-
var Pe = 1e3,
|
|
2023
|
-
function
|
|
2023
|
+
var Pe = 1e3, de = 60 * Pe, Ee = 60 * de, gn = (365 * 400 + 97) * 24 * Ee;
|
|
2024
|
+
function ce(e, t) {
|
|
2024
2025
|
return (e % t + t) % t;
|
|
2025
2026
|
}
|
|
2026
2027
|
function pn(e, t, n) {
|
|
2027
2028
|
return e < 100 && e >= 0 ? new Date(e + 400, t, n) - gn : new Date(e, t, n).valueOf();
|
|
2028
2029
|
}
|
|
2029
|
-
function
|
|
2030
|
+
function wn(e, t, n) {
|
|
2030
2031
|
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - gn : Date.UTC(e, t, n);
|
|
2031
2032
|
}
|
|
2032
2033
|
function hs(e) {
|
|
2033
2034
|
var t, n;
|
|
2034
2035
|
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2035
2036
|
return this;
|
|
2036
|
-
switch (n = this._isUTC ?
|
|
2037
|
+
switch (n = this._isUTC ? wn : pn, e) {
|
|
2037
2038
|
case "year":
|
|
2038
2039
|
t = n(this.year(), 0, 1);
|
|
2039
2040
|
break;
|
|
@@ -2066,16 +2067,16 @@ function hs(e) {
|
|
|
2066
2067
|
t = n(this.year(), this.month(), this.date());
|
|
2067
2068
|
break;
|
|
2068
2069
|
case "hour":
|
|
2069
|
-
t = this._d.valueOf(), t -=
|
|
2070
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2070
|
+
t = this._d.valueOf(), t -= ce(
|
|
2071
|
+
t + (this._isUTC ? 0 : this.utcOffset() * de),
|
|
2071
2072
|
Ee
|
|
2072
2073
|
);
|
|
2073
2074
|
break;
|
|
2074
2075
|
case "minute":
|
|
2075
|
-
t = this._d.valueOf(), t -=
|
|
2076
|
+
t = this._d.valueOf(), t -= ce(t, de);
|
|
2076
2077
|
break;
|
|
2077
2078
|
case "second":
|
|
2078
|
-
t = this._d.valueOf(), t -=
|
|
2079
|
+
t = this._d.valueOf(), t -= ce(t, Pe);
|
|
2079
2080
|
break;
|
|
2080
2081
|
}
|
|
2081
2082
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
@@ -2084,7 +2085,7 @@ function fs(e) {
|
|
|
2084
2085
|
var t, n;
|
|
2085
2086
|
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2086
2087
|
return this;
|
|
2087
|
-
switch (n = this._isUTC ?
|
|
2088
|
+
switch (n = this._isUTC ? wn : pn, e) {
|
|
2088
2089
|
case "year":
|
|
2089
2090
|
t = n(this.year() + 1, 0, 1) - 1;
|
|
2090
2091
|
break;
|
|
@@ -2117,16 +2118,16 @@ function fs(e) {
|
|
|
2117
2118
|
t = n(this.year(), this.month(), this.date() + 1) - 1;
|
|
2118
2119
|
break;
|
|
2119
2120
|
case "hour":
|
|
2120
|
-
t = this._d.valueOf(), t += Ee -
|
|
2121
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2121
|
+
t = this._d.valueOf(), t += Ee - ce(
|
|
2122
|
+
t + (this._isUTC ? 0 : this.utcOffset() * de),
|
|
2122
2123
|
Ee
|
|
2123
2124
|
) - 1;
|
|
2124
2125
|
break;
|
|
2125
2126
|
case "minute":
|
|
2126
|
-
t = this._d.valueOf(), t +=
|
|
2127
|
+
t = this._d.valueOf(), t += de - ce(t, de) - 1;
|
|
2127
2128
|
break;
|
|
2128
2129
|
case "second":
|
|
2129
|
-
t = this._d.valueOf(), t += Pe -
|
|
2130
|
+
t = this._d.valueOf(), t += Pe - ce(t, Pe) - 1;
|
|
2130
2131
|
break;
|
|
2131
2132
|
}
|
|
2132
2133
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
@@ -2164,10 +2165,10 @@ function ps() {
|
|
|
2164
2165
|
milliseconds: e.milliseconds()
|
|
2165
2166
|
};
|
|
2166
2167
|
}
|
|
2167
|
-
function
|
|
2168
|
+
function ws() {
|
|
2168
2169
|
return this.isValid() ? this.toISOString() : null;
|
|
2169
2170
|
}
|
|
2170
|
-
function
|
|
2171
|
+
function vs() {
|
|
2171
2172
|
return ut(this);
|
|
2172
2173
|
}
|
|
2173
2174
|
function Ms() {
|
|
@@ -2185,34 +2186,34 @@ function bs() {
|
|
|
2185
2186
|
strict: this._strict
|
|
2186
2187
|
};
|
|
2187
2188
|
}
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2189
|
+
c("N", 0, 0, "eraAbbr");
|
|
2190
|
+
c("NN", 0, 0, "eraAbbr");
|
|
2191
|
+
c("NNN", 0, 0, "eraAbbr");
|
|
2192
|
+
c("NNNN", 0, 0, "eraName");
|
|
2193
|
+
c("NNNNN", 0, 0, "eraNarrow");
|
|
2194
|
+
c("y", ["y", 1], "yo", "eraYear");
|
|
2195
|
+
c("y", ["yy", 2], 0, "eraYear");
|
|
2196
|
+
c("y", ["yyy", 3], 0, "eraYear");
|
|
2197
|
+
c("y", ["yyyy", 4], 0, "eraYear");
|
|
2198
|
+
d("N", St);
|
|
2199
|
+
d("NN", St);
|
|
2200
|
+
d("NNN", St);
|
|
2201
|
+
d("NNNN", Es);
|
|
2202
|
+
d("NNNNN", Ls);
|
|
2203
|
+
w(
|
|
2203
2204
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2204
2205
|
function(e, t, n, r) {
|
|
2205
2206
|
var a = n._locale.erasParse(e, r, n._strict);
|
|
2206
2207
|
a ? f(n).era = a : f(n).invalidEra = e;
|
|
2207
2208
|
}
|
|
2208
2209
|
);
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2210
|
+
d("y", he);
|
|
2211
|
+
d("yy", he);
|
|
2212
|
+
d("yyy", he);
|
|
2213
|
+
d("yyyy", he);
|
|
2214
|
+
d("yo", Ws);
|
|
2215
|
+
w(["y", "yy", "yyy", "yyyy"], D);
|
|
2216
|
+
w(["yo"], function(e, t, n, r) {
|
|
2216
2217
|
var a;
|
|
2217
2218
|
n._locale._eraYearOrdinalRegex && (a = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[D] = n._locale.eraYearOrdinalParse(e, a) : t[D] = parseInt(e, 10);
|
|
2218
2219
|
});
|
|
@@ -2320,27 +2321,27 @@ function Ot() {
|
|
|
2320
2321
|
"i"
|
|
2321
2322
|
);
|
|
2322
2323
|
}
|
|
2323
|
-
|
|
2324
|
+
c(0, ["gg", 2], 0, function() {
|
|
2324
2325
|
return this.weekYear() % 100;
|
|
2325
2326
|
});
|
|
2326
|
-
|
|
2327
|
+
c(0, ["GG", 2], 0, function() {
|
|
2327
2328
|
return this.isoWeekYear() % 100;
|
|
2328
2329
|
});
|
|
2329
2330
|
function qe(e, t) {
|
|
2330
|
-
|
|
2331
|
+
c(0, [e, e.length], 0, t);
|
|
2331
2332
|
}
|
|
2332
2333
|
qe("gggg", "weekYear");
|
|
2333
2334
|
qe("ggggg", "weekYear");
|
|
2334
2335
|
qe("GGGG", "isoWeekYear");
|
|
2335
2336
|
qe("GGGGG", "isoWeekYear");
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2337
|
+
d("G", Ue);
|
|
2338
|
+
d("g", Ue);
|
|
2339
|
+
d("GG", M, x);
|
|
2340
|
+
d("gg", M, x);
|
|
2341
|
+
d("GGGG", _t, ft);
|
|
2342
|
+
d("gggg", _t, ft);
|
|
2343
|
+
d("GGGGG", Fe, He);
|
|
2344
|
+
d("ggggg", Fe, He);
|
|
2344
2345
|
De(
|
|
2345
2346
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2346
2347
|
function(e, t, n, r) {
|
|
@@ -2351,7 +2352,7 @@ De(["gg", "GG"], function(e, t, n, r) {
|
|
|
2351
2352
|
t[r] = u.parseTwoDigitYear(e);
|
|
2352
2353
|
});
|
|
2353
2354
|
function Hs(e) {
|
|
2354
|
-
return
|
|
2355
|
+
return vn.call(
|
|
2355
2356
|
this,
|
|
2356
2357
|
e,
|
|
2357
2358
|
this.week(),
|
|
@@ -2361,7 +2362,7 @@ function Hs(e) {
|
|
|
2361
2362
|
);
|
|
2362
2363
|
}
|
|
2363
2364
|
function As(e) {
|
|
2364
|
-
return
|
|
2365
|
+
return vn.call(
|
|
2365
2366
|
this,
|
|
2366
2367
|
e,
|
|
2367
2368
|
this.isoWeek(),
|
|
@@ -2384,37 +2385,37 @@ function js() {
|
|
|
2384
2385
|
var e = this.localeData()._week;
|
|
2385
2386
|
return B(this.weekYear(), e.dow, e.doy);
|
|
2386
2387
|
}
|
|
2387
|
-
function
|
|
2388
|
+
function vn(e, t, n, r, a) {
|
|
2388
2389
|
var s;
|
|
2389
|
-
return e == null ?
|
|
2390
|
+
return e == null ? ve(this, r, a).year : (s = B(e, r, a), t > s && (t = s), Gs.call(this, e, t, n, r, a));
|
|
2390
2391
|
}
|
|
2391
2392
|
function Gs(e, t, n, r, a) {
|
|
2392
|
-
var s = Xt(e, t, n, r, a), i =
|
|
2393
|
+
var s = Xt(e, t, n, r, a), i = we(s.year, 0, s.dayOfYear);
|
|
2393
2394
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2394
2395
|
}
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2396
|
+
c("Q", 0, "Qo", "quarter");
|
|
2397
|
+
d("Q", It);
|
|
2398
|
+
w("Q", function(e, t) {
|
|
2398
2399
|
t[q] = (_(e) - 1) * 3;
|
|
2399
2400
|
});
|
|
2400
2401
|
function Vs(e) {
|
|
2401
2402
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2402
2403
|
}
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2404
|
+
c("D", ["DD", 2], "Do", "date");
|
|
2405
|
+
d("D", M, fe);
|
|
2406
|
+
d("DD", M, x);
|
|
2407
|
+
d("Do", function(e, t) {
|
|
2407
2408
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2408
2409
|
});
|
|
2409
|
-
|
|
2410
|
-
|
|
2410
|
+
w(["D", "DD"], H);
|
|
2411
|
+
w("Do", function(e, t) {
|
|
2411
2412
|
t[H] = _(e.match(M)[0]);
|
|
2412
2413
|
});
|
|
2413
2414
|
var Mn = _e("Date", !0);
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2415
|
+
c("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2416
|
+
d("DDD", Ae);
|
|
2417
|
+
d("DDDD", jt);
|
|
2418
|
+
w(["DDD", "DDDD"], function(e, t, n) {
|
|
2418
2419
|
n._dayOfYear = _(e);
|
|
2419
2420
|
});
|
|
2420
2421
|
function qs(e) {
|
|
@@ -2423,55 +2424,55 @@ function qs(e) {
|
|
|
2423
2424
|
) + 1;
|
|
2424
2425
|
return e == null ? t : this.add(e - t, "d");
|
|
2425
2426
|
}
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2427
|
+
c("m", ["mm", 2], 0, "minute");
|
|
2428
|
+
d("m", M, mt);
|
|
2429
|
+
d("mm", M, x);
|
|
2430
|
+
w(["m", "mm"], P);
|
|
2430
2431
|
var zs = _e("Minutes", !1);
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2432
|
+
c("s", ["ss", 2], 0, "second");
|
|
2433
|
+
d("s", M, mt);
|
|
2434
|
+
d("ss", M, x);
|
|
2435
|
+
w(["s", "ss"], z);
|
|
2435
2436
|
var Zs = _e("Seconds", !1);
|
|
2436
|
-
|
|
2437
|
+
c("S", 0, 0, function() {
|
|
2437
2438
|
return ~~(this.millisecond() / 100);
|
|
2438
2439
|
});
|
|
2439
|
-
|
|
2440
|
+
c(0, ["SS", 2], 0, function() {
|
|
2440
2441
|
return ~~(this.millisecond() / 10);
|
|
2441
2442
|
});
|
|
2442
|
-
|
|
2443
|
-
|
|
2443
|
+
c(0, ["SSS", 3], 0, "millisecond");
|
|
2444
|
+
c(0, ["SSSS", 4], 0, function() {
|
|
2444
2445
|
return this.millisecond() * 10;
|
|
2445
2446
|
});
|
|
2446
|
-
|
|
2447
|
+
c(0, ["SSSSS", 5], 0, function() {
|
|
2447
2448
|
return this.millisecond() * 100;
|
|
2448
2449
|
});
|
|
2449
|
-
|
|
2450
|
+
c(0, ["SSSSSS", 6], 0, function() {
|
|
2450
2451
|
return this.millisecond() * 1e3;
|
|
2451
2452
|
});
|
|
2452
|
-
|
|
2453
|
+
c(0, ["SSSSSSS", 7], 0, function() {
|
|
2453
2454
|
return this.millisecond() * 1e4;
|
|
2454
2455
|
});
|
|
2455
|
-
|
|
2456
|
+
c(0, ["SSSSSSSS", 8], 0, function() {
|
|
2456
2457
|
return this.millisecond() * 1e5;
|
|
2457
2458
|
});
|
|
2458
|
-
|
|
2459
|
+
c(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2459
2460
|
return this.millisecond() * 1e6;
|
|
2460
2461
|
});
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2462
|
+
d("S", Ae, It);
|
|
2463
|
+
d("SS", Ae, x);
|
|
2464
|
+
d("SSS", Ae, jt);
|
|
2464
2465
|
var ee, kn;
|
|
2465
2466
|
for (ee = "SSSS"; ee.length <= 9; ee += "S")
|
|
2466
|
-
|
|
2467
|
+
d(ee, he);
|
|
2467
2468
|
function Bs(e, t) {
|
|
2468
2469
|
t[re] = _(("0." + e) * 1e3);
|
|
2469
2470
|
}
|
|
2470
2471
|
for (ee = "S"; ee.length <= 9; ee += "S")
|
|
2471
|
-
|
|
2472
|
+
w(ee, Bs);
|
|
2472
2473
|
kn = _e("Milliseconds", !1);
|
|
2473
|
-
|
|
2474
|
-
|
|
2474
|
+
c("z", 0, 0, "zoneAbbr");
|
|
2475
|
+
c("zz", 0, 0, "zoneName");
|
|
2475
2476
|
function $s() {
|
|
2476
2477
|
return this._isUTC ? "UTC" : "";
|
|
2477
2478
|
}
|
|
@@ -2487,8 +2488,8 @@ o.endOf = fs;
|
|
|
2487
2488
|
o.format = os;
|
|
2488
2489
|
o.from = us;
|
|
2489
2490
|
o.fromNow = ls;
|
|
2490
|
-
o.to =
|
|
2491
|
-
o.toNow =
|
|
2491
|
+
o.to = ds;
|
|
2492
|
+
o.toNow = cs;
|
|
2492
2493
|
o.get = ir;
|
|
2493
2494
|
o.invalidAt = ks;
|
|
2494
2495
|
o.isAfter = Qa;
|
|
@@ -2497,12 +2498,12 @@ o.isBetween = Ka;
|
|
|
2497
2498
|
o.isSame = es;
|
|
2498
2499
|
o.isSameOrAfter = ts;
|
|
2499
2500
|
o.isSameOrBefore = ns;
|
|
2500
|
-
o.isValid =
|
|
2501
|
+
o.isValid = vs;
|
|
2501
2502
|
o.lang = mn;
|
|
2502
2503
|
o.locale = _n;
|
|
2503
2504
|
o.localeData = yn;
|
|
2504
|
-
o.max =
|
|
2505
|
-
o.min =
|
|
2505
|
+
o.max = va;
|
|
2506
|
+
o.min = wa;
|
|
2506
2507
|
o.parsingFlags = Ms;
|
|
2507
2508
|
o.set = or;
|
|
2508
2509
|
o.startOf = hs;
|
|
@@ -2515,7 +2516,7 @@ o.inspect = is;
|
|
|
2515
2516
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2516
2517
|
return "Moment<" + this.format() + ">";
|
|
2517
2518
|
});
|
|
2518
|
-
o.toJSON =
|
|
2519
|
+
o.toJSON = ws;
|
|
2519
2520
|
o.toString = as;
|
|
2520
2521
|
o.unix = ms;
|
|
2521
2522
|
o.valueOf = _s;
|
|
@@ -2554,8 +2555,8 @@ o.hasAlignedHourOffset = Ea;
|
|
|
2554
2555
|
o.isDST = La;
|
|
2555
2556
|
o.isLocal = Ha;
|
|
2556
2557
|
o.isUtcOffset = Aa;
|
|
2557
|
-
o.isUtc =
|
|
2558
|
-
o.isUTC =
|
|
2558
|
+
o.isUtc = dn;
|
|
2559
|
+
o.isUTC = dn;
|
|
2559
2560
|
o.zoneAbbr = $s;
|
|
2560
2561
|
o.zoneName = Js;
|
|
2561
2562
|
o.dates = N(
|
|
@@ -2579,15 +2580,15 @@ o.isDSTShifted = N(
|
|
|
2579
2580
|
Wa
|
|
2580
2581
|
);
|
|
2581
2582
|
function Qs(e) {
|
|
2582
|
-
return
|
|
2583
|
+
return v(e * 1e3);
|
|
2583
2584
|
}
|
|
2584
2585
|
function Xs() {
|
|
2585
|
-
return
|
|
2586
|
+
return v.apply(null, arguments).parseZone();
|
|
2586
2587
|
}
|
|
2587
2588
|
function bn(e) {
|
|
2588
2589
|
return e;
|
|
2589
2590
|
}
|
|
2590
|
-
var p =
|
|
2591
|
+
var p = dt.prototype;
|
|
2591
2592
|
p.calendar = Hn;
|
|
2592
2593
|
p.longDateFormat = In;
|
|
2593
2594
|
p.invalidDate = Gn;
|
|
@@ -2608,7 +2609,7 @@ p.monthsShort = fr;
|
|
|
2608
2609
|
p.monthsParse = mr;
|
|
2609
2610
|
p.monthsRegex = pr;
|
|
2610
2611
|
p.monthsShortRegex = gr;
|
|
2611
|
-
p.week =
|
|
2612
|
+
p.week = vr;
|
|
2612
2613
|
p.firstDayOfYear = br;
|
|
2613
2614
|
p.firstDayOfWeek = kr;
|
|
2614
2615
|
p.weekdays = Pr;
|
|
@@ -2753,11 +2754,11 @@ function Q(e) {
|
|
|
2753
2754
|
return this.as(e);
|
|
2754
2755
|
};
|
|
2755
2756
|
}
|
|
2756
|
-
var On = Q("ms"), li = Q("s"),
|
|
2757
|
+
var On = Q("ms"), li = Q("s"), di = Q("m"), ci = Q("h"), hi = Q("d"), fi = Q("w"), _i = Q("M"), mi = Q("Q"), yi = Q("y"), gi = On;
|
|
2757
2758
|
function pi() {
|
|
2758
2759
|
return W(this);
|
|
2759
2760
|
}
|
|
2760
|
-
function
|
|
2761
|
+
function wi(e) {
|
|
2761
2762
|
return e = R(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2762
2763
|
}
|
|
2763
2764
|
function se(e) {
|
|
@@ -2765,7 +2766,7 @@ function se(e) {
|
|
|
2765
2766
|
return this.isValid() ? this._data[e] : NaN;
|
|
2766
2767
|
};
|
|
2767
2768
|
}
|
|
2768
|
-
var
|
|
2769
|
+
var vi = se("milliseconds"), Mi = se("seconds"), ki = se("minutes"), bi = se("hours"), Yi = se("days"), Di = se("months"), Si = se("years");
|
|
2769
2770
|
function Oi() {
|
|
2770
2771
|
return C(this.days() / 7);
|
|
2771
2772
|
}
|
|
@@ -2822,8 +2823,8 @@ y.subtract = ii;
|
|
|
2822
2823
|
y.as = ui;
|
|
2823
2824
|
y.asMilliseconds = On;
|
|
2824
2825
|
y.asSeconds = li;
|
|
2825
|
-
y.asMinutes =
|
|
2826
|
-
y.asHours =
|
|
2826
|
+
y.asMinutes = di;
|
|
2827
|
+
y.asHours = ci;
|
|
2827
2828
|
y.asDays = hi;
|
|
2828
2829
|
y.asWeeks = fi;
|
|
2829
2830
|
y.asMonths = _i;
|
|
@@ -2832,8 +2833,8 @@ y.asYears = yi;
|
|
|
2832
2833
|
y.valueOf = gi;
|
|
2833
2834
|
y._bubble = oi;
|
|
2834
2835
|
y.clone = pi;
|
|
2835
|
-
y.get =
|
|
2836
|
-
y.milliseconds =
|
|
2836
|
+
y.get = wi;
|
|
2837
|
+
y.milliseconds = vi;
|
|
2837
2838
|
y.seconds = Mi;
|
|
2838
2839
|
y.minutes = ki;
|
|
2839
2840
|
y.hours = bi;
|
|
@@ -2852,19 +2853,19 @@ y.toIsoString = N(
|
|
|
2852
2853
|
ze
|
|
2853
2854
|
);
|
|
2854
2855
|
y.lang = mn;
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2856
|
+
c("X", 0, 0, "unix");
|
|
2857
|
+
c("x", 0, 0, "valueOf");
|
|
2858
|
+
d("x", Ue);
|
|
2859
|
+
d("X", Kn);
|
|
2860
|
+
w("X", function(e, t, n) {
|
|
2860
2861
|
n._d = new Date(parseFloat(e) * 1e3);
|
|
2861
2862
|
});
|
|
2862
|
-
|
|
2863
|
+
w("x", function(e, t, n) {
|
|
2863
2864
|
n._d = new Date(_(e));
|
|
2864
2865
|
});
|
|
2865
2866
|
//! moment.js
|
|
2866
2867
|
u.version = "2.30.1";
|
|
2867
|
-
Pn(
|
|
2868
|
+
Pn(v);
|
|
2868
2869
|
u.fn = o;
|
|
2869
2870
|
u.min = Ma;
|
|
2870
2871
|
u.max = ka;
|
|
@@ -2883,7 +2884,7 @@ u.localeData = J;
|
|
|
2883
2884
|
u.isDuration = xe;
|
|
2884
2885
|
u.monthsShort = ei;
|
|
2885
2886
|
u.weekdaysMin = ri;
|
|
2886
|
-
u.defineLocale =
|
|
2887
|
+
u.defineLocale = vt;
|
|
2887
2888
|
u.updateLocale = Xr;
|
|
2888
2889
|
u.locales = Kr;
|
|
2889
2890
|
u.weekdaysShort = ni;
|