@revivejs/moment 2.30.2 → 2.30.4

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.
Files changed (147) hide show
  1. package/README.md +1 -0
  2. package/dist/moment.js +191 -186
  3. package/locale/af.js +3 -0
  4. package/locale/ar-dz.js +7 -0
  5. package/locale/ar-kw.js +3 -0
  6. package/locale/ar-ly.js +3 -0
  7. package/locale/ar-ma.js +4 -0
  8. package/locale/ar-ps.js +3 -0
  9. package/locale/ar-sa.js +3 -0
  10. package/locale/ar-tn.js +3 -0
  11. package/locale/ar.js +5 -0
  12. package/locale/az.js +3 -0
  13. package/locale/be.js +5 -0
  14. package/locale/bg.js +3 -0
  15. package/locale/bm.js +4 -0
  16. package/locale/bn-bd.js +3 -0
  17. package/locale/bn.js +3 -0
  18. package/locale/bo.js +3 -0
  19. package/locale/br.js +3 -0
  20. package/locale/bs.js +5 -0
  21. package/locale/ca.js +3 -0
  22. package/locale/cs.js +3 -0
  23. package/locale/cv.js +3 -0
  24. package/locale/cy.js +4 -0
  25. package/locale/da.js +3 -0
  26. package/locale/de-at.js +6 -0
  27. package/locale/de-ch.js +3 -0
  28. package/locale/de.js +5 -0
  29. package/locale/dv.js +3 -0
  30. package/locale/el.js +3 -0
  31. package/locale/en-au.js +3 -0
  32. package/locale/en-ca.js +3 -0
  33. package/locale/en-gb.js +3 -0
  34. package/locale/en-ie.js +3 -0
  35. package/locale/en-il.js +3 -0
  36. package/locale/en-in.js +3 -0
  37. package/locale/en-nz.js +3 -0
  38. package/locale/en-sg.js +3 -0
  39. package/locale/eo.js +6 -0
  40. package/locale/es-do.js +2 -0
  41. package/locale/es-mx.js +3 -0
  42. package/locale/es-us.js +4 -0
  43. package/locale/es.js +3 -0
  44. package/locale/et.js +4 -0
  45. package/locale/eu.js +3 -0
  46. package/locale/fa.js +3 -0
  47. package/locale/fi.js +3 -0
  48. package/locale/fil.js +4 -0
  49. package/locale/fo.js +4 -0
  50. package/locale/fr-ca.js +3 -0
  51. package/locale/fr-ch.js +3 -0
  52. package/locale/fr.js +3 -0
  53. package/locale/fy.js +3 -0
  54. package/locale/ga.js +3 -0
  55. package/locale/gd.js +3 -0
  56. package/locale/gl.js +3 -0
  57. package/locale/gom-deva.js +3 -0
  58. package/locale/gom-latn.js +3 -0
  59. package/locale/gu.js +3 -0
  60. package/locale/he.js +5 -0
  61. package/locale/hi.js +3 -0
  62. package/locale/hr.js +3 -0
  63. package/locale/hu.js +4 -0
  64. package/locale/hy-am.js +3 -0
  65. package/locale/id.js +4 -0
  66. package/locale/is.js +3 -0
  67. package/locale/it-ch.js +3 -0
  68. package/locale/it.js +5 -0
  69. package/locale/ja.js +3 -0
  70. package/locale/jv.js +4 -0
  71. package/locale/ka.js +3 -0
  72. package/locale/kk.js +3 -0
  73. package/locale/km.js +3 -0
  74. package/locale/kn.js +3 -0
  75. package/locale/ko.js +4 -0
  76. package/locale/ku-kmr.js +3 -0
  77. package/locale/ku.js +3 -0
  78. package/locale/ky.js +3 -0
  79. package/locale/lb.js +4 -0
  80. package/locale/lo.js +3 -0
  81. package/locale/lt.js +3 -0
  82. package/locale/lv.js +4 -0
  83. package/locale/me.js +3 -0
  84. package/locale/mi.js +3 -0
  85. package/locale/mk.js +3 -0
  86. package/locale/ml.js +3 -0
  87. package/locale/mn.js +3 -0
  88. package/locale/mr.js +4 -0
  89. package/locale/ms-my.js +4 -0
  90. package/locale/ms.js +3 -0
  91. package/locale/mt.js +3 -0
  92. package/locale/my.js +5 -0
  93. package/locale/nb.js +5 -0
  94. package/locale/ne.js +3 -0
  95. package/locale/nl-be.js +4 -0
  96. package/locale/nl.js +4 -0
  97. package/locale/nn.js +4 -0
  98. package/locale/oc-lnc.js +3 -0
  99. package/locale/pa-in.js +3 -0
  100. package/locale/pl.js +3 -0
  101. package/locale/pt-br.js +3 -0
  102. package/locale/pt.js +3 -0
  103. package/locale/ro.js +5 -0
  104. package/locale/ru.js +5 -0
  105. package/locale/sd.js +3 -0
  106. package/locale/se.js +3 -0
  107. package/locale/si.js +3 -0
  108. package/locale/sk.js +4 -0
  109. package/locale/sl.js +3 -0
  110. package/locale/sq.js +5 -0
  111. package/locale/sr-cyrl.js +4 -0
  112. package/locale/sr.js +4 -0
  113. package/locale/ss.js +3 -0
  114. package/locale/sv.js +3 -0
  115. package/locale/sw.js +3 -0
  116. package/locale/ta.js +3 -0
  117. package/locale/te.js +3 -0
  118. package/locale/tet.js +5 -0
  119. package/locale/tg.js +3 -0
  120. package/locale/th.js +3 -0
  121. package/locale/tk.js +3 -0
  122. package/locale/tl-ph.js +3 -0
  123. package/locale/tlh.js +3 -0
  124. package/locale/tr.js +4 -0
  125. package/locale/tzl.js +4 -0
  126. package/locale/tzm-latn.js +3 -0
  127. package/locale/tzm.js +3 -0
  128. package/locale/ug-cn.js +3 -0
  129. package/locale/uk.js +4 -0
  130. package/locale/ur.js +4 -0
  131. package/locale/uz-latn.js +3 -0
  132. package/locale/uz.js +3 -0
  133. package/locale/vi.js +4 -0
  134. package/locale/x-pseudo.js +3 -0
  135. package/locale/yo.js +3 -0
  136. package/locale/zh-cn.js +5 -0
  137. package/locale/zh-hk.js +6 -0
  138. package/locale/zh-mo.js +5 -0
  139. package/locale/zh-tw.js +4 -0
  140. package/min/locales.js +1056 -578
  141. package/min/locales.min.js.map +1 -1
  142. package/min/moment-with-locales.js +1266 -783
  143. package/min/moment-with-locales.min.js.map +1 -1
  144. package/min/moment.min.js.map +1 -1
  145. package/min/tests.js +710 -381
  146. package/moment.js +190 -185
  147. package/package.json +5 -3
package/moment.js CHANGED
@@ -154,7 +154,7 @@
154
154
  };
155
155
  }
156
156
 
157
- function isValid(m) {
157
+ function isValid$2(m) {
158
158
  var flags = null,
159
159
  parsedParts = false,
160
160
  isNowValid = m._d && !isNaN(m._d.getTime());
@@ -190,7 +190,7 @@
190
190
  return m._isValid;
191
191
  }
192
192
 
193
- function createInvalid(flags) {
193
+ function createInvalid$1(flags) {
194
194
  var m = createUTC(NaN);
195
195
  if (flags != null) {
196
196
  extend(getParsingFlags(m), flags);
@@ -351,7 +351,7 @@
351
351
  );
352
352
  }
353
353
 
354
- function set(config) {
354
+ function set$1(config) {
355
355
  var prop, i;
356
356
  for (i in config) {
357
357
  if (hasOwnProp(config, i)) {
@@ -435,7 +435,7 @@
435
435
  sameElse: 'L',
436
436
  };
437
437
 
438
- function calendar(key, mom, now) {
438
+ function calendar$1(key, mom, now) {
439
439
  var output = this._calendar[key] || this._calendar['sameElse'];
440
440
  return isFunction(output) ? output.call(mom, now) : output;
441
441
  }
@@ -618,7 +618,7 @@
618
618
  yy: '%d years',
619
619
  };
620
620
 
621
- function relativeTime(number, withoutSuffix, string, isFuture) {
621
+ function relativeTime$1(number, withoutSuffix, string, isFuture) {
622
622
  var output = this._relativeTime[string];
623
623
  return isFunction(output)
624
624
  ? output(number, withoutSuffix, string, isFuture)
@@ -922,16 +922,16 @@
922
922
  function makeGetSet(unit, keepTime) {
923
923
  return function (value) {
924
924
  if (value != null) {
925
- set$1(this, unit, value);
925
+ set(this, unit, value);
926
926
  hooks.updateOffset(this, keepTime);
927
927
  return this;
928
928
  } else {
929
- return get(this, unit);
929
+ return get$2(this, unit);
930
930
  }
931
931
  };
932
932
  }
933
933
 
934
- function get(mom, unit) {
934
+ function get$2(mom, unit) {
935
935
  if (!mom.isValid()) {
936
936
  return NaN;
937
937
  }
@@ -961,7 +961,7 @@
961
961
  }
962
962
  }
963
963
 
964
- function set$1(mom, unit, value) {
964
+ function set(mom, unit, value) {
965
965
  var d, isUTC, year, month, date;
966
966
 
967
967
  if (!mom.isValid() || isNaN(value)) {
@@ -1031,7 +1031,7 @@
1031
1031
  return this;
1032
1032
  }
1033
1033
 
1034
- function mod(n, x) {
1034
+ function mod$1(n, x) {
1035
1035
  return ((n % x) + x) % x;
1036
1036
  }
1037
1037
 
@@ -1056,7 +1056,7 @@
1056
1056
  if (isNaN(year) || isNaN(month)) {
1057
1057
  return NaN;
1058
1058
  }
1059
- var modMonth = mod(month, 12);
1059
+ var modMonth = mod$1(month, 12);
1060
1060
  year += (month - modMonth) / 12;
1061
1061
  return modMonth === 1
1062
1062
  ? isLeapYear(year)
@@ -1144,7 +1144,7 @@
1144
1144
  ][m.month()];
1145
1145
  }
1146
1146
 
1147
- function handleStrictParse(monthName, format, strict) {
1147
+ function handleStrictParse$1(monthName, format, strict) {
1148
1148
  var i,
1149
1149
  ii,
1150
1150
  mom,
@@ -1195,7 +1195,7 @@
1195
1195
  var i, mom, regex;
1196
1196
 
1197
1197
  if (this._monthsParseExact) {
1198
- return handleStrictParse.call(this, monthName, format, strict);
1198
+ return handleStrictParse$1.call(this, monthName, format, strict);
1199
1199
  }
1200
1200
 
1201
1201
  if (!this._monthsParse) {
@@ -1280,7 +1280,7 @@
1280
1280
  hooks.updateOffset(this, true);
1281
1281
  return this;
1282
1282
  } else {
1283
- return get(this, 'Month');
1283
+ return get$2(this, 'Month');
1284
1284
  }
1285
1285
  }
1286
1286
 
@@ -1638,7 +1638,7 @@
1638
1638
  : this._weekdaysMin;
1639
1639
  }
1640
1640
 
1641
- function handleStrictParse$1(weekdayName, format, strict) {
1641
+ function handleStrictParse(weekdayName, format, strict) {
1642
1642
  var i,
1643
1643
  ii,
1644
1644
  mom,
@@ -1715,7 +1715,7 @@
1715
1715
  var i, mom, regex;
1716
1716
 
1717
1717
  if (this._weekdaysParseExact) {
1718
- return handleStrictParse$1.call(this, weekdayName, format, strict);
1718
+ return handleStrictParse.call(this, weekdayName, format, strict);
1719
1719
  }
1720
1720
 
1721
1721
  if (!this._weekdaysParse) {
@@ -1785,7 +1785,7 @@
1785
1785
  return input != null ? this : NaN;
1786
1786
  }
1787
1787
 
1788
- var day = get(this, 'Day');
1788
+ var day = get$2(this, 'Day');
1789
1789
  if (input != null) {
1790
1790
  input = parseWeekday(input, this.localeData());
1791
1791
  return this.add(input - day, 'd');
@@ -2950,7 +2950,7 @@
2950
2950
  tempConfig._f = config._f[i];
2951
2951
  configFromStringAndFormat(tempConfig);
2952
2952
 
2953
- if (isValid(tempConfig)) {
2953
+ if (isValid$2(tempConfig)) {
2954
2954
  validFormatFound = true;
2955
2955
  }
2956
2956
 
@@ -3020,7 +3020,7 @@
3020
3020
  config._locale = config._locale || getLocale(config._l);
3021
3021
 
3022
3022
  if (input === null || (format === undefined && input === '')) {
3023
- return createInvalid({ nullInput: true });
3023
+ return createInvalid$1({ nullInput: true });
3024
3024
  }
3025
3025
 
3026
3026
  if (typeof input === 'string') {
@@ -3039,7 +3039,7 @@
3039
3039
  configFromInput(config);
3040
3040
  }
3041
3041
 
3042
- if (!isValid(config)) {
3042
+ if (!isValid$2(config)) {
3043
3043
  config._d = null;
3044
3044
  }
3045
3045
 
@@ -3111,7 +3111,7 @@
3111
3111
  if (this.isValid() && other.isValid()) {
3112
3112
  return other < this ? this : other;
3113
3113
  } else {
3114
- return createInvalid();
3114
+ return createInvalid$1();
3115
3115
  }
3116
3116
  }
3117
3117
  ),
@@ -3122,7 +3122,7 @@
3122
3122
  if (this.isValid() && other.isValid()) {
3123
3123
  return other > this ? this : other;
3124
3124
  } else {
3125
- return createInvalid();
3125
+ return createInvalid$1();
3126
3126
  }
3127
3127
  }
3128
3128
  );
@@ -3213,7 +3213,7 @@
3213
3213
  return this._isValid;
3214
3214
  }
3215
3215
 
3216
- function createInvalid$1() {
3216
+ function createInvalid() {
3217
3217
  return createDuration(NaN);
3218
3218
  }
3219
3219
 
@@ -3403,7 +3403,7 @@
3403
3403
  }
3404
3404
  if (offset !== input) {
3405
3405
  if (!keepLocalTime || this._changeInProgress) {
3406
- addSubtract(
3406
+ addSubtract$1(
3407
3407
  this,
3408
3408
  createDuration(input - offset, 'm'),
3409
3409
  1,
@@ -3596,7 +3596,7 @@
3596
3596
  }
3597
3597
 
3598
3598
  createDuration.fn = Duration.prototype;
3599
- createDuration.invalid = createInvalid$1;
3599
+ createDuration.invalid = createInvalid;
3600
3600
 
3601
3601
  function parseIso(inp, sign) {
3602
3602
  // We'd normally use ~~inp for this, but unfortunately it also
@@ -3660,12 +3660,12 @@
3660
3660
  }
3661
3661
 
3662
3662
  dur = createDuration(val, period);
3663
- addSubtract(this, dur, direction);
3663
+ addSubtract$1(this, dur, direction);
3664
3664
  return this;
3665
3665
  };
3666
3666
  }
3667
3667
 
3668
- function addSubtract(mom, duration, isAdding, updateOffset) {
3668
+ function addSubtract$1(mom, duration, isAdding, updateOffset) {
3669
3669
  var milliseconds = duration._milliseconds,
3670
3670
  days = absRound(duration._days),
3671
3671
  months = absRound(duration._months);
@@ -3678,10 +3678,10 @@
3678
3678
  updateOffset = updateOffset == null ? true : updateOffset;
3679
3679
 
3680
3680
  if (months) {
3681
- setMonth(mom, get(mom, 'Month') + months * isAdding);
3681
+ setMonth(mom, get$2(mom, 'Month') + months * isAdding);
3682
3682
  }
3683
3683
  if (days) {
3684
- set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
3684
+ set(mom, 'Date', get$2(mom, 'Date') + days * isAdding);
3685
3685
  }
3686
3686
  if (milliseconds) {
3687
3687
  mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
@@ -3691,8 +3691,8 @@
3691
3691
  }
3692
3692
  }
3693
3693
 
3694
- var add = createAdder(1, 'add'),
3695
- subtract = createAdder(-1, 'subtract');
3694
+ var add$1 = createAdder(1, 'add'),
3695
+ subtract$1 = createAdder(-1, 'subtract');
3696
3696
 
3697
3697
  function isString(input) {
3698
3698
  return typeof input === 'string' || input instanceof String;
@@ -3804,7 +3804,7 @@
3804
3804
  : 'sameElse';
3805
3805
  }
3806
3806
 
3807
- function calendar$1(time, formats) {
3807
+ function calendar(time, formats) {
3808
3808
  // Support for single parameter, formats only overload to the calendar function
3809
3809
  if (arguments.length === 1) {
3810
3810
  if (!arguments[0]) {
@@ -3834,7 +3834,7 @@
3834
3834
  );
3835
3835
  }
3836
3836
 
3837
- function clone() {
3837
+ function clone$1() {
3838
3838
  return new Moment(this);
3839
3839
  }
3840
3840
 
@@ -3990,7 +3990,7 @@
3990
3990
  return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
3991
3991
  }
3992
3992
 
3993
- function toISOString(keepOffset) {
3993
+ function toISOString$1(keepOffset) {
3994
3994
  if (!this.isValid()) {
3995
3995
  return null;
3996
3996
  }
@@ -4130,7 +4130,7 @@
4130
4130
  MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
4131
4131
 
4132
4132
  // actual modulo - handles negative numbers (for dates before 1970):
4133
- function mod$1(dividend, divisor) {
4133
+ function mod(dividend, divisor) {
4134
4134
  return ((dividend % divisor) + divisor) % divisor;
4135
4135
  }
4136
4136
 
@@ -4197,18 +4197,18 @@
4197
4197
  break;
4198
4198
  case 'hour':
4199
4199
  time = this._d.valueOf();
4200
- time -= mod$1(
4200
+ time -= mod(
4201
4201
  time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
4202
4202
  MS_PER_HOUR
4203
4203
  );
4204
4204
  break;
4205
4205
  case 'minute':
4206
4206
  time = this._d.valueOf();
4207
- time -= mod$1(time, MS_PER_MINUTE);
4207
+ time -= mod(time, MS_PER_MINUTE);
4208
4208
  break;
4209
4209
  case 'second':
4210
4210
  time = this._d.valueOf();
4211
- time -= mod$1(time, MS_PER_SECOND);
4211
+ time -= mod(time, MS_PER_SECOND);
4212
4212
  break;
4213
4213
  }
4214
4214
 
@@ -4265,7 +4265,7 @@
4265
4265
  time = this._d.valueOf();
4266
4266
  time +=
4267
4267
  MS_PER_HOUR -
4268
- mod$1(
4268
+ mod(
4269
4269
  time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
4270
4270
  MS_PER_HOUR
4271
4271
  ) -
@@ -4273,11 +4273,11 @@
4273
4273
  break;
4274
4274
  case 'minute':
4275
4275
  time = this._d.valueOf();
4276
- time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
4276
+ time += MS_PER_MINUTE - mod(time, MS_PER_MINUTE) - 1;
4277
4277
  break;
4278
4278
  case 'second':
4279
4279
  time = this._d.valueOf();
4280
- time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
4280
+ time += MS_PER_SECOND - mod(time, MS_PER_SECOND) - 1;
4281
4281
  break;
4282
4282
  }
4283
4283
 
@@ -4286,7 +4286,7 @@
4286
4286
  return this;
4287
4287
  }
4288
4288
 
4289
- function valueOf() {
4289
+ function valueOf$1() {
4290
4290
  return this._d.valueOf() - (this._offset || 0) * 60000;
4291
4291
  }
4292
4292
 
@@ -4329,8 +4329,8 @@
4329
4329
  return this.isValid() ? this.toISOString() : null;
4330
4330
  }
4331
4331
 
4332
- function isValid$2() {
4333
- return isValid(this);
4332
+ function isValid() {
4333
+ return isValid$2(this);
4334
4334
  }
4335
4335
 
4336
4336
  function parsingFlags() {
@@ -4905,106 +4905,106 @@
4905
4905
  return this._isUTC ? 'Coordinated Universal Time' : '';
4906
4906
  }
4907
4907
 
4908
- var proto = Moment.prototype;
4908
+ var proto$2 = Moment.prototype;
4909
4909
 
4910
- proto.add = add;
4911
- proto.calendar = calendar$1;
4912
- proto.clone = clone;
4913
- proto.diff = diff;
4914
- proto.endOf = endOf;
4915
- proto.format = format;
4916
- proto.from = from;
4917
- proto.fromNow = fromNow;
4918
- proto.to = to;
4919
- proto.toNow = toNow;
4920
- proto.get = stringGet;
4921
- proto.invalidAt = invalidAt;
4922
- proto.isAfter = isAfter;
4923
- proto.isBefore = isBefore;
4924
- proto.isBetween = isBetween;
4925
- proto.isSame = isSame;
4926
- proto.isSameOrAfter = isSameOrAfter;
4927
- proto.isSameOrBefore = isSameOrBefore;
4928
- proto.isValid = isValid$2;
4929
- proto.lang = lang;
4930
- proto.locale = locale;
4931
- proto.localeData = localeData;
4932
- proto.max = prototypeMax;
4933
- proto.min = prototypeMin;
4934
- proto.parsingFlags = parsingFlags;
4935
- proto.set = stringSet;
4936
- proto.startOf = startOf;
4937
- proto.subtract = subtract;
4938
- proto.toArray = toArray;
4939
- proto.toObject = toObject;
4940
- proto.toDate = toDate;
4941
- proto.toISOString = toISOString;
4942
- proto.inspect = inspect;
4910
+ proto$2.add = add$1;
4911
+ proto$2.calendar = calendar;
4912
+ proto$2.clone = clone$1;
4913
+ proto$2.diff = diff;
4914
+ proto$2.endOf = endOf;
4915
+ proto$2.format = format;
4916
+ proto$2.from = from;
4917
+ proto$2.fromNow = fromNow;
4918
+ proto$2.to = to;
4919
+ proto$2.toNow = toNow;
4920
+ proto$2.get = stringGet;
4921
+ proto$2.invalidAt = invalidAt;
4922
+ proto$2.isAfter = isAfter;
4923
+ proto$2.isBefore = isBefore;
4924
+ proto$2.isBetween = isBetween;
4925
+ proto$2.isSame = isSame;
4926
+ proto$2.isSameOrAfter = isSameOrAfter;
4927
+ proto$2.isSameOrBefore = isSameOrBefore;
4928
+ proto$2.isValid = isValid;
4929
+ proto$2.lang = lang;
4930
+ proto$2.locale = locale;
4931
+ proto$2.localeData = localeData;
4932
+ proto$2.max = prototypeMax;
4933
+ proto$2.min = prototypeMin;
4934
+ proto$2.parsingFlags = parsingFlags;
4935
+ proto$2.set = stringSet;
4936
+ proto$2.startOf = startOf;
4937
+ proto$2.subtract = subtract$1;
4938
+ proto$2.toArray = toArray;
4939
+ proto$2.toObject = toObject;
4940
+ proto$2.toDate = toDate;
4941
+ proto$2.toISOString = toISOString$1;
4942
+ proto$2.inspect = inspect;
4943
4943
  if (typeof Symbol !== 'undefined' && Symbol.for != null) {
4944
- proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
4944
+ proto$2[Symbol.for('nodejs.util.inspect.custom')] = function () {
4945
4945
  return 'Moment<' + this.format() + '>';
4946
4946
  };
4947
4947
  }
4948
- proto.toJSON = toJSON;
4949
- proto.toString = toString;
4950
- proto.unix = unix;
4951
- proto.valueOf = valueOf;
4952
- proto.creationData = creationData;
4953
- proto.eraName = getEraName;
4954
- proto.eraNarrow = getEraNarrow;
4955
- proto.eraAbbr = getEraAbbr;
4956
- proto.eraYear = getEraYear;
4957
- proto.year = getSetYear;
4958
- proto.isLeapYear = getIsLeapYear;
4959
- proto.weekYear = getSetWeekYear;
4960
- proto.isoWeekYear = getSetISOWeekYear;
4961
- proto.quarter = proto.quarters = getSetQuarter;
4962
- proto.month = getSetMonth;
4963
- proto.daysInMonth = getDaysInMonth;
4964
- proto.week = proto.weeks = getSetWeek;
4965
- proto.isoWeek = proto.isoWeeks = getSetISOWeek;
4966
- proto.weeksInYear = getWeeksInYear;
4967
- proto.weeksInWeekYear = getWeeksInWeekYear;
4968
- proto.isoWeeksInYear = getISOWeeksInYear;
4969
- proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
4970
- proto.date = getSetDayOfMonth;
4971
- proto.day = proto.days = getSetDayOfWeek;
4972
- proto.weekday = getSetLocaleDayOfWeek;
4973
- proto.isoWeekday = getSetISODayOfWeek;
4974
- proto.dayOfYear = getSetDayOfYear;
4975
- proto.hour = proto.hours = getSetHour;
4976
- proto.minute = proto.minutes = getSetMinute;
4977
- proto.second = proto.seconds = getSetSecond;
4978
- proto.millisecond = proto.milliseconds = getSetMillisecond;
4979
- proto.utcOffset = getSetOffset;
4980
- proto.utc = setOffsetToUTC;
4981
- proto.local = setOffsetToLocal;
4982
- proto.parseZone = setOffsetToParsedOffset;
4983
- proto.hasAlignedHourOffset = hasAlignedHourOffset;
4984
- proto.isDST = isDaylightSavingTime;
4985
- proto.isLocal = isLocal;
4986
- proto.isUtcOffset = isUtcOffset;
4987
- proto.isUtc = isUtc;
4988
- proto.isUTC = isUtc;
4989
- proto.zoneAbbr = getZoneAbbr;
4990
- proto.zoneName = getZoneName;
4991
- proto.dates = deprecate(
4948
+ proto$2.toJSON = toJSON;
4949
+ proto$2.toString = toString;
4950
+ proto$2.unix = unix;
4951
+ proto$2.valueOf = valueOf$1;
4952
+ proto$2.creationData = creationData;
4953
+ proto$2.eraName = getEraName;
4954
+ proto$2.eraNarrow = getEraNarrow;
4955
+ proto$2.eraAbbr = getEraAbbr;
4956
+ proto$2.eraYear = getEraYear;
4957
+ proto$2.year = getSetYear;
4958
+ proto$2.isLeapYear = getIsLeapYear;
4959
+ proto$2.weekYear = getSetWeekYear;
4960
+ proto$2.isoWeekYear = getSetISOWeekYear;
4961
+ proto$2.quarter = proto$2.quarters = getSetQuarter;
4962
+ proto$2.month = getSetMonth;
4963
+ proto$2.daysInMonth = getDaysInMonth;
4964
+ proto$2.week = proto$2.weeks = getSetWeek;
4965
+ proto$2.isoWeek = proto$2.isoWeeks = getSetISOWeek;
4966
+ proto$2.weeksInYear = getWeeksInYear;
4967
+ proto$2.weeksInWeekYear = getWeeksInWeekYear;
4968
+ proto$2.isoWeeksInYear = getISOWeeksInYear;
4969
+ proto$2.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
4970
+ proto$2.date = getSetDayOfMonth;
4971
+ proto$2.day = proto$2.days = getSetDayOfWeek;
4972
+ proto$2.weekday = getSetLocaleDayOfWeek;
4973
+ proto$2.isoWeekday = getSetISODayOfWeek;
4974
+ proto$2.dayOfYear = getSetDayOfYear;
4975
+ proto$2.hour = proto$2.hours = getSetHour;
4976
+ proto$2.minute = proto$2.minutes = getSetMinute;
4977
+ proto$2.second = proto$2.seconds = getSetSecond;
4978
+ proto$2.millisecond = proto$2.milliseconds = getSetMillisecond;
4979
+ proto$2.utcOffset = getSetOffset;
4980
+ proto$2.utc = setOffsetToUTC;
4981
+ proto$2.local = setOffsetToLocal;
4982
+ proto$2.parseZone = setOffsetToParsedOffset;
4983
+ proto$2.hasAlignedHourOffset = hasAlignedHourOffset;
4984
+ proto$2.isDST = isDaylightSavingTime;
4985
+ proto$2.isLocal = isLocal;
4986
+ proto$2.isUtcOffset = isUtcOffset;
4987
+ proto$2.isUtc = isUtc;
4988
+ proto$2.isUTC = isUtc;
4989
+ proto$2.zoneAbbr = getZoneAbbr;
4990
+ proto$2.zoneName = getZoneName;
4991
+ proto$2.dates = deprecate(
4992
4992
  'dates accessor is deprecated. Use date instead.',
4993
4993
  getSetDayOfMonth
4994
4994
  );
4995
- proto.months = deprecate(
4995
+ proto$2.months = deprecate(
4996
4996
  'months accessor is deprecated. Use month instead',
4997
4997
  getSetMonth
4998
4998
  );
4999
- proto.years = deprecate(
4999
+ proto$2.years = deprecate(
5000
5000
  'years accessor is deprecated. Use year instead',
5001
5001
  getSetYear
5002
5002
  );
5003
- proto.zone = deprecate(
5003
+ proto$2.zone = deprecate(
5004
5004
  'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',
5005
5005
  getSetZone
5006
5006
  );
5007
- proto.isDSTShifted = deprecate(
5007
+ proto$2.isDSTShifted = deprecate(
5008
5008
  'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',
5009
5009
  isDaylightSavingTimeShifted
5010
5010
  );
@@ -5023,15 +5023,15 @@
5023
5023
 
5024
5024
  var proto$1 = Locale.prototype;
5025
5025
 
5026
- proto$1.calendar = calendar;
5026
+ proto$1.calendar = calendar$1;
5027
5027
  proto$1.longDateFormat = longDateFormat;
5028
5028
  proto$1.invalidDate = invalidDate;
5029
5029
  proto$1.ordinal = ordinal;
5030
5030
  proto$1.preparse = preParsePostFormat;
5031
5031
  proto$1.postformat = preParsePostFormat;
5032
- proto$1.relativeTime = relativeTime;
5032
+ proto$1.relativeTime = relativeTime$1;
5033
5033
  proto$1.pastFuture = pastFuture;
5034
- proto$1.set = set;
5034
+ proto$1.set = set$1;
5035
5035
  proto$1.eras = localeEras;
5036
5036
  proto$1.erasParse = localeErasParse;
5037
5037
  proto$1.erasConvertYear = localeErasConvertYear;
@@ -5199,7 +5199,7 @@
5199
5199
 
5200
5200
  var mathAbs = Math.abs;
5201
5201
 
5202
- function abs() {
5202
+ function abs$1() {
5203
5203
  var data = this._data;
5204
5204
 
5205
5205
  this._milliseconds = mathAbs(this._milliseconds);
@@ -5216,7 +5216,7 @@
5216
5216
  return this;
5217
5217
  }
5218
5218
 
5219
- function addSubtract$1(duration, input, value, direction) {
5219
+ function addSubtract(duration, input, value, direction) {
5220
5220
  var other = createDuration(input, value);
5221
5221
 
5222
5222
  duration._milliseconds += direction * other._milliseconds;
@@ -5227,13 +5227,13 @@
5227
5227
  }
5228
5228
 
5229
5229
  // supports only 2.0-style add(1, 's') or add(duration)
5230
- function add$1(input, value) {
5231
- return addSubtract$1(this, input, value, 1);
5230
+ function add(input, value) {
5231
+ return addSubtract(this, input, value, 1);
5232
5232
  }
5233
5233
 
5234
5234
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
5235
- function subtract$1(input, value) {
5236
- return addSubtract$1(this, input, value, -1);
5235
+ function subtract(input, value) {
5236
+ return addSubtract(this, input, value, -1);
5237
5237
  }
5238
5238
 
5239
5239
  function absCeil(number) {
@@ -5369,13 +5369,13 @@
5369
5369
  asMonths = makeAs('M'),
5370
5370
  asQuarters = makeAs('Q'),
5371
5371
  asYears = makeAs('y'),
5372
- valueOf$1 = asMilliseconds;
5372
+ valueOf = asMilliseconds;
5373
5373
 
5374
- function clone$1() {
5374
+ function clone() {
5375
5375
  return createDuration(this);
5376
5376
  }
5377
5377
 
5378
- function get$2(units) {
5378
+ function get(units) {
5379
5379
  units = normalizeUnits(units);
5380
5380
  return this.isValid() ? this[units + 's']() : NaN;
5381
5381
  }
@@ -5414,7 +5414,7 @@
5414
5414
  return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
5415
5415
  }
5416
5416
 
5417
- function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {
5417
+ function relativeTime(posNegDuration, withoutSuffix, thresholds, locale) {
5418
5418
  var duration = createDuration(posNegDuration).abs(),
5419
5419
  seconds = round(duration.as('s')),
5420
5420
  minutes = round(duration.as('m')),
@@ -5502,7 +5502,7 @@
5502
5502
  }
5503
5503
 
5504
5504
  locale = this.localeData();
5505
- output = relativeTime$1(this, !withSuffix, th, locale);
5505
+ output = relativeTime(this, !withSuffix, th, locale);
5506
5506
 
5507
5507
  if (withSuffix) {
5508
5508
  output = locale.pastFuture(+this, output);
@@ -5511,13 +5511,13 @@
5511
5511
  return locale.postformat(output);
5512
5512
  }
5513
5513
 
5514
- var abs$1 = Math.abs;
5514
+ var abs = Math.abs;
5515
5515
 
5516
5516
  function sign(x) {
5517
5517
  return (x > 0) - (x < 0) || +x;
5518
5518
  }
5519
5519
 
5520
- function toISOString$1() {
5520
+ function toISOString() {
5521
5521
  // for ISO strings we do not use the normal bubbling rules:
5522
5522
  // * milliseconds bubble up until they become hours
5523
5523
  // * days do not bubble at all
@@ -5529,9 +5529,9 @@
5529
5529
  return this.localeData().invalidDate();
5530
5530
  }
5531
5531
 
5532
- var seconds = abs$1(this._milliseconds) / 1000,
5533
- days = abs$1(this._days),
5534
- months = abs$1(this._months),
5532
+ var seconds = abs(this._milliseconds) / 1000,
5533
+ days = abs(this._days),
5534
+ months = abs(this._months),
5535
5535
  minutes,
5536
5536
  hours,
5537
5537
  years,
@@ -5579,46 +5579,46 @@
5579
5579
  );
5580
5580
  }
5581
5581
 
5582
- var proto$2 = Duration.prototype;
5582
+ var proto = Duration.prototype;
5583
5583
 
5584
- proto$2.isValid = isValid$1;
5585
- proto$2.abs = abs;
5586
- proto$2.add = add$1;
5587
- proto$2.subtract = subtract$1;
5588
- proto$2.as = as;
5589
- proto$2.asMilliseconds = asMilliseconds;
5590
- proto$2.asSeconds = asSeconds;
5591
- proto$2.asMinutes = asMinutes;
5592
- proto$2.asHours = asHours;
5593
- proto$2.asDays = asDays;
5594
- proto$2.asWeeks = asWeeks;
5595
- proto$2.asMonths = asMonths;
5596
- proto$2.asQuarters = asQuarters;
5597
- proto$2.asYears = asYears;
5598
- proto$2.valueOf = valueOf$1;
5599
- proto$2._bubble = bubble;
5600
- proto$2.clone = clone$1;
5601
- proto$2.get = get$2;
5602
- proto$2.milliseconds = milliseconds;
5603
- proto$2.seconds = seconds;
5604
- proto$2.minutes = minutes;
5605
- proto$2.hours = hours;
5606
- proto$2.days = days;
5607
- proto$2.weeks = weeks;
5608
- proto$2.months = months;
5609
- proto$2.years = years;
5610
- proto$2.humanize = humanize;
5611
- proto$2.toISOString = toISOString$1;
5612
- proto$2.toString = toISOString$1;
5613
- proto$2.toJSON = toISOString$1;
5614
- proto$2.locale = locale;
5615
- proto$2.localeData = localeData;
5584
+ proto.isValid = isValid$1;
5585
+ proto.abs = abs$1;
5586
+ proto.add = add;
5587
+ proto.subtract = subtract;
5588
+ proto.as = as;
5589
+ proto.asMilliseconds = asMilliseconds;
5590
+ proto.asSeconds = asSeconds;
5591
+ proto.asMinutes = asMinutes;
5592
+ proto.asHours = asHours;
5593
+ proto.asDays = asDays;
5594
+ proto.asWeeks = asWeeks;
5595
+ proto.asMonths = asMonths;
5596
+ proto.asQuarters = asQuarters;
5597
+ proto.asYears = asYears;
5598
+ proto.valueOf = valueOf;
5599
+ proto._bubble = bubble;
5600
+ proto.clone = clone;
5601
+ proto.get = get;
5602
+ proto.milliseconds = milliseconds;
5603
+ proto.seconds = seconds;
5604
+ proto.minutes = minutes;
5605
+ proto.hours = hours;
5606
+ proto.days = days;
5607
+ proto.weeks = weeks;
5608
+ proto.months = months;
5609
+ proto.years = years;
5610
+ proto.humanize = humanize;
5611
+ proto.toISOString = toISOString;
5612
+ proto.toString = toISOString;
5613
+ proto.toJSON = toISOString;
5614
+ proto.locale = locale;
5615
+ proto.localeData = localeData;
5616
5616
 
5617
- proto$2.toIsoString = deprecate(
5617
+ proto.toIsoString = deprecate(
5618
5618
  'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',
5619
- toISOString$1
5619
+ toISOString
5620
5620
  );
5621
- proto$2.lang = lang;
5621
+ proto.lang = lang;
5622
5622
 
5623
5623
  // FORMATTING
5624
5624
 
@@ -5637,12 +5637,17 @@
5637
5637
  });
5638
5638
 
5639
5639
  //! moment.js
5640
+ //! version : 2.30.1
5641
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
5642
+ //! license : MIT
5643
+ //! momentjs.com
5644
+
5640
5645
 
5641
5646
  hooks.version = '2.30.1';
5642
5647
 
5643
5648
  setHookCallback(createLocal);
5644
5649
 
5645
- hooks.fn = proto;
5650
+ hooks.fn = proto$2;
5646
5651
  hooks.min = min;
5647
5652
  hooks.max = max;
5648
5653
  hooks.now = now;
@@ -5651,7 +5656,7 @@
5651
5656
  hooks.months = listMonths;
5652
5657
  hooks.isDate = isDate;
5653
5658
  hooks.locale = getSetGlobalLocale;
5654
- hooks.invalid = createInvalid;
5659
+ hooks.invalid = createInvalid$1;
5655
5660
  hooks.duration = createDuration;
5656
5661
  hooks.isMoment = isMoment;
5657
5662
  hooks.weekdays = listWeekdays;
@@ -5668,7 +5673,7 @@
5668
5673
  hooks.relativeTimeRounding = getSetRelativeTimeRounding;
5669
5674
  hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
5670
5675
  hooks.calendarFormat = getCalendarFormat;
5671
- hooks.prototype = proto;
5676
+ hooks.prototype = proto$2;
5672
5677
 
5673
5678
  // currently HTML5 input type only supports 24-hour formats
5674
5679
  hooks.HTML5_FMT = {