xyvcard-settle 0.0.58 → 0.0.60

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 (43) hide show
  1. package/dist/edit-DzPBL82-.mjs +2380 -0
  2. package/dist/{history-CMyJKuis.mjs → history-CnMEO2CW.mjs} +1 -1
  3. package/dist/{history-DWaN_Nrb.mjs → history-kl_jXsnW.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs → history.vue_vue_type_script_setup_true_lang-CAVy5DVA.mjs} +1 -1
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs → history.vue_vue_type_script_setup_true_lang-CoTMeuBv.mjs} +1 -1
  6. package/dist/{index-ZwyAUTzX.mjs → index-B20Lax-5.mjs} +2 -2
  7. package/dist/{index-BmSUfSfV.mjs → index-BALX50oa.mjs} +1 -1
  8. package/dist/{index-CVEOIlcb.mjs → index-BFHtgunR.mjs} +3 -3
  9. package/dist/{index-D8LRYlta.mjs → index-Bsp92E8u.mjs} +2 -2
  10. package/dist/index-BwNNpY12.mjs +3299 -0
  11. package/dist/{index-D6IsNjl5.mjs → index-CN1fPWYT.mjs} +1 -1
  12. package/dist/{index-CL4HN4Ts.mjs → index-CPx1PDuW.mjs} +310 -238
  13. package/dist/{index-BeU6u9hH.mjs → index-CxAA6y4d.mjs} +1 -1
  14. package/dist/{index-UpMheR8A.mjs → index-CyrJT-cm.mjs} +8 -8
  15. package/dist/index-D1ZSiSHZ.mjs +541 -0
  16. package/dist/index-DIMYw-D2.mjs +191 -0
  17. package/dist/{index-CMCuahPr.mjs → index-DUHdbtZq.mjs} +1 -1
  18. package/dist/{index-CBRg6gOE.mjs → index-DbjeEvNK.mjs} +1 -1
  19. package/dist/{index-D09KMqNV.mjs → index-DlzZSa1B.mjs} +1 -1
  20. package/dist/index.mjs +1 -1
  21. package/dist/info-D76iPRc2.mjs +4 -0
  22. package/dist/{payPal-BxEHOKHE.mjs → payPal-CQ8yDjnQ.mjs} +1 -1
  23. package/dist/{payPal-FS5kDoPy.mjs → payPal-Do1aiGtC.mjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{today-BU8dRQhE.mjs → today-BIoj6BkD.mjs} +1 -1
  26. package/dist/{today-DO4wIwlZ.mjs → today-CSCbz8w8.mjs} +1 -1
  27. package/dist/{today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs → today.vue_vue_type_script_setup_true_lang-BQY18Sy2.mjs} +1 -1
  28. package/dist/{today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs → today.vue_vue_type_script_setup_true_lang-DGeGDGX8.mjs} +1 -1
  29. package/dts/src/api/settle/dict.d.ts +9 -0
  30. package/dts/src/api/settle/index.d.ts +11 -2
  31. package/dts/src/api/settle/mcht-profit/index.d.ts +9 -0
  32. package/dts/src/api/settle/mcht-profit/type.d.ts +34 -0
  33. package/dts/src/api/settle/pay-bank-trade-record/index.d.ts +19 -0
  34. package/dts/src/api/settle/pay-bank-trade-record/types.d.ts +135 -0
  35. package/dts/src/constant.d.ts +27 -0
  36. package/dts/src/lang/settle/zh-cn.d.ts +48 -0
  37. package/dts/src/views/payment/merchant-profit/index.vue.d.ts +2 -0
  38. package/dts/src/views/payment/pay-bank-trade-record/edit.vue.d.ts +28 -0
  39. package/dts/src/views/payment/pay-bank-trade-record/index.vue.d.ts +2 -0
  40. package/dts/src/views/payment/pay-trade/info.vue.d.ts +2 -0
  41. package/package.json +2 -2
  42. package/dist/index-BgbsFf1D.mjs +0 -114
  43. package/dist/index-Cc7O7Na9.mjs +0 -2795
@@ -1,2795 +0,0 @@
1
- import { deepMerge as vs, RedirectPage as Ss, Layout as ze, ProfilePage as Ds, Error401Page as Ys, Error404Page as Os, routerRef as Ts, addViteMenus as xs, i18n as bs } from "jmash-core";
2
- import { createRouter as Ns, createWebHistory as Ps } from "vue-router";
3
- import "xyvcard-merchant";
4
- import { agentloginPage as Rs } from "xyvcard-agent";
5
- const Ws = {
6
- // 交易流水
7
- payTrade: {
8
- merchantId: "经营名称",
9
- merchantIdRead: "请选择商户名称",
10
- orderNo: "筋斗云订单号",
11
- orderNoRead: "请输入筋斗云订单号",
12
- termNo: "筋斗云终端号",
13
- termNoRead: "请输入筋斗云终端号",
14
- view: "查看明细",
15
- index: "序号",
16
- merchantNo: "商户号",
17
- tradeType: "交易类型",
18
- tradeTypeRead: "请选择交易类型",
19
- agentCode: "代理商编码",
20
- agentName: "代理商名称",
21
- likeMerchantNoRead: "请输入连锁号",
22
- likeMerchantNo: "连锁号",
23
- createTime: "支付时间",
24
- startCreateTime: "开始时间",
25
- endCreateTime: "结束时间",
26
- totalAmount: "订单金额",
27
- discountAmount: "优惠金额",
28
- payMode: "支付方式",
29
- payModeRead: "请选择支付方式",
30
- commission: "手续费",
31
- feeRatePct: "费率",
32
- channelId: "支付通道",
33
- instsId: "落地机构",
34
- instsIdRead: "请选择支付通道",
35
- createTimes: "交易时间",
36
- tradeAmount: "交易金额",
37
- orderStatus: "订单状态",
38
- tradeStatus: "交易状态",
39
- orderStatusRead: "请选择订单状态",
40
- tradeStatusRead: "请选择交易状态",
41
- tradeNo: "交易流水号",
42
- refundReason: "退款原因",
43
- description: "收款备注",
44
- qrcodeNo: "码牌编号",
45
- payTimeRequired: "请选择支付时间范围",
46
- needAtLeastOneCondition: "请至少选择一个查询条件",
47
- outOrderNo: "商户订单号",
48
- outOrderNoRead: "请输入商户订单号"
49
- },
50
- // 支付交易商户/代理商汇总统计;
51
- settleTradeAnalysis: {
52
- merchantNo: "商户号",
53
- name: "支付交易汇总统计;",
54
- index: "序号",
55
- createTime: "交易时间",
56
- channelId: "支付通道",
57
- instsId: "落地机构",
58
- channelIdRead: "请选择支付通道",
59
- agentCode: "代理商编码",
60
- agentName: "代理商名称",
61
- agentCodeRead: "请选择代理商",
62
- agentCodes: "代理商编号",
63
- agentCodesRead: "请输入代理商编号",
64
- merchantNum: "商户数",
65
- orderCount: "订单笔数",
66
- orderAmount: "订单金额",
67
- tradeAmount: "交易金额",
68
- discountAmount: "优惠金额",
69
- settleAmount: "结算金额",
70
- feeAmt: "手续费",
71
- analysisTime: "交易日期",
72
- view: "查看明细",
73
- likeMerchantNo: "连锁号",
74
- likeMerchantNoRead: "请输入连锁号",
75
- merchantId: "经营名称",
76
- merchantIdRead: "请输入商户名称",
77
- likeMerchantNos: "连锁号",
78
- likeMerchantNosRead: "请输入连锁号",
79
- termNo: "筋斗云终端号",
80
- termNoRead: "请输入筋斗云终端号",
81
- payMode: "支付方式",
82
- payModeRead: "请选择支付方式",
83
- analysisTimeStart: "结束日期",
84
- analysisTimeEnd: "结束日期",
85
- tradeType: "交易类型",
86
- tradeTypeRead: "请选择交易类型"
87
- },
88
- // 查询-到账
89
- settleTradeReceipt: {
90
- name: "划款信息查询-到账",
91
- likeMerchantName: "经营名称",
92
- likeMerchantNo: "连锁号",
93
- merchantNo: "商户号",
94
- likeMerchantNoRead: "请输入连锁号",
95
- likeMerchantNameRead: "请输入商户名称",
96
- createTime: "到账日期",
97
- createTimeRead: "请选择到账日期",
98
- transferMoneyDateStart: "开始时间",
99
- transferMoneyDateEnd: "结束时间",
100
- transferMoneyDate: "划款时间",
101
- agentCode: "代理商编号",
102
- agentName: "代理商名称",
103
- agentCodeRead: "请选择代理商",
104
- channelId: "支付通道",
105
- index: "序号",
106
- merchantName: "商户经营名称",
107
- transferMoneyTime: "划款时间",
108
- transferMoneyAmount: "划款金额",
109
- feeAmt: "手续费",
110
- transferMoneyStatus: "到账状态",
111
- transferMoneyStatusName: "到账状态",
112
- chnlRespMsg: "失败原因",
113
- termNo: "筋斗云终端号",
114
- termNoRead: "请输入筋斗云终端号"
115
- }
116
- };
117
- function Fs(e) {
118
- let t = e.global.getLocaleMessage("zh-cn");
119
- t = vs(t, Ws), e.global.setLocaleMessage("zh-cn", t);
120
- }
121
- //! moment.js
122
- //! version : 2.30.1
123
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
124
- //! license : MIT
125
- //! momentjs.com
126
- var Pt;
127
- function l() {
128
- return Pt.apply(null, arguments);
129
- }
130
- function Cs(e) {
131
- Pt = e;
132
- }
133
- function W(e) {
134
- return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
135
- }
136
- function se(e) {
137
- return e != null && Object.prototype.toString.call(e) === "[object Object]";
138
- }
139
- function w(e, t) {
140
- return Object.prototype.hasOwnProperty.call(e, t);
141
- }
142
- function rt(e) {
143
- if (Object.getOwnPropertyNames)
144
- return Object.getOwnPropertyNames(e).length === 0;
145
- var t;
146
- for (t in e)
147
- if (w(e, t))
148
- return !1;
149
- return !0;
150
- }
151
- function T(e) {
152
- return e === void 0;
153
- }
154
- function $(e) {
155
- return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
156
- }
157
- function ke(e) {
158
- return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
159
- }
160
- function Rt(e, t) {
161
- var s = [], r, a = e.length;
162
- for (r = 0; r < a; ++r)
163
- s.push(t(e[r], r));
164
- return s;
165
- }
166
- function Q(e, t) {
167
- for (var s in t)
168
- w(t, s) && (e[s] = t[s]);
169
- return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
170
- }
171
- function H(e, t, s, r) {
172
- return ts(e, t, s, r, !0).utc();
173
- }
174
- function Ls() {
175
- return {
176
- empty: !1,
177
- unusedTokens: [],
178
- unusedInput: [],
179
- overflow: -2,
180
- charsLeftOver: 0,
181
- nullInput: !1,
182
- invalidEra: null,
183
- invalidMonth: null,
184
- invalidFormat: !1,
185
- userInvalidated: !1,
186
- iso: !1,
187
- parsedDateParts: [],
188
- era: null,
189
- meridiem: null,
190
- rfc2822: !1,
191
- weekdayMismatch: !1
192
- };
193
- }
194
- function c(e) {
195
- return e._pf == null && (e._pf = Ls()), e._pf;
196
- }
197
- var Je;
198
- Array.prototype.some ? Je = Array.prototype.some : Je = function(e) {
199
- var t = Object(this), s = t.length >>> 0, r;
200
- for (r = 0; r < s; r++)
201
- if (r in t && e.call(this, t[r], r, t))
202
- return !0;
203
- return !1;
204
- };
205
- function at(e) {
206
- var t = null, s = !1, r = e._d && !isNaN(e._d.getTime());
207
- if (r && (t = c(e), s = Je.call(t.parsedDateParts, function(a) {
208
- return a != null;
209
- }), r = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && s), e._strict && (r = r && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
210
- e._isValid = r;
211
- else
212
- return r;
213
- return e._isValid;
214
- }
215
- function Fe(e) {
216
- var t = H(NaN);
217
- return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
218
- }
219
- var Yt = l.momentProperties = [], Ze = !1;
220
- function nt(e, t) {
221
- var s, r, a, n = Yt.length;
222
- if (T(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), T(t._i) || (e._i = t._i), T(t._f) || (e._f = t._f), T(t._l) || (e._l = t._l), T(t._strict) || (e._strict = t._strict), T(t._tzm) || (e._tzm = t._tzm), T(t._isUTC) || (e._isUTC = t._isUTC), T(t._offset) || (e._offset = t._offset), T(t._pf) || (e._pf = c(t)), T(t._locale) || (e._locale = t._locale), n > 0)
223
- for (s = 0; s < n; s++)
224
- r = Yt[s], a = t[r], T(a) || (e[r] = a);
225
- return e;
226
- }
227
- function Me(e) {
228
- nt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Ze === !1 && (Ze = !0, l.updateOffset(this), Ze = !1);
229
- }
230
- function F(e) {
231
- return e instanceof Me || e != null && e._isAMomentObject != null;
232
- }
233
- function Wt(e) {
234
- l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
235
- }
236
- function N(e, t) {
237
- var s = !0;
238
- return Q(function() {
239
- if (l.deprecationHandler != null && l.deprecationHandler(null, e), s) {
240
- var r = [], a, n, i, u = arguments.length;
241
- for (n = 0; n < u; n++) {
242
- if (a = "", typeof arguments[n] == "object") {
243
- a += `
244
- [` + n + "] ";
245
- for (i in arguments[0])
246
- w(arguments[0], i) && (a += i + ": " + arguments[0][i] + ", ");
247
- a = a.slice(0, -2);
248
- } else
249
- a = arguments[n];
250
- r.push(a);
251
- }
252
- Wt(
253
- e + `
254
- Arguments: ` + Array.prototype.slice.call(r).join("") + `
255
- ` + new Error().stack
256
- ), s = !1;
257
- }
258
- return t.apply(this, arguments);
259
- }, t);
260
- }
261
- var Ot = {};
262
- function Ft(e, t) {
263
- l.deprecationHandler != null && l.deprecationHandler(e, t), Ot[e] || (Wt(t), Ot[e] = !0);
264
- }
265
- l.suppressDeprecationWarnings = !1;
266
- l.deprecationHandler = null;
267
- function U(e) {
268
- return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
269
- }
270
- function Is(e) {
271
- var t, s;
272
- for (s in e)
273
- w(e, s) && (t = e[s], U(t) ? this[s] = t : this["_" + s] = t);
274
- this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
275
- (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
276
- );
277
- }
278
- function Qe(e, t) {
279
- var s = Q({}, e), r;
280
- for (r in t)
281
- w(t, r) && (se(e[r]) && se(t[r]) ? (s[r] = {}, Q(s[r], e[r]), Q(s[r], t[r])) : t[r] != null ? s[r] = t[r] : delete s[r]);
282
- for (r in e)
283
- w(e, r) && !w(t, r) && se(e[r]) && (s[r] = Q({}, s[r]));
284
- return s;
285
- }
286
- function it(e) {
287
- e != null && this.set(e);
288
- }
289
- var Xe;
290
- Object.keys ? Xe = Object.keys : Xe = function(e) {
291
- var t, s = [];
292
- for (t in e)
293
- w(e, t) && s.push(t);
294
- return s;
295
- };
296
- var Hs = {
297
- sameDay: "[Today at] LT",
298
- nextDay: "[Tomorrow at] LT",
299
- nextWeek: "dddd [at] LT",
300
- lastDay: "[Yesterday at] LT",
301
- lastWeek: "[Last] dddd [at] LT",
302
- sameElse: "L"
303
- };
304
- function Us(e, t, s) {
305
- var r = this._calendar[e] || this._calendar.sameElse;
306
- return U(r) ? r.call(t, s) : r;
307
- }
308
- function I(e, t, s) {
309
- var r = "" + Math.abs(e), a = t - r.length, n = e >= 0;
310
- return (n ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + r;
311
- }
312
- var ot = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, De = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, $e = {}, oe = {};
313
- function h(e, t, s, r) {
314
- var a = r;
315
- typeof r == "string" && (a = function() {
316
- return this[r]();
317
- }), e && (oe[e] = a), t && (oe[t[0]] = function() {
318
- return I(a.apply(this, arguments), t[1], t[2]);
319
- }), s && (oe[s] = function() {
320
- return this.localeData().ordinal(
321
- a.apply(this, arguments),
322
- e
323
- );
324
- });
325
- }
326
- function As(e) {
327
- return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
328
- }
329
- function Es(e) {
330
- var t = e.match(ot), s, r;
331
- for (s = 0, r = t.length; s < r; s++)
332
- oe[t[s]] ? t[s] = oe[t[s]] : t[s] = As(t[s]);
333
- return function(a) {
334
- var n = "", i;
335
- for (i = 0; i < r; i++)
336
- n += U(t[i]) ? t[i].call(a, e) : t[i];
337
- return n;
338
- };
339
- }
340
- function Oe(e, t) {
341
- return e.isValid() ? (t = Ct(t, e.localeData()), $e[t] = $e[t] || Es(t), $e[t](e)) : e.localeData().invalidDate();
342
- }
343
- function Ct(e, t) {
344
- var s = 5;
345
- function r(a) {
346
- return t.longDateFormat(a) || a;
347
- }
348
- for (De.lastIndex = 0; s >= 0 && De.test(e); )
349
- e = e.replace(
350
- De,
351
- r
352
- ), De.lastIndex = 0, s -= 1;
353
- return e;
354
- }
355
- var Vs = {
356
- LTS: "h:mm:ss A",
357
- LT: "h:mm A",
358
- L: "MM/DD/YYYY",
359
- LL: "MMMM D, YYYY",
360
- LLL: "MMMM D, YYYY h:mm A",
361
- LLLL: "dddd, MMMM D, YYYY h:mm A"
362
- };
363
- function Gs(e) {
364
- var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
365
- return t || !s ? t : (this._longDateFormat[e] = s.match(ot).map(function(r) {
366
- return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
367
- }).join(""), this._longDateFormat[e]);
368
- }
369
- var js = "Invalid date";
370
- function zs() {
371
- return this._invalidDate;
372
- }
373
- var Zs = "%d", $s = /\d{1,2}/;
374
- function qs(e) {
375
- return this._ordinal.replace("%d", e);
376
- }
377
- var Bs = {
378
- future: "in %s",
379
- past: "%s ago",
380
- s: "a few seconds",
381
- ss: "%d seconds",
382
- m: "a minute",
383
- mm: "%d minutes",
384
- h: "an hour",
385
- hh: "%d hours",
386
- d: "a day",
387
- dd: "%d days",
388
- w: "a week",
389
- ww: "%d weeks",
390
- M: "a month",
391
- MM: "%d months",
392
- y: "a year",
393
- yy: "%d years"
394
- };
395
- function Js(e, t, s, r) {
396
- var a = this._relativeTime[s];
397
- return U(a) ? a(e, t, s, r) : a.replace(/%d/i, e);
398
- }
399
- function Qs(e, t) {
400
- var s = this._relativeTime[e > 0 ? "future" : "past"];
401
- return U(s) ? s(t) : s.replace(/%s/i, t);
402
- }
403
- var Tt = {
404
- D: "date",
405
- dates: "date",
406
- date: "date",
407
- d: "day",
408
- days: "day",
409
- day: "day",
410
- e: "weekday",
411
- weekdays: "weekday",
412
- weekday: "weekday",
413
- E: "isoWeekday",
414
- isoweekdays: "isoWeekday",
415
- isoweekday: "isoWeekday",
416
- DDD: "dayOfYear",
417
- dayofyears: "dayOfYear",
418
- dayofyear: "dayOfYear",
419
- h: "hour",
420
- hours: "hour",
421
- hour: "hour",
422
- ms: "millisecond",
423
- milliseconds: "millisecond",
424
- millisecond: "millisecond",
425
- m: "minute",
426
- minutes: "minute",
427
- minute: "minute",
428
- M: "month",
429
- months: "month",
430
- month: "month",
431
- Q: "quarter",
432
- quarters: "quarter",
433
- quarter: "quarter",
434
- s: "second",
435
- seconds: "second",
436
- second: "second",
437
- gg: "weekYear",
438
- weekyears: "weekYear",
439
- weekyear: "weekYear",
440
- GG: "isoWeekYear",
441
- isoweekyears: "isoWeekYear",
442
- isoweekyear: "isoWeekYear",
443
- w: "week",
444
- weeks: "week",
445
- week: "week",
446
- W: "isoWeek",
447
- isoweeks: "isoWeek",
448
- isoweek: "isoWeek",
449
- y: "year",
450
- years: "year",
451
- year: "year"
452
- };
453
- function P(e) {
454
- return typeof e == "string" ? Tt[e] || Tt[e.toLowerCase()] : void 0;
455
- }
456
- function lt(e) {
457
- var t = {}, s, r;
458
- for (r in e)
459
- w(e, r) && (s = P(r), s && (t[s] = e[r]));
460
- return t;
461
- }
462
- var Xs = {
463
- date: 9,
464
- day: 11,
465
- weekday: 11,
466
- isoWeekday: 11,
467
- dayOfYear: 4,
468
- hour: 13,
469
- millisecond: 16,
470
- minute: 14,
471
- month: 8,
472
- quarter: 7,
473
- second: 15,
474
- weekYear: 1,
475
- isoWeekYear: 1,
476
- week: 5,
477
- isoWeek: 5,
478
- year: 1
479
- };
480
- function Ks(e) {
481
- var t = [], s;
482
- for (s in e)
483
- w(e, s) && t.push({ unit: s, priority: Xs[s] });
484
- return t.sort(function(r, a) {
485
- return r.priority - a.priority;
486
- }), t;
487
- }
488
- var Lt = /\d/, x = /\d\d/, It = /\d{3}/, ut = /\d{4}/, Ce = /[+-]?\d{6}/, M = /\d\d?/, Ht = /\d\d\d\d?/, Ut = /\d\d\d\d\d\d?/, Le = /\d{1,3}/, dt = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, de = /\d+/, He = /[+-]?\d+/, er = /Z|[+-]\d\d:?\d\d/gi, Ue = /Z|[+-]\d\d(?::?\d\d)?/gi, tr = /[+-]?\d+(\.\d{1,3})?/, ve = /[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, he = /^[1-9]\d?/, ht = /^([1-9]\d|\d)/, be;
489
- be = {};
490
- function d(e, t, s) {
491
- be[e] = U(t) ? t : function(r, a) {
492
- return r && s ? s : t;
493
- };
494
- }
495
- function sr(e, t) {
496
- return w(be, e) ? be[e](t._strict, t._locale) : new RegExp(rr(e));
497
- }
498
- function rr(e) {
499
- return z(
500
- e.replace("\\", "").replace(
501
- /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
502
- function(t, s, r, a, n) {
503
- return s || r || a || n;
504
- }
505
- )
506
- );
507
- }
508
- function z(e) {
509
- return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
510
- }
511
- function b(e) {
512
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
513
- }
514
- function m(e) {
515
- var t = +e, s = 0;
516
- return t !== 0 && isFinite(t) && (s = b(t)), s;
517
- }
518
- var Ke = {};
519
- function g(e, t) {
520
- var s, r = t, a;
521
- for (typeof e == "string" && (e = [e]), $(t) && (r = function(n, i) {
522
- i[t] = m(n);
523
- }), a = e.length, s = 0; s < a; s++)
524
- Ke[e[s]] = r;
525
- }
526
- function Se(e, t) {
527
- g(e, function(s, r, a, n) {
528
- a._w = a._w || {}, t(s, a._w, a, n);
529
- });
530
- }
531
- function ar(e, t, s) {
532
- t != null && w(Ke, e) && Ke[e](t, s._a, s, e);
533
- }
534
- function Ae(e) {
535
- return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
536
- }
537
- var Y = 0, G = 1, L = 2, D = 3, R = 4, j = 5, te = 6, nr = 7, ir = 8;
538
- h("Y", 0, 0, function() {
539
- var e = this.year();
540
- return e <= 9999 ? I(e, 4) : "+" + e;
541
- });
542
- h(0, ["YY", 2], 0, function() {
543
- return this.year() % 100;
544
- });
545
- h(0, ["YYYY", 4], 0, "year");
546
- h(0, ["YYYYY", 5], 0, "year");
547
- h(0, ["YYYYYY", 6, !0], 0, "year");
548
- d("Y", He);
549
- d("YY", M, x);
550
- d("YYYY", dt, ut);
551
- d("YYYYY", Ie, Ce);
552
- d("YYYYYY", Ie, Ce);
553
- g(["YYYYY", "YYYYYY"], Y);
554
- g("YYYY", function(e, t) {
555
- t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
556
- });
557
- g("YY", function(e, t) {
558
- t[Y] = l.parseTwoDigitYear(e);
559
- });
560
- g("Y", function(e, t) {
561
- t[Y] = parseInt(e, 10);
562
- });
563
- function ye(e) {
564
- return Ae(e) ? 366 : 365;
565
- }
566
- l.parseTwoDigitYear = function(e) {
567
- return m(e) + (m(e) > 68 ? 1900 : 2e3);
568
- };
569
- var At = fe("FullYear", !0);
570
- function or() {
571
- return Ae(this.year());
572
- }
573
- function fe(e, t) {
574
- return function(s) {
575
- return s != null ? (Et(this, e, s), l.updateOffset(this, t), this) : _e(this, e);
576
- };
577
- }
578
- function _e(e, t) {
579
- if (!e.isValid())
580
- return NaN;
581
- var s = e._d, r = e._isUTC;
582
- switch (t) {
583
- case "Milliseconds":
584
- return r ? s.getUTCMilliseconds() : s.getMilliseconds();
585
- case "Seconds":
586
- return r ? s.getUTCSeconds() : s.getSeconds();
587
- case "Minutes":
588
- return r ? s.getUTCMinutes() : s.getMinutes();
589
- case "Hours":
590
- return r ? s.getUTCHours() : s.getHours();
591
- case "Date":
592
- return r ? s.getUTCDate() : s.getDate();
593
- case "Day":
594
- return r ? s.getUTCDay() : s.getDay();
595
- case "Month":
596
- return r ? s.getUTCMonth() : s.getMonth();
597
- case "FullYear":
598
- return r ? s.getUTCFullYear() : s.getFullYear();
599
- default:
600
- return NaN;
601
- }
602
- }
603
- function Et(e, t, s) {
604
- var r, a, n, i, u;
605
- if (!(!e.isValid() || isNaN(s))) {
606
- switch (r = e._d, a = e._isUTC, t) {
607
- case "Milliseconds":
608
- return void (a ? r.setUTCMilliseconds(s) : r.setMilliseconds(s));
609
- case "Seconds":
610
- return void (a ? r.setUTCSeconds(s) : r.setSeconds(s));
611
- case "Minutes":
612
- return void (a ? r.setUTCMinutes(s) : r.setMinutes(s));
613
- case "Hours":
614
- return void (a ? r.setUTCHours(s) : r.setHours(s));
615
- case "Date":
616
- return void (a ? r.setUTCDate(s) : r.setDate(s));
617
- case "FullYear":
618
- break;
619
- default:
620
- return;
621
- }
622
- n = s, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !Ae(n) ? 28 : u, a ? r.setUTCFullYear(n, i, u) : r.setFullYear(n, i, u);
623
- }
624
- }
625
- function lr(e) {
626
- return e = P(e), U(this[e]) ? this[e]() : this;
627
- }
628
- function ur(e, t) {
629
- if (typeof e == "object") {
630
- e = lt(e);
631
- var s = Ks(e), r, a = s.length;
632
- for (r = 0; r < a; r++)
633
- this[s[r].unit](e[s[r].unit]);
634
- } else if (e = P(e), U(this[e]))
635
- return this[e](t);
636
- return this;
637
- }
638
- function dr(e, t) {
639
- return (e % t + t) % t;
640
- }
641
- var S;
642
- Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
643
- var t;
644
- for (t = 0; t < this.length; ++t)
645
- if (this[t] === e)
646
- return t;
647
- return -1;
648
- };
649
- function ft(e, t) {
650
- if (isNaN(e) || isNaN(t))
651
- return NaN;
652
- var s = dr(t, 12);
653
- return e += (t - s) / 12, s === 1 ? Ae(e) ? 29 : 28 : 31 - s % 7 % 2;
654
- }
655
- h("M", ["MM", 2], "Mo", function() {
656
- return this.month() + 1;
657
- });
658
- h("MMM", 0, 0, function(e) {
659
- return this.localeData().monthsShort(this, e);
660
- });
661
- h("MMMM", 0, 0, function(e) {
662
- return this.localeData().months(this, e);
663
- });
664
- d("M", M, he);
665
- d("MM", M, x);
666
- d("MMM", function(e, t) {
667
- return t.monthsShortRegex(e);
668
- });
669
- d("MMMM", function(e, t) {
670
- return t.monthsRegex(e);
671
- });
672
- g(["M", "MM"], function(e, t) {
673
- t[G] = m(e) - 1;
674
- });
675
- g(["MMM", "MMMM"], function(e, t, s, r) {
676
- var a = s._locale.monthsParse(e, r, s._strict);
677
- a != null ? t[G] = a : c(s).invalidMonth = e;
678
- });
679
- var hr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
680
- "_"
681
- ), Vt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Gt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, fr = ve, cr = ve;
682
- function mr(e, t) {
683
- return e ? W(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Gt).test(t) ? "format" : "standalone"][e.month()] : W(this._months) ? this._months : this._months.standalone;
684
- }
685
- function yr(e, t) {
686
- return e ? W(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Gt.test(t) ? "format" : "standalone"][e.month()] : W(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
687
- }
688
- function _r(e, t, s) {
689
- var r, a, n, i = e.toLocaleLowerCase();
690
- if (!this._monthsParse)
691
- for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
692
- n = H([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
693
- n,
694
- ""
695
- ).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(n, "").toLocaleLowerCase();
696
- return s ? t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null));
697
- }
698
- function wr(e, t, s) {
699
- var r, a, n;
700
- if (this._monthsParseExact)
701
- return _r.call(this, e, t, s);
702
- for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
703
- if (a = H([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
704
- "^" + this.months(a, "").replace(".", "") + "$",
705
- "i"
706
- ), this._shortMonthsParse[r] = new RegExp(
707
- "^" + this.monthsShort(a, "").replace(".", "") + "$",
708
- "i"
709
- )), !s && !this._monthsParse[r] && (n = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[r] = new RegExp(n.replace(".", ""), "i")), s && t === "MMMM" && this._longMonthsParse[r].test(e))
710
- return r;
711
- if (s && t === "MMM" && this._shortMonthsParse[r].test(e))
712
- return r;
713
- if (!s && this._monthsParse[r].test(e))
714
- return r;
715
- }
716
- }
717
- function jt(e, t) {
718
- if (!e.isValid())
719
- return e;
720
- if (typeof t == "string") {
721
- if (/^\d+$/.test(t))
722
- t = m(t);
723
- else if (t = e.localeData().monthsParse(t), !$(t))
724
- return e;
725
- }
726
- var s = t, r = e.date();
727
- return r = r < 29 ? r : Math.min(r, ft(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
728
- }
729
- function zt(e) {
730
- return e != null ? (jt(this, e), l.updateOffset(this, !0), this) : _e(this, "Month");
731
- }
732
- function pr() {
733
- return ft(this.year(), this.month());
734
- }
735
- function gr(e) {
736
- return this._monthsParseExact ? (w(this, "_monthsRegex") || Zt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = fr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
737
- }
738
- function kr(e) {
739
- return this._monthsParseExact ? (w(this, "_monthsRegex") || Zt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = cr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
740
- }
741
- function Zt() {
742
- function e(f, y) {
743
- return y.length - f.length;
744
- }
745
- var t = [], s = [], r = [], a, n, i, u;
746
- for (a = 0; a < 12; a++)
747
- n = H([2e3, a]), i = z(this.monthsShort(n, "")), u = z(this.months(n, "")), t.push(i), s.push(u), r.push(u), r.push(i);
748
- t.sort(e), s.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
749
- "^(" + s.join("|") + ")",
750
- "i"
751
- ), this._monthsShortStrictRegex = new RegExp(
752
- "^(" + t.join("|") + ")",
753
- "i"
754
- );
755
- }
756
- function Mr(e, t, s, r, a, n, i) {
757
- var u;
758
- return e < 100 && e >= 0 ? (u = new Date(e + 400, t, s, r, a, n, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, s, r, a, n, i), u;
759
- }
760
- function we(e) {
761
- var t, s;
762
- return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
763
- }
764
- function Ne(e, t, s) {
765
- var r = 7 + t - s, a = (7 + we(e, 0, r).getUTCDay() - t) % 7;
766
- return -a + r - 1;
767
- }
768
- function $t(e, t, s, r, a) {
769
- var n = (7 + s - r) % 7, i = Ne(e, r, a), u = 1 + 7 * (t - 1) + n + i, f, y;
770
- return u <= 0 ? (f = e - 1, y = ye(f) + u) : u > ye(e) ? (f = e + 1, y = u - ye(e)) : (f = e, y = u), {
771
- year: f,
772
- dayOfYear: y
773
- };
774
- }
775
- function pe(e, t, s) {
776
- var r = Ne(e.year(), t, s), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, n, i;
777
- return a < 1 ? (i = e.year() - 1, n = a + Z(i, t, s)) : a > Z(e.year(), t, s) ? (n = a - Z(e.year(), t, s), i = e.year() + 1) : (i = e.year(), n = a), {
778
- week: n,
779
- year: i
780
- };
781
- }
782
- function Z(e, t, s) {
783
- var r = Ne(e, t, s), a = Ne(e + 1, t, s);
784
- return (ye(e) - r + a) / 7;
785
- }
786
- h("w", ["ww", 2], "wo", "week");
787
- h("W", ["WW", 2], "Wo", "isoWeek");
788
- d("w", M, he);
789
- d("ww", M, x);
790
- d("W", M, he);
791
- d("WW", M, x);
792
- Se(
793
- ["w", "ww", "W", "WW"],
794
- function(e, t, s, r) {
795
- t[r.substr(0, 1)] = m(e);
796
- }
797
- );
798
- function vr(e) {
799
- return pe(e, this._week.dow, this._week.doy).week;
800
- }
801
- var Sr = {
802
- dow: 0,
803
- // Sunday is the first day of the week.
804
- doy: 6
805
- // The week that contains Jan 6th is the first week of the year.
806
- };
807
- function Dr() {
808
- return this._week.dow;
809
- }
810
- function Yr() {
811
- return this._week.doy;
812
- }
813
- function Or(e) {
814
- var t = this.localeData().week(this);
815
- return e == null ? t : this.add((e - t) * 7, "d");
816
- }
817
- function Tr(e) {
818
- var t = pe(this, 1, 4).week;
819
- return e == null ? t : this.add((e - t) * 7, "d");
820
- }
821
- h("d", 0, "do", "day");
822
- h("dd", 0, 0, function(e) {
823
- return this.localeData().weekdaysMin(this, e);
824
- });
825
- h("ddd", 0, 0, function(e) {
826
- return this.localeData().weekdaysShort(this, e);
827
- });
828
- h("dddd", 0, 0, function(e) {
829
- return this.localeData().weekdays(this, e);
830
- });
831
- h("e", 0, 0, "weekday");
832
- h("E", 0, 0, "isoWeekday");
833
- d("d", M);
834
- d("e", M);
835
- d("E", M);
836
- d("dd", function(e, t) {
837
- return t.weekdaysMinRegex(e);
838
- });
839
- d("ddd", function(e, t) {
840
- return t.weekdaysShortRegex(e);
841
- });
842
- d("dddd", function(e, t) {
843
- return t.weekdaysRegex(e);
844
- });
845
- Se(["dd", "ddd", "dddd"], function(e, t, s, r) {
846
- var a = s._locale.weekdaysParse(e, r, s._strict);
847
- a != null ? t.d = a : c(s).invalidWeekday = e;
848
- });
849
- Se(["d", "e", "E"], function(e, t, s, r) {
850
- t[r] = m(e);
851
- });
852
- function xr(e, t) {
853
- return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
854
- }
855
- function br(e, t) {
856
- return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
857
- }
858
- function ct(e, t) {
859
- return e.slice(t, 7).concat(e.slice(0, t));
860
- }
861
- var Nr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), qt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Pr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Rr = ve, Wr = ve, Fr = ve;
862
- function Cr(e, t) {
863
- var s = W(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
864
- return e === !0 ? ct(s, this._week.dow) : e ? s[e.day()] : s;
865
- }
866
- function Lr(e) {
867
- return e === !0 ? ct(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
868
- }
869
- function Ir(e) {
870
- return e === !0 ? ct(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
871
- }
872
- function Hr(e, t, s) {
873
- var r, a, n, i = e.toLocaleLowerCase();
874
- if (!this._weekdaysParse)
875
- for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
876
- n = H([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
877
- n,
878
- ""
879
- ).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
880
- n,
881
- ""
882
- ).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(n, "").toLocaleLowerCase();
883
- return s ? t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 || (a = S.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = S.call(this._minWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
884
- }
885
- function Ur(e, t, s) {
886
- var r, a, n;
887
- if (this._weekdaysParseExact)
888
- return Hr.call(this, e, t, s);
889
- for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
890
- if (a = H([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
891
- "^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
892
- "i"
893
- ), this._shortWeekdaysParse[r] = new RegExp(
894
- "^" + this.weekdaysShort(a, "").replace(".", "\\.?") + "$",
895
- "i"
896
- ), this._minWeekdaysParse[r] = new RegExp(
897
- "^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$",
898
- "i"
899
- )), this._weekdaysParse[r] || (n = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[r] = new RegExp(n.replace(".", ""), "i")), s && t === "dddd" && this._fullWeekdaysParse[r].test(e))
900
- return r;
901
- if (s && t === "ddd" && this._shortWeekdaysParse[r].test(e))
902
- return r;
903
- if (s && t === "dd" && this._minWeekdaysParse[r].test(e))
904
- return r;
905
- if (!s && this._weekdaysParse[r].test(e))
906
- return r;
907
- }
908
- }
909
- function Ar(e) {
910
- if (!this.isValid())
911
- return e != null ? this : NaN;
912
- var t = _e(this, "Day");
913
- return e != null ? (e = xr(e, this.localeData()), this.add(e - t, "d")) : t;
914
- }
915
- function Er(e) {
916
- if (!this.isValid())
917
- return e != null ? this : NaN;
918
- var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
919
- return e == null ? t : this.add(e - t, "d");
920
- }
921
- function Vr(e) {
922
- if (!this.isValid())
923
- return e != null ? this : NaN;
924
- if (e != null) {
925
- var t = br(e, this.localeData());
926
- return this.day(this.day() % 7 ? t : t - 7);
927
- } else
928
- return this.day() || 7;
929
- }
930
- function Gr(e) {
931
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = Rr), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
932
- }
933
- function jr(e) {
934
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Wr), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
935
- }
936
- function zr(e) {
937
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Fr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
938
- }
939
- function mt() {
940
- function e(O, A) {
941
- return A.length - O.length;
942
- }
943
- var t = [], s = [], r = [], a = [], n, i, u, f, y;
944
- for (n = 0; n < 7; n++)
945
- i = H([2e3, 1]).day(n), u = z(this.weekdaysMin(i, "")), f = z(this.weekdaysShort(i, "")), y = z(this.weekdays(i, "")), t.push(u), s.push(f), r.push(y), a.push(u), a.push(f), a.push(y);
946
- t.sort(e), s.sort(e), r.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
947
- "^(" + r.join("|") + ")",
948
- "i"
949
- ), this._weekdaysShortStrictRegex = new RegExp(
950
- "^(" + s.join("|") + ")",
951
- "i"
952
- ), this._weekdaysMinStrictRegex = new RegExp(
953
- "^(" + t.join("|") + ")",
954
- "i"
955
- );
956
- }
957
- function yt() {
958
- return this.hours() % 12 || 12;
959
- }
960
- function Zr() {
961
- return this.hours() || 24;
962
- }
963
- h("H", ["HH", 2], 0, "hour");
964
- h("h", ["hh", 2], 0, yt);
965
- h("k", ["kk", 2], 0, Zr);
966
- h("hmm", 0, 0, function() {
967
- return "" + yt.apply(this) + I(this.minutes(), 2);
968
- });
969
- h("hmmss", 0, 0, function() {
970
- return "" + yt.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
971
- });
972
- h("Hmm", 0, 0, function() {
973
- return "" + this.hours() + I(this.minutes(), 2);
974
- });
975
- h("Hmmss", 0, 0, function() {
976
- return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
977
- });
978
- function Bt(e, t) {
979
- h(e, 0, 0, function() {
980
- return this.localeData().meridiem(
981
- this.hours(),
982
- this.minutes(),
983
- t
984
- );
985
- });
986
- }
987
- Bt("a", !0);
988
- Bt("A", !1);
989
- function Jt(e, t) {
990
- return t._meridiemParse;
991
- }
992
- d("a", Jt);
993
- d("A", Jt);
994
- d("H", M, ht);
995
- d("h", M, he);
996
- d("k", M, he);
997
- d("HH", M, x);
998
- d("hh", M, x);
999
- d("kk", M, x);
1000
- d("hmm", Ht);
1001
- d("hmmss", Ut);
1002
- d("Hmm", Ht);
1003
- d("Hmmss", Ut);
1004
- g(["H", "HH"], D);
1005
- g(["k", "kk"], function(e, t, s) {
1006
- var r = m(e);
1007
- t[D] = r === 24 ? 0 : r;
1008
- });
1009
- g(["a", "A"], function(e, t, s) {
1010
- s._isPm = s._locale.isPM(e), s._meridiem = e;
1011
- });
1012
- g(["h", "hh"], function(e, t, s) {
1013
- t[D] = m(e), c(s).bigHour = !0;
1014
- });
1015
- g("hmm", function(e, t, s) {
1016
- var r = e.length - 2;
1017
- t[D] = m(e.substr(0, r)), t[R] = m(e.substr(r)), c(s).bigHour = !0;
1018
- });
1019
- g("hmmss", function(e, t, s) {
1020
- var r = e.length - 4, a = e.length - 2;
1021
- t[D] = m(e.substr(0, r)), t[R] = m(e.substr(r, 2)), t[j] = m(e.substr(a)), c(s).bigHour = !0;
1022
- });
1023
- g("Hmm", function(e, t, s) {
1024
- var r = e.length - 2;
1025
- t[D] = m(e.substr(0, r)), t[R] = m(e.substr(r));
1026
- });
1027
- g("Hmmss", function(e, t, s) {
1028
- var r = e.length - 4, a = e.length - 2;
1029
- t[D] = m(e.substr(0, r)), t[R] = m(e.substr(r, 2)), t[j] = m(e.substr(a));
1030
- });
1031
- function $r(e) {
1032
- return (e + "").toLowerCase().charAt(0) === "p";
1033
- }
1034
- var qr = /[ap]\.?m?\.?/i, Br = fe("Hours", !0);
1035
- function Jr(e, t, s) {
1036
- return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
1037
- }
1038
- var Qt = {
1039
- calendar: Hs,
1040
- longDateFormat: Vs,
1041
- invalidDate: js,
1042
- ordinal: Zs,
1043
- dayOfMonthOrdinalParse: $s,
1044
- relativeTime: Bs,
1045
- months: hr,
1046
- monthsShort: Vt,
1047
- week: Sr,
1048
- weekdays: Nr,
1049
- weekdaysMin: Pr,
1050
- weekdaysShort: qt,
1051
- meridiemParse: qr
1052
- }, v = {}, ce = {}, ge;
1053
- function Qr(e, t) {
1054
- var s, r = Math.min(e.length, t.length);
1055
- for (s = 0; s < r; s += 1)
1056
- if (e[s] !== t[s])
1057
- return s;
1058
- return r;
1059
- }
1060
- function xt(e) {
1061
- return e && e.toLowerCase().replace("_", "-");
1062
- }
1063
- function Xr(e) {
1064
- for (var t = 0, s, r, a, n; t < e.length; ) {
1065
- for (n = xt(e[t]).split("-"), s = n.length, r = xt(e[t + 1]), r = r ? r.split("-") : null; s > 0; ) {
1066
- if (a = Ee(n.slice(0, s).join("-")), a)
1067
- return a;
1068
- if (r && r.length >= s && Qr(n, r) >= s - 1)
1069
- break;
1070
- s--;
1071
- }
1072
- t++;
1073
- }
1074
- return ge;
1075
- }
1076
- function Kr(e) {
1077
- return !!(e && e.match("^[^/\\\\]*$"));
1078
- }
1079
- function Ee(e) {
1080
- var t = null, s;
1081
- if (v[e] === void 0 && typeof module < "u" && module && module.exports && Kr(e))
1082
- try {
1083
- t = ge._abbr, s = require, s("./locale/" + e), K(t);
1084
- } catch {
1085
- v[e] = null;
1086
- }
1087
- return v[e];
1088
- }
1089
- function K(e, t) {
1090
- var s;
1091
- return e && (T(t) ? s = q(e) : s = _t(e, t), s ? ge = s : typeof console < "u" && console.warn && console.warn(
1092
- "Locale " + e + " not found. Did you forget to load it?"
1093
- )), ge._abbr;
1094
- }
1095
- function _t(e, t) {
1096
- if (t !== null) {
1097
- var s, r = Qt;
1098
- if (t.abbr = e, v[e] != null)
1099
- Ft(
1100
- "defineLocaleOverride",
1101
- "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."
1102
- ), r = v[e]._config;
1103
- else if (t.parentLocale != null)
1104
- if (v[t.parentLocale] != null)
1105
- r = v[t.parentLocale]._config;
1106
- else if (s = Ee(t.parentLocale), s != null)
1107
- r = s._config;
1108
- else
1109
- return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
1110
- name: e,
1111
- config: t
1112
- }), null;
1113
- return v[e] = new it(Qe(r, t)), ce[e] && ce[e].forEach(function(a) {
1114
- _t(a.name, a.config);
1115
- }), K(e), v[e];
1116
- } else
1117
- return delete v[e], null;
1118
- }
1119
- function ea(e, t) {
1120
- if (t != null) {
1121
- var s, r, a = Qt;
1122
- v[e] != null && v[e].parentLocale != null ? v[e].set(Qe(v[e]._config, t)) : (r = Ee(e), r != null && (a = r._config), t = Qe(a, t), r == null && (t.abbr = e), s = new it(t), s.parentLocale = v[e], v[e] = s), K(e);
1123
- } else
1124
- v[e] != null && (v[e].parentLocale != null ? (v[e] = v[e].parentLocale, e === K() && K(e)) : v[e] != null && delete v[e]);
1125
- return v[e];
1126
- }
1127
- function q(e) {
1128
- var t;
1129
- if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
1130
- return ge;
1131
- if (!W(e)) {
1132
- if (t = Ee(e), t)
1133
- return t;
1134
- e = [e];
1135
- }
1136
- return Xr(e);
1137
- }
1138
- function ta() {
1139
- return Xe(v);
1140
- }
1141
- function wt(e) {
1142
- var t, s = e._a;
1143
- return s && c(e).overflow === -2 && (t = s[G] < 0 || s[G] > 11 ? G : s[L] < 1 || s[L] > ft(s[Y], s[G]) ? L : s[D] < 0 || s[D] > 24 || s[D] === 24 && (s[R] !== 0 || s[j] !== 0 || s[te] !== 0) ? D : s[R] < 0 || s[R] > 59 ? R : s[j] < 0 || s[j] > 59 ? j : s[te] < 0 || s[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > L) && (t = L), c(e)._overflowWeeks && t === -1 && (t = nr), c(e)._overflowWeekday && t === -1 && (t = ir), c(e).overflow = t), e;
1144
- }
1145
- var sa = /^\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)?)?$/, ra = /^\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)?)?$/, aa = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
1146
- ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1147
- ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1148
- ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
1149
- ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
1150
- ["YYYY-DDD", /\d{4}-\d{3}/],
1151
- ["YYYY-MM", /\d{4}-\d\d/, !1],
1152
- ["YYYYYYMMDD", /[+-]\d{10}/],
1153
- ["YYYYMMDD", /\d{8}/],
1154
- ["GGGG[W]WWE", /\d{4}W\d{3}/],
1155
- ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
1156
- ["YYYYDDD", /\d{7}/],
1157
- ["YYYYMM", /\d{6}/, !1],
1158
- ["YYYY", /\d{4}/, !1]
1159
- ], qe = [
1160
- ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1161
- ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1162
- ["HH:mm:ss", /\d\d:\d\d:\d\d/],
1163
- ["HH:mm", /\d\d:\d\d/],
1164
- ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
1165
- ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
1166
- ["HHmmss", /\d\d\d\d\d\d/],
1167
- ["HHmm", /\d\d\d\d/],
1168
- ["HH", /\d\d/]
1169
- ], na = /^\/?Date\((-?\d+)/i, ia = /^(?:(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}))$/, oa = {
1170
- UT: 0,
1171
- GMT: 0,
1172
- EDT: -4 * 60,
1173
- EST: -5 * 60,
1174
- CDT: -5 * 60,
1175
- CST: -6 * 60,
1176
- MDT: -6 * 60,
1177
- MST: -7 * 60,
1178
- PDT: -7 * 60,
1179
- PST: -8 * 60
1180
- };
1181
- function Xt(e) {
1182
- var t, s, r = e._i, a = sa.exec(r) || ra.exec(r), n, i, u, f, y = Ye.length, O = qe.length;
1183
- if (a) {
1184
- for (c(e).iso = !0, t = 0, s = y; t < s; t++)
1185
- if (Ye[t][1].exec(a[1])) {
1186
- i = Ye[t][0], n = Ye[t][2] !== !1;
1187
- break;
1188
- }
1189
- if (i == null) {
1190
- e._isValid = !1;
1191
- return;
1192
- }
1193
- if (a[3]) {
1194
- for (t = 0, s = O; t < s; t++)
1195
- if (qe[t][1].exec(a[3])) {
1196
- u = (a[2] || " ") + qe[t][0];
1197
- break;
1198
- }
1199
- if (u == null) {
1200
- e._isValid = !1;
1201
- return;
1202
- }
1203
- }
1204
- if (!n && u != null) {
1205
- e._isValid = !1;
1206
- return;
1207
- }
1208
- if (a[4])
1209
- if (aa.exec(a[4]))
1210
- f = "Z";
1211
- else {
1212
- e._isValid = !1;
1213
- return;
1214
- }
1215
- e._f = i + (u || "") + (f || ""), gt(e);
1216
- } else
1217
- e._isValid = !1;
1218
- }
1219
- function la(e, t, s, r, a, n) {
1220
- var i = [
1221
- ua(e),
1222
- Vt.indexOf(t),
1223
- parseInt(s, 10),
1224
- parseInt(r, 10),
1225
- parseInt(a, 10)
1226
- ];
1227
- return n && i.push(parseInt(n, 10)), i;
1228
- }
1229
- function ua(e) {
1230
- var t = parseInt(e, 10);
1231
- return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
1232
- }
1233
- function da(e) {
1234
- return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
1235
- }
1236
- function ha(e, t, s) {
1237
- if (e) {
1238
- var r = qt.indexOf(e), a = new Date(
1239
- t[0],
1240
- t[1],
1241
- t[2]
1242
- ).getDay();
1243
- if (r !== a)
1244
- return c(s).weekdayMismatch = !0, s._isValid = !1, !1;
1245
- }
1246
- return !0;
1247
- }
1248
- function fa(e, t, s) {
1249
- if (e)
1250
- return oa[e];
1251
- if (t)
1252
- return 0;
1253
- var r = parseInt(s, 10), a = r % 100, n = (r - a) / 100;
1254
- return n * 60 + a;
1255
- }
1256
- function Kt(e) {
1257
- var t = ia.exec(da(e._i)), s;
1258
- if (t) {
1259
- if (s = la(
1260
- t[4],
1261
- t[3],
1262
- t[2],
1263
- t[5],
1264
- t[6],
1265
- t[7]
1266
- ), !ha(t[1], s, e))
1267
- return;
1268
- e._a = s, e._tzm = fa(t[8], t[9], t[10]), e._d = we.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
1269
- } else
1270
- e._isValid = !1;
1271
- }
1272
- function ca(e) {
1273
- var t = na.exec(e._i);
1274
- if (t !== null) {
1275
- e._d = /* @__PURE__ */ new Date(+t[1]);
1276
- return;
1277
- }
1278
- if (Xt(e), e._isValid === !1)
1279
- delete e._isValid;
1280
- else
1281
- return;
1282
- if (Kt(e), e._isValid === !1)
1283
- delete e._isValid;
1284
- else
1285
- return;
1286
- e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
1287
- }
1288
- l.createFromInputFallback = N(
1289
- "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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
1290
- function(e) {
1291
- e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
1292
- }
1293
- );
1294
- function ne(e, t, s) {
1295
- return e ?? t ?? s;
1296
- }
1297
- function ma(e) {
1298
- var t = new Date(l.now());
1299
- return e._useUTC ? [
1300
- t.getUTCFullYear(),
1301
- t.getUTCMonth(),
1302
- t.getUTCDate()
1303
- ] : [t.getFullYear(), t.getMonth(), t.getDate()];
1304
- }
1305
- function pt(e) {
1306
- var t, s, r = [], a, n, i;
1307
- if (!e._d) {
1308
- for (a = ma(e), e._w && e._a[L] == null && e._a[G] == null && ya(e), e._dayOfYear != null && (i = ne(e._a[Y], a[Y]), (e._dayOfYear > ye(i) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), s = we(i, 0, e._dayOfYear), e._a[G] = s.getUTCMonth(), e._a[L] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1309
- e._a[t] = r[t] = a[t];
1310
- for (; t < 7; t++)
1311
- e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
1312
- e._a[D] === 24 && e._a[R] === 0 && e._a[j] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? we : Mr).apply(
1313
- null,
1314
- r
1315
- ), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[D] = 24), e._w && typeof e._w.d < "u" && e._w.d !== n && (c(e).weekdayMismatch = !0);
1316
- }
1317
- }
1318
- function ya(e) {
1319
- var t, s, r, a, n, i, u, f, y;
1320
- t = e._w, t.GG != null || t.W != null || t.E != null ? (n = 1, i = 4, s = ne(
1321
- t.GG,
1322
- e._a[Y],
1323
- pe(k(), 1, 4).year
1324
- ), r = ne(t.W, 1), a = ne(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, y = pe(k(), n, i), s = ne(t.gg, e._a[Y], y.year), r = ne(t.w, y.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (f = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (f = !0)) : a = n), r < 1 || r > Z(s, n, i) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = $t(s, r, a, n, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
1325
- }
1326
- l.ISO_8601 = function() {
1327
- };
1328
- l.RFC_2822 = function() {
1329
- };
1330
- function gt(e) {
1331
- if (e._f === l.ISO_8601) {
1332
- Xt(e);
1333
- return;
1334
- }
1335
- if (e._f === l.RFC_2822) {
1336
- Kt(e);
1337
- return;
1338
- }
1339
- e._a = [], c(e).empty = !0;
1340
- var t = "" + e._i, s, r, a, n, i, u = t.length, f = 0, y, O;
1341
- for (a = Ct(e._f, e._locale).match(ot) || [], O = a.length, s = 0; s < O; s++)
1342
- n = a[s], r = (t.match(sr(n, e)) || [])[0], r && (i = t.substr(0, t.indexOf(r)), i.length > 0 && c(e).unusedInput.push(i), t = t.slice(
1343
- t.indexOf(r) + r.length
1344
- ), f += r.length), oe[n] ? (r ? c(e).empty = !1 : c(e).unusedTokens.push(n), ar(n, r, e)) : e._strict && !r && c(e).unusedTokens.push(n);
1345
- c(e).charsLeftOver = u - f, t.length > 0 && c(e).unusedInput.push(t), e._a[D] <= 12 && c(e).bigHour === !0 && e._a[D] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[D] = _a(
1346
- e._locale,
1347
- e._a[D],
1348
- e._meridiem
1349
- ), y = c(e).era, y !== null && (e._a[Y] = e._locale.erasConvertYear(y, e._a[Y])), pt(e), wt(e);
1350
- }
1351
- function _a(e, t, s) {
1352
- var r;
1353
- return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (r = e.isPM(s), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
1354
- }
1355
- function wa(e) {
1356
- var t, s, r, a, n, i, u = !1, f = e._f.length;
1357
- if (f === 0) {
1358
- c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1359
- return;
1360
- }
1361
- for (a = 0; a < f; a++)
1362
- n = 0, i = !1, t = nt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], gt(t), at(t) && (i = !0), n += c(t).charsLeftOver, n += c(t).unusedTokens.length * 10, c(t).score = n, u ? n < r && (r = n, s = t) : (r == null || n < r || i) && (r = n, s = t, i && (u = !0));
1363
- Q(e, s || t);
1364
- }
1365
- function pa(e) {
1366
- if (!e._d) {
1367
- var t = lt(e._i), s = t.day === void 0 ? t.date : t.day;
1368
- e._a = Rt(
1369
- [t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
1370
- function(r) {
1371
- return r && parseInt(r, 10);
1372
- }
1373
- ), pt(e);
1374
- }
1375
- }
1376
- function ga(e) {
1377
- var t = new Me(wt(es(e)));
1378
- return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
1379
- }
1380
- function es(e) {
1381
- var t = e._i, s = e._f;
1382
- return e._locale = e._locale || q(e._l), t === null || s === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new Me(wt(t)) : (ke(t) ? e._d = t : W(s) ? wa(e) : s ? gt(e) : ka(e), at(e) || (e._d = null), e));
1383
- }
1384
- function ka(e) {
1385
- var t = e._i;
1386
- T(t) ? e._d = new Date(l.now()) : ke(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ca(e) : W(t) ? (e._a = Rt(t.slice(0), function(s) {
1387
- return parseInt(s, 10);
1388
- }), pt(e)) : se(t) ? pa(e) : $(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
1389
- }
1390
- function ts(e, t, s, r, a) {
1391
- var n = {};
1392
- return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (se(e) && rt(e) || W(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = s, n._i = e, n._f = t, n._strict = r, ga(n);
1393
- }
1394
- function k(e, t, s, r) {
1395
- return ts(e, t, s, r, !1);
1396
- }
1397
- var Ma = N(
1398
- "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1399
- function() {
1400
- var e = k.apply(null, arguments);
1401
- return this.isValid() && e.isValid() ? e < this ? this : e : Fe();
1402
- }
1403
- ), va = N(
1404
- "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1405
- function() {
1406
- var e = k.apply(null, arguments);
1407
- return this.isValid() && e.isValid() ? e > this ? this : e : Fe();
1408
- }
1409
- );
1410
- function ss(e, t) {
1411
- var s, r;
1412
- if (t.length === 1 && W(t[0]) && (t = t[0]), !t.length)
1413
- return k();
1414
- for (s = t[0], r = 1; r < t.length; ++r)
1415
- (!t[r].isValid() || t[r][e](s)) && (s = t[r]);
1416
- return s;
1417
- }
1418
- function Sa() {
1419
- var e = [].slice.call(arguments, 0);
1420
- return ss("isBefore", e);
1421
- }
1422
- function Da() {
1423
- var e = [].slice.call(arguments, 0);
1424
- return ss("isAfter", e);
1425
- }
1426
- var Ya = function() {
1427
- return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
1428
- }, me = [
1429
- "year",
1430
- "quarter",
1431
- "month",
1432
- "week",
1433
- "day",
1434
- "hour",
1435
- "minute",
1436
- "second",
1437
- "millisecond"
1438
- ];
1439
- function Oa(e) {
1440
- var t, s = !1, r, a = me.length;
1441
- for (t in e)
1442
- if (w(e, t) && !(S.call(me, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
1443
- return !1;
1444
- for (r = 0; r < a; ++r)
1445
- if (e[me[r]]) {
1446
- if (s)
1447
- return !1;
1448
- parseFloat(e[me[r]]) !== m(e[me[r]]) && (s = !0);
1449
- }
1450
- return !0;
1451
- }
1452
- function Ta() {
1453
- return this._isValid;
1454
- }
1455
- function xa() {
1456
- return C(NaN);
1457
- }
1458
- function Ve(e) {
1459
- var t = lt(e), s = t.year || 0, r = t.quarter || 0, a = t.month || 0, n = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, f = t.minute || 0, y = t.second || 0, O = t.millisecond || 0;
1460
- this._isValid = Oa(t), this._milliseconds = +O + y * 1e3 + // 1000
1461
- f * 6e4 + // 1000 * 60
1462
- u * 1e3 * 60 * 60, this._days = +i + n * 7, this._months = +a + r * 3 + s * 12, this._data = {}, this._locale = q(), this._bubble();
1463
- }
1464
- function Te(e) {
1465
- return e instanceof Ve;
1466
- }
1467
- function et(e) {
1468
- return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
1469
- }
1470
- function ba(e, t, s) {
1471
- var r = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), n = 0, i;
1472
- for (i = 0; i < r; i++)
1473
- m(e[i]) !== m(t[i]) && n++;
1474
- return n + a;
1475
- }
1476
- function rs(e, t) {
1477
- h(e, 0, 0, function() {
1478
- var s = this.utcOffset(), r = "+";
1479
- return s < 0 && (s = -s, r = "-"), r + I(~~(s / 60), 2) + t + I(~~s % 60, 2);
1480
- });
1481
- }
1482
- rs("Z", ":");
1483
- rs("ZZ", "");
1484
- d("Z", Ue);
1485
- d("ZZ", Ue);
1486
- g(["Z", "ZZ"], function(e, t, s) {
1487
- s._useUTC = !0, s._tzm = kt(Ue, e);
1488
- });
1489
- var Na = /([\+\-]|\d\d)/gi;
1490
- function kt(e, t) {
1491
- var s = (t || "").match(e), r, a, n;
1492
- return s === null ? null : (r = s[s.length - 1] || [], a = (r + "").match(Na) || ["-", 0, 0], n = +(a[1] * 60) + m(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
1493
- }
1494
- function Mt(e, t) {
1495
- var s, r;
1496
- return t._isUTC ? (s = t.clone(), r = (F(e) || ke(e) ? e.valueOf() : k(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + r), l.updateOffset(s, !1), s) : k(e).local();
1497
- }
1498
- function tt(e) {
1499
- return -Math.round(e._d.getTimezoneOffset());
1500
- }
1501
- l.updateOffset = function() {
1502
- };
1503
- function Pa(e, t, s) {
1504
- var r = this._offset || 0, a;
1505
- if (!this.isValid())
1506
- return e != null ? this : NaN;
1507
- if (e != null) {
1508
- if (typeof e == "string") {
1509
- if (e = kt(Ue, e), e === null)
1510
- return this;
1511
- } else Math.abs(e) < 16 && !s && (e = e * 60);
1512
- return !this._isUTC && t && (a = tt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), r !== e && (!t || this._changeInProgress ? is(
1513
- this,
1514
- C(e - r, "m"),
1515
- 1,
1516
- !1
1517
- ) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
1518
- } else
1519
- return this._isUTC ? r : tt(this);
1520
- }
1521
- function Ra(e, t) {
1522
- return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
1523
- }
1524
- function Wa(e) {
1525
- return this.utcOffset(0, e);
1526
- }
1527
- function Fa(e) {
1528
- return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(tt(this), "m")), this;
1529
- }
1530
- function Ca() {
1531
- if (this._tzm != null)
1532
- this.utcOffset(this._tzm, !1, !0);
1533
- else if (typeof this._i == "string") {
1534
- var e = kt(er, this._i);
1535
- e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
1536
- }
1537
- return this;
1538
- }
1539
- function La(e) {
1540
- return this.isValid() ? (e = e ? k(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
1541
- }
1542
- function Ia() {
1543
- return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
1544
- }
1545
- function Ha() {
1546
- if (!T(this._isDSTShifted))
1547
- return this._isDSTShifted;
1548
- var e = {}, t;
1549
- return nt(e, this), e = es(e), e._a ? (t = e._isUTC ? H(e._a) : k(e._a), this._isDSTShifted = this.isValid() && ba(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
1550
- }
1551
- function Ua() {
1552
- return this.isValid() ? !this._isUTC : !1;
1553
- }
1554
- function Aa() {
1555
- return this.isValid() ? this._isUTC : !1;
1556
- }
1557
- function as() {
1558
- return this.isValid() ? this._isUTC && this._offset === 0 : !1;
1559
- }
1560
- var Ea = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Va = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1561
- function C(e, t) {
1562
- var s = e, r = null, a, n, i;
1563
- return Te(e) ? s = {
1564
- ms: e._milliseconds,
1565
- d: e._days,
1566
- M: e._months
1567
- } : $(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = Ea.exec(e)) ? (a = r[1] === "-" ? -1 : 1, s = {
1568
- y: 0,
1569
- d: m(r[L]) * a,
1570
- h: m(r[D]) * a,
1571
- m: m(r[R]) * a,
1572
- s: m(r[j]) * a,
1573
- ms: m(et(r[te] * 1e3)) * a
1574
- // the millisecond decimal point is included in the match
1575
- }) : (r = Va.exec(e)) ? (a = r[1] === "-" ? -1 : 1, s = {
1576
- y: ee(r[2], a),
1577
- M: ee(r[3], a),
1578
- w: ee(r[4], a),
1579
- d: ee(r[5], a),
1580
- h: ee(r[6], a),
1581
- m: ee(r[7], a),
1582
- s: ee(r[8], a)
1583
- }) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i = Ga(
1584
- k(s.from),
1585
- k(s.to)
1586
- ), s = {}, s.ms = i.milliseconds, s.M = i.months), n = new Ve(s), Te(e) && w(e, "_locale") && (n._locale = e._locale), Te(e) && w(e, "_isValid") && (n._isValid = e._isValid), n;
1587
- }
1588
- C.fn = Ve.prototype;
1589
- C.invalid = xa;
1590
- function ee(e, t) {
1591
- var s = e && parseFloat(e.replace(",", "."));
1592
- return (isNaN(s) ? 0 : s) * t;
1593
- }
1594
- function bt(e, t) {
1595
- var s = {};
1596
- return s.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(s.months, "M").isAfter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "M"), s;
1597
- }
1598
- function Ga(e, t) {
1599
- var s;
1600
- return e.isValid() && t.isValid() ? (t = Mt(t, e), e.isBefore(t) ? s = bt(e, t) : (s = bt(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
1601
- }
1602
- function ns(e, t) {
1603
- return function(s, r) {
1604
- var a, n;
1605
- return r !== null && !isNaN(+r) && (Ft(
1606
- t,
1607
- "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
1608
- ), n = s, s = r, r = n), a = C(s, r), is(this, a, e), this;
1609
- };
1610
- }
1611
- function is(e, t, s, r) {
1612
- var a = t._milliseconds, n = et(t._days), i = et(t._months);
1613
- e.isValid() && (r = r ?? !0, i && jt(e, _e(e, "Month") + i * s), n && Et(e, "Date", _e(e, "Date") + n * s), a && e._d.setTime(e._d.valueOf() + a * s), r && l.updateOffset(e, n || i));
1614
- }
1615
- var ja = ns(1, "add"), za = ns(-1, "subtract");
1616
- function os(e) {
1617
- return typeof e == "string" || e instanceof String;
1618
- }
1619
- function Za(e) {
1620
- return F(e) || ke(e) || os(e) || $(e) || qa(e) || $a(e) || e === null || e === void 0;
1621
- }
1622
- function $a(e) {
1623
- var t = se(e) && !rt(e), s = !1, r = [
1624
- "years",
1625
- "year",
1626
- "y",
1627
- "months",
1628
- "month",
1629
- "M",
1630
- "days",
1631
- "day",
1632
- "d",
1633
- "dates",
1634
- "date",
1635
- "D",
1636
- "hours",
1637
- "hour",
1638
- "h",
1639
- "minutes",
1640
- "minute",
1641
- "m",
1642
- "seconds",
1643
- "second",
1644
- "s",
1645
- "milliseconds",
1646
- "millisecond",
1647
- "ms"
1648
- ], a, n, i = r.length;
1649
- for (a = 0; a < i; a += 1)
1650
- n = r[a], s = s || w(e, n);
1651
- return t && s;
1652
- }
1653
- function qa(e) {
1654
- var t = W(e), s = !1;
1655
- return t && (s = e.filter(function(r) {
1656
- return !$(r) && os(e);
1657
- }).length === 0), t && s;
1658
- }
1659
- function Ba(e) {
1660
- var t = se(e) && !rt(e), s = !1, r = [
1661
- "sameDay",
1662
- "nextDay",
1663
- "lastDay",
1664
- "nextWeek",
1665
- "lastWeek",
1666
- "sameElse"
1667
- ], a, n;
1668
- for (a = 0; a < r.length; a += 1)
1669
- n = r[a], s = s || w(e, n);
1670
- return t && s;
1671
- }
1672
- function Ja(e, t) {
1673
- var s = e.diff(t, "days", !0);
1674
- return s < -6 ? "sameElse" : s < -1 ? "lastWeek" : s < 0 ? "lastDay" : s < 1 ? "sameDay" : s < 2 ? "nextDay" : s < 7 ? "nextWeek" : "sameElse";
1675
- }
1676
- function Qa(e, t) {
1677
- arguments.length === 1 && (arguments[0] ? Za(arguments[0]) ? (e = arguments[0], t = void 0) : Ba(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1678
- var s = e || k(), r = Mt(s, this).startOf("day"), a = l.calendarFormat(this, r) || "sameElse", n = t && (U(t[a]) ? t[a].call(this, s) : t[a]);
1679
- return this.format(
1680
- n || this.localeData().calendar(a, this, k(s))
1681
- );
1682
- }
1683
- function Xa() {
1684
- return new Me(this);
1685
- }
1686
- function Ka(e, t) {
1687
- var s = F(e) ? e : k(e);
1688
- return this.isValid() && s.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1689
- }
1690
- function en(e, t) {
1691
- var s = F(e) ? e : k(e);
1692
- return this.isValid() && s.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
1693
- }
1694
- function tn(e, t, s, r) {
1695
- var a = F(e) ? e : k(e), n = F(t) ? t : k(t);
1696
- return this.isValid() && a.isValid() && n.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(a, s) : !this.isBefore(a, s)) && (r[1] === ")" ? this.isBefore(n, s) : !this.isAfter(n, s))) : !1;
1697
- }
1698
- function sn(e, t) {
1699
- var s = F(e) ? e : k(e), r;
1700
- return this.isValid() && s.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
1701
- }
1702
- function rn(e, t) {
1703
- return this.isSame(e, t) || this.isAfter(e, t);
1704
- }
1705
- function an(e, t) {
1706
- return this.isSame(e, t) || this.isBefore(e, t);
1707
- }
1708
- function nn(e, t, s) {
1709
- var r, a, n;
1710
- if (!this.isValid())
1711
- return NaN;
1712
- if (r = Mt(e, this), !r.isValid())
1713
- return NaN;
1714
- switch (a = (r.utcOffset() - this.utcOffset()) * 6e4, t = P(t), t) {
1715
- case "year":
1716
- n = xe(this, r) / 12;
1717
- break;
1718
- case "month":
1719
- n = xe(this, r);
1720
- break;
1721
- case "quarter":
1722
- n = xe(this, r) / 3;
1723
- break;
1724
- case "second":
1725
- n = (this - r) / 1e3;
1726
- break;
1727
- case "minute":
1728
- n = (this - r) / 6e4;
1729
- break;
1730
- case "hour":
1731
- n = (this - r) / 36e5;
1732
- break;
1733
- case "day":
1734
- n = (this - r - a) / 864e5;
1735
- break;
1736
- case "week":
1737
- n = (this - r - a) / 6048e5;
1738
- break;
1739
- default:
1740
- n = this - r;
1741
- }
1742
- return s ? n : b(n);
1743
- }
1744
- function xe(e, t) {
1745
- if (e.date() < t.date())
1746
- return -xe(t, e);
1747
- var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"), a, n;
1748
- return t - r < 0 ? (a = e.clone().add(s - 1, "months"), n = (t - r) / (r - a)) : (a = e.clone().add(s + 1, "months"), n = (t - r) / (a - r)), -(s + n) || 0;
1749
- }
1750
- l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1751
- l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1752
- function on() {
1753
- return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1754
- }
1755
- function ln(e) {
1756
- if (!this.isValid())
1757
- return null;
1758
- var t = e !== !0, s = t ? this.clone().utc() : this;
1759
- return s.year() < 0 || s.year() > 9999 ? Oe(
1760
- s,
1761
- t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
1762
- ) : U(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Oe(s, "Z")) : Oe(
1763
- s,
1764
- t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
1765
- );
1766
- }
1767
- function un() {
1768
- if (!this.isValid())
1769
- return "moment.invalid(/* " + this._i + " */)";
1770
- var e = "moment", t = "", s, r, a, n;
1771
- return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", n = t + '[")]', this.format(s + r + a + n);
1772
- }
1773
- function dn(e) {
1774
- e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
1775
- var t = Oe(this, e);
1776
- return this.localeData().postformat(t);
1777
- }
1778
- function hn(e, t) {
1779
- return this.isValid() && (F(e) && e.isValid() || k(e).isValid()) ? C({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1780
- }
1781
- function fn(e) {
1782
- return this.from(k(), e);
1783
- }
1784
- function cn(e, t) {
1785
- return this.isValid() && (F(e) && e.isValid() || k(e).isValid()) ? C({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1786
- }
1787
- function mn(e) {
1788
- return this.to(k(), e);
1789
- }
1790
- function ls(e) {
1791
- var t;
1792
- return e === void 0 ? this._locale._abbr : (t = q(e), t != null && (this._locale = t), this);
1793
- }
1794
- var us = N(
1795
- "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1796
- function(e) {
1797
- return e === void 0 ? this.localeData() : this.locale(e);
1798
- }
1799
- );
1800
- function ds() {
1801
- return this._locale;
1802
- }
1803
- var Pe = 1e3, le = 60 * Pe, Re = 60 * le, hs = (365 * 400 + 97) * 24 * Re;
1804
- function ue(e, t) {
1805
- return (e % t + t) % t;
1806
- }
1807
- function fs(e, t, s) {
1808
- return e < 100 && e >= 0 ? new Date(e + 400, t, s) - hs : new Date(e, t, s).valueOf();
1809
- }
1810
- function cs(e, t, s) {
1811
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - hs : Date.UTC(e, t, s);
1812
- }
1813
- function yn(e) {
1814
- var t, s;
1815
- if (e = P(e), e === void 0 || e === "millisecond" || !this.isValid())
1816
- return this;
1817
- switch (s = this._isUTC ? cs : fs, e) {
1818
- case "year":
1819
- t = s(this.year(), 0, 1);
1820
- break;
1821
- case "quarter":
1822
- t = s(
1823
- this.year(),
1824
- this.month() - this.month() % 3,
1825
- 1
1826
- );
1827
- break;
1828
- case "month":
1829
- t = s(this.year(), this.month(), 1);
1830
- break;
1831
- case "week":
1832
- t = s(
1833
- this.year(),
1834
- this.month(),
1835
- this.date() - this.weekday()
1836
- );
1837
- break;
1838
- case "isoWeek":
1839
- t = s(
1840
- this.year(),
1841
- this.month(),
1842
- this.date() - (this.isoWeekday() - 1)
1843
- );
1844
- break;
1845
- case "day":
1846
- case "date":
1847
- t = s(this.year(), this.month(), this.date());
1848
- break;
1849
- case "hour":
1850
- t = this._d.valueOf(), t -= ue(
1851
- t + (this._isUTC ? 0 : this.utcOffset() * le),
1852
- Re
1853
- );
1854
- break;
1855
- case "minute":
1856
- t = this._d.valueOf(), t -= ue(t, le);
1857
- break;
1858
- case "second":
1859
- t = this._d.valueOf(), t -= ue(t, Pe);
1860
- break;
1861
- }
1862
- return this._d.setTime(t), l.updateOffset(this, !0), this;
1863
- }
1864
- function _n(e) {
1865
- var t, s;
1866
- if (e = P(e), e === void 0 || e === "millisecond" || !this.isValid())
1867
- return this;
1868
- switch (s = this._isUTC ? cs : fs, e) {
1869
- case "year":
1870
- t = s(this.year() + 1, 0, 1) - 1;
1871
- break;
1872
- case "quarter":
1873
- t = s(
1874
- this.year(),
1875
- this.month() - this.month() % 3 + 3,
1876
- 1
1877
- ) - 1;
1878
- break;
1879
- case "month":
1880
- t = s(this.year(), this.month() + 1, 1) - 1;
1881
- break;
1882
- case "week":
1883
- t = s(
1884
- this.year(),
1885
- this.month(),
1886
- this.date() - this.weekday() + 7
1887
- ) - 1;
1888
- break;
1889
- case "isoWeek":
1890
- t = s(
1891
- this.year(),
1892
- this.month(),
1893
- this.date() - (this.isoWeekday() - 1) + 7
1894
- ) - 1;
1895
- break;
1896
- case "day":
1897
- case "date":
1898
- t = s(this.year(), this.month(), this.date() + 1) - 1;
1899
- break;
1900
- case "hour":
1901
- t = this._d.valueOf(), t += Re - ue(
1902
- t + (this._isUTC ? 0 : this.utcOffset() * le),
1903
- Re
1904
- ) - 1;
1905
- break;
1906
- case "minute":
1907
- t = this._d.valueOf(), t += le - ue(t, le) - 1;
1908
- break;
1909
- case "second":
1910
- t = this._d.valueOf(), t += Pe - ue(t, Pe) - 1;
1911
- break;
1912
- }
1913
- return this._d.setTime(t), l.updateOffset(this, !0), this;
1914
- }
1915
- function wn() {
1916
- return this._d.valueOf() - (this._offset || 0) * 6e4;
1917
- }
1918
- function pn() {
1919
- return Math.floor(this.valueOf() / 1e3);
1920
- }
1921
- function gn() {
1922
- return new Date(this.valueOf());
1923
- }
1924
- function kn() {
1925
- var e = this;
1926
- return [
1927
- e.year(),
1928
- e.month(),
1929
- e.date(),
1930
- e.hour(),
1931
- e.minute(),
1932
- e.second(),
1933
- e.millisecond()
1934
- ];
1935
- }
1936
- function Mn() {
1937
- var e = this;
1938
- return {
1939
- years: e.year(),
1940
- months: e.month(),
1941
- date: e.date(),
1942
- hours: e.hours(),
1943
- minutes: e.minutes(),
1944
- seconds: e.seconds(),
1945
- milliseconds: e.milliseconds()
1946
- };
1947
- }
1948
- function vn() {
1949
- return this.isValid() ? this.toISOString() : null;
1950
- }
1951
- function Sn() {
1952
- return at(this);
1953
- }
1954
- function Dn() {
1955
- return Q({}, c(this));
1956
- }
1957
- function Yn() {
1958
- return c(this).overflow;
1959
- }
1960
- function On() {
1961
- return {
1962
- input: this._i,
1963
- format: this._f,
1964
- locale: this._locale,
1965
- isUTC: this._isUTC,
1966
- strict: this._strict
1967
- };
1968
- }
1969
- h("N", 0, 0, "eraAbbr");
1970
- h("NN", 0, 0, "eraAbbr");
1971
- h("NNN", 0, 0, "eraAbbr");
1972
- h("NNNN", 0, 0, "eraName");
1973
- h("NNNNN", 0, 0, "eraNarrow");
1974
- h("y", ["y", 1], "yo", "eraYear");
1975
- h("y", ["yy", 2], 0, "eraYear");
1976
- h("y", ["yyy", 3], 0, "eraYear");
1977
- h("y", ["yyyy", 4], 0, "eraYear");
1978
- d("N", vt);
1979
- d("NN", vt);
1980
- d("NNN", vt);
1981
- d("NNNN", In);
1982
- d("NNNNN", Hn);
1983
- g(
1984
- ["N", "NN", "NNN", "NNNN", "NNNNN"],
1985
- function(e, t, s, r) {
1986
- var a = s._locale.erasParse(e, r, s._strict);
1987
- a ? c(s).era = a : c(s).invalidEra = e;
1988
- }
1989
- );
1990
- d("y", de);
1991
- d("yy", de);
1992
- d("yyy", de);
1993
- d("yyyy", de);
1994
- d("yo", Un);
1995
- g(["y", "yy", "yyy", "yyyy"], Y);
1996
- g(["yo"], function(e, t, s, r) {
1997
- var a;
1998
- s._locale._eraYearOrdinalRegex && (a = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[Y] = s._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
1999
- });
2000
- function Tn(e, t) {
2001
- var s, r, a, n = this._eras || q("en")._eras;
2002
- for (s = 0, r = n.length; s < r; ++s) {
2003
- switch (typeof n[s].since) {
2004
- case "string":
2005
- a = l(n[s].since).startOf("day"), n[s].since = a.valueOf();
2006
- break;
2007
- }
2008
- switch (typeof n[s].until) {
2009
- case "undefined":
2010
- n[s].until = 1 / 0;
2011
- break;
2012
- case "string":
2013
- a = l(n[s].until).startOf("day").valueOf(), n[s].until = a.valueOf();
2014
- break;
2015
- }
2016
- }
2017
- return n;
2018
- }
2019
- function xn(e, t, s) {
2020
- var r, a, n = this.eras(), i, u, f;
2021
- for (e = e.toUpperCase(), r = 0, a = n.length; r < a; ++r)
2022
- if (i = n[r].name.toUpperCase(), u = n[r].abbr.toUpperCase(), f = n[r].narrow.toUpperCase(), s)
2023
- switch (t) {
2024
- case "N":
2025
- case "NN":
2026
- case "NNN":
2027
- if (u === e)
2028
- return n[r];
2029
- break;
2030
- case "NNNN":
2031
- if (i === e)
2032
- return n[r];
2033
- break;
2034
- case "NNNNN":
2035
- if (f === e)
2036
- return n[r];
2037
- break;
2038
- }
2039
- else if ([i, u, f].indexOf(e) >= 0)
2040
- return n[r];
2041
- }
2042
- function bn(e, t) {
2043
- var s = e.since <= e.until ? 1 : -1;
2044
- return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * s;
2045
- }
2046
- function Nn() {
2047
- var e, t, s, r = this.localeData().eras();
2048
- for (e = 0, t = r.length; e < t; ++e)
2049
- if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2050
- return r[e].name;
2051
- return "";
2052
- }
2053
- function Pn() {
2054
- var e, t, s, r = this.localeData().eras();
2055
- for (e = 0, t = r.length; e < t; ++e)
2056
- if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2057
- return r[e].narrow;
2058
- return "";
2059
- }
2060
- function Rn() {
2061
- var e, t, s, r = this.localeData().eras();
2062
- for (e = 0, t = r.length; e < t; ++e)
2063
- if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2064
- return r[e].abbr;
2065
- return "";
2066
- }
2067
- function Wn() {
2068
- var e, t, s, r, a = this.localeData().eras();
2069
- for (e = 0, t = a.length; e < t; ++e)
2070
- if (s = a[e].since <= a[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), a[e].since <= r && r <= a[e].until || a[e].until <= r && r <= a[e].since)
2071
- return (this.year() - l(a[e].since).year()) * s + a[e].offset;
2072
- return this.year();
2073
- }
2074
- function Fn(e) {
2075
- return w(this, "_erasNameRegex") || St.call(this), e ? this._erasNameRegex : this._erasRegex;
2076
- }
2077
- function Cn(e) {
2078
- return w(this, "_erasAbbrRegex") || St.call(this), e ? this._erasAbbrRegex : this._erasRegex;
2079
- }
2080
- function Ln(e) {
2081
- return w(this, "_erasNarrowRegex") || St.call(this), e ? this._erasNarrowRegex : this._erasRegex;
2082
- }
2083
- function vt(e, t) {
2084
- return t.erasAbbrRegex(e);
2085
- }
2086
- function In(e, t) {
2087
- return t.erasNameRegex(e);
2088
- }
2089
- function Hn(e, t) {
2090
- return t.erasNarrowRegex(e);
2091
- }
2092
- function Un(e, t) {
2093
- return t._eraYearOrdinalRegex || de;
2094
- }
2095
- function St() {
2096
- var e = [], t = [], s = [], r = [], a, n, i, u, f, y = this.eras();
2097
- for (a = 0, n = y.length; a < n; ++a)
2098
- i = z(y[a].name), u = z(y[a].abbr), f = z(y[a].narrow), t.push(i), e.push(u), s.push(f), r.push(i), r.push(u), r.push(f);
2099
- this._erasRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
2100
- "^(" + s.join("|") + ")",
2101
- "i"
2102
- );
2103
- }
2104
- h(0, ["gg", 2], 0, function() {
2105
- return this.weekYear() % 100;
2106
- });
2107
- h(0, ["GG", 2], 0, function() {
2108
- return this.isoWeekYear() % 100;
2109
- });
2110
- function Ge(e, t) {
2111
- h(0, [e, e.length], 0, t);
2112
- }
2113
- Ge("gggg", "weekYear");
2114
- Ge("ggggg", "weekYear");
2115
- Ge("GGGG", "isoWeekYear");
2116
- Ge("GGGGG", "isoWeekYear");
2117
- d("G", He);
2118
- d("g", He);
2119
- d("GG", M, x);
2120
- d("gg", M, x);
2121
- d("GGGG", dt, ut);
2122
- d("gggg", dt, ut);
2123
- d("GGGGG", Ie, Ce);
2124
- d("ggggg", Ie, Ce);
2125
- Se(
2126
- ["gggg", "ggggg", "GGGG", "GGGGG"],
2127
- function(e, t, s, r) {
2128
- t[r.substr(0, 2)] = m(e);
2129
- }
2130
- );
2131
- Se(["gg", "GG"], function(e, t, s, r) {
2132
- t[r] = l.parseTwoDigitYear(e);
2133
- });
2134
- function An(e) {
2135
- return ms.call(
2136
- this,
2137
- e,
2138
- this.week(),
2139
- this.weekday() + this.localeData()._week.dow,
2140
- this.localeData()._week.dow,
2141
- this.localeData()._week.doy
2142
- );
2143
- }
2144
- function En(e) {
2145
- return ms.call(
2146
- this,
2147
- e,
2148
- this.isoWeek(),
2149
- this.isoWeekday(),
2150
- 1,
2151
- 4
2152
- );
2153
- }
2154
- function Vn() {
2155
- return Z(this.year(), 1, 4);
2156
- }
2157
- function Gn() {
2158
- return Z(this.isoWeekYear(), 1, 4);
2159
- }
2160
- function jn() {
2161
- var e = this.localeData()._week;
2162
- return Z(this.year(), e.dow, e.doy);
2163
- }
2164
- function zn() {
2165
- var e = this.localeData()._week;
2166
- return Z(this.weekYear(), e.dow, e.doy);
2167
- }
2168
- function ms(e, t, s, r, a) {
2169
- var n;
2170
- return e == null ? pe(this, r, a).year : (n = Z(e, r, a), t > n && (t = n), Zn.call(this, e, t, s, r, a));
2171
- }
2172
- function Zn(e, t, s, r, a) {
2173
- var n = $t(e, t, s, r, a), i = we(n.year, 0, n.dayOfYear);
2174
- return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
2175
- }
2176
- h("Q", 0, "Qo", "quarter");
2177
- d("Q", Lt);
2178
- g("Q", function(e, t) {
2179
- t[G] = (m(e) - 1) * 3;
2180
- });
2181
- function $n(e) {
2182
- return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
2183
- }
2184
- h("D", ["DD", 2], "Do", "date");
2185
- d("D", M, he);
2186
- d("DD", M, x);
2187
- d("Do", function(e, t) {
2188
- return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
2189
- });
2190
- g(["D", "DD"], L);
2191
- g("Do", function(e, t) {
2192
- t[L] = m(e.match(M)[0]);
2193
- });
2194
- var ys = fe("Date", !0);
2195
- h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2196
- d("DDD", Le);
2197
- d("DDDD", It);
2198
- g(["DDD", "DDDD"], function(e, t, s) {
2199
- s._dayOfYear = m(e);
2200
- });
2201
- function qn(e) {
2202
- var t = Math.round(
2203
- (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
2204
- ) + 1;
2205
- return e == null ? t : this.add(e - t, "d");
2206
- }
2207
- h("m", ["mm", 2], 0, "minute");
2208
- d("m", M, ht);
2209
- d("mm", M, x);
2210
- g(["m", "mm"], R);
2211
- var Bn = fe("Minutes", !1);
2212
- h("s", ["ss", 2], 0, "second");
2213
- d("s", M, ht);
2214
- d("ss", M, x);
2215
- g(["s", "ss"], j);
2216
- var Jn = fe("Seconds", !1);
2217
- h("S", 0, 0, function() {
2218
- return ~~(this.millisecond() / 100);
2219
- });
2220
- h(0, ["SS", 2], 0, function() {
2221
- return ~~(this.millisecond() / 10);
2222
- });
2223
- h(0, ["SSS", 3], 0, "millisecond");
2224
- h(0, ["SSSS", 4], 0, function() {
2225
- return this.millisecond() * 10;
2226
- });
2227
- h(0, ["SSSSS", 5], 0, function() {
2228
- return this.millisecond() * 100;
2229
- });
2230
- h(0, ["SSSSSS", 6], 0, function() {
2231
- return this.millisecond() * 1e3;
2232
- });
2233
- h(0, ["SSSSSSS", 7], 0, function() {
2234
- return this.millisecond() * 1e4;
2235
- });
2236
- h(0, ["SSSSSSSS", 8], 0, function() {
2237
- return this.millisecond() * 1e5;
2238
- });
2239
- h(0, ["SSSSSSSSS", 9], 0, function() {
2240
- return this.millisecond() * 1e6;
2241
- });
2242
- d("S", Le, Lt);
2243
- d("SS", Le, x);
2244
- d("SSS", Le, It);
2245
- var X, _s;
2246
- for (X = "SSSS"; X.length <= 9; X += "S")
2247
- d(X, de);
2248
- function Qn(e, t) {
2249
- t[te] = m(("0." + e) * 1e3);
2250
- }
2251
- for (X = "S"; X.length <= 9; X += "S")
2252
- g(X, Qn);
2253
- _s = fe("Milliseconds", !1);
2254
- h("z", 0, 0, "zoneAbbr");
2255
- h("zz", 0, 0, "zoneName");
2256
- function Xn() {
2257
- return this._isUTC ? "UTC" : "";
2258
- }
2259
- function Kn() {
2260
- return this._isUTC ? "Coordinated Universal Time" : "";
2261
- }
2262
- var o = Me.prototype;
2263
- o.add = ja;
2264
- o.calendar = Qa;
2265
- o.clone = Xa;
2266
- o.diff = nn;
2267
- o.endOf = _n;
2268
- o.format = dn;
2269
- o.from = hn;
2270
- o.fromNow = fn;
2271
- o.to = cn;
2272
- o.toNow = mn;
2273
- o.get = lr;
2274
- o.invalidAt = Yn;
2275
- o.isAfter = Ka;
2276
- o.isBefore = en;
2277
- o.isBetween = tn;
2278
- o.isSame = sn;
2279
- o.isSameOrAfter = rn;
2280
- o.isSameOrBefore = an;
2281
- o.isValid = Sn;
2282
- o.lang = us;
2283
- o.locale = ls;
2284
- o.localeData = ds;
2285
- o.max = va;
2286
- o.min = Ma;
2287
- o.parsingFlags = Dn;
2288
- o.set = ur;
2289
- o.startOf = yn;
2290
- o.subtract = za;
2291
- o.toArray = kn;
2292
- o.toObject = Mn;
2293
- o.toDate = gn;
2294
- o.toISOString = ln;
2295
- o.inspect = un;
2296
- typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
2297
- return "Moment<" + this.format() + ">";
2298
- });
2299
- o.toJSON = vn;
2300
- o.toString = on;
2301
- o.unix = pn;
2302
- o.valueOf = wn;
2303
- o.creationData = On;
2304
- o.eraName = Nn;
2305
- o.eraNarrow = Pn;
2306
- o.eraAbbr = Rn;
2307
- o.eraYear = Wn;
2308
- o.year = At;
2309
- o.isLeapYear = or;
2310
- o.weekYear = An;
2311
- o.isoWeekYear = En;
2312
- o.quarter = o.quarters = $n;
2313
- o.month = zt;
2314
- o.daysInMonth = pr;
2315
- o.week = o.weeks = Or;
2316
- o.isoWeek = o.isoWeeks = Tr;
2317
- o.weeksInYear = jn;
2318
- o.weeksInWeekYear = zn;
2319
- o.isoWeeksInYear = Vn;
2320
- o.isoWeeksInISOWeekYear = Gn;
2321
- o.date = ys;
2322
- o.day = o.days = Ar;
2323
- o.weekday = Er;
2324
- o.isoWeekday = Vr;
2325
- o.dayOfYear = qn;
2326
- o.hour = o.hours = Br;
2327
- o.minute = o.minutes = Bn;
2328
- o.second = o.seconds = Jn;
2329
- o.millisecond = o.milliseconds = _s;
2330
- o.utcOffset = Pa;
2331
- o.utc = Wa;
2332
- o.local = Fa;
2333
- o.parseZone = Ca;
2334
- o.hasAlignedHourOffset = La;
2335
- o.isDST = Ia;
2336
- o.isLocal = Ua;
2337
- o.isUtcOffset = Aa;
2338
- o.isUtc = as;
2339
- o.isUTC = as;
2340
- o.zoneAbbr = Xn;
2341
- o.zoneName = Kn;
2342
- o.dates = N(
2343
- "dates accessor is deprecated. Use date instead.",
2344
- ys
2345
- );
2346
- o.months = N(
2347
- "months accessor is deprecated. Use month instead",
2348
- zt
2349
- );
2350
- o.years = N(
2351
- "years accessor is deprecated. Use year instead",
2352
- At
2353
- );
2354
- o.zone = N(
2355
- "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2356
- Ra
2357
- );
2358
- o.isDSTShifted = N(
2359
- "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2360
- Ha
2361
- );
2362
- function ei(e) {
2363
- return k(e * 1e3);
2364
- }
2365
- function ti() {
2366
- return k.apply(null, arguments).parseZone();
2367
- }
2368
- function ws(e) {
2369
- return e;
2370
- }
2371
- var p = it.prototype;
2372
- p.calendar = Us;
2373
- p.longDateFormat = Gs;
2374
- p.invalidDate = zs;
2375
- p.ordinal = qs;
2376
- p.preparse = ws;
2377
- p.postformat = ws;
2378
- p.relativeTime = Js;
2379
- p.pastFuture = Qs;
2380
- p.set = Is;
2381
- p.eras = Tn;
2382
- p.erasParse = xn;
2383
- p.erasConvertYear = bn;
2384
- p.erasAbbrRegex = Cn;
2385
- p.erasNameRegex = Fn;
2386
- p.erasNarrowRegex = Ln;
2387
- p.months = mr;
2388
- p.monthsShort = yr;
2389
- p.monthsParse = wr;
2390
- p.monthsRegex = kr;
2391
- p.monthsShortRegex = gr;
2392
- p.week = vr;
2393
- p.firstDayOfYear = Yr;
2394
- p.firstDayOfWeek = Dr;
2395
- p.weekdays = Cr;
2396
- p.weekdaysMin = Ir;
2397
- p.weekdaysShort = Lr;
2398
- p.weekdaysParse = Ur;
2399
- p.weekdaysRegex = Gr;
2400
- p.weekdaysShortRegex = jr;
2401
- p.weekdaysMinRegex = zr;
2402
- p.isPM = $r;
2403
- p.meridiem = Jr;
2404
- function We(e, t, s, r) {
2405
- var a = q(), n = H().set(r, t);
2406
- return a[s](n, e);
2407
- }
2408
- function ps(e, t, s) {
2409
- if ($(e) && (t = e, e = void 0), e = e || "", t != null)
2410
- return We(e, t, s, "month");
2411
- var r, a = [];
2412
- for (r = 0; r < 12; r++)
2413
- a[r] = We(e, r, s, "month");
2414
- return a;
2415
- }
2416
- function Dt(e, t, s, r) {
2417
- typeof e == "boolean" ? ($(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, $(t) && (s = t, t = void 0), t = t || "");
2418
- var a = q(), n = e ? a._week.dow : 0, i, u = [];
2419
- if (s != null)
2420
- return We(t, (s + n) % 7, r, "day");
2421
- for (i = 0; i < 7; i++)
2422
- u[i] = We(t, (i + n) % 7, r, "day");
2423
- return u;
2424
- }
2425
- function si(e, t) {
2426
- return ps(e, t, "months");
2427
- }
2428
- function ri(e, t) {
2429
- return ps(e, t, "monthsShort");
2430
- }
2431
- function ai(e, t, s) {
2432
- return Dt(e, t, s, "weekdays");
2433
- }
2434
- function ni(e, t, s) {
2435
- return Dt(e, t, s, "weekdaysShort");
2436
- }
2437
- function ii(e, t, s) {
2438
- return Dt(e, t, s, "weekdaysMin");
2439
- }
2440
- K("en", {
2441
- eras: [
2442
- {
2443
- since: "0001-01-01",
2444
- until: 1 / 0,
2445
- offset: 1,
2446
- name: "Anno Domini",
2447
- narrow: "AD",
2448
- abbr: "AD"
2449
- },
2450
- {
2451
- since: "0000-12-31",
2452
- until: -1 / 0,
2453
- offset: 1,
2454
- name: "Before Christ",
2455
- narrow: "BC",
2456
- abbr: "BC"
2457
- }
2458
- ],
2459
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
2460
- ordinal: function(e) {
2461
- var t = e % 10, s = m(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
2462
- return e + s;
2463
- }
2464
- });
2465
- l.lang = N(
2466
- "moment.lang is deprecated. Use moment.locale instead.",
2467
- K
2468
- );
2469
- l.langData = N(
2470
- "moment.langData is deprecated. Use moment.localeData instead.",
2471
- q
2472
- );
2473
- var E = Math.abs;
2474
- function oi() {
2475
- var e = this._data;
2476
- return this._milliseconds = E(this._milliseconds), this._days = E(this._days), this._months = E(this._months), e.milliseconds = E(e.milliseconds), e.seconds = E(e.seconds), e.minutes = E(e.minutes), e.hours = E(e.hours), e.months = E(e.months), e.years = E(e.years), this;
2477
- }
2478
- function gs(e, t, s, r) {
2479
- var a = C(t, s);
2480
- return e._milliseconds += r * a._milliseconds, e._days += r * a._days, e._months += r * a._months, e._bubble();
2481
- }
2482
- function li(e, t) {
2483
- return gs(this, e, t, 1);
2484
- }
2485
- function ui(e, t) {
2486
- return gs(this, e, t, -1);
2487
- }
2488
- function Nt(e) {
2489
- return e < 0 ? Math.floor(e) : Math.ceil(e);
2490
- }
2491
- function di() {
2492
- var e = this._milliseconds, t = this._days, s = this._months, r = this._data, a, n, i, u, f;
2493
- return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Nt(st(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, a = b(e / 1e3), r.seconds = a % 60, n = b(a / 60), r.minutes = n % 60, i = b(n / 60), r.hours = i % 24, t += b(i / 24), f = b(ks(t)), s += f, t -= Nt(st(f)), u = b(s / 12), s %= 12, r.days = t, r.months = s, r.years = u, this;
2494
- }
2495
- function ks(e) {
2496
- return e * 4800 / 146097;
2497
- }
2498
- function st(e) {
2499
- return e * 146097 / 4800;
2500
- }
2501
- function hi(e) {
2502
- if (!this.isValid())
2503
- return NaN;
2504
- var t, s, r = this._milliseconds;
2505
- if (e = P(e), e === "month" || e === "quarter" || e === "year")
2506
- switch (t = this._days + r / 864e5, s = this._months + ks(t), e) {
2507
- case "month":
2508
- return s;
2509
- case "quarter":
2510
- return s / 3;
2511
- case "year":
2512
- return s / 12;
2513
- }
2514
- else
2515
- switch (t = this._days + Math.round(st(this._months)), e) {
2516
- case "week":
2517
- return t / 7 + r / 6048e5;
2518
- case "day":
2519
- return t + r / 864e5;
2520
- case "hour":
2521
- return t * 24 + r / 36e5;
2522
- case "minute":
2523
- return t * 1440 + r / 6e4;
2524
- case "second":
2525
- return t * 86400 + r / 1e3;
2526
- case "millisecond":
2527
- return Math.floor(t * 864e5) + r;
2528
- default:
2529
- throw new Error("Unknown unit " + e);
2530
- }
2531
- }
2532
- function B(e) {
2533
- return function() {
2534
- return this.as(e);
2535
- };
2536
- }
2537
- var Ms = B("ms"), fi = B("s"), ci = B("m"), mi = B("h"), yi = B("d"), _i = B("w"), wi = B("M"), pi = B("Q"), gi = B("y"), ki = Ms;
2538
- function Mi() {
2539
- return C(this);
2540
- }
2541
- function vi(e) {
2542
- return e = P(e), this.isValid() ? this[e + "s"]() : NaN;
2543
- }
2544
- function re(e) {
2545
- return function() {
2546
- return this.isValid() ? this._data[e] : NaN;
2547
- };
2548
- }
2549
- var Si = re("milliseconds"), Di = re("seconds"), Yi = re("minutes"), Oi = re("hours"), Ti = re("days"), xi = re("months"), bi = re("years");
2550
- function Ni() {
2551
- return b(this.days() / 7);
2552
- }
2553
- var V = Math.round, ie = {
2554
- ss: 44,
2555
- // a few seconds to seconds
2556
- s: 45,
2557
- // seconds to minute
2558
- m: 45,
2559
- // minutes to hour
2560
- h: 22,
2561
- // hours to day
2562
- d: 26,
2563
- // days to month/week
2564
- w: null,
2565
- // weeks to month
2566
- M: 11
2567
- // months to year
2568
- };
2569
- function Pi(e, t, s, r, a) {
2570
- return a.relativeTime(t || 1, !!s, e, r);
2571
- }
2572
- function Ri(e, t, s, r) {
2573
- var a = C(e).abs(), n = V(a.as("s")), i = V(a.as("m")), u = V(a.as("h")), f = V(a.as("d")), y = V(a.as("M")), O = V(a.as("w")), A = V(a.as("y")), J = n <= s.ss && ["s", n] || n < s.s && ["ss", n] || i <= 1 && ["m"] || i < s.m && ["mm", i] || u <= 1 && ["h"] || u < s.h && ["hh", u] || f <= 1 && ["d"] || f < s.d && ["dd", f];
2574
- return s.w != null && (J = J || O <= 1 && ["w"] || O < s.w && ["ww", O]), J = J || y <= 1 && ["M"] || y < s.M && ["MM", y] || A <= 1 && ["y"] || ["yy", A], J[2] = t, J[3] = +e > 0, J[4] = r, Pi.apply(null, J);
2575
- }
2576
- function Wi(e) {
2577
- return e === void 0 ? V : typeof e == "function" ? (V = e, !0) : !1;
2578
- }
2579
- function Fi(e, t) {
2580
- return ie[e] === void 0 ? !1 : t === void 0 ? ie[e] : (ie[e] = t, e === "s" && (ie.ss = t - 1), !0);
2581
- }
2582
- function Ci(e, t) {
2583
- if (!this.isValid())
2584
- return this.localeData().invalidDate();
2585
- var s = !1, r = ie, a, n;
2586
- return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, ie, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), a = this.localeData(), n = Ri(this, !s, r, a), s && (n = a.pastFuture(+this, n)), a.postformat(n);
2587
- }
2588
- var Be = Math.abs;
2589
- function ae(e) {
2590
- return (e > 0) - (e < 0) || +e;
2591
- }
2592
- function je() {
2593
- if (!this.isValid())
2594
- return this.localeData().invalidDate();
2595
- var e = Be(this._milliseconds) / 1e3, t = Be(this._days), s = Be(this._months), r, a, n, i, u = this.asSeconds(), f, y, O, A;
2596
- return u ? (r = b(e / 60), a = b(r / 60), e %= 60, r %= 60, n = b(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", y = ae(this._months) !== ae(u) ? "-" : "", O = ae(this._days) !== ae(u) ? "-" : "", A = ae(this._milliseconds) !== ae(u) ? "-" : "", f + "P" + (n ? y + n + "Y" : "") + (s ? y + s + "M" : "") + (t ? O + t + "D" : "") + (a || r || e ? "T" : "") + (a ? A + a + "H" : "") + (r ? A + r + "M" : "") + (e ? A + i + "S" : "")) : "P0D";
2597
- }
2598
- var _ = Ve.prototype;
2599
- _.isValid = Ta;
2600
- _.abs = oi;
2601
- _.add = li;
2602
- _.subtract = ui;
2603
- _.as = hi;
2604
- _.asMilliseconds = Ms;
2605
- _.asSeconds = fi;
2606
- _.asMinutes = ci;
2607
- _.asHours = mi;
2608
- _.asDays = yi;
2609
- _.asWeeks = _i;
2610
- _.asMonths = wi;
2611
- _.asQuarters = pi;
2612
- _.asYears = gi;
2613
- _.valueOf = ki;
2614
- _._bubble = di;
2615
- _.clone = Mi;
2616
- _.get = vi;
2617
- _.milliseconds = Si;
2618
- _.seconds = Di;
2619
- _.minutes = Yi;
2620
- _.hours = Oi;
2621
- _.days = Ti;
2622
- _.weeks = Ni;
2623
- _.months = xi;
2624
- _.years = bi;
2625
- _.humanize = Ci;
2626
- _.toISOString = je;
2627
- _.toString = je;
2628
- _.toJSON = je;
2629
- _.locale = ls;
2630
- _.localeData = ds;
2631
- _.toIsoString = N(
2632
- "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2633
- je
2634
- );
2635
- _.lang = us;
2636
- h("X", 0, 0, "unix");
2637
- h("x", 0, 0, "valueOf");
2638
- d("x", He);
2639
- d("X", tr);
2640
- g("X", function(e, t, s) {
2641
- s._d = new Date(parseFloat(e) * 1e3);
2642
- });
2643
- g("x", function(e, t, s) {
2644
- s._d = new Date(m(e));
2645
- });
2646
- //! moment.js
2647
- l.version = "2.30.1";
2648
- Cs(k);
2649
- l.fn = o;
2650
- l.min = Sa;
2651
- l.max = Da;
2652
- l.now = Ya;
2653
- l.utc = H;
2654
- l.unix = ei;
2655
- l.months = si;
2656
- l.isDate = ke;
2657
- l.locale = K;
2658
- l.invalid = Fe;
2659
- l.duration = C;
2660
- l.isMoment = F;
2661
- l.weekdays = ai;
2662
- l.parseZone = ti;
2663
- l.localeData = q;
2664
- l.isDuration = Te;
2665
- l.monthsShort = ri;
2666
- l.weekdaysMin = ii;
2667
- l.defineLocale = _t;
2668
- l.updateLocale = ea;
2669
- l.locales = ta;
2670
- l.weekdaysShort = ni;
2671
- l.normalizeUnits = P;
2672
- l.relativeTimeRounding = Wi;
2673
- l.relativeTimeThreshold = Fi;
2674
- l.calendarFormat = Ja;
2675
- l.prototype = o;
2676
- l.HTML5_FMT = {
2677
- DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
2678
- // <input type="datetime-local" />
2679
- DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
2680
- // <input type="datetime-local" step="1" />
2681
- DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
2682
- // <input type="datetime-local" step="0.001" />
2683
- DATE: "YYYY-MM-DD",
2684
- // <input type="date" />
2685
- TIME: "HH:mm",
2686
- // <input type="time" />
2687
- TIME_SECONDS: "HH:mm:ss",
2688
- // <input type="time" step="1" />
2689
- TIME_MS: "HH:mm:ss.SSS",
2690
- // <input type="time" step="0.001" />
2691
- WEEK: "GGGG-[W]WW",
2692
- // <input type="week" />
2693
- MONTH: "YYYY-MM"
2694
- // <input type="month" />
2695
- };
2696
- function Li(e, t) {
2697
- return l(e).format(t);
2698
- }
2699
- const Ii = {
2700
- install: (e) => {
2701
- e.config.globalProperties.$moment = {
2702
- // 格式化日期
2703
- formatDate: Li
2704
- };
2705
- }
2706
- }, Hi = [], $i = () => import("./index-B3iittmi.mjs"), qi = () => import("./index-CVEOIlcb.mjs"), Ui = () => import("./index-UpMheR8A.mjs"), Bi = () => import("./index-CBRg6gOE.mjs"), Ai = [
2707
- {
2708
- path: "/redirect",
2709
- component: ze,
2710
- meta: { hidden: !0 },
2711
- children: [
2712
- {
2713
- path: "/redirect/:path(.*)",
2714
- component: Ss
2715
- }
2716
- ]
2717
- },
2718
- {
2719
- path: "/login",
2720
- // component: LoginPage,
2721
- // component: pintaiLogin,
2722
- component: Rs,
2723
- // component: mchtLogin,
2724
- meta: { hidden: !0 }
2725
- },
2726
- {
2727
- path: "/my",
2728
- component: ze,
2729
- meta: { hidden: !0 },
2730
- redirect: "noredirect",
2731
- children: [
2732
- {
2733
- path: "profile",
2734
- component: Ds,
2735
- name: "Profile",
2736
- meta: { title: "个人中心", icon: "user" }
2737
- }
2738
- ]
2739
- },
2740
- {
2741
- path: "/",
2742
- name: "/",
2743
- component: ze,
2744
- redirect: "/dashboard",
2745
- children: [
2746
- {
2747
- path: "/dashboard",
2748
- // component: DashboardPage,
2749
- // component: merchantHomePage,
2750
- component: Ui,
2751
- // component: pintaiHomePage,
2752
- name: "Dashboard",
2753
- // 用于 keep-alive, 必须与SFC自动推导或者显示声明的组件name一致
2754
- // https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude
2755
- meta: {
2756
- title: "Dashboard",
2757
- icon: "homepage",
2758
- affix: !0,
2759
- keepAlive: !0,
2760
- alwaysShow: !1
2761
- }
2762
- },
2763
- {
2764
- path: "401",
2765
- component: Ys,
2766
- meta: { hidden: !0 }
2767
- },
2768
- {
2769
- path: "404",
2770
- component: Os,
2771
- meta: { hidden: !0 }
2772
- }
2773
- ]
2774
- },
2775
- ...Hi
2776
- ], Ei = Ns({
2777
- history: Ps(void 0),
2778
- routes: Ai,
2779
- // 刷新时,滚动条位置还原
2780
- scrollBehavior: () => ({ left: 0, top: 0 })
2781
- });
2782
- Ts.value = Ei;
2783
- const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-UpMheR8A.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-D3ctdb_L.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-DE3hsH6b.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-BxEHOKHE.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-lKDJnhcE.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-D__Df_wF.mjs"), "./views/payment/history-pay-trade/index.vue": () => import("./index-CMCuahPr.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-CVEOIlcb.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-D5948kuF.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-FS5kDoPy.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-CD-Orlre.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-B3iittmi.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-CBRg6gOE.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-DCJoR00O.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-D6IsNjl5.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-CL4HN4Ts.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-D09KMqNV.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-BmSUfSfV.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-BeU6u9hH.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-DWaN_Nrb.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-D8LRYlta.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-BU8dRQhE.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-CMyJKuis.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-ZwyAUTzX.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-DO4wIwlZ.mjs") }), Ji = {
2784
- install(e) {
2785
- xs(Vi, 7), Fs(bs), e.use(Ii);
2786
- }
2787
- };
2788
- export {
2789
- Ui as a,
2790
- $i as b,
2791
- l as h,
2792
- Bi as m,
2793
- qi as p,
2794
- Ji as s
2795
- };