@everymatrix/casino-lobby 1.45.0 → 1.45.3

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 (84) hide show
  1. package/components/{CasinoCalendar-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
  2. package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
  3. package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
  5. package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
  6. package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
  7. package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
  8. package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
  9. package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
  11. package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
  12. package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
  13. package/components/CasinoFilter-BWEtfBml.js +628 -0
  14. package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
  15. package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
  16. package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
  17. package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
  18. package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
  19. package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
  21. package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
  22. package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
  23. package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
  24. package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
  25. package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
  26. package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
  27. package/components/CasinoModal-CZbdtmLm.js +372 -0
  28. package/components/CasinoModal-DqBbtAjA.cjs +1 -0
  29. package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
  30. package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
  31. package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
  32. package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
  33. package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
  34. package/components/CasinoPage-srXwB6ik.cjs +1 -0
  35. package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
  36. package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
  37. package/components/CasinoSearch-BsgUvsbs.js +1062 -0
  38. package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
  39. package/components/CasinoSlider-D5B-CjPM.js +803 -0
  40. package/components/CasinoSlider-kzZxK81G.cjs +1 -0
  41. package/components/CasinoSort-9pQqbHyF.cjs +1 -0
  42. package/components/CasinoSort-T6UQhFka.js +425 -0
  43. package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
  44. package/components/CasinoWinners-auSd-4D9.js +884 -0
  45. package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
  46. package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
  47. package/es2015/casino-lobby.cjs +1 -1
  48. package/es2015/casino-lobby.js +1 -1
  49. package/package.json +2 -2
  50. package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
  51. package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
  52. package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
  53. package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
  54. package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
  55. package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
  56. package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
  57. package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
  58. package/components/CasinoFilter-D3p7c7qu.js +0 -628
  59. package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
  60. package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
  61. package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
  62. package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
  63. package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
  64. package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
  65. package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
  66. package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
  67. package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
  68. package/components/CasinoModal-BebrYWjS.cjs +0 -1
  69. package/components/CasinoModal-CSwMAX-g.js +0 -372
  70. package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
  71. package/components/CasinoMyGames-shcqTml8.cjs +0 -1
  72. package/components/CasinoPage-DZmE3VFL.cjs +0 -1
  73. package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
  74. package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
  75. package/components/CasinoSearch-CW-eesDy.cjs +0 -1
  76. package/components/CasinoSearch-DkEAmw-j.js +0 -1066
  77. package/components/CasinoSlider-CNWDP_I-.js +0 -803
  78. package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
  79. package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
  80. package/components/CasinoSort-CPcJqhWU.js +0 -425
  81. package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
  82. package/components/CasinoWinners-DSsJp1KQ.js +0 -884
  83. package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
  84. package/components/GeneralAnimationLoading-CEAKVCu9.cjs +0 -1
@@ -1,4282 +0,0 @@
1
- var _s = (e, t, n) => new Promise((s, r) => {
2
- var i = (f) => {
3
- try {
4
- o(n.next(f));
5
- } catch (h) {
6
- r(h);
7
- }
8
- }, a = (f) => {
9
- try {
10
- o(n.throw(f));
11
- } catch (h) {
12
- r(h);
13
- }
14
- }, o = (f) => f.done ? s(f.value) : Promise.resolve(f.value).then(i, a);
15
- o((n = n.apply(e, t)).next());
16
- });
17
- import { $ as Yn, a as mi, I as gi, S as _i, i as yi, f as ne, c as pi, s as vi, b as wi, e as _, g as q, C as Xe, k as J, J as ki, V as bi, o as Si, m as tt, W as Mi, n as oe, d as u, G as le, v as d, u as V, A as Z, F as Ft, O as Fi, r as z, D as he, X as He, w as ie, R as Dt, L as ys, E as qt } from "./CasinoCalendar-DEhfBjpm.js";
18
- function Di({ withLocale: e, translations: t }) {
19
- Yn.subscribe((n) => {
20
- n == null && (mi.set(t), Yn.set(e));
21
- });
22
- }
23
- function ps(e, t) {
24
- gi(e, t);
25
- }
26
- function Yi(e) {
27
- Yn.set(e);
28
- }
29
- const vs = {
30
- en: {
31
- signIn: "LOGIN",
32
- register: "REGISTER",
33
- deposit: "DEPOSIT",
34
- playForFun: "Play for fun",
35
- playNow: "Start now!",
36
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
37
- loading: "Loading, please wait ..."
38
- },
39
- "zh-hk": {
40
- signIn: "登錄",
41
- register: "登記",
42
- deposit: "訂金",
43
- playForFun: "玩得開心",
44
- playNow: "現在開始",
45
- breakButton: "休息 1 天",
46
- loading: "加載請稍候 ..."
47
- },
48
- de: {
49
- signIn: "Einloggen",
50
- register: "REGISTRIEREN",
51
- deposit: "Einzahlung",
52
- playForFun: "Play for fun",
53
- playNow: "Jetzt beginnen!",
54
- breakButton: "Für 24 Std. Games Sofortpause, 3 Sekunden drücken",
55
- loading: "Es lädt, bitte warten..."
56
- },
57
- it: {
58
- signIn: "LOGIN",
59
- register: "REGISTRATI",
60
- deposit: "DEPOSITO",
61
- playForFun: "Play for fun",
62
- playNow: "Inizia ora!",
63
- breakButton: "Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",
64
- loading: "Loading, please wait..."
65
- },
66
- fr: {
67
- signIn: "Connectez-vous",
68
- register: "Enregistrer",
69
- deposit: "Dépôt",
70
- playForFun: "Jouer pour le plaisir",
71
- playNow: "Commencez maintenant",
72
- break: "Fair une pause d'un jour pour jouer",
73
- breakButton: "Refroidissement de 24 heures",
74
- loading: "Chargement, veuillez patienter..."
75
- },
76
- es: {
77
- signIn: "Iniciar sesión",
78
- register: "REGÍSTRATE",
79
- deposit: "Deposita",
80
- playForFun: "Modo práctica",
81
- playNow: "Juega ahora!",
82
- breakButton: "Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",
83
- loading: "Cargando por favor espere ..."
84
- },
85
- tr: {
86
- signIn: "OTURUM AÇ",
87
- register: "KAYIT OL",
88
- deposit: "DEPOZİTO",
89
- playForFun: "EĞLENCE İÇİN OYNA",
90
- playNow: "ŞİMDİ OYNA",
91
- breakButton: "24 saatlik kilit için düğmeyi 3 saniye basılı tutun",
92
- loading: "Yükleniyor, lütfen bekleyin..."
93
- },
94
- ru: {
95
- signIn: "АВТОРИЗОВАТЬСЯ",
96
- register: "ПОДПИСАТЬСЯ",
97
- deposit: "ДЕПОЗИТ",
98
- playForFun: "ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",
99
- playNow: "ИГРАТЬ СЕЙЧАС",
100
- breakButton: "Сделайте 1 день перерыва в игре - 24-hour Cool Off",
101
- loading: "Loading, please wait..."
102
- },
103
- ro: {
104
- signIn: "AUTENTIFICARE",
105
- register: "INREGISTRARE",
106
- deposit: "DEPOZITEAZA",
107
- playForFun: "JOACĂ PENTRU DISTRACTIE",
108
- playNow: "JOACĂ ACUM",
109
- breakButton: "Luați o pauză de la joc - 24-hour Cool Off",
110
- loading: "Se incarca, te rugam asteapta…"
111
- },
112
- hr: {
113
- signIn: "PRIJAVA",
114
- register: "REGISTRACIJA",
115
- deposit: "UPLATA",
116
- playForFun: "Igraj za zabavu",
117
- playNow: "Igraj",
118
- breakButton: "Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",
119
- loading: "Učitavanje"
120
- },
121
- hu: {
122
- signIn: "Bejelentkezés",
123
- register: "REGISZTRÁCIÓ",
124
- deposit: "Befizetés",
125
- playForFun: "Play for fun",
126
- playNow: "Játsszon most!",
127
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
128
- loading: "Betöltés, kérjük várjon..."
129
- },
130
- pl: {
131
- signIn: "Zaloguj się",
132
- register: "REJESTRACJA",
133
- deposit: "Wpłata",
134
- playForFun: "Graj dla zabawy",
135
- playNow: "Rozpocznij teraz!",
136
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
137
- loading: "Loading, please wait..."
138
- },
139
- pt: {
140
- signIn: "Entrar",
141
- register: "REGISTRO",
142
- deposit: "Depósito",
143
- playForFun: "Jogue por diversão",
144
- playNow: "Comece agora!",
145
- breakButton: "Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",
146
- loading: "Carregando, por favor espere ..."
147
- },
148
- sl: {
149
- signIn: "Prijavite se",
150
- register: "REGISTRACIJA",
151
- deposit: "Vplačilo",
152
- playForFun: "Igrajte za zabavo",
153
- playNow: "Začnite zdaj!",
154
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
155
- loading: "Loading, please wait..."
156
- },
157
- sr: {
158
- signIn: "Prijavi se",
159
- register: "REGISTRACIJA",
160
- deposit: "Uplata",
161
- playForFun: "Igraj za zabavu",
162
- playNow: "Započnite sada!",
163
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
164
- loading: "Loading, please wait..."
165
- },
166
- "pt-br": {
167
- signIn: "ENTRAR",
168
- register: "REGISTRO",
169
- deposit: "DEPÓSITO",
170
- playForFun: "Jogue por diversão",
171
- playNow: "Comece agora!",
172
- breakButton: "Pressione o botão por 3 segundos para uma pausa de 24 horas",
173
- Loading: "Carregando, por favor espere..."
174
- },
175
- "es-mx": {
176
- signIn: "INGRESAR",
177
- register: "REGISTRO",
178
- deposit: "DEPÓSITO",
179
- playForFun: "Jugar Por Diversión",
180
- playNow: "Comenzar ahora!",
181
- breakButton: "Presionar botón 3 segundos para un bloqueo de 24 horas",
182
- Loading: "Cargando, por favor espere..."
183
- }
184
- };
185
- function Oi(e) {
186
- 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.');
187
- }
188
- //! moment.js
189
- //! version : 2.30.1
190
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
191
- //! license : MIT
192
- //! momentjs.com
193
- var Is;
194
- function m() {
195
- return Is.apply(null, arguments);
196
- }
197
- function Ti(e) {
198
- Is = e;
199
- }
200
- function ye(e) {
201
- return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
202
- }
203
- function Qe(e) {
204
- return e != null && Object.prototype.toString.call(e) === "[object Object]";
205
- }
206
- function N(e, t) {
207
- return Object.prototype.hasOwnProperty.call(e, t);
208
- }
209
- function Nn(e) {
210
- if (Object.getOwnPropertyNames)
211
- return Object.getOwnPropertyNames(e).length === 0;
212
- var t;
213
- for (t in e)
214
- if (N(e, t))
215
- return !1;
216
- return !0;
217
- }
218
- function ue(e) {
219
- return e === void 0;
220
- }
221
- function Pe(e) {
222
- return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
223
- }
224
- function Yt(e) {
225
- return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
226
- }
227
- function Rs(e, t) {
228
- var n = [], s, r = e.length;
229
- for (s = 0; s < r; ++s)
230
- n.push(t(e[s], s));
231
- return n;
232
- }
233
- function Ge(e, t) {
234
- for (var n in t)
235
- N(t, n) && (e[n] = t[n]);
236
- return N(t, "toString") && (e.toString = t.toString), N(t, "valueOf") && (e.valueOf = t.valueOf), e;
237
- }
238
- function Se(e, t, n, s) {
239
- return er(e, t, n, s, !0).utc();
240
- }
241
- function Ii() {
242
- return {
243
- empty: !1,
244
- unusedTokens: [],
245
- unusedInput: [],
246
- overflow: -2,
247
- charsLeftOver: 0,
248
- nullInput: !1,
249
- invalidEra: null,
250
- invalidMonth: null,
251
- invalidFormat: !1,
252
- userInvalidated: !1,
253
- iso: !1,
254
- parsedDateParts: [],
255
- era: null,
256
- meridiem: null,
257
- rfc2822: !1,
258
- weekdayMismatch: !1
259
- };
260
- }
261
- function D(e) {
262
- return e._pf == null && (e._pf = Ii()), e._pf;
263
- }
264
- var On;
265
- Array.prototype.some ? On = Array.prototype.some : On = function(e) {
266
- var t = Object(this), n = t.length >>> 0, s;
267
- for (s = 0; s < n; s++)
268
- if (s in t && e.call(this, t[s], s, t))
269
- return !0;
270
- return !1;
271
- };
272
- function xn(e) {
273
- var t = null, n = !1, s = e._d && !isNaN(e._d.getTime());
274
- if (s && (t = D(e), n = On.call(t.parsedDateParts, function(r) {
275
- return r != null;
276
- }), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
277
- e._isValid = s;
278
- else
279
- return s;
280
- return e._isValid;
281
- }
282
- function en(e) {
283
- var t = Se(NaN);
284
- return e != null ? Ge(D(t), e) : D(t).userInvalidated = !0, t;
285
- }
286
- var ws = m.momentProperties = [], Sn = !1;
287
- function En(e, t) {
288
- var n, s, r, i = ws.length;
289
- if (ue(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), ue(t._i) || (e._i = t._i), ue(t._f) || (e._f = t._f), ue(t._l) || (e._l = t._l), ue(t._strict) || (e._strict = t._strict), ue(t._tzm) || (e._tzm = t._tzm), ue(t._isUTC) || (e._isUTC = t._isUTC), ue(t._offset) || (e._offset = t._offset), ue(t._pf) || (e._pf = D(t)), ue(t._locale) || (e._locale = t._locale), i > 0)
290
- for (n = 0; n < i; n++)
291
- s = ws[n], r = t[s], ue(r) || (e[s] = r);
292
- return e;
293
- }
294
- function Ot(e) {
295
- En(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Sn === !1 && (Sn = !0, m.updateOffset(this), Sn = !1);
296
- }
297
- function pe(e) {
298
- return e instanceof Ot || e != null && e._isAMomentObject != null;
299
- }
300
- function Ps(e) {
301
- m.suppressDeprecationWarnings === !1 && typeof console != "undefined" && console.warn && console.warn("Deprecation warning: " + e);
302
- }
303
- function me(e, t) {
304
- var n = !0;
305
- return Ge(function() {
306
- if (m.deprecationHandler != null && m.deprecationHandler(null, e), n) {
307
- var s = [], r, i, a, o = arguments.length;
308
- for (i = 0; i < o; i++) {
309
- if (r = "", typeof arguments[i] == "object") {
310
- r += `
311
- [` + i + "] ";
312
- for (a in arguments[0])
313
- N(arguments[0], a) && (r += a + ": " + arguments[0][a] + ", ");
314
- r = r.slice(0, -2);
315
- } else
316
- r = arguments[i];
317
- s.push(r);
318
- }
319
- Ps(
320
- e + `
321
- Arguments: ` + Array.prototype.slice.call(s).join("") + `
322
- ` + new Error().stack
323
- ), n = !1;
324
- }
325
- return t.apply(this, arguments);
326
- }, t);
327
- }
328
- var ks = {};
329
- function Cs(e, t) {
330
- m.deprecationHandler != null && m.deprecationHandler(e, t), ks[e] || (Ps(t), ks[e] = !0);
331
- }
332
- m.suppressDeprecationWarnings = !1;
333
- m.deprecationHandler = null;
334
- function Me(e) {
335
- return typeof Function != "undefined" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
336
- }
337
- function Ri(e) {
338
- var t, n;
339
- for (n in e)
340
- N(e, n) && (t = e[n], Me(t) ? this[n] = t : this["_" + n] = t);
341
- this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
342
- (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
343
- );
344
- }
345
- function Tn(e, t) {
346
- var n = Ge({}, e), s;
347
- for (s in t)
348
- N(t, s) && (Qe(e[s]) && Qe(t[s]) ? (n[s] = {}, Ge(n[s], e[s]), Ge(n[s], t[s])) : t[s] != null ? n[s] = t[s] : delete n[s]);
349
- for (s in e)
350
- N(e, s) && !N(t, s) && Qe(e[s]) && (n[s] = Ge({}, n[s]));
351
- return n;
352
- }
353
- function Wn(e) {
354
- e != null && this.set(e);
355
- }
356
- var In;
357
- Object.keys ? In = Object.keys : In = function(e) {
358
- var t, n = [];
359
- for (t in e)
360
- N(e, t) && n.push(t);
361
- return n;
362
- };
363
- var Pi = {
364
- sameDay: "[Today at] LT",
365
- nextDay: "[Tomorrow at] LT",
366
- nextWeek: "dddd [at] LT",
367
- lastDay: "[Yesterday at] LT",
368
- lastWeek: "[Last] dddd [at] LT",
369
- sameElse: "L"
370
- };
371
- function Ci(e, t, n) {
372
- var s = this._calendar[e] || this._calendar.sameElse;
373
- return Me(s) ? s.call(t, n) : s;
374
- }
375
- function be(e, t, n) {
376
- var s = "" + Math.abs(e), r = t - s.length, i = e >= 0;
377
- return (i ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, r)).toString().substr(1) + s;
378
- }
379
- var Gn = /(\[[^\[]*\])|(\\)?([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, zt = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Mn = {}, it = {};
380
- function y(e, t, n, s) {
381
- var r = s;
382
- typeof s == "string" && (r = function() {
383
- return this[s]();
384
- }), e && (it[e] = r), t && (it[t[0]] = function() {
385
- return be(r.apply(this, arguments), t[1], t[2]);
386
- }), n && (it[n] = function() {
387
- return this.localeData().ordinal(
388
- r.apply(this, arguments),
389
- e
390
- );
391
- });
392
- }
393
- function Li(e) {
394
- return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
395
- }
396
- function Ni(e) {
397
- var t = e.match(Gn), n, s;
398
- for (n = 0, s = t.length; n < s; n++)
399
- it[t[n]] ? t[n] = it[t[n]] : t[n] = Li(t[n]);
400
- return function(r) {
401
- var i = "", a;
402
- for (a = 0; a < s; a++)
403
- i += Me(t[a]) ? t[a].call(r, e) : t[a];
404
- return i;
405
- };
406
- }
407
- function Bt(e, t) {
408
- return e.isValid() ? (t = Ls(t, e.localeData()), Mn[t] = Mn[t] || Ni(t), Mn[t](e)) : e.localeData().invalidDate();
409
- }
410
- function Ls(e, t) {
411
- var n = 5;
412
- function s(r) {
413
- return t.longDateFormat(r) || r;
414
- }
415
- for (zt.lastIndex = 0; n >= 0 && zt.test(e); )
416
- e = e.replace(
417
- zt,
418
- s
419
- ), zt.lastIndex = 0, n -= 1;
420
- return e;
421
- }
422
- var xi = {
423
- LTS: "h:mm:ss A",
424
- LT: "h:mm A",
425
- L: "MM/DD/YYYY",
426
- LL: "MMMM D, YYYY",
427
- LLL: "MMMM D, YYYY h:mm A",
428
- LLLL: "dddd, MMMM D, YYYY h:mm A"
429
- };
430
- function Ei(e) {
431
- var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()];
432
- return t || !n ? t : (this._longDateFormat[e] = n.match(Gn).map(function(s) {
433
- return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
434
- }).join(""), this._longDateFormat[e]);
435
- }
436
- var Wi = "Invalid date";
437
- function Gi() {
438
- return this._invalidDate;
439
- }
440
- var Ui = "%d", Ai = /\d{1,2}/;
441
- function Hi(e) {
442
- return this._ordinal.replace("%d", e);
443
- }
444
- var zi = {
445
- future: "in %s",
446
- past: "%s ago",
447
- s: "a few seconds",
448
- ss: "%d seconds",
449
- m: "a minute",
450
- mm: "%d minutes",
451
- h: "an hour",
452
- hh: "%d hours",
453
- d: "a day",
454
- dd: "%d days",
455
- w: "a week",
456
- ww: "%d weeks",
457
- M: "a month",
458
- MM: "%d months",
459
- y: "a year",
460
- yy: "%d years"
461
- };
462
- function ji(e, t, n, s) {
463
- var r = this._relativeTime[n];
464
- return Me(r) ? r(e, t, n, s) : r.replace(/%d/i, e);
465
- }
466
- function Bi(e, t) {
467
- var n = this._relativeTime[e > 0 ? "future" : "past"];
468
- return Me(n) ? n(t) : n.replace(/%s/i, t);
469
- }
470
- var bs = {
471
- D: "date",
472
- dates: "date",
473
- date: "date",
474
- d: "day",
475
- days: "day",
476
- day: "day",
477
- e: "weekday",
478
- weekdays: "weekday",
479
- weekday: "weekday",
480
- E: "isoWeekday",
481
- isoweekdays: "isoWeekday",
482
- isoweekday: "isoWeekday",
483
- DDD: "dayOfYear",
484
- dayofyears: "dayOfYear",
485
- dayofyear: "dayOfYear",
486
- h: "hour",
487
- hours: "hour",
488
- hour: "hour",
489
- ms: "millisecond",
490
- milliseconds: "millisecond",
491
- millisecond: "millisecond",
492
- m: "minute",
493
- minutes: "minute",
494
- minute: "minute",
495
- M: "month",
496
- months: "month",
497
- month: "month",
498
- Q: "quarter",
499
- quarters: "quarter",
500
- quarter: "quarter",
501
- s: "second",
502
- seconds: "second",
503
- second: "second",
504
- gg: "weekYear",
505
- weekyears: "weekYear",
506
- weekyear: "weekYear",
507
- GG: "isoWeekYear",
508
- isoweekyears: "isoWeekYear",
509
- isoweekyear: "isoWeekYear",
510
- w: "week",
511
- weeks: "week",
512
- week: "week",
513
- W: "isoWeek",
514
- isoweeks: "isoWeek",
515
- isoweek: "isoWeek",
516
- y: "year",
517
- years: "year",
518
- year: "year"
519
- };
520
- function ge(e) {
521
- return typeof e == "string" ? bs[e] || bs[e.toLowerCase()] : void 0;
522
- }
523
- function Un(e) {
524
- var t = {}, n, s;
525
- for (s in e)
526
- N(e, s) && (n = ge(s), n && (t[n] = e[s]));
527
- return t;
528
- }
529
- var Vi = {
530
- date: 9,
531
- day: 11,
532
- weekday: 11,
533
- isoWeekday: 11,
534
- dayOfYear: 4,
535
- hour: 13,
536
- millisecond: 16,
537
- minute: 14,
538
- month: 8,
539
- quarter: 7,
540
- second: 15,
541
- weekYear: 1,
542
- isoWeekYear: 1,
543
- week: 5,
544
- isoWeek: 5,
545
- year: 1
546
- };
547
- function Zi(e) {
548
- var t = [], n;
549
- for (n in e)
550
- N(e, n) && t.push({ unit: n, priority: Vi[n] });
551
- return t.sort(function(s, r) {
552
- return s.priority - r.priority;
553
- }), t;
554
- }
555
- var Ns = /\d/, de = /\d\d/, xs = /\d{3}/, An = /\d{4}/, tn = /[+-]?\d{6}/, X = /\d\d?/, Es = /\d\d\d\d?/, Ws = /\d\d\d\d\d\d?/, nn = /\d{1,3}/, Hn = /\d{1,4}/, sn = /[+-]?\d{1,6}/, ot = /\d+/, rn = /[+-]?\d+/, qi = /Z|[+-]\d\d:?\d\d/gi, an = /Z|[+-]\d\d(?::?\d\d)?/gi, Ji = /[+-]?\d+(\.\d{1,3})?/, Tt = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ut = /^[1-9]\d?/, zn = /^([1-9]\d|\d)/, Jt;
556
- Jt = {};
557
- function g(e, t, n) {
558
- Jt[e] = Me(t) ? t : function(s, r) {
559
- return s && n ? n : t;
560
- };
561
- }
562
- function Qi(e, t) {
563
- return N(Jt, e) ? Jt[e](t._strict, t._locale) : new RegExp(Xi(e));
564
- }
565
- function Xi(e) {
566
- return Ie(
567
- e.replace("\\", "").replace(
568
- /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
569
- function(t, n, s, r, i) {
570
- return n || s || r || i;
571
- }
572
- )
573
- );
574
- }
575
- function Ie(e) {
576
- return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
577
- }
578
- function ce(e) {
579
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
580
- }
581
- function I(e) {
582
- var t = +e, n = 0;
583
- return t !== 0 && isFinite(t) && (n = ce(t)), n;
584
- }
585
- var Rn = {};
586
- function A(e, t) {
587
- var n, s = t, r;
588
- for (typeof e == "string" && (e = [e]), Pe(t) && (s = function(i, a) {
589
- a[t] = I(i);
590
- }), r = e.length, n = 0; n < r; n++)
591
- Rn[e[n]] = s;
592
- }
593
- function It(e, t) {
594
- A(e, function(n, s, r, i) {
595
- r._w = r._w || {}, t(n, r._w, r, i);
596
- });
597
- }
598
- function Ki(e, t, n) {
599
- t != null && N(Rn, e) && Rn[e](t, n._a, n, e);
600
- }
601
- function ln(e) {
602
- return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
603
- }
604
- var ae = 0, Oe = 1, ke = 2, re = 3, _e = 4, Te = 5, Je = 6, $i = 7, ea = 8;
605
- y("Y", 0, 0, function() {
606
- var e = this.year();
607
- return e <= 9999 ? be(e, 4) : "+" + e;
608
- });
609
- y(0, ["YY", 2], 0, function() {
610
- return this.year() % 100;
611
- });
612
- y(0, ["YYYY", 4], 0, "year");
613
- y(0, ["YYYYY", 5], 0, "year");
614
- y(0, ["YYYYYY", 6, !0], 0, "year");
615
- g("Y", rn);
616
- g("YY", X, de);
617
- g("YYYY", Hn, An);
618
- g("YYYYY", sn, tn);
619
- g("YYYYYY", sn, tn);
620
- A(["YYYYY", "YYYYYY"], ae);
621
- A("YYYY", function(e, t) {
622
- t[ae] = e.length === 2 ? m.parseTwoDigitYear(e) : I(e);
623
- });
624
- A("YY", function(e, t) {
625
- t[ae] = m.parseTwoDigitYear(e);
626
- });
627
- A("Y", function(e, t) {
628
- t[ae] = parseInt(e, 10);
629
- });
630
- function wt(e) {
631
- return ln(e) ? 366 : 365;
632
- }
633
- m.parseTwoDigitYear = function(e) {
634
- return I(e) + (I(e) > 68 ? 1900 : 2e3);
635
- };
636
- var Gs = dt("FullYear", !0);
637
- function ta() {
638
- return ln(this.year());
639
- }
640
- function dt(e, t) {
641
- return function(n) {
642
- return n != null ? (Us(this, e, n), m.updateOffset(this, t), this) : kt(this, e);
643
- };
644
- }
645
- function kt(e, t) {
646
- if (!e.isValid())
647
- return NaN;
648
- var n = e._d, s = e._isUTC;
649
- switch (t) {
650
- case "Milliseconds":
651
- return s ? n.getUTCMilliseconds() : n.getMilliseconds();
652
- case "Seconds":
653
- return s ? n.getUTCSeconds() : n.getSeconds();
654
- case "Minutes":
655
- return s ? n.getUTCMinutes() : n.getMinutes();
656
- case "Hours":
657
- return s ? n.getUTCHours() : n.getHours();
658
- case "Date":
659
- return s ? n.getUTCDate() : n.getDate();
660
- case "Day":
661
- return s ? n.getUTCDay() : n.getDay();
662
- case "Month":
663
- return s ? n.getUTCMonth() : n.getMonth();
664
- case "FullYear":
665
- return s ? n.getUTCFullYear() : n.getFullYear();
666
- default:
667
- return NaN;
668
- }
669
- }
670
- function Us(e, t, n) {
671
- var s, r, i, a, o;
672
- if (!(!e.isValid() || isNaN(n))) {
673
- switch (s = e._d, r = e._isUTC, t) {
674
- case "Milliseconds":
675
- return void (r ? s.setUTCMilliseconds(n) : s.setMilliseconds(n));
676
- case "Seconds":
677
- return void (r ? s.setUTCSeconds(n) : s.setSeconds(n));
678
- case "Minutes":
679
- return void (r ? s.setUTCMinutes(n) : s.setMinutes(n));
680
- case "Hours":
681
- return void (r ? s.setUTCHours(n) : s.setHours(n));
682
- case "Date":
683
- return void (r ? s.setUTCDate(n) : s.setDate(n));
684
- case "FullYear":
685
- break;
686
- default:
687
- return;
688
- }
689
- i = n, a = e.month(), o = e.date(), o = o === 29 && a === 1 && !ln(i) ? 28 : o, r ? s.setUTCFullYear(i, a, o) : s.setFullYear(i, a, o);
690
- }
691
- }
692
- function na(e) {
693
- return e = ge(e), Me(this[e]) ? this[e]() : this;
694
- }
695
- function sa(e, t) {
696
- if (typeof e == "object") {
697
- e = Un(e);
698
- var n = Zi(e), s, r = n.length;
699
- for (s = 0; s < r; s++)
700
- this[n[s].unit](e[n[s].unit]);
701
- } else if (e = ge(e), Me(this[e]))
702
- return this[e](t);
703
- return this;
704
- }
705
- function ra(e, t) {
706
- return (e % t + t) % t;
707
- }
708
- var se;
709
- Array.prototype.indexOf ? se = Array.prototype.indexOf : se = function(e) {
710
- var t;
711
- for (t = 0; t < this.length; ++t)
712
- if (this[t] === e)
713
- return t;
714
- return -1;
715
- };
716
- function jn(e, t) {
717
- if (isNaN(e) || isNaN(t))
718
- return NaN;
719
- var n = ra(t, 12);
720
- return e += (t - n) / 12, n === 1 ? ln(e) ? 29 : 28 : 31 - n % 7 % 2;
721
- }
722
- y("M", ["MM", 2], "Mo", function() {
723
- return this.month() + 1;
724
- });
725
- y("MMM", 0, 0, function(e) {
726
- return this.localeData().monthsShort(this, e);
727
- });
728
- y("MMMM", 0, 0, function(e) {
729
- return this.localeData().months(this, e);
730
- });
731
- g("M", X, ut);
732
- g("MM", X, de);
733
- g("MMM", function(e, t) {
734
- return t.monthsShortRegex(e);
735
- });
736
- g("MMMM", function(e, t) {
737
- return t.monthsRegex(e);
738
- });
739
- A(["M", "MM"], function(e, t) {
740
- t[Oe] = I(e) - 1;
741
- });
742
- A(["MMM", "MMMM"], function(e, t, n, s) {
743
- var r = n._locale.monthsParse(e, s, n._strict);
744
- r != null ? t[Oe] = r : D(n).invalidMonth = e;
745
- });
746
- var ia = "January_February_March_April_May_June_July_August_September_October_November_December".split(
747
- "_"
748
- ), As = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Hs = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, aa = Tt, la = Tt;
749
- function oa(e, t) {
750
- return e ? ye(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Hs).test(t) ? "format" : "standalone"][e.month()] : ye(this._months) ? this._months : this._months.standalone;
751
- }
752
- function ua(e, t) {
753
- return e ? ye(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Hs.test(t) ? "format" : "standalone"][e.month()] : ye(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
754
- }
755
- function da(e, t, n) {
756
- var s, r, i, a = e.toLocaleLowerCase();
757
- if (!this._monthsParse)
758
- for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
759
- i = Se([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
760
- i,
761
- ""
762
- ).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(i, "").toLocaleLowerCase();
763
- return n ? t === "MMM" ? (r = se.call(this._shortMonthsParse, a), r !== -1 ? r : null) : (r = se.call(this._longMonthsParse, a), r !== -1 ? r : null) : t === "MMM" ? (r = se.call(this._shortMonthsParse, a), r !== -1 ? r : (r = se.call(this._longMonthsParse, a), r !== -1 ? r : null)) : (r = se.call(this._longMonthsParse, a), r !== -1 ? r : (r = se.call(this._shortMonthsParse, a), r !== -1 ? r : null));
764
- }
765
- function fa(e, t, n) {
766
- var s, r, i;
767
- if (this._monthsParseExact)
768
- return da.call(this, e, t, n);
769
- for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
770
- if (r = Se([2e3, s]), n && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
771
- "^" + this.months(r, "").replace(".", "") + "$",
772
- "i"
773
- ), this._shortMonthsParse[s] = new RegExp(
774
- "^" + this.monthsShort(r, "").replace(".", "") + "$",
775
- "i"
776
- )), !n && !this._monthsParse[s] && (i = "^" + this.months(r, "") + "|^" + this.monthsShort(r, ""), this._monthsParse[s] = new RegExp(i.replace(".", ""), "i")), n && t === "MMMM" && this._longMonthsParse[s].test(e))
777
- return s;
778
- if (n && t === "MMM" && this._shortMonthsParse[s].test(e))
779
- return s;
780
- if (!n && this._monthsParse[s].test(e))
781
- return s;
782
- }
783
- }
784
- function zs(e, t) {
785
- if (!e.isValid())
786
- return e;
787
- if (typeof t == "string") {
788
- if (/^\d+$/.test(t))
789
- t = I(t);
790
- else if (t = e.localeData().monthsParse(t), !Pe(t))
791
- return e;
792
- }
793
- var n = t, s = e.date();
794
- return s = s < 29 ? s : Math.min(s, jn(e.year(), n)), e._isUTC ? e._d.setUTCMonth(n, s) : e._d.setMonth(n, s), e;
795
- }
796
- function js(e) {
797
- return e != null ? (zs(this, e), m.updateOffset(this, !0), this) : kt(this, "Month");
798
- }
799
- function ca() {
800
- return jn(this.year(), this.month());
801
- }
802
- function ha(e) {
803
- return this._monthsParseExact ? (N(this, "_monthsRegex") || Bs.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (N(this, "_monthsShortRegex") || (this._monthsShortRegex = aa), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
804
- }
805
- function ma(e) {
806
- return this._monthsParseExact ? (N(this, "_monthsRegex") || Bs.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (N(this, "_monthsRegex") || (this._monthsRegex = la), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
807
- }
808
- function Bs() {
809
- function e(f, h) {
810
- return h.length - f.length;
811
- }
812
- var t = [], n = [], s = [], r, i, a, o;
813
- for (r = 0; r < 12; r++)
814
- i = Se([2e3, r]), a = Ie(this.monthsShort(i, "")), o = Ie(this.months(i, "")), t.push(a), n.push(o), s.push(o), s.push(a);
815
- t.sort(e), n.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
816
- "^(" + n.join("|") + ")",
817
- "i"
818
- ), this._monthsShortStrictRegex = new RegExp(
819
- "^(" + t.join("|") + ")",
820
- "i"
821
- );
822
- }
823
- function ga(e, t, n, s, r, i, a) {
824
- var o;
825
- return e < 100 && e >= 0 ? (o = new Date(e + 400, t, n, s, r, i, a), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, n, s, r, i, a), o;
826
- }
827
- function bt(e) {
828
- var t, n;
829
- return e < 100 && e >= 0 ? (n = Array.prototype.slice.call(arguments), n[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
830
- }
831
- function Qt(e, t, n) {
832
- var s = 7 + t - n, r = (7 + bt(e, 0, s).getUTCDay() - t) % 7;
833
- return -r + s - 1;
834
- }
835
- function Vs(e, t, n, s, r) {
836
- var i = (7 + n - s) % 7, a = Qt(e, s, r), o = 1 + 7 * (t - 1) + i + a, f, h;
837
- return o <= 0 ? (f = e - 1, h = wt(f) + o) : o > wt(e) ? (f = e + 1, h = o - wt(e)) : (f = e, h = o), {
838
- year: f,
839
- dayOfYear: h
840
- };
841
- }
842
- function St(e, t, n) {
843
- var s = Qt(e.year(), t, n), r = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, i, a;
844
- return r < 1 ? (a = e.year() - 1, i = r + Re(a, t, n)) : r > Re(e.year(), t, n) ? (i = r - Re(e.year(), t, n), a = e.year() + 1) : (a = e.year(), i = r), {
845
- week: i,
846
- year: a
847
- };
848
- }
849
- function Re(e, t, n) {
850
- var s = Qt(e, t, n), r = Qt(e + 1, t, n);
851
- return (wt(e) - s + r) / 7;
852
- }
853
- y("w", ["ww", 2], "wo", "week");
854
- y("W", ["WW", 2], "Wo", "isoWeek");
855
- g("w", X, ut);
856
- g("ww", X, de);
857
- g("W", X, ut);
858
- g("WW", X, de);
859
- It(
860
- ["w", "ww", "W", "WW"],
861
- function(e, t, n, s) {
862
- t[s.substr(0, 1)] = I(e);
863
- }
864
- );
865
- function _a(e) {
866
- return St(e, this._week.dow, this._week.doy).week;
867
- }
868
- var ya = {
869
- dow: 0,
870
- // Sunday is the first day of the week.
871
- doy: 6
872
- // The week that contains Jan 6th is the first week of the year.
873
- };
874
- function pa() {
875
- return this._week.dow;
876
- }
877
- function va() {
878
- return this._week.doy;
879
- }
880
- function wa(e) {
881
- var t = this.localeData().week(this);
882
- return e == null ? t : this.add((e - t) * 7, "d");
883
- }
884
- function ka(e) {
885
- var t = St(this, 1, 4).week;
886
- return e == null ? t : this.add((e - t) * 7, "d");
887
- }
888
- y("d", 0, "do", "day");
889
- y("dd", 0, 0, function(e) {
890
- return this.localeData().weekdaysMin(this, e);
891
- });
892
- y("ddd", 0, 0, function(e) {
893
- return this.localeData().weekdaysShort(this, e);
894
- });
895
- y("dddd", 0, 0, function(e) {
896
- return this.localeData().weekdays(this, e);
897
- });
898
- y("e", 0, 0, "weekday");
899
- y("E", 0, 0, "isoWeekday");
900
- g("d", X);
901
- g("e", X);
902
- g("E", X);
903
- g("dd", function(e, t) {
904
- return t.weekdaysMinRegex(e);
905
- });
906
- g("ddd", function(e, t) {
907
- return t.weekdaysShortRegex(e);
908
- });
909
- g("dddd", function(e, t) {
910
- return t.weekdaysRegex(e);
911
- });
912
- It(["dd", "ddd", "dddd"], function(e, t, n, s) {
913
- var r = n._locale.weekdaysParse(e, s, n._strict);
914
- r != null ? t.d = r : D(n).invalidWeekday = e;
915
- });
916
- It(["d", "e", "E"], function(e, t, n, s) {
917
- t[s] = I(e);
918
- });
919
- function ba(e, t) {
920
- return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
921
- }
922
- function Sa(e, t) {
923
- return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
924
- }
925
- function Bn(e, t) {
926
- return e.slice(t, 7).concat(e.slice(0, t));
927
- }
928
- var Ma = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Zs = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Fa = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Da = Tt, Ya = Tt, Oa = Tt;
929
- function Ta(e, t) {
930
- var n = ye(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
931
- return e === !0 ? Bn(n, this._week.dow) : e ? n[e.day()] : n;
932
- }
933
- function Ia(e) {
934
- return e === !0 ? Bn(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
935
- }
936
- function Ra(e) {
937
- return e === !0 ? Bn(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
938
- }
939
- function Pa(e, t, n) {
940
- var s, r, i, a = e.toLocaleLowerCase();
941
- if (!this._weekdaysParse)
942
- for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
943
- i = Se([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
944
- i,
945
- ""
946
- ).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
947
- i,
948
- ""
949
- ).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(i, "").toLocaleLowerCase();
950
- return n ? t === "dddd" ? (r = se.call(this._weekdaysParse, a), r !== -1 ? r : null) : t === "ddd" ? (r = se.call(this._shortWeekdaysParse, a), r !== -1 ? r : null) : (r = se.call(this._minWeekdaysParse, a), r !== -1 ? r : null) : t === "dddd" ? (r = se.call(this._weekdaysParse, a), r !== -1 || (r = se.call(this._shortWeekdaysParse, a), r !== -1) ? r : (r = se.call(this._minWeekdaysParse, a), r !== -1 ? r : null)) : t === "ddd" ? (r = se.call(this._shortWeekdaysParse, a), r !== -1 || (r = se.call(this._weekdaysParse, a), r !== -1) ? r : (r = se.call(this._minWeekdaysParse, a), r !== -1 ? r : null)) : (r = se.call(this._minWeekdaysParse, a), r !== -1 || (r = se.call(this._weekdaysParse, a), r !== -1) ? r : (r = se.call(this._shortWeekdaysParse, a), r !== -1 ? r : null));
951
- }
952
- function Ca(e, t, n) {
953
- var s, r, i;
954
- if (this._weekdaysParseExact)
955
- return Pa.call(this, e, t, n);
956
- for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
957
- if (r = Se([2e3, 1]).day(s), n && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
958
- "^" + this.weekdays(r, "").replace(".", "\\.?") + "$",
959
- "i"
960
- ), this._shortWeekdaysParse[s] = new RegExp(
961
- "^" + this.weekdaysShort(r, "").replace(".", "\\.?") + "$",
962
- "i"
963
- ), this._minWeekdaysParse[s] = new RegExp(
964
- "^" + this.weekdaysMin(r, "").replace(".", "\\.?") + "$",
965
- "i"
966
- )), this._weekdaysParse[s] || (i = "^" + this.weekdays(r, "") + "|^" + this.weekdaysShort(r, "") + "|^" + this.weekdaysMin(r, ""), this._weekdaysParse[s] = new RegExp(i.replace(".", ""), "i")), n && t === "dddd" && this._fullWeekdaysParse[s].test(e))
967
- return s;
968
- if (n && t === "ddd" && this._shortWeekdaysParse[s].test(e))
969
- return s;
970
- if (n && t === "dd" && this._minWeekdaysParse[s].test(e))
971
- return s;
972
- if (!n && this._weekdaysParse[s].test(e))
973
- return s;
974
- }
975
- }
976
- function La(e) {
977
- if (!this.isValid())
978
- return e != null ? this : NaN;
979
- var t = kt(this, "Day");
980
- return e != null ? (e = ba(e, this.localeData()), this.add(e - t, "d")) : t;
981
- }
982
- function Na(e) {
983
- if (!this.isValid())
984
- return e != null ? this : NaN;
985
- var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
986
- return e == null ? t : this.add(e - t, "d");
987
- }
988
- function xa(e) {
989
- if (!this.isValid())
990
- return e != null ? this : NaN;
991
- if (e != null) {
992
- var t = Sa(e, this.localeData());
993
- return this.day(this.day() % 7 ? t : t - 7);
994
- } else
995
- return this.day() || 7;
996
- }
997
- function Ea(e) {
998
- return this._weekdaysParseExact ? (N(this, "_weekdaysRegex") || Vn.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (N(this, "_weekdaysRegex") || (this._weekdaysRegex = Da), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
999
- }
1000
- function Wa(e) {
1001
- return this._weekdaysParseExact ? (N(this, "_weekdaysRegex") || Vn.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (N(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ya), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
1002
- }
1003
- function Ga(e) {
1004
- return this._weekdaysParseExact ? (N(this, "_weekdaysRegex") || Vn.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (N(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Oa), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
1005
- }
1006
- function Vn() {
1007
- function e(p, M) {
1008
- return M.length - p.length;
1009
- }
1010
- var t = [], n = [], s = [], r = [], i, a, o, f, h;
1011
- for (i = 0; i < 7; i++)
1012
- a = Se([2e3, 1]).day(i), o = Ie(this.weekdaysMin(a, "")), f = Ie(this.weekdaysShort(a, "")), h = Ie(this.weekdays(a, "")), t.push(o), n.push(f), s.push(h), r.push(o), r.push(f), r.push(h);
1013
- t.sort(e), n.sort(e), s.sort(e), r.sort(e), this._weekdaysRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
1014
- "^(" + s.join("|") + ")",
1015
- "i"
1016
- ), this._weekdaysShortStrictRegex = new RegExp(
1017
- "^(" + n.join("|") + ")",
1018
- "i"
1019
- ), this._weekdaysMinStrictRegex = new RegExp(
1020
- "^(" + t.join("|") + ")",
1021
- "i"
1022
- );
1023
- }
1024
- function Zn() {
1025
- return this.hours() % 12 || 12;
1026
- }
1027
- function Ua() {
1028
- return this.hours() || 24;
1029
- }
1030
- y("H", ["HH", 2], 0, "hour");
1031
- y("h", ["hh", 2], 0, Zn);
1032
- y("k", ["kk", 2], 0, Ua);
1033
- y("hmm", 0, 0, function() {
1034
- return "" + Zn.apply(this) + be(this.minutes(), 2);
1035
- });
1036
- y("hmmss", 0, 0, function() {
1037
- return "" + Zn.apply(this) + be(this.minutes(), 2) + be(this.seconds(), 2);
1038
- });
1039
- y("Hmm", 0, 0, function() {
1040
- return "" + this.hours() + be(this.minutes(), 2);
1041
- });
1042
- y("Hmmss", 0, 0, function() {
1043
- return "" + this.hours() + be(this.minutes(), 2) + be(this.seconds(), 2);
1044
- });
1045
- function qs(e, t) {
1046
- y(e, 0, 0, function() {
1047
- return this.localeData().meridiem(
1048
- this.hours(),
1049
- this.minutes(),
1050
- t
1051
- );
1052
- });
1053
- }
1054
- qs("a", !0);
1055
- qs("A", !1);
1056
- function Js(e, t) {
1057
- return t._meridiemParse;
1058
- }
1059
- g("a", Js);
1060
- g("A", Js);
1061
- g("H", X, zn);
1062
- g("h", X, ut);
1063
- g("k", X, ut);
1064
- g("HH", X, de);
1065
- g("hh", X, de);
1066
- g("kk", X, de);
1067
- g("hmm", Es);
1068
- g("hmmss", Ws);
1069
- g("Hmm", Es);
1070
- g("Hmmss", Ws);
1071
- A(["H", "HH"], re);
1072
- A(["k", "kk"], function(e, t, n) {
1073
- var s = I(e);
1074
- t[re] = s === 24 ? 0 : s;
1075
- });
1076
- A(["a", "A"], function(e, t, n) {
1077
- n._isPm = n._locale.isPM(e), n._meridiem = e;
1078
- });
1079
- A(["h", "hh"], function(e, t, n) {
1080
- t[re] = I(e), D(n).bigHour = !0;
1081
- });
1082
- A("hmm", function(e, t, n) {
1083
- var s = e.length - 2;
1084
- t[re] = I(e.substr(0, s)), t[_e] = I(e.substr(s)), D(n).bigHour = !0;
1085
- });
1086
- A("hmmss", function(e, t, n) {
1087
- var s = e.length - 4, r = e.length - 2;
1088
- t[re] = I(e.substr(0, s)), t[_e] = I(e.substr(s, 2)), t[Te] = I(e.substr(r)), D(n).bigHour = !0;
1089
- });
1090
- A("Hmm", function(e, t, n) {
1091
- var s = e.length - 2;
1092
- t[re] = I(e.substr(0, s)), t[_e] = I(e.substr(s));
1093
- });
1094
- A("Hmmss", function(e, t, n) {
1095
- var s = e.length - 4, r = e.length - 2;
1096
- t[re] = I(e.substr(0, s)), t[_e] = I(e.substr(s, 2)), t[Te] = I(e.substr(r));
1097
- });
1098
- function Aa(e) {
1099
- return (e + "").toLowerCase().charAt(0) === "p";
1100
- }
1101
- var Ha = /[ap]\.?m?\.?/i, za = dt("Hours", !0);
1102
- function ja(e, t, n) {
1103
- return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM";
1104
- }
1105
- var Qs = {
1106
- calendar: Pi,
1107
- longDateFormat: xi,
1108
- invalidDate: Wi,
1109
- ordinal: Ui,
1110
- dayOfMonthOrdinalParse: Ai,
1111
- relativeTime: zi,
1112
- months: ia,
1113
- monthsShort: As,
1114
- week: ya,
1115
- weekdays: Ma,
1116
- weekdaysMin: Fa,
1117
- weekdaysShort: Zs,
1118
- meridiemParse: Ha
1119
- }, $ = {}, pt = {}, Mt;
1120
- function Ba(e, t) {
1121
- var n, s = Math.min(e.length, t.length);
1122
- for (n = 0; n < s; n += 1)
1123
- if (e[n] !== t[n])
1124
- return n;
1125
- return s;
1126
- }
1127
- function Ss(e) {
1128
- return e && e.toLowerCase().replace("_", "-");
1129
- }
1130
- function Va(e) {
1131
- for (var t = 0, n, s, r, i; t < e.length; ) {
1132
- for (i = Ss(e[t]).split("-"), n = i.length, s = Ss(e[t + 1]), s = s ? s.split("-") : null; n > 0; ) {
1133
- if (r = on(i.slice(0, n).join("-")), r)
1134
- return r;
1135
- if (s && s.length >= n && Ba(i, s) >= n - 1)
1136
- break;
1137
- n--;
1138
- }
1139
- t++;
1140
- }
1141
- return Mt;
1142
- }
1143
- function Za(e) {
1144
- return !!(e && e.match("^[^/\\\\]*$"));
1145
- }
1146
- function on(e) {
1147
- var t = null, n;
1148
- if ($[e] === void 0 && typeof module != "undefined" && module && module.exports && Za(e))
1149
- try {
1150
- t = Mt._abbr, n = Oi, n("./locale/" + e), Ae(t);
1151
- } catch (s) {
1152
- $[e] = null;
1153
- }
1154
- return $[e];
1155
- }
1156
- function Ae(e, t) {
1157
- var n;
1158
- return e && (ue(t) ? n = Ce(e) : n = qn(e, t), n ? Mt = n : typeof console != "undefined" && console.warn && console.warn(
1159
- "Locale " + e + " not found. Did you forget to load it?"
1160
- )), Mt._abbr;
1161
- }
1162
- function qn(e, t) {
1163
- if (t !== null) {
1164
- var n, s = Qs;
1165
- if (t.abbr = e, $[e] != null)
1166
- Cs(
1167
- "defineLocaleOverride",
1168
- "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."
1169
- ), s = $[e]._config;
1170
- else if (t.parentLocale != null)
1171
- if ($[t.parentLocale] != null)
1172
- s = $[t.parentLocale]._config;
1173
- else if (n = on(t.parentLocale), n != null)
1174
- s = n._config;
1175
- else
1176
- return pt[t.parentLocale] || (pt[t.parentLocale] = []), pt[t.parentLocale].push({
1177
- name: e,
1178
- config: t
1179
- }), null;
1180
- return $[e] = new Wn(Tn(s, t)), pt[e] && pt[e].forEach(function(r) {
1181
- qn(r.name, r.config);
1182
- }), Ae(e), $[e];
1183
- } else
1184
- return delete $[e], null;
1185
- }
1186
- function qa(e, t) {
1187
- if (t != null) {
1188
- var n, s, r = Qs;
1189
- $[e] != null && $[e].parentLocale != null ? $[e].set(Tn($[e]._config, t)) : (s = on(e), s != null && (r = s._config), t = Tn(r, t), s == null && (t.abbr = e), n = new Wn(t), n.parentLocale = $[e], $[e] = n), Ae(e);
1190
- } else
1191
- $[e] != null && ($[e].parentLocale != null ? ($[e] = $[e].parentLocale, e === Ae() && Ae(e)) : $[e] != null && delete $[e]);
1192
- return $[e];
1193
- }
1194
- function Ce(e) {
1195
- var t;
1196
- if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
1197
- return Mt;
1198
- if (!ye(e)) {
1199
- if (t = on(e), t)
1200
- return t;
1201
- e = [e];
1202
- }
1203
- return Va(e);
1204
- }
1205
- function Ja() {
1206
- return In($);
1207
- }
1208
- function Jn(e) {
1209
- var t, n = e._a;
1210
- return n && D(e).overflow === -2 && (t = n[Oe] < 0 || n[Oe] > 11 ? Oe : n[ke] < 1 || n[ke] > jn(n[ae], n[Oe]) ? ke : n[re] < 0 || n[re] > 24 || n[re] === 24 && (n[_e] !== 0 || n[Te] !== 0 || n[Je] !== 0) ? re : n[_e] < 0 || n[_e] > 59 ? _e : n[Te] < 0 || n[Te] > 59 ? Te : n[Je] < 0 || n[Je] > 999 ? Je : -1, D(e)._overflowDayOfYear && (t < ae || t > ke) && (t = ke), D(e)._overflowWeeks && t === -1 && (t = $i), D(e)._overflowWeekday && t === -1 && (t = ea), D(e).overflow = t), e;
1211
- }
1212
- var Qa = /^\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)?)?$/, Xa = /^\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)?)?$/, Ka = /Z|[+-]\d\d(?::?\d\d)?/, jt = [
1213
- ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1214
- ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1215
- ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
1216
- ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
1217
- ["YYYY-DDD", /\d{4}-\d{3}/],
1218
- ["YYYY-MM", /\d{4}-\d\d/, !1],
1219
- ["YYYYYYMMDD", /[+-]\d{10}/],
1220
- ["YYYYMMDD", /\d{8}/],
1221
- ["GGGG[W]WWE", /\d{4}W\d{3}/],
1222
- ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
1223
- ["YYYYDDD", /\d{7}/],
1224
- ["YYYYMM", /\d{6}/, !1],
1225
- ["YYYY", /\d{4}/, !1]
1226
- ], Fn = [
1227
- ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1228
- ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1229
- ["HH:mm:ss", /\d\d:\d\d:\d\d/],
1230
- ["HH:mm", /\d\d:\d\d/],
1231
- ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
1232
- ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
1233
- ["HHmmss", /\d\d\d\d\d\d/],
1234
- ["HHmm", /\d\d\d\d/],
1235
- ["HH", /\d\d/]
1236
- ], $a = /^\/?Date\((-?\d+)/i, el = /^(?:(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}))$/, tl = {
1237
- UT: 0,
1238
- GMT: 0,
1239
- EDT: -4 * 60,
1240
- EST: -5 * 60,
1241
- CDT: -5 * 60,
1242
- CST: -6 * 60,
1243
- MDT: -6 * 60,
1244
- MST: -7 * 60,
1245
- PDT: -7 * 60,
1246
- PST: -8 * 60
1247
- };
1248
- function Xs(e) {
1249
- var t, n, s = e._i, r = Qa.exec(s) || Xa.exec(s), i, a, o, f, h = jt.length, p = Fn.length;
1250
- if (r) {
1251
- for (D(e).iso = !0, t = 0, n = h; t < n; t++)
1252
- if (jt[t][1].exec(r[1])) {
1253
- a = jt[t][0], i = jt[t][2] !== !1;
1254
- break;
1255
- }
1256
- if (a == null) {
1257
- e._isValid = !1;
1258
- return;
1259
- }
1260
- if (r[3]) {
1261
- for (t = 0, n = p; t < n; t++)
1262
- if (Fn[t][1].exec(r[3])) {
1263
- o = (r[2] || " ") + Fn[t][0];
1264
- break;
1265
- }
1266
- if (o == null) {
1267
- e._isValid = !1;
1268
- return;
1269
- }
1270
- }
1271
- if (!i && o != null) {
1272
- e._isValid = !1;
1273
- return;
1274
- }
1275
- if (r[4])
1276
- if (Ka.exec(r[4]))
1277
- f = "Z";
1278
- else {
1279
- e._isValid = !1;
1280
- return;
1281
- }
1282
- e._f = a + (o || "") + (f || ""), Xn(e);
1283
- } else
1284
- e._isValid = !1;
1285
- }
1286
- function nl(e, t, n, s, r, i) {
1287
- var a = [
1288
- sl(e),
1289
- As.indexOf(t),
1290
- parseInt(n, 10),
1291
- parseInt(s, 10),
1292
- parseInt(r, 10)
1293
- ];
1294
- return i && a.push(parseInt(i, 10)), a;
1295
- }
1296
- function sl(e) {
1297
- var t = parseInt(e, 10);
1298
- return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
1299
- }
1300
- function rl(e) {
1301
- return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
1302
- }
1303
- function il(e, t, n) {
1304
- if (e) {
1305
- var s = Zs.indexOf(e), r = new Date(
1306
- t[0],
1307
- t[1],
1308
- t[2]
1309
- ).getDay();
1310
- if (s !== r)
1311
- return D(n).weekdayMismatch = !0, n._isValid = !1, !1;
1312
- }
1313
- return !0;
1314
- }
1315
- function al(e, t, n) {
1316
- if (e)
1317
- return tl[e];
1318
- if (t)
1319
- return 0;
1320
- var s = parseInt(n, 10), r = s % 100, i = (s - r) / 100;
1321
- return i * 60 + r;
1322
- }
1323
- function Ks(e) {
1324
- var t = el.exec(rl(e._i)), n;
1325
- if (t) {
1326
- if (n = nl(
1327
- t[4],
1328
- t[3],
1329
- t[2],
1330
- t[5],
1331
- t[6],
1332
- t[7]
1333
- ), !il(t[1], n, e))
1334
- return;
1335
- e._a = n, e._tzm = al(t[8], t[9], t[10]), e._d = bt.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), D(e).rfc2822 = !0;
1336
- } else
1337
- e._isValid = !1;
1338
- }
1339
- function ll(e) {
1340
- var t = $a.exec(e._i);
1341
- if (t !== null) {
1342
- e._d = /* @__PURE__ */ new Date(+t[1]);
1343
- return;
1344
- }
1345
- if (Xs(e), e._isValid === !1)
1346
- delete e._isValid;
1347
- else
1348
- return;
1349
- if (Ks(e), e._isValid === !1)
1350
- delete e._isValid;
1351
- else
1352
- return;
1353
- e._strict ? e._isValid = !1 : m.createFromInputFallback(e);
1354
- }
1355
- m.createFromInputFallback = me(
1356
- "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.",
1357
- function(e) {
1358
- e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
1359
- }
1360
- );
1361
- function st(e, t, n) {
1362
- return e != null ? e : t != null ? t : n;
1363
- }
1364
- function ol(e) {
1365
- var t = new Date(m.now());
1366
- return e._useUTC ? [
1367
- t.getUTCFullYear(),
1368
- t.getUTCMonth(),
1369
- t.getUTCDate()
1370
- ] : [t.getFullYear(), t.getMonth(), t.getDate()];
1371
- }
1372
- function Qn(e) {
1373
- var t, n, s = [], r, i, a;
1374
- if (!e._d) {
1375
- for (r = ol(e), e._w && e._a[ke] == null && e._a[Oe] == null && ul(e), e._dayOfYear != null && (a = st(e._a[ae], r[ae]), (e._dayOfYear > wt(a) || e._dayOfYear === 0) && (D(e)._overflowDayOfYear = !0), n = bt(a, 0, e._dayOfYear), e._a[Oe] = n.getUTCMonth(), e._a[ke] = n.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1376
- e._a[t] = s[t] = r[t];
1377
- for (; t < 7; t++)
1378
- e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
1379
- e._a[re] === 24 && e._a[_e] === 0 && e._a[Te] === 0 && e._a[Je] === 0 && (e._nextDay = !0, e._a[re] = 0), e._d = (e._useUTC ? bt : ga).apply(
1380
- null,
1381
- s
1382
- ), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[re] = 24), e._w && typeof e._w.d != "undefined" && e._w.d !== i && (D(e).weekdayMismatch = !0);
1383
- }
1384
- }
1385
- function ul(e) {
1386
- var t, n, s, r, i, a, o, f, h;
1387
- t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, a = 4, n = st(
1388
- t.GG,
1389
- e._a[ae],
1390
- St(Q(), 1, 4).year
1391
- ), s = st(t.W, 1), r = st(t.E, 1), (r < 1 || r > 7) && (f = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, h = St(Q(), i, a), n = st(t.gg, e._a[ae], h.year), s = st(t.w, h.week), t.d != null ? (r = t.d, (r < 0 || r > 6) && (f = !0)) : t.e != null ? (r = t.e + i, (t.e < 0 || t.e > 6) && (f = !0)) : r = i), s < 1 || s > Re(n, i, a) ? D(e)._overflowWeeks = !0 : f != null ? D(e)._overflowWeekday = !0 : (o = Vs(n, s, r, i, a), e._a[ae] = o.year, e._dayOfYear = o.dayOfYear);
1392
- }
1393
- m.ISO_8601 = function() {
1394
- };
1395
- m.RFC_2822 = function() {
1396
- };
1397
- function Xn(e) {
1398
- if (e._f === m.ISO_8601) {
1399
- Xs(e);
1400
- return;
1401
- }
1402
- if (e._f === m.RFC_2822) {
1403
- Ks(e);
1404
- return;
1405
- }
1406
- e._a = [], D(e).empty = !0;
1407
- var t = "" + e._i, n, s, r, i, a, o = t.length, f = 0, h, p;
1408
- for (r = Ls(e._f, e._locale).match(Gn) || [], p = r.length, n = 0; n < p; n++)
1409
- i = r[n], s = (t.match(Qi(i, e)) || [])[0], s && (a = t.substr(0, t.indexOf(s)), a.length > 0 && D(e).unusedInput.push(a), t = t.slice(
1410
- t.indexOf(s) + s.length
1411
- ), f += s.length), it[i] ? (s ? D(e).empty = !1 : D(e).unusedTokens.push(i), Ki(i, s, e)) : e._strict && !s && D(e).unusedTokens.push(i);
1412
- D(e).charsLeftOver = o - f, t.length > 0 && D(e).unusedInput.push(t), e._a[re] <= 12 && D(e).bigHour === !0 && e._a[re] > 0 && (D(e).bigHour = void 0), D(e).parsedDateParts = e._a.slice(0), D(e).meridiem = e._meridiem, e._a[re] = dl(
1413
- e._locale,
1414
- e._a[re],
1415
- e._meridiem
1416
- ), h = D(e).era, h !== null && (e._a[ae] = e._locale.erasConvertYear(h, e._a[ae])), Qn(e), Jn(e);
1417
- }
1418
- function dl(e, t, n) {
1419
- var s;
1420
- return n == null ? t : e.meridiemHour != null ? e.meridiemHour(t, n) : (e.isPM != null && (s = e.isPM(n), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
1421
- }
1422
- function fl(e) {
1423
- var t, n, s, r, i, a, o = !1, f = e._f.length;
1424
- if (f === 0) {
1425
- D(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1426
- return;
1427
- }
1428
- for (r = 0; r < f; r++)
1429
- i = 0, a = !1, t = En({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[r], Xn(t), xn(t) && (a = !0), i += D(t).charsLeftOver, i += D(t).unusedTokens.length * 10, D(t).score = i, o ? i < s && (s = i, n = t) : (s == null || i < s || a) && (s = i, n = t, a && (o = !0));
1430
- Ge(e, n || t);
1431
- }
1432
- function cl(e) {
1433
- if (!e._d) {
1434
- var t = Un(e._i), n = t.day === void 0 ? t.date : t.day;
1435
- e._a = Rs(
1436
- [t.year, t.month, n, t.hour, t.minute, t.second, t.millisecond],
1437
- function(s) {
1438
- return s && parseInt(s, 10);
1439
- }
1440
- ), Qn(e);
1441
- }
1442
- }
1443
- function hl(e) {
1444
- var t = new Ot(Jn($s(e)));
1445
- return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
1446
- }
1447
- function $s(e) {
1448
- var t = e._i, n = e._f;
1449
- return e._locale = e._locale || Ce(e._l), t === null || n === void 0 && t === "" ? en({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), pe(t) ? new Ot(Jn(t)) : (Yt(t) ? e._d = t : ye(n) ? fl(e) : n ? Xn(e) : ml(e), xn(e) || (e._d = null), e));
1450
- }
1451
- function ml(e) {
1452
- var t = e._i;
1453
- ue(t) ? e._d = new Date(m.now()) : Yt(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ll(e) : ye(t) ? (e._a = Rs(t.slice(0), function(n) {
1454
- return parseInt(n, 10);
1455
- }), Qn(e)) : Qe(t) ? cl(e) : Pe(t) ? e._d = new Date(t) : m.createFromInputFallback(e);
1456
- }
1457
- function er(e, t, n, s, r) {
1458
- var i = {};
1459
- return (t === !0 || t === !1) && (s = t, t = void 0), (n === !0 || n === !1) && (s = n, n = void 0), (Qe(e) && Nn(e) || ye(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = r, i._l = n, i._i = e, i._f = t, i._strict = s, hl(i);
1460
- }
1461
- function Q(e, t, n, s) {
1462
- return er(e, t, n, s, !1);
1463
- }
1464
- var gl = me(
1465
- "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1466
- function() {
1467
- var e = Q.apply(null, arguments);
1468
- return this.isValid() && e.isValid() ? e < this ? this : e : en();
1469
- }
1470
- ), _l = me(
1471
- "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1472
- function() {
1473
- var e = Q.apply(null, arguments);
1474
- return this.isValid() && e.isValid() ? e > this ? this : e : en();
1475
- }
1476
- );
1477
- function tr(e, t) {
1478
- var n, s;
1479
- if (t.length === 1 && ye(t[0]) && (t = t[0]), !t.length)
1480
- return Q();
1481
- for (n = t[0], s = 1; s < t.length; ++s)
1482
- (!t[s].isValid() || t[s][e](n)) && (n = t[s]);
1483
- return n;
1484
- }
1485
- function yl() {
1486
- var e = [].slice.call(arguments, 0);
1487
- return tr("isBefore", e);
1488
- }
1489
- function pl() {
1490
- var e = [].slice.call(arguments, 0);
1491
- return tr("isAfter", e);
1492
- }
1493
- var vl = function() {
1494
- return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
1495
- }, vt = [
1496
- "year",
1497
- "quarter",
1498
- "month",
1499
- "week",
1500
- "day",
1501
- "hour",
1502
- "minute",
1503
- "second",
1504
- "millisecond"
1505
- ];
1506
- function wl(e) {
1507
- var t, n = !1, s, r = vt.length;
1508
- for (t in e)
1509
- if (N(e, t) && !(se.call(vt, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
1510
- return !1;
1511
- for (s = 0; s < r; ++s)
1512
- if (e[vt[s]]) {
1513
- if (n)
1514
- return !1;
1515
- parseFloat(e[vt[s]]) !== I(e[vt[s]]) && (n = !0);
1516
- }
1517
- return !0;
1518
- }
1519
- function kl() {
1520
- return this._isValid;
1521
- }
1522
- function bl() {
1523
- return ve(NaN);
1524
- }
1525
- function un(e) {
1526
- var t = Un(e), n = t.year || 0, s = t.quarter || 0, r = t.month || 0, i = t.week || t.isoWeek || 0, a = t.day || 0, o = t.hour || 0, f = t.minute || 0, h = t.second || 0, p = t.millisecond || 0;
1527
- this._isValid = wl(t), this._milliseconds = +p + h * 1e3 + // 1000
1528
- f * 6e4 + // 1000 * 60
1529
- o * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +r + s * 3 + n * 12, this._data = {}, this._locale = Ce(), this._bubble();
1530
- }
1531
- function Vt(e) {
1532
- return e instanceof un;
1533
- }
1534
- function Pn(e) {
1535
- return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
1536
- }
1537
- function Sl(e, t, n) {
1538
- var s = Math.min(e.length, t.length), r = Math.abs(e.length - t.length), i = 0, a;
1539
- for (a = 0; a < s; a++)
1540
- I(e[a]) !== I(t[a]) && i++;
1541
- return i + r;
1542
- }
1543
- function nr(e, t) {
1544
- y(e, 0, 0, function() {
1545
- var n = this.utcOffset(), s = "+";
1546
- return n < 0 && (n = -n, s = "-"), s + be(~~(n / 60), 2) + t + be(~~n % 60, 2);
1547
- });
1548
- }
1549
- nr("Z", ":");
1550
- nr("ZZ", "");
1551
- g("Z", an);
1552
- g("ZZ", an);
1553
- A(["Z", "ZZ"], function(e, t, n) {
1554
- n._useUTC = !0, n._tzm = Kn(an, e);
1555
- });
1556
- var Ml = /([\+\-]|\d\d)/gi;
1557
- function Kn(e, t) {
1558
- var n = (t || "").match(e), s, r, i;
1559
- return n === null ? null : (s = n[n.length - 1] || [], r = (s + "").match(Ml) || ["-", 0, 0], i = +(r[1] * 60) + I(r[2]), i === 0 ? 0 : r[0] === "+" ? i : -i);
1560
- }
1561
- function $n(e, t) {
1562
- var n, s;
1563
- return t._isUTC ? (n = t.clone(), s = (pe(e) || Yt(e) ? e.valueOf() : Q(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), m.updateOffset(n, !1), n) : Q(e).local();
1564
- }
1565
- function Cn(e) {
1566
- return -Math.round(e._d.getTimezoneOffset());
1567
- }
1568
- m.updateOffset = function() {
1569
- };
1570
- function Fl(e, t, n) {
1571
- var s = this._offset || 0, r;
1572
- if (!this.isValid())
1573
- return e != null ? this : NaN;
1574
- if (e != null) {
1575
- if (typeof e == "string") {
1576
- if (e = Kn(an, e), e === null)
1577
- return this;
1578
- } else Math.abs(e) < 16 && !n && (e = e * 60);
1579
- return !this._isUTC && t && (r = Cn(this)), this._offset = e, this._isUTC = !0, r != null && this.add(r, "m"), s !== e && (!t || this._changeInProgress ? ir(
1580
- this,
1581
- ve(e - s, "m"),
1582
- 1,
1583
- !1
1584
- ) : this._changeInProgress || (this._changeInProgress = !0, m.updateOffset(this, !0), this._changeInProgress = null)), this;
1585
- } else
1586
- return this._isUTC ? s : Cn(this);
1587
- }
1588
- function Dl(e, t) {
1589
- return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
1590
- }
1591
- function Yl(e) {
1592
- return this.utcOffset(0, e);
1593
- }
1594
- function Ol(e) {
1595
- return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Cn(this), "m")), this;
1596
- }
1597
- function Tl() {
1598
- if (this._tzm != null)
1599
- this.utcOffset(this._tzm, !1, !0);
1600
- else if (typeof this._i == "string") {
1601
- var e = Kn(qi, this._i);
1602
- e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
1603
- }
1604
- return this;
1605
- }
1606
- function Il(e) {
1607
- return this.isValid() ? (e = e ? Q(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
1608
- }
1609
- function Rl() {
1610
- return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
1611
- }
1612
- function Pl() {
1613
- if (!ue(this._isDSTShifted))
1614
- return this._isDSTShifted;
1615
- var e = {}, t;
1616
- return En(e, this), e = $s(e), e._a ? (t = e._isUTC ? Se(e._a) : Q(e._a), this._isDSTShifted = this.isValid() && Sl(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
1617
- }
1618
- function Cl() {
1619
- return this.isValid() ? !this._isUTC : !1;
1620
- }
1621
- function Ll() {
1622
- return this.isValid() ? this._isUTC : !1;
1623
- }
1624
- function sr() {
1625
- return this.isValid() ? this._isUTC && this._offset === 0 : !1;
1626
- }
1627
- var Nl = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, xl = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1628
- function ve(e, t) {
1629
- var n = e, s = null, r, i, a;
1630
- return Vt(e) ? n = {
1631
- ms: e._milliseconds,
1632
- d: e._days,
1633
- M: e._months
1634
- } : Pe(e) || !isNaN(+e) ? (n = {}, t ? n[t] = +e : n.milliseconds = +e) : (s = Nl.exec(e)) ? (r = s[1] === "-" ? -1 : 1, n = {
1635
- y: 0,
1636
- d: I(s[ke]) * r,
1637
- h: I(s[re]) * r,
1638
- m: I(s[_e]) * r,
1639
- s: I(s[Te]) * r,
1640
- ms: I(Pn(s[Je] * 1e3)) * r
1641
- // the millisecond decimal point is included in the match
1642
- }) : (s = xl.exec(e)) ? (r = s[1] === "-" ? -1 : 1, n = {
1643
- y: qe(s[2], r),
1644
- M: qe(s[3], r),
1645
- w: qe(s[4], r),
1646
- d: qe(s[5], r),
1647
- h: qe(s[6], r),
1648
- m: qe(s[7], r),
1649
- s: qe(s[8], r)
1650
- }) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (a = El(
1651
- Q(n.from),
1652
- Q(n.to)
1653
- ), n = {}, n.ms = a.milliseconds, n.M = a.months), i = new un(n), Vt(e) && N(e, "_locale") && (i._locale = e._locale), Vt(e) && N(e, "_isValid") && (i._isValid = e._isValid), i;
1654
- }
1655
- ve.fn = un.prototype;
1656
- ve.invalid = bl;
1657
- function qe(e, t) {
1658
- var n = e && parseFloat(e.replace(",", "."));
1659
- return (isNaN(n) ? 0 : n) * t;
1660
- }
1661
- function Ms(e, t) {
1662
- var n = {};
1663
- return n.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n;
1664
- }
1665
- function El(e, t) {
1666
- var n;
1667
- return e.isValid() && t.isValid() ? (t = $n(t, e), e.isBefore(t) ? n = Ms(e, t) : (n = Ms(t, e), n.milliseconds = -n.milliseconds, n.months = -n.months), n) : { milliseconds: 0, months: 0 };
1668
- }
1669
- function rr(e, t) {
1670
- return function(n, s) {
1671
- var r, i;
1672
- return s !== null && !isNaN(+s) && (Cs(
1673
- t,
1674
- "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
1675
- ), i = n, n = s, s = i), r = ve(n, s), ir(this, r, e), this;
1676
- };
1677
- }
1678
- function ir(e, t, n, s) {
1679
- var r = t._milliseconds, i = Pn(t._days), a = Pn(t._months);
1680
- e.isValid() && (s = s == null ? !0 : s, a && zs(e, kt(e, "Month") + a * n), i && Us(e, "Date", kt(e, "Date") + i * n), r && e._d.setTime(e._d.valueOf() + r * n), s && m.updateOffset(e, i || a));
1681
- }
1682
- var Wl = rr(1, "add"), Gl = rr(-1, "subtract");
1683
- function ar(e) {
1684
- return typeof e == "string" || e instanceof String;
1685
- }
1686
- function Ul(e) {
1687
- return pe(e) || Yt(e) || ar(e) || Pe(e) || Hl(e) || Al(e) || e === null || e === void 0;
1688
- }
1689
- function Al(e) {
1690
- var t = Qe(e) && !Nn(e), n = !1, s = [
1691
- "years",
1692
- "year",
1693
- "y",
1694
- "months",
1695
- "month",
1696
- "M",
1697
- "days",
1698
- "day",
1699
- "d",
1700
- "dates",
1701
- "date",
1702
- "D",
1703
- "hours",
1704
- "hour",
1705
- "h",
1706
- "minutes",
1707
- "minute",
1708
- "m",
1709
- "seconds",
1710
- "second",
1711
- "s",
1712
- "milliseconds",
1713
- "millisecond",
1714
- "ms"
1715
- ], r, i, a = s.length;
1716
- for (r = 0; r < a; r += 1)
1717
- i = s[r], n = n || N(e, i);
1718
- return t && n;
1719
- }
1720
- function Hl(e) {
1721
- var t = ye(e), n = !1;
1722
- return t && (n = e.filter(function(s) {
1723
- return !Pe(s) && ar(e);
1724
- }).length === 0), t && n;
1725
- }
1726
- function zl(e) {
1727
- var t = Qe(e) && !Nn(e), n = !1, s = [
1728
- "sameDay",
1729
- "nextDay",
1730
- "lastDay",
1731
- "nextWeek",
1732
- "lastWeek",
1733
- "sameElse"
1734
- ], r, i;
1735
- for (r = 0; r < s.length; r += 1)
1736
- i = s[r], n = n || N(e, i);
1737
- return t && n;
1738
- }
1739
- function jl(e, t) {
1740
- var n = e.diff(t, "days", !0);
1741
- return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse";
1742
- }
1743
- function Bl(e, t) {
1744
- arguments.length === 1 && (arguments[0] ? Ul(arguments[0]) ? (e = arguments[0], t = void 0) : zl(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1745
- var n = e || Q(), s = $n(n, this).startOf("day"), r = m.calendarFormat(this, s) || "sameElse", i = t && (Me(t[r]) ? t[r].call(this, n) : t[r]);
1746
- return this.format(
1747
- i || this.localeData().calendar(r, this, Q(n))
1748
- );
1749
- }
1750
- function Vl() {
1751
- return new Ot(this);
1752
- }
1753
- function Zl(e, t) {
1754
- var n = pe(e) ? e : Q(e);
1755
- return this.isValid() && n.isValid() ? (t = ge(t) || "millisecond", t === "millisecond" ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1756
- }
1757
- function ql(e, t) {
1758
- var n = pe(e) ? e : Q(e);
1759
- return this.isValid() && n.isValid() ? (t = ge(t) || "millisecond", t === "millisecond" ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) : !1;
1760
- }
1761
- function Jl(e, t, n, s) {
1762
- var r = pe(e) ? e : Q(e), i = pe(t) ? t : Q(t);
1763
- return this.isValid() && r.isValid() && i.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(r, n) : !this.isBefore(r, n)) && (s[1] === ")" ? this.isBefore(i, n) : !this.isAfter(i, n))) : !1;
1764
- }
1765
- function Ql(e, t) {
1766
- var n = pe(e) ? e : Q(e), s;
1767
- return this.isValid() && n.isValid() ? (t = ge(t) || "millisecond", t === "millisecond" ? this.valueOf() === n.valueOf() : (s = n.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
1768
- }
1769
- function Xl(e, t) {
1770
- return this.isSame(e, t) || this.isAfter(e, t);
1771
- }
1772
- function Kl(e, t) {
1773
- return this.isSame(e, t) || this.isBefore(e, t);
1774
- }
1775
- function $l(e, t, n) {
1776
- var s, r, i;
1777
- if (!this.isValid())
1778
- return NaN;
1779
- if (s = $n(e, this), !s.isValid())
1780
- return NaN;
1781
- switch (r = (s.utcOffset() - this.utcOffset()) * 6e4, t = ge(t), t) {
1782
- case "year":
1783
- i = Zt(this, s) / 12;
1784
- break;
1785
- case "month":
1786
- i = Zt(this, s);
1787
- break;
1788
- case "quarter":
1789
- i = Zt(this, s) / 3;
1790
- break;
1791
- case "second":
1792
- i = (this - s) / 1e3;
1793
- break;
1794
- case "minute":
1795
- i = (this - s) / 6e4;
1796
- break;
1797
- case "hour":
1798
- i = (this - s) / 36e5;
1799
- break;
1800
- case "day":
1801
- i = (this - s - r) / 864e5;
1802
- break;
1803
- case "week":
1804
- i = (this - s - r) / 6048e5;
1805
- break;
1806
- default:
1807
- i = this - s;
1808
- }
1809
- return n ? i : ce(i);
1810
- }
1811
- function Zt(e, t) {
1812
- if (e.date() < t.date())
1813
- return -Zt(t, e);
1814
- var n = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(n, "months"), r, i;
1815
- return t - s < 0 ? (r = e.clone().add(n - 1, "months"), i = (t - s) / (s - r)) : (r = e.clone().add(n + 1, "months"), i = (t - s) / (r - s)), -(n + i) || 0;
1816
- }
1817
- m.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1818
- m.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1819
- function eo() {
1820
- return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1821
- }
1822
- function to(e) {
1823
- if (!this.isValid())
1824
- return null;
1825
- var t = e !== !0, n = t ? this.clone().utc() : this;
1826
- return n.year() < 0 || n.year() > 9999 ? Bt(
1827
- n,
1828
- t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
1829
- ) : Me(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Bt(n, "Z")) : Bt(
1830
- n,
1831
- t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
1832
- );
1833
- }
1834
- function no() {
1835
- if (!this.isValid())
1836
- return "moment.invalid(/* " + this._i + " */)";
1837
- var e = "moment", t = "", n, s, r, i;
1838
- return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), n = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", r = "-MM-DD[T]HH:mm:ss.SSS", i = t + '[")]', this.format(n + s + r + i);
1839
- }
1840
- function so(e) {
1841
- e || (e = this.isUtc() ? m.defaultFormatUtc : m.defaultFormat);
1842
- var t = Bt(this, e);
1843
- return this.localeData().postformat(t);
1844
- }
1845
- function ro(e, t) {
1846
- return this.isValid() && (pe(e) && e.isValid() || Q(e).isValid()) ? ve({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1847
- }
1848
- function io(e) {
1849
- return this.from(Q(), e);
1850
- }
1851
- function ao(e, t) {
1852
- return this.isValid() && (pe(e) && e.isValid() || Q(e).isValid()) ? ve({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1853
- }
1854
- function lo(e) {
1855
- return this.to(Q(), e);
1856
- }
1857
- function lr(e) {
1858
- var t;
1859
- return e === void 0 ? this._locale._abbr : (t = Ce(e), t != null && (this._locale = t), this);
1860
- }
1861
- var or = me(
1862
- "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1863
- function(e) {
1864
- return e === void 0 ? this.localeData() : this.locale(e);
1865
- }
1866
- );
1867
- function ur() {
1868
- return this._locale;
1869
- }
1870
- var Xt = 1e3, at = 60 * Xt, Kt = 60 * at, dr = (365 * 400 + 97) * 24 * Kt;
1871
- function lt(e, t) {
1872
- return (e % t + t) % t;
1873
- }
1874
- function fr(e, t, n) {
1875
- return e < 100 && e >= 0 ? new Date(e + 400, t, n) - dr : new Date(e, t, n).valueOf();
1876
- }
1877
- function cr(e, t, n) {
1878
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - dr : Date.UTC(e, t, n);
1879
- }
1880
- function oo(e) {
1881
- var t, n;
1882
- if (e = ge(e), e === void 0 || e === "millisecond" || !this.isValid())
1883
- return this;
1884
- switch (n = this._isUTC ? cr : fr, e) {
1885
- case "year":
1886
- t = n(this.year(), 0, 1);
1887
- break;
1888
- case "quarter":
1889
- t = n(
1890
- this.year(),
1891
- this.month() - this.month() % 3,
1892
- 1
1893
- );
1894
- break;
1895
- case "month":
1896
- t = n(this.year(), this.month(), 1);
1897
- break;
1898
- case "week":
1899
- t = n(
1900
- this.year(),
1901
- this.month(),
1902
- this.date() - this.weekday()
1903
- );
1904
- break;
1905
- case "isoWeek":
1906
- t = n(
1907
- this.year(),
1908
- this.month(),
1909
- this.date() - (this.isoWeekday() - 1)
1910
- );
1911
- break;
1912
- case "day":
1913
- case "date":
1914
- t = n(this.year(), this.month(), this.date());
1915
- break;
1916
- case "hour":
1917
- t = this._d.valueOf(), t -= lt(
1918
- t + (this._isUTC ? 0 : this.utcOffset() * at),
1919
- Kt
1920
- );
1921
- break;
1922
- case "minute":
1923
- t = this._d.valueOf(), t -= lt(t, at);
1924
- break;
1925
- case "second":
1926
- t = this._d.valueOf(), t -= lt(t, Xt);
1927
- break;
1928
- }
1929
- return this._d.setTime(t), m.updateOffset(this, !0), this;
1930
- }
1931
- function uo(e) {
1932
- var t, n;
1933
- if (e = ge(e), e === void 0 || e === "millisecond" || !this.isValid())
1934
- return this;
1935
- switch (n = this._isUTC ? cr : fr, e) {
1936
- case "year":
1937
- t = n(this.year() + 1, 0, 1) - 1;
1938
- break;
1939
- case "quarter":
1940
- t = n(
1941
- this.year(),
1942
- this.month() - this.month() % 3 + 3,
1943
- 1
1944
- ) - 1;
1945
- break;
1946
- case "month":
1947
- t = n(this.year(), this.month() + 1, 1) - 1;
1948
- break;
1949
- case "week":
1950
- t = n(
1951
- this.year(),
1952
- this.month(),
1953
- this.date() - this.weekday() + 7
1954
- ) - 1;
1955
- break;
1956
- case "isoWeek":
1957
- t = n(
1958
- this.year(),
1959
- this.month(),
1960
- this.date() - (this.isoWeekday() - 1) + 7
1961
- ) - 1;
1962
- break;
1963
- case "day":
1964
- case "date":
1965
- t = n(this.year(), this.month(), this.date() + 1) - 1;
1966
- break;
1967
- case "hour":
1968
- t = this._d.valueOf(), t += Kt - lt(
1969
- t + (this._isUTC ? 0 : this.utcOffset() * at),
1970
- Kt
1971
- ) - 1;
1972
- break;
1973
- case "minute":
1974
- t = this._d.valueOf(), t += at - lt(t, at) - 1;
1975
- break;
1976
- case "second":
1977
- t = this._d.valueOf(), t += Xt - lt(t, Xt) - 1;
1978
- break;
1979
- }
1980
- return this._d.setTime(t), m.updateOffset(this, !0), this;
1981
- }
1982
- function fo() {
1983
- return this._d.valueOf() - (this._offset || 0) * 6e4;
1984
- }
1985
- function co() {
1986
- return Math.floor(this.valueOf() / 1e3);
1987
- }
1988
- function ho() {
1989
- return new Date(this.valueOf());
1990
- }
1991
- function mo() {
1992
- var e = this;
1993
- return [
1994
- e.year(),
1995
- e.month(),
1996
- e.date(),
1997
- e.hour(),
1998
- e.minute(),
1999
- e.second(),
2000
- e.millisecond()
2001
- ];
2002
- }
2003
- function go() {
2004
- var e = this;
2005
- return {
2006
- years: e.year(),
2007
- months: e.month(),
2008
- date: e.date(),
2009
- hours: e.hours(),
2010
- minutes: e.minutes(),
2011
- seconds: e.seconds(),
2012
- milliseconds: e.milliseconds()
2013
- };
2014
- }
2015
- function _o() {
2016
- return this.isValid() ? this.toISOString() : null;
2017
- }
2018
- function yo() {
2019
- return xn(this);
2020
- }
2021
- function po() {
2022
- return Ge({}, D(this));
2023
- }
2024
- function vo() {
2025
- return D(this).overflow;
2026
- }
2027
- function wo() {
2028
- return {
2029
- input: this._i,
2030
- format: this._f,
2031
- locale: this._locale,
2032
- isUTC: this._isUTC,
2033
- strict: this._strict
2034
- };
2035
- }
2036
- y("N", 0, 0, "eraAbbr");
2037
- y("NN", 0, 0, "eraAbbr");
2038
- y("NNN", 0, 0, "eraAbbr");
2039
- y("NNNN", 0, 0, "eraName");
2040
- y("NNNNN", 0, 0, "eraNarrow");
2041
- y("y", ["y", 1], "yo", "eraYear");
2042
- y("y", ["yy", 2], 0, "eraYear");
2043
- y("y", ["yyy", 3], 0, "eraYear");
2044
- y("y", ["yyyy", 4], 0, "eraYear");
2045
- g("N", es);
2046
- g("NN", es);
2047
- g("NNN", es);
2048
- g("NNNN", Ro);
2049
- g("NNNNN", Po);
2050
- A(
2051
- ["N", "NN", "NNN", "NNNN", "NNNNN"],
2052
- function(e, t, n, s) {
2053
- var r = n._locale.erasParse(e, s, n._strict);
2054
- r ? D(n).era = r : D(n).invalidEra = e;
2055
- }
2056
- );
2057
- g("y", ot);
2058
- g("yy", ot);
2059
- g("yyy", ot);
2060
- g("yyyy", ot);
2061
- g("yo", Co);
2062
- A(["y", "yy", "yyy", "yyyy"], ae);
2063
- A(["yo"], function(e, t, n, s) {
2064
- var r;
2065
- n._locale._eraYearOrdinalRegex && (r = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[ae] = n._locale.eraYearOrdinalParse(e, r) : t[ae] = parseInt(e, 10);
2066
- });
2067
- function ko(e, t) {
2068
- var n, s, r, i = this._eras || Ce("en")._eras;
2069
- for (n = 0, s = i.length; n < s; ++n) {
2070
- switch (typeof i[n].since) {
2071
- case "string":
2072
- r = m(i[n].since).startOf("day"), i[n].since = r.valueOf();
2073
- break;
2074
- }
2075
- switch (typeof i[n].until) {
2076
- case "undefined":
2077
- i[n].until = 1 / 0;
2078
- break;
2079
- case "string":
2080
- r = m(i[n].until).startOf("day").valueOf(), i[n].until = r.valueOf();
2081
- break;
2082
- }
2083
- }
2084
- return i;
2085
- }
2086
- function bo(e, t, n) {
2087
- var s, r, i = this.eras(), a, o, f;
2088
- for (e = e.toUpperCase(), s = 0, r = i.length; s < r; ++s)
2089
- if (a = i[s].name.toUpperCase(), o = i[s].abbr.toUpperCase(), f = i[s].narrow.toUpperCase(), n)
2090
- switch (t) {
2091
- case "N":
2092
- case "NN":
2093
- case "NNN":
2094
- if (o === e)
2095
- return i[s];
2096
- break;
2097
- case "NNNN":
2098
- if (a === e)
2099
- return i[s];
2100
- break;
2101
- case "NNNNN":
2102
- if (f === e)
2103
- return i[s];
2104
- break;
2105
- }
2106
- else if ([a, o, f].indexOf(e) >= 0)
2107
- return i[s];
2108
- }
2109
- function So(e, t) {
2110
- var n = e.since <= e.until ? 1 : -1;
2111
- return t === void 0 ? m(e.since).year() : m(e.since).year() + (t - e.offset) * n;
2112
- }
2113
- function Mo() {
2114
- var e, t, n, s = this.localeData().eras();
2115
- for (e = 0, t = s.length; e < t; ++e)
2116
- if (n = this.clone().startOf("day").valueOf(), s[e].since <= n && n <= s[e].until || s[e].until <= n && n <= s[e].since)
2117
- return s[e].name;
2118
- return "";
2119
- }
2120
- function Fo() {
2121
- var e, t, n, s = this.localeData().eras();
2122
- for (e = 0, t = s.length; e < t; ++e)
2123
- if (n = this.clone().startOf("day").valueOf(), s[e].since <= n && n <= s[e].until || s[e].until <= n && n <= s[e].since)
2124
- return s[e].narrow;
2125
- return "";
2126
- }
2127
- function Do() {
2128
- var e, t, n, s = this.localeData().eras();
2129
- for (e = 0, t = s.length; e < t; ++e)
2130
- if (n = this.clone().startOf("day").valueOf(), s[e].since <= n && n <= s[e].until || s[e].until <= n && n <= s[e].since)
2131
- return s[e].abbr;
2132
- return "";
2133
- }
2134
- function Yo() {
2135
- var e, t, n, s, r = this.localeData().eras();
2136
- for (e = 0, t = r.length; e < t; ++e)
2137
- if (n = r[e].since <= r[e].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2138
- return (this.year() - m(r[e].since).year()) * n + r[e].offset;
2139
- return this.year();
2140
- }
2141
- function Oo(e) {
2142
- return N(this, "_erasNameRegex") || ts.call(this), e ? this._erasNameRegex : this._erasRegex;
2143
- }
2144
- function To(e) {
2145
- return N(this, "_erasAbbrRegex") || ts.call(this), e ? this._erasAbbrRegex : this._erasRegex;
2146
- }
2147
- function Io(e) {
2148
- return N(this, "_erasNarrowRegex") || ts.call(this), e ? this._erasNarrowRegex : this._erasRegex;
2149
- }
2150
- function es(e, t) {
2151
- return t.erasAbbrRegex(e);
2152
- }
2153
- function Ro(e, t) {
2154
- return t.erasNameRegex(e);
2155
- }
2156
- function Po(e, t) {
2157
- return t.erasNarrowRegex(e);
2158
- }
2159
- function Co(e, t) {
2160
- return t._eraYearOrdinalRegex || ot;
2161
- }
2162
- function ts() {
2163
- var e = [], t = [], n = [], s = [], r, i, a, o, f, h = this.eras();
2164
- for (r = 0, i = h.length; r < i; ++r)
2165
- a = Ie(h[r].name), o = Ie(h[r].abbr), f = Ie(h[r].narrow), t.push(a), e.push(o), n.push(f), s.push(a), s.push(o), s.push(f);
2166
- 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(
2167
- "^(" + n.join("|") + ")",
2168
- "i"
2169
- );
2170
- }
2171
- y(0, ["gg", 2], 0, function() {
2172
- return this.weekYear() % 100;
2173
- });
2174
- y(0, ["GG", 2], 0, function() {
2175
- return this.isoWeekYear() % 100;
2176
- });
2177
- function dn(e, t) {
2178
- y(0, [e, e.length], 0, t);
2179
- }
2180
- dn("gggg", "weekYear");
2181
- dn("ggggg", "weekYear");
2182
- dn("GGGG", "isoWeekYear");
2183
- dn("GGGGG", "isoWeekYear");
2184
- g("G", rn);
2185
- g("g", rn);
2186
- g("GG", X, de);
2187
- g("gg", X, de);
2188
- g("GGGG", Hn, An);
2189
- g("gggg", Hn, An);
2190
- g("GGGGG", sn, tn);
2191
- g("ggggg", sn, tn);
2192
- It(
2193
- ["gggg", "ggggg", "GGGG", "GGGGG"],
2194
- function(e, t, n, s) {
2195
- t[s.substr(0, 2)] = I(e);
2196
- }
2197
- );
2198
- It(["gg", "GG"], function(e, t, n, s) {
2199
- t[s] = m.parseTwoDigitYear(e);
2200
- });
2201
- function Lo(e) {
2202
- return hr.call(
2203
- this,
2204
- e,
2205
- this.week(),
2206
- this.weekday() + this.localeData()._week.dow,
2207
- this.localeData()._week.dow,
2208
- this.localeData()._week.doy
2209
- );
2210
- }
2211
- function No(e) {
2212
- return hr.call(
2213
- this,
2214
- e,
2215
- this.isoWeek(),
2216
- this.isoWeekday(),
2217
- 1,
2218
- 4
2219
- );
2220
- }
2221
- function xo() {
2222
- return Re(this.year(), 1, 4);
2223
- }
2224
- function Eo() {
2225
- return Re(this.isoWeekYear(), 1, 4);
2226
- }
2227
- function Wo() {
2228
- var e = this.localeData()._week;
2229
- return Re(this.year(), e.dow, e.doy);
2230
- }
2231
- function Go() {
2232
- var e = this.localeData()._week;
2233
- return Re(this.weekYear(), e.dow, e.doy);
2234
- }
2235
- function hr(e, t, n, s, r) {
2236
- var i;
2237
- return e == null ? St(this, s, r).year : (i = Re(e, s, r), t > i && (t = i), Uo.call(this, e, t, n, s, r));
2238
- }
2239
- function Uo(e, t, n, s, r) {
2240
- var i = Vs(e, t, n, s, r), a = bt(i.year, 0, i.dayOfYear);
2241
- return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this;
2242
- }
2243
- y("Q", 0, "Qo", "quarter");
2244
- g("Q", Ns);
2245
- A("Q", function(e, t) {
2246
- t[Oe] = (I(e) - 1) * 3;
2247
- });
2248
- function Ao(e) {
2249
- return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
2250
- }
2251
- y("D", ["DD", 2], "Do", "date");
2252
- g("D", X, ut);
2253
- g("DD", X, de);
2254
- g("Do", function(e, t) {
2255
- return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
2256
- });
2257
- A(["D", "DD"], ke);
2258
- A("Do", function(e, t) {
2259
- t[ke] = I(e.match(X)[0]);
2260
- });
2261
- var mr = dt("Date", !0);
2262
- y("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2263
- g("DDD", nn);
2264
- g("DDDD", xs);
2265
- A(["DDD", "DDDD"], function(e, t, n) {
2266
- n._dayOfYear = I(e);
2267
- });
2268
- function Ho(e) {
2269
- var t = Math.round(
2270
- (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
2271
- ) + 1;
2272
- return e == null ? t : this.add(e - t, "d");
2273
- }
2274
- y("m", ["mm", 2], 0, "minute");
2275
- g("m", X, zn);
2276
- g("mm", X, de);
2277
- A(["m", "mm"], _e);
2278
- var zo = dt("Minutes", !1);
2279
- y("s", ["ss", 2], 0, "second");
2280
- g("s", X, zn);
2281
- g("ss", X, de);
2282
- A(["s", "ss"], Te);
2283
- var jo = dt("Seconds", !1);
2284
- y("S", 0, 0, function() {
2285
- return ~~(this.millisecond() / 100);
2286
- });
2287
- y(0, ["SS", 2], 0, function() {
2288
- return ~~(this.millisecond() / 10);
2289
- });
2290
- y(0, ["SSS", 3], 0, "millisecond");
2291
- y(0, ["SSSS", 4], 0, function() {
2292
- return this.millisecond() * 10;
2293
- });
2294
- y(0, ["SSSSS", 5], 0, function() {
2295
- return this.millisecond() * 100;
2296
- });
2297
- y(0, ["SSSSSS", 6], 0, function() {
2298
- return this.millisecond() * 1e3;
2299
- });
2300
- y(0, ["SSSSSSS", 7], 0, function() {
2301
- return this.millisecond() * 1e4;
2302
- });
2303
- y(0, ["SSSSSSSS", 8], 0, function() {
2304
- return this.millisecond() * 1e5;
2305
- });
2306
- y(0, ["SSSSSSSSS", 9], 0, function() {
2307
- return this.millisecond() * 1e6;
2308
- });
2309
- g("S", nn, Ns);
2310
- g("SS", nn, de);
2311
- g("SSS", nn, xs);
2312
- var Ue, gr;
2313
- for (Ue = "SSSS"; Ue.length <= 9; Ue += "S")
2314
- g(Ue, ot);
2315
- function Bo(e, t) {
2316
- t[Je] = I(("0." + e) * 1e3);
2317
- }
2318
- for (Ue = "S"; Ue.length <= 9; Ue += "S")
2319
- A(Ue, Bo);
2320
- gr = dt("Milliseconds", !1);
2321
- y("z", 0, 0, "zoneAbbr");
2322
- y("zz", 0, 0, "zoneName");
2323
- function Vo() {
2324
- return this._isUTC ? "UTC" : "";
2325
- }
2326
- function Zo() {
2327
- return this._isUTC ? "Coordinated Universal Time" : "";
2328
- }
2329
- var c = Ot.prototype;
2330
- c.add = Wl;
2331
- c.calendar = Bl;
2332
- c.clone = Vl;
2333
- c.diff = $l;
2334
- c.endOf = uo;
2335
- c.format = so;
2336
- c.from = ro;
2337
- c.fromNow = io;
2338
- c.to = ao;
2339
- c.toNow = lo;
2340
- c.get = na;
2341
- c.invalidAt = vo;
2342
- c.isAfter = Zl;
2343
- c.isBefore = ql;
2344
- c.isBetween = Jl;
2345
- c.isSame = Ql;
2346
- c.isSameOrAfter = Xl;
2347
- c.isSameOrBefore = Kl;
2348
- c.isValid = yo;
2349
- c.lang = or;
2350
- c.locale = lr;
2351
- c.localeData = ur;
2352
- c.max = _l;
2353
- c.min = gl;
2354
- c.parsingFlags = po;
2355
- c.set = sa;
2356
- c.startOf = oo;
2357
- c.subtract = Gl;
2358
- c.toArray = mo;
2359
- c.toObject = go;
2360
- c.toDate = ho;
2361
- c.toISOString = to;
2362
- c.inspect = no;
2363
- typeof Symbol != "undefined" && Symbol.for != null && (c[Symbol.for("nodejs.util.inspect.custom")] = function() {
2364
- return "Moment<" + this.format() + ">";
2365
- });
2366
- c.toJSON = _o;
2367
- c.toString = eo;
2368
- c.unix = co;
2369
- c.valueOf = fo;
2370
- c.creationData = wo;
2371
- c.eraName = Mo;
2372
- c.eraNarrow = Fo;
2373
- c.eraAbbr = Do;
2374
- c.eraYear = Yo;
2375
- c.year = Gs;
2376
- c.isLeapYear = ta;
2377
- c.weekYear = Lo;
2378
- c.isoWeekYear = No;
2379
- c.quarter = c.quarters = Ao;
2380
- c.month = js;
2381
- c.daysInMonth = ca;
2382
- c.week = c.weeks = wa;
2383
- c.isoWeek = c.isoWeeks = ka;
2384
- c.weeksInYear = Wo;
2385
- c.weeksInWeekYear = Go;
2386
- c.isoWeeksInYear = xo;
2387
- c.isoWeeksInISOWeekYear = Eo;
2388
- c.date = mr;
2389
- c.day = c.days = La;
2390
- c.weekday = Na;
2391
- c.isoWeekday = xa;
2392
- c.dayOfYear = Ho;
2393
- c.hour = c.hours = za;
2394
- c.minute = c.minutes = zo;
2395
- c.second = c.seconds = jo;
2396
- c.millisecond = c.milliseconds = gr;
2397
- c.utcOffset = Fl;
2398
- c.utc = Yl;
2399
- c.local = Ol;
2400
- c.parseZone = Tl;
2401
- c.hasAlignedHourOffset = Il;
2402
- c.isDST = Rl;
2403
- c.isLocal = Cl;
2404
- c.isUtcOffset = Ll;
2405
- c.isUtc = sr;
2406
- c.isUTC = sr;
2407
- c.zoneAbbr = Vo;
2408
- c.zoneName = Zo;
2409
- c.dates = me(
2410
- "dates accessor is deprecated. Use date instead.",
2411
- mr
2412
- );
2413
- c.months = me(
2414
- "months accessor is deprecated. Use month instead",
2415
- js
2416
- );
2417
- c.years = me(
2418
- "years accessor is deprecated. Use year instead",
2419
- Gs
2420
- );
2421
- c.zone = me(
2422
- "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2423
- Dl
2424
- );
2425
- c.isDSTShifted = me(
2426
- "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2427
- Pl
2428
- );
2429
- function qo(e) {
2430
- return Q(e * 1e3);
2431
- }
2432
- function Jo() {
2433
- return Q.apply(null, arguments).parseZone();
2434
- }
2435
- function _r(e) {
2436
- return e;
2437
- }
2438
- var x = Wn.prototype;
2439
- x.calendar = Ci;
2440
- x.longDateFormat = Ei;
2441
- x.invalidDate = Gi;
2442
- x.ordinal = Hi;
2443
- x.preparse = _r;
2444
- x.postformat = _r;
2445
- x.relativeTime = ji;
2446
- x.pastFuture = Bi;
2447
- x.set = Ri;
2448
- x.eras = ko;
2449
- x.erasParse = bo;
2450
- x.erasConvertYear = So;
2451
- x.erasAbbrRegex = To;
2452
- x.erasNameRegex = Oo;
2453
- x.erasNarrowRegex = Io;
2454
- x.months = oa;
2455
- x.monthsShort = ua;
2456
- x.monthsParse = fa;
2457
- x.monthsRegex = ma;
2458
- x.monthsShortRegex = ha;
2459
- x.week = _a;
2460
- x.firstDayOfYear = va;
2461
- x.firstDayOfWeek = pa;
2462
- x.weekdays = Ta;
2463
- x.weekdaysMin = Ra;
2464
- x.weekdaysShort = Ia;
2465
- x.weekdaysParse = Ca;
2466
- x.weekdaysRegex = Ea;
2467
- x.weekdaysShortRegex = Wa;
2468
- x.weekdaysMinRegex = Ga;
2469
- x.isPM = Aa;
2470
- x.meridiem = ja;
2471
- function $t(e, t, n, s) {
2472
- var r = Ce(), i = Se().set(s, t);
2473
- return r[n](i, e);
2474
- }
2475
- function yr(e, t, n) {
2476
- if (Pe(e) && (t = e, e = void 0), e = e || "", t != null)
2477
- return $t(e, t, n, "month");
2478
- var s, r = [];
2479
- for (s = 0; s < 12; s++)
2480
- r[s] = $t(e, s, n, "month");
2481
- return r;
2482
- }
2483
- function ns(e, t, n, s) {
2484
- typeof e == "boolean" ? (Pe(t) && (n = t, t = void 0), t = t || "") : (t = e, n = t, e = !1, Pe(t) && (n = t, t = void 0), t = t || "");
2485
- var r = Ce(), i = e ? r._week.dow : 0, a, o = [];
2486
- if (n != null)
2487
- return $t(t, (n + i) % 7, s, "day");
2488
- for (a = 0; a < 7; a++)
2489
- o[a] = $t(t, (a + i) % 7, s, "day");
2490
- return o;
2491
- }
2492
- function Qo(e, t) {
2493
- return yr(e, t, "months");
2494
- }
2495
- function Xo(e, t) {
2496
- return yr(e, t, "monthsShort");
2497
- }
2498
- function Ko(e, t, n) {
2499
- return ns(e, t, n, "weekdays");
2500
- }
2501
- function $o(e, t, n) {
2502
- return ns(e, t, n, "weekdaysShort");
2503
- }
2504
- function eu(e, t, n) {
2505
- return ns(e, t, n, "weekdaysMin");
2506
- }
2507
- Ae("en", {
2508
- eras: [
2509
- {
2510
- since: "0001-01-01",
2511
- until: 1 / 0,
2512
- offset: 1,
2513
- name: "Anno Domini",
2514
- narrow: "AD",
2515
- abbr: "AD"
2516
- },
2517
- {
2518
- since: "0000-12-31",
2519
- until: -1 / 0,
2520
- offset: 1,
2521
- name: "Before Christ",
2522
- narrow: "BC",
2523
- abbr: "BC"
2524
- }
2525
- ],
2526
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
2527
- ordinal: function(e) {
2528
- var t = e % 10, n = I(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
2529
- return e + n;
2530
- }
2531
- });
2532
- m.lang = me(
2533
- "moment.lang is deprecated. Use moment.locale instead.",
2534
- Ae
2535
- );
2536
- m.langData = me(
2537
- "moment.langData is deprecated. Use moment.localeData instead.",
2538
- Ce
2539
- );
2540
- var De = Math.abs;
2541
- function tu() {
2542
- var e = this._data;
2543
- return this._milliseconds = De(this._milliseconds), this._days = De(this._days), this._months = De(this._months), e.milliseconds = De(e.milliseconds), e.seconds = De(e.seconds), e.minutes = De(e.minutes), e.hours = De(e.hours), e.months = De(e.months), e.years = De(e.years), this;
2544
- }
2545
- function pr(e, t, n, s) {
2546
- var r = ve(t, n);
2547
- return e._milliseconds += s * r._milliseconds, e._days += s * r._days, e._months += s * r._months, e._bubble();
2548
- }
2549
- function nu(e, t) {
2550
- return pr(this, e, t, 1);
2551
- }
2552
- function su(e, t) {
2553
- return pr(this, e, t, -1);
2554
- }
2555
- function Fs(e) {
2556
- return e < 0 ? Math.floor(e) : Math.ceil(e);
2557
- }
2558
- function ru() {
2559
- var e = this._milliseconds, t = this._days, n = this._months, s = this._data, r, i, a, o, f;
2560
- return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += Fs(Ln(n) + t) * 864e5, t = 0, n = 0), s.milliseconds = e % 1e3, r = ce(e / 1e3), s.seconds = r % 60, i = ce(r / 60), s.minutes = i % 60, a = ce(i / 60), s.hours = a % 24, t += ce(a / 24), f = ce(vr(t)), n += f, t -= Fs(Ln(f)), o = ce(n / 12), n %= 12, s.days = t, s.months = n, s.years = o, this;
2561
- }
2562
- function vr(e) {
2563
- return e * 4800 / 146097;
2564
- }
2565
- function Ln(e) {
2566
- return e * 146097 / 4800;
2567
- }
2568
- function iu(e) {
2569
- if (!this.isValid())
2570
- return NaN;
2571
- var t, n, s = this._milliseconds;
2572
- if (e = ge(e), e === "month" || e === "quarter" || e === "year")
2573
- switch (t = this._days + s / 864e5, n = this._months + vr(t), e) {
2574
- case "month":
2575
- return n;
2576
- case "quarter":
2577
- return n / 3;
2578
- case "year":
2579
- return n / 12;
2580
- }
2581
- else
2582
- switch (t = this._days + Math.round(Ln(this._months)), e) {
2583
- case "week":
2584
- return t / 7 + s / 6048e5;
2585
- case "day":
2586
- return t + s / 864e5;
2587
- case "hour":
2588
- return t * 24 + s / 36e5;
2589
- case "minute":
2590
- return t * 1440 + s / 6e4;
2591
- case "second":
2592
- return t * 86400 + s / 1e3;
2593
- case "millisecond":
2594
- return Math.floor(t * 864e5) + s;
2595
- default:
2596
- throw new Error("Unknown unit " + e);
2597
- }
2598
- }
2599
- function Le(e) {
2600
- return function() {
2601
- return this.as(e);
2602
- };
2603
- }
2604
- var wr = Le("ms"), au = Le("s"), lu = Le("m"), ou = Le("h"), uu = Le("d"), du = Le("w"), fu = Le("M"), cu = Le("Q"), hu = Le("y"), mu = wr;
2605
- function gu() {
2606
- return ve(this);
2607
- }
2608
- function _u(e) {
2609
- return e = ge(e), this.isValid() ? this[e + "s"]() : NaN;
2610
- }
2611
- function Ke(e) {
2612
- return function() {
2613
- return this.isValid() ? this._data[e] : NaN;
2614
- };
2615
- }
2616
- var yu = Ke("milliseconds"), pu = Ke("seconds"), vu = Ke("minutes"), wu = Ke("hours"), ku = Ke("days"), bu = Ke("months"), Su = Ke("years");
2617
- function Mu() {
2618
- return ce(this.days() / 7);
2619
- }
2620
- var Ye = Math.round, rt = {
2621
- ss: 44,
2622
- // a few seconds to seconds
2623
- s: 45,
2624
- // seconds to minute
2625
- m: 45,
2626
- // minutes to hour
2627
- h: 22,
2628
- // hours to day
2629
- d: 26,
2630
- // days to month/week
2631
- w: null,
2632
- // weeks to month
2633
- M: 11
2634
- // months to year
2635
- };
2636
- function Fu(e, t, n, s, r) {
2637
- return r.relativeTime(t || 1, !!n, e, s);
2638
- }
2639
- function Du(e, t, n, s) {
2640
- var r = ve(e).abs(), i = Ye(r.as("s")), a = Ye(r.as("m")), o = Ye(r.as("h")), f = Ye(r.as("d")), h = Ye(r.as("M")), p = Ye(r.as("w")), M = Ye(r.as("y")), O = i <= n.ss && ["s", i] || i < n.s && ["ss", i] || a <= 1 && ["m"] || a < n.m && ["mm", a] || o <= 1 && ["h"] || o < n.h && ["hh", o] || f <= 1 && ["d"] || f < n.d && ["dd", f];
2641
- return n.w != null && (O = O || p <= 1 && ["w"] || p < n.w && ["ww", p]), O = O || h <= 1 && ["M"] || h < n.M && ["MM", h] || M <= 1 && ["y"] || ["yy", M], O[2] = t, O[3] = +e > 0, O[4] = s, Fu.apply(null, O);
2642
- }
2643
- function Yu(e) {
2644
- return e === void 0 ? Ye : typeof e == "function" ? (Ye = e, !0) : !1;
2645
- }
2646
- function Ou(e, t) {
2647
- return rt[e] === void 0 ? !1 : t === void 0 ? rt[e] : (rt[e] = t, e === "s" && (rt.ss = t - 1), !0);
2648
- }
2649
- function Tu(e, t) {
2650
- if (!this.isValid())
2651
- return this.localeData().invalidDate();
2652
- var n = !1, s = rt, r, i;
2653
- return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (n = e), typeof t == "object" && (s = Object.assign({}, rt, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), r = this.localeData(), i = Du(this, !n, s, r), n && (i = r.pastFuture(+this, i)), r.postformat(i);
2654
- }
2655
- var Dn = Math.abs;
2656
- function nt(e) {
2657
- return (e > 0) - (e < 0) || +e;
2658
- }
2659
- function fn() {
2660
- if (!this.isValid())
2661
- return this.localeData().invalidDate();
2662
- var e = Dn(this._milliseconds) / 1e3, t = Dn(this._days), n = Dn(this._months), s, r, i, a, o = this.asSeconds(), f, h, p, M;
2663
- return o ? (s = ce(e / 60), r = ce(s / 60), e %= 60, s %= 60, i = ce(n / 12), n %= 12, a = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = o < 0 ? "-" : "", h = nt(this._months) !== nt(o) ? "-" : "", p = nt(this._days) !== nt(o) ? "-" : "", M = nt(this._milliseconds) !== nt(o) ? "-" : "", f + "P" + (i ? h + i + "Y" : "") + (n ? h + n + "M" : "") + (t ? p + t + "D" : "") + (r || s || e ? "T" : "") + (r ? M + r + "H" : "") + (s ? M + s + "M" : "") + (e ? M + a + "S" : "")) : "P0D";
2664
- }
2665
- var R = un.prototype;
2666
- R.isValid = kl;
2667
- R.abs = tu;
2668
- R.add = nu;
2669
- R.subtract = su;
2670
- R.as = iu;
2671
- R.asMilliseconds = wr;
2672
- R.asSeconds = au;
2673
- R.asMinutes = lu;
2674
- R.asHours = ou;
2675
- R.asDays = uu;
2676
- R.asWeeks = du;
2677
- R.asMonths = fu;
2678
- R.asQuarters = cu;
2679
- R.asYears = hu;
2680
- R.valueOf = mu;
2681
- R._bubble = ru;
2682
- R.clone = gu;
2683
- R.get = _u;
2684
- R.milliseconds = yu;
2685
- R.seconds = pu;
2686
- R.minutes = vu;
2687
- R.hours = wu;
2688
- R.days = ku;
2689
- R.weeks = Mu;
2690
- R.months = bu;
2691
- R.years = Su;
2692
- R.humanize = Tu;
2693
- R.toISOString = fn;
2694
- R.toString = fn;
2695
- R.toJSON = fn;
2696
- R.locale = lr;
2697
- R.localeData = ur;
2698
- R.toIsoString = me(
2699
- "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2700
- fn
2701
- );
2702
- R.lang = or;
2703
- y("X", 0, 0, "unix");
2704
- y("x", 0, 0, "valueOf");
2705
- g("x", rn);
2706
- g("X", Ji);
2707
- A("X", function(e, t, n) {
2708
- n._d = new Date(parseFloat(e) * 1e3);
2709
- });
2710
- A("x", function(e, t, n) {
2711
- n._d = new Date(I(e));
2712
- });
2713
- //! moment.js
2714
- m.version = "2.30.1";
2715
- Ti(Q);
2716
- m.fn = c;
2717
- m.min = yl;
2718
- m.max = pl;
2719
- m.now = vl;
2720
- m.utc = Se;
2721
- m.unix = qo;
2722
- m.months = Qo;
2723
- m.isDate = Yt;
2724
- m.locale = Ae;
2725
- m.invalid = en;
2726
- m.duration = ve;
2727
- m.isMoment = pe;
2728
- m.weekdays = Ko;
2729
- m.parseZone = Jo;
2730
- m.localeData = Ce;
2731
- m.isDuration = Vt;
2732
- m.monthsShort = Xo;
2733
- m.weekdaysMin = eu;
2734
- m.defineLocale = qn;
2735
- m.updateLocale = qa;
2736
- m.locales = Ja;
2737
- m.weekdaysShort = $o;
2738
- m.normalizeUnits = ge;
2739
- m.relativeTimeRounding = Yu;
2740
- m.relativeTimeThreshold = Ou;
2741
- m.calendarFormat = jl;
2742
- m.prototype = c;
2743
- m.HTML5_FMT = {
2744
- DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
2745
- // <input type="datetime-local" />
2746
- DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
2747
- // <input type="datetime-local" step="1" />
2748
- DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
2749
- // <input type="datetime-local" step="0.001" />
2750
- DATE: "YYYY-MM-DD",
2751
- // <input type="date" />
2752
- TIME: "HH:mm",
2753
- // <input type="time" />
2754
- TIME_SECONDS: "HH:mm:ss",
2755
- // <input type="time" step="1" />
2756
- TIME_MS: "HH:mm:ss.SSS",
2757
- // <input type="time" step="0.001" />
2758
- WEEK: "GGGG-[W]WW",
2759
- // <input type="week" />
2760
- MONTH: "YYYY-MM"
2761
- // <input type="month" />
2762
- };
2763
- function Iu(e) {
2764
- wi(e, "svelte-u1nn8l", ".CasinoGamePageContainer.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame.svelte-u1nn8l button.svelte-u1nn8l.svelte-u1nn8l{cursor:pointer}.BottomGame.BottomGamePanicSection.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l,.PlayNowButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:2px}.GameThumbnail.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.GameDetails.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{display:flex;flex-direction:column;align-items:center}.GameDetails.svelte-u1nn8l h3.svelte-u1nn8l.svelte-u1nn8l{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{grid-column:span 2}.BottomGame.svelte-u1nn8l .ButtonsContainer.svelte-u1nn8l.svelte-u1nn8l{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame.svelte-u1nn8l .ButtonsContainer.svelte-u1nn8l button.svelte-u1nn8l{cursor:pointer}.RegisterButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100%;height:60px}.GamesContainer.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}p.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}#IframeContainer.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout.svelte-u1nn8l .GamesContainer.svelte-u1nn8l.svelte-u1nn8l{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l,.UnfavoredIcon.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{width:35px;height:35px}.FavIconContainer.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{margin-top:45px}.PanicSection.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection.svelte-u1nn8l .Button.svelte-u1nn8l.svelte-u1nn8l{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:svelte-u1nn8l-bar-animation 2s linear}@-webkit-keyframes svelte-u1nn8l-bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple.svelte-u1nn8l div.svelte-u1nn8l.svelte-u1nn8l{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:svelte-u1nn8l-ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple.svelte-u1nn8l div.svelte-u1nn8l.svelte-u1nn8l:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton.svelte-u1nn8l.svelte-u1nn8l.svelte-u1nn8l{top:40px}@keyframes svelte-u1nn8l-ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}");
2765
- }
2766
- function Ru(e) {
2767
- let t, n, s = (
2768
- /*detailsObtained*/
2769
- e[13] && Ds(e)
2770
- );
2771
- return {
2772
- c() {
2773
- var r;
2774
- t = _("div"), n = _("div"), s && s.c(), u(n, "class", "CasinoGamePageContainer svelte-u1nn8l"), le(n, "background", "rgba(0, 0, 0, 0.5)"), u(t, "class", "GamePageBackground"), le(t, "background", /*mobileView*/
2775
- e[22] ? "" : `url(${/*game*/
2776
- (r = e[12]) == null ? void 0 : r.backgroundImageUrl})`), le(t, "background-size", "cover");
2777
- },
2778
- m(r, i) {
2779
- q(r, t, i), d(t, n), s && s.m(n, null), e[85](t);
2780
- },
2781
- p(r, i) {
2782
- var a;
2783
- /*detailsObtained*/
2784
- r[13] ? s ? s.p(r, i) : (s = Ds(r), s.c(), s.m(n, null)) : s && (s.d(1), s = null), i[0] & /*mobileView, game*/
2785
- 4198400 && le(t, "background", /*mobileView*/
2786
- r[22] ? "" : `url(${/*game*/
2787
- (a = r[12]) == null ? void 0 : a.backgroundImageUrl})`);
2788
- },
2789
- d(r) {
2790
- r && J(t), s && s.d(), e[85](null);
2791
- }
2792
- };
2793
- }
2794
- function Pu(e) {
2795
- let t;
2796
- return {
2797
- c() {
2798
- t = _("p"), t.textContent = "500 Error - Internal Server Error.", u(t, "class", "SearchLoading svelte-u1nn8l");
2799
- },
2800
- m(n, s) {
2801
- q(n, t, s);
2802
- },
2803
- p: Xe,
2804
- d(n) {
2805
- n && J(t);
2806
- }
2807
- };
2808
- }
2809
- function Cu(e) {
2810
- let t, n = (
2811
- /*$_*/
2812
- e[26]("loading") + ""
2813
- ), s;
2814
- return {
2815
- c() {
2816
- t = _("p"), s = V(n), u(t, "class", "SearchLoading svelte-u1nn8l");
2817
- },
2818
- m(r, i) {
2819
- q(r, t, i), d(t, s);
2820
- },
2821
- p(r, i) {
2822
- i[0] & /*$_*/
2823
- 67108864 && n !== (n = /*$_*/
2824
- r[26]("loading") + "") && Z(s, n);
2825
- },
2826
- d(r) {
2827
- r && J(t);
2828
- }
2829
- };
2830
- }
2831
- function Ds(e) {
2832
- let t;
2833
- function n(i, a) {
2834
- if (
2835
- /*mobileView*/
2836
- i[22]
2837
- ) return xu;
2838
- if (
2839
- /*isLoggedIn*/
2840
- i[6]
2841
- ) return Nu;
2842
- if (!/*determiningIsLoggedIn*/
2843
- i[7]) return Lu;
2844
- }
2845
- let s = n(e), r = s && s(e);
2846
- return {
2847
- c() {
2848
- r && r.c(), t = Ft();
2849
- },
2850
- m(i, a) {
2851
- r && r.m(i, a), q(i, t, a);
2852
- },
2853
- p(i, a) {
2854
- s === (s = n(i)) && r ? r.p(i, a) : (r && r.d(1), r = s && s(i), r && (r.c(), r.m(t.parentNode, t)));
2855
- },
2856
- d(i) {
2857
- i && J(t), r && r.d(i);
2858
- }
2859
- };
2860
- }
2861
- function Lu(e) {
2862
- let t;
2863
- function n(i, a) {
2864
- return (
2865
- /*funMode*/
2866
- i[14] ? Wu : Eu
2867
- );
2868
- }
2869
- let s = n(e), r = s(e);
2870
- return {
2871
- c() {
2872
- r.c(), t = Ft();
2873
- },
2874
- m(i, a) {
2875
- r.m(i, a), q(i, t, a);
2876
- },
2877
- p(i, a) {
2878
- s === (s = n(i)) && r ? r.p(i, a) : (r.d(1), r = s(i), r && (r.c(), r.m(t.parentNode, t)));
2879
- },
2880
- d(i) {
2881
- i && J(t), r.d(i);
2882
- }
2883
- };
2884
- }
2885
- function Nu(e) {
2886
- let t, n, s, r, i, a, o, f = (
2887
- /*$_*/
2888
- e[26]("deposit") + ""
2889
- ), h, p, M, O, j, P, C, L, B, G, T = (
2890
- /*haspanicbutton*/
2891
- e[1] === "true" && Ys(e)
2892
- );
2893
- function U(v, w) {
2894
- return (
2895
- /*isFullscreen*/
2896
- v[19] ? Hu : Au
2897
- );
2898
- }
2899
- let ee = U(e), k = ee(e);
2900
- return {
2901
- c() {
2902
- t = _("div"), n = _("div"), s = _("iframe"), i = z(), a = _("div"), o = _("button"), h = V(f), p = z(), M = _("p"), O = _("span"), j = V(
2903
- /*time*/
2904
- e[4]
2905
- ), P = z(), T && T.c(), C = z(), k.c(), u(s, "title", "Games"), u(s, "id", "IframeGame"), u(s, "class", "GamesContainer svelte-u1nn8l"), u(s, "aria-hidden", "false"), he(s.src, r = /*game*/
2906
- e[12].launchUrl) || u(s, "src", r), u(o, "class", "DepositButton svelte-u1nn8l"), u(M, "class", "Time svelte-u1nn8l"), u(a, "class", L = "BottomGame " + /*haspanicbutton*/
2907
- (e[1] == "true" ? "BottomGamePanicSection" : "") + " svelte-u1nn8l"), u(n, "id", "IframeGame"), u(
2908
- n,
2909
- "style",
2910
- /*gameStyle*/
2911
- e[25]
2912
- ), u(t, "id", "IframeContainer"), le(
2913
- t,
2914
- "width",
2915
- /*modalFrameWidth*/
2916
- e[20]
2917
- ), le(
2918
- t,
2919
- "height",
2920
- /*modalFrameHeight*/
2921
- e[21]
2922
- ), u(t, "class", "svelte-u1nn8l"), He(
2923
- t,
2924
- "FullsScreenLayout",
2925
- /*isFullscreen*/
2926
- e[19]
2927
- );
2928
- },
2929
- m(v, w) {
2930
- q(v, t, w), d(t, n), d(n, s), e[65](s), d(n, i), d(n, a), d(a, o), d(o, h), d(a, p), d(a, M), d(M, O), d(O, j), e[67](M), d(a, P), T && T.m(a, null), d(a, C), k.m(a, null), e[71](a), e[72](n), e[73](t), B || (G = ie(
2931
- o,
2932
- "click",
2933
- /*click_handler_9*/
2934
- e[66]
2935
- ), B = !0);
2936
- },
2937
- p(v, w) {
2938
- w[0] & /*game*/
2939
- 4096 && !he(s.src, r = /*game*/
2940
- v[12].launchUrl) && u(s, "src", r), w[0] & /*$_*/
2941
- 67108864 && f !== (f = /*$_*/
2942
- v[26]("deposit") + "") && Z(h, f), w[0] & /*time*/
2943
- 16 && Z(
2944
- j,
2945
- /*time*/
2946
- v[4]
2947
- ), /*haspanicbutton*/
2948
- v[1] === "true" ? T ? T.p(v, w) : (T = Ys(v), T.c(), T.m(a, C)) : T && (T.d(1), T = null), ee === (ee = U(v)) && k ? k.p(v, w) : (k.d(1), k = ee(v), k && (k.c(), k.m(a, null))), w[0] & /*haspanicbutton*/
2949
- 2 && L !== (L = "BottomGame " + /*haspanicbutton*/
2950
- (v[1] == "true" ? "BottomGamePanicSection" : "") + " svelte-u1nn8l") && u(a, "class", L), w[0] & /*gameStyle*/
2951
- 33554432 && u(
2952
- n,
2953
- "style",
2954
- /*gameStyle*/
2955
- v[25]
2956
- ), w[0] & /*modalFrameWidth*/
2957
- 1048576 && le(
2958
- t,
2959
- "width",
2960
- /*modalFrameWidth*/
2961
- v[20]
2962
- ), w[0] & /*modalFrameHeight*/
2963
- 2097152 && le(
2964
- t,
2965
- "height",
2966
- /*modalFrameHeight*/
2967
- v[21]
2968
- ), w[0] & /*isFullscreen*/
2969
- 524288 && He(
2970
- t,
2971
- "FullsScreenLayout",
2972
- /*isFullscreen*/
2973
- v[19]
2974
- );
2975
- },
2976
- d(v) {
2977
- v && J(t), e[65](null), e[67](null), T && T.d(), k.d(), e[71](null), e[72](null), e[73](null), B = !1, G();
2978
- }
2979
- };
2980
- }
2981
- function xu(e) {
2982
- let t;
2983
- function n(i, a) {
2984
- if (
2985
- /*isLoggedIn*/
2986
- i[6]
2987
- ) return Bu;
2988
- if (
2989
- /*anonymousFunMode*/
2990
- i[15] && !/*determiningIsLoggedIn*/
2991
- i[7]
2992
- ) return ju;
2993
- if (!/*determiningIsLoggedIn*/
2994
- i[7]) return zu;
2995
- }
2996
- let s = n(e), r = s && s(e);
2997
- return {
2998
- c() {
2999
- r && r.c(), t = Ft();
3000
- },
3001
- m(i, a) {
3002
- r && r.m(i, a), q(i, t, a);
3003
- },
3004
- p(i, a) {
3005
- s === (s = n(i)) && r ? r.p(i, a) : (r && r.d(1), r = s && s(i), r && (r.c(), r.m(t.parentNode, t)));
3006
- },
3007
- d(i) {
3008
- i && J(t), r && r.d(i);
3009
- }
3010
- };
3011
- }
3012
- function Eu(e) {
3013
- let t, n, s = (
3014
- /*game*/
3015
- e[12].name + ""
3016
- ), r, i, a, o, f, h, p, M = (
3017
- /*$_*/
3018
- e[26]("signIn") + ""
3019
- ), O, j, P, C = (
3020
- /*$_*/
3021
- e[26]("register") + ""
3022
- ), L, B, G, T, U, ee;
3023
- return {
3024
- c() {
3025
- t = _("div"), n = _("h3"), r = V(s), i = z(), a = _("img"), f = z(), h = _("div"), p = _("button"), O = V(M), j = z(), P = _("button"), L = V(C), B = z(), G = _("p"), T = V(
3026
- /*time*/
3027
- e[4]
3028
- ), u(n, "class", "svelte-u1nn8l"), he(a.src, o = /*game*/
3029
- e[12].thumbnail) || u(a, "src", o), u(a, "class", "GameThumbnail svelte-u1nn8l"), u(a, "alt", "game thumbnail"), u(a, "loading", "lazy"), u(p, "class", "LoginButton svelte-u1nn8l"), u(P, "class", "RegisterButton svelte-u1nn8l"), u(h, "class", "ButtonsContainer svelte-u1nn8l"), u(G, "class", "svelte-u1nn8l"), u(t, "class", "GameDetails svelte-u1nn8l"), u(t, "part", "GameDetails");
3030
- },
3031
- m(k, v) {
3032
- q(k, t, v), d(t, n), d(n, r), d(t, i), d(t, a), d(t, f), d(t, h), d(h, p), d(p, O), d(h, j), d(h, P), d(P, L), d(t, B), d(t, G), d(G, T), U || (ee = [
3033
- ie(
3034
- p,
3035
- "click",
3036
- /*click_handler_16*/
3037
- e[83]
3038
- ),
3039
- ie(
3040
- P,
3041
- "click",
3042
- /*click_handler_17*/
3043
- e[84]
3044
- )
3045
- ], U = !0);
3046
- },
3047
- p(k, v) {
3048
- v[0] & /*game*/
3049
- 4096 && s !== (s = /*game*/
3050
- k[12].name + "") && Z(r, s), v[0] & /*game*/
3051
- 4096 && !he(a.src, o = /*game*/
3052
- k[12].thumbnail) && u(a, "src", o), v[0] & /*$_*/
3053
- 67108864 && M !== (M = /*$_*/
3054
- k[26]("signIn") + "") && Z(O, M), v[0] & /*$_*/
3055
- 67108864 && C !== (C = /*$_*/
3056
- k[26]("register") + "") && Z(L, C), v[0] & /*time*/
3057
- 16 && Z(
3058
- T,
3059
- /*time*/
3060
- k[4]
3061
- );
3062
- },
3063
- d(k) {
3064
- k && J(t), U = !1, Dt(ee);
3065
- }
3066
- };
3067
- }
3068
- function Wu(e) {
3069
- let t, n, s, r, i, a, o, f, h = (
3070
- /*$_*/
3071
- e[26]("signIn") + ""
3072
- ), p, M, O, j = (
3073
- /*$_*/
3074
- e[26]("register") + ""
3075
- ), P, C, L, B, G, T, U, ee;
3076
- function k(Y, b) {
3077
- return (
3078
- /*isFullscreen*/
3079
- Y[19] ? Uu : Gu
3080
- );
3081
- }
3082
- let v = k(e), w = v(e);
3083
- return {
3084
- c() {
3085
- t = _("div"), n = _("div"), s = _("iframe"), i = z(), a = _("div"), o = _("div"), f = _("button"), p = V(h), M = z(), O = _("button"), P = V(j), C = z(), L = _("p"), B = _("span"), G = V(
3086
- /*time*/
3087
- e[4]
3088
- ), T = z(), w.c(), u(s, "title", "Games"), u(s, "id", "IframeGame"), u(s, "class", "GamesContainer svelte-u1nn8l"), u(s, "aria-hidden", "false"), he(s.src, r = /*game*/
3089
- e[12].launchUrl) || u(s, "src", r), u(f, "class", "LoginButton svelte-u1nn8l"), u(O, "class", "RegisterButton svelte-u1nn8l"), u(o, "class", "ButtonsContainer svelte-u1nn8l"), u(L, "class", "Time svelte-u1nn8l"), u(a, "class", "BottomGame svelte-u1nn8l"), u(n, "id", "IframeGame"), u(
3090
- n,
3091
- "style",
3092
- /*gameStyle*/
3093
- e[25]
3094
- ), u(t, "id", "IframeContainer"), le(
3095
- t,
3096
- "width",
3097
- /*modalFrameWidth*/
3098
- e[20]
3099
- ), le(
3100
- t,
3101
- "height",
3102
- /*modalFrameHeight*/
3103
- e[21]
3104
- ), u(t, "class", "svelte-u1nn8l"), He(
3105
- t,
3106
- "FullsScreenLayout",
3107
- /*isFullscreen*/
3108
- e[19]
3109
- );
3110
- },
3111
- m(Y, b) {
3112
- q(Y, t, b), d(t, n), d(n, s), e[74](s), d(n, i), d(n, a), d(a, o), d(o, f), d(f, p), d(o, M), d(o, O), d(O, P), d(a, C), d(a, L), d(L, B), d(B, G), e[77](L), d(a, T), w.m(a, null), e[80](a), e[81](n), e[82](t), U || (ee = [
3113
- ie(
3114
- f,
3115
- "click",
3116
- /*click_handler_12*/
3117
- e[75]
3118
- ),
3119
- ie(
3120
- O,
3121
- "click",
3122
- /*click_handler_13*/
3123
- e[76]
3124
- )
3125
- ], U = !0);
3126
- },
3127
- p(Y, b) {
3128
- b[0] & /*game*/
3129
- 4096 && !he(s.src, r = /*game*/
3130
- Y[12].launchUrl) && u(s, "src", r), b[0] & /*$_*/
3131
- 67108864 && h !== (h = /*$_*/
3132
- Y[26]("signIn") + "") && Z(p, h), b[0] & /*$_*/
3133
- 67108864 && j !== (j = /*$_*/
3134
- Y[26]("register") + "") && Z(P, j), b[0] & /*time*/
3135
- 16 && Z(
3136
- G,
3137
- /*time*/
3138
- Y[4]
3139
- ), v === (v = k(Y)) && w ? w.p(Y, b) : (w.d(1), w = v(Y), w && (w.c(), w.m(a, null))), b[0] & /*gameStyle*/
3140
- 33554432 && u(
3141
- n,
3142
- "style",
3143
- /*gameStyle*/
3144
- Y[25]
3145
- ), b[0] & /*modalFrameWidth*/
3146
- 1048576 && le(
3147
- t,
3148
- "width",
3149
- /*modalFrameWidth*/
3150
- Y[20]
3151
- ), b[0] & /*modalFrameHeight*/
3152
- 2097152 && le(
3153
- t,
3154
- "height",
3155
- /*modalFrameHeight*/
3156
- Y[21]
3157
- ), b[0] & /*isFullscreen*/
3158
- 524288 && He(
3159
- t,
3160
- "FullsScreenLayout",
3161
- /*isFullscreen*/
3162
- Y[19]
3163
- );
3164
- },
3165
- d(Y) {
3166
- Y && J(t), e[74](null), e[77](null), w.d(), e[80](null), e[81](null), e[82](null), U = !1, Dt(ee);
3167
- }
3168
- };
3169
- }
3170
- function Gu(e) {
3171
- let t, n, s;
3172
- return {
3173
- c() {
3174
- t = _("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="svelte-u1nn8l"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>', u(t, "class", "FullscreenButton svelte-u1nn8l");
3175
- },
3176
- m(r, i) {
3177
- q(r, t, i), n || (s = ie(
3178
- t,
3179
- "click",
3180
- /*click_handler_15*/
3181
- e[79]
3182
- ), n = !0);
3183
- },
3184
- p: Xe,
3185
- d(r) {
3186
- r && J(t), n = !1, s();
3187
- }
3188
- };
3189
- }
3190
- function Uu(e) {
3191
- let t, n, s;
3192
- return {
3193
- c() {
3194
- t = _("button"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 31 31" class="svelte-u1nn8l"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 "></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "></polygon></svg>', u(t, "class", "FullscreenButton svelte-u1nn8l");
3195
- },
3196
- m(r, i) {
3197
- q(r, t, i), n || (s = ie(
3198
- t,
3199
- "click",
3200
- /*click_handler_14*/
3201
- e[78]
3202
- ), n = !0);
3203
- },
3204
- p: Xe,
3205
- d(r) {
3206
- r && J(t), n = !1, s();
3207
- }
3208
- };
3209
- }
3210
- function Ys(e) {
3211
- let t, n, s = (
3212
- /*$_*/
3213
- e[26]("breakButton") + ""
3214
- ), r;
3215
- return {
3216
- c() {
3217
- t = _("div"), n = _("button"), r = V(s), u(n, "class", "Button svelte-u1nn8l"), He(
3218
- n,
3219
- "PanicButtonAnimation",
3220
- /*panicLoading*/
3221
- e[11]
3222
- ), u(t, "class", "PanicSection svelte-u1nn8l");
3223
- },
3224
- m(i, a) {
3225
- q(i, t, a), d(t, n), d(n, r), e[68](n);
3226
- },
3227
- p(i, a) {
3228
- a[0] & /*$_*/
3229
- 67108864 && s !== (s = /*$_*/
3230
- i[26]("breakButton") + "") && Z(r, s), a[0] & /*panicLoading*/
3231
- 2048 && He(
3232
- n,
3233
- "PanicButtonAnimation",
3234
- /*panicLoading*/
3235
- i[11]
3236
- );
3237
- },
3238
- d(i) {
3239
- i && J(t), e[68](null);
3240
- }
3241
- };
3242
- }
3243
- function Au(e) {
3244
- let t, n, s;
3245
- return {
3246
- c() {
3247
- t = _("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="svelte-u1nn8l"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>', u(t, "class", "FullscreenButton svelte-u1nn8l");
3248
- },
3249
- m(r, i) {
3250
- q(r, t, i), n || (s = ie(
3251
- t,
3252
- "click",
3253
- /*click_handler_11*/
3254
- e[70]
3255
- ), n = !0);
3256
- },
3257
- p: Xe,
3258
- d(r) {
3259
- r && J(t), n = !1, s();
3260
- }
3261
- };
3262
- }
3263
- function Hu(e) {
3264
- let t, n, s;
3265
- return {
3266
- c() {
3267
- t = _("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31" class="svelte-u1nn8l"><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "></polygon></svg>', u(t, "class", "FullscreenButton svelte-u1nn8l");
3268
- },
3269
- m(r, i) {
3270
- q(r, t, i), n || (s = ie(
3271
- t,
3272
- "click",
3273
- /*click_handler_10*/
3274
- e[69]
3275
- ), n = !0);
3276
- },
3277
- p: Xe,
3278
- d(r) {
3279
- r && J(t), n = !1, s();
3280
- }
3281
- };
3282
- }
3283
- function zu(e) {
3284
- let t, n, s = (
3285
- /*game*/
3286
- e[12].name + ""
3287
- ), r, i, a, o, f, h, p, M = (
3288
- /*$_*/
3289
- e[26]("signIn") + ""
3290
- ), O, j, P, C = (
3291
- /*$_*/
3292
- e[26]("register") + ""
3293
- ), L, B, G, T, U, ee;
3294
- return {
3295
- c() {
3296
- t = _("div"), n = _("h3"), r = V(s), i = z(), a = _("img"), f = z(), h = _("div"), p = _("button"), O = V(M), j = z(), P = _("button"), L = V(C), B = z(), G = _("p"), T = V(
3297
- /*time*/
3298
- e[4]
3299
- ), u(n, "class", "svelte-u1nn8l"), he(a.src, o = /*game*/
3300
- e[12].thumbnail) || u(a, "src", o), u(a, "class", "GameThumbnail svelte-u1nn8l"), u(a, "alt", "game thumbnail"), u(a, "loading", "lazy"), u(p, "class", "LoginButton svelte-u1nn8l"), u(P, "class", "RegisterButton svelte-u1nn8l"), u(h, "class", "ButtonsContainer svelte-u1nn8l"), u(G, "class", "svelte-u1nn8l"), u(t, "class", "GameDetails svelte-u1nn8l"), u(t, "part", "GameDetails");
3301
- },
3302
- m(k, v) {
3303
- q(k, t, v), d(t, n), d(n, r), d(t, i), d(t, a), d(t, f), d(t, h), d(h, p), d(p, O), d(h, j), d(h, P), d(P, L), d(t, B), d(t, G), d(G, T), U || (ee = [
3304
- ie(
3305
- p,
3306
- "click",
3307
- /*click_handler_7*/
3308
- e[63]
3309
- ),
3310
- ie(
3311
- P,
3312
- "click",
3313
- /*click_handler_8*/
3314
- e[64]
3315
- )
3316
- ], U = !0);
3317
- },
3318
- p(k, v) {
3319
- v[0] & /*game*/
3320
- 4096 && s !== (s = /*game*/
3321
- k[12].name + "") && Z(r, s), v[0] & /*game*/
3322
- 4096 && !he(a.src, o = /*game*/
3323
- k[12].thumbnail) && u(a, "src", o), v[0] & /*$_*/
3324
- 67108864 && M !== (M = /*$_*/
3325
- k[26]("signIn") + "") && Z(O, M), v[0] & /*$_*/
3326
- 67108864 && C !== (C = /*$_*/
3327
- k[26]("register") + "") && Z(L, C), v[0] & /*time*/
3328
- 16 && Z(
3329
- T,
3330
- /*time*/
3331
- k[4]
3332
- );
3333
- },
3334
- d(k) {
3335
- k && J(t), U = !1, Dt(ee);
3336
- }
3337
- };
3338
- }
3339
- function ju(e) {
3340
- let t, n, s = (
3341
- /*game*/
3342
- e[12].name + ""
3343
- ), r, i, a, o, f, h, p, M = (
3344
- /*$_*/
3345
- e[26]("signIn") + ""
3346
- ), O, j, P, C = (
3347
- /*$_*/
3348
- e[26]("register") + ""
3349
- ), L, B, G, T = (
3350
- /*$_*/
3351
- e[26]("playForFun") + ""
3352
- ), U, ee, k, v, w, Y;
3353
- return {
3354
- c() {
3355
- t = _("div"), n = _("h3"), r = V(s), i = z(), a = _("img"), f = z(), h = _("div"), p = _("button"), O = V(M), j = z(), P = _("button"), L = V(C), B = z(), G = _("button"), U = V(T), ee = z(), k = _("p"), v = V(
3356
- /*time*/
3357
- e[4]
3358
- ), u(n, "class", "svelte-u1nn8l"), he(a.src, o = /*game*/
3359
- e[12].thumbnail) || u(a, "src", o), u(a, "class", "GameThumbnail svelte-u1nn8l"), u(a, "alt", "game thumbnail"), u(a, "loading", "lazy"), u(p, "class", "LoginButton svelte-u1nn8l"), u(P, "class", "RegisterButton svelte-u1nn8l"), u(G, "class", "FullWidthButton svelte-u1nn8l"), u(h, "class", "ButtonsContainer svelte-u1nn8l"), u(k, "class", "svelte-u1nn8l"), u(t, "class", "GameDetails svelte-u1nn8l");
3360
- },
3361
- m(b, K) {
3362
- q(b, t, K), d(t, n), d(n, r), d(t, i), d(t, a), d(t, f), d(t, h), d(h, p), d(p, O), d(h, j), d(h, P), d(P, L), d(h, B), d(h, G), d(G, U), d(t, ee), d(t, k), d(k, v), w || (Y = [
3363
- ie(
3364
- p,
3365
- "click",
3366
- /*click_handler_4*/
3367
- e[60]
3368
- ),
3369
- ie(
3370
- P,
3371
- "click",
3372
- /*click_handler_5*/
3373
- e[61]
3374
- ),
3375
- ie(
3376
- G,
3377
- "click",
3378
- /*click_handler_6*/
3379
- e[62]
3380
- )
3381
- ], w = !0);
3382
- },
3383
- p(b, K) {
3384
- K[0] & /*game*/
3385
- 4096 && s !== (s = /*game*/
3386
- b[12].name + "") && Z(r, s), K[0] & /*game*/
3387
- 4096 && !he(a.src, o = /*game*/
3388
- b[12].thumbnail) && u(a, "src", o), K[0] & /*$_*/
3389
- 67108864 && M !== (M = /*$_*/
3390
- b[26]("signIn") + "") && Z(O, M), K[0] & /*$_*/
3391
- 67108864 && C !== (C = /*$_*/
3392
- b[26]("register") + "") && Z(L, C), K[0] & /*$_*/
3393
- 67108864 && T !== (T = /*$_*/
3394
- b[26]("playForFun") + "") && Z(U, T), K[0] & /*time*/
3395
- 16 && Z(
3396
- v,
3397
- /*time*/
3398
- b[4]
3399
- );
3400
- },
3401
- d(b) {
3402
- b && J(t), w = !1, Dt(Y);
3403
- }
3404
- };
3405
- }
3406
- function Bu(e) {
3407
- let t, n, s, r = (
3408
- /*game*/
3409
- e[12].name + ""
3410
- ), i, a, o, f, h, p, M, O = (
3411
- /*$_*/
3412
- e[26]("deposit") + ""
3413
- ), j, P, C, L = (
3414
- /*$_*/
3415
- e[26]("playNow") + ""
3416
- ), B, G, T, U, ee, k, v, w = (
3417
- /*favorites*/
3418
- e[0] == "true" && Os(e)
3419
- ), Y = (
3420
- /*haspanicbutton*/
3421
- e[1] === "true" && Ts(e)
3422
- );
3423
- return {
3424
- c() {
3425
- w && w.c(), t = z(), n = _("div"), s = _("h3"), i = V(r), a = z(), o = _("img"), h = z(), p = _("div"), M = _("button"), j = V(O), P = z(), C = _("button"), B = V(L), G = z(), Y && Y.c(), T = z(), U = _("p"), ee = V(
3426
- /*time*/
3427
- e[4]
3428
- ), u(s, "class", "svelte-u1nn8l"), he(o.src, f = /*game*/
3429
- e[12].thumbnail) || u(o, "src", f), u(o, "class", "GameThumbnail svelte-u1nn8l"), u(o, "alt", "game thumbnail"), u(o, "loading", "lazy"), u(M, "class", "DepositButton svelte-u1nn8l"), u(C, "class", "PlayNowButton svelte-u1nn8l"), u(p, "class", "ButtonsContainer svelte-u1nn8l"), u(U, "class", "svelte-u1nn8l"), u(n, "class", "GameDetails svelte-u1nn8l");
3430
- },
3431
- m(b, K) {
3432
- w && w.m(b, K), q(b, t, K), q(b, n, K), d(n, s), d(s, i), d(n, a), d(n, o), d(n, h), d(n, p), d(p, M), d(M, j), d(p, P), d(p, C), d(C, B), d(n, G), Y && Y.m(n, null), d(n, T), d(n, U), d(U, ee), k || (v = [
3433
- ie(
3434
- M,
3435
- "click",
3436
- /*click_handler_2*/
3437
- e[57]
3438
- ),
3439
- ie(
3440
- C,
3441
- "click",
3442
- /*click_handler_3*/
3443
- e[58]
3444
- )
3445
- ], k = !0);
3446
- },
3447
- p(b, K) {
3448
- /*favorites*/
3449
- b[0] == "true" ? w ? w.p(b, K) : (w = Os(b), w.c(), w.m(t.parentNode, t)) : w && (w.d(1), w = null), K[0] & /*game*/
3450
- 4096 && r !== (r = /*game*/
3451
- b[12].name + "") && Z(i, r), K[0] & /*game*/
3452
- 4096 && !he(o.src, f = /*game*/
3453
- b[12].thumbnail) && u(o, "src", f), K[0] & /*$_*/
3454
- 67108864 && O !== (O = /*$_*/
3455
- b[26]("deposit") + "") && Z(j, O), K[0] & /*$_*/
3456
- 67108864 && L !== (L = /*$_*/
3457
- b[26]("playNow") + "") && Z(B, L), /*haspanicbutton*/
3458
- b[1] === "true" ? Y ? Y.p(b, K) : (Y = Ts(b), Y.c(), Y.m(n, T)) : Y && (Y.d(1), Y = null), K[0] & /*time*/
3459
- 16 && Z(
3460
- ee,
3461
- /*time*/
3462
- b[4]
3463
- );
3464
- },
3465
- d(b) {
3466
- b && (J(t), J(n)), w && w.d(b), Y && Y.d(), k = !1, Dt(v);
3467
- }
3468
- };
3469
- }
3470
- function Os(e) {
3471
- let t;
3472
- function n(i, a) {
3473
- return (
3474
- /*isFavLoading*/
3475
- i[8] ? Vu : Zu
3476
- );
3477
- }
3478
- let s = n(e), r = s(e);
3479
- return {
3480
- c() {
3481
- r.c(), t = Ft();
3482
- },
3483
- m(i, a) {
3484
- r.m(i, a), q(i, t, a);
3485
- },
3486
- p(i, a) {
3487
- s === (s = n(i)) && r ? r.p(i, a) : (r.d(1), r = s(i), r && (r.c(), r.m(t.parentNode, t)));
3488
- },
3489
- d(i) {
3490
- i && J(t), r.d(i);
3491
- }
3492
- };
3493
- }
3494
- function Vu(e) {
3495
- let t, n, s, r;
3496
- return {
3497
- c() {
3498
- t = _("div"), n = _("div"), s = _("div"), u(n, "class", "svelte-u1nn8l"), u(s, "class", "svelte-u1nn8l"), u(t, "class", r = "LoaderRipple " + /*haspanicbutton*/
3499
- (e[1] == "true" ? "LoaderWithPanicButton" : "") + " svelte-u1nn8l");
3500
- },
3501
- m(i, a) {
3502
- q(i, t, a), d(t, n), d(t, s);
3503
- },
3504
- p(i, a) {
3505
- a[0] & /*haspanicbutton*/
3506
- 2 && r !== (r = "LoaderRipple " + /*haspanicbutton*/
3507
- (i[1] == "true" ? "LoaderWithPanicButton" : "") + " svelte-u1nn8l") && u(t, "class", r);
3508
- },
3509
- d(i) {
3510
- i && J(t);
3511
- }
3512
- };
3513
- }
3514
- function Zu(e) {
3515
- let t;
3516
- function n(i, a) {
3517
- return (
3518
- /*game*/
3519
- i[12].isFavorite ? Ju : qu
3520
- );
3521
- }
3522
- let s = n(e), r = s(e);
3523
- return {
3524
- c() {
3525
- r.c(), t = Ft();
3526
- },
3527
- m(i, a) {
3528
- r.m(i, a), q(i, t, a);
3529
- },
3530
- p(i, a) {
3531
- s === (s = n(i)) && r ? r.p(i, a) : (r.d(1), r = s(i), r && (r.c(), r.m(t.parentNode, t)));
3532
- },
3533
- d(i) {
3534
- i && J(t), r.d(i);
3535
- }
3536
- };
3537
- }
3538
- function qu(e) {
3539
- let t, n, s, r, i, a;
3540
- return {
3541
- c() {
3542
- t = _("div"), n = qt("svg"), s = qt("path"), le(s, "fill", "var(--emfe-w-color-white, #FFFFFF)"), u(s, "d", `M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
3543
- c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047
3544
- c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67
3545
- c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637
3546
- c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587
3547
- l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278
3548
- l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9
3549
- c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
3550
- l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z`), u(n, "version", "1.1"), u(n, "class", "UnfavoredIcon svelte-u1nn8l"), u(n, "xmlns", "http://www.w3.org/2000/svg"), u(n, "xmlns:xlink", "http://www.w3.org/1999/xlink"), u(n, "x", "20px"), u(n, "y", "20px"), u(n, "viewBox", "0 0 512.001 512.001"), le(n, "enable-background", "new 0 0 512.001 512.001"), u(n, "xml:space", "preserve"), u(t, "class", r = "FavIconContainer " + /*haspanicbutton*/
3551
- (e[1] == "true" ? "FavIconPanicButton" : "") + " svelte-u1nn8l");
3552
- },
3553
- m(o, f) {
3554
- q(o, t, f), d(t, n), d(n, s), i || (a = ie(
3555
- t,
3556
- "click",
3557
- /*click_handler_1*/
3558
- e[56]
3559
- ), i = !0);
3560
- },
3561
- p(o, f) {
3562
- f[0] & /*haspanicbutton*/
3563
- 2 && r !== (r = "FavIconContainer " + /*haspanicbutton*/
3564
- (o[1] == "true" ? "FavIconPanicButton" : "") + " svelte-u1nn8l") && u(t, "class", r);
3565
- },
3566
- d(o) {
3567
- o && J(t), i = !1, a();
3568
- }
3569
- };
3570
- }
3571
- function Ju(e) {
3572
- let t, n, s, r, i, a;
3573
- return {
3574
- c() {
3575
- t = _("div"), n = qt("svg"), s = qt("path"), le(s, "fill", "var(--emfe-w-color-white, #FFFFFF)"), u(s, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"), u(n, "version", "1.1"), u(n, "class", "FavoredIcon svelte-u1nn8l"), u(n, "part", "FavoredIcon"), u(n, "xmlns", "http://www.w3.org/2000/svg"), u(n, "viewBox", "0 0 19.481 19.481"), u(n, "xmlns:xlink", "http://www.w3.org/1999/xlink"), u(n, "enable-background", "new 0 0 19.481 19.481"), u(t, "class", r = "FavIconContainer " + /*haspanicbutton*/
3576
- (e[1] == "true" ? "FavIconPanicButton" : "") + " svelte-u1nn8l");
3577
- },
3578
- m(o, f) {
3579
- q(o, t, f), d(t, n), d(n, s), i || (a = ie(
3580
- t,
3581
- "click",
3582
- /*click_handler*/
3583
- e[55]
3584
- ), i = !0);
3585
- },
3586
- p(o, f) {
3587
- f[0] & /*haspanicbutton*/
3588
- 2 && r !== (r = "FavIconContainer " + /*haspanicbutton*/
3589
- (o[1] == "true" ? "FavIconPanicButton" : "") + " svelte-u1nn8l") && u(t, "class", r);
3590
- },
3591
- d(o) {
3592
- o && J(t), i = !1, a();
3593
- }
3594
- };
3595
- }
3596
- function Ts(e) {
3597
- let t, n, s = (
3598
- /*$_*/
3599
- e[26]("breakButton") + ""
3600
- ), r;
3601
- return {
3602
- c() {
3603
- t = _("div"), n = _("button"), r = V(s), u(n, "class", "PanicButton " + (ys(
3604
- /*userAgent*/
3605
- e[27]
3606
- ) !== "PC" ? "PanicButtonMobile" : "") + " svelte-u1nn8l"), He(
3607
- n,
3608
- "PanicButtonAnimation",
3609
- /*panicLoading*/
3610
- e[11]
3611
- ), u(t, "class", "PanicSection " + (ys(
3612
- /*userAgent*/
3613
- e[27]
3614
- ) !== "PC" ? "PanicSectionMobile" : "") + " svelte-u1nn8l");
3615
- },
3616
- m(i, a) {
3617
- q(i, t, a), d(t, n), d(n, r), e[59](n);
3618
- },
3619
- p(i, a) {
3620
- a[0] & /*$_*/
3621
- 67108864 && s !== (s = /*$_*/
3622
- i[26]("breakButton") + "") && Z(r, s), a[0] & /*panicLoading*/
3623
- 2048 && He(
3624
- n,
3625
- "PanicButtonAnimation",
3626
- /*panicLoading*/
3627
- i[11]
3628
- );
3629
- },
3630
- d(i) {
3631
- i && J(t), e[59](null);
3632
- }
3633
- };
3634
- }
3635
- function Qu(e) {
3636
- let t;
3637
- function n(i, a) {
3638
- return (
3639
- /*isLoading*/
3640
- i[10] ? Cu : (
3641
- /*hasErrors*/
3642
- i[9] ? Pu : Ru
3643
- )
3644
- );
3645
- }
3646
- let s = n(e), r = s(e);
3647
- return {
3648
- c() {
3649
- t = _("div"), r.c();
3650
- },
3651
- m(i, a) {
3652
- q(i, t, a), r.m(t, null), e[86](t);
3653
- },
3654
- p(i, a) {
3655
- s === (s = n(i)) && r ? r.p(i, a) : (r.d(1), r = s(i), r && (r.c(), r.m(t, null)));
3656
- },
3657
- i: Xe,
3658
- o: Xe,
3659
- d(i) {
3660
- i && J(t), r.d(), e[86](null);
3661
- }
3662
- };
3663
- }
3664
- function Xu(e, t, n) {
3665
- let s, r;
3666
- ki(e, Fi, (l) => n(26, r = l));
3667
- let { endpoint: i = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: M = "" } = t, { favorites: O = "" } = t, { loginurl: j = "" } = t, { registerurl: P = "" } = t, { depositurl: C = "" } = t, { loginevent: L = "" } = t, { registerevent: B = "" } = t, { depositevent: G = "" } = t, { shortcashierenabled: T = "" } = t, { clockformat: U = "" } = t, { haspanicbutton: ee = "false" } = t, { playforfun: k = "true" } = t, { checksession: v = "true" } = t, { integratedgameframedesktop: w = "false" } = t, { integratedgameframemobile: Y = "false" } = t, { gameid: b = "" } = t, K, ft, ze = !1, ss = !1, ct = !1, rs = !1, je = !0, Be, E, Rt = !1, Pt = 0, cn, S, $e = !1, is = !1, as = !1, Ct = !0, te, Ne, ht, we = !1, hn, mn, Lt, Nt, gn, _n, Ve = window.navigator.userAgent, xt = !1, xe = [], Ee = [], Ze, mt, gt, yn = "false", ls = "", Et;
3668
- Di({ withLocale: "en", translations: {} });
3669
- const br = () => {
3670
- fetch(M).then((F) => F.json()).then((F) => {
3671
- Object.keys(F).forEach((W) => {
3672
- ps(W, F[W]);
3673
- });
3674
- }).catch((F) => {
3675
- console.log(F);
3676
- });
3677
- };
3678
- Object.keys(vs).forEach((l) => {
3679
- ps(l, vs[l]);
3680
- });
3681
- const os = (l) => {
3682
- let F = new URL(l.launchUrl);
3683
- return F.searchParams.append("language", a), Be && Be.length > 0 && (n(6, ze = !0), F.searchParams.append("_sid", Be), F.searchParams.append("funMode", "false")), l.launchUrl = F, l;
3684
- }, us = (l, F) => {
3685
- let W = new URL(`${i}/v1/casino/games/${l}`);
3686
- W.searchParams.append("language", a), W.searchParams.append("expand", "vendor"), Ct = F, fetch(W.href).then((H) => H.json()).then(
3687
- (H) => {
3688
- n(12, S = os(H[0])), n(10, je = !1), S.launchUrl && (n(12, S.isFavorite = cs(S, S.hasFunMode), S), n(8, ct = !1));
3689
- },
3690
- (H) => {
3691
- console.error("There was an error", H), n(9, rs = !0);
3692
- }
3693
- ).then(() => {
3694
- te && (Ct ? wn() : Or());
3695
- }).finally(() => {
3696
- n(10, je = !1);
3697
- }), window.postMessage({ type: "RequestModalSize" }, window.location.href), Sr(o, f);
3698
- }, ds = () => {
3699
- E == null || E.addEventListener("mousedown", Ut, !1), E == null || E.addEventListener("touchstart", Ut, !1), E == null || E.addEventListener("mouseup", At, !1), E == null || E.addEventListener("touchend", At, !1);
3700
- }, fs = () => {
3701
- n(11, Rt = !1), E == null || E.removeEventListener("mousedown", Ut), E == null || E.removeEventListener("touchstart", Ut), E == null || E.removeEventListener("mouseup", At), E == null || E.removeEventListener("touchend", At);
3702
- }, pn = (l) => {
3703
- var F;
3704
- switch (l.data.type) {
3705
- case "GameLaunchID":
3706
- us(l.data.gameId, !0);
3707
- break;
3708
- case "LaunchGameFrame":
3709
- Dr(l.data.gameId, l.data.gameFunMode);
3710
- break;
3711
- case "ModalClosed":
3712
- w === "true" || tt(Ve) ? (n(54, yn = "false"), fs(), tt(Ve) ? setTimeout(
3713
- () => {
3714
- n(13, $e = Y === "true");
3715
- },
3716
- 500
3717
- ) : setTimeout(
3718
- () => {
3719
- n(13, $e = w === "true");
3720
- },
3721
- 500
3722
- )) : w === "false" && ((F = l.data) == null ? void 0 : F.closeIntegratedGameFrameDesktop) !== !0 && window.postMessage({ type: "DisableScroll" }, window.location.href);
3723
- break;
3724
- case "UserSessionID":
3725
- if (l.data.session.length > 0) {
3726
- Be = l.data.session, l.data.userID, n(6, ze = !0);
3727
- let W = setInterval(
3728
- () => {
3729
- if (S) {
3730
- let H = new URL(S.launchUrl);
3731
- H.searchParams.get("_sid") || H.searchParams.append("_sid", Be), H.searchParams.get("funMode") || H.searchParams.append("funMode", !1), H.searchParams.get("_sid") || H.searchParams.append("language", a), n(12, S.launchUrl = H, S), clearInterval(W);
3732
- }
3733
- },
3734
- 250
3735
- );
3736
- }
3737
- break;
3738
- case "ModalSize":
3739
- n(20, hn = l.data.modalContainerSize.modalWidth), n(21, mn = l.data.modalContainerSize.modalHeight);
3740
- break;
3741
- }
3742
- }, Sr = (l, F) => {
3743
- let W = `${i}/v1/player/${F}/favorites/`;
3744
- n(10, je = !0);
3745
- let H = {
3746
- method: "GET",
3747
- headers: { "X-SessionID": l }
3748
- };
3749
- return new Promise((fe, Fe) => {
3750
- fetch(W, H).then((We) => We.json()).then((We) => {
3751
- n(10, je = !1), xe = We.items, xe ? (S && S.id && n(12, S.isFavorite = Wt(S.id), S), n(8, ct = !1), xe.forEach((Ht) => {
3752
- Ee.includes(Ht.id) || Ee.push(Ht.id);
3753
- })) : xe = [], fe(xe);
3754
- }).catch((We) => {
3755
- console.error(We), Fe(We);
3756
- });
3757
- });
3758
- }, vn = (l) => {
3759
- S.isFavorite ? Fr(`${i}/v1/player/${f}/favorites`, o, S.id) : Mr(`${i}/v1/player/${f}/favorites`, o, S);
3760
- };
3761
- let Mr = (l, F, W) => _s(this, null, function* () {
3762
- Ee.includes(W.id) || Ee.push(W.id);
3763
- let fe = {
3764
- method: "POST",
3765
- headers: {
3766
- "X-SessionID": F,
3767
- "Content-Type": "application/json",
3768
- Accept: "application/json"
3769
- },
3770
- body: JSON.stringify({ items: Ee })
3771
- };
3772
- fetch(l, fe).then((Fe) => Fe.json()).then((Fe) => {
3773
- window.postMessage({ type: `AddFavoriteThumbnail_${W.id}` }, window.location.href), window.postMessage({
3774
- type: "UpdateFavoredList",
3775
- url: l,
3776
- sessionID: F
3777
- }), Fe.items && (xe = Fe.items), W.isFavorite = Wt(W.id);
3778
- }).catch((Fe) => {
3779
- console.error("Err", Fe);
3780
- });
3781
- });
3782
- const Fr = (l, F, W) => {
3783
- let H = {
3784
- method: "DELETE",
3785
- headers: { "X-SessionID": F }
3786
- };
3787
- fetch(`${l}/${W}`, H).then((fe) => fe.json()).then((fe) => {
3788
- window.postMessage(
3789
- {
3790
- type: `RemoveFavoriteThumbnail_${W}`
3791
- },
3792
- window.location.href
3793
- ), window.postMessage({
3794
- type: "UpdateFavoredList",
3795
- url: l,
3796
- sessionID: F
3797
- }), fe.items && (xe = fe.items), n(12, S.isFavorite = Wt(S.id), S);
3798
- }), Ee.includes(W) && (Ee = Ee.filter((fe) => fe != W));
3799
- }, Wt = (l) => xe.findIndex((F) => F.id == l) !== -1, cs = (l, F) => (n(15, as = k == "true" ? l.hasAnonymousFunMode : !1), n(14, is = k == "true" ? F : !1), n(13, $e = !0), Wt(l.id)), Dr = (l, F) => {
3800
- let W = new URL(`${i}/v1/casino/games/${l}`);
3801
- W.searchParams.append("language", a), fetch(W.href).then((H) => H.json()).then((H) => {
3802
- n(12, S = os(H[0])), n(10, je = !1), S.launchUrl && (n(12, S.isFavorite = cs(S, F), S), n(8, ct = !1));
3803
- }).finally(() => {
3804
- n(10, je = !1);
3805
- });
3806
- }, Yr = () => {
3807
- if (we) return;
3808
- const l = (H, fe) => {
3809
- const We = H[0].intersectionRatio, Ht = H[0].isIntersecting, hi = parseInt(getComputedStyle(te).height);
3810
- Et || (Et = hi * Math.max(We, 0.5)), n(16, te.style.height = `${Et}px`, te), n(17, Ne.style.height = `${Et}px`, Ne), Ht && n(18, ht.style.height = `${te.style.height}px`, ht), fe.unobserve(te);
3811
- }, F = { threshold: 0 };
3812
- new IntersectionObserver(l, F).observe(te);
3813
- }, Or = () => {
3814
- n(20, hn = S.width), n(21, mn = S.height), gn = `${S.width}px`, _n = `${S.height}px`, Lt = S.width, Nt = S.height, wn();
3815
- }, wn = () => {
3816
- let l = getComputedStyle(te);
3817
- getComputedStyle(Ne), parseInt(l.width.slice(0, -2)), parseInt(l.height.slice(0, -2));
3818
- const F = S.width / (S.height + 100);
3819
- Lt = parseInt(S.width) * F, Nt = parseInt(S.height), gn = Lt ? `${Math.floor(Lt)}px` : "1280px", _n = Nt ? `${Math.floor(Nt)}px` : "720px", Rr();
3820
- }, kn = (l) => {
3821
- tt(Ve) ? hs(Y) : hs(w);
3822
- }, hs = (l) => {
3823
- var F;
3824
- l == "false" ? window.open(S.launchUrl, "_blank") : l == "true" && window.postMessage(
3825
- {
3826
- type: "OpenIntegratedGameFrame",
3827
- subVendor: S.subVendor,
3828
- gameId: S.id,
3829
- launchUrl: (F = S.launchUrl) == null ? void 0 : F.href
3830
- },
3831
- window.location.href
3832
- );
3833
- }, ms = () => {
3834
- window.postMessage(
3835
- {
3836
- type: "GameStateOnResize",
3837
- detailsObtained: $e
3838
- },
3839
- window.location.href
3840
- ), $e && (te && wn(), window.addEventListener("ModalSize", pn, !1));
3841
- }, _t = () => {
3842
- L && (tt(Ve) && window.postMessage({ type: "ModalClosed" }, window.location.href), window.postMessage({ type: L, transition: "Login" }, window.location.href)), j && (window.location = j), typeof gtag == "function" && gtag("event", "OpenLoginModal", { context: "GeneralPlayerRegisterForm" });
3843
- }, yt = () => {
3844
- B && (tt(Ve) && window.postMessage({ type: "ModalClosed" }, window.location.href), window.postMessage(
3845
- {
3846
- type: B,
3847
- transition: "Register"
3848
- },
3849
- window.location.href
3850
- )), P && (window.location = P), typeof gtag == "function" && gtag("event", "OpenRegisterModal", { context: "GeneralPlayerRegisterForm" });
3851
- }, bn = (l) => {
3852
- s && !l ? window.postMessage({ type: "OpenShortCashier" }, window.location.href) : G && (window.postMessage({ type: G }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href)), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "IntegratedGamePage" }), C && !s && (window.location = C);
3853
- };
3854
- document.addEventListener && (document.addEventListener("webkitfullscreenchange", Gt, !1), document.addEventListener("mozfullscreenchange", Gt, !1), document.addEventListener("fullscreenchange", Gt, !1), document.addEventListener("MSFullscreenChange", Gt, !1));
3855
- function Gt() {
3856
- !document.webkitIsFullScreen && !document.mozFullScreen && !document.msFullscreenElement && we && et();
3857
- }
3858
- const et = () => {
3859
- (document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled) && (we ? (document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen && document.msExitFullscreen(), n(19, we = !1)) : (te.requestFullscreen ? te.requestFullscreen() : te.webkitRequestFullscreen ? te.webkitRequestFullscreen() : te.mozRequestFullScreen ? te.mozRequestFullScreen() : te.msRequestFullscreen && te.msRequestFullscreen(), n(19, we = !0)));
3860
- }, Tr = () => {
3861
- U ? n(4, K = m().format(U)) : n(4, K = m().format("LTS"));
3862
- };
3863
- setInterval(
3864
- () => {
3865
- Tr();
3866
- },
3867
- 100
3868
- );
3869
- const Ir = () => {
3870
- Yi(a), n(22, xt = tt(Ve));
3871
- }, gs = () => {
3872
- v == "true" ? Mi(i, o).then(
3873
- (l) => {
3874
- Be = l.Guid, l.UserID, n(6, ze = !0);
3875
- },
3876
- (l) => {
3877
- n(6, ze = !1), console.error("err on session", l);
3878
- }
3879
- ) : (Be = o, n(6, ze = !0));
3880
- }, Ut = (l) => {
3881
- Pt = 0, cn = setInterval(
3882
- () => {
3883
- Pt += 1, n(11, Rt = !0), Pt >= 3 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(cn));
3884
- },
3885
- 1e3
3886
- );
3887
- }, At = (l) => {
3888
- Pt < 3 && n(11, Rt = !1), clearInterval(cn);
3889
- }, Rr = () => {
3890
- let l = we ? "100%" : gn, F = we ? "100%" : _n, W = we || !Ct ? "none" : S.width ? `${Math.floor(S.width)}px` : "1280px", H = we || !Ct ? "none" : S.height ? `${Math.floor(S.height) + 100}px` : "720px";
3891
- n(25, ls = `width: ${l}; height: ${F}; max-width: ${W}; max-height: ${H}`), Yr();
3892
- }, Pr = () => {
3893
- let l = document.createElement("style");
3894
- l.innerHTML = h, Ze.appendChild(l);
3895
- }, Cr = () => {
3896
- let l = document.createElement("style");
3897
- if (p) {
3898
- let F = new URL(p);
3899
- fetch(F.href).then((W) => W.text()).then((W) => {
3900
- l.innerHTML = W, setTimeout(
3901
- () => {
3902
- Ze.appendChild(l);
3903
- },
3904
- 1
3905
- );
3906
- });
3907
- }
3908
- };
3909
- bi(() => {
3910
- n(7, ss = (o || f) && !ze);
3911
- }), Si(() => (window.addEventListener("resize", ms, !1), window.addEventListener("message", pn, !1), () => {
3912
- fs(), window.removeEventListener("resize", ms), window.removeEventListener("message", pn);
3913
- }));
3914
- const Lr = () => {
3915
- n(8, ct = !0);
3916
- }, Nr = () => vn(S.id), xr = () => vn(S.id), Er = () => bn(xt), Wr = () => {
3917
- kn();
3918
- };
3919
- function Gr(l) {
3920
- oe[l ? "unshift" : "push"](() => {
3921
- E = l, n(2, E);
3922
- });
3923
- }
3924
- const Ur = () => _t(), Ar = () => yt(), Hr = () => {
3925
- kn();
3926
- }, zr = () => _t(), jr = () => yt();
3927
- function Br(l) {
3928
- oe[l ? "unshift" : "push"](() => {
3929
- ft = l, n(5, ft);
3930
- });
3931
- }
3932
- const Vr = () => bn(xt);
3933
- function Zr(l) {
3934
- oe[l ? "unshift" : "push"](() => {
3935
- gt = l, n(24, gt);
3936
- });
3937
- }
3938
- function qr(l) {
3939
- oe[l ? "unshift" : "push"](() => {
3940
- E = l, n(2, E);
3941
- });
3942
- }
3943
- const Jr = () => et(), Qr = () => et();
3944
- function Xr(l) {
3945
- oe[l ? "unshift" : "push"](() => {
3946
- mt = l, n(23, mt);
3947
- });
3948
- }
3949
- function Kr(l) {
3950
- oe[l ? "unshift" : "push"](() => {
3951
- Ne = l, n(17, Ne);
3952
- });
3953
- }
3954
- function $r(l) {
3955
- oe[l ? "unshift" : "push"](() => {
3956
- te = l, n(16, te);
3957
- });
3958
- }
3959
- function ei(l) {
3960
- oe[l ? "unshift" : "push"](() => {
3961
- ft = l, n(5, ft);
3962
- });
3963
- }
3964
- const ti = () => _t(), ni = () => yt();
3965
- function si(l) {
3966
- oe[l ? "unshift" : "push"](() => {
3967
- gt = l, n(24, gt);
3968
- });
3969
- }
3970
- const ri = () => et(), ii = () => et();
3971
- function ai(l) {
3972
- oe[l ? "unshift" : "push"](() => {
3973
- mt = l, n(23, mt);
3974
- });
3975
- }
3976
- function li(l) {
3977
- oe[l ? "unshift" : "push"](() => {
3978
- Ne = l, n(17, Ne);
3979
- });
3980
- }
3981
- function oi(l) {
3982
- oe[l ? "unshift" : "push"](() => {
3983
- te = l, n(16, te);
3984
- });
3985
- }
3986
- const ui = () => _t(), di = () => yt();
3987
- function fi(l) {
3988
- oe[l ? "unshift" : "push"](() => {
3989
- ht = l, n(18, ht);
3990
- });
3991
- }
3992
- function ci(l) {
3993
- oe[l ? "unshift" : "push"](() => {
3994
- Ze = l, n(3, Ze);
3995
- });
3996
- }
3997
- return e.$$set = (l) => {
3998
- "endpoint" in l && n(34, i = l.endpoint), "lang" in l && n(35, a = l.lang), "session" in l && n(36, o = l.session), "userid" in l && n(37, f = l.userid), "clientstyling" in l && n(38, h = l.clientstyling), "clientstylingurl" in l && n(39, p = l.clientstylingurl), "translationurl" in l && n(40, M = l.translationurl), "favorites" in l && n(0, O = l.favorites), "loginurl" in l && n(41, j = l.loginurl), "registerurl" in l && n(42, P = l.registerurl), "depositurl" in l && n(43, C = l.depositurl), "loginevent" in l && n(44, L = l.loginevent), "registerevent" in l && n(45, B = l.registerevent), "depositevent" in l && n(46, G = l.depositevent), "shortcashierenabled" in l && n(47, T = l.shortcashierenabled), "clockformat" in l && n(48, U = l.clockformat), "haspanicbutton" in l && n(1, ee = l.haspanicbutton), "playforfun" in l && n(49, k = l.playforfun), "checksession" in l && n(50, v = l.checksession), "integratedgameframedesktop" in l && n(51, w = l.integratedgameframedesktop), "integratedgameframemobile" in l && n(52, Y = l.integratedgameframemobile), "gameid" in l && n(53, b = l.gameid);
3999
- }, e.$$.update = () => {
4000
- e.$$.dirty[1] & /*lang*/
4001
- 16 && a && Ir(), e.$$.dirty[1] & /*shortcashierenabled*/
4002
- 65536 && (s = T.toLocaleLowerCase() === "true"), e.$$.dirty[1] & /*endpoint, gameid, lang*/
4003
- 4194328 && i && b && a && us(b, !0), e.$$.dirty[1] & /*session, userid, endpoint*/
4004
- 104 && o && f && i && gs(), e.$$.dirty[1] & /*checksession, session, endpoint*/
4005
- 524328 && v == "false" && o && i && gs(), e.$$.dirty[1] & /*translationurl*/
4006
- 512 && M && br(), e.$$.dirty[0] & /*favorites*/
4007
- 1 && O && Lr(), e.$$.dirty[0] & /*customStylingContainer*/
4008
- 8 | e.$$.dirty[1] & /*clientstyling*/
4009
- 128 && h && Ze && Pr(), e.$$.dirty[0] & /*customStylingContainer*/
4010
- 8 | e.$$.dirty[1] & /*clientstylingurl*/
4011
- 256 && p && Ze && Cr(), e.$$.dirty[0] & /*panicButton*/
4012
- 4 | e.$$.dirty[1] & /*showModal*/
4013
- 8388608 && yn == "true" && E && ds(), e.$$.dirty[0] & /*panicButton*/
4014
- 4 && E && ds();
4015
- }, [
4016
- O,
4017
- ee,
4018
- E,
4019
- Ze,
4020
- K,
4021
- ft,
4022
- ze,
4023
- ss,
4024
- ct,
4025
- rs,
4026
- je,
4027
- Rt,
4028
- S,
4029
- $e,
4030
- is,
4031
- as,
4032
- te,
4033
- Ne,
4034
- ht,
4035
- we,
4036
- hn,
4037
- mn,
4038
- xt,
4039
- mt,
4040
- gt,
4041
- ls,
4042
- r,
4043
- Ve,
4044
- vn,
4045
- kn,
4046
- _t,
4047
- yt,
4048
- bn,
4049
- et,
4050
- i,
4051
- a,
4052
- o,
4053
- f,
4054
- h,
4055
- p,
4056
- M,
4057
- j,
4058
- P,
4059
- C,
4060
- L,
4061
- B,
4062
- G,
4063
- T,
4064
- U,
4065
- k,
4066
- v,
4067
- w,
4068
- Y,
4069
- b,
4070
- yn,
4071
- Nr,
4072
- xr,
4073
- Er,
4074
- Wr,
4075
- Gr,
4076
- Ur,
4077
- Ar,
4078
- Hr,
4079
- zr,
4080
- jr,
4081
- Br,
4082
- Vr,
4083
- Zr,
4084
- qr,
4085
- Jr,
4086
- Qr,
4087
- Xr,
4088
- Kr,
4089
- $r,
4090
- ei,
4091
- ti,
4092
- ni,
4093
- si,
4094
- ri,
4095
- ii,
4096
- ai,
4097
- li,
4098
- oi,
4099
- ui,
4100
- di,
4101
- fi,
4102
- ci
4103
- ];
4104
- }
4105
- class kr extends _i {
4106
- constructor(t) {
4107
- super(), yi(
4108
- this,
4109
- t,
4110
- Xu,
4111
- Qu,
4112
- vi,
4113
- {
4114
- endpoint: 34,
4115
- lang: 35,
4116
- session: 36,
4117
- userid: 37,
4118
- clientstyling: 38,
4119
- clientstylingurl: 39,
4120
- translationurl: 40,
4121
- favorites: 0,
4122
- loginurl: 41,
4123
- registerurl: 42,
4124
- depositurl: 43,
4125
- loginevent: 44,
4126
- registerevent: 45,
4127
- depositevent: 46,
4128
- shortcashierenabled: 47,
4129
- clockformat: 48,
4130
- haspanicbutton: 1,
4131
- playforfun: 49,
4132
- checksession: 50,
4133
- integratedgameframedesktop: 51,
4134
- integratedgameframemobile: 52,
4135
- gameid: 53
4136
- },
4137
- Iu,
4138
- [-1, -1, -1, -1, -1]
4139
- );
4140
- }
4141
- get endpoint() {
4142
- return this.$$.ctx[34];
4143
- }
4144
- set endpoint(t) {
4145
- this.$$set({ endpoint: t }), ne();
4146
- }
4147
- get lang() {
4148
- return this.$$.ctx[35];
4149
- }
4150
- set lang(t) {
4151
- this.$$set({ lang: t }), ne();
4152
- }
4153
- get session() {
4154
- return this.$$.ctx[36];
4155
- }
4156
- set session(t) {
4157
- this.$$set({ session: t }), ne();
4158
- }
4159
- get userid() {
4160
- return this.$$.ctx[37];
4161
- }
4162
- set userid(t) {
4163
- this.$$set({ userid: t }), ne();
4164
- }
4165
- get clientstyling() {
4166
- return this.$$.ctx[38];
4167
- }
4168
- set clientstyling(t) {
4169
- this.$$set({ clientstyling: t }), ne();
4170
- }
4171
- get clientstylingurl() {
4172
- return this.$$.ctx[39];
4173
- }
4174
- set clientstylingurl(t) {
4175
- this.$$set({ clientstylingurl: t }), ne();
4176
- }
4177
- get translationurl() {
4178
- return this.$$.ctx[40];
4179
- }
4180
- set translationurl(t) {
4181
- this.$$set({ translationurl: t }), ne();
4182
- }
4183
- get favorites() {
4184
- return this.$$.ctx[0];
4185
- }
4186
- set favorites(t) {
4187
- this.$$set({ favorites: t }), ne();
4188
- }
4189
- get loginurl() {
4190
- return this.$$.ctx[41];
4191
- }
4192
- set loginurl(t) {
4193
- this.$$set({ loginurl: t }), ne();
4194
- }
4195
- get registerurl() {
4196
- return this.$$.ctx[42];
4197
- }
4198
- set registerurl(t) {
4199
- this.$$set({ registerurl: t }), ne();
4200
- }
4201
- get depositurl() {
4202
- return this.$$.ctx[43];
4203
- }
4204
- set depositurl(t) {
4205
- this.$$set({ depositurl: t }), ne();
4206
- }
4207
- get loginevent() {
4208
- return this.$$.ctx[44];
4209
- }
4210
- set loginevent(t) {
4211
- this.$$set({ loginevent: t }), ne();
4212
- }
4213
- get registerevent() {
4214
- return this.$$.ctx[45];
4215
- }
4216
- set registerevent(t) {
4217
- this.$$set({ registerevent: t }), ne();
4218
- }
4219
- get depositevent() {
4220
- return this.$$.ctx[46];
4221
- }
4222
- set depositevent(t) {
4223
- this.$$set({ depositevent: t }), ne();
4224
- }
4225
- get shortcashierenabled() {
4226
- return this.$$.ctx[47];
4227
- }
4228
- set shortcashierenabled(t) {
4229
- this.$$set({ shortcashierenabled: t }), ne();
4230
- }
4231
- get clockformat() {
4232
- return this.$$.ctx[48];
4233
- }
4234
- set clockformat(t) {
4235
- this.$$set({ clockformat: t }), ne();
4236
- }
4237
- get haspanicbutton() {
4238
- return this.$$.ctx[1];
4239
- }
4240
- set haspanicbutton(t) {
4241
- this.$$set({ haspanicbutton: t }), ne();
4242
- }
4243
- get playforfun() {
4244
- return this.$$.ctx[49];
4245
- }
4246
- set playforfun(t) {
4247
- this.$$set({ playforfun: t }), ne();
4248
- }
4249
- get checksession() {
4250
- return this.$$.ctx[50];
4251
- }
4252
- set checksession(t) {
4253
- this.$$set({ checksession: t }), ne();
4254
- }
4255
- get integratedgameframedesktop() {
4256
- return this.$$.ctx[51];
4257
- }
4258
- set integratedgameframedesktop(t) {
4259
- this.$$set({ integratedgameframedesktop: t }), ne();
4260
- }
4261
- get integratedgameframemobile() {
4262
- return this.$$.ctx[52];
4263
- }
4264
- set integratedgameframemobile(t) {
4265
- this.$$set({ integratedgameframemobile: t }), ne();
4266
- }
4267
- get gameid() {
4268
- return this.$$.ctx[53];
4269
- }
4270
- set gameid(t) {
4271
- this.$$set({ gameid: t }), ne();
4272
- }
4273
- }
4274
- pi(kr, { endpoint: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, favorites: {}, loginurl: {}, registerurl: {}, depositurl: {}, loginevent: {}, registerevent: {}, depositevent: {}, shortcashierenabled: {}, clockformat: {}, haspanicbutton: {}, playforfun: {}, checksession: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, gameid: {} }, [], [], !0);
4275
- const ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4276
- __proto__: null,
4277
- default: kr
4278
- }, Symbol.toStringTag, { value: "Module" }));
4279
- export {
4280
- ed as C,
4281
- m as h
4282
- };