@opfr/utils-type 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +615 -593
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/object/index.d.ts +2 -0
- package/dist/object/index.d.ts.map +1 -0
- package/dist/object/index.js +2 -0
- package/dist/object/index.js.map +1 -0
- package/dist/object/types.d.ts +4 -0
- package/dist/object/types.d.ts.map +1 -0
- package/dist/object/types.js +2 -0
- package/dist/object/types.js.map +1 -0
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as V } from "@opfr/translate";
|
|
2
2
|
var T = /* @__PURE__ */ ((e) => (e.BASIC = "BASIC", e.COMMON = "COMMON", e.RARE = "RARE", e.EPIC = "EPIC", e.LEGENDARY = "LEGENDARY", e.MYTHIC = "MYTHIC", e))(T || {});
|
|
3
|
-
const
|
|
3
|
+
const Ii = {
|
|
4
4
|
BASIC: {
|
|
5
5
|
color: "#fff",
|
|
6
6
|
strength: 0,
|
|
@@ -37,19 +37,19 @@ const Ui = {
|
|
|
37
37
|
id: T.MYTHIC,
|
|
38
38
|
name: (e, t = 1) => V(`ranks.${T.MYTHIC}.text`, { count: t, context: e })
|
|
39
39
|
}
|
|
40
|
-
},
|
|
40
|
+
}, ji = [
|
|
41
41
|
"vitality",
|
|
42
42
|
"strength",
|
|
43
43
|
"agility",
|
|
44
44
|
"intelligence",
|
|
45
45
|
"chance",
|
|
46
46
|
"wisdom"
|
|
47
|
-
],
|
|
47
|
+
], Gi = 10, Cn = 1, Vi = [
|
|
48
48
|
[200, 4],
|
|
49
49
|
[100, 3],
|
|
50
50
|
[50, 2],
|
|
51
51
|
[0, Cn]
|
|
52
|
-
],
|
|
52
|
+
], qi = 100, zi = 10, Zi = {
|
|
53
53
|
pirate: {
|
|
54
54
|
name: "pirate",
|
|
55
55
|
color: "#8A1623",
|
|
@@ -70,7 +70,34 @@ const Ui = {
|
|
|
70
70
|
color: "#fff",
|
|
71
71
|
role: "1147953458507423874"
|
|
72
72
|
}
|
|
73
|
-
},
|
|
73
|
+
}, $i = "citizen", Bi = ["category", "alpha", "quantity"], Ji = (e, t) => t === null ? null : e === t ? `-${e}` : t, Nn = {
|
|
74
|
+
adventurer_strap: "<:adventurer_strap:1253041086147068035>",
|
|
75
|
+
adventurer_collar: "<:adventurer_collar:1253041084611690567>",
|
|
76
|
+
adventurer_boots: "<:adventurer_boots:1253041083252867123>",
|
|
77
|
+
adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
|
|
78
|
+
adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
|
|
79
|
+
adventurer_belt: "<:Ceinture_cuir:1256965593333108838>",
|
|
80
|
+
herbalist_boots: "<:Sandales_de_lHerboriste:1307627799879749652>",
|
|
81
|
+
herbalist_helmet: "<:Chapeau_de_lHerboriste:1307627803596034058>",
|
|
82
|
+
herbalist_weapon: "<:Gant_de_lHerboriste:1307627802073239642>",
|
|
83
|
+
herbalist_belt: "<:Ceinture_de_lHerboriste:1307627798260744212>",
|
|
84
|
+
marine_collar: "<:marine_collar:1309899971662712892>",
|
|
85
|
+
marine_helmet: "<:marine_helmet:1308766843736948756>",
|
|
86
|
+
marine_ring: "<:marine_ring:1308766839823663184>",
|
|
87
|
+
marine_strap: "<:marine_strap:1308766838032957520>",
|
|
88
|
+
pirate_weapon: "<:pirate_weapon:1308766750497705984>",
|
|
89
|
+
pirate_helmet: "<:marine_helmet:1308766843736948756>",
|
|
90
|
+
pirate_ring: "<:pirate_ring:1308766574081212506>",
|
|
91
|
+
pirate_belt: "<:pirate_belt:1308766575259553792>",
|
|
92
|
+
revolutionary_belt: "<:revolutionary_belt:1308766578967576576>",
|
|
93
|
+
revolutionary_boots: "<:revolutionary_boots:1308766571535011861>",
|
|
94
|
+
revolutionary_helmet: "<:revolutionary_helmet:1308766576736075867>",
|
|
95
|
+
revolutionary_ring: "<:revolutionary_ring:1308766581089767424>",
|
|
96
|
+
little_blacksmith_collar: "<:little_blacksmith_collar:1308814708714770593>",
|
|
97
|
+
little_blacksmith_weapon: "<:little_blacksmith_weapon:1308814712397627483>",
|
|
98
|
+
little_blacksmith_ring: "<:little_blacksmith_ring:1308814710803529739>",
|
|
99
|
+
little_blacksmith_strap: "<:little_blacksmith_strap:1308814713752391700>"
|
|
100
|
+
}, Rn = {
|
|
74
101
|
background: "<:background:1178465681809887334>",
|
|
75
102
|
title: "<:title:1178465688915038208>",
|
|
76
103
|
chest_1: "<:lootbox1:1186689926167810088>",
|
|
@@ -304,13 +331,8 @@ const Ui = {
|
|
|
304
331
|
chance: "<:chance:1251860735827513425>",
|
|
305
332
|
wisdom: "<:wisdom:1251861017231884378>"
|
|
306
333
|
},
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
equipment_adventurer_boots: "<:adventurer_boots:1253041083252867123>",
|
|
310
|
-
equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
|
|
311
|
-
equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
|
|
312
|
-
equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>",
|
|
313
|
-
items: Nn
|
|
334
|
+
items: Rn,
|
|
335
|
+
equipments: Nn
|
|
314
336
|
}, $e = (e) => new Intl.NumberFormat("de-DE").format(e);
|
|
315
337
|
//! moment.js
|
|
316
338
|
//! version : 2.30.1
|
|
@@ -321,7 +343,7 @@ var Wt;
|
|
|
321
343
|
function u() {
|
|
322
344
|
return Wt.apply(null, arguments);
|
|
323
345
|
}
|
|
324
|
-
function
|
|
346
|
+
function Pn(e) {
|
|
325
347
|
Wt = e;
|
|
326
348
|
}
|
|
327
349
|
function E(e) {
|
|
@@ -365,7 +387,7 @@ function K(e, t) {
|
|
|
365
387
|
function F(e, t, n, r) {
|
|
366
388
|
return on(e, t, n, r, !0).utc();
|
|
367
389
|
}
|
|
368
|
-
function
|
|
390
|
+
function En() {
|
|
369
391
|
return {
|
|
370
392
|
empty: !1,
|
|
371
393
|
unusedTokens: [],
|
|
@@ -386,7 +408,7 @@ function Pn() {
|
|
|
386
408
|
};
|
|
387
409
|
}
|
|
388
410
|
function f(e) {
|
|
389
|
-
return e._pf == null && (e._pf =
|
|
411
|
+
return e._pf == null && (e._pf = En()), e._pf;
|
|
390
412
|
}
|
|
391
413
|
var et;
|
|
392
414
|
Array.prototype.some ? et = Array.prototype.some : et = function(e) {
|
|
@@ -461,7 +483,7 @@ u.deprecationHandler = null;
|
|
|
461
483
|
function U(e) {
|
|
462
484
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
463
485
|
}
|
|
464
|
-
function
|
|
486
|
+
function Ln(e) {
|
|
465
487
|
var t, n;
|
|
466
488
|
for (n in e)
|
|
467
489
|
g(e, n) && (t = e[n], U(t) ? this[n] = t : this["_" + n] = t);
|
|
@@ -477,7 +499,7 @@ function tt(e, t) {
|
|
|
477
499
|
g(e, r) && !g(t, r) && ae(e[r]) && (n[r] = K({}, n[r]));
|
|
478
500
|
return n;
|
|
479
501
|
}
|
|
480
|
-
function
|
|
502
|
+
function ct(e) {
|
|
481
503
|
e != null && this.set(e);
|
|
482
504
|
}
|
|
483
505
|
var nt;
|
|
@@ -487,7 +509,7 @@ Object.keys ? nt = Object.keys : nt = function(e) {
|
|
|
487
509
|
g(e, t) && n.push(t);
|
|
488
510
|
return n;
|
|
489
511
|
};
|
|
490
|
-
var
|
|
512
|
+
var Wn = {
|
|
491
513
|
sameDay: "[Today at] LT",
|
|
492
514
|
nextDay: "[Tomorrow at] LT",
|
|
493
515
|
nextWeek: "dddd [at] LT",
|
|
@@ -495,7 +517,7 @@ var Ln = {
|
|
|
495
517
|
lastWeek: "[Last] dddd [at] LT",
|
|
496
518
|
sameElse: "L"
|
|
497
519
|
};
|
|
498
|
-
function
|
|
520
|
+
function Hn(e, t, n) {
|
|
499
521
|
var r = this._calendar[e] || this._calendar.sameElse;
|
|
500
522
|
return U(r) ? r.call(t, n) : r;
|
|
501
523
|
}
|
|
@@ -503,8 +525,8 @@ function A(e, t, n) {
|
|
|
503
525
|
var r = "" + Math.abs(e), a = t - r.length, s = e >= 0;
|
|
504
526
|
return (s ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + r;
|
|
505
527
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
528
|
+
var dt = /(\[[^\[]*\])|(\\)?([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 = {};
|
|
529
|
+
function d(e, t, n, r) {
|
|
508
530
|
var a = r;
|
|
509
531
|
typeof r == "string" && (a = function() {
|
|
510
532
|
return this[r]();
|
|
@@ -517,13 +539,13 @@ function c(e, t, n, r) {
|
|
|
517
539
|
);
|
|
518
540
|
});
|
|
519
541
|
}
|
|
520
|
-
function
|
|
542
|
+
function An(e) {
|
|
521
543
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
522
544
|
}
|
|
523
|
-
function
|
|
524
|
-
var t = e.match(
|
|
545
|
+
function Fn(e) {
|
|
546
|
+
var t = e.match(dt), n, r;
|
|
525
547
|
for (n = 0, r = t.length; n < r; n++)
|
|
526
|
-
le[t[n]] ? t[n] = le[t[n]] : t[n] =
|
|
548
|
+
le[t[n]] ? t[n] = le[t[n]] : t[n] = An(t[n]);
|
|
527
549
|
return function(a) {
|
|
528
550
|
var s = "", i;
|
|
529
551
|
for (i = 0; i < r; i++)
|
|
@@ -532,21 +554,21 @@ function An(e) {
|
|
|
532
554
|
};
|
|
533
555
|
}
|
|
534
556
|
function Te(e, t) {
|
|
535
|
-
return e.isValid() ? (t = Ut(t, e.localeData()), Je[t] = Je[t] ||
|
|
557
|
+
return e.isValid() ? (t = Ut(t, e.localeData()), Je[t] = Je[t] || Fn(t), Je[t](e)) : e.localeData().invalidDate();
|
|
536
558
|
}
|
|
537
559
|
function Ut(e, t) {
|
|
538
560
|
var n = 5;
|
|
539
561
|
function r(a) {
|
|
540
562
|
return t.longDateFormat(a) || a;
|
|
541
563
|
}
|
|
542
|
-
for (
|
|
564
|
+
for (Se.lastIndex = 0; n >= 0 && Se.test(e); )
|
|
543
565
|
e = e.replace(
|
|
544
|
-
|
|
566
|
+
Se,
|
|
545
567
|
r
|
|
546
|
-
),
|
|
568
|
+
), Se.lastIndex = 0, n -= 1;
|
|
547
569
|
return e;
|
|
548
570
|
}
|
|
549
|
-
var
|
|
571
|
+
var Un = {
|
|
550
572
|
LTS: "h:mm:ss A",
|
|
551
573
|
LT: "h:mm A",
|
|
552
574
|
L: "MM/DD/YYYY",
|
|
@@ -554,21 +576,21 @@ var Fn = {
|
|
|
554
576
|
LLL: "MMMM D, YYYY h:mm A",
|
|
555
577
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
556
578
|
};
|
|
557
|
-
function
|
|
579
|
+
function In(e) {
|
|
558
580
|
var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()];
|
|
559
|
-
return t || !n ? t : (this._longDateFormat[e] = n.match(
|
|
581
|
+
return t || !n ? t : (this._longDateFormat[e] = n.match(dt).map(function(r) {
|
|
560
582
|
return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
|
|
561
583
|
}).join(""), this._longDateFormat[e]);
|
|
562
584
|
}
|
|
563
|
-
var
|
|
564
|
-
function
|
|
585
|
+
var jn = "Invalid date";
|
|
586
|
+
function Gn() {
|
|
565
587
|
return this._invalidDate;
|
|
566
588
|
}
|
|
567
|
-
var
|
|
568
|
-
function
|
|
589
|
+
var Vn = "%d", qn = /\d{1,2}/;
|
|
590
|
+
function zn(e) {
|
|
569
591
|
return this._ordinal.replace("%d", e);
|
|
570
592
|
}
|
|
571
|
-
var
|
|
593
|
+
var Zn = {
|
|
572
594
|
future: "in %s",
|
|
573
595
|
past: "%s ago",
|
|
574
596
|
s: "a few seconds",
|
|
@@ -586,11 +608,11 @@ var zn = {
|
|
|
586
608
|
y: "a year",
|
|
587
609
|
yy: "%d years"
|
|
588
610
|
};
|
|
589
|
-
function
|
|
611
|
+
function $n(e, t, n, r) {
|
|
590
612
|
var a = this._relativeTime[n];
|
|
591
613
|
return U(a) ? a(e, t, n, r) : a.replace(/%d/i, e);
|
|
592
614
|
}
|
|
593
|
-
function
|
|
615
|
+
function Bn(e, t) {
|
|
594
616
|
var n = this._relativeTime[e > 0 ? "future" : "past"];
|
|
595
617
|
return U(n) ? n(t) : n.replace(/%s/i, t);
|
|
596
618
|
}
|
|
@@ -653,7 +675,7 @@ function ht(e) {
|
|
|
653
675
|
g(e, r) && (n = R(r), n && (t[n] = e[r]));
|
|
654
676
|
return t;
|
|
655
677
|
}
|
|
656
|
-
var
|
|
678
|
+
var Jn = {
|
|
657
679
|
date: 9,
|
|
658
680
|
day: 11,
|
|
659
681
|
weekday: 11,
|
|
@@ -671,25 +693,25 @@ var Bn = {
|
|
|
671
693
|
isoWeek: 5,
|
|
672
694
|
year: 1
|
|
673
695
|
};
|
|
674
|
-
function
|
|
696
|
+
function Qn(e) {
|
|
675
697
|
var t = [], n;
|
|
676
698
|
for (n in e)
|
|
677
|
-
g(e, n) && t.push({ unit: n, priority:
|
|
699
|
+
g(e, n) && t.push({ unit: n, priority: Jn[n] });
|
|
678
700
|
return t.sort(function(r, a) {
|
|
679
701
|
return r.priority - a.priority;
|
|
680
702
|
}), t;
|
|
681
703
|
}
|
|
682
|
-
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+/,
|
|
704
|
+
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})?/, De = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, fe = /^[1-9]\d?/, mt = /^([1-9]\d|\d)/, Ne;
|
|
683
705
|
Ne = {};
|
|
684
|
-
function
|
|
706
|
+
function c(e, t, n) {
|
|
685
707
|
Ne[e] = U(t) ? t : function(r, a) {
|
|
686
708
|
return r && n ? n : t;
|
|
687
709
|
};
|
|
688
710
|
}
|
|
689
|
-
function
|
|
690
|
-
return g(Ne, e) ? Ne[e](t._strict, t._locale) : new RegExp(
|
|
711
|
+
function er(e, t) {
|
|
712
|
+
return g(Ne, e) ? Ne[e](t._strict, t._locale) : new RegExp(tr(e));
|
|
691
713
|
}
|
|
692
|
-
function
|
|
714
|
+
function tr(e) {
|
|
693
715
|
return Z(
|
|
694
716
|
e.replace("\\", "").replace(
|
|
695
717
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
@@ -717,42 +739,42 @@ function v(e, t) {
|
|
|
717
739
|
}), a = e.length, n = 0; n < a; n++)
|
|
718
740
|
rt[e[n]] = r;
|
|
719
741
|
}
|
|
720
|
-
function
|
|
742
|
+
function be(e, t) {
|
|
721
743
|
v(e, function(n, r, a, s) {
|
|
722
744
|
a._w = a._w || {}, t(n, a._w, a, s);
|
|
723
745
|
});
|
|
724
746
|
}
|
|
725
|
-
function
|
|
747
|
+
function nr(e, t, n) {
|
|
726
748
|
t != null && g(rt, e) && rt[e](t, n._a, n, e);
|
|
727
749
|
}
|
|
728
750
|
function je(e) {
|
|
729
751
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
730
752
|
}
|
|
731
|
-
var
|
|
732
|
-
|
|
753
|
+
var b = 0, q = 1, H = 2, D = 3, P = 4, z = 5, re = 6, rr = 7, ar = 8;
|
|
754
|
+
d("Y", 0, 0, function() {
|
|
733
755
|
var e = this.year();
|
|
734
756
|
return e <= 9999 ? A(e, 4) : "+" + e;
|
|
735
757
|
});
|
|
736
|
-
|
|
758
|
+
d(0, ["YY", 2], 0, function() {
|
|
737
759
|
return this.year() % 100;
|
|
738
760
|
});
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
v(["YYYYY", "YYYYYY"],
|
|
761
|
+
d(0, ["YYYY", 4], 0, "year");
|
|
762
|
+
d(0, ["YYYYY", 5], 0, "year");
|
|
763
|
+
d(0, ["YYYYYY", 6, !0], 0, "year");
|
|
764
|
+
c("Y", Ue);
|
|
765
|
+
c("YY", M, x);
|
|
766
|
+
c("YYYY", _t, ft);
|
|
767
|
+
c("YYYYY", Fe, He);
|
|
768
|
+
c("YYYYYY", Fe, He);
|
|
769
|
+
v(["YYYYY", "YYYYYY"], b);
|
|
748
770
|
v("YYYY", function(e, t) {
|
|
749
|
-
t[
|
|
771
|
+
t[b] = e.length === 2 ? u.parseTwoDigitYear(e) : _(e);
|
|
750
772
|
});
|
|
751
773
|
v("YY", function(e, t) {
|
|
752
|
-
t[
|
|
774
|
+
t[b] = u.parseTwoDigitYear(e);
|
|
753
775
|
});
|
|
754
776
|
v("Y", function(e, t) {
|
|
755
|
-
t[
|
|
777
|
+
t[b] = parseInt(e, 10);
|
|
756
778
|
});
|
|
757
779
|
function ge(e) {
|
|
758
780
|
return je(e) ? 366 : 365;
|
|
@@ -761,7 +783,7 @@ u.parseTwoDigitYear = function(e) {
|
|
|
761
783
|
return _(e) + (_(e) > 68 ? 1900 : 2e3);
|
|
762
784
|
};
|
|
763
785
|
var qt = _e("FullYear", !0);
|
|
764
|
-
function
|
|
786
|
+
function sr() {
|
|
765
787
|
return je(this.year());
|
|
766
788
|
}
|
|
767
789
|
function _e(e, t) {
|
|
@@ -816,20 +838,20 @@ function zt(e, t, n) {
|
|
|
816
838
|
s = n, i = e.month(), l = e.date(), l = l === 29 && i === 1 && !je(s) ? 28 : l, a ? r.setUTCFullYear(s, i, l) : r.setFullYear(s, i, l);
|
|
817
839
|
}
|
|
818
840
|
}
|
|
819
|
-
function
|
|
841
|
+
function ir(e) {
|
|
820
842
|
return e = R(e), U(this[e]) ? this[e]() : this;
|
|
821
843
|
}
|
|
822
|
-
function
|
|
844
|
+
function or(e, t) {
|
|
823
845
|
if (typeof e == "object") {
|
|
824
846
|
e = ht(e);
|
|
825
|
-
var n =
|
|
847
|
+
var n = Qn(e), r, a = n.length;
|
|
826
848
|
for (r = 0; r < a; r++)
|
|
827
849
|
this[n[r].unit](e[n[r].unit]);
|
|
828
850
|
} else if (e = R(e), U(this[e]))
|
|
829
851
|
return this[e](t);
|
|
830
852
|
return this;
|
|
831
853
|
}
|
|
832
|
-
function
|
|
854
|
+
function ur(e, t) {
|
|
833
855
|
return (e % t + t) % t;
|
|
834
856
|
}
|
|
835
857
|
var Y;
|
|
@@ -843,24 +865,24 @@ Array.prototype.indexOf ? Y = Array.prototype.indexOf : Y = function(e) {
|
|
|
843
865
|
function yt(e, t) {
|
|
844
866
|
if (isNaN(e) || isNaN(t))
|
|
845
867
|
return NaN;
|
|
846
|
-
var n =
|
|
868
|
+
var n = ur(t, 12);
|
|
847
869
|
return e += (t - n) / 12, n === 1 ? je(e) ? 29 : 28 : 31 - n % 7 % 2;
|
|
848
870
|
}
|
|
849
|
-
|
|
871
|
+
d("M", ["MM", 2], "Mo", function() {
|
|
850
872
|
return this.month() + 1;
|
|
851
873
|
});
|
|
852
|
-
|
|
874
|
+
d("MMM", 0, 0, function(e) {
|
|
853
875
|
return this.localeData().monthsShort(this, e);
|
|
854
876
|
});
|
|
855
|
-
|
|
877
|
+
d("MMMM", 0, 0, function(e) {
|
|
856
878
|
return this.localeData().months(this, e);
|
|
857
879
|
});
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
880
|
+
c("M", M, fe);
|
|
881
|
+
c("MM", M, x);
|
|
882
|
+
c("MMM", function(e, t) {
|
|
861
883
|
return t.monthsShortRegex(e);
|
|
862
884
|
});
|
|
863
|
-
|
|
885
|
+
c("MMMM", function(e, t) {
|
|
864
886
|
return t.monthsRegex(e);
|
|
865
887
|
});
|
|
866
888
|
v(["M", "MM"], function(e, t) {
|
|
@@ -870,16 +892,16 @@ v(["MMM", "MMMM"], function(e, t, n, r) {
|
|
|
870
892
|
var a = n._locale.monthsParse(e, r, n._strict);
|
|
871
893
|
a != null ? t[q] = a : f(n).invalidMonth = e;
|
|
872
894
|
});
|
|
873
|
-
var
|
|
895
|
+
var lr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
874
896
|
"_"
|
|
875
|
-
), Zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), $t = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
|
|
876
|
-
function
|
|
897
|
+
), Zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), $t = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, cr = De, dr = De;
|
|
898
|
+
function hr(e, t) {
|
|
877
899
|
return e ? E(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || $t).test(t) ? "format" : "standalone"][e.month()] : E(this._months) ? this._months : this._months.standalone;
|
|
878
900
|
}
|
|
879
|
-
function
|
|
901
|
+
function fr(e, t) {
|
|
880
902
|
return e ? E(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[$t.test(t) ? "format" : "standalone"][e.month()] : E(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
881
903
|
}
|
|
882
|
-
function
|
|
904
|
+
function _r(e, t, n) {
|
|
883
905
|
var r, a, s, i = e.toLocaleLowerCase();
|
|
884
906
|
if (!this._monthsParse)
|
|
885
907
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
@@ -889,10 +911,10 @@ function fr(e, t, n) {
|
|
|
889
911
|
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(s, "").toLocaleLowerCase();
|
|
890
912
|
return n ? t === "MMM" ? (a = Y.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = Y.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = Y.call(this._shortMonthsParse, i), a !== -1 ? a : (a = Y.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = Y.call(this._longMonthsParse, i), a !== -1 ? a : (a = Y.call(this._shortMonthsParse, i), a !== -1 ? a : null));
|
|
891
913
|
}
|
|
892
|
-
function
|
|
914
|
+
function mr(e, t, n) {
|
|
893
915
|
var r, a, s;
|
|
894
916
|
if (this._monthsParseExact)
|
|
895
|
-
return
|
|
917
|
+
return _r.call(this, e, t, n);
|
|
896
918
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++)
|
|
897
919
|
if (a = F([2e3, r]), n && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
898
920
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
@@ -918,13 +940,13 @@ function Bt(e, t) {
|
|
|
918
940
|
function Jt(e) {
|
|
919
941
|
return e != null ? (Bt(this, e), u.updateOffset(this, !0), this) : pe(this, "Month");
|
|
920
942
|
}
|
|
921
|
-
function
|
|
943
|
+
function yr() {
|
|
922
944
|
return yt(this.year(), this.month());
|
|
923
945
|
}
|
|
924
|
-
function yr(e) {
|
|
925
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = lr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
926
|
-
}
|
|
927
946
|
function gr(e) {
|
|
947
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = cr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
948
|
+
}
|
|
949
|
+
function pr(e) {
|
|
928
950
|
return this._monthsParseExact ? (g(this, "_monthsRegex") || Qt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex = dr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
929
951
|
}
|
|
930
952
|
function Qt() {
|
|
@@ -942,7 +964,7 @@ function Qt() {
|
|
|
942
964
|
"i"
|
|
943
965
|
);
|
|
944
966
|
}
|
|
945
|
-
function
|
|
967
|
+
function vr(e, t, n, r, a, s, i) {
|
|
946
968
|
var l;
|
|
947
969
|
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;
|
|
948
970
|
}
|
|
@@ -972,93 +994,93 @@ function $(e, t, n) {
|
|
|
972
994
|
var r = Re(e, t, n), a = Re(e + 1, t, n);
|
|
973
995
|
return (ge(e) - r + a) / 7;
|
|
974
996
|
}
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
997
|
+
d("w", ["ww", 2], "wo", "week");
|
|
998
|
+
d("W", ["WW", 2], "Wo", "isoWeek");
|
|
999
|
+
c("w", M, fe);
|
|
1000
|
+
c("ww", M, x);
|
|
1001
|
+
c("W", M, fe);
|
|
1002
|
+
c("WW", M, x);
|
|
1003
|
+
be(
|
|
982
1004
|
["w", "ww", "W", "WW"],
|
|
983
1005
|
function(e, t, n, r) {
|
|
984
1006
|
t[r.substr(0, 1)] = _(e);
|
|
985
1007
|
}
|
|
986
1008
|
);
|
|
987
|
-
function
|
|
1009
|
+
function wr(e) {
|
|
988
1010
|
return we(e, this._week.dow, this._week.doy).week;
|
|
989
1011
|
}
|
|
990
|
-
var
|
|
1012
|
+
var Mr = {
|
|
991
1013
|
dow: 0,
|
|
992
1014
|
// Sunday is the first day of the week.
|
|
993
1015
|
doy: 6
|
|
994
1016
|
// The week that contains Jan 6th is the first week of the year.
|
|
995
1017
|
};
|
|
996
|
-
function
|
|
1018
|
+
function kr() {
|
|
997
1019
|
return this._week.dow;
|
|
998
1020
|
}
|
|
999
|
-
function
|
|
1021
|
+
function Yr() {
|
|
1000
1022
|
return this._week.doy;
|
|
1001
1023
|
}
|
|
1002
|
-
function
|
|
1024
|
+
function Dr(e) {
|
|
1003
1025
|
var t = this.localeData().week(this);
|
|
1004
1026
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
1005
1027
|
}
|
|
1006
|
-
function
|
|
1028
|
+
function br(e) {
|
|
1007
1029
|
var t = we(this, 1, 4).week;
|
|
1008
1030
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
1009
1031
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
1032
|
+
d("d", 0, "do", "day");
|
|
1033
|
+
d("dd", 0, 0, function(e) {
|
|
1012
1034
|
return this.localeData().weekdaysMin(this, e);
|
|
1013
1035
|
});
|
|
1014
|
-
|
|
1036
|
+
d("ddd", 0, 0, function(e) {
|
|
1015
1037
|
return this.localeData().weekdaysShort(this, e);
|
|
1016
1038
|
});
|
|
1017
|
-
|
|
1039
|
+
d("dddd", 0, 0, function(e) {
|
|
1018
1040
|
return this.localeData().weekdays(this, e);
|
|
1019
1041
|
});
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1042
|
+
d("e", 0, 0, "weekday");
|
|
1043
|
+
d("E", 0, 0, "isoWeekday");
|
|
1044
|
+
c("d", M);
|
|
1045
|
+
c("e", M);
|
|
1046
|
+
c("E", M);
|
|
1047
|
+
c("dd", function(e, t) {
|
|
1026
1048
|
return t.weekdaysMinRegex(e);
|
|
1027
1049
|
});
|
|
1028
|
-
|
|
1050
|
+
c("ddd", function(e, t) {
|
|
1029
1051
|
return t.weekdaysShortRegex(e);
|
|
1030
1052
|
});
|
|
1031
|
-
|
|
1053
|
+
c("dddd", function(e, t) {
|
|
1032
1054
|
return t.weekdaysRegex(e);
|
|
1033
1055
|
});
|
|
1034
|
-
|
|
1056
|
+
be(["dd", "ddd", "dddd"], function(e, t, n, r) {
|
|
1035
1057
|
var a = n._locale.weekdaysParse(e, r, n._strict);
|
|
1036
1058
|
a != null ? t.d = a : f(n).invalidWeekday = e;
|
|
1037
1059
|
});
|
|
1038
|
-
|
|
1060
|
+
be(["d", "e", "E"], function(e, t, n, r) {
|
|
1039
1061
|
t[r] = _(e);
|
|
1040
1062
|
});
|
|
1041
1063
|
function Sr(e, t) {
|
|
1042
1064
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
1043
1065
|
}
|
|
1044
|
-
function
|
|
1066
|
+
function Or(e, t) {
|
|
1045
1067
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
1046
1068
|
}
|
|
1047
1069
|
function gt(e, t) {
|
|
1048
1070
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
1049
1071
|
}
|
|
1050
|
-
var
|
|
1051
|
-
function
|
|
1072
|
+
var Tr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Kt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), xr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Cr = De, Nr = De, Rr = De;
|
|
1073
|
+
function Pr(e, t) {
|
|
1052
1074
|
var n = E(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
1053
1075
|
return e === !0 ? gt(n, this._week.dow) : e ? n[e.day()] : n;
|
|
1054
1076
|
}
|
|
1055
|
-
function
|
|
1077
|
+
function Er(e) {
|
|
1056
1078
|
return e === !0 ? gt(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
1057
1079
|
}
|
|
1058
|
-
function
|
|
1080
|
+
function Lr(e) {
|
|
1059
1081
|
return e === !0 ? gt(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
1060
1082
|
}
|
|
1061
|
-
function
|
|
1083
|
+
function Wr(e, t, n) {
|
|
1062
1084
|
var r, a, s, i = e.toLocaleLowerCase();
|
|
1063
1085
|
if (!this._weekdaysParse)
|
|
1064
1086
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
@@ -1071,10 +1093,10 @@ function Lr(e, t, n) {
|
|
|
1071
1093
|
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(s, "").toLocaleLowerCase();
|
|
1072
1094
|
return n ? t === "dddd" ? (a = Y.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = Y.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = Y.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = Y.call(this._weekdaysParse, i), a !== -1 || (a = Y.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = Y.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = Y.call(this._shortWeekdaysParse, i), a !== -1 || (a = Y.call(this._weekdaysParse, i), a !== -1) ? a : (a = Y.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = Y.call(this._minWeekdaysParse, i), a !== -1 || (a = Y.call(this._weekdaysParse, i), a !== -1) ? a : (a = Y.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
|
|
1073
1095
|
}
|
|
1074
|
-
function
|
|
1096
|
+
function Hr(e, t, n) {
|
|
1075
1097
|
var r, a, s;
|
|
1076
1098
|
if (this._weekdaysParseExact)
|
|
1077
|
-
return
|
|
1099
|
+
return Wr.call(this, e, t, n);
|
|
1078
1100
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++)
|
|
1079
1101
|
if (a = F([2e3, 1]).day(r), n && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
1080
1102
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
@@ -1088,39 +1110,39 @@ function Wr(e, t, n) {
|
|
|
1088
1110
|
)), this._weekdaysParse[r] || (s = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[r] = new RegExp(s.replace(".", ""), "i")), n && t === "dddd" && this._fullWeekdaysParse[r].test(e) || n && t === "ddd" && this._shortWeekdaysParse[r].test(e) || n && t === "dd" && this._minWeekdaysParse[r].test(e) || !n && this._weekdaysParse[r].test(e))
|
|
1089
1111
|
return r;
|
|
1090
1112
|
}
|
|
1091
|
-
function
|
|
1113
|
+
function Ar(e) {
|
|
1092
1114
|
if (!this.isValid())
|
|
1093
1115
|
return e != null ? this : NaN;
|
|
1094
1116
|
var t = pe(this, "Day");
|
|
1095
1117
|
return e != null ? (e = Sr(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
1096
1118
|
}
|
|
1097
|
-
function
|
|
1119
|
+
function Fr(e) {
|
|
1098
1120
|
if (!this.isValid())
|
|
1099
1121
|
return e != null ? this : NaN;
|
|
1100
1122
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
1101
1123
|
return e == null ? t : this.add(e - t, "d");
|
|
1102
1124
|
}
|
|
1103
|
-
function
|
|
1125
|
+
function Ur(e) {
|
|
1104
1126
|
if (!this.isValid())
|
|
1105
1127
|
return e != null ? this : NaN;
|
|
1106
1128
|
if (e != null) {
|
|
1107
|
-
var t =
|
|
1129
|
+
var t = Or(e, this.localeData());
|
|
1108
1130
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
1109
1131
|
} else
|
|
1110
1132
|
return this.day() || 7;
|
|
1111
1133
|
}
|
|
1112
|
-
function Ur(e) {
|
|
1113
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = xr), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1114
|
-
}
|
|
1115
1134
|
function Ir(e) {
|
|
1116
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || pt.call(this), e ? this.
|
|
1135
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = Cr), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1117
1136
|
}
|
|
1118
1137
|
function jr(e) {
|
|
1119
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || pt.call(this), e ? this.
|
|
1138
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (g(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Nr), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1139
|
+
}
|
|
1140
|
+
function Gr(e) {
|
|
1141
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Rr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1120
1142
|
}
|
|
1121
1143
|
function pt() {
|
|
1122
|
-
function e(
|
|
1123
|
-
return I.length -
|
|
1144
|
+
function e(S, I) {
|
|
1145
|
+
return I.length - S.length;
|
|
1124
1146
|
}
|
|
1125
1147
|
var t = [], n = [], r = [], a = [], s, i, l, h, m;
|
|
1126
1148
|
for (s = 0; s < 7; s++)
|
|
@@ -1139,26 +1161,26 @@ function pt() {
|
|
|
1139
1161
|
function vt() {
|
|
1140
1162
|
return this.hours() % 12 || 12;
|
|
1141
1163
|
}
|
|
1142
|
-
function
|
|
1164
|
+
function Vr() {
|
|
1143
1165
|
return this.hours() || 24;
|
|
1144
1166
|
}
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1167
|
+
d("H", ["HH", 2], 0, "hour");
|
|
1168
|
+
d("h", ["hh", 2], 0, vt);
|
|
1169
|
+
d("k", ["kk", 2], 0, Vr);
|
|
1170
|
+
d("hmm", 0, 0, function() {
|
|
1149
1171
|
return "" + vt.apply(this) + A(this.minutes(), 2);
|
|
1150
1172
|
});
|
|
1151
|
-
|
|
1173
|
+
d("hmmss", 0, 0, function() {
|
|
1152
1174
|
return "" + vt.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1153
1175
|
});
|
|
1154
|
-
|
|
1176
|
+
d("Hmm", 0, 0, function() {
|
|
1155
1177
|
return "" + this.hours() + A(this.minutes(), 2);
|
|
1156
1178
|
});
|
|
1157
|
-
|
|
1179
|
+
d("Hmmss", 0, 0, function() {
|
|
1158
1180
|
return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1159
1181
|
});
|
|
1160
1182
|
function en(e, t) {
|
|
1161
|
-
|
|
1183
|
+
d(e, 0, 0, function() {
|
|
1162
1184
|
return this.localeData().meridiem(
|
|
1163
1185
|
this.hours(),
|
|
1164
1186
|
this.minutes(),
|
|
@@ -1171,18 +1193,18 @@ en("A", !1);
|
|
|
1171
1193
|
function tn(e, t) {
|
|
1172
1194
|
return t._meridiemParse;
|
|
1173
1195
|
}
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1196
|
+
c("a", tn);
|
|
1197
|
+
c("A", tn);
|
|
1198
|
+
c("H", M, mt);
|
|
1199
|
+
c("h", M, fe);
|
|
1200
|
+
c("k", M, fe);
|
|
1201
|
+
c("HH", M, x);
|
|
1202
|
+
c("hh", M, x);
|
|
1203
|
+
c("kk", M, x);
|
|
1204
|
+
c("hmm", Gt);
|
|
1205
|
+
c("hmmss", Vt);
|
|
1206
|
+
c("Hmm", Gt);
|
|
1207
|
+
c("Hmmss", Vt);
|
|
1186
1208
|
v(["H", "HH"], D);
|
|
1187
1209
|
v(["k", "kk"], function(e, t, n) {
|
|
1188
1210
|
var r = _(e);
|
|
@@ -1210,29 +1232,29 @@ v("Hmmss", function(e, t, n) {
|
|
|
1210
1232
|
var r = e.length - 4, a = e.length - 2;
|
|
1211
1233
|
t[D] = _(e.substr(0, r)), t[P] = _(e.substr(r, 2)), t[z] = _(e.substr(a));
|
|
1212
1234
|
});
|
|
1213
|
-
function
|
|
1235
|
+
function qr(e) {
|
|
1214
1236
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1215
1237
|
}
|
|
1216
|
-
var
|
|
1217
|
-
function
|
|
1238
|
+
var zr = /[ap]\.?m?\.?/i, Zr = _e("Hours", !0);
|
|
1239
|
+
function $r(e, t, n) {
|
|
1218
1240
|
return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM";
|
|
1219
1241
|
}
|
|
1220
1242
|
var nn = {
|
|
1221
|
-
calendar:
|
|
1222
|
-
longDateFormat:
|
|
1223
|
-
invalidDate:
|
|
1224
|
-
ordinal:
|
|
1225
|
-
dayOfMonthOrdinalParse:
|
|
1226
|
-
relativeTime:
|
|
1227
|
-
months:
|
|
1243
|
+
calendar: Wn,
|
|
1244
|
+
longDateFormat: Un,
|
|
1245
|
+
invalidDate: jn,
|
|
1246
|
+
ordinal: Vn,
|
|
1247
|
+
dayOfMonthOrdinalParse: qn,
|
|
1248
|
+
relativeTime: Zn,
|
|
1249
|
+
months: lr,
|
|
1228
1250
|
monthsShort: Zt,
|
|
1229
|
-
week:
|
|
1230
|
-
weekdays:
|
|
1231
|
-
weekdaysMin:
|
|
1251
|
+
week: Mr,
|
|
1252
|
+
weekdays: Tr,
|
|
1253
|
+
weekdaysMin: xr,
|
|
1232
1254
|
weekdaysShort: Kt,
|
|
1233
|
-
meridiemParse:
|
|
1255
|
+
meridiemParse: zr
|
|
1234
1256
|
}, k = {}, me = {}, Me;
|
|
1235
|
-
function
|
|
1257
|
+
function Br(e, t) {
|
|
1236
1258
|
var n, r = Math.min(e.length, t.length);
|
|
1237
1259
|
for (n = 0; n < r; n += 1)
|
|
1238
1260
|
if (e[n] !== t[n])
|
|
@@ -1242,12 +1264,12 @@ function $r(e, t) {
|
|
|
1242
1264
|
function Rt(e) {
|
|
1243
1265
|
return e && e.toLowerCase().replace("_", "-");
|
|
1244
1266
|
}
|
|
1245
|
-
function
|
|
1267
|
+
function Jr(e) {
|
|
1246
1268
|
for (var t = 0, n, r, a, s; t < e.length; ) {
|
|
1247
1269
|
for (s = Rt(e[t]).split("-"), n = s.length, r = Rt(e[t + 1]), r = r ? r.split("-") : null; n > 0; ) {
|
|
1248
1270
|
if (a = Ge(s.slice(0, n).join("-")), a)
|
|
1249
1271
|
return a;
|
|
1250
|
-
if (r && r.length >= n &&
|
|
1272
|
+
if (r && r.length >= n && Br(s, r) >= n - 1)
|
|
1251
1273
|
break;
|
|
1252
1274
|
n--;
|
|
1253
1275
|
}
|
|
@@ -1255,12 +1277,12 @@ function Br(e) {
|
|
|
1255
1277
|
}
|
|
1256
1278
|
return Me;
|
|
1257
1279
|
}
|
|
1258
|
-
function
|
|
1280
|
+
function Qr(e) {
|
|
1259
1281
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1260
1282
|
}
|
|
1261
1283
|
function Ge(e) {
|
|
1262
1284
|
var t = null, n;
|
|
1263
|
-
if (k[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
1285
|
+
if (k[e] === void 0 && typeof module < "u" && module && module.exports && Qr(e))
|
|
1264
1286
|
try {
|
|
1265
1287
|
t = Me._abbr, n = require, n("./locale/" + e), te(t);
|
|
1266
1288
|
} catch {
|
|
@@ -1292,16 +1314,16 @@ function wt(e, t) {
|
|
|
1292
1314
|
name: e,
|
|
1293
1315
|
config: t
|
|
1294
1316
|
}), null;
|
|
1295
|
-
return k[e] = new
|
|
1317
|
+
return k[e] = new ct(tt(r, t)), me[e] && me[e].forEach(function(a) {
|
|
1296
1318
|
wt(a.name, a.config);
|
|
1297
1319
|
}), te(e), k[e];
|
|
1298
1320
|
} else
|
|
1299
1321
|
return delete k[e], null;
|
|
1300
1322
|
}
|
|
1301
|
-
function
|
|
1323
|
+
function Xr(e, t) {
|
|
1302
1324
|
if (t != null) {
|
|
1303
1325
|
var n, r, a = nn;
|
|
1304
|
-
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
|
|
1326
|
+
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 ct(t), n.parentLocale = k[e], k[e] = n), te(e);
|
|
1305
1327
|
} else
|
|
1306
1328
|
k[e] != null && (k[e].parentLocale != null ? (k[e] = k[e].parentLocale, e === te() && te(e)) : k[e] != null && delete k[e]);
|
|
1307
1329
|
return k[e];
|
|
@@ -1315,16 +1337,16 @@ function J(e) {
|
|
|
1315
1337
|
return t;
|
|
1316
1338
|
e = [e];
|
|
1317
1339
|
}
|
|
1318
|
-
return
|
|
1340
|
+
return Jr(e);
|
|
1319
1341
|
}
|
|
1320
|
-
function
|
|
1342
|
+
function Kr() {
|
|
1321
1343
|
return nt(k);
|
|
1322
1344
|
}
|
|
1323
1345
|
function Mt(e) {
|
|
1324
1346
|
var t, n = e._a;
|
|
1325
|
-
return n && f(e).overflow === -2 && (t = n[q] < 0 || n[q] > 11 ? q : n[H] < 1 || n[H] > yt(n[
|
|
1347
|
+
return n && f(e).overflow === -2 && (t = n[q] < 0 || n[q] > 11 ? q : n[H] < 1 || n[H] > yt(n[b], n[q]) ? H : n[D] < 0 || n[D] > 24 || n[D] === 24 && (n[P] !== 0 || n[z] !== 0 || n[re] !== 0) ? D : n[P] < 0 || n[P] > 59 ? P : n[z] < 0 || n[z] > 59 ? z : n[re] < 0 || n[re] > 999 ? re : -1, f(e)._overflowDayOfYear && (t < b || t > H) && (t = H), f(e)._overflowWeeks && t === -1 && (t = rr), f(e)._overflowWeekday && t === -1 && (t = ar), f(e).overflow = t), e;
|
|
1326
1348
|
}
|
|
1327
|
-
var
|
|
1349
|
+
var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ta = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, na = /Z|[+-]\d\d(?::?\d\d)?/, Oe = [
|
|
1328
1350
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1329
1351
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1330
1352
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1348,7 +1370,7 @@ var Kr = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1348
1370
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1349
1371
|
["HHmm", /\d\d\d\d/],
|
|
1350
1372
|
["HH", /\d\d/]
|
|
1351
|
-
],
|
|
1373
|
+
], ra = /^\/?Date\((-?\d+)/i, aa = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, sa = {
|
|
1352
1374
|
UT: 0,
|
|
1353
1375
|
GMT: 0,
|
|
1354
1376
|
EDT: -4 * 60,
|
|
@@ -1361,7 +1383,7 @@ var Kr = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1361
1383
|
PST: -8 * 60
|
|
1362
1384
|
};
|
|
1363
1385
|
function rn(e) {
|
|
1364
|
-
var t, n, r = e._i, a =
|
|
1386
|
+
var t, n, r = e._i, a = ea.exec(r) || ta.exec(r), s, i, l, h, m = Oe.length, S = Qe.length;
|
|
1365
1387
|
if (a) {
|
|
1366
1388
|
for (f(e).iso = !0, t = 0, n = m; t < n; t++)
|
|
1367
1389
|
if (Oe[t][1].exec(a[1])) {
|
|
@@ -1373,7 +1395,7 @@ function rn(e) {
|
|
|
1373
1395
|
return;
|
|
1374
1396
|
}
|
|
1375
1397
|
if (a[3]) {
|
|
1376
|
-
for (t = 0, n =
|
|
1398
|
+
for (t = 0, n = S; t < n; t++)
|
|
1377
1399
|
if (Qe[t][1].exec(a[3])) {
|
|
1378
1400
|
l = (a[2] || " ") + Qe[t][0];
|
|
1379
1401
|
break;
|
|
@@ -1388,7 +1410,7 @@ function rn(e) {
|
|
|
1388
1410
|
return;
|
|
1389
1411
|
}
|
|
1390
1412
|
if (a[4])
|
|
1391
|
-
if (
|
|
1413
|
+
if (na.exec(a[4]))
|
|
1392
1414
|
h = "Z";
|
|
1393
1415
|
else {
|
|
1394
1416
|
e._isValid = !1;
|
|
@@ -1398,9 +1420,9 @@ function rn(e) {
|
|
|
1398
1420
|
} else
|
|
1399
1421
|
e._isValid = !1;
|
|
1400
1422
|
}
|
|
1401
|
-
function
|
|
1423
|
+
function ia(e, t, n, r, a, s) {
|
|
1402
1424
|
var i = [
|
|
1403
|
-
|
|
1425
|
+
oa(e),
|
|
1404
1426
|
Zt.indexOf(t),
|
|
1405
1427
|
parseInt(n, 10),
|
|
1406
1428
|
parseInt(r, 10),
|
|
@@ -1408,14 +1430,14 @@ function sa(e, t, n, r, a, s) {
|
|
|
1408
1430
|
];
|
|
1409
1431
|
return s && i.push(parseInt(s, 10)), i;
|
|
1410
1432
|
}
|
|
1411
|
-
function
|
|
1433
|
+
function oa(e) {
|
|
1412
1434
|
var t = parseInt(e, 10);
|
|
1413
1435
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1414
1436
|
}
|
|
1415
|
-
function
|
|
1437
|
+
function ua(e) {
|
|
1416
1438
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1417
1439
|
}
|
|
1418
|
-
function
|
|
1440
|
+
function la(e, t, n) {
|
|
1419
1441
|
if (e) {
|
|
1420
1442
|
var r = Kt.indexOf(e), a = new Date(
|
|
1421
1443
|
t[0],
|
|
@@ -1427,32 +1449,32 @@ function ua(e, t, n) {
|
|
|
1427
1449
|
}
|
|
1428
1450
|
return !0;
|
|
1429
1451
|
}
|
|
1430
|
-
function
|
|
1452
|
+
function ca(e, t, n) {
|
|
1431
1453
|
if (e)
|
|
1432
|
-
return
|
|
1454
|
+
return sa[e];
|
|
1433
1455
|
if (t)
|
|
1434
1456
|
return 0;
|
|
1435
1457
|
var r = parseInt(n, 10), a = r % 100, s = (r - a) / 100;
|
|
1436
1458
|
return s * 60 + a;
|
|
1437
1459
|
}
|
|
1438
1460
|
function an(e) {
|
|
1439
|
-
var t =
|
|
1461
|
+
var t = aa.exec(ua(e._i)), n;
|
|
1440
1462
|
if (t) {
|
|
1441
|
-
if (n =
|
|
1463
|
+
if (n = ia(
|
|
1442
1464
|
t[4],
|
|
1443
1465
|
t[3],
|
|
1444
1466
|
t[2],
|
|
1445
1467
|
t[5],
|
|
1446
1468
|
t[6],
|
|
1447
1469
|
t[7]
|
|
1448
|
-
), !
|
|
1470
|
+
), !la(t[1], n, e))
|
|
1449
1471
|
return;
|
|
1450
|
-
e._a = n, e._tzm =
|
|
1472
|
+
e._a = n, e._tzm = ca(t[8], t[9], t[10]), e._d = ve.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), f(e).rfc2822 = !0;
|
|
1451
1473
|
} else
|
|
1452
1474
|
e._isValid = !1;
|
|
1453
1475
|
}
|
|
1454
1476
|
function da(e) {
|
|
1455
|
-
var t =
|
|
1477
|
+
var t = ra.exec(e._i);
|
|
1456
1478
|
if (t !== null) {
|
|
1457
1479
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1458
1480
|
return;
|
|
@@ -1476,7 +1498,7 @@ u.createFromInputFallback = N(
|
|
|
1476
1498
|
function oe(e, t, n) {
|
|
1477
1499
|
return e ?? t ?? n;
|
|
1478
1500
|
}
|
|
1479
|
-
function
|
|
1501
|
+
function ha(e) {
|
|
1480
1502
|
var t = new Date(u.now());
|
|
1481
1503
|
return e._useUTC ? [
|
|
1482
1504
|
t.getUTCFullYear(),
|
|
@@ -1487,23 +1509,23 @@ function ca(e) {
|
|
|
1487
1509
|
function kt(e) {
|
|
1488
1510
|
var t, n, r = [], a, s, i;
|
|
1489
1511
|
if (!e._d) {
|
|
1490
|
-
for (a =
|
|
1512
|
+
for (a = ha(e), e._w && e._a[H] == null && e._a[q] == null && fa(e), e._dayOfYear != null && (i = oe(e._a[b], a[b]), (e._dayOfYear > ge(i) || e._dayOfYear === 0) && (f(e)._overflowDayOfYear = !0), n = ve(i, 0, e._dayOfYear), e._a[q] = n.getUTCMonth(), e._a[H] = n.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1491
1513
|
e._a[t] = r[t] = a[t];
|
|
1492
1514
|
for (; t < 7; t++)
|
|
1493
1515
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1494
|
-
e._a[D] === 24 && e._a[P] === 0 && e._a[z] === 0 && e._a[re] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? ve :
|
|
1516
|
+
e._a[D] === 24 && e._a[P] === 0 && e._a[z] === 0 && e._a[re] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? ve : vr).apply(
|
|
1495
1517
|
null,
|
|
1496
1518
|
r
|
|
1497
1519
|
), s = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[D] = 24), e._w && typeof e._w.d < "u" && e._w.d !== s && (f(e).weekdayMismatch = !0);
|
|
1498
1520
|
}
|
|
1499
1521
|
}
|
|
1500
|
-
function
|
|
1522
|
+
function fa(e) {
|
|
1501
1523
|
var t, n, r, a, s, i, l, h, m;
|
|
1502
1524
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (s = 1, i = 4, n = oe(
|
|
1503
1525
|
t.GG,
|
|
1504
|
-
e._a[
|
|
1526
|
+
e._a[b],
|
|
1505
1527
|
we(w(), 1, 4).year
|
|
1506
|
-
), 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 = we(w(), s, i), n = oe(t.gg, e._a[
|
|
1528
|
+
), 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 = we(w(), s, i), n = oe(t.gg, e._a[b], 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 > $(n, s, i) ? f(e)._overflowWeeks = !0 : h != null ? f(e)._overflowWeekday = !0 : (l = Xt(n, r, a, s, i), e._a[b] = l.year, e._dayOfYear = l.dayOfYear);
|
|
1507
1529
|
}
|
|
1508
1530
|
u.ISO_8601 = function() {
|
|
1509
1531
|
};
|
|
@@ -1519,22 +1541,22 @@ function Yt(e) {
|
|
|
1519
1541
|
return;
|
|
1520
1542
|
}
|
|
1521
1543
|
e._a = [], f(e).empty = !0;
|
|
1522
|
-
var t = "" + e._i, n, r, a, s, i, l = t.length, h = 0, m,
|
|
1523
|
-
for (a = Ut(e._f, e._locale).match(
|
|
1524
|
-
s = a[n], r = (t.match(
|
|
1544
|
+
var t = "" + e._i, n, r, a, s, i, l = t.length, h = 0, m, S;
|
|
1545
|
+
for (a = Ut(e._f, e._locale).match(dt) || [], S = a.length, n = 0; n < S; n++)
|
|
1546
|
+
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(
|
|
1525
1547
|
t.indexOf(r) + r.length
|
|
1526
|
-
), h += r.length), le[s] ? (r ? f(e).empty = !1 : f(e).unusedTokens.push(s),
|
|
1527
|
-
f(e).charsLeftOver = l - h, t.length > 0 && f(e).unusedInput.push(t), e._a[D] <= 12 && f(e).bigHour === !0 && e._a[D] > 0 && (f(e).bigHour = void 0), f(e).parsedDateParts = e._a.slice(0), f(e).meridiem = e._meridiem, e._a[D] =
|
|
1548
|
+
), 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);
|
|
1549
|
+
f(e).charsLeftOver = l - h, t.length > 0 && f(e).unusedInput.push(t), e._a[D] <= 12 && f(e).bigHour === !0 && e._a[D] > 0 && (f(e).bigHour = void 0), f(e).parsedDateParts = e._a.slice(0), f(e).meridiem = e._meridiem, e._a[D] = _a(
|
|
1528
1550
|
e._locale,
|
|
1529
1551
|
e._a[D],
|
|
1530
1552
|
e._meridiem
|
|
1531
|
-
), m = f(e).era, m !== null && (e._a[
|
|
1553
|
+
), m = f(e).era, m !== null && (e._a[b] = e._locale.erasConvertYear(m, e._a[b])), kt(e), Mt(e);
|
|
1532
1554
|
}
|
|
1533
|
-
function
|
|
1555
|
+
function _a(e, t, n) {
|
|
1534
1556
|
var r;
|
|
1535
1557
|
return n == null ? t : e.meridiemHour != null ? e.meridiemHour(t, n) : (e.isPM != null && (r = e.isPM(n), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
|
|
1536
1558
|
}
|
|
1537
|
-
function
|
|
1559
|
+
function ma(e) {
|
|
1538
1560
|
var t, n, r, a, s, i, l = !1, h = e._f.length;
|
|
1539
1561
|
if (h === 0) {
|
|
1540
1562
|
f(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
@@ -1544,7 +1566,7 @@ function _a(e) {
|
|
|
1544
1566
|
s = 0, i = !1, t = lt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], Yt(t), ut(t) && (i = !0), s += f(t).charsLeftOver, s += f(t).unusedTokens.length * 10, f(t).score = s, l ? s < r && (r = s, n = t) : (r == null || s < r || i) && (r = s, n = t, i && (l = !0));
|
|
1545
1567
|
K(e, n || t);
|
|
1546
1568
|
}
|
|
1547
|
-
function
|
|
1569
|
+
function ya(e) {
|
|
1548
1570
|
if (!e._d) {
|
|
1549
1571
|
var t = ht(e._i), n = t.day === void 0 ? t.date : t.day;
|
|
1550
1572
|
e._a = Ht(
|
|
@@ -1555,34 +1577,34 @@ function ma(e) {
|
|
|
1555
1577
|
), kt(e);
|
|
1556
1578
|
}
|
|
1557
1579
|
}
|
|
1558
|
-
function
|
|
1580
|
+
function ga(e) {
|
|
1559
1581
|
var t = new Ye(Mt(sn(e)));
|
|
1560
1582
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1561
1583
|
}
|
|
1562
1584
|
function sn(e) {
|
|
1563
1585
|
var t = e._i, n = e._f;
|
|
1564
|
-
return e._locale = e._locale || J(e._l), t === null || n === void 0 && t === "" ? We({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), L(t) ? new Ye(Mt(t)) : (ke(t) ? e._d = t : E(n) ?
|
|
1586
|
+
return e._locale = e._locale || J(e._l), t === null || n === void 0 && t === "" ? We({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), L(t) ? new Ye(Mt(t)) : (ke(t) ? e._d = t : E(n) ? ma(e) : n ? Yt(e) : pa(e), ut(e) || (e._d = null), e));
|
|
1565
1587
|
}
|
|
1566
|
-
function
|
|
1588
|
+
function pa(e) {
|
|
1567
1589
|
var t = e._i;
|
|
1568
1590
|
O(t) ? e._d = new Date(u.now()) : ke(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? da(e) : E(t) ? (e._a = Ht(t.slice(0), function(n) {
|
|
1569
1591
|
return parseInt(n, 10);
|
|
1570
|
-
}), kt(e)) : ae(t) ?
|
|
1592
|
+
}), kt(e)) : ae(t) ? ya(e) : B(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1571
1593
|
}
|
|
1572
1594
|
function on(e, t, n, r, a) {
|
|
1573
1595
|
var s = {};
|
|
1574
|
-
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,
|
|
1596
|
+
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);
|
|
1575
1597
|
}
|
|
1576
1598
|
function w(e, t, n, r) {
|
|
1577
1599
|
return on(e, t, n, r, !1);
|
|
1578
1600
|
}
|
|
1579
|
-
var
|
|
1601
|
+
var va = N(
|
|
1580
1602
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1581
1603
|
function() {
|
|
1582
1604
|
var e = w.apply(null, arguments);
|
|
1583
1605
|
return this.isValid() && e.isValid() ? e < this ? this : e : We();
|
|
1584
1606
|
}
|
|
1585
|
-
),
|
|
1607
|
+
), wa = N(
|
|
1586
1608
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1587
1609
|
function() {
|
|
1588
1610
|
var e = w.apply(null, arguments);
|
|
@@ -1597,15 +1619,15 @@ function un(e, t) {
|
|
|
1597
1619
|
(!t[r].isValid() || t[r][e](n)) && (n = t[r]);
|
|
1598
1620
|
return n;
|
|
1599
1621
|
}
|
|
1600
|
-
function
|
|
1622
|
+
function Ma() {
|
|
1601
1623
|
var e = [].slice.call(arguments, 0);
|
|
1602
1624
|
return un("isBefore", e);
|
|
1603
1625
|
}
|
|
1604
|
-
function
|
|
1626
|
+
function ka() {
|
|
1605
1627
|
var e = [].slice.call(arguments, 0);
|
|
1606
1628
|
return un("isAfter", e);
|
|
1607
1629
|
}
|
|
1608
|
-
var
|
|
1630
|
+
var Ya = function() {
|
|
1609
1631
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1610
1632
|
}, ye = [
|
|
1611
1633
|
"year",
|
|
@@ -1618,7 +1640,7 @@ var ka = function() {
|
|
|
1618
1640
|
"second",
|
|
1619
1641
|
"millisecond"
|
|
1620
1642
|
];
|
|
1621
|
-
function
|
|
1643
|
+
function Da(e) {
|
|
1622
1644
|
var t, n = !1, r, a = ye.length;
|
|
1623
1645
|
for (t in e)
|
|
1624
1646
|
if (g(e, t) && !(Y.call(ye, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
@@ -1631,15 +1653,15 @@ function Ya(e) {
|
|
|
1631
1653
|
}
|
|
1632
1654
|
return !0;
|
|
1633
1655
|
}
|
|
1634
|
-
function
|
|
1656
|
+
function ba() {
|
|
1635
1657
|
return this._isValid;
|
|
1636
1658
|
}
|
|
1637
1659
|
function Sa() {
|
|
1638
1660
|
return W(NaN);
|
|
1639
1661
|
}
|
|
1640
1662
|
function Ve(e) {
|
|
1641
|
-
var t = ht(e), n = t.year || 0, r = t.quarter || 0, a = t.month || 0, s = t.week || t.isoWeek || 0, i = t.day || 0, l = t.hour || 0, h = t.minute || 0, m = t.second || 0,
|
|
1642
|
-
this._isValid =
|
|
1663
|
+
var t = ht(e), n = t.year || 0, r = t.quarter || 0, a = t.month || 0, s = t.week || t.isoWeek || 0, i = t.day || 0, l = t.hour || 0, h = t.minute || 0, m = t.second || 0, S = t.millisecond || 0;
|
|
1664
|
+
this._isValid = Da(t), this._milliseconds = +S + m * 1e3 + // 1000
|
|
1643
1665
|
h * 6e4 + // 1000 * 60
|
|
1644
1666
|
l * 1e3 * 60 * 60, this._days = +i + s * 7, this._months = +a + r * 3 + n * 12, this._data = {}, this._locale = J(), this._bubble();
|
|
1645
1667
|
}
|
|
@@ -1649,31 +1671,31 @@ function xe(e) {
|
|
|
1649
1671
|
function at(e) {
|
|
1650
1672
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1651
1673
|
}
|
|
1652
|
-
function
|
|
1674
|
+
function Oa(e, t, n) {
|
|
1653
1675
|
var r = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), s = 0, i;
|
|
1654
1676
|
for (i = 0; i < r; i++)
|
|
1655
1677
|
_(e[i]) !== _(t[i]) && s++;
|
|
1656
1678
|
return s + a;
|
|
1657
1679
|
}
|
|
1658
1680
|
function ln(e, t) {
|
|
1659
|
-
|
|
1681
|
+
d(e, 0, 0, function() {
|
|
1660
1682
|
var n = this.utcOffset(), r = "+";
|
|
1661
1683
|
return n < 0 && (n = -n, r = "-"), r + A(~~(n / 60), 2) + t + A(~~n % 60, 2);
|
|
1662
1684
|
});
|
|
1663
1685
|
}
|
|
1664
1686
|
ln("Z", ":");
|
|
1665
1687
|
ln("ZZ", "");
|
|
1666
|
-
|
|
1667
|
-
|
|
1688
|
+
c("Z", Ie);
|
|
1689
|
+
c("ZZ", Ie);
|
|
1668
1690
|
v(["Z", "ZZ"], function(e, t, n) {
|
|
1669
1691
|
n._useUTC = !0, n._tzm = Dt(Ie, e);
|
|
1670
1692
|
});
|
|
1671
|
-
var
|
|
1693
|
+
var Ta = /([\+\-]|\d\d)/gi;
|
|
1672
1694
|
function Dt(e, t) {
|
|
1673
1695
|
var n = (t || "").match(e), r, a, s;
|
|
1674
|
-
return n === null ? null : (r = n[n.length - 1] || [], a = (r + "").match(
|
|
1696
|
+
return n === null ? null : (r = n[n.length - 1] || [], a = (r + "").match(Ta) || ["-", 0, 0], s = +(a[1] * 60) + _(a[2]), s === 0 ? 0 : a[0] === "+" ? s : -s);
|
|
1675
1697
|
}
|
|
1676
|
-
function
|
|
1698
|
+
function bt(e, t) {
|
|
1677
1699
|
var n, r;
|
|
1678
1700
|
return t._isUTC ? (n = t.clone(), r = (L(e) || ke(e) ? e.valueOf() : w(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), u.updateOffset(n, !1), n) : w(e).local();
|
|
1679
1701
|
}
|
|
@@ -1682,7 +1704,7 @@ function st(e) {
|
|
|
1682
1704
|
}
|
|
1683
1705
|
u.updateOffset = function() {
|
|
1684
1706
|
};
|
|
1685
|
-
function
|
|
1707
|
+
function xa(e, t, n) {
|
|
1686
1708
|
var r = this._offset || 0, a;
|
|
1687
1709
|
if (!this.isValid())
|
|
1688
1710
|
return e != null ? this : NaN;
|
|
@@ -1700,53 +1722,53 @@ function Ta(e, t, n) {
|
|
|
1700
1722
|
} else
|
|
1701
1723
|
return this._isUTC ? r : st(this);
|
|
1702
1724
|
}
|
|
1703
|
-
function
|
|
1725
|
+
function Ca(e, t) {
|
|
1704
1726
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1705
1727
|
}
|
|
1706
|
-
function
|
|
1728
|
+
function Na(e) {
|
|
1707
1729
|
return this.utcOffset(0, e);
|
|
1708
1730
|
}
|
|
1709
|
-
function
|
|
1731
|
+
function Ra(e) {
|
|
1710
1732
|
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(st(this), "m")), this;
|
|
1711
1733
|
}
|
|
1712
|
-
function
|
|
1734
|
+
function Pa() {
|
|
1713
1735
|
if (this._tzm != null)
|
|
1714
1736
|
this.utcOffset(this._tzm, !1, !0);
|
|
1715
1737
|
else if (typeof this._i == "string") {
|
|
1716
|
-
var e = Dt(
|
|
1738
|
+
var e = Dt(Xn, this._i);
|
|
1717
1739
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1718
1740
|
}
|
|
1719
1741
|
return this;
|
|
1720
1742
|
}
|
|
1721
|
-
function
|
|
1743
|
+
function Ea(e) {
|
|
1722
1744
|
return this.isValid() ? (e = e ? w(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1723
1745
|
}
|
|
1724
|
-
function
|
|
1746
|
+
function La() {
|
|
1725
1747
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1726
1748
|
}
|
|
1727
|
-
function
|
|
1749
|
+
function Wa() {
|
|
1728
1750
|
if (!O(this._isDSTShifted))
|
|
1729
1751
|
return this._isDSTShifted;
|
|
1730
1752
|
var e = {}, t;
|
|
1731
|
-
return lt(e, this), e = sn(e), e._a ? (t = e._isUTC ? F(e._a) : w(e._a), this._isDSTShifted = this.isValid() &&
|
|
1753
|
+
return lt(e, this), e = sn(e), e._a ? (t = e._isUTC ? F(e._a) : w(e._a), this._isDSTShifted = this.isValid() && Oa(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1732
1754
|
}
|
|
1733
|
-
function
|
|
1755
|
+
function Ha() {
|
|
1734
1756
|
return this.isValid() ? !this._isUTC : !1;
|
|
1735
1757
|
}
|
|
1736
|
-
function
|
|
1758
|
+
function Aa() {
|
|
1737
1759
|
return this.isValid() ? this._isUTC : !1;
|
|
1738
1760
|
}
|
|
1739
|
-
function
|
|
1761
|
+
function cn() {
|
|
1740
1762
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1741
1763
|
}
|
|
1742
|
-
var
|
|
1764
|
+
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)?)?$/;
|
|
1743
1765
|
function W(e, t) {
|
|
1744
1766
|
var n = e, r = null, a, s, i;
|
|
1745
1767
|
return xe(e) ? n = {
|
|
1746
1768
|
ms: e._milliseconds,
|
|
1747
1769
|
d: e._days,
|
|
1748
1770
|
M: e._months
|
|
1749
|
-
} : B(e) || !isNaN(+e) ? (n = {}, t ? n[t] = +e : n.milliseconds = +e) : (r =
|
|
1771
|
+
} : B(e) || !isNaN(+e) ? (n = {}, t ? n[t] = +e : n.milliseconds = +e) : (r = Fa.exec(e)) ? (a = r[1] === "-" ? -1 : 1, n = {
|
|
1750
1772
|
y: 0,
|
|
1751
1773
|
d: _(r[H]) * a,
|
|
1752
1774
|
h: _(r[D]) * a,
|
|
@@ -1754,7 +1776,7 @@ function W(e, t) {
|
|
|
1754
1776
|
s: _(r[z]) * a,
|
|
1755
1777
|
ms: _(at(r[re] * 1e3)) * a
|
|
1756
1778
|
// the millisecond decimal point is included in the match
|
|
1757
|
-
}) : (r =
|
|
1779
|
+
}) : (r = Ua.exec(e)) ? (a = r[1] === "-" ? -1 : 1, n = {
|
|
1758
1780
|
y: ne(r[2], a),
|
|
1759
1781
|
M: ne(r[3], a),
|
|
1760
1782
|
w: ne(r[4], a),
|
|
@@ -1762,7 +1784,7 @@ function W(e, t) {
|
|
|
1762
1784
|
h: ne(r[6], a),
|
|
1763
1785
|
m: ne(r[7], a),
|
|
1764
1786
|
s: ne(r[8], a)
|
|
1765
|
-
}) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (i =
|
|
1787
|
+
}) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (i = Ia(
|
|
1766
1788
|
w(n.from),
|
|
1767
1789
|
w(n.to)
|
|
1768
1790
|
), 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;
|
|
@@ -1777,11 +1799,11 @@ function Pt(e, t) {
|
|
|
1777
1799
|
var n = {};
|
|
1778
1800
|
return n.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n;
|
|
1779
1801
|
}
|
|
1780
|
-
function
|
|
1802
|
+
function Ia(e, t) {
|
|
1781
1803
|
var n;
|
|
1782
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1804
|
+
return e.isValid() && t.isValid() ? (t = bt(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 };
|
|
1783
1805
|
}
|
|
1784
|
-
function
|
|
1806
|
+
function dn(e, t) {
|
|
1785
1807
|
return function(n, r) {
|
|
1786
1808
|
var a, s;
|
|
1787
1809
|
return r !== null && !isNaN(+r) && (Ft(
|
|
@@ -1794,14 +1816,14 @@ function hn(e, t, n, r) {
|
|
|
1794
1816
|
var a = t._milliseconds, s = at(t._days), i = at(t._months);
|
|
1795
1817
|
e.isValid() && (r = r ?? !0, i && Bt(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));
|
|
1796
1818
|
}
|
|
1797
|
-
var
|
|
1819
|
+
var ja = dn(1, "add"), Ga = dn(-1, "subtract");
|
|
1798
1820
|
function fn(e) {
|
|
1799
1821
|
return typeof e == "string" || e instanceof String;
|
|
1800
1822
|
}
|
|
1801
|
-
function Ga(e) {
|
|
1802
|
-
return L(e) || ke(e) || fn(e) || B(e) || qa(e) || Va(e) || e === null || e === void 0;
|
|
1803
|
-
}
|
|
1804
1823
|
function Va(e) {
|
|
1824
|
+
return L(e) || ke(e) || fn(e) || B(e) || za(e) || qa(e) || e === null || e === void 0;
|
|
1825
|
+
}
|
|
1826
|
+
function qa(e) {
|
|
1805
1827
|
var t = ae(e) && !ot(e), n = !1, r = [
|
|
1806
1828
|
"years",
|
|
1807
1829
|
"year",
|
|
@@ -1832,13 +1854,13 @@ function Va(e) {
|
|
|
1832
1854
|
s = r[a], n = n || g(e, s);
|
|
1833
1855
|
return t && n;
|
|
1834
1856
|
}
|
|
1835
|
-
function
|
|
1857
|
+
function za(e) {
|
|
1836
1858
|
var t = E(e), n = !1;
|
|
1837
1859
|
return t && (n = e.filter(function(r) {
|
|
1838
1860
|
return !B(r) && fn(e);
|
|
1839
1861
|
}).length === 0), t && n;
|
|
1840
1862
|
}
|
|
1841
|
-
function
|
|
1863
|
+
function Za(e) {
|
|
1842
1864
|
var t = ae(e) && !ot(e), n = !1, r = [
|
|
1843
1865
|
"sameDay",
|
|
1844
1866
|
"nextDay",
|
|
@@ -1851,47 +1873,47 @@ function za(e) {
|
|
|
1851
1873
|
s = r[a], n = n || g(e, s);
|
|
1852
1874
|
return t && n;
|
|
1853
1875
|
}
|
|
1854
|
-
function
|
|
1876
|
+
function $a(e, t) {
|
|
1855
1877
|
var n = e.diff(t, "days", !0);
|
|
1856
1878
|
return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse";
|
|
1857
1879
|
}
|
|
1858
|
-
function
|
|
1859
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1860
|
-
var n = e || w(), r =
|
|
1880
|
+
function Ba(e, t) {
|
|
1881
|
+
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));
|
|
1882
|
+
var n = e || w(), r = bt(n, this).startOf("day"), a = u.calendarFormat(this, r) || "sameElse", s = t && (U(t[a]) ? t[a].call(this, n) : t[a]);
|
|
1861
1883
|
return this.format(
|
|
1862
1884
|
s || this.localeData().calendar(a, this, w(n))
|
|
1863
1885
|
);
|
|
1864
1886
|
}
|
|
1865
|
-
function
|
|
1887
|
+
function Ja() {
|
|
1866
1888
|
return new Ye(this);
|
|
1867
1889
|
}
|
|
1868
|
-
function
|
|
1890
|
+
function Qa(e, t) {
|
|
1869
1891
|
var n = L(e) ? e : w(e);
|
|
1870
1892
|
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1871
1893
|
}
|
|
1872
|
-
function
|
|
1894
|
+
function Xa(e, t) {
|
|
1873
1895
|
var n = L(e) ? e : w(e);
|
|
1874
1896
|
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) : !1;
|
|
1875
1897
|
}
|
|
1876
|
-
function
|
|
1898
|
+
function Ka(e, t, n, r) {
|
|
1877
1899
|
var a = L(e) ? e : w(e), s = L(t) ? t : w(t);
|
|
1878
1900
|
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;
|
|
1879
1901
|
}
|
|
1880
|
-
function
|
|
1902
|
+
function es(e, t) {
|
|
1881
1903
|
var n = L(e) ? e : w(e), r;
|
|
1882
1904
|
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;
|
|
1883
1905
|
}
|
|
1884
|
-
function
|
|
1906
|
+
function ts(e, t) {
|
|
1885
1907
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1886
1908
|
}
|
|
1887
|
-
function
|
|
1909
|
+
function ns(e, t) {
|
|
1888
1910
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1889
1911
|
}
|
|
1890
|
-
function
|
|
1912
|
+
function rs(e, t, n) {
|
|
1891
1913
|
var r, a, s;
|
|
1892
1914
|
if (!this.isValid())
|
|
1893
1915
|
return NaN;
|
|
1894
|
-
if (r =
|
|
1916
|
+
if (r = bt(e, this), !r.isValid())
|
|
1895
1917
|
return NaN;
|
|
1896
1918
|
switch (a = (r.utcOffset() - this.utcOffset()) * 6e4, t = R(t), t) {
|
|
1897
1919
|
case "year":
|
|
@@ -1931,10 +1953,10 @@ function Ce(e, t) {
|
|
|
1931
1953
|
}
|
|
1932
1954
|
u.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1933
1955
|
u.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1934
|
-
function
|
|
1956
|
+
function as() {
|
|
1935
1957
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1936
1958
|
}
|
|
1937
|
-
function
|
|
1959
|
+
function ss(e) {
|
|
1938
1960
|
if (!this.isValid())
|
|
1939
1961
|
return null;
|
|
1940
1962
|
var t = e !== !0, n = t ? this.clone().utc() : this;
|
|
@@ -1946,24 +1968,24 @@ function as(e) {
|
|
|
1946
1968
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1947
1969
|
);
|
|
1948
1970
|
}
|
|
1949
|
-
function
|
|
1971
|
+
function is() {
|
|
1950
1972
|
if (!this.isValid())
|
|
1951
1973
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1952
1974
|
var e = "moment", t = "", n, r, a, s;
|
|
1953
1975
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), n = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", s = t + '[")]', this.format(n + r + a + s);
|
|
1954
1976
|
}
|
|
1955
|
-
function
|
|
1977
|
+
function os(e) {
|
|
1956
1978
|
e || (e = this.isUtc() ? u.defaultFormatUtc : u.defaultFormat);
|
|
1957
1979
|
var t = Te(this, e);
|
|
1958
1980
|
return this.localeData().postformat(t);
|
|
1959
1981
|
}
|
|
1960
|
-
function
|
|
1982
|
+
function us(e, t) {
|
|
1961
1983
|
return this.isValid() && (L(e) && e.isValid() || w(e).isValid()) ? W({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1962
1984
|
}
|
|
1963
|
-
function
|
|
1985
|
+
function ls(e) {
|
|
1964
1986
|
return this.from(w(), e);
|
|
1965
1987
|
}
|
|
1966
|
-
function
|
|
1988
|
+
function cs(e, t) {
|
|
1967
1989
|
return this.isValid() && (L(e) && e.isValid() || w(e).isValid()) ? W({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1968
1990
|
}
|
|
1969
1991
|
function ds(e) {
|
|
@@ -1982,8 +2004,8 @@ var mn = N(
|
|
|
1982
2004
|
function yn() {
|
|
1983
2005
|
return this._locale;
|
|
1984
2006
|
}
|
|
1985
|
-
var Pe = 1e3,
|
|
1986
|
-
function
|
|
2007
|
+
var Pe = 1e3, ce = 60 * Pe, Ee = 60 * ce, gn = (365 * 400 + 97) * 24 * Ee;
|
|
2008
|
+
function de(e, t) {
|
|
1987
2009
|
return (e % t + t) % t;
|
|
1988
2010
|
}
|
|
1989
2011
|
function pn(e, t, n) {
|
|
@@ -1992,7 +2014,7 @@ function pn(e, t, n) {
|
|
|
1992
2014
|
function vn(e, t, n) {
|
|
1993
2015
|
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - gn : Date.UTC(e, t, n);
|
|
1994
2016
|
}
|
|
1995
|
-
function
|
|
2017
|
+
function hs(e) {
|
|
1996
2018
|
var t, n;
|
|
1997
2019
|
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1998
2020
|
return this;
|
|
@@ -2029,21 +2051,21 @@ function cs(e) {
|
|
|
2029
2051
|
t = n(this.year(), this.month(), this.date());
|
|
2030
2052
|
break;
|
|
2031
2053
|
case "hour":
|
|
2032
|
-
t = this._d.valueOf(), t -=
|
|
2033
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2054
|
+
t = this._d.valueOf(), t -= de(
|
|
2055
|
+
t + (this._isUTC ? 0 : this.utcOffset() * ce),
|
|
2034
2056
|
Ee
|
|
2035
2057
|
);
|
|
2036
2058
|
break;
|
|
2037
2059
|
case "minute":
|
|
2038
|
-
t = this._d.valueOf(), t -=
|
|
2060
|
+
t = this._d.valueOf(), t -= de(t, ce);
|
|
2039
2061
|
break;
|
|
2040
2062
|
case "second":
|
|
2041
|
-
t = this._d.valueOf(), t -=
|
|
2063
|
+
t = this._d.valueOf(), t -= de(t, Pe);
|
|
2042
2064
|
break;
|
|
2043
2065
|
}
|
|
2044
2066
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
2045
2067
|
}
|
|
2046
|
-
function
|
|
2068
|
+
function fs(e) {
|
|
2047
2069
|
var t, n;
|
|
2048
2070
|
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2049
2071
|
return this;
|
|
@@ -2080,30 +2102,30 @@ function hs(e) {
|
|
|
2080
2102
|
t = n(this.year(), this.month(), this.date() + 1) - 1;
|
|
2081
2103
|
break;
|
|
2082
2104
|
case "hour":
|
|
2083
|
-
t = this._d.valueOf(), t += Ee -
|
|
2084
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2105
|
+
t = this._d.valueOf(), t += Ee - de(
|
|
2106
|
+
t + (this._isUTC ? 0 : this.utcOffset() * ce),
|
|
2085
2107
|
Ee
|
|
2086
2108
|
) - 1;
|
|
2087
2109
|
break;
|
|
2088
2110
|
case "minute":
|
|
2089
|
-
t = this._d.valueOf(), t +=
|
|
2111
|
+
t = this._d.valueOf(), t += ce - de(t, ce) - 1;
|
|
2090
2112
|
break;
|
|
2091
2113
|
case "second":
|
|
2092
|
-
t = this._d.valueOf(), t += Pe -
|
|
2114
|
+
t = this._d.valueOf(), t += Pe - de(t, Pe) - 1;
|
|
2093
2115
|
break;
|
|
2094
2116
|
}
|
|
2095
2117
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
2096
2118
|
}
|
|
2097
|
-
function
|
|
2119
|
+
function _s() {
|
|
2098
2120
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
2099
2121
|
}
|
|
2100
|
-
function
|
|
2122
|
+
function ms() {
|
|
2101
2123
|
return Math.floor(this.valueOf() / 1e3);
|
|
2102
2124
|
}
|
|
2103
|
-
function
|
|
2125
|
+
function ys() {
|
|
2104
2126
|
return new Date(this.valueOf());
|
|
2105
2127
|
}
|
|
2106
|
-
function
|
|
2128
|
+
function gs() {
|
|
2107
2129
|
var e = this;
|
|
2108
2130
|
return [
|
|
2109
2131
|
e.year(),
|
|
@@ -2115,7 +2137,7 @@ function ys() {
|
|
|
2115
2137
|
e.millisecond()
|
|
2116
2138
|
];
|
|
2117
2139
|
}
|
|
2118
|
-
function
|
|
2140
|
+
function ps() {
|
|
2119
2141
|
var e = this;
|
|
2120
2142
|
return {
|
|
2121
2143
|
years: e.year(),
|
|
@@ -2127,19 +2149,19 @@ function gs() {
|
|
|
2127
2149
|
milliseconds: e.milliseconds()
|
|
2128
2150
|
};
|
|
2129
2151
|
}
|
|
2130
|
-
function
|
|
2152
|
+
function vs() {
|
|
2131
2153
|
return this.isValid() ? this.toISOString() : null;
|
|
2132
2154
|
}
|
|
2133
|
-
function
|
|
2155
|
+
function ws() {
|
|
2134
2156
|
return ut(this);
|
|
2135
2157
|
}
|
|
2136
|
-
function
|
|
2158
|
+
function Ms() {
|
|
2137
2159
|
return K({}, f(this));
|
|
2138
2160
|
}
|
|
2139
|
-
function
|
|
2161
|
+
function ks() {
|
|
2140
2162
|
return f(this).overflow;
|
|
2141
2163
|
}
|
|
2142
|
-
function
|
|
2164
|
+
function Ys() {
|
|
2143
2165
|
return {
|
|
2144
2166
|
input: this._i,
|
|
2145
2167
|
format: this._f,
|
|
@@ -2148,20 +2170,20 @@ function ks() {
|
|
|
2148
2170
|
strict: this._strict
|
|
2149
2171
|
};
|
|
2150
2172
|
}
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2173
|
+
d("N", 0, 0, "eraAbbr");
|
|
2174
|
+
d("NN", 0, 0, "eraAbbr");
|
|
2175
|
+
d("NNN", 0, 0, "eraAbbr");
|
|
2176
|
+
d("NNNN", 0, 0, "eraName");
|
|
2177
|
+
d("NNNNN", 0, 0, "eraNarrow");
|
|
2178
|
+
d("y", ["y", 1], "yo", "eraYear");
|
|
2179
|
+
d("y", ["yy", 2], 0, "eraYear");
|
|
2180
|
+
d("y", ["yyy", 3], 0, "eraYear");
|
|
2181
|
+
d("y", ["yyyy", 4], 0, "eraYear");
|
|
2182
|
+
c("N", St);
|
|
2183
|
+
c("NN", St);
|
|
2184
|
+
c("NNN", St);
|
|
2185
|
+
c("NNNN", Es);
|
|
2186
|
+
c("NNNNN", Ls);
|
|
2165
2187
|
v(
|
|
2166
2188
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2167
2189
|
function(e, t, n, r) {
|
|
@@ -2169,17 +2191,17 @@ v(
|
|
|
2169
2191
|
a ? f(n).era = a : f(n).invalidEra = e;
|
|
2170
2192
|
}
|
|
2171
2193
|
);
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
v(["y", "yy", "yyy", "yyyy"],
|
|
2194
|
+
c("y", he);
|
|
2195
|
+
c("yy", he);
|
|
2196
|
+
c("yyy", he);
|
|
2197
|
+
c("yyyy", he);
|
|
2198
|
+
c("yo", Ws);
|
|
2199
|
+
v(["y", "yy", "yyy", "yyyy"], b);
|
|
2178
2200
|
v(["yo"], function(e, t, n, r) {
|
|
2179
2201
|
var a;
|
|
2180
|
-
n._locale._eraYearOrdinalRegex && (a = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[
|
|
2202
|
+
n._locale._eraYearOrdinalRegex && (a = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[b] = n._locale.eraYearOrdinalParse(e, a) : t[b] = parseInt(e, 10);
|
|
2181
2203
|
});
|
|
2182
|
-
function
|
|
2204
|
+
function Ds(e, t) {
|
|
2183
2205
|
var n, r, a, s = this._eras || J("en")._eras;
|
|
2184
2206
|
for (n = 0, r = s.length; n < r; ++n) {
|
|
2185
2207
|
switch (typeof s[n].since) {
|
|
@@ -2198,7 +2220,7 @@ function Ys(e, t) {
|
|
|
2198
2220
|
}
|
|
2199
2221
|
return s;
|
|
2200
2222
|
}
|
|
2201
|
-
function
|
|
2223
|
+
function bs(e, t, n) {
|
|
2202
2224
|
var r, a, s = this.eras(), i, l, h;
|
|
2203
2225
|
for (e = e.toUpperCase(), r = 0, a = s.length; r < a; ++r)
|
|
2204
2226
|
if (i = s[r].name.toUpperCase(), l = s[r].abbr.toUpperCase(), h = s[r].narrow.toUpperCase(), n)
|
|
@@ -2225,53 +2247,53 @@ function Ss(e, t) {
|
|
|
2225
2247
|
var n = e.since <= e.until ? 1 : -1;
|
|
2226
2248
|
return t === void 0 ? u(e.since).year() : u(e.since).year() + (t - e.offset) * n;
|
|
2227
2249
|
}
|
|
2228
|
-
function
|
|
2250
|
+
function Os() {
|
|
2229
2251
|
var e, t, n, r = this.localeData().eras();
|
|
2230
2252
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2231
2253
|
if (n = this.clone().startOf("day").valueOf(), r[e].since <= n && n <= r[e].until || r[e].until <= n && n <= r[e].since)
|
|
2232
2254
|
return r[e].name;
|
|
2233
2255
|
return "";
|
|
2234
2256
|
}
|
|
2235
|
-
function
|
|
2257
|
+
function Ts() {
|
|
2236
2258
|
var e, t, n, r = this.localeData().eras();
|
|
2237
2259
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2238
2260
|
if (n = this.clone().startOf("day").valueOf(), r[e].since <= n && n <= r[e].until || r[e].until <= n && n <= r[e].since)
|
|
2239
2261
|
return r[e].narrow;
|
|
2240
2262
|
return "";
|
|
2241
2263
|
}
|
|
2242
|
-
function
|
|
2264
|
+
function xs() {
|
|
2243
2265
|
var e, t, n, r = this.localeData().eras();
|
|
2244
2266
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2245
2267
|
if (n = this.clone().startOf("day").valueOf(), r[e].since <= n && n <= r[e].until || r[e].until <= n && n <= r[e].since)
|
|
2246
2268
|
return r[e].abbr;
|
|
2247
2269
|
return "";
|
|
2248
2270
|
}
|
|
2249
|
-
function
|
|
2271
|
+
function Cs() {
|
|
2250
2272
|
var e, t, n, r, a = this.localeData().eras();
|
|
2251
2273
|
for (e = 0, t = a.length; e < t; ++e)
|
|
2252
2274
|
if (n = a[e].since <= a[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), a[e].since <= r && r <= a[e].until || a[e].until <= r && r <= a[e].since)
|
|
2253
2275
|
return (this.year() - u(a[e].since).year()) * n + a[e].offset;
|
|
2254
2276
|
return this.year();
|
|
2255
2277
|
}
|
|
2256
|
-
function
|
|
2278
|
+
function Ns(e) {
|
|
2257
2279
|
return g(this, "_erasNameRegex") || Ot.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2258
2280
|
}
|
|
2259
|
-
function
|
|
2281
|
+
function Rs(e) {
|
|
2260
2282
|
return g(this, "_erasAbbrRegex") || Ot.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2261
2283
|
}
|
|
2262
|
-
function
|
|
2284
|
+
function Ps(e) {
|
|
2263
2285
|
return g(this, "_erasNarrowRegex") || Ot.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2264
2286
|
}
|
|
2265
|
-
function
|
|
2287
|
+
function St(e, t) {
|
|
2266
2288
|
return t.erasAbbrRegex(e);
|
|
2267
2289
|
}
|
|
2268
|
-
function
|
|
2290
|
+
function Es(e, t) {
|
|
2269
2291
|
return t.erasNameRegex(e);
|
|
2270
2292
|
}
|
|
2271
|
-
function
|
|
2293
|
+
function Ls(e, t) {
|
|
2272
2294
|
return t.erasNarrowRegex(e);
|
|
2273
2295
|
}
|
|
2274
|
-
function
|
|
2296
|
+
function Ws(e, t) {
|
|
2275
2297
|
return t._eraYearOrdinalRegex || he;
|
|
2276
2298
|
}
|
|
2277
2299
|
function Ot() {
|
|
@@ -2283,37 +2305,37 @@ function Ot() {
|
|
|
2283
2305
|
"i"
|
|
2284
2306
|
);
|
|
2285
2307
|
}
|
|
2286
|
-
|
|
2308
|
+
d(0, ["gg", 2], 0, function() {
|
|
2287
2309
|
return this.weekYear() % 100;
|
|
2288
2310
|
});
|
|
2289
|
-
|
|
2311
|
+
d(0, ["GG", 2], 0, function() {
|
|
2290
2312
|
return this.isoWeekYear() % 100;
|
|
2291
2313
|
});
|
|
2292
2314
|
function qe(e, t) {
|
|
2293
|
-
|
|
2315
|
+
d(0, [e, e.length], 0, t);
|
|
2294
2316
|
}
|
|
2295
2317
|
qe("gggg", "weekYear");
|
|
2296
2318
|
qe("ggggg", "weekYear");
|
|
2297
2319
|
qe("GGGG", "isoWeekYear");
|
|
2298
2320
|
qe("GGGGG", "isoWeekYear");
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2321
|
+
c("G", Ue);
|
|
2322
|
+
c("g", Ue);
|
|
2323
|
+
c("GG", M, x);
|
|
2324
|
+
c("gg", M, x);
|
|
2325
|
+
c("GGGG", _t, ft);
|
|
2326
|
+
c("gggg", _t, ft);
|
|
2327
|
+
c("GGGGG", Fe, He);
|
|
2328
|
+
c("ggggg", Fe, He);
|
|
2329
|
+
be(
|
|
2308
2330
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2309
2331
|
function(e, t, n, r) {
|
|
2310
2332
|
t[r.substr(0, 2)] = _(e);
|
|
2311
2333
|
}
|
|
2312
2334
|
);
|
|
2313
|
-
|
|
2335
|
+
be(["gg", "GG"], function(e, t, n, r) {
|
|
2314
2336
|
t[r] = u.parseTwoDigitYear(e);
|
|
2315
2337
|
});
|
|
2316
|
-
function
|
|
2338
|
+
function Hs(e) {
|
|
2317
2339
|
return wn.call(
|
|
2318
2340
|
this,
|
|
2319
2341
|
e,
|
|
@@ -2323,7 +2345,7 @@ function Ws(e) {
|
|
|
2323
2345
|
this.localeData()._week.doy
|
|
2324
2346
|
);
|
|
2325
2347
|
}
|
|
2326
|
-
function
|
|
2348
|
+
function As(e) {
|
|
2327
2349
|
return wn.call(
|
|
2328
2350
|
this,
|
|
2329
2351
|
e,
|
|
@@ -2333,40 +2355,40 @@ function Hs(e) {
|
|
|
2333
2355
|
4
|
|
2334
2356
|
);
|
|
2335
2357
|
}
|
|
2336
|
-
function
|
|
2358
|
+
function Fs() {
|
|
2337
2359
|
return $(this.year(), 1, 4);
|
|
2338
2360
|
}
|
|
2339
|
-
function
|
|
2361
|
+
function Us() {
|
|
2340
2362
|
return $(this.isoWeekYear(), 1, 4);
|
|
2341
2363
|
}
|
|
2342
|
-
function
|
|
2364
|
+
function Is() {
|
|
2343
2365
|
var e = this.localeData()._week;
|
|
2344
2366
|
return $(this.year(), e.dow, e.doy);
|
|
2345
2367
|
}
|
|
2346
|
-
function
|
|
2368
|
+
function js() {
|
|
2347
2369
|
var e = this.localeData()._week;
|
|
2348
2370
|
return $(this.weekYear(), e.dow, e.doy);
|
|
2349
2371
|
}
|
|
2350
2372
|
function wn(e, t, n, r, a) {
|
|
2351
2373
|
var s;
|
|
2352
|
-
return e == null ? we(this, r, a).year : (s = $(e, r, a), t > s && (t = s),
|
|
2374
|
+
return e == null ? we(this, r, a).year : (s = $(e, r, a), t > s && (t = s), Gs.call(this, e, t, n, r, a));
|
|
2353
2375
|
}
|
|
2354
|
-
function
|
|
2376
|
+
function Gs(e, t, n, r, a) {
|
|
2355
2377
|
var s = Xt(e, t, n, r, a), i = ve(s.year, 0, s.dayOfYear);
|
|
2356
2378
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2357
2379
|
}
|
|
2358
|
-
|
|
2359
|
-
|
|
2380
|
+
d("Q", 0, "Qo", "quarter");
|
|
2381
|
+
c("Q", It);
|
|
2360
2382
|
v("Q", function(e, t) {
|
|
2361
2383
|
t[q] = (_(e) - 1) * 3;
|
|
2362
2384
|
});
|
|
2363
|
-
function
|
|
2385
|
+
function Vs(e) {
|
|
2364
2386
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2365
2387
|
}
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2388
|
+
d("D", ["DD", 2], "Do", "date");
|
|
2389
|
+
c("D", M, fe);
|
|
2390
|
+
c("DD", M, x);
|
|
2391
|
+
c("Do", function(e, t) {
|
|
2370
2392
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2371
2393
|
});
|
|
2372
2394
|
v(["D", "DD"], H);
|
|
@@ -2374,153 +2396,153 @@ v("Do", function(e, t) {
|
|
|
2374
2396
|
t[H] = _(e.match(M)[0]);
|
|
2375
2397
|
});
|
|
2376
2398
|
var Mn = _e("Date", !0);
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2399
|
+
d("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2400
|
+
c("DDD", Ae);
|
|
2401
|
+
c("DDDD", jt);
|
|
2380
2402
|
v(["DDD", "DDDD"], function(e, t, n) {
|
|
2381
2403
|
n._dayOfYear = _(e);
|
|
2382
2404
|
});
|
|
2383
|
-
function
|
|
2405
|
+
function qs(e) {
|
|
2384
2406
|
var t = Math.round(
|
|
2385
2407
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2386
2408
|
) + 1;
|
|
2387
2409
|
return e == null ? t : this.add(e - t, "d");
|
|
2388
2410
|
}
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2411
|
+
d("m", ["mm", 2], 0, "minute");
|
|
2412
|
+
c("m", M, mt);
|
|
2413
|
+
c("mm", M, x);
|
|
2392
2414
|
v(["m", "mm"], P);
|
|
2393
|
-
var
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2415
|
+
var zs = _e("Minutes", !1);
|
|
2416
|
+
d("s", ["ss", 2], 0, "second");
|
|
2417
|
+
c("s", M, mt);
|
|
2418
|
+
c("ss", M, x);
|
|
2397
2419
|
v(["s", "ss"], z);
|
|
2398
|
-
var
|
|
2399
|
-
|
|
2420
|
+
var Zs = _e("Seconds", !1);
|
|
2421
|
+
d("S", 0, 0, function() {
|
|
2400
2422
|
return ~~(this.millisecond() / 100);
|
|
2401
2423
|
});
|
|
2402
|
-
|
|
2424
|
+
d(0, ["SS", 2], 0, function() {
|
|
2403
2425
|
return ~~(this.millisecond() / 10);
|
|
2404
2426
|
});
|
|
2405
|
-
|
|
2406
|
-
|
|
2427
|
+
d(0, ["SSS", 3], 0, "millisecond");
|
|
2428
|
+
d(0, ["SSSS", 4], 0, function() {
|
|
2407
2429
|
return this.millisecond() * 10;
|
|
2408
2430
|
});
|
|
2409
|
-
|
|
2431
|
+
d(0, ["SSSSS", 5], 0, function() {
|
|
2410
2432
|
return this.millisecond() * 100;
|
|
2411
2433
|
});
|
|
2412
|
-
|
|
2434
|
+
d(0, ["SSSSSS", 6], 0, function() {
|
|
2413
2435
|
return this.millisecond() * 1e3;
|
|
2414
2436
|
});
|
|
2415
|
-
|
|
2437
|
+
d(0, ["SSSSSSS", 7], 0, function() {
|
|
2416
2438
|
return this.millisecond() * 1e4;
|
|
2417
2439
|
});
|
|
2418
|
-
|
|
2440
|
+
d(0, ["SSSSSSSS", 8], 0, function() {
|
|
2419
2441
|
return this.millisecond() * 1e5;
|
|
2420
2442
|
});
|
|
2421
|
-
|
|
2443
|
+
d(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2422
2444
|
return this.millisecond() * 1e6;
|
|
2423
2445
|
});
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2446
|
+
c("S", Ae, It);
|
|
2447
|
+
c("SS", Ae, x);
|
|
2448
|
+
c("SSS", Ae, jt);
|
|
2427
2449
|
var ee, kn;
|
|
2428
2450
|
for (ee = "SSSS"; ee.length <= 9; ee += "S")
|
|
2429
|
-
|
|
2430
|
-
function
|
|
2451
|
+
c(ee, he);
|
|
2452
|
+
function $s(e, t) {
|
|
2431
2453
|
t[re] = _(("0." + e) * 1e3);
|
|
2432
2454
|
}
|
|
2433
2455
|
for (ee = "S"; ee.length <= 9; ee += "S")
|
|
2434
|
-
v(ee,
|
|
2456
|
+
v(ee, $s);
|
|
2435
2457
|
kn = _e("Milliseconds", !1);
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
function
|
|
2458
|
+
d("z", 0, 0, "zoneAbbr");
|
|
2459
|
+
d("zz", 0, 0, "zoneName");
|
|
2460
|
+
function Bs() {
|
|
2439
2461
|
return this._isUTC ? "UTC" : "";
|
|
2440
2462
|
}
|
|
2441
|
-
function
|
|
2463
|
+
function Js() {
|
|
2442
2464
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2443
2465
|
}
|
|
2444
2466
|
var o = Ye.prototype;
|
|
2445
|
-
o.add =
|
|
2446
|
-
o.calendar =
|
|
2447
|
-
o.clone =
|
|
2448
|
-
o.diff =
|
|
2449
|
-
o.endOf =
|
|
2450
|
-
o.format =
|
|
2451
|
-
o.from =
|
|
2452
|
-
o.fromNow =
|
|
2453
|
-
o.to =
|
|
2467
|
+
o.add = ja;
|
|
2468
|
+
o.calendar = Ba;
|
|
2469
|
+
o.clone = Ja;
|
|
2470
|
+
o.diff = rs;
|
|
2471
|
+
o.endOf = fs;
|
|
2472
|
+
o.format = os;
|
|
2473
|
+
o.from = us;
|
|
2474
|
+
o.fromNow = ls;
|
|
2475
|
+
o.to = cs;
|
|
2454
2476
|
o.toNow = ds;
|
|
2455
|
-
o.get =
|
|
2456
|
-
o.invalidAt =
|
|
2457
|
-
o.isAfter =
|
|
2458
|
-
o.isBefore =
|
|
2459
|
-
o.isBetween =
|
|
2460
|
-
o.isSame =
|
|
2461
|
-
o.isSameOrAfter =
|
|
2462
|
-
o.isSameOrBefore =
|
|
2463
|
-
o.isValid =
|
|
2477
|
+
o.get = ir;
|
|
2478
|
+
o.invalidAt = ks;
|
|
2479
|
+
o.isAfter = Qa;
|
|
2480
|
+
o.isBefore = Xa;
|
|
2481
|
+
o.isBetween = Ka;
|
|
2482
|
+
o.isSame = es;
|
|
2483
|
+
o.isSameOrAfter = ts;
|
|
2484
|
+
o.isSameOrBefore = ns;
|
|
2485
|
+
o.isValid = ws;
|
|
2464
2486
|
o.lang = mn;
|
|
2465
2487
|
o.locale = _n;
|
|
2466
2488
|
o.localeData = yn;
|
|
2467
|
-
o.max =
|
|
2468
|
-
o.min =
|
|
2469
|
-
o.parsingFlags =
|
|
2470
|
-
o.set =
|
|
2471
|
-
o.startOf =
|
|
2472
|
-
o.subtract =
|
|
2473
|
-
o.toArray =
|
|
2474
|
-
o.toObject =
|
|
2475
|
-
o.toDate =
|
|
2476
|
-
o.toISOString =
|
|
2477
|
-
o.inspect =
|
|
2489
|
+
o.max = wa;
|
|
2490
|
+
o.min = va;
|
|
2491
|
+
o.parsingFlags = Ms;
|
|
2492
|
+
o.set = or;
|
|
2493
|
+
o.startOf = hs;
|
|
2494
|
+
o.subtract = Ga;
|
|
2495
|
+
o.toArray = gs;
|
|
2496
|
+
o.toObject = ps;
|
|
2497
|
+
o.toDate = ys;
|
|
2498
|
+
o.toISOString = ss;
|
|
2499
|
+
o.inspect = is;
|
|
2478
2500
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2479
2501
|
return "Moment<" + this.format() + ">";
|
|
2480
2502
|
});
|
|
2481
|
-
o.toJSON =
|
|
2482
|
-
o.toString =
|
|
2483
|
-
o.unix =
|
|
2484
|
-
o.valueOf =
|
|
2485
|
-
o.creationData =
|
|
2486
|
-
o.eraName =
|
|
2487
|
-
o.eraNarrow =
|
|
2488
|
-
o.eraAbbr =
|
|
2489
|
-
o.eraYear =
|
|
2503
|
+
o.toJSON = vs;
|
|
2504
|
+
o.toString = as;
|
|
2505
|
+
o.unix = ms;
|
|
2506
|
+
o.valueOf = _s;
|
|
2507
|
+
o.creationData = Ys;
|
|
2508
|
+
o.eraName = Os;
|
|
2509
|
+
o.eraNarrow = Ts;
|
|
2510
|
+
o.eraAbbr = xs;
|
|
2511
|
+
o.eraYear = Cs;
|
|
2490
2512
|
o.year = qt;
|
|
2491
|
-
o.isLeapYear =
|
|
2492
|
-
o.weekYear =
|
|
2493
|
-
o.isoWeekYear =
|
|
2494
|
-
o.quarter = o.quarters =
|
|
2513
|
+
o.isLeapYear = sr;
|
|
2514
|
+
o.weekYear = Hs;
|
|
2515
|
+
o.isoWeekYear = As;
|
|
2516
|
+
o.quarter = o.quarters = Vs;
|
|
2495
2517
|
o.month = Jt;
|
|
2496
|
-
o.daysInMonth =
|
|
2497
|
-
o.week = o.weeks =
|
|
2498
|
-
o.isoWeek = o.isoWeeks =
|
|
2499
|
-
o.weeksInYear =
|
|
2500
|
-
o.weeksInWeekYear =
|
|
2501
|
-
o.isoWeeksInYear =
|
|
2502
|
-
o.isoWeeksInISOWeekYear =
|
|
2518
|
+
o.daysInMonth = yr;
|
|
2519
|
+
o.week = o.weeks = Dr;
|
|
2520
|
+
o.isoWeek = o.isoWeeks = br;
|
|
2521
|
+
o.weeksInYear = Is;
|
|
2522
|
+
o.weeksInWeekYear = js;
|
|
2523
|
+
o.isoWeeksInYear = Fs;
|
|
2524
|
+
o.isoWeeksInISOWeekYear = Us;
|
|
2503
2525
|
o.date = Mn;
|
|
2504
|
-
o.day = o.days =
|
|
2505
|
-
o.weekday =
|
|
2506
|
-
o.isoWeekday =
|
|
2507
|
-
o.dayOfYear =
|
|
2508
|
-
o.hour = o.hours =
|
|
2509
|
-
o.minute = o.minutes =
|
|
2510
|
-
o.second = o.seconds =
|
|
2526
|
+
o.day = o.days = Ar;
|
|
2527
|
+
o.weekday = Fr;
|
|
2528
|
+
o.isoWeekday = Ur;
|
|
2529
|
+
o.dayOfYear = qs;
|
|
2530
|
+
o.hour = o.hours = Zr;
|
|
2531
|
+
o.minute = o.minutes = zs;
|
|
2532
|
+
o.second = o.seconds = Zs;
|
|
2511
2533
|
o.millisecond = o.milliseconds = kn;
|
|
2512
|
-
o.utcOffset =
|
|
2513
|
-
o.utc =
|
|
2514
|
-
o.local =
|
|
2515
|
-
o.parseZone =
|
|
2516
|
-
o.hasAlignedHourOffset =
|
|
2517
|
-
o.isDST =
|
|
2518
|
-
o.isLocal =
|
|
2519
|
-
o.isUtcOffset =
|
|
2520
|
-
o.isUtc =
|
|
2521
|
-
o.isUTC =
|
|
2522
|
-
o.zoneAbbr =
|
|
2523
|
-
o.zoneName =
|
|
2534
|
+
o.utcOffset = xa;
|
|
2535
|
+
o.utc = Na;
|
|
2536
|
+
o.local = Ra;
|
|
2537
|
+
o.parseZone = Pa;
|
|
2538
|
+
o.hasAlignedHourOffset = Ea;
|
|
2539
|
+
o.isDST = La;
|
|
2540
|
+
o.isLocal = Ha;
|
|
2541
|
+
o.isUtcOffset = Aa;
|
|
2542
|
+
o.isUtc = cn;
|
|
2543
|
+
o.isUTC = cn;
|
|
2544
|
+
o.zoneAbbr = Bs;
|
|
2545
|
+
o.zoneName = Js;
|
|
2524
2546
|
o.dates = N(
|
|
2525
2547
|
"dates accessor is deprecated. Use date instead.",
|
|
2526
2548
|
Mn
|
|
@@ -2535,54 +2557,54 @@ o.years = N(
|
|
|
2535
2557
|
);
|
|
2536
2558
|
o.zone = N(
|
|
2537
2559
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2538
|
-
|
|
2560
|
+
Ca
|
|
2539
2561
|
);
|
|
2540
2562
|
o.isDSTShifted = N(
|
|
2541
2563
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2542
|
-
|
|
2564
|
+
Wa
|
|
2543
2565
|
);
|
|
2544
|
-
function
|
|
2566
|
+
function Qs(e) {
|
|
2545
2567
|
return w(e * 1e3);
|
|
2546
2568
|
}
|
|
2547
|
-
function
|
|
2569
|
+
function Xs() {
|
|
2548
2570
|
return w.apply(null, arguments).parseZone();
|
|
2549
2571
|
}
|
|
2550
2572
|
function Yn(e) {
|
|
2551
2573
|
return e;
|
|
2552
2574
|
}
|
|
2553
|
-
var p =
|
|
2554
|
-
p.calendar =
|
|
2555
|
-
p.longDateFormat =
|
|
2556
|
-
p.invalidDate =
|
|
2557
|
-
p.ordinal =
|
|
2575
|
+
var p = ct.prototype;
|
|
2576
|
+
p.calendar = Hn;
|
|
2577
|
+
p.longDateFormat = In;
|
|
2578
|
+
p.invalidDate = Gn;
|
|
2579
|
+
p.ordinal = zn;
|
|
2558
2580
|
p.preparse = Yn;
|
|
2559
2581
|
p.postformat = Yn;
|
|
2560
|
-
p.relativeTime =
|
|
2561
|
-
p.pastFuture =
|
|
2562
|
-
p.set =
|
|
2563
|
-
p.eras =
|
|
2564
|
-
p.erasParse =
|
|
2582
|
+
p.relativeTime = $n;
|
|
2583
|
+
p.pastFuture = Bn;
|
|
2584
|
+
p.set = Ln;
|
|
2585
|
+
p.eras = Ds;
|
|
2586
|
+
p.erasParse = bs;
|
|
2565
2587
|
p.erasConvertYear = Ss;
|
|
2566
|
-
p.erasAbbrRegex =
|
|
2567
|
-
p.erasNameRegex =
|
|
2568
|
-
p.erasNarrowRegex =
|
|
2569
|
-
p.months =
|
|
2570
|
-
p.monthsShort =
|
|
2571
|
-
p.monthsParse =
|
|
2572
|
-
p.monthsRegex =
|
|
2573
|
-
p.monthsShortRegex =
|
|
2574
|
-
p.week =
|
|
2575
|
-
p.firstDayOfYear =
|
|
2576
|
-
p.firstDayOfWeek =
|
|
2577
|
-
p.weekdays =
|
|
2578
|
-
p.weekdaysMin =
|
|
2579
|
-
p.weekdaysShort =
|
|
2580
|
-
p.weekdaysParse =
|
|
2581
|
-
p.weekdaysRegex =
|
|
2582
|
-
p.weekdaysShortRegex =
|
|
2583
|
-
p.weekdaysMinRegex =
|
|
2584
|
-
p.isPM =
|
|
2585
|
-
p.meridiem =
|
|
2588
|
+
p.erasAbbrRegex = Rs;
|
|
2589
|
+
p.erasNameRegex = Ns;
|
|
2590
|
+
p.erasNarrowRegex = Ps;
|
|
2591
|
+
p.months = hr;
|
|
2592
|
+
p.monthsShort = fr;
|
|
2593
|
+
p.monthsParse = mr;
|
|
2594
|
+
p.monthsRegex = pr;
|
|
2595
|
+
p.monthsShortRegex = gr;
|
|
2596
|
+
p.week = wr;
|
|
2597
|
+
p.firstDayOfYear = Yr;
|
|
2598
|
+
p.firstDayOfWeek = kr;
|
|
2599
|
+
p.weekdays = Pr;
|
|
2600
|
+
p.weekdaysMin = Lr;
|
|
2601
|
+
p.weekdaysShort = Er;
|
|
2602
|
+
p.weekdaysParse = Hr;
|
|
2603
|
+
p.weekdaysRegex = Ir;
|
|
2604
|
+
p.weekdaysShortRegex = jr;
|
|
2605
|
+
p.weekdaysMinRegex = Gr;
|
|
2606
|
+
p.isPM = qr;
|
|
2607
|
+
p.meridiem = $r;
|
|
2586
2608
|
function Le(e, t, n, r) {
|
|
2587
2609
|
var a = J(), s = F().set(r, t);
|
|
2588
2610
|
return a[n](s, e);
|
|
@@ -2604,19 +2626,19 @@ function Tt(e, t, n, r) {
|
|
|
2604
2626
|
l[i] = Le(t, (i + s) % 7, r, "day");
|
|
2605
2627
|
return l;
|
|
2606
2628
|
}
|
|
2607
|
-
function
|
|
2629
|
+
function Ks(e, t) {
|
|
2608
2630
|
return Dn(e, t, "months");
|
|
2609
2631
|
}
|
|
2610
|
-
function
|
|
2632
|
+
function ei(e, t) {
|
|
2611
2633
|
return Dn(e, t, "monthsShort");
|
|
2612
2634
|
}
|
|
2613
|
-
function
|
|
2635
|
+
function ti(e, t, n) {
|
|
2614
2636
|
return Tt(e, t, n, "weekdays");
|
|
2615
2637
|
}
|
|
2616
|
-
function
|
|
2638
|
+
function ni(e, t, n) {
|
|
2617
2639
|
return Tt(e, t, n, "weekdaysShort");
|
|
2618
2640
|
}
|
|
2619
|
-
function
|
|
2641
|
+
function ri(e, t, n) {
|
|
2620
2642
|
return Tt(e, t, n, "weekdaysMin");
|
|
2621
2643
|
}
|
|
2622
2644
|
te("en", {
|
|
@@ -2653,39 +2675,39 @@ u.langData = N(
|
|
|
2653
2675
|
J
|
|
2654
2676
|
);
|
|
2655
2677
|
var j = Math.abs;
|
|
2656
|
-
function
|
|
2678
|
+
function ai() {
|
|
2657
2679
|
var e = this._data;
|
|
2658
2680
|
return this._milliseconds = j(this._milliseconds), this._days = j(this._days), this._months = j(this._months), e.milliseconds = j(e.milliseconds), e.seconds = j(e.seconds), e.minutes = j(e.minutes), e.hours = j(e.hours), e.months = j(e.months), e.years = j(e.years), this;
|
|
2659
2681
|
}
|
|
2660
|
-
function
|
|
2682
|
+
function bn(e, t, n, r) {
|
|
2661
2683
|
var a = W(t, n);
|
|
2662
2684
|
return e._milliseconds += r * a._milliseconds, e._days += r * a._days, e._months += r * a._months, e._bubble();
|
|
2663
2685
|
}
|
|
2664
|
-
function ai(e, t) {
|
|
2665
|
-
return Sn(this, e, t, 1);
|
|
2666
|
-
}
|
|
2667
2686
|
function si(e, t) {
|
|
2668
|
-
return
|
|
2687
|
+
return bn(this, e, t, 1);
|
|
2688
|
+
}
|
|
2689
|
+
function ii(e, t) {
|
|
2690
|
+
return bn(this, e, t, -1);
|
|
2669
2691
|
}
|
|
2670
2692
|
function Et(e) {
|
|
2671
2693
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2672
2694
|
}
|
|
2673
|
-
function
|
|
2695
|
+
function oi() {
|
|
2674
2696
|
var e = this._milliseconds, t = this._days, n = this._months, r = this._data, a, s, i, l, h;
|
|
2675
|
-
return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += Et(it(n) + t) * 864e5, t = 0, n = 0), r.milliseconds = e % 1e3, a = C(e / 1e3), r.seconds = a % 60, s = C(a / 60), r.minutes = s % 60, i = C(s / 60), r.hours = i % 24, t += C(i / 24), h = C(
|
|
2697
|
+
return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += Et(it(n) + t) * 864e5, t = 0, n = 0), r.milliseconds = e % 1e3, a = C(e / 1e3), r.seconds = a % 60, s = C(a / 60), r.minutes = s % 60, i = C(s / 60), r.hours = i % 24, t += C(i / 24), h = C(Sn(t)), n += h, t -= Et(it(h)), l = C(n / 12), n %= 12, r.days = t, r.months = n, r.years = l, this;
|
|
2676
2698
|
}
|
|
2677
|
-
function
|
|
2699
|
+
function Sn(e) {
|
|
2678
2700
|
return e * 4800 / 146097;
|
|
2679
2701
|
}
|
|
2680
2702
|
function it(e) {
|
|
2681
2703
|
return e * 146097 / 4800;
|
|
2682
2704
|
}
|
|
2683
|
-
function
|
|
2705
|
+
function ui(e) {
|
|
2684
2706
|
if (!this.isValid())
|
|
2685
2707
|
return NaN;
|
|
2686
2708
|
var t, n, r = this._milliseconds;
|
|
2687
2709
|
if (e = R(e), e === "month" || e === "quarter" || e === "year")
|
|
2688
|
-
switch (t = this._days + r / 864e5, n = this._months +
|
|
2710
|
+
switch (t = this._days + r / 864e5, n = this._months + Sn(t), e) {
|
|
2689
2711
|
case "month":
|
|
2690
2712
|
return n;
|
|
2691
2713
|
case "quarter":
|
|
@@ -2716,11 +2738,11 @@ function Q(e) {
|
|
|
2716
2738
|
return this.as(e);
|
|
2717
2739
|
};
|
|
2718
2740
|
}
|
|
2719
|
-
var On = Q("ms"),
|
|
2720
|
-
function
|
|
2741
|
+
var On = Q("ms"), li = Q("s"), ci = Q("m"), di = Q("h"), hi = Q("d"), fi = Q("w"), _i = Q("M"), mi = Q("Q"), yi = Q("y"), gi = On;
|
|
2742
|
+
function pi() {
|
|
2721
2743
|
return W(this);
|
|
2722
2744
|
}
|
|
2723
|
-
function
|
|
2745
|
+
function vi(e) {
|
|
2724
2746
|
return e = R(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2725
2747
|
}
|
|
2726
2748
|
function se(e) {
|
|
@@ -2728,8 +2750,8 @@ function se(e) {
|
|
|
2728
2750
|
return this.isValid() ? this._data[e] : NaN;
|
|
2729
2751
|
};
|
|
2730
2752
|
}
|
|
2731
|
-
var
|
|
2732
|
-
function
|
|
2753
|
+
var wi = se("milliseconds"), Mi = se("seconds"), ki = se("minutes"), Yi = se("hours"), Di = se("days"), bi = se("months"), Si = se("years");
|
|
2754
|
+
function Oi() {
|
|
2733
2755
|
return C(this.days() / 7);
|
|
2734
2756
|
}
|
|
2735
2757
|
var G = Math.round, ue = {
|
|
@@ -2748,24 +2770,24 @@ var G = Math.round, ue = {
|
|
|
2748
2770
|
M: 11
|
|
2749
2771
|
// months to year
|
|
2750
2772
|
};
|
|
2751
|
-
function
|
|
2773
|
+
function Ti(e, t, n, r, a) {
|
|
2752
2774
|
return a.relativeTime(t || 1, !!n, e, r);
|
|
2753
2775
|
}
|
|
2754
|
-
function
|
|
2755
|
-
var a = W(e).abs(), s = G(a.as("s")), i = G(a.as("m")), l = G(a.as("h")), h = G(a.as("d")), m = G(a.as("M")),
|
|
2756
|
-
return n.w != null && (X = X ||
|
|
2776
|
+
function xi(e, t, n, r) {
|
|
2777
|
+
var a = W(e).abs(), s = G(a.as("s")), i = G(a.as("m")), l = G(a.as("h")), h = G(a.as("d")), m = G(a.as("M")), S = G(a.as("w")), I = G(a.as("y")), X = s <= n.ss && ["s", s] || s < n.s && ["ss", s] || i <= 1 && ["m"] || i < n.m && ["mm", i] || l <= 1 && ["h"] || l < n.h && ["hh", l] || h <= 1 && ["d"] || h < n.d && ["dd", h];
|
|
2778
|
+
return n.w != null && (X = X || S <= 1 && ["w"] || S < n.w && ["ww", S]), X = X || m <= 1 && ["M"] || m < n.M && ["MM", m] || I <= 1 && ["y"] || ["yy", I], X[2] = t, X[3] = +e > 0, X[4] = r, Ti.apply(null, X);
|
|
2757
2779
|
}
|
|
2758
|
-
function
|
|
2780
|
+
function Ci(e) {
|
|
2759
2781
|
return e === void 0 ? G : typeof e == "function" ? (G = e, !0) : !1;
|
|
2760
2782
|
}
|
|
2761
|
-
function
|
|
2783
|
+
function Ni(e, t) {
|
|
2762
2784
|
return ue[e] === void 0 ? !1 : t === void 0 ? ue[e] : (ue[e] = t, e === "s" && (ue.ss = t - 1), !0);
|
|
2763
2785
|
}
|
|
2764
|
-
function
|
|
2786
|
+
function Ri(e, t) {
|
|
2765
2787
|
if (!this.isValid())
|
|
2766
2788
|
return this.localeData().invalidDate();
|
|
2767
2789
|
var n = !1, r = ue, a, s;
|
|
2768
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (n = e), typeof t == "object" && (r = Object.assign({}, ue, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), a = this.localeData(), s =
|
|
2790
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (n = e), typeof t == "object" && (r = Object.assign({}, ue, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), a = this.localeData(), s = xi(this, !n, r, a), n && (s = a.pastFuture(+this, s)), a.postformat(s);
|
|
2769
2791
|
}
|
|
2770
2792
|
var Xe = Math.abs;
|
|
2771
2793
|
function ie(e) {
|
|
@@ -2774,37 +2796,37 @@ function ie(e) {
|
|
|
2774
2796
|
function ze() {
|
|
2775
2797
|
if (!this.isValid())
|
|
2776
2798
|
return this.localeData().invalidDate();
|
|
2777
|
-
var e = Xe(this._milliseconds) / 1e3, t = Xe(this._days), n = Xe(this._months), r, a, s, i, l = this.asSeconds(), h, m,
|
|
2778
|
-
return l ? (r = C(e / 60), a = C(r / 60), e %= 60, r %= 60, s = C(n / 12), n %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = l < 0 ? "-" : "", m = ie(this._months) !== ie(l) ? "-" : "",
|
|
2799
|
+
var e = Xe(this._milliseconds) / 1e3, t = Xe(this._days), n = Xe(this._months), r, a, s, i, l = this.asSeconds(), h, m, S, I;
|
|
2800
|
+
return l ? (r = C(e / 60), a = C(r / 60), e %= 60, r %= 60, s = C(n / 12), n %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = l < 0 ? "-" : "", m = ie(this._months) !== ie(l) ? "-" : "", S = ie(this._days) !== ie(l) ? "-" : "", I = ie(this._milliseconds) !== ie(l) ? "-" : "", h + "P" + (s ? m + s + "Y" : "") + (n ? m + n + "M" : "") + (t ? S + t + "D" : "") + (a || r || e ? "T" : "") + (a ? I + a + "H" : "") + (r ? I + r + "M" : "") + (e ? I + i + "S" : "")) : "P0D";
|
|
2779
2801
|
}
|
|
2780
2802
|
var y = Ve.prototype;
|
|
2781
|
-
y.isValid =
|
|
2782
|
-
y.abs =
|
|
2783
|
-
y.add =
|
|
2784
|
-
y.subtract =
|
|
2785
|
-
y.as =
|
|
2803
|
+
y.isValid = ba;
|
|
2804
|
+
y.abs = ai;
|
|
2805
|
+
y.add = si;
|
|
2806
|
+
y.subtract = ii;
|
|
2807
|
+
y.as = ui;
|
|
2786
2808
|
y.asMilliseconds = On;
|
|
2787
|
-
y.asSeconds =
|
|
2788
|
-
y.asMinutes =
|
|
2809
|
+
y.asSeconds = li;
|
|
2810
|
+
y.asMinutes = ci;
|
|
2789
2811
|
y.asHours = di;
|
|
2790
|
-
y.asDays =
|
|
2791
|
-
y.asWeeks =
|
|
2792
|
-
y.asMonths =
|
|
2793
|
-
y.asQuarters =
|
|
2794
|
-
y.asYears =
|
|
2795
|
-
y.valueOf =
|
|
2796
|
-
y._bubble =
|
|
2797
|
-
y.clone =
|
|
2798
|
-
y.get =
|
|
2799
|
-
y.milliseconds =
|
|
2800
|
-
y.seconds =
|
|
2801
|
-
y.minutes =
|
|
2802
|
-
y.hours =
|
|
2803
|
-
y.days =
|
|
2804
|
-
y.weeks =
|
|
2805
|
-
y.months =
|
|
2812
|
+
y.asDays = hi;
|
|
2813
|
+
y.asWeeks = fi;
|
|
2814
|
+
y.asMonths = _i;
|
|
2815
|
+
y.asQuarters = mi;
|
|
2816
|
+
y.asYears = yi;
|
|
2817
|
+
y.valueOf = gi;
|
|
2818
|
+
y._bubble = oi;
|
|
2819
|
+
y.clone = pi;
|
|
2820
|
+
y.get = vi;
|
|
2821
|
+
y.milliseconds = wi;
|
|
2822
|
+
y.seconds = Mi;
|
|
2823
|
+
y.minutes = ki;
|
|
2824
|
+
y.hours = Yi;
|
|
2825
|
+
y.days = Di;
|
|
2826
|
+
y.weeks = Oi;
|
|
2827
|
+
y.months = bi;
|
|
2806
2828
|
y.years = Si;
|
|
2807
|
-
y.humanize =
|
|
2829
|
+
y.humanize = Ri;
|
|
2808
2830
|
y.toISOString = ze;
|
|
2809
2831
|
y.toString = ze;
|
|
2810
2832
|
y.toJSON = ze;
|
|
@@ -2815,10 +2837,10 @@ y.toIsoString = N(
|
|
|
2815
2837
|
ze
|
|
2816
2838
|
);
|
|
2817
2839
|
y.lang = mn;
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2840
|
+
d("X", 0, 0, "unix");
|
|
2841
|
+
d("x", 0, 0, "valueOf");
|
|
2842
|
+
c("x", Ue);
|
|
2843
|
+
c("X", Kn);
|
|
2822
2844
|
v("X", function(e, t, n) {
|
|
2823
2845
|
n._d = new Date(parseFloat(e) * 1e3);
|
|
2824
2846
|
});
|
|
@@ -2827,33 +2849,33 @@ v("x", function(e, t, n) {
|
|
|
2827
2849
|
});
|
|
2828
2850
|
//! moment.js
|
|
2829
2851
|
u.version = "2.30.1";
|
|
2830
|
-
|
|
2852
|
+
Pn(w);
|
|
2831
2853
|
u.fn = o;
|
|
2832
|
-
u.min =
|
|
2833
|
-
u.max =
|
|
2834
|
-
u.now =
|
|
2854
|
+
u.min = Ma;
|
|
2855
|
+
u.max = ka;
|
|
2856
|
+
u.now = Ya;
|
|
2835
2857
|
u.utc = F;
|
|
2836
|
-
u.unix =
|
|
2837
|
-
u.months =
|
|
2858
|
+
u.unix = Qs;
|
|
2859
|
+
u.months = Ks;
|
|
2838
2860
|
u.isDate = ke;
|
|
2839
2861
|
u.locale = te;
|
|
2840
2862
|
u.invalid = We;
|
|
2841
2863
|
u.duration = W;
|
|
2842
2864
|
u.isMoment = L;
|
|
2843
|
-
u.weekdays =
|
|
2844
|
-
u.parseZone =
|
|
2865
|
+
u.weekdays = ti;
|
|
2866
|
+
u.parseZone = Xs;
|
|
2845
2867
|
u.localeData = J;
|
|
2846
2868
|
u.isDuration = xe;
|
|
2847
|
-
u.monthsShort =
|
|
2848
|
-
u.weekdaysMin =
|
|
2869
|
+
u.monthsShort = ei;
|
|
2870
|
+
u.weekdaysMin = ri;
|
|
2849
2871
|
u.defineLocale = wt;
|
|
2850
|
-
u.updateLocale =
|
|
2851
|
-
u.locales =
|
|
2852
|
-
u.weekdaysShort =
|
|
2872
|
+
u.updateLocale = Xr;
|
|
2873
|
+
u.locales = Kr;
|
|
2874
|
+
u.weekdaysShort = ni;
|
|
2853
2875
|
u.normalizeUnits = R;
|
|
2854
|
-
u.relativeTimeRounding =
|
|
2855
|
-
u.relativeTimeThreshold =
|
|
2856
|
-
u.calendarFormat =
|
|
2876
|
+
u.relativeTimeRounding = Ci;
|
|
2877
|
+
u.relativeTimeThreshold = Ni;
|
|
2878
|
+
u.calendarFormat = $a;
|
|
2857
2879
|
u.prototype = o;
|
|
2858
2880
|
u.HTML5_FMT = {
|
|
2859
2881
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2875,7 +2897,7 @@ u.HTML5_FMT = {
|
|
|
2875
2897
|
MONTH: "YYYY-MM"
|
|
2876
2898
|
// <input type="month" />
|
|
2877
2899
|
};
|
|
2878
|
-
const
|
|
2900
|
+
const Pi = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Ei = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Lt = /(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Ke = [
|
|
2879
2901
|
/^janv/i,
|
|
2880
2902
|
/^févr/i,
|
|
2881
2903
|
/^mars/i,
|
|
@@ -2888,15 +2910,15 @@ const Ri = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2888
2910
|
/^oct/i,
|
|
2889
2911
|
/^nov/i,
|
|
2890
2912
|
/^déc/i
|
|
2891
|
-
],
|
|
2913
|
+
], Li = {
|
|
2892
2914
|
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2893
2915
|
"_"
|
|
2894
2916
|
),
|
|
2895
2917
|
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2896
2918
|
monthsRegex: Lt,
|
|
2897
2919
|
monthsShortRegex: Lt,
|
|
2898
|
-
monthsStrictRegex:
|
|
2899
|
-
monthsShortStrictRegex:
|
|
2920
|
+
monthsStrictRegex: Pi,
|
|
2921
|
+
monthsShortStrictRegex: Ei,
|
|
2900
2922
|
monthsParse: Ke,
|
|
2901
2923
|
longMonthsParse: Ke,
|
|
2902
2924
|
shortMonthsParse: Ke,
|
|
@@ -2959,26 +2981,26 @@ const Ri = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2959
2981
|
doy: 4
|
|
2960
2982
|
}
|
|
2961
2983
|
};
|
|
2962
|
-
u.locale("fr",
|
|
2963
|
-
const
|
|
2984
|
+
u.locale("fr", Li);
|
|
2985
|
+
const Wi = (e) => Math.round(5e3 * Math.pow(200, 0.01 * e) / 10) * 10, Tn = (e) => e >= 1 ? Tn(e - 1) + Wi(e) : 0, Hi = (e, t = 0) => e < Tn(t + 1) ? t : Hi(e, t + 1), Ai = (e) => Math.round(1e5 * Math.pow(50, 0.01 * e) / 10) * 10, xn = (e) => e >= 1 ? xn(e - 1) + Ai(e) : 0, Fi = (e, t = 0) => e < xn(t + 1) ? t : Fi(e, t + 1), Qi = ([e, t]) => t ? `${V("xp.user", { amount: $e(e), emoji: Ze.xp })} ${V("xp.crew", { amount: $e(t), emoji: Ze.xp })}` : V("xp.user", { amount: $e(e), emoji: Ze.xp });
|
|
2964
2986
|
export {
|
|
2965
|
-
|
|
2987
|
+
ji as CHARACTERISTICS,
|
|
2966
2988
|
Cn as CHARACTERISTIC_DEFAULT_POINT_COST,
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2989
|
+
Vi as CHARACTERISTIC_POINT_COSTS,
|
|
2990
|
+
Gi as CHARACTERISTIC_POINT_PER_LEVEL,
|
|
2991
|
+
$i as DEFAULT_FACTION,
|
|
2992
|
+
qi as DEFAULT_MAX_HP,
|
|
2993
|
+
Zi as FACTIONS,
|
|
2994
|
+
zi as HP_PER_VITALITY,
|
|
2995
|
+
Ii as RANKS,
|
|
2974
2996
|
T as RankId,
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2997
|
+
Bi as SORT_VALUES,
|
|
2998
|
+
Ai as crewXpToLevel,
|
|
2999
|
+
Qi as displayXp,
|
|
3000
|
+
Fi as getCurrentCrewLevel,
|
|
3001
|
+
Hi as getCurrentLevel,
|
|
3002
|
+
Ji as getNewSortValue,
|
|
2981
3003
|
xn as totalCrewXpToLevel,
|
|
2982
3004
|
Tn as totalXpToLevel,
|
|
2983
|
-
|
|
3005
|
+
Wi as xpToLevel
|
|
2984
3006
|
};
|