@opfr/utils-lang 0.0.37 → 0.0.39

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.
@@ -1,23 +1,23 @@
1
- const Nn = (e) => new Intl.NumberFormat("de-DE").format(e), Yr = (e, t, r = Math.random) => Math.floor(r() * (t - e) + e), Fn = (e) => {
1
+ const Fn = (e) => new Intl.NumberFormat("de-DE").format(e), Yr = (e, t, r = Math.random) => Math.floor(r() * (t - e) + e), Ln = (e) => {
2
2
  let t = e;
3
3
  const r = 2147483648, s = 1103515245, a = 12345;
4
4
  return () => (t = (s * t + a) % r, t / (r - 1));
5
- }, Ln = (e, t, r) => Math.max(t, Math.min(e, r)), Cn = (e) => typeof e == "number", In = (e, t) => e.reduce((r, s, a) => {
5
+ }, Cn = (e, t, r) => Math.max(t, Math.min(e, r)), In = (e) => typeof e == "number", Un = (e, t) => e.reduce((r, s, a) => {
6
6
  const i = Math.floor(a / t);
7
7
  return (r[i] || (r[i] = [])).push(s), r;
8
- }, []), Un = (e, t) => e.reduce(
8
+ }, []), Hn = (e, t) => e.reduce(
9
9
  (r, s) => ((r[t(s)] = r[t(s)] || []).push(s), r),
10
10
  {}
11
- ), Hn = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0), En = (e, t, r = (s) => s) => e.filter((s) => t.some((a) => r(a) === r(s))), An = (e, t, r = (s) => s) => e.filter((s) => !t.some((a) => r(a) === r(s))), jn = (e, t) => [...new Set(e.map((r) => t(r)))], Gn = (e) => {
11
+ ), An = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0), En = (e, t, r = (s) => s) => e.filter((s) => t.some((a) => r(a) === r(s))), jn = (e, t, r = (s) => s) => e.filter((s) => !t.some((a) => r(a) === r(s))), Gn = (e, t) => [...new Set(e.map((r) => t(r)))], Vn = (e) => {
12
12
  for (let t = e.length - 1; t > 0; t--) {
13
13
  const r = Math.floor(Math.random() * (t + 1));
14
14
  [e[t], e[r]] = [e[r], e[t]];
15
15
  }
16
16
  return e;
17
- }, Vn = (e) => e.filter((t) => t != null), zn = (e, t, r) => [
17
+ }, zn = (e) => e.filter((t) => t != null), $n = (e, t, r) => [
18
18
  ...e,
19
19
  ...r ? [t] : []
20
- ], $n = (e, t, r) => [...r ? [t] : [], ...e], qn = (e, t, r) => [...e, ...r ? t : []], Zn = (e) => e[Yr(0, e.length)], Bn = (e) => e != null;
20
+ ], qn = (e, t, r) => [...r ? [t] : [], ...e], Zn = (e, t, r) => [...e, ...r ? t : []], Bn = (e) => e[Yr(0, e.length)], Jn = (e) => e != null;
21
21
  //! moment.js
22
22
  //! version : 2.30.1
23
23
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -91,7 +91,7 @@ function Or() {
91
91
  weekdayMismatch: !1
92
92
  };
93
93
  }
94
- function c(e) {
94
+ function h(e) {
95
95
  return e._pf == null && (e._pf = Or()), e._pf;
96
96
  }
97
97
  var Je;
@@ -104,7 +104,7 @@ Array.prototype.some ? Je = Array.prototype.some : Je = function(e) {
104
104
  };
105
105
  function at(e) {
106
106
  var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
107
- if (s && (t = c(e), r = Je.call(t.parsedDateParts, function(a) {
107
+ if (s && (t = h(e), r = Je.call(t.parsedDateParts, function(a) {
108
108
  return a != null;
109
109
  }), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && r), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
110
110
  e._isValid = s;
@@ -114,12 +114,12 @@ function at(e) {
114
114
  }
115
115
  function Fe(e) {
116
116
  var t = U(NaN);
117
- return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
117
+ return e != null ? Q(h(t), e) : h(t).userInvalidated = !0, t;
118
118
  }
119
119
  var bt = l.momentProperties = [], ze = !1;
120
120
  function it(e, t) {
121
121
  var r, s, a, i = bt.length;
122
- if (O(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), O(t._i) || (e._i = t._i), O(t._f) || (e._f = t._f), O(t._l) || (e._l = t._l), O(t._strict) || (e._strict = t._strict), O(t._tzm) || (e._tzm = t._tzm), O(t._isUTC) || (e._isUTC = t._isUTC), O(t._offset) || (e._offset = t._offset), O(t._pf) || (e._pf = c(t)), O(t._locale) || (e._locale = t._locale), i > 0)
122
+ if (O(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), O(t._i) || (e._i = t._i), O(t._f) || (e._f = t._f), O(t._l) || (e._l = t._l), O(t._strict) || (e._strict = t._strict), O(t._tzm) || (e._tzm = t._tzm), O(t._isUTC) || (e._isUTC = t._isUTC), O(t._offset) || (e._offset = t._offset), O(t._pf) || (e._pf = h(t)), O(t._locale) || (e._locale = t._locale), i > 0)
123
123
  for (r = 0; r < i; r++)
124
124
  s = bt[r], a = t[s], O(a) || (e[s] = a);
125
125
  return e;
@@ -210,7 +210,7 @@ function I(e, t, r) {
210
210
  return (i ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
211
211
  }
212
212
  var ot = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, De = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, $e = {}, oe = {};
213
- function f(e, t, r, s) {
213
+ function c(e, t, r, s) {
214
214
  var a = s;
215
215
  typeof s == "string" && (a = function() {
216
216
  return this[s]();
@@ -274,7 +274,7 @@ var Ir = "%d", Ur = /\d{1,2}/;
274
274
  function Hr(e) {
275
275
  return this._ordinal.replace("%d", e);
276
276
  }
277
- var Er = {
277
+ var Ar = {
278
278
  future: "in %s",
279
279
  past: "%s ago",
280
280
  s: "a few seconds",
@@ -292,7 +292,7 @@ var Er = {
292
292
  y: "a year",
293
293
  yy: "%d years"
294
294
  };
295
- function Ar(e, t, r, s) {
295
+ function Er(e, t, r, s) {
296
296
  var a = this._relativeTime[r];
297
297
  return H(a) ? a(e, t, r, s) : a.replace(/%d/i, e);
298
298
  }
@@ -385,7 +385,7 @@ function Vr(e) {
385
385
  return s.priority - a.priority;
386
386
  }), t;
387
387
  }
388
- var Ut = /\d/, T = /\d\d/, Ht = /\d{3}/, ut = /\d{4}/, Le = /[+-]?\d{6}/, v = /\d\d?/, Et = /\d\d\d\d?/, At = /\d\d\d\d\d\d?/, Ce = /\d{1,3}/, dt = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, de = /\d+/, Ue = /[+-]?\d+/, zr = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, $r = /[+-]?\d+(\.\d{1,3})?/, ke = /[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?/, ft = /^([1-9]\d|\d)/, xe;
388
+ var Ut = /\d/, T = /\d\d/, Ht = /\d{3}/, ut = /\d{4}/, Le = /[+-]?\d{6}/, v = /\d\d?/, At = /\d\d\d\d?/, Et = /\d\d\d\d\d\d?/, Ce = /\d{1,3}/, dt = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, de = /\d+/, Ue = /[+-]?\d+/, zr = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, $r = /[+-]?\d+(\.\d{1,3})?/, ke = /[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, ce = /^[1-9]\d?/, ct = /^([1-9]\d|\d)/, xe;
389
389
  xe = {};
390
390
  function d(e, t, r) {
391
391
  xe[e] = H(t) ? t : function(s, a) {
@@ -431,20 +431,20 @@ function Se(e, t) {
431
431
  function Br(e, t, r) {
432
432
  t != null && p(Xe, e) && Xe[e](t, r._a, r, e);
433
433
  }
434
- function Ee(e) {
434
+ function Ae(e) {
435
435
  return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
436
436
  }
437
437
  var Y = 0, G = 1, C = 2, D = 3, R = 4, V = 5, te = 6, Jr = 7, Qr = 8;
438
- f("Y", 0, 0, function() {
438
+ c("Y", 0, 0, function() {
439
439
  var e = this.year();
440
440
  return e <= 9999 ? I(e, 4) : "+" + e;
441
441
  });
442
- f(0, ["YY", 2], 0, function() {
442
+ c(0, ["YY", 2], 0, function() {
443
443
  return this.year() % 100;
444
444
  });
445
- f(0, ["YYYY", 4], 0, "year");
446
- f(0, ["YYYYY", 5], 0, "year");
447
- f(0, ["YYYYYY", 6, !0], 0, "year");
445
+ c(0, ["YYYY", 4], 0, "year");
446
+ c(0, ["YYYYY", 5], 0, "year");
447
+ c(0, ["YYYYYY", 6, !0], 0, "year");
448
448
  d("Y", Ue);
449
449
  d("YY", v, T);
450
450
  d("YYYY", dt, ut);
@@ -461,16 +461,16 @@ g("Y", function(e, t) {
461
461
  t[Y] = parseInt(e, 10);
462
462
  });
463
463
  function me(e) {
464
- return Ee(e) ? 366 : 365;
464
+ return Ae(e) ? 366 : 365;
465
465
  }
466
466
  l.parseTwoDigitYear = function(e) {
467
467
  return _(e) + (_(e) > 68 ? 1900 : 2e3);
468
468
  };
469
- var jt = he("FullYear", !0);
469
+ var jt = fe("FullYear", !0);
470
470
  function Kr() {
471
- return Ee(this.year());
471
+ return Ae(this.year());
472
472
  }
473
- function he(e, t) {
473
+ function fe(e, t) {
474
474
  return function(r) {
475
475
  return r != null ? (Gt(this, e, r), l.updateOffset(this, t), this) : ye(this, e);
476
476
  };
@@ -519,7 +519,7 @@ function Gt(e, t, r) {
519
519
  default:
520
520
  return;
521
521
  }
522
- i = r, n = e.month(), u = e.date(), u = u === 29 && n === 1 && !Ee(i) ? 28 : u, a ? s.setUTCFullYear(i, n, u) : s.setFullYear(i, n, u);
522
+ i = r, n = e.month(), u = e.date(), u = u === 29 && n === 1 && !Ae(i) ? 28 : u, a ? s.setUTCFullYear(i, n, u) : s.setFullYear(i, n, u);
523
523
  }
524
524
  }
525
525
  function Xr(e) {
@@ -546,22 +546,22 @@ Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
546
546
  return t;
547
547
  return -1;
548
548
  };
549
- function ht(e, t) {
549
+ function ft(e, t) {
550
550
  if (isNaN(e) || isNaN(t))
551
551
  return NaN;
552
552
  var r = ts(t, 12);
553
- return e += (t - r) / 12, r === 1 ? Ee(e) ? 29 : 28 : 31 - r % 7 % 2;
553
+ return e += (t - r) / 12, r === 1 ? Ae(e) ? 29 : 28 : 31 - r % 7 % 2;
554
554
  }
555
- f("M", ["MM", 2], "Mo", function() {
555
+ c("M", ["MM", 2], "Mo", function() {
556
556
  return this.month() + 1;
557
557
  });
558
- f("MMM", 0, 0, function(e) {
558
+ c("MMM", 0, 0, function(e) {
559
559
  return this.localeData().monthsShort(this, e);
560
560
  });
561
- f("MMMM", 0, 0, function(e) {
561
+ c("MMMM", 0, 0, function(e) {
562
562
  return this.localeData().months(this, e);
563
563
  });
564
- d("M", v, fe);
564
+ d("M", v, ce);
565
565
  d("MM", v, T);
566
566
  d("MMM", function(e, t) {
567
567
  return t.monthsShortRegex(e);
@@ -574,7 +574,7 @@ g(["M", "MM"], function(e, t) {
574
574
  });
575
575
  g(["MMM", "MMMM"], function(e, t, r, s) {
576
576
  var a = r._locale.monthsParse(e, s, r._strict);
577
- a != null ? t[G] = a : c(r).invalidMonth = e;
577
+ a != null ? t[G] = a : h(r).invalidMonth = e;
578
578
  });
579
579
  var rs = "January_February_March_April_May_June_July_August_September_October_November_December".split(
580
580
  "_"
@@ -624,23 +624,23 @@ function $t(e, t) {
624
624
  return e;
625
625
  }
626
626
  var r = t, s = e.date();
627
- return s = s < 29 ? s : Math.min(s, ht(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
627
+ return s = s < 29 ? s : Math.min(s, ft(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
628
628
  }
629
629
  function qt(e) {
630
630
  return e != null ? ($t(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
631
631
  }
632
632
  function us() {
633
- return ht(this.year(), this.month());
633
+ return ft(this.year(), this.month());
634
634
  }
635
635
  function ds(e) {
636
636
  return this._monthsParseExact ? (p(this, "_monthsRegex") || Zt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (p(this, "_monthsShortRegex") || (this._monthsShortRegex = ss), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
637
637
  }
638
- function fs(e) {
638
+ function cs(e) {
639
639
  return this._monthsParseExact ? (p(this, "_monthsRegex") || Zt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (p(this, "_monthsRegex") || (this._monthsRegex = as), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
640
640
  }
641
641
  function Zt() {
642
- function e(h, m) {
643
- return m.length - h.length;
642
+ function e(f, m) {
643
+ return m.length - f.length;
644
644
  }
645
645
  var t = [], r = [], s = [], a, i, n, u;
646
646
  for (a = 0; a < 12; a++)
@@ -653,7 +653,7 @@ function Zt() {
653
653
  "i"
654
654
  );
655
655
  }
656
- function hs(e, t, r, s, a, i, n) {
656
+ function fs(e, t, r, s, a, i, n) {
657
657
  var u;
658
658
  return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r, s, a, i, n), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, r, s, a, i, n), u;
659
659
  }
@@ -666,9 +666,9 @@ function Pe(e, t, r) {
666
666
  return -a + s - 1;
667
667
  }
668
668
  function Bt(e, t, r, s, a) {
669
- var i = (7 + r - s) % 7, n = Pe(e, s, a), u = 1 + 7 * (t - 1) + i + n, h, m;
670
- return u <= 0 ? (h = e - 1, m = me(h) + u) : u > me(e) ? (h = e + 1, m = u - me(e)) : (h = e, m = u), {
671
- year: h,
669
+ var i = (7 + r - s) % 7, n = Pe(e, s, a), u = 1 + 7 * (t - 1) + i + n, f, m;
670
+ return u <= 0 ? (f = e - 1, m = me(f) + u) : u > me(e) ? (f = e + 1, m = u - me(e)) : (f = e, m = u), {
671
+ year: f,
672
672
  dayOfYear: m
673
673
  };
674
674
  }
@@ -683,11 +683,11 @@ function $(e, t, r) {
683
683
  var s = Pe(e, t, r), a = Pe(e + 1, t, r);
684
684
  return (me(e) - s + a) / 7;
685
685
  }
686
- f("w", ["ww", 2], "wo", "week");
687
- f("W", ["WW", 2], "Wo", "isoWeek");
688
- d("w", v, fe);
686
+ c("w", ["ww", 2], "wo", "week");
687
+ c("W", ["WW", 2], "Wo", "isoWeek");
688
+ d("w", v, ce);
689
689
  d("ww", v, T);
690
- d("W", v, fe);
690
+ d("W", v, ce);
691
691
  d("WW", v, T);
692
692
  Se(
693
693
  ["w", "ww", "W", "WW"],
@@ -695,7 +695,7 @@ Se(
695
695
  t[s.substr(0, 1)] = _(e);
696
696
  }
697
697
  );
698
- function cs(e) {
698
+ function hs(e) {
699
699
  return we(e, this._week.dow, this._week.doy).week;
700
700
  }
701
701
  var _s = {
@@ -718,18 +718,18 @@ function ws(e) {
718
718
  var t = we(this, 1, 4).week;
719
719
  return e == null ? t : this.add((e - t) * 7, "d");
720
720
  }
721
- f("d", 0, "do", "day");
722
- f("dd", 0, 0, function(e) {
721
+ c("d", 0, "do", "day");
722
+ c("dd", 0, 0, function(e) {
723
723
  return this.localeData().weekdaysMin(this, e);
724
724
  });
725
- f("ddd", 0, 0, function(e) {
725
+ c("ddd", 0, 0, function(e) {
726
726
  return this.localeData().weekdaysShort(this, e);
727
727
  });
728
- f("dddd", 0, 0, function(e) {
728
+ c("dddd", 0, 0, function(e) {
729
729
  return this.localeData().weekdays(this, e);
730
730
  });
731
- f("e", 0, 0, "weekday");
732
- f("E", 0, 0, "isoWeekday");
731
+ c("e", 0, 0, "weekday");
732
+ c("E", 0, 0, "isoWeekday");
733
733
  d("d", v);
734
734
  d("e", v);
735
735
  d("E", v);
@@ -744,7 +744,7 @@ d("dddd", function(e, t) {
744
744
  });
745
745
  Se(["dd", "ddd", "dddd"], function(e, t, r, s) {
746
746
  var a = r._locale.weekdaysParse(e, s, r._strict);
747
- a != null ? t.d = a : c(r).invalidWeekday = e;
747
+ a != null ? t.d = a : h(r).invalidWeekday = e;
748
748
  });
749
749
  Se(["d", "e", "E"], function(e, t, r, s) {
750
750
  t[s] = _(e);
@@ -755,19 +755,19 @@ function gs(e, t) {
755
755
  function Ms(e, t) {
756
756
  return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
757
757
  }
758
- function ct(e, t) {
758
+ function ht(e, t) {
759
759
  return e.slice(t, 7).concat(e.slice(0, t));
760
760
  }
761
761
  var vs = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Jt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), ks = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ss = ke, Ds = ke, Ys = ke;
762
762
  function bs(e, t) {
763
763
  var r = N(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
764
- return e === !0 ? ct(r, this._week.dow) : e ? r[e.day()] : r;
764
+ return e === !0 ? ht(r, this._week.dow) : e ? r[e.day()] : r;
765
765
  }
766
766
  function Os(e) {
767
- return e === !0 ? ct(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
767
+ return e === !0 ? ht(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
768
768
  }
769
769
  function Ts(e) {
770
- return e === !0 ? ct(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
770
+ return e === !0 ? ht(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
771
771
  }
772
772
  function xs(e, t, r) {
773
773
  var s, a, i, n = e.toLocaleLowerCase();
@@ -837,12 +837,12 @@ function Cs(e) {
837
837
  return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (p(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ys), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
838
838
  }
839
839
  function _t() {
840
- function e(b, E) {
841
- return E.length - b.length;
840
+ function e(b, A) {
841
+ return A.length - b.length;
842
842
  }
843
- var t = [], r = [], s = [], a = [], i, n, u, h, m;
843
+ var t = [], r = [], s = [], a = [], i, n, u, f, m;
844
844
  for (i = 0; i < 7; i++)
845
- n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")), h = z(this.weekdaysShort(n, "")), m = z(this.weekdays(n, "")), t.push(u), r.push(h), s.push(m), a.push(u), a.push(h), a.push(m);
845
+ n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")), f = z(this.weekdaysShort(n, "")), m = z(this.weekdays(n, "")), t.push(u), r.push(f), s.push(m), a.push(u), a.push(f), a.push(m);
846
846
  t.sort(e), r.sort(e), s.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
847
847
  "^(" + s.join("|") + ")",
848
848
  "i"
@@ -860,23 +860,23 @@ function mt() {
860
860
  function Is() {
861
861
  return this.hours() || 24;
862
862
  }
863
- f("H", ["HH", 2], 0, "hour");
864
- f("h", ["hh", 2], 0, mt);
865
- f("k", ["kk", 2], 0, Is);
866
- f("hmm", 0, 0, function() {
863
+ c("H", ["HH", 2], 0, "hour");
864
+ c("h", ["hh", 2], 0, mt);
865
+ c("k", ["kk", 2], 0, Is);
866
+ c("hmm", 0, 0, function() {
867
867
  return "" + mt.apply(this) + I(this.minutes(), 2);
868
868
  });
869
- f("hmmss", 0, 0, function() {
869
+ c("hmmss", 0, 0, function() {
870
870
  return "" + mt.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
871
871
  });
872
- f("Hmm", 0, 0, function() {
872
+ c("Hmm", 0, 0, function() {
873
873
  return "" + this.hours() + I(this.minutes(), 2);
874
874
  });
875
- f("Hmmss", 0, 0, function() {
875
+ c("Hmmss", 0, 0, function() {
876
876
  return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
877
877
  });
878
878
  function Qt(e, t) {
879
- f(e, 0, 0, function() {
879
+ c(e, 0, 0, function() {
880
880
  return this.localeData().meridiem(
881
881
  this.hours(),
882
882
  this.minutes(),
@@ -891,16 +891,16 @@ function Kt(e, t) {
891
891
  }
892
892
  d("a", Kt);
893
893
  d("A", Kt);
894
- d("H", v, ft);
895
- d("h", v, fe);
896
- d("k", v, fe);
894
+ d("H", v, ct);
895
+ d("h", v, ce);
896
+ d("k", v, ce);
897
897
  d("HH", v, T);
898
898
  d("hh", v, T);
899
899
  d("kk", v, T);
900
- d("hmm", Et);
901
- d("hmmss", At);
902
- d("Hmm", Et);
903
- d("Hmmss", At);
900
+ d("hmm", At);
901
+ d("hmmss", Et);
902
+ d("Hmm", At);
903
+ d("Hmmss", Et);
904
904
  g(["H", "HH"], D);
905
905
  g(["k", "kk"], function(e, t, r) {
906
906
  var s = _(e);
@@ -910,15 +910,15 @@ g(["a", "A"], function(e, t, r) {
910
910
  r._isPm = r._locale.isPM(e), r._meridiem = e;
911
911
  });
912
912
  g(["h", "hh"], function(e, t, r) {
913
- t[D] = _(e), c(r).bigHour = !0;
913
+ t[D] = _(e), h(r).bigHour = !0;
914
914
  });
915
915
  g("hmm", function(e, t, r) {
916
916
  var s = e.length - 2;
917
- t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s)), c(r).bigHour = !0;
917
+ t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s)), h(r).bigHour = !0;
918
918
  });
919
919
  g("hmmss", function(e, t, r) {
920
920
  var s = e.length - 4, a = e.length - 2;
921
- t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[V] = _(e.substr(a)), c(r).bigHour = !0;
921
+ t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[V] = _(e.substr(a)), h(r).bigHour = !0;
922
922
  });
923
923
  g("Hmm", function(e, t, r) {
924
924
  var s = e.length - 2;
@@ -931,8 +931,8 @@ g("Hmmss", function(e, t, r) {
931
931
  function Us(e) {
932
932
  return (e + "").toLowerCase().charAt(0) === "p";
933
933
  }
934
- var Hs = /[ap]\.?m?\.?/i, Es = he("Hours", !0);
935
- function As(e, t, r) {
934
+ var Hs = /[ap]\.?m?\.?/i, As = fe("Hours", !0);
935
+ function Es(e, t, r) {
936
936
  return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
937
937
  }
938
938
  var Xt = {
@@ -941,7 +941,7 @@ var Xt = {
941
941
  invalidDate: Lr,
942
942
  ordinal: Ir,
943
943
  dayOfMonthOrdinalParse: Ur,
944
- relativeTime: Er,
944
+ relativeTime: Ar,
945
945
  months: rs,
946
946
  monthsShort: Vt,
947
947
  week: _s,
@@ -949,7 +949,7 @@ var Xt = {
949
949
  weekdaysMin: ks,
950
950
  weekdaysShort: Jt,
951
951
  meridiemParse: Hs
952
- }, k = {}, ce = {}, ge;
952
+ }, k = {}, he = {}, ge;
953
953
  function js(e, t) {
954
954
  var r, s = Math.min(e.length, t.length);
955
955
  for (r = 0; r < s; r += 1)
@@ -963,7 +963,7 @@ function xt(e) {
963
963
  function Gs(e) {
964
964
  for (var t = 0, r, s, a, i; t < e.length; ) {
965
965
  for (i = xt(e[t]).split("-"), r = i.length, s = xt(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
966
- if (a = Ae(i.slice(0, r).join("-")), a)
966
+ if (a = Ee(i.slice(0, r).join("-")), a)
967
967
  return a;
968
968
  if (s && s.length >= r && js(i, s) >= r - 1)
969
969
  break;
@@ -976,7 +976,7 @@ function Gs(e) {
976
976
  function Vs(e) {
977
977
  return !!(e && e.match("^[^/\\\\]*$"));
978
978
  }
979
- function Ae(e) {
979
+ function Ee(e) {
980
980
  var t = null, r;
981
981
  if (k[e] === void 0 && typeof module < "u" && module && module.exports && Vs(e))
982
982
  try {
@@ -1003,14 +1003,14 @@ function yt(e, t) {
1003
1003
  else if (t.parentLocale != null)
1004
1004
  if (k[t.parentLocale] != null)
1005
1005
  s = k[t.parentLocale]._config;
1006
- else if (r = Ae(t.parentLocale), r != null)
1006
+ else if (r = Ee(t.parentLocale), r != null)
1007
1007
  s = r._config;
1008
1008
  else
1009
- return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
1009
+ return he[t.parentLocale] || (he[t.parentLocale] = []), he[t.parentLocale].push({
1010
1010
  name: e,
1011
1011
  config: t
1012
1012
  }), null;
1013
- return k[e] = new nt(Qe(s, t)), ce[e] && ce[e].forEach(function(a) {
1013
+ return k[e] = new nt(Qe(s, t)), he[e] && he[e].forEach(function(a) {
1014
1014
  yt(a.name, a.config);
1015
1015
  }), X(e), k[e];
1016
1016
  } else
@@ -1019,7 +1019,7 @@ function yt(e, t) {
1019
1019
  function zs(e, t) {
1020
1020
  if (t != null) {
1021
1021
  var r, s, a = Xt;
1022
- k[e] != null && k[e].parentLocale != null ? k[e].set(Qe(k[e]._config, t)) : (s = Ae(e), s != null && (a = s._config), t = Qe(a, t), s == null && (t.abbr = e), r = new nt(t), r.parentLocale = k[e], k[e] = r), X(e);
1022
+ k[e] != null && k[e].parentLocale != null ? k[e].set(Qe(k[e]._config, t)) : (s = Ee(e), s != null && (a = s._config), t = Qe(a, t), s == null && (t.abbr = e), r = new nt(t), r.parentLocale = k[e], k[e] = r), X(e);
1023
1023
  } else
1024
1024
  k[e] != null && (k[e].parentLocale != null ? (k[e] = k[e].parentLocale, e === X() && X(e)) : k[e] != null && delete k[e]);
1025
1025
  return k[e];
@@ -1029,7 +1029,7 @@ function Z(e) {
1029
1029
  if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
1030
1030
  return ge;
1031
1031
  if (!N(e)) {
1032
- if (t = Ae(e), t)
1032
+ if (t = Ee(e), t)
1033
1033
  return t;
1034
1034
  e = [e];
1035
1035
  }
@@ -1040,7 +1040,7 @@ function $s() {
1040
1040
  }
1041
1041
  function pt(e) {
1042
1042
  var t, r = e._a;
1043
- return r && c(e).overflow === -2 && (t = r[G] < 0 || r[G] > 11 ? G : r[C] < 1 || r[C] > ht(r[Y], r[G]) ? C : r[D] < 0 || r[D] > 24 || r[D] === 24 && (r[R] !== 0 || r[V] !== 0 || r[te] !== 0) ? D : r[R] < 0 || r[R] > 59 ? R : r[V] < 0 || r[V] > 59 ? V : r[te] < 0 || r[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > C) && (t = C), c(e)._overflowWeeks && t === -1 && (t = Jr), c(e)._overflowWeekday && t === -1 && (t = Qr), c(e).overflow = t), e;
1043
+ return r && h(e).overflow === -2 && (t = r[G] < 0 || r[G] > 11 ? G : r[C] < 1 || r[C] > ft(r[Y], r[G]) ? C : r[D] < 0 || r[D] > 24 || r[D] === 24 && (r[R] !== 0 || r[V] !== 0 || r[te] !== 0) ? D : r[R] < 0 || r[R] > 59 ? R : r[V] < 0 || r[V] > 59 ? V : r[te] < 0 || r[te] > 999 ? te : -1, h(e)._overflowDayOfYear && (t < Y || t > C) && (t = C), h(e)._overflowWeeks && t === -1 && (t = Jr), h(e)._overflowWeekday && t === -1 && (t = Qr), h(e).overflow = t), e;
1044
1044
  }
1045
1045
  var qs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Zs = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Bs = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
1046
1046
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
@@ -1079,9 +1079,9 @@ var qs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
1079
1079
  PST: -8 * 60
1080
1080
  };
1081
1081
  function er(e) {
1082
- var t, r, s = e._i, a = qs.exec(s) || Zs.exec(s), i, n, u, h, m = Ye.length, b = qe.length;
1082
+ var t, r, s = e._i, a = qs.exec(s) || Zs.exec(s), i, n, u, f, m = Ye.length, b = qe.length;
1083
1083
  if (a) {
1084
- for (c(e).iso = !0, t = 0, r = m; t < r; t++)
1084
+ for (h(e).iso = !0, t = 0, r = m; t < r; t++)
1085
1085
  if (Ye[t][1].exec(a[1])) {
1086
1086
  n = Ye[t][0], i = Ye[t][2] !== !1;
1087
1087
  break;
@@ -1107,12 +1107,12 @@ function er(e) {
1107
1107
  }
1108
1108
  if (a[4])
1109
1109
  if (Bs.exec(a[4]))
1110
- h = "Z";
1110
+ f = "Z";
1111
1111
  else {
1112
1112
  e._isValid = !1;
1113
1113
  return;
1114
1114
  }
1115
- e._f = n + (u || "") + (h || ""), gt(e);
1115
+ e._f = n + (u || "") + (f || ""), gt(e);
1116
1116
  } else
1117
1117
  e._isValid = !1;
1118
1118
  }
@@ -1141,7 +1141,7 @@ function ra(e, t, r) {
1141
1141
  t[2]
1142
1142
  ).getDay();
1143
1143
  if (s !== a)
1144
- return c(r).weekdayMismatch = !0, r._isValid = !1, !1;
1144
+ return h(r).weekdayMismatch = !0, r._isValid = !1, !1;
1145
1145
  }
1146
1146
  return !0;
1147
1147
  }
@@ -1165,7 +1165,7 @@ function tr(e) {
1165
1165
  t[7]
1166
1166
  ), !ra(t[1], r, e))
1167
1167
  return;
1168
- e._a = r, e._tzm = sa(t[8], t[9], t[10]), e._d = pe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
1168
+ e._a = r, e._tzm = sa(t[8], t[9], t[10]), e._d = pe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), h(e).rfc2822 = !0;
1169
1169
  } else
1170
1170
  e._isValid = !1;
1171
1171
  }
@@ -1205,23 +1205,23 @@ function ia(e) {
1205
1205
  function wt(e) {
1206
1206
  var t, r, s = [], a, i, n;
1207
1207
  if (!e._d) {
1208
- for (a = ia(e), e._w && e._a[C] == null && e._a[G] == null && na(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear > me(n) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), r = pe(n, 0, e._dayOfYear), e._a[G] = r.getUTCMonth(), e._a[C] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1208
+ for (a = ia(e), e._w && e._a[C] == null && e._a[G] == null && na(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear > me(n) || e._dayOfYear === 0) && (h(e)._overflowDayOfYear = !0), r = pe(n, 0, e._dayOfYear), e._a[G] = r.getUTCMonth(), e._a[C] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1209
1209
  e._a[t] = s[t] = a[t];
1210
1210
  for (; t < 7; t++)
1211
1211
  e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
1212
- e._a[D] === 24 && e._a[R] === 0 && e._a[V] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? pe : hs).apply(
1212
+ e._a[D] === 24 && e._a[R] === 0 && e._a[V] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? pe : fs).apply(
1213
1213
  null,
1214
1214
  s
1215
- ), i = 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 !== i && (c(e).weekdayMismatch = !0);
1215
+ ), i = 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 !== i && (h(e).weekdayMismatch = !0);
1216
1216
  }
1217
1217
  }
1218
1218
  function na(e) {
1219
- var t, r, s, a, i, n, u, h, m;
1219
+ var t, r, s, a, i, n, u, f, m;
1220
1220
  t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, n = 4, r = ie(
1221
1221
  t.GG,
1222
1222
  e._a[Y],
1223
1223
  we(M(), 1, 4).year
1224
- ), s = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy, m = we(M(), i, n), r = ie(t.gg, e._a[Y], m.year), s = ie(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (h = !0)) : a = i), s < 1 || s > $(r, i, n) ? c(e)._overflowWeeks = !0 : h != null ? c(e)._overflowWeekday = !0 : (u = Bt(r, s, a, i, n), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
1224
+ ), s = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy, m = we(M(), i, n), r = ie(t.gg, e._a[Y], m.year), s = ie(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (f = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (f = !0)) : a = i), s < 1 || s > $(r, i, n) ? h(e)._overflowWeeks = !0 : f != null ? h(e)._overflowWeekday = !0 : (u = Bt(r, s, a, i, n), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
1225
1225
  }
1226
1226
  l.ISO_8601 = function() {
1227
1227
  };
@@ -1236,30 +1236,30 @@ function gt(e) {
1236
1236
  tr(e);
1237
1237
  return;
1238
1238
  }
1239
- e._a = [], c(e).empty = !0;
1240
- var t = "" + e._i, r, s, a, i, n, u = t.length, h = 0, m, b;
1239
+ e._a = [], h(e).empty = !0;
1240
+ var t = "" + e._i, r, s, a, i, n, u = t.length, f = 0, m, b;
1241
1241
  for (a = It(e._f, e._locale).match(ot) || [], b = a.length, r = 0; r < b; r++)
1242
- i = a[r], s = (t.match(qr(i, e)) || [])[0], s && (n = t.substr(0, t.indexOf(s)), n.length > 0 && c(e).unusedInput.push(n), t = t.slice(
1242
+ i = a[r], s = (t.match(qr(i, e)) || [])[0], s && (n = t.substr(0, t.indexOf(s)), n.length > 0 && h(e).unusedInput.push(n), t = t.slice(
1243
1243
  t.indexOf(s) + s.length
1244
- ), h += s.length), oe[i] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(i), Br(i, s, e)) : e._strict && !s && c(e).unusedTokens.push(i);
1245
- c(e).charsLeftOver = u - h, t.length > 0 && c(e).unusedInput.push(t), e._a[D] <= 12 && c(e).bigHour === !0 && e._a[D] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[D] = oa(
1244
+ ), f += s.length), oe[i] ? (s ? h(e).empty = !1 : h(e).unusedTokens.push(i), Br(i, s, e)) : e._strict && !s && h(e).unusedTokens.push(i);
1245
+ h(e).charsLeftOver = u - f, t.length > 0 && h(e).unusedInput.push(t), e._a[D] <= 12 && h(e).bigHour === !0 && e._a[D] > 0 && (h(e).bigHour = void 0), h(e).parsedDateParts = e._a.slice(0), h(e).meridiem = e._meridiem, e._a[D] = oa(
1246
1246
  e._locale,
1247
1247
  e._a[D],
1248
1248
  e._meridiem
1249
- ), m = c(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), wt(e), pt(e);
1249
+ ), m = h(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), wt(e), pt(e);
1250
1250
  }
1251
1251
  function oa(e, t, r) {
1252
1252
  var s;
1253
1253
  return r == null ? t : e.meridiemHour != null ? e.meridiemHour(t, r) : (e.isPM != null && (s = e.isPM(r), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
1254
1254
  }
1255
1255
  function la(e) {
1256
- var t, r, s, a, i, n, u = !1, h = e._f.length;
1257
- if (h === 0) {
1258
- c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1256
+ var t, r, s, a, i, n, u = !1, f = e._f.length;
1257
+ if (f === 0) {
1258
+ h(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1259
1259
  return;
1260
1260
  }
1261
- for (a = 0; a < h; a++)
1262
- i = 0, n = !1, t = it({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], gt(t), at(t) && (n = !0), i += c(t).charsLeftOver, i += c(t).unusedTokens.length * 10, c(t).score = i, u ? i < s && (s = i, r = t) : (s == null || i < s || n) && (s = i, r = t, n && (u = !0));
1261
+ for (a = 0; a < f; a++)
1262
+ i = 0, n = !1, t = it({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], gt(t), at(t) && (n = !0), i += h(t).charsLeftOver, i += h(t).unusedTokens.length * 10, h(t).score = i, u ? i < s && (s = i, r = t) : (s == null || i < s || n) && (s = i, r = t, n && (u = !0));
1263
1263
  Q(e, r || t);
1264
1264
  }
1265
1265
  function ua(e) {
@@ -1279,9 +1279,9 @@ function da(e) {
1279
1279
  }
1280
1280
  function rr(e) {
1281
1281
  var t = e._i, r = e._f;
1282
- return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ve(pt(t)) : (Me(t) ? e._d = t : N(r) ? la(e) : r ? gt(e) : fa(e), at(e) || (e._d = null), e));
1282
+ return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ve(pt(t)) : (Me(t) ? e._d = t : N(r) ? la(e) : r ? gt(e) : ca(e), at(e) || (e._d = null), e));
1283
1283
  }
1284
- function fa(e) {
1284
+ function ca(e) {
1285
1285
  var t = e._i;
1286
1286
  O(t) ? e._d = new Date(l.now()) : Me(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? aa(e) : N(t) ? (e._a = Ft(t.slice(0), function(r) {
1287
1287
  return parseInt(r, 10);
@@ -1294,13 +1294,13 @@ function sr(e, t, r, s, a) {
1294
1294
  function M(e, t, r, s) {
1295
1295
  return sr(e, t, r, s, !1);
1296
1296
  }
1297
- var ha = P(
1297
+ var fa = P(
1298
1298
  "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1299
1299
  function() {
1300
1300
  var e = M.apply(null, arguments);
1301
1301
  return this.isValid() && e.isValid() ? e < this ? this : e : Fe();
1302
1302
  }
1303
- ), ca = P(
1303
+ ), ha = P(
1304
1304
  "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1305
1305
  function() {
1306
1306
  var e = M.apply(null, arguments);
@@ -1356,9 +1356,9 @@ function ga() {
1356
1356
  return L(NaN);
1357
1357
  }
1358
1358
  function je(e) {
1359
- var t = lt(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, i = t.week || t.isoWeek || 0, n = t.day || 0, u = t.hour || 0, h = t.minute || 0, m = t.second || 0, b = t.millisecond || 0;
1359
+ var t = lt(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, i = t.week || t.isoWeek || 0, n = t.day || 0, u = t.hour || 0, f = t.minute || 0, m = t.second || 0, b = t.millisecond || 0;
1360
1360
  this._isValid = pa(t), this._milliseconds = +b + m * 1e3 + // 1000
1361
- h * 6e4 + // 1000 * 60
1361
+ f * 6e4 + // 1000 * 60
1362
1362
  u * 1e3 * 60 * 60, this._days = +n + i * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = Z(), this._bubble();
1363
1363
  }
1364
1364
  function Oe(e) {
@@ -1374,7 +1374,7 @@ function Ma(e, t, r) {
1374
1374
  return i + a;
1375
1375
  }
1376
1376
  function ir(e, t) {
1377
- f(e, 0, 0, function() {
1377
+ c(e, 0, 0, function() {
1378
1378
  var r = this.utcOffset(), s = "+";
1379
1379
  return r < 0 && (r = -r, s = "-"), s + I(~~(r / 60), 2) + t + I(~~r % 60, 2);
1380
1380
  });
@@ -1557,7 +1557,7 @@ function Ha(e) {
1557
1557
  return !q(s) && ur(e);
1558
1558
  }).length === 0), t && r;
1559
1559
  }
1560
- function Ea(e) {
1560
+ function Aa(e) {
1561
1561
  var t = re(e) && !st(e), r = !1, s = [
1562
1562
  "sameDay",
1563
1563
  "nextDay",
@@ -1570,12 +1570,12 @@ function Ea(e) {
1570
1570
  i = s[a], r = r || p(e, i);
1571
1571
  return t && r;
1572
1572
  }
1573
- function Aa(e, t) {
1573
+ function Ea(e, t) {
1574
1574
  var r = e.diff(t, "days", !0);
1575
1575
  return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
1576
1576
  }
1577
1577
  function ja(e, t) {
1578
- arguments.length === 1 && (arguments[0] ? Ia(arguments[0]) ? (e = arguments[0], t = void 0) : Ea(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1578
+ arguments.length === 1 && (arguments[0] ? Ia(arguments[0]) ? (e = arguments[0], t = void 0) : Aa(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1579
1579
  var r = e || M(), s = vt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", i = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
1580
1580
  return this.format(
1581
1581
  i || this.localeData().calendar(a, this, M(r))
@@ -1692,24 +1692,24 @@ function dr(e) {
1692
1692
  var t;
1693
1693
  return e === void 0 ? this._locale._abbr : (t = Z(e), t != null && (this._locale = t), this);
1694
1694
  }
1695
- var fr = P(
1695
+ var cr = P(
1696
1696
  "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1697
1697
  function(e) {
1698
1698
  return e === void 0 ? this.localeData() : this.locale(e);
1699
1699
  }
1700
1700
  );
1701
- function hr() {
1701
+ function fr() {
1702
1702
  return this._locale;
1703
1703
  }
1704
- var We = 1e3, le = 60 * We, Re = 60 * le, cr = (365 * 400 + 97) * 24 * Re;
1704
+ var We = 1e3, le = 60 * We, Re = 60 * le, hr = (365 * 400 + 97) * 24 * Re;
1705
1705
  function ue(e, t) {
1706
1706
  return (e % t + t) % t;
1707
1707
  }
1708
1708
  function _r(e, t, r) {
1709
- return e < 100 && e >= 0 ? new Date(e + 400, t, r) - cr : new Date(e, t, r).valueOf();
1709
+ return e < 100 && e >= 0 ? new Date(e + 400, t, r) - hr : new Date(e, t, r).valueOf();
1710
1710
  }
1711
1711
  function mr(e, t, r) {
1712
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - cr : Date.UTC(e, t, r);
1712
+ return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - hr : Date.UTC(e, t, r);
1713
1713
  }
1714
1714
  function ii(e) {
1715
1715
  var t, r;
@@ -1834,7 +1834,7 @@ function di() {
1834
1834
  e.millisecond()
1835
1835
  ];
1836
1836
  }
1837
- function fi() {
1837
+ function ci() {
1838
1838
  var e = this;
1839
1839
  return {
1840
1840
  years: e.year(),
@@ -1846,17 +1846,17 @@ function fi() {
1846
1846
  milliseconds: e.milliseconds()
1847
1847
  };
1848
1848
  }
1849
- function hi() {
1849
+ function fi() {
1850
1850
  return this.isValid() ? this.toISOString() : null;
1851
1851
  }
1852
- function ci() {
1852
+ function hi() {
1853
1853
  return at(this);
1854
1854
  }
1855
1855
  function _i() {
1856
- return Q({}, c(this));
1856
+ return Q({}, h(this));
1857
1857
  }
1858
1858
  function mi() {
1859
- return c(this).overflow;
1859
+ return h(this).overflow;
1860
1860
  }
1861
1861
  function yi() {
1862
1862
  return {
@@ -1867,15 +1867,15 @@ function yi() {
1867
1867
  strict: this._strict
1868
1868
  };
1869
1869
  }
1870
- f("N", 0, 0, "eraAbbr");
1871
- f("NN", 0, 0, "eraAbbr");
1872
- f("NNN", 0, 0, "eraAbbr");
1873
- f("NNNN", 0, 0, "eraName");
1874
- f("NNNNN", 0, 0, "eraNarrow");
1875
- f("y", ["y", 1], "yo", "eraYear");
1876
- f("y", ["yy", 2], 0, "eraYear");
1877
- f("y", ["yyy", 3], 0, "eraYear");
1878
- f("y", ["yyyy", 4], 0, "eraYear");
1870
+ c("N", 0, 0, "eraAbbr");
1871
+ c("NN", 0, 0, "eraAbbr");
1872
+ c("NNN", 0, 0, "eraAbbr");
1873
+ c("NNNN", 0, 0, "eraName");
1874
+ c("NNNNN", 0, 0, "eraNarrow");
1875
+ c("y", ["y", 1], "yo", "eraYear");
1876
+ c("y", ["yy", 2], 0, "eraYear");
1877
+ c("y", ["yyy", 3], 0, "eraYear");
1878
+ c("y", ["yyyy", 4], 0, "eraYear");
1879
1879
  d("N", kt);
1880
1880
  d("NN", kt);
1881
1881
  d("NNN", kt);
@@ -1885,7 +1885,7 @@ g(
1885
1885
  ["N", "NN", "NNN", "NNNN", "NNNNN"],
1886
1886
  function(e, t, r, s) {
1887
1887
  var a = r._locale.erasParse(e, s, r._strict);
1888
- a ? c(r).era = a : c(r).invalidEra = e;
1888
+ a ? h(r).era = a : h(r).invalidEra = e;
1889
1889
  }
1890
1890
  );
1891
1891
  d("y", de);
@@ -1918,9 +1918,9 @@ function pi(e, t) {
1918
1918
  return i;
1919
1919
  }
1920
1920
  function wi(e, t, r) {
1921
- var s, a, i = this.eras(), n, u, h;
1921
+ var s, a, i = this.eras(), n, u, f;
1922
1922
  for (e = e.toUpperCase(), s = 0, a = i.length; s < a; ++s)
1923
- if (n = i[s].name.toUpperCase(), u = i[s].abbr.toUpperCase(), h = i[s].narrow.toUpperCase(), r)
1923
+ if (n = i[s].name.toUpperCase(), u = i[s].abbr.toUpperCase(), f = i[s].narrow.toUpperCase(), r)
1924
1924
  switch (t) {
1925
1925
  case "N":
1926
1926
  case "NN":
@@ -1933,11 +1933,11 @@ function wi(e, t, r) {
1933
1933
  return i[s];
1934
1934
  break;
1935
1935
  case "NNNNN":
1936
- if (h === e)
1936
+ if (f === e)
1937
1937
  return i[s];
1938
1938
  break;
1939
1939
  }
1940
- else if ([n, u, h].indexOf(e) >= 0)
1940
+ else if ([n, u, f].indexOf(e) >= 0)
1941
1941
  return i[s];
1942
1942
  }
1943
1943
  function gi(e, t) {
@@ -1994,22 +1994,22 @@ function xi(e, t) {
1994
1994
  return t._eraYearOrdinalRegex || de;
1995
1995
  }
1996
1996
  function St() {
1997
- var e = [], t = [], r = [], s = [], a, i, n, u, h, m = this.eras();
1997
+ var e = [], t = [], r = [], s = [], a, i, n, u, f, m = this.eras();
1998
1998
  for (a = 0, i = m.length; a < i; ++a)
1999
- n = z(m[a].name), u = z(m[a].abbr), h = z(m[a].narrow), t.push(n), e.push(u), r.push(h), s.push(n), s.push(u), s.push(h);
1999
+ n = z(m[a].name), u = z(m[a].abbr), f = z(m[a].narrow), t.push(n), e.push(u), r.push(f), s.push(n), s.push(u), s.push(f);
2000
2000
  this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
2001
2001
  "^(" + r.join("|") + ")",
2002
2002
  "i"
2003
2003
  );
2004
2004
  }
2005
- f(0, ["gg", 2], 0, function() {
2005
+ c(0, ["gg", 2], 0, function() {
2006
2006
  return this.weekYear() % 100;
2007
2007
  });
2008
- f(0, ["GG", 2], 0, function() {
2008
+ c(0, ["GG", 2], 0, function() {
2009
2009
  return this.isoWeekYear() % 100;
2010
2010
  });
2011
2011
  function Ge(e, t) {
2012
- f(0, [e, e.length], 0, t);
2012
+ c(0, [e, e.length], 0, t);
2013
2013
  }
2014
2014
  Ge("gggg", "weekYear");
2015
2015
  Ge("ggggg", "weekYear");
@@ -2074,7 +2074,7 @@ function Ci(e, t, r, s, a) {
2074
2074
  var i = Bt(e, t, r, s, a), n = pe(i.year, 0, i.dayOfYear);
2075
2075
  return this.year(n.getUTCFullYear()), this.month(n.getUTCMonth()), this.date(n.getUTCDate()), this;
2076
2076
  }
2077
- f("Q", 0, "Qo", "quarter");
2077
+ c("Q", 0, "Qo", "quarter");
2078
2078
  d("Q", Ut);
2079
2079
  g("Q", function(e, t) {
2080
2080
  t[G] = (_(e) - 1) * 3;
@@ -2082,8 +2082,8 @@ g("Q", function(e, t) {
2082
2082
  function Ii(e) {
2083
2083
  return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
2084
2084
  }
2085
- f("D", ["DD", 2], "Do", "date");
2086
- d("D", v, fe);
2085
+ c("D", ["DD", 2], "Do", "date");
2086
+ d("D", v, ce);
2087
2087
  d("DD", v, T);
2088
2088
  d("Do", function(e, t) {
2089
2089
  return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
@@ -2092,8 +2092,8 @@ g(["D", "DD"], C);
2092
2092
  g("Do", function(e, t) {
2093
2093
  t[C] = _(e.match(v)[0]);
2094
2094
  });
2095
- var pr = he("Date", !0);
2096
- f("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2095
+ var pr = fe("Date", !0);
2096
+ c("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2097
2097
  d("DDD", Ce);
2098
2098
  d("DDDD", Ht);
2099
2099
  g(["DDD", "DDDD"], function(e, t, r) {
@@ -2105,39 +2105,39 @@ function Ui(e) {
2105
2105
  ) + 1;
2106
2106
  return e == null ? t : this.add(e - t, "d");
2107
2107
  }
2108
- f("m", ["mm", 2], 0, "minute");
2109
- d("m", v, ft);
2108
+ c("m", ["mm", 2], 0, "minute");
2109
+ d("m", v, ct);
2110
2110
  d("mm", v, T);
2111
2111
  g(["m", "mm"], R);
2112
- var Hi = he("Minutes", !1);
2113
- f("s", ["ss", 2], 0, "second");
2114
- d("s", v, ft);
2112
+ var Hi = fe("Minutes", !1);
2113
+ c("s", ["ss", 2], 0, "second");
2114
+ d("s", v, ct);
2115
2115
  d("ss", v, T);
2116
2116
  g(["s", "ss"], V);
2117
- var Ei = he("Seconds", !1);
2118
- f("S", 0, 0, function() {
2117
+ var Ai = fe("Seconds", !1);
2118
+ c("S", 0, 0, function() {
2119
2119
  return ~~(this.millisecond() / 100);
2120
2120
  });
2121
- f(0, ["SS", 2], 0, function() {
2121
+ c(0, ["SS", 2], 0, function() {
2122
2122
  return ~~(this.millisecond() / 10);
2123
2123
  });
2124
- f(0, ["SSS", 3], 0, "millisecond");
2125
- f(0, ["SSSS", 4], 0, function() {
2124
+ c(0, ["SSS", 3], 0, "millisecond");
2125
+ c(0, ["SSSS", 4], 0, function() {
2126
2126
  return this.millisecond() * 10;
2127
2127
  });
2128
- f(0, ["SSSSS", 5], 0, function() {
2128
+ c(0, ["SSSSS", 5], 0, function() {
2129
2129
  return this.millisecond() * 100;
2130
2130
  });
2131
- f(0, ["SSSSSS", 6], 0, function() {
2131
+ c(0, ["SSSSSS", 6], 0, function() {
2132
2132
  return this.millisecond() * 1e3;
2133
2133
  });
2134
- f(0, ["SSSSSSS", 7], 0, function() {
2134
+ c(0, ["SSSSSSS", 7], 0, function() {
2135
2135
  return this.millisecond() * 1e4;
2136
2136
  });
2137
- f(0, ["SSSSSSSS", 8], 0, function() {
2137
+ c(0, ["SSSSSSSS", 8], 0, function() {
2138
2138
  return this.millisecond() * 1e5;
2139
2139
  });
2140
- f(0, ["SSSSSSSSS", 9], 0, function() {
2140
+ c(0, ["SSSSSSSSS", 9], 0, function() {
2141
2141
  return this.millisecond() * 1e6;
2142
2142
  });
2143
2143
  d("S", Ce, Ut);
@@ -2146,14 +2146,14 @@ d("SSS", Ce, Ht);
2146
2146
  var K, wr;
2147
2147
  for (K = "SSSS"; K.length <= 9; K += "S")
2148
2148
  d(K, de);
2149
- function Ai(e, t) {
2149
+ function Ei(e, t) {
2150
2150
  t[te] = _(("0." + e) * 1e3);
2151
2151
  }
2152
2152
  for (K = "S"; K.length <= 9; K += "S")
2153
- g(K, Ai);
2154
- wr = he("Milliseconds", !1);
2155
- f("z", 0, 0, "zoneAbbr");
2156
- f("zz", 0, 0, "zoneName");
2153
+ g(K, Ei);
2154
+ wr = fe("Milliseconds", !1);
2155
+ c("z", 0, 0, "zoneAbbr");
2156
+ c("zz", 0, 0, "zoneName");
2157
2157
  function ji() {
2158
2158
  return this._isUTC ? "UTC" : "";
2159
2159
  }
@@ -2179,25 +2179,25 @@ o.isBetween = $a;
2179
2179
  o.isSame = qa;
2180
2180
  o.isSameOrAfter = Za;
2181
2181
  o.isSameOrBefore = Ba;
2182
- o.isValid = ci;
2183
- o.lang = fr;
2182
+ o.isValid = hi;
2183
+ o.lang = cr;
2184
2184
  o.locale = dr;
2185
- o.localeData = hr;
2186
- o.max = ca;
2187
- o.min = ha;
2185
+ o.localeData = fr;
2186
+ o.max = ha;
2187
+ o.min = fa;
2188
2188
  o.parsingFlags = _i;
2189
2189
  o.set = es;
2190
2190
  o.startOf = ii;
2191
2191
  o.subtract = Ca;
2192
2192
  o.toArray = di;
2193
- o.toObject = fi;
2193
+ o.toObject = ci;
2194
2194
  o.toDate = ui;
2195
2195
  o.toISOString = Ka;
2196
2196
  o.inspect = Xa;
2197
2197
  typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
2198
2198
  return "Moment<" + this.format() + ">";
2199
2199
  });
2200
- o.toJSON = hi;
2200
+ o.toJSON = fi;
2201
2201
  o.toString = Qa;
2202
2202
  o.unix = li;
2203
2203
  o.valueOf = oi;
@@ -2224,9 +2224,9 @@ o.day = o.days = Ws;
2224
2224
  o.weekday = Rs;
2225
2225
  o.isoWeekday = Ns;
2226
2226
  o.dayOfYear = Ui;
2227
- o.hour = o.hours = Es;
2227
+ o.hour = o.hours = As;
2228
2228
  o.minute = o.minutes = Hi;
2229
- o.second = o.seconds = Ei;
2229
+ o.second = o.seconds = Ai;
2230
2230
  o.millisecond = o.milliseconds = wr;
2231
2231
  o.utcOffset = ka;
2232
2232
  o.utc = Da;
@@ -2276,7 +2276,7 @@ w.invalidDate = Cr;
2276
2276
  w.ordinal = Hr;
2277
2277
  w.preparse = gr;
2278
2278
  w.postformat = gr;
2279
- w.relativeTime = Ar;
2279
+ w.relativeTime = Er;
2280
2280
  w.pastFuture = jr;
2281
2281
  w.set = Tr;
2282
2282
  w.eras = pi;
@@ -2288,9 +2288,9 @@ w.erasNarrowRegex = bi;
2288
2288
  w.months = is;
2289
2289
  w.monthsShort = ns;
2290
2290
  w.monthsParse = ls;
2291
- w.monthsRegex = fs;
2291
+ w.monthsRegex = cs;
2292
2292
  w.monthsShortRegex = ds;
2293
- w.week = cs;
2293
+ w.week = hs;
2294
2294
  w.firstDayOfYear = ys;
2295
2295
  w.firstDayOfWeek = ms;
2296
2296
  w.weekdays = bs;
@@ -2301,7 +2301,7 @@ w.weekdaysRegex = Fs;
2301
2301
  w.weekdaysShortRegex = Ls;
2302
2302
  w.weekdaysMinRegex = Cs;
2303
2303
  w.isPM = Us;
2304
- w.meridiem = As;
2304
+ w.meridiem = Es;
2305
2305
  function Ne(e, t, r, s) {
2306
2306
  var a = Z(), i = U().set(s, t);
2307
2307
  return a[r](i, e);
@@ -2371,10 +2371,10 @@ l.langData = P(
2371
2371
  "moment.langData is deprecated. Use moment.localeData instead.",
2372
2372
  Z
2373
2373
  );
2374
- var A = Math.abs;
2374
+ var E = Math.abs;
2375
2375
  function Qi() {
2376
2376
  var e = this._data;
2377
- return this._milliseconds = A(this._milliseconds), this._days = A(this._days), this._months = A(this._months), e.milliseconds = A(e.milliseconds), e.seconds = A(e.seconds), e.minutes = A(e.minutes), e.hours = A(e.hours), e.months = A(e.months), e.years = A(e.years), this;
2377
+ return this._milliseconds = E(this._milliseconds), this._days = E(this._days), this._months = E(this._months), e.milliseconds = E(e.milliseconds), e.seconds = E(e.seconds), e.minutes = E(e.minutes), e.hours = E(e.hours), e.months = E(e.months), e.years = E(e.years), this;
2378
2378
  }
2379
2379
  function vr(e, t, r, s) {
2380
2380
  var a = L(t, r);
@@ -2390,8 +2390,8 @@ function Wt(e) {
2390
2390
  return e < 0 ? Math.floor(e) : Math.ceil(e);
2391
2391
  }
2392
2392
  function en() {
2393
- var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, i, n, u, h;
2394
- return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += Wt(rt(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, a = x(e / 1e3), s.seconds = a % 60, i = x(a / 60), s.minutes = i % 60, n = x(i / 60), s.hours = n % 24, t += x(n / 24), h = x(kr(t)), r += h, t -= Wt(rt(h)), u = x(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
2393
+ var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, i, n, u, f;
2394
+ return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += Wt(rt(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, a = x(e / 1e3), s.seconds = a % 60, i = x(a / 60), s.minutes = i % 60, n = x(i / 60), s.hours = n % 24, t += x(n / 24), f = x(kr(t)), r += f, t -= Wt(rt(f)), u = x(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
2395
2395
  }
2396
2396
  function kr(e) {
2397
2397
  return e * 4800 / 146097;
@@ -2435,11 +2435,11 @@ function B(e) {
2435
2435
  return this.as(e);
2436
2436
  };
2437
2437
  }
2438
- var Sr = B("ms"), rn = B("s"), sn = B("m"), an = B("h"), nn = B("d"), on = B("w"), ln = B("M"), un = B("Q"), dn = B("y"), fn = Sr;
2439
- function hn() {
2438
+ var Sr = B("ms"), rn = B("s"), sn = B("m"), an = B("h"), nn = B("d"), on = B("w"), ln = B("M"), un = B("Q"), dn = B("y"), cn = Sr;
2439
+ function fn() {
2440
2440
  return L(this);
2441
2441
  }
2442
- function cn(e) {
2442
+ function hn(e) {
2443
2443
  return e = W(e), this.isValid() ? this[e + "s"]() : NaN;
2444
2444
  }
2445
2445
  function se(e) {
@@ -2471,8 +2471,8 @@ function kn(e, t, r, s, a) {
2471
2471
  return a.relativeTime(t || 1, !!r, e, s);
2472
2472
  }
2473
2473
  function Sn(e, t, r, s) {
2474
- var a = L(e).abs(), i = j(a.as("s")), n = j(a.as("m")), u = j(a.as("h")), h = j(a.as("d")), m = j(a.as("M")), b = j(a.as("w")), E = j(a.as("y")), J = i <= r.ss && ["s", i] || i < r.s && ["ss", i] || n <= 1 && ["m"] || n < r.m && ["mm", n] || u <= 1 && ["h"] || u < r.h && ["hh", u] || h <= 1 && ["d"] || h < r.d && ["dd", h];
2475
- return r.w != null && (J = J || b <= 1 && ["w"] || b < r.w && ["ww", b]), J = J || m <= 1 && ["M"] || m < r.M && ["MM", m] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = s, kn.apply(null, J);
2474
+ var a = L(e).abs(), i = j(a.as("s")), n = j(a.as("m")), u = j(a.as("h")), f = j(a.as("d")), m = j(a.as("M")), b = j(a.as("w")), A = j(a.as("y")), J = i <= r.ss && ["s", i] || i < r.s && ["ss", i] || n <= 1 && ["m"] || n < r.m && ["mm", n] || u <= 1 && ["h"] || u < r.h && ["hh", u] || f <= 1 && ["d"] || f < r.d && ["dd", f];
2475
+ return r.w != null && (J = J || b <= 1 && ["w"] || b < r.w && ["ww", b]), J = J || m <= 1 && ["M"] || m < r.M && ["MM", m] || A <= 1 && ["y"] || ["yy", A], J[2] = t, J[3] = +e > 0, J[4] = s, kn.apply(null, J);
2476
2476
  }
2477
2477
  function Dn(e) {
2478
2478
  return e === void 0 ? j : typeof e == "function" ? (j = e, !0) : !1;
@@ -2493,8 +2493,8 @@ function ae(e) {
2493
2493
  function Ve() {
2494
2494
  if (!this.isValid())
2495
2495
  return this.localeData().invalidDate();
2496
- var e = Ze(this._milliseconds) / 1e3, t = Ze(this._days), r = Ze(this._months), s, a, i, n, u = this.asSeconds(), h, m, b, E;
2497
- return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, i = x(r / 12), r %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = u < 0 ? "-" : "", m = ae(this._months) !== ae(u) ? "-" : "", b = ae(this._days) !== ae(u) ? "-" : "", E = ae(this._milliseconds) !== ae(u) ? "-" : "", h + "P" + (i ? m + i + "Y" : "") + (r ? m + r + "M" : "") + (t ? b + t + "D" : "") + (a || s || e ? "T" : "") + (a ? E + a + "H" : "") + (s ? E + s + "M" : "") + (e ? E + n + "S" : "")) : "P0D";
2496
+ var e = Ze(this._milliseconds) / 1e3, t = Ze(this._days), r = Ze(this._months), s, a, i, n, u = this.asSeconds(), f, m, b, A;
2497
+ return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, i = x(r / 12), r %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", m = ae(this._months) !== ae(u) ? "-" : "", b = ae(this._days) !== ae(u) ? "-" : "", A = ae(this._milliseconds) !== ae(u) ? "-" : "", f + "P" + (i ? m + i + "Y" : "") + (r ? m + r + "M" : "") + (t ? b + t + "D" : "") + (a || s || e ? "T" : "") + (a ? A + a + "H" : "") + (s ? A + s + "M" : "") + (e ? A + n + "S" : "")) : "P0D";
2498
2498
  }
2499
2499
  var y = je.prototype;
2500
2500
  y.isValid = wa;
@@ -2511,10 +2511,10 @@ y.asWeeks = on;
2511
2511
  y.asMonths = ln;
2512
2512
  y.asQuarters = un;
2513
2513
  y.asYears = dn;
2514
- y.valueOf = fn;
2514
+ y.valueOf = cn;
2515
2515
  y._bubble = en;
2516
- y.clone = hn;
2517
- y.get = cn;
2516
+ y.clone = fn;
2517
+ y.get = hn;
2518
2518
  y.milliseconds = _n;
2519
2519
  y.seconds = mn;
2520
2520
  y.minutes = yn;
@@ -2528,14 +2528,14 @@ y.toISOString = Ve;
2528
2528
  y.toString = Ve;
2529
2529
  y.toJSON = Ve;
2530
2530
  y.locale = dr;
2531
- y.localeData = hr;
2531
+ y.localeData = fr;
2532
2532
  y.toIsoString = P(
2533
2533
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2534
2534
  Ve
2535
2535
  );
2536
- y.lang = fr;
2537
- f("X", 0, 0, "unix");
2538
- f("x", 0, 0, "valueOf");
2536
+ y.lang = cr;
2537
+ c("X", 0, 0, "unix");
2538
+ c("x", 0, 0, "valueOf");
2539
2539
  d("x", Ue);
2540
2540
  d("X", $r);
2541
2541
  g("X", function(e, t, r) {
@@ -2572,7 +2572,7 @@ l.weekdaysShort = Bi;
2572
2572
  l.normalizeUnits = W;
2573
2573
  l.relativeTimeRounding = Dn;
2574
2574
  l.relativeTimeThreshold = Yn;
2575
- l.calendarFormat = Aa;
2575
+ l.calendarFormat = Ea;
2576
2576
  l.prototype = o;
2577
2577
  l.HTML5_FMT = {
2578
2578
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
@@ -2677,7 +2677,7 @@ const On = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
2677
2677
  dow: 1,
2678
2678
  doy: 4
2679
2679
  }
2680
- }, Pn = " ", Wn = " ", Jn = (e, t = "") => e.split(t).join(Pn), Qn = (e, t = "") => e.split(t).join(Wn), Kn = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Rn = (e) => e && e[0].toUpperCase() + e.slice(1), Dr = (e) => e.split(" ").map(Rn).join(" "), Xn = (e) => /^\d+$/.test(e), eo = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, to = (e) => e.trim().replace(/\s+/gi, " "), ro = (e) => {
2680
+ }, Pn = " ", Wn = " ", Qn = (e, t = "") => e.split(t).join(Pn), Kn = (e, t = "") => e.split(t).join(Wn), Xn = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Rn = (e) => e && e[0].toUpperCase() + e.slice(1), Dr = (e) => e.split(" ").map(Rn).join(" "), eo = (e) => /^\d+$/.test(e), to = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, ro = (e) => e.trim().replace(/\s+/gi, " "), so = (e) => {
2681
2681
  const t = e.split(" "), s = ((a) => {
2682
2682
  let i = 1 / 0;
2683
2683
  for (let n = 0; n < a.length; n++) {
@@ -2694,11 +2694,20 @@ const On = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
2694
2694
  return t.length === 1 ? [t[0]] : [t.slice(0, s + 1), t.slice(s + 1)].map(
2695
2695
  (a) => a.join(" ")
2696
2696
  );
2697
- }, so = (e) => typeof e == "string";
2697
+ }, ao = (e) => typeof e == "string", Nn = (e) => {
2698
+ const t = e.replace(
2699
+ /[^a-zA-Z0-9]+(.)/g,
2700
+ (r, s) => s.toUpperCase()
2701
+ );
2702
+ return `${t.charAt(0).toLowerCase()}${t.slice(1)}`;
2703
+ }, io = (e) => {
2704
+ const t = Nn(e);
2705
+ return `${t.charAt(0).toUpperCase()}${t.slice(1)}`;
2706
+ };
2698
2707
  l.locale("fr", xn);
2699
- const ao = (e) => new Date(e).toString() !== "Invalid Date", io = (e, t) => Math.abs(
2708
+ const no = (e) => new Date(e).toString() !== "Invalid Date", oo = (e, t) => Math.abs(
2700
2709
  Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
2701
- ), no = (e) => Dr(l(e).format("DD MMMM YYYY")), oo = (e) => Dr(l(e).format("dddd DD MMMM YYYY")), lo = (e, t, r = !0) => (r ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), uo = () => l().locale("fr").subtract(1, "days").toDate(), fo = (e) => {
2710
+ ), lo = (e) => Dr(l(e).format("DD MMMM YYYY")), uo = (e) => Dr(l(e).format("dddd DD MMMM YYYY")), co = (e, t, r = !0) => (r ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), fo = () => l().locale("fr").subtract(1, "days").toDate(), ho = (e) => {
2702
2711
  const t = [], r = l.duration(e);
2703
2712
  if (!(!r || r.toISOString() === "P0D")) {
2704
2713
  if (r.years() >= 1) {
@@ -2727,7 +2736,7 @@ const ao = (e) => new Date(e).toString() !== "Invalid Date", io = (e, t) => Math
2727
2736
  }
2728
2737
  return t.join(", ");
2729
2738
  }
2730
- }, Yt = /^([1-9][0-9]?)([hmd])$/i, ho = (e) => !!e && Yt.test(e), co = (e) => {
2739
+ }, Yt = /^([1-9][0-9]?)([hmd])$/i, _o = (e) => !!e && Yt.test(e), mo = (e) => {
2731
2740
  const t = Yt.exec(e);
2732
2741
  if (!t)
2733
2742
  return null;
@@ -2738,7 +2747,7 @@ const ao = (e) => new Date(e).toString() !== "Invalid Date", io = (e, t) => Math
2738
2747
  return i * 60 * a;
2739
2748
  if (s === "d")
2740
2749
  return i * 60 * 24 * a;
2741
- }, _o = (e) => {
2750
+ }, yo = (e) => {
2742
2751
  const t = Yt.exec(e);
2743
2752
  if (!t)
2744
2753
  return null;
@@ -2749,7 +2758,7 @@ const ao = (e) => new Date(e).toString() !== "Invalid Date", io = (e, t) => Math
2749
2758
  return `${a} heure${a > 1 ? "s" : ""}`;
2750
2759
  if (s === "d")
2751
2760
  return `${a} jour${a > 1 ? "s" : ""}`;
2752
- }, mo = {
2761
+ }, po = {
2753
2762
  d1: "<:d1:1159542168738873455>",
2754
2763
  d2: "<:d2:1159542071049334814>",
2755
2764
  d3: "<:d3:1159542073914032191>",
@@ -2953,56 +2962,59 @@ const ao = (e) => new Date(e).toString() !== "Invalid Date", io = (e, t) => Math
2953
2962
  equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
2954
2963
  equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
2955
2964
  equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>"
2956
- }, yo = (e) => typeof e == "function", po = (e, t, r) => {
2965
+ }, wo = (e) => typeof e == "function", go = (e, t, r) => {
2957
2966
  const s = {}, a = Object.entries(e);
2958
2967
  for (const [i, n] of a) {
2959
2968
  const u = t[i];
2960
2969
  u ? s[i] = r(n, u) : s[i] = n;
2961
2970
  }
2962
2971
  return s;
2963
- };
2972
+ }, Mo = (e) => e instanceof Object;
2964
2973
  export {
2965
2974
  Pn as TIGHT_SPACE,
2966
2975
  Wn as WIDE_SPACE,
2967
- ro as breakWords,
2976
+ so as breakWords,
2977
+ Nn as camelcase,
2968
2978
  Rn as capitalize,
2969
2979
  Dr as capitalizeAllWords,
2970
- Ln as clamp,
2971
- io as dateDiff,
2972
- co as durationToMs,
2973
- Kn as ellipsis,
2974
- mo as emojis,
2975
- An as exclude,
2976
- Jn as fillWithTightSpaces,
2977
- Qn as fillWithWideSpaces,
2978
- Vn as filterNullAndUndefined,
2979
- no as formatDate,
2980
- oo as formatDateWithDay,
2981
- _o as formatDuration,
2982
- Nn as formatNumber,
2983
- Un as groupBy,
2984
- qn as includeArrayIf,
2985
- $n as includeBeginIf,
2986
- zn as includeIf,
2987
- Bn as isDefined,
2988
- ho as isDuration,
2989
- yo as isFunction,
2990
- Cn as isNumber,
2991
- Xn as isPositiveInteger,
2992
- so as isString,
2993
- ao as isValidDate,
2994
- po as mergeObjects,
2980
+ Cn as clamp,
2981
+ oo as dateDiff,
2982
+ mo as durationToMs,
2983
+ Xn as ellipsis,
2984
+ po as emojis,
2985
+ jn as exclude,
2986
+ Qn as fillWithTightSpaces,
2987
+ Kn as fillWithWideSpaces,
2988
+ zn as filterNullAndUndefined,
2989
+ lo as formatDate,
2990
+ uo as formatDateWithDay,
2991
+ yo as formatDuration,
2992
+ Fn as formatNumber,
2993
+ Hn as groupBy,
2994
+ Zn as includeArrayIf,
2995
+ qn as includeBeginIf,
2996
+ $n as includeIf,
2997
+ Jn as isDefined,
2998
+ _o as isDuration,
2999
+ wo as isFunction,
3000
+ In as isNumber,
3001
+ Mo as isObject,
3002
+ eo as isPositiveInteger,
3003
+ ao as isString,
3004
+ no as isValidDate,
3005
+ go as mergeObjects,
2995
3006
  En as mutuallyInclusive,
2996
- eo as numberToOrdinal,
2997
- In as paginate,
2998
- Zn as pickFrom,
2999
- fo as precise,
3007
+ to as numberToOrdinal,
3008
+ Un as paginate,
3009
+ io as pascalCase,
3010
+ Bn as pickFrom,
3011
+ ho as precise,
3000
3012
  Yr as randomBetween,
3001
- lo as sameDay,
3002
- Fn as seededRandom,
3003
- Gn as shuffle,
3004
- Hn as sortBy,
3005
- to as trim,
3006
- jn as unique,
3007
- uo as yesterday
3013
+ co as sameDay,
3014
+ Ln as seededRandom,
3015
+ Vn as shuffle,
3016
+ An as sortBy,
3017
+ ro as trim,
3018
+ Gn as unique,
3019
+ fo as yesterday
3008
3020
  };