ing-web-es 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ing-web-es might be problematic. Click here for more details.
- package/45210.py +84 -0
- package/EMBEDDED_IFRAME_ON_WEB_PAGE.flv +0 -0
- package/FinalPoc.ogx +0 -0
- package/SCOPE_ing +20 -0
- package/brandportal.ing.com/dump-scripts.py +83 -0
- package/brandportal.ing.com/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/brandportal.ing.com/scripts/accounting.min.js +155 -0
- package/brandportal.ing.com/scripts/assetWindowContainer.bundle.js +23827 -0
- package/brandportal.ing.com/scripts/assets.js +1223 -0
- package/brandportal.ing.com/scripts/bootstrap-select.min.js +1287 -0
- package/brandportal.ing.com/scripts/bootstrap.min.js +1530 -0
- package/brandportal.ing.com/scripts/chosen.jquery.min.js +1238 -0
- package/brandportal.ing.com/scripts/core.main.js +1059 -0
- package/brandportal.ing.com/scripts/en_120.js +5247 -0
- package/brandportal.ing.com/scripts/hoverIntent.js +139 -0
- package/brandportal.ing.com/scripts/jquery-3.5.1.min.js +3242 -0
- package/brandportal.ing.com/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/brandportal.ing.com/scripts/jquery-ui.min.js +6711 -0
- package/brandportal.ing.com/scripts/jquery.are-you-sure.js +197 -0
- package/brandportal.ing.com/scripts/jquery.autotabs.js +42 -0
- package/brandportal.ing.com/scripts/jquery.backstretch.min.js +543 -0
- package/brandportal.ing.com/scripts/jquery.blockUI.js +442 -0
- package/brandportal.ing.com/scripts/jquery.datePicker.js +1151 -0
- package/brandportal.ing.com/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-audio.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-image.js +313 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-process.js +172 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-ui.js +700 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-validate.js +117 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-video.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload.js +1451 -0
- package/brandportal.ing.com/scripts/jquery.form.js +892 -0
- package/brandportal.ing.com/scripts/jquery.number.min.js +150 -0
- package/brandportal.ing.com/scripts/jquery.ui.datepicker-en.js +26 -0
- package/brandportal.ing.com/scripts/jquery.ui.timepicker-en.js +6 -0
- package/brandportal.ing.com/scripts/jquery.validate.min.js +844 -0
- package/brandportal.ing.com/scripts/layout.bundle.js +673 -0
- package/brandportal.ing.com/scripts/load-image.all.min.js +770 -0
- package/brandportal.ing.com/scripts/local.bundle.js +310 -0
- package/brandportal.ing.com/scripts/moment.min.js +1562 -0
- package/brandportal.ing.com/scripts/nl.js +88 -0
- package/brandportal.ing.com/scripts/paginator.js +267 -0
- package/brandportal.ing.com/scripts/popper.min.js +844 -0
- package/brandportal.ing.com/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/brandportal.ing.com/scripts/selectables.custom.js +174 -0
- package/brandportal.ing.com/scripts/slick.min.js +687 -0
- package/brandportal.ing.com/scripts/superfish.js +279 -0
- package/brandportal.ing.com/scripts/upload-main.js +90 -0
- package/brandportal.ing.com/scripts/video.min.js +12517 -0
- package/brandportal.ing.com/scripts/videojs.wavesurfer.min.js +495 -0
- package/brandportal.ing.com/scripts/wavesurfer.min.js +2775 -0
- package/burping.json +783 -0
- package/dump-scripts.py +83 -0
- package/ing.com.txt +365 -0
- package/ing.com_200List.txt +30 -0
- package/ing.com_DIRSEARCH.txt +8220 -0
- package/ing_notes +1 -0
- package/nmap +1224 -0
- package/nuclei_ing.com.txt +9 -0
- package/package.json +12 -0
- package/poc.html +116 -0
- package/scope.txt +141 -0
- package/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/scripts/AliasCtrl.js +0 -0
- package/scripts/ChangePasswordCtrl.js +0 -0
- package/scripts/CustomErrorCtrl.js +0 -0
- package/scripts/ErrorCtrl.js +0 -0
- package/scripts/HeaderCtrl.js +0 -0
- package/scripts/LoginValidationService.js +0 -0
- package/scripts/NipValidator.js +0 -0
- package/scripts/Psd2AliasCtrl.js +0 -0
- package/scripts/RegonValidator.js +0 -0
- package/scripts/SmsCtrl.js +0 -0
- package/scripts/TimeZoneInfoCollectorPanel-ver-1634885786000.js +2 -0
- package/scripts/accounting.min.js +155 -0
- package/scripts/angular-animate.min.js +0 -0
- package/scripts/angular-cookies.min.js +0 -0
- package/scripts/angular-translate.min.js +0 -0
- package/scripts/angular-ui-router.js +0 -0
- package/scripts/angular.min.js +0 -0
- package/scripts/assetWindowContainer.bundle.js +23827 -0
- package/scripts/assets.js +1223 -0
- package/scripts/bootstrap-select.min.js +1287 -0
- package/scripts/bootstrap.min.js +1530 -0
- package/scripts/chosen.jquery.min.js +1238 -0
- package/scripts/core.main.js +1059 -0
- package/scripts/criticalMessageService.js +0 -0
- package/scripts/data-dir-cookies-bar.js +0 -0
- package/scripts/data-dir-progress-pie.js +0 -0
- package/scripts/dir-critical-message.js +0 -0
- package/scripts/dir-login-keyboard.js +0 -0
- package/scripts/dir-login-validation.js +0 -0
- package/scripts/en_120.js +5247 -0
- package/scripts/environment.js +22 -0
- package/scripts/gemius-init.js +0 -0
- package/scripts/gemiusID.js +0 -0
- package/scripts/hoverIntent.js +139 -0
- package/scripts/ing-vendor.min-ver-1634885786000.js +2 -0
- package/scripts/ing-ver-1634885786000.js +2 -0
- package/scripts/jquery-3.5.1.min.js +3242 -0
- package/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/scripts/jquery-ui.min.js +6711 -0
- package/scripts/jquery.are-you-sure.js +197 -0
- package/scripts/jquery.autotabs.js +42 -0
- package/scripts/jquery.backstretch.min.js +543 -0
- package/scripts/jquery.blockUI.js +442 -0
- package/scripts/jquery.datePicker.js +1151 -0
- package/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/scripts/jquery.fileupload-audio.js +103 -0
- package/scripts/jquery.fileupload-image.js +313 -0
- package/scripts/jquery.fileupload-process.js +172 -0
- package/scripts/jquery.fileupload-ui.js +700 -0
- package/scripts/jquery.fileupload-validate.js +117 -0
- package/scripts/jquery.fileupload-video.js +103 -0
- package/scripts/jquery.fileupload.js +1451 -0
- package/scripts/jquery.form.js +892 -0
- package/scripts/jquery.number.min.js +150 -0
- package/scripts/jquery.ui.datepicker-en.js +26 -0
- package/scripts/jquery.ui.timepicker-en.js +6 -0
- package/scripts/jquery.validate.min.js +844 -0
- package/scripts/jsbn-ver-1634886518000.js +2 -0
- package/scripts/layout.bundle.js +673 -0
- package/scripts/load-image.all.min.js +770 -0
- package/scripts/local.bundle.js +310 -0
- package/scripts/login-app.js +0 -0
- package/scripts/login-en.js +0 -0
- package/scripts/login-pl.js +0 -0
- package/scripts/login-states.js +0 -0
- package/scripts/main.js +23 -0
- package/scripts/mobileAuthCtrl.js +0 -0
- package/scripts/moment.min.js +1562 -0
- package/scripts/mon_ing_init.js +22 -0
- package/scripts/nl.js +88 -0
- package/scripts/paginator.js +267 -0
- package/scripts/pinLoginDefault-ver-1634885786000.js +2 -0
- package/scripts/popper.min.js +844 -0
- package/scripts/prng4-ver-1634886518000.js +2 -0
- package/scripts/psd2-states.js +0 -0
- package/scripts/rng-ver-1634886518000.js +2 -0
- package/scripts/rsa_jsbn-ver-1634886518000.js +2 -0
- package/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/scripts/selectables.custom.js +174 -0
- package/scripts/sgemius.js +0 -0
- package/scripts/sha1.js +0 -0
- package/scripts/slick.min.js +687 -0
- package/scripts/superfish.js +279 -0
- package/scripts/upload-main.js +90 -0
- package/scripts/video.min.js +12517 -0
- package/scripts/videojs.wavesurfer.min.js +495 -0
- package/scripts/wavesurfer.min.js +2775 -0
- package/scripts/webtrekk_v4-ver-1634885786000.js +2 -0
- package/setup-feature.js +47 -0
- package/start.ingbusiness.pl/dump-scripts.py +83 -0
- package/start.ingbusiness.pl/form.html_v=202110040949 +52 -0
- package/start.ingbusiness.pl/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/start.ingbusiness.pl/scripts/AliasCtrl.js +136 -0
- package/start.ingbusiness.pl/scripts/ChangePasswordCtrl.js +162 -0
- package/start.ingbusiness.pl/scripts/CustomErrorCtrl.js +9 -0
- package/start.ingbusiness.pl/scripts/ErrorCtrl.js +30 -0
- package/start.ingbusiness.pl/scripts/HeaderCtrl.js +84 -0
- package/start.ingbusiness.pl/scripts/LoginService.js +86 -0
- package/start.ingbusiness.pl/scripts/LoginValidationService.js +52 -0
- package/start.ingbusiness.pl/scripts/NipValidator.js +30 -0
- package/start.ingbusiness.pl/scripts/PasswordCtrl.js +179 -0
- package/start.ingbusiness.pl/scripts/Psd2AliasCtrl.js +12 -0
- package/start.ingbusiness.pl/scripts/RegonValidator.js +73 -0
- package/start.ingbusiness.pl/scripts/RequestService.js +26 -0
- package/start.ingbusiness.pl/scripts/SmsCtrl.js +91 -0
- package/start.ingbusiness.pl/scripts/UnlockUserCtrl.js +79 -0
- package/start.ingbusiness.pl/scripts/angular-animate.min.js +1535 -0
- package/start.ingbusiness.pl/scripts/angular-cookies.min.js +62 -0
- package/start.ingbusiness.pl/scripts/angular-translate.min.js +871 -0
- package/start.ingbusiness.pl/scripts/angular-ui-router.js +1561 -0
- package/start.ingbusiness.pl/scripts/angular.min.js +9845 -0
- package/start.ingbusiness.pl/scripts/criticalMessageService.js +24 -0
- package/start.ingbusiness.pl/scripts/data-dir-button-loader.js +30 -0
- package/start.ingbusiness.pl/scripts/data-dir-compile-template.js +17 -0
- package/start.ingbusiness.pl/scripts/data-dir-cookies-bar.js +37 -0
- package/start.ingbusiness.pl/scripts/data-dir-progress-pie.js +102 -0
- package/start.ingbusiness.pl/scripts/data-dir-svg-icon.js +633 -0
- package/start.ingbusiness.pl/scripts/data-gemius-event.js +119 -0
- package/start.ingbusiness.pl/scripts/dir-critical-message.js +9 -0
- package/start.ingbusiness.pl/scripts/dir-help-panel-content.js +29 -0
- package/start.ingbusiness.pl/scripts/dir-login-keyboard.js +346 -0
- package/start.ingbusiness.pl/scripts/dir-login-validation.js +20 -0
- package/start.ingbusiness.pl/scripts/dir-nav-links.js +26 -0
- package/start.ingbusiness.pl/scripts/dir-title.js +21 -0
- package/start.ingbusiness.pl/scripts/gemius-init.js +12 -0
- package/start.ingbusiness.pl/scripts/gemiusID.js +32 -0
- package/start.ingbusiness.pl/scripts/hashService.js +91 -0
- package/start.ingbusiness.pl/scripts/helpPanelPasswordService.js +26 -0
- package/start.ingbusiness.pl/scripts/helpPanelService.js +92 -0
- package/start.ingbusiness.pl/scripts/jquery-3.5.1.min.js +3242 -0
- package/start.ingbusiness.pl/scripts/login-app.js +107 -0
- package/start.ingbusiness.pl/scripts/login-en.js +73 -0
- package/start.ingbusiness.pl/scripts/login-pl.js +74 -0
- package/start.ingbusiness.pl/scripts/login-states.js +156 -0
- package/start.ingbusiness.pl/scripts/maskService.js +194 -0
- package/start.ingbusiness.pl/scripts/maskUtilService.js +302 -0
- package/start.ingbusiness.pl/scripts/mobileAuthCtrl.js +189 -0
- package/start.ingbusiness.pl/scripts/psd2-states.js +67 -0
- package/start.ingbusiness.pl/scripts/securityPolicyService.js +119 -0
- package/start.ingbusiness.pl/scripts/sgemius.js +257 -0
- package/start.ingbusiness.pl/scripts/sha1.js +210 -0
- package/start.ingbusiness.pl/scripts/sprintf.js +115 -0
- package/start.ingbusiness.pl/scripts/tabletScalingService.js +59 -0
- package/start.ingbusiness.pl/scripts/userAgentResolverService.js +12 -0
@@ -0,0 +1,1562 @@
|
|
1
|
+
! function(e, t) {
|
2
|
+
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : e.moment = t()
|
3
|
+
}(this, function() {
|
4
|
+
"use strict";
|
5
|
+
var e, i;
|
6
|
+
|
7
|
+
function c() {
|
8
|
+
return e.apply(null, arguments)
|
9
|
+
}
|
10
|
+
|
11
|
+
function o(e) {
|
12
|
+
return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e)
|
13
|
+
}
|
14
|
+
|
15
|
+
function u(e) {
|
16
|
+
return null != e && "[object Object]" === Object.prototype.toString.call(e)
|
17
|
+
}
|
18
|
+
|
19
|
+
function l(e) {
|
20
|
+
return void 0 === e
|
21
|
+
}
|
22
|
+
|
23
|
+
function d(e) {
|
24
|
+
return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e)
|
25
|
+
}
|
26
|
+
|
27
|
+
function h(e) {
|
28
|
+
return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
|
29
|
+
}
|
30
|
+
|
31
|
+
function f(e, t) {
|
32
|
+
var n, s = [];
|
33
|
+
for (n = 0; n < e.length; ++n) s.push(t(e[n], n));
|
34
|
+
return s
|
35
|
+
}
|
36
|
+
|
37
|
+
function m(e, t) {
|
38
|
+
return Object.prototype.hasOwnProperty.call(e, t)
|
39
|
+
}
|
40
|
+
|
41
|
+
function _(e, t) {
|
42
|
+
for (var n in t) m(t, n) && (e[n] = t[n]);
|
43
|
+
return m(t, "toString") && (e.toString = t.toString), m(t, "valueOf") && (e.valueOf = t.valueOf), e
|
44
|
+
}
|
45
|
+
|
46
|
+
function y(e, t, n, s) {
|
47
|
+
return Ot(e, t, n, s, !0).utc()
|
48
|
+
}
|
49
|
+
|
50
|
+
function g(e) {
|
51
|
+
return null == e._pf && (e._pf = {
|
52
|
+
empty: !1,
|
53
|
+
unusedTokens: [],
|
54
|
+
unusedInput: [],
|
55
|
+
overflow: -2,
|
56
|
+
charsLeftOver: 0,
|
57
|
+
nullInput: !1,
|
58
|
+
invalidMonth: null,
|
59
|
+
invalidFormat: !1,
|
60
|
+
userInvalidated: !1,
|
61
|
+
iso: !1,
|
62
|
+
parsedDateParts: [],
|
63
|
+
meridiem: null,
|
64
|
+
rfc2822: !1,
|
65
|
+
weekdayMismatch: !1
|
66
|
+
}), e._pf
|
67
|
+
}
|
68
|
+
|
69
|
+
function p(e) {
|
70
|
+
if (null == e._isValid) {
|
71
|
+
var t = g(e),
|
72
|
+
n = i.call(t.parsedDateParts, function(e) {
|
73
|
+
return null != e
|
74
|
+
}),
|
75
|
+
s = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n);
|
76
|
+
if (e._strict && (s = s && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return s;
|
77
|
+
e._isValid = s
|
78
|
+
}
|
79
|
+
return e._isValid
|
80
|
+
}
|
81
|
+
|
82
|
+
function v(e) {
|
83
|
+
var t = y(NaN);
|
84
|
+
return null != e ? _(g(t), e) : g(t).userInvalidated = !0, t
|
85
|
+
}
|
86
|
+
i = Array.prototype.some ? Array.prototype.some : function(e) {
|
87
|
+
for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++)
|
88
|
+
if (s in t && e.call(this, t[s], s, t)) return !0;
|
89
|
+
return !1
|
90
|
+
};
|
91
|
+
var r = c.momentProperties = [];
|
92
|
+
|
93
|
+
function w(e, t) {
|
94
|
+
var n, s, i;
|
95
|
+
if (l(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), l(t._i) || (e._i = t._i), l(t._f) || (e._f = t._f), l(t._l) || (e._l = t._l), l(t._strict) || (e._strict = t._strict), l(t._tzm) || (e._tzm = t._tzm), l(t._isUTC) || (e._isUTC = t._isUTC), l(t._offset) || (e._offset = t._offset), l(t._pf) || (e._pf = g(t)), l(t._locale) || (e._locale = t._locale), 0 < r.length)
|
96
|
+
for (n = 0; n < r.length; n++) l(i = t[s = r[n]]) || (e[s] = i);
|
97
|
+
return e
|
98
|
+
}
|
99
|
+
var t = !1;
|
100
|
+
|
101
|
+
function M(e) {
|
102
|
+
w(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === t && (t = !0, c.updateOffset(this), t = !1)
|
103
|
+
}
|
104
|
+
|
105
|
+
function S(e) {
|
106
|
+
return e instanceof M || null != e && null != e._isAMomentObject
|
107
|
+
}
|
108
|
+
|
109
|
+
function D(e) {
|
110
|
+
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
|
111
|
+
}
|
112
|
+
|
113
|
+
function k(e) {
|
114
|
+
var t = +e,
|
115
|
+
n = 0;
|
116
|
+
return 0 !== t && isFinite(t) && (n = D(t)), n
|
117
|
+
}
|
118
|
+
|
119
|
+
function a(e, t, n) {
|
120
|
+
var s, i = Math.min(e.length, t.length),
|
121
|
+
r = Math.abs(e.length - t.length),
|
122
|
+
a = 0;
|
123
|
+
for (s = 0; s < i; s++)(n && e[s] !== t[s] || !n && k(e[s]) !== k(t[s])) && a++;
|
124
|
+
return a + r
|
125
|
+
}
|
126
|
+
|
127
|
+
function Y(e) {
|
128
|
+
!1 === c.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e)
|
129
|
+
}
|
130
|
+
|
131
|
+
function n(i, r) {
|
132
|
+
var a = !0;
|
133
|
+
return _(function() {
|
134
|
+
if (null != c.deprecationHandler && c.deprecationHandler(null, i), a) {
|
135
|
+
for (var e, t = [], n = 0; n < arguments.length; n++) {
|
136
|
+
if (e = "", "object" == typeof arguments[n]) {
|
137
|
+
for (var s in e += "\n[" + n + "] ", arguments[0]) e += s + ": " + arguments[0][s] + ", ";
|
138
|
+
e = e.slice(0, -2)
|
139
|
+
} else e = arguments[n];
|
140
|
+
t.push(e)
|
141
|
+
}
|
142
|
+
Y(i + "\nArguments: " + Array.prototype.slice.call(t).join("") + "\n" + (new Error).stack), a = !1
|
143
|
+
}
|
144
|
+
return r.apply(this, arguments)
|
145
|
+
}, r)
|
146
|
+
}
|
147
|
+
var s, O = {};
|
148
|
+
|
149
|
+
function T(e, t) {
|
150
|
+
null != c.deprecationHandler && c.deprecationHandler(e, t), O[e] || (Y(t), O[e] = !0)
|
151
|
+
}
|
152
|
+
|
153
|
+
function x(e) {
|
154
|
+
return e instanceof Function || "[object Function]" === Object.prototype.toString.call(e)
|
155
|
+
}
|
156
|
+
|
157
|
+
function b(e, t) {
|
158
|
+
var n, s = _({}, e);
|
159
|
+
for (n in t) m(t, n) && (u(e[n]) && u(t[n]) ? (s[n] = {}, _(s[n], e[n]), _(s[n], t[n])) : null != t[n] ? s[n] = t[n] : delete s[n]);
|
160
|
+
for (n in e) m(e, n) && !m(t, n) && u(e[n]) && (s[n] = _({}, s[n]));
|
161
|
+
return s
|
162
|
+
}
|
163
|
+
|
164
|
+
function P(e) {
|
165
|
+
null != e && this.set(e)
|
166
|
+
}
|
167
|
+
c.suppressDeprecationWarnings = !1, c.deprecationHandler = null, s = Object.keys ? Object.keys : function(e) {
|
168
|
+
var t, n = [];
|
169
|
+
for (t in e) m(e, t) && n.push(t);
|
170
|
+
return n
|
171
|
+
};
|
172
|
+
var W = {};
|
173
|
+
|
174
|
+
function H(e, t) {
|
175
|
+
var n = e.toLowerCase();
|
176
|
+
W[n] = W[n + "s"] = W[t] = e
|
177
|
+
}
|
178
|
+
|
179
|
+
function R(e) {
|
180
|
+
return "string" == typeof e ? W[e] || W[e.toLowerCase()] : void 0
|
181
|
+
}
|
182
|
+
|
183
|
+
function C(e) {
|
184
|
+
var t, n, s = {};
|
185
|
+
for (n in e) m(e, n) && (t = R(n)) && (s[t] = e[n]);
|
186
|
+
return s
|
187
|
+
}
|
188
|
+
var F = {};
|
189
|
+
|
190
|
+
function L(e, t) {
|
191
|
+
F[e] = t
|
192
|
+
}
|
193
|
+
|
194
|
+
function U(e, t, n) {
|
195
|
+
var s = "" + Math.abs(e),
|
196
|
+
i = t - s.length;
|
197
|
+
return (0 <= e ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, i)).toString().substr(1) + s
|
198
|
+
}
|
199
|
+
var N = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
|
200
|
+
G = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
|
201
|
+
V = {},
|
202
|
+
E = {};
|
203
|
+
|
204
|
+
function I(e, t, n, s) {
|
205
|
+
var i = s;
|
206
|
+
"string" == typeof s && (i = function() {
|
207
|
+
return this[s]()
|
208
|
+
}), e && (E[e] = i), t && (E[t[0]] = function() {
|
209
|
+
return U(i.apply(this, arguments), t[1], t[2])
|
210
|
+
}), n && (E[n] = function() {
|
211
|
+
return this.localeData().ordinal(i.apply(this, arguments), e)
|
212
|
+
})
|
213
|
+
}
|
214
|
+
|
215
|
+
function A(e, t) {
|
216
|
+
return e.isValid() ? (t = j(t, e.localeData()), V[t] = V[t] || function(s) {
|
217
|
+
var e, i, t, r = s.match(N);
|
218
|
+
for (e = 0, i = r.length; e < i; e++) E[r[e]] ? r[e] = E[r[e]] : r[e] = (t = r[e]).match(/\[[\s\S]/) ? t.replace(/^\[|\]$/g, "") : t.replace(/\\/g, "");
|
219
|
+
return function(e) {
|
220
|
+
var t, n = "";
|
221
|
+
for (t = 0; t < i; t++) n += x(r[t]) ? r[t].call(e, s) : r[t];
|
222
|
+
return n
|
223
|
+
}
|
224
|
+
}(t), V[t](e)) : e.localeData().invalidDate()
|
225
|
+
}
|
226
|
+
|
227
|
+
function j(e, t) {
|
228
|
+
var n = 5;
|
229
|
+
|
230
|
+
function s(e) {
|
231
|
+
return t.longDateFormat(e) || e
|
232
|
+
}
|
233
|
+
for (G.lastIndex = 0; 0 <= n && G.test(e);) e = e.replace(G, s), G.lastIndex = 0, n -= 1;
|
234
|
+
return e
|
235
|
+
}
|
236
|
+
var Z = /\d/,
|
237
|
+
z = /\d\d/,
|
238
|
+
$ = /\d{3}/,
|
239
|
+
q = /\d{4}/,
|
240
|
+
J = /[+-]?\d{6}/,
|
241
|
+
B = /\d\d?/,
|
242
|
+
Q = /\d\d\d\d?/,
|
243
|
+
X = /\d\d\d\d\d\d?/,
|
244
|
+
K = /\d{1,3}/,
|
245
|
+
ee = /\d{1,4}/,
|
246
|
+
te = /[+-]?\d{1,6}/,
|
247
|
+
ne = /\d+/,
|
248
|
+
se = /[+-]?\d+/,
|
249
|
+
ie = /Z|[+-]\d\d:?\d\d/gi,
|
250
|
+
re = /Z|[+-]\d\d(?::?\d\d)?/gi,
|
251
|
+
ae = /[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,
|
252
|
+
oe = {};
|
253
|
+
|
254
|
+
function ue(e, n, s) {
|
255
|
+
oe[e] = x(n) ? n : function(e, t) {
|
256
|
+
return e && s ? s : n
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
function le(e, t) {
|
261
|
+
return m(oe, e) ? oe[e](t._strict, t._locale) : new RegExp(de(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e, t, n, s, i) {
|
262
|
+
return t || n || s || i
|
263
|
+
})))
|
264
|
+
}
|
265
|
+
|
266
|
+
function de(e) {
|
267
|
+
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
|
268
|
+
}
|
269
|
+
var he = {};
|
270
|
+
|
271
|
+
function ce(e, n) {
|
272
|
+
var t, s = n;
|
273
|
+
for ("string" == typeof e && (e = [e]), d(n) && (s = function(e, t) {
|
274
|
+
t[n] = k(e)
|
275
|
+
}), t = 0; t < e.length; t++) he[e[t]] = s
|
276
|
+
}
|
277
|
+
|
278
|
+
function fe(e, i) {
|
279
|
+
ce(e, function(e, t, n, s) {
|
280
|
+
n._w = n._w || {}, i(e, n._w, n, s)
|
281
|
+
})
|
282
|
+
}
|
283
|
+
var me = 0,
|
284
|
+
_e = 1,
|
285
|
+
ye = 2,
|
286
|
+
ge = 3,
|
287
|
+
pe = 4,
|
288
|
+
ve = 5,
|
289
|
+
we = 6,
|
290
|
+
Me = 7,
|
291
|
+
Se = 8;
|
292
|
+
|
293
|
+
function De(e) {
|
294
|
+
return ke(e) ? 366 : 365
|
295
|
+
}
|
296
|
+
|
297
|
+
function ke(e) {
|
298
|
+
return e % 4 == 0 && e % 100 != 0 || e % 400 == 0
|
299
|
+
}
|
300
|
+
I("Y", 0, 0, function() {
|
301
|
+
var e = this.year();
|
302
|
+
return e <= 9999 ? "" + e : "+" + e
|
303
|
+
}), I(0, ["YY", 2], 0, function() {
|
304
|
+
return this.year() % 100
|
305
|
+
}), I(0, ["YYYY", 4], 0, "year"), I(0, ["YYYYY", 5], 0, "year"), I(0, ["YYYYYY", 6, !0], 0, "year"), H("year", "y"), L("year", 1), ue("Y", se), ue("YY", B, z), ue("YYYY", ee, q), ue("YYYYY", te, J), ue("YYYYYY", te, J), ce(["YYYYY", "YYYYYY"], me), ce("YYYY", function(e, t) {
|
306
|
+
t[me] = 2 === e.length ? c.parseTwoDigitYear(e) : k(e)
|
307
|
+
}), ce("YY", function(e, t) {
|
308
|
+
t[me] = c.parseTwoDigitYear(e)
|
309
|
+
}), ce("Y", function(e, t) {
|
310
|
+
t[me] = parseInt(e, 10)
|
311
|
+
}), c.parseTwoDigitYear = function(e) {
|
312
|
+
return k(e) + (68 < k(e) ? 1900 : 2e3)
|
313
|
+
};
|
314
|
+
var Ye, Oe = Te("FullYear", !0);
|
315
|
+
|
316
|
+
function Te(t, n) {
|
317
|
+
return function(e) {
|
318
|
+
return null != e ? (be(this, t, e), c.updateOffset(this, n), this) : xe(this, t)
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
function xe(e, t) {
|
323
|
+
return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN
|
324
|
+
}
|
325
|
+
|
326
|
+
function be(e, t, n) {
|
327
|
+
e.isValid() && !isNaN(n) && ("FullYear" === t && ke(e.year()) && 1 === e.month() && 29 === e.date() ? e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), Pe(n, e.month())) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n))
|
328
|
+
}
|
329
|
+
|
330
|
+
function Pe(e, t) {
|
331
|
+
if (isNaN(e) || isNaN(t)) return NaN;
|
332
|
+
var n, s = (t % (n = 12) + n) % n;
|
333
|
+
return e += (t - s) / 12, 1 === s ? ke(e) ? 29 : 28 : 31 - s % 7 % 2
|
334
|
+
}
|
335
|
+
Ye = Array.prototype.indexOf ? Array.prototype.indexOf : function(e) {
|
336
|
+
var t;
|
337
|
+
for (t = 0; t < this.length; ++t)
|
338
|
+
if (this[t] === e) return t;
|
339
|
+
return -1
|
340
|
+
}, I("M", ["MM", 2], "Mo", function() {
|
341
|
+
return this.month() + 1
|
342
|
+
}), I("MMM", 0, 0, function(e) {
|
343
|
+
return this.localeData().monthsShort(this, e)
|
344
|
+
}), I("MMMM", 0, 0, function(e) {
|
345
|
+
return this.localeData().months(this, e)
|
346
|
+
}), H("month", "M"), L("month", 8), ue("M", B), ue("MM", B, z), ue("MMM", function(e, t) {
|
347
|
+
return t.monthsShortRegex(e)
|
348
|
+
}), ue("MMMM", function(e, t) {
|
349
|
+
return t.monthsRegex(e)
|
350
|
+
}), ce(["M", "MM"], function(e, t) {
|
351
|
+
t[_e] = k(e) - 1
|
352
|
+
}), ce(["MMM", "MMMM"], function(e, t, n, s) {
|
353
|
+
var i = n._locale.monthsParse(e, s, n._strict);
|
354
|
+
null != i ? t[_e] = i : g(n).invalidMonth = e
|
355
|
+
});
|
356
|
+
var We = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
|
357
|
+
He = "January_February_March_April_May_June_July_August_September_October_November_December".split("_");
|
358
|
+
var Re = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");
|
359
|
+
|
360
|
+
function Ce(e, t) {
|
361
|
+
var n;
|
362
|
+
if (!e.isValid()) return e;
|
363
|
+
if ("string" == typeof t)
|
364
|
+
if (/^\d+$/.test(t)) t = k(t);
|
365
|
+
else if (!d(t = e.localeData().monthsParse(t))) return e;
|
366
|
+
return n = Math.min(e.date(), Pe(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e
|
367
|
+
}
|
368
|
+
|
369
|
+
function Fe(e) {
|
370
|
+
return null != e ? (Ce(this, e), c.updateOffset(this, !0), this) : xe(this, "Month")
|
371
|
+
}
|
372
|
+
var Le = ae;
|
373
|
+
var Ue = ae;
|
374
|
+
|
375
|
+
function Ne() {
|
376
|
+
function e(e, t) {
|
377
|
+
return t.length - e.length
|
378
|
+
}
|
379
|
+
var t, n, s = [],
|
380
|
+
i = [],
|
381
|
+
r = [];
|
382
|
+
for (t = 0; t < 12; t++) n = y([2e3, t]), s.push(this.monthsShort(n, "")), i.push(this.months(n, "")), r.push(this.months(n, "")), r.push(this.monthsShort(n, ""));
|
383
|
+
for (s.sort(e), i.sort(e), r.sort(e), t = 0; t < 12; t++) s[t] = de(s[t]), i[t] = de(i[t]);
|
384
|
+
for (t = 0; t < 24; t++) r[t] = de(r[t]);
|
385
|
+
this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i")
|
386
|
+
}
|
387
|
+
|
388
|
+
function Ge(e) {
|
389
|
+
var t = new Date(Date.UTC.apply(null, arguments));
|
390
|
+
return e < 100 && 0 <= e && isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e), t
|
391
|
+
}
|
392
|
+
|
393
|
+
function Ve(e, t, n) {
|
394
|
+
var s = 7 + t - n;
|
395
|
+
return -((7 + Ge(e, 0, s).getUTCDay() - t) % 7) + s - 1
|
396
|
+
}
|
397
|
+
|
398
|
+
function Ee(e, t, n, s, i) {
|
399
|
+
var r, a, o = 1 + 7 * (t - 1) + (7 + n - s) % 7 + Ve(e, s, i);
|
400
|
+
return o <= 0 ? a = De(r = e - 1) + o : o > De(e) ? (r = e + 1, a = o - De(e)) : (r = e, a = o), {
|
401
|
+
year: r,
|
402
|
+
dayOfYear: a
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
406
|
+
function Ie(e, t, n) {
|
407
|
+
var s, i, r = Ve(e.year(), t, n),
|
408
|
+
a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1;
|
409
|
+
return a < 1 ? s = a + Ae(i = e.year() - 1, t, n) : a > Ae(e.year(), t, n) ? (s = a - Ae(e.year(), t, n), i = e.year() + 1) : (i = e.year(), s = a), {
|
410
|
+
week: s,
|
411
|
+
year: i
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
function Ae(e, t, n) {
|
416
|
+
var s = Ve(e, t, n),
|
417
|
+
i = Ve(e + 1, t, n);
|
418
|
+
return (De(e) - s + i) / 7
|
419
|
+
}
|
420
|
+
I("w", ["ww", 2], "wo", "week"), I("W", ["WW", 2], "Wo", "isoWeek"), H("week", "w"), H("isoWeek", "W"), L("week", 5), L("isoWeek", 5), ue("w", B), ue("ww", B, z), ue("W", B), ue("WW", B, z), fe(["w", "ww", "W", "WW"], function(e, t, n, s) {
|
421
|
+
t[s.substr(0, 1)] = k(e)
|
422
|
+
});
|
423
|
+
I("d", 0, "do", "day"), I("dd", 0, 0, function(e) {
|
424
|
+
return this.localeData().weekdaysMin(this, e)
|
425
|
+
}), I("ddd", 0, 0, function(e) {
|
426
|
+
return this.localeData().weekdaysShort(this, e)
|
427
|
+
}), I("dddd", 0, 0, function(e) {
|
428
|
+
return this.localeData().weekdays(this, e)
|
429
|
+
}), I("e", 0, 0, "weekday"), I("E", 0, 0, "isoWeekday"), H("day", "d"), H("weekday", "e"), H("isoWeekday", "E"), L("day", 11), L("weekday", 11), L("isoWeekday", 11), ue("d", B), ue("e", B), ue("E", B), ue("dd", function(e, t) {
|
430
|
+
return t.weekdaysMinRegex(e)
|
431
|
+
}), ue("ddd", function(e, t) {
|
432
|
+
return t.weekdaysShortRegex(e)
|
433
|
+
}), ue("dddd", function(e, t) {
|
434
|
+
return t.weekdaysRegex(e)
|
435
|
+
}), fe(["dd", "ddd", "dddd"], function(e, t, n, s) {
|
436
|
+
var i = n._locale.weekdaysParse(e, s, n._strict);
|
437
|
+
null != i ? t.d = i : g(n).invalidWeekday = e
|
438
|
+
}), fe(["d", "e", "E"], function(e, t, n, s) {
|
439
|
+
t[s] = k(e)
|
440
|
+
});
|
441
|
+
var je = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");
|
442
|
+
var Ze = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");
|
443
|
+
var ze = "Su_Mo_Tu_We_Th_Fr_Sa".split("_");
|
444
|
+
var $e = ae;
|
445
|
+
var qe = ae;
|
446
|
+
var Je = ae;
|
447
|
+
|
448
|
+
function Be() {
|
449
|
+
function e(e, t) {
|
450
|
+
return t.length - e.length
|
451
|
+
}
|
452
|
+
var t, n, s, i, r, a = [],
|
453
|
+
o = [],
|
454
|
+
u = [],
|
455
|
+
l = [];
|
456
|
+
for (t = 0; t < 7; t++) n = y([2e3, 1]).day(t), s = this.weekdaysMin(n, ""), i = this.weekdaysShort(n, ""), r = this.weekdays(n, ""), a.push(s), o.push(i), u.push(r), l.push(s), l.push(i), l.push(r);
|
457
|
+
for (a.sort(e), o.sort(e), u.sort(e), l.sort(e), t = 0; t < 7; t++) o[t] = de(o[t]), u[t] = de(u[t]), l[t] = de(l[t]);
|
458
|
+
this._weekdaysRegex = new RegExp("^(" + l.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + u.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + o.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + a.join("|") + ")", "i")
|
459
|
+
}
|
460
|
+
|
461
|
+
function Qe() {
|
462
|
+
return this.hours() % 12 || 12
|
463
|
+
}
|
464
|
+
|
465
|
+
function Xe(e, t) {
|
466
|
+
I(e, 0, 0, function() {
|
467
|
+
return this.localeData().meridiem(this.hours(), this.minutes(), t)
|
468
|
+
})
|
469
|
+
}
|
470
|
+
|
471
|
+
function Ke(e, t) {
|
472
|
+
return t._meridiemParse
|
473
|
+
}
|
474
|
+
I("H", ["HH", 2], 0, "hour"), I("h", ["hh", 2], 0, Qe), I("k", ["kk", 2], 0, function() {
|
475
|
+
return this.hours() || 24
|
476
|
+
}), I("hmm", 0, 0, function() {
|
477
|
+
return "" + Qe.apply(this) + U(this.minutes(), 2)
|
478
|
+
}), I("hmmss", 0, 0, function() {
|
479
|
+
return "" + Qe.apply(this) + U(this.minutes(), 2) + U(this.seconds(), 2)
|
480
|
+
}), I("Hmm", 0, 0, function() {
|
481
|
+
return "" + this.hours() + U(this.minutes(), 2)
|
482
|
+
}), I("Hmmss", 0, 0, function() {
|
483
|
+
return "" + this.hours() + U(this.minutes(), 2) + U(this.seconds(), 2)
|
484
|
+
}), Xe("a", !0), Xe("A", !1), H("hour", "h"), L("hour", 13), ue("a", Ke), ue("A", Ke), ue("H", B), ue("h", B), ue("k", B), ue("HH", B, z), ue("hh", B, z), ue("kk", B, z), ue("hmm", Q), ue("hmmss", X), ue("Hmm", Q), ue("Hmmss", X), ce(["H", "HH"], ge), ce(["k", "kk"], function(e, t, n) {
|
485
|
+
var s = k(e);
|
486
|
+
t[ge] = 24 === s ? 0 : s
|
487
|
+
}), ce(["a", "A"], function(e, t, n) {
|
488
|
+
n._isPm = n._locale.isPM(e), n._meridiem = e
|
489
|
+
}), ce(["h", "hh"], function(e, t, n) {
|
490
|
+
t[ge] = k(e), g(n).bigHour = !0
|
491
|
+
}), ce("hmm", function(e, t, n) {
|
492
|
+
var s = e.length - 2;
|
493
|
+
t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s)), g(n).bigHour = !0
|
494
|
+
}), ce("hmmss", function(e, t, n) {
|
495
|
+
var s = e.length - 4,
|
496
|
+
i = e.length - 2;
|
497
|
+
t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s, 2)), t[ve] = k(e.substr(i)), g(n).bigHour = !0
|
498
|
+
}), ce("Hmm", function(e, t, n) {
|
499
|
+
var s = e.length - 2;
|
500
|
+
t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s))
|
501
|
+
}), ce("Hmmss", function(e, t, n) {
|
502
|
+
var s = e.length - 4,
|
503
|
+
i = e.length - 2;
|
504
|
+
t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s, 2)), t[ve] = k(e.substr(i))
|
505
|
+
});
|
506
|
+
var et, tt = Te("Hours", !0),
|
507
|
+
nt = {
|
508
|
+
calendar: {
|
509
|
+
sameDay: "[Today at] LT",
|
510
|
+
nextDay: "[Tomorrow at] LT",
|
511
|
+
nextWeek: "dddd [at] LT",
|
512
|
+
lastDay: "[Yesterday at] LT",
|
513
|
+
lastWeek: "[Last] dddd [at] LT",
|
514
|
+
sameElse: "L"
|
515
|
+
},
|
516
|
+
longDateFormat: {
|
517
|
+
LTS: "h:mm:ss A",
|
518
|
+
LT: "h:mm A",
|
519
|
+
L: "MM/DD/YYYY",
|
520
|
+
LL: "MMMM D, YYYY",
|
521
|
+
LLL: "MMMM D, YYYY h:mm A",
|
522
|
+
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
523
|
+
},
|
524
|
+
invalidDate: "Invalid date",
|
525
|
+
ordinal: "%d",
|
526
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
527
|
+
relativeTime: {
|
528
|
+
future: "in %s",
|
529
|
+
past: "%s ago",
|
530
|
+
s: "a few seconds",
|
531
|
+
ss: "%d seconds",
|
532
|
+
m: "a minute",
|
533
|
+
mm: "%d minutes",
|
534
|
+
h: "an hour",
|
535
|
+
hh: "%d hours",
|
536
|
+
d: "a day",
|
537
|
+
dd: "%d days",
|
538
|
+
M: "a month",
|
539
|
+
MM: "%d months",
|
540
|
+
y: "a year",
|
541
|
+
yy: "%d years"
|
542
|
+
},
|
543
|
+
months: He,
|
544
|
+
monthsShort: Re,
|
545
|
+
week: {
|
546
|
+
dow: 0,
|
547
|
+
doy: 6
|
548
|
+
},
|
549
|
+
weekdays: je,
|
550
|
+
weekdaysMin: ze,
|
551
|
+
weekdaysShort: Ze,
|
552
|
+
meridiemParse: /[ap]\.?m?\.?/i
|
553
|
+
},
|
554
|
+
st = {},
|
555
|
+
it = {};
|
556
|
+
|
557
|
+
function rt(e) {
|
558
|
+
return e ? e.toLowerCase().replace("_", "-") : e
|
559
|
+
}
|
560
|
+
|
561
|
+
function at(e) {
|
562
|
+
var t = null;
|
563
|
+
if (!st[e] && "undefined" != typeof module && module && module.exports) try {
|
564
|
+
t = et._abbr, require("./locale/" + e), ot(t)
|
565
|
+
} catch (e) {}
|
566
|
+
return st[e]
|
567
|
+
}
|
568
|
+
|
569
|
+
function ot(e, t) {
|
570
|
+
var n;
|
571
|
+
return e && ((n = l(t) ? lt(e) : ut(e, t)) ? et = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), et._abbr
|
572
|
+
}
|
573
|
+
|
574
|
+
function ut(e, t) {
|
575
|
+
if (null !== t) {
|
576
|
+
var n, s = nt;
|
577
|
+
if (t.abbr = e, null != st[e]) T("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), s = st[e]._config;
|
578
|
+
else if (null != t.parentLocale)
|
579
|
+
if (null != st[t.parentLocale]) s = st[t.parentLocale]._config;
|
580
|
+
else {
|
581
|
+
if (null == (n = at(t.parentLocale))) return it[t.parentLocale] || (it[t.parentLocale] = []), it[t.parentLocale].push({
|
582
|
+
name: e,
|
583
|
+
config: t
|
584
|
+
}), null;
|
585
|
+
s = n._config
|
586
|
+
} return st[e] = new P(b(s, t)), it[e] && it[e].forEach(function(e) {
|
587
|
+
ut(e.name, e.config)
|
588
|
+
}), ot(e), st[e]
|
589
|
+
}
|
590
|
+
return delete st[e], null
|
591
|
+
}
|
592
|
+
|
593
|
+
function lt(e) {
|
594
|
+
var t;
|
595
|
+
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return et;
|
596
|
+
if (!o(e)) {
|
597
|
+
if (t = at(e)) return t;
|
598
|
+
e = [e]
|
599
|
+
}
|
600
|
+
return function(e) {
|
601
|
+
for (var t, n, s, i, r = 0; r < e.length;) {
|
602
|
+
for (t = (i = rt(e[r]).split("-")).length, n = (n = rt(e[r + 1])) ? n.split("-") : null; 0 < t;) {
|
603
|
+
if (s = at(i.slice(0, t).join("-"))) return s;
|
604
|
+
if (n && n.length >= t && a(i, n, !0) >= t - 1) break;
|
605
|
+
t--
|
606
|
+
}
|
607
|
+
r++
|
608
|
+
}
|
609
|
+
return et
|
610
|
+
}(e)
|
611
|
+
}
|
612
|
+
|
613
|
+
function dt(e) {
|
614
|
+
var t, n = e._a;
|
615
|
+
return n && -2 === g(e).overflow && (t = n[_e] < 0 || 11 < n[_e] ? _e : n[ye] < 1 || n[ye] > Pe(n[me], n[_e]) ? ye : n[ge] < 0 || 24 < n[ge] || 24 === n[ge] && (0 !== n[pe] || 0 !== n[ve] || 0 !== n[we]) ? ge : n[pe] < 0 || 59 < n[pe] ? pe : n[ve] < 0 || 59 < n[ve] ? ve : n[we] < 0 || 999 < n[we] ? we : -1, g(e)._overflowDayOfYear && (t < me || ye < t) && (t = ye), g(e)._overflowWeeks && -1 === t && (t = Me), g(e)._overflowWeekday && -1 === t && (t = Se), g(e).overflow = t), e
|
616
|
+
}
|
617
|
+
|
618
|
+
function ht(e, t, n) {
|
619
|
+
return null != e ? e : null != t ? t : n
|
620
|
+
}
|
621
|
+
|
622
|
+
function ct(e) {
|
623
|
+
var t, n, s, i, r, a = [];
|
624
|
+
if (!e._d) {
|
625
|
+
var o, u;
|
626
|
+
for (o = e, u = new Date(c.now()), s = o._useUTC ? [u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()] : [u.getFullYear(), u.getMonth(), u.getDate()], e._w && null == e._a[ye] && null == e._a[_e] && function(e) {
|
627
|
+
var t, n, s, i, r, a, o, u;
|
628
|
+
if (null != (t = e._w).GG || null != t.W || null != t.E) r = 1, a = 4, n = ht(t.GG, e._a[me], Ie(Tt(), 1, 4).year), s = ht(t.W, 1), ((i = ht(t.E, 1)) < 1 || 7 < i) && (u = !0);
|
629
|
+
else {
|
630
|
+
r = e._locale._week.dow, a = e._locale._week.doy;
|
631
|
+
var l = Ie(Tt(), r, a);
|
632
|
+
n = ht(t.gg, e._a[me], l.year), s = ht(t.w, l.week), null != t.d ? ((i = t.d) < 0 || 6 < i) && (u = !0) : null != t.e ? (i = t.e + r, (t.e < 0 || 6 < t.e) && (u = !0)) : i = r
|
633
|
+
}
|
634
|
+
s < 1 || s > Ae(n, r, a) ? g(e)._overflowWeeks = !0 : null != u ? g(e)._overflowWeekday = !0 : (o = Ee(n, s, i, r, a), e._a[me] = o.year, e._dayOfYear = o.dayOfYear)
|
635
|
+
}(e), null != e._dayOfYear && (r = ht(e._a[me], s[me]), (e._dayOfYear > De(r) || 0 === e._dayOfYear) && (g(e)._overflowDayOfYear = !0), n = Ge(r, 0, e._dayOfYear), e._a[_e] = n.getUTCMonth(), e._a[ye] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = a[t] = s[t];
|
636
|
+
for (; t < 7; t++) e._a[t] = a[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t];
|
637
|
+
24 === e._a[ge] && 0 === e._a[pe] && 0 === e._a[ve] && 0 === e._a[we] && (e._nextDay = !0, e._a[ge] = 0), e._d = (e._useUTC ? Ge : function(e, t, n, s, i, r, a) {
|
638
|
+
var o = new Date(e, t, n, s, i, r, a);
|
639
|
+
return e < 100 && 0 <= e && isFinite(o.getFullYear()) && o.setFullYear(e), o
|
640
|
+
}).apply(null, a), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[ge] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (g(e).weekdayMismatch = !0)
|
641
|
+
}
|
642
|
+
}
|
643
|
+
var ft = /^\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)?)?$/,
|
644
|
+
mt = /^\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)?)?$/,
|
645
|
+
_t = /Z|[+-]\d\d(?::?\d\d)?/,
|
646
|
+
yt = [
|
647
|
+
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
648
|
+
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
649
|
+
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
650
|
+
["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
|
651
|
+
["YYYY-DDD", /\d{4}-\d{3}/],
|
652
|
+
["YYYY-MM", /\d{4}-\d\d/, !1],
|
653
|
+
["YYYYYYMMDD", /[+-]\d{10}/],
|
654
|
+
["YYYYMMDD", /\d{8}/],
|
655
|
+
["GGGG[W]WWE", /\d{4}W\d{3}/],
|
656
|
+
["GGGG[W]WW", /\d{4}W\d{2}/, !1],
|
657
|
+
["YYYYDDD", /\d{7}/]
|
658
|
+
],
|
659
|
+
gt = [
|
660
|
+
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
661
|
+
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
662
|
+
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
663
|
+
["HH:mm", /\d\d:\d\d/],
|
664
|
+
["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
|
665
|
+
["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
|
666
|
+
["HHmmss", /\d\d\d\d\d\d/],
|
667
|
+
["HHmm", /\d\d\d\d/],
|
668
|
+
["HH", /\d\d/]
|
669
|
+
],
|
670
|
+
pt = /^\/?Date\((\-?\d+)/i;
|
671
|
+
|
672
|
+
function vt(e) {
|
673
|
+
var t, n, s, i, r, a, o = e._i,
|
674
|
+
u = ft.exec(o) || mt.exec(o);
|
675
|
+
if (u) {
|
676
|
+
for (g(e).iso = !0, t = 0, n = yt.length; t < n; t++)
|
677
|
+
if (yt[t][1].exec(u[1])) {
|
678
|
+
i = yt[t][0], s = !1 !== yt[t][2];
|
679
|
+
break
|
680
|
+
} if (null == i) return void(e._isValid = !1);
|
681
|
+
if (u[3]) {
|
682
|
+
for (t = 0, n = gt.length; t < n; t++)
|
683
|
+
if (gt[t][1].exec(u[3])) {
|
684
|
+
r = (u[2] || " ") + gt[t][0];
|
685
|
+
break
|
686
|
+
} if (null == r) return void(e._isValid = !1)
|
687
|
+
}
|
688
|
+
if (!s && null != r) return void(e._isValid = !1);
|
689
|
+
if (u[4]) {
|
690
|
+
if (!_t.exec(u[4])) return void(e._isValid = !1);
|
691
|
+
a = "Z"
|
692
|
+
}
|
693
|
+
e._f = i + (r || "") + (a || ""), kt(e)
|
694
|
+
} else e._isValid = !1
|
695
|
+
}
|
696
|
+
var wt = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;
|
697
|
+
|
698
|
+
function Mt(e, t, n, s, i, r) {
|
699
|
+
var a = [function(e) {
|
700
|
+
var t = parseInt(e, 10); {
|
701
|
+
if (t <= 49) return 2e3 + t;
|
702
|
+
if (t <= 999) return 1900 + t
|
703
|
+
}
|
704
|
+
return t
|
705
|
+
}(e), Re.indexOf(t), parseInt(n, 10), parseInt(s, 10), parseInt(i, 10)];
|
706
|
+
return r && a.push(parseInt(r, 10)), a
|
707
|
+
}
|
708
|
+
var St = {
|
709
|
+
UT: 0,
|
710
|
+
GMT: 0,
|
711
|
+
EDT: -240,
|
712
|
+
EST: -300,
|
713
|
+
CDT: -300,
|
714
|
+
CST: -360,
|
715
|
+
MDT: -360,
|
716
|
+
MST: -420,
|
717
|
+
PDT: -420,
|
718
|
+
PST: -480
|
719
|
+
};
|
720
|
+
|
721
|
+
function Dt(e) {
|
722
|
+
var t, n, s, i = wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, ""));
|
723
|
+
if (i) {
|
724
|
+
var r = Mt(i[4], i[3], i[2], i[5], i[6], i[7]);
|
725
|
+
if (t = i[1], n = r, s = e, t && Ze.indexOf(t) !== new Date(n[0], n[1], n[2]).getDay() && (g(s).weekdayMismatch = !0, !(s._isValid = !1))) return;
|
726
|
+
e._a = r, e._tzm = function(e, t, n) {
|
727
|
+
if (e) return St[e];
|
728
|
+
if (t) return 0;
|
729
|
+
var s = parseInt(n, 10),
|
730
|
+
i = s % 100;
|
731
|
+
return (s - i) / 100 * 60 + i
|
732
|
+
}(i[8], i[9], i[10]), e._d = Ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), g(e).rfc2822 = !0
|
733
|
+
} else e._isValid = !1
|
734
|
+
}
|
735
|
+
|
736
|
+
function kt(e) {
|
737
|
+
if (e._f !== c.ISO_8601)
|
738
|
+
if (e._f !== c.RFC_2822) {
|
739
|
+
e._a = [], g(e).empty = !0;
|
740
|
+
var t, n, s, i, r, a, o, u, l = "" + e._i,
|
741
|
+
d = l.length,
|
742
|
+
h = 0;
|
743
|
+
for (s = j(e._f, e._locale).match(N) || [], t = 0; t < s.length; t++) i = s[t], (n = (l.match(le(i, e)) || [])[0]) && (0 < (r = l.substr(0, l.indexOf(n))).length && g(e).unusedInput.push(r), l = l.slice(l.indexOf(n) + n.length), h += n.length), E[i] ? (n ? g(e).empty = !1 : g(e).unusedTokens.push(i), a = i, u = e, null != (o = n) && m(he, a) && he[a](o, u._a, u, a)) : e._strict && !n && g(e).unusedTokens.push(i);
|
744
|
+
g(e).charsLeftOver = d - h, 0 < l.length && g(e).unusedInput.push(l), e._a[ge] <= 12 && !0 === g(e).bigHour && 0 < e._a[ge] && (g(e).bigHour = void 0), g(e).parsedDateParts = e._a.slice(0), g(e).meridiem = e._meridiem, e._a[ge] = function(e, t, n) {
|
745
|
+
var s;
|
746
|
+
if (null == n) return t;
|
747
|
+
return null != e.meridiemHour ? e.meridiemHour(t, n) : (null != e.isPM && ((s = e.isPM(n)) && t < 12 && (t += 12), s || 12 !== t || (t = 0)), t)
|
748
|
+
}(e._locale, e._a[ge], e._meridiem), ct(e), dt(e)
|
749
|
+
} else Dt(e);
|
750
|
+
else vt(e)
|
751
|
+
}
|
752
|
+
|
753
|
+
function Yt(e) {
|
754
|
+
var t, n, s, i, r = e._i,
|
755
|
+
a = e._f;
|
756
|
+
return e._locale = e._locale || lt(e._l), null === r || void 0 === a && "" === r ? v({
|
757
|
+
nullInput: !0
|
758
|
+
}) : ("string" == typeof r && (e._i = r = e._locale.preparse(r)), S(r) ? new M(dt(r)) : (h(r) ? e._d = r : o(a) ? function(e) {
|
759
|
+
var t, n, s, i, r;
|
760
|
+
if (0 === e._f.length) return g(e).invalidFormat = !0, e._d = new Date(NaN);
|
761
|
+
for (i = 0; i < e._f.length; i++) r = 0, t = w({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[i], kt(t), p(t) && (r += g(t).charsLeftOver, r += 10 * g(t).unusedTokens.length, g(t).score = r, (null == s || r < s) && (s = r, n = t));
|
762
|
+
_(e, n || t)
|
763
|
+
}(e) : a ? kt(e) : l(n = (t = e)._i) ? t._d = new Date(c.now()) : h(n) ? t._d = new Date(n.valueOf()) : "string" == typeof n ? (s = t, null === (i = pt.exec(s._i)) ? (vt(s), !1 === s._isValid && (delete s._isValid, Dt(s), !1 === s._isValid && (delete s._isValid, c.createFromInputFallback(s)))) : s._d = new Date(+i[1])) : o(n) ? (t._a = f(n.slice(0), function(e) {
|
764
|
+
return parseInt(e, 10)
|
765
|
+
}), ct(t)) : u(n) ? function(e) {
|
766
|
+
if (!e._d) {
|
767
|
+
var t = C(e._i);
|
768
|
+
e._a = f([t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], function(e) {
|
769
|
+
return e && parseInt(e, 10)
|
770
|
+
}), ct(e)
|
771
|
+
}
|
772
|
+
}(t) : d(n) ? t._d = new Date(n) : c.createFromInputFallback(t), p(e) || (e._d = null), e))
|
773
|
+
}
|
774
|
+
|
775
|
+
function Ot(e, t, n, s, i) {
|
776
|
+
var r, a = {};
|
777
|
+
return !0 !== n && !1 !== n || (s = n, n = void 0), (u(e) && function(e) {
|
778
|
+
if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length;
|
779
|
+
var t;
|
780
|
+
for (t in e)
|
781
|
+
if (e.hasOwnProperty(t)) return !1;
|
782
|
+
return !0
|
783
|
+
}(e) || o(e) && 0 === e.length) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = i, a._l = n, a._i = e, a._f = t, a._strict = s, (r = new M(dt(Yt(a))))._nextDay && (r.add(1, "d"), r._nextDay = void 0), r
|
784
|
+
}
|
785
|
+
|
786
|
+
function Tt(e, t, n, s) {
|
787
|
+
return Ot(e, t, n, s, !1)
|
788
|
+
}
|
789
|
+
c.createFromInputFallback = n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", function(e) {
|
790
|
+
e._d = new Date(e._i + (e._useUTC ? " UTC" : ""))
|
791
|
+
}), c.ISO_8601 = function() {}, c.RFC_2822 = function() {};
|
792
|
+
var xt = n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
|
793
|
+
var e = Tt.apply(null, arguments);
|
794
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : v()
|
795
|
+
}),
|
796
|
+
bt = n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
|
797
|
+
var e = Tt.apply(null, arguments);
|
798
|
+
return this.isValid() && e.isValid() ? this < e ? this : e : v()
|
799
|
+
});
|
800
|
+
|
801
|
+
function Pt(e, t) {
|
802
|
+
var n, s;
|
803
|
+
if (1 === t.length && o(t[0]) && (t = t[0]), !t.length) return Tt();
|
804
|
+
for (n = t[0], s = 1; s < t.length; ++s) t[s].isValid() && !t[s][e](n) || (n = t[s]);
|
805
|
+
return n
|
806
|
+
}
|
807
|
+
var Wt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
|
808
|
+
|
809
|
+
function Ht(e) {
|
810
|
+
var t = C(e),
|
811
|
+
n = t.year || 0,
|
812
|
+
s = t.quarter || 0,
|
813
|
+
i = t.month || 0,
|
814
|
+
r = t.week || 0,
|
815
|
+
a = t.day || 0,
|
816
|
+
o = t.hour || 0,
|
817
|
+
u = t.minute || 0,
|
818
|
+
l = t.second || 0,
|
819
|
+
d = t.millisecond || 0;
|
820
|
+
this._isValid = function(e) {
|
821
|
+
for (var t in e)
|
822
|
+
if (-1 === Ye.call(Wt, t) || null != e[t] && isNaN(e[t])) return !1;
|
823
|
+
for (var n = !1, s = 0; s < Wt.length; ++s)
|
824
|
+
if (e[Wt[s]]) {
|
825
|
+
if (n) return !1;
|
826
|
+
parseFloat(e[Wt[s]]) !== k(e[Wt[s]]) && (n = !0)
|
827
|
+
} return !0
|
828
|
+
}(t), this._milliseconds = +d + 1e3 * l + 6e4 * u + 1e3 * o * 60 * 60, this._days = +a + 7 * r, this._months = +i + 3 * s + 12 * n, this._data = {}, this._locale = lt(), this._bubble()
|
829
|
+
}
|
830
|
+
|
831
|
+
function Rt(e) {
|
832
|
+
return e instanceof Ht
|
833
|
+
}
|
834
|
+
|
835
|
+
function Ct(e) {
|
836
|
+
return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e)
|
837
|
+
}
|
838
|
+
|
839
|
+
function Ft(e, n) {
|
840
|
+
I(e, 0, 0, function() {
|
841
|
+
var e = this.utcOffset(),
|
842
|
+
t = "+";
|
843
|
+
return e < 0 && (e = -e, t = "-"), t + U(~~(e / 60), 2) + n + U(~~e % 60, 2)
|
844
|
+
})
|
845
|
+
}
|
846
|
+
Ft("Z", ":"), Ft("ZZ", ""), ue("Z", re), ue("ZZ", re), ce(["Z", "ZZ"], function(e, t, n) {
|
847
|
+
n._useUTC = !0, n._tzm = Ut(re, e)
|
848
|
+
});
|
849
|
+
var Lt = /([\+\-]|\d\d)/gi;
|
850
|
+
|
851
|
+
function Ut(e, t) {
|
852
|
+
var n = (t || "").match(e);
|
853
|
+
if (null === n) return null;
|
854
|
+
var s = ((n[n.length - 1] || []) + "").match(Lt) || ["-", 0, 0],
|
855
|
+
i = 60 * s[1] + k(s[2]);
|
856
|
+
return 0 === i ? 0 : "+" === s[0] ? i : -i
|
857
|
+
}
|
858
|
+
|
859
|
+
function Nt(e, t) {
|
860
|
+
var n, s;
|
861
|
+
return t._isUTC ? (n = t.clone(), s = (S(e) || h(e) ? e.valueOf() : Tt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), c.updateOffset(n, !1), n) : Tt(e).local()
|
862
|
+
}
|
863
|
+
|
864
|
+
function Gt(e) {
|
865
|
+
return 15 * -Math.round(e._d.getTimezoneOffset() / 15)
|
866
|
+
}
|
867
|
+
|
868
|
+
function Vt() {
|
869
|
+
return !!this.isValid() && (this._isUTC && 0 === this._offset)
|
870
|
+
}
|
871
|
+
c.updateOffset = function() {};
|
872
|
+
var Et = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,
|
873
|
+
It = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
874
|
+
|
875
|
+
function At(e, t) {
|
876
|
+
var n, s, i, r = e,
|
877
|
+
a = null;
|
878
|
+
return Rt(e) ? r = {
|
879
|
+
ms: e._milliseconds,
|
880
|
+
d: e._days,
|
881
|
+
M: e._months
|
882
|
+
} : d(e) ? (r = {}, t ? r[t] = e : r.milliseconds = e) : (a = Et.exec(e)) ? (n = "-" === a[1] ? -1 : 1, r = {
|
883
|
+
y: 0,
|
884
|
+
d: k(a[ye]) * n,
|
885
|
+
h: k(a[ge]) * n,
|
886
|
+
m: k(a[pe]) * n,
|
887
|
+
s: k(a[ve]) * n,
|
888
|
+
ms: k(Ct(1e3 * a[we])) * n
|
889
|
+
}) : (a = It.exec(e)) ? (n = "-" === a[1] ? -1 : (a[1], 1), r = {
|
890
|
+
y: jt(a[2], n),
|
891
|
+
M: jt(a[3], n),
|
892
|
+
w: jt(a[4], n),
|
893
|
+
d: jt(a[5], n),
|
894
|
+
h: jt(a[6], n),
|
895
|
+
m: jt(a[7], n),
|
896
|
+
s: jt(a[8], n)
|
897
|
+
}) : null == r ? r = {} : "object" == typeof r && ("from" in r || "to" in r) && (i = function(e, t) {
|
898
|
+
var n;
|
899
|
+
if (!e.isValid() || !t.isValid()) return {
|
900
|
+
milliseconds: 0,
|
901
|
+
months: 0
|
902
|
+
};
|
903
|
+
t = Nt(t, e), e.isBefore(t) ? n = Zt(e, t) : ((n = Zt(t, e)).milliseconds = -n.milliseconds, n.months = -n.months);
|
904
|
+
return n
|
905
|
+
}(Tt(r.from), Tt(r.to)), (r = {}).ms = i.milliseconds, r.M = i.months), s = new Ht(r), Rt(e) && m(e, "_locale") && (s._locale = e._locale), s
|
906
|
+
}
|
907
|
+
|
908
|
+
function jt(e, t) {
|
909
|
+
var n = e && parseFloat(e.replace(",", "."));
|
910
|
+
return (isNaN(n) ? 0 : n) * t
|
911
|
+
}
|
912
|
+
|
913
|
+
function Zt(e, t) {
|
914
|
+
var n = {
|
915
|
+
milliseconds: 0,
|
916
|
+
months: 0
|
917
|
+
};
|
918
|
+
return n.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n
|
919
|
+
}
|
920
|
+
|
921
|
+
function zt(s, i) {
|
922
|
+
return function(e, t) {
|
923
|
+
var n;
|
924
|
+
return null === t || isNaN(+t) || (T(i, "moment()." + i + "(period, number) is deprecated. Please use moment()." + i + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), n = e, e = t, t = n), $t(this, At(e = "string" == typeof e ? +e : e, t), s), this
|
925
|
+
}
|
926
|
+
}
|
927
|
+
|
928
|
+
function $t(e, t, n, s) {
|
929
|
+
var i = t._milliseconds,
|
930
|
+
r = Ct(t._days),
|
931
|
+
a = Ct(t._months);
|
932
|
+
e.isValid() && (s = null == s || s, a && Ce(e, xe(e, "Month") + a * n), r && be(e, "Date", xe(e, "Date") + r * n), i && e._d.setTime(e._d.valueOf() + i * n), s && c.updateOffset(e, r || a))
|
933
|
+
}
|
934
|
+
At.fn = Ht.prototype, At.invalid = function() {
|
935
|
+
return At(NaN)
|
936
|
+
};
|
937
|
+
var qt = zt(1, "add"),
|
938
|
+
Jt = zt(-1, "subtract");
|
939
|
+
|
940
|
+
function Bt(e, t) {
|
941
|
+
var n = 12 * (t.year() - e.year()) + (t.month() - e.month()),
|
942
|
+
s = e.clone().add(n, "months");
|
943
|
+
return -(n + (t - s < 0 ? (t - s) / (s - e.clone().add(n - 1, "months")) : (t - s) / (e.clone().add(n + 1, "months") - s))) || 0
|
944
|
+
}
|
945
|
+
|
946
|
+
function Qt(e) {
|
947
|
+
var t;
|
948
|
+
return void 0 === e ? this._locale._abbr : (null != (t = lt(e)) && (this._locale = t), this)
|
949
|
+
}
|
950
|
+
c.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", c.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
951
|
+
var Xt = n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function(e) {
|
952
|
+
return void 0 === e ? this.localeData() : this.locale(e)
|
953
|
+
});
|
954
|
+
|
955
|
+
function Kt() {
|
956
|
+
return this._locale
|
957
|
+
}
|
958
|
+
|
959
|
+
function en(e, t) {
|
960
|
+
I(0, [e, e.length], 0, t)
|
961
|
+
}
|
962
|
+
|
963
|
+
function tn(e, t, n, s, i) {
|
964
|
+
var r;
|
965
|
+
return null == e ? Ie(this, s, i).year : ((r = Ae(e, s, i)) < t && (t = r), function(e, t, n, s, i) {
|
966
|
+
var r = Ee(e, t, n, s, i),
|
967
|
+
a = Ge(r.year, 0, r.dayOfYear);
|
968
|
+
return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this
|
969
|
+
}.call(this, e, t, n, s, i))
|
970
|
+
}
|
971
|
+
I(0, ["gg", 2], 0, function() {
|
972
|
+
return this.weekYear() % 100
|
973
|
+
}), I(0, ["GG", 2], 0, function() {
|
974
|
+
return this.isoWeekYear() % 100
|
975
|
+
}), en("gggg", "weekYear"), en("ggggg", "weekYear"), en("GGGG", "isoWeekYear"), en("GGGGG", "isoWeekYear"), H("weekYear", "gg"), H("isoWeekYear", "GG"), L("weekYear", 1), L("isoWeekYear", 1), ue("G", se), ue("g", se), ue("GG", B, z), ue("gg", B, z), ue("GGGG", ee, q), ue("gggg", ee, q), ue("GGGGG", te, J), ue("ggggg", te, J), fe(["gggg", "ggggg", "GGGG", "GGGGG"], function(e, t, n, s) {
|
976
|
+
t[s.substr(0, 2)] = k(e)
|
977
|
+
}), fe(["gg", "GG"], function(e, t, n, s) {
|
978
|
+
t[s] = c.parseTwoDigitYear(e)
|
979
|
+
}), I("Q", 0, "Qo", "quarter"), H("quarter", "Q"), L("quarter", 7), ue("Q", Z), ce("Q", function(e, t) {
|
980
|
+
t[_e] = 3 * (k(e) - 1)
|
981
|
+
}), I("D", ["DD", 2], "Do", "date"), H("date", "D"), L("date", 9), ue("D", B), ue("DD", B, z), ue("Do", function(e, t) {
|
982
|
+
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient
|
983
|
+
}), ce(["D", "DD"], ye), ce("Do", function(e, t) {
|
984
|
+
t[ye] = k(e.match(B)[0])
|
985
|
+
});
|
986
|
+
var nn = Te("Date", !0);
|
987
|
+
I("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), H("dayOfYear", "DDD"), L("dayOfYear", 4), ue("DDD", K), ue("DDDD", $), ce(["DDD", "DDDD"], function(e, t, n) {
|
988
|
+
n._dayOfYear = k(e)
|
989
|
+
}), I("m", ["mm", 2], 0, "minute"), H("minute", "m"), L("minute", 14), ue("m", B), ue("mm", B, z), ce(["m", "mm"], pe);
|
990
|
+
var sn = Te("Minutes", !1);
|
991
|
+
I("s", ["ss", 2], 0, "second"), H("second", "s"), L("second", 15), ue("s", B), ue("ss", B, z), ce(["s", "ss"], ve);
|
992
|
+
var rn, an = Te("Seconds", !1);
|
993
|
+
for (I("S", 0, 0, function() {
|
994
|
+
return ~~(this.millisecond() / 100)
|
995
|
+
}), I(0, ["SS", 2], 0, function() {
|
996
|
+
return ~~(this.millisecond() / 10)
|
997
|
+
}), I(0, ["SSS", 3], 0, "millisecond"), I(0, ["SSSS", 4], 0, function() {
|
998
|
+
return 10 * this.millisecond()
|
999
|
+
}), I(0, ["SSSSS", 5], 0, function() {
|
1000
|
+
return 100 * this.millisecond()
|
1001
|
+
}), I(0, ["SSSSSS", 6], 0, function() {
|
1002
|
+
return 1e3 * this.millisecond()
|
1003
|
+
}), I(0, ["SSSSSSS", 7], 0, function() {
|
1004
|
+
return 1e4 * this.millisecond()
|
1005
|
+
}), I(0, ["SSSSSSSS", 8], 0, function() {
|
1006
|
+
return 1e5 * this.millisecond()
|
1007
|
+
}), I(0, ["SSSSSSSSS", 9], 0, function() {
|
1008
|
+
return 1e6 * this.millisecond()
|
1009
|
+
}), H("millisecond", "ms"), L("millisecond", 16), ue("S", K, Z), ue("SS", K, z), ue("SSS", K, $), rn = "SSSS"; rn.length <= 9; rn += "S") ue(rn, ne);
|
1010
|
+
|
1011
|
+
function on(e, t) {
|
1012
|
+
t[we] = k(1e3 * ("0." + e))
|
1013
|
+
}
|
1014
|
+
for (rn = "S"; rn.length <= 9; rn += "S") ce(rn, on);
|
1015
|
+
var un = Te("Milliseconds", !1);
|
1016
|
+
I("z", 0, 0, "zoneAbbr"), I("zz", 0, 0, "zoneName");
|
1017
|
+
var ln = M.prototype;
|
1018
|
+
|
1019
|
+
function dn(e) {
|
1020
|
+
return e
|
1021
|
+
}
|
1022
|
+
ln.add = qt, ln.calendar = function(e, t) {
|
1023
|
+
var n = e || Tt(),
|
1024
|
+
s = Nt(n, this).startOf("day"),
|
1025
|
+
i = c.calendarFormat(this, s) || "sameElse",
|
1026
|
+
r = t && (x(t[i]) ? t[i].call(this, n) : t[i]);
|
1027
|
+
return this.format(r || this.localeData().calendar(i, this, Tt(n)))
|
1028
|
+
}, ln.clone = function() {
|
1029
|
+
return new M(this)
|
1030
|
+
}, ln.diff = function(e, t, n) {
|
1031
|
+
var s, i, r;
|
1032
|
+
if (!this.isValid()) return NaN;
|
1033
|
+
if (!(s = Nt(e, this)).isValid()) return NaN;
|
1034
|
+
switch (i = 6e4 * (s.utcOffset() - this.utcOffset()), t = R(t)) {
|
1035
|
+
case "year":
|
1036
|
+
r = Bt(this, s) / 12;
|
1037
|
+
break;
|
1038
|
+
case "month":
|
1039
|
+
r = Bt(this, s);
|
1040
|
+
break;
|
1041
|
+
case "quarter":
|
1042
|
+
r = Bt(this, s) / 3;
|
1043
|
+
break;
|
1044
|
+
case "second":
|
1045
|
+
r = (this - s) / 1e3;
|
1046
|
+
break;
|
1047
|
+
case "minute":
|
1048
|
+
r = (this - s) / 6e4;
|
1049
|
+
break;
|
1050
|
+
case "hour":
|
1051
|
+
r = (this - s) / 36e5;
|
1052
|
+
break;
|
1053
|
+
case "day":
|
1054
|
+
r = (this - s - i) / 864e5;
|
1055
|
+
break;
|
1056
|
+
case "week":
|
1057
|
+
r = (this - s - i) / 6048e5;
|
1058
|
+
break;
|
1059
|
+
default:
|
1060
|
+
r = this - s
|
1061
|
+
}
|
1062
|
+
return n ? r : D(r)
|
1063
|
+
}, ln.endOf = function(e) {
|
1064
|
+
return void 0 === (e = R(e)) || "millisecond" === e ? this : ("date" === e && (e = "day"), this.startOf(e).add(1, "isoWeek" === e ? "week" : e).subtract(1, "ms"))
|
1065
|
+
}, ln.format = function(e) {
|
1066
|
+
e || (e = this.isUtc() ? c.defaultFormatUtc : c.defaultFormat);
|
1067
|
+
var t = A(this, e);
|
1068
|
+
return this.localeData().postformat(t)
|
1069
|
+
}, ln.from = function(e, t) {
|
1070
|
+
return this.isValid() && (S(e) && e.isValid() || Tt(e).isValid()) ? At({
|
1071
|
+
to: this,
|
1072
|
+
from: e
|
1073
|
+
}).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
|
1074
|
+
}, ln.fromNow = function(e) {
|
1075
|
+
return this.from(Tt(), e)
|
1076
|
+
}, ln.to = function(e, t) {
|
1077
|
+
return this.isValid() && (S(e) && e.isValid() || Tt(e).isValid()) ? At({
|
1078
|
+
from: this,
|
1079
|
+
to: e
|
1080
|
+
}).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
|
1081
|
+
}, ln.toNow = function(e) {
|
1082
|
+
return this.to(Tt(), e)
|
1083
|
+
}, ln.get = function(e) {
|
1084
|
+
return x(this[e = R(e)]) ? this[e]() : this
|
1085
|
+
}, ln.invalidAt = function() {
|
1086
|
+
return g(this).overflow
|
1087
|
+
}, ln.isAfter = function(e, t) {
|
1088
|
+
var n = S(e) ? e : Tt(e);
|
1089
|
+
return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = R(l(t) ? "millisecond" : t)) ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf())
|
1090
|
+
}, ln.isBefore = function(e, t) {
|
1091
|
+
var n = S(e) ? e : Tt(e);
|
1092
|
+
return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = R(l(t) ? "millisecond" : t)) ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf())
|
1093
|
+
}, ln.isBetween = function(e, t, n, s) {
|
1094
|
+
return ("(" === (s = s || "()")[0] ? this.isAfter(e, n) : !this.isBefore(e, n)) && (")" === s[1] ? this.isBefore(t, n) : !this.isAfter(t, n))
|
1095
|
+
}, ln.isSame = function(e, t) {
|
1096
|
+
var n, s = S(e) ? e : Tt(e);
|
1097
|
+
return !(!this.isValid() || !s.isValid()) && ("millisecond" === (t = R(t || "millisecond")) ? this.valueOf() === s.valueOf() : (n = s.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf()))
|
1098
|
+
}, ln.isSameOrAfter = function(e, t) {
|
1099
|
+
return this.isSame(e, t) || this.isAfter(e, t)
|
1100
|
+
}, ln.isSameOrBefore = function(e, t) {
|
1101
|
+
return this.isSame(e, t) || this.isBefore(e, t)
|
1102
|
+
}, ln.isValid = function() {
|
1103
|
+
return p(this)
|
1104
|
+
}, ln.lang = Xt, ln.locale = Qt, ln.localeData = Kt, ln.max = bt, ln.min = xt, ln.parsingFlags = function() {
|
1105
|
+
return _({}, g(this))
|
1106
|
+
}, ln.set = function(e, t) {
|
1107
|
+
if ("object" == typeof e)
|
1108
|
+
for (var n = function(e) {
|
1109
|
+
var t = [];
|
1110
|
+
for (var n in e) t.push({
|
1111
|
+
unit: n,
|
1112
|
+
priority: F[n]
|
1113
|
+
});
|
1114
|
+
return t.sort(function(e, t) {
|
1115
|
+
return e.priority - t.priority
|
1116
|
+
}), t
|
1117
|
+
}(e = C(e)), s = 0; s < n.length; s++) this[n[s].unit](e[n[s].unit]);
|
1118
|
+
else if (x(this[e = R(e)])) return this[e](t);
|
1119
|
+
return this
|
1120
|
+
}, ln.startOf = function(e) {
|
1121
|
+
switch (e = R(e)) {
|
1122
|
+
case "year":
|
1123
|
+
this.month(0);
|
1124
|
+
case "quarter":
|
1125
|
+
case "month":
|
1126
|
+
this.date(1);
|
1127
|
+
case "week":
|
1128
|
+
case "isoWeek":
|
1129
|
+
case "day":
|
1130
|
+
case "date":
|
1131
|
+
this.hours(0);
|
1132
|
+
case "hour":
|
1133
|
+
this.minutes(0);
|
1134
|
+
case "minute":
|
1135
|
+
this.seconds(0);
|
1136
|
+
case "second":
|
1137
|
+
this.milliseconds(0)
|
1138
|
+
}
|
1139
|
+
return "week" === e && this.weekday(0), "isoWeek" === e && this.isoWeekday(1), "quarter" === e && this.month(3 * Math.floor(this.month() / 3)), this
|
1140
|
+
}, ln.subtract = Jt, ln.toArray = function() {
|
1141
|
+
var e = this;
|
1142
|
+
return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()]
|
1143
|
+
}, ln.toObject = function() {
|
1144
|
+
var e = this;
|
1145
|
+
return {
|
1146
|
+
years: e.year(),
|
1147
|
+
months: e.month(),
|
1148
|
+
date: e.date(),
|
1149
|
+
hours: e.hours(),
|
1150
|
+
minutes: e.minutes(),
|
1151
|
+
seconds: e.seconds(),
|
1152
|
+
milliseconds: e.milliseconds()
|
1153
|
+
}
|
1154
|
+
}, ln.toDate = function() {
|
1155
|
+
return new Date(this.valueOf())
|
1156
|
+
}, ln.toISOString = function(e) {
|
1157
|
+
if (!this.isValid()) return null;
|
1158
|
+
var t = !0 !== e,
|
1159
|
+
n = t ? this.clone().utc() : this;
|
1160
|
+
return n.year() < 0 || 9999 < n.year() ? A(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : x(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", A(n, "Z")) : A(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ")
|
1161
|
+
}, ln.inspect = function() {
|
1162
|
+
if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
|
1163
|
+
var e = "moment",
|
1164
|
+
t = "";
|
1165
|
+
this.isLocal() || (e = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", t = "Z");
|
1166
|
+
var n = "[" + e + '("]',
|
1167
|
+
s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY",
|
1168
|
+
i = t + '[")]';
|
1169
|
+
return this.format(n + s + "-MM-DD[T]HH:mm:ss.SSS" + i)
|
1170
|
+
}, ln.toJSON = function() {
|
1171
|
+
return this.isValid() ? this.toISOString() : null
|
1172
|
+
}, ln.toString = function() {
|
1173
|
+
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
|
1174
|
+
}, ln.unix = function() {
|
1175
|
+
return Math.floor(this.valueOf() / 1e3)
|
1176
|
+
}, ln.valueOf = function() {
|
1177
|
+
return this._d.valueOf() - 6e4 * (this._offset || 0)
|
1178
|
+
}, ln.creationData = function() {
|
1179
|
+
return {
|
1180
|
+
input: this._i,
|
1181
|
+
format: this._f,
|
1182
|
+
locale: this._locale,
|
1183
|
+
isUTC: this._isUTC,
|
1184
|
+
strict: this._strict
|
1185
|
+
}
|
1186
|
+
}, ln.year = Oe, ln.isLeapYear = function() {
|
1187
|
+
return ke(this.year())
|
1188
|
+
}, ln.weekYear = function(e) {
|
1189
|
+
return tn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
|
1190
|
+
}, ln.isoWeekYear = function(e) {
|
1191
|
+
return tn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4)
|
1192
|
+
}, ln.quarter = ln.quarters = function(e) {
|
1193
|
+
return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3)
|
1194
|
+
}, ln.month = Fe, ln.daysInMonth = function() {
|
1195
|
+
return Pe(this.year(), this.month())
|
1196
|
+
}, ln.week = ln.weeks = function(e) {
|
1197
|
+
var t = this.localeData().week(this);
|
1198
|
+
return null == e ? t : this.add(7 * (e - t), "d")
|
1199
|
+
}, ln.isoWeek = ln.isoWeeks = function(e) {
|
1200
|
+
var t = Ie(this, 1, 4).week;
|
1201
|
+
return null == e ? t : this.add(7 * (e - t), "d")
|
1202
|
+
}, ln.weeksInYear = function() {
|
1203
|
+
var e = this.localeData()._week;
|
1204
|
+
return Ae(this.year(), e.dow, e.doy)
|
1205
|
+
}, ln.isoWeeksInYear = function() {
|
1206
|
+
return Ae(this.year(), 1, 4)
|
1207
|
+
}, ln.date = nn, ln.day = ln.days = function(e) {
|
1208
|
+
if (!this.isValid()) return null != e ? this : NaN;
|
1209
|
+
var t, n, s = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
|
1210
|
+
return null != e ? (t = e, n = this.localeData(), e = "string" != typeof t ? t : isNaN(t) ? "number" == typeof(t = n.weekdaysParse(t)) ? t : null : parseInt(t, 10), this.add(e - s, "d")) : s
|
1211
|
+
}, ln.weekday = function(e) {
|
1212
|
+
if (!this.isValid()) return null != e ? this : NaN;
|
1213
|
+
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
1214
|
+
return null == e ? t : this.add(e - t, "d")
|
1215
|
+
}, ln.isoWeekday = function(e) {
|
1216
|
+
if (!this.isValid()) return null != e ? this : NaN;
|
1217
|
+
if (null != e) {
|
1218
|
+
var t = (n = e, s = this.localeData(), "string" == typeof n ? s.weekdaysParse(n) % 7 || 7 : isNaN(n) ? null : n);
|
1219
|
+
return this.day(this.day() % 7 ? t : t - 7)
|
1220
|
+
}
|
1221
|
+
return this.day() || 7;
|
1222
|
+
var n, s
|
1223
|
+
}, ln.dayOfYear = function(e) {
|
1224
|
+
var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1;
|
1225
|
+
return null == e ? t : this.add(e - t, "d")
|
1226
|
+
}, ln.hour = ln.hours = tt, ln.minute = ln.minutes = sn, ln.second = ln.seconds = an, ln.millisecond = ln.milliseconds = un, ln.utcOffset = function(e, t, n) {
|
1227
|
+
var s, i = this._offset || 0;
|
1228
|
+
if (!this.isValid()) return null != e ? this : NaN;
|
1229
|
+
if (null != e) {
|
1230
|
+
if ("string" == typeof e) {
|
1231
|
+
if (null === (e = Ut(re, e))) return this
|
1232
|
+
} else Math.abs(e) < 16 && !n && (e *= 60);
|
1233
|
+
return !this._isUTC && t && (s = Gt(this)), this._offset = e, this._isUTC = !0, null != s && this.add(s, "m"), i !== e && (!t || this._changeInProgress ? $t(this, At(e - i, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, c.updateOffset(this, !0), this._changeInProgress = null)), this
|
1234
|
+
}
|
1235
|
+
return this._isUTC ? i : Gt(this)
|
1236
|
+
}, ln.utc = function(e) {
|
1237
|
+
return this.utcOffset(0, e)
|
1238
|
+
}, ln.local = function(e) {
|
1239
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Gt(this), "m")), this
|
1240
|
+
}, ln.parseZone = function() {
|
1241
|
+
if (null != this._tzm) this.utcOffset(this._tzm, !1, !0);
|
1242
|
+
else if ("string" == typeof this._i) {
|
1243
|
+
var e = Ut(ie, this._i);
|
1244
|
+
null != e ? this.utcOffset(e) : this.utcOffset(0, !0)
|
1245
|
+
}
|
1246
|
+
return this
|
1247
|
+
}, ln.hasAlignedHourOffset = function(e) {
|
1248
|
+
return !!this.isValid() && (e = e ? Tt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0)
|
1249
|
+
}, ln.isDST = function() {
|
1250
|
+
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset()
|
1251
|
+
}, ln.isLocal = function() {
|
1252
|
+
return !!this.isValid() && !this._isUTC
|
1253
|
+
}, ln.isUtcOffset = function() {
|
1254
|
+
return !!this.isValid() && this._isUTC
|
1255
|
+
}, ln.isUtc = Vt, ln.isUTC = Vt, ln.zoneAbbr = function() {
|
1256
|
+
return this._isUTC ? "UTC" : ""
|
1257
|
+
}, ln.zoneName = function() {
|
1258
|
+
return this._isUTC ? "Coordinated Universal Time" : ""
|
1259
|
+
}, ln.dates = n("dates accessor is deprecated. Use date instead.", nn), ln.months = n("months accessor is deprecated. Use month instead", Fe), ln.years = n("years accessor is deprecated. Use year instead", Oe), ln.zone = n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", function(e, t) {
|
1260
|
+
return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset()
|
1261
|
+
}), ln.isDSTShifted = n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", function() {
|
1262
|
+
if (!l(this._isDSTShifted)) return this._isDSTShifted;
|
1263
|
+
var e = {};
|
1264
|
+
if (w(e, this), (e = Yt(e))._a) {
|
1265
|
+
var t = e._isUTC ? y(e._a) : Tt(e._a);
|
1266
|
+
this._isDSTShifted = this.isValid() && 0 < a(e._a, t.toArray())
|
1267
|
+
} else this._isDSTShifted = !1;
|
1268
|
+
return this._isDSTShifted
|
1269
|
+
});
|
1270
|
+
var hn = P.prototype;
|
1271
|
+
|
1272
|
+
function cn(e, t, n, s) {
|
1273
|
+
var i = lt(),
|
1274
|
+
r = y().set(s, t);
|
1275
|
+
return i[n](r, e)
|
1276
|
+
}
|
1277
|
+
|
1278
|
+
function fn(e, t, n) {
|
1279
|
+
if (d(e) && (t = e, e = void 0), e = e || "", null != t) return cn(e, t, n, "month");
|
1280
|
+
var s, i = [];
|
1281
|
+
for (s = 0; s < 12; s++) i[s] = cn(e, s, n, "month");
|
1282
|
+
return i
|
1283
|
+
}
|
1284
|
+
|
1285
|
+
function mn(e, t, n, s) {
|
1286
|
+
"boolean" == typeof e ? d(t) && (n = t, t = void 0) : (t = e, e = !1, d(n = t) && (n = t, t = void 0)), t = t || "";
|
1287
|
+
var i, r = lt(),
|
1288
|
+
a = e ? r._week.dow : 0;
|
1289
|
+
if (null != n) return cn(t, (n + a) % 7, s, "day");
|
1290
|
+
var o = [];
|
1291
|
+
for (i = 0; i < 7; i++) o[i] = cn(t, (i + a) % 7, s, "day");
|
1292
|
+
return o
|
1293
|
+
}
|
1294
|
+
hn.calendar = function(e, t, n) {
|
1295
|
+
var s = this._calendar[e] || this._calendar.sameElse;
|
1296
|
+
return x(s) ? s.call(t, n) : s
|
1297
|
+
}, hn.longDateFormat = function(e) {
|
1298
|
+
var t = this._longDateFormat[e],
|
1299
|
+
n = this._longDateFormat[e.toUpperCase()];
|
1300
|
+
return t || !n ? t : (this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function(e) {
|
1301
|
+
return e.slice(1)
|
1302
|
+
}), this._longDateFormat[e])
|
1303
|
+
}, hn.invalidDate = function() {
|
1304
|
+
return this._invalidDate
|
1305
|
+
}, hn.ordinal = function(e) {
|
1306
|
+
return this._ordinal.replace("%d", e)
|
1307
|
+
}, hn.preparse = dn, hn.postformat = dn, hn.relativeTime = function(e, t, n, s) {
|
1308
|
+
var i = this._relativeTime[n];
|
1309
|
+
return x(i) ? i(e, t, n, s) : i.replace(/%d/i, e)
|
1310
|
+
}, hn.pastFuture = function(e, t) {
|
1311
|
+
var n = this._relativeTime[0 < e ? "future" : "past"];
|
1312
|
+
return x(n) ? n(t) : n.replace(/%s/i, t)
|
1313
|
+
}, hn.set = function(e) {
|
1314
|
+
var t, n;
|
1315
|
+
for (n in e) x(t = e[n]) ? this[n] = t : this["_" + n] = t;
|
1316
|
+
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source)
|
1317
|
+
}, hn.months = function(e, t) {
|
1318
|
+
return e ? o(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || We).test(t) ? "format" : "standalone"][e.month()] : o(this._months) ? this._months : this._months.standalone
|
1319
|
+
}, hn.monthsShort = function(e, t) {
|
1320
|
+
return e ? o(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[We.test(t) ? "format" : "standalone"][e.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone
|
1321
|
+
}, hn.monthsParse = function(e, t, n) {
|
1322
|
+
var s, i, r;
|
1323
|
+
if (this._monthsParseExact) return function(e, t, n) {
|
1324
|
+
var s, i, r, a = e.toLocaleLowerCase();
|
1325
|
+
if (!this._monthsParse)
|
1326
|
+
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s) r = y([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(r, "").toLocaleLowerCase(), this._longMonthsParse[s] = this.months(r, "").toLocaleLowerCase();
|
1327
|
+
return n ? "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null
|
1328
|
+
}.call(this, e, t, n);
|
1329
|
+
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
1330
|
+
if (i = y([2e3, s]), n && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp("^" + this.months(i, "").replace(".", "") + "$", "i"), this._shortMonthsParse[s] = new RegExp("^" + this.monthsShort(i, "").replace(".", "") + "$", "i")), n || this._monthsParse[s] || (r = "^" + this.months(i, "") + "|^" + this.monthsShort(i, ""), this._monthsParse[s] = new RegExp(r.replace(".", ""), "i")), n && "MMMM" === t && this._longMonthsParse[s].test(e)) return s;
|
1331
|
+
if (n && "MMM" === t && this._shortMonthsParse[s].test(e)) return s;
|
1332
|
+
if (!n && this._monthsParse[s].test(e)) return s
|
1333
|
+
}
|
1334
|
+
}, hn.monthsRegex = function(e) {
|
1335
|
+
return this._monthsParseExact ? (m(this, "_monthsRegex") || Ne.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (m(this, "_monthsRegex") || (this._monthsRegex = Ue), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex)
|
1336
|
+
}, hn.monthsShortRegex = function(e) {
|
1337
|
+
return this._monthsParseExact ? (m(this, "_monthsRegex") || Ne.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (m(this, "_monthsShortRegex") || (this._monthsShortRegex = Le), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex)
|
1338
|
+
}, hn.week = function(e) {
|
1339
|
+
return Ie(e, this._week.dow, this._week.doy).week
|
1340
|
+
}, hn.firstDayOfYear = function() {
|
1341
|
+
return this._week.doy
|
1342
|
+
}, hn.firstDayOfWeek = function() {
|
1343
|
+
return this._week.dow
|
1344
|
+
}, hn.weekdays = function(e, t) {
|
1345
|
+
return e ? o(this._weekdays) ? this._weekdays[e.day()] : this._weekdays[this._weekdays.isFormat.test(t) ? "format" : "standalone"][e.day()] : o(this._weekdays) ? this._weekdays : this._weekdays.standalone
|
1346
|
+
}, hn.weekdaysMin = function(e) {
|
1347
|
+
return e ? this._weekdaysMin[e.day()] : this._weekdaysMin
|
1348
|
+
}, hn.weekdaysShort = function(e) {
|
1349
|
+
return e ? this._weekdaysShort[e.day()] : this._weekdaysShort
|
1350
|
+
}, hn.weekdaysParse = function(e, t, n) {
|
1351
|
+
var s, i, r;
|
1352
|
+
if (this._weekdaysParseExact) return function(e, t, n) {
|
1353
|
+
var s, i, r, a = e.toLocaleLowerCase();
|
1354
|
+
if (!this._weekdaysParse)
|
1355
|
+
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s) r = y([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(r, "").toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(r, "").toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(r, "").toLocaleLowerCase();
|
1356
|
+
return n ? "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null
|
1357
|
+
}.call(this, e, t, n);
|
1358
|
+
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
1359
|
+
if (i = y([2e3, 1]).day(s), n && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp("^" + this.weekdays(i, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[s] = new RegExp("^" + this.weekdaysShort(i, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[s] = new RegExp("^" + this.weekdaysMin(i, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[s] || (r = "^" + this.weekdays(i, "") + "|^" + this.weekdaysShort(i, "") + "|^" + this.weekdaysMin(i, ""), this._weekdaysParse[s] = new RegExp(r.replace(".", ""), "i")), n && "dddd" === t && this._fullWeekdaysParse[s].test(e)) return s;
|
1360
|
+
if (n && "ddd" === t && this._shortWeekdaysParse[s].test(e)) return s;
|
1361
|
+
if (n && "dd" === t && this._minWeekdaysParse[s].test(e)) return s;
|
1362
|
+
if (!n && this._weekdaysParse[s].test(e)) return s
|
1363
|
+
}
|
1364
|
+
}, hn.weekdaysRegex = function(e) {
|
1365
|
+
return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (m(this, "_weekdaysRegex") || (this._weekdaysRegex = $e), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex)
|
1366
|
+
}, hn.weekdaysShortRegex = function(e) {
|
1367
|
+
return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (m(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = qe), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
|
1368
|
+
}, hn.weekdaysMinRegex = function(e) {
|
1369
|
+
return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (m(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Je), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
|
1370
|
+
}, hn.isPM = function(e) {
|
1371
|
+
return "p" === (e + "").toLowerCase().charAt(0)
|
1372
|
+
}, hn.meridiem = function(e, t, n) {
|
1373
|
+
return 11 < e ? n ? "pm" : "PM" : n ? "am" : "AM"
|
1374
|
+
}, ot("en", {
|
1375
|
+
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
1376
|
+
ordinal: function(e) {
|
1377
|
+
var t = e % 10;
|
1378
|
+
return e + (1 === k(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th")
|
1379
|
+
}
|
1380
|
+
}), c.lang = n("moment.lang is deprecated. Use moment.locale instead.", ot), c.langData = n("moment.langData is deprecated. Use moment.localeData instead.", lt);
|
1381
|
+
var _n = Math.abs;
|
1382
|
+
|
1383
|
+
function yn(e, t, n, s) {
|
1384
|
+
var i = At(t, n);
|
1385
|
+
return e._milliseconds += s * i._milliseconds, e._days += s * i._days, e._months += s * i._months, e._bubble()
|
1386
|
+
}
|
1387
|
+
|
1388
|
+
function gn(e) {
|
1389
|
+
return e < 0 ? Math.floor(e) : Math.ceil(e)
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
function pn(e) {
|
1393
|
+
return 4800 * e / 146097
|
1394
|
+
}
|
1395
|
+
|
1396
|
+
function vn(e) {
|
1397
|
+
return 146097 * e / 4800
|
1398
|
+
}
|
1399
|
+
|
1400
|
+
function wn(e) {
|
1401
|
+
return function() {
|
1402
|
+
return this.as(e)
|
1403
|
+
}
|
1404
|
+
}
|
1405
|
+
var Mn = wn("ms"),
|
1406
|
+
Sn = wn("s"),
|
1407
|
+
Dn = wn("m"),
|
1408
|
+
kn = wn("h"),
|
1409
|
+
Yn = wn("d"),
|
1410
|
+
On = wn("w"),
|
1411
|
+
Tn = wn("M"),
|
1412
|
+
xn = wn("y");
|
1413
|
+
|
1414
|
+
function bn(e) {
|
1415
|
+
return function() {
|
1416
|
+
return this.isValid() ? this._data[e] : NaN
|
1417
|
+
}
|
1418
|
+
}
|
1419
|
+
var Pn = bn("milliseconds"),
|
1420
|
+
Wn = bn("seconds"),
|
1421
|
+
Hn = bn("minutes"),
|
1422
|
+
Rn = bn("hours"),
|
1423
|
+
Cn = bn("days"),
|
1424
|
+
Fn = bn("months"),
|
1425
|
+
Ln = bn("years");
|
1426
|
+
var Un = Math.round,
|
1427
|
+
Nn = {
|
1428
|
+
ss: 44,
|
1429
|
+
s: 45,
|
1430
|
+
m: 45,
|
1431
|
+
h: 22,
|
1432
|
+
d: 26,
|
1433
|
+
M: 11
|
1434
|
+
};
|
1435
|
+
var Gn = Math.abs;
|
1436
|
+
|
1437
|
+
function Vn(e) {
|
1438
|
+
return (0 < e) - (e < 0) || +e
|
1439
|
+
}
|
1440
|
+
|
1441
|
+
function En() {
|
1442
|
+
if (!this.isValid()) return this.localeData().invalidDate();
|
1443
|
+
var e, t, n = Gn(this._milliseconds) / 1e3,
|
1444
|
+
s = Gn(this._days),
|
1445
|
+
i = Gn(this._months);
|
1446
|
+
t = D((e = D(n / 60)) / 60), n %= 60, e %= 60;
|
1447
|
+
var r = D(i / 12),
|
1448
|
+
a = i %= 12,
|
1449
|
+
o = s,
|
1450
|
+
u = t,
|
1451
|
+
l = e,
|
1452
|
+
d = n ? n.toFixed(3).replace(/\.?0+$/, "") : "",
|
1453
|
+
h = this.asSeconds();
|
1454
|
+
if (!h) return "P0D";
|
1455
|
+
var c = h < 0 ? "-" : "",
|
1456
|
+
f = Vn(this._months) !== Vn(h) ? "-" : "",
|
1457
|
+
m = Vn(this._days) !== Vn(h) ? "-" : "",
|
1458
|
+
_ = Vn(this._milliseconds) !== Vn(h) ? "-" : "";
|
1459
|
+
return c + "P" + (r ? f + r + "Y" : "") + (a ? f + a + "M" : "") + (o ? m + o + "D" : "") + (u || l || d ? "T" : "") + (u ? _ + u + "H" : "") + (l ? _ + l + "M" : "") + (d ? _ + d + "S" : "")
|
1460
|
+
}
|
1461
|
+
var In = Ht.prototype;
|
1462
|
+
return In.isValid = function() {
|
1463
|
+
return this._isValid
|
1464
|
+
}, In.abs = function() {
|
1465
|
+
var e = this._data;
|
1466
|
+
return this._milliseconds = _n(this._milliseconds), this._days = _n(this._days), this._months = _n(this._months), e.milliseconds = _n(e.milliseconds), e.seconds = _n(e.seconds), e.minutes = _n(e.minutes), e.hours = _n(e.hours), e.months = _n(e.months), e.years = _n(e.years), this
|
1467
|
+
}, In.add = function(e, t) {
|
1468
|
+
return yn(this, e, t, 1)
|
1469
|
+
}, In.subtract = function(e, t) {
|
1470
|
+
return yn(this, e, t, -1)
|
1471
|
+
}, In.as = function(e) {
|
1472
|
+
if (!this.isValid()) return NaN;
|
1473
|
+
var t, n, s = this._milliseconds;
|
1474
|
+
if ("month" === (e = R(e)) || "year" === e) return t = this._days + s / 864e5, n = this._months + pn(t), "month" === e ? n : n / 12;
|
1475
|
+
switch (t = this._days + Math.round(vn(this._months)), e) {
|
1476
|
+
case "week":
|
1477
|
+
return t / 7 + s / 6048e5;
|
1478
|
+
case "day":
|
1479
|
+
return t + s / 864e5;
|
1480
|
+
case "hour":
|
1481
|
+
return 24 * t + s / 36e5;
|
1482
|
+
case "minute":
|
1483
|
+
return 1440 * t + s / 6e4;
|
1484
|
+
case "second":
|
1485
|
+
return 86400 * t + s / 1e3;
|
1486
|
+
case "millisecond":
|
1487
|
+
return Math.floor(864e5 * t) + s;
|
1488
|
+
default:
|
1489
|
+
throw new Error("Unknown unit " + e)
|
1490
|
+
}
|
1491
|
+
}, In.asMilliseconds = Mn, In.asSeconds = Sn, In.asMinutes = Dn, In.asHours = kn, In.asDays = Yn, In.asWeeks = On, In.asMonths = Tn, In.asYears = xn, In.valueOf = function() {
|
1492
|
+
return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * k(this._months / 12) : NaN
|
1493
|
+
}, In._bubble = function() {
|
1494
|
+
var e, t, n, s, i, r = this._milliseconds,
|
1495
|
+
a = this._days,
|
1496
|
+
o = this._months,
|
1497
|
+
u = this._data;
|
1498
|
+
return 0 <= r && 0 <= a && 0 <= o || r <= 0 && a <= 0 && o <= 0 || (r += 864e5 * gn(vn(o) + a), o = a = 0), u.milliseconds = r % 1e3, e = D(r / 1e3), u.seconds = e % 60, t = D(e / 60), u.minutes = t % 60, n = D(t / 60), u.hours = n % 24, o += i = D(pn(a += D(n / 24))), a -= gn(vn(i)), s = D(o / 12), o %= 12, u.days = a, u.months = o, u.years = s, this
|
1499
|
+
}, In.clone = function() {
|
1500
|
+
return At(this)
|
1501
|
+
}, In.get = function(e) {
|
1502
|
+
return e = R(e), this.isValid() ? this[e + "s"]() : NaN
|
1503
|
+
}, In.milliseconds = Pn, In.seconds = Wn, In.minutes = Hn, In.hours = Rn, In.days = Cn, In.weeks = function() {
|
1504
|
+
return D(this.days() / 7)
|
1505
|
+
}, In.months = Fn, In.years = Ln, In.humanize = function(e) {
|
1506
|
+
if (!this.isValid()) return this.localeData().invalidDate();
|
1507
|
+
var t, n, s, i, r, a, o, u, l, d, h, c = this.localeData(),
|
1508
|
+
f = (n = !e, s = c, i = At(t = this).abs(), r = Un(i.as("s")), a = Un(i.as("m")), o = Un(i.as("h")), u = Un(i.as("d")), l = Un(i.as("M")), d = Un(i.as("y")), (h = r <= Nn.ss && ["s", r] || r < Nn.s && ["ss", r] || a <= 1 && ["m"] || a < Nn.m && ["mm", a] || o <= 1 && ["h"] || o < Nn.h && ["hh", o] || u <= 1 && ["d"] || u < Nn.d && ["dd", u] || l <= 1 && ["M"] || l < Nn.M && ["MM", l] || d <= 1 && ["y"] || ["yy", d])[2] = n, h[3] = 0 < +t, h[4] = s, function(e, t, n, s, i) {
|
1509
|
+
return i.relativeTime(t || 1, !!n, e, s)
|
1510
|
+
}.apply(null, h));
|
1511
|
+
return e && (f = c.pastFuture(+this, f)), c.postformat(f)
|
1512
|
+
}, In.toISOString = En, In.toString = En, In.toJSON = En, In.locale = Qt, In.localeData = Kt, In.toIsoString = n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", En), In.lang = Xt, I("X", 0, 0, "unix"), I("x", 0, 0, "valueOf"), ue("x", se), ue("X", /[+-]?\d+(\.\d{1,3})?/), ce("X", function(e, t, n) {
|
1513
|
+
n._d = new Date(1e3 * parseFloat(e, 10))
|
1514
|
+
}), ce("x", function(e, t, n) {
|
1515
|
+
n._d = new Date(k(e))
|
1516
|
+
}), c.version = "2.22.2", e = Tt, c.fn = ln, c.min = function() {
|
1517
|
+
return Pt("isBefore", [].slice.call(arguments, 0))
|
1518
|
+
}, c.max = function() {
|
1519
|
+
return Pt("isAfter", [].slice.call(arguments, 0))
|
1520
|
+
}, c.now = function() {
|
1521
|
+
return Date.now ? Date.now() : +new Date
|
1522
|
+
}, c.utc = y, c.unix = function(e) {
|
1523
|
+
return Tt(1e3 * e)
|
1524
|
+
}, c.months = function(e, t) {
|
1525
|
+
return fn(e, t, "months")
|
1526
|
+
}, c.isDate = h, c.locale = ot, c.invalid = v, c.duration = At, c.isMoment = S, c.weekdays = function(e, t, n) {
|
1527
|
+
return mn(e, t, n, "weekdays")
|
1528
|
+
}, c.parseZone = function() {
|
1529
|
+
return Tt.apply(null, arguments).parseZone()
|
1530
|
+
}, c.localeData = lt, c.isDuration = Rt, c.monthsShort = function(e, t) {
|
1531
|
+
return fn(e, t, "monthsShort")
|
1532
|
+
}, c.weekdaysMin = function(e, t, n) {
|
1533
|
+
return mn(e, t, n, "weekdaysMin")
|
1534
|
+
}, c.defineLocale = ut, c.updateLocale = function(e, t) {
|
1535
|
+
if (null != t) {
|
1536
|
+
var n, s, i = nt;
|
1537
|
+
null != (s = at(e)) && (i = s._config), (n = new P(t = b(i, t))).parentLocale = st[e], st[e] = n, ot(e)
|
1538
|
+
} else null != st[e] && (null != st[e].parentLocale ? st[e] = st[e].parentLocale : null != st[e] && delete st[e]);
|
1539
|
+
return st[e]
|
1540
|
+
}, c.locales = function() {
|
1541
|
+
return s(st)
|
1542
|
+
}, c.weekdaysShort = function(e, t, n) {
|
1543
|
+
return mn(e, t, n, "weekdaysShort")
|
1544
|
+
}, c.normalizeUnits = R, c.relativeTimeRounding = function(e) {
|
1545
|
+
return void 0 === e ? Un : "function" == typeof e && (Un = e, !0)
|
1546
|
+
}, c.relativeTimeThreshold = function(e, t) {
|
1547
|
+
return void 0 !== Nn[e] && (void 0 === t ? Nn[e] : (Nn[e] = t, "s" === e && (Nn.ss = t - 1), !0))
|
1548
|
+
}, c.calendarFormat = function(e, t) {
|
1549
|
+
var n = e.diff(t, "days", !0);
|
1550
|
+
return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse"
|
1551
|
+
}, c.prototype = ln, c.HTML5_FMT = {
|
1552
|
+
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
1553
|
+
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
1554
|
+
DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
|
1555
|
+
DATE: "YYYY-MM-DD",
|
1556
|
+
TIME: "HH:mm",
|
1557
|
+
TIME_SECONDS: "HH:mm:ss",
|
1558
|
+
TIME_MS: "HH:mm:ss.SSS",
|
1559
|
+
WEEK: "YYYY-[W]WW",
|
1560
|
+
MONTH: "YYYY-MM"
|
1561
|
+
}, c
|
1562
|
+
});
|