@everymatrix/casino-lobby 1.62.4 → 1.63.1

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