@everymatrix/player-account-controller 1.62.4 → 1.63.1

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