@everymatrix/casino-lobby 1.62.3 → 1.63.0

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