xyvcard-settle 0.0.66 → 0.0.67

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