@everymatrix/casino-lobby 1.55.0 → 1.56.2

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