@opfr/utils-lang 0.0.18 → 0.0.20
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/emojis.d.ts +19 -1
- package/dist/utils-lang.js +196 -178
- package/dist/utils-lang.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/utils-lang.js
CHANGED
|
@@ -50,7 +50,7 @@ function b(e) {
|
|
|
50
50
|
function q(e) {
|
|
51
51
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Me(e) {
|
|
54
54
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
55
55
|
}
|
|
56
56
|
function Lt(e, t) {
|
|
@@ -407,20 +407,20 @@ function z(e) {
|
|
|
407
407
|
function x(e) {
|
|
408
408
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function _(e) {
|
|
411
411
|
var t = +e, r = 0;
|
|
412
412
|
return t !== 0 && isFinite(t) && (r = x(t)), r;
|
|
413
413
|
}
|
|
414
414
|
var et = {};
|
|
415
|
-
function
|
|
415
|
+
function g(e, t) {
|
|
416
416
|
var r, s = t, a;
|
|
417
417
|
for (typeof e == "string" && (e = [e]), q(t) && (s = function(i, n) {
|
|
418
|
-
n[t] =
|
|
418
|
+
n[t] = _(i);
|
|
419
419
|
}), a = e.length, r = 0; r < a; r++)
|
|
420
420
|
et[e[r]] = s;
|
|
421
421
|
}
|
|
422
422
|
function Se(e, t) {
|
|
423
|
-
|
|
423
|
+
g(e, function(r, s, a, i) {
|
|
424
424
|
a._w = a._w || {}, t(r, a._w, a, i);
|
|
425
425
|
});
|
|
426
426
|
}
|
|
@@ -446,21 +446,21 @@ d("YY", k, T);
|
|
|
446
446
|
d("YYYY", ht, dt);
|
|
447
447
|
d("YYYYY", Ue, Ce);
|
|
448
448
|
d("YYYYYY", Ue, Ce);
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) :
|
|
449
|
+
g(["YYYYY", "YYYYYY"], Y);
|
|
450
|
+
g("YYYY", function(e, t) {
|
|
451
|
+
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : _(e);
|
|
452
452
|
});
|
|
453
|
-
|
|
453
|
+
g("YY", function(e, t) {
|
|
454
454
|
t[Y] = l.parseTwoDigitYear(e);
|
|
455
455
|
});
|
|
456
|
-
|
|
456
|
+
g("Y", function(e, t) {
|
|
457
457
|
t[Y] = parseInt(e, 10);
|
|
458
458
|
});
|
|
459
|
-
function
|
|
459
|
+
function me(e) {
|
|
460
460
|
return Ae(e) ? 366 : 365;
|
|
461
461
|
}
|
|
462
462
|
l.parseTwoDigitYear = function(e) {
|
|
463
|
-
return
|
|
463
|
+
return _(e) + (_(e) > 68 ? 1900 : 2e3);
|
|
464
464
|
};
|
|
465
465
|
var Vt = fe("FullYear", !0);
|
|
466
466
|
function Kr() {
|
|
@@ -565,10 +565,10 @@ d("MMM", function(e, t) {
|
|
|
565
565
|
d("MMMM", function(e, t) {
|
|
566
566
|
return t.monthsRegex(e);
|
|
567
567
|
});
|
|
568
|
-
|
|
569
|
-
t[V] =
|
|
568
|
+
g(["M", "MM"], function(e, t) {
|
|
569
|
+
t[V] = _(e) - 1;
|
|
570
570
|
});
|
|
571
|
-
|
|
571
|
+
g(["MMM", "MMMM"], function(e, t, r, s) {
|
|
572
572
|
var a = r._locale.monthsParse(e, s, r._strict);
|
|
573
573
|
a != null ? t[V] = a : c(r).invalidMonth = e;
|
|
574
574
|
});
|
|
@@ -615,7 +615,7 @@ function qt(e, t) {
|
|
|
615
615
|
return e;
|
|
616
616
|
if (typeof t == "string") {
|
|
617
617
|
if (/^\d+$/.test(t))
|
|
618
|
-
t =
|
|
618
|
+
t = _(t);
|
|
619
619
|
else if (t = e.localeData().monthsParse(t), !q(t))
|
|
620
620
|
return e;
|
|
621
621
|
}
|
|
@@ -635,8 +635,8 @@ function hs(e) {
|
|
|
635
635
|
return this._monthsParseExact ? (p(this, "_monthsRegex") || Bt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (p(this, "_monthsRegex") || (this._monthsRegex = as), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
636
636
|
}
|
|
637
637
|
function Bt() {
|
|
638
|
-
function e(f,
|
|
639
|
-
return
|
|
638
|
+
function e(f, m) {
|
|
639
|
+
return m.length - f.length;
|
|
640
640
|
}
|
|
641
641
|
var t = [], r = [], s = [], a, i, n, u;
|
|
642
642
|
for (a = 0; a < 12; a++)
|
|
@@ -662,10 +662,10 @@ function We(e, t, r) {
|
|
|
662
662
|
return -a + s - 1;
|
|
663
663
|
}
|
|
664
664
|
function Jt(e, t, r, s, a) {
|
|
665
|
-
var i = (7 + r - s) % 7, n = We(e, s, a), u = 1 + 7 * (t - 1) + i + n, f,
|
|
666
|
-
return u <= 0 ? (f = e - 1,
|
|
665
|
+
var i = (7 + r - s) % 7, n = We(e, s, a), u = 1 + 7 * (t - 1) + i + n, f, m;
|
|
666
|
+
return u <= 0 ? (f = e - 1, m = me(f) + u) : u > me(e) ? (f = e + 1, m = u - me(e)) : (f = e, m = u), {
|
|
667
667
|
year: f,
|
|
668
|
-
dayOfYear:
|
|
668
|
+
dayOfYear: m
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
function we(e, t, r) {
|
|
@@ -677,7 +677,7 @@ function we(e, t, r) {
|
|
|
677
677
|
}
|
|
678
678
|
function $(e, t, r) {
|
|
679
679
|
var s = We(e, t, r), a = We(e + 1, t, r);
|
|
680
|
-
return (
|
|
680
|
+
return (me(e) - s + a) / 7;
|
|
681
681
|
}
|
|
682
682
|
h("w", ["ww", 2], "wo", "week");
|
|
683
683
|
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
@@ -688,19 +688,19 @@ d("WW", k, T);
|
|
|
688
688
|
Se(
|
|
689
689
|
["w", "ww", "W", "WW"],
|
|
690
690
|
function(e, t, r, s) {
|
|
691
|
-
t[s.substr(0, 1)] =
|
|
691
|
+
t[s.substr(0, 1)] = _(e);
|
|
692
692
|
}
|
|
693
693
|
);
|
|
694
694
|
function cs(e) {
|
|
695
695
|
return we(e, this._week.dow, this._week.doy).week;
|
|
696
696
|
}
|
|
697
|
-
var
|
|
697
|
+
var _s = {
|
|
698
698
|
dow: 0,
|
|
699
699
|
// Sunday is the first day of the week.
|
|
700
700
|
doy: 6
|
|
701
701
|
// The week that contains Jan 6th is the first week of the year.
|
|
702
702
|
};
|
|
703
|
-
function
|
|
703
|
+
function ms() {
|
|
704
704
|
return this._week.dow;
|
|
705
705
|
}
|
|
706
706
|
function ys() {
|
|
@@ -743,27 +743,27 @@ Se(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
|
743
743
|
a != null ? t.d = a : c(r).invalidWeekday = e;
|
|
744
744
|
});
|
|
745
745
|
Se(["d", "e", "E"], function(e, t, r, s) {
|
|
746
|
-
t[s] =
|
|
746
|
+
t[s] = _(e);
|
|
747
747
|
});
|
|
748
|
-
function
|
|
748
|
+
function gs(e, t) {
|
|
749
749
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Ms(e, t) {
|
|
752
752
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function _t(e, t) {
|
|
755
755
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
756
756
|
}
|
|
757
757
|
var ks = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Qt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), vs = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ss = ve, Ds = ve, Ys = ve;
|
|
758
758
|
function Os(e, t) {
|
|
759
759
|
var r = N(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
760
|
-
return e === !0 ?
|
|
760
|
+
return e === !0 ? _t(r, this._week.dow) : e ? r[e.day()] : r;
|
|
761
761
|
}
|
|
762
762
|
function bs(e) {
|
|
763
|
-
return e === !0 ?
|
|
763
|
+
return e === !0 ? _t(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
764
764
|
}
|
|
765
765
|
function Ts(e) {
|
|
766
|
-
return e === !0 ?
|
|
766
|
+
return e === !0 ? _t(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
767
767
|
}
|
|
768
768
|
function xs(e, t, r) {
|
|
769
769
|
var s, a, i, n = e.toLocaleLowerCase();
|
|
@@ -806,7 +806,7 @@ function Ws(e) {
|
|
|
806
806
|
if (!this.isValid())
|
|
807
807
|
return e != null ? this : NaN;
|
|
808
808
|
var t = ye(this, "Day");
|
|
809
|
-
return e != null ? (e =
|
|
809
|
+
return e != null ? (e = gs(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
810
810
|
}
|
|
811
811
|
function Rs(e) {
|
|
812
812
|
if (!this.isValid())
|
|
@@ -818,27 +818,27 @@ function Ns(e) {
|
|
|
818
818
|
if (!this.isValid())
|
|
819
819
|
return e != null ? this : NaN;
|
|
820
820
|
if (e != null) {
|
|
821
|
-
var t =
|
|
821
|
+
var t = Ms(e, this.localeData());
|
|
822
822
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
823
823
|
} else
|
|
824
824
|
return this.day() || 7;
|
|
825
825
|
}
|
|
826
826
|
function Fs(e) {
|
|
827
|
-
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") ||
|
|
827
|
+
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (p(this, "_weekdaysRegex") || (this._weekdaysRegex = Ss), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
828
828
|
}
|
|
829
829
|
function Ls(e) {
|
|
830
|
-
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") ||
|
|
830
|
+
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (p(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ds), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
831
831
|
}
|
|
832
832
|
function Cs(e) {
|
|
833
|
-
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") ||
|
|
833
|
+
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (p(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ys), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function mt() {
|
|
836
836
|
function e(O, E) {
|
|
837
837
|
return E.length - O.length;
|
|
838
838
|
}
|
|
839
|
-
var t = [], r = [], s = [], a = [], i, n, u, f,
|
|
839
|
+
var t = [], r = [], s = [], a = [], i, n, u, f, m;
|
|
840
840
|
for (i = 0; i < 7; i++)
|
|
841
|
-
n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")), f = z(this.weekdaysShort(n, "")),
|
|
841
|
+
n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")), f = z(this.weekdaysShort(n, "")), m = z(this.weekdays(n, "")), t.push(u), r.push(f), s.push(m), a.push(u), a.push(f), a.push(m);
|
|
842
842
|
t.sort(e), r.sort(e), s.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
843
843
|
"^(" + s.join("|") + ")",
|
|
844
844
|
"i"
|
|
@@ -897,32 +897,32 @@ d("hmm", At);
|
|
|
897
897
|
d("hmmss", jt);
|
|
898
898
|
d("Hmm", At);
|
|
899
899
|
d("Hmmss", jt);
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
var s =
|
|
900
|
+
g(["H", "HH"], D);
|
|
901
|
+
g(["k", "kk"], function(e, t, r) {
|
|
902
|
+
var s = _(e);
|
|
903
903
|
t[D] = s === 24 ? 0 : s;
|
|
904
904
|
});
|
|
905
|
-
|
|
905
|
+
g(["a", "A"], function(e, t, r) {
|
|
906
906
|
r._isPm = r._locale.isPM(e), r._meridiem = e;
|
|
907
907
|
});
|
|
908
|
-
|
|
909
|
-
t[D] =
|
|
908
|
+
g(["h", "hh"], function(e, t, r) {
|
|
909
|
+
t[D] = _(e), c(r).bigHour = !0;
|
|
910
910
|
});
|
|
911
|
-
|
|
911
|
+
g("hmm", function(e, t, r) {
|
|
912
912
|
var s = e.length - 2;
|
|
913
|
-
t[D] =
|
|
913
|
+
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s)), c(r).bigHour = !0;
|
|
914
914
|
});
|
|
915
|
-
|
|
915
|
+
g("hmmss", function(e, t, r) {
|
|
916
916
|
var s = e.length - 4, a = e.length - 2;
|
|
917
|
-
t[D] =
|
|
917
|
+
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[G] = _(e.substr(a)), c(r).bigHour = !0;
|
|
918
918
|
});
|
|
919
|
-
|
|
919
|
+
g("Hmm", function(e, t, r) {
|
|
920
920
|
var s = e.length - 2;
|
|
921
|
-
t[D] =
|
|
921
|
+
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s));
|
|
922
922
|
});
|
|
923
|
-
|
|
923
|
+
g("Hmmss", function(e, t, r) {
|
|
924
924
|
var s = e.length - 4, a = e.length - 2;
|
|
925
|
-
t[D] =
|
|
925
|
+
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[G] = _(e.substr(a));
|
|
926
926
|
});
|
|
927
927
|
function Us(e) {
|
|
928
928
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
@@ -940,12 +940,12 @@ var er = {
|
|
|
940
940
|
relativeTime: Er,
|
|
941
941
|
months: rs,
|
|
942
942
|
monthsShort: zt,
|
|
943
|
-
week:
|
|
943
|
+
week: _s,
|
|
944
944
|
weekdays: ks,
|
|
945
945
|
weekdaysMin: vs,
|
|
946
946
|
weekdaysShort: Qt,
|
|
947
947
|
meridiemParse: Hs
|
|
948
|
-
}, v = {}, ce = {},
|
|
948
|
+
}, v = {}, ce = {}, ge;
|
|
949
949
|
function js(e, t) {
|
|
950
950
|
var r, s = Math.min(e.length, t.length);
|
|
951
951
|
for (r = 0; r < s; r += 1)
|
|
@@ -967,7 +967,7 @@ function Vs(e) {
|
|
|
967
967
|
}
|
|
968
968
|
t++;
|
|
969
969
|
}
|
|
970
|
-
return
|
|
970
|
+
return ge;
|
|
971
971
|
}
|
|
972
972
|
function Gs(e) {
|
|
973
973
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
@@ -976,7 +976,7 @@ function je(e) {
|
|
|
976
976
|
var t = null, r;
|
|
977
977
|
if (v[e] === void 0 && typeof module < "u" && module && module.exports && Gs(e))
|
|
978
978
|
try {
|
|
979
|
-
t =
|
|
979
|
+
t = ge._abbr, r = require, r("./locale/" + e), X(t);
|
|
980
980
|
} catch {
|
|
981
981
|
v[e] = null;
|
|
982
982
|
}
|
|
@@ -984,9 +984,9 @@ function je(e) {
|
|
|
984
984
|
}
|
|
985
985
|
function X(e, t) {
|
|
986
986
|
var r;
|
|
987
|
-
return e && (b(t) ? r = Z(e) : r = pt(e, t), r ?
|
|
987
|
+
return e && (b(t) ? r = Z(e) : r = pt(e, t), r ? ge = r : typeof console < "u" && console.warn && console.warn(
|
|
988
988
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
989
|
-
)),
|
|
989
|
+
)), ge._abbr;
|
|
990
990
|
}
|
|
991
991
|
function pt(e, t) {
|
|
992
992
|
if (t !== null) {
|
|
@@ -1023,7 +1023,7 @@ function zs(e, t) {
|
|
|
1023
1023
|
function Z(e) {
|
|
1024
1024
|
var t;
|
|
1025
1025
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1026
|
-
return
|
|
1026
|
+
return ge;
|
|
1027
1027
|
if (!N(e)) {
|
|
1028
1028
|
if (t = je(e), t)
|
|
1029
1029
|
return t;
|
|
@@ -1075,9 +1075,9 @@ var qs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1075
1075
|
PST: -8 * 60
|
|
1076
1076
|
};
|
|
1077
1077
|
function tr(e) {
|
|
1078
|
-
var t, r, s = e._i, a = qs.exec(s) || Zs.exec(s), i, n, u, f,
|
|
1078
|
+
var t, r, s = e._i, a = qs.exec(s) || Zs.exec(s), i, n, u, f, m = Ye.length, O = Ze.length;
|
|
1079
1079
|
if (a) {
|
|
1080
|
-
for (c(e).iso = !0, t = 0, r =
|
|
1080
|
+
for (c(e).iso = !0, t = 0, r = m; t < r; t++)
|
|
1081
1081
|
if (Ye[t][1].exec(a[1])) {
|
|
1082
1082
|
n = Ye[t][0], i = Ye[t][2] !== !1;
|
|
1083
1083
|
break;
|
|
@@ -1108,7 +1108,7 @@ function tr(e) {
|
|
|
1108
1108
|
e._isValid = !1;
|
|
1109
1109
|
return;
|
|
1110
1110
|
}
|
|
1111
|
-
e._f = n + (u || "") + (f || ""),
|
|
1111
|
+
e._f = n + (u || "") + (f || ""), Mt(e);
|
|
1112
1112
|
} else
|
|
1113
1113
|
e._isValid = !1;
|
|
1114
1114
|
}
|
|
@@ -1198,10 +1198,10 @@ function ia(e) {
|
|
|
1198
1198
|
t.getUTCDate()
|
|
1199
1199
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1200
1200
|
}
|
|
1201
|
-
function
|
|
1201
|
+
function gt(e) {
|
|
1202
1202
|
var t, r, s = [], a, i, n;
|
|
1203
1203
|
if (!e._d) {
|
|
1204
|
-
for (a = ia(e), e._w && e._a[C] == null && e._a[V] == null && na(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear >
|
|
1204
|
+
for (a = ia(e), e._w && e._a[C] == null && e._a[V] == null && na(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear > me(n) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), r = pe(n, 0, e._dayOfYear), e._a[V] = r.getUTCMonth(), e._a[C] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1205
1205
|
e._a[t] = s[t] = a[t];
|
|
1206
1206
|
for (; t < 7; t++)
|
|
1207
1207
|
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
@@ -1212,18 +1212,18 @@ function Mt(e) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
function na(e) {
|
|
1215
|
-
var t, r, s, a, i, n, u, f,
|
|
1215
|
+
var t, r, s, a, i, n, u, f, m;
|
|
1216
1216
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, n = 4, r = ie(
|
|
1217
1217
|
t.GG,
|
|
1218
1218
|
e._a[Y],
|
|
1219
|
-
we(
|
|
1220
|
-
), s = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy,
|
|
1219
|
+
we(M(), 1, 4).year
|
|
1220
|
+
), s = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy, m = we(M(), i, n), r = ie(t.gg, e._a[Y], m.year), s = ie(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (f = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (f = !0)) : a = i), s < 1 || s > $(r, i, n) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = Jt(r, s, a, i, n), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1221
1221
|
}
|
|
1222
1222
|
l.ISO_8601 = function() {
|
|
1223
1223
|
};
|
|
1224
1224
|
l.RFC_2822 = function() {
|
|
1225
1225
|
};
|
|
1226
|
-
function
|
|
1226
|
+
function Mt(e) {
|
|
1227
1227
|
if (e._f === l.ISO_8601) {
|
|
1228
1228
|
tr(e);
|
|
1229
1229
|
return;
|
|
@@ -1233,7 +1233,7 @@ function gt(e) {
|
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
1235
|
e._a = [], c(e).empty = !0;
|
|
1236
|
-
var t = "" + e._i, r, s, a, i, n, u = t.length, f = 0,
|
|
1236
|
+
var t = "" + e._i, r, s, a, i, n, u = t.length, f = 0, m, O;
|
|
1237
1237
|
for (a = Ut(e._f, e._locale).match(lt) || [], O = a.length, r = 0; r < O; r++)
|
|
1238
1238
|
i = a[r], s = (t.match(qr(i, e)) || [])[0], s && (n = t.substr(0, t.indexOf(s)), n.length > 0 && c(e).unusedInput.push(n), t = t.slice(
|
|
1239
1239
|
t.indexOf(s) + s.length
|
|
@@ -1242,7 +1242,7 @@ function gt(e) {
|
|
|
1242
1242
|
e._locale,
|
|
1243
1243
|
e._a[D],
|
|
1244
1244
|
e._meridiem
|
|
1245
|
-
),
|
|
1245
|
+
), m = c(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), gt(e), wt(e);
|
|
1246
1246
|
}
|
|
1247
1247
|
function oa(e, t, r) {
|
|
1248
1248
|
var s;
|
|
@@ -1255,7 +1255,7 @@ function la(e) {
|
|
|
1255
1255
|
return;
|
|
1256
1256
|
}
|
|
1257
1257
|
for (a = 0; a < f; a++)
|
|
1258
|
-
i = 0, n = !1, t = nt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a],
|
|
1258
|
+
i = 0, n = !1, t = nt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], Mt(t), it(t) && (n = !0), i += c(t).charsLeftOver, i += c(t).unusedTokens.length * 10, c(t).score = i, u ? i < s && (s = i, r = t) : (s == null || i < s || n) && (s = i, r = t, n && (u = !0));
|
|
1259
1259
|
Q(e, r || t);
|
|
1260
1260
|
}
|
|
1261
1261
|
function ua(e) {
|
|
@@ -1266,7 +1266,7 @@ function ua(e) {
|
|
|
1266
1266
|
function(s) {
|
|
1267
1267
|
return s && parseInt(s, 10);
|
|
1268
1268
|
}
|
|
1269
|
-
),
|
|
1269
|
+
), gt(e);
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
1272
1272
|
function da(e) {
|
|
@@ -1275,53 +1275,53 @@ function da(e) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
function sr(e) {
|
|
1277
1277
|
var t = e._i, r = e._f;
|
|
1278
|
-
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Le({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ke(wt(t)) : (
|
|
1278
|
+
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Le({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ke(wt(t)) : (Me(t) ? e._d = t : N(r) ? la(e) : r ? Mt(e) : ha(e), it(e) || (e._d = null), e));
|
|
1279
1279
|
}
|
|
1280
1280
|
function ha(e) {
|
|
1281
1281
|
var t = e._i;
|
|
1282
|
-
b(t) ? e._d = new Date(l.now()) :
|
|
1282
|
+
b(t) ? e._d = new Date(l.now()) : Me(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? aa(e) : N(t) ? (e._a = Lt(t.slice(0), function(r) {
|
|
1283
1283
|
return parseInt(r, 10);
|
|
1284
|
-
}),
|
|
1284
|
+
}), gt(e)) : re(t) ? ua(e) : q(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1285
1285
|
}
|
|
1286
1286
|
function ar(e, t, r, s, a) {
|
|
1287
1287
|
var i = {};
|
|
1288
1288
|
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) && at(e) || N(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = a, i._l = r, i._i = e, i._f = t, i._strict = s, da(i);
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function M(e, t, r, s) {
|
|
1291
1291
|
return ar(e, t, r, s, !1);
|
|
1292
1292
|
}
|
|
1293
1293
|
var fa = P(
|
|
1294
1294
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1295
1295
|
function() {
|
|
1296
|
-
var e =
|
|
1296
|
+
var e = M.apply(null, arguments);
|
|
1297
1297
|
return this.isValid() && e.isValid() ? e < this ? this : e : Le();
|
|
1298
1298
|
}
|
|
1299
1299
|
), ca = P(
|
|
1300
1300
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1301
1301
|
function() {
|
|
1302
|
-
var e =
|
|
1302
|
+
var e = M.apply(null, arguments);
|
|
1303
1303
|
return this.isValid() && e.isValid() ? e > this ? this : e : Le();
|
|
1304
1304
|
}
|
|
1305
1305
|
);
|
|
1306
1306
|
function ir(e, t) {
|
|
1307
1307
|
var r, s;
|
|
1308
1308
|
if (t.length === 1 && N(t[0]) && (t = t[0]), !t.length)
|
|
1309
|
-
return
|
|
1309
|
+
return M();
|
|
1310
1310
|
for (r = t[0], s = 1; s < t.length; ++s)
|
|
1311
1311
|
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1312
1312
|
return r;
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function _a() {
|
|
1315
1315
|
var e = [].slice.call(arguments, 0);
|
|
1316
1316
|
return ir("isBefore", e);
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function ma() {
|
|
1319
1319
|
var e = [].slice.call(arguments, 0);
|
|
1320
1320
|
return ir("isAfter", e);
|
|
1321
1321
|
}
|
|
1322
1322
|
var ya = function() {
|
|
1323
1323
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1324
|
-
},
|
|
1324
|
+
}, _e = [
|
|
1325
1325
|
"year",
|
|
1326
1326
|
"quarter",
|
|
1327
1327
|
"month",
|
|
@@ -1333,27 +1333,27 @@ var ya = function() {
|
|
|
1333
1333
|
"millisecond"
|
|
1334
1334
|
];
|
|
1335
1335
|
function pa(e) {
|
|
1336
|
-
var t, r = !1, s, a =
|
|
1336
|
+
var t, r = !1, s, a = _e.length;
|
|
1337
1337
|
for (t in e)
|
|
1338
|
-
if (p(e, t) && !(S.call(
|
|
1338
|
+
if (p(e, t) && !(S.call(_e, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1339
1339
|
return !1;
|
|
1340
1340
|
for (s = 0; s < a; ++s)
|
|
1341
|
-
if (e[
|
|
1341
|
+
if (e[_e[s]]) {
|
|
1342
1342
|
if (r)
|
|
1343
1343
|
return !1;
|
|
1344
|
-
parseFloat(e[
|
|
1344
|
+
parseFloat(e[_e[s]]) !== _(e[_e[s]]) && (r = !0);
|
|
1345
1345
|
}
|
|
1346
1346
|
return !0;
|
|
1347
1347
|
}
|
|
1348
1348
|
function wa() {
|
|
1349
1349
|
return this._isValid;
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function ga() {
|
|
1352
1352
|
return L(NaN);
|
|
1353
1353
|
}
|
|
1354
1354
|
function Ve(e) {
|
|
1355
|
-
var t = ut(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, i = t.week || t.isoWeek || 0, n = t.day || 0, u = t.hour || 0, f = t.minute || 0,
|
|
1356
|
-
this._isValid = pa(t), this._milliseconds = +O +
|
|
1355
|
+
var t = ut(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, i = t.week || t.isoWeek || 0, n = t.day || 0, u = t.hour || 0, f = t.minute || 0, m = t.second || 0, O = t.millisecond || 0;
|
|
1356
|
+
this._isValid = pa(t), this._milliseconds = +O + m * 1e3 + // 1000
|
|
1357
1357
|
f * 6e4 + // 1000 * 60
|
|
1358
1358
|
u * 1e3 * 60 * 60, this._days = +n + i * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = Z(), this._bubble();
|
|
1359
1359
|
}
|
|
@@ -1363,10 +1363,10 @@ function Te(e) {
|
|
|
1363
1363
|
function tt(e) {
|
|
1364
1364
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function Ma(e, t, r) {
|
|
1367
1367
|
var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), i = 0, n;
|
|
1368
1368
|
for (n = 0; n < s; n++)
|
|
1369
|
-
(r && e[n] !== t[n] || !r &&
|
|
1369
|
+
(r && e[n] !== t[n] || !r && _(e[n]) !== _(t[n])) && i++;
|
|
1370
1370
|
return i + a;
|
|
1371
1371
|
}
|
|
1372
1372
|
function nr(e, t) {
|
|
@@ -1379,17 +1379,17 @@ nr("Z", ":");
|
|
|
1379
1379
|
nr("ZZ", "");
|
|
1380
1380
|
d("Z", Ee);
|
|
1381
1381
|
d("ZZ", Ee);
|
|
1382
|
-
|
|
1382
|
+
g(["Z", "ZZ"], function(e, t, r) {
|
|
1383
1383
|
r._useUTC = !0, r._tzm = kt(Ee, e);
|
|
1384
1384
|
});
|
|
1385
1385
|
var ka = /([\+\-]|\d\d)/gi;
|
|
1386
1386
|
function kt(e, t) {
|
|
1387
1387
|
var r = (t || "").match(e), s, a, i;
|
|
1388
|
-
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(ka) || ["-", 0, 0], i = +(a[1] * 60) +
|
|
1388
|
+
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(ka) || ["-", 0, 0], i = +(a[1] * 60) + _(a[2]), i === 0 ? 0 : a[0] === "+" ? i : -i);
|
|
1389
1389
|
}
|
|
1390
1390
|
function vt(e, t) {
|
|
1391
1391
|
var r, s;
|
|
1392
|
-
return t._isUTC ? (r = t.clone(), s = (F(e) ||
|
|
1392
|
+
return t._isUTC ? (r = t.clone(), s = (F(e) || Me(e) ? e.valueOf() : M(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), l.updateOffset(r, !1), r) : M(e).local();
|
|
1393
1393
|
}
|
|
1394
1394
|
function rt(e) {
|
|
1395
1395
|
return -Math.round(e._d.getTimezoneOffset());
|
|
@@ -1434,7 +1434,7 @@ function Oa() {
|
|
|
1434
1434
|
return this;
|
|
1435
1435
|
}
|
|
1436
1436
|
function ba(e) {
|
|
1437
|
-
return this.isValid() ? (e = e ?
|
|
1437
|
+
return this.isValid() ? (e = e ? M(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1438
1438
|
}
|
|
1439
1439
|
function Ta() {
|
|
1440
1440
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
@@ -1443,7 +1443,7 @@ function xa() {
|
|
|
1443
1443
|
if (!b(this._isDSTShifted))
|
|
1444
1444
|
return this._isDSTShifted;
|
|
1445
1445
|
var e = {}, t;
|
|
1446
|
-
return nt(e, this), e = sr(e), e._a ? (t = e._isUTC ? U(e._a) :
|
|
1446
|
+
return nt(e, this), e = sr(e), e._a ? (t = e._isUTC ? U(e._a) : M(e._a), this._isDSTShifted = this.isValid() && Ma(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1447
1447
|
}
|
|
1448
1448
|
function Pa() {
|
|
1449
1449
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -1463,11 +1463,11 @@ function L(e, t) {
|
|
|
1463
1463
|
M: e._months
|
|
1464
1464
|
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Ra.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1465
1465
|
y: 0,
|
|
1466
|
-
d:
|
|
1467
|
-
h:
|
|
1468
|
-
m:
|
|
1469
|
-
s:
|
|
1470
|
-
ms:
|
|
1466
|
+
d: _(s[C]) * a,
|
|
1467
|
+
h: _(s[D]) * a,
|
|
1468
|
+
m: _(s[R]) * a,
|
|
1469
|
+
s: _(s[G]) * a,
|
|
1470
|
+
ms: _(tt(s[te] * 1e3)) * a
|
|
1471
1471
|
// the millisecond decimal point is included in the match
|
|
1472
1472
|
}) : (s = Na.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1473
1473
|
y: ee(s[2], a),
|
|
@@ -1478,12 +1478,12 @@ function L(e, t) {
|
|
|
1478
1478
|
m: ee(s[7], a),
|
|
1479
1479
|
s: ee(s[8], a)
|
|
1480
1480
|
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (n = Fa(
|
|
1481
|
-
|
|
1482
|
-
|
|
1481
|
+
M(r.from),
|
|
1482
|
+
M(r.to)
|
|
1483
1483
|
), r = {}, r.ms = n.milliseconds, r.M = n.months), i = new Ve(r), Te(e) && p(e, "_locale") && (i._locale = e._locale), Te(e) && p(e, "_isValid") && (i._isValid = e._isValid), i;
|
|
1484
1484
|
}
|
|
1485
1485
|
L.fn = Ve.prototype;
|
|
1486
|
-
L.invalid =
|
|
1486
|
+
L.invalid = ga;
|
|
1487
1487
|
function ee(e, t) {
|
|
1488
1488
|
var r = e && parseFloat(e.replace(",", "."));
|
|
1489
1489
|
return (isNaN(r) ? 0 : r) * t;
|
|
@@ -1514,7 +1514,7 @@ function dr(e) {
|
|
|
1514
1514
|
return typeof e == "string" || e instanceof String;
|
|
1515
1515
|
}
|
|
1516
1516
|
function Ia(e) {
|
|
1517
|
-
return F(e) ||
|
|
1517
|
+
return F(e) || Me(e) || dr(e) || q(e) || Ha(e) || Ua(e) || e === null || e === void 0;
|
|
1518
1518
|
}
|
|
1519
1519
|
function Ua(e) {
|
|
1520
1520
|
var t = re(e) && !at(e), r = !1, s = [
|
|
@@ -1572,28 +1572,28 @@ function Aa(e, t) {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
function ja(e, t) {
|
|
1574
1574
|
arguments.length === 1 && (arguments[0] ? Ia(arguments[0]) ? (e = arguments[0], t = void 0) : Ea(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1575
|
-
var r = e ||
|
|
1575
|
+
var r = e || M(), s = vt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", i = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
|
|
1576
1576
|
return this.format(
|
|
1577
|
-
i || this.localeData().calendar(a, this,
|
|
1577
|
+
i || this.localeData().calendar(a, this, M(r))
|
|
1578
1578
|
);
|
|
1579
1579
|
}
|
|
1580
1580
|
function Va() {
|
|
1581
1581
|
return new ke(this);
|
|
1582
1582
|
}
|
|
1583
1583
|
function Ga(e, t) {
|
|
1584
|
-
var r = F(e) ? e :
|
|
1584
|
+
var r = F(e) ? e : M(e);
|
|
1585
1585
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1586
1586
|
}
|
|
1587
1587
|
function za(e, t) {
|
|
1588
|
-
var r = F(e) ? e :
|
|
1588
|
+
var r = F(e) ? e : M(e);
|
|
1589
1589
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1590
1590
|
}
|
|
1591
1591
|
function $a(e, t, r, s) {
|
|
1592
|
-
var a = F(e) ? e :
|
|
1592
|
+
var a = F(e) ? e : M(e), i = F(t) ? t : M(t);
|
|
1593
1593
|
return this.isValid() && a.isValid() && i.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (s[1] === ")" ? this.isBefore(i, r) : !this.isAfter(i, r))) : !1;
|
|
1594
1594
|
}
|
|
1595
1595
|
function qa(e, t) {
|
|
1596
|
-
var r = F(e) ? e :
|
|
1596
|
+
var r = F(e) ? e : M(e), s;
|
|
1597
1597
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (s = r.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
|
|
1598
1598
|
}
|
|
1599
1599
|
function Za(e, t) {
|
|
@@ -1673,16 +1673,16 @@ function ei(e) {
|
|
|
1673
1673
|
return this.localeData().postformat(t);
|
|
1674
1674
|
}
|
|
1675
1675
|
function ti(e, t) {
|
|
1676
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1676
|
+
return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1677
1677
|
}
|
|
1678
1678
|
function ri(e) {
|
|
1679
|
-
return this.from(
|
|
1679
|
+
return this.from(M(), e);
|
|
1680
1680
|
}
|
|
1681
1681
|
function si(e, t) {
|
|
1682
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1682
|
+
return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1683
1683
|
}
|
|
1684
1684
|
function ai(e) {
|
|
1685
|
-
return this.to(
|
|
1685
|
+
return this.to(M(), e);
|
|
1686
1686
|
}
|
|
1687
1687
|
function hr(e) {
|
|
1688
1688
|
var t;
|
|
@@ -1697,21 +1697,21 @@ var fr = P(
|
|
|
1697
1697
|
function cr() {
|
|
1698
1698
|
return this._locale;
|
|
1699
1699
|
}
|
|
1700
|
-
var Re = 1e3, le = 60 * Re, Ne = 60 * le,
|
|
1700
|
+
var Re = 1e3, le = 60 * Re, Ne = 60 * le, _r = (365 * 400 + 97) * 24 * Ne;
|
|
1701
1701
|
function ue(e, t) {
|
|
1702
1702
|
return (e % t + t) % t;
|
|
1703
1703
|
}
|
|
1704
|
-
function
|
|
1705
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) -
|
|
1704
|
+
function mr(e, t, r) {
|
|
1705
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - _r : new Date(e, t, r).valueOf();
|
|
1706
1706
|
}
|
|
1707
1707
|
function yr(e, t, r) {
|
|
1708
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) -
|
|
1708
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - _r : Date.UTC(e, t, r);
|
|
1709
1709
|
}
|
|
1710
1710
|
function ii(e) {
|
|
1711
1711
|
var t, r;
|
|
1712
1712
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1713
1713
|
return this;
|
|
1714
|
-
switch (r = this._isUTC ? yr :
|
|
1714
|
+
switch (r = this._isUTC ? yr : mr, e) {
|
|
1715
1715
|
case "year":
|
|
1716
1716
|
t = r(this.year(), 0, 1);
|
|
1717
1717
|
break;
|
|
@@ -1762,7 +1762,7 @@ function ni(e) {
|
|
|
1762
1762
|
var t, r;
|
|
1763
1763
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1764
1764
|
return this;
|
|
1765
|
-
switch (r = this._isUTC ? yr :
|
|
1765
|
+
switch (r = this._isUTC ? yr : mr, e) {
|
|
1766
1766
|
case "year":
|
|
1767
1767
|
t = r(this.year() + 1, 0, 1) - 1;
|
|
1768
1768
|
break;
|
|
@@ -1848,10 +1848,10 @@ function fi() {
|
|
|
1848
1848
|
function ci() {
|
|
1849
1849
|
return it(this);
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1851
|
+
function _i() {
|
|
1852
1852
|
return Q({}, c(this));
|
|
1853
1853
|
}
|
|
1854
|
-
function
|
|
1854
|
+
function mi() {
|
|
1855
1855
|
return c(this).overflow;
|
|
1856
1856
|
}
|
|
1857
1857
|
function yi() {
|
|
@@ -1877,7 +1877,7 @@ d("NN", St);
|
|
|
1877
1877
|
d("NNN", St);
|
|
1878
1878
|
d("NNNN", bi);
|
|
1879
1879
|
d("NNNNN", Ti);
|
|
1880
|
-
|
|
1880
|
+
g(
|
|
1881
1881
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
1882
1882
|
function(e, t, r, s) {
|
|
1883
1883
|
var a = r._locale.erasParse(e, s, r._strict);
|
|
@@ -1889,8 +1889,8 @@ d("yy", de);
|
|
|
1889
1889
|
d("yyy", de);
|
|
1890
1890
|
d("yyyy", de);
|
|
1891
1891
|
d("yo", xi);
|
|
1892
|
-
|
|
1893
|
-
|
|
1892
|
+
g(["y", "yy", "yyy", "yyyy"], Y);
|
|
1893
|
+
g(["yo"], function(e, t, r, s) {
|
|
1894
1894
|
var a;
|
|
1895
1895
|
r._locale._eraYearOrdinalRegex && (a = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Y] = r._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
|
1896
1896
|
});
|
|
@@ -1936,11 +1936,11 @@ function wi(e, t, r) {
|
|
|
1936
1936
|
else if ([n, u, f].indexOf(e) >= 0)
|
|
1937
1937
|
return i[s];
|
|
1938
1938
|
}
|
|
1939
|
-
function
|
|
1939
|
+
function gi(e, t) {
|
|
1940
1940
|
var r = e.since <= e.until ? 1 : -1;
|
|
1941
1941
|
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * r;
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1943
|
+
function Mi() {
|
|
1944
1944
|
var e, t, r, s = this.localeData().eras();
|
|
1945
1945
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1946
1946
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
@@ -1990,9 +1990,9 @@ function xi(e, t) {
|
|
|
1990
1990
|
return t._eraYearOrdinalRegex || de;
|
|
1991
1991
|
}
|
|
1992
1992
|
function Dt() {
|
|
1993
|
-
var e = [], t = [], r = [], s = [], a, i, n, u, f,
|
|
1994
|
-
for (a = 0, i =
|
|
1995
|
-
n = z(
|
|
1993
|
+
var e = [], t = [], r = [], s = [], a, i, n, u, f, m = this.eras();
|
|
1994
|
+
for (a = 0, i = m.length; a < i; ++a)
|
|
1995
|
+
n = z(m[a].name), u = z(m[a].abbr), f = z(m[a].narrow), t.push(n), e.push(u), r.push(f), s.push(n), s.push(u), s.push(f);
|
|
1996
1996
|
this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
1997
1997
|
"^(" + r.join("|") + ")",
|
|
1998
1998
|
"i"
|
|
@@ -2022,7 +2022,7 @@ d("ggggg", Ue, Ce);
|
|
|
2022
2022
|
Se(
|
|
2023
2023
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2024
2024
|
function(e, t, r, s) {
|
|
2025
|
-
t[s.substr(0, 2)] =
|
|
2025
|
+
t[s.substr(0, 2)] = _(e);
|
|
2026
2026
|
}
|
|
2027
2027
|
);
|
|
2028
2028
|
Se(["gg", "GG"], function(e, t, r, s) {
|
|
@@ -2072,8 +2072,8 @@ function Ci(e, t, r, s, a) {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
h("Q", 0, "Qo", "quarter");
|
|
2074
2074
|
d("Q", Ht);
|
|
2075
|
-
|
|
2076
|
-
t[V] = (
|
|
2075
|
+
g("Q", function(e, t) {
|
|
2076
|
+
t[V] = (_(e) - 1) * 3;
|
|
2077
2077
|
});
|
|
2078
2078
|
function Ii(e) {
|
|
2079
2079
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
@@ -2084,16 +2084,16 @@ d("DD", k, T);
|
|
|
2084
2084
|
d("Do", function(e, t) {
|
|
2085
2085
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2086
2086
|
});
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
t[C] =
|
|
2087
|
+
g(["D", "DD"], C);
|
|
2088
|
+
g("Do", function(e, t) {
|
|
2089
|
+
t[C] = _(e.match(k)[0]);
|
|
2090
2090
|
});
|
|
2091
2091
|
var wr = fe("Date", !0);
|
|
2092
2092
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2093
2093
|
d("DDD", Ie);
|
|
2094
2094
|
d("DDDD", Et);
|
|
2095
|
-
|
|
2096
|
-
r._dayOfYear =
|
|
2095
|
+
g(["DDD", "DDDD"], function(e, t, r) {
|
|
2096
|
+
r._dayOfYear = _(e);
|
|
2097
2097
|
});
|
|
2098
2098
|
function Ui(e) {
|
|
2099
2099
|
var t = Math.round(
|
|
@@ -2104,12 +2104,12 @@ function Ui(e) {
|
|
|
2104
2104
|
h("m", ["mm", 2], 0, "minute");
|
|
2105
2105
|
d("m", k, ft);
|
|
2106
2106
|
d("mm", k, T);
|
|
2107
|
-
|
|
2107
|
+
g(["m", "mm"], R);
|
|
2108
2108
|
var Hi = fe("Minutes", !1);
|
|
2109
2109
|
h("s", ["ss", 2], 0, "second");
|
|
2110
2110
|
d("s", k, ft);
|
|
2111
2111
|
d("ss", k, T);
|
|
2112
|
-
|
|
2112
|
+
g(["s", "ss"], G);
|
|
2113
2113
|
var Ei = fe("Seconds", !1);
|
|
2114
2114
|
h("S", 0, 0, function() {
|
|
2115
2115
|
return ~~(this.millisecond() / 100);
|
|
@@ -2139,15 +2139,15 @@ h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
|
2139
2139
|
d("S", Ie, Ht);
|
|
2140
2140
|
d("SS", Ie, T);
|
|
2141
2141
|
d("SSS", Ie, Et);
|
|
2142
|
-
var K,
|
|
2142
|
+
var K, gr;
|
|
2143
2143
|
for (K = "SSSS"; K.length <= 9; K += "S")
|
|
2144
2144
|
d(K, de);
|
|
2145
2145
|
function Ai(e, t) {
|
|
2146
|
-
t[te] =
|
|
2146
|
+
t[te] = _(("0." + e) * 1e3);
|
|
2147
2147
|
}
|
|
2148
2148
|
for (K = "S"; K.length <= 9; K += "S")
|
|
2149
|
-
|
|
2150
|
-
|
|
2149
|
+
g(K, Ai);
|
|
2150
|
+
gr = fe("Milliseconds", !1);
|
|
2151
2151
|
h("z", 0, 0, "zoneAbbr");
|
|
2152
2152
|
h("zz", 0, 0, "zoneName");
|
|
2153
2153
|
function ji() {
|
|
@@ -2168,7 +2168,7 @@ o.fromNow = ri;
|
|
|
2168
2168
|
o.to = si;
|
|
2169
2169
|
o.toNow = ai;
|
|
2170
2170
|
o.get = Xr;
|
|
2171
|
-
o.invalidAt =
|
|
2171
|
+
o.invalidAt = mi;
|
|
2172
2172
|
o.isAfter = Ga;
|
|
2173
2173
|
o.isBefore = za;
|
|
2174
2174
|
o.isBetween = $a;
|
|
@@ -2181,7 +2181,7 @@ o.locale = hr;
|
|
|
2181
2181
|
o.localeData = cr;
|
|
2182
2182
|
o.max = ca;
|
|
2183
2183
|
o.min = fa;
|
|
2184
|
-
o.parsingFlags =
|
|
2184
|
+
o.parsingFlags = _i;
|
|
2185
2185
|
o.set = es;
|
|
2186
2186
|
o.startOf = ii;
|
|
2187
2187
|
o.subtract = Ca;
|
|
@@ -2198,7 +2198,7 @@ o.toString = Qa;
|
|
|
2198
2198
|
o.unix = li;
|
|
2199
2199
|
o.valueOf = oi;
|
|
2200
2200
|
o.creationData = yi;
|
|
2201
|
-
o.eraName =
|
|
2201
|
+
o.eraName = Mi;
|
|
2202
2202
|
o.eraNarrow = ki;
|
|
2203
2203
|
o.eraAbbr = vi;
|
|
2204
2204
|
o.eraYear = Si;
|
|
@@ -2223,7 +2223,7 @@ o.dayOfYear = Ui;
|
|
|
2223
2223
|
o.hour = o.hours = Es;
|
|
2224
2224
|
o.minute = o.minutes = Hi;
|
|
2225
2225
|
o.second = o.seconds = Ei;
|
|
2226
|
-
o.millisecond = o.milliseconds =
|
|
2226
|
+
o.millisecond = o.milliseconds = gr;
|
|
2227
2227
|
o.utcOffset = va;
|
|
2228
2228
|
o.utc = Da;
|
|
2229
2229
|
o.local = Ya;
|
|
@@ -2257,12 +2257,12 @@ o.isDSTShifted = P(
|
|
|
2257
2257
|
xa
|
|
2258
2258
|
);
|
|
2259
2259
|
function Gi(e) {
|
|
2260
|
-
return
|
|
2260
|
+
return M(e * 1e3);
|
|
2261
2261
|
}
|
|
2262
2262
|
function zi() {
|
|
2263
|
-
return
|
|
2263
|
+
return M.apply(null, arguments).parseZone();
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function Mr(e) {
|
|
2266
2266
|
return e;
|
|
2267
2267
|
}
|
|
2268
2268
|
var w = ot.prototype;
|
|
@@ -2270,14 +2270,14 @@ w.calendar = Pr;
|
|
|
2270
2270
|
w.longDateFormat = Fr;
|
|
2271
2271
|
w.invalidDate = Cr;
|
|
2272
2272
|
w.ordinal = Hr;
|
|
2273
|
-
w.preparse =
|
|
2274
|
-
w.postformat =
|
|
2273
|
+
w.preparse = Mr;
|
|
2274
|
+
w.postformat = Mr;
|
|
2275
2275
|
w.relativeTime = Ar;
|
|
2276
2276
|
w.pastFuture = jr;
|
|
2277
2277
|
w.set = Tr;
|
|
2278
2278
|
w.eras = pi;
|
|
2279
2279
|
w.erasParse = wi;
|
|
2280
|
-
w.erasConvertYear =
|
|
2280
|
+
w.erasConvertYear = gi;
|
|
2281
2281
|
w.erasAbbrRegex = Yi;
|
|
2282
2282
|
w.erasNameRegex = Di;
|
|
2283
2283
|
w.erasNarrowRegex = Oi;
|
|
@@ -2288,7 +2288,7 @@ w.monthsRegex = hs;
|
|
|
2288
2288
|
w.monthsShortRegex = ds;
|
|
2289
2289
|
w.week = cs;
|
|
2290
2290
|
w.firstDayOfYear = ys;
|
|
2291
|
-
w.firstDayOfWeek =
|
|
2291
|
+
w.firstDayOfWeek = ms;
|
|
2292
2292
|
w.weekdays = Os;
|
|
2293
2293
|
w.weekdaysMin = Ts;
|
|
2294
2294
|
w.weekdaysShort = bs;
|
|
@@ -2355,7 +2355,7 @@ X("en", {
|
|
|
2355
2355
|
],
|
|
2356
2356
|
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
2357
2357
|
ordinal: function(e) {
|
|
2358
|
-
var t = e % 10, r =
|
|
2358
|
+
var t = e % 10, r = _(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
|
|
2359
2359
|
return e + r;
|
|
2360
2360
|
}
|
|
2361
2361
|
});
|
|
@@ -2443,7 +2443,7 @@ function se(e) {
|
|
|
2443
2443
|
return this.isValid() ? this._data[e] : NaN;
|
|
2444
2444
|
};
|
|
2445
2445
|
}
|
|
2446
|
-
var
|
|
2446
|
+
var _n = se("milliseconds"), mn = se("seconds"), yn = se("minutes"), pn = se("hours"), wn = se("days"), gn = se("months"), Mn = se("years");
|
|
2447
2447
|
function kn() {
|
|
2448
2448
|
return x(this.days() / 7);
|
|
2449
2449
|
}
|
|
@@ -2467,8 +2467,8 @@ function vn(e, t, r, s, a) {
|
|
|
2467
2467
|
return a.relativeTime(t || 1, !!r, e, s);
|
|
2468
2468
|
}
|
|
2469
2469
|
function Sn(e, t, r, s) {
|
|
2470
|
-
var a = L(e).abs(), i = j(a.as("s")), n = j(a.as("m")), u = j(a.as("h")), f = j(a.as("d")),
|
|
2471
|
-
return r.w != null && (J = J || O <= 1 && ["w"] || O < r.w && ["ww", O]), J = J ||
|
|
2470
|
+
var a = L(e).abs(), i = j(a.as("s")), n = j(a.as("m")), u = j(a.as("h")), f = j(a.as("d")), m = j(a.as("M")), O = j(a.as("w")), E = j(a.as("y")), J = i <= r.ss && ["s", i] || i < r.s && ["ss", i] || n <= 1 && ["m"] || n < r.m && ["mm", n] || u <= 1 && ["h"] || u < r.h && ["hh", u] || f <= 1 && ["d"] || f < r.d && ["dd", f];
|
|
2471
|
+
return r.w != null && (J = J || O <= 1 && ["w"] || O < r.w && ["ww", O]), J = J || m <= 1 && ["M"] || m < r.M && ["MM", m] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = s, vn.apply(null, J);
|
|
2472
2472
|
}
|
|
2473
2473
|
function Dn(e) {
|
|
2474
2474
|
return e === void 0 ? j : typeof e == "function" ? (j = e, !0) : !1;
|
|
@@ -2489,8 +2489,8 @@ function ae(e) {
|
|
|
2489
2489
|
function ze() {
|
|
2490
2490
|
if (!this.isValid())
|
|
2491
2491
|
return this.localeData().invalidDate();
|
|
2492
|
-
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), r = Be(this._months), s, a, i, n, u = this.asSeconds(), f,
|
|
2493
|
-
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, i = x(r / 12), r %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "",
|
|
2492
|
+
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), r = Be(this._months), s, a, i, n, u = this.asSeconds(), f, m, O, E;
|
|
2493
|
+
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, i = x(r / 12), r %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", m = ae(this._months) !== ae(u) ? "-" : "", O = ae(this._days) !== ae(u) ? "-" : "", E = ae(this._milliseconds) !== ae(u) ? "-" : "", f + "P" + (i ? m + i + "Y" : "") + (r ? m + r + "M" : "") + (t ? O + t + "D" : "") + (a || s || e ? "T" : "") + (a ? E + a + "H" : "") + (s ? E + s + "M" : "") + (e ? E + n + "S" : "")) : "P0D";
|
|
2494
2494
|
}
|
|
2495
2495
|
var y = Ve.prototype;
|
|
2496
2496
|
y.isValid = wa;
|
|
@@ -2511,14 +2511,14 @@ y.valueOf = hn;
|
|
|
2511
2511
|
y._bubble = en;
|
|
2512
2512
|
y.clone = fn;
|
|
2513
2513
|
y.get = cn;
|
|
2514
|
-
y.milliseconds =
|
|
2515
|
-
y.seconds =
|
|
2514
|
+
y.milliseconds = _n;
|
|
2515
|
+
y.seconds = mn;
|
|
2516
2516
|
y.minutes = yn;
|
|
2517
2517
|
y.hours = pn;
|
|
2518
2518
|
y.days = wn;
|
|
2519
2519
|
y.weeks = kn;
|
|
2520
|
-
y.months =
|
|
2521
|
-
y.years =
|
|
2520
|
+
y.months = gn;
|
|
2521
|
+
y.years = Mn;
|
|
2522
2522
|
y.humanize = On;
|
|
2523
2523
|
y.toISOString = ze;
|
|
2524
2524
|
y.toString = ze;
|
|
@@ -2534,23 +2534,23 @@ h("X", 0, 0, "unix");
|
|
|
2534
2534
|
h("x", 0, 0, "valueOf");
|
|
2535
2535
|
d("x", He);
|
|
2536
2536
|
d("X", $r);
|
|
2537
|
-
|
|
2537
|
+
g("X", function(e, t, r) {
|
|
2538
2538
|
r._d = new Date(parseFloat(e) * 1e3);
|
|
2539
2539
|
});
|
|
2540
|
-
|
|
2541
|
-
r._d = new Date(
|
|
2540
|
+
g("x", function(e, t, r) {
|
|
2541
|
+
r._d = new Date(_(e));
|
|
2542
2542
|
});
|
|
2543
2543
|
//! moment.js
|
|
2544
2544
|
l.version = "2.30.1";
|
|
2545
|
-
Or(
|
|
2545
|
+
Or(M);
|
|
2546
2546
|
l.fn = o;
|
|
2547
|
-
l.min =
|
|
2548
|
-
l.max =
|
|
2547
|
+
l.min = _a;
|
|
2548
|
+
l.max = ma;
|
|
2549
2549
|
l.now = ya;
|
|
2550
2550
|
l.utc = U;
|
|
2551
2551
|
l.unix = Gi;
|
|
2552
2552
|
l.months = $i;
|
|
2553
|
-
l.isDate =
|
|
2553
|
+
l.isDate = Me;
|
|
2554
2554
|
l.locale = X;
|
|
2555
2555
|
l.invalid = Le;
|
|
2556
2556
|
l.duration = L;
|
|
@@ -2856,8 +2856,12 @@ const Qn = (e) => new Date(e).toString() !== "Invalid Date", Kn = (e, t) => Math
|
|
|
2856
2856
|
item_title: "<:title:1178465688915038208>",
|
|
2857
2857
|
item_lootbox1: "<:lootbox1:1186689926167810088>",
|
|
2858
2858
|
item_lootbox2: "<:lootbox2:1186258728882811051>",
|
|
2859
|
-
item_lootbox3: "<:lootbox3:
|
|
2860
|
-
|
|
2859
|
+
item_lootbox3: "<:lootbox3:1243963722259501216>",
|
|
2860
|
+
item_lootbox4: "<:lootbox3:1186259958216523786>",
|
|
2861
|
+
item_bottle_xp_1: "<:bottle_xp:1186204593667969035>",
|
|
2862
|
+
item_bottle_xp_2: "<:bottle_xp_2:1243980696083632208>",
|
|
2863
|
+
item_bottle_xp_3: "<:bottle_xp_3:1243980697773936740>",
|
|
2864
|
+
item_bottle_xp_4: "<:bottle_xp_4:1243980698927366256>",
|
|
2861
2865
|
item_boost_week: "<:boost_week:1186258728073297971>",
|
|
2862
2866
|
item_boost_day: "<:boost_day:1186258726030680145>",
|
|
2863
2867
|
item_repair_wood_plank: "<:Planchesdebois:1233782418478071930>",
|
|
@@ -2890,7 +2894,21 @@ const Qn = (e) => new Date(e).toString() !== "Invalid Date", Kn = (e, t) => Math
|
|
|
2890
2894
|
item_ship_dragon_heart: "<:CoeurdeDragon:1233782386580258848>",
|
|
2891
2895
|
item_ship_fairy_wing: "<:Ailedefees:1233782379269722293>",
|
|
2892
2896
|
item_ship_phoenix_feather: "<:PlumedePhoenix:1233784783822127167>",
|
|
2893
|
-
item_ship_mithril: "<:MandragoreAdulte:1233782409070247946>"
|
|
2897
|
+
item_ship_mithril: "<:MandragoreAdulte:1233782409070247946>",
|
|
2898
|
+
item_craft_cereal: "<:craft_cereal:1243963641204703405>",
|
|
2899
|
+
item_craft_cotton: "<:craft_cotton:1243963642567721080>",
|
|
2900
|
+
item_craft_empty_box: "<:craft_empty_box:1243963643834535966>",
|
|
2901
|
+
item_craft_enchanted_emerald: "<:craft_enchanted_emerald:1243963645092696105>",
|
|
2902
|
+
item_craft_enchanted_ruby: "<:craft_enchanted_ruby:1243963647097569330>",
|
|
2903
|
+
item_craft_enchanted_sapphire: "<:craft_enchanted_sapphire:1243963648486019082>",
|
|
2904
|
+
item_craft_enchanted_stone: "<:craft_enchanted_stone:1243963650893545637>",
|
|
2905
|
+
item_craft_flour: "<:craft_flour:1243963651719823451>",
|
|
2906
|
+
item_craft_hemp: "<:craft_hemp:1243963653238030387>",
|
|
2907
|
+
item_craft_scrap: "<:craft_scrap:1243963718895669268>",
|
|
2908
|
+
item_craft_strange_gem: "<:craft_strange_gem:1243963656539078686>",
|
|
2909
|
+
item_craft_strange_stone: "<:craft_strange_stone:1243963658766123192>",
|
|
2910
|
+
item_craft_tools: "<:craft_tools:1243963720179122217>",
|
|
2911
|
+
item_craft_wood: "<:craft_wood:1243963662763298897>"
|
|
2894
2912
|
}, Nn = (e) => new Intl.NumberFormat("de-DE").format(e), lo = (e, t) => Math.floor(Math.random() * (t - e) + e), Oe = (e) => `${Nn(Math.round(e / 1024 / 1024 * 100) / 100)} MB`, uo = () => {
|
|
2895
2913
|
const e = process.memoryUsage(), t = {
|
|
2896
2914
|
rss: `${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,
|