xyvcard-live 0.0.1

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