@everymatrix/player-account-gaming-limits 1.44.0 → 1.45.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.
Files changed (29) hide show
  1. package/components/PlayerAccountGamingLimits-BhZh042a.js +5251 -0
  2. package/components/PlayerAccountGamingLimits-viRNSgkd.cjs +8 -0
  3. package/components/PlayerAccountGamingLimitsConfirmationModal-Bb1_bXSm.cjs +1 -0
  4. package/components/PlayerAccountGamingLimitsConfirmationModal-DoJuz29x.js +306 -0
  5. package/components/PlayerAccountGamingLimitsGroupEdit-9nPccBBm.js +4148 -0
  6. package/components/PlayerAccountGamingLimitsGroupEdit-BlFJYk5p.cjs +10 -0
  7. package/components/PlayerAccountGamingLimitsInfoCard-Bgg-oksy.cjs +1 -0
  8. package/components/PlayerAccountGamingLimitsInfoCard-C6mt1_vl.js +1488 -0
  9. package/components/PlayerAccountGamingLimitsPopup-BnvMrqy8.cjs +1 -0
  10. package/components/PlayerAccountGamingLimitsPopup-Dd_w3Jrl.js +339 -0
  11. package/components/PlayerAccountModal-C0S3GOGp.js +198 -0
  12. package/components/PlayerAccountModal-CJumHBfB.cjs +1 -0
  13. package/es2015/player-account-gaming-limits.cjs +1 -0
  14. package/es2015/player-account-gaming-limits.js +16 -0
  15. package/package.json +17 -32
  16. package/README.md +0 -30
  17. package/dist/player-account-gaming-limits.js +0 -4
  18. package/dist/player-account-gaming-limits.js.map +0 -1
  19. package/index.html +0 -37
  20. package/index.js +0 -1
  21. package/public/favicon.png +0 -0
  22. package/public/reset.css +0 -48
  23. package/rollup.config.js +0 -67
  24. package/src/PlayerAccountGamingLimits.svelte +0 -308
  25. package/src/i18n.js +0 -27
  26. package/src/index.ts +0 -4
  27. package/src/translations.js +0 -82
  28. package/stories/PlayerAccountGamingLimits.stories.js +0 -13
  29. package/tsconfig.json +0 -6
@@ -0,0 +1,4148 @@
1
+ import { a as aa, $ as ra, S as na, i as oa, f as Te, c as la, s as ua, b as da, e as k, g as V, A as de, t as z, h as g, D as Ye, j as W, k as m, l as Me, E as fa, o as Q, B as Ci, r as P, v as Wt, w as ca, x as ma, y as ha, F as ot, G as ai, H as ri, I as pa, J as Yt, z as _a, K as Xe, L as ya, M as Ai, N as ni, C as ga } from "./PlayerAccountGamingLimits-BhZh042a.js";
2
+ if (typeof window != "undefined") {
3
+ let e = function(t) {
4
+ return function(...i) {
5
+ try {
6
+ return t.apply(this, i);
7
+ } catch (s) {
8
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
9
+ return !1;
10
+ throw s;
11
+ }
12
+ };
13
+ };
14
+ customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsPopup-Dd_w3Jrl.js").then(({ default: t }) => {
15
+ !customElements.get("player-account-gaming-limits-popup") && customElements.define("player-account-gaming-limits-popup", t.element);
16
+ });
17
+ }
18
+ function wa(e) {
19
+ 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.');
20
+ }
21
+ //! moment.js
22
+ //! version : 2.30.1
23
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
24
+ //! license : MIT
25
+ //! momentjs.com
26
+ var ss;
27
+ function c() {
28
+ return ss.apply(null, arguments);
29
+ }
30
+ function va(e) {
31
+ ss = e;
32
+ }
33
+ function ye(e) {
34
+ return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
35
+ }
36
+ function Ke(e) {
37
+ return e != null && Object.prototype.toString.call(e) === "[object Object]";
38
+ }
39
+ function Y(e, t) {
40
+ return Object.prototype.hasOwnProperty.call(e, t);
41
+ }
42
+ function oi(e) {
43
+ if (Object.getOwnPropertyNames)
44
+ return Object.getOwnPropertyNames(e).length === 0;
45
+ var t;
46
+ for (t in e)
47
+ if (Y(e, t))
48
+ return !1;
49
+ return !0;
50
+ }
51
+ function re(e) {
52
+ return e === void 0;
53
+ }
54
+ function Pe(e) {
55
+ return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
56
+ }
57
+ function gt(e) {
58
+ return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
59
+ }
60
+ function as(e, t) {
61
+ var i = [], s, a = e.length;
62
+ for (s = 0; s < a; ++s)
63
+ i.push(t(e[s], s));
64
+ return i;
65
+ }
66
+ function je(e, t) {
67
+ for (var i in t)
68
+ Y(t, i) && (e[i] = t[i]);
69
+ return Y(t, "toString") && (e.toString = t.toString), Y(t, "valueOf") && (e.valueOf = t.valueOf), e;
70
+ }
71
+ function Le(e, t, i, s) {
72
+ return Ts(e, t, i, s, !0).utc();
73
+ }
74
+ function ka() {
75
+ return {
76
+ empty: !1,
77
+ unusedTokens: [],
78
+ unusedInput: [],
79
+ overflow: -2,
80
+ charsLeftOver: 0,
81
+ nullInput: !1,
82
+ invalidEra: null,
83
+ invalidMonth: null,
84
+ invalidFormat: !1,
85
+ userInvalidated: !1,
86
+ iso: !1,
87
+ parsedDateParts: [],
88
+ era: null,
89
+ meridiem: null,
90
+ rfc2822: !1,
91
+ weekdayMismatch: !1
92
+ };
93
+ }
94
+ function w(e) {
95
+ return e._pf == null && (e._pf = ka()), e._pf;
96
+ }
97
+ var Kt;
98
+ Array.prototype.some ? Kt = Array.prototype.some : Kt = function(e) {
99
+ var t = Object(this), i = t.length >>> 0, s;
100
+ for (s = 0; s < i; s++)
101
+ if (s in t && e.call(this, t[s], s, t))
102
+ return !0;
103
+ return !1;
104
+ };
105
+ function li(e) {
106
+ var t = null, i = !1, s = e._d && !isNaN(e._d.getTime());
107
+ if (s && (t = w(e), i = Kt.call(t.parsedDateParts, function(a) {
108
+ return a != null;
109
+ }), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && i), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
110
+ e._isValid = s;
111
+ else
112
+ return s;
113
+ return e._isValid;
114
+ }
115
+ function Pt(e) {
116
+ var t = Le(NaN);
117
+ return e != null ? je(w(t), e) : w(t).userInvalidated = !0, t;
118
+ }
119
+ var Ni = c.momentProperties = [], qt = !1;
120
+ function ui(e, t) {
121
+ var i, s, a, r = Ni.length;
122
+ if (re(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), re(t._i) || (e._i = t._i), re(t._f) || (e._f = t._f), re(t._l) || (e._l = t._l), re(t._strict) || (e._strict = t._strict), re(t._tzm) || (e._tzm = t._tzm), re(t._isUTC) || (e._isUTC = t._isUTC), re(t._offset) || (e._offset = t._offset), re(t._pf) || (e._pf = w(t)), re(t._locale) || (e._locale = t._locale), r > 0)
123
+ for (i = 0; i < r; i++)
124
+ s = Ni[i], a = t[s], re(a) || (e[s] = a);
125
+ return e;
126
+ }
127
+ function wt(e) {
128
+ ui(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), qt === !1 && (qt = !0, c.updateOffset(this), qt = !1);
129
+ }
130
+ function ge(e) {
131
+ return e instanceof wt || e != null && e._isAMomentObject != null;
132
+ }
133
+ function rs(e) {
134
+ c.suppressDeprecationWarnings === !1 && typeof console != "undefined" && console.warn && console.warn("Deprecation warning: " + e);
135
+ }
136
+ function ce(e, t) {
137
+ var i = !0;
138
+ return je(function() {
139
+ if (c.deprecationHandler != null && c.deprecationHandler(null, e), i) {
140
+ var s = [], a, r, n, o = arguments.length;
141
+ for (r = 0; r < o; r++) {
142
+ if (a = "", typeof arguments[r] == "object") {
143
+ a += `
144
+ [` + r + "] ";
145
+ for (n in arguments[0])
146
+ Y(arguments[0], n) && (a += n + ": " + arguments[0][n] + ", ");
147
+ a = a.slice(0, -2);
148
+ } else
149
+ a = arguments[r];
150
+ s.push(a);
151
+ }
152
+ rs(
153
+ e + `
154
+ Arguments: ` + Array.prototype.slice.call(s).join("") + `
155
+ ` + new Error().stack
156
+ ), i = !1;
157
+ }
158
+ return t.apply(this, arguments);
159
+ }, t);
160
+ }
161
+ var Wi = {};
162
+ function ns(e, t) {
163
+ c.deprecationHandler != null && c.deprecationHandler(e, t), Wi[e] || (rs(t), Wi[e] = !0);
164
+ }
165
+ c.suppressDeprecationWarnings = !1;
166
+ c.deprecationHandler = null;
167
+ function Se(e) {
168
+ return typeof Function != "undefined" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
169
+ }
170
+ function Ma(e) {
171
+ var t, i;
172
+ for (i in e)
173
+ Y(e, i) && (t = e[i], Se(t) ? this[i] = t : this["_" + i] = t);
174
+ this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
175
+ (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
176
+ );
177
+ }
178
+ function Xt(e, t) {
179
+ var i = je({}, e), s;
180
+ for (s in t)
181
+ Y(t, s) && (Ke(e[s]) && Ke(t[s]) ? (i[s] = {}, je(i[s], e[s]), je(i[s], t[s])) : t[s] != null ? i[s] = t[s] : delete i[s]);
182
+ for (s in e)
183
+ Y(e, s) && !Y(t, s) && Ke(e[s]) && (i[s] = je({}, i[s]));
184
+ return i;
185
+ }
186
+ function di(e) {
187
+ e != null && this.set(e);
188
+ }
189
+ var $t;
190
+ Object.keys ? $t = Object.keys : $t = function(e) {
191
+ var t, i = [];
192
+ for (t in e)
193
+ Y(e, t) && i.push(t);
194
+ return i;
195
+ };
196
+ var Da = {
197
+ sameDay: "[Today at] LT",
198
+ nextDay: "[Tomorrow at] LT",
199
+ nextWeek: "dddd [at] LT",
200
+ lastDay: "[Yesterday at] LT",
201
+ lastWeek: "[Last] dddd [at] LT",
202
+ sameElse: "L"
203
+ };
204
+ function La(e, t, i) {
205
+ var s = this._calendar[e] || this._calendar.sameElse;
206
+ return Se(s) ? s.call(t, i) : s;
207
+ }
208
+ function De(e, t, i) {
209
+ var s = "" + Math.abs(e), a = t - s.length, r = e >= 0;
210
+ return (r ? i ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
211
+ }
212
+ var fi = /(\[[^\[]*\])|(\\)?([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, Dt = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Zt = {}, at = {};
213
+ function _(e, t, i, s) {
214
+ var a = s;
215
+ typeof s == "string" && (a = function() {
216
+ return this[s]();
217
+ }), e && (at[e] = a), t && (at[t[0]] = function() {
218
+ return De(a.apply(this, arguments), t[1], t[2]);
219
+ }), i && (at[i] = function() {
220
+ return this.localeData().ordinal(
221
+ a.apply(this, arguments),
222
+ e
223
+ );
224
+ });
225
+ }
226
+ function Sa(e) {
227
+ return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
228
+ }
229
+ function ba(e) {
230
+ var t = e.match(fi), i, s;
231
+ for (i = 0, s = t.length; i < s; i++)
232
+ at[t[i]] ? t[i] = at[t[i]] : t[i] = Sa(t[i]);
233
+ return function(a) {
234
+ var r = "", n;
235
+ for (n = 0; n < s; n++)
236
+ r += Se(t[n]) ? t[n].call(a, e) : t[n];
237
+ return r;
238
+ };
239
+ }
240
+ function St(e, t) {
241
+ return e.isValid() ? (t = os(t, e.localeData()), Zt[t] = Zt[t] || ba(t), Zt[t](e)) : e.localeData().invalidDate();
242
+ }
243
+ function os(e, t) {
244
+ var i = 5;
245
+ function s(a) {
246
+ return t.longDateFormat(a) || a;
247
+ }
248
+ for (Dt.lastIndex = 0; i >= 0 && Dt.test(e); )
249
+ e = e.replace(
250
+ Dt,
251
+ s
252
+ ), Dt.lastIndex = 0, i -= 1;
253
+ return e;
254
+ }
255
+ var Ta = {
256
+ LTS: "h:mm:ss A",
257
+ LT: "h:mm A",
258
+ L: "MM/DD/YYYY",
259
+ LL: "MMMM D, YYYY",
260
+ LLL: "MMMM D, YYYY h:mm A",
261
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
262
+ };
263
+ function Ya(e) {
264
+ var t = this._longDateFormat[e], i = this._longDateFormat[e.toUpperCase()];
265
+ return t || !i ? t : (this._longDateFormat[e] = i.match(fi).map(function(s) {
266
+ return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
267
+ }).join(""), this._longDateFormat[e]);
268
+ }
269
+ var Oa = "Invalid date";
270
+ function Ea() {
271
+ return this._invalidDate;
272
+ }
273
+ var Ca = "%d", Aa = /\d{1,2}/;
274
+ function Na(e) {
275
+ return this._ordinal.replace("%d", e);
276
+ }
277
+ var Wa = {
278
+ future: "in %s",
279
+ past: "%s ago",
280
+ s: "a few seconds",
281
+ ss: "%d seconds",
282
+ m: "a minute",
283
+ mm: "%d minutes",
284
+ h: "an hour",
285
+ hh: "%d hours",
286
+ d: "a day",
287
+ dd: "%d days",
288
+ w: "a week",
289
+ ww: "%d weeks",
290
+ M: "a month",
291
+ MM: "%d months",
292
+ y: "a year",
293
+ yy: "%d years"
294
+ };
295
+ function Pa(e, t, i, s) {
296
+ var a = this._relativeTime[i];
297
+ return Se(a) ? a(e, t, i, s) : a.replace(/%d/i, e);
298
+ }
299
+ function xa(e, t) {
300
+ var i = this._relativeTime[e > 0 ? "future" : "past"];
301
+ return Se(i) ? i(t) : i.replace(/%s/i, t);
302
+ }
303
+ var Pi = {
304
+ D: "date",
305
+ dates: "date",
306
+ date: "date",
307
+ d: "day",
308
+ days: "day",
309
+ day: "day",
310
+ e: "weekday",
311
+ weekdays: "weekday",
312
+ weekday: "weekday",
313
+ E: "isoWeekday",
314
+ isoweekdays: "isoWeekday",
315
+ isoweekday: "isoWeekday",
316
+ DDD: "dayOfYear",
317
+ dayofyears: "dayOfYear",
318
+ dayofyear: "dayOfYear",
319
+ h: "hour",
320
+ hours: "hour",
321
+ hour: "hour",
322
+ ms: "millisecond",
323
+ milliseconds: "millisecond",
324
+ millisecond: "millisecond",
325
+ m: "minute",
326
+ minutes: "minute",
327
+ minute: "minute",
328
+ M: "month",
329
+ months: "month",
330
+ month: "month",
331
+ Q: "quarter",
332
+ quarters: "quarter",
333
+ quarter: "quarter",
334
+ s: "second",
335
+ seconds: "second",
336
+ second: "second",
337
+ gg: "weekYear",
338
+ weekyears: "weekYear",
339
+ weekyear: "weekYear",
340
+ GG: "isoWeekYear",
341
+ isoweekyears: "isoWeekYear",
342
+ isoweekyear: "isoWeekYear",
343
+ w: "week",
344
+ weeks: "week",
345
+ week: "week",
346
+ W: "isoWeek",
347
+ isoweeks: "isoWeek",
348
+ isoweek: "isoWeek",
349
+ y: "year",
350
+ years: "year",
351
+ year: "year"
352
+ };
353
+ function me(e) {
354
+ return typeof e == "string" ? Pi[e] || Pi[e.toLowerCase()] : void 0;
355
+ }
356
+ function ci(e) {
357
+ var t = {}, i, s;
358
+ for (s in e)
359
+ Y(e, s) && (i = me(s), i && (t[i] = e[s]));
360
+ return t;
361
+ }
362
+ var Fa = {
363
+ date: 9,
364
+ day: 11,
365
+ weekday: 11,
366
+ isoWeekday: 11,
367
+ dayOfYear: 4,
368
+ hour: 13,
369
+ millisecond: 16,
370
+ minute: 14,
371
+ month: 8,
372
+ quarter: 7,
373
+ second: 15,
374
+ weekYear: 1,
375
+ isoWeekYear: 1,
376
+ week: 5,
377
+ isoWeek: 5,
378
+ year: 1
379
+ };
380
+ function Ra(e) {
381
+ var t = [], i;
382
+ for (i in e)
383
+ Y(e, i) && t.push({ unit: i, priority: Fa[i] });
384
+ return t.sort(function(s, a) {
385
+ return s.priority - a.priority;
386
+ }), t;
387
+ }
388
+ var ls = /\d/, le = /\d\d/, us = /\d{3}/, mi = /\d{4}/, xt = /[+-]?\d{6}/, I = /\d\d?/, ds = /\d\d\d\d?/, fs = /\d\d\d\d\d\d?/, Ft = /\d{1,3}/, hi = /\d{1,4}/, Rt = /[+-]?\d{1,6}/, lt = /\d+/, It = /[+-]?\d+/, Ia = /Z|[+-]\d\d:?\d\d/gi, Ut = /Z|[+-]\d\d(?::?\d\d)?/gi, Ua = /[+-]?\d+(\.\d{1,3})?/, vt = /[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, ut = /^[1-9]\d?/, pi = /^([1-9]\d|\d)/, Ot;
389
+ Ot = {};
390
+ function h(e, t, i) {
391
+ Ot[e] = Se(t) ? t : function(s, a) {
392
+ return s && i ? i : t;
393
+ };
394
+ }
395
+ function Ha(e, t) {
396
+ return Y(Ot, e) ? Ot[e](t._strict, t._locale) : new RegExp(ja(e));
397
+ }
398
+ function ja(e) {
399
+ return Ne(
400
+ e.replace("\\", "").replace(
401
+ /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
402
+ function(t, i, s, a, r) {
403
+ return i || s || a || r;
404
+ }
405
+ )
406
+ );
407
+ }
408
+ function Ne(e) {
409
+ return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
410
+ }
411
+ function fe(e) {
412
+ return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
413
+ }
414
+ function M(e) {
415
+ var t = +e, i = 0;
416
+ return t !== 0 && isFinite(t) && (i = fe(t)), i;
417
+ }
418
+ var ei = {};
419
+ function x(e, t) {
420
+ var i, s = t, a;
421
+ for (typeof e == "string" && (e = [e]), Pe(t) && (s = function(r, n) {
422
+ n[t] = M(r);
423
+ }), a = e.length, i = 0; i < a; i++)
424
+ ei[e[i]] = s;
425
+ }
426
+ function kt(e, t) {
427
+ x(e, function(i, s, a, r) {
428
+ a._w = a._w || {}, t(i, a._w, a, r);
429
+ });
430
+ }
431
+ function Va(e, t, i) {
432
+ t != null && Y(ei, e) && ei[e](t, i._a, i, e);
433
+ }
434
+ function Ht(e) {
435
+ return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
436
+ }
437
+ var se = 0, Ce = 1, ke = 2, K = 3, _e = 4, Ae = 5, Qe = 6, Ga = 7, za = 8;
438
+ _("Y", 0, 0, function() {
439
+ var e = this.year();
440
+ return e <= 9999 ? De(e, 4) : "+" + e;
441
+ });
442
+ _(0, ["YY", 2], 0, function() {
443
+ return this.year() % 100;
444
+ });
445
+ _(0, ["YYYY", 4], 0, "year");
446
+ _(0, ["YYYYY", 5], 0, "year");
447
+ _(0, ["YYYYYY", 6, !0], 0, "year");
448
+ h("Y", It);
449
+ h("YY", I, le);
450
+ h("YYYY", hi, mi);
451
+ h("YYYYY", Rt, xt);
452
+ h("YYYYYY", Rt, xt);
453
+ x(["YYYYY", "YYYYYY"], se);
454
+ x("YYYY", function(e, t) {
455
+ t[se] = e.length === 2 ? c.parseTwoDigitYear(e) : M(e);
456
+ });
457
+ x("YY", function(e, t) {
458
+ t[se] = c.parseTwoDigitYear(e);
459
+ });
460
+ x("Y", function(e, t) {
461
+ t[se] = parseInt(e, 10);
462
+ });
463
+ function mt(e) {
464
+ return Ht(e) ? 366 : 365;
465
+ }
466
+ c.parseTwoDigitYear = function(e) {
467
+ return M(e) + (M(e) > 68 ? 1900 : 2e3);
468
+ };
469
+ var cs = dt("FullYear", !0);
470
+ function Ba() {
471
+ return Ht(this.year());
472
+ }
473
+ function dt(e, t) {
474
+ return function(i) {
475
+ return i != null ? (ms(this, e, i), c.updateOffset(this, t), this) : ht(this, e);
476
+ };
477
+ }
478
+ function ht(e, t) {
479
+ if (!e.isValid())
480
+ return NaN;
481
+ var i = e._d, s = e._isUTC;
482
+ switch (t) {
483
+ case "Milliseconds":
484
+ return s ? i.getUTCMilliseconds() : i.getMilliseconds();
485
+ case "Seconds":
486
+ return s ? i.getUTCSeconds() : i.getSeconds();
487
+ case "Minutes":
488
+ return s ? i.getUTCMinutes() : i.getMinutes();
489
+ case "Hours":
490
+ return s ? i.getUTCHours() : i.getHours();
491
+ case "Date":
492
+ return s ? i.getUTCDate() : i.getDate();
493
+ case "Day":
494
+ return s ? i.getUTCDay() : i.getDay();
495
+ case "Month":
496
+ return s ? i.getUTCMonth() : i.getMonth();
497
+ case "FullYear":
498
+ return s ? i.getUTCFullYear() : i.getFullYear();
499
+ default:
500
+ return NaN;
501
+ }
502
+ }
503
+ function ms(e, t, i) {
504
+ var s, a, r, n, o;
505
+ if (!(!e.isValid() || isNaN(i))) {
506
+ switch (s = e._d, a = e._isUTC, t) {
507
+ case "Milliseconds":
508
+ return void (a ? s.setUTCMilliseconds(i) : s.setMilliseconds(i));
509
+ case "Seconds":
510
+ return void (a ? s.setUTCSeconds(i) : s.setSeconds(i));
511
+ case "Minutes":
512
+ return void (a ? s.setUTCMinutes(i) : s.setMinutes(i));
513
+ case "Hours":
514
+ return void (a ? s.setUTCHours(i) : s.setHours(i));
515
+ case "Date":
516
+ return void (a ? s.setUTCDate(i) : s.setDate(i));
517
+ case "FullYear":
518
+ break;
519
+ default:
520
+ return;
521
+ }
522
+ r = i, n = e.month(), o = e.date(), o = o === 29 && n === 1 && !Ht(r) ? 28 : o, a ? s.setUTCFullYear(r, n, o) : s.setFullYear(r, n, o);
523
+ }
524
+ }
525
+ function qa(e) {
526
+ return e = me(e), Se(this[e]) ? this[e]() : this;
527
+ }
528
+ function Za(e, t) {
529
+ if (typeof e == "object") {
530
+ e = ci(e);
531
+ var i = Ra(e), s, a = i.length;
532
+ for (s = 0; s < a; s++)
533
+ this[i[s].unit](e[i[s].unit]);
534
+ } else if (e = me(e), Se(this[e]))
535
+ return this[e](t);
536
+ return this;
537
+ }
538
+ function Ja(e, t) {
539
+ return (e % t + t) % t;
540
+ }
541
+ var B;
542
+ Array.prototype.indexOf ? B = Array.prototype.indexOf : B = function(e) {
543
+ var t;
544
+ for (t = 0; t < this.length; ++t)
545
+ if (this[t] === e)
546
+ return t;
547
+ return -1;
548
+ };
549
+ function _i(e, t) {
550
+ if (isNaN(e) || isNaN(t))
551
+ return NaN;
552
+ var i = Ja(t, 12);
553
+ return e += (t - i) / 12, i === 1 ? Ht(e) ? 29 : 28 : 31 - i % 7 % 2;
554
+ }
555
+ _("M", ["MM", 2], "Mo", function() {
556
+ return this.month() + 1;
557
+ });
558
+ _("MMM", 0, 0, function(e) {
559
+ return this.localeData().monthsShort(this, e);
560
+ });
561
+ _("MMMM", 0, 0, function(e) {
562
+ return this.localeData().months(this, e);
563
+ });
564
+ h("M", I, ut);
565
+ h("MM", I, le);
566
+ h("MMM", function(e, t) {
567
+ return t.monthsShortRegex(e);
568
+ });
569
+ h("MMMM", function(e, t) {
570
+ return t.monthsRegex(e);
571
+ });
572
+ x(["M", "MM"], function(e, t) {
573
+ t[Ce] = M(e) - 1;
574
+ });
575
+ x(["MMM", "MMMM"], function(e, t, i, s) {
576
+ var a = i._locale.monthsParse(e, s, i._strict);
577
+ a != null ? t[Ce] = a : w(i).invalidMonth = e;
578
+ });
579
+ var Qa = "January_February_March_April_May_June_July_August_September_October_November_December".split(
580
+ "_"
581
+ ), hs = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), ps = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, Ka = vt, Xa = vt;
582
+ function $a(e, t) {
583
+ return e ? ye(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || ps).test(t) ? "format" : "standalone"][e.month()] : ye(this._months) ? this._months : this._months.standalone;
584
+ }
585
+ function er(e, t) {
586
+ return e ? ye(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[ps.test(t) ? "format" : "standalone"][e.month()] : ye(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
587
+ }
588
+ function tr(e, t, i) {
589
+ var s, a, r, n = e.toLocaleLowerCase();
590
+ if (!this._monthsParse)
591
+ for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
592
+ r = Le([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
593
+ r,
594
+ ""
595
+ ).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(r, "").toLocaleLowerCase();
596
+ return i ? t === "MMM" ? (a = B.call(this._shortMonthsParse, n), a !== -1 ? a : null) : (a = B.call(this._longMonthsParse, n), a !== -1 ? a : null) : t === "MMM" ? (a = B.call(this._shortMonthsParse, n), a !== -1 ? a : (a = B.call(this._longMonthsParse, n), a !== -1 ? a : null)) : (a = B.call(this._longMonthsParse, n), a !== -1 ? a : (a = B.call(this._shortMonthsParse, n), a !== -1 ? a : null));
597
+ }
598
+ function ir(e, t, i) {
599
+ var s, a, r;
600
+ if (this._monthsParseExact)
601
+ return tr.call(this, e, t, i);
602
+ for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
603
+ if (a = Le([2e3, s]), i && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
604
+ "^" + this.months(a, "").replace(".", "") + "$",
605
+ "i"
606
+ ), this._shortMonthsParse[s] = new RegExp(
607
+ "^" + this.monthsShort(a, "").replace(".", "") + "$",
608
+ "i"
609
+ )), !i && !this._monthsParse[s] && (r = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[s] = new RegExp(r.replace(".", ""), "i")), i && t === "MMMM" && this._longMonthsParse[s].test(e))
610
+ return s;
611
+ if (i && t === "MMM" && this._shortMonthsParse[s].test(e))
612
+ return s;
613
+ if (!i && this._monthsParse[s].test(e))
614
+ return s;
615
+ }
616
+ }
617
+ function _s(e, t) {
618
+ if (!e.isValid())
619
+ return e;
620
+ if (typeof t == "string") {
621
+ if (/^\d+$/.test(t))
622
+ t = M(t);
623
+ else if (t = e.localeData().monthsParse(t), !Pe(t))
624
+ return e;
625
+ }
626
+ var i = t, s = e.date();
627
+ return s = s < 29 ? s : Math.min(s, _i(e.year(), i)), e._isUTC ? e._d.setUTCMonth(i, s) : e._d.setMonth(i, s), e;
628
+ }
629
+ function ys(e) {
630
+ return e != null ? (_s(this, e), c.updateOffset(this, !0), this) : ht(this, "Month");
631
+ }
632
+ function sr() {
633
+ return _i(this.year(), this.month());
634
+ }
635
+ function ar(e) {
636
+ return this._monthsParseExact ? (Y(this, "_monthsRegex") || gs.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (Y(this, "_monthsShortRegex") || (this._monthsShortRegex = Ka), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
637
+ }
638
+ function rr(e) {
639
+ return this._monthsParseExact ? (Y(this, "_monthsRegex") || gs.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (Y(this, "_monthsRegex") || (this._monthsRegex = Xa), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
640
+ }
641
+ function gs() {
642
+ function e(l, d) {
643
+ return d.length - l.length;
644
+ }
645
+ var t = [], i = [], s = [], a, r, n, o;
646
+ for (a = 0; a < 12; a++)
647
+ r = Le([2e3, a]), n = Ne(this.monthsShort(r, "")), o = Ne(this.months(r, "")), t.push(n), i.push(o), s.push(o), s.push(n);
648
+ t.sort(e), i.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
649
+ "^(" + i.join("|") + ")",
650
+ "i"
651
+ ), this._monthsShortStrictRegex = new RegExp(
652
+ "^(" + t.join("|") + ")",
653
+ "i"
654
+ );
655
+ }
656
+ function nr(e, t, i, s, a, r, n) {
657
+ var o;
658
+ return e < 100 && e >= 0 ? (o = new Date(e + 400, t, i, s, a, r, n), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, i, s, a, r, n), o;
659
+ }
660
+ function pt(e) {
661
+ var t, i;
662
+ return e < 100 && e >= 0 ? (i = Array.prototype.slice.call(arguments), i[0] = e + 400, t = new Date(Date.UTC.apply(null, i)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
663
+ }
664
+ function Et(e, t, i) {
665
+ var s = 7 + t - i, a = (7 + pt(e, 0, s).getUTCDay() - t) % 7;
666
+ return -a + s - 1;
667
+ }
668
+ function ws(e, t, i, s, a) {
669
+ var r = (7 + i - s) % 7, n = Et(e, s, a), o = 1 + 7 * (t - 1) + r + n, l, d;
670
+ return o <= 0 ? (l = e - 1, d = mt(l) + o) : o > mt(e) ? (l = e + 1, d = o - mt(e)) : (l = e, d = o), {
671
+ year: l,
672
+ dayOfYear: d
673
+ };
674
+ }
675
+ function _t(e, t, i) {
676
+ var s = Et(e.year(), t, i), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, r, n;
677
+ return a < 1 ? (n = e.year() - 1, r = a + We(n, t, i)) : a > We(e.year(), t, i) ? (r = a - We(e.year(), t, i), n = e.year() + 1) : (n = e.year(), r = a), {
678
+ week: r,
679
+ year: n
680
+ };
681
+ }
682
+ function We(e, t, i) {
683
+ var s = Et(e, t, i), a = Et(e + 1, t, i);
684
+ return (mt(e) - s + a) / 7;
685
+ }
686
+ _("w", ["ww", 2], "wo", "week");
687
+ _("W", ["WW", 2], "Wo", "isoWeek");
688
+ h("w", I, ut);
689
+ h("ww", I, le);
690
+ h("W", I, ut);
691
+ h("WW", I, le);
692
+ kt(
693
+ ["w", "ww", "W", "WW"],
694
+ function(e, t, i, s) {
695
+ t[s.substr(0, 1)] = M(e);
696
+ }
697
+ );
698
+ function or(e) {
699
+ return _t(e, this._week.dow, this._week.doy).week;
700
+ }
701
+ var lr = {
702
+ dow: 0,
703
+ // Sunday is the first day of the week.
704
+ doy: 6
705
+ // The week that contains Jan 6th is the first week of the year.
706
+ };
707
+ function ur() {
708
+ return this._week.dow;
709
+ }
710
+ function dr() {
711
+ return this._week.doy;
712
+ }
713
+ function fr(e) {
714
+ var t = this.localeData().week(this);
715
+ return e == null ? t : this.add((e - t) * 7, "d");
716
+ }
717
+ function cr(e) {
718
+ var t = _t(this, 1, 4).week;
719
+ return e == null ? t : this.add((e - t) * 7, "d");
720
+ }
721
+ _("d", 0, "do", "day");
722
+ _("dd", 0, 0, function(e) {
723
+ return this.localeData().weekdaysMin(this, e);
724
+ });
725
+ _("ddd", 0, 0, function(e) {
726
+ return this.localeData().weekdaysShort(this, e);
727
+ });
728
+ _("dddd", 0, 0, function(e) {
729
+ return this.localeData().weekdays(this, e);
730
+ });
731
+ _("e", 0, 0, "weekday");
732
+ _("E", 0, 0, "isoWeekday");
733
+ h("d", I);
734
+ h("e", I);
735
+ h("E", I);
736
+ h("dd", function(e, t) {
737
+ return t.weekdaysMinRegex(e);
738
+ });
739
+ h("ddd", function(e, t) {
740
+ return t.weekdaysShortRegex(e);
741
+ });
742
+ h("dddd", function(e, t) {
743
+ return t.weekdaysRegex(e);
744
+ });
745
+ kt(["dd", "ddd", "dddd"], function(e, t, i, s) {
746
+ var a = i._locale.weekdaysParse(e, s, i._strict);
747
+ a != null ? t.d = a : w(i).invalidWeekday = e;
748
+ });
749
+ kt(["d", "e", "E"], function(e, t, i, s) {
750
+ t[s] = M(e);
751
+ });
752
+ function mr(e, t) {
753
+ return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
754
+ }
755
+ function hr(e, t) {
756
+ return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
757
+ }
758
+ function yi(e, t) {
759
+ return e.slice(t, 7).concat(e.slice(0, t));
760
+ }
761
+ var pr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), vs = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), _r = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), yr = vt, gr = vt, wr = vt;
762
+ function vr(e, t) {
763
+ var i = ye(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
764
+ return e === !0 ? yi(i, this._week.dow) : e ? i[e.day()] : i;
765
+ }
766
+ function kr(e) {
767
+ return e === !0 ? yi(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
768
+ }
769
+ function Mr(e) {
770
+ return e === !0 ? yi(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
771
+ }
772
+ function Dr(e, t, i) {
773
+ var s, a, r, n = e.toLocaleLowerCase();
774
+ if (!this._weekdaysParse)
775
+ for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
776
+ r = Le([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
777
+ r,
778
+ ""
779
+ ).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
780
+ r,
781
+ ""
782
+ ).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(r, "").toLocaleLowerCase();
783
+ return i ? t === "dddd" ? (a = B.call(this._weekdaysParse, n), a !== -1 ? a : null) : t === "ddd" ? (a = B.call(this._shortWeekdaysParse, n), a !== -1 ? a : null) : (a = B.call(this._minWeekdaysParse, n), a !== -1 ? a : null) : t === "dddd" ? (a = B.call(this._weekdaysParse, n), a !== -1 || (a = B.call(this._shortWeekdaysParse, n), a !== -1) ? a : (a = B.call(this._minWeekdaysParse, n), a !== -1 ? a : null)) : t === "ddd" ? (a = B.call(this._shortWeekdaysParse, n), a !== -1 || (a = B.call(this._weekdaysParse, n), a !== -1) ? a : (a = B.call(this._minWeekdaysParse, n), a !== -1 ? a : null)) : (a = B.call(this._minWeekdaysParse, n), a !== -1 || (a = B.call(this._weekdaysParse, n), a !== -1) ? a : (a = B.call(this._shortWeekdaysParse, n), a !== -1 ? a : null));
784
+ }
785
+ function Lr(e, t, i) {
786
+ var s, a, r;
787
+ if (this._weekdaysParseExact)
788
+ return Dr.call(this, e, t, i);
789
+ for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
790
+ if (a = Le([2e3, 1]).day(s), i && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
791
+ "^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
792
+ "i"
793
+ ), this._shortWeekdaysParse[s] = new RegExp(
794
+ "^" + this.weekdaysShort(a, "").replace(".", "\\.?") + "$",
795
+ "i"
796
+ ), this._minWeekdaysParse[s] = new RegExp(
797
+ "^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$",
798
+ "i"
799
+ )), this._weekdaysParse[s] || (r = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[s] = new RegExp(r.replace(".", ""), "i")), i && t === "dddd" && this._fullWeekdaysParse[s].test(e))
800
+ return s;
801
+ if (i && t === "ddd" && this._shortWeekdaysParse[s].test(e))
802
+ return s;
803
+ if (i && t === "dd" && this._minWeekdaysParse[s].test(e))
804
+ return s;
805
+ if (!i && this._weekdaysParse[s].test(e))
806
+ return s;
807
+ }
808
+ }
809
+ function Sr(e) {
810
+ if (!this.isValid())
811
+ return e != null ? this : NaN;
812
+ var t = ht(this, "Day");
813
+ return e != null ? (e = mr(e, this.localeData()), this.add(e - t, "d")) : t;
814
+ }
815
+ function br(e) {
816
+ if (!this.isValid())
817
+ return e != null ? this : NaN;
818
+ var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
819
+ return e == null ? t : this.add(e - t, "d");
820
+ }
821
+ function Tr(e) {
822
+ if (!this.isValid())
823
+ return e != null ? this : NaN;
824
+ if (e != null) {
825
+ var t = hr(e, this.localeData());
826
+ return this.day(this.day() % 7 ? t : t - 7);
827
+ } else
828
+ return this.day() || 7;
829
+ }
830
+ function Yr(e) {
831
+ return this._weekdaysParseExact ? (Y(this, "_weekdaysRegex") || gi.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (Y(this, "_weekdaysRegex") || (this._weekdaysRegex = yr), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
832
+ }
833
+ function Or(e) {
834
+ return this._weekdaysParseExact ? (Y(this, "_weekdaysRegex") || gi.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (Y(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = gr), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
835
+ }
836
+ function Er(e) {
837
+ return this._weekdaysParseExact ? (Y(this, "_weekdaysRegex") || gi.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (Y(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = wr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
838
+ }
839
+ function gi() {
840
+ function e(p, A) {
841
+ return A.length - p.length;
842
+ }
843
+ var t = [], i = [], s = [], a = [], r, n, o, l, d;
844
+ for (r = 0; r < 7; r++)
845
+ n = Le([2e3, 1]).day(r), o = Ne(this.weekdaysMin(n, "")), l = Ne(this.weekdaysShort(n, "")), d = Ne(this.weekdays(n, "")), t.push(o), i.push(l), s.push(d), a.push(o), a.push(l), a.push(d);
846
+ t.sort(e), i.sort(e), s.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
847
+ "^(" + s.join("|") + ")",
848
+ "i"
849
+ ), this._weekdaysShortStrictRegex = new RegExp(
850
+ "^(" + i.join("|") + ")",
851
+ "i"
852
+ ), this._weekdaysMinStrictRegex = new RegExp(
853
+ "^(" + t.join("|") + ")",
854
+ "i"
855
+ );
856
+ }
857
+ function wi() {
858
+ return this.hours() % 12 || 12;
859
+ }
860
+ function Cr() {
861
+ return this.hours() || 24;
862
+ }
863
+ _("H", ["HH", 2], 0, "hour");
864
+ _("h", ["hh", 2], 0, wi);
865
+ _("k", ["kk", 2], 0, Cr);
866
+ _("hmm", 0, 0, function() {
867
+ return "" + wi.apply(this) + De(this.minutes(), 2);
868
+ });
869
+ _("hmmss", 0, 0, function() {
870
+ return "" + wi.apply(this) + De(this.minutes(), 2) + De(this.seconds(), 2);
871
+ });
872
+ _("Hmm", 0, 0, function() {
873
+ return "" + this.hours() + De(this.minutes(), 2);
874
+ });
875
+ _("Hmmss", 0, 0, function() {
876
+ return "" + this.hours() + De(this.minutes(), 2) + De(this.seconds(), 2);
877
+ });
878
+ function ks(e, t) {
879
+ _(e, 0, 0, function() {
880
+ return this.localeData().meridiem(
881
+ this.hours(),
882
+ this.minutes(),
883
+ t
884
+ );
885
+ });
886
+ }
887
+ ks("a", !0);
888
+ ks("A", !1);
889
+ function Ms(e, t) {
890
+ return t._meridiemParse;
891
+ }
892
+ h("a", Ms);
893
+ h("A", Ms);
894
+ h("H", I, pi);
895
+ h("h", I, ut);
896
+ h("k", I, ut);
897
+ h("HH", I, le);
898
+ h("hh", I, le);
899
+ h("kk", I, le);
900
+ h("hmm", ds);
901
+ h("hmmss", fs);
902
+ h("Hmm", ds);
903
+ h("Hmmss", fs);
904
+ x(["H", "HH"], K);
905
+ x(["k", "kk"], function(e, t, i) {
906
+ var s = M(e);
907
+ t[K] = s === 24 ? 0 : s;
908
+ });
909
+ x(["a", "A"], function(e, t, i) {
910
+ i._isPm = i._locale.isPM(e), i._meridiem = e;
911
+ });
912
+ x(["h", "hh"], function(e, t, i) {
913
+ t[K] = M(e), w(i).bigHour = !0;
914
+ });
915
+ x("hmm", function(e, t, i) {
916
+ var s = e.length - 2;
917
+ t[K] = M(e.substr(0, s)), t[_e] = M(e.substr(s)), w(i).bigHour = !0;
918
+ });
919
+ x("hmmss", function(e, t, i) {
920
+ var s = e.length - 4, a = e.length - 2;
921
+ t[K] = M(e.substr(0, s)), t[_e] = M(e.substr(s, 2)), t[Ae] = M(e.substr(a)), w(i).bigHour = !0;
922
+ });
923
+ x("Hmm", function(e, t, i) {
924
+ var s = e.length - 2;
925
+ t[K] = M(e.substr(0, s)), t[_e] = M(e.substr(s));
926
+ });
927
+ x("Hmmss", function(e, t, i) {
928
+ var s = e.length - 4, a = e.length - 2;
929
+ t[K] = M(e.substr(0, s)), t[_e] = M(e.substr(s, 2)), t[Ae] = M(e.substr(a));
930
+ });
931
+ function Ar(e) {
932
+ return (e + "").toLowerCase().charAt(0) === "p";
933
+ }
934
+ var Nr = /[ap]\.?m?\.?/i, Wr = dt("Hours", !0);
935
+ function Pr(e, t, i) {
936
+ return e > 11 ? i ? "pm" : "PM" : i ? "am" : "AM";
937
+ }
938
+ var Ds = {
939
+ calendar: Da,
940
+ longDateFormat: Ta,
941
+ invalidDate: Oa,
942
+ ordinal: Ca,
943
+ dayOfMonthOrdinalParse: Aa,
944
+ relativeTime: Wa,
945
+ months: Qa,
946
+ monthsShort: hs,
947
+ week: lr,
948
+ weekdays: pr,
949
+ weekdaysMin: _r,
950
+ weekdaysShort: vs,
951
+ meridiemParse: Nr
952
+ }, j = {}, ft = {}, yt;
953
+ function xr(e, t) {
954
+ var i, s = Math.min(e.length, t.length);
955
+ for (i = 0; i < s; i += 1)
956
+ if (e[i] !== t[i])
957
+ return i;
958
+ return s;
959
+ }
960
+ function xi(e) {
961
+ return e && e.toLowerCase().replace("_", "-");
962
+ }
963
+ function Fr(e) {
964
+ for (var t = 0, i, s, a, r; t < e.length; ) {
965
+ for (r = xi(e[t]).split("-"), i = r.length, s = xi(e[t + 1]), s = s ? s.split("-") : null; i > 0; ) {
966
+ if (a = jt(r.slice(0, i).join("-")), a)
967
+ return a;
968
+ if (s && s.length >= i && xr(r, s) >= i - 1)
969
+ break;
970
+ i--;
971
+ }
972
+ t++;
973
+ }
974
+ return yt;
975
+ }
976
+ function Rr(e) {
977
+ return !!(e && e.match("^[^/\\\\]*$"));
978
+ }
979
+ function jt(e) {
980
+ var t = null, i;
981
+ if (j[e] === void 0 && typeof module != "undefined" && module && module.exports && Rr(e))
982
+ try {
983
+ t = yt._abbr, i = wa, i("./locale/" + e), Ge(t);
984
+ } catch (s) {
985
+ j[e] = null;
986
+ }
987
+ return j[e];
988
+ }
989
+ function Ge(e, t) {
990
+ var i;
991
+ return e && (re(t) ? i = xe(e) : i = vi(e, t), i ? yt = i : typeof console != "undefined" && console.warn && console.warn(
992
+ "Locale " + e + " not found. Did you forget to load it?"
993
+ )), yt._abbr;
994
+ }
995
+ function vi(e, t) {
996
+ if (t !== null) {
997
+ var i, s = Ds;
998
+ if (t.abbr = e, j[e] != null)
999
+ ns(
1000
+ "defineLocaleOverride",
1001
+ "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."
1002
+ ), s = j[e]._config;
1003
+ else if (t.parentLocale != null)
1004
+ if (j[t.parentLocale] != null)
1005
+ s = j[t.parentLocale]._config;
1006
+ else if (i = jt(t.parentLocale), i != null)
1007
+ s = i._config;
1008
+ else
1009
+ return ft[t.parentLocale] || (ft[t.parentLocale] = []), ft[t.parentLocale].push({
1010
+ name: e,
1011
+ config: t
1012
+ }), null;
1013
+ return j[e] = new di(Xt(s, t)), ft[e] && ft[e].forEach(function(a) {
1014
+ vi(a.name, a.config);
1015
+ }), Ge(e), j[e];
1016
+ } else
1017
+ return delete j[e], null;
1018
+ }
1019
+ function Ir(e, t) {
1020
+ if (t != null) {
1021
+ var i, s, a = Ds;
1022
+ j[e] != null && j[e].parentLocale != null ? j[e].set(Xt(j[e]._config, t)) : (s = jt(e), s != null && (a = s._config), t = Xt(a, t), s == null && (t.abbr = e), i = new di(t), i.parentLocale = j[e], j[e] = i), Ge(e);
1023
+ } else
1024
+ j[e] != null && (j[e].parentLocale != null ? (j[e] = j[e].parentLocale, e === Ge() && Ge(e)) : j[e] != null && delete j[e]);
1025
+ return j[e];
1026
+ }
1027
+ function xe(e) {
1028
+ var t;
1029
+ if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
1030
+ return yt;
1031
+ if (!ye(e)) {
1032
+ if (t = jt(e), t)
1033
+ return t;
1034
+ e = [e];
1035
+ }
1036
+ return Fr(e);
1037
+ }
1038
+ function Ur() {
1039
+ return $t(j);
1040
+ }
1041
+ function ki(e) {
1042
+ var t, i = e._a;
1043
+ return i && w(e).overflow === -2 && (t = i[Ce] < 0 || i[Ce] > 11 ? Ce : i[ke] < 1 || i[ke] > _i(i[se], i[Ce]) ? ke : i[K] < 0 || i[K] > 24 || i[K] === 24 && (i[_e] !== 0 || i[Ae] !== 0 || i[Qe] !== 0) ? K : i[_e] < 0 || i[_e] > 59 ? _e : i[Ae] < 0 || i[Ae] > 59 ? Ae : i[Qe] < 0 || i[Qe] > 999 ? Qe : -1, w(e)._overflowDayOfYear && (t < se || t > ke) && (t = ke), w(e)._overflowWeeks && t === -1 && (t = Ga), w(e)._overflowWeekday && t === -1 && (t = za), w(e).overflow = t), e;
1044
+ }
1045
+ var Hr = /^\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)?)?$/, jr = /^\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)?)?$/, Vr = /Z|[+-]\d\d(?::?\d\d)?/, Lt = [
1046
+ ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1047
+ ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1048
+ ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
1049
+ ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
1050
+ ["YYYY-DDD", /\d{4}-\d{3}/],
1051
+ ["YYYY-MM", /\d{4}-\d\d/, !1],
1052
+ ["YYYYYYMMDD", /[+-]\d{10}/],
1053
+ ["YYYYMMDD", /\d{8}/],
1054
+ ["GGGG[W]WWE", /\d{4}W\d{3}/],
1055
+ ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
1056
+ ["YYYYDDD", /\d{7}/],
1057
+ ["YYYYMM", /\d{6}/, !1],
1058
+ ["YYYY", /\d{4}/, !1]
1059
+ ], Jt = [
1060
+ ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1061
+ ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1062
+ ["HH:mm:ss", /\d\d:\d\d:\d\d/],
1063
+ ["HH:mm", /\d\d:\d\d/],
1064
+ ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
1065
+ ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
1066
+ ["HHmmss", /\d\d\d\d\d\d/],
1067
+ ["HHmm", /\d\d\d\d/],
1068
+ ["HH", /\d\d/]
1069
+ ], Gr = /^\/?Date\((-?\d+)/i, zr = /^(?:(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}))$/, Br = {
1070
+ UT: 0,
1071
+ GMT: 0,
1072
+ EDT: -4 * 60,
1073
+ EST: -5 * 60,
1074
+ CDT: -5 * 60,
1075
+ CST: -6 * 60,
1076
+ MDT: -6 * 60,
1077
+ MST: -7 * 60,
1078
+ PDT: -7 * 60,
1079
+ PST: -8 * 60
1080
+ };
1081
+ function Ls(e) {
1082
+ var t, i, s = e._i, a = Hr.exec(s) || jr.exec(s), r, n, o, l, d = Lt.length, p = Jt.length;
1083
+ if (a) {
1084
+ for (w(e).iso = !0, t = 0, i = d; t < i; t++)
1085
+ if (Lt[t][1].exec(a[1])) {
1086
+ n = Lt[t][0], r = Lt[t][2] !== !1;
1087
+ break;
1088
+ }
1089
+ if (n == null) {
1090
+ e._isValid = !1;
1091
+ return;
1092
+ }
1093
+ if (a[3]) {
1094
+ for (t = 0, i = p; t < i; t++)
1095
+ if (Jt[t][1].exec(a[3])) {
1096
+ o = (a[2] || " ") + Jt[t][0];
1097
+ break;
1098
+ }
1099
+ if (o == null) {
1100
+ e._isValid = !1;
1101
+ return;
1102
+ }
1103
+ }
1104
+ if (!r && o != null) {
1105
+ e._isValid = !1;
1106
+ return;
1107
+ }
1108
+ if (a[4])
1109
+ if (Vr.exec(a[4]))
1110
+ l = "Z";
1111
+ else {
1112
+ e._isValid = !1;
1113
+ return;
1114
+ }
1115
+ e._f = n + (o || "") + (l || ""), Di(e);
1116
+ } else
1117
+ e._isValid = !1;
1118
+ }
1119
+ function qr(e, t, i, s, a, r) {
1120
+ var n = [
1121
+ Zr(e),
1122
+ hs.indexOf(t),
1123
+ parseInt(i, 10),
1124
+ parseInt(s, 10),
1125
+ parseInt(a, 10)
1126
+ ];
1127
+ return r && n.push(parseInt(r, 10)), n;
1128
+ }
1129
+ function Zr(e) {
1130
+ var t = parseInt(e, 10);
1131
+ return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
1132
+ }
1133
+ function Jr(e) {
1134
+ return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
1135
+ }
1136
+ function Qr(e, t, i) {
1137
+ if (e) {
1138
+ var s = vs.indexOf(e), a = new Date(
1139
+ t[0],
1140
+ t[1],
1141
+ t[2]
1142
+ ).getDay();
1143
+ if (s !== a)
1144
+ return w(i).weekdayMismatch = !0, i._isValid = !1, !1;
1145
+ }
1146
+ return !0;
1147
+ }
1148
+ function Kr(e, t, i) {
1149
+ if (e)
1150
+ return Br[e];
1151
+ if (t)
1152
+ return 0;
1153
+ var s = parseInt(i, 10), a = s % 100, r = (s - a) / 100;
1154
+ return r * 60 + a;
1155
+ }
1156
+ function Ss(e) {
1157
+ var t = zr.exec(Jr(e._i)), i;
1158
+ if (t) {
1159
+ if (i = qr(
1160
+ t[4],
1161
+ t[3],
1162
+ t[2],
1163
+ t[5],
1164
+ t[6],
1165
+ t[7]
1166
+ ), !Qr(t[1], i, e))
1167
+ return;
1168
+ e._a = i, e._tzm = Kr(t[8], t[9], t[10]), e._d = pt.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), w(e).rfc2822 = !0;
1169
+ } else
1170
+ e._isValid = !1;
1171
+ }
1172
+ function Xr(e) {
1173
+ var t = Gr.exec(e._i);
1174
+ if (t !== null) {
1175
+ e._d = /* @__PURE__ */ new Date(+t[1]);
1176
+ return;
1177
+ }
1178
+ if (Ls(e), e._isValid === !1)
1179
+ delete e._isValid;
1180
+ else
1181
+ return;
1182
+ if (Ss(e), e._isValid === !1)
1183
+ delete e._isValid;
1184
+ else
1185
+ return;
1186
+ e._strict ? e._isValid = !1 : c.createFromInputFallback(e);
1187
+ }
1188
+ c.createFromInputFallback = ce(
1189
+ "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.",
1190
+ function(e) {
1191
+ e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
1192
+ }
1193
+ );
1194
+ function it(e, t, i) {
1195
+ return e != null ? e : t != null ? t : i;
1196
+ }
1197
+ function $r(e) {
1198
+ var t = new Date(c.now());
1199
+ return e._useUTC ? [
1200
+ t.getUTCFullYear(),
1201
+ t.getUTCMonth(),
1202
+ t.getUTCDate()
1203
+ ] : [t.getFullYear(), t.getMonth(), t.getDate()];
1204
+ }
1205
+ function Mi(e) {
1206
+ var t, i, s = [], a, r, n;
1207
+ if (!e._d) {
1208
+ for (a = $r(e), e._w && e._a[ke] == null && e._a[Ce] == null && en(e), e._dayOfYear != null && (n = it(e._a[se], a[se]), (e._dayOfYear > mt(n) || e._dayOfYear === 0) && (w(e)._overflowDayOfYear = !0), i = pt(n, 0, e._dayOfYear), e._a[Ce] = i.getUTCMonth(), e._a[ke] = i.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1209
+ e._a[t] = s[t] = a[t];
1210
+ for (; t < 7; t++)
1211
+ e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
1212
+ e._a[K] === 24 && e._a[_e] === 0 && e._a[Ae] === 0 && e._a[Qe] === 0 && (e._nextDay = !0, e._a[K] = 0), e._d = (e._useUTC ? pt : nr).apply(
1213
+ null,
1214
+ s
1215
+ ), r = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[K] = 24), e._w && typeof e._w.d != "undefined" && e._w.d !== r && (w(e).weekdayMismatch = !0);
1216
+ }
1217
+ }
1218
+ function en(e) {
1219
+ var t, i, s, a, r, n, o, l, d;
1220
+ t = e._w, t.GG != null || t.W != null || t.E != null ? (r = 1, n = 4, i = it(
1221
+ t.GG,
1222
+ e._a[se],
1223
+ _t(R(), 1, 4).year
1224
+ ), s = it(t.W, 1), a = it(t.E, 1), (a < 1 || a > 7) && (l = !0)) : (r = e._locale._week.dow, n = e._locale._week.doy, d = _t(R(), r, n), i = it(t.gg, e._a[se], d.year), s = it(t.w, d.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (l = !0)) : t.e != null ? (a = t.e + r, (t.e < 0 || t.e > 6) && (l = !0)) : a = r), s < 1 || s > We(i, r, n) ? w(e)._overflowWeeks = !0 : l != null ? w(e)._overflowWeekday = !0 : (o = ws(i, s, a, r, n), e._a[se] = o.year, e._dayOfYear = o.dayOfYear);
1225
+ }
1226
+ c.ISO_8601 = function() {
1227
+ };
1228
+ c.RFC_2822 = function() {
1229
+ };
1230
+ function Di(e) {
1231
+ if (e._f === c.ISO_8601) {
1232
+ Ls(e);
1233
+ return;
1234
+ }
1235
+ if (e._f === c.RFC_2822) {
1236
+ Ss(e);
1237
+ return;
1238
+ }
1239
+ e._a = [], w(e).empty = !0;
1240
+ var t = "" + e._i, i, s, a, r, n, o = t.length, l = 0, d, p;
1241
+ for (a = os(e._f, e._locale).match(fi) || [], p = a.length, i = 0; i < p; i++)
1242
+ r = a[i], s = (t.match(Ha(r, e)) || [])[0], s && (n = t.substr(0, t.indexOf(s)), n.length > 0 && w(e).unusedInput.push(n), t = t.slice(
1243
+ t.indexOf(s) + s.length
1244
+ ), l += s.length), at[r] ? (s ? w(e).empty = !1 : w(e).unusedTokens.push(r), Va(r, s, e)) : e._strict && !s && w(e).unusedTokens.push(r);
1245
+ w(e).charsLeftOver = o - l, t.length > 0 && w(e).unusedInput.push(t), e._a[K] <= 12 && w(e).bigHour === !0 && e._a[K] > 0 && (w(e).bigHour = void 0), w(e).parsedDateParts = e._a.slice(0), w(e).meridiem = e._meridiem, e._a[K] = tn(
1246
+ e._locale,
1247
+ e._a[K],
1248
+ e._meridiem
1249
+ ), d = w(e).era, d !== null && (e._a[se] = e._locale.erasConvertYear(d, e._a[se])), Mi(e), ki(e);
1250
+ }
1251
+ function tn(e, t, i) {
1252
+ var s;
1253
+ return i == null ? t : e.meridiemHour != null ? e.meridiemHour(t, i) : (e.isPM != null && (s = e.isPM(i), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
1254
+ }
1255
+ function sn(e) {
1256
+ var t, i, s, a, r, n, o = !1, l = e._f.length;
1257
+ if (l === 0) {
1258
+ w(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1259
+ return;
1260
+ }
1261
+ for (a = 0; a < l; a++)
1262
+ r = 0, n = !1, t = ui({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], Di(t), li(t) && (n = !0), r += w(t).charsLeftOver, r += w(t).unusedTokens.length * 10, w(t).score = r, o ? r < s && (s = r, i = t) : (s == null || r < s || n) && (s = r, i = t, n && (o = !0));
1263
+ je(e, i || t);
1264
+ }
1265
+ function an(e) {
1266
+ if (!e._d) {
1267
+ var t = ci(e._i), i = t.day === void 0 ? t.date : t.day;
1268
+ e._a = as(
1269
+ [t.year, t.month, i, t.hour, t.minute, t.second, t.millisecond],
1270
+ function(s) {
1271
+ return s && parseInt(s, 10);
1272
+ }
1273
+ ), Mi(e);
1274
+ }
1275
+ }
1276
+ function rn(e) {
1277
+ var t = new wt(ki(bs(e)));
1278
+ return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
1279
+ }
1280
+ function bs(e) {
1281
+ var t = e._i, i = e._f;
1282
+ return e._locale = e._locale || xe(e._l), t === null || i === void 0 && t === "" ? Pt({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), ge(t) ? new wt(ki(t)) : (gt(t) ? e._d = t : ye(i) ? sn(e) : i ? Di(e) : nn(e), li(e) || (e._d = null), e));
1283
+ }
1284
+ function nn(e) {
1285
+ var t = e._i;
1286
+ re(t) ? e._d = new Date(c.now()) : gt(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Xr(e) : ye(t) ? (e._a = as(t.slice(0), function(i) {
1287
+ return parseInt(i, 10);
1288
+ }), Mi(e)) : Ke(t) ? an(e) : Pe(t) ? e._d = new Date(t) : c.createFromInputFallback(e);
1289
+ }
1290
+ function Ts(e, t, i, s, a) {
1291
+ var r = {};
1292
+ return (t === !0 || t === !1) && (s = t, t = void 0), (i === !0 || i === !1) && (s = i, i = void 0), (Ke(e) && oi(e) || ye(e) && e.length === 0) && (e = void 0), r._isAMomentObject = !0, r._useUTC = r._isUTC = a, r._l = i, r._i = e, r._f = t, r._strict = s, rn(r);
1293
+ }
1294
+ function R(e, t, i, s) {
1295
+ return Ts(e, t, i, s, !1);
1296
+ }
1297
+ var on = ce(
1298
+ "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1299
+ function() {
1300
+ var e = R.apply(null, arguments);
1301
+ return this.isValid() && e.isValid() ? e < this ? this : e : Pt();
1302
+ }
1303
+ ), ln = ce(
1304
+ "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1305
+ function() {
1306
+ var e = R.apply(null, arguments);
1307
+ return this.isValid() && e.isValid() ? e > this ? this : e : Pt();
1308
+ }
1309
+ );
1310
+ function Ys(e, t) {
1311
+ var i, s;
1312
+ if (t.length === 1 && ye(t[0]) && (t = t[0]), !t.length)
1313
+ return R();
1314
+ for (i = t[0], s = 1; s < t.length; ++s)
1315
+ (!t[s].isValid() || t[s][e](i)) && (i = t[s]);
1316
+ return i;
1317
+ }
1318
+ function un() {
1319
+ var e = [].slice.call(arguments, 0);
1320
+ return Ys("isBefore", e);
1321
+ }
1322
+ function dn() {
1323
+ var e = [].slice.call(arguments, 0);
1324
+ return Ys("isAfter", e);
1325
+ }
1326
+ var fn = function() {
1327
+ return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
1328
+ }, ct = [
1329
+ "year",
1330
+ "quarter",
1331
+ "month",
1332
+ "week",
1333
+ "day",
1334
+ "hour",
1335
+ "minute",
1336
+ "second",
1337
+ "millisecond"
1338
+ ];
1339
+ function cn(e) {
1340
+ var t, i = !1, s, a = ct.length;
1341
+ for (t in e)
1342
+ if (Y(e, t) && !(B.call(ct, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
1343
+ return !1;
1344
+ for (s = 0; s < a; ++s)
1345
+ if (e[ct[s]]) {
1346
+ if (i)
1347
+ return !1;
1348
+ parseFloat(e[ct[s]]) !== M(e[ct[s]]) && (i = !0);
1349
+ }
1350
+ return !0;
1351
+ }
1352
+ function mn() {
1353
+ return this._isValid;
1354
+ }
1355
+ function hn() {
1356
+ return we(NaN);
1357
+ }
1358
+ function Vt(e) {
1359
+ var t = ci(e), i = t.year || 0, s = t.quarter || 0, a = t.month || 0, r = t.week || t.isoWeek || 0, n = t.day || 0, o = t.hour || 0, l = t.minute || 0, d = t.second || 0, p = t.millisecond || 0;
1360
+ this._isValid = cn(t), this._milliseconds = +p + d * 1e3 + // 1000
1361
+ l * 6e4 + // 1000 * 60
1362
+ o * 1e3 * 60 * 60, this._days = +n + r * 7, this._months = +a + s * 3 + i * 12, this._data = {}, this._locale = xe(), this._bubble();
1363
+ }
1364
+ function bt(e) {
1365
+ return e instanceof Vt;
1366
+ }
1367
+ function ti(e) {
1368
+ return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
1369
+ }
1370
+ function pn(e, t, i) {
1371
+ var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), r = 0, n;
1372
+ for (n = 0; n < s; n++)
1373
+ M(e[n]) !== M(t[n]) && r++;
1374
+ return r + a;
1375
+ }
1376
+ function Os(e, t) {
1377
+ _(e, 0, 0, function() {
1378
+ var i = this.utcOffset(), s = "+";
1379
+ return i < 0 && (i = -i, s = "-"), s + De(~~(i / 60), 2) + t + De(~~i % 60, 2);
1380
+ });
1381
+ }
1382
+ Os("Z", ":");
1383
+ Os("ZZ", "");
1384
+ h("Z", Ut);
1385
+ h("ZZ", Ut);
1386
+ x(["Z", "ZZ"], function(e, t, i) {
1387
+ i._useUTC = !0, i._tzm = Li(Ut, e);
1388
+ });
1389
+ var _n = /([\+\-]|\d\d)/gi;
1390
+ function Li(e, t) {
1391
+ var i = (t || "").match(e), s, a, r;
1392
+ return i === null ? null : (s = i[i.length - 1] || [], a = (s + "").match(_n) || ["-", 0, 0], r = +(a[1] * 60) + M(a[2]), r === 0 ? 0 : a[0] === "+" ? r : -r);
1393
+ }
1394
+ function Si(e, t) {
1395
+ var i, s;
1396
+ return t._isUTC ? (i = t.clone(), s = (ge(e) || gt(e) ? e.valueOf() : R(e).valueOf()) - i.valueOf(), i._d.setTime(i._d.valueOf() + s), c.updateOffset(i, !1), i) : R(e).local();
1397
+ }
1398
+ function ii(e) {
1399
+ return -Math.round(e._d.getTimezoneOffset());
1400
+ }
1401
+ c.updateOffset = function() {
1402
+ };
1403
+ function yn(e, t, i) {
1404
+ var s = this._offset || 0, a;
1405
+ if (!this.isValid())
1406
+ return e != null ? this : NaN;
1407
+ if (e != null) {
1408
+ if (typeof e == "string") {
1409
+ if (e = Li(Ut, e), e === null)
1410
+ return this;
1411
+ } else Math.abs(e) < 16 && !i && (e = e * 60);
1412
+ return !this._isUTC && t && (a = ii(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!t || this._changeInProgress ? As(
1413
+ this,
1414
+ we(e - s, "m"),
1415
+ 1,
1416
+ !1
1417
+ ) : this._changeInProgress || (this._changeInProgress = !0, c.updateOffset(this, !0), this._changeInProgress = null)), this;
1418
+ } else
1419
+ return this._isUTC ? s : ii(this);
1420
+ }
1421
+ function gn(e, t) {
1422
+ return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
1423
+ }
1424
+ function wn(e) {
1425
+ return this.utcOffset(0, e);
1426
+ }
1427
+ function vn(e) {
1428
+ return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(ii(this), "m")), this;
1429
+ }
1430
+ function kn() {
1431
+ if (this._tzm != null)
1432
+ this.utcOffset(this._tzm, !1, !0);
1433
+ else if (typeof this._i == "string") {
1434
+ var e = Li(Ia, this._i);
1435
+ e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
1436
+ }
1437
+ return this;
1438
+ }
1439
+ function Mn(e) {
1440
+ return this.isValid() ? (e = e ? R(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
1441
+ }
1442
+ function Dn() {
1443
+ return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
1444
+ }
1445
+ function Ln() {
1446
+ if (!re(this._isDSTShifted))
1447
+ return this._isDSTShifted;
1448
+ var e = {}, t;
1449
+ return ui(e, this), e = bs(e), e._a ? (t = e._isUTC ? Le(e._a) : R(e._a), this._isDSTShifted = this.isValid() && pn(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
1450
+ }
1451
+ function Sn() {
1452
+ return this.isValid() ? !this._isUTC : !1;
1453
+ }
1454
+ function bn() {
1455
+ return this.isValid() ? this._isUTC : !1;
1456
+ }
1457
+ function Es() {
1458
+ return this.isValid() ? this._isUTC && this._offset === 0 : !1;
1459
+ }
1460
+ var Tn = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Yn = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1461
+ function we(e, t) {
1462
+ var i = e, s = null, a, r, n;
1463
+ return bt(e) ? i = {
1464
+ ms: e._milliseconds,
1465
+ d: e._days,
1466
+ M: e._months
1467
+ } : Pe(e) || !isNaN(+e) ? (i = {}, t ? i[t] = +e : i.milliseconds = +e) : (s = Tn.exec(e)) ? (a = s[1] === "-" ? -1 : 1, i = {
1468
+ y: 0,
1469
+ d: M(s[ke]) * a,
1470
+ h: M(s[K]) * a,
1471
+ m: M(s[_e]) * a,
1472
+ s: M(s[Ae]) * a,
1473
+ ms: M(ti(s[Qe] * 1e3)) * a
1474
+ // the millisecond decimal point is included in the match
1475
+ }) : (s = Yn.exec(e)) ? (a = s[1] === "-" ? -1 : 1, i = {
1476
+ y: Je(s[2], a),
1477
+ M: Je(s[3], a),
1478
+ w: Je(s[4], a),
1479
+ d: Je(s[5], a),
1480
+ h: Je(s[6], a),
1481
+ m: Je(s[7], a),
1482
+ s: Je(s[8], a)
1483
+ }) : i == null ? i = {} : typeof i == "object" && ("from" in i || "to" in i) && (n = On(
1484
+ R(i.from),
1485
+ R(i.to)
1486
+ ), i = {}, i.ms = n.milliseconds, i.M = n.months), r = new Vt(i), bt(e) && Y(e, "_locale") && (r._locale = e._locale), bt(e) && Y(e, "_isValid") && (r._isValid = e._isValid), r;
1487
+ }
1488
+ we.fn = Vt.prototype;
1489
+ we.invalid = hn;
1490
+ function Je(e, t) {
1491
+ var i = e && parseFloat(e.replace(",", "."));
1492
+ return (isNaN(i) ? 0 : i) * t;
1493
+ }
1494
+ function Fi(e, t) {
1495
+ var i = {};
1496
+ return i.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(i.months, "M").isAfter(t) && --i.months, i.milliseconds = +t - +e.clone().add(i.months, "M"), i;
1497
+ }
1498
+ function On(e, t) {
1499
+ var i;
1500
+ return e.isValid() && t.isValid() ? (t = Si(t, e), e.isBefore(t) ? i = Fi(e, t) : (i = Fi(t, e), i.milliseconds = -i.milliseconds, i.months = -i.months), i) : { milliseconds: 0, months: 0 };
1501
+ }
1502
+ function Cs(e, t) {
1503
+ return function(i, s) {
1504
+ var a, r;
1505
+ return s !== null && !isNaN(+s) && (ns(
1506
+ t,
1507
+ "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
1508
+ ), r = i, i = s, s = r), a = we(i, s), As(this, a, e), this;
1509
+ };
1510
+ }
1511
+ function As(e, t, i, s) {
1512
+ var a = t._milliseconds, r = ti(t._days), n = ti(t._months);
1513
+ e.isValid() && (s = s == null ? !0 : s, n && _s(e, ht(e, "Month") + n * i), r && ms(e, "Date", ht(e, "Date") + r * i), a && e._d.setTime(e._d.valueOf() + a * i), s && c.updateOffset(e, r || n));
1514
+ }
1515
+ var En = Cs(1, "add"), Cn = Cs(-1, "subtract");
1516
+ function Ns(e) {
1517
+ return typeof e == "string" || e instanceof String;
1518
+ }
1519
+ function An(e) {
1520
+ return ge(e) || gt(e) || Ns(e) || Pe(e) || Wn(e) || Nn(e) || e === null || e === void 0;
1521
+ }
1522
+ function Nn(e) {
1523
+ var t = Ke(e) && !oi(e), i = !1, s = [
1524
+ "years",
1525
+ "year",
1526
+ "y",
1527
+ "months",
1528
+ "month",
1529
+ "M",
1530
+ "days",
1531
+ "day",
1532
+ "d",
1533
+ "dates",
1534
+ "date",
1535
+ "D",
1536
+ "hours",
1537
+ "hour",
1538
+ "h",
1539
+ "minutes",
1540
+ "minute",
1541
+ "m",
1542
+ "seconds",
1543
+ "second",
1544
+ "s",
1545
+ "milliseconds",
1546
+ "millisecond",
1547
+ "ms"
1548
+ ], a, r, n = s.length;
1549
+ for (a = 0; a < n; a += 1)
1550
+ r = s[a], i = i || Y(e, r);
1551
+ return t && i;
1552
+ }
1553
+ function Wn(e) {
1554
+ var t = ye(e), i = !1;
1555
+ return t && (i = e.filter(function(s) {
1556
+ return !Pe(s) && Ns(e);
1557
+ }).length === 0), t && i;
1558
+ }
1559
+ function Pn(e) {
1560
+ var t = Ke(e) && !oi(e), i = !1, s = [
1561
+ "sameDay",
1562
+ "nextDay",
1563
+ "lastDay",
1564
+ "nextWeek",
1565
+ "lastWeek",
1566
+ "sameElse"
1567
+ ], a, r;
1568
+ for (a = 0; a < s.length; a += 1)
1569
+ r = s[a], i = i || Y(e, r);
1570
+ return t && i;
1571
+ }
1572
+ function xn(e, t) {
1573
+ var i = e.diff(t, "days", !0);
1574
+ return i < -6 ? "sameElse" : i < -1 ? "lastWeek" : i < 0 ? "lastDay" : i < 1 ? "sameDay" : i < 2 ? "nextDay" : i < 7 ? "nextWeek" : "sameElse";
1575
+ }
1576
+ function Fn(e, t) {
1577
+ arguments.length === 1 && (arguments[0] ? An(arguments[0]) ? (e = arguments[0], t = void 0) : Pn(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1578
+ var i = e || R(), s = Si(i, this).startOf("day"), a = c.calendarFormat(this, s) || "sameElse", r = t && (Se(t[a]) ? t[a].call(this, i) : t[a]);
1579
+ return this.format(
1580
+ r || this.localeData().calendar(a, this, R(i))
1581
+ );
1582
+ }
1583
+ function Rn() {
1584
+ return new wt(this);
1585
+ }
1586
+ function In(e, t) {
1587
+ var i = ge(e) ? e : R(e);
1588
+ return this.isValid() && i.isValid() ? (t = me(t) || "millisecond", t === "millisecond" ? this.valueOf() > i.valueOf() : i.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1589
+ }
1590
+ function Un(e, t) {
1591
+ var i = ge(e) ? e : R(e);
1592
+ return this.isValid() && i.isValid() ? (t = me(t) || "millisecond", t === "millisecond" ? this.valueOf() < i.valueOf() : this.clone().endOf(t).valueOf() < i.valueOf()) : !1;
1593
+ }
1594
+ function Hn(e, t, i, s) {
1595
+ var a = ge(e) ? e : R(e), r = ge(t) ? t : R(t);
1596
+ return this.isValid() && a.isValid() && r.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, i) : !this.isBefore(a, i)) && (s[1] === ")" ? this.isBefore(r, i) : !this.isAfter(r, i))) : !1;
1597
+ }
1598
+ function jn(e, t) {
1599
+ var i = ge(e) ? e : R(e), s;
1600
+ return this.isValid() && i.isValid() ? (t = me(t) || "millisecond", t === "millisecond" ? this.valueOf() === i.valueOf() : (s = i.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
1601
+ }
1602
+ function Vn(e, t) {
1603
+ return this.isSame(e, t) || this.isAfter(e, t);
1604
+ }
1605
+ function Gn(e, t) {
1606
+ return this.isSame(e, t) || this.isBefore(e, t);
1607
+ }
1608
+ function zn(e, t, i) {
1609
+ var s, a, r;
1610
+ if (!this.isValid())
1611
+ return NaN;
1612
+ if (s = Si(e, this), !s.isValid())
1613
+ return NaN;
1614
+ switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, t = me(t), t) {
1615
+ case "year":
1616
+ r = Tt(this, s) / 12;
1617
+ break;
1618
+ case "month":
1619
+ r = Tt(this, s);
1620
+ break;
1621
+ case "quarter":
1622
+ r = Tt(this, s) / 3;
1623
+ break;
1624
+ case "second":
1625
+ r = (this - s) / 1e3;
1626
+ break;
1627
+ case "minute":
1628
+ r = (this - s) / 6e4;
1629
+ break;
1630
+ case "hour":
1631
+ r = (this - s) / 36e5;
1632
+ break;
1633
+ case "day":
1634
+ r = (this - s - a) / 864e5;
1635
+ break;
1636
+ case "week":
1637
+ r = (this - s - a) / 6048e5;
1638
+ break;
1639
+ default:
1640
+ r = this - s;
1641
+ }
1642
+ return i ? r : fe(r);
1643
+ }
1644
+ function Tt(e, t) {
1645
+ if (e.date() < t.date())
1646
+ return -Tt(t, e);
1647
+ var i = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(i, "months"), a, r;
1648
+ return t - s < 0 ? (a = e.clone().add(i - 1, "months"), r = (t - s) / (s - a)) : (a = e.clone().add(i + 1, "months"), r = (t - s) / (a - s)), -(i + r) || 0;
1649
+ }
1650
+ c.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1651
+ c.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1652
+ function Bn() {
1653
+ return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1654
+ }
1655
+ function qn(e) {
1656
+ if (!this.isValid())
1657
+ return null;
1658
+ var t = e !== !0, i = t ? this.clone().utc() : this;
1659
+ return i.year() < 0 || i.year() > 9999 ? St(
1660
+ i,
1661
+ t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
1662
+ ) : Se(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", St(i, "Z")) : St(
1663
+ i,
1664
+ t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
1665
+ );
1666
+ }
1667
+ function Zn() {
1668
+ if (!this.isValid())
1669
+ return "moment.invalid(/* " + this._i + " */)";
1670
+ var e = "moment", t = "", i, s, a, r;
1671
+ return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), i = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", r = t + '[")]', this.format(i + s + a + r);
1672
+ }
1673
+ function Jn(e) {
1674
+ e || (e = this.isUtc() ? c.defaultFormatUtc : c.defaultFormat);
1675
+ var t = St(this, e);
1676
+ return this.localeData().postformat(t);
1677
+ }
1678
+ function Qn(e, t) {
1679
+ return this.isValid() && (ge(e) && e.isValid() || R(e).isValid()) ? we({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1680
+ }
1681
+ function Kn(e) {
1682
+ return this.from(R(), e);
1683
+ }
1684
+ function Xn(e, t) {
1685
+ return this.isValid() && (ge(e) && e.isValid() || R(e).isValid()) ? we({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1686
+ }
1687
+ function $n(e) {
1688
+ return this.to(R(), e);
1689
+ }
1690
+ function Ws(e) {
1691
+ var t;
1692
+ return e === void 0 ? this._locale._abbr : (t = xe(e), t != null && (this._locale = t), this);
1693
+ }
1694
+ var Ps = ce(
1695
+ "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1696
+ function(e) {
1697
+ return e === void 0 ? this.localeData() : this.locale(e);
1698
+ }
1699
+ );
1700
+ function xs() {
1701
+ return this._locale;
1702
+ }
1703
+ var Ct = 1e3, rt = 60 * Ct, At = 60 * rt, Fs = (365 * 400 + 97) * 24 * At;
1704
+ function nt(e, t) {
1705
+ return (e % t + t) % t;
1706
+ }
1707
+ function Rs(e, t, i) {
1708
+ return e < 100 && e >= 0 ? new Date(e + 400, t, i) - Fs : new Date(e, t, i).valueOf();
1709
+ }
1710
+ function Is(e, t, i) {
1711
+ return e < 100 && e >= 0 ? Date.UTC(e + 400, t, i) - Fs : Date.UTC(e, t, i);
1712
+ }
1713
+ function eo(e) {
1714
+ var t, i;
1715
+ if (e = me(e), e === void 0 || e === "millisecond" || !this.isValid())
1716
+ return this;
1717
+ switch (i = this._isUTC ? Is : Rs, e) {
1718
+ case "year":
1719
+ t = i(this.year(), 0, 1);
1720
+ break;
1721
+ case "quarter":
1722
+ t = i(
1723
+ this.year(),
1724
+ this.month() - this.month() % 3,
1725
+ 1
1726
+ );
1727
+ break;
1728
+ case "month":
1729
+ t = i(this.year(), this.month(), 1);
1730
+ break;
1731
+ case "week":
1732
+ t = i(
1733
+ this.year(),
1734
+ this.month(),
1735
+ this.date() - this.weekday()
1736
+ );
1737
+ break;
1738
+ case "isoWeek":
1739
+ t = i(
1740
+ this.year(),
1741
+ this.month(),
1742
+ this.date() - (this.isoWeekday() - 1)
1743
+ );
1744
+ break;
1745
+ case "day":
1746
+ case "date":
1747
+ t = i(this.year(), this.month(), this.date());
1748
+ break;
1749
+ case "hour":
1750
+ t = this._d.valueOf(), t -= nt(
1751
+ t + (this._isUTC ? 0 : this.utcOffset() * rt),
1752
+ At
1753
+ );
1754
+ break;
1755
+ case "minute":
1756
+ t = this._d.valueOf(), t -= nt(t, rt);
1757
+ break;
1758
+ case "second":
1759
+ t = this._d.valueOf(), t -= nt(t, Ct);
1760
+ break;
1761
+ }
1762
+ return this._d.setTime(t), c.updateOffset(this, !0), this;
1763
+ }
1764
+ function to(e) {
1765
+ var t, i;
1766
+ if (e = me(e), e === void 0 || e === "millisecond" || !this.isValid())
1767
+ return this;
1768
+ switch (i = this._isUTC ? Is : Rs, e) {
1769
+ case "year":
1770
+ t = i(this.year() + 1, 0, 1) - 1;
1771
+ break;
1772
+ case "quarter":
1773
+ t = i(
1774
+ this.year(),
1775
+ this.month() - this.month() % 3 + 3,
1776
+ 1
1777
+ ) - 1;
1778
+ break;
1779
+ case "month":
1780
+ t = i(this.year(), this.month() + 1, 1) - 1;
1781
+ break;
1782
+ case "week":
1783
+ t = i(
1784
+ this.year(),
1785
+ this.month(),
1786
+ this.date() - this.weekday() + 7
1787
+ ) - 1;
1788
+ break;
1789
+ case "isoWeek":
1790
+ t = i(
1791
+ this.year(),
1792
+ this.month(),
1793
+ this.date() - (this.isoWeekday() - 1) + 7
1794
+ ) - 1;
1795
+ break;
1796
+ case "day":
1797
+ case "date":
1798
+ t = i(this.year(), this.month(), this.date() + 1) - 1;
1799
+ break;
1800
+ case "hour":
1801
+ t = this._d.valueOf(), t += At - nt(
1802
+ t + (this._isUTC ? 0 : this.utcOffset() * rt),
1803
+ At
1804
+ ) - 1;
1805
+ break;
1806
+ case "minute":
1807
+ t = this._d.valueOf(), t += rt - nt(t, rt) - 1;
1808
+ break;
1809
+ case "second":
1810
+ t = this._d.valueOf(), t += Ct - nt(t, Ct) - 1;
1811
+ break;
1812
+ }
1813
+ return this._d.setTime(t), c.updateOffset(this, !0), this;
1814
+ }
1815
+ function io() {
1816
+ return this._d.valueOf() - (this._offset || 0) * 6e4;
1817
+ }
1818
+ function so() {
1819
+ return Math.floor(this.valueOf() / 1e3);
1820
+ }
1821
+ function ao() {
1822
+ return new Date(this.valueOf());
1823
+ }
1824
+ function ro() {
1825
+ var e = this;
1826
+ return [
1827
+ e.year(),
1828
+ e.month(),
1829
+ e.date(),
1830
+ e.hour(),
1831
+ e.minute(),
1832
+ e.second(),
1833
+ e.millisecond()
1834
+ ];
1835
+ }
1836
+ function no() {
1837
+ var e = this;
1838
+ return {
1839
+ years: e.year(),
1840
+ months: e.month(),
1841
+ date: e.date(),
1842
+ hours: e.hours(),
1843
+ minutes: e.minutes(),
1844
+ seconds: e.seconds(),
1845
+ milliseconds: e.milliseconds()
1846
+ };
1847
+ }
1848
+ function oo() {
1849
+ return this.isValid() ? this.toISOString() : null;
1850
+ }
1851
+ function lo() {
1852
+ return li(this);
1853
+ }
1854
+ function uo() {
1855
+ return je({}, w(this));
1856
+ }
1857
+ function fo() {
1858
+ return w(this).overflow;
1859
+ }
1860
+ function co() {
1861
+ return {
1862
+ input: this._i,
1863
+ format: this._f,
1864
+ locale: this._locale,
1865
+ isUTC: this._isUTC,
1866
+ strict: this._strict
1867
+ };
1868
+ }
1869
+ _("N", 0, 0, "eraAbbr");
1870
+ _("NN", 0, 0, "eraAbbr");
1871
+ _("NNN", 0, 0, "eraAbbr");
1872
+ _("NNNN", 0, 0, "eraName");
1873
+ _("NNNNN", 0, 0, "eraNarrow");
1874
+ _("y", ["y", 1], "yo", "eraYear");
1875
+ _("y", ["yy", 2], 0, "eraYear");
1876
+ _("y", ["yyy", 3], 0, "eraYear");
1877
+ _("y", ["yyyy", 4], 0, "eraYear");
1878
+ h("N", bi);
1879
+ h("NN", bi);
1880
+ h("NNN", bi);
1881
+ h("NNNN", Do);
1882
+ h("NNNNN", Lo);
1883
+ x(
1884
+ ["N", "NN", "NNN", "NNNN", "NNNNN"],
1885
+ function(e, t, i, s) {
1886
+ var a = i._locale.erasParse(e, s, i._strict);
1887
+ a ? w(i).era = a : w(i).invalidEra = e;
1888
+ }
1889
+ );
1890
+ h("y", lt);
1891
+ h("yy", lt);
1892
+ h("yyy", lt);
1893
+ h("yyyy", lt);
1894
+ h("yo", So);
1895
+ x(["y", "yy", "yyy", "yyyy"], se);
1896
+ x(["yo"], function(e, t, i, s) {
1897
+ var a;
1898
+ i._locale._eraYearOrdinalRegex && (a = e.match(i._locale._eraYearOrdinalRegex)), i._locale.eraYearOrdinalParse ? t[se] = i._locale.eraYearOrdinalParse(e, a) : t[se] = parseInt(e, 10);
1899
+ });
1900
+ function mo(e, t) {
1901
+ var i, s, a, r = this._eras || xe("en")._eras;
1902
+ for (i = 0, s = r.length; i < s; ++i) {
1903
+ switch (typeof r[i].since) {
1904
+ case "string":
1905
+ a = c(r[i].since).startOf("day"), r[i].since = a.valueOf();
1906
+ break;
1907
+ }
1908
+ switch (typeof r[i].until) {
1909
+ case "undefined":
1910
+ r[i].until = 1 / 0;
1911
+ break;
1912
+ case "string":
1913
+ a = c(r[i].until).startOf("day").valueOf(), r[i].until = a.valueOf();
1914
+ break;
1915
+ }
1916
+ }
1917
+ return r;
1918
+ }
1919
+ function ho(e, t, i) {
1920
+ var s, a, r = this.eras(), n, o, l;
1921
+ for (e = e.toUpperCase(), s = 0, a = r.length; s < a; ++s)
1922
+ if (n = r[s].name.toUpperCase(), o = r[s].abbr.toUpperCase(), l = r[s].narrow.toUpperCase(), i)
1923
+ switch (t) {
1924
+ case "N":
1925
+ case "NN":
1926
+ case "NNN":
1927
+ if (o === e)
1928
+ return r[s];
1929
+ break;
1930
+ case "NNNN":
1931
+ if (n === e)
1932
+ return r[s];
1933
+ break;
1934
+ case "NNNNN":
1935
+ if (l === e)
1936
+ return r[s];
1937
+ break;
1938
+ }
1939
+ else if ([n, o, l].indexOf(e) >= 0)
1940
+ return r[s];
1941
+ }
1942
+ function po(e, t) {
1943
+ var i = e.since <= e.until ? 1 : -1;
1944
+ return t === void 0 ? c(e.since).year() : c(e.since).year() + (t - e.offset) * i;
1945
+ }
1946
+ function _o() {
1947
+ var e, t, i, s = this.localeData().eras();
1948
+ for (e = 0, t = s.length; e < t; ++e)
1949
+ if (i = this.clone().startOf("day").valueOf(), s[e].since <= i && i <= s[e].until || s[e].until <= i && i <= s[e].since)
1950
+ return s[e].name;
1951
+ return "";
1952
+ }
1953
+ function yo() {
1954
+ var e, t, i, s = this.localeData().eras();
1955
+ for (e = 0, t = s.length; e < t; ++e)
1956
+ if (i = this.clone().startOf("day").valueOf(), s[e].since <= i && i <= s[e].until || s[e].until <= i && i <= s[e].since)
1957
+ return s[e].narrow;
1958
+ return "";
1959
+ }
1960
+ function go() {
1961
+ var e, t, i, s = this.localeData().eras();
1962
+ for (e = 0, t = s.length; e < t; ++e)
1963
+ if (i = this.clone().startOf("day").valueOf(), s[e].since <= i && i <= s[e].until || s[e].until <= i && i <= s[e].since)
1964
+ return s[e].abbr;
1965
+ return "";
1966
+ }
1967
+ function wo() {
1968
+ var e, t, i, s, a = this.localeData().eras();
1969
+ for (e = 0, t = a.length; e < t; ++e)
1970
+ if (i = a[e].since <= a[e].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), a[e].since <= s && s <= a[e].until || a[e].until <= s && s <= a[e].since)
1971
+ return (this.year() - c(a[e].since).year()) * i + a[e].offset;
1972
+ return this.year();
1973
+ }
1974
+ function vo(e) {
1975
+ return Y(this, "_erasNameRegex") || Ti.call(this), e ? this._erasNameRegex : this._erasRegex;
1976
+ }
1977
+ function ko(e) {
1978
+ return Y(this, "_erasAbbrRegex") || Ti.call(this), e ? this._erasAbbrRegex : this._erasRegex;
1979
+ }
1980
+ function Mo(e) {
1981
+ return Y(this, "_erasNarrowRegex") || Ti.call(this), e ? this._erasNarrowRegex : this._erasRegex;
1982
+ }
1983
+ function bi(e, t) {
1984
+ return t.erasAbbrRegex(e);
1985
+ }
1986
+ function Do(e, t) {
1987
+ return t.erasNameRegex(e);
1988
+ }
1989
+ function Lo(e, t) {
1990
+ return t.erasNarrowRegex(e);
1991
+ }
1992
+ function So(e, t) {
1993
+ return t._eraYearOrdinalRegex || lt;
1994
+ }
1995
+ function Ti() {
1996
+ var e = [], t = [], i = [], s = [], a, r, n, o, l, d = this.eras();
1997
+ for (a = 0, r = d.length; a < r; ++a)
1998
+ n = Ne(d[a].name), o = Ne(d[a].abbr), l = Ne(d[a].narrow), t.push(n), e.push(o), i.push(l), s.push(n), s.push(o), s.push(l);
1999
+ this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
2000
+ "^(" + i.join("|") + ")",
2001
+ "i"
2002
+ );
2003
+ }
2004
+ _(0, ["gg", 2], 0, function() {
2005
+ return this.weekYear() % 100;
2006
+ });
2007
+ _(0, ["GG", 2], 0, function() {
2008
+ return this.isoWeekYear() % 100;
2009
+ });
2010
+ function Gt(e, t) {
2011
+ _(0, [e, e.length], 0, t);
2012
+ }
2013
+ Gt("gggg", "weekYear");
2014
+ Gt("ggggg", "weekYear");
2015
+ Gt("GGGG", "isoWeekYear");
2016
+ Gt("GGGGG", "isoWeekYear");
2017
+ h("G", It);
2018
+ h("g", It);
2019
+ h("GG", I, le);
2020
+ h("gg", I, le);
2021
+ h("GGGG", hi, mi);
2022
+ h("gggg", hi, mi);
2023
+ h("GGGGG", Rt, xt);
2024
+ h("ggggg", Rt, xt);
2025
+ kt(
2026
+ ["gggg", "ggggg", "GGGG", "GGGGG"],
2027
+ function(e, t, i, s) {
2028
+ t[s.substr(0, 2)] = M(e);
2029
+ }
2030
+ );
2031
+ kt(["gg", "GG"], function(e, t, i, s) {
2032
+ t[s] = c.parseTwoDigitYear(e);
2033
+ });
2034
+ function bo(e) {
2035
+ return Us.call(
2036
+ this,
2037
+ e,
2038
+ this.week(),
2039
+ this.weekday() + this.localeData()._week.dow,
2040
+ this.localeData()._week.dow,
2041
+ this.localeData()._week.doy
2042
+ );
2043
+ }
2044
+ function To(e) {
2045
+ return Us.call(
2046
+ this,
2047
+ e,
2048
+ this.isoWeek(),
2049
+ this.isoWeekday(),
2050
+ 1,
2051
+ 4
2052
+ );
2053
+ }
2054
+ function Yo() {
2055
+ return We(this.year(), 1, 4);
2056
+ }
2057
+ function Oo() {
2058
+ return We(this.isoWeekYear(), 1, 4);
2059
+ }
2060
+ function Eo() {
2061
+ var e = this.localeData()._week;
2062
+ return We(this.year(), e.dow, e.doy);
2063
+ }
2064
+ function Co() {
2065
+ var e = this.localeData()._week;
2066
+ return We(this.weekYear(), e.dow, e.doy);
2067
+ }
2068
+ function Us(e, t, i, s, a) {
2069
+ var r;
2070
+ return e == null ? _t(this, s, a).year : (r = We(e, s, a), t > r && (t = r), Ao.call(this, e, t, i, s, a));
2071
+ }
2072
+ function Ao(e, t, i, s, a) {
2073
+ var r = ws(e, t, i, s, a), n = pt(r.year, 0, r.dayOfYear);
2074
+ return this.year(n.getUTCFullYear()), this.month(n.getUTCMonth()), this.date(n.getUTCDate()), this;
2075
+ }
2076
+ _("Q", 0, "Qo", "quarter");
2077
+ h("Q", ls);
2078
+ x("Q", function(e, t) {
2079
+ t[Ce] = (M(e) - 1) * 3;
2080
+ });
2081
+ function No(e) {
2082
+ return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
2083
+ }
2084
+ _("D", ["DD", 2], "Do", "date");
2085
+ h("D", I, ut);
2086
+ h("DD", I, le);
2087
+ h("Do", function(e, t) {
2088
+ return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
2089
+ });
2090
+ x(["D", "DD"], ke);
2091
+ x("Do", function(e, t) {
2092
+ t[ke] = M(e.match(I)[0]);
2093
+ });
2094
+ var Hs = dt("Date", !0);
2095
+ _("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2096
+ h("DDD", Ft);
2097
+ h("DDDD", us);
2098
+ x(["DDD", "DDDD"], function(e, t, i) {
2099
+ i._dayOfYear = M(e);
2100
+ });
2101
+ function Wo(e) {
2102
+ var t = Math.round(
2103
+ (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
2104
+ ) + 1;
2105
+ return e == null ? t : this.add(e - t, "d");
2106
+ }
2107
+ _("m", ["mm", 2], 0, "minute");
2108
+ h("m", I, pi);
2109
+ h("mm", I, le);
2110
+ x(["m", "mm"], _e);
2111
+ var Po = dt("Minutes", !1);
2112
+ _("s", ["ss", 2], 0, "second");
2113
+ h("s", I, pi);
2114
+ h("ss", I, le);
2115
+ x(["s", "ss"], Ae);
2116
+ var xo = dt("Seconds", !1);
2117
+ _("S", 0, 0, function() {
2118
+ return ~~(this.millisecond() / 100);
2119
+ });
2120
+ _(0, ["SS", 2], 0, function() {
2121
+ return ~~(this.millisecond() / 10);
2122
+ });
2123
+ _(0, ["SSS", 3], 0, "millisecond");
2124
+ _(0, ["SSSS", 4], 0, function() {
2125
+ return this.millisecond() * 10;
2126
+ });
2127
+ _(0, ["SSSSS", 5], 0, function() {
2128
+ return this.millisecond() * 100;
2129
+ });
2130
+ _(0, ["SSSSSS", 6], 0, function() {
2131
+ return this.millisecond() * 1e3;
2132
+ });
2133
+ _(0, ["SSSSSSS", 7], 0, function() {
2134
+ return this.millisecond() * 1e4;
2135
+ });
2136
+ _(0, ["SSSSSSSS", 8], 0, function() {
2137
+ return this.millisecond() * 1e5;
2138
+ });
2139
+ _(0, ["SSSSSSSSS", 9], 0, function() {
2140
+ return this.millisecond() * 1e6;
2141
+ });
2142
+ h("S", Ft, ls);
2143
+ h("SS", Ft, le);
2144
+ h("SSS", Ft, us);
2145
+ var Ve, js;
2146
+ for (Ve = "SSSS"; Ve.length <= 9; Ve += "S")
2147
+ h(Ve, lt);
2148
+ function Fo(e, t) {
2149
+ t[Qe] = M(("0." + e) * 1e3);
2150
+ }
2151
+ for (Ve = "S"; Ve.length <= 9; Ve += "S")
2152
+ x(Ve, Fo);
2153
+ js = dt("Milliseconds", !1);
2154
+ _("z", 0, 0, "zoneAbbr");
2155
+ _("zz", 0, 0, "zoneName");
2156
+ function Ro() {
2157
+ return this._isUTC ? "UTC" : "";
2158
+ }
2159
+ function Io() {
2160
+ return this._isUTC ? "Coordinated Universal Time" : "";
2161
+ }
2162
+ var u = wt.prototype;
2163
+ u.add = En;
2164
+ u.calendar = Fn;
2165
+ u.clone = Rn;
2166
+ u.diff = zn;
2167
+ u.endOf = to;
2168
+ u.format = Jn;
2169
+ u.from = Qn;
2170
+ u.fromNow = Kn;
2171
+ u.to = Xn;
2172
+ u.toNow = $n;
2173
+ u.get = qa;
2174
+ u.invalidAt = fo;
2175
+ u.isAfter = In;
2176
+ u.isBefore = Un;
2177
+ u.isBetween = Hn;
2178
+ u.isSame = jn;
2179
+ u.isSameOrAfter = Vn;
2180
+ u.isSameOrBefore = Gn;
2181
+ u.isValid = lo;
2182
+ u.lang = Ps;
2183
+ u.locale = Ws;
2184
+ u.localeData = xs;
2185
+ u.max = ln;
2186
+ u.min = on;
2187
+ u.parsingFlags = uo;
2188
+ u.set = Za;
2189
+ u.startOf = eo;
2190
+ u.subtract = Cn;
2191
+ u.toArray = ro;
2192
+ u.toObject = no;
2193
+ u.toDate = ao;
2194
+ u.toISOString = qn;
2195
+ u.inspect = Zn;
2196
+ typeof Symbol != "undefined" && Symbol.for != null && (u[Symbol.for("nodejs.util.inspect.custom")] = function() {
2197
+ return "Moment<" + this.format() + ">";
2198
+ });
2199
+ u.toJSON = oo;
2200
+ u.toString = Bn;
2201
+ u.unix = so;
2202
+ u.valueOf = io;
2203
+ u.creationData = co;
2204
+ u.eraName = _o;
2205
+ u.eraNarrow = yo;
2206
+ u.eraAbbr = go;
2207
+ u.eraYear = wo;
2208
+ u.year = cs;
2209
+ u.isLeapYear = Ba;
2210
+ u.weekYear = bo;
2211
+ u.isoWeekYear = To;
2212
+ u.quarter = u.quarters = No;
2213
+ u.month = ys;
2214
+ u.daysInMonth = sr;
2215
+ u.week = u.weeks = fr;
2216
+ u.isoWeek = u.isoWeeks = cr;
2217
+ u.weeksInYear = Eo;
2218
+ u.weeksInWeekYear = Co;
2219
+ u.isoWeeksInYear = Yo;
2220
+ u.isoWeeksInISOWeekYear = Oo;
2221
+ u.date = Hs;
2222
+ u.day = u.days = Sr;
2223
+ u.weekday = br;
2224
+ u.isoWeekday = Tr;
2225
+ u.dayOfYear = Wo;
2226
+ u.hour = u.hours = Wr;
2227
+ u.minute = u.minutes = Po;
2228
+ u.second = u.seconds = xo;
2229
+ u.millisecond = u.milliseconds = js;
2230
+ u.utcOffset = yn;
2231
+ u.utc = wn;
2232
+ u.local = vn;
2233
+ u.parseZone = kn;
2234
+ u.hasAlignedHourOffset = Mn;
2235
+ u.isDST = Dn;
2236
+ u.isLocal = Sn;
2237
+ u.isUtcOffset = bn;
2238
+ u.isUtc = Es;
2239
+ u.isUTC = Es;
2240
+ u.zoneAbbr = Ro;
2241
+ u.zoneName = Io;
2242
+ u.dates = ce(
2243
+ "dates accessor is deprecated. Use date instead.",
2244
+ Hs
2245
+ );
2246
+ u.months = ce(
2247
+ "months accessor is deprecated. Use month instead",
2248
+ ys
2249
+ );
2250
+ u.years = ce(
2251
+ "years accessor is deprecated. Use year instead",
2252
+ cs
2253
+ );
2254
+ u.zone = ce(
2255
+ "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2256
+ gn
2257
+ );
2258
+ u.isDSTShifted = ce(
2259
+ "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2260
+ Ln
2261
+ );
2262
+ function Uo(e) {
2263
+ return R(e * 1e3);
2264
+ }
2265
+ function Ho() {
2266
+ return R.apply(null, arguments).parseZone();
2267
+ }
2268
+ function Vs(e) {
2269
+ return e;
2270
+ }
2271
+ var O = di.prototype;
2272
+ O.calendar = La;
2273
+ O.longDateFormat = Ya;
2274
+ O.invalidDate = Ea;
2275
+ O.ordinal = Na;
2276
+ O.preparse = Vs;
2277
+ O.postformat = Vs;
2278
+ O.relativeTime = Pa;
2279
+ O.pastFuture = xa;
2280
+ O.set = Ma;
2281
+ O.eras = mo;
2282
+ O.erasParse = ho;
2283
+ O.erasConvertYear = po;
2284
+ O.erasAbbrRegex = ko;
2285
+ O.erasNameRegex = vo;
2286
+ O.erasNarrowRegex = Mo;
2287
+ O.months = $a;
2288
+ O.monthsShort = er;
2289
+ O.monthsParse = ir;
2290
+ O.monthsRegex = rr;
2291
+ O.monthsShortRegex = ar;
2292
+ O.week = or;
2293
+ O.firstDayOfYear = dr;
2294
+ O.firstDayOfWeek = ur;
2295
+ O.weekdays = vr;
2296
+ O.weekdaysMin = Mr;
2297
+ O.weekdaysShort = kr;
2298
+ O.weekdaysParse = Lr;
2299
+ O.weekdaysRegex = Yr;
2300
+ O.weekdaysShortRegex = Or;
2301
+ O.weekdaysMinRegex = Er;
2302
+ O.isPM = Ar;
2303
+ O.meridiem = Pr;
2304
+ function Nt(e, t, i, s) {
2305
+ var a = xe(), r = Le().set(s, t);
2306
+ return a[i](r, e);
2307
+ }
2308
+ function Gs(e, t, i) {
2309
+ if (Pe(e) && (t = e, e = void 0), e = e || "", t != null)
2310
+ return Nt(e, t, i, "month");
2311
+ var s, a = [];
2312
+ for (s = 0; s < 12; s++)
2313
+ a[s] = Nt(e, s, i, "month");
2314
+ return a;
2315
+ }
2316
+ function Yi(e, t, i, s) {
2317
+ typeof e == "boolean" ? (Pe(t) && (i = t, t = void 0), t = t || "") : (t = e, i = t, e = !1, Pe(t) && (i = t, t = void 0), t = t || "");
2318
+ var a = xe(), r = e ? a._week.dow : 0, n, o = [];
2319
+ if (i != null)
2320
+ return Nt(t, (i + r) % 7, s, "day");
2321
+ for (n = 0; n < 7; n++)
2322
+ o[n] = Nt(t, (n + r) % 7, s, "day");
2323
+ return o;
2324
+ }
2325
+ function jo(e, t) {
2326
+ return Gs(e, t, "months");
2327
+ }
2328
+ function Vo(e, t) {
2329
+ return Gs(e, t, "monthsShort");
2330
+ }
2331
+ function Go(e, t, i) {
2332
+ return Yi(e, t, i, "weekdays");
2333
+ }
2334
+ function zo(e, t, i) {
2335
+ return Yi(e, t, i, "weekdaysShort");
2336
+ }
2337
+ function Bo(e, t, i) {
2338
+ return Yi(e, t, i, "weekdaysMin");
2339
+ }
2340
+ Ge("en", {
2341
+ eras: [
2342
+ {
2343
+ since: "0001-01-01",
2344
+ until: 1 / 0,
2345
+ offset: 1,
2346
+ name: "Anno Domini",
2347
+ narrow: "AD",
2348
+ abbr: "AD"
2349
+ },
2350
+ {
2351
+ since: "0000-12-31",
2352
+ until: -1 / 0,
2353
+ offset: 1,
2354
+ name: "Before Christ",
2355
+ narrow: "BC",
2356
+ abbr: "BC"
2357
+ }
2358
+ ],
2359
+ dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
2360
+ ordinal: function(e) {
2361
+ var t = e % 10, i = M(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
2362
+ return e + i;
2363
+ }
2364
+ });
2365
+ c.lang = ce(
2366
+ "moment.lang is deprecated. Use moment.locale instead.",
2367
+ Ge
2368
+ );
2369
+ c.langData = ce(
2370
+ "moment.langData is deprecated. Use moment.localeData instead.",
2371
+ xe
2372
+ );
2373
+ var Oe = Math.abs;
2374
+ function qo() {
2375
+ var e = this._data;
2376
+ return this._milliseconds = Oe(this._milliseconds), this._days = Oe(this._days), this._months = Oe(this._months), e.milliseconds = Oe(e.milliseconds), e.seconds = Oe(e.seconds), e.minutes = Oe(e.minutes), e.hours = Oe(e.hours), e.months = Oe(e.months), e.years = Oe(e.years), this;
2377
+ }
2378
+ function zs(e, t, i, s) {
2379
+ var a = we(t, i);
2380
+ return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
2381
+ }
2382
+ function Zo(e, t) {
2383
+ return zs(this, e, t, 1);
2384
+ }
2385
+ function Jo(e, t) {
2386
+ return zs(this, e, t, -1);
2387
+ }
2388
+ function Ri(e) {
2389
+ return e < 0 ? Math.floor(e) : Math.ceil(e);
2390
+ }
2391
+ function Qo() {
2392
+ var e = this._milliseconds, t = this._days, i = this._months, s = this._data, a, r, n, o, l;
2393
+ return e >= 0 && t >= 0 && i >= 0 || e <= 0 && t <= 0 && i <= 0 || (e += Ri(si(i) + t) * 864e5, t = 0, i = 0), s.milliseconds = e % 1e3, a = fe(e / 1e3), s.seconds = a % 60, r = fe(a / 60), s.minutes = r % 60, n = fe(r / 60), s.hours = n % 24, t += fe(n / 24), l = fe(Bs(t)), i += l, t -= Ri(si(l)), o = fe(i / 12), i %= 12, s.days = t, s.months = i, s.years = o, this;
2394
+ }
2395
+ function Bs(e) {
2396
+ return e * 4800 / 146097;
2397
+ }
2398
+ function si(e) {
2399
+ return e * 146097 / 4800;
2400
+ }
2401
+ function Ko(e) {
2402
+ if (!this.isValid())
2403
+ return NaN;
2404
+ var t, i, s = this._milliseconds;
2405
+ if (e = me(e), e === "month" || e === "quarter" || e === "year")
2406
+ switch (t = this._days + s / 864e5, i = this._months + Bs(t), e) {
2407
+ case "month":
2408
+ return i;
2409
+ case "quarter":
2410
+ return i / 3;
2411
+ case "year":
2412
+ return i / 12;
2413
+ }
2414
+ else
2415
+ switch (t = this._days + Math.round(si(this._months)), e) {
2416
+ case "week":
2417
+ return t / 7 + s / 6048e5;
2418
+ case "day":
2419
+ return t + s / 864e5;
2420
+ case "hour":
2421
+ return t * 24 + s / 36e5;
2422
+ case "minute":
2423
+ return t * 1440 + s / 6e4;
2424
+ case "second":
2425
+ return t * 86400 + s / 1e3;
2426
+ case "millisecond":
2427
+ return Math.floor(t * 864e5) + s;
2428
+ default:
2429
+ throw new Error("Unknown unit " + e);
2430
+ }
2431
+ }
2432
+ function Fe(e) {
2433
+ return function() {
2434
+ return this.as(e);
2435
+ };
2436
+ }
2437
+ var qs = Fe("ms"), Xo = Fe("s"), $o = Fe("m"), el = Fe("h"), tl = Fe("d"), il = Fe("w"), sl = Fe("M"), al = Fe("Q"), rl = Fe("y"), nl = qs;
2438
+ function ol() {
2439
+ return we(this);
2440
+ }
2441
+ function ll(e) {
2442
+ return e = me(e), this.isValid() ? this[e + "s"]() : NaN;
2443
+ }
2444
+ function $e(e) {
2445
+ return function() {
2446
+ return this.isValid() ? this._data[e] : NaN;
2447
+ };
2448
+ }
2449
+ var ul = $e("milliseconds"), dl = $e("seconds"), fl = $e("minutes"), cl = $e("hours"), ml = $e("days"), hl = $e("months"), pl = $e("years");
2450
+ function _l() {
2451
+ return fe(this.days() / 7);
2452
+ }
2453
+ var Ee = Math.round, st = {
2454
+ ss: 44,
2455
+ // a few seconds to seconds
2456
+ s: 45,
2457
+ // seconds to minute
2458
+ m: 45,
2459
+ // minutes to hour
2460
+ h: 22,
2461
+ // hours to day
2462
+ d: 26,
2463
+ // days to month/week
2464
+ w: null,
2465
+ // weeks to month
2466
+ M: 11
2467
+ // months to year
2468
+ };
2469
+ function yl(e, t, i, s, a) {
2470
+ return a.relativeTime(t || 1, !!i, e, s);
2471
+ }
2472
+ function gl(e, t, i, s) {
2473
+ var a = we(e).abs(), r = Ee(a.as("s")), n = Ee(a.as("m")), o = Ee(a.as("h")), l = Ee(a.as("d")), d = Ee(a.as("M")), p = Ee(a.as("w")), A = Ee(a.as("y")), v = r <= i.ss && ["s", r] || r < i.s && ["ss", r] || n <= 1 && ["m"] || n < i.m && ["mm", n] || o <= 1 && ["h"] || o < i.h && ["hh", o] || l <= 1 && ["d"] || l < i.d && ["dd", l];
2474
+ return i.w != null && (v = v || p <= 1 && ["w"] || p < i.w && ["ww", p]), v = v || d <= 1 && ["M"] || d < i.M && ["MM", d] || A <= 1 && ["y"] || ["yy", A], v[2] = t, v[3] = +e > 0, v[4] = s, yl.apply(null, v);
2475
+ }
2476
+ function wl(e) {
2477
+ return e === void 0 ? Ee : typeof e == "function" ? (Ee = e, !0) : !1;
2478
+ }
2479
+ function vl(e, t) {
2480
+ return st[e] === void 0 ? !1 : t === void 0 ? st[e] : (st[e] = t, e === "s" && (st.ss = t - 1), !0);
2481
+ }
2482
+ function kl(e, t) {
2483
+ if (!this.isValid())
2484
+ return this.localeData().invalidDate();
2485
+ var i = !1, s = st, a, r;
2486
+ return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (i = e), typeof t == "object" && (s = Object.assign({}, st, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), r = gl(this, !i, s, a), i && (r = a.pastFuture(+this, r)), a.postformat(r);
2487
+ }
2488
+ var Qt = Math.abs;
2489
+ function tt(e) {
2490
+ return (e > 0) - (e < 0) || +e;
2491
+ }
2492
+ function zt() {
2493
+ if (!this.isValid())
2494
+ return this.localeData().invalidDate();
2495
+ var e = Qt(this._milliseconds) / 1e3, t = Qt(this._days), i = Qt(this._months), s, a, r, n, o = this.asSeconds(), l, d, p, A;
2496
+ return o ? (s = fe(e / 60), a = fe(s / 60), e %= 60, s %= 60, r = fe(i / 12), i %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", l = o < 0 ? "-" : "", d = tt(this._months) !== tt(o) ? "-" : "", p = tt(this._days) !== tt(o) ? "-" : "", A = tt(this._milliseconds) !== tt(o) ? "-" : "", l + "P" + (r ? d + r + "Y" : "") + (i ? d + i + "M" : "") + (t ? p + t + "D" : "") + (a || s || e ? "T" : "") + (a ? A + a + "H" : "") + (s ? A + s + "M" : "") + (e ? A + n + "S" : "")) : "P0D";
2497
+ }
2498
+ var T = Vt.prototype;
2499
+ T.isValid = mn;
2500
+ T.abs = qo;
2501
+ T.add = Zo;
2502
+ T.subtract = Jo;
2503
+ T.as = Ko;
2504
+ T.asMilliseconds = qs;
2505
+ T.asSeconds = Xo;
2506
+ T.asMinutes = $o;
2507
+ T.asHours = el;
2508
+ T.asDays = tl;
2509
+ T.asWeeks = il;
2510
+ T.asMonths = sl;
2511
+ T.asQuarters = al;
2512
+ T.asYears = rl;
2513
+ T.valueOf = nl;
2514
+ T._bubble = Qo;
2515
+ T.clone = ol;
2516
+ T.get = ll;
2517
+ T.milliseconds = ul;
2518
+ T.seconds = dl;
2519
+ T.minutes = fl;
2520
+ T.hours = cl;
2521
+ T.days = ml;
2522
+ T.weeks = _l;
2523
+ T.months = hl;
2524
+ T.years = pl;
2525
+ T.humanize = kl;
2526
+ T.toISOString = zt;
2527
+ T.toString = zt;
2528
+ T.toJSON = zt;
2529
+ T.locale = Ws;
2530
+ T.localeData = xs;
2531
+ T.toIsoString = ce(
2532
+ "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2533
+ zt
2534
+ );
2535
+ T.lang = Ps;
2536
+ _("X", 0, 0, "unix");
2537
+ _("x", 0, 0, "valueOf");
2538
+ h("x", It);
2539
+ h("X", Ua);
2540
+ x("X", function(e, t, i) {
2541
+ i._d = new Date(parseFloat(e) * 1e3);
2542
+ });
2543
+ x("x", function(e, t, i) {
2544
+ i._d = new Date(M(e));
2545
+ });
2546
+ //! moment.js
2547
+ c.version = "2.30.1";
2548
+ va(R);
2549
+ c.fn = u;
2550
+ c.min = un;
2551
+ c.max = dn;
2552
+ c.now = fn;
2553
+ c.utc = Le;
2554
+ c.unix = Uo;
2555
+ c.months = jo;
2556
+ c.isDate = gt;
2557
+ c.locale = Ge;
2558
+ c.invalid = Pt;
2559
+ c.duration = we;
2560
+ c.isMoment = ge;
2561
+ c.weekdays = Go;
2562
+ c.parseZone = Ho;
2563
+ c.localeData = xe;
2564
+ c.isDuration = bt;
2565
+ c.monthsShort = Vo;
2566
+ c.weekdaysMin = Bo;
2567
+ c.defineLocale = vi;
2568
+ c.updateLocale = Ir;
2569
+ c.locales = Ur;
2570
+ c.weekdaysShort = zo;
2571
+ c.normalizeUnits = me;
2572
+ c.relativeTimeRounding = wl;
2573
+ c.relativeTimeThreshold = vl;
2574
+ c.calendarFormat = xn;
2575
+ c.prototype = u;
2576
+ c.HTML5_FMT = {
2577
+ DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
2578
+ // <input type="datetime-local" />
2579
+ DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
2580
+ // <input type="datetime-local" step="1" />
2581
+ DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
2582
+ // <input type="datetime-local" step="0.001" />
2583
+ DATE: "YYYY-MM-DD",
2584
+ // <input type="date" />
2585
+ TIME: "HH:mm",
2586
+ // <input type="time" />
2587
+ TIME_SECONDS: "HH:mm:ss",
2588
+ // <input type="time" step="1" />
2589
+ TIME_MS: "HH:mm:ss.SSS",
2590
+ // <input type="time" step="0.001" />
2591
+ WEEK: "GGGG-[W]WW",
2592
+ // <input type="week" />
2593
+ MONTH: "YYYY-MM"
2594
+ // <input type="month" />
2595
+ };
2596
+ function Ii(e, t) {
2597
+ aa(e, t);
2598
+ }
2599
+ function Ml(e) {
2600
+ ra.set(e);
2601
+ }
2602
+ const Ui = {
2603
+ en: {
2604
+ back: "Back to Gaming Limits",
2605
+ limit: "Limit",
2606
+ amount: "Amount",
2607
+ noLimit: "No limit",
2608
+ changeLimitsText: "Are you sure you want to change the {limit}s?",
2609
+ success: "Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",
2610
+ remove: "You have requested to remove this limit. This will be applied on",
2611
+ invalidInputMessageLimit: "The amount needs to be between 1 and 99,999,999.",
2612
+ invalidInputMessageTime: "The time amount needs to be greater than {minTime} and below {maxTime} minutes.",
2613
+ expirationDate: "Expiration Date:",
2614
+ save: "Save",
2615
+ changedLimitTextBefore: "Your limit has been changed or increased:",
2616
+ changedLimitTextAfter: "You will have to wait for the expiration date for your new limit to take effect.",
2617
+ daily: "Daily",
2618
+ weekly: "Weekly",
2619
+ monthly: "Monthly",
2620
+ depositLimit: "Deposit Limit",
2621
+ timeLimit: "Time Limit",
2622
+ wageringLimit: "Wagering Limit",
2623
+ lossLimit: "Loss Limit"
2624
+ },
2625
+ "zh-hk": {
2626
+ back: "返回游戲限制",
2627
+ limit: "限制",
2628
+ amount: "數量",
2629
+ noLimit: "沒有限制t",
2630
+ changeLimitsText: "您確定要更改 {limit} 嗎?",
2631
+ success: "您的遊戲限制已成功設置。",
2632
+ remove: "您已請求取消此限制。 這將應用於",
2633
+ invalidInputMessageLimit: "金額需要在 0 到 99,999,999 之間",
2634
+ invalidInputMessageTime: "時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",
2635
+ expirationDate: "截止日期:",
2636
+ save: "節省",
2637
+ changedLimitTextBefore: "您的限額已更改或增加:",
2638
+ changedLimitTextAfter: "您必須等待到期日期才能使新限制生效",
2639
+ daily: "日常的",
2640
+ weekly: "每周",
2641
+ monthly: "月刊",
2642
+ depositLimit: "存款限额",
2643
+ timeLimit: "时限",
2644
+ wageringLimit: "投注限额",
2645
+ lossLimit: "损失限额"
2646
+ },
2647
+ fr: {
2648
+ back: "Retour aux limites de jeu",
2649
+ daily: "Quotidiennement",
2650
+ weekly: "Hebdomadaire",
2651
+ monthly: "Mensuel",
2652
+ limit: "Limite",
2653
+ amount: "Montant",
2654
+ noLimit: "Aucune limite",
2655
+ changeLimitsText: "Etes-vous sûr de vouloir changer les {limit}s??",
2656
+ success: "Vos limites de jeu ont été respectées.",
2657
+ remove: "Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",
2658
+ invalidInputMessageLimit: "Le montant doit être compris entre 1 et 99,999,999.",
2659
+ invalidInputMessageTime: "La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",
2660
+ expirationDate: "Date d'expiration:",
2661
+ save: "Sauvez",
2662
+ changedLimitTextBefore: "Votre limit a été modifiée ou augmentée:",
2663
+ changedLimitTextAfter: "Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",
2664
+ depositLimit: "Limite de dépôt",
2665
+ timeLimit: "Limite de temps",
2666
+ wageringLimit: "Limite de mise",
2667
+ lossLimit: "Limite de perte"
2668
+ },
2669
+ ro: {
2670
+ back: "Înapoi la limite de joc",
2671
+ limit: "Limită",
2672
+ amount: "Sumă",
2673
+ noLimit: "Fără Limită",
2674
+ changeLimitsText: "Ești sigur că vrei să modifici {limit}?",
2675
+ success: "Limitele tale de joc au fost configurate cu success.",
2676
+ remove: "Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",
2677
+ invalidInputMessageLimit: "Trebuie să setezi o sumă intre 1 și 99,999,999.",
2678
+ invalidInputMessageTime: "Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",
2679
+ expirationDate: "Dată Expirare:",
2680
+ save: "Salvează",
2681
+ changedLimitTextBefore: "Limita ta a fost schimbată sau a crescut:",
2682
+ changedLimitTextAfter: ". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",
2683
+ daily: "Zilnic",
2684
+ weekly: "Săptămânal",
2685
+ monthly: "Lunar",
2686
+ depositLimit: "Limită de depunere",
2687
+ timeLimit: "Limită de timp",
2688
+ wageringLimit: "Limită de pariere",
2689
+ lossLimit: "Limite de pierdere"
2690
+ },
2691
+ es: {
2692
+ back: "Regresa a límites de juego",
2693
+ limit: "Límite",
2694
+ amount: "Monto",
2695
+ noLimit: "Sin Límite",
2696
+ changeLimitsText: "Esta seguro que desea cambiar los {limit}es?",
2697
+ success: "Limite actualizado satisfactoriamente",
2698
+ remove: "Ha solicitado retirar este limite. Esto será aplicado",
2699
+ invalidInputMessageLimit: "El monto debe ser entre 1 y 99",
2700
+ invalidInputMessageTime: "La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",
2701
+ expirationDate: "Fecha de expiración:",
2702
+ save: "Guardar",
2703
+ changedLimitTextBefore: "Tú limite ha sido cambiado o incrementado:",
2704
+ changedLimitTextAfter: "Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",
2705
+ daily: "Diario",
2706
+ weekly: "Semanal",
2707
+ monthly: "Mensual",
2708
+ depositLimit: "Límite de depósito",
2709
+ timeLimit: "Límite de tiempo",
2710
+ wageringLimit: "Límite de apuestas",
2711
+ lossLimit: "Límite de pérdida"
2712
+ },
2713
+ pt: {
2714
+ back: "Voltar para Limites de jogos",
2715
+ limit: "Limite",
2716
+ amount: "Montante",
2717
+ noLimit: "Sem limite",
2718
+ changeLimitsText: "Tem certeza de que deseja alterar os {limite}s?",
2719
+ success: "Seus limites de jogo foram definidos com sucesso.",
2720
+ remove: "Você solicitou a remoção deste limite. Isso será aplicado em",
2721
+ invalidInputMessageLimit: "O valor precisa estar entre 1 e 99.999.999",
2722
+ invalidInputMessageTime: "A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",
2723
+ expirationDate: "Data de Validade",
2724
+ save: "Guardar",
2725
+ changedLimitTextBefore: "Seu limite foi alterado ou aumentado:",
2726
+ changedLimitTextAfter: "Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",
2727
+ daily: "Diariamente",
2728
+ weekly: "Semanalmente",
2729
+ monthly: "Mensalmente",
2730
+ depositLimit: "Limite de Depósito",
2731
+ timeLimit: "Limite de Tempo",
2732
+ wageringLimit: "Limite de Apostas",
2733
+ lossLimit: "Limite de Perda"
2734
+ },
2735
+ hr: {
2736
+ back: "Povratak na ograničenja igranja",
2737
+ limit: "Limit",
2738
+ amount: "Iznos",
2739
+ noLimit: "Nema ograničenja",
2740
+ changeLimitsText: "Jeste li sigurni da želite promijeniti {limit}e?",
2741
+ success: "Uspješno",
2742
+ remove: "Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",
2743
+ invalidInputMessageLimit: "Iznos mora biti između 1 i 99",
2744
+ invalidInputMessageTime: "Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",
2745
+ expirationDate: "Datum isteka:",
2746
+ save: "Spremi",
2747
+ changedLimitTextBefore: "Vaše ograničenje je promijenjeno ili povećano:",
2748
+ changedLimitTextAfter: "Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",
2749
+ daily: "Dnevno",
2750
+ weekly: "Tjedno",
2751
+ monthly: "Mjesečno",
2752
+ depositLimit: "Ograničenje uplate",
2753
+ timeLimit: "Vremensko ograničenje",
2754
+ wageringLimit: "Ograničenje igranja",
2755
+ lossLimit: "Ograničenje gubitka"
2756
+ },
2757
+ "pt-br": {
2758
+ back: "Retornar aos limites do jogo",
2759
+ limit: "Limite",
2760
+ amount: "Quantidade",
2761
+ noLimit: "Sem limite",
2762
+ changeLimitsText: "Tem certeza de que deseja alterar o(s) limite(s)?",
2763
+ success: "A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",
2764
+ remove: "Você solicitou a remoção deste limite. Isto será aplicado a partir de",
2765
+ invalidInputMessageLimit: "A Quantia deve estar entre 1 e 99",
2766
+ invalidInputMessageTime: "A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",
2767
+ expirationDate: "Data de expiração:",
2768
+ save: "Manter",
2769
+ changedLimitTextBefore: "Seu limite de tempo foi alterado ou aumentado:",
2770
+ changedLimitTextAfter: "Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",
2771
+ daily: "Diário",
2772
+ weekly: "Semanalmente",
2773
+ monthly: "Por mês",
2774
+ depositLimit: "Limite de depósito",
2775
+ timeLimit: "Limite de tempo",
2776
+ wageringLimit: "Limite de aposta",
2777
+ lossLimit: "Limite de perda"
2778
+ },
2779
+ "es-mx": {
2780
+ back: "Regresar a límites de juego",
2781
+ limit: "Límite",
2782
+ amount: "Monto",
2783
+ noLimit: "Sin límite",
2784
+ changeLimitsText: "¿Está seguro que quiere cambiar el/los límite(s)?",
2785
+ success: "Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",
2786
+ remove: "Ha solicitado remover este límite. Esto se aplicará a partir de",
2787
+ invalidInputMessageLimit: "El monto debe ser entre 1 y 99,999,999",
2788
+ invalidInputMessageTime: "El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",
2789
+ expirationDate: "Fecha de expiración:",
2790
+ save: "Guardar",
2791
+ changedLimitTextBefore: "Tú límite de tiempo ha sido cambiado o aumentado:",
2792
+ changedLimitTextAfter: "Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",
2793
+ daily: "Diario",
2794
+ weekly: "Semanal",
2795
+ monthly: "Mensual",
2796
+ depositLimit: "Límite de depósito",
2797
+ timeLimit: "Límite de tiempo",
2798
+ wageringLimit: "Límite de apuesta",
2799
+ lossLimit: "Límite de pérdida"
2800
+ },
2801
+ tr: {
2802
+ back: "Oyun Sınırlarına Geri Dön",
2803
+ limit: "Sınır",
2804
+ amount: "Miktar",
2805
+ noLimit: "Limit yok",
2806
+ changeLimitsText: "{limit}'leri değiştirmek istediğinizden emin misiniz?",
2807
+ success: "Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",
2808
+ remove: "Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",
2809
+ invalidInputMessageLimit: "Tutarın 1 ile 99.999.999 arasında olması gerekir.",
2810
+ invalidInputMessageTime: "Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",
2811
+ expirationDate: "Son kullanma tarihi:",
2812
+ save: "Kaydetmek",
2813
+ changedLimitTextBefore: "Limitiniz değiştirildi veya artırıldı:",
2814
+ changedLimitTextAfter: "Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",
2815
+ daily: "Günlük",
2816
+ weekly: "Haftalık",
2817
+ monthly: "Aylık",
2818
+ depositLimit: "Para Yatırma Limiti",
2819
+ timeLimit: "Zaman sınırı",
2820
+ wageringLimit: "Bahis Limiti",
2821
+ lossLimit: "Kayıp Limiti"
2822
+ }
2823
+ };
2824
+ if (typeof window != "undefined") {
2825
+ let e = function(t) {
2826
+ return function(...i) {
2827
+ try {
2828
+ return t.apply(this, i);
2829
+ } catch (s) {
2830
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
2831
+ return !1;
2832
+ throw s;
2833
+ }
2834
+ };
2835
+ };
2836
+ customElements.define = e(customElements.define), import("./PlayerAccountModal-C0S3GOGp.js").then(({ default: t }) => {
2837
+ !customElements.get("player-account-modal") && customElements.define("player-account-modal", t.element);
2838
+ });
2839
+ }
2840
+ if (typeof window != "undefined") {
2841
+ let e = function(t) {
2842
+ return function(...i) {
2843
+ try {
2844
+ return t.apply(this, i);
2845
+ } catch (s) {
2846
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
2847
+ return !1;
2848
+ throw s;
2849
+ }
2850
+ };
2851
+ };
2852
+ customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-DoJuz29x.js").then(
2853
+ ({ default: t }) => {
2854
+ !customElements.get("player-account-gaming-limits-confirmation-modal") && customElements.define(
2855
+ "player-account-gaming-limits-confirmation-modal",
2856
+ t.element
2857
+ );
2858
+ }
2859
+ );
2860
+ }
2861
+ function Dl(e) {
2862
+ da(e, "svelte-t7w5ue", ".MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}");
2863
+ }
2864
+ function Hi(e, t, i) {
2865
+ const s = e.slice();
2866
+ return s[56] = t[i], s[57] = t, s[58] = i, s;
2867
+ }
2868
+ function ji(e, t, i) {
2869
+ const s = e.slice();
2870
+ return s[59] = t[i], s;
2871
+ }
2872
+ function Vi(e, t, i) {
2873
+ const s = e.slice();
2874
+ return s[56] = t[i], s[58] = i, s;
2875
+ }
2876
+ function Ll(e) {
2877
+ let t, i, s, a, r, n, o, l, d, p, A = (
2878
+ /*$_*/
2879
+ e[18]("back") + ""
2880
+ ), v, E, D;
2881
+ return {
2882
+ c() {
2883
+ t = k("div"), i = de("svg"), s = de("defs"), a = de("style"), r = z(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"), n = de("g"), o = de("g"), l = de("path"), d = V(), p = k("h2"), v = z(A), g(l, "class", "aaa"), g(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(l, "transform", "translate(15 15) rotate(180)"), g(o, "transform", "translate(20 158)"), g(n, "transform", "translate(-20 -158)"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "15"), g(i, "height", "15"), g(i, "viewBox", "0 0 15 15"), g(p, "class", "MyAccountCategoryTitleMobile"), g(t, "class", "MenuReturnButton");
2884
+ },
2885
+ m(L, S) {
2886
+ W(L, t, S), m(t, i), m(i, s), m(s, a), m(a, r), m(i, n), m(n, o), m(o, l), m(t, d), m(t, p), m(p, v), E || (D = Me(
2887
+ t,
2888
+ "click",
2889
+ /*switchToLimitsGroupView*/
2890
+ e[22]
2891
+ ), E = !0);
2892
+ },
2893
+ p(L, S) {
2894
+ S[0] & /*$_*/
2895
+ 262144 && A !== (A = /*$_*/
2896
+ L[18]("back") + "") && Q(v, A);
2897
+ },
2898
+ d(L) {
2899
+ L && P(t), E = !1, D();
2900
+ }
2901
+ };
2902
+ }
2903
+ function Gi(e) {
2904
+ let t, i, s = (
2905
+ /*$_*/
2906
+ e[18]("success") + ""
2907
+ ), a;
2908
+ return {
2909
+ c() {
2910
+ t = k("div"), i = k("p"), a = z(s), g(t, "class", "AccountEditLimitSuccessfulChangeContainer");
2911
+ },
2912
+ m(r, n) {
2913
+ W(r, t, n), m(t, i), m(i, a);
2914
+ },
2915
+ p(r, n) {
2916
+ n[0] & /*$_*/
2917
+ 262144 && s !== (s = /*$_*/
2918
+ r[18]("success") + "") && Q(a, s);
2919
+ },
2920
+ d(r) {
2921
+ r && P(t);
2922
+ }
2923
+ };
2924
+ }
2925
+ function zi(e) {
2926
+ let t, i = ot(
2927
+ /*limitsUpdateData*/
2928
+ e[14]
2929
+ ), s = [];
2930
+ for (let a = 0; a < i.length; a += 1)
2931
+ s[a] = qi(Vi(e, i, a));
2932
+ return {
2933
+ c() {
2934
+ t = k("div");
2935
+ for (let a = 0; a < s.length; a += 1)
2936
+ s[a].c();
2937
+ g(t, "class", "AccountEditLimitSuccessfulChangeContainer");
2938
+ },
2939
+ m(a, r) {
2940
+ W(a, t, r);
2941
+ for (let n = 0; n < s.length; n += 1)
2942
+ s[n] && s[n].m(t, null);
2943
+ },
2944
+ p(a, r) {
2945
+ if (r[0] & /*limitsUpdateData, $_, storedData*/
2946
+ 409600) {
2947
+ i = ot(
2948
+ /*limitsUpdateData*/
2949
+ a[14]
2950
+ );
2951
+ let n;
2952
+ for (n = 0; n < i.length; n += 1) {
2953
+ const o = Vi(a, i, n);
2954
+ s[n] ? s[n].p(o, r) : (s[n] = qi(o), s[n].c(), s[n].m(t, null));
2955
+ }
2956
+ for (; n < s.length; n += 1)
2957
+ s[n].d(1);
2958
+ s.length = i.length;
2959
+ }
2960
+ },
2961
+ d(a) {
2962
+ a && P(t), ai(s, a);
2963
+ }
2964
+ };
2965
+ }
2966
+ function Bi(e) {
2967
+ let t, i = (
2968
+ /*$_*/
2969
+ e[18]("remove") + ""
2970
+ ), s, a, r = (
2971
+ /*selectData*/
2972
+ (e[56].expiryDate ? c(
2973
+ /*selectData*/
2974
+ e[56].expiryDate
2975
+ ).format("D/M/YYYY - h:mm A") : "N/A") + ""
2976
+ ), n;
2977
+ return {
2978
+ c() {
2979
+ t = k("p"), s = z(i), a = V(), n = z(r);
2980
+ },
2981
+ m(o, l) {
2982
+ W(o, t, l), m(t, s), m(t, a), m(t, n);
2983
+ },
2984
+ p(o, l) {
2985
+ l[0] & /*$_*/
2986
+ 262144 && i !== (i = /*$_*/
2987
+ o[18]("remove") + "") && Q(s, i), l[0] & /*limitsUpdateData*/
2988
+ 16384 && r !== (r = /*selectData*/
2989
+ (o[56].expiryDate ? c(
2990
+ /*selectData*/
2991
+ o[56].expiryDate
2992
+ ).format("D/M/YYYY - h:mm A") : "N/A") + "") && Q(n, r);
2993
+ },
2994
+ d(o) {
2995
+ o && P(t);
2996
+ }
2997
+ };
2998
+ }
2999
+ function qi(e) {
3000
+ let t, i = (
3001
+ /*selectData*/
3002
+ e[56].period == /*storedData*/
3003
+ e[17][
3004
+ /*index*/
3005
+ e[58]
3006
+ ].period && Bi(e)
3007
+ );
3008
+ return {
3009
+ c() {
3010
+ i && i.c(), t = ri();
3011
+ },
3012
+ m(s, a) {
3013
+ i && i.m(s, a), W(s, t, a);
3014
+ },
3015
+ p(s, a) {
3016
+ /*selectData*/
3017
+ s[56].period == /*storedData*/
3018
+ s[17][
3019
+ /*index*/
3020
+ s[58]
3021
+ ].period ? i ? i.p(s, a) : (i = Bi(s), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
3022
+ },
3023
+ d(s) {
3024
+ s && P(t), i && i.d(s);
3025
+ }
3026
+ };
3027
+ }
3028
+ function Zi(e) {
3029
+ let t, i, s = ot(
3030
+ /*limitsUpdateData*/
3031
+ e[14]
3032
+ ), a = [];
3033
+ for (let r = 0; r < s.length; r += 1)
3034
+ a[r] = is(Hi(e, s, r));
3035
+ return {
3036
+ c() {
3037
+ t = k("div"), i = k("div");
3038
+ for (let r = 0; r < a.length; r += 1)
3039
+ a[r].c();
3040
+ g(i, "class", "AccountEditLimitsContainer"), g(t, "class", "AccountEditContent");
3041
+ },
3042
+ m(r, n) {
3043
+ W(r, t, n), m(t, i);
3044
+ for (let o = 0; o < a.length; o += 1)
3045
+ a[o] && a[o].m(i, null);
3046
+ },
3047
+ p(r, n) {
3048
+ if (n[0] & /*$_, limitsUpdateData, playercurrency, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, minTimeValue, maxTimeValue, isMobile, limitPredefinedData*/
3049
+ 18836560) {
3050
+ s = ot(
3051
+ /*limitsUpdateData*/
3052
+ r[14]
3053
+ );
3054
+ let o;
3055
+ for (o = 0; o < s.length; o += 1) {
3056
+ const l = Hi(r, s, o);
3057
+ a[o] ? a[o].p(l, n) : (a[o] = is(l), a[o].c(), a[o].m(i, null));
3058
+ }
3059
+ for (; o < a.length; o += 1)
3060
+ a[o].d(1);
3061
+ a.length = s.length;
3062
+ }
3063
+ },
3064
+ d(r) {
3065
+ r && P(t), ai(a, r);
3066
+ }
3067
+ };
3068
+ }
3069
+ function Ji(e) {
3070
+ let t, i, s = (
3071
+ /*$_*/
3072
+ e[18]("noLimit") + ""
3073
+ ), a, r, n, o, l, d, p, A, v = ot(
3074
+ /*limitPredefinedData*/
3075
+ e[20].get(
3076
+ /*limitname*/
3077
+ e[6]
3078
+ )[
3079
+ /*index*/
3080
+ e[58]
3081
+ ].values
3082
+ ), E = [];
3083
+ for (let b = 0; b < v.length; b += 1)
3084
+ E[b] = Ki(ji(e, v, b));
3085
+ function D() {
3086
+ e[29].call(
3087
+ t,
3088
+ /*index*/
3089
+ e[58]
3090
+ );
3091
+ }
3092
+ let L = (
3093
+ /*storedData*/
3094
+ e[17][
3095
+ /*index*/
3096
+ e[58]
3097
+ ].amount === "Custom" && Xi(e)
3098
+ ), S = (
3099
+ /*selectData*/
3100
+ e[56].isModified === !0 && ts(e)
3101
+ );
3102
+ return {
3103
+ c() {
3104
+ t = k("select"), i = k("option"), a = z(s);
3105
+ for (let b = 0; b < E.length; b += 1)
3106
+ E[b].c();
3107
+ n = V(), o = k("div"), L && L.c(), l = V(), S && S.c(), d = ri(), i.__value = "", Xe(i, i.__value), i.disabled = !0, i.selected = !0, i.hidden = !0, g(t, "class", "AccountEditField " + /*isMobile*/
3108
+ (e[19] ? "TimeoutSelectMobile" : "")), t.disabled = r = /*selectData*/
3109
+ e[56].isModified === !0, /*storedData*/
3110
+ e[17][
3111
+ /*index*/
3112
+ e[58]
3113
+ ].amount === void 0 && ya(D), g(o, "class", "AccountEditLimitsInputContainer");
3114
+ },
3115
+ m(b, F) {
3116
+ W(b, t, F), m(t, i), m(i, a);
3117
+ for (let N = 0; N < E.length; N += 1)
3118
+ E[N] && E[N].m(t, null);
3119
+ Ai(
3120
+ t,
3121
+ /*storedData*/
3122
+ e[17][
3123
+ /*index*/
3124
+ e[58]
3125
+ ].amount,
3126
+ !0
3127
+ ), W(b, n, F), W(b, o, F), L && L.m(o, null), W(b, l, F), S && S.m(b, F), W(b, d, F), p || (A = [
3128
+ Me(t, "change", D),
3129
+ Me(t, "change", function() {
3130
+ ni(
3131
+ /*checkUserInputAmount*/
3132
+ e[24](
3133
+ /*storedData*/
3134
+ e[17][
3135
+ /*index*/
3136
+ e[58]
3137
+ ],
3138
+ /*index*/
3139
+ e[58],
3140
+ !1,
3141
+ /*updatedLimitValues*/
3142
+ e[16]
3143
+ )
3144
+ ) && e[24](
3145
+ /*storedData*/
3146
+ e[17][
3147
+ /*index*/
3148
+ e[58]
3149
+ ],
3150
+ /*index*/
3151
+ e[58],
3152
+ !1,
3153
+ /*updatedLimitValues*/
3154
+ e[16]
3155
+ ).apply(this, arguments);
3156
+ })
3157
+ ], p = !0);
3158
+ },
3159
+ p(b, F) {
3160
+ if (e = b, F[0] & /*$_*/
3161
+ 262144 && s !== (s = /*$_*/
3162
+ e[18]("noLimit") + "") && Q(a, s), F[0] & /*limitPredefinedData, limitname, playercurrency*/
3163
+ 1048656) {
3164
+ v = ot(
3165
+ /*limitPredefinedData*/
3166
+ e[20].get(
3167
+ /*limitname*/
3168
+ e[6]
3169
+ )[
3170
+ /*index*/
3171
+ e[58]
3172
+ ].values
3173
+ );
3174
+ let N;
3175
+ for (N = 0; N < v.length; N += 1) {
3176
+ const ae = ji(e, v, N);
3177
+ E[N] ? E[N].p(ae, F) : (E[N] = Ki(ae), E[N].c(), E[N].m(t, null));
3178
+ }
3179
+ for (; N < E.length; N += 1)
3180
+ E[N].d(1);
3181
+ E.length = v.length;
3182
+ }
3183
+ F[0] & /*limitsUpdateData*/
3184
+ 16384 && r !== (r = /*selectData*/
3185
+ e[56].isModified === !0) && (t.disabled = r), F[0] & /*storedData, limitPredefinedData, limitname*/
3186
+ 1179712 && Ai(
3187
+ t,
3188
+ /*storedData*/
3189
+ e[17][
3190
+ /*index*/
3191
+ e[58]
3192
+ ].amount
3193
+ ), /*storedData*/
3194
+ e[17][
3195
+ /*index*/
3196
+ e[58]
3197
+ ].amount === "Custom" ? L ? L.p(e, F) : (L = Xi(e), L.c(), L.m(o, null)) : L && (L.d(1), L = null), /*selectData*/
3198
+ e[56].isModified === !0 ? S ? S.p(e, F) : (S = ts(e), S.c(), S.m(d.parentNode, d)) : S && (S.d(1), S = null);
3199
+ },
3200
+ d(b) {
3201
+ b && (P(t), P(n), P(o), P(l), P(d)), ai(E, b), L && L.d(), S && S.d(b), p = !1, Wt(A);
3202
+ }
3203
+ };
3204
+ }
3205
+ function Qi(e) {
3206
+ let t = (
3207
+ /*limitname*/
3208
+ (e[6] !== "Time Limit" ? (
3209
+ /*playercurrency*/
3210
+ e[4]
3211
+ ) : " minutes") + ""
3212
+ ), i;
3213
+ return {
3214
+ c() {
3215
+ i = z(t);
3216
+ },
3217
+ m(s, a) {
3218
+ W(s, i, a);
3219
+ },
3220
+ p(s, a) {
3221
+ a[0] & /*limitname, playercurrency*/
3222
+ 80 && t !== (t = /*limitname*/
3223
+ (s[6] !== "Time Limit" ? (
3224
+ /*playercurrency*/
3225
+ s[4]
3226
+ ) : " minutes") + "") && Q(i, t);
3227
+ },
3228
+ d(s) {
3229
+ s && P(i);
3230
+ }
3231
+ };
3232
+ }
3233
+ function Ki(e) {
3234
+ let t, i = (
3235
+ /*predefinedData*/
3236
+ e[59] + ""
3237
+ ), s, a, r, n, o = (
3238
+ /*predefinedData*/
3239
+ e[59] !== "No limit" && /*predefinedData*/
3240
+ e[59] !== "Custom" && Qi(e)
3241
+ );
3242
+ return {
3243
+ c() {
3244
+ t = k("option"), s = z(i), a = V(), o && o.c(), r = V(), t.__value = n = /*predefinedData*/
3245
+ e[59], Xe(t, t.__value);
3246
+ },
3247
+ m(l, d) {
3248
+ W(l, t, d), m(t, s), m(t, a), o && o.m(t, null), m(t, r);
3249
+ },
3250
+ p(l, d) {
3251
+ d[0] & /*limitname*/
3252
+ 64 && i !== (i = /*predefinedData*/
3253
+ l[59] + "") && Q(s, i), /*predefinedData*/
3254
+ l[59] !== "No limit" && /*predefinedData*/
3255
+ l[59] !== "Custom" ? o ? o.p(l, d) : (o = Qi(l), o.c(), o.m(t, r)) : o && (o.d(1), o = null), d[0] & /*limitname*/
3256
+ 64 && n !== (n = /*predefinedData*/
3257
+ l[59]) && (t.__value = n, Xe(t, t.__value));
3258
+ },
3259
+ d(l) {
3260
+ l && P(t), o && o.d();
3261
+ }
3262
+ };
3263
+ }
3264
+ function Xi(e) {
3265
+ let t;
3266
+ function i(r, n) {
3267
+ return (
3268
+ /*limitname*/
3269
+ r[6] !== "Time Limit" ? bl : Sl
3270
+ );
3271
+ }
3272
+ let s = i(e), a = s(e);
3273
+ return {
3274
+ c() {
3275
+ a.c(), t = ri();
3276
+ },
3277
+ m(r, n) {
3278
+ a.m(r, n), W(r, t, n);
3279
+ },
3280
+ p(r, n) {
3281
+ s === (s = i(r)) && a ? a.p(r, n) : (a.d(1), a = s(r), a && (a.c(), a.m(t.parentNode, t)));
3282
+ },
3283
+ d(r) {
3284
+ r && P(t), a.d(r);
3285
+ }
3286
+ };
3287
+ }
3288
+ function Sl(e) {
3289
+ let t, i, s, a, r, n;
3290
+ function o() {
3291
+ e[31].call(
3292
+ t,
3293
+ /*index*/
3294
+ e[58]
3295
+ );
3296
+ }
3297
+ let l = (
3298
+ /*invalidIndexes*/
3299
+ e[13][
3300
+ /*index*/
3301
+ e[58]
3302
+ ] == 1 && $i(e)
3303
+ );
3304
+ return {
3305
+ c() {
3306
+ t = k("input"), s = V(), a = k("p"), l && l.c(), g(t, "type", "number"), g(t, "class", "AccountEditField AccountEditFieldCustom"), t.disabled = i = /*selectData*/
3307
+ e[56].isModified === !0, g(a, "class", "AccountEditWarningText");
3308
+ },
3309
+ m(d, p) {
3310
+ W(d, t, p), Xe(
3311
+ t,
3312
+ /*storedData*/
3313
+ e[17][
3314
+ /*index*/
3315
+ e[58]
3316
+ ].value
3317
+ ), W(d, s, p), W(d, a, p), l && l.m(a, null), r || (n = [
3318
+ Me(t, "keyup", function() {
3319
+ ni(
3320
+ /*checkUserInputAmount*/
3321
+ e[24](
3322
+ /*storedData*/
3323
+ e[17][
3324
+ /*index*/
3325
+ e[58]
3326
+ ],
3327
+ /*index*/
3328
+ e[58],
3329
+ !0,
3330
+ /*updatedLimitValues*/
3331
+ e[16]
3332
+ )
3333
+ ) && e[24](
3334
+ /*storedData*/
3335
+ e[17][
3336
+ /*index*/
3337
+ e[58]
3338
+ ],
3339
+ /*index*/
3340
+ e[58],
3341
+ !0,
3342
+ /*updatedLimitValues*/
3343
+ e[16]
3344
+ ).apply(this, arguments);
3345
+ }),
3346
+ Me(t, "input", o)
3347
+ ], r = !0);
3348
+ },
3349
+ p(d, p) {
3350
+ e = d, p[0] & /*limitsUpdateData*/
3351
+ 16384 && i !== (i = /*selectData*/
3352
+ e[56].isModified === !0) && (t.disabled = i), p[0] & /*storedData, limitPredefinedData, limitname*/
3353
+ 1179712 && Yt(t.value) !== /*storedData*/
3354
+ e[17][
3355
+ /*index*/
3356
+ e[58]
3357
+ ].value && Xe(
3358
+ t,
3359
+ /*storedData*/
3360
+ e[17][
3361
+ /*index*/
3362
+ e[58]
3363
+ ].value
3364
+ ), /*invalidIndexes*/
3365
+ e[13][
3366
+ /*index*/
3367
+ e[58]
3368
+ ] == 1 ? l ? l.p(e, p) : (l = $i(e), l.c(), l.m(a, null)) : l && (l.d(1), l = null);
3369
+ },
3370
+ d(d) {
3371
+ d && (P(t), P(s), P(a)), l && l.d(), r = !1, Wt(n);
3372
+ }
3373
+ };
3374
+ }
3375
+ function bl(e) {
3376
+ let t, i, s, a, r, n;
3377
+ function o() {
3378
+ e[30].call(
3379
+ t,
3380
+ /*index*/
3381
+ e[58]
3382
+ );
3383
+ }
3384
+ let l = (
3385
+ /*invalidIndexes*/
3386
+ e[13][
3387
+ /*index*/
3388
+ e[58]
3389
+ ] == 1 && es(e)
3390
+ );
3391
+ return {
3392
+ c() {
3393
+ t = k("input"), s = V(), a = k("p"), l && l.c(), g(t, "type", "number"), g(t, "class", "AccountEditField AccountEditFieldCustom"), t.disabled = i = /*selectData*/
3394
+ e[56].isModified === !0, g(a, "class", "AccountEditWarningText");
3395
+ },
3396
+ m(d, p) {
3397
+ W(d, t, p), Xe(
3398
+ t,
3399
+ /*storedData*/
3400
+ e[17][
3401
+ /*index*/
3402
+ e[58]
3403
+ ].value
3404
+ ), W(d, s, p), W(d, a, p), l && l.m(a, null), r || (n = [
3405
+ Me(t, "keyup", function() {
3406
+ ni(
3407
+ /*checkUserInputAmount*/
3408
+ e[24](
3409
+ /*storedData*/
3410
+ e[17][
3411
+ /*index*/
3412
+ e[58]
3413
+ ],
3414
+ /*index*/
3415
+ e[58],
3416
+ !1,
3417
+ /*updatedLimitValues*/
3418
+ e[16]
3419
+ )
3420
+ ) && e[24](
3421
+ /*storedData*/
3422
+ e[17][
3423
+ /*index*/
3424
+ e[58]
3425
+ ],
3426
+ /*index*/
3427
+ e[58],
3428
+ !1,
3429
+ /*updatedLimitValues*/
3430
+ e[16]
3431
+ ).apply(this, arguments);
3432
+ }),
3433
+ Me(t, "input", o)
3434
+ ], r = !0);
3435
+ },
3436
+ p(d, p) {
3437
+ e = d, p[0] & /*limitsUpdateData*/
3438
+ 16384 && i !== (i = /*selectData*/
3439
+ e[56].isModified === !0) && (t.disabled = i), p[0] & /*storedData, limitPredefinedData, limitname*/
3440
+ 1179712 && Yt(t.value) !== /*storedData*/
3441
+ e[17][
3442
+ /*index*/
3443
+ e[58]
3444
+ ].value && Xe(
3445
+ t,
3446
+ /*storedData*/
3447
+ e[17][
3448
+ /*index*/
3449
+ e[58]
3450
+ ].value
3451
+ ), /*invalidIndexes*/
3452
+ e[13][
3453
+ /*index*/
3454
+ e[58]
3455
+ ] == 1 ? l ? l.p(e, p) : (l = es(e), l.c(), l.m(a, null)) : l && (l.d(1), l = null);
3456
+ },
3457
+ d(d) {
3458
+ d && (P(t), P(s), P(a)), l && l.d(), r = !1, Wt(n);
3459
+ }
3460
+ };
3461
+ }
3462
+ function $i(e) {
3463
+ let t, i = (
3464
+ /*$_*/
3465
+ e[18]("invalidInputMessageTime", {
3466
+ values: {
3467
+ minTime: (
3468
+ /*minTimeValue*/
3469
+ e[10]
3470
+ ),
3471
+ maxTime: (
3472
+ /*maxTimeValue*/
3473
+ e[11]
3474
+ )
3475
+ }
3476
+ }) + ""
3477
+ ), s;
3478
+ return {
3479
+ c() {
3480
+ t = k("p"), s = z(i), g(t, "class", "InvalidInput");
3481
+ },
3482
+ m(a, r) {
3483
+ W(a, t, r), m(t, s);
3484
+ },
3485
+ p(a, r) {
3486
+ r[0] & /*$_, minTimeValue, maxTimeValue*/
3487
+ 265216 && i !== (i = /*$_*/
3488
+ a[18]("invalidInputMessageTime", {
3489
+ values: {
3490
+ minTime: (
3491
+ /*minTimeValue*/
3492
+ a[10]
3493
+ ),
3494
+ maxTime: (
3495
+ /*maxTimeValue*/
3496
+ a[11]
3497
+ )
3498
+ }
3499
+ }) + "") && Q(s, i);
3500
+ },
3501
+ d(a) {
3502
+ a && P(t);
3503
+ }
3504
+ };
3505
+ }
3506
+ function es(e) {
3507
+ let t, i = (
3508
+ /*$_*/
3509
+ e[18]("invalidInputMessageLimit") + ""
3510
+ ), s;
3511
+ return {
3512
+ c() {
3513
+ t = k("p"), s = z(i), g(t, "class", "InvalidInput");
3514
+ },
3515
+ m(a, r) {
3516
+ W(a, t, r), m(t, s);
3517
+ },
3518
+ p(a, r) {
3519
+ r[0] & /*$_*/
3520
+ 262144 && i !== (i = /*$_*/
3521
+ a[18]("invalidInputMessageLimit") + "") && Q(s, i);
3522
+ },
3523
+ d(a) {
3524
+ a && P(t);
3525
+ }
3526
+ };
3527
+ }
3528
+ function ts(e) {
3529
+ let t, i = (
3530
+ /*$_*/
3531
+ e[18]("expirationDate") + ""
3532
+ ), s, a, r, n = (
3533
+ /*selectData*/
3534
+ (e[56].expiryDate ? c(
3535
+ /*selectData*/
3536
+ e[56].expiryDate
3537
+ ).format("D/M/YYYY - h:mm A") : "N/A") + ""
3538
+ ), o, l, d, p, A, v, E = (
3539
+ /*$_*/
3540
+ e[18]("changedLimitTextBefore") + ""
3541
+ ), D, L, S = (
3542
+ /*selectData*/
3543
+ (e[56].updateAmount > 0 ? (
3544
+ /*selectData*/
3545
+ e[56].updateAmount
3546
+ ) : 0) + ""
3547
+ ), b, F, N = (
3548
+ /*selectData*/
3549
+ (e[56].minutes !== void 0 ? " minutes" : (
3550
+ /*playercurrency*/
3551
+ e[4]
3552
+ )) + ""
3553
+ ), ae, X, ne = (
3554
+ /*$_*/
3555
+ e[18]("changedLimitTextAfter") + ""
3556
+ ), Re;
3557
+ return {
3558
+ c() {
3559
+ t = k("p"), s = z(i), a = V(), r = k("span"), o = z(n), l = V(), d = k("div"), p = k("p"), A = k("span"), A.textContent = "i", v = k("span"), D = z(E), L = V(), b = z(S), F = V(), ae = z(N), X = z(". "), Re = z(ne), g(t, "class", "AccountEditLimitsExpiryDate"), g(A, "class", "AccountEditLimitChangePeriodIcon"), g(d, "class", "AccountEditLimitsPeriodChangeContainer");
3560
+ },
3561
+ m(U, G) {
3562
+ W(U, t, G), m(t, s), m(t, a), m(t, r), m(r, o), W(U, l, G), W(U, d, G), m(d, p), m(p, A), m(p, v), m(v, D), m(v, L), m(v, b), m(v, F), m(v, ae), m(v, X), m(v, Re);
3563
+ },
3564
+ p(U, G) {
3565
+ G[0] & /*$_*/
3566
+ 262144 && i !== (i = /*$_*/
3567
+ U[18]("expirationDate") + "") && Q(s, i), G[0] & /*limitsUpdateData*/
3568
+ 16384 && n !== (n = /*selectData*/
3569
+ (U[56].expiryDate ? c(
3570
+ /*selectData*/
3571
+ U[56].expiryDate
3572
+ ).format("D/M/YYYY - h:mm A") : "N/A") + "") && Q(o, n), G[0] & /*$_*/
3573
+ 262144 && E !== (E = /*$_*/
3574
+ U[18]("changedLimitTextBefore") + "") && Q(D, E), G[0] & /*limitsUpdateData*/
3575
+ 16384 && S !== (S = /*selectData*/
3576
+ (U[56].updateAmount > 0 ? (
3577
+ /*selectData*/
3578
+ U[56].updateAmount
3579
+ ) : 0) + "") && Q(b, S), G[0] & /*limitsUpdateData, playercurrency*/
3580
+ 16400 && N !== (N = /*selectData*/
3581
+ (U[56].minutes !== void 0 ? " minutes" : (
3582
+ /*playercurrency*/
3583
+ U[4]
3584
+ )) + "") && Q(ae, N), G[0] & /*$_*/
3585
+ 262144 && ne !== (ne = /*$_*/
3586
+ U[18]("changedLimitTextAfter") + "") && Q(Re, ne);
3587
+ },
3588
+ d(U) {
3589
+ U && (P(t), P(l), P(d));
3590
+ }
3591
+ };
3592
+ }
3593
+ function is(e) {
3594
+ let t, i, s = (
3595
+ /*$_*/
3596
+ e[18]("" + /*selectData*/
3597
+ e[56].period.charAt(0).toLowerCase() + /*selectData*/
3598
+ e[56].period.substring(1)) + ""
3599
+ ), a, r, n, o = (
3600
+ /*selectData*/
3601
+ e[56].period == /*storedData*/
3602
+ e[17][
3603
+ /*index*/
3604
+ e[58]
3605
+ ].period && Ji(e)
3606
+ );
3607
+ return {
3608
+ c() {
3609
+ t = k("div"), i = k("p"), a = z(s), r = V(), o && o.c(), n = V(), g(i, "class", "AccountEditLimitsTitle"), g(t, "class", "AccountEditLimitsBox");
3610
+ },
3611
+ m(l, d) {
3612
+ W(l, t, d), m(t, i), m(i, a), m(t, r), o && o.m(t, null), m(t, n);
3613
+ },
3614
+ p(l, d) {
3615
+ d[0] & /*$_, limitsUpdateData*/
3616
+ 278528 && s !== (s = /*$_*/
3617
+ l[18]("" + /*selectData*/
3618
+ l[56].period.charAt(0).toLowerCase() + /*selectData*/
3619
+ l[56].period.substring(1)) + "") && Q(a, s), /*selectData*/
3620
+ l[56].period == /*storedData*/
3621
+ l[17][
3622
+ /*index*/
3623
+ l[58]
3624
+ ].period ? o ? o.p(l, d) : (o = Ji(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null);
3625
+ },
3626
+ d(l) {
3627
+ l && P(t), o && o.d();
3628
+ }
3629
+ };
3630
+ }
3631
+ function Tl(e) {
3632
+ let t, i, s, a, r, n, o, l, d, p, A, v, E = (
3633
+ /*$_*/
3634
+ e[18]("back") + ""
3635
+ ), D, L, S, b, F = (
3636
+ /*limitsdata*/
3637
+ (e[1] ? (
3638
+ /*limitNameTitle*/
3639
+ e[9]
3640
+ ) : "") + ""
3641
+ ), N, ae, X, ne, Re, U, G, ve, Ie, ze, q, ue, Ue = (
3642
+ /*$_*/
3643
+ e[18]("save") + ""
3644
+ ), $, Be, qe, et, Ze, he, He, Mt, be = (
3645
+ /*isMobile*/
3646
+ e[19] && Ll(e)
3647
+ ), ee = (
3648
+ /*showsuccessnotification*/
3649
+ e[2] && Gi(e)
3650
+ ), te = (
3651
+ /*showdeletenotification*/
3652
+ e[3] && zi(e)
3653
+ ), ie = (
3654
+ /*showLimits*/
3655
+ e[8] && Zi(e)
3656
+ );
3657
+ return {
3658
+ c() {
3659
+ t = k("div"), be && be.c(), i = V(), s = k("div"), a = de("svg"), r = de("defs"), n = de("style"), o = z(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"), l = de("g"), d = de("g"), p = de("path"), A = V(), v = k("h2"), D = z(E), L = V(), S = k("div"), b = k("h6"), N = z(F), ae = V(), X = k("div"), ne = k("span"), ne.textContent = "i", Re = V(), U = k("player-account-gaming-limits-popup"), G = V(), ee && ee.c(), ve = V(), te && te.c(), Ie = V(), ie && ie.c(), ze = V(), q = k("div"), ue = k("button"), $ = z(Ue), et = V(), Ze = k("player-account-modal"), he = k("player-account-gaming-limits-confirmation-modal"), g(p, "class", "aaa"), g(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(p, "transform", "translate(15 15) rotate(180)"), g(d, "transform", "translate(20 158)"), g(l, "transform", "translate(-20 -158)"), g(a, "xmlns", "http://www.w3.org/2000/svg"), g(a, "width", "20"), g(a, "height", "20"), g(a, "viewBox", "0 0 15 15"), g(v, "class", "MyAccountCategoryTitle " + /*isMobile*/
3660
+ (e[19] ? "MyAccountCategoryTitleNone" : "")), g(s, "class", "MenuReturnButton " + /*isMobile*/
3661
+ (e[19] ? "MyAccountCategoryTitleNone" : "")), g(ne, "class", "AccountEditLimitsIcon"), Ye(
3662
+ U,
3663
+ "showpopup",
3664
+ /*showPopup*/
3665
+ e[7]
3666
+ ), Ye(
3667
+ U,
3668
+ "lang",
3669
+ /*lang*/
3670
+ e[0]
3671
+ ), g(X, "class", "AccountEditLimitsIconWrapper"), g(S, "class", "AccountEditLimitsHeader"), g(ue, "class", Be = "AccountEditLimitsSaveButton " + /*hasDifferences*/
3672
+ (e[15] ? "" : "AccountEditLimitsButtonDisabled")), ue.disabled = qe = !/*hasDifferences*/
3673
+ e[15], g(q, "class", "AccountEditLimitsControlArea"), g(t, "class", "AccountEditLimitsWrapper " + /*isMobile*/
3674
+ (e[19] ? "AccountEditLimitsMobileWrapper" : "")), Ye(
3675
+ he,
3676
+ "modaltext",
3677
+ /*changeLimitsText*/
3678
+ e[12]
3679
+ ), Ye(he, "modalsource", "groupEdit"), Ye(
3680
+ he,
3681
+ "lang",
3682
+ /*lang*/
3683
+ e[0]
3684
+ );
3685
+ },
3686
+ m(C, Z) {
3687
+ W(C, t, Z), be && be.m(t, null), m(t, i), m(t, s), m(s, a), m(a, r), m(r, n), m(n, o), m(a, l), m(l, d), m(d, p), m(s, A), m(s, v), m(v, D), m(t, L), m(t, S), m(S, b), m(b, N), m(S, ae), m(S, X), m(X, ne), m(X, Re), m(X, U), m(t, G), ee && ee.m(t, null), m(t, ve), te && te.m(t, null), m(t, Ie), ie && ie.m(t, null), m(t, ze), m(t, q), m(q, ue), m(ue, $), e[33](t), W(C, et, Z), W(C, Ze, Z), m(Ze, he), He || (Mt = [
3688
+ Me(
3689
+ s,
3690
+ "click",
3691
+ /*switchToLimitsGroupView*/
3692
+ e[22]
3693
+ ),
3694
+ Me(ne, "click", fa(
3695
+ /*openInfoPopup*/
3696
+ e[21]
3697
+ )),
3698
+ Me(
3699
+ ue,
3700
+ "click",
3701
+ /*click_handler*/
3702
+ e[32]
3703
+ )
3704
+ ], He = !0);
3705
+ },
3706
+ p(C, Z) {
3707
+ /*isMobile*/
3708
+ C[19] && be.p(C, Z), Z[0] & /*$_*/
3709
+ 262144 && E !== (E = /*$_*/
3710
+ C[18]("back") + "") && Q(D, E), Z[0] & /*limitsdata, limitNameTitle*/
3711
+ 514 && F !== (F = /*limitsdata*/
3712
+ (C[1] ? (
3713
+ /*limitNameTitle*/
3714
+ C[9]
3715
+ ) : "") + "") && Q(N, F), Z[0] & /*showPopup*/
3716
+ 128 && Ye(
3717
+ U,
3718
+ "showpopup",
3719
+ /*showPopup*/
3720
+ C[7]
3721
+ ), Z[0] & /*lang*/
3722
+ 1 && Ye(
3723
+ U,
3724
+ "lang",
3725
+ /*lang*/
3726
+ C[0]
3727
+ ), /*showsuccessnotification*/
3728
+ C[2] ? ee ? ee.p(C, Z) : (ee = Gi(C), ee.c(), ee.m(t, ve)) : ee && (ee.d(1), ee = null), /*showdeletenotification*/
3729
+ C[3] ? te ? te.p(C, Z) : (te = zi(C), te.c(), te.m(t, Ie)) : te && (te.d(1), te = null), /*showLimits*/
3730
+ C[8] ? ie ? ie.p(C, Z) : (ie = Zi(C), ie.c(), ie.m(t, ze)) : ie && (ie.d(1), ie = null), Z[0] & /*$_*/
3731
+ 262144 && Ue !== (Ue = /*$_*/
3732
+ C[18]("save") + "") && Q($, Ue), Z[0] & /*hasDifferences*/
3733
+ 32768 && Be !== (Be = "AccountEditLimitsSaveButton " + /*hasDifferences*/
3734
+ (C[15] ? "" : "AccountEditLimitsButtonDisabled")) && g(ue, "class", Be), Z[0] & /*hasDifferences*/
3735
+ 32768 && qe !== (qe = !/*hasDifferences*/
3736
+ C[15]) && (ue.disabled = qe), Z[0] & /*changeLimitsText*/
3737
+ 4096 && Ye(
3738
+ he,
3739
+ "modaltext",
3740
+ /*changeLimitsText*/
3741
+ C[12]
3742
+ ), Z[0] & /*lang*/
3743
+ 1 && Ye(
3744
+ he,
3745
+ "lang",
3746
+ /*lang*/
3747
+ C[0]
3748
+ );
3749
+ },
3750
+ i: Ci,
3751
+ o: Ci,
3752
+ d(C) {
3753
+ C && (P(t), P(et), P(Ze)), be && be.d(), ee && ee.d(), te && te.d(), ie && ie.d(), e[33](null), He = !1, Wt(Mt);
3754
+ }
3755
+ };
3756
+ }
3757
+ function Yl(e, t, i) {
3758
+ let s;
3759
+ ca(e, ga, (f) => i(18, s = f));
3760
+ let { limitsdata: a = [] } = t, { showsuccessnotification: r = !1 } = t, { showdeletenotification: n = !1 } = t, { playercurrency: o = "" } = t, { lang: l = "en" } = t, { separatelimits: d = "true" } = t, { clientstyling: p = "" } = t, { clientstylingurl: A = "" } = t, { translationurl: v = "" } = t;
3761
+ const E = () => {
3762
+ fetch(v).then((y) => y.json()).then((y) => {
3763
+ Object.keys(y).forEach((H) => {
3764
+ Ii(H, y[H]);
3765
+ });
3766
+ }).catch((y) => {
3767
+ console.log(y);
3768
+ });
3769
+ };
3770
+ Object.keys(Ui).forEach((f) => {
3771
+ Ii(f, Ui[f]);
3772
+ });
3773
+ let D, L, S = !1, b = !1, F = "", N = !1, ae = 0, X = 0, ne = "", Re = window.navigator.userAgent, U = ma(Re) !== "PC", G = new Array(3).fill(0), ve = {}, Ie = [], ze = [], q = !1, ue = [];
3774
+ const Ue = {
3775
+ amount: /^[0-9]{0,8}$/,
3776
+ time: /^[1-9]\d*$/
3777
+ };
3778
+ let $ = [
3779
+ {
3780
+ period: "Daily",
3781
+ amount: "No limit",
3782
+ value: 0
3783
+ },
3784
+ {
3785
+ period: "Weekly",
3786
+ amount: "No limit",
3787
+ value: 0
3788
+ },
3789
+ {
3790
+ period: "Monthly",
3791
+ amount: "No limit",
3792
+ value: 0
3793
+ }
3794
+ ], Be = [
3795
+ {
3796
+ period: "Daily",
3797
+ values: ["10000", "20000", "50000", "No limit", "Custom"]
3798
+ },
3799
+ {
3800
+ period: "Weekly",
3801
+ values: ["10000", "50000", "100000", "No limit", "Custom"]
3802
+ },
3803
+ {
3804
+ period: "Monthly",
3805
+ values: ["50000", "100000", "200000", "No limit", "Custom"]
3806
+ }
3807
+ ], qe = [
3808
+ {
3809
+ period: "Daily",
3810
+ values: ["5000", "7000", "10000", "No limit", "Custom"]
3811
+ },
3812
+ {
3813
+ period: "Weekly",
3814
+ values: ["25000", "50000", "100000", "No limit", "Custom"]
3815
+ },
3816
+ {
3817
+ period: "Monthly",
3818
+ values: ["125000", "175000", "200000", "No limit", "Custom"]
3819
+ }
3820
+ ], et = [
3821
+ {
3822
+ period: "Daily",
3823
+ values: ["5000", "7000", "10000", "No limit", "Custom"]
3824
+ },
3825
+ {
3826
+ period: "Weekly",
3827
+ values: ["25000", "50000", "100000", "No limit", "Custom"]
3828
+ },
3829
+ {
3830
+ period: "Monthly",
3831
+ values: ["125000", "175000", "200000", "No limit", "Custom"]
3832
+ }
3833
+ ], Ze = [
3834
+ {
3835
+ period: "Daily",
3836
+ values: ["500", "1000", "1430", "No limit", "Custom"]
3837
+ },
3838
+ {
3839
+ period: "Weekly",
3840
+ values: ["5000", "7000", "10000", "No limit", "Custom"]
3841
+ },
3842
+ {
3843
+ period: "Monthly",
3844
+ values: ["20000", "30000", "43000", "No limit", "Custom"]
3845
+ }
3846
+ ];
3847
+ const he = /* @__PURE__ */ new Map([
3848
+ ["Deposit Limit", "depositLimits"],
3849
+ ["Time Limit", "cumulativeSessionLimits"],
3850
+ ["Wagering Limit", "wageringLimits"],
3851
+ ["Loss Limit", "lossLimits"]
3852
+ ]), He = /* @__PURE__ */ new Map([
3853
+ ["Deposit Limit", Be],
3854
+ ["Time Limit", Ze],
3855
+ ["Wagering Limit", qe],
3856
+ ["Loss Limit", et]
3857
+ ]), Mt = () => {
3858
+ i(7, S = !0);
3859
+ }, be = () => {
3860
+ window.postMessage({ type: "PlayerAccountBackToLimitsView" }, window.location.href);
3861
+ }, ee = () => {
3862
+ window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href);
3863
+ }, te = () => {
3864
+ if (N) {
3865
+ D === "Time Limit" ? $.forEach((y) => {
3866
+ if (d == "true") {
3867
+ if (y.value != 0) {
3868
+ let H = { period: y.period, minutes: y.value };
3869
+ Ie.push(H);
3870
+ }
3871
+ } else
3872
+ ve.forEach((H) => {
3873
+ H.period === y.period && (H.minutes = y.value);
3874
+ });
3875
+ }) : $.forEach((y) => {
3876
+ if (d == "true") {
3877
+ if (y.value != 0) {
3878
+ let H = {
3879
+ period: y.period,
3880
+ amount: y.value,
3881
+ currency: o
3882
+ };
3883
+ Ie.push(H);
3884
+ }
3885
+ } else
3886
+ ve.forEach((H) => {
3887
+ H.period === y.period && (H.amount = y.value, H.currency = o);
3888
+ });
3889
+ });
3890
+ let f = {};
3891
+ d == "true" ? f = {
3892
+ [he.get(D)]: [...Ie]
3893
+ } : f = {
3894
+ [he.get(D)]: [...ve]
3895
+ }, Ie.length = 0, window.postMessage(
3896
+ {
3897
+ type: "PlayerAccountGamingLimitsUpdate",
3898
+ payload: f,
3899
+ limitsCategory: he.get(D)
3900
+ },
3901
+ window.location.href
3902
+ ), i(15, q = !1);
3903
+ }
3904
+ }, ie = (f, y, H, J) => {
3905
+ switch (f.amount) {
3906
+ case "Custom":
3907
+ if (D == "Time Limit")
3908
+ if (i(10, ae = 60), f.period === "Daily" ? i(11, X = 1440) : f.period == "Weekly" ? i(11, X = 10080) : i(11, X = 43200), f.value && Ue.time.test(f.value) && f.value > ae && f.value <= X) {
3909
+ i(13, G[y] = 0, G);
3910
+ let oe = J[y];
3911
+ f.period == oe.period && f.value == oe.amount ? (i(15, q = !1), C(f, J)) : i(15, q = !0);
3912
+ } else
3913
+ i(13, G[y] = 1, G), i(15, q = !1);
3914
+ else f.value && Ue.amount.test(f.value) ? (i(13, G[y] = 0, G), f.period == J[y].period && f.value == J[y].amount ? (i(15, q = !!q), C(f, J)) : i(15, q = !0), d != "true" && $.forEach((oe) => {
3915
+ oe.value == 0 && i(15, q = !1);
3916
+ })) : (i(13, G[y] = 1, G), i(15, q = !1));
3917
+ break;
3918
+ default:
3919
+ f.period == J[y].period ? (C(f, J), i(15, q = f.value != J[y].amount)) : i(15, q = !0), $.forEach((oe) => {
3920
+ (oe.value == 0 && d != "true" || oe.amount == "Custom" && !Ue.amount.test(oe.value.toString())) && i(15, q = !1);
3921
+ });
3922
+ break;
3923
+ }
3924
+ }, C = (f, y) => {
3925
+ let H = JSON.parse(JSON.stringify(y));
3926
+ $.forEach((J) => {
3927
+ H.forEach((oe) => {
3928
+ J.period == f.period && (J.amount !== "Custom" && J.amount !== "No limit" ? J.value = JSON.parse(J.amount) : J.amount === "No limit" && (J.value = 0)), oe.period === J.period && (oe.amount = J.value);
3929
+ });
3930
+ });
3931
+ }, Z = (f, y, H, J) => {
3932
+ let oe = f.values;
3933
+ !y.amount || y.amount === "No limit" ? H.forEach((pe) => {
3934
+ pe.period === y.period && (pe.amount = y.amount, pe.value = 0);
3935
+ }) : oe.includes(JSON.stringify(y.amount)) ? H.forEach((pe) => {
3936
+ pe.period === y.period && (pe.amount = JSON.stringify(y.amount), pe.value = y.amount);
3937
+ }) : H.forEach((pe) => {
3938
+ pe.period === y.period && (pe.amount = "Custom", pe.value = y.amount);
3939
+ });
3940
+ }, Js = (f) => {
3941
+ ze.forEach((y) => {
3942
+ f.period === y.period && (D === "Time Limit" && (i(10, ae = 60), f.period === "Daily" ? i(11, X = 1440) : f.period == "Weekly" ? i(11, X = 10080) : i(11, X = 43200)), y.values.indexOf(f.amount) > -1 && (f.amount === "No limit" ? f.amount = 0 : f.amount = JSON.parse(f.amount)));
3943
+ });
3944
+ }, Qs = () => {
3945
+ ue.forEach((f) => {
3946
+ Js(f);
3947
+ }), ve.forEach((f) => {
3948
+ ze.forEach((y) => {
3949
+ f.period === y.period && Z(y, f, $);
3950
+ });
3951
+ });
3952
+ }, Oi = () => {
3953
+ let f = "";
3954
+ f = D === "Time Limit" ? "time limit" : D === "Deposit Limit" ? "deposit limit" : D === "Wagering Limit" ? "wagering limit" : "loss limit", i(12, ne = s("changeLimitsText", { values: { limit: f } }));
3955
+ }, Bt = () => {
3956
+ Ml(l), Oi(), i(16, ue = JSON.parse(JSON.stringify(a))), i(14, ve = JSON.parse(JSON.stringify(a))), ze = D === "Wagering Limit" ? qe : D === "Loss Limit" ? et : D === "Deposit Limit" ? Be : D === "Time Limit" ? Ze : [], Qs();
3957
+ }, Ei = (f) => {
3958
+ if (f.data)
3959
+ switch (f.data.type) {
3960
+ case "LanguageChanged":
3961
+ i(0, l = f.data.lang), Oi();
3962
+ break;
3963
+ case "EditPlayerLimit":
3964
+ i(
3965
+ 6,
3966
+ D = f.data.name
3967
+ ), i(9, F = s(D.charAt(0).toLowerCase() + D.substring(1).replace(/\s/g, ""))), Bt(), i(8, b = !0);
3968
+ break;
3969
+ case "ClosePlayerAccountGamingLimitsPopup":
3970
+ i(7, S = !1);
3971
+ break;
3972
+ case "GamingLimitsConfirmChanges":
3973
+ N = !0, te();
3974
+ break;
3975
+ case "CancelGamingLimitsChanges":
3976
+ i(8, b = !1), setTimeout(
3977
+ () => {
3978
+ i(8, b = !0);
3979
+ },
3980
+ 10
3981
+ ), Bt(), i(15, q = !1), N = !1;
3982
+ break;
3983
+ }
3984
+ }, Ks = () => {
3985
+ let f = document.createElement("style");
3986
+ f.innerHTML = p, L.appendChild(f);
3987
+ }, Xs = () => {
3988
+ let f = new URL(A), y = document.createElement("style");
3989
+ fetch(f.href).then((H) => H.text()).then((H) => {
3990
+ y.innerHTML = H, setTimeout(
3991
+ () => {
3992
+ L.appendChild(y);
3993
+ },
3994
+ 1
3995
+ );
3996
+ });
3997
+ };
3998
+ ha(() => (window.addEventListener("message", Ei, !1), () => {
3999
+ window.removeEventListener("message", Ei);
4000
+ }));
4001
+ function $s(f) {
4002
+ $[f].amount = pa(this), i(17, $), i(20, He), i(6, D);
4003
+ }
4004
+ function ea(f) {
4005
+ $[f].value = Yt(this.value), i(17, $), i(20, He), i(6, D);
4006
+ }
4007
+ function ta(f) {
4008
+ $[f].value = Yt(this.value), i(17, $), i(20, He), i(6, D);
4009
+ }
4010
+ const ia = () => ee();
4011
+ function sa(f) {
4012
+ _a[f ? "unshift" : "push"](() => {
4013
+ L = f, i(5, L);
4014
+ });
4015
+ }
4016
+ return e.$$set = (f) => {
4017
+ "limitsdata" in f && i(1, a = f.limitsdata), "showsuccessnotification" in f && i(2, r = f.showsuccessnotification), "showdeletenotification" in f && i(3, n = f.showdeletenotification), "playercurrency" in f && i(4, o = f.playercurrency), "lang" in f && i(0, l = f.lang), "separatelimits" in f && i(25, d = f.separatelimits), "clientstyling" in f && i(26, p = f.clientstyling), "clientstylingurl" in f && i(27, A = f.clientstylingurl), "translationurl" in f && i(28, v = f.translationurl);
4018
+ }, e.$$.update = () => {
4019
+ e.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/
4020
+ 12 && r && n && Bt(), e.$$.dirty[0] & /*limitsdata, lang*/
4021
+ 3, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4022
+ 67108896 && p && L && Ks(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4023
+ 134217760 && A && L && Xs(), e.$$.dirty[0] & /*translationurl*/
4024
+ 268435456 && v && E();
4025
+ }, [
4026
+ l,
4027
+ a,
4028
+ r,
4029
+ n,
4030
+ o,
4031
+ L,
4032
+ D,
4033
+ S,
4034
+ b,
4035
+ F,
4036
+ ae,
4037
+ X,
4038
+ ne,
4039
+ G,
4040
+ ve,
4041
+ q,
4042
+ ue,
4043
+ $,
4044
+ s,
4045
+ U,
4046
+ He,
4047
+ Mt,
4048
+ be,
4049
+ ee,
4050
+ ie,
4051
+ d,
4052
+ p,
4053
+ A,
4054
+ v,
4055
+ $s,
4056
+ ea,
4057
+ ta,
4058
+ ia,
4059
+ sa
4060
+ ];
4061
+ }
4062
+ class Zs extends na {
4063
+ constructor(t) {
4064
+ super(), oa(
4065
+ this,
4066
+ t,
4067
+ Yl,
4068
+ Tl,
4069
+ ua,
4070
+ {
4071
+ limitsdata: 1,
4072
+ showsuccessnotification: 2,
4073
+ showdeletenotification: 3,
4074
+ playercurrency: 4,
4075
+ lang: 0,
4076
+ separatelimits: 25,
4077
+ clientstyling: 26,
4078
+ clientstylingurl: 27,
4079
+ translationurl: 28
4080
+ },
4081
+ Dl,
4082
+ [-1, -1, -1]
4083
+ );
4084
+ }
4085
+ get limitsdata() {
4086
+ return this.$$.ctx[1];
4087
+ }
4088
+ set limitsdata(t) {
4089
+ this.$$set({ limitsdata: t }), Te();
4090
+ }
4091
+ get showsuccessnotification() {
4092
+ return this.$$.ctx[2];
4093
+ }
4094
+ set showsuccessnotification(t) {
4095
+ this.$$set({ showsuccessnotification: t }), Te();
4096
+ }
4097
+ get showdeletenotification() {
4098
+ return this.$$.ctx[3];
4099
+ }
4100
+ set showdeletenotification(t) {
4101
+ this.$$set({ showdeletenotification: t }), Te();
4102
+ }
4103
+ get playercurrency() {
4104
+ return this.$$.ctx[4];
4105
+ }
4106
+ set playercurrency(t) {
4107
+ this.$$set({ playercurrency: t }), Te();
4108
+ }
4109
+ get lang() {
4110
+ return this.$$.ctx[0];
4111
+ }
4112
+ set lang(t) {
4113
+ this.$$set({ lang: t }), Te();
4114
+ }
4115
+ get separatelimits() {
4116
+ return this.$$.ctx[25];
4117
+ }
4118
+ set separatelimits(t) {
4119
+ this.$$set({ separatelimits: t }), Te();
4120
+ }
4121
+ get clientstyling() {
4122
+ return this.$$.ctx[26];
4123
+ }
4124
+ set clientstyling(t) {
4125
+ this.$$set({ clientstyling: t }), Te();
4126
+ }
4127
+ get clientstylingurl() {
4128
+ return this.$$.ctx[27];
4129
+ }
4130
+ set clientstylingurl(t) {
4131
+ this.$$set({ clientstylingurl: t }), Te();
4132
+ }
4133
+ get translationurl() {
4134
+ return this.$$.ctx[28];
4135
+ }
4136
+ set translationurl(t) {
4137
+ this.$$set({ translationurl: t }), Te();
4138
+ }
4139
+ }
4140
+ la(Zs, { limitsdata: {}, showsuccessnotification: { type: "Boolean" }, showdeletenotification: { type: "Boolean" }, playercurrency: {}, lang: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4141
+ const El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4142
+ __proto__: null,
4143
+ default: Zs
4144
+ }, Symbol.toStringTag, { value: "Module" }));
4145
+ export {
4146
+ El as P,
4147
+ c as h
4148
+ };