@everymatrix/player-active-bonuses 1.56.0 → 1.56.2

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